Skip to content

Instantly share code, notes, and snippets.


Charles Peterson Artistan

View GitHub Profile
Artistan /
Last active Sep 10, 2020
Using xcode beta in MacOS Big Sur 11.0

Beta Install


rbenv install 2.6.2
rbenv global 2.6.2

find the xcode path

xcrun --show-sdk-path

Artistan /
Created Aug 22, 2020 — forked from joseluisq/
Configure PHP Lumen 5 HTTP Exception Handlers with common JSON responses.

Lumen 5 HTTP Exception Handlers with JSON support.

Configure PHP Lumen 5 HTTP Exception Handlers with common JSON responses.



Copy (replace) only the attached files to their respective directories. app/Exceptions/Handler.php and app/Http/Middleware/Authenticate.php

Artistan / test.css
Last active Nov 16, 2019
css for vids
View test.css
.video-ad, .ad-support-desktop,
.xv-responsive #header {
.xv-responsive #page {
max-width: none;
View SkyvergeSamplePlugin.php
* Plugin Name: [Insert Name]
* Plugin URI: [Insert Plugin URL]
* Description: [Insert Short Description]
* Author: [Insert Your Name]
* Author URI: [Insert Your URL]
Artistan / tampermonkey-netchex-online-login.js
Created Jul 1, 2019
Netchex Online Login - trigger event to auto login.
View tampermonkey-netchex-online-login.js
// ==UserScript==
// @name netchexonline
// @namespace artistan
// @version 0.1
// @description skip username page
// @author You
// @match
// @require
// @require
// @grant all
View merge-request-icon-tampermonkey.js
// ==UserScript==
// @name MergeRequest Gitlab
// @namespace
// @version 0.1
// @author Artistan
// @include http://git*/merge_requests*
// @include https://git*/merge_requests*
// ==/UserScript==
var favicon_link_html = document.createElement('link');
Artistan /
Last active Apr 10, 2019 — forked from karlhillx/
Want to use Laravel and Font Awesome? (Regularly updated)

Laravel Mix & Font Awesome Setup: Compiling Assets

This document provides help on getting your Laravel instance running with the latest versions of Laravel Mix and Font Awesome.



Build your webpack.mix.js configuration.

View gist:1e811831f3af0282e5503daaa9c4e9bc
➜ ApacheHomestead git:(master) vagrant up
Vagrant failed to initialize at a very early stage:
There is a syntax error in the following Vagrantfile. The syntax error
message is reproduced below for convenience:
/Users/cpeterson/VirtualBox VMs/Configs/ApacheHomestead/Vagrantfile:13: syntax error, unexpected <<, expecting end-of-input
<<<<<<< HEAD
➜ ApacheHomestead git:(master) git commit -a
Artistan / Shapeoko Settings
Last active Jan 6, 2019
Shapeoko Settings Reference.
View Shapeoko Settings