Add a new blog
February 27

Free Wildcard SSL Certificate From Let's Encrypt with certbot

Instruction is from with actual testing note. 1. Add Certbot PPA sudo apt-get update sudo apt-get install software-properties-common sudo add-apt-repository universe sudo add-apt-repository ppa:certbot/certbot sudo apt-get update 2. Install Certbot sudo apt-get install certbot python-certbot-apache 3. get and install your certs sudo certbot --apache or, just get a certificate sudo certbot certonly --apache 4. test automatic renewal sudo certbot renew --dry-run For wildcard, you should run acme-v02 for wildcard domains. $ sudo certbot certonly --manual...

February 26

Upgrade Ubuntu 16.04 to Ubuntu 18.04 LTS

Note: you should stop apache before upgrade. You should back up your conf files, such as apache2.conf, php.ini, my.ini, and all VirtualHost settings. Run simple command to upgrade.  sudo do-release-upgrade After server restarted, login and STOP apache2 to prevent PHP short end breaks php rendering. Enable new php short hand tag in php.ini if it is needed for your code. sudo apt-get remove php7.2-common sudo apt...

February 26

How to Upgrade Ubuntu 14 to 16

check current version: lsb_release -a Install Available Updates apt-get update apt-get upgrade apt-get dist-upgrade Stop Services service apache2 stop START UPGRADE 1. Install the update-manager-core package: apt-get install update-manager-core 2. Open /etc/update-manager/release-upgrades and verify that the Prompt value is set to lts: Prompt=lts 3. You’re now ready to begin the upgrade to Ubuntu 16.04 LTS: do-release-upgrade Follow the on-screen instructions to complete the installation process. Install and Update php7.0 properly after upgrade. note: you might want...

February 18

Quick mobile app coding test

Two features in a blank app with header & footer with following two buttons for a quick mobile app coding test:  1. embed webview in your app 2. create location items display in mobile app with map For #1, as simple as creating a button, "go to webview", in your app, click to open a web page url in a webview. url:  For #2, call API with current...

February 12

MySQL - use LIMIT on select and still getting total rows found

Use SQL_CALC_FOUND_ROWS in your SELECT query and then run SELECT FOUND_ROWS() after that: SELECT SQL_CALC_FOUND_ROWS field_name,filed_name2 FROM tables WHERE CLAUSE LIMIT X; SELECT FOUND_ROWS() ; ...

August 24

Flutter Layout Cheat Sheet

view for detail:  ...

July 31

Flutter - main

import 'package:flutter/material.dart'; //3rd party import 'package:findiss/Helper/Constants.dart'; import 'package:findiss/pages/home.dart'; void main() { return runApp(MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return new MaterialApp( title: Constants.APPTITLE, theme: new ThemeData( primaryColor: ), ...

July 22

Updating App To AppStore

Step 1: Select on the app you want to update and click on 'VERSION OR PLATFORM' Step 2: A pop-up will appear enter the version of the updated app you want to submit (Optional: version must match the version you put it the xCode) Step 3: Enter an information on what's new on this version and click 'save' Step 4: Choose a build then click 'save'. (new...

July 13

Flutter notes

1. setup coding env. for Andriod & iOS Anrioid download Android stuidio and install it:  and download for Flutter for Mac:   (tip: you might want to use for IDE) iOS note: you might have to run to get your code for xocde: $  sudo xcode-select --switch /Applications/ $ sudo xcodebuild -license Set up the iOS simulator $ open -a Simulator Ensure that homebrew is up to date: brew update brew install --HEAD usbmuxd brew link...

Send us a message. We will reply as soon as we can.