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
require 'savon' | |
module Foobarservice | |
class Client | |
attr_accessor :wsdl, :user_id, :token | |
def initialize(attrs = {}) | |
attrs.each do |k,v| send("#{k}=", v) end | |
@client = Savon.client(wsdl: @wsdl) do |
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
source 'https://rubygems.org' | |
gem 'mws-rb', git: 'https://github.com/veeqo/mws-rb.git' |
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
<header> | |
<script type="text/html" id="options-template"> | |
<% for (i = 0; i < items.length; i++) { %> | |
<option value="<%= items[i].id %>"><%= items[i].value %></option> | |
<% } %> | |
</script> | |
</header> |
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
http://phpconfigure.com/ | |
See before: | |
compile.mysql5.6.12.txt & compile.apache2.4.4.txt | |
Compile php 5.3.25 | |
sudo mkdir /usr/local/php | |
sudo mkdir /usr/local/php/php_5.3.25 |
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
<?php | |
require_once 'path/to/symfony/autoload/sfCoreAutoload.class.php'; | |
sfCoreAutoload::register(); | |
$fs = new sfFilesystem(); | |
$command = sprintf('%s -n "%s" %s', 'path/to/php', 'path/to/project/root/symfony', 'cc'); | |
$res = $fs->sh($command); | |
echo $res; |
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
CmdUtils.CreateCommand({ | |
name: "sf", | |
icon: "http://www.symfony-project.org/favicon.ico", | |
author: { name: "Ajai Khattri", email: "ajai@bitblit.net"}, | |
license: "GPL", | |
description: "Searches the symfony API docs for words.", | |
takes: {"search term": noun_arb_text}, | |
preview: function(pblock, directObject, modifiers) { |
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
From eeed25bdbbbdb74fb81e243ef6714f4cb8a80094 Mon Sep 17 00:00:00 2001 | |
From: Yevgeniy A. Viktorov <wik@osmonitoring.com> | |
Date: Fri, 1 May 2009 20:20:58 +0300 | |
Subject: [PATCH] fix installer: locale saving problem | |
--- | |
app/code/core/Mage/Install/Model/Installer.php | 8 +++++++- | |
1 files changed, 7 insertions(+), 1 deletions(-) | |
diff --git a/app/code/core/Mage/Install/Model/Installer.php b/app/code/core/Mage/Install/Model/Installer.php |
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
# Recursively add a .gitignore file to all directories | |
# in the working directory which are empty and don't | |
# start with a dot. Helpful for tracking empty dirs | |
# in a git repository. | |
for i in $(find . -type d -regex ``./[^.].*'' -empty); do touch $i"/.gitignore"; done; |
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
core = "6.x" | |
projects[pressflow][type] = "core" | |
projects[pressflow][download][type] = "git" | |
projects[pressflow][download][url] = git://github.com/bigmack83/pressflow-6.git | |
projects[] = "cck" |
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
<?php | |
class TJU_Core_Model_Translate extends Mage_Core_Model_Translate | |
{ | |
/** | |
* Retrieve translated template file | |
* Try current design package first | |
* | |
* @param string $file | |
* @param string $type |
OlderNewer