Skip to content

Instantly share code, notes, and snippets.

View DamnWidget's full-sized avatar

Oscar Campos DamnWidget

View GitHub Profile
@DamnWidget
DamnWidget / __init__.py
Created March 27, 2011 16:39
Goliat Environment Class
# -*- coding: utf-8 -*-
##
# Goliat: The Twisted and ExtJS Web Framework
# Copyright (C) 2010 Open Phoenix IT
#
# 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 (at your option) any later version.
#
@DamnWidget
DamnWidget / damnwidget-tree.xml
Created April 1, 2011 13:04
DamnWidget's Gentoo Overlay to install Tucan, Backharddi-NG, Goliat and others in Gentoo or Sabayon
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE repositories SYSTEM "/dtd/repositories.dtd">
<repositories xmlns="" version="1.0">
<repo quality="experimental" status="unofficial">
<name><![CDATA[DamnWidget]]></name>
<description><![CDATA[collection of ebuilds by DamnWidget]]></description>
<homepage>http://www.open-phoenix.com/</homepage>
<owner>
<email>damnwidget at gmail dot com</email>
</owner>
@DamnWidget
DamnWidget / section1.html
Created July 3, 2011 14:29
Section HTML5
<h1>Genbeta Dev</h1>
<section>
<header>
<h2>Editores</h2>
</header>
<p>Sigue todos los posts de nuestros editores en Genbeta Dev</p>
<section>
<header>
<h3>Txema Rodriguez</h3>
</header>
@DamnWidget
DamnWidget / section2.html
Created July 3, 2011 14:31
Section HTML5 con H1
<h1>Genbeta Dev</h1>
<section>
<header>
<h1>Editores</h1>
</header>
<p>Sigue todos los posts de nuestros editores en Genbeta Dev</p>
<section>
<header>
<h1>Txema Rodriguez</h1>
</header>
@DamnWidget
DamnWidget / default.css
Created July 3, 2011 18:26
CSS Default
/**
* Estilo por defecto
*/
body {
background: white url(../media/fondo.jpg) no-repeat 0 0;
margin: 0;
padding: 100px 0 0 75px;
}
h1 {
@DamnWidget
DamnWidget / print.css
Created July 3, 2011 18:35
CSS Printer
/**
* Estilo para impresoras
*/
body {
background: white url(../media/fondo_printer.jpg) no-repeat 0 0;
margin: 0;
padding: 100px 0 0 75px;
}
h1 {
@DamnWidget
DamnWidget / iphone.css
Created July 3, 2011 18:41
CSS iPhone
/**
* Estilo para dispositivos iPhone
*/
body {
-webkit-text-size-adjust: none;
background: rgb(102, 102, 102) url(../media/fondo_iphone.jpg) no-repeat center 0;
padding: 20px 5px 5px 5px;
}
h1 {
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
@DamnWidget
DamnWidget / intro_css3_media.html
Created July 3, 2011 18:56
Introducción a media queries Genbeta Dev
<!DOCTYPE html>
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<title>El Señor de los Poyaques</title>
<link rel="stylesheet" media="all" href="/css/default.css">
<link rel="stylesheet" media="print" href="/css/print.css">
<link rel="stylesheet" media="screen and (max-device-width: 480px) and (min-device-width: 320px;)" href="iphone.css">
</head>
@DamnWidget
DamnWidget / configure.patch
Created August 4, 2011 13:00
Parche para Zlib
--- configure.orig 2011-08-04 14:14:22.680047501 +0200
+++ configure 2011-08-04 14:14:57.000047642 +0200
@@ -105,8 +105,8 @@
if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then
CC="$cc"
- SFLAGS="${CFLAGS--O3} -fPIC"
- CFLAGS="${CFLAGS--O3}"
+ SFLAGS="${CFLAGS--O3} -fPIC -m32"
+ CFLAGS="${CFLAGS--O3} -m32"