Skip to content

Instantly share code, notes, and snippets.

View stellamiranda's full-sized avatar
:octocat:

Stella Miranda stellamiranda

:octocat:
View GitHub Profile
@zubaer-ahammed
zubaer-ahammed / Reset MySQL Root Password in Mac OS.md
Last active April 4, 2024 10:38
Reset MySQL Root Password in Mac OS

Reset mysql root password in Mac OS:

First Stop MySQL:

  1. Go to: 'System Preferences' >> 'MySQL' and stop MySQL

OR,

  1. sudo /usr/local/mysql/support-files/mysql.server start
  2. sudo /usr/local/mysql/support-files/mysql.server stop
@fernandoaleman
fernandoaleman / mysql2-mojave.md
Last active February 7, 2024 19:19
Install mysql2 on MacOS Mojave

For MacOS Catalina, visit Install mysql2 on MacOS Catalina

Problem

Installing mysql2 gem errors on MacOS Mojave.

Solution

Make sure openssl is installed on Mac via Homebrew.

@bubenkoff
bubenkoff / download_sentry_data.py
Created April 22, 2016 19:51
Download all sentry events for a project. Useful for data processing
"""Download sentry data.
usage:
python download_sentry_data.py <org>/<project> <api_key>
"""
import requests
import csv
@stellamiranda
stellamiranda / obi-wan
Last active September 15, 2019 01:52
Obiwan
Food:
Twice at day.
Obi doesn't eat much some times, that is normal, ideally will eat 1/2 cup of food on the morning, half on the afternoon. But being realistic, he eats less that it, unless he has been at the office running all day.
Pee:
2 or 3 times at day, depending on activity and water drink. If he stays at home, he could be just doing it at morning and evening. If going to the office, he can drink more water based on more activity and needs to be taken out just for pee after lunch.
Poo: