[ Launch: Tree ] bc9a179a1a7f24bcb226 by feedthebayer
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
# A Parking Lot Simulation by Brandon Bayer | |
# | |
# To run the simulation: | |
# Create a Lot object and a Car object | |
# - lot = ParkingLot.new | |
# - car = Car.new | |
# | |
# Use the following Car methods | |
# - Car#get_ticket(Lot) | |
# - Car#enter(Lot) |
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
; ------------------------------------------------------------------------------- | |
; This script automatically disconnects and/or connects Tera Term when the | |
; availability of a specified USB COM port changes. | |
; | |
; CONFIGURATION: Set the com ports you want this script to monitor in the | |
; ProcessUSBchangeEvent function below | |
; | |
; USAGE: This script can be ran by itself or included in another script | |
; with this line: #Include auto_connect_teraterm_usb_com_ports.ahk | |
; |
[ Launch: Learning ] 351656e8d604fbcf0f02 by feedthebayer
[ Launch: Role Hive ] 295e24080e025a84d691 by feedthebayer
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
// load as early as possible | |
if(process.env.NOW){ | |
require('dotenv').config({path:'./.envnow', silent:true}); | |
}else{ | |
require('dotenv').config({silent:true}); | |
} | |
// now you can deploy with: | |
//$cp .env .envnow && now && rm -r .envnow |
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
const convertStringToFile = (aString) => { | |
const data = new Blob([aString], {type: 'text/plain'}) | |
return window.URL.createObjectURL(data) | |
} | |
<a | |
download="filename.txt" | |
href={convertStringToFile} | |
> | |
Download |
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
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 14, | |
// 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)', |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
OlderNewer