![]() Using NetFlex as an example let’s see how to configure a Popup, what you can do with it and how to send messages from your Popup and the main page. This is the 2nd/3 post about Chrome Extension Development, and in this post I’m going to talk about Popup. Also how to receive a message from your popup and then interact with the main application. ![]() In this post I’m using a simple version of NetFlex for showing how to configure the injection of your js/css files into an existing thrid part website. That’s the final part of a series regarding Chrome Extension Development. There are some nice implementations of = that we have to know. Ruby case/when/else statement uses the Ruby operator =, also known as threequals. Let’s highlight the differences between these two classes and find out the best scenarios for using each one. Although they have similar name and features they are actually very different in usage. Ruby Struct and OpenStruct are two different classes that handle to keep some data into a class instance. Let’s take a look what’s need to be done in order to get a nice maintainable CLI script written in Ruby. With that you can run any Ruby code directly from terminal, including your own gem. To create CLI script that runs Ruby code is super fast and straightforward. Find out how to configure OptionParser and use it. With that it’s possible to define an argument specification like required/optional, or restrict values or even convert into a specified class. In order to parse user inputs passed to CLI Scripts we can use the Ruby class OptionParser. Check this out and start using factories for building data for tests and seed. How easy is to build a Factory solution for Elixir applications? In this post I share a simple 20ish lines-of-code solution and its testing ✅. Was that a bug? Or was that a feature? Was that the developer fault? Should we blame git rebase? All these questions and a hacky trick as an alternative solution. Have you ever noticed that sometimes Github lists your commits in a weird order? I’d say disordered. You are probably using a solution such as docker-compose and wonder why they don’t have this implemented yet? On this blog post I’ll present my solution for this problem, a very simple shell script for waiting a container. You may have some docker □ containers □ to start your app but there are some startup order to be followed. In case you want to consider it for any reason you have it read this post and have fun. But it’s also easy to find cases where the convenience of Docker play a big role on a daily basis job. Should we use Docker □ for local development ❓? It seems easy to argue to not use it, just use local and that’s it. ![]() Kind of sharing some frontend management tips to backend developers like me. This is a short post, more like a straightforward recipe for new Elixir on Phoenix projects to use twitter bootstrap. Enjoy! Setup Twitter Bootstrap on Phoenix projects In this Blog Post I’ll share how I created a simple SQL script for PostgreSQL □ to generate some fake data. Generating fake data using SQLįake data are very useful in development environment for testing your application or some query performances for example. If you want to scale your app you’ll need to leverage queries processing to the DB. There are some simple business requests that could easily be solved with N+1 queries, but watch out this is a trap. This is a short blog post for sharing some sql examples to solve some daily problems in an elegant way. Testing help developers to speed up, so let’s talk testing in Elixir. How pattern matching affects coding in Elixir? Let’s talk about Elixir pattern matching and how this would change the way we solve problems. Let’s navigate and discuss some topics about LiveView. Phoenix LiveView will turn 2 years soon and is still one of the best ways to develop a very interactive and modern Web App. If you have feedback please send me a message (links on the bottom).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |