Skip to content

Instantly share code, notes, and snippets.

View Yexiaoxing's full-sized avatar
👋
Hey :)

Xiaoxing Ye Yexiaoxing

👋
Hey :)
View GitHub Profile
编号 代码 命令分解 命令
//switchtabpos switch tab pos 更改底部功能按钮位置的命令
//multiwebview multi web view 微信多窗口显示命令
//opentrace open trace 打开跟踪
//getfpkey get fp key 得到手机基本信息
//pickpoi pick poi 定位当前位置
//fullexit full exit 完全退出微信
//testwaitsms test wait sms 测试验证手机号码
//sightinfo sight info 打开查看小视频参数
//testsetpageowner test set page owner 检测你是否拥有页面的所有权
@aa65535
aa65535 / ip_ads.php
Last active August 29, 2015 14:00
中国IP地址段 - China Ip Addresses Range
<?php
$ip_ads = array(
array(16777472, 16778239),
array(16779264, 16781311),
array(16785408, 16793599),
array(16842752, 16843007),
array(16843264, 16859135),
array(16908288, 16909055),
array(16909312, 16910335),
array(16910592, 16941055),
@joshuaswilcox
joshuaswilcox / current_song
Last active July 29, 2024 00:14
Applescript to show current playing song and determine if its spottily or iTunes that is playing
if application "Spotify" is running and application "iTunes" is not running then
tell application "Spotify"
if player state is stopped then
set display to "No Track Playing"
else
set track_artist to artist of current track
set track_name to name of current track
set track_duration to duration of current track
set seconds_played to player position
set state to ""