Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Yan Minari yangm97

🏠
Working from home
View GitHub Profile
View id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCiICNoMzTmuPYUOXo7qAanEuHmtc0zyC+z+a1poph/nJPk1WY4UIAPHfIdie17+x9FcATZOJQfya4z0LBwQqZh5BgjQTrINJG0kgq9NPpxeLJHoY+k0QItHvMqXnIesI6pFdpzD4mthicTNZ2ZGeyIVaCRaQe5Nu6penHZbxVhhH/6vuBwccr0me3/H1HAi530GyHqEmHLE8MJ/IvfPaNUlNn9RjDV2QcW5BSfUqPPTVOQ6qwiwQEhmQas2tcoAA4fImudhpJuxRTPvwXlcpWgIw6FHHas3gtVNr/ZdnFbOhTYuMZEJaAA2mUd/aTi6lKsOp4DgRB5j+SabmD/9p5F yangm97@gmail.com
@yangm97
yangm97 / defaults.yml
Last active Jul 30, 2020
yggdrasil inside podman
View defaults.yml
---
# defaults file for yggdrasil
yggdrasil_admin_listen_address: unix:///var/run/yggdrasil.sock
yggdrasil_config_listen_address: tcp://[::]:46727
yggdrasil_sessionfirewall_on: yes
yggdrasil_node_info: {}
yggdrasil_peers:
- name: Malha São Paulo
listen_uri: tcp://45.231.133.188:58301
View gist:603f9bf00dd521159b4379e16ca97543
# QEmu
brew install qemu
# Home for out tests
mkdir ~/arm-emu
cd ~/arm-emu
# Download initrd and kernel
wget http://ftp.de.debian.org/debian/dists/jessie/main/installer-armel/20150422/images/versatile/netboot/initrd.gz
View _etc_avahi_services_samba.service
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_adisk._tcp</type>
<txt-record>sys=waMa=0,adVF=0x100</txt-record>
<txt-record>dk0=adVN=Time Capsule,adVF=0x82</txt-record>
</service>
<service>
View docker-compose.yml
version: "3.6"
services:
inspircd.1:
image: inspircd/inspircd-docker
environment:
INSP_SERVER_NAME: inspircd.1
INSP_LINK1_NAME: inspircd.2
INSP_LINK1_IPADDR: inspircd.2
INSP_LINK1_SENDPASS: password
View gist:27bc8fb96bd91765bbcb4af9a4bd4713
inspircd.2_1 | Mon Feb 4 22:44:10 2019: LINK: AUTOCONNECT: Auto-connecting server inspircd.1
inspircd.1_1 | Mon Feb 4 22:44:10 2019: LINK: AUTOCONNECT: Auto-connecting server inspircd.2
inspircd.1_1 | Mon Feb 4 22:44:10 2019: LINK: Connection to inspircd.2[inspircd.2] started.
inspircd.2_1 | Mon Feb 4 22:44:10 2019: LINK: Connection to inspircd.1[inspircd.1] started.
inspircd.1_1 | Mon Feb 4 22:44:10 2019: LINK: Server connection from d3b8ee621594.example.com denied, invalid link credentials
inspircd.2_1 | Mon Feb 4 22:44:10 2019: LINK: Server connection from 24683ac20034.example.com denied, invalid link credentials
inspircd.2_1 | Mon Feb 4 22:44:10 2019: LINK: Connection to 'inbound from 172.19.0.4' failed with error: Mismatched server name or password (check the other server's snomask output for details - e.g. umode +s +Ll)
inspircd.2_1 | Mon Feb 4 22:44:10 2019: LINK: Connection to 'inspircd.1' failed with error: received ERROR Mismatc
View docker-compose.yml
version: "3.6"
services:
inspircd-1:
image: inspircd/inspircd-docker
environment:
INSP_LINK1_NAME: inspircd-2
INSP_LINK1_IPADDR: inspircd-2
INSP_LINK1_SENDPASS: password
INSP_LINK1_RECVPASS: password
View ansible.log
Last login: Tue Jan 29 12:49:40 on ttys002
~/D/P/m/kubespray ❯❯❯ ansible-playbook -i inventory/yetanothernerd/hosts.ini cluster.yml -b -v --user ansible master ✭ ◼
Using /Users/yan/Documents/Projects/monstrinho/kubespray/ansible.cfg as config file
/Users/yan/Documents/Projects/monstrinho/kubespray/inventory/yetanothernerd/hosts.ini did not meet host_list requirements, check plugin documentation if this is unexpected
/Users/yan/Documents/Projects/monstrinho/kubespray/inventory/yetanothernerd/hosts.ini did not meet script requirements, check plugin documentation if this is unexpected
/Users/yan/Documents/Projects/monstrinho/kubespray/inventory/yetanothernerd/hosts.ini did not meet yaml requirements, check plugin documentation if this is unexpected
PLAY [localhost] *************************************************************************************************************************************
View keybase.md

Keybase proof

I hereby claim:

  • I am yangm97 on github.
  • I am yangm97 (https://keybase.io/yangm97) on keybase.
  • I have a public key ASAx8U-owvh7t15cz1XcZ__d28cVDXFHD6rl8qnE3KNIKgo

To claim this, I am signing this object:

View global.yml
version: '3.2'
services:
traefik:
image: traefik
command:
- --accesslog=true
# - --logLevel=DEBUG
- --docker
- --docker.swarmmode