Skip to content

Instantly share code, notes, and snippets.

Federico Meini fedme

Block or report user

Report or block fedme

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@fedme
fedme / install-virtualenv-ubuntu-zsh-wsl.md
Last active Sep 28, 2019
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
@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 / Run Visual Studio Code for Linux from WSL.md
Last active Oct 3, 2019
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 / Ionic Android Development on WSL.md
Last active Sep 24, 2019
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
You can’t perform that action at this time.