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
/** | |
* Curry function that will prepend given arguments to the provided function | |
* before being run. | |
* | |
* (Technically this isn't true curry'ing, but it makes enough sense to call it that here for now) | |
* | |
* @param {[Function]} func | |
* @param {...[mixed]} args | |
* @return {[Function]} | |
*/ |
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/sh | |
# Colors | |
C_RESET="\033[0m" | |
C_ERROR="\033[0;97m\033[41m" | |
C_GOLD="\033[0;33m" | |
C_CYAN="\033[0;36m" | |
C_GREEN="\033[0;32m" | |
display_error () { |