win 10 open cmd in folder

type cmd on address bar on explorer 

network settings

$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}

opts="-h noleak -i noleak -v ,noleak -I noleak "
dhcpcd ${opts} -i ${NET_IF}

wpa_passphrase "${WLAN_SSID}" "${WLAN_PASSPHRASE}" > ${wpasup} 
wpa_supplicant -B -c ${wpasup} -i ${NET_IF}

dhcpcd ${dhcp_opts} -i ${NET_IF}

get available network interface

ls /sys/class/net


localectl list-keymaps

localectl set-keymap --no-conver "us"

code  error 
pacman -S gconf

"telemetry.enableTelemetry": false,
"workbench.startupEditor": "newUntitledFile"

update time nist server

sudo ntpdate -s

cygwin vscode config usersettings

"": "C:\\Apps\\cygwin\\bin\\bash.exe " ,
"git.path": "C://Apps//cygwin//bin//git.exe",
"" :{"CHERE_INVOKING": "1" },
"files.autoSave": "afterDelay",
"": [ "-l"],


android studio fix

yaourt android-studio

depends=('alsa-lib' 'freetype2' 'libxrender' 'libxtst')
optdepends=('gtk2: GTK+ look and feel'
            'libgl: emulator support')
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/ $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   

redshift i3

sudo pacman -S redshift .config/i3/config bindsym Mod4+g exec  redshift -l 27.70:85.32 bindsym Mod4+Shift+g exec   pkill redshift