Skip to content

Instantly share code, notes, and snippets.

View OpportunityLiu's full-sized avatar
🎯
Focusing

Opportunity OpportunityLiu

🎯
Focusing
View GitHub Profile
@jcwillox
jcwillox / pnpm.ps1
Last active November 18, 2023 01:38
PowerShell Completion Script for `pnpm`
# powershell completion for pnpm -*- shell-script -*-
Register-ArgumentCompleter -CommandName 'pnpm' -ScriptBlock {
param(
$WordToComplete,
$CommandAst,
$CursorPosition
)
function __pnpm_debug {
@carmark
carmark / vboxmanage_examples.md
Created June 16, 2015 01:44
VBoxManage simple examples

As something of a follow-up post to the previous entry, here’s a quick recipe for creating a Virtual Machine using the VirtualBox command line tools:

We’re using Windows Server 2008 64bit as an example, modify to taste.

$ VM='Windows-2008-64bit'

Create a 32GB “dynamic” disk.

git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy