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> | |
<title>DOM + JavaScript Test</title> | |
</head> | |
<script> | |
var count=0; | |
var stop=true; | |
function testfun(){ | |
document.getElementById("count").innerHTML=""+Math.sqrt(count); |
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.IO; | |
using System.IO.Compression; | |
class Qompress | |
{ | |
public static byte[] CompressBuffer(byte[] byteArray) | |
{ | |
MemoryStream strm = new MemoryStream(); |
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> | |
<TITLE>YQL DEMO</TITLE> | |
<script type="text/javascript"> | |
function renderYQL(o) { | |
var div = document.getElementById("main"); | |
var html = ""; | |
if (div) { | |
if (o.results[0]) { | |
count = o.results.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
#!/usr/bin/env python | |
from PIL import Image | |
from PIL.ExifTags import TAGS | |
import sys | |
import datetime | |
from sys import exit | |
def get_exif(fn): | |
ret = {} | |
i = Image.open(fn) |
NewerOlder