Skip to content

Instantly share code, notes, and snippets.

if [[ -z "$TMUXP_STARTED" ]]; then
pydev
fi
@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
@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 / .bashrc
Last active December 26, 2015 08:49
bashrc prompt
PS1='\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\W\[\033[00m\]\\$ '
@apieum
apieum / tig
Created October 24, 2013 10:24
tig bash completion
##
# bash completion support for tig
#
# Copyright (C) 2007-2010 Jonas fonseca
# Copyright (C) 2006,2007 Shawn Pearce
#
# Based git's git-completion.sh: http://repo.or.cz/w/git/fastimport.git
#
# The contained completion routines provide support for completing:
#
@apieum
apieum / .gitignore
Created October 24, 2013 11:40
.gitignore
#--------------------#
# Python Files #
#--------------------#
*.pyc
*.pyo
#--------------------#
# OS generated files #
#--------------------#
.DS_Store
.DS_Store?
@apieum
apieum / .inputrc
Created October 24, 2013 13:31
bash history
"\e[A": history-search-backward
"\e[B": history-search-forward
set show-all-if-ambiguous on
set completion-ignore-case on
@apieum
apieum / .tmux.conf
Created October 24, 2013 13:34
tmux config
##############################
# _
# | |_ _ __ ___ _ ___ __
# | __| '_ ` _ \| | | \ \/ /
# | |_| | | | | | |_| |> <
# \__|_| |_| |_|\__,_/_/\_\
#
#############################
############################################################################
[
{ "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 / 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"