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
| function startiThrown() { | |
| document.location = appurl; | |
| var time = (new Date()).getTime(); | |
| setTimeout(function(){ | |
| var now = (new Date()).getTime(); | |
| if((now-time)<400) { | |
| if(confirm('You do not seem to have iThrown installed, do you want to go download it now?')){ | |
| document.location = 'http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=293049283&mt=8&uo=6'; | |
| } |
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
| <VirtualHost *:80> | |
| ServerName drawcode.com | |
| ServerAlias drawcode.com | |
| ServerAlias www.drawcode.com | |
| ServerAdmin web-admin@drawcode.com | |
| DocumentRoot /srv/www/drawcode.com | |
| # MonoServerPath can be changed to specify which version of ASP.NET is hosted | |
| # mod-mono-server1 = ASP.NET 1.1 / mod-mono-server2 = ASP.NET 2.0 | |
| # For SUSE Linux Enterprise Mono Extension, uncomment the line below: | |
| # MonoServerPath drawcode.com "/opt/novell/mono/bin/mod-mono-server2" |
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
| data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script> |
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
| #!/usr/bin/env python | |
| #install the follow first: | |
| #sudo easy_install pip | |
| #sudo pip install -U boto | |
| #sudo pip install configparser |
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
| uname -a |
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
| .card .front, .card .back { | |
| float: none; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: inherit; | |
| height: inherit; | |
| border: 1px solid #dddddd; | |
| padding: 1px; | |
| -webkit-transform-style: preserve-3d; |
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
| AndroidJavaClass jc = new AndroidJavaClass("com.unity3d.player.UnityPlayer"); | |
| AndroidJavaObject jo = jc.GetStatic<AndroidJavaObject>("currentActivity"); | |
| AndroidJavaObject pm = jo.Call<AndroidJavaObject>("getPackageManager"); | |
| AndroidJavaObject intent = pm.Call<AndroidJavaObject>("getLaunchIntentForPackage", "com.x.x"); | |
| jo.Call("startActivity", intent); |
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 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
| for( var i = 0 ; i < devices.length ; i++ ) { | |
| if (devices[i].isFrontFacing) { | |
| frontCamName = devices[i].name; | |
| } | |
| else { | |
| backCamName = devices[i].name; | |
| } | |
| } | |
| frontTex = new WebCamTexture(frontCamName, width, height, framesPerSec); |
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; | |
| namespace UnityAssets | |
| { | |
| public class DualDisplay : MonoBehaviour | |
| { | |
| public Camera mainCamera, controlsCamera; | |
| public bool autoEnable = true; |