| 😄 | 😆 | 😊 | 😃 |
😩 | 😔 | 😞 | 😖 | 😨 | 😰 | 😣 | 😢 | 😭 | 😂 | 😲 | 😱 |
| 😫 | 😠 | 😡 | 😤 | 😪 | 😋 | 😷
😎 | 😵 | 👿 | 😈 | 😐 | 😶 | 😇 | 👽 | 💛 | 💙 | 💜 | ❤️ | 💚 | 💔 | 💓 | 💗 | 💕 | 💞 | 💘 | ✨
| 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 |
| 😄 | 😆 | 😊 | 😃 |
😩 | 😔 | 😞 | 😖 | 😨 | 😰 | 😣 | 😢 | 😭 | 😂 | 😲 | 😱 |
| 😫 | 😠 | 😡 | 😤 | 😪 | 😋 | 😷
😎 | 😵 | 👿 | 😈 | 😐 | 😶 | 😇 | 👽 | 💛 | 💙 | 💜 | ❤️ | 💚 | 💔 | 💓 | 💗 | 💕 | 💞 | 💘 | ✨
| #coding=utf8 | |
| import itchat | |
| # tuling plugin can be get here: | |
| # https://github.com/littlecodersh/EasierLife/tree/master/Plugins/Tuling | |
| from tuling import get_response | |
| @itchat.msg_register('Text') | |
| def text_reply(msg): | |
| if u'作者' in msg['Text'] or u'主人' in msg['Text']: | |
| return u'你可以在这里了解他:https://github.com/littlecodersh' |
| #coding=utf8 | |
| import itchat, time | |
| SINCERE_WISH = u'祝%s新年快乐!' | |
| REAL_SINCERE_WISH = u'祝%s新年快乐!!' | |
| def send_wishes(): | |
| friendList = itchat.get_friends(update=True)[1:] | |
| for friend in friendList: | |
| # 如果不是演示目的,把下面的方法改为itchat.send即可 |
| #coding=utf8 | |
| import os | |
| import itchat | |
| from NetEaseMusicApi import interact_select_song | |
| # 第三方包通过该命令安装:pip install itchat, NetEaseMusicApi | |
| HELP_MSG = u'''\ | |
| 欢迎使用微信网易云音乐 | |
| 帮助: 显示帮助 |
| import android.support.v7.widget.LinearLayoutManager; | |
| import android.support.v7.widget.RecyclerView; | |
| public abstract class EndlessRecyclerOnScrollListener extends RecyclerView.OnScrollListener { | |
| public static String TAG = EndlessRecyclerOnScrollListener.class.getSimpleName(); | |
| private int previousTotal = 0; // The total number of items in the dataset after the last load | |
| private boolean loading = true; // True if we are still waiting for the last set of data to load. | |
| private int visibleThreshold = 5; // The minimum amount of items to have below your current scroll position before loading more. | |
| int firstVisibleItem, visibleItemCount, totalItemCount; |
| /* | |
| * V4L2 video capture example | |
| * | |
| * This program can be used and distributed without restrictions. | |
| * | |
| * This program is provided with the V4L2 API | |
| * see http://linuxtv.org/docs.php for more information | |
| */ | |
| #include <stdio.h> |
| package org.yct.demo.guava; | |
| import com.google.common.base.MoreObjects; | |
| import com.google.common.base.Objects; | |
| import static com.google.common.base.Preconditions.*; | |
| import com.google.common.collect.ComparisonChain; | |
| import com.google.common.collect.Ordering; | |
| public class Employee implements Comparable<Employee> { | |
| private String name; |
| package mobi.dzs.util; | |
| /** | |
| * 16进制值与String/Byte之间的转换 | |
| * @author JerryLi | |
| * @email [email protected] | |
| * @data 2011-10-16 | |
| * */ | |
| public class CHexConver | |
| { |
| /** | |
| * Created by Tiou on 2014/7/15. | |
| * 一个实现 Recycle 机制的对象 | |
| */ | |
| public class Data { | |
| /** | |
| * 对象池,就是上文所提到的对象仓库,用于暂时存放不用的对象。 | |
| * 用链表来实现对象池结构,直观,高效,易用。 | |
| * sPool 便是指向链表头部的引用 | |
| */ |