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
# ~/src/livebook/.iex.exs
System.cmd("xdg-open", [ LivebookWeb.Endpoint.access_url() ] )
Because Livebook requires a unique passcode on ...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex











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!