原创 android文件導入導出工具.cmd

android文件導入導出工具 使用截圖 android文件導入導出工具.cmd @echo off :main set dirname= set buildPath=/mnt/sdcard/ :selectPath cls ec

原创 power shell 操作鍵盤鼠標

# 操作鍵盤 $wshell = New-Object -ComObject wscript.shell # 操作鼠標 function Click-MouseButton { param([string]$Button, [swit

原创 PowerShell彈出WIN10通知

[void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") $objNotifyIcon = New-Object System.Wi

原创 ndk讀取文件夾下的文件列表

char *dir_path = "/mnt"; DIR *dir = opendir(dir_path); if (dir == NULL) { LOGD("open dir error!");

原创 Android,如何在代碼中獲取attr屬性的值

獲取arrt的值 有時候我們需要把顏色,數值寫成attr屬性,這樣做是爲了屏蔽開發者對應具體數值,比如我們需要設置不同主題下的主色,副色,或者是不同版本的ActionBar大小,亦或者是不同Dpi下的DrawerLayout的寬度等。 在

原创 Node監控文件夾中的文件改變事件

// 需要忽略的文件夾 var ignores = '.git,doc,tool,coffee'.split(',') // 有時候修改文件後會連續回調兩次,用這個時間過濾掉第二次重複的回調 var lastUpdateTime = 0

原创 WEB工具

查找網頁中的所有鏈接地址 $('a').map((num,a)=>{ return a.href }).toArray().join('\n')

原创 Show Gradle Project Dependnices

./gradlew :app:dependencies --configuration releaseCompileClasspath

原创 錄屏軟件 gif

LICEcap simple animated screen captures LICEcap can capture an area of your desktop and save it directly to .GIF (for v