Skip to content

Instantly share code, notes, and snippets.

@elstudio
elstudio / Jekyll-pages-deploy.yml
Last active October 1, 2022 19:04
Action to build and deploy a Jekyll website to GitHub Pages - for using whatever plugins you like. See https://www.elstudio.us/code/use-any-jekyll-plugin-with-github-pages for details.
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll site to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Welcome to Drift!

Drift is an always-already versioned, cloud-backed text editor. You can use it to take notes, and save them in the GitHub cloud.

Your gists are always saved locally, and any changes you make will get pushed to GitHub's servers.

To name a gist, touch its name in the toolbar.

You can use the share button at the top-right to copy a link to one of your gists, or view it on the web in Safari.

Why build a site? Why do your customers care?

The core purpose of a website is to help your customers answer the questions necessary to do business with you.

If your website is a series of answers to questions then the success of your site depends on what questions you answer--it's the questions and answers that show the customer you provide a service they're looking for, you're a good choice and that they should buy from you.

In general every customer has the following questions:

  1. Who are you?
  2. What do you offer?
### Converts Panasonic RW2 raw files to DNG and prepares them
### and photos shot as JPEG for import into Aperture.
### Input is a list of RAW and JPEG files.
### Output of the script is a list of files for import, perfect for using in
### an Automator workflow. The import will include DNG versions of any raw images,
### plus any files shot just in JPEG. See http://elstudio.us/tag/howto for more info.
###
### Requires two helper applications:
### Adobe DNG converter http://www.adobe.com/products/dng/
### exiftool http://www.sno.phy.queensu.ca/~phil/exiftool/
function ffDisplay(ff) {
var results = "";
if (ff.entries.length > 0) {
results = "<p>Join one of these FriendFeed discussions:</p>\n\n"
for(i=0; i<ff.entries.length; i++) {
entry = ff.entries[i];
var url = entry.link;
// FF doesn't give us the url to items from a user's feed,
// so we have to be sneaky here
if (!url.match(/^http:\/\/friendfeed.com/)) {