As easy as 1, 2, 3!
Updated:
- Aug, 08, 2022 update
configdocs 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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>HMAC-SHA256 Example</title> | |
| </head> | |
| <body> | |
| <script src="http://crypto.stanford.edu/sjcl/sjcl.js"></script> | |
| <script> | |
| var sharedSecret, query, signature, hmac, xhr; |
| #!/bin/bash | |
| echo "This script will rebuild a Debian style package (deb) of latest stable" | |
| echo "Nginx. The original deb is from nginx.org apt repository." | |
| echo | |
| echo "This will prompt you yes or no on a few changes to the build as well as" | |
| echo "it will compile and package the latest Google NGX Pagespeed module." | |
| echo | |
| echo "This is built and tested on Ubuntu 14.04 LTS, fresh OS install." | |
| echo "There are no guarantees, and I take no liability if it breaks, but it" |
| var util = require('util'), | |
| EventEmitter = require('events').EventEmitter; | |
| var Server = function() { | |
| var self = this; | |
| this.on('custom_event', function() { | |
| self.logSomething('custom_event'); | |
| }); |
| <?php # -*- coding: utf-8 -*- | |
| /** | |
| * Plugin Name: Plugin Class Demo | |
| * Description: How I am using the base class in plugins. | |
| * Plugin URI: | |
| * Version: 2012.09.29 | |
| * Author: Fuxia Scholz | |
| * License: GPL | |
| * Text Domain: plugin_unique_name | |
| * Domain Path: /languages |
| #!/bin/sh | |
| # Dropbox setup on a headless Ubuntu Server | |
| # Script written by Jesse B. Hannah (http://jbhannah.net) <[email protected]> | |
| # Based on http://wiki.dropbox.com/TipsAndTricks/UbuntuServerInstall | |
| ### | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |