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
@OXY2DEV
OXY2DEV / CMD.md
Last active February 5, 2025 12:29

🔰 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.

@dtr2300
dtr2300 / nvim-events.md
Last active March 3, 2025 06:56
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
@insertish
insertish / React Native.md
Last active February 16, 2025 12:38
Configure React Native with Typescript, Vite.js for react-native-web and Storybook.
@3ayazaya
3ayazaya / starship.toml
Last active February 24, 2025 08:34
My Starship terminal configuration file
#format = """
#[╭─user───❯](bold blue) $username
#[┣─system─❯](bold yellow) $hostname
#[┣─project❯](bold red) $directory$rust$git_branch$git_status$package$golang$terraform$docker_context$python$docker_context$nodejs
#[╰─cmd────❯](bold green)
#"""
#format = '$all'
[localip]
ssh_only = false
@slavistan
slavistan / cuda-ready-archlinux-for-wsl2.md
Last active January 5, 2025 18:14
CUDA-ready Archlinux for WSL2

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.

@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active March 10, 2025 04:46
Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@ruralocity
ruralocity / Dockerfile
Created February 21, 2021 19:59
Initial setup of a VS Code devcontainer for Rails; see https://everydayrails.com/2021/02/21/docker-devcontainer-series-setup.html
# [Choice] Ruby version: 2, 2.7, 2.6, 2.5
ARG VARIANT=2
FROM mcr.microsoft.com/vscode/devcontainers/ruby:0-${VARIANT}
ARG NODE_VERSION="lts/*"
RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"
# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>
@djfdyuruiry
djfdyuruiry / README.md
Last active March 7, 2024 03:41
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"

%YAML 1.2
---
name: PHP
file_extensions:
- php
- php3
- php4
- php5
- php7
- phps