This file contains hidden or 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
find . -type d -print0 | xargs -0 chmod 0755 # For directories | |
find . -type f -print0 | xargs -0 chmod 0644 # For files |
This file contains hidden or 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 | |
/* Designer randomnes */ | |
if($es_texto == 0 && $texto == 0){ | |
$es_texto = rand(0, 1); | |
}else{ | |
$es_texto = 0; | |
} | |
if($imagen == 2){ | |
$es_texto = 1; | |
} |
This file contains hidden or 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 | |
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; | |
query_posts($query_string .'&posts_per_page=12&paged=' . $paged); | |
?> |
This file contains hidden or 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
UPDATE wp_options SET option_value = replace(option_value, 'http://old.tld', 'http://new.tld') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET guid = replace(guid, 'http://old.tld','http://new.tld'); | |
UPDATE wp_posts SET post_content = replace(post_content, 'http://old.tld', 'http://new.tld'); |
This file contains hidden or 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
# Read about how to use .gitignore: http://h5bp.com/ae | |
# Numerous always-ignore extensions | |
*.diff | |
*.err | |
*.orig | |
*.log | |
*.rej | |
*.swo | |
*.swp |
This file contains hidden or 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
# Instala paquetes necesarios | |
sudo apt-get install postgresql | |
sudo apt-get install postgresql-server-dev-9.1 | |
sudo apt-get install python-pip | |
sudo apt-get install python-dev | |
sudo pip install virtualenv | |
sudo pip install virtualenvwrapper | |
# Crea y activa entorno virtual | |
virtualenv <nombre_proyecto> |
This file contains hidden or 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
<div | |
data-title="El Parlante Amarillo" | |
data-link="http://elparlanteamarillo.com/" | |
data-embed-feed="http://elparlanteamarillo.com/feed/"> </div> | |
<script> | |
window.EMBED_FEED_JQUERY_SRC = 'libs/jquery.js', | |
window.EMBED_FEED_JQUERY_FEEDS_SRC = 'libs/jquery.feeds.js'; | |
</script> | |
<script src="src/embed-feed.js"></script> |
This file contains hidden or 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
http://abi.bo | |
http://abn.info.ve | |
http://abpnoticias.com | |
http://actualidad.rt.com | |
http://afpnoticias.tk | |
http://ain.cu | |
http://alainet.org | |
http://albatv.org | |
http://anncol-brasil.blogspot.com | |
http://anncol1.blogspot.com |
This file contains hidden or 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 | |
# | |
# SIM 3.0 [[email protected]] | |
### | |
# Copyright (C) 1999-2005, R-fx Networks <[email protected]> | |
# Copyright (C) 2005, Ryan MacDonald <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or |
This file contains hidden or 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
#rotateDiv { | |
-webkit-transform:rotate(120deg); | |
-moz-transform:rotate(120deg); | |
-o-transform:rotate(120deg); | |
/* filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1.5); */ | |
-ms-transform:rotate(120deg); | |
transform:rotate(120deg); | |
} |