Get the metadata and contents of all files in a target Github repo using GraphQL
Github V4 GraphQL API
| <?php | |
| namespace App\Http\Middleware; | |
| use Closure; | |
| use Illuminate\Support\Facades\Vite; | |
| use Illuminate\Support\Str; | |
| /** | |
| * Simple Content Security Policy middleware. |
| #!/bin/bash | |
| # Colors | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| NO_COLOR='\033[0m' | |
| BLUE='\033[0;34m' | |
| YELLOW='\033[0;33m' | |
| NO_COLOR='\033[0m' |
| -- github.com/rsefer/hammerspoon-config | |
| --- === SDC Music === | |
| local obj = {} | |
| obj.__index = obj | |
| obj.name = "SpotifyListener" | |
| local trackNotification | |
| function trackString(artist, track) |
| opendb () { | |
| unset GREP_OPTIONS | |
| PORT="$(ddev describe | ggrep -Pio "(?<=port=)[0-9]*")" | |
| open mysql://db:[email protected]:${PORT}/db | |
| } |
| published: true |
| published: true |
Three Amigos
Example Mapping
| ## How to install mcrypt in php7.2 | |
| ## | |
| ## https://lukasmestan.com/install-mcrypt-extension-in-php7-2/ | |
| ## | |
| # | |
| # Check version php and pecl | |
| # | |
| php -v # if default php is not 7.2 then use /usr/bin/php7.2 instead php |