npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

dns-320-command-line

v0.0.1

Published

command-line interface for d-link sharecenter dns-320

Downloads

3

Readme

#COMMAND-LINE INTERFACE for D-LINK SHARECENTER DNS-320

Only for DLINK Firmware 2.03, help me to add support of new firmware 2.05

Image

Copyleft Stefano Cudini 2012

[email protected]

opengeo.tech

Suggestions:

This script is designed to run on a remote host than your NAS, but enabling ssh access to the NAS, eg using Fun Plug, you can copy the script into the NAS and run it from the command line via ssh or crond

Requirements:

  • php5-cli

Recommends:

  • php5-curl

Usage


Usage: pulse options [host[:port]]

       host                        hostname or ip target, default: pulse
       port                        http port number, default: 80

OPTIONS:
       -p,--p2p[=on|off]           get or set p2p client state
       -c,--p2p-clear              clear p2p complete list
       -l,--p2p-limit[=down[,up]]  get or set p2p speed limit, unlimit: -1
       -a,--p2p-auto[=on|off]      get or set p2p automatic download       
       -s,--p2p-start[=id,id,...]  start all or specific torrent download
       -o,--p2p-stop[=id,id,...]   stop all or specific torrent download
       -x,--p2p-delete[=id,id,...] delete specific torrent download       
       -D,--download[=url]         list or add url in http downloader
       -C,--download-clear         clear complete http downloads list
       -L,--download-list[=file]   add urls from file list
       -N,--nfs[=on|off]           get or set nfs service
       -F,--ftp[=on|off]           get or set ftp service
       -T,--temperature            get temperature inside device
       -A,--fan[=off|low|high]     get or set fan mode
       -u,--ups                    get ups state
       -t,--time                   get date and time of nas       
       -U,--usb                    get usb disk/flash info
       -M,--usb-umount             umount usb disk/flash
       -d,--disks                  get disks usage
       -S,--shutdown               power off system now
       -P,--shutdown-prog          get list schedule power off
       -R,--restart                restart system
       -O,--logout                 logout user admin from current host
       -f,--force                  force execute of comfirm command
       -q,--quiet                  quiet mode, suppress output
       -h,--help                   print this help

Output example p2p list:

$ ./pulse -p
	P2P: On
	 Speed:  64.2 KBps / 46.5 KBps
	 Limits: -1 KBps / 20 KBps
	 AutoDownload: Off
	 Torrents: 7
	  Download  38%   251.5MB of 661.9MB          0.0 / 1.6 KBps   #7  Elephants Dream BDRip...
	  Stopped   34%   138.6MB of 407.7MB          0.0 / 0.0 KBps   #5  Kubuntu Linux.iso 64b...
	  Stopped   29%      47MB of 1.45GB           0.0 / 0.0 KBps   #4  Sintel 2010 1080p Xvi...
	  Stopped   15%   261.1MB of 1.7GB            0.0 / 0.0 KBps   #1  PBig Buck Bunny 720p ...
	  Download  10%   153.6MB of 1.5GB   19h:4m  24.3 / 37.0 KBps  #3  Debian 6 0 i386 - CD1...
	  Download  5%     24.4MB of 658.0MB  4h:3m  37.8 / 1.2 KBps   #2  Debian 6 0 i386 - CD2...
	  Stopped   0%         0B of 710.0MB          0.0 / 0.0 KBps   #6  Debian 6 0 i386 - CD3...