Skip to content

Instantly share code, notes, and snippets.

View jamesarmenta's full-sized avatar
💭
Old projects. Current code samples available by request.

James Armenta jamesarmenta

💭
Old projects. Current code samples available by request.
View GitHub Profile
@jamesarmenta
jamesarmenta / ds.js
Last active March 11, 2024 23:51
Dreaming Spanish Utilities
console.log("DS USERSCRIPT IS RUNNING!");
window.ds_download = () => {
document.querySelector('div.ds-video-options').children[0].children[0].click();
setTimeout(() => {
const dropdown = document.querySelector('.ds-form-dropdown__item.dropdown-item');
if (!dropdown.innerText.includes('Remove')) {
dropdown.click();
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/jarmenta/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="miloshadzic"
<?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>AppleAntiAliasingThreshold</key>
<integer>1</integer>
<key>AppleScrollAnimationEnabled</key>
<integer>0</integer>
<key>AppleSmoothFixedFontsSizeThreshold</key>
<integer>1</integer>