Skip to content

Instantly share code, notes, and snippets.

View diegorribeiro's full-sized avatar
🎯
Focusing

Diego Ribeiro diegorribeiro

🎯
Focusing
View GitHub Profile
@tringn
tringn / README.md
Last active October 11, 2024 14:46
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"

@ww9
ww9 / gist_markdown_examples.md
Last active November 1, 2024 11:49
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:
@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
@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
@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

@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