Skip to content

Instantly share code, notes, and snippets.

View evandroeisinger's full-sized avatar

Evandro Eisinger evandroeisinger

View GitHub Profile
brew install curl --with-openssl; export PYCURL_SSL_LIBRARY=openssl; pip uninstall pycurl; pip install --install-option="--with-openssl" --install-option="--openssl-dir=/usr/local/opt/openssl" pycurl==7.43.0.1
@evandroeisinger
evandroeisinger / bookmarks.md
Last active January 3, 2018 22:23
Medium Bookmarks
@evandroeisinger
evandroeisinger / add_script.js
Last active December 14, 2016 17:02
add script tag
(function (document) {
var ampTwitterScript = document.createElement('script');
ampTwitterScript.src = 'https://cdn.ampproject.org/v0/amp-twitter-0.1.js';
ampTwitterScript.setAttribute('async', true);
document.getElementsByTagName('head')[0].appendChild(ampTwitterScript);
})(document);
@evandroeisinger
evandroeisinger / Custom.css
Created July 4, 2013 14:01
Chrome Developer Tools custom theme.
/*****************************************************************************/
/* Dark Eisinger Theme
/* Optimized by Evandro Eisinger
/*************************************************************************/
/**********************************************
/* Code Highlighting [CODEMIRROR]
/**********************************************/
/*--JAVASCRIPT--*/
@evandroeisinger
evandroeisinger / smoth.js
Created May 20, 2013 18:06
Simple content smoth navigation.
/* Smoth content navigation */
$('.menu .link', '.context').on('click',function (e) {
e.preventDefault();
var target = this.hash,
$target = $(target);
$('html, body').stop().animate({
'scrollTop': $target.offset().top
}, 900, 'swing', function () {
window.location.hash = target;
});
@evandroeisinger
evandroeisinger / clearfix.css
Last active December 14, 2015 15:39
Clearfix: CSS float’s problem fix.
/* Solve CSS float problem */
.clearfix {
*zoom: 1;
}
.clearfix:before,
.clearfix:after {
clear: both;
content: " ";
display: block;