Skip to content

Instantly share code, notes, and snippets.


Ali Raza a1iraxa

View GitHub Profile
a1iraxa /
Created Jul 24, 2020 — forked from msurguy/
List of open source projects made with Laravel

Other people's projects:

My projects (tutorials are on my blog at

View mysql

MySQL Cheatsheet

This is a collection of the most common commands I run while administering Mysql databases. The variables shown between the open and closed tags, "<" and ">", should be replaced with a name you choose. Mysql has multiple shortcut functions, starting with a forward slash, "". Any SQL command that is not a shortcut, must end with a semicolon, ";". You can use the keyboard UP and DOWN keys to scroll the history of previous commands you've run.


installation, Ubuntu 14.04

sudo apt-get update

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

a1iraxa / app-1.js
Created Mar 31, 2020 — forked from igorbenic/app-1.js
Using React to Render Content from WP REST API |
View app-1.js
class App extends React.Component {
render() {
return (
const element = <App />
a1iraxa / Component.jsx
Created Mar 29, 2020 — forked from krambertech/Component.jsx
ReactJS: Input fire onChange when user stopped typing (or pressed Enter key)
View Component.jsx
import React, { Component } from 'react';
import TextField from 'components/base/TextField';
const WAIT_INTERVAL = 1000;
const ENTER_KEY = 13;
export default class TextSearch extends Component {
constructor(props) {
a1iraxa /
Created Mar 28, 2020 — forked from karlhillx/
macOS High Sierra Setup: Homebrew + Apache + PHP + MariaDB + SSL

macOS High Sierra Setup: Homebrew + Apache + PHP + MariaDB + SSL

Homebrew Installation

First let's install Homebrew.

$ /usr/bin/ruby -e "$(curl -fsSL"

a1iraxa / # php - 2020-03-28_02-36-40.txt
Created Mar 28, 2020
php on macOS 10.15.3 - Homebrew build logs
View # php - 2020-03-28_02-36-40.txt
Homebrew build logs for php on macOS 10.15.3
Build date: 2020-03-28 02:36:40
a1iraxa / # php@5.6 - 2020-03-28_02-56-40.txt
Created Mar 28, 2020
php@5.6 (exolnet/deprecated/php@5.6) on macOS 10.15.3 - Homebrew build logs
View # php@5.6 - 2020-03-28_02-56-40.txt
Homebrew build logs for exolnet/deprecated/php@5.6 on macOS 10.15.3
Build date: 2020-03-28 02:56:40
a1iraxa /
Created Oct 18, 2019 — forked from vitorbritto/
Remove MySQL completely from Mac OSX

Remove MySQL completely

  1. Open the Terminal

  2. Use mysqldump to backup your databases

  3. Check for MySQL processes with: ps -ax | grep mysql

  4. Stop and kill any MySQL processes

  5. Analyze MySQL on HomeBrew:

    brew remove mysql
You can’t perform that action at this time.