Sunday, 7 August 2016

Solution To: "Warning: date() []: It is not safe to rely on the system's timezone settings" (PHP)

Error (PHP):

date() []: 
It is not safe to rely on the system's timezone settings.
You are required to use the date.timezone setting or 
the date_default_timezone_set() function. 
In case you used any of those methods and 
you are still getting this warning, 
you most likely misspelled the timezone identifier. 


1. Edit PHP.ini, uncomment the date time
date.timezone = Asia/Kuala_Lumpur

2. Edit PHP script, add the date time statement
if( ! ini_get('date.timezone') )

Further References:

Friday, 24 June 2016

How To: Use SketchUp Without Install

How To: Use SketchUp Without Install

1) Browse The SketchUp Site

Click Run.

2) Sign Up

Check your mailbox for a link to set password for your account.

3) Install Turbo VM Extension

4) Install SketchUp Online

Type “sketchup” to search for the app and click “Add” to add it to the system.

5) Run SketchUp Online

SkecthUp version as at 25th June 2016

Tuesday, 21 June 2016

How To: Create Jigsaw Using Vector Program (InkScape)

Question: How to create jigsaw pieces in vector format?
Question: How to create jigsaw pieces in svg format?
Question: How to create jigsaw pieces in ai format?


The first thing we need to do is to create the basis for our puzzle - a path wich will cut our image to pieces. For that we need to download and install special extension for Inkscape by Neon22, that creates jigsaw shaped pieces (How to install extension in Inkscape). After installation, we can find it here: Extension > Render > Lasercut Jigsaw.

My image has 1000x700px resolution. So I launch the extension and set my width and height parameters

Note: 1000 height and width is the maximum

The next thing we need to decide, how many puzzle pieces we want to create. I chose 5 pieces across and 3 pieces down. Then Press Apply.

What we now have - is a group of paths. In order to proceed, we need that each puzzle piece was closed and has its own path. So we ungroup the puzzle template (Shift+Ctrl+G several times), select all curving lines and go to Path > Combine or press Ctrl+K.

Selection Tip: Select all (Shift+A) and then, holding down the Shift Key, deselect the border shape

Now they all became one object. Then we select it and the remaining border shape and go to Path > Division or press Ctrl+/

Note: Make sure that the inner object is on top (go to Object > Raise to Top or press Home key). Otherwise, it won’t work

Save your template as an svg and move to Gimp. Open there your initial image, go to Tools > Paths and import our svg by right clicking on the Tab. Further, we need to download special plugin for Gimp by devolonter (How to install plugins in GIMP).


Sunday, 19 June 2016

Difference between CV and Resume

The CV presents a full history of your academic credentials, so the length of the document is variable. In contrast, a resume presents a concise picture of your skills and qualifications for a specific position, so length tends to be shorter and dictated by years of experience (generally 1-2 pages).
CVs are used by individuals seeking fellowships, grants, postdoctoral positions, and teaching/research positions in postsecondary institutions or high-level research positions in industry. Graduate school applications typically request a CV, but in general are looking for a resume that includes any publications and descriptions of research projects.
In many European countries, CV is used to describe all job application documents, including a resume. In the United States and Canada, CV and resume are sometimes used interchangeably. If you are not sure which kind of document to submit, it is best to ask for clarification.


Saturday, 11 June 2016

Download: Free Disc Burner

CDBurnerXP is a free application to burn CDs and DVDs, including Blu-Ray and HD-DVDs. It also includes the feature to burn and create ISOs, as well as a multilanguage interface. Everyone, even companies, can use it for free. It does not include adware or similar malicious components.