Skip to content

Instantly share code, notes, and snippets.

@bleader
bleader / esp-mini-wifi.cpp
Created January 21, 2017 08:44
simple esp32 AP/client code for testing range
#include <Arduino.h>
#include <WiFi.h>
#define AP 1
#ifdef AP
void setup()
{
IPAddress ip;
#!/usr/bin/env python2
# gpx
import gpxpy
import gpxpy.gpx
# srt
import pysrt
#misc
$ 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)
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 != ""
" ---------------
" Start Plug
" ---------------
call plug#begin('~/.vim/plugged')
" git
Plug 'tpope/vim-fugitive'
" utils
Plug 'rking/ag.vim' " ag fro grepping in vim