Skip to content

Instantly share code, notes, and snippets.

@superbrothers
superbrothers / ansi-color.php
Created August 23, 2012 01:49
ANSI color terminal output module for php
<?php
/**
* php-ansi-color
*
* Original
* https://github.com/loopj/commonjs-ansi-color
*
* @code
* <?php
* require_once "ansi-color.php";
@intarstudents
intarstudents / compiling_zeromq.md
Last active October 6, 2015 21:58
Compiling ZeroMQ

Dependencies:

$ aptitude install libtool autoconf automake uuid-dev

Installation commands:

$ git clone https://github.com/zeromq/zeromq3-x.git
@intarstudents
intarstudents / screentab.sh
Created November 29, 2011 22:58
screentab
#!/bin/sh
error() { echo "$@" 1>&2; exit 1; }
[ $# -gt 1 ] ||
error "must provide screen session name and command"
session="${1}"
shift;
found=$(screen -ls | awk '-F\t' '$2 ~ m {print $2}' "m=[0-9]+[.]$session$")
@coolaj86
coolaj86 / how-to-publish-to-npm.md
Last active October 29, 2024 21:43
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