Skip to content

Instantly share code, notes, and snippets.

View aaronfc's full-sized avatar
🧑‍💻

Aarón Fas aaronfc

🧑‍💻
View GitHub Profile
@aaronfc
aaronfc / init-libgdx-project.sh
Last active January 4, 2016 09:09
Create libgdx project using maven (untested)
#!/bin/bash
# Install maven if required
hash mvn 2>/dev/null || hash brew 2>/dev/null && brew install maven || echo >&2 "Please, install maven before executing this. Aborting."; exit 1; }
# Install git if required
hash git 2>/dev/null || hash brew 2>/dev/null && brew install git || echo >&2 "Please, install git before executing this. Aborting."; exit 1; }
# Install libgdx-maven-archetype
git clone git://github.com/libgdx/libgdx-maven-archetype.git /tmp/libgdx-maven-archetype
cd /tmp/libgdx-maven-archetype
@aaronfc
aaronfc / BankAccountConverter.php
Last active August 29, 2015 14:01
Create IBAN from bank account in PHP
<?php
/**
* BankAccountConverter class
*
* @author aaronfc <[email protected]>
*/
class BankAccountConverter {
/**
@aaronfc
aaronfc / MediumTest.php
Created May 11, 2016 07:48
Gist for Test on Medium
<?php
require `sauce.php`;
class Mixer
{
/** @var Sauce */
private $sauce;
/** @var Ingredien[] */
private $ingredients;
@aaronfc
aaronfc / userscript.js
Created January 7, 2017 18:08
Remove suspicious click events to avoid first click ads.
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://mail.google.com/mail/u/0/#inbox
// @grant none
// ==/UserScript==