Commit Graph

349 Commits

Author SHA1 Message Date
Ming Di Leom 1d1bd91266
post(nixos): enable isSystemUser to disable shell 2021-06-13 09:22:57 +00:00
Ming Di Leom 365f937665
post(rsync-nixos): disable createHome to prevent reverting to chmod 700
- retain world-readable/chmod 755
2021-06-13 00:00:57 +00:00
Ming Di Leom 635ddd3f72
post(nixos): isNormalUser/isSystemUser must be set if uid is null
- https://search.nixos.org/options?channel=21.05&show=users.users.%3Cname%3E.isNormalUser&from=0&size=50&sort=relevance&query=isnormaluser
2021-06-12 08:10:26 +00:00
Ming Di Leom 8c2e000d8d
post(nixos): update syntax to 21.05
- https://nixos.org/manual/nixos/stable/release-notes.html#sec-release-21.05
2021-06-12 07:33:38 +00:00
Ming Di Leom ad4b53a5c3
fix(dedup-array): Object.fromEntries() to convert array to object 2021-06-06 07:51:33 +00:00
Ming Di Leom b714d9149a
post(python3-venv): mention virtualenv 2021-04-20 11:32:55 +00:00
Ming Di Leom 087efae9ac
post: python3 venv 2021-04-20 11:21:46 +00:00
Ming Di Leom c808b7ed89
post(gnu-busybox): minor correction on zip support 2021-04-20 08:46:07 +00:00
Ming Di Leom ccd0701586
post(gnu-busybox): limitation of gunzip 2021-04-19 10:32:44 +00:00
Ming Di Leom 8647a8e2c8
fix(http-headers): opt-out FLoC
- https://paramdeo.com/blog/opting-your-website-out-of-googles-floc-network
2021-04-16 05:54:38 +00:00
Ming Di Leom 776f16b0bc
fix(http-headers): Feature-Policy renamed to Permissions-Policy
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy
2021-04-14 08:54:00 +00:00
Ming Di Leom 732d467d97
post(snort-suricata): mention RPZ 2021-04-04 18:02:11 +00:00
Ming Di Leom 5256ade567
fix(markdown): ordered list's indent must have 4 spaces
- f8024eb24d/docs/demo/quickref.md (lists)
- fix table syntax
2021-04-04 17:54:45 +00:00
Ming Di Leom 4cea30e514
post(oracle-nixos): boot volume created from backup is not free 2021-04-04 17:42:51 +00:00
Ming Di Leom c4206b2f62
post: urlhaus-filter and phishing-filter available as Snort and Suricata rules 2021-03-20 03:38:35 +00:00
Ming Di Leom 0c569662a1
post(rsync-nixos): specify artifact between jobs 2021-03-15 22:51:56 +00:00
Ming Di Leom 1417d7d408
ci: after_script should only be used for cleanup
- in case of job failure
2021-03-15 11:12:54 +00:00
Ming Di Leom 28c702670f
post: "rsync is surprisingly simple to setup" 2021-03-15 07:01:43 +00:00
Ming Di Leom 77d29cec6c
post(nixos-oracle): mention NixOS-Infect
- https://github.com/elitak/nixos-infect
2021-03-15 03:02:08 +00:00
Ming Di Leom 64fd89a9b4
post(hsts): chromium 89 2021-03-11 04:50:28 +00:00
Ming Di Leom 4def850d59
post: Install NixOS on Oracle Cloud 2021-03-08 22:10:33 +00:00
Ming Di Leom ab5b2795d4
post(eepsite): mention reg.i2p 2021-03-07 12:23:19 +00:00
Ming Di Leom 08750be86b
post(caddy): should not add "Clear-Site-Data" header
- incompatible with cloudflare caching
2021-03-03 05:31:33 +00:00
Ming Di Leom bc3823248f
post(nixos-part-1): update to cloudflare pages 2021-02-22 03:17:13 +00:00
Ming Di Leom 097f3b5801
post(cf-pages): more readable paragraph 2021-02-21 10:50:24 +00:00
Ming Di Leom c136674136
post(caddy-v2): tls client auth 2021-02-16 00:55:12 +00:00
Ming Di Leom 457cee1eaf
docs: new backend/mirror curben.pages.dev 2021-02-15 09:13:57 +00:00
Ming Di Leom 305ca04029
post: Deploy Hexo to Cloudflare Pages 2021-02-15 09:12:21 +00:00
MDLeom e7449110c8
fix: update Statically API endpoint
- new endpoint seems easier to cache, especially when cloudflare is configured not to cache query string
  * https://support.cloudflare.com/hc/en-us/articles/218411427#summary-of-page-rules-settings
- Statically doesn't support resizing webp & gif yet
- screenshot API also doesn't support mobile version
  * it was previously working
2021-01-12 03:32:41 +00:00
MDLeom 23d5e3a2fc
post(caddy2-precompressed): minor grammar 2021-01-11 22:31:49 +00:00
MDLeom c7e7b1ce13
post(alpine-binaries): update to 3.12 2020-12-18 16:48:12 +00:00
MDLeom ca58b7901e
post(cloudflare-hsts): mdleom.com is now in preload list
- but not yet deploy to stable
2020-12-17 14:32:45 +00:00
MDLeom 4289211a09
post(caddy): add gitlab pages as alternative upstream 2020-12-12 10:05:16 +00:00
MDLeom ae363a7de0
post(hexo-gitlab): remove warning 2020-12-12 08:15:13 +00:00
MDLeom 23db552776
post(rhythmbox): add 'linux' tag 2020-12-07 03:06:21 +00:00
MDLeom c834bc2d8d
post(nixos-config): utilise malware-blocking dns
- https://1.1.1.1/family/
- add quad9, tls1.3 & enforce dnssec
2020-12-01 10:56:15 +00:00
MDLeom 0a725e9ecf
fix(redirects): update /files/ paths
- 1f70316713
2020-11-29 02:02:34 +00:00
MDLeom 1f70316713
feat(redirects): /files/ reverse proxy
- reduce 3rd-party links for eepsite compatibility
2020-11-29 01:58:26 +00:00
MDLeom 8c5939b5f1
post: Enabling HSTS preload in Cloudflare 2020-11-21 23:08:23 +00:00
MDLeom 3dd6d31b7e
post(tags): add 'cloudflare' 2020-11-21 10:21:24 +00:00
MDLeom 9a7e4c6a9c
post(cloudflare-caching): correction 2020-11-21 10:17:45 +00:00
MDLeom 9b74a5fce3
fix(img): '/img/' prefix is not required 2020-11-21 03:05:59 +00:00
MDLeom 71eb1fc347
post: Cloudflare does not cache html by default 2020-11-21 02:35:14 +00:00
MDLeom a5d41b429a
post(hexo-guide): mirror correction 2020-11-17 04:52:39 +00:00
MDLeom 4794ed5d7e
post(hexo-guide): add 'netlify' tag 2020-11-17 04:50:23 +00:00
MDLeom 996ea52384
post(hexo-guide): link hexo.io guides 2020-11-17 04:49:10 +00:00
MDLeom a0f37396f4
fix(header): remove Content-Language
- incorrect usage
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Language
2020-11-14 00:53:04 +00:00
MDLeom 775566136c
post(caddy-precompressed): warn about testing on browsers 2020-11-13 23:02:37 +00:00
MDLeom 56992697a7
post(caddy): xml/rss should not be cached for a week 2020-11-12 22:48:03 +00:00
MDLeom d50f580cc5
post(caddy): dedup config 2020-11-12 22:22:26 +00:00
MDLeom 572a716140
post: 'Serving pre-compressed files in Caddy 2' 2020-11-12 06:53:41 +00:00
MDLeom 153ccfe96a
post(nixos-caddy): fix caddyTwo.nix 2020-11-10 03:17:18 +00:00
MDLeom 259c0aa1b1
post(caddy): hsts header typo 2020-11-10 02:14:10 +00:00
MDLeom 53bdc4548e
post(nixos): attach complete configuration.nix 2020-11-09 01:08:18 +00:00
MDLeom a1c0b6b1d0
post(nixos-caddy): update to NixOS 20.09 & caddy 2.1 2020-11-09 00:55:42 +00:00
MDLeom c2d9914916
post(nixos): switch 'magic-wormhole' to 'wormhole-william' 2020-11-08 05:38:06 +00:00
MDLeom c5badae866
post(nixos): mention kernel is LTS 2020-11-08 04:53:57 +00:00
MDLeom 99ac6b142f
post(caddy): systemd start-rate-limit in 21.03
- https://github.com/NixOS/nixpkgs/pull/97512
2020-11-08 00:17:26 +00:00
MDLeom 3fd090b561
post(caddy): NixOS/nixpkgs#97512 is still in progress 2020-10-31 06:20:55 +00:00
MDLeom 64a5d20284
post(onion-location): fix title 2020-10-24 01:02:43 +00:00
MDLeom 62a7c02da2
post(busybox-aws): encrypt ssh key 2020-10-21 09:12:37 +00:00
MDLeom 92153f9189
post(busybox-aws): grammar 2020-10-21 09:04:22 +00:00
MDLeom c52ec4a752
post: 'Using BusyBox httpd in AWS EC2 for testing' 2020-10-21 06:12:52 +00:00
MDLeom 4c2c62d56f
post(tags): add 'busybox' 2020-10-21 01:20:33 +00:00
MDLeom 9cc697b937
post(jest): no longer use module-export to declare config
- ce8c4a145b
2020-09-28 05:52:42 +00:00
MDLeom 778247fff6
post(nixos): add systemd start-rate limit for older nixos 2020-09-12 05:04:37 +00:00
MDLeom 1cb712b5e3
post(nixos): fix systemd start rate-limits
- https://github.com/NixOS/nixpkgs/pull/97512
2020-09-09 08:42:42 +00:00
MDLeom c6ed614570
post(dns-filtering): Safe Browsing testing 2020-09-03 06:39:16 +00:00
MDLeom b889e3d13c
post: "Override smartypants in marked.js renderer" 2020-08-30 09:54:13 +00:00
MDLeom 86c5649e74
post(caddy-2): must use "caddy reload" to reload config
- ce8860dbfe/init/caddy.service (L25)
2020-08-30 09:23:35 +00:00
MDLeom e12bca5baa
post(embed svg): update hexo-yam config 2020-08-29 11:03:02 +00:00
MDLeom bbdfe74b48
post(tags): rename 'node' to 'node.js' 2020-08-19 02:48:37 +00:00
MDLeom 9265c9024b
post: Snap-installed Node.js cannot spawn() a Node.js app 2020-08-19 02:47:57 +00:00
MDLeom 82b006cd95
post(dedup-obj): mention pull request 2020-08-05 08:14:40 +00:00
MDLeom ed0f5def11
style: tab to space 2020-07-31 09:06:06 +01:00
MDLeom 28e2caefdc
post: dedup array of objects 2020-07-31 02:20:32 +01:00
MDLeom 6dd5b31a89
post(sign-commit): key should not expire 2020-07-21 06:03:07 +01:00
MDLeom 790ca9b505
post: Sign Git commit with Ed25519 key 2020-07-18 09:05:04 +01:00
MDLeom 8111136d74
post(dns-filtering): add delayed test 2020-07-14 03:37:24 +01:00
MDLeom 200c2fdcca
post(dns-filter): update script links 2020-07-12 03:47:32 +01:00
MDLeom c9eb1d7574
post: dns-filtering test 2020-07-11 09:25:04 +01:00
MDLeom 6d66e4ee66
post(phishing-filter): clarify about DShield source 2020-07-11 09:20:54 +01:00
MDLeom 1eff521182
post(onion-location): add guide for nginx & apache 2020-07-09 03:19:44 +01:00
MDLeom b92095ee4e
post(phishing-filter): add csvquote 2020-07-08 10:09:20 +01:00
MDLeom 452d3c27ea
post: phishing-filter 2020-07-07 11:27:06 +01:00
MDLeom d0ac052b59
feat: 'updated_option' config
- post.updated will be null if not set in front-matter
- https://github.com/hexojs/hexo/pull/4278
2020-06-23 05:27:55 +01:00
MDLeom 518584f0ab
post(caddy-v2): fix codeblock 2020-06-21 05:21:40 +01:00
MDLeom 6d8b80c257
post(caddy-v2): add v2.1 directives 2020-06-21 05:20:30 +01:00
MDLeom ac3fd4817d
post(onion-location): add netlify example 2020-06-05 04:04:35 +01:00
MDLeom e14eee2121
post(onion-location): add source links 2020-06-03 06:26:01 +01:00
MDLeom 47b10c2d70
post: Onion-Location 2020-06-03 06:01:29 +01:00
MDLeom 3e00112fe4
post(caddy-v2): add 'defer' example 2020-05-28 04:49:18 +01:00
MDLeom f994ac0043
post: 'Running Caddy 2 in NixOS 20.03' 2020-05-24 09:52:44 +01:00
MDLeom f04415de47
post(caddy-v2): add www redirect example 2020-05-24 05:01:20 +01:00
MDLeom d5fab6af24
post: 'Upgrading Caddy from v1 to v2' 2020-05-23 11:24:12 +01:00
MDLeom a5c5393156
post(tag): replace 'web' with 'server' 2020-05-23 09:15:20 +01:00
MDLeom 6c3b8bb51f
post(tags): remove 'dev' 2020-05-04 11:36:29 +01:00
MDLeom 5e9558d92f
post(nixos): add `nix.gc` and update config style 2020-05-02 06:55:36 +01:00
MDLeom aebe6637a9
post: remove more cloudflare headers 2020-04-22 03:25:42 +01:00
MDLeom 6a4a361b67
post: update nixos config syntax to 20.03
- 'loaOf' type has been deprecated, in favour of 'attrsOf'
- https://nixos.org/nixos/manual/release-notes.html#sec-release-20.03
2020-04-22 03:05:50 +01:00