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
/** | |
* Minimal Responsive Grid System. | |
* | |
* Usage: | |
* | |
* <div class="row"> | |
* <div class="unit-75"> | |
* <h1>Body</h1> | |
* </div> | |
* <div class="unit-25"> |
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
<?php | |
/** | |
* Implements HTTP Basic auth to hide your site | |
* until it's ready to go live. Based on: | |
* | |
* https://gist.github.com/jbroadway/9a18f84ad6be671eb22d | |
*/ | |
if (! $controller->cli) { | |
conf ('General', 'master_username', 'USERNAME'); |
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
package com.autodesk.a360cardboard; | |
import com.google.vrtoolkit.cardboard.CardboardActivity; | |
import android.annotation.SuppressLint; | |
import android.content.Context; | |
import android.os.Build; | |
import android.os.Bundle; | |
import android.os.Vibrator; | |
import android.util.Log; |
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
// the api for accessing the site | |
var api = (function ($) { | |
var self = {}; | |
// the prefix for api requests | |
self.prefix = '/myapi/v1/'; | |
// enable/disable debugging output to the console | |
self.debug = false; | |
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
This project has been moved to: | |
https://github.com/jbroadway/au |
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 ubuntu:13.04 | |
MAINTAINER Johnny Broadway "johnny@johnnybroadway.com" | |
RUN apt-get update | |
RUN apt-get install -y wget git vim postfix nginx sqlite | |
RUN apt-get install -y mysql-server mysql-client | |
RUN apt-get install -y php5-cli php5-common php5-mysql php5-sqlite php5-curl php5-fpm | |
RUN wget -O /etc/nginx/sites-available/default https://gist.github.com/jbroadway/6369183/raw/682a1ed8078cc39f59c3624f460b128addff95db/nginx-default |
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
<IfModule mod_rewrite.c> | |
Options -MultiViews | |
RewriteEngine On | |
#RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-f [OR] | |
RewriteCond %{REQUEST_FILENAME} \.(js|css)$ | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . subfolder.php [L] | |
</IfModule> |
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 System.Collections; | |
using DaikonForge.VoIP; | |
using System; | |
public class MyLocalVoiceController : VoiceControllerBase | |
{ | |
public PhotonView photonView; |
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
package oculus; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.view.KeyEvent; | |
import android.view.MotionEvent; | |
import android.view.Window; | |
import android.webkit.WebSettings; | |
import android.webkit.WebView; | |
import android.webkit.WebViewClient; |
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
var app = (function ($) { | |
var self = {}; | |
// change pages via app.go('/new/page') or app.go(-1) | |
self.go = function (url) { | |
if (url === parseInt (url)) { | |
History.go (url); | |
} else { | |
History.pushState (null, null, url); | |
} |
OlderNewer