summaryrefslogblamecommitdiffstats
path: root/root/.bash_aliases
blob: 30e9f7deaa338e2e27b74084c909d5dec6cf7193 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                    
                      

                                                                                                                                                                                                                                
 

                   
                                                  
                                                      


                                       


                                                                        
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:]]"
}
alias r=R
alias R="R --quiet"
alias jupyter-server="jupyter-server --allow-root"
alias jupyter-notebook="jupyter-notebook --allow-root"
function kladivo () {
	iptables -A INPUT -s $1 -j DROP
}
function c () {
	gcc -g -Wall -Wextra -pedantic -Wformat -Wformat-security $@ -lm
}