Manually browserified cheerio.js. Edit 3 files, one in cheerio itself and two dependencies - lib/cheerio.js, - node_modules/domutils/index.js - node_modules/entities/index.js to replace dynamic "require" lines with static equivalents. Holds up to simple hand testing. cheerio is exposed in the browser as a global (window.cheerio).
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
<# | |
.SYNOPSIS | |
Safely Imports Hyper-V Virtual Machines that were exported | |
as configuration only, without State Data (snapshots, VHDs, etc). | |
.DESCRIPTION | |
Hyper-V 2008 R2 removed the option to export a Virtual Machine without | |
its State Data (Snapshots, Virtual Disk Images (VHDs), Suspend State), | |
as configuration only through the GUI. | |
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
/*! | |
* quantize.js Copyright 2008 Nick Rabinowitz. | |
* Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php | |
*/ | |
// fill out a couple protovis dependencies | |
/*! | |
* Block below copied from Protovis: http://mbostock.github.com/protovis/ | |
* Copyright 2010 Stanford Visualization Group | |
* Licensed under the BSD License: http://www.opensource.org/licenses/bsd-license.php |
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
using System; | |
using System.ComponentModel; | |
using System.Diagnostics; | |
using System.Threading; | |
using Microsoft.Win32.SafeHandles; | |
namespace ConsoleApplication | |
{ | |
public class ProcessUtil : IDisposable | |
{ |
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
<textarea id="textarea"> | |
</textarea> | |
<br /><br /> | |
<div id="le_div"> | |
<table> | |
<tr id="row_1"> | |
<th></th> | |
<th></th> | |
<th></th> |
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 textarea = document.getElementById("textarea"); | |
var row_1 = document.getElementById("row_1").getElementsByTagName("th"); | |
var row_2 = document.getElementById("row_2").getElementsByTagName("td"); | |
var row_3 = document.getElementById("row_3").getElementsByTagName("td"); | |
var row_4 = document.getElementById("row_4").getElementsByTagName("td"); | |
var row_5 = document.getElementById("row_5").getElementsByTagName("td"); | |
var row_6 = document.getElementById("row_6").getElementsByTagName("td"); | |
var keys_1 = ["`", "-", "=", "[", "]", ";", "'", ",", ".", "/", "\\"]; // 11 keys |
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
#Create OS BaseImage VHD | |
function New-OSBaseImage | |
{ | |
[Cmdletbinding()] | |
param( | |
$VhdPath, | |
$OSImageName, | |
$MediaPath, | |
$VhdConfig, | |
$DismConfig, |
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
#Requires –Version 3 | |
#Get WindowsUpdate List for offline patch | |
function Get-WindowsUpdateFileList | |
{ | |
param( | |
[Parameter(Mandatory=$True)] | |
[string] $Filter | |
) | |
$objSession = New-Object -ComObject "Microsoft.Update.Session" |
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
// ==UserScript== | |
// @name ARTE+7 Video Downloader vAlpha | |
// @namespace http://userscripts.org/users/80029 ; http://code.google.com/p/arte-tv-greasemonkey/ | |
// @description ARTE+7 Video Downloader : Currently this UserScript is able to find the RTMP video links of Arte+7 to be downloaded with | |
// @include http*://videos.arte.tv/* | |
// @include http*://videos.arte.tv/de/videos/* | |
// @include http*://videos.arte.tv/en/videos/* | |
// @include http*://videos.arte.tv/fr/videos/* | |
// ==/UserScript== |
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
# To use these, copy one section beginning with 'Windows Registry' and down to the next Comment | |
# in a .reg file and execute it on windows. Capslock to ctrl worked for me on Windows 7, | |
# and these should work on most versions of windows. | |
# Turn capslock into ctrl | |
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] | |
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00 |
OlderNewer