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
#!/usr/bin/env python3 | |
from subprocess import Popen,PIPE,STDOUT | |
import sys | |
import os | |
""" | |
Removes all WordPress attachments that doesn't exist in the database | |
You need to be inside your uploads folder | |
RUN AT YOUR OWN RISK! (You should probably take a backup of the uploads dir) |
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
#!/bin/bash | |
set -o pipefail | |
if [[ -z $1 ]]; then | |
echo "Missing EOS Updater Utility dmg argument"; | |
echo "Usage: " | |
echo "$0 path-to-eos-utility.dmg" | |
echo "For example: " | |
echo "./EOSUtilityInstaller.sh eu2.13.40x-updater.dmg" |
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
/* | |
Userstyle to "fix" the annoying save as draft button on It's Learning. | |
Why make it red and move it to the right? | |
So I don't click the stupid button unless I absolutely want to. | |
(It was placed where the submit button was, | |
and my muscle memory clicks it when I want to deliver assignments) | |
*/ | |
#AnswerCtrl_FormButtons_submitbutton { |