In the world of web development, one of the most powerful features of Rails is its seamless ability to manage user authentication through Devise. But what happens when you want to extend this functionality to allow users to create and manage their own resources, like posts? Letβs dive into how you can associate Devise users … Continue reading Streamlining Rails Applications: Associating Devise Users with Posts
Category: Programming
Getting Started with the Faker Gem: A Fun Tool for Generating Test Data!
Getting Started with the Faker Gem: November 7, 2024 If you've ever needed some random data for testing or just wanted to add a bit of fun to your project, the Faker gem is here to help! Faker generates realistic, random data, like names, addresses, phone numbers, and even fictional characters, in seconds. Originally inspired … Continue reading Getting Started with the Faker Gem: A Fun Tool for Generating Test Data!
Optimizing Garbage Collection in Rails with Autotuner
Garbage collection (GC) is an essential part of Ruby's memory management system, but it can sometimes introduce performance bottlenecks, especially in web applications running in production. For Rails applications, optimizing GC behavior can lead to improved response times, faster boot-ups, and reduced resource usage. The Autotuner gem provides an intelligent way to analyze GC performance … Continue reading Optimizing Garbage Collection in Rails with Autotuner
Are you programming, or are you still playing like you did at the beginning?
Regarding Python, I have extensive experience with MicroPython, Django, Matplotlib, Pandas, and so on. However, in the last few years, I have focused on Ruby on Rails and Ruby and miss using Jupyter. That said, with Ruby, you have tools like IRB, Rails console, Pry, RSpec, and all these amazing tools, so you donβt necessarily … Continue reading Are you programming, or are you still playing like you did at the beginning?
Some code to learn
import network sta_if = network.WLAN(network.STA_IF) sta_if.active(True) sta_if.scan() sta_if.connect("los_tres_ositos", "VQLzxuGs1") sta_if.isconnected() from microWebSrv import MicroWebSrv # ---------------------------------------------------------------------------- @MicroWebSrv.route('/test') def _httpHandlerTestGet(httpClient, httpResponse) : @MicroWebSrv.route('/test', 'POST') def _httpHandlerTestPost(httpClient, httpResponse) : @MicroWebSrv.route('/ggerman') def _httpHandlerGgermanGet(httpClient, httpResponse) : @MicroWebSrv.route('/ggerman', 'POST') def _httpHandlerGgermanPost(httpClient, httpResponse) : @MicroWebSrv.route('/edit/') # /edit/123 -> args['index']=123 @MicroWebSrv.route('/edit//abc/') # /edit/123/abc/bar -> args['index']=123 args['foo']='bar' @MicroWebSrv.route('/edit') # /edit -> args={} def … Continue reading Some code to learn
Badge Service: (#Docker)
Hoy me llegΓ³ un mail con el servicio de "MicroBadger" Lee mi Dockerfile y genera este cosito:Β Β que esta bastante bueno. Tambien hace una analisis de mi imagen y vuelca la informaciΓ³n de una manera que parece bastante bonita. Me parecio bastante simpatico y buena onda que me mandaran un mail a mi cuenta con este … Continue reading Badge Service: (#Docker)
HTTP verbs:
Programador: ColibrΓ Wii – ESP8266 (Primera parte)
ESP8266: Wii ColibrΓ es un proyecto que tiene como finalidad generar dispositivos que se manejen vΓa WiFi. En este post les dejo una forma casera de armar un programador para el dispositivo ESP8266 como vemos en la foto. En el primer caso baje el voltaje de 5v a 3.3v que utiliza el dispositivo usando dos … Continue reading Programador: ColibrΓ Wii – ESP8266 (Primera parte)
Compartiendo mi Docker ggerman/games
#docker @docker Este container contiene algunos de los juevos viejos que a mi me apasionaban de chico. Para empaquetarlo utilize este tutorial:Β http://www.jamescoyle.net/how-to/1512-export-and-import-a-docker-image-between-nodes Para ser mas especifico esta linea: docker save ggerman/games > docker-games.tar Github ayuda: https://github.com/ggerman/docker-games https://github.com/ggerman/docker-games.git # bzip2 -dΒ docker-games.tar.bz2 Para recuperarlo luego de bajarlo es con esta linea: (previa instalaciΓ³n deΒ http://docs.docker.com/mac/started/ ) docker load … Continue reading Compartiendo mi Docker ggerman/games
HermenΓ©utica
Glosario: La hermenΓ©utica, βarte de explicar, traducir o interpretarβ) es el arte o teorΓa de interpretar textos, especialmente las escrituras sagradas y los textos filosΓ³ficos.






