This file contains 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 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 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 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 |