- copy the file
commit-msgto.git/hooks/commit-msg - make sure your delete the sample file
.git/hooks/commit-msg.sample - Make commit msg executable.
chmod +x .git/hooks/commit-msg - Edit
commit-msgto better fit your development branch, commit regex and error message - Profit $$
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 executeGenerator(generator, yieldValue) { | |
| let next = generator.next(yieldValue); | |
| if (!next.done) { | |
| next.value.then( | |
| result => executeGenerator(generator, result), | |
| err => generator.throw(err) | |
| ); | |
| } else { | |
| // catch return of generator |
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
| pragma solidity ^0.4.0; | |
| contract Ownable { | |
| address owner; | |
| function Ownable() public { | |
| owner = msg.sender; | |
| } | |
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
| const path = require('path'); | |
| // react-native >= 0.57 | |
| const extraNodeModules = { | |
| 'qb-core': path.resolve(__dirname + '/../qb-core/'), | |
| }; | |
| const watchFolders = [ | |
| path.resolve(__dirname + '/../qb-core/') | |
| ]; |
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 | |
| # wget -q -O stratos.sh https://api.nodes.guru/stratos.sh && chmod +x stratos.sh && sudo /bin/bash stratos.sh | |
| exists() | |
| { | |
| command -v "$1" >/dev/null 2>&1 | |
| } | |
| if exists curl; then | |
| echo '' |
OlderNewer