Author: LloydLeung
-
xdebug.ini with phpstorm
[Server xdebug.ini file] zend_extension=xdebug.so xdebug.remote_enable=true xdebug.remote_connect_back = On xdebug.profiler_enable=1 xdebug.profiler_output_dir=”/tmp” Zero config phpstorm xdebug mode will now work. [Ensure your router isn’t blocking xdebug] Port Trogger is turned on Trigger port: 80/tcp Incoming port 9000/tcp OR Set your local machine as the DMZ OR Port forwarding
-
mac ports php rsync version not default
You have a mac, and you’ve discovered that you want to install later versions of software that aren’t default on the Mac. Say, python 3.x, a newer version of PHP, curl, rsync… etc. you’ve installed them, and they reside nicely in /opt/local/bin but whenever you’re in the shell, they aren’t being used… what gives?…
-
New Car Smell? Getting rid of new car smell
Some people love it. Some people hate it. To get rid of new car smell… Febreze your car. Just got these from home depot ($6.00 CDN + tax). New car smell, by the next morning, gone/masked. Two things: it smells nice (if you like that scent), and it’s getting rid/masking the new car smell. Still…
-
So my site was compromised…
Someone cracked my site, and started running a litecoin cpu miner on my server. I didn’t know how to remove them, thought I patched up the system. If you found out your site is hacked: Calm down Back up the system Diagnose what happened. Log files, etc… google it. Wipe it clean, and start fresh.…
-
Personal domain cname alias to ddns
I know this will be giberish to most of my friends… if you have your own personal domain name; and decent router that supports ddns services, or a computer remains on most of the time, you could get something like: DOMAIN: privatelan.lloydleung.com to point to your home LAN, and no longer a need to remember…
-
PS3 YouTube App – unable to contact youtube fix
I was getting “Unable to contact YouTube”. I believe my current version as of writing is 1.0.4. This is how I fixed it. I change the DNS settings on the PS3, to point to 8.8.4.4, and 8.8.8.8 (google’s DNS servers). After this change, the youtube app worked just fine. I gave my PS3 a static…
-
Magento Customer Segments vs Customer Groups
magento customer segments groups segment group
-
Magento customer segment by past purchase history
I wanted to fulfil the following use case: Create a customer segment based on past purchase history. If a user has purchased SKU-X, they are to belong to a given customer segment. The problem was, I could not remember why the SKU was not listed in the drop downs while adding a condition in the…
-
Peacock Lumber, new project.
Just came form Peacock Lumber, in Oshawa. Great friendly bunch. Really helpful, and willing to help. I would recommend them to anyone needing lumber/wood supplies. Bought some 3/8″ baltic plywood… secret as to what I’m making for now. 🙂
-
What I intend on writing about in the near future
note to self, write about the following: magento objects. Specifically product and customer objects magento optimization. titanium php development.