Skip to content

Instantly share code, notes, and snippets.

View rlnorthcutt's full-sized avatar
🇺🇦

Ron Northcutt rlnorthcutt

🇺🇦
View GitHub Profile
Verifying my Blockstack ID is secured with the address 12B9JABVzJob3JLcgAkp1KaEpJzqrjdLiE https://explorer.blockstack.org/address/12B9JABVzJob3JLcgAkp1KaEpJzqrjdLiE
#!/bin/bash
skipped=()
# Ask user which file to use for aliases, or if to run it straight
echo "Which file contains the list of the sites that you want URLs for?"
read alias_command
if test -f $alias_command; then
oldIFS="$IFS"
@rlnorthcutt
rlnorthcutt / restws_check.sh
Created July 14, 2016 13:32
These two shell scripts work to update your sites that are running an insecure version of RestWS. It should work for any Drush enabled system, but is created for the Acquia Cloud.
#!/bin/bash
# Setup array variables
d8_sites=()
d7_sites=()
d7_restws=()
error_sites=()
# Ask user which file to use for aliases, or if to run it straight
echo "Which file contains the list of aliases to check?"
<!-- No PHP in the template, even though it has the PHP extension on the file. -->
<div class={{ classes }} pod">
<div class="pod--inner">
<h3>{{ title }}</h3>
{{ image }}
<p>{{ promo }}</p>
{{ link }}
<p><small>{{ terms }}</small></p>
</div>
</div>
api = 2
core = 7.x
projects[] = "drupal"
projects[sprout][type] = profile
projects[sprout][download][type] = "git"
projects[sprout][download][url] = "http://git.drupal.org/project/sprout.git"

Keybase proof

I hereby claim:

  • I am rlnorthcutt on github.
  • I am rlnorthcutt (https://keybase.io/rlnorthcutt) on keybase.
  • I have a public key whose fingerprint is EC19 9FA3 4BB6 741D EE96 8EC5 1BFE 51B3 A214 5B36

To claim this, I am signing this object:

@rlnorthcutt
rlnorthcutt / gist:1e3a2fb5a5770ec338fb
Created November 14, 2014 18:46
onename verification
Verifying that +rlnorthcutt is my openname (Bitcoin username). https://onename.io/rlnorthcutt
/**
* Implements hook_form_alter().
*/
function MYMODULE_form_alter(&$form, &$form_state, $form_id) {
// If you have the Devel module turned on, use this to inspect the form array
// You can also use the form id to select a specific node type (like "article_node_form")
// dpm($form);
// dpm($form_id);
// The isset() here is just to prevent PHP notices for forms where its not present