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
const UserSchema = Yup.object().shape({ | |
email: Yup.string() | |
.email("Invalid email address") | |
.required("You must enter an email address"), | |
url: Yup.string() | |
.min(2, "Must be longer than 2 characters") | |
.required("You must enter a domain"), | |
password: Yup.string().required("You must enter a password"), | |
passwordConfirmation: Yup.string() | |
.oneOf([Yup.ref("password")], "Passwords don't match!") |
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
## Pinging with 1.1.1.1 as DNS | |
Ping has started… | |
PING e1699.dscx.akamaiedge.net (23.38.7.23): 56 data bytes | |
Request timeout for icmp_seq 0 | |
Request timeout for icmp_seq 1 | |
64 bytes from 23.38.7.23: icmp_seq=2 ttl=54 time=37.856 ms | |
64 bytes from 23.38.7.23: icmp_seq=3 ttl=54 time=41.356 ms | |
64 bytes from 23.38.7.23: icmp_seq=4 ttl=54 time=37.578 ms |
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/vbash | |
source /opt/vyatta/etc/functions/script-template | |
configure | |
set interfaces ethernet eth0 vif 832 firewall in ipv6-name WANv6_IN | |
set interfaces ethernet eth0 vif 832 firewall local ipv6-name WANv6_LOCAL | |
set interfaces ethernet eth0 vif 832 firewall out ipv6-name WANv6_OUT | |
set interfaces ethernet eth0 vif 832 ipv6 address autoconf | |
set interfaces ethernet eth0 vif 832 ipv6 dup-addr-detect-transmits 1 |
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/vbash | |
source /opt/vyatta/etc/functions/script-template | |
configure | |
set firewall source-validation disable | |
set interfaces ethernet eth0 vif 838 address dhcp | |
set interfaces ethernet eth0 vif 838 dhcp-options client-option "send vendor-class-identifier "sagem";" | |
set interfaces ethernet eth0 vif 838 dhcp-options client-option "send user-class "\047FSVDSL_livebox.MLTV.softathome.Livebox4";" |
No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.
- Install https://gpgtools.org -- I'd suggest to do a customized install and deselect GPGMail.
- Create or import a key -- see below for https://keybase.io
- Run
gpg --list-secret-keys
and look forsec
, use the key ID for the next step - Configure
git
to use GPG -- replace the key with the one fromgpg --list-secret-keys
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/vbash | |
source /opt/vyatta/etc/functions/script-template | |
configure | |
# The following I have configured in the GUI. | |
# You may do so if you wish, otherwise run the | |
# whole script. | |
#set firewall ipv6-name WAN_IN-6 rule 3003 action accept | |
#set firewall ipv6-name WAN_IN-6 rule 3003 protocol icmpv6 |
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
# set classless routes based on the format specified in RFC3442 | |
# e.g.: | |
# new_rfc3442_classless_static_routes='24 192 168 10 192 168 1 1 8 10 10 17 66 41' | |
# specifies the routes: | |
# 192.168.10.0/24 via 192.168.1.1 | |
# 10.0.0.0/8 via 10.10.17.66.41 | |
RUN="yes" | |
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
# Defaults for dibbler-client. | |
# installed at /etc/dibbler/client.conf by the maintainer scripts | |
# 8 (Debug) is most verbose. 7 (Info) is usually the best option | |
log-level 7 | |
duid-type duid-ll | |
# To perform stateless (i.e. options only) configuration, uncomment | |
# this line below and remove any "ia" keywords from interface definitions | |
# stateless |
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 | |
if [ "$SRV_MESSAGE" != "REPLY" ] | |
then | |
exit 1 | |
fi | |
function fullPrefix () { | |
local input=$1 | |
local o="" |