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:
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 \ |
I hereby claim:
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)$ |
All notable changes to this project will be documented in this file. This file uses change log conention from Keep a CHANGELOG.
#!/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" |
[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 |
Prereq:
apt-get install zsh
apt-get install git-core
Getting zsh to work in ubuntu is weird, since sh
does not understand the source
command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
<?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. |