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
| <?xml version="1.0" encoding="utf-8"?> | |
| <manifest | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="com.unity3d.player" | |
| android:installLocation="preferExternal" | |
| android:theme="@android:style/Theme.NoTitleBar" | |
| android:versionCode="1" | |
| android:versionName="1.0"> | |
| <supports-screens | |
| android:smallScreens="true" |
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/sh | |
| if ! type coffee > /dev/null 2>&1; then echo "Please install the coffee-script."; exit; fi | |
| if [[ ! "${1}" =~ \.coffee$ ]]; then echo "File extension error"; exit; fi | |
| echo \{ | |
| cat $1 | \ | |
| coffee --print --bare --compile --stdio | \ | |
| sed -e '1,2d; $d' | \ | |
| sed "s/\([^ '\"].*[^ '\"]\): /\"\1\": /" |
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
| unless Function::bind | |
| Function::bind = (obj) -> | |
| unless typeof this is "function" | |
| throw new TypeError "Function.prototype.bind - what is trying to be bound is not callable" | |
| slice = [].slice | |
| args = slice.call(arguments, 1) | |
| method = this | |
| noop = -> | |
| bound = -> |
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/sh | |
| cd ~/.lolcommits && rm -rf tmp && mkdir tmp && find . -name "*.jpg" -mtime -1 -print0 | xargs -0 -J % cp % tmp && convert -delay 15 tmp/*.jpg ani.gif && rm -rf tmp |
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
| /* | |
| * GoogleConversionTrackingBridge.java | |
| * Copyright (C) 2014 Yuya Hashimoto | |
| */ | |
| package im.yuya.unitygoogleconversiontrackingplugin; | |
| import com.unity3d.player.UnityPlayer; | |
| import android.app.Activity; | |
| import java.util.Map; |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="im.yuya.unitywebview" | |
| android:installLocation="preferExternal" | |
| android:theme="@android:style/Theme.NoTitleBar" | |
| android:versionCode="1" | |
| android:versionName="1.0"> | |
| <uses-permission android:name="android.permission.INTERNET" /> | |
| <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | |
| <application android:icon="@drawable/app_icon" |
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
| using UnityEngine; | |
| using System.Collections; | |
| public class TestInterface : MonoBehaviour { | |
| public string Url; | |
| private string note; | |
| public GUISkin guiSkin; | |
| public GameObject redBoxPrefab; | |
| public GameObject blueBoxPrefab; |
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
| osascript -l JavaScript -e 'var s = Application("Safari"); var e = Application("System Events"); s.activate(); delay(0.1); e.keystroke("w", {"using": ["command down", "shift down"]}); delay(0.1); e.keystroke("n", {"using": ["command down", "shift down"]});' |
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
| Demo |
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
| javascript:(function(){var a=/^https:\/\/docs\.google\.com\/spreadsheets\/.+\/edit#gid=(\d+)$/;if(a.test(location.href)){var b=location.href.replace(/\/edit.+$/,"/export");a=["exportFormat=xlsx&format=xlsx","gid="+a.exec(location.href)[1]].join("&");window.open(b+"?"+a)}})(); |