I hereby claim:
- I am lonnen on github.
- I am lonnen (https://keybase.io/lonnen) on keybase.
- I have a public key ASD6EwG016GSrl1Lo7eTkPdMaQ-Ck6hXv7KOflhUMv2o2Qo
To claim this, I am signing this object:
| #!/usr/bin/env python3 | |
| import itertools | |
| fizzes = itertools.cycle(["", "", "Fizz"]) | |
| buzzes = itertools.cycle(["", "", "", "", "Buzz"]) | |
| fizzbuzzes = map(lambda x: "".join(x), zip(fizzes, buzzes)) | |
| def fizzbuzz(n): | |
| return list(itertools.islice(fizzbuzzes, n)) |
| ~/repos/socorro master | |
| [17:39:48] $ tokei . | |
| ------------------------------------------------------------------------------- | |
| Language Files Lines Code Comments Blanks | |
| ------------------------------------------------------------------------------- | |
| Autoconf 2 1536 227 881 428 | |
| C Header 12 2195 1259 614 322 | |
| C++ 11 7342 6055 470 817 | |
| C++ Header 3 1347 1085 80 182 | |
| CSS 10 1036 937 55 44 |
| #!/usr/bin/env python | |
| import sys, os | |
| import SimpleHTTPServer | |
| args = sys.argv[1:] | |
| if len(args) and (args[0] == "-h" or args[0] == "--help"): | |
| print """ | |
| Serve a file (or the current directory) | |
| http://benalman.com/ |
| # raw_transform ruleset | |
| mozilla_transform_rules | |
| ProductRewrite | |
| ESRVersionRewrite | |
| PluginContentURL | |
| PluginUserComment | |
| processor_app.py | |
| :115 if 'uuid' not in raw_crash: | |
| :116 raw_crash.uuid = uuid |
| # we've been hitting a bug with PR apps under the older permissions system | |
| # which leaves a bunch of dead ones lying around. this will clean them up. | |
| # adjust the grep pattern and organization as necessary | |
| for APP in `heroku apps -o $ORGANIZATION | grep -e -pr-` | |
| do | |
| heroku apps:destroy --app $APP --confirm $APP | |
| done |
| curl https://plugins.mozilla.org/en-US/plugins_list.json > before.json | |
| # ... migration ... | |
| curl https://plugins.mozilla.org/en-US/plugins_list.json > after.json | |
| diff before.json after.json |
| if (!window.location.pathname.startsWith('/settings')) { | |
| var garbage = Array.prototype.slice.call( | |
| document.getElementsByClassName('dashboard') | |
| ); | |
| garbage.push( | |
| document.getElementsByClassName('trends-inner')[0], | |
| document.getElementsByClassName('wtf-module')[0] | |
| ); |
I hereby claim:
To claim this, I am signing this object:
| # usage: ./curler.sh http://whatever.url.biz | |
| # will run until ctr-C is executed | |
| while [ true ] | |
| do | |
| curl -LI $1 | |
| done |
| # Description: | |
| # rerun a leeroy job | |
| # | |
| # Configuration: | |
| # LEEROY_SERVER | |
| # | |
| # Commands: | |
| # hubot rerun <project> <pull-request-#> | |
| # hubot reroy <project> <pull-request-#> | |
| # |