Using the following link here install the WSL 2 on your windows 10.
VcXsrv seems to the best choice for X-Server in Windows
Install Get the archive from http://ainola.sdf.org/NetExtender.Linux.8.0.784.x86_64.tgz Run ./install as root (otherwise it got stuck on Connecting ... for me)
Create netextender.sh
Create netextender.conf
#!/bin/sh | |
# defaults for NetExtender Dell VPN Client | |
# sourced by /etc/init.d/netextender | |
# should be placed in /etc/default/netextender | |
# Enable or disable the daemon | |
ENABLE_DAEMON=1 | |
# Path to daemon | |
DAEMON=/usr/sbin/netExtender |
package com.softwaremill.akka | |
import java.time._ | |
import akka.actor.ActorSystem | |
import akka.stream.ActorMaterializer | |
import akka.stream.scaladsl.Source | |
import scala.collection.mutable | |
import scala.concurrent.Await |
########################################## | |
# To run: | |
# curl -sSL https://gist.githubusercontent.com/sirkkalap/e87cd580a47b180a7d32/raw/d9c9ebae4f5cf64eed4676e8aedac265b5a51bfa/Install-Docker-on-Linux-Mint.sh | bash -x | |
########################################## | |
# Check that HTTPS transport is available to APT | |
if [ ! -e /usr/lib/apt/methods/https ]; then | |
sudo apt-get update | |
sudo apt-get install -y apt-transport-https | |
fi |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
public final class BusyApp { | |
public static void main(String []args) throws Exception { | |
final java.util.Random generator = new java.util.Random(); | |
while (true) { | |
generator.ints(1000000, 0, 100).sorted(); | |
Thread.sleep(5000L); | |
} | |
} | |
} |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#!/bin/bash | |
re_prj='^[^\\/?%*:|"<>\.]+$' | |
re_pkg='^[^\\/?%*:|"<>]+$' | |
read -p "Project name? " PROJECT_NAME | |
if ! [[ $PROJECT_NAME =~ $re_prj ]] ; then | |
echo "Invalid project name $PROJECT_NAME. Try again without special chars." | |
exit 0 | |
fi | |
read -p "Default package name? " PACKAGE_NAME |