I hereby claim:
- I am lysander6 on github.
- I am lysander (https://keybase.io/lysander) on keybase.
- I have a public key ASDow03OqTdKLrJ_mLbA-R-aVJcwXMIqBuZiP1B00oKqwwo
To claim this, I am signing this object:
# | |
# Rsync a git repository without .git directory, excluding files as per .gitignore | |
# -- as if, the target directory is a checkout without .git directory. | |
# | |
rsync -azP --delete --delete-excluded --filter=":- .gitignore" --exclude .git/ src/dir/path/ user@host:/dst/dir/path/ | |
# | |
# Rsync a git repository including the .git directory, excluding files as per | |
# .gitignore -- as if, the target directory is a clone. | |
# |
#!/usr/bin/env python3 | |
""" | |
Lyle Scott, III // [email protected] | |
$ python nuke_s3_bucket.py --help | |
usage: nuke_s3_bucket.py [-h] [-p PROFILE] bucket_name | |
positional arguments: | |
bucket_name The bucket name to delete. |
............................+.......................................... | |
....................................................................... | |
....................................................................... | |
....................................................................... | |
....................................................................... | |
....................................................................... | |
....................................................................... | |
....................................................................... | |
....................................................................... | |
....................................................................... |
import nltk | |
# interactive download | |
# nltk.download() | |
nltk.download('punkt') | |
extra_abbreviations = ['ps', 'inc', 'Corp', 'Ltd', 'Co', 'pkt', 'Dz.Ap', 'Jr', 'jr', 'sp', 'Sp', 'poj', 'pseud', 'krypt', 'sygn', 'Dz.U', 'ws', 'itd', 'np', 'sanskryt', 'nr', 'gł', 'Takht', 'tzw', 't.zw', 'ewan', 'tyt', 'oryg', 't.j', 'vs', 'l.mn', 'l.poj' ] | |
position_abbrev = ['Ks', 'Abp', 'abp','bp','dr', 'kard', 'mgr', 'prof', 'zwycz', 'hab', 'arch', 'arch.kraj', 'B.Sc', 'Ph.D', 'lek', 'med', 'n.med', 'bł', 'św', 'hr', 'dziek' ] |
I hereby claim:
To claim this, I am signing this object:
// build a smooth CGPath from an array of CGPoints (stored as NSValues) | |
- (CGMutablePathRef)newPathFromPoints:(NSArray *)points { | |
CGMutablePathRef mutablePath = CGPathCreateMutable(); | |
NSUInteger pointCount = [points count]; | |
if (pointCount > 0) { | |
CGPoint p0 = [points[0] CGPointValue]; |