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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<!-- DEFAULT COLORS --> | |
<meta name="color:Background" content="#222"/> | |
<meta name="color:Content Background" content="#fff"/> | |
<meta name="color:Title" content="#666"/> | |
<meta name="color:Description" content="#777"/> | |
<meta name="color:Nav Links" content="#44A3E2"/> |
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
# save to ~/.bash_profile | |
# == ALIASES ==================== | |
# general settings | |
alias settings="mate ~/.bash_login" | |
alias reload="source ~/.bash_login" | |
alias x="exit" | |
alias cl="clear" | |
alias ls="ls -la" |
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
!background = #fff | |
!text = #000 | |
!highlight = red | |
body | |
:background-color = !background - #222 | |
:color = !text | |
:padding 2em | |
:font-family Georgia, times, "Times New Roman", serif | |
a |
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
- if @choice | |
= @choice.junction.title | |
= @choice.junction.text | |
= @choice.text | |
= render :partial => 'form' |
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='menu'> | |
<div class='demo pop'> | |
<h3 class="pop_toggle">Demo</h3> | |
<p>you can put anything you want in here!</p> | |
<p>images, links, movies of your cats. you name it!</p> | |
<p>you can even have several on the same page.</p> | |
<p>hoorah!</p> | |
</div> | |
<h3>test</h3> | |
<div class='test pop'> |
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
// structure | |
// | |
// <div class="pop"> | |
// <div class="pop_toggle"></div> | |
// <div class="pop_content"> | |
// content_here | |
// </div> | |
// </div> |
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
/* paste this html as a note into your backpack page(s) | |
p{text-align:center;margin-top:-1em}. <small><a href="http://gist.github.com/7927" style="color:#ddd">iBackpack Lite</a></small><meta name="viewport" content="width=320, user-scalable=no" /><link media="only screen and (max-device-width: 480px)" href="http://gist.github.com/7927.txt" type="text/css" rel="stylesheet" /> | |
*/ |
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
it works, sucka! |
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
def index | |
@query = params[:query] || '' | |
params[:to_language_ids] && params[:to_language_ids].size <= 1 ? | |
monolingual(params[:to_language_ids].first) : | |
multilingual | |
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
body { | |
-webkit-text-size-adjust: none !important; | |
} | |
html body#body div#Header div#Tabs ul#MainTabs li a { | |
font-size: .9em !important; | |
line-height: 1.2em !important; | |
} | |
html body#body { |
OlderNewer