Skip to content

Instantly share code, notes, and snippets.

@fedme
fedme / Ionic Android Development on WSL.md
Last active Nov 24, 2021
Ionic Android Development on WSL (Windows Subsystem for Linux)
View Ionic Android Development on WSL.md

Ionic Android Development on WSL

Installing the required software

Execute the following commands to install Node, npm, git, Java, Ionic, Cordova and Angular CLI:

cd ~
sudo apt update
sudo apt upgrade
@fedme
fedme / Run Visual Studio Code for Linux from WSL.md
Last active Oct 23, 2021
Run Visual Studio Code for Linux from WSL on Windows 10
View Run Visual Studio Code for Linux from WSL.md

Run Visual Studio Code for Linux from WSL

Thanks a lot to mredbishop and others for their insturctions posted here. This is just a recap of what they figured out.

This process was tested on WSL Ubuntu 18.04.

Install VcXsrv on Windows

  1. Dowload the VcXsrv installer from https://sourceforge.net/projects/vcxsrv/
  2. Install the software on Windows

Add VS Code repositories

@fedme
fedme / access-ionic-storage-sqlite-db-from-console.md
Created Sep 5, 2018
How to access Ionic Storage SQLite DB from the console
View access-ionic-storage-sqlite-db-from-console.md

How to access Ionic Storage SQLite DB from the console

var db = window.sqlitePlugin.openDatabase({name: 'NAME_OF_YOUR_STORAGE', location: 'default', androidDatabaseImplementation: 2});
db.transaction(function(tx) {
    tx.executeSql("SELECT * FROM _ionickv", [], function(tx, rs) {
		  var records = [];
@fedme
fedme / install-virtualenv-ubuntu-zsh-wsl.md
Last active Aug 21, 2021
Install virtualenv on Ubuntu + ZSH (on WSL)
View install-virtualenv-ubuntu-zsh-wsl.md

Virtualenv on WSL with ZSH

Install PIP

sudo apt install python-pip
sudo apt install python3-pip

pip --version
pip3 --version