pip3 install pipenv
pipenv shell
| #!/usr/bin/env python | |
| # vim: set fileencoding=utf-8 | |
| # | |
| # USAGE: | |
| # Back up your tmux old config, run the script and redirect stdout to your conf | |
| # file. Example: | |
| # | |
| # $ cp ~/.tmux.conf ~/.tmux.conf.orig | |
| # $ python ./tmux-migrate-options.py ~/.tmux.conf.orig > ~/.tmux.conf | |
| # |
| /* GP mobile heading sizes */ | |
| @media (max-width: 768px) { | |
| h3 { | |
| font-size: 28px; | |
| } | |
| h4 { | |
| font-size: 24px; | |
| } |
| [general] | |
| targets = github_pawamoy | |
| shorten = True | |
| inline_links = False | |
| annotation_links = True | |
| annotation_comments = False | |
| legacy_matching = False |
| add_filter( 'generate_header_element_display', function( $display ) { | |
| if ( ! has_post_thumbnail() ) { | |
| return false; | |
| } | |
| return $display; | |
| } ); |
| <?php | |
| /** | |
| * WARNING! THIS SNIPPET MAY BE OUTDATED. | |
| * The latest version of this snippet can be found in the Gravity Wiz Snippet Library: | |
| * https://github.com/gravitywiz/snippet-library/blob/master/gp-nested-forms/gpnf-display-child-entries-table-format.php | |
| */ | |
| /** | |
| * Gravity Perks // GP Nested Forms // Display Table Format for All Fields | |
| * http://gravitywiz.com/documentation/gravity-forms-nested-forms/ | |
| * |
| <script type="text/javascript"> | |
| jQuery(document).bind('gform_post_render', function(e, formId, currentFormPage) { | |
| var $form = jQuery('#gform_' + formId); | |
| if ($form.data('configurator-init') === true) { | |
| return; | |
| } | |
| $form.on('click', '.config-layer.image-choices-field .ginput_container_radio input', function (e) { |
| /* Global for both forms on page */ | |
| ul.gfield_radio li:not(:last-child), ul.gfield_checkbox li:not(:last-child), | |
| .image-choices-field .image-choices-choice, | |
| .image-choices-field .image-choices-choice .image-choices-choice-selected { | |
| margin-right:0px!important; | |
| border:none!important; | |
| } | |
| .gfield:not(:last-child) { | |
| margin-bottom:0px!important; | |
| } |
| <?php | |
| /* | |
| Plugin Name: Custom Functions Plugin | |
| Plugin URI: https://wpnathan.com | |
| Description: A set of custom functions for client websites. | |
| Version: 1.0 | |
| Author: Nathan Ingram | |
| Author URI: https://wpnathan.com | |
| License: GPL2 | |
| */ |
You should have the following completed on your computer before the workshop:
yarn with brew install yarn.