This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cat << EOF > test.filter-script | |
[0:v]kerndeint,format=pix_fmts=nv12,split=2[split1-1][split1-2]; | |
[split1-1]scale=-2:720,split=3[scale-720-1][scale-720-2][scale-720-3]; | |
[split1-2]scale=-2:540,split=2[scale-540-1][scale-540-2]; | |
[scale-720-1]fps=1/60[stills-1]; | |
[0:a]asplit=4[audio-1][audio-2][audio-3][audio-4] | |
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Authenticates to a ubiquiti EdgeOS router and enable/disable firewall rules | |
* | |
*/ | |
class ubiquiti | |
{ | |
private $_host = ''; | |
private $_login_url = ''; | |
private $_json_url = ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
####--------------------------------------------------------------------------- | |
#### fix_swap.sh | |
#### | |
#### designed for use with CentOS 7; we have noticed that our CentOS 7 | |
#### hosts often use large amounts of swap when plenty of memory is | |
#### available. This causes false alarms in our system monitoring software | |
#### (zabbix). | |
#### | |
#### this script reconfigures the system to be less swappy, and it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AL": { | |
"name": "Alabama", | |
"capital": "Montgomery", | |
"lat": "32.361538", | |
"long": "-86.279118" | |
}, | |
"AK": { | |
"name": "Alaska", | |
"capital": "Juneau", |
NewerOlder