$ docker stop (docker ps -aq)
$ docker rm (docker ps -aq)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const curryN = (len, fn, received = []) => (...args) => { | |
let combined = [...received, ...args] | |
if (args.length === len) { | |
return fn(...combined) | |
} | |
return curryN(len - args.length, fn, combined) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +grvcoelho is my blockchain ID. https://onename.com/grvcoelho |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package textandfiles; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package main; | |
import API.*; | |
import java.util.ArrayList; | |
import java.util.Scanner; |
A Pen by Guilherme Rv Coelho on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Require gulp | |
*/ | |
var gulp = require('gulp'); | |
/** | |
* Require gulp dependencies | |
*/ | |
var concat = require('gulp-concat'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class QuickSort { | |
private static long ifs = 0;; | |
/** | |
* @param args | |
*/ | |
public static long Sort(double[] a, boolean desc) { | |
ifs = 0; | |
quicksort(a, 0, a.length-1, desc); |