I hereby claim:
- I am rodrigograca31 on github.
- I am rodrigograca31 (https://keybase.io/rodrigograca31) on keybase.
- I have a public key whose fingerprint is F005 31D8 7DFF A27E CD62 DD2C 41AC 4EB5 E083 6224
To claim this, I am signing this object:
| date_default_timezone_set("Europe/Lisbon"); | |
| echo date("H:i:s, d/m/Y", time()); | |
| //use here: http://writecodeonline.com/php/ |
| <? | |
| //From: http://php.net/manual/en/function.curl-exec.php | |
| // create curl resource | |
| $ch = curl_init(); | |
| // set url | |
| curl_setopt($ch, CURLOPT_URL, "example.com"); | |
| function caeser(number, caeser){ | |
| for(i=0; i< caeser.length; i++){ | |
| if(caeser.charCodeAt(i)>=65 && caeser.charCodeAt(i)<=90){ | |
| if(caeser.charCodeAt(i)+number>90){ | |
| document.write(String.fromCharCode((caeser.charCodeAt(i)-90)+64+number)); | |
| }else{ | |
| document.write(String.fromCharCode(caeser.charCodeAt(i)+number)); | |
| } | |
| } else { | |
| document.write(String.fromCharCode(caeser.charCodeAt(i))); |
| grep -r ./ -e "open.mapquestapi.com/sdk" | |
| grep -rn "open.mapquestapi.com/sdk" ./ |
| #zip | |
| tar -zcvf archive-name.tar.gz directory-name | |
| #unzip | |
| tar -zxvf archive-name.tar.gz |
| oli@bert:~$ ssh tim | |
| oli@tim:~$ export DISPLAY=:0 | |
| oli@tim:~$ firefox |
I hereby claim:
To claim this, I am signing this object:
| uname -a | |
| wget https://nodejs.org/dist/v5.0.0/node-v5.0.0-linux-armv7l.tar.gz | |
| tar -xvzf node-v5.0.0-linux-armv7l.tar.gz | |
| ls -la | |
| cd node-v5.0.0-linux-armv7l/bin/ | |
| pwd | |
| echo 'export PATH=/home/pi/node-v5.0.0-linux-armv7l/bin:$PATH' >> ~/.bashrc |
| #!/bin/bash | |
| # | |
| # sleeptimer.sh | |
| # | |
| # Author: Timothy A.V. Teatro <[email protected]> | |
| # Date : Jan 11, 2011 | |
| # | |
| # Description: A rather unsophisticated little script that I wrote for | |
| # myself. Since I usually fall asleep listening to gnaural or watching | |
| # a movie on my computer beside my bed, I wanted something to suspend |
| CREATE USER 'user'@'%'; | |
| SET PASSWORD FOR 'user'@'%' = PASSWORD('password'); | |
| GRANT ALL PRIVILEGES ON database.* TO 'user'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION; | |
| FLUSH PRIVILEGES; |