Skip to content

Instantly share code, notes, and snippets.

View shaz-r's full-sized avatar
πŸš€

Shaz Ravenswood shaz-r

πŸš€
View GitHub Profile
@shaz-r
shaz-r / .zshrc
Last active March 19, 2024 23:55
# Aliases
alias l='ls -lah'
## Android
export PATH=~/Library/Android/sdk/tools:$PATH
export PATH=~/Library/Android/sdk/platform-tools:$PATH
# NVM
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
"use strict";
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
// default font size in pixels for all tabs
@shaz-r
shaz-r / s4.md
Last active June 7, 2019 17:34
S4 To-Do List

To-do:

  • Purchase
  • Melbourne Delivery
  • Complete Condition Report: $300
  • RA-Aus Registration: $80
  • Hangerage: ??
  • Insurance: ??
  • Handheld Radio: $400
  • Circuits
@shaz-r
shaz-r / checklists.md
Last active June 20, 2019 06:20
Checklists

Flying Checklist(s)

Pre-Takeoff

Trims (Take off)
Mixture (Rich), Master (On), Magnetos (Both)
Primer (In / Locked)
Flaps (Check / Set)
Fuel (Right / Most)
Instruments (Set - Alt, DG, Radios)

@shaz-r
shaz-r / hello.ino
Created November 29, 2017 11:21
Getting the 8 digit display to say hello!
void clear(){
for (int i=2; i <= 9; i++){
digitalWrite(i, LOW);
}
}
void one(){
digitalWrite(9, HIGH);
digitalWrite(2, HIGH);
}
Add the following route to the `App\Http\routes.php`:
```
Route::post('artisan-scheduler', function(){
Artisan::call('schedule:run');
});
```
And add the following to a `cron.yaml` to the root of the project directory (where composer.json, phpunit.xml etc sit):
@shaz-r
shaz-r / git-deploy
Last active February 5, 2017 23:21
Deployment to a web-server using Git
- Initialize bare repo in remote host
- Post-recieve hook to checkout files into dir
- Add line for composer install too
#!/bin/sh
echo "Checking out:"
GIT_WORK_TREE=/var/www/dirname git checkout -f
@shaz-r
shaz-r / vimrc
Last active December 11, 2015 12:58
set nocompatible " be iMproved, required
filetype off " required
" Set path for Vundles and start!
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
" Vundle Plugins!
Plugin 'bling/vim-airline' " Awesome info bar