Short Film – Change For A Dollar
A change for a Dollar changes lives of many people. A man giving change of one dollar to many people and those pennies making bigger changes to their life. A really touching video.
A change for a Dollar changes lives of many people. A man giving change of one dollar to many people and those pennies making bigger changes to their life. A really touching video.
153 days ago • Uncategorized
156 days ago • Programming
Answer: Use linux command file to get the file type from file header. Eg, if you have a image file without extension, file myfilename will give you the header info:
eg:
myfilename: JPEG image data, JFIF standard 1.01
159 days ago • Programming, Technology • Tags: command, file, header, linux, shell, type, unix
Usualy way of doing this is window.location=”path/here”, but this will reload the page.
If you can load the data using Ajax, you can update the location without reloading the page or without using #
|
1 2 3 4 5 |
window.history.pushState("object or string", "Title", "/www.buzitweet.com");
//To replace a history, we can use:
window.history.replaceState("object or string", "Title", "/www.buzitweet.com"); |
GitHub is an example for this: https://github.com/urbanairship/ios-phonegap-plugin
Won’t work in IE
159 days ago • Programming, Technology
Answer: It is because of whitelisting issue. Got to the project folder and edit PhoneGap.plist file.
Change value of OpenAllWhitelistURLsInWebView from false to true, also add your host name under ExternalHosts node
159 days ago • PhoneGap, Programming
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
// Get image handle
var largeImage = document.getElementById('id-of-your-image'); //or uri path from a library or taken camera pic
// Show the captured photo
// The inline CSS rules are used to resize the image
largeImage.src = imageURI;
var options = new FileUploadOptions();
options.fileKey="file";
//options.fileName="your-wished-filename.ext";
options.mimeType="image/jpeg";
var params = new Object();
params.value1 = "testing";
params.value2 = "param";
options.params = params;
var ft = new FileTransfer();
ft.upload(imageURI, "http://yourdomain.com/upload.php", win, fail, options);
// Make sure you use your own site!
// Success reporting
function win(r) {
alert("Code = " + r.responseCode);
alert("Response = " + r.response);
}
// Error reporting
function fail(message) {
alert('Failed because: ' + message);
} |
159 days ago • PhoneGap, Programming
“Lets Culcutta Surprise you” is really an awesome video created just using hands silhouette and this is of course, unseen before. A must watch
164 days ago • Short-Movie • Tags: culcutta, silhouette
This is an old video shot an Technopark, Kerala, India. It got first price in that short movie competition. It is very old, but still happy to share with all.
164 days ago • Indian, Short-Movie • Tags: competition, india, kerala, mr, shortmovie, techno, technopark, winner
One year is shot continuously using a standing cam and fastened to 40 sec video. Really interesting
167 days ago • Crazy
Kolaveri Song, Sung by Sonu Nigam’s Son. Lyrics altered slightly for kids version. Superbb!!
168 days ago • Indian
