Skip to content

Instantly share code, notes, and snippets.

Exploring OSS


Exploring OSS
Block or report user

Report or block n4nagappan

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
n4nagappan / sample.ts
Created Dec 13, 2019
Redis Key expiry notification
View sample.ts
export namespace RedisExpiryNotification {
const callbackMap: any = {}
const PREFIX = '__keyspace@?__:'
// ['set', 'notify-keyspace-events', 'Ex'],
['set', 'notify-keyspace-events', 'Kx'],
View awesome-foo-config.yml
version: 2
- image: circleci/node:8.10
working_directory: ~/repo
- checkout
n4nagappan / Basic API call.yaml
Created Apr 21, 2018
Executes a basic Excel API call - Shared with Script Lab
View Basic API call.yaml
name: Basic API call
description: Executes a basic Excel API call
author: n4nagappan
host: EXCEL
api_set: {}
content: |
$("#run").click(() => tryCatch(run));
async function run() {
View install-miniconda
sudo apt-get install bzip2
wget -O ~/
bash ~/ -b -p $HOME/miniconda
echo 'export PATH="$HOME/miniconda/bin:$PATH"' >> ~/.bashrc
View install-bunyan
curl -o- | bash && \
source ~/.nvm/ && \
nvm install stable && \
nvm alias default stable && \
nvm use default && \
npm install -g bunyan
n4nagappan / Semantics3RateThrottling
Created Apr 21, 2015
Testing out rate throttling
View Semantics3RateThrottling
* Simple test script to showcase use of semantics3-node to interface
* with Semantics3 Products API.
* Quickstart guide:
* API Documentation:
* Author: Nagappan Nachiappan <>
* Copyright (c) 2013 Semantics3 Inc.
View .screenrc
defscrollback 5000
altscreen on
autodetach on
vbell off
caption always " | %-w%{= BW}%40L>%n %t%{-}%+w |%<"
hardstatus alwayslastline
# Turn off that annoying start up message
startup_message off
# Turn the even more annoying whole-screen-flash-on-tab-complete "feature"
vbell off
View SomeCode.js
// Testing if code snippets work...
function foo(){
alert("Hello World");
View UPC-883974958450
"total_results_count": 1,
"code": "OK",
"offset": 0,
"results_count": 1,
"results": [
"cat_id": "23130",
"ean": "0883974958450",
"model": "PT225U 004004;Z830 S8301",
View install-redis
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install tcl8.5
cd ~
mkdir redis
cd redis
tar xzf redis-2.8.9.tar.gz
cd redis-2.8.9
You can’t perform that action at this time.