Skip to content

Instantly share code, notes, and snippets.

View carlosescri's full-sized avatar

Carlos Escribano carlosescri

View GitHub Profile
@carlosescri
carlosescri / gist:5848477
Created June 24, 2013 08:10 — forked from paulirish/gist:2926904
SublimeLinter User Config (from Paul Irish)
{
"// my options for SublimeLinter " : "//",
"jshint_options" : {
"boss": true,
"browser": true,
"curly": false,
"devel": true,
"eqeqeq": false,
"eqnull": true,
"expr": true,
@carlosescri
carlosescri / doofinder_script.html
Last active August 29, 2015 14:12
Use `doofinder_script.html` if your website has its own search box. If not, configure your Doofinder layer based on `doofinder_script_alt.html` (this version of the script will automatically create a search box for you at the top of the page). You will find the search engine ID in the Doofinder control panel. Go to "My Account > Search Engines".
<!-- START OF DOOFINDER SCRIPT -->
<script type="text/javascript">
var doofinder_script = '//cdn.doofinder.com/media/js/doofinder-4.latest.min.js';
(function(d,t){var f=d.createElement(t),s=d.getElementsByTagName(t)[0];f.async=1;
f.src=('https:'==location.protocol?'https:':'http:')+doofinder_script;
s.parentNode.insertBefore(f,s)}(document,'script')
);
if(!doofinder){var doofinder={};}
// More options: http://www.doofinder.com/developer/doofinder-layer
doofinder.options = {
console.log('Hola, mundo!');