using SSH:
- log in to AP:
$ ssh ubnt@<IP>
- default username & password:
ubnt
&ubnt
Command | Example | Function |
---|
%% Simple(?) WHOIS Client in Erlang | |
%% Copyright 2020 İlteriş Yağıztegin Eroğlu (linuxgemini) <new-iwhois@linuxgemini.space> | |
%% SPDX-License-Identifier: AGPL-3.0-or-later | |
-module(whois). | |
-export([query_iana/1, | |
query_ripe/1, | |
query_arin/1, | |
query_afrinic/1, | |
query_apnic/1, |
# Build with: | |
# NIX_PATH=nixpkgs=$HOME/src/nixpkgs nix-build --no-link '<nixpkgs/nixos>' -A config.system.build.tarball -I nixos-config=thisfile.nix | |
# You can also use | |
# -A config.system.build.toplevel | |
# to build something you can browse locally (that uses symlinks into your nix store). | |
{config, pkgs, ...}: | |
{ | |
# We need no bootloader, because the Chromebook can't use that anyway. | |
boot.loader.grub.enable = false; |
Table of Contents
Here's a list of mildly interesting things about the C language that I learned mostly by consuming Clang's ASTs. Although surprises are getting sparser, I might continue to update this document over time.
There are many more mildly interesting features of C++, but the language is literally known for being weird, whereas C is usually considered smaller and simpler, so this is (almost) only about C.
struct foo {
struct bar {
int x;
# Why? | |
# To paste text into windows that normally don't allow it or have access to the clipboard. | |
# Examples: Virtual machines that do not yet have tools installed, websites that hijack paste | |
# | |
# Extended vs Simple? | |
# * Includes an initial delay to allow you to change active windows | |
# * Adds small delay between keypresses for slower responding windows like SSH sessions | |
# * Better handling of numbers | |
# * VMWare bug fix | |
# |
Tuning Intel Skylake and beyond for optimal performance and feature level support on Linux:
Note that on Skylake, Kabylake (and the now cancelled "Broxton") SKUs, functionality such as power saving, GPU scheduling and HDMI audio have been moved onto binary-only firmware, and as such, the GuC and the HuC blobs must be loaded at run-time to access this functionality.
Enabling GuC and HuC on Skylake and above requires a few extra parameters be passed to the kernel before boot.
Instructions provided for both Fedora and Ubuntu (including Debian):
Note that the firmware for these GPUs is often packaged by your distributor, and as such, you can confirm the firmware blob's availability by running:
_(:」∠)_ | |
_(:_」∠)_ | |
_(:з」∠)_ | |
_(:зゝ∠)_ | |
╮( ̄▽ ̄)╭ | |
╮( ̄▽ ̄")╭ | |
╮(╯▽╰)╭ | |
(*・ω・)✄╰ひ╯ | |
╮(╯_╰)╭ | |
(ˉ﹃ˉ) |