This file contains hidden or 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
# title: clip_to_simplenote | |
# date: "2023-03-11" | |
# @raycast.title Clipboard to Simplenote with Anki tag | |
# @raycast.author HTLin the 🦎 | |
# @raycast.authorURL https://github.com/htlin222 | |
# @raycast.description Take the clipboard to simplenote | |
# @raycast.icon 📋 | |
# @raycast.mode silent | |
# @raycast.packageName System |
This file contains hidden or 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
# title: simplenote_to_anki | |
# date: "2023-03-03" | |
# @raycast.title Simplenote to Anki | |
# @raycast.author HTLin the 🦎 | |
# @raycast.authorURL https://github.com/htlin222 | |
# @raycast.description Sync to Anki | |
# @raycast.icon 🔃 | |
# @raycast.mode fullOutput | |
# @raycast.packageName System |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
# title: md_to_anki | |
# date: "2023-05-28" | |
# @raycast.title Markdown files 🪴 to ANKI | |
# @raycast.author HTLin the 🦎 | |
# @raycast.description search new markdown recently added, with text ANKI in it. Add to Anki Deck | |
# @raycast.authorURL https://github.com/htlin222 | |
# @raycast.icon 📚 |
This file contains hidden or 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 | |
# title: watch_and_convert | |
# date created: "2023-06-12" | |
# | |
# prerequisite: install the LibreOffice first to use the bin soffice | |
# https://www.libreoffice.org/download/download-libreoffice/ | |
# remember to chmod a+x *.sh | |
# chose the folder you want |
This file contains hidden or 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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# title: pytest | |
# date: "2023-08-26" | |
# author: Hsieh-Ting Lin, the Lizard 🦎 | |
title = "Hellow" | |
body = "🦎" | |
This file contains hidden or 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 | |
# title: download NCCN guideline | |
# date created: "2023-08-09" | |
green_color="\033[32m" | |
reset_color="\033[0m" | |
today_date=$(date +"%Y-%m-%d") | |
input_file="nccnlist.txt" | |
# Check if the input file exists |
This file contains hidden or 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
import logging | |
import os | |
import subprocess | |
from pathlib import Path | |
import pyimgur | |
import pyperclip | |
# pip install Pillow | |
from PIL import ImageGrab |
This file contains hidden or 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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# title: getab | |
# date: "2023-09-02" | |
# author: Hsieh-Ting Lin, the Lizard 🦎 | |
import re | |
import subprocess | |
import sys | |
import openai |