Right-click your bookmarks bar and choose Add Page (Chrome) or New Bookmarklet (Firefox).
In Name, put this:
Pin It
In URL, put this:
keycode 97 = grave asciitilde | |
keycode 132 = grave asciitilde |
default: all | |
SRC := $(wildcard *.c) | |
EXE := $(SRC:.c=) | |
all: $(EXE) | |
%: %.c | |
clang $< -o $@ |
#!/bin/bash -x | |
export nginx_version=1.9.9 | |
# get latest rtmp mod | |
mkdir /usr/local/src | |
cd /usr/local/src | |
git clone git://github.com/arut/nginx-rtmp-module.git | |
# get nginx | |
wget http://nginx.org/download/nginx-${nginx_version}.tar.gz |
(setq | |
scripts-dired-find-owner | |
"tell application \"Finder\" | |
set appname to (default application of (info for POSIX file \"%s\")) | |
do shell script \"echo \" & appname | |
end tell") | |
(setq | |
scripts-dired-open-from-finder |
#!/usr/bin/env ruby | |
require 'time' | |
def die(str) | |
$stderr.puts str | |
exit | |
end | |
def usage |
// This will open up a prompt for text to send to a console session on digital ocean | |
// Useful for long passwords | |
(function () { | |
var t = prompt("Enter text to be sent to console, (This wont send the enter keystroke)").split(""); | |
function f() { | |
var character = t.shift(); | |
var i=[]; | |
var code = character.charCodeAt(); | |
var needs_shift = "!@#$%^&*()_+{}:\"<>?~|".indexOf(character) !== -1 |
With the recent removal of the 140-character limit in Direct Messages by Twitter, DM's have now become a much more useful platform for communicating between individuals and groups. Sadly, DM's are still sent in plaintext between users and Twitter has no plans currently on encrypting these messages, at least as of August 2015. Since these are stored in plaintext at rest, an adversary can see the content of the message you are sending, which the two parties might not wish to happen. Fortunately as a few applications with basic Twitter support which also have excellent support for OTR, all hope isn't lo
#!/usr/bin/sudo sh | |
## ruby_revealer.sh -- decrypt obfuscated GHE .rb files. 2.0.0 to 2.3.1+. | |
## From `strings ruby_concealer.so`: | |
## | |
## > This obfuscation is intended to discourage GitHub Enterprise customers | |
## > from making modifications to the VM. | |
## | |
## Well, good, as long as its not intended to discourage *me* from doing this! |
require 'net/http' | |
require 'json' | |
require 'uri' | |
@token = '' | |
def list_files | |
ts_to = (Time.now - 30 * 24 * 60 * 60).to_i # 30 days ago | |
params = { | |
token: @token, |