Caddy is a web server with HTTPS for custom domains and on-demand TLS
https://caddyserver.com/
Open link
Vitor Rangel
Posted on
February 17, 2025
Topics:
Tech Insights
Lessons we’ve learned while working on real projects
accessibility
agile
ai
api
architecture
aws
career
celery
communication
concurrency
css
data
database
db
debug
design
design system
development
devops
django
docker
documentation
figma
frontend
git
html
javascript
js
leadership
management
metrics
ml
orm
performance
postgres
process
product
product design
python
react
redux
research
security
software
sql
sre
test
testing
tests
typescript
ui
ux
web
workflow
<p>You can get a user's public Instagram feed in JSON format using: </p>
↗
https://www.instagram.com/username/media/
Lais Varejão
May 11, 2017
Topics:
feed, instagram
<p>Use <code>django.contrib.syndication.views</code> for generating RSS feeds: </p>
↗
https://docs.djangoproject.com/en/1.11/ref/contrib/syndication/
Rebeca Sarai
May 9, 2017
Topics:
django
<p>Before using <code>itertools.groupby(data, keyfunc)</code> remember to sort the <code>data</code> with the same keyfunc.</p>
↗
Victor Carriço
May 8, 2017
Topics:
itertools, python
<p>In Celery configuration use:</p> <p><code>app.autodiscover_tasks(lambda: [n.name for n in apps.get_app_configs()])</code></p> <p>instead of:</p> <p><code>app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)</code></p> <p><code>autodiscover_tasks()</code> will not understand if you declare in <code>INSTALLED_APPS</code> some app through django <code>AppConfig</code>. (Ex: <code>INSTALLED_APPS += ['users.apps.UsersConfig', ]</code>)</p>
↗
Victor Carriço
May 3, 2017
Topics:
celery, django
<p>Write Fast Apps Using Async Python 3.6 and Redis: </p>
↗
https://eng.paxos.com/write-fast-apps-using-async-python-3.6-and-redis
Flávio Juvenal
Apr 27, 2017
Topics:
asyncio, performance, redis
<p>Postgres full-text search is Good Enough! </p>
↗
http://rachbelaid.com/postgres-full-text-search-is-good-enough/
Flávio Juvenal
Apr 27, 2017
Topics:
db, postgres, search, sql
<p>You can pass a queryset to prefetch_related (and select_related): <code>Restaurant.objects.prefetch_related(Prefetch('pizzas__toppings'))</code> #django.db.models.Prefetch</p>
↗
https://docs.djangoproject.com/en/1.11/ref/models/querysets/
Filipe Ximenes
Apr 26, 2017
Topics:
django, orm
<p>In a <code>admin.ModelAdmin</code>, a field can either be in <code>prepopulated_fields</code> or <code>readonly_fields</code>, but not in both.</p>
↗
Lais Varejão
Apr 26, 2017
Topics:
admin, django
<p>In <code>admin.ModelAdmin</code>, a field can either be in <code>prepopulated_fields</code> or <code>readonly_fields</code>, but not in both.</p>
↗
Lais Varejão
Apr 26, 2017
Topics:
django, django admin
<p>For tests use <code>assertCountEqual</code>, using two sequences it tests if the first contains the same elements as second, regardless of their order.</p>
↗
Rebeca Sarai
Apr 25, 2017
Topics:
python, test
<p>Understanding CSS Viewport Units! </p>
↗
https://www.sitepoint.com/css-viewport-units-quick-start
Lais Varejão
Apr 25, 2017
Topics:
css
<p>One of the best articles I’ve ever read about Software Over-Engineering: </p>
↗
https://medium.com/@rdsubhas/10-modern-software-engineering-mistakes-bc67fbef4fc8
Flávio Juvenal
Apr 25, 2017
Topics:
software-engineering
<p>Could you describe in simple terms what <code>display: block</code> actually does? </p>
↗
https://madebymike.com.au/writing/the-invisible-parts-of-CSS/
Felipe Farias
Apr 25, 2017
Topics:
css, html
<p>Writing Digital Copy for Domain Experts: </p>
↗
https://www.nngroup.com/articles/writing-domain-experts/
Flávio Juvenal
Apr 24, 2017
Topics:
copy, ux, writing
<p>Modal & Nonmodal dialogs checklist: </p>
↗
https://www.nngroup.com/articles/modal-nonmodal-dialog/
Flávio Juvenal
Apr 24, 2017
Topics:
design, modal, ui, ux
<p>If you need to execute more complex queries with OR statements you can use Q objects: #complex-lookups-with-q-objects</p>
↗
https://docs.djangoproject.com/en/1.11/topics/db/queries/
Rebeca Sarai
Apr 20, 2017
Topics:
django
<p>Awesome! Curated list of lists of falsehoods programmers believe in: </p>
↗
https://github.com/kdeldycke/awesome-falsehood
Flávio Juvenal
Apr 20, 2017
Topics:
falsehood
<p>You can set a default ordering for a object by setting <code>ordering = ['field_name']</code> as a metadata option</p>
↗
Lais Varejão
Apr 19, 2017
Topics:
django, metadata
<p>Creating One Browser Extension For All Browsers </p>
↗
https://www.smashingmagazine.com/2017/04/browser-extension-edge-chrome-firefox-opera-brave-vivaldi/
Felipe Farias
Apr 19, 2017
Topics:
<p>Use to truncate a string in django templates</p>
↗
Rebeca Sarai
Apr 19, 2017
Topics:
django, template
<p>How to replace Bootstrap Layouts with CSS Grid </p>
↗
https://hacks.mozilla.org/2017/04/replace-bootstrap-layouts-with-css-grid
Lais Varejão
Apr 18, 2017
Topics:
css
<p>From CSS Preprocessors to Styled Components </p>
↗
https://pusher.com/sessions/meetup/reactivate-london/from-css-preprocessors-to-styled-components
Felipe Farias
Apr 18, 2017
Topics:
<p>Tiny, efficient, Javascript library to detect links, URLs or Emails in text and convert them to clickable HTML links </p>
↗
http://alexcorvi.github.io/anchorme.js
Felipe Farias
Apr 18, 2017
Topics:
javascript
<p>Wow! Just discovered the - still experimental - CSS variables: </p>
↗
https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables
Lais Varejão
Apr 18, 2017
Topics:
Previous
Next
Clients
Services
Blog
About Us
Careers
Let's talk