Skip to content

Instantly share code, notes, and snippets.

View rielas's full-sized avatar
:atom:
in anticipation of technological singularity

anatol rielas

:atom:
in anticipation of technological singularity
  • Neuralegion
  • Kraków, Poland
View GitHub Profile
### Keybase proof
I hereby claim:
* I am rielas on github.
* I am anatol (https://keybase.io/anatol) on keybase.
* I have a public key ASBMDqUC-37AoZKtOGBY1xxsWnpNP5udciV7tYyLFp5C_wo
To claim this, I am signing this object:
@rielas
rielas / openvpn-client.service
Last active February 28, 2023 12:39
Ruleset for OpenVPN gateway
[Unit]
Description=Runs OpenVPN client to use it as gateway
After=network.target
After=network-online.target
[Service]
ExecStart=/home/ubuntu/start-openvpn.sh
Restart=on-failure
[Install]
@rielas
rielas / gist:aa089f09de0350a62e9c
Last active August 29, 2015 14:19
coding style
#include <math.h>
class Complex {
public:
Complex(double re, double im)
: _re(re), _im(im) {}
double modulus() const { return sqrt(_re * _re + _im * _im); }
private:
double _re;