Skip to content

Instantly share code, notes, and snippets.

View digitaldesigndj's full-sized avatar
🦕
JavaScript

Taylor Young digitaldesigndj

🦕
JavaScript
View GitHub Profile
@digitaldesigndj
digitaldesigndj / _middleware.js
Last active August 20, 2022 03:42
Fresh Redis Session Middleware
// routes/_middleware.js
import { cyan, green, yellow } from "$std/fmt/colors.ts";
import { getCookies, setCookie } from "$std/http/cookie.ts";
import { config } from "$std/dotenv/mod.ts";
import * as redis from "redis";
// import_map.json
// "@/": "./",
// "$std/": "https://deno.land/std@0.152.0/",
// "redis": "https://deno.land/x/redis@v0.26.0/mod.ts",
@digitaldesigndj
digitaldesigndj / bug-every-one-of-your-friends-with-this-fundraiser.js
Created March 20, 2020 18:50
Click All Friends to add to FaceBook fundraiser
// jquery?
// Get array of elements
// Map the click
@digitaldesigndj
digitaldesigndj / the_thing.sh
Last active April 10, 2018 16:16
Pantheon WP CLI Terminus Search Replace
#!/bin/bash
terminus wp 'search-replace live-serviceaide.pantheonsite.io dev-serviceaide.pantheon.io --skip-columns=guid' --site=wordpress --env=dev
@digitaldesigndj
digitaldesigndj / NewCallouts.md
Last active August 29, 2015 14:02
Standish New Callouts
#/bin/bash
apt-get update && apt-get -q -y install curl build-essential openssl libssl-dev git-core python python-software-properties
sudo add-apt-repository ppa:nginx/stable -y
apt-get update && apt-get -q -y install curl build-essential openssl libssl-dev git python lib32gcc1 nginx
mkdir steamcmd
cd steamcmd
wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
tar -xvzf steamcmd_linux.tar.gz
./steamcmd
# login username
@digitaldesigndj
digitaldesigndj / gist:68cf97647fcf2e96321d
Created May 13, 2014 09:18
Moon emojii reflects the current phase of the moon!!?
May 13 - 3/4 Waxing
http://stardate.org/nightsky/moon
:moon:
@digitaldesigndj
digitaldesigndj / vype.md
Created May 6, 2014 21:54
Vype Ad Cycles

Fixed Header Advertisment code

wp-content/themes/vype/javascripts/scripts.js

var top_divs = $("#adspace div").not(".clearfix").hide(),
    top_i = 0;
// var top_num_ads = $('#adspace > div').attr("num_ads");
var top_num_ads = $('#adspace > div').not(".clearfix").length;
var top_cycle_delay = 12000;
  • Home Banner
  • Pagination
  • Event Listing
  • Headers
  • Fix up Sidebars / Widget Areas
  • Slides Taxonomy - Slideshow
  • Slideshow Page Template
@digitaldesigndj
digitaldesigndj / ranks.md
Last active August 29, 2015 13:58
Boundstar Ranks

Rank Progression

  1. Recruit -> Made a StarryDex Account

  2. Player -> Fourm Account, 1 Post, 1 Rep, 1 Vote.

  3. Explorer -> World Save Request Access 7 votes, 5 rep. (Members nominate for 3 votes, 5 rep)

Claim a sector.

@digitaldesigndj
digitaldesigndj / Taylor's Work History.md
Last active November 30, 2019 16:28
Taylor's Work History/Portfolio

Work History/Portfolio

About Me

Hello, I'm Taylor. A Web Developer who currently resides in Phoenix, AZ.

Experience

Open Source