Skip to main content

Posts

Showing posts from February, 2015

15+ Amazing WordPress Themes based on Bootstrap

1. Arcade Basic A lightweight theme with bold front page design and supports 8 post formats plus tiled view for galleries. Download  |  Demo 2. Simple Business Photo optimized, feature rich and sleek template with multiple layout, customizable option panel, fontawesome icons and Google fonts. Download  |  Demo 3. Vangard Packed with custom menu, widgetized footer, featured images, content slider, welcome messages and more. Download  |  Demo 4. Flat A beautiful theme with customized blurred background color and off canvas sidebar. Download  |  Demo 5. Sparkling A clean, modern, retina ready and search engine friendly template with lots of features like featured slider, infinite scroll font awesome icons, unlimited color options and more. Download  |  Demo 6. Unite Demo Another sleek and modern template with unlimited color variants, custom ...

15 Free Feature Rich Bootstrap Admin Templates

1. Charisma Charisma  comes with 9 different skins/themes to suit your style and application type. It is clean, easy to use and contains over 1000 icons and 15 plugins. It is also filled with numerous UI elements like star rating, pop over, custom tooltip, alerts, Ajax loaders, notifications and much more.  2. Siminta Siminta  comes with a large collection of plugins and UI components that help you make your work easy. All codes are self-explanatory (with comments) and the overall structure is easy to customize. It is free for personal as well as commercial use. 3. Metis Metis  is a free Twitter Bootstrap template with various layouts, components, forms, tables, maps, charts and menu level. It is also equipped with file manager, maps, error page structure, grid system and login page.  4. Hierapolis Yet another private  admin template  based on Twitter Bootstrap 3. It consists of beautiful fo...

Run scripts on start up in Linux

There are different ways to automatically run commands: 1. The upstart system will execute all scripts from which it finds a configuration in directory /etc/init. These scripts will run during system startup (or in response to certain events, e.g., a shutdown request) and so are the place to run commands that do not interact with the user; all servers are started using this mechanism. You can find a readable introduction to at: http://upstart.ubuntu.com/getting-started.html the man pages man 5 init and man 8 init give you the full details. 2. A shell script named .gnomerc in your home directory is automatically sourced each time you log in to a GNOME session. You can put arbitrary commands in there; environment variables that you set in this script will be seen by any program that you run in your session. Note that the session does not start until the .gnomerc script is finished; therefore, if you want to autostart some long-running program, you need to append & ...

Restart /shutdown from a terminal Linux

Open your terminal with  CTRL + ALT + T  and do these following commands To shutdown the system: sudo shutdown -h now To restart: sudo reboot & one more command for restart: sudo shutdown -r now Another way For shutdown: sudo halt or: sudo init 0 For restart: sudo init 6 You can get more info on the  shutdown  command by using one of the following: shutdown --help man shutdown

Determine the total size of a directory (folder) from the command line Linux

The command du "summarizes disk usage of each FILE, recursively for directories," e.g., du -hs /path/to/directory -h is to get the numbers "human readable", e.g. get 140M instead of 143260 (size in KBytes) -s is for summary (otherwise you'll get not only the size of the folder but also for everything  in the folder separately) From man tree: -h    Print  the size of each file but in a more human readable way, e.g. appending a size  letter for kilo bytes (K), megabytes (M), gigabytes (G), terabytes (T), petabytes (P) and   exabytes (E). --du  For each directory report its size as the accumulation of sizes of all its files and   sub-directories  (and their files, and so on). The total amount of used space is also given   in the final report (like  the 'du -c' command.)

Check whether a 32-bit or a 64-bit OS in Linux

Open a terminal and type: 1.     uname -a Result for 32-bit Ubuntu:  Linux discworld 2.6.38-8-generic #42-Ubuntu SMP  Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386GNU/Linux   whereas the 64-bit Ubuntu will show: Linux discworld 2.6.38-8-generic #42-Ubuntu SMP  Mon Apr 11 03:31:50 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux 2.   file /sbin/init Result for 32-bit Ubuntu: /sbin/init: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV),  dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped whereas for the 64-bit version it would look like: /sbin/init: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV),  dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped

List all installed packages in Ubuntu

To get a list of packages installed locally do this in your terminal: dpkg --get-selections | grep -v deinstall To save that list to a text file called  packages  on your desktop do this in your terminal: dpkg --get-selections | grep -v deinstall > ~/Desktop/packages (you don't need to run this as the superuser, so no  sudo  necessary here) Create a backup of what packages are currently installed: dpkg --get-selections > list.txt Then (on another system) restore installations from that list: dpkg --clear-selections sudo dpkg --set-selections < list.txt To get rid of stale packages sudo apt-get autoremove To get installed like at backup time (i.e. to install packages set by  dpkg --set-selections ) sudo apt-get dselect-upgrade