\\item (.*)$
$1
\\item (.*)$
$1
Based on SeaHOH/ban-peers#1
With Regex:
.*\.utorrent\.li
.*\.pdate\.utorrent\.com
.*\.pdate\.bittorrent\.com
.*\.tclient\.utorrent\.com
.*\.ishes\.utorrent\.com
.*\.aptor\.utorrent\.com
// ==UserScript== | |
// @name New Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 2023-12-25 | |
// @description try to take over the world! | |
// @author You | |
// @match https://leetcode.com/problems/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=leetcode.com | |
// @grant none | |
// ==/UserScript== |
We have this wonderful SICP (Structure and Interpretation of Computer Programs) Ebook Project. But the epub
ebook file created is catered for colored screens. Some of the default color schemes are not great for Ebook readers. I did the following things to make the epub
version of the SICP more suitable for Ebook readers.
I am using Calibre to edit the epub
file. I am satisfied with the result. Please let me know if there is anything that should also be changed.
Obtain the table of contents from copy and pasting (through the PDF viewer (pdf.js seems to be working the best for me))
Work in progress...
Using regular expressions to clean up the table of contents:
^(.*)$ to +$1 # add a + to the beginning of each line
^(.* )([1-9]|[1-9][0-9]|[1-9][0-9][0-9])$ to $1|$2 # add a | before the page number
^(.*)( \.)+(.*)$ to +$1$2$3 # indicate it is the 2nd level of bookmark
\. to '' # remove the ". "
// Replace 'table' with the actual ID or class of your HTML table | |
var table = document.querySelector('table'); | |
// Replace 1 with the index of the column you want to filter (indexing starts from 0) | |
var columnIndex = 3; | |
// Replace 'example' with the text you want to filter | |
var searchText = 'example'; | |
for (var i = 1, row; row = table.rows[i]; i++) { |
document.getElementsByClassName("grading-toolbar__tool--box")[0].onclick = function() {scrollBy(0, 91)} |
Sub MoveAgedMail() | |
Dim objOutlook As Outlook.Application | |
Dim objNamespace As Outlook.NameSpace | |
Dim objSourceFolder As Outlook.MAPIFolder | |
Dim objDestFolder As Outlook.MAPIFolder | |
Dim objVariant As Variant | |
Dim lngMovedItems As Long | |
Dim intCount As Integer | |
Dim intDateDiff As Integer |
import feedparser | |
import urllib | |
import requests | |
import sys | |
import os | |
import re | |
import subprocess | |
ParentPath = '/u/USER_ID/public_html/Podcast/九八新闻台/' | |
RSSFeed = 'https://feeds.soundcloud.com/users/soundcloud:users:496937352/sounds.rss' |
sed -i '/\\begin{dmath}/s/$/ \\color{blue}/' q1.tex |