Posts

Showing posts from December, 2016

Find previously installed package (Fedora 25)

Using DNF: dnf history you can also undo by ID: dnf history undo 307 If dnf dont show previously installed packages, use RPM: rpm -qa --last

Cool bash prompt and VIM status line using Powerline (Fedora 25)

This guide is based from: https://fedoramagazine.org/add-power-terminal-powerline/ INSTALL PACKAGES $ dnf install powerline vim-powerline BASH Edit ~/.bashrc and /root/.bashrc add these lines: powerline-daemon -q POWERLINE_BASH_CONTINUATION=1 POWERLINE_BASH_SELECT=1 source /usr/share/powerline/bash/powerline.sh VIM Edit ~/.vim/vimrc and /root/.vim/vimrc add these lines: python3 from powerline.vim import setup as powerline_setup python3 powerline_setup() python3 del powerline_setup set laststatus=2 set t_Co=256

Bypass your ISP DNS blocking

Follow this instruction to bypass your ISP DNS blocking  (I'm using Fedora 24) Ikuti langkah di bawah ini untuk menghindari pembatasan situs oleh ISP # Install the package dnf install dnscrypt-proxy # To start manually dnscrypt-proxy -R cisco # To start automatic using systemd vi /etc/systemd/system/dnscrypt-proxy.service [Unit] Description=DNSCrypt client proxy Documentation=man:dnscrypt-proxy(8) After=network.target Before=nss-lookup.target [Install] WantedBy=multi-user.target [Service] Type=forking ExecStart=/sbin/dnscrypt-proxy  -R ovpnse -S -d -u nobody systemctl enable dnscrypt-proxy.service systemctl start dnscrypt-proxy.service # To use it echo 'nameserver 127.0.0.1' > /etc/resolv.conf # or change DNS in network manager ping www.reddit.com # Tips You can download latests resolver from https://raw.githubusercontent.com/jedisct1/dnscrypt-proxy/master/dnscrypt-resolvers.csv and replace this file /usr/share/dnscrypt-proxy/dnscr...