# replace $pull_request with the pull request number
git fetch origin +refs/pull/$pull_request/merge
git checkout FETCH_HEAD
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 const ComplexAddresses = [ | |
| { | |
| city: "City name 1", | |
| state: "State name 1", | |
| zip: "0001", | |
| capital: "capital", | |
| price: "high", | |
| cost: "very high cost", | |
| stuff: "some stuff long value", | |
| }, |
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
| function fetchDataFromGoogleSheets(sheetId, sheetName) { | |
| try { | |
| console.info ("Currently fetching spreadsheet") | |
| var sheet = SpreadsheetApp.openById(sheetId).getSheetByName(sheetName); | |
| if (!sheet) return {}; | |
| console.info ("Currently fetching spreadsheet data") | |
| var sheetData = sheet.getDataRange().getValues(); |
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
| 2606:4700::6810:1723 registry.yarnpkg.com | |
| 2606:4700::6810:1723 registry.npmjs.org | |
| 2606:4700::6810:ab63 yarnpkg.com |
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
| @echo off | |
| REM echo %1 | |
| for /f %%i in ('uuid') do set NEWFILENAME=%%i | |
| REM echo "%NEWFILENAME%" | |
| ffmpeg -i %1 "%NEWFILENAME%.mp4" | |
| REM ffmpeg -i %1 -crf 25 "%NEWFILENAME%.mp4" |
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 | |
| cd "$( dirname "${BASH_SOURCE[0]}" )" | |
| echo "$1" | |
| sleep 3s | |
| ffmpeg -i "$1" "$(uuid).mp4" | |
| sleep 5s |
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
| https://stackblitz.com/edit/react-hooks-useeffect-example-ff2z3v?file=index.js |
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 | |
| # an array for the arguments | |
| declare -a args | |
| declare -a audio | |
| declare -a subs | |
| rm -f merge.bat | |
| # color codes | |
| sh_b="\e[1;34m" # blue, welcome text |
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
| function _composer_scripts() { | |
| local cmd commands cur ref subcmd; | |
| _get_comp_words_by_ref -n : cur | |
| COMPREPLY=() | |
| cmd="${COMP_WORDS[0]/#\~/$HOME}" | |
| subcmd="${COMP_WORDS[0]}" | |
| commands=$("$cmd" --no-ansi 2> /dev/null | sed '/script as defined in composer.json./d' | awk '/^ +[a-z]+/ { printf "%s ",$1 }') | |
| ref=" ${commands[@]} " |
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
| version: '3' | |
| networks: | |
| frontend: | |
| driver: ${NETWORKS_DRIVER} | |
| backend: | |
| driver: ${NETWORKS_DRIVER} | |
| volumes: | |
| mysql: |
NewerOlder