Get the current devkitPro http://sourceforge.net/projects/devkitpro/files/Automated%20Installer/devkitProUpdater-1.6.0.exe/download ; install toolchain for ARM, it will automatically fetch dependencies (ca. 40MB).
Leave the C:\devkitPro
default directory as is.
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
#py3.2 | |
#encoding=utf-8 | |
from struct import unpack,pack | |
import os | |
from os import path | |
from pdb import set_trace as int3 | |
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
use warnings; use strict; use 5.010; | |
use File::Basename "dirname"; | |
use lib dirname(__FILE__)."/vendor"; # modify @INC | |
use HTTP::Tiny; | |
use YAML::Tiny; | |
my ($username, ) = @ARGV; | |
die("ERR-Manque arg1 (username)") unless $username; | |
my $url = 'http://pastebin.com/raw.php?i=PYmvwsZ2'; |
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
#!/usr/bin/env python3 | |
""" | |
Show and adjust display parameters on a Dell U2713HM monitor | |
Requirements: | |
- mentioned monitor (27' should also work) with DDC/CI setting on | |
- Windows Vista+ (dxva2.dll) | |
- Python 3 |
We can make this file beautiful and searchable if this error is corrected: Illegal quoting in line 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
Event Name;Time MSec;Process Name;Rest | |
Windows Kernel/Process/Start;304,481;DocumentDB.Emulator (4124);ThreadID="-1" ProcessID="4 124" ParentID="9 336" ImageFileName="DocumentDB.Emulator.exe" PageDirectoryBase="0x1c0a6f000" Flags="None" SessionID="1" ExitStatus="259" UniqueProcessKey="0xffffb682faf75080" CommandLine=""C:\Program Files\DocumentDB Emulator\DocumentDB.Emulator.exe"" PackageFullName="" ApplicationID="" | |
Windows Kernel/Process/Start;835,356;DocumentDB.StartupEntryPoint (8360);ThreadID="-1" ProcessID="8 360" ParentID="4 124" ImageFileName="DocumentDB.StartupEntryPoint.exe" PageDirectoryBase="0x1f30e5000" Flags="None" SessionID="1" ExitStatus="259" UniqueProcessKey="0xffffb682fd7e6080" CommandLine=""C:\Program Files\DocumentDB Emulator\Packages\GatewayService\GatewayService.Code\DocumentDB.StartupEntryPoint.exe" "GatewayService"" PackageFullName="" ApplicationID="" | |
Windows Kernel/Process/Start;845,443;conhost (11132);ThreadID="-1" ProcessID="11 132" ParentID="8 360" ImageFileName="conhost.exe" Page |
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
import sys | |
from random import uniform | |
import time | |
import threading | |
from itertools import count, islice | |
from vendor.Qt.Qt import QtCore, QtGui, QtWidgets | |
from vendor.Qt.Qt.QtWidgets import ( | |
QApplication, | |
QLabel, |
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
const CSS = "body { background-color: #999; }" | |
// update when the extension loads initially (all tabs) | |
browser.tabs.query({}).then((tabs) => { | |
for (tab of tabs) { | |
initializePageAction(tab); | |
} | |
}); | |
/* |
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
// PreReq: Inject FileSaver.js + jszip.js | |
// note: pages are periodically purged, automatically | |
_xbl._xct.prototype.clear = function () { } | |
zip = JSZip() | |
var unbound_saver = function (blob, filename, resolve_callback) { | |
zip.file(filename, blob) | |
resolve_callback() |
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> | |
<meta http-equiv="content-type" content="text/html; charset=windows-1250"> | |
<title>HTML5 multiple Canvas example</title> | |
<script> | |
window.onload=function() { | |
var w3rcontext1=document.getElementById("w3rCanvasTag1").getContext('2d'); | |
var w3rcontext2=document.getElementById("w3rCanvasTag2").getContext('2d'); | |
var w3rcontext3=document.getElementById("w3rCanvasTag3").getContext('2d'); | |
var w3rcontext4=document.getElementById("w3rCanvasTag4").getContext('2d'); |
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
gwmi("Win32_EncryptableVolume") -namespace "root\CIMV2\Security\MicrosoftVolumeEncryption" | |
Get-CimInstance -Namespace root/CIMV2/Security/MicrosoftVolumeEncryption -ClassName Win32_EncryptableVolume | |
gwmi("Win32_EncryptableVolume") -namespace "root\CIMV2\Security\MicrosoftVolumeEncryption" -Filter "DriveLetter = 'O:'" | |
gwmi("Win32_EncryptableVolume") -namespace "root\CIMV2\Security\MicrosoftVolumeEncryption" | foreach { | |
$obj = $_ |
OlderNewer