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
a[data-ref|='.ol'], | |
a[data-ref|='.ul'] { | |
display: none !important; | |
} | |
.cp__all_pages_table :is(a[data-ref|='.ol'], a[data-ref|='.ul']) { | |
display: unset !important; | |
} | |
.ls-block[data-refs-self*='".ol'] .block-children { | |
counter-reset: kef-ol; |
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
import threading | |
import datetime | |
import argparse | |
import time | |
import requests | |
import re | |
import os | |
headers = {'Referer': 'http://www.owspace.com/'} |
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
@ECHO OFF | |
SET MYPATH=%cd% | |
SET MYSCRIPT=%MYPATH%\start_here.ps1 | |
pwsh-preview %MYSCRIPT% | |
pause |
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
-----------------bGZo------------------- | |
____ ____ ____ _____ _ | |
| _ \/ ___/ ___| | ___|__ ___ __| | | |
| |_) \___ \___ \ | |_ / _ \/ _ \/ _` | | |
| _ < ___) |__) | | _| __/ __/ (_| | | |
|_| \_\____/____/ |_| \___|\___|\__,_| | |
-----------------bGZo------------------- |
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
import datetime | |
def weeks_of_year(year): | |
# NOTE: https://stackoverflow.com/questions/29262859 | |
last_week = datetime.date(year, 12, 28) | |
return last_week.isocalendar()[1] | |
def weeks_of_date(date): | |
year, week_num, day_of_week = date.isocalendar() | |
return week_num |
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
import json | |
import requests | |
import re | |
import argparse | |
from argparse import RawTextHelpFormatter | |
from datetime import datetime | |
from markdownify import markdownify as md |
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
/* Color begin via: [logseq/custom.css](https://gist.github.com/madawei2699/61cf9601a443df21a9fabb282723936c) | |
*/ | |
:root{ | |
--base03: #002b36; | |
--base02: #073642; | |
--base01: #586e75; | |
--base00: #657b83; | |
--base0: #839496; | |
--base1: #93a1a1; | |
--base2: #eee8d5; |
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
var cover = document.getElementsByClassName("subjectCover"); | |
for(var i = 0; i < cover.length; i++){ | |
var your_gh = ''; | |
var delete_href = cover[i].href+'/remove?gh=' + your_gh; | |
fetch(delete_href); | |
} |
NewerOlder