Category Archives: Other

Netbeans: Display .gitignore File in Projects/Files

By default, Netbeans will ignore files such as CVS files, SVN files, dot files, etc. If you would like to have your .gitignore file displayed in your Projects or Files views: open up your Netbeans options, go to the the Miscellaneous tab at the top, then click on the Files tab. You’ll see a Files […]

0  

PHP: Creating Automatic MySQL Database backups

  Every database needs to be backed up and if you’re currently doing it manually you can stop because there’s a simple solution using PHP. With this script you can either pass a specific table to backup or choose to backup the whole database.  PHP |  copy code |? 01<?php02backup_database_tables(’HOST’,’USERNAME’,’PASSWORD’,’DATABASE’, ‘*’);03// backup the db function04function backup_database_tables($host,$user,$pass,$name,$tables) {05 $link = mysql_connect($host,$user,$pass);06 […]

0  

Join Dropbox

If you aren’t already using Dropbox, you should be! Plus by signing up using any link in this post, both you and me earn 250MB of free storage space. I’d really  appreciate it. About Dropbox Dropbox is a free service that lets you bring all your photos, docs, and videos anywhere. This means that any file you save […]

0  

Sync Files and Folders Outside Your Dropbox Folder

In order to sync files and folders that live outside the Dropbox folder, you need to create a symbolic link between the Dropbox folder and the folder on your drive that you want to sync. Symbolic links are sort of like shortcuts, so if you had a folder called SyncMe that lived on your desktop, […]

0  

LaTeX: Creating two columns in article, report or book

Three different styles have to be distinguished when creating multiple columns in a Latex document. Either we want the whole document to have two columns, single pages or only part of a page. In order to do so, three different Latex commands are used… Whole document (using article to write a paper): The only thing […]

0  

LaTeX lists: Enumerate, itemize, description and how to change them

Latex distinguishes between three different enumeration/itemization environments. Each of them provide four levels, which means you can have nested lists of up to four levels. Enumerate: \begin{enumerate} \item … \end{enumerate} The enumerate-environment is used to create numbered lists. If you like to change the appearance of the enumerator, the simplest way to change is to […]

0  

Header/Footer in LaTeX with Fancyhdr

Creating headers and footers in Latex can be done by using the package “fancyhdr”. This is a short introduction, showing the most important features of the package. If you know “fancyhdr” and are looking for something particular, refer to the fancyhdr-documentation.

0