Skip to content

Instantly share code, notes, and snippets.

View lizhangqu's full-sized avatar
🙄
沉迷女色中

区长 lizhangqu

🙄
沉迷女色中
View GitHub Profile
@lizhangqu
lizhangqu / shell.cc.patch
Created April 24, 2020 08:55 — forked from yrom/shell.cc.patch
patch for flutter 1.12.13 shell/common/shell.cc
diff --git a/shell/common/shell.cc b/shell/common/shell.cc
index bef72617c..b73018a61 100644
--- a/shell/common/shell.cc
+++ b/shell/common/shell.cc
@@ -908,15 +908,28 @@ void Shell::OnAnimatorDraw(fml::RefPtr<Pipeline<flutter::LayerTree>> pipeline) {
[& waiting_for_first_frame = waiting_for_first_frame_,
&waiting_for_first_frame_condition = waiting_for_first_frame_condition_,
rasterizer = rasterizer_->GetWeakPtr(),
- pipeline = std::move(pipeline)]() {
- if (rasterizer) {
@lizhangqu
lizhangqu / README.md
Created February 19, 2019 08:54 — forked from chuyik/README.md
macOS 给 Git(Github) 设置代理(HTTP/SSH)
@lizhangqu
lizhangqu / tmux-cheatsheet.markdown
Created May 30, 2017 15:30 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@lizhangqu
lizhangqu / Hack.java
Created September 14, 2016 14:20 — forked from oasisfeng/Hack.java
Reflection helper for hacking non-public APIs.
package com.oasisfeng.hack;
import android.support.annotation.CheckResult;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.Log;
import java.io.IOException;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Constructor;