Artisan Cheat Sheet

 Laravel

Displays help php artisan --help OR -h Do not output any message php artisan --quiet OR -q Display this application version php artisan --version OR -V Do not ask any

Curl

 PHP

Various Curl Requests GET w/ Auth Basic $uriPath = "https://test.dev"; $client = curl_init($uriPath); curl_setopt($curl, CURLOPT_HTTPGET, TRUE ); curl_setopt($client, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl,

Import a Large File MySQL

 MySQL

Every once in a while I have to import a large SQL file and have to look up the best way to do it. This method has worked for me

Counting Vowels and Consonants

This script takes a user input and counts the number of vowels and consonants that it finds. It prints the results at the end. By matching the vowels and consonants

Iteration

Repeated execution of a set of statements is called iteration. It can be used in many various situations. The first script just counts the total number of steps to iterate

Divisible Numbers

 Python

This script tests if an integer is divisible by 2 or 3. It asks for user input and prints a response after running multiple test statements. This is also an

Advanced Even or Odd

 Python

After writing the last post I wondered what would happen if the user didn't enter a number. It caused a value error, so I wrote another script that starts a

Even or Odd

 Python

This script takes in an integer and Displays whether the number is Even or Odd #Accepts user input and converts the string to an integer x = int(input('Enter an

Hello World

Obligatory first post. print('Hello World')