Skip to content

Instantly share code, notes, and snippets.

View Artistan's full-sized avatar

Charles Peterson Artistan

View GitHub Profile

Screen Quick Reference


Description Command
Start a new session with session name screen -S <session_name>
List running sessions / screens screen -ls
Attach to a running session screen -x
Attach to a running session with name screen -r
Artistan /
Last active September 10, 2020 02:32
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 August 22, 2020 19:11 — 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 /
Last active March 17, 2020 16:02
Elasticsearch Aggregations
Artistan / test.css
Last active November 16, 2019 13:41
css for vids
.video-ad, .ad-support-desktop,
.xv-responsive #header {
.xv-responsive #page {
max-width: none;
Artistan / SkyvergeSamplePlugin.php
Created July 8, 2019 16:30
wordpress plugin example
* 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 July 1, 2019 13:30
Netchex Online Login - trigger event to auto login.
// ==UserScript==
// @name netchexonline
// @namespace artistan
// @version 0.1
// @description skip username page
// @author You
// @match
// @require
// @require
// @grant all
// ==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 April 10, 2019 12:19 — 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.

Artistan / gist:1e811831f3af0282e5503daaa9c4e9bc
Created January 14, 2019 18:47
apache stalls on vagrant up
➜ 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