Skip to content

Instantly share code, notes, and snippets.

Marcelo Luiz Onhate onhate

Block or report user

Report or block onhate

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
@onhate
onhate / index.js
Created Sep 5, 2019
Load Express Routes dynamically like Nuxt.js
View index.js
const express = require('express');
const glob = require("glob");
const app = express();
glob.sync('./api/**/*.http.js', { cwd: __dirname })
.forEach(file => {
const endpoint = file.split('.http.js').join('')
.split('_').join(':')
.substr(1);
View jsWithBinary-GumTreeInfiniteLoop-left.js
// --- TreeGrid Header ---
Component = {
// --- File information ---
Name: "Editable JavaScript TreeGrid",
Address: "http://www.treegrid.com",
Type: "TreeGrid with Gantt chart with Extended API",
Version: "9.2.12",
Release: "3. June 2013 10:52",
You can’t perform that action at this time.