Skip to content

Instantly share code, notes, and snippets.

get_week_price_from_date(day_date, property) dfdfdf
bla bla bla dfdf dfdfdf
bla bla
require 'order_session'
class AddressesController < ApplicationController
include Pyrat::Session
before_filter :get_order
# ssl_required :new, :create, :edit, :update
eval("#{type}.create(:parent_id => topic.id, name => name)")
PATH="/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin"
PATH=$PATH:~/scripts/
export CLASSPATH="/Users/alastairbrunton/DITA/lib:/Users/alastairbrunton/DITA/lib/resolver.jar"
export DITA_HOME="/Users/alastairbrunton/Desktop/DITA-OT1.4.2.1"
# Get the aliases and functions
if [ -f ~/scripts/.personal_profile ]; then
. ~/scripts/.personal_profile
fi
# Get the mac specific aliases and functions
development:
adapter: mysql
encoding: utf8
database: 1in10_development
username: root
password:
socket: /opt/local/var/run/mysql5/mysqld.sock
test:
adapter: mysql
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://icl.com/saxon" extension-element-prefixes="saxon">
<xsl:import href="xslhtml/dita2htmlImpl.xsl"></xsl:import>
<xsl:import href="xslhtml/taskdisplay.xsl"></xsl:import>
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This file is part of the DITA Open Toolkit project hosted on
Sourceforge.net. See the accompanying license.txt file for
applicable licenses.-->
<!-- (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved. -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:saxon="http://icl.com/saxon"
extension-element-prefixes="saxon"
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This file is part of the DITA Open Toolkit project hosted on
Sourceforge.net. See the accompanying license.txt file for
applicable licenses.-->
<!-- (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved. -->
<!DOCTYPE xsl:stylesheet [
<!ENTITY gt "&gt;">
<!ENTITY lt "&lt;">