start new:
tmux
start new with session name:
tmux new -s myname
| # First install tmux | |
| brew install tmux | |
| # For mouse support (for switching panes and windows) | |
| # Only needed if you are using Terminal.app (iTerm has mouse support) | |
| Install http://www.culater.net/software/SIMBL/SIMBL.php | |
| Then install https://bitheap.org/mouseterm/ | |
| # More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/ |
| # create a file C:\Users\[user]\.bashrc | |
| # add this content | |
| # add your onw aliases or changes these ones as you like | |
| # to make a dot (.bashrs) file in windows, create a file ".bashrs." (without extention) and save. windows will save it as ".bashrc" | |
| alias ls='ls -alh' | |
| alias cdnginx='cd /c/nginx && ls' | |
| alias cdmcga='cd /c/Users/[user]/sbox/node/mcga && ls' | |
| alias cdfood9='cd /c/Users/[user]/sbox/node/food9 && ls' | |
| alias cdmysql='cd /c/nginx/mysql/bin && ls' |
| { | |
| "keys": ["tab"], | |
| "command": "expand_abbreviation_by_tab", | |
| // put comma-separated syntax selectors for which | |
| // you want to expandEmmet abbreviations into "operand" key | |
| // instead of SCOPE_SELECTOR. | |
| // Examples: source.js, text.html - source | |
| "context": [ | |
| { |
| "use strict"; | |
| // Load plugins | |
| const autoprefixer = require("autoprefixer"); | |
| const browsersync = require("browser-sync").create(); | |
| const cp = require("child_process"); | |
| const cssnano = require("cssnano"); | |
| const del = require("del"); | |
| const eslint = require("gulp-eslint"); | |
| const gulp = require("gulp"); |
| //CJMCU-8128 CCS811 + HDC1080 + BMP280 (banggood.com) | |
| #include <SparkFunCCS811.h> //Click here to get the library: http://librarymanager/All#SparkFun_CCS811 | |
| #include <SparkFunBME280.h> //Click here to get the library: http://librarymanager/All#SparkFun_BME280 | |
| #include <ClosedCube_HDC1080.h> //Click here to get the library: http://librarymanager/All#ClosedCube_HDC1080 | |
| //#define CCS811_ADDR 0x5B //Default I2C Address | |
| #define CCS811_ADDR 0x5A //Alternate I2C Address | |
| CCS811 myCCS811(CCS811_ADDR); |
| package main.resources | |
| //The global script scope | |
| def ctx = context(scope: scriptScope()) | |
| //What things can be on the script scope | |
| contributor(ctx) { | |
| method(name: 'pipeline', type: 'Object', params: [body: Closure]) | |
| property(name: 'params', type: 'org.jenkinsci.plugins.workflow.cps.ParamsVariable') | |
| property(name: 'env', type: 'org.jenkinsci.plugins.workflow.cps.EnvActionImpl.Binder') |