Visit Gist and see 'raw' link, It's including SHA-1 long hash name like this.
https://gist.github.com/raw/2370972/47150711fedb7375d19d761ab122485b8105678d/gist-raw-perm-HEAD.user.js
#language: pt | |
Funcionalidade: Leitor de tipos de Triângulo | |
Para conhecer o tipo de um triângulo | |
Como um aluno da matemática | |
Eu quero informar os tamanhos do lado de um triângulo e saber qual o tipo do triângulo | |
NARRATIVA | |
Um triângulo com todos os lados iguais é chamado Equilátero |
// underscore addon with sum, mean, median and nrange function | |
// see details below | |
_.mixin({ | |
// Return sum of the elements | |
sum : function(obj, iterator, context) { | |
if (!iterator && _.isEmpty(obj)) return 0; | |
var result = 0; | |
if (!iterator && _.isArray(obj)){ |
// Include this at the very top of both your main and window processes, so that | |
// it loads as soon as possible. | |
// | |
// Why does this work? The node.js module system calls fs.realpathSync a _lot_ | |
// to load stuff, which in turn, has to call fs.lstatSync a _lot_. While you | |
// generally can't cache stat() results because they change behind your back | |
// (i.e. another program opens a file, then you stat it, the stats change), | |
// caching it for a very short period of time is :ok: :gem:. These effects are | |
// especially apparent on Windows, where stat() is far more expensive - stat() | |
// calls often take more time in the perf graph than actually evaluating the |
// http://stackoverflow.com/questions/133925/javascript-post-request-like-a-form-submit | |
// form_submit('/contact/', {name: 'Johnny Bravo'}); | |
function form_submit(path, params, method) { | |
method = method || "post"; // Set method to post by default if not specified. | |
// The rest of this code assumes you are not using a library. | |
// It can be made less wordy if you use one. | |
var form = document.createElement("form"); | |
form.setAttribute("method", method); | |
form.setAttribute("action", path); |
// italics for objects | |
(function (values) { | |
function toString(x) { | |
var v = x; | |
v = (v || v === "") ? JSON.stringify(v) : String(v); | |
if (typeof x === 'object') v = v.italics(); | |
return v; | |
} | |
function describe (i,j) { | |
var v1 = values[i], |
# ============== shell | |
# Case-insensitive globbing. | |
shopt -s nocaseglob; | |
# Do not overwrite files when redirecting using ">", ">&" or "<>". | |
# Note that you can still override this with ">|". | |
set -o noclobber; | |
# UTF-8 all the way. | |
export LC_ALL='en_GB.UTF-8'; |
Visit Gist and see 'raw' link, It's including SHA-1 long hash name like this.
https://gist.github.com/raw/2370972/47150711fedb7375d19d761ab122485b8105678d/gist-raw-perm-HEAD.user.js
<RelativeLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:padding="16dp"> | |
<TextView | |
android:text="I’m in this corner" | |
android:layout_height="wrap_content" | |
android:layout_width="wrap_content" |
/** | |
* Include Roboto Condensed font in your project | |
* | |
* Download Roboto Condensed ttf files from Google Fonts and place it in the same directory of this CSS file | |
* You can then use this font in your project by setting | |
* font-face: "Roboto Condensed", Helvetica, Arial, sans-serif; | |
* | |
* @author Mattia Migliorini (deshack) | |
* @license MIT | |
*/ |
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Copyright (C) 2014 Leo Iannacone <info@leoiannacone.com> | |
This file was generated from a textmate theme named Monokai Extended | |
with tm2gtksw2 tool. (Alexandre da Silva) | |
This library is free software; you can redistribute it and/or | |
modify it under the terms of the GNU Library General Public | |
License as published by the Free Software Foundation; either |