Skip to content

Instantly share code, notes, and snippets.

@bobchao
bobchao / n8n-YouTube-track-playlist.json
Created August 28, 2020 02:37
Read csv which contains YouTube Video id & track id, then put sessions from a specific track into the playlist you choose.
{
"name": "Track Playlist",
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
130,
function createTempSheets() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
//指定單一 sheet
var dataSheet = ss.getSheetByName("communitykey");
var crKeys = dataSheet.getRange(2,1,19,3).getValues();
for (var row=0; row<19; row++){
var sheet = ss.insertSheet(crKeys[row][0]);
──────────────────────────────────
本メールは、「オープンソースカンファレンス2019 Tokyo/Spring」に
ユーザ登録いただいた皆様に送信しています。
──────────────────────────────────
<このメールは転送、転載自由です>
====================================================================
「OSC2019 Tokyo/Spring」 2/22(金)-23(土)開催!
        セミナープログラム公開と参加登録 受付開始のご案内
tr.issue.status-5, tr.issue.status-11 {display:none;}
M05 S0
G90
G21
G1 F600
G1 X-17.2785 Y-24.3853
G4 P0
M03 S255
G4 P0
G1 F600.000000
@bobchao
bobchao / m_test.txt
Created December 22, 2017 14:08
cubiio - g-code file for power / speed combinations testing.
M05 S0
G90
G21
G1 F600
G1 X-40.225 Y39.6688
G4 P0
M03 S255
G4 P0
G1 F600.000000
<style>
@import url('https://fonts.googleapis.com/css?family=Zilla+Slab');
table {width: 100%;}
table, th, td {
border-collapse: collapse;
border: 1px solid white;
padding: .5em;
font-size: 14px;
color: white;
}
@bobchao
bobchao / coscup_2017_i_need_wood.md
Last active July 15, 2017 17:14
COSCUP 2017 homemade schedule filter
  1. Drag this link to your bookmark toolbar
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html expr:dir='data:blog.languageDirection' lang='zh-TW' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<head>
<meta content='500674948' property='fb:admins'/>
<b:include data='blog' name='all-head-content'/>
<title><data:blog.pageTitle/></title>
<link href='http://coscup.org/2014/assets/normalize.css' rel='stylesheet' type='text/css'/>
<link href='http://coscup.org/2016-assets/mobile.css' media='handheld, screen and (max-width: 480px)' rel='stylesheet' type='text/css'/>
<link href='http://coscup.org/2016-assets/style.css' media='print, screen and (min-width: 481px)' rel='stylesheet' type='text/css'/>
Arduino: 1.6.9 (Mac OS X), Board: "Arduino Taiwan (USB)"
TaiwanNo1:10: error: no matching function for call to 'CapacitiveSensor::CapacitiveSensor()'
CapacitiveSensor input[7];
^
/Users/bobchao/Documents/Arduino/TaiwanNo1/TaiwanNo1.ino:10:25: note: candidates are:
In file included from /Users/bobchao/Documents/Arduino/TaiwanNo1/TaiwanNo1.ino:1:0:
/Users/bobchao/Documents/Arduino/libraries/CapacitiveSensor/CapacitiveSensor.h:206:2: note: CapacitiveSensor::CapacitiveSensor(uint8_t, uint8_t)
CapacitiveSensor(uint8_t sendPin, uint8_t receivePin);
^