Skip to content

Instantly share code, notes, and snippets.

View sourcepirate's full-sized avatar
🏠
Work and pray

Sathya Narrayanan sourcepirate

🏠
Work and pray
View GitHub Profile
@sourcepirate
sourcepirate / install.md
Created October 24, 2018 14:35 — forked from montanaflynn/install.md
Quickly install Kong on Ubuntu 14.04

Install Java, Cassandra & Kong on Ubuntu 14.04

sudo apt-get install -y wget
wget -O kong-install.sh http://git.io/vmMjv
cat kong-install.sh
chmod +x kong-install.sh
sudo ./kong-install.sh
source ~/.bash_profile
sudo cassandra
@sourcepirate
sourcepirate / preexec.sh
Created October 22, 2018 02:57
Exec pre and post
#!/bin/bash
# preexec.bash -- Bash support for ZSH-like 'preexec' and 'precmd' functions.
# The 'preexec' function is executed before each interactive command is
# executed, with the interactive command as its argument. The 'precmd'
# function is executed before each prompt is displayed.
# To use, in order:
@sourcepirate
sourcepirate / .rustfmt.toml
Created September 15, 2018 16:47 — forked from Robbepop/.rustfmt.toml
.rustfmt.toml with all configs, descriptions, parameters and defaults for version 0.7.1 of rustfmt.
# ----------------------------------------------------------------------------------
# r u s t f m t - C O N F I G
# ==================================================================================
#
# Version: 0.7.1
# Author : Robbepop <[email protected]>
#
# A predefined .rustfmt.toml file with all configuration options and their
# associated description, possible values and default values for use in other
# projects.

const data = [
  ["a", "b"],
  ["b", "c"],
  ["a", "d"],
  ["d", "e"],
  ["d", "c"]
];
https://github.com/petermbenjamin/awesome-podcasts
https://github.com/guipdutra/awesome-geek-podcasts
https://github.com/rShetty/awesome-podcasts
https://github.com/wayneashleyberry/awesome-podcasts
https://github.com/petermbenjamin/awesome-podcasts
* https://theswissbay.ch/pdf/Gentoomen%20Library/Artificial%20Intelligence/
* http://www.dblab.ntua.gr/~gtsat/collection/Machine%20Learning/
* http://tangkk.net/me/book/EECS/
use std::default::Default;
use std::collections::HashMap;
use github_rs::StatusCode;
use github_rs::client::{Executor, Github};
use github_rs::gists;
use serde_json::Value;
use chrono::prelude::*;
use reqwest;
use macros;
@sourcepirate
sourcepirate / SPD.md
Created January 17, 2018 01:15
Software Process design

Charecerstics of good process

  • reliablity
  • good engineering practice
  • customizable
  • measure improvement
@sourcepirate
sourcepirate / SDLC.md
Last active January 18, 2018 00:42
Software Development life cycle

Phase-I Feasibility Study

  • Input - Customer Requirement,
  • Budget and Timeframe / Output - Cost Benefit Analysis Report

Phase-II Requirement Analysis

  • Input - Customer requirements given in different formats (BRD, FRD)/
  • Output - SRS

Phase-III System Analysis and Designing

  • Input - End User Information / Output - ERD, DFD, Design Documents

service consul-template stop vi /etc/td-agent/td-agent.conf service td-agent restart