Skip to content

Instantly share code, notes, and snippets.

View vladpavlovski's full-sized avatar
💾

Vlad Pavlovski vladpavlovski

💾
  • Rapid7
  • Czech Republic, Prague
View GitHub Profile
# Install go
$ sudo apt-get install golang-go
# Download goofys package
$ go get github.com/kahing/goofys
# Install goofys
$ go install github.com/kahing/goofys
# Copy the goofys binary to somewhere in your path
@vladpavlovski
vladpavlovski / install_wormhole.bat
Created October 3, 2022 21:31 — forked from princebot/install_wormhole.bat
Install Python magic-wormhole on Windows.
::
:: This script installs wormhole (https://github.com/warner/magic-wormhole) and
:: its prerequisites. Run this as an administrator.
::
:: Install chocolatey.
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
:: Install Python 3.
choco install -y python
@vladpavlovski
vladpavlovski / Set vscode as the default for text files on mac.txt
Created August 4, 2022 11:24
Set vscode as the default for text files on mac
To find the name of your editor use this.
osascript -e 'id of app "Visual Studio Code"'
To set all text files and similar files to vscode instead of xcode use this.
brew install duti
duti -s com.microsoft.VSCode public.json all
duti -s com.microsoft.VSCode public.plain-text all
duti -s com.microsoft.VSCode public.python-script all
@vladpavlovski
vladpavlovski / cloudSettings
Last active April 22, 2020 09:30 — forked from c0d0g3n/EditableContainer.jsx
React: double click to edit, blur to save and exit.
{"lastUpload":"2020-04-22T09:29:52.670Z","extensionVersion":"v3.4.3"}