[scratch]kittenbot小黑貓

參考網址:https://kblock.kittenbot.cn/

購買套件  https://www.kittenbot.cc/

全佑電腦- 機器人科學館

發表於 程式設計, 軟體使用 | 發表迴響

[scratch]OSEP scratch3

參考網址:https://sites.google.com/view/osep-scratch3

線上編輯
https://ys-fang.github.io/OSEP/app/

課程列表
https://2blog.ilc.edu.tw/868/44668/

OSEP scratch3(註)是以MIT原版scratch3為基礎,再增加支援多種硬體及網路功能的擴展積木。

其中網路功能的擴展積木可以直接使用,跟硬體有關的擴展積木需要安裝(啟動)轉譯程式。

有讀寫google試算表的擴充套件

google 試算表寫入
示範影片 https://www.youtube.com/watch?v=B6uRUmgsoSE&list=PL52qbzg6rwU6T4qVpjjFKSmE9Sl8jKKwp&index=16
scratch3寫入google試算表
Apps Script  發佈/部署為網應用程式

function doGet(e) {
  var params = e.parameter;
  var column1 = params.c1;
  var column2 = params.c2;
  var column3 = params.c3;
  var column4 = params.c4;
  var column5 = params.c5;
  var column6 = params.c6;
  var column7 = params.c7;
  var column8 = params.c8;
  var date = new Date();
  var now = date.getFullYear()+'/'+(date.getMonth() + 1)+'/'+date.getDate() + ' '+ date.getHours() + ':' + date.getMinutes() + ':' + date.getSeconds();


  //sheet資訊
  var SpreadSheet = SpreadsheetApp.openById("檔案ID");
  var Sheet = SpreadSheet.getSheets()[0];
  var LastRow = Sheet.getLastRow();

  //存入資訊
  Sheet.getRange(LastRow+1, 1).setValue(column1);
  Sheet.getRange(LastRow+1, 2).setValue(column2);
  Sheet.getRange(LastRow+1, 3).setValue(column3);
  Sheet.getRange(LastRow+1, 4).setValue(column4);
  Sheet.getRange(LastRow+1, 5).setValue(column5);
  Sheet.getRange(LastRow+1, 6).setValue(column6);
  Sheet.getRange(LastRow+1, 7).setValue(column7);
  Sheet.getRange(LastRow+1, 8).setValue(column8);
  Sheet.getRange(LastRow+1, 9).setValue(now);
 
  //回傳資訊
  return ContentService.createTextOutput("ok");
}

 

發表於 程式設計, 軟體使用 | 發表迴響

[scratch]用廣播產生分身

參考網址:https://www.timelog.to/a113480629

如果分身還沒刪除,每個分身都會收到廣播訊息,分身就會以等比級數(2, 4, 8, 16, …)的數量產生。

例題:https://scratch.mit.edu/projects/518997936/

 

發表於 程式設計, 軟體使用 | 發表迴響

[bootstrap]什麼!Bootstrap 4 變成 Bootstrap 5 了

參考網址:https://hsiangfeng.github.io/css/20210205/1934188738/

六角學院 bootstrap 使用手冊 中譯

目前(2021/4/21)仍在bata-3階段

V5正式版已釋出 https://blog.getbootstrap.com/2021/05/05/bootstrap-5/

發表於 程式設計, 軟體使用 | 發表迴響

[ssh]ssh反向代理實現NAT內網穿透[ssh版teamviewer]

參考網址:程式前沿

假設有兩臺伺服器A和B:A處於內網無公網IP,B是一個雲主機如阿里雲有公網IP,現在手頭上有一臺處於校外網的電腦C,想用ssh登入伺服器A完成一些騷操作,怎麼弄呢?很簡單,原理是讓B建立對A的臨時ssh反向代理通道,然後用C登入B就可以直接ssh進入A了

發表於 Linux系統, 軟體使用 | 發表迴響

[rasp]chromium安裝

用遠端連線昀方式,似乎無法執行chromium

在terminal下chromium-bowser指令會出現
ERROR:zygote_host_impl_linux.cc(89)] Running as root without –no-sandbox is not supported. See https://crbug.com/638180.

所以就用chromium-bowser –no-sandbox 可以正常開啟chromium

但開啟mega.nz網站 會造成系統當機

發表於 Linux系統 | 發表迴響

[rasp]Install Firefox on Raspberry Pi

參考網址:https://linuxhint.com/install_firefox_raspberry_pi/

If you want to set Firefox as the default browser on Raspbian, run the following command:

$ sudo update-alternatives –config x-www-browser

Firefox is in the list and the selection number of Firefox is 4 as you can see in the marked section of the screenshot below. Yours may be different depending on what browsers you have installed. Now, type in the selection number (in my case 4) and press <Enter>.

發表於 Linux系統 | 發表迴響

[MAC]Windows 如何透過 VirtualBox 安裝 macOS Catalina 虛擬機

參考網址:https://www.kocpc.com.tw/archives/305342

發表於 軟體使用 | 發表迴響

[3D]氣球哥哥來維修Deltoid D220時用的軟體

參考網址:https://www.repetier.com/download-now/

發表於 軟體使用 | 發表迴響

microsoft KB5000808 造成京瓷印表機列印藍色畫面

參考網址:https://www.fox-saying.com/blog/post/47652211-kb5001567

Windows 10 更新包 KB5001567 推出,填補 KB5000808 挖出的新坑專用

KB5000808 雖然聲稱是為了解決列印問題所推出,但卻造成了更多列印問題

KB5001567修正當您嘗試使用某些應用程式列印至特定印表機時,可能會導致藍色螢幕的問題

如果您在 Windows Update 中沒看到這個更新可以直接到以下網址下載

https://www.catalog.update.microsoft.com/Search.aspx?q=KB5001567

請注意~ win10 1093 與 1909 下的更新包編號為 KB5001566

發表於 Windows系統 | 發表迴響