Skip to content

Instantly share code, notes, and snippets.

View rootux's full-sized avatar
🌴
Crafting

Gal Bracha rootux

🌴
Crafting
View GitHub Profile
@rootux
rootux / people2csv.py
Last active August 29, 2015 14:20 — forked from marinamixpanel/people2csv.py
Mixpanel People 2 CSV + UNICODE support
''' people export'''
import hashlib
import time
import urllib #for url encoding
import urllib2 #for sending requests
import base64
import sys
import csv
@rootux
rootux / WhatsApp Web Send Random Heart
Last active October 18, 2020 01:06
Just a simple WhatsApp Web Heart Sender
/*
Simple WhatsApp Web Spam Bot Originally written by Pablode. Modified by Gal Bracha.
Use with love <3. Do not act reckless.
====================================================================================
DISCLAIMER: I do not take any responsibility for any damage caused with this script.
WhatsApp might be able identify script users if this becomes a problem. Do only use
this if you are aware of the consquences.
====================================================================================
Usage: Copy all of this script (Ctrl+A, Ctrl+C). Add a new Bookmark. In the URL section,
write "javascript:" and paste (Ctrl+V) this script. Visit WhatsApp Web, select your
@rootux
rootux / MouseControl.h
Created June 24, 2016 13:04 — forked from chuckleplant/MouseControl.h
Mouse control for Windows in C++. Dependencies: User32 Windows library.
#ifndef _WIN32_WINNT
# define _WIN32_WINNT 0x500
#endif
#include "Winuser.h"
#include "windef.h"
class ofxMouse
{
public:
static enum MouseEventFlags
@rootux
rootux / Dockerfile
Last active February 17, 2017 17:18 — forked from yefim/Dockerrun.aws.json
Build a Docker image, push it to AWS EC2 Container Registry, then deploy it to AWS Elastic Beanstalk
# Example Dockerfile
FROM hello-world
@rootux
rootux / hashtagLinky.js
Created May 1, 2017 11:46 — forked from rishabhmhjn/tweetLinky.js
This is an AngularJS filter to linkify #hashtags and @mention texts into respective Twitter URLsDemo - http://plnkr.co/edit/vrdgxU?p=preview
/* Based on https://gist.github.com/rishabhmhjn/7028079 */
function HashtagLinky($filter, $sce) {
'ngInject'
return function(text, target) {
if (!text) return text;
var replacedText = $filter('linky')(text, target);
var targetAttr = "";
if (angular.isDefined(target)) {
@rootux
rootux / mwt.py
Last active June 12, 2018 11:50 — forked from jh0ker/mwt.py
Memoize-with-timeout decorator
#!/usr/bin/env python
# Source: http://code.activestate.com/recipes/325905-memoize-decorator-with-timeout/#c1
import time
class MWT(object):
"""Memoize With Timeout"""
_caches = {}
_timeouts = {}