Google+

Category Archives: Uncategorized

JS4Nubs: Random Scripts

Here’s some random scripts that you can use on any webpage. Just type them in the Address Bar (Like you would do with a URL) and hit enter. (Extra random useless space) (more space) (Like this.) Change the font color to red: javascript:document.getElementsByTagName("body" )[0].style.color="red"; void(0); Make the text enormous: javascript:document.getElementsByTagName("body" )[0].style.fontSize="2em"; void(0); Infinite Spam: (Don’t try this.) javascript:while(true)alert("SPAM"); Spam until you enter the password: javascript:var password="123456"; var text=prompt("What’s the password?"); while (text!=password)text=prompt("What’s the password?");void(0); Edit the page that you’re looking at: javascript:document.body.contentEditable=’true’; document.designMode=’on’; void (0); Random Wheel: (This one isn’t mine) javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position=’absolute’; DIS.left=(Math.sin(R *x1+i* x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R *y1+i*y2+y3)*y4+ y5)+"px"}R++}setInterval(’A()’ ,5); void(0); Random Number: (Between 0 and 1) javascript:alert(Math.random()); Go to the the best website ever: javascript:window.location="http://www.rogerhub.com/"; Learn more about JavaScript

Random Thought

Google "ISO". You’ll be surprised at what it stands for.. I guess IOS just sounds weird. Right?

NET4Nubs: Hidden Network Shares

Each computer on a network has an IP Address. But you probably already knew that. You might know that most home and corporate networks share one external IP while separate computers have unique internal IP’s. You probably know how to find your own Internal IP. If you don’t, here’s how: Start Menu > All Programs > Accessories > Command Prompt (Run as Administrator) Type in: ipconfig And there it is! (.. that retarded red dot made the picture have that weird whiteness at the top) Well, you probably know that you can access the printers and shared folders on that computer by going to \\IPADDRESS So, \\10.10.10.104 would bring up a list of my resources. But did you know that you can access the computer’s harddrives using hidden shares? Well, maybe you knew that. If you didn’t, then here’s how you do it: \\IPADDRESS\C$ The dollar sign ($) at the end of the address means that this… more →

SpeedyFox

If you’re using Mozilla Firefox (which you should be), you might notice that it starts up a little slower than Chrome or Internet Explorer. If it’s getting unbearably slow, try SpeedyFox. After you’re done downloading, you’ll get something that looks like this: Close Firefox and click the "Speed Up my FireFox" button. (But come back to RogerHub later ) That’s it. Don’t feel a speed change? You need a new computer.. I’m just kidding. Yeah -Roger

JS4Nubs: Real-time Hit Counter

This is my first post in a series called 4Nubs. Which is basically programming tutorials for noobs. So, here I go... Tell me what you think. If you use GMail, or if you’ve ever been to GMail.com, you’ll know that they have this cool ad for their huge storage space. It’s a number that goes up continuously. Google wants you to think that you’re gaining storage space continuously. But what seems like a second-by-second increase of mailbox quota, is actually a simple JavaScript trick. If you look into the source code, there is a timer that increments the number every 1000 milliseconds. So here, we’re going to imitate that effect, but in a simpler way. Say, I wanted to make a hit-counter that would update itself automatically. So, I figure out that I get 1 visitor every 23 seconds. (It’s actually a lot… more →

Pet Peeves

Sadly, a lot of things tick me off. Here are my top 5 5. Reading Billboards Out Loud Billboards, signs, anything that can be read. Someone just has to read it aloud. It’s not like I’m illiterate. Are you reading aloud billboards because you want me to pay attention to them? If you want to point something out, just gesture towards it instead of mocking my intelligence and reading it aloud. 4. Taking Things too Seriously Not everything is meant to be a debate. If you don’t agree with me about something, just tell me. But if the conversation goes on for more than 2 or 3 sentences, just drop it. Some people take their opinions way to heavily. It’s great to stand up for what you believe in, but don’t argue about trivial things and subjects that aren’t important. 3. 1-Word Texts "Hey, on RogerHub… more →

Sekuruh-tee

Every week in the L.A. Times, there’s a Fry’s commercial on the back of the news section. Most days, the commercial takes up the whole back panel of the section, but sometimes, the commercial actually spans 4 pages. One product that is invariably on Fry’s commercials is antivirus. It’s a complex situation, but there’s a lot of money being made off popular antivirus suites like Norton or Kaspersky. But how effective are these solutions? Chances are that you’ve had at least one encounter with a computer virus. Maybe it was a stupid mistake, or a pop-up ad that you got it from. Maybe you had antivirus at the time, and maybe you didn’t. When computers are so central to our lives (like they are today), viruses can be nasty and costly to remove. So, how do you prevent getting viruses in the first… more →

Volumouse

Chances are, you probably have speakers or maybe a set of headphones hooked up to your computer. Well, my situation is.. complicated. I salvaged an old stereo and disassembled it. The speaker portion is sitting behind my monitor while the controls are underneath my desk. Speakers are connected to the controls, controls connected to the computer. In short: Speakers > Controls > Computer The detached speakers behind my (big) monitor. So it all works out well. I just poke the On/Off button underneath the desk whenever I need to turn the speakers on or off. The sound quality is good and the volume is fine. The only problem is, adjusting the volume. There’s a volume knob on the stereo, but it’s hard to turn a knob with your feet. Windows 7 gives me a nice looking volume control thing on the taskbar, but using that is inconvenient… more →

FancyBox

I added FancyBox JS to RogerHub’s images. Enjoy -Roger Yeahh.. Waterbending :)

Thanks :)

Over thanksgiving, I went to Monterey with my small group! During my trip I took a lot of panoramic pictures with my new samsung solstice. (Click on picture for full size) So first, we met up at Burger King and then we left for Monterey. It was cool how all our cars (we had 5 of em) were in a line driving down the freeway. On the way, I ate McDonalds.. just because they’re easy to find. In Monterey, half of our group lived in a hotel and the other half lived in this house that we rented out. The hotel was really nice. We lived on the top floor, so we got these huge rooms that actually had a separate living room and bedroom. (Hotel Hallway) (The view from our hotel room) The hotel served breakfast every day so that the retarded tourists could avoid buying… more →

Deserted

RogerHub feels so deserted... Scroll down and leave a comment :) I’ll be gone the next few days, so I guess it doesn’t really matter.

THA-1

(Despite first impressions, this post is not about computers.) EDIT: I made a THA-1 Solver where you can try out THA-1 hashing. Although, there’s no point to it because you cant visit RogerHub during a test... Today, I will be authoring a new cryptography algorithm called THA-1 (Test Hashing Algorithm Version 1) THA-1 is a very simple method of verifying your (school) test answers so that you can compare with other people afterward :) Instead of memorizing 1 is A, 2 is C, 3 is E, 4 is B... You can just memorize one big number (ex. 56) The downside to this is that, you only know get two possible outcomes: Answers all match Answers don’t all match But that’s the point of hashing right? Requirements: - Ability to Add - Ability to Multiply (They’re small numbers, don’t worry) - Understanding of Modular Arithmatic - Ability to memorize a 2 or 3 digit… more →