Skip to content

Instantly share code, notes, and snippets.

@dfg83
dfg83 / iterm2-solarized.md
Created March 10, 2020 08:27 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

# get the submodule initially
git submodule add ssh://bla submodule_dir
git submodule init
# time passes, submodule upstream is updated
# and you now want to update
# change to the submodule directory
cd submodule_dir
@dfg83
dfg83 / PrintBootCampESDInfo.swift
Created February 9, 2019 09:45 — forked from nuomi1/PrintBootCampESDInfo.swift
macOS and BootCamp Latest
#!/usr/bin/env swift
//
// REPL.swift
//
// Created by nuomi1 on 8/5/18.
// Copyright © 2018年 nuomi1. All rights reserved.
//
import Foundation
@dfg83
dfg83 / RunAProxyOnAmazonEC2VPC.md
Created December 19, 2018 14:02 — forked from webinista/RunAProxyOnAmazonEC2VPC.md
Create a proxy server on an Amazon EC2 (VPC) instance

This will create a proxy server in whatever your availability zone your VPC is in. For me, that's us-east-1b. For you, that may be something different. Steps 10+ should more or less work regardless of your provider since those steps cover the setup and configuration of TinyProxy.

  1. Click the Launch Instance button.
  2. Choose Ubuntu Server 14.04 LTS (HVM), SSD Volume Type. This isn't strictly necessary. If you choose another OS, check its documentation for how to install new packages.
  3. On the Choose an Instance Type screen, select t2.micro. It's Free Tier eligible.
  4. Click the Next: ... buttons until you reach the Configure Security Group screen.
    • You may wish to reduce the amount of storage on the Add Storage screen. This is optional.
    • You may wish to add a tag on the Tag Instance screen. This is also optional.
  5. On the Configure Security Group screen:
  • Select Create a new security group.
@dfg83
dfg83 / GUIDE.md
Created July 11, 2017 17:53 — forked from Dids/GUIDE.md
Conan Exiles dedicated server configuration

For a simple, default server setup, open ports 7777/UDP, and 27015/UDP in your firewall.

  • Port=7777 (game data)
  • QueryPort=27015 (Steam queries)

Be sure to run the server (StartServer.bat) once, so it can generate the initial config files!


It is best to combine this configuration with the batch file setup here (so add the ConanSandboxServer.exe params to a new start.bat file instead)!

@dfg83
dfg83 / C:\steamcmd\install.bat
Created July 11, 2017 17:53 — forked from Dids/C:\steamcmd\install.bat
Conan Exiles dedicated server startup scripts (be sure to checkout the server configuration guide here: https://gist.github.com/Dids/9564a693bb5b40cc0773cf8a5f07b4c1)
@echo off
steamcmd.exe +runscript install.txt
#!/bin/bash
#
# =========================================================================
# Copyright 2014 Rado Buransky, Dominion Marine Media
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0