Skip to content

Instantly share code, notes, and snippets.

View fmendozaro's full-sized avatar
🍵
[Drinks tea in Spanish]

Fernando Mendoza R. fmendozaro

🍵
[Drinks tea in Spanish]
View GitHub Profile
@ryanorsinger
ryanorsinger / fix_mysql_install
Last active May 22, 2020 15:01
Reinstall MySQL on a laptop that had an old version of homebrew installed
brew uninstall mysql
rm -rf /usr/local/var/mysql
sudo chown -R $(whoami) $(brew --prefix)/*
brew install mysql@5.7
If there are other problems, check out the link below:
https://gist.github.com/operatino/392614486ce4421063b9dece4dfe6c21
@jreich5
jreich5 / java-checklist.md
Last active June 7, 2019 18:42
Java Foundation Checklist

Java Fundamentals Checklist

The following are several points of competency and skill that are intended to help identify areas of additional practice and study. Not all answers are found in the Codeup curriculum.

Knowledge

Java I

  • I can explain how Java code runs: from being written to executing on an operation system.
  • I can explain the difference between a primitive type and a reference type in Java.
@robhrt7
robhrt7 / MySQL_5-7_macOS.md
Last active February 28, 2024 03:48 — forked from nrollr/MySQL_macOS_Sierra.md
Install MySQL 5.7 on macOS using Homebrew

This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).

Install MySQL 5.7 on macOS

This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)

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.
@ryanorsinger
ryanorsinger / gist:d112be5ada7ef2eefe9959a9e5aa7f9d
Last active February 25, 2018 06:18
FunctionalDrills.md

Setting up websockets in production

If you have a spring boot application that is using websockets, and you have a site deployed with the codeup tomcat setup, follow the instructions below:

Nginx Config

Add the following to the nginx config for your site in the location / block and restart nginx

@phillipsharring
phillipsharring / Kernel.php
Last active October 9, 2023 13:11 — forked from kkiernan/MySqlDump.php
Laravel Artisan command to perform MySQL Dump using database connection information in the .env file. Posted 2016 Jan. Unsupported. Forked from https://gist.github.com/kkiernan/bdd0954d0149b89c372a
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
@splacentino
splacentino / jsp.md
Last active February 24, 2023 09:22
A JSP cheat sheet

Java expression evaluated at run time.

Prototype

<%=     %>

Example