This file contains hidden or 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
| // ==UserScript== | |
| // @name Zelda Dungeon Breath of the Wild Interactive Map Tweaks | |
| // @namespace http://www.zeldadungeon.net | |
| // @version 0.1.1 | |
| // @description Various hacks for Zelda Dungeon BotW map. I'm just too lazy to write a full description. | |
| // @include http*://www.zeldadungeon.net/breath-of-the-wild-interactive-map/* | |
| // @run-at document-end | |
| // @copyright Nope, this contains original code from the website. It's whether piracy or public domain. Sorry Zelda Dungeon. I love you guys! | |
| // @updateURL https://gist.githubusercontent.com/x-magic/6c2d36d88b0f6fcc54b0615ab3700e53/raw/ZeldaDungeonBreathoftheWildInteractiveMapTweaks.user.js | |
| // @downloadURL https://gist.githubusercontent.com/x-magic/6c2d36d88b0f6fcc54b0615ab3700e53/raw/ZeldaDungeonBreathoftheWildInteractiveMapTweaks.user.js |
This file contains hidden or 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
| // ==UserScript== | |
| // @name Mahara Diary Entry Companion | |
| // @namespace https://mahara.infotech.monash.edu.au/ | |
| // @version 0.1 | |
| // @description Change 9-column layout of diary entry page to fullwidth, then boost up the font size | |
| // @include https://mahara.infotech.monash.edu.au/mahara/artefact/artefact.php?artefact=* | |
| // @run-at document-end | |
| // @copyright 2017, Bill Gong <haofei.gong@monash.edu> | |
| // @updateURL https://gist.githubusercontent.com/x-magic/fad0a41f430783af6c898181081233c4/raw/MaharaDiaryEntryCompanion.user.js | |
| // @downloadURL https://gist.githubusercontent.com/x-magic/fad0a41f430783af6c898181081233c4/raw/MaharaDiaryEntryCompanion.user.js |
This file contains hidden or 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
| // ==UserScript== | |
| // @name TTG Points Calculator | |
| // @namespace https://totheglory.im/ | |
| // @version 0.2 | |
| // @description Let me know how long does it takes to get 36,000 points on TTG | |
| // @match https://totheglory.im/mybonus.php | |
| // @run-at document-end | |
| // @copyright 2016, x-magic <xmagic5589@gmail.com> | |
| // @updateURL https://gist.githubusercontent.com/x-magic/99035b660bbf180a26ac05c24aa4e861/raw/TTGPointsCalculator.user.js | |
| // @downloadURL https://gist.githubusercontent.com/x-magic/99035b660bbf180a26ac05c24aa4e861/raw/TTGPointsCalculator.user.js |
This file contains hidden or 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
| // ==UserScript== | |
| // @name TTG Add Personalised Categories | |
| // @namespace https://totheglory.im/ | |
| // @version 0.8 | |
| // @description Add direct link to specific category filter on navbar | |
| // @include https://totheglory.im/* | |
| // @run-at document-end | |
| // @copyright 2017-2023, x-magic <xmagic5589@gmail.com> | |
| // @updateURL https://gist.githubusercontent.com/x-magic/a9c35a0b29b66c4e645b64a3caad6a2b/raw/TTGAddPersonalisedCategories.user.js | |
| // @downloadURL https://gist.githubusercontent.com/x-magic/a9c35a0b29b66c4e645b64a3caad6a2b/raw/TTGAddPersonalisedCategories.user.js |
This file contains hidden or 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
| // ==UserScript== | |
| // @name Zhihu Ignore All Invitation | |
| // @namespace http://www.zhihu.com/ | |
| // @version 0.2.1 | |
| // @description Add a button to ignore all invitation | |
| // @include http*://www.zhihu.com/question/invited* | |
| // @run-at document-end | |
| // @copyright 2016, x-magic <xmagic5589@gmail.com> | |
| // @updateURL https://gist.githubusercontent.com/x-magic/04c6d7d87f7c934cd1c3fc102d6d8d63/raw/ZhihuIgnoreAllInvitation.user.js | |
| // @downloadURL https://gist.githubusercontent.com/x-magic/04c6d7d87f7c934cd1c3fc102d6d8d63/raw/ZhihuIgnoreAllInvitation.user.js |
This file contains hidden or 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 | |
| # | |
| # This script processes events from smsd. | |
| # It mainly will converts SMS encoded with UCS2 encoding to UTF-8 format expected by many other applications. | |
| # To use it, edit your /etc/smsd.conf and add the following line: | |
| # | |
| # eventhandler = /path/to/smstools-eventhandler.sh | |
| # | |
| # When a new message is received in /var/spool/incoming/, message files with following header line will be converted: | |
| # |
This file contains hidden or 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 | |
| ############################################# | |
| # AUTHOR: JONATHAN SCHWENN @JONSCHWENN # | |
| # MAC MINI VAULT - MAC MINI COLOCATION # | |
| # MACMINIVAULT.COM - @MACMINIVAULT # | |
| # VERSION 2.2 RELEASE DATE SEPT 28 2015 # | |
| # DESC: THIS SCRIPT INSTALLS MySQL on OSX # | |
| ############################################# | |
| #REQUIREMENTS: | |
| # OS X 10.7 or newer |
This file contains hidden or 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 | |
| # A script that automates Shadowsocks on a Debian Jessie server | |
| # Perfect for and tested on DigitalOcean 512MB ($5/month) Debian Jessie x64 droplet, as of July 2016 | |
| # Since this is modifying systemd servie script so it won't work on Debian Wheezy | |
| # Disable nfs and rpcbind service (this is just for DigitalOcean Debian distros since these services are useless!) | |
| systemctl stop nfs-common > /dev/null 2>&1 | |
| systemctl disable nfs-common > /dev/null 2>&1 | |
| systemctl stop nfs-common > /dev/null 2>&1 |
This file contains hidden or 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
| <?php | |
| error_reporting(0); | |
| ini_set('display_errors', 0); | |
| /* SQL for `lyrics` table | |
| CREATE TABLE `lyrics` ( | |
| `id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, | |
| `title` varchar(256) NOT NULL, | |
| `artist` varchar(256) NOT NULL, | |
| `lrc` varchar(256), |