Skip to content

Instantly share code, notes, and snippets.

bryanbraun / make-ckeditor-image2-alt-text-required.patch
Created Nov 18, 2014
A patch to CKEditor's image2 plugin, which makes the alt text field required.
View make-ckeditor-image2-alt-text-required.patch
From f788a1a6c27be0fb421d2758492f9366b895ba20 Mon Sep 17 00:00:00 2001
From: Bryan Braun <>
Date: Tue, 18 Nov 2014 14:43:17 -0500
Subject: [PATCH] Make the alt-text field required (and add a class for styling
Signed-off-by: Bryan Braun <>
dialogs/image2.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
bryanbraun / Octokit_Sinatra_Example.rb
Last active Dec 21, 2017
This file is an example Sinatra app.rb file, showing github API Authentication and usage examples of Octokit.rb. For more context on setting up Sinatra to work with the Github API, see
View Octokit_Sinatra_Example.rb
# app.rb
require "sinatra"
require "sinatra/activerecord"
require 'rest-client'
require 'json'
require 'octokit'
require 'pp' # for pretty print debugging
# Needed for preserving github auth tokens across sessions.