Skip to content

Instantly share code, notes, and snippets.

View TylerLeonhardt's full-sized avatar

Tyler James Leonhardt TylerLeonhardt

View GitHub Profile
1. Requirement:
a. Over age 18 years
b. English skill for explaining the UCF campus map
c. Color-blinder excluded
2. Task: Participants will describe the direction to the Student Union on campus for virtual human.
3. Duration: about 30-40 minutes (although the timeslot is made as 1 hour)
4. Location
var pouch1 = new PouchDB('savvy', {adapter: 'memory'});
var pouch2 = new PouchDB('firm1', {adapter: 'memory'});
var pouch3 = new PouchDB('firm2', {adapter: 'memory'});
### Keybase proof
I hereby claim:
* I am TylerLeonhardt on github.
* I am tylerleonhardt (https://keybase.io/tylerleonhardt) on keybase.
* I have a public key whose fingerprint is 9957 3C55 48A9 8D41 DBA8 3E6F DFAE 04B1 7902 5E46
To claim this, I am signing this object:
@TylerLeonhardt
TylerLeonhardt / notactuallyafile.html
Created May 27, 2016 06:12
Script tag at the bottom of app/index.html
<script>
// Register service worker if supported.
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/service-worker.js');
}
</script>
@TylerLeonhardt
TylerLeonhardt / .hyper.js
Last active August 20, 2017 19:02
Hyper (https://hyper.is) config for PowerShell. Goes great with PowerShell profile: https://gist.github.com/tylerl0706/ac4a3a43000d7e0b4dc48637ace43276
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Source Code Pro for Powerline, Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
@TylerLeonhardt
TylerLeonhardt / Sorin-NL.psm1
Last active May 7, 2019 02:45
PowerShell profile on macOS with posh-git and oh-my-posh.
#requires -Version 2 -Modules posh-git
function Write-Theme {
param(
[bool]
$lastCommandFailed,
[string]
$with
)
@TylerLeonhardt
TylerLeonhardt / TweetScript.psm1
Last active July 17, 2018 19:37
Importing Scripts from Tweets! #280characters
# Importing Scripts directly from Tweets! #280characters
#
# NOTE: This should not be used for any production environment. Or any environment for that matter. Use https://PowerShellGallery.com
#
#
####################################
# Example #
####################################
#
#
@TylerLeonhardt
TylerLeonhardt / VSCodePowerShellCentOSDockerfile
Last active January 7, 2018 20:44
A crazy dockerfile for testing the PowerShell extension for VSCode on CentOS - using CentOS 7, xfce, vnc, PowerShell, VSCode
FROM consol/centos-xfce-vnc
USER root
# Get PowerShell
RUN sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm -y
# Get git
RUN sudo yum install git -y
# Get VSCode
@TylerLeonhardt
TylerLeonhardt / NotHotdog.psm1
Last active April 9, 2018 23:30
"Not Hotdog" VSCode PowerShell Demo for PowerShell Summit - https://github.com/powershell/vscode-powershell
<#
USAGE:
# Basic usages
Invoke-NotHotdog $url
$urls | Invoke-NotHotdog
# With Raw that returns true/false
Invoke-NotHotdog $url -Raw
@TylerLeonhardt
TylerLeonhardt / .hyper.js
Last active September 13, 2022 12:06
My Hyper + PowerShell config for macOS
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
// or "canary" for less polished but more frequent updates
updateChannel: 'canary',