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
| # You can use `funced` to edit these or just run this script. | |
| # If you want them there for you next time, be sure to `funcsave` them | |
| function lessq --description 'View github.com/y0ssar1an/q go debug logs' | |
| set fname {$TMPDIR}q | |
| echo 'q.Q watcher help: ^C to browse, F to resume following' > $fname | |
| less -R +F $fname | |
| end | |
| function lessw --description 'Like tail -f but with less powers. ^C to scroll and search. F to resume watching.' --argument fname |
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
| H = React.Dom | |
| H.div className: "page-wrapper", | |
| H.style null, | |
| """ | |
| .header-section {background: red !important;} | |
| .primary-action {background: red !important;} | |
| .primary-action:hover, .primary-action.hover {border: 1px solid red !important;} | |
| """ |
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
| // This module loads a config file in the current working directory matching the NODE_ENV variable. | |
| // I.e. either './development.js' or './production.js' based on the process.env.NODE_ENV variable. | |
| // If not set, it defaults to './development.js'. | |
| // Can load custom environment files as well, as long as the NODE_ENV variable matches | |
| // a file in the current directory. E.g. './staging.js' | |
| // Usage: calling code can just require this module, e.g. "var config = require('./config')" | |
| // assuming this file is named "index.js" and lives in a subdirectory named "config" of the app root. | |
| var config | |
| , config_file = './' + (process.env.NODE_ENV ? process.env.NODE_ENV : 'development') + '.js'; |
NewerOlder