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 / 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

@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 / readme.md
Last active January 4, 2016 20:59
Starbound Upstart Configuration - Furious Koala

Starbound Furious Koala Upstart Script

I use this with Ubuntu and StarBound installed via steamcmd.

Save the content below into the file /etc/init/starbound.conf

so nano /etc/init/starbound.conf, then paste in the content, then crtl+o to save and crtl+x to exit nano.

Warning! - You might have to correct the path /root/starbound/linux64/starbound_server to point correctly at your stabound install.

  • Home Banner
  • Pagination
  • Event Listing
  • Headers
  • Fix up Sidebars / Widget Areas
  • Slides Taxonomy - Slideshow
  • Slideshow Page Template
@digitaldesigndj
digitaldesigndj / pre_print_r.sublime-snippet
Last active December 16, 2015 19:38
Pre Print_R - SublimeText Snippet
<snippet>
<content>
<![CDATA[
echo '<pre>';
print_r( $1 );
echo '</pre>';
]]>
</content>
<tabTrigger>print_r</tabTrigger>
<tabTrigger>pre</tabTrigger>
@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: