Skip to content

Instantly share code, notes, and snippets.

View arhadthedev's full-sized avatar
Eliminating my data hoarder piles (I collected a ton of them, in TBs)

Oleg Iarygin arhadthedev

Eliminating my data hoarder piles (I collected a ton of them, in TBs)
  • Cannot mention in a searchable field: https://www.opennet.ru/opennews/art.shtml?num=59517
View GitHub Profile

The Freenode resignation FAQ, or: "what the fuck is going on?"

IMPORTANT NOTE:

It's come to my attention that some people have been spamming issue trackers with a link to this gist. While it's a good idea to inform people of the situation in principle, please do not do this. By all means spread the word in the communities that you are a part of, after verifying that they are not aware yet, but unsolicited spam is not helpful. It will just frustrate people.

Update 3 (May 24, 2021)

A number of things have happened since the last update.

@mbleigh
mbleigh / README.md
Last active September 18, 2024 21:06
Firebase Hosting Fetch All Files

Fetch All Files from Firebase Hosting

This script fetches all of the files from the currently deployed version of a Firebase Hosting site. You must be signed in via the Firebase CLI and have "Site Viewer" permission on the site in question to be able to properly run the script.

Running via NPX

npx https://gist.github.com/mbleigh/9c8680cf319ace2f506f57380da66e7d <site_name>
@juanpabloaj
juanpabloaj / logging_env.py
Last active August 17, 2024 17:49
python logging, log level with environment variable
import os
import logging
LOGLEVEL = os.environ.get('LOGLEVEL', 'INFO').upper()
logging.basicConfig(level=LOGLEVEL, format="%(asctime)s %(message)s")

Сегодня, когда администрация подписалась в собственном бессилии и удалила основной чат Ru.SO (да, удалила, это не шутка), хочется поностальгировать о светлых временах, когда чат служил средоточением жизни и местом встречи активных участников, и большинство споров сводилось с противостоянию "открывашек" и "закрывашек". Сразу после переезда на новый движок многие участники активизировались: кто-то отвечал на вопросы, соревнуясь с другими, кто успеет первым; кто-то проводил время в чистке старых вопросов и меток, осаждая очереди проверок.

Интересно то, что Ru.SO по графикам растёт, однако в вопросах по .NET, где я наиболее активен, ответа можно не дождаться и через день, хотя раньше зачастую уже через пять минут появлялось два ответа, а очередь проверки на закрытие стабильно буксует. Может быть, мы смот

@jeetsukumaran
jeetsukumaran / custom_iterator.cpp
Created February 18, 2010 02:33
Sample C++/STL custom iterator
// Sample custom iterator.
// By perfectly.insane (http://www.dreamincode.net/forums/index.php?showuser=76558)
// From: http://www.dreamincode.net/forums/index.php?showtopic=58468
#include <iostream>
#include <vector>
#include <algorithm>
#include <iterator>
#include <cassert>