Skip to content

Instantly share code, notes, and snippets.

View merlinsbeard's full-sized avatar
🍙
hey

Ben Paat merlinsbeard

🍙
hey
View GitHub Profile

Buko Dashboard / Onboarding / Reporting

#buko #buko-onboarding #buko-dashboard #buko-reporting

[[2025-01-11]]

Terms

  • Admin - Internal Buko Users
@merlinsbeard
merlinsbeard / keychron_linux.md
Created October 2, 2021 10:01 — forked from andrebrait/keychron_linux.md
Keychron keyboards on Linux (+ Bluetooth fixes)

Here is the best setup (I think so :D) for Keychron + Linux

Make Fn + F-keys work

Keychron Keyboards on Linux use the hid_apple driver (even in Windows/Android mode), both in Bluetooth and Wired modes. By default, this driver uses the F-keys as multimedia shortcuts and you have to press Fn + the key to get the usual F1 through F12 keys.

In order to change this, you need to change the fnmode parameter for the hid_apple kernel module. Here's some documentation on it, but a quick summary can be found below:

@merlinsbeard
merlinsbeard / auth-permission.ts
Last active July 20, 2021 13:16
middleware-sample
import { Request, NextFunction } from 'express'
import grabUser from '../helpers/grabUser'
export const userRequired = async (req: Request, res, next: NextFunction) => {
const authorization = req.headers.authorization
if (authorization == null || authorization === '') {
return res.status(401).send({ msg: 'Authorization header required' })
@merlinsbeard
merlinsbeard / GitCommitEmoji.md
Last active July 1, 2019 05:45 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@merlinsbeard
merlinsbeard / AESCipher.py
Created April 27, 2019 04:52 — forked from swinton/AESCipher.py
Encrypt & Decrypt using PyCrypto AES 256 From http://stackoverflow.com/a/12525165/119849
#!/usr/bin/env python
import base64
from Crypto import Random
from Crypto.Cipher import AES
BS = 16
pad = lambda s: s + (BS - len(s) % BS) * chr(BS - len(s) % BS)
unpad = lambda s : s[0:-ord(s[-1])]

Introduction:

Prerequisite for Windows Server 2012

Needs to update the windows to install the KB2919355 windows update and install the Visual Studio Build Tools

vs2017

Check the Visual C++ build tools and make sure in the Optional Windows 10 SDK and Visual C++ tools for Cmake are checked.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.