-
Change keyboard layout:
loadkeys no
-
Verify boot mode:
ls /sys/firmware/efi/efivars
(If the directory exist your computer supports EFI)
-
Ping some site on the Internet to verify connection:
ping archlinux.org
[aws] | |
symbol = " " | |
[character] | |
success_symbol = '[➜](bold green) ' | |
error_symbol = '[➜](bold red) ' | |
[conda] | |
symbol = " " |
package channel | |
import ( | |
"fmt" | |
"sync" | |
"time" | |
) | |
func ExampleUnbufferedSend() { | |
c1 := make(chan string) |
lib_name='trap' | |
lib_version=20121026 | |
stderr_log="/dev/shm/stderr-$(date +%s).log" | |
# | |
# TO BE SOURCED ONLY ONCE: | |
# | |
###~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~## |
SPC | |
SPC: find file | |
, switch buffer | |
. browse files | |
: MX | |
; EX | |
< switch buffer | |
` eval | |
u universal arg | |
x pop up scratch |
package main | |
import ( | |
"fmt" | |
syscall "golang.org/x/sys/unix" | |
) | |
type DiskStatus struct { | |
All uint64 `json:"all"` | |
Used uint64 `json:"used"` |
[user] | |
name = Pavan Kumar Sunkara | |
email = pavan.sss1991@gmail.com | |
username = pksunkara | |
[core] | |
editor = vim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
excludesfile = ~/.gitignore | |
[sendemail] | |
smtpencryption = tls |
################## | |
# sway config file | |
################## | |
set $lock ~/.config/sway/scripts/lock.sh | |
set $grim ~/.config/sway/scripts/grim.sh | |
set $slurp ~/.config/sway/scripts/slurp.sh | |
set $mod Mod4 | |
set $left h | |
set $down j | |
set $up k |
# example of usage grafana/loki api when you need push any log/message from your python scipt | |
import requests | |
import json | |
import datetime | |
import pytz | |
host = 'myhost' | |
curr_datetime = datetime.datetime.now(pytz.timezone('Asia/Yekaterinburg')) | |
curr_datetime = curr_datetime.isoformat('T') | |
msg = 'On server {host} detected error'.format(host=host) |