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
| unbindall | |
| bind "1" "slot1" | |
| bind "2" "slot2" | |
| bind "3" "slot3" | |
| bind "4" "slot4" | |
| bind "5" "slot5" | |
| bind "6" "slot6" | |
| bind "9" "slot9" | |
| bind "a" "+moveleft" | |
| bind "b" "buymenu" |
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 | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "This script must be run using sudo or as the root user." | |
| exit 1 | |
| fi | |
| echo "EAP Controller on Raspberry Pi" | |
| echo "==============================" | |
| echo "Author: Arthur Gay <[email protected]>" |
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 "Patch file controller.sh" | |
| TEMP_FILE=$(mktemp) | |
| echo<<EOF >$(TEMPFILE) | |
| 8c8 | |
| < JAVA_TOOL=${JRE_HOME}/bin/java | |
| --- | |
| > JAVA_TOOL=java | |
| 68c68 | |
| < ${PORTT_TOOL} 127.0.0.1 8088 500 | |
| --- |
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
| sass/ | |
| | | |
| |– base/ | |
| | |– _reset.scss # Reset/normalize | |
| | |– _typography.scss # Typography rules | |
| | ... # Etc… | |
| | | |
| |– components/ | |
| | |– _buttons.scss # Buttons | |
| | |– _carousel.scss # Carousel |
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 | |
| set -e | |
| set -u | |
| set -o pipefail | |
| prefix="[email protected]:mygroup" | |
| target="$1" | |
| shift |
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
| import React, { useContext, useState } from 'react'; | |
| function useCounterContext() { | |
| const [counter, setCounter] = useState(0); | |
| return { | |
| counter, | |
| setCounter, | |
| } as const; | |
| } |
OlderNewer