Skip to content

Instantly share code, notes, and snippets.

@bombadillo
bombadillo / styling.js
Created September 30, 2023 15:15
Youtube progress bar segment styling
const progressBar = document.querySelector('.ytp-progress-bar')
progressBar.addEventListener('mouseover', (event) => {
const tooltipContent = document.querySelector(
'.ytp-tooltip-title span'
).innerHTML
if (tooltipContent !== '') {
@bombadillo
bombadillo / extensions.json
Last active April 11, 2023 10:26
VS Code Browser Sync New
[
{
"id": "adrianwilczynski.user-secrets",
"name": "user-secrets",
"publisher": "adrianwilczynski",
"version": "2.0.1"
},
{
"id": "akamud.vscode-theme-onedark",
"name": "vscode-theme-onedark",
@bombadillo
bombadillo / port-number-being-used-by-process.md
Created March 26, 2021 15:41
Port number being used by process

netstat -aon | findstr '[port_number]'

@bombadillo
bombadillo / vscodSettings.json
Created August 26, 2020 09:40
VSCode Settings
{
"workbench.iconTheme": "helium-icon-theme",
"prettier.singleQuote": true,
"breadcrumbs.enabled": true,
"peacock.favoriteColors": [
{
"name": "Angular Red",
"value": "#b52e31"
},
{
@bombadillo
bombadillo / settings.json
Created August 21, 2020 12:06
windows terminal settings
// This file was initially generated by Windows Terminal 1.1.2021.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@bombadillo
bombadillo / problems.md
Last active April 10, 2023 16:05
Problem Log
@bombadillo
bombadillo / add-swagger-to-nest-js.md
Created June 10, 2020 12:59
Add swagger to a Nest.js app

Required Packages

  • @nestjs/swagger
  • swagger-ui-express

Setup

Import the following:

@bombadillo
bombadillo / eu.md
Last active January 9, 2020 21:44
eu

EU System

councillors

  • 28 heads of state in council at any given meeting depending on the topic of discussion (e.g. agriculture)
  • meet 4 times a year
  • can cancel a plan if half vote against
  • can impose fines on multinational companies

Commission

  • 28 commissioners from each country meet at any one time in 10 different configurations
@bombadillo
bombadillo / oh-my-posh.md
Last active April 18, 2023 10:13
oh my posh
@bombadillo
bombadillo / prof.ps1
Created July 5, 2019 09:15
Open powershell profile
if (!(Test-Path -Path $PROFILE )) { New-Item -Type File -Path $PROFILE -Force }
notepad $PROFILE