Add the following gems to your Gemfile
:
gem 'activeresource'
gem 'newrelic_api'
Update your bundle:
<?php | |
/* | |
Plugin Name: Get OSCommerce Cart Contents from session | |
Plugin URI: http://325i.org/osc | |
Description: allows you to retrieve the cart contents from your OSCommerce install. Requires that your cookie path would include both OSC and wordpress. Works with OSCommerce 2.2RC2. | |
Author: Michael J. Cohen <mjc@kernel.org> | |
Version: 1 | |
Author URI: http://325i.org | |
*/ |
delimiter $$ | |
CREATE FUNCTION ISO8601_DATETIME(iso varchar(26)) | |
RETURNS DATETIME | |
DETERMINISTIC | |
BEGIN | |
RETURN CONVERT_TZ( | |
STR_TO_DATE( | |
CONCAT(SUBSTRING(iso, 1, 10), | |
' ', | |
SUBSTRING(iso, 12, 8)), |
defmodule FizzBuzzTest do | |
use ExUnit.Case | |
# to run tests: mix test | |
# to get an irb equivalent with your code loaded in it: iex -S mix | |
# to get a pry in your code: `require IEx;IEx.pry()` | |
# Phase 1: make the test pass. | |
# Phase 2: implement the fizz/buzz check as a pattern match | |
# Phase 3: move the pattern match into multiple function clauses. |
#!/bin/sh | |
set -o errexit | |
# @TODO detect fd and fallback to find | |
pngs=$(fd -e png .) | |
jpgs=$(fd -e jpg .) | |
#pngs=$(find . -iname "*.png") | |
#jpgs=$(find . -iname "*.jpg") | |
optimize_a_png() { |
#!/usr/bin/env bash | |
read -r -d '' profile <<'EOF' | |
{ | |
"PresetList" : [ | |
{ | |
"AlignAVStart" : true, | |
"AudioCopyMask" : [ | |
"copy:aac", | |
"copy:ac3", |
<?php | |
/* | |
Plugin Name: The Combiner | |
Plugin URI: http://dd32.id.au/wordpress-plugins/?plugin=combine-css-js | |
Description: Combine CSS & JS into one large monolithic file | |
Author: DD32 | |
Version: 1.0 | |
Author URI: http://dd32.id.au/ | |
*/ | |