Skip to content

Instantly share code, notes, and snippets.

@simonxiao86
simonxiao86 / javdb-top250.md
Created June 4, 2025 02:34 — forked from jinjier/javdb-top250.md
JavDB top 250 movies list. [Updated on 2025/05]
@simonxiao86
simonxiao86 / nsmb.conf
Created September 18, 2024 19:11 — forked from jbfriedrich/nsmb.conf
macOS 11.2 NSMB configuration
# /etc/nsmb.conf - macOS 11.3 - 2021-04-29
#------------------------------------------------------------------------------
# SMB configuration for macOS 11.3 <-> Synology
#------------------------------------------------------------------------------
# Additional information:
# -----------------------
# https://support.apple.com/de-de/HT211927
# https://support.apple.com/en-us/HT208209
# https://apple.stackexchange.com/questions/309016/smb-share-deadlocks-since-high-sierra
# https://photographylife.com/afp-vs-nfs-vs-smb-performance
@simonxiao86
simonxiao86 / favicon.md
Created November 30, 2023 04:16 — forked from dodying/favicon.md
[Get Favicon] #api #favicon
  • DuckDuckGo https://icons.duckduckgo.com/ip2/{hostname}.ico
  • Google https://www.google.com/s2/favicons?domain_url={hostname}
  • Yandex https://favicon.yandex.net/favicon/{hostname1}/{hostname2}/
  • allesedv https://f1.allesedv.com/16/{hostname}
  • http://grab-favicons.herokuapp.com/api/v1/grab-favicons/?url={hostname}
  • https://besticon-demo.herokuapp.com/icon?url={hostname}&size=80..120..200
  • http://favicongrabber.com/service-api-reference
@simonxiao86
simonxiao86 / convert.md
Created November 27, 2023 04:24 — forked from maximebories/convert.md
FFmpeg command to convert webm to mp4 video files
ffmpeg -i input.webm -c:v libx264 -preset slow -crf 22 -c:a aac -b:a 128k output.mp4

This ffmpeg command converts a .webm video file to a standard .mp4 file using the libx264 codec for video, aac codec for audio, and a CRF value of 22. The preset is set to 'slow' for higher quality encoding, and the audio bitrate is set to 128 kbps.

@simonxiao86
simonxiao86 / locked_cookie_test.py
Created November 22, 2023 01:47 — forked from csm10495/locked_cookie_test.py
POC that fetches cookies from a locked cookies file on Windows with Chromium based browsers
@simonxiao86
simonxiao86 / vbs
Created October 14, 2018 08:49
sendto定制快速生成快捷方式
Dim name,msg
msg="请输入文件名称:"
name=Inputbox(msg)
Set Arg = WScript.Arguments
set WshShell=WScript.CreateObject("WScript.Shell")
strDirectory="d:\qr"
set oShellLink=WshShell.CreateShortcut(strDirectory & "\" & name & ".lnk")
oShellLink.TargetPath=Arg(0)
oShellLink.IconLocation=Arg(0)