Skip to content

Instantly share code, notes, and snippets.

View RomjanHossain's full-sized avatar
🐢
officeNhomeNsleep

Romjan D. Hossain RomjanHossain

🐢
officeNhomeNsleep
View GitHub Profile
@RomjanHossain
RomjanHossain / colemak-dh.ahk
Last active August 22, 2024 06:56
Colemak mod dh ortholinear layout for windows
; Colemak Mod-DH mapping for ANSI boards
;SC010::q
;SC011::w
SC012::f
SC013::p
SC014::b
SC015::j
SC016::l
SC017::u
@RomjanHossain
RomjanHossain / us
Last active July 15, 2024 04:36
Colemak-dh ortholinear on /usr/share/X11/xkb/symbols
// Keyboard layouts for the United States of America.
default partial alphanumeric_keys modifier_keys
xkb_symbols "basic" {
name[Group1]= "English (US)";
key <TLDE> {[ grave, asciitilde ]};
key <AE01> {[ 1, exclam ]};
key <AE02> {[ 2, at ]};
@RomjanHossain
RomjanHossain / vimrc
Created March 7, 2024 06:17
Vimrc for the bubt pc
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"
" ██╗ ██╗██╗███╗ ███╗██████╗ ██████╗
" ██║ ██║██║████╗ ████║██╔══██╗██╔════╝
" ██║ ██║██║██╔████╔██║██████╔╝██║
" ╚██╗ ██╔╝██║██║╚██╔╝██║██╔══██╗██║
" ╚████╔╝ ██║██║ ╚═╝ ██║██║ ██║╚██████╗
" ╚═══╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝
"
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@RomjanHossain
RomjanHossain / config.lua
Created February 29, 2024 16:51
my lunarvim config for Flutter.....!
-- general
lvim.log.level = "warn"
lvim.format_on_save = true
vim.wo.relativenumber = true
lvim.colorscheme = "onedarker"
lvim.transparent_window = false
-- keymappings [view all the defaults by pressing <leader>Lk]
lvim.leader = "space"
-- add your own keymapping
lvim.keys.normal_mode["<C-s>"] = ":w<cr>"
@RomjanHossain
RomjanHossain / TorPrivoxyPython.md
Created February 16, 2024 17:57 — forked from DusanMadar/TorPrivoxyPython.md
A step-by-step guide how to use Python with Tor and Privoxy

A step-by-step guide how to use Python with Tor and Privoxy

Latest revision: 2021-12-05.

Tested on Ubuntu 18.04 Docker container. The Dockerfile is a single line FROM ubuntu:18.04. Alternatively, you can simply run docker run -it ubuntu:18.04 bash.

NOTE: stopping services didn't work for me for some reason. That's why there is kill $(pidof <service name>) after each failed service <service name> stop to kill it.

References

@RomjanHossain
RomjanHossain / download-old-chrome-versions.md
Created December 11, 2023 06:18 — forked from barbietunnie/download-old-chrome-versions.md
How to download old versions of Chrome

How to download old versions of Chrome

Click here to download old versions of Chrome for Linux, Mac and Windows.

The download_url field of the desired section houses the URL to the download.

Alternatively, for not too old versions, you can get it directly here.

@RomjanHossain
RomjanHossain / lvim.ps1
Created October 26, 2023 07:03
Lvim using Neovide
#Requires -Version 7.1
$ErrorActionPreference = "Stop" # exit when command fails
$env:XDG_DATA_HOME = $env:XDG_DATA_HOME ?? $env:APPDATA
$env:XDG_CONFIG_HOME = $env:XDG_CONFIG_HOME ?? $env:LOCALAPPDATA
$env:XDG_CACHE_HOME = $env:XDG_CACHE_HOME ?? $env:TEMP
$env:LUNARVIM_RUNTIME_DIR = $env:LUNARVIM_RUNTIME_DIR ?? "$env:XDG_DATA_HOME\lunarvim"
$env:LUNARVIM_CONFIG_DIR = $env:LUNARVIM_CONFIG_DIR ?? "$env:XDG_CONFIG_HOME\lvim"
$env:LUNARVIM_CACHE_DIR = $env:LUNARVIM_CACHE_DIR ?? "$env:XDG_CACHE_HOME\lvim"
@RomjanHossain
RomjanHossain / kitty.conf
Created August 9, 2021 07:15
My terminal (kitty) config file
include ./kittytheme.conf
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker
#: Fonts {{{
#: kitty has very powerful font management. You can configure
#: individual font faces and even specify special fonts for particular
#: characters.
@RomjanHossain
RomjanHossain / zathurarc
Created August 9, 2021 07:10
My zathura config
set notification-error-bg "#2a2f33" # bg
set notification-error-fg "#ec7279" # bright:red
set notification-warning-bg "#2a2f33" # bg
set notification-warning-fg "#deb974" # bright:yellow
set notification-bg "#2a2f33" # bg
set notification-fg "#a0c980" # bright:green
set completion-bg "#31363b" # bg2
set completion-fg "#bfddb2" # fg
set completion-group-bg "#3c3836" # bg1
@RomjanHossain
RomjanHossain / .zshrc
Created August 9, 2021 07:04
My zsh config
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH