Skip to content

Instantly share code, notes, and snippets.

console.warn('Program - Started')
let input = prompt('what would you like to do?')
const todos = ['Walk the dog', 'Order Pizza']
while (input !== 'quit' && input !== 'q') {
if (input === 'list') {
console.log('**************************')
for (let i = 0; i < todos.length; i++) {
console.log(`${i}: ${todos[i]}`)
}
console.log('**************************')
@marc-lapierre
marc-lapierre / gist:1252e82ef8e6c4016e4f47f40951943f
Created September 1, 2021 00:11
Reclaim lost space after removing Bootcamp
sudo diskutil apfs resizeContainer disk0s2 0
@marc-lapierre
marc-lapierre / gist:749139aac197dc8a976eabc7cee705eb
Last active May 18, 2021 20:17
Telus Fibre IPv6 on Ubiquiti ER-X (Multiple subnets)
set interfaces ethernet eth0 dhcpv6-pd prefix-only
set interfaces ethernet eth0 dhcpv6-pd rapid-commit enable
set interfaces ethernet eth0 dhcpv6-pd pd 0
set interfaces ethernet eth0 dhcpv6-pd pd 0 prefix-length 56
set interfaces ethernet eth0 dhcpv6-pd pd 0 interface eth1 prefix-id :1
set interfaces ethernet eth0 dhcpv6-pd pd 0 interface eth1 service slaac
set interfaces ethernet eth0 dhcpv6-pd pd 0 interface eth2 prefix-id :2
set interfaces ethernet eth0 dhcpv6-pd pd 0 interface eth2 service slaac
@marc-lapierre
marc-lapierre / Akai-s900-DRAM-codes.MD
Created February 11, 2020 05:56 — forked from DOSputin/Akai-s900-DRAM-codes.MD
Akai S900 "BAD Ram" bit code table

Akai S900 BAD RAM (D-RAM) BIT CODES

*ICs are any 256k x1 DRAM DIP package ie: generic 41256 Speeds 120 to 150 nanoseconds will work fine, ie 41256-120

OS DRAM BLOCKS:

-IC45 = DJ0

@marc-lapierre
marc-lapierre / README-Template.md
Created May 17, 2019 04:05 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites