Skip to content

Instantly share code, notes, and snippets.

View beader's full-sized avatar
🏠
Working from home

beader beader

🏠
Working from home
  • 上海
View GitHub Profile
@beader
beader / 0-InfinitePageView for SwiftUI.md
Last active October 4, 2024 08:17
Create a InfinitePageView for SwiftUI using UIViewControllerRepresentable by the help of ChatGPT

InfinitePageView for SwiftUI

Create a Bi-directional Infinite PageView for SwiftUI using UIViewControllerRepresentable & UIPageViewController by the help of ChatGPT.

Checkout the video demo in the comment.

The code is generated by ChatGPT through multiple rounds of conversations. Checkout the conversations between ChatGPT and me if you are interested in.

@beader
beader / FetchedResultsView.swift
Last active February 23, 2023 11:52
A SwiftUI Demo for retrieving data from Core Data and visualizing them in Charts without using ViewModel
//
// ContentView.swift
// temp
//
// Created by beader on 2023/2/8.
//
import SwiftUI
import CoreData
import Combine
//
// ObjectGraphCloner.swift
//
//
// Created by beader on 2022/12/29.
//
import Foundation
import CoreData
@beader
beader / InfiniteScrollChart.swift
Last active August 28, 2024 18:16
Infinite Scrollable Bar Chart using Swift Charts
//
// InfiniteScrollChart.swift
// ChartsGallery
//
// Created by beader on 2022/11/3.
//
import SwiftUI
import Charts
@beader
beader / InfiniteTabView.swift
Last active October 24, 2024 03:13
Infinite Scrollable TabView using SwiftUI
//
// ContentView.swift
// InfinityTabView
//
// Created by beader on 2022/10/9.
//
import SwiftUI
struct ContentView: View {
@beader
beader / buy_fund_a_or_c.ipynb
Created February 14, 2020 05:50
基金应该买A类还是买C类
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@beader
beader / generative.ipynb
Created January 16, 2018 06:05
NTU Machine Learning 2017 Fall - Assignment 2
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@beader
beader / image_sentiment.ipynb
Last active January 16, 2018 06:04
NTU Machine Learning 2017 Fall - Assignment 3
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@beader
beader / hw1.ipynb
Created January 4, 2018 07:39
NTU Machine Learning 2017 Fall - Assignment 1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@beader
beader / mnist_cnn_hidden_layer_feature_representation_visualization.ipynb
Last active January 2, 2018 02:46
visualize the discriminative ability of hidden layers as feature representations of original images
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.