Skip to content

Instantly share code, notes, and snippets.

View mrlpm's full-sized avatar
🎯
Focusing

Luis Pérez mrlpm

🎯
Focusing
View GitHub Profile

Instalación IPA con Ansible Modules

IPA Principal

Instalar paquetes

sudo dnf install ansible-freeipa ansible

Configurar ssh

@mrlpm
mrlpm / inventory.sh
Created March 29, 2021 19:19 — forked from tuxfight3r/inventory.sh
Ansible dynamic inventory bash demo
#!/bin/bash
if [ "$1" == "--list" ] ; then
cat<<EOF
{
"bash_hosts": {
"hosts": [
"10.220.21.24",
"10.220.21.27"
],
@mrlpm
mrlpm / UpgradeCentOS6.3toOL7.8.md
Last active August 15, 2025 19:39
Procedure to upgrade CentOS 6.3 to OL7.8
  • Crear o Editar Vault repo centos 6 latest /etc/yum.repos.d/Vault-CentOS.repo
#-----------------

[C6.10-base]
name=CentOS-6.10 - Base
baseurl=http://vault.centos.org/6.10/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=1
@mrlpm
mrlpm / script-template.sh
Created February 10, 2021 01:52 — forked from m-radzikowski/script-template.sh
Minimal safe Bash script template - see the article with full description: https://betterdev.blog/minimal-safe-bash-script-template/
#!/usr/bin/env bash
set -Eeuo pipefail
trap cleanup SIGINT SIGTERM ERR EXIT
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P)
usage() {
cat <<EOF
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...]
using System;
using System.Collections.Generic;
namespace cunada
{
class Program
{
static void Main(string[] args)
{
@mrlpm
mrlpm / PKGBUILD
Created May 3, 2020 19:50
AUR goneovim
# Maintainer: Yasuo Ozu <yasuo@ozu.email>
pkgname=goneovim
pkgver=0.4.6
pkgrel=1
arch=(x86_64)
pkgdesc='Neovim GUI written in Golang, using a Golang qt backend'
url='https://github.com/akiyosi/goneovim'
license=(MIT)
depends=(neovim glibc gcc-libs libx11 nss nspr fontconfig freetype2 expat zlib libglvnd libxcb)
diff --git a/.SRCINFO b/.SRCINFO
index 8465e28..60f3c67 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = session-desktop-bin
pkgdesc = Private messaging from your desktop
- pkgver = 1.0.1
+ pkgver = 1.0.2
pkgrel = 1
diff --git a/.SRCINFO b/.SRCINFO
index 1fbb6bf..5cb9c97 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = advanced-rest-client
pkgdesc = A developer tool to test a HTTP request. The Advanced REST Client desktop application.
- pkgver = 13.0.7
+ pkgver = 15.0.0
pkgrel = 1
@mrlpm
mrlpm / git-pushing-multiple.rst
Created September 26, 2018 17:30 — forked from rvl/git-pushing-multiple.rst
How to push to multiple git remotes at once. Useful if you keep mirrors of your repo.

Pushing to Multiple Git Repos

If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.

Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.

If in doubt about what git is doing when you run these commands, just

@mrlpm
mrlpm / ansible-summary.md
Created June 14, 2018 23:06 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of