An easy way using webpack

Javascript, Utilities, Web Development, 2016-01-14 11:07:36 UTC
1. Install webpack  $ npm install webpack -g   2. Create index.html <html>     <head>         <meta charset="utf-8">     </head>     <body>         <script type="text/javascript"

How to install deb file in Ubuntu

Linux, Ubuntu, Utilities, 2015-08-14 22:47:33 UTC
There are two actions, they are dpkg-query and dpkg-deb.Install a package# sudo dpkg -i {package_name}    # sudo dpkg -i skype-ubuntu-precise_4.2.0.11-1_i386.debRemove a package# sudo dpkg -r {package_name}# sudo dpkg -r vlcRemove a package and its configuration files# sudo dpkg -P {pa

Enable and Disable Tiny MCE

Utilities, 2015-06-29 22:43:26 UTC
// to disable: tinyMCE.remove('#article_body'); // to enable: var ed = new tinyMCE.Editor('article_body', { menubar: false, plugins: [ "autolink link image code table template" ], selector:"#article_body", toolbar

Creating single pdf from images

Utilities, Linux, Ubuntu, 2015-06-16 23:27:31 UTC
It is difficult to make a number of images into single pdf file. With manual method, usually you must copy into a word processing application and convert into a pdf. But with ImageMagic, you can do it with just single line command. First, you need to install ImageMagic; $ sudo apt-get install ima