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 node | |
| // gh-action-avg-runtime.js | |
| // Description: Calculates the average running time of a GitHub Action workflow using Node.js. | |
| // Dependencies: gh cli, jq | |
| import {exec} from 'node:child_process'; | |
| import { | |
| promisify, | |
| parseArgs, |
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
| <div class="canvas" id="canvasContainer" /> | |
| <script> | |
| import 'q5'; | |
| const canvasContainer = document.getElementById('canvasContainer'); | |
| if (!(canvasContainer instanceof HTMLElement)) { | |
| throw new Error('Canvas container not found'); | |
| } |
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
| ## On the branch to patch | |
| git format-patch master --stdout > [name].patch | |
| ## Change to the target branch | |
| git checkout [branch] | |
| ## Applays the patch while indicating conflicts | |
| git apply --3way changes.patch |
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
| window["optimizely"].push({ | |
| "type": "bucketVisitor", | |
| "experimentId": "30392500298", | |
| "variationId": '30403370293' | |
| }); |
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
| export * as SSOProvider from "./sso-providers.js"; | |
| export type SSOProvider = typeof SSOProvider[keyof typeof SSOProvider]; |
Fix isue of raylib rust on mac
brew link --overwrite cmake Compiling raylib-sys v3.7.0
error: failed to run custom build command for `raylib-sys v3.7.0`
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
| export interface ComponentWithInitialProps<T> extends React.FC<T> { | |
| getInitialProps: getInitialProps; | |
| } |
There are times notifications aren't wanted about either a changed repo file or a new file that needs to be added to the repo. However, adding the name of the file to .gitignore might not be a good option, either. For example, locally-generated files that other users aren't likely to generate (e.g., files created by an editor) or files of experimental test code might not be appropriate to appear in a .gitignore file.
In those cases, use one of these solutions:
-
If the file is a changed repo file
Use the command:
git update-index --assume-unchanged "$FILE"
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
| name: Delivery | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - release | |
| - hotfix | |
| - production | |
| - 'lab-[1-3]/**' |
NewerOlder