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
<VirtualHost gitpatron.com:443> | |
ServerAdmin admin@gitpatron.com | |
ServerName gitpatron.com | |
SSLEngine on | |
SSLCertificateKeyFile /etc/ssl/certs/gitpatron.key | |
SSLCertificateFile /etc/ssl/certs/gitpatron_com.crt | |
SSLCertificateChainFile /etc/ssl/certs/gitpatron_com.ca-bundle | |
</VirtualHost> |
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
{ | |
"scene":{ | |
"renderer":{ | |
"id":"main-renderer", | |
"type":"WebGLRenderer", | |
"alpha":true | |
}, | |
"cameras":[ | |
{ | |
"id":"camera1", |
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
// RequestAnimationFrame shim - Source: http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
window.requestAnimFrame = ( function( callback ) { | |
return window.requestAnimationFrame || | |
window.webkitRequestAnimationFrame || | |
window.mozRequestAnimationFrame || | |
window.oRequestAnimationFrame || | |
window.msRequestAnimationFrame || | |
function ( callback ) { | |
window.setTimeout( callback, 1000 / 60 ); | |
}; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>P5</title> | |
<script src="{{ STATIC_URL }}js/jquery-1.11.1.min.js"></script> | |
<script src="{{ STATIC_URL }}js/jquery-ui-core.min.js"></script> | |
<script src="{{ STATIC_URL }}js/three.js"></script> | |
<script src="{{ STATIC_URL }}js/gldev.jquery.js"></script> | |
<script> | |
$( document ).ready(function() { |
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
curl -H "Content-Type: application/json" -d '{"username":"xyz","password":"xyz"}' http://localhost:3000/api/login |
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
[ec2-user@ip-10-45-187-20 ~]$ pg_config | |
BINDIR = /usr/bin | |
DOCDIR = /usr/share/doc/pgsql | |
HTMLDIR = /usr/share/doc/pgsql | |
INCLUDEDIR = /usr/include | |
PKGINCLUDEDIR = /usr/include/pgsql | |
INCLUDEDIR-SERVER = /usr/include/pgsql/server | |
LIBDIR = /usr/lib64 | |
PKGLIBDIR = /usr/lib64/pgsql | |
LOCALEDIR = /usr/share/locale |
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
import os | |
import logging | |
import httplib2 | |
from apiclient.discovery import build | |
from django.contrib.auth.decorators import login_required | |
from django.core.urlresolvers import reverse | |
from django.http import HttpResponse | |
from django.http import HttpResponseBadRequest | |
from django.http import HttpResponseRedirect |
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
[ec2-user@ip-10-65-176-236 datomic-free-0.9.5067]$ bin/groovysh | |
Nov 22, 2014 1:45:44 AM java.util.prefs.FileSystemPreferences$2 run | |
INFO: Created user preferences directory. | |
Groovy Shell (1.8.9, JVM: 1.6.0_33) | |
Type 'help' or '\h' for help. | |
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
groovy:000> import datomic.Peer | |
import datomic.Peer | |
===> [import datomic.Peer] | |
groovy:000> uri = "datomic:mem://hello" |
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 db | |
import scala.language.reflectiveCalls | |
import datomisca._ | |
import scala.concurrent._ | |
import scala.concurrent.duration.Duration | |
import java.util.{Date => JDate} | |
import datomisca.executioncontext.ExecutionContextHelper._ | |
class DatomicClient { |
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
git rm --cached *.xml | |
git rm --cached vcs.xml | |
git rm --cached modules.xml | |
git rm --cached misc.xml | |
git rm --cached encodings.xml.xml | |
git rm --cached encodings.xml | |
git rm --cached deployment.xml | |
git rm --cached dataSources.xml | |
git rm --cached dataSources.ids | |
git rm --cached callpug.iml |