Skip to content

Instantly share code, notes, and snippets.

Avatar
💤
I may be slow to respond.

Vladimir Rodkin VovanR

💤
I may be slow to respond.
View GitHub Profile
@VovanR
VovanR / gist:8822642
Created Feb 5, 2014
Префиксы именования картинок
View gist:8822642
# Префиксы именования картинок
bgr- Фон
shadow- Тень
icon- Иконка
btn- Кнопка
img- Картинка
pattern- Текстура
sep- Разделитель
sprite- Спрайт
@VovanR
VovanR / gist:7716e8183592bdeec2df
Last active Aug 29, 2015
Django AMD with Require.js
View gist:7716e8183592bdeec2df

Django AMD with Require.js

App options

apps/foo/templates/foo/index.html

{% load staticfiles %}

...

{# jQuery is global for third party modules #}
@VovanR
VovanR / scrolltop-button.html
Last active Aug 29, 2015
ScrollTop Button with jQuery
View scrolltop-button.html
<!-- scrolltop begin -->
<div class="scrolltop-placeholder">
<div class="scrolltop scrolltop_hidden js-scrolltop">
<span class="scrolltop__caret"></span>
<span class="scrolltop__text">Top</span>
</div>
</div>
<!-- scrolltop end -->
@VovanR
VovanR / anchor.css
Last active Jan 22, 2017
jQuery anchor scroll
View anchor.css
[name^="anchor-"] {
display: block;
}
@VovanR
VovanR / .Xresources
Last active May 10, 2021 — forked from vreon/.Xresources
molokai color theme for xterm and urxvt
View .Xresources
! Molokai theme
! See: https://gist.github.com/vreon/845878
xterm*background: #101010
xterm*foreground: #d0d0d0
xterm*cursorColor: #d0d0d0
xterm*color0: #101010
xterm*color1: #960050
xterm*color2: #66aa11
xterm*color3: #c47f2c
xterm*color4: #30309b
@VovanR
VovanR / .Xresources
Created Oct 29, 2015
Atom One Light color theme for xterm and urxvt
View .Xresources
! Atom One Light theme
xterm*background: #f9f9f9
xterm*foreground: #383a42
xterm*cursorColor: #d0d0d0
xterm*color0: #000000
xterm*color1: #E45649
xterm*color2: #50A14F
xterm*color3: #986801
xterm*color4: #4078F2
xterm*color5: #A626A4
View jade2html.sh
#!/bin/bash
# jade2html, version 0.1
#
# Convert .jade to .html
#
# Example (convert foo.jade to foo.html):
# jade2html foo
#
# github.com/VovanR
# Author: VovanR (Vladimir Rodkin)
@VovanR
VovanR / README.md
Last active Nov 2, 2015
Get artists list form Yandex.Music
View README.md
View key-codes.js
const KEY_CODES = {
BACKSPACE: 8,
DELETE: 46,
};
export default KEY_CODES;