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/sh | |
### GPLv3 | |
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | |
# | |
# You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. | |
### HOW TO |
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
//將網址列多餘的參數清理 | |
javascript:window.location.replace('https://item.taobao.com/item.htm?id='+location.href.match(/id=(\d+)/)[1]); | |
//由大陸淘寶跳轉到World淘寶 | |
javascript:window.location.replace('http://world.taobao.com/item/'+location.href.match(/id=(\d+)/)[1]+'.htm'); | |
//由World淘寶跳轉到大陸淘寶 | |
javascript:window.location.replace('https://item.taobao.com/item.htm?id='+location.href.match(/item\/(\d+)/)[1]); |
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
<!-- This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. | |
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | |
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. --> | |
<!-- 將此文件內容完整貼於「版面配置」→「新增小工具」→「HTML/JavaScript」,標題命名為「目錄」--> | |
<div id="tocAnchor" style="text-align:left;margin-bottom:10px"> | |
<nav id="toc" style="font-size: large;overflow:auto;max-height:94vh;padding-right: 15px;"></nav> |
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
<!-- This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. | |
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | |
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. --> | |
<style type="text/css"> | |
.animate { | |
-moz-transition: 0.4s all; | |
-o-transition: 0.4s all; |
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 | |
_url='https://www.youtube.com/channel/UCBC7vYFNQoGPupe5NxPG4Bw/live' | |
# _url='https://www.youtube.com/watch?v=Y-EVxJhfsfE' | |
USER_AGENT="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" | |
_body=$(curl -s --compressed -H "User-Agent: $USER_AGENT" -b cookies.txt "$_url") | |
# Extract metadata from fetched page |
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 url="%1" | |
yt-dlp.exe --ignore-config --external-downloader aria2c --external-downloader-args "-j 16 --retry-wait 10 --max-tries 10" --cookies-from-browser brave --youtube-skip-dash-manifes --merge-output-format mkv --prefer-free-formats --embed-thumbnail --embed-metadata --no-part -o "%%(upload_date)s %%(title)s (%%(id)s).%%(ext)s" "%url%" | |
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
{ | |
"id": "e908f01b-bf54-4f70-9b76-b1176dffd10b", | |
"name": "My Visual Studio extensions", | |
"description": "A collection of my Visual Studio extensions", | |
"version": "1.0", | |
"extensions": [ | |
{ | |
"name": "Align Assignments 2022", | |
"vsixId": "AlignAssignments2022.41858b2d-ff0b-4a43-80b0-f1b2d6084935", | |
"moreInfoUrl": "https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.AlignAssignment2022", |
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
{ | |
"version": "1.0", | |
"components": [ | |
"Microsoft.VisualStudio.Component.CoreEditor", | |
"Microsoft.VisualStudio.Workload.CoreEditor", | |
"Microsoft.NetCore.Component.Runtime.5.0", | |
"Microsoft.NetCore.Component.Runtime.3.1", | |
"Microsoft.NetCore.Component.SDK", | |
"Microsoft.VisualStudio.Component.NuGet", | |
"Microsoft.Net.Component.4.6.1.TargetingPack", |
OlderNewer