Skip to content

Instantly share code, notes, and snippets.

# @manojampalam - authored initial script
# @friism - Fixed issue with invalid SDDL on Set-Acl
# @manojampalam - removed ntrights.exe dependency
# @bingbing8 - removed secedit.exe dependency
$scriptpath = $MyInvocation.MyCommand.Path
$scriptdir = Split-Path $scriptpath
$sshdpath = Join-Path $scriptdir "sshd.exe"
$sshagentpath = Join-Path $scriptdir "ssh-agent.exe"
@fompi
fompi / osx_brewinst_nvm.sh
Created November 6, 2020 23:41
[OSX] Install latest Node.js using nvm (brew)
#!/bin/bash
# Helper function
define(){ o=; while IFS="\n" read -r a; do o="$o$a"'
'; done; eval "$1=\$o"; }
echo "[+] Installing nvm..."
### SOLVE !!

Keybase proof

I hereby claim:

  • I am fompi on github.
  • I am ferran (https://keybase.io/ferran) on keybase.
  • I have a public key whose fingerprint is 2741 2BA5 6DF9 4A72 EA27 503B 0A91 7012 13E5 48BB

To claim this, I am signing this object: