AstonJ
..or as and when you can think of one ![]()
This thread my also be of interest: What took you way too long to figure out? ![]()
Trending in Guides/Tuts
You probably already know that <span>{nil}</span> in a HEEX template produces <span> </span> when rendered. I fin...
New
Other Trending Topics
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
There are three potential reasons for members of this forum to have a look at https://vutuv.de
You are tired or annoyed of LinkedIn.
Yo...
New
Aludel - LLM Evaluation Workbench
Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixir-ls
- #ai
- #elixirconf-us
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming











Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
AstonJ
I accidentally pasted my banking password into Terminal, so wanted to delete it to be on the safe side!
jswanner
Why not edit the file to remove that line?
I use my shell history constantly, so I’m loathed to blow it away
AstonJ
That’s actually a good idea!
(I wasn’t too bothered on this machine though as I’ve just done a clean install, so there was very little history)
adamu
(edit: actually the top tips are all things like “new elixir version released (in 2017)!”…)
mudasobwa
The above makes
iexsessions to store their history on a per-project basis in project directories.,gitignoreshould be also updated to include/.erl.history/.hauleth
I have already said it few times in different places, but do yourself a favour, and if you are using Git, then have globally (in
~/.config/git/attributes) or per project (in.gitattributes):This will make conflict resolution of
mix.lockmuch easier.Explanation
This will tell Git to treat Mix lock file as a binary file when doing merges/rebases. This mean, that if there is a conflict, there will be stop (so you need to resolve such conflict), but it will leave file as is (with no conflict markers). This makes my life much easier, as you can then just do
mix deps.update --all(as it is most of the time source of such conflicts) and then justgit add mix.lock && git rebase --continue.phcurado
Talking about git, I like to configure mine based article: How Core Git Developers Configure Git | Butler's Log. It contains some good info and recommendations you can use to improve the git defaults in your dev env.
Samjowen
Thanks for sharing, that was a good read.
arcanemachine
This thread is similar in spirit to a thread I made a while back, so I’ll share it here: What took you way too long to figure out?
I was going to put something in there the other day, but never got around to it… and now I forget what it was
. I remember enough to know it would have fit perfectly here…
Also just wanted to bump the thread.
AstonJ
Added a link to it in the first post
Kinda off-topic tip… but keep a note book handy/by your bed. Writing things down that come in to your mind just before going to sleep can actually help you sleep - as you’re not worrying about having to remember them!