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
<!doctype html> | |
<html> | |
<head> | |
<title>Quiz</title> | |
<style> | |
div{ | |
width:100%; | |
text-align:center; | |
} | |
</style> |
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
SET PATH=%PATH%;C:\Program Files\7-Zip | |
SET SILVERLIGHT_STORAGE=C:\Documents and Settings\Anbarasan\Local Settings\Application Data\Microsoft\Silverlight\is\5xgohmxj.bs4\fqkwck4v.z2m\1\s\ | |
SET TRIAL=r02acfm3cu224ca0skencbzvxwuneikcsbtfedohx0ymfkgae3aaabga\f\ | |
SET APPLICATION_ID=81f43b82c0af11df97a28d34bf5da969 | |
REM 7z x "%SILVERLIGHT_STORAGE%%TRIAL%%APPLICATION_ID%\app.zip" -o"D:\EasyEclipse\workspace\TestRuntime" -y > deploy.log | |
echo %DATE% %TIME% >deploy.log | |
7z x "%SILVERLIGHT_STORAGE%%TRIAL%%APPLICATION_ID%\app.zip" -o"D:\OrangeScape\bogzilla" -y >> deploy.log |
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
##################################################################### | |
# Script to compress and back up deployment server log file. | |
##################################################################### | |
# CONFIG | |
# Define the nohup file location and the location to backup the file | |
logFileName="nohup.out" | |
nohupDirectory="/home/ubuntu/DeployServer/Tornado/deploy" | |
backupDirectory="/home/ubuntu/DeployServer/Tornado/deploy/logBackup" |
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
/* | |
jsonformatter.js | |
usage | |
construct html table out of given JSON | |
var html = json2html(json); | |
format json and use output in editable text containers | |
var formattedJSONText = formatJSON(json,'text'); | |
format json and use output in divs | |
var formattedJSONText = formatJSON(json,'html'); | |
*/ |
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
# GenerateImportJson.py | |
# generates the JSON to be used to create model using the Import Json Functionality | |
# Anbarasan <[email protected]> | |
# usage GenerateImportJson.py <ModelName> <path to Model params csv file> | |
import json, sys | |
modelName = sys.argv[1] | |
paramsFile = sys.argv[2] |
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
# GenerateJson.py | |
# generates the JSON to be used to create model using the Import Json Functionality | |
# requires xlrd library, which can be obtained from https://pypi.python.org/pypi/xlrd/0.9.2 | |
# xlrd documentation => http://www.lexicon.net/sjmachin/xlrd.html | |
# Anbarasan <[email protected]> | |
# usage GenerateJson.py <path to Model params Excel file> | |
# In Excel : | |
# SheetName should be Model Name | |
# first column should be fieldname | |
# second column should be field type |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
.angular-modal-backdrop { | |
position:fixed; top:0; left:0; width:100%; height:100%; | |
background-color:rgba(0,0,0,0.8); z-index:10; } | |
.angular-modal-dialog { | |
position: fixed; width: auto; top: 50%; left: 50%; | |
background-color: #fff; box-shadow: 4px 4px 80px #000; |
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 compare(property, reverse) { | |
return function cmp(obj1, obj2) { | |
if (property) { | |
obj1 = obj1[property]; | |
obj2 = obj2[property]; | |
} | |
if (typeof obj1 === 'string' || obj1 instanceof String) { | |
var result = obj1.localeCompare(obj2); | |
return reverse ? 0 - result : result; |
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
<html> | |
<!-- https://robots.thoughtbot.com/pong-clone-in-javascript --> | |
<head> | |
<script src="pong.js"></script> | |
</head> | |
<body style="width:99%; text-align:center;"></body> | |
</html> |
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
<!doctype html> | |
<html> | |
<head> | |
<title>Space Rangers</title> | |
<script src="space_ranger.js"></script> | |
<style> | |
canvas { display:block; margin:0px auto; } | |
</style> | |
</head> | |
<body style="width:99%;"> |
OlderNewer