org_text
stringlengths
830
329k
texts
list
scores
list
num_lines
int64
1
8.05k
avg_score
float64
0
0.27
check
bool
1 class
# -*- coding: utf-8 -*- # # Copyright (C) 2014 Sean Poyser - With acknowledgement to some original code by twinther (Tommy Winther) # TRTV modifications done by Lee Randall (whufclee) # # This Program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as...
[ "# -*- coding: utf-8 -*-\n", "\n", "#\n", "# Copyright (C) 2014 Sean Poyser - With acknowledgement to some original code by twinther (Tommy Winther)\n", "# TRTV modifications done by Lee Randall (whufclee)\n", "#\n", "# This Program is free software; you can redistribute it and/or modify\n", "# it...
[ 0, 0, 0, 0.009345794392523364, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.043478260869565216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.014184397163120567, 0, 0, 0.04...
2,396
0.006834
false
# coding=utf-8 # Copyright (C) 2014 by Víctor Romero Blanco <info at playcircular dot com>. # http://playcircular.com/ # It's licensed under the AFFERO GENERAL PUBLIC LICENSE unless stated otherwise. # You can get copies of the licenses here: http://www.affero.org/oagpl.html # AFFERO GENERAL PUBLIC LICENSE is also in...
[ "# coding=utf-8\n", "\n", "# Copyright (C) 2014 by Víctor Romero Blanco <info at playcircular dot com>.\n", "# http://playcircular.com/\n", "# It's licensed under the AFFERO GENERAL PUBLIC LICENSE unless stated otherwise.\n", "# You can get copies of the licenses here: http://www.affero.org/oagpl.html\n",...
[ 0, 0, 0, 0, 0.012345679012345678, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.008, 0, 0, 0.02197802197802198, 0.08333333333333333, 0.023809523809523808, 0, 0.03225806451612903, 1, 0.025, 0.019230769230769232,...
351
0.117044
false
import lxml.html as l import aiohttp from humanfriendly.tables import format_pretty_table as boop async def lolbans(cmd, message, args): try: url = 'http://www.bestbans.com/' async with aiohttp.ClientSession() as session: async with session.get(url) as data: page = awa...
[ "import lxml.html as l\n", "import aiohttp\n", "from humanfriendly.tables import format_pretty_table as boop\n", "\n", "\n", "async def lolbans(cmd, message, args):\n", " try:\n", " url = 'http://www.bestbans.com/'\n", " async with aiohttp.ClientSession() as session:\n", " ...
[ 0.045454545454545456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.011627906976744186, 0, 1 ]
32
0.033034
false
import aiohttp import random import discord from config import GoogleAPIKey from config import GoogleCSECX async def img(cmd, message, args): if not args: await message.channel.send(cmd.help()) return else: search = ' '.join(args) url = 'https://www.googleapis.com/customsearch...
[ "import aiohttp\n", "import random\n", "import discord\n", "from config import GoogleAPIKey\n", "from config import GoogleCSECX\n", "\n", "\n", "async def img(cmd, message, args):\n", " if not args:\n", " await message.channel.send(cmd.help())\n", " return\n", " else:\n", ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.006622516556291391, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0625, 0.012195121951219513, 0.010869565217391304, 0 ]
31
0.002974
false
#!/usr/bin/env python # -*- coding: utf-8 -*- """ This experiment was created using PsychoPy3 Experiment Builder (v3.1.1), on Thu May 9 17:56:54 2019 If you publish work using this script please cite the PsychoPy publications: Peirce, JW (2007) PsychoPy - Psychophysics software in Python. Journal of N...
[ "#!/usr/bin/env python\n", "# -*- coding: utf-8 -*-\n", "\"\"\"\n", "This experiment was created using PsychoPy3 Experiment Builder (v3.1.1),\n", " on Thu May 9 17:56:54 2019\n", "If you publish work using this script please cite the PsychoPy publications:\n", " Peirce, JW (2007) PsychoPy - Psych...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.011235955056179775, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.05, 0, 0, 0, 0, 0, 0.012345679012345678, 0.009900990099009901, 0, 0, 0, 0.024390243902439025, 0.02631...
151
0.00802
false
""" Definition of urls for HsinchuCityWebsite. """ from datetime import datetime from django.conf.urls import patterns, url, include from app.forms import BootstrapAuthenticationForm # Uncomment the next lines to enable the admin: from django.contrib import admin # admin.autodiscover() urlpatterns = patterns('', ...
[ "\"\"\"\n", "Definition of urls for HsinchuCityWebsite.\n", "\"\"\"\n", "\n", "from datetime import datetime\n", "from django.conf.urls import patterns, url, include\n", "from app.forms import BootstrapAuthenticationForm\n", "\n", "# Uncomment the next lines to enable the admin:\n", "from django.c...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0625, 0.02127659574468085, 0, 0, 0.010752688172043012, 0.011363636363636364, 0, 0.012345679012345678, 0.011904761904761904, 0, 0, 0.009259259259259259, 0.011111111111111112, 0, 0, 0.009009009009009009, 0.0077519379844...
60
0.004276
false
""" Summer of Phyonkichi """ from itertools import product if __name__ == '__main__': while True: p_x, p_y = map(int, raw_input().split()) if p_x == 0 and p_y == 0: break n = int(raw_input()) s = map(int, raw_input().split()) field = [["" for i in xrange(10)] f...
[ "\"\"\"\n", "Summer of Phyonkichi\n", "\"\"\"\n", "\n", "from itertools import product\n", "\n", "if __name__ == '__main__':\n", " while True:\n", " p_x, p_y = map(int, raw_input().split())\n", " if p_x == 0 and p_y == 0:\n", " break\n", " n = int(raw_input()...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.03389830508474576, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.007462686567164179, 0, 0, 0, 0, 0, 0, 0 ]
34
0.001216
false
#!/usr/bin/python # -*- coding: utf-8 -*- import sys import threading import random from tools import * """ Classes pour manipuler des filtres sur des flux de données. """ FILTER_EMPTY = 0 """ Etat vide : le filtre se trouve soit dans son état initial soit on ne lui a pas encore injecté de caractè...
[ "#!/usr/bin/python\r\n", "# -*- coding: utf-8 -*-\r\n", "\r\n", "import sys\r\n", "import threading\r\n", "import random\r\n", "\r\n", "from tools import *\r\n", "\r\n", "\"\"\" Classes pour manipuler des filtres sur des flux de données. \"\"\"\r\n", "\r\n", "FILTER_EMPTY = 0\r\n", "\"\"\" E...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.02857142857142857, 0, 0.030303030303030304, 0.023809523809523808, 0, 0.01818181818181818, 0.021739130434782608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0...
565
0.008409
false
# -*- coding: utf-8 -*- # A part of NonVisual Desktop Access (NVDA) # This file is covered by the GNU General Public License. # See the file COPYING for more details. # Copyright (C) 2020 Nick Stockton <nstockton@gmail.com> # Portions of This Work Copyright (C) 2006-2013 NV Access Limited # Built-in NVDA Modul...
[ "# -*- coding: utf-8 -*-\r\n", "# A part of NonVisual Desktop Access (NVDA)\r\n", "# This file is covered by the GNU General Public License.\r\n", "# See the file COPYING for more details.\r\n", "# Copyright (C) 2020 Nick Stockton <nstockton@gmail.com>\r\n", "# Portions of This Work Copyright (C) 2006-201...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.03333333333333333, 0.017241379310344827, 0.047619047619047616, 0, 0, 0, 0.034482758620689655, 0.02702702702702703, 0.125, 0.017857142857142856, 0.038461538461538464, 0.055555555...
68
0.02247
false
#!/usr/bin/env python # -*- encoding: utf-8 -*- # Copyright: This module has been placed in the public domain. import sys import os import os.path import stat import imp import getopt import textwrap import time import threading import subprocess import tempfile import platform import json import pp.preprocessor as...
[ "#!/usr/bin/env python\n", "# -*- encoding: utf-8 -*-\n", "\n", "# Copyright: This module has been placed in the public domain.\n", "\n", "import sys\n", "import os\n", "import os.path\n", "import stat\n", "import imp\n", "import getopt\n", "import textwrap\n", "import time\n", "import thr...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.06666666666666667, 0, 0, 0, 0.2, 0, 0, 0, 0, 0, 0, 0, 0, 0.03333333333333333, 0, 0, 0.030303030303030304, 0, 0, 0, 0, 0, 0.0185185...
622
0.018788
false
import pygame from pygame.locals import * from random import randint #Initialisation de pygame pygame.init() #Ouverture de la fenetre pygame fenetre = pygame.display.set_mode((700, 700)) #Titre de la fênetre pygame.display.set_caption("Puissance 4") #Les pions sur le plateau (0 = pas de pion, 1 = pion d...
[ "import pygame\r\n", "from pygame.locals import *\r\n", "from random import randint\r\n", "\r\n", "#Initialisation de pygame\r\n", "pygame.init()\r\n", "\r\n", "#Ouverture de la fenetre pygame\r\n", "fenetre = pygame.display.set_mode((700, 700))\r\n", "#Titre de la fênetre\r\n", "pygame.display....
[ 0, 0, 0, 0, 0.037037037037037035, 0, 0, 0.030303030303030304, 0, 0.045454545454545456, 0, 0, 0.02247191011235955, 0, 0.030303030303030304, 0, 0, 0, 0, 0, 0.016129032258064516, 0.025, 0.023255813953488372, 0, 0.029411764705882353, 0.03225806451612903, 0.03488372093...
128
0.010116
false
#!/usr/bin/env python3 #IMPORT import RPi.GPIO as GPIO import time from datetime import datetime import pickle import numpy as np from os import path import logging if __name__ == "__main__": import lichtprogramme as lp else: import spi.lichtprogramme as lp log = logging.getLogger("daemon") errlog = logging.get...
[ "#!/usr/bin/env python3\n", "\n", "#IMPORT\n", "\n", "import RPi.GPIO as GPIO\n", "import time\n", "from datetime import datetime\n", "import pickle\n", "import numpy as np\n", "from os import path\n", "import logging\n", "\n", "if __name__ == \"__main__\":\n", "\timport lichtprogramme as ...
[ 0, 0, 0.125, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.034482758620689655, 0.14285714285714285, 0.030303030303030304, 0, 0, 0, 0, 0, 0, 0.07692307692307693, 0, 0.20080321285140562, 0.047619047619047616, 0.05263157894736842, 0.047619047619047616, 0, 0.04, 0.038461538...
194
0.107342
false
#!/usr/bin/env python3 # Copyright (c) 2017-2018 The Machinecoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test various command line arguments and configuration file parameters.""" import os from test_fr...
[ "#!/usr/bin/env python3\n", "# Copyright (c) 2017-2018 The Machinecoin Core developers\n", "# Distributed under the MIT software license, see the accompanying\n", "# file COPYING or http://www.opensource.org/licenses/mit-license.php.\n", "\"\"\"Test various command line arguments and configuration file para...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.012345679012345678, 0.009345794392523364, 0, 0, 0, 0, 0.004975124378109453, 0, 0, 0, 0.00510204081632653, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.010101010101010102, 0,...
80
0.002681
false
## Setting up # importing required modules import sphinxapi from fsphinx import * # let's build a Sphinx Client cl = sphinxapi.SphinxClient() # assuming searchd is running on 10001 cl.SetServer('localhost', 10001) # let's have a handle to our fsphinx database db = utils.database(dbn='mysql', db='fsphinx', user='fs...
[ "## Setting up\n", "\n", "# importing required modules\n", "import sphinxapi\n", "from fsphinx import *\n", "\n", "# let's build a Sphinx Client\n", "cl = sphinxapi.SphinxClient()\n", "\n", "# assuming searchd is running on 10001\n", "cl.SetServer('localhost', 10001)\n", "\n", "# let's have ...
[ 0.07142857142857142, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.012345679012345678, 0, 0, 0, 0, 0.043478260869565216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
182
0.00609
false
# -*- coding: utf-8 -*- from resources.lib.gui.gui import cGui from resources.lib.util import cUtil from resources.lib.gui.guiElement import cGuiElement from resources.lib.handler.requestHandler import cRequestHandler from resources.lib.parser import cParser from resources.lib.handler.ParameterHandler import Parameter...
[ "# -*- coding: utf-8 -*-\n", "from resources.lib.gui.gui import cGui\n", "from resources.lib.util import cUtil\n", "from resources.lib.gui.guiElement import cGuiElement\n", "from resources.lib.handler.requestHandler import cRequestHandler\n", "from resources.lib.parser import cParser\n", "from resources...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.08333333333333333, 0, 0, 0, 0.008547008547008548, 0, 0, 0, 0.04, 0, 0.5, 0, 0, 0, 0, 0.018867924528301886, 0, 0, 0, 0, 0, 0.03125, 0, 0, 0, 0, 0, 0,...
294
0.038464
false
# Copyright 2015 Cloudbase Solutions Srl # All Rights Reserved. # # 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 ...
[ "# Copyright 2015 Cloudbase Solutions Srl\n", "# All Rights Reserved.\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n", "# not use this file except in compliance with the License. You may obtain\n", "# a copy of the License at\n", "#\n", "# ht...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
687
0.000388
false
#Задача 10. Вариант 44. #Создайте игру, в которой компьютер выбирает какое-либо слово, а игрок должен его отгадать.Компьютер сообщает игроку, сколько букв в слове, и дает пять попыток узнать, есть ли какая-либо #буква в слове, причем программа может отвечать только "Да" и "Нет". Вслед за тем игрок должен попробовать о...
[ "#Задача 10. Вариант 44.\n", "#Создайте игру, в которой компьютер выбирает какое-либо слово, а игрок должен его отгадать.Компьютер сообщает игроку, сколько букв в слове, и дает пять попыток узнать, есть ли какая-либо\n", "#буква в слове, причем программа может отвечать только \"Да\" и \"Нет\". Вслед за тем игро...
[ 0.041666666666666664, 0.0106951871657754, 0.016260162601626018, 0, 0.05555555555555555, 0.08333333333333333, 0, 0, 0.08333333333333333, 0.07692307692307693, 0.11940298507462686, 0.02127659574468085, 0.02564102564102564, 0.017241379310344827, 0, 0, 0, 0, 0, 0, 0, 0, 0.0076...
69
0.014039
false
#--------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. #--------------------------------------------------------------------...
[ "#---------------------------------------------------------------------------------------------\n", "# Copyright (c) Microsoft Corporation. All rights reserved.\n", "# Licensed under the MIT License. See License.txt in the project root for license information.\n", "#-------------------------------------------...
[ 0.021052631578947368, 0, 0.010526315789473684, 0.021052631578947368, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.009615384615384616, 0, 0.012345679012345678, 0, 0, 0.012048192771084338, 0.012048192771084338, 0, 0, 0, 0, 0.012345679012345678, 0, 0, 0, 0, ...
213
0.008871
false
from PyQt5.QtCore import Qt from PyQt5.QtGui import QPixmap, QImage, QColor import numpy import cv2 def cvMatToQImage(cvmat) : if cvmat is None : return QImage() if cvmat.dtype == numpy.uint8 : if len(cvmat.shape) == 2: temp = cv2.cvtColor(cvmat, cv2.COLOR_GRAY2RGB) ...
[ "from PyQt5.QtCore import Qt\n", "from PyQt5.QtGui import QPixmap, QImage, QColor\n", "import numpy\n", "import cv2\n", "\n", "\n", "def cvMatToQImage(cvmat) :\n", " if cvmat is None :\n", " return QImage()\n", " \n", " if cvmat.dtype == numpy.uint8 :\n", " if len(cvmat....
[ 0, 0, 0, 0, 0, 0, 0.037037037037037035, 0.043478260869565216, 0, 0.2, 0.027777777777777776, 0, 0, 0, 0, 0, 0.03333333333333333, 0.015873015873015872, 0.01904761904761905, 0, 0.05555555555555555, 0, 0.07142857142857142, 0, 0, 0.08, 0, 0, 0, 0, 0, 0, 0, ...
52
0.021288
false
# coding: utf-8 #------------------------------------------------------------------------- # Copyright (c) Microsoft. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this blob except in compliance with the License. # You may obtain a copy of the License at #...
[ "# coding: utf-8\n", "\n", "#-------------------------------------------------------------------------\n", "# Copyright (c) Microsoft. All rights reserved.\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this blob except in compliance with the Lice...
[ 0, 0, 0.013333333333333334, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.013157894736842105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.07142857142857142, 0, 0, 0, 0, 0, 0, 0, 0, 0.03125, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.111111111111...
444
0.004751
false
 import logging logging.getLogger().setLevel(logging.INFO) #before doing anything else, set the desired logging level, so all modules log correctly. import io import socket import struct import time import threading class OutputStreamer(threadi...
[ "\n", "import logging\n", "logging.getLogger().setLevel(logging.INFO) #before doing anything else, set the desired logging level, so all modules log correctly.\n", "\n", "import io\n", "import socket\n", "import struct\n", "impor...
[ 0, 0, 0.009708737864077669, 0, 0.1, 0.07142857142857142, 0.07142857142857142, 0.08333333333333333, 0.058823529411764705, 0, 0.025, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.00980392156862745, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
117
0.004539
false
# Author: Nic Wolfe <nic@wolfeden.ca> # URL: http://code.google.com/p/sickbeard/ # # This file is part of SickGear. # # SickGear is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License...
[ "# Author: Nic Wolfe <nic@wolfeden.ca>\n", "# URL: http://code.google.com/p/sickbeard/\n", "#\n", "# This file is part of SickGear.\n", "#\n", "# SickGear is free software: you can redistribute it and/or modify\n", "# it under the terms of the GNU General Public License as published by\n", "# the Free...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
1,273
0.001256
false
# -*- coding: utf-8 -*- __author__ = "Konstantin Klementiev, Roman Chernikov" __date__ = "28 Mar 2018" import sys import os import re from functools import partial import webbrowser import numpy as np import matplotlib as mpl from matplotlib.figure import Figure from pyparsing import ParseBaseException import XAFSmas...
[ "# -*- coding: utf-8 -*-\n", "__author__ = \"Konstantin Klementiev, Roman Chernikov\"\n", "__date__ = \"28 Mar 2018\"\n", "\n", "import sys\n", "import os\n", "import re\n", "from functools import partial\n", "import webbrowser\n", "import numpy as np\n", "import matplotlib as mpl\n", "from ma...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.02564102564102564, 0.021...
791
0.000244
false
# -*- coding: utf-8 -*- #------------------------------------------------------------ # seriesly # XBMC Plugin # Code of tvalacarta #------------------------------------------------------------ import re import os import sys #import scrapertools import time import config import logger import xbmcgui im...
[ "# -*- coding: utf-8 -*-\r\n", "#------------------------------------------------------------\r\n", "# seriesly\r\n", "# XBMC Plugin\r\n", "# Code of tvalacarta\r\n", "#------------------------------------------------------------\r\n", "\r\n", "import re\r\n", "import os\r\n", "import sys\r\n", ...
[ 0, 0.015873015873015872, 0, 0, 0, 0.015873015873015872, 0, 0, 0, 0, 0.045454545454545456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.011235955056179775, 0, 0.034482758620689655, 0.009433962264150943, 0.03225806451612903, 0, 0.047619047619047616, 0, 0.066...
149
0.015098
false
#The MIT License (MIT) #Copyright (c) 2014 Microsoft Corporation #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, mod...
[ "#The MIT License (MIT)\n", "#Copyright (c) 2014 Microsoft Corporation\n", "\n", "#Permission is hereby granted, free of charge, to any person obtaining a copy\n", "#of this software and associated documentation files (the \"Software\"), to deal\n", "#in the Software without restriction, including without...
[ 0.043478260869565216, 0.023809523809523808, 0, 0.01282051282051282, 0.012658227848101266, 0.01282051282051282, 0.013333333333333334, 0.014084507042253521, 0.017241379310344827, 0, 0.0125, 0.02040816326530612, 0, 0.013157894736842105, 0.013513513513513514, 0.012987012987012988, 0.0138...
2,611
0.002406
false
#! /usr/bin/python # -*- coding: UTF-8 -*- # Copyright 2011-2012 Olivier Renault, James Stock, TestLink-API-Python-client developers # # 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 # # ...
[ "#! /usr/bin/python\n", "# -*- coding: UTF-8 -*-\n", "\n", "# Copyright 2011-2012 Olivier Renault, James Stock, TestLink-API-Python-client developers\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License....
[ 0, 0, 0, 0.01098901098901099, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.05405405405405406, 0.2, 0, 0.5, 0, 0, 0.022727272727272728, 0, 0, 0, 0, 0, 0, 0.03333333333333333, 0.02040816326530612, 0...
412
0.054025
false
#!/usr/bin/env python3 # Copyright (c) 2016-2018 The Machinecoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test using named arguments for RPCs.""" from test_framework.test_framework import MachinecoinTest...
[ "#!/usr/bin/env python3\n", "# Copyright (c) 2016-2018 The Machinecoin Core developers\n", "# Distributed under the MIT software license, see the accompanying\n", "# file COPYING or http://www.opensource.org/licenses/mit-license.php.\n", "\"\"\"Test using named arguments for RPCs.\"\"\"\n", "\n", "from ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0196078431372549, 0, 0, 0, 0, 0, 0, 0, 0, 0.00980392156862745, 0, 0, 0, 0, 0, 0.014492753623188406, 0, 0, 0.03225806451612903, 0, 0.037037037037037035, 0 ]
34
0.003329
false
#Задача 10. Вариант 35. #1-50. Напишите программу "Генератор персонажей" для игры. Пользователю должно быть предоставлено 30 пунктов, которые можно распределить между четырьмя характеристиками: Сила, Здоровье, Мудрость и Ловкость. Надо сделать так, чтобы пользователь мог не только брать эти пункты из общего "пула", но...
[ "#Задача 10. Вариант 35.\n", "#1-50. Напишите программу \"Генератор персонажей\" для игры. Пользователю должно быть предоставлено 30 пунктов, которые можно распределить между четырьмя характеристиками: Сила, Здоровье, Мудрость и Ловкость. Надо сделать так, чтобы пользователь мог не только брать эти пункты из обще...
[ 0.041666666666666664, 0.005277044854881266, 0, 0.07692307692307693, 0.08333333333333333, 0, 0.07692307692307693, 0.11267605633802817, 0, 0, 0.05555555555555555, 0.007936507936507936, 0, 0, 0.011627906976744186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.018518518518518517, 0...
56
0.011397
false
from django.core.urlresolvers import reverse from django.http import HttpResponse, HttpResponseRedirect from django.template import RequestContext from django.contrib.auth import login as auth_login from django.views.decorators.csrf import csrf_protect from django.views.decorators.cache import never_cache from django....
[ "from django.core.urlresolvers import reverse\n", "from django.http import HttpResponse, HttpResponseRedirect\n", "from django.template import RequestContext\n", "from django.contrib.auth import login as auth_login\n", "from django.views.decorators.csrf import csrf_protect\n", "from django.views.decorator...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047619047619047616, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.041666666666666664, 0, 0, 0, 0, 0, 0.010101010101010102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
105
0.002851
false
from .ddt_tile import ddt_tile class ddt_tile_html(ddt_tile): def make_parameters_form_01(self, formparameters={}, ): '''Make htmlparameters INPUT: OUTPUT: ''' #defaults: htmlid='filtermenuform1'; htmltype='form_01'; formsubmi...
[ "from .ddt_tile import ddt_tile\n", "\n", "class ddt_tile_html(ddt_tile):\n", " def make_parameters_form_01(self,\n", " formparameters={},\n", " ):\n", " '''Make htmlparameters\n", " INPUT:\n", " OUTPUT:\n", " '''\n", " #defaults:\n", ...
[ 0, 0, 0.03225806451612903, 0, 0.03225806451612903, 0, 0, 0, 0, 0, 0.05263157894736842, 0.058823529411764705, 0.07142857142857142, 0.07692307692307693, 0.08064516129032258, 0.07692307692307693, 0, 0, 0.02127659574468085, 0.06666666666666667, 0, 0.030303030303030304, 0.0270...
81
0.02846
false
# -------------------------------------------------------------------------- # # Copyright (c) Microsoft Corporation. All rights reserved. # # The MIT License (MIT) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the ""Software""),...
[ "# --------------------------------------------------------------------------\n", "#\n", "# Copyright (c) Microsoft Corporation. All rights reserved.\n", "#\n", "# The MIT License (MIT)\n", "#\n", "# Permission is hereby granted, free of charge, to any person obtaining a copy\n", "# of this software a...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.021739130434782608, 0.0196078431372549, 0, 0.024691358024691357, 0.017391304347826087, 0, 0,...
171
0.001686
false
# Copyright (C) 2012,2014,2015 Michael Boman (@mboman), Optiv, Inc. (brad.spengler@optiv.com) # # This program is free Software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your op...
[ "# Copyright (C) 2012,2014,2015 Michael Boman (@mboman), Optiv, Inc. (brad.spengler@optiv.com)\n", "#\n", "# This program is free Software: you can redistribute it and/or modify\n", "# it under the terms of the GNU General Public License as published by\n", "# the Free Software Foundation, either version 3 ...
[ 0.010638297872340425, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.010752688172043012, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.038461538461538464, 0, 0, 0, 0, 0.011904761904761904, 0, 0, 0, 0, 0, 0, 0, 0, 0.008547008547008548, 0, 0, 0, 0...
122
0.004498
false
#!/application/python3.5/bin/python3.5 # -*- coding:utf-8 -*- # Author:xiaoyong import hashlib import os class chayi(): def __init__(self,old_path,new_path): self.old_path=old_path #定义旧代码的目录 self.new_path=new_path #定义新代码的目录 def md5(self,data): #加密方法 key=hashlib.md5(bytes("007",e...
[ "#!/application/python3.5/bin/python3.5\n", "# -*- coding:utf-8 -*-\n", "# Author:xiaoyong\n", "import hashlib\n", "import os\n", "\n", "class chayi():\n", " def __init__(self,old_path,new_path):\n", " self.old_path=old_path #定义旧代码的目录\n", " self.new_path=new_path #定义新代码的目录\n",...
[ 0, 0, 0, 0, 0, 0, 0.06666666666666667, 0.047619047619047616, 0.046511627906976744, 0.046511627906976744, 0, 0.06451612903225806, 0.07142857142857142, 0.038461538461538464, 0.0625, 0.043478260869565216, 0, 0.023255813953488372, 0, 0.04, 0.041666666666666664, 0.03389830508474...
75
0.023921
false
# Import a whole load of stuff from System.IO import * from System.Drawing import * from System.Runtime.Remoting import * from System.Threading import * from System.Windows.Forms import * from System.Xml.Serialization import * from System import * from DAQ.Environment import * import time def SMGo(): fileSystem = E...
[ "# Import a whole load of stuff\n", "from System.IO import *\n", "from System.Drawing import *\n", "from System.Runtime.Remoting import *\n", "from System.Threading import *\n", "from System.Windows.Forms import *\n", "from System.Xml.Serialization import *\n", "from System import *\n", "\n", "fro...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.08333333333333333, 0.029411764705882353, 0.0136986301369863, 0, 0.03125, 0.03225806451612903, 0, 0.05, 0.05, 0, 0.05263157894736842, 0.041666666666666664, 0, 0.06666666666666667, 0.012987012987012988, 0.2222222222222222, 0...
62
0.089394
false
from random import randint import time import zmq import requests import json import logging import ConfigParser import os import sys import MySQLdb class _WorkerConf(object): def __init__(self): self.__conf = ConfigParser.ConfigParser() hasFile = False if os.path.isfile("ZeroMQWorker.con...
[ "from random import randint\n", "import time\n", "import zmq\n", "import requests\n", "import json\n", "import logging\n", "import ConfigParser\n", "import os\n", "import sys\n", "import MySQLdb\n", "\n", "\n", "class _WorkerConf(object):\n", " def __init__(self):\n", " self.__...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.011627906976744186, 0, 0.01, 0.01, 0.00980392156862745, 0.009523809523809525, 0.010309278350515464, 0.010416666666666666, 0.010638297872340425, 0.01098901098901099, 0, 0, 0, 0, 0, ...
285
0.002801
false
import clr, sys clr.AddReference('ZyGames.Framework.Common'); clr.AddReference('ZyGames.Framework'); clr.AddReference('ZyGames.Framework.Game'); clr.AddReference('ZyGames.Tianjiexing.Model'); clr.AddReference('ZyGames.Tianjiexing.BLL'); clr.AddReference('ZyGames.Tianjiexing.Lang'); from action import * from ...
[ "import clr, sys\r\n", "clr.AddReference('ZyGames.Framework.Common');\r\n", "clr.AddReference('ZyGames.Framework');\r\n", "clr.AddReference('ZyGames.Framework.Game');\r\n", "clr.AddReference('ZyGames.Tianjiexing.Model');\r\n", "clr.AddReference('ZyGames.Tianjiexing.BLL');\r\n", "clr.AddReference('ZyGame...
[ 0.058823529411764705, 0.02127659574468085, 0.025, 0.022222222222222223, 0.020833333333333332, 0.021739130434782608, 0.02127659574468085, 0, 0.045454545454545456, 0.045454545454545456, 0.022727272727272728, 0.024390243902439025, 0.02564102564102564, 0.025, 0.022727272727272728, 0.021739...
78
0.032306
false
# -*- coding: utf-8 -*- #------------------------------------------------------------ # pelisalacarta - XBMC Plugin # Canal para pornhub # http://blog.tvalacarta.info/plugin-xbmc/pelisalacarta/ #------------------------------------------------------------ import re import urlparse from core import config from core im...
[ "# -*- coding: utf-8 -*-\n", "#------------------------------------------------------------\n", "# pelisalacarta - XBMC Plugin\n", "# Canal para pornhub\n", "# http://blog.tvalacarta.info/plugin-xbmc/pelisalacarta/\n", "#------------------------------------------------------------\n", "import re\n", "...
[ 0, 0.016129032258064516, 0, 0, 0, 0.016129032258064516, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.02666666666666667, 0.025477707006369428, 0.024844720496894408, 0, 0, 0, 0.041666666666666664, 0, 0, 0, 0, 0, 0.011363636363636364, 0.08333333333333333...
113
0.029131
false
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. # # 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 Lice...
[ "# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.\n", "# Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n...
[ 0, 0.012345679012345678, 0, 0, 0, 0.011764705882352941, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047619047619047616, 0.038461538461538464, 0.037037037037037035, 0.02702702702702703, 0.03125, 0.029411764705882353, 0.02631578947368421, 0.03125, 0.05, 0.038461538...
138
0.008505
false
import discord async def send(cmd, message, args): if args: mode, identifier = args[0].split(':') identifier = int(identifier) mode = mode.lower() text = ' '.join(args[1:]) else: embed = discord.Embed(color=0xDB0000, title='❗ No Arguments Given.') await message...
[ "import discord\n", "\n", "\n", "async def send(cmd, message, args):\n", " if args:\n", " mode, identifier = args[0].split(':')\n", " identifier = int(identifier)\n", " mode = mode.lower()\n", " text = ' '.join(args[1:])\n", " else:\n", " embed = discord....
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.010752688172043012, 0, 0.012195121951219513, 0, 0, 0.010638297872340425, 0, 0.012195121951219513, 0, 0, 0, 0.011764705882352941, 0 ]
27
0.002131
false
########################################################################### # (C) 2016 Elettra - Sincrotrone Trieste S.C.p.A.. All rights reserved. # # # # # # This file is ...
[ "###########################################################################\n", "# (C) 2016 Elettra - Sincrotrone Trieste S.C.p.A.. All rights reserved. #\n", "# #\n", "# ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.020202020202020204, 0.015625, 0, 0.08333333333333333, 0.08333333333333333, 0.058823529411764705, 0.025, 0, 0.038461538461538464, 0.013888888888888888, ...
106
0.083273
false
# -*- coding: utf-8 -*- #------------------------------------------------------------ # pelisalacarta - XBMC Plugin # Canal para seriespepito # http://blog.tvalacarta.info/plugin-xbmc/pelisalacarta/ #------------------------------------------------------------ import urlparse,urllib2,urllib,re import xbmc, xbmc...
[ "# -*- coding: utf-8 -*-\r\n", "#------------------------------------------------------------\r\n", "# pelisalacarta - XBMC Plugin\r\n", "# Canal para seriespepito\r\n", "# http://blog.tvalacarta.info/plugin-xbmc/pelisalacarta/\r\n", "#------------------------------------------------------------\r\n", "...
[ 0, 0.015873015873015872, 0, 0, 0, 0.015873015873015872, 0.11428571428571428, 0.045454545454545456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.05555555555555555, 0, 0, 0.047619047619047616, 0, 0, 0, 0.010452961672473868, 0.010169491525423728, 0...
274
0.021732
false
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Copyright (C) 2011-2014 Open Source Modelica Consortium All rights reserved. This file is part of PySimulator. PySimulator is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free So...
[ "#!/usr/bin/env python\n", "# -*- coding: utf-8 -*-\n", "\n", "'''\n", "Copyright (C) 2011-2014\n", "Open Source Modelica Consortium\n", "All rights reserved.\n", "\n", "This file is part of PySimulator.\n", "\n", "PySimulator is free software: you can redistribute it and/or modify\n", "it und...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.009523809523809525, 0.010752688172043012, 0, 0, 0, 0.034482758620689655, 0.019230769230769232, 0.13333333333333333, 0.05555555555555555, 0.05, 0.058823529...
305
0.00797
false
# coding: utf-8 # ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------...
[ "# coding: utf-8\n", "\n", "# -------------------------------------------------------------------------\n", "# Copyright (c) Microsoft Corporation. All rights reserved.\n", "# Licensed under the MIT License. See License.txt in the project root for\n", "# license information.\n", "# ---------------------...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
52
0
false
# Copyright 2014-2017 The ODL contributors # # This file is part of ODL. # # This Source Code Form is subject to the terms of the Mozilla Public License, # v. 2.0. If a copy of the MPL was not distributed with this file, You can # obtain one at https://mozilla.org/MPL/2.0/. """Basic abstract and concrete sets.""" fr...
[ "# Copyright 2014-2017 The ODL contributors\n", "#\n", "# This file is part of ODL.\n", "#\n", "# This Source Code Form is subject to the terms of the Mozilla Public License,\n", "# v. 2.0. If a copy of the MPL was not distributed with this file, You can\n", "# obtain one at https://mozilla.org/MPL/2.0/...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
957
0
false
#!/usr/bin/env python # -*- coding: utf-8 -*- import codecs import re import urlparse import json import string import datetime from django.conf import settings from django.utils.encoding import force_unicode from django.core.management.base import BaseCommand, CommandError from obtainfo.sync import Client from pcni...
[ "#!/usr/bin/env python\n", "# -*- coding: utf-8 -*-\n", "\n", "import codecs\n", "import re\n", "import urlparse\n", "import json\n", "import string\n", "import datetime\n", "\n", "from django.conf import settings\n", "from django.utils.encoding import force_unicode\n", "from django.core.man...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.043478260869565216, 0, 0.020833333333333332, 0, 0, 0, 0, 0.045454545454545456, 0, 0.020833333333333332, 0, 0, 0, 0, 0.041666666666666664, 0, 0.031578947368421054, 0, 0, 0,...
211
0.02119
false
import aiohttp import discord from config import MashapeKey async def ud(cmd, message, args): ud_input = ' '.join(args) url = "https://mashape-community-urban-dictionary.p.mashape.com/define?term=" + ud_input headers = {'X-Mashape-Key': MashapeKey, 'Accept': 'text/plain'} async with aiohttp.ClientSes...
[ "import aiohttp\n", "import discord\n", "from config import MashapeKey\n", "\n", "\n", "async def ud(cmd, message, args):\n", " ud_input = ' '.join(args)\n", " url = \"https://mashape-community-urban-dictionary.p.mashape.com/define?term=\" + ud_input\n", " headers = {'X-Mashape-Key': Mashap...
[ 0, 0, 0, 0, 0, 0, 0, 0.010752688172043012, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.009259259259259259, 0.012345679012345678, 0.012345679012345678, 0 ]
22
0.002032
false
#------------------------------------------------------------------------- # Copyright (c) Microsoft. All rights reserved. # # 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.apa...
[ "#-------------------------------------------------------------------------\n", "# Copyright (c) Microsoft. All rights reserved.\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n", "# You may obtain a ...
[ 0.013333333333333334, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.013157894736842105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.01020408163265306, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
125
0.000485
false
from actions import Action from outcome import Outcome class AnnihilateEverything(Action): slot = "a" def __init__(self, state): super(AnnihilateEverything, self).__init__(state) self.name = "Annihilate everything." def execute(self, character): self.outcomes.add(Outcome(charac...
[ "from actions import Action\n", "from outcome import Outcome\n", "\n", "\n", "class AnnihilateEverything(Action):\n", "\n", " slot = \"a\"\n", "\n", " def __init__(self, state):\n", " super(AnnihilateEverything, self).__init__(state)\n", " self.name = \"Annihilate everything....
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.013333333333333334, 0.013333333333333334, 0.045454545454545456, 0.047619047619047616, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.013333333333333334, 0.012987012987012988, 0.0136986301369863, 0.0454545454545...
70
0.007263
false
# ReplaceGeometry.py - contents of the ReplaceGeometry ghpython script # inputs # layer - string naming the layer to address within the current Rhino document # update - Boolean indicating the action is enabled # guid - GUID string identifying a single object within the RhinoDoc to replace # gobj -...
[ "# ReplaceGeometry.py - contents of the ReplaceGeometry ghpython script\r\n", "\r\n", "# inputs\r\n", "# layer - string naming the layer to address within the current Rhino document\r\n", "# update - Boolean indicating the action is enabled\r\n", "# guid - GUID string identifying a single object ...
[ 0, 0, 0, 0.012048192771084338, 0, 0.011764705882352941, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.017857142857142856, 0, 0, 0, 0, 0, 0, 0.16666666666666666, 0, 0, 0.16666666666666666, 0, 0, 0.16666666666666666, 0, 0, 0, 0, 0, 0, 0, 0, 0.00925925...
45
0.012565
false
from enum import Enum class Moods(Enum): neutral = 0 happy = 1 sad = 2 angry = 3 calm = 4 danger = 5 class Interactions(Enum): talk = 0 shop = 1 attack = 2 pickpocket = 3 class Races(Enum): human = 0 elf = 1 dwarf = 2 class Attributes(enumerate): hp = 0 ...
[ "from enum import Enum\n", " \n", "class Moods(Enum):\n", " neutral = 0\n", " happy = 1\n", " sad = 2\n", " angry = 3\n", " calm = 4\n", " danger = 5\n", "\n", "class Interactions(Enum):\n", " talk = 0\n", " shop = 1\n", " attack = 2\n", " pickpocket = 3\...
[ 0, 0.2, 0.05263157894736842, 0, 0, 0, 0, 0, 0, 0, 0.038461538461538464, 0, 0, 0, 0, 0, 0.05263157894736842, 0, 0, 0, 0, 0.034482758620689655, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.05405405405405406, 0.014705882352941176, 0.023255813953488372, ...
84
0.01266
false
# -*- coding: utf-8 -*- """ Enumerazione delle lingue. """ from src.element import EnumElement, finalize_enumeration #------------------------------------------------------------------------------- name = __name__[__name__.rfind(".")+1 : ] elements = [] cycle_on_last = True #------------------------------------...
[ "# -*- coding: utf-8 -*-\n", "\n", "\"\"\"\n", "Enumerazione delle lingue.\n", "\"\"\"\n", "\n", "from src.element import EnumElement, finalize_enumeration\n", "\n", "\n", "#-------------------------------------------------------------------------------\n", "\n", "name = __name__[__name__.rfin...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.024691358024691357, 0, 0.047619047619047616, 0, 0, 0, 0, 0.024691358024691357, 0, 0, 0, 0, 0.010752688172043012, 0.008849557522123894, 0.008695652173913044, 0.01834862385321101, 0.03225806451612903, 0, 0, 0.024691358024691357, 0,...
1,345
0.001157
false
# System import json # SBaaS from .stage01_ale_trajectories_query import stage01_ale_trajectories_query from .stage01_ale_analysis_query import stage01_ale_analysis_query from SBaaS_base.sbaas_template_io import sbaas_template_io # Resources from io_utilities.base_importData import base_importData from io_utilities.b...
[ "# System\n", "import json\n", "# SBaaS\n", "from .stage01_ale_trajectories_query import stage01_ale_trajectories_query\n", "from .stage01_ale_analysis_query import stage01_ale_analysis_query\n", "\n", "from SBaaS_base.sbaas_template_io import sbaas_template_io\n", "# Resources\n", "from io_utilitie...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.011363636363636364, 0, 0, 0.015151515151515152, 0, 0, 0, 0.011764705882352941, 0, 0.02857142857142857, 0.029411764705882353, 0.034482758620689655, 0, 0.015873015873015872, 0.017241379310344827, 0.013888888888888888, 0.013888888...
270
0.029576
false
# -*- coding: utf-8 -*- from Plugins.Extensions.MediaPortal.plugin import _ from Plugins.Extensions.MediaPortal.resources.imports import * class autoBildGenreScreen(MPScreen): def __init__(self, session): MPScreen.__init__(self, session, skin='MP_Plugin') self["actions"] = ActionMap(["MP_Actions"], { "0" : ...
[ "# -*- coding: utf-8 -*-\n", "from Plugins.Extensions.MediaPortal.plugin import _\n", "from Plugins.Extensions.MediaPortal.resources.imports import *\n", "\n", "class autoBildGenreScreen(MPScreen):\n", "\n", "\tdef __init__(self, session):\n", "\t\tMPScreen.__init__(self, session, skin='MP_Plugin')\n"...
[ 0, 0, 0, 0, 0.02702702702702703, 0, 0.03333333333333333, 0.018867924528301886, 0, 0.020833333333333332, 0.08333333333333333, 0.09090909090909091, 0.03571428571428571, 0.1111111111111111, 0, 0.02564102564102564, 0.024390243902439025, 0, 0.043478260869565216, 0.023809523809523808...
115
0.03115
false
from PyQt4 import QtGui, QtCore from nupic_studio.ui import Global from nupic_studio.htm.node import NodeType, Node from nupic_studio.htm.node_region import Region from nupic_studio.htm.node_sensor import Sensor from nupic_studio.ui.node_region_form import RegionForm from nupic_studio.ui.node_sensor_form import ...
[ "from PyQt4 import QtGui, QtCore\r\n", "from nupic_studio.ui import Global\r\n", "from nupic_studio.htm.node import NodeType, Node\r\n", "from nupic_studio.htm.node_region import Region\r\n", "from nupic_studio.htm.node_sensor import Sensor\r\n", "from nupic_studio.ui.node_region_form import RegionForm\r\...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0.025, 0, 0.08695652173913043, 0, 0.043478260869565216, 0, 0, 0, 0, 0, 0, 0, 0, 0.14285714285714285, 0, 0.10526315789473684, 0, 0.047619047619047616, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
436
0.008277
false
# -*- coding: utf-8 -*- # Dictionary: iPhone* as keys and release years as values released = { "iPhone 1": 2007, "iPhone 1": 2017, "iPhone 3G": 2008, "iPhone 3GS": 2009, "iPhone 4": 2010, "iPhone 4S": 2011, "iPhone 5": 2012, "iPhone 5S": 2013, "iPhone 5C": 2013, "iPhone 5A": 2222 } print u"\nIteration über...
[ "# -*- coding: utf-8 -*-\n", "\n", "# Dictionary: iPhone* as keys and release years as values\n", "\n", "released = {\n", "\t\"iPhone 1\": 2007,\n", "\t\"iPhone 1\": 2017,\n", "\t\"iPhone 3G\": 2008,\n", "\t\"iPhone 3GS\": 2009,\n", "\t\"iPhone 4\": 2010,\n", "\t\"iPhone 4S\": 2011,\n", "\t\"i...
[ 0, 0, 0, 0, 0, 0.05263157894736842, 0.05263157894736842, 0.05, 0.047619047619047616, 0.05263157894736842, 0.05, 0.05263157894736842, 0.05, 0.05, 0.05263157894736842, 0, 0, 0, 0, 0.027777777777777776, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
261
0.042134
false
#!/usr/bin/env python import sys import argparse import os import subprocess import platform import io import string import difflib def expandPath(path): return os.path.abspath(os.path.expanduser(path)) def runTidy(args): tidyFix = "-fix" if args.fix else "" osInc = "" osIncList = [] if os.environ.get(...
[ "#!/usr/bin/env python\n", "\n", "import sys\n", "import argparse\n", "import os\n", "import subprocess\n", "import platform\n", "import io\n", "import string\n", "import difflib\n", "\n", "def expandPath(path):\n", " return os.path.abspath(os.path.expanduser(path))\n", "\n", "def run...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.045454545454545456, 0, 0, 0.05263157894736842, 0.02564102564102564, 0.07692307692307693, 0.058823529411764705, 0, 0.05, 0, 0, 0.05555555555555555, 0, 0, 0.058823529411764705, 0.027777777777777776, 0, 0, 0, 0.0138888888888...
252
0.020671
false
# -*- coding: utf-8 -*- __author__ = "Konstantin Klementiev", "Roman Chernikov" __date__ = "08 Mar 2016" #import matplotlib #matplotlib.use('agg') import os, sys; sys.path.append(os.path.join('..', '..', '..')) # analysis:ignore import numpy as np import pickle import time #import matplotlib #matplotlib.use("Agg") ...
[ "# -*- coding: utf-8 -*-\n", "__author__ = \"Konstantin Klementiev\", \"Roman Chernikov\"\n", "__date__ = \"08 Mar 2016\"\n", "\n", "#import matplotlib\n", "#matplotlib.use('agg')\n", "\n", "import os, sys; sys.path.append(os.path.join('..', '..', '..')) # analysis:ignore\n", "import numpy as np\n"...
[ 0, 0, 0, 0, 0.05263157894736842, 0.043478260869565216, 0, 0.03614457831325301, 0, 0, 0, 0.05263157894736842, 0.043478260869565216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.07692307692307693, 0, 0.027777777777777776, 0.027777777777777776, 0, 0.0...
436
0.001938
false
# GlamCI renderer # Modded and recoded by MCelliotG for use in Glamour skins or standalone, added Python3 support # If you use this Renderer for other skins and rename it, please keep the first and second line adding your credits below from __future__ import absolute_import from Components.Renderer.Renderer import...
[ "# GlamCI renderer\n", "# Modded and recoded by MCelliotG for use in Glamour skins or standalone, added Python3 support\n", "# If you use this Renderer for other skins and rename it, please keep the first and second line adding your credits below\n", "\n", "from __future__ import absolute_import\n", "f...
[ 0, 0.010309278350515464, 0.008130081300813009, 0, 0, 0, 0, 0, 0, 0.02631578947368421, 0.047619047619047616, 0.038461538461538464, 0.03333333333333333, 0.02, 0.01904761904761905, 0.02040816326530612, 0.058823529411764705, 0.038461538461538464, 0, 0.047619047619047616, 0, 0.0...
66
0.034821
false
#! /usr/bin/env python3 from http.server import BaseHTTPRequestHandler from http.server import HTTPServer #from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer import os, sys, urllib import requests import json ###### 全域變數建議區 (放此處較易理解) ##### #################################################### ...
[ "#! /usr/bin/env python3\r\n", "\r\n", "from http.server import BaseHTTPRequestHandler\r\n", "from http.server import HTTPServer\r\n", "#from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer\r\n", "\r\n", "import os, sys, urllib\r\n", "import requests\r\n", "import json\r\n", "\r\n", "###...
[ 0, 0, 0, 0, 0.015873015873015872, 0, 0.041666666666666664, 0, 0, 0, 0.030303030303030304, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.25, 0, 0, 0, 0, 0, 0.01639344262295082, 0, 0.1, 0.02702702702702703, 0.02702702702702703, 0.1, 0, 0.04761904761...
116
0.022824
false
# coding: utf-8 ''' Created on 3 may 2012 @author: Marc-Antoine Gouillart @license: Apache v2 ''' from consts import * import uuid import httplib import xml.etree.ElementTree as ET import base64 import sys from threading import Thread from xml.sax.saxutils import escape class WinRSConnection: """Represents a c...
[ "# coding: utf-8\n", "\n", "'''\n", "Created on 3 may 2012\n", "\n", "@author: Marc-Antoine Gouillart\n", "@license: Apache v2\n", "'''\n", "\n", "from consts import *\n", "import uuid\n", "import httplib\n", "import xml.etree.ElementTree as ET\n", "import base64\n", "import sys\n", "f...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.043478260869565216, 0, 0.027777777777777776, 0, 0, 0, 0, 0, 1, 0.02040816326530612, 0, 0.007042253521126761, 0.1111111111111111, 0, 0.0136986301369863, 0.022058823529411766, 0.0215827338129496...
165
0.041524
false
# -*- coding: utf-8 -*- from __future__ import (unicode_literals, division, absolute_import, print_function) __license__ = 'GPL 3' __copyright__ = '2011, Roman Mukhin <ramses_ru at hotmail.com>' __docformat__ = 'restructuredtext en' import random import re import urllib2 from contextlib import closing from lxml im...
[ "# -*- coding: utf-8 -*-\n", "\n", "from __future__ import (unicode_literals, division, absolute_import, print_function)\n", "\n", "__license__ = 'GPL 3'\n", "__copyright__ = '2011, Roman Mukhin <ramses_ru at hotmail.com>'\n", "__docformat__ = 'restructuredtext en'\n", "\n", "import random\n", "im...
[ 0, 0, 0.011764705882352941, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.02, 0, 0.2, 0, 0.1111111111111111, 0, 0, 0, 0, 0.1111111111111111, 0, 0, 0, 0, 0.009900990099009901, 0.1111111111111111, 0, 0.012345679012345...
159
0.013307
false
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. # # 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 Lice...
[ "# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.\n", "# Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n...
[ 0, 0.012345679012345678, 0, 0, 0, 0.011764705882352941, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047619047619047616, 0.037037037037037035, 0.02127659574468085, 0.022222222222222223, 0.05263157894736842, 0, 0.07142857142857142, 0.020618556701030927, 0.0666666666666666...
52
0.013361
false
#!/usr/bin/env python2 ## PYTHON 2!!!!!!!!!!!!!!!!!!! # -*- coding: utf-8 -*- #==============================================================================# import os import sys import re import StringIO import shutil # import tkFileDialog # import ttk import HTMLParser import re import base64 import Tkinter #-...
[ "#!/usr/bin/env python2\n", "## PYTHON 2!!!!!!!!!!!!!!!!!!!\n", "\n", "# -*- coding: utf-8 -*-\n", "\n", "#==============================================================================#\n", "import os\n", "import sys\n", "import re\n", "import StringIO\n", "import shutil\n", "# import tkFile...
[ 0, 0.03125, 0, 0, 0, 0.024691358024691357, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.024691358024691357, 0, 0, 0.024691358024691357, 0, 0, 0, 0, 0, 0, 0, 0.024691358024691357, 0, 0, 0, 0, 0, 0, 0, 0, 0.012345679012345678, 0, 0.01234567...
2,466
0.014947
false
from PyQt4 import Qt, QtCore, QtGui from PyQt4.QtCore import SIGNAL, QThread import mechanize from bs4 import BeautifulSoup import Web_Scrapper_Generic_UI, lxml, re, urlparse pages = set() #set is a data structure which accepts unique values it is required here because we want only unique link at every crawling cycle...
[ "from PyQt4 import Qt, QtCore, QtGui\n", "from PyQt4.QtCore import SIGNAL, QThread\n", "import mechanize\n", "from bs4 import BeautifulSoup\n", "import Web_Scrapper_Generic_UI, lxml, re, urlparse\n", "\n", "pages = set()\n", "#set is a data structure which accepts unique values it is required here bec...
[ 0, 0, 0, 0, 0.0196078431372549, 0, 0, 0.022727272727272728, 0, 0.02702702702702703, 0, 0, 0.03773584905660377, 0, 0.0392156862745098, 0, 0.058823529411764705, 0, 0.024691358024691357, 0, 0.0125, 0, 0.034482758620689655, 0.008928571428571428, 0.013157894736842105, 0....
216
0.011446
false
# -*- coding: utf-8 -* # -*- coding: utf-8 -* #/* # * Copyright (C) 2010-2012 AKGDRG <akgdrg@gmail.com> # * # * This Program is free software; you can redistribute it and/or modify # * it under the terms of the GNU General Public License as published by # * the Free Software Foundation; either version 2, or (a...
[ "# -*- coding: utf-8 -*\n", "# -*- coding: utf-8 -*\n", "#/*\n", "# * Copyright (C) 2010-2012 AKGDRG <akgdrg@gmail.com>\n", "# *\n", "# * This Program is free software; you can redistribute it and/or modify\n", "# * it under the terms of the GNU General Public License as published by\n", "# * ...
[ 0, 0, 0.25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.017543859649122806, 0.022727272727272728, 0, 0, 0, 0, 0, 0, 0, 0, 0.08333333333333333, 0.09090909090909091, 0.058823529411764705, 0, 0, 0, 0, 0, 0, 0, 0, 0.03125, ...
645
0.091868
false
# # GeoTiler - library to create maps using tiles from a map provider # # Copyright (C) 2014 by Artur Wroblewski <wrobell@pld-linux.org> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either...
[ "#\n", "# GeoTiler - library to create maps using tiles from a map provider\n", "#\n", "# Copyright (C) 2014 by Artur Wroblewski <wrobell@pld-linux.org>\n", "#\n", "# This program is free software: you can redistribute it and/or modify\n", "# it under the terms of the GNU General Public License as publi...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.029411764705882353, 0, 0, 0, 0, 0, 0, 0,...
89
0.001171
false
# -*- coding: utf-8 -*- from Plugins.Extensions.MediaPortal.plugin import _ from Plugins.Extensions.MediaPortal.resources.imports import * from Plugins.Extensions.MediaPortal.resources.packer import unpack, detect def flashx(self, data): getSmilUrl = re.search('file: "(http:.*?\.smil)"', data, re.S) if not getSmilU...
[ "# -*- coding: utf-8 -*-\n", "from Plugins.Extensions.MediaPortal.plugin import _\n", "from Plugins.Extensions.MediaPortal.resources.imports import *\n", "from Plugins.Extensions.MediaPortal.resources.packer import unpack, detect\n", "\n", "def flashx(self, data):\n", "\tgetSmilUrl = re.search('file: \"...
[ 0, 0, 0, 0, 0, 0.041666666666666664, 0.03125, 0.05, 0.019230769230769232, 0.047619047619047616, 0.02857142857142857, 0.02857142857142857, 0.058823529411764705, 0.028169014084507043, 0.015625, 0.05263157894736842, 0.015873015873015872, 0.1, 0.05263157894736842, 0.0625, 0.01840...
37
0.039909
false
import logging logging.basicConfig(level=logging.INFO) import json import discord from discord.ext import commands import random from discord.errors import * from discord.enums import ChannelType import datastore import tags TOKEN = "Token" CLIENT_ID = 9999999999999 mapurl = "http://freakus.me/~minecraft/map/#/%...
[ "import logging\n", "logging.basicConfig(level=logging.INFO)\n", "\n", "import json\n", "\n", "import discord\n", "from discord.ext import commands\n", "import random\n", "\n", "from discord.errors import *\n", "from discord.enums import ChannelType\n", "\n", "import datastore\n", "import ...
[ 0, 0, 0, 0.08333333333333333, 0, 0.06666666666666667, 0.030303030303030304, 0.07142857142857142, 0, 0.034482758620689655, 0.02631578947368421, 0, 0.058823529411764705, 0.08333333333333333, 0, 0, 0, 0, 0, 0, 0, 0.02040816326530612, 0.018518518518518517, 0.016949152542372...
411
0.006197
false
#!/usr/bin/env python # -*- coding: utf-8 -*- import pygtk pygtk.require('2.0') import gtk import pango import os #from communication.Communication import Comm from pyLogoCompiler import pyYacc from pyLogoCompiler.Communication import GoGoComms def message(text, dialog_type, buttons_type): """ ...
[ "#!/usr/bin/env python\r\n", "# -*- coding: utf-8 -*-\r\n", "\r\n", "import pygtk\r\n", "pygtk.require('2.0')\r\n", "import gtk\r\n", "\r\n", "import pango\r\n", "import os\r\n", "\r\n", "#from communication.Communication import Comm\r\n", "from pyLogoCompiler import pyYacc\r\n", "from pyLog...
[ 0, 0, 0, 0, 0, 0.08333333333333333, 0, 0.07142857142857142, 0.09090909090909091, 0, 0.02127659574468085, 0.02857142857142857, 0.019230769230769232, 0, 0.02127659574468085, 0, 0, 0, 0.16666666666666666, 0.011111111111111112, 0, 0, 0, 0.041666666666666664, 0, 0.060606...
399
0.028517
false
 def process_unbalanced_fault( i, num_lines, workbook, report_lines, report_processor ): worksheet = workbook.add_worksheet('UnbalancedFault') output_line = 1 bold = workbook.add_format({'bold': True}) worksheet.write( 0, 0, 'Nome', bold ) worksheet.write( 0, 1, 'Ik"(kA)', bold ) workshee...
[ " \n", "def process_unbalanced_fault( i, num_lines, workbook, report_lines, report_processor ):\n", " worksheet = workbook.add_worksheet('UnbalancedFault')\n", " output_line = 1\n", " \n", " bold = workbook.add_format({'bold': True})\n", " worksheet.write( 0, 0, 'Nome', bold )\n", " ...
[ 0.5, 0.03409090909090909, 0, 0, 0.2, 0, 0.047619047619047616, 0.044444444444444446, 0.044444444444444446, 0.045454545454545456, 0.043478260869565216, 0.045454545454545456, 0.045454545454545456, 0.04878048780487805, 0.2, 0, 0, 0.2, 0, 0, 0, 0, 0, 0.04040404040404041, 0...
60
0.040146
false
#coding:utf-8 #强制使用utf-8编码格式 import smtplib #加载smtplib模块 from email.mime.text import MIMEText from email.utils import formataddr my_sender='kanchpybot@163.com' #发件人邮箱账号,为了后面易于维护,所以写成了变量 my_sender_password = "XYZ2016python" #发件人邮箱 #my_user='1075900121@qq.com' #收件人邮箱账号,为了后面易于维护,所以写成了变量 #This function send mail use ka...
[ "#coding:utf-8 #强制使用utf-8编码格式\n", "import smtplib #加载smtplib模块\n", "from email.mime.text import MIMEText\n", "from email.utils import formataddr\n", "my_sender='kanchpybot@163.com' #发件人邮箱账号,为了后面易于维护,所以写成了变量\n", "my_sender_password = \"XYZ2016python\" #发件人邮箱\n", "#my_user='1075900121@qq.com' #收件人邮箱账号,为...
[ 0.03333333333333333, 0.07142857142857142, 0, 0, 0.05263157894736842, 0.022222222222222223, 0.01818181818181818, 0, 0.020833333333333332, 0.09375, 0.06060606060606061, 0, 0.03076923076923077, 0, 0.03636363636363636, 0, 0.10714285714285714, 0.18181818181818182, 0.06666666666666667,...
34
0.077626
false
from django.db import models from django.utils.html import format_html class Home (models.Model): """ model for holding home page contents -- basically a stellar powered slider """ slider_image = models.ImageField (upload_to="static") image_title = models.CharField ("Image Title", max_length = 256...
[ "from django.db import models\r\n", "from django.utils.html import format_html\r\n", "\r\n", "class Home (models.Model):\r\n", " \"\"\" model for holding home page contents -- basically a stellar powered slider \"\"\"\r\n", "\r\n", " slider_image = models.ImageField (upload_to=\"static\")\r\n", ...
[ 0, 0, 0, 0.03571428571428571, 0.011363636363636364, 0, 0.01694915254237288, 0.04285714285714286, 0.04878048780487805, 0.022727272727272728, 0, 0.034482758620689655, 0.023809523809523808, 0.020833333333333332, 0, 0.04, 0, 0, 0.022388059701492536, 0, 0, 0, 0, 0, 0, 0,...
152
0.012986
false
# -*- coding:utf-8 -*- import urllib import urllib2 import json from voice2cmd import voice2cmd def joinRoom(url): url=url+'join' values ={'trainer':'rsj'} # 对数据进行JSON格式化编码 jdata = json.dumps(values) req = urllib2.Request(url, jdata) # 生成页面请求的完整数据 response = urllib2.urlopen(req) # 发送页面请求...
[ "# -*- coding:utf-8 -*-\n", "import urllib\n", "import urllib2\n", "import json\n", "from voice2cmd import voice2cmd\n", "\n", "def joinRoom(url):\n", "\turl=url+'join'\n", "\tvalues ={'trainer':'rsj'} # 对数据进行JSON格式化编码\n", "\tjdata = json.dumps(values)\n", "\treq = urllib2.Request(u...
[ 0, 0, 0, 0, 0, 0, 0.05263157894736842, 0.125, 0.05357142857142857, 0.03571428571428571, 0.01818181818181818, 0.020833333333333332, 0.017241379310344827, 0, 0.04, 0.05555555555555555, 0.16666666666666666, 0.022727272727272728, 0.08333333333333333, 0.08, 0.045454545454545456, ...
59
0.044448
false
####################################################################### # # Copyright 2009-2010 by Ullrich Koethe # # This file is part of the VIGRA computer vision library. # The VIGRA Website is # http://hci.iwr.uni-heidelberg.de/vigra/ # Please direct questions, bug reports, and contribution...
[ "#######################################################################\n", "#\n", "# Copyright 2009-2010 by Ullrich Koethe\n", "#\n", "# This file is part of the VIGRA computer vision library.\n", "# The VIGRA Website is\n", "# http://hci.iwr.uni-heidelberg.de/vigra/\n", "# P...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.037037037037037035, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0238095238...
2,699
0.008569
false
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. # # 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 Lice...
[ "# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.\n", "# Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n...
[ 0, 0.012345679012345678, 0, 0, 0, 0.011764705882352941, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047619047619047616, 0.037037037037037035, 0.02702702702702703, 0.02564102564102564, 0.024390243902439025, 0, 0.07142857142857142, 0.02040816326530612, 0.06666666666666667...
78
0.009033
false
import clr, sys clr.AddReference('ZyGames.Framework.Common'); clr.AddReference('ZyGames.Framework'); clr.AddReference('ZyGames.Framework.Game'); clr.AddReference('ZyGames.Tianjiexing.Model'); clr.AddReference('ZyGames.Tianjiexing.BLL'); clr.AddReference('ZyGames.Tianjiexing.Lang'); from action import * from ...
[ "import clr, sys\r\n", "clr.AddReference('ZyGames.Framework.Common');\r\n", "clr.AddReference('ZyGames.Framework');\r\n", "clr.AddReference('ZyGames.Framework.Game');\r\n", "clr.AddReference('ZyGames.Tianjiexing.Model');\r\n", "clr.AddReference('ZyGames.Tianjiexing.BLL');\r\n", "clr.AddReference('ZyGame...
[ 0.058823529411764705, 0.02127659574468085, 0.025, 0.022222222222222223, 0.020833333333333332, 0.021739130434782608, 0.02127659574468085, 0, 0.045454545454545456, 0.045454545454545456, 0.023809523809523808, 0.022727272727272728, 0.024390243902439025, 0.02564102564102564, 0.025, 0.022727...
90
0.027663
false
# -*- coding: UTF-8 -*- # by Mafarricos # email: MafaStudios@gmail.com # This program is free software: GNU General Public License import os,urllib import links,search from resources.libs import basic def createstrm(name,imdbid,year,url): addon_id = links.link().muchm_id addon_path = os.path.join(links.link().insta...
[ "# -*- coding: UTF-8 -*-\n", "# by Mafarricos\n", "# email: MafaStudios@gmail.com\n", "# This program is free software: GNU General Public License\n", "import os,urllib\n", "import links,search\n", "from resources.libs import basic\n", "\n", "def createstrm(name,imdbid,year,url):\n", "\taddon_id =...
[ 0, 0, 0, 0, 0.11764705882352941, 0.1, 0, 0, 0.10526315789473684, 0.029411764705882353, 0.03125, 0.016129032258064516, 0.02, 0.0392156862745098, 0.02631578947368421, 0.02702702702702703, 0, 0.03418803418803419, 0.030303030303030304, 0.1, 0.05555555555555555, 0.02816901408450...
28
0.042512
false
import theano.tensor as t def cropExtremes(x) : # protect the loss function against producing NaNs/Inf return t.clip(x, 1e-7, 1.0 - 1e-7) def crossEntropyLoss (p, q, axis=None, crop=True): '''For these purposes this is equivalent to Negative Log Likelihood this is the average of all cross-entropie...
[ "import theano.tensor as t\n", "\n", "def cropExtremes(x) :\n", " # protect the loss function against producing NaNs/Inf\n", " return t.clip(x, 1e-7, 1.0 - 1e-7)\n", "\n", "def crossEntropyLoss (p, q, axis=None, crop=True):\n", " '''For these purposes this is equivalent to Negative Log Likeli...
[ 0, 0, 0.09090909090909091, 0, 0, 0, 0.0392156862745098, 0, 0, 0, 0, 0, 0.0125, 0.013333333333333334, 0.013513513513513514, 0.013157894736842105, 0, 0, 0, 0, 0, 0, 0, 0.13333333333333333, 0, 0.05, 0, 0.09090909090909091, 0, 0, 0.05357142857142857, 0, 0,...
166
0.008989
false
import discord from sigma.core.rolecheck import matching_role, user_matching_role async def shopbuy(cmd, message, args): if not args: status = discord.Embed(type='rich', color=0xDB0000, title='❗ Insufficient Arguments.') await message.channel.send(None, embed=status...
[ "import discord\n", "from sigma.core.rolecheck import matching_role, user_matching_role\n", "\n", "\n", "async def shopbuy(cmd, message, args):\n", " if not args:\n", " status = discord.Embed(type='rich', color=0xDB0000,\n", " title='❗ Insufficient Arguments.')\...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.011764705882352941, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
38
0.00031
false
import ast import hashlib from json import dumps, loads import os from Queue import Queue import random import sys import time import threading import urllib import deserialize from processor import Processor, print_log from utils import * from storage import Storage import utils from utils import logger class Block...
[ "import ast\n", "import hashlib\n", "from json import dumps, loads\n", "import os\n", "from Queue import Queue\n", "import random\n", "import sys\n", "import time\n", "import threading\n", "import urllib\n", "\n", "import deserialize\n", "from processor import Processor, print_log\n", "fro...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.02631578947368421, 0, 0, 0, 0, 0, 0.06666666666666667, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.01818181818181818, 0, 0, 0, 0, 0, 0,...
867
0.004008
false
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. # # 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 Lice...
[ "# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.\n", "# Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n...
[ 0, 0.012345679012345678, 0, 0, 0, 0.011764705882352941, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047619047619047616, 0.037037037037037035, 0.02631578947368421, 0.03125, 0.02564102564102564, 0.029411764705882353, 0.02702702702702703, 0.02127659574468085, 0.0...
144
0.006269
false
# -*- coding: utf-8 -*- import re import os import sys import xbmc import urllib import xbmcvfs import xbmcaddon import xbmcgui,xbmcplugin from bs4 import BeautifulSoup __addon__ = xbmcaddon.Addon() __author__ = __addon__.getAddonInfo('author') __scriptid__ = __addon__.getAddonInfo('id') __scriptname__ = __add...
[ "# -*- coding: utf-8 -*-\n", "\n", "import re\n", "import os\n", "import sys\n", "import xbmc\n", "import urllib\n", "import xbmcvfs\n", "import xbmcaddon\n", "import xbmcgui,xbmcplugin\n", "from bs4 import BeautifulSoup\n", "\n", "__addon__ = xbmcaddon.Addon()\n", "__author__ = __addo...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.07692307692307693, 0, 0, 0, 0.02, 0.021739130434782608, 0, 0.0196078431372549, 0.021739130434782608, 0, 0.046511627906976744, 0.0449438202247191, 0.06060606060606061, 0.05555555555555555, 0, 0.03225806451612903, 0, 0, 0, 0, 0.045...
225
0.013966
false
# -------------------------------------------------------------------------- # # Copyright (c) Microsoft Corporation. All rights reserved. # # The MIT License (MIT) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the ""Software""),...
[ "# --------------------------------------------------------------------------\n", "#\n", "# Copyright (c) Microsoft Corporation. All rights reserved.\n", "#\n", "# The MIT License (MIT)\n", "#\n", "# Permission is hereby granted, free of charge, to any person obtaining a copy\n", "# of this software a...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.014705882352941176, 0.014925373134328358, 0, 0, 0, 0, 0, 0.0196078431372549, 0, 0.017241379310344827, 0.01562...
170
0.00392
false
# -*- coding: utf-8 -*- # ------------------------------------------------------------ # pelisalacarta 4 # Copyright 2015 tvalacarta@gmail.com # http://blog.tvalacarta.info/plugin-xbmc/pelisalacarta/ # # Distributed under the terms of GNU General Public License v3 (GPLv3) # http://www.gnu.org/licenses/gpl-3.0.html # -...
[ "# -*- coding: utf-8 -*-\n", "# ------------------------------------------------------------\n", "# pelisalacarta 4\n", "# Copyright 2015 tvalacarta@gmail.com\n", "# http://blog.tvalacarta.info/plugin-xbmc/pelisalacarta/\n", "#\n", "# Distributed under the terms of GNU General Public License v3 (GPLv3)\...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.04054054054054054, 0.06060606060606061, 0, 0, 0.041666666666666664, 0.027777777777777776, 0, 0, 0, 0.02912621359223301, 0.02...
504
0.015526
false
from core.protocol import config, events, commands, log import inspect, sys, traceback handlers = {} # Decorator to register an event handler. def registerEvent(name,priority=5): def wrapper(func): plname = str(func.__module__).split('.',1)[1] log.debug("Registering event '%s' for plugin %s" % (n...
[ "from core.protocol import config, events, commands, log\n", "import inspect, sys, traceback\n", "\n", "handlers = {}\n", "\n", "# Decorator to register an event handler.\n", "def registerEvent(name,priority=5):\n", " def wrapper(func):\n", " plname = str(func.__module__).split('.',1)[1]\n...
[ 0, 0.03225806451612903, 0, 0, 0, 0, 0.05555555555555555, 0, 0.018518518518518517, 0, 0.03076923076923077, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.05405405405405406, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.11111111...
107
0.017591
false
#from SBaaS_LIMS.lims_quantitationMethod_postgresql_models import * #from .lims_msMethod_query import lims_msMethod_query from SBaaS_LIMS.lims_calibratorsAndMixes_query import lims_calibratorsAndMixes_query class lims_quantitationMethod_query(lims_calibratorsAndMixes_query, #lims_ms...
[ "#from SBaaS_LIMS.lims_quantitationMethod_postgresql_models import *\n", "#from .lims_msMethod_query import lims_msMethod_query\n", "from SBaaS_LIMS.lims_calibratorsAndMixes_query import lims_calibratorsAndMixes_query\n", "class lims_quantitationMethod_query(lims_calibratorsAndMixes_query,\n", " ...
[ 0.014705882352941176, 0.018518518518518517, 0.011764705882352941, 0.014705882352941176, 0.017241379310344827, 0, 0, 0.021739130434782608, 0, 0.014084507042253521, 0.03076923076923077, 0.07407407407407407, 0.019230769230769232, 0.03125, 0.022727272727272728, 0, 0.030303030303030304, ...
284
0.016848
false
# -*- coding: utf-8 -*- # ProjectEuler/src/python/problem339.py # # Peredur fab Efrawg # ================== # Published on Sunday, 22nd May 2011, 04:00 am # # "And he came towards a valley, through which ran a river; and the borders of # the valley were wooded, and on each side of the river were level meadows. And # o...
[ "# -*- coding: utf-8 -*-\n", "# ProjectEuler/src/python/problem339.py\n", "#\n", "# Peredur fab Efrawg\n", "# ==================\n", "# Published on Sunday, 22nd May 2011, 04:00 am\n", "#\n", "# \"And he came towards a valley, through which ran a river; and the borders of\n", "# the valley were wood...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.08333333333333333, 0, 0, 0.037037037037037035, 0 ]
29
0.004151
false
""" VOA Persian Kodi Plugin - written by Ali Jannatpour My First Plugin and I hate python! Credits: http://kodi.wiki/view/Audio-video_add-on_tutorial https://www.codecademy.com/glossary/python http://kodi.wiki/view/List_of_built-in_functions http://kodi.wiki/view/HOW-TO:Write_python_scripts """ impor...
[ "\"\"\"\n", " VOA Persian Kodi Plugin - written by Ali Jannatpour\n", " My First Plugin and I hate python!\n", "\n", " Credits:\n", "\thttp://kodi.wiki/view/Audio-video_add-on_tutorial\n", "\thttps://www.codecademy.com/glossary/python\n", "\thttp://kodi.wiki/view/List_of_built-in_functions\n"...
[ 0, 0, 0, 0, 0, 0.0392156862745098, 0.022727272727272728, 0.02, 0.0196078431372549, 0, 0, 0.08333333333333333, 0.12962962962962962, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.02...
229
0.041324
false
########################################################################### # (C) 2016 Elettra - Sincrotrone Trieste S.C.p.A.. All rights reserved. # # # # # # This file is ...
[ "###########################################################################\n", "# (C) 2016 Elettra - Sincrotrone Trieste S.C.p.A.. All rights reserved. #\n", "# #\n", "# ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.011627906976744186, 0, 0, 0, 0, 0, 0.010416666666666666, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.07692307692307693, 0.07692307692307693, 0,...
188
0.095866
false
# -*- coding: utf-8 -*- """ Plugin for streaming video content from video.walla.co.il """ import urllib, re, xbmc, xbmcplugin, xbmcaddon, os, sys import repoCheck ##General vars __plugin__ = "walla" __author__ = "shlomicthailand" __settings__ = xbmcaddon.Addon(id='plugin.video.wallaNew.video') __DEBUG__ = __set...
[ "# -*- coding: utf-8 -*-\n", "\n", "\"\"\"\n", " Plugin for streaming video content from video.walla.co.il\n", "\"\"\"\n", "import urllib, re, xbmc, xbmcplugin, xbmcaddon, os, sys\n", "import repoCheck\n", "\n", "##General vars\n", "__plugin__ = \"walla\"\n", "__author__ = \"shlomicthailand\"...
[ 0, 0, 0, 0, 0, 0.017857142857142856, 0, 0, 0.06666666666666667, 0, 0, 0, 0, 0, 0, 0, 0.058823529411764705, 0.037037037037037035, 0, 0.038461538461538464, 0, 0, 0, 0.05555555555555555, 0.08333333333333333, 0.014084507042253521, 0.013513513513513514, 0.01369863013...
90
0.10609
false
#------------------------------------------------------------------------- # Copyright (c) Microsoft. All rights reserved. # # 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://w...
[ "#-------------------------------------------------------------------------\r\n", "# Copyright (c) Microsoft. All rights reserved.\r\n", "#\r\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\r\n", "# you may not use this file except in compliance with the License.\r\n", "# You may...
[ 0.013157894736842105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.012987012987012988, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
96
0.000272
false
#!/usr/bin/env python # # VM Backup extension # # Copyright 2015 Microsoft Corporation # # 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 # # ...
[ "#!/usr/bin/env python\n", "#\n", "# VM Backup extension\n", "#\n", "# Copyright 2015 Microsoft Corporation\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n", "# You may obtain a copy of the Lice...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.017241379310344827, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
181
0.010884
false
# -*- coding: utf-8 -*- import sys import os import json import operator def init(): p = 'C:/Users/Elias/Dropbox/__WikiNetworks/Master_Projekt/ngrams/' #output_top1000 = 'D:/Dropbox/__WikiNetworks/Master_Projekt/ngrams/top1000/' #output_json = 'D:/Dropbox/__WikiNetworks/Master_Projekt/ngrams/sorted/' ...
[ "# -*- coding: utf-8 -*-\n", "import sys\n", "import os\n", "import json\n", "import operator\n", "\n", "def init():\n", "\n", " p = 'C:/Users/Elias/Dropbox/__WikiNetworks/Master_Projekt/ngrams/'\n", " #output_top1000 = 'D:/Dropbox/__WikiNetworks/Master_Projekt/ngrams/top1000/'\n", " #o...
[ 0, 0, 0, 0, 0, 0, 0.08333333333333333, 0, 0, 0.024691358024691357, 0.012987012987012988, 0, 0, 0, 0.06666666666666667, 0.2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.058823529411764705, 0, 0.2, 0, 0, 0, 0.1111111111111111, 0, 0.055555555555555...
41
0.028054
false
# Sound Mixer Acquisition from Live Registry # Retrieves a list of applications with sound stored by # Windows in the Sound Mixer preferences from a live system. # Version 1.0 # @bbaskin - brian [at] thebaskins [dot] com # Released 11 Nov 14 from __future__ import unicode_literals import datetime import sys try: ...
[ "# Sound Mixer Acquisition from Live Registry\n", "# Retrieves a list of applications with sound stored by\n", "# Windows in the Sound Mixer preferences from a live system.\n", "# Version 1.0\n", "# @bbaskin - brian [at] thebaskins [dot] com\n", "# Released 11 Nov 14\n", "\n", "from __future__ import ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047619047619047616, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.025974025974025976, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.008695652173913044, 0, 0, 0.008620689655172414, 0, 0, 0.010101010101010102...
116
0.010105
false
""" This module contain solvers for all kinds of equations: - algebraic or transcendental, use solve() - recurrence, use rsolve() - differential, use dsolve() - nonlinear (numerically), use nsolve() (you will need a good starting point) """ from __future__ import print_function, division f...
[ "\"\"\"\n", "This module contain solvers for all kinds of equations:\n", "\n", " - algebraic or transcendental, use solve()\n", "\n", " - recurrence, use rsolve()\n", "\n", " - differential, use dsolve()\n", "\n", " - nonlinear (numerically), use nsolve()\n", " (you will need a ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.034482758620689655, 0, 0, 0, 0, 0.012658227848101266, 0.013888888888888888, 0, 0, 0, 0, 0, 0.012195121951219513, 0, 0, 0, 0, 0, 0, 0, 0.08333333333333333, 0, 0, 0, 0, 0, 0, 0,...
3,261
0.00058
false
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect # Corporation. # # 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 L...
[ "# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.\n", "# Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect\n", "# Corporation.\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047619047619047616, 0.037037037037037035, 0.02702702702702703, 0.02127659574468085, 0.017543859649122806, 0, 0.02, 0.010101010101010102, 0, 0.006578947368421052, 0, 0.02631578947368421, 0.0555555...
79
0.004581
false
 bl_info = { "name": "High- and Lowpoly Mesh Tools", "author": "Ramon Brülisauer", "version": (0, 0, 20160119), "blender": (2, 76, 0), "location": "Properties > Scene > High-/Lowpoly Mesh, Properties > Object > High-/Lowpoly Mesh", "description": "Blender addon for working with high and lowpoly meshes", "warn...
[ "\n", "\n", "\n", "bl_info = {\n", "\t\"name\": \"High- and Lowpoly Mesh Tools\",\n", "\t\"author\": \"Ramon Brülisauer\",\n", "\t\"version\": (0, 0, 20160119),\n", "\t\"blender\": (2, 76, 0),\n", "\t\"location\": \"Properties > Scene > High-/Lowpoly Mesh, Properties > Object > High-/Lowpoly Mesh\",...
[ 0, 0, 0, 0.08333333333333333, 0.024390243902439025, 0.03225806451612903, 0.03333333333333333, 0.041666666666666664, 0.02040816326530612, 0.013513513513513514, 0.03571428571428571, 0.015151515151515152, 0.014084507042253521, 0.047619047619047616, 0, 0, 0.09090909090909091, 0.1, 0,...
889
0.00503
false
''' ------------------------------------------------------------------------------ Copyright (c) 2015 Microsoft Corporation 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 restr...
[ "'''\r\n", "------------------------------------------------------------------------------\r\n", " Copyright (c) 2015 Microsoft Corporation\r\n", "\r\n", " Permission is hereby granted, free of charge, to any person obtaining a copy\r\n", " of this software and associated documentation files (the \"Softwa...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.012048192771084338, 0, 0,...
106
0.000214
false
from __future__ import division from drivepy import visaconnection from time import sleep NPLC=1 # Default integration time class SMU(object): """ Class for the source measure unit which provides high level commands for setting and reading the current """ def __init__(self,addr="GPIB::25",autoZero=True,disable...
[ "from __future__ import division\n", "from drivepy import visaconnection\n", "from time import sleep\n", "NPLC=1 # Default integration time\n", "class SMU(object):\n", " \"\"\" Class for the source measure unit which provides high level commands for setting and reading the current \"\"\"\n", " def...
[ 0, 0, 0, 0.058823529411764705, 0.05263157894736842, 0.008547008547008548, 0.045454545454545456, 0.028985507246376812, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.022988505747126436, 0, 0, 0.06818181818181818, 0, 0, 0, 0.009615384615384616, 0.017543859649122806, 0, 0.0099009900...
83
0.025738
false
# -*- coding: utf-8 -* #/* import string, xbmc, xbmcgui, xbmcplugin, os, xbmcaddon addon = xbmcaddon.Addon(id='plugin.video.shura.tv') step = addon.getSetting('BigStepForward') try: item=xbmcgui.ListItem('', '', '', '') archiveName=str(xbmc.Player().getVideoInfoTag().getTitle()) #xbmc.log('Name0='+archi...
[ "# -*- coding: utf-8 -*\r\n", "#/*\r\n", "import string, xbmc, xbmcgui, xbmcplugin, os, xbmcaddon\r\n", "\r\n", "addon = xbmcaddon.Addon(id='plugin.video.shura.tv')\r\n", "step = addon.getSetting('BigStepForward')\r\n", "\r\n", "try:\r\n", "\titem=xbmcgui.ListItem('', '', '', '')\r\n", "\tarchiveN...
[ 0, 0.2, 0.017543859649122806, 0, 0, 0, 0, 0, 0.05, 0.03225806451612903, 0.058823529411764705, 0.034482758620689655, 0.06451612903225806, 0.03389830508474576, 0.05128205128205128, 0.05405405405405406, 0.030303030303030304, 0.03333333333333333, 0.05128205128205128, 0.015625, 0....
27
0.041433
false