Skip to content

Instantly share code, notes, and snippets.

@Kabouik
Kabouik / Shadow-bug-report
Last active July 27, 2018 14:45
Shadowbeta.deb bug report for Solus distribution
# Copy and paste this code in the terminal for troubleshooting:
printf "\n\n# System information\n" && inxi -SMCG &&
printf "\n\n# Top 25 rows of shadow.log\n" && head -n 25 ~/.cache/blade/shadow/shadow.log &&
printf "\n\n# User groups\n" && id &&
printf "\n\n# Display manager\n" && echo $XDG_SESSION_TYPE &&
printf "\n\n# Video hardware acceleration\n" && vainfo &&
printf "\n\n# ClientSDL dependencies\n" && ldd -v ~/.config/Shadow\ Beta/data/opt/Shadow\ Beta/resources/app.asar.unpacked/native/linux/ClientSDL
@Kabouik
Kabouik / UPDATE-shadowbeta-17.10.sh
Last active July 27, 2018 10:45
Using Shadow.tech application on a non-debian-based distribution
#!/bin/bash
# Script to "install" and update the Shadow.tech application on a non-debian-based distribution. This script will download the Debian package, extract it to your a home folder sub-directories, create a .desktop file and clean downloaded files.
# Download latest .deb for Ubuntu 17.10, extract it, and clean unnecessary files.
mkdir ~/.config/Shadow\ Beta/data/
wget https://macosx.update.blade-group.fr/mpl/linux/beta/artful/shadowbeta.deb -P ~/.config/Shadow\ Beta/
cd ~/.config/Shadow\ Beta/
ar -x shadowbeta.deb
mkdir -p data && tar -xf data.tar.xz -C data/
@Kabouik
Kabouik / UPDATE-shadowbeta-18.04.sh
Created July 29, 2018 22:00
Using Shadow.tech application on a non-debian-based distribution (18.04)
#!/bin/bash
# Script to "install" and update the Shadow.tech application on a non-debian-based distribution. This script will download the Debian package, extract it to your a home folder sub-directories, create a .desktop file and clean downloaded files.
# Download latest .deb for Ubuntu 18.04, extract it, and clean unnecessary files.
mkdir ~/.config/Shadow\ Beta/data/
wget https://macosx.update.blade-group.fr/mpl/linux/beta/bionic/shadowbeta.deb -P ~/.config/Shadow\ Beta/
cd ~/.config/Shadow\ Beta/
ar -x shadowbeta.deb
mkdir -p data && tar -xf data.tar.xz -C data/
@Kabouik
Kabouik / Shadow-18.04-bug-report
Last active August 8, 2018 15:06
Shadowbeta.deb 18.04 bug report for Solus distribution
# Copy and paste this code in the terminal for troubleshooting:
printf "\n\n# System information\n" && inxi -SMCG &&
printf "\n\n# Top 25 rows of shadow.log\n" && head -n 25 ~/.cache/blade/shadow/shadow.log &&
printf "\n\n# User groups\n" && id &&
printf "\n\n# Display manager\n" && echo $XDG_SESSION_TYPE &&
printf "\n\n# Video hardware acceleration\n" && vainfo &&
printf "\n\n# ClientSDL dependencies\n" && ldd -v ~/.config/Shadow\ Beta/data/opt/Shadow\ Beta/resources/app.asar.unpacked/native/linux/ClientSDL | grep "not found"
@Kabouik
Kabouik / Unicode table
Created August 5, 2019 10:04 — forked from ivandrofly/Unicode table
Unicode table - List of most common Unicode characters *
Unicode table - List of most common Unicode characters *
* This summary list contains about 2000 characters for most common ocidental/latin languages and most printable symbols but not chinese, japanese, arab, archaic and some unprintable.
Contains character codes in HEX (hexadecimal), decimal number, name/description and corresponding printable symbol.
What is Unicode?
Unicode is a standard created to define letters of all languages ​​and characters such as punctuation and technical symbols. Today, UNICODE (UTF-8) is the most used character set encoding (used by almost 70% of websites, in 2013). The second most used character set is ISO-8859-1 (about 20% of websites), but this old encoding format is being replaced by Unicode.
How to identify the Unicode number for a character?
Type or paste a character:
@Kabouik
Kabouik / rofi config
Created August 5, 2019 19:29
rofi config
mathieu@solus-desktop ~ $ rofi --help
rofi usage:
rofi [-options ...]
Command line only options:
-no-config Do not load configuration, use default values.
-v,-version Print the version number and exit.
-dmenu Start in dmenu mode.
-display [string] X server to contact.
${DISPLAY}
This file has been truncated, but you can view the full file.
space
! exclamation mark
" quotation mark
# number sign
$ dollar sign
% percent sign
& ampersand
' apostrophe
( left parenthesis
) right parenthesis
@Kabouik
Kabouik / US, intl., with AltGr dead keys (custom version with extra characters)
Last active January 9, 2020 10:14
US-international layouts for F(x)tec Pro¹ QWERTY model
default partial alphanumeric_keys
xkb_symbols "us" {
include "us(basic)"
name[Group1]="Fxtec Pro1 English (US, intl., with AltGr dead keys)";
# Extra symbols on levels 3 (YellowArrow modifier) and 4 (Shift+YellowArrow), no dead keys on levels 1 and 2
key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde] };
key <AE01> { [ 1, exclam, onesuperior, exclamdown ] };
@Kabouik
Kabouik / README.adoc
Last active February 11, 2024 15:19
TWRP on F(x)tec Pro¹, an SFOS perspective
Warning
This guide is meant to be used with the Pro1 (QX1000 model, SOC SD835 or also called msm8998). If you have a Pro1x (QX1050 model, SOC SD662), head over here.

TWRP on F(x)tec Pro¹, an SFOS perspective

Inspired from this guide and proofread by @kabouik, @pcfe and @enigma9o7.

@Kabouik
Kabouik / gist:3b4097736282c1cb5b1fede162f85562
Created August 1, 2020 19:41 — forked from jatcwang/gist:ae3b7019f219b8cdc6798329108c9aee
List of all setxkbmap configuration options (including models/layout/etc)
! model
pc101 Generic 101-key PC
pc102 Generic 102-key (Intl) PC
pc104 Generic 104-key PC
pc105 Generic 105-key (Intl) PC
dell101 Dell 101-key PC
latitude Dell Latitude series laptop
dellm65 Dell Precision M65
everex Everex STEPnote
flexpro Keytronic FlexPro