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
*****************************| System Information |***************************** | |
Dependency Walker: 2.2.6000 (64-bit) | |
Operating System: Microsoft Windows NT/2000/XP/2003/Vista based Professional (64-bit) | |
OS Version: 6.02.9200 | |
Processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel, ~3109MHz | |
Number of Processors: 4, Mask: 0x000000000000000F | |
Computer Name: MARTOUF | |
User Name: Daniel | |
Local Date: 2015-08-11 |
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
function continueTesting() | |
{ // keep the test subjects in the HTML5 Trial | |
var enrichmentCentre = document.getElementById('html5-join-link'), | |
escapeElevator = enrichmentCentre.getElementsByTagName('h3')[0]; | |
enrichmentCentre.removeChild(escapeElevator); | |
} // ... there is no escape ... |
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 toolbarButton, toolbarButtonProperties; | |
function createToolbarButton() | |
{ | |
var toolbarIcon = ((~window.navigator.platform.indexOf('Mac')) ? 'macIcon.png' : 'otherIcon.png') ; | |
toolbarButtonProperties = { | |
disabled: true, | |
icon: toolbarIcon, | |
onclick: buttonClickHome, | |
title: 'Site Home' | |
}, |
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 userDidScroll = false; | |
document.addEventListener('scroll', function() { userDidScroll = true; }, false); | |
setInterval(function() { | |
if (userDidScroll) | |
{ | |
userDidScroll = false; | |
opera.extension.postMessage('userScrolled'); | |
} | |
}, 1500); // every 1.5 seconds |
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
/* | |
Copyright Apple Inc and their friends. | |
Code snippet reproduced here for education purposes to show show why | |
Opera for Mac’s user-agent can’t possibly work with this code. | |
Opera/9.80 (Macintosh; Intel Mac OS X 10.7.4; U; Edition Next; nb) Presto/2.10.289 Version/12.00 | |
*/ | |
its.detect.macAppStoreDetected=function itsDetectMacAppStoreDetected(){return(its.useragent.versionMeetsMinRequirements(its.useragent.macOsVersion(),"10_6_6")||(its.x.isFirefox()&&its.useragent.versionMeetsMinRequirements(its.useragent.macOsVersion(),"10.6"))) |
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
javascript:q=Date.now();w=0;a=3;s=10;e=setInterval("w+=s;if(w<document.body.scrollHeight&&w>=0)window.scrollTo(0,w);else if(--a){s=-s}else{clearInterval(e);alert(Date.now()-q);}",0);void 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
#!/usr/bin/env sh | |
# Converts Opera to Opera Next on OS X | |
defaults write /Applications/Opera.app/Contents/Info.plist CFBundleIdentifier com.operasoftware.OperaNext | |
defaults write /Applications/Opera.app/Contents/Info.plist CFBundleName "Opera Next" | |
mv /Applications/Opera.app /Applications/Opera\ Next.app | |
# Disclaimer: Any alteration to Opera’s application bundle is unsupported and discouraged. |
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
require 'formula' | |
class Newsbeuter <Formula | |
url 'http://www.newsbeuter.org/downloads/newsbeuter-2.6.tar.gz' | |
homepage 'http://www.newsbeuter.org/' | |
md5 'unreleased-version' | |
depends_on 'stfl' | |
depends_on 'curl' | |
depends_on 'sqlite' |
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
#!/bin/sh | |
cat /var/log/auth.* | \ | |
egrep --only-matching '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | \ | |
sort | uniq --count | \ | |
sort --general-numeric-sort |
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
if ( strstr( $ua, 'IE' ) ) { … } | |
// all IE variants (desktop, metro, Xbox, phone), the Irish, and a few other acceptable false positives |
OlderNewer