This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yes | apt-get update | |
yes | apt-get install libtemplate-perl libhtml-template-perl erlang erlang-dev make autoconf | |
git clone https://github.com/processone/tsung.git | |
cd tsung | |
./configure && make && sudo make install | |
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# install_vpn.sh | |
# automatically install and configure a VPN -- IKEv2 over IPsec | |
# using strongswan and iptables | |
# Author: Lucas E Morales <lucas@lucasem.com> | |
# | |
# tested on Ubuntu 16.04 and arch 2018-07 | |
# | |
# huge thanks to Namo's tutorial: | |
# https://www.digitalocean.com/community/tutorials/how-to-set-up-an-ikev2-vpn-server-with-strongswan-on-ubuntu-16-04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Combine | |
import SwiftUI | |
@dynamicMemberLookup public protocol ViewModelBinding { | |
associatedtype State | |
associatedtype Input | |
var state: State { get } | |
mutating func bind(with input: PassthroughSubject<Input, Never>) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Calculator Automator | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Automate calculations and interact with a virtual calculator | |
// @author Piezo | |
// @match https://play.ttrockstars.com/* | |
// @grant GM_log | |
// ==/UserScript== |