I hereby claim:
- I am jimtalksdata on github.
- I am jtd (https://keybase.io/jtd) on keybase.
- I have a public key ASBiWZ2xiu63pIdZY2wyuzWT6az5K1krATJ26Eyc6hfVIgo
To claim this, I am signing this object:
import numpy as np | |
def calculate_etf_value(discount_rate, gold_return, years_to_discard, future_year, simulations=10000): | |
# Initialize a list to store the present values from each simulation | |
present_values = [] | |
# For each simulation... | |
for _ in range(simulations): | |
# Randomly select a year for the gold to be discarded | |
discard_year = np.random.uniform(0, years_to_discard) |
I hereby claim:
To claim this, I am signing this object:
# Add the WireGuard repository: | |
sudo add-apt-repository ppa:wireguard/wireguard | |
# Update the list of available packages (not necessary on Bionic): | |
sudo apt update | |
# Install the tools and kernel module: | |
sudo apt install wireguard | |
# Install the config file to the WireGuard configuration directory on your |
# $OpenBSD: sshd_config,v 1.101 2017/03/14 07:19:07 djm Exp $ | |
# This is the sshd server system-wide configuration file. See | |
# sshd_config(5) for more information. | |
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin | |
# The strategy used for options in the default sshd_config shipped with | |
# OpenSSH is to specify options with their default value where | |
# possible, but leave them commented. Uncommented options override the |
--- /etc/ssh/sshd_config 2016-06-21 11:28:46.000000000 -0400 | |
+++ sshd_config 2018-12-13 23:00:00.494884324 -0500 | |
@@ -50,6 +50,7 @@ | |
# Change to no to disable tunnelled clear text passwords | |
#PasswordAuthentication yes | |
+PasswordAuthentication no | |
# Kerberos options | |
#KerberosAuthentication no |
--- /etc/ssh/sshd_config 2018-09-24 12:25:35.136821000 +0200 | |
+++ /root/sshd_config 2018-12-14 04:42:23.889907193 +0100 | |
@@ -53,6 +53,7 @@ | |
#IgnoreRhosts yes | |
# To disable tunneled clear text passwords, change to no here! | |
+PasswordAuthentication no | |
#PasswordAuthentication yes | |
#PermitEmptyPasswords no |
I hereby claim:
To claim this, I am signing this object:
// Copyright 2014 Martin Hawksey. All Rights Reserved. | |
// | |
// 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 | |
// | |
// Unless required by applicable law or agreed to in writing, software | |
// distributed under the License is distributed on an "AS IS" BASIS, |
/*====================================================================================================================================* | |
ImportJSON by Brad Jasper and Trevor Lohrbeer | |
==================================================================================================================================== | |
Version: 1.4.0 | |
Project Page: https://github.com/bradjasper/ImportJSON | |
Copyright: (c) 2017 by Brad Jasper | |
(c) 2012-2017 by Trevor Lohrbeer | |
License: GNU General Public License, version 3 (GPL-3.0) | |
http://www.opensource.org/licenses/gpl-3.0.html | |
------------------------------------------------------------------------------------------------------------------------------------ |
/** | |
* Go through all sheets in a spreadsheet, identify and remove all spreadsheet | |
* import functions, then replace them a while later. This causes a "refresh" | |
* of the "import" functions. For periodic refresh of these formulas, set this | |
* function up as a time-based trigger. | |
* | |
* Caution: Formula changes made to the spreadsheet by other scripts or users | |
* during the refresh period COULD BE OVERWRITTEN. | |
* | |
* From: https://stackoverflow.com/a/33875957/1677912 |