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 | |
// You can use this file to test different video products in different players | |
// choose product and options | |
$product = 'hls'; // hls|stream_packaging|vod | |
$secure = true; | |
$staging = false; | |
$URLonly = false; // true to output only URL, false to output HTML | |
// no changes required below santa claus - happy holidays 2016 |
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
#!/bin/sh | |
if [[ $# < 2 ]]; then | |
echo "Use password saved in macOS keychain for Cisco VPNs" | |
echo "$0 usage: myscript vpnname keychainitem [close_second_window]" | |
exit 1 | |
fi | |
VPNName=$1 # match the name of the VPN service to run | |
keychainItem=$2 # this name has to match "Account" for the entry you make in keychain | |
password=$(security find-generic-password -wl "$keychainItem") |
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
brew outdated | parallel --keep-order brew fetch --deps && brew upgrade | |
# without GNU parallel (output will be out of order): | |
brew outdated -q | xargs -L1 -P8 brew fetch --deps |
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
// Create a table with less bloat in Google Docs | |
// No vertical lines, and no horizontal lines except for header and footer | |
// Inspired by https://ctan.org/pkg/booktabs | |
function createBooktabsTable() { | |
// Table configuration | |
const numRows = 5; // Adjust as needed | |
const numCols = 4; // Adjust as needed | |
const doc = DocumentApp.getActiveDocument(); | |
createBooktabsTableInternal(numRows, numCols, doc) |
OlderNewer