Skip to content

Instantly share code, notes, and snippets.

View tonyskapunk's full-sized avatar
🚀

Tony Garcia tonyskapunk

🚀
View GitHub Profile
Name: HammerDB
Version: 3.3
Release: 1%{?dist}
Summary: HammerDB util
Group: Database
License: GPL
URL: https://hammerdb.com
Source: https://github.com/TPC-Council/%{name}/releases/download/v%{version}/%{name}-%{version}-Linux.tar.gz
Packager: Packager Name
#AutoReqProv: no
@tonyskapunk
tonyskapunk / go.md
Created November 17, 2019 17:08
100daysofcode

100 days of GO code

Topics

  • Environment Setup
  • Hello World
  • File org
    • Go Packages
    • Import Statements
  • Variable Declarations
  • Custom Type Declarations
@tonyskapunk
tonyskapunk / locale_es.md
Created October 23, 2019 22:28
Opsdroid

Created a config file with defaults and added:

logging:
  level: debug
  console: true

lang: es
;;; melancholy-theme.el --- Emacs theme with a dark background.
;; Copyright (C) 2014 , tonyskapunk
;; Author: tonyskapunk
;; https://github.com/tonyskapunk
;; Version: 0.1
;; Package-Requires: ((emacs "24"))
;; Created with emacs-theme-generator, https://github.com/mswift42/theme-creator.
@tonyskapunk
tonyskapunk / h.md
Last active October 22, 2019 16:59
Goodies
  • -(hyphen or minus)
  • –(en dash)
  • —(em dash)
@tonyskapunk
tonyskapunk / notes.md
Created October 9, 2019 17:16
MatterMost

Setup Dev env:

docker \
  run \
  --detach \
  --name mattermost-preview \
  --publish 8065:8065 \
  mattermost/mattermost-preview
@tonyskapunk
tonyskapunk / ansible.md
Last active September 20, 2019 20:50
ansible

Ansible

¿Qué es Ansible?

Ansible es una herramienta que facilita la automatización de diferentes etapas en la infrastructura de las Tecnologías de Información(TI), por ejemplo en el provisionamiento de servidores, en la administración de configuraciones, en el despliegue de aplicaciones, orquestación de actvidades entre otras cosas.

Ansible fue diseñado para modelar la infrastructura de TI de una manera descriptiva teniendo en consideracion multiples capas. Esto es mucho más común en ambientes empresariales.

Una de las caracteristicas más populares de Ansible es que no necesita un agente, ni tampoco necesita una infrastructura de seguridad adicional para su funcionamiento, aunado a esto utiliza un lenguaje muy sencillo(YAML) para definir las acciones a realizar. La simplicidad es una de las cosas que caracteriza a Ansible.

Ansible es el nombre de un "sistema de comunicación inmediato" ficticio basado en un libro "El Juego de Ender

@tonyskapunk
tonyskapunk / 20190603-101835.png
Last active June 3, 2019 15:25
Ansible slack
20190603-101835.png
@tonyskapunk
tonyskapunk / readme.md
Last active February 14, 2019 15:43
pypi release how-to

Releasing to pypi

Requirements

Config file for ~/.pypirc

[pypi]
username: theusername
password: theusernamepassword
@tonyskapunk
tonyskapunk / notes.md
Created February 2, 2019 04:55
kthresher defaults

Reasons why kthresher does not do "anything" by default.

  • Main purpose is to run it through a cronjob to remove kernels/headers (cadidates for auto-removal)
  • When a configuration is put in place the behavior of kthresher is modified so it achieves what's defined in the config

Examples of the change of behavior running kthresher

  • Without any additional config, will print the help to understand what it does
  • With a config in place will perform that action, e.g. purge kernels

I can easily set a default action, for instance print the available kernels, if any, like what -s does.