Skip to content

Instantly share code, notes, and snippets.

View VovanR's full-sized avatar
😺
I may be slow to respond.

Vladimir Rodkin VovanR

😺
I may be slow to respond.
View GitHub Profile
### Keybase proof
I hereby claim:
* I am vovanr on github.
* I am vovanr (https://keybase.io/vovanr) on keybase.
* I have a public key whose fingerprint is 5057 AD1D 6DD2 3D53 BB0A DFB4 4ECB B581 4F9E 8A59
To claim this, I am signing this object:
@VovanR
VovanR / i2c_scanner.ino
Created August 30, 2019 08:29
Arduino i2c_scanner
// --------------------------------------
// i2c_scanner
//
// Version 1
// This program (or code that looks like it)
// can be found in many places.
// For example on the Arduino.cc forum.
// The original author is not know.
// Version 2, Juni 2012, Using Arduino 1.0.1
// Adapted to be as simple as possible by Arduino.cc user Krodal
@VovanR
VovanR / close-pull-request.sh
Created June 24, 2019 13:01
close-pull-request.sh
#!/usr/bin/env bash
gitclosepullrequest () {
local status branch
status="$(git status 2>/dev/null)"
[[ $? != 0 ]] && return;
branch="$(git branch | perl -ne '/^\* (.*)/ && print $1')"
git fetch origin master:master && git checkout master && git branch -d ${branch}
}
@VovanR
VovanR / key-codes.js
Created March 20, 2017 10:01
KEY_CODES
const KEY_CODES = {
BACKSPACE: 8,
DELETE: 46,
};
export default KEY_CODES;
@VovanR
VovanR / README.md
Last active November 2, 2015 07:17
Get artists list form Yandex.Music
@VovanR
VovanR / jade2html.sh
Last active December 13, 2017 11:10
jade2html
#!/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 / .Xresources
Created October 29, 2015 14:17
Atom One Light color theme for xterm and urxvt
! 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
@VovanR
VovanR / .Xresources
Last active May 10, 2021 12:28 — forked from vreon/.Xresources
molokai color theme for xterm and urxvt
! 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 / anchor.css
Last active January 22, 2017 12:31
jQuery anchor scroll
[name^="anchor-"] {
display: block;
}