If you don't know what Wireguard is, well, you should. It's fast, easy to setup and highly configurable. We will configure Wireguard for multiple users with various restrictions using iptables.
This should fit most setups (not mine though 😉)
If you don't know what Wireguard is, well, you should. It's fast, easy to setup and highly configurable. We will configure Wireguard for multiple users with various restrictions using iptables.
This should fit most setups (not mine though 😉)
apt-get remove -y --purge x11-common | |
apt-get autoremove -y --purge | |
apt-get install -y deborphan | |
deborphan | xargs dpkg -P # do this a bunch of times |
# == Paperclip without ActiveRecord | |
# | |
# Simple and lightweight object that can use Paperclip | |
# | |
# | |
# Customized part can be extracted in another class which | |
# would inherit from SimplePaperclip. | |
# | |
# class MyClass < SimplePaperclip | |
# attr_accessor :image_file_name # :<atached_file_name>_file_name |
/** | |
* A collection of authentication and account connection utilities. With strong inspiration from the Google IO session | |
* app. | |
* @author Dandré Allison | |
*/ | |
public class AccountUtils { | |
/** | |
* Interface for interacting with the result of {@link AccountUtils#getUserProfile}. | |
*/ |
# FormBuilder for Ruby on Rails which produces HTML code compatible with Twitter Bootstrap | |
# horizontal forms styles (see here: http://twitter.github.com/bootstrap/base-css.html#forms) | |
# | |
# Features: | |
# * displays validation errors in-line | |
# * has custom option - label-text - to override default label text for an input | |
# | |
# Requirements: | |
# By default, Rails will wrap a field with validation error in an ugly div tag that breaks | |
# the layout. To override this behaviour, add |
require "money" | |
class Decorator < BasicObject | |
undef_method :== | |
def initialize(component) | |
@component = component | |
end | |
def method_missing(name, *args, &block) |