network settings May 31, 2018 Manual $NET_IF= ls /sys/class/net ip link set ${NET_IF} up ip addr add ${HOST_IPV4} / ${SUBNETMASK} broadcast ${BROADCAST} dev ${NET_IF} ip route add default via ${GATEWAY} echo " nameserver ${NAMESERVER} " > /etc/resolv.conf ip addr flush dev ${NET_IF} Automatic opts= " -h noleak -i noleak -v ,noleak -I noleak " dhcpcd ${opts} -i ${NET_IF} wpa_supplicant: wpa_passphrase " ${WLAN_SSID} " " ${WLAN_PASSPHRASE} " > ${wpasup} wpa_supplicant -B -c ${wpasup} -i ${NET_IF} dhcpcd ${dhcp_opts} -i ${NET_IF} Read more
code May 21, 2018 libgconf-2.so.4 error pacman -S gconf "telemetry.enableTelemetry" : false , "workbench.startupEditor" : "newUntitledFile" Read more
cygwin vscode config usersettings May 20, 2018 { "terminal.integrated.shell.windows" : "C: \\ Apps \\ cygwin \\ bin \\ bash.exe " , "git.path" : "C://Apps//cygwin//bin//git.exe" , "terminal.integrated.env.windows" :{ "CHERE_INVOKING" : "1" }, "files.autoSave" : "afterDelay" , "terminal.integrated.shellArgs.windows" : [ "-l" ], } Read more
android studio fix May 17, 2018 yaourt android-studio makedepends=('unzip') depends=('alsa-lib' 'freetype2' 'libxrender' 'libxtst') optdepends=('gtk2: GTK+ look and feel' 'libgl: emulator support') or get zip file from official site # Install the application install -d $pkgdir/{opt/$pkgname,usr/bin} cp -a bin gradle lib jre plugins $pkgdir/opt/$pkgname ln -s /opt/android-studio/bin/studio.sh $pkgdir/usr/bin/$pkgname # Add the icon and desktop file install -Dm644 bin/studio.png $pkgdir/usr/share/pixmaps/$pkgname.png install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop #permission fix chmod -R ugo+rX $pkgdir/opt } Read more
tmpfs increase space for compiling May 16, 2018 mount -o remount,size=4G,noatime /tmp https://wiki.archlinux.org/index.php/Tmpfs https://www.askapache.com/optimize/super-speed-secrets/ cat /proc/mount Read more