This file contains hidden or 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
String cloud1 | |
= " ____ _-_ " | |
+ " __ _/ \\_/ \\_ " | |
+ " / \\_/ __- \\ " | |
+ " |________/_____________|"; | |
String cloud2 | |
= " ____ ___ " | |
+ " __ _*####*_*###*_ " | |
+ " *##*_*#### *#########* " | |
+ " *########*#############*"; |
This file contains hidden or 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
/** | |
* Create a String[height][width] (r,c?) array out of an inputed string that | |
* is at least that big (specified by its dimentions with /n). | |
* | |
* @param input a string with '/n's | |
* @return | |
*/ | |
public static String[][] strToArray(String input) { | |
int width = input.indexOf("\n"); | |
int height = occurrancesOf(input, "\n");//input.length() / (height); |
This file contains hidden or 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 python | |
import random | |
import urllib | |
import urllib2 | |
VERBOSE = False | |
def downloadRandomFlickrImage (): | |
""" | |
Example URLs around Flickr: |
This file contains hidden or 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
# conky configuration | |
# | |
# The list of variables has been removed from this file in favour | |
# of keeping the documentation more maintainable. | |
# Check http://conky.sf.net for an up-to-date-list. | |
# | |
# For ideas about how to modify conky, please see: | |
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/ | |
# | |
# For help with conky, please see: |
NewerOlder