Skip to content

Instantly share code, notes, and snippets.

Davide Orazio Montersino DavideMontersino

Block or report user

Report or block DavideMontersino

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
DavideMontersino / crediCardDownload.js
Created May 22, 2018
ING bankieren afschrift creditcard downloaden
View crediCardDownload.js
// AT Ing, they say they cannot let you download an extract of your
// credit card expenses because it is impossible given how the system was built.
// But I needed to be able to do it, so I just spent an hour doing it.
function ConvertToCSV(objArray) {
var array = typeof objArray != 'object' ? JSON.parse(objArray) : objArray;
var str = '';
for (var i = 0; i < array.length; i++) {
var line = '';
DavideMontersino /
Created Mar 13, 2017
Resize virtual box hard drive

A mix of these tutorials:

  • create a new (bigger) virtual hd
  • use a gparted iso, create a virtual machine and attach the iso, the old (smaller) hd and the new hd to the machine
  • once started, identify the two hard drives and launch:
    dd -if=/dev/sda of=/dev/sdb

be careful because if you invert if and of you will delete your original hd. This will take a lot of time to copy everything from one hard drive to the other.

View .git-commit-template.txt
# Type(<scope>): <subject>
# <body>
# <footer>
# skip ci should always be there to avoid using codeship builds.
# Remove this line only when a codeship build is needed
DavideMontersino /
Last active May 20, 2019
How to fork to a private gitlab instance


your git repository can have more than one remote server; In this case we want to have two:

  1. one for our private repository on gitlab (will be the default one, called origin)
  2. one to be connected to the source repo on github, to be able to pull new changes (will be called upstream)

How to make a private fork from github to gitlab

DavideMontersino /
Last active Feb 15, 2016
A brief introduction to some more or less modern tools for the js developer
We couldn’t find that file to show.
DavideMontersino / Dutch
Last active Feb 18, 2016
A list of dutch words I want to learn
View Dutch

Belangrijke woorden

  • terug: back
  • sommige: some
  • vroeger: before
  • na, achter: after
  • bewuster: awareness
  • geld: money
  • tegen: to / against
  • eigenlijk: actually

Git quick reference

This is a quick reference on how to use git; notice that the shortcut work because of the webo-dotfiles


Cloning is the operation of retrieving a complete copy of a repository online. Every time you navigate to a project in gitlab, you have access to the repo url (for the webo-dotfiles, for example, the git repo url is

git clone <repo url>
DavideMontersino / Development
Last active Jun 28, 2018
A draft on developing guidelines for myself and the teams I work with
View Development

Git workflow tutorials

General principles

  1. Prefer automation to guidelines whenever possible, use tools to automate stuff. Do not write style guidelines; instead, embed linter in your projects and pre-commit hooks instead; use commit templates

  2. Create a culture

DavideMontersino / .jshintrc
Created Nov 20, 2015 — forked from haschek/.jshintrc
JSHint Configuration, Strict Edition
View .jshintrc
// --------------------------------------------------------------------
// JSHint Configuration, Strict Edition
// --------------------------------------------------------------------
// This is a options template for [JSHint][1], using [JSHint example][2]
// and [Ory Band's example][3] as basis and setting config values to
// be most strict:
// * set all enforcing options to true
You can’t perform that action at this time.