Skip to content

Instantly share code, notes, and snippets.

View kkarhan's full-sized avatar
🏠
Working from home

Kevin Karhan kkarhan

🏠
Working from home
View GitHub Profile
@lichnak
lichnak / unifi_ubuntu_2004.sh
Created June 26, 2020 20:22 — forked from davecoutts/unifi_ubuntu_2004.sh
Install Ubiquiti Unifi Controller on Ubuntu 20.04
View unifi_ubuntu_2004.sh
sudo apt install --yes ca-certificates apt-transport-https
echo 'deb https://www.ui.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50
wget -qO - https://www.mongodb.org/static/pgp/server-3.4.asc | sudo apt-key add -
echo 'deb https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse' | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
sudo apt-mark hold openjdk-11-*
View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@Irdroid
Irdroid / Irdroid-IrDA-Linux.md
Last active August 12, 2023 01:49
Configuration of the Irdroid IrDA series of modules in GNU Linux
View Irdroid-IrDA-Linux.md

pos58

Using the Irdroid IrDA series of modules on modern Linux based systems:

The Irdroid IrDA series of modules and development boards provide IrDA data communication for modern Linux based systems, thanks to the compatibility with the irda-tools for Linux and the availability of the relevant kernel modules / drivers for the chipset (mcp2120) used in the Irdroid IrDA product range. The irda-utils for GNU Linux are available for most of the GNU Linux distributions, thus simplifying the installation and configuration process.

Irdroid USB IrDA Transceiver / Irdroid USB IrDA transceiver Kit

The Irdroid USB IrDA transceiver is based on Microchip MCP2120 IrDA communication IC and the CH341 USB to UART serial converter module. The unit enumerates on the host system as a USB Serial port, usually enumarated as /dev/ttyUSB0.

@joostrijneveld
joostrijneveld / gpg2qrcodes.sh
Created May 20, 2014 19:43
Producing printable QR codes for persistent storage of GPG private keys
View gpg2qrcodes.sh
# Heavily depends on:
# libqrencode (fukuchi.org/works/qrencode/)
# paperkey (jabberwocky.com/software/paperkey/)
# zbar (zbar.sourceforge.net)
# Producing the QR codes:
# Split over 4 codes to ensure the data per image is not too large.
gpg --export-secret-key KEYIDGOESHERE | paperkey --output-type raw | base64 > temp
split temp -n 4 IMG
for f in IMG*; do cat $f | qrencode -o $f.png; done
@WonderSwan
WonderSwan / Walter White
Created April 17, 2015 08:28
So, you want to be a darknet drug lord...
View Walter White
So, you want to be a darknet drug lord...
by nachash
nachash@observers.net
[The advice in this article can be adapted to suit the needs of other
hidden services, including ones which are legal in your jurisdiction.
The threat model in mind is that of a drug market. The tone is that of a
grandfather who is always annoyingly right, who can't help but give a
stream-of-consciousness schooling to some whippersnapper about the way
the world works. If this article inspires you to go on a crime spree and
@davecoutts
davecoutts / unifi_ubuntu_2004.sh
Last active February 20, 2024 12:06
Install Ubiquiti Unifi Controller on Ubuntu 20.04
View unifi_ubuntu_2004.sh
# Install Ubiquiti Unifi Controller on Ubuntu 20.04.
# As tested on a fresh install of ubuntu-20.04.1-live-server, August 22nd 2020.
# Thanks to https://gist.github.com/tmuncks for posting the updated install steps.
sudo apt update
sudo apt install --yes apt-transport-https
echo 'deb https://www.ui.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list
sudo wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ui.com/unifi/unifi-repo.gpg