Skip to content

Instantly share code, notes, and snippets.

@claudiorrrr
claudiorrrr / README
Last active April 20, 2021 00:46 — forked from runbrun/addvhost.sh
bash script to create nginx virtual hosts
# README
This is a very basic repo. It consist in 2 files:
1. `addvhost.sh`
2. `wp.sh`
They will help you to streamline a basic virtual host configuration in a Ubuntu machine using Nginx. Also, in case you would like to chose Wordpress, the `wp.sh` script will guide you to install it without messing around with databases, etc. It will do everything automatically.
In a fresh machine, they should be used in order.
@claudiorrrr
claudiorrrr / wp.sh
Last active January 7, 2021 22:37 — forked from rjekic/wp.sh
Wordpress: Bash Install Script using wp-cli
#!/bin/bash -e
clear
echo "============================================"
echo "WordPress Install Script"
echo "============================================"
# Gathering database login credentials from user input
read -sp "Your mysql root password: " rootpasswd
echo
read -p "Database Name: " dbname
@claudiorrrr
claudiorrrr / calendario-copa-america-2019
Created April 22, 2019 22:23
calendario-copa-america-2019
BEGIN:VCALENDAR
METHOD:PUBLISH
VERSION:2.0
X-WR-CALNAME:Copa America Brasil 2019
PRODID:-//Flexibits Inc./Fantastical for Mac 2.5.7//EN
X-APPLE-CALENDAR-COLOR:#FF3D33
BEGIN:VTIMEZONE
TZID:America/Santiago
BEGIN:DAYLIGHT
TZNAME:GMT-3
@claudiorrrr
claudiorrrr / osx-setup.sh
Created April 6, 2018 16:42 — forked from somebox/osx-setup.sh
Set up an OSX machine from zero to awesome. Uses Homebrew (and cask, fonts, etc). Focused on Ruby/Rails development, includes rvm, xquartz, editor fonts, sublime text, and many tools.
#!/bin/bash
# A script to set up a new mac. Uses bash, homebrew, etc.
# Focused for ruby/rails development. Includes many utilities and apps:
# - homebrew, rvm, node
# - quicklook plugins, terminal fonts
# - browsers: chrome, firefox
# - dev: iterm2, sublime text, postgres, chrome devtools, etc.
# - team: slack, dropbox, google drive, skype, etc

Keybase proof

I hereby claim:

  • I am claudioruiz on github.
  • I am claudioruiz (https://keybase.io/claudioruiz) on keybase.
  • I have a public key ASCamUVodIs0CwtCCez_qcGVeNyyKP_nq33Hh7f6bazwNQo

To claim this, I am signing this object:

@claudiorrrr
claudiorrrr / .bash_profile
Created December 1, 2017 17:20 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management

Keybase proof

I hereby claim:

  • I am claudioruiz on github.
  • I am claudioruiz (https://keybase.io/claudioruiz) on keybase.
  • I have a public key ASCc5-m92_n8pGcCh5axdUrN5UVG3OFoAVif1dnxMAONUgo

To claim this, I am signing this object:

@claudiorrrr
claudiorrrr / osx-10.10-setup.md
Last active September 26, 2015 23:27 — forked from kevinelliott/osx-10.10-setup.md
Mac OS X 10.10 Yosemite Setup

Mac OS X 10.10 Yosemite

Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

Install Software