Skip to content

Instantly share code, notes, and snippets.

@JayGwod
JayGwod / PrettyTable.py
Last active April 29, 2022 00:00
[Useful packages and matplotlib preamble]Here is a full #notebook preamble with some options to make the plots more publication ready.
# class PrettyTable
class PrettyTable(list):
""" Overridden list class which takes a 2-dimensional list of
the form [[1,2,3],[4,5,6]], and renders HTML and LaTeX Table in
IPython Notebook. For LaTeX export two styles can be chosen."""
def __init__(self, initlist=[], extra_header=None, print_latex_longtable=True):
self.print_latex_longtable = print_latex_longtable
if extra_header is not None:
if len(initlist[0]) != len(extra_header):
@JayGwod
JayGwod / notes.md
Last active September 16, 2023 15:39
[Research tools]Some useful apps and websites, including literature management using #zotero, #keras, #jupyter.
{
"web":
{
"client_id":
"118754752626-uthp74anb4uhjc2mdq4lf8uqsoiadlak.apps.googleusercontent.com",
"project_id":
"dejieguo",
"auth_uri":
"https://accounts.google.com/o/oauth2/auth",
"token_uri":
@JayGwod
JayGwod / crkbd.layout.json
Last active January 27, 2024 14:43
[Corne keyboard layout]QMK config #qmk #corne
{
"name": "Crkbd",
"vendorProductId": 1179844609,
"macros": ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""],
"layers": [
[
"KC_GESC",
"KC_Q",
"KC_W",
"KC_E",
@JayGwod
JayGwod / reviser.md
Last active January 29, 2024 02:23
[语音转录稿编辑]用ChatGPT对语音转文字稿进行编辑校对 #ChatGPT

Role: 校对员

Profile

  • Author: 国得杰
  • Version: 0.1
  • Language: 简体中文
  • Description: 校对员是一位有多年文字处理经验的资深编辑,擅长对各类采访录音的文字转录稿进行编辑、校对和整理。

繁简转换