Skip to content

Instantly share code, notes, and snippets.

View alexchristianqr's full-sized avatar
🏡

Alex Christian alexchristianqr

🏡
View GitHub Profile
@alexchristianqr
alexchristianqr / gist:e09a6d9d14916bb95c362b037936738a
Created July 26, 2018 00:02 — forked from alimd/gist:3344523
All github Emoji (Smiles)

All github Emoji (Smiles)

ali.md/emoji

:bowtie: | 😄 | 😆 | 😊 | 😃 | ☺️ | 😏 | 😍 | 😘 | :kissing_face: | 😳 | 😌 | 😆 | 😁 | 😉 | :wink2: | 👅 | 😒 | 😅 | 😓

😩 | 😔 | 😞 | 😖 | 😨 | 😰 | 😣 | 😢 | 😭 | 😂 | 😲 | 😱 | :neckbeard: | 😫 | 😠 | 😡 | 😤 | 😪 | 😋 | 😷

😎 | 😵 | 👿 | 😈 | 😐 | 😶 | 😇 | 👽 | 💛 | 💙 | 💜 | ❤️ | 💚 | 💔 | 💓 | 💗 | 💕 | 💞 | 💘 | ✨

@alexchristianqr
alexchristianqr / ChatbotChatService.js
Last active September 4, 2022 20:12
Clase js para la logica de chatbots
'use strict'
const Chatbot = require('app/SaaS/Chat/Models/Chatbots/Chatbot')
const NodeChatbot = require('app/SaaS/Chat/Models/Chatbots/NodeChatbot')
const ChatbotService = require('app/SaaS/Chat/Services/Chatbots/ChatbotService')
const Ticket = require('app/SaaS/Chat/Models/Conversations/Ticket')
const Message = require('app/SaaS/Chat/Models/Messages/Message')
const User = require('app/Http/Models/Users/User')
class ChatbotChatService {
@alexchristianqr
alexchristianqr / OrdenamientoPorInsercion.psc
Last active September 6, 2022 04:19
Algoritmo en PSeint para ordenar por inserción
Algoritmo OrdenamientoPorInsercion
// Número de posiciones en un arreglo
N <- 10
// Declarar variables de tipo arreglo
Dimension arregloDesordenado(N)
Dimension arregloOrdenado(N)
// Ejecutar subprocesos
CargarArreglo(arregloDesordenado,arregloOrdenado,N)
Algoritmo OrdenamientoPorBurbuja
// Número de posiciones en un arreglo
N <- 10
// Declarar variables de tipo arreglo
Dimension arregloDesordenado(N)
Dimension arregloOrdenado(N)
// Ejecutar subprocesos
CargarArreglo(arregloDesordenado,arregloOrdenado,N)
@alexchristianqr
alexchristianqr / jugar-piedra-papel-tijera.js
Created September 21, 2024 03:33
piedra-papel-tijera
const opcionesJuego = {
piedra: {
piedra: 3, // Empatar
tijera: 2, // Perder
papel: 1, // Ganar
},
papel: {
papel: 3, // Empatar
tijera: 1, // Ganar
piedra: 2 // Perder
@alexchristianqr
alexchristianqr / README.md
Last active April 8, 2025 17:21
Limpiar ramas masivamente y excluir en una lista las necesarias

🧼 Git Branch Cleaner

Una herramienta de línea de comandos para limpiar ramas locales en tu repositorio Git de forma segura y personalizable.
Te permite eliminar ramas que ya no necesitas, excluyendo aquellas que están protegidas por nombre o por patrón (feat/*, fix/*, etc.).


🚀 Características

  • 🔒 Protege ramas por nombre exacto (main, master, dev, qa, etc.)