Skip to content

Instantly share code, notes, and snippets.

@Dan-Q
Dan-Q / whitespace-a-like.rb
Created November 26, 2012 23:06
Encode a Ruby program into a version composed almost entirely of unicode whitespace characters. Decodes itself on the fly.
#!/usr/bin/env ruby
# encoding: utf-8
CHARS = %w{                       ​ ‌ ‍    }
def encode(string)
string.chars.map{|c|"#{CHARS[c[0]/16]}#{CHARS[c[0]%16]}"}.join
end
program = <<-EOF
@haasn
haasn / about:config.md
Last active April 2, 2024 18:46
Firefox bullshit removal via about:config

Firefox bullshit removal

Updated: Just use qutebrowser (and disable javascript). The web is done for.

@mimoo
mimoo / subscriptions.xml
Created September 5, 2016 20:15
RSS subscriptions
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Subscriptions of David Wong</title>
</head>
<body>
<outline text="little man in my head" title="" type="rss" xmlUrl="https://littlemaninmyhead.wordpress.com/feed/" htmlUrl="https://littlemaninmyhead.wordpress.com/"/>
<outline text="...And You Will Know me by the Trail of Bits" title="...And You Will Know me by the Trail of Bits" type="rss" xmlUrl="http://blog.trailofbits.com/feed/" htmlUrl="http://blog.trailofbits.com/"/>
<outline text="A Few Thoughts on Cryptographic Engineering" title="A Few Thoughts on Cryptographic Engineering" type="rss" xmlUrl="http://blog.cryptographyengineering.com/feeds/posts/default" htmlUrl="http://blog.cryptographyengineering.com/"/>
<outline text="Aaron Toponce" title="Aaron Toponce" type="rss" xmlUrl="https://pthree.org/feed/" htmlUrl="https://pthree.org/"/>