This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
libraries-extend: | |
# Improve interoperability between MyTheme and the Drupal admin toolbar. | |
toolbar/toolbar: | |
- mytheme/toolbar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* @file | |
* Google Sheets XHR insert script. | |
* | |
* From: https://gist.github.com/jameswilson/0dea86b63741ee4a723cc568c09796ea | |
* | |
* Setup instructions: | |
* | |
* 1. Create a new Google Sheet and add column names in Row 1. | |
* 2. Click "Tools" > "Script editor" from the toolbar. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout old_branch_name # Ensure you're on the local branch. | |
git branch -M new_branch_name # Rename branch locally. | |
git branch --unset-upstream # unset | |
git push origin :old_branch_name # Delete the old branch | |
git push -u origin new_branch_name # Push the new branch, set local branch to track the new remote |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{# | |
/** | |
* @file | |
* Theme override to display a node. | |
* | |
* Available variables: | |
* - see Stable Theme's node.twig.html for standard variables. | |
* - has_page_title: Flag for page title block visibility. Will be true when | |
* the iu_page_title block is present on the page. This is useful to add the | |
* H1 inside the article when page title block not present. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Git command to compare which branches are merged into one branch but not | |
# present in another. Useful for comparing which branches have been merged | |
# into a release branch that are already on the mainline branch. | |
# | |
# Usage: | |
# | |
# git mdiff origin/master origin/integration | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Custom script to make jquery-ui dialog responsive. | |
* http://stackoverflow.com/a/16471891/413538 | |
*/ | |
(function ($) { | |
"use strict"; | |
function fluidDialog() { | |
var $visible = $(".ui-dialog:visible"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Place this in your home directory's ~/.gitconfig file | |
[alias] | |
# a shorthand alias for a pretty cli git log graph | |
tree = "!git log --graph --decorate --pretty=format:'%C(yellow)%h %Cred%cr %Cblue(%an)%C(cyan)%d%Creset %s' --abbrev-commit --all" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
''' | |
Steps: | |
1. Create any milestones | |
2. Create any labels | |
3. Create each issue, linking them to milestones and labels | |
3.1: Update status for new issue if closed | |
4: Create all the comments for each issue | |
''' | |
import getpass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background: #fff; | |
} | |
.postbg { | |
background: transparent; | |
box-shadow: none; | |
} | |
.header_area { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.