code stringlengths 1 1.72M | language stringclasses 1
value |
|---|---|
#
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | Python |
#
# Copyright (C) 2008 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | Python |
#
# Copyright (C) 2008 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | Python |
# Copyright (C) 2008 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | Python |
#
# Copyright (C) 2008 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | Python |
#
# Copyright (C) 2009 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | Python |
#
# Copyright (C) 2008 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | Python |
#
# Copyright (C) 2008 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | Python |
#
# Copyright (C) 2008 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | Python |
#
# Copyright (C) 2009 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | Python |
Import ('env')
env.Append(CXXFLAGS=['--std=c++0x'])
name = 'fideo'
inc = env.Dir('.')
ext_inc = []
src = env.Glob('src/*.cpp')
deps = ['etilico', 'mili', 'biopp', 'stl-debug', 'unafold', 'rnahybrid', 'vienna1.8.5', 'intarna', 'vienna2.0.7', 'inforna']
env.CreateSharedLibrary(name, inc, ext_inc, src, deps)
| Python |
Import ('env')
name = 'fideo'
inc = env.Dir('.')
src = env.Glob('*.cpp')
deps = ['etilico', 'biopp', 'gtest_main', 'gtest', 'gmock']
env.CreateTest(name, inc, src, deps)
| Python |
#!/usr/bin/env python
#
# Copyright (C) 2010 ZXing authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | Python |
#!/usr/bin/python
# Copyright 2011 Google, Inc. All Rights Reserved.
# simple script to walk source tree looking for third-party licenses
# dumps resulting html page to stdout
import os, re, mimetypes, sys
# read source directories to scan from command line
SOURCE = sys.argv[1:]
# regex to find /* */ style commen... | Python |
# module is created to emulate some kind of data driven testing approach
# add module path to PYTHONPATH ta make it working
movieDataDict_default = {"name":None, "year":None, "imdbid":None, "aka":None, "duration":None, "rating":None,
"format":None, "own":None, "seen":None, "loaned":None, "loa... | Python |
# add module path to PYTHONPATH ta make it working
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import Select
from selenium.common.exceptions import NoSuchElementException
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.wa... | Python |
def testit():
"""Run all tests"""
import py
py.test.cmdline.main()
| Python |
#!/usr/bin/env python
# # Copyright (c) 2010 Harry Delmolino
# # 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, c... | Python |
#!/usr/bin/env python
# # Copyright (c) 2010 Harry Delmolino
# # 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, c... | Python |
#!/usr/bin/env python
# # Copyright (c) 2010 Harry Delmolino
# # 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... | Python |
#!/usr/bin/env python
# # Copyright (c) 2010 Harry Delmolino
# # 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... | Python |
#!/usr/bin/env python
from distutils.core import setup
#from setuptools import setup, find_packages
setup(
name='Figit',
version='0.1',
packages=['Figit', 'Figit.channels', 'Figit.vcs'],
scripts=['bin/figit.py'],
#packages = find_packages(),
# for SSH connections we use the paramiko library.
... | Python |
#!/usr/bin/env python
from distutils.core import setup
#from setuptools import setup, find_packages
setup(
name='Figit',
version='0.1',
packages=['Figit', 'Figit.channels', 'Figit.vcs'],
scripts=['bin/figit.py'],
#packages = find_packages(),
# for SSH connections we use the paramiko library.
... | Python |
# Local filesystem access channel for Figit.
# import os
# import sha
# class LocalChannel:
# """
# A Class with functions for examining and manipulating a source
# directory that resides on the local file system.
# """
# # Until someone thinks of a better way, we'll brute force permissions
# ... | Python |
# SSH remote filesystem access channel for Figit.
import os
import sha
import getpass
from paramiko import SSHClient, SSHException
from paramiko.util import log_to_file, load_host_keys
class SSHChannel:
"""
A Class with functions for examining and manipulating a source directory
that resides on a remote ... | Python |
# Some common funtions used by Figit.
import sys
import os
import sha
from os.path import join, sep
from fnmatch import fnmatch
def quit(msg="\nDone"):
"""Clean up and exit."""
try:
M.commit()
channel.client.close()
V.checkout(DEVBRANCH)
except: pass
print msg
sys.exit(0)
... | Python |
# Class for managing the manifest repository file.
from os import rename
from os.path import join
class Manifest:
"""
Class for managing the manifest repository file.
Always pass relative paths to these functions. [see: utils.fixpath()]
"""
# Since the manifest file is intended as part of the use... | Python |
# Mercurial VCS wrapper/backend for FIgit.
import os
from commands import getoutput as go
from os.path import join, sep
class Hg:
def __init__(self, wd, INSTALLBRANCH):
self.ignorefile = '.hgignore'
self.ignore_patterns = ['*~', '*.pyc', 'manifest.bak']
self.wd = wd
... | Python |
# Git VCS wrapper/backend for FIgit.
import os
from commands import getoutput as go
from os.path import join, sep
class Git:
def __init__(self, wd, INSTALLBRANCH):
self.ignorefile = '.gitignore'
self.ignore_patterns = ['*~', '*.pyc', 'manifest.bak']
self.wd = wd
s... | Python |
# Class for reading the RunBefore/Runafter files.
from os.path import join
def Run(runfile):
"""
Run creates a dictionary which is a mapping of filenames and command lines.
This dictionary is read when figit.install() is called in order to determine
what, if any runbefore or runafter scripts need to... | Python |
#!/usr/bin/env python
from distutils.core import setup
#from setuptools import setup, find_packages
setup(
name='Figit',
version='0.1',
packages=['Figit', 'Figit.channels', 'Figit.vcs'],
scripts=['bin/figit.py'],
#packages = find_packages(),
# for SSH connections we use the paramiko library.
... | Python |
#!/usr/bin/env python
from distutils.core import setup
#from setuptools import setup, find_packages
setup(
name='Figit',
version='0.1',
packages=['Figit', 'Figit.channels', 'Figit.vcs'],
scripts=['bin/figit.py'],
#packages = find_packages(),
# for SSH connections we use the paramiko library.
... | Python |
# Local filesystem access channel for Figit.
# import os
# import sha
# class LocalChannel:
# """
# A Class with functions for examining and manipulating a source
# directory that resides on the local file system.
# """
# # Until someone thinks of a better way, we'll brute force permissions
# ... | Python |
# SSH remote filesystem access channel for Figit.
import os
import sha
import getpass
from paramiko import SSHClient, SSHException
from paramiko.util import log_to_file, load_host_keys
class SSHChannel:
"""
A Class with functions for examining and manipulating a source directory
that resides on a remote ... | Python |
# Some common funtions used by Figit.
import sys
import os
import sha
from os.path import join, sep
from fnmatch import fnmatch
def quit(msg="Done"):
"""Clean up and exit."""
try:
M.commit()
channel.client.close()
V.checkout(DEVBRANCH)
except: pass
print msg
sys.exit(0)
... | Python |
# Class for managing the manifest repository file.
from os import rename
from os.path import join
class Manifest:
"""
Class for managing the manifest repository file.
Always pass relative paths to these functions. [see: utils.fixpath()]
"""
# Since the manifest file is intended as part of the use... | Python |
# Git VCS wrapper/backend for FIgit.
import os
from commands import getoutput as go
from os.path import join, sep
class Git:
def __init__(self, wd, INSTALLBRANCH):
self.wd = wd
self.ignorefile = '.gitignore'
self.ignore_patterns = ['*~', '*.pyc', 'manifest.bak']
... | Python |
# Class for reading the RunBefore/Runafter files.
from os.path import join
def Run(runfile):
"""
Run creates a dictionary which is a mapping of filenames and command lines.
This dictionary is read when figit.install() is called in order to determine
what, if any runbefore or runafter scripts need to... | Python |
# Copyright 2012, Google Inc.
# 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 the fol... | Python |
# Copyright 2012, Google Inc.
# 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 the fol... | Python |
# Copyright 2012, Google Inc.
# 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 the fol... | Python |
# Copyright 2012, Google Inc.
# 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 the fol... | Python |
# Copyright 2012, Google Inc.
# 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 the fol... | Python |
# Copyright 2012, Google Inc.
# 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 the fol... | Python |
# Copyright 2012, Google Inc.
# 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 the fol... | Python |
from vtdb import vt_occ2 as db
from vttest import framework
from vttest import cache_cases
class TestCache(framework.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def set_env(self, env):
self.env = env
def test_num_str(self):
try:
self.env.execute("select bid, eid from vto... | Python |
import time
from vtdb import vt_occ2 as db
from vttest import framework
from vttest import nocache_cases
class TestNocache(framework.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def set_env(self, env):
self.env = env
def test_data(self):
cu = self.env.execute("select * from vt... | Python |
#!/usr/bin/env python
# Copyright 2012, Google Inc.
# 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... | Python |
# Copyright 2012, Google Inc.
# 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 the fol... | Python |
# Copyright 2012, Google Inc.
# 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 the fol... | Python |
# Copyright 2012, Google Inc.
# 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 the fol... | Python |
# Copyright 2012, Google Inc.
# 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 the fol... | Python |
# Copyright 2012, Google Inc.
# 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 the fol... | Python |
# Copyright 2012, Google Inc.
# 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 the fol... | Python |
# Copyright 2012, Google Inc.
# 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 the fol... | Python |
# Copyright 2012, Google Inc.
# 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 the fol... | Python |
import pygame
class Gun():
def __init__(self, kind):
self.coolDown = 0
if kind == "pistol":
self.kind = kind
self.gunSpeed = 1000
self.ammo = None
self.coolDownMax = 1000
... | Python |
import pygame, math
class Ball():
def __init__(self, image, speed = [0,0], pos = [0,0]):
self.image = pygame.image.load(image)
self.rect = self.image.get_rect()
self.speedx = speed[0]
self.speedy = speed[1]
self.speed = [self.speed... | Python |
import pygame
from Ball import Ball
class Bullet(Ball):
def __init__(self, pos, bspeed, direction, owner):
Ball.__init__(self, "images/LAZER.png", [0,0], pos)
self.maxSpeed = 20
if direction == "right":
self.speedx = self.maxSpeed
if direction ==... | Python |
import pygame, sys, random
from Player import Player
from Bullet import Bullet
from melee import Melee
from hud import Score
from hud import Text
pygame.init()
clock = pygame.time.Clock()
width = 896
height = 700
size = width, height
screen = pygame.display.set_mode(size)
bgColor = r,g,b = 0, 0, 0
run = False
scor... | Python |
import pygame
from Ball import Ball
class Melee(Ball):
def __init__(self, pos, bspeed, direction, owner):
Ball.__init__(self, "images/LAZER.png", [0,0], pos)
self.maxSpeed = 50
if direction == "right":
self.speedx = self.maxSpeed
self.living ... | Python |
import pygame
class Text():
def __init__(self, pos, text = "", textSize = 12, textColor=(0,0,0), font = None):
self.text = text
self.textColor = textColor
self.font = pygame.font.Font(font, textSize)
self.image = self.font.render(self.text, 1, tex... | Python |
import pygame
from Ball import Ball
from Bullet import Bullet
from melee import Melee
from gun import Gun
class Player(Ball):
def __init__(self, pos, facing):
if facing == "right":
self.side = "left"
else:
self.side = "right"
Ball.__init__(self, "images/p1_walk01.png... | Python |
#!/usr/bin/python
import re
import string
import sys
import time
from xml.sax import saxutils
class Question:
text = None
answers = []
rightAnswer = None
difficulty = None
def __init__(self):
self.text = None
self.answers = []
self.rightAnswer = None
self.difficult... | Python |
#!/usr/bin/python
import re
import string
import sys
import time
from xml.sax import saxutils
class Question:
text = None
answers = []
rightAnswer = None
difficulty = None
def __init__(self):
self.text = None
self.answers = []
self.rightAnswer = None
self.difficult... | Python |
"""
------------------------------------------
-- Fiiction --
------------------------------------------
-- Interactive fiction by Fiona Burrows --
------------------------------------------
Game class
Holds the main game module, the main game should
extend from this.
"""
from ... | Python |
"""
------------------------------------------
-- Fiiction --
------------------------------------------
-- Interactive fiction by Fiona Burrows --
------------------------------------------
Helper room classes
Here are some classes to extend from to create
basic "default" rooms wi... | Python |
"""
------------------------------------------
-- Fiiction --
------------------------------------------
-- Interactive fiction by Fiona Burrows --
------------------------------------------
Room class
Deals with room stuff...
"""
from fiiction.game import Game
class Room:
... | Python |
"""
------------------------------------------
-- Fiiction --
------------------------------------------
-- Interactive fiction by Fiona Burrows --
------------------------------------------
Thing class
Basic item...
"""
from fiiction.game import Game
class Thing:
... | Python |
"""
------------------------------------------
-- Fiiction --
------------------------------------------
-- Interactive fiction by Fiona Burrows --
------------------------------------------
Direction class
South
"""
from fiiction.dir import Direction
class South(Direction):
... | Python |
"""
------------------------------------------
-- Fiiction --
------------------------------------------
-- Interactive fiction by Fiona Burrows --
------------------------------------------
Direction class
West
"""
from fiiction.dir import Direction
class West(Direction):
... | Python |
"""
------------------------------------------
-- Fiiction --
------------------------------------------
-- Interactive fiction by Fiona Burrows --
------------------------------------------
Direction class
North
"""
from fiiction.dir import Direction
class North(Direction):
... | Python |
"""
------------------------------------------
-- Fiiction --
------------------------------------------
-- Interactive fiction by Fiona Burrows --
------------------------------------------
Direction class
East
"""
from fiiction.dir import Direction
class East(Direction):
... | Python |
"""
------------------------------------------
-- Fiiction --
------------------------------------------
-- Interactive fiction by Fiona Burrows --
------------------------------------------
Direction class
"""
class Direction:
# "There are directions north, south ..... | Python |
"""
------------------------------------------
-- Fiiction --
------------------------------------------
-- Interactive fiction by Fiona Burrows --
------------------------------------------
Parser deals with commands
"""
import re
def parse_command(command, game):
... | Python |
from fiiction.game import Game
from rooms import start, second_room
from things import rock
class awesome_zone(Game):
game_name = "THIS IS THE AWESOME ZONE"
author = "Fiona"
description = "awesomeest game in the world"
starting_message = "woaaaaaaaaaaaaaaah wtf"
... | Python |
"""
a rock lol
"""
from fiiction.thing import Thing
class rock(Thing):
thing_name = "rock"
list_name = "a rock"
thing_description = "It's just a boring rock." | Python |
"""
Second room
"""
from fiiction.room.helpers import hCavern
from fiiction.dir.south import South
class second_room(hCavern):
room_name = "another cave"
room_init_description = ""
room_description = "This is a pretty shitty room."
def create_... | Python |
"""
MY STARTING ROOM
"""
from fiiction.room.helpers import hCavern
from fiiction.dir.north import North
class start(hCavern):
room_name = "a cave"
room_init_description = """You fall into a small hole and end up in a cave.\n
Don'task me, I just work here..."""
... | Python |
#coding=utf-8
"""
Author: Maple
"""
import os
import sys
import wmi
import wx
"""
Get Windows partition-list:
Return: A list of partition-instance.
"""
def get_partition_info():
partition_list = []
w = wmi.WMI()
for physical_disk in w.Win32_DiskDrive():
for partition in physical_disk.associators(... | Python |
#!/usr/bin/env python
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2007 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-2007 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/python
# author: zdzhjx@gmail.com
# version: 0.1
import os
import shutil
import random
from hashlib import md5
import threading
import traceback
class FileDic():
def __init__( self, tmdir='.', name=None ):
if not name:
name = str(1000000*random.random())
self.m_name = name
... | Python |
key='\
dddddddddddddddddddddddddddddddddddddddddddddddddd\
dddddddddddddddddddddddddddddddddddddddddddddddddd\
dddddddddddddddddddddddddddddddddddddddddddddddddd\
dddddddddddddddddddddddddddddddddddddddddddddddddd\
'
data='\
dddddddddddddddddddddddddddddddddddddddddddddddddd\
dddddddddddddddddddddddddddddddddddddddddd... | Python |
#!/usr/bin/python
# author: zdzhjx@gmail.com
# version: 0.1
import os
import shutil
import random
from hashlib import md5
import threading
import traceback
import bsddb
class FileDic():
def __init__( self, tmdir='/tmp', name=None ):
if not name:
name = str(1000000*random.random())
self.m... | Python |
#!/usr/bin/python
# author: zdzhjx@gmail.com
# version: 0.1
import os
import shutil
import random
from hashlib import md5
import threading
import traceback
class FileDic():
def __init__( self, tmdir='.', name=None ):
if not name:
name = str(1000000*random.random())
self.m_name = name
... | Python |
import filedic
import time
import random
import testdata
def test( num ):
q = filedic.FileDic()
pre = time.time()
for i in xrange( num ):
k=testdata.key + str( i )
v=testdata.data + str(i)
q[k] = v
used = time.time() - pre
print 'w:', num, used, num/used
pre = time.ti... | Python |
import bdbdic
import time
import random
import testdata
def test( num ):
q = bdbdic.FileDic()
pre = time.time()
for i in xrange( num ):
k=testdata.key + str( i )
v=testdata.data + str(i)
q[k] = v
used = time.time() - pre
print 'w:', num, used, num/used
pre = time.time... | Python |
#!/usr/bin/python
# author: zdzhjx@gmail.com
# version: 0.1
import os
import shutil
import random
from hashlib import md5
import threading
import traceback
import bsddb
class FileDic():
def __init__( self, tmdir='/tmp', name=None ):
if not name:
name = str(1000000*random.random())
self.m... | Python |
"""
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2007 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-2007 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-2007 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-2007 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-2007 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-2007 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-2007 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-2007 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-2007 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-2007 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-2007 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 |
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.