% rm ~/Music/iTunes/iTunes\ Library\ Genius.itdb
Calling Rsync in the following way, using --existing
, --ignore-existing
and --delete
enables the following:
- Only files at target that do not exist at source will be deleted.
- Skipping all file copy operations from source to target.
$ rsync -ri \
--delete --existing --ignore-existing --progress \
/path/to/source/ /path/to/target
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
Khan Academy Exercise Links | |
https://github.com/Khan/khan-exercises | |
https://github.com/Khan/khan-exercises/wiki | |
https://github.com/Khan/khan-exercises/wiki/Writing-Exercises:-Home | |
http://khan.github.io/perseus/ |
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
This is code I modified for an lm34 that uses Fahrenheit instead of Celsius. Get the original code from oomlout with the link below. | |
/* --------------------------------------------------------- | |
* | Arduino Experimentation Kit Example Code | | |
* | CIRC-10 .: Temperature :. (TMP36 Temperature Sensor) | | |
* --------------------------------------------------------- | |
* | |
* A simple program to output the current temperature to the IDE's debug window | |
* |