/ip ipsec peer profile
set [ find default=yes ] dh-group=ecp256,modp2048 enc-algorithm=aes-256 hash-algorithm=sha256
/ip ipsec proposal
set [ find default=yes ] auth-algorithms=sha256,sha1 enc-algorithms=aes-256-cbc pfs-group=ecp256
/ip firewall filter
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
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | |
<s:Boolean x:Key="/Default/CodeEditing/Intellisense/CodeCompletion/IntelliSenseCompletingCharacters/CSharpCompletingCharacters/UpgradedFromVSSettings/@EntryValue">True</s:Boolean> | |
<s:Int64 x:Key="/Default/CodeEditing/Intellisense/ParameterInfo/AutopopupDelay/@EntryValue">10</s:Int64> | |
<s:String x:Key="/Default/CodeEditing/NullCheckPatterns/CustomStatementPatternText/@EntryValue">// Use the following placeholders:
 | |
// $EXPR$ -- source expression
 | |
// $NAME$ -- source name (string literal or 'nameof' expression)
 | |
// $MESSAGE$ -- string literal in the form of "$NAME$ != null"
 | |
if (null == $EXPR$) throw new System.ArgumentNullException($NAME$);</s:String> | |
<s:Int64 x:Key="/Default/CodeEditing/NullCheckPatterns/Pattern |
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
// ==UserScript== | |
// @name Twitch: Automatic clapping machine | |
// @name:zh Twitch: 自動拍手機器 | |
// @version 0.1.0 | |
// @description 在其它人拍手時自動跟著一起拍 | |
// @author 琳(jim60105) | |
// @match https://www.twitch.tv/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=www.twitch.tv | |
// @license GPL3 | |
// ==/UserScript== |
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
Get-ChildItem "./" -Filter *.jpg | | |
Foreach-Object { | |
$outputWebp = "$([System.IO.Path]::GetFileNameWithoutExtension($_)).webp" | |
magick "$($_.FullName)" $outputWebp | |
exiftool -TagsFromFile "$($_.FullName)" "-UserComment<UserComment" -comment= -overwrite_original $outputWebp | |
} |
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
yt-reaction-control-panel-view-model:not([reaction-control-panel-expanded]){ | |
transform: scale(0.7); | |
/* To hide it completely. | |
display: none; | |
*/ | |
} | |
#hover-area{ | |
margin-right: 0; | |
} |
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
{ | |
"www.alphapolis.co.jp/novel/*/*/episode/*": { | |
"css": "#content{\r\n width: unset;\r\n \r\n}\r\n#main{\r\n width: 90vw;\r\n float: unset;\r\n margin: 0px auto;\r\n}\r\nbody{\r\n background-color: #22272e;\r\n}\r\n.novel-body{\r\n color:rgb(173, 186, 199);\r\n font-weight: 600;\r\n background-color: #22272e;\r\n}", | |
"readability": false, | |
"enabled": true, | |
"modifiedTime": "2023-05-27T17:10:35.242+08:00" | |
}, | |
"kakuyomu.jp/works/*/episodes/*": { | |
"css": ".widget-episode-inner{\r\n width: 90%;\r\n max-width: unset;\r\n}", | |
"readability": false, |
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
$sourceFolder = "${pwd}\*" | |
$filePatterns = '*.png','*.jpg','*.gif' | |
Get-ChildItem -Path $sourceFolder -Include $filePatterns -File -Recurse | ForEach-Object { | |
$name = $_.FullName | |
$webp = [System.IO.Path]::ChangeExtension($name,".webp") | |
$avif = [System.IO.Path]::ChangeExtension($name,".avif") | |
echo "Orig: $name" | |
echo "WebP: $webp" | |
magick "$name" "$webp" |
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
#chat { | |
height: calc(100vh - 100px) !important; | |
} |
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
// ==UserScript== | |
// @name Youtube: Automatic clapping machine | |
// @name:zh Youtube: 自動拍手機器 | |
// @version 1.4.5 | |
// @description 在其它人拍手時自動跟著一起拍 | |
// @author 琳(jim60105) | |
// @match https://www.youtube.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @license GPL3 | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Youtube: Automatically press like after watching 5 minutes of video | |
// @name:zh Youtube: 觀看5分鐘影片後自動按喜歡 | |
// @version 1.1.3 | |
// @description Youtube: Automatically press like after watching 5 minutes of video | |
// @author 琳(jim60105) | |
// @match https://www.youtube.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @license GPL3 | |
// ==/UserScript== |
NewerOlder