Skip to content

Instantly share code, notes, and snippets.

@joshuat
joshuat / macos-distribution.md
Created May 14, 2024 15:04 — forked from rsms/macos-distribution.md
macOS distribution — code signing, notarization, quarantine, distribution vehicles
@joshuat
joshuat / gist:142d5e28e07689ef51ea4b4ecd58b408
Created March 3, 2024 07:13
Known Meta domains (excluding subd0mains)
facebook.com
instagram.com
threads.net
meta.com
fb.me
facebook.com.ar
fbsbx.com
messenger.com
serverhub.net.nz
facebook-domain-names.com
@joshuat
joshuat / Slack avatar-less sidebar.md
Last active January 19, 2021 08:25
Remove the avatars from your slack sidebar

Slack has listened to feedback and given us a way to toggle off the sidebar avatars.

(This only seems to be available in the Beta channel at the moment)

Display or hide profile photos

  1. From your desktop, click your profile picture in the top right.
  2. Select Preferences from the menu.
  3. Click Sidebar in the left-side column.
  4. Check or uncheck the boxes next to Show profile photos next to DMs.
@joshuat
joshuat / FormProvider.jsx
Created June 9, 2020 22:50
Context provider/hook for easy form management
import React, { createContext, useContext, useState } from 'react'
const FormContext = createContext()
export const useForm = () => {
const context = useContext(FormContext)
if (context) return context
const [formData, setFormData] = useState({})
### Keybase proof
I hereby claim:
* I am joshua-turner on github.
* I am joshuaturner (https://keybase.io/joshuaturner) on keybase.
* I have a public key whose fingerprint is 22CF 37A9 463B 4D35 60FE 55D2 29D1 F8C5 0A9B CBE4
To claim this, I am signing this object: