Skip to content

Instantly share code, notes, and snippets.

@joshuatz
joshuatz / run_examples.js
Last active May 12, 2024 22:54
Script to clean up YouTube history and bulk-delete videos that mess up the recommendation algorithm
(() => {
// With default shorts filter - dry run mode
new YouTubeHistoryCleaner(undefined, true);
// dryRunMode = off (actually delete stuff)
new YouTubeHistoryCleaner(undefined, false);
// With custom filter, preserving history for certain accounts
const approvedAuthors = [

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@bradtraversy
bradtraversy / webdev_online_resources.md
Last active July 24, 2024 20:54
Online Resources For Web Developers (No Downloading)
{
"restaurants": [{
"id": 1,
"name": "Mission Chinese Food",
"neighborhood": "Manhattan",
"photograph": "1.jpg",
"address": "171 E Broadway, New York, NY 10002",
"latlng": {
"lat": 40.713829,
"lng": -73.989667