<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Logical Tech</title>
	<atom:link href="http://blog.integrii.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.integrii.net</link>
	<description>Work smarter, not harder.</description>
	<lastBuildDate>Fri, 11 Jun 2010 15:11:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google is brutal with sitemap errors.  Be Warned!</title>
		<link>http://blog.integrii.net/?p=267</link>
		<comments>http://blog.integrii.net/?p=267#comments</comments>
		<pubDate>Fri, 11 Jun 2010 15:11:12 +0000</pubDate>
		<dc:creator>Eric Greer</dc:creator>
				<category><![CDATA[Other Sites of Mine]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[game servers]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[sitemap]]></category>

		<guid isPermaLink="false">http://blog.integrii.net/?p=267</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>Google has de-listed my <a href="http://www.hostedgameservers.com/?ref=eric">game servers</a> startup from its indexes.  I went from a steadily climbing position to being not listed instantly.  Why you ask?  What pisses off the Google gods?   Not much, apparently.</p>
<p>You see, I use vim to write all my websites.  I know its not the best way to do things but gosh darn-it for some reason I just always end up coming back to it.  One of the shortcuts in vim is Shift-A.  This starts editing at the end of a line.</p>
<p>I was happily updating my sitemap by hand when I ended up pressing Shift-A on extra time.  Unknowingly, I committed that miss-placed capital &#8220;A&#8221; into my sitemap and published it.  Google happily crawled my sitemap not too long later and found the typo.  They could have looked the other direction and threw a warning on webmaster tools, but instead they entirely de-listed me.  Sounds fair to me.</p>
<p>But, theres a ray of hope.  Chrome has built-in XML error checking.  If you simply open up your sitemap in Google Chrome before actually making it live, it will display any validation errors in big red letters at the top of the page.  </p>
<p>I of course fixed problem as soon as I saw it i webmaster tools and resubmitted my sitemap.  Google even shows my pages as indexed but just will not display them in searches.  I&#8217;m assuming is a temporary thing and that they&#8217;ll re-list me, but I can only guess.  They&#8217;ve crawled and accepted my new site map, but are apparently waiting over a week to re-list me!</p>
<p>I&#8217;m sorry Google!  Stop the madness!  Can&#8217;t we be friends?!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.integrii.net/?feed=rss2&amp;p=267</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Game Servers&#8230; not &#8216;SEVERS&#8217;!  A tale of Google SEO.</title>
		<link>http://blog.integrii.net/?p=265</link>
		<comments>http://blog.integrii.net/?p=265#comments</comments>
		<pubDate>Wed, 02 Jun 2010 23:02:19 +0000</pubDate>
		<dc:creator>Eric Greer</dc:creator>
				<category><![CDATA[newbie.blog]]></category>
		<category><![CDATA[google seo game servers severs gameserver hosting hostedgameservers.com]]></category>

		<guid isPermaLink="false">http://blog.integrii.net/?p=265</guid>
		<description><![CDATA[If you&#8217;ve ever tried to get your website ranked in a high volume search with Google, it&#8217;s basically a life long quest.  It&#8217;s so much of a quest that people who know very few facts about the topic are actually paid good consulting money in order to take their best guesses at how to [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever tried to get your website ranked in a high volume search with Google, it&#8217;s basically a life long quest.  It&#8217;s so much of a quest that people who know very few facts about the topic are actually paid good consulting money in order to take their best guesses at how to get better rankings. </p>
<p>Then, of course, as soon as you do that, Google can just change a gear in its system and you&#8217;re dropped right out again.  I&#8217;ve been going down this road with my game server hosting startup <a href="http://www.HostedGameServers.com">HostedGameServers.com</a>.  I have a great service on servers that perform great.  I ping 16 to my server and I&#8217;m over 1,500 miles from it!  We&#8217;ve got a few clients and its the best we can do with manual promotion while we work to get listed in Google.  Right now we&#8217;re about position 408&#8230; except if you typo the search.</p>
<p>First, search <a href="http://www.google.com/search?q=game+servers">&#8216;Game Servers&#8217;</a> in Google.  Not listed.  Well, we are, but we&#8217;re on page 48 or something stupid.</p>
<p>Next, search for <a href="http://www.google.com/search?q=game+severs">&#8216;Game Severs&#8217;</a>.  Note the missing r.  Yep, we&#8217;re first page.</p>
<p>Our keyword significance is perfect.  It&#8217;s #1 Game #2 Server #3 Hosting and our backlinks aren&#8217;t bad (about 125).  Our site does nothing against the Google laws of sneaky code, either.  I feel like I also have plenty of content.</p>
<p>My best guess as to what is going on involves the proper term &#8216;Game Servers&#8217; being too valuable to list me, even if I am perfectly relevant.  This search term gets a lot of hits, so Google has some high requirements for who gets listed.  I&#8217;m not sure what those are exactly.</p>
<p>Other searches, like the typo&#8217;d &#8216;game severs&#8217; get much less volume.  So much less volume that I show up right on the front page.  Why?  Because I&#8217;m relevant but just not trust worthy enough for some reason.  I have never had &#8217;severs&#8217; anywhere in my code base.  I grep&#8217;d it.</p>
<p>I have no idea what Google wants form me.  We provide a good service and our site is relevant for the right terms.  We&#8217;ve even spent hundreds of man hours trying to get out there and spread links.  Man its a hard world with Google!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.integrii.net/?feed=rss2&amp;p=265</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shorten links with bit.ly right in the Chrome address bar</title>
		<link>http://blog.integrii.net/?p=263</link>
		<comments>http://blog.integrii.net/?p=263#comments</comments>
		<pubDate>Wed, 02 Jun 2010 22:49:05 +0000</pubDate>
		<dc:creator>Eric Greer</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[bit.ly]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://blog.integrii.net/?p=263</guid>
		<description><![CDATA[I was busy installing the Google Chrome bit.ly extenstion one day when I noticed an interesting autofill pop up in the address bar.
It said search bit.ly .  All I had to do was type bit.ly 
 .  Chrome takes you right to bit.ly and shows you the shortened URL.
Works great, no addons required! [...]]]></description>
			<content:encoded><![CDATA[<p>I was busy installing the Google Chrome bit.ly extenstion one day when I noticed an interesting autofill pop up in the address bar.</p>
<p>It said search bit.ly <enter query>.  All I had to do was type bit.ly <tab>
<paste link> <enter>.  Chrome takes you right to bit.ly and shows you the shortened URL.</p>
<p>Works great, no addons required!  Nice and fast.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.integrii.net/?feed=rss2&amp;p=263</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Swype keyboard is open for download for Android 1.5 and higher.  Get it now!</title>
		<link>http://blog.integrii.net/?p=260</link>
		<comments>http://blog.integrii.net/?p=260#comments</comments>
		<pubDate>Mon, 11 Jan 2010 06:02:26 +0000</pubDate>
		<dc:creator>Eric Greer</dc:creator>
				<category><![CDATA[newbie.blog]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[swype]]></category>

		<guid isPermaLink="false">http://blog.integrii.net/?p=260</guid>
		<description><![CDATA[It wasn&#8217;t long ago that I saw Swype in he need as a clever be way to type on your smartphone and already I&#8217;ve found a download for it.
Our does work just as well as advertised!  Thee are things that need improvement but overall its a really great experience!
All you have to do is [...]]]></description>
			<content:encoded><![CDATA[<p>It wasn&#8217;t long ago that I saw Swype in he need as a clever be way to type on your smartphone and already I&#8217;ve found a download for it.</p>
<p>Our does work just as well as advertised!  Thee are things that need improvement but overall its a really great experience!</p>
<p>All you have to do is point your Android browser at  <a href="http://droidmuff.in/downloads/swype-preview/">http://droidmuff.in/downloads/swype-preview/</a> and install the apk by running it.  Just make sure you have 3rd party apk files enabled.</p>
<p>I actually wrote this entire posting from wptogo and swype on my Android!</p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/bLwxIwMFzR4&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/bLwxIwMFzR4&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.integrii.net/?feed=rss2&amp;p=260</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sorting images into folders based on exif year, month and date taken with bash</title>
		<link>http://blog.integrii.net/?p=257</link>
		<comments>http://blog.integrii.net/?p=257#comments</comments>
		<pubDate>Sat, 05 Dec 2009 06:51:39 +0000</pubDate>
		<dc:creator>Eric Greer</dc:creator>
				<category><![CDATA[newbie.blog]]></category>
		<category><![CDATA[day]]></category>
		<category><![CDATA[exif]]></category>
		<category><![CDATA[folders]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[month]]></category>
		<category><![CDATA[sort]]></category>
		<category><![CDATA[year]]></category>

		<guid isPermaLink="false">http://blog.integrii.net/?p=257</guid>
		<description><![CDATA[I need to sort about 18,000 home images taken over four years into a variety of folders on my home computer.  We thought: hey, its on the server &#8211; mission complete.  Three years later it&#8217;s an utter mess.  Perhaps I can find the words to ask my computer to do this task [...]]]></description>
			<content:encoded><![CDATA[<p>I need to sort about 18,000 home images taken over four years into a variety of folders on my home computer.  We thought: hey, its on the server &#8211; mission complete.  Three years later it&#8217;s an utter mess.  Perhaps I can find the words to ask my computer to do this task for me.</p>
<p>First, you&#8217;ll need to install the exif tool: </p>
<blockquote><p><code>su -c 'yum install perl-Image-ExifTool'<br />
</code></p></blockquote>
<p>Then, I ran the following command:</p>
<blockquote><p><code>screen -S sort nice find ./Pictures -type d -exec exiftool '-Directory<DateTimeOriginal' -d Orginized/%Y/%m/%d {} \;<br />
</code></p></blockquote>
<p>./Pictures being the location of the stuff I wanted to sort relative to my working directory, and Orginized/ being the dir I want to move them into.</p>
<p>The screen -S command starts up a screen session so you can press Control-A then d to background it and keep doing other work.  The nice command makes my pathetic little Pentium 1.6 not explode into flames.  Don't you hate it when that happens???</p>
<p>This worked on Centos 5.4, i386.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.integrii.net/?feed=rss2&amp;p=257</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google is weird how it crawls websites&#8230;</title>
		<link>http://blog.integrii.net/?p=255</link>
		<comments>http://blog.integrii.net/?p=255#comments</comments>
		<pubDate>Sat, 19 Sep 2009 02:14:36 +0000</pubDate>
		<dc:creator>Eric Greer</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[dumb]]></category>
		<category><![CDATA[game servers]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google webmasters]]></category>
		<category><![CDATA[hgs]]></category>
		<category><![CDATA[hostedgameservers.com]]></category>
		<category><![CDATA[rewriterule]]></category>

		<guid isPermaLink="false">http://blog.integrii.net/?p=255</guid>
		<description><![CDATA[I recently have been working on a side project hosting dedicated game servers at HostedGameServers.com and have been hitting a lot of snags.  
Basically, the site used to be at Hostedd.com and was doing &#8216;ok&#8217; for Google rank.  It was steadily climbing the ladder toward page one.  I decided since the domain [...]]]></description>
			<content:encoded><![CDATA[<p>I recently have been working on a side project hosting dedicated game servers at <a href="http://www.HostedGameServers.com">HostedGameServers.com</a> and have been hitting a lot of snags.  </p>
<p>Basically, the site used to be at Hostedd.com and was doing &#8216;ok&#8217; for Google rank.  It was steadily climbing the ladder toward page one.  I decided since the domain hostedd.com had only been around for a month or two, I would re-brand the entire company to Hosted Game Servers so relevant things were in the URL.  I also went ahead and added a keyword or two in my page URLs.  I set my prior domain hostedd.com to be a 301 redirect to hostedgameservers.com and figured all was well.  I setup the old URLs to redirect to the new slightly longer URLs with keywords in them in case anyone hit the old URLs.</p>
<p>I generated a new sitemap, added the new site to google analytics and google webmaster tools.  A strange thing happened.  Google appeared to crawl one of the old non-existent pages that I had a redirect for&#8230; detected it missing (thats how it handles RewriteRule?!!?) and left my site promptly!  It didn&#8217;t return for days.  Considering I had a current sitemap which mentioned NOTHING of these files; its rather weird it even tried to visit them.</p>
<p>Wow I thought&#8230; what a setback.  I&#8217;m sure this kind of thing is on my record with Google for awhile&#8230;.</p>
<p>So I went and requested removal of he old URLs from google at both the new and old domain names.  Google denied them 24 hours later because they were not restricted by my robots.txt.  In the mean time google crawled my website again, ignored what was listed in my html and xml sitemaps, hit a redirect and reported it as a couple 404 missing pages.  WTF?  My web host is wasn&#8217;t even having outages!  I did all this sitemap and immigration work and google tagged my domain with a big red F for having what it thinks are 404 errors.  Total crap!</p>
<p>So anyway, I requested removal again after adding the old url&#8217;s to the robots.txt file and they were accepted.  Google crawled my site again, indexed two pages, and left.  My site is ranking horribly, even if i search for all the words in the new domain name and all I can do is wait.</p>
<p>It&#8217;s common practice o use rewrite rules and rename pages.  I&#8217;m really surprised this caused complications with the internet giant.  It&#8217;s really frustrating and for an internet business can be deadly.  Maybe google has become scored and petrified of google rank stealing tricks?!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.integrii.net/?feed=rss2&amp;p=255</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adaptation to EricBackup.bat</title>
		<link>http://blog.integrii.net/?p=239</link>
		<comments>http://blog.integrii.net/?p=239#comments</comments>
		<pubDate>Tue, 23 Jun 2009 18:10:49 +0000</pubDate>
		<dc:creator>Martijn Jonker</dc:creator>
				<category><![CDATA[Batch Files]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[ntbackup]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://blog.integrii.net/?p=239</guid>
		<description><![CDATA[I took the liberty to adapt EricBackup.bat created by Eric.
Eric graciously permitted me to post to his blog aswell.
I have almost completely rewritten the batchfile for it to meet my fancy ;)
Replaced blat with sendmail and using delage32 to cleanup previous backupfiles and logfiles.
Date and time variables are in European format, change this if you [...]]]></description>
			<content:encoded><![CDATA[<p>I took the liberty to adapt EricBackup.bat created by Eric.<br />
Eric graciously permitted me to post to his blog aswell.</p>
<p>I have almost completely rewritten the batchfile for it to meet my fancy ;)<br />
Replaced blat with sendmail and using delage32 to cleanup previous backupfiles and logfiles.<br />
Date and time variables are in European format, change this if you want/need to.<br />
The first part declares a bunch of variables, read this carefully.</p>
<p>Hands down to Eric, he laid the foundation for me to create this.</p>
<p>Below the source I have created. Comments are welcome.</p>
<p><strong>MyBackup.bat</strong></p>
<blockquote><p>@ECHO OFF<br />
:: ====<br />
:: PROGRAM           : MYBACKUP.BAT<br />
:: BY                : M.T.D. JONKER<br />
:: ADAPTED FROM      : EricBackup.bat Version 2.8, <a href="mailto:EricGreer@GMail.com">EricGreer@GMail.com</a>, <a href="http://blog.integrii.net/?p=76">http://blog.integrii.net/?p=76</a><br />
:: CREATION DATE     : 20-12-2008<br />
:: LATEST REVISION   : 22-02-2009<br />
::====<br />
::22-02-2009: REDID REMOVAL OF OLD BACKUPFILES AND LOGFILES THROUGH EXTERNAL TOOL DELAGE32<br />
::20-01-2009: ADDED REMOVAL OF PREVIOUS LOGFILES<br />
::20-01-2009: CREATED VARIABLE &#8220;BACKUPFILE&#8221; TO REMOVE CLUTTER<br />
::20-01-2009: REWROTE REMOVAL OF PREVIOUS BACKUPFILES<br />
::10-01-2009: ADDED REMOVAL OF PREVIOUS BACKUPFILES<br />
::22-12-2008: REPLACED BLAT WITH SENDMAIL<br />
::20-12-2008: REWROTE BATCHFILE<br />
::====<br />
TITLE ADVANCED NTBACKUP SCRIPT<br />
COLOR 1F<br />
::====SET VARIABLES.HERE====<br />
::ADJUST VARIABLES TO MEET YOUR PREFERENCE</p>
<p>::BACKUP RELATED VARIABLES<br />
::SET USERNAME (AS SHOWN IN C:\DOCUMENTS AND SETTINGS\&lt;USERNAME&gt;),<br />
SET USER=&lt;username&gt;<br />
::PATH TO PUT LOGFILES OF THIS BATCHFILE AND NTBACKUP<br />
SET ARCHIVEPATH=C:\Backups\logs<br />
:: ORIGINAL (DEFAULT) LOCATION OF NTBACKUP LOGFILE<br />
SET LOGPATH=&#8221;%USERPROFILE%\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data&#8221;<br />
::SET THE DESTINATION FOLDER OF YOUR BACKUP<br />
SET DESTINATION=C:\BACKUPS\%COMPUTERNAME%<br />
::SET PATH TO SENDMAIL.EXE<br />
SET MAILPATH=C:\Backups\sendmail.exe<br />
::SET PATH TO delage32.exe<br />
SET DAPATH=C:\Backups\delage32.exe<br />
::SET NAME OR IP OF SMTPSERVER TO BE USED<br />
SET SMTPSERVER=smtp.server.com<br />
::SET THE TO ADDRESS<br />
SET <a href="mailto:TO=name@domain.com">TO=name@domain.com</a><br />
::SET THE FROM ADDRESS<br />
SET <a href="mailto:FROM=name@domain.com">FROM=name@domain.com</a><br />
::SET THE SOURCE OF YOUR BACKUP (FOR EXAMPLE: D:) NOT USED IN SYSTEMSTATE BACKUP<br />
::SET SOURCE=D:<br />
::SET A NOTE TO DESCRIBE YOUR BACKUP (USED IN FILENAME, SO REFRAIN FROM USING NON COMPATIBLE CHARACTERS)<br />
::SET NOTE=D-DRIVE<br />
::====COMMAND LINE PASSING====<br />
::THE VARIABLES NOTE AND SOURCE CAN BE PASSED FROM THE COMMAND LINE.<br />
::EIHTER SET THEM ABOVE OR USE THE SETTING BELOW<br />
::COMMENT/UNCOMMENT AS NEEDED<br />
::WHEN PASSED FROM THE COMMAND LINE BOTH SOURCE AND NOTE MUST BE PROPERLY FILLED<br />
::SO USE SHORT FILENAMES SUCH AS C:\DOCUME~1\, WITHOUT QUOTES<br />
SET SOURCE=%2<br />
::USED IN FILENAME, SO REFRAIN FROM USING NON COMPATIBLE CHARACTERS<br />
SET NOTE=%3<br />
::====DONE SETTING MANUAL VARIABLES====</p>
<p>::DETERMINE BACKUPMODE<br />
SET BACKUPMODE=NONE<br />
IF &#8220;%1&#8243; == &#8220;systemstate&#8221; SET BACKUPMODE=SYSTEMSTATE<br />
IF &#8220;%1&#8243; == &#8220;normal&#8221; SET BACKUPMODE=NORMAL<br />
IF &#8220;%1&#8243; == &#8220;differential&#8221; SET BACKUPMODE=DIFFERENTIAL<br />
IF %BACKUPMODE% == NONE GOTO NOPARAMS</p>
<p>::SET TIME AND DATE VARIABLES, (EUROPEAN FORMAT)  DO NOT TOUCH (UNLESS OTHER FORMAT)<br />
FOR /F &#8220;TOKENS=1,2 DELIMS=:&#8221; %%A IN (&#8217;TIME /T&#8217;) DO (<br />
SET HR=%%A<br />
SET MIN=%%B<br />
SET TM=%%A%%B<br />
SET TME=%%A:%%B<br />
)<br />
FOR /F &#8220;TOKENS=2,3,4 DELIMS=- &#8221; %%A IN (&#8217;DATE /T&#8217;) DO (<br />
SET D=%%A<br />
SET M=%%B<br />
SET Y=%%C<br />
SET DT=%%A-%%B-%%C<br />
SET DTE=%%C%%B%%A<br />
)<br />
::====!!!OTHER VARIABLES, DO NOT CHANGE!!!====<br />
:: NAME OF SYSTEM TO BE BACKED UP<br />
SET SYS=%COMPUTERNAME%<br />
::NAME OF BACKUPFILE (THIS IS LATER USED IN REMOVING PREVIOUS BACKUPFILES)<br />
SET BACKUPFILE=%SYS%_%BACKUPMODE%_%NOTE%_%DT%.bkf<br />
::LOGFILE OF THIS BATCHFILE<br />
SET BATCHLOG=%ARCHIVEPATH%\%BACKUPMODE%_%NOTE%_%DT%_%TM%.txt<br />
::NAME OF NTBACKUP LOGFILE TO BE ARCHIVED<br />
SET NTBARCLOG=%BACKUPMODE%_%NOTE%_%DT%_%TM%.log<br />
::====DONE SETTING VARIABLES====<br />
::====</p>
<p>::CREATE ARCHIVE AND DESTINATION PATHS IF THEY DO NOT EXIST<br />
IF NOT EXIST &#8220;%ARCHIVEPATH%&#8221; MD &#8220;%ARCHIVEPATH%&#8221; &amp; ECHO &#8220;ARCHIVE PATH DID NOT EXIST, SO IT WAS CREATED.&#8221; &amp; ECHO.&gt;&gt; %BATCHLOG%<br />
IF NOT EXIST &#8220;%DESTINATION%&#8221; MD &#8220;%DESTINATION%&#8221; &amp; ECHO &#8220;DESTINATION PATH DID NOT EXIST, SO IT WAS CREATED.&#8221; &amp; ECHO.&gt;&gt; %BATCHLOG%</p>
<p>::BACKUP SELECTION, LOG TO CMD WINDOW<br />
ECHO.<br />
ECHO *********************************************************<br />
ECHO * JOB %NOTE% STARTED<br />
ECHO *********************************************************<br />
ECHO *<br />
IF %BACKUPMODE% NEQ SYSTEMSTATE ECHO * JOB SOURCE: %SOURCE%</p>
<p>IF %BACKUPMODE% == SYSTEMSTATE ECHO * %SYS% %BACKUPMODE% BACKUP STARTED AT %TME% ON %DT% &amp; ECHO * TO %DESTINATION%\%BACKUPFILE% &amp; ECHO %SYS% %BACKUPMODE% BACKUP STARTED AT %TME% ON %DT% TO %DESTINATION%\%BACKUPFILE% &gt;&gt; %BATCHLOG%<br />
IF %BACKUPMODE% == DIFFERENTIAL ECHO * %SYS% %BACKUPMODE% BACKUP OF %SOURCE% STARTED AT %TME% ON %DT% &amp; ECHO * TO %DESTINATION%\%BACKUPFILE% &amp; ECHO %SYS% %BACKUPMODE% BACKUP OF %SOURCE% STARTED AT %TME% ON %DT% TO %DESTINATION%\%BACKUPFILE% &gt;&gt; %BATCHLOG%<br />
IF %BACKUPMODE% == NORMAL ECHO * %SYS% %BACKUPMODE% BACKUP OF %SOURCE% STARTED AT %TME% ON %DT% &amp; ECHO * TO %DESTINATION%\%BACKUPFILE% &amp; ECHO %SYS% %BACKUPMODE% BACKUP OF %SOURCE% STARTED AT %TME% ON %DT% TO %DESTINATION%\%BACKUPFILE% &gt;&gt; %BATCHLOG%</p>
<p>::START BACKUP DEPENDING ON BACKUPMODE<br />
IF %BACKUPMODE% == SYSTEMSTATE ntbackup.exe backup systemstate /n &#8220;%sys%-Backup&#8221; /d &#8220;%sys%-Backup&#8221; /v:no /r:no /rs:no /hc:off /j &#8220;%sys%-Backup&#8221; /l:s /f &#8220;%destination%\%BACKUPFILE%&#8221; &gt;&gt; %BATCHLOG%<br />
IF %BACKUPMODE% == DIFFERENTIAL ntbackup.exe backup &#8220;%source%&#8221; /n &#8220;%sys%-Backup&#8221; /d &#8220;%sys%-Backup&#8221; /v:no /r:no /rs:no /hc:off /m differential /j &#8220;%sys%-Backup&#8221; /l:s /f &#8220;%destination%\%BACKUPFILE%&#8221; &gt;&gt; %BATCHLOG%<br />
IF %BACKUPMODE% == NORMAL ntbackup.exe backup &#8220;%source%&#8221; /n &#8220;%sys%-Backup&#8221; /d &#8220;%sys%-Backup&#8221; /v:no /r:no /rs:no /hc:off /m normal /j &#8220;%sys%-Backup&#8221; /l:s /f &#8220;%destination%\%BACKUPFILE%&#8221; &gt;&gt; %BATCHLOG%</p>
<p>::ARCHIVE LOGFILES<br />
::CLEAR TIME VARIABLES AND SET ANEW<br />
SET HR=<br />
SET MIN=<br />
SET TM=<br />
SET TME=<br />
FOR /F &#8220;TOKENS=1,2 DELIMS=:&#8221; %%A IN (&#8217;TIME /T&#8217;) DO (<br />
SET HR=%%A<br />
SET MIN=%%B<br />
SET TM=%%A%%B<br />
SET TME=%%A:%%B<br />
)<br />
::GET NTBACKUP LOGFILE NAME<br />
FOR /F &#8220;TOKENS=1,2,4 DELIMS= &#8221; %%A IN (&#8217;dir %LOGPATH% *.log ^| find &#8220;%dt%&#8221; ^| find &#8220;%tme%&#8221;&#8216;) DO SET NTBLOG=%%C &gt;NUL<br />
ECHO NTBACKUP LOGFILE FOT THIS JOB: %LOGPATH%\%NTBLOG% &gt;&gt; %BATCHLOG%<br />
::COPY AND RENAME THE NTBACKUP LOGFILE<br />
IF EXIST %LOGPATH%\%NTBLOG% copy %LOGPATH%\%NTBLOG% %ARCHIVEPATH% /Y &gt;NUL<br />
IF EXIST %ARCHIVEPATH%\%NTBLOG% ren %ARCHIVEPATH%\%NTBLOG% &#8220;%NTBARCLOG%&#8221;<br />
::CHECK LOGFILE FOR BACKUP SUCCESS<br />
SET ERRORLEVEL=<br />
find /I &#8220;BACKUP COMPLETED&#8221; &#8220;%ARCHIVEPATH%\%NTBARCLOG%&#8221; &gt;NUL<br />
GOTO %ERRORLEVEL%<br />
:0<br />
SET SUCCESS=1<br />
ECHO * BACKUP COMPLETED SUCCESSFULLY &amp; ECHO BACKUP COMPLETED SUCCESSFULLY &gt;&gt; %BATCHLOG%<br />
GOTO SUCCESSBACKUP<br />
:1<br />
SET SUCCESS=0<br />
ECHO * BACKUP FAILED &amp; ECHO BACKUP FAILED &gt;&gt; %BATCHLOG%<br />
GOTO FAILBACKUP</p>
<p>:SUCCESSBACKUP<br />
::SEND EMAIL WITH NTBACKUP LOGFILE ATTACHED<br />
IF %SUCCESS% == 1 %MAILPATH% /smtpserver %SMTPSERVER% /to %TO% /from %FROM% /subject %BACKUPMODE% Backup %NOTE% Successful /body %BACKUPMODE% Backup %NOTE% Successful /attachment %ARCHIVEPATH%\%NTBARCLOG% &gt;&gt; %BATCHLOG%</p>
<p>::CLEANUP PREVIOUS BACKUPFILES<br />
::IF NO PREVIOUS BACKUPFILE EXISTS, SKIP TO CLEANIN LOGFILES<br />
IF NOT EXIST %DESTINATION%\*%BACKUPMODE%_%NOTE%* ECHO NO PREVIOUS BACKUPFILE(S) FOR %BACKUPMODE%_%NOTE% EXIST &gt;&gt; %BATCHLOG% &amp; GOTO CLLOG<br />
::IF PREVIOUS BACKUPFILE(S) EXIST, DELETE ALL PREVIOUS BACKUPFILES. FILTERED BY VARIABLES %BACKUPMODE% &amp; %NOTE%<br />
::THE FOLLOWING STATEMENT IS COMPLETELY DEPENDEND ON THE MAKEUP OF THE VARIABLE %BACKUPFILE%<br />
IF %NOTE% == note %DAPATH% %DESTINATION%\*%BACKUPMODE%_%NOTE%* 60 &gt;&gt; %BATCHLOG% &amp; GOTO CLLOG<br />
IF %BACKUPMODE% == SYSTEMSTATE %DAPATH% %DESTINATION%\*%BACKUPMODE%_%NOTE%* 60 &gt;&gt; %BATCHLOG% &amp; GOTO CLLOG<br />
::FOR /F &#8220;TOKENS=1-7 DELIMS=_-.&#8221; %%A IN (&#8217;DIR %DESTINATION%\*%BACKUPMODE%_%NOTE%* /B&#8217;) DO IF &#8220;%%F%%E%%D&#8221; LSS &#8220;%DTE%&#8221; SET BF=%%A_%%B_%%C_%%D-%%E-%%F.%%G &amp; DEL %DESTINATION%\%BF% &amp; IF ERROLEVEL NEQ 0 ECHO PREVIOUS BACKUPFILE %DESTINATION%\%BF% DELETED &gt;&gt; %BATCHLOG% &amp; GOTO CLLOG<br />
ECHO NO (PREVIOUS) BACKUPFILE(S) DELETED &gt;&gt; %BATCHLOG%</p>
<p>:CLLOG<br />
::CLEANUP ARCHIVED LOGFILES<br />
::IF NO PREVIOUS LOGFILE EXISTS, SKIP TO NEXT<br />
IF NOT EXIST %DESTINATION%\*%BACKUPMODE%_%NOTE%* ECHO NO PREVIOUS LOGFILE(S) FOR %BACKUPMODE%_%NOTE% EXIST &gt;&gt; %BATCHLOG% &amp; GOTO NEXT<br />
::IF PREVIOUS LOGFILE(S) EXIST, DELETE ALL PREVIOUS LOGFILES. FILTERED BY VARIABLES %BACKUPMODE% &amp; %NOTE%<br />
::THE FOLLOWING STATEMENT IS DEPENDEND ON THE MAKEUP OF THE VARIABLE %BATCHLOG% &amp; %NTBARCLOG%<br />
IF %NOTE% == note %DAPATH% %ARCHIVEPATH%\*%BACKUPMODE%_%NOTE%* 60 &gt;&gt; %BATCHLOG% &amp; GOTO NEXT<br />
::FOR /F &#8220;TOKENS=1-5 DELIMS=_-.&#8221; %%A IN (&#8217;DIR %ARCHIVEPATH%\*%BACKUPMODE%_%NOTE%* /B&#8217;) DO IF &#8220;%%F%%E%%D&#8221; LSS &#8220;%DTE%&#8221; SET LF=%%A_%%B_%%C-%%D-%%E_*.* &amp; DEL %ARCHIVEPATH%\%LF% &amp; IF ERROLEVEL NEQ 0 ECHO PREVIOUS LOGFILE(S) %ARCHIVEPATH%\%LF% DELETED &gt;&gt; %BATCHLOG% &amp; GOTO NEXT<br />
ECHO NO (PREVIOUS) LOGFILE(S) DELETED &gt;&gt; %BATCHLOG% &amp; GOTO NEXT</p>
<p>:FAILBACKUP<br />
IF %SUCCESS% == 0 %MAILPATH% /smtpserver %SMTPSERVER% /to %TO% /from %FROM% /subject %BACKUPMODE% Backup %NOTE% Failed /body %BACKUPMODE% Backup %NOTE% Failed /attachment %ARCHIVEPATH%\%NTBARCLOG% &gt;&gt; &#8220;%BATCHLOG%&#8221;</p>
<p>:NEXT<br />
IF EXIST &#8220;%ARCHIVEPATH%\%NTBARCLOG%&#8221; ECHO NTBACKUP.EXE .LOG FILE ARCHIVED AT &#8220;%ARCHIVEPATH%\%NTBARCLOG%&#8221; &gt;&gt; %BATCHLOG%<br />
ECHO BATCHLOG .TXT FILE ARCHIVED AT &#8220;%BATCHLOG%&#8221; &gt;&gt; %BATCHLOG%</p>
<p>GOTO END</p>
<p>:NOPARAMS<br />
ECHO ********************************************************<br />
ECHO THIS FILE MUST BE CONFIGURED BY OPENING IT IN NOTEPAD.<br />
ECHO SETTING THE VARIABLES IN THE VARIABLES SECTION.<br />
ECHO TO RUN THE FILE AFTER YOU CONFIGURE IT,<br />
ECHO YOU MUST SPECIFY A BACKUP TYPE AS THE FIRST PARAMETER.<br />
ECHO THE FIRST PARAMETER SHOULD BE IN lowercase.<br />
ECHO SOURCE AND NOTE CAN BE PASSED FROM THE COMMAND LINE,<br />
ECHO READ THE VARIABLES SECTION OF THIS FILE<br />
ECHO.<br />
ECHO EXAMPLE 1:<br />
ECHO MYBACKUP systemstate [source] [note]<br />
ECHO.<br />
ECHO EXAMPLE 2:<br />
ECHO MYBACKUP normal [source] [note]<br />
ECHO.<br />
ECHO EXAMPLE 3:<br />
ECHO MYBACKUP differential [source] [note]<br />
ECHO.<br />
ECHO ********************************************************<br />
PAUSE</p>
<p>:END<br />
CLS<br />
EXIT</p></blockquote>
<p>Source and support files can be downloaded <a href="http://blog.integrii.net/wp-content/uploads/2009/06/MyBackup.zip">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.integrii.net/?feed=rss2&amp;p=239</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>GameGuard working on Windows 7 European Aion Beta Access (Fix for Error: 0)</title>
		<link>http://blog.integrii.net/?p=231</link>
		<comments>http://blog.integrii.net/?p=231#comments</comments>
		<pubDate>Tue, 02 Jun 2009 05:21:40 +0000</pubDate>
		<dc:creator>Eric Greer</dc:creator>
				<category><![CDATA[newbie.blog]]></category>
		<category><![CDATA[32bit]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[Aion]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[chinese]]></category>
		<category><![CDATA[error 0]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[fixed]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[gameguard]]></category>
		<category><![CDATA[gameguard.des]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[working]]></category>

		<guid isPermaLink="false">http://blog.integrii.net/?p=231</guid>
		<description><![CDATA[Did some digging because my stupid do nothing game guard client for Aion would just crash with error message 0 a few seconds after starting. Deleting the GameGuard folder does not seem to matter.
Apparently you can use the .des files from the Chinese version over top of yours and it works fine.
Found the solution at [...]]]></description>
			<content:encoded><![CDATA[<p>Did some digging because my stupid do nothing game guard client for Aion would just crash with error message 0 a few seconds after starting. Deleting the GameGuard folder does not seem to matter.</p>
<p>Apparently you can use the .des files from the Chinese version over top of yours and it works fine.</p>
<p>Found the solution at the bottom of <a href="https://eu-players.tcos.com/forum/showthread.php?t=3799">this thread</a>.</p>
<p>But, because you don&#8217;t need to go chasing links&#8230; here&#8217;s the .des file in the form of a .rar as linked on the forums (no registration required to download for this site!).    <br /><a href="http://blog.integrii.net/programs/GameGuard.rar">CLICK HERE</a></p>
<p>Open up this folder for 64bit:    <br />C:\Program Files (x86)\NCSoft\Aion\bin32     <br />For 32bit, AION will just BSOD in Win7 right now, I&#8217;m assuming this is going to be fixed by Aion later.</p>
<p>Then rename GameGuard.des to GameGuard.bullshit and copy in the one from the rar supplied here. Presto, it works! You&#8217;re Welcome!</p>
<p>If you appreciate, please drop a comment thanks!    <br />Oh.. and if you can&#8217;t extract it, download winrar from <a href="http://www.rarlabs.com">www.rarlabs.com</a></p>
<p>(written from windows live writer)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.integrii.net/?feed=rss2&amp;p=231</wfw:commentRss>
		<slash:comments>42</slash:comments>
		</item>
		<item>
		<title>Fetch the local weather and optionally put it on the footer of your motd</title>
		<link>http://blog.integrii.net/?p=224</link>
		<comments>http://blog.integrii.net/?p=224#comments</comments>
		<pubDate>Tue, 26 May 2009 03:46:18 +0000</pubDate>
		<dc:creator>Eric Greer</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[lynx]]></category>
		<category><![CDATA[motd]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[weather]]></category>

		<guid isPermaLink="false">http://blog.integrii.net/?p=224</guid>
		<description><![CDATA[I wanted to put my local weather on the bottom of my /etc/motd &#8211; because i&#8217;m dorky like that.
I found a bunch of random ways to fetch the weather forecast in plain text&#8230; and a lot of complicated grep/sed/curl commands to get there.  I wanted something as simple as possible.
So first, the shell script [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to put my local weather on the bottom of my /etc/motd &#8211; because i&#8217;m dorky like that.</p>
<p>I found a bunch of random ways to fetch the weather forecast in plain text&#8230; and a lot of complicated grep/sed/curl commands to get there.  I wanted something as simple as possible.</p>
<p>So first, the shell script to get the weather in plain text&#8230;</p>
<blockquote><p><code>echo " Weather for Palmyra, Virginia:"<br />
lynx --dump "http://mobile.weather.gov/port_mp_ns.php?CityName=Palmyra&#038;site=AKQ&#038;State=VA&#038;warnzone=VAZ048/" | head -n 7 | tail -n 1 | sed -e 's/\ //g' | sed -e 's/Â°/°/'</code></p></blockquote>
<p>The echo is just for looks, obviously.  You&#8217;ll need to change it to whatever you want it to be headed up by&#8230; or remove it completely. </p>
<p>The first lynx command fetches the website how a browser sees it.<br />
The second head takes only the top portion of that resulting website.<br />
The third command, tail, only takes the bottom line of the resulting head display.<br />
The fourth sed command takes all the spaces out.<br />
The fifth command gets rid of some weird character interpritation from lynx and makes it nicely have a Fahrenheit symbol.</p>
<p>You&#8217;ll need to get your own weather url and replace mine with it by entering your zip code here: http://mobile.weather.gov/.  </p>
<p>Okay, so now we have a way to get the local weather.  I actually setup an alias in .bashrc for this, too.</p>
<p>Next, we have the script that puts this at the bottom of your /etc/motd file.  That script, in my case, assumes that you have sudo without entering your password:</p>
<blockquote><p><code><br />
cat ~/sh/backup/motd.backup > ~/motd.new<br />
sh ~/sh/weather.sh >> ~/motd.new<br />
echo "" >> ~/motd.new<br />
sudo mv ~/motd.new /etc/motd<br />
</code></p></blockquote>
<p>The first line copies my standard motd message into place within what will be the new motd file.  This makes sure we maintain the same static message at the top.  You&#8217;ll have to update that line and point it to a basic motd message file that serves as a template.<br />
The second line, runs my weather script, which you&#8217;ll need to update and point to where yours is.<br />
The third adds a blank line to the bottom of the new motd file, for better formatting.<br />
The last of the 3 lines moves the new motd into place on top of your current.</p>
<p>Then, I scheduled that last script to run each hour in my user&#8217;s crontab with the command &#8216;crontab -e&#8217;:<br />
0 * * * * ~/sh/generateMOTD.sh</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.integrii.net/?feed=rss2&amp;p=224</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe&#8217;s AC_FL_RunContent and Lightbox 2 can&#8217;t work at the same time in IE 7</title>
		<link>http://blog.integrii.net/?p=217</link>
		<comments>http://blog.integrii.net/?p=217#comments</comments>
		<pubDate>Sat, 11 Apr 2009 06:42:47 +0000</pubDate>
		<dc:creator>Eric Greer</dc:creator>
				<category><![CDATA[newbie.blog]]></category>
		<category><![CDATA[C_FL_RunContent Lightbox error IE compatibility javascript]]></category>

		<guid isPermaLink="false">http://blog.integrii.net/?p=217</guid>
		<description><![CDATA[I don&#8217;t know much javascript, but from what I can see&#8230; using both the AC_FL_RunContent.js script from Adobe for embedding flash objects and Lightbox 2 from http://www.huddletogether.com/projects/lightbox2/ won&#8217;t work at the same time in IE7.
It looks like IE7&#8217;s fault &#8211; like normal &#8211; because Chrome and FireFox do it right.  Taking out either lightbox&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know much javascript, but from what I can see&#8230; using both the AC_FL_RunContent.js script from Adobe for embedding flash objects and Lightbox 2 from http://www.huddletogether.com/projects/lightbox2/ won&#8217;t work at the same time in IE7.</p>
<p>It looks like IE7&#8217;s fault &#8211; like normal &#8211; because Chrome and FireFox do it right.  Taking out either lightbox&#8217;s javascript or Adobe&#8217;s makes it work&#8230; but no combination of the two I see does.</p>
<p>Anyway, If i have both of these javascript files in the header of any web page, I get the following:</p>
<p>Line: 3975<br />
Char: 9<br />
Error: Object doesn&#8217;t support this property or method<br />
Clode: 0</p>
<p>The image then comes up as if it were linked to directly.</p>
<p>Total crap!!!  Anyone else getting this out there?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.integrii.net/?feed=rss2&amp;p=217</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
