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
import static java.nio.file.LinkOption.NOFOLLOW_LINKS; | |
import static java.nio.file.StandardWatchEventKinds.ENTRY_CREATE; | |
import static java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY; | |
import static java.nio.file.StandardWatchEventKinds.ENTRY_DELETE; | |
import static java.nio.file.StandardWatchEventKinds.OVERFLOW; | |
import java.io.IOException; | |
import java.nio.file.FileSystem; | |
import java.nio.file.Files; | |
import java.nio.file.Path; |
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
/* | |
* Watchdog example | |
* | |
* Send 'r' through serial to reboot the Arduino, when it's back up, "Boot..." should appear. | |
*/ | |
// include watchdog, part of avr-gcc compiler | |
#include <avr/wdt.h> | |
void setup(){ |
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/sh | |
# Arduino-IDE-and-Ino-Side-by-sidy Helper Script | |
# Version: 0.1 | |
# Author: Tim Pulver | |
# Ino URL: http://inotool.org | |
# | |
# Compile and upload Arduino sketches using Ino | |
# without moving them to a "scr"-folder, so you can still edit | |
# the sketch in Arduino IDE. |
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
-- Powder | |
-- v. 1.0 | |
-- Applescript for InDesign (CS6). | |
-- Converts hex codes to decimal values and fills them | |
-- in the forms in InDesign's color menu | |
-- Usage: | |
-- 1) Copy a hexcode to the clipboard like "A100FF" | |
-- Copy a colour hex-code like | |
-- 2) (optional) Create a new color |
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
#!/usr/bin/python | |
################################# | |
# ~~~~~symlink | |
# | |
# version: 0.11 | |
# | |
# creates a relative symbolic link pointing to the | |
# directory specified in the argument after '-to'. | |
# |
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
import java.io.BufferedWriter; | |
import java.io.FileWriter; | |
String outFilename = "out.txt"; | |
void setup(){ | |
// Write some text to the file | |
for(int i=0; i<10; i++){ | |
appendTextToFile(outFilename, "Text " + i); | |
} |
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 | |
# getkey.sh – Musical Key Analysis | |
# | |
# This is a helper script for Yate, which calls the application | |
# KeyFinder to analyse the musical key of a track and return it. | |
# If you set up custom key codes (Camelot system) in KeyFinder, | |
# these will also be returned. | |
# | |
# Download KeyFinder here: http://www.ibrahimshaath.co.uk/keyfinder/ |
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 | |
# dayonebac | |
# v.1.1 | |
# Tim Pulver 2013 | |
# | |
# dayonebac calls dayone_export, which needs to be installed, too. | |
# Download it from here: https://github.com/nathan11g/dayone_export | |
# place this file in /usr/local/bin and make it executable using | |
# chmod +x dayonebac |
Dieses Dokument in chic bei Gist.io anzeigen – click
Version: 0.1
Generelle Typo-Links: