Main > Free Download Search >

Free how to convert bin to hex software for linux

how to convert bin to hex

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1976
Convert::BinHex 1.119

Convert::BinHex 1.119


Convert::BinHex can extract data from Macintosh BinHex files. more>>
Convert::BinHex can extract data from Macintosh BinHex files.

ALPHA WARNING: this code is currently in its Alpha release. Things may change drastically until the interface is hammered out: if you have suggestions or objections, please speak up now!

SYNOPSIS

Simple functions:

use Convert::BinHex qw(binhex_crc macbinary_crc);

# Compute HQX7-style CRC for data, pumping in old CRC if desired:
$crc = binhex_crc($data, $crc);

# Compute the MacBinary-II-style CRC for the data:
$crc = macbinary_crc($data, $crc);

Hex to bin, low-level interface. Conversion is actually done via an object ("Convert::BinHex::Hex2Bin") which keeps internal conversion state:
# Create and use a "translator" object:
my $H2B = Convert::BinHex->hex2bin; # get a converter object
while (< STDIN >) {
print $STDOUT $H2B->next($_); # convert some more input
}
print $STDOUT $H2B->done; # no more input: finish up

Hex to bin, OO interface. The following operations must be done in the order shown!
# Read data in piecemeal:
$HQX = Convert::BinHex->open(FH=>*STDIN) || die "open: $!";
$HQX->read_header; # read header info
@data = $HQX->read_data; # read in all the data
@rsrc = $HQX->read_resource; # read in all the resource

Bin to hex, low-level interface. Conversion is actually done via an object ("Convert::BinHex::Bin2Hex") which keeps internal conversion state:
# Create and use a "translator" object:
my $B2H = Convert::BinHex->bin2hex; # get a converter object
while (< STDIN >) {
print $STDOUT $B2H->next($_); # convert some more input
}
print $STDOUT $B2H->done; # no more input: finish up

Bin to hex, file interface. Yes, you can convert to BinHex as well as from it!
# Create new, empty object:
my $HQX = Convert::BinHex->new;

# Set header attributes:
$HQX->filename("logo.gif");
$HQX->type("GIFA");
$HQX->creator("CNVS");

# Give it the data and resource forks (either can be absent):
$HQX->data(Path => "/path/to/data"); # here, data is on disk
$HQX->resource(Data => $resourcefork); # here, resource is in core

# Output as a BinHex stream, complete with leading comment:
$HQX->encode(*STDOUT);

PLANNED!!!! Bin to hex, "CAP" interface. Thanks to Ken Lunde for suggesting this.
# Create new, empty object from CAP tree:
my $HQX = Convert::BinHex->from_cap("/path/to/root/file");
$HQX->encode(*STDOUT);

BinHex is a format used by Macintosh for transporting Mac files safely through electronic mail, as short-lined, 7-bit, semi-compressed data streams. Ths module provides a means of converting those data streams back into into binary data.

<<less
Download (0.083MB)
Added: 2006-08-04 License: Perl Artistic License Price:
1234 downloads
Html Code Convert 3.3

Html Code Convert 3.3


Speed up the conversion of HTML code into different format more>>
HTML Code Convert helps speed up the conversion of HTML code into different format including Java Script, JavaServer Pages, Microsoft ASP, PHP, Perl, Python, and the UNIX Shell. It is particularly useful in CGI scripting.
Enhancements:
- Colors and font selected in prefeferences box.
- Fixe bug with Quit button. First try to support accessibility.
- Updated schemas.
<<less
Download (184KB)
Added: 2009-04-29 License: Freeware Price:
198 downloads
Html To Xhtml Convertor 0.7.7

Html To Xhtml Convertor 0.7.7


Html to Xhtml Convertor is a straight-forward Perl script to convert HTML pages into XHTML pages. more>>
Html to Xhtml Convertor is a straight-forward Perl script to convert HTML pages into XHTML pages.
It can process batches of files, convert Windows/Unix/Mac line breaks, and deal with attribute minimization, quoting of attribute values, and more.
Installation:
To install, simply run the following command as root: make install
Alternatively, simply move the htx file to wherever you would like. The command above installs it to /usr/local/bin/
Usage:
Use the following command to get usage information after installing:
htx --help
or if the htx file is in the current directory, try:
./htx --help
Example use:
htx --dos --verbose index.html index2.html
That will take a file with DOS line breaks, index.html, convert it
to XHTML as best it can and save the result as index2.html
Version restrictions:
- oes not check for closing < /p >, < /li > or other block-level tags.
- Assumes there are no < or > which are not part of tags, use < and >
- Does not distingish between block and inline tags.
Enhancements:
- Added the --tty option to dump output to STDOUT rather than a file
- Added detection of old ICRA data
- Improved handling of single quoted attribute values
- Removed updating of Pico version
- Fixed a typo with the years in the Changelog file
- Did a couple of very minor internal changes
<<less
Download (0.010MB)
Added: 2005-08-06 License: GPL (GNU General Public License) Price:
1543 downloads
Text::Convert::ToImage

Text::Convert::ToImage


Text::Convert::ToImage is a Perl module. more>>
Text::Convert::ToImage is a Perl module.

SYNOPSIS

use Text::Convert::ToImage;
my $tti = Text::Convert::ToImage->new();
my $length = length($email);
if ($length > 150) {
$email = "Your text length of $length is too large:";
}
my $config = {
TEXT => $email ? $email : "y@hn.org",
POINTSIZE => $point_size ? $point_size : 14,
LEVEL => $level ? $level : 0,
FONT => $font,
XSKEW => $xskew,
YSKEW => $yskew,

};
$tti->calculate($config);
print "Content-type: image/pngnn";
binmode STDOUT;
$tti->Write(png:-);

This was knocked up a long time ago and someone asked me if the source was available so I decided to put it on CPAN. There is very little documentation with it.

There are also very few tests. If more than me and the person who asked for the module use it then I will write some tests for it.

At the moment I have been using it top obfuscate emails and not much else. A demo can be found at http://www.hjackson.org/cgi-bin/tools/email.pl

There are some undocumented features to this module and they are this way because I have not tested to see if they work yet.

<<less
Download (0.011MB)
Added: 2006-08-22 License: Perl Artistic License Price:
1158 downloads
Convert Video To Nokia 5800 and others 0.1

Convert Video To Nokia 5800 and others 0.1


Easily convert videos to a Nokia 5800XM mobile phone more>>

Convert Video To Nokia 5800 and others 0.1 is created as a simple service menu entry to easily convert videos to a Nokia 5800XM mobile phone using ffmpeg or convert the files to mpeg4 with aac.

Installation note:

  1. The default folder to put the file is/home/user/.kde/share/kde4/services/ServiceMenus (for user specific)or/usr/share/kde4/services/ServiceMenus (for system wide). If for some reason your folders are different use command kde4-config --path services to find out the right folders.
  2. You can easily change the ffmpeg command just by opening the file with a text editor. Currently the command is:ffmpeg -i %u -f mp4 -vcodec mpeg4 -r 30 -b 2200k -s 640x360 -acodec libfaac -r 32000 -ab 128k -ac 2 -async 1 %u.mp4

Requirements:

  • KDE
<<less
Added: 2009-07-07 License: GPL Price: FREE
12 downloads
Convert::Wiki::Node::Head 0.05

Convert::Wiki::Node::Head 0.05


Convert::Wiki::Node::Head is a Perl module that represents a headline node. more>>
Convert::Wiki::Node::Head is a Perl module that represents a headline node.

SYNOPSIS

use Convert::Wiki::Node::Head;

my $head = Convert::Wiki::Node->new( txt => About Foo, type => head1 );

print $head->as_wiki();

A Convert::Wiki::Node::Head represents a headline node in a text.

<<less
Download (0.019MB)
Added: 2006-08-21 License: GPL (GNU General Public License) Price:
1159 downloads
Convert::Braille 0.05

Convert::Braille 0.05


Convert::Braille is a Perl module that can convert Between Braille Encodings. more>>
Convert::Braille is a Perl module that can convert Between Braille Encodings.

SYNOPSIS

use Convert::Braille;

print brailleAsciiToUnicode ( "HELLO" ), "n";
print brailleDotsToAscii ( "12515123123135" ), "n";

EXPORTS
brailleDotsToUnicode
brailleUnicodeToDots
brailleUnicodeToAscii
brailleAsciiToUnicode
brailleAsciiToDots
brailleDotsToAscii

<<less
Download (0.008MB)
Added: 2006-08-04 License: Perl Artistic License Price:
1177 downloads
MySQL PHP to Posgres Converter 0.94

MySQL PHP to Posgres Converter 0.94


MySQL PHP to PostgreSQL is a program that takes a php page that uses mysql calls and changes them into PostgreSQL calls. more>>
MySQL PHP to PostgreSQL is an application that takes a php page that uses mysql calls and changes them into PostgreSQL calls.
This allows any website (if it converts properly) that was written in PHP for MySQL to run as a website written to run on PostgreSQL.
- Step 1: Download and uncompress
To uncompress simply type: tar xvzf mysqlphp2postgres.tar.gz
If youre on a non-GNU system you might have to type: gzip -dc mysqlphp2postgres.tar.gz | tar xvf -
- Step 2: Compile
To compile simply type: make
If youre on a non-GNU system youll have to edit the make file to change the compiler to cc instead of gcc
- Step 3: Install
Type: make install
This will simply copy the binary file to /usr/local/bin/
- Step 4: Convert
Type: mysqlphp2postgres inputfile.php outputfile.php
The input file is the php page that uses mysql. The outfile is the page you want to create. You will probably need to tell mysqlphp2postgres the name of the postgreSQL database since mysql_select_db doesnt translate. You can do this by using a -d switch. So if, for example, the database youre connecting to is called blah, you could type: mysqlphp2postgres -d blah inputfile.php outputfile.php
Problems:
I have had the following problems from using this program:
MySQL has a lot more functions in PHP than PostgreSQL that do more things. I havent had a problem with any unsupported functions in my programs, but someone probably will. If you want to help write code for this to support those functions (if thats even possible) feel free to help.
Enhancements:
- Fixed some stuff.
- Cleaned up some code.
- This program now produces code optomized for PHP 4.1.0 and above.
<<less
Download (0.011MB)
Added: 2006-04-14 License: GPL (GNU General Public License) Price:
1288 downloads
Time::Convert 0.5

Time::Convert 0.5


Time::Convert is a Perl interface to converting unix seconds to years, days, hours and minutes. more>>
Time::Convert is a Perl interface to converting unix seconds to years, days, hours and minutes.

SYNOPSIS

use Time::Convert;
my $convert = new Time::Convert;

EXAMPLE

use Time::Convert;
my $convert = new Time::Convert;
$REPLY = $convert->ConvertSecs(time);
print($REPLY);

<<less
Download (0.002MB)
Added: 2006-08-10 License: Perl Artistic License Price:
1172 downloads
Convert::ASN1 0.20

Convert::ASN1 0.20


Convert::ASN1 is an ASN.1 Encode/Decode library. more>>
Convert::ASN1 is an ASN.1 Encode/Decode library.

SYNOPSYS

use Convert::ASN1;

$asn = Convert::ASN1->new;
$asn->prepare(q<

[APPLICATION 7] SEQUENCE {
int INTEGER,
str OCTET STRING
}

>);

$pdu = $asn->encode( int => 7, str => "string");

$out = $asn->decode($pdu);
print $out->{int}," ",$out->{str},"n";

use Convert::ASN1 qw(:io);

$peer = asn_recv($sock,$buffer,0);
$nbytes = asn_read($fh, $buffer);
$nbytes = asn_send($sock, $buffer, $peer);
$nbytes = asn_send($sock, $buffer);
$nbytes = asn_write($fh, $buffer);
$buffer = asn_get($fh);
$yes = asn_ready($fh)

Convert::ASN1 encodes and decodes ASN.1 data structures using BER/DER rules.

<<less
Download (0.060MB)
Added: 2006-08-22 License: Perl Artistic License Price:
1178 downloads
Convert::Wiki 0.05

Convert::Wiki 0.05


Convert::Wiki is a Perl module that can convert HTML/POD/txt from/to Wiki code. more>>
Convert::Wiki is a Perl module that can convert HTML/POD/txt from/to Wiki code.

SYNOPSIS

use Convert::Wiki;

my $wiki = Convert::Wiki->new();

$wiki->from_txt ( $txt );
die ("Error: " . $wiki->error()) if $wiki->error;
print $wiki->as_wiki();

$wiki->from_html ( $html );
die ("Error: " . $wiki->error()) if $wiki->error;
print $wiki->as_wiki();

# clear the object manually
$wiki->clear();
$wiki->add_txt ( $txt );
die ("Error: " . $wiki->error()) if $wiki->error;
print $wiki->as_wiki();

Convert::Wiki converts from various formats to various Wiki formats.
Input can come as HTML, POD or plain TXT (like it is written in many READMEs). The data will be converted to an internal, node based format and can then be converted to Wikicode as used by many wikis like the Wikipedia.

<<less
Download (0.019MB)
Added: 2006-08-04 License: Perl Artistic License Price:
1176 downloads
Convert::BER 1.3101

Convert::BER 1.3101


Convert::BER is a Perl module for ASN.1 Basic Encoding Rules. more>>
Convert::BER is a Perl module for ASN.1 Basic Encoding Rules.

SYNOPSIS

use Convert::BER;

$ber = new Convert::BER;

$ber->encode(
INTEGER => 1,
SEQUENCE => [
BOOLEAN => 0,
STRING => "Hello",
],
REAL => 3.7,
);

$ber->decode(
INTEGER => $i,
SEQUENCE => [
BOOLEAN => $b,
STRING => $s,
],
REAL => $r,
);

Convert::BER provides an OO interface to encoding and decoding data using the ASN.1 Basic Encoding Rules (BER), a platform independent way of encoding structured binary data together with the structure.

<<less
Download (0.025MB)
Added: 2006-08-22 License: Perl Artistic License Price:
1171 downloads
Convert::UUlib 1.06

Convert::UUlib 1.06


Convert::UUlib is a Perl interface to the uulib library (a.k.a. uudeview/uuenview). more>>
Convert::UUlib is a Perl interface to the uulib library (a.k.a. uudeview/uuenview).

SYNOPSIS

use Convert::UUlib :all;

# read all the files named on the commandline and decode them
# into the CURRENT directory. See below for a longer example.
LoadFile $_ for @ARGV;
for (my $i = 0; my $uu = GetFileListItem $i; $i++) {
if ($uu->state & FILE_OK) {
$uu->decode;
print $uu->filename, "n";
}
}

Read the file doc/library.pdf from the distribution for in-depth information about the C-library used in this interface, and the rest of this document and especially the non-trivial decoder program at the end.

<<less
Download (0.23MB)
Added: 2006-08-21 License: Perl Artistic License Price:
1159 downloads
Convert::Wiki::Node::Para 0.05

Convert::Wiki::Node::Para 0.05


Convert::Wiki::Node::Para is a Perl module that represents a text paragraph node. more>>
Convert::Wiki::Node::Para is a Perl module that represents a text paragraph node.

SYNOPSIS

use Convert::Wiki::Node::Para;

my $para = Convert::Wiki::Node->new( txt => Foo is a foobar., type => para );

print $para->as_wiki();

A Convert::Wiki::Node::Para represents a normal text paragraph.

<<less
Download (0.019MB)
Added: 2006-08-21 License: GPL (GNU General Public License) Price:
1159 downloads
Convert::Base32 0.02

Convert::Base32 0.02


Convert::Base32 is a Perl module for encoding and decoding of base32 strings. more>>
Convert::Base32 is a Perl module for encoding and decoding of base32 strings.

SYNOPSIS

use Convert::Base32;

$encoded = encode_base32("x3ax27x0fx93");
$decoded = decode_base32($encoded);

This module provides functions to convert string from / to Base32 encoding, specified in RACE internet-draft. The Base32 encoding is designed to encode non-ASCII characters in DNS-compatible host name parts.

<<less
Download (0.002MB)
Added: 2006-08-12 License: Perl Artistic License Price:
1176 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5