Skip to content

Instantly share code, notes, and snippets.

View 0xv's full-sized avatar
🌴
On vacation

Nathan 0xv

🌴
On vacation
View GitHub Profile
@0xv
0xv / ffmpeg
Created December 8, 2016 01:17
yum install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel
mkdir ~/ffmpeg_sources
cd ~/ffmpeg_sources
curl -O http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
tar xzvf yasm-1.2.0.tar.gz
cd yasm-1.2.0
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"
make
import urllib
def isup(domain):
httpcode = {
200 : 'site is up',
301 : "Moved Permanently",
400 : "Bad Request",
403 : "Forbidden",
403 : "404 Not Found",
408 : "Request Timeout",
// Rates
rate "128000"
cl_cmdrate "128"
cl_updaterate "128"
cl_interp "0.0"
cl_interp_ratio "1"
cl_lagcompensation "1"
// Mouse
zoom_sensitivity_ratio_mouse "1.0"
@0xv
0xv / ikeh.py
Created December 11, 2015 20:50
import tweepy
consumer_key=""
consumer_secret=""
access_token=""
access_token_secret=""
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.secure = True
auth.set_access_token(access_token, access_token_secret)
@0xv
0xv / voker
Created February 6, 2015 10:57
/////////// These are the buttons that Invoke the spells:
// 1 for alarcity
bind "1" "dota_ability_execute 1;dota_ability_execute 1;dota_ability_execute 2;dota_ability_execute 5"
// 2 for tornado
bind "2" "dota_ability_execute 0;dota_ability_execute 1;dota_ability_execute 1;dota_ability_execute 5"
// 3 for meteor
bind "3" "dota_ability_execute 1;dota_ability_execute 2;dota_ability_execute 2;dota_ability_execute 5"
// 4 for ghostwalk
bind "4" "dota_ability_execute 0;dota_ability_execute 0;dota_ability_execute 1;dota_ability_execute 5"
// 5 for deafening blast
@0xv
0xv / asd.js
Created December 3, 2014 07:40
/*
TUMBLR FEATURED POSTS SCRIPT
Automatically gets all posts tagged with "featured" and lists them
REQUIRES JQUERY!
--------------------------------------
Created by james <at> bandit.co.nz
http://blog.bandit.co.nz
Some code borrowed from Jacob DeHart's AJAX Search:
http://blog.bandit.co.nz/post/80415548/tumblr-ajax-inline-search
@0xv
0xv / tim.py
Created November 6, 2014 18:23
tim
#!/usr/bin/env python
# 3/23/2014 - Wordpress TimThumb Finder 1.0 Beta
# Author: Rafay Baloch
# http://rafayhackingarticles.net
# Credits: Sunny Rockzz, Alex Infuhr
import requests
import re
import sys
@0xv
0xv / dnscrypt.bat
Created November 6, 2014 12:46
dnscrypt.bat
cd /d E:\Master\dnscrypt-proxy-win32\bin
netsh interface ipv4 set dnsserver name="Wi-Fi" static 127.0.0.1
dnscrypt-proxy.exe -R opendns
@0xv
0xv / infoleak.py
Last active August 29, 2015 14:06
Get detailed information about a Twitter user activity
#!/usr/bin/python -u
# -*- coding: utf-8 -*-
import tweepy
import sys
import getopt
import datetime
import urllib2
import os
import string
@0xv
0xv / autoexec.cfg
Last active August 29, 2015 14:04
My Dota 2 cfg
//////////////////////////
/// BASIC SETTINGS ///
//////////////////////////
// Enables the console
con_enable 1
//preload map
cl_forcepreload 1