Skip to content

Instantly share code, notes, and snippets.

View diniremix's full-sized avatar

Jorge Brunal diniremix

View GitHub Profile
@robdodson
robdodson / underscore-mustache-jade-template.jade
Created August 6, 2012 23:19
Mustache, Underscore, Jade template
script(type="text/html", id="modal-service-selection")
.modal-service-selection.modal-centered.modal.stretch.hide.fade
.modal-header
a.button-close(data-dismiss='modal')
img(src="../img/icons/latest/icon-exit.png")
h3 You have selected
span.emphasize {{ service.name }}
p Please select the subcategory that fits your needs:
.modal-body
ul.l-horizontal.clearfix.reservation-entries
@diniremix
diniremix / gist:1370410
Created November 16, 2011 15:44 — forked from persand/gist:1355589
Bash script for github.com/x URL:s -> git.io
function shit() {
if [ -n "$2" ]; then
curl -i http://git.io -F url=https://github.com/"$1" -F code="$2";
else
curl -i http://git.io -F url=https://github.com/"$1";
fi
}
@coolaj86
coolaj86 / how-to-publish-to-npm.md
Last active May 3, 2026 02:39
How to publish packages to NPM

Getting Started with NPM (as a developer)

As easy as 1, 2, 3!

Updated:

  • Aug, 08, 2022 update config docs for npm 8+
  • Jul 27, 2021 add private scopes
  • Jul 22, 2021 add dist tags
  • Jun 20, 2021 update for --access=public
  • Sep 07, 2020 update docs for npm version