start new:
tmux
start new with session name:
tmux new -s myname
| var prjMgrValues = [ | |
| {"proj_mgr":"Jack ProjManager","submitted_dollars":12000}, | |
| {"proj_mgr":"Jack ProjManager","submitted_dollars":750000}, | |
| {"proj_mgr":"Joe ProjManager","submitted_dollars":45000} | |
| ]; | |
| var output = | |
| _(prjMgrValues) | |
| .groupBy('proj_mgr') | |
| .map((objs, key) => ({ |
| var prjMgrValues = [ | |
| {"proj_mgr":"Jack ProjManager","submitted_dollars":12000}, | |
| {"proj_mgr":"Jack ProjManager","submitted_dollars":750000}, | |
| {"proj_mgr":"Joe ProjManager","submitted_dollars":45000} | |
| ]; | |
| var output = | |
| _(prjMgrValues) | |
| .groupBy('proj_mgr') | |
| .map((objs, key) => ({ |
| import * as Utils from '../utilities' | |
| class PlanetsListTable extends Component { | |
| componentDidMount() { | |
| new Promise((resolve, reject) => { | |
| Utils.getPlanets('https://swapi.co/api/planets', [], resolve, reject) | |
| }) | |
| .then(response => { | |
| this.props.loadPlanetsSuccess(response) | |
| }) |
| powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61 |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>/title> | |
| <link rel="stylesheet" href="css/style.css"> | |
| <!--[if IE]> | |
| <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
| <![endif]--> |
| # Logs | |
| logs | |
| *.log | |
| npm-debug.log* | |
| yarn-debug.log* | |
| yarn-error.log* | |
| # Runtime data | |
| pids | |
| *.pid |
| /** | |
| * Fancy ID generator that creates 20-character string identifiers with the following properties: | |
| * | |
| * 1. They're based on timestamp so that they sort *after* any existing ids. | |
| * 2. They contain 72-bits of random data after the timestamp so that IDs won't collide with other clients' IDs. | |
| * 3. They sort *lexicographically* (so the timestamp is converted to characters that will sort properly). | |
| * 4. They're monotonically increasing. Even if you generate more than one in the same timestamp, the | |
| * latter ones will sort after the former ones. We do this by using the previous random bits | |
| * but "incrementing" them by 1 (only in the case of a timestamp collision). | |
| */ |
| version: 2 | |
| jobs: | |
| build: | |
| working_directory: ~/app | |
| # The primary container is an instance of the first list image listed. Your build commands run in this container. | |
| docker: | |
| - image: cypress/base:8 | |
| environment: | |
| TERM: xterm | |
| steps: |
| forever start --uid "custom-name" server.js |