Skip to content

Instantly share code, notes, and snippets.

Grégory Salvan apieum

  • Albi
View GitHub Profile
@apieum
apieum / tigrc
Created Sep 16, 2016
tig config, bindings
View tigrc
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
View 60-samsung-keyboard.hwdb
###########################################################
# 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
jamfile et jamrule
View jamfile
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 Aug 29, 2015
ino make
View make.py
#!/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
View .bash_profile
if [[ -z "$TMUXP_STARTED" ]]; then
pydev
fi
View gist:7513489
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 Nov 10, 2013
Distraction Free mode in Sublime
View Distraction Free.sublime-settings
{
"gutter": true,
"line_numbers": true,
"margin": -250,
"line_padding_top": 0,
"line_padding_bottom": 0
}
View Preferences.sublime-settings
{
"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"
View Default (Linux).sublime-keymap
[
{ "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]]
View .tmux.conf
##############################
# _
# | |_ _ __ ___ _ ___ __
# | __| '_ ` _ \| | | \ \/ /
# | |_| | | | | | |_| |> <
# \__|_| |_| |_|\__,_/_/\_\
#
#############################
############################################################################
You can’t perform that action at this time.