Skip to content

Instantly share code, notes, and snippets.

View Anderson-Juhasc's full-sized avatar
:octocat:
Looking for work

Anderson Juhasc Anderson-Juhasc

:octocat:
Looking for work
View GitHub Profile
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Live BTCChina Chart</title>
</head>
<body>
<h1>BTCChina</h1>
<div>
<strong>Último preço:</strong> <span id="lastValue" style="color: #f00; font-size: 36px;">000.00</span>
<!DOCTYPE HTML>
<!--[if lt IE 7 ]> <html lang="pt-BR" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="pt-BR" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="pt-BR" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="pt-BR" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="pt-BR" class="no-js"> <!--<![endif]-->
<head>
<!--[if IE]><![endif]-->
<!-- begin Metas -->
@Anderson-Juhasc
Anderson-Juhasc / min-height.css
Created October 21, 2010 21:18
Cross-Browser Min Height
div {
min-height: 500px;
height:auto !important;
height: 500px;
}
var OKCoin = require("okcoin-ws");
var talib = require("talib");
var fs = require("fs");
var jsonfile = require("jsonfile");
var _ = require("lodash");
var Q = require("q");
var buy_treshold = 0.25;
var sell_treshold = 0.25;
@Anderson-Juhasc
Anderson-Juhasc / fbCSSCuston.html
Created September 16, 2011 22:30
Facebook Like-Box Custom CSS
<script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US"></script>
<script type="text/javascript">FB.init("");</script>
<fb:fan profile_id="[YOUR_ID]" stream="0" connections="10" width="300px" height="200px" header="0" logobar="0" css="[CSS_URL]"></fb:fan>
@Anderson-Juhasc
Anderson-Juhasc / .vimrc
Created September 22, 2011 16:10
Usar VIM com zen-coding em arquivos .less
autocmd BufRead,BufNewFile *.less set filetype=css
@Anderson-Juhasc
Anderson-Juhasc / remove_git
Created September 22, 2011 18:50
Remove Deleted Files From Git
for i in `git status | grep deleted | awk '{print $3}'`; do git rm $i; done
@Anderson-Juhasc
Anderson-Juhasc / style.less
Created November 17, 2011 13:12
Meu Padrão para iniciar o uso do less
/* HTML5 ✰ Boilerplate
* ==|== normalize ==========================================================
*/
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }
@Anderson-Juhasc
Anderson-Juhasc / gist:2158167
Created March 22, 2012 12:57
Add like button
<script src="http://connect.facebook.net/pt_BR/all.js#xfbml=1" type="text/javascript"></script>
<fb:like href="{Permalink}" layout="button_count" send="false" show_faces="false" font="arial" action="like" colorscheme="light"></fb:like>