Skip to content

Instantly share code, notes, and snippets.

Robert Reiz reiz

View GitHub Profile
View bash_color.txt
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias ls='ls -GFh'
alias ll='ls -all'
@reiz
reiz / docker_cheat
Created Aug 9, 2017
Docker cheat sheet
View docker_cheat
docker rm $(docker ps -q -f status=exited)
docker rmi `docker images -aq`
View keybase.md

Keybase proof

I hereby claim:

  • I am reiz on github.
  • I am reiz (https://keybase.io/reiz) on keybase.
  • I have a public key whose fingerprint is B7DA 775A C2FE 5D35 8FB8 6FF6 4D08 59C9 8DAC 1206

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am reiz on github.
  • I am reiz (https://keybase.io/reiz) on keybase.
  • I have a public key whose fingerprint is B7DA 775A C2FE 5D35 8FB8 6FF6 4D08 59C9 8DAC 1206

To claim this, I am signing this object:

@reiz
reiz / CloudRailsVersionEyeTwilio.java
Last active Mar 4, 2016
CloudRail example code how to combine the VersionEye API with the Twilio API through the CloudRails SDK.
View CloudRailsVersionEyeTwilio.java
//Create all needed imports
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.List;
import com.cloudrail.exception.CloudRailException;
import com.cloudrail.userInterface.TextOnUpdate;
//These two are the event listeners for the functions in our Custom CloudRail API
@reiz
reiz / changelog.xml
Created Sep 11, 2015
changelog.xml for VersionEye Maven Plugin 3.5.1
View changelog.xml
<?xml version="1.0" encoding="UTF-8"?>
<changelog>
<revision_base>https://github.com/versioneye/versioneye_maven_plugin/commit/</revision_base>
<changeset datePattern="yyyyMMdd HH:mm:ss z" startVersion="3.5.0" endVersion="3.5.1">
<changelog-entry>
<date pattern="yyyy-MM-dd">2015-06-30</date>
<time pattern="HH:mm:ss">15:33:16</time>
<author><![CDATA[Robert Reiz <robert.reiz.81@gmail.com>]]></author>
<file>
<action>modified</action>
@reiz
reiz / Ansible EC2 example
Created Aug 13, 2015
Spin up a EC2 instance with Ansible, run a job and terminate the instance after job is done.
View Ansible EC2 example
---
- name: Create new instance
hosts: localhost
connection: local
remote_user: ubuntu
gather_facts: false
vars:
keypair: "id_rsa.pub"
instance_type: t2.medium
@reiz
reiz / Seamless web deployment with 1 loadbalancer and 3 application servers
Created Aug 13, 2015
Ansible Playbook for seamless deployment with Docker.
View Seamless web deployment with 1 loadbalancer and 3 application servers
---
- hosts: app_server_1
user: ubuntu
sudo: true
roles:
- docker_rails_app_build
- hosts: app_loadbalancer
user: ubuntu
@reiz
reiz / gist:d67512deee814705134e
Created May 5, 2015
Vagrantfile for a Java dev. environment with Oracle Java 8 and Eclipse.
View gist:d67512deee814705134e
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provider "virtualbox" do |vb|
vb.gui = true
@reiz
reiz / gist:0190f8503152f5af9e38
Created Jul 13, 2014
rubnius git master head installation error on ubuntu 13.10
View gist:0190f8503152f5af9e38
./configure --prefix=/rbx
------------------------- WARNING -----------------------
The specified prefix '/rbx' already exists.
Installing Rubinius into an existing directory may
overwrite existing unrelated files or cause conflicts
between different versions of Rubinius files.
---------------------------------------------------------
Checking gcc: found
Checking g++: found
Checking bison: found
You can’t perform that action at this time.