Skip to content

Instantly share code, notes, and snippets.

View ralfr's full-sized avatar

Ralf Rottmann ralfr

  • https://rv.do
  • Germany, Ruhr-Area
  • 20:09 (UTC -12:00)
View GitHub Profile
@ralfr
ralfr / ubn_16_04_open_file_limits.sh
Last active April 29, 2018 14:46
Ubuntu 16.04 change open file limits
# Ubuntu 16.04
# Show max. open files for system
cat /proc/sys/fs/file-max
nano /etc/sysctl.conf
# Add the following line:
fs.file-max = 200000
# Persist changes
sysctl -p
@ralfr
ralfr / deployment.template.json
Created March 11, 2019 11:28
Azure IoT Edge Deployment Manifest
{
"$schema-template": "1.0.0",
"modulesContent": {
"$edgeAgent": {
"properties.desired": {
"schemaVersion": "1.0",
"runtime": {
"type": "docker",
"settings": {
"minDockerVersion": "v1.25",
@ralfr
ralfr / VPNConfigurationProfiles.mobileconfig
Created November 11, 2019 22:46 — forked from thomaswitt/VPNConfigurationProfiles.mobileconfig
An OnDemand VPN iOS profile for iPad and iPhone that automatically connects you to different VPNs (e.g. Meraki, FRITZ!Box and Streisand) | Blog-Entry: https://thomas-witt.com/auto-connect-your-ios-device-to-a-vpn-when-joining-an-unknown-wifi-d1df8100c4ba
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<!-- Home: Manual -->
<dict>
<key>UserDefinedName</key>