Skip to content

Instantly share code, notes, and snippets.

@ybroze
ybroze / not_in_core_mage
Last active September 12, 2018 23:33
Tables not in Core Magento
amasty_stockstatus_quantityranges
api_payment_profiles
april_easy_box_history
april_hard_box_shipments
arb_payment_profiles
arb_subscriptions
arb_transactions
auth_net_transactions
authnet_litle_link
aw_core_logger
@ybroze
ybroze / repositories.py
Created September 6, 2018 01:40
Pull Github repos to a csv (stdout)
"""
Code to manage and analyze Github repositories using the Github API.
This is a grab bag of functions / utility methods, not particularly meant for
any kind of production usage. Maybe one day we can create a simple command line
interface specification or something.
For now, the __main__ method is used to pull a list of repos and output a csv
to standard output.
Current Usage:
python repositories.py > repo_list.csv
"""
@ybroze
ybroze / gist:508887e0221f0fd8253d1ded5cda9309
Created December 21, 2017 16:54
tools server test failures
Failures:
1) Pim::VendorsController POST create with invalid params redirects to the index page
Failure/Error: response.should redirect_to(pim_vendors_path)
Expected response to be a <:redirect>, but was <200>
# ./spec/controllers/pim/vendors_controller_spec.rb:123:in `block (4 levels) in <top (required)>'
2) Pim::ProductsController POST create with invalid params redirects to the index page
Failure/Error: response.should redirect_to(pim_products_path)
Expected response to be a <:redirect>, but was <200>
@ybroze
ybroze / .gitconfig
Created June 3, 2016 17:17 — forked from pksunkara/config
Sample of git config file (Example .gitconfig)
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[sendemail]
smtpencryption = tls
smtpserver = smtp.gmail.com
@ybroze
ybroze / encrypted-git-repo.md
Created October 15, 2015 00:39
Transparent Git Encryption

Transparent Git Encryption

This document has been modified from its [original format][m1], which was written by Ning Shang (geek@cerias.net). It has been updated and reformatted into a [Markdown][m2] document by [Woody Gilk][m3] and [republished][m4].

Description

When working with a remote git repository which is hosted on a third-party storage server, data confidentiality sometimes becomes

@ybroze
ybroze / test.py
Created January 18, 2014 22:11
This is just a test gist.
import derp
print derp.blat()