This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
#include <WiFi.h> | |
#define AP 1 | |
#ifdef AP | |
void setup() | |
{ | |
IPAddress ip; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# gpx | |
import gpxpy | |
import gpxpy.gpx | |
# srt | |
import pysrt | |
#misc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ansible-playbook -i ./hosts ./buildsys.yaml | |
PLAY [Prepare target for compilation] ***************************************** | |
GATHERING FACTS *************************************************************** | |
ok: [localhost] | |
TASK: [packages] ************************************************************** | |
ok: [localhost] => (item=build-essential,subversion,git,vim,screen,libncurses5-dev,libxslt1-dev,xsltproc,bison,gawk,sudo,libxml2-utils,texinfo) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if has("cscope") && filereadable("/usr/bin/cscope") | |
set csprg=/usr/bin/cscope | |
set csto=0 | |
set cst | |
set nocsverb | |
" add any database in current directory | |
if filereadable("cscope.out") | |
cs add cscope.out | |
" else add database pointed to by environment | |
elseif $CSCOPE_DB != "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" --------------- | |
" Start Plug | |
" --------------- | |
call plug#begin('~/.vim/plugged') | |
" git | |
Plug 'tpope/vim-fugitive' | |
" utils | |
Plug 'rking/ag.vim' " ag fro grepping in vim |