I hereby claim:
- I am jorgejams88 on github.
- I am jorgemoran (https://keybase.io/jorgemoran) on keybase.
- I have a public key whose fingerprint is 901E 13AE 65D3 FD86 9F71 E8CF 7C87 E253 B15E 7F76
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
formats=$(cowsay -l) | |
words=$(echo $formats | wc -w) | |
format=$(($RANDOM%($words-5))) | |
str_format=$(echo $formats | cut -d" " -f $(($format+5))) | |
fortune ~/fortunes/facts_complete.dat | cowsay -f $str_format |
import glob | |
import os | |
files=glob.glob("*.mp4") | |
for file in files: | |
outputName=file.replace(".mp4",".avi") | |
os.system("ffmpeg -i \"%s\" -c:v mpeg4 -q:v 5 -tag:v DIVX -s 640x480 -c:a libmp3lame -q:a 5 -ac 2 -ar 44100 \"%s\"" % (file,outputName)) |
function isDesktopBrowser(){ | |
if((strpos(strtolower($_SERVER["HTTP_USER_AGENT"]),"windows")!==false && strpos(strtolower($_SERVER["HTTP_USER_AGENT"]),"windows phone")===false) or (strpos(strtolower($_SERVER["HTTP_USER_AGENT"]),"linux")!==false && strpos(strtolower($_SERVER["HTTP_USER_AGENT"]),"android")===false) or strpos(strtolower($_SERVER["HTTP_USER_AGENT"]),"macintosh")!==false) | |
{ | |
return true; | |
} | |
return false; | |
} |
openssl req -nodes -sha256 -newkey rsa:2048 -keyout domain.com.key -out domain.com.csr |
var urls=["https://reddit.com","https://facebook.com"]; | |
var page = require('webpage').create(); | |
page.urls=urls; | |
console.log("Working with " + page.urls.length + " urls"); | |
page.currentIndex=0; | |
page.nextScreenshot=function(){ | |
console.log("Getting screenshot of: " + page.urls[page.currentIndex]); | |
page.open(page.urls[page.currentIndex], function(status) { | |
console.log("Status: " + status); | |
if(status === "success") { |
server { | |
listen 80; | |
server_name empleo.localhost; | |
root html/empleo/web; | |
#charset koi8-r; | |
#access_log logs/host.access.log main; | |
location / { | |
try_files $uri /index.php$is_args$args; |
./configure --prefix=/usr/local/nginx --user=nginx --group=nginx --with-http_ssl_module --with-ipv6 | |
'./configure' '--prefix=/usr/local/php' '--enable-inline-optimization' '--disable-debug' '--disable-libgcc' '--disable-libtool-lock' '--disable-cgi' '--enable-safe-mode' '--with-libxml-dir' '--enable-dom' '--enable-libxml' '--with-bz2=shared' '--enable-calendar' '--with-zlib-dir=shared' '--with-ttf' '--with-freetype-dir' '--with-mysql=mysqlnd' '--with-mysql-sock' '--with-zlib-dir' '--enable-sockets' '--enable-zip' '--with-pear' '--enable-session' '--with-zend-vm=CALL' '--enable-mbstring' '--with-regex' '--with-openssl' '--with-expat-dir' '--with-pcre-regex' '--enable-xml' '--enable-ctype' '--enable-json' '--enable-pdo' '--with-curl' '--with-pdo-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-gd' '--with-jpeg-dir' '--with-vpx-dir' '--with-xpm-dir=/usr' '--enable-opcache' --enable-fpm |
adb shell am force-stop com.android.phone |
adb -d shell pm grant com.nolanlawson.logcat android.permission.READ_LOGS |