- Python2.7 (x86) from Python.org
- Microsoft Visual Studio
Step 1: Install Distribute & Pip
| <?php | |
| /** | |
| * Looks for unquoted keys in a json string and fixes them ie: {a:"b"} => {"a":"b"} | |
| * @param string $string A json string that is suspect | |
| * @return string A valid json string | |
| */ | |
| function fix_json($string){ | |
| // (no qupte) (word) (no quote) (semicolon) | |
| $regex = '/(?<!")([a-zA-Z0-9_]+)(?!")(?=:)/i'; |
NOTE: This documentation has been put here because I couldn't find it anywhere else. I am not associated with Crunchbase in any way. I cannot help you with your Crunchbase API problems. If you need help try here: https://groups.google.com/forum/#!forum/crunchbase-api
The CrunchBase API provides JSON representations of the data found on CrunchBase. The API currently supports three actions: "show", "search", and "list", which are each described below.
| var fs = require('fs'); | |
| // Bind to receiving of data | |
| exports.hook_data = function( next, connection, params ) { | |
| var haraka = this, | |
| uid = connection.transaction.uuid; | |
| connection.transaction.notes.attachments = {}; |
| ## Configure eth0 | |
| # | |
| # vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
| DEVICE="eth0" | |
| NM_CONTROLLED="yes" | |
| ONBOOT=yes | |
| HWADDR=A4:BA:DB:37:F1:04 | |
| TYPE=Ethernet | |
| BOOTPROTO=static |
# Resize the file system in UI, under VM -> Hardware -> Click on the disk to resize, click "Resize disk" button
# Confirm increase in disk space (1TB in my case)
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1T 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 1G 0 part /boot
└─sda3 8:3 0 1T 0 part