This file contains hidden or 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
| .gradient (@from: #eee, @to: #ccc) { | |
| background-color: @from; | |
| background-image: -webkit-gradient(linear, left top, left bottom, from(@from), to(@to)); | |
| background-image: -moz-linear-gradient(center top, @from, @to); | |
| } |
This file contains hidden or 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
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
| <title>Nice Buttons</title> | |
| <style> | |
| * { margin: 0; padding: 0; } | |
| ul { | |
| padding: 20px; | |
| width: 80px; | |
| float: left; |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Cross-browser kerning-pairs & ligatures</title> | |
| <style> | |
| body { font-family: sans-serif; background: rgba(30, 10, 0, 0.05); color: rgba(40, 30, 0, 1); width: 500px; margin: 80px auto; padding: 0px; } | |
| a { color: rgba(15, 10, 0, 0.8); text-decoration: none; border-bottom: 1px solid; padding: 1px; -webkit-transition: background 1s ease; } | |
| a:hover { background: rgba(0, 220, 220, 0.2); } | |
| p { line-height: 1.5; padding: 0px 1em 0em 0em; } |
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>comment</key> | |
| <string>Created by Jacob Rus. Modified by Ale Muñoz</string> | |
| <key>name</key> | |
| <string>Ale</string> | |
| <key>settings</key> | |
| <array> |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # A script to create a new remote git repo in git | |
| # | |
| # 1. Make sure to setup ssh keys for passwordless logins | |
| # | |
| # 2. Add this to $HOME/.ssh/config: | |
| # Host git | |
| # HostName your.domain.com | |
| # User username |
This file contains hidden or 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
| require 'erb' | |
| files = Dir.glob("*") | |
| templates = DATA.read.split("---") | |
| templates.each do |template| | |
| ERB.new(template, nil, '%-').run | |
| end | |
| __END__ | |
| package { |
This file contains hidden or 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
| # A Python plugin for VoodooPad. | |
| # It searches for tag_name appearances in your document and adds the text after it to | |
| # a new list_page page. | |
| VPScriptSuperMenuTitle = "GTD" | |
| VPScriptMenuTitle = "Update @todo list" | |
| VPShortcutKey = "T" | |
| VPShortcutMask = "control" | |
| import time |
This file contains hidden or 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
| class Test::Unit::TestCase | |
| def self.test(name, &block) | |
| test_name = "test_#{name.gsub(/\s+/,'_')}".to_sym | |
| defined = instance_method(test_name) rescue false | |
| raise "#{test_name} is already defined in #{self}" if defined | |
| if block_given? | |
| define_method(test_name, &block) | |
| else | |
| define_method(test_name) do | |
| flunk "No implementation provided for #{name}" |
This file contains hidden or 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
| # RAE | |
| require "rubygems" | |
| require "curb" | |
| require "hpricot" | |
| def url_for word | |
| "http://buscon.rae.es/draeI/SrvltGUIBusUsual?LEMA=#{word}&origen=RAE&TIPO_BUS=3" | |
| end | |
| def get_definition_for(word) |