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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" > | |
<head><title> | |
Sistema de Información sobre calderas Eficientes | |
</title><link href="App_Themes/TemaIdae/IDAE.css" rel="stylesheet" type="text/css" /> | |
<style type="text/css"> |
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
/* Font face generator needed to IE family | |
* http://www.fontsquirrel.com/fontface/generator | |
*/ | |
@font-face { | |
font-family: 'Essays1743Italic'; | |
src: url('Essays1743-Italic.eot'); | |
src: local('☺'), url('Essays1743-Italic.ttf') format('truetype'); | |
} |
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
<%# From pretty_flash by rpheath (improved by pacoguzman) %> | |
<% if flash.any? -%> | |
<script type="text/javascript"> | |
$(function() { | |
setTimeout(hideFlashes, 5000); | |
}); | |
var hideFlashes = function() { | |
$("[id^='flash_']").fadeOut(1500); |
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
# Directly copied from eycap-0.5.2 (thanks!) | |
# | |
# With these tasks you can: | |
# - dump your production database and save it in shared_path/db_backups | |
# - dump your production into your local database (clone_to_local) | |
# | |
# Tested and fixed by fjguzman | |
Capistrano::Configuration.instance(:must_exist).load do | |
namespace :db 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
# Used to graph results from autobench | |
# | |
# Usage: ruby autobench_grapher.rb result_from_autobench.tsv | |
# | |
# This will generate three svg & png graphs | |
require "rubygems" | |
require "scruffy" | |
require 'csv' | |
require 'yaml' |
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
How to join/subscribe Google Groups without a Gmail ID: | |
http://groups.google.com/group/GroupName/boxsubscribe?email=myid |
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
# Apache configuration to remember | |
#NameVirtualHost *:80 # Better in apache2.conf | |
# Fix: "client denied by server configuration" | |
<Proxy *> | |
Order allow,deny | |
Allow from all | |
</Proxy> |
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
# Apache configuration to remember (only one mongrel) | |
<VirtualHost *:80> | |
ServerName foo.com | |
DocumentRoot /home/foo/rails/public | |
# Uncomment if need pass protection | |
#<Location / > | |
#AuthType Basic | |
#AuthName "Foo Auth." | |
#AuthUserFile /etc/apache2/password_file |
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
#!/bin/bash | |
# Show disk usage in directories | |
for file in `ls`; do sudo du -sh $file; done |
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
#!/bin/bash | |
# | |
# Instructions and dependencies: | |
# You must run it with admin privileges | |
# You need src2pkg to generate packages | |
# Working directory is where src and packages will be stored | |
# | |
# Based on scripts read in http://aldeby.org/blog/index.php/how-to-update-alsa-to-latest-version-easily.html | |
# Credits: | |
# 2007 Bob Nelson [email protected] |