Skip to content

Instantly share code, notes, and snippets.

🤘
clickity clack

Joshua Priddle itspriddle

🤘
clickity clack
Block or report user

Report or block itspriddle

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@itspriddle
itspriddle / keybase.md
Created Aug 28, 2019
Keybase proof for itspriddle (Regenerated 2019-08-28 1:00:00 -4:00)
View keybase.md

Keybase proof

I hereby claim:

  • I am itspriddle on github.
  • I am itspriddle (https://keybase.io/itspriddle) on keybase.
  • I have a public key whose fingerprint is A777 4AFA 7584 8144 6211 272F 9855 8247 A164 48FA

To claim this, I am signing this object:

@philiph
philiph / using-asdf.md
Last active Nov 15, 2017
Using asdf to manage ruby, erlang, elixir, node.js, Postgres
View using-asdf.md

Note: this assumes you are using ZSH shell.

Installation

Install asdf:

$ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.4.0
$ echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.zshrc
$ echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.zshrc
@srilankanchurro
srilankanchurro / LetsEncrypt_HTTPS_plex.MD
Last active Sep 17, 2019
Setup Let's Encrypt certificate for use with Plex Media Server on Ubuntu
View LetsEncrypt_HTTPS_plex.MD
@ericclemmons
ericclemmons / example.md
Last active Oct 17, 2019
HTML5 <details> in GitHub
View example.md

Using <details> in GitHub

Suppose you're opening an issue and there's a lot noisey logs that may be useful.

Rather than wrecking readability, wrap it in a <details> tag!

<details>
 <summary>Summary Goes Here</summary>
@santoshachari
santoshachari / Laravel PHP7 LEMP AWS.md
Last active Oct 15, 2019
Laravel 5.x on Ubuntu 16.x, PHP 7.x, Nginx 1.9.x
View Laravel PHP7 LEMP AWS.md

#Steps to install latest Laravel, LEMP on AWS Ubuntu 16.4 version. This tutorial is the improvised verision of this tutorial on Digitalocean based on my experience.

Install PHP 7 on Ubuntu

Run the following commands in sequence.

sudo apt-get install -y language-pack-en-base
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install zip unzip
@sindresorhus
sindresorhus / .profile
Created Apr 6, 2016 — forked from bmhatfield/.profile
Automatic Git commit signing with GPG on OSX
View .profile
# In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env
# variable pointing GPG to the gpg-agent socket. This little script, which must be sourced
# in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start
# gpg-agent or set up the GPG_AGENT_INFO variable if it's already running.
# Add the following to your shell init to set up gpg-agent automatically for every shell
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
source ~/.gnupg/.gpg-agent-info
export GPG_AGENT_INFO
else
@jmazzi
jmazzi / import-cache.php
Created Mar 31, 2016 — forked from danielbachhuber/import-cache.php
During `wp import`, cache remote files locally for subsequent imports
View import-cache.php
<?php
/**
* Run with `wp --require=import-cache.php import ...
*/
WP_CLI::add_hook( 'after_wp_load', function(){
// Only intercept HTTP requests when the importer is running
if ( ! defined( 'WP_IMPORTING') || ! WP_IMPORTING ) {
return;
@benlk
benlk / 0-toc.md
Last active Sep 24, 2019
Collection of notes on WP_UnitTestCase
View 0-toc.md
  1. Table of contents
  2. General information
    1. Terms
    2. General structure of a test
    3. WordPress-specific assertions and test functions
      • enqueues
      • creating posts
      • creating terms
      • attaching images
      • ?
@matthieuprat
matthieuprat / git-rsync
Last active Jul 19, 2019
Sync a local Git work tree with a remote one
View git-rsync
#!/bin/sh
#
# Author: Matthieu Prat <matthieuprat@gmail.com>
# Date: 01/22/2015
#
# Sync a local work tree with a remote one.
# It's rsync on steroids within large Git repositories.
USAGE='<repository>'
LONG_USAGE='Sync a local work tree with a remote one.'
You can’t perform that action at this time.