Skip to content

Instantly share code, notes, and snippets.

View Puxirepublic's full-sized avatar
🍺

Puxirepublic

🍺
  • behave exclusively as 従順な原子化消費者
View GitHub Profile

NEXUS 5X: Fix lineage 14.1 OS vendor mismatch error (N2G47F)

Issue is due to the fact that lineage 14.1 bullhead nightlies are based on the 7.1.2 N2G47F (Apr 2017) monthly update from google.

More explanations in xda-developers.

PREREQUISITE

This assumes:

  • you already know a bit about flashing you android device and you already installed TWRP.
@Hikari9
Hikari9 / input.conf
Last active May 4, 2024 21:45
MPV Config File for Ceylon (anime)
AXIS_UP ignore
AXIS_DOWN ignore
AXIS_LEFT ignore
AXIS_RIGHT ignore
MOUSE_BTN3 add volume 5
MOUSE_BTN4 add volume -5
MOUSE_BTN5 seek -5
MOUSE_BTN6 seek 5
@aklap
aklap / fix-missing-libcrypto-osx.md
Created October 17, 2016 04:25
Resolving missing link to libcrypto/openssl on OSX
--- a/pixman/pixman-glyph.c 2014-04-24 06:34:14.000000000 +0200
+++ b/pixman/pixman-glyph.c 2015-08-07 22:34:08.457721370 +0200
@@ -32,4 +31,263 @@
#include <stdlib.h>
+static unsigned char actable[65536] = {
+0,0,1,2,2,3,4,4,5,5,6,7,7,8,9,9,10,11,11,12,13,13,13,14,15,15,16,17,17,18,19,19,20,21,21,22,23,23,24,24,25,26,27,28,28,29,29,30,31,31,32,33,33,34,34,35,36,37,37,38,39,39,40,41,41,42,43,43,44,45,45,46,47,47,48,49,49,50,51,52,52,53,53,55,55,56,57,57,58,58,59,60,61,62,62,63,64,64,65,66,66,67,68,69,70,70,71,72,72,73,74,74,75,76,76,77,78,79,79,80,81,82,83,84,84,85,86,87,88,88,89,90,91,91,91,92,93,94,95,95,96,97,98,99,100,100,101,102,103,104,105,106,107,107,107,108,109,110,111,112,113,114,115,116,116,117,118,119,120,121,122,123,124,124,125,126,127,128,129,129,130,131,132,134,135,135,136,137,138,140,141,141,142,143,144,146,146,147,148,150,150,151,152,154,155,155,157,158,160,160,161,163,164,164,166,168,168,169,171,173,173,175,176,176,178,180,182,182,184,186,186,189,191,191,193,196,196,199,201,201,204,207,207
@Earnestly
Earnestly / fonts.adoc
Last active March 14, 2025 05:44
Better Defaults for Freetype

Better Defaults for Freetype

Table of Contents

Introduction

@tuxfight3r
tuxfight3r / vim-shortcuts.md
Last active February 14, 2025 08:24
VIM SHORTCUTS

VIM KEYBOARD SHORTCUTS

MOVEMENT

h        -   Move left
j        -   Move down
k        -   Move up
l        -   Move right
$        -   Move to end of line
0        -   Move to beginning of line (including whitespace)
@flying-sheep
flying-sheep / plasmoid-tempinstall-run.sh
Last active December 6, 2018 14:28
installs and runs a plasmoid with a plugin
#!/bin/sh
#usage: ./plasmoid-tempinstall-run.sh plasmoidname
export QML2_IMPORT_PATH="$HOME/.local/share/qml"
myplasmoid=$1
mysopath="$QML2_IMPORT_PATH/org/kde/plasma/private/$myplasmoid"
if [[ -d "$HOME/.local/share/plasma/plasmoids/org.kde.plasma.$myplasmoid" ]]; then
plasmapkg2 -u ./package
@codebrainz
codebrainz / gist:8621904
Last active December 14, 2018 08:06
fontconfig settings
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
Disable "faked bold" done when font doesn't have bold style
-->
<match target="font">
<test name="spacing" compare="eq">
@Tvangeste
Tvangeste / article-style.css
Last active October 31, 2022 04:25
My qt-style.css
#.dsl_headwords
#{
# white-space: nowrap;
#}
#.gddictname
#{
# width: 50%;
# white-space: nowrap;
# text-overflow: ellipsis;
# overflow: hidden;
/*
Here's a CSS code to hide the most of GoldenDict's Scan Popup buttons.
Enable or disable them as you wish.
*/
/* ScanPopup #goBackButton, */
/* ScanPopup #queryError */
ScanPopup #goBackButton,
ScanPopup #goForwardButton,
ScanPopup #wordListButton,