Skip to content

Instantly share code, notes, and snippets.

---
helderstaging:
US:
- 103.193.166.0/23
- 202.139.97.192/26
@helder-robalo
helder-robalo / csv
Created December 9, 2016 13:56
Area Codes
Alabama,205,251,256,334,659,938,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Alaska,250,907,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Arizona,480,520,602,623,928,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Arkansas,327,479,501,870,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
California,209,213,310,323,341,369,408,415,424,442,510,530,559,562,619,626,627,628,650,657,661,669,707,714,747,760,764,805,818,831,858,909,916,925,935,949,951
Colorado,303,719,720,970,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Connecticut,203,475,860,959,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Delaware,302,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
District of Columbia,202,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Florida,239,305,321,352,386,407,561,689,727,754,772,786,813,850,863,904,927,941,954,,,,,,,,,,,,,,,,,,
iOS Support Matrix
Winter 2012 Edition - v2.0
iPhone June 2007
iPod touch Sept 2007, Feb 2008 (32GB only)
iPhone 3G July 2008
iPod touch (2nd Generation) Sept 2008 Sept 2009 - (8GB only)
iPhone 3GS June 2009
iPod touch (3rd Generation) Sept 2009
iPad April 2010
iPhone 4 June 2010
@helder-robalo
helder-robalo / Can't find sdkmanager.jar
Last active October 27, 2016 16:05
can't find sdkmanager.jar
After installing android-sdk via homebrew, follow the console guide's suggestion: Add android to .bashrc PATH
And if you still receiving this message when trying run the command: android
"can't find sdkmanager.jar"
Try this one:
sudo find /usr/local/Cellar/android-sdk/<version>/tools -type d | xargs sudo chmod a+rx
Apparently homebrew can't change the authorization to this directory.

Deploying a Yeoman subfolder to GitHub Pages

Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.

For the sake of this example, let’s pretend the subfolder containing your site is named dist.

Step 1

Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman). To recreate the folder dist, run again the command: