Skip to content

Instantly share code, notes, and snippets.

View AlMaVizca's full-sized avatar
🏠
Working from home

Aldo AlMaVizca

🏠
Working from home
View GitHub Profile
@AlMaVizca
AlMaVizca / helpers.sh
Created September 13, 2019 07:24
Helpers for zsh
_git_path(){
git rev-parse --show-toplevel 2>/dev/null
}
cd(){
# first and foremost, change directory
builtin cd $argv 2> /dev/null
GIT_DIR=$(_git_path)
VPATH=.venv
- hosts: localhost
tasks:
- name: Add cloudflare
cloudflare_dns:
zone: "{{ zone }}"
record: "{{ record }}"
type: "{{ type }}"
value: "{{ destination }}"
solo: true
proxied: yes
@AlMaVizca
AlMaVizca / docker-compose.yml
Created August 7, 2018 11:36
graylog server
version: '2'
services:
# MongoDB: https://hub.docker.com/_/mongo/
mongodb:
image: mongo:3
# Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/5.6/docker.html
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.6.3
environment:
- http.host=0.0.0.0

Keybase proof

I hereby claim:

  • I am almavizca on github.
  • I am krahser (https://keybase.io/krahser) on keybase.
  • I have a public key ASAFCgeIqI8wMNfbSVQrMTTDJy3hyIkETm-2ETHiPvy9hQo

To claim this, I am signing this object:

@AlMaVizca
AlMaVizca / redmine-install.yml
Created November 2, 2014 23:21
ansible play redmine install
---
- name: Install version 2.5.2
hosts: Ansible
roles:
- { role: redmine, mysql_root_password: "dificil", db_host: "127.0.0.1", db_name: "redmine", db_username: "admin", db_password: "unaContrasenia", redmine_version: "2.5.2" }
@AlMaVizca
AlMaVizca / redmine-update.yml
Created November 2, 2014 23:19
ansible play redmine update
---
- name: Update to last version
hosts: Ansible
roles:
- { role: redmine, update: true, db_name: "redmine", db_username: "admin", db_password: "unaContrasenia"}
@AlMaVizca
AlMaVizca / gist:b11b23fb39fd5328b440
Last active October 17, 2018 05:07
Diferences in bison between: bison-2.6.4.tar.gz sources and git tag v2.6.4
We couldn’t find that file to show.