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
// | |
// SyntaxHighlighter.swift | |
// CardsCardsCards | |
// | |
// Created by Martin Pichlmair on 12/10/2018. | |
// | |
// Based on https://raw.githubusercontent.com/kuyawa/Macaw/master/Macaw/Macaw.swift | |
import Cocoa |
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
#!/bin/bash | |
find /Users/pi/Projects -name "Unitilities" -exec sh -c ' | |
for file do | |
echo "\033[0;32m[ Updating $file ]\033[0m" | |
cd "$file" | |
git pull | |
done | |
' sh {} + |
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
# usage | |
# init.sh <repository> <folder> | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" | |
if [ -d $2/Assets ]; then | |
echo "Setting up git repository $1" | |
else | |
echo "An init script for git hosted Unity projects" | |
echo "Usage: init.sh <repository> <folder>" |
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
tell application "Finder" | |
set fl to files of folder POSIX file "/Users/pi/Desktop/VoodoopadExport" as alias list | |
end tell | |
repeat with f in fl | |
set theText to (do shell script "cat " & quoted form of (POSIX path of f)) | |
set theName to (do shell script "basename " & quoted form of (POSIX path of f)) | |
tell application "Evernote" | |
create note with text theText title theName notebook "private" tags "VoodooPad" | |
end tell | |
end repeat |
NewerOlder