Skip to content

Instantly share code, notes, and snippets.

@trickycoders
trickycoders / Cell Hover.png
Last active June 19, 2023 13:51 — forked from bleeharper/Cell Hover.png
Table Tile
Cell Hover.png

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@trickycoders
trickycoders / server.js
Created April 18, 2018 06:02
server.js
'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));
@trickycoders
trickycoders / redis-server
Created May 2, 2016 18:58 — forked from dstroot/redis-server
An Amazon AMI initscript for Redis
#!/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
@trickycoders
trickycoders / install-redis.sh
Last active May 2, 2016 19:07 — forked from dstroot/install-redis.sh
Install Redis on Amazon EC2 AMI
#!/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 "*****************************************"