Skip to content

Instantly share code, notes, and snippets.

@apieum
apieum / tigrc
Created September 16, 2016 21:56
tig config, bindings
bind generic + !git commit --amend
bind generic > !git push
bind generic P !git push -f
bind generic F !git fetch
bind generic <Lt> !git pull
bind stage l stage-update-line
###########################################################
# Samsung
###########################################################
# Series 7 / 9
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700Z*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700G*:pvr*
@apieum
apieum / jamfile
Created May 26, 2015 11:28
jamfile et jamrule
SubDir TOP ;
LOCATE_TARGET = $(TOP)/../build/tests ;
LOCATE_SOURCE = $(TOP)/../build/tests ;
SEARCH_SOURCE = $(PWD:D) ;
LIBS = ;
HDRS += $(LIBRARY_DIR)/$(LIBS) ;
LIBRARY_MODULES = [ GLOB $(LIBRARY_DIR)/$(LIBS) : *.cpp *.c ] ;
@apieum
apieum / make.py
Last active August 29, 2015 14:21
ino make
#!/usr/bin/env python2
# -*- coding: utf-8; -*-
"""\
Ino is a command-line toolkit for working with Arduino hardware.
It is intended to replace Arduino IDE UI for those who prefer to work in
terminal or want to integrate Arduino development in a 3rd party IDE.
Ino can build sketches, libraries, upload firmwares, establish
if [[ -z "$TMUXP_STARTED" ]]; then
pydev
fi
@apieum
apieum / gist:7513489
Last active December 28, 2015 14:19
koans 1
ExUnit.start
defmodule About_Functions do
use ExUnit.Case
use Koans
test "test function" do
hello
end
def hello do
IO.puts("hello")
@apieum
apieum / Distraction Free.sublime-settings
Created November 10, 2013 11:32
Distraction Free mode in Sublime
{
"gutter": true,
"line_numbers": true,
"margin": -250,
"line_padding_top": 0,
"line_padding_bottom": 0
}
@apieum
apieum / Preferences.sublime-settings
Created November 10, 2013 11:30
Sublime Preferences
{
"bold_folder_labels": true,
"caret_style": "phase",
"ensure_newline_at_eof_on_save": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Python Flake8 Lint",
"Vintage",
"RestructuredText"
[
{ "keys": ["ctrl+shift+q"], "command": "exit" },
{
"keys": ["alt+shift+&"],
"command": "set_layout",
"args":
{
"cols": [0.0, 1.0],
"rows": [0.0, 1.0],
"cells": [[0, 0, 1, 1]]
@apieum
apieum / .tmux.conf
Created October 24, 2013 13:34
tmux config
##############################
# _
# | |_ _ __ ___ _ ___ __
# | __| '_ ` _ \| | | \ \/ /
# | |_| | | | | | |_| |> <
# \__|_| |_| |_|\__,_/_/\_\
#
#############################
############################################################################