Recent Forum Posts
From categories:
Konami Code
SchvennSchvenn 03 Feb 2017 04:01
in discussion General Discussion / Technology » Konami Code
First, you need an animation:
One of the most obvious choices would be to use something like the following Contra.gif file, which is a nod to one of Konami's original and most famous games.

Define the styles:
Create the default style, the style that will be added once the code has been activated and the animation sequence.

#Konami {position:absolute; top:0px; width:99%; height:100px; background-image:url(konami.gif); opacity:0;}
.contra {background-image:url(konami.gif); background-position:0px; background-repeat: no-repeat; animation: runner 8s 1 linear;}
@keyframes runner {0% {background-position: 0px; opacity:0} 50% {background-position: 50%; opacity:1}
100% {background-position: 100%; opacity:0}}

Next, define the JavaScript:
Tell the page what to do once someone types the Konami code

// Konami Code
if (window.addEventListener) {var state = 0, Konami=[38,38,40,40,37,39,37,39,66,65]; window.addEventListener("keydown",
function(e) {if (e.keyCode==Konami[state]) state++; else state=0; if (state==10)
document.getElementById("Konami").className = "contra";}, true);}  

Alternate code:
If you want the script to do more than one thing, you will need to define it in a separate function instead, such as the script below that runs the animation and then reloads the page, after 5 seconds.

Without this step, the visitor can only run the code once on your webpage and the next time they try, nothing will happen, because the variables have already been changed to their new state. Of course, you could always reset them, but reloading the page is simpler.

// Konami Code
function KonamiReload() {document.getElementById("Konami").className = "contra"; setTimeout(function(){location.reload();},5000);}
if (window.addEventListener) {var state = 0, Konami=[38,38,40,40,37,39,37,39,66,65]; window.addEventListener("keydown",
function(e) {if (e.keyCode==Konami[state]) state++; else state=0; if (state==10) KonamiReload();}, true);}  

Place the animation on the page:
Keep in mind that if you have this div overlap other css elements on your page, it may disable their functionality. One way around this is to set the z-index of the original Konami style below that of the other elements with the following additional CSS element, added to the Konami style at the top of the page: z-index:-1;

<div id="Konami"></div>


Konami Code by SchvennSchvenn, 03 Feb 2017 04:01
Think Windows XP is safer? by SchvennSchvenn, 16 Nov 2013 08:47

One of my favourite Android Apps is TV Faves. However, it doesn't have an online version and the ones I've found that do, I don't like.
So, I decided to add a small (lol) section to my wiki site to cover this.

As always, that project exploded into something much larger.

I started by listing just the current shows I was watching.
Next, I decided to add the shows I already had seen.
Then, I decided to include all the superhero movies I had see that correspond with superhero shows.
That lead to me creating much larger sections, with wish-lists, allowing me to figure out what I had seen and what I haven't.
I've now created a monstrously comprehensive list of many superheroes, dramas and other series that is far more complete than anything you will find elsewhere.
Charlie Chan, Sherlock Holmes, Batman and Superman for example, are far more comprehensive lists than you can get from Wikipedia, IMDB or combined.
I'm very proud of the list I've created now, as a mediaphile and ironically, as I come to the conclusion of yet one more year of membership on, I've completed one more section.
So, the software, blogs, links and apps took me to the end of year one.
Now, the television and related movies have taken me to the end of year two.
That was a lot of fun.

While I realize that the vast majority of this information is just personal preference, especially when it comes to the media, I trust that this list will help others who may stumble across it, find that it contains more complete lists of information about series that they may also be interested in watching.


Television Shows by SchvennSchvenn, 25 Aug 2012 16:36

Since I own an Android phone, I thought I'd use this site to keep track of the best apps available, as well.
Today, I managed to complete all the blogs and update all the images.
Last week I refined all of the descriptions for the links and software already here.
I essentially finished the site.
That is to say, I completed what I had started.
Of course, this is an ongoing project, so I will constantly maintain, add and remove software and links.

However, the Android section was yet one more area of interest I've wanted to cover.
I started that today.
It's much faster now that I have all the templates and structure in place from the other data forms.
It was basically just a copy and paste of existing pages.
I had to refine them for the Android structure and then just get busy with data entry.
Of course, that's what takes the longest, but in the first few hours I already have around 46 apps listed.

The one year anniversary of this site is fast approaching, on September 1st, 2011.
I want to have the Android section done by then, just to say I could.
That will be a neat milestone to cross.
We'll see.


Android Apps by SchvennSchvenn, 15 Aug 2011 06:52

Time for another update.
It's been almost a year since the last one.
It's not that I haven't worked on the site, because indeed I have.
I add new content constantly.
A few months back I reworked the troubleshooting page to be a single entity with collapsible sections.
That makes it very useful at work.
I've added few hidden pages for my own use and I've just tweaked the homepage and New Software/Links pages to include a link to the index cards.
That's also handy mostly for my own benefit, so that I can edit errors I see in new entries, once I read them later.
I've looked at the wiki many times and thought about ways to improve it and come up blank.
Quite frankly I'm thrilled with this incarnation of the site and it's endlessly useful for me.
I hope it helps others, as well.
There seem to be other visitors based on Google Analytics.
That's good, not that it would stop me from using the site, either way.

I think since last time I posted I've also added the ShrinkTheWeb images to links and maybe even the whole index card design to dataforms.
I'm not sure, but those were fun and really dress the site up a lot.
I love playing around with this stuff.


Re: Woohoo! by SchvennSchvenn, 17 Jul 2011 15:10

This shows how often I actually check my forums.

They haven't had any visitors, so I didn't bother.
Anyway, Paint DOT Net is on here:


Re: Recommend Software by SchvennSchvenn, 17 Jul 2011 14:23

Did a quick site search and found no results for Paint.NET - a free graphics editor based on the .NET platform.

It's one of the major applications I miss on Mac OS X and Ubuntu — as I regularly use it for editing on Windows 7.

  • Windows = a bunch of great, quality applications for free. Including Paint.NET.
  • Mac = pay for an expensive computer. Then pay even more for expensive software that does half of what this editor does. In fact, I'm honestly surprised to say that Windows XP's Paint (even before the Win 7 upgrade) is better than what my MacBook has by default… i.e. nothing. Don't get me started on the $100 VM software, and comparing it to Microsoft's free VM software… that is more stable and has more features… ;-)

[/rant that came out of nowhere]

Re: Recommend Software by leigerleiger, 18 May 2011 09:19

Well, it's been a while.
The majority of the work I completed in the first 60 days, which was from Sept. 1st - Oct. 31st.
That was the main incarnation of the site and I think reworking the flat HTML pages into dataforms, which was a huge undertaking, but well worth it.
Now the site is much more dynamic.

Since then, I've been tweaking content and starting to add more, as I come across it.
There's been a few links and programs added, but the majority of the work I've done is aesthetic and a lot of behind the scenes work, as well.

Using templates for the pagetrees was yesterday's task.
Originally I thought the pagetrees were kind of useless and they're no way near as useful as I'd like to see, but I have been able to find a purpose for them.
Check this page out, as an example: security
Those pages are mainly for my own organization of the site, but what's really neat is that I didn't code that page or the other 600 like it.
I created a template that does a pull of information based on the page's relationship to the rest of the site.
That template auto-populates into all pagetree pages and voila!
Now they're informational pages and not just empty placeholders.

I've learned the current WikiDot features quite well now and it certainly has a lot of features that I do like.
I've got a bit of a wish list for the future, as well.
One thing would be to be able to pull data in ListPages based on the pagetrees.
Right now I have to duplicate the pagetree information into tags and pull based on that.
That's more than a bit of a nuisance and very redundant.

Anyway, that's all for now.


Re: Woohoo! by SchvennSchvenn, 21 Nov 2010 15:04

Oh, this is a nested forum.
Okay, didn't expect that.
I wonder if I can change that.
I prefer flat threads.


Re: Woohoo! by SchvennSchvenn, 28 Oct 2010 16:47

The one thing I haven't done yet, is work on this forum.
I might start adding some themes and features here, too.
I haven't decided, yet.
Although, I don't imagine this place is going to get a lot of traffic, so I don't know if I'm going to worry about it too much.
We'll see.


Re: Woohoo! by SchvennSchvenn, 28 Oct 2010 16:46
SchvennSchvenn 28 Oct 2010 16:44
in discussion General Discussion / Everything else... » Woohoo!

So, I've been really working with the CSS code and built-in modules. I've added templates to blog pages, given it a theme, and the launch page a theme and added page counts, and tags, all sorts of goodies.
It's really well organized now.
Now I can just work on all the content I want to add and make this place a substantial resource for myself and anyone else who wants to use it.


Woohoo! by SchvennSchvenn, 28 Oct 2010 16:44

If you've found an invaluable online resource, don't be shy.
Share it!

As with the software though, I am picky.
I'll add it to the Links section if I think it's something I or others will use regularly.


Recommend A Link by SchvennSchvenn, 14 Sep 2010 16:05

If you feel there's an application I should include in the software section, let me know.
I'm very picky, though.
If it's not something I feel I or others would use frequently, I won't add it.


Recommend Software by SchvennSchvenn, 14 Sep 2010 16:02
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License