Skip to content

Instantly share code, notes, and snippets.

View orels1's full-sized avatar
🎮
Making the world better, one texel at a time

orels1 orels1

🎮
Making the world better, one texel at a time
View GitHub Profile
XML лайв комментов YTG
как_же_я_люблю_гугл.жпг
XML лайв комментов YTG
https://www.youtube.com/live_comments?action_get_comments=1&video_id=[VIDEO_ID]&lt=[UNIX_TIME]
1.Download Python 3.5
https://www.python.org/downloads/
2.Download git https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
3.in terminal type pip3 install git+https://github.com/Rapptz/discord.py@async
4.https://ffmpeg.org/download.html#build-mac
5.Mouse over apple icon and then click static builds and download most recent snapshot (top left)
@orels1
orels1 / Write cogs from Discord
Created March 21, 2016 12:42
Because we know you always wanted to
###### Idea: irdumb, implementation irdumb and orels1
1. Declare alias for "writecog", which will create a file if it doesn't exist and write to it:
[p]alias add writecog debug (lambda x,y: (lambda x: open("cogs/"+x+".py", 'a'))(x).write(y+"\n"))
where [p] is your bot's prefix
all the data you write with "writecog" will be on the new line
2. Declare alias for "overwritecog", which will create a file if it doesn't exist and overwrite any data if any
@orels1
orels1 / Install Red Discord Bot on mac
Last active March 28, 2016 22:43
A small tutorial on how to install and run Red on OS X
1. Install brew (if you don't have it already)
In Finder or Spotlight, search for and open terminal
In the window opened - paste this:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
and press enter
2. After the installation, install required packages, by pasting commands below and pressing enter one-by-one
brew install python3
brew install git
brew install ffmpeg
и докрутить туда немного аналитики и сравнения с крупными турнирами
По итогам девяти матчей, пять команд из СНГ не поедут на The International 6. Среди проигравших Flipsid3 Tactics, Team Empire, Vega Squadron, Virtus.Pro и Power Rangers.
http://bit.ly/299gRcn