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 display the "Feedback" widget on the right rather than the left, | |
add these styles below the code provided by Get Satisfaction. | |
Tested in IE6, IE7, Firefox 2, Firefox 3, and Safari 3. | |
See it in action at http://www.sunagocommunity.org/ | |
Note: You'll need to download the modified background image from | |
http://sunagocommunity.org/images/feedback-mod.png and place it in your | |
/images/ folder (or edit the location below). Please serve this image | |
yourself rather than pulling it from the Sunago app server kthx. |
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
/* PAGINATION */ | |
.pagination {margin: 20px 0; width: 700px; text-align: center;} | |
.pagination ul {margin: 8px 0 0 0;} | |
.pagination li {display: inline;} | |
.pagination a {padding: 5px 10px; color: #2d3133; font-size: 14px; font-weight: bold; text-decoration: none; background-color: #e0f7ff; -webkit-border-radius: 3px; -moz-border-radius: 3px;} | |
.pagination a:hover{color: #fff; background-color: #e64804;} | |
.pagination .current {padding: 5px 10px; color: #fff; font-size: 14px; font-weight: bold; text-decoration: none; background-color: #e64804; -webkit-border-radius: 3px; -moz-border-radius: 3px;} | |
.next_page, a.next_page {padding: 5px 10px; color: #fff; font-size: 14px; font-weight: bold; text-decoration: none; background-color: #000; -webkit-border-radius: 3px; -moz-border-radius: 3px;} | |
.next_page, a.prev_page {padding: 5px 10px; color: #fff; font-size: 14px; font-weight: bold; text-decoration: none; background-color: #000; -webkit- |
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
/* track odd */ | |
.trackodd {width: 700px; height: 30px; font-size: 14px; color: #2d3133;} | |
.trackodd:hover {-webkit-border-radius: 5px; -moz-border-radius: 5px; background-color: #46afc5; color: #fff; cursor: pointer;} | |
.trackodd .favorite {float: left; margin: 7px 0 0 50px; width: 16px; height: 16px;} | |
.trackodd .favorite a {display: block; width: 16px; height: 16px; background: url(../images/favorite_icon_whitebg.png) 0 0 no-repeat;} | |
.trackodd .favorite a:hover {background-position: 0 -16px;} | |
.trackodd .notfavorite {float: left; margin: 7px 0 0 50px; width: 16px; height: 16px;} | |
.trackodd .notfavorite a {display: block; width: 16px; height: 16px; background: url(../images/favorite_icon_whitebg.png) 0 -16px no-repeat;} | |
.trackodd .notfavorite a:hover {background-position: 0 0;} | |
.trackodd p {float: left; margin: 6px 0 0 28px;} |
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
/* TRACK ODD */ | |
.trackOdd {width: 700px; height: 30px; font-size: 14px; color: #2d3133;} | |
.trackOdd:hover {-webkit-border-radius: 5px; -moz-border-radius: 5px; background-color: #46afc5; color: #fff; cursor: pointer;} | |
.trackOdd .favorite {float: left; margin: 7px 0 0 50px; width: 16px; height: 16px;} | |
.trackOdd .favorite a {display: block; width: 16px; height: 16px; background: url(../images/favorite_icon_whitebg.png) 0 0 no-repeat;} | |
.trackOdd .favorite a:hover {background-position: 0 -16px;} | |
.trackOdd .notfavorite {float: left; margin: 7px 0 0 50px; width: 16px; height: 16px;} | |
.trackOdd .notfavorite a {display: block; width: 16px; height: 16px; background: url(../images/favorite_icon_whitebg.png) 0 -16px no-repeat;} | |
.trackOdd .notfavorite a:hover {background-position: 0 0;} | |
.trackOdd p {float: left; margin: 6px 0 0 28px;} |
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
/* | |
Mugasha.com - MAIN CSS (main.css) | |
COPYRIGHT 2008 Mugasha. All Rights Reserved. | |
*/ | |
/* COLOR PALLETTE | |
============================================================================ | |
Blue - #46afc5 |
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
/* TRACK ODD */ | |
.trackOdd {width: 700px; height: 30px; font-size: 14px; color: #2d3133;} | |
.trackOdd:hover {-webkit-border-radius: 5px; -moz-border-radius: 5px; background-color: #46afc5; color: #fff; cursor: pointer;} | |
.trackOdd .favorite {float: left; margin: 7px 0 0 20px; width: 16px; height: 16px;} | |
.trackOdd .favorite a {display: block; width: 16px; height: 16px; background: url(../images/favorite_icon_whitebg.png) 0 0 no-repeat;} | |
.trackOdd .favorite a:hover {background-position: 0 -16px;} | |
.trackOdd .notfavorite {float: left; margin: 7px 0 0 20px; width: 16px; height: 16px;} | |
.trackOdd .notfavorite a {display: block; width: 16px; height: 16px; background: url(../images/favorite_icon_whitebg.png) 0 -16px no-repeat;} | |
.trackOdd .notfavorite a:hover {background-position: 0 0;} | |
.trackOdd p {float: left; margin: 6px 0 0 28px;} |
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
/* SET LIST HEADING */ | |
.setListHeading {width: 700px; height: 40px; background: url(../images/leftcol_heading_bg.png) top left no-repeat; font-size: 18px; color: #fff; font-weight: bold;} | |
.setListHeading .favorite {float: left; margin: 13px 0 0 50px; width: 16px; height: 16px; background: url(../images/tracklist_heading_heart.png) 0 0 no-repeat;} | |
.setListHeading p {float: left; margin: 8px 0 0 20px;} | |
.setListHeading .title {float: left;} | |
.setListHeading .date {float: left; margin: 0 0 0 440px;} | |
.setListHeading .rating {float: left; margin: 0 0 0 30px;} | |
/* TRACK ODD */ | |
.setList .trackOdd {width: 700px; height: 30px; font-size: 14px; color: #2d3133;} |
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
class PaymentController < ApplicationController | |
require 'rexml/document' | |
def index | |
@caller_token = AWS_FPS::Tokens.get_caller_token | |
@recipient_token = AWS_FPS::Tokens.get_recipient_token | |
end | |
def amazon_pipeline | |
return_path = "payment/pay" |
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
# Amazon FPS Plugin | |
require 'net/https' | |
require 'time' | |
require 'openssl' | |
require 'base64' | |
require 'yaml' | |
module AWS_FPS | |
# Load AWS config | |
path = File.expand_path "#{RAILS_ROOT}/config/amazon_fps.yml" |
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
# ECE 486 Project 1 | |
# PDP 8 Benchmarking tool | |
# | |
f = File.open("add01.obj","r") | |
lines = f.readlines | |
f.close | |
prog_data = Hash.new { |hash, key| hash[key] = {:addr => "", :data => ""} } | |
ins = 0 |
OlderNewer