Skip to content

Instantly share code, notes, and snippets.

View isomorpheric's full-sized avatar
🐱

Eric Crescioni isomorpheric

🐱
  • US (remote)
View GitHub Profile
@isomorpheric
isomorpheric / getdisplay.sh
Created June 30, 2022 16:14 — forked from pjobson/getdisplay.sh
gets the display for using cypress with wsl on and off a VPN
#!/bin/bash
# Check for user input
if [ -z "$1" ] || [ -z "$2" ]; then
echo "Expects: getdisplayip.sh \"VPN Interface\" \"Default Interface\""
exit 0
fi
VPNIFACE=$1
DEFIFACE=$2
@isomorpheric
isomorpheric / setup_cypress_wsl2.md
Created June 30, 2022 16:13 — forked from pjobson/setup_cypress_wsl2.md
Setting Up Cypress on Ubuntu WSL2

Setting Up Cypress on Ubuntu WSL2

No clue why the directions for this are buried deep in WLS issues. This is how I setup my Cypress on Ubuntu WSL2 working for both on and off VPN with some corp firewall.

Before executing any command, be sure to read and understand it, I ask you to run two shell scripts which I wrote. You should review any shell script provided by anyone before blindly running it. I'm not doing anyting bad, but I advise you to check for yourself.

Dependencies

sudo apt install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev \

libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb \

@isomorpheric
isomorpheric / update-golang.md
Created December 8, 2021 04:32 — forked from nikhita/update-golang.md
How to update the Go version

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by:

@isomorpheric
isomorpheric / update-golang.md
Created December 8, 2021 04:32 — forked from nikhita/update-golang.md
How to update the Go version

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by: