Tutorials on Web Development, Programming, and Web Design

Get git to track empty directory

In Articles

Git does not track empty directories.  In order to get git to track empty directory, you have to put a file in there.  By convention, people put a file .gitkeep.  The file can be empty.

read more

Forgot rsa passphrase?

In Articles

If you forgot your rsa passphrase, you have to regenerate the keys.  View tutorial here. If you are using your rsa keys to connect to GitHub, then you have to log into GitHub.com and go to...

read more

Should .gitignore file be committed?

In Articles

In general, yes.  The project level .gitignore file should be committed to the repository. The project level .gitignore file lives in the root of your git project and contains lines of list of files...

read more

How to Put in Translation using Poedit

In Articles

Poedit is a translation editor.  It stands for PO Editor because it edit PO files, which are GetText Portable Object files.  Nevermind, just know that PO files contains translations of text from...

read more

Do You Really Need to Limit Login Attempts in your WordPress?

In Articles

If you are wondering whether you need to limit login attempts to your WordPress site, the answer is most definitely yes. But what if your site does not get that much traffic. That’s what I...

read more

Replace ShortCode using PHP

In Articles

Here we have a data.html file with two shortcodes marked by square brackets: [myimage.jpg] and [myimage2.jpg] … I want to write PHP code to search and replace with these… <a...

read more

Why FileZilla Adds Extra Lines

In Articles

Why is it that FileZilla keeps adding an extra line after every single line in my text file whenever I download the file from my server to local disk? It may be that your transfer setting is set to...

read more

Why You Should Not Have User ID 1 in WordPress

In Articles

The user with id 1 is the default admin user that gets created upon initial install of your WordPress site. This is fairly common information.  Most WordPress developers knows this.  Hackers knows...

read more

Steps for Installing Drupal on webhost

In Articles

Here is a summary of the steps to install Drupal 7 on webhost.  This is just a summary.  For details, see here. 1.  Create a MySQL database.  Depending on your webhost, it may go something like...

read more

Learn Web Tutorials is hosted by Hostmonster and design based on Wordpress template by Elegant Themes
All contents are opinions and are copyrighted and may contain display ads and ad links for which site may receive revenues from.
See Terms of Use and Privacy Policy.