Skip to content

Chris' Laboratory

chrislee.kr – Personal blog as bookshelves

Menu
  • Home
  • Github
  • Contact Me
Menu

Author: Chris Lee

VirtualBox + Windows 7 USB storage not recognised

Posted on 12/07/201929/08/2020 by Chris Lee

Environments: Arch Linux Oracle VM VirtualBox 6.0.8 + Extension Pack Issue: In “Device Manager”, Universal Serial Bus Controller driver is not installing correctly. USB storage is not showing. Driver not found for USB storage. Solution: Install Intel USB 3.0 eXtensible Host Controller Driver – https://downloadcenter.intel.com/download/21129/USB-3-0-Driver-Intel-USB-3-0-eXtensible-Host-Controller-Driver-for-Intel-7-Series-C216-Chipset-Family Then reboot References: https://forums.virtualbox.org/viewtopic.php?f=7&t=84793 https://dwaves.org/2016/10/11/linux-debian-host-virtualbox-5-x-windows-7-guest-usb-3-0-external-harddisk-hardware-verr_pdm_no_usb_ports/

Continue reading

Share clipboard between GNOME and Boxes (Windows)

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

Reference: https://help.gnome.org/users/gnome-boxes/stable/clipboard.html.en https://www.spice-space.org/download.html While express installation typically takes care of making shared clipboard available to you, express installation is not available for all operating systems. In such cases or if you choose manual installation, for shared clipboard to work the SPICE vdagent needs to be installed in the guest. In most Linux-based operating systems the…

Continue reading

Winetricks failed to install WMP9

Posted on 29/06/201929/08/2020 by Chris Lee

References: https://www.hahwul.com/2018/08/install-kakaotalk-on-ubuntu-18.04.html https://www.playonlinux.com/en/topic-16540-MPSetup_wmp9_will_not_run.html Error message: Solution: Download MPsetup.exe from https://web.archive.org/web/20180404022333/http://download.microsoft.com/download/1/b/c/1bc0b1a3-c839-4b36-8f3c-19847ba09299/MPSetup.exe Save as /home/{username}/.cache/winetricks/wmp/MPSetup.exe Rerun winetricks

Continue reading

Certbot으로 무료 SSL/TLS 인증서 발급/재발급 하기

Posted on 18/05/201918/05/2019 by Chris Lee

참고자료: https://www.bennadel.com/blog/3420-obtaining-a-wildcard-ssl-certificate-from-letsencrypt-using-the-dns-challenge.htm SSL 새로 발급 받기 SSL 재발급하기

Continue reading

[PHP+MySQL] 간단한 카카오 i 오픈빌더 챗봇 만들기 (Kakao i Open Builder)

Posted on 29/03/201929/08/2020 by Chris Lee

카카오 i 오픈빌더 (Kakao i Open Builder)를 이용한 플러스 친구 챗봇 (PHP + MySQL) 백엔드 프로젝트 이 프로젝트는 샘플 테스트용으로 카카오톡 플러스 친구 챗봇을 구현하기 위해 만들어졌습니다. 이 프로젝트는 아주 기본 기능만을 구현하였습니다. Production 환경에서는 사용하기에 부족함이 많으니 참고용으로만 사용하시기 바랍니다. 테스트 커뮤니티 챗봇: http://pf.kakao.com/_vAKtj Backend API: https://kakao.chrislee.kr Backend 소스코드: https://github.com/chrisleekr/kakao-plusfriend-bot-backend 개발 환경 PHP 7.2…

Continue reading

When you get 403 Forbidden error in VentraIP shared hosting

Posted on 03/03/201903/03/2019 by Chris Lee

Out of nowhere, I started getting the error when I try to post any article. After in-depth investigation, I found if I add any code snippet, I cannot save or publish the article due to getting 403 Forbidden error in the server. Other articles are suggesting to do following things: Disable all plugins Fix folder/file…

Continue reading

Workerbox (Service Worker)로 사이트 로딩 속도 향상 시키기

Posted on 02/03/201903/03/2019 by Chris Lee

Service Worker: 웹페이지와 별개로 브라우저가 백그라운드에서 실행시키는 자바스크립트 코드. 푸쉬, 동기화, 오프라인 모드 지원 https://developers.google.com/web/fundamentals/primers/service-workers/ Workerbox: 구글에서 제공하는 자바스크립트 라이브러리로써 웹앱의 오프라인 지원을 쉽게 할 수 있도록 해줌. https://developers.google.com/web/tools/workbox/ Workerbox 설치 법: Step 1/2: In the bottom of your website, add following Javascript code snippet: Step 2/2: Create service-workers.js and add following snippet:

Continue reading

Get all validation errors for Angular form

Posted on 24/11/201802/03/2019 by Chris Lee

Reference 1: https://gist.github.com/JohannesHoppe/e8d07d63fc345a5fdfdf4fc4989ef2e4 import { FormGroup, ValidationErrors } from ‘@angular/forms’; export function getFormValidationErrors(form: FormGroup) { const result = []; Object.keys(form.controls).forEach(key => { const controlErrors: ValidationErrors = form.get(key).errors; if (controlErrors) { Object.keys(controlErrors).forEach(keyError => { result.push({ ‘control ‘: key, ‘error’: keyError, ‘value’: controlErrors[keyError] }); }); } }); return result; } Reference 2: public ngOnInit() { this.form.valueChanges.subscribe(data => this.onValueChanged(data));…

Continue reading

Yii2 errors – Failed to clone the git and “extra.asset-installer-paths” option is deprecated`

Posted on 11/11/201811/11/2018 by Chris Lee

Error 1. The “extra.asset-installer-paths” option is deprecated, use the “config.fxp-asset.installer-paths” option Update composer.json by removing asset-installer-paths and add fxp-assets { … “extra”: { “yii\\composer\\Installer::postCreateProject”: { “setPermission”: [ { “runtime”: “0777”, “web/assets”: “0777”, “yii”: “0755” } ], “generateCookieValidationKey”: [ “config/web.php” ] } }, “fxp-asset”: { “installer-paths”: { “npm-asset-library”: “vendor/npm”, “bower-asset-library”: “vendor/bower” } } … }   Error…

Continue reading

Javascript project devtools

Posted on 14/10/201814/10/2018 by Chris Lee

Javascript project development tools Babel: https://babeljs.io/docs/en/ Javascript compiler – Transform syntax, Polyfill features and so on $ babel -o dist/package.js dist/package.js Standard: https://standardjs.com/ Javascript style guide, linter and formatter $ standard src/*.js Rollup: https://github.com/rollup/rollup Javascript module bundler $ rollup src/main.js –format iife –name “SamplePackage” –file dist/package.js UglifyJS: https://www.npmjs.com/package/uglify-js Javascript parser, minifier, compressor and beautifier $ uglifyjs dist/package.js -c -m…

Continue reading

Backup/Restore pacman & yaourt packages list

Posted on 16/09/201829/08/2020 by Chris Lee

Arch linux Backup pacman package list pacman -Qqet | grep -v “$(pacman -Qqg base)” | grep -v “$(pacman -Qqm)” > pacman-packages.txt   Restore pacman package  pacman -S –needed $(cat pacman-packages.txt)   Backup yaourt package list pacman -Qm > yaourt-packages.txt   Backup yaourt package yaourt -S –needed –noconfirm $(cat yaourt-packages.txt)    

Continue reading

Local workspace file (‘angular.json’) could not be found.

Posted on 03/09/201803/09/2018 by Chris Lee

After upgrading Angular application using ncu -a, got an error message Local workspace file (‘angular.json’) could not be found.</code. $ ncu -a $ npm run build Local workspace file (‘angular.json’) could not be found. Error: Local workspace file (‘angular.json’) could not be found. at WorkspaceLoader._getProjectWorkspaceFilePath (/srv/project/node_modules/@angular/cli/models/workspace-loader.js:44:19) at WorkspaceLoader.loadWorkspace (/srv/project/node_modules/@angular/cli/models/workspace-loader.js:31:21) at BuildCommand._loadWorkspaceAndArchitect (/srv/project/node_modules/@angular/cli/models/architect-command.js:189:32) at BuildCommand.<anonymous> (/srv/project/node_modules/@angular/cli/models/architect-command.js:55:25)…

Continue reading

Error on installing `networkmanager-l2tp 1.2.10-3` in Arch Linux

Posted on 15/07/201829/08/2020 by Chris Lee

References: https://gist.github.com/pastleo/aa3a9524664864c505d637b771d079c9 https://askubuntu.com/questions/981165/l2tp-ipsec-failing-to-connect-kubuntu-17-10   When run the command to install the package `networkmanager-l2tp 1.2.10-3`, an error occurs like below: $ yaourt -S networkmanager-l2tp … ==> Validating source files with md5sums… network-manager-l2tp-1.2.10.tar.gz … Passed network-manager-l2tp-1.2.10.tar.gz.asc … Skipped ==> Verifying source file signatures with gpg… network-manager-l2tp-1.2.10.tar.gz … FAILED (unknown public key 49A7787EF8D3C039) ==> ERROR: One or more…

Continue reading

Setup Gitlab & Jenkins on Raspberry Pi 2

Posted on 07/08/201708/08/2017 by Chris Lee

Objective: Installing and configuring Gitlab and Jenkins on Raspberry Pi 2   Background: I currently have extra Raspberry Pi and would like to use for something useful. I found Jenkins and Gitlab are able to install on Raspberry Pi. This article is to share the step by step guide how to setup Gitlab and Jenkins…

Continue reading

Ziroom (즈룸)에 대한 개인적인 생각

Posted on 06/07/201706/07/2017 by Chris Lee

Ziroom (즈룸): http://blog.naver.com/china_lab/221042945179   * Ziroom (즈룸)이란 * 집 주인으로부터 아파트나 하우스등 쉐어를 놓을 집을 위탁받아, 하우스 인테리어, 보수, 이사까지 중개업체인 즈룸에서 관리해줌 추가적인 서비스로 주2회 방문 청소 및 보수 서비스 등 방 검색, 인증, 계약, 결제까지 모두 모바일 앱에서 처리가 가능하여 사기를 방지하고 편리함을 제공함 집주인은 집만 제공하면 수익이 제공되고 집 보수까지 모두 즈룸에서…

Continue reading

[따라하기] 아두이노 기초 – 초음파센서 사용하기 by ODIY 한국과학창의재단

Posted on 07/03/2017 by Chris Lee

[따라하기] 아두이노 기초 – 초음파센서 사용하기 by ODIY 한국과학창의재단     Ardunio – Ultrasound sensor with LED           #define TRIG 2 // Sending out ultrasound #define ECHO 3 // Receiving ultrasound #define LED 9 // Controlling LED void setup() { // put your setup code here, to run once: pinMode(TRIG, OUTPUT);…

Continue reading

[따라하기] 아두이노 기초 – LED와 버튼 제어하기 by ODIY 한국과학창의재단

Posted on 03/03/201703/03/2017 by Chris Lee

[따라하기] 아두이노 기초 – LED와 버튼 제어하기 by ODIY 한국과학창의재단       Arduino – LED Wave       #define DELAY_TIME 100 void setup() { // put your setup code here, to run once: pinMode(2, OUTPUT); pinMode(3, OUTPUT); pinMode(4, OUTPUT); pinMode(5, OUTPUT); pinMode(6, OUTPUT); } void loop() { // put your main code here,…

Continue reading

Time Clock Management System developed with Yii2 REST API + Angular 2 + Docker

Posted on 22/01/201722/01/2017 by Chris Lee

Time Clock Management System (Yii2 REST API + Angular 2 + Docker)   Source Repo: https://github.com/chrisleekr/time-clock-management-system-yii2-rest-api-angular2-docker   This is a personal project for learning Angular 2. The project contains two applications, one for REST API backend, and the another for Angular 2 frontend. The project involves: Yii2 for providing RESTful API including user login/logout, managing global…

Continue reading

Missing Authroization header in request

Posted on 06/01/201722/01/2017 by Chris Lee

When developing REST API in Yii2, I found some development environments do not populate Authorization header in the request; as a result, I was not able to use HttpBearerAuth because the headers were missing in the request. Note that I still can use QueryParamAuth; although, I insist on using HttpBearerAuth instead of QueryParamAuth.   The…

Continue reading

Get AWS EC2 tags to environment parameters for apache2

Posted on 17/12/201622/01/2017 by Chris Lee

Objective: AWS instances are assigned tags per instance. Need tags to be environment parameters for Apache2; thus, web application can retrieve environment parameter.   Step 1: Configure tags in AWS EC2 instance   Step 2: Setup IAM user and get access key id and secret access key   Step 3: Access to SSH and append…

Continue reading

PHP imap_open() error – INBOX: invalid remote specification (errflg=2)

Posted on 31/10/2016 by Chris Lee

INBOX: invalid remote specification (errflg=2)   Got following error when use imap_open() in PHP?   Notice: Unknown: Can’t open mailbox {imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX: invalid remote specification (errflg=2) in Unknown on line 0   Check imap enabled SSL support like screenshot   If cannot see SSL Support configuration, then need re-compile imap.so with enabling SSL support.     PHP…

Continue reading

How to re-compile imap.so with SSL enabled for MAMP Pro (Mac), macOS Sierra

Posted on 31/10/201631/10/2016 by Chris Lee

  Steps for re-compiling imap.so   1. Download imap source $ cd ~/Downloads $ wget -c ftp://ftp.cac.washington.edu/imap/imap-2007f.tar.gz $ rm -rf imap-2007f $ tar xvvfz imap-2007f.tar.gz $ cd imap-2007f $ nano Makefile 2. Find the text osx: and replace SSLINCLUDE=/usr/include/openssl to SSLINCLUDE=/usr/local/opt/openssl/include/openssl osx: osxok an $(TOUCH) ip6 $(BUILD) BUILDTYPE=$@ IP=$(IP6) EXTRAAUTHENTICATORS=”$(EXTRAAUTHENTICATORS) gss” \ SPECIALS=”SSLINCLUDE=/usr/local/opt/openssl/include/openssl SSLLIB=/usr/lib SSLCERTS=/System/Library/OpenSSL/certs SSLKEYS=/System/Library/OpenSSL/private…

Continue reading

How to install memcache.so/memcached.so for MAMP Pro (Mac)

Posted on 30/10/201631/10/2016 by Chris Lee

Install memcache.so for PHP 5.6   1. Install memcached $ brew install memcached 2. Download php source code http://www.php.net/downloads.php   3. Copy source code to the folder /Applications/MAMP/bin/php/{php version}/include/php e.g.) /Applications/MAMP/bin/php/php5.6.10/include/php   4. Install libiconv $ brew install homebrew/dupes/libiconv   5. Execute configure in php source folder $ cd /Applications/MAMP/bin/php/php5.6.10/include/php $ ./configure –with-iconv=/usr/local/Cellar/libiconv/1.14/   6….

Continue reading

Vagrant Box 디스크 용량 늘리기

Posted on 15/10/201615/10/2016 by Chris Lee

참고(Reference): http://tuhrig.de/resizing-vagrant-box-disk-space/ http://derekmolloy.ie/resize-a-virtualbox-disk/ http://stackoverflow.com/questions/11659005/how-to-resize-a-virtualbox-vmdk-file   요약  Vagrant는 디스크 용량을 바꿀수있는 옵션을 주지 않는다. 기본으로 40G(기본 이미지 10GB)를 제공하는데, 이 용량을 바꾸는 옵션을 제공하지 않는다. Vagrant의 VirtualBox를 리사이징할려면 수동으로 리사이징을 해야한다.   순서 Vagrant VM을 먼저 종료시킨다. $ vagrant halt 그리고 Vagrant VirtualBox VM이 어디에 위치한지 VirtualBox에서 찾는다. 해당 Virtualbox VM 폴더로 가서 VMDK disk를 VDI디스크로…

Continue reading

[Linux] Remove all email & Reset /var/log files

Posted on 12/10/201612/10/2016 by Chris Lee

Delete all mails $ mail > d * > q   Force to reset log files not recommended $ sudo su $ cd /var/log $ > lastlog $ > wtmp $ > dpkg.log $ > kern.log $ > syslog $ > messages $ exit  

Continue reading
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 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...