Skip to content

Instantly share code, notes, and snippets.

View luismayta's full-sized avatar
😎
life is fun, so is coding

Lucho Mayta luismayta

😎
life is fun, so is coding
View GitHub Profile
gource \
-s .06 \
-1280x720 \
--auto-skip-seconds .1 \
--multi-sampling \
--stop-at-end \
--key \
--highlight-users \
--user-image-dir "assets" \
--hide mouse,progress,filenames,dirnames \

Keybase proof

I hereby claim:

  • I am luismayta on github.
  • I am luismayta (https://keybase.io/luismayta) on keybase.
  • I have a public key ASArwx390ig6D5utCb4J_q-KSzNRBypqbGMV91qNInPxSgo

To claim this, I am signing this object:

- repo: git@github.com:pre-commit/pre-commit-hooks
sha: master
hooks:
- id: detect-private-key
files: ^(?!\.?git-crypt)
- id: check-merge-conflict
- id: trailing-whitespace
files: ^tf|-|\.(py|tfvars|tf|tfenv|env|yml|yaml|pem|key|mock)$
- id: end-of-file-fixer
files: ^tf|-|\.(py|tfvars|tf|tfenv|env|yml|yaml|pem|key|mock)$

Change Log

All notable changes to this project will be documented in this file. This file uses change log conention from Keep a CHANGELOG.

[Unreleased][unreleased]

[1.1.4] - 2016-05-28

  • #75
#!/usr/bin/env bash
# -*- coding: utf-8 -*-
ORIG_MSG_FILE="$1"
TEMP=`mktemp /tmp/git-XXXXX`
TICKETNO=`git branch | grep '^\*' | cut -b3- | sed 's/[a-z/]//g'`
(echo "[$TICKETNO]"; cat "$ORIG_MSG_FILE") > "$TEMP"
@luismayta
luismayta / supervisord-example.conf
Last active August 29, 2015 14:28 — forked from didip/supervisord-example.conf
Example configuration file for supervisord.conf
[unix_http_server]
file=/tmp/supervisor.sock ; path to your socket file
[supervisord]
logfile=/var/log/supervisord/supervisord.log ; supervisord log file
logfile_maxbytes=50MB ; maximum size of logfile before rotation
logfile_backups=10 ; number of backed up logfiles
loglevel=error ; info, debug, warn, trace
pidfile=/var/run/supervisord.pid ; pidfile location
nodaemon=false ; run supervisord as a daemon
#############################################
# 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
@luismayta
luismayta / zsh.md
Last active August 29, 2015 14:09 — forked from tsabat/zsh.md
<?php
// A query without any settings will use default values.
// This will result in a "*:*" query, 10 rows, all fields.
$query = new Solarium_Query_Select;
$result = $client->select($query);
echo 'Number of results found: ' . $result->getNumFound();
// The resultset is iterable, you could also use $result->getDocuments() to get an array with documents.