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 192.168.1.10:80> | |
ServerAdmin dev@scidentify.info | |
ServerName scidentify.info | |
ServerAlias www.scidentify.info | |
ProxyRequests off | |
<Proxy *> | |
Order deny,allow | |
Allow from all |
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
[ CONTROLS ] | |
Toggle_LSTG = 97 // J by default | |
Toggle_SECL = 98 // K by default | |
Toggle_WRNL = 99 // L by default | |
Toggle_SRN = 100 // H by default | |
Toggle_InfoPanel = 101 // M by default ** | |
Toggle_Hazlights = 0 // Nothing/disabled by default ** | |
Toggle_Takedowns = 221 // ] by default | |
Toggle_Cruise = 219 // [ by default | |
Chng_Pat_PRML = 85 // U by 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
states = { | |
'AK': 'Alaska', | |
'AL': 'Alabama', | |
'AR': 'Arkansas', | |
'AS': 'American Samoa', | |
'AZ': 'Arizona', | |
'CA': 'California', | |
'CO': 'Colorado', | |
'CT': 'Connecticut', | |
'DC': 'District of Columbia', |
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
// use dev-port 3000 | |
var express = require('express'); | |
var http = require('http'); | |
var Browser = require('zombie'); | |
var assert = require('assert'); | |
var settings = require('../globalsettings'); | |
var app = require('../app'); | |
describe('Starting server and testing client urls...', 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
#!/bin/bash | |
if [ "$(id -u)" != "0" ]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi | |
cgpt add -i 6 -P 5 -S 1 /dev/sda && reboot |
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 | |
if [ "$(id -u)" != "0" ]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi | |
cgpt add -i 6 -P 0 -S 1 /dev/sda && reboot |
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 aweber_api import AWeberAPI | |
class AWeberWrapper(AWeberAPI): | |
""" interface between aweber_api and our database objects """ | |
_w_access_key = None | |
_w_access_secret = None | |
_w_consumer_key = None | |
_w_consumer_secret = None | |
_w_obj = None | |
_w_account = None |
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
__author__ = 'Marcos Lopez' | |
# http://github.com/mikelopez | |
from django.test.simple import DjangoTestSuiteRunner | |
import settings | |
class BaseAppsTestNoDb(DjangoTestSuiteRunner): | |
def setup_databases(self, **kwargs): | |
""" override the db stuff from DjangoTestSuiteRunner """ | |
pass |
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
function SceneVideoPlayerFull(options){ | |
this.options = options; | |
this.video_random_id = null; | |
// These item URL should be modified to contents URL to play. | |
this.playList = null; | |
} | |
SceneVideoPlayerFull.prototype.initialize = 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
try: | |
from django.template.loaders.filesystem import load_template_source as todel | |
del(todel) | |
TEMPLATE_LOADERS = ( | |
'django.template.loaders.filesystem.load_template_source', | |
'django.template.loaders.app_directories.load_template_source', | |
# 'django.template.loaders.eggs.load_template_source', | |
) | |
except ImportError: | |
TEMPLATE_LOADERS = ( |