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
@echo off |
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
\documentclass[11pt]{article} | |
\usepackage{ifthen} | |
\usepackage{xcolor} | |
\usepackage{multicol} | |
\usepackage[left=1cm,top=0.7cm,right=1cm,bottom=1cm,nohead,nofoot]{geometry} | |
\usepackage{enumitem} | |
\usepackage[hidelinks]{hyperref} | |
\setitemize{itemsep=-0.3em} |
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 http = require("http"), | |
vs = require("vid-streamer"); | |
http.createServer(vs.settings({ | |
rootFolder: "/path/to/videos/folder/", | |
rootPath: "" | |
})).listen(3000); |
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 http://dijjit.com/nodejs_centos.sh | sh |
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
WebFontConfig = { | |
/* Add your desired font family here, its a simple Javascript array */ | |
google: { families: [ 'Ubuntu' ] } | |
}; | |
(function() { | |
var wf = document.createElement('script'); | |
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; | |
wf.type = 'text/javascript'; | |
wf.async = 'true'; | |
var s = document.getElementsByTagName('script')[0]; |
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 | |
/** | |
* NJIT Course Schedule Scraper (11/21/2012) | |
* | |
* Using http://courseschedules.njit.edu/, this PHP scraper utilizes CURL to build a large | |
* associative array for all courses. The user may specify options through onlySubject and | |
* onlyCourse methods to scrape the respective subjects and/or courses. The resulting array only | |
* has the section data. Course data is not stored, but may easily be captured with small changes | |
* to the scraper. | |
* |
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 | |
/** | |
* decodeCDKey (11/21/2012) | |
* | |
* Taking the registry entry from Halo, this function can decode the entry back into the original | |
* CD Key. One must procure this entry through an alternative program, such as regedit or a batch | |
* script. Navigate to registry folder "HKLM\SOFTWARE\Microsoft\Microsoft Games\Halo" | |
* Open the key "DigitalProductID" and copy the 72nd byte to 96th byte. Make sure there are zeroes | |
* surrounding this section of bytes. Reverse the bytes and send to decodeCDKey($in). | |
* |
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 | |
/** | |
* NJIT Login Script (11/20/2012) | |
* | |
* This simulates a real NJIT login transaction using CURL requests. You can port this to any | |
* SunGard Luminis Platform, such as Middlesex County College and others. The basic transaction | |
* requires a user, password and uuid fields to be sent via POST request. The validation mechanism | |
* simply checks for the string "loginok.html" within the result HTML. Beware, other login systems | |
* will require a different type of validation. | |
* |
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 Sashank Tadepalli <[email protected]> | |
* @license Creative Commons Attribution 3.0 Unported License. | |
* @version 1.0 | |
* @link http://dijjit.com/js/arbitrary-json-to-php-querystring/ | |
*/ | |
function toQueryString(obj,inner){ | |
var build = ""; | |
for( t in obj ){ | |
if( !obj.hasOwnProperty(t) ) continue; |