summaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-07-12 00:11:39 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2023-07-12 00:11:39 +0200
commit751a6a4d9878fa1533039f3fa0a423a5b8bd11cd (patch)
tree21230336f1017e283b7434015313146592881858 /root
parentposodobi update (diff)
downloadn-751a6a4d9878fa1533039f3fa0a423a5b8bd11cd.tar
n-751a6a4d9878fa1533039f3fa0a423a5b8bd11cd.tar.gz
n-751a6a4d9878fa1533039f3fa0a423a5b8bd11cd.tar.bz2
n-751a6a4d9878fa1533039f3fa0a423a5b8bd11cd.tar.lz
n-751a6a4d9878fa1533039f3fa0a423a5b8bd11cd.tar.xz
n-751a6a4d9878fa1533039f3fa0a423a5b8bd11cd.tar.zst
n-751a6a4d9878fa1533039f3fa0a423a5b8bd11cd.zip
Diffstat (limited to 'root')
-rw-r--r--root/.bash_aliases2
-rw-r--r--root/.vimrc1
2 files changed, 2 insertions, 1 deletions
diff --git a/root/.bash_aliases b/root/.bash_aliases
index eefa6c3..9d01211 100644
--- a/root/.bash_aliases
+++ b/root/.bash_aliases
@@ -1,7 +1,7 @@
export CT_ALLOW_BUILD_AS_ROOT_SURE=1
function register () {
n=`curl https://www.register.si | grep nonce | head -n 1 | cut -d\" -f8`
- curl https://www.register.si/wp-admin/admin-ajax.php -X POST --data-raw "_ajax_nonce=$n&action=get_whois_data&domain=$1" 2> /dev/null | grep "<td>" | sed "s/^\s*//g" | cut -d\< -f2 | cut -d\> -f2 | grep "[[:print:]]"
+ curl https://www.register.si/wp-admin/admin-ajax.php -X POST --data-raw "_ajax_nonce=$n&action=get_whois_data&domain=`sed s/.si\$//g <<<$1`.si" 2> /dev/null | grep "<td>" | sed "s/^\s*//g" | cut -d\< -f2 | cut -d\> -f2 | grep "[[:print:]]"
}
alias r=R
alias R="R --quiet"
diff --git a/root/.vimrc b/root/.vimrc
index 2a519bb..9397cac 100644
--- a/root/.vimrc
+++ b/root/.vimrc
@@ -225,6 +225,7 @@ if has("gui_running")
endif
let g:python_recommended_style = 0
+let g:markdown_recommended_style = 0
syntax on
autocmd FileType python set tabstop=2