View migrator.js
const result = await space.createEntry('legacyPost', {
sys: {
createdAt: post.created_at,
updatedAt: post.updated_at,
fields: {
title: { 'en-US': post.title },
body: { 'en-US': post.body },
slug: { 'en-US': post.slug },
authorName: { 'en-US': post.author_name },

Instructor Needed for the Ruby Programming Certificate Program – University of Washington

The University of Washington Professional & Continuing Education is now hiring a part-time instructor for an evening certificate program in Ruby Programming.

We are looking for an instructor to teach the first course of a series of 3 – Ruby: The Core Language. Please see below course description to get a general sense of the course topics. The Ruby Programming Certificate webpage can also be found at the following link.

Prior teaching experience is helpful, but not required. We’re seeking a professional who has been working with Ruby Programming for several years.

View migrator.js
async function createImage (image, space) {
try {
const result = await space.createAsset({
sys: {
createdAt: image.created_at,
updatedAt: image.updated_at,
fields: {
title: { 'en-US': image.title },
file: {
View gatsby-node.js
export function modifyWebpackConfig (config) {
// arrow-body-style rule doesn't recognize that the spread operator needs
// to be in an object literal
// eslint-disable-next-line arrow-body-style
config.loader('jpg', (cfg) => {
return {
test: /\.jpe?g$/i,
loader: 'file-loader?name=images/[name].[ext]',
apm install atom-ternjs
apm install autocomplete-modules
apm install utocomplete-paths
apm install autocomplete-ruby
apm install autocomplete-sass
apm install build
apm install emmet
apm install file-icons
apm install gist-it
View gatsby-node-assign.js
export function modifyWebpackConfig (config) {
// Object.assign is not picked up as mutation by immutable linter ?!
config.loader('jpg', (cfg) => Object.assign(
test: /\.jpe?g$|\.gif$|\.png$/i,
loader: 'file-loader?name=images/[name].[ext]',
return config
View gatsby-node.js
// eslint-disable-next-line immutable/no-mutation,no-unused-vars
exports.modifyWebpackConfig = function (config, env) {
config.loader('json', (cfg) => {
// eslint-disable-next-line immutable/no-mutation,no-param-reassign
cfg.test = /\.json/
// eslint-disable-next-line immutable/no-mutation,no-param-reassign
cfg.loaders= ['markdown', 'json']
return cfg
View fetch-from-contentful.js
#!/usr/bin/env babel-node
import contentful from 'contentful'
import fs from 'fs-extra-promise'
// Contentful Config
const apiToken = process.env.CONTENTFUL_DELIVERY_API_TOKEN
const spaceId = process.env.CONTENTFUL_SPACE_ID
const client = contentful.createClient({ accessToken: apiToken, space: spaceId })
View post.json
"sys": {
"space": {
"sys": {
"type": "Link",
"linkType": "Space",
"id": "changeme"
"id": "changeme",
View -Users-ivan-.cabal-logs-herbalizer-0.4.9.log
cabal: Entering directory '/var/folders/85/c3khd5g15nq5yy8_1m0s40y00000gn/T/cabal-tmp-26301/herbalizer-0.4.9'
Configuring herbalizer-0.4.9...
Building herbalizer-0.4.9...
Preprocessing executable 'herbalizer' for herbalizer-0.4.9...
[1 of 1] Compiling Main ( src/Main.hs, dist/build/herbalizer/herbalizer-tmp/Main.o )
src/Main.hs:152:5: error:
• Non type-variable argument in the constraint: Stream s m Char
(Use FlexibleContexts to permit this)
• When checking the inferred type