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 SerialCamera_DemoCode_CJ-OV528.ino | |
// 8/8/2013 Jack Shao | |
// Demo code for using seeeduino or Arduino board to cature jpg format | |
// picture from seeed serial camera and save it into sd card. Push the | |
// button to take the a picture . | |
// For more details about the product please check http://www.seeedstudio.com/depot/ | |
#include <arduino.h> | |
#include <SPI.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
#!/bin/bash | |
function cloudOn { | |
launchctl load /System/Library/LaunchDaemons/com.apple.nsurlstoraged.plist | |
launchctl load /System/Library/LaunchAgents/com.apple.nsurlsessiond.plist | |
sudo launchctl load /System/Library/LaunchDaemons/com.apple.nsurlsessiond.plist | |
sudo launchctl load /System/Library/LaunchDaemons/com.apple.nsurlstoraged.plist | |
} | |
function cloudOff { |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file has been truncated, but you can view the full file.
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
{ | |
"dependencies": { | |
"express": { | |
"version": "4.13.3", | |
"from": "[email protected]", | |
"resolved": "https://registry.npmjs.org/express/-/express-4.13.3.tgz", | |
"dependencies": { | |
"accepts": { | |
"version": "1.2.13", | |
"from": "https://registry.npmjs.org/accepts/-/accepts-1.2.13.tgz", |
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
# INSTALLATION | |
# - Add the following function to your .oh-my-zsh/themes/agnoster.zsh-theme | |
# - Call prompt_kubecontext from build_prompt() as showed in the example below | |
# | |
# | |
# build_prompt() { | |
# prompt_kubecontext | |
# } | |