Posts

Showing posts with the label text

using vi text editor as hex editor

Image
using vi text editor as hex editor Pranaam to all bhai ji _/_  Today we will learn how to use vi text editor as hex editor in linux environment .   yes we can use vi text editor as hex editor , which is easy to operate as compare to any hex editor lets start :) open your binary file in vi editor using command vi  file_name i am going to open vlc media player binary file it will be something like this  :D :P some random symbols ok just type :%!xxd and it will switch into hex editing mode dont worry , type  :%!xxd and press enter key you will see something like this >:D< you are in hex editing mode , now edit whatever you want once you have done with editing type  esc key and then type %!xdd -r press enter key, we will back to text editing mode .  now, to save changes type :w changes will be saved  this is how you can use vi editor as hex editor :) Thank you Greetz to :- Zero cool ,code breaker ica, Aasim shaikh,Reborn, Raman kumar rana,INX_r0...

Validating HTML Text Area for HTML tags using Javascript RegEx

Image
Validating HTML Text Area for HTML tags using Javascript RegEx The below code might help you with validation of certain HTML tags entered in a TextArea. (Click image to enlarge). download  file  now

Using Pages as a simple text outliner

Image
Using Pages as a simple text outliner � � When you need to make a text outline on a Mac, what software do you use? � You can turn to the dedicated apps such as the Omnigroup�s OmniOutliner 4. Considering your time and budget constraints and just how sophisticated an outline you need for this project�why not use one of Apple�s own text editing tools? Apple gives new owners two editing tools, the basic TextEdit and the more capable Pages. I use Pages. � Unfortunately, Apple doesn�t make it easy to find out for a neophyte to figure out how to make a text outline in Pages. Type in �Outline� into the Help and you get information on outline fonts. Not a lot of help. After some searching, I have found out how to set up Pages for a simple Harvard style text outline with up to 9 levels of depth.� � Here�s how to do it: � First, open Pages. If you bought a Mac recently, you�ll probably find Pages, along with Numbers and Keynote, in the Dock, ready for your use. � � Second, double-click on it to ...