I hereby claim:
- I am wesleym on github.
- I am wesleym (https://keybase.io/wesleym) on keybase.
- I have a public key ASDy6K4se2S7pERWPwgirS00jC7meJvmEM0r2Q0cdW5hGQo
To claim this, I am signing this object:
| dc Cheat Sheet | |
| ============== | |
| [Launching] [Arithmetic] | |
| dc -e "expression" +-*/%^ | |
| dc -f infile v square root | |
| [Stack] | |
| p pop d push duplicate x | |
| f print stack r swap x-y |
| package util | |
| import ( | |
| "errors" | |
| "log" | |
| ) | |
| func logErrorChain(err error) { | |
| for err != nil { | |
| log.Printf("(%T).Error() => %+v", err, err) |
| // Package main is an executable that implements FizzBuzz. | |
| package main | |
| import "fmt" | |
| // main is a complete run of the FizzBuzz program. | |
| func main() { | |
| // Each iteration represents one of the numbers from 1 to 100 | |
| // and corresponds to one line printed to standard output. |
| // Working as of July 20, 2017 | |
| prvBtnz = document.querySelectorAll('.cXmCRb') | |
| var area = document.createElement('textarea'); | |
| area.rows = 20; | |
| area.cols = 100; | |
| document.body.prepend(area); | |
| for (var i = 0; i < prvBtnz.length; i++) { |
I hereby claim:
To claim this, I am signing this object:
| android { | |
| defaultConfig { | |
| targetSdkVersion 23 | |
| } | |
| } |
| #!/bin/sh | |
| curl -o new.out $1 | |
| while ! diff old.out new.out > /dev/null | |
| do | |
| mv new.out old.out | |
| sleep 5 | |
| curl -o new.out $1 | |
| done |
| import os | |
| import re | |
| from PIL import Image, ImageOps | |
| import shutil | |
| import contextlib | |
| sixdigithex = re.compile('#([0-9A-Za-z]{3}(?:[0-9A-Za-z]{3})?)[^0-9A-Za-z]|$') | |
| graypath = 'com.sencha.gxt.ui/src/main/java/com/sencha/gxt/theme/gray/' | |
| for dirpath, dirnames, filenames in os.walk(graypath): |
| [INFO] Scanning for projects... | |
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] Reactor Build Order: | |
| [INFO] | |
| [INFO] Sencha GXT Parent Project | |
| [INFO] Sencha GXT | |
| [INFO] Sencha GXT Chart | |
| [INFO] Sencha GXT legacy project | |
| [INFO] Sencha GXT Examples | |
| [INFO] Sencha GXT Release package |
| import os | |
| swept = [] | |
| for root, dirs, files in os.walk('.', topdown=False): | |
| if root.find('/.svn/') > 0: continue | |
| if files: continue | |
| content = False | |
| for dir in dirs: | |
| if dir != '.svn' and os.path.join(root, dir) not in swept: |