Skip to content

Instantly share code, notes, and snippets.

View sattellite's full-sized avatar
⌨️
Just pushing buttons

sattellite sattellite

⌨️
Just pushing buttons
View GitHub Profile
@sattellite
sattellite / sublime-text-3.sh
Last active May 26, 2016 09:01 — forked from henriquemoody/sublime-text-2.sh
Install new version of Sublime Text 3
#!/usr/bin/env bash
# Usage: {script} [ OPTIONS ]
#
# OPTIONS
#
# -h, --help Displays this help message.
# -t, --type Default type is "dev". Values is "stable" and "dev".
# -b, --build Version of Sublime Text 3. If not defined tries to get the
# build into the Sublime Text 3 website.
# --target Default target is "/usr/local".
@sattellite
sattellite / redis-deb.sh
Last active August 29, 2015 13:56 — forked from jedi4ever/gist:944216
Create deb for redis
VERSION=2.8.5
apt-get -y install wget
rm -rf redis-$VERSION
wget http://download.redis.io/releases/redis-$VERSION.tar.gz
tar -xzvf redis-$VERSION.tar.gz
cd redis-$VERSION
./configure --prefix=/usr
make
rm -rf /tmp/redis-$VERSION.$$
mkdir /tmp/redis-$VERSION.$$

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@sattellite
sattellite / WoT API
Created August 19, 2013 19:47 — forked from bartku/gist:2419852
World of Tanks API. replace eu to ru and it will work with russian servers.
Searching players:
http://worldoftanks.eu/community/accounts/api/%API_VER%/?source_token=%TOKEN%&search=%NAME%&offset=0&limit=1
Showing player's stats:
http://worldoftanks.eu/community/accounts/%PLAYER_ID%/api/%API_VER%/?source_token=%TOKEN%
Showing player's stats from past:
http://dava2.worldoftanks.com/userstats/2/stats/slice/?platform=android&server=eu&account_id=%PLAYER_ID%&hours_ago=24&hours_ago=168&hours_ago=336
@sattellite
sattellite / gist:4038047
Created November 8, 2012 10:38 — forked from bartku/gist:2419852
world of tanks api
http://worldoftanks.ru/community/accounts/api/%API_VER%/?source_token=%TOKEN%&search=%NAME%&offset=0&limit=1
http://worldoftanks.ru/community/accounts/%PLAYER_ID%/api/%API_VER%/?source_token=%TOKEN%
http://worldoftanks.ru/community/clans/api/%API_VER%/?source_token=%TOKEN%&search=%CLAN_NAME%&offset=0&limit=1
http://worldoftanks.ru/community/clans/%CLAN_ID%/api/%API_VER%/?source_token=%TOKEN%
http://worldoftanks.ru/personal/api/%API_VER%/?source_token=%TOKEN%
http://worldoftanks.ru/uc/accounts/500662837/api/1.5/?source_token=Intellect_Soft-WoT_Mobile-unofficial_stats
login req: getlogin: https://worldoftanks.ru/auth/create/api/1.0/?source_token=%TOKEN%
gettoken: https://worldoftanks.ru/utils/csrf/api/1.0/?source_token=%TOKEN%