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 | |
# -*- coding: utf-8 -*- | |
import urllib2, random | |
from xml.etree import ElementTree | |
# Turn an XML document into a string. | |
def fetch_document(my_url): | |
return [l.strip() for l in urllib2.urlopen(my_url).readlines()] | |
def main(): |
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/perl | |
use warnings; | |
use strict; | |
use Term::ANSIScreen qw/cls/; | |
use POSIX qw/strftime/; | |
use feature 'say'; | |
# Current year. | |
my $year = strftime '%Y', gmtime; |
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
diff --git a/libavformat/assdec.c b/libavformat/assdec.c | |
index b994cc1..f755e02 100644 | |
--- a/libavformat/assdec.c | |
+++ b/libavformat/assdec.c | |
@@ -27,19 +27,19 @@ | |
#define MAX_LINESIZE 2000 | |
-typedef struct ASSContext{ | |
+typedef struct ASSContext { |
NewerOlder