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
View gist:c3e69d0d2fcc49a139f26f27531daff2
### 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 Aug 30, 2019
Arduino i2c_scanner
View i2c_scanner.ino
// --------------------------------------
// 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 Jun 24, 2019
close-pull-request.sh
View 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}
}
View key-codes.js
const KEY_CODES = {
BACKSPACE: 8,
DELETE: 46,
};
export default KEY_CODES;
@VovanR
VovanR / README.md
Last active Nov 2, 2015
Get artists list form Yandex.Music
View README.md
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 / .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
@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 / anchor.css
Last active Jan 22, 2017
jQuery anchor scroll
View anchor.css
[name^="anchor-"] {
display: block;
}