Skip to content

Instantly share code, notes, and snippets.

let config = input.config({
title: 'Taskmaster v0.2',
description: "Create and link tasks to projects based on a project template and task template",
items: [
input.config.table('projectTemplatesTable', {
label: 'What table do you store your project templates in?'
}),
input.config.table('taskTemplatesTable', {
label: 'What table dox you store your task templates in?'
}),
import time
import datetime
import itertools
# time to turn to "upcoming meeting" state in seconds
UPCOMING_MEETING_THRESHOLD = 60
def make_time(offset_minutes):
return datetime.datetime.now() + datetime.timedelta(minutes=offset_minutes)
import time
import datetime
import threading
from calendar import Calendar, Event, make_time
from threading import Thread
from flask import Flask
app = Flask(__name__)
@brbcoding
brbcoding / gist:13a873a752065748463763536efdf5ed
Last active August 1, 2018 17:21
Add first image to frontmatter, replace youtube links with media embed components
const fs = require('fs')
const path = require('path')
const FOLDER = './_posts'
fs.readdir(FOLDER, (err, files) => {
if (err) return console.error(err)
files.forEach(file => {
const filepath = `${FOLDER}/${file}`
if(path.extname(file) != '.md') return console.log(`${file} not markdown, passing`)

Keybase proof

I hereby claim:

  • I am brbcoding on github.
  • I am cgh (https://keybase.io/cgh) on keybase.
  • I have a public key ASBqmzfCrXN_ANxJM4XL13sqJb9-28Tj-dpOjdCzs_QU8go

To claim this, I am signing this object:

//
// Extensions.swift
// Commerzbank
//
// Created by Cody Henshaw on 2/24/16.
// Copyright © 2016 Cody Henshaw. All rights reserved.
//
import Foundation
import UIKit
var fns = [foo, bar];
var entry = {};
entry.statusId = 0;
function foo() {
console.log('foo');
}
function bar() {
@brbcoding
brbcoding / react-native.sublime-snippet
Created June 19, 2015 23:45
react-native-component-starter.sublime-snippet
<snippet>
<content><![CDATA[
var React = require('react-native');
var {
${1}
} = React;
]]></content>
<tabTrigger>rn</tabTrigger>
</snippet>
#col_channels, #col_channels_bg, #team_menu {
display: none;
}
#messages_container {
margin-left: 0;
}
#footer {
left: 0;
#col_channels, #team_menu, #col_channels_bg {
display: none;
}
#messages_container {
margin-left: 0;
}
#footer {
left: 0;