Skip to content

Instantly share code, notes, and snippets.

View jaymiejones86's full-sized avatar
🏠
Working from home

Jaymie Jones jaymiejones86

🏠
Working from home
View GitHub Profile
@jaymiejones86
jaymiejones86 / keybase.md
Created July 9, 2019 05:54
Keybase Verification

Keybase proof

I hereby claim:

  • I am jaymiejones86 on github.
  • I am jaymiejones86 (https://keybase.io/jaymiejones86) on keybase.
  • I have a public key ASCAX71375M9gyF3z4nOV_SX2q1flBYLOqw5mGiA3kj3Ago

To claim this, I am signing this object:

@jaymiejones86
jaymiejones86 / create_organisation.rb
Created June 12, 2017 23:39
Hanami Interactor Example
require 'hanami/interactor'
class CreateOrganisation
include Hanami::Interactor
def initialize(params)
params[:id] = NormalizeParameterName.format(params[:id])
@params = params
@organisation = Organisation.new(@params)
end
@jaymiejones86
jaymiejones86 / codercatchup-episode-100-questions.md
Created December 5, 2016 12:24
Coder Catchup Episode 100 - 5 Questions

I have a podcast called Coder Catchup which you can find at http://codercatchup.com/ or on twitter https://twitter.com/codercatchup and I am approaching Episode 100 of the weekly podcast series I am doing.

The podcast is about spreading information to anyone who works on the web, things that may hopefully improve their career or open up other opportunities or thought processes.

For episode 100 I am seeking out various people in the web community and asking if they would mind answering 5 question that will be read out on the episode.

Would you mind answering these questions for me? All good if you do not wish to or cannot.

  • If you were starting fresh, what would you primarily focus on? (e.g. as a new web designer/developer)
  • What is one piece of advice you think is most important for web developers/designers going forward?
@jaymiejones86
jaymiejones86 / notes.md
Last active November 14, 2016 11:56
Drupal Gold Coast Notes - November 2016
@jaymiejones86
jaymiejones86 / notes.txt
Created September 27, 2016 07:28
Drupal Gold Coast September 2016 News
Core
Drupal 8.2.0-rc1 is available for testing
https://www.drupal.org/blog/drupal-8-2-0-rc1
Security Release 8.x
https://www.drupal.org/SA-CORE-2016-004
Articles
Base themes without the bloat
@jaymiejones86
jaymiejones86 / notes_2016_08_august.md
Last active August 16, 2016 09:49
Drupal Gold Coast - August 2016 News Notes
@jaymiejones86
jaymiejones86 / drupal.md
Created May 18, 2016 11:15
Drupal Gold Coast April/May 2016

Drupal April/May 2016

Core Drupal 8.0.6 This is also the final scheduled patch release of the 8.0.x series. The next stable release planned for Drupal 8 will be the Drupal 8.1.0 minor release, which is scheduled for April 20, 2016. Sites should plan to update to 8.1.0 once it is released in order to continue receiving bug and security fixes. A release candidate will be available for testing soon. https://www.drupal.org/drupal-8.0.6-release-notes

Migration update for Drupal 8.1 http://mikeryan.name/blog/mikeryan/migration-update-for-drupal-8-1

@jaymiejones86
jaymiejones86 / wp-config.php
Created February 11, 2016 23:08
Block XMLRPC in Wordpress
// After last line in config where the require is add
add_filter('xmlrpc_enabled', '__return_false');
@jaymiejones86
jaymiejones86 / feature_spec.rb
Last active January 5, 2016 21:39
React select box selection
scenario 'I can select an option through js rendered element', js: true do
fill_in 'email', with: 'john@example.com'
script = "$('#role').val('admin')"
page.execute_script(script)
page.execute_script("React.addons.TestUtils.Simulate.change(document.getElementById('role'))")
click_button 'Add User'
expect(unread_emails_for('john@example.com').size).to eq(1)
end
@jaymiejones86
jaymiejones86 / site_check
Created November 2, 2015 21:53
Site Check
bundle exec brakeman -o security.html
bundle exec rails_best_practices --output-file best_practices.html -f html .
open security.html
open best_practices.html
bundle-audit