Remove file or folder from Git Repo

So you’ve got some file in your GIT Repo that do not belong there? Bummerrrrr every time you git pull your Git repo gives you a hard time with these files! Do you want to merge? These files will be erased  or what ever error message you get! You don’t want these files in your Repo anymore and putting them in the .gitignore does not help. So? How do you remove a file, files or a folder from you Git

Lees meer...

How to git clone into a non-empty directory

I’m building a few new projects. Some in just plain good old PHP and some with a nice framework like Slim 3. I’ve got a good working shared hosting solution at Vimexx and the only problem I have that when I git clone in a usually non empty directory I get these nice errors. So here are the 5 simple steps to git clone in to that non empty folder!

Huur de juiste WordPress mensen in!

Ik zie het maar al te vaak. Personen die leuke sites kunnen maken met WordPress maar eigenlijk geen idee hebben wat ze aan het  doen zijn. Dat is niet erg, als je niet weet wat je aan het doen bent, maar probeer jezelf dan niet te verkopen als WordPress kenner of WordPress / Site marketeer.

Better MongoDB backup script with Tar and move to S3 Bucket

A few months ago I wrote a article about a MongoDB backup script. It worked, but after a while it became useless because it kept locking my MongoDB server. And with that lock it did not open it afterwards so my sites just crashed. This happend because the MongoDb was just to big to handle within a reasonable time. So I had to write another MongoDB backups script.

Installation and configuration S3CMD Centos

At work and home (for my nopnop.nl site) I needed a way to backup a server (mysql / mongodb and files). I could just zip it and ftp it to my Synology at home… but…. why not save the cloud server files on another cloud like AWS Amazon! So I found the S3CMD tools for connecting to my AWS Bucket. Installation was not very easy. Which means that “yum install s3cmd” on CENTOS just did not work. So I searched the

Lees meer...

Mongodb aggregate $match, $and, $or in PHP

MongoDB! Sinds ik er mee begonnen ben, ben ik er niet meer mee te stoppen. Okay… je kan je afvragen of het ten alle tijden MySQL zal vervangen, maar ik ben in korte tijd echt Fan geworden van Mongodb. Maar de overstap van MySQL Queries naar Aggregate functions is wel even wennen. Voor één van mijn sites nopnop.nl ben nogal aan het stuntelen geweest met de queries (wat aggregation heet). En er is ook nog niet heel veel over te

Lees meer...

Site Footer