Skip to content

Instantly share code, notes, and snippets.

Avatar
🇹🇼
Everything is not OK.

Yami Odymel YamiOdymel

🇹🇼
Everything is not OK.
View GitHub Profile
@YamiOdymel
YamiOdymel / example.js
Created Nov 23, 2020
Puppeteer Scrapper Example
View example.js
const puppeteer = require("puppeteer");
// scrapeResults 會將頁面上的結果元素統整出我們要的資料結構。
async function scrapeResults(page) {
return await page.evaluate(() =>
Array.from(document.querySelectorAll(".section-result"), function (e) {
return {
// title 是店家標題。
title: e.querySelector(".section-result-title")?.textContent,
// rating 是店家評分。
View Yan-K.md

前言

這兩年多虧於 VTuber 的盛行,動態捕捉從原先軟硬體價格昂貴難以上手,到現在越來越多適合獨立創作者的軟體盛行,入門的門檻也一天比一天降低許多。此表單整理我這陣子試過適合直播的動態捕捉軟體,包含 Live2D、3D、半身捕捉、全身捕捉等,希望對有興趣的人有幫助,有錯誤或補充資訊也歡迎提出。

Yan-K / 2020.06.08 社群平台:Website | Facebook | Twitter | Plurk | Twitch

【2D】- 免費

PrprLive

View Simple-CSS-Theme-System.css
button {
--text-color : #333;
--background-color : #F5F5F5;
--background-hover-color: #EEE;
}
button.primary {
--text-color : #FFF;
--background-color : #348CEE;
--background-hover-color: #3186E4;
@YamiOdymel
YamiOdymel / checksum
Last active Dec 28, 2019
aru_system_verification
View Install-ngrok-On-Ubuntu.md
$ sudo apt-get update
$ sudo apt-get install unzip wget
$ wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
$ unzip ngrok-stable-linux-amd64.zip
$ sudo mv ./ngrok /usr/bin/ngrok
$ ngrok
@YamiOdymel
YamiOdymel / Disable-Synaptics-SmartSense.reg
Created Jan 22, 2019
This .reg file disables the SmartSense of Synaptics. Try it if your mouse can't move while typing (or can't move for a moment after typed).
View Disable-Synaptics-SmartSense.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Synaptics\SynTP\Defaults]
"PalmKms7"=dword:00000000
"PalmKms6"=dword:00000000
"PalmKms5"=dword:00000000
"PalmKms4"=dword:00000000
"PalmKms3"=dword:00000000
"PalmKms2"=dword:00000000
"PalmKms1"=dword:00000000
@YamiOdymel
YamiOdymel / buntdb-benchmark.txt
Last active Sep 26, 2017
BuntDB Performance on DigitalOcean & Ubuntu 17.04 & 512 MB & Go 1.9
View buntdb-benchmark.txt
root@ubuntu-512mb-sgp1-01:~/go/src/github.com/tidwall/buntdb-benchmark# ./buntdb-benchmark -q
GET: 535450.80 operations per second
SET: 80733.26 operations per second
ASCEND_100: 276894.21 operations per second
ASCEND_200: 160524.62 operations per second
ASCEND_400: 66931.87 operations per second
ASCEND_800: 39054.33 operations per second
DESCEND_100: 370292.73 operations per second
DESCEND_200: 188601.49 operations per second
DESCEND_400: 108451.81 operations per second
View emoji.go
// (c) 2017 Yami Odymel
// This code is licensed under MIT license.
package main
import (
"fmt"
"html"
"strconv"
)
@YamiOdymel
YamiOdymel / Ebiten-with-Leap.go
Last active Dec 15, 2021
Ebiten with Leap Motion written in Golang
View Ebiten-with-Leap.go
package main
import (
"fmt"
"image/color"
"math"
"github.com/hajimehoshi/ebiten"
"github.com/hajimehoshi/ebiten/ebitenutil"
"github.com/jaxi/motion"