Skip to content

Instantly share code, notes, and snippets.

View ytbryan's full-sized avatar
💭
Luke 14:23

Bryan Lim ytbryan

💭
Luke 14:23
View GitHub Profile
@ytbryan
ytbryan / gist:9a15206c0e2f5185cdc84fcb854842c9
Created December 11, 2021 13:45
Issues faced on flask
problem:
Error: While importing 'app.app', an ImportError was raised
solution:
```
export FLASK_APP=app; export PYTHONPATH=.
```
@ytbryan
ytbryan / gist:97ad8eaa6645e2b1b694f4793ee0f53f
Created November 22, 2021 10:14
apt-get update fails to fetch files, “Temporary failure resolving …” error
apt-get update fails to fetch files, “Temporary failure resolving …” error
`echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null`
https://askubuntu.com/a/91595
Spiro v Lintern https://www.lawteacher.net/free-law-essays/commercial-law/commercial-law-law-essays.php
Agency by Estoppel https://www.youtube.com/watch?v=V9RcMvsg7Gk
Agency by Necessity https://www.youtube.com/watch?v=vr0HTfYYNT8
Agency by Ratification https://www.youtube.com/watch?v=nHo9-OjlM5s
Introduction to Agency https://www.youtube.com/watch?v=8PcwS1xNfBA&t=350s
@ytbryan
ytbryan / gist:781fd55a0526cb41199df27d8a3a8941
Created October 4, 2021 16:03
Some data science resources for beginners
Predictive Modeling with Bagging Approach in R | R Programming
https://www.youtube.com/watch?v=g_RYT_Ip-zc
What is a Regression Model? - Definition | Meaning | Example
https://www.myaccountingcourse.com/accounting-dictionary/regression-model
R-Squared - Definition, Interpretation, and How to Calculate
https://corporatefinanceinstitute.com/resources/knowledge/other/r-squared/
https://groww.in/p/r-squared/
@ytbryan
ytbryan / devops-terms.md
Created June 18, 2021 23:54
Every DevOps Terms that you will encounter.
Everytime you see `let` in the video, please use `var` instead. This advice works for your final project.
Long explanation: https://appdividend.com/2020/08/26/javascript-let-vs-var-the-difference-and-comparison/ (If you understand, great! If you don't, just use `var` lah.)
I will also not recommend ES6 or any variant of javascript for beginners.
Data types:
https://www.youtube.com/watch?v=808eYu9B9Yw ~6min
Functions
@ytbryan
ytbryan / gist:3072ba6b89648f480ebf94ce86ca5058
Created November 25, 2020 16:32
Resources for newcomers to learn HTML, CSS, Bootstrap and making software in general
# Learn Terminal in 8 minutes
https://www.youtube.com/watch?v=MQ6c4PAQ7Q8
# Learn Github in 15 minutes
https://www.youtube.com/watch?v=USjZcfj8yxE
# Learn HTML in 12 minutes
https://www.youtube.com/watch?v=bWPMSSsVdPk
# Learn CSS in 12 minutes
@ytbryan
ytbryan / gist:056b7a19f8ec266ee474febcf04b84be
Created October 21, 2020 04:07
ADB to clean bloat ware off android without root
#download adb ->https://developer.android.com/studio/releases/platform-tools
# or simply search for `adb android mac`
#At settings, enable developer options
# enable `usb debugging`
# enable `install via USB
# enable `USB debugging (security settings)`
pm uninstall -k --user 0 com.android.chrome
@ytbryan
ytbryan / profile
Last active October 8, 2020 00:17
profile of Bryan Lim
😎 Name: Bryan Lim
🇸🇬 Nationality: 🇸🇬
👨‍💻 Programmer (est 2009)
📚 NUS Bachelor: Computing
📚 NUS Master: Analytics
🐧 Twitter: @ytbryan
📧 Contact: ytbryan@hey.com
📓 Description:
@ytbryan
ytbryan / gist:57d7d1a8b6d0d8be0743148fd76a7277
Last active September 29, 2020 03:32
Yet another list of resources for new programmers
If any of the links is broken, please let me know.
# Simple No-code programming
https://developers.google.com/blockly
https://bubble.io/home
https://www.figma.com
# Simple coding
https://bubble.io/home
https://glitch.com