Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
That aloof guy

Federico Panico fedemp

💭
That aloof guy
  • Argentina
View GitHub Profile
@fedemp
fedemp / userContent.css
Last active Aug 29, 2015
Eliminar paywal de lanacion.com.ar en Firefox
View userContent.css
/*
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.
View gist:69e1a4e8d6ad9138a37f
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
View gist:7775677
https://github.com/noahfrederick/vim-noctu
View rxvt-unicode-spacing.patch
--- src/rxvtfont.C.bukind 2007-11-30 14:36:33.000000000 +0600
+++ src/rxvtfont.C 2007-11-30 14:39:29.000000000 +0600
@@ -1171,12 +1171,21 @@
XGlyphInfo g;
XftTextExtents16 (disp, f, &ch, 1, &g);
+/*
+ * bukind: don't use g.width as a width of a character!
+ * instead use g.xOff, see e.g.: http://keithp.com/~keithp/render/Xft.tutorial
+
View gtkrc-2.0
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
gtk-theme-name="Mint-Z"
gtk-icon-theme-name="Mint-X-Dark"
gtk-font-name="Segoe 10"
gtk-cursor-theme-name="DMZ-Black"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
View gist:3861704
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/
@fedemp
fedemp / index.markdown
Created Apr 12, 2012
Running Windows under Ubuntu to test in Internet Explorer
View index.markdown

How to test Internet Explorer 6 to 9 in Ubuntu

The final purpose of this tutorial is to have a Windows (XP, Vista, 7) running a native installation of Internet Explorer (6, 7, 8, 9). Windows will work as a guest in on Virtualbox running on Ubuntu. We will also make sure to have access to virtual hosts configured in the host OS.

Following steps have to be run on Ubuntu (or whatever flavor of Linux you have)

Download disk images of Windows

First step is to download Windows Virtual PC VHDs for testing websites with different Internet Explorer versions . These disk images are installations of different Windows versions with Internet Explorer installed. It's perfectly legal to use to any of these images; free as in beer.

Once you have download them, you will find that they are RAR files and one of them is an .exe file. Just rename the .exe file to .rar and we can continue.

@fedemp
fedemp / featured-page-widget.php
Created Apr 3, 2012
featured-page-widget edited cause it breaks on one of my projects
View featured-page-widget.php
@fedemp
fedemp / sms.css
Created Mar 29, 2012
css1k submission
View sms.css
html {
background: #333;
}
nav,
body {
width: 320px;
}
h1,
@fedemp
fedemp / index.markdown
Created Mar 28, 2012
Quick and dirty introduction to LESS
View index.markdown

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: