Skip to content

Instantly share code, notes, and snippets.

View duckinator's full-sized avatar

Ellen Marie Dash duckinator

View GitHub Profile
~$ ping google.com
PING google.com (74.125.228.78) 56(84) bytes of data.
From 192.168.1.254: icmp_seq=2 Redirect Host(New nexthop: Wireless_Broadband_Router.home (192.168.1.1))
From 192.168.1.254 icmp_seq=2 Redirect HostFrom 192.168.1.254: icmp_seq=3 Redirect Host(New nexthop: Wireless_Broadband_Router.home (192.168.1.1))
From 192.168.1.254 icmp_seq=3 Redirect HostFrom 192.168.1.254 icmp_seq=1 Destination Host Unreachable
From 192.168.1.254 icmp_seq=2 Destination Host Unreachable
From 192.168.1.254 icmp_seq=3 Destination Host Unreachable
From 192.168.1.254 icmp_seq=4 Redirect HostFrom 192.168.1.254: icmp_seq=4 Redirect Host(New nexthop: Wireless_Broadband_Router.home (192.168.1.1))
From 192.168.1.254: icmp_seq=5 Redirect Host(New nexthop: Wireless_Broadband_Router.home (192.168.1.1))
From 192.168.1.254 icmp_seq=5 Redirect HostFrom 192.168.1.254: icmp_seq=6 Redirect Host(New nexthop: Wireless_Broadband_Router.home (192.168.1.1))
[79 of 79] Compiling System.IO.Error.Lens ( src/System/IO/Error/Lens.hs, dist/dist-sandbox-5518ee6c/build/System/IO/Error/Lens.o )
src/System/IO/Error/Lens.hs:93:1:
Illegal type variable name: `'
When splicing a TH declaration: _AlreadyExists :: forall .
Failed to install lens-3.10.2
cabal: Error: some packages failed to install:
idris-0.9.11.2 depends on lens-3.10.2 which failed to install.
language-java-0.2.6 failed during the configure step. The exception was:
ExitFailure 1
*** SpecConstr:
Result size of SpecConstr = 5144
*** Simplifier:
Result size of Simplifier = 5144
*** Tidy Core:
Result size of Tidy Core = 5175
writeBinIface: 723 Names
writeBinIface: 872 dict entries
*** CorePrep:
Result size of CorePrep = 7683
@duckinator
duckinator / gist:9205448
Created February 25, 2014 09:07
A list of some fantastic bands with women lead vocalists.
Cherri Bomb
Conway
The Cranberries
The Dirty Youth
Exilia
Fit For Rivals
Flyleaf
Gwyllion
Hydria
Icon For Hire
@duckinator
duckinator / gist:9302508
Created March 2, 2014 05:47
Because, floats.
>> 0.1 + 0.2
=> 0.30000000000000004
>> 0.1 + 0.2 + 0.1
=> 0.4
>> 0.1 + 0.2 + 0.1 + 0.2
=> 0.6000000000000001
>>
~/dev/os/tsion/oos master↑+ make clean all
rm -f -r src/boot/boot.o src/memory/memory.o src/misc.o src/devices/ports.o src/devices/cpu/interrupts.o src/devices/cpu/cpu.o
nasm -felf32 -g -o src/boot/boot.o src/boot/boot.asm
nasm -felf32 -g -o src/memory/memory.o src/memory/memory.asm
nasm -felf32 -g -o src/misc.o src/misc.asm
nasm -felf32 -g -o src/devices/ports.o src/devices/ports.asm
nasm -felf32 -g -o src/devices/cpu/interrupts.o src/devices/cpu/interrupts.asm
nasm -felf32 -g -o src/devices/cpu/cpu.o src/devices/cpu/cpu.asm
rock -c -v -g --gc=off --nomain -Iinclude +-m32 +-nostdinc +-ffreestanding +-fno-stack-protector --entrypoint=kmain oos.use
[WARN ] Option -g is deprecated, use -pg instead.
..duckinator/cervello master+ ./seed_test.rb
>> you aren't very good at this "English" thing, now, are you? How unfortunate.
brute
..duckinator/cervello master+
../ruby/duckinator/tweetcode$ cat tweetcode.rb
require'open-uri';require'htmlentities';open("https://twitter.com/x/status/"+x=$*[0]).read=~/t-text">(.*?)</m;puts HTMLEntities.new.decode$1
../ruby/duckinator/tweetcode$ cat tweetcode.rb|wc -c
140
../ruby/duckinator/tweetcode$ ruby tweetcode.rb 440408192833826816
;nasm -fbin a.s;qemu-system-i386 -hdc a
org 31744
mov ah,14
mov si,s
p:lodsb
..ttip/www.gittip.com⚡master+ git fetch --al
Fetching origin
^[[A^C
..ttip/www.gittip.com⚡master+ git fetch --all 130
Fetching origin
remote: Counting objects: 12, done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 12 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (12/12), done.
From github.com:gittip/www.gittip.com
<svg class="progress-heart" xmlns="http://www.w3.org/2000/svg" viewBox="0 -128 1536 1536">
<path d="M 0,640 Q 0,849 103,1025.5 206,1202 382.5,1305 559,1408 768,1408 977,1408 1153.5,1305 1330,1202 1433,1025.5 1536,849 1536,640 1536,431 1433,254.5 1330,78 1153.5,-25 977,-128 768,-128 559,-128 382.5,-25 206,78 103,254.5 0,431 0,640 z" style="fill: #663300;" />
<path class="heart" d="M 763,1046 413,573 q -16,-22 -24.5,-59 -8.5,-37 6,-85 14.5,-48 61.5,-79 40,-26 83,-25.5 43,0.5 73.5,17.5 30.5,17 54.5,45 36,40 96,40 59,0 95,-40 24,-28 54.5,-45 30.5,-17 73.5,-17.5 43,-0.5 84,25.5 46,31 60.5,79 14.5,48 6,85 -8.5,37 -24.5,59 z" />
</svg>