This script will let you make backups of live VMs running on KVM, using libvirt.
The backup job will suspend the VM for the time it takes to copy the RAM to disk.
Credits: Luca Lazzeroni
I've made some minor adjustments.
| var elixir = require('laravel-elixir'); | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Elixir Asset Management | |
| |-------------------------------------------------------------------------- | |
| | | |
| | Elixir provides a clean, fluent API for defining some basic Gulp tasks | |
| | for your Laravel application. By default, we are compiling the Sass | |
| | file for our application, as well as publishing vendor resources. |
This script will let you make backups of live VMs running on KVM, using libvirt.
The backup job will suspend the VM for the time it takes to copy the RAM to disk.
Credits: Luca Lazzeroni
I've made some minor adjustments.
| <?php | |
| $countries = array( | |
| 'AD' => 'Andorra', | |
| 'AE' => 'United Arab Emirates', | |
| 'AF' => 'Afghanistan', | |
| 'AG' => 'Antigua & Barbuda', | |
| 'AI' => 'Anguilla', | |
| 'AL' => 'Albania', | |
| 'AM' => 'Armenia', | |
| 'AN' => 'Netherlands Antilles', |
| /* | |
| Android Breath v0.2 | |
| Simulates led breathing found on Android devices. | |
| Tested with Arduino Nano ATmega328. | |
| Cesar Schneider <[email protected]> | |
| https://gist.github.com/cesschneider/7689698 | |
| */ | |
| // Pin 13 has an LED connected on most Arduino boards. |
Use this command to get the UNIX time
date +%s
Create a gauge RRD with a 60 second heartbeat
rrdtool create temperature.rrd --step 60 \
DS:temp:GAUGE:600:-273:5000 \
RRA:AVERAGE:0.5:1:1200 \