Bitbucket AWS CodeDeploy Setup SummaryThis doc will explain how to setup a deployment pipeline using Bitbucket AWS plugin + AWS CodeDeploy.CodeDeploy applications are at (link may vary depends on the region):https://us-west-2.console.aws.amazon.com/codedeploy/home?region=us-west-2#/applicationsThe result of this setup will enable developers to trigger a deployment directly from Bitbucket UI. Prerequisite An AWS account with necessary permissions (eg: creating […]

CI/CD: Add a TFS Online Build Agent Create a new Agent Pool from VSO [companyname].visualstudio.com -> Settings (Gear Icon) -> Agent Pools -> New Pool(The pool name here will be used to be connected by the agent from the TFS Build server) Generate the Personal Access Token from VSOClick your name icon -> Security -> […]

Stop and remove all containersYou can review the containers on your system with docker ps. Adding the -a flag will show all containers. When you’re sure you want to delete them, you can add the -q flag to supply the IDs to the docker stop and docker rm commands:List:docker ps -aRemove:docker stop $(docker ps -a […]

Apply below, if exist, change value, if not exist, add the line.

Explain: TCPKeepAlive Whether or not to send TCP “alive” message to the connecting clients to test for connection issues. ClientAliveInterval A timeout interval to send encrypted alive message to clients if no data has been received from connection. ClientAliveCountMax Number of times to send […]

Ubuntu 16.04 & Nginx & SSL + Jenkins Ubuntu Initial setup Connect and upgrade

Increase SSL session time

Apply below, if exist, change value, if not exist, add the line.

Create a New User, avoid using root all the time

Give new user Root privileges

Switch to the new user, install public key

Copy the public key content […]

Prerequisite:Make sure you already config AWS CodeDeploy for your desired AWS EC2 server. Check this blog if you want to set it up. Steps: Install Jenkins Plugins: Amazon Web Services SDK , AWS CodeDeploy Plugin for Jenkins , Bitbucket Plugin Generate key, if you don’t have one already: $ ssh-keygen -o -a 100 -t ed25519 […]

1. Introducing notion.soI am a big fan of notion.so, a cross-platform, free wiki/docs utility. I use it everyday from orginzing my daily to-do list to maintaining my own programming knowledge base. You can learn more detail about it from below link:Notion.so 2. Exporting as markdownnotion.so has a function to convert all docs you already written […]

We can see if the system has any configured swap by typing:

You can verify that there is no active swap using the free utility:

Check Available Space on the Hard Drive Partition:

Create a Swap File, an amount equal to or double the amount of RAM on your system is a good starting point.

We can verify that […]

I. What’s it made of CPU — Arduino Lenoard board    (https://www.arduino.cc/en/Main/ArduinoBoardLeonardo)          The Arduino Leonardo is a microcontroller board. It has 20 digital input/output pins (of which 7 can be used as PWM outputs and 12 as analog inputs), a 16 MHz crystal oscillator, a micro USB connection, a power jack, […]