A Tampermonkey userscript that adds AI-powered video summarization capabilities to YouTube using GPT-4 and Claude models.
Updated recently to give better / more detailed summaries for the 'detailed summaries' button
# Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString("https://gist.githubusercontent.com/y0ug/0c5859de8858f9229de8fcf72a6ae691/raw/BootstrapWin.ps1")) | |
$kmsserver = "192.168.10.2:1688" | |
$gvlk = "W269N-WFGWX-YVC9B-4J6C9-T83GX" #windows10/11 pro | |
Set-TimeZone -Name "Romance Standard Time" | |
$features = @( | |
#"VirtualMachinePlatform" | |
#"Microsoft-Windows-Subsystem-Linux" | |
#"HypervisorPlatform" |
Using the Task Scheduler, you can schedule when to enable Dark Mode for apps by using these Powershell commands and setting them to be triggered at the time you prefer.
New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 0 -Type Dword -Force
New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 1 -Type Dword -Force;
const timer = ms => new Promise(res => setTimeout(res, ms)); | |
// Unretweet normally | |
const unretweetTweet = async (tweet) => { | |
await tweet.querySelector('[data-testid="unretweet"]').click(); | |
await timer(250); | |
await document.querySelector('[data-testid="unretweetConfirm"]').click(); | |
console.log('****// Unretweeted Successfully //****') | |
} |
# Use ${idea.home.path} macro to specify location relative to IDE installation home. | |
# Use ${xxx} where xxx is any Java property (including defined in previous lines of this file) to refer to its value. | |
# Note for Windows users: please make sure you're using forward slashes: C:/dir1/dir2. | |
ide.app.name=webstorm | |
ide.config.home=${user.home}/.jetbrains/${ide.app.name} | |
#--------------------------------------------------------------------- | |
# Uncomment this option if you want to customize a path to the settings directory. | |
#--------------------------------------------------------------------- | |
idea.config.path=${ide.config.home}/config |
If you don't like the username windows assigned you, I will describe a relatively simple and safe procedure to change it.
For example windows gave me the username rkito
and I wanted my normal one rkitover
.
Go into netplwiz
and disable your autologin, you can reenable it when you're done.
Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.
setInterval(() => {
for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
d.click()
}
{ config, pkgs, lib, ... }: | |
{ | |
# IOMMU configuration | |
boot.kernelParams = [ "amd_iommu=on" "pcie_aspm=off" ]; | |
boot.kernelModules = [ "kvm-amd" "vfio_virqfd" "vfio_pci" "vfio_iommu_type1" "vfio" ]; | |
boot.extraModprobeConfig = '' | |
options vfio-pci ids=10de:13c2,10de:0fbb | |
options kvm ignore_msrs=1 | |
''; |
#!/bin/bash | |
# install qemu utils | |
sudo apt install qemu-utils | |
# install nbd client | |
sudo apt install nbd-client |
-Xmx2048m | |
-Xss256k | |
-XX:+UseG1GC | |
-XX:InitiatingHeapOccupancyPercent=65 | |
-XX:G1HeapRegionSize=16m | |
-XX:MaxGCPauseMillis=100 |