Skip to content

Instantly share code, notes, and snippets.

@carlo-colombo
carlo-colombo / data.tsv
Last active August 29, 2015 14:01
Grafico demo maker faire
We can make this file beautiful and searchable if this error is corrected: No tabs found in this TSV file in line 0.
date,close
3-Dec-07,178.86
4-Dec-07,179.81
5-Dec-07,185.50
6-Dec-07,189.95
7-Dec-07,194.30
10-Dec-07,194.21
11-Dec-07,188.54
12-Dec-07,190.86
13-Dec-07,191.83
@carlo-colombo
carlo-colombo / README.md
Created March 2, 2015 21:41
Explore the future through past

##Facebook

  • più diffuso al mondo (tranne cina e russia)
  • whatsapp è il social network più diffuso in italia ??
  • Trend costante di crescita, anche mobile
  • 25 mln di utenti attivi al mese, 21 mln utenti con accesso tramite mobile
  • Praticamente è la propria carta d'identità digitale

####Composto di più applicazioni

  • newsfeed (le notizie che vedo, in parte personalizzabile in parte scelta da facebook)
  • timeline (la mia linea temporale)
@carlo-colombo
carlo-colombo / echoHttpRequest.js
Last active August 29, 2015 14:24 — forked from Marak/echoHttpRequest.js
Echo HTTP requests
module['exports'] = function echoHttp (hook) {
hook.debug("Debug messages are sent to the debug console");
hook.debug(hook.params);
hook.debug(hook.req.path);
hook.debug(hook.req.method);
@carlo-colombo
carlo-colombo / change-java.sh
Created February 12, 2012 15:20
function to switch java version
function changeJava
{
declare -A versions
versions[java6oracle]=aaaaa
versions[java6oracle-short]=6c
versions[java7open]=java-7-openjdk
versions[java7open-short]=7o
#symbolic link to correct version
for i in {'',c,p,doc,h}; do
@carlo-colombo
carlo-colombo / gist:2842618
Created May 31, 2012 10:51
Gantt cleaner
var table = document.querySelector('#tasks'),
table2 = table.cloneNode(true),
forEach = Array.prototype.forEach;
forEach.call(document.body.querySelectorAll('body > div'),function(v,i){document.body.removeChild(v)});
document.body.appendChild(table2);
forEach.call(document.querySelectorAll('th,td.q4 '),function(v,i){ v.style['background-color']='transparent' });
forEach.call(document.querySelectorAll('.p3'),function(p3,i){p3.parentNode.removeChild(p3)});
@carlo-colombo
carlo-colombo / .ctags
Created June 13, 2012 19:03 — forked from mfwarren/.ctags
my .ctags syntax file for Groovy language (exuberant-ctags)
--langdef=groovy
--langmap=groovy:.groovy
--regex-groovy=/^[ \t]*[(private|public|protected) ( \t)]*def[ \t]+([A-Za-z0-9_]+)[ \t]*\(/\1/f,function,functions/
--regex-groovy=/^[ \t]*private def[ \t]+([A-Za-z0-9_]+)[ \t]*/\1/v,private,private variables/
--regex-groovy=/^[ \t]*public def[ \t]+([A-Za-z0-9_]+)[ \t]*/\1/u,public,public variables/
--regex-groovy=/^[ \t]*[abstract ( \t)]*[(private|public) ( \t)]*class[ \t]+([A-Za-z0-9_]+)[ \t]*/\1/c,class,classes/
--regex-groovy=/^[ \t]*[abstract ( \t)]*[(private|public) ( \t)]*enum[ \t]+([A-Za-z0-9_]+)[ \t]*/\1/c,class,classes/

Keybase proof

I hereby claim:

  • I am carlo-colombo on github.
  • I am carlocolombo (https://keybase.io/carlocolombo) on keybase.
  • I have a public key whose fingerprint is 7A80 96E7 6CAF 60F7 E78E 099B 9067 BAED 27D3 2DC7

To claim this, I am signing this object:

:set listchars=eol:$,tab:>-,trail:~,extends:>,precedes:<,space:·
:set list
"let NERDTreeIgnore=['\.vim$', '\~$']
let g:ctrlp_custom_ignore = '\v[\/](node_modules|deps|_build)|(\.(swp|ico|git|svn))$'
platform: linux
image_resource:
type: docker-image
source:
repository: cflondonservices/concourse-uscan-resource
run:
path: sh
args:
- -exc
- |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.1/css/bulma.css" rel="stylesheet" type="text/css" />
</head>
<body>