Start command:
ddrescue -d /dev/sda output.img output.mapfile
NOTE: If direct disc access is not available in your system, try raw devices.
#!/bin/bash | |
# | |
# URL of the Maxmind geoip database | |
# | |
filename="GeoLite2-Country-CSV" | |
filesuffix=".zip" | |
url="https://geolite.maxmind.com/download/geoip/database/$filename$filesuffix" | |
# | |
# Countries to block |
## 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 |
/** | |
* Translation service | |
* | |
* @return array | |
*/ | |
$di->set('translation', function () use ($di) { | |
$request = $di->get('request'); | |
$session = $di->get('session'); |
<?php | |
namespace Library\Validation; | |
use Phalcon\DI; | |
/** | |
* Class Message | |
* |