Monthly Archives: January 2013

[SOLVED][HOWTO][DOWNLOAD] Perfectly working copy of phpwebsocket

Hi,

phpwebsocket(websocket.class.php) is a HTML5 WebSocket server that enables user to directly connect to the socket from the browser. It is specially designed for the PHP server as the script is a PHP script and client can be any website with a browser. I was just having some research on it and got loads of error. Different errors I got are:

1) First I got the error as the client(My browser) could not connect to the server because of handshaking thing. And I sorted the reason that the newer version of Browser have only one Secret key sent to the server so, I removed two keys and only implemented 1 key. Then I got the key to $key. As from the wiki, the returning secret “Sec-WebSocket-Accept” was the sha1($key.”258EAFA5-E914-47DA-95CA-C5AB0DC85B11″) and base64 encode of it. Its a “.(dot)” not the “,(comma)”. And returned by writing to the socket as socket_write.

2) Next my brain couldn’t worked when the message received was just unwanted. And I searched all along and was messed up with some framing thing. I was lazy finding that. So, I just copied from some source for some kind of decryption thing.

3) Similarly, I did something for sending the message by the encryption thing. And I finally made the class work.

I will be happy to share my part of work and hope it will work on your system. You can copy and do anything with the code. You can research on each function changes that I have done.

Download the code from here


[DOWNLOAD] Premium Xbox games for Free

Windows 8 is built mostly for the touch and it is cool to have games that can be played with touch. The windows 8 is bound with touch but can also have the access of keyboard and mouse. You can have several games like:

  • Field & Stream Fishing
  • Fruit Ninja
  • Gravity Guy
  • Gunstringer: Dead Man Running
  • IloMilo
  • iStunt 2
  • Jetpack Joyride
  • Kinectimals Unleashed
  • Monster Island
  • PAC-MAN Championship DX Edition DX
  • Pinball FX 2
  • 4 Elements II Special Edition
  • A World of Keflings
  • Angry Birds
  • Angry Birds Space
  • Big Buck Hunter Pro
  • BlazBlue Calamity Trigger
  • Collateral Damage
  • Crash Course GO
  • Cut the Rope
  • Disney Fairies
  • Dragon’s Lair
  • Reckless Racing Ultimate
  • Rocket Riot 3D
  • Shark Dash
  • Shuffle Party
  • Skulls of the Shogun
  • Taptiles
  • Team Crossword
  • The Harvest HD
  • Toy Soldiers Cold War
  • Zombies!!!

You can also play lots and lots of games on Windows 8 on your own Xbox tab on your own tables or PC. These games can be downloaded freely from the box. If you love to download premium games from the Xbox, you can add your account to the Xbox and wait for the pin to generate. When the pin number is generated you will have auto options to download any games you like. You can even play the Xbox 360 games. You can add Kinect to the USB port and play more games.


[SOLVED] Flash plugin crashed on Google Chrome on Windows

I was just watching Youtube on my Chrome after the latest update on my Windows 7. And the Chrome suddenly stopped working. I tried opening and it crashed again and again. And I went to ask my friend about this and he had the same problem on Windows 8 too. So, it was might be like some chrome problem or the flash problem. I re-installed both Chrome and Flash plugin but it started crashing again and again. So, I went to the Chrome Application directory: C:\Documents and Settings\<username>\Local Settings\Application Data\ on folder named Google you can find user data. I backed up the folder and deleted it. I re-lunched the Google Chrome, so I just tried opening the browser it was kinda like fluctuating. It sometimes gets crashed and sometimes not.

Then I tried to think more and more. The video used to jam and Audio used to continue. And after that I found when ever you run the mouse on the flash window, the flash plays everything. But if the focus gets lost the video play is stored in Buffer memory and with the overflow it crashes. After hat I tried it to unfocus and found that in the previous stream, I used to unfocus as I used to do some parallel works.

So, this can’t be the ultimate solution but can be seemed to have a point that you can Click on the taskbar while you start playing a video rather focusing on the video.

Enjoy youtube. 🙂


[HOWTO] Run Counter Strike game in Windows 8

Today I was playing CS online game on my p48 and few people came and asked for “How to run CS 1.6 in my Windows 8?”. It was just loaded on Software mode and bad graphics. And I researched on my friend’s Windows. Previously we couldn’t play Angry birds on the same PC and did some research. And found that the internal default graphics driver needs to be installed. Then I downloaded the Update for Windows and download the remaining packages on windows 8. And found the remaining after the first update of Windows 8. And clearly see the Intel graphics driver. Then I ran the Angry birds and it went good.

After the successful test for Angry birds, I tried opening the game in OpenGL mode and whoooo it ran successfully and very smooth. I can’t feel the difference in any part between the previously played game and now. But the fps has decreased but soon the bug might be fixed for Windows 8.

So, I suggest you to download first:

Update for Windows (KBXXXXX)
And after few minutes, try checking for windows update or restart Windows
It automatically checks for update and install the Intel graphics driver.

Happy fragging.


[HOWTO] Mount Android device on Linux Ubuntu with Internal Harddrive

Hi, I bought a new Sony Xperia SL and it is really cool. But a problem I got is I only use Linux and no Windows on my Dell XPS. I mounted the Xperia on all the PC with Windows but When I tried mounting on my PC, it was a bad luck. I checked for the command on terminal:

lsusb

And I found that there was Sony device that could easily be detected. After few test, I couldn’t find any solution. Then I recalled back to the Windows and saw that the partition it is mounted to the OS as Media drive. So I thought that the Xperia should be mounted as a Media partition. So, I installed a File system for Media File Transfer.

sudo apt-get install mtpfs

Now since the Media Transfer Protocol File System is installed, we can easily mount the drive to any folder. (Do not use root for this)

mkdir ~/myXperia/
mtpfs ~/myXperia/
nautilus ~/myXperia/

So, now open the folder and it will be automatically mounted to the specified folder. You may like to safely remove the FileSystem. You cannot unmount the drive because of some minor problem. To unmount the partition you can type in terminal:

sudo umount mtpfs

Enjoy the very Android phone.

But there is problem with the speed. The accessing speed and read/write speed is very very slow because the MTP need to access through some different protocol that the normal Drive access.

Supported phones: Xperia series, Iphone, Galaxy series with internal HDD and most of all phones with Internal HDD support.

Happy new year.