Skip to content

Instantly share code, notes, and snippets.

@carlo-colombo
carlo-colombo / mix.exs
Last active March 3, 2024 08:45
ReqCookieJar
defmodule ReqCookieJar.MixProject do
use Mix.Project
def project do
[
app: :req_cookie_jar,
version: "0.1.0",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: [{:req, "~> 0.4.0"}],
This file has been truncated, but you can view the full file.
<!doctype html>
<!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension -->
<!-- saved from url=(0021)https://tiddlywiki.com -->
<html lang="en-GB">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<!--~~ Raw markup for the top of the head section ~~-->
<link
rel="manifest"
@carlo-colombo
carlo-colombo / packages-graph.sh
Created February 18, 2020 10:04
Generating go projects packages graph in DOT language (Graphviz)
#!/bin/bash
set -e
root_package="$(awk '/module/ {print $2}' go.mod)"
go list -f '{{.ImportPath}} {{range .Imports}}{{.}} {{end}}' ./... \
| awk -v root_package="${root_package}/" '
BEGIN {
FS=" ";
<!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>
platform: linux
image_resource:
type: docker-image
source:
repository: cflondonservices/concourse-uscan-resource
run:
path: sh
args:
- -exc
- |
: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))$'

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:

@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 / 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 / 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