Skip to content

Instantly share code, notes, and snippets.

View goldyfruit's full-sized avatar
🦎

Gaëtan Trellu goldyfruit

🦎
View GitHub Profile
@goldyfruit
goldyfruit / go-build.sh
Created April 30, 2020 15:33 — forked from sivel/go-build.sh
Ansible Binary Golang Module
go build helloworld.go
GOOS=windows GOARCH=amd64 go build helloworld.go
@goldyfruit
goldyfruit / pkg.yml
Last active December 16, 2020 09:40
[ansible] Check via the yum module and a registered value if a package is installed or not
---
- name: Ansible tests playbook
hosts: all
remote_user: root
tasks:
- name: Check if mariadb-libs-5.5.44-2.el7.centos.x86_64 package is installed
yum:
list=mariadb-libs-5.5*x86_64
register: pkg
@goldyfruit
goldyfruit / zynpass.c
Created October 27, 2018 16:35
Zyxel firmware
/* ZyXEL prestige 660HW series password calculator by brainstorm
* Thanks to http://www.adslayuda.com/Zyxel650-9.html authors
*
* Example usage:
*
* Router:
* ======
*
* ATSE
* 0028D6DF1C03