Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Bhushan Gadekar Bhushan001

🎯
Focusing
Block or report user

Report or block Bhushan001

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View docker-ubuntu-install.sh
# Author : Bhushan Gadekar
# Ask for the user password
# Script only works if sudo caches the password for a few minutes
sudo true
# using the official docker install script
wget -qO- https://get.docker.com/ | sh
# Install docker-compose
COMPOSE_VERSION=`git ls-remote https://github.com/docker/compose | grep refs/tags | grep -oP "[0-9]+\.[0-9][0-9]+\.[0-9]+$" | tail -n 1`
sudo sh -c "curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose"
View trace-opt.sh
node --trace-opt index.js | grep myFunc
View ng1.TodoService.es5.js
// <script src="angular.min.js"></script>
(function(name, factory) {
// our basic IO module system that stores every module on modules with the "file" namespace
// please use something like browserify rather than rolling your own like this
window.modules = window.modules || {};
window.require = window.require || function require(name) { return window.modules[name] || window[name]; };
var exports = {}; factory(exports, window.require);
window.modules[name] = exports;
}('TodoService', function(exports, require) {
You can’t perform that action at this time.