!! re-runs last succsessful command
sudo !!
ctrl - k
| # mount c drive inside WSL | |
| sudo mount -t drvfs C: /mnt/c |
| pipenv run pip install pip==18.0 |
| # assuming vim compiled with python 3 | |
| # use :version to check | |
| # install powerline globally | |
| sudo -H pip3 install powerline | |
| # add to .vimrc | |
| python3 from powerline.vim import setup as powerline_setup | |
| python3 powerline_setup() | |
| python3 del powerline_setup |
| #!/bin/sh -e | |
| # | |
| # rc.local | |
| # | |
| # This script is executed at the end of each multiuser runlevel. | |
| # Make sure that the script will "exit 0" on success or any other | |
| # value on error. | |
| # | |
| # In order to enable or disable this script just change the execution | |
| # bits. |
| git status | grep modified: | cut -c 12- | xargs git checkout |
| Verifying that "erols0.id" is my Blockstack ID. https://explorer.blockstack.org/name/erols0.id |
| 0xc59e15D8e482707ca9F4E24650C17cEF5cC40f2e |
| { | |
| "coord": { | |
| "lon": 145.77, | |
| "lat": -16.92 | |
| }, | |
| "weather": [ | |
| { | |
| "id": 803, | |
| "main": "Clouds", | |
| "description": "broken clouds", |
| <!-- If IE use the latest rendering engine --> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <!-- Set the page to the width of the device and set the zoon level --> | |
| <meta name="viewport" content="width = device-width, initial-scale = 1"> |