Skip to content

Instantly share code, notes, and snippets.

@the100rabh
the100rabh / downtime_recorder.py
Last active Feb 18, 2018
It makes a CSV record of the connection status for tracking downtimes by ISP
View downtime_recorder.py
import os
import datetime
def update_needed(status):
check_for = "UP"
if status == False:
check_for = "DOWN"
f = open("data.csv", "r")
lastLine = ""
currentLine = f.readline()
View Storm-UI-REST-API.md

Storm UI REST API

The Storm UI daemon provides a REST API that allows you to interact with a Storm cluster, which includes retrieving metrics data and configuration information as well as management operations such as starting or stopping topologies.

Data format

The REST API returns JSON responses and supports JSONP. Clients can pass a callback query parameter to wrap JSON in the callback function.

View Git-Cheatsheet.md

Git Reference

Configure Local Branch to have Proper User Credentials

git config user.name "Your Name Here"
git config user.email your@email.com

Branch feature1 set up to track remote branch refs/remotes/origin/master.

@the100rabh
the100rabh / The Technical Interview Cheat Sheet.md
Last active Aug 29, 2015 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.
View The Technical Interview Cheat Sheet.md

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@the100rabh
the100rabh / List of Kyoto Tycoon Clients.txt
Last active Aug 29, 2015
List of Kyoto Tycoon Clients
View List of Kyoto Tycoon Clients.txt
Java - https://github.com/kumai/kt4j
Python - http://github.com/studio-ousia/python-kyototycoon-binary
Python - https://github.com/tmaesaka/python-kyototycoon
PHP - https://github.com/t-cyrill/php-net-rpckyototycoon
PHP - https://github.com/moechofe/KyotoTycoon-client-protocol
PHP - https://github.com/heavenshell/php-net-kyototycoon/
Node.js - https://github.com/wezm/kyoto-client
Node.js - https://github.com/swdyh/node-kyoto-tycoon
@the100rabh
the100rabh / sl2-setup.md
Created Nov 18, 2012 — forked from lprsd/sl2-setup.md
My Sublime Text 2 setup
View sl2-setup.md