Skip to content

Instantly share code, notes, and snippets.

Assuming you have followed all the steps to install / setup WSL2 -> https://docs.microsoft.com/en-us/windows/wsl/install-win10
**Tested on Ubuntu 20.04**
Step 1 - Find out default gateway and DNS servers
- Navigate to `Control Panel\Network and Internet\Network Connections`
- Right click on relevant connection type WiFi or Ethernet and select `Status`
- Status screen will be displayed, click on `Details` button
- Network Connection details screen will be displayed
- Note down `IPv4 default gateway` and `IPv4 DNS Servers` if available
@ugurk
ugurk / template.css
Created September 29, 2018 14:11
css-pres-include
body {
font-size: 3em;
font-family: Arial;
}
@ugurk
ugurk / repositories
Created November 16, 2017 12:30
Scala sbt repositories file
[repositories]
local
jcenter: https://jcenter.bintray.com/
maven-central
typesafe-ivy-releases: https://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly
sbt-ivy-snapshots: https://repo.scala-sbt.org/scalasbt/ivy-snapshots/, [organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly
@ugurk
ugurk / backup.sh
Created March 13, 2017 08:58
Backup and restore packages in Debian & Ubuntu
sudo dpkg --get-selections > /tmp/dpkglist.txt
@ugurk
ugurk / cf.md
Last active February 27, 2017 13:42
Cloud Foundry - List