Skip to content

Instantly share code, notes, and snippets.

View LuisFcoOrtiz's full-sized avatar
:shipit:
kept you waiting, huh

Luis Manrique LuisFcoOrtiz

:shipit:
kept you waiting, huh
View GitHub Profile
@JuanMaRuiz
JuanMaRuiz / comandos-git.md
Last active August 20, 2019 22:21
Comandos de git
@bertocq
bertocq / atajosEclipse.textile
Last active July 8, 2024 10:08
Atajos de teclado para Eclipse

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,…)
@niksumeiko
niksumeiko / git.migrate
Last active July 19, 2024 21:32
Moving git repository and all its branches, tags to a new remote repository keeping commits history
#!/bin/bash
# Sometimes you need to move your existing git repository
# to a new remote repository (/new remote origin).
# Here are a simple and quick steps that does exactly this.
#
# Let's assume we call "old repo" the repository you wish
# to move, and "new repo" the one you wish to move to.
#
### Step 1. Make sure you have a local copy of all "old repo"
### branches and tags.
@LuisFcoOrtiz
LuisFcoOrtiz / utilComandos.sh
Last active July 8, 2024 09:01
Recopilación de comandos linux útiles (SysAdmin) || linux commands compilation for SysAdmin
LISTADO DE COMANDOS LINUX ÚTILES PARA SysAdmin
* inxi -Fxn => Muestra la información principal del equipo (https://www.comoinstalarlinux.com/inxi-un-comando-linux-para-saber-mucho-de-tu-eqiuipo/)
* eject -r => Expulsa el CD (No muy util pero sirve para trollear a otro por ssh)
* lsb_release -a => Conocer versión sistema
* df -h => muestra la capacidad de memoria de los dispositivos del sistema y su uso
* du -sh => muestra la capacidad de disco utilizada en el directorio actual
* lsblk -fm => estructura de particiones y HDD
* iptables -L => Listado de Ip tables