TBA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var i = 0; | |
var count = $('.Album.unavailable,.Album.preview').length; | |
console.log('Found ' + count + ' albums to remove'); | |
var timeout = 0; | |
$('.Album.unavailable,.Album.preview').each(function(){ | |
var instance_i = i++; | |
var album = $(this); | |
album.trigger('mouseover').mouseenter(); | |
album.find('a,div,span,image').trigger('mouseover').mouseenter(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Runs script every 5 minutes --> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>notes-app-tasks-pending-count.job</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/bin/osascript</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2018-02-18T03:24:11.868Z","extensionVersion":"v2.8.7"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Org Profile | |
Public | |
Logo | |
Mission | |
Cover Photo | |
What We Do | |
Org Name | |
Website Address | |
Causes | |
Links |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body><script>document.body.innerHTML = ` | |
<h1>Alright, alright, alright</h1> | |
<p>Screen resolution: ${window.screen.width}x${window.screen.height} | |
<p>Window resolution: ${window.innerWidth}x${window.innerHeight} | |
`; | |
</script></body> | |
</html> |
- VSCode can get so fucking slow sometimes
- VSCode-like tooling is available for vim (typescript autoimport, autofixes, etc): E.g. https://github.com/neoclide/coc-tsserver
- Vim has way better navigational features built-in: you can move a lot faster in a file once you get used to the commands. More on that later.
- Get familiar with vim commands: Run
vimtutor
on your terminal - Download a decent terminal app if you haven’t already. A lot of people use iTerm2, I prefer Kitty (way faster): https://sw.kovidgoyal.net/kitty/
- Install NeoVim
- Be prepared to google things you want in vim and add them to your vimconfig, I can’t tell you which ones you should get bc that’s kinda up to you and you should understand which ones work for you, but here’s mine (very messy): https://github.com/rnmp/dotfiles/blob/master/.config/nvim/init.vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
// Generated using ChatGPT 4o | |
// Prompts: | |
// - "How to quickly make a panel using SwiftUI on macOS that can be dragged around inside a window?" | |
// - "Let's make it take content as closure" | |
struct DraggablePanel<Content: View>: View { | |
@State private var offset = CGSize.zero | |
@State private var dragOffset = CGSize.zero |