Skip to content

Instantly share code, notes, and snippets.

View nilportugues's full-sized avatar

Nil Portugués Calderó nilportugues

View GitHub Profile
@nilportugues
nilportugues / BankInfoUtil.java
Created December 2, 2017 10:09
Chinese Bank Account Matcher, with Bank Account Type
package com.nanchen.bankcardutil;
import java.util.regex.Pattern;
/**
* Author: nanchen
* Email: [email protected]
* Date: 2017-11-28 13:26
*/
public class BankInfoUtil {
@nilportugues
nilportugues / free-stock-photo-websites
Created November 21, 2017 10:33
FREE STOCK PHOTOS WEBSITES
- https://stocksnap.io/
- https://unsplash.com/
@nilportugues
nilportugues / docker-cleanup-resources.md
Created November 15, 2017 16:59 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

https://mobile.twitter.com/signup?type=email
@nilportugues
nilportugues / REACT-COMPONENTS.md
Last active June 21, 2017 10:34
REACT-COMPONENTS
@nilportugues
nilportugues / KongJwt.md
Created June 5, 2017 21:57 — forked from martinheld/KongJwt.md
Short example to use JWT with Kong

JWT Kong Example

  • Get and Start Kong and Co
git clone [email protected]:Mashape/docker-kong.git
cd docker-kong/compose
docker-compose up
  • Create Kong API Route
@nilportugues
nilportugues / cyanite-compile.sh
Last active April 26, 2017 16:51
cyanite-compile.sh
#!/bin/bash
##-----------------------------------------------------------
## Obtain Cyanite JAR file.
##-----------------------------------------------------------
## Download the build system to compile Cyanite
cd /tmp
wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein -O /tmp/lein
chmod 0755 /tmp/lein