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
# A sass plugin to calculate colums width based on a 100% width, the colspan and the spacing amount. | |
# | |
# Apply this plugin by passing it to the sass command as a require parameter: | |
# >> sass --require ts_sass_functions.rb | |
# | |
# @copyright triplesense | |
# @author Tom Raithel | |
# @version 1.0 | |
# @package com.vorwerk.corporate | |
# |
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
<div class="flipbook"> | |
<div class="page left leftpage"> | |
<div class="pagewrap"> | |
<div class="page_content"> | |
Dies ist die erste Seite des flipbooks | |
</div> | |
</div> | |
</div> | |
<div class="page center"> | |
<div class="innerpage rightpage inner_right"> |
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
-webkit-tap-highlight-color:rgba(0,0,0,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
require 'rake/packagetask' | |
namespace :my_namespace do | |
desc "Make coffee" | |
task :make_coffee do | |
cups = ENV["COFFEE_CUPS"] || 2 | |
puts "Made #{cups} cups of coffee. Shakes are gone." | |
end | |
# see http://rake.rubyforge.org/classes/Rake/PackageTask.html |
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
# to add it as alias use: | |
# alias svn_remove='svn status | sed -Ee '\''/^!/!d'\'' -e '\''s/^! *(.*)/"\1"/g'\'' | xargs -L1 svn rm' | |
svn status | sed -Ee '/^!/!d' -e 's/^! *(.*)/"\1"/g' | xargs -L1 svn rm |
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
= (number) -> | |
stringReverse = (str)-> | |
str.split('').reverse().join('') | |
[preComma, postComma] = number.toFixed(2).split('.') | |
preComma = stringReverse(stringReverse(preComma).match(/.{1,3}/g).join('.')) | |
"#{preCom |
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
s3cmd sync --acl-public --recursive out/* s3://bucket.s3.de/path/to/folder/ |
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
// webkit-specific changes | |
@media screen and (-webkit-min-device-pixel-ratio:0) { | |
-webkit-appearance: none; | |
background: #fff img-url('arrow-icons.png') 100% -51px no-repeat; | |
padding-right: 35px; | |
} |
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
RewriteEngine on | |
RewriteCond $1 !^public/ | |
RewriteRule ^(.*)$ /public/$1 [L] |
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
# Apache configuration file | |
# http://httpd.apache.org/docs/2.2/mod/quickreference.html | |
# Note: ".htaccess" files are an overhead for each request. This logic should | |
# be placed in your Apache config whenever possible. | |
# http://httpd.apache.org/docs/2.2/howto/htaccess.html | |
# Turning on the rewrite engine is necessary for the following rules and | |
# features. "+FollowSymLinks" must be enabled for this to work symbolically. |