This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import pyexiv2 | |
import fractions | |
from PIL import Image | |
from PIL.ExifTags import TAGS | |
import sys | |
def to_deg(value, loc): | |
if value < 0: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<body> | |
<script> | |
/* Simple JavaScript Inheritance | |
* By John Resig http://ejohn.org/ | |
* MIT Licensed. | |
*/ | |
// Inspired by base2 and Prototype | |
(function(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
#map_canvas | |
{ | |
width: 400px; | |
height: 400px; | |
} | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> | |
</head> | |
<body> | |
<ul id="file-list"></ul> | |
<p> | |
<input id="files-upload" type="file" multiple> | |
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
.field | |
{ | |
border: 1px solid #999; | |
} | |
label.error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- http://webdeveloperplus.com/jquery/create-a-dynamic-scrolling-content-box-using-ajax/#respond --> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
#container{ | |
width:400px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
</style> | |
<!-- JQuery --> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"> | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@s | |
.net .NET software development | |
chrome Google Chrome plugins | |
development Software development | |
ebook Ebook tools | |
editors Text editors | |
firefox Firefox plugins | |
graphics Graphic editiing and processing | |
Security Security | |
webtools Web based tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var chunk = Request.Form["chunk"] != null ? int.Parse(Request.Form["chunk"]) : 0; | |
var fileName = Request.Form["name"] ?? ""; | |
//open a file, if our chunk is 1 or more, we should be appending to an existing file, otherwise create a new file | |
var fs = new FileStream(Server.MapPath("/files/" + fileName), chunk == 0 ? FileMode.OpenOrCreate : FileMode.Append); | |
//write our input stream to a buffer | |
var buffer = new Byte[Request.Files[0].InputStream.Length]; | |
Request.Files[0].InputStream.Read(buffer, 0, buffer.Length); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Diagnostics; | |
using System.IO; | |
using System.Web; | |
namespace Qr | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |