# 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| #!/bin/bash | |
| # https://gist.github.com/Jamesits/944ab9a484ad34522f6c4bce8d085132 | |
| # Captures every IP-CIDR notation in HTML file | |
| # then convert it to RouterOS IP List format | |
| # Usage: convert.sh source-file.html List-Name | |
| # Then use /import file-name=List-Name.scr to | |
| # import this list on RouterOS | |
| # You can save bgp.he.net search result as HTML | |
| # then use this script to convert. |
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
| // Least-recently used (LRU) queue device in Node.js | |
| var startClientsAndWorkersNowait = true | |
| , terminate = 'skip'; // 'immediately', 'later', 'skip' | |
| var numberOfClients = 10 | |
| , numberOfWorkers = 3; | |
| var zmq = require('zmq') | |
| , frontend = zmq.socket('router') |
| This playbook has been removed as it is now very outdated. |
| 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 |
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)That's it!
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.