SkillAgentSearch skills...

Misc

Miscellaneous Java servlets

Install / Use

/learn @pla1/Misc
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Misc

Miscellaneous Java servlets

<a href="https://github.com/pla1/Misc/blob/master/src/com/pla/misc/PingImageServlet.java">PingImageServlet</a>

Returns a green image if IP address is PING'able and returns a red image when it is not PING'able. Use it to add visual indications of device status on web pages. HTML example: <code><img src="https://pingimage.net?ip=8.8.8.8"> 8.8.8.8<br></code>

<img src="https://pingimage.net?ip=8.8.8.8"> 8.8.8.8<br> <img src="https://pingimage.net?ip=8.8.4.4"> 8.8.4.4<br> <img src="https://pingimage.net?ip=127.0.0.1"> 127.0.0.1<br> <img src="https://pingimage.net?ip=169.254.254.254"> 169.254.254.254<br> <img src="https://pingimage.net?ip=169.254.254.253"> 169.254.254.253<br> <img src="https://pingimage.net?ip=208.67.222.222"> 208.67.222.222<br> <img src="https://pingimage.net?ip=208.67.220.220"> 208.67.220.220<br>

Alternate format using request path: https://pingimage.net/cnn.com

<a href="https://github.com/pla1/Misc/blob/master/src/com/pla/misc/TimeImageServlet.java">TimeImageServlet</a>

Display the time of day in an image. Refreshes every 60 seconds. Used here: <a href="http://time0.net">http://time0.net</a> <img src="http://time0.net/Misc/">

<a href="https://github.com/pla1/Misc/blob/master/src/com/pla/misc/MyIpServlet.java">MyIpServlet</a>

Returns your IP address. Handy for scripting. Used here: <a href="http://ip.pla1.net">http://ip.pla1.net</a>

Related Skills

View on GitHub
GitHub Stars9
CategoryDevelopment
Updated1y ago
Forks3

Languages

Java

Security Score

55/100

Audited on May 9, 2024

No findings