Skip to content

Instantly share code, notes, and snippets.

View borcean's full-sized avatar

Jeffrey Borcean borcean

View GitHub Profile
@borcean
borcean / install_dockutil.sh
Created September 23, 2022 22:54
Install latest dockutil release from GitHub on macOS
#!/usr/bin/env bash
# Installs the latest release of dockutil from Github
APP=dockutil
# Download latest release PKG from Github
curl -s https://api.github.com/repos/kcrawford/dockutil/releases/latest \
| grep "https*.*pkg" | cut -d : -f 2,3 | tr -d \" \
| xargs curl -SL --output /tmp/$APP.pkg
@borcean
borcean / t480-fedora-fingerprint.md
Last active December 7, 2024 19:47
ThinkPad T480 fingerprint reader on Fedora Linux

ThinkPad T480 fingerprint reader on Fedora Linux

Background

The Synaptics fingerprint sensor (06cb:009a) present on my T480 is not supported by libfprint and fprintd as it requires a non-free binary blob. uunicorn created open-fprintd, a replacement for fprintd, that allows for loading of binary blobs. In conjunction with their python-validity driver we are able to make use of the inbuilt fingerprint reader. The following instructions were tested against Fedora Linux 35.

Installing open-fprintd and python-validity

sudo dnf copr enable tigro/python-validity
sudo dnf install open-fprintd fprintd-clients fprintd-clients-pam python3-validity

Keybase proof

I hereby claim:

  • I am borcean on github.
  • I am borcean (https://keybase.io/borcean) on keybase.
  • I have a public key ASCaOE13lChso81v9wGkIGQIZzdUZyU_Enk8YMTKqaSV2go

To claim this, I am signing this object:

@borcean
borcean / neon-install.sh
Last active April 2, 2023 06:41
Install KDE Neon on a Chromebook using Crouton
sudo crouton -r bionic -t core -n neon && \
sudo enter-chroot -n neon -u 0 bash -c "\
apt install software-properties-common -y && \
wget -qO - 'http://archive.neon.kde.org/public.key' | sudo apt-key add - && \
sudo apt-add-repository http://archive.neon.kde.org/user && \
sudo apt update && \
sudo apt full-upgrade -y && \
sudo apt install xterm xinit -y" && \
@borcean
borcean / dns66.json
Created September 10, 2019 15:31
Android Adblock Exemptions
{
"autoStart":true,
"dnsServers": {
"enabled":false,
"items":[ {
"location": "213.73.91.35", "state": 1, "title": "Chaos Computer Club (DE)"
}
,
{
"location": "46.182.19.48", "state": 1, "title": "Digitalcourage e.V. (DE)"
[user]
name = Jeffrey Borcean
email = your@email.net
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
@borcean
borcean / install.sh
Created January 11, 2018 04:29
Install Chrome OS over Chromium OS
#!/bin/sh
#
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# This attempts to guide linux users through the process of putting a recovery
# image onto a removeable USB drive.
#
# We may not need root privileges if we have the right permissions.
@borcean
borcean / ff.fish
Created September 1, 2016 22:30
Put these in ~/.config/fish/functions and reload your shell
function ff
ping -c 1 -W 10 10.2.0.1 >/dev/null
if test $status -eq 0
ssh -q -t fir.osuosl.bak "sudo view /root/.../firfile"
else
echo "VPN not connected..."
end
end
@borcean
borcean / ks-f23-ppc64-openstack.cfg
Created April 15, 2016 21:58
Kickstart for F23 PPC64
install
cdrom
lang en_US.UTF-8
keyboard us
network --bootproto=dhcp
rootpw fedora
firewall --disabled
authconfig --enableshadow --passalgo=sha512
selinux --permissive
timezone UTC
@borcean
borcean / Dockerfile
Last active March 4, 2016 00:04
Lots of containers for DOBC
FROM centos:latest
MAINTAINER jeffrey@borcean.xyz
RUN yum upgrade -y
RUN yum install -y \
man \
openssh-server \
screen \
vim \