Skip to content

Instantly share code, notes, and snippets.

View steveostudios's full-sized avatar

Steve Stone steveostudios

View GitHub Profile
@ideaoforder
ideaoforder / magento-xml-rpc.txt
Last active February 10, 2017 17:47
Make XML RPC requests to a Magento store
Using Mac's XML-RPC app
https://itunes.apple.com/us/app/xml-rpc-client/id424424203?mt=12
Get your session key
Endpoint URI: https://www.yourstore.com/index.php/api/xmlrpc/
Method: login
Params: 'username', 'password'
Using that session key, you can get a product's stock, for instance
Endpoint URI: https://www.yourstore.com/index.php/api/xmlrpc/
@yoavniran
yoavniran / ultimate-ut-cheat-sheet.md
Last active May 6, 2024 12:29
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai, Sinon, and Jest
@mikermcneil
mikermcneil / sails_heroku_postgres.md
Last active February 19, 2016 07:23
How to configure a Sails.js app with a remote Postgres database hosted on Heroku

Using a PostgreSQL database on Heroku with Sails.js

The trick to setting up a Sails.js app with a remote Postgres database hosted on Heroku is all about SSL. Here's how you do it:

In your adapters.js file

Note: This is for Sails v0.9.x, the stable release at the time of this writing.

In Sails v0.10.x, the config/adapters.js file has been replaced with config/connections.js

@ndarville
ndarville / business-models.md
Last active January 13, 2024 17:27
Business models based on the compiled list at http://news.ycombinator.com/item?id=4924647. I find the link very hard to browse, so I made a simple version in Markdown instead.

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google
@devinrhode2
devinrhode2 / clean-scrollbar.css
Created May 2, 2012 03:42
Like, basically PERFECT scrollbars
/**
* Like, basically PERFECT scrollbars
*/
/*
It's pure CSS.
Since a quick google search will confirm people going crazy about Mac OS Lion scrollbars...
this has no fade-out effect.
In Mac OS Lion, the lowest common denominator is always showing scrollbars by a setting.