Skip to content

Instantly share code, notes, and snippets.

View jollychang's full-sized avatar
🎼
Focusing

William Zhang jollychang

🎼
Focusing
View GitHub Profile
;; ━━━━━━━━━━━━━━━━━━
;; 作者: 李继刚
;; 剑名: 商业结构
;; 剑意: 看懂「公司」的结构形状
;; 日期: 2026-01-21
;; ━━━━━━━━━━━━━━━━━━
** 【角色设定】
你是一位系统战略分析师。你擅长透过表象(财报、新闻),洞察一个商业组织底层的能量运作逻辑。你认为万物皆为“结构”,而结构是在压力下由向心力与离心力动态平衡形成的“涡漩体”。
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; 作者: 李继刚
;; 日期: 2025-11-12
;; 剑名: 圆桌讨论
;; 剑意: 构建一个以“求真”为目标的结构化对话框架。该框架由一位极具洞察力的主持人
;; 进行引导,邀请代表不同思想的“典型代表人物”进行一场高强度的、即时响应式的
;; 深度对话。主持人将在每轮总结时生成视觉化的思考框架(ASCII Chart),通过
;; “主动质询” 与“协同共建”,对用户提出的议题进行协同探索,最终生成深刻的、
;; 结构化的知识网络。
@jollychang
jollychang / getFileByName.gs
Created March 16, 2021 11:25
Google App Script funtions
//https://yagisanatode.com/2018/10/05/google-apps-script-get-file-by-name-with-optional-parent-folder-crosscheck/
function getFileByName(fileName, fileInFolder){
var filecount = 0;
var dupFileArray = [];
var folderID = "";
var files = DriveApp.getFilesByName(fileName);
while(files.hasNext()){
@jollychang
jollychang / create_vultr_server.sh
Created March 2, 2019 01:49
create vultr server by API
curl -H 'API-Key: YOUR_VULTR_TOKEN' https://api.vultr.com/v1/server/create --data 'DCID=25' --data 'VPSPLANID=201' --data 'OSID=215'
curl -H 'API-Key: YOUR_VULTR_TOKEN' https://api.vultr.com/v1/server/create --data 'DCID=40' --data 'VPSPLANID=201' --data 'OSID=215’
curl -H 'API-Key: YOUR_VULTR_TOKEN' https://api.vultr.com/v1/server/create --data 'DCID=6' --data 'VPSPLANID=199' --data 'OSID=215'
{
"status": 0,
"encoding": "UTF-8",
"isdebug": false,
"vip": 0,
"isloop": 1,
"iscustom": false,
"data": [
{
"status": 1,
@jollychang
jollychang / postmortem.md
Created January 22, 2017 09:52 — forked from mlafeldt/postmortem.md
Example Postmortem from SRE book, pp. 487-491

Shakespeare Sonnet++ Postmortem (incident #465)

Date

2015-10-21

Authors

  • jennifer
  • martym
@jollychang
jollychang / gist:585437a39fa78e0d6b7d1855a6c1d3a4
Created August 25, 2016 03:51 — forked from dcancel/gist:2345016
Facebook Engineering Bootcamp Links
https://www.facebook.com/notes/facebook-engineering/facebook-engineering-bootcamp/177577963919
https://www.facebook.com/notes/facebook-engineering/bootcamp-growing-culture-at-facebook/249415563919
http://www.quora.com/How-does-Facebook-Engineerings-Bootcamp-program-work
http://thenextweb.com/facebook/2011/10/11/revealed-details-of-bootcamp-all-new-facebook-engineers-complete-video/
<!doctype html>
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ -->
<html>
<head>
<title>iOS 8 web app</title>
<!-- CONFIGURATION -->
@jollychang
jollychang / log
Created October 16, 2015 09:23
make -C infer
[jollychang@jollychangs-MBP infer]$ make -C infer
make -C src clang
GIT_COMMIT=$(git rev-parse HEAD 2> /dev/null || printf "unknown commit"); \
GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD 2> /dev/null || printf "unknown branch"); \
UNKNOWN="-unknown"; \
if [ -e "/Users/jollychang/works/infer/.release" ]; then \
UNKNOWN=""; \
fi; \
GIT_TAG=$(git tag --points-at HEAD 2> /dev/null || printf "v0.4.0$UNKNOWN"); \
sed -e 's/@MAJOR@/0/g' \
@jollychang
jollychang / compile-fcp.sh
Created October 13, 2015 03:45
compile-fcp.sh
[jollychang@jollychangs-MBP infer]$ ./compile-fcp.sh
+++ dirname ./compile-fcp.sh
++ cd .
++ pwd
+ INFER_ROOT=/Users/jollychang/works/infer
+ PLUGIN_DIR=/Users/jollychang/works/infer/facebook-clang-plugins
+ CLANG_EXEC=/Users/jollychang/works/infer/facebook-clang-plugins/clang/bin/clang
+ '[' '!' -f /Users/jollychang/works/infer/facebook-clang-plugins/clang/bin/clang ']'
+ pushd /Users/jollychang/works/infer/facebook-clang-plugins
~/works/infer/facebook-clang-plugins ~/works/infer