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 / 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
%ul.social-share
%li.text Share on:
%li
- summary = "#{@gallery.title} #{@gallery.gallery_type} #{@gallery.subtitle}"
- link = "http://www.facebook.com/sharer/sharer.php?s=100&p[url]=#{url_encode(request.url)}&p[images][0]=&p[title]=#{url_encode(@gallery.title)}&p[summary]=#{url_encode(summary)}"
= link_to link, target: "_blank" do
%i.icon-facebook
%li
- status = "#{@gallery.title} #{@gallery.gallery_type} #{@gallery.subtitle}"
- link = "http://twitter.com/home?status=#{url_encode(status)}"
# /etc/nginx/sites-enabled/berlin
upstream spree.ryanbigg.com {
# fail_timeout=0 means we always retry an upstream even if it failed
# to return a good HTTP response (in case the Unicorn master nukes a
# single worker for timing out).
# for UNIX domain socket setups:
server unix:/tmp/berlin.socket fail_timeout=0;
}
require 'spec_helper'
feature 'import xls spreadsheet of members' do
scenario 'importing members from spreadsheet' do
pending
end
scenario 'importing members from spreadsheet with errors' do
pending

https://github.com/thoughtbot/laptop | thoughtbot/laptop https://github.com/thoughtbot/dotfiles | thoughtbot/dotfiles https://github.com/jetrockets/attrio | jetrockets/attrio https://www.solanolabs.com/product | Solano Labs | Product http://robots.thoughtbot.com/post/56828751507/how-to-create-postgres-indexes-concurrently-in | How to Create Postgres Indexes Concurrently in ActiveRecord Migrations http://robots.thoughtbot.com/post/55689359336/the-perils-of-uniqueness-validations | The Perils of Uniqueness Validations https://github.com/trptcolin/consistency_fail | trptcolin/consistency_fail http://dansowter.com/mailman-guide/ | dansowter.com | Mailman Guide https://discussions.apple.com/thread/4932384?start=0&tstart=0 | Quicktime Screen Recording Makes Green...: Apple Support Communities http://www.timseverien.nl/promin/ | Promin - sexy forms

@jaymiejones86
jaymiejones86 / ftpquoatcheck.sh
Created May 6, 2013 22:55
Force Update of FTP Quotes in cPanel
/scripts/ftpquotacheck --force