This file contains hidden or 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
# Yay! High voltage and arrows! | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[green]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}⚡%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_CLEAN="" | |
PROMPT='%{$fg[cyan]%}%1~%{$reset_color%}%{$fg[red]%}|%{$reset_color%}$(git_prompt_info)%{$fg[cyan]%}⇒%{$reset_color%} ' |
This file contains hidden or 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
using System; | |
using Xamarin.Forms; | |
namespace YOURNAMESPACE | |
{ | |
public class LineEntry : Entry | |
{ | |
public static BindableProperty BorderColorProperty = | |
BindableProperty.Create( |
This file contains hidden or 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
alias weather='curl "http://wttr.in/[YOUR CITY HERE]" -s | head -7' |
This file contains hidden or 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
# Slate: https://github.com/jigish/slate | |
config defaultToCurrentScreen true | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
# Push Bindings | |
bind right:ctrl;cmd push right bar-resize:screenSizeX/2 | |
bind left:ctrl;cmd push left bar-resize:screenSizeX/2 | |
bind up:ctrl;cmd push up bar-resize:screenSizeY |
This file contains hidden or 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
/* modernizr-ios-check.js | |
* Daniel Ott (with modifications) | |
* 3 March 2011 | |
* Custom Tests using Modernizr's addTest API | |
*/ | |
/* iOS | |
* There may be times when we need a quick way to reference whether iOS is in play or not. | |
* While a primative means, will be helpful for that. | |
*/ |
This file contains hidden or 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
/******************************* timeline lib *********************************/ | |
// The timeline public URL root | |
var API_URL_ROOT = 'https://timeline-api.getpebble.com/'; | |
/** | |
* Send a request to the Pebble public web timeline API. | |
* @param pin The JSON pin to insert. Must contain 'id' field. | |
* @param type The type of request, either PUT or DELETE. | |
* @param topics Array of topics if a shared pin, 'null' otherwise. |
This file contains hidden or 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
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> | |
<script type="text/javascript" src="https://www.google.com/jsapi"></script> | |
<div id="regions_div" style="width: 900px; height: 500px;"></div> |
This file contains hidden or 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
buildTypes { | |
release { | |
... | |
runProguard true | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' | |
} | |
} |
This file contains hidden or 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
// via https://forums.xamarin.com/discussion/19079/data-binding-for-the-items-source-of-a-picker-control | |
using System; | |
using System.Collections; | |
using Xamarin.Forms; | |
public class BindablePicker : Picker { | |
public BindablePicker() { | |
this.SelectedIndexChanged += OnSelectedIndexChanged; | |
} |
NewerOlder