I hereby claim:
- I am rnorth on github.
- I am richnorth (https://keybase.io/richnorth) on keybase.
- I have a public key whose fingerprint is 8AC1 FA76 2457 703F 759C 8CF1 E052 0DA8 3FDC BD43
To claim this, I am signing this object:
| [[ $(http "https://bitbucket.org/api/2.0/repositories/{username}" | jq '.values | length') == 0 ]] |
| function chmox | |
| chmod +x $argv | |
| end |
| import java.math.BigInteger; | |
| import java.util.stream.IntStream; | |
| public class Factorial { | |
| public static void main(String[] args) { | |
| System.out.println(Factorial.factorial(1)); | |
| System.out.println(Factorial.factorial(5)); | |
| System.out.println(Factorial.factorial(120000)); | |
| } |
I hereby claim:
To claim this, I am signing this object:
| Now merged into master, and released as v0.9.1. |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>ConsentText</key> | |
| <dict> | |
| <key>default</key> | |
| <string>B-Mobile SIM フルーdata</string> | |
| </dict> | |
| <key>PayloadContent</key> |
| import time | |
| import socket | |
| import base64 | |
| src = '192.168.1.2' # ip of remote | |
| mac = '00-AB-11-11-11-11' # mac of remote | |
| remote = 'python remote' # remote name | |
| dst = '192.168.1.3' # ip of tv | |
| app = 'python' # iphone..iapp.samsung |
| // ==UserScript== | |
| // @name Apple Dev ID team selection helper | |
| // @namespace git://gist.github.com/3780792.git | |
| // @version 0.1 | |
| // @description Makes the select team dropdown more helpful if you have Dev and Enterprise enrolments for the same firm | |
| // @match https://developer.apple.com/*/selectTeam.action | |
| // @copyright 2012, Richard North | |
| // ==/UserScript== | |
| var options = document.getElementsByTagName("option"); |
| for (job in Hudson.instance.items) { | |
| if (! job.logRotator ) { | |
| job.logRotator = new hudson.tasks.LogRotator ( 30, 40, 30, 10) // days to keep, num to keep, artifact days to keep, num to keep | |
| println "$job.name edited and changed to statement below" | |
| } | |
| } |
Generate client code from an existing API spec written in Swagger format