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
| // Uses Node, AMD or browser globals to create a module. This example creates | |
| // a global even when AMD is used. This is useful if you have some scripts | |
| // that are loaded by an AMD loader, but they still want access to globals. | |
| // If you do not need to export a global for the AMD case, | |
| // see returnExports.js. | |
| // If you want something that will work in other stricter CommonJS environments, | |
| // or if you need to create a circular dependency, see commonJsStrictGlobal.js | |
| // Defines a module "returnExportsGlobal" that depends another module called |
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
| // Uses Node, AMD or browser globals to create a module. This example creates | |
| // a global even when AMD is used. This is useful if you have some scripts | |
| // that are loaded by an AMD loader, but they still want access to globals. | |
| // If you do not need to export a global for the AMD case, | |
| // see returnExports.js. | |
| // If you want something that will work in other stricter CommonJS environments, | |
| // or if you need to create a circular dependency, see commonJsStrictGlobal.js | |
| // Defines a module "returnExportsGlobal" that depends another module called |
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 | |
| # Check for correct number of arguments | |
| if [ "$#" -ne 2 ]; then | |
| echo "Usage: $0 <PID> <Label>" | |
| exit 1 | |
| fi | |
| PID=$1 | |
| LABEL=$2 |
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
| // App.tsx: | |
| import React from 'react'; | |
| import { QueryClient, QueryClientProvider } from 'react-query'; | |
| import { TotalCommitsCount } from './TotalCommitsCount'; | |
| import { Commits } from './Commits'; | |
| const queryClient = new QueryClient(); | |
| const App = () => ( | |
| <QueryClientProvider client={queryClient}> |
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
| ## Writing Guidelines | |
| ### Core Principles (Zinsser Method) | |
| **Brevity is power.** Strip every sentence to its cleanest components. Remove every word that serves no function. Replace phrases with words. Choose simple words over complex ones. | |
| ### Clutter Elimination | |
| - Cut qualifiers: "very", "quite", "rather", "somewhat", "pretty much" | |
| - Remove redundant pairs: "each and every", "first and foremost", "various and sundry" | |
| - Eliminate throat-clearing: "It is important to note that", "The fact that" | |
| - Avoid inflated phrases: Use "now" not "at this point in time" |