I hereby claim:
- I am paulrosania on github.
- I am paulrosania (https://keybase.io/paulrosania) on keybase.
- I have a public key whose fingerprint is C0F3 B98E 2BAE 7A94 9EEA D41B AEA5 1EFB 705D C9A5
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| -----BEGIN PGP MESSAGE----- | |
| Version: GnuPG v1 | |
| hQEMA5aRv0EAA/2mAQgAhkrGuBuOyelzOPxogevHql/oUOK8xyElJjOOMSLMlW2N | |
| SN8/6+ztv/10PvXPU13FPZQE4kaAV4//cGo6A5VIKxeJ8Ro4zwpmgqqY4oto+TzF | |
| Mf8wdx+1kEnL/k6V5LH7TqdJT/2YGeILhmb9l7hG+sUrppTW2eVfqjXuFYLGId6W | |
| ZhXeIkJB6cAbcnSG7TTBcspp+DVZo+mbh0FroPesg1yf1xQBzGXlbR1zil2zSO50 | |
| M6mVlay5z+mM4njTUEzxssETUdaozLdfgHllEOklRu9TbqCzSzhbakjBoh9Wj6sk | |
| vtp1GSOj9ueV2LIDhRwunwYsmce5iSJdHfCLSUd8VdLAAgEcZhx77bLrk2WDIEVp | |
| 3KYdu6xZG3tAXnNqfxYDRbR+cqSpOljjAFUAHLaVrRKjDbeTWxKwrFPC2hMNpRtv |
| <?xml version="1.0" encoding="utf-8" ?> | |
| <!DOCTYPE grammar PUBLIC "-//W3C//DTD GRAMMAR 1.0//EN" "http://www.w3.org/TR/speech-grammar/grammar.dtd"> | |
| <grammar xmlns="http://www.w3.org/2001/06/grammar" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://www.w3.org/2001/06/grammar | |
| http://www.w3.org/TR/speech-grammar/grammar.xsd" | |
| xml:lang="en-US" | |
| version="1.0" | |
| root="command" |
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Data; | |
| using System.Drawing; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Windows.Forms; | |
| using System.Speech.Recognition; | |
| using System.Net; |
| #!/usr/bin/ruby | |
| numOfTrials = 10000 | |
| numTriangles = 0 | |
| numOfTrials.times do | |
| # generate two random breaks, in order | |
| breaks = [ rand, rand ].sort | |
| # load the length calculations via the breaks into an "lengths" array |
| jQuery.fn.selectAll = function() { | |
| return this.each(function() { | |
| if (document.body.createTextRange) { // MSIE | |
| var r = document.body.createTextRange(); | |
| r.moveToElementText(this); | |
| r.select(); | |
| } else if (window.getSelection) { // W3C | |
| var r = document.createRange(); | |
| r.selectNodeContents(this); | |
| #!/usr/bin/env ruby | |
| # http://www.facebook.com/careers/puzzles.php?puzzle_id=7 | |
| # Memory-heavy but low-computation solution | |
| LOOP = [nil, nil, "Hoppity", nil, "Hophop", "Hoppity", nil, nil, "Hoppity", "Hophop", nil, "Hoppity", nil, nil, "Hop"] | |
| File.open(ARGV[0], 'r') do |f| | |
| f.readline.to_i.times do |i| | |
| puts LOOP[i] unless LOOP[i].nil? |
| #!/usr/bin/env ruby | |
| # usage: ./family.rb [trials] | |
| # Family problem, 1000000 trials: | |
| # | |
| # 997496 girls, 1000000 boys | |
| # 1.997496 children per family | |
| # 0.997496 girls per boy | |
| # | |
| # Ran in 15.508096s |
| #!/bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: [app] | |
| # Required-Start: $local_fs $remote_fs $network $syslog $nginx $mysql | |
| # Required-Stop: $local_fs $remote_fs $network $syslog $nginx $mysql | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: starts the [app] app server | |
| # Description: starts the [app] app server |
| #!/bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: example_app | |
| # Required-Start: $local_fs $remote_fs $network $syslog | |
| # Required-Stop: $local_fs $remote_fs $network $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: starts the example_app app server | |
| # Description: starts the example_app app server |