Skip to content

Instantly share code, notes, and snippets.

@jjzazuet
jjzazuet / Daylight
Last active September 5, 2016 19:50
Boa - Daylight
soon the day will fade to grey
daylight, and the night that flows away
watch the light slowly fade away
chase the light send it back to the day
you must be on your guard
you in my memory
watch the dark when we will part
@jjzazuet
jjzazuet / keybase.md
Created November 21, 2017 03:27
Keybase

Keybase proof

I hereby claim:

  • I am jjzazuet on github.
  • I am jjzazuet (https://keybase.io/jjzazuet) on keybase.
  • I have a public key ASD7LbaSxu5N-vlCGYB_GDBtMH9UIE8jncUu6kIN3wWYLQo

To claim this, I am signing this object:

@jjzazuet
jjzazuet / keybase.md
Created November 21, 2017 03:29
Keybase

Keybase proof

I hereby claim:

  • I am jjzazuet on github.
  • I am jjzazuet (https://keybase.io/jjzazuet) on keybase.
  • I have a public key ASD7LbaSxu5N-vlCGYB_GDBtMH9UIE8jncUu6kIN3wWYLQo

To claim this, I am signing this object:

@jjzazuet
jjzazuet / alpine-node
Last active November 26, 2017 21:33
alpine-node
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
iface eth0 inet6 manual
pre-up echo 1 > /proc/sys/net/ipv6/conf/eth0/accept_ra
"
@jjzazuet
jjzazuet / gopher-dev
Created November 25, 2017 03:42
gopher-dev
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyn13PnDFtHkDlNCZIxwalMEcjnrPiqnyxMyN43obj85aqdohLccf6JqbBFraXnwXHahtZsr2R7hZIZMpn1Dy5SWDX7QqNWy6Irk+camodR3ot0mADRAtvBbPeiRuwYwC3Pza8dbY1peBv+S3ngumrHfa3M+ioXi8qMLWkfDN5IReQv0EEJM1Pzm0mVN1XEE+k2HhSmaZR+6duVPbao1jUd65qYJP+U/8KE/QhDXtrQRbqb0YNWJgLFd30GKT+eLgqHETdN4A/lX4kOUJJ2P4JQ6RlPnQRqAuVXTFpLcHrWGAeYWW5o5KHho+ftjokwxydSDDItyA9c8oBcfKGqT/v

mt300a troubleshooting

Repro for LTE modem routing bug on MT300A.

Set your IP address manually to 192.168.1.2 and Flash LEDE version 17.01.4

Set username and password for router (do not connect the LTE dongle yet).

Configure with the following commands:

@jjzazuet
jjzazuet / debian-router.md
Last active April 24, 2022 20:45
Debian router on ZOTAC ZBOX PI22

Install Debian on the PI22, use a usb ethernet adapter to source Debian updates. Uses this awesome LTE hotspot tutorial as a starting point.

apt-get update && apt-get upgrade
apt-get install libqmi-utils modemmanager net-tools tcpdump dnsutils

Configure the LTE connection APN

echo "APN=simple" > /etc/qmi-network.conf

Configure wwp0s21f0u1i4 in /etc/network/interfaces.

@jjzazuet
jjzazuet / button.css
Last active August 14, 2018 15:50
CSS cool button
btn {
background: linear-gradient(#aeb7ff, #5468ff);
box-shadow: 0 7px 13px -3px rgba(45,35,66,0.3), 0 2px 4px 0 rgba(45,35,66,0.4), inset 0 -2px 0 0 #4b58ba;
}
@jjzazuet
jjzazuet / test-key.txt
Created August 18, 2018 20:22
test-key
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBHBmlKI58raLjx5ONKvAzCtOiL/b7Ke134YV1vPZkXYy8uaoTtGRKXzMAttpXURbqTI6qNugRApGg+WCeFDVNA= <ssh://[email protected]|nist256p1>
@jjzazuet
jjzazuet / gnome3-lite-trueos.md
Created October 1, 2018 06:40
gnome3-lite setup on TrueOS

Add packages

pkg search gnome3-lite
pkg install gnome3-lite-XXXX

If on VMware Fusion

pkg install xf86-video-vmware

Set system configuration on /etc/fstab