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
<rule name="Redirigir a index.php" patternSyntax="Wildcard" stopProcessing="true"> | |
<match url="*" ignoreCase="true" /> | |
<conditions logicalGrouping="MatchAll"> | |
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> | |
</conditions> | |
<action type="Rewrite" url="index.php" appendQueryString="true" /> | |
</rule> |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
/* | |
* You have to include oauth.js and sha1.js from here http://oauth.googlecode.com/svn/code/javascript/ | |
* / | |
var url = "https://userstream.twitter.com/2/user.json"; | |
var accessor = { | |
token: "", | |
tokenSecret: "", | |
consumerKey : "", | |
consumerSecret: "" |
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
/* OAuthSimple | |
* A simpler version of OAuth | |
* | |
* author: jr conlin | |
* mail: [email protected] | |
* copyright: unitedHeroes.net | |
* version: 1.2 | |
* url: http://unitedHeroes.net/OAuthSimple | |
* | |
* Copyright (c) 2011, unitedHeroes.net |
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
##Necesita tener slock | |
echo " Apagando pantalla" | |
slock & | |
sleep 1 && xset dpms force off | |
proceso="pidof slock" | |
while $proceso | |
do |
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
# Instalando Cosas | |
programas="openbox xcompmgr transset-df feh tint2 chromium firefox pidgin gimp libreoffice lxterminal thunar gnome-icon-theme viewnior leafpad openssh" | |
echo "Se van a instalar los programas" | |
echo $programas | |
su -c "pacman -S $programas" | |
#su -c "pacman -S xcompmgr transset-df feh tint2 chromium firefox pidgin gimp libreoffice lxterminal thunar" |
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
#include <stdlib.h> | |
typedef struct Nodo{ | |
int info; | |
struct Nodo *sig; | |
} *Pila; | |
Pila empty(){ | |
return NULL; | |
} |
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
<script type="text/javascript"> | |
var millisecs_per_day=86400000 | |
var evnt_name=""//Used during the event | |
var evnt_name_before=""//Used before the event | |
var evnt_name_after=""//Used after the event | |
var evnt_duration=7 //Event duration in days | |
var countdown_time=Date.UTC(2011,6,18, -5);//Year, mont, day. Dont know why the mont is minus 1. | |
var now=new Date(); | |
var now_millisecs=now.valueOf(); |