Skip to content

Instantly share code, notes, and snippets.

View iautom8things's full-sized avatar
🚀
🌔

Manuel Zubieta iautom8things

🚀
🌔
  • ChapterSpot
  • New Orleans
View GitHub Profile
@iautom8things
iautom8things / aliasfolders.sh
Created March 9, 2012 22:09
shell script for aliasing long path names
##################################
# folder shortcuts #
##################################
# - Use with "save >NICKNAME<" #
if [ ! -f ~/.dirs ]; then # if doesn't exist, create it
touch ~/.dirs
fi
#!/bin/sh
#$ -N MCAlgos
#$ -cwd
#$ -j y
#$ -S /bin/sh
unset SGE_ROOT
cat $TMPDIR/machines
[user]
name = Manuel Zubieta
email = mazubieta@gmail.com
[alias]
; ----------------------------- ;
; Shortcuts for common commands ;
; ----------------------------- ;
h = help
# Makefile for a go project
#
# Author: Jon Eisen
# site: joneisen.me
#
# Targets:
# all: Builds the code
# build: Builds the code
# fmt: Formats the source files
# clean: cleans the code
@iautom8things
iautom8things / random_new_line_from_file.sh
Created August 19, 2014 12:31
Concat a random line from one file to another file every few seconds.
do
head -$((${RANDOM} % `wc -l < from_file ` + 1)) from_file | tail -1 >> to_file
sleep 1.5
done
@iautom8things
iautom8things / .gitconfig
Created April 7, 2015 19:11
Git Config
[alias]
; ----------------------------- ;
; Shortcuts for common commands ;
; ----------------------------- ;
h = help
co = checkout
sm = submodule
st = status
stat = status
@iautom8things
iautom8things / kong.yml
Last active April 7, 2016 21:29
global name
---
- name: Install Oracle Java JDK
hosts: '{{ hosts }}'
tasks:
- name: say hello
command: touch hello.world
TASK [cassandra : Add (3 of 3) Cassandra Public Key] ***************************
fatal: [kong_test_qa]: FAILED! => {"changed": false, "cmd": "apt-key adv --keyserver pgp.mit.edu --recv 0353B12C", "failed": true, "msg": "gpg: requesting key 0353B12C from hkp server pgp.mit.edu\ngpg: no writable keyring found: eof\ngpg: error reading `[stream]': general error\ngpg: Total number processed: 0", "rc": 2, "stderr": "gpg: requesting key 0353B12C from hkp server pgp.mit.edu\ngpg: no writable keyring found: eof\ngpg: error reading `[stream]': general error\ngpg: Total number processed: 0\n", "stdout": "Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.mpHHPv7YFs --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver pgp.mit.edu --recv 0353B12C\n", "stdout_lines": ["Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.mpHHPv7YFs --no-auto-check-trustdb --trust-model alwa

Keybase proof

I hereby claim:

  • I am mazubieta on github.
  • I am zubnola (https://keybase.io/zubnola) on keybase.
  • I have a public key whose fingerprint is DEF4 CA24 D2B4 8DC8 3BCE 8CC1 1A35 FB43 28A2 8B03

To claim this, I am signing this object: