- Every command should support a
--jsonflag for machine-parseable output - JSON goes to stdout; progress, warnings, and debug info go to stderr
- Keep JSON structures flat and types consistent across commands (e.g. ISO 8601 dates everywhere)
- Detect TTY and auto-switch between human-friendly tables and machine-friendly output
- Respect
NO_COLORenv var; support--no-color,--plain,--quietflags - Consider built-in filtering (
--jq,--query) to reduce need for external tools
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 python3 | |
| “”” | |
| DJ Set Tracklist Generator | |
| Identifies tracks in long audio recordings (DJ sets, radio shows, etc.) | |
| by slicing them into 30-second samples and running each through Shazam. | |
| Supports single files, multiple files, or entire directories. | |
| Requirements: |
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 | |
| /** | |
| * Plugin Name: Plugin Activity Logger | |
| * Description: Logs plugin installations, activations, deactivations, updates (with from/to versions if available), and deletions. Handles both single and bulk updates. Attempts to log failed updates as well. | |
| * Version: 3.3 | |
| * Author: Needmore Designs | |
| */ | |
| if (!defined('ABSPATH')) { | |
| exit; // Exit if accessed directly. |
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 | |
| /* | |
| Plugin Name: Plugin Manager | |
| Description: This plugin helps manage other plugins by tracking who installed them, the installation date, and a description. | |
| Version: 1.0 | |
| Author: Needmore Designs | |
| */ | |
| // Create custom table | |
| function pm_create_table() |
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
| /* Variables so we can try alternates. You can use serif fonts, | |
| for example, by transposing some lines. */ | |
| body { | |
| --font-variable-width: -apple-system-ui-serif, ui-serif, Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; | |
| --font-variable-width: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | |
| --font-monospace: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace; | |
| } | |
| /* General text */ | |
| body, |
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
| <main> | |
| <?php get_template_part( 'parts/layouts/home', 'intro' ); ?> | |
| <?php get_template_part( 'parts/layouts/home', 'slider' ); ?> | |
| <?php get_template_part( 'parts/product', 'grid' ); ?> | |
| <?php get_template_part( 'parts/layouts/home', 'outro' ); ?> | |
| <?php // or, you can just try to load them ALL, from the next template ?> | |
| <?php get_template_part('parts/content', 'layouts'); ?> |
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 | |
| # move_git - A script to move a repo from bitbucket to beanstalk | |
| # Assumes you use a ~/Sites folder for these things, and are in it? | |
| # Will leave behind a tarred zipfile of the repository. | |
| # Note: Remember to create the repo in Beanstalk first! | |
| # Usage: move_git.sh repo_name |
- Planning
- Project Statement, Requirements Document
- Content Inventory and Mood Boards
- Site Map and Wireframes
- Pre-Build Test
- Building
- Design
- Development
-
- Markup layer
-
- Element layer
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
- Be an expert on web technologies involving images, typography, and layout.
- Understand the goals and concept of a design.
- Make a sitemap and wireframes that
- look professional
- answer the goals of the project and needs of the client
- Mock up the website in Sketch or Photoshop,
- Organizing and naming the layers intelligently
- Using symbols and styles wherever possible
- Build the style guide alongside the mockups
- Hand off all required assets for production, including
NewerOlder