Skip to content

Instantly share code, notes, and snippets.

View suren-atoyan's full-sized avatar
💭
Human

Suren Atoyan suren-atoyan

💭
Human
View GitHub Profile
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" 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
@suren-atoyan
suren-atoyan / player.extension.js
Last active September 26, 2018 06:58
Snippet for Chrome - When you are using Google Chrome for playing video or audio, but Right and Left arrow buttons don't work properly.
;((d, s) => {
const player = s
? d.querySelector(s)
: d.querySelectorAll('audio')[0]
|| d.querySelectorAll('video')[0];
d.addEventListener('keydown', ({ key }) => key === 'ArrowRight'
? player.currentTime += 5
: key === 'ArrowLeft' && (player.currentTime -= 5)
);
@suren-atoyan
suren-atoyan / gist:56b07d6299691286345385cbe930879f
Created March 26, 2018 20:22 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: