Skip to content

Instantly share code, notes, and snippets.

View goodjack's full-sized avatar
:octocat:
嗨~

小克 goodjack

:octocat:
嗨~
View GitHub Profile
@goodjack
goodjack / jcb.js
Created June 2, 2024 07:25 — forked from Oschangkai/jcb.js
JCB ezcard
// ==UserScript==
// @name ezcard-helper
// @namespace http://tampermonkey.net/
// @version 2024.06.02
// @description 懂的都懂
// @author Oschangkai
// @match https://ezweb.easycard.com.tw/Event01/JCBLoginServlet
// @match https://ezweb.easycard.com.tw/Event01/JCBLoginRecordServlet
// @grant none
// ==/UserScript==
@goodjack
goodjack / equipment.md
Created April 27, 2024 09:27 — forked from sufuf3/equipment.md
軟體工程師裝備建議

列舉的種類基本上是生產力、健康相關,或是好用的工程師潮流精品(?)

這些是我偏好或想要的裝備,歡迎留言提供其他推薦裝備、發問為何要用或不用某個裝備、品牌。

免費的工具軟體雖然也很重要,但不在這邊討論,有興趣請查看 personal-settings: mac

我寫了一本效率技巧集合的電子書,比這篇詳細,且有有生活方面的 tips,歡迎參考 超效率!生活習慣

電腦周邊設備

@goodjack
goodjack / prompts_v1.0
Created April 11, 2024 04:48 — forked from IrenaYuan/prompts_v1.0
Readwise reader - Ghostreader prompts
寫下三到五個簡短列點,告訴我這篇文章在說什麼,請使用繁體中文,遇到專有名詞、人名請保持原狀。如果內容涵蓋過多,可以允許超過五個列點,但句子就需要更加簡潔。
"""
Title: {{ document.title }}
Author: {{ document.author }}
Domain: {{ document.domain}}
{% if (document.content | count_tokens) > 2000 %}
{{ document.content | central_sentences | join('\n\n') }}
{% else %}
{{ document.content }}
@goodjack
goodjack / pytest.md
Created February 27, 2024 07:50 — forked from kwmiebach/pytest.md
pytest cheat sheet

Usage

(Create a symlink pytest for py.test)

pytest [options] [file_or_dir] [file_or_dir] ...

Help:

@goodjack
goodjack / Makefile
Created March 22, 2021 10:18 — forked from mpneuried/Makefile
Simple Makefile to build, run, tag and publish a docker containier to AWS-ECR
# import config.
# You can change the default config with `make cnf="config_special.env" build`
cnf ?= config.env
include $(cnf)
export $(shell sed 's/=.*//' $(cnf))
# import deploy config
# You can change the default deploy config with `make cnf="deploy_special.env" release`
dpl ?= deploy.env
include $(dpl)
@goodjack
goodjack / Retrive Json Data from Mysql.sql
Created November 9, 2020 03:37 — forked from ti-ka/Retrive Json Data from Mysql.sql
If you have saved data into a field as json, you can use mysql to retrieve each field. It may be useful in migrating database when you have decided that using JSON in a database was not a good idea.
/* APPENDIX 1-B: CLEANUP
This makes this sql query re-run able */
DROP TABLE IF EXISTS JSON_TABLE;
DROP TABLE IF EXISTS SPLIT_TABLE;
DROP VIEW IF EXISTS SPLIT_VIEW;
/* APPENDIX 1-B: Prepare TABLE
Let's say this is an example table */
@goodjack
goodjack / git-team-work-flow.md
Created November 3, 2020 15:32 — forked from fntsrlike/git-team-work-flow.md
Git 團隊工作流程風格:每當要做新專案時,都會貼這個給合作夥伴。

Team Work Flow

Git

Setting

請依照您的作業系統針對版本控制換行字元同步做設定。

Windows

@goodjack
goodjack / Makefile
Created July 21, 2020 16:28 — forked from isaacs/Makefile
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.