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 | |
| # Base setup uses starship.rs and nerdfonts for icons | |
| # - UbuntuMono Nerd Font — proportional icon widths (recommended for general use) | |
| # - UbuntuMono Nerd Font Mono — all icons forced to single-width (monospace strict) | |
| # - UbuntuMono Nerd Font Propo — proportional variant | |
| # Read JSON input from Claude Code | |
| input=$(cat) |
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
| <?php | |
| /* | |
| A quick snippet for getting basic data about courses. | |
| See: zippy-courses/app/Shortcodes/Views/CourseDirectory.php for more info on how the current Course Directory is set up. | |
| See: zippy-courses/lib/Models/Course/Course.php for available methods on course object | |
| */ | |
| $zippy = Zippy::instance(); |
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
| <?php | |
| /** | |
| * Disable Distraction Free Writing Mode and the "Auto Expanding" | |
| * height of the editor based on a list of post types. | |
| * | |
| * @return void | |
| */ | |
| function my_deregister_editor_expand($val, $post_type) | |
| { |
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
| // Source: http://janina.tumblr.com/post/3588081423/post-parent-different-type | |
| // Modified to be more generic | |
| add_action('admin_menu', function() { | |
| remove_meta_box( 'pageparentdiv', 'post-type', 'normal'); | |
| }); | |
| add_action('add_meta_boxes', function() { | |
| add_meta_box( 'post-type-parent', 'Section', 'post_type_attributes_meta_box', 'post-type', 'side', 'high'); | |
| }); |