Skip to content

Instantly share code, notes, and snippets.

View deardooley's full-sized avatar

Rion Dooley deardooley

View GitHub Profile
@arax
arax / OIDC.jpg
Last active October 23, 2023 17:31
OpenStack with OpenID Connect and OAuth 2.0
OIDC.jpg
@rahman541
rahman541 / README.md
Last active August 31, 2021 04:34 — forked from ArrEssJay/env.conf
ngrok / ngrok2 systemd script + config
cd ~
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip -P ~
unzip ngrok-stable-linux-amd64.zip
sudo mv ngrok /usr/local/bin/
# To test out ngrok ssh background
ngrok tcp 22 --log=stdout > ~/ngrok.log &
# To copy token goto: https://dashboard.ngrok.com/get-started
ngrok authtoken ...
nano ~/.ngrok2/ngrok.yml
@hadley
hadley / shiny-oauth.r
Last active November 2, 2024 01:26
Sketch of shiny + oauth
library(shiny)
library(httr)
# OAuth setup --------------------------------------------------------
# Most OAuth applications require that you redirect to a fixed and known
# set of URLs. Many only allow you to redirect to a single URL: if this
# is the case for, you'll need to create an app for testing with a localhost
# url, and an app for your deployed app.
@ddonovan
ddonovan / event.php
Created June 26, 2014 15:07
Laravel / Github Webhooks
Event::listen('github.webhook', function($payload)
{
Log::info('Github Webhook Push Event fired');
Log::info('Deploying new code because of a commit push by ' . $payload->head_commit->author->name);
Log::info('Deploying commit ID : ' . $payload->after);
// really only need to use this if you have ngrok running and testing the webhook code.
if (App::environment('local'))
{
@ngopal
ngopal / alarm_clock_spotify.scpt
Created August 13, 2012 21:02
Setup your mac to use Spotify as your alarm clock
# In order to use this script, you must replace 'YOURUSERNAMEHERE' with your Spotify username.
# Execute this script like so: 'osascript alarm_clock_spotify.scpt' (without single-quotes obviously)
# Full explanation here: http://www.nikhilgopal.com/2011/08/show-and-tell-applescript-spotify-alarm.html
# If you would like to specify a playlist, please refer to this gist: https://gist.github.com/3344118
set volume 2
open location "spotify:user:YOURUSERNAMEHERE:playlist:muzic"
tell application "Spotify"
set the sound volume to 0
play