Skip to content

Instantly share code, notes, and snippets.

View domix's full-sized avatar
🇲🇽

Domingo Suarez Torres domix

🇲🇽
View GitHub Profile
Nos complace anunciar que Spring Integration 2.1 Milestone 2 ya esta disponible. 74 incidencias fueron atendidas como se indica en las notas de liberación. Los JARs están disponibles en el repositorio Maven SpringSource Milestone y la descarga de la distribución está disponible en el sitio de Comunidad de SpringSource. Toda la documentación (manual de referencia y JavaDoc) están aquí.
@domix
domix / git_current_branch_in_PS1
Created October 20, 2011 18:55
My shell PS1 for displaying the current Git branch
export PS1="[\u@\h] \W \[\033[31m\]\`ruby -e \"print (%x{git branch 2> /dev/null}.grep(/^\*/).first || '').gsub(/^\* (.+)$/, '(\1) ')\"\`\[\033[00m\]$ "
@domix
domix / shell_activity.sh
Last active September 28, 2015 01:48
My shell activity
domix@raskolnikov:~
λ🍺 zsh_stats 0:25:00
1 1820 11.2617% brew
2 1743 10.7852% g
3 1617 10.0056% gs
4 1339 8.28538% cd
5 948 5.86597% ll
6 834 5.16057% grails
7 498 3.08149% ggpush
8 481 2.9763% http
@domix
domix / delAllKeysInRedis.sh
Created January 15, 2012 22:18
Delete all keys in Redis
redis-cli KEYS "*" | xargs redis-cli DEL
@domix
domix / PaymentStatus.groovy
Created May 8, 2012 22:03
Codenarc marks the following enum with UnnecessaryPackageReference violation
package com.company.payment
enum PaymentStatus {
APPROVED,
REJECTED,
CANCELLED,
UNDETERMINED
}
@domix
domix / lolcommits_random_commit.sh
Created May 17, 2012 21:21
Random commit photo from last day with #lolcommits
# Install first CoreUtils
open $(find ~/.lolcommits -type f -mtime -1 | gshuf -n 1)
dependencies {
test("org.spockframework:spock-grails-support:0.6-groovy-1.8") {
excludes 'spock-core'
}
test 'org.spockframework:spock-core:0.7-groovy-2.0-SNAPSHOT'
}
plugins {
test (':spock:0.6') {
excludes 'spock-grails-support'
@domix
domix / gist:4062469
Created November 12, 2012 22:32
job posting
Hola,
Estamos buscando un desarrollador Java para la ciudad de México, que tenga sólidos conocimientos de desarrollo web. Los requisitos son los siguientes:
Spring (requerido)
Hibernate (requerido)
JavaScript Vanilla (requerido)
Git (deseable)
JQuery (deseable)
Backbone (extra+++)
@domix
domix / mydashboard.json
Created August 17, 2013 16:43
My first kibana 3 dashboard
{
"title": "Introduction",
"services": {
"query": {
"idQueue": [
1,
2,
3,
4
@domix
domix / logstash
Created August 28, 2013 05:25 — forked from nodesocket/logstash
#! /bin/sh
#
# /etc/rc.d/init.d/logstash
#
# Starts Logstash as a daemon
#
# chkconfig: 2345 20 80
# description: Starts Logstash as a daemon
### BEGIN INIT INFO