Skip to content

Instantly share code, notes, and snippets.

View luisxkimo's full-sized avatar
馃彔
Working from home

luisxkimo

馃彔
Working from home
View GitHub Profile
@luisxkimo
luisxkimo / MTProxy-vps.md
Created March 28, 2024 14:42 — forked from davilico05/MTProxy-vps.md
Proxy Telegram Self-Hosted - MTProxy

C贸mo desplegar MTProxy en un servidor VPS propio

V谩mos a utilizar el protocolo de proxy oficial de Telegram y la configuraci贸n nativa de la app de Telegram.

Actualmente la gu铆a oficial presenta un problema de compilaci贸n en el README oficial TelegramMessenger/MTProxy pero siguiendo esta gu铆a conseguir谩 sortear el problema que se encuentra solucionado en una issue del repositiorio oficial.

1. Instalaci贸n

1.1. Instancie una m谩quina con Ubuntu 22.04 o Debian 11/12. Conectese por ssh a la m谩quina:

@luisxkimo
luisxkimo / rke2-commands.md
Created October 10, 2023 07:54 — forked from superseb/rke2-commands.md
RKE2 commands

RKE2 commands

Install

curl -sL https://get.rke2.io | sh
systemctl daemon-reload
systemctl start rke2-server
@luisxkimo
luisxkimo / Dockerfile
Created June 23, 2021 15:29 — forked from alonsoir/Dockerfile
Docker patterns/anti-patterns
### Generic Dockerfile demonstrating good practices
### Imports
# Bad-ish, we do not need Ubuntu for this, nor do we want latest if we are using in a build system, predictable is better
FROM ubuntu:latest
# Better, using a small image since our app has no dependency on Ubuntu
FROM alpine:3.3
@luisxkimo
luisxkimo / docker-compose.yml
Created June 12, 2020 07:07 — forked from pantsel/docker-compose.yml
example docker-compose.yml for kong, postgres and konga
version: "3"
networks:
kong-net:
driver: bridge
services:
#######################################
# Postgres: The database used by Kong
@luisxkimo
luisxkimo / trx-to-junit.xslt
Created February 28, 2020 14:52 — forked from cdroulers/trx-to-junit.xslt
Transform dotnet test output (TRX) to jUnit format for CI purposes.
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a ="http://microsoft.com/schemas/VisualStudio/TeamTest/2006" xmlns:b ="http://microsoft.com/schemas/VisualStudio/TeamTest/2010" >
<xsl:output method="xml" indent="yes" />
<xsl:template match="/">
<testsuites>
<xsl:variable name="buildName" select="//a:TestRun/@name"/>
<xsl:variable name="numberOfTests" select="count(//a:UnitTestResult/@testId) + count(//b:UnitTestResult/@testId)"/>
<xsl:variable name="numberOfFailures" select="count(//a:UnitTestResult/@outcome[.='Failed']) + count(//b:UnitTestResult/@outcome[.='Failed'])" />
<xsl:variable name="numberOfErrors" select="count(//a:UnitTestResult[not(@outcome)]) + count(//b:UnitTestResult[not(@outcome)])" />
<xsl:variable name="numberSkipped" select="count(//a:UnitTestResult/@outcome[.!='Passed' and .!='Failed']) + count(//b:UnitTestResult/@outcome[.!='Passed' and .!='Failed'])" />
- name: Installing Notepad++
win_package:
path: https://notepad-plus-plus.org/repository/7.x/7.5.1/npp.7.5.1.Installer.x64.exe
arguments: '/S'
product_id: "Notepad++"
state: present
when: ansible_os_family == 'Windows'
- name: Check Path Variable on Windows hosts
win_shell: $Env:Path