Skip to content

Instantly share code, notes, and snippets.

Jon Atack jonatack

View GitHub Profile
@millisami
millisami / gist:3148874
Created Jul 20, 2012 — forked from igrigorik/gist:3148848
Convert any YouTube video into an audio file you can listen to on the go...
View gist:3148874
# Convert any YouTube video into an audio file you can listen to on the go, using:
# http://rg3.github.com/youtube-dl/
{ ~ } > brew install ffmpeg
{ ~ } > brew install ffprobe
{ ~ } > wget https://raw.github.com/rg3/youtube-dl/2012.02.27/youtube-dl
{ ~ } > chmod u+x youtube-dl
# Pick which video format you want to download.. (use any YT video link)
@carwin
carwin / private.xml
Last active Jul 27, 2017
Programmer's Shift Keys: Remapping parens, brackets and braces for to because nerd.
View private.xml
<?xml version="1.0"?>
<root>
<item>
<name>Programmer's Shift Keys</name>
<!--
Author: Carwin Young (@carwin)
Last Updated: 2014.07.18
v.1.1
Programmer's Shift Keys
@staltz
staltz / introrx.md
Last active Aug 6, 2020
The introduction to Reactive Programming you've been missing
View introrx.md
View essential-javascript-links.md
@burtonsamograd
burtonsamograd / save-lisp-tree-shake-and-die.lisp
Last active Jun 4, 2020
A quick and dirty tree shaker for SBCL, giving about a 40% reduction in dump size.
View save-lisp-tree-shake-and-die.lisp
;; -*- mode: lisp -*-
;;
;; A quick and dirty tree shaker for SBCL. Basically, it destroys the
;; package system and does a gc before saving the lisp image. Gives
;; about a 40% reduction in image size on a basic hello world test.
;; Would like to hear how it works on larger projects.
;;
;; Original idea from: https://groups.google.com/d/msg/comp.lang.lisp/6zpZsWFFW18/WMy4PyA9B4kJ
;;
;; Burton Samograd
@tenderlove
tenderlove / mt_complete.rb
Last active Sep 16, 2017
tab completion for minitest tests
View mt_complete.rb
#!/usr/bin/env ruby --disable-gems
# Tab completion for minitest tests.
#
# INSTALLATION:
#
# 1. Put this file in a directory in your $PATH. Make sure it's executable
# 2. Run this:
#
# $ complete -o bashdefault -f -C /path/to/this/file.rb ruby
@atcuno
atcuno / gist:3425484ac5cce5298932
Last active Jul 26, 2020
HowTo: Privacy & Security Conscious Browsing
View gist:3425484ac5cce5298932

The purpose of this document is to make recommendations on how to browse in a privacy and security conscious manner. This information is compiled from a number of sources, which are referenced throughout the document, as well as my own experiences with the described technologies.

I welcome contributions and comments on the information contained. Please see the How to Contribute section for information on contributing your own knowledge.

Table of Contents

@LaurentMT
LaurentMT / gist:e758767ca4038ac40aaf
Last active Jul 7, 2020
Bitcoin Transactions & Privacy (part 1)
View gist:e758767ca4038ac40aaf
This document is an attempt to define metrics quantifying the degree of privacy provided by a bitcoin transaction.
Objectives
Definition of metrics measuring the resistance of a transaction to a set of attacks against users privacy.
Attacks considered in the scope of these metrics are:
- Merged Inputs Heuristic: methods identifying the inputs controlled by a same entity
- Coinjoin Sudoku: methods identifying the links existing between the inputs and outputs of a transaction
View poloniex.rb
require 'json'
require 'uri'
require 'net/http'
require 'net/https'
##
# Poloniex Ruby API interface
#
# Documentation text is pretty much 1:1 from the official API documentation
# https://www.poloniex.com/support/api
@chris-belcher
chris-belcher / pro-decentralization-link-list.md
Last active Jul 19, 2020
pro-decentralization-link-list
View pro-decentralization-link-list.md
You can’t perform that action at this time.