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
! Title: hxueh's Personal Filter | |
! Homepage: https://gist.github.com/hxueh/cf36a3e79a2ad1971431e05d9fa02b37 | |
! License: MIT | |
jd.com##.mod_service,.jdm-tbar-tab-qrcode,.aside,.shieldShopInfo,.enjoyTop-bg,.fs_col2,.promo_lk,.hot-sales-new, .hot-sales-new-hasH | |
jd.com###app,J_enjoyTop,hotwords,hopRecSuit,treasure | |
bilibili.com##.recommended-swipe,.grid-anchor,.floor-single-card,.bili-live-card,.loc-entry,.loc-moveclip,.download-entry,.download-client-trigger,.large-header,.act-now | |
taobao.com##.layer,.tbh-superbanner,.tbh-logo-right,.icons3-wrapper,.topbar-ld,.business-entry-container,.rightWrap--evw5Mt7Y | |
taobao.com###J_Search>div:last-child,tcodeSideBar | |
caixin.com##.openInApp,.caixin-app |
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
<?php | |
/* | |
Plugin Name: Catelog | |
Description: Generates a dynamic page showing categories and their posts | |
Version: 0.1 | |
Author: hxueh | |
Author URI: https://www.hxueh.net | |
*/ | |
// Prevent direct access to the plugin file |
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 sh | |
LEDGER_DIR="/path/to/directory" | |
LEDGER_NAME="Ledger" | |
GPG_PUB_KEY="YOURGPGFINGERPRINT" | |
NOW=$($(which date) --iso-8601=seconds) | |
CURRENT_MONTH=$($(which date) +%Y-%m) | |
BACKBLAZE_BUCKET="YOURBUCKETNAME" | |
BACKBLAZE_REMOTE_FILE_DIR="Ledger" |
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
<table class="table table-sm"> | |
<thead> | |
<tr> | |
<!--There are three empty cell in the first header--> | |
<th></th> | |
<th></th> | |
<th></th> | |
<!--s2 is the string2, according to application.py--> | |
{% for character in s2 %} | |
<th>{{character}}</th> |