Skip to content

Instantly share code, notes, and snippets.

View sevkin's full-sized avatar

Vsevolod Balashov sevkin

View GitHub Profile
@mpetroff
mpetroff / photo-sphere.txt
Created November 5, 2012 21:24
Exiv2 Google Photo Sphere command file
# Exiv2 Google Photo Sphere command file
# -------------------------
#
# $ exiv2 -m photo-sphere.txt file ...
reg GPano http://ns.google.com/photos/1.0/panorama/
set Xmp.GPano.UsePanoramaViewer XmpText True
set Xmp.GPano.ProjectionType XmpText equirectangular
set Xmp.GPano.CroppedAreaImageWidthPixels XmpText 4096
@marktheunissen
marktheunissen / pedantically_commented_playbook.yml
Last active April 19, 2025 17:31 — forked from phred/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
This playbook has been removed as it is now very outdated.
@sandys
sandys / IE8_on_ubuntu.md
Created June 20, 2012 06:40
Installing IE8 on Ubuntu 12.04 64-bit (and avoiding the 32/64 bit architecture error)
@Integralist
Integralist / hash.js
Created January 12, 2012 10:27
Detect `onhashchange` support
var docmode = document.documentMode;
// Does the browser support window.onhashchange?
// Note that IE8 running in IE7 compatibility mode reports true for 'onhashchange' in window,
// even though the event isn't supported, so also test document.documentMode.
if ('onhashchange' in window && (docmode === undefined || docmode > 7 )) {
window.onhashchange = checkHash;
}
// IE7 doesn't support the hashchange event so we fall back to standard polling technique
else {