Skip to content

Chris' Laboratory

chrislee.kr – Personal blog as bookshelves

Menu
  • Home
  • Github
  • Contact Me
Menu

Bootstrapping Kubernetes cluster with kubeadm

Posted on 03/03/202304/03/2023 by Chris Lee

Specification Update system on all nodes Install Containerd on all nodes Change SystemdCgroup to true Install runc on all nodes Install CNI(Container Network Interface) plugin on all nodes Disable apparmor on all nodes Install Nerdctl to all nodes Install Crictl to all nodes Install kubeadm/kubelet to all nodes Install kubectl to all nodes Configure a…

Continue reading

Taint all resources in the one module

Posted on 12/01/202312/01/2023 by Chris Lee

Reference: https://gist.github.com/justinclayton/01f349f66e908a243709

Continue reading

Alpine – Plugin caching_sha2_password could not be loaded

Posted on 06/01/202306/01/2023 by Chris Lee

When using mysql client to login MySQL, it throws the following error: If it’s alpine linux, then simply install mariadb-connector-c

Continue reading

npm link with peerDependencies

Posted on 03/01/202306/01/2023 by Chris Lee

Project “sub-library” – package to be linked: Project “main-project” – package to use package 1 First, run the following command in the sub-library Second, run the following command in the main-project Then, run the following command in the sub-library Now, the peer dependency moment will be available in the sub-library package. References:

Continue reading

How to setup Gitlab runner with KVM enabled

Posted on 21/08/202221/08/2022 by Chris Lee

To implement the CI pipeline for the Android project, I need to run Gitlab CI, in which KVM is enabled. TL; TR Enable VTx virtualization technology in your server BIOS Pass /dev/kvm to Gitlab runner Sample .gitlab-ci.yml However, the pipeline was failing with the following error. Enable VTx virtualization technology First, I had to configure…

Continue reading

Failed to transform bcprov-jdk15on-1.68.jar

Posted on 27/07/202227/07/2022 by Chris Lee

Error: Reference: https://github.com/robolectric/robolectric/issues/6521#issuecomment-851736355 Solution: Open android/build.gradle Update gradle version from 4.2.2 to 7.1.3 From: classpath(“com.android.tools.build:gradle:4.2.2”) To: classpath(“com.android.tools.build:gradle:7.1.3”) Open Android Studio for the project and wait for syncing gradle Build again

Continue reading

React Native Boilerplate

Posted on 08/05/202208/05/2022 by Chris Lee

A React Native boilerplate using React Native, React Navigation, React Redux Toolkit, React Native Bootsplash, React Native Onboarding Swiper, Redux Persist, Formik, Yup, Lottie, Axios This is a React Native boilerplate project. The project is using Node.js REST API that I developed as the boilerplate. You can find the Node.js REST API boilerplate project in here….

Continue reading

BUG! exception in phase ‘semantic analysis’ in source unit ‘_BuildScript_’ Unsupported class file major version 61

Posted on 04/11/202104/11/2021 by Chris Lee

Issue: In Arch Linux, when try to execute npm run android, it throws the following error. Solution: Do not use Java 17 Open JDK as it’s not compatible at time of writing. Check Gradle version Check Java compatibility against Gradle version – https://docs.gradle.org/current/userguide/compatibility.html Since OpenJDK 16 does not exist in AUR – https://wiki.archlinux.org/title/java#OpenJDK, install OpenJDK…

Continue reading

Change Java OpenJDK version in Arch Linux

Posted on 04/11/202104/11/2021 by Chris Lee

Issue: When execute npm run android for React Native, the build error occurred as below: Solution: It’s because currently Java version is lower than 11. Assuming already has another Java JDK, simply change Java for Arch Linux. Reference: https://edgardorl.com/blog/configure-java-in-arch-linux-to-run-a-react-native-application/

Continue reading

MongoDB exception in initAndListen: old lock file, terminating

Posted on 30/04/202130/04/2021 by Chris Lee

Reference: https://github.com/docker-library/mongo/issues/62#issuecomment-568308941 Error Message: Fix for docker-compose.yml:

Continue reading

Disable Swap in Raspberry Pi

Posted on 26/04/202126/04/2021 by Chris Lee

Reference: https://www.element14.com/community/thread/21377/l/how-do-i-permanently-disable-the-swap-service

Continue reading

바이낸스 자동 매매 트레이딩 봇

Posted on 21/03/202129/07/2021 by Chris Lee

추적 매수/매도 기법(Trailing buy/sell strategy)을 이용한 자동화된 바이낸스 자동매매 프로그램 소스 코드: https://github.com/chrisleekr/binance-trading-bot 최신 업데이트 정보는 README.md에 서 확인 가능합니다. 이 페이지는 한국어로 프로그램에 대한 설명만 적혀있습니다. 경고 이 프로그램을 이용하여 돈을 벌 수 있을지 없을지는 절대 보장하지 않습니다. 리스크를 감당하실 수 있을 경우에만 사용하세요! 이 코드를 이용하여 직/간접적으로 생긴 손실이나 경제적인 어려움이 생길 경우 절대 책임지지…

Continue reading

React.js – TypeError: Cannot read property ‘setState’ of undefined

Posted on 26/01/202126/01/2021 by Chris Lee

Problem code Error Solution https://stackoverflow.com/questions/32317154/react-uncaught-typeerror-cannot-read-property-setstate-of-undefined https://reactjs.org/docs/handling-events.html With ES5 With ES6

Continue reading

Convert gnome-boxes virtual machine image to Oracle Virtual Box image

Posted on 13/12/202013/12/2020 by Chris Lee

First convert gnome-boxes image to Virtual Box image Open Virtual Box Click Add button and follow below steps

Continue reading

Clear Kubernetes current context

Posted on 05/12/202005/12/2020 by Chris Lee

https://github.com/kubernetes/kubectl/issues/483#issuecomment-503568886

Continue reading

실시간 환율 받아오기 (Get real-time currency information)

Posted on 21/11/202028/11/2020 by Chris Lee

Code snippet to retrieve real-time currency from exchangeratesapi.io

Continue reading

Binance Auto Trading Bot – Buy low/Sell high with stop loss limit/Trade multiple coins

Posted on 07/11/202029/07/2021 by Chris Lee

Automated Binance trading bot with trailing buy/sell strategy Github: https://github.com/chrisleekr/binance-trading-bot Warnings I cannot guarantee whether you can make money or not. So use it at your own risk! I have no responsibility for any loss or hardship incurred directly or indirectly by using this code. Read disclaimer before using this code. Before updating the bot, make sure…

Continue reading

Gitlab troubleshooting

Posted on 24/07/202024/07/2020 by Chris Lee

Environment: Gitlab is running under docker Error with ActiveModel::UnknownAttributeError (unknown attribute ‘author_name’ for SecurityEvent.):

Continue reading

Image Optimisation Service

Posted on 16/05/202029/08/2020 by Chris Lee

Github: https://github.com/chrisleekr/image-optimisation This is a practice project. The project contains Node.js API that optimise images – jpg, png, svg, and gif. Node.js, Express, Webpack, Imagemin Demo Post local image to optimise $ curl -v -X POST -F “image=@sample1.jpg” https://image-optimisation.chrislee.kr/image -o sample1-output.jpg Pass remote image URL to optimise $ curl -v -X POST “url=https://raw.githubusercontent.com/chrisleekr/image-optimisation/master/examples/sample1.jpg” https://image-optimisation.chrislee.kr/image -o…

Continue reading

애자일 스프린트 회고 도구(Agile Sprint Retrospective Tool)

Posted on 10/04/202029/08/2020 by Chris Lee

스프린트(Sprint)를 운영하면 2주에 한번 아니면 한달에 한번씩 정기적인 “회고(Retrospective)”를 해야한다. 모든 팀원이 솔직하게 익명으로 자신의 의견을 개진해야하고, 그 의견들을 다같이 토론하여 프로젝트 운영에 반영해야 팀의 만족도와 프로젝트 진행율이 개선된다. 이러한 회고를 통해 팀원들이 같은 실수를 하는 것을 방지할 수 도 있다. 회고를 할때 중요한 점은 어떤 의견이든지 절대 나무라거나 쓸데 없는 의견이라고 치부하지 말아야 한다….

Continue reading

Node.js + MongoDB RESTful API Boilerplate

Posted on 13/03/202029/08/2020 by Chris Lee

Github: https://github.com/chrisleekr/nodejs-mongodb-api-boilerplate This is a sample project that I followed the tutorial Build Node.js RESTful APIs in 10 Minutes written by Olatunde Garuba. How to start $ docker-compose up -d $ docker logs -f api This command will build Node.js API and launch docker container mongo and mongo-express Endpoints Node.js API Method URL Sample Data GET http://localhost:3000/tasks POST http://localhost:3000/tasks {“name”:”Fix…

Continue reading

Mount iPhone/iPad in Arch Linux

Posted on 16/12/201928/11/2020 by Chris Lee

Install libimobiledevice and ifuse$ yays libimobiledevice ifuse (* important) Pair with iPad – make sure iPad is connected via USB cable$ idevicepair pair Run usbmuxd $ sudo usbmuxd -f -v Create mount folder$ sudo mkdir /media/ipad$ sudo chmod 777 /media/ipad Mount iPad using ifuse$ ifuse /media/ipad Open file manager, then you will see iPad is…

Continue reading

Node.js (REST API) + Vue.js/Nuxt.js (Frontend/Backend) + MySQL Boilerplate

Posted on 10/10/201929/08/2020 by Chris Lee

Github: https://github.com/chrisleekr/nodejs-vuejs-mysql-boilerplate This is a boilerplate project. The project contains Node.js REST API and frontend/backend developed by Vue.js with BootstrapVue. API Node.js, Express, Webpack, Express Validator, JWT, Bunyan, Promise MySQL, Node Mailer, Jest, Supertest, Nodemon Frontend – Nuxt.js Nuxt.js, Vue.js, Vuex, Vuelidate, BootstrapVue, Jest Frontend – Vue.js Vue.js, Vuex, Vue Router, Vue Draggable, Vuelidate, BootstrapVue,…

Continue reading

When Arch Linux installation, cannot find nvme0n1 in DELL XPS 13

Posted on 05/09/201929/08/2020 by Chris Lee

When you do lsblk, it does not show your SSD, then it means RAID for SATA Operation is on. Simply open Bios -> System Configuration -> SATA Operation and set “AHCI” Refer Install Arch Linux with Full Disk Encryption (LVM on LUKS) for Dell XPS 13 – https://gist.github.com/chrisleekr/a23e93edc3b0795d8d95f9c70d93eedd

Continue reading

Linux Docker uses excessive memory

Posted on 17/08/201929/08/2020 by Chris Lee

Issue: I have a 16G memory and configured swap as 16G. When start mysql docker, mysqld uses crazy amount of memory and make the system freeze. References: https://success.docker.com/article/node-using-swap-memory-instead-of-host-memory Solution

Continue reading
  • 1
  • 2
  • 3
  • 4
  • …
  • 9
  • Next

Categories

  • Databases (11)
    • MongoDB (4)
    • MS-SQL (1)
    • MySQL (6)
  • E-Commerce (8)
    • Magento (8)
  • Finance (2)
  • Frameworks (84)
    • Adobe Flex (1)
    • Angular (ngx) (3)
    • Codeigniter (6)
    • CSS (5)
    • Django (2)
    • Javascript (13)
    • Node.js (6)
    • PHP (17)
    • React Native (4)
    • React.js (1)
    • Sencha Touch (4)
    • Terraform (1)
    • Vue.js (1)
    • WordPress (4)
    • Yii2 (3)
  • General Documents (15)
  • Marketing (3)
  • Mobile Development (33)
    • Android (20)
    • iPhone (13)
  • Platforms (21)
    • Arduino (2)
    • Docker (5)
    • Google App Engine (5)
    • Raspberry Pi (5)
    • Samsung Smart TV (4)
  • Security (17)
  • Server (31)
    • Linux (13)
  • Tools (14)
    • SVN (7)
  • Uncategorized (2)

Search

Recent Posts

  • Bootstrapping Kubernetes cluster with kubeadm
  • Taint all resources in the one module
  • Alpine – Plugin caching_sha2_password could not be loaded
  • npm link with peerDependencies
  • How to setup Gitlab runner with KVM enabled

Recent Comments

  • Obayed on Binance Auto Trading Bot – Buy low/Sell high with stop loss limit/Trade multiple coins
  • Ari on How to install memcache.so/memcached.so for MAMP Pro (Mac)
  • Mida ali on Binance Auto Trading Bot – Buy low/Sell high with stop loss limit/Trade multiple coins
  • Chris Lee on How to install memcache.so/memcached.so for MAMP Pro (Mac)
  • Chris Lee on Setting Up A VPN Server On OSX 10.6

Tags

1 ajax amazon android android-addpart browser chrislee-kr codeigniter codeigniter-tcpdf com-apple-net-racoon CSS CSS history hack delpaigmail-com entity-addpart-double exception-printing-is-disabled-by-default-for-security-reasons ext-plugins-listpagingplugin ext-plugins-listpagingplugin-example f iphone javascript jquery-defaultchecked jquery-samsung-smart-tv listpagingplugin mac magento-exception-printing-is-disabled-by-default-for-security-reasons magento-sample-data-exception-printing-is-disabled-by-default-for-security-reasons nu-vot null-core-errors-confignotfound-config-mk9engine-ini php samsung-smart-tv-jquery samsung-smart-tv-sdk-ajax samsung-smart-tv-sdk-jquery samsung-tv-sdk samsung-tv-sdk-jquery samsung tv sencha-smart-tv sencha-touch-list-paging smart-tv-jquery sqlite subversion svn tcedook tcpdf-codeigniter uilinebreakmodecharacterwrap-is-deprecated unknown-column-link-area

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2023 Chris' Laboratory | Powered by Minimalist Blog WordPress Theme
Chris' Laboratory
Proudly powered by WordPress Theme: Dark Minimalistblogger.
 

Loading Comments...