Published to HN: https://news.ycombinator.com/item?id=5643342
Quite recently an article calling to stay away from rebase was published, in which the author states that you should absolutely never rebase. Well... that's bullshit.
from flask import Flask, Response | |
app = Flask(__name__) | |
@app.route('/') | |
def index(): | |
return Response('{}', headers={'content-encoding': 'gzip'}) | |
Published to HN: https://news.ycombinator.com/item?id=5643342
Quite recently an article calling to stay away from rebase was published, in which the author states that you should absolutely never rebase. Well... that's bullshit.
var http = require('http'); | |
var rid = 0; | |
var uuid; | |
var server = http.createServer(function(req, res) { | |
var domain = require('domain'); | |
var reqd = domain.create(); | |
var uuid = require('node-uuid').v1(); | |
rid += 1; |
var Kolba = require('kolba'); | |
var app = new Kolba.App(); | |
// RESTful | |
var lyricsResource = new Kolba.Resource({ | |
get: function() { | |
// Fetch from somewhere | |
return json; | |
} |
var cls = require('continuation-local-storage-glue'); | |
var http = require('http'); | |
var uuid = require('uuid').v4; | |
var local = cls.createNamespace('reqNS'); | |
http.createServer(function(req, res) { | |
req._id = uuid(); | |
local.run(function() { | |
local.set('id', req._id); | |
next(req, res); |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>toCamelCase</title> | |
<script src="tail-tocc.js"></script> | |
<script src="loop-tocc.js"></script> | |
<script type="text/javascript"> |