运⾏在浏览器中的 P2P ⽹络 - 李敏成NAT (TURN) WebRTC Implementations in Rust Lib Runtime webrtc-rs native with tokio web-sys browser Browser Node (WASM) + Server Node (Native) Implement once (part of), run anywhere! Introduce rings-node https://github.com/RingsNetwork/rings-node Connect through WebRTC Route by Chord DHT Rings-node browser extension Rings-node daemon 浏览器节点 服务器节点 Node communication Node A Node B Create Offer ConnectNodeSend0 码力 | 23 页 | 1.74 MB | 1 年前3
Laravel 5.6 中文文档cookie Crypt Illuminate\Encryption\Encrypter encrypter DB Illuminate\Database\DatabaseManager db DB(实例) Illuminate\Database\Connection db.connection Event Illuminate\Events\Dispatcher events 名为 valet,本地的数据库 用户名为 root,密码为空,对应地,修改 .env 文件配置如下: DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=valet DB_USERNAME=root DB_PASSWORD= 具体配置值以你自己的开发环境设置为准。我们将基于 Laravel 强大的数据库迁移功能创建 中文学习资源:http://laravelacademy.org 51 然后编辑同目录下的 DatabaseSeeder.php 文件如下(取消调用数据表填充器前的注释):  最后执行 php artisan db:seed 即可插入对应数据到 users 表了,这样我们在浏览器中再次访问 http://blog.test/api/users/1 的时候就会显 示 User 模型数据了: 本文档由 Laravel0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 6.0 中文文档中文学习资源:https://xueyuanjun.com 40 'debug_blacklist' => [ '_ENV' => [ 'APP_KEY', 'DB_PASSWORD', ], '_SERVER' => [ 'APP_KEY', 'DB_PASSWORD', ], '_POST' => [ 'password', ], ], ]; 访问配置值 你可以使用全局辅助函数 config() crypter encrypter DB Illuminate\Database\DatabaseManager db 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 150 门面 类 服务容器绑定 DB(实例) Illuminate\Database\Connection db.connection Event I valet, 本地的数据库用户名为 root,密码为空,对应地,修改 .env 文件配 置如下: DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=valet DB_USERNAME=root DB_PASSWORD= 具体配置值以你自己的开发环境设置为准。我们将基于 Laravel 强 大的数据库迁移功能创建0 码力 | 1442 页 | 14.66 MB | 1 年前3
Flask Documentation (1.1.x)generate URLs for that particular function, and returns the message we want to display in the user’s browser. Just save it as hello.py or something similar. Make sure to not call your application flask.py not to forget to set the enctype="multipart/form-data" attribute on your HTML form, otherwise the browser will not transmit your files at all. Uploaded files are stored in memory or at a temporary location layout will look like this: /home/user/Projects/flask-tutorial ├── flaskr/ │ ├── __init__.py │ ├── db.py │ ├── schema.sql │ ├── auth.py │ ├── blog.py │ ├── templates/ │ │ ├── base.html │0 码力 | 428 页 | 895.98 KB | 1 年前3
Flask Documentation (1.1.x)generate URLs for that particular function, and returns the message we want to display in the user’s browser. Just save it as hello.py or something similar. Make sure to not call your application flask.py not to forget to set the enctype="multipart/ form-data" attribute on your HTML form, otherwise the browser will not transmit your files at all. Uploaded files are stored in memory or at a temporary location your project layout will look like this: /home/user/Projects/flask-tutorial flaskr/ __init__.py db.py schema.sql auth.py blog.py templates/ base.html auth/ login.html register.html blog/ create0 码力 | 291 页 | 1.25 MB | 1 年前3
Build web application with Golangview the source code. Execute the godoc -http=:8080 command, then open 127.0.0.1:8080 in your browser. You should see a localized golang.org. It can not only show the standard packages' information and Community editions 2. Install the Go plugin. Choose File - Setting - Plugins , then click Browser repo . 3. Search golang , double click download and install and wait for the download to complete for your project, you don't have to import them like "import ./db" . Instead you can use import "github.com/thewhitetulip/Tasks/db" so that when executing go get on my repo, the go tool will find0 码力 | 327 页 | 1.63 MB | 1 年前3
Django 2.2.x Documentationyears’ worth of database-schema problems. Here’s a quick example: mysite/news/models.py from django.db import models class Reporter(models.Model): full_name = models.CharField(max_length=70) def objects. It’s as easy as registering your model in the admin site: mysite/news/models.py from django.db import models class Article(models.Model): pub_date = models.DateField() headline = models frameworks, not Web servers.) Now that the server’s running, visit http://127.0.0.1:8000/ with your Web browser. You’ll see a “Congratulations!” page, with a rocket taking off. It worked! Changing the port By0 码力 | 2915 页 | 2.83 MB | 1 年前3
Django 2.1.x Documentationof database-schema problems. Here’s a quick example: Listing 1: mysite/news/models.py from django.db import models class Reporter(models.Model): full_name = models.CharField(max_length=70) def __str__(self): as easy as registering your model in the admin site: Listing 2: mysite/news/models.py from django.db import models class Article(models.Model): pub_date = models.DateField() headline = models.CharField(max_length=200) frameworks, not Web servers.) Now that the server’s running, visit http://127.0.0.1:8000/ with your Web browser. You’ll see a “Congratulations!” page, with a rocket taking off. It worked! Changing the port By0 码力 | 1910 页 | 6.49 MB | 1 年前3
Django 2.1.x Documentationyears’ worth of database-schema problems. Here’s a quick example: mysite/news/models.py from django.db import models class Reporter(models.Model): full_name = models.CharField(max_length=70) def objects. It’s as easy as registering your model in the admin site: mysite/news/models.py from django.db import models class Article(models.Model): pub_date = models.DateField() headline = models frameworks, not Web servers.) Now that the server’s running, visit http://127.0.0.1:8000/ with your Web browser. You’ll see a “Congratulations!” page, with a rocket taking off. It worked! Changing the port By0 码力 | 2790 页 | 2.71 MB | 1 年前3
Django 3.2.x Documentationof database-schema problems. Here’s a quick example: Listing 1: mysite/news/models.py from django.db import models class Reporter(models.Model): full_name = models.CharField(max_length=70) def __str__(self): required is to register your model in the admin site: Listing 2: mysite/news/models.py from django.db import models class Article(models.Model): pub_date = models.DateField() headline = models.CharField(max_length=200) frameworks, not Web servers.) Now that the server’s running, visit http://127.0.0.1:8000/ with your Web browser. You’ll see a “Congratulations!” page, with a rocket taking off. It worked! Changing the port By0 码力 | 2199 页 | 7.89 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













