Skip to content

Instantly share code, notes, and snippets.

View hejmsdz's full-sized avatar

Mikołaj Rozwadowski hejmsdz

View GitHub Profile
@hejmsdz
hejmsdz / ipcchat.h
Last active January 14, 2017 15:15
Zwiększenie limitu długości wiadomości do 2048
/*
MR & JP
ver. 1.3.0
16:15 14.01.2017 (w razie jakby coś się zmieniło jeszcze)
*/
#ifndef IPCCHAT_IPCCHAT_H
#define IPCCHAT_IPCCHAT_H
// maksymalna liczba użytkowników
require "json"
require "mechanize"
def results
agent = Mechanize.new
credentials = {
pesel: ENV['PESEL'],
password: ENV['CKE_PASSWORD']
}
@hejmsdz
hejmsdz / giveaway.py
Last active August 29, 2015 14:16
Lingot giveaway
import json
import re
import pyduo
give = 15
mock = False
duo = pyduo.Duolingo()
duo.login("username", "password")