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
d3ec5b088a135db2f9b6e929ee4d35e3c6dee45b
4f510470b3093ab2c60f929221af82c79b121ca7
/python_net/day6/clock.py
c2d5b6098c3805e3c03231421859c85e08e5ae48
[]
no_license
q737645224/python3
ce98926c701214f0fc7da964af45ba0baf8edacf
4bfabe3f4bf5ba4133a16102c51bf079d500e4eb
refs/heads/master
2020-03-30T07:11:17.202996
2018-10-30T06:14:51
2018-10-30T06:14:51
150,921,088
2
0
null
null
null
null
UTF-8
Python
false
false
409
py
from multiprocessing import Process import time class ClockProcess(Process): def __init__(self,value): #调用父类init super().__init__() self.value = value #重写run方法 def run(self): for i in range(5): time.sleep(self.value) print("The time is {}".format(t...
[ "764375224@qq.com" ]
764375224@qq.com
1d2507a1c919eb50f1f0b17dac4098ce8f506800
bab18992fe3265a2eacfb08f1c6241188f7ac225
/python_scripts/aws_setup.py
5e1d0d48d09784027693118b457be8c81b5dca82
[ "Apache-2.0" ]
permissive
sjdlloyd/imagenet-fast
5978597f43d29cab0a430aa1128eadd1abc3e4f9
edfa49711c9d0076f40352badf4179c4e53f347a
refs/heads/master
2020-03-07T07:39:47.641129
2018-03-29T23:08:13
2018-03-29T23:08:13
127,355,266
0
0
Apache-2.0
2018-03-29T22:50:04
2018-03-29T22:50:04
null
UTF-8
Python
false
false
10,202
py
import argparse import boto3 import paramiko import os, sys, time from pathlib import Path session = boto3.Session() ec2 = session.resource('ec2') ec2c = session.client('ec2') def get_vpc(name): vpcs = list(ec2.vpcs.filter(Filters=[{'Name': 'tag-value', 'Values': [name]}])) return vpcs[0] if vpcs else None d...
[ "andrew.t.shaw@gmail.com" ]
andrew.t.shaw@gmail.com
8ab39253c3c68371ad76627741d0833f97e1c4b5
3929d114c1bc6aef86402300a8d5b278849d41ae
/701. Insert into a Binary Search Tree.py
5abb58bce2b3ff9cf773ac80caf45a589b4e5a5e
[]
no_license
lxyshuai/leetcode
ee622235266017cf18da9b484f87c1cf9ceb91d0
5f98270fbcd2d28d0f2abd344c3348255a12882a
refs/heads/master
2020-04-05T21:29:37.140525
2018-12-16T13:17:15
2018-12-16T13:17:15
157,222,620
0
0
null
null
null
null
UTF-8
Python
false
false
1,551
py
""" Given the root node of a binary search tree (BST) and a value to be inserted into the tree, insert the value into the BST. Return the root node of the BST after the insertion. It is guaranteed that the new value does not exist in the original BST. Note that there may exist multiple valid ways for the insertion, as...
[ "442536013@qq.com" ]
442536013@qq.com
dc309c761d457be4dcea5b7d6967cc27013e4e07
209a7a4023a9a79693ec1f6e8045646496d1ea71
/COMP0016_2020_21_Team12-datasetsExperimentsAna/pwa/FADapp/pythonScripts/venv/Lib/site-packages/aniso8601/exceptions.py
887cfbd010261406a1330c553a6636ff210ef2f6
[ "MIT" ]
permissive
anzhao920/MicrosoftProject15_Invictus
5e2347015411bbffbdf0ceb059df854661fb240c
15f44eebb09561acbbe7b6730dfadf141e4c166d
refs/heads/main
2023-04-16T13:24:39.332492
2021-04-27T00:47:13
2021-04-27T00:47:13
361,913,170
0
0
MIT
2021-04-26T22:41:56
2021-04-26T22:41:55
null
UTF-8
Python
false
false
1,182
py
# -*- coding: utf-8 -*- # Copyright (c) 2021, Brandon Nielsen # All rights reserved. # # This software may be modified and distributed under the terms # of the BSD license. See the LICENSE file for details. class ISOFormatError(ValueError): """Raised when ISO 8601 string fails a format check.""" class NegativeD...
[ "ana.kapros@yahoo.ro" ]
ana.kapros@yahoo.ro
c2e612ddf1c155b9790bbcbab3b932deecd1ebe2
dddbf58aa36d9779f1e50e2d761e93fb7580b835
/settings.py
9d107f569ede8b4149aab50b91ae1c74772489af
[]
no_license
powellc/lobby_slideshow
7566933707554b1f4188bd116fcdf51668442d0d
b1fc222c14dd4a9bda5665a7ade6dbe1a20b7d1d
refs/heads/master
2021-01-02T22:19:23.065149
2014-03-07T19:51:33
2014-03-07T19:51:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,516
py
# Django settings for lobby_adamsschool_com project. import os import sys gettext = lambda s: s PROJECT_PATH = os.path.abspath(os.path.dirname(__file__)) PUBLIC_DIR = os.path.join(PROJECT_PATH, 'public') LOBBY_HOME = os.path.join(PUBLIC_DIR, 'lobby') sys.path.insert(0, os.path.join(PROJECT_PATH, "apps")) ADMINS = ( ...
[ "colin.powell@gmail.com" ]
colin.powell@gmail.com
efacaba6ff291bba29e7c9f3869a4f4493c615f2
65b265426676b9e5ea72e6787ad82fab3446920a
/main.py
28c53eef4aa2d4e2ec7677b58da224206510035d
[]
no_license
podder-ai/podder-task-sample-tessaract
47c3687a1d9483f29d9f1b913ddddb2ccfcc2606
ef8dfa723e0d3dba81363982ab9152c5bfea46e0
refs/heads/master
2022-12-02T13:24:05.814188
2019-11-17T04:46:33
2019-11-17T04:46:33
222,094,410
0
0
null
2022-11-22T04:50:00
2019-11-16T12:14:30
Python
UTF-8
Python
false
false
259
py
import uuid from app.task import Task from podder_task_foundation import MODE DAG_ID = "___dag_id___" def main() -> None: task = Task(MODE.CONSOLE) job_id = str(uuid.uuid1()) task.handle(job_id, DAG_ID) if __name__ == "__main__": main()
[ "takaaki.mizuno@gmail.com" ]
takaaki.mizuno@gmail.com
ed6d9c2ba7ef83ea5ce9da0efe39162f598deded
1548ce77537dcd50ab04b0eaee050b5d30553e23
/autotabular/constants.py
c0ad9e5d846e8aca277e0a36426e69307ed79833
[ "Apache-2.0" ]
permissive
Shamoo100/AutoTabular
4a20e349104246bf825ebceae33dca0a79928f2e
7d71bf01d2b7d84fcf5f65c9f45c5cea1255d8a2
refs/heads/main
2023-08-13T21:34:34.329888
2021-10-02T07:06:00
2021-10-02T07:06:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
BINARY_CLASSIFICATION = 1 MULTICLASS_CLASSIFICATION = 2 MULTILABEL_CLASSIFICATION = 3 REGRESSION = 4 MULTIOUTPUT_REGRESSION = 5 REGRESSION_TASKS = [REGRESSION, MULTIOUTPUT_REGRESSION] CLASSIFICATION_TASKS = [ BINARY_CLASSIFICATION, MULTICLASS_CLASSIFICATION, MULTILABEL_CLASSIFICATION ] TASK_TYPES = REGRESSION_TAS...
[ "jianzhnie@126.com" ]
jianzhnie@126.com
438d6c4940c8513fdd919f483d63f2bfc6b96bc8
b767d5e8c5a32d360196ff3b89efc42dce0071b3
/blog/acl/views.py
deae34df69b4570befe5e51dbec27d7a352187c5
[]
no_license
wangjiancn/back-end_blog
749d40a1c447975408a5538c33ac334d826d5d2c
da79506169573df7d48784f5f109be61e59edc7b
refs/heads/master
2022-12-11T06:34:17.641252
2020-04-13T13:13:35
2020-04-13T14:24:26
186,651,614
1
0
null
2022-05-25T02:48:28
2019-05-14T15:35:24
Python
UTF-8
Python
false
false
813
py
import json from django.views.decorators.http import require_POST from django.views.decorators.csrf import csrf_exempt from django.contrib.auth import authenticate from .models import UserProfile from .auth_wrap import token_required from utils.api_response import APIResponse, APIResponseError @require_POST @csrf_e...
[ "wangjianchn@outlook.com" ]
wangjianchn@outlook.com
68fff833f3fd4310916ca1b8d9065f46d4002a05
9cc1b58d0319308da98187d071295b2fabf1f080
/TQC_考題練習/b0526_TQC證照_301.py
37df2111df4e754b9ad91e97a2c89db29fd43817
[ "MIT" ]
permissive
Arwen0905/Python_Test
60d1dee383c9cf27df6b93cfde7884c91092229c
c75357e4354a684a9fae41f751dae60d4cf0716c
refs/heads/master
2023-01-13T13:14:55.355898
2020-10-31T18:52:07
2020-10-31T18:52:07
265,150,874
0
1
null
null
null
null
UTF-8
Python
false
false
798
py
# 1. 題目說明: # 請開啟PYD301.py檔案,依下列題意進行作答, # 依輸入值計算總和,使輸出值符合題意要求。 # 作答完成請另存新檔為PYA301.py再進行評分。 # 2. 設計說明: # 請使用迴圈敘述撰寫一程式, # 讓使用者輸入兩個正整數a、b(a < b), # 利用迴圈計算從a開始連加到b的總和。 # 例如:輸入a=1、b=100, # 則輸出結果為5050(1 + 2 + … + 100 = 5050)。 # 3. 輸入輸出: # 輸入說明 # 兩個正整數(a、b,且a < b) # 輸出說明 # 計算從a開始連加到b的總和 # 輸入輸出範例 # 範例輸入 # 66 # 666 # 範例輸出 # ...
[ "qq23378452@gmail.com" ]
qq23378452@gmail.com
831feaf2beaa8177145bc39ad2ed5b7309728577
e61e8f906b7f1de60fca47ac01293ef695d22a9b
/home/migrations/0003_auto_20181127_2103.py
c688484ad34957611673fae6c50c61d7c7a3a693
[]
no_license
redcliver/marioseguros
e5f775d129a201e80a55f7ac266952e41ecb9079
da0aeb3b2625dd0ce35e074d94231066a9483501
refs/heads/master
2020-03-30T02:40:21.419727
2019-02-04T14:19:36
2019-02-04T14:19:36
150,642,755
0
0
null
null
null
null
UTF-8
Python
false
false
2,504
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-11-27 21:03 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('home', '0002_auto_20181127_0958'), ] operations = [ ...
[ "igor-peres@hotmail.com" ]
igor-peres@hotmail.com
5e0ef252f9b0c83b10c62836004ad7774ad55827
377420d718094a37da2e170718cecd80435d425a
/google/ads/googleads/v4/services/types/user_interest_service.py
e0da2b7489e7318a888329e4829469e8b0cd7f31
[ "Apache-2.0" ]
permissive
sammillendo/google-ads-python
ed34e737748e91a0fc5716d21f8dec0a4ae088c1
a39748521847e85138fca593f3be2681352ad024
refs/heads/master
2023-04-13T18:44:09.839378
2021-04-22T14:33:09
2021-04-22T14:33:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,219
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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 o...
[ "noreply@github.com" ]
sammillendo.noreply@github.com
429b151fd242a071d82942054526cb5f29dacb65
e7a48c161eabd4b941f4cc29a8064c5ba2ec1aa3
/project/apps/tables/views.py
7c1987ac8cb055cb7b9fd7144915232a31822d6e
[]
no_license
MauricioDinki/mesa-regalos
7d3d7968990323a828dd58107045d12db1f005a3
66dbb879421a2f563b731154462e526036f9d957
refs/heads/master
2022-12-12T06:04:36.508639
2019-05-30T07:23:21
2019-05-30T07:23:21
189,360,356
0
0
null
2022-12-08T05:11:50
2019-05-30T06:41:55
Python
UTF-8
Python
false
false
3,218
py
from django.contrib import messages from django.http import Http404 from django.shortcuts import redirect from django.template.response import TemplateResponse from django.urls import reverse, reverse_lazy from django.views import View from django.views.generic import FormView, DeleteView, UpdateView, TemplateView fro...
[ "mauriciodinki@gmail.com" ]
mauriciodinki@gmail.com
5f1ebaaf134e28a2cce175fab00ab1e2933603c3
5db0fab37c2b8a618d85d3b60fab9f806c416474
/src/python/pants/jvm/package/war.py
31c96a849f1c243e7a90c996c3d22ed4cd110ea1
[ "Apache-2.0" ]
permissive
pantsbuild/pants
4988d1ac5474ec95f94ce2218aeb759401e4b011
98cbda8545f0d58c586ed2daa76fefd729d5e0d5
refs/heads/main
2023-09-05T03:44:17.646899
2023-09-01T19:52:09
2023-09-01T19:52:09
7,209,075
2,708
593
Apache-2.0
2023-09-14T19:33:33
2012-12-17T17:39:04
Python
UTF-8
Python
false
false
7,675
py
# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import annotations import logging import textwrap from dataclasses import dataclass from pathlib import PurePath from typing import Iterable from pants.build_graph.addres...
[ "noreply@github.com" ]
pantsbuild.noreply@github.com
fe2f7f2530cf752e62798071f21f4b0661893d06
15a992391375efd487b6442daf4e9dd963167379
/tests/test_simulatedelay.py
3a0507dae745ed25ed225fcb317707121dba18bb
[ "Apache-2.0" ]
permissive
Bala93/MONAI
b0e68e1b513adcd20eab5158d4a0e5c56347a2cd
e0a7eff5066da307a73df9145077f6f1fec7a514
refs/heads/master
2022-08-22T18:01:25.892982
2022-08-12T18:13:53
2022-08-12T18:13:53
259,398,958
2
0
null
2020-04-27T17:09:12
2020-04-27T17:09:11
null
UTF-8
Python
false
false
1,251
py
# Copyright (c) MONAI Consortium # 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 to in writing, so...
[ "noreply@github.com" ]
Bala93.noreply@github.com
03d4ba232b4d34b7e9a72471e1ff44e5c604831f
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/man_and_new_group/different_group_or_little_hand.py
152d6b704e1cb5dd4be2d6ff23ee40a673ea85fe
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
#! /usr/bin/env python def company(str_arg): day_and_small_way(str_arg) print('get_new_fact') def day_and_small_way(str_arg): print(str_arg) if __name__ == '__main__': company('company')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
45c62288d5d20727fe79c75003386cfc2e2e82e3
0e5658deaa630a603a7134847518408c09e3a6d0
/vendor/riffyn-sdk/test/test_groups.py
3978a7552a12b93bca07b271cda5e70fcf6ab897
[]
no_license
jace-ys/lab-automation
cb0d0d2b88ec64e235cffca8bbf556b22c55ab1e
27be3a942b111404844f29aa9a0dd957b7fde459
refs/heads/master
2023-06-01T20:30:55.557975
2021-06-16T07:46:20
2021-06-16T08:15:38
297,329,484
0
0
null
null
null
null
UTF-8
Python
false
false
4,565
py
# coding: utf-8 """ Riffyn Nexus REST API V1 ## Vocabulary Before you begin, please familiarize yourself with our [Glossary of Terms](https://help.riffyn.com/hc/en-us/articles/360045503694). ## Getting Started If you'd like to play around with the API, there are several free GUI tools that will allow you to s...
[ "jaceys.tan@gmail.com" ]
jaceys.tan@gmail.com
ad9064e708a629da144f757f5219de9f0fe28990
81e6391b9db249296ec84f6524093cf41b581f31
/단계별로 풀어보기/18. 큐, 덱/[11866] 요세푸스 문제 0.py
036703aae87a0030be4e80cef574bbad953c51d2
[]
no_license
jaeehooon/baekjoon_python
e991be4b510d642f72f625b898d20451dc920d7c
295776309a883338bfbf51c33caf6dc6629493ca
refs/heads/master
2023-04-15T14:22:21.281930
2021-04-26T02:15:09
2021-04-26T02:15:09
294,137,750
1
0
null
null
null
null
UTF-8
Python
false
false
580
py
import sys from collections import deque class MyDeque(object): def __init__(self, size): self.dq = deque(i for i in range(1, size + 1)) def remove(self, kth): for _ in range(kth - 1): self.dq.append(self.dq.popleft()) return self.dq.popleft() def size(self): ...
[ "qlenfr0922@gmail.com" ]
qlenfr0922@gmail.com
d4d9d009198e4aa20e9f0cf82447cf8d32471e26
0fe11fbe31be719a253c0b2d9e41e20fedc2c40f
/dapper/mods/LorenzUV/illust_LorenzUV.py
212f07e00e12c2a3c7334ea3bcc7de4151b5083c
[ "MIT" ]
permissive
lijunde/DAPPER
148ff5cefb92d1bb01c78bd4a82a6f1ecdebdad2
dc92a7339932af059967bd9cf0a473ae9b8d7bf9
refs/heads/master
2020-12-10T21:44:54.468785
2019-09-24T18:18:36
2019-09-24T18:18:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,078
py
# Quick illustration. # Sorry for the mess. from dapper import * from matplotlib import cm # Setup sd0 = seed(4) # from dapper.mods.LorenzUV.wilks05 import LUV from dapper.mods.LorenzUV.lorenz95 import LUV nU, J = LUV.nU, LUV.J dt = 0.005 t0 = np.nan K = int(10/dt) step_1 = with_rk4(LUV.dxdt,autonom=True) step_K =...
[ "patrick.n.raanes@gmail.com" ]
patrick.n.raanes@gmail.com
ebc47b77e7121455d0580d51a74c276f7501266c
3e19be3527431ba4949f1dc868158cf4f3ea92c5
/rps_game/round.py
c5d4208b7de5bd1e5d4c006026c56fe26f079cca
[]
no_license
aldotele/rock_paper_scissors
f61626ba941181c0568045448686e5d14c11d9bb
6562cd15921d6736705c6490f1614f7335f9c38e
refs/heads/main
2023-06-13T00:43:10.425229
2021-07-06T09:40:15
2021-07-06T09:40:15
382,092,277
0
0
null
null
null
null
UTF-8
Python
false
false
902
py
class Round: choices = {1: "Rock", 2: "Paper", 3: "Scissors"} def __init__(self, player_1_choice, player_2_choice): if Round.is_choice_valid(player_1_choice) and Round.is_choice_valid(player_2_choice): self.player_1_choice = int(player_1_choice) self.player_2_choice = int(player...
[ "aldo.telese@hotmail.it" ]
aldo.telese@hotmail.it
28113d33d023705405400f808d2b609e2b69010e
de6ee907b82f52833d8e492e56ffebbd90528eed
/core/migrations/0001_initial.py
c1e82cd59dd68136aab1fdb5e967541ef268f0d1
[]
no_license
ffabiorj/portfolio
2c27e25f851790bef85912b07fb341111a117563
a253742227776ff4d4d2d343cb87eba9599577e2
refs/heads/master
2021-06-03T04:24:50.879948
2020-04-19T01:44:45
2020-04-19T01:44:45
125,946,998
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
# Generated by Django 3.0.5 on 2020-04-16 23:46 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Project', fields=[ ('id', models.AutoField(...
[ "fabio20rj@gmail.com" ]
fabio20rj@gmail.com
a82a2b404fb48e9e88d3425db6cc1940f4624616
b39d9ef9175077ac6f03b66d97b073d85b6bc4d0
/Tygacil_WC500044508.py
7f23d111f63c0abada426f34c9a04781adb23398
[]
no_license
urudaro/data-ue
2d840fdce8ba7e759b5551cb3ee277d046464fe0
176c57533b66754ee05a96a7429c3e610188e4aa
refs/heads/master
2021-01-22T12:02:16.931087
2013-07-16T14:05:41
2013-07-16T14:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,494
py
{'_data': [['Very common', [['GI', u'Illam\xe5ende, kr\xe4kningar, diarr\xe9']]], ['Common', [['Infections', u'Pneumoni, abscess, infektioner'], ['Blood', u'F\xf6rl\xe4ngd aktiverad partiell tromboplastintid (aPTT), f\xf6rl\xe4ngd protrombintid (PT)'], ['Me...
[ "urudaro@gmail.com" ]
urudaro@gmail.com
cea59f25724bc06eaf721cb450fe61b141a9c80d
c733e6b433914a8faba256c7853f5cf2cd39c62a
/Python/Leetcode Daily Practice/DP/combination_sum.py
6a9cf686a28a7a53a156eff82aed1ccf54c2b5a9
[]
no_license
YaqianQi/Algorithm-and-Data-Structure
3016bebcc1f1356b6e5f3c3e588f3d46c276a805
2e1751263f484709102f7f2caf18776a004c8230
refs/heads/master
2021-10-27T16:29:18.409235
2021-10-14T13:57:36
2021-10-14T13:57:36
178,946,803
1
0
null
null
null
null
UTF-8
Python
false
false
2,304
py
""" Input: {1, 2, 3, 7}, S=6 Output: True The given set has a subset whose sum is '6': {1, 2, 3} """ # brute-force # top-down with memo # bottom up def combination_sum_brute_force(num, sum_val): # o(2**n) def dfs(idx, sum_val): if sum_val == 0: return 1 if sum_val < 0...
[ "alicia.qyq@gmail.com" ]
alicia.qyq@gmail.com
0f96edf164bfcaa85f71e6aa56f0b0d63472581a
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-3528.py
2c12f2b79fef7e2608f8c704ed0cd7081df25e8e
[]
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,291
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
62f3947d4ae61f1cc720aa085837534f53774018
e1b8fb9a5500516f28d3d7e9a5f259c49ef35f14
/top/api/rest/InventoryAdjustTradeRequest.py
4da3e858af12147c95f9d7d992b46d0d33f834f9
[]
no_license
htom78/taobao_comet_py
9224dbca1a413a54bcc5569873e4c7a9fc9ba059
ad8b2e983a14d3ab7665244449f79dd72f390815
refs/heads/master
2020-05-17T10:47:28.369191
2013-08-27T08:50:59
2013-08-27T08:50:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
''' Created by auto_sdk on 2013-06-16 16:36:02 ''' from top.api.base import RestApi class InventoryAdjustTradeRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.biz_unique_code = None self.items = None self.operate_time = None self.tb_o...
[ "tomhu@ekupeng.com" ]
tomhu@ekupeng.com
0b26e25eaff5eb07e0f7ffca2f3c21ca70e5b883
d83fde3c891f44014f5339572dc72ebf62c38663
/_bin/google-cloud-sdk/.install/.backup/lib/surface/compute/backend_services/update.py
5ac0c70891053536c799b46d3a0388628a07d629
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
gyaresu/dotfiles
047cc3ca70f4b405ba272856c69ee491a79d2ebe
e5e533b3a081b42e9492b228f308f6833b670cfe
refs/heads/master
2022-11-24T01:12:49.435037
2022-11-01T16:58:13
2022-11-01T16:58:13
17,139,657
1
1
null
2020-07-25T14:11:43
2014-02-24T14:59:59
Python
UTF-8
Python
false
false
19,001
py
# Copyright 2014 Google Inc. 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 required by applicable law or ag...
[ "me@gareth.codes" ]
me@gareth.codes
6fd38298e6c06da5b7a9c85a6acb9e33eaaa8531
e4ec5b6cf3cfe2568ef0b5654c019e398b4ecc67
/azure-cli/2.0.18/libexec/lib/python3.6/site-packages/azure/mgmt/network/v2016_12_01/models/flow_log_information.py
ad2b8721b840a00057bc3671a586e0b6b65dddb0
[]
no_license
EnjoyLifeFund/macHighSierra-cellars
59051e496ed0e68d14e0d5d91367a2c92c95e1fb
49a477d42f081e52f4c5bdd39535156a2df52d09
refs/heads/master
2022-12-25T19:28:29.992466
2017-10-10T13:00:08
2017-10-10T13:00:08
96,081,471
3
1
null
2022-12-17T02:26:21
2017-07-03T07:17:34
null
UTF-8
Python
false
false
1,856
py
# 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. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "Raliclo@gmail.com" ]
Raliclo@gmail.com
97e33fe4f5d5aefa00b2158878f7bc01c15bd8ec
dc99adb79f15b3889a7ef6139cfe5dfc614889b8
/Aplikace_1_0/Source/ewitis/data/db.py
26dacf3f02ebbf16712e8a6bc349676538d6df44
[]
no_license
meloun/ew_aplikace
95d1e4063a149a10bb3a96f372691b5110c26b7b
f890c020ad8d3d224f796dab3f1f222c1f6ba0eb
refs/heads/master
2023-04-28T06:43:12.252105
2023-04-18T19:59:36
2023-04-18T19:59:36
2,674,595
0
2
null
null
null
null
UTF-8
Python
false
false
417
py
''' Created on 8.12.2013 @author: Meloun ''' import libs.sqlite.sqlite as sqlite #======================================================================= # DATABASE #======================================================================= print "I: Database init" try: db = sqlite.sqlite_db...
[ "lubos.melichar@gmail.com" ]
lubos.melichar@gmail.com
7605014773f49f01d2f7d6e63c97b2e5e3735fd1
da687718aa8ce62974090af63d25e057262e9dfe
/cap12-dicionarios/dicionarios_aninhados/inventario2.py
16e00d7872c4b80f9ecb062d75e3ca72f267f1e7
[]
no_license
frclasso/revisao_Python_modulo1
77928fa4409c97d49cc7deccdf291f44c337d290
1e83d0ef9657440db46a8e84b136ac5f9a7c556e
refs/heads/master
2020-06-25T05:37:28.768343
2019-07-27T22:23:58
2019-07-27T22:23:58
199,217,969
1
0
null
null
null
null
UTF-8
Python
false
false
360
py
#!/usr/bin/env python3 inventory = {'Sword': {'attack': 5, 'defence': 1, 'weight':15, 'price': 2}, 'Armor':{'attack':0, 'defence': 10, 'weight':25, 'price': 5} } for name, item in inventory.items(): print('{0}: {1[attack]} {1[defence]} {1[we...
[ "frcalsso@yahoo.com.br" ]
frcalsso@yahoo.com.br
ebb3dff07a902763e88bf53719711bec7c75ff06
ae6c2a6fa37613ac31b2bd3537b3276c9b333632
/search/migrations/0012_auto_20170822_1207.py
576f43db2917f84833616caefcb3759c3b8b7f67
[ "Apache-2.0" ]
permissive
salopensource/sal
435a31904eb83048c02c9fbff02bbf832835d1b4
0895106c6729d5465da5e21a810e967a73ed6e24
refs/heads/main
2023-08-03T06:53:40.142752
2023-07-28T15:51:08
2023-07-28T15:51:08
35,883,375
227
94
Apache-2.0
2023-07-28T15:51:10
2015-05-19T13:21:57
Python
UTF-8
Python
false
false
451
py
# Generated by Django 1.10 on 2017-08-22 19:07 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('search', '0011_auto_20170810_1205'), ] operations = [ migrations.AlterField( model_name='...
[ "graham@grahamgilbert.com" ]
graham@grahamgilbert.com
ca4adf24f6c210b339e3770daa1efd98e8b87ce2
d5fbec8208b9a65032bdd2b550c7dde795d5661b
/kratos/tests/test_time_discretization.py
34fec9075ad0f9577ad12f0fb7482af71a49a096
[ "BSD-3-Clause" ]
permissive
Ginux1994/Kratos
9dc5f7b5a427b0a258cd01fbd0bffae19571a81a
2893e855a07e5cb3b0e6bc549c646fca4a525a99
refs/heads/master
2020-04-10T16:49:50.748887
2018-12-10T09:43:37
2018-12-10T09:43:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,588
py
from __future__ import print_function, absolute_import, division import KratosMultiphysics as KM import KratosMultiphysics.KratosUnittest as KratosUnittest class TestTimeDiscretization(KratosUnittest.TestCase): def test_BDF1(self): bdf = KM.BDF1() delta_time = 0.11 coeffs = bdf.ComputeB...
[ "philipp.bucher@tum.de" ]
philipp.bucher@tum.de
4def4a44ca4457ea04f4023ba49dae670040dc78
bc183f7357cda3ad064f8c2ff34a176c406446d3
/pastepwn/util/threadingutils.py
54451a26289cd5ba3667d162722837819e9aadcf
[ "MIT" ]
permissive
luton1507/pastepwn
b8a790168ce08f10c62574eeb0a68f0dedd5425d
9b2fee22857e54a5312fdb3d388b472a7d271c50
refs/heads/master
2022-11-10T20:18:40.102277
2020-06-19T23:34:14
2020-06-19T23:34:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,915
py
# -*- coding: utf-8 -*- import logging from threading import Thread, current_thread def start_thread(target, name, exception_event, *args, **kwargs): """ Starts a thread passed as argument and catches exceptions that happens during execution :param target: Method to be executed in the thread :param na...
[ "d-Rickyy-b@users.noreply.github.com" ]
d-Rickyy-b@users.noreply.github.com
5955661160554d40102fc8a32fa5b056bbf75e99
f0a4ba1f1f941092e68e4b1ef9cff0d3852199ef
/Do_it!/5.재귀 알고리즘/비재귀적 표현-재귀를제거.py
5c4d998075cc37ef533ac96b4ff5819b45653e53
[]
no_license
lsb530/Algorithm-Python
d41ddd3ca7675f6a69d322a4646d75801f0022b2
a48c6df50567c9943b5d7218f874a5c0a85fcc6d
refs/heads/master
2023-06-18T04:36:09.221769
2021-06-28T16:49:35
2021-06-28T16:49:35
367,775,760
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
# 스택으로 재귀 함수 구현하기(재귀를 제거) from stack import Stack # stack.py의 Stack 클래스를 임포트 def recur(n: int) -> int: """재귀를 제거한 recur() 함수""" s = Stack(n) while True: if n > 0: s.push(n) # n값을 푸시 n = n - 1 continue if not s.is_empty(): # 스택이 비어있지 않으면 ...
[ "lsb530@naver.com" ]
lsb530@naver.com
4e302d4189e5a495aee3296edc2d2144b00d4046
951a77d2ff181b045104f1482ed6910869733ec9
/apps/user/views.py
493dad7fa6d6d5d36f5f322e74849f177baa0cee
[ "Apache-2.0" ]
permissive
fblrainbow/ShopPro
7d89b7d3ba5dd2ba470b0d46114893e2e83513c1
f0cec134ae77f4449f15a0219123d6a6bce2aad2
refs/heads/master
2023-07-28T18:32:12.116290
2019-02-24T08:11:34
2019-02-24T08:11:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,311
py
from django.shortcuts import render import json from django.shortcuts import render, get_object_or_404, reverse from django.http import HttpResponseRedirect, JsonResponse, HttpResponse # 基于类的视图 继承类 from django.views.generic.base import View # 引入需要的数据表 from .models import UserProfile, EmailVerifyRecord, Address # 完成并集查询...
[ "jakejie@163.com" ]
jakejie@163.com
437500d29d4bb52a2d7175702b3a9674cc625015
0562a138eaa1b460a6bf94f4a724b32a79186900
/aat/common.py
55e9be1071ca53160b581ef93e4a7e908cf04fc9
[ "Apache-2.0" ]
permissive
sylinuxhy/aat
15dc00bda32aed91aaad5c6122982114874342e4
8113365e6f0c307156d43c0dee594bf66ff8b4fa
refs/heads/main
2023-01-28T06:49:58.646911
2020-12-05T01:31:15
2020-12-05T01:31:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,554
py
import os import itertools import functools import pandas as pd # type: ignore @functools.lru_cache() def _in_cpp(): _cpp = os.environ.get("AAT_USE_CPP", "").lower() in ("1", "on") try: from aat.binding import ( # type: ignore # noqa: F401 SideCpp, EventTypeCpp, ...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
72343fcac5794c27da7dd3512015ec98664b8821
f5d1ef8ea6173b3b380fa2985fe346162a0b68b3
/740_Delete_and_Earn.py
fb379e2b588d56ce1b72bdf0c95366aea22dbdde
[]
no_license
ZDawang/leetcode
a66801a2ed5b06ee4e489613885a22e3130618c7
a46b07adec6a8cb7e331e0b985d88cd34a3d5667
refs/heads/master
2021-09-11T15:21:36.496025
2018-04-09T06:28:56
2018-04-09T06:28:56
111,512,346
8
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
#!/usr/bin/python # -*- coding: utf-8 -*- #author : zhangdawang #data: 2017-12 #difficulty degree: #problem: 740_Delete_and_Earn #time_complecity: #space_complecity: #beats: from collections import Counter class Solution(object): #DP #使用dp[i]来存储到第i小个数,且删除第i小个数所获得的最大分数 #所以如果第i小个数=第i-1小个数+1:dp[i] = max(...
[ "zdawang@bupt.edu.cn" ]
zdawang@bupt.edu.cn
171ed97b60c4f2239961de9c02cdc8a7beeb2300
8981902427dc577228dfd5611c6afe86c3e2e9e2
/dsmr_stats/management/commands/dsmr_stats_fake_development_data.py
0539470d7d311df505ea9ed974563875060356e9
[]
no_license
genie137/dsmr-reader
5515f4f92bb05bcf00f0e8a0fbd1a018d408950b
4d934b4838cb2de4a66ff193f4f3095e9beecd99
refs/heads/master
2020-03-21T18:14:05.182137
2018-06-12T14:54:55
2018-06-12T14:54:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,248
py
from decimal import Decimal from time import sleep import random from django.core.management.base import BaseCommand, CommandError from django.utils.translation import ugettext as _ from django.conf import settings from django.db import models from dsmr_stats.models.statistics import DayStatistics, HourStatistics fro...
[ "github@dennissiemensma.nl" ]
github@dennissiemensma.nl
dfa2a73bf800f4035448f9edb1d2a68fba40626f
344dfd891cde88940c86f1d488d426c79c3825ac
/w10/G3/test3/myenv/bin/easy_install-2.7
98dbd04132e797effef22e10a48cc7c95dd3956e
[]
no_license
bobur554396/WT2018Spring
b32b02d4ffdc1598fb41322e97cecc0eeffa92b3
6a79748747991aa1e28b359a72ddf3a9b3a9d1d0
refs/heads/master
2021-05-11T00:53:05.640173
2018-04-13T05:12:33
2018-04-13T05:12:33
118,312,848
3
4
null
null
null
null
UTF-8
Python
false
false
276
7
#!/Users/bobur/Desktop/work/django/WT/test3/myenv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "bobur.muhsimbaev@gmail.com" ]
bobur.muhsimbaev@gmail.com
2edcd772211818912e2e90300d4d51ee3e1717dc
b84842cfa24fce5b1a8d093bdf45885b0f5ab434
/configuration/appcaching/main.py
f45cc7805c1e496dbdcc9f2b7eef110336613c36
[]
no_license
CodedQuen/Programming-Google-App-Engine
fc0f4572a60f3d91f08a15f2b2d19d71673d2de6
bd3430b84db6477737a7332a358ed37a6ea36b23
refs/heads/master
2022-04-25T01:14:08.620872
2020-04-30T07:02:26
2020-04-30T07:02:26
260,136,667
0
0
null
null
null
null
UTF-8
Python
false
false
1,873
py
import datetime import webapp2 # An app instance global. app_counter = 0 class MainPage(webapp2.RequestHandler): # A class variable. cls_counter = 0 def __init__(self, *args, **kwargs): super(MainPage, self).__init__(*args, **kwargs) # A handler instance variable. s...
[ "noreply@github.com" ]
CodedQuen.noreply@github.com
5797591605f22b2b07de9070a65a6a233fa70ace
38dc3ab929bcc9845a88ce1e210cec1025c1d962
/src/learntocut/libs/cwrapping/__init__.py
2f27ff9fcff5cd481ab67286e02128e459bd6354
[]
no_license
suysh-msra/OResearch
c58403b46a028b9a1be9ed9d4b47fa8bb152fefb
ef51c9871b8222c26b62e22d3ed550a0d069c11d
refs/heads/master
2023-03-22T09:08:38.929830
2021-03-15T14:47:04
2021-03-15T14:47:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
108
py
#try: # import gurobicpy #except: # from . import gurobicpy #from rlip.envs.cwrapping import gurobicpy
[ "shandilya.shreyas@gmail.com" ]
shandilya.shreyas@gmail.com
edf57439c76d8c1b3d592074a699e34cfd4a5ac4
acd41dc7e684eb2e58b6bef2b3e86950b8064945
/res/packages/scripts/scripts/common/Lib/ctypes/test/test_cfuncs.py
1dd0e756e4abd4e16f874e05426342163b9b7036
[]
no_license
webiumsk/WoT-0.9.18.0
e07acd08b33bfe7c73c910f5cb2a054a58a9beea
89979c1ad547f1a1bbb2189f5ee3b10685e9a216
refs/heads/master
2021-01-20T09:37:10.323406
2017-05-04T13:51:43
2017-05-04T13:51:43
90,268,530
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
7,850
py
# 2017.05.04 15:31:23 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/ctypes/test/test_cfuncs.py import unittest from ctypes import * import _ctypes_test class CFunctions(unittest.TestCase): _dll = CDLL(_ctypes_test.__file__) def S(self): return c_longlong.in_dll(self._dll, 'last_t...
[ "info@webium.sk" ]
info@webium.sk
4bf4f653d1613c7c86df9e27f28d4e409cace30d
5006a6965c21e5b828300eedf907eb55ec5b8b27
/bnpy/datasets/zzz_unsupported/SeqOfBinBars9x9.py
27e0894613c7097a982c3c7cb0276837370c30f6
[ "BSD-3-Clause" ]
permissive
birlrobotics/bnpy
1804d0fed9c3db4c270f4cd6616b30323326f1ec
8f297d8f3e4a56088d7755134c329f63a550be9e
refs/heads/master
2021-07-09T14:36:31.203450
2018-02-09T07:16:41
2018-02-09T07:16:41
96,383,050
3
0
null
null
null
null
UTF-8
Python
false
false
6,831
py
''' SeqOfBinBars9x9.py Binary toy bars data, with a 9x9 grid, so each observation is a vector of size 81. There are K=20 true topics * one common background topic (with prob of 0.05 for all pixels) * one rare foreground topic (with prob of 0.90 for all pixels) * 18 bar topics, one for each row/col of the grid. The b...
[ "hongminwu0120@gmail.com" ]
hongminwu0120@gmail.com
8a51add4f7cac897e5689c2db9965056e5429db9
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02684/s383863332.py
cee048d87cd74a0e9eb30d0721462d9b668e3bb4
[]
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
620
py
N, K = map(int, input().split()) A = list(map(int, input().split())) visited = [0 for _ in range(N)] first_visit = [0 for _ in range(N)] now = 0 flag = True for i in range(10 ** 5 * 5): if first_visit[now] == 0: first_visit[now] = i visited[A[now] - 1] += 1 now = A[now] - 1 if i == K - 1: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b31f8616e5f36658a3e7687d1080014d2b0a7da7
0c39d88b4cdd35c96be02573f804196721d88f52
/mentha/tests/persistent_settings.py
818c47a931bc6c7a1b7dd1227006db39ec15c0fa
[ "MIT" ]
permissive
ateoto/django-mentha
7909e5ad989481fa57aa3336bcb98380c6e9e762
2b9aeba1f9a33ee76dca2e1f9436e964be2c2325
refs/heads/master
2016-09-06T13:59:49.994441
2014-06-10T23:45:30
2014-06-10T23:45:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
from .test_settings import * # NOQA INSTALLED_APPS = EXTERNAL_APPS + INTERNAL_APPS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'db.sqlite', } }
[ "mattmccants@gmail.com" ]
mattmccants@gmail.com
16ea3f9021e49cc8cb94b0503223dd1a3ede9237
32a7a7663ce0c94dc7c6465e1a4b819145d17e87
/BiblioPixelAnimations/matrix/MathFunc.py
997fdced226c3f7c7b4c30d62bc9a1a0e66c1415
[ "MIT" ]
permissive
CriticalTechGuy/BiblioPixelAnimations
04d08e1d41f374b63aa90956b3aeda2db6484d02
2a3a1671f289b21d7da316df1b5ca54d7f95a3b1
refs/heads/master
2020-03-26T06:24:12.460928
2018-04-19T10:17:21
2018-04-19T11:36:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,300
py
from bibliopixel.animation import BaseMatrixAnim import bibliopixel.colors as colors import random import math def hue_fade(a, b, val): if a > b: b = b + 360 return (a + ((b - a) * val)) % 360 class MathFunc(BaseMatrixAnim): funcs = [ lambda x, y, s: x + (x * y) + s, lambda x, y,...
[ "adammhaile@gmail.com" ]
adammhaile@gmail.com
35b54fd11d79356160dff0313c1e493c06a17499
a373cdb4107e099ce31eaa0f7620292c6154d860
/Metadata/dim_hierarchy_get_default_member.py
50ba4c0431c1f79885b4e68a9fe079d3313bcfa3
[ "MIT" ]
permissive
jamiros/tm1py-samples
2a562337baebc2dcbbefd76d64c4c8f20e98810a
a398ae8744dcf19b5aa045a87d878bf18c903cc6
refs/heads/master
2022-02-23T14:42:22.404148
2019-10-01T21:32:10
2019-10-01T21:33:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
""" When a dimension of a cube is not explicitly referenced in an MDX Query, TM1 will implicitly use the DefaultMember for the missing dimension. If no DefaultMember is defined in TM1, it will use the element with index 1. You can use TM1py to query and update the default member for a Hierarchy """ import configparse...
[ "MariusWirtz2@gmail.com" ]
MariusWirtz2@gmail.com
c6861e3d4dca9db411a177f6608f52cfa4d48142
aac418419c2ef4d10c5c4ceb607d3d8329a5f395
/Algorithms/Graph/Topological_Sorting.py
a67d9eb485275425187fa875ad930ae3a719ff68
[]
no_license
sudhirshahu51/projects
bb13395227355ff84933b6d3a0f158ee42bcdceb
b2d8331d14d2163b20535368a60c81f6c8bc2c8f
refs/heads/master
2021-01-01T17:09:18.654060
2017-04-24T10:46:15
2017-04-24T10:46:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,342
py
# To implement Topological Sorting for directed graph # Topological Sorting: if there is path from u to v then u comes before v in ordering class Vertex: # Class of vertex def __init__(self, key): self.id = key self.connected = {} # dictionary of all the connected vert...
[ "deveshaggrawal19@gmail.com" ]
deveshaggrawal19@gmail.com
af55e087aa75c1d2e0da2e2878b229a089ea5ed0
32ddd90c9f2b2037cb7fd0a338deefcf16e5d17d
/python/tree/sorted_array_to_bst.py
f060c74878b80931d55e37ccbd04bc5372c588a4
[]
no_license
btoll/howto-algorithm
2a671779a4abb279e2a55461c8cfd7094770b42a
57ed65d97d951e3746f71190fb57813b519a1aa5
refs/heads/master
2023-02-20T17:17:38.600806
2023-02-10T05:16:22
2023-02-10T05:16:22
182,487,529
1
0
null
null
null
null
UTF-8
Python
false
false
782
py
from random import randint import ipdb class TreeNode: def __init__(self, value): self.value = value self.left = None self.right = None def sorted_array_to_bst(nodes, left, right): if left > right: return None # Choose left middle node as a root. mid = (left + righ...
[ "benjam72@yahoo.com" ]
benjam72@yahoo.com
4e08bf6ece5a6c2a9ade93b244d59c3220a2ce12
df3eb06af5151b0a07ebdf3723aedd3a6cd98f5e
/day3/dengLuTest.py
5e9494a4b3fd28ff603cf84b6c9ee04351872c1a
[]
no_license
zhile0624/selenium7th
fa4d8e1a2bdeda18c0170de09144fc052ce71d32
6731ce2d786625ba0945739ec2c3109b04cd1441
refs/heads/master
2020-03-21T10:42:38.832843
2018-06-24T08:50:46
2018-06-24T08:50:46
138,466,713
0
0
null
null
null
null
UTF-8
Python
false
false
5,375
py
# selenium执行javascript中的两个关键字: return(返回值) 和 arguments(参数) import time from selenium import webdriver from selenium.webdriver import ActionChains from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.select import Select driver = webdriver.Chrome() driver.get("http://localhost") driver.impli...
[ "51Testing" ]
51Testing
71a6bd882187409a56532f89178daad5194be49b
b69e8fd894a6f5d865911c4ec0f0d8b92b2aa6ac
/torchtools/meters/vision/utils.py
bb0ebf46ae421b97d654ea8b785a79ef42f7d147
[ "BSD-3-Clause" ]
permissive
Time1ess/torchtools
7338d65de87e0665f7ec90b71cfa439c5bd20201
1c48591188827f8a7403162728f86229203354c5
refs/heads/master
2021-01-23T10:29:14.707874
2018-04-30T13:51:03
2018-04-30T13:51:03
102,616,366
20
3
null
null
null
null
UTF-8
Python
false
false
1,681
py
#!/usr/bin/env python3 # coding: UTF-8 # Author: David # Email: youchen.du@gmail.com # Created: 2017-09-07 21:24 # Last modified: 2017-09-11 14:41 # Filename: utils.py # Description: import numpy as np from PIL import Image from torchvision import transforms as T def fast_hist(label_true, label_pred, n_class): m...
[ "youchen.du@gmail.com" ]
youchen.du@gmail.com
82d6814e4d27a3788157089c8a2a263b4363893e
afea9757be324c8def68955a12be11d71ce6ad35
/willyanealves/stock/forms.py
407e6b50c4057c2d0a82a9414ea1c6e7e450cc88
[]
no_license
bergpb/willyane-alves
c713cac3ec3a68005f3b8145985693d2477ba706
8b2b9922ba35bf2043f2345228f03d80dbd01098
refs/heads/master
2023-02-10T19:57:50.893172
2021-01-11T16:17:14
2021-01-11T16:17:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
from django import forms from .models import Stock class StockForm(forms.ModelForm): class Meta: model = Stock fields = '__all__'
[ "jocsadm@gmail.com" ]
jocsadm@gmail.com
f0df8ddacc4971ea3a805b59733696e807131ade
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/222/users/4344/codes/1601_820.py
db86b249dcf1f032dea7ef1432b9d829cfe91fe5
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
362
py
#ade de notas de R$ 50 #valor = notas//50 # Valo# Instituto de Computacao - UFAM # Lab 01 - Ex 10 # 20 / 05 / 2016 VALOR = int(input("Qual o valor do saque? ")) if VALOR>0 and VALOR%2==0: nota50 = VALOR//50 aux1 = nota50*50 nota10 = (VALOR - aux1)//10 aux2 = nota10*10 nota2 = (VALOR-aux1-aux2)//2 print(nota50...
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
102768d7be696f42c91dcd129d83ccad74435d56
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/python/pywrap_tensorflow.py
f216bccfdfe37ae2e5ed7e2535ac4c5360a2fd71
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
3,257
py
# Copyright 2017 The TensorFlow Authors. 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 required by...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
d8ff438375b4bdd79ecfba103c5f65afd2bcb714
47c4267477aac784a83ac241465263585637781d
/fb高频/211.py
61dac80b450b518b05bf788a7dc59022fbacf1a3
[]
no_license
MengSunS/daily-leetcode
af011a66213fabcec792c0f8280a03aa805a56ec
22c76118bb46fadd2b137fd1a3d40e20fd7538e5
refs/heads/main
2023-08-21T21:35:19.250506
2021-10-12T00:23:09
2021-10-12T00:23:09
306,220,531
0
0
null
null
null
null
UTF-8
Python
false
false
1,207
py
class TrieNode(): def __init__(self): self.children = collections.defaultdict(TrieNode) self.isWord = False class WordDictionary: def __init__(self): """ Initialize your data structure here. """ self.root = TrieNode() def addWord(self, word: str) ...
[ "sunx0585@umn.edu" ]
sunx0585@umn.edu
5bc81745f1d0aa833f2ad310a6858f6d862fc629
a1711d3ba173bcf39a1c6ea4aa91013501c090c3
/0x0B-python-input_output/10-class_to_json.py
974b65033cac85098a58c40e61f1c1fb93ac7c38
[]
no_license
veeteeran/holbertonschool-higher_level_programming
5115a28c5f9979a146b5c0ed6d9a9d64420dcf4b
081705945b8a8850bd3b1c416c382637fae79646
refs/heads/master
2022-12-14T18:25:54.239460
2020-09-25T01:09:05
2020-09-25T01:09:05
259,425,025
0
1
null
null
null
null
UTF-8
Python
false
false
335
py
#!/usr/bin/python3 """Docstring for class_to_json""" def class_to_json(obj): """ Returns the dictionary description with simple data structure (list, dictionary, string, integer and boolean) for JSON serialization of an object Parameter: obj: instance of a Class """ retur...
[ "vietnamtran@gmail.com" ]
vietnamtran@gmail.com
d4a2405378c3de1290dcd43aef5f65c68b279f6b
386a5b505d77c9798aaab78495d0f00c349cf660
/Prognos Project/Working/Piyush Jiwane Git/Project/SearchPortal/questionnaireApp/urls.py
a954ca7fb967835830274b6c83975983ed14e83b
[]
no_license
namratarane20/MachineLearning
2da2c87217618d124fd53f607c20641ba44fb0b7
b561cc74733b655507242cbbf13ea09a2416b9e2
refs/heads/master
2023-01-20T18:54:15.662179
2020-03-09T14:12:44
2020-03-09T14:12:44
237,597,461
0
0
null
2023-01-05T12:37:12
2020-02-01T10:22:20
Python
UTF-8
Python
false
false
1,173
py
from django.urls import path,re_path from . import views # # urlpatterns = [ # path('', views.userLogin), # path('mailVerification', views.mailVerification), # path('searchKeyword', views.searchKeyword), # path('uploadcsv', views.uploadcsv), # path('homepage', views.toHomePage), # path('indexfil...
[ "namrata.ashok@impelsys.com" ]
namrata.ashok@impelsys.com
66bd1d94ba94629eca7202be8c0653b0e0efebbb
f1cb404ea95f4527ffeaf6a7fe8db9a2a1990f12
/scikits/cuda/special.py
4a1081fee13facf5d7818ebdbded9cd221c4cb7f
[ "BSD-3-Clause" ]
permissive
sequoiar/scikits.cuda
c0821502b7dc90d818669e20f2fa1858f1a78e82
79b62904a726d45066351c38b4274b1ecc985e47
refs/heads/master
2020-12-25T07:39:47.594383
2011-03-30T14:39:20
2011-03-30T14:39:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,139
py
#!/usr/bin/env python """ PyCUDA-based special functions. """ import os from string import Template import pycuda.gpuarray as gpuarray from pycuda.compiler import SourceModule import numpy as np from misc import get_dev_attrs, select_block_grid_sizes, init, get_current_device # Get installation location of C header...
[ "lev@columbia.edu" ]
lev@columbia.edu
9985402449b77dd2fda3edef41399a64fc307d8c
146819090fefeaddeadad8d4659919868e893537
/cvproject/Lib/site-packages/djmoney/forms/widgets.py
c16a5515a4cb635ad1f087126052151d8ddb48fb
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-python-cwi", "GPL-1.0-or-later", "LicenseRef-scancode-newlib-historical", "OpenSSL", "bzip2-1.0.6", "Python-2.0", "TCL", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-free-unknown", "LicenseRef-sc...
permissive
MdReyajuddin/Big-Project-Codes
d5ec071bc5efc65ebdd07e757139a8ee67359706
79ab22f2f51e29e2ff17f680306877559c719a56
refs/heads/master
2022-12-01T04:17:39.138523
2020-03-17T18:51:40
2020-03-17T18:51:40
248,046,679
0
0
BSD-3-Clause
2022-11-22T04:40:11
2020-03-17T18:40:05
Python
UTF-8
Python
false
false
874
py
# -*- coding: utf-8 -*- from django.forms import MultiWidget, Select, TextInput from ..settings import CURRENCY_CHOICES __all__ = ("MoneyWidget",) class MoneyWidget(MultiWidget): def __init__( self, choices=CURRENCY_CHOICES, amount_widget=TextInput, currency_widget=None, ...
[ "md.reyajuddin45@gmail.com" ]
md.reyajuddin45@gmail.com
0764bdbf763f0bf71ecedac5f306b8263fc7c589
c08b5edb5075e7840e716b0a09006dae0a4d05ac
/.history/Missions_to_Mars/scrape_mars_20200812110529.py
dad4048c45ed15c13a2ed258346030ab05ae1724
[]
no_license
OlgaDlzk/web-scraping-challenge-1
06f915eb76c55c9bc37889017dd9af81122dc1a5
f99c3436dfb0169595c46dae7733d90e21385cc6
refs/heads/master
2023-03-18T00:58:37.928024
2020-09-22T20:32:47
2020-09-22T20:32:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,710
py
from splinter import Browser from bs4 import BeautifulSoup as bs import pandas as pd import time import re # This is for debugging def savetofile(contents): file = open('_temporary.txt',"w",encoding="utf-8") file.write(contents) file.close() def scrape(): executable_path = {"executable_path": "chrom...
[ "ermiasgelaye@gmail.com" ]
ermiasgelaye@gmail.com
9b53596529175476b5038508bbc734c2ba872ed0
35aca1291dae461d5562a3b7484e5f659ee80817
/oneflow/python/framework/model.py
9350023d6d794e8ec5ab4128b1d97683465490ed
[ "Apache-2.0" ]
permissive
Flowingsun007/oneflow
e6a52cfbf5e82ca4f8b787aa026f40a2f568a10f
c1880c011dd453719a28d880abe15e2dab8d0da1
refs/heads/master
2023-05-11T19:18:59.220269
2021-05-28T20:10:35
2021-05-28T20:10:35
372,195,705
0
0
Apache-2.0
2021-06-02T09:46:51
2021-05-30T11:24:37
null
UTF-8
Python
false
false
27,327
py
""" Copyright 2020 The OneFlow Authors. 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 required by applicable law or agr...
[ "noreply@github.com" ]
Flowingsun007.noreply@github.com
fedbff6cef607c4f5ded4728ec4c5275e3036a1c
9380b3005eb777feb57d8b914091ab9e839e32fd
/stampfli.py
7bd02cf0b4d4e0e4f33fb696d4d7c6ae17175bc3
[]
no_license
vitroid/StampfliTiling
57398f4aa269f0aeed502aedc0486f774e0c6792
cbc319216fca7f76912f26ab03b1402b9e188064
refs/heads/master
2022-05-02T06:55:39.049840
2011-09-22T23:43:28
2011-09-22T23:43:28
2,440,927
0
0
null
null
null
null
UTF-8
Python
false
false
9,840
py
#Put the initial vertex #subdivide with dodecagon and register new vertices from math import * blue = 1 red = -1 triangle_top = 0 triangle_left = 1 triangle_right = 2 theta = pi*15.0/180.0 ratio = 0.5 * tan(theta) ratio2 = 0.5 / cos(theta) matrix12 = ((cos(theta*2),sin(theta*2)), (-sin(theta*2),cos(theta*...
[ "vitroid@gmail.com" ]
vitroid@gmail.com
6655971d554a867325a97ca8bb88cc7028197341
ded10c2f2f5f91c44ec950237a59225e8486abd8
/.history/2/path_integral_naive_sampling_20200417194827.py
27213765902c7bcf85d6811029ac2960cb932a76
[]
no_license
jearistiz/Statistical-Physics-Projects
276a86407b32ded4e06b32efb2fadbd8eff8daed
d9c5b16a50856e148dc8604d92b6de3ea21fc552
refs/heads/master
2022-11-05T03:41:23.623050
2020-06-28T06:36:05
2020-06-28T06:36:05
254,909,897
1
0
null
null
null
null
UTF-8
Python
false
false
6,118
py
# -*- coding: utf-8 -*- from __future__ import division import os import numpy as np import matplotlib.pyplot as plt from time import time import pandas as pd # Author: Juan Esteban Aristizabal-Zuluaga # date: 202004151200 def rho_free(x,xp,beta): """Uso: devuelve elemento de matriz dsnsidad para el caso de una ...
[ "jeaz.git@gmail.com" ]
jeaz.git@gmail.com
4d1fefe592c0fe8d3fc87942e60245cf88efc8b1
596e92d0d484b6e7eee6d322e72e52748fdeaa5d
/sportsdata/nba_odds/models/__init__.py
3deb348f2b98ad8e2c5f92f17542ca97f21454ec
[]
no_license
scottypate/sportsdata
f5f61ddc7eb482883f93737c6ce73dd814ed4336
a07955ab50bf4fff1ce114ed9895095ff770c473
refs/heads/main
2023-08-18T16:51:56.452678
2021-10-22T12:44:08
2021-10-22T12:44:08
420,062,350
1
1
null
null
null
null
UTF-8
Python
false
false
1,951
py
# coding: utf-8 # flake8: noqa """ NBA v3 Odds No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_impor...
[ "scotty.pate@auth0.com" ]
scotty.pate@auth0.com
ec00fa8dbeafca6163d5777781721771db5178fe
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/sz_IPO_crawler_20210125145435.py
2568a261c5c7c16de47a6b2efa3fab2001615b19
[]
no_license
JiajunChen123/IPO_under_review_crawler
5468b9079950fdd11c5e3ce45af2c75ccb30323c
031aac915ebe350ec816c05a29b5827fde588567
refs/heads/main
2023-02-26T08:23:09.622725
2021-02-04T10:11:16
2021-02-04T10:11:16
332,619,348
0
0
null
null
null
null
UTF-8
Python
false
false
2,992
py
import requests import re import json import pickle import os import random import time from urllib.parse import urlencode headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36',} # 'Accept': '*/*', # 'Accept-...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
fdc9fd8f92918ca6771e9e0ad94abfe344f6114c
23d962a8e36b4a58e63e15f3c61a88b537a80f6e
/test/unit/mongo_class/server_is_locked.py
d7861bb5324cd04455a669a9b1e26c6234b271a3
[ "MIT" ]
permissive
deepcoder42/mongo-lib
3a893d38edb3e03decff0cfbcbf29339026909f9
fa2b65587ab88ee90c9d85f12dd642c6295e0d94
refs/heads/master
2023-06-14T10:10:12.032877
2021-07-13T15:22:17
2021-07-13T15:22:17
337,179,035
0
0
null
null
null
null
UTF-8
Python
false
false
1,875
py
#!/usr/bin/python # Classification (U) """Program: server_is_locked.py Description: Unit testing of Server.is_locked in mongo_class.py. Usage: test/unit/mongo_class/server_is_locked.py Arguments: """ # Libraries and Global Variables # Standard import sys import os if sys.version_info < (2,...
[ "deepcoder42@gmail.com" ]
deepcoder42@gmail.com
667e8cbd9f81dcd1adcb4e66abeaed066ae757ba
fa6204d88a35af62357cfd5091217cbc2087b779
/blogclient/api/client.py
223c1abb037c9629adcc026bad8833da7d542f4a
[]
no_license
StephenTao/python-blogclient
9acaa25e2a4e2bc1a29b02791d6338ee41a91c5b
6543668f8db6f83751be42464cb4065472972388
refs/heads/master
2021-01-10T15:46:34.529878
2016-02-25T07:30:16
2016-02-25T07:30:16
52,505,499
0
0
null
null
null
null
UTF-8
Python
false
false
1,681
py
# Copyright 2013 - Mirantis, 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 ag...
[ "stephenhuang@augmentum.com.cn" ]
stephenhuang@augmentum.com.cn
8b5451e8e262b8fb4e784eb42c74bd0c64603b5a
6160586aa239eada16e735d40d57970dedbe1dfc
/case/user_manage/user_info/test_user_query_info_byauthcode.py
149975f8bde64ddd7f75f83bf84f12cfe3838b33
[]
no_license
showgea/AIOT
7f9ffcd49da54836714b3342232cdba330d11e6c
fe8275aba1c4b5402c7c2c2987509c0ecf49f330
refs/heads/master
2020-07-23T10:19:37.478456
2019-09-23T12:25:59
2019-09-23T12:25:59
207,525,184
2
0
null
null
null
null
UTF-8
Python
false
false
1,773
py
import unittest import json from modules.user_manage.user_info.user_query_info_byauthcode import * from common.get_result_db import get_common_code account_mail_Gary = readcfg.account_mail_Gary account_wrong = readcfg.account_wrong userId = readcfg.userId_Gary authCode = readcfg.authCode_wrong class TestUserQueryInf...
[ "tangguobing2011@163.com" ]
tangguobing2011@163.com
83f84c608ac3defec12fffbaa9198a2a4ef806f6
d6fd55ff015ddcc380ffea2da140d86c5fa9feff
/docs/sphinx/conf.py
fe8f81d927201b667b2037926f26cfecb8d0066f
[ "BSD-3-Clause" ]
permissive
sdss/astra_thecannon
b3a461b91894ec391318fd4a098b5688299923b8
3062025aa2ac3b8af257490be63201587b23762d
refs/heads/master
2021-07-05T01:08:12.774277
2020-10-06T12:37:53
2020-10-06T12:37:53
182,139,411
0
0
null
null
null
null
UTF-8
Python
false
false
8,697
py
# -*- coding: utf-8 -*- # # BMO documentation build configuration file, created by # sphinx-quickstart on Fri May 5 01:30:21 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All c...
[ "andycasey@gmail.com" ]
andycasey@gmail.com
64f07b85e6b523f464618b624f7e189b7ea0b60c
a94b729855ba7239830952f0814cf19850ad123c
/voltha/adapters/adtran_olt/net/adtran_zmq.py
9cbeae68c0f58b7ec726d9e9e3be522031eb87d9
[ "Apache-2.0" ]
permissive
kthomas8/voltha
37b1e69c1736ad780bf6233fd5272cfaab5bbfb9
b5d1c18994de5c342ac97429c733b0b597df5690
refs/heads/master
2021-01-01T19:40:53.623682
2017-07-13T08:50:19
2017-07-27T17:42:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,310
py
# # Copyright 2017-present Adtran, 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 to ...
[ "knursimu@ciena.com" ]
knursimu@ciena.com
ada1cec3b5d822959961a9d785d03656d5922b52
3b9b4049a8e7d38b49e07bb752780b2f1d792851
/src/third_party/chromite/scripts/upload_prebuilts.py
ccb1dcc19fe595e9c887a273d4b32bae8105a67b
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LicenseRef-scancode-public-domain", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT" ]
permissive
webosce/chromium53
f8e745e91363586aee9620c609aacf15b3261540
9171447efcf0bb393d41d1dc877c7c13c46d8e38
refs/heads/webosce
2020-03-26T23:08:14.416858
2018-08-23T08:35:17
2018-09-20T14:25:18
145,513,343
0
2
Apache-2.0
2019-08-21T22:44:55
2018-08-21T05:52:31
null
UTF-8
Python
false
false
36,787
py
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """This script is used to upload host prebuilts as well as board BINHOSTS. Prebuilts are uploaded using gsutil to Google Storage. After these prebuil...
[ "changhyeok.bae@lge.com" ]
changhyeok.bae@lge.com
f6fe00211068533c328738bf6f253220d231608a
a3dd364a07fb5da9e9cb22494fd1771dda259e43
/pdok2json.py
1f8a7852b26c3b96ae608b4a082685bae4076ffc
[]
no_license
evetion/pdokservicesplugin
cd5aeb9b9f06af8e6073c3de8f735079476d93ae
593256537ebef747685ddaca657f25c0e4dbfa6a
refs/heads/master
2020-03-12T00:47:50.640084
2018-02-24T13:09:15
2018-02-24T13:09:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
49,510
py
# -*- coding: utf-8 -*- """ /*************************************************************************** PdokServicesPlugin pdok2json.py Dit is een ruw python script om op basis van een rij service-url's (wms, wfs, wcs en wmts) de capabilities van elke service op te halen, en van elke 'laag' in die service een js...
[ "richard@duif.net" ]
richard@duif.net
dc9eb9176a34b44ab604ad897356666d4d12c447
2a0865c583a12c66fdd1e7a62535b3e35482d37b
/CarAI/joshua_work/old/tutorial/Code/04_code/Shaders/src/main.py
33201b106c05887838ee512d0fd001dcefad566b
[]
no_license
MyAusweis/UnrealAI
fe4a6df2859143cd4ca66a063016fc4d22d62bb7
9e5ad6b93df7ecf2293de10d41f09969c42404b3
refs/heads/master
2022-02-11T12:43:52.129313
2018-07-01T22:08:23
2018-07-01T22:08:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
from Application import Application if __name__ == "__main__": gameApp = Application() gameApp.run()
[ "joshualevy44@berkeley.edu" ]
joshualevy44@berkeley.edu
6021a14840f4dfe5737a0e4cca506c1db90ac4e9
d721258b53f0f44b1010cb8e8efac8e2a5c96c26
/eamon/wsgi.py
b12308914222d44e2f8c86e1c45d9fd3a9fb0f6b
[ "LicenseRef-scancode-proprietary-license", "MIT" ]
permissive
kdechant/eamon
a6662285f51a6cad5797bb9be92ca709ae36921c
080a43aa80c3a1605c402e68616545a8e9c7975c
refs/heads/master
2023-05-24T08:20:18.551604
2022-08-14T10:27:01
2023-04-08T07:31:45
49,559,304
28
7
MIT
2023-03-14T21:09:55
2016-01-13T08:07:28
TypeScript
UTF-8
Python
false
false
561
py
""" WSGI config for eamonproj project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/ """ import os import time import traceback import signal import sys from django.core.wsgi import g...
[ "keith.dechant@gmail.com" ]
keith.dechant@gmail.com
ab9d65909b79eb706fa5cf8aaf2e9c7dcf02f382
036a41c913b3a4e7ae265e22a672dd89302d3200
/LOCF_剑指Offer/Offer10I/Offer10I_Python_1.py
766252643cf67ffa677bc1c16c41cc875a9d4433
[]
no_license
ChangxingJiang/LeetCode
e76f96ebda68d7ade53575354479cfc33ad4f627
a2209206cdd7229dd33e416f611e71a984a8dd9e
refs/heads/master
2023-04-13T15:23:35.174390
2021-04-24T05:54:14
2021-04-24T05:54:14
272,088,506
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
class Solution: def fib(self, n: int) -> int: if n == 0: return 0 if n == 1: return 1 a = 0 b = 1 for _ in range(n - 1): a, b = b, a + b return b % 1000000007 if __name__ == "__main__": print(Solution().fib(2)) # 1 print(...
[ "1278729001@qq.com" ]
1278729001@qq.com
dcbf41f5c810985b668d17f1de7878308645db71
0644c03cc3f89b0fc22d9e548a2d06e6a594f1b4
/l10n_th_account_pit/wizard/print_wht_cert_wizard.py
a526a3939af6f823385ad6781a822ab337ec3e31
[]
no_license
phongyanon/pb2_addons
552fbf4cd904c81a1fd0ac5817dc1cf8f3377096
4c69002eeda2de8e806c8a168d8ba9f28527c8d2
refs/heads/master
2021-01-19T13:20:53.749866
2017-12-20T11:12:51
2017-12-20T11:12:51
97,184,424
0
0
null
2017-07-14T02:29:53
2017-07-14T02:29:52
null
UTF-8
Python
false
false
1,638
py
# -*- coding: utf-8 -*- from openerp import models, fields, api class PrintWhtCertWizard(models.TransientModel): _inherit = 'print.wht.cert.wizard' @api.model def _prepare_wht_line(self, voucher): wht_lines = [] if self._context.get('pit_withhold', False): for line in voucher....
[ "kittiu@gmail.com" ]
kittiu@gmail.com
dbd41fc82545780aec01e119160e4bf1141ad632
7fb95b0e0fbc9af63d002e8f589ec464f11b2dcf
/mozy/apps/mosaic/migrations/0005_auto_20150502_1437.py
6e631a504f97df9ac28d2b5626e3d8a4e2368147
[ "MIT" ]
permissive
pipermerriam/mozy
2907656de8a724abb1f635235ba8d572cdc1a2c9
472d3dc77519aae8abd719819f07a929cfd53641
refs/heads/master
2023-08-28T09:41:43.696557
2015-05-03T10:39:46
2015-05-03T10:39:46
33,761,997
0
0
null
2015-04-23T18:40:44
2015-04-11T04:04:59
Python
UTF-8
Python
false
false
633
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('mosaic', '0004_auto_20150502_1351'), ] operations = [ migrations.RemoveField( model_name='normalizedsourceimage'...
[ "piper@simpleenergy.com" ]
piper@simpleenergy.com
f2a1af90f8f17139a5a61568bb00db96f91ff840
b3aba10f1d40bf5dc2fd2bc86d7c8d17c02ad214
/Python/InterfaceFolder/Interface.py
c96c5d964afabbf13d46c5cc5caeb7ad9978552d
[]
no_license
jjdblast/BigData
2259d8dd6dc774e85c34c9fcb8ef845b099f0dbb
442d330da61d3a1cd14a63421a345c1b0b0bd64a
refs/heads/master
2020-12-31T05:10:05.291026
2016-07-28T09:47:01
2016-07-28T09:47:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
#coding:utf-8 ''' Created on 2016年6月2日 @author: giant ''' def my_callback(input): print "hellow world" print "function my_callback was called with %s input" % (input,)
[ "hsw.time@gmail.com" ]
hsw.time@gmail.com
1b42675fbf142b3e48ac2775be3f1aff0ce1c4fd
154ec3de1efcf3c97d154ac2ed0c7cd1c9a25040
/tests/functional/api/groups/test_members.py
90e089513d00899657c073b57cee6c7a522d376d
[ "BSD-3-Clause", "BSD-2-Clause-Views", "BSD-2-Clause" ]
permissive
Manuelinux/kubeh
98a9c5c0a98be67c3583dd222bd74046cd5ee484
a549f0d1c09619843290f9b78bce7668ed90853a
refs/heads/master
2023-03-16T00:51:43.318292
2021-09-17T03:33:14
2021-09-17T03:33:14
211,371,455
0
0
BSD-2-Clause
2023-03-03T07:20:50
2019-09-27T17:37:10
Python
UTF-8
Python
false
false
8,769
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import pytest import base64 from h.models.auth_client import GrantType native_str = str class TestReadMembers: def test_it_returns_list_of_members_for_restricted_group_without_authn( self, app, factories, db_session ): group ...
[ "manuelaguirre@Admins-MacBook-Pro.local" ]
manuelaguirre@Admins-MacBook-Pro.local
accd25f62f52cf65f8c258e2dcce607d5f25fb6f
1db2e2238b4ef9c1b6ca3b99508693ee254d6904
/develop/distribution_analysis/get_distribution.py
ed2a0fbe5958631f1fe4ab77686f8e4032248c97
[]
no_license
pgreisen/pythonscripts
8674e08095f76edf08ef2059300349218079724c
0aadf8f96d19b306c1bc44a772e766a06fe3408b
refs/heads/master
2021-07-06T23:54:57.774342
2021-06-08T19:36:36
2021-06-08T19:36:36
22,017,192
3
0
null
null
null
null
UTF-8
Python
false
false
2,090
py
#!/usr/bin/env python import os,shutil from optparse import OptionParser from pylab import * from numpy import mean,median def read_file(filename): f = open(filename,'r') number = [float(number.strip('\n')) for number in f.readlines() ] f.close() return number def concatenate_lists(a,b): c = a...
[ "pgreisen@gmail.com" ]
pgreisen@gmail.com
c5b4671a761c6af7544aae60e57748091d6e641f
3ae62276c9aad8b9612d3073679b5cf3cb695e38
/easyleetcode/leetcodes/Leetcode_213_House_Robber_II.py
f210ce27974ff699d546d9fb5f11a1086db6058f
[ "Apache-2.0" ]
permissive
gongtian1234/easy_leetcode
bc0b33c3c4f61d58a6111d76707903efe0510cb4
d2b8eb5d2cafc71ee1ca633ce489c1a52bcc39ce
refs/heads/master
2022-11-16T17:48:33.596752
2020-07-13T02:55:03
2020-07-13T02:55:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
37
py
print('Leetcode_213_House_Robber_II')
[ "425776024@qq.com" ]
425776024@qq.com
4bc615c074f5f315a13727627a9fbd705146dd93
d12b59b33df5c467abf081d48e043dac70cc5a9c
/uhd_restpy/testplatform/sessions/ixnetwork/topology/preestablishedsrlsps_a4b5c388b0a9f1cd18fdc396c2ea1c6a.py
d73f4a92ca5ad2273cd9359313bf53df714b30be
[ "MIT" ]
permissive
ajbalogh/ixnetwork_restpy
59ce20b88c1f99f95a980ff01106bda8f4ad5a0f
60a107e84fd8c1a32e24500259738e11740069fd
refs/heads/master
2023-04-02T22:01:51.088515
2021-04-09T18:39:28
2021-04-09T18:39:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,392
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
660fd07c01c4368f378757845806f9d59a1de5e9
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/coverage-big-588.py
49fb3b0216e86538276574a294695124bdcfd458
[]
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
13,355
py
count:int = 0 count2:int = 0 count3:int = 0 count4:int = 0 count5:int = 0 def foo(s: str) -> int: return len(s) def foo2(s: str, s2: str) -> int: return len(s) def foo3(s: str, s2: str, s3: str) -> int: return len(s) def foo4(s: str, s2: str, s3: str, s4: str) -> int: return len(s) def foo5(s: str,...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
b28c119440b275211e9419c52249b7e15e69c698
bc371b9238956bc00cc33654b1d68651c6edf371
/writeups/2021/UMassCTF/suckless2/solve.py
3630e3e60dbe0df2ab62d7d4bc19878c0b703861
[ "MIT" ]
permissive
welchbj/ctf
447202921fbf5c467af62b4f72f5f489c7c471f0
3b54769a8312f755eb97e7b4c954e4b5829af8e1
refs/heads/master
2023-08-19T03:28:33.264186
2023-08-11T18:38:17
2023-08-11T18:38:17
213,223,536
167
28
MIT
2023-04-18T13:29:33
2019-10-06T18:42:03
Python
UTF-8
Python
false
false
1,313
py
#!/usr/bin/env python3 from pwn import * the_binary = "./suckless2_dist" context.binary = the_binary elf = context.binary context.terminal = ["tmux", "splitw", "-h"] def init_io(): if args.REMOTE: io = remote("34.72.244.178", 8089) elif args.STRACE: io = process(["strace", "-o" ,"trace.txt",...
[ "welch18@vt.edu" ]
welch18@vt.edu
3229ce4468a1c5c8b08a986d4b43e85efce87457
8ee12ccce396e0d43bd8473ec9f0a13c9c7844c7
/Mani_Vijay/python buit-in functions/Pyhton input function/bool_float.py
77d81ecffdff469beceee0ce86e6e8be72d0b89a
[]
no_license
Purushotamprasai/Python
4ed44e26ca5cec7bb39c5561f545bfc68499bcfd
ed6fbd0f73cc7be91661f544f464222030197097
refs/heads/master
2023-06-05T13:39:04.602783
2020-01-23T14:30:25
2020-01-23T14:30:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
num= input("enter some data") num= bool(num) print"num is",num print"id is", type(num) print"type is", type(num)
[ "noreply@github.com" ]
Purushotamprasai.noreply@github.com
9cf1edebac26b014d06bb74d8579bc2d35c8a658
8e24e8bba2dd476f9fe612226d24891ef81429b7
/geeksforgeeks/python/python_all/68_8.py
8d459b58026c87bc4d0809ae531ada70dcad3ea6
[]
no_license
qmnguyenw/python_py4e
fb56c6dc91c49149031a11ca52c9037dc80d5dcf
84f37412bd43a3b357a17df9ff8811eba16bba6e
refs/heads/master
2023-06-01T07:58:13.996965
2021-06-15T08:39:26
2021-06-15T08:39:26
349,059,725
1
1
null
null
null
null
UTF-8
Python
false
false
1,806
py
How to Get Coordinate Of Screen in Python Turtle ? Turtle is a special feature in python which contains a graphical library. In this article we will learn how to Get Coordinate Of Screen in Python Turtle. Turtle has many built in function to create this program we use following. > **import turtle – > **T...
[ "qmnguyenw@gmail.com" ]
qmnguyenw@gmail.com
9c32a0e4932286ee4c8d66addc4f77cfc63023fb
919e3e3d772d6a79e7639bde32bf698088bc241f
/pyspider/result/result_worker.py
ddfd7545d8dc0fc20273f9cb2192499ca363bee4
[ "Apache-2.0" ]
permissive
UoToGK/crawler-pyspider
96cfee1e16db1376b5ea0c5fa51650a04c14f714
29ba13905c73081097df9ef646a5c8194eb024be
refs/heads/master
2023-09-05T18:33:17.470385
2021-11-05T10:44:15
2021-11-05T10:44:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,619
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- # vim: set et sw=4 ts=4 sts=4 ff=unix fenc=utf8: # Author: Binux<i@binux.me> # http://binux.me # Created on 2014-10-19 15:37:46 import time import json import logging from six.moves import queue as Queue from pyspider.helper.logging import task_log logger = log...
[ "binhui.ni@yourdream.cc" ]
binhui.ni@yourdream.cc
71e40389f60fb122edde1239c65f8e55412083f9
9d7d69178c6f1f1db6ed6767e0af32bfe836549c
/new_workspace/Gumtree_Workspace/Magnet/Yick/P9363/100 Alignment/20210130/Overnight/2021_Jan_Yick_scan_time_56_1K_125Oe_ZFC_40min.py
9cf66fe21d2297a88318f687b3e726608073a945
[]
no_license
Gumtree/Quokka_scripts
217958288b59adbdaf00a9a13ece42f169003889
c9687d963552023d7408a8530005a99aabea1697
refs/heads/master
2023-08-30T20:47:32.142903
2023-08-18T03:38:09
2023-08-18T03:38:09
8,191,387
0
0
null
null
null
null
UTF-8
Python
false
false
3,299
py
histmem preset 60 histmem mode time #Time scan #----------------------------------------------------------------- #System reset (15 minutes) hset /sample/tc1/control/tolerance1 1 drive ma1_setpoint 0 drive tc1_driveable 90 wait 10 drive tc1_driveable 4 drive ma1_setpoint 125 wait 10 hset /sample...
[ "quokka@DAV5-QUOKKA.nbi.ansto.gov.au" ]
quokka@DAV5-QUOKKA.nbi.ansto.gov.au
df954ffd8fb22a7384f0c0b74354af4e06877fbd
ba3231b25c60b73ca504cd788efa40d92cf9c037
/nitro-python-13.0.36/nssrc/com/citrix/netscaler/nitro/resource/config/vpn/vpnglobal_auditnslogpolicy_binding.py
c1cabb6314b245dc9c55e206d4e52a73885a3693
[ "Apache-2.0", "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
zhuweigh/vpx13
f6d559ae85341e56472e3592cbc67062dac34b93
b36caa3729d3ca5515fa725f2d91aeaabdb2daa9
refs/heads/master
2020-07-04T22:15:16.595728
2019-09-20T00:19:56
2019-09-20T00:19:56
202,435,307
0
0
null
null
null
null
UTF-8
Python
false
false
12,299
py
# # Copyright (c) 2008-2019 Citrix Systems, 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 l...
[ "zhuwei@xsky.com" ]
zhuwei@xsky.com
068bfe1d684059513b8ff1b15160ec145471ffc3
44064ed79f173ddca96174913910c1610992b7cb
/Second_Processing_app/temboo/Library/Amazon/IAM/GetGroupPolicy.py
f85f2b09ae61777531adae6278c6723fdd2e9698
[]
no_license
dattasaurabh82/Final_thesis
440fb5e29ebc28dd64fe59ecd87f01494ed6d4e5
8edaea62f5987db026adfffb6b52b59b119f6375
refs/heads/master
2021-01-20T22:25:48.999100
2014-10-14T18:58:00
2014-10-14T18:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,397
py
# -*- coding: utf-8 -*- ############################################################################### # # GetGroupPolicy # Retrieves the specified policy document for the specified group. # # Python version 2.6 # ############################################################################### from temboo.core.choreo...
[ "dattasaurabh82@gmail.com" ]
dattasaurabh82@gmail.com
44153f43db578ddeaf085d737762fe112938c9e7
eb79c567ca500b39e268eb270c792688a20b1f08
/generatePage.py
4c7ad31a6e6ca54e0c7c6645be1c034961e043c9
[]
no_license
RickeyEstes2/arxiv-equations
db746ba993a2a6ad9907594e15e6148acd52ac85
93047961d9de04d7aa79635a6f59a8680242637b
refs/heads/master
2023-03-16T12:19:41.378386
2018-11-26T05:20:06
2018-11-26T05:20:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,666
py
#!/usr/bin/env python # This script will read in a pickle that includes extracted metadata and # equations from an article, and general yaml (with front end matter) to # render into a page. import pickle import operator import frontmatter import os import sys from helpers import get_equation_counts input_pkl = sys...
[ "vsochat@stanford.edu" ]
vsochat@stanford.edu
3148c6e92aa0af98497ad72eadb37962a9b50cd9
92065e3b378edc8e0570e4295aca0968de3c852d
/rosalind_frmt.py
c3178a9ffd4e87839daefb1e149757e2ceb3005d
[]
no_license
sunhuaiyu/rosalind
18dc9fa78aaa84b478b112089a3b94d0f442b1bb
7181cc9215d3ea0b5ad9d0811c00e01fd9f20b1c
refs/heads/master
2020-04-04T17:53:17.437595
2019-04-11T17:03:52
2019-04-11T17:03:52
25,007,403
5
2
null
null
null
null
UTF-8
Python
false
false
404
py
# sun.huaiyu # gbk from Bio import Entrez, SeqIO Entrez.email = 'hsun@salk.edu' f = open('rosalind_frmt.txt') ids = f.readline().split() handle = Entrez.efetch(db='nucleotide', id=[', '.join(ids)], rettype='fasta') records = list(SeqIO.parse(handle, 'fasta')) shortest = sorted(records, key=lambda x: len(x.seq))[0] ...
[ "noreply@github.com" ]
sunhuaiyu.noreply@github.com
3ec6354d03c41e1a6cb36925667ad36dcc433e98
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_issue.py
00ab7aacb2f25fe5d71d73b0fb32f899b9120904
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
#calss header class _ISSUE(): def __init__(self,): self.name = "ISSUE" self.definitions = [u'a subject or problem that people are thinking and talking about: ', u'most important in what is being discussed: ', u'to make something seem more important than it should be, or to argue about it: ', u'to disagree stron...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
4d48ca0b1e607e8bfce731a23c9d6dde8dd48770
a680b681210a070ff6ac3eab4ed3ea5a125991d6
/spider/instances/inst_fetch.py
487fe1d57881e518171e2bb08fc2984b632fe21c
[ "BSD-2-Clause" ]
permissive
moonbirdxp/PSpider
bb6da1de6a78d86ee8704b6eb8981773a1a31d8c
4d7238b4ebafd129ecc5dd1095ce1ece313945ec
refs/heads/master
2020-06-22T03:46:17.320420
2019-07-16T03:26:20
2019-07-16T04:44:17
197,624,496
0
0
BSD-2-Clause
2019-10-15T01:04:19
2019-07-18T16:48:09
Python
UTF-8
Python
false
false
1,711
py
# _*_ coding: utf-8 _*_ """ inst_fetch.py by xianhu """ import time import random class Fetcher(object): """ class of Fetcher, must include function working() """ def __init__(self, sleep_time=0, max_repeat=3): """ constructor :param sleep_time: default 0, sleeping time afte...
[ "qixianhu@qq.com" ]
qixianhu@qq.com
ba8e796d0931eec1c2ee5edeb7c0e03f0475c60a
482b695d09d721d2d1731cf50e3928e058e44916
/src/Python/StructuredPoints/Vol.py
bd3d72e56d26d82c9969ed3d20b53525bd0b1dff
[ "Apache-2.0" ]
permissive
numminorih/vtk-examples
b9d5c35f62dc287c6633b05ab4fb14033100bee8
2e3922a61cf4ef428c013d56d754742ff880b3cf
refs/heads/master
2023-07-29T05:56:23.235478
2021-09-07T22:58:41
2021-09-07T22:58:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,639
py
#!/usr/bin/env python import vtk def main(): colors = vtk.vtkNamedColors() renderer = vtk.vtkRenderer() renWin = vtk.vtkRenderWindow() renWin.AddRenderer(renderer) iren = vtk.vtkRenderWindowInteractor() iren.SetRenderWindow(renWin) vol = vtk.vtkStructuredPoints() vol.SetDimensions(2...
[ "andrew.amaclean@gmail.com" ]
andrew.amaclean@gmail.com
373bef96a622b1cfeedf8d9879a96af87bfd9e46
f8e8e365c9cf58b61d72655bc2340baeaed5baff
/Leetcode/Python Solutions/Binary Trees/UnivaluedBinaryTree.py
3ed40370aac53df28bfef683b6d36e893ee4ed0e
[ "MIT" ]
permissive
Mostofa-Najmus-Sakib/Applied-Algorithm
39a69f6b9ed113efe4a420d19cad79e0aa317637
bc656fd655617407856e0ce45b68585fa81c5035
refs/heads/master
2023-08-31T19:54:34.242559
2021-11-05T03:43:35
2021-11-05T03:43:35
412,263,430
0
0
MIT
2021-09-30T23:45:29
2021-09-30T23:45:25
null
UTF-8
Python
false
false
2,071
py
""" LeetCode Problem:965. Univalued Binary Tree Link: https://leetcode.com/problems/univalued-binary-tree/ Language: Python Written by: Mostofa Adib Shakib Two versions of the solution Version 1(Recursive using DFS): In this version of the solution we use a dfs helper method to compare every node in the true. If the...
[ "adibshakib@gmail.com" ]
adibshakib@gmail.com
7c2f2a6315e31fdfcbb25564c9f2140caa632aab
c72cde3c84b4c3ed1180f5e88a30780a90a70075
/source/accounts/migrations/0004_auto_20191101_1520.py
150d17738d1a16ee4602fb5d52c475c89c795da5
[]
no_license
Aisuluu1405/python_group_3_homework_49_Aisulu_Dzhusupova
a88187e34a71c282eedd08c2616c66a19daef356
6fbf0a57dfc85ebd8203142f6b903228c67b1051
refs/heads/master
2022-11-28T18:32:32.732140
2019-12-09T14:11:01
2019-12-09T14:11:01
211,069,782
0
0
null
2022-11-22T04:47:28
2019-09-26T11:09:26
Python
UTF-8
Python
false
false
590
py
# Generated by Django 2.2 on 2019-11-01 15:20 from django.db import migrations def create_user_profiles(apps, schema_editor): User = apps.get_model('auth', 'User') UserProfile = apps.get_model('accounts', 'UserProfile') for user in User.objects.all(): UserProfile.objects.get_or_create(user=user) ...
[ "aisuluueco2009@yandex.ru" ]
aisuluueco2009@yandex.ru
94400f966a70ee4add2a8083778d5eb0fba7eaca
05857cd30669a914d69ce872141964a4e6b31edd
/sample.py
2cc30d2240966d3dfd725f69d94e80076a8fa628
[]
no_license
EricSchles/test_naming
f61e0900835edbbd7f5054e1916e38647f460e9e
a9be0cc48c40b704c7970968458db3631c8116e2
refs/heads/master
2021-01-17T12:21:09.588993
2014-11-05T00:11:34
2014-11-05T00:11:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
class Foo: def __init__(self,first,second): self.first = first self.second = second def adder(self): return self.first + self.second def multipler(self): return self.first * self.second
[ "ericschles@gmail.com" ]
ericschles@gmail.com
44dd986a455b97ff422c59570f460e119a19fc12
3496ead97ad993b8c32ff6f96cf3474110baef79
/thisisproject/settings.py
d7c2755ccda782a22425d6f608116a620dfddfd3
[]
no_license
vpgrishkin/django-channels-celery-jokes
7e7d5b71110f14ef08c2e684ae89c39cd321b219
b617cc97e8f9ad0710f6bd6de122749263b28c18
refs/heads/master
2020-03-31T08:48:01.011142
2018-06-17T06:16:32
2018-06-17T06:16:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,276
py
import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/ # SECURITY WARNING: keep the...
[ "denis.orehovsky@gmail.com" ]
denis.orehovsky@gmail.com
bebe9062b31f8a9800ce2d05f8bdc7ae7ac81e36
6ed034d0a5e239d7b0c528b287451409ffb4a494
/mmpose/core/camera/__init__.py
a4a3c5526560996791a85f0d84a72a66286486ca
[ "Apache-2.0" ]
permissive
ViTAE-Transformer/ViTPose
8f9462bd5bc2fb3e66de31ca1d03e5a9135cb2bf
d5216452796c90c6bc29f5c5ec0bdba94366768a
refs/heads/main
2023-05-23T16:32:22.359076
2023-03-01T06:42:22
2023-03-01T06:42:22
485,999,907
869
132
Apache-2.0
2023-03-01T06:42:24
2022-04-27T01:09:19
Python
UTF-8
Python
false
false
232
py
# Copyright (c) OpenMMLab. All rights reserved. from .camera_base import CAMERAS from .single_camera import SimpleCamera from .single_camera_torch import SimpleCameraTorch __all__ = ['CAMERAS', 'SimpleCamera', 'SimpleCameraTorch']
[ "annblessus@gmail.com" ]
annblessus@gmail.com
497f1dde8d0a8091281fc01b4c148a70ba5404db
5c3ab4a045f6df4edb647e509ca7f79c9268a5a6
/src/tableau_api_lib/sample/__init__.py
b000487bafa8c5ea2044d58507c0cde5f83320c0
[ "MIT" ]
permissive
divinorum-webb/tableau-api-lib
d1bafa5c876ce26c5884b6b1bc53c0969565c52b
99a1d3c2a4d7dc20d1c4a619d58cc756ace1db41
refs/heads/master
2023-04-04T22:52:37.753153
2022-10-15T11:51:45
2022-10-15T11:51:45
203,291,381
84
29
MIT
2023-03-29T13:40:22
2019-08-20T03:18:01
Python
UTF-8
Python
false
false
42
py
from .config_example import sample_config
[ "elliott.stam@gmail.com" ]
elliott.stam@gmail.com
b13bca55632de5a3c7d5819f798989c93fc5fbe1
98cd5ddf45a73aea64bbfac0c0104829d7231b81
/S - Grid Slide Square - Filled/info.py
3a06687be68f63f5b6e0b36197f1252211343cde
[]
no_license
atheis4/ETC_Modes_Extra
42508d523cfe632a3335e29f6e1e40af91df231b
d0ce221562105382a7a73cc6d280f4ad0eabf6f3
refs/heads/master
2022-04-04T11:15:07.335910
2020-01-03T20:27:32
2020-01-03T20:27:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
name = "S - Grid Slide Square - Filled" description = "Grid of oscillating filled squares with LFO-controlled sliding rows with animated color fade" knob1 = "Slide LFO speed" knob2 = "Slide LFO range" knob3 = "Size" knob4 = "Color" released = "March 18 2019"
[ "media@critterandguitari.com" ]
media@critterandguitari.com