Skip to content

Instantly share code, notes, and snippets.

View program247365's full-sized avatar
💭
YOLO 💯

Kevin Ridgway program247365

💭
YOLO 💯
View GitHub Profile
@program247365
program247365 / gist:963273
Created May 9, 2011 20:08 — forked from briangershon/gist:832491
Integrating Git on Mac OSX with Microsoft TFS on Windows
@program247365
program247365 / whiteboardCleaner.md
Created December 30, 2020 02:12 — forked from lelandbatey/whiteboardCleaner.md
Whiteboard Picture Cleaner - Shell one-liner/script to clean up and beautify photos of whiteboards!

Description

This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.

The script is here:

#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"

Results

@program247365
program247365 / OMGWHY.md
Last active February 17, 2020 18:14
My Long Journey to Figuring out Why The Circus Is Not Working on AppleTV+ Channels

TLDR

AppleTV+ Channel Showtime doesn't play latest episode of The Circus. Been shuffled between Apple and showtime support, not a great experience thus far.

Longer Version

Hi there, current Showtime subscriber through AppleTV+. I can play anything from showtime except the latest 'The Circus' episode. Any idea what's going on there? It doesn't work on iOS, AppleTV or FireTV device (through AppleTV+ app).

Here's what it looks like on iOS: http://bit.ly/2HvNJPZ

Keybase proof

I hereby claim:

  • I am program247365 on github.
  • I am program247365 (https://keybase.io/program247365) on keybase.
  • I have a public key ASCvWVe02SM56NjmBrt-6MaOFSCa6NVWPc4MhZIPLf0heAo

To claim this, I am signing this object:

@program247365
program247365 / QuakeConsole.ahk
Created March 11, 2012 03:59
Console 2 Settings File and Quake Awesomeness
; Change your hotkey here
^1::
DetectHiddenWindows, on
IfWinExist ahk_class Console_2_Main
{
IfWinActive ahk_class Console_2_Main
{
WinHide ahk_clasas Console_2_Main
WinActivate ahk_class Shell_TrayWnd
@program247365
program247365 / .disable-hibernate
Created February 20, 2013 19:09
Disable hibernate on mac
# !/bin/bash
sudo pmset hibernatemode 0;sudo rm -rf /var/vm/sleepimage
// Placeholder @mixin for Sass
//
// A mixin to style placeholders in HTML5 form elements.
// Includes also a .placeholder class to be used with a polyfill e.g.
// https://github.com/mathiasbynens/jquery-placeholder
// Requires Sass 3.2.
//
// Example usage (.scss):
//
// input {
@program247365
program247365 / livereload-noie.js
Created December 17, 2012 16:30
Have livereload script be on the page. But never load it for any IE.
var ie = (function(){
var undef,
v = 3,
div = document.createElement('div'),
all = div.getElementsByTagName('i');
while (
div.innerHTML = '<!--[if gt IE ' + (++v) + ']><i></i><![endif]-->',
all[0]
@program247365
program247365 / .tmux.conf
Created September 4, 2012 19:41
A nice tmux configuration
set -g default-terminal "screen-256color"
# act like GNU screen
unbind C-b
set -g prefix C-a
# Scroll with mouse, and select pane with mouse
setw -g mode-mouse on
setw -g mouse-select-pane on