Set username
git config --global user.name "Your Name Here"
Set e-mail
git config --global user.email "your_email@example.com"
Clorize and make git output pretty
git config --global color.ui true
Creating a repository
Set username
git config --global user.name "Your Name Here"
Set e-mail
git config --global user.email "your_email@example.com"
Clorize and make git output pretty
git config --global color.ui true
Creating a repository
| # First verify the version of Java being used is not SunJSK. | |
| java -version | |
| # Get the latest Sun Java SDK from Oracle http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u1-download-513651.html | |
| wget http://download.oracle.com/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-i586.rpm | |
| # Rename the file downloaded, just to be nice | |
| mv jdk-7u1-linux-i586.rpm\?e\=1320265424\&h\=916f87354faed15fe652d9f76d64c844 jdk-7u1-linux-i586.rpm | |
| # Install Java |
| /* | |
| Usage | |
| NSString *password = @"1111"; | |
| NSString *message = @"xxx"; | |
| NSData *inData = [message dataUsingEncoding:NSUTF8StringEncoding]; | |
| NSData *encData = [securityUtils encryptPBEWithMD5AndDESData:inData password:password]; | |
| NSString *encString = [encData base64EncodedString]; |
| @synthesize firstName = _firstName; | |
| @synthesize txtFirstName = _txtFirstName; | |
| [RACAbleSelf(self.firstName) subscribeNext:^(id x) { [self firstNameChanged:x]; }]; | |
| [self rac_bind:RAC_KEYPATH_SELF(self.firstName) to:self.txtFirstName.rac_textSubscribable]; | |
| - (void) firstNameChanged:(id)firstName { | |
| NSLog(@"changed: %@", firstName); | |
| } |
| @interface ViewController () | |
| @property (strong, nonatomic) UIScrollView* vScrollView; | |
| @end | |
| @implementation ViewController | |
| - (void)viewDidLoad | |
| { | |
| [super viewDidLoad]; | |
| // | |
| // NSData.swift | |
| // Pods | |
| // | |
| // Created by Tanner Nelson on 9/15/15. | |
| // | |
| // | |
| import Foundation |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
| ######################### | |
| # .gitignore file for Xcode 7 Source Projects | |
| # can be used for watchOS, tvOS, iOS, OSX, Swift development | |
| # | |
| # February 2016 | |
| # | |
| # Save this file as .gitignore in your repository's working directly. | |
| # Note: Don't confuse the working directory with the .git directory. It will not work if you put it there. | |
| # | |
| ##### |
| import UIKit | |
| import CoreBluetooth | |
| import RxSwift | |
| import RxBluetoothKit | |
| extension CBUUID { | |
| var type: UUID { | |
| return UUID(rawValue: uuidString)! | |
| } | |