$ xcode-select --install
$ softwareupdate --list
<?php | |
return PhpCsFixer\Config::create() | |
->setRules(array( | |
'@PSR2' => true, | |
'indentation_type' => true, | |
// for indentation to work: 1 of 2. Works! | |
'array_indentation' => true, |
<?php | |
namespace App\Traits; | |
use DateTimeImmutable; | |
use Laravel\Passport\Bridge\Scope; | |
use Modules\User\Models\User; | |
use GuzzleHttp\Psr7\Response; | |
use Illuminate\Events\Dispatcher; | |
use Laravel\Passport\Bridge\AccessToken; |
<?php | |
use PhpCsFixer\Config; | |
use PhpCsFixer\Finder; | |
$rules = [ | |
'binary_operator_spaces' => [ | |
'operators' => ['=>' => null] | |
], | |
'blank_line_after_namespace' => true, |
<?php | |
// Remove the Tax Line item from the cart. | |
function wc_remove_cart_tax_totals( $tax_totals, $instance ) { | |
if( is_cart() ) { | |
$tax_totals = array(); | |
} | |
return $tax_totals; | |
} |
#SwitchResX Settings for LG 21:9 UltraWide
SwitchResX is a utility that allows users to override the default resolution settings in OSX. For more information, including download links, vist http://www.madrau.com/ .
##Disabling System Integrity Protection (SIP)
If you are running OSX 10.11 or higher, SIP must be disabled. To disable SIP do the following:
- Boot into the recovery partition by pressing CMD + R when starting up your Mac.
- Once in recovery mode, open a terminal window.
- Type the command csrutil disable
#Install Ruby and Rails on El Capitan The following procedure was used to install the required components on El Capitan (clean install)
First make sure Xcode Command Line Tools are installed.
Open Terminal and enter: xcode-select --install
you will be prompted to start the installation. Once finished proceed..
##Install Homebrew Important Notice: Homebrew and El Capitan, make sure to read the article!
- Enter the following command:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
#!/bin/bash | |
# | |
# Simple Main Logic Board (MLB) Serial Generator Script by TheRacerMaster | |
# Based off the work of Hanger1, AGuyWhoIsBored & Alien:X | |
# NOTE: This is a simple script that doesn't do any checking of other SMBIOS values. It needs valid SMBIOS data which includes the following: | |
# - Valid SmUUID value in Clover config.plist under SMBIOS (generated using uuidgen) | |
# - ROM value set to UseMacAddr0 in Clover config.plist (uses MAC address of your first NIC as ROM value) | |
# - Properly formatted serial number (doesn't have to be a real one, just formatted properly) in Clover config.plist under SMBIOS | |
# - Don't use a generic serial number (such as Clover's default)! It needs to be at least semi-unique. | |
# - Try using a generated serial number that isn't real (but formatted correctly) from Clover Configurator, Chameleon Wizard, etc. |