Skip to main content


Showing posts from December, 2018

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

xdm downloader i3

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

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

redshift i3

sudo pacman -S redshift

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

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

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.