Skip to content

Instantly share code, notes, and snippets.

echo "Installing xcode-stuff"
xcode-select --install
# Check for Homebrew,
# Install if we don't have it
echo "Installing Homebrew"
if test ! $(which brew); then
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
brew update
<div>
<table cellPadding="0" cellSpacing="0">
<tbody>
<tr>
<td colSpan="2">
<div style="padding-bottom:15px">
<div><strong>KIEFER NETWORKS</strong></div>
<div>Malte Kiefer</div>
</div>
</td>
@MalteKiefer
MalteKiefer / debian.sh
Last active June 26, 2022 15:16
Debian install script
#!/bin/bash
## abort on any error
####
set -e
## install first packages
####
sudo apt install -y curl wget apt-transport-https dirmngr vim-nox git unp
@MalteKiefer
MalteKiefer / install.ps1
Last active April 27, 2020 14:24
Windows 10 Installation
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install -y 7zip.install git.install putty.install nodejs.install gimp filezilla curl wget teamviewer marktext.install
choco install -y winscp awscli dropbox yarn youtube-dl spotify openvpn slack postman mongodb atom mumble pgadmin4 php
choco install -y gajim gpg4win bitnami-xampp vlc teracopy firacode rufus sumatrapdf.install zerotier-one anydesk
choco install -y signal bitwarden androidstudio telegram.install mailspring megasync microsoft-edge
choco install -y wpd veracrypt mumble visualstudio2019community
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
@MalteKiefer
MalteKiefer / home_page.dart
Last active February 7, 2020 17:44
locInfo
import 'package:flutter/material.dart';
import 'package:geolocator/geolocator.dart';
class HomePage extends StatefulWidget {
@override
_HomePageState createState() => _HomePageState();
}
class _HomePageState extends State<HomePage> {
final Geolocator geolocator = Geolocator()..forceAndroidLocationManager;
@MalteKiefer
MalteKiefer / fedora_install.sh
Last active February 7, 2020 10:41
fedora_install.sh
#!/bin/bash
## add latest kernel
####
sudo cat <<EOF > /etc/yum.repos.d/fedora-kernel-vanilla-stable.repo
[fedora-kernel-vanilla-stable]
name=Linux vanilla kernels for Fedora, stable series
baseurl=http://repos.fedorapeople.org/repos/thl/kernel-vanilla-stable/fedora-$releasever/$basearch/
enabled=1
skip_if_unavailable=1
@MalteKiefer
MalteKiefer / HowTo
Last active January 13, 2025 13:37
UFW Block IPs from abuseipdb Blacklist
# API Key
First of all create a free account here and create an API key to use the blacklist: https://www.abuseipdb.com
# UFW
You should have installed and started UFW, test it with
```bash
ufw status
```
# Cronjob
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install -y googlechrome 7zip.install git.install putty.install nodejs.install gimp filezilla curl wget teamviewer
choco install -y winscp awscli dropbox yarn youtube-dl spotify openvpn slack postman mongodb vscode mumble pgadmin4
choco install -y gajim gpg4win bitnami-xampp vlc teracopy firacode rufus sumatrapdf.install zerotier-one anydesk
choco install -y signal bitwarden androidstudio telegram.install thunderbird
choco install -y flutter cryptomator
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")