You may need to configure a proxy server if you're having trouble cloning
or fetching from a remote repository or getting an error
like unable to access '...' Couldn't resolve host '...'
.
Consider something like:
nodes: | |
- id: webcam | |
custom: | |
source: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/opencv_stream.py | |
outputs: | |
- image | |
- id: idefics2 | |
operator: | |
python: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/idefics2_op.py | |
inputs: |
def getchar(): | |
#Returns a single character from standard input | |
import tty, termios, sys | |
fd = sys.stdin.fileno() | |
old_settings = termios.tcgetattr(fd) | |
try: | |
tty.setraw(sys.stdin.fileno()) | |
ch = sys.stdin.read(1) | |
finally: | |
termios.tcsetattr(fd, termios.TCSADRAIN, old_settings) |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
<div class="container"> | |
<header> | |
<h1>Pure <strong>CSS</strong> Progress</h1> | |
<p>... a pretty liquid progress-bar.</p> | |
</header> | |
<section> | |
<article> | |
<input type="radio" name="switch-color" id="red" checked> | |
<input type="radio" name="switch-color" id="cyan"> | |
<input type="radio" name="switch-color" id="lime"> |
# Courtesy of ESRI Australia | |
# https://esriaustraliatechblog.wordpress.com/2020/12/22/basic-enterprise-geodatabase-maintenance/ | |
# For replicas visit https://esriaustraliatechblog.wordpress.com/2021/07/06/faq-what-is-the-correct-workflow-to-achieve-a-full-compress-in-a-versioned-geodatabase-using-replicas/ | |
# Other references | |
# https://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/recommended-version-administration-workflow.htm | |
# https://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/using-python-scripting-to-batch-reconcile-and-post-versions.htm | |
# https://sspinnovations.com/blog/very-simple-automated-sde-database-maintenance/ | |
import logging |
※ Unity 向けの .gitignore を入れるとか、git config --global core.autocrlf false
するとかはされてらっしゃるとして、それ以外の所を…
Packages/.gitignore があるので、VPMまで管理したいときは git リポジトリに入れる前にこの .gitignore を消す(しかし、VCCは Packages/.gitignore を VPM 触る度に再作成するので毎度消すことになる)か、vrc-get の GUI 実装である ALCOM でUnity Projectを作るとこれが最初から無いので便利だし、VCCより爆速でうれしい。
(古いブランチに切り替えるときなんかで事故ったりするので、 Packages も git で管理した方がいいって思ってます。)
https://vrc-get.anatawa12.com/alcom/
マージは出来ないので、ベースのルナトくんからブランチ切って服着せる。みたいな使い方してます。\
#![allow(unused)] // silence unused warnings while exploring (to comment out) | |
use std::{error::Error, str}; | |
use s3::bucket::Bucket; | |
use s3::creds::Credentials; | |
use s3::region::Region; | |
use s3::BucketConfiguration; | |
// Youtube Walkthrough - https://youtu.be/uQKBW8ZgYB8 |
Add-Type -Path 'C:\Program Files\Microsoft SQL Server\140\SDK\Assemblies\Microsoft.SqlServer.Smo.dll' | |
$SmoServer = New-Object ('Microsoft.SqlServer.Management.Smo.Server') -argumentlist 'localhost' | |
$SmoServer.ConnectionContext.LoginSecure = $false | |
$SmoServer.ConnectionContext.set_Login("sa") | |
$SmoServer.ConnectionContext.set_Password("Passw0rd!") | |
$db = $SmoServer.Databases['msdb'] | |
$Objects = $db.Tables |
rebase
vs merge
).rebase
vs merge
)reset
vs checkout
vs revert
)git rev-parse
)pull
vs fetch
)stash
vs branch
)reset
vs checkout
vs revert
)