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
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 |
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
# 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 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 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 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
// | |
// AutocompleteView.swift | |
// | |
// Originally created by Daniel Weber on 9/28/14. | |
// Copyright (c) 2014 Null Creature. All rights reserved. | |
// Ported to Swift by Martin Pichlmair 2018 | |
// | |
import Cocoa |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
/* Camera usually uses screen height as their reference for orthographic size. | |
This script makes it scale with width instead. | |
*/ | |
public class CorrectAspectRatio : MonoBehaviour { |
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
using UnityEngine; | |
using UnityEditor.Build; | |
using UnityEditor.Build.Reporting; | |
using UnityEditor; | |
public class IncrementBuildNumber : IPreprocessBuildWithReport { | |
public int callbackOrder { get { return 0; } } // Part of the IPreprocessBuildWithReport interface | |
public void OnPreprocessBuild(BuildReport report) { | |
if (report.summary.platform == BuildTarget.iOS) { |
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
Play this game by pasting the script in http://www.puzzlescript.net/editor.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
Play this game by pasting the script in http://www.puzzlescript.net/editor.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
from gutenberg_cleaner import * | |
import getopt | |
import sys | |
import os | |
from pathlib import Path | |
argumentList = sys.argv[1:] | |
options = "hi:o:s" | |
long_options = ["help", "input", "output", "strip"] |
OlderNewer