3.3V | 1 | 2 | 5V |
I2CO SDA |
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
# ------------------------------------------------------------------------------ | |
# FILE: hipster.zsh-theme | |
# DESCRIPTION: oh-my-zsh theme file. | |
# AUTHOR: Vitaly Domnikov (dotcypress@gmail.com) | |
# BASED ON: Sorin theme by Sorin Ionescu (sorin.ionescu@gmail.com) | |
# VERSION: 1.0.2 | |
# ------------------------------------------------------------------------------ | |
function get_host { | |
echo `hostname`'' |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ANSIBlackColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS | |
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NGMCAw | |
IDAAEAGAAtIQERITWiRjbGFzc25hbWVYJGNsYXNzZXNXTlNDb2xvcqISFFhOU09iamVj | |
dF8QD05TS2V5ZWRBcmNoaXZlctEXGFRyb290gAEIERojLTI3O0FITltiaWttcn2GjpGa |
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
0 @ [1:1] | |
1 @ [1:5] | |
2 @ [1:9] | |
3 @ [1:13] | |
4 @ [1:17] | |
5 @ [1:21] | |
6 @ [1:25] | |
7 @ [1:29] | |
8 @ [1:33] | |
9 @ [1:37] |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.16862745583057404</real> | |
<key>Green Component</key> | |
<real>0.14901961386203766</real> |
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
// One password is enough. | |
function getPassword(masterPassword, serviceName, username){ | |
var alphabetRFC1924 = ['0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','!','#','$','%','&','(',')','*','+','-',';','<','=','>','?','@','^','_','`','{','|','}','~']; | |
var hash = md5(masterPassword + serviceName + username); | |
var password = ''; | |
for (i = 0; i < hash.length; i += 1) { | |
var symbol = hash.charCodeAt(i); | |
password += alphabetRFC1924[symbol % alphabetRFC1924.length]; | |
} | |
return password; |
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
public delegate void PropertyChangedCallback<T>(T sender, DependencyPropertyChangedEventArgs e) where T : DependencyObject; | |
public static class DependencyPropertyHelper | |
{ | |
public static DependencyProperty Register<TProperty, TOwner>(string name, | |
TProperty defaultValue = default(TProperty), | |
PropertyChangedCallback<TOwner> callback = null) where TOwner : DependencyObject | |
{ | |
return RegisterImpl(false, name, defaultValue, callback); | |
} |
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
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine | |
# This is how I upload my new Sol Trader builds (http://soltrader.net) | |
# Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash | |
S3KEY="my aws key" | |
S3SECRET="my aws secret" # pass these in | |
function putS3 | |
{ | |
path=$1 |
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
1. 👩👩👧👦 | |
2. ❤️ | |
3. 👍🏽 |
I hereby claim:
- I am dotcypress on github.
- I am dotcypress (https://keybase.io/dotcypress) on keybase.
- I have a public key whose fingerprint is 9F83 5882 AEEA B17D B12C 78DE D844 1EF8 F3DF 1924
To claim this, I am signing this object:
OlderNewer