Skip to content

Instantly share code, notes, and snippets.

@iocoop
iocoop / iocoop-repos.md
Last active November 15, 2020 04:53
Overview of IO Coopertive GitHub repos

Documents issues and wikis

@ttscoff
ttscoff / onsetapp.rb
Last active March 17, 2026 12:58
Check which Setapp Apps you could be using
#!/usr/bin/env ruby
# encoding: utf-8
# Read /Applications/Setapp to get apps already installed
installed_setapp_apps = Dir.glob('/Applications/Setapp/*.app')
installed_setapp_apps.map! {|app|
File.basename(app,'.app')
}
# Grab the All Apps page from Setapp to get all available apps
@lizthegrey
lizthegrey / attributes.rb
Last active April 29, 2026 20:02
Hardening SSH with 2fa
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam'
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes'
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no'
@pb111
pb111 / Web Scraping with Python and BeautifulSoup.ipynb
Created March 11, 2019 02:20
Web scraping with Python and BeautifulSoup
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mlissner
mlissner / filters.js
Created March 7, 2019 23:09
Regular expressions for parsing law citations from the U.S., Canada, Europe, and Australia (and probably more). Originally from the Jureeka project.
// ==UserScript==
// @name Jureeka
// @namespace http://www.jureeka.org
// @description Turns legal citations in webpages into hyperlinks that direct you to online legal source material.
// ==/UserScript==
// $Id: jureeka.js 1256 2012-02-13 19:06:16Z imad $
/*
Warnings:
**Example page!**
This is example page of the API doc style created
[Aras Pranckevičius](https://github.com/aras-p) at Unity for Morgan McGuire's
[Markdeep](https://casual-effects.com/markdeep/) and now part of the official Markdeep distro.
It uses content that could be an imaginary documentation page. Here would be some introduction
text.
## What is this?
@itod
itod / gist:51e1e923be8a5ec2dc5000d136e21aa7
Created October 16, 2018 18:30
Enable Top/Bottom Browsa Panels in Fluid 2.1
defaults write com.fluidapp.FluidApp2.Gmail TopBottomBrowsaPanelsEnabled -bool YES
@dobesv
dobesv / dev_signed_cert.sh
Last active November 9, 2025 02:36
Script to create (1) a local certificate authority, (2) a host certificate signed by that authority for the hostname of your choice
#!/usr/bin/env bash
#
# Usage: dev_signed_cert.sh HOSTNAME
#
# Creates a CA cert and then generates an SSL certificate signed by that CA for the
# given hostname.
#
# After running this, add the generated dev_cert_ca.cert.pem to the trusted root
# authorities in your browser / client system.
#
@essandess
essandess / How to Migrate, Rebuild, and Fix OS X Server.md
Created April 19, 2018 22:31
How to Migrate, Rebuild, and Fix OS X Server

Re: https://discussions.apple.com/thread/6108331

How to Migrate, Rebuild, and Fix OS X Server

I upgraded my server to new hardware, hand-migrated all its data, and fixed Profile Manager’s “500 Internal Server Error” problem. My experience has been the same as the Ars commenter who wrote that OS X Server is “extremely fragile, and when it breaks it breaks severely and inscrutably.”

The online documentation to rebuild and/or fix OS X Server is sparse and inadequate, so I’ve posted my ultimately successful steps here.

@itst
itst / INSTALL.md
Last active October 26, 2019 22:58
Installling ibooks-highlights on macOS 10.12

Installation

  1. Download/clone https://github.com/matttrent/ibooks-highlights
  2. pip3 install click
  3. brew install libyaml
  4. cd to cloned copy
  5. sudo python3 setup.py install
  6. copy templates from ibook_highlights/templates to /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ibooks_highlights-0.1.0-py3.6.egg
  7. Create directoy to hold your notes. mkdir ~/Documents/Annotations
  8. cd ~/Documents/Annotations