Skip to content

Instantly share code, notes, and snippets.

e-fu /
Created Sep 20, 2020 — forked from Anachron/
A script to spin up a Wireguard VPN server with Unbound recursive DNS in a hurry
# This file is designed to spin up a Wireguard VPN quickly and easily,
# including configuring a recursive local DNS server using Unbound
# Make sure to change the public/private keys before running the script
# Also change the IPs, IP ranges, and listening port if desired
# iptables-persistent currently requires user input
# add wireguard repo
sudo add-apt-repository ppa:wireguard/wireguard -y
View strategy.pine
persistent_bull = 0.0
persistent_bull := nz(persistent_bull[1],0)
persistent_bear = 0.0
persistent_bear := nz(persistent_bear[1],0)
strategy(title = "Strategy for Crypto, Forex, Shares, Futures, Options", shorttitle = "$$$$$$", overlay = true,
pyramiding = 0,

Keybase proof

I hereby claim:

  • I am e-fu on github.
  • I am efu ( on keybase.
  • I have a public key ASBPLDG9RpklAG-kagQdUxB6C5PQMavvl_RYjLV0YU0sPQo

To claim this, I am signing this object:

e-fu / app_controller_test.exs
Last active Nov 11, 2015
Namespaced and some actions as nested resources
View app_controller_test.exs
defmodule Rolester.Admin.AppControllerTest do
use Rolester.ConnCase
alias Rolester.App
alias Rolester.Tenant
@valid_attrs %{name: "some content"}
@invalid_attrs %{}
setup do
e-fu / _form.html.haml
Created Dec 3, 2012
path in DB with Rails
View _form.html.haml
= simple_form_for(@page) do |f|
= f.error_notification
= f.input :name
= f.input :url
= f.input :permalink
= f.collection_select :parent_id, Page.order(:name), :id, :permalink, include_blank: true