Skip to content

Instantly share code, notes, and snippets.

View onepisYa's full-sized avatar
💭
I may be slow to respond.

onepisYa onepisYa

💭
I may be slow to respond.
View GitHub Profile
@onepisYa
onepisYa / microgpt.py
Created March 4, 2026 07:51 — forked from karpathy/microgpt.py
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@onepisYa
onepisYa / stash-config-direct.yaml
Last active January 13, 2025 01:39
rule-provider-config
payload:
- 'www.duolingo.com'
- 'www.bilibili.com'
- 'coding.net'
@onepisYa
onepisYa / Application.java
Last active April 18, 2024 04:29
Java Spring BeanPostProcessor Interface learn
package learning.spring.helloworld;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class Application {
public static void main(String[] args) {
AnnotationConfigApplicationContext applicationContext =
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@onepisYa
onepisYa / 数据统计分析实战.ipynb
Created July 10, 2021 12:22
数据统计分析实战
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@onepisYa
onepisYa / 互联网金融实战数据分析.ipynb
Created July 10, 2021 12:21
互联网金融实战数据分析.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@onepisYa
onepisYa / pyechart.ipynb
Created July 10, 2021 12:19
pyechart.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@onepisYa
onepisYa / pandas数据分析.ipynb
Created July 10, 2021 12:17
pandas数据分析实际使用.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@onepisYa
onepisYa / pandas基础.ipynb
Created July 10, 2021 12:15
pandas数据分析基础.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.