Grep Invert Match
Today I learned about the -v flag for grep. The -v, or --invert-match, flag, returns all lines that do not match your regular expression.
Today I learned about the -v flag for grep. The -v, or --invert-match, flag, returns all lines that do not match your regular expression.
At the 2017 Stanford Drupal Camp, I facilitated a conversation about "Lessons Learned from 2+ Years Using Behat".
As part of the Summer 2016 updates to Stanford Sites, we recently added several new modules that bring enhanced features and functionality to all users of the Stanford Sites service. This post is a highlight of the new modules added; detailed posts on several of them will follow.
Today's post is a quick tutorial how to use "git grep" and "git tag" to find the earliest tag that contains a particular line of code.
TL;DR: use:
git grep <regexp> $(git rev-list --all)
and
git tag --contains=<commit hash>
(Post last updated on: 9/6/16, 10:30AM)
University IT will perform maintenance on all websites on the Stanford Sites Drupal hosting service approximately bi-weekly from July 26th through September 23rd. Details on what is included in each update window are below, and we will update this post as we have more information.
The modern web developer has a variety of markup languages available for use in different contexts: XML, HTML, YAML, Markdown - the list goes on and on. Yet each has its limitation(s), whether that be performance, readability, or ease-of-use.
That all changes today with the introduction of the Syntactically Accurate Markup Language (SAML).
In November, 2015, the Stanford Web Services team got to dive into Drupal 8 during a weeklong sprint. I was excited to look at the RESTful web services that Drupal 8 gives out-of-the-box; what follows is my documentation of the various types of requests supported, required headers, responses, and response codes.
This is not intended to be an exhaustive documentation of RESTful web services in Drupal 8. However, I have pulled information from various posts around the Web, and my own experimentation, into this post.
Today I'm going to review the features and functionality of the WebAuth Extras module. It extends the venerable WebAuth Module for Drupal (WMD), which offers single-sign on (SSO) capability for Drupal sites at Stanford.
There are two user interfaces for WebAuth Extras: the web GUI, and drush.
University IT will perform security updates on all websites on the Stanford Sites Drupal hosting service on the following dates:
Tuesday, September 1st, from 8 a.m. to 4 p.m.: personal sites hosted on people.stanford.edu; group and department sites hosted on sites.stanford.edu
Wednesday, September 2nd, from 8 a.m. to 4 p.m. (if needed): group and department sites hosted on sites.stanford.edu
These changes include updating Drupal core to the latest release, security-related module upgrades, and bug fixes for both Drupal 6 and 7 sites. See below for a complete list of updated and new modules.
University IT will perform maintenance on all websites on the Stanford Sites Drupal hosting service on the following dates:
Friday, July 24th, from 9 a.m. - 5 p.m.: personal sites hosted on people.stanford.edu
Saturday, July 25th, from 4 a.m. - 8 a.m.: group and department sites hosted on sites.stanford.edu
Sunday, July 26th, from 4 a.m. - 8 a.m.: group and department sites hosted on sites.stanford.edu
These changes are significant and include updating Drupal core to the latest release, security-related module upgrades, new modules, and theme updates for both Drupal 6 and 7 sites. See below for a complete list of updated and new modules.