Skip to content

Instantly share code, notes, and snippets.

View javifelices's full-sized avatar

Javi Felices javifelices

View GitHub Profile
#!/bin/bash
# This will remove Apache
sudo service apache2 stop
sudo apt-get purge apache2 apache2-utils apache2.2-bin
sudo apt remove apache2.*
sudo apt-get autoremove
whereis apache2
sudo rm -rf /etc/apache2
@javifelices
javifelices / web-servers.md
Created January 25, 2017 17:00 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@javifelices
javifelices / CSS-Tools.md
Created January 25, 2016 21:33 — forked from nucliweb/CSS-Tools.md
CSS Tools
@javifelices
javifelices / Curso-DevTools.md
Created December 3, 2015 20:42 — forked from nucliweb/Curso-DevTools.md
Desarrollo Frontend con Developer Tools
* {
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
}

Atajos de teclado para Eclipse (y derivados como ZendStudio)

Para editar un comando: Window → Preferences → General → Keys

Edición

Ctrl+D elimina la línea actual (en la que se encuentra el cursor)
Ctrl+Shift+F formatear código (tabulaciones, saltos de línea,…)