elixir HEEx highlighting in Emacs with Tree Sitter The snippet assumes: npm install -g [email protected] is the base mode for editing .html.heex files today.You are building for Apple Silicon. Update -target for your architecture if you need.
Enable Elixir code folding in Doom Emacs The end resultCode folding recently landed in Elixir's LSP implementation 🎉 and if you want to give it a try in Doom Emacs, here are the steps needed: Ensure you have the latest Elixir
ruby Ruby Class Methods are a better design choice than Constants Constants in Ruby code leads to poor object-oriented design principals. Use class methods instead to create a maintainable API without losing any performance.
Phoenix LiveView inline syntax highlighting for Emacs By using polymode for Emacs, you can achieve multi-major modes in a single buffer. I made use of this great library to get LiveView syntax highlighting when using the ~L sigil. ;; Assumes web-mode
elixir Serving Universal Links / App Links from Phoenix Universal Links, App Links (aka Deep Links) are pretty complicated. Let me show you how to serve the server verification from your Phoenix app.
elixir Expose Phoenix app via (free) ngrok Expose your Elixir / Phoenix application to the internet using a free ngrok account. No more messing with dynamic hostnames.
Going Remote Switching from a traditional in-office job to a remote job puts your habits and skills to the test.
elixir Speed up your Elixir tests when using comeonin Speed up your password hashing when using BCrypt or Argon2.
JWT Attacks and Prevention Auth0 has a great write-up on common JWT attacks that is worth a look for anyone using JWT's for authorization. I've provided a summary here as a TL;DR. JWT Headers Do not
Set ZSH as your default shell in WSL the correct way TL;DR - Do not use the old bashrc patch. Use chsh and update your launch paths to wsl.exe instead of bash.exe. I have confirmed this working on Debian Stretch and
ember.js Get Ember Inspector working in Firefox (Quantum) Developer Edition What changed? Turns out that Firefox is changing their extension API to match Chrome's popular WebExtension API. That means if you are on one of Mozilla's new Firefox Quantum builds, none of your
ruby Rails 5.x and PostgreSQL configuration for CircleCI 2.0 Revised November 17, 2017 There is a better way to solve this without removing the CircleCI TEST_FILES section and preserve parallel container. I've updated the configuration below. Thanks to Jason Milkins for
rails Extending Rails partials using local_assigns Rails partials often start out as logic-less extractions and grow in complexity as more views rely on them. In over 10 years of Rails development the story of partial evolution usually plays out
rails Syntax highlighting for inky-rb templates I've recently had to build out email templates for some work I am doing and for those who have done this before you know how painful it can be to get it working
Heading to EmberConf 2015 Wanted to pass along that I will be attending EmberConf 2015. I attended last year as a total outsider to the Ember.JS community and walked away a convert. Hope to see others
ember Ember.JS just got easier to learn To anyone who has tried to learn Ember.JS over the past few years, they are well aware of the struggles with clear documentation. I myself have bought books from LeanPub authors hoping
css Syntax highlighting on Ghost Starting on the Ghost blogging platform was my first jump from a self-hosted blog to hosted solution. Giving up the administrative headaches has allowed me more time to focus on writing content, but
css Goodbye float: left, hello display: flex I've been building an application called StoryTracker that is meant for users to have a high-level overview of a given Pivotal Tracker project. I am now in phase of initial UI/UX for
ember.js CSS Transitions with Ember.JS Components Trying to build an off-canvas panel using Ember.JS components was proving difficult. It did not help that most the results still referenced the now deprecated Ember.View. Background I had built the