Skip to content

Instantly share code, notes, and snippets.

View RomjanHossain's full-sized avatar
🐢
officeNhomeNsleep

Romjan D. Hossain RomjanHossain

🐢
officeNhomeNsleep
View GitHub Profile
# This is a sample commands.py. You can add your own commands here.
#
# Please refer to commands_full.py for all the default commands and a complete
# documentation. Do NOT add them all here, or you may end up with defunct
# commands when upgrading ranger.
# You always need to import ranger.api.commands here to get the Command class:
from ranger.api.commands import *
from ranger.core.loader import CommandLoader
background #000000
foreground #F8F8F2
cursor #F8F8F2
# Black
color0 #3D4C5F
color8 #56687E
# Red
color1 #EE4F84
@RomjanHossain
RomjanHossain / conf
Created August 9, 2021 07:00
This is my i3 config!!
# i3 config file (v4)
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
set $mod Mod4
# set default desktop layout (default is tiling)
# workspace_layout tabbed <stacking|tabbed>
# Configure border style <normal|1pixel|pixel xx|none|pixel>
@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
@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 / 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 / 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 / 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 / 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 / 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>"