Skip to content

Instantly share code, notes, and snippets.

@mdogan
mdogan / 99-install-facetime-camera.sh
Created September 22, 2022 15:24 — forked from ukn/99-install-facetime-camera.sh
Install the kernal module required for the facetimehd camera to work on Linux
#!/bin/bash
set -e
export CONFIG_MODULE_SIG=n
export CONFIG_MODULE_SIG_ALL=n
# For current kernel
export KERNELRELEASE=$(cat /proc/version | awk '{print $3}')
temp_dir=$(mktemp -d)
echo "Installing FacetimeHD camera for $KERNELRELEASE"
@mdogan
mdogan / dnsmasq OS X.md
Created August 31, 2021 12:10 — forked from ogrrd/dnsmasq OS X.md
Setup dnsmasq on OS X

Never touch your local /etc/hosts file in OS X again

To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.

Requirements

Install

Keybase proof

I hereby claim:

  • I am mdogan on github.
  • I am mdogan (https://keybase.io/mdogan) on keybase.
  • I have a public key whose fingerprint is 9BF8 07AC 5816 B2E6 CCA1 7F26 652A 5666 58F1 8BD8

To claim this, I am signing this object: