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
<a href></a> |
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
//addSubview: | |
//EXAMPLE | |
-(IBAction)products:(id)sender { | |
products = [[Products alloc] initWithNibName:@"Products" bundle:nil]; | |
[self.view addSubview:products.view]; | |
} |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
.titleBar { | |
border-top-left-radius: 10px; | |
border-top-right-radius: 10px; | |
height: 85px; | |
background-color: #BFAE90; | |
} |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
.btn { | |
width: 168px; | |
height: 48px; | |
text-align: center; | |
font-size: 24px; | |
-webkit-box-shadow: 0px 10px 0px 0px rgba(110, 6, 0, 0.75); |
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
["10th Street","13th Street South","15th Street","16th Street","18th Street","19th Street","23rd St","2nd Avenue","2nd Street","2nd Street West","36th Street","37th Street Walk","38th Parallel Place","3rd Avenue","3rd Street","3rd Street East","420","45th Street","48th Street","4th Avenue","4th St","4th Street","4th Street East","55 Terrace","59th Street","5th Avenue","5th Street","5th Street Pedestrian Tunnel","6th Avenue","6th Street","6th Street East","7th Avenue","7th Street","7th Street West","8th Avenue","8th Street","8th Street West","9th Street","","Abigail Street","Adams Avenue","Addison Street","Admiral Peary Way","Admiral Wilson Boulevard","Adrian Way","Afton Road","Agate Street","Alabama Road","Albatross Road","Albert Street","Albright Street","Alder Place","Alfred Avenue","Alfred Drive","Allen Drive","Allman Street","Almond Court","Almond Street","Alter Street","Amber Street","America Road","Amon Avenue","Ancona Street","Andover Road","Angelo Place","Angora Avenue","Angora Terrace","Annin Street" |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Landrush domain name suffix | |
# https://github.com/phinze/landrush | |
# For linux: | |
# sudo apt-get install -y resolvconf dnsmasq | |
# sudo sh -c 'echo "server=/vm/127.0.0.1#10053" > /etc/dnsmasq.d/vagrant-landrush' | |
# sudo service dnsmasq restart | |
# |
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/sh | |
echo Install all AppStore Apps at first! | |
# no solution to automate AppStore installs | |
# Update: there is a way now, just haven't updated yet | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew install mas | |
read -p "Press any key to continue... " -n1 -s | |
echo | |
mas install 1176895641 # Spark |
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
// If all inputs are valid return true | |
let allValid = Object.keys(state).reduce((prev, curr) => (prev && state[curr].valid) ? true : false, true); |
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
* { box-sizing:border-box; } | |
/* form starting stylings ------------------------------- */ | |
.group { | |
position:relative; | |
margin-top:2em; | |
} | |
input { | |
font-size:18px; | |
padding:10px 10px 10px 5px; |
OlderNewer