This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Recursively list directories/files through Java, akin to Linux's `ls -R` command. | |
* (c) 2017, KazWolfe. Under MIT license. | |
* | |
* To use, save to `Recurse.java` and compile with `javac Recurse.java`. | |
* Run with `java -cp . Recurse /path/to/operate/on`. Be sure you are passing in a folder. | |
*/ | |
import java.io.File; | |
import java.lang.String; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
import appindicator | |
import gtk | |
import urllib2 | |
class IPIndicator(appindicator.Indicator): | |
""" | |
An indicator displaying public IP address. |