code stringlengths 1 1.72M | language stringclasses 1
value |
|---|---|
#!/usr/bin/env python
import os
import optparse
import subprocess
import sys
here = os.path.dirname(__file__)
def main():
usage = "usage: %prog [file1..fileN]"
description = """With no file paths given this script will automatically
compress all jQuery-based files of the admin app. Requires the Google Closure... | Python |
from django.db import models
from django.conf import settings
class Language(models.Model):
culture = models.CharField(max_length = 5)
name = models.CharField(max_length = 30)
image = models.ImageField(upload_to = 'core/language')
default = models.BooleanField(default = False)
active = mo... | Python |
"""
This file demonstrates two different styles of tests (one doctest and one
unittest). These will both pass when you run "manage.py test".
Replace these with more appropriate tests for your application.
"""
from django.test import TestCase
class SimpleTest(TestCase):
def test_basic_addition(self):
"""
... | Python |
# Create your views here.
| Python |
from core.language.models import Language
from django.contrib import admin
from functions.admin import AdminFunctions
class LanguageAdmin(admin.ModelAdmin, AdminFunctions):
list_display = ('name', 'culture', 'list_image', 'default', 'active', 'actions_button')
ordering = ('-name',)
search_fields = ('name',... | Python |
from django.db import models
# Create your models here.
| Python |
"""
This file demonstrates two different styles of tests (one doctest and one
unittest). These will both pass when you run "manage.py test".
Replace these with more appropriate tests for your application.
"""
from django.test import TestCase
class SimpleTest(TestCase):
def test_basic_addition(self):
"""
... | Python |
# Create your views here.
| Python |
from datetime import datetime
from django.db import models
from django.conf import settings
import mptt
from multilingual.translation import TranslationModel
from multilingual.manager import MultilingualManager
class Tree(models.Model):
slug = models.SlugField()
image = models.ImageField(upload_to = se... | Python |
"""
This file demonstrates two different styles of tests (one doctest and one
unittest). These will both pass when you run "manage.py test".
Replace these with more appropriate tests for your application.
"""
from django.test import TestCase
class SimpleTest(TestCase):
def test_basic_addition(self):
"""
... | Python |
from django.db import models
from django.template import Library
from core.tree.models import Tree
register = Library()
@register.inclusion_tag("admin/tree/tree/change_list_results.html")
def core_result_list(cl):
tree = Tree.objects.all()
results = tree
#for item in tree:
#if item.level == 0... | Python |
# Create your views here.
| Python |
from django.contrib import admin
from django.utils.safestring import mark_safe
from django.utils.translation import ugettext as _
from mptt.admin import MPTTModelAdmin
from mptt.forms import MPTTAdminForm, TreeNodeChoiceField
from multilingual.admin import MultilingualModelAdmin
from core.tree.models import Tree
from f... | Python |
"""
This file was generated with the customdashboard management command and
contains the class for the main dashboard.
To activate your index dashboard add the following to your settings.py::
GRAPPELLI_INDEX_DASHBOARD = 'cms.dashboard.CustomIndexDashboard'
"""
from django.utils.translation import ugettext_lazy as... | Python |
from django.db import models
# Create your models here.
| Python |
"""
This file demonstrates two different styles of tests (one doctest and one
unittest). These will both pass when you run "manage.py test".
Replace these with more appropriate tests for your application.
"""
from django.test import TestCase
class SimpleTest(TestCase):
def test_basic_addition(self):
"""
... | Python |
from django import template
register = template.Library()
class SetVarNode(template.Node):
def __init__(self, var_name, var_value):
self.var_name = var_name
self.var_value = var_value
def render(self, context):
try:
value = template.Variable(self.var_value).resolve(con... | Python |
# Create your views here.
| Python |
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
LANGUAGES = settings.LANGUAGES
LANG_DICT = dict(LANGUAGES)
def get_fallback_languages():
fallbacks = {}
for lang in LANG_DICT:
fallbacks[lang] = [lang]
for other in LANG_DICT:
if other != lang... | Python |
from django.db import models
from multilingual.query import MultilingualModelQuerySet
from multilingual.languages import *
class MultilingualManager(models.Manager):
"""
A manager for multilingual models.
TO DO: turn this into a proxy manager that would allow developers
to use any manager they need.... | Python |
"""
Multilingual model support.
This code is put in multilingual.models to make Django execute it
during application initialization.
TO DO: remove it. Right now multilingual must be imported directly
into any file that defines translatable models, so it will be
installed anyway.
This module is here only to make it ... | Python |
"""
Django-multilingual: a QuerySet subclass for models with translatable
fields.
This file contains the implementation for QSRF Django.
Huge thanks to hubscher.remy for writing this!
"""
from django.db.models.sql.compiler import SQLCompiler
from multilingual.languages import (
get_translation_table_alias,
g... | Python |
from multilingual.languages import get_default_language
try:
from django.utils.decorators import auto_adapt_to_methods as method_decorator
except ImportError:
from django.utils.decorators import method_decorator
try:
from threading import local
except ImportError:
from django.utils._threading_local impo... | Python |
from django.core.exceptions import ImproperlyConfigured
from django.db import models
from multilingual.utils import is_multilingual_model
def get_field(cls, model, opts, label, field):
"""
Just like django.contrib.admin.validation.get_field, but knows
about translation models.
"""
trans_model = ... | Python |
"""
Support for models' internal Translation class.
"""
##TODO: this is messy and needs to be cleaned up
from django.core.exceptions import ObjectDoesNotExist
from django.db import models
from django.db.models import signals
from django.db.models.base import ModelBase
from django.utils.translation import get_language... | Python |
import math
import StringIO
import tokenize
from django import template
from django import forms
from django.template import Node, NodeList, Template, Context, resolve_variable
from django.template.loader import get_template, render_to_string
from django.conf import settings
from django.utils.html import escape
from m... | Python |
"""
Django-multilingual: a QuerySet subclass for models with translatable
fields.
This file contains the implementation for QSRF Django.
"""
import datetime
from copy import deepcopy
from django.core.exceptions import FieldError
from django.db import connection
from django.db.models.fields import FieldDoesNotExist
f... | Python |
from django.db import models
class TranslationForeignKey(models.ForeignKey):
"""
"""
def south_field_triple(self):
from south.modelsinspector import introspector
field_class = "django.db.models.fields.related.ForeignKey"
args, kwargs = introspector(self)
return (field_class... | Python |
from multilingual.languages import get_language_code_list, get_default_language_code
from multilingual.settings import LANG_DICT
from django.conf import settings
def multilingual(request):
"""
Returns context variables containing information about available languages.
"""
codes = sorted(get_language_c... | Python |
class TranslationDoesNotExist(Exception):
"""
The requested translation does not exist
"""
pass
class LanguageDoesNotExist(Exception):
"""
The requested language does not exist
"""
pass
| Python |
from django.core.management.base import AppCommand
from django.db import models
from django.utils.importlib import import_module
from django.conf import settings
from django.db import connection
from django.core.management import call_command
from multilingual.utils import is_multilingual_model
from multilingual.langua... | Python |
"""
Django-multilingual: language-related settings and functions.
"""
# Note: this file did become a mess and will have to be refactored
# after the configuration changes get in place.
#retrieve language settings from settings.py
from multilingual import settings
from django.utils.translation import ugettext_lazy as... | Python |
"""
Django-multilingual-ng: multilingual model support for Django 1.2.
Note about version numbers:
- uneven minor versions are considered unstable releases
- even minor versions are considered stable releases
"""
#VERSION = ('0', '1', '44')
#__version__ = '.'.join(VERSION)
import warnings
class LazyInit(obje... | Python |
from django.utils.translation import get_language
from multilingual.exceptions import LanguageDoesNotExist
from multilingual.languages import set_default_language
class DefaultLanguageMiddleware(object):
"""
Binds DEFAULT_LANGUAGE_CODE to django's currently selected language.
The effect of enabling this... | Python |
from django.db import models
from django.contrib.sites.models import Site
from django.utils.translation import ugettext_lazy as _
from multilingual.translation import Translation as TranslationBase
from multilingual.exceptions import TranslationDoesNotExist
from multilingual.manager import MultilingualManager
class M... | Python |
from django.conf.urls.defaults import *
urlpatterns = patterns('multilingual.flatpages.views',
(r'^(?P<url>.*)$', 'multilingual_flatpage'),
)
| Python |
from multilingual.flatpages.models import MultilingualFlatPage
from django.template import loader, RequestContext
from django.shortcuts import get_object_or_404
from django.http import HttpResponse, HttpResponseRedirect
from django.conf import settings
from django.core.xheaders import populate_xheaders
from django.util... | Python |
from multilingual.flatpages.views import multilingual_flatpage
from django.http import Http404
from django.conf import settings
class FlatpageFallbackMiddleware(object):
def process_response(self, request, response):
if response.status_code != 404:
return response # No need to check for a flatp... | Python |
from django import forms
from django.contrib import admin
from multilingual.flatpages.models import MultilingualFlatPage
from django.utils.translation import ugettext_lazy as _
from multilingual.admin import MultilingualModelAdmin, MultilingualModelAdminForm
class MultilingualFlatpageForm(MultilingualModelAdminForm):... | Python |
"""Admin suppor for inlines
Peter Cicman, Divio GmbH, 2008
"""
from django.utils.text import capfirst, get_text_list
from django.contrib.admin.util import flatten_fieldsets
from django.http import HttpResponseRedirect
from django.utils.encoding import force_unicode
import re
from copy import deepcopy
from django.conf... | Python |
#!/usr/bin/env python
from django.core.management import execute_manager
try:
import settings # Assumed to be in the same directory.
except ImportError:
import sys
sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to ... | Python |
import os
config_1 = {
'database':{
'type':'postgresql',
'user':'postgres',
'passwd':'postgres',
'db':'test',
'port':5433,
'host':'localhost',
... | Python |
#! /usr/bin/env python
'''
grepidemic.py - Modeling information flow through a network. Uses NodeBox to provide a gui
for simulations. Requires NodeBox
'''
__author__ = "Chris Hill"
__version__ = "0.1"
__license__ = "GPL"
import sys, os
graph = ximport("graph")
coreimage = ximport("coreimage")
FRAMES_PER_SECOND ... | Python |
#! /usr/bin/env python
'''
grepidemic.py - Modeling information flow through a network. Uses NodeBox to provide a gui
for simulations. Requires NodeBox
'''
__author__ = "Chris Hill"
__version__ = "0.1"
__license__ = "GPL"
import sys, os
graph = ximport("graph")
coreimage = ximport("coreimage")
FRAMES_PER_SECOND ... | Python |
#!/usr/bin/env python
# Copyright 2005,2006 Michael Rice
# errr@errr-online.com
# vim: noexpandtab:ts=4:sts=4
""" fluxStyle
fluxStyle is a graphical style-manager for the fluxbox
window manager. Orignal version written by Michael Rice.
Many special thanks to Zan a.k.a. Lauri Peltonen for GUI
Improvements & Bug Stomp... | Python |
#!/usr/bin/env python
"""Fluxstyle is a graphical style manager built in python using pygtk and glade.
Fluxstyle is for the fluxbox window manager. Orignal version written by Michael Rice.
Many special thanks to Zan a.k.a. Lauri Peltonen for GUI Improvements & Bug Stomping.
Released under GPL"""
from distutils.core im... | Python |
# Copyright 2005 Michael Rice
# errr@errr-online.com
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, mer... | Python |
import gtk,textwrap
def infoMessage(message):
message = textwrap.wrap(message,50)
mes = ""
for lines in message:
mes += lines+"\n"
m = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_INFO, \
gtk.BUTTONS_NONE, mes)
m.add_button(gtk.STOCK_OK, gtk.RESPONSE_CLOSE)
response = m.... | Python |
'''Written by Michael Rice
Copyright Nov 14, 2005
Released under the terms of the GNU GPL v2
Email: Michael Rice errr@errr-online.com
Website: http://errr-online.com/
'''
import os,re
from os.path import expanduser
def check4_config():
folder = expanduser("~/")
file = folder+".fluxStyle.rc"
w_ok = os.acces... | Python |
# Copyright 2005,2006 Michael Rice
# errr@errr-online.com
# vim:set noexpandtab:ts=4:sts=4 textwidth=79:
""" fluxStyle
fluxStyle is a graphical style-manager for the fluxbox
window manager. Orignal version written by Michael Rice.
Many special thanks to Zan a.k.a. Lauri Peltonen for GUI
Improvements & Bug Stomping.
... | Python |
#!/usr/bin/python
host = ''
user = ''
passwd = ''
db = ''
| Python |
#!/usr/bin/python
host = ''
user = ''
passwd = ''
db = ''
| Python |
#!/usr/bin/python
__author__ = "Sumin Byeon <suminb@gmail.com>"
import base64
import re
import urlparse
import urllib, urllib2
import sys, os
import string
import random
import time, datetime, calendar
import MySQLdb, _mysql_exceptions
import auth
settings = {
'max-depth': 4,
'timeout': 10,
}
def geturls(co... | Python |
#!/usr/bin/python
__author__ = "Sumin Byeon <suminb@gmail.com>"
import base64
import re
import urlparse
import urllib, urllib2
import sys, os
import string
import random
import time, datetime, calendar
import MySQLdb, _mysql_exceptions
import auth
settings = {
'max-depth': 4,
'timeout': 10,
}
def geturls(co... | Python |
#!/usr/bin/env python
# coding=utf-8
# Based on GAppProxy by Du XiaoGang <dugang@188.com>
# Based on WallProxy 0.4.0 by hexieshe <www.ehust@gmail.com>
__version__ = 'beta'
__author__ = 'phus.lu@gmail.com'
__password__ = ''
import zlib, logging, time, re, struct
from google.appengine.ext import webapp
from google.app... | Python |
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = 'd3d3LmVodXN0QGdtYWlsLmNvbQ=='.decode('base64')
from UserDict import IterableUserDict
__all__ = ['HTTPHeaders']
class HTTPHeaders(IterableUserDict):
def __setitem__(self, key, item):
self.data[key.title()] = item
def add(self, key, item):
k... | Python |
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = '%s & %s' % ('d3d3LmVodXN0QGdtYWlsLmNvbQ=='.decode('base64'),
'YnJvbnplMW1hbkBnbWFpbC5jb20='.decode('base64'))
import hashlib, itertools
__all__ = ['Crypto']
class XOR:
'''XOR with pure Python in case no PyCrypto'''
def __init__(self, key):
... | Python |
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = 'ZHRtYWppYUAxNjMuY29t'.decode('base64')
__version__ = '0.0.2'
import gaeproxy
class MainHandler(gaeproxy.MainHandler):
_cachename = 'wp_cache2'
def dump_data(self, dic):
return '&'.join('%s=%s' % (k,str(v).encode('hex')) for k,v in dic.iteritems())
... | Python |
__author__ = 'd3d3LmVodXN0QGdtYWlsLmNvbQ=='.decode('base64')
__version__ = '1.0.2'
from util import crypto, httpheaders
import cPickle as pickle
import zlib, logging, time, re, struct
from google.appengine.ext import webapp, db
from google.appengine.ext.webapp.util import run_wsgi_app
from google.appengine.api import ... | Python |
__author__ = 'd3d3LmVodXN0QGdtYWlsLmNvbQ=='.decode('base64')
__version__ = '0.4.2'
import gaeproxy
from gaeproxy import struct, zlib, logging, memcache
class MainHandler(gaeproxy.MainHandler):
_cfg = gaeproxy._init_config(gaeproxy.crypto.Crypto2)
_unquote_map = {'0':'\x10', '1':'=', '2':'&'}
def _quote(s... | Python |
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = 'd3d3LmVodXN0QGdtYWlsLmNvbQ=='.decode('base64')
__version__ = '0.0.1'
import re
from util import urlinfo, urlfetch
def _sumRule(keyword, hash, share):
k = map(len, keyword)
hk = map(len, hash)
hv = [sum([len(v) for v in t.itervalues()]) for t in hash]
... | Python |
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = 'ZHRtYWppYUAxNjMuY29t'.decode('base64')
__version__ = '0.0.1'
import forold
class Handler(forold.Handler):
crypto = forold._crypto.Crypto('XOR--0'); key = ''
def dump_data(self, dic):
return '&'.join('%s=%s' % (k, str(v).encode('hex')) for k, v in di... | Python |
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = 'd3d3LmVodXN0QGdtYWlsLmNvbQ=='.decode('base64')
__version__ = '0.0.3'
import os, socket
from wpconfig import main_dir as cert_dir
cert_dir = os.path.join(cert_dir, 'cert')
try:
from OpenSSL import crypto
except ImportError:
crypto = None
try:
import ssl
ex... | Python |
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = 'd3d3LmVodXN0QGdtYWlsLmNvbQ=='.decode('base64')
__patcher__ = 'ZHRtYWppYUAxNjMuY29t'.decode('base64')
__version__ = '0.0.4'
from util import proxylib
class Handler:
def __call__(self, host):
newhost = proxylib.map_hosts(host)
return newhost!=host
... | Python |
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = 'ZHRtYWppYUAxNjMuY29t'.decode('base64')
__version__ = '0.0.2'
import gaeproxy
class Handler(gaeproxy.Handler):
def dump_data(self, dic):
return '&'.join('%s=%s' % (k,str(v).encode('hex')) for k,v in dic.iteritems())
def load_data(self, qs):
r... | Python |
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = 'd3d3LmVodXN0QGdtYWlsLmNvbQ=='.decode('base64')
__version__ = '0.0.1'
import random
import socket
import struct
from util import proxylib, urlfetch
class Handler:
def __init__(self, proxy):
self.proxy = proxylib.Proxy(proxy)
def handle(self, handler,... | Python |
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = 'd3d3LmVodXN0QGdtYWlsLmNvbQ=='.decode('base64')
__patcher__ = 'ZHRtYWppYUAxNjMuY29t'.decode('base64')
__version__ = '0.0.6'
from util import crypto as _crypto, httpheaders, proxylib, urlfetch, urlinfo
import zlib, time, re, struct, random
import cPickle as pickle
impo... | Python |
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = 'd3d3LmVodXN0QGdtYWlsLmNvbQ=='.decode('base64')
__version__ = '0.4.1'
from util import crypto as _crypto, httpheaders
import gaeproxy
import zlib, struct
class Handler(gaeproxy.Handler):
crypto = _crypto.Crypto2('XOR--32')
_unquote_map = {'0':'\x10', '1':'='... | Python |
#!/usr/bin/env python
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = 'd3d3LmVodXN0QGdtYWlsLmNvbQ=='.decode('base64')
__patcher__ = 'ZHRtYWppYUAxNjMuY29t'.decode('base64')
__version__ = '1.0.5'
import SocketServer
import BaseHTTPServer
import struct
import socket
import select
import threading
from util import urli... | Python |
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = 'd3d3LmVodXN0QGdtYWlsLmNvbQ=='.decode('base64')
__patcher__ = 'ZHRtYWppYUAxNjMuY29t'.decode('base64')
import os, traceback
def main_dir():
import sys, imp
if hasattr(sys, 'frozen') or imp.is_frozen('__main__'):
return os.path.abspath(os.path.dirname(s... | Python |
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = 'd3d3LmVodXN0QGdtYWlsLmNvbQ=='.decode('base64')
from UserDict import IterableUserDict
__all__ = ['HTTPHeaders']
class HTTPHeaders(IterableUserDict):
def __setitem__(self, key, item):
self.data[key.title()] = item
def add(self, key, item):
k... | Python |
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = 'd3d3LmVodXN0QGdtYWlsLmNvbQ=='.decode('base64')
import httplib
import threading
import httpheaders, proxylib, urlinfo
from httplib import error
def addheader(self, key, value):
prev = self.dict.get(key)
if prev is None:
self.dict[key] = value
else... | Python |
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = 'd3d3LmVodXN0QGdtYWlsLmNvbQ=='.decode('base64')
__patcher__ = 'ZHRtYWppYUAxNjMuY29t'.decode('base64')
'''
see http://en.wikipedia.org/wiki/SOCKS#Protocol
and http://www.ietf.org/rfc/rfc1928.txt
'''
import socket
import struct
import urlinfo
__all__ = ['ProxyErro... | Python |
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = '%s & %s' % ('d3d3LmVodXN0QGdtYWlsLmNvbQ=='.decode('base64'),
'YnJvbnplMW1hbkBnbWFpbC5jb20='.decode('base64'))
import hashlib, itertools
__all__ = ['Crypto']
class XOR:
'''XOR with pure Python in case no PyCrypto'''
def __init__(self, key):
... | Python |
# Copyright (C) 2010-2011 | GNU GPLv3
__author__ = 'd3d3LmVodXN0QGdtYWlsLmNvbQ=='.decode('base64')
import os
import urlparse, urllib
__all__ = ['url2path', 'path2url', 'parse_netloc', 'unparse_netloc',
'host2ip', 'URL']
default_ports = {'http':80, 'https':443, 'ftp':21}
def url2path(path):
"""url2pat... | Python |
#!/usr/bin/env python
import sys, os
dir = os.path.abspath(os.path.dirname(sys.argv[0]))
sys.path.append(os.path.join(dir, 'src.zip'))
del sys, os, dir
import ProxyServer
ProxyServer.main()
| Python |
# coding=utf-8
from django.http import HttpResponse,HttpResponseRedirect
from django.shortcuts import render_to_response
from django.core import serializers
from django.utils import simplejson
from django.template import Template
from django.template import Context
from google.appengine.api import users
fro... | Python |
from datetime import datetime, timedelta
from django.core.exceptions import ImproperlyConfigured, ObjectDoesNotExist
from django.template import loader, Template, TemplateDoesNotExist
from django.utils import feedgenerator
from django.utils.tzinfo import FixedOffset
from django.utils.encoding import smart_unicode, iri... | Python |
from django.http import HttpResponse, Http404
from feeds import FeedDoesNotExist
def feed(request, url, feed_dict=None):
if not feed_dict:
raise Http404, "No feeds are registered."
try:
slug, param = url.split('/', 1)
except ValueError:
slug, param = url, ''
try:
f = f... | Python |
# coding=utf-8
from google.appengine.ext import db
class WebSite(db.Model):
title = db.StringProperty( default = '没有比人更高的山' )
subtitle = db.StringProperty( default = 'Where There is a Will There is a Way' )
blog_entry_count = db.IntegerProperty( default = 0 )
posts_per_page = db.IntegerProperty( default = 5... | Python |
import logging, os, sys
# Google App Engine imports.
from google.appengine.ext.webapp import util
# Remove the standard version of Django.
for k in [k for k in sys.modules if k.startswith('django')]:
del sys.modules[k]
# Force sys.path to have our own directory first, in case we want to import... | Python |
# coding=utf-8
from google.appengine.ext import db
#链接
class Link(db.Model):
title = db.StringProperty()
url = db.LinkProperty()
order = db.IntegerProperty(required = True, default = 0)
| Python |
# coding=utf-8
from django.http import HttpResponse,HttpResponseRedirect
from django.shortcuts import render_to_response
from django.core import serializers
from django.core.paginator import *
from models import Catagory
from models import Diary
from models import Tag
from models import Comment
| Python |
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the "GPL")
http://www.gnu.org/license... | Python |
#!/usr/bin/env python
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the "GPL")
http:... | Python |
#!/usr/bin/env python
"""
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or l... | Python |
#!/usr/bin/env python
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the "GPL")
http:... | Python |
#!/usr/bin/env python
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the "GPL")
h... | Python |
#!/usr/bin/env python
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the "GPL")
http:... | Python |
#!/usr/bin/env python
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the "GPL")
http:... | Python |
#!/usr/bin/env python
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the "GPL")
http:... | Python |
#!/usr/bin/env python
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the "GPL")
h... | Python |
#!/usr/bin/env python
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the "GPL")
http:... | Python |
#!/usr/bin/env python
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the "GPL")
http:... | Python |
#!/usr/bin/env python
"""
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or l... | Python |
#!/usr/bin/env python
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the "GPL")
http:... | Python |
#!/usr/bin/env python
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the "GPL")
h... | Python |
#!/usr/bin/env python
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the "GPL")
http:... | Python |
#!/usr/bin/env python
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the "GPL")
http:... | Python |
#!/usr/bin/env python
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the "GPL")
h... | Python |
Subsets and Splits
SQL Console for ajibawa-2023/Python-Code-Large
Provides a useful breakdown of language distribution in the training data, showing which languages have the most samples and helping identify potential imbalances across different language groups.