Skip to content

Instantly share code, notes, and snippets.

View evb-gh's full-sized avatar
🍄
Smiling

Eugeniu Botnaru evb-gh

🍄
Smiling
View GitHub Profile
@evb-gh
evb-gh / 100DaysOfCode-log-snippet
Created February 8, 2017 08:05
Snippet to log your #100DaysOfCode progress
'.source.gfm':
'Code Log':
'prefix': 'codelog'
'body': """
### Day ${1:"number"} ${2:"Month"} ${3:"Day"}, 2017
**Today's Progress:** $4
**Thoughts:** $5
@evb-gh
evb-gh / 100DaysOfCode-log-snippet
Last active February 8, 2017 08:19
Atom editor snippet to log your #100DaysOfCode progress
# There is a text file in your ~/.atom directory called snippets.cson that contains all your custom snippets that are loaded when you launch Atom.
# You can also easily open up that file by selecting the Atom > Snippets menu.
# Copy-paste the text below in your snippets.cson file.
# Feel free to edit or create your own snippet. More info here:http://flight-manual.atom.io/using-atom/sections/snippets/
'.source.gfm':
'Code Log':
'prefix': 'codelog'
'body': """
### Day ${1:"number"} ${2:"Month"} ${3:"Day"}, 2017
Verifying my Blockstack ID is secured with the address 1FBUhX7js4LM3fvXoezpyoiEbgywzmbTxY https://explorer.blockstack.org/address/1FBUhX7js4LM3fvXoezpyoiEbgywzmbTxY
@evb-gh
evb-gh / media_queries.css
Created May 9, 2018 21:35 — forked from staydecent/media_queries.css
Example of various media queries for responsive web design.
/* Media queries used on blog.staydecent.ca by Adrian Unger
check my full source at:
http://blog.staydecent.ca/static/css/style-0.1.6.css */
@media only screen and (min-width:768px) and (max-width:1269px) {
/* In my particular design, I used a fluid grid limited to a
max-width of 1140px, while (if there is enough room)
pushing the menu outside of layout, requiring a total
limit of at least 1270px.
So, this first query applies to any screen-width less
@evb-gh
evb-gh / media_queries.css
Created May 9, 2018 21:35 — forked from staydecent/media_queries.css
Example of various media queries for responsive web design.
/* Media queries used on blog.staydecent.ca by Adrian Unger
check my full source at:
http://blog.staydecent.ca/static/css/style-0.1.6.css */
@media only screen and (min-width:768px) and (max-width:1269px) {
/* In my particular design, I used a fluid grid limited to a
max-width of 1140px, while (if there is enough room)
pushing the menu outside of layout, requiring a total
limit of at least 1270px.
So, this first query applies to any screen-width less
@evb-gh
evb-gh / Docker shell commands.sh
Created July 19, 2018 19:59 — forked from bahmutov/Docker shell commands.sh
A personal cheat sheet for running local Node project in a Docker container
# See list of docker virtual machines on the local box
$ docker-machine ls
NAME ACTIVE URL STATE URL SWARM DOCKER ERRORS
default * virtualbox Running tcp://192.168.99.100:2376 v1.9.1
# Note the host URL 192.168.99.100 - it will be used later!
# Build an image from current folder under given image name
$ docker build -t gleb/demo-app .
@evb-gh
evb-gh / cloudSettings
Created September 29, 2018 20:54
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-09-29T20:54:20.723Z","extensionVersion":"v3.1.2"}
@evb-gh
evb-gh / enable-paste.js
Created November 13, 2018 17:20
Don’t F*ck with Paste
var allowPaste = function(e){
e.stopImmediatePropagation();
return true;
};
document.addEventListener('paste', allowPaste, true);
@evb-gh
evb-gh / .gvimrc
Created December 10, 2018 00:53 — forked from ryanflorence/.gvimrc
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Font
:set guifont=Source\ Code\ Pro:h14
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Hide pointless junk at the bottom, doesn't work in .vimrc for some reason?
:set laststatus=0
:set noshowmode "don't show --INSERT--
:set noruler "don't show line numbers/column/% junk
@evb-gh
evb-gh / mail.sh
Created January 10, 2019 18:57
send mail from command line
$ (echo "something\n" ; uuencode file file) | mailx -s "subject" recipient@somewhere.com