blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
5931da6e621de693f03b90ac6f968fe58292af30
0b9e884be78ecc22a44a94e2c1cabefd637b9ed0
/Python_Talk/mpt-master/ch02/extract_last_name.py
803a0cdeb79e217e676a77193830574a93344346
[]
no_license
marcovnyc/penguin-code
6ba3faa5f21186918e2d08f5a0fcacebb2697e56
a0c1f91219ff74a8bb8e9fd3375b03b667056b54
refs/heads/master
2021-12-22T15:04:26.002512
2021-12-16T04:01:40
2021-12-16T04:01:40
7,264,458
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
email = "John.Smith@uky.edu" pos1 = email.find(".") print(pos1) pos2 = email.find("@") print(pos2) last_name = email[(1 + pos1):pos2] print(last_name)
[ "penguin@penguin.com" ]
penguin@penguin.com
462162f1b42c13ba961afdd40902631925aaed49
e5e2b7da41fda915cb849f031a0223e2ac354066
/sdk/python/pulumi_azure_native/desktopvirtualization/v20200921preview/workspace.py
8b2f9d037a17b8afcdff4d138cf389272a517adc
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
johnbirdau/pulumi-azure-native
b7d3bdddeb7c4b319a7e43a892ddc6e25e3bfb25
d676cc331caa0694d8be99cb90b93fa231e3c705
refs/heads/master
2023-05-06T06:48:05.040357
2021-06-01T20:42:38
2021-06-01T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,340
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
[ "noreply@github.com" ]
johnbirdau.noreply@github.com
f9021ca1cf0217b497206a1f2838a865d2657ac1
443585e4fc146308b18bc2f9234d0947da38d3e5
/practice/sort_algorithm/quick.py
301569f6c4d420dfda71aa4df345eaef5a7304b2
[]
no_license
ggyudongggyu/20201208commit
b524c4a7fb241cacaacffa5882c55d1d0ccba11f
fbb58a8ed06f454a2a79a9b8c75deabaec62b317
refs/heads/master
2023-02-02T21:59:51.518218
2020-12-24T14:32:21
2020-12-24T14:32:21
319,578,473
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
import random def swap(array, a, b): array[a], array[b] = array[b], array[a] def quick_sorted(arr): if len(arr) > 1: pivot = arr[len(arr)-1] left, mid, right = [], [], [] for i in range(len(arr)-1): if arr[i] < pivot: left.append(arr[i]) elif arr...
[ "donggyu0219@gmail.com" ]
donggyu0219@gmail.com
6002269b701215052d90ab8bf91f98db97464deb
5924c3cc10a89d00212bcdb768b0ff1bb01c0bdf
/qsnake/mesh2d/mesh.py
9d5e5ac50d16aaad9817116ba5d28d80f0931f9e
[ "BSD-3-Clause" ]
permissive
qsnake/libqsnake
332cd34b9d35d3dae4691e84a329f4b723c94448
a73cbd641d86e3bab68a3f030b6f2e1564dd0e0f
refs/heads/master
2021-03-12T19:45:40.753119
2012-03-22T07:05:19
2012-03-22T07:05:19
1,372,877
0
0
null
null
null
null
UTF-8
Python
false
false
19,052
py
import sys from math import sqrt from numpy import array from plot import plot_mesh_mpl, return_mpl_figure import triangulation class Mesh: """ Represents a FE mesh. Currently the mesh is 2D and is defined by a set of nodes and elements. Elements could be either a set of 3 nodes (triangle) or 4 node...
[ "ondrej@certik.cz" ]
ondrej@certik.cz
ad9ea2a4e37bc1fc1c6731208c8042f6ef6f3826
2967a6fa8065ecb68683b0499f66f65b9ab646c1
/Programowanie_obiektowe/7_Funkcja jako obiekt/przyklad_3/main.py
ddc1185032c15260ced9277cfff8b1591cdbbe04
[]
no_license
keinam53/Python_Poczatek
f285836a4aa7d261f25bcc4add253e894c30e65e
ccb05f3918cc94c925055c78627cba28482ce5bb
refs/heads/master
2023-05-01T06:41:56.414754
2021-05-13T19:30:30
2021-05-13T19:30:30
363,479,245
1
0
null
null
null
null
UTF-8
Python
false
false
667
py
from estudent.school import School from estudent.grade_calculator import GradeCalculator def run_example(): school = School.create_school_with_students("Moja szkoła") students = school.students for student in students: print(student) print("-" * 20) # for student in students: # st...
[ "mariusz.baran536@gmail.com" ]
mariusz.baran536@gmail.com
0e34d7f6cecee54fa239ad5212000825a85e6a86
b83ac23819fd7ba998563f2ad870405bdd07cc2b
/experiments/training/v11/minimal_defense/tabular_q_learning/run.py
0faa5694e129f5168e62cd9c744a6acc7e4f0998
[ "MIT" ]
permissive
Limmen/gym-idsgame
699abd2894bce15108f1606f5fb71f612dd7ba03
d10830fef55308d383c98b41b34688a7fceae357
refs/heads/master
2023-09-01T17:32:16.768138
2023-08-22T12:00:53
2023-08-22T12:00:53
247,794,752
49
12
MIT
2021-04-21T07:50:06
2020-03-16T19:00:27
Python
UTF-8
Python
false
false
9,385
py
import os import time import glob import sys from gym_idsgame.config.runner_mode import RunnerMode from gym_idsgame.agents.training_agents.q_learning.q_agent_config import QAgentConfig from gym_idsgame.agents.dao.agent_type import AgentType from gym_idsgame.config.client_config import ClientConfig from gym_idsgame.runn...
[ "kimham@kth.se" ]
kimham@kth.se
94e28d40f84841f5f016bab63fc774b086e182a6
518c235d86adfd4aa370319425588487ab095001
/parser/app/log_parser.py
07ace7386f2573910fb62ced83ae55a3cf1383f2
[]
no_license
nicolasteodosio/labsparser
135fe087412ecc8ed521f5092592b372bc127a5a
8a0aaff283b13eb945e95c3ec3ed336dfa921974
refs/heads/master
2020-04-17T23:30:00.487672
2019-01-26T19:57:31
2019-01-26T19:57:31
167,037,895
0
0
null
null
null
null
UTF-8
Python
false
false
3,357
py
import rows import re from parser.service.mongo import MongoService class ParsearLog: def __init__(self, log_file, csv_file='parser/samples/log.csv'): self.log_file = log_file self.csv_file = csv_file self.games_count = 0 self.games_kill = 0 self.players = [] self....
[ "nicolas.steodosio@gmail.com" ]
nicolas.steodosio@gmail.com
c4c0c3c601951182b821875e4a2d9f31dcacebd0
bc441bb06b8948288f110af63feda4e798f30225
/capacity_admin_sdk/model/topboard/product_pb2.py
a5747f12e891163816fea2768c0525ddb502f04e
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
4,098
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: product.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf imp...
[ "service@easyops.cn" ]
service@easyops.cn
2768d5da90fef80d7e121c32de763e3bd891e7b4
fd5b85804bcd60c3b0d34f1e1032bcbc57d7eb0b
/market_watch/am730/posts.py
6d43624c88e992072f004e91b6064a1692b40edc
[]
no_license
eggyolktech/marketWatchBot
5ebb4d81a4ebd9849c8c210fb4446fe359e4858b
c5c9fffd9e543dc4f3b7a5573384b5919272aec7
refs/heads/master
2021-11-26T16:23:34.820487
2021-10-22T09:08:28
2021-10-22T09:08:28
84,456,370
2
1
null
null
null
null
UTF-8
Python
false
false
4,527
py
#!/usr/bin/python from time import gmtime from datetime import datetime import json import re import time import requests import hashlib from bs4 import BeautifulSoup from market_watch.telegram import bot_sender from market_watch.redis import redis_pool from market_watch.util import selenium_helper import sys, traceba...
[ "eggyolktech@gmail.com" ]
eggyolktech@gmail.com
01267f04effadb1cff85dd131a10bdae8a88f4dd
55815c281f6746bb64fc2ba46d074ca5af966441
/easy/1784.py
af92810aa304d7b5950cd82143b3e22cac02daff
[]
no_license
brandoneng000/LeetCode
def5107b03187ad7b7b1c207d39c442b70f80fc2
c7a42753b2b16c7b9c66b8d7c2e67b683a15e27d
refs/heads/master
2023-08-30T23:38:04.845267
2023-08-30T08:42:57
2023-08-30T08:42:57
199,584,584
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
class Solution: def checkOnesSegment(self, s: str) -> bool: return '01' not in s def main(): sol = Solution() print(sol.checkOnesSegment("1001")) print(sol.checkOnesSegment("110")) print(sol.checkOnesSegment("101010101010101010110")) print(sol.checkOnesSegment("10000000")) print(sol...
[ "brandoneng000@gmail.com" ]
brandoneng000@gmail.com
f35789feeecdb588dd9cac32a6e59ba2eb03b736
75d258d0cc8b07134a3db656a16e8c27557e3572
/n53_m16/circuit_n53_m16_s4_e15_pABCDCDAB.py
918e6c3fa3e65472b897a86a1b329ddc3ee470b5
[]
no_license
tonybruguier/martinis_et_al_data
7c5acee8cb18586607c0ffdc25bc9b616e0847be
1a35e6712c5bd4b48ef0027707b52dd81e5aa3f3
refs/heads/master
2023-02-23T09:36:24.179239
2021-01-24T20:23:04
2021-01-24T20:23:04
332,266,881
0
0
null
null
null
null
UTF-8
Python
false
false
205,009
py
import cirq import numpy as np QUBIT_ORDER = [ cirq.GridQubit(0, 5), cirq.GridQubit(0, 6), cirq.GridQubit(1, 4), cirq.GridQubit(1, 5), cirq.GridQubit(1, 6), cirq.GridQubit(1, 7), cirq.GridQubit(2, 4), cirq.GridQubit(2, 5), cirq.GridQubit(2, 6), cirq.GridQubit(2, 7), cirq.Gri...
[ "tony.bruguier@gmail.com" ]
tony.bruguier@gmail.com
9aaa7396cafd4729a0768c3c02f432f0fa10653f
b7844b4d5483774b966785c3b36fd15d1442b913
/project/views.py
2c85a44465ea71552354adadc05623c790755e0f
[ "MIT" ]
permissive
abrusebas1997/FreeTime
f49c26f2e27b74d2b909358305eb2c247aed6907
831af2581f9972f1432cff709b335e1b0a767730
refs/heads/master
2022-12-16T04:34:25.835233
2020-03-24T18:32:44
2020-03-24T18:32:44
249,087,927
1
0
null
2022-12-08T06:19:35
2020-03-22T00:52:24
HTML
UTF-8
Python
false
false
2,870
py
from django.shortcuts import render, redirect from django.views import generic from django.urls import reverse_lazy from project.forms import TopicForm, FoodForm from project.models import Topic, Food from django.http import HttpResponse, HttpResponseRedirect class Home(generic.CreateView): def get(self, reque...
[ "sebastianabarca@Sebastians-MacBook-Pro.local" ]
sebastianabarca@Sebastians-MacBook-Pro.local
b53a98fe8906913e93b2b5478468190b80b85659
a3635ea0c475cc7e4655ed786e870361eede6464
/format/edat/npd_type.py
b2296f7c3bd416a8d80708fc0b057f5b4039a5a2
[]
no_license
Nicba1010/PS-Tools
91802ce37309ef0dcd52771a8c2c0c3c2f6c4a8b
2c2b7a83b4bea39be4459bb980adfd37bd44c2be
refs/heads/master
2020-04-14T00:25:09.976960
2019-03-05T09:14:12
2019-03-05T09:14:12
163,532,843
4
0
null
null
null
null
UTF-8
Python
false
false
158
py
from aenum import Enum class NpdType(Enum): FINALIZED_EDAT = 0x00 FINALIZED_SDAT = 0x01 NON_FINALIZED_EDAT = 0x80 NON_FINALIZED_SDAT = 0x81
[ "nicba1010@gmail.com" ]
nicba1010@gmail.com
6d7947b3c3ac88f83ce2751cc63cc70690c2b0e0
e12edf6cde9670eb3d4f1596cd648fddefaf480f
/miscellaneous/advent-of-code/2022/boilerplate.py
064f5d1951cf29dc5259b9fd47ea9e5b4e516289
[]
no_license
VitamintK/AlgorithmProblems
7a7786a0377a236f5cc82ae3b623ecad7f0eb025
34da53e2e7d3b5964bafd1f3edb2e00dea9a729d
refs/heads/master
2023-06-29T00:56:53.360829
2023-06-14T16:33:14
2023-06-14T16:33:14
25,510,479
11
4
null
null
null
null
UTF-8
Python
false
false
1,403
py
from collections import defaultdict, deque, Counter # d = deque() # d.append(5) # x = d.popleft() import re # m = re.match(r"(\w+) (\w+)", "Isaac Newton, physicist") # # or re.search # >>> m.group(0) # The entire match # 'Isaac Newton' # >>> m.group(1) # The first parenthesized subgroup. # 'Isaac' # >>> m....
[ "kevinwang@kevinwang.us" ]
kevinwang@kevinwang.us
ea6dbb5e365e23ad992843a86ca9e716993de788
8e7c006a81ebbbc60c6750dbb562ebb071a1d8aa
/opencv/image-proc/thresholding/threshold-demo.py
216a91d1726fb1962090311539dd573a3f418e61
[]
no_license
xueyangfu/tensorflow-learning
8b65dbc0e3a437ed2a14b4987c8fe7848ed2a6c4
ec477ac02ae5c2506819a7f8c147e3774baa3a4a
refs/heads/master
2021-05-15T16:32:05.194502
2017-01-30T12:24:46
2017-01-30T12:24:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
# -*- coding: utf-8 -*- # 阈值操作 import cv2 import numpy as np from matplotlib import pyplot as plt img = cv2.imread('../../../datas/images/fish.jpg') ret,thresh1 = cv2.threshold(img,127,255,cv2.THRESH_BINARY) ret,thresh2 = cv2.threshold(img,125,255,cv2.THRESH_BINARY_INV) ret,thresh2 = cv2.threshold(img,127,255,cv2.THR...
[ "kkoolerter@gmail.com" ]
kkoolerter@gmail.com
8a892a0474db64330d1781d5663d3b152b353b5d
2eab4a6fa0b525dc49fe06fd3c8f4e56dabe2ad2
/python/You're a square!.py
010fa0d881fac7cd90fd89d06e6e63035bb478f5
[]
no_license
bthowe/codewars
6563aa2c49bb876d3945620a27f95940f75130c6
fea2593c24b9e7f89ee33d1afb31581364e6f567
refs/heads/master
2020-07-01T02:59:35.113100
2017-02-06T19:57:34
2017-02-06T19:57:34
74,102,013
0
1
null
null
null
null
UTF-8
Python
false
false
188
py
def is_square(n): # if n<0: # return False # return n**.5 - int(n**.5)==0 return (n>=0) and (n**.5 - int(n**.5)==0) if __name__=="__main__": print is_square(-1)
[ "b.travis.howe@gmail.com" ]
b.travis.howe@gmail.com
dbd81d1297a455dc67f4b19cacbd01b677a4e777
75592c882e6283e42cb92310690a1edebb74e00a
/src/knowrob_semantic_map_tools/semantic_map/prolog/Client.py
23e74d62ae23321781a0a7e24da16897b8917656
[]
no_license
LinHuican/knowrob-semantic-map-tools
5f4891494034b5c0bf876a8449d2ea663774e70d
02d9ecb2d90deb3d03d4026262477a62165a750a
refs/heads/master
2020-12-24T05:59:15.119670
2015-05-22T14:59:14
2015-05-22T14:59:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
import rospy from rospy.rostime import * from knowrob_semantic_map_tools.prolog.Client import Client as Base from knowrob_semantic_map_tools.prolog import * from knowrob_semantic_map_tools.prolog.queries import * from Exception import Exception class Client(Base): def __init__(self): Base.__init__(self) ...
[ "ralf.kaestner@gmail.com" ]
ralf.kaestner@gmail.com
a6c9d07ec352de2a948532d807adb3cda6fbc60c
386f89407d8b7f6459f7e53acf127a5ee4109c45
/plugins/ml2/drivers/l2pop/mech_driver.py
4a6167a162a62e336337356377c5629885d7a1d7
[]
no_license
sajuptpm/neutron_notification_work
8712a31b18fe27eb8b5219471c1c60c1e06a1bd4
e0463b2abc35d6a28d180e952ca5a2cfc9714a5c
refs/heads/master
2020-12-06T18:37:56.394013
2016-09-06T09:34:58
2016-09-06T09:34:58
67,484,236
0
0
null
null
null
null
UTF-8
Python
false
false
12,110
py
# Copyright (c) 2013 OpenStack Foundation. # 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...
[ "sajuptpm@gmail.com" ]
sajuptpm@gmail.com
fa3d76cee92798e6e10e912f76b3ab1c9d22425e
be44368fb88e6826a217f46e0a3568a769f57d9a
/reconcile-custom/utils/matchlength.py
c2d47e2e3ff327bfe1ff288cb6aad3a9c8865f47
[]
no_license
jsfenfen/reconcile-legislators
d95208dea611a2c74f1b9b53243badb28417ffd1
74118dfcb57c10ba78bdc4aa005689214d6c350f
refs/heads/master
2021-01-23T13:29:22.130727
2013-04-17T00:32:30
2013-04-17T00:32:30
7,653,636
4
3
null
null
null
null
UTF-8
Python
false
false
491
py
import difflib def longest_match(text1, text2): isjunk=None # Case insensitive here--this might not be the right choice s = difflib.SequenceMatcher(isjunk,text1.lower(), text2.lower()); total_match_length = 0 for opcode, a0, a1, b0, b1 in s.get_opcodes(): if opcode == 'equal': ...
[ "jfenton@sunlightfoundation.com" ]
jfenton@sunlightfoundation.com
f199c401cbb6b9f9fac16836a9e893857f479958
a53f33bf69e47c4cbb010cf2766d9554bc992146
/geos-ue4/3.6.3/conanfile.py
91b4f0a36ca3cafd959974fb9fce289f5a632288
[ "MIT" ]
permissive
hongshmily/ue4-conan-recipes
22e51e717d7c9ed3b3a006a5add89a5801d36dc5
74363da4863de66fec8bd42902a967e60750b2aa
refs/heads/master
2022-11-21T13:46:10.742330
2020-07-31T05:08:36
2020-07-31T05:08:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,312
py
from conans import ConanFile, CMake, tools import os class GeosUe4Conan(ConanFile): name = "geos-ue4" version = "3.6.3" license = "LGPL-2.1-or-later" url = "https://github.com/adamrehn/ue4-conan-recipes/geos-ue4" description = "GEOS custom build for Unreal Engine 4" settings = "os", "compiler",...
[ "adam.rehn@my.jcu.edu.au" ]
adam.rehn@my.jcu.edu.au
0257a955f546c9344f4a3569b2352d743282981b
f090c3e0faa70cf0ef7c4be99cb894630bce2842
/scripts/simpleMeasurements/crystallization.py
b84bfc6355d3e30e6ef95203e8947f3bc712be0e
[]
no_license
HaeffnerLab/resonator
157d1dc455209da9b7de077157bda53b4883c8b7
7c2e377fdc45f6c1ad205f8bbc2e6607eb3fdc71
refs/heads/master
2021-01-09T20:48:03.587634
2016-09-22T18:40:17
2016-09-22T18:40:17
6,715,345
2
1
null
null
null
null
UTF-8
Python
false
false
486
py
import time import numpy def swtichXtalON(slptime): from lrexp.lr import Client dp = Client.connection.rohdeschwarz_server dp.select_device('lattice-pc GPIB Bus - USB0::0x0AAD::0x0054::104542') if not dp.output(): print 'WARNING crystallization beam is already on' print 'switching on crystallizatio...
[ "soenkeamoeller@gmail.com" ]
soenkeamoeller@gmail.com
2fe493ece61d22fa4a660c44533ef4137c28f026
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02412/s148683251.py
447b064eab608cc5e9a8fa4b571a95995fbf5258
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
while True: num = list(map(int,input().split())) if(num[0] == 0 and num[1] == 0): break c = 0 for i in range(1,num[0] - 1): for j in range(i+1,num[0]): for k in range(j+1,num[0]+1): if(i+j+k == num[1]): c += 1 print(c)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a99e9cd9ff7d2183f221e01eb1ff350f4da280f6
597b888dca4e9add7acdf449f8c3d8d716826ff2
/gui/widgets/sliders.py
7b477c99ff2f632aad508d0fecdfc7edf52fa023
[ "MIT" ]
permissive
alsor62/micropython-micro-gui
a7cad669d69358599feb84011c23ac5d767adfda
5c7d6c96b30e4936a2a4315b09e98a730f14c6db
refs/heads/main
2023-09-04T09:54:10.946964
2021-11-09T11:46:59
2021-11-09T11:46:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,996
py
# sliders.py Extension to ugui providing linear "potentiometer" widgets. # Released under the MIT License (MIT). See LICENSE. # Copyright (c) 2021 Peter Hinch from micropython import const from gui.core.ugui import LinearIO, display from gui.core.colors import * # Null function dolittle = lambda *_ : None # *******...
[ "peter@hinch.me.uk" ]
peter@hinch.me.uk
482505a50965825a46eece8957db3e8742b003f7
622183f2069a84508e87d0ceebfd203d0ec9332a
/notes/06-28.py
fea90bf901735423ad16848c8635df6687154038
[]
no_license
kasrasadeghi/cs373
f4ff92fa8c472242fe9df10f6d5a022cba6fcdd9
7036f22db3e2830bf79395a3aef3c7bed4e58887
refs/heads/master
2021-01-01T18:23:57.473050
2017-07-25T15:58:55
2017-07-25T15:58:55
98,325,040
0
0
null
2017-07-25T15:59:32
2017-07-25T15:59:32
null
UTF-8
Python
false
false
649
py
# ----------- # Wed, 28 Jun # ----------- """ a little more about map and reduce zip decorators """ class square2 : def __init__ (self) : pass f(x) square3(x) square2(x) # not ok x = square2(3) # not ok x = square2() print(x.__call__(3)) # 9 print(x(3)) # 9 print(square2(3)) # not ok print(...
[ "downing@cs.utexas.edu" ]
downing@cs.utexas.edu
0a818d279270dc0724c98a8c4bac57d56d15f043
0cb08e9532758cbec1afe20eb41028d5f276e82d
/gs9/api/migrations/0001_initial.py
f726fdd725de06bd2dfac47cc3f519bc5df61dc9
[]
no_license
P-iyushRaj/Django-Rest-Framework
1eca586ee6ded4720e8f1845c9c9cac06d637492
9d7e754156739118f725ab431d25bdde63ebd91d
refs/heads/master
2023-03-15T05:27:37.352592
2021-03-08T09:27:46
2021-03-08T09:27:46
345,599,375
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
# Generated by Django 3.0.1 on 2021-03-03 12:51 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Student', fields=[ ('id', models.AutoField(...
[ "piyush@gmail.com" ]
piyush@gmail.com
9d83a6c679957e3ee7c6671d3785a4202d7366d9
ffe14956f7e0ff6700026be09586ec5d9ea8535d
/spectral_parser/preprocessing/mappings.py
1dcdef3d1ed1db2c32a80e93e97db00e4730de09
[ "MIT" ]
permissive
wsj0874/Spectral-Parser
e447e8d3b22161d729f21aec3f60d973ea2404aa
f9fff71772c324ffb49534d3bf6ca54629d26c7d
refs/heads/master
2023-03-11T13:11:06.197972
2021-02-21T23:57:06
2021-02-21T23:57:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,628
py
from tqdm import tqdm import collections import config class NonterminalMap: """ Encapsulation of a two-way mapping between strings and ints. """ def __init__(self, trees): self.nonterm2int = dict() self.int2nonterm = dict() self.populate(trees) def populate(self, trees): ...
[ "gavinsweden@gmail.com" ]
gavinsweden@gmail.com
ae221021a77dc774dec73bea9d515f349732f1b9
f62072c360ee86740d67b32afec1b488285c4fce
/osr2mp4/InfoProcessor.py
5b5ab380100a2473df67817d996df0f06ca58e1e
[ "MIT" ]
permissive
Piggey/osr2mp4-core
9468f0ed897291f2a65d0261b015068acda7e50d
03a14370f161125225c366e301c6a6755158238b
refs/heads/master
2022-11-26T05:46:26.910481
2020-08-07T11:22:46
2020-08-07T11:22:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,422
py
import atexit from oppai import * from .EEnum.EState import States class Updater: counter = 0 def __init__(self, resultinfo, component, settings, mods, osufile): self.resultinfo = resultinfo self.component = component self.info_index = 0 self.info = self.resultinfo[0] self.idd = self.counter self.coun...
[ "snkraishin87@gmail.com" ]
snkraishin87@gmail.com
913bdca5fde41da7c9dff4ea31b043702325869f
f03c4ae0f1008c85cb148b6e0e693ed51cca6272
/U2Net/U2NetPy/u2net_train.py
9304030bfbcb5f84702682b1798a1b057cf3cd8a
[]
no_license
laity-sir/SalientObjectDetection
3460fa8b6a18b95e91f2009d0f0d49660a296fca
d647d289db44704ab92ad473b142a85c20b60487
refs/heads/master
2023-04-11T09:11:58.981577
2021-04-21T08:21:09
2021-04-21T08:21:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,870
py
import os import glob import torch import argparse import numpy as np import torch.nn as nn from torch.autograd import Variable from torch.utils.data import Dataset, DataLoader from torchvision import transforms, utils import torch.optim as optim from data_loader import Rescale from data_loader import RescaleT from da...
[ "1299050656@qq.com" ]
1299050656@qq.com
d586e609f2ac6254fe5b71618a082fc948457fd1
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/_vendor.py
5cb127b3879b262c2369e79db1ab49953bdac3b2
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
845
py
# -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/python@6.4.9) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # ----------------------------------------------...
[ "noreply@github.com" ]
openapi-env-test.noreply@github.com
aa09723233351f8b30fce62f59c1ee9e12c652d8
16b7bd707f14ffc4ee9b414b16a399d1b43cbc6e
/046.py
b28b428154ee00b6a3719bea79dc68cebbe5a225
[]
no_license
edson-onishi/cursoemvideo
15c5881a33e9e838b10a11903bbe17f4fc14b8de
b3a46fa34c14ffc829d367ca97f5e376d901ad9c
refs/heads/master
2023-01-29T00:14:19.505656
2020-12-09T14:49:59
2020-12-09T14:49:59
162,749,735
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
'''Faca um programa que mostre na tela uma contagem regressiva para estouro de fogos de artificio, indo de 10 ate 0, com uma pausa de 1 segundo entre eles.''' from time import sleep for i in range(10,-1,-1): print(i) sleep(1) print("Fireworks")
[ "edson@hotmail.com" ]
edson@hotmail.com
ed3981639104a6ec22215c0094dd31d04225dc4f
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/classification/ResNet152/models/utils.py
506ebca5c6be47563d41362c37a24eae6b286436
[ "GPL-1.0-or-later", "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause", "MIT", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
842
py
# -*- coding: utf-8 -*- # Copyright 2020 Huawei Technologies Co., Ltd # # 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 ap...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
0a4fce237b903b498ed9038d22cfb6e940688809
2154d0221e29a86850a1b83e4302f6e3e3f7fa5d
/for_login/xiami.py
dcf745a0b720bb8b99003076582e28f09cc108ea
[]
no_license
aaqqxx/simple_for_life
3b8805c6791da6a3a7f42c069dc1ee7d2b8d3649
9ad6d61a56216d04250cd89aeaeda63c11942d0a
refs/heads/master
2020-04-04T09:18:59.396540
2015-04-28T11:22:55
2015-04-28T11:22:55
20,906,518
1
0
null
null
null
null
UTF-8
Python
false
false
3,336
py
#coding:utf-8 #!/usr/bin/env python __author__ = 'SAF' # +----------------------------------------------------------------------------- # | File: xiami_auto_checkin.py # | Author: huxuan # | E-mail: i(at)huxuan.org # | Created: 2011-12-11 # | Last modified: 2012-02-06 # | Description: # | Description for xiami_au...
[ "aaqqxx1910@gmail.com" ]
aaqqxx1910@gmail.com
2b203696d4d845c841a849e2ccc209a55afdf01e
a08c76705fb9847437b951396db4e5cf7477c72c
/utils/__init__.py
cf357aa71d73496a416eb53d54862bd5b1246ba1
[]
no_license
Tiantian572/Snet
50bccde719d97bbf6a3a532031d423442e39263b
365ca8ed4ec240f5c975236aefc2494ffe9d4c22
refs/heads/master
2022-04-09T10:04:28.179499
2020-03-04T02:18:46
2020-03-04T02:18:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
from .misc import * from .logger import * from .visualize import * from .eval import * # progress bar import os, sys sys.path.append(os.path.join(os.path.dirname(__file__), "progress")) from progress.bar import Bar as Bar
[ "760997646@qq.com" ]
760997646@qq.com
4c6a8f344581150f5027d4ffda334145efac1506
a1646659a1b5116b4101a58e3fb577fab7fec44f
/soil/web/__init__.py
4586238b3a040f9c6713fe25e4ab9cc52e7f6616
[ "Apache-2.0" ]
permissive
haya985/soil
766695099a34347aae130c09f1b533e7f33a1fb7
6690b6ee5f9d8345bb7b29862330fea7c8d41210
refs/heads/master
2020-09-25T21:52:35.059598
2019-05-16T17:59:46
2019-05-16T17:59:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,348
py
import io import threading import asyncio import logging import networkx as nx import os import sys import tornado.ioloop import tornado.web import tornado.websocket import tornado.escape import tornado.gen import yaml import webbrowser from contextlib import contextmanager from time import sleep from xml.etree.Element...
[ "balkian@gmail.com" ]
balkian@gmail.com
6c4d2210b2efd2209d3e0d2441caade2da5f2ce0
c340835e4444c664fc2b261238e3738cf5bf7196
/search_insert_position.py
6e531b8b0cd75450f797be346e4766568fbde0c2
[]
no_license
z-o-e/LeetCode_OJ_Python
49f2a7378eb98f707c97d7757cc19ef19622db42
ad7f5152fe404bdd4e91710d9a719f392bec7a96
refs/heads/master
2021-03-12T22:39:44.898502
2014-10-16T05:30:25
2014-10-16T05:30:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
class Solution: # @param A, a list of integers # @param target, an integer to be inserted # @return integer def searchInsert(self, A, target): if not A: return 0 low, high = 0, len(A)-1 while low<=high: mid = (low+high) / 2 if...
[ "hyzhang22@gmail.com" ]
hyzhang22@gmail.com
4f85d22cf5f1b7733b4c758b9b189b13608481a4
9fda52ba27c026c768aab03a7022318054c9ca18
/sel_dedicated_codegen/models/resource_start_additional_model.py
4c1f8374eaf25581c30e8a0280a552b5dc14774d
[ "MIT" ]
permissive
xRocketPowerx/python-sel-dedicated
06e2923e60f488d587c94bd22e80b781ab497ccc
3b9b41fbd7abc05d427e8abf688b007b6dcf9e96
refs/heads/master
2020-08-11T18:39:53.969595
2019-10-13T15:49:58
2019-10-13T15:49:58
214,609,648
2
0
MIT
2019-10-13T15:49:59
2019-10-12T08:30:32
Python
UTF-8
Python
false
false
7,906
py
# coding: utf-8 """ Seido User REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 2.4.8 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import ...
[ "eli.pavlov.vn@gmail.com" ]
eli.pavlov.vn@gmail.com
930cc89c0c623de79c957084cde3361114bf2a47
b248a0a1f51ded67c7637839b23f4e1f47c3d245
/maximizeXOR_TLE_SortedList.py
e22ac9be9f334a664234348eb22389fcb9f4e704
[]
no_license
gauravaror/programming
1bfe61136d93571a4f77d5443a642e1a0ffb1e86
afc5a08cd538c45e075fc6c479c255b3596d7ac5
refs/heads/master
2022-03-16T07:55:54.257609
2022-03-13T06:03:05
2022-03-13T06:03:05
229,214,293
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
import sortedcontainers class Solution: def maximizeXor(self, nums: List[int], queries: List[List[int]]) -> List[int]: sl = sortedcontainers.SortedList() for i in nums: sl.add(i) output = [] for i in queries: check = i[0] ind = sl.bisect_right(i[1]...
[ "gauravarora.daiict@gmail.com" ]
gauravarora.daiict@gmail.com
e6b7578dfac58d056bd57b2ca8822ee4e7034df6
124c468f829830879db48f5499889b603a4010ca
/docs/10_games/breakout/app.py
6c7c81cc8939f569d43ab928a586aa69a7cbc4f1
[]
no_license
astin-sodamills/pygame-tutorial
5568bab48b0931e5f8601ee16bdab8ef84a6ebdd
b84b643a771299b234e54d802826e1a9df6450a7
refs/heads/master
2023-07-26T19:40:22.074718
2021-06-17T14:38:54
2021-06-17T14:38:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,023
py
# App class import pygame from pygame.locals import * import numpy as np class Sprite: def __init__(self, file=None, pos=(0, 0), size=None): self.parent = None self.size = size self.rect = Rect(pos, (20, 20)) self.position = np.array(pos, dtype=float) self.velocity = np.arra...
[ "raphael.holzer@citycable.ch" ]
raphael.holzer@citycable.ch
ee0821c9d4ede74f0ca552552ca7bfa48053b184
7c7236aa95ebebe241f04b98d55f3033b19dadc2
/untitled5/acticle/views.py
f1c07998c641d32bbfb56d5eeb4f2728da3151ea
[]
no_license
taisuo/cms
57d792bb47d85bf6a4a39558a1bc34457a355c26
dd8baa834d6426a2ce7406ea0b74eab252ef7789
refs/heads/master
2020-08-03T13:49:44.754754
2019-10-08T04:00:21
2019-10-08T04:00:21
211,765,786
0
0
null
null
null
null
UTF-8
Python
false
false
2,365
py
from django.shortcuts import render from datetime import date from datetime import datetime from django.http import HttpResponse # Create your views here import json import pymysql # Create your views here. def acticleList(request): return render(request, "acticle/acticleList.html") def acticleListHandle(request): ...
[ "3148378928@qq.com" ]
3148378928@qq.com
f926cef9977e7782163157b8a7b6bbb1eeb5410c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03687/s740533244.py
efc933dc34f2a6acefef2dea7b73393654bb656d
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
import sys import numpy as np read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines S = np.array(list(read().rstrip().decode())) def f(S, a): S = S == a if not np.any(S): return len(S) for n in range(len(S)): if np.all(S): ret...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
dfa061cf9068970301c71f1998110712fb515d3e
e8d4fe2361d71aef6519f666152f14137156159c
/impacket-0.9.11/build/scripts-2.6/smbtorture.py
8ea7adc972bfd0658ee4aa7b8d94f01994204506
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "Apache-1.1", "BSD-2-Clause" ]
permissive
kenzshi/DDoSProject
11d7e676a150964a9f78f1b7e1df4468dd9d973f
9587a2be7f4773d19a96a35d1128f5041f0472da
refs/heads/master
2021-01-10T19:48:21.355849
2015-03-16T09:52:22
2015-03-16T09:52:22
30,205,639
42
32
null
null
null
null
UTF-8
Python
false
false
17,940
py
#!/usr/bin/python # Copyright (c) 2003-2012 CORE Security Technologies # # This software is provided under under a slightly modified version # of the Apache Software License. See the accompanying LICENSE file # for more information. # # $Id: smbtorture.py 573 2012-06-24 19:39:05Z bethus@gmail.com $ # # Parses a pcap fi...
[ "la236am@users.isi.deterlab.net" ]
la236am@users.isi.deterlab.net
5e3f4dee4bac22b679ee6ea4265e569786705a56
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_1484496_1/Python/killerrex/problem_C.py
eea1af620b2b5b95bf762a7c2b954f11e7a29f42
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
636
py
#!/usr/bin/python3 import itertools def printl(L): s = "" for i in L: s += str(i) + " " print(s[:-1]) def solve(elems): sums = dict() for i in range(len(elems)): for rng in itertools.combinations(elems, i): S = sum(rng) if S in sums: printl(sums[S]) printl(rng) # Finish! return els...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
8ebe049f6d32f4040441f9591c5357a73af95f96
3435505aa0b760eddf175a9a8f62119952020380
/one_more_layer_of_stacking/src/pipeline.py
a15b068c2b3bf10561daf5f5971197324fa9740d
[ "MIT" ]
permissive
CellProfiling/HPA-competition-solutions
2cc365b2be086eec382136856ebcf790d4eaabb9
547d53aaca148fdb5f4585526ad7364dfa47967d
refs/heads/master
2022-12-16T16:58:15.578281
2020-07-09T23:04:55
2020-07-09T23:04:55
223,605,040
61
25
MIT
2022-11-22T04:37:30
2019-11-23T14:49:57
Jupyter Notebook
UTF-8
Python
false
false
1,060
py
from models.pd_bninception_v3 import pd_bninception_v3 from models.pd_bninception_v4 import pd_bninception_v4 from models.pd_xception_v1 import pd_xception_v1 from models.pd_inceptionv4_v1 import pd_inceptionv4_v1 from models.pd_inceptionv4_v2 import pd_inceptionv4_v2 from models.pd_seresnext_v2 import pd_seresnext_v2 ...
[ "noreply@github.com" ]
CellProfiling.noreply@github.com
0b11f60578eec1f0af34d61cb0dd5cdb1d377e44
7a0d7ddfdbc92f4854eff7ef906b850b257cd9e3
/tests/test_operational.py
5a94300659eca973249625c17442a69e9e2e418f
[ "MIT" ]
permissive
csm-adapt/karon
d65ef787fe7612e8647df3152b3ffae3625a3a43
988ef07eb9339b6dea3babd4f31337bce7b5d5e4
refs/heads/master
2021-07-16T02:08:01.805244
2020-04-28T20:37:45
2020-04-28T20:37:45
206,864,955
1
1
MIT
2020-04-28T20:37:46
2019-09-06T19:56:05
Python
UTF-8
Python
false
false
5,779
py
import pytest from karon.operational import OpNode from karon.tree import (PreorderTree, PostorderTree, InorderTree, BreadthTree) ##### Test OpNode ##### def test_node_creation(): node = OpNode(contents=3.1415) assert node.contents == 3.1...
[ "bkappes@mines.edu" ]
bkappes@mines.edu
3f960a3c208a38de45380c40ccead9910b036fa1
e96e0fe5691279dcf968a5b1db5f5c42a6d56e9b
/deepdab/util/plot_state_visit_histogram.py
5a957c45c480e5ab5b620d599402c8eb41ffc9d3
[ "Apache-2.0" ]
permissive
lantunes/deepdab
c9a96bb25706c627b60045620c88864eb7e3f299
0e30f102b9d7c37d3691540496b1649f2704d586
refs/heads/master
2020-05-04T19:44:35.806717
2019-04-04T02:26:00
2019-04-04T02:26:00
179,406,194
1
0
null
null
null
null
UTF-8
Python
false
false
364
py
import matplotlib.pyplot as plt import numpy as np with open('../out/state_visitation_count_plot.txt', 'r') as f: data = eval(f.read()) count = list(zip(*data))[1] # x_pos = np.arange(len(count)) # plt.bar(x_pos, count, align='center') # plt.show() print(np.mean(count)) print(np.std(count)) print(np.min(count)) ...
[ "lantunes@gmail.com" ]
lantunes@gmail.com
40143b68f682f8f1ab19fd9eb03df6dc55726174
d21b5c31091cb32f92138c2e2d0b5c91aa6c8f4e
/simplebbs/domain/BulletinBoard/factory/BulletinBoardThreadFactory.py
53a3c44efab9529510b855cc4db5187a72d9cc72
[]
no_license
tevawolf/01_simplebbs
47ea7e7da00c7333217dc5fb8f82c980b55dbb81
c7f1f613ee7fcd047674a8ae7b7e03f1f5ada635
refs/heads/master
2023-06-20T00:25:18.894707
2021-07-19T07:10:40
2021-07-19T07:10:40
376,328,585
0
0
null
null
null
null
UTF-8
Python
false
false
941
py
from injector import Injector from simplebbs.binds import BulletinBoardDIModule from simplebbs.domain.BulletinBoard.object import Bulletin from simplebbs.domain.BulletinBoard.object.BulletinBoardThread import BulletinBoardThread from simplebbs.domain.BulletinBoard.object.BulletinBoardThreadPublicLevel import BulletinB...
[ "tevawolf@yahoo.co.jp" ]
tevawolf@yahoo.co.jp
1a962ba485e64fc9b1dd52da9cb03f536d9e4bff
cf3d1f3bc0da10b4ee2a7cc46a045670800ff5e3
/src/Candy/test_suite.py
bd4270e1124e6480b15e25bfee6b6b442ecf32c1
[ "Apache-2.0" ]
permissive
54lihaoxin/leetcode_python
b9c2ecf9e755168e89cbc92f41c29fce5751599c
435484369abd6a86bb16e6dbfe2eddb4ba9edbd2
refs/heads/master
2016-09-06T13:35:01.311426
2014-10-21T07:41:34
2014-10-21T07:41:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,180
py
from CommonClasses import * from solution import Solution class TestSuite: def run(self): self.test000() self.test001() # self.test002() # self.test003() # self.test004() def test000(self): print 'test 000\n' ...
[ "54lihaoxin@gmail.com" ]
54lihaoxin@gmail.com
5fb0b8fed538278c9debb728818d1aea57af170b
aa410a95773aeea73e75f0e701db5cdc0eda890b
/players/troll.py
dad4b80d020c454d3bd3656f635439a625f52f47
[]
no_license
predominant/zombsole
ccc00893b7739c5341c43fc28375415fa628b885
a04ff40a144cb1f63d8aa29ccf0b06ecccc2bc7f
refs/heads/master
2021-01-21T19:29:05.322551
2014-03-26T05:38:15
2014-03-26T05:38:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
# coding: utf-8 from things import Player class Troll(Player): '''A player that always heals itself. (trolls have regenerative capabilities, hence the name). ''' def next_step(self, things, t): self.status = u'healing myself' return 'heal', self def create(rules, objetives=None):...
[ "fisadev@gmail.com" ]
fisadev@gmail.com
80e2fe6c24b18a83fac0a3c994fed175d29f3ab4
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/attestation/v20210601preview/attestation_provider.py
63e89c7b22a88122516a9b85db935f8fcddd4f86
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
13,016
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
b90f39fa52fb21861a32740c94b6ec0f99df5ca0
9b018e9eac8d97fbcc1e76a69b95c994f79a6ea3
/randomtest/migrations/0003_tests.py
74d099cc1bd9a3728bab0d0a60f38bc9c15f27d7
[]
no_license
hbgolze/contest-database
e39f269d7337652e7cdad03cc29827d4f729ec8f
263385b438f7b7e1ab99062aad561ed0cec9c079
refs/heads/master
2023-06-26T21:30:08.246647
2023-06-11T02:34:41
2023-06-11T02:34:41
71,851,839
1
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-16 23:09 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('randomtest', '0002_userprofile'), ] operations = [ ...
[ "hbgolze@gmail.com" ]
hbgolze@gmail.com
124f4d08a33f83c458e9dfaba4e5ec0dc0190e8c
5daece6b3ee3e928d101c8614dbcb90a8569626f
/files/Outros/Sort correto com maiúsculas.py
318bf8a2279596c96eb3c01f761505ee5cecb319
[ "MIT" ]
permissive
heltonricardo/estudo-python
506b400af93039bbdca70e1bc604c588fae62af1
e82eb8ebc15378175b03d367a6eeea66e8858cff
refs/heads/master
2022-12-24T03:10:52.202102
2020-10-06T13:58:05
2020-10-06T13:58:05
294,190,313
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
print(('').join(sorted(input(), key = lambda s: s.casefold())))
[ "50843386+heltonr13@users.noreply.github.com" ]
50843386+heltonr13@users.noreply.github.com
5375c9bb0323a4159f2519caee923ba8cb27a8f4
ad682d2145f440c078a431a40d2153a204771026
/method/MultiLevel/svm-sle2/run_training.py
ca4ba4963a988f5fdfd57c357f042c8af43520ac
[]
no_license
barry800414/NewsCrawler
d81f1ee4b0e0c4a997dda1efd24d1430e222d318
18c10f10508558600f734d659e724d4e27f071a3
refs/heads/master
2021-05-03T13:11:29.696108
2015-07-01T16:38:05
2015-07-01T16:38:05
26,075,910
0
0
null
null
null
null
UTF-8
Python
false
false
4,593
py
import sys, os import math from FindBestParam import * cRange = [math.pow(2, i) for i in range(-5, 3)] iter = 30 sizeRange = [20, 40, 60] foldNum = 10 vfoldNum = 10 def run(iter, c, size, train_file, init_file, model_file, test_file, scoreFile, remove=False): m = '3' # feature smoothing -- see Section ...
[ "barry800414@gmail.com" ]
barry800414@gmail.com
d31d71384e3c102a29d7a79e1aa1092a58c12cab
c7d9adc9649f475882297d5d0df2396b7eda49c4
/python/160-intersection-of-two-linked-lists.py
d739d9350ccfbd8c5160cc3ecc000c08ab4c1dd0
[]
no_license
starrysky1211/leetcode
9d2a887d42b2df38d5707a4c6e48b82a1775b463
a115c8bead3ce7257e13220cc8d9f43a884e8c61
refs/heads/master
2021-11-22T02:21:36.774957
2021-09-14T01:12:07
2021-09-14T01:12:07
143,826,581
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def getIntersectionNode(self, headA, headB): """ :type head1, head1: ListNode :rtype: ListNode """ la,lb = 0,...
[ "starry_sky_@outlook.com" ]
starry_sky_@outlook.com
44fb65b41d0860b2b4c9d810f01c43b58f2a9c78
8670934f23ea25b83e37c4bf42bbd247bb9fdcf9
/cli.py
d49b4e8d24fc8009c10ff3adba413e7eef181134
[ "MIT" ]
permissive
matheusfelipeog/status-coronavoucher
d52763445de857793b16184d8c71dda9dc96967e
22171d86460dd643397d022978e083c5d480f073
refs/heads/master
2022-12-14T07:07:55.746415
2020-06-28T21:05:18
2020-09-04T17:15:58
256,339,963
8
2
null
null
null
null
UTF-8
Python
false
false
2,751
py
# -*- coding: utf-8 -*- # @author: Matheus Felipe <github.com/matheusfelipeog> if __name__ == '__main__': # Builtins import argparse # My Module from status_coronavoucher import Coronavoucher parser = argparse.ArgumentParser( prog='cli.py', usage='python %(prog)s [-h] cp...
[ "50463866+matheusfelipeog@users.noreply.github.com" ]
50463866+matheusfelipeog@users.noreply.github.com
75ae0981e1f079d8e214ef317095fb3ad4f945df
8afb5afd38548c631f6f9536846039ef6cb297b9
/MY_REPOS/Lambda-Resource-Static-Assets/4-assets/BOOKS/notebooks-master/agreg/Plus_long_sous_mot_commun_(python3).py
10d57b73562dd5f872f04f85158ab3632bbe8235
[ "BSD-3-Clause", "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
36,597
py
# coding: utf-8 # # Table of Contents # <p><div class="lev1 toc-item"><a href="#Table-des-matières" data-toc-modified-id="Table-des-matières-1"><span class="toc-item-num">1&nbsp;&nbsp;</span>Table des matières</a></div><div class="lev1 toc-item"><a href="#1.-Agrégation-externe-de-mathématiques" data-toc-modified-id="...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
2a5061deffb5e36c8bcfe6b81e3097f4cd2a82f5
c5a6e19e7ce45c565e0353b8d6bd768a1c573901
/catalyst/finance/risk/cumulative.py
2c1e5ef44bb9018437acf6dc9fb74987055860f4
[ "Apache-2.0" ]
permissive
guilhermeprokisch/catalyst
d58b3de83df636209f96fda0587330da1ee7c79b
21e096b261912d9e905584178d6ee626072c23cb
refs/heads/master
2020-08-02T11:37:22.125602
2019-09-27T14:28:32
2019-09-27T14:28:32
211,336,899
0
0
Apache-2.0
2019-09-27T14:25:22
2019-09-27T14:25:21
null
UTF-8
Python
false
false
14,341
py
# # Copyright 2014 Quantopian, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
[ "guilherme.oliveira@atlasproj.com" ]
guilherme.oliveira@atlasproj.com
c727952891a51b667a149debd1c5af34000608d0
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/6/oo-.py
f841706ce1c305984c14f90e68de09a6d87442d0
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
fa5fbb57b3030024dfc0b1aa6737f6f320dc523c
0fb917674c99718bb24147e6007c7c09e6e714ed
/2018_DeepLerning/05_ML/neural_style/stylize.py
6a0f448e6d52a493edb8fb305e725eb02e45ce71
[]
no_license
RookieDay/Deep_Learning
19bf528fb40fefb1c146c9386a0948a86a4103ce
80cbd913050d2cb2e88d9d77f09135477b40d141
refs/heads/master
2021-05-06T18:56:33.746498
2018-05-27T11:25:48
2018-05-27T11:25:48
111,989,887
0
0
null
null
null
null
UTF-8
Python
false
false
5,990
py
# Copyright (c) 2015-2016 Anish Athalye. Released under GPLv3. import vgg import tensorflow as tf import numpy as np import time from sys import stderr CONTENT_LAYER = 'relu4_2' STYLE_LAYERS = ('relu1_1', 'relu2_1', 'relu3_1', 'relu4_1', 'relu5_1') try: reduce except NameError: from functools import reduc...
[ "1109318841@qq.com" ]
1109318841@qq.com
a921284bbf99728abcc4d364a0dcaeb89d1c26a1
c3ba36ce870c9766b73ecc5423468f095c308d0f
/playable_realease/base/base.py
7438e6b743c2e3f0c33c7404e8ea293244cf0942
[]
no_license
winghou/study
bb2f97d0f2d2f505afef6c364dc4ed5f6836bb7f
f8f531898c6cc777acd71733f333e256726dfa9f
refs/heads/master
2020-05-31T13:58:43.779807
2019-01-14T10:21:53
2019-01-14T10:21:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,722
py
# -*- coding: utf-8 -*- ''' Created on :2018/7/25:12:02 @author: yunxia.qiu ''' from playable_realease.config.ParseConfigurationFile import ParseConfigfile from selenium import webdriver import os,time from selenium.webdriver.chrome.options import Options from selenium.common.exceptions import NoAlertPresentException ...
[ "you@example.com" ]
you@example.com
8b7a0f8e8d0311f451e798c960e9917f40cdaa11
bc8d2f9ba58bca2ec4aec43ace09babf805285f6
/product_index_revision_generator/models/__init__.py
5f51d16854e5c6012dfb941a47c9a59d6f526d2b
[]
no_license
samirGuesmi/julius-openobject-addons
a8611f20edecfca904fe0aa3622027f03fc06ff1
9491623d3462e4aeffa048fd59a4ef06ed0c8c2f
refs/heads/master
2020-08-29T14:07:04.136621
2019-05-21T14:00:46
2019-05-21T14:00:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,098
py
# -*- coding: utf-8 -*- ############################################################################### # # OpenERP, Open Source Management Solution # Copyright (C) 2014-Today Julius Network Solutions SARL <contact@julius.fr> # # This program is free software: you can redistribute it and/or modify # it unde...
[ "mathieu@julius.fr" ]
mathieu@julius.fr
21064b4048cf6e3dc2eea0ef7e1b14801f60dfbf
f87d841ec1e78486ad9b28c01181962a21f6f124
/routes.py
958d32ed62eee1df7d4f301c8f7bb3afa7f14617
[ "MIT" ]
permissive
u1i/azure-appservice-sample-api-app
57903b0660d0e660f5f349cca8be6d0d6b5788a3
3663209b24927dd0d646d081ae94367c664659fc
refs/heads/master
2021-01-20T13:03:51.556350
2017-05-06T06:30:55
2017-05-06T06:30:55
90,442,391
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
""" Routes and views for the bottle application. """ from bottle import route, view, response from datetime import datetime from random import randint @route('/') @route('/home') @view('index') def home(): """Renders the home page.""" return dict( year=datetime.now().year ) @route('/api-request'...
[ "root@localhost" ]
root@localhost
c40e7db1a2781e3b66d81b9ddd6ff13e3b15bf58
fd5db824b87b49472c3cfa1d8765f95fc820deaa
/linecount
918d5353a4c8eb21b2072c1182899c01c5f446eb
[]
no_license
shawwn/scrap
67806c7a8f2b4ddbb87f800f9fa0bd50736b66d6
9d6d190b4606b57a7108881ca6f389f6110c5721
refs/heads/master
2023-09-01T08:46:44.779507
2023-08-29T11:09:58
2023-08-29T11:09:58
124,594,531
100
14
null
2020-07-31T03:09:48
2018-03-09T21:20:54
Python
UTF-8
Python
false
false
5,608
#!/usr/bin/env python import pdb #============================================================================== # Common Functionality #============================================================================== # # see http://stackoverflow.com/questions/2186525/use-a-glob-to-find-files-recursively-in-python # im...
[ "shawnpresser@gmail.com" ]
shawnpresser@gmail.com
74ca68ad1cc6ce4afe7883c15c684bf11d73b597
f92ffbbaf2783dbd566e2d11d065fc02fb6255f7
/MY_CRUD/movies/migrations/0001_initial.py
a33950f2fdc35c1723eeec04f01c33d99feef28b
[]
no_license
chelseashin/django_practice
20551810f31ffea1c7eb1ea301ffdbb2890a6830
6c28e44aa6c8b646d98e32307827c5ced5ba2c59
refs/heads/master
2020-06-04T09:19:26.404723
2019-06-14T15:10:36
2019-06-14T15:10:36
191,962,567
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
# Generated by Django 2.1.7 on 2019-02-26 10:54 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Movie', fields=[ ('id', models.AutoField(au...
[ "chaewonshin95@gmail.com" ]
chaewonshin95@gmail.com
367edbc28b61ceb03c49ab9ed09e44c1dad9ed4e
d9392b6c3bdb7cb727ced7f005c311deedc08c49
/backend/src/api/pool/resources/entities/requests/base_requests/schemas/common_schemas/common_strings/short_string.py
926c5535de3d0beb5c4eaeaea8fe79e5e5051df4
[]
no_license
enixdark/meeting-training-app
c5c1d8421f368c0fcc015bc27d9142bfd45ceac8
214cb14eb23f3aa1e32616d666c14d041a2c7dc7
refs/heads/master
2023-03-13T22:12:37.196060
2021-03-03T02:35:39
2021-03-03T02:35:39
343,978,363
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
from . import CommonString, StringValidator class ShortString(CommonString): @staticmethod def _string_filter_rules() -> list: return [ShortStringValidator] class ShortStringValidator(StringValidator): __SHORT_LEN = 50 __ERR_MSG = 'String length must be shorter than {} characters.'.format(__...
[ "cqshinn92@gmail.com" ]
cqshinn92@gmail.com
8758a45c335abc856a75e5f8c44016117ad13a79
80bf55263b8f510dba0de1ab80d75d5e14933fd2
/scripts/parse_latex_equations.py
78bbabea076b8160b17c7145d867f6def688285b
[]
no_license
Schoyen/coupled-cluster-notes
85d5d4d511734dba2b48f4a0e0ac6d9518dea52e
0271d04356117c99fd70e56a1fe8278ac57945dc
refs/heads/master
2021-07-12T20:56:46.519372
2019-01-16T14:37:55
2019-01-16T14:37:55
117,835,336
0
1
null
null
null
null
UTF-8
Python
false
false
1,898
py
import re import os from generate_ccd_equations import get_ccd_equations from sympy import latex filename = "ccd_equations.dat" if not os.path.isfile(filename): ccd_equations = [latex(eq) for eq in get_ccd_equations()] with open(filename, "w") as f: for eq in ccd_equations: f.write(eq + "...
[ "oyvindschoyen@gmail.com" ]
oyvindschoyen@gmail.com
4f9f0c590e3aa456018e649cabebe2878e0570b2
5e6d8b9989247801718dd1f10009f0f7f54c1eb4
/sdk/python/pulumi_azure_native/apimanagement/v20201201/subscription.py
1fa5379a309b8d3a2dc739c9261da6073bd7c4f5
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
vivimouret29/pulumi-azure-native
d238a8f91688c9bf09d745a7280b9bf2dd6d44e0
1cbd988bcb2aa75a83e220cb5abeb805d6484fce
refs/heads/master
2023-08-26T05:50:40.560691
2021-10-21T09:25:07
2021-10-21T09:25:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,946
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
vivimouret29.noreply@github.com
8120d2ae78f342f4f46bd9af28e081c60395ded6
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/DqLngKnnJcZyPMctn_7.py
e47850432a4efdeb1554116a8d22a3122597cdf6
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,211
py
""" Create a function that takes a list of integers that represent the amount in dollars that a single stock is worth, and return the maximum profit that could have been made by buying stock on day **x** and selling stock on day **y** where **y >x**. If given the following list: [44, 30, 24, 32, 35, 30, 40, 38...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
0ed1838698d887c77e6d8edcc8726b75312466c6
1cb0cc435061b6a0156b37813343ae46b1f7346e
/1_learn_step/try_third/lecun_uniform-SGD-1024.py
530939d5802e536418c1bf25bd9773ee93ce87e2
[]
no_license
youthliuxi/keras
6370a9de11e152d8ba96e68e9ff02337203b7e66
60a367442f74313d0bd9af01f76068d56e23bec0
refs/heads/master
2020-04-30T19:54:16.628943
2019-08-21T09:47:13
2019-08-21T09:47:13
177,051,874
0
0
null
null
null
null
UTF-8
Python
false
false
1,679
py
# -*- coding:utf-8 -*- from keras import backend as K K.set_image_dim_ordering('th') import numpy as np np.random.seed(123) from keras.layers import * from keras.models import Sequential from keras.utils import np_utils from keras.datasets import mnist # (X_train, y_train), (X_test, y_test) = mnist.load_data() path = "...
[ "lx_einstein@sina.com" ]
lx_einstein@sina.com
0f605a7d2ddda25d1d656538d70cbf0f4e032be3
91b0b09d2c05e44f40e570a6323801d1f41bc60a
/binary_search/first_occurence_last_occirence.py
cb3a2a92f8c7bebf628675b9ab46470cf26d4729
[]
no_license
shiveshsky/datastructures
170243edbdaf1b206713bd3b53a029f32063d4ce
22fb94983846c4e7906a22f91ef7c0886c74a6b6
refs/heads/master
2021-05-21T16:46:43.852404
2020-07-17T02:29:48
2020-07-17T02:29:48
252,722,499
0
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
class Solution: def searchRange(self, nums, target): l, r = (self.left_position([5, 7, 7, 8, 8, 10], 6), self.right_position([5, 7, 7, 8, 8, 10], 6)) return [l, r] def left_position(self, nums, target): l = 0 r = len(nums) - 1 while l <= r: mid = (l + r) // 2...
[ "shivesh@anlyz.io" ]
shivesh@anlyz.io
5f3550074e21d00a6da61ed710135114f0fd4248
746e0181955176741385091fe795e360a5f8fa3f
/yushubook/app/models/user.py
34ca83a175ef149b4e8a8a7b61b5a3ea2c450d43
[]
no_license
zhengpanone/flask_web
c26547483219011d9f1051d383f0d9a0a72d48df
87d324ffee503aaa794c415ba6e16785dbf84d99
refs/heads/master
2022-07-22T09:07:47.939938
2019-12-18T07:14:21
2019-12-18T07:14:21
206,232,120
0
0
null
2022-06-28T14:44:55
2019-09-04T04:35:50
JavaScript
UTF-8
Python
false
false
3,352
py
# -*- coding: utf-8 -*- from math import floor from flask import current_app from werkzeug.security import generate_password_hash, check_password_hash from app.lib.enums import PendingStatus from app.lib.helper import is_isbn_or_key from app.models.base import Base, db from sqlalchemy import Column, Integer, String,...
[ "zhengpanone@hotmail.com" ]
zhengpanone@hotmail.com
8721a7bb53e6c3bf6d3c278298dd7f9667d723f4
50d243bede5c2c5b2a0c7a8d4809114dbb52b33b
/cbm/utils/data_options.py
6e27d01d2dcd2307afdbd19ed57707d72f52cd68
[ "BSD-3-Clause" ]
permissive
voicagi/cbm
0532fce985185a50acc938dc76b771bb6de6b13e
c076e272f34a93a2e7dcc7de3c9685bd5c86c27a
refs/heads/main
2023-06-24T09:09:07.865900
2021-07-22T16:54:16
2021-07-22T16:54:16
387,414,700
0
0
BSD-3-Clause
2021-07-19T09:48:23
2021-07-19T09:48:22
null
UTF-8
Python
false
false
6,297
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # This file is part of CbM (https://github.com/ec-jrc/cbm). # Author : Konstantinos Anastasakis # Credits : GTCAP Team # Copyright : 2021 European Commission, Joint Research Centre # License : 3-Clause BSD def pts_tstype(): options = [ ("NDVI", 'ndvi'...
[ "Konstantinos.ANASTASAKIS@ext.ec.europa.eu" ]
Konstantinos.ANASTASAKIS@ext.ec.europa.eu
0163efc456249b13e8947efd434ca5dc3cec8464
78260a7ab56c581684f5cb6efbf37ae6468cb092
/payserver/puser/rest/client.py
97fcdc8ed706ef9c8e289828064feafc65add317
[]
no_license
yiyuhao/FukuanUnion
4702ee0c60b9a8d74a48c4c4c981c2f949dac04e
0d32f98f42591b43e0b4da5e978b627da517f758
refs/heads/master
2022-01-09T21:44:57.767264
2019-06-19T02:48:22
2019-06-19T02:48:22
192,504,062
0
0
null
2022-01-06T22:36:08
2019-06-18T09:00:40
Python
UTF-8
Python
false
false
3,835
py
# -*- coding: utf-8 -*- # # Project: payunion # Author: Luo Yufu # # Copyright (c) 2018 麦禾互动. All rights reserved. from rest_framework import serializers from rest_framework.response import Response from rest_framework.views import APIView import config from common.error_handler import raise_with_code from co...
[ "yiyuhao@mixadx.com" ]
yiyuhao@mixadx.com
58ff3b5a32a21943d174e12d1ed4630827589b61
048eaa32bcd05ee278e6f391f9091f1848022987
/dbdk/ai_based_adaptive_security_system/test_preprocess.py
c13d73fb5abcf9ca05d895cb99b898990b17b24c
[]
no_license
kendricklee91/portfolio
613e14fd6f13027c6d68d56b1b3d96b186de56b1
ef92604a1e14a3b81ae5e91883c07501def6b3da
refs/heads/master
2022-11-15T01:00:55.724686
2022-10-27T06:47:44
2022-10-27T06:47:44
170,043,628
0
0
null
null
null
null
UTF-8
Python
false
false
1,779
py
from ksv_model.preprocess.conv_payload import KnownAttackPreprocess import ksv_model.config.const as cst import os import pandas as pd import unittest class TestPreProcess(unittest.TestCase): # Fixture def setUp(self): pass def tearDown(self): pass @unittest.skip def test_sq...
[ "noreply@github.com" ]
kendricklee91.noreply@github.com
d0fa0f825611f9b5753a4c5f6634e3d78d6795ca
eb3683f9127befb9ef96d8eb801206cf7b84d6a7
/stypy/sgmc/sgmc_cache/site_packages/matplotlib/compat/subprocess.py
ac2c5378325db767314c3475e4f7d788ce4748f7
[]
no_license
ComputationalReflection/stypy
61ec27333a12f76ac055d13f8969d3e0de172f88
be66ae846c82ac40ba7b48f9880d6e3990681a5b
refs/heads/master
2021-05-13T18:24:29.005894
2018-06-14T15:42:50
2018-06-14T15:42:50
116,855,812
2
0
null
null
null
null
UTF-8
Python
false
false
23,564
py
# -*- coding: utf-8 -*- """ ORIGINAL PROGRAM SOURCE CODE: 1: ''' 2: A replacement wrapper around the subprocess module, with a number of 3: work-arounds: 4: - Provides a stub implementation of subprocess members on Google App Engine 5: (which are missing in subprocess). 6: - Use subprocess32, backport from python 3...
[ "redondojose@uniovi.es" ]
redondojose@uniovi.es
9b81c4c4599ddb845725dcb5e27c1774a7308034
e3b9aa9b17ebb55e53dbc4fa9d1f49c3a56c6488
/elastalert/komand_elastalert/connection/connection.py
c4ceb653b8d39680f7402e3d887cd0a8aeedcb84
[ "MIT" ]
permissive
OSSSP/insightconnect-plugins
ab7c77f91c46bd66b10db9da1cd7571dfc048ab7
846758dab745170cf1a8c146211a8bea9592e8ff
refs/heads/master
2023-04-06T23:57:28.449617
2020-03-18T01:24:28
2020-03-18T01:24:28
248,185,529
1
0
MIT
2023-04-04T00:12:18
2020-03-18T09:14:53
null
UTF-8
Python
false
false
559
py
import komand from .schema import ConnectionSchema # Custom imports below class Connection(komand.Connection): def __init__(self): super(self.__class__, self).__init__(input=ConnectionSchema()) def connect(self, params): self.logger.info('Listen: Listening...') user = params.get('cre...
[ "jonschipp@gmail.com" ]
jonschipp@gmail.com
dba5a5796fc5532646809846ec01f213a176c90d
6f479ba2992da29623049dc296d2c053709b1aac
/Exercícios/076_Funcao_Range.py
cd050c4c831a127d3c0e9a90b82c08fccbd8781d
[]
no_license
fernandochimi/Intro_Python
45905571776e86f4b36e36afe8ba6f77f6469d23
e87b4f28d84f8c5aea25492998edb94bd017dedc
refs/heads/master
2021-01-01T18:12:02.592807
2014-04-10T12:41:13
2014-04-10T12:41:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
34
py
for v in range(2000000): print(v)
[ "fernando.chimicoviaki@gmail.com" ]
fernando.chimicoviaki@gmail.com
714d7ae1ca12ab5c794d070c09b00ed562c6f7a6
6af44c684d1164e849c47a381facce11af6b45a1
/jd/api/rest/UnionOpenGoodsBigfieldQueryRequest.py
d2a17e0df25434bf93af91b5b77ef5f34d8b3050
[ "MIT" ]
permissive
dsjbc/linjuanbang
cdfa84f7c7e2a89dc840c476bea92c4ff4d4de84
8cdc4e81df73ccd737ac547da7f2c7dca545862a
refs/heads/master
2022-03-16T20:43:42.005432
2019-11-25T10:15:11
2019-11-25T10:15:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
from jd.api.base import RestApi class UnionOpenGoodsBigfieldQueryRequest(RestApi): def __init__(self,domain='gw.api.360buy.com',port=80): RestApi.__init__(self,domain, port) self.goodsReq = None def getapiname(self): return 'jd.union.open.goods.bigfield.query'
[ "tarena_feng@126.com" ]
tarena_feng@126.com
0605902ad8d6074ceaab4350dcc4f8ac4216b0a8
b0958e674b9d562b9b983d26eca99747acc00365
/backend/apps/user/migrations/0005_auto_20200303_1700.py
18b7c4af0993735c6f0ab030e2268a25d05ed5fa
[ "MIT" ]
permissive
IT-xiaoge/Journey
d55bae3d6a4e8ac6fddc39c492f9a6a4699341a1
43f241e25e6030ddae39cc06a74b3da70c48da34
refs/heads/master
2021-05-23T10:51:33.424181
2020-03-23T03:15:10
2020-03-23T03:15:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
# Generated by Django 2.0.4 on 2020-03-03 17:00 from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('user', '0004_auto_20200303_1651'), ] operations = [ migrations.AlterField( model_name='users', name='jwt...
[ "977983452@qq.com" ]
977983452@qq.com
f72f6feb002fa2a46686f45cbe7f71493bbb552f
04803c70bb97012b7d500a177ac0240fb2ddbe38
/blend4_pdep/pdep/network135_1.py
2b591a32160410edc7b67c263db8abf01da9e7a1
[]
no_license
shenghuiqin/chpd
735e0415f6688d88579fc935459c1b0f53596d1d
396ba54629036e3f2be0b3fabe09b78c90d56939
refs/heads/master
2023-03-01T23:29:02.118150
2019-10-05T04:02:23
2019-10-05T04:02:23
192,084,217
0
0
null
2019-06-18T18:33:13
2019-06-15T13:52:28
HTML
UTF-8
Python
false
false
60,038
py
species( label = 'C7H8O(627)(626)', structure = SMILES('O=CC=C1CC=CC1'), E0 = (-8.1174,'kJ/mol'), modes = [ HarmonicOscillator(frequencies=([2750,2830,2910,2990,3070,3150,900,940,980,1020,1060,1100,2782.5,750,1395,475,1775,1000,3010,987.5,1337.5,450,1655,300,800,800,800,800,800,800,800,800,1600,...
[ "qin.she@husky.neu.edu" ]
qin.she@husky.neu.edu
3cc156f814682e92411399151df53e8f3b0bc9c5
04d684cc6e7fdaa07d54d077091bcf7cac4ac6ad
/backend/insaniquarium_5374/urls.py
aab54a0dd1fa01217e7ff99f11024a123e24af97
[]
no_license
crowdbotics-apps/insaniquarium-5374
0bf9228545c88865b4444c5166faa4bed9177604
ad644cca6462567d364d81ddf0333f83c05160c0
refs/heads/master
2022-12-11T03:08:06.566640
2019-06-30T03:29:39
2019-06-30T03:29:39
194,470,794
0
0
null
2022-12-09T16:29:08
2019-06-30T03:29:23
Python
UTF-8
Python
false
false
1,045
py
"""insaniquarium_5374 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
2a8313adcd38761dca60a6df91e387fc406e034d
c37233e3eb16797acd06d4fdb724f8b522581507
/exerDjango/appSys/migrations/0002_employee_pwd.py
55e3c8828c18198c2101e3b2803df20a25845e09
[]
no_license
wildmanwang/exerSite
deb4ce8607b9fcc820df43a6948f15c355d3f0aa
b6a297b50349b0c645d9409618ef5bce649f4d88
refs/heads/master
2020-11-29T10:08:15.441035
2020-08-15T03:51:46
2020-08-15T03:51:46
230,086,936
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
# Generated by Django 3.0.1 on 2020-01-03 03:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('appSys', '0001_initial'), ] operations = [ migrations.AddField( model_name='employee', name='pwd', field...
[ "cliff.w@qq.com" ]
cliff.w@qq.com
920f7aaf115e40384ab03e379b2dd585f8138e67
f75632bafa7d9771655a2030cbf009e73682d0f2
/test.py
3412740ccc0571e0e123ed37b52427b3c7948de4
[]
no_license
NicholasPiano/arktic
563acab350e9d4f1ef5375d9237cba6d2df04295
f28d868373f00aa8a817239f5bc167dadb50b053
refs/heads/master
2016-09-08T01:20:06.885034
2015-02-28T16:28:57
2015-02-28T16:28:57
19,547,469
0
1
null
2014-09-23T11:27:00
2014-05-07T19:31:26
JavaScript
UTF-8
Python
false
false
178
py
import os for path, subs, files in os.walk('./woot/apps'): for file in files: if '.py' in file: with open(os.path.join(path, file), 'w') as f: f.write('\n')
[ "nicholas.d.piano@gmail.com" ]
nicholas.d.piano@gmail.com
7ff065e43f5648524596bf831b2d5f9e4204291f
e6bc36f8b0e141f44ca7d141af7551d79a4e8793
/server.py
c21b2a52f5426efb9aabf613a9daddc8cd3bcb4e
[]
no_license
123webprotection/mitmproxy-patches
563a15cdeee55df8ac38609914018a43f5ffa547
6216064dff7771ff40e218892727c0ef49cfa8b4
refs/heads/master
2022-07-29T13:40:36.195894
2020-05-27T22:37:16
2020-05-27T22:37:16
267,434,871
0
0
null
null
null
null
UTF-8
Python
false
false
5,624
py
import sys import traceback from mitmproxy import exceptions from mitmproxy import connections from mitmproxy import controller # noqa from mitmproxy import http from mitmproxy import log from mitmproxy import platform from mitmproxy.proxy import config from mitmproxy.proxy import modes from mitmproxy.proxy import ro...
[ "you@example.com" ]
you@example.com
047169dd2897153e94721378a6dbca2d2d67deae
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/econet/climate.py
7233d135f2e1cd69df645a85c1aa0d2ec44df110
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
7,836
py
"""Support for Rheem EcoNet thermostats.""" from typing import Any from pyeconet.equipment import EquipmentType from pyeconet.equipment.thermostat import ThermostatFanMode, ThermostatOperationMode from homeassistant.components.climate import ( ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW, FAN_AUTO, FAN...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
8a3a382550ab017bb166391982e444a309d833cb
5849d9b45d8720dcfb16bb1266f874cdd70f0b26
/project_name/settings.py
5ad1562aef2083d72af24739662a3aec1bb434c6
[]
no_license
jonashaag/django-project-template
8055ac398a06bba35722fe3934654c108de622f4
99a8e090cca3445cf931f93900f989dedd3638a6
refs/heads/master
2021-01-22T04:36:43.992341
2012-04-18T09:57:04
2012-04-18T09:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,732
py
ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.', 'NAME': '', } } TIME_ZONE = 'America/Chicago' LANGUAGE_CODE = 'en-us' USE_I18N = True USE_L10N = True # If you set this to False, Django will not use time...
[ "jonas@lophus.org" ]
jonas@lophus.org
98a7a75753720ac6215b66a0b39c188d7caa2bf1
40c927ea44653c645c9540e68a8f5b439990fddd
/Chap 14/Exercise_14.11.5.py
f05a19123c064d5b8aca04fc12cf345270829a24
[]
no_license
simrit1/asimo
211ff255434637ac6ad396e8ff5ed5cee6ea971d
12564ab591129ebbb0c2daaa3c538cc6d39aee39
refs/heads/master
2022-02-25T07:53:05.034587
2019-09-22T15:34:11
2019-09-22T15:34:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,921
py
# Exercise 14.11.5 from unit_tester import test my_tickets = [ [ 7, 17, 37, 19, 23, 43], [ 7, 2, 13, 41, 31, 43], [ 2, 5, 7, 11, 13, 17], [13, 17, 37, 19, 23, 43] ] def lotto_draw(): """ Simulate a lotto draw """ import random rng = random.Random(...
[ "noreply@github.com" ]
simrit1.noreply@github.com
e636bc2b53212b0e1735d28d59b2dac1fe02efea
056ce350bf4f56a8047e673a5458632debd9802b
/benchmark/experiments/toy/quartic_simple.py
603ea962be9d5159ca7455ccf9d5f9b8e20c09d4
[ "MIT" ]
permissive
LaYeqa/integrator-benchmark
a2402d37754682f442298fbe2554ae25f7af063d
bb307e6ebf476b652e62e41ae49730f530732da3
refs/heads/master
2021-09-10T15:41:31.040482
2018-02-12T19:49:29
2018-02-12T19:49:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,151
py
# Simplest case, no bells or whistles, just hard-code integrators and test system import numpy as np import matplotlib from numba import jit from time import time matplotlib.use('agg') import matplotlib.pyplot as plt from scipy.stats import entropy from benchmark import DATA_PATH import os # define system np.random....
[ "jf694@cornell.edu" ]
jf694@cornell.edu
4726e32b4ba12b8579fac77db6baaf860e927220
3a891a79be468621aae43defd9a5516f9763f36e
/desktop/core/ext-py/docutils-0.14/test/test_parsers/test_rst/test_directives/test_tables.py
fbc0f17b16091db7f7999a35d06846aa8042b32e
[ "GPL-1.0-or-later", "GPL-3.0-or-later", "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-other-permissive", "Python-2.0", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "LicenseRef-scancode-proprietary-license", "Apache-2.0" ]
permissive
oyorooms/hue
b53eb87f805063a90f957fd2e1733f21406269aa
4082346ef8d5e6a8365b05752be41186840dc868
refs/heads/master
2020-04-15T20:31:56.931218
2019-01-09T19:02:21
2019-01-09T19:05:36
164,998,117
4
2
Apache-2.0
2019-01-10T05:47:36
2019-01-10T05:47:36
null
UTF-8
Python
false
false
38,673
py
#! /usr/bin/env python # $Id: test_tables.py 7980 2016-11-29 12:10:50Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ Tests for tables.py directives. """ from __init__ import DocutilsTestSupport import os, sys import csv import platform from d...
[ "ranade@cloudera.com" ]
ranade@cloudera.com
59c5b250b1798f2135b9403a306f768273a43943
d233b312cd3f0c83a06c1cce830252a3664023ff
/catkin_ws/build/ridgeback/ros_control/controller_manager_tests/catkin_generated/pkg.installspace.context.pc.py
373d6f7d52270a9bdf095b23979975ae8508b6b1
[]
no_license
leopauly/Observation-learning-Real-world-UR5
32691f989ed60d92eca82bea0f47b960a6d48afa
72e61d07582d05d40a1bde31c99ab5d9cf97f70d
refs/heads/main
2023-07-05T07:05:00.554268
2021-08-12T11:51:58
2021-08-12T11:51:58
395,289,055
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/wisdom/catkin_ws/install/include".split(';') if "/home/wisdom/catkin_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "controller_manager;controller_interface".replace(';', ' ') PKG_CON...
[ "meetleopauly@yahoo.com" ]
meetleopauly@yahoo.com
4ee4a245592136d2e74d32b3230a927d706c195a
0b1c9f54f5abb46d3f771acf3cc0704d82c0beb6
/shot_blog/blogs/urls.py
63a9317ef5a2a2a2ea73b19a313fce57ea032f9f
[]
no_license
shotaro0726/ni_blog
c1250f49a396fd2d3f88ece3f29d75003aea4369
64787ab15f873bfeb781758e94d6adac955628a3
refs/heads/master
2022-04-28T05:20:20.118356
2020-04-19T06:49:15
2020-04-19T06:49:15
256,933,473
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
from django.urls import path from .import views app_name = 'blogs' urlpatterns = [ path('',views.index,name='index'), path('detail/<int:blog_id>/',views.detail,name='detail') ]
[ "shoutaro0726@gmail.com" ]
shoutaro0726@gmail.com
279a9182239a06ef24b97f18e286fafab6dec3ae
cb7e8d9ba783ac16c2c7bd260dc4edc68da4ce7e
/scripting_with_python/image/image_processing.py
def83e50634241fd618375054fe8d79d7d2beb34
[]
no_license
lunatic-7/ZTM-git-
d0598f7c177befaf1ae3af74878b08bed7dadd65
7140f622dfdfb3eba745fa9245a36816a85c2bfe
refs/heads/main
2023-08-16T23:15:28.809326
2021-09-24T11:12:21
2021-09-24T11:12:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,630
py
# What is image processing? # Image processing is cropping, compressing, adding filters etc. with an image, to # make it suitable for our use. eg. When we upload an image on instagram. We upload an # image of few (2-3 mb)s but, instagram processes it crops it compresses it, to # make it in a few kilobytes (kbs). It do...
[ "wasif1607@gmail.com" ]
wasif1607@gmail.com
217be29b0e93f5dc40d2bfb0b3ff8b2226b658aa
f64e31cb76909a6f7fb592ad623e0a94deec25ae
/leetcode/p0055_jump_game.py
cb84269f180d281d9b84ba505210e60cc8822f78
[]
no_license
weak-head/leetcode
365d635cb985e1d154985188f6728c18cab1f877
9a20e1835652f5e6c33ef5c238f622e81f84ca26
refs/heads/main
2023-05-11T14:19:58.205709
2023-05-05T20:57:13
2023-05-05T20:57:13
172,853,059
0
1
null
2022-12-09T05:22:32
2019-02-27T05:58:54
Python
UTF-8
Python
false
false
621
py
def can_jump(nums): """ Track mack distance from start to end. O(n) """ if not nums: return True target = len(nums) - 1 max_distance = ix = 0 while ix <= max_distance: max_distance = max(max_distance, ix + nums[ix]) if max_distance >= target: return...
[ "zinchenko@live.com" ]
zinchenko@live.com
f0ad192f81c7fb7c5b31bf9612c0a45824c29124
cdf04262a83d485b3a66310d3e7fc0e2231fc39d
/backend/new_figma_test_dev_22672/settings.py
a429f13684d9167ebd6b3c3a119e277c20d85806
[]
no_license
crowdbotics-apps/new-figma-test-dev-22672
0d414a22086ede2b42ecde64f3081ac8eafb2cb6
a5164632e846e1c3383a8c829ba7e1728b1dc109
refs/heads/master
2023-06-06T12:22:30.238343
2021-06-29T20:32:35
2021-06-29T20:32:35
381,489,748
0
0
null
null
null
null
UTF-8
Python
false
false
7,209
py
""" Django settings for new_figma_test_dev_22672 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
09bf3dff12dcbd85f5af0ac943eeeec41b2c5035
d1205c39ad5febd5f73526cb6eda5fd413e998a3
/ambra_sdk/service/entrypoints/generated/report.py
89fec61b0bc9b25cab1fb3e434d353c317f2ee58
[ "Apache-2.0" ]
permissive
ppolk-nocimed/sdk-python
77364972c5559a43787f81373327b86204f9ec39
165a8049bbc38a201ef27f60a8ba1b980c1c9a64
refs/heads/master
2022-11-22T23:48:22.444967
2020-07-17T16:27:05
2020-07-17T16:27:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,785
py
""" Report. Do not edit this file by hand. This is generated by parsing api.html service doc. """ from ambra_sdk.exceptions.service import MissingFields from ambra_sdk.exceptions.service import NotFound from ambra_sdk.exceptions.service import ReportFailed from ambra_sdk.service.query import QueryO class Report: ...
[ "akapustin@ambrahealth.com" ]
akapustin@ambrahealth.com
6fc875c9f312b3a5040af1e364d93d2448d17e32
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.5_rd=0.8_rw=0.06_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=84/sched.py
f99f60fe8a3f5bc5fc288ac492b8972814c35822
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
-X FMLP -Q 0 -L 3 124 400 -X FMLP -Q 0 -L 3 112 400 -X FMLP -Q 0 -L 3 70 250 -X FMLP -Q 0 -L 3 53 200 -X FMLP -Q 1 -L 2 48 175 -X FMLP -Q 1 -L 2 45 150 -X FMLP -Q 1 -L 2 34 100 -X FMLP -Q 2 -L 1 33 175 -X FMLP -Q 2 -L 1 32 300 -X FMLP -Q 2 -L 1 31 125 -X FMLP -Q 3 -L 1 31 100 -X FMLP -...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
5af7d0d9a341fc961882e00a883945d3a20ff470
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-6040.py
f06b23d7da1d9165feda3e0ad515845e7b6c1310
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,236
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
c88ae78ecce190be121c7508f01e50a8b5a349b1
3b7c5454d22d843f21d58eaef724c08436f20c26
/exp/exp115.py
71c2d29a316e8f88f1cae27706081d965e0784ab
[]
no_license
kurupical/shopee
a6c1a0fcf6f92b5f204ebab150bba7b906c5421a
ccc3f1ed631283d627074529ec1f302b02d0d10a
refs/heads/master
2023-04-18T14:17:18.786699
2021-05-11T00:11:24
2021-05-11T00:11:24
354,429,650
1
0
null
null
null
null
UTF-8
Python
false
false
23,946
py
import torch from torch import nn from torch.nn import Parameter import torch.nn.functional as F from transformers import AutoTokenizer, AutoModel from torch.utils.data import Dataset, DataLoader from timm import create_model import math import cv2 import random import os import numpy as np import pandas as pd from skl...
[ "kurupical@gmail.com" ]
kurupical@gmail.com
c524ebba8085ed9338984abbab9910656e52c5e8
f6b5799c13fad2382d638a1208f4972ce818174a
/site/BAEKJOON/src/python/10_수학02/4948.py
98f10f2700d51370514ee92fe83c6ff5e25bd984
[]
no_license
JoonBeomLee/Algorithm_Python
6bf0cc29ffaf75156bfa44ea531c33b3d2b2a129
185fb39d535573c374f1d0d88f728f97086a4246
refs/heads/master
2023-06-11T10:27:10.228151
2021-07-05T14:59:40
2021-07-05T14:59:40
193,500,999
1
0
null
null
null
null
UTF-8
Python
false
false
362
py
# 에라토스테네의 체 def isPrime_v02(num): if num <= 1: return False i = 2 while i*i <= num: if num % i == 0: return False i += 1 return True while True: N = int(input()) if N == 0: break count = 0 for num in range(N+1, 2*N+1): if isPrime_v02(num): count+=1 ...
[ "jbl9595@naver.com" ]
jbl9595@naver.com
2067ae11cab5551190ed521b72c645b41e53cfdc
bc11e10521fa313d83011e77a2c31a0b6ed581af
/lib/rubyfox/server/data/lib/Lib/encodings/cp869.py
2e3ad35c1c500b19e96d7ccd333aa50d6942a7b0
[ "MIT" ]
permissive
neopoly/rubyfox-server
f6f191c68dcc30b8c56d22c8209e4a69251f4f27
26d67687fc642111ef8d02507f2b567828bd1ebd
refs/heads/master
2023-07-20T15:04:32.028192
2023-07-17T09:16:36
2023-07-17T09:33:20
6,457,322
3
4
MIT
2020-08-11T06:53:50
2012-10-30T13:06:32
Python
UTF-8
Python
false
false
6,708
py
""" Python Character Mapping Codec generated from 'CP869.TXT' with gencodec.py. Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. (c) Copyright 2000 Guido van Rossum. """#" import codecs ### Codec APIs class Codec(codecs.Codec): def encode(self,input,error...
[ "ps@neopoly.de" ]
ps@neopoly.de
6af8db98178731f39ff28f1678f25b66209a5ff4
13ae63aff4cddc2bfc8becca8a6ad813b5b1b7cd
/data/Everything Else/Blender/2.73/scripts/addons/io_export_dxf/primitive_exporters/insert_exporter.py
80cf7dbdb7d11cff3fb9e6e54def41db512adf94
[ "MIT" ]
permissive
BlenderCN-Org/University-Assignments
d0e236599aeaa83e098cab5202c44c553949c97a
28b6bb9600b326e80bdf2ef6e7b46d64c501f79a
refs/heads/master
2022-12-24T20:06:41.904450
2019-01-01T21:06:01
2019-01-01T21:06:01
186,552,105
0
1
MIT
2022-12-15T02:10:57
2019-05-14T05:39:42
HTML
UTF-8
Python
false
false
2,464
py
from .base_exporter import BasePrimitiveDXFExporter class InsertDXFExporter(BasePrimitiveDXFExporter): pass #----------------------------------------------------- def exportInsert(ob, mx, insert_name, **common): """converts Object to DXF-INSERT in given orientation """ WCS_loc = ob.loc # WCS_loc is ...
[ "matthewgmcmillian@gmail.com" ]
matthewgmcmillian@gmail.com