This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
table tr.blank td, | |
table tr.blank td:hover { | |
height: 13px; | |
background: none !important; | |
border-left: none; | |
border-bottom: 1px solid #ddd; | |
outline: 1px solid white; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
function shuffle(array) { | |
array.sort(function() { | |
return Math.floor( Math.random() * 3) -1; | |
}); | |
return array; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
from base_linter import BaseLinter, INPUT_METHOD_FILE | |
CONFIG = { | |
'language': 'XML', | |
'executable': 'xmllintschema', | |
'lint_args': ['-noout', '{filename}'], | |
'input_method': INPUT_METHOD_FILE | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$if2(%albumartistsort%,%artistsort%)/$if(%date%,$left(%date%,4) - )%album%/$if($gt(%totaldiscs%,1),%discnumber%-,)$num(%tracknumber%,2)$if(%compilation%, %artist% -,) %title% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id = "viewport-size-by-edmundojr-paulodiovani" | |
# Cria o elemento do viewport, se ainda não existir | |
create = -> | |
div = document.getElementById(id) || document.createElement "div" | |
div.id = id | |
div.style.cssText = """ | |
position:fixed; \ | |
top:0; \ | |
right:0; \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package exemplo; | |
import javax.swing.*; | |
import java.awt.*; | |
/** | |
* Created by diovani on 25/06/14. | |
*/ | |
public class TelaExemplo extends JFrame { | |
// padrões, para controlar posição dos campos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http = require 'http' | |
through = require 'through' | |
XmlStream = require 'xml-stream' | |
http.get 'http://example.com/file.xml', (res) -> | |
res.setEncoding 'utf-8' | |
res.on 'error', console.error | |
# create a stream to clean non-ascii characters, because | |
# XmlStream fails to parse XMLs with some chars (pasted from MS Word, mostly) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This is a proposal for a new PHP test framework, | |
* based on the Mocha (http://mochajs.org/) dsl | |
* | |
* ## Features | |
* | |
* * Simple, easy to read | |
* * Non object oriented tests | |
* * Extensible |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define 'components/singleton', [], -> | |
### | |
Singleton class | |
### | |
class Singleton extends Backbone.View | |
# @static | |
@getInstance = -> | |
@_instance ?= new @ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
convert image-original.jpg -weight 900 -pointsize 400 -strokewidth 8 \ | |
-draw "gravity north stroke black fill white text 0,200 'DO NOT' " \ | |
-draw "gravity south stroke black fill white text 0,200 'PANIC' " \ | |
image-meme.jpg |
OlderNewer