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
defaults write -g NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false |
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
app id = de.xida.example | |
install: | |
adb install yourapk.apk | |
uninstall: | |
adb uninstall de.xida.example | |
kill task | |
adb shell am force-stop de.xida.example |
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
// | |
// SPViewController+AutoRotationFix.h | |
// Barebone | |
// | |
// Created by Shilo White on 7/2/14. | |
// | |
// | |
#import <Sparrow/Sparrow.h> |
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
// | |
// SPStage+AutoRotationFix.h | |
// Barebone | |
// | |
// Created by Shilo White on 7/2/14. | |
// | |
// | |
#import <Sparrow/Sparrow.h> |
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
// | |
// SPViewController+AutoRotationBorderColor.h | |
// Barebone | |
// | |
// Created by Shilo White on 7/3/14. | |
// | |
// | |
#import <Sparrow/Sparrow.h> |
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
// | |
// SPStage+AutoRotationFix.h | |
// Barebone | |
// | |
// Created by Shilo White on 7/2/14. | |
// | |
// | |
#import <Sparrow/Sparrow.h> |
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
// These two need to be declared outside the try/catch | |
// so that they can be closed in the finally block. | |
HttpURLConnection urlConnection = null; | |
BufferedReader reader = null; | |
// Will contain the raw JSON response as a string. | |
String forecastJsonStr = null; | |
try { | |
// Construct the URL for the OpenWeatherMap query |
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
Httpconnection connection = null; | |
BufferedReader reader = null; | |
String forecastJsonStr = null; | |
try { | |
URL url = new URL("http://api.openweathermap.org/data/2.5/forecast/daily?q=94043&mode=json&units=metric&cnt=7"); | |
connection = (Httpconnection) url.openConnection(); | |
connection.setRequestMethod("GET"); | |
connection.connect(); | |
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
curl -L "http://dummyimage.com/600x400/000/fff&text=DummyImage%20[01-10]" -o image_#1.png |
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
When you see the application of Thunderbird, don't you get too scared. | |
Just grab your Mac buddy, and say these magic words: | |
Fuck you, Thunderbird! You can suck my dick. | |
You cant get me, Thunderbird, because you're just Mozilla's farts. |