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
{"lastUpload":"2021-09-09T18:11:36.392Z","extensionVersion":"v3.4.3"} |
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
aptitude update && aptitude upgrade | |
service php7.0-fpm restart && service apache2 restart && service mysql restart | |
/etc/init.d/memcached restart |
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 | |
error_reporting(E_NONE); | |
$repetitions = 100000; | |
function getmicrotime() | |
{ | |
$t = gettimeofday(); | |
return $t['sec'] * 1000 + $t['usec'] / 1000; |
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 | |
function fib($n) | |
{ | |
if ($n <= 2) | |
return 1; | |
else | |
return fib($n-1) + fib($n-2); | |
} |
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
import sys | |
from ctypes import ARRAY | |
import md5 | |
import sha | |
import numpy | |
from reportlab.lib.units import mm | |
from _pydev_xmlrpclib import DateTime, datetime |
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 | |
function ordenar($a) | |
{ | |
sort($a); | |
asort($a); | |
sort($a); | |
asort($a); | |
sort($a); |
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 | |
#chmod a+x /usr/local/bin/verificarServers.sh | |
#crontab -e | |
#0,15,30,45 * * * * /usr/local/bin/verificarServers.sh | |
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin | |
SERVICE='mysqld' |