Skip to content

Instantly share code, notes, and snippets.

View achingachris's full-sized avatar
✈️
Flight24

C A achingachris

✈️
Flight24
View GitHub Profile
@achingachris
achingachris / laravel_valet_setup.md
Created February 6, 2023 18:54 — forked from bradtraversy/laravel_valet_setup.md
Laravel Valet install on mac

Laravel Valet Setup (Mac)

This will get you setup with Laravel & Valet on your Mac. Quentin Watt has a good video tutorial on getting setup here as well

Install Homebrew

Go to https://brew.sh/ and copy the command and run in your terminal

It will be something like this...

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

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

@achingachris
achingachris / FrontendFrameworksPopularity.md
Created September 18, 2022 22:12 — forked from tkrotoff/FrontendFrameworksPopularity.md
Front-end frameworks popularity (React, Vue, Angular and Svelte)

Findings: React is by far the most popular front-end framework/library (and continues to grow faster). In addition, React is more loved and "wanted" than other front-end frameworks (although it is more used: satisfaction tends to decrease with popularity).

Charts are from different sources and thus colors are inconsistent, please carefully read the chart's legends.

Like this? Check React Native vs Flutter: https://gist.github.com/tkrotoff/93f5278a4e8df7e5f6928eff98684979

Stack Overflow trends

https://insights.stackoverflow.com/trends?tags=reactjs%2Cvue.js%2Cangular%2Csvelte%2Cangularjs%2Cvuejs3

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@achingachris
achingachris / DEPLOYING-DJANGO-APPS-TO-HEROKU.md
Created February 20, 2020 21:00 — forked from newtonkiragu/DEPLOYING-DJANGO-APPS-TO-HEROKU.md
Deploying Django Applications to heoroku

How to Deploy Django Applications on Heroku

Install heroku CLI

Sign up to Heroku.

Then install the Heroku Toolbelt. It is a command line tool to manage your Heroku apps

After installing the Heroku Toolbelt, open a terminal and login to your account:

You will need to do the following in PHP -Laravel Framework or Python - (Django or Flask Framework) and Javascript. For this assessment you will need to create a public github repo and host the project on heroku .

Write a simple time management system.

  • User must be able to create an account and log in
  • User can add (and edit and delete) a row what he has worked on, what date, for how long.
  • Implement at least three roles with different permission levels: a regular user would only be able to CRUD on their owned records, a user manager would be able to CRUD users,