⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
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
http://stackoverflow.com/questions/4556184/vim-move-window-left-right | |
http://www.worldtimzone.com/res/vi.html |
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
.button { | |
color: blue; | |
text-decoration: underline; | |
cursor: pointer; | |
} | |
#img1, | |
#img2 { | |
float: left; | |
margin: 5px; | |
} |
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
<!DOCTYPE html> | |
<html class="no-js" lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Deferred</title> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
</head> |
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
int ledPin = D2; | |
int ledPin7 = D7; | |
int newLike = 0; | |
int locationChange = 0; | |
int i = 0; | |
unsigned long previousTime; | |
int interval = 5000; |
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
// http://apis.is/cyclecounter | |
// particle webhook GET ice_bikes "http://apis.is/cyclecounter" | |
// Jordans-MacBook-Pro:~ jshaw$ particle webhook GET ice_bikes "http://apis.is/cyclecounter" | |
// Sending webhook request { uri: 'https://api.particle.io/v1/webhooks', | |
// method: 'POST', | |
// json: | |
// { event: 'ice_bikes', | |
// url: 'http://apis.is/cyclecounter', | |
// deviceid: undefined, |
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
https://apps.facebook.com/fbrelll/fb.ui/apprequests | |
document.getElementById('send-to-many').onclick = function() { | |
FB.ui({ | |
method: 'apprequests', | |
filters: [{name: 'Coffee Lovers', user_ids: [UID,UID,UID,UID]}], | |
message: 'You should learn more about the Platform.' | |
}, Log.info.bind('send-to-many 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
<!-- | |
HTML UPDATES | |
Where there are input values for the amigo animal type remove the JS that styleizes the radio buttons so we just have straight labels and inputs. | |
Make the output of the radio buttons resemble what is below. A wrapper and than label, input for that animal. | |
Add some new classes. I added the class amigo-type and to the wrapper div, animal-label class to the label elements inside and animal-input class to the input radio buttons. | |
--> |
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
var terms = { | |
"terms" : { | |
Lorem : { | |
"term": "Lorem", | |
"definition" : "Lorem: Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." | |
}, | |
ullamco : { | |
"term": "ullamco", | |
"definition" : "ullamco: Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." | |
}, |
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
<div id="main"> | |
<div id="head-neck-body"> | |
<div id="head-neck"> | |
<div id="head"> | |
<div class="shape02"></div> | |
<div class="shape0"></div> | |
<div class="shape01"></div> |