pip3 install pipenv
pipenv shell
var keypress = require('keypress'); | |
// make `process.stdin` begin emitting "keypress" events | |
keypress(process.stdin); | |
// listen for the "keypress" event | |
process.stdin.on('keypress', function (ch, key) { | |
// console.log('got "keypress"', key); | |
if(key && key.name == 'right'){ |
/* @import url(https://fonts.googleapis.com/css?family=Raleway); */ | |
@import url(https://fonts.googleapis.com/css?family=Ubuntu); | |
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono); | |
/* Use Ubuntu font instead of the default Railway font */ | |
body { | |
font-family: Ubuntu; | |
margin: 2rem; | |
font-size: 2rem; | |
} |
/* @import url(https://fonts.googleapis.com/css?family=Raleway); */ | |
@import url(https://fonts.googleapis.com/css?family=Ubuntu); | |
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono); | |
/* Use Ubuntu font instead of the default Railway font */ | |
body { | |
font-family: Ubuntu; | |
margin: 2rem; | |
font-size: 2rem; | |
} |
| HEADER | EMPHASIS | HORIZONTAL_LINE | LIST | TABLE
PdfLatex is a tool that converts Latex sources into PDF. This is specifically very important for researchers, as they use it to publish their findings. It could be installed very easily using Linux terminal, though this seems an annoying task on Windows. Installation commands are given below.
sudo apt-get install texlive-latex-base -y
# source: http://st-on-it.blogspot.com/2010/01/how-to-move-folders-between-git.html | |
# First of all you need to have a clean clone of the source repository so we didn't screw the things up. | |
git clone git://server.com/my-repo1.git | |
# After that you need to do some preparations on the source repository, nuking all the entries except the folder you need to move. Use the following command | |
git filter-branch --subdirectory-filter your_dir -- -- all | |
# This will nuke all the other entries and their history, creating a clean git repository that contains only data and history from the directory you need. If you need to move several folders, you have to collect them in a single directory using the git mv command. |
A collection of Markdown code and tricks that were tested to work in Gist.
This and all public gists in https://gist.github.com/ww9 are Public Domain. Do whatever you want with it including , no need to credit me.
/** | |
* Based on the differences between UA sheets. | |
* Selectors are chunked in ordered groups for better compression (e.g. gzip). | |
*/ | |
body, | |
p, | |
h1, | |
h2, | |
h3, |