Skip to content

Instantly share code, notes, and snippets.

View gbowne1's full-sized avatar
💭
Working on jsonify

Gregory Bowne gbowne1

💭
Working on jsonify
View GitHub Profile
@gbowne1
gbowne1 / networking101.md
Created October 12, 2025 02:19
IP address ranges

In home networking what are typical ip address ranges like 196, 127, 10, 255, 172, 169,

I have less than 50 devices to connect including some servers that need to be able to be remotely connected to via ssh, openssh, ssl, openssl.. outside of my lan.

I am assuming that 192.168.x.x is enough for a average household. of less than 50-100 devices on the LAN

The addEventListener() method in JavaScript is used to attach an event handler to a specified element in the Document Object Model (DOM). It takes three parameters:
• target: This is the DOM object (element, document, window, etc.) to which the event listener is attached. Examples include:
• HTML elements (e.g., document.getElementById('myButton'), document.querySelector('div'))
• The document object
• The window object
• event: This is a string representing the name of the event to listen for. Common event types include:
• Mouse Events: click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, contextmenu
• Keyboard Events: keydown, keyup, keypress
{
// Telemetry
// - all: Sends usage data, errors, and crash reports.
// - error: Sends general error telemetry and crash reports.
// - crash: Sends OS level crash reports.
// - off: Disables all product telemetry.
"telemetry.telemetryLevel": "all",
// Controls whether the editor shows CodeLens.
"diffEditor.codeLens": false,
// - legacy: Uses the legacy diffing algorithm.
@gbowne1
gbowne1 / drugwars.cpp
Created September 28, 2024 01:30
ghmiranda-drug-wars-fix
#include <iostream>
#include <vector>
#include <map>
#include <memory>
enum class Objects {
Acid,
Weed,
Speed,
Cocaine,
@gbowne1
gbowne1 / movielist.txt
Created March 2, 2024 06:09
MovieList
#Trailer Playlist https://youtube.com/playlist?list=PLywwjkBV6ND9OOZ05UxphXtlcle4lEEI0
Adams Family (1991) trailer: https://youtu.be/A6X4VAHdDVg
-10..2021.A Nightmare on Elm Street (1984) https://youtu.be/dCVh4lBfW-c
-10..2021.A Nightmare on Elm Street 2 - Freddy's Revenge (1985) https://youtu.be/9iqNVyjwLFA
-10..2021.A Nightmare on Elm Street 3 - Dream Warriors (1987) https://youtu.be/oy-hgBu1h0w
A Nightmare on Elm Street 4 - The Dream Master (1988) https://youtu.be/elbv_XyXmaI https://youtu.be/jc-9vF9F_eg
A Nightmare on Elm Street 5 - The Dream Child (1989) https://youtu.be/qa4lBfEWBBs https://youtu.be/LFm_jiI8RiA
-10.15.22.An American Werewolf in London (1981) trailer: https://youtu.be/ArJhUEAeiw0 moder: https://youtu.be/Tfz9AhPnM8c
An American Werewolf in Paris (1997) trailer: https://youtu.be/y5XD0CuP0gY
@gbowne1
gbowne1 / jsconfig.json
Created August 19, 2023 03:09
My basic jsconfig.json for VSCode
{
"compilerOptions": {
"target": "es6",
"allowJs": true
},
"exclude": [
"node_modules"
],
"include": [
"**/*.js"
usealert, useasync, useauth, useatom, useanimation, usebeforeunload, useboolean, usebreakpoint, useblocker, usecallback, usecontext
usedispatch, usedefferedvalue, usedebugvalue, useeffect, useform, usefield, usefetch, usefocus,usegesture, useglobalstate
usegooglelogin, usegltf, usehistory, useid, useimperitivehandle, useinterval, useimmer, useinview,usintl, usekeypress,
usekeycloak, usekeyboard, uselayouteffect, uselocation, uselocalstorage, useloaderdata,usememo, usemutation, usenavigate,
useoutletcontext, useobservable,useonclickoutside,useonclick, useparams, useprevious, useportal, usepromise
usequery,usequeries, usequeryparams,useref, usereducer, usestate, usetransistion, usetimeout, usetable, usetranslation
usetheme, usetoggle, usethrottle, usetimer, useuser, useupdate, useunmount, useupdateeffect, usevalue, usevirtual
useviewport, usewebsocket, usewatch, usewindowsize, useworker, usewindowdimensions, usecollection,
# sleepy flower girl
(◡ ‿ ◡ ✿)
# y u no
ლ(ಠ益ಠლ)
# smiling breasts
(^人^)
# flipping tables
@gbowne1
gbowne1 / index.html
Created October 23, 2022 22:51
Senior Singles
<div class="container" x-data="{ rightSide: false, leftSide: false }">
<div class="left-side" :class="{'active' : leftSide}">
<div class="left-side-button" @click="leftSide = !leftSide">
<svg viewBox="0 0 24 24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line></svg>
<svg stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24">
<path d="M19 12H5M12 19l-7-7 7-7"/>
</svg>
</div>
<div class="logo">Senior Singles</div>
<div class="side-wrapper">