- Based off https://gist.github.com/MohamedAlaa/2961058
- Prefix: `+b
start new:
tmux
tmux new -s myname
start new:
tmux
tmux new -s myname
{"lastUpload":"2018-05-25T12:56:43.945Z","extensionVersion":"v2.9.2"} |
{ | |
"api.version": "v1", | |
"sources": [{ | |
"sourceType" : "LocalFile", | |
"name": "web", | |
"category": "map-public", | |
"pathExpression": "/var/log/web/*.log", | |
"timeZone": "America/New_York", | |
"filters": [{ | |
"name": "mask_email", |
/* | |
* Easing Functions - inspired from http://gizma.com/easing/ | |
* only considering the t value for the range [0, 1] => [0, 1] | |
*/ | |
EasingFunctions = { | |
// no easing, no acceleration | |
linear: function (t) { return t }, | |
// accelerating from zero velocity | |
easeInQuad: function (t) { return t*t }, | |
// decelerating to zero velocity |
// base page that all others extend | |
// src/scripts/app/views/base/page.js | |
define([ | |
"app", | |
"views/common/navigation", | |
"views/common/searchOverlay", | |
"views/common/your-custom-gigya" | |
], function(app, NavigationView, SearchView, MyGigyaView) { |
grunt.registerMultiTask("removelogging", "Remove console logging", function() { | |
var done = this.async(); | |
var exec = require("child_process").exec; | |
var options = this.data.options || {}; | |
grunt.file.expandFiles(this.data.files).forEach(function(file) { | |
var cmd = "sed -E 's/console\.(log|warn|error|assert|count|clear|group|groupEnd|trace|debug|dir|dirxml|profile|profileEnd|time|timeEnd)\((.*)\);?//g' " + file; | |
exec(cmd, options, function(error, stdout) { | |
if(error !== null) { |
/* RequireJS Use Plugin v0.1.0 | |
* Copyright 2012, Tim Branyen (@tbranyen) | |
* use.js may be freely distributed under the MIT license. | |
*/ | |
define(function() { | |
var buildMap = {}; | |
return { | |
version: "0.1.0", |
function extend() { | |
var i, prop, source; | |
var args = Array.prototype.slice.call(arguments); | |
var destination = args.shift(); | |
for (i=0; i<args.length; i++) { | |
source = args[i]; | |
for (prop in source) { | |
destination[prop] = source[prop]; |
// inbox view | |
app.views.Inbox = Backbone.View.extend({ | |
events: { | |
"click .view-message": "view" | |
}, | |
view: function(event) { | |
var id = $(event.target).data("message-id"); | |
var model = this.collection.get(id); | |
message.render(model); |
/**********************************************/ | |
/* | |
/* IR_Black Skin by Ben Truyman - 2011 | |
/* | |
/* Based on Todd Werth's IR_Black: | |
/* http://blog.toddwerth.com/entries/2 | |
/* | |
/* Inspired by Darcy Clarke's blog post: | |
/* http://darcyclarke.me/design/skin-your-chrome-inspector/ | |
/* |