This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
USERNAME=d@t.com | |
PASSWORD=r | |
LANGUAGES="en fr it ja tr es pt de" | |
PATHS="v3/coach/workouts v2/coach/workouts v2/coach/exercise_alternatives" | |
echo "Logging in" | |
export ID_TOKEN=`curl --silent -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BEGIN MESSAGE. | |
CAKSbgxUhf3QiFZ dJA4GbG3itcu0SG bOfXQ9mV0NGuLHJ xFtIidtcBMGEn0L | |
V5EAZ6DFQhrzOV7 4Cyb5Du9RU4TCKq 6Xr2MZHgg6tEG3h nLD5gzyKChF84Om | |
F1HvPu0rbPErjNL SOBgJ4TKGG3tnjW gtf6QNNNBrPi0t5 EQvlVGvNWVSZaYs | |
rVTRkPE8LQYfyWV PuiImApXm0a7E6W rPkI621. | |
END MESSAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Based on https://github.com/JFrogDev/project-examples/blob/master/bash-example/deploy-folder-by-checksum.sh | |
export repo_url= | |
export tgt_repo= | |
export user= | |
export pass= | |
export dir="$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSMutableString *magick = [[NSMutableString alloc] init]; | |
[magick appendString:@"xc:skyblue -fill white -stroke black "]; | |
int minX = rect.origin.x; | |
int minY = rect.origin.y; | |
int maxX = rect.size.width; | |
int maxY = rect.size.height; | |
for (UICollectionViewLayoutAttributes *att in theLayoutAttributes) { | |
minX = MIN(minX, att.frame.origin.x); | |
minY = MIN(minY, att.frame.origin.y); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ (void) createPinWithClientId:(NSString *)clientId | |
imageURL:(NSURL *)imageURL | |
sourceURL:(NSURL *)sourceURL | |
description:(NSString *)descriptionText { | |
Pinterest *pinterest = [[Pinterest alloc] initWithClientId:clientId]; | |
[pinterest createPinWithImageURL:imageURL sourceURL:sourceURL description:descriptionText]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@implementation ViewController | |
- (void) viewDidLoad { | |
UIGestureRecognizer *recog = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(gogo:)]; | |
[self.view addGestureRecognizer:recog]; | |
} | |
- (void) gogo:(UIGestureRecognizer *)recog { | |
NSString *clientId = [NSMutableString stringWithString:@"1431665"]; | |
Pinterest *pinterest = [[Pinterest alloc] initWithClientId:clientId]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I am a third-year Computer Science student at Rochester Institute of Technology seeking a co-op | |
position that will complement the classes that I am currently taking. I am pursuing a BS and | |
MS in Computer Science from RIT and would like to concentrate in cryptography and information | |
security. I believe that my academic interests and my excitement for programming would make me | |
an ideal employee at the NSA. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
They're so pointless!!!! | |
There's one that *everybody* at RIT does called thefacebook.com. | |
Apparently it was written by some guys at Harvard and lots of schools | |
use it now. | |
Crap! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package sh.calaba.instrumentationbackend.actions.list; | |
import android.widget.ListView; | |
import sh.calaba.instrumentationbackend.InstrumentationBackend; | |
import sh.calaba.instrumentationbackend.Result; | |
import sh.calaba.instrumentationbackend.actions.Action; | |
import java.lang.Integer; | |
import java.lang.String; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final void onMeasure(final int widthMeasureSpec, | |
final int heightMeasureSpec) { | |
int mode = View.MeasureSpec.getMode(widthMeasureSpec); | |
int width = View.MeasureSpec.getSize(widthMeasureSpec); | |
int height = (int) (width / aspect.ratio); | |
int heightSpec = MeasureSpec.makeMeasureSpec(height, mode); | |
super.onMeasure(widthMeasureSpec, heightSpec); | |
} |
NewerOlder