This file contains 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
#plano_real[name="Línea 1"] { | |
line-color: #30a3dc; | |
} | |
#plano_real[name="Línea 2"] { | |
line-color: #cd031f; | |
} | |
#plano_real[name="Línea 3"] { | |
line-color: #ffe114; | |
} | |
#plano_real[name="Línea 4"] { |
This file contains 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
var normalize = (function() { | |
var from = "ÃÀÁÄÂÈÉËÊÌÍÏÎÒÓÖÔÙÚÜÛãàáäâèéëêìíïîòóöôùúüûÑñÇç", | |
to = "AAAAAEEEEIIIIOOOOUUUUaaaaaeeeeiiiioooouuuunncc", | |
mapping = {}; | |
for(var i = 0, j = from.length; i < j; i++ ) | |
mapping[ from.charAt( i ) ] = to.charAt( i ); | |
return function( str ) { | |
var ret = []; | |
for( var i = 0, j = str.length; i < j; i++ ) { | |
var c = str.charAt( i ); |
This file contains 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
SELECT DISTINCT `title` | |
FROM `aggregator_item` | |
WHERE `title` IN | |
(SELECT * | |
FROM | |
(SELECT DISTINCT `title` | |
FROM {aggregator_item} ORDER BY `iid` desc limit $first_page, $last_page) as titles) |
This file contains 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 | |
$form['#prefix'] = '<div id="wrapper-form">'; | |
$form['#suffix'] = '</div>'; | |
$form['hidden_tipo'] = array( | |
'#type' => 'hidden', | |
'#value' => $tipo, | |
); | |
This file contains 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
##### Meter en el .bashrc ################################ | |
export PATH="$PATH:/usr/local/share/drush:/usr/local/bin" | |
export http_proxy=http://user:pass@IP:Port | |
export ftp_proxy=http://user:pass@IP:Port | |
## Recargar el fichero .bashrc sin tener que reiniciar la consola | |
source ~/.bashrc | |
##### Meter en el /etc/apt/sources.list ################## | |
# non free packages | |
deb http://ftp.fr.debian.org/debian/ squeeze non-free |
This file contains 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
; This file was auto-generated by drush make | |
core = 7.x | |
api = 2 | |
projects[drupal][version] = "7.x" | |
; Profiles | |
; Please fill the following out. Type may be one of get, git, bzr or svn, | |
; and url is the url of the download. | |
projects[soc][download][type] = "" |
This file contains 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
# Installing ia32-libs | |
apt-get install ia32-libs | |
# Installing LAMP | |
apt-get install mysql-server | |
apt-get install phpmyadmin | |
# Installing browsers | |
apt-get install chromium |
This file contains 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
# Configurations of editor and bash | |
# as root, in /etc/vim/vimrc uncomment | |
syntax on | |
# as root, in /etc/bash.bashrc add after 'alias ls' | |
alias ll='ls -l --color=auto' | |
# Config for apache, php, mysql,... | |
cd /etc/apache2/mods-enabled/ | |
ln -s ../mods-available/rewrite.load |
This file contains 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 | |
/** | |
* @file | |
* Fichero de funcionalidad de módulo de lowercase. | |
*/ | |
define("LOWERCASE_BY_DEFAULT", 0); | |
define("LOWERCASE_CACHE_PREFIX", "idn_lw1_"); | |
define("LOWERCASE_CACHE_PREFIX_2", "idn_lw2_"); |
This file contains 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
RewriteEngine on | |
#if the file does not have one of theses extensions | |
RewriteCond %{REQUEST_URI} !\.(png|jpg|jpeg|gif|js|css|zip|pdf)$ | |
#then it should be marked as forbidden. | |
RewriteRule .*$ - [F] |
OlderNewer