Skip to content

Instantly share code, notes, and snippets.


  • Warsaw
Block or report user

Report or block stil

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View WpfApp.csproj
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<StartupObject />
<!-- App.xaml -->
find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n
View turbopublik.user.js
// ==UserScript==
// @name TurboPublik
// @description Prevents loading of New Relic Agent scripts on eRepublik.
// @include *://*
// @version 0.1
// @grant none
// @run-at document-start
// ==/UserScript==
document.onbeforescriptexecute = function (e) {
import urllib2, urllib
import json
import StringIO
import gzip
import random
import codecs
import time
import pprint
import requests
import re
# 01/06/2013
# This script attempts to semi-automate the wifi connection process from
# the command line.
# It is intended to be used on a headless machine without the
# requirement of typing several commands for a connection.
# The script stores previous connection credentials in PLAINTEXT as
# *.wpa files in the executed directory and in /etc/wpasupplicant.conf.
stil / backup.ps1
Created Mar 2, 2014
Differential backup with 7zip and Powershell
View backup.ps1
$dirToBackup = "C:\Users\John" # path to directory we back up (no following backslash)
$outputDir = "E:\bak" # path directory we store our backups (no following backslash)
$params = '-t7z', '-r', '-ms=off', '-mx1'
$fullBackup = $outputDir + "\full.7z"
if (Test-Path ($fullBackup)) { # Let's check whether full backup exists
Write-Host "Full backup already exists"
__module_name__ = "Mass Highlight"
__module_version__ = "1.666"
__module_description__ = "Script annoying everyone on the channel."
import hexchat
def masshl(word, word_eol, userdata):
notice = " ".join(word[1:])
users = hexchat.get_list('users')
prefix = '\0030,0'
stil / gist:5694720
Last active Dec 18, 2015
Refill energy every 30-90 minutes in eRepublik. Run on your server and keep running 24/7.
View gist:5694720
require __DIR__.'/vendor/autoload.php';
use Erpk\Harvester\Client\Client;
use Erpk\Harvester\Module\Management\ManagementModule;
$client = new Client;
$client->setUserAgent('Opera/9.80 (Windows NT 6.1; Win64; x64) Presto/2.12.388 Version/12.15');
You can’t perform that action at this time.