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 'reflect-metadata'; | |
interface Iprops { | |
name: string; | |
size: number; | |
type: any; | |
} | |
let classes: { [key: string]: Iprops[] } = {}; | |
let totalsize = {}; |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
$RegKeyPath = "HKU:\Control Panel\International" | |
Import-Module International | |
Set-WinSystemLocale ja-JP | |
Set-Culture ja-JP | |
# Get-WinUserLanguageList | |
Set-WinUserLanguageList ja-JP -Force |
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
$strDump = netsh wlan show interfaces | |
$objInterface = "" | Select-Object SSID,BSSID,Signal | |
foreach ($strLine in $strDump) { | |
if ($strLine -match "^\s+SSID") { | |
$objInterface.SSID = $strLine -Replace "^\s+SSID\s+:\s+","" | |
} elseif ($strLine -match "^\s+BSSID") { | |
$objInterface.BSSID = $strLine -Replace "^\s+BSSID\s+:\s+","" | |
} elseif ($strLine -match "^\s+Signal") { | |
$objInterface.Signal = $strLine -Replace "^\s+Signal\s+:\s+","" |
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 nosmoothscroll | |
set numerichints | |
set typelinkhints | |
set noautofocus | |
set autoupdategist | |
set nativelinkorder | |
let barposition = "bottom" | |
map l gt |
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
port module Main exposing (..) | |
import Html.App as Html | |
import Html exposing (..) | |
import Html.Events exposing (..) | |
import Html.Attributes exposing (..) | |
import Json.Decode as Json | |
import Debug exposing (..) | |
main : Program Never |
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
/** allow to use Elm from nodejs... | |
*/ | |
const vm = require('vm') | |
const fs = require('fs') | |
function log( o ) { | |
console.log( o ) | |
} | |
/** loads Elm compiled javascript |
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 following converter: | |
// http://chriszarate.github.io/bookmarkleter/ | |
var d = document; | |
var re = new RegExp(/(\+\d{1,2})?([ ()-]{0,2}\d{3,4}){2,3}\b/); | |
var createLink = function(txt) { | |
var a = d.createElement('a'); | |
a.setAttribute('class', '_ph_'); | |
a.href='#'; | |
a.setAttribute('data-clipboard-text', txt); |
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
using System; | |
using System.Windows.Threading; | |
using System.Diagnostics; | |
using System.ComponentModel; | |
using System.Collections.Generic; | |
using System.Runtime.CompilerServices; | |
using System.Windows; | |
namespace ViewModels | |
{ |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters] | |
"PollingIterations"=dword:00002ee0 | |
"PollingIterationsMaximum"=dword:00002ee0 | |
"ResendIterations"=dword:00000003 | |
"LayerDriver JPN"="kbd101.dll" | |
"LayerDriver KOR"="" | |
"OverrideKeyboardIdentifier"="PCAT_101KEY" | |
"OverrideKeyboardType"=dword:00000007 |
NewerOlder