Skip to content

Instantly share code, notes, and snippets.

View macteo's full-sized avatar

Matteo Gavagnin macteo

View GitHub Profile
@macteo
macteo / gist:d31c5422bce47c6163f9fd5a24223658
Created February 1, 2017 10:01
Custom CSS to enlarge the tables on Apple Developer provisioning portal
.ui-jqgrid tr.jqgrow td {
white-space: normal !important;
}
#content {
width: 1280px !important;
height: 100%;
}
div.innercontent {
const WS = require('ws')
const _ = require('lodash')
const async = require('async')
const fs = require('fs')
const moment = require('moment')
const pair = process.argv[2]
const conf = {
wshost: "wss://api.bitfinex.com/ws/2"
Verifying my Blockstack ID is secured with the address 14oKnY33bJ4warDuhSQTR49t8cLUWo7bqo https://explorer.blockstack.org/address/14oKnY33bJ4warDuhSQTR49t8cLUWo7bqo
for contact in contacts where contact.emailAddress == emailAddress {
completion(contact)
}
completion(nil)
/* Mozilla based browsers */
::-moz-selection {
background-color: #0D0;
color: #000;
}
/* Works in Safari */
::selection {
background-color: #0D0;
color: #000;
@macteo
macteo / apple_logos.sh
Created October 25, 2018 08:49
Download every Apple logo for the October 2018 event
curl -LO https://imgur.com/fN4PuMO.jpg
curl -LO https://imgur.com/FE8Z4bH.jpg
curl -LO https://imgur.com/fCx3AHB.jpg
curl -LO https://imgur.com/c1GbqLV.jpg
curl -LO https://imgur.com/u7yWTah.jpg
curl -LO https://imgur.com/8QPAzJo.jpg
curl -LO https://imgur.com/9U56j23.jpg
curl -LO https://imgur.com/LOb7U8Z.jpg
curl -LO https://imgur.com/ega8OYy.jpg
curl -LO https://imgur.com/dwmfIAd.jpg
@macteo
macteo / polygon-with-a-hole.geojson
Last active October 8, 2020 16:04 — forked from andrewharvey/polygon-with-a-hole.geojson
A GeoJSON Polygon with a hole
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@macteo
macteo / API.md
Created October 17, 2012 11:37 — forked from iros/API.md
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method: