Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Jaymie Jones jaymiejones86

View GitHub Profile
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
View Three Wise Monkeys.md

Date: [date]

Between us [company name] and you [customer name].

Summary:

In short; neither of us will share any confidential information about each-other, by any means, with anyone else.

What’s confidential information?

You can’t perform that action at this time.