Skip to content

Instantly share code, notes, and snippets.

View jerriep's full-sized avatar

Jerrie Pelser jerriep

View GitHub Profile
{
"title": "Anchor text",
"body": {
"content": [
{
"endIndex": 1,
"sectionBreak": {
"sectionStyle": {
"columnSeparatorStyle": "NONE",
"contentDirection": "LEFT_TO_RIGHT",
@jerriep
jerriep / checklist.md
Last active May 17, 2016 10:55
Pre-recording Checklist

Devices & Software

  • Set monitor to 150% scaling on 1080p (and sign out and back in)
  • Auto-hide taskbar
  • Turn on Quiet Hours (Win10)
  • Turn on Do Not Disturb (iPhone)
  • Turn on Do Not Disturb (OS X)
  • Clear browsing history in Chrome

Hardware

@jerriep
jerriep / gist:93194eb2da854068cf0f
Created January 16, 2016 11:44
Store tokens in ASP.NET 5
app.UseTwitterAuthentication(options =>
{
options.ConsumerKey = Configuration["Authentication:Twitter:ConsumerKey"];
options.ConsumerSecret = Configuration["Authentication:Twitter:ConsumerSecret"];
options.Events = new TwitterEvents
{
OnCreatingTicket = context =>
{
@jerriep
jerriep / settings.yaml
Created September 16, 2014 23:59
Statamic settings.yaml
# /\\ \\ /\\\ /\\\\\\ /\ /\\\ /\\\\\\ /\ /\\ /\\ /\\ /\\
# /\\ /\\ /\\ /\ \\ /\\ /\ \\ /\ /\\ /\\\ /\\ /\\ /\\
# /\\ /\\ /\ /\\ /\\ /\ /\\ /\\ /\\ / /\\ /\\ /\\
# /\\ /\\ /\\ /\\ /\\ /\\ /\\ /\\ /\\ /\\ /\\ /\\
# /\\ /\\ /\\\\\\ /\\ /\\ /\\\\\\ /\\ /\\ /\ /\\ /\\ /\\
# /\\ /\\ /\\ /\\ /\\ /\\ /\\ /\\ /\\ /\\ /\\ /\\ /\\
# /\\ \\ /\\ /\\ /\\ /\\ /\\ /\\/\\ /\\ /\\ /\\\\
#
###########################################################################################
#
@jerriep
jerriep / FlatUIColors.cs
Created September 28, 2013 06:05
C# declarations for the color definitions from flatuicolors.com. For use with Xamarin.iOS
using System;
using MonoTouch.UIKit;
namespace OneLove
{
public static class FlatUIColors
{
public static UIColor TurqoiseColor = UIColor.FromRGBA(26, 188, 156, 100);
public static UIColor GreenSeaColor = UIColor.FromRGBA(22, 160, 133, 100);
public static UIColor EmeraldColor = UIColor.FromRGBA(46, 204, 113, 100);
@jerriep
jerriep / FlatUIColors.xaml
Created July 2, 2013 04:32
A XAML resource dictionary for Windows 8 projects with the colors from http://flatuicolors.com/ pre-defined as Color and SolidColorBrush resources.
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- Flat UI Colors -->
<Color x:Key="TurquoiseColor">#FF1ABC9C</Color>
<Color x:Key="GreenSeaColor">#FF16A085</Color>
<Color x:Key="EmerlandColor">#FF2ECC71</Color>
<Color x:Key="NephritisColor">#FF27AE60</Color>
<Color x:Key="PeterRiverColor">#FF3498DB</Color>
@jerriep
jerriep / BundleConfig.cs
Created October 25, 2012 08:14
TwitterBootstrapLessTransform
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Optimization;
namespace JSE.App.IPS.Web.Portal.App_start
{
public class BundleConfig
{