本群組清單 提交修改 請至 gist 回覆
[AD]
- 台灣 OSS Conference的宣傳與交流
- https://lokidea.page.link/TWOssConfList (Google文件)
- 以上連結歡迎推廣與編輯
- https://www.fb.com/groups/Taiwan.OSS.Conference.List/
#include <libudev.h> | |
#define MAX_KBD_DEVICES 10 | |
const char** detect_kbd_devices() | |
{ | |
const char **devnodes = calloc(MAX_KBD_DEVICES, sizeof(char*)); | |
struct udev *udev; | |
struct udev_enumerate *enumerate; | |
struct udev_list_entry *devices, *dev_list_entry; | |
struct udev_device *dev; |
// Filename: HttpServer.cs | |
// Author: Benjamin N. Summerton <define-private-public> | |
// License: Unlicense (http://unlicense.org/) | |
using System; | |
using System.IO; | |
using System.Text; | |
using System.Net; | |
using System.Threading.Tasks; |
name: "Publish" | |
on: | |
push: | |
tags: | |
- "v*" | |
env: | |
PROJECT_PATH: WpfApp6/WpfApp6.csproj | |
ZIP_PATH: WpfApp6/bin/Release/net5.0-windows/win-x86/publish/WpfApp6-Portable.zip |
#@title Stable Diffusion web UI(最新版)をGoogle Colabで起動するためのコマンド | |
#@markdown ## このColabノートブックについて | |
#@markdown [Stable Diffusion web UI](https://github.com/AUTOMATIC1111/stable-diffusion-webui) をGoogle Colabで起動するためのノートブックとなります。 | |
#@markdown 利用したいモデルや拡張機能、LoRAなどにチェックを入れた上で実行ボタンを押すことで、設定した内容でStable Diffusion web UIが起動します。 | |
#@markdown また各項目には公式ページへのリンクをつけています。利用の際は公式ページよりライセンスなどを確認した上でご利用ください。 | |
### Stable Diffusion web UIインストール |
//utf8 to 1251 converter (1 byte format, RU/EN support only + any other symbols) by drgluck | |
function utf8_decode (aa) { | |
var bb = '', c = 0; | |
for (var i = 0; i < aa.length; i++) { | |
c = aa.charCodeAt(i); | |
if (c > 127) { | |
if (c > 1024) { | |
if (c == 1025) { | |
c = 1016; | |
} else if (c == 1105) { |
public class Entity : DynamicObject, IDictionary<string, object> | |
{ | |
private readonly IDictionary<string, object> _expando = null; | |
public Entity() | |
{ | |
_expando = new ExpandoObject(); | |
} | |
public override bool TryGetMember(GetMemberBinder binder, out object result) |
本群組清單 提交修改 請至 gist 回覆
[AD]
/******************************************************************************* | |
* | |
* A minimal Forth compiler in C | |
* By Leif Bruder <leifbruder@gmail.com> http://defineanswer42.wordpress.com | |
* Release 2014-04-04 | |
* | |
* Based on Richard W.M. Jones' excellent Jonesforth sources/tutorial | |
* | |
* PUBLIC DOMAIN | |
* |
Get-ChildItem . | Foreach-Object { | |
# this is done foreach reg key | |
$regKey = $_; | |
# property is a list of properties of the registry key | |
$_.Property | ForEach-Object -Process { | |
[PScustomobject]@{ | |
Key =$regKey.Name | |
Property=$_ | |
# Value is returned as a complex object extsnded with sevaral PS properties. |
{ | |
"bip": "172.39.1.5/24", | |
"fixed-cidr": "172.39.1.0/25", | |
"runtimes": { | |
"nvidia": { | |
"path": "nvidia-container-runtime", | |
"runtimeArgs": [] | |
} | |
} | |
} |