Skip to content

Instantly share code, notes, and snippets.

View jeffmikels's full-sized avatar

jeffmikels

View GitHub Profile
@jeffmikels
jeffmikels / output.txt
Created December 10, 2019 20:43
flutter issue #46460
Joshua:flutter_lobby_signage jeff$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.14.5 18F132, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.0)
[✓] Android Studio (version 3.3)
[✓] VS Code (version 1.40.2)
[✓] Connected device (2 available)
@jeffmikels
jeffmikels / make_pro6_doc.py
Created December 21, 2019 23:10
Generate ProPresenter6 Document
#!/usr/bin/env python3
import os
import re
import base64
import json
import uuid
import html
# This script generates a ProPresenter file from a slide object
@jeffmikels
jeffmikels / fix-pro6.lua
Created December 21, 2019 23:26
Hammerspoon script to rearrange propresenter screen windows
-- CONFIGURE PROPRESENTER SETTINGS
local pro6_bundle_id = 'com.renewedvision.ProPresenter6'
local pro6_icon_path = "[PATH TO PROPRESENTER ICON]"
-- CONFIGURE DISPLAY SETTINGS
-- hammerspoon reads all the displays as one giant canvas of pixels
-- if two displays are ordered horizontally:
-- the main display will have these coordinates:
-- {x=0,y=0,w=display1_width,h=display1_height}
--
@jeffmikels
jeffmikels / facebook-friend-process.js
Created January 13, 2021 20:19
browser script to process facebook friends in bulk
// THIS SCRIPT WORKS ON THE FOLLOWING FACEBOOK PAGE
// https://www.facebook.com/[yourprofile]/friends
let loopcancel = false;
let next_friend = 0;
// not reliable... will also return liked pages and events
let friendTileClasses = 'bp9cbjyn ue3kfks5 pw54ja7n uo3d90p7 l82x9zwi n1f8r23x rq0escxv j83agx80 bi6gxh9e discj3wi hv4rvrfc ihqw7lf3 dati1w0a gfomwglr';
function get_friends() {
@jeffmikels
jeffmikels / hex.py
Created March 12, 2021 17:33
Python script to output anything as hex
#!/usr/bin/env python3
# usage:
# hex.py file1 file2
# cat file1 | hex.py
import os, sys
if len(sys.argv) > 1:
for fn in sys.argv[1:]:
@jeffmikels
jeffmikels / syntax.php
Created March 17, 2021 16:39
Dokuwiki PAGEINDEX Plugin version 1.3
<?php
/**
* Plugin page index: index table for pages in a name space
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Kite <Kite@puzzlers.org>
* @based_on "externallink" plugin by Otto Vainio <plugins@valjakko.net>
*/
if(!defined('DOKU_INC')) {