I hereby claim:
- I am chrismiles on github.
- I am chrismiles (https://keybase.io/chrismiles) on keybase.
- I have a public key whose fingerprint is 830F F4A6 3613 7F3F 87DA C42D CE2B 7306 7333 35C2
To claim this, I am signing this object:
echo "HD Video Download" | |
curl https://developer.apple.com/videos/wwdc/2014/ | grep -iIoh 'http.*._hd_.*dl=1">HD' | sed -e 's/\?dl=1">HD//g' | xargs -n1 wget -N | |
echo "PDFs Download" | |
curl https://developer.apple.com/videos/wwdc/2014/ | grep -iIoh 'http.*.pdf' | sed -e 's/\?dl=1">PDF//g' | xargs -n1 wget -N |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
set -x | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist | |
sleep 10 | |
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist |
// | |
// MyLayer.m | |
// | |
// Created by Chris Miles on 14/03/11. | |
// Copyright 2011 Chris Miles. | |
// | |
/* | |
Animate custom property example: |
// | |
// BaseViewController.m | |
// | |
// Created by Peter Boctor on 5/4/11. | |
// | |
// Copyright (c) 2011 Peter Boctor | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights |
@interface NSDate ( CMExtras ) | |
- (NSDate *)stripTimeComponent; | |
@end |
/* | |
Example: | |
CGRect fillRect = CGRectMake(0.0, 0.0, 50.0, 100.0); | |
size_t locationCount = 2; | |
CGFloat locationList[] = {0.0, 1.0}; | |
CGFloat colorList[] = { | |
//red, green, blue, alpha | |
244.0/255.0, 207.0/255.0, 80.0/255.0, 1.0, | |
255.0/255.0, 161.0/255.0, 59.0/255.0, 1.0, |
// | |
// NSArray+CMRandomised.h | |
// | |
// Copyright 2011 Chris Miles. All rights reserved. | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is |
@interface UIImageView (CMAsyncExtension) | |
- (void)asyncLoadImageFromURL:(NSURL *)imageURL; | |
@end | |
@implementation UIImageView (CMAsyncExtension) | |
- (void)asyncLoadImageFromURL:(NSURL *)imageURL | |
{ |
// | |
// Main Program.h | |
// | |
// | |
// Created by BLE Sensor Tag. | |
// | |
// | |
#include <CoreBluetooth/CoreBluetooth.h> | |
#include "Sensors.h" |