Skip to content

Instantly share code, notes, and snippets.

View softmentor's full-sized avatar

Jiny Thattil softmentor

  • Bangalore, India
View GitHub Profile
@softmentor
softmentor / 01_intro.md
Created October 27, 2015 20:35 — forked from lost-theory/01_intro.md
Monitorama 2014 notes

Monitorama 2014 notes

http://monitorama.com/

Best talks day 1:

  • Please, no More Minutes, Milliseconds, Monoliths... or Monitoring Tools! - Adrian Cockcroft
    • gave 5 good rules for monitoring systems, showed what cloud / microservices monitoring looks like @ Netflix
  • Simple math to get some signal out of your noisy sea of data - Toufic Boubez
  • explains why static alert thresholds don't work and gave 3 techniques to use instead
@softmentor
softmentor / overview.js
Created October 27, 2015 20:19 — forked from mikepea/overview.js
Grafana scripted dashboard: node overview
/* global _ */
/*
* Grafana Scripted Dashboard to:
* * Give overview of all nodes in a cluster: CPU, Load, Memory
* * Provide links to other - more complex - dashboard for each node.
*
* Global accessable variables
* window, document, $, jQuery, ARGS, moment
*
* Return a dashboard object, or a function
@softmentor
softmentor / gist:8aca125e99c0adfcc3fb
Created October 27, 2015 20:14 — forked from mikepea/gist:07b1cede92c119e4f297
Grafana Scripted Dashboard example for collectd with SeparateInstances and StoreRates enabled
/* global _ */
/*
* Complex scripted dashboard
* This script generates a dashboard object that Grafana can load. It also takes a number of user
* supplied URL parameters (int ARGS variable)
*
* Global accessable variables
* window, document, $, jQuery, ARGS, moment
*
* Return a dashboard object, or a function
@softmentor
softmentor / RESTdoc
Last active August 29, 2015 14:26 — forked from coderofsalvation/RESTdoc
Quickndirty bash-utility to generate REST-documentation from sourcecode comments into css-styles html (or plainhtml). Can be handy for inclusion into phpdoc/phpdoctor/doxygen-dochains, instead of using heavyweight alternatives.
#!/bin/bash
#
# A quickndirty bash-utility to generate REST-documentation from sourcecode comments.
# (initially aimed at php-files, but js should also work)
# Basically its a c-style comment -> markdown -> html converter
# Dependancies:
# - awk
# - sed
# - bash
# - php
@softmentor
softmentor / Brewfile
Last active August 29, 2015 14:25
Quick and Dirty Way to Isolate Homebrew Install. Just run "./install.sh"
update
install git
install memcached
install mariadb
install node
install redis
install ruby
cleanup
@softmentor
softmentor / tmux.conf_global
Created July 11, 2015 17:11
tmux_conf_global
###########################
# Configuration
###########################
# use 256 term for pretty colors
set -g default-terminal "screen-256color"
# increase scroll-back history
set -g history-limit 5000
@softmentor
softmentor / gemrc_global
Last active August 29, 2015 14:24
gemrc_global
---
:update_sources: true
:benchmark: false
:backtrace: true
:verbose: true
gem: --no-ri --no-rdoc --no-document
install: --no-rdoc --no-ri
update: --no-rdoc --no-ri
@softmentor
softmentor / gitignore_global
Last active August 29, 2015 14:24
gitignore_global
# ======================================================================
# Mac OS X
# ======================================================================
*.DS_Store
# Xcode
*.pbxuser
*.mode1v3
*.mode2v3
*.perspectivev3

Mac OS X 10.9 Mavericks

Custom recipe to get OS X 10.9 Mavericks running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install.

Install Software

The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.

Install from App Store

@softmentor
softmentor / unbuntu_install.sh
Last active February 27, 2021 18:38
unbuntu_install_softwares.sh
#!/bin/sh
REQUIRED_JAVA_VERSION=17
#===============================================================================================
# Installation script to install basic utilities for a developer machine
#===============================================================================================
apt-get install -y systat
apt-get install -y wget
apt-get install -y curl
apt-get install -y unzip