###Full Charter Cruise Ship Booking Plugin
####Terminology Variable Product (parent) -> "Room Type" Product Variation (child) -> "Max Occupancy, location on ship, etc."
####Custom Price Fields on Variable Product General Tab 5 static price points (custom fields) assigned to parent variable product “Interior”, “Oceanview”, etc.
- Single Per Guest Price: $999 (prices may vary depending on the room type, but always sold per guest)
- Double Per Guest Price: $499
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
# Install pow | |
$ curl get.pow.cx | sh | |
# Install powder | |
$ gem install powder | |
# See Pow takes over port 80 in the firewall... even though nginx was using it... | |
$ sudo ipfw show | |
00100 0 0 fwd 127.0.0.1,20559 tcp from any to me dst-port 80 in <- THIS ONE!!! | |
65535 81005 28684067 allow ip from any to any |
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
mccme-rountrjf:boxen joshua$ git clone https://github.com/boxen/our-boxen.git repo | |
Cloning into 'repo'... | |
remote: Counting objects: 1520, done. | |
remote: Compressing objects: 100% (889/889), done. | |
remote: Total 1520 (delta 675), reused 1346 (delta 522) | |
Receiving objects: 100% (1520/1520), 47.97 MiB | 6.64 MiB/s, done. | |
Resolving deltas: 100% (675/675), done. | |
mccme-rountrjf:boxen joshua$ cd repo | |
mccme-rountrjf:repo joshua$ nano Puppetfile | |
mccme-rountrjf:repo joshua$ cd ../ |
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"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Untitled Document</title> | |
</head> | |
<body> | |
<CFOUTPUT> | |
<!--- Check to see if Phone 2 even exists ---> | |
<cfif #Form.Phone2# NEQ '' /> |
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
<cfset AcceptBillMethods = "1,2" /> | |
<cfif listFind(AcceptBillMethods,form.BillMethod)> | |
<cfset BillingTypeID = form.BillMethod /> | |
<cfelse> | |
<cfthrow "ERROR! INVALID BILLING TYPE ENTERED!" /> | |
</cfif> | |
<cfquery name="InsertMemberInfo" datasource="#Application.Settings.DSN#" result="newMember"> | |
INSERT INTO |
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
# This is a template .gitignore file for git-managed WordPress projects. | |
# | |
# Fact: you don't want WordPress core files, or your server-specific | |
# configuration files etc., in your project's repository. You just don't. | |
# | |
# Solution: stick this file up your repository root (which it assumes is | |
# also the WordPress root directory) and add exceptions for any plugins, | |
# themes, and other directories that should be under version control. | |
# | |
# See the comments below for more info on how to add exceptions for your |
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
TodoMVC.module 'TodoApp', (App, TodoMVC, Backbone, Marionette, $, _) -> | |
log arguments | |
class App.TodoForm extends Marionette.ItemView | |
events: | |
'keypress #new-todo' : 'createOnEnter' | |
'click .mark-all-done' : 'toggleAllClicked' | |
triggers: | |
'click .todo-clear a' : 'clear:completed' |
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
|--Compute Scalar(DEFINE:([Expr1015]=isnull(CASE WHEN [Expr1118]=N'M' THEN isnull([Expr1007],(0.000000000000000e+000)) ELSE CASE WHEN isnull([CCPD_PROD].[ceschema].[ce_Activity].[SessionType] as [A].[SessionType],N'S')=N'S' THEN isnull([Expr1013],(0.000000000000000e+000)) ELSE NULL END END,(0.000000000000000e+000)), [Expr1034]=isnull(CASE WHEN [Expr1118]=N'M' THEN CASE WHEN isnull([CCPD_PROD].[ceschema].[ce_Activity].[ParentActivityID] as [A].[ParentActivityID],(0))=(0) THEN [Expr1020] ELSE [Expr1026] END ELSE CASE WHEN isnull([CCPD_PROD].[ceschema].[ce_Activity].[SessionType] as [A].[SessionType],N'S')=N'S' THEN [Expr1032] ELSE NULL END END,(0)), [Expr1053]=isnull(CASE WHEN [Expr1118]=N'M' THEN CASE WHEN isnull([CCPD_PROD].[ceschema].[ce_Activity].[ParentActivityID] as [A].[ParentActivityID],(0))=(0) THEN [Expr1039] ELSE [Expr1045] END ELSE CASE WHEN isnull([CCPD_PROD].[ceschema].[ce_Activity].[SessionType] as [A].[SessionType],N'S')=N'S' THEN [Expr1051] ELSE NULL END END,(0)), [Expr1079]=CONVERT_IMPLICIT(fl |
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
<cfscript> | |
work = new my_worker(); | |
work.usesUtil(); | |
</cfscript> |