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
e0f32a920e709012ccfe001490c91293713eac63
67b4c76ba0a94c023e085706cc3e0760f700eecd
/prod_settings.py
22087417dac1072182d4d1a36ff665e4adf163d4
[]
no_license
rlr/sitesprint09
928ef7129f0b120a2a1d02226b154a28d462e0bd
3f74631c6feb9dcab50dc263dba145755cefab6f
refs/heads/master
2021-01-10T21:30:30.745816
2010-01-30T02:35:45
2010-01-30T02:35:45
388,924
1
0
null
null
null
null
UTF-8
Python
false
false
1,686
py
# -*- coding: utf-8 -*- LOCAL_DEV = False DEBUG = False TEMPLATE_DEBUG = DEBUG #sorl-thumbnail THUMBNAIL_DEBUG = False #django-contact-form DEFAULT_FROM_EMAIL = 'rickyrosario@gmail.com' MANAGERS = ( ('Ricky Rosario','rickyrosario@gmail.com'), ) DATABASE_ENGINE = 'postgresql_psycopg2' # 'postgresql_ps...
[ "rickyrosario@gmail.com" ]
rickyrosario@gmail.com
6b6f2a16f52435fd0b9bf3df97aef77d9bb2f821
22e9d7c194cf22513d68b61b97c49405a47e8708
/Hashing/count_No_Teams.py
2d1043accf6dbc6c8c2b8b3d941b2330ed460298
[]
no_license
SandeepPadhi/Algorithmic_Database
44c26f9300a99539781c5beb5587997b3ecadfe1
ab8040a7dad94c84ec88f40e44b8520edcbe2443
refs/heads/main
2023-06-22T02:04:29.362315
2021-07-19T17:48:40
2021-07-19T17:48:40
338,329,340
3
0
null
null
null
null
UTF-8
Python
false
false
1,555
py
""" Date:24/02/2021 1395. Count Number of Teams - Leetcode - Medium The following program is using Hashing """ class Solution: def numTeams(self, rating: List[int]) -> int: highindex={} lowindex={} for i in range(len(rating)): highindex[i]=[] lowindex[i]=[] ...
[ "padhisandeep96@gmail.com" ]
padhisandeep96@gmail.com
4c08c95b73a2a6f9d94cb46833129c2508a1bf92
c633bf9cbfa588ecd26d6daebb5434b08542bcb3
/warehouse_by_active_user/models/warehouse.py
1ffa053b1cf9a9fa92043664614a9bdc53ac7e66
[]
no_license
rosalesdc/am_testing
57c6afa0f6e028569c682d8bfff7d0e80d08c12d
b78be0ef4eb6a6ab916e4840d900a73cca427a0e
refs/heads/master
2020-09-08T08:48:00.213951
2019-11-11T22:51:34
2019-11-11T22:51:34
221,083,592
0
0
null
null
null
null
UTF-8
Python
false
false
1,218
py
# -*- encoding: utf-8 -*- # # Module written to Odoo, Open Source Management Solution # # Copyright (c) 2017 Telematel - http://www.telematel.com/ # All Rights Reserved. # # Developer(s): Luis Ernesto Garcia Medina # (ernesto.garcia@telematel.com) # ########################################################...
[ "rosales9146@gmail.com" ]
rosales9146@gmail.com
37f3382aaf1b32e126dda9c8ba924399ca4eae1e
783d136927a55eb83734bfd4eee4f4de06ababe2
/DeepFM/DeepFM1.py
04b1f6b1cb52f55d52af811bd940d31a38c169a1
[]
no_license
robertaaa/code_study
51bf9f87cf32c6c131c2711a0626fbd0e6ceec57
3fb264ed9fb36abe156c6663316b2e80169c26ac
refs/heads/master
2023-09-05T21:58:20.055755
2021-11-08T05:07:49
2021-11-08T05:07:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,144
py
import pandas as pd from sklearn.metrics import log_loss, roc_auc_score from sklearn.model_selection import train_test_split from sklearn.preprocessing import LabelEncoder, MinMaxScaler from deepctr.models import DeepFM from deepctr.utils import SingleFeat if __name__ == "__main__": data = pd.read_csv('./criteo_s...
[ "jiangpeng.jiang@zhaopin.com.cn" ]
jiangpeng.jiang@zhaopin.com.cn
dbff0efff569b2b4be22939abe0ab1146d16710f
e68a40e90c782edae9d8f89b827038cdc69933c4
/res/scripts/client/gui/scaleform/daapi/view/battle/shared/ribbons_panel.py
88ada4a83db65cc2b9b186d1ab9087c3f904009f
[]
no_license
webiumsk/WOT-0.9.16
2486f8b632206b992232b59d1a50c770c137ad7d
71813222818d33e73e414e66daa743bd7701492e
refs/heads/master
2021-01-10T23:12:33.539240
2016-10-11T21:00:57
2016-10-11T21:00:57
70,634,922
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
13,015
py
# 2016.10.11 22:10:43 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/battle/shared/ribbons_panel.py import BigWorld from debug_utils import LOG_DEBUG_DEV from helpers import i18n from account_helpers.settings_core.settings_constants import BATTLE_EVENTS, GRAPHICS from account_h...
[ "info@webium.sk" ]
info@webium.sk
2cfe9762f059ccfa617d55861f8b9a5968eaecb6
dfac8bd76452c83f39de08eb8fdbdd53e8caaca4
/skyline/flux/uploaded_data_worker.py
18b90da4f3faa1f1f0f23c3229a90f7e73bef173
[ "MIT" ]
permissive
kioco/skyline-1
ea872b329116bfdaa825180df576592e00dd2a58
9f96e7edfcae73fd0e5fcdb7d4cdbd79c8f43e8a
refs/heads/master
2022-09-06T18:14:32.522353
2020-06-02T07:34:20
2020-06-02T07:34:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
86,244
py
import sys import os.path from os import kill import traceback from multiprocessing import Process from time import time import datetime from time import sleep from ast import literal_eval import socket import pickle import struct import shutil import glob import gzip import zipfile import tarfile from collections imp...
[ "gary.wilson@of-networks.co.uk" ]
gary.wilson@of-networks.co.uk
c8a8925d67f8d6367f31e9f8874fb6c12a1cef90
eb731db339fd09757cc816823aa875bcaf15abeb
/jobs/migrations/0024_auto_20150116_2026.py
31697f0f928f47b0adcf929e74d0db4c10f09ed4
[]
no_license
sokogfb/1source
a34c17b90e23744686d904d8ed195182ecdd5e1f
a866e16e52aa34800f0da60e615f47952e084735
refs/heads/master
2020-12-01T08:50:43.138251
2016-10-23T01:33:47
2016-10-23T01:33:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('jobs', '0023_application_hired_date'), ] operations = [ migrations.AddField( model_name='application', ...
[ "devon.warren@gmail.com" ]
devon.warren@gmail.com
ab3dd0815e9f713d51735f87335bdf9ccefb193a
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_1484496_0/Python/Abraham/3.py
3eb056330663b609738fc113d40d686cfd9d04a0
[]
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
2,762
py
import sys infile=open(sys.argv[1]) #contents=infile.read() #print contents line=infile.readline() numofcases=int(line) print numofcases,"cases" count=0 outfile=open("out.txt","w") for i in range(numofcases): count+=1 outfile.write("Case #"+str(count)+":\n") line=infile.readline() print line number...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
18fc7b4207df14536f7fea612bb7a37e5a3ea469
6d5545faf2af0a6bb565ad698bb824110b40e121
/WEBAPP/MLmodel/inception_client.py.runfiles/tf_serving/external/org_tensorflow/tensorflow/keras/applications/inception_v3/__init__.py
007b1d35ced43796547423c771944fc1cdcb3780
[ "MIT" ]
permissive
sunsuntianyi/mlWebApp_v2
abb129cd43540b1be51ecc840127d6e40c2151d3
5198685bf4c4e8973988722282e863a8eaeb426f
refs/heads/master
2021-06-23T22:02:38.002145
2020-11-20T02:17:43
2020-11-20T02:17:43
162,194,249
1
0
null
null
null
null
UTF-8
Python
false
false
192
py
/private/var/tmp/_bazel_tianyi/f29d1e61689e4e4b318f483932fff4d0/execroot/tf_serving/bazel-out/darwin-opt/genfiles/external/org_tensorflow/tensorflow/keras/applications/inception_v3/__init__.py
[ "sun.suntianyi@gmail.com" ]
sun.suntianyi@gmail.com
e56fe243ff26e0c4ed95e36aed0397d5793f59fd
c64f2412f7a7ebc3f6bce2a2dcbb99f6b88a2268
/users/arxiv/users/legacy/__init__.py
09538c9dd112574852d0fa5619c20aa21da9e6c8
[ "MIT" ]
permissive
Quang7hong81/arxiv-auth
565614667f6900d0d9644d010b832acfee3ba983
ca2b0091682248d84154cf0a0d70c28e2e4e9f91
refs/heads/master
2023-08-11T06:58:09.849172
2021-05-04T20:53:44
2021-05-04T20:53:44
415,073,254
1
0
null
null
null
null
UTF-8
Python
false
false
582
py
""" Integrations with the legacy arXiv database for users and sessions. This package provides integrations with legacy user and sessions data in the classic DB. These components were pulled out as a separate package because they are required by both the accounts service and the authn/z middlware, and maintaining them ...
[ "brp53@cornell.edu" ]
brp53@cornell.edu
1a30948da27846055a1e2094b54a910a08a3491f
727f1bc2205c88577b419cf0036c029b8c6f7766
/out-bin/py/google/fhir/models/model_test.runfiles/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/keras/preprocessing/__init__.py
263fd39ce30e9df743884634bca14076423ace71
[ "Apache-2.0" ]
permissive
rasalt/fhir
55cf78feed3596a3101b86f9e9bbf6652c6ed4ad
d49883cc4d4986e11ca66058d5a327691e6e048a
refs/heads/master
2020-04-13T00:16:54.050913
2019-01-15T14:22:15
2019-01-15T14:22:15
160,260,223
0
0
Apache-2.0
2018-12-03T22:07:01
2018-12-03T22:07:01
null
UTF-8
Python
false
false
190
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/c4bcd65252c8f8250f091ba96375f9a5/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/keras/preprocessing/__init__.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
80b5a121e4ba0b0b9fa3de601259a3ed358a8f19
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations_async/_available_delegations_operations_async.py
9bd5ba9d9b004892ecb52fedad1a086d3101ab89
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
5,085
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 may ...
[ "noreply@github.com" ]
YijunXieMS.noreply@github.com
a6b8938429590ad4f25219b94088b7a9e3c816ca
4d21da5a3d07f4d05b997e80119cd79692ac0d25
/Leetcode/301-400/326. Power of Three.py
6dd5aa5bcea9575eb62407cbaf95c65965ef696e
[]
no_license
ErinC123/Algorithm
92b2789ec3b36c49f9e65f2e7a702bb4b732e8ba
4544fee91e811a6625000921c32ad054df550f1e
refs/heads/master
2021-06-17T14:03:33.955233
2017-06-18T21:20:55
2017-06-18T21:20:55
75,894,724
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
# Question: 326. Power of Three # Difficulty: Easy # Tags: Math ''' Given an integer, write a function to determine if it is a power of three. Follow up: Could you do it without using any loop / recursion? ''' class Solution(object): def isPowerOfThree(self, n): """ :type n: int :r...
[ "zhencao93@gmail.com" ]
zhencao93@gmail.com
850b0fdbbdcd7b8c51b89ad013305f361b5402cd
b8e9dd6fd8f8b691cba5a3af2388467bcf6c90bb
/samples/openapi3/client/3_0_3_unit_test/python-experimental/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post.pyi
8fd7d1c438a0e379c0e8540738e4ed3eb5e2bfdb
[ "Apache-2.0" ]
permissive
FallenRiteMonk/openapi-generator
f8b98940219eecf14dc76dced4b0fbd394522aa3
b6576d11733ecad6fa4a0a616e1a06d502a771b7
refs/heads/master
2023-03-16T05:23:36.501909
2022-09-02T01:46:56
2022-09-02T01:46:56
164,609,299
0
0
Apache-2.0
2019-01-08T09:08:56
2019-01-08T09:08:56
null
UTF-8
Python
false
false
4,583
pyi
# coding: utf-8 """ Generated by: https://openapi-generator.tech """ from dataclasses import dataclass import urllib3 from urllib3._collections import HTTPHeaderDict from unit_test_api import api_client, exceptions from datetime import date, datetime # noqa: F401 import decimal # noqa: F401 import functools ...
[ "noreply@github.com" ]
FallenRiteMonk.noreply@github.com
96ce58746c96c0f7147da20156ec0aadcc009ca8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03338/s026655815.py
7c92da9e9417e9f603a6f39bed45f9c3726844a6
[]
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
112
py
n = int(input()) s = input() a = [] for i in range(1, n): a.append(len(set(s[:i]) & set(s[i:]))) print(max(a))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e215012501e1408062f10bd22f8e9dbb5bb9d9e3
4d1d67fde4168abc454e13b71afb843a56958f78
/EtherPad/settings.py
cee16ccc93f013364237bbe4b3ef406f6ca2a11c
[ "MIT" ]
permissive
pandeyroshan/Sharepad.net
431410b8ef36f8883bbfa4a3afdb4b9605701068
60b4614ad46f7e06f17480dcd9f0664b4f1661cc
refs/heads/master
2022-04-06T15:07:11.230206
2020-02-23T01:30:30
2020-02-23T01:30:30
242,392,737
0
0
null
null
null
null
UTF-8
Python
false
false
3,104
py
""" Django settings for EtherPad project. Generated by 'django-admin startproject' using Django 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/ """ import os # ...
[ "pandeyroshan556@gmail.com" ]
pandeyroshan556@gmail.com
a2271435a5491a60527f6283ff52ff6e8a33fd46
b4bc1807fb084a83c02b2e39de690a570be64ebd
/events_site_example/apps/common_app/tests/helpers.py
f72cc39f95eac0b551c88db21280cf7ecbef4c68
[]
no_license
pahaz/events-site-example
81d7a088a36d0073b6c743d9bf417403ea945746
f0d0ae18b137dd39afc6b09d01048bc4403dff92
refs/heads/master
2023-08-26T20:00:04.157919
2012-11-21T06:58:09
2012-11-21T06:58:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,554
py
# -*- coding: utf-8 -*- from django.test import TestCase class TestConditionBase(TestCase): # model = ModelClass # queryset_method_name = 'queryset_filter_method_name' # instance_property_name = 'model_instance_property_name' def setUp(self): self.instance = self.create_instance() # lea...
[ "web-chib@yandex-team.ru" ]
web-chib@yandex-team.ru
4b7f7fbbef6cd5d36f278fa8ca7c2fce75a71c78
7585c77f49d4a3643e4740b2ceae081c20fc4183
/Python_Nyuumon/example04-05-01.py
698464305692710def6032ae6adcefb3a64043a7
[]
no_license
Minari766/study_python
c4243df47f23e8fda5bcdf16b65f3b3af97f888c
b1e48e750126f377a15f8be8b3c2547687416ec4
refs/heads/master
2022-12-15T10:29:05.306690
2020-09-03T13:05:21
2020-09-03T13:05:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
17
py
#coding:utf-8 ç
[ "mina3.ryu0728@gmail.com" ]
mina3.ryu0728@gmail.com
8fbd777be6a4409caac091f3dd090dc2debebeef
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/297/67077/submittedfiles/testes.py
c7507d5c71e3b61038c611e9a7d783a2490240fe
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO idade= int(input("sua idade(i): ")) altura= float(input("sua altura(f): ")) print(idade) print('sua idade inteira eh %d e a altura eh %.2f'%(idade,altura))
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
78f46b6b21fb1b994bdb1e8203bf4bf6920782c9
1f7d287ef90041e20468513a26a39e1f3d221289
/Level-4/s01/guvi-L4-s02-py02.py
8b0e9652fdfd4d786ce1b1f5461d7d32068eb13d
[]
no_license
ksthacker/python
d787d69f954c0e9b59b0cc96a8b8fc5c0594d8a0
3a3775e1b9349e313f8c96ea11eade54a7e9bf54
refs/heads/master
2021-04-27T16:32:40.923316
2019-08-21T04:50:22
2019-08-21T04:50:22
122,303,461
0
17
null
2019-10-03T14:59:51
2018-02-21T07:09:32
Python
UTF-8
Python
false
false
221
py
import sys, string, math n,k = input().split() n,k = int(n), int(k) L = [ int(x) for x in input().split()] for i in range(0,k) : a,b = input().split() a,b = int(a), int(b) print(sum(L[a-1:b]))
[ "noreply@github.com" ]
ksthacker.noreply@github.com
3e0576d476569ec92571f897297e7d607dc0a523
533f14db4ecae4ed590759ebd0540d9f1dc29b70
/tests/test_image.py
584f12f249acbc29eebd8566e7b1707078afc2a1
[ "Apache-2.0" ]
permissive
tjsongzw/mmcv
30d3271957f3fc814e0792f4bccfebda154cc208
4abb916d604fba808f7220cc423280452eecfc96
refs/heads/master
2020-04-18T02:19:04.868110
2019-04-22T02:49:46
2019-04-22T02:49:46
167,157,804
0
0
Apache-2.0
2019-01-23T09:43:10
2019-01-23T09:43:10
null
UTF-8
Python
false
false
12,552
py
import os import os.path as osp import tempfile import cv2 import mmcv import numpy as np import pytest from numpy.testing import assert_array_equal, assert_array_almost_equal class TestImage(object): @classmethod def setup_class(cls): # the test img resolution is 400x300 cls.img_path = osp....
[ "chenkaidev@gmail.com" ]
chenkaidev@gmail.com
9a92894a5d92bfd4c100d639f10ae5a43bca57c9
c66810fadc39a6ff020b8a04ec70903a5570b378
/behavioral_patterns/state_pattern/state_exp1.py
e386e71ec9bb372658d21c61b142c70b9400b8dd
[]
no_license
MaxOvcharov/python_desing_patterns
364c56c392bef3a882fd13fbd00a9c5d1241ccfd
eacc3f1483e40778178523d82adfb6c443dbf1ae
refs/heads/master
2021-05-14T00:45:47.094302
2020-02-26T20:00:11
2020-02-26T20:00:11
116,548,664
0
0
null
null
null
null
UTF-8
Python
false
false
1,252
py
#!/usr/bin/env python3 """ EXAMPLE - https://sourcemaking.com/design_patterns/state. Allow an object to alter its behavior when its internal state changes. The object will appear to change its class. """ import abc class Context: """ Define the interface of interest to clients. Maintain an instance of a ...
[ "ovcharovmax@yandex.ru" ]
ovcharovmax@yandex.ru
af4b2060403266755323d533964ef0dbf17e3862
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/CPQRPM-MIB.py
ac576ea95cf89c433a9e440816af0f39cbf9b7d9
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
58,041
py
# # PySNMP MIB module CPQRPM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CPQRPM-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:12:07 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
cc2c7d03ef3262a407a8d964d244a638cf7c6819
ce71f783e00a82de64a0a80fe039beedc3ae4bab
/xing_ji/asgi.py
6e85d1fe695c562046b21770cd85ee83bce7e9ac
[]
no_license
bayhax/xing_ji
d4105c55d87d8f885afe96fcff7aa905a91ca9bb
239df41e130f84ee9c76b93fe56567ddbcc960b5
refs/heads/master
2023-02-07T20:30:35.923898
2020-12-30T07:19:28
2020-12-30T07:19:28
324,749,551
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" ASGI config for xing_ji project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTI...
[ "whlbayhax@163.com" ]
whlbayhax@163.com
60f84921356470e29c35b00e56e242c0de1d90e8
1a6dd921861b56a0fb856856c6b318a24daf98d8
/13 раздел/Задача N.py
5b8663536888baef73200e665cd9ace5cdc83e17
[ "WTFPL" ]
permissive
AlexeyZavar/informatics_solutions
cfd64529b1acd617d51315ba85b53c4d4f883471
66df4374b971b44a0165ad0c34b307a0b9f5fa15
refs/heads/master
2022-04-14T02:52:01.258939
2020-04-18T22:01:09
2020-04-18T22:01:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
# Дана строка, возможно, содержащая пробелы. Определите количество слов в этой строке. Слово — это несколько подряд идущих букв латинского алфавита (как заглавных, так и строчных). # import re as regular_ex def removeTrash(s): l1 = s.count('-') for i in range(l1): del s[s.index('-')] return s ...
[ "alexeyzavar@gmail.com" ]
alexeyzavar@gmail.com
6aca5bca8820467d965afb4f15a33b9baf041b4d
12fc0aa145792bc0175cb369758111321706ea15
/test/arthash/journals/integration_test.py
26decd44e641d04c4815eb5779a809acd9e37d2f
[ "LicenseRef-scancode-free-unknown", "Artistic-2.0" ]
permissive
arthash/arthash
3d39f412e1fafcaccf31c62c658d542a03a4b0d0
8d59700308cedf3b62118ed021064b677408edeb
refs/heads/master
2021-01-15T08:47:17.073225
2018-07-24T14:07:56
2018-07-24T14:24:50
59,588,339
2
1
Artistic-2.0
2018-06-24T16:59:44
2016-05-24T16:06:17
Python
UTF-8
Python
false
false
4,310
py
import datetime, json, os, random, shutil, sys, tempfile, unittest, zipfile from unittest.mock import patch from pyfakefs.fake_filesystem_unittest import TestCase from arthash.journals import keeper, organization from arthash.util import hasher # TODO: I'm disabling this test because it really only tests # the most b...
[ "tom@swirly.com" ]
tom@swirly.com
8d75649c23883d73101fb513de73c707150077c3
ce196aba0adde47ea2767eae1d7983a1ef548bb8
/Leg_102手舞足不蹈.py
3faf9fd6df3bed1e64479965756f94af4c16b2b6
[]
no_license
xiang-daode/Python3_codes
5d2639ffd5d65065b98d029e79b8f3608a37cf0b
06c64f85ce2c299aef7f9311e9473e0203a05b09
refs/heads/main
2023-08-30T14:59:55.123128
2021-11-03T05:12:24
2021-11-03T05:12:24
333,632,892
0
2
null
null
null
null
UTF-8
Python
false
false
956
py
# Write your code here :-) from turtle import * from math import * from time import * #============ def rot(x,y,a,b,L1,L2): pu();goto(x,y+100); pd(); lt(a);fd(L1);lt(b);fd(L2);lt(b*0.7);fd(L2/4);pu(); #============ def main(): for k in range(10): for g in range(-30,30,1): a=g;b=1.5*g ...
[ "noreply@github.com" ]
xiang-daode.noreply@github.com
036096fb4d71887e767eedfe7845b4e4f45ff8cb
57c37b797a36501d22e499d76f1e1adb99d9f087
/hrp/MultiAgentAssignment3-master/slam.py
b20120e8dd9c959a3c37ee586978498db2df9e54
[]
no_license
agneevguin/husqvarna_V0
375d51880ebf5dd99924400e7b528c370dfab105
b00f12ac1f05593def06ecee7b4069a0ce330b46
refs/heads/master
2021-04-15T03:56:27.446501
2016-06-02T21:54:56
2016-06-02T21:54:56
60,220,492
2
1
null
null
null
null
UTF-8
Python
false
false
25,502
py
#SLAM: Simultaneous Localization and Mapping #Builds 2-D, 3D maps #Algorithm: Graph SLAM # SLAM in a 2 dimensional # world. Please define a function, slam, which takes five # parameters as input and returns the vector mu. This vector # should have x, y coordinates interlaced, so for example, # if there were 2 poses ...
[ "agneev@kth.se" ]
agneev@kth.se
282729cc3d2bd08d97a5cf989ddb3de3ca1287c4
73346545e69194dc1cfd887314afe600076ff263
/polling_stations/apps/addressbase/migrations/0004_onsad_ctry_flag.py
83cfbf605be785239acb02402bf4599556ecd4fe
[]
permissive
chris48s/UK-Polling-Stations
c7a91f80c1ea423156ac75d88dfca31ca57473ff
4742b527dae94f0276d35c80460837be743b7d17
refs/heads/master
2021-08-27T18:26:07.155592
2017-11-29T15:57:23
2017-11-29T15:57:23
50,743,117
1
0
BSD-3-Clause
2017-11-29T16:03:45
2016-01-30T20:20:50
Python
UTF-8
Python
false
false
417
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('addressbase', '0003_auto_20170406_0954'), ] operations = [ migrations.AddField( model_name='onsad', ...
[ "chris.shaw480@gmail.com" ]
chris.shaw480@gmail.com
7229c4e10aaba2855bd989d9e61b8c8526911dee
a04aff1baf3dac3ad96fd78e90b0de357140db84
/scientific_expedition/yaml_more_tips.py
2e0b1f3dd0eb44ecee45739b74e097b9bd27ce38
[ "MIT" ]
permissive
NigrumAquila/py_checkio
f4f66fe8e87ba88d4e9258a55521902541ca33ba
df437c2c3ad325d84714665000e3299a70e91f32
refs/heads/master
2022-07-30T04:33:42.107806
2020-05-10T09:57:58
2020-05-10T09:57:58
262,756,706
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
import re def yaml(a): yaml_dict = {} for el in a.split('\n'): if el != '': key, value = el.split(':') value = value.lstrip(' ') if (value == '') or (value == None) or (value == 'null'): yaml_dict[key] = None elif (value.lower() in ['true'...
[ "kononenko-1999@bk.ru" ]
kononenko-1999@bk.ru
c774212f3b6e029c47eb1f0663b0ee7c4e45dbcd
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/96/usersdata/184/55977/submittedfiles/estatistica.py
36c2b98bc0c1c7e60882c5efda63b29526938142
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
715
py
# -*- coding: utf-8 -*- n=int(input('digite n:')) lista1=[] lista2=[] def media(lista): soma1=0 for i in range(0,len(lista),1): soma1=soma1+lista[i] resultado=soma1/len(lista) return (resultado) def desviopadrao(lista): soma2=0 for i in range(o,len(lista),1): soma2=soma2+(lista[i...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
378c64df5fde3bb6b7506292d59d95fb8a8be1f2
325fde42058b2b82f8a4020048ff910cfdf737d7
/src/kusto/azext_kusto/vendored_sdks/kusto/operations/__init__.py
5750cdc82c59179c4778eb4c699f175f4439341b
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
ebencarek/azure-cli-extensions
46b0d18fe536fe5884b00d7ffa30f54c7d6887d1
42491b284e38f8853712a5af01836f83b04a1aa8
refs/heads/master
2023-04-12T00:28:44.828652
2021-03-30T22:34:13
2021-03-30T22:34:13
261,621,934
2
5
MIT
2020-10-09T18:21:52
2020-05-06T01:25:58
Python
UTF-8
Python
false
false
1,235
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 may ...
[ "noreply@github.com" ]
ebencarek.noreply@github.com
1996a1e9a7e0d18dab21229e6a431be83d1a7acc
11852c0c085ad1f635f45aa085ece3987ae45620
/chejian/pspnet_train.py
0d5c14c97670c49a1cc4028912ff89aa9a13f7e1
[ "BSD-3-Clause" ]
permissive
heixialeeLeon/segment_piwise
3dc14be9605a652676a559ec7ab6764d23c67735
4eaeeb4aa36298c1140c9fb8a6adef7a3bcfb03f
refs/heads/master
2020-04-19T10:31:05.538819
2019-01-29T11:26:42
2019-01-29T11:26:42
168,142,650
0
0
null
null
null
null
UTF-8
Python
false
false
4,472
py
import numpy as np import torch from PIL import Image from argparse import ArgumentParser from torch.optim import SGD, Adam from torch.autograd import Variable from torch.utils.data import DataLoader from torchvision.transforms import Compose, CenterCrop, Normalize, Resize from torchvision.transforms import ToTensor,...
[ "lipeizhao@em-data.com.cn" ]
lipeizhao@em-data.com.cn
4f0245a842357c5dbe5e4147f485d8ff3038a40c
8f0b0ec0a0a2db00e2134b62a1515f0777d69060
/scripts/study_case/ID_5/matchzoo/datasets/snli/load_data.py
06b9ec8754f14f19267ed9c9ad25faa384f88c44
[ "Apache-2.0" ]
permissive
Liang813/GRIST
2add5b4620c3d4207e7661eba20a79cfcb0022b5
544e843c5430abdd58138cdf1c79dcf240168a5f
refs/heads/main
2023-06-09T19:07:03.995094
2021-06-30T05:12:19
2021-06-30T05:12:19
429,016,034
0
0
Apache-2.0
2021-11-17T11:19:48
2021-11-17T11:19:47
null
UTF-8
Python
false
false
3,224
py
"""SNLI data loader.""" import typing from pathlib import Path import pandas as pd import scripts.study_case.ID_5.matchzoo as matchzoo from scripts.study_case.ID_5.matchzoo.engine.base_task import BaseTask _url = "https://nlp.stanford.edu/projects/snli/snli_1.0.zip" def load_data( stage: str = 'train', ta...
[ "793679547@qq.com" ]
793679547@qq.com
04dcf815696115c267f19ffa51ed91d4902092d3
73143826c727eb012bff8c732ab5776c051f6c9b
/pytext/data/test/data_test.py
128b7b8b815f9a089da1385a6d747c501e7b84d2
[ "BSD-3-Clause" ]
permissive
wehaveone/pytext
f649fb81bb7bcf76c88ee81af5d204820011b1be
41c0f46abf81c2d84ee02f6e9b91438e18adf47f
refs/heads/master
2020-04-26T01:42:31.263801
2019-03-01T00:58:17
2019-03-01T01:03:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,965
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import unittest from pytext.common.constants import Stage from pytext.data import Batcher, Data, types from pytext.data.sources.data_source import SafeFileWrapper from pytext.data.sources.tsv import TSVDataSource from pytext...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
064a0cfb47a454704273151ede7b8f79f553776f
5e255ad1360c90478393744586663741a9569c21
/tests/api/test_send_template_message.py
a6ab7ab71a5dd9af0ba71c8be685f6d20647de7f
[ "Apache-2.0" ]
permissive
line/line-bot-sdk-python
d76268e8b542060d6eccbacc5dbfab16960ecc35
cffd35948238ae24982173e30b1ea1e595bbefd9
refs/heads/master
2023-08-31T22:12:31.698183
2023-08-28T01:10:09
2023-08-28T01:10:09
70,553,423
1,898
1,181
Apache-2.0
2023-09-11T05:14:07
2016-10-11T03:42:26
Python
UTF-8
Python
false
false
22,270
py
# -*- coding: utf-8 -*- # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "noreply@github.com" ]
line.noreply@github.com
5b55aa18843a13f929ea64298da6d27f6b4788f6
b3ee8b9ded107f3ed3382ecdbfd517b9010250fc
/1.Data-exploration/Consensus/L1000/scripts/nbconverted/1.L1000_moa_median_scores_calculation.py
f90b63b58a4f564ec0d06c6c7248fcf5c4edaebe
[ "BSD-3-Clause" ]
permissive
michaelbornholdt/lincs-profiling-comparison
ce027656c3a3e4531bc93fb2e90775ee32d90224
1d188ecbf38923a45d1c64f8cecb01ab04566491
refs/heads/master
2023-05-31T07:16:40.106422
2021-06-23T18:38:15
2021-06-23T18:38:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,005
py
#!/usr/bin/env python # coding: utf-8 # # Consensus Signatures # # A consensus signature can be defined as a perturbation-specific summary profile acquired by aggregating replicate level information. # # # #### Level 5 - Replicate-consensus signatures (MODZ) # L1000 experiments are typically done in 3 or more biol...
[ "gregory.way@gmail.com" ]
gregory.way@gmail.com
93cbfd8b5d21f024f94a6b562b1a0ab37267c396
e9c9e38ed91969df78bbd7f9ca2a0fdb264d8ddb
/lib/python3.8/site-packages/ansible_collections/fortinet/fortios/plugins/modules/fortios_switch_controller_traffic_sniffer.py
97456d9b48f799f16f0a26e37a3af27c5845913d
[]
no_license
Arceusir/PRELIM_SKILLS_EXAM
882fcf2868926f0bbfe1fb18d50e5fe165936c02
b685c5b28d058f59de2875c7579739c545df2e0c
refs/heads/master
2023-08-15T07:30:42.303283
2021-10-09T01:27:19
2021-10-09T01:27:19
415,167,192
0
0
null
null
null
null
UTF-8
Python
false
false
23,868
py
#!/usr/bin/python from __future__ import (absolute_import, division, print_function) # Copyright 2019-2020 Fortinet, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of th...
[ "aaronchristopher.dalmacio@gmail.com" ]
aaronchristopher.dalmacio@gmail.com
ad22536d51ac320742b2792288061eebc2f26c36
8f8498bb6f56b19d45a1989c8113a077348c0a02
/SWEA/Level 4/장훈이의 높은 선반.py
73f3564f795b4cc2858a65eb719e2a3098834f2d
[]
no_license
gjtjdtn201/practice
a09b437c892b0b601e156c09cb1f053b52fab11b
ea45582b2773616b2b8f350b927559210009d89f
refs/heads/master
2021-01-01T13:29:46.640740
2020-11-28T00:55:37
2020-11-28T00:55:37
239,299,485
0
1
null
null
null
null
UTF-8
Python
false
false
574
py
import sys sys.stdin = open('장훈이의 높은 선반.txt', 'r') def powerset(n, k, sum): global ans if sum >= B: if ans > (sum - B): ans = sum - B return if n == k: return else: A[k] = 1 powerset(n, k + 1, sum + worker[k]) A[k] = 0 powerset(n, k + ...
[ "gjtjdtn201@naver.com" ]
gjtjdtn201@naver.com
bc0154117e425f2eff6180f89c24e8c93d1337ab
7e32484521b7a21d8bc28a1888e0a5fe766a9f5b
/mysql-connector-example.py
bf4de0a3aaaf1fc4cf6ea86745b830ecefde09e0
[]
no_license
MerajBighamain/python_projects-1
583dc5e5c0719f14cc0ff9074cb7cd8aec210794
63507d916ddb5ba58616f16354a8b686ab4c6d42
refs/heads/master
2022-11-10T19:22:03.590818
2020-06-23T14:25:18
2020-06-23T14:25:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
import mysql.connector connection = mysql.connector.connect(user="root")
[ "=" ]
=
5f328e97b8f8944298c7d0b8632c3ab21f78ba18
6df40bb87570388ceb25ab8eabc700bd5cb86f85
/F_Function/manage.py
9e421b18de32c68db74b7d61bbbe63dbe64ee560
[ "MIT" ]
permissive
yeboahd24/AdvancedDjango
15dccf5e0f3454bc14810a69c7badf71f088e1ea
52715ffea132e591f98f94b781960fc12a8613e4
refs/heads/main
2023-04-06T15:38:47.095455
2021-04-22T02:14:05
2021-04-22T02:14:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
666
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'F_Function.settings') try: from django.core.management import execute_from_command_line except I...
[ "u.garg.10@gmail.com" ]
u.garg.10@gmail.com
9fd4f0ca59f4e0e97cf89be5690b1697e00b2d62
f44e571fdac5e927235b434151dcc03f597a5e3d
/pyq/25_container/fast_data_set/py1.py
0947f61fe0395ea1c028583f9d48c2eda7c11926
[]
no_license
uni51/python_tutorial
72f74e319cf4bc2662117ec0ad7b58e8a7d0e84b
0a78111e3760ff4ff9957d67ced3bb0a83baaf9f
refs/heads/master
2020-04-20T11:10:39.417725
2019-03-04T00:35:14
2019-03-04T00:35:14
168,808,811
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
# 集合のメソッド(追加等) items = {'art'} print("items:", items) # items: {'art'} # 1要素を削除 result = items.pop() # popでは、位置を指定して削除ができません print("items.pop():", result) # items.pop(): art print("items:", items) # items: set() # リストを追加 複数の要素の追加は、extendではなくupdateです。 items.update(['egg', 'fog']) print("items.update(['egg', 'fog'])"...
[ "uni51@users.noreply.github.com" ]
uni51@users.noreply.github.com
559ebd08ef157a69a6fc774088be4501fea9ab47
b604219d67f011d44fdf79d0c88d546b3a8bd250
/알고리즘/기타/진수계산.py
64f802bbcddfdfcd010017dcfa2dd64407a49694
[]
no_license
HwangToeMat/Algorithm
197648d35e46ea1230291901de1caf2afc720f64
ee2bb829cb71499c39f68d7691a1e84899135da5
refs/heads/master
2023-01-19T08:24:07.155305
2020-11-20T16:15:11
2020-11-20T16:15:11
296,235,075
3
0
null
null
null
null
UTF-8
Python
false
false
301
py
""" def convert(n, base): T = "0123456789ABCDEF" q, r = divmod(n, base) if q == 0: return T[r] else: return convert(q, base) + T[r] """ def convert(n, base): q, r = divmod(n, base) if q == 0: return [r] else: return convert(q, base) + [r]
[ "46777602+HwangToeMat@users.noreply.github.com" ]
46777602+HwangToeMat@users.noreply.github.com
c1a6980787fb3929b0979d41514f2c9fce2e6a15
687928e5bc8d5cf68d543005bb24c862460edcfc
/nssrc/com/citrix/netscaler/nitro/resource/config/vpn/vpnglobal_vpnurl_binding.py
e30bcf60328d3b370cfee3e566097acf59f29ff5
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "Python-2.0" ]
permissive
mbs91/nitro
c6c81665d6abd04de8b9f09554e5e8e541f4a2b8
be74e1e177f5c205c16126bc9b023f2348788409
refs/heads/master
2021-05-29T19:24:04.520762
2015-06-26T02:03:09
2015-06-26T02:03:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,346
py
# # Copyright (c) 2008-2015 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...
[ "bensassimaha@gmail.com" ]
bensassimaha@gmail.com
338c0a147112cb40b6d8cbf00925df5f9410bf9a
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/187/usersdata/354/65060/submittedfiles/al1.py
e2dd22058cfdabcf534c9ab2decc4d0b9297c6ca
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
# -*- coding: utf-8 -*- #ENTRADA c=float(input('Digite a temperatura em Celcius: ')) #PROCESSAMENTO F= (9c + 160)/5 #SAIDA print(F)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
25a145b4c8108a145d6d3399933dc550426d704e
a16feb303b7599afac19a89945fc2a9603ae2477
/Simple_Python/standard/json/json_6.py
bd3667c3dd21fc36b25d45aa5824ede395a4ce01
[]
no_license
yafeile/Simple_Study
d75874745ce388b3d0f9acfa9ebc5606a5745d78
c3c554f14b378b487c632e11f22e5e3118be940c
refs/heads/master
2021-01-10T22:08:34.636123
2015-06-10T11:58:59
2015-06-10T11:58:59
24,746,770
0
2
null
null
null
null
UTF-8
Python
false
false
297
py
#! /usr/bin/env/python # -*- coding:utf-8 -*- import json data = [{'a':'张三','b':(2,4),'c':3.0,('d',):'D tuple'}] print 'First attempt' try: print json.dumps(data) except (TypeError,ValueError), err: print 'ERROR:',err print print 'Second attempt' print json.dumps(data,skipkeys=True)
[ "zhuzhulang@126.com" ]
zhuzhulang@126.com
0420a32c8996933f205e14b10edd3b1d1bd32a45
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03377/s943143838.py
2f2c22f802580216fca88c887e3ac3ed8a52ae9f
[]
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
92
py
A,B,X=map(int,input().split()) if (A<=X)and(X<=A+B): print("YES") else: print("NO")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ca9ba61eb5cd74330a7ec90e9ff0add6ab1f6e29
913fb9ec1e709a5140676ba7b2371b1976afca72
/alignSeqs/test.countContigEnd.py
32ef21f447d6d5f9be0711c83cc931b70af24a2d
[]
no_license
cgreer/ResearchScripts
171cfe9555ea06fdeb91084c12d07d1b45a2335c
1107803bb1459d6b6e1dfb1a89679d2b6fd49062
refs/heads/master
2016-09-05T10:43:19.090247
2012-04-12T21:38:11
2012-04-12T21:38:11
1,673,080
0
3
null
null
null
null
UTF-8
Python
false
false
1,747
py
import bioLibCG import matplotlib.pyplot as plt def countEnd(fN): count3 = {'A': [], 'T': [], 'G': [], 'C': []} count5 = {'A': [], 'T': [], 'G': [], 'C': []} countT = {'A': [], 'T': [], 'G': [], 'C': []} f = open(fN, 'r') for line in f: ls = line.strip(...
[ "chrisgreer88@gmail.com" ]
chrisgreer88@gmail.com
50736ba59f9669e816e9c0bd9a64716c3f93b03b
79a484e91a8df432a0ded93806a1e8237df7c253
/umibukela/migrations/0032_auto_20180511_1315.py
0a99479bc8955d38f0508147fb04a451e1f73f09
[ "MIT" ]
permissive
OpenUpSA/umibukela
7ba14397ad543154d3a32ebfd84e89aa07f7011e
34c1a29a429b88c2f574e9120cfe93ba524633da
refs/heads/master
2023-07-26T19:45:12.531887
2023-07-10T15:53:07
2023-07-10T15:53:07
47,106,932
0
0
MIT
2023-02-02T01:36:59
2015-11-30T09:03:27
Python
UTF-8
Python
false
false
1,702
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models from umibukela.models import SurveyType def poster_template(survey_type): template = 'print-materials/posters/' if 'paypoint' in survey_type.name.lower(): template += 'paypoint_poster.html' e...
[ "jbothma@gmail.com" ]
jbothma@gmail.com
a308a1c8547c55fc2212b03afdbcc101c0af9b33
87220ff6f99aef088d121f3f9d81e36a35b7d112
/pulp_rpm/src/pulp_rpm/extension/admin/structure.py
80052e7a4898d821d8533eeab15b871d57ad54cb
[]
no_license
ehelms/pulp_rpm
2905294287899c591e82b12fe3a71d7b98adf1c3
cd9c9ae1a625072df82c054f3f198728b8770a7a
refs/heads/master
2021-01-18T11:49:14.196118
2012-11-12T21:16:18
2012-11-12T21:16:18
6,671,376
0
0
null
null
null
null
UTF-8
Python
false
false
5,930
py
# Copyright (c) 2012 Red Hat, Inc. # # This software is licensed to you under the GNU General Public # License as published by the Free Software Foundation; either version # 2 of the License (GPLv2) or (at your option) any later version. # There is NO WARRANTY for this software, express or implied, # including the impl...
[ "mhrivnak@redhat.com" ]
mhrivnak@redhat.com
6ded8a1c64af93c3e14df5f2f04e0f4cce78f83b
3b4c2fa85a358648614c60d295cc9d77eb7e4c81
/Chapter 6.py/pr no 1.py
67d746383c61994e02b3ea7fb1e4dd0ed770ba7d
[]
no_license
abbhowmik/PYTHON-Course
465e2e6c42b41f6dd731562c57d5c53c6ca2e711
223071569ce9b98d6725e2a33fb271ac0add6f49
refs/heads/main
2023-06-05T11:28:36.632080
2021-06-29T18:14:47
2021-06-29T18:14:47
381,456,413
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
num1 = int(input('Enter number 1: ')) num2 = int(input('Enter number 2: ')) num3 = int(input('Enter number 3: ')) num4 = int(input('Enter number 4: ')) if num1>num4: f1 = num1 else: f1 = num4 if num2>num3: f2 = num2 else: f2 = num3 if f1>f2: print(f'The greatest number is {f1}') else: ...
[ "ashisbhowmikisp@gmail.com" ]
ashisbhowmikisp@gmail.com
9fad1b4a730f3b06087dfddb4f8961f2ce8a302c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04029/s543214320.py
9f67a34087f19acbf01862689423ec3c7abeb734
[]
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
683
py
from statistics import median #import collections #aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0] from fractions import gcd from itertools import combinations # (string,3) 3回 from collections import deque from collections import defaultdict import bisect # # d = m - k[i] - k[j] # ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3991f67831bc1074ca35abcaf224771ba4a4e056
fa79a9b5eaa8b7b3cef1941ad3700106c00e57b6
/function/update/update_novel-info.py
18e9956da3f52ac2b860e6fa0124e83592367a15
[ "MIT" ]
permissive
txu2k8/novel-web-server
2e3899cb77ca6ba5d4d4d65f767c4e0a6aa0df1a
1b77d637a6229d916b724ca2735afc00c6175368
refs/heads/main
2023-01-13T13:30:36.249802
2020-11-26T08:35:41
2020-11-26T08:35:41
316,153,766
0
0
null
null
null
null
UTF-8
Python
false
false
4,681
py
''' 更新小说天涯网的所有小说基本信息,书名,类型,阅读数,作者等 ''' from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.keys import Keys import datetime import time import p...
[ "tao.xu2008@outlook.com" ]
tao.xu2008@outlook.com
0fb6a382cc75c4ec7b64a0082fa4369bdb3697f2
a8769709aeb7299fa3757f0e7bba5c617eb8cfe3
/lesson-3/k8s/lib/python2.7/site-packages/kubernetes/client/models/v1beta1_http_ingress_rule_value.py
50ef1b8838ade46c5a7092ec4b5f4fd5d04b3e71
[ "Apache-2.0" ]
permissive
simox-83/workshop-k8s
2ac5e8b282bb7c3337acc726a7d972717bf649cc
04cb18e8b5925a3cfd84ca316952a6cb64960b31
refs/heads/master
2020-03-31T20:52:21.421995
2018-10-11T14:43:08
2018-10-11T14:43:08
152,558,678
0
0
Apache-2.0
2018-10-11T08:37:20
2018-10-11T08:37:20
null
UTF-8
Python
false
false
3,338
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.11.3 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re...
[ "simone.dandreta@concur.com" ]
simone.dandreta@concur.com
d29e7055408af7ae7da5c6ab906e176235637629
67fbacb9af9185d2c32968f51ab642d8cc87a505
/backend/venv/bin/pip
412bd607e118b840a47da2dcb55830ebdc70dda7
[]
no_license
HoldenGs/tutorial-repo
1013d4f237a328b6480d7fcf286e09a4b2f49475
4735f6327a706ad1fa5648ee36873a1846b2f339
refs/heads/main
2023-03-23T06:18:42.027761
2021-03-11T23:34:47
2021-03-11T23:34:47
344,987,785
0
0
null
null
null
null
UTF-8
Python
false
false
257
#!/Users/holden/tutorial-repo/backend/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "holdeng96@gmail.com" ]
holdeng96@gmail.com
5c07099b4dfaf777ccdfddb969e1d0d9ca5712b6
bff3053fcc40995bbd8c8bf251042ada99d15427
/Logging Advanced - Loggers, Handlers, and Formatters.py
ee7c509f9e76af6a1653d9d0ff50104949bceaab
[]
no_license
iampaavan/Pure_Python
e67213eb42229614517c249b4f5b0a01c71c8ce9
e488b05ea526ab104ebc76a8e5e621301bed8827
refs/heads/master
2020-04-27T23:10:48.482213
2019-06-30T19:32:08
2019-06-30T19:32:08
174,765,589
1
0
null
2019-04-21T01:39:53
2019-03-10T01:39:13
Python
UTF-8
Python
false
false
2,891
py
import logging import employeelogs # DEBUG: Detailed information, typically of interest only when diagnosing problems. # INFO: Confirmation that things are working as expected. # WARNING: An indication that something unexpected happened, or indicative of some problem in the near future (e.g. ‘disk space low’)...
[ "noreply@github.com" ]
iampaavan.noreply@github.com
43a68df31cc43515a301af182ef1a918be3f2f14
fe91e76bfd936cb7062fed96897933f4ed2c7fc2
/py/api.py
3f7e593a66546ef48c0b59585fef00203723ee12
[]
no_license
shixing/CDS
9ed64940787afe11e8521ec7ea17676f77651bd4
a4d4c013a3189e9c092d2c3dff9e81c9219cefa8
refs/heads/master
2016-09-06T16:45:18.442503
2015-08-15T14:54:53
2015-08-15T14:54:53
21,624,047
1
0
null
null
null
null
UTF-8
Python
false
false
1,828
py
from flask import Flask from flask.ext.restful import reqparse, abort, Api, Resource from flask import request,make_response import sys import configparser import urllib import json import hashlib import time from utils.config import get_config import numpy as np from vector.bruteForce import BruteForceSearch from ut...
[ "shixing19910105@gmail.com" ]
shixing19910105@gmail.com
5b7761b8cced9a76746413cdbbdc596b9522710b
dd6c21308e1cba24658c8ca7a49e2499cd167da6
/venv/Lib/site-packages/openpyxl/descriptors/nested.py
490f672e9c9242caa052d95f2a59ffaa5c90ad3a
[ "MIT" ]
permissive
ansonsry/Freshshop
3a53db4d6d0bf1d6705498869a13a3aa7db6ab8c
79ab8beb1aa993f6365182c8d3bb478ee4e028f8
refs/heads/master
2021-06-20T18:54:08.009409
2019-07-26T02:56:55
2019-07-26T03:02:27
198,931,513
0
0
MIT
2021-03-19T22:33:14
2019-07-26T02:23:49
Python
UTF-8
Python
false
false
2,656
py
from __future__ import absolute_import # Copyright (c) 2010-2019 openpyxl """ Generic serialisable classes """ from .base import ( Convertible, Bool, Descriptor, NoneSet, MinMax, Set, Float, Integer, String, Text, ) from .sequence import Sequence from openpyxl.compat import ...
[ "ansonsry@sina.com" ]
ansonsry@sina.com
ebbddea20b6e452b551538b9bb64078fb607829f
13ef33cb9067419fae743be1edb46471374c3a64
/hrm/cron_job.py
5ce271862e4a2b39de34798546facb57e0d9b768
[]
no_license
andrewidya/littleerp
8c33ad0ee4dac2a85bea4e540b748a47d61f3886
0cf8fb1be8ac3c27304807ed7aac7eb0032c2cb6
refs/heads/master
2021-01-24T00:42:26.962248
2019-07-22T01:53:58
2019-07-22T01:53:58
68,295,804
1
1
null
null
null
null
UTF-8
Python
false
false
1,054
py
from django_cron import CronJobBase, Schedule from django.utils import timezone from django.conf import settings import datetime from hrm.models import EmployeeContract class EmployeeContractCronJob(CronJobBase): RUN_EVERY_MINS = 1 schedule = Schedule(run_every_mins=RUN_EVERY_MINS) code = 'hrm.employee_c...
[ "andrywidyaputra@gmail.com" ]
andrywidyaputra@gmail.com
32638c42c6165833ce4f701f734dedd12a335cf7
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/28aPKtEcWJPMwb9mm_4.py
a6c9ac7ad1ca5e7b223c9eb9f8311b6376d58e43
[]
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,058
py
""" **Mubashir** needs your help to learn Python Programming. Help him by modifying a given string `txt` as follows: * Reverse the string given. * Replace each letter to its position in the alphabet for example (a = 1, b = 2, c = 3, ...). * Join the array and convert it to a number. * Convert the number to...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
5a6e8cc5612def0640aceaad72b3d46b018163fc
197ccfb1b9a2713155efd2b994dc4fda8d38751f
/src/contracts/Test.py
e4c0fd86f4b6631be0f91b05e0a34b8fa06d0a7e
[ "MIT" ]
permissive
stonecoldpat/sprites-python
39bf8d436e625eabf4511f6e2d7528dc01d4e0e7
398abb86f27dcbd5a91b6aad648a06529c029d26
refs/heads/master
2020-03-20T09:40:27.468535
2018-06-14T10:44:34
2018-06-14T10:44:34
137,344,692
0
1
null
2018-06-14T10:42:30
2018-06-14T10:42:29
null
UTF-8
Python
false
false
371
py
class Test: def __init__(self, contract): self._contract = contract def get(self): return self._contract.functions.get() def getArrays(self): return self._contract.functions.getArrays() def getStruct(self): return self._contract.functions.getStruct() def incr(sel...
[ "sveitser@gmail.com" ]
sveitser@gmail.com
9f0fd0bb22ffa5ad4f70cdc78e5c4a4fede87dfd
ce6fc44470dcb5fca78cdd3349a7be70d75f2e3a
/AtCoder/Beginner 146/F.py
97ed9139e54db4abaa0a8e3ada55a064fb3ad8c3
[]
no_license
cormackikkert/competitive-programming
f3fa287fcb74248ba218ecd763f8f6df31d57424
3a1200b8ff9b6941c422371961a127d7be8f2e00
refs/heads/master
2022-12-17T02:02:40.892608
2020-09-20T11:47:15
2020-09-20T11:47:15
266,775,265
0
0
null
null
null
null
UTF-8
Python
false
false
1,838
py
N, M = map(int, input().split()) s = input() N += 1 # Max size of tree tree = [0] * (2 * N); n = N # function to build the tree def build() : # insert leaf nodes in tree for i in range(N) : tree[n + i] = (float('inf'), float('inf')); # build the tree by calculating parents ...
[ "u6427001@anu.edu.au" ]
u6427001@anu.edu.au
aeeae4d63fce0632d0226ebc30ce1218b88f42cd
9769c74a7e69a134657ef73dbe3c251bf171b33c
/CoreBuild/ServiceItems/ComCommand/ComCommandItem.py
bbdbca8ae13f37e0e995ff531291766ee8fa4f63
[]
no_license
caojiaju-2017/SimpleCode
4bdf506837ebdee905373b87198853a84afebc45
9f2aa7fea296d0acaf91b75e03bdaa185d93fe89
refs/heads/master
2020-03-19T05:06:50.028584
2018-06-25T13:05:22
2018-06-25T13:05:22
135,901,570
0
0
null
null
null
null
UTF-8
Python
false
false
1,011
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from Platform.ItemBase import * import json class ComCommandItem(ItemBase): def __init__(self): super(ComCommandItem, self).__init__() self.itemtype = ItemType.Module self.shapetype = ImageShape.Image100002 self.itemname = "串口操作" ...
[ "jiaju_cao@hotmail.com" ]
jiaju_cao@hotmail.com
45c5e3cd5bc85b023d0ec30c5297be2edce48931
0fac73e70eeb8e3b8635de8a4eaba1197cd42641
/shop/migrations/0013_auto_20161218_1533.py
696a3cbe43f4ecd4a798b9baa098e4109d16141b
[]
no_license
gauraviit1/myshop_aws
0e6c9d822cbbc6505eb7c7a71654d34591e7b168
261b296d79cfdf8fa4cb9105b4e2fe70e864f6a6
refs/heads/master
2021-01-19T13:44:12.977253
2017-03-03T07:52:58
2017-03-03T07:52:58
82,444,113
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-12-18 10:03 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('shop', '0012_auto_20161218_1516'), ] operations = [ migrations.AlterModelOptions( ...
[ "mcjail.shi.hp@gmail.com" ]
mcjail.shi.hp@gmail.com
f0632da5f1733d878b113b1a94d7c12fad6b81a5
149e9e52304a970ffb256f290fce5f614c9e20c4
/Python Programming language/DataCampPractice/Personal_programs/MyProjects/Projects1_mean_median_std_correlation.py
6f838cdb179693d4985c0ae00a5f4d1b9b360ade
[]
no_license
Pasquale-Silv/Improving_Python
7451e0c423d73a91fa572d44d3e4133b0b4f5c98
96b605879810a9ab6c6459913bd366b936e603e4
refs/heads/master
2023-06-03T15:00:21.554783
2021-06-22T15:26:28
2021-06-22T15:26:28
351,806,902
0
0
null
null
null
null
UTF-8
Python
false
false
1,555
py
import numpy as np list1 = [3, 6, 9, 15] list2 = [5, 9, 8, 22] np_list1 = np.array(list1) np_list2 = np.array(list2) np_mean_list1 = np.mean(np_list1) np_mean_list2 = np.mean(np_list2) print(np_mean_list1) print("Prova media lista 1: " + str((3+6+9+15) / 4)) print(np_mean_list2) print("Calcolo mediane:") np_m...
[ "55320885+Pasquale-Silv@users.noreply.github.com" ]
55320885+Pasquale-Silv@users.noreply.github.com
f62acd7a45e7ecf496fbb62daaa716ffc27b8aca
4faff6397853f22de36931291765824b0232fc86
/managers.py
f1af895b387c2b21516202650d63a81b68293cbe
[]
no_license
rcrowther/need
fd331b2202f99e312ce97e16046d387dc253a8c9
e5a0bc3ac3fa4440de04bce3f603dbf81a1a6225
refs/heads/master
2021-09-04T12:45:28.817299
2018-01-18T21:08:09
2018-01-18T21:08:09
107,792,177
0
0
null
null
null
null
UTF-8
Python
false
false
11,093
py
import sys #from whoosh import fields, index from whoosh.index import open_dir from whoosh.qparser import QueryParser, SimpleParser from datetime import datetime, timedelta import time from django.db import models from django.forms.models import model_to_dict #! auto-init with this data class BaseManager: de...
[ "rw.crowther@gmail.com" ]
rw.crowther@gmail.com
edf3569da3983da953bb7449f015668772156b34
a2f6e449e6ec6bf54dda5e4bef82ba75e7af262c
/venv/Lib/site-packages/nltk/lm/__init__.py
5911f5b8057f85608708dfbffc1ab6ca16d731ee
[]
no_license
mylonabusiness28/Final-Year-Project-
e4b79ccce6c19a371cac63c7a4ff431d6e26e38f
68455795be7902b4032ee1f145258232212cc639
refs/heads/main
2023-07-08T21:43:49.300370
2021-06-05T12:34:16
2021-06-05T12:34:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:9d7a198b8f9b3a257beb02a331dbe48e28ed7deef6b7c199766958dba6bf362f size 7695
[ "chuksajeh1@gmail.com" ]
chuksajeh1@gmail.com
d46665a79cfdfa452ad3b320f43b4685085f7948
226c99d29ac089f9a9581983dd6020a267599221
/chap07/beatiful_soup_weather.py
d1e53dafc5f28d6d51930fd50b51ea2ce1ac1111
[]
no_license
azegun/python_study
c1b265abb41172609d144d4ba331c920ac8b9312
520f1f7bc83771f74f59304c66223f2c06fcf285
refs/heads/master
2023-05-11T16:32:23.740742
2021-06-10T01:03:33
2021-06-10T01:03:33
368,451,889
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
# 모듈을 읽어 들입니다. from urllib import request from bs4 import BeautifulSoup #urlopen() 함수로 기상청의 전국 날씨를 읽습니다. target = request.urlopen("http://www.kma.go.kr/weather/forecast/mid-term-rss3.jsp?stnId=108") # BeatifulSoup을 사용해 웹 페이지를 분석합니다. soup = BeautifulSoup(target, "html.parser") for location in soup.select("location")...
[ "tkdrjs7@naver.com" ]
tkdrjs7@naver.com
f80a86d96df3a46c6e0b5d45fb32532e8de1387f
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/1/b3o.py
7edea5f63eb53f547a2daf44b9caeb9348b4927e
[]
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
05a724d4fdcff756091a51829c32237081499db4
23c4f6d8a2a6b97077628c2a012b2b402c816d91
/LeetCode算法题/LCP_01_猜数字/猜数字.py
80a344b4bcf26b2aeff3e905478392845ce83c5b
[]
no_license
exueyuanAlgorithm/AlgorithmDemo
7ef6ff8104e8da5a81037795184115fb0ac8ca9a
d34d4b592d05e9e0e724d8834eaf9587a64c5034
refs/heads/master
2023-07-16T19:00:05.664780
2021-09-04T11:31:07
2021-09-04T11:31:07
277,327,574
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
class Solution(object): def game(self, guess, answer): """ :type guess: List[int] :type answer: List[int] :rtype: int """ dui = 0 for i,b in enumerate(guess): a = answer[i] if a == b: dui += 1 return dui
[ "1079240024@qq.com" ]
1079240024@qq.com
4b0d5eaa29a140e894f7a108449e8a07a3724c43
9715663a819daf3d3f05159c97a87165853d7661
/backend/manage.py
a9df4e5da8aa1b462f5cdcb4cca8a99b6ad561a0
[]
no_license
crowdbotics-apps/personal-app-templa-17949
728e039dcde1c19885637f2a3b044f8172a43867
5b480747cd36402e513e29657736f26a2970d87c
refs/heads/master
2022-09-30T14:21:02.569047
2020-06-08T21:27:34
2020-06-08T21:27:34
270,827,154
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault( "DJANGO_SETTINGS_MODULE", "personal_app_templa_17949.settings" ) try: from django.core.management import execute_from_command_line except ImportEr...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
c98de0cf945e97e117c47bac2d33c22d71a8e9ff
0e1813197ae5e4d9ca0709089002a48249c2cc1f
/UnitTest/test_phonebook.py
4b368e4de6f6c6566c8635f9225740f98bf4d31a
[]
no_license
sockduct/general
55c1ac766d61b66463ae89c7f6fd0a748fdd79ad
f885352dc5b402cbc2488e66d37b421d5a4f82f0
refs/heads/master
2021-01-17T16:45:06.968332
2017-06-26T14:52:11
2017-06-26T14:52:11
95,455,423
0
0
null
null
null
null
UTF-8
Python
false
false
2,845
py
#################################################################################################### # Unit Testing with Python - Module 1 #################################################################################################### from phonebook import Phonebook import unittest class PhonebookTest(unittest....
[ "james.r.small@outlook.com" ]
james.r.small@outlook.com
6fc62e33dedb16842586b86715afb347e7ce39aa
9ba2b89dbdeefa54c6b6935d772ce36be7b05292
/devilry/devilry_gradingsystem/tests/views/test_download_feedbackdraftfile.py
c840023a5866328f619fed3370b7ae85504fe7d5
[]
no_license
kristtuv/devilry-django
0ffcd9d2005cad5e51f6377484a83d778d65050f
dd2a4e5a887b28268f3a45cc3b25a40c0e313fd3
refs/heads/master
2020-04-27T06:02:45.518765
2019-02-15T13:28:20
2019-02-15T13:28:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,700
py
import unittest from django.core.files.base import ContentFile from django.core.urlresolvers import reverse from django.test import TestCase from django.utils.http import urlencode from devilry.project.develop.testhelpers.corebuilder import AssignmentGroupBuilder from devilry.project.develop.testhelpers.corebuilder im...
[ "post@espenak.net" ]
post@espenak.net
9b759138288b7fa6e8de1955f6a5c7a82ff1f46b
19fae3f001961b87f6d12f8a2a9c6be8fec9138e
/pyspeckit/mpfit/__init__.py
0dbe0dc30f8eb42e426964ef26c4f60e47299463
[ "MIT" ]
permissive
myrithub/pyspeckit
22070974f86fbb78fdffb5cb21e219678c5346fb
4617d77ac24fb33738422aa36a72cb00857e0dbd
refs/heads/master
2020-05-29T14:10:36.204422
2015-09-08T18:04:54
2015-09-08T18:04:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
39
py
from mpfit import mpfit,mpfitException
[ "keflavich@gmail.com" ]
keflavich@gmail.com
be425247d07ffc9e54eca102ea842a6821ec10c2
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_15127.py
a18f7ed45ea3963fbc59cfa5e45f73f16be14d69
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,847
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
f160a2a7c5cef3e792945a605faf4f8c5bb13c06
ce3964c7195de67e07818b08a43286f7ec9fec3e
/calculate_tetragonal_from_rs.py
6cd6a88ad6a1d08ee5476959f8675ef36a8160ad
[]
no_license
zhuligs/physics
82b601c856f12817c0cfedb17394b7b6ce6b843c
7cbac1be7904612fd65b66b34edef453aac77973
refs/heads/master
2021-05-28T07:39:19.822692
2013-06-05T04:53:08
2013-06-05T04:53:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
#!/usr/bin/env python # backlib.py import math def main(): # constants a0 = 5.291772108E-09 # Bohr radius in cm pi = math.pi # inputs Rs = input('For what value of Rs would you like the box? ') N = input('How many particles are there in your box? ') ratio = input('What is the c/a ratio? ...
[ "boates@gmail.com" ]
boates@gmail.com
2e7796b0f384d360c9aa18cc0cfdb8abd7d1932b
9eae66764d420fa4872baf5a10a5c66cc7fca580
/contenidos/semana-09/EjemplosClase/main_3.py
fbcc6a865bd35e2e2c35fa636a297972b496d9a3
[]
no_license
isidonoso/Prueba
f89ad14d5ffb61f0df6d53fdccddf2395e49ab19
29a4ef531d69ed79f56cc5fa1879375b743972a8
refs/heads/master
2022-12-26T07:03:57.881036
2020-10-02T01:11:29
2020-10-02T01:11:29
291,497,329
0
0
null
null
null
null
UTF-8
Python
false
false
1,363
py
import sys from PyQt5.QtWidgets import (QApplication, QWidget, QLabel, QGridLayout, QPushButton, QVBoxLayout) class Ventana(QWidget): def __init__(self): super().__init__() self.etiqueta1 = QLabel('Texto a modificar', self) self.grilla = QGridLayout() valores = ['0', '1'] ...
[ "you@example.com" ]
you@example.com
2b83c2886cd1db915273df2a5786015b27537710
22d84f804271a629a395cec785b7eb4b47f72f36
/examples/statistics/ANOVA_rutherford_2.py
5d75201ea451cc523a716af8176b98a77449362d
[]
no_license
imclab/Eelbrain
bb787294218a2ba00f90f447af0e629abadeac88
e52eb3a5bd8bf8fc9aece2fb4413e0286e080c46
refs/heads/master
2021-01-21T23:34:15.673295
2014-05-02T19:17:04
2014-05-02T19:17:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,028
py
# Rutherford (2001) Examples, cross-checked results: # # factorial anova # #Independent Measures (p. 53): ## SS df MS F p ##_____________________________________________________________ ##A 432.0000 1 432.0000 47.7474*** .0000 ##B 672.0...
[ "christianmbrodbeck@gmail.com" ]
christianmbrodbeck@gmail.com
67e71bb59332794c1489ec2409abb7ee23400fb6
faecebfb2aba45bc3dbb85d55f491365ff578344
/game/ui_enemy_health_bar.py
4e22450855f2381304d2be227478cdec3dfe8a97
[]
no_license
MyreMylar/vania
c4658d16ae394cf8adecebd16470e82e773f98da
e813587db4d3a83e60188903238d8f0a3f124012
refs/heads/master
2020-08-11T01:29:48.462223
2019-10-11T15:05:38
2019-10-11T15:05:38
214,462,694
0
0
null
null
null
null
UTF-8
Python
false
false
2,559
py
import pygame class UIEnemyHealthBar(pygame.sprite.Sprite): """ A UI that will display the enemy's health capacity and their current health. """ def __init__(self, enemy, *groups): super().__init__(*groups) self.enemy = enemy self.position = enemy.screen_position[:] sel...
[ "dan@myrespace.com" ]
dan@myrespace.com
de26a67822e84a5591ccfa7820b8be8780320d27
277d4ee56616bb5930c57a57c68a202bf5085501
/stubs/thinc/neural/_classes/maxout.pyi
bf42de303504a6c926134e3e0fd43fcc450d1488
[ "MIT" ]
permissive
miskolc/spacy-pytorch-transformers
fc502523644eb25cb293e0796b46535ba581a169
ab132b674c5a91510eb8cc472cdbdf5877d24145
refs/heads/master
2020-07-22T09:47:17.905850
2019-09-04T15:12:09
2019-09-04T15:12:09
207,156,566
1
0
MIT
2019-09-08T18:37:55
2019-09-08T18:37:55
null
UTF-8
Python
false
false
735
pyi
# Stubs for thinc.neural._classes.maxout (Python 3) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from ...describe import Biases, Dimension, Gradient, Synapses from ..util import get_array_module from .model import Model from typing import Any, Optional def xavier_uniform_init(W: Any, ...
[ "honnibal+gh@gmail.com" ]
honnibal+gh@gmail.com
f0bd60edb571b6ddd80c330a4471bfd278cc8c71
a74b980fd95d5d810315f181449fc9d1710e6923
/savecode/threeyears/idownserver/config_dispatch.py
a9332f00f371526603ca0cd4873e8a2e22388314
[ "Apache-2.0" ]
permissive
cbbbbbbbb/sspywork
b70f5539203b47b21eec2f0514ddca155affc2b8
8f05a6b91fc205960edd57f9076facec04f49a1a
refs/heads/master
2023-03-22T19:45:13.024076
2021-03-08T01:24:21
2021-03-08T01:24:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,509
py
"""配置命令数据分配器""" # -*- coding:utf-8 -*- from datacontract.datamatcher import ExtMatcher from .taskdispatcher import ( AutoTaskDispatcher, CmdDispatcher, DispatchConfig, IScanDispatcher, IScoutDispatcher, TaskDispatcher, ) # 分配器配置 dispatchconfig = DispatchConfig( taskdispatchers={ ...
[ "shiyuegege@qq.com" ]
shiyuegege@qq.com
3a7848c94352123a109254d2864aa07d7452327f
1d60c5a7b8ce6277bff514e376f79848f706344c
/Machine Learning Scientist with Python/14. Introduction to TensorFlow in Python/02. Linear models/04. Modifying the loss function.py
bc7863271f780922fc8c310bb47f666f7fa4ed4a
[]
no_license
DidiMilikina/DataCamp
338c6e6d3b4f5b6c541c1aba155a36e9ee24949d
3bf2cf3c1430190a7f8e54efda7d50a5fd66f244
refs/heads/master
2020-12-15T13:16:54.178967
2020-05-06T17:30:54
2020-05-06T17:30:54
235,113,616
4
3
null
null
null
null
UTF-8
Python
false
false
1,503
py
''' Modifying the loss function In the previous exercise, you defined a tensorflow loss function and then evaluated it once for a set of actual and predicted values. In this exercise, you will compute the loss within another function called loss_function(), which first generates predicted values from the data and varia...
[ "didimilikina8@gmail.com" ]
didimilikina8@gmail.com
147f6932afc8b302279c9890d43d0cc9046e3413
b21822a35da6cda8d7b7c89a4ada9a5651aed7b2
/Problem-2.py
e5131635a1999b7147b237d1275810e7337eda37
[]
no_license
s4git21/Backtracking-3
ba39bf9a7f303adf3d6eb13baae5d14f2b6bb4bc
0412b355f0c6f24cdcf82648eeb22de8ae50f078
refs/heads/master
2023-06-14T05:27:11.218350
2021-07-06T00:50:25
2021-07-06T00:50:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,359
py
""" Approach: 1) use DFS traversal and move in all 4 directions to look for the string in the board. 2) note that the traversal can start again from the current cell so you have to mark it visited a) instead of maintaining another board for keep track of visited cells, we'll chang the char value to indicate that ...
[ "syed.hope@gmail.com" ]
syed.hope@gmail.com
36fcc9c738f1be919faac0c727dbe29e7658f835
df7f13ec34591fe1ce2d9aeebd5fd183e012711a
/hata/discord/scheduled_event/scheduled_event_entity_metadata/tests/test__parse_speaker_ids.py
f554c1e962233b4b01ee1c67dfa68b0f357bebc9
[ "LicenseRef-scancode-warranty-disclaimer" ]
permissive
HuyaneMatsu/hata
63e2f6a2d7a7539fd8f18498852d9d3fe5c41d2e
53f24fdb38459dc5a4fd04f11bdbfee8295b76a4
refs/heads/master
2023-08-20T15:58:09.343044
2023-08-20T13:09:03
2023-08-20T13:09:03
163,677,173
3
3
Apache-2.0
2019-12-18T03:46:12
2018-12-31T14:59:47
Python
UTF-8
Python
false
false
672
py
import vampytest from ..fields import parse_speaker_ids def test__parse_speaker_ids(): """ Tests whether ``parse_speaker_ids`` works as intended. """ speaker_id_1 = 202303120072 speaker_id_2 = 202303120073 for input_data, expected_output in ( ({}, None), ({'speaker_ids': ...
[ "re.ism.tm@gmail.com" ]
re.ism.tm@gmail.com
4b82ce3e1aab7b779c48a30fcf2274b21180ea7c
084e35c598426b1137f9cd502e1b5e7f09cdf034
/每日一题/problem1049_最后一块石头的重量II.py
da7c8a54ef837b1d51c1e29591562d625bc8f668
[]
no_license
sakurasakura1996/Leetcode
3a941dadd198ee2f54b69057ae3bbed99941974c
78f239959af98dd3bd987fb17a3544010e54ae34
refs/heads/master
2021-09-11T05:07:44.987616
2021-09-07T05:39:34
2021-09-07T05:39:34
240,848,992
1
0
null
null
null
null
UTF-8
Python
false
false
631
py
from typing import List class Solution: def lastStoneWeightII(self, stones: List[int]) -> int: total = sum(stones) n, m = len(stones), total // 2 dp = [[False] * (m + 1) for _ in range(n + 1)] dp[0][0] = True for i in range(n): for j in range(m + 1): ...
[ "2470375551@qq.com" ]
2470375551@qq.com
8c36cb6d74d1abe8ef66867deca99e9e23ce1b7b
33c51931bc7d6f73da5a64ecc0e7cb751e7fc62c
/karesansui/gadget/hostby1networksettings.py
ab6a6f59f9618c75a7563f4314a2af46e8af5265
[ "MIT", "GPL-1.0-or-later" ]
permissive
qmutz/karesansui
e86ed107f313f8c4140797a2c3250c5f16b524c2
f4ba1cf6f88cf76c3e4dbc444139d73134f7c9d1
refs/heads/develop
2023-05-06T14:52:38.668631
2019-02-01T03:57:00
2019-02-01T03:57:00
316,682,704
0
0
MIT
2021-06-03T14:59:45
2020-11-28T07:43:33
null
UTF-8
Python
false
false
8,354
py
# -*- coding: utf-8 -*- # # This file is part of Karesansui. # # Copyright (C) 2009-2012 HDE, Inc. # # 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 lim...
[ "taizo@karesansui-project.info" ]
taizo@karesansui-project.info
a2784b7f3609ce114701b71b1c5d856b349dcc2c
ba157236151a65e3e1fde2db78b0c7db81b5d3f6
/String/reverse_only_letters.py
99750af83a43b0a37f1d087de1d7be02d80b9b6f
[]
no_license
JaberKhanjk/LeetCode
152488ccf385b449d2a97d20b33728483029f85b
78368ea4c8dd8efc92e3db775b249a2f8758dd55
refs/heads/master
2023-02-08T20:03:34.704602
2020-12-26T06:24:33
2020-12-26T06:24:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
class Solution(object): def reverseOnlyLetters(self, S): stack = [] hash_map = {} for i,each in enumerate(S): if (each >= 'a' and each <= 'z') or (each >= 'A' and each <= 'Z'): stack.append(each) else: hash_map[i] = ea...
[ "spondoncsebuet@gmail.com" ]
spondoncsebuet@gmail.com
168e1a720ae61eeab4b60a352e20ce73f9ca790a
61aa319732d3fa7912e28f5ff7768498f8dda005
/src/arch/x86/isa/insts/simd128/floating_point/arithmetic/multiplication.py
d4d99381ec3931f0f03fb84ea1f7192fe1c20f0a
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
TeCSAR-UNCC/gem5-SALAM
37f2f7198c93b4c18452550df48c1a2ab14b14fb
c14c39235f4e376e64dc68b81bd2447e8a47ff65
refs/heads/main
2023-06-08T22:16:25.260792
2023-05-31T16:43:46
2023-05-31T16:43:46
154,335,724
62
22
BSD-3-Clause
2023-05-31T16:43:48
2018-10-23T13:45:44
C++
UTF-8
Python
false
false
3,943
py
# Copyright (c) 2007 The Hewlett-Packard Development Company # All rights reserved. # # The license below extends only to copyright in the software and shall # not be construed as granting a license to any other intellectual # property including but not limited to intellectual property relating # to a hardware implemen...
[ "sroger48@uncc.edu" ]
sroger48@uncc.edu
ce7c741bc80b28875478e6d0bd778a104eaeb01d
ebe5167148cfff43d24b6c66e44634bb55513b72
/solutions/graph/133.Clone.Graph.py
8d6ec848c07c4a432abacd4871ee8f9ad1532cbd
[]
no_license
ljia2/leetcode.py
c90ac38a25331d61d3ff77fd135b82372da3a09f
08c6d27498e35f636045fed05a6f94b760ab69ca
refs/heads/master
2020-03-25T03:37:13.318582
2019-07-18T23:14:41
2019-07-18T23:14:41
143,351,386
0
0
null
null
null
null
UTF-8
Python
false
false
4,532
py
# Definition for a Node. class Node(object): def __init__(self, val, neighbors): self.val = val self.neighbors = neighbors class DFSSolution(object): def cloneGraph(self, node): """ Given a reference of a node in a connected undirected graph, return a deep copy (clone) of the g...
[ "ljia@conversantmedia.com" ]
ljia@conversantmedia.com
25d1d944d7e4f8f2d8859c6fad01ba0ade0590b9
bfe345ba31673553ce156e4dca1ba5b6317ca4c2
/core/models/cms/interface.py
f3476948da56841820fdffaf4026b4a2080662e6
[]
no_license
phillipmalboeuf/dauphin
215c6432fbcaf574ea0bd987238a0d2309d699af
101d8ffc113f36c8d1754077eebae2a6f18d4a3d
refs/heads/master
2023-01-09T01:55:36.905732
2021-06-20T18:35:35
2021-06-20T18:35:35
84,462,808
0
0
null
2023-01-05T06:11:24
2017-03-09T16:13:59
Python
UTF-8
Python
false
false
405
py
from core import app from flask import request, abort from core.models.core.content import Content from core.models.core.has_routes import HasRoutes from core.helpers.validation_rules import validation_rules from core.helpers.json import to_json with app.app_context(): class Interface(Content): collection_name ...
[ "phil@boeuf.coffee" ]
phil@boeuf.coffee
1498fee5084ad1aba990b5613482f15303cbf55b
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-workspaceapp/huaweicloudsdkworkspaceapp/v1/model/create_share_folder_request.py
100f5ccf04f31234da8ec88802583bc9e72f6215
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,965
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CreateShareFolderRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is att...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
27bc677940517f8b690617146b98d68d33e73b91
4bcc9806152542ab43fc2cf47c499424f200896c
/tensorflow/examples/custom_ops_doc/multiplex_4/multiplex_4_load_use.py
3716b63836e08b403abcc2ab5c1ec98035281c2f
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
tensorflow/tensorflow
906276dbafcc70a941026aa5dc50425ef71ee282
a7f3934a67900720af3d3b15389551483bee50b8
refs/heads/master
2023-08-25T04:24:41.611870
2023-08-25T04:06:24
2023-08-25T04:14:08
45,717,250
208,740
109,943
Apache-2.0
2023-09-14T20:55:50
2015-11-07T01:19:20
C++
UTF-8
Python
false
false
1,358
py
# Copyright 2021 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
8480bed289ae9be9d6385822faf59b4d35b0087f
84fb44bbf23254fe787535f66baec310dca593b7
/struct/djstruct/tests.py
04252db944554359c113e44553eb7e60f61a9cbd
[]
no_license
gomson/structure-api
0c6da71bea57d23bd2a31d827fd865f3729ce2a5
37619dad77ce51fb0832d1ff746cc6909cd82813
refs/heads/master
2021-01-19T19:24:24.152571
2016-06-24T21:40:00
2016-06-24T21:40:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,350
py
from nose.tools import eq_, ok_ from pprint import pprint from django.core.urlresolvers import reverse from django.test import TestCase from rest_framework import status # from rest_framework.authtoken.models import Token from rest_framework.test import APIClient from rest_framework.test import APITestCase from .mode...
[ "ivan.savov@gmail.com" ]
ivan.savov@gmail.com
78b768e2735891cfd4e3f013fde8b38428d1d0c3
af97a81a69d100e684b8e9f02bc1b117069b9895
/Testcases_InCoder/CWE-117/sonar_1.py
75ba3e45cab4af79ddf4d72b0685e4b46958d8fb
[]
no_license
s2e-lab/SecurityEval
8de3e2f78fffa7058d79cce84fbcd8ff29c8468d
f637f67b8e8d52d641ab15903e46a41ead7e30a5
refs/heads/main
2023-06-17T22:55:08.047769
2023-06-16T16:54:54
2023-06-16T16:54:54
509,664,226
28
7
null
2023-05-27T04:55:05
2022-07-02T05:10:17
Python
UTF-8
Python
false
false
458
py
from flask import request, current_app, Flask app = Flask(__name__) @app.route('/log') def log(): ''' get the input from the request and log it as an error ''' try: ip = request.remote_addr except: ip = '127.0.0.1' error_log = current_app.config['ERROR_LOG'] ...
[ "lsiddiqsunny@gmail.com" ]
lsiddiqsunny@gmail.com
b0c4373a67cea73b8d82a20aa2d6771cd401cd59
8fe627b48df3a4711becd58cf57f18a0d5a3a758
/manage.py
b71770ffec3329da7cba5a01a93d4e8a36cc6c9f
[]
no_license
crowdbotics-apps/brth-20192
33b25c2cc763091130aed2d5289111bc65b0cc8e
f060004fc23de1774699ecc7f1dbd6f8ca52a841
refs/heads/master
2022-12-09T09:06:41.732984
2020-09-10T21:12:32
2020-09-10T21:12:32
294,523,461
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'brth_20192.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Imp...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
7a54088b69601dc6582e0d6ff16f9dbd3318156d
c06002a780c0a1f33cc7bc1a84b4e54d1edf91f8
/Payload_Type/apfell/mythic/agent_functions/download.py
912e89946fef3f8441438de4ca6de6aaf320927e
[]
no_license
apple0012/apfell
98c5331383a09c420f7fde128d65882a87945337
8d0c83b6482a9724bcc0754384f423973c9c5dfe
refs/heads/master
2023-07-17T19:58:49.909027
2021-09-03T20:19:52
2021-09-03T20:19:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,863
py
from mythic_payloadtype_container.MythicCommandBase import * import json from mythic_payloadtype_container.MythicRPC import * class DownloadArguments(TaskArguments): def __init__(self, command_line): super().__init__(command_line) self.args = {} async def parse_arguments(self): if len...
[ "codybthomas@gmail.com" ]
codybthomas@gmail.com
571e0708ec0d32fd46c632db1f7e914a8d5f89e9
2d8da5cacd21dd425688d67e1a92faa50aefc6bc
/bulb-switcher.py
9b83a07e1278919276ff86b2dbc70c2d92431363
[]
no_license
stella-shen/Leetcode
970857edb74ae3ccf4bcce0c40e972ab8bcc5348
16ad99a6511543f0286559c483206c43ed655ddd
refs/heads/master
2021-01-19T02:48:49.918054
2018-11-29T10:36:43
2018-11-29T10:36:43
47,523,042
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
import math class Solution(object): def bulbSwitch(self, n): """ :type n: int :rtype: int """ return int(math.sqrt(n))
[ "szsxt818@gmail.com" ]
szsxt818@gmail.com
22e182483efad689fb6e85baeebdc8221a228639
a2b6bc9bdd2bdbe5871edb613065dd2397175cb3
/Cookbook/Array/移动零.py
69b79cb17710f98a8a696166a87d241bba491561
[]
no_license
Asunqingwen/LeetCode
ed8d2043a31f86e9e256123439388d7d223269be
b7c59c826bcd17cb1333571eb9f13f5c2b89b4ee
refs/heads/master
2022-09-26T01:46:59.790316
2022-09-01T08:20:37
2022-09-01T08:20:37
95,668,066
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
''' 给定一个数组 nums,编写一个函数将所有 0 移动到数组的末尾,同时保持非零元素的相对顺序。 示例: 输入: [0,1,0,3,12] 输出: [1,3,12,0,0] 说明: 必须在原数组上操作,不能拷贝额外的数组。 尽量减少操作次数。 ''' from typing import List class Solution: def moveZeroes(self, nums: List[int]) -> None: """ Do not return anything, modify nums in-place instead. """ f...
[ "sqw123az@sina.com" ]
sqw123az@sina.com
023384e4cc57c97689bf7abe06d61f93b5d0695f
eee10264c0e24b488110ca089816b291b05ed8c7
/ingestors/documents/html.py
5538f17b1a40258591783812725fe650655ebe0e
[ "MIT" ]
permissive
pombredanne/ingestors
def03d1b9a71640a1987a05e26385240a3650eb8
7f7ec82a6757743bc00e84b6b3d62b1c3cf7630a
refs/heads/master
2021-08-22T23:34:56.808521
2017-12-01T17:42:49
2017-12-01T17:42:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
from ingestors.base import Ingestor from ingestors.support.html import HTMLSupport from ingestors.support.encoding import EncodingSupport class HTMLIngestor(Ingestor, EncodingSupport, HTMLSupport): "HTML file ingestor class. Extracts the text from the web page." MIME_TYPES = ['text/html'] def ingest(sel...
[ "friedrich@pudo.org" ]
friedrich@pudo.org
24fdaeb60ef7bfaa6b0959fad30390a8df853cb9
6b9084d234c87d7597f97ec95808e13f599bf9a1
/training/transt/logger/_wandb.py
7f869c9b3cf935c338a8f9e823b7f4cac86f5ad6
[]
no_license
LitingLin/ubiquitous-happiness
4b46234ce0cb29c4d27b00ec5a60d3eeb52c26fc
aae2d764e136ca4a36c054212b361dd7e8b22cba
refs/heads/main
2023-07-13T19:51:32.227633
2021-08-03T16:02:03
2021-08-03T16:02:03
316,664,903
1
0
null
null
null
null
UTF-8
Python
false
false
3,211
py
try: import wandb has_wandb = True except ImportError: has_wandb = False from miscellanies.flatten_dict import flatten_dict from miscellanies.git_status import get_git_status from miscellanies.torch.distributed import is_main_process, is_dist_available_and_initialized class WandbLogger: def __init__(s...
[ "linliting06@live.com" ]
linliting06@live.com