• Got a Tipila, google, windows live or facebook account ?

Welcome to tipila...

A place to organize & share your programming knowledge...

Tipila is a site for programmers to organize code snippets & how-to's found on the web as Tips. So you can find them easily when needed again.

A Tip is an exact, to the point, instruction of how to do a programming task. No-more no-less.

No more scrolling through long posts and you won't forget how a problem was solved when you need to do it again...

It's totally free.

Newest tips
1
votes
You need the msdtcvtr.bat to decode the log. It's in c:\windows\system32\msdtc\trace Run the command msdtcvtr.bat -tracelog <logname> -o mylog it'll open up a text file with the decoded output. Make sure to do the following too!!! You need to have write/create access to the MSDTC and subfolders msdtcvtr depends on the ...
0
votes
You can sometimes get away with just doing the following, and I've found it works every time on Server 2008r2 1. Run a command prompt with administrative privileges. 2. At the command line run: MSDTC -uninstall (Unfortunately you don't get any messages) 3. Reboot the server. 4. Run a command prompt with administrative ...
1
votes
Make sure the default route check box is checked in the Interface Setup -> Internet page (In the IP Address section)
0
votes
var queue = new createjs.LoadQueue(); queue.installPlugin(createjs.Sound); queue.addEventListener("complete", handleComplete); queue.loadFile({id:"sound", src:"http://path/to/sound.mp3"}); queue.loadManifest([ {id: "myImage", src:"path/to/myImage.jpg"} ]); function handleComplete() { createjs.Sound.play("sound"); var i ...
0
votes
Create your methods to accept and return parameters as Streams like below, public Stream Create(Stream data) { //your code here } When you declare types as streams WCF does not get in the way of formatting responses or requests,
0
votes
xmlhttp.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
1
votes
It can be a real pain to upload a directory with many small files to a web server. Uploading a unzipped Wordpress distribution can already cost more than 10 minutes before done. Well with this script you can minimize the effort. What do you need to do? Use your favorite ftp program (like fireftp) and create a folder "u ...
1
votes
Steps to follow: create folder on the webserver called "zipper" or something else copy the following PHP code into a file called "zipper.php" into this folder use the url to this file to start the little script select a zip file from your harddisk and go for it after upload a directory exists in the folder "zipper" fro ...
2
votes
Thanks to: Mark Monnin I found out these steps are required to set up Netbeans to initialize the online Git repository: Sign up with bitbucket.com and create a new repository Save the current url for later (https://bitbucket.org/USERNAME/REPOSITORY) In Netbeans, open your project and go to Tools -> Plugins -> Available ...
2
votes
This is a way to submit the value of a button with jQuery to an $.Ajax function. You put this is the jQuery(document).ready(function($). var form = jQuery('#myform'); var data = form.serialize(); // add the button to the form data var btn = jQuery('button[name=mybuttonname]').attr('value'); data += '&order='+ btn; var ...

Looking for more tips ? browse all tips here...

Login to Tipila