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
/** | |
* CSS3 rotation with transform-origin working with IE 7+ | |
*/ | |
#some_block{ | |
-webkit-transform: rotate(-90deg); | |
-webkit-transform-origin: 100% 100%; | |
/* Saf3.1+, Chrome */ | |
-moz-transform: rotate(-90deg); |
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
curl https://raw.github.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash | |
echo "source ~/.git-completion.bash" >> ~/.bash_profile |
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
> User.find_birthdays_for(Date.parse('04-04-2000')) | |
=> [#<User id: 23, birthday: "1961-04-04">, #<User id: 34, birthday: "1985-04-04">] |
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
$ git init | |
Initialized empty Git repository in .git/ | |
$ git remote add origin git@repository.com:to/copy/to.git | |
$ git remote add to-clone git@repository.com:to/copy.git | |
$ git fetch to-clone | |
remote: Counting objects: 1584, done. | |
remote: Compressing objects: 100% (1505/1505), done. | |
remote: Total 1584 (delta 936), reused 0 (delta 0) | |
Receiving objects: 100% (1584/1584), 843.34 KiB | 623 KiB/s, done. | |
Resolving deltas: 100% (936/936), done. |
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
<script type="text/javascript"> | |
<%= facebook_share :name => "Some Fancy Title", | |
:picture => "http://pic.tu.re/of/awesomeness.png", | |
:description => "I am the awesome description of this page, how cool is that?" %> | |
</script> |
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
module ApplicationHelper | |
include FacebookShare | |
end |
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
# coding: utf-8 | |
class TransliterationController < ApplicationController | |
def view | |
end | |
def result | |
if request.post? | |
@errors = [] |
NewerOlder