Skip to content

Instantly share code, notes, and snippets.

View NikolayTach's full-sized avatar
:octocat:
I may be slow to respond.

NikolayTach NikolayTach

:octocat:
I may be slow to respond.
View GitHub Profile
# all users, key is chat.id
user_settings = {}
# user chat settings
class UserChat:
timers = {} # all timers. Key is timer ID, defined arbitrary
state = None
id = None # chat.id
def tick(self, current_time):
@nazt
nazt / install-esp8266-open-sdk-mac-osx.md
Created February 13, 2016 05:49
install-esp8266-open-sdk-mac-osx.md

#install dependencies brew tap homebrew/dupes brew install binutils coreutils automake wget gawk libtool gperf gnu-sed --with-default-names grep export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"

#prepare case-sensitive disk sudo hdiutil create ~/Documents/case-sensitive.dmg -volname "case-sensitive" -size 10g -fs "Case-sensitive HFS+" sudo hdiutil mount ~/Documents/case-sensitive.dmg

#create symbolic link to /esp8266

@mr-linch
mr-linch / weblancer.py
Last active November 4, 2023 18:17
Исходный код для урока (https://youtu.be/KPXPr-KS-qk)
#!/usr/bin/env python3
import csv
import urllib.request
from bs4 import BeautifulSoup
BASE_URL = 'http://www.weblancer.net/projects/'