Posts for: #guide

Guide for setting up a home server with Ubuntu Server Edition

Guide for setting up a home server with Ubuntu Server Edition
Introduction If you ever developed a discord bot, you might wonder how things just work as long as we have either Python or javascript files running on our computer. That is because either Python or JavaScript program is serving as the backend of the discord bot, and this also shows us that any computer can be used as a server. Thus instead of paying for cloud services such as AWS which costs about 70 USD a month (AWS Marketplace: Ubuntu 20.
Read more →

CSC301 flutter setup

CSC301 flutter setup
Crash course I recommend https://codelabs.developers.google.com/codelabs/flutter-codelab-first#0 1 Install Flutter https://docs.flutter.dev/get-started/install To check dependencies bash example flutter doctor -v 2 Devices Well, of course, there are two types of devices that can be used for debugging, actual device and virtual device. By default we have the computer which can be used, if we have the option of the OS: As for mobile(Let’s say android, cause I only have android). It could be either a mobile connected through adb(USB or tcp) or an emulator on our computer(which is actually also connected through adb) ^ Actual phone, screen copy can be seen in other sections of this post.
Read more →

STA304A2 github

STA304A2 github
1 第一步首先在uoft的rstudio的terminal裏初始化git 需保留雙引號 bash example git config --global user.email "ruilin.peng@mail.utoronto.ca" git config --global user.name "Ruilin" 2 File > New Project > Version Control > Git 順便說下已生成的repository的url: https://github.com/RuilinP/STA304 3 在commit/push之前需要先pull(簡單來說就是別人之前做的改動) 兩種方法: 一:Git > commit > 然後點擊右上角的pull 二:在terminal裏輸入 bash example git pull 4 在完成了一些工作後要上傳需要git commit + push 兩種方法: 一:Git > 選中所有要上傳的文件 > commit > 加入批註 > 右上角push 二:在terminal裏輸入 bash example git add --all git commmit -m "<信息>" git push 然後輸入github的用戶認證完成push操作
Read more →

MaCoPiX-mascot constructive for X & how to make custom ones

MaCoPiX-mascot constructive for X & how to make custom ones
Introduction Official website MaCoPiX, Mascot Constructive Pilot for X, is a desktop mascot application for UNIX / X Window system and Microsoft Windows / macOS. Personally, I first got to know this amazing application when I tried out the Mangaka distributions which comes with this application by default. In Debian-based distributions, bash Installation in Debian-based distros sudo apt install macopix And as for other distros, where the package might not be available in package manager, we could make install instead.
Read more →