Category Archives: Utils

How to make an ajax call inside a WordPress site

After several days, finally I found how to make ajax call from my wordpress site, I hope that it will help those who have had this problem:

first, I was created a post inside a wordpress whit this html code:

<section id="main">
    <table id="tng" class="datagrid">
    	<thead><tr><th colspan="3"> 
            Sample ping App
            </th>
        </thead>
        <tbody>
    	</tr><tr>
    		<td width="50%" align="right"><b>Host or IP:</b></td>
    		<td><input  id="ip" size="20" value="" ></td>
                <td><button type="button" onclick="PING()">Ping</button></td>
    	</tr>
        </tbody>
    </table>
    <img id="image" src="spinner.gif" alt="wait..." style="display: none;">
    <br>
    
</section>	
<section id=food>
	<h3 id="notification"></h3>
</section>

As you can see the only important thing is the onclick event for the button that calls de functionPING()

Facebooktwitterredditpinterestlinkedinmail

Read More ...

Robocopy copy only rights

A usefull command to copy only rights or permissions from one source to another is:
robocopy \\server\sharedfolder f:\folder /E /Copy:S /IS /IT

Facebooktwitterredditpinterestlinkedinmail

Read More ...

IBAN calculator from CCC

For Europe Users:
This form if for calculate IBAN for a multiple accounts (20) digits
and check the digit control of the account too
only paste yours CCC and the  IBAN is placed in a milisecond

if this link is usefull for you, pelase share it.

Facebooktwitterredditpinterestlinkedinmail

Read More ...

Print EAN128 Barcodes with Crystal Reports only

Is possible to create one report with Crystal Reports that includes Barcodes and no need to buy expensive fonts or dll to print encoded values EAN128.
You only need one code 128 font , I recommend this:

Code128Font

where is the trick?

The result:
Result

How it’s made?
realy simple:
First you need to know the table of AI (Application Identifier) and his lengths, and if the lenght of the values are fixed or variable, and if they needs checksum.

there is a complete guide to know about this.

in the sample of the botton first AI (SSCC) needs checksum.
I was created 2 functions in the label:

Label functions

then simply call the function Ean128 to generate the barcode, and assigns the font Code128:

call function

If you are interested in the sample label, pease contact me:

colome.disco@gmail.com

Facebooktwitterredditpinterestlinkedinmail

Read More ...

CEC encrypting compressor

This is a small program to encrypt and compress command prompt mode.

the main features:

own encryption (bit level, not byte), not based on any standard algorithm
is small and easily portable
high compression rate in files with little variety of characters.
I leave the link here to download: cec.zip
the syntax is very simple:

cec compressor

Facebooktwitterredditpinterestlinkedinmail

Read More ...

Categories

Subscribe to my Newsletter




By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close