Skip to content

Instantly share code, notes, and snippets.

View masajinobe-ef's full-sized avatar
💜
Coding🌌

masajinobe-ef masajinobe-ef

💜
Coding🌌
View GitHub Profile
@koster
koster / LocSystem.cs
Last active May 21, 2025 21:21
A compact loc system that needs no setup
// Just create a bunch LocString's anywhere
// change Loc.language and you're done
using System.Collections.Generic;
using System;
using System.Collections.Generic;
@kashifulhaque
kashifulhaque / NvChad.md
Last active March 10, 2026 17:22
Neovim NvChad keybinds

Neovim keybinds

  • Capital letters do the opposite of small letters in command (Press shift to trigger capital letters)
  • _ (underscore) to move the cursor at the beginning of line (doesn't switch to insert mode)
    • 0 (zero) moves the cursor to the zeroth position of the line (doesn't switch to insert mode)
  • $ (dollar) to move the cursor at the end of line (doesn't switch to insert mode)
  • d$ will delete from wherever your cursor is till the end of the line
  • f<character> to move cursor to the first occurrence of <character>
    • f( to move cursor to first occurence of (
  • t<character> to move cursor to upto but not on the first occurrence of <character>
  • t( to move cursor to first occurence of (
@en0ndev
en0ndev / get_windowsphotoviewer.md
Last active February 25, 2026 15:41
ENABLE/RESTORE WINDOWS PHOTO VIEWER IN WINDOWS 10/11
@Makeshift
Makeshift / tutorial.md
Last active February 14, 2026 15:26
Tutorial for automatically syncing an Obsidian vault with Git on an Android device

How to sync Obsidian with Git on Android

Limitations

  • If Termux is closed in the background by Android, the cron service will stop updating your repository and you must open Termux again. Refer to instructions for your device model to disable the killing of certain background applications.
  • This may negatively affect your devices battery life. I'm not entirely sure yet.

Setup

@ezracb
ezracb / Download a Windows 10 ISO.md
Created June 24, 2020 01:04 — forked from CHEF-KOCH/Download a Windows 10 ISO.md
Download a Windows 10 ISO directly from Microsoft (without the media creation tool)
@ndlrx
ndlrx / dnscrypt-proxy.md
Last active November 14, 2025 03:35
Install dnscrypt-proxy on Archlinux or Manjaro

Step 1 - Install and Configure dnscrypt-proxy

sudo su
pacman -S dnscrypt-proxy
cd /etc/dnscrypt-proxy/
@mislav
mislav / nginx.conf
Last active December 12, 2024 04:19
SSL nginx configuration for my personal site using Let's Encrypt https://certbot.eff.org/#ubuntutrusty-nginx
# primary HTTPS config
server {
listen 443 ssl;
server_name mislav.net;
ssl_certificate /etc/letsencrypt/live/mislav.net/cert.pem;
ssl_certificate_key /etc/letsencrypt/live/mislav.net/privkey.pem;
root /home/app/blog/_site;
index index.html;
@mislav
mislav / _readme.md
Last active February 2, 2026 14:24
tmux-vim integration to transparently switch between tmux panes and vim split windows

I use tmux splits (panes). Inside one of these panes there's a Vim process, and it has its own splits (windows).

In Vim I have key bindings C-h/j/k/l set to switch windows in the given direction. (Vim default mappings for windows switching are the same, but prefixed with C-W.) I'd like to use the same keystrokes for switching tmux panes.

An extra goal that I've solved with a dirty hack is to toggle between last active panes with C-\.

Here's how it should work:

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active March 18, 2026 09:53
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname