Skip to content

Instantly share code, notes, and snippets.

View OnikenX's full-sized avatar
🔗
C++ and Rust

OnikenX OnikenX

🔗
C++ and Rust
View GitHub Profile
@OnikenX
OnikenX / 1steam_notes.md
Last active June 9, 2023 00:16
Steam Deck package manager rootless

Steam Deck

Arquitecture

The steam deck, in terms of partition layout, is much closer to a modern phone than to a conventional PC.

The partition are divided in a AB layout, where you have a identical copy of critical files between partitions A and B of multiple partitions. This means that is much more secure and stable to update but it also means that your changes are easly reverted and of course those partitions are readonly and really low in extra space as it does not need much more.

@OnikenX
OnikenX / Keychron K6 Pro customing.md
Last active February 22, 2023 22:16
Some notes about editing the keychron k6 pro

VIA

For editing layers in the keyboard use the via binary, it can be find in archlinux repos, or the keychron website, and load up the json file for the design tab(follow the instruction in the keyboard page).

Personalized qmk codes can be used with Any key under the special tab.

WARNING: When you apply an qmk patch use the json file from the source code to updaload to the design tab, and dont activate the v2

QMK

#!/bin/sh
# Reference => https://stackoverflow.com/questions/31218599/supplying-a-password-to-git-in-a-bash-script
#Assign the password of a git repo to GIT_PASSWORD and set GIT_ASKPASS to this script
exec echo "$GIT_PASSWORD"
@OnikenX
OnikenX / root-ssh-debian.sh
Last active March 29, 2022 15:08
script to activate root login through ssh
#!/bin/bash
apt install ssh -y
echo PermitRootLogin yes >> /etc/ssh/sshd_config
systemctl restart ssh
@OnikenX
OnikenX / firefox-tips.md
Created November 4, 2021 16:49
Firefox secrets and tips

Search tips

@searchengine for selecting your search engine

%space for searching for tabs only

^space for searching for history only

@OnikenX
OnikenX / brainfuck.md
Last active June 12, 2021 14:14
Brainfuck Experience™

A minha experiencia com brainfuck

Foi muito mais facil do que esperava ser para perceber como funciona, segui este tutorial, Basics of BrainFuck e fiz o seguinte programa:

>++++++++[<++++>-].> Imprimir espaço em index 0 e deixar o seguinte em 0
> ++++++++++++++[<++++++>-]<++. Imprimesse o V(86) em index 1
>++[<+++++>-]<+.  Imprimesse o a(97) em index 1
>>++++++++++[<++++++++++>-]<+++++. Imprimesse o i(105) em index 2
<<<.>>> imprime o espaço que esta em index0 e volta a index3
&gt;+++++[&lt;++&gt;-]&lt;+. t(116) em index2
@OnikenX
OnikenX / RecriativeResources.md
Last active August 25, 2020 07:18
Websites for helping to create things
@OnikenX
OnikenX / newssources.md
Created August 19, 2020 03:58
Links for News
@OnikenX
OnikenX / GitTutorials.md
Last active October 14, 2021 09:55
Tutorials and tips for using the git cli tool
@OnikenX
OnikenX / Cppyoutubers.md
Created August 19, 2020 03:55
Youtubers for cpp learning