Showing posts with label Tips. Show all posts
Showing posts with label Tips. Show all posts

10.06.2011

How to fix VMware Workstation 8 for successfully run Mac OS X Lion patch virtualisation

How to fix VMware Workstation 8 for successfully run Mac OS X Lion


Out of the box, VMware Workstation (all versions) can run only the server version on Mac OS X, but it's possible to bypass the control by patching some of the tool binaries.

This is already be done for the 7.1 version (google formacosx_guest_vmware_7).

UPDATE: the original patch has been updated and now should work for any VMware Workstation version, I didn't test myself but you can find the files and video tutorial.

The file contains all the files needed to patch linux, macosx and windows version of the product.

The modifications, on Windows, are so small that it's very easy to replicate them by your own hands.

There are 3 .exe files to modify, depending on your system (32 or 64 bit), you'll find them in the following locations:

c:\Program Files (x86)\VMware\VMware Workstation\:

22/08/2011 17:07 19.150.448 vmware-vmx-debug.exe
22/08/2011 17:07 17.651.824 vmware-vmx-stats.exe
22/08/2011 17:07 15.088.752 vmware-vmx.exe

c:\Program Files (x86)\VMware\VMware Workstation\x64:

22/08/2011 17:07 20.793.968 vmware-vmx-debug.exe
22/08/2011 17:07 19.051.120 vmware-vmx-stats.exe
22/08/2011 17:07 16.462.960 vmware-vmx.exe

At time of this writing, we're modifying Build 471780 of the product, but should be quite portable to future releases, as it was from 7.1 to 8.
All you have to do is to use a binary editor of your choice and modify the Mac OS X signature and version number in the .exe files.

Here the offsets and modifications for the 64 bit version of vmware-vmx.exe. in order to fix the other files, search for the OSK0, OSK1 and SRVR strings and duplicate the same changes.
Before everything else, make a backup copy of the files and be very careful while overwriting existing values with the new ones.

(click on the images if you don't see the rightmost part...)





that's all :-)


Here the proof of Mac OS X Lion running on VMware Workstation 8:



The only problem I got is that, using the latest VMware Tools for Mac OS X found in VMware Fusion 4.0.1 (darwin.iso), the Shared Folders icon does not compare on the desktop.
Reverting to a previous version of the VMware Tools, seem to fix everything.

Actually, with new version of the VMware Tools, the connection to local folders is there, but doesn't show up on the desktop. You can create the icon by your own: enable the display of Connected servers in Finder/Preferences, create an alias of the "/" desktop icon and rename it whatever you like.

DOWNLOAD LINK

http://adf.ly/5O0xT


10.05.2011

Ubuntu Programming Editor : Kate Editior Good theme for Kate | Cobalt theme



Ubuntu Programming Editor : Kate Editior Good theme/schema for Kate & importing procedure
Best Editor for gcc in ubuntu 11.04 & 11.10b;
Ubuntu Kate Cobalt theme






KATE THEME / SCHEMA  COBALT DOWNLOAD LINK

http://adf.ly/5ORNd


8.01.2011

FAST-IO : fast input output (i/o) in c++ cpp for programming events

  1. /**************FAST-IO***************/
  2. void getnum( int &x)
  3. {
  4. x=0;
  5. char ch=getchar_unlocked();
  6. while( ch<'0' || ch>'9')
  7. ch=getchar_unlocked();
  8. while( ch>='0' && ch<='9')
  9. {
  10. x= 10*x+ ch-'0';
  11. ch=getchar_unlocked();
  12. }
  13. }
  14. void putnum( int x)
  15. {
  16. char s[30];
  17. int pi=-1;
  18. do{
  19. s[++pi]= (x-x/10*10)+'0';
  20. x/=10;
  21. }
  22. while( x>0);
  23. ++pi;
  24. while( pi)
  25. putchar_unlocked(s[--pi]);
  26. putchar_unlocked(' ');
  27. }
  28. /************************************/

7.31.2011

C# Station: Fetching Web Pages with HTTP

How To: Fetching Web Pages with HTTP

Introduction

HTTP is the primary transport mechanism for communicating with resources over the World-Wide-Web. A developer will often want to obtain web pages for different reasons to include: search engine page caching, obtaining info on a particular page, or even implementing browser-like capabilities. To help with this task, the .NET Framework includes classes that make this easy.

Getting an HTTP Page

The HTTP classes in the .NET framework are HTTPWebRequest and HTTPWebResponse. The steps involved require specifying a web page to get with a HTTPWebRequest object, performing the actual request, and using a HTTPWebResponse object to receive the page. Thereafter, you would use stream operations to extract page information. Listing 1 demonstrates how this process works.

Listing 1: Getting a Web Page: WebFetch.cs
using System; using System.IO; using System.Net; using System.Text;   ///  /// Fetches a Web Page ///  class WebFetch {  static void Main(string[] args)  {   // used to build entire input   StringBuilder sb  = new StringBuilder();    // used on each read operation   byte[]        buf = new byte[8192];    // prepare the web page we will be asking for   HttpWebRequest  request  = (HttpWebRequest)    WebRequest.Create("http://www.mayosoftware.com");    // execute the request   HttpWebResponse response = (HttpWebResponse)    request.GetResponse();    // we will read data via the response stream   Stream resStream = response.GetResponseStream();    string tempString = null;   int    count      = 0;    do   {    // fill the buffer with data    count = resStream.Read(buf, 0, buf.Length);     // make sure we read some data    if (count != 0)    {     // translate from bytes to ASCII text     tempString = Encoding.ASCII.GetString(buf, 0, count);      // continue building the string     sb.Append(tempString);    }   }   while (count > 0); // any more data to read?    // print out page source   Console.WriteLine(sb.ToString());  } } 

The program in Listing 1 will request the main page of a web site and display the HTML on the console screen. Because the page data will be returned in bytes, we set up a byte array, named buf, to hold results. You'll see how this is used in a couple paragraphs.

The first step in getting a web page is to instantiate a HttpWebRequest object. This occurs when invoking the static Create() method of the WebRequest class. The parameter to the Create() method is a string representing the URL of the web page you want. A similar overload of the Create() method accepts a single Uri type instance. The Create() method returns a WebRequest type, so we need to cast it to an HttpWebRequest type before assigning it to the request variable. Here's the line creating the request object:

  // prepare the web page we will be asking for   HttpWebRequest  request  = (HttpWebRequest)    WebRequest.Create("http://www.mayosoftware.com"); 

Once you have the request object, use that to get a response object. The response object is created by using the GetResponse() method of the request object that was just created. The GetResponse()method does not accept parameters and returns a WebResponse object which must be cast to an HttpWebResponse type before we can assign it to the response object. The following line shows how to obtain the HttpWebResponse object.

     // execute the request   HttpWebResponse response = (HttpWebResponse)    request.GetResponse(); 

The response object is used to obtain a Stream object, which is a member of the System.IO namespace. The GetResponseStream() method of the response instance is invoked to obtain this stream as follows:

  // we will read data via the response stream   Stream resStream = response.GetResponseStream(); 

Remember the byte array we instantiated at the beginning of the algorithm? Now we'll use it in the Read() method, of the stream we just got, to retrieve the web page data. The Read() method accepts three arguments: The first is the byte array to populate, second is the beginning position to begin populating the array, and the third is the maximum number of bytes to read. This method returns the actual number of bytes that were read. Here's how the web page data is read:

  // fill the buffer with data   count = resStream.Read(buf, 0, buf.Length); 

We now have an array of bytes with the web page data in it. However, it is a good idea to transform these bytes into a string. That way we can use all the built-in string manipulation methods available with .NET. I chose to use the static ASCII class of the Encoding class in the System.Text namespace for this task. The ASCII class has a GetString() method which accepts three arguments, similar to theRead() method we just discussed. The first parameter is the byte array to read bytes from, which we pass buf to. Second is the beginning position in buf to begin reading. Third is the number of bytes in bufto read. I passed count, which was the number of bytes returned from the Read() method, as the third parameter, which ensures that only the required number of bytes were read. Here's the code that translates bytes in buf to a string and appends the results to a StringBuilder object.

  // translate from bytes to ASCII text   tempString = Encoding.ASCII.GetString(buf, 0, count);    // continue building the string   sb.Append(tempString); 

The buffer size is set at 8192, but that is only large enough to hold a small web page. To get around this, the code that reads the response stream must be wrapped in a loop that keeps reading until there isn't any more bytes to return. Listing 1 uses a do loop because we have to make at least one read. Recall that every read() returns a count of items that were actually read. The while condition of the do loop checks the count to make sure something was actually read. Also, notice the if statement that makes sure we don't try to translate bytes when nothing was read. Because we used a loop, we needed to collect the results of each iteration, which is why we append the result of each iteration to a StringBuilder.

Summary

The HttpWebRequest and HttpWebResponse classes from the .NET Base Class Library make it easy to request web pages over the internet. The Httprequest object identifies the Web page to get and contains a GetResponse() method for obtaining a HttpWebResponse object. With a HttpWebResponse object, we retrieve a stream to read bytes from. Iterating until all the bytes of a Web page are read, translating bytes to strings, and holding the string, makes it possible to obtain the entire Web page.

Your feedback is very important and I appreciate any constructive contributions you have. Please feel free to contact me for any questions or comments you may have about this article.

7.27.2011

Remove the Blogger Banner + header Search

Remove the Blogger Banner

To hide the Blogger Navbar :

1- Log in to blogger

2- On your Dashboard, select Layout. This will take you to the Template tab. Click Edit HTML. Under the Edit Template section you will see you blog's HTML.

3- paste the CSS definition in the top of the template code:

...
#navbar-iframe {
display: none !important;
}
/* Variable definitions
====================


...

Remove the code to show it again.

Step by step in video:


FIFA11 fifa12 you can be a GOOD partner


U can be a good partner in FIFA11;




op=oponent agg. aggresssion

1. watch op game play and how they attacking and scoring goals

2. Defence
a) Defence is main part of the game.
b) Running to the op and hit their body is old school style;
c) Ur defending area is around the box stay the DEF in around box;
d) MOV MID players to sprint to Attackers
e) Lets consider they attacking through wing ;
then ur partner moving back to direction to attackers that time u just move MID player to BOx;
f) Dont run 2 players to one attacker that easily get space to op;move ur player back if ur mate is charging;
g) mark op player by moving DEF.
i) Use jocky wen op using through balls;
j) If they continuely doing through balls reduce AGG. Level and try OFFside trap
k) Increase agg. level op is try dribbling;
l) use standing tackle(X) properly;
m) Use clearance button(B) wen ball in box to clear;{many guys using X and A failing many times}
n) Op crossing into box from wing u must press (B/clearance/Shoot button) to clear
o) * switch player properly, check ur selection always & dont run a single player through out the ground.

3. Attack

a) we can say that attacking is the best defence y. It reduces enemy attacking time if we hav ball;
b) try to passes completly,how?
Dont pass ball to marked player that will loose ball easily;
If u r doing counter attack; ball is mispassed then ur player are scatterd to 2nd half.
So op can easily get space to play;
d) Passing to free men got a space to run freely that time ur players moving to support ;
U must watch wot player is next; and pass properly ;
e) let der is no player free do quick passes than op thinks wat next;
press pass button to directed player before ball came.
f) Play with team stategy and player advan.
Consider barsa & Inter : they are supporting alot of wing play; so do pass quickly to wing;
consider chel : through balls and lob pases are more & also passes quickly from wing to box.
Some teams has using shooting pos. then u lost passing pos.
g) if u wanna score with ur mate;
Do pass slowly in our half; & increase speed of passing entering in second half;y?
Many op team using pressing & high pressure.
IF u entering into second half & plays slowly u will got marked if u play slowly;
i) support mate. If mate is moving player into space& u hav ball u try to pass ;
Give pass and take pass
Common mistakes
1. NOt passing in second half faster; if u give time to think to op u can't score; else it must be a lucky goal
2. defence
a) lob
lob in high ball to box; someone cannot move goal keeper; lob balls take time to control so op lobb in to box with running distance u can easily take ball by running goalkeeper;
if through ball is gound hold player using jocky and standing takle ; that time player speed will reduce and ur mate can run and block the ball; no one do this

Note : comment ur opition+ideas here

related posts : fifa11 keyboard configuration best

7.25.2011

Mediafire Downloader | Internet and Computer

Mediafire Downloader

What do you think the best and the easiest way to download file such document, presentation, video or images for free? Mediafire is the answer. Just visitor or With free user you don’t need to wait until you can download a file, even you can download file parallel. Compare to Rapidshare and Megaupload, free user must wait for a short time to enable download a file, type the captcha and just download one file. Indeed you can do more easily by using Mediafire Downloader.

You can download Mediafire Downloader software beta latest version from here. Just put the file FESOUPv3.6.0.6.exe in your hard drive and double click to open it.mediafire downloaderClick the sign plus to add a link that you want to download and put a password if it has and click add and done so the link will appear in the download list. When you download the file, this software will fetch it to your download manager such IDM, Flashget or Orbit downloader. Because this software is beta version maybe still have a bug but at least thisMediafire Downloader with IDM working well. As long as we use this software, v3.6.0.6 is the best version compare to previous version.

Hope after you use this software will make you comfortable with your internet and more easily to download file from Mediafire.


Mediafire Auto Downloader MFFE v3.6 supports Rapidshare,Megaupload,Hotfile,Uploading | FESOUP 3.5 + 3.6

This summary is not available. Please click here to view the post.

Patches and Fixes: Call of Duty 4: Modern Warfare v1.4 Patch - Demo Movie Patch Download Section upto 1.7 1.6 1.5 & pb fix MEDIAFIRE


Call of Duty 4: Modern Warfare v1.5 to 1.7 Patch & pb fix
home > Download Section > Patches and Fixes
100% wiorking


Call of Duty 4 Modern Warfare.jpg
Description:
CHANGES:
"Winter Crash", a holiday version of Multiplayer map "Crash"
Improvements to the server browser
Fixed some rare bullet accuracy issues for all weapons.
For server admins: fixed user ban list not working correctly on servers. Ban.txt will be created in the main or fs_game directory


MOD SUPPORT:
In the connect screen, Mods will be identified as"Mod: [mod name]"
Only official IWD files will be read from the main directory. All custom IWD should be placed in a mod directory.
Fix for reloading several times after connecting to a modded server
Improved mod.ff support to allow adding game types.
Fixed an issue with Http redirect downloads.
"fs_game" will be forced to lower case
Related Resources:None


http://adf.ly/5OTfC




http://adf.ly/5OTfv

install 1.5&1.6 using first links both are built in
& then 1.7 second link

punk buster( pb ) fix for cod4 link mediafire | working 100% ; tested ok
http://adf.ly/5OThH
game ranger patch for cod4 game host
http://adf.ly/5OTiD



FIFA11 keyboard control best configuration game settings


Unlimited Free Image and File Hosting at MediaFire

7.21.2011

FIFA 11 PC TOTAL CAMERA PATCH 1.0

FIFA 11 PC TOTAL CAMERA PATCH 1.0 Download

Thank you for downloading FIFA 11 PC TOTAL CAMERA PATCH 1.0

If your download does not start automatically after a few seconds, please click on the Download link above

Description:
This tool will patch 5 cameras (Broadcast, Tele, Dynamic 1, Dynamic 2, End To End) for FIFA 11.


(*) For Windows Vista/7 user, please SET RUN AS ADMINISTRATOR.
  • Install to FIFA 11 PC folder
  • Click on CAMERA PATCH icon on desktop to launch.


HOW TO USE
1) Launch TOOL
2) Set FIFA 11 PC path (In case incorrect)
3) Choose APPLY or RESTORE

IMPORTANT

  • Not support APPLY individual camera.
  • DO NOT APPLY while game RUNNING.


CREDIT
Special thanks FIFA SOCCER RUSSIA http://www.fifasoccer.ru for FIFAFS Series

Submitted By:
sebastien (admin)
Submitted On:
02 Oct 2010
File Size:
2,615.02 Kb
Downloads:
1973
File Author:
MONKEYDRAGON
Submitted On:
02 Oct 2010
Rating:
Total Votes:0

7.20.2011

VLC and OpenSubtitles downloader « thePanz

VLC and OpenSubtitles downloader

I've recently found a nice VLC script for adding subtitles to any video using the great OpenSubtitles portal on this VLC Forum post. Such script does exactly what it sais: it crawls the OpenSubtitles website looking for the matching movie (no osdb hash function involved) and adds the subtitle into the VLC media player.

I've edited such LUA script (so, I'm not the original author of such script) also allowing the subtitle downloading for an off-line usage, the downloaded file is placed in the same movie folder, renamed as the movie itself with the language suffix. It's my first attempt into LUA scripting language, it's quite easy, but I've used about 3 hours to find out all the LUA features and the (sometimes not documented) VLC scripting functions.

Please try it out, comments are welcome!

Update: updated plugin data

subtitles-mod
File: subtitles-mod.zip (6 kB)