This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import images2gif | |
from PIL import ImageDraw | |
from PIL import ImageFont | |
font_tag = ImageFont.truetype("FreeMono.ttf", 24) | |
font_counter = ImageFont.truetype("FreeSansBold.ttf", 24) | |
frames = images2gif.readGif("bale.gif", False) | |
current = 746 | |
done = 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import wykop | |
import re | |
from datetime import datetime, timedelta | |
import time | |
def main(): | |
cointags = ['bitcoin', 'junkcoin', 'zerocoin', 'worldcoin', 'kryptowaluty', 'digitalcoin', 'earthcoin', 'emunie', 'argentum', 'zetacoin', 'grandcoin', 'netcoin', 'mastercoin', 'elacoin', 'memorycoin', 'datacoin', 'peercoin', 'feathercoin', 'btc', 'cryptogenic', 'ripple', 'bbqcoin', 'catcoin', 'goldcoin', 'i0coin', 'ezcoin', 'infinitecoin', 'novacoin', 'ixcoin', 'casinocoin', 'phoenixcoin', 'stablecoin', 'joulecoin', 'freicoin', 'fastcoin', 'bytecoin', 'sexcoin', 'deutsche emark', 'bitcurex', 'primecoin', 'hobonickels', 'unobtanium', 'mining', 'diamond', 'terracoin', 'protoshares', 'anoncoin', 'devcoin', 'namecoin', 'yacoin', 'quark', 'noirbits', 'bitcoinowyjanusz', 'spots', 'lottocoin', 'globalcoin', 'cryptsy', 'craftcoin', 'orbitcoin', 'copperlark', 'tickets', 'nxt', 'dogecoinmarket', 'litecoin', 'mincoin', 'gamecoin', 'tagcoin', 'florincoin', 'franko', 'altcoin', 'betacoin', 'tigercoin', 'lt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <sstream> | |
#include <math.h> | |
#include <iomanip> | |
///////////////////////////////// | |
void format(char buf[]); | |
char* binrep(double d); | |
char* strinv(char tab[]); | |
char* dec2bin(unsigned int d); | |
int bin2dec(char tab[], int n); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import wykop | |
def main(): | |
APPKEY="" | |
SECRETKEY="" | |
ACCOUNTKEY="" | |
api = WykopAPI(APPKEY, SECRETKEY) | |
api.authenticate(LOGIN, ACCOUNTKEY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python | |
# -*- coding: utf-8 -*- | |
import wykop | |
import regex as re | |
def analyze(rownanie, r, odjemna, odjemnik, roznica, poprzednia_roznica, entry): | |
ok = odjemna == poprzednia_roznica | |
blad_w_dzialaniu = odjemna - odjemnik == roznica | |
blad_podstawy = "" if ok else poprzednia_roznica |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python | |
# -*- coding: utf-8 -*- | |
import wykop | |
import urllib | |
import os.path | |
api = wykop.WykopAPI(appkey="", secretkey="", login="", password="") | |
data={} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name big-facebook-chat-box | |
// @namespace Krzysztof Szumny | |
// @version 0.0.1 | |
// @description big-facebook-chat-box | |
// @include http://*facebook.com/* | |
// @include https://*facebook.com/* | |
// @run-at document-start | |
// ==/UserScript== | |
// Initiate custom CSS function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream.h> | |
/********************************************************************/ | |
const int | |
uH[2][2]={{1},{-1}}, //Zaczynamy deklarowac stopnie utlenienia | |
uHe[2][1]={{0},{'\0'}}, | |
uLi[2][1]={{1},{'\0'}}, //poszczegulnych pierwiastkach | |
uBe[2][1]={{2},{'\0'}}, // w [0][0]- wpisujemy elektroujemnosc | |
uB[2][1]={{3},{'\0'}}, // w [0][!0]-stopnie dodatnie | |
uC[2][2]={{2,4},{-4}}, // w [1][]- stopnie ujemne | |
uN[2][5]={{1,2,3,4,5},{-3}}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
królowa królowy adj:sg:nom.voc:f:pos | |
królować królować verb:inf:imperf:nonrefl | |
królowali królować verb:praet:pl:m1.p1:ter:imperf:nonrefl | |
królowaliby królować verb:pot:pl:m1.p1:ter:imperf:nonrefl | |
królowalibyście królować verb:pot:pl:m1.p1:sec:imperf:nonrefl | |
królowalibyśmy królować verb:pot:pl:m1.p1:pri:imperf:nonrefl | |
królowaliście królować verb:praet:pl:m1.p1:sec:imperf:nonrefl | |
królowaliśmy królować verb:praet:pl:m1.p1:pri:imperf:nonrefl | |
królował królować verb:praet:sg:m1.m2.m3:ter:imperf:nonrefl | |
królowała królować verb:praet:sg:f:ter:imperf:nonrefl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the active virtualenv | |
# * the branch/status of the current git repository | |
# * the return value of the previous command | |
# * the fact you just came from Windows and are used to having newlines in | |
# your prompts. |
OlderNewer