I hereby claim:
- I am miuler on github.
- I am miuler (https://keybase.io/miuler) on keybase.
- I have a public key ASCpNMQJMmFzNgyHk37z9glcEHUL3mrvzSAKeeMzBig4Jgo
To claim this, I am signing this object:
| # Define el comando "pullall" que busca y actualiza repositorios Git en subdirectorios. | |
| def "fetchall" [] { | |
| # 1. Busca recursivamente todos los directorios '.git' desde la ubicación actual. | |
| # '**' es un comodín que significa "en cualquier subdirectorio". | |
| # Luego, obtiene el directorio padre de cada '.git' encontrado, que es la raíz del repositorio. | |
| print $"🔎 Buscando repositorios de Git en subdirectorios..." | |
| let repo_paths = (glob -F '**/.git' | path dirname) | |
| # Verifica si se encontró algún repositorio. |
| [tool.poetry] | |
| name = "test" | |
| version = "1.0.0" | |
| description = "test" | |
| authors = ["Hector Miuler Malpica Gallegos <[email protected]>"] | |
| [tool.poetry.dependencies] | |
| python = "^3.11" | |
| [tool.poetry.group.test.dependencies] |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| function get_headphones_index() { | |
| echo $(pacmd list-cards | grep bluez_card -B1 | grep index | awk '{print $2}') | |
| } | |
| function get_headphones_mac_address() { | |
| local temp=$(pacmd list-cards | grep bluez_card -C20 | grep 'device.string' | cut -d' ' -f 3) | |
| temp="${temp%\"}" | |
| temp="${temp#\"}" |
| <?xml version="1.0" encoding="utf-8"?> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="de.mobilej.overlay" | |
| android:versionCode="1" | |
| android:versionName="1.0" > | |
| <uses-sdk android:minSdkVersion="14" /> | |
| <application android:label="SystemOverlay" > | |
| <activity |
See https://github.com/sbt/sbt/wiki/sbt-1.x-plugin-migration for the list with sbt 1.x migration status.
| plugin | star |
|---|---|
| playframework/playframework | 9597 |
| scala-js/scala-js | 3053 |
| sbt/sbt-assembly | 1092 |
| mpeltonen/sbt-idea | 1085 |
| // ==UserScript== | |
| // @name Scroll Bar Hide | |
| // @namespace https://miuler.com/ | |
| // @version 0.1 | |
| // @description Hide the scroll bar for sites. | |
| // @author Miuler | |
| // @match https://www.youtube.com/* | |
| // @grant unsafeWindow | |
| // @grant GM_registerMenuCommand | |
| // @icon https://miro.medium.com/v2/resize:fill:48:48/1*6LVWTSSvxCYaftgZH-XFMQ.jpeg |
| const Gtk = imports.gi.Gtk; | |
| const GLib = imports.gi.GLib; | |
| // Initialize the gtk | |
| Gtk.init(null, 0); | |
| let mwindow = new Gtk.Window ({type : Gtk.WindowType.TOPLEVEL}); | |
| let label = new Gtk.Label ({label : "Hello World"}); | |
| // Set the window title |
| import scala.slick.jdbc.JdbcBackend.Database | |
| import Database.dynamicSession | |
| import scala.slick.jdbc.StaticQuery.interpolation | |
| object Main extends App { | |
| Database.forURL("jdbc:postgresql://localhost:5432/miuler", user = "miuler", password = "1234", driver="org.postgresql.Driver") withDynSession { | |
| val result = sql"SELECT name, age FROM user LIMIT 10".as[(String, Int)] | |
| println(result.list) | |
| } |
| import scala.util.matching.Regex.Match | |
| val a = """Esto es un ejemplo de como ejemplo por que siempre ejemplo""" | |
| val regex = "eje\\w*+" r | |
| class Reemplazar[E](lista:List[E]) { | |
| var i:Int = -1 | |
| def apply(replacer: Match) = { |