Skip to content

Instantly share code, notes, and snippets.

@JayGwod
JayGwod / reviser.md
Last active January 29, 2024 02:23
[语音转录稿编辑]用ChatGPT对语音转文字稿进行编辑校对 #ChatGPT

Role: 校对员

Profile

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

繁简转换

@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",
{
"web":
{
"client_id":
"118754752626-uthp74anb4uhjc2mdq4lf8uqsoiadlak.apps.googleusercontent.com",
"project_id":
"dejieguo",
"auth_uri":
"https://accounts.google.com/o/oauth2/auth",
"token_uri":
@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.
@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 / note1.md
Last active April 22, 2022 13:37
[DeepMind x UCL RL Lecture Series]#强化学习, #RL

Introduction to Reinforcement Learning

What is artificial intelligence?

Definition of intelligence: To be able to learn to make decisions to achieve goals

What is reinforcement learning?

People and animals learn by interacting with our environment

@JayGwod
JayGwod / notes.md
Last active December 8, 2021 07:12
[Building Apps from a Business Perspective]Learn to turn your app solution into a reality. https://www.youtube.com/watch?v=poLzjLt2yqU&t=233s

MVP

Minimal Viable Product

The MVP is the product that in the shortest time can create value for one or more users on a continuous basis.

  • Eric Ries "Lean Startup"

MVP has limited goals and very close attention to how much it costs

@JayGwod
JayGwod / FundMe.sol
Last active November 21, 2021 17:13
[Solidity, Blockchain, and Smart Contract Course – Beginner to Expert Python Tutorial]Source: https://www.youtube.com/watch?v=M576WGiDBdQ&t=2646s #ETH
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.9.0;
interface AggregatorV3Interface {
function decimals() external view returns (uint8);
function description() external view returns (string memory);
function version() external view returns (uint256);
@JayGwod
JayGwod / notes.md
Last active September 27, 2021 00:01
[Django E-commerce Project v2 Part 1 - Database Design]#django #database

Field Names

  1. Unique, descriptive name that is meaningful
  2. Accurate, clear, and unambiguous
  3. minimum number of words
  4. Avoid word that convey physical characteristics
  5. Avoid where possible acronyms and abbreviations

Ideal Fields

@JayGwod
JayGwod / requirements.txt
Last active July 19, 2021 06:46
[Django vscode configuration]Vscode django project settings. #django #vscode
black
isort
autopep8
pylint
pylint-django