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>San Silvestre Tarragona 2014</title> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
<style> | |
html, body, #map { | |
height: 100%; | |
padding: 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
var nodecr = require('nodecr'); | |
// Recognise text of any language in any format | |
nodecr.process(__dirname + '/images/correoe.tiff',function(err, text) { | |
if(err) { | |
console.error(err); | |
} else { | |
console.log(text); | |
} | |
}); |
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 nodecr = require('nodecr'); | |
// Recognise text of any language in any format | |
nodecr.process(__dirname + '/images/correoe.png',function(err, text) { | |
if(err) { | |
console.error(err); | |
} else { | |
console.log(text); | |
} | |
}, null, null, null, nodecr.preprocessors.convert); |
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
article, | |
aside, | |
details, | |
figcaption, | |
figure, | |
footer, | |
header, | |
hgroup, | |
nav, | |
section { |
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
/*jshint strict:false*/ | |
/*global CasperError, console, phantom, require*/ | |
var links = []; | |
var casper = require("casper").create(); | |
casper.defaultWaitForTimeout = 20000; | |
function getLinks() { | |
var links = document.querySelectorAll("a[name='productview']"); |
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
diff --git a/oc-includes/osclass/controller/search.php b/oc-includes/osclass/controller/search.php | |
index 402a079..5e281c4 100755 | |
--- a/oc-includes/osclass/controller/search.php | |
+++ b/oc-includes/osclass/controller/search.php | |
@@ -377,8 +377,8 @@ | |
$this->_exportVariableToView('search_alert', base64_encode($json)); | |
- //calling the view... | |
- if(count($aItems)==0 || !$successCat) { |
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
<?php if ( !defined('ABS_PATH') ) exit('ABS_PATH is not loaded. Direct access is not allowed.'); | |
class ThemeBackofficeRedirect | |
{ | |
var $location; | |
var $section; | |
public function __construct() | |
{ | |
$this->location = Rewrite::newInstance()->get_location(); |
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
<?php if ( !defined('ABS_PATH') ) exit('ABS_PATH is not loaded. Direct access is not allowed.'); | |
class ThemeBlockPages | |
{ | |
var $location; | |
var $section; | |
public function __construct() | |
{ | |
$this->location = Rewrite::newInstance()->get_location(); |
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
<?php | |
class Google_Analytics extends GP_Plugin { | |
var $ga_id; | |
function __construct() { | |
parent::__construct(); | |
$this->add_action( 'gp_footer' ); | |
$this->ga_id= 'YOUR_GA_TRACKING_ID'; |
NewerOlder