code
stringlengths
1
1.49M
vector
listlengths
0
7.38k
snippet
listlengths
0
7.38k
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.7188, 0.0312, 0, 0.66, 0, 548, 0, 1, 0, 0, 548, 0, 0 ], [ 3, 0, 0.875, 0.2188, 0, 0.66, 1, 190, 0, 1, 0, 0, 116, 0, 5 ], [ 2, 1, 0.9062, 0.1562, 1, 0.32, ...
[ "from handlers.AuthenticatedHandler import *", "class MessageInbox(AuthenticatedHandler):\n\n\tdef execute(self):\n\t\tuser = self.values['user']\n\t\tquery = model.Message.all().filter('user_to', user).filter('to_deletion_date', None)\n\t\tself.values['messages'] = self.paging(query, 10, '-creation_date', user.m...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.4694, 0.0204, 0, 0.66, 0, 426, 0, 1, 0, 0, 426, 0, 0 ], [ 1, 0, 0.5102, 0.0204, 0, 0.66, 0.5, 548, 0, 1, 0, 0, 548, 0, 0 ], [ 3, 0, 0.7755, 0.4694, 0, 0.6...
[ "import datetime", "from handlers.AuthenticatedHandler import *", "class MessageDelete(AuthenticatedHandler):\n\n\tdef execute(self):\n\t\tuser = self.values['user']\n\t\tkey = self.request.get('key')\n\t\tmessage = model.Message.get(key)\n\t\tif not message:\n\t\t\tself.not_found()", "\tdef execute(self):\n\...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software ...
[ [ 1, 0, 0.5476, 0.0238, 0, 0.66, 0, 548, 0, 1, 0, 0, 548, 0, 0 ], [ 3, 0, 0.7976, 0.4286, 0, 0.66, 1, 720, 0, 1, 0, 0, 116, 0, 7 ], [ 2, 1, 0.8214, 0.381, 1, 0.67, ...
[ "from handlers.AuthenticatedHandler import *", "class MessageRead(AuthenticatedHandler):\n\n\tdef execute(self):\n\t\tuser = self.values['user']\n\t\turl_path = self.request.path.split('/', 2)[2]\n\t\tmessage = model.Message.gql('WHERE url_path=:1', url_path).get()\n\t\tif message.user_to_nickname != user.nicknam...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.6216, 0.027, 0, 0.66, 0, 250, 0, 1, 0, 0, 250, 0, 0 ], [ 3, 0, 0.8378, 0.3514, 0, 0.66, 1, 195, 0, 1, 0, 0, 138, 0, 11 ], [ 2, 1, 0.8649, 0.2973, 1, 0.91,...
[ "from handlers.BaseRest import *", "class ArticleVisit(BaseRest):\n\n\tdef get(self):\n\t\tarticle_id = self.request.get('id')\n\n\t\tmemcache.delete(article_id + '_article')\n\t\tarticle = model.Article.get_by_id(int(article_id))\n\t\tarticle.views += 1", "\tdef get(self):\n\t\tarticle_id = self.request.get('i...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.2091, 0.0091, 0, 0.66, 0, 426, 0, 1, 0, 0, 426, 0, 0 ], [ 1, 0, 0.2273, 0.0091, 0, 0.66, 0.3333, 167, 0, 1, 0, 0, 167, 0, 0 ], [ 1, 0, 0.2364, 0.0091, 0, ...
[ "import datetime", "from google.appengine.ext import db", "from handlers.AuthenticatedHandler import *", "class ArticleDelete(AuthenticatedHandler):\n\n\tdef execute(self):\n\t\tmethod = self.request.method\n\t\tuser = self.values['user']\n\t\tarticle = model.Article.get(self.get_param('key'))\n\t\tmemcache.d...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software ...
[ [ 1, 0, 0.6216, 0.027, 0, 0.66, 0, 437, 0, 1, 0, 0, 437, 0, 0 ], [ 3, 0, 0.8378, 0.3514, 0, 0.66, 1, 338, 0, 1, 0, 0, 94, 0, 7 ], [ 2, 1, 0.8649, 0.2973, 1, 0.48, ...
[ "from handlers.BaseHandler import *", "class ArticleList(BaseHandler):\n\n\tdef execute(self):\n\t\tself.values['tab'] = '/module/article.list'\n\t\tquery = model.Article.all().filter('draft =', False).filter('deletion_date', None)\n\t\tapp = self.get_application()\n\t\tkey = '%s?%s' % (self.request.path, self.re...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.1655, 0.0072, 0, 0.66, 0, 167, 0, 1, 0, 0, 167, 0, 0 ], [ 1, 0, 0.1727, 0.0072, 0, 0.66, 0.5, 437, 0, 1, 0, 0, 437, 0, 0 ], [ 3, 0, 0.5971, 0.8129, 0, 0.6...
[ "from google.appengine.ext import db", "from handlers.BaseHandler import *", "class ArticleView(BaseHandler):\n\n\tdef execute(self):\n\t\turl_path = self.request.path.split('/', 3)[3]\n\t\tarticle_id = self.request.path.split('/')[3]\n\t\tarticle = self.cache(article_id + '_article', self.get_article)\n\t\t\n\...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.2614, 0.0114, 0, 0.66, 0, 167, 0, 1, 0, 0, 167, 0, 0 ], [ 1, 0, 0.2727, 0.0114, 0, 0.66, 0.5, 548, 0, 1, 0, 0, 548, 0, 0 ], [ 3, 0, 0.6477, 0.7159, 0, 0.6...
[ "from google.appengine.ext import db", "from handlers.AuthenticatedHandler import *", "class ArticleCommentEdit(AuthenticatedHandler):\n\n\tdef execute(self):\n\t\tself.values['tab'] = '/module/article.list'\n\t\tmethod = self.request.method\n\t\tuser = self.values['user']\n\t\tcomment_key = self.get_param('key...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.3594, 0.0156, 0, 0.66, 0, 167, 0, 1, 0, 0, 167, 0, 0 ], [ 1, 0, 0.375, 0.0156, 0, 0.66, 0.5, 548, 0, 1, 0, 0, 548, 0, 0 ], [ 3, 0, 0.7031, 0.5781, 0, 0.66...
[ "from google.appengine.ext import db", "from handlers.AuthenticatedHandler import *", "class ArticleCommentSubscribe( AuthenticatedHandler ):\n\n\tdef execute(self):\n\t\tkey = self.get_param('key')\n\t\tarticle = model.Article.get(key)\n\t\tmemcache.delete(str(article.key().id()) + '_article')\n\t\tuser = sel...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.0924, 0.004, 0, 0.66, 0, 654, 0, 1, 0, 0, 654, 0, 0 ], [ 1, 0, 0.0964, 0.004, 0, 0.66, 0.2, 426, 0, 1, 0, 0, 426, 0, 0 ], [ 1, 0, 0.1044, 0.004, 0, 0.66, ...
[ "import time", "import datetime", "from google.appengine.ext import db", "from google.appengine.api import memcache", "from handlers.AuthenticatedHandler import *", "class ArticleEdit(AuthenticatedHandler):\n\n\tdef execute(self):\n\t\tself.values['tab'] = '/module/article.list'\n\t\tmethod = self.request...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.3239, 0.0141, 0, 0.66, 0, 548, 0, 1, 0, 0, 548, 0, 0 ], [ 3, 0, 0.6761, 0.662, 0, 0.66, 1, 753, 0, 1, 0, 0, 116, 0, 29 ], [ 2, 1, 0.6901, 0.6338, 1, 0.98,...
[ "from handlers.AuthenticatedHandler import *", "class ArticleAddCommunities(AuthenticatedHandler):\n\n\tdef execute(self):\n\t\tmethod = self.request.method\n\t\tuser = self.values['user']\n\t\tkey = self.get_param('key')\n\t\tarticle = model.Article.get(key)\n\t\tif not article or article.draft or article.deleti...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.4259, 0.0185, 0, 0.66, 0, 426, 0, 1, 0, 0, 426, 0, 0 ], [ 1, 0, 0.463, 0.0185, 0, 0.66, 0.3333, 167, 0, 1, 0, 0, 167, 0, 0 ], [ 1, 0, 0.4815, 0.0185, 0, 0...
[ "import datetime", "from google.appengine.ext import db", "from handlers.AuthenticatedHandler import *", "class ArticleCommentDelete(AuthenticatedHandler):\n\n\tdef execute(self):\n\t\tuser = self.values['user']\n\t\tif user.rol != 'admin':\n\t\t\tself.forbidden()\n\t\t\treturn", "\tdef execute(self):\n\t\t...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.1917, 0.0083, 0, 0.66, 0, 654, 0, 1, 0, 0, 654, 0, 0 ], [ 1, 0, 0.2, 0.0083, 0, 0.66, 0.2, 426, 0, 1, 0, 0, 426, 0, 0 ], [ 1, 0, 0.2167, 0.0083, 0, 0.66, ...
[ "import time", "import datetime", "from google.appengine.ext import db", "from google.appengine.api import mail", "from handlers.AuthenticatedHandler import *", "class ArticleComment(AuthenticatedHandler):\n\n\tdef execute(self):\n\t\tuser = self.values['user']\n\t\tkey = self.get_param('key')\n\t\tarticl...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.3286, 0.0143, 0, 0.66, 0, 167, 0, 1, 0, 0, 167, 0, 0 ], [ 1, 0, 0.3429, 0.0143, 0, 0.66, 0.5, 548, 0, 1, 0, 0, 548, 0, 0 ], [ 3, 0, 0.6857, 0.6429, 0, 0.6...
[ "from google.appengine.ext import db", "from handlers.AuthenticatedHandler import *", "class ArticleFavourite(AuthenticatedHandler):\n\t\n\tdef execute(self):\n\t\tarticle = model.Article.get(self.get_param('key'))\n\t\tuser = self.values['user']\n\t\tif not article or article.draft or article.deletion_date:\n\...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.3382, 0.0147, 0, 0.66, 0, 167, 0, 1, 0, 0, 167, 0, 0 ], [ 1, 0, 0.3529, 0.0147, 0, 0.66, 0.5, 548, 0, 1, 0, 0, 548, 0, 0 ], [ 3, 0, 0.6912, 0.6324, 0, 0.6...
[ "from google.appengine.ext import db", "from handlers.AuthenticatedHandler import *", "class ArticleVote(AuthenticatedHandler):\n\t\n\tdef execute(self):\n\t\tarticle = model.Article.get(self.get_param('key'))\n\t\tif not article or article.draft or article.deletion_date:\n\t\t\tself.not_found()\n\t\t\treturn",...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software ...
[ [ 1, 0, 0.697, 0.0303, 0, 0.66, 0, 437, 0, 1, 0, 0, 437, 0, 0 ], [ 3, 0, 0.8788, 0.2727, 0, 0.66, 1, 958, 0, 1, 0, 0, 94, 0, 3 ], [ 2, 1, 0.9091, 0.2121, 1, 0.86, ...
[ "from handlers.BaseHandler import *", "class Dispatcher(BaseHandler):\n\n\tdef execute(self):\n\t\treferer = self.request.path.split('/', 1)[1]\n#\t\tif referer.startswith('module'):\n#\t\t\treferer = self.request.path.split('/',2)[2]\n\t\tself.add_tag_cloud()\n\t\tself.values['tab'] = self.request.path", "\tde...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.0259, 0.0012, 0, 0.66, 0, 540, 0, 1, 0, 0, 540, 0, 0 ], [ 1, 0, 0.0271, 0.0012, 0, 0.66, 0.1, 722, 0, 1, 0, 0, 722, 0, 0 ], [ 1, 0, 0.0283, 0.0012, 0, 0.6...
[ "import re", "import model", "import datetime", "from google.appengine.ext import db", "from google.appengine.ext import webapp", "from google.appengine.api import users", "from google.appengine.api import memcache", "from google.appengine.runtime.apiproxy_errors import CapabilityDisabledError", "fr...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.1716, 0.0075, 0, 0.66, 0, 49, 0, 1, 0, 0, 49, 0, 0 ], [ 1, 0, 0.209, 0.0075, 0, 0.66, 0.0119, 188, 0, 1, 0, 0, 188, 0, 0 ], [ 1, 0, 0.2164, 0.0075, 0, 0.6...
[ "from handlers.MainPage import *", "from handlers.module.admin.Admin import *", "from handlers.module.admin.AdminCategories import *", "from handlers.module.admin.AdminCategoryEdit import *", "from handlers.module.admin.AdminApplication import *", "from handlers.module.admin.CommunityAddRelated import *",...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com> # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Gener...
[ [ 1, 0, 0.48, 0.02, 0, 0.66, 0, 437, 0, 1, 0, 0, 437, 0, 0 ], [ 3, 0, 0.75, 0.48, 0, 0.66, 1, 516, 0, 4, 0, 0, 94, 0, 16 ], [ 2, 1, 0.66, 0.22, 1, 0.44, 0, ...
[ "from handlers.BaseHandler import *", "class MainPage(BaseHandler):\n\n\tdef execute(self):\n\t\tself.values['tab'] = '/'\n\t\t# memcache.delete('index_articles')\n\t\t# memcache.delete('index_communities')\n\t\t# memcache.delete('index_threads')\n\t\tself.values['articles'] = self.cache('index_articles', self.ge...
#!/usr/bin/python # -*- coding: utf-8 -*- # # (C) Copyright 2008 Alberto Gimeno <gimenete at gmail dot com> # (C) Copyright 2008 Ignacio Andreu <plunchete at gmail dot com> # (C) Copyright 2008 Néstor Salceda <nestor.salceda at gmail dot com> # # This file is part of "debug_mode_on". # # "debug_mode_on" is free soft...
[ [ 1, 0, 0.4717, 0.0189, 0, 0.66, 0, 437, 0, 1, 0, 0, 437, 0, 0 ], [ 3, 0, 0.7547, 0.5094, 0, 0.66, 1, 123, 0, 1, 0, 0, 94, 0, 16 ], [ 2, 1, 0.7736, 0.4717, 1, 0.48,...
[ "from handlers.BaseHandler import *", "class Search(BaseHandler):\n\n\tdef execute(self):\n\t\tq = self.get_param('q')\n\t\ttyp = self.get_param('t')\n\n\t\tif typ == 'articles':\n\t\t\tquery = model.Article.all().filter('draft', False).filter('deletion_date', None).search(q)", "\tdef execute(self):\n\t\tq = se...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.2018, 0.0092, 0, 0.66, 0, 722, 0, 1, 0, 0, 722, 0, 0 ], [ 1, 0, 0.211, 0.0092, 0, 0.66, 0.25, 123, 0, 1, 0, 0, 123, 0, 0 ], [ 1, 0, 0.2202, 0.0092, 0, 0.6...
[ "import model", "import PropertiesUtil", "import Constant", "from google.appengine.api import memcache", "class AppProperties (object):\n __instance = None\n __appDic = None\n __env = None\n\n def __new__(cls, *args, **kargs): \n if cls.__instance is None:\n cls.__instance = ob...
""" Copyright (c) 2008, appengine-utilities project All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and ...
[ [ 8, 0, 0.028, 0.0539, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.0602, 0.0021, 0, 0.66, 0.0455, 688, 0, 1, 0, 0, 688, 0, 0 ], [ 1, 0, 0.0622, 0.0021, 0, 0.66,...
[ "\"\"\"\nCopyright (c) 2008, appengine-utilities project\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n- Redistributions of source code must retain the above copyright notice, this\n list of ...
""" Copyright (c) 2008, appengine-utilities project All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and ...
[ [ 8, 0, 0.1776, 0.3421, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.3553, 0.0132, 0, 0.66, 0.25, 593, 0, 1, 0, 0, 593, 0, 0 ], [ 3, 0, 0.6711, 0.5658, 0, 0.66, ...
[ "\"\"\"\nCopyright (c) 2008, appengine-utilities project\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n- Redistributions of source code must retain the above copyright notice, this\n list of ...
""" Copyright (c) 2008, appengine-utilities project All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and ...
[ [ 8, 0, 0.1392, 0.268, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.2887, 0.0103, 0, 0.66, 0.2, 688, 0, 1, 0, 0, 688, 0, 0 ], [ 1, 0, 0.299, 0.0103, 0, 0.66, ...
[ "\"\"\"\nCopyright (c) 2008, appengine-utilities project\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n- Redistributions of source code must retain the above copyright notice, this\n list of ...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 2, 0, 0.7973, 0.4324, 0, 0.66, 0, 366, 0, 1, 1, 0, 0, 0, 11 ], [ 14, 1, 0.6216, 0.027, 1, 0.73, 0, 496, 3, 2, 0, 0, 107, 10, 1 ], [ 14, 1, 0.6486, 0.027, 1, 0.73,...
[ "def loadProperties(fileName):\n propFile = file(fileName, \"rU\" )\n propDict = dict()\n for propLine in propFile:\n propDef = propLine.strip()\n if len(propDef) == 0:\n continue\n if propDef[0] in ( '!', '#' ):", " propFile = file(fileName, \"rU\" )", " propDict ...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 14, 0, 0.8571, 0.0357, 0, 0.66, 0, 335, 1, 0, 0, 0, 0, 3, 0 ], [ 14, 0, 0.8929, 0.0357, 0, 0.66, 0.25, 884, 1, 0, 0, 0, 0, 3, 0 ], [ 14, 0, 0.9286, 0.0357, 0, 0.6...
[ "DEFAULT_LOCALE = \"en\"", "locale = \"locale\"", "appName = \"app_name\"", "appSubject = \"app_subject\"", "domain = \"domain\"" ]
""" Copyright (c) 2008, appengine-utilities project All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and ...
[ [ 8, 0, 0.0523, 0.1008, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.1124, 0.0039, 0, 0.66, 0.0909, 426, 0, 1, 0, 0, 426, 0, 0 ], [ 1, 0, 0.1163, 0.0039, 0, 0.66...
[ "\"\"\"\nCopyright (c) 2008, appengine-utilities project\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n- Redistributions of source code must retain the above copyright notice, this\n list of ...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Aff...
[ [ 1, 0, 0.0614, 0.0026, 0, 0.66, 0, 167, 0, 1, 0, 0, 167, 0, 0 ], [ 1, 0, 0.0639, 0.0026, 0, 0.66, 0.037, 279, 0, 1, 0, 0, 279, 0, 0 ], [ 1, 0, 0.0665, 0.0026, 0, 0...
[ "from google.appengine.ext import db", "from google.appengine.api import users", "from google.appengine.ext import search", "class UserData(search.SearchableModel):\n\tnickname = db.StringProperty(required=True)\n\tpersonal_message = db.StringProperty()\n\temail = db.StringProperty(required=True)\n\tavatar = ...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.142, 0.0062, 0, 0.66, 0, 294, 0, 1, 0, 0, 294, 0, 0 ], [ 1, 0, 0.1481, 0.0062, 0, 0.66, 0.0667, 167, 0, 1, 0, 0, 167, 0, 0 ], [ 1, 0, 0.1605, 0.0062, 0, 0...
[ "from django import template", "from google.appengine.ext import webapp", "from utilities.AppProperties import AppProperties", "register = webapp.template.create_template_register()", "import datetime", "def relativize(value):\n\tnow = datetime.datetime.now()\n\tdiff = now - value\n\tdays = diff.days\n\ts...
""" Implementation of JSONEncoder """ import re try: from simplejson import _speedups except ImportError: _speedups = None ESCAPE = re.compile(r'[\x00-\x1f\\"\b\f\n\r\t]') ESCAPE_ASCII = re.compile(r'([\\"/]|[^\ -~])') ESCAPE_DCT = { '\\': '\\\\', '"': '\\"', '\b': '\\b', '\f': '...
[ [ 8, 0, 0.0053, 0.008, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.0106, 0.0027, 0, 0.66, 0.0714, 540, 0, 1, 0, 0, 540, 0, 0 ], [ 7, 0, 0.0173, 0.0106, 0, 0.66,...
[ "\"\"\"\nImplementation of JSONEncoder\n\"\"\"", "import re", "try:\n from simplejson import _speedups\nexcept ImportError:\n _speedups = None", " from simplejson import _speedups", " _speedups = None", "ESCAPE = re.compile(r'[\\x00-\\x1f\\\\\"\\b\\f\\n\\r\\t]')", "ESCAPE_ASCII = re.compile(...
import simplejson import cgi class JSONFilter(object): def __init__(self, app, mime_type='text/x-json'): self.app = app self.mime_type = mime_type def __call__(self, environ, start_response): # Read JSON POST input to jsonfilter.json if matching mime type response = {...
[ [ 1, 0, 0.025, 0.025, 0, 0.66, 0, 386, 0, 1, 0, 0, 386, 0, 0 ], [ 1, 0, 0.05, 0.025, 0, 0.66, 0.3333, 934, 0, 1, 0, 0, 934, 0, 0 ], [ 3, 0, 0.5125, 0.85, 0, 0.66, ...
[ "import simplejson", "import cgi", "class JSONFilter(object):\n def __init__(self, app, mime_type='text/x-json'):\n self.app = app\n self.mime_type = mime_type\n\n def __call__(self, environ, start_response):\n # Read JSON POST input to jsonfilter.json if matching mime type\n r...
""" Implementation of JSONDecoder """ import re import sys from simplejson.scanner import Scanner, pattern try: from simplejson import _speedups except: _speedups = None FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL def _floatconstants(): import struct import sys _BYTES = '7FF800...
[ [ 8, 0, 0.006, 0.0091, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.0121, 0.003, 0, 0.66, 0.0333, 540, 0, 1, 0, 0, 540, 0, 0 ], [ 1, 0, 0.0151, 0.003, 0, 0.66, ...
[ "\"\"\"\nImplementation of JSONDecoder\n\"\"\"", "import re", "import sys", "from simplejson.scanner import Scanner, pattern", "try:\n from simplejson import _speedups\nexcept:\n _speedups = None", " from simplejson import _speedups", " _speedups = None", "FLAGS = re.VERBOSE | re.MULTILINE...
""" Iterator based sre token scanner """ import sre_parse, sre_compile, sre_constants from sre_constants import BRANCH, SUBPATTERN from re import VERBOSE, MULTILINE, DOTALL import re __all__ = ['Scanner', 'pattern'] FLAGS = (VERBOSE | MULTILINE | DOTALL) class Scanner(object): def __init__(self, lexic...
[ [ 8, 0, 0.0312, 0.0469, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.0625, 0.0156, 0, 0.66, 0.125, 22, 0, 3, 0, 0, 22, 0, 0 ], [ 1, 0, 0.0781, 0.0156, 0, 0.66, ...
[ "\"\"\"\nIterator based sre token scanner\n\"\"\"", "import sre_parse, sre_compile, sre_constants", "from sre_constants import BRANCH, SUBPATTERN", "from re import VERBOSE, MULTILINE, DOTALL", "import re", "__all__ = ['Scanner', 'pattern']", "FLAGS = (VERBOSE | MULTILINE | DOTALL)", "class Scanner(obj...
#!/usr/bin/env python import struct from StringIO import StringIO from google.appengine.api import images def resize(image, maxwidth, maxheight): imageinfo = getimageinfo(image) width = float(imageinfo[1]) height = float(imageinfo[2]) ratio = width / height dwidth = maxheight * ratio dheight = ma...
[ [ 1, 0, 0.026, 0.013, 0, 0.66, 0, 399, 0, 1, 0, 0, 399, 0, 0 ], [ 1, 0, 0.039, 0.013, 0, 0.66, 0.25, 609, 0, 1, 0, 0, 609, 0, 0 ], [ 1, 0, 0.0649, 0.013, 0, 0.66, ...
[ "import struct", "from StringIO import StringIO", "from google.appengine.api import images", "def resize(image, maxwidth, maxheight):\n\timageinfo = getimageinfo(image)\n\twidth = float(imageinfo[1])\n\theight = float(imageinfo[2])\n\tratio = width / height\n\t\n\tdwidth = maxheight * ratio\n\tdheight = maxhe...
# -*- coding: utf-8 -*- """ jinja2.runtime ~~~~~~~~~~~~~~ Runtime helpers. :copyright: (c) 2010 by the Jinja Team. :license: BSD. """ import sys from itertools import chain, imap from jinja2.nodes import EvalContext, _context_function_types from jinja2.utils import Markup, partial, soft_unicode, e...
[ [ 8, 0, 0.011, 0.0165, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.0202, 0.0018, 0, 0.66, 0.0476, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 1, 0, 0.0221, 0.0018, 0, 0.66,...
[ "\"\"\"\n jinja2.runtime\n ~~~~~~~~~~~~~~\n\n Runtime helpers.\n\n :copyright: (c) 2010 by the Jinja Team.\n :license: BSD.", "import sys", "from itertools import chain, imap", "from jinja2.nodes import EvalContext, _context_function_types", "from jinja2.utils import Markup, partial, soft_uni...
# -*- coding: utf-8 -*- """ jinja2.bccache ~~~~~~~~~~~~~~ This module implements the bytecode cache system Jinja is optionally using. This is useful if you have very complex template situations and the compiliation of all those templates slow down your application too much. Situations whe...
[ [ 8, 0, 0.0321, 0.0536, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.0607, 0.0036, 0, 0.66, 0.0714, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.0643, 0.0036, 0, 0.66...
[ "\"\"\"\n jinja2.bccache\n ~~~~~~~~~~~~~~\n\n This module implements the bytecode cache system Jinja is optionally\n using. This is useful if you have very complex template situations and\n the compiliation of all those templates slow down your application too\n much.", "from os import path, li...
# -*- coding: utf-8 -*- """ jinja2.compiler ~~~~~~~~~~~~~~~ Compiles nodes into python code. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. """ from cStringIO import StringIO from itertools import chain from copy import deepcopy from jinja2 import nodes from j...
[ [ 8, 0, 0.0037, 0.0055, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.0067, 0.0006, 0, 0.66, 0.0417, 764, 0, 1, 0, 0, 764, 0, 0 ], [ 1, 0, 0.0073, 0.0006, 0, 0.66...
[ "\"\"\"\n jinja2.compiler\n ~~~~~~~~~~~~~~~\n\n Compiles nodes into python code.\n\n :copyright: (c) 2010 by the Jinja Team.\n :license: BSD, see LICENSE for more details.", "from cStringIO import StringIO", "from itertools import chain", "from copy import deepcopy", "from jinja2 import nodes...
# -*- coding: utf-8 -*- """ jinja2.meta ~~~~~~~~~~~ This module implements various functions that exposes information about templates that might be interesting for various kinds of applications. :copyright: (c) 2010 by the Jinja Team, see AUTHORS for more details. :license: BSD, see LICENSE fo...
[ [ 8, 0, 0.0637, 0.098, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.1176, 0.0098, 0, 0.66, 0.2, 436, 0, 1, 0, 0, 436, 0, 0 ], [ 1, 0, 0.1275, 0.0098, 0, 0.66, ...
[ "\"\"\"\n jinja2.meta\n ~~~~~~~~~~~\n\n This module implements various functions that exposes information about\n templates that might be interesting for various kinds of applications.\n\n :copyright: (c) 2010 by the Jinja Team, see AUTHORS for more details.", "from jinja2 import nodes", "from ji...
# -*- coding: utf-8 -*- """ jinja2.nodes ~~~~~~~~~~~~ This module implements additional nodes derived from the ast base node. It also provides some node tree helper functions like `in_lineno` and `get_nodes` used by the parser and translator in order to normalize python and jinja nodes. :...
[ [ 8, 0, 0.0089, 0.0144, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.0166, 0.0011, 0, 0.66, 0.0128, 616, 0, 1, 0, 0, 616, 0, 0 ], [ 1, 0, 0.0178, 0.0011, 0, 0.66...
[ "\"\"\"\n jinja2.nodes\n ~~~~~~~~~~~~\n\n This module implements additional nodes derived from the ast base node.\n\n It also provides some node tree helper functions like `in_lineno` and\n `get_nodes` used by the parser and translator in order to normalize", "import operator", "from itertools im...
# -*- coding: utf-8 -*- """ jinja2.tests ~~~~~~~~~~~~ Jinja test functions. Used with the "is" operator. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. """ import re from jinja2.runtime import Undefined # nose, nothing here to test __test__ = False number_r...
[ [ 8, 0, 0.0411, 0.0616, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.0753, 0.0068, 0, 0.66, 0.0476, 540, 0, 1, 0, 0, 540, 0, 0 ], [ 1, 0, 0.0822, 0.0068, 0, 0.66...
[ "\"\"\"\n jinja2.tests\n ~~~~~~~~~~~~\n\n Jinja test functions. Used with the \"is\" operator.\n\n :copyright: (c) 2010 by the Jinja Team.\n :license: BSD, see LICENSE for more details.", "import re", "from jinja2.runtime import Undefined", "__test__ = False", "number_re = re.compile(r'^-?\\d...
# -*- coding: utf-8 -*- """ jinja2.optimizer ~~~~~~~~~~~~~~~~ The jinja optimizer is currently trying to constant fold a few expressions and modify the AST in place so that it should be easier to evaluate it. Because the AST does not contain all the scoping information and the compiler has to ...
[ [ 8, 0, 0.1471, 0.25, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.2794, 0.0147, 0, 0.66, 0.25, 436, 0, 1, 0, 0, 436, 0, 0 ], [ 1, 0, 0.2941, 0.0147, 0, 0.66, ...
[ "\"\"\"\n jinja2.optimizer\n ~~~~~~~~~~~~~~~~\n\n The jinja optimizer is currently trying to constant fold a few expressions\n and modify the AST in place so that it should be easier to evaluate it.\n\n Because the AST does not contain all the scoping information and the", "from jinja2 import nodes...
# -*- coding: utf-8 -*- """ jinja.constants ~~~~~~~~~~~~~~~ Various constants. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. """ #: list of lorem ipsum words used by the lipsum() helper function LOREM_IPSUM_WORDS = u'''\ a ac accumsan ad adipiscing aenean a...
[ [ 8, 0, 0.1875, 0.2812, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.7188, 0.5938, 0, 0.66, 1, 350, 1, 0, 0, 0, 0, 3, 0 ] ]
[ "\"\"\"\n jinja.constants\n ~~~~~~~~~~~~~~~\n\n Various constants.\n\n :copyright: (c) 2010 by the Jinja Team.\n :license: BSD, see LICENSE for more details.", "LOREM_IPSUM_WORDS = u'''\\\na ac accumsan ad adipiscing aenean aliquam aliquet amet ante aptent arcu at\nauctor augue bibendum blandit cla...
# -*- coding: utf-8 -*- """ jinja2.sandbox ~~~~~~~~~~~~~~ Adds a sandbox layer to Jinja as it was the default behavior in the old Jinja 1 releases. This sandbox is slightly different from Jinja 1 as the default behavior is easier to use. The behavior can be changed by subclassing the environm...
[ [ 8, 0, 0.0295, 0.048, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.0554, 0.0037, 0, 0.66, 0.0417, 616, 0, 1, 0, 0, 616, 0, 0 ], [ 1, 0, 0.059, 0.0037, 0, 0.66, ...
[ "\"\"\"\n jinja2.sandbox\n ~~~~~~~~~~~~~~\n\n Adds a sandbox layer to Jinja as it was the default behavior in the old\n Jinja 1 releases. This sandbox is slightly different from Jinja 1 as the\n default behavior is easier to use.", "import operator", "from jinja2.runtime import Undefined", "fr...
import gc import unittest from jinja2._markupsafe import Markup, escape, escape_silent class MarkupTestCase(unittest.TestCase): def test_markup_operations(self): # adding two strings should escape the unsafe one unsafe = '<script type="application/x-some-script">alert("foo");</script>' sa...
[ [ 1, 0, 0.0125, 0.0125, 0, 0.66, 0, 92, 0, 1, 0, 0, 92, 0, 0 ], [ 1, 0, 0.025, 0.0125, 0, 0.66, 0.1667, 88, 0, 1, 0, 0, 88, 0, 0 ], [ 1, 0, 0.0375, 0.0125, 0, 0.66,...
[ "import gc", "import unittest", "from jinja2._markupsafe import Markup, escape, escape_silent", "class MarkupTestCase(unittest.TestCase):\n\n def test_markup_operations(self):\n # adding two strings should escape the unsafe one\n unsafe = '<script type=\"application/x-some-script\">alert(\"fo...
# -*- coding: utf-8 -*- """ markupsafe._constants ~~~~~~~~~~~~~~~~~~~~~ Highlevel implementation of the Markup string. :copyright: (c) 2010 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ HTML_ENTITIES = { 'AElig': 198, 'Aacute': 193, 'Acirc': 194, 'Agrave': 1...
[ [ 8, 0, 0.0225, 0.0337, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.5243, 0.9551, 0, 0.66, 1, 955, 0, 0, 0, 0, 0, 6, 0 ] ]
[ "\"\"\"\n markupsafe._constants\n ~~~~~~~~~~~~~~~~~~~~~\n\n Highlevel implementation of the Markup string.\n\n :copyright: (c) 2010 by Armin Ronacher.\n :license: BSD, see LICENSE for more details.", "HTML_ENTITIES = {\n 'AElig': 198,\n 'Aacute': 193,\n 'Acirc': 194,\n 'Agrave': 192,\n ...
# -*- coding: utf-8 -*- """ jinja2._markupsafe._bundle ~~~~~~~~~~~~~~~~~~~~~~~~~~ This script pulls in markupsafe from a source folder and bundles it with Jinja2. It does not pull in the speedups module though. :copyright: Copyright 2010 by the Jinja team, see AUTHORS. :license: BSD, see ...
[ [ 8, 0, 0.1429, 0.2245, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.2653, 0.0204, 0, 0.66, 0.1667, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 1, 0, 0.2857, 0.0204, 0, 0.66...
[ "\"\"\"\n jinja2._markupsafe._bundle\n ~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n This script pulls in markupsafe from a source folder and\n bundles it with Jinja2. It does not pull in the speedups\n module though.", "import sys", "import os", "import re", "def rewrite_imports(lines):\n for idx, line...
# -*- coding: utf-8 -*- """ markupsafe ~~~~~~~~~~ Implements a Markup string. :copyright: (c) 2010 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ import re from itertools import imap __all__ = ['Markup', 'soft_unicode', 'escape', 'escape_silent'] _striptags_re = re.compile...
[ [ 8, 0, 0.0267, 0.04, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.0489, 0.0044, 0, 0.66, 0.1111, 540, 0, 1, 0, 0, 540, 0, 0 ], [ 1, 0, 0.0533, 0.0044, 0, 0.66, ...
[ "\"\"\"\n markupsafe\n ~~~~~~~~~~\n\n Implements a Markup string.\n\n :copyright: (c) 2010 by Armin Ronacher.\n :license: BSD, see LICENSE for more details.", "import re", "from itertools import imap", "__all__ = ['Markup', 'soft_unicode', 'escape', 'escape_silent']", "_striptags_re = re.comp...
# -*- coding: utf-8 -*- """ markupsafe._native ~~~~~~~~~~~~~~~~~~ Native Python implementation the C module is not compiled. :copyright: (c) 2010 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ from jinja2._markupsafe import Markup def escape(s): """Convert the characters...
[ [ 8, 0, 0.1333, 0.2, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.2444, 0.0222, 0, 0.66, 0.25, 409, 0, 1, 0, 0, 409, 0, 0 ], [ 2, 0, 0.4556, 0.3111, 0, 0.66, ...
[ "\"\"\"\n markupsafe._native\n ~~~~~~~~~~~~~~~~~~\n\n Native Python implementation the C module is not compiled.\n\n :copyright: (c) 2010 by Armin Ronacher.\n :license: BSD, see LICENSE for more details.", "from jinja2._markupsafe import Markup", "def escape(s):\n \"\"\"Convert the characters ...
# -*- coding: utf-8 -*- """ jinja2.loaders ~~~~~~~~~~~~~~ Jinja loader classes. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. """ import os import sys import weakref from types import ModuleType from os import path try: from hashlib import sha1 except Imp...
[ [ 8, 0, 0.0134, 0.02, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.0245, 0.0022, 0, 0.66, 0.0556, 688, 0, 1, 0, 0, 688, 0, 0 ], [ 1, 0, 0.0267, 0.0022, 0, 0.66, ...
[ "\"\"\"\n jinja2.loaders\n ~~~~~~~~~~~~~~\n\n Jinja loader classes.\n\n :copyright: (c) 2010 by the Jinja Team.\n :license: BSD, see LICENSE for more details.", "import os", "import sys", "import weakref", "from types import ModuleType", "from os import path", "try:\n from hashlib impo...
# -*- coding: utf-8 -*- """ jinja2.exceptions ~~~~~~~~~~~~~~~~~ Jinja exceptions. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. """ class TemplateError(Exception): """Baseclass for all template errors.""" def __init__(self, message=None): i...
[ [ 8, 0, 0.042, 0.0629, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 3, 0, 0.1364, 0.0979, 0, 0.66, 0.1111, 179, 0, 2, 0, 0, 645, 0, 4 ], [ 8, 1, 0.0979, 0.007, 1, 0.6, ...
[ "\"\"\"\n jinja2.exceptions\n ~~~~~~~~~~~~~~~~~\n\n Jinja exceptions.\n\n :copyright: (c) 2010 by the Jinja Team.\n :license: BSD, see LICENSE for more details.", "class TemplateError(Exception):\n \"\"\"Baseclass for all template errors.\"\"\"\n\n def __init__(self, message=None):\n i...
# -*- coding: utf-8 -*- """ jinja2 ~~~~~~ Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment. Nutshell -------- Here a small example of a Jinja2 template:: {% ...
[ [ 8, 0, 0.2055, 0.3699, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.3973, 0.0137, 0, 0.66, 0.1, 959, 1, 0, 0, 0, 0, 3, 0 ], [ 7, 0, 0.4384, 0.0685, 0, 0.66, ...
[ "\"\"\"\n jinja2\n ~~~~~~\n\n Jinja2 is a template engine written in pure Python. It provides a\n Django inspired non-XML syntax but supports inline expressions and\n an optional sandboxed environment.", "__docformat__ = 'restructuredtext en'", "try:\n __version__ = __import__('pkg_resources'...
# -*- coding: utf-8 -*- """ jinja2.filters ~~~~~~~~~~~~~~ Bundled jinja filters. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. """ import re import math from random import choice from operator import itemgetter from itertools import imap, groupby from jinja2....
[ [ 8, 0, 0.0084, 0.0126, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.0153, 0.0014, 0, 0.66, 0.02, 540, 0, 1, 0, 0, 540, 0, 0 ], [ 1, 0, 0.0167, 0.0014, 0, 0.66, ...
[ "\"\"\"\n jinja2.filters\n ~~~~~~~~~~~~~~\n\n Bundled jinja filters.\n\n :copyright: (c) 2010 by the Jinja Team.\n :license: BSD, see LICENSE for more details.", "import re", "import math", "from random import choice", "from operator import itemgetter", "from itertools import imap, groupby"...
# -*- coding: utf-8 -*- """ jinja2.defaults ~~~~~~~~~~~~~~~ Jinja default filters and tags. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. """ from jinja2.utils import generate_lorem_ipsum, Cycler, Joiner from gettext import gettext as _ ##ADDD # defaults for...
[ [ 8, 0, 0.1463, 0.2195, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.2683, 0.0244, 0, 0.66, 0.0625, 677, 0, 3, 0, 0, 677, 0, 0 ], [ 1, 0, 0.2927, 0.0244, 0, 0.66...
[ "\"\"\"\n jinja2.defaults\n ~~~~~~~~~~~~~~~\n\n Jinja default filters and tags.\n\n :copyright: (c) 2010 by the Jinja Team.\n :license: BSD, see LICENSE for more details.", "from jinja2.utils import generate_lorem_ipsum, Cycler, Joiner", "from gettext import gettext as _ ##ADDD", "BLOCK_START_S...
# -*- coding: utf-8 -*- """ jinja2._stringdefs ~~~~~~~~~~~~~~~~~~ Strings of all Unicode characters of a certain category. Used for matching in Unicode-aware languages. Run to regenerate. Inspired by chartypes_create.py from the MoinMoin project, original implementation from Pygments. :co...
[ [ 8, 0, 0.0615, 0.1, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.1231, 0.0077, 0, 0.66, 0.0278, 924, 1, 0, 0, 0, 0, 3, 0 ], [ 14, 0, 0.1385, 0.0077, 0, 0.66, ...
[ "\"\"\"\n jinja2._stringdefs\n ~~~~~~~~~~~~~~~~~~\n\n Strings of all Unicode characters of a certain category.\n Used for matching in Unicode-aware languages. Run to regenerate.\n\n Inspired by chartypes_create.py from the MoinMoin project, original", "Cc = u'\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x0...
# -*- coding: utf-8 -*- """ jinja2.parser ~~~~~~~~~~~~~ Implements the template parser. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. """ from jinja2 import nodes from jinja2.exceptions import TemplateSyntaxError, TemplateAssertionError from jinja2.utils impo...
[ [ 8, 0, 0.0067, 0.01, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.0123, 0.0011, 0, 0.66, 0.1429, 436, 0, 1, 0, 0, 436, 0, 0 ], [ 1, 0, 0.0134, 0.0011, 0, 0.66, ...
[ "\"\"\"\n jinja2.parser\n ~~~~~~~~~~~~~\n\n Implements the template parser.\n\n :copyright: (c) 2010 by the Jinja Team.\n :license: BSD, see LICENSE for more details.", "from jinja2 import nodes", "from jinja2.exceptions import TemplateSyntaxError, TemplateAssertionError", "from jinja2.utils im...
# -*- coding: utf-8 -*- """ jinja2.visitor ~~~~~~~~~~~~~~ This module implements a visitor for the nodes. :copyright: (c) 2010 by the Jinja Team. :license: BSD. """ from jinja2.nodes import Node class NodeVisitor(object): """Walks the abstract syntax tree and call visitor functions for every...
[ [ 8, 0, 0.069, 0.1034, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.1264, 0.0115, 0, 0.66, 0.3333, 990, 0, 1, 0, 0, 990, 0, 0 ], [ 3, 0, 0.3333, 0.3563, 0, 0.66,...
[ "\"\"\"\n jinja2.visitor\n ~~~~~~~~~~~~~~\n\n This module implements a visitor for the nodes.\n\n :copyright: (c) 2010 by the Jinja Team.\n :license: BSD.", "from jinja2.nodes import Node", "class NodeVisitor(object):\n \"\"\"Walks the abstract syntax tree and call visitor functions for every\...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software ...
[ [ 1, 0, 0.4694, 0.0204, 0, 0.66, 0, 709, 0, 1, 0, 0, 709, 0, 0 ], [ 1, 0, 0.5102, 0.0204, 0, 0.66, 0.1429, 688, 0, 1, 0, 0, 688, 0, 0 ], [ 1, 0, 0.5306, 0.0204, 0, ...
[ "import wsgiref.handlers", "import os", "from handlers import *", "from google.appengine.ext import webapp", "from google.appengine.ext.webapp import template", "class NotAvailable(webapp.RequestHandler):\n\n\tdef get(self):\n\t\tself.response.clear()\n\t\tself.response.set_status(501)\n\t\tself.response....
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com> # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Gener...
[ [ 1, 0, 0.1667, 0.0069, 0, 0.66, 0, 709, 0, 1, 0, 0, 709, 0, 0 ], [ 1, 0, 0.1806, 0.0069, 0, 0.66, 0.1429, 183, 0, 1, 0, 0, 183, 0, 0 ], [ 1, 0, 0.1875, 0.0069, 0, ...
[ "import wsgiref.handlers", "from handlers import *", "from handlers import Updater", "from google.appengine.ext import webapp", "from google.appengine.ext.webapp import template", "webapp.template.register_template_library('templatefilters')", "def main():\n\t\n\t\n\tUpdater.update()\n\n\tapplication = ...
import urllib from google.appengine.api import urlfetch """ Adapted from http://pypi.python.org/pypi/recaptcha-client to use with Google App Engine by Joscha Feth <joscha@feth.com> Version 0.1 """ API_SSL_SERVER ="https://api-secure.recaptcha.net" API_SERVER ="http://api.recaptcha.net" VERIFY_SE...
[ [ 1, 0, 0.0094, 0.0094, 0, 0.66, 0, 614, 0, 1, 0, 0, 614, 0, 0 ], [ 1, 0, 0.0189, 0.0094, 0, 0.66, 0.125, 279, 0, 1, 0, 0, 279, 0, 0 ], [ 8, 0, 0.0613, 0.0566, 0, 0...
[ "import urllib", "from google.appengine.api import urlfetch", "\"\"\"\n Adapted from http://pypi.python.org/pypi/recaptcha-client\n to use with Google App Engine\n by Joscha Feth <joscha@feth.com>\n Version 0.1\n\"\"\"", "API_SSL_SERVER =\"https://api-secure.recaptcha.net\"", "API_SERVER =...
#!/usr/bin/env python version = "1.7" version_info = (1,7,0,"rc-2") __revision__ = "$Rev: 72 $" """ Python-Markdown =============== Converts Markdown to HTML. Basic usage as a module: import markdown md = Markdown() html = md.convert(your_text_string) See http://www.freewisdom.org/projects/python-mark...
[ [ 14, 0, 0.0016, 0.0005, 0, 0.66, 0, 623, 1, 0, 0, 0, 0, 3, 0 ], [ 14, 0, 0.0021, 0.0005, 0, 0.66, 0.0079, 342, 0, 0, 0, 0, 0, 8, 0 ], [ 14, 0, 0.0026, 0.0005, 0, 0...
[ "version = \"1.7\"", "version_info = (1,7,0,\"rc-2\")", "__revision__ = \"$Rev: 72 $\"", "\"\"\"\nPython-Markdown\n===============\n\nConverts Markdown to HTML. Basic usage as a module:\n\n import markdown\n md = Markdown()", "import re, sys, codecs", "from logging import getLogger, StreamHandler, ...
#!/usr/bin/env python from Tkinter import * import sys import math class colors: HEADER = '\033[95m' OKBLUE = '\033[94m' OKGREEN = '\033[92m' WARNING = '\033[93m' FAIL = '\033[91m' ENDC = '\033[0m' def drawAxeY(min, max, height, width, w): i = 0 ecart = (height - 40) / (max - min) y = height - 40 ...
[ [ 1, 0, 0.0227, 0.0076, 0, 0.66, 0, 368, 0, 1, 0, 0, 368, 0, 0 ], [ 1, 0, 0.0303, 0.0076, 0, 0.66, 0.0588, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 1, 0, 0.0379, 0.0076, 0, ...
[ "from Tkinter import *", "import sys", "import math", "class colors:\n HEADER = '\\033[95m'\n OKBLUE = '\\033[94m'\n OKGREEN = '\\033[92m'\n WARNING = '\\033[93m'\n FAIL = '\\033[91m'\n ENDC = '\\033[0m'", " HEADER = '\\033[95m'", " OKBLUE = '\\033[94m'", " OKGREEN = '\\033[92m'", " WARNING ...
#!/usr/bin/env python from Tkinter import * import sys import math class colors: HEADER = '\033[95m' OKBLUE = '\033[94m' OKGREEN = '\033[92m' WARNING = '\033[93m' FAIL = '\033[91m' ENDC = '\033[0m' def drawAxeY(min, max, height, width, w): i = 0 ecart = (height - 40) / (max - min) y = height - 40 ...
[ [ 1, 0, 0.0227, 0.0076, 0, 0.66, 0, 368, 0, 1, 0, 0, 368, 0, 0 ], [ 1, 0, 0.0303, 0.0076, 0, 0.66, 0.0588, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 1, 0, 0.0379, 0.0076, 0, ...
[ "from Tkinter import *", "import sys", "import math", "class colors:\n HEADER = '\\033[95m'\n OKBLUE = '\\033[94m'\n OKGREEN = '\\033[92m'\n WARNING = '\\033[93m'\n FAIL = '\\033[91m'\n ENDC = '\\033[0m'", " HEADER = '\\033[95m'", " OKBLUE = '\\033[94m'", " OKGREEN = '\\033[92m'", " WARNING ...
#!/usr/bin/python import os from urllib import urlopen from bs4 import BeautifulSoup output_dir = os.path.abspath('../assets/help') assert os.path.exists(output_dir) files_list_images = [] files_list_html = [ 'Manual', 'FAQ', 'StylusSupport', 'SupportedDevices', 'Permissions' ] def download_r...
[ [ 1, 0, 0.0563, 0.0141, 0, 0.66, 0, 688, 0, 1, 0, 0, 688, 0, 0 ], [ 1, 0, 0.0704, 0.0141, 0, 0.66, 0.125, 614, 0, 1, 0, 0, 614, 0, 0 ], [ 1, 0, 0.0845, 0.0141, 0, 0...
[ "import os", "from urllib import urlopen", "from bs4 import BeautifulSoup", "output_dir = os.path.abspath('../assets/help')", "files_list_images = []", "files_list_html = [\n 'Manual',\n 'FAQ',\n 'StylusSupport',\n 'SupportedDevices',\n 'Permissions' ]", "def download_raw(url):\n data ...
### ## * << Haru Free PDF Library 2.0.8 >> -- hpdf_consts.h ## * ## * URL http://libharu.org/ ## * ## * Copyright (c) 1999-2006 Takeshi Kanno ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that...
[ [ 1, 0, 0.0367, 0.0018, 0, 0.66, 0, 722, 0, 1, 0, 0, 722, 0, 0 ], [ 14, 0, 0.044, 0.0018, 0, 0.66, 0.0021, 636, 1, 0, 0, 0, 0, 1, 0 ], [ 14, 0, 0.0459, 0.0018, 0, 0...
[ "from hpdf_types import *", "HPDF_TRUE =1", "HPDF_FALSE =0", "HPDF_OK =0", "HPDF_NOERROR =0", "HPDF_TMP_BUF_SIZ =512", "HPDF_SHORT_BUF_SIZ =32", "HPDF_REAL_LEN =11", "HPDF_INT_LEN =11", "...
### ## * << Haru Free PDF Library 2.0.3 >> -- hpdf_types.h ## * ## * URL http://libharu.org/ ## * ## * Copyright (c) 1999-2006 Takeshi Kanno ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that ...
[ [ 1, 0, 0.0344, 0.0018, 0, 0.66, 0, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.0471, 0.0018, 0, 0.66, 0.0043, 89, 2, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0489, 0.0018, 0, 0...
[ "from ctypes import *", "HPDF_INT=c_int", "HPDF_UINT=c_uint", "HPDF_INT32=c_int", "HPDF_UINT32=c_uint", "HPDF_INT16=c_short", "HPDF_UINT16=c_ushort", "HPDF_INT8=c_char", "HPDF_UINT8=c_ubyte", "HPDF_BYTE=c_ubyte", "HPDF_REAL=c_float", "HPDF_DOUBLE=c_double", "HPDF_BOOL=c_int", "HPDF_STATUS=...
error_detail={ 0x1001: 'Internal error. The consistency of the data was lost.', 0x1002: 'Internal error. The consistency of the data was lost.', 0x1003: 'Internal error. The consistency of the data was lost.', 0x1004: 'The length of the data exceeds HPDF_LIMIT_MAX_STRING_LEN.', 0x1005: 'Cannot get a pallet dat...
[ [ 14, 0, 0.503, 1, 0, 0.66, 0, 978, 0, 0, 0, 0, 0, 6, 0 ] ]
[ "error_detail={\n0x1001: 'Internal error. The consistency of the data was lost.',\n\n0x1002: 'Internal error. The consistency of the data was lost.',\n0x1003: 'Internal error. The consistency of the data was lost.',\n0x1004: 'The length of the data exceeds HPDF_LIMIT_MAX_STRING_LEN.',\n\n0x1005: 'Cannot get a palle...
def printf(format, *optional): #print 'format="%s"' % format #print 'optional="%s"' % optional if len(optional)==1: optional=optional[0] if format.endswith('\n'): format=format[:-1] print format % optional
[ [ 2, 0, 0.5625, 1, 0, 0.66, 0, 71, 0, 2, 0, 0, 0, 0, 3 ], [ 4, 1, 0.5625, 0.25, 1, 0.24, 0, 0, 0, 0, 0, 0, 0, 0, 1 ], [ 14, 2, 0.625, 0.125, 2, 0.15, 0, 61,...
[ "def printf(format, *optional):\n #print 'format=\"%s\"' % format\n #print 'optional=\"%s\"' % optional\n if len(optional)==1:\n optional=optional[0]\n if format.endswith('\\n'):\n format=format[:-1]\n print(format % optional)", " if len(optional)==1:\n optional=optional[0]"...
## ## * << Haru Free PDF Library 2.0.8 >> -- hpdf.h ## * ## * URL http://libharu.org/ ## * ## * Copyright (c) 1999-2006 Takeshi Kanno ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the abo...
[ [ 1, 0, 0.009, 0.0005, 0, 0.66, 0, 688, 0, 1, 0, 0, 688, 0, 0 ], [ 1, 0, 0.0095, 0.0005, 0, 0.66, 0.0021, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 1, 0, 0.0105, 0.0005, 0, 0...
[ "import os", "import sys", "import types", "def setpath():\n dllpath='%s/dll' %(os.path.dirname(os.path.realpath(__file__)))\n if 'PATH' in os.environ:\n if dllpath not in os.environ['PATH']:\n os.environ['PATH']='%s;%s' % (dllpath, os.environ['PATH'])\n else:\n os.environ['P...
### ## * << Haru Free PDF Library 2.0.0 >> -- png_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the ab...
[ [ 1, 0, 0.1259, 0.007, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.1399, 0.007, 0, 0.66, 0.0909, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.1469, 0.007, 0, 0....
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- permission.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the ...
[ [ 1, 0, 0.2093, 0.0116, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.2326, 0.0116, 0, 0.66, 0.0769, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.2442, 0.0116, 0, ...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- grid_sheet.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the ...
[ [ 1, 0, 0.0984, 0.0055, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.1093, 0.0055, 0, 0.66, 0.0833, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.1148, 0.0055, 0, ...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- ttfont_demo_jp.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that ...
[ [ 1, 0, 0.1139, 0.0063, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.1266, 0.0063, 0, 0.66, 0.1, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.1329, 0.0063, 0, 0....
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
#coding=ISO8859-2 ### ## * << Haru Free PDF Library 2.0.0 >> -- outline_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ...
[ [ 1, 0, 0.1575, 0.0079, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.1732, 0.0079, 0, 0.66, 0.0909, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.1811, 0.0079, 0, ...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- jpfont_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the...
[ [ 1, 0, 0.1011, 0.0056, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.1124, 0.0056, 0, 0.66, 0.1, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.118, 0.0056, 0, 0.6...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- encryption.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the ...
[ [ 1, 0, 0.2118, 0.0118, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.2353, 0.0118, 0, 0.66, 0.0769, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.2471, 0.0118, 0, ...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- ext_gstate_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that...
[ [ 1, 0, 0.0865, 0.0048, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.0962, 0.0048, 0, 0.66, 0.0909, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.101, 0.0048, 0, ...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- raw_image_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that ...
[ [ 1, 0, 0.1395, 0.0078, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.155, 0.0078, 0, 0.66, 0.0909, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.1628, 0.0078, 0, ...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- jpeg_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the a...
[ [ 1, 0, 0.1622, 0.009, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.1802, 0.009, 0, 0.66, 0.0909, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.1892, 0.009, 0, 0....
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- outline_demo_jp.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that...
[ [ 1, 0, 0.1268, 0.007, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.1408, 0.007, 0, 0.66, 0.0833, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.1479, 0.007, 0, 0....
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- text_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the a...
[ [ 1, 0, 0.0503, 0.0028, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.0559, 0.0028, 0, 0.66, 0.0714, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.0587, 0.0028, 0, ...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- font_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the a...
[ [ 1, 0, 0.1295, 0.0072, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.1439, 0.0072, 0, 0.66, 0.0909, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.1511, 0.0072, 0, ...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- encoding_list.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that t...
[ [ 1, 0, 0.0874, 0.0049, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.0971, 0.0049, 0, 0.66, 0.0588, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.1019, 0.0049, 0, ...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- ttfont_demo_jp.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that ...
[ [ 1, 0, 0.1125, 0.0063, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.125, 0.0063, 0, 0.66, 0.1, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.1313, 0.0063, 0, 0.6...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- chfont_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the...
[ [ 1, 0, 0.1452, 0.0081, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.1613, 0.0081, 0, 0.66, 0.0909, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.1694, 0.0081, 0, ...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- jpfont_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the...
[ [ 1, 0, 0.1, 0.0056, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.1111, 0.0056, 0, 0.66, 0.1, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.1167, 0.0056, 0, 0.66,...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- image_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the ...
[ [ 1, 0, 0.0804, 0.0045, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.0893, 0.0045, 0, 0.66, 0.0833, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.0938, 0.0045, 0, ...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.6 >> -- slideshow_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that ...
[ [ 1, 0, 0.0947, 0.0053, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.1053, 0.0053, 0, 0.66, 0.0833, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.1105, 0.0053, 0, ...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
#coding=utf-8 ### ## * << Haru Free PDF Library 2.0.0 >> -- text_annotation.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ##...
[ [ 1, 0, 0.1084, 0.006, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.1205, 0.006, 0, 0.66, 0.1, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.1265, 0.006, 0, 0.66,...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- character_map.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that t...
[ [ 1, 0, 0.083, 0.0038, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.0906, 0.0038, 0, 0.66, 0.0909, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.0943, 0.0038, 0, ...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- line_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the a...
[ [ 1, 0, 0.052, 0.0029, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.0578, 0.0029, 0, 0.66, 0.0769, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.0607, 0.0029, 0, ...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- ttfont_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the...
[ [ 1, 0, 0.1295, 0.0072, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.1439, 0.0072, 0, 0.66, 0.1, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.1511, 0.0072, 0, 0....
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- arc_demo.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the ab...
[ [ 1, 0, 0.1463, 0.0081, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.1626, 0.0081, 0, 0.66, 0.0909, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.1707, 0.0081, 0, ...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- make_rawimage.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that t...
[ [ 1, 0, 0.2118, 0.0118, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.2353, 0.0118, 0, 0.66, 0.1, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.2471, 0.0118, 0, 0....
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Alternative PDF Library 1.0.0 >> -- text_demo2.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that th...
[ [ 1, 0, 0.0664, 0.0037, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.0738, 0.0037, 0, 0.66, 0.0769, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.0775, 0.0037, 0, ...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
### ## * << Haru Free PDF Library 2.0.0 >> -- link_annotation.c ## * ## * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that...
[ [ 1, 0, 0.0706, 0.0039, 0, 0.66, 0, 688, 0, 2, 0, 0, 688, 0, 0 ], [ 1, 0, 0.0784, 0.0039, 0, 0.66, 0.0909, 182, 0, 1, 0, 0, 182, 0, 0 ], [ 14, 0, 0.0824, 0.0039, 0, ...
[ "import os, sys", "from ctypes import *", "up=2", "def setlibpath(up):\n import sys\n path=os.path.normpath(os.path.split(os.path.realpath(__file__))[0]+'\\..'*up)\n if path not in sys.path:\n sys.path.append(path)", " import sys", " path=os.path.normpath(os.path.split(os.path.realpa...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com> # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Gener...
[ [ 1, 0, 0.1667, 0.0069, 0, 0.66, 0, 709, 0, 1, 0, 0, 709, 0, 0 ], [ 1, 0, 0.1806, 0.0069, 0, 0.66, 0.1429, 183, 0, 1, 0, 0, 183, 0, 0 ], [ 1, 0, 0.1875, 0.0069, 0, ...
[ "import wsgiref.handlers", "from handlers import *", "from handlers import Updater", "from google.appengine.ext import webapp", "from google.appengine.ext.webapp import template", "webapp.template.register_template_library('templatefilters')", "def main():\n\t\n\t\n\tUpdater.update()\n\n\tapplication = ...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
[ [ 1, 0, 0.142, 0.0062, 0, 0.66, 0, 294, 0, 1, 0, 0, 294, 0, 0 ], [ 1, 0, 0.1481, 0.0062, 0, 0.66, 0.0667, 167, 0, 1, 0, 0, 167, 0, 0 ], [ 1, 0, 0.1605, 0.0062, 0, 0...
[ "from django import template", "from google.appengine.ext import webapp", "from utilities.AppProperties import AppProperties", "register = webapp.template.create_template_register()", "import datetime", "def relativize(value):\n\tnow = datetime.datetime.now()\n\tdiff = now - value\n\tdays = diff.days\n\ts...
import urllib from google.appengine.api import urlfetch """ Adapted from http://pypi.python.org/pypi/recaptcha-client to use with Google App Engine by Joscha Feth <joscha@feth.com> Version 0.1 """ API_SSL_SERVER ="https://api-secure.recaptcha.net" API_SERVER ="http://api.recaptcha.net" VERIFY_SE...
[ [ 1, 0, 0.0094, 0.0094, 0, 0.66, 0, 614, 0, 1, 0, 0, 614, 0, 0 ], [ 1, 0, 0.0189, 0.0094, 0, 0.66, 0.125, 279, 0, 1, 0, 0, 279, 0, 0 ], [ 8, 0, 0.0613, 0.0566, 0, 0...
[ "import urllib", "from google.appengine.api import urlfetch", "\"\"\"\n Adapted from http://pypi.python.org/pypi/recaptcha-client\n to use with Google App Engine\n by Joscha Feth <joscha@feth.com>\n Version 0.1\n\"\"\"", "API_SSL_SERVER =\"https://api-secure.recaptcha.net\"", "API_SERVER =...
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com> # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Gener...
[ [ 1, 0, 0.25, 0.0109, 0, 0.66, 0, 688, 0, 1, 0, 0, 688, 0, 0 ], [ 1, 0, 0.2609, 0.0109, 0, 0.66, 0.2, 263, 0, 1, 0, 0, 263, 0, 0 ], [ 1, 0, 0.2717, 0.0109, 0, 0.66,...
[ "import os", "import sha", "import time", "import Cookie", "COOKIE_NAME = 'vikuit'", "class Session(object):\n\n\tdef __init__(self, seed):\n\t\tself.time = None\n\t\tself.user = None\n\t\tself.auth = None\n\t\tself.seed = seed", "\tdef __init__(self, seed):\n\t\tself.time = None\n\t\tself.user = ...
#!/usr/bin/python # -*- coding: utf-8 -*- # # (C) Copyright 2008 Ignacio Andreu <plunchete at gmail dot com> # # This file is part of "debug_mode_on". # # "debug_mode_on" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free S...
[ [ 1, 0, 0.6216, 0.027, 0, 0.66, 0, 386, 0, 1, 0, 0, 386, 0, 0 ], [ 1, 0, 0.6486, 0.027, 0, 0.66, 0.25, 722, 0, 1, 0, 0, 722, 0, 0 ], [ 1, 0, 0.7027, 0.027, 0, 0.66,...
[ "import simplejson", "import model", "from google.appengine.api import memcache", "from google.appengine.ext import webapp", "class BaseRest(webapp.RequestHandler):\n\t\n\tdef render_json(self, data):\n\t\tself.response.headers['Content-Type'] = 'application/json;charset=UTF-8'\n\t\tself.response.headers['P...