Skip to content

Instantly share code, notes, and snippets.

View borewicz's full-sized avatar

Ryszard Andrzej Pejarski borewicz

View GitHub Profile
@borewicz
borewicz / bukkake.py
Created September 15, 2015 09:01
kaczor masz przejebane
import re
import requests
from lxml import html
import time
import json
from account_info import username, password, thread_id, kaczor_id
s = requests.Session() # zbiornik na kukizy
s.get('https://facebook.com/')
site = s.get('https://facebook.com/')
@borewicz
borewicz / ggraid.c
Created June 5, 2015 11:26
raider for gadu-gadu
#define VERSION "0.6"
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include "libgadu.h"
#include "string.h"
int main(int argc, char *argv[])
{
@borewicz
borewicz / chomikuj.sh
Created June 5, 2015 11:26
script for downloading mp3s from chomikuj.pl
#!/opt/local/bin/bash
if [ -z "$1" ]
then
echo "No argument supplied"
else
wget -O - "$1" | grep "visibleButtons fileIdContainer" | sed -e 's#.*fileIdContainer" rel="\(.*\)" style.*#http://chomikuj.pl/Audio.ashx?id=\1\&type=2\&tp=mp3#g' | while read line
do
wget --content-disposition $line
done
fi
@borewicz
borewicz / gplus_logon.rb
Created June 5, 2015 11:25
login to Google+ using Android Client API - POC
#!/usr/bin/env ruby
require 'net/http'
username = "USERNAME"
password = "PASSWORD"
def convToHash(text)
result = Hash.new
text.each_line do |line|