Skip to content

Instantly share code, notes, and snippets.

Avatar

Brad Parks bradparks

  • Fredericton, New Brunswick, Canada
View GitHub Profile
@bradparks
bradparks / console.py
Created Mar 3, 2022 — forked from j1o1h1n/console.py
This is a demo of an interactive console in a Textual user interface.
View console.py
from __future__ import annotations
import string
import code
import sys
import io
from typing import Callable
from textual.app import App
from textual.widgets import Header, ScrollView
View gist:946fe383953fc2a86a1aebd0fbab2c93
  • leave at 10:30

  • Switch

  • portable hand sanitizer

  • 5 Masks

  • wear KN95 mask and don’t take off/eat on bus so make sure he has something good to eat as it’s a long drive

  • something warm on body and feet and clothes and underwear as well as toothbrush

  • two outfits, small, so you could keep pack on bus, otherwise they put it underneath, takes longer.

  • headphones

View gist:ea5fbaac9cd3b5175a63acb06d3eb4cc
wander
The Lab - free VR mini gameso, works on Flat screens too
nextvr - live events, like nba, etc
fitxr - group fitness
guided meditation VR or the blue
360 cities app
YouTube VR, National Geographic Explore, Ocean Rift
Spatial - meetings
Escape Rooms
Google Earth VR
@bradparks
bradparks / Docker
Created Sep 2, 2021 — forked from mitchwongho/Docker
Docker 'run' command to start an interactive BaSH session
View Docker
# Assuming an Ubuntu Docker image
$ docker run -it <image> /bin/bash
@bradparks
bradparks / make_portable.sh
Created May 20, 2021 — forked from Birch-san/make_portable.sh
Make a macOS executable binary or .dylib portable
View make_portable.sh
#!/usr/bin/env bash
# Licensed by author Alex Birch under CC BY-SA 4.0
# https://creativecommons.org/licenses/by-sa/4.0/
# Example input:
# ./make_portable.sh mycoolbinary
# where mycoolbinary is a mach-o object file
# (for example an executable binary or a .dylib)
#
@bradparks
bradparks / Dockerfile
Created Apr 9, 2021 — forked from jcavat/Dockerfile
docker-compose with php/mysql/phpmyadmin/apache
View Dockerfile
FROM php:7.1.2-apache
RUN docker-php-ext-install mysqli
@bradparks
bradparks / AddCustomEditorMenuItem.cs
Created Feb 26, 2021 — forked from Domiii/AddCustomEditorMenuItem.cs
Adds a new "Add custom Editor" MenuItem to Script files in the Unity Project view (download *.unitypackage file here: https://files.fm/u/j4r8cve5 )
View AddCustomEditorMenuItem.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.IO;
using System.Text.RegularExpressions;
@bradparks
bradparks / aws.md
Created Jan 15, 2021 — forked from colinvh/aws.md
AWS Region Names
View aws.md

Alternative naming schemes for AWS regions

Purpose

The intent is to define terse, standards-supported names for AWS regions.

Schemes

@bradparks
bradparks / tmux_local_install.sh
Created Jun 14, 2020 — forked from rothgar/tmux_local_install.sh
bash script for installing tmux without root access
View tmux_local_install.sh
#!/bin/bash
TMUX_VERSION="2.1"
LIBEVENT_VERSION="2.0.20"
NCURSES_VERSION="6.0"
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
@bradparks
bradparks / example.md
Created May 19, 2020 — forked from ericclemmons/example.md
HTML5 <details> in GitHub
View example.md

Using <details> in GitHub

Suppose you're opening an issue and there's a lot noisey logs that may be useful.

Rather than wrecking readability, wrap it in a <details> tag!

<details>
 Summary Goes Here