Skip to content

Instantly share code, notes, and snippets.

View tracking202's full-sized avatar
🏠
Working On New Stuff

Nana GB tracking202

🏠
Working On New Stuff
View GitHub Profile
@tracking202
tracking202 / gclid.js
Last active February 15, 2025 07:57
GCLID Capture for ConvertKit
<script>
(function () {
'use strict';
/**
* Retrieves the value of a query parameter from the URL in a case-insensitive manner.
*
* @param {string} param - The name of the query parameter to retrieve.
* @returns {string|null} - The parameter value if found; otherwise, null.
*/
@tracking202
tracking202 / click2sms.html
Created October 19, 2020 18:05
Easy SMS subscription with custom keywords support
<a href="sms:+15551234567?&body=SHOES">Text "SHOES" to 555-123-4567 for weekly text discounts</a>
@tracking202
tracking202 / redis-server
Created August 30, 2012 01:54 — forked from dstroot/redis-server
An Amazon AMI initscript for Redis -ngb
#!/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
@tracking202
tracking202 / install-redis.sh
Created August 30, 2012 01:52 — 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 "*****************************************"