How to determine text width with Javascript phptuts October 31, 2018 Method 1: Link CDN: Code Javascript: Some example: Live Method 2: Konva.js getClientRect() or textWidth Example: HTML CSS Javascript Live Continue Reading
Konva.js: some examples with Text phptuts October 30, 2018 LIVE PREVIEW HTML: CSS JAVASCRIPT Continue Reading
Konva.js: use font-weight with Text phptuts October 24, 2018 You can use font-weight with fontStyle, here is an example: HTML CSS JAVASCRIPT You can use or or or Online demo: https://jsbin.com/jaciyar/edit?html,css,js,output Continue Reading
It’s time to Migrate CDN RawGit GitHub to GitHubRaw phptuts October 21, 2018 Rawgit Free CDN service for static files like GitHub is now being collated will end in October 2019. Then how is the solution to migrate… Continue Reading
How to set hostname for Apache proxy_http phptuts October 20, 2018 Read more: Running node.js with apache Simple, you only add one line: Example: Continue Reading
Konva.js: how to fit text in a box phptuts October 19, 2018 Online demo: https://jsbin.com/zeyebukayo/edit?html,js,output HTML JAVASCRIPT CSS Continue Reading
PHP: How to track the created process on Linux phptuts October 15, 2018 On Linux, to create a process and show the process id we use this command: To check the process id, we use this command To… Continue Reading
PHP: how to execute a command in background phptuts October 15, 2018 How to execute a command in the background without PHP waiting for it to finish, on both Windows and Unix/Linux. On Unix/Linux, we know that… Continue Reading
Node.JS: how to fix error Tesseract couldn’t load any languages! phptuts October 13, 2018 Error look like here: How to fix this error? Method 1: Method 2: Step 1: Use local file train data 1.1a: You can manually download… Continue Reading
CentOS: how to fix error Job for nginx.service failed because a configured resource limit was exceeded phptuts October 13, 2018 CentOS: how to fix error Job for nginx.service failed because a configured resource limit was exceeded How to fix it ? Check devices: You see… Continue Reading