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
52fa7f6ab35d271fd30dbc1f96ddcee4a2df32b5
e74c2e5b85b9af58a6f9b4b6eea160fb66f6bb08
/aula11.py
a14bb8b989d099d4f7350a32cb0c4b75eb76c49b
[]
no_license
Nokutomi/AulaPython
670cc27986aa3a12e528f5d1602929a524b632fc
1e97e4821b12a0ad0a4438d682c1e4d61a10f61d
refs/heads/master
2022-11-15T08:38:47.401055
2020-07-08T02:49:54
2020-07-08T02:49:54
275,640,239
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
lista = [1,10] arquivo = open('teste.txt', 'r') try: texto = arquivo.read() divisao = 10 / 0 # numero = lista[3] # x = a # print('Fechando arquivo') # arquivo.close() except ZeroDivisionError: print('Nao e possivel realizar uma divisao por zero') except ArithmeticError: print('Houve um ...
[ "you@example.com" ]
you@example.com
a02a2341ab021509e596e6ab801c9b00af24f937
988385035443e5d46d29d96b15179509fd1c782e
/addToArrayForm.py
ea09a01733d9a2d3d3b61c25a1837f7b7368545e
[]
no_license
mwoitek/leetcode-python3
c120ee1b1eb8e17f3a301026f25c643be9852953
eb9989d3768eba82275a57243c99796e74ccdd48
refs/heads/master
2022-12-28T21:19:51.215210
2020-10-18T06:17:27
2020-10-18T06:17:27
301,295,054
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
class Solution: def addToArrayForm(self, A: List[int], K: int) -> List[int]: A_str = "".join([str(num) for num in A]) A_int = int(A_str) ans = A_int + K ans_list = [int(char) for char in str(ans)] return ans_list
[ "woitek@usp.br" ]
woitek@usp.br
7091c8bb4d092cb28c4a6f0d1fe1a329abcb2805
40b20d7e5f4381a64bd264a562c4ae6d6721b01c
/14-it-generator/sentence_gen.py
a17c48f6811da8c5180ec412bacbf4618080cabf
[ "MIT" ]
permissive
KyrieCham/example-code
7d2f0d5901bf80b49dd6b1e9ae1c37c9cb6df7f5
3dd11744d1c0b1f00860e985ee2a0761e73ef7e7
refs/heads/master
2020-04-18T00:56:06.384756
2019-01-22T19:27:43
2019-01-22T19:27:43
167,098,245
1
0
MIT
2019-01-23T01:52:48
2019-01-23T01:52:47
null
UTF-8
Python
false
false
446
py
""" Sentence: iterate over words using a generator function """ import re import reprlib RE_WORD = re.compile('\w+') class Sentence: def __init__(self, text): self.text = text self.words = RE_WORD.findall(text) def __repr__(self): return 'Sentence(%s)' % reprlib.repr(self.text) ...
[ "luciano@ramalho.org" ]
luciano@ramalho.org
c14cca36fd70f17c4adf7cf1050a549b485a5112
dd44e145ac547209f5f209bc9b1f09189bb8b5c7
/Python-OOP-July2021/04.Classes_and_objects-E/05.To-do-list/project/section.py
391f64c88e1e7f0db3acc9df9b8d20c2de06a156
[]
no_license
todorovventsi/Software-Engineering
e3c1be8f0f72c85619518bb914d2a4dbaac270f8
64ffa6c80b190e7c6f340aaf219986f769f175ab
refs/heads/master
2023-07-09T05:35:14.522958
2021-08-15T14:35:55
2021-08-15T14:35:55
336,056,643
2
1
null
null
null
null
UTF-8
Python
false
false
1,049
py
class Section: def __init__(self, name): self.name = name self.tasks = [] def add_task(self, new_task): if new_task not in self.tasks: self.tasks.append(new_task) return f"Task {new_task.details()} is added to the section" return f"Task is already in the ...
[ "todorov.ventsi@gmail.com" ]
todorov.ventsi@gmail.com
f6f84dcc3656ac3c623fa8ecd4bfcedf2259c2ef
a22cc323b29f50da397d8363ac2521e3542a0fd7
/tests/dpaycli/test_steem.py
d04f4ac3d9988e261ae2bc7c834ff2c3642c4d91
[ "MIT" ]
permissive
dpays/dpay-cli
1a58c7dae45218e3b05b7e17ff5ce03e918d27b9
dfa80898e1faea2cee92ebec6fe04873381bd40f
refs/heads/master
2020-04-01T09:26:43.200933
2018-10-15T08:03:06
2018-10-15T08:03:06
153,075,154
0
0
null
null
null
null
UTF-8
Python
false
false
19,444
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from builtins import range from builtins import super import mock import string import unittest from parameterized import parameterized import random import json from ppri...
[ "jaredricelegal@gmail.com" ]
jaredricelegal@gmail.com
9999bf5d93fa20451f61973a2e0ae14307aded8d
4b1cf07275a8f2abf30943b975d443485ef897ff
/data_generator.py
3805e30c71100e78de5cec92ba0c561a77bb426d
[ "MIT" ]
permissive
gipsyblues/edge_ml_emotion_recognition
a0e1e0acc98d11f710542218b2603f72a8a93a4b
028e9a9264e7df5c48a047677b48f0c15e059e6c
refs/heads/master
2023-06-27T02:53:18.707806
2021-07-28T06:48:30
2021-07-28T06:48:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,108
py
import numpy as np import cv2 import os import imgaug as ia import logging from imgaug import augmenters as iaa from imgaug.augmentables.segmaps import SegmentationMapsOnImage from imgaug.augmentables.bbs import BoundingBox, BoundingBoxesOnImage def _create_augment_pipeline(): sometimes = lambda aug: iaa.Sometim...
[ "dmitrywat@gmail.com" ]
dmitrywat@gmail.com
ca9547928ab7a957dabd169f16fc201dc6d06efe
b83ff584bfcd9fce7a337ba1253287fc9afd03c7
/cmdline_fluency_countdown.py
c6564c0a2aa5dcf88e15805c147edba2570aebac
[]
no_license
houstonhunt/fluencycountdown
6166eaf625f6e348213dcd5be8045ee218159900
d555b83972e05d09e1caafca61ea465c4ca3770c
refs/heads/master
2021-01-23T23:12:17.392090
2015-05-23T18:48:24
2015-05-23T18:48:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,720
py
#!/usr/bin/python # cmdline_fluency_countdown.py import pickle # used to save user progress (currently supporting 1 primary user) import ConfigParser, os # used to parse language file def init(): state = 0 try: pickle.load(open("save.p", "rb")) print "SUCCESS: loaded save file!" state = 1 except: config...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
09db4be45d5d63793dcd85353daabc9d84d3ac5d
08ca7028e0488c420fff8c831e9d4fd3e32ee292
/models/wideresnet.py
59ba6496518eab9bc92f85bceb9a2459910e4762
[]
no_license
yogeshbalaji/Adversarial-training
0ee53fdbef2742788cbbc73ca592738347076fe2
3593c836f39c1313545fcc71e5ba8afa6f427326
refs/heads/master
2020-07-15T03:00:26.425582
2019-09-04T19:59:51
2019-09-04T19:59:51
205,464,494
12
4
null
null
null
null
UTF-8
Python
false
false
3,517
py
from collections import OrderedDict import torch from torch import nn import torch.nn.functional as F from utils import data_normalize def init_weight(*args): return nn.Parameter(nn.init.kaiming_normal_(torch.zeros(*args), mode='fan_out', nonlinearity='relu')) class Block(nn.Module): """ Pre-activated Re...
[ "yogesh22@ramawks95.umiacs.umd.edu" ]
yogesh22@ramawks95.umiacs.umd.edu
e34145873aede1b65f5e55265e1505cc6bde3391
387cf5f72ed6679a4d9e04bddd16998a190c4caf
/problems/programmers/lv3/pgs-67258-sweep-slow.py
6a3ef6ae150570c9680bfdc5e53635a2e6635517
[]
no_license
CodyBuilder-dev/Algorithm-Coding-Test
db4ee1e7565fbcef3140192225167eff42ad5c02
cca5c4ba8bc31679ab00aceccfd8d9d39c232f72
refs/heads/master
2021-07-24T00:34:41.888289
2021-07-21T14:29:00
2021-07-21T14:29:00
219,123,221
1
0
null
null
null
null
UTF-8
Python
false
false
1,347
py
""" 제목 :보석 쇼핑 아이디어 : """ def solution(gems): s = set(gems) hash = {} #interval_list = [] # 리스트에 넣고 저장 best_answer = [123456,456789] for i,gem in enumerate(gems): if gem not in hash: hash[gem] = 0 hash[gem] = i if len(hash) ==len(s): temp_answer = [mi...
[ "imspecial1@u.sogang.ac.kr" ]
imspecial1@u.sogang.ac.kr
c64f6276a76c1f9c5a452595cbcd25de501fd7f6
e65a448da4f82d6e7c95cfadc5e8dfd06ed05c62
/cinder/cinder/api/middleware/auth.py
cf898c9b07d780e57e877272a930772dd33360d5
[ "Apache-2.0" ]
permissive
bopopescu/devstack
7a9d11bcc37884f3686e7178ebc25c178a6da283
6b73b164af7e5895501f1ca5dafebbba90510846
refs/heads/master
2022-11-19T19:58:43.536574
2015-01-29T09:00:59
2015-01-29T09:00:59
282,101,378
0
0
null
2020-07-24T02:17:48
2020-07-24T02:17:47
null
UTF-8
Python
false
false
6,014
py
# Copyright 2010 OpenStack Foundation # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
[ "swethapts@gmail.com" ]
swethapts@gmail.com
f6e400373186312a9fcf3e60bc466491e7ced87f
780b6cca690a213ac908b1cd5faef5366a18dc4e
/276_newbie_bite/save1_passed.py
7568b69b77be52f1d12ae46c2c3d5cec4cd7fba1
[]
no_license
katkaypettitt/pybites-all
899180a588e460b343c00529c6a742527e4ea1bc
391c07ecac0d92d5dc7c537bcf92eb6c1fdda896
refs/heads/main
2023-08-22T16:33:11.171732
2021-10-24T17:29:44
2021-10-24T17:29:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
# Hint: Don't forget the 4 leading spaces to # indicate your code is within the function. a = 10 b = 5 def multiply_numbers(a, b): return a * b def enter_name(): username = input("What is your name?") return username
[ "70788275+katrinaalaimo@users.noreply.github.com" ]
70788275+katrinaalaimo@users.noreply.github.com
9de698aabcd24e0d8e7b125ea53adbb5167b3d8b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02394/s366374910.py
34d6b2cc6782e5002623f9419f9f8a358a2dd94e
[]
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
142
py
w, h, x, y, r = map(int, input().split()) if 0 <= (x-r) and (x+r) <= w and 0 <= (y-r) and (y+r) <= h: print("Yes") else: print("No")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e2f80ae63c842ab915e70054164ea7ef16f417b2
15fb62305a2fa0146cc84b289642cc01a8407aab
/Python/119-pascalTriangle2.py
ca82b9b5ce299755fd88d42d79285542b566e463
[]
no_license
geniousisme/leetCode
ec9bc91864cbe7520b085bdab0db67539d3627bd
6e12d67e4ab2d197d588b65c1ddb1f9c52a7e047
refs/heads/master
2016-09-09T23:34:03.522079
2015-09-23T16:15:05
2015-09-23T16:15:05
32,052,408
1
0
null
null
null
null
UTF-8
Python
false
false
413
py
from math import factorial class Solution: # @param {integer} rowIndex # @return {integer[]} def getRow(self, rowIndex): res = [] f = factorial n = rowIndex for k in xrange(rowIndex + 1): res.append(f(n) / f(k) / f(n - k)) return res if __name__ ...
[ "chia-hao.hsu@aiesec.net" ]
chia-hao.hsu@aiesec.net
790f7806b7f537150ccb4a127bd799627afad0e4
1f8344813458f669bdf77059220290a3b2a3cdd0
/tutorials-docs/thinking-in-coroutines/8_run_in_default_executor.py
81a53d28f3690104d9512aac1b837e073a2f0b81
[]
no_license
gridl/asyncio-study-group
7c03e8640070ebe8d1103f27bc3c3da37a5a661f
1ba9cf90e21b5174518032d467e89526da219576
refs/heads/master
2020-07-02T07:03:12.364097
2017-12-26T20:55:09
2017-12-26T20:55:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
import time import datetime import asyncio def blocking_call(seconds): print(seconds, datetime.datetime.now()) time.sleep(seconds) if __name__ == '__main__': loop = asyncio.get_event_loop() loop.call_later(5, loop.stop) for i in range(1,4): #по умолчанию используется concurrent.futures.T...
[ "nataliya.samoylenko@gmail.com" ]
nataliya.samoylenko@gmail.com
8ba3ca416a5d385c1158274f46e71ad3750148eb
e7af30370e277b459e1c49edcc0562d5b5c32abc
/Learning_ScikitLearn/Model/Linear_Classification/LogisticRegression_Classification.py
68bb53cef0d25d1f7959af186211991c7beda251
[]
no_license
justgolikeme/My_MachineLearning
208ab766478662cf36ffa7f9202fed0ad6f0ad28
948a84684a2a6f1c9e613948ed246062468016bd
refs/heads/master
2022-05-13T05:02:48.488269
2020-01-03T07:27:50
2020-01-03T07:27:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,023
py
# -*- coding: utf-8 -*- # @Time : 2019/12/16 15:55 # @Author : Mr.Lin ''' 用于分类的线性模型 线性模型也广泛应用于分类问题。我们首先来看二分类。这时可以利用下面的公式进行 预测: ŷ = w[0] * x[0] + w[1] * x[1] + …+ w[p] * x[p] + b > 0 这个公式看起来与线性回归的公式非常相似,但我们没有返回特征的加权求和,而是为预 测设置了阈值(0)。如果函数值小于 0,我们就预测类别 -1;如果函数值大于 0,我们就 预测类别 +1。对于所有用于分类的线性模型,这个预测规则都是通用的。同样,有很多种 不同的方...
[ "2669093302@qq.com" ]
2669093302@qq.com
7ad47d35b8b6d618120876ea81cee10cd4498f0f
329b48089c64ebefe78d52f1c71c73bdadadd4b4
/ML/m02_3_xor.py
f054586220c6b7e9e2f5ec6da088dfde56b25a5d
[]
no_license
variablejun/keras__R
7f854570952ed97c48715047015786d873e512cb
9faf4814b46cda1ac0ddbf2a2f8236fa0394f144
refs/heads/main
2023-07-13T19:32:25.950500
2021-08-22T18:26:52
2021-08-22T18:26:52
398,870,548
1
0
null
null
null
null
UTF-8
Python
false
false
617
py
from sklearn.svm import LinearSVC import numpy as np from sklearn.metrics import accuracy_score #1 data x_data = [[0,0],[0,1],[1,0],[1,1]] y_data = [0,1,1,0] #2 model model = LinearSVC() #3 fit model.fit(x_data,y_data) #4 평가 y_predict = model.predict(x_data) print(x_data,' 의 예측값 : ',y_predict) results= model.s...
[ "crescendo0217@gmail.com" ]
crescendo0217@gmail.com
9d79f133ae46df0a2a814949bc56bb9b67709332
92754bb891a128687f3fbc48a312aded752b6bcd
/Algorithms/Python3.x/836-Rectangle_Overlap.py
109710852b3db1879f46f641e56714e64efbeca6
[]
no_license
daidai21/Leetcode
ddecaf0ffbc66604a464c3c9751f35f3abe5e7e5
eb726b3411ed11e2bd00fee02dc41b77f35f2632
refs/heads/master
2023-03-24T21:13:31.128127
2023-03-08T16:11:43
2023-03-08T16:11:43
167,968,602
8
3
null
null
null
null
UTF-8
Python
false
false
611
py
# Runtime: 32 ms, faster than 89.53% of Python3 online submissions for Rectangle Overlap. # Memory Usage: 13.9 MB, less than 8.33% of Python3 online submissions for Rectangle Overlap. class Solution: def isRectangleOverlap(self, rec1: List[int], rec2: List[int]) -> bool: return rec1[0] < rec2[2] and rec...
[ "daidai4269@aliyun.com" ]
daidai4269@aliyun.com
bfb211f64cb26ced576000456975b8ac4e62ba43
dab869acd10a3dc76e2a924e24b6a4dffe0a875f
/Laban/build/bdist.win32/winexe/temp/numpy.core.operand_flag_tests.py
abe53bfc427cda30a4fdef6d870c6ffe58b6c013
[]
no_license
ranBernstein/Laban
d82aff9b0483dd007e03a06e51f7d635f62ed05d
54c88afa9493deacbdd182904cc5d180ecb208b4
refs/heads/master
2021-01-23T13:17:51.777880
2017-02-14T09:02:54
2017-02-14T09:02:54
25,508,010
3
1
null
2017-02-14T09:02:55
2014-10-21T07:16:01
Tcl
UTF-8
Python
false
false
379
py
def __load(): import imp, os, sys try: dirname = os.path.dirname(__loader__.archive) except NameError: dirname = sys.prefix path = os.path.join(dirname, 'numpy.core.operand_flag_tests.pyd') #print "py2exe extension module", __name__, "->", path mod = imp.load_dynamic(__...
[ "bernstein.ran@gmail.com" ]
bernstein.ran@gmail.com
cde96ba8bed0f8a27d9a27fc09c79f90b37b0093
4781d9293b59a5072647bb179195b143c60621bd
/백준/3190_뱀/3190_뱀.py
466985fd6c7408c5d7d548c56da8c4c1f93da5da
[]
no_license
chriskwon96/Algorithm_codes
bf98131f66ca9c091fe63db68b220527800069c9
edb7b803370e87493dad4a38ee858bb7bb3fd31d
refs/heads/master
2023-08-15T18:48:26.809864
2021-10-12T13:43:21
2021-10-12T13:43:21
387,803,476
0
0
null
null
null
null
UTF-8
Python
false
false
1,488
py
di = [0, -1, 0, +1] dj = [+1, 0, -1, 0] N = int(input()) matrix = [[0]*N for _ in range(N)] K = int(input()) for _ in range(K): #사과위치 1로 지정 i, j = map(int, input().split()) matrix[i-1][j-1] = 1 L = int(input()) q = [(0,0)] #뱀 몸 X1, k, cnt = 0, 0, 0 flag = 1 for _ in range(L): X, C = input().split() fo...
[ "chriskwon96@naver.com" ]
chriskwon96@naver.com
b417569a701914b13050a450dfb4e9d8d98231f5
59cdb8b3995ee5938dc4710e32f29ac273410265
/firing_analyses/unit_response_characterization/gather_psths.py
a170cd2c1a9f45a1da9d668f911611f166dfb215
[]
no_license
abuzarmahmood/firing_space_plot
15ff667fada8f4e985a6a6c6f31261b72b0f4b60
9fe925d9b443fda96d8e23d6d2d2d2aa60b08f15
refs/heads/master
2023-07-25T01:39:31.942434
2023-07-15T14:24:38
2023-07-15T14:24:38
139,602,984
0
0
null
null
null
null
UTF-8
Python
false
false
14,390
py
""" Go through all specified files and generate PSTHs for GC and BLA neurons to save in a consolidated location For each neuron, also calculate discriminability and palatability correlation """ ######################################## # ___ _ #|_ _|_ __ ___ _ __ ___ _ __| |_ # | || '...
[ "abuzarmahmood@gmail.com" ]
abuzarmahmood@gmail.com
a7556063e49aff2dda7e2b3cc964e43037048d34
6cb1d8f1416af7b7c5c83ab35cb6928ea9955aff
/ch07/rnnlm_gen.py
a30f1107227f403e0e15f919e3f9b09e39193409
[]
no_license
lee-saint/practice-nlp
f68ccc3140f725f3edcd7048c324b847583b7f20
19003fcd5f55f4f110417a3950a32bb5fba1850c
refs/heads/master
2020-12-01T20:05:15.014495
2020-01-21T09:22:18
2020-01-21T09:22:18
230,750,152
0
0
null
null
null
null
UTF-8
Python
false
false
2,799
py
import numpy as np from common.functions import softmax from ch06.RNNLM import Rnnlm from ch06.better_rnnlm import BetterRnnlm from dataset import ptb class RnnlmGen(Rnnlm): def generate(self, start_id, skip_ids=None, sample_size=100): word_ids = [start_id] x = start_id while len(word_ids...
[ "plutorian131@gmail.com" ]
plutorian131@gmail.com
941accb672f76b0db53c6f3a669fcfd3f017badb
227438026ddb81cb13d174fab2f0c492da6c5975
/python/MuonGunPt50_FullEta_FullPhi_SmallSigmaZ_cfi.py
a59e85f89d64eceb435409fc4a3a149a836cac4e
[]
no_license
skaplanhex/cms-PLTSimulation
4c360a56335c673e8c703ea70371e58a1aeff60c
250e324eb3ea83c965dcb0bab47a53b399cf7625
refs/heads/master
2021-01-01T15:17:15.047788
2014-10-22T00:11:07
2014-10-22T00:11:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,016
py
import FWCore.ParameterSet.Config as cms source = cms.Source("PoolSource", fileNames = cms.untracked.vstring( '/store/user/skaplan/noreplica/MuonGunPt50/FullEta_FullPhi_SmallSigmaZ/MuonGunEvents_100_1_NnM.root', '/store/user/skaplan/noreplica/MuonGunPt50/FullEta_FullPhi_SmallSigmaZ/MuonGunEvents_10...
[ "skaplan@physics.rutgers.edu" ]
skaplan@physics.rutgers.edu
f45d517a51288fdf1af81238bef427c053fc9fbe
f47863b3a595cbe7ec1c02040e7214481e4f078a
/plugins/scan/libsys/1530.py
7d4393ead3d8ab208722872e6653f54514040048
[]
no_license
gobiggo/0bscan
fe020b8f6f325292bda2b1fec25e3c49a431f373
281cf7c5c2181907e6863adde27bd3977b4a3474
refs/heads/master
2020-04-10T20:33:55.008835
2018-11-17T10:05:41
2018-11-17T10:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
617
py
#!/usr/bin/python #-*- encoding:utf-8 -*- # title:汇文libsys图书管理系统敏感信息泄露 #http://www.wooyun.org/bugs/wooyun-2010-0125785 def assign(service, arg): if service == "libsys": return True, arg def audit(arg): payload = 'include/config.properties' url = arg + payload code, head,res, errcode, _ = curl...
[ "zer0i3@aliyun.com" ]
zer0i3@aliyun.com
21ea5cf5e0b3b2984691a47e3c896c1d987cf016
63c5306b91db445016059a7f0c7ac167bf231d3c
/caffe2/python/operator_test/dataset_ops_test.py
ab6645e250bc558346fef1dfa56e2c3a3abfa0ce
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Fletcher3003/caffe2
b57ad712993b7c50d16b8f0eedc2e5587bc89e0e
731096902a090b49612b02cc5a1301c81bf93943
refs/heads/master
2020-04-15T18:10:11.514190
2019-01-09T17:10:14
2019-01-09T17:10:14
164,903,847
0
0
Apache-2.0
2019-01-09T17:02:59
2019-01-09T17:02:53
Shell
UTF-8
Python
false
false
21,910
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import numpy as np from caffe2.python import core, workspace, dataset from caffe2.python.dataset import Const from caffe2.python.schema import ( List, Field, Struct, S...
[ "charliehouseago@gmail.com" ]
charliehouseago@gmail.com
3a0aa4f6f46d50f9055d2000d1b39488f5c19f87
b341a8d120737297aa8fd394a23633dac9b5ccda
/accounts/migrations/0007_auto_20210122_1129.py
c7476e71ff6f0746f30db617c468bd59bbe23d1c
[]
no_license
Minari766/disney_side_stories
16d97cb02bf00aa5439d59f753abb9a4706a30aa
aa2d88b1b0fdd87a27f41318bd3ec7352229b6ff
refs/heads/main
2023-08-15T07:03:16.922579
2021-10-03T07:47:22
2021-10-03T07:47:22
306,496,250
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
# Generated by Django 2.2 on 2021-01-22 02:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0006_auto_20210122_0127'), ] operations = [ migrations.AlterField( model_name='customuser', name='icon', ...
[ "mina3.ryu0728@gmail.com" ]
mina3.ryu0728@gmail.com
436645c364f840999119d1e57184125dbceeca14
1f006f0c7871fcde10986c4f5cec916f545afc9f
/apps/ice/plugins/oxml/oxml_wordNumbering_test.py
9d73299a89601ac0dd3e3d023fcdc93ea3e7a208
[]
no_license
ptsefton/integrated-content-environment
248b8cd29b29e8989ec1a154dd373814742a38c1
c1d6b5a1bea3df4dde10cb582fb0da361dd747bc
refs/heads/master
2021-01-10T04:46:09.319989
2011-05-05T01:42:52
2011-05-05T01:42:52
36,273,470
0
0
null
null
null
null
UTF-8
Python
false
false
3,070
py
#!/usr/bin/env python # # Copyright (C) 2010 Distance and e-Learning Centre, # University of Southern Queensland # # 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 ...
[ "raward@gmail.com@110e3293-9ef9-cb8f-f479-66bdb1942d05" ]
raward@gmail.com@110e3293-9ef9-cb8f-f479-66bdb1942d05
199d434465c3656aee4f794b9c3e45082973e134
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-7896.py
b9db85cffe8ae7ce8835bf3307e75b65eb9792ec
[]
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
bd64520533edfc4080a9c62fe2f73533c225df98
952a9bc5a54bae037662f3bd5e09aa13780628a2
/vespa/analysis/block_prep_megalaser.py
d9ee800348907f04ad9ee6a673913aebdecb9e0a
[ "BSD-3-Clause" ]
permissive
bsoher/vespa_py2
199964d2ffdc6ed576d6d73e55078ed5bc26c784
07cd67de2465607319870a18435da784345198d0
refs/heads/main
2023-04-22T04:24:44.270731
2021-05-06T01:07:57
2021-05-06T01:07:57
364,384,405
0
0
null
null
null
null
UTF-8
Python
false
false
12,109
py
# Python modules from __future__ import division # 3rd party modules import numpy as np import xml.etree.cElementTree as ElementTree # Our modules import vespa.analysis.block_prep_identity as block_prep_identity import vespa.analysis.chain_prep_megalaser as chain_prep_megalaser import vespa.analysis.block as block i...
[ "bsoher@briansoher.com" ]
bsoher@briansoher.com
9330cd3f6095c574c0fa566a8d69be0fec19b834
a62a87ad976e3d35ea7879671190faf950ebaf3b
/scrapys/t.py
47ae7f7a675a471d9db25b8bb6a431b20fa33406
[]
no_license
YangXiaoo/Django-web
144c8c1800d2a67bf8d1d203210aa351d31e8fb3
97903f309234fd1421a19a52a083f214172d6c79
refs/heads/master
2020-03-24T11:29:20.296017
2019-01-20T14:54:16
2019-01-20T14:54:16
142,687,045
0
0
null
null
null
null
UTF-8
Python
false
false
3,264
py
# -*- coding: utf-8 -*- import re import urllib2 import pandas as pd #获取原码 def get_content(page): headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36', 'Accept-Language': 'zh-CN,zh;q=0.8'} url ='http://search.51job....
[ "33798487+YangXiaoo@users.noreply.github.com" ]
33798487+YangXiaoo@users.noreply.github.com
91cf1bbafb30679fda22289ccab052d7605c72e6
503d2f8f5f5f547acb82f7299d86886691966ca5
/typical90/typical90_cf.py
f610d0f1035ed452bc7992ce2b7ed0d6160b139f
[]
no_license
Hironobu-Kawaguchi/atcoder
3fcb649cb920dd837a1ced6713bbb939ecc090a9
df4b55cc7d557bf61607ffde8bda8655cf129017
refs/heads/master
2023-08-21T14:13:13.856604
2023-08-12T14:53:03
2023-08-12T14:53:03
197,216,790
0
0
null
null
null
null
UTF-8
Python
false
false
937
py
# https://atcoder.jp/contests/typical90/tasks/typical90_cf # # def input(): return sys.stdin.readline().rstrip() # # input = sys.stdin.readline # from numba import njit # from functools import lru_cache # import sys # input = sys.stdin.buffer.readline # sys.setrecursionlimit(10 ** 7) N = int(input()) S = input() ans ...
[ "hironobukawaguchi3@gmail.com" ]
hironobukawaguchi3@gmail.com
b9edcccc00c10227f91be8740e4d744c0cea4347
2b8047e9e73a2f6fd43897cff19cb7e7c7c464d4
/docssrc/source/conf.py
5d48fbeb3fa4a5a1f8afc2bbac54d3f8fcfb3638
[ "MIT" ]
permissive
Peilonrayz/envee
548fe08330a3b43bee5da1d64a0e406c781b990e
66f5b6b1ff7f5966be794e1e3878418c560c1f65
refs/heads/master
2021-01-09T13:35:40.946529
2020-02-21T20:58:27
2020-02-21T20:58:27
242,321,085
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
import datetime import pathlib import sys try: import ConfigParser as configparser except ImportError: import configparser FILE_PATH = pathlib.Path(__file__).absolute() # Add documentation for tests TLD = FILE_PATH.parent.parent.parent sys.path.insert(0, str(TLD)) config = configparser.ConfigParser() config....
[ "peilonrayz@gmail.com" ]
peilonrayz@gmail.com
737f03f10ca5c122cad3e6ecd1ea3ca167ba591a
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_7114.py
43772d7ec5384a7033d876749b4875f9abf3a978
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
# global name 'find' is not defined 'python'.find('y') # gives 1
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
fbdea07de6f18420b99a57b116c79adf1f0463a1
eac52a8ae7c539acedaedf8744bd8e20172f0af6
/general/decode_ways.py
33c70cc775b271c21d0bb448684acae24e9ffa65
[]
no_license
mshekhar/random-algs
3a0a0f6e6b21f6a59ed5e1970b7a2bc2044e191f
7c9a8455f49027a754038b23aaa2df61fe5397ca
refs/heads/master
2020-03-26T16:29:42.694785
2019-07-18T20:57:55
2019-07-18T20:57:55
145,105,593
4
0
null
null
null
null
UTF-8
Python
false
false
2,895
py
# A message containing letters from A-Z is being encoded to numbers using the following mapping: # # 'A' -> 1 # 'B' -> 2 # ... # 'Z' -> 26 # Given a non-empty string containing only digits, determine the total number of ways to decode it. # # Example 1: # # Input: "12" # Output: 2 # Explanation: It could be decoded as ...
[ "mayank@moengage.com" ]
mayank@moengage.com
07a345dba33878564304037a609dba06de767c0c
36c00fe2afff4818c937e312ce0c6a79f35e2a77
/7-kyu/happy-birthday,-darling!/python/solution.py
ab407ea9bcebd79b2d18c37ed24e86ac2368a137
[]
no_license
p-lots/codewars
0a67b6ee4c91180ff78c648421b9d2d64463ddc3
535faeee475c6b398124d6f5002b0e111406e8bb
refs/heads/master
2023-08-23T22:14:33.635011
2023-08-23T13:30:37
2023-08-23T13:30:37
195,320,309
0
0
null
2023-05-09T19:25:50
2019-07-05T01:40:15
Python
UTF-8
Python
false
false
164
py
def womens_age(n): base = n // 2 if n % 2 == 0 else (n - 1) // 2 new_n = 20 if n % 2 == 0 else 21 return f"{n}? That's just {new_n}, in base {base}!"
[ "paul.calotta@gmail.com" ]
paul.calotta@gmail.com
d0c7805015d0990484841901a310a10805e00cf6
39be02fe4f8e8362a7acc005f3e30dd6fe47990e
/newdata/oylereader.py
5ebdae4fcc852f8c821d74ed40ee95c9b06e915b
[]
no_license
seferlab/geneexpress
e2f6fdaa49e40cd48d0572cd9ddb5d2f45566adb
ac35bde5ba52d24981ece74e532f46bbfff9019e
refs/heads/master
2022-12-19T08:33:16.925160
2020-09-29T13:51:30
2020-09-29T13:51:30
299,619,752
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
import os import sys import math fname1 = "127 LCM time course Data Not normalized.txt" fname2 = "127 LCM time course Quantile Normalized logbased 2 transformed.txt" with open(fname1,"r") as infile: for line in infile: line = line.rstrip() vals = line.split("\r") splitted = vals[1].split...
[ "70752445+seferlab@users.noreply.github.com" ]
70752445+seferlab@users.noreply.github.com
f0b3e6949b78c44d35bdedc65dcdd7d848eae7f3
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/CodeJamData/10/33/17.py
b549582d467c3879831e6f099d36ecf18d3abe31
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
1,617
py
from itertools import count def board(rows): n = len(rows[0]) * 4 return [map(int, '{0:0{1}b}'.format(int(row, 16), n)) for row in rows] def squares(board): m, n = len(board), len(board[0]) #sq = {} for r in xrange(m): for c in xrange(n): if board[r][c] == 2: continue ...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
238eb7c3a48a487377b765829fcb5eee86416ff5
24cf311c53c29e4e332cea01ee4de8196253a7b7
/accounts/urls.py
ca8992d712669175ee1ef3193b0ea2d6ab348261
[]
no_license
apengok/vsicravdoa
d017fe0c6a8606ef7bb74739354de1a2767b2a8a
e424b94007731189c2f14513798f2a9e9a45ba4c
refs/heads/master
2020-03-10T23:07:48.145583
2018-06-01T09:18:25
2018-06-01T09:18:25
129,634,250
1
0
null
null
null
null
UTF-8
Python
false
false
777
py
from django.conf.urls import url from .views import ( AccountHomeView, # AccountEmailActivateView, UserDetailUpdateView ) app_name = 'account' urlpatterns = [ url(r'^$', AccountHomeView.as_view(), name='home'), url(r'^details/$', UserDetailUpdateView.as_view(), na...
[ "apengok@163.com" ]
apengok@163.com
a20abcac99856f482d5e3f7ec4d5c5c93878dacd
98f505e8275ed888818d8d6f77d27a9c275b55d8
/face.py
a6d86359d258eda63f01fe71ba8a00892e28e706
[]
no_license
EHwooKim/telegram
13ac0afbd4ee5f91aa81b557183e9d8143fb1315
034ae64fa6283720fd55362b1b763cb3497ce4fc
refs/heads/master
2022-12-11T19:53:23.942523
2019-07-12T07:41:29
2019-07-12T07:41:29
196,533,974
0
0
null
2022-12-08T05:52:25
2019-07-12T07:48:30
Python
UTF-8
Python
false
false
959
py
import pprint import requests from decouple import config # 0. 이미지 파일 file_url = 'https://api.telegram.org/file/bot823224197:AAFwM03Ie4P8dBH45aKI75sMO0okZpcIqic/photos/file_2.jpg' response = requests.get(file_url, stream=True) image = response.raw.read() # 1. 네이버 API 설정 naver_client_id = config('NAVER_CLIENT_ID') nav...
[ "ehwoo0707@naver.com" ]
ehwoo0707@naver.com
52860b1da6917fcd830a4b178bd3d28e8c60bf70
99dfd25f07b748e0b9b04ac300e135dc20570e1c
/cart/urls.py
1731b6a31f6bbea06b4fcbb367549265a3127dd2
[]
no_license
suipingooi/tgc10-django-deploy-checkpointPAUL
1ec45e7135263703ff3472216f8fdcfdb379d7f3
46b62cdce8396c2b0cc57ec1fca4e77c0eee1e1a
refs/heads/master
2023-04-16T05:11:20.535480
2021-04-14T12:02:43
2021-04-14T12:02:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
from django.urls import path import cart.views urlpatterns = [ path('add/<book_id>', cart.views.add_to_cart, name="add_to_cart"), path('', cart.views.view_cart, name='view_cart'), path('remove/<book_id>', cart.views.remove_from_cart, name="remove_from_cart"), path('update_quantity/<b...
[ "chorkunxin@yahoo.com" ]
chorkunxin@yahoo.com
034a7d5e99bd493a04228ed2e4b4f1b71a6ec5c2
0cc4eb3cb54f8394c127ace62d3108fdb5230c85
/.spack-env/view/lib/python3.7/site-packages/jedi/third_party/typeshed/stdlib/2and3/profile.pyi
df940020d4066a6dc89ae87f2652df920ed8c8b4
[]
no_license
jacobmerson/spack-develop-env
5b2d76f58c0b64ae97c64f77a3c4d33a770c71c8
5fca20ca343b1a76f05fc635c87f94ed25417d94
refs/heads/master
2022-07-04T02:22:50.264727
2020-05-06T05:13:50
2020-05-06T05:13:50
261,657,112
0
0
null
null
null
null
UTF-8
Python
false
false
190
pyi
/lore/mersoj/spack/spack/opt/spack/linux-rhel7-x86_64/gcc-7.3.0/py-jedi-0.17.0-zugnvpgjfmuk5x4rfhhxlsknl2g226yt/lib/python3.7/site-packages/jedi/third_party/typeshed/stdlib/2and3/profile.pyi
[ "mersoj@rpi.edu" ]
mersoj@rpi.edu
bd13eec195727b03591f3658eaa75c0f54f16624
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03827/s915868982.py
561cb7cb4a15cc5878feaba7bc58f0a5af14916d
[]
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
114
py
N = int(input()) S = input() x = 0 ans = 0 for s in S: x += 1 if s == "I" else -1 ans = max(ans, x) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2ca6a41f705f6ef795834db9d2bcbec1c4e7da99
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/miniAODJobs600toInf/nano4.py
1366df4f33cc6ad0c152e7cd8e25ea82efda4cf6
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,363
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --mc --eventcontent NANOAODSIM --datatier NANOAODSIM --no_exec --conditions 102X_upgrade2018_realistic_v19 -...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
fc521136d37bde83bf4b77d4966c06e6653d750b
3f6c16ea158a8fb4318b8f069156f1c8d5cff576
/.PyCharm2019.1/system/python_stubs/-1317042838/pandas/_libs/ops.py
a84d13f1d42b972f9af8b614b27048d38673cdb9
[]
no_license
sarthak-patidar/dotfiles
08494170d2c0fedc0bbe719cc7c60263ce6fd095
b62cd46f3491fd3f50c704f0255730af682d1f80
refs/heads/master
2020-06-28T23:42:17.236273
2019-10-01T13:56:27
2019-10-01T13:56:27
200,369,900
0
0
null
2019-08-03T12:56:33
2019-08-03T11:53:29
Shell
UTF-8
Python
false
false
2,829
py
# encoding: utf-8 # module pandas._libs.ops # from /var/www/newsbytes/CPP/venv/lib/python3.6/site-packages/pandas/_libs/ops.cpython-36m-x86_64-linux-gnu.so # by generator 1.147 # no doc # imports import builtins as __builtins__ # <module 'builtins' (built-in)> import operator as operator # /usr/lib/python3.6/operator....
[ "sarthakpatidar15@gmail.com" ]
sarthakpatidar15@gmail.com
ce3333447ac28a3d89c0757d6ada515e638e5bd2
8410bb5a2e8849bb3a554b95ddc713d88f3440c4
/aws-dev/awsdev9/venv/Lib/site-packages/dns/rdtypes/ANY/SOA.py
aec81cad8ac916e9bc71052ecbc4983cdabbd126
[ "MIT" ]
permissive
PacktPublishing/-AWS-Certified-Developer---Associate-Certification
ae99b6c1efb30e8fab5b76e3d8c821823a4cd852
b9838b4e038b42ad1813a296379cbbc40cab6286
refs/heads/master
2022-11-03T04:37:49.014335
2022-10-31T05:42:19
2022-10-31T05:42:19
219,964,717
13
11
MIT
2021-06-02T00:57:45
2019-11-06T09:54:09
Python
UTF-8
Python
false
false
4,597
py
# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc. # # Permission to use, copy, modify, and distribute this software and its # documentation for any purpose with or without fee is hereby granted, # provided that the above copyright notice and ...
[ "sonalis@packtpub.com" ]
sonalis@packtpub.com
d8adcfa0328f753994b60200ace6ca4d145e0f23
3d5bcd57b893c95bbcbfafe77bbc33c65432c9ed
/Algorithms/LeetCode/L0079exist.py
c6486ef5bca5b6781c64631e90da4eed40b18976
[]
no_license
arunachalamev/PythonProgramming
c160f34c7cb90e82cd0d4762ff9dcb4abadf9c1c
ea188aaa1b72511aeb769a2829055d0aae55e73e
refs/heads/master
2021-06-04T03:50:37.976293
2020-11-12T19:52:28
2020-11-12T19:52:28
97,364,002
3
0
null
null
null
null
UTF-8
Python
false
false
702
py
def exist(board, word): m,n = len(board), len(board[0]) def search(i,j,word): nonlocal m,n if len(word) == 0: return True if i<0 or i==m or j <0 or j==n or board[i][j] !=word[0]: return False board[i][j] = '#' for di,dj in [(0,1),(0,-1),(1,0),(-1...
[ "arunachalamev@gmail.com" ]
arunachalamev@gmail.com
0bf7dd56ef9f8d3dc81a166b9e292152ff8911ac
2aba3c043ce4ef934adce0f65bd589268ec443c5
/AOJ/courses/ITP1/3_C.py
221621fc02dd16be341b7f831191bed733e02394
[]
no_license
kambehmw/algorithm_python
4f66593b77039d90515d1fcbecacdab8c811b92f
17222399dcc92fd8f908e5774a9883e2e89c486e
refs/heads/master
2020-06-02T12:44:11.322356
2020-05-18T13:22:05
2020-05-18T13:22:05
191,157,113
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
while True: x, y = map(int, input().split()) if x == 0 and y == 0: exit() else: if x < y: print(x, y) else: print(y, x)
[ "kanbe.hmw@gmail.com" ]
kanbe.hmw@gmail.com
8af8b1154126237b12e676c20db0981a5f9e3d8e
8a14a7724d00f1eb7791e53f8446e99ecc975605
/scripts/extract_features.py
95649f83351e38ae3501cff705bf80339edd1315
[ "Apache-2.0" ]
permissive
aschn/picolo
3fa7b26d079fc9687de9c3e1e34cae774bcf8416
1f8f50e0709fdaef31bc38045ef9fd0c46aae2b5
refs/heads/master
2020-04-30T01:37:36.587287
2013-07-19T00:32:05
2013-07-19T00:32:05
9,307,233
1
0
null
null
null
null
UTF-8
Python
false
false
2,229
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @author Anna Schneider @version 0.1 @brief Typical script using picolo to extract features from point particles """ import picolo from shapes import shape_factory_from_values import argparse import os.path as path import time import csv # start timer start = time.tim...
[ "annarschneider@gmail.com" ]
annarschneider@gmail.com
1eadf13b44ed3ecced195ac1f6974c5866be1f8b
37efda4646f478b66674e384e1bc139e7874d972
/practice/RaodtoMillionaire.py
7677b54444573abaec9ffa4c8c2fa22f69a24b2b
[]
no_license
siberian122/kyoupuro
02c1c40f7c09ff0c07a1d50b727f860ad269d8b1
8bf5e5b354d82f44f54c80f1fc014c9519de3ca4
refs/heads/master
2023-04-04T02:45:29.445107
2021-04-20T07:37:47
2021-04-20T07:37:47
299,248,378
1
0
null
null
null
null
UTF-8
Python
false
false
380
py
n = int(input()) a = list(map(int, input().split())) b = [] for i in range(n-1): num = a[i]-a[i+1] b.append(num) now = 1000 stock = 0 for i in range(n-1): if b[i] > 0: # 売る now += stock*a[i] stock = 0 elif now > 0 and b[i] < 0: # 買う stock += now//a[i] now = now % a[i] ...
[ "siberian1000@gmail.com" ]
siberian1000@gmail.com
c96667e76a4d649fc180fffd2ee6abb688e027cb
d4fdbd68c42d6b9babe347cb3b65535e4d782172
/tensorflow_datasets/image/voc_test.py
1bbb9140e84808b1f66441b6ba103c2e8483ec03
[ "Apache-2.0" ]
permissive
thanhkaist/datasets
2809260c5e95e96d136059bea042d1ed969a6fcf
02da35c558ec8ea704e744a2008c5cecb2e7a0a1
refs/heads/master
2020-06-04T16:13:14.603449
2019-06-14T22:01:33
2019-06-14T22:02:54
192,097,735
2
0
Apache-2.0
2019-06-15T16:02:18
2019-06-15T16:02:18
null
UTF-8
Python
false
false
1,060
py
# coding=utf-8 # Copyright 2019 The TensorFlow Datasets Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
2fc48de98fbc2450366953e3be1285d20c36401a
ac8ffabf4d7339c5466e53dafc3f7e87697f08eb
/python_solutions/1080.insufficient-nodes-in-root-to-leaf-paths.py
4ba1ede95bb6688d9b4c3e860ddfe8e1d3dd646d
[]
no_license
h4hany/leetcode
4cbf23ea7c5b5ecfd26aef61bfc109741f881591
9e4f6f1a2830bd9aab1bba374c98f0464825d435
refs/heads/master
2023-01-09T17:39:06.212421
2020-11-12T07:26:39
2020-11-12T07:26:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,173
py
from collections import Counter, defaultdict, OrderedDict, deque from bisect import bisect_left, bisect_right from functools import reduce, lru_cache from typing import List import itertools import math import heapq import string true = True false = False MIN, MAX, MOD = -0x3f3f3f3f, 0x3f3f3f3f, 1000000007 # # @lc ap...
[ "ssruoz@gmail.com" ]
ssruoz@gmail.com
75a63b080058ba26e1aa2ae9b422c95c519a403c
3e93c3bbe35c24bf7f1a75c612ab300f37063621
/C1/L1_18_mappingnameseq_namedtuple.py
f393d21fd2cf887c699056da4973e6a7725476db
[]
no_license
rengokantai/orpycok3ed
5ac0195a48f02dcc5bbc720e812f637464215e8f
50ce744265dc6af0d1a4724ea52348faeb47764d
refs/heads/master
2021-01-10T05:05:53.477092
2016-03-12T20:04:45
2016-03-12T20:04:45
53,352,163
0
1
null
null
null
null
UTF-8
Python
false
false
693
py
__author__ = 'Hernan Y.Ke' from collections import namedtuple # memorize this syntax Me = namedtuple('Me',['first','last']) me = Me(1,2) print(me.first,me.last) she=[Me(3,4),Me(5,6)] #me = Me(first=1,last=2) # illegal! me = me._replace(first=3) print(me.first) # get namedtuple def get_num(tuplearr): res=0 ...
[ "yuriqiao@gmail.com" ]
yuriqiao@gmail.com
ca2e60ef61a63bcc4473f3bb4ca159430fb5c13a
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/intentions/PyAnnotateTypesIntentionTest/methodAfterConstructorCall.py
0cdc87e27827504a3baf5a3c8d4524a6604e3e8c
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
133
py
class MyClass: def __init__(self): pass def method(self, x): pass x = MyClass() foo = x.met<caret>hod(42)
[ "mikhail.golubev@jetbrains.com" ]
mikhail.golubev@jetbrains.com
daec12433149d0fa4a8fe97be29bea0af0818e98
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/tunas/schema_test.py
c27def77e798c010f8c380efefd021e51bc209c9
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
8,923
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
88a1fb94a80440856187d57d3df5d55a56f854f5
0dc8627205c1545b4a5d82d1b9e55bc64eedc0b8
/transcripts/conf.py
3f10dbffa1b2b69fda708f5fbb98846f344db5cd
[]
no_license
evildmp/DjangoConEuropeTranscripts
508ee00c1c2bde803dd13aaac6171eb9fbcbb2db
d21e57780e1b4c497d8a700e5b99999bded9f303
refs/heads/master
2016-08-11T06:52:40.669453
2015-08-13T22:32:33
2015-08-13T22:32:33
36,973,906
12
9
null
2017-01-01T08:49:40
2015-06-06T09:01:29
Python
UTF-8
Python
false
false
9,937
py
# -*- coding: utf-8 -*- # # Speech-to-text reports from DjangoCon Europe 2015 build configuration file, created by # sphinx-quickstart on Sat Jun 6 09:11:53 2015. # # 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...
[ "daniele@vurt.org" ]
daniele@vurt.org
e7264ccc6a71876dff805367e13c30b468a009de
8c80f1220297b91707b42a0baee31365e69d2d1d
/build/lib/WORC/plotting/plotminmaxresponse.py
3eef97f930d725f863784c0b8d43dbe6a91372e7
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Sikerdebaard/WORC
4fca18330513ea0c500a90e770beb345b427d539
2c7a23c0a0c7480af378b9e093f06989b3304c8b
refs/heads/master
2020-05-25T05:02:35.060113
2019-05-08T07:02:30
2019-05-08T07:02:30
187,640,566
0
0
null
2019-05-20T12:56:28
2019-05-20T12:56:27
null
UTF-8
Python
false
false
11,356
py
#!/usr/bin/env python # Copyright 2016-2019 Biomedical Imaging Group Rotterdam, Departments of # Medical Informatics and Radiology, Erasmus MC, Rotterdam, The Netherlands # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obt...
[ "m.starmans@erasmusmc.nl" ]
m.starmans@erasmusmc.nl
55c2841b5ae6ddfc0e8c0cb6f34e33306f5fca3a
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/cirq_new/cirq_program/startCirq_pragma58.py
8e84b65dd9e10c0774f2965011964ccb0cbd933f
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,364
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=4 # total number=11 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np class Opty(cirq.PointOptimizer): def optimization_at( ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
8dd7a8369a2f7b352443bc0d36d23dd32bcc554e
bf576b059cbecb0cbb8a6c885dcfded5bd685399
/4.Python course/3.Expand course/1.Small windmill/Small windmill.py
18c56da878b1cb6a7ef0d38234ce809b1bea040f
[]
no_license
YahboomTechnology/Superbit-expansion-board
0d3c2fd06c5df9280d230af429931af2c48dc6d5
4df7e03426d486d2b2f8f649359eee2d62851083
refs/heads/master
2023-04-07T03:16:15.786669
2023-03-29T01:12:57
2023-03-29T01:12:57
206,778,307
13
8
null
null
null
null
UTF-8
Python
false
false
426
py
from microbit import * import superbit a = 135 display.show(Image.HEART) superbit.servo270(superbit.S1, 135) superbit.motor_control(superbit.M1, 255, 0) while True: if button_a.is_pressed(): a = a - 1 if a < 0: a = 0 superbit.servo270(superbit.S1, a) elif button_b.is_press...
[ "2448532184@qq.com" ]
2448532184@qq.com
0ab091f1bac3f6b3782abb3cf2f34ba686b858fc
6dcd5f4bb4c39e2d887e5d557e188ba4c8a75081
/src/UsersDB.py
3d3f2264fceef218c5169ec87a6f6ca4b65d695f
[]
no_license
Pella86/HappyRateBot
815653033593aedc22c779025d00bddec4614f46
f23f786a3c9dc19f2378958470d82974d018bd64
refs/heads/master
2020-03-22T00:16:38.670215
2018-07-22T11:50:53
2018-07-22T11:50:53
139,234,809
1
1
null
2018-07-22T06:41:21
2018-06-30T09:01:21
Python
UTF-8
Python
false
false
4,288
py
# -*- coding: utf-8 -*- """ Created on Wed Jun 20 12:10:14 2018 @author: Mauro """ #============================================================================== # Imports #============================================================================== # py imports import os import hashlib import string # my imports ...
[ "pigmeo127@gmail.com" ]
pigmeo127@gmail.com
9980f2825f02826d27018b266928c8e25ef4e7d6
978248bf0f275ae688f194593aa32c267832b2b6
/xlsxwriter/test/comparison/test_autofilter06.py
354f84b2a2f1d14959c2854587b7e266fc15c235
[ "BSD-2-Clause-Views" ]
permissive
satish1337/XlsxWriter
b0c216b91be1b74d6cac017a152023aa1d581de2
0ab9bdded4f750246c41a439f6a6cecaf9179030
refs/heads/master
2021-01-22T02:35:13.158752
2015-03-31T20:32:28
2015-03-31T20:32:28
33,300,989
1
0
null
null
null
null
UTF-8
Python
false
false
2,859
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2015, John McNamara, jmcnamara@cpan.org # from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
108e02ca3f0e8e3ea1c4460e16956878f2407df1
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/network/virtual_network_tap.py
bcdbaf91e38252e9c1258aa4d97c8130368e7538
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,511
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
708a1faf765b96d7f5a0505c9bf4c02d987ff8ba
07504838d12c6328da093dce3726e8ed096cecdb
/pylon/resources/properties/highLimDly.py
bc4cf1c574d3d5599664567f174174735af07093
[]
no_license
lcoppa/fiat-lux
9caaa7f3105e692a149fdd384ec590676f06bf00
7c166bcc08768da67c241078b397570de159e240
refs/heads/master
2020-04-04T02:47:19.917668
2013-10-10T10:22:51
2013-10-10T10:22:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,294
py
"""highLimDly standard property type, originally defined in resource file set standard 00:00:00:00:00:00:00:00-0.""" # Copyright (C) 2013 Echelon Corporation. All Rights Reserved. # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (th...
[ "lcoppa@rocketmail.com" ]
lcoppa@rocketmail.com
2f8c03f052351b799bfba46a92f2566cc993aedd
5181d3b3ef8fe301ea2d6b095260e9d327c2fd79
/scripts/dl/download_hrrr.py
dad9ed84e463252c8a1b7b4fff6d35e96c53d1d1
[]
no_license
danhreitz/iem
88113ef9c9c4a2918c9c2abdfd0510d5ca4ec819
ed490dcd6c2a8359f88cb805ccee8f6707566f57
refs/heads/master
2021-01-18T15:27:28.607250
2015-08-10T21:33:54
2015-08-10T21:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,340
py
""" Since the NOAAPort feed of HRRR data does not have radiation, we should download this manually from NCEP Run at 40 AFTER for the previous hour """ import urllib2 import sys import datetime import os def fetch(valid): """ Fetch the radiation data for this timestamp 80:54371554:d=2014101002:ULWRF:top of...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
3b79ecee53bab652825699f9a829541d12808883
53d22468fb1c9e0f4b4710a31fb7ac638549b8a7
/src/episode_stats.py
8c746bbebadc8b8367d5a5f0ae15a6bda7162cea
[ "MIT" ]
permissive
binderwang/drivebot
768bcfe224d94b931c45c41ced2a1b0067c6417d
a8fb86731c52b7594dd135e8759622c29172b557
refs/heads/master
2020-12-14T09:48:59.857490
2016-05-03T03:17:58
2016-05-03T03:17:58
58,269,730
1
0
null
2016-05-07T14:33:18
2016-05-07T14:33:17
null
UTF-8
Python
false
false
261
py
#!/usr/bin/env python import json import sys episode_id = 0 for line in sys.stdin: episode = json.loads(line) rewards = [event['reward'] for event in episode] print "\t".join(map(str, [episode_id, len(episode), sum(rewards)])) episode_id += 1
[ "matthew.kelcey@gmail.com" ]
matthew.kelcey@gmail.com
1ed8a791199fb00c45f4eb0ca5c4eb7b0da7e94c
20db5a27f2a8b2d324085f5e1ec6c46ad7c1e8c3
/manage.py
c330237e8173667cd9d46db5ee3ead0af6d478a2
[]
no_license
mortadagzar/djangoMovie
dae326fc83a31e485792b1ee42fa89b7d681049d
e83904c0c1ecc45992eed7516cb483bd2c97590b
refs/heads/master
2020-04-01T22:32:28.246877
2018-10-19T02:41:22
2018-10-19T02:41:22
153,713,907
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'djangoMovie.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. ...
[ "mortadagzar@gmail.com" ]
mortadagzar@gmail.com
f6b0c0ebfcfea1688b03ec725be8faebb3cbbbee
2598f255696842f043372dd68fe4d5fd48d1a41c
/Ofelia/expedient/src/python/expedient/clearinghouse/users/views.py
5bd342d561ba8106b5c71655fbdfedc0cbb0a6c3
[ "BSD-3-Clause" ]
permissive
zanetworker/C-BAS
8e5442df83626e95d9562497278869ee3c4fad51
695c6f72490a02bbb308d44526631dbf426ab900
refs/heads/master
2021-01-01T06:55:39.085086
2014-08-11T09:37:42
2014-08-11T09:37:42
22,351,372
1
0
null
2014-08-08T16:15:54
2014-07-28T17:28:44
Python
UTF-8
Python
false
false
7,668
py
''' Created on Dec 3, 2009 @author: jnaous ''' from django.shortcuts import get_object_or_404 from django.http import HttpResponseRedirect, HttpResponseNotAllowed from django.core.urlresolvers import reverse from expedient.clearinghouse import users from django.views.generic import create_update, simple from django.c...
[ "umar.toseef@eict.de" ]
umar.toseef@eict.de
8d637f9712aa8cd0fa725ea3c7b3285cb522f1da
be5a758c99f05c8ae8c224bf43335154114ee5f6
/kombu/compat.py
224f2e33e5d44865c3202047427a7e1c535ba30d
[ "BSD-3-Clause" ]
permissive
bradjasper/kombu
160ed1b5651f91a87752df40791d01c91ca1fe16
4c9ac1436eb0468508f8b2cf1bda997535e1326d
refs/heads/master
2021-01-16T00:23:17.928400
2010-07-28T17:25:32
2010-07-28T17:25:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,431
py
from itertools import count from kombu import entity from kombu import messaging def iterconsume(connection, consumer, no_ack=False, limit=None): consumer.consume(no_ack=no_ack) for iteration in count(0): if limit and iteration >= limit: raise StopIteration yield connection.drain_...
[ "askh@opera.com" ]
askh@opera.com
c3af127904d957a29958033e8898da66cbee1238
70ed82598c7ae19dc3de4a3a8400e9767b8a74b0
/Net/BaseNet/ResNet/fine_tuning_2.py
a5c28f115867e33b9eb23304dfaf71d8d7a0216b
[]
no_license
UpCoder/MedicalImage
f255922b988392cd4c3a90715fb945ee20edb3b4
34c11562658e6f362ee7eb53740ba96209a22d45
refs/heads/master
2021-01-19T16:59:13.251726
2017-12-04T14:55:32
2017-12-04T14:55:32
101,031,357
0
1
null
null
null
null
UTF-8
Python
false
false
6,832
py
# -*- coding: utf-8 -*- # 使用patch训练好的模型,来对ROI进行微调 from resnet import inference_small, loss import tensorflow as tf from Config import Config as sub_Config from Slice.MaxSlice.MaxSlice_Resize import MaxSlice_Resize from tensorflow.examples.tutorials.mnist import input_data from Tools import changed_shape, calculate_acc_...
[ "546043882@qq.com" ]
546043882@qq.com
efc54871703ecce3f1cb626bd1351abbdff392ef
34ef83114e02b173bd2d55eb53ad399e738a8e3c
/django/test_bootstrap/blog/models.py
b12d7ddd4b0a24411e62b4e99bf00bcafa60e565
[]
no_license
vavilon/Python3
e976a18eb301e4953696d1e3f4730ed890da015a
8c79729747ce51d60ad685e6a2e58292954ed7eb
refs/heads/master
2023-01-09T13:44:37.408601
2018-01-25T22:41:14
2018-01-25T22:41:14
100,892,055
0
1
null
2022-12-26T20:29:27
2017-08-20T22:23:06
Python
UTF-8
Python
false
false
506
py
from django.db import models # Create your models here. from django.utils import timezone class Post(models.Model): author = models.ForeignKey('auth.User') title = models.CharField(max_length=200) text = models.TextField() created_date = models.DateTimeField( default=timezone.now) publishe...
[ "overon4ek@gmail.com" ]
overon4ek@gmail.com
3fac458c8f38d04e4724c1f19199c6c517b324b6
675b72eae65f8e258794decf9627e5fdf8b04559
/plugin_tests/examples_test.py
aa8ae4a0e021a3a57aefdf2dd02021e68f45841a
[ "Apache-2.0" ]
permissive
jbeezley/large_image
368f730ea6fe2c4b75a9c3412c08ce8f41be545a
ac4cbaff4ae2fbbde425d3cd1aee2ff03e6235c8
refs/heads/master
2021-01-11T06:15:48.687563
2016-10-24T17:09:08
2016-10-24T17:09:08
71,806,470
0
0
null
2016-10-24T16:04:04
2016-10-24T16:04:03
null
UTF-8
Python
false
false
1,695
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ############################################################################## # Copyright Kitware 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 t...
[ "david.manthey@kitware.com" ]
david.manthey@kitware.com
434153e344fd51bbd477726190b6bffce6f42c4d
3de3dae722829727edfdd6cc3b67443a69043475
/edexOsgi/com.raytheon.uf.common.dataplugin.text/pythonPackages/dynamicserialize/dstypes/com/raytheon/uf/common/dataplugin/text/subscription/request/SubscriptionRequest.py
237472774c674b7b8fb879656ce996c5d08db82a
[ "LicenseRef-scancode-public-domain", "Apache-2.0" ]
permissive
Unidata/awips2
9aee5b7ec42c2c0a2fa4d877cb7e0b399db74acb
d76c9f96e6bb06f7239c563203f226e6a6fffeef
refs/heads/unidata_18.2.1
2023-08-18T13:00:15.110785
2023-08-09T06:06:06
2023-08-09T06:06:06
19,332,079
161
75
NOASSERTION
2023-09-13T19:06:40
2014-05-01T00:59:04
Java
UTF-8
Python
false
false
1,268
py
## # This software was developed and / or modified by Raytheon Company, # pursuant to Contract DG133W-05-CQ-1067 with the US Government. # # U.S. EXPORT CONTROLLED TECHNICAL DATA # This software product contains export-restricted data whose # export/transfer/disclosure is restricted by U.S. law. Dissemination # to non...
[ "mjames@unidata.ucar.edu" ]
mjames@unidata.ucar.edu
d485028798e1c737f0af507daf3b21f679ec03ae
b55c368efdfe360123be1a2e7677cee53706d1f9
/VectorTrans/Main.py
7f33d97819742d7ae327669e60bb979628d2c4fb
[ "MIT" ]
permissive
ZzhiWang/DRImplicitVecXform
207cd6ef6edf5bc90b2abb1242e2d7bb3b322f95
2ec0c64fb098e29ce74929f5e19bce90b2f5791c
refs/heads/master
2023-03-17T14:51:34.755756
2020-08-01T09:26:35
2020-08-01T09:26:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,904
py
import numpy as np from Tools import Preprocess from VectorTrans.DRTrans import DRTrans from VectorTrans.MDSTrans import MDSTrans from VectorTrans.TSNETrans import TSNETrans from VectorTrans.PCATrans import PCATrans from VectorTrans.MDSTransPlus import MDSTransPlus from VectorTrans.TSNETransPlus import TSNETransPlus fr...
[ "sdu2014@126.com" ]
sdu2014@126.com
b9fc0ded63c3c6f0ff7857c261a68f18076d6d8e
9dc8c299ee7d4a225002127cc03b4253c8a721fd
/libs/unittest/live_related_condition.py
5604fdc9fc852993f3b40a2a692f9a1c3da1f49b
[]
no_license
namesuqi/strategy_corgi
5df5d8c89bdf7a7c465c438048be20ef16120f4f
557b8f8eabf034c2a57c25e6bc581858dd4f1b6e
refs/heads/master
2020-03-07T04:00:18.313901
2018-03-29T07:50:50
2018-03-29T07:50:50
127,253,453
0
0
null
null
null
null
UTF-8
Python
false
false
4,149
py
# !/usr/bin/python # coding=utf-8 # author: JinYiFan from config import * from libs.module.live_seeds import * import time def wait_for_second(wait_time): time.sleep(wait_time) def change_config(live_file_count, live_peer_count, rate_of_peer_and_file): """ 修改config文件的参数配置 :param live_file_count: 文件...
[ "suqi_name@163.com" ]
suqi_name@163.com
b8acc579b13a7bb35130f20698e3489073b14792
773deb7825ff84eec3e0cf6ae8266d07251df392
/CHAPTER05/bw41.py
c7231b7bd8d7d2ba190f52df2a0fa74e6f62a961
[]
no_license
kji0205/py
3ca9c2a351af05ce62d7c7c3c261ed98a7e8290d
b45ffb3424b7c0da8192d431cb7ad7933c60ef81
refs/heads/master
2021-01-20T18:57:51.603386
2016-06-23T14:24:57
2016-06-23T14:24:57
61,639,536
0
0
null
null
null
null
UTF-8
Python
false
false
905
py
# 진정한 병렬성을 실현하려면 concurrent.futures를 고려하자 import logging from pprint import pprint from sys import stdout as STDOUT from time import time def gcd(pair): a, b = pair low = min(a, b) for i in range(low, 0, -1): if a % i == 0 and b % i == 0: return i numbers = [(1963309, 2265973), (2030677, 3814172), (1551645...
[ "kji0205@gmail.com" ]
kji0205@gmail.com
b92db110450f2c14108bb1fe808f9ce2eb57621f
2d1649a7a00d49b72ed7e53afa4abb3c9281ce03
/.history/ParticleFilter/go_to_goal_20190422001746.py
b97cd844c688b0223ebd64a788ff07412f228001
[]
no_license
joshzhang5/CS3630Lab6
9547dc6c89198e9bb4aebd8359d4feb974082d20
69e6df12829e18a211ae850236d74b4d728046ef
refs/heads/master
2020-05-15T13:59:51.906195
2019-04-22T18:21:42
2019-04-22T18:21:42
182,317,674
0
0
null
null
null
null
UTF-8
Python
false
false
12,111
py
# Jiaxi Zhang # George McAlear try: import matplotlib matplotlib.use('TkAgg') except ImportError: pass from skimage import color import numpy as np from numpy.linalg import inv import threading import time import sys import asyncio from PIL import Image from markers import detect, annotator from grid i...
[ "josh@lawn-143-215-110-217.lawn.gatech.edu" ]
josh@lawn-143-215-110-217.lawn.gatech.edu
4c7ea5619cc66f92ba1b9905cdc2da6911ed9e1f
b2d3bd39b2de8bcc3b0f05f4800c2fabf83d3c6a
/examples/pwr_run/checkpointing/throughput/final3/main.py
7a486cdf102a8565fccfdac8cf8ebbcbaf5f011c
[ "MIT" ]
permissive
boringlee24/keras_old
3bf7e3ef455dd4262e41248f13c04c071039270e
1e1176c45c4952ba1b9b9e58e9cc4df027ab111d
refs/heads/master
2021-11-21T03:03:13.656700
2021-11-11T21:57:54
2021-11-11T21:57:54
198,494,579
0
0
null
null
null
null
UTF-8
Python
false
false
31,723
py
import pdb import time import os import subprocess import re import random import json import numpy as np import glob from tensorboard.backend.event_processing.event_accumulator import EventAccumulator import socket import argparse import threading import _thread import signal from datetime import datetime import csv f...
[ "baolin.li1994@gmail.com" ]
baolin.li1994@gmail.com
ab12cc2538c903dfca478ff16c8508153a7312c9
994ea22f35c635fdf139af9282b0d3a3d86ea34a
/ud120-projects-intro_to_machine_learning/decision_tree/dt_author_id.py
667e184f992ddbc3679ee4787f6ce8ba6bcc894a
[]
no_license
zjyx147/Udacity
ac371fbc5b5b456e88b411657ef5a28c3b071c6c
d86fadd537dbacc6f8142b043e71527b0448bae3
refs/heads/master
2022-06-23T14:25:41.242353
2019-06-20T20:12:13
2019-06-20T20:12:13
191,207,247
0
0
null
2022-06-21T22:07:35
2019-06-10T16:42:18
DIGITAL Command Language
UTF-8
Python
false
false
1,128
py
#!/usr/bin/python """ This is the code to accompany the Lesson 3 (decision tree) mini-project. Use a Decision Tree to identify emails from the Enron corpus by author: Sara has label 0 Chris has label 1 """ import sys from time import time sys.path.append("../tools/") from email_preprocess im...
[ "zjyx147@gmail.com" ]
zjyx147@gmail.com
fd11ad2bc7dc9769012fedd041968541efec6284
9c21e49150c99751231ad399bdba1850bb60c88c
/finders/views.py
2810a5c9ef7cfcac6aa72c7420545809a1090294
[ "MIT" ]
permissive
netvigator/auctions
3ab4086cb0bfbc736b17ede4e928f3ead2b08a4c
fc3766226cc65ac8694dffc74e893ecff8e7d07c
refs/heads/main
2023-05-25T15:55:01.249670
2023-05-06T14:51:12
2023-05-06T14:51:12
92,816,101
0
0
MIT
2023-02-16T05:24:34
2017-05-30T09:14:39
Python
UTF-8
Python
false
false
10,419
py
from django.conf import settings from core.views import ( DetailViewGotModel, ListViewGotModel, UpdateViewCanCancel, CreateViewCanCancel ) from django.http import HttpResponseRedirect from .forms import ItemFoundForm, UserItemFoundForm from .mixins import AnyRe...
[ "gravesricharde@yahoo.com" ]
gravesricharde@yahoo.com
d56e7846c82c52f70ed8995eae5b8812797b0c59
8f6aa9ac9c8c2e409875bbf36fbc49b3eb37d88b
/enthought/blocks/parser_.py
f1a794e50470f6bace4dc005a1697707cf3acf70
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
enthought/etsproxy
5660cf562c810db2ceb6b592b6c12274bce96d73
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
refs/heads/master
2023-03-27T04:51:29.297305
2020-12-02T09:05:18
2020-12-02T09:05:18
1,632,969
3
1
NOASSERTION
2020-12-02T09:05:20
2011-04-18T22:29:56
Python
UTF-8
Python
false
false
93
py
# proxy module from __future__ import absolute_import from codetools.blocks.parser_ import *
[ "ischnell@enthought.com" ]
ischnell@enthought.com
c9bbb18d49a220a9c5dba67e26b75ee3e9d1b3c3
ad1ff82d1361f76b043faa304aa3b7be3652b303
/tools/supervisor.py
40f2f0a9c939658268aa3ae39a028bf539add829
[]
no_license
jon--lee/aor
3a0f92e345a88c347146acba4b9f7513a3a986cf
4a4cd8800dfc209c382507740e68586b34178a1b
refs/heads/master
2020-06-10T05:31:51.179020
2019-06-24T23:48:24
2019-06-24T23:48:24
193,597,583
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
import numpy as np from expert import tf_util class Supervisor(): def __init__(self, act): self.act = act def sample_action(self, s): return self.intended_action(s) def intended_action(self, s): action = self.act(s[None], stochastic=False)[0] return action clas...
[ "123abcjonathanlee@gmail.com" ]
123abcjonathanlee@gmail.com
285bb70b43f6c87ac58cc9c0d7d50b7983f5ac64
8b57df3640fd9a726a8729c051dc27dbaee16059
/notify/apps.py
985c0feae7a585b8cbecad503a2120d658c0dc2f
[]
no_license
sinjorjob/django-notification-function
86678df54e12b58a2feb315f10fde585412a2029
15ba6111474641498dbcd83ea0bd06d40b348387
refs/heads/master
2023-05-31T13:41:26.147761
2021-06-26T07:05:31
2021-06-26T07:05:31
380,437,265
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
from django.apps import AppConfig class NotifyConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'notify'
[ "sinforjob@gmail.com" ]
sinforjob@gmail.com
09ac2327168508b61c167a4490edbc965fda67e3
7a55d3fac2bc2b7afd46300182944d3cb1b8a370
/clearpath/clearpath
a0265890c276994cb6ac2240c003f7c7a579b66e
[]
no_license
btownshend/CNCConfig
5d3eca22573c0534ce0b5c43a6958c2d5011a992
bdadea7bacf4c5d373faeab30f31b1d5145fb3d3
refs/heads/main
2023-03-16T16:11:44.071625
2021-03-14T22:08:10
2021-03-14T22:08:10
329,538,393
0
0
null
null
null
null
UTF-8
Python
false
false
1,415
#!/usr/bin/env python import ctypes import hal, time import sys,os print('sys.argv[0] =', sys.argv[0]) pathname = os.path.dirname(sys.argv[0]) print('path =', pathname) lib=ctypes.CDLL(pathname+"/getstatus.so") print('getstatus.so loaded') h=hal.component("clearpath") h.newpin("0.fault",hal.HAL_B...
[ "bst@tc.com" ]
bst@tc.com
fe52b2cd35017acf657af7d8ab0cb4f759250d7a
0e08e9873549c514245842c5f4ad01769e1c76d6
/myblog/blog/tests.py
ec7bc624daecb07dd9bc9025f52c0c33afa1036c
[]
no_license
liangxs0/Django_study
39afe9c889467eb81e2ecdcee4e285c2bd27d28a
2f509bce6cdaaee288c37a603978a96ffc43f0e4
refs/heads/main
2023-04-25T20:30:05.275066
2021-05-31T03:27:24
2021-05-31T03:27:24
372,365,793
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
# from django.test import TestCase # # # # from django.contrib.auth.hashers import make_password, check_password # # # Create your tests here. # x = make_password("123", 'abc', 'pbkdf2_sha256') # y = make_password("123", 'abc', 'pbkdf2_sha256') # print(x) # print(y) def a(nums): nums = [str(n) for n in nums] n...
[ "1033808656@qq.com" ]
1033808656@qq.com
807b8f72c43040317da699074158ef426c15575e
6bb45c5892b4c9692dcc44116fb73dc9e7ab90ff
/advanced_functionality/autogluon-sagemaker-pipeline/setup.py
56a675d8c0cac3a064199a11bd56e8e1316b0dce
[ "Apache-2.0", "BSD-2-Clause" ]
permissive
aws/amazon-sagemaker-examples
8359afe544e873662bda5b8d2b07399c437213c9
43dae4b28531cde167598f104f582168b0a4141f
refs/heads/main
2023-08-26T04:42:52.342776
2023-08-25T14:37:19
2023-08-25T14:37:19
107,937,815
4,797
3,519
Apache-2.0
2023-09-14T19:47:03
2017-10-23T05:55:22
Jupyter Notebook
UTF-8
Python
false
false
1,569
py
import os import setuptools about = {} here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, "pipelines", "__version__.py")) as f: exec(f.read(), about) with open("README.md", "r") as f: readme = f.read() required_packages = ["sagemaker"] extras = { "test": [ "black", ...
[ "noreply@github.com" ]
aws.noreply@github.com
55f2794ab24a2c74169da65c168ce04bb3914a86
384a612001a5fdd5d089898f13cc7aef3b954a6e
/coupons/models.py
a70532afc380b7291804bb0f539e35ea14a9e0e6
[]
no_license
purum01/test_django_onlineshop
f3a9c4d12d4077ea69cb9ad372e5acc5243379b7
c4a40a273a512c939a364bee91bab950559d0f87
refs/heads/main
2023-06-14T12:11:05.614611
2021-07-03T14:34:01
2021-07-03T14:34:01
380,695,829
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
from django.db import models from django.core.validators import MinValueValidator, MaxValueValidator class Coupon(models.Model): code = models.CharField(max_length=50, unique=True) valid_from = models.DateTimeField() valid_to = models.DateTimeField() discount = models.IntegerField(validators=[MinValueV...
[ "purumskyamy@gmail.com" ]
purumskyamy@gmail.com
64ca497be5be743de5dd8bc59793c84cf3431d4f
18c6f7ee10526583d8c65acc5ce04579a91fdeeb
/ch_01/18.tuple.py
cd04da0d3333b776026f7697790ddcee7dacff23
[]
no_license
cloudsecuritylabs/pythonProject_1
97273634df25e306d0a2aed56fcf5c836d2ac33c
8fc0d17b549d7195f8de46a227e5bb5d9f2ed4ed
refs/heads/master
2023-07-22T16:06:14.550571
2021-08-24T03:09:00
2021-08-24T03:09:00
399,319,867
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
''' Let's learn about tuple ''' # tuple is immutable my_tup = ('cat', 'dog', 'horse') # NoneType my_tup = [] food = None if food is None: print("Hey give me something")
[ "basu.ankan@gmail.com" ]
basu.ankan@gmail.com
29aaf9830413dce680cb164b3a8dd63745dd68af
1572b7dea50699582879b2b9fcedef12f2ef6704
/verification/src/referee.py
26e014f1e115a5887f39fd778b5563bcb03c8beb
[]
no_license
khanukov/checkio-empire-broken-report
7106869fc504a2551fb7a1d412245a74c9401f64
64d68d89b99c2116c12fd1d579961ab699a760c6
refs/heads/master
2020-12-03T02:19:33.174438
2015-04-07T14:12:08
2015-04-07T14:12:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
from checkio_referee import RefereeCodeGolf from checkio_referee import covercodes import settings_env from tests import TESTS # TODO Golf class Referee(RefereeCodeGolf): DEFAULT_MAX_CODE_LENGTH = 150 BASE_POINTS = 15 TESTS = TESTS ENVIRONMENTS = settings_env.ENVIRONMENTS DEFAULT_FUNCTION_NAME...
[ "bvv.mag@gmail.com" ]
bvv.mag@gmail.com
ccee78a2b9646c3ed52024216b909a64eb921b0c
e4aab0a71dc5c047d8b1576380b16364e03e7c0d
/core/ajax.py
0d38f835124b1bb6fdc17e253409ede47b76fd44
[ "Apache-2.0" ]
permissive
Joecastra/Watcher3
8ca66c44846030f0eb771d9d6ddeb9c37f637a4e
ce25d475f83ed36d6772f0cc35ef020d5e47c94b
refs/heads/master
2021-01-19T11:05:55.454351
2017-04-10T20:17:24
2017-04-10T20:17:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
39,761
py
import json import logging import os import sys import threading import cherrypy from base64 import b16encode import core from core import config, library, plugins, poster, searchresults, searcher, snatcher, sqldb, version from core.providers import torrent, newznab from core.downloaders import nzbget, sabnzbd, transmi...
[ "nosmokingbandit@gmail.com" ]
nosmokingbandit@gmail.com
cff553459a9e293fc45181572d58c0948c7b2fb5
d6202e2fff0f0b22094a8bc383c3744cdcda6000
/doc/gaussian_worker.py
8947faa117d156fa87ff8bfc2d62fbcee2ef81ee
[ "MIT" ]
permissive
pstjohn/bde
dc8e639527d281dade935141b06fbedc5958e4c8
5677af8dcbb992c7888746aa018302e6fb04e67d
refs/heads/master
2022-07-16T02:17:59.151174
2022-06-30T19:52:01
2022-06-30T19:52:01
168,446,254
27
9
MIT
2021-09-07T16:20:45
2019-01-31T02:00:54
Python
UTF-8
Python
false
false
2,626
py
import psycopg2 import time import logging import random import subprocess import socket dbparams = { # In this example file, the database connection parameters (server, password, etc), # has been removed. This file is mainly to show an example of how a SQL database # was used to queue and dispatch Gaussian calculatio...
[ "peterc.stjohn@gmail.com" ]
peterc.stjohn@gmail.com
13d00496340bf494c42e637092864c02cd223882
8030404af9a6b2555387a49a3e43a47be7a26470
/peggy/lib/alipaylib/alipayConfig.py
2799153644f19ca6690396e6c9260dcb2097eff1
[]
no_license
mebusw/tianjinsports-server
d5de7aae1a25affdd3c91c78e5a82b0d4c10220f
3402ac634fc92b5ccdf049f530e6b7b8b604aac1
refs/heads/master
2016-09-06T21:32:40.096629
2015-03-14T13:20:24
2015-03-14T13:20:24
32,121,712
0
1
null
null
null
null
UTF-8
Python
false
false
502
py
import os partner = "2088711061370024" key = "j5f5nc0lev9wch24t2cotwdvqkwexgww" seller_mail = "17sports@sina.cn" if 'SERVER_SOFTWARE' in os.environ: notify_url = "http://1.peggy.sinaapp.com/peggy/paid_notify_wap" return_url = "http://1.peggy.sinaapp.com/peggy/paid_wap" show_url = "http://1.peggy.sinaapp.c...
[ "mebusw@163.com" ]
mebusw@163.com
f05b968e39febf01d27debcf0bed250e13309c9a
8898273f9811fab29eb5621734bafcdf204d8229
/scipy-stubs/integrate/quadrature.pyi
21ea590c9993068c72b5be57697a1ef607670d6b
[]
no_license
tyrion/scipy-stubs
628ad6321a7e1502683a2b55a759777508ab4b67
bf49a91313523c4f635bc3e5d14444c1361caf64
refs/heads/master
2020-05-30T21:59:43.001510
2019-06-03T10:30:54
2019-06-03T10:30:54
189,984,340
0
0
null
null
null
null
UTF-8
Python
false
false
970
pyi
# Stubs for scipy.integrate.quadrature (Python 3.6) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from numpy import trapz as trapz from typing import Any, Optional class AccuracyWarning(Warning): ... def fixed_quad(func: Any, a: Any, b: Any, args: Any = ..., n: int = ...): ... def qua...
[ "germano.gabbianelli@contentwise.tv" ]
germano.gabbianelli@contentwise.tv
188b926a0273d9407218185aa3016d3f02c1eb88
55b57d64ec547869835334318f3059fbb507558c
/Fred2/Data/pssms/smm/mat/A_32_07_9.py
9d57732d1c3384a786473ec66600efe950cc1551
[ "BSD-3-Clause" ]
permissive
FRED-2/Fred2
9845f6678d4011cb746c7a5a6f283eea68077a02
b3e54c8c4ed12b780b61f74672e9667245a7bb78
refs/heads/master
2021-07-12T05:05:54.515427
2020-05-25T06:56:25
2020-05-25T06:56:25
16,275,425
42
35
null
2021-07-07T12:05:11
2014-01-27T10:08:11
Python
UTF-8
Python
false
false
2,145
py
A_32_07_9 = {0: {'A': 0.197, 'C': 0.0, 'E': -0.11, 'D': 0.0, 'G': -0.053, 'F': 0.087, 'I': 0.122, 'H': -0.115, 'K': -0.109, 'M': 0.153, 'L': 0.056, 'N': 0.0, 'Q': -0.004, 'P': 0.0, 'S': -0.278, 'R': -0.213, 'T': -0.08, 'W': 0.169, 'V': 0.0, 'Y': 0.177}, 1: {'A': 0.177, 'C': 0.0, 'E': 0.245, 'D': 0.0, 'G': -0.006, 'F': ...
[ "schubert@informatik.uni-tuebingen.de" ]
schubert@informatik.uni-tuebingen.de
b32a67ea872da39fa07c33669690cc804b81d4ba
5c80c1c3a24399db5d7c2a259a3e2d18dcbe79a2
/TensorFlow/computer_vision/densenet_keras/models/densenet.py
0b3007fe678d074e264f54166cd76a0aededbb19
[ "MIT", "Apache-2.0" ]
permissive
maxchung2001/Model-References
b2f26cec3bcfc912f50379e47fcff7cb60ea96d2
bc8da16830c1c35e5d1458ba2e46df8726e10f29
refs/heads/master
2023-04-12T16:37:27.103316
2021-04-22T07:00:01
2021-04-22T07:00:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,199
py
# Copyright 2018 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...
[ "mpandit@habana.ai" ]
mpandit@habana.ai
eae6d7708433536367bc9b2cb96ce49711facb5d
2ebc85f7f34a459d69ff412f956b43ab2472590f
/backend/tasker_business/migrations/0001_initial.py
95053422e99e4ae9ece3cd837ff4b1db4b389baf
[]
no_license
crowdbotics-apps/mobile-car-wash-23107
4ea678f1c88fe4c96eb498535e4fb14e60110ae0
96b057e5989a8b5dbb1267f93c0a34f57a72d636
refs/heads/master
2023-01-19T21:07:11.993601
2020-12-01T12:55:21
2020-12-01T12:55:21
317,537,397
0
0
null
null
null
null
UTF-8
Python
false
false
2,617
py
# Generated by Django 2.2.17 on 2020-12-01 12:53 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('task_category', '0001_initial'), ('task_profile', '0001_initial'), ] operations = [ ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
b32b76f682558b542d37e0757152e22391f98198
e2f5479f73bdfb9cd93a2fd7c615da369a43a499
/tests/lastfm/commands/test_cmd_add.py
eb79cd38db6d075e48444f318b17fe6ab264ae91
[ "MIT" ]
permissive
tefra/pytuber
8bdb837d0912c9bacab0bff1e0196bfdba67cb62
a7c5d6252584dc0abee946e707f496cecaebf1bb
refs/heads/master
2022-05-19T21:48:02.129812
2022-05-08T10:08:40
2022-05-08T10:10:24
161,838,438
10
6
MIT
2022-05-08T09:45:24
2018-12-14T20:44:26
Python
UTF-8
Python
false
false
6,159
py
from unittest import mock from pytuber.cli import cli from pytuber.core.models import PlaylistManager from pytuber.core.models import Provider from pytuber.lastfm.models import PlaylistType from pytuber.lastfm.models import UserPlaylistType from pytuber.lastfm.params import ArtistParamType from pytuber.lastfm.params i...
[ "chris@komposta.net" ]
chris@komposta.net
5df5e0dd5c4926e279b6ba9b730b3394612747dc
3cdb4faf34d8375d6aee08bcc523adadcb0c46e2
/web/env/lib/python3.6/site-packages/user_agents/__init__.py
b8dc2453a93f1e47e2146c07f97dc0191a628b39
[ "MIT", "GPL-3.0-only" ]
permissive
rizwansoaib/face-attendence
bc185d4de627ce5adab1cda7da466cb7a5fddcbe
59300441b52d32f3ecb5095085ef9d448aef63af
refs/heads/master
2020-04-25T23:47:47.303642
2019-09-12T14:26:17
2019-09-12T14:26:17
173,157,284
45
12
MIT
2020-02-11T23:47:55
2019-02-28T17:33:14
Python
UTF-8
Python
false
false
48
py
VERSION = (2, 0, 0) from .parsers import parse
[ "rizwansoaib@gmail.com" ]
rizwansoaib@gmail.com
3c03f32e5eb27a8eed60265897afc1267e87e8c7
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/133/usersdata/219/41408/submittedfiles/al15.py
a09e1d37170fb844e616c106b8bacdfa9a11aef3
[]
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
127
py
# -*- coding: utf-8 -*- i=1 for i in range(1000,9999,1): a1=i%100 a2=i/100 if((a1+a2)*(a1+a2)==i): print('%d/n' i)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
7818dfe58848eb01336f7b5651924a5ed6c63634
de01cb554c2292b0fbb79b4d5413a2f6414ea472
/algorithms/Medium/375.guess-number-higher-or-lower-ii.py
b6799751f60aa606ef7ea7280f4aafd950549035
[]
no_license
h4hany/yeet-the-leet
98292017eadd3dde98a079aafcd7648aa98701b4
563d779467ef5a7cc85cbe954eeaf3c1f5463313
refs/heads/master
2022-12-10T08:35:39.830260
2020-09-02T23:12:15
2020-09-02T23:12:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,154
py
# # @lc app=leetcode id=375 lang=python3 # # [375] Guess Number Higher or Lower II # # https://leetcode.com/problems/guess-number-higher-or-lower-ii/description/ # # algorithms # Medium (40.27%) # Total Accepted: 64.6K # Total Submissions: 160.4K # Testcase Example: '1' # # We are playing the Guess Game. The game i...
[ "kevin.wkmiao@gmail.com" ]
kevin.wkmiao@gmail.com
510028271dd0273b95172ae8801f8c4076dd5a48
700c7801958dd4789caf94785b5dc8c5e3daa4fd
/ttp/src/s3_enum_bucket_src.py
8b1c813243ec768cb7a2e4575bac6e14f2e45359
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
blackbotsecurity/AWS-Attack
24d4cd6ebda067e9672f4f963d414a7b176e3551
ad4668ab60173aabce3c6b9c7685160be5e3f14d
refs/heads/master
2023-03-14T00:05:54.965341
2021-03-05T12:44:27
2021-03-05T12:44:27
331,603,794
14
1
null
null
null
null
UTF-8
Python
false
false
5,507
py
#!/usr/bin/env python3 import datetime import argparse import datetime from copy import deepcopy import os from botocore.exceptions import ClientError FILE_SIZE_THRESHOLD = 1073741824 def get_bucket_size(awsattack, bucket_name): client = awsattack.get_boto3_client('cloudwatch', 'us-east-1') response = client...
[ "github.nk@blackbot.io" ]
github.nk@blackbot.io
17f8fab62badcdbbb88d5cfd0c6c4506f86e6b50
fa7c302f7df6b1773b27de3b742d551bd54aa4e2
/test/test_input_device_all_of.py
611ab21c2acb46f2c420d439e774eb725eb3aeaa
[]
no_license
cons3rt/cons3rt-python-sdk
d01b3b174c295491130fba0d76d046b16492e9f7
f0bcb295735ac55bbe47448fcbd95d2c7beb3ec0
refs/heads/master
2021-11-04T02:31:54.485541
2021-10-26T19:28:57
2021-10-26T19:28:57
241,673,562
0
0
null
null
null
null
UTF-8
Python
false
false
879
py
# coding: utf-8 """ CONS3RT Web API A CONS3RT ReSTful API # noqa: E501 The version of the OpenAPI document: 1.0.0 Contact: Fred@gigagantic-server.com Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import cons3rt from cons3rt.models.inp...
[ "shaun.tarves@jackpinetech.com" ]
shaun.tarves@jackpinetech.com
f9c6490f5ece41b650d48ea79d24c13544978d7d
f68732bc40a7a90c3a1082e4b3a4154518acafbb
/script/dbus/sessionBus/inputDeviceTouchPad/011_palmMinWidth.py
2aa00b420156397e97ca272516be555d2391a05b
[]
no_license
lizhouquan1017/dbus_demo
94238a2307e44dabde9f4a4dd0cf8ec217260867
af8442845e722b258a095e9a1afec9dddfb175bf
refs/heads/master
2023-02-11T19:46:27.884936
2021-01-08T05:27:18
2021-01-08T05:27:18
327,162,635
0
0
null
null
null
null
UTF-8
Python
false
false
902
py
# -*- coding: utf-8 -*- # *************************************************** # @Test Case ID: 011_palmMinWidth # @Test Description: int32 PalmMinWidth (readwrite) 手掌误触最小宽度 # @Test Condition: 1.无 # @Test Step: 1.调用接口读取 PalmMinWidth 属性值 # @Test Result: 1.返回 int32 数据类型数据 # @Tes...
[ "lizhouquan@uniontech.com" ]
lizhouquan@uniontech.com