一、速卖通物流跟踪单号哪里看?
1.
速卖通平台订单页面:速卖通会在订单详情页面直接展现物流跟踪信息。
2.
菜鸟官方物流追踪网站://global.cainiao.com/ 输入查询单号,一次支持30条!
查看更多
二、命令行下怎样远程控制VLC播放?
开宗明义,在headless(i.e.withoutamonitororinputdevice)的服务器(例如,各类嵌入式「玩具板子」)上如果架起vlc进行多媒体播放,怎样才是最方便的控制方式?
同时,因为希望是可以脚本控制,所以最好是可以做到非互动式的指令。
如下是简单的步骤:
使能vlc的remotecontrol接口
vlc实际上拥有灵活强大的控制方式,由于我们上来就限定了headless,那么命令行显然是先决条件,vlc文档中已经列出了支持的几种remote方式:
rcinterface
ncursesinterface
telnetinterface
考虑到三者中rc应该是最强大和灵活的(ncurses需要configure,telnet更多的是互动型,何况rc本身就可以支持telnet访问),我们就focus在rc接口上。
使能方法非常简单,调用vlc的时候,用:
cvlc-irc--rc-fake-tty--rc-host
选项
意义
'-irc'启动rc接口;
'--rc-fake-tty'强迫将标准输入当做tty
'--rc-host'选定的监听地址和端口
注意:如果需要局域网内访问,请填写本机ip,如果只要本机访问,用localhost就可以了
得到如下信息(忽略那些错误吧,毕竟headless么,很多接口对vlc来说都缺失,但是不影响使用)
cvlc-irc--rc-fake-tty--rc-hostlocalhost:8888
vlcmediaplayer2.0.3twoflower(revision2.0.2-93-g77aa89e)
[0x11eed70]inhibitinterfaceerror:failedtoconnecttothed-bussessiondaemon:unabletoautolaunchadbus-daemonwithouta$displayforx11
[0x11eed70]maininterfaceerror:nosuitableinterfacemodule
[0x11eed70]maininterfaceerror:nosuitableinterfacemodule
[0x10858f0]mainlibvlcerror:interface"globalhotkeys,none"initializationfailed
[0x11eed70][cli]luainterface:listeningonhost"localhost:8888".
rc接口指令
直接借助帮助文件,可见还是非常强大的:
+----[clicommands]
|addxyz....................addxyztoplaylist
|enqueuexyz.................queuexyztoplaylist
|playlist.............showitemscurrentlyinplaylist
|search[string]..searchforitemsinplaylist(orresetsearch)
|sortkey.....................sorttheplaylist
|sd[sd].............showservicesdiscoveryortoggle
|play..........................playstream
|stop..........................stopstream
|next......................nextplaylistitem
|prev....................previousplaylistitem
|goto,gotoitem.................gotoitematindex
|repeat[on|off]..............toggleplaylistrepeat
|loop[on|off]................toggleplaylistloop
|random[on|off]..............toggleplaylistrandom
|clear.....................cleartheplaylist
|status...................currentplayliststatus
|title[x]..............set/gettitleincurrentitem
|title_n................nexttitleincurrentitem
|title_p..............previoustitleincurrentitem
|chapter[x]............set/getchapterincurrentitem
|chapter_n..............nextchapterincurrentitem
|chapter_p............previouschapterincurrentitem
|
|seekx...........seekinseconds,forinstance`seek12'
|pause........................togglepause
|fastforward..................settomaximumrate
|rewind.....................settominimumrate
|faster..................fasterplayingofstream
|slower..................slowerplayingofstream
|normal..................normalplayingofstream
|rate[playbackrate]..........setplaybackratetovalue
|frame.....................playframebyframe
|fullscreen,f,f[on|off]............togglefullscreen
|info.............informationaboutthecurrentstream
|stats................showstatisticalinformation
|get_time.........secondselapsedsincestream'sbeginning
|is_playing............1ifastreamplays,0otherwise
|get_title.............thetitleofthecurrentstream
|get_length............thelengthofthecurrentstream
|
|volume[x]..................set/getaudiovolume
|volup[x]...............raiseaudiovolumexsteps
|voldown[x]..............loweraudiovolumexsteps
|adev[x]...................set/getaudiodevice
|achan[x].................set/getaudiochannels
|atrack[x]...................set/getaudiotrack
|vtrack[x]...................set/getvideotrack
|vratio[x]...............set/getvideoaspectratio
|vcrop,crop[x]................set/getvideocrop
|vzoom,zoom[x]................set/getvideozoom
|vdeinterlace[x].............set/getvideodeintelace
|vdeinterlace_mode[x]........set/getvideodeintelacemode
|snapshot....................takevideosnapshot
|strack[x].................set/getsubtitlestrack
|
|vlm.........................loadthevlm
|description.................describethismodule
|help,?[pattern].................ahelpmessage
|longhelp[pattern]..............alongerhelpmessage
|lock....................lockthetelnetprompt
|logout..............exit(ifinasocketconnection)
|quit........quitvlc(orlogoutifinasocketconnection)
|shutdown.......................shutdownvlc
+----[endofhelp]
如何访问:
实际上,在一些讨论中看到,如果只是需要本机访问,更高效的办法是借助一个unixsocket文件,从而通过socket文件来访问,简单说就是将上面提到的-rc-host选项变成-rc-unix然后用一个文件作为输入;
这样可以用类似于形如下面指令的方法来模拟socket访问(作者以osx为例,应当是没有问题的):
echonormal|nc-u/users/vlc.sock
我的例子,debian中,nc似乎是不适用,更多人推荐用socat(需要安装)
echo“pause”|socat–unix-connect:/users/vlc.sock
上面可以理解成将管道化之后的echo字符向这个unix的socket发送。可是在我这里死活都会遇到文件connectionrefused,作为菜鸟,实在无力解决,特别是看到有强者遇到类似问题交叉比较得出可能和特定版本的kernelstock存在bug有关之后,不管看不看得懂,我都理直气壮的放弃了——直接转向了上面提到的host:port的方案。
所以:
osx
如果是互动式,直接nc
$nc192.168.199.1058888
vlcmediaplayer2.0.3twoflower
commandlineinterfaceinitialized.type`help'forhelp.
$status
(newinput:file:///home/user/test.mp3)
(audiovolume:256)
(stateplaying)
$info
+----[stream0]
|
|bitrate:160kb/s
|type:audio
|channels:stereo
|samplerate:44100hz
|codec:mpegaudiolayer1/2/3(mpga)
|
+----[endofstreaminfo]
如果不需要互动:
参考上节:
echostatus|nc-w0
-w是指示说该命令之后,立刻退出,实际上osx下并不一定需要,只是为了和下面linux对照一下。
linux
大致相同,区别只是在非互动式下,
echostatus|nc-q0
两者区别只是一个用了'wait'之意,另外一个是'quit'罢了,想想还挺风趣....风趣个妹啊,这不是折腾跨平台用户吗?!
结论
至此,该问题解决,不论是想在远程控制无输入(显示)设备上的播放,还是想用脚本对其他线程的vlc播放进行自动化的干预控制,都不成问题了。
三、速卖通发货可以寄什么快递?
快递方式分为三类:
第一种:快速类物流。EMS,Fedex IE,DHL,AliExpress 等。
这一类物流时效非常快,价格比较贵,适合贵重物品的邮寄,快递体验优质。
第二种:标准类物流,中国邮政挂号小包,E邮宝等。
这类物流主要针对客单价较高的商品,时效性比较快,费用相对较高,丢包率低,平台也明确规定客单价,超过五美金的商品都要选择挂号,适合大部分平台的大部分商品。
第三种:经济类小包,中国邮政小包西邮经济小包,菜鸟超级经济等。
这一类快递价格便宜,无需挂号费,时效性比较慢,容易丢失,物流无法追踪,只适合价格便宜的货物。
四、CS和CF有什么区别?
1. cf少数人在玩,cs全世界人在玩。
2. cf是我国很多少年儿童和中年人推崇的游戏,cs是国家推广第99个体育项目。
3.cs比cf公平,所以里面会有技术含量,cs需要通过每局赚的钱来买枪,所有人能买的枪都一样。大神杀人多,买好枪。菜鸟杀人少,买差枪。而cf有些武器要真钱买,只要你手中有神器,对面技术如果和你差不多。对面没神器。你就是大杀四方。
4.CS打比赛,是进入比赛之后才购买武器,并且通过一两局的积累和杀人奖励来达到购买更高游戏价格的武器,还可以在同一局中捡别人掉落的武器。CF在这一方面有点不同。CF是在进入游戏之前要求玩家准备好武器,再进入游戏中选择背包来确定最终使用武器。与CS相比,它更有利于新手操作。
5.cs有很多国际大赛,cf没有
6.cs有很多经典地图,还可以自己创造。cf的原创地图很少。