Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Jaymie Jones jaymiejones86

🏠
Working from home
Block or report user

Report or block jaymiejones86

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
@jaymiejones86
jaymiejones86 / keybase.md
Created Jul 9, 2019
Keybase Verification
View keybase.md

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:

View create_organisation.rb
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 Dec 5, 2016
Coder Catchup Episode 100 - 5 Questions
View codercatchup-episode-100-questions.md

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 Nov 14, 2016
Drupal Gold Coast Notes - November 2016
View notes.md
@jaymiejones86
jaymiejones86 / notes.txt
Created Sep 27, 2016
Drupal Gold Coast September 2016 News
View notes.txt
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 Aug 16, 2016
Drupal Gold Coast - August 2016 News Notes
View notes_2016_08_august.md
@jaymiejones86
jaymiejones86 / drupal.md
Created May 18, 2016
Drupal Gold Coast April/May 2016
View drupal.md

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 Feb 11, 2016
Block XMLRPC in Wordpress
View wp-config.php
// After last line in config where the require is add
add_filter('xmlrpc_enabled', '__return_false');
@jaymiejones86
jaymiejones86 / feature_spec.rb
Last active Jan 5, 2016
React select box selection
View feature_spec.rb
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
View 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
You can’t perform that action at this time.