Skip to content

Instantly share code, notes, and snippets.

View alopezsanchez's full-sized avatar
👋

Alejandro López alopezsanchez

👋
View GitHub Profile
@alopezsanchez
alopezsanchez / rename-remote-branch.sh
Last active April 4, 2018 11:06
git - rename remote branch
git branch -m old-name new-mame
git push <remote> --delete old-name
git push <remote> new-name
# <remote> -> origin
@alopezsanchez
alopezsanchez / source-map-benchmark.js
Created March 16, 2018 22:29
source-map benchmark
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
const sourceMap = require("source-map");
const fs = require("fs");
const payloads = [
"lodash.min-4.17.4.js.map",
"preact-8.2.5.js.map",