I hereby claim:
- I am sartak on github.
- I am sartak (https://keybase.io/sartak) on keybase.
- I have a public key whose fingerprint is 38F5 F03C 8CEF B3E2 4B8B 49CE 3756 E254 3144 0520
To claim this, I am signing this object:
| { | |
| "ACL" : [ | |
| { | |
| "GroupDomain" : "SystemInternal", | |
| "GroupType" : "Privileged", | |
| "ObjectId" : 1, | |
| "ObjectType" : "RT::System", | |
| "PrincipalType" : "Group", | |
| "RightName" : "ShowApprovalsTab" | |
| }, |
| (;GM[1]FF[4]SZ[19]AP[Go Books:4.4.3] | |
| AB[ca:cb][ga:gb][eb][dc][fc][ed] | |
| AW[ba:bb][ha:hb][cc:cd][gc:gd][de:fe] | |
| PL[W]VW[aa:ig] | |
| FG[4353:Problem 202 (1move)]) |
| #!/bin/bash | |
| # This script zeroes out any space not needed for packaging a new Ubuntu Vagrant base box. | |
| # Run the following command in a root shell: | |
| # | |
| # bash <(curl -s https://gist.github.com/sartak/4af06edcb3/raw/vagrant-clean.sh) | |
| function print_green { | |
| echo -e "\e[32m${1}\e[0m" | |
| } |
| <html> | |
| <head> | |
| <meta | |
| name="viewport" | |
| id="viewport" | |
| content="width=device-width,initial-scale=1.0,maximum-scale=10,user-scalable=1" | |
| /> | |
| <link type="text/css" rel="stylesheet" href="res/web/css/reviewer.css" /> | |
| <script src="res/web/js/vendor/jquery.min.js"></script> | |
| <script src="res/web/js/vendor/css_browser_selector.min.js"></script> |
I hereby claim:
To claim this, I am signing this object:
| <html> | |
| <body> | |
| : block outer -> { | |
| <h1>hello world</h1> | |
| <nav>...</nav> | |
| <div> | |
| : block inner -> { } | |
| : block footer -> { |
| #import <SpriteKit/SpriteKit.h> | |
| @interface SKTexture (YWName) | |
| @property (nonatomic, strong) NSString *yw_textureName; | |
| @property (nonatomic, strong) NSString *yw_atlasName; | |
| @end |
| NSError *regexError = nil; | |
| NSRegularExpression *nameRegex = [NSRegularExpression regularExpressionWithPattern:@"^Name:\\s*?(.+)" | |
| options:NSRegularExpressionCaseInsensitive | |
| error:®exError]; | |
| if (!nameRegex) { | |
| NSLog(@"REGEX ERROR: %@", regexError); | |
| } | |
| __block NSString *name = nil; | |
| [nameRegex enumerateMatchesInString:input |
| if (direction == self.hero.direction) { | |
| self.isAnimating = YES; | |
| [self.hero runAction:[SKAction moveByX:moveByX y:moveByY duration:[self.hero stepAnimationDuration]]]; | |
| [self.hero runStepAnimation:^{ | |
| self.isAnimating = NO; | |
| }]; | |
| } | |
| else { | |
| [self.hero changeDirection:direction]; | |
| } |