Skip to content

Instantly share code, notes, and snippets.

View davidpeach's full-sized avatar
🖥️
I use Arch btw

David Peach davidpeach

🖥️
I use Arch btw
View GitHub Profile
@davidpeach
davidpeach / web.phpstormtest.php
Created December 17, 2021 16:17
Creating a gist from PHP Storm
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
@davidpeach
davidpeach / laravel-ci.yml
Created September 13, 2022 10:45
Github Actions CI file to run Pint, Larastan and Tests in parallel
name: Laravel
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "main" ]
jobs:
setup:
@davidpeach
davidpeach / laravel-ci.yml
Created January 12, 2023 12:13
My default CI workflow yaml for Laravel projects
name: Tests
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "main" ]
jobs:
setup:
@davidpeach
davidpeach / Installation.sh
Last active June 5, 2023 17:37
Arch Linux Installation on EFI laptop (Thinkpad T470)
# These are the steps I take to install a fresh copy of Arch Linux on to my Lenovo Thinkpad T470
# Spec: i5; 16gb RAM; Integrated Intel 620 graphics; SSD;
# This will go from the very start up to having a base installation ready to add you chosen window manager or desktop environment.
# Make a bootable usb stick with the latest version of Arch Linux on.
# Plug to into computer and boot.
# Connecting to Internet (wifi)
iwctl device list
use DavidPeach\Fluid\MyProcessor;
require_once '../vendor/autoload.php';
$process = new MyProcessor(10);
library("tidyverse")
data <- read.csv("props.csv")
data %>%
filter(Semi_Detached_Average_Price < 200000) %>%
filter(Semi_Detached_Average_Price > 180000) %>%
filter(
Region_Name == "Warwickshire" |
Region_Name == "Staffordshire" |
Region_Name == "London"
) %>%
@davidpeach
davidpeach / t490-arch-install-steps.sh
Created September 19, 2023 13:47
T490 arch install steps
# These are the steps I take to install a fresh copy of Arch Linux on to a Lenovo Thinkpad T490
# Spec: i7; 40gb RAM;
# This will go from the very start up to having a base installation ready to add you chosen window manager or desktop environment.
# Make a bootable usb stick with the latest version of Arch Linux on.
# Plug to into computer and boot.
# Connecting to Internet (wifi)
iwctl device list