Skip to content

Instantly share code, notes, and snippets.

View Emille1723's full-sized avatar
🎯
Focusing

Emille Henry Emille1723

🎯
Focusing
  • Trinidad and Tobago
View GitHub Profile
@Emille1723
Emille1723 / how-to-install-homebrew-on-manjaro.md
Created May 30, 2023 02:30 — forked from fardjad/how-to-install-homebrew-on-manjaro.md
[How to Install Homebrew on Manjaro] Steps required to install homebrew on Manjaro Linux #linux #manjaro #homebrew

How to Install Homebrew on Manjaro

Steps required to install Homebrew on Manjaro Linux

Steps

  1. Install base-devel

     pacman -Syu # CAUTION: this updates the whole system
    

pacman -S base-devel

@Emille1723
Emille1723 / konsole-with-palette-colours.css
Created July 14, 2023 13:56 — forked from codemedic/konsole-with-palette-colours.css
CSS for KDE Konsole minimal, lighter, dark tabs
QTabBar,
QTabBar::tab
{
font-family: "Noto Sans";
font-size: 11px;
height: 16px;
padding: 2px;
border: 0px;
border-bottom: 3px solid palette(dark);
background-color: palette(dark);
@Emille1723
Emille1723 / bash-colors.md
Created January 17, 2024 13:18 — forked from JBlond/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@Emille1723
Emille1723 / README.md
Created March 7, 2024 03:41 — forked from djfdyuruiry/README.md
WSL 2 - XServer Setup

WSL 2 XServer Setup

This guide will setup WSL 2 to be able to connect to an XServer installed on your host Windows machine. Note: this was tested on Windows 10 Build 2004, running Ubuntu 20.04 LTS in WSL 2. The XServer software used was VcXsrv; remember to disable authentication for this to work correctly.

  • Open a WSL terminal

  • Fix an issue with dbus:

sudo sh -c "dbus-uuidgen > /etc/machine-id"

@Emille1723
Emille1723 / init.lua
Created March 19, 2024 06:27 — forked from s1n7ax/init.lua
Show file path in the winbar
vim.o.winbar = "%{%v:lua.require'nvim.utils.nvim.winbar'.eval()%}"
@Emille1723
Emille1723 / android_on_arch.md
Created April 23, 2024 04:53 — forked from dianjuar/android_on_arch.md
install android SDK on arch linix

Install Android SDK on Arch Linux

1. Download Android SDK on your computer

yaourt android-sdk-platform-tools
yaourt android-udev
yaourt android-sdk

2. Create global variables on system

@Emille1723
Emille1723 / instant-zsh.zsh
Created May 20, 2024 20:09 — forked from romkatv/instant-zsh.zsh
Make zsh start INSTANTLY with this one weird trick
# Make zsh start INSTANTLY with this one weird trick.
#
# https://asciinema.org/a/274255
#
# HOW TO USE
#
# 1. Download this script.
#
# curl -fsSL -o ~/instant-zsh.zsh https://gist.github.com/romkatv/8b318a610dc302bdbe1487bb1847ad99/raw
#

This is a brief guide on how to install Archlinux as a WSL2 distribution and how to set up CUDA afterwards.

As of late, Window's WSL2 offers GPU passthrough from WSL2/Linux to Windows for NVidia graphics cards which allows to run (and develop) CUDA-based applications on the WSL2/Linux-side with almost native performance. Unfortunately, the official guides for the CUDA setup for WSL2/Linux are predominantly Ubuntu-specific. Here's to you, Arch!

1. Install Archlinux

  1. Make sure that your Windows meets the dependencies and that your WSL2 is set up. See these instructions.

Archlinux is not among the default distributions available for WSL2. We'll install it from a tarball instead, a functionality offered natively by the WSL.

@Emille1723
Emille1723 / nvim-events.md
Created June 20, 2024 20:19 — forked from dtr2300/nvim-events.md
Overview of Nvim Events

Nvim Events

Nvim recognizes the following events. Names are case-insensitive.

BufAdd
Just after creating a new buffer which is
added to the buffer list, or adding a buffer
@Emille1723
Emille1723 / CMD.md
Created August 25, 2024 22:37 — forked from OXY2DEV/CMD.md

🔰 A beginners guide to create custom cmdline

showcase

Ever wanted to know how noice creates the cmdline or wanted your own one?

No one? Guess it's just me 🥲.

Anyway, this post is a simple tutorial for creating a basic cmdline in neovim.