I hereby claim:
- I am trickycoders on github.
- I am arunkumarnarvar (https://keybase.io/arunkumarnarvar) on keybase.
- I have a public key ASB0NKcRdntnDrFbzTeEXbTDvhNGbs4R4k5_rjIdXAO43Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
'use strict'; | |
const express = require('express'); | |
// Constants | |
const PORT = 8080; | |
// App | |
const app = express(); | |
app.get('/', function (req, res) { |
if(!Object.assign){ | |
Object.prototype.assign(target) | |
var from; | |
var keys; | |
var to = target; | |
for (var s = 1; s < arguments.length; s++) { | |
from = arguments[s]; | |
keys = Object.keys(Object(from)); |
#!/bin/sh | |
# | |
# redis - this script starts and stops the redis-server daemon | |
# | |
# chkconfig: - 85 15 | |
# description: Redis is a persistent key-value database | |
# processname: redis-server | |
# config: /etc/redis/redis.conf | |
# config: /etc/sysconfig/redis | |
# pidfile: /var/run/redis.pid |
#!/bin/bash | |
# from here: http://www.codingsteps.com/install-redis-2-6-on-amazon-ec2-linux-ami-or-centos/ | |
# and here: https://raw.github.com/gist/257849/9f1e627e0b7dbe68882fa2b7bdb1b2b263522004/redis-server | |
############################################### | |
# To use: | |
# wget https://raw.github.com/gist/2776679/04ca3bbb9f085b192f6aca945120fe12d59f15f9/install-redis.sh | |
# chmod 777 install-redis.sh | |
# ./install-redis.sh | |
############################################### | |
echo "*****************************************" |