View app__components__express_middleware__register_with_swagger_express.js
'use strict';
var debug = require('debug')('botkit:register_with_swagger_express');
var SwaggerExpress = require('swagger-express-mw');
var SwaggerUi = require('swagger-tools/middleware/swagger-ui');
// var ejwt = require('express-jwt');
// // Initialize express-jwt
// var jwt = ejwt({
// secret: "bla bla blackship" //new Buffer(process.env.AUTH0_CLIENT_SECRET, 'base64'),
View plugin_mixpanel.js
var request = require('request');
var md5 = require('md5');
var botkit_mixpanel_metrics = function(controller, options) {
if (!options) {
options = {
debug: false,
always_update: false,
}
}
View Chrome custom scrollbar.css
/*http://support.google.com/chrome/?hl=en*/
::-webkit-scrollbar {
height: 16px !important;
overflow: visible !important;
width: 16px !important;
}
::-webkit-scrollbar-thumb {
background: -webkit-linear-gradient(left, rgba(198,198,198,1) 0%,rgba(220,220,220,1) 100%) !important;
background-clip: padding-box !important;
View Dockerfile
FROM ruby:2.3
MAINTAINER backend@nuvoex.com
# https://blog.codeship.com/running-rails-development-environment-docker/
# Install apt based dependencies required to run Rails as
# well as RubyGems. As the Ruby image itself is based on a
# Debian image, we use apt-get to install those.
RUN apt-get update && apt-get install -y build-essential
# For postgres
View A brief history of all objects
A brief history of all objects
View gist:2f01b98ff44372a51258
=PROPER(TEXT(DATE(2015,B2,1),"MMM"))
View dc.cpp
/*
* This file is part of Desktop Calculator.
*
* Desktop Calculator is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Desktop Calculator is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
View bash.sh
sudo chown root /Library/LaunchAgents/gnu.emacs.daemon.plist
sudo launchctl load -w /Library/LaunchAgents/gnu.emacs.daemon.plist
View python-2.6-config.bat
@ECHO OFF
@SET PATH= %PATH%;C:appandyourpathhere;D:appandonemore
@SET SOMEVARABLE=E:somepath
@SET DIRCMD=/D /N
@PROMPT $G
@ECHO Setting environment for YOURSYSTEM VER
@ECHO %TIME% %DATE%
@ECHO Namaskar Criss.