git switch main && git pull
git switch local && git merge main
cp CNAME public/
cp shuffle-for-tailwind.png public/
gh-pages -d public
Title | Chinese Title | Author | Chinese Author Name | Publication Year | Rating | Importance Rating | Additional Info | One-sentence Summary | Category | Why Important for Directors |
---|---|---|---|---|---|---|---|---|---|---|
Making Movies | 制作电影 | Sidney Lumet | 西德尼·卢梅特 | 1995 | 5.0 | 高 | Sidne |
书中文名 | 书英文名 | 作者 (中英双语) | Year of Publish | 一句话总结精辟之处 | Additional Key Info | Rating |
---|---|---|---|---|---|---|
故事 | Story | 罗伯特·麦基 (Robert McKee) | 1997 | 被认为是讲述故事艺术和编剧技巧的圣经 | 深入故事结构构建 | 10 |
电影剧本写作基础 | Screenplay: The Foundations of Screenwriting | 西德·菲尔德 (Syd Field) | 1979 | 编剧入门的经典指南 | 提供基础结构和格式 | 9.5 |
救猫咪 | Save the Cat! | 布雷克·斯奈德 (Blake Snyder) | 2005 | 以其简单直接的风格而闻名 | 提供商业电影编剧技巧和策略 | 9 |
编剧的解剖学 | The Anatomy of Story | 约翰·特鲁比 (John Truby) | 2007 | 聚焦于故事的深层结构 | 提供22步剧情结构分析 | 8.5 |
写电影 | Writing Movies | 哥谭编剧学院 (Gotham Writers' Workshop) | 2008 | 实用指南,从构思到完成稿件 | 涵盖剧本的整个创作过程 | 8 |
好脚 |
- Updating Ubuntu: Use
sudo apt update && sudo apt upgrade -y
for package updates andsudo do-release-upgrade
for OS upgrades. - Installing Shadowsocks: Install using
sudo apt install shadowsocks-libev
. - Configuring Shadowsocks: Modify
/etc/shadowsocks-libev/config.json
for server settings. - Logging: Include
"logfile": "/var/log/shadowsocks.log"
in the config, ensuring correct permissions. - Managing Shadowsocks Service: Restart with
sudo systemctl restart shadowsocks-libev
and check its status. - Launching New Instances: For additional users, create new configuration and service files, ensuring unique ports and passwords.
- Auto-Restart: Enable automatic restart on boot with
sudo systemctl enable shadowsocks-libev.service
. - Monitoring Logs: Use
sudo journalctl -u shadowsocks-libev
for detailed service logs.
Here's a summary of the useful commands and concepts we discussed today, which you can include in your lecture notes:
- image: Amazon Linux 2023 in AWS LightSail
-
Stopping and Starting Docker Containers with Docker Compose:
- Start containers:
docker-compose up -d
- Stop containers:
docker-compose down
- Start containers:
-
Managing the Docker Service:
- Start Docker service:
sudo systemctl start docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generates image using stable diffusion webui's api (automatic1111) | |
const fs = require('fs'); | |
const { Tool } = require('langchain/tools'); | |
const path = require('path'); | |
const axios = require('axios'); | |
const sharp = require('sharp'); | |
// const { run } = require('jest'); | |
class StableDiffusionAPI extends Tool { | |
constructor(fields) { |
- create ssh key
- save it to laptop
- goto your Lambda Labs portal
flowchart TD
subgraph Client
Browser -->|HTTP Request| Dispatcher_Servlet
end
subgraph Spring MVC
Dispatcher_Servlet --> HandlerMapping
HandlerMapping --> Controller
NewerOlder