git checkout master
git pull --rebase origin master
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
# Base | |
USER_DIRECTORY="$(cd ~ && pwd)" | |
ROOT_DIRECTORY="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" | |
LOCK_FILE="${ROOT_DIRECTORY}/.deploy.lock" | |
NOW=$(date -u +"%Y%m%d%H%M%S") | |
LOG_FILE="${ROOT_DIRECTORY}/.deploy.${NOW}.log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Responses; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Storage; | |
class S3FileStream | |
{ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$combinations = [ | |
[-40, -50], | |
[-40, 0], | |
[-40, 50], | |
[-40, 100], | |
[-40, 60.8], | |
[-40, -60.8], | |
[0, -50], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Automatic channel tab switch | |
// @namespace http://tampermonkey.net/ | |
// @version 0.5 | |
// @description Switches automatically to the videos tab if a channel or user page is requested | |
// @author Jason Schilling <jason.schilling@sourecode.de> | |
// @updateURL https://gist.github.com/chapterjason/63d2273f3d02a4ad40fd789101f8991d/raw/auto-switch.js | |
// @downloadURL https://gist.github.com/chapterjason/63d2273f3d02a4ad40fd789101f8991d/raw/auto-switch.js | |
// @match https://www.youtube.com/* | |
// @run-at document-end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Copyright Jason Schilling | |
**/ | |
interface DynamicMethodsAwareInterface | |
{ | |
} | |
trait DynamicMethodsAwareTrait |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO off | |
SETLOCAL EnableDelayedExpansion | |
FOR /f "delims=" %%x IN (.env) DO ( | |
SET "VAR=%%x" | |
IF NOT "!VAR:~0,1!" == "#" ( | |
ECHO setting %%x | |
SET "%%x" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* ============================== | |
* Configuration | |
* ============================== | |
**/ | |
$elementSeparator: '__'; | |
$modifierSeparator: '--'; | |
$statePrefix: '.is-'; | |
/** |