(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| /* | |
| * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/io/ChunkedInputStream.java $ | |
| * $Revision: 569843 $ | |
| * $Date: 2007-08-26 10:05:40 -0700 (Sun, 26 Aug 2007) $ | |
| * | |
| * ==================================================================== | |
| * Licensed to the Apache Software Foundation (ASF) under one | |
| * or more contributor license agreements. See the NOTICE file | |
| * distributed with this work for additional information | |
| * regarding copyright ownership. The ASF licenses this file |
| #!/bin/bash | |
| packlist=`mktemp` | |
| git gc 2>&1 | | |
| grep '^warning: packfile .* cannot be accessed$' | | |
| cut -d' ' -f3 | | |
| sort -u > $packlist | |
| packs_count=`wc -l < $packlist` | |
| temp=`mktemp` |
| /** | |
| * 对公众平台发送给公众账号的消息加解密示例代码. | |
| * | |
| * @copyright Copyright (c) 1998-2014 Tencent Inc. | |
| */ | |
| // ------------------------------------------------------------------------ | |
| /** | |
| * 针对org.apache.commons.codec.binary.Base64, |
| # deb http://mirrors.aliyun.com/ubuntu trusty main restricted | |
| # deb http://mirrors.aliyuncs.com/ubuntu trusty main restricted | |
| # deb http://mirrors.aliyun.com/ubuntu trusty-updates main restricted | |
| # deb http://mirrors.aliyuncs.com/ubuntu trusty-updates main restricted | |
| # deb http://security.ubuntu.com/ubuntu trusty-security main restricted | |
| # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
| # newer versions of the distribution. | |
| deb http://mirrors.aliyun.com/ubuntu trusty main restricted |
The prep-script.sh will setup the latest Node and install the latest perf version on your Linux box.
When you want to generate the flame graph, run the following (folder locations taken from install script):
sudo sysctl kernel.kptr_restrict=0
# May also have to do the following:
# (additional reading http://unix.stackexchange.com/questions/14227/do-i-need-root-admin-permissions-to-run-userspace-perf-tool-perf-events-ar )
sudo sysctl kernel.perf_event_paranoid=0
I hereby claim:
To claim this, I am signing this object:
| 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 |