Skip to content

Instantly share code, notes, and snippets.

Jason Conroy jconroy

  • Prospress Inc.
  • Australia
Block or report user

Report or block jconroy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jconroy / codeception-example.yml
Created Dec 6, 2017
Example codecption webdriver config
View codeception-example.yml
- WebDriver:
host: 'http://localhost:4444/wd/hub'
port: 4444
browser: chrome ( 'firefox' or 'phantomjs' etc. )
jconroy / php-webdriver-example.php
Created Dec 6, 2017
Example php-webdriver host config
View php-webdriver-example.php
$host = 'http://localhost:4444/wd/hub';
// For Chrome
$capabilities = DesiredCapabilities::chrome();
$capabilities->setCapability( 'acceptSslCerts', true );
// For Firefox
//$capabilities = DesiredCapabilities::firefox();
//$capabilities->setCapability( 'acceptInsecureCerts', true );
jconroy / .htaccess
Created Nov 28, 2017
HTTP_AUTHORIZATION modification for WP .htaccess file
View .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
jconroy / wp-login-api-discovery.php
Last active Nov 28, 2018
WP Login Page API Disovery
View wp-login-api-discovery.php
Plugin Name: WP Login Page API Disovery
Plugin URI:
Description: Adds the WP REST API link header and link element to the wp-login.php page.
Author: Robot Ninja, Jason Conroy
Version: 1.0
Author URI:
jconroy /
Created Nov 7, 2017
Customer Interview Script Template

Customer Interview Script Template

Interviewer Customer Date
[name] [name] [DD/MM/YYYY 00:00am]


Do not talk about the idea/solution

jconroy /
Created Sep 2, 2017 — forked from ryanscherler/
Use Homebrew PHP with OpenSSL instead of SecureTransport
jconroy / dl-file.php
Created Feb 25, 2017 — forked from hakre/dl-file.php
Wordpress login to download uploaded files
View dl-file.php
* dl-file.php
* Protect uploaded files with login.
* @link
* @author hakre <>
* @license GPL-3.0+
View patch-edid.rb
# Create display override file to force Mac OS X to use RGB mode for Display
# see
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`

Let's say you have an iOS project, and you want to use some external library, like AFNetworking. How do you integrate it?

With submodules

Add the project to your repo:

git submodule add Vendor/AFNetworking

or something to that effect.

View responsive_likebox.html
<!DOCTYPE html>
<script src="//" type="text/javascript"></script>
<div id="container" style="width:100%;">
<div class="fb-like-box" data-href="" data-width="292" data-show-faces="true" data-stream="true" data-header="true"></div>
You can’t perform that action at this time.