Compare commits

...

8 Commits
dev ... master

Author SHA1 Message Date
floratest1 bceecd7694 ADD file via upload close #1 2024-10-19 13:56:49 +08:00
floratest1 ab33f8bd45 ADD file via upload 2024-10-19 13:55:18 +08:00
floraachy de17d5f438 38岁老Mac222222 CLOSED #1,#2,#3,#4 2024-10-19 13:48:45 +08:00
floraachy f2ce4d071c 38岁老Mac222222 Fix #1,#2,#3,#4 2024-10-19 13:48:04 +08:00
floraachy d5adcc80c3 38岁老Mac222222 closing #3,#4 2024-10-19 13:45:04 +08:00
floraachy ee25991c40 38岁老Mac222222 closing #3,4 2024-10-19 13:44:31 +08:00
floraachy 2281f8fbdb 38岁老Mac“ closing #3,4 2024-10-19 13:42:33 +08:00
floraachy ab11fb43ac 38岁老Mac“复工”,被改造上网!仅400B/s的速度,能和ChatGPT聊天、用Claude编码...: Closing #2 2024-10-19 11:21:02 +08:00
4 changed files with 140 additions and 0 deletions

46
ChromeOS.md Normal file
View File

@ -0,0 +1,46 @@
# Introduction
You don't need to compile from source in Developer mode, you can just use the [Chromebrew](https://github.com/skycocker/chromebrew)-provided version.
If your Chromebook is relatively new, you can enable the Linux VM now built into ChromeOS to install Go without developer mode. Follow the steps from the following Google Support article to enable this feature- https://support.google.com/chromebook/answer/9145439. This has been tested on a Samsung Chromebook Plus on version 71.0.3578.127. If this feature is not available for you, you will need to enable Developer Mode.
This tutorial will show you how to install, build, and run Go on Chrome OS.
Please note this has only been tested on a 64GB LTE Pixel, however it should work on other Chromebooks. Note that enabling developer mode reduces the security guarantees offered by Chrome OS.
# Install Go
First download the latest version of Go for Linux from the [Go Downloads page](https://go.dev/dl/).
After that, open a shell by hitting (CTRL+ALT+T) and typing in `shell` then hit enter. Then extract it using the following command (when replacing `< Go Linux package >` with the name of the file you downloaded):
```
sudo tar xpvf ~/Downloads/< Go Linux package > -C /usr/local
```
Go should now be installed you can test this by typing `/usr/local/go/bin/go`. If it installed correctly, you should see the Go help prompt. Go is now installed.
# Create a Workspace
To keep this simple just create a folder called `/usr/local/go/work`. Also, create a folder called `src` inside `/usr/local/go/work/`.
# Set PATH
Add the following to `~/.bashrc`:
```
export GOPATH="/usr/local/go/work"
export PATH="${PATH}:/usr/local/go/bin:${GOPATH}/bin"
```
This will allow you to run your Go programs in your shell.
# Test if it worked
First create a folder inside of your `/usr/local/go/src` folder. After that create a file in your folder called `hello.go` with the following in it:
```go
package main
import "fmt"
func main() {
fmt.Println("Hello, Chrome OS!")
}
```
Now, run `go install hello`. Then, run `${GOPATH}/bin/hello` (or just `hello` if you setup your GOPATH above) and you should see `Hello, Chrome OS!`.
***
# Reporting bugs
Please go to [Issues](https://github.com/golang/go/issues) to report any issues you have.

2
README - 副本.md Normal file
View File

@ -0,0 +1,2 @@
# tesgsdfsgfd

BIN
chalers.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -0,0 +1,92 @@
{
"ID": "cs8voqbgnbnh5a7qt7vg",
"CreateUserID": 11,
"UpdateUserID": 0,
"CreatedAt": "2024-10-18T06:12:57Z",
"UpdatedAt": "2024-10-18T06:12:57Z",
"DeletedAt": null,
"WorkspaceID": "personal-11",
"Name": "测试",
"Description": "测试",
"Status": "Unpublished",
"RuntimeStatus": "Init",
"Icon": {
"Path": "upload/full/bc/e7/717c27048890f66a28fb3b02557e448ff8bab63836bcb2fe59d2840691b3",
"ID": "cs8voqbgnbnh5a7qt7v0",
"Sha256": "bce7717c27048890f66a28fb3b02557e448ff8bab63836bcb2fe59d2840691b3",
"Size": 78285
},
"Hash": "d5ce8c43d5c8d295695cf953ad0b5ae8",
"LastHash": "",
"Nodes": [
{
"ID": "cs8voqbgnbnh5a7qt800",
"CreateUserID": 11,
"UpdateUserID": 0,
"CreatedAt": "2024-10-18T06:12:57Z",
"UpdatedAt": "2024-10-18T06:12:57Z",
"DeletedAt": null,
"Type": "Start",
"Name": "Start",
"Layout": {
"X": 100,
"Y": 200
},
"StartConfig": {
"InputSchema": [
{
"Name": "",
"Required": true,
"Type": 0
}
],
"OutputSchema": [
{
"Name": "",
"Required": true,
"Type": 0
}
]
}
},
{
"ID": "cs8voqbgnbnh5a7qt80g",
"CreateUserID": 11,
"UpdateUserID": 0,
"CreatedAt": "2024-10-18T06:12:57Z",
"UpdatedAt": "2024-10-18T06:12:57Z",
"DeletedAt": null,
"Type": "End",
"Name": "End",
"Layout": {
"X": 1200,
"Y": 200
},
"EndConfig": {
"InputVariables": [
{
"Type": "",
"Name": "output",
"ValueFrom": {
"OutputRef": {
"NodeID": "",
"OutputFieldPath": ""
}
},
"StringValue": null,
"IntValue": null,
"DoubleValue": null,
"BoolValue": null
}
],
"OutputType": "",
"OutputSchema": [
{
"Name": "output",
"Type": -1
}
]
}
}
]
}