Skip to content

Instantly share code, notes, and snippets.

View amacgregor's full-sized avatar
:shipit:
Working on Side Projects

Allan MacGregor amacgregor

:shipit:
Working on Side Projects
View GitHub Profile
var express = require('express');
var cp = require('child_process');
var app = express.createServer();
var chrome_count = 0;
app.get('/', function(req, res){
startChrome(chrome_count++,9222,function chromeStared(err,id,chrome){
res.send('Chrome '+id+' Started\r\n');
@amacgregor
amacgregor / composer.json
Created July 26, 2014 19:33
example json composer file for extension development
{
"name": "vendorname/modulename",
"authors": [
{
"name": "author",
"email": "author@example.com"
}
],
"config": {
"bin-dir": "bin"
@amacgregor
amacgregor / phpspec.yml
Created July 26, 2014 19:34
Example PHPSpec.yml for magento extension development
extensions: [MageTest\PhpSpec\MagentoExtension\Extension]
mage_locator:
spec_prefix: 'spec'
src_path: 'app/code'
spec_path: 'spec/app/code'
code_pool: 'community'

Keybase proof

I hereby claim:

  • I am amacgregor on github.
  • I am allanmacgregor (https://keybase.io/allanmacgregor) on keybase.
  • I have a public key whose fingerprint is B191 C8DF FC68 97D9 4C3D 0379 F8F2 6B7E 0BCC 0FDD

To claim this, I am signing this object:

{
"name": "demac/chase",
"description": "Pending Description",
"authors": [
{
"name": "Demac Media",
"email": "support@demacmedia.com"
}
],
"config": {
{
"settings": {
"ignore_list": [
{ "type": "directory", "path": "app/code/core/"}
],
"file_extensions": ["php", "phtml"],
"standards": ["ECG","Zend"],
"report": "json",
"files": [ "app/code/local/Demac/Bogo/Model/Observer.php", "app/code/local/Demac/"]
}
{
"phpcs":{
"files":{
"app\/code\/community\/Demac\/Chase\/Model\/Adapter\/DatabaseAdapter.php":{
"issues":[
],
"scores":{
"errors":0,
"warnings":0,
<?xml version="1.0"?>
<package>
<name>666999</name>
<version>0.3.5</version>
<stability>beta</stability>
<license uri="http://opensource.org/licenses/gpl-license.php">GPL</license>
<channel>community</channel>
<extends />
<summary>Securely access and process online payments with the NETBANX payment gateway.</summary>
<description>The Optimal Payments NETBANX Hosted Payment Extension allows ecommerce businesses to securely accept and process online payments using Optimal&amp;#x2019;s NETBANX payment gateway and services. The integration is easy to implement and provides the ultimate in payment processing capabilities, fraud management, and reporting.&amp;#xD;
@amacgregor
amacgregor / Command.php
Created December 16, 2014 14:29
L4shell patched
<?php
namespace Netson\L4shell;
use Config;
use Log;
use File;
class Command {
/**