code-infection

Recent Posts

What can I do…

published on

Me: What can I do if I need to try to hack an existing (not self-made) PHP library?

Sensei: Patience.

Me: What can I do if I do not have the patience?

Sensei: How long have you been coding?

Me: 10 years… but why?

Read More...

MySQL + MongoDB + PHP

published on

We used MySQL with PHP… In the past months we try to migrate MySQL tables to MongoDB. And yes it was not a simple method (but we did it).

Now I’ll tell you a simple source of bugs because i have too much fun with this. We have a users table with some fields for example member_type (int). The types already migrated to MongoDB. We fetch the user and we make a query with member_type value but it doesn’t work for us. Why?

Read More...

Categories

Advent-of-Code (1)

Changelog (1)

Conference (1)

Docker (1)

Howto (16)

Javascript (6)

Misc (4)

Php (5)

Ruby (1)

Security (4)

Tools (3)

Tags

advent-of-code (1) alpine (1) android (2) artificial-intelligence (1) backup (1) blogging (4) book (2) coffeescript (1) configuration (1) css (2) database (3) docker (1) editor (2) email (1) facebook (2) fiction (1) flash (1) gingerbread (2) git (1) google (3) haml (1) health (1) heimdall (1) im (1) irc (1) javascript (3) learn (1) letter (2) linux (1) mac (3) mongodb (2) mysql (2) nodejs (3) notice (2) php (8) plugin (1) pomodoro (1) privacy (2) programming (2) regex (1) rss (1) ruby (2) samsung-galaxy-s (2) scss (2) security (3) spreadsheet (1) tumblr (2) ubuntu (1) vim (1) workspace (1) zsh (1)