Skip to content

Instantly share code, notes, and snippets.

View yangm97's full-sized avatar
🏠
Working from home

Yan Minari yangm97

🏠
Working from home
View GitHub Profile
@yangm97
yangm97 / react-navigation-header-buttons+8.0.0.patch
Created January 6, 2022 12:07
Workaround for react-navigation-header-buttons with @react-navigation/native-stack
diff --git a/node_modules/react-navigation-header-buttons/src/HeaderItems.js b/node_modules/react-navigation-header-buttons/src/HeaderItems.js
index 36ef1d4..a0be0ee 100644
--- a/node_modules/react-navigation-header-buttons/src/HeaderItems.js
+++ b/node_modules/react-navigation-header-buttons/src/HeaderItems.js
@@ -55,21 +55,25 @@ export function renderVisibleButton(visibleButtonProps: VisibleButtonProps): Rea
const styles = StyleSheet.create({
text: {
+ fontSize: 17,
+ textTransform: 'capitalize',
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCiICNoMzTmuPYUOXo7qAanEuHmtc0zyC+z+a1poph/nJPk1WY4UIAPHfIdie17+x9FcATZOJQfya4z0LBwQqZh5BgjQTrINJG0kgq9NPpxeLJHoY+k0QItHvMqXnIesI6pFdpzD4mthicTNZ2ZGeyIVaCRaQe5Nu6penHZbxVhhH/6vuBwccr0me3/H1HAi530GyHqEmHLE8MJ/IvfPaNUlNn9RjDV2QcW5BSfUqPPTVOQ6qwiwQEhmQas2tcoAA4fImudhpJuxRTPvwXlcpWgIw6FHHas3gtVNr/ZdnFbOhTYuMZEJaAA2mUd/aTi6lKsOp4DgRB5j+SabmD/9p5F yangm97@gmail.com
@yangm97
yangm97 / defaults.yml
Last active July 30, 2020 16:27
yggdrasil inside podman
---
# 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
# 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
<?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>
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
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
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
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] *************************************************************************************************************************************

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: