Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#import <Foundation/Foundation.h> | |
@interface Communicator : NSObject <NSStreamDelegate> { | |
@public | |
NSString *host; | |
int port; | |
} | |
- (void)setup; |
- (void)viewDidLoad | |
{ | |
[super viewDidLoad]; | |
// Do any additional setup after loading the view from its nib. | |
NSString *tweetText = [_tweet valueForKey:@"text"]; | |
NSString *userName = [_tweet valueForKeyPath:@"user.name"]; | |
NSString *userDescription = [_tweet valueForKeyPath:@"user.description"]; | |
NSNumber *friends = [_tweet valueForKeyPath:@"user.friends_count"]; | |
NSNumber *followers = [_tweet valueForKeyPath:@"user.followers_count"]; |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
/** | |
* Renames and existing function. | |
* | |
* @private | |
* @method rename_function | |
* @param name {String} | |
* @param fn {Function} | |
* @return Function | |
*/ | |
function rename_function(name, fn) |
// see http://lumiverse.io/series/neural-networks-demystified | |
import Foundation | |
let startTime = NSDate() | |
defer { | |
let endTime = NSDate() | |
print("Total time \(endTime.timeIntervalSinceDate(startTime))") | |
} |
/*<?php | |
//*/public class PhpJava { public static void main(String[] args) { System.out.printf("/*%s", | |
//\u000A\u002F\u002A | |
class PhpJava { | |
static function main() { | |
echo(//\u000A\u002A\u002F | |
"Hello World!"); | |
}} | |
//\u000A\u002F\u002A | |
PhpJava::main(); |
rebase
vs merge
).rebase
vs merge
)reset
vs checkout
vs revert
)git rev-parse
)pull
vs fetch
)stash
vs branch
)reset
vs checkout
vs revert
)