Category Archives: Uncategorized

Ionic notes

Some notes on ionic CLI command

Create new project (will create myApp directory):

> ionic start myApp blank

(besides blank, there is option to use other template like tabs, sidemenu, tutorial, super)

  • tabs : a simple 3 tab layout
  • sidemenu: a layout with a swipable menu on the side
  • blank: a bare starter with a single page
  • super: starter project with over 14 ready to use page designs
  • tutorial: a guided starter project

Get into the directory and start service

> ionic serve

Launch editor to start coding

> atom .

Other resources

  1. ionic framework doc
  2. ionic crashed course video (~30 minutes)

Mobile app online tools

Besides developing your mobile app with native tools like android studio, there are plenty of other tools that can build the app easier and faster.

freeweb2app.com

convert your website to app in 3 easy steps. – name your app, enter url, add icon
charger per conversion is USD9 one time for android app and usd249 for ios one time

instappy.com

buildfire.com

appypie.com

kinetise.com

appsgeyser.com

free app building with revenue sharing from ad

onsen.io

html5 mobile app

appmakr.com

free 30-day trial for all package

mobiroller.com

free native app with ad supported, 5 push notification

mobincube.com

free native app with ad supported.

 

Looking for a used car

Getting yourself a used car has some advantages. The most severe one is you save thousands of your money. But need to be very careful in order to get a used car with good condition.

If you are looking for a used car, try out the following websites.

  1. mudah.my – huge list of cars available
  2. carlist.my – most of the list are more or less the same with mudah. especially from car dealer
  3. motortrader.com.my – there is a rating from Goo KANTEI for the condition of the car. For some cars. Can find more cars directly from owners
  4. oto.my – related to paultan.org and carbase.my

the rest not worth to mention here. Don’t have many listings

Some general tips to purchase second hand car

  1. if possible check why previous owner sell
  2. before go to see, ask questions over the phone. The most important one whether the car still available
  3. ask to see the grant
  4. ask for any other charges on top of car price – insurance, roadtax, change name, puspakom service, loan processing etc.

Some tips on checking the condition of the car

  1. sign of accident (normally with uneven paint)
  2. any leaking on engine and absorber etc
  3. the hose and belts are in acceptable condition
  4. test drive to check on engine is smooth and no irregular sounds from the car body or engine
  5. tyre tread still ok, manufactured not more than 3 years

Disposable email

Several providers for disposable or temporary emails. Just in case you wan to test anything and need a valid email for temporary

  1. https://mailinator.com – can set xx@mailinator.com
  2. yopmail.com – can set xx@yopmail.com
  3. https://nowmymail.com/
  4. https://getnada.com/
  5. https://mytemp.email – total random, cannot set own name
  6. https://temp-mail.org/en/ – can set own email. provide multiple @domain

 

SSH – generate keys and setting up

SSH is a safer and easier way to establish connection to a server instead of using username and password.

In Mac OSX terminal, check if any SSH key is exist

cat ~/.ssh/id_rsa.pub

If no SSH key available, generate one

ssh-keygen -t rsa

You need to confirm on the location to save, and whether to use passphrase or not

Then you can copy paste the SSH key to the server you want to connect to

Normally the settings of SSH tied to user account (check under user profile settings > SSH). Not under individual repository

— Another note on creating SSH key —

  • == Generating a new SSH key ==

    1. Open Git Bash or Command Prompt (Windows) or Terminal (Mac/Linux).

    2. Paste the text below, substituting in your GitLab email address.
    ssh-keygen -t rsa -b 4096 -C “your_email@barracudacampus.com”
    This creates a new ssh key, using the provided email as a label.
    Generating public/private rsa key pair.

    3. When you’re prompted to “Enter a file in which to save the key,” press Enter. This accepts the default file location.

    Enter a file in which to save the key (/c/Users/you/.ssh/id_rsa):[Press enter]

    4. At the prompt, type a secure passphrase. For more information, see “Working with SSH key passphrases”.

    Enter passphrase (empty for no passphrase): [Type a passphrase]
    Enter same passphrase again: [Type passphrase again]

    == Set SSH Public key in GitLab ==

    1. Open gitlab.com and go to Settings.

    2. Open SSH Keys tab and add new key:
    Key : [Paste SSH Public key (id_rsa.pub) not Private key]
    Title : [It should display barracudacampus email after you’ve pasted the key]

    3. Click *Add key*

    == Use SSH key in SourceTree ==

    1. Open SourceTree and click on *Tools > Options > General*

    2. Go to SSH Client Configuration and update following field:
    SSH Key : [Select id_rsa file generated previously]
    SSH Client : OpenSSH

    3. Click *OK*