Moving
We’re in the process of moving to a new hosting provider, Slicehost.com, so there may be parts of the site not working at different points over the next couple of days. Please be patient and if the site is down, check back at a later time.
We’re in the process of moving to a new hosting provider, Slicehost.com, so there may be parts of the site not working at different points over the next couple of days. Please be patient and if the site is down, check back at a later time.
This is an update to the previous post found here: http://www.web-geek.net/posts/2008/10/20/calculate-the-first-friday-of-next-month-with-php/
With this update I have drastically reduced and simpified the code to produce the same results. I did some rigorous testing of my own to make sure this script will calculate the correct date, but that doesn’t mean it’s bullet-proof. If you find a bug, please email me so I can fix it.
first-friday.php
<?php // first-friday.php v0.1.3 by, Chris Kankiewicz <http://www.web-geek.net> // Calculate next Friday for ($x = date('d'); $x <= (date('d') + 6); $x++) { $timeStamp = mktime(0,0,0,date('m'),$x,date('Y')); if (date('w',$timeStamp) == 5) { $nextFriday = mktime(0,0,0,date('m'),$x,date('Y')); } } // Check if next Friday is the first friday of the month. if (date('d', $nextFriday) <= 7) { $firstFriday = $nextFriday; } else { // Calculate first Friday of next month for ($x = 1; $x <= 7; $x++) { $timeStamp = mktime(0,0,0,date('m')+1,$x,date('Y')); if (date('w',$timeStamp) == 5) { $firstFriday = mktime(0,0,0,date('m')+1,$x,date('Y')); } } } // Echo next first Friday echo date("F j, Y", $firstFriday); ?>
CK-Gallery 1.1.1 has been pushed. This update is primarily miscelaneous fixes. Along with this update are 2 other updates not directly related to the core software.
The first is a new software page found at http://code.web-geek.net/ck-gallery. This page will be the future location of all the CK-Gallery documentation.
Second, I have registered a twitter account that you can follow to get updates to the gallery. You can follow the updates here: https://twitter.com/ckgallery.
1.1.1 Changelog
[ Changes to 1.1.1 ]
- URLs now point to new CK-Gallery page, http://code.web-geek.net/ck-gallery
- Error messages will no longer be displayed if the update check can't
connect to the update site
- Added title text on pagination link
- Moved functions to bottom of file
- Minor code changes
I have just pushed CK-Gallery version 1.1.0 to SourceForge. This release includes a notification system that will display a notification bar across the bottom of the gallery whenever an update to the gallery is available. This feature is disabled by default to preserve your galleries aesthetic nature.
1.1.0 Changelog
[ Changes to 1.1.0 ]
- Added an option to enable update notification (disabled by default)
- Moved most in-line CSS into gallery.css reducing generated code
- Corrections/changes to the Readme for this version
- Other minor style sheet changes
I went to the Verizon store at 10am the day of release and they said they had sold out ~2 hours before I got there. I was able to order one and they were nice enough to write off the rebate right away and overnight me a Storm directly from the factory. By noon the following day I had my Storm and the following are photos of the unboxing. I know this is rather late, but like they say, better late than never.
The following is a quick list of optimizations that, in my years of web development, I have observed will help increase your sites search engine ranking. While none of these processes are guaranteed to make your site #1 in Google overnight, I can promise that by implementing all (or even some) of these items, in time your site’s rank will rise.
The following items are clean, honest ways to optimize your site. I do not condone, nor solicit, any form of “black hat” search engine optimization and frown upon it greatly. If that’s what you’re aiming to implement, I sincerely hope that Google blacklists your site tomorrow. Please don’t send me any emails asking how to get your sight listed as #1 tomorrow.
Now, onto the list.
CK-Gallery version 1.0.1 just released. This addresses a small display bug with the page navigation when you are running the script in your own web page.
[ Changes to 1.0.1 ]
- Style changes to fix a display bug with the pagination navigation when the
script is installed to a pre-existing web page
- Changed PHP compression code
- Updated Readme to reflect these changes
- Miscellaneous index.php changes
So, Gizmodo had a list of 50 skills every geek should know. Seeing as I choose to don the title of “Geek” I feel obligated to see how many of these skills I posses.
Skills marked in Bold are skill I have and have used, or have all the essential knowledge to perform without reference. My notes are [encased in square brackets].
View the original article @ http://gizmodo.com/5078829/the-50-skills-every-geek-should-have
Check out the list after the break.