System: Debian/Ubuntu/Fedora. Might work for others as well.
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:
#Monster dictionary | |
monsterNames ={"skeleton":"Jack Skellington", "zombie":"Frankenstein", "wraith":"Nazgul", "lich":"Arthas"} | |
for key in monsterNames.keys(): | |
print "I am a" + key + "and my name is" + monsterNames[key] |
using System; | |
/* For every topic that I had to research, I wrote a REF down below (at the end of the | |
* document). They are all numbered and have a link to the resource. */ | |
namespace ImageBlurCSharp | |
{ | |
class Program | |
{ |
System: Debian/Ubuntu/Fedora. Might work for others as well.
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:
System: Debian/Ubuntu/Fedora. Might work for others as well.
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:
import { useEffect, useState } from 'react'; | |
interface ItwBreakpoints { | |
[key: string]: string; | |
} | |
// This is straight from default tailwind config. | |
// Would have loved to use resolveConfig but | |
// you try to get it to work with ts. | |
const twBreakpoints: ItwBreakpoints = { |
import * as React from 'react'; | |
import Document, { Html, Head, Main, NextScript } from 'next/document'; | |
import createEmotionServer from '@emotion/server/create-instance'; | |
import createEmotionCache from '../utility/createEmotionCache'; | |
export default class MyDocument extends Document { | |
render() { | |
return ( | |
<Html lang="en"> |
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.
sudo apt install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev \
libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb \
#!/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 |