Skip to content

Instantly share code, notes, and snippets.

View deomorxsy's full-sized avatar
🐚

deomorxsy

🐚
  • Brazil
  • 00:03 (UTC -03:00)
View GitHub Profile
@deomorxsy
deomorxsy / EFI-partition.md
Created September 3, 2020 02:39
EFI partition basic configuration with Parted and mkfs.fat

Creating partition

mkpart "EFI system partition" fat32 33MiB 512MiB

Setting partition flag for boot

set 1 esp on
@deomorxsy
deomorxsy / dt-solving.md
Created June 11, 2020 18:46
Error solving

env output:

$env
SHELL=/data/data/com.termux/files/usr/bin/bash
PREFIX=/data/data/com.termux/files/usr
PWD=/data/data/com.termux/files/home
EXTERNAL_STORAGE=/storage/sdcard0
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
HOME=/data/data/com.termux/files/home
@deomorxsy
deomorxsy / pacman-installed.md
Last active March 14, 2020 13:01
List all explicitly installed packages with pacman in my build.

2020-03-14

[asari@asari-pc ~]$ pacman -Qe 
accountsservice 0.6.55-1 
acpi 1.7-2 
acpid 2.0.32-1 
alsa-firmware 1.2.1-2 
alsa-utils 1.2.2-1 
android-tools 29.0.5-2 
@deomorxsy
deomorxsy / ffmpeg-splitter.sh
Created January 13, 2020 00:58
splitting 2videos on the CLI with ffmpeg.
ffmpeg -i video1.mp4 -i video2.mp4 \
-filter_complex \
"[0:v]pad=iw*2:ih[int]; \
[int][1:v]overlay=W/2:0[vid]" \
-map "[vid]" \
-c:v libx264 -crf 23 \
video3.mp4
@deomorxsy
deomorxsy / pacman_fail-to-sync-db.md
Last active January 2, 2020 17:05
Arch Manjaro, pacman error: unregistering database && failed to synchronize all databases

2020-jan-02

The error itself:

[user@user ~]$ sudo pacman -Syyuu
:: Sincronizando a base de dados de pacotes...
erro: falha ao atualizar core (não foi possível travar a base de dado
erro: falha ao atualizar extra (não foi possível travar a base de dad
erro: falha ao atualizar community (não foi possível travar a base de
erro: falha ao atualizar multilib (não foi possível travar a base de
#!/bin/bash
cd ch.946-GIMP/
l1=(*.jpg)
for l1 in *.jpg; do convert $l1 -resize 1080x1920! ../final/$l1 && echo "resizing... $l1"; done
@deomorxsy
deomorxsy / 03-2020_pip-files.md
Last active March 12, 2020 21:34
my pip files' output.

pip files

[asari@asari-pc]$ python -m pip list 
Package                      Version 
---------------------------- ------- 
aiohttp                      3.6.2 
anytree                      2.8.0 
appdirs                      1.4.3 
argcomplete                  1.10.0 
@deomorxsy
deomorxsy / after-manjaro.md
Last active April 15, 2020 13:57
useful things to do after installing manjaro

Things to do after install manjaro

  • Removing db.lck
sudo rm -f /var/lib/pacman/db.lck
  • Optimize mirrors
sudo pacman-mirrors -g
@deomorxsy
deomorxsy / Directx-Unknown-Error.txt
Created August 31, 2019 01:35
League of Legends' log running under wine on OS Manjaro Linux x86_64. Hardware specs can be found on the log.
Running /opt/wine-lol/bin/wine /home/asari/JoooJ/LoL/drive_c/Riot Games/League of Legends/LeagueClient.exe
LeagueClient.exe(00000009): ALWAYS| Application Version:9.17.287.2485 - CL:2872485 - Build Date:Aug 28 2019 - Build Time:16:49:49
LeagueClient.exe(00000009): ALWAYS| Direct Launch not configured for league_of_legends.live in environment ''
LeagueClient.exe(0000002E): ALWAYS| Tracing worker thread running.
LeagueClient.exe(00000009): ALWAYS| Running LeagueClient version 9.17.287.2485
LeagueClient.exe(0000002E): ALWAYS| Keeping up to 10 tracing logs.
LeagueClient.exe(0000002E): ALWAYS| Tracing CompactJsonWriter at C:/Riot Games/League of Legends/Logs/LeagueClient Logs/2019-08-30T22-27-51_8_LeagueClient-tracing.json
LeagueClient.exe(00000009): ALWAYS| Phase Begin - Init
LeagueClient.exe(00000009): ALWAYS| Plugin Manager| Loaded plugin manifest file plugin-manifest.json.
LeagueClient.exe(00000009): ALWAYS| Begin Launch Ux Process

Jekyll Serve Traceback Error

Could not find 'public_suffix' (>= 2.0.2, < 4.0) - did find: [public_suffix-4.0.0]

[asari@asari-pc xxxxxxxxx.github.io]$ jekyll serve 
Traceback (most recent call last): 
        12: from /usr/bin/jekyll:23:in `<main>' 
        11: from /usr/lib/ruby/2.6.0/rubygems.rb:304:in `activate_bin_path' 
        10: from /usr/lib/ruby/2.6.0/rubygems.rb:304:in `synchronize' 
         9: from /usr/lib/ruby/2.6.0/rubygems.rb:305:in `block in activate_bin_path'