Skip to content

Instantly share code, notes, and snippets.

View antoniogiroz's full-sized avatar

Antonio Giroz antoniogiroz

View GitHub Profile
@antoniogiroz
antoniogiroz / main.dart
Created April 26, 2023 17:31
quintessential-dawn-9088
void main() {
}
@antoniogiroz
antoniogiroz / MySQL_macOS_Sierra.md
Created November 25, 2018 15:36 — forked from nrollr/MySQL_macOS_Sierra.md
Install MySQL on Sierra using Homebrew

Install MySQL on macOS Sierra

This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.

Install MySQL

At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :

@antoniogiroz
antoniogiroz / multi-git.md
Last active September 8, 2015 12:54 — forked from rosswd/multi-git-win.md
Setting up a Github and Bitbucket account on the same computer.

Setting up github and bitbucket on the same computer

Github will be the main account and bitbucket the secondary.

Create SSH Keys

ssh-keygen -t rsa -C "github email"

Enter passphrase when prompted. If you see an option to save the passphrase in your keychain, do it for an easier life.

@antoniogiroz
antoniogiroz / sublime-text-from-teminal.md
Last active August 29, 2015 13:55
Lanzar Sublime Text 2 Desde La Terminal en Mac OS X

##Lanzar Sublime Text 2 Desde La Terminal en Mac OS X

###Instalacion

La idea consiste en crear un binario en la carpeta /usr/local/bin basado en el archivo binario de sublime text 2.

ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
@antoniogiroz
antoniogiroz / Nginx.md
Last active August 29, 2015 13:55
Uso de Nginx

Comandos básicos de Nginx

Arrancar server (arranca por defecto en http://localhost:8080/)

$ sudo nginx

Parar server

$ sudo nginx -s stop

Cambiar el puerto

``

Launch Sublime Text 2 from the Mac OS X Terminal

Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.

open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl

You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html

Installation