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
Set-Location "C:\\path\\to\\program" # Path to exe | |
$processName = "lan-mouse" # Name (do not include .exe) | |
$argumentList = "-d" # Arguments | |
$timeout = 5 # Watch timeout in seconds | |
$logFile = "$processName-log.txt" | |
function Start-ProcessAndMonitor { | |
Start-Process -FilePath $processName -ArgumentList $argumentList -NoNewWindow -RedirectStandardError $logFile | |
Start-Sleep -Seconds 5 |
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
VBoxManage setextradata VM-name "CustomVideoMode1" "1400x1050x16" | |
VBoxManage setextradata VM-name "VBoxInternal/Devices/ahci/0/Config/Port0/SerialNumber" "serial" | |
VBoxManage setextradata VM-name "VBoxInternal/Devices/ahci/0/Config/Port0/FirmwareRevision" "firmware" | |
VBoxManage setextradata VM-name "VBoxInternal/Devices/ahci/0/Config/Port0/ModelNumber" "model" | |
VBoxManage setextradata VM-name "VBoxInternal/Devices/piix3ide/0/Config/PrimaryMaster/SerialNumber" "serial" | |
VBoxManage setextradata VM-name "VBoxInternal/Devices/piix3ide/0/Config/PrimaryMaster/FirmwareRevision" "firmware" | |
VBoxManage setextradata VM-name "VBoxInternal/Devices/piix3ide/0/Config/PrimaryMaster/ModelNumber" "model" | |
VBoxManage setextradata VM-name "VBoxInternal/Devices/ahci/0/Config/Port0/NonRotational" "1" | |
VBoxManage setextradata VM-name "VBoxInternal/Devices/ahci/0/Config/Port0/ATAPIVendorId" "vendor" | |
VBoxManage setextradata VM-name "VBoxInternal/Devices/ahci/0/Config/Port0/ATAPIProductId" "product" |
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
// keybindings.json | |
[ | |
{ | |
"key": "capslock", | |
"command": "workbench.view.explorer", | |
"when": "!explorerViewletFocus" | |
}, | |
{ | |
"key": "capslock", | |
"command": "workbench.action.closeSidebar", |
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
import resolve from '@rollup/plugin-node-resolve' | |
import commonjs from '@rollup/plugin-commonjs' | |
import svelte from 'rollup-plugin-svelte' | |
import livereload from 'rollup-plugin-livereload' | |
import { terser } from 'rollup-plugin-terser' | |
import del from 'rollup-plugin-delete' | |
import sveltePreprocess from 'svelte-preprocess' | |
import uglify from 'rollup-plugin-uglify-es' | |
import visualizer from 'rollup-plugin-visualizer' | |
import replace from '@rollup/plugin-replace' |
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
import resolve from '@rollup/plugin-node-resolve' | |
import commonjs from '@rollup/plugin-commonjs' | |
import svelte from 'rollup-plugin-svelte' | |
import livereload from 'rollup-plugin-livereload' | |
import { terser } from 'rollup-plugin-terser' | |
import del from 'rollup-plugin-delete' | |
import sveltePreprocess from 'svelte-preprocess' | |
import uglify from 'rollup-plugin-uglify-es' | |
import visualizer from 'rollup-plugin-visualizer' | |
import replace from '@rollup/plugin-replace' |
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
# LfLinkshow | |
require 'fileutils' | |
require 'ftools' | |
require 'php_serialize' | |
require 'net/http' | |
require 'digest/sha1' | |
RAILS_ROOT = Rails.root | |
module LFLinkShow | |
class LFClient |