This installation guide walks through the process of installing Plunker and all its components, assuming they are all running on the same server. Tested on Ubuntu 12 LTS.
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
-- SQL CLEAN UP -- | |
/* Find jobs still owned by ppl */ | |
SELECT name,* | |
FROM msdb..sysjobs | |
WHERE owner_sid = SUSER_SID('{USERNAME}') | |
exec msdb..sp_update_job |
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
public bool SubmitOrder(Order objOrder, ref int iID, ref OrderResponse objOrderResponse, ref string sRtnMsg) { | |
try { | |
var contJson = JsonConvert.SerializeObject(objOrder); | |
var jsFormatted = JToken.Parse(contJson).ToString(Formatting.Indented); | |
Log.Trace("Submitting Order: With {0}", jsFormatted); | |
var flagError = 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
//https://steamcommunity.com/id/{users}/stats/{game}/?tab=achievements | |
var listtoRemove = []; | |
var input = "Halo 3:"; | |
for (i = 0; i < document.getElementsByClassName("achieveRow").length; i++) { | |
var current = document.getElementsByClassName("achieveRow")[i]; | |
if(current.attributes[0].value == '{"autoFocus":true,"focusable":true,"clickOnActivate":true}') | |
listtoRemove.push(current); | |
else if(current.children[1].children[0].children[1].outerText.search("Halo 3:") < 0) | |
listtoRemove.push(current); |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>parseTable</title> | |
</head> | |
<body> | |
<table> | |
<thead> | |
<tr> |
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
// Live video stream management for HTML5 video. Uses FFMPEG to connect to H.264 camera stream, | |
// Camera stream is remuxed to a MP4 stream for HTML5 video compatibility and segments are recorded for later playback | |
var liveStream = function (req, resp) { // handle each client request by instantiating a new FFMPEG instance | |
// For live streaming, create a fragmented MP4 file with empty moov (no seeking possible). | |
var reqUrl = url.parse(req.url, true) | |
var cameraName = typeof reqUrl.pathname === "string" ? reqUrl.pathname.substring(1) : undefined; | |
if (cameraName) { | |
try { | |
cameraName = decodeURIComponent(cameraName); |
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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
<div class="ngHeaderSortColumn {{col.headerClass}}" ng-style="{'cursor': col.cursor}" ng-class="{ 'ngSorted': !noSortVisible }"> | |
<div ng-click="col.sort($event); sortOrder = !sortOrder;" ng-class="'colt' + col.index" class="ngHeaderText"> | |
<div ng-show="(!col.showSortButtonDown() && !col.showSortButtonUp())" class="fa fa-fw fa-sort"></div> | |
<div class="fa fa-fw fa-sort-desc" ng-show="col.showSortButtonDown()"></div> | |
<div class="fa fa-fw fa-sort-asc" ng-show="col.showSortButtonUp()"></div> | |
{{col.displayName}} | |
</div> | |
</div> | |
<div ng-show="col.resizable" class="ngHeaderGrip" ng-click="col.gripClick($event)" ng-mousedown="col.gripOnMouseDown($event)"></div> |
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
$('.dropdown-menu').on('click', function(e) { | |
if($(this).hasClass('dropdown-menu-form')) { | |
e.stopPropagation(); | |
} | |
}); |
NewerOlder