Skip to content

Instantly share code, notes, and snippets.

View arcanoix's full-sized avatar
:octocat:
Developer Code Now Work

Gustavo Herrera arcanoix

:octocat:
Developer Code Now Work
View GitHub Profile
@benjacord
benjacord / SOP-seguridad-clawdbot.md
Created January 29, 2026 08:50
🔒 Cómo Proteger tu Clawdbot/Moltbot en un VPS - Guía de Seguridad con Tailscale

🔒 Cómo Proteger tu Clawdbot/Moltbot en un VPS

⚠️ El Problema

Si instalaste Clawdbot o Moltbot en un VPS (servidor virtual), tu control panel está expuesto a todo internet en una URL como:

http://TU_IP_PUBLICA:18789/
@arcanoix
arcanoix / GitCommitEmoji.md
Created December 27, 2024 16:49 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@dinhquochan
dinhquochan / install.sh
Created July 24, 2023 15:39
Install PHP 8.2, Composer, MySQL 8 for Laravel Development on Ubuntu 22.04
## PHP
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php8.2-cli php8.2-dev php8.2-pgsql php8.2-sqlite3 php8.2-gd php8.2-imagick \
php8.2-curl php8.2-imap php8.2-mysql php8.2-mbstring php8.2-xml php8.2-zip \
php8.2-bcmath php8.2-soap php8.2-intl php8.2-readline php8.2-ldap php8.2-msgpack \
php8.2-igbinary php8.2-redis php8.2-memcache php8.2-pcov php8.2-xdebug
@Klerith
Klerith / useForm.tsx
Last active September 29, 2023 22:35
Hook para el manejo de formularios
import { useState } from 'react';
export const useForm = <T extends Object>( initState: T ) => {
const [state, setState] = useState( initState );
const onChange = ( value: string, field: keyof T ) => {
setState({
...state,
[field]: value
@Klerith
Klerith / init-rn.md
Created March 3, 2021 20:56
Comando para crear aplicación de React Native con TypeScript

Comando para crear un proyecto de RN con TS

npx react-native init AwesomeTSProject --template react-native-template-typescript
@Klerith
Klerith / Instalaciones-React.md
Last active February 12, 2026 09:19
Instalaciones recomendadas para mi curso de React de cero a experto
@ibonkonesa
ibonkonesa / create_registry_user.sh
Created May 2, 2020 01:00
Create docker private registry ui and repository users
#!/bin/bash
username=$1;
password=$2;
#CREATE USER IN REGISTRY
docker run --rm -it -v $(pwd):/data httpd htpasswd -Bb /data/registrypasswords $username $password
#CREATE USER IN CATALOG
docker run --rm -it -v $(pwd):/data httpd htpasswd -b /data/auth $username $password
#UPDATE REGISTRY USERS
pass=`cat registrypasswords| base64 -w 0`
sed "s/^\(\s*htpasswd\s*:\s*\).*/\1 ${pass}/" secret.yaml > deploy.yaml
@CodingMonkTech
CodingMonkTech / Configurations for Laravel app on Kubernetes - Dockerfile
Last active October 10, 2024 23:18
Deploying laravel on kubernetes cluster - Ready to use configuration Files
FROM php:7.2-fpm
COPY app /var/www/
EXPOSE 9000
@DeepanshKhurana
DeepanshKhurana / facebook-birthdays.py
Last active November 10, 2022 11:08
Python script to create a .csv from Facebook's Event Data to list Birthdays.
# Imports
import requests
import re
import pandas as pd
import numpy as np
# Initialising Variables
names = []