Skip to content

Instantly share code, notes, and snippets.

View cy920820's full-sized avatar
🤩
Focusing

Cui Yang cy920820

🤩
Focusing
View GitHub Profile
@cy920820
cy920820 / resolve-openvpn-not-working-on-macos.md
Last active May 31, 2024 06:07
resolve openvpn not working on mac os

Open your terminal and paste that command:

sudo launchctl list | grep org.openvpn.client

If you see no output after launching that command - problenis in the OpenVPN Launch Daemon. Paste another command to launch it:

sudo launchctl load /Library/LaunchDaemons/org.openvpn.client.plist
@cy920820
cy920820 / .Cloud.md
Created January 19, 2023 07:09 — forked from imba-tjd/.Cloud.md
☁️ 一些免费的云资源

IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供语言环境和框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。

其他人的集合

Vue.js 50 mins ██████████▉░░░░░░░░░░ 52.0%
JavaScript 17 mins ███▋░░░░░░░░░░░░░░░░░ 17.6%
JSON 13 mins ██▉░░░░░░░░░░░░░░░░░░ 13.7%
YAML 4 mins ▉░░░░░░░░░░░░░░░░░░░░ 4.4%
Other 3 mins ▊░░░░░░░░░░░░░░░░░░░░ 4.0%
@cy920820
cy920820 / 程序员的酒后真言
Last active April 20, 2023 16:39
Drunk Post: Things I've learned as a Sr Engineer
I'm drunk and I'll probably regret this, but here's a drunken rank of things I've learned as an engineer for the past 10 years.
The best way I've advanced my career is by changing companies.
Technology stacks don't really matter because there are like 15 basic patterns of software engineering in my field that apply. I work in data so it's not going to be the same as webdev or embedded. But all fields have about 10-20 core principles and the tech stack is just trying to make those things easier, so don't fret overit.
There's a reason why people recommend job hunting. If I'm unsatisfied at a job, it's probably time to move on.
I've made some good, lifelong friends at companies I've worked with. I don't need to make that a requirement of every place I work. I've been perfectly happy working at places where I didn't form friendships with my coworkers and I've been unhappy at places where I made some great friends.
I've learned to be honest with my manager. Not too honest, but honest enough where I can be authent
@cy920820
cy920820 / 不仅仅为了效率,更好地是为了生活
Created April 28, 2021 02:35
提高元认知,站在局外人的角度来审视自己
1. 当开始察觉到不好的习惯发生时的信号时,以一个局外人的身份来审视自己这种当下的行为
2. 元认知
1. 元认知就是一种察觉力
2. 可以通过事无巨细、记录,反思,冥想来提高元认知
3. 元认知也是一种感受幸福的能力
@cy920820
cy920820 / 进一寸有进一寸的欢喜
Last active April 28, 2021 02:46
通过不断强大理智脑来驾驭本能脑和情绪脑
1. 身体中不只有一个自我
1. 大脑分为三部分:本能脑、情绪脑、理智脑
2. 可以更加形象地将三者关系比喻成一个骑手在驾驭两匹马在前行,一匹黑马代表情绪,一匹白马代表情绪
2. 连哄带骗的让大脑心甘情愿
1. 三者应该和谐稳定前行,而不是靠意志去抵抗或者战胜某一方
2. 连哄带骗
1. 将立即满足升华成延迟满足
2. 规划蓝图,将伟大的意义赋予,有啥用,有多好