Skip to content

Instantly share code, notes, and snippets.

View diegorribeiro's full-sized avatar
🎯
Focusing

Diego Ribeiro diegorribeiro

🎯
Focusing
View GitHub Profile
@mbinna
mbinna / podforceupdate.sh
Created December 4, 2012 09:43
Clear CocoaPods cache, re-download and re-install all pods
#!/usr/bin/env bash
rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "`pwd`/Pods/"
pod update
@benstr
benstr / readme.md
Created January 31, 2014 22:11
Gist Markdown Cheatsheet

#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6


Paragraph

@fernandodebrando
fernandodebrando / Dockerfile
Created July 10, 2016 03:54
Criando um ambiente de desenvolvimento PHP com Docker Compose
FROM php:5.6-apache
RUN docker-php-ext-install mysqli
@xpepper
xpepper / How to uninstall older versions of JDK on a OSX machine.md
Last active May 20, 2024 13:07
How to uninstall older versions of JDK on a OSX machine

How to cleanly uninstall older versions of JDK on a OSX machine

Say you want to remove the JDK 1.8.0_161:

Check that's installed with ls -1 /Library/Java/JavaVirtualMachines

for example:

$ ls -1 /Library/Java/JavaVirtualMachines
jdk1.7.0_80.jdk
@ww9
ww9 / gist_markdown_examples.md
Last active June 25, 2024 19:25
Gist markdown examples

Gist markdown examples

A collection of Markdown code and tricks that were tested to work in Gist.

This and all public gists in https://gist.github.com/ww9 are Public Domain. Do whatever you want with it including , no need to credit me.

Todo

  • Reformat this whole document and assimilate these:
@tringn
tringn / README.md
Last active May 31, 2024 15:40
Install OhMyZsh with agnoster theme in MacOS Catalina Terminal

Step 1: Install Zsh (this may not be necessary because Zsh has been installed in MacOs Catalina)

brew install zsh

Step 2: Install OhMyZsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Step 3: Change shell in Mac Terminal from Bash to Zsh

chsh -s /bin/zsh

Step 4: Open ~/.zshrc, change ZSH_THEME from "robbyrussell" to "agnoster"