일본어 블로그 아티클의 @young의 번역글 입니다. 의역이 포함되어 있습니다.
- 「SwiftUIでMVVMを採用するのは止めよう」と思い至った理由
- https://qiita.com/karamage/items/8a9c76caff187d3eb838
Discover gists
| Go to Bitbucket and create a new repository (its better to have an empty repo) | |
| git clone git@bitbucket.org:abc/myforkedrepo.git | |
| cd myforkedrepo | |
| Now add Github repo as a new remote in Bitbucket called "sync" | |
| git remote add sync git@github.com:def/originalrepo.git | |
| Verify what are the remotes currently being setup for "myforkedrepo". This following command should show "fetch" and "push" for two remotes i.e. "origin" and "sync" | |
| git remote -v |
| CREATE OR REPLACE FUNCTION table_update_notify() RETURNS trigger AS $$ | |
| DECLARE | |
| id bigint; | |
| BEGIN | |
| IF TG_OP = 'INSERT' OR TG_OP = 'UPDATE' THEN | |
| id = NEW.id; | |
| ELSE | |
| id = OLD.id; | |
| END IF; | |
| PERFORM pg_notify('table_update', json_build_object('table', TG_TABLE_NAME, 'id', id, 'type', TG_OP)::text); |
Waifu Diffusion 1.3 Release Notes
HuggingFace Page for model download: https://huggingface.co/hakurei/waifu-diffusion-v1-3
Table of Contents
Lecture 1: Introduction to Research — [
Lecture 2: Introduction to Python — [
Lecture 3: Introduction to NumPy — [
Lecture 4: Introduction to pandas — [
Lecture 5: Plotting Data — [
FWIW: I'm not the author of the content presented here (which is an outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.
Effective Engineer - Notes
- By Edmond Lau
- Highly Recommended
👍 - http://www.theeffectiveengineer.com/
What's an Effective Engineer?
| import React, { createContext, useContext, useState, useEffect } from 'react'; | |
| import { toast } from 'react-hot-toast'; | |
| const Context = createContext(); | |
| export const StateContext = ({ children }) => { | |
| const getLocalStorage = (name) => { | |
| if (typeof window !== 'undefined') { | |
| const storage = localStorage.getItem(name); |
The Composable Architecture
The Composable Architecture(TCA)는 일관되고 이해할 수 있는 방식으로 어플리케이션을 만들기 위해 탄생한 라이브러리입니다. 합성(Composition), 테스팅(Testing) 그리고 인체 공학(Ergonomics)을 염두에 둔 TCA는 SwiftUI, UIKit을 지원하며 모든 애플 플랫폼(iOS, macOS, tvOS, watchOS)에서 사용 가능합니다.
Fibers
Fibers are an abstraction over sequential computation, similar to threads but at a higher level. There are two ways to think about this model: by example, and abstractly from first principles. We'll start with the example.
(credit here is very much due to Fabio Labella, who's incredible Scala World talk describes these ideas far better than I can)
Callback Sequentialization
Consider the following three functions
⚠️ To prevent data loss make sure you understand howrclone syncandrclone copywork.
How to sync Obsidian Notes on iOS
-
Download iSH from the AppStore
-
Open iSH and install
rcloneandnanowith the following command:
apk add rclone nano