Every time I format the drive and perform a clean install of the SO, I end up searching for my favorite stuff. This file tries to sum up my setup.
Download Chrome.
Also install the latest JDK (Java Development Kit).
Apache License | |
Version 2.0, January 2004 | |
http://www.apache.org/licenses/ | |
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
1. Definitions. | |
"License" shall mean the terms and conditions for use, reproduction, | |
and distribution as defined by Sections 1 through 9 of this document. |
#!/bin/bash | |
# Clean up on exit | |
function finish { | |
rm -f expected found | |
} | |
trap finish EXIT | |
# How to parse JSON | |
JQ="jq --sort-keys" |
import android.os.Bundle | |
import android.util.Log | |
import android.view.ViewGroup | |
import android.widget.TextView | |
import androidx.appcompat.app.AppCompatActivity | |
import androidx.databinding.DataBindingUtil | |
import androidx.lifecycle.Lifecycle | |
import androidx.lifecycle.LifecycleObserver | |
import androidx.lifecycle.OnLifecycleEvent | |
import app.keima.android.recyclerviewsandbox.databinding.ActivityMainBinding |
''' | |
Usage: python archive_articles.py test.csv | |
Input: test.csv | |
name url | |
1 url1 | |
2 url2 | |
..... | |
output: | |
1.png | |
2.png |
Treat git log as a book, exec git next
or git prev
to checkout the next or the previous commit.
import android.annotation.TargetApi; | |
import android.content.Context; | |
import android.os.Build; | |
import android.text.SpannableStringBuilder; | |
import android.text.method.LinkMovementMethod; | |
import android.text.style.ClickableSpan; | |
import android.util.AttributeSet; | |
import android.view.View; | |
import android.view.ViewTreeObserver; | |
import android.widget.TextView; |
资源汇总 | |
https://github.com/crazycodeboy/awesome-flutter-cn | |
控件汇总 | |
https://github.com/alibaba/flutter-go | |
https://github.com/efoxTeam/flutter-ui | |
完整项目demo | |
https://github.com/Sky24n/flutter_wanandroid | |
https://github.com/CarGuo/GSYGithubAppFlutter |
oldActvity="" | |
displayName="" | |
currentActivity=`adb shell dumpsys window windows | grep -E 'mCurrentFocus'` | |
while true | |
do | |
if [[ $oldActvity != $currentActivity && $currentActivity != *"=null"* ]]; then | |
displayName=${currentActivity##* } | |
displayName=${displayName%%\}*} | |
echo $displayName | |
oldActvity=$currentActivity |
#!/bin/sh | |
# Use socat to proxy git through an HTTP CONNECT firewall. | |
# Useful if you are trying to clone git:// from inside a company. | |
# Requires that the proxy allows CONNECT to port 9418. | |
# | |
# Save this file as gitproxy somewhere in your path (e.g., ~/bin) and then run | |
# chmod +x gitproxy | |
# git config --global core.gitproxy gitproxy | |
# | |
# More details at http://tinyurl.com/8xvpny |