湾区 vs 西雅图——搬家一年小记

提笔的时候没有意识到,今天竟然刚好是我从加州搬走的一周年。2021 年的 11 月 25 日,我从住了 7 年的,我第一个自己选的可以称之为家的地方,开着我的小车车带着不多的家当离开了。大概是对家的不舍导致已经上了 880 才意识到还有东西忘了拿,还回去拿了一趟,真正上路已经是中午了。

也大概是两年前,我在 Lake Tahoe 湖边一个 Airbnb 写下这篇 California Dream(省略五千字抒情大作文)。那个时候大概是一瞬间第一次认真考虑了搬家,也很有幸一年之后生活大变样就实施了。虽然跟我设想的改变不大一样:工作时辞了但四海为家 working holiday 没成,做了一个月项目就累了在家躺平了半年,认识了天南海北一堆新朋友,找了新工作,毫无创意地从湾区搬到了西雅图。

转眼间搬来西雅图也一年了,没想到市场变化所以并没有在今年底买房,但是换了驾照和注册了投票,有了本地的圈子,也算是一个正正经经的西雅图人了。抒情的东西我那篇 California Dream 都写过了,西雅图矫情小作文大概可以等离开的时候在写,今天来正正经经对比一下网上已经被说过无数遍的湾区 vs 西雅图对比。Hot take,我还是蛮喜欢湾区的,离开也只是想尝试一下新地方而已。西雅图来了一整年四季也都经历过,蜜月期也刚被入冬 depressing 的天气浇熄,两边的滤镜应该都不 太重,是个写这种对比参考文的好时机。

本文是 11 月 patreon 金主们票选出来的内容(其实感觉不投这篇我也会写的哈哈哈哈)12 月 patreon 选题投票现已开始,欢迎大家投票决定:

  • 我看过的流媒体脱口秀 tier list
  • Patreon 两周年收获与总结
  • 2022 Desk setup
Continue Reading

WordPress All In One Wp Security (AIOS) locking cloudflare out

I’m going on a trip tomorrow and not gonna bring my computer, so I decided to take one last check at my WordPress site making sure everything is doing fine. Then I saw recently all the bot like high count visitors are from a narrow range of IP from Singapore. I thought it’s just some good old crawler draining up my server, so I casually added the range to All In One Wp Security (AIOS)’s blacklist manager.

Then, without refreshing, I realized I recently setup cloudflare for all my site cuz my other site was DDoS’ed the other day. Couldn’t this happen to be cloudflare’s proxy server right? So I hit refresh. 403. At the same time, my Better Uptime incident alert came.

Bummed by my own stupidity, I think I should just be able to ssh into the server, disable all the plugins as usual, and back to the game. Well, after renaming both all-in-one-wp-security-and-firewall and all plugins at /var/www/html/wp-content/plugins/, I’m still getting 403. Usually all the plugin related issue got solved at this step without needing to restart service, I’m not sure why this time it didn’t work.

So I start to Google something like AIOS self lockout, trying to find where does it store the blacklist that I can quickly manually edit by command line. No luck.

I tried to disable cloudflare proxy at cloudflare dashboard, no luck. And I’m too lazy to switch DNS provider back to where I was using before.

I started to poke around more in the plugin’s folder, and eventually found the file that did the trick: /var/www/html/wp-content/plugins/all-in-one-wp-security-and-firewall/admin/wp-security-list-locked-ip.php.Seems like the IPs are stored at a table called AIOWPSEC_TBL_PERM_BLOCK. I just commented out the entire line here in the prepare_items() function. Refresh, back online, removed the IP range from blacklist, uncomment the line.

So, that was just a small stupid incident on a random Thursday night 9pm before a trip. 乁། * ❛ ͟ʖ ❛ * །ㄏ


If you find this blog useful and want to support my blog, feel free to:

Become a Patron!

割以永治 part 1:我跟月经战斗的二十年

月经,人类进化史上最大的败笔(我自封的),折磨浪费了很多壮年女性(因为是讨论月经相关话题,本文中的女性指 assigned sex at birth,后简称为女性)人生中 1/4 的时光,生产了无数塑料垃圾生化废料,在生育意愿越来越低今天用这么大的代价养着这么一个劳什子简直令人发指。

在与月经战斗了二十年后,今年我终于看到了乌云背后的幸福线,结束这种痛苦近在眼前。本文算是这场战斗的前半部分——我是谁,我(对月经的深恶痛绝)从哪来,要到哪去。年底做完手术大概会有个中篇,再过一年来个 long term review 的下篇。

因为是月经相关,本文将大量讨论与月经相关的一切,如果不想看到相关内容请及时退出。对有月经困扰的女性同胞而言希望能提供参考帮你走向月经 free 之路,也加入了一些解释性内容供关心身边女性同胞遭遇的其他性别认同同胞了解。

本文是 10 月 patreon 金主们票选出来的内容,平票之后由氪金 patreon 高级会员福利加权本篇胜出。11 月 patreon 选题投票现已开始,这几个话题我都挺想写的,欢迎大家投票决定:

  • 湾区 vs 西雅图——搬来西雅图一周年总结
  • 黑五和节日季购物清单推荐
  • House vs Apartment——一些居住形态讨论
Continue Reading