November 12, 2024 Building an API (Application Programming Interface) is a common task in web development today. APIs allow different applications to communicate with each other, share data, and perform various tasks without a direct user interface. Ruby, one of the most flexible and developer-friendly languages, offers two powerful frameworks—Sinatra and Ruby on Rails—both of … Continue reading Building APIs in Ruby with Sinatra or Rails
Category: Software
Automate, Test, Repeat: The Art of Blending Rake Tasks with RSpec
February 2, 2025 In the ever-evolving world of Ruby and Rails development, two tools often steal the spotlight: Rake, the silent workhorse automating mundane tasks, and RSpec, the meticulous detective ensuring your code behaves as expected. But what happens when you bring these two together? Magic. Let’s explore how combining Rake tasks with RSpec tests … Continue reading Automate, Test, Repeat: The Art of Blending Rake Tasks with RSpec
Metaprogramming in Ruby: Unleashing the Magic of Dynamic Code
November 12, 2024 Ruby is celebrated for its unique ability to make coding feel almost magical, largely thanks to its flexible metaprogramming capabilities. Whether you're building DSLs or elegantly manipulating class structures, metaprogramming in Ruby unlocks new horizons. Here’s a deep dive into how you can harness this "magic" and take full advantage of Ruby's … Continue reading Metaprogramming in Ruby: Unleashing the Magic of Dynamic Code
Sacar fotos a la vuelta de la esquina:
Camera can take pictures around corners: http://www.theverge.com/2012/3/20/2888137/mit-media-lab-laser-camera-shoot-around-corners http://www.youtube.com/watch?v=JWDocXPy-iQ
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
Otra de las charlas que al parecer dejo el Flisol 2015
Flisol 2015
Tal vez sea la próxima vez, recien leía acerca de las cosas que me perdí en la Flisol del sábado 2015. Al parecer habia Pines de Debian para colgar en la mochila, cosa que hubiese sido interesante de tener. Tambien ví que fue mucha gente conocida y se dieron varias charlas (pasilleras) de intercambio y enriquecimiento técnico. … Continue reading Flisol 2015
JSON to Go structs
Mediante esta aplicación web podemos convertir JSON a Structuras en Go http://mholt.github.io/json-to-go/ Para validar su Json pueden usar: http://jsonformatter.curiousconcept.com/ Les dejo un tonto ejemplo de 5 minutos jugando:
Custom attributes
Una de las soluciones que mas me convence para utilizar multiples atributos en una entidad. Salido de una discución en la oficina; acerca si MongoDB o SQL. Respuesta, un poco MongoDB un poco SQL. Una de las condiciones era mantener las prestaciones de la base de datos sobre el valor almacenado. SELECT t.name AS table_name, … Continue reading Custom attributes
Configurando vigilancia casera con IP Webcam 4 Android
Desde hace tiempo que intento ver la forma de monitorear la casa y descubrí que mediante el software: https://play.google.com/store/apps/details?id=com.pas.webcam podemos reciclar los smartphones viejos que tenemos (o mangueamos) y generar una red de vigilancia a un bajo costo (aunque una camara IP sale $1500 o u$s 110 mas o menos cosa que poner 4 camaras serian … Continue reading Configurando vigilancia casera con IP Webcam 4 Android








