Skip to content

Instantly share code, notes, and snippets.

View CeeFeS's full-sized avatar
🍻
german engineering

Carl- Friedrich Schulze CeeFeS

🍻
german engineering
View GitHub Profile
@CeeFeS
CeeFeS / appsmith_install.sh
Created August 2, 2021 13:59
Install script for elementaryOS
#!/bin/bash
set -o errexit
is_command_present() {
type "$1" >/dev/null 2>&1
}
is_mac() {
[[ $OSTYPE == darwin* ]]
@CeeFeS
CeeFeS / clearListFromDuplicateIndividualElements.java
Created November 10, 2020 10:58
clear list from duplicate individual elements
private List<?> clearListFromDuplicates(List<?> list1) {
Map<String, ?> cleanMap = new LinkedHashMap<String, ?>();
for (int i = 0; i < list1.size(); i++) {
cleanMap.put(list1.get(i)./**existing, double element*/, list1.get(i));
}
List<?> list = new ArrayList<?>(cleanMap.values());
return list;
}
@CeeFeS
CeeFeS / nginx_reverse_proxy_with_ssl.md
Last active January 13, 2024 22:40
Simple nginx reverse proxy with ssl installation

How-to install/configure a reverse proxy with nginx and ssl

Seven easy steps to configure a full nginx reverse proxy with ssl:

- 1: go to your nginx folder

cd /etc/nginx/sites-available

- 2: create a new config file with your domain or subdomain name

nano {subdomain.domain.de.conf}

- 3: copy this inside the file and replace the right values