Skip to content

Instantly share code, notes, and snippets.

@jelcaf
jelcaf / Operaciones-Git
Last active May 15, 2024 15:31
Git Tips - Mini-trucos de Git para facilitarme la tarea
#############################################
# Push de la rama actual
git push origin $rama_actual
#############################################
# Volver a un commit anterior, descartando los cambios
git reset --HARD $SHA1
#############################################
# Ver y descargar Ramas remotas
@stchris
stchris / heise-notify.py
Created February 2, 2012 11:35
Python script to show twitter updates with pyinotify
#!/usr/bin/python
import pynotify
import twitter
import time
last_id = {}
users = ['heiseonline']
def notify(title, text):
notification = pynotify.Notification(title, text)