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
__author__ = "Srikanth L" | |
__copyright__ = "Copyright 2015" | |
__credits__ = ["Aruna S"] | |
__license__ = "GPL" | |
__version__ = "0.0.1" | |
from osmapi import OsmApi | |
import overpy | |
import urllib | |
import simplejson |
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
;; ta-phonetic.mim -- Tamil input method for phonetic layout | |
;; Copyright (c) 2004-2006 Red Hat, Inc. All rights reserved. | |
;; This file is part of the m17n contrib; a sub-part of the m17n | |
;; library. | |
;; The m17n library is free software; you can redistribute it and/or | |
;; modify it under the terms of the GNU Lesser General Public License | |
;; as published by the Free Software Foundation; either version 2.1 of | |
;; the License, or (at your option) any later version. |
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
#!/bin/bash | |
# Script to Downlaod Wikimedia squid logs and parse ta logs alone for a month. | |
# TODO : Get pageview stats on article space alone. | |
# (C) Srikanth Logic - [email protected] - GPLv2 or more | |
SERVER="http://dumps.wikimedia.org/other/pagecounts-raw/2012/2012-06/" | |
for day in `seq -f'%02g' 1 30` | |
do | |
for i in `seq -f'%02g' 0 23` | |
do |
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
# -*- coding: utf-8 -*- | |
# Scrapper to get words from Tamil Lexicon | |
# By Srikanth Logic. ([email protected]) | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
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
# -*- coding: utf-8 -*- | |
# Script to parse ZWNJ/ZWJ/ZWSP from http://dumps.wikimedia.org/tawiki/20120526/tawiki-20120526-all-titles-in-ns0.gz | |
# Srikanth Logic | |
import sys | |
def main(): | |
srcPath = sys.argv[1] | |
destPath = sys.argv[2] | |
sourceFile = open(srcPath,'r') | |
outputFile = open(destPath,'a') | |
outputFile.write("ZWNJ =====================\n") |
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 -*- | |
# Any Indian Language to any other Indian language transliterator | |
# Copyright 2008-2010 Santhosh Thottingal <[email protected]> | |
# http://www.smc.org.in | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 3 of the License, or | |
# (at your option) any later version. |
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
# Txtweb plugin code in dykapi main.py --> https://github.com/tecoholic/dykapi/blob/master/main.py | |
# Copyright Srikanth L | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
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 | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
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
import cgi | |
import datetime | |
import wsgiref.handlers | |
import urllib2 | |
from BeautifulSoup import BeautifulSoup | |
from google.appengine.ext import webapp | |
class MainPage(webapp.RequestHandler): | |
def post(self): | |
tweet = self.request.get('tweet') |
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
# Script to screenscrape 2011 India Assembly Elections | |
# Author : SrikanthLogic | |
# Date : 13 May 2011 | |
# Screen Scrapped from http://eciresults.ap.nic.in/Constituencywises031.htm | |
# Output :- http://bit.ly/jaFNTh | |
from BeautifulSoup import BeautifulSoup | |
import re | |
import urllib2 | |
import codecs |
NewerOlder