Skip to main content


Showing posts from April, 2019

bash scripting

#! /bin/bash
#this is a comment
echo "hello world"
print to screen : echo
echo 'hey'
echo hello
echo "hey "

variables are not parsed in single quoted echo

system variables  : env, printenv , set command
echo $HOME
echo $BASH
echo $PWD
echo $PATH
user defined variable : varname=valueofvar
echo my name is $name

variable naming:not starting with number and no special characters except _

reading user input: read
echo enter name
read name
echo hello $name
echo enter age and sex
read name1 name2 name3
echo  $…

priveate meta search eingine

sudoapt-getinstallgitbuild-essentiallibxslt-devpython-devpython-virtualenvpython-babelzlib1g-devlibffi-devlibssl-devcd/usr/localsudogitclone"s/ultrasecretkey/`openssl rand -hex 16`/g"searx/settings.ymlpythonsearx/ Go to http://localhost:8888
If everything works fine, disable the debug option in settings.yml:
sed-i-e"s/debug : True/debug : False/g"searx/settings.yml src:

install fedora from debian

# apt-get update # apt-get install rpm yum curl mdadm lvm2 xfsprogs#cfdisk /dev/sda make new partition using gparted or cfdisk #mkfs.ext4 /dev/sda4# mount /dev/sda3 /mnt Canonical repository location is at ​jarowit.
git clone There is a supplementary location at ​GitHub.
git clone

install dependencies packges
sudo apt install python-setuptools debhelper
dpkg-buildpackage -b -ucyumbootstrap**.deb is at home directory install usingsudo dpkg -i yumbootstrap**.dpkg/usr/sbin/yumbootstrap --list-suites to find supported rpm distros$ sudo yumbootstrap --verbose fedora-22 /mntsrc:

sxhkd volume andbrightness config for dwm on void

xbps-install  sxhkd

mkdir .config/sxhkd
cd .config/sxhkd
nano/vim sxhkdrc
        amixer -c 1 -- sset Master 2db+

        amixer -c 1 -- sset Master 2db-

        amixer -c 1 -- sset Master toggle

alt + shift + Escape
        pkill -USR1 -x sxhkd

         xbacklight -inc 20

         xbacklight -dec 20

amixer -c card_no -- sset Interface volume
run alsamixer to find card no and interface names

xbps-install -S git git clone -S base-devel libX11-devel libXft-devel libXinerama-devel vim FREETYPEINC = ${X11INC}/freetype2 #comment for non-bsdmake clean installcp config.def.h config.h vim config.hxbps-install -S font-symbola #for emoji on statusbar supportvoid audio configxbps-install alsa-tools alsa-utils sox.asoundrc---------------------…