Skip to content

Instantly share code, notes, and snippets.

View weeebdev's full-sized avatar
㊙️
アニメを見ますよ

Adil Akhmetov weeebdev

㊙️
アニメを見ますよ
View GitHub Profile
@0xdevalias
0xdevalias / reverse-engineering-macos.md
Last active May 17, 2025 04:14
Some notes, tools, and techniques for reverse engineering macOS binaries
@calliecameron
calliecameron / onyx-boox-handwriting-optimisation.md
Last active April 5, 2025 03:14
Onyx Boox handwriting optimisation in any app

Onyx Boox handwriting optimisation in any app

All credit to this thread for figuring out how to do this, I'm just documenting it more thoroughly.

Tested on Nova Air C with firmware 3.5 (2023-11-20).

Handwriting optimisation makes the pen usable in apps installed from the play store. By default it's only available for OneNote, Evernote and WPS -- they have a 'handwriting' tab in the optimisation settings, other apps don't -- but can be enabled for any app by editing the file /onyxconfig/eac_config as root.

Note: whenever you edit eac_config, you have to reboot the device for the changes to take effect. Just restarting the app isn't enough.

@sarkrui
sarkrui / install-cloudflared.md
Created May 31, 2023 12:19
Install Cloudflared on Alpine Linux

Cloudflared Setup Guide

This guide will walk you through setting up Cloudflared on your system.

Pre-Requisites

You need to have administrative (sudo) access to your system.

Here are the steps to install Cloudflared.

@0xdevalias
0xdevalias / beeper-custom-theme-styles.md
Last active April 25, 2025 05:10
Custom themes/CSS styling hacks/overrides for Beeper (universal chat app aggregator, built on top of matrix)
@athphane
athphane / bitwarden-backup.sh
Created June 12, 2022 17:08
Bash script to zip up Vaultwarden data directory and upload to Cloud storage.
#!/bin/bash
#edit these to your config
BWDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
DATETIME="$(date +'%Y-%m-%d_%H-%M-%S')"
FOLDERPATH="$(date +'%Y-%m-%d')"
GZFILE=bitwarden-${DATETIME}.tar.gz
#change working dir to /tmp
cd /tmp/
@ishad0w
ishad0w / sources.list
Created April 30, 2020 16:55
Ubuntu 20.04 LTS (Focal Fossa) -- Full sources.list
deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
@jasonboukheir
jasonboukheir / git
Last active November 20, 2024 21:51
git when in unix, git.exe when in wsl
#!/bin/sh
if pwd | grep /mnt/c > /dev/null; then
exec git.exe "$@"
else
exec /usr/bin/git "$@"
fi
@StevenACoffman
StevenACoffman / goGetPrivate.md
Last active February 13, 2025 18:17 — forked from dmitshur/gist:6927554
How to `go get` private repos using SSH key auth instead of password auth.

Set GOPRIVATE to match your github organization

I keep fixing this up, but if it fails for you, check if these are better maintained https://tip.golang.org/cmd/go/#hdr-Configuration_for_downloading_non_public_code and https://golang.org/ref/mod#private-modules.

Cloning the repo using one of the below techniques should work correctly but you may still be getting an unrecognized import error.

As it stands for Go v1.13, I found in the doc that we should use the GOPRIVATE variable like so:

GOPRIVATE=github.com/ORGANISATION_OR_USER_NAME go get -u -f github.com/ORGANISATION_OR_USER_NAME/REPO_NAME

The 'go env -w' command (see 'go help env') can be used to set these variables for future go command invocations.

@jtbonhomme
jtbonhomme / hasMany.go
Created May 22, 2018 11:11
Gorm example of foreign key definition for a hasMany relation
package main
import (
"fmt"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/postgres"
)
// Customer ...
type Customer struct {