- Install GPG4Win.
- Start up Kleopatra (a UI tool from 1) and make sure your YubiKey is loaded there.
- You can also add GPG4Win to Startup folder using a link with this Target:
This will only load the agent at Startup, and you won't be bothered by any UI or tray agent."C:\Program Files (x86)\GnuPG\bin\gpg-connect-agent.exe" /bye
- You can also add GPG4Win to Startup folder using a link with this Target:
- Download wsl2-ssh-pageant into your Windows
%userprofile%/.ssh
directory (Windows dir is important for performance).
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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-'; | |
/** |