This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:id="@+id/main_content" | |
style="@style/match"> | |
<android.support.v7.widget.RecyclerView | |
android:id="@+id/recyclerview" | |
style="@style/match" | |
app:layout_behavior="@string/appbar_scrolling_view_behavior" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<!-- google's material design colours from | |
http://www.google.com/design/spec/style/color.html#color-ui-color-palette --> | |
<!--reds--> | |
<color name="md_red_50">#FFEBEE</color> | |
<color name="md_red_100">#FFCDD2</color> | |
<color name="md_red_200">#EF9A9A</color> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2015 Actinarium | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config 不为空 打包自动为debug版app。且其他配置会失效。 | |
config 为空 其他选项均有效 | |
config文件可以hosting在自己机器上,参考格式http://m.49lancai.com/_app/switch.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aapt dump badging | |
zipalign | |
lint | |
java -jar resourcesproguard.jar C:\Users\Administrator\Desktop\app-release.apk -config config.xml -signature C:\Users\Administrator\Dropbox\备份\lancai.keystore lancai2014 lancai2014 android.keystore | |
|perl -pe 's/%([0-9a-f]{2})/sprintf("%s", pack("H2",$1))/eig' | |
echo "" > ~/.zsh_history & exec $SHELL -l | |
find |grep web|xargs rm -rf | |
adb shell screenrecord /sdcard/movie.mp4 | |
PRAGMA user_version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.querySelectorAll('.list__item-title').forEach(function(x){console.log(x.innerText)}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar -cvpzf /mnt/pine64/system_backup.tar --exclude=/proc --exclude=/lost+found --exclude=/mnt --exclude=/sys --exclude=/media --exclude=/download / | |
tar -xlpvf xxx.tar -C /mnt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import math | |
import time | |
import datetime | |
import math | |
import json | |
import requests | |
from demo_opts import get_device |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clash socks 9080 | |
clash http 9081 | |
tar -cvpzf /mnt/pine64/system_backup.tar --exclude=/proc --exclude=/lost+found --exclude=/mnt --exclude=/sys --exclude=/media --exclude=/download / | |
tar -xlpvf xxx.tar -C /mnt | |
docker rmi $(docker images -q) |
OlderNewer