Skip to content

Instantly share code, notes, and snippets.

View onewesong's full-sized avatar
🎯
Focusing

onewesong

🎯
Focusing
View GitHub Profile
# "Think Global, Act Local"的AI时代新解:一场闭门会的深度思考
参加完Linkloud在北京办的这场小范围讨论,我一直在回味嘉宾们反复触及的那个命题——"Think Global, Act Local"。这个被说烂了的口号,在AI和SaaS的交叉点上,突然有了非常具体的、甚至锋利的含义。它不再是一句营销口号,而是生死抉择。
---
## 一、Think Global的本质:找人类共通的"底层代码"
Workstream创始人Max分享做美国蓝领招聘时,说了句很狠的话:"我们在中国、香港、新加坡、硅谷聊了一圈,发现痛点一毛一样。"
@onewesong
onewesong / capabilities.txt
Created March 10, 2025 03:17 — forked from jlia0/agent loop
Manus tools and prompts
# Manus AI Assistant Capabilities
## Overview
I am an AI assistant designed to help users with a wide range of tasks using various tools and capabilities. This document provides a more detailed overview of what I can do while respecting proprietary information boundaries.
## General Capabilities
### Information Processing
- Answering questions on diverse topics using available information
- Conducting research through web searches and data analysis
#!/usr/bin/env python3
# coding: utf-8
import cson
def read_file(fp):
with open(fp) as f:
return f.read()
@onewesong
onewesong / web_timing.py
Created March 24, 2022 09:47 — forked from mkaz/web_timing.py
Use Selenium to Measure Web Timing
#!/usr/bin/env python
"""
Use Selenium to Measure Web Timing
Performance Timing Events flow
navigationStart -> redirectStart -> redirectEnd -> fetchStart -> domainLookupStart -> domainLookupEnd
-> connectStart -> connectEnd -> requestStart -> responseStart -> responseEnd
-> domLoading -> domInteractive -> domContentLoaded -> domComplete -> loadEventStart -> loadEventEnd
@onewesong
onewesong / asyncio.py
Created March 26, 2021 03:13 — forked from FBosler/asyncio.py
ThreadPool
from datetime import datetime
import aiohttp
import asyncio
URL = "https://medium.fabianbosler.de/run"
async def sample_asyncio(samples):
start = datetime.now()
@onewesong
onewesong / pandas大法.md
Last active September 15, 2020 06:32
jupyter_cheat_sheet

pandas 常用

  • 直接拷贝表格传入notebook
pd.read_clipboard()
  • 读取xls文件转成csv文件
pd.ExcelFile(xls_fpath).parse().to_csv(csv_fpath)
@onewesong
onewesong / mysql_cheat_sheet.md
Created September 15, 2020 05:01 — forked from bradtraversy/mysql_cheat_sheet.md
MySQL Cheat Sheet

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

#