Skip to content

Instantly share code, notes, and snippets.

View cwonrails's full-sized avatar

Chris Watson cwonrails

View GitHub Profile

Author/Contributor Metadata

Information about an author can include: firstname, lastname, fullname, lastname-comma-firstname, role, primary-or-notprimary, photo, photo credit, photo orientation, residence, biographical information. Some books have multiple contributors.

Site Notes
iBooks Author information is entered in a native Mac app, iTunes Producer, on the "details" tab of a new book file, and stored locally as an .itmsp file. Dropdown for Role (with an insane long list of predetermined roles), dropdown specifying whether the role is Primary or Not Primary, two text areas for author name: "Firstname Lastname", and "Lastname, Firstname"
Nook Separate fields for First Name, Last Name, and Role, entered on Title & Description page of NOOK Book Details section. Max of 5 "contributor" objects. Plain-textarea limited to 2,500 characters for "About the Author(s)".
Kobo Single text field for "Firstname Lastname". First entry is automatically designated as Primary autho
@cwonrails
cwonrails / styleguide.md
Created December 30, 2016 15:07 — forked from thebestsophist/styleguide.md
A style guide for digital scholarship. Comments are in {!-- Curly brackets with comment markings --}

{!-- The style guide is meant to be more than a reference for practical advice, stylistic rules, and examples of good practice. I am also trying to present an argument for the importance of digital scholarship in the form of apps, dissertations, webapps, and blogs. While aimed mostly at writing, I think it will eventually expand to include videos, audio, presentation slides, and such (oh my goodness, academics seriously need help with their slides).

The hard part is finding the right balance of argument and advice. It will presented as a website with its design/layout as an example template. It’s intended to be extremely opinionated, but modular, so others can pick pieces they wish to use as a foundation for their own style guides. (This is sort of a precursor to a modular pattern library for assembling style guides I’ve been wanting to build for content strategy work.)

I haven’t put in many of the citations and annotations, but they’re currently in {curly brackets}. --}

The essence of writing for digital

@cwonrails
cwonrails / 1_Intro.md
Created December 30, 2016 15:07 — forked from timhops/1_Intro.md
Social Media Strategy

#Social Media Strategy

##About the Project

This was inspired by the Tiny Content Framework that focuses on “goals, messages, and branding.”

The Social Media Strategy collection is aimed at helping companies get started in planning their approach to social media. This is a bit of a template, and sprinkled with examples in each category. It should be a good starting point before a business dives head-first into whatever fancy social media outlet may be hot at the moment. (Tip: Find out what medium/outlet is best suited for your audiences before blindly signing up for accounts for whatever is the most popular at the moment. We used to think MySpace was going to rule the Earth for a while, until it faded into the background and gave way to Twitter, Facebook and the rest of the photo-sharing ones.)

##Contribute

@cwonrails
cwonrails / beliefs.md
Created December 30, 2016 15:07 — forked from coreycaitlin/beliefs.md
Beliefs

My beliefs

Foundation

Some of the Unitarian Universalist principles are good building-blocks:

[We] affirm and promote:

  • The inherent worth and dignity of every person;
  • Justice, equity and compassion in human relations;
@cwonrails
cwonrails / 1- Reading List
Created December 30, 2016 15:06 — forked from Postobject/1- Reading List
Reading List
Here is list of books that are near and dear to me. Things I wish everyone else had a chance to read
and love and read again,the way I have and hope to continue to do. All the books on this list have
informed who I am and how I think about the things I love to think about. It will stop growing when
I stop growing. If you read any of these and find yourself in a better place, I'll be very happy. Enjoy.

Tiny Content Framework

About the project

This is a tiny content strategy framework focused on goals, messages, and branding. This is not a checklist. Use what you need and scrap the rest. Rewrite it or add to it. These topics should help you get to the bottom of things with clients and other people you work with.

Contribute

There’s more to come, and I’d love to hear what you think. Give me feedback on Twitter (@nicoleslaw) or by email (nicole@nicolefenton.com). We all benefit from sharing our ideas and creating standards. Onward.

@cwonrails
cwonrails / git-aliases.md
Created December 28, 2016 14:49 — forked from mwhite/git-aliases.md
The Ultimate Git Alias Setup

The Ultimate Git Alias Setup

If you use git on the command-line, you'll eventually find yourself wanting aliases for your most commonly-used commands. It's incredibly useful to be able to explore your repos with only a few keystrokes that eventually get hardcoded into muscle memory.

Some people don't add aliases because they don't want to have to adjust to not having them on a remote server. Personally, I find that having aliases doesn't mean I that forget the underlying commands, and aliases provide such a massive improvement to my workflow that it would be crazy not to have them.

The simplest way to add an alias for a specific git command is to use a standard bash alias.

# .bashrc
@cwonrails
cwonrails / docker-wordpress.sh
Created November 21, 2016 15:43 — forked from tatemz/docker-wordpress.sh
A quick way to get a WordPress installation up and running with Docker
#!/bin/bash
mkdir wordpress-site && cd wordpress-site
touch docker-compose.yml
cat > docker-compose.yml <<EOL
version: "2"
services:
my-wpdb:
@cwonrails
cwonrails / osx_uninstall_mysql_install_mariadb_homebrew.md
Created November 3, 2016 23:03 — forked from brandonsimpson/osx_uninstall_mysql_install_mariadb_homebrew.md
OSX How To: Uninstall native MySQL and install MariaDB via Homebrew

OSX How To: Uninstall native MySQL and install MariaDB via Homebrew

This is a short overview on how to completely remove any old mysql server installs in OSX and upgrade to MariaDB without conflicts. Things can get a bit weird when you have various old installs of MySQL server floating around, and utilizing homebrew to install and upgrade MariaDB as a drop in replacement for MySQL has worked well, especially if you're used to managing MySQL installs via yum in linux.

First: Backup Your Data!

Backup all of your current databases with mysqldump

This isn't a tutorial on backups, and there are many ways to do it. You should know how to backup your data anyway. For this example, we'll do a full backup of our InnoDB databases.

@cwonrails
cwonrails / troubleshooting.md
Created November 3, 2016 14:36 — forked from adamwathan/troubleshooting.md
Troubleshooting Valet on macOS Sierra

Troubleshooting Valet on Sierra

Common Problems

Problem: I just see "It works!"

Apache is running on port 80 and interfering with Valet.

  1. Stop Apache: sudo /usr/sbin/apachectl stop
  2. Restart Valet: valet restart