This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Nodejs custom version installer | |
## | |
## Ronaldo Barbachano April 2013 | |
## Based on the openshift/nodejscustom-version-openshift repo | |
## | |
## Supply with path to existing openshift repo, or move script into | |
## repo root. | |
## | |
## Probably less headaches if this is run immediately after |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Ronaldo Barbachano October 2011 | |
// Created out of a need to compress integer values in couch databases. Php 5.3 will allow up to 36 bit bases, | |
// which results in the smallest integer representation. | |
//To convert to default base, of 8, just provide | |
// number_base::number_convert(1); | |
// encodes 1 into base 32 number | |
// number_base::num_convert(1,32); |