Skip to content

Instantly share code, notes, and snippets.

@Swind
Swind / Get User Media
Last active March 19, 2021 07:34 — forked from greenido/webRTC Hello World Example.html
Get User Media
同時取得 Audio 與 Video 的權限
@Swind
Swind / README.md
Last active November 28, 2019 09:20
Image

Image

@Swind
Swind / install.bat
Last active March 23, 2019 03:29
My WOW AddOns
:: Elvui
instawow install https://www.tukui.org/download.php?ui=elvui
:: DBM
instawow install https://www.curseforge.com/wow/addons/deadly-boss-mods
:: Raider.IO
instawow install https://www.curseforge.com/wow/addons/raiderio
:: Weakauras
instawow install https://www.curseforge.com/wow/addons/weakauras-2
:: Simulationcraft
instawow install https://www.curseforge.com/wow/addons/simulationcraft
@Swind
Swind / vscode.md
Last active April 22, 2018 11:48
[PHP 筆記]

安裝 pecl

macos

curl -O http://pear.php.net/go-pear.phar
sudo php -d detect_unicode=0 go-pear.phar

安裝 xdebug

@Swind
Swind / README.md
Last active August 3, 2019 16:12
description

This is for pet

dSg0SaqEQs7NsgWQsvTiLukJOivAfvQqZyQuAjturtzQiBzvPYywsrMtrQQrjrvDkjQYSwskAwkjULcQDjrfwxLkyElPsddfDmPQLPqUUKEMcvhuvHMMiAplPcxtIYffH2MujBubPVPQOPtACejUCrkNtI0KxsvT5PcJEvb9rLuQEqLQ0twsQYpPkUNQsvmuvLY(usrDvvL8QLuLluPISSLKkDGLuOfsepKiPjQG4efPkVOsv4gljfgPssojLkvRuQuDLkvkZuvbUPcLDQu3Piv8NkvrhAQuSukv1trMkfNAjPKTQKuXTgb2lCSLus)vv11Qur9TLuIZvPs8Ukvs3BjfmyQQdlLflr8yvzYs4YcBwj(mrnAu40ewTssPETQsvA2QCBuA3I63uz4I0rwsQQLRONJQpprLo9urTDf47ukJxe0Uwsfn6HbudgOG4GgvogvogvoscIfubOcyavi4R218tfdcqT7andzHlB8MgGKNUAkO2tfdcZuilhZXCfb2d3ZeKOauNtqNKw3(DG4XT8nNiRGK4Xy8m2hK4qnGYvwZuilhto29GoxRagqA7IScdi26PcyGcfuHyzr8QN6fgqS1tfWafkOP7cyaXwpvaduOGExJZHbexKLVa0qsCmp7v912KO9HckDqQ2UiRWaITEQagOqbT0EQWLHbeB9ubmqHcQYJ)314Cq6SgGMTxadi26PcyGcfkOiHPTCruajqb9Gb7Eya51ZYcpuSh(tMGApvmimtHSCmhZveyZeKofYYXegqQ30aexBALdQMJbrwb1QQduLh)CgoBEYqcOyqKvqF8Pcx2Y)lERKlanJ2rPXD7gBaQd7TB6Cc606BxShsRCUAcQYJFEAC3UXgqciodNnpzqCgoBEYs15UcNTmOxLRo2FgIIaKkyJcq804UDJnWUVRrJsoouqmcHmdf7KmbDUwbmG02fzfgqS1tfWafkO314CyaXfz5lanKehZZEvFTnjAFOGQ84NNgpibu6GuTDrwHbeB9ubmqHcQYJ)314Ci
@Swind
Swind / utils.py
Created August 29, 2016 15:40
pytest utils
import inspect
import os
# http://stackoverflow.com/questions/3589311/get-defining-class-of-unbound-method-object-in-python-3/25959545#25959545
def get_class_that_defined_method(meth):
if inspect.ismethod(meth):
for cls in inspect.getmro(meth.__self__.__class__):
if cls.__dict__.get(meth.__name__) is meth:
return cls
meth = meth.__func__ # fallback to __qualname__ parsing
@Swind
Swind / text.md
Last active February 15, 2016 01:00
ネイテイブスピーカーとノウネイテイブスピーカー

ネットショッピング

自己紹介

オウヤン マーク キャロライン ポール クラウディア

Github 發 Pull Request & 貢獻流程速查

前言

此文目標讀者需先自行學會

  • 開 Github 帳號
  • 會 fork 程式 repository
  • 會在自己的電腦使用命令列 git
  • 會 clone 自己的 repository

Step 1: 預浸

預浸需要 60 度 20ml 的水,注水結束之後等待 20 秒

Water Tank: 60 degress C
Command: wait 30s