Skip to content

Instantly share code, notes, and snippets.

View eliezerb's full-sized avatar

Eliezer Bernart eliezerb

  • Porto Alegre - RS, Brazil
View GitHub Profile
@eliezerb
eliezerb / main.js
Created November 13, 2014 04:29
Simple Brackets extension with all possible input field
/*jslint vars: true, plusplus: true, devel: true, nomen: true, regexp: true, indent: 4, maxerr: 50 */
/*global define, $, brackets */
define(function (require, exports, module) {
"use strict";
var CommandManager = brackets.getModule("command/CommandManager"),
WorkspaceManager = brackets.getModule("view/WorkspaceManager"),
Menus = brackets.getModule("command/Menus"),
myPanelTemplate = require("text!myPanel.html"),
// Autor: Eliezer Emanuel Bernart
// Data: 23/08/2014
#include <opencv2/highgui/highgui.hpp>
#include <iostream>
#include <vector>
// Variáveis de controle
int escala = 15,
qualidade = 75;
@eliezerb
eliezerb / targets.js
Created July 11, 2013 19:40
JavaScript function to make external links open in new tabs, using Jekyll without HTML explicit tag on markdown files.
// Make external links open in new tabs without target property in html
$('a').each( function( index , element ) {
if( !element.href.contains(document.location.host) ) {
element.target = '_blank';
}
});