Skip to content

Instantly share code, notes, and snippets.

@matyb
matyb / gulpfile.js
Created September 13, 2017 04:23
Multi Module Node Gulpfile
const gulp = require('gulp');
const { spawn } = require('child_process');
const { join } = require('path');
const gulpmodules = ['./src_modules/common',
'./src_modules/client',
'./src_modules/server'];
const moduleTasks = ['default', 'clean', 'build', 'test']
@matyb
matyb / PalindromeGenerator.java
Last active December 16, 2015 03:19
A sequential palindrome generator.
package math.recreational.generators;
import java.util.Iterator;
public class PalindromeGenerator implements Iterator<Long> {
private Long current = 0l;
@Override
public boolean hasNext() {