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
root@vultr:/klouds/klouds# pstree | |
init─┬─bash───rancher-compose───3*[{rancher-compose}] | |
root@vultr:/klouds/klouds# ps -aux | |
root 6289 0.0 0.2 12668 2768 ? S 00:01 0:00 bash wordpress.sh | |
root 6290 0.0 1.1 177124 11888 ? Sl 00:01 0:00 rancher-compose up | |
root@vultr:/klouds/klouds# ls -l /proc/6290/fd | |
total 0 |
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
import low from 'lowdb' | |
import { join } from 'path' | |
export default { | |
appsDb: low(join(__dirname, '/apps.json')), | |
stripeDb: low(join(__dirname, '/stripe.json')), | |
} |
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
import low from 'lowdb' | |
import { join } from 'path' | |
export default { | |
appsDb: low(join(__dirname, '/apps.json')), | |
stripeDb: low(join(__dirname, '/stripe.json')), | |
} |
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
import low from 'lowdb' | |
import { join } from 'path' | |
export default { | |
appsDb: low(join(__dirname, '/apps.json')), | |
stripeDb: low(join(__dirname, '/stripe.json')), | |
} |
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
node integrated command line |
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
integrated |
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
import optimist from 'optimist' | |
let parts = {} | |
parts.initialState = x => `initialState(props) { | |
${x} | |
}` | |
parts.defaultProps = x => `defaultProps: { | |
${x} | |
}` |
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
--shorten |
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
gist -P |