Skip to content

Instantly share code, notes, and snippets.

View dmilojkovic76's full-sized avatar

Dušan Milojković dmilojkovic76

  • Heidenheim an der Brenz, Deutschland
View GitHub Profile
@dmilojkovic76
dmilojkovic76 / ubuntu_init_setup.sh
Last active February 8, 2021 14:28
Initial setup steps and operation for the new ubuntu systems
#! /bin/bash
# Update and install the latest software
sudo apt update
sudo apt upgrade -y
# may need to reboot, look for the message *** System restart required *** after the login @ MOTD
# sudo reboot
# Set the machine hostname
@dmilojkovic76
dmilojkovic76 / .bashrc
Last active September 16, 2020 10:57
moj dotfiles
# First install oh-my-bash.
# Path to oh-my-bash installation.
export OSH=/home/d00mil/.oh-my-bash
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-bash is loaded.
OSH_THEME="brainy"
# Uncomment the following line to use case-sensitive completion.
@dmilojkovic76
dmilojkovic76 / UI-UX_Resources.md
Last active March 11, 2024 15:47
UI/UX Design Resources
@dmilojkovic76
dmilojkovic76 / nginx.conf
Created September 16, 2020 11:39
NginX config
# read more here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
# openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
# don't send the nginx version number in error pages and Server header
server_tokens off;
# config to don't allow the browser to render the page inside an frame or iframe
# and avoid clickjacking http://en.wikipedia.org/wiki/Clickjacking