PHP Date Difference
Finding a quick PHP function for date difference was painful. Now that I found it, here’s the quick easy way. This site was a great help: http://www.phpf1.com/tutorial/php-date-difference.html
Finding a quick PHP function for date difference was painful. Now that I found it, here’s the quick easy way. This site was a great help: http://www.phpf1.com/tutorial/php-date-difference.html
How do we expect government actions to be any less than despicable? They are formed out of violence, supported on stolen funds, kept in power under threat of prison or murder, grant themselves exceptions to moral rules, interpret their own rules of restraint, and fill their offices using lie-filled propaganda, shrewd word-smithing, outright lies, and… Read More »
In an effort to get myself out of cloud storage and retain my privacy, I have decided to move my digital life back onto a flash drive. My problem is that I don’t want to pay for it. My goal? Get a nice flash drive without touching my everyday budget.
There is some controversy about using cursors in TSQL. Overall, I believe they tend to tie up resources and are seen as bad. So how do you get around using them? Here’s how.
This is a new venture for me. Although this won’t be a very in depth of all the possibilities of Gmail scripting, it will give a quick example of what’s possible.
Having trouble getting your techless friends on board with PGP/GPG encrypting emails to you? You’re not alone. That’s why I have created a nifty solution, just for you. And everyone else like you. Cryptana.com is where you go to get signed up. With this site, your public PGP/GPG encryption key is stored once, and anyone can… Read More »
This is sort of an open letter to Marc Stevens and sort of my own musings on the current forced legal system. By “forced”, I mean that it’s forced upon you, like it or not. I disagree wholeheartedly with a great majority of the pieces of the forced legal system as well as the act… Read More »
This short block of PHP code takes a SQL script and removes the “dash-dash” and “/**/” comments from it. Of course, many languages, including PHP itself, use the “/**/” comment style so this could apply to PHP scripts, as well.
(If you want to AVOID cursors, see: TSQL – Loop Through Result Set WITHOUT Cursors) This is the basic query text to use whenever you need to loop through a result set in SQL Server using TSQL. In this example we are getting every database name and printing it out.
There is a feature that is not available for Gmail that should be, but I have the workaround. What feature is missing? The one that lets you separate your email based on whether the sender is in your contact list or not.