Skip to content

Instantly share code, notes, and snippets.

View jonahoffline's full-sized avatar

Jonah Ruiz jonahoffline

View GitHub Profile
@jonahoffline
jonahoffline / salamaya.sh
Last active May 3, 2017 16:14
Simple script for getting a new macbook dev configured.
# Simple script for getting new mac setup
# Author: Jonah R <[email protected]>
#
# Check for Homebrew,
# Install if we don't have it
if test ! $(which brew); then
echo "Installing homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
@jonahoffline
jonahoffline / yandel.txt
Created October 8, 2015 12:34
ASCII Yandel
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''''''''''''''''
  • Give less fucks.

Common Terminal Commands

  • cd - Change directory
  • mkdir - Make directory
  • cat - Out the contents of a file
  • touch - create a file
  • rm - Delete file
  • ls - List
  • mv - Move a file
@jonahoffline
jonahoffline / nodeschool-PR-getting-ready.md
Created September 20, 2014 11:16
Getting your macbook ready for NodeSchool Puerto Rico

NodeSchool Puerto Rico

Getting your mac ready for the workshop

Install NVM (Node Version Manager)

curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | bash or wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | bash

@jonahoffline
jonahoffline / screenshots_iCloud.md
Created September 1, 2014 19:39
Save screenshots to iCloud Folder (OSX)

Change your default screenshots location (desktop)

defaults write com.apple.screencapture location folder_name_here

Example

Save screenshots to the 'Screenshots' folder (inside iCloud Drive)

defaults write com.apple.screencapture location ~/Library/Mobile\ Documents/com~apple~CloudDocs/Screenshots

@jonahoffline
jonahoffline / postgres_app_and_gem_install.md
Last active August 20, 2017 11:31
How to install the pg gem with Postgres.app

Install PG gem with Postgres.app

gem install pg -v '0.18.4' -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.5/bin/pg_config

.tab-pane {
display: none;
}
.tab-pane.active {
display: block;
}
.nav-tabs > li.active a {
color: red;
/* Put your CSS here */
html, body {
margin: 20px;
}
@jonahoffline
jonahoffline / supported_applications.yml
Created January 27, 2014 02:23
part of git-ignore.rb for Fernando
---
Applications:
- Actionscript
- Ada
- Agda
- Android
- AppceleratorTitanium
- Archives
- ArchLinuxPackages
- Autotools