- Udev
cat /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="XX:XX:XX:1a:97:08", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
{ | |
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | |
"flux": { | |
"fileMatch": [ | |
"\\.yaml$", | |
"\\.yml$" | |
] | |
}, | |
"packageRules": [ | |
{ |
<?php | |
$inputHandler = fopen('php://input', "r"); | |
$path = realpath(dirname(__FILE__) . '/upload'); | |
$fileHandler = fopen($path . '/' . 'some-name-file', "a+"); | |
while (true) { | |
$buffer = fgets($inputHandler, 4096); | |
if (strlen($buffer) == 0) { |
<?php | |
define('SCOPE', 'invoices-read,invoices-write,contractors-write,goods-write,goods-read'); | |
define('APP_URL', 'your-app.dev'); | |
function requestToken() { | |
$OAuth = new OAuth(CONSUMER_KEY, CONSUMER_SECRET, OAUTH_SIG_METHOD_PLAINTEXT); | |
try { | |
ifconfig_vtnet0="inet IP.FAILOVER netmask 255.255.255.255 broadcast IP.FAILOVER" | |
static_routes="net1 net2" | |
route_net1="-net MOTHER.IP.1/32 IP.FAILOVER" | |
route_net2="default MOTHER.IP.1" |
auto eth0 | |
iface eth0 inet static | |
address IP.FAILOVER | |
netmask 255.255.255.255 | |
broadcast IP.FAILOVER |