Showing posts from December, 2018



rfc private ip - (10/8 prefix) - (172.16/12 prefix) - (192.168/16 prefix)

Amoeba finds approximate solutions to NP-hard problem in linear time


ancient earth

xdm downloader i3

find WM_CLASS(STRING) = "java-lang-Thread"  using xprop

for_window [class="^java-lang-Thread$"] floating enable

remove hibernate file linux

sudo mkdir /mnt/winsudo fdisk -l #find sdaX NTFS partitionsudo mount -t ntfs-3g /dev/sdaX /mnt/win -o remove_hiberfile sudo umount /mnt/win

ntfsfix /dev/sdaX

redshift i3

sudo pacman -S redshift

bindsym Mod4+g exec  redshift -l 27.70:85.32
bindsym Mod4+Shift+g exec   pkill redshift

google search


metasploit database archlinux

sudo systemctl start postgresql
sudo -u postgres -i
initdb --locale en_US.UTF-8 -E UTF8 -D '/var/lib/postgres/data'
createuser msf -P  -S -R -D   or createuser --interactive
createdb -o msf-msf

touch .msf4/"database.yml"
for armitage : 
export MSF_DATABASE_CONFIG=$HOME/.msf4/database.yml
production: adapter: postgresql database: msf username: ${USER} password: ${PASS} host: localhost port: 5432 pool: 5 timeout: 5

stranger things title tease


run as root error qt guit i3

sudo QT_X11_NO_MITSHM=1 unetbootin

how to peel a egg raw

Experiment no 1: to make egg shell disasppear
materials needed : white vinegar,egg,glass jar, lid

1.  Add egg to glass jar.
2.Pour vinegar to jar until egg sinks completely. Tiny bubbles of carbon dioxide gas  start to appear on the eggshell after just a few moments.
3.wait for chemical reaction to complete (few days/week)
4.remove egg from vinegar and wash off remains.

This is a acid-base reaction. Vinegar contains acetic acid. Eggshells contain calcium carbonate(base).

The calcium carbonate in the eggshell reacts with the acetic acid in the vinegar to form a water-soluable compound, calcium acetate, and carbon dioxide (CO2) gas. This reaction dissolves the eggshell, but leaves the inner membrane intact, creating a naked egg.