Skip to content

Instantly share code, notes, and snippets.

View fedemp's full-sized avatar
💭
That aloof guy

Federico Panico fedemp

💭
That aloof guy
  • Argentina
  • 03:32 (UTC -03:00)
View GitHub Profile
@fedemp
fedemp / gist:69e1a4e8d6ad9138a37f
Created May 26, 2014 23:50
systemd-analyse @ home
32.693s netctl@wlan0\x2dbpm230.service
12.369s man-db.service
2.185s shadow.service
1.042s alsa-restore.service
940ms logrotate.service
876ms systemd-logind.service
779ms systemd-user-sessions.service
722ms systemd-remount-fs.service
650ms systemd-update-utmp.service
544ms systemd-tmpfiles-setup-dev.service
@fedemp
fedemp / userContent.css
Last active August 29, 2015 14:14
Eliminar paywal de lanacion.com.ar en Firefox
/*
En Windows deben abrir la carpeta %AppData%\Mozilla\Firefox\Profiles\
(ej: C:\Users\IEUser\AppData\Roaming\Mozilla\Firefox\Profiles
En Linux busquen ~/.mozilla/firefox/
Tienen que haber una carpeta con un nombre con caracteres al azar.
Dentro de esta carpeta tiene que haber otra llamada chrome
Si la carpeta chrome no existiese pueden crearla ahora.
Dentro de la carpeta chrome crear un nuevo archivo llamado userContent.css.
@fedemp
fedemp / fiddle.html
Created August 18, 2011 20:54
@Placeholder text should not be spell checked.
<!doctype html>
<title>@placeholder text should not be spell checked</title>
<textarea placeholder="foofoo"></textarea>
<p>Above textarea shows a red dotted bottom border in those browsers that try to check spelling on the placeholder.
<p>Even if the placeholder text was incorrect, to mark it as an error may cause frustation to the user since he cannot correct it.
<p>In Opera 11.50 the red border will appear after the textarea gains and loses focus for the first time.
@fedemp
fedemp / fiddle.css
Created September 19, 2011 20:11
Y.one, Y.all and $() return values
h1 {font: bold 1.25em sans-serif; margin: 0.75em 0}
ul {list-style-type: disc; padding: 0 0 0 5%}
body {line-height: 1.5}
b {font-family: monospace; background: yellow}
@fedemp
fedemp / 1.js
Created September 30, 2011 23:33
Some questions on Javascript
var b = undefined = 5;
var a;
if (b) a = 10;
console.log(a);
@fedemp
fedemp / fiddle.css
Created January 6, 2012 19:33
Nice buttons for Therma
input {
font-size: 12px;
border: 0;
cursor: pointer;
border-radius: 3px;
padding: 0 5px;
color: #fff;
font-weight: bold;
background: #ffa20d;
background: -moz-linear-gradient(top, #ffa20d 0%, #f98600 100%);
@fedemp
fedemp / index.markdown
Created March 28, 2012 19:28
Quick and dirty introduction to LESS

Quick and dirty introduction to LESS

Preproccesors and LESS

There are many CSS preproccesors currently in the wild. They work creating a new language sweeted with syntactic sugar that either redefines CSS syntax or simply reuses it with some special meanings added. The document created is finally compiled so it can actually work on any browser.

LESS, as one of this preproccesors, uses the same syntax of CSS so the preprocessor can understand already existing CSS code; this existing code can actually work as a base for a new project. Even though the similar syntax, the preprocessor expects files with the extension .less to make its work.

Having said this, it should be noted that this is actually valid LESS code:

@fedemp
fedemp / sms.css
Created March 29, 2012 19:57
css1k submission
html {
background: #333;
}
nav,
body {
width: 320px;
}
h1,
@fedemp
fedemp / featured-page-widget.php
Created April 3, 2012 01:08
featured-page-widget edited cause it breaks on one of my projects
@fedemp
fedemp / gist:3861704
Created October 9, 2012 21:58
Eclipse sources
http://download.aptana.com/tools/studio/plugin/install/studio
http://download.aptana.org/tools/studio/plugin/install/frameworks/
http://download.aptana.org/tools/studio/plugin/install/xul
http://update.eclemma.org/
http://download.eclipse.org/technology/epp/packages/galileo
http://findbugs.cs.umd.edu/eclipse/
http://download.eclipse.org/releases/galileo
http://alexwinston.github.com/RunJettyRun/site/update
http://m2eclipse.sonatype.org/update/