Skip to content

Instantly share code, notes, and snippets.

View eduardolat's full-sized avatar
❤️‍🔥
Working hard

Luis Eduardo eduardolat

❤️‍🔥
Working hard
View GitHub Profile
@eduardolat
eduardolat / gist:165570ee1c81af8a4f2aadda7250cf60
Last active January 7, 2023 05:21
Ejecutar un VNC temporal en docker
Inicia un servidor VNC temporal en docker.
Comando: docker run -p 6080:80 dorowu/ubuntu-desktop-lxde-vnc
Luego de correr el comando ir a http://[ip-del-servidor]:6080
Se puede cambiar el puerto por el deseado, el puerto interno del contenedor es 80
-----------
@eduardolat
eduardolat / tailwind.config.js
Created December 15, 2023 05:41
Regex for TailwindCSS + Gomponents
/** @type {import('tailwindcss').Config} */
module.exports = {
// Change this to your project source folder
content: ['./web/**/*.go'],
plugins: [],
theme: {
extend: {},
}
}
@eduardolat
eduardolat / countries.json
Created December 24, 2023 04:02
JSON de países, con nombre en español, ingles, código ISO y prefijo telefónico del país
[
{
"nameES": "Afganistán",
"nameEN": "Afghanistan",
"iso2": "AF",
"iso3": "AFG",
"phoneCode": "93"
},
{
"nameES": "Albania",
@eduardolat
eduardolat / timezones.json
Last active July 21, 2024 23:10
JSON Timezones
[
{
"label":"Pacific/Midway (GMT-11:00)",
"tzCode":"Pacific/Midway",
"name":"(GMT-11:00) Midway",
"utc":"-11:00"
},
{
"label":"Pacific/Niue (GMT-11:00)",
"tzCode":"Pacific/Niue",
@eduardolat
eduardolat / timezones.go
Last active July 21, 2024 23:15
Go Timezones + Tests
package timezones
type Timezone struct {
Label string `json:"label"`
TzCode string `json:"tzCode"`
Name string `json:"name"`
Utc string `json:"utc"`
}
var Timezones = []Timezone{
#!/bin/bash
echo ""
echo "-----------------------------------------"
echo "RDP Server Default Access Credentials"
echo "Username: abc"
echo "Password: abc"
echo "-----------------------------------------"
echo ""