Posts

Showing posts from August, 2018

static ip

Interface=wlp0s20u2 Connection=wireless Security=wpa ESSID=yourssid IP=static Address=('192.168.0.150/24') Gateway='192.168.0.1' DNS=('8.8.8.8') Key=password

fern arcch

sudo QT_X11_NO_MITSHM=1 fern

inv hyp

https://en.wikipedia.org/wiki/Inverse_hyperbolic_functions

alexa

this is sample privacy page for alexa just for personal testing

post install void

xbps-install xorg wifish alsa-utils pulseaudio firefox i3 xterm dmenu i3status htop mpv ntfs-3g

void install chroot

https://wiki.voidlinux.eu/Installation_via_chroot rootfs x86_64 download https://repo.voidlinux.eu/live/current/ make partition ext4 >> mount in /mnt/void cp downloaded to /mnt/void tar xpf .tar.xz --xattrs-include='*.*' --numeric-owner sudo cp --dereference /etc/resolv.conf /mnt/void/etc/     prepare to chroot mount --types proc /proc /mnt/void/proc mount --rbind /sys /mnt/void/sys mount --rbind /dev /mnt/void/dev mount --make-rslave /mnt/void/sys mount --make-rslave /mnt/void/dev   chroot /mnt/void /usr/bin/bash     edit /etc/fstab   /dev/sda1 / ext4 defaults 1 2 #UUID="value" / ext4 defaults 1 2    for getting uuid value  blkid /dev/sda1   edit /etc/hostname append hostname to /etc/hosts    update system xbps-install -Su xbps-install -S linux mount /boot partition to /mnt/void/boot xbps-install -S grub grub-mkconfig -o /boot/grub/grub.cfg grub-install /dev/sda  #change root password passwd   usermod -aG w

chroot gentoo

mount --types proc /proc /mnt/gentoo/proc mount --rbind /sys /mnt/gentoo/sys mount --make-rslave /mnt/gentoo/sys mount --rbind /dev /mnt/gentoo/dev mount --make-rslave /mnt/gentoo/dev test -L /dev/shm && rm /dev/shm && mkdir /dev/shm mount --types tmpfs --options nosuid,nodev,noexec shm /dev/shm chmod 1777 /dev/shm

make.conf

CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=haswell -O2 -pipe" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" LC_MESSAGES=C

disable mozilla trr (cloudflare dns)

about:config   network.trr.mode = 5 src:  https://blog.ungleich.ch/en-us/cms/blog/2018/08/04/mozillas-new-dns-resolution-is-dangerous/ https://hacks.mozilla.org/2018/05/a-cartoon-intro-to-dns-over-https/ 

xdm download manager install

#!/bin/bash if [ $EUID -eq 0 ];then     echo "It's not recomended to run XDM  as root, as it can cause problems" fi java -Dsun.java2d.xrender=false -jar /opt/xdman/xdman.jar --------------------------------------------------------------------------------------------------------------------- http://xdman.sourceforge.net/xdman.jar --------------------------------------------------------------------------------------------------------------------- dependencies javaruntime : jre10-openjdk-headless / jre10-openjdk / jdk10-openjdk / openjdk10-doc   ffmpeg youtube-dl

powershell set netwok public

                     Get-NetConnectionProfile     Set-NetConnectionProfile -name "Network" -NetworkCategory public

.Xresources

XTerm*utf8: 1 ! disable bold font faces, instead make text light blue. XTerm.vt100.colorBDMode: true XTerm.vt100.colorBD: rgb:82/a4/d3 ! disable underlined text, instead make it white. XTerm.vt100.colorULMode: true XTerm.vt100.colorUL: rgb:e4/e4/e4 ! similarly use colorIT for italics XTerm.scaleHeight: 1.01 XTerm.vt100.backarrowKey: false XTerm.ttyModes: erase ^? *background: rgb:00/00/00 *foreground: rgb:ff/ff/ff *color0:     rgb:00/00/00 *color1:     rgb:d3/62/65 *color2:     rgb:ae/ce/91 *color3:     rgb:e7/e1/8c *color4:     rgb:7a/7a/b0 *color5:     rgb:96/3c/59 *color6:     rgb:41/81/79 *color7:     rgb:be/be/be *color8:     rgb:66/66/66 *color9:     rgb:ef/81/71 *color10:    rgb:e5/f7/79 *color11:    rgb:ff/f7/96 *color12:    rgb:41/86/be *color13:    rgb:ef/9e/be *color14:    rgb:71/be/be *color15:    rgb:ff/ff/ff XTerm*pointerColor: white XTerm*pointerColorBackground: black XTerm*cursorColor: yellow XTerm*cursorBlink: true xterm*VT100.Translations: #override \