The PHP CLI has a cool feature (-l) that allows you to check a file to see if it has any syntax errors:
scotts-air:~ scottkeckwarren$ php -l test.php
Parse error: parse error, expecting `"function (T_FUNCTION)"' in test.php on line 5
Errors parsing test.php
The downside to this is that it doesn’t work on a whole directory. However with some command line magic we can have it run on all the php files in our application:
find -L application -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
It was only some emails but not a good start for a company that’s going to broker a trillion dollars a year…
Within the last 36 hours, we learned that unauthorized third parties obtained the e-mail addresses of some of our CurrentC pilot program participants and individuals who had expressed interest in the app. Many of these email addresses are dummy accounts used for testing purposes only. The CurrentC app itself was not affected.
We have notified our merchant partners about this incident and directly communicated with each of the individuals whose email addresses were involved. We take the security of our users’ information extremely seriously. MCX is continuing to investigate this situation and will provide updates as necessary.
With a heavyweight like Walmart behind CurrentC (say it out loud it makes more sense then) I’m guessing this will never go away. It’s funny to me that very few people even knew this existed before Apple Pay went live. My guess is Apple Pay will be the default choice unless you must use CurrentC. Much like how I use my American Express first and then my Visa now.
I use branches a lot but occasionally I forget to delete the branch after I merge it into master and then when I look at my list of branches I get a list of branches that I can’t remember:
user@server:/var/www$ git branch
If you want a quick way to determine which branches have already been merged into the current branch (I usually run this at master because then I know they’re “finished” branches) you can run
git branch --merged to get just the merged branches.
user@server:/var/www$ git branch --merged
Then you can
git branch -d blah to your heart’s content.
You can also run
git branch --no-merged to see the branches that haven’t been merged yet.
What are the real world consequences to signing up for a Twitter or Facebook account through Tor and spewing hate toward other human beings?
As far as I can tell, nothing. There are barely any online consequences, even if the content is reported.
But there should be.
I’ve always wondered if you could use Redis as a primary data store and just use MySQL for reporting. This statement makes me think I could:
So, as you can see, some unusual things are happening here – Redis is our primary data store and MySQL is our last cache layer.
If you’re interested in the topics covered here you would be a good fit for us. We have medical and dental and allow for remote workers.
B. Demonstrated experience with jQuery and a PHP framework are required, with Zend Framework experience a plus.
C. The successful candidate must be able to estimate/quote projects, oversee projects from start to finish with minimal supervision, and research new techniques/tools when needed.
D. A professional demeanor and customer service skills, attention to detail, excellent oral & written communication skills, the ability to work and exchange ideas with a team of programmers, and the ability to work reliably and effectively from home are also required.