Skip to content

Instantly share code, notes, and snippets.

@SergKolo
SergKolo / Recurse.java
Created January 24, 2017 00:40 — forked from KazWolfe/Recurse.java
Recursively list directories/files through Java
/*
* 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;
@SergKolo
SergKolo / ip-indicator.py
Created August 1, 2016 20:53 — forked from nathan-osman/ip-indicator.py
IP Address AppIndicator
#!/usr/bin/env python2
import appindicator
import gtk
import urllib2
class IPIndicator(appindicator.Indicator):
"""
An indicator displaying public IP address.