Skip to content

Instantly share code, notes, and snippets.

@eefuu
eefuu / myCFAPI.EXCEL.yaml
Created May 31, 2023 02:17
taegyun2kimdhi -excel custom function list-
name: myCFAPI
description: |-
taegyun2kimdhi
-excel custom function list-
host: EXCEL
api_set: {}
script:
content: >
// $("#run").click(() => tryCatch(run));
@eefuu
eefuu / myJSAPI.EXCEL.yaml
Last active May 31, 2023 02:46
taegyun2kimdhi - Performs a basic Excel API call using plain JavaScript & Promises.
name: myJSAPI
description: |-
taegyun2kimdhi
- Performs a basic Excel API call using plain JavaScript & Promises.
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
@xmeng1
xmeng1 / wsl2-network.ps1
Created July 14, 2019 06:50
WSL2 Port forwarding port to linux
$remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '"
$found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}';
if( $found ){
$remoteport = $matches[0];
} else{
echo "The Script Exited, the ip address of WSL 2 cannot be found";
exit;
}
@ihoneymon
ihoneymon / how-to-write-by-markdown.md
Last active May 21, 2024 02:56
마크다운(Markdown) 사용법

[공통] 마크다운 markdown 작성법

영어지만, 조금 더 상세하게 마크다운 사용법을 안내하고 있는
"Markdown Guide (https://www.markdownguide.org/)" 를 보시는 것을 추천합니다. ^^

아, 그리고 마크다운만으로 표현이 부족하다고 느끼신다면, HTML 태그를 활용하시는 것도 좋습니다.

1. 마크다운에 관하여

@myusuf3
myusuf3 / delete_git_submodule.md
Created November 3, 2014 17:36
How effectively delete a git submodule.

To remove a submodule you need to:

  • Delete the relevant section from the .gitmodules file.
  • Stage the .gitmodules changes git add .gitmodules
  • Delete the relevant section from .git/config.
  • Run git rm --cached path_to_submodule (no trailing slash).
  • Run rm -rf .git/modules/path_to_submodule (no trailing slash).
  • Commit git commit -m "Removed submodule "
  • Delete the now untracked submodule files rm -rf path_to_submodule