Skip to content

Instantly share code, notes, and snippets.

sudar /
Created May 3, 2012 — forked from dcrosby42/
Shell script to generate Arduino ctags
ctags -f tags.cpp `find . -name "*.cpp" -o -name "*.h"`
ctags -f tags.pde --langmap=c++:.pde `find . -name "*.pde"`
cat tags.cpp tags.pde > tags
sort tags -o tags
rm -f tags.*
View example_gist_create.rb
require 'net/http'
require 'uri'
# /api/v1/:format/new
# /api/v1/:format/gists/:user
# /api/v1/:format/:gist_id
res = Net::HTTP.post_form(URI.parse(''),
{ 'files[file1.ab]' => 'CONTNETS',
'files[file2.ab]' => 'contents' })
You can’t perform that action at this time.