Skip to content

Instantly share code, notes, and snippets.

@zmorris
zmorris / debug.md
Created April 3, 2018 21:12
Gherkin .feature file tables not aligned correctly
@zmorris
zmorris / debug.md
Created April 3, 2018 20:58
"End with newline" should be in General section of settings
@zmorris
zmorris / debug.md
Created April 3, 2018 20:39
Gherkin tables not aligned correctly
########## Cloudservices ##########
export SAUCE_USERNAME="username"
export SAUCE_ACCESS_KEY="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
node examples/cloudservices/webdriverio.saucelabs.js
<no output, nothing in https://saucelabs.com/beta/archives>
export BROWSERSTACK_USERNAME="username"
export BROWSERSTACK_ACCESS_KEY="XXXXXXXXXXXXXXXXXXXX"
node examples/cloudservices/webdriverio.browserstack.js
@zmorris
zmorris / loadimage.cpp
Created February 3, 2012 17:22
LoadImage()
#include "CoreGraphics/CGDataProvider.h"
#include "CoreGraphics/CGImage.h"
#include "CoreGraphics/CGBitmapContext.h"
void* LoadImage( const char *path, int *width, int *height )
{
CGDataProviderRef dataProvider = CGDataProviderCreateWithFilename( path );
UInt8 *pixels = nil;
if( dataProvider )