Get git to track empty directory
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 moreForgot rsa passphrase?
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 moreShould .gitignore file be committed?
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 moreHow to Put in Translation using Poedit
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 moreDo You Really Need to Limit Login Attempts in your WordPress?
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 moreReplace ShortCode using PHP
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 moreWhy FileZilla Adds Extra Lines
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 moreWhy You Should Not Have User ID 1 in WordPress
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 moreSteps for Installing Drupal on webhost
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 moreAll 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.