Skip to content

Instantly share code, notes, and snippets.

; AddClearBtnToEdit.ahk
; http://ahkscript.org/boards/viewtopic.php?f=6&t=6788
/*
Function: AddClearBtnToEdit
Add a 'clear text' button over an edit control
Version:
1.21 (2015-3-21)
- Fixed a bug: Create a resizable GUI and edit control with some initialized text, resize the GUI around, the clear text button is not there, or disappears.
1.20 (2015-3-21)
@CarsonSlovoka
CarsonSlovoka / map_clsloc.txt
Created August 10, 2020 10:41 — forked from aaronpolhamus/map_clsloc.txt
Image net classes + labels
n02119789 1 kit_fox
n02100735 2 English_setter
n02110185 3 Siberian_husky
n02096294 4 Australian_terrier
n02102040 5 English_springer
n02066245 6 grey_whale
n02509815 7 lesser_panda
n02124075 8 Egyptian_cat
n02417914 9 ibex
n02123394 10 Persian_cat
@CarsonSlovoka
CarsonSlovoka / README.getGithubRepo.md
Last active June 18, 2021 12:37
access GitHub repositories by Python

gist介紹

用途

  • 方便分享 (可以寫一些簡單的腳本,用連結分享出去,含代碼凸顯)
    • 分享不只是連結,而是它還有提供embed的script,讓您鑲嵌在HTML之中!
  • 筆記

寫法

@CarsonSlovoka
CarsonSlovoka / fontConverter.md
Last active June 21, 2021 08:24
convert TTF to Woff, Woff2,...

Install

  • pip install fontTools
  • pip install brotlicffi (woff need use it)
@CarsonSlovoka
CarsonSlovoka / README.getGitHubImg.md
Last active July 19, 2021 11:56
get the image from some repository of GitHub.
@CarsonSlovoka
CarsonSlovoka / README.svg2png.md
Last active July 19, 2021 12:23
You can convert SVG(Online, Font-awesome, exists SVG) to PNG with the script and save it.
@CarsonSlovoka
CarsonSlovoka / README.drawImageProp.md
Last active July 19, 2021 12:20
Set background image with canvas (you can adjust the size, the proportion will come same as original)
@CarsonSlovoka
CarsonSlovoka / README.create-toc.md
Last active May 16, 2024 14:14
Create the TOC (table of content) by javascript.
@CarsonSlovoka
CarsonSlovoka / markdown-it.html
Last active March 4, 2022 09:51
markdown-it tutorial (pure javascript only)
<script src="https://cdnjs.cloudflare.com/ajax/libs/markdown-it/12.3.2/markdown-it.min.js"
integrity="sha512-TIDbN32lXOg2Mw1VcnKrQLZgfALryJogWCu/NHWtlMCR1jget+mOwMtdehBBZz2f9PKeK2AQPwVxkbl4u/1H5g=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.14.0/mermaid.js"></script>
<div data-com="markdown-it">
# [Markdown-it](https://github.com/markdown-it/markdown-it#plugins-load) USAGE
## Table
| Name | desc |