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
| function qs() { | |
| var vars = [], | |
| grabUrl = window.location.search, | |
| parts, | |
| pieces, | |
| qs = '', | |
| qsVals = []; | |
| if (typeof arguments[0] == 'string') { |
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 'formula' | |
| class Ab < Formula | |
| homepage 'http://httpd.apache.org/docs/trunk/programs/ab.html' | |
| url 'http://www.apache.org/dist/httpd/httpd-2.4.3.tar.bz2' | |
| sha1 '0ef1281bb758add937efe61c345287be2f27f662' | |
| def install | |
| # Mountain Lion requires this to be set, as otherwise libtool complains | |
| # about being "unable to infer tagged configuration" |
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
| @import "bootstrap/_mixins"; | |
| @mixin ribbon() { | |
| position: absolute; | |
| top: 35px; | |
| right: 0; | |
| background: #9E0800; | |
| color: #fff; | |
| line-height: inherit; | |
| padding: 5px 30px; |
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
| git clone git://github.com/farend/redmine_theme_farend_fancy.git /Applications/YOUR_REDMINE_APP_NAME/apps/redmine/htdocs/public/themes/farend_fancy |
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
| /** | |
| * Barlesque Reset CSS | |
| */ | |
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
| /* window.addEventListener( "resize", mmListener); | |
| mmListener();*/ | |
| if (window.addEventListener) { | |
| window.addEventListener("resize", mmListener); | |
| } else if (window.attachEvent) { | |
| window.attachEvent("resize", mmListener); | |
| } | |
| mmListener(); |
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> | |
| <head> | |
| <meta charset="utf-8"/> | |
| <title>JQuery h5Accordion example</title> | |
| </head> | |
| <body> | |
| <h1>JQuery h5Accordion example</h1> | |
| <div class="accordion" data-accordiontxt='{"open":"Afficher le contenu","close":"Masquer le contenu"}'> |
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
| module SpecHelpers | |
| def setup_memory_db | |
| databases_config = YAML.load_file(File.expand_path('../../config/database.yml', __FILE__)) | |
| connection = ActiveRecord::Base.establish_connection(databases_config['memory']) | |
| load File.expand_path('../../db/schema.rb', __FILE__) | |
| DatabaseCleaner[:active_record, :connection => connection] | |
| DatabaseCleaner.strategy = :deletion | |
| DatabaseCleaner.clean_with(:truncation) | |
| DatabaseCleaner.start |
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
| .1 | |
| { | |
| color: #222222; | |
| text-decoration: none; | |
| text-shadow: 1px 1px 0 #DDDDDD, 2px 2px 0 #BBBBBB; | |
| } | |
| .2.3d | |
| { | |
| color:rgba(0,255,255,0.5); |
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
| def positive_number(value): | |
| if value <= 0.0: | |
| raise ValidationError('%s is not greater than 0' % value) |