Get a VPS that offers 2 or more IP addresses.
From the WHM cPanel, find the menu item Service Configuration, select Apache Configuration and then click on Reserved IPs Editor.
| /* | |
| DESCRIPTION | |
| ----------- | |
| Use NodeJS to read RFID ids through the USB serial stream. Code derived from this forum: | |
| http://groups.google.com/group/nodejs/browse_thread/thread/e2b071b6a70a6eb1/086ec7fcb5036699 | |
| CODE REPOSITORY | |
| --------------- | |
| https://gist.github.com/806605 |
| <?php | |
| /** | |
| * Our bootstrap | |
| */ | |
| class Bootstrap extends Zend_Application_Bootstrap_Bootstrap | |
| { | |
| /** | |
| * Will init our acl | |
| * | |
| * @return void |
| <?php | |
| class My_Form_Template extends My_Form | |
| { | |
| public function init() | |
| { | |
| parent::init(); | |
| $this->addElements(array( | |
| $this->createElement(self::TYPE_MULTICHECKBOX, 'checks', array( |
| // This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref | |
| <?php | |
| /** | |
| * WordPress Query Comprehensive Reference | |
| * Compiled by luetkemj - luetkemj.github.io | |
| * | |
| * CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
| * Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php | |
| */ |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| <?php | |
| /* From https://www.usps.com/send/official-abbreviations.htm */ | |
| $us_state_abbrevs_names = array( | |
| 'AL'=>'ALABAMA', | |
| 'AK'=>'ALASKA', | |
| 'AS'=>'AMERICAN SAMOA', | |
| 'AZ'=>'ARIZONA', | |
| 'AR'=>'ARKANSAS', |
| <?php | |
| /** | |
| * I had to parse an XLSX spreadsheet (which should damn well have been a CSV!) | |
| * but the usual tools were hitting the memory limit pretty quick. I found that | |
| * manually parsing the XML worked pretty well. Note that this, most likely, | |
| * won't work if cells contain anything more than text or a number (so formulas, | |
| * graphs, etc ..., I don't know what'd happen). | |
| */ |
| // Added "before_delete_post" action to trigger rel_cleanup (cleans up all associated posts with rel_ meta_keys when a post is deleted) | |
| function Acf() | |
| { | |
| // vars | |
| $this->path = plugin_dir_path(__FILE__); | |
| $this->dir = plugins_url('',__FILE__); | |
| $this->version = '3.3.9'; | |
| $this->upgrade_version = '3.3.3'; // this is the latest version which requires an upgrade | |
| $this->cache = array(); // basic array cache to hold data throughout the page load |
| #!/bin/bash | |
| # Applies the Monokai color scheme to the current terminal session. | |
| declare -A map0 | |
| map0=( [foreground ]='#F8F8F2' [background ]='#272822' | |
| [cursor ]='#F8F8F0' [selection ]='#49483E' | |
| [pink ]='#F92672' [green ]='#A6E22E' | |
| [yellow ]='#E6DB74' [blue ]='#66D9EF' | |
| [purple ]='#AE81FF' [orange ]='#FD971F' | |
| [gray ]='#75715E' ) |