Thursday, January 31, 2019
Wednesday, January 30, 2019
Tuesday, January 29, 2019
Rails - ActiveRecord related
Here's jpegs, because Twitter uses a white background to preview PNGs in the timeline but a black one in the individual photo view. pic.twitter.com/dWSz6wCSx7— Nate Berkopec (@nateberkopec) January 11, 2019
Monday, January 28, 2019
Distributed Phoenix Chat using Redis PubSub
Using Redis
https://www.reddit.com/r/elixir/comments/aj2sf7/distributed_phoenix_chat_using_redis_pubsub/
https://www.poeticoding.com/distributed-phoenix-chat-using-redis-pubsub/?utm_source=reddit&utm_campaign=reddit_elixir_350
Using pg2 instead of Redis
https://www.poeticoding.com/distributed-phoenix-chat-with-pubsub-pg2-adapter/?utm_source=reddit&utm_campaign=reddit_programming_382
https://www.reddit.com/r/elixir/comments/aj2sf7/distributed_phoenix_chat_using_redis_pubsub/
https://www.poeticoding.com/distributed-phoenix-chat-using-redis-pubsub/?utm_source=reddit&utm_campaign=reddit_elixir_350
Using pg2 instead of Redis
https://www.poeticoding.com/distributed-phoenix-chat-with-pubsub-pg2-adapter/?utm_source=reddit&utm_campaign=reddit_programming_382
Whistle - a web framework based on Elixir
https://github.com/boudra/whistle
What problems does Whistle address?
Whistle is a web framework that works a bit differently than normal MVC web frameworks. It is composed of stateful long-running components, allowing you to create interactive applications entirely in Elixir via WebSockets, while being also able to render an HTML page like any other web framework.It aims to provide a more functional approach to building web apps in Elixir, while also taking more advantage of Erlang's actor model.It also provides an extensive Javascript API for when Elixir alone doesn't cut it and interop with existing front-end libraries like React is needed.
ecommerce - Elixir
Avia Commerce -
https://www.aviacommerce.org/
https://github.com/aviacommerce/
https://www.aviacommerce.org/docs/products.html
https://www.reddit.com/r/elixir/comments/aclbb3/ecommerce_elixir_way_wip_faceted_search_for/
Gitter channel - https://gitter.im/avia-commerce/Lobby
Nectar Commerce -
https://github.com/vinsol/nectarcommerce
https://www.aviacommerce.org/
https://github.com/aviacommerce/
https://www.aviacommerce.org/docs/products.html
https://www.reddit.com/r/elixir/comments/aclbb3/ecommerce_elixir_way_wip_faceted_search_for/
Gitter channel - https://gitter.im/avia-commerce/Lobby
Nectar Commerce -
https://github.com/vinsol/nectarcommerce
Sunday, January 27, 2019
MongoDB with Elixir
https://medium.com/@petecorey/how-to-use-mongodb-with-elixir-ac3f814f8b4a
https://whitfin.io/using-mongodb-with-elixir-phoenix-and-ecto/
Connecting to MongoDB directly from Elixir - https://github.com/ankhers/mongodb
Saturday, January 26, 2019
Friday, January 25, 2019
Wednesday, January 23, 2019
Sunday, January 20, 2019
git - get diff between 2 commits as a nice list of single-line commits
git log --oneline f9fff80..2b6e0da >> commits.txt
Erlang/Elixir related
Elixir/Erlang String handling - https://www.evanmiller.org/elixir-ram-and-the-template-of-doom.html
Advantages of using Erlang - https://www.evanmiller.org/why-i-program-in-erlang.html
Advantages of using Erlang - https://www.evanmiller.org/why-i-program-in-erlang.html
Saturday, January 12, 2019
Wednesday, January 9, 2019
Sunday, January 6, 2019
tail + grep (multiple patterns)
https://stackoverflow.com/questions/23395665/tail-f-grep
https://unix.stackexchange.com/questions/37313/how-do-i-grep-for-multiple-patterns-with-pattern-having-a-pipe-character
https://stackoverflow.com/questions/7161821/how-to-grep-a-continuous-stream/7162898#7162898
Example: To grep for "Processing by" & "Parameters:" -
tail -f log/development.log | grep -E "Processing by|Parameters:"
Output:
https://unix.stackexchange.com/questions/37313/how-do-i-grep-for-multiple-patterns-with-pattern-having-a-pipe-character
https://stackoverflow.com/questions/7161821/how-to-grep-a-continuous-stream/7162898#7162898
Example: To grep for "Processing by" & "Parameters:" -
tail -f log/development.log | grep -E "Processing by|Parameters:"
Output:
2019-01-06 14:24:20.030 [INFO ] [30600:1788] Processing by Spree::ProductsController#index as JS
2019-01-06 14:24:20.031 [INFO ] [30600:1788] Parameters: {"sort_scope"=>"default", "page"=>"12", "infiniteScroll"=>"true"}
Saturday, January 5, 2019
Subscribe to:
Posts (Atom)
Followers
Blog Archive
-
▼
2019
(229)
-
▼
January
(28)
- Elixir Blogs
- Let's #TalkConcurrency with Joe Armstrong
- Security related: Session Fixation, Timing Attacks
- Rails - ActiveRecord related
- Distributed Phoenix Chat using Redis PubSub
- Elixir OTP Stock Quotes App (IEX Group)
- Developing a Slack Bot in Elixir Phoenix
- Whistle - a web framework based on Elixir
- Avoid these OTP Supervision performance pitfalls
- Processing Large CSV files with Elixir Streams
- ecommerce - Elixir
- Building a new MySQL adapter for Ecto - Plataforma...
- Elixir Interview Questions
- MongoDB with Elixir
- Ecto for Beginners
- Why We Chose Erlang over Java, Scala, Go, C
- Machine Learning with Elixir and Phoenix
- Communication Sequential Processes paper
- CSS related
- git - get diff between 2 commits as a nice list of...
- Erlang/Elixir related
- Dave Thomas: Keynote at EMPEX Conference - May 31,...
- Elixir - Recursion
- With Rails UJS, how to submit a remote form from a...
- tail + grep (multiple patterns)
- Debounce in React
- React related
- SQL related
-
▼
January
(28)