Skip to content

Instantly share code, notes, and snippets.

View flywhale's full-sized avatar

flywhale flywhale

  • Wisefog Inc.
  • Beijing
View GitHub Profile
@flywhale
flywhale / _service.md
Created June 28, 2017 12:43 — forked from naholyr/_service.md
Sample /etc/init.d script

Sample service script for debianoids

Look at LSB init scripts for more information.

Usage

Copy to /etc/init.d:

# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=chenjf@unitransdata.com
# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
mailhub=smtp.263.net:25
@flywhale
flywhale / copy2gist.md
Created May 24, 2021 05:18
Created with Copy to Gist

褚士瑩說,你想要什麼能力?就要不斷反覆練習,直到變成「習慣」! 好好睡覺,像個英國少年那樣貪睡;好好吃飯,像泰國人那樣好吃;好好運動,像巴西人那樣愛玩。以上這些變成「習慣」,你就會得到身體的「免疫力」!https://j.mp/3bnd6TE

@flywhale
flywhale / copy2gist.md
Created May 29, 2021 13:58
Created with Copy to Gist

推文 查看新推文 对话 Chuan Ye 回复

Charlie @yushaw 我直接用 Adguard 接管了 DNSmasq。也没做分流,感觉直接用 dnspod 的 doh 加上 Google 的 tls 就够了,上游找个本地最快的DNS。 引用推文

@flywhale
flywhale / copy2gist.md
Created June 23, 2021 02:36
Created with Copy to Gist

我个人在 Java 方面的主要关注是:IDE(生产力平台,IDEA, Eclipse, NetBeans)+ Sonar(代码质量和代码安全,Code as a Service)+ Axelor(企业应用平台,Business Services,ERP/CRM/BPM)。平时持续关注,有项目有机会就深挖一下。

@flywhale
flywhale / copy2gist.md
Created June 24, 2021 01:41
Created with Copy to Gist

美国的SaaS服务:adobe(创意设计)-hubspot(营销)-shopify(零售交易)-Coupa(采购交易)-salesforce(EDM和官网销售)-intuit(报税)。

@flywhale
flywhale / copy2gist.md
Created June 28, 2021 15:28
Created with Copy to Gist

本文档基于 CFEngine Core 3.9.1

Cfengine 是历史最悠久的配置管理软件. 虽然受到了来自众多后起之秀(puppet, saltstack, Chef...)的挑战, 但是 CFE 还是成功的活了下来. 相对于其他配置管理软件, CFE 最明显的优势有:

@flywhale
flywhale / agent loop
Created March 10, 2025 07:42 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet