title | slug | tags | author | created | |
---|---|---|---|---|---|
Wireguardifying crappy work VPN |
wireguardifying-crappy-work-vpn |
|
Daniel |
2021-06-28 13:20:20 -0700 |
View ceil.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# simplest: round up using math.ceil | |
math.ceil(11 / 3) | |
# using integer division | |
result = 11 // 3 | |
if result * 3 != 11: # or 11 % 3 != 0 or 11 % 3 > 0 | |
result += 1 | |
# smartass way 🙃 equivalent to the above | |
11 // 3 + (11 % 3 > 0) |
View wireguardifying-vpn.md
View static-site-analytics.md
title | slug | tags | author | created | |
---|---|---|---|---|---|
Static site analytics with Nginx, GoAccess & no JS |
static-site-analytics-with-nginx-goaccess-no-js |
|
Daniel |
2021-03-14 13:15:00 -0700 |
Static site analytics with Nginx, GoAccess & no JS
View homelab-beginnings.md
title | slug | tags | author | created | |
---|---|---|---|---|---|
My humble homelab beginnings |
my-humble-homelab-beginnings |
|
Daniel |
2020-05-06 11:19:11 -0700 |
My humble homelab beginnings
View static-md-blog.md
title | slug | tags | author | created | ||
---|---|---|---|---|---|---|
Making-of this blog |
making-of-this-blog |
|
Daniel |
2020-04-27 07:38:47 -0700 |
Making-of this blog
View gitlab-pages-dev-env.md
title | slug | tags | author | created | |
---|---|---|---|---|---|
Setting up a dev environment on GitLab pages |
gitlab-pages-dev-env |
|
Daniel |
2020-03-21 16:00:00 -0700 |
Setting up a dev environment on GitLab pages
View dotfiles.md
title | slug | tags | author | created | ||
---|---|---|---|---|---|---|
Dotfiles |
dotfiles |
|
Daniel |
2021-10-01 14:49:23 -0700 |
Dotfiles
View home-storage.md
title | slug | tags | author | created | |
---|---|---|---|---|---|
Home data storage with encrypted cloud backup |
data-storage-with-encrypted-cloud-backup |
|
Daniel |
2021-01-13 06:28:14 -0800 |
Home data storage with encrypted cloud backup
View csp.md
title | slug | tags | author | created | |
---|---|---|---|---|---|
Content Security Policy, inline scripts and Next.js |
content-security-policy-inline-scripts-and-next-js |
|
Daniel |
2020-04-29 08:28:41 -0700 |
Content Security Policy, inline scripts and Next.js
View redux.md
title | slug | tags | author | created | |
---|---|---|---|---|---|
Getting rid of Redux / apollo-link-rest with Next.js |
bye-redux-hello-apollo-link-rest |
|
Daniel" |
2020-03-26 23:00:00 UTC |
Getting rid of Redux / apollo-link-rest with Next.js
NewerOlder