Skip to content

Instantly share code, notes, and snippets.

View leecrosdale's full-sized avatar
🎯
Focusing

Lee Crosdale leecrosdale

🎯
Focusing
View GitHub Profile
@leecrosdale
leecrosdale / Example.vue
Created July 9, 2019 10:32
Empty / Template VueJS Component
<template>
</template>
<script>
export default {
name: 'Example',
components: {},
props: {},
data() {
@leecrosdale
leecrosdale / i3-gaps.sh
Last active October 30, 2021 17:31 — forked from dabroder/i3-gaps.sh
Install i3-gaps, git, i3status and suckless tools on ubuntu 18.04
#!/bin/bash
sudo apt install -y git
sudo apt install -y libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev libxcb-*-dev autoconf libxcb-xrm0 libxcb-xrm-dev automake
cd /tmp
# clone the repository
git clone https://www.github.com/Airblader/i3 i3-gaps
cd i3-gaps
@leecrosdale
leecrosdale / web.php
Last active March 14, 2019 08:44
Use this to check whether your nginx/apache environment is set up correctly when using Laravel signed routes.
Route::get('url', function() {
$signature = \Illuminate\Support\Facades\URL::signedRoute('signedUrl');
return redirect($signature);
})->name('url');
Route::get('signedUrl', function() {
echo "If this function returns != 1, your environment isn't setup properly, check Nginx / Apache config <br/> ";