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
#TabsToolbar { | |
height: 32px; | |
} | |
#TabsToolbar > .toolbar-items, | |
#TabsToolbar > .titlebar-spacer { | |
visibility: hidden | |
} | |
#nav-bar { |
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
var express = require('express'); | |
var passport = require('passport'); | |
var Strategy = require('passport-openidconnect').Strategy; | |
// Configure the OpenID Connect strategy for use by Passport. | |
// | |
// OAuth 2.0-based strategies require a `verify` function which receives the | |
// credential (`accessToken`) for accessing APIs on the user's behalf, along | |
// with the user's profile. The function must invoke `cb` with a user object, |
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
### Keybase proof | |
I hereby claim: | |
* I am stevenmirabito on github. | |
* I am stevenmirabito (https://keybase.io/stevenmirabito) on keybase. | |
* I have a public key ASCTBupal6klr2EWt2JHI9AIWn_z7AO7jK5WUWvgIBHc8go | |
To claim this, I am signing this object: |
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
#!/bin/bash | |
# Network Namespace Manager | |
# Author: Steven Mirabito ([email protected]) | |
# Must run as root to manage namespaces | |
if [ $EUID != 0 ]; then | |
sudo "$0" "$@" | |
exit $? | |
fi |
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
#!/bin/bash | |
# Cloud9 IDE Launcher | |
# Author: Steven Mirabito ([email protected]) | |
# Configuration | |
C9_IP=127.0.0.1 | |
C9_PORT=8080 | |
C9_HOME=$HOME/.c9 | |
C9_APPDIR=$HOME/.cloud9 |
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
#!/bin/bash | |
# Asterisk System Recording Tester | |
# Author: Steven Mirabito ([email protected]) | |
# Usage | |
usage () { | |
echo "Calls the desired extension and plays an Asterisk system recording." | |
echo "Usage: record-test -e <extension> -r <recording> [-e language]" | |
exit | |
} |
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
#!/bin/bash | |
# CS2 Lab Git Repo Creation Script | |
# Author: Steven Mirabito ([email protected]) | |
# Server | |
CS_SERVER="orbison.cs.rit.edu" | |
# Username | |
CS_USER="stm4445" |
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
upstream php-fpm { | |
# Path to PHP-FPM socket | |
server unix:/var/run/php-fpm/php-fpm.sock; | |
} | |
server { | |
# Listen on port 80 for non-SSL connections | |
listen 80; | |
server_name YOURDOMAIN.XYZ; |
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
#!/bin/bash | |
# Let's Encrypt Setup Utility | |
# Author: Steven Mirabito <[email protected]> | |
letsencrypt_path=/bin/letsencrypt | |
webroot_template='/home/USER/web/DOMAIN/public_html' | |
proxy_webroot_template='/home/USER/web/DOMAIN/public_html/static' | |
cert_path_template='/home/USER/conf/web/ssl.DOMAIN' | |
account_email='[email protected]' |
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
#!/bin/bash | |
# Installs the broadcom-wl kernel module with DKMS | |
# Tested under Fedora 23, will likely work with other versions/distros | |
# Author: Steven Mirabito <[email protected]> | |
# Create a work directory | |
mkdir -p /tmp/broadcom | |
cd /tmp/broadcom | |
# Download the module from Broadcom (http://www.broadcom.com/support/?gid=1) |
NewerOlder