Skip to content

Instantly share code, notes, and snippets.

View aruruka's full-sized avatar
:octocat:
Be a real full-stack SRE

raymondyan aruruka

:octocat:
Be a real full-stack SRE
View GitHub Profile
@aruruka
aruruka / SRE_Team_Building.md
Last active September 10, 2025 10:24
Reprinted from Lao Yang’s WeChat public account.

老杨聊 SRE 团队建设全攻略:从 0 到 1 的组织进化

写在前面:为什么你需要"神器"而非"常用命令"

大家好,老杨是老杨,干货满满的老杨欢迎点击原文链接或直接访问 vps.top365app.com,来看老杨的全球 vps 信息还有各种咱们用得着的信息实时收集分析项目.

正文

一、先定方向:为什么要 SRE

@aruruka
aruruka / Thoughts_on_Certificates_and_Tooling_and_Why_I_should_be_an_Fullstack_Engineer-2025_08_25.md
Created August 25, 2025 12:43
Today's gist: Thoughts on Certificates and Tooling (2025-08-25)

Recently, I've been taking a Udemy course to learn about Terraform. The course explains the core paradigm of writing Terraform code while using Terraform to manipulate Azure resources. I also decided to take this opportunity to learn as much about Azure as possible, so I looked through the self-study materials for the Azure Developer Associate certificate. The materials mainly focus on theoretical knowledge, but also include hands-on coding and command line operations. There are also multiple-choice questions. I've always thought that obtaining a certificate doesn't necessarily mean you'll be able to actually build or code software in the real world, as defined by the certificate's subject. I still think that, but I've found the certificate questions to be difficult. In fact, if I were to obtain the Azure Developer Associate certificate, I would have to spend time memorizing the details of Azure services, and the certificate questions are not completely unrelated to software construction and engineering. Howe

@aruruka
aruruka / .roomodes
Created July 26, 2025 11:31 — forked from ruvnet/.roomodes
🔥 Fire Crawler Mode for Roo using Composio. It can automatically harvest massive amounts of content from the web.
{
"customModes": [
{
"slug": "fire-crawler",
"name": "🔥 Fire Crawler",
"roleDefinition": "You are a specialized web crawling and data extraction assistant that leverages Firecrawl to gather, analyze, and structure web content. You extract meaningful information from websites, perform targeted searches, and create structured datasets from unstructured web content.",
"customInstructions": "You use Firecrawl's advanced web crawling and data extraction capabilities to gather and process web content efficiently. You:\n\n• Crawl websites recursively to map content structures\n• Extract structured data using natural language prompts or JSON schemas\n• Scrape specific content from web pages with precision\n• Search the web and retrieve full page content\n• Map website structures and generate site maps\n• Process and transform unstructured web data into usable formats\n\n## Web Crawling Strategies\n\n1. **Site Mapping**: Use FIRECRAWL_MAP_URLS to discover and map website structures\n2. **
@aruruka
aruruka / Pitfalls_Of_Running_An_Npx_Based_Mcp_Server_On_Windows.md
Created April 1, 2025 04:29
Pitfalls of running an npx-based MCP server on Windows.

Pitfalls of running an npx-based MCP server on Windows

I've been seriously trying to use MCP server for the past 2 days. Today, I successfully completed a small demo task using the coding agent plugin - Roo Code on VS Code. Here are some specific steps and pitfalls you're likely to encounter.

  1. I added 2 MCP Servers in Roo Code, namely:
  1. Initially, the "Filesystem" MCP server wouldn't run because I was using VS Code in Windows with PowerShell. If you're also a Windows user, you'll likely encounter errors running Node.js-based MCP servers. You can refer to the following two posts to resolve the issue:
@aruruka
aruruka / Running-a-public-server-from-WSL-2.md
Created November 30, 2023 02:22
Running a public server from WSL 2

Running a public server from WSL 2

Forward from: https://www.williamjbowman.com/blog/2020/04/25/running-a-public-server-from-wsl-2/

2020-04-25 :: linux, tricks, windows, wsl

This week, for ReAsOnS, I wanted to run a server on WSL 2 that was accessible from the internet. This was surprisingly involved and requires lots of hard-to-find tricks to forward ports through 4 different layers of network abstractions and firewalls.

  1. In WSL, make sure your server is using IPv4. I spent a hell of a long time just trying to figure out why I couldn’t access the server from localhost. I had successfully run a handful of local http servers from WSL that were accessible from the Windows host, so I wasn’t sure what the problem was. It turns out this server, written in Java, wouldn’t work until I added -Djava.net.preferIPv4Stack=true to the java options. It appears that Java was defaulting to IPv6, and WSL doesn’t forward IPv6 properly, or something.
@aruruka
aruruka / WhatIsSre-Chinese.md
Last active June 20, 2023 11:45
What is SRE in my opinion?

发现了一个来自LinkedIn的关于SRE的非常好的教程👇: https://linkedin.github.io/school-of-sre/level101/systems_design/intro/ 其中它提到了Google的SRE教程(这个才是体系化的SRE)👇: https://sre.google/workbook/non-abstract-design/

通过搜索以及向New Bing提问,解除了我的一些疑惑:

  • 需求分析是软件生命周期中的一个阶段。软件生命周期包括: 需求分析、架构设计、详细设计、编码、测试、部署和维护。
  • "UML建模"可以在需求分析、架构设计和详细设计阶段使用,用于描述软件系统的静态和动态特征。
  • 在详细设计阶段之后,应该就产出了与具体代码密切相关的产物,比如类图、序列图、活动图等文档。
@aruruka
aruruka / UsefulSnippetsForMarkdownCreative.md
Last active September 17, 2023 14:43
Code snippets often used in Markdown writing, including HTML code for icons and interactive HTML code for accessibility.

Html image tags of icons frequently used in Markdown composing

Icons

Shell Icons

icon-bash-command

@aruruka
aruruka / CreateAdditionalUbuntuInstanceOfWsl2.md
Created March 10, 2023 04:45
Create additional Ubuntu instance of WSL2
@aruruka
aruruka / bash_note.md
Last active June 8, 2025 02:28
Bash scripts and snippets I commonly use.

Bash Note

Bash scripts and snippets I commonly use.

Powershell

Files

  • Look for directories with a name contains the string 'anime':
@aruruka
aruruka / Set_Up_WSL2_Ubuntu_GUI_Environment.md
Last active May 3, 2021 08:22
Set Up WSL2 Ubuntu GUI Environment

Set Up WSL2 Ubuntu GUI Environment

Install VcXsrv on Windows 10 PC

Setting Display Target on WSL2 Ubuntu

# On WSL2:
nano ~/.bashrc