blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
214575b4ceed192abdcab598ac1b15c57813fd1c
a7ed4da896faab105ff08259a82ae822548d1c2c
/6/space.py
69206dafc8a28a818b4cd80402e1e28591854ddc
[]
no_license
nemesmarci/Advent-of-Code-2019
e8e59d89be8ed43ce046fd7854b1c9b779a8930e
251dc4dc62777a7c0daf7a74d832c0be3d75140e
refs/heads/master
2021-12-31T10:53:35.924253
2019-12-27T17:17:06
2021-12-29T19:17:13
225,252,265
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
class Object: def __init__(self, name): self.name = name self.orbiters = set() self.parent = None def read_data(): objects = dict() with open('input.txt') as data: for line in data: center, orbiter = line.strip().split(')') for p in center, orbiter: ...
[ "nemes@sch.bme.hu" ]
nemes@sch.bme.hu
0540d6deaf0a605af2d8685c41a80607042a9182
89a6ebe5364fc618231ca03ec1863bbf864ee535
/unweaver/graphs/digraphgpkg/inner_adjlists/inner_predecessors_view.py
682fa6ba8200587a6113b3dfb36d73fcbb9ca630
[ "Apache-2.0" ]
permissive
nbolten/unweaver
0058cfb638e7ce22d44fcb1668d5f700dbcf3e8f
66352c181582d08a032a2af12dc14fd2415a7294
refs/heads/main
2023-02-21T23:25:44.648492
2022-11-02T00:57:43
2022-11-02T00:57:43
171,992,700
7
4
NOASSERTION
2023-02-16T06:51:31
2019-02-22T04:08:46
Python
UTF-8
Python
false
false
280
py
"""GeoPackage adapter for immutable networkx predecessor mapping.""" from .inner_adjlist_view import InnerAdjlistView class InnerPredecessorsView(InnerAdjlistView): id_iterator_str = "predecessor_nodes" iterator_str = "predecessors" size_str = "unique_predecessors"
[ "nbolten@gmail.com" ]
nbolten@gmail.com
8e685989b2018d7bcd1d32fe5cf537411b368c00
59d1fd18d9f13c70e3e069619add5a57f8ba3304
/color_histogram/np/norm.py
a2fe42a9de180c6efa1999e3322d4f7200243916
[ "MIT" ]
permissive
laserwave/ColorHistogram
59501d00b075bd375321bf5dce65951a780c9b65
b2fad52ba8e68130eaca503ac2a78c7a69852dd2
refs/heads/master
2020-08-08T19:29:08.845214
2019-10-10T02:55:58
2019-10-10T02:55:58
213,899,835
0
0
MIT
2019-10-09T11:27:05
2019-10-09T11:27:04
null
UTF-8
Python
false
false
966
py
# -*- coding: utf-8 -*- ## @package color_histogram.np.norm # # Norm functions. # @author tody # @date 2015/07/18 import numpy as np ## True if x is a vector. def isVector(x): return x.size == x.shape[0] ## True if x is a matrix. def isMatrix(x): return not isVector(x) ## Normalize vector....
[ "tody411@gmail.com" ]
tody411@gmail.com
4f7a1483876fe0a56f801e903980267db346014e
c71a77b8ed41a7a86d6c29dfafded62223257766
/Parser/CheckPoint/yaccTest.py
e3bb04675624a078c8b7c0fffdb09aee4b06ce6a
[]
no_license
dexion/springbok
9793d93f6fea34b7623dc8e71f66c1b9b4986e32
20b58530d7b5c7f049baa16db79f6827d2959345
refs/heads/master
2020-04-07T13:08:42.521139
2018-03-12T07:56:57
2018-03-12T07:56:57
124,214,084
0
0
null
2018-03-07T09:46:10
2018-03-07T09:46:09
null
UTF-8
Python
false
false
1,728
py
__author__ = 'maurice' #/usr/bin/python # -*- coding: utf-8 -*- from ply import yacc as yacc from lexTest import tokens from lexTest import lexer object_dict = {} p_info = {} def p_lines(p): '''lines : line | line lines''' if len(p) == 2: p[0] = p[1] def p_line(p): '''li...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
a7fe33ee85f9ac631c48785db1c880bc79e47f15
581e619a23bd0e6642f991f7f3ee5bf20c628baf
/networking_bgpvpn/policies/port_association.py
7689b0a5a41125217d4f2872a2236ad64ed1e2f7
[ "Apache-2.0" ]
permissive
joker-at-work/networking-bgpvpn
95546ff29d9cab6f092f70c477c0092b32ce3966
2722d5a0ad8e921064b875b00c5108afd2937676
refs/heads/master
2023-01-11T11:46:30.120399
2020-11-16T07:44:21
2020-11-16T07:44:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,729
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed u...
[ "amotoki@gmail.com" ]
amotoki@gmail.com
c096a3c1ec6dbdabd5506a677cb1b16dc4b161d5
27317b3adb1ccd99afa86cb931d2d14e23b9b175
/bcs-app/backend/utils/renderers.py
104692c70388689c7d7d57ebb95a3a0b85e18e9f
[ "BSD-3-Clause", "LicenseRef-scancode-unicode", "ICU", "LicenseRef-scancode-unknown-license-reference", "Artistic-2.0", "Zlib", "LicenseRef-scancode-openssl", "NAIST-2003", "ISC", "NTP", "BSL-1.0", "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "MIT" ]
permissive
freyzheng/bk-bcs-saas
cf5a6c4ab1c20959bda1362bc31de7884451acd7
96373cda9d87038aceb0b4858ce89e7873c8e149
refs/heads/master
2021-07-05T04:11:08.555930
2020-09-22T12:26:37
2020-09-22T12:26:37
201,279,048
0
1
NOASSERTION
2020-09-16T03:07:16
2019-08-08T14:48:27
Python
UTF-8
Python
false
false
1,787
py
# -*- coding: utf-8 -*- # # Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. # Copyright (C) 2017-2019 THL A29 Limited, a Tencent company. All rights reserved. # Licensed under the MIT License (the "License"); you may not use this file except i...
[ "gejun.coolfriend@gmail.com" ]
gejun.coolfriend@gmail.com
78abf98d35916961fd8bcc55c4c25d7124732aac
56abd8f94a511ae0d163161cb2f5e0a91d4b8bed
/datahub/dataset/company_list/test/test_views.py
937b92b26ac6bc414f0b972505089b5c8809dcdd
[ "MIT" ]
permissive
cgsunkel/data-hub-api
994c58bd975d902bf2bc44b415a5892919ff4539
a92faabf73fb93b5bfd94fd465eafc3e29aa6d8e
refs/heads/develop
2023-05-31T22:35:56.344904
2021-06-30T11:23:06
2021-06-30T11:23:06
303,947,456
0
0
MIT
2021-06-30T10:34:50
2020-10-14T08:14:46
Python
UTF-8
Python
false
false
3,125
py
import pytest from django.urls import reverse from freezegun import freeze_time from rest_framework import status from datahub.company.test.factories import ContactFactory from datahub.core.test_utils import format_date_or_datetime, get_attr_or_none from datahub.dataset.core.test import BaseDatasetViewTest from datahu...
[ "nick.ir.ross@gmail.com" ]
nick.ir.ross@gmail.com
ee8bb2585eef449cd14d067cbc4b14eb6e1d9fa5
3515c2d0e746ba0aba09950a733912d4bd586fd1
/tests/test_matches.py
39a94ff98bf627b112490c6c5ff75b71d1fa2736
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
soccermetrics/marcotti-light
350a6cf27d829f3b6a3b8cd51a3ff87b58f8a82b
e287aec5e82690e36f0306b3029ade7925e99423
refs/heads/master
2021-01-10T04:13:43.940621
2016-01-07T07:17:24
2016-01-07T07:17:24
46,227,836
2
2
null
null
null
null
UTF-8
Python
false
false
7,442
py
# coding=utf-8 from datetime import date import pytest from sqlalchemy.exc import IntegrityError, DataError from light.common.models import Competitions, Seasons, Years, GroupRounds, KnockoutRounds from light.common.models import (Matches, FriendlyMatches, LeagueMatches, GroupMatches,...
[ "hhamilton@soccermetrics.net" ]
hhamilton@soccermetrics.net
c912c809d4934f93f551548bc0159f24c96e6a85
955ee13f0ed39a3d0b997636207884f887eae4e1
/Preview/cgi-bin/peoplecgi.py
10015d72d4fde31d08e6d53e6a18ddcd5779b132
[]
no_license
sguberman/PP4E
1d4ca7c3dced798dcab7cfd746e061f8c8ef23d9
ea4f713daf94f6663314bfad0a7de1e8809f0248
refs/heads/master
2020-07-17T00:28:12.555340
2017-01-17T15:26:48
2017-01-17T15:26:48
73,938,014
0
0
null
null
null
null
UTF-8
Python
false
false
2,365
py
""" Implement a web-based interface for viewing and updating class instances stored in a shelve; the shelve lives on server (same machine if localhost) """ import cgi, html, shelve, sys, os shelvename = 'class-shelve' fieldnames = ('name', 'age', 'job', 'pay') form = cgi.FieldStorage() print('Content-type: text/htm...
[ "sguberman@gmail.com" ]
sguberman@gmail.com
2ef9112e71bc7325e11d4c700cd01cc4d0b873c8
daf7d0b635ce87db410843b8a4b3b5445f89bced
/venv/bin/sqlformat
df6b65146b6383d4531eadf65e4bfdc2117f795d
[ "MIT" ]
permissive
brayomumo/Neighbourhood
73aa7ea1be3bc879934cdb4727707d0bdd36c1f1
dc0bb44601bf9204066b39526eac3827e5c181fb
refs/heads/master
2021-09-09T11:43:08.918547
2019-09-16T06:42:01
2019-09-16T06:42:01
208,220,418
0
1
MIT
2021-06-10T21:56:40
2019-09-13T07:55:35
Python
UTF-8
Python
false
false
263
#!/home/smoucha/Desktop/projects/neighbourhood/venv/bin/python # -*- coding: utf-8 -*- import re import sys from sqlparse.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "brayomumo5@gmail.com" ]
brayomumo5@gmail.com
e72f94dc552a90dd96860bdcec3507d3c07da30b
1322ae1334af76643e108e78495e05538b0d7834
/models/ner/train_model.py
dcef8fd3ac1a78145cd11e5cdcd6da6d75730e15
[]
no_license
kimsoosoo0928/chatbot02
47d34d6e6ac75b86930b1840337d17f4e487df26
222e75023391f1d4cd486680d8abaa1300a72453
refs/heads/main
2023-06-08T02:22:25.862407
2021-07-04T00:28:02
2021-07-04T00:28:02
381,740,443
0
0
null
null
null
null
UTF-8
Python
false
false
5,075
py
# 예제8-10 챗봇 엔진 NER 모델 import matplotlib.pyplot as plt import tensorflow as tf from tensorflow.keras import preprocessing from sklearn.model_selection import train_test_split import numpy as np from utils.Preprocess import Preprocess # 학습 파일 불러오기 def read_file(file_name): sents = [] with open(file_name, 'r', ...
[ "kimsoosoo0928@gmail.com" ]
kimsoosoo0928@gmail.com
0f15da3c9cd7f4a36922c46e2abc4fa95e43c44c
b7ae1533857ac0ae432d70168a8fdc447906831b
/chap-3_Stacks_and_Queues/3.6.py
75bda6b68d3aad4d874f0827be55c10abdf36bbc
[]
no_license
Gio1609/Python_Basic
197ed35109b96f88ebd12331b2e28cf1a40367ec
256001090204e3b795d901740b23e81531861109
refs/heads/master
2020-07-20T21:06:47.547630
2019-09-06T03:58:25
2019-09-06T03:58:25
206,709,442
0
0
null
null
null
null
UTF-8
Python
false
false
4,783
py
# An animal shelter holds only dogs and cats, and operates on a strictly "first in, first out" # basis. People must adopt either the "oldest" (based on arrival time) of all animals at the # shelter, or they can select whether they would prefer a dog or a cat (and will receive the # oldest animal of that type). They can...
[ "phonglh1609@gmail.com" ]
phonglh1609@gmail.com
55723af37fd62033802b1e7fd23703df110dcc17
b02670f94c38d4f224bb8dd024b6b65b1a2af670
/Instruction/EtabtoJJ/GENSIM-2016/crab_BPH_EtabtoJJ_2016.py
df44aad66d1337927ae85069c5019be7463bb0c5
[]
no_license
fdzyffff/DiJpsi-MC
fe9e64960c766144e4ccad9cebf255c51168c6c8
0ab3ada85239fb6489e4a376e192a0260b4573e8
refs/heads/master
2023-01-19T00:59:40.401772
2020-11-30T02:07:51
2020-11-30T02:07:51
317,085,997
0
0
null
null
null
null
UTF-8
Python
false
false
947
py
from CRABClient.UserUtilities import config config = config() config.General.requestName = 'EtabtoJJ_GENSIM' config.General.transferOutputs = True config.General.transferLogs = True config.JobType.pluginName = 'PrivateMC' config.JobType.psetName = 'BPH_EtabtoJJ_2016.py' config.JobType.allowUndistributedCMSSW = True ...
[ "1069379433@qq.com" ]
1069379433@qq.com
7f5d5901a76338bd5d4563b27811e3a2e7accf2a
f25d477be296a63aac156c8dd907397dc156024c
/vse/env.py
e5f298f5a9b0a674f7c1e329a87c340543abb9da
[]
no_license
cbaxter1988/validation_scripting_engine
f4e0a834632b5499c4d7a13b18d9208b27296325
86a8bd5061016f838747ea045bf3e32c0dd98e94
refs/heads/master
2022-11-23T05:23:05.343104
2020-07-22T06:55:47
2020-07-22T06:55:47
275,946,469
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
import os DEPLOY_MODE = os.getenv("DEPLOY_MODE", "dev") CONNECTOR_HOST = os.getenv("CONNECTOR_HOST", "192.168.1.104") SSH_ENDPOINT = os.getenv("SSH_ENDPOINT", "http://192.168.1.104:5001/v1/ssh") CONNECTOR_URL = os.getenv("CONNECTOR_URL", f"http://{CONNECTOR_HOST}/connector") MAX_FAIL_LIMIT = os.getenv("MAX_FAIL_LIMI...
[ "cbaxtertech@gmail.com" ]
cbaxtertech@gmail.com
150d523f015aad8e5003990adf308158897ce1f9
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/128/usersdata/231/44270/submittedfiles/al6.py
19dd97bbebc6bb5e9db0c744113d414be7d8b74a
[]
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
202
py
# -*- coding: utf-8 -*- n=int(input('digite valor de n :')) cont=0 for i in range(2,n,1): if n%i==0: cont=cont+1 if cont==0: print('primo')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
ecbd3c6b413d051c19d36809359ace04d9378bb7
1316cd6763e784811c769c1de577235c921af0de
/Apps/MomentumApp/camera_test_v2.py
701c3aaf2bc0c6991ec7d3b00a3653ec48064386
[]
no_license
VELA-CLARA-software/Software
a6fb6b848584e5893fd6939a447d23134ce636cc
2e2a88ac0b2b03a495c868d2e11e6481e05097c3
refs/heads/master
2023-02-05T07:40:58.260798
2023-01-27T09:39:09
2023-01-27T09:39:09
69,860,536
7
3
null
2021-04-07T14:17:07
2016-10-03T10:20:46
Mathematica
UTF-8
Python
false
false
2,271
py
#import os, sys import pyqtgraph as pg import numpy as np import VELA_CLARA_Camera_Control as cam import time import sys sys.path.append('\\\\apclara1\\ControlRoomApps\\Controllers\\bin\\Release\\') # initialise etc. camInit = cam.init() cameras = camInit.physical_CLARA_Camera_Controller() # get list of camera names n...
[ "david.dunning@stfc.ac.uk" ]
david.dunning@stfc.ac.uk
af9ff4efde4d63f2a8c1dd71eb5a82327b0f86c8
f700ccde798c82ba2c8982c990e592bca984ce25
/unlucky_ticket.py
9b3bdd53b2ecaa99a83ec755738fc960641b6170
[]
no_license
davidozhang/codeforces
94d791f3efc7d38a326efc08845975888eb3a811
fad0aa12b14cb3facd2aeac35298e7906f5884c4
refs/heads/master
2021-01-22T05:15:23.328306
2015-03-08T23:04:41
2015-03-29T20:20:02
30,389,624
2
0
null
2015-03-09T00:56:04
2015-02-06T02:01:15
Python
UTF-8
Python
false
false
440
py
#!/usr/bin/python ''' Problem 160B: http://codeforces.com/problemset/problem/160/B Solved on: 2015-02-22 Result: Accepted 124 ms 4 KB ''' def main(): n, ticket=int(raw_input()), raw_input() first, second=sorted(ticket[:n]), sorted(ticket[n:]) less=True if first[0]<second[0] else False for a, b in zip(first, secon...
[ "davzee@hotmail.com" ]
davzee@hotmail.com
1c841a619cef71dd836eb6dd00eabea50cf7b0ee
11264216ba391738e87696c2d4c2c7c4600aa056
/lecture6/lecture6/templateexample/views.py
d97f20835c9cb6821e5dc50d97e2f446195d96a4
[ "MIT" ]
permissive
CSUChico-CINS465/CINS465-Fall2016-Lecture-Examples
2775e84e4152a402ce1602fea9dffe363a7028d7
332df2821aef74c6522c53278e28ceb27cbe2fe6
refs/heads/master
2020-06-30T00:57:58.322717
2016-11-08T01:19:40
2016-11-08T01:19:40
66,382,719
0
3
null
2016-10-06T16:34:13
2016-08-23T16:10:32
Python
UTF-8
Python
false
false
195
py
from django.shortcuts import render # Create your views here. def index(request): context = { 'page_name':"List Site", "list":[1,2,3,4,5,6,7]} return render(request,'list.html',context)
[ "javawolfpack@gmail.com" ]
javawolfpack@gmail.com
597a53218279ac4ef95f5f4142c679743a717523
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03745/s828172112.py
177eae81411bceeaff0cf2750acc0d891a16c202
[]
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
471
py
n = int(input()) l = list(map(int,input().split())) sw='n' ans=0 for i in range(1,n): if sw=='u': if l[i-1]-l[i]<=0: continue else: ans+=1 sw='n' elif sw=='d': if l[i-1]-l[i]>=0: continue else: ans+=1 sw='n'...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0c23aec8d46d0b61153a3ca8602b9b0781bcbb82
660e35c822423685aea19d038daa8356722dc744
/account_invoice/setup.py
23e8dcd2407dc061a50ca67790c9fbdf428b91b1
[]
no_license
saifkazi/tryton_modules
a05cb4a90ae2c46ba39d60d2005ffc18ce5e44bb
94bd3a4e3fd86556725cdff33b314274dcb20afd
refs/heads/main
2023-05-05T12:20:02.059236
2021-05-19T10:46:37
2021-05-19T10:46:37
368,768,310
0
0
null
null
null
null
UTF-8
Python
false
false
5,227
py
#!/usr/bin/env python3 # This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. import io import os import re from configparser import ConfigParser from setuptools import setup, find_packages def read(fname): return io.open( ...
[ "saif.kazi76@gmail.com" ]
saif.kazi76@gmail.com
964cf668c442745c779ab5a95e74d32d25ba561d
661c765dbab325ec04fb1d28c7f0171c1c561c9a
/tests/tools/segment_sinkhorn_test.py
111af8aae510470bfa013c2606426889b9ba8302
[ "Apache-2.0" ]
permissive
standardgalactic/ott
0b13529f081a1ce5d5fe663a61d97cfe52c2ded9
f55eb8ea2c8120e02d6cdfd63e8c0a32614776b9
refs/heads/main
2023-07-05T08:12:25.810811
2023-07-04T15:43:17
2023-07-04T15:43:17
389,823,810
0
0
null
null
null
null
UTF-8
Python
false
false
5,777
py
# Copyright OTT-JAX # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # ...
[ "noreply@github.com" ]
standardgalactic.noreply@github.com
59d60b1776418daabd171fff7fa716e15d7a7621
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_1_neat/16_0_1_SpiceNovak_counting_sheep.py
a09ef397320e9d80c9193901932e25e0cfac052e
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
623
py
import sys if len(sys.argv) > 1: filename = sys.argv[1] else: filename = 'A-large.in' # open the file for reading f = open(filename, 'r') T = int(f.readline()) # number of test cases f_out = open('output.out', 'w') for idx in range(1,T+1): digits_seen = set() N = int(f.readline()) if N == 0: res = 'Case #{}:...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
9dcd297028b5809a19b78b408c432f60b9802413
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/feature/vt/gui/actions/AddToVersionTrackingSessionAction.pyi
5c3de8c4d4f7f55958a4d7d4dae9457409d79112
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
3,412
pyi
import docking import docking.action import ghidra.util import java.beans import java.lang import java.util import java.util.function import javax.swing class AddToVersionTrackingSessionAction(docking.action.DockingAction): def __init__(self, __a0: ghidra.feature.vt.gui.plugin.VTController): ... def ac...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
64261ea0087ff4d3910bab7cc8fdd6432ec03005
e3f6a54f9d57a6533fdf0c02a0fcc69bd9001ce4
/apps/equipes/migrations/0006_equipe_campeonato.py
14dd2af3eef52fa90451905c5ffe8da82b8b4d81
[]
no_license
Eduardo-Lucas/football_project
b612309b6e057dc31075e054a2466b3dd7bc75b9
2c33584e1fd573c87b285cb8c6b5b8454cdebfbf
refs/heads/master
2020-07-01T07:25:22.881898
2019-08-19T17:54:58
2019-08-19T17:54:58
201,089,087
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
# Generated by Django 2.2.4 on 2019-08-16 18:14 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('campeonatos', '0002_auto_20190816_1435'), ('equipes', '0005_auto_20190816_1151'), ] operations = [ migrations.AddField( ...
[ "eduardolucas40@gmail.com" ]
eduardolucas40@gmail.com
9a95d349e773c7b8b03e4e8e79409ee20557ddc3
1fd8e5db25f8ebc7cc4506cbb07ba98f717b667e
/virt/Lib/site-packages/darkdetect/_linux_detect.py
3110ae88cb5f6754c90e6944b40ec30f0170f8f4
[]
no_license
flatplanet/Intro-To-TKinter-Youtube-Course
6103410435fc3b977fb44a4b08d045950ba10380
cf988099fc358e52ed773273cb2e7ddb9d37d995
refs/heads/master
2022-10-06T10:02:38.689302
2022-07-18T18:11:12
2022-07-18T18:11:12
174,183,345
524
426
null
2021-10-10T16:16:44
2019-03-06T16:44:03
Python
UTF-8
Python
false
false
860
py
#----------------------------------------------------------------------------- # Copyright (C) 2019 Alberto Sottile, Eric Larson # # Distributed under the terms of the 3-clause BSD License. #----------------------------------------------------------------------------- import subprocess def theme(): # Here we j...
[ "johne4196@gmail.com" ]
johne4196@gmail.com
70dcec3bcfeeed742b9fb1088557ec18f9bd2465
124c74d1b96c95d5fd1be27f846be5425e55bbbe
/Python/f1.py
a1cbaf6f572bac54df6364252ea04cdde3bf0595
[]
no_license
seddon-software/bridge
2db52044c00e62dedec9ce5bac395fa8a2b016ec
fdfafba3af15888eba5c604dcffeb5cf333d53dd
refs/heads/master
2020-07-02T13:02:41.705581
2019-08-14T15:13:02
2019-08-14T15:13:02
201,526,949
0
0
null
null
null
null
UTF-8
Python
false
false
1,585
py
import pandas as pd import sys, os import re from mpl_toolkits.mplot3d import axes3d import matplotlib.pyplot as plt import matplotlib.cm as cm import numpy as np def splitIt(s, n): s = re.split(r'[()]', s) return s[n] def readExcelFile(excelFile, sheet): table = pd.read_excel(excelFile, sheet) t...
[ "seddon-software@keme.co.uk" ]
seddon-software@keme.co.uk
dc39b3bc426649d5c841b52baa9ab399f7ded711
42ad602451a725f3fa487a1544c0c51988f15e5b
/post/models.py
0cc3e40d7d4b1860396f3837a911daa067f4df5f
[]
no_license
allandereal/360MedNet
bdc0d2c1b7dee0a93d5373ff6f89b6ea560a4a24
edbedf3fe6294b99ac7eed6737a94e351dd14028
refs/heads/master
2022-12-12T13:47:42.431421
2017-08-29T13:10:52
2017-08-29T13:10:52
90,020,420
0
0
null
2017-06-03T16:37:22
2017-05-02T10:24:12
Python
UTF-8
Python
false
false
2,007
py
import datetime from django.db import models from django.urls import reverse from userprofile.models import Doctor from django.contrib.auth.models import User class Post(models.Model): title = models.CharField(max_length=200) post_content = models.TextField() created_at = models.DateTimeField(auto_now=Fa...
[ "faithnassiwa@gmail.com" ]
faithnassiwa@gmail.com
b98894e53544278d28fa16d6664bb24ed6e7652a
54dcb1d4b1a859012721460eb47325057d737b6f
/app/middleware/body_parser.py
c84346fe0795bc4121c2cc2349e4e901538f8afc
[ "MIT" ]
permissive
projectweekend/Falcon-PostgreSQL-API-Seed
0ed20fae0f0856aa677d981bbe2102c2ab9890d1
d898636c6f3feb5a9f802d55ccae704acc5a060e
refs/heads/master
2021-01-19T14:33:08.689478
2015-12-21T16:56:31
2015-12-21T16:56:31
33,319,685
18
3
null
null
null
null
UTF-8
Python
false
false
448
py
import json import falcon class JSONBodyParser(object): def process_request(self, req, res): if req.content_type == 'application/json': body = req.stream.read().decode('utf-8') try: req.context['data'] = json.loads(body) except ValueError: ...
[ "brian@projectweekend.net" ]
brian@projectweekend.net
09e03dfc42963646df9877d73e41d8e6ee408e39
45b159e64114d8759c0e2987bd0a6f02f60daf4d
/Python/wordBreaking.py
7396bd11360b91cf2098f766fe3e2369ebf69abb
[]
no_license
afcarl/Coding_Interview_Problems
45b24b849a90581db5327811c5ab78237f4d5ac0
1256d4394d506aec875e9e19300404a9b32a4eb1
refs/heads/master
2020-03-16T20:16:54.706152
2015-02-11T05:51:56
2015-02-11T05:51:56
132,953,286
1
0
null
2018-05-10T20:54:14
2018-05-10T20:54:14
null
UTF-8
Python
false
false
1,461
py
''' Created on Oct 14, 2014 @author: Ben Athiwaratkun (pa338) ''' #from __future__ import division #import numpy as np def wordBreaking(s, dictionary): X = [False]*(len(s)+1) X[-1] = True for m in range(0,len(s)): # calculate X[m] for k in range(-1,m): #print "Break point is a...
[ "ben.athiwaratkun@gmail.com" ]
ben.athiwaratkun@gmail.com
11ea290462ab55cd0b9cc5be95e63e6ee2785180
e423a076e055f1f6f614e212d5e41269cd98b487
/learning_logs/migrations/0002_entry.py
3d7455e541415f824ad037d094e68e6089b7f188
[]
no_license
kotano-snippets/learning_log
83c283e0c92b1a6d6598cd2022578316ed81590f
84f0aba52a966da89c143de4fb7d65e287c7cf06
refs/heads/master
2022-12-10T06:07:42.429924
2020-08-28T12:59:46
2020-08-28T12:59:46
291,243,033
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
# Generated by Django 3.0.3 on 2020-08-19 22:03 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('learning_logs', '0001_initial'), ] operations = [ migrations.CreateModel( name='Entry', ...
[ "kot4no@gmail.com" ]
kot4no@gmail.com
017e0f67c4a12fb02504c2242672a5a935f63ef6
89b45e528f3d495f1dd6f5bcdd1a38ff96870e25
/pyneng/examples/18_ssh_telnet/1_pexpect_more.py
fb8e064f519b4628747219ee0f53f1b91d301bea
[]
no_license
imatyukin/python
2ec6e712d4d988335fc815c7f8da049968cc1161
58e72e43c835fa96fb2e8e800fe1a370c7328a39
refs/heads/master
2023-07-21T13:00:31.433336
2022-08-24T13:34:32
2022-08-24T13:34:32
98,356,174
2
0
null
2023-07-16T02:31:48
2017-07-25T22:45:29
Python
UTF-8
Python
false
false
1,282
py
import re import pexpect def send_show_command(ip, username, password, enable, command, prompt="#"): with pexpect.spawn(f"ssh {username}@{ip}", timeout=10, encoding="utf-8") as ssh: ssh.expect("[Pp]assword") ssh.sendline(password) enable_status = ssh.expect([">", "#"]) if enable_s...
[ "i.matyukin@gmail.com" ]
i.matyukin@gmail.com
c167d924382481d969a67bae2f98a7aa8701ea5d
acec0a3d2220bbd0531ab44159e20bf28a9dd71b
/src/moviesapp/migrations/0025_alter_list_key_name.py
39807cb87009a12a33c29fb728510295a9f7df7f
[]
no_license
desecho/movies
ad48c262f836a65902e7135fe7d3e3dde9e5c69c
04141e4cfc885ba6c53328e1222980b85d9828ef
refs/heads/master
2023-06-22T23:06:53.114491
2023-06-10T14:20:55
2023-06-10T14:21:35
8,838,721
14
4
null
2022-10-01T15:00:05
2013-03-17T18:00:49
Python
UTF-8
Python
false
false
440
py
# Generated by Django 4.0.4 on 2022-05-20 00:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('moviesapp', '0024_alter_actionrecord_rating_alter_movie_tmdb_id_and_more'), ] operations = [ migrations.AlterField( model_name='...
[ "desecho@gmail.com" ]
desecho@gmail.com
3c8b506474ed0f4e338b62ce5a939bc589e9a7c2
3db5e39d9bbe1c86229a26e7d19e3ceb37f902e3
/study/Day2/nogada.py
72b0ca4dd188cfdc212ae0346e74ac11cb55d416
[]
no_license
sweetrain096/rain-s_python
5ca2fe5e7f97a681b6e75e64264687a723be1976
eb285eb50eeebfaa2b4a4d7816314e2073faab00
refs/heads/master
2021-07-19T16:06:01.389283
2020-05-29T14:56:16
2020-05-29T14:56:16
162,240,216
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
import os os.chdir('C:/Users/student/Desktop/DBs_python/SSAFY') files = os.listdir() print(type(os.listdir())) for file in files : #os.rename(file, "samsung"+file) os.rename(file, file.replace("SSAFY","samsung"))
[ "gpfhddl09@gmail.com" ]
gpfhddl09@gmail.com
5970443e919a31ef41000341db5939f6d4b32bf2
0f074e5adef64fa16e88dc2499e76f08b4c33c02
/pyqt/file_QTextStreamExamples/36.py
97c8a8295f0fe7e3996fd34c09f6ad4639a22f40
[]
no_license
guozhenjiang/Python
0ac39adaf72df0bfee51795fabcfd959a69b1862
44b07bd767f3f2a947331111ab920200ac2412c6
refs/heads/master
2021-05-19T16:54:40.725132
2020-11-19T16:26:26
2020-11-19T16:27:11
252,035,380
0
0
null
null
null
null
UTF-8
Python
false
false
2,181
py
def __init__(self, _id,_viewer_id, *argv): super(QtSingleApplication, self).__init__(*argv) self._id = _id self._viewer_id = _viewer_id self._activationWindow = None self._activateOnMessage = False # Is there another instance running? self._outSocket = QLoca...
[ "guo_zhen_jiang@163.com" ]
guo_zhen_jiang@163.com
20c935026a7feb1c276f9a0c9b666025ee063bf4
19f05c91b991f38eca19275bfcb8a2a27000bb45
/makahiki/apps/pages/view_energy/tests.py
2da030a8bb60f371475c0c5bab90b65dd1ab142f
[]
no_license
keokilee/makahiki
9c40576c73fef2bf11dc22194dbabf98f5e67e64
783db33ed0b38fb4dccc371c426265f7028a2d13
refs/heads/master
2020-04-30T03:44:52.309826
2012-03-17T01:36:19
2012-03-17T01:36:19
543,870
2
3
null
null
null
null
UTF-8
Python
false
false
2,190
py
from django.test import TestCase from django.core.urlresolvers import reverse from django.contrib.auth.models import User from components.floors.models import Floor from components.energy_goals.models import FloorEnergyGoal class EnergyFunctionalTestCase(TestCase): fixtures = ["base_floors.json"] def setUp(sel...
[ "keoki.lee@gmail.com" ]
keoki.lee@gmail.com
e9433e601251e779c8cb6d7ba10c0e5bb355599e
5d09a567371f01944640825e5376e9b2ba61e414
/bruges/_version.py
0295ee8bd3a78cfff23ea1046bc3b54dceab61ea
[ "Apache-2.0" ]
permissive
JaHerbas/bruges
e4123227211b784a7198f50ae16d3f75e6deaf87
600ac12542b1f3a821c765c84103056b483f9592
refs/heads/master
2022-11-19T16:51:14.100596
2020-06-29T16:48:04
2020-06-29T16:48:04
287,057,123
1
0
Apache-2.0
2020-08-12T16:01:02
2020-08-12T16:01:01
null
UTF-8
Python
false
false
134
py
# -*- coding: utf-8 -*- """ Version. Doing it this way provides for access in setup.py and via __version__ """ __version__ = "0.3.4"
[ "matt@agilegeoscience.com" ]
matt@agilegeoscience.com
e939912f2249caa15a9a2e2a44441d3c51295a3e
2da6133f3cd5c5fc19355292d60253b8c0dbcd49
/.history/antz/models_20200405014904.py
84680e0f9fcf0a3157a23d742b53d39543436889
[]
no_license
mirfarzam/python-advance-jadi-maktabkhooneh
b24f5c03ab88e3b12c166a439b925af92f50de49
d9bcecae73fd992f1290c6fd76761683bb512825
refs/heads/master
2021-05-25T21:33:37.782734
2020-04-07T22:39:28
2020-04-07T22:39:28
253,927,960
0
0
null
null
null
null
UTF-8
Python
false
false
830
py
from django.db import models class CardBrand(models.Model): name = models.CharField(max_length=128) class CarModel(models.Model): name = models.CharField(max_length=128) brand = models.ForeignKey(CardBrand, on_delete = models.CASCADE) class CarTrim(models.Model): name = models.CharField(max_l...
[ "farzam.mirmoeini@gmail.com" ]
farzam.mirmoeini@gmail.com
81f2666603fc8db3deee26648203312efa4e3ec4
38c606ed14564591c1aa6e65c7dab255aebf76f9
/0x05-python-exceptions/0-safe_print_list.py
1456e72e85f884e8832fd10af490d9d2ca48830f
[]
no_license
camilooob/holbertonschool-higher_level_programming
d7cee708b308bed86fcc384d7451de26fa9cafaa
db9b6760e7e4998c5f00a4f2cfeb17ec14e44cab
refs/heads/master
2020-09-29T00:19:25.736344
2020-05-15T01:34:32
2020-05-15T01:34:32
226,900,553
1
8
null
null
null
null
UTF-8
Python
false
false
294
py
#!/usr/bin/python3 def safe_print_list(my_list=[], x=0): try: num = 0 for i in my_list: if num < x: print("{}".format(i), end='') num += 1 print('') return num except SyntaxError: print("Error Syntax")
[ "camilobaq@hotmail.com" ]
camilobaq@hotmail.com
4272b080852529f52d0d405f602c0ee99176a6c4
b50404a323b753d0afa3697839b8b1db623e1533
/apps/trade/views.py
c5d9101f8815f364b39f4bff9462aff7e4ec1793
[]
no_license
pigliangliang/shopping_drf
5e355c321aa1ce535ff0a78c54060dc2e6835167
7a169187acb3d64cb072e9aaf9b018f8b8559c23
refs/heads/master
2020-04-09T04:50:48.220319
2018-12-02T11:17:47
2018-12-02T11:17:47
160,039,495
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
from django.shortcuts import render # Create your views here. from rest_framework.viewsets import ModelViewSet from .serializers import ShoopingCardSerializers from .models import ShoppingCard from rest_framework import permissions from utils.permissions import IsOwnerOrReadOnly class ShoppingCardViewsets(ModelView...
[ "836904717@qq.com" ]
836904717@qq.com
7169c5ded84f3ef63c5252fab96172ffbb89d597
68750ca817b137ca1175a548954dd4d33580f307
/2021/day10/part1.py
bab8350c5cdf0a5b91317ea9e63a8ac4b71ba73a
[]
no_license
RustyBower/AdventOfCode
3a0e205cd040ac1d699d6fa82789f39a91942ad1
057309a054d5b6d6817bd8c627e8c9c67d084e6a
refs/heads/master
2022-12-23T01:14:15.443652
2022-12-16T03:51:14
2022-12-16T03:51:14
160,075,420
1
1
null
2018-12-03T18:31:34
2018-12-02T18:09:17
Python
UTF-8
Python
false
false
1,214
py
#!/usr/bin/env python from collections import Counter, deque with open('input') as f: data = f.read().splitlines() counter = Counter() for row in data: d = deque() for character in row: if character in ['(', '[', '{', '<']: d.append(character) else: c = d.pop() ...
[ "rusty@rustybower.com" ]
rusty@rustybower.com
9ba65a810fe8155cf36dfac083ba1a87049ecf33
13ad53bd54e0fea96a8718a12486e6bca2cde5e3
/Python/6kyu/TakeATenMinuteWalk.py
2929a6567259480d814218977c7653c7a4c605c2
[]
no_license
WinrichSy/Codewars_Solutions
5cb354b15998167010416bba0b09855e717019b2
6904719eb05cf804694f26dbbb11277b90296d97
refs/heads/master
2023-02-02T22:09:08.453192
2020-12-23T19:51:30
2020-12-23T19:51:30
256,636,224
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
#Take a Ten Minute Walk #https://www.codewars.com/kata/54da539698b8a2ad76000228 def isValidWalk(walk): start_x = 0 start_y = 0 current_x = 0 current_y = 0 for i in walk: if i == 'e': current_x += 1 elif i == 'w': current_x -= 1 elif i == 'n': ...
[ "winrichsy@gmail.com" ]
winrichsy@gmail.com
6578dc418a8515078f333cefae529d1a21651dae
04c21e01c7dd002d0d66f26f17294bbe25ab30c1
/src/core/models/ticket/hash_tags.py
7b88d3b89db0e6a87c5777732eb6d62081cb77ca
[]
no_license
unbrokenguy/Q-n-A-rest-api
29d1a7614d761bf68f38bbbbbd731c3692afccf7
dd483993e304d6660c8c8f7518bf7414efd8ec28
refs/heads/master
2023-06-03T20:19:52.606677
2021-06-18T09:35:27
2021-06-18T09:35:27
376,749,787
0
0
null
2021-06-18T09:35:27
2021-06-14T08:08:44
Python
UTF-8
Python
false
false
448
py
from django.db import models class HashTag(models.Model): """ HashTag Django ORM model HashTag is needed to divide tickets into categories To make it easier to sort similar questions Attributes: name: String - Name of HashTag category. description: String - Description of HashTag. ...
[ "khazievbulatphanzilovich@gmail.com" ]
khazievbulatphanzilovich@gmail.com
d03c477901cb769906e77c7f4f609094aefce5d7
aa5adcb0082a718f60373df1102a904d3432f75b
/tests/test_utils.py
c7b96c0a352f3c53b875eae3d0dfe6609aa6705d
[ "Apache-2.0" ]
permissive
charleswhchan/dwave-cloud-client
77354d6807e22ce3756909c2c493de9a16b5de6d
da029c18c5c0956f8ec6c2bd4456c396749d3b8c
refs/heads/master
2020-03-07T16:10:37.444498
2018-03-28T15:48:08
2018-03-28T15:48:08
127,575,188
0
0
Apache-2.0
2018-03-31T22:09:16
2018-03-31T22:09:15
null
UTF-8
Python
false
false
1,251
py
import unittest from collections import OrderedDict try: import unittest.mock as mock except ImportError: import mock from dwave.cloud.utils import readline_input, uniform_iterator, uniform_get class TestUtils(unittest.TestCase): def test_uniform_iterator(self): items = [('a', 1), ('b', 2)] ...
[ "radomir@dwavesys.com" ]
radomir@dwavesys.com
8c889c5ac97d14410f82f755a4a08f21724d7b0f
bccfab4d853f7417401a084be95de293e66ccd2a
/mySpider/spiders/Collection89.py
74576890f0372a7d4710ca0c107984a19f241433
[]
no_license
CS1803-SE/The-First-Subsystem
a8af03ce04a9de72a6b78ece6411bac4c02ae170
4829ffd6a83133479c385d6afc3101339d279ed6
refs/heads/main
2023-05-06T02:32:08.751139
2021-05-24T06:09:37
2021-05-24T06:09:37
363,400,147
0
0
null
null
null
null
UTF-8
Python
false
false
2,683
py
from ..items import * from ..str_filter import * class Collection89(scrapy.Spider): name = "Collection89" allowed_domains = ['gthyjng.com'] start_urls = ['http://www.gthyjng.com/gcww/wwjs/jfzzsq/'] custom_settings = { 'ITEM_PIPELINES': { 'mySpider.pipelines.CollectionPipeLine': 301...
[ "1300978939@qq.com" ]
1300978939@qq.com
4884147a83b4f78a774cd708ce0b772bc35e3e2e
56169cc42c21baeb0773a11f9dc2d14bc873e094
/konkursy/09_2010/bukiet.py
b54d26ec7f38a1af499b614ce8e194788218eb06
[]
no_license
PROGRAMMINinGPYTHON/minilogia
cc1842bb1e5a388c6d7c71bb7b8412776c1ed26b
346b97671a72046d45e1736b11ba360a92f32c6f
refs/heads/master
2021-07-09T00:47:11.406056
2021-03-28T11:19:13
2021-03-28T11:19:13
234,959,810
0
0
null
2020-03-21T19:07:48
2020-01-19T20:19:22
Python
UTF-8
Python
false
false
350
py
from turtle import * def BUKIET(ile,d): for j in range(ile): setheading((360/ile)*j) kwiatek(d) pu() setpos(0,0) pd() def kwiatek(d): fd(200) rt(60) for i in range(60): a = 80-(d*i) if a<10: break fd(a) rt(60) ...
[ "59664343+PROGRAMMINinGPYTHON@users.noreply.github.com" ]
59664343+PROGRAMMINinGPYTHON@users.noreply.github.com
3c705e668973460f9154584d5db041c0b76762ae
2eed59d26ae85b5b7c88d4e79e83bcf47d4e4580
/platforms/windows/remote/4027.py
a995ffdc923612c7ffd05e375a4c77ffbf3a7243
[]
no_license
m0n0ph1/exploit-database
160942d705d6ddbf2f1998bf7307919173105fe7
60e5c6c2a0962277a186d3c734127aa1f4e6f805
refs/heads/master
2020-04-05T23:43:00.969242
2014-10-13T04:45:24
2014-10-13T04:45:24
25,157,394
2
0
null
null
null
null
UTF-8
Python
false
false
5,001
py
#!/usr/bin/python # # IBM Tivoli Provisioning Manager PRE AUTH Remote Exploit # http://dvlabs.tippingpoint.com/advisory/TPTI-07-05 # Tested on windows 2003 server SP0. # Coded by Mati Aharoni # muts@offensive-security.com # http://www.offensive-security.com/0day/ibm-ti-pro.py # Notes: # * Egghunter can take upto 5 min...
[ "info@exploit-db.com" ]
info@exploit-db.com
61eff0a727bdd3045b71d675425dd7569b9382d9
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_201/1343.py
a7bc0214962bdf300c3bac3924b2cfec686b73dc
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
import sys from heapq import * sys.stdin = open('input.in', 'r') sys.stdout = open('output.txt', 'w') for _ in xrange(1,input()+1): print 'Case #' + str(_) + ':', n, k = map(int,raw_input().split()) a = [] heappush(a,-n) l,r = n,n for i in xrange(k): j = abs(heappop(a)) ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
f4842eff580a5743f9baaff5e6394874ef46b8d8
7cd60f2dff31715dda5b972355d9f70e1e696d34
/docs/conf.py
029ae00cb76562b199d9550cd83af86c738ce666
[ "Apache-2.0" ]
permissive
huangweiboy2/kompute
bfd7191497f265663159ab3faa119fa227112838
99be70a1f5aa6dec4225b57c56268d3437b7ffe9
refs/heads/master
2023-07-25T18:01:14.600840
2021-09-01T05:50:27
2021-09-01T05:50:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,555
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- ...
[ "axsauze@gmail.com" ]
axsauze@gmail.com
4eab7b76a47390fc5595358083005f5c66941d16
21a92e72448715510d509ab0ec07af37f388013a
/canReach.py
3258b4a9798bd97902ddb6c537400756204c7796
[]
no_license
chlee1252/dailyLeetCode
9758ad5a74997672129c91fb78ecc00092e1cf2a
71b9e3d82d4fbb58e8c86f60f3741db6691bf2f3
refs/heads/master
2023-01-22T02:40:55.779267
2020-12-03T15:01:07
2020-12-03T15:01:07
265,159,944
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
from typing import List class Solution: def canReach(self, arr: List[int], start: int) -> bool: n = len(arr) q = [start] while q: node = q.pop(0) # check if reach zero if arr[node] == 0: return True if arr[node] < 0: ...
[ "chlee1252@gmail.com" ]
chlee1252@gmail.com
c74528038cbad454e6499ce7e1cb337dbe677fbe
c8098e3907f39210ac159cf78f66cd871440fc10
/vagrant/lesson 4/exercise 3.py
2004a1268b8307f43133004d0d1ad4878a9318e0
[]
no_license
jaapdejong/fullstack-nanodegree-vm--ud088
e297dbc421d19df61499a16ae87ca572426228df
ba383a9ab7a315279e4acd0425bbca1e25ba943a
refs/heads/master
2021-06-11T23:14:37.669565
2017-01-22T11:59:55
2017-01-22T11:59:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,898
py
#!/usr/bin/python from flask import Flask, render_template, url_for app = Flask(__name__) #Fake Restaurants restaurant = {'name': 'The CRUDdy Crab', 'id': '1'} restaurants = [] #[{'name': 'The CRUDdy Crab', 'id': '1'}, {'name':'Blue Burgers', 'id':'2'},{'name':'Taco Hut', 'id':'3'}] #Fake Menu Items items = [ {'n...
[ "jaap.dejong@nedap.com" ]
jaap.dejong@nedap.com
1ec605f1bba5b748397582f13a7ab15fca3a1369
730a0291d90bf220d162791287e422bc4225d164
/samples/Marquee/LoadFirst.py
c29f1326248481262f948300b1b296f9a23eb512
[ "BSD-3-Clause" ]
permissive
jon-jacky/PyModel
27442d062e615bd0bf1bd16d86ae56cc4d3dc443
457ea284ea20703885f8e57fa5c1891051be9b03
refs/heads/master
2022-11-02T14:08:47.012661
2022-10-16T09:47:53
2022-10-16T09:47:53
2,034,133
75
36
NOASSERTION
2021-07-11T21:15:08
2011-07-12T04:23:02
Python
UTF-8
Python
false
false
260
py
""" Scenario control for Marquee, load once at the beginning then keep shifting """ from Marquee import Load, Shift initial = 0 accepting = (0,1) graph = ((0, (Load, (), None), 1), # empty args here, match any pattern (1, (Shift, (), None), 1))
[ "jon@u.washington.edu" ]
jon@u.washington.edu
4d3f88619fbe693eb79eef77d51c5e47213cebba
ce0f8956c4c308c67bd700d31fe8d5a17b16ac08
/Python3/src/23 Miscellaneous Topics/Documentation/Sphinx/mylib/package1/package2/ModuleC.py
2916eb0b5f2d4d6e4d012dbbc6f01e4576f6edc2
[]
no_license
seddon-software/python3
795ae8d22a172eea074b71d6cd49d79e388d8cc6
d5e6db1509a25c1a3040d5ae82d757539a2ff730
refs/heads/master
2021-07-10T15:48:31.893757
2020-07-16T20:29:22
2020-07-16T20:29:22
175,872,757
0
1
null
null
null
null
UTF-8
Python
false
false
379
py
############################################################ # # ModuleC # ############################################################ '''This is ModuleC''' class C: '''class A contains 3 methods''' def f(self): print("this is C.f() ...") def g(self): print("this is C.g() .....
[ "seddon-software@keme.co.uk" ]
seddon-software@keme.co.uk
140192a98e5687fa092f708786c5996346192fcb
70d929497cbd70bb40ed939f3aa0ce56c3f7d816
/pandas/core/indexes/range.pyi
c965a140a9ba2c9c0d2e1b0a20a25e89a2c35141
[ "MIT" ]
permissive
matangover/python-type-stubs
abd4bc46f9841d0a2c44e1597055019d21f9ee70
15285c6b88dc684d9de9bfdaf8b72d4eb7c3e257
refs/heads/main
2023-07-13T04:19:03.481222
2021-08-05T20:26:18
2021-08-05T20:26:18
399,435,272
0
0
MIT
2021-08-24T11:11:57
2021-08-24T11:11:56
null
UTF-8
Python
false
false
1,869
pyi
import numpy as np from pandas.core.indexes.numeric import Int64Index as Int64Index from typing import Union class RangeIndex(Int64Index): def __new__(cls, start: Union[int, RangeIndex] = ..., stop: int = ..., step: int = ..., dtype = ..., copy: bool = ..., name = ...): ... def __init__(self, start: Union[int,...
[ "gram@geekraver.com" ]
gram@geekraver.com
b5491af1fd7b3fb78b4f2ccb2f18c91d00d8a691
04a6eb4f70f78da7f40954f4d0120c3f01c160f6
/engine/crypt.py
1bae56d29dd262f1e42777b408f503c73e465785
[ "MIT" ]
permissive
pitzer42/micro-tcg
52417dd040ea708611c0ec01e41250a2608fc083
eec416fb3b7b992a206ab900f3d85d172f494103
refs/heads/master
2021-06-23T02:16:39.892066
2019-08-04T23:14:09
2019-08-04T23:14:09
189,917,723
0
1
MIT
2021-02-26T02:30:58
2019-06-03T01:56:31
Python
UTF-8
Python
false
false
279
py
import bcrypt def encrypt(value) -> bytes: encoded = str(value).encode() salt = bcrypt.gensalt() return bcrypt.hashpw(encoded, salt) def equals_to_encrypted(value, encrypted_value): value = str(value).encode() return bcrypt.checkpw(value, encrypted_value)
[ "arthurpitzer@id.uff.br" ]
arthurpitzer@id.uff.br
5cfe8928f8c3caeb98f738aeeabb4e523ee23be2
39ab7a24ebc303208538c789f92fe28d087888b5
/examples/color_2.py
508e801ae50d224cfe095a4ccad505510a2631e8
[ "MIT" ]
permissive
BhosaleAkshay8055/tkinter-examples
8818799ccbc8bce11d60e985ccd1e519ff06feb3
5f6b0f1aa4d5f3e892ab968b2572cd54797f5acb
refs/heads/master
2023-07-23T23:45:00.450296
2021-08-28T14:42:41
2021-08-28T14:42:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,025
py
from tkinter import * import colorsys #操作后的响应函数 def update(*args): 'color' r, g, b = colorsys.hls_to_rgb(h.get() / 255.0, l.get() / 255.0, s.get() / 255.0) r, g, b = r * 255, g * 255, b * 255 rgb.configure(text='RGB:(%d, %d, %d)' % (r...
[ "doudoudzj@sina.com" ]
doudoudzj@sina.com
39fb4f9c182c34a47d05680f07cfc7b45e9f23a2
87495f876501ec67a6ca7bf6da925e5e34f9959b
/src/posts/urls.py
baa3305c2f17c5fa8b6c3f7a7a254b96d704cde4
[]
no_license
kishanpython/Blog
bfc9923f773a6126413ee6c3565e78a8bb2bcdd9
8fa8ae36288924091489d010a01d77e2e8b25846
refs/heads/master
2022-10-28T19:22:12.200245
2019-08-30T14:57:33
2019-08-30T14:57:33
205,371,585
1
1
null
2022-10-13T14:40:53
2019-08-30T11:46:33
Python
UTF-8
Python
false
false
455
py
from django.conf.urls import url from django.contrib import admin from .views import ( post_list, post_create, post_detail, post_delete, post_update, ) urlpatterns=[ url(r'^$',post_list,name="list"), url(r'^create/$',post_create,name="post_create"), url(r'^(?P<slug>[\w-]+)/$',post_detail,name="details"), ur...
[ "kishanyadav3223@gmail.com" ]
kishanyadav3223@gmail.com
534bd3b951100aab54db2c4ad8bdd4c4e611f898
892dd32ee0be7135cd33c875b06dcc66307dcc99
/automation/NfsRegressionSuite/updateVolumeSize.py
b3b35f32cf74ae2b5ff0d49a48020aa3d2351ded
[]
no_license
cloudbytestorage/devops
6d21ed0afd752bdde8cefa448d4433b435493ffa
b18193b08ba3d6538277ba48253c29d6a96b0b4a
refs/heads/master
2020-05-29T08:48:34.489204
2018-01-03T09:28:53
2018-01-03T09:28:53
68,889,307
4
8
null
2017-11-30T08:11:39
2016-09-22T05:53:44
Python
UTF-8
Python
false
false
3,467
py
import sys import json import requests from cbrequest import configFile def sendrequest(url, querystring): #print url+querystring response = requests.get( stdurl+querystring, verify=False ) return(response); def filesave(loglocation,permission,content): f=open(loglocation,permission) f.w...
[ "karthik.s@cloudbyte.com" ]
karthik.s@cloudbyte.com
cc62884e95f34d7d6f1d6118b45ae74968c6111a
a1ad2715e306fd4e7eaeda5348e00e1a363e7884
/leetcode/gcdexample.py
7d712499a5994b744bf55b3887b44e64925bbdd0
[]
no_license
MayankMaheshwar/DS-and-Algo-solving
cef54a800b3e8a070a707f97b4f30fccaa17d5c6
ac6ea8f880920242a55d40c747368d68cb6f7534
refs/heads/master
2022-12-07T07:55:08.380505
2022-12-05T09:32:14
2022-12-05T09:32:14
237,103,468
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
from fractions import gcd class Solution: def hasGroupsSizeX(self, deck: List[int]) -> bool: from fractions import gcd vals = collections.Counter(deck).values() return reduce(gcd, vals) >= 2
[ "mayank.maheshwari625@gmail.com" ]
mayank.maheshwari625@gmail.com
2b608ec238727ce2e320bcf966296a21ebf178c2
f3693916a8b118bf139364604dac3f51235ed613
/functional/Components/PathfinderEdgeGlobalConfiguration/PathfinderEdgeGlobalConfiguration_PATCH/test_TC_45523_1_PathfinderEdgeGlobalConfiguration_PATCH_Ve_Global_Config_Http_Del_Service_Protocol.py
ead16d4900514254b85485f72292ab01be5ea4e8
[]
no_license
muktabehera/QE
e7d62284889d8241d22506f6ee20547f1cfe6db1
3fedde591568e35f7b80c5bf6cd6732f8eeab4f8
refs/heads/master
2021-03-31T02:19:15.369562
2018-03-13T02:45:10
2018-03-13T02:45:10
124,984,177
0
0
null
null
null
null
UTF-8
Python
false
false
5,039
py
# -*- coding: UTF-8 -*- """PFE Component Tests - Pathfinder_Edge_Global_Configuration. * TC-45523 - Pathfinder_Edge_Global_Configuration PATCH: Verify that user is able to update deliveryServiceProtocol on providing value 'http' or 'https' for VideoEdge Global configuration using request PATCH /devices/veGlobalCon...
[ "mbehera@qumu.com" ]
mbehera@qumu.com
760b9b06d8c0068515ee1bc885dab23ac8b7274b
56d97e3841d189f2c35ef0cde8bfda63211dff68
/python week 8/warmup-2/string_match.py
4d36b6a4b037b46a332fc0118a951dfecb9ab018
[]
no_license
NazerkeY/Web-Development
651e8ececbe5ab007f956a98460f0e0430f08fe8
74f20c5caf7ec23532f088268b587308204d9c35
refs/heads/master
2023-01-14T00:44:27.986839
2020-04-28T19:53:02
2020-04-28T19:53:02
239,349,138
0
0
null
2023-01-07T23:00:37
2020-02-09T18:02:13
Python
UTF-8
Python
false
false
183
py
def string_match(a, b): minimum = min(len(a), len(b)) cnt = 0 for i in range(minimum-1): sub1 = a[i:i+2] sub2 = b[i:i+2] if sub1 == sub2: cnt += 1 return cnt
[ "nazerke_5@inbox.ru" ]
nazerke_5@inbox.ru
29b2604a8a5e97094790a80dee4e0c5e3ff4b240
1a7c3532b3052d5f1e8c31edd0b88bed990cb009
/venv3.6/bin/odf2mht
30a2e4b6b01166549a0e77d8064abf09636f1834
[]
no_license
leolvcl/leo_typeidea
ac153303a2f348cd5fe1699328a44fcee253c41b
664c807ed71bb08281a849e559fe30e3714d2c5b
refs/heads/master
2020-07-13T00:03:00.391677
2019-09-22T15:01:35
2019-09-22T15:01:35
204,941,738
1
0
null
null
null
null
UTF-8
Python
false
false
2,328
#!/home/leo/PycharmProjects/lvcl01/venv3.6/bin/python # -*- coding: utf-8 -*- # Copyright (C) 2006 Søren Roug, European Environment Agency # # This is free software. You may redistribute it under the terms # of the Apache license and the GNU General Public License Version # 2 or at your option any later version. # # T...
[ "lvclleo@gmail.com" ]
lvclleo@gmail.com
66199c555c36a68d45b475c1abbfad7ada381d3e
cd99fe697ce43e30a64df9cc1df9470d1b0712ab
/jsuarez/MPIUtils.py
4a16610e990af86131080a26abedf4b4dc18ac62
[ "MIT" ]
permissive
openai/neural-mmo
ecde7382aa06123b9951cd78712e5eb1497204aa
38fd0310bc784de9b86e5144d0e78f4d31005e6b
refs/heads/v1.0
2023-08-05T02:48:18.988444
2019-09-13T23:46:13
2019-09-13T23:46:13
173,154,826
1,607
203
MIT
2023-07-21T13:04:40
2019-02-28T17:17:24
Python
UTF-8
Python
false
false
1,731
py
#Author: Joseph Suarez from pdb import set_trace as T import sys, builtins import numpy as np from mpi4py import MPI from mpi4py.MPI import COMM_WORLD as comm MASTER = 0 SILENT = 1 ALL = 2 class LoadBalancer: def __init__(self, cores): self.nCores = len(cores) self.cores = cores self.loa...
[ "sealsuarez@gmail.com" ]
sealsuarez@gmail.com
7d019dcab3011e74084bd792ba632e21097b60ca
4e958672a47409ebafd41704a30de781450f60e5
/Nitesh1/course/urls.py
f88842bedb8573e8b9048eb6f7ff13c9372cc0a3
[]
no_license
Nitesh-Singh-5/Understanding-Django-from-scratch
7f704a2c0101d1e4a535c61a447a4e3775539b52
b941151bdc2bee555b590f90e4a4c17e2a83db96
refs/heads/master
2022-12-28T20:23:03.042537
2020-10-13T15:10:55
2020-10-13T15:10:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
from django.urls import path from . import views urlpatterns = [ path('study/', views.study), path('learn/', views.learn), ]
[ "67116285+nitesh5801@users.noreply.github.com" ]
67116285+nitesh5801@users.noreply.github.com
c8dd955621c4f656e0f58b86490668e8db43da77
2287f1ae8a05e72f78c72108e1b2f8ffe9a151d2
/scrapy/contrib/pipeline/fileexport.py
6e2109d01895b2568eefcf730cffc0eeb46602b3
[ "BSD-3-Clause" ]
permissive
trepca/scrapy
e0643f0542dda47fac23f8ea2ffbbf88845cae66
bdb1ca13b86e199bcef5de55af4930ba54402db8
refs/heads/master
2021-01-21T01:39:30.044164
2010-08-24T00:28:32
2010-08-26T10:48:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,984
py
""" File Export Pipeline See documentation in docs/topics/item-pipeline.rst """ from scrapy.xlib.pydispatch import dispatcher from scrapy.core import signals from scrapy.core.exceptions import NotConfigured from scrapy.contrib import exporter from scrapy.contrib.exporter import jsonlines from scrapy.conf import setti...
[ "pablo@pablohoffman.com" ]
pablo@pablohoffman.com
886a1680bcc1e159afd4d657ee7506a6664428d1
f048068920ea00a76b667d338964d3c69c74c2b6
/src/readstdout.py
ccc62dd8895a09b4033d5824cef6777905a91a9c
[]
no_license
h4nyu/python_examples
5e3f4f1601e797667a9ffbfe80a8526161a43bf7
1a4e3f8ff67eaaf96dd63869099a1b805278d2d9
refs/heads/master
2020-05-21T18:54:37.561103
2017-03-11T14:08:34
2017-03-11T14:08:34
84,645,002
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
import subprocess import time proc = subprocess.Popen(['python', './stdout.py'], stdout=subprocess.PIPE) print "ready" while True: time.sleep(0.3) line = proc.stdout.read(1) if line: print(line) else: break queue.put(line)
[ "yao.ntno@gmail.com" ]
yao.ntno@gmail.com
7e79a477ec3fa49fd82c3dab963cf434be2a87cd
6ed034d0a5e239d7b0c528b287451409ffb4a494
/tests/test_onnx.py
c0179c2765af9dedc85dcf797500f3813432b5ab
[ "Apache-2.0" ]
permissive
ViTAE-Transformer/ViTPose
8f9462bd5bc2fb3e66de31ca1d03e5a9135cb2bf
d5216452796c90c6bc29f5c5ec0bdba94366768a
refs/heads/main
2023-05-23T16:32:22.359076
2023-03-01T06:42:22
2023-03-01T06:42:22
485,999,907
869
132
Apache-2.0
2023-03-01T06:42:24
2022-04-27T01:09:19
Python
UTF-8
Python
false
false
767
py
# Copyright (c) OpenMMLab. All rights reserved. import os.path as osp import tempfile import torch.nn as nn from tools.deployment.pytorch2onnx import _convert_batchnorm, pytorch2onnx class DummyModel(nn.Module): def __init__(self): super().__init__() self.conv = nn.Conv3d(1, 2, 1) self....
[ "annblessus@gmail.com" ]
annblessus@gmail.com
fb04d7130569114cb2faf0b8ce198d4fc4a4c1d8
c90b3ac3e5ad11cb93d4e6b76b9b9c4a19d0f512
/.history/copytest_20200430000820.py
e910574e45ca1e2000e9260baea374208f9d9ca8
[]
no_license
rbafna6507/passwordstorageproject
6465585e36c81075856af8d565fe83e358b4a40a
480c30e358f7902ac0ef5c4e8d9556cb1d6d33f4
refs/heads/master
2022-11-25T12:05:02.625968
2020-07-27T21:33:38
2020-07-27T21:33:38
283,021,426
0
0
null
null
null
null
UTF-8
Python
false
false
756
py
import pickle import cryptography from cryptography.fernet import Fernet def encrypt(message: bytes, key: bytes) -> bytes: return Fernet(key).encrypt(message) def decrypt(token: bytes, key: bytes) -> bytes: return Fernet(key).decrypt(token) key = Fernet.generate_key() username = input("Username: ") password...
[ "35872545+rbafna6507@users.noreply.github.com" ]
35872545+rbafna6507@users.noreply.github.com
6fb13f2cc800302e2a8aa6b73a65fbbd8f8a36d3
d07b022b318e4cfedd12bde85495d942a1de28c1
/setup.py
81cb8b428832968530086e15e8c74bc3470b6645
[ "MIT" ]
permissive
JudeLee19/linear-attention-transformer
c3600b8755e8ac57b240d7f7a4842e8f053d0b5f
5190577f438da04958dbc18e84914f528a220456
refs/heads/master
2022-11-14T20:55:13.402124
2020-07-08T17:32:30
2020-07-08T17:32:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
from setuptools import setup, find_packages setup( name = 'linear_attention_transformer', packages = find_packages(exclude=['examples']), version = '0.10.3', license='MIT', description = 'Linear Attention Transformer', author = 'Phil Wang', author_email = 'lucidrains@gmail.com', url = 'https://github.c...
[ "lucidrains@gmail.com" ]
lucidrains@gmail.com
97a2c9fa2477be51742cc45ea979f74d2a28965d
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/util/bin/format/pdb2/pdbreader/symbol/HLSLRegisterType.pyi
172bc3497ad1734d73fd4a741529dbbdd9aac09c
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
5,805
pyi
from typing import List import ghidra.app.util.bin.format.pdb2.pdbreader.symbol import java.lang class HLSLRegisterType(java.lang.Enum): CONSTANT_BUFFER: ghidra.app.util.bin.format.pdb2.pdbreader.symbol.HLSLRegisterType = CONSTANT_BUFFER CYCLE_COUNTER: ghidra.app.util.bin.format.pdb2.pdbreader.symbol.HLSLRegi...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
ca5ef7a9f44b9d02e8ce5b5ae17e8e8cb46f6351
6d7741839ec5ef033cad043d2e42b520d0fe2600
/src/model.py
3e43d46c5d5273037b9527a13592c64dfd62b6c6
[ "MIT" ]
permissive
andi611/AC-Actor-Critic-SlitherIO-Tensorflow
dc1547a594ebf2e3862b20b05ffeea2b0e6e0cdb
81dcabc2755c1ee7a898914dfdad3758f2d93648
refs/heads/master
2020-04-01T13:05:42.096824
2018-12-12T08:08:41
2018-12-12T08:08:41
153,236,603
4
1
null
null
null
null
UTF-8
Python
false
false
2,081
py
#--------------------------------------------------------------# import tensorflow as tf #--------------------------------------------------------------# """"""""""""""" model structure: Conv-32x7x7-s2 Conv-64x7x7-s2 MP-3x3-s2 Conv-128x3x3-s1 MP-3x3-s2 Conv-192x3x3-s1 FC-1024 """"""""""""""" def CNN(inputs, n_feature...
[ "tingweiandyliu@gmail.com" ]
tingweiandyliu@gmail.com
43d5c346abe5cfe2b3682505bd17696aee21a176
0facb323be8a76bb4c168641309972fa77cbecf2
/Configurations/TTSemiLep/nanoAODv7/2016/StackNew_comb/configuration_Top_pTrw_M2T4.py
a66573b14b14a3dd416242b0a20c6ddb4ff276bc
[]
no_license
bhoh/SNuAnalytics
ef0a1ba9fa0d682834672a831739dfcfa1e7486b
34d1fc062e212da152faa83be50561600819df0e
refs/heads/master
2023-07-06T03:23:45.343449
2023-06-26T12:18:28
2023-06-26T12:18:28
242,880,298
0
1
null
2020-02-25T01:17:50
2020-02-25T01:17:49
null
UTF-8
Python
false
false
671
py
##Just set below things## tag='2016_SKIM7_Top_pTrw_M2T4' variablesFile='variables_Top_pTrw.py' ##what variables to draw cutsFile='cuts.py' ## event selection##region selection plotFile='plot_Top_pTrw_M2T4.py' ##color code and some format-related things samplesFile = 'samples_2016_Top_pTrw_M2T4.py' lumi=35.92 #out...
[ "bh.oh@cern.ch" ]
bh.oh@cern.ch
d0d9d113884224077f3944f2ffb3d712df6de075
5ae2d0217ff66f387742aff66ee7c95cb480daab
/python/www/dash/layout/card.py
574928f3890734524dcba5b376d365f2b385299e
[ "MIT" ]
permissive
Pandinosaurus/jetson-inference
ce1aabf7e9fe07032f6f1d30e16f1436dccfdd7e
3d0d0f8d779cbf88ea1519bf0253e10cf2b86ac9
refs/heads/master
2023-08-08T11:44:06.287709
2023-07-27T17:41:23
2023-07-27T17:41:23
213,068,895
0
0
MIT
2023-08-30T06:02:48
2019-10-05T20:45:03
C++
UTF-8
Python
false
false
6,557
py
# # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the 'Software'), # to deal in the Software without restriction, including without limitation # the rights to use,...
[ "dustinf@nvidia.com" ]
dustinf@nvidia.com
78f1cb1c7bfc965325bc6889de72052944f10e80
99df40595f37a65fa5c062af6e29050b44c387fa
/ukpsummarizer-be/summarizer/single_iteration_pipes.py
2f0d42f909592c310871bb7aaf3b8c481fbc5601
[ "Apache-2.0" ]
permissive
AIPHES/vldb2018-sherlock
fba7c9554761989a1e0fe7b5347c817ea239de16
3746efa35c4c1769cc4aaeb15aeb9453564e1226
refs/heads/master
2020-04-05T00:48:22.951462
2018-11-16T16:34:03
2018-11-16T16:34:03
156,411,181
1
0
Apache-2.0
2018-11-16T16:34:05
2018-11-06T16:12:55
Python
UTF-8
Python
false
false
5,184
py
from __future__ import print_function, unicode_literals import argparse import datetime from os import path from web.single_iteration_runner import SingleTopicRunner from web.gridsearch import GridSearch import logging import logging.config def add_args(parser): # -- summary_len: 100, 250, 400 parser.add_a...
[ "avinesh@aiphes.tu-darmstadt.de" ]
avinesh@aiphes.tu-darmstadt.de
7667e2243105f1350a1e9797ff709fc0dfe0c93e
cf9afa19f1a57a4e5672d2f39a68202e9a625bc9
/3_DataAnalysis/0_Feature_engineering/101_My_Learn/99_My_Ensemble/3_Boosting/1_AdaBoosting.py
dd908fc84dd9c6effd6126a6106f96f95a1b8175
[]
no_license
BarryZM/zoubo
4042604540740d87a61fd082cb821bd89a4f8ecc
7c93c7d3e9ad6c80c76dbc78a8f1fb034d5e61d8
refs/heads/master
2023-03-19T23:08:42.990312
2020-05-18T01:49:02
2020-05-18T01:49:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
727
py
import pandas as pd import matplotlib.pyplot as plt from sklearn import datasets X, y = datasets.make_moons(n_samples=500, noise=0.3, random_state=42) plt.scatter(X[y==0,0], X[y==0,1]) # X[y==0,0]取随机数:X[y==0]得到一行,再取第0个元素 plt.scatter(X[y==1,0], X[y==1,1]) plt.show() from sklearn.model_selection import train_test_sp...
[ "397353721@qq.com" ]
397353721@qq.com
f66029b8e942c4770ffe9d164d91679a356a428b
5e45f1d1d9f58aa1456777b0d75334d6efd43840
/challenges/contests/project_euler/8_greatest_multiply/python/greatest_multiply.py
8aa0e7af34861e773d3c463c9ba1991ceaf7160f
[]
no_license
missingdays/nerdy.school
604953dc9b3c38a0f71793f066ce2707aa980dae
051673e0ebc54bc2f7e96a6477697d1d528dc45c
refs/heads/master
2021-01-17T08:10:19.558851
2016-06-06T15:29:01
2016-06-06T15:29:01
59,897,184
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
n = int(input()) def multi(number): mult = 1 for digit in number: mult = mult * int(digit) return mult for i in range(n): loop = int(input().split()[1]) number = input() m = 0 for i in range(len(number)-loop+1): a = multi(number[i:i+loop]) print(number[i:i+loop]...
[ "rebovykin@gmail.com" ]
rebovykin@gmail.com
c8f1ae9219f252b31d3b22685e21420b6bc303ac
7e84f6f2f23055c3648dd88ab0364c393b3ce320
/poleno/mail/transports/mandrill/apps.py
0d625db5af310e336b20d274691ceb737b7b2b6c
[]
no_license
DominikJakub/chcemvediet
5d177342c7d309e9a301c0d4ecac33c91abb4889
95d04e398f4a825f9175851885b9b9d98ae9543e
refs/heads/master
2020-04-17T23:21:09.573077
2015-08-20T07:53:10
2015-08-20T07:53:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
# vim: expandtab # -*- coding: utf-8 -*- from django.apps import AppConfig class MandrillConfig(AppConfig): name = u'poleno.mail.transports.mandrill' def ready(self): from . import signals
[ "martin@github.ksp.sk" ]
martin@github.ksp.sk
e214197fdc117b865efba51d71fbe2ec0bdba42a
3507a2d646ab0f729c717d5239633d70508d32b1
/dh_abstracts/app/abstracts/management/commands/clean_hanging.py
04a625ac2a39473729bcb2ed5b754fdb40ccd12d
[ "MIT" ]
permissive
cmu-lib/dhweb_app
26c22055afc7685153dd588e1ebabceb9cb782f7
8779fb1d6d52a8fb26a955b06b8589d5708589f6
refs/heads/master
2023-04-29T13:28:51.233931
2022-09-02T00:28:54
2022-09-02T00:28:54
146,502,577
4
0
MIT
2023-04-21T21:45:46
2018-08-28T20:23:16
Python
UTF-8
Python
false
false
733
py
from django.core.management.base import BaseCommand from abstracts import models from django.db import transaction from django.db.models import Q class Command(BaseCommand): help = "Erase hanging records" def handle(self, *args, **options): models.Author.objects.exclude(authorships__isnull=False).all...
[ "matthew.d.lincoln@gmail.com" ]
matthew.d.lincoln@gmail.com
bd9257b520f85897b35e27fea38dadb7487d2d96
39a616e021d379be612afcee1c65b868ec1a5ac3
/tests/func/regressions/test_issue73.py
edf31da5f1bfaababc177343c30bb449729831ad
[ "MIT", "Python-2.0" ]
permissive
igordejanovic/parglare
ead2384421fbee25dfbbd34ebeb45e871bd05af1
aac5f31abadaa1ca639cfc0491d48ba61b1aa252
refs/heads/master
2023-04-16T01:06:02.995615
2023-04-07T16:22:00
2023-04-07T16:22:00
76,740,212
126
36
MIT
2022-07-12T14:59:41
2016-12-17T18:32:27
Python
UTF-8
Python
false
false
503
py
# -*- coding: utf-8 -*- # Tests for issue #73 (see https://github.com/igordejanovic/parglare/issues/73) from parglare import Grammar, Parser def test_recursive_rule(): grammar = r""" s: as; as: as "a" | EMPTY; """ g = Grammar.from_string(grammar) parser = Parser(g) parser.parse('aaa') d...
[ "igor.dejanovic@gmail.com" ]
igor.dejanovic@gmail.com
ecc2cee42543809a94d4f22a0f9a5c1a393b62b3
db12b990924703cd74748d8585cd9c11fafa6746
/h2o-py/tests/testdir_algos/rf/pyunit_constant_response_rf.py
aaf34a86ea32ae8196da7cdac12f21b3d5dcd229
[ "Apache-2.0" ]
permissive
h2oai/h2o-3
919019a8f297eec676011a9cfd2cc2d97891ce14
d817ab90c8c47f6787604a0b9639b66234158228
refs/heads/master
2023-08-17T18:50:17.732191
2023-08-17T16:44:42
2023-08-17T16:44:42
17,371,412
6,872
2,345
Apache-2.0
2023-09-14T18:05:40
2014-03-03T16:08:07
Jupyter Notebook
UTF-8
Python
false
false
682
py
from builtins import range import sys sys.path.insert(1,"../../../") import h2o from tests import pyunit_utils from h2o.estimators.random_forest import H2ORandomForestEstimator def constant_col_rf(): train = h2o.import_file(path=pyunit_utils.locate("smalldata/iris/iris_wheader.csv")) train["constantCol"] = 1 ...
[ "noreply@github.com" ]
h2oai.noreply@github.com
558c3cf07ee02a91113b5fd5ade274f1e34aef1d
161d9c1d44db426dd67785b6c03be63abc7701c5
/hash_dict/__init__.py
fc9dc3621394219b868a359293cec16d7b2cf071
[ "MIT" ]
permissive
Cologler/hash-dict-python
2fb238cf136ab1a66652d59165e8c51197be4f46
bf483cb2365ae9545c207830e6b726b6712c5de1
refs/heads/master
2020-05-21T15:59:53.502131
2019-05-27T08:37:56
2019-05-27T08:37:56
186,104,112
0
0
MIT
2019-05-27T08:37:57
2019-05-11T07:54:20
Python
UTF-8
Python
false
false
278
py
# -*- coding: utf-8 -*- # # Copyright (c) 2019~2999 - Cologler <skyoflw@gmail.com> # ---------- # # ---------- from .hash_dict import HashDict from .hash_set import HashSet from .comparer import ( IEqualityComparer, ObjectComparer, AnyComparer, StringComparers, )
[ "skyoflw@gmail.com" ]
skyoflw@gmail.com
9c1dab7634c7dfa4cbb199068f15c99e0a24b74c
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/aba4e23081f84c88a201f749fc75036a.py
3b1d3abb048902d89bf03218a876dc52dd8391b5
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
484
py
def is_silence(message): return message == "" or message.isspace() def is_shouting(message): return any((s.isalpha() for s in message)) and\ message.upper() == message def is_question(message): return message == "" or message[-1] == '?' def hey(message): if is_silence(message): ret...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
3250cd7898149506e9e7b68779b6b9a1776df77d
25d081c82bf9adc2a8d96c254df0239a9f982a71
/museum_site/migrations/0026_auto_20190307_0205.py
dc7dbb97c1a3ab51a75f1152dd7e1f4bfc099b86
[ "MIT" ]
permissive
asiekierka/z2
f102de582aaa9fc51b6b598a1fb07c58be4f540f
d926408423dc98d71d5e7fc2fda3202c03c309de
refs/heads/master
2021-06-15T15:09:41.614135
2021-02-23T02:44:54
2021-02-23T02:44:54
146,348,922
1
0
MIT
2018-08-27T20:14:46
2018-08-27T20:14:46
null
UTF-8
Python
false
false
1,193
py
# Generated by Django 2.1.7 on 2019-03-07 02:05 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('museum_site', '0025_auto_20181209_0608'), ] operations = [ migrations.RemoveField( model_name='...
[ "doctordos@gmail.com" ]
doctordos@gmail.com
626440745488d6f8774d06860a87422b773c1b96
c98d8014861e4afbde501e5384a7f6211b861e62
/tests/benchmarks/constructs/CallCompiledFunctionPosArgsConstant.py
1240d925a5509e9fb6c3cd597fc05a4c29785b24
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
pwFoo/Nuitka
3ce1f7af5605c0565bf81e8e7243eab40b92c345
479ed94720815918ed11fb070ef6d1a6454f4a3a
refs/heads/master
2023-02-14T03:51:26.129166
2021-01-10T12:17:10
2021-01-10T12:17:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,535
py
# Copyright 2020, Kay Hayen, mailto:kay.hayen@gmail.com # # Python test originally created or extracted from other peoples work. The # parts from me are licensed as below. It is at least Free Software where # it's copied from other people. In these cases, that will normally be # indicated. # # L...
[ "kay.hayen@gmail.com" ]
kay.hayen@gmail.com
188cc09153db609a4d0ef5056ee6be341058971b
74837368ece5c26474bce922d9a3f1c2d74e23f1
/树/leetcode110_平衡二叉树.py
b1d4f884d33dac636d200d0138e63f28879860bb
[]
no_license
houhailun/leetcode
5a2e8a5a23b3a63f1a32a39b42bf195861292d70
1ca58b87e5edfa8db389f14e3a9105e92b4ae85f
refs/heads/master
2021-06-11T08:17:45.506361
2021-03-30T02:22:24
2021-03-30T02:22:24
158,809,894
1
0
null
null
null
null
UTF-8
Python
false
false
2,265
py
#!/usr/bin/env python # -*- coding:utf-8 -*- """ 给定一个二叉树,判断它是否是高度平衡的二叉树。 本题中,一棵高度平衡二叉树定义为: 一个二叉树每个节点 的左右两个子树的高度差的绝对值不超过1。 示例 1: 给定二叉树 [3,9,20,null,null,15,7] 3 / \ 9 20 / \ 15 7 返回 true 。 示例 2: 给定二叉树 [1,2,2,3,3,null,null,4,4] 1 / \ 2 2 / \ 3 3 / \ 4 4 返回 false 。...
[ "hailun.hou@dmall.com" ]
hailun.hou@dmall.com
22f89fa0a8acd9ffa2c705c73fec674667c5f41b
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/l2/mpbd.py
09a9ec52f4696371b701a52155e2d2623fda3cc4
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
4,271
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
76b1e41c105cd8e85d040360730399216ae76312
5785d7ed431b024dd910b642f10a6781df50e4aa
/revise-daily/google/educative/dp/1_longest_common_subsequence.py
25f8b054f443f3f6623d0321c254d22cfdcecbd2
[]
no_license
kashyapa/interview-prep
45d77324446da34d99bf8efedb3544b367b5523e
7060c090c40602fb9c4778eace2078e1b51e235b
refs/heads/master
2023-07-28T13:12:49.515299
2021-09-06T14:33:25
2021-09-06T14:33:25
403,706,510
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
def longest_common_subsequence(s1, s2): def rec(i1, i2): if i1 == len(s1) or i2 == len(s2): return 0 if s1[i1] == s2[i2]: return 1 + rec(i1+1, i2+1) return max(rec(i1+1, i2), rec(i1, i2+1)) return rec(0,0) def longest_common_subsequence_dp(s1, s2): dp = [[...
[ "schandra2@godaddy.com" ]
schandra2@godaddy.com
fff7b32fc09f4b26372e6707d5306a758fdd472f
da97d5ef948e86c0c33d35498a6ef4738f9e6529
/jsonhome/tests/test_resource.py
1dc26c81ddfe55e0ff823b72f8f4bf754a2145a2
[ "Apache-2.0" ]
permissive
jamielennox/jsonhome
b473e7e7442986895fff311ab9e800d42ea0acef
b886b7167a57370707473b0535e03d0356b40b3e
refs/heads/master
2021-01-10T10:35:09.068149
2015-07-25T03:04:55
2015-07-25T03:04:55
36,725,102
1
0
null
null
null
null
UTF-8
Python
false
false
5,181
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
[ "jamielennox@redhat.com" ]
jamielennox@redhat.com
8fba4d26cad96419253be81366bd428409fc1f5b
6f21929d29d00b5fdfd777c1259543164f45ae12
/removeDuplicatesFromSortedArray_2.py
90a5797c71a3197dba44f299ec80e3b02dd1c196
[]
no_license
Success2014/Leetcode
0a3f3b587a387884d0197b2559a87e796bc30ce4
0f631afe2d80da30a5e1cacedd9698d1d850981a
refs/heads/master
2016-08-05T06:17:53.726004
2015-09-02T22:37:04
2015-09-02T22:37:04
37,785,542
1
0
null
null
null
null
UTF-8
Python
false
false
448
py
# -*- coding: utf-8 -*- """ Created on Sat Aug 08 16:54:57 2015 @author: Neo """ class Solution: # @param {integer[]} nums # @return {integer} def removeDuplicates(self, nums): n = len(nums) if n <= 1: return n j = 0 for i in xrange(1,n): if...
[ "neogoyeah@gmail.com" ]
neogoyeah@gmail.com
f5df161ba2dd7c172b7bac61192851d55789849a
ea0bf09e000b063f7578b4dc769d5628a043973c
/ml_pitfalls_exp/pitfalls.py
8acb6210b3633bb722029272630d84fb7f5d62ff
[]
no_license
HaiQW/Python
01110f0ea09d105cc1a46751163c2c096fd9070f
7c7f5e22301679a25a4950c828c452937d042a58
refs/heads/master
2016-09-10T01:39:24.643949
2015-04-18T03:14:50
2015-04-18T03:14:50
31,580,762
0
0
null
null
null
null
UTF-8
Python
false
false
4,733
py
# Corpwrite : HaiQW # URL = http://blog.yhathq.com/posts/measuring-model-performance-1.html # Decription : "How good" can mean a lot of things and it varies over domain # and problems sets. But it is the developer's responsibility to provide a fair # measurement in the first place. That task is surprisingly easy to mes...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
0400f09d1c89f47e2daf35f62ebd3dcd6efc7843
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03450/s825560359.py
d51c6672197809c5fa345cb87db7b541d29c8f3e
[]
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
786
py
# Union Find 木 from sys import setrecursionlimit def find(parent, i): t = parent[i] if t < 0: return i t = find(parent, t) parent[i] = t return t def pos(x, i): j, k = x[i] if i == j: return i, 0 l, m = pos(x, j) x[i] = (l, m + k) return x[i] setrecursionlim...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
548afa1c766805fccfe151c7120dc86ba47e55d6
31a08ba0c152c50ee9c897cbd9b934f19a885ac5
/backend/m_23_oct_dev_13919/urls.py
84424fb85d7dfb752b35a6b87f7c85be5be02302
[]
no_license
crowdbotics-apps/m-23-oct-dev-13919
4343ff6630e878ee4b5f815cbec22795062bec60
9872bd6b01aaaf4d7dc0c1d6f79fc2f1c2f12959
refs/heads/master
2023-06-29T18:50:40.615827
2020-10-23T13:47:57
2020-10-23T13:47:57
306,535,485
0
0
null
2021-08-02T12:08:59
2020-10-23T05:12:55
JavaScript
UTF-8
Python
false
false
2,076
py
"""m_23_oct_dev_13919 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
907ddc70b96e5a0fea162f8a643972b138efeb3c
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/travelport/models/queue_place_4.py
59d45dcbe326bc175de6160dc708949c25c8ebce
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
1,080
py
from __future__ import annotations from dataclasses import dataclass, field from travelport.models.queue_selector_4 import QueueSelector4 __NAMESPACE__ = "http://www.travelport.com/schema/common_v37_0" @dataclass class QueuePlace4: """ Allow queue placement of a PNR at the time of booking to be used for Prov...
[ "chris@komposta.net" ]
chris@komposta.net
8a3ad1d89cebf30fc24aa998f4bb36f04792b765
cc7ad1a2aa5d691c15ff7838d1e5126ab2c2bee0
/teacher_vocab_container/urls.py
9e3eedf15481b8b089f18c5be0cc252a1f365836
[]
no_license
demirantay/lingooapp
9632be8a7d3dd00e7a4ac13618f32975da389729
c842bb032668ef1bd5e7f4282acd4990843c8640
refs/heads/master
2023-03-14T08:00:37.681334
2021-01-09T09:36:48
2021-01-09T09:36:48
285,181,982
1
0
null
null
null
null
UTF-8
Python
false
false
687
py
from django.urls import path from . import views urlpatterns = [ # teacher vocab container OVERVIEW path( "teacher/vocab/container/overview/", views.teacher_vocab_container_overview, name="teacher_vocab_container_overview" ), # teacher vocab container EDIT WORD path( ...
[ "demir99antay@gmail.com" ]
demir99antay@gmail.com
a2c99045e70e5dfddade4ea389e66a3168f0886c
66e58cba20414214ebca7bb4a035796d379f57f1
/Django/Survey_Form/apps/surveys/urls.py
18267906fc24ec3036088d0943bbe286a593ab2f
[]
no_license
NathanHaberman/Python-Flask-Django-CodingDojo
08623db1c1fa9076cd90901fed39678b2a8b795a
c6013c9e8133a7e2b70bfc357c3364edf3992d1c
refs/heads/master
2021-01-23T17:09:25.703718
2017-09-21T21:09:03
2017-09-21T21:09:03
102,763,626
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
from django.conf.urls import url from views import * urlpatterns = [ url(r'^$', index), url(r'^surveys/process', process), url(r'^result', result), ]
[ "na.haberman@gmail.com" ]
na.haberman@gmail.com
2242ad5af6744dc59f7ddb89d10e41b923201674
7426522061b222e8d3336b18ff941bb98ff9626c
/qtoggleserver/peripherals/peripheral.py
726585a76954f23656bceb1a0a5171f668c2f4a3
[ "Apache-2.0" ]
permissive
DigitEgal/qtoggleserver
82833aaeb6f0bdad5f28243f132a639f4b406001
54b6ac53742af9529fd349d4fc207b0dc8a38d3b
refs/heads/dev
2023-05-07T14:49:11.273023
2021-04-30T20:40:08
2021-04-30T20:40:08
360,039,836
0
0
Apache-2.0
2021-04-21T05:18:08
2021-04-21T05:13:07
null
UTF-8
Python
false
false
5,454
py
import abc import asyncio import functools import inspect import logging from typing import Any, Callable, Dict, List, Optional, Type, Union from qtoggleserver.core import ports as core_ports from qtoggleserver.utils import asyncio as asyncio_utils from qtoggleserver.utils import logging as logging_utils logger = ...
[ "ccrisan@gmail.com" ]
ccrisan@gmail.com
2a48a124bcf79279e964cb8a764dfca834ac5bf0
f2889a13368b59d8b82f7def1a31a6277b6518b7
/68.py
b12e55c1cbcf3f8ce8e9ec5a3e6c3a27fd725830
[]
no_license
htl1126/leetcode
dacde03de5c9c967e527c4c3b29a4547154e11b3
c33559dc5e0bf6879bb3462ab65a9446a66d19f6
refs/heads/master
2023-09-01T14:57:57.302544
2023-08-25T15:50:56
2023-08-25T15:50:56
29,514,867
7
1
null
null
null
null
UTF-8
Python
false
false
1,179
py
# ref: https://discuss.leetcode.com/topic/25970/concise-python-solution-10-lines class Solution(object): def fullJustify(self, words, maxWidth): """ :type words: List[str] :type maxWidth: int :rtype: List[str] """ res, cur, num_letter = [], [], 0 for w in wo...
[ "b93902098@ntu.edu.tw" ]
b93902098@ntu.edu.tw
e4a618f042c2d54c340ae8d680fe8e0e69fe5edc
6c58da2c54a3d35273e7984313d181f1da9981fc
/Random_Word_Generator/djangoEnv/bin/wheel
a462e9d103ef5d00837a33485582b3412e1c4c98
[ "MIT-0" ]
permissive
py1-10-2017/rgero215_PY1-10-2017
e582cb12cc63f84b1c0c14d09a922cb6cb228016
f455b335ec9c8c850571f3a75dcd95759b4cfdad
refs/heads/master
2021-09-04T03:23:48.062326
2018-01-14T21:07:26
2018-01-14T21:07:26
105,612,652
1
0
null
null
null
null
UTF-8
Python
false
false
283
#!/Users/RGero13/Desktop/rgero215_PY1-10-2017/Random_Word_Generator/djangoEnv/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "rgero215@gmail.com" ]
rgero215@gmail.com
5cfad08f5c82a60575ad74c1037278dcbd55e3b9
de01cb554c2292b0fbb79b4d5413a2f6414ea472
/algorithms/Easy/1185.day-of-the-week.py
a758044fd85c9a5fc5582e62aa552c97ac43e142
[]
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,012
py
# # @lc app=leetcode id=1185 lang=python3 # # [1185] Day of the Week # # https://leetcode.com/problems/day-of-the-week/description/ # # algorithms # Easy (63.93%) # Total Accepted: 23.6K # Total Submissions: 37K # Testcase Example: '31\n8\n2019' # # Given a date, return the corresponding day of the week for that da...
[ "kevin.wkmiao@gmail.com" ]
kevin.wkmiao@gmail.com
f5ec9ae021adb56e4de6739eca7cb98ca50eb79a
b4ec14583ce0f7560441a4ee58981439cc13c659
/SwarmSim/MultiSwarmSim.py
7c8942a5bb6189a093d9c5310ae069f03872f73d
[]
no_license
wpower12/DroneSimV2
024a6c8b74ec507c536dc16cbcfe112e76be16e5
5ab6aae52ee094dc71775005c5f498bd6a966b68
refs/heads/master
2020-09-15T13:54:01.541722
2020-02-13T17:25:03
2020-02-13T17:25:03
223,467,196
1
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
from . import Swarm as S from . import Wind as W from . import MultiSwarmAnimator as A class MultiSwarmSim(): def __init__(self, swarms, rnd_seed, animate=True): # Assuming swarms holds a list of swarms: # [[num_drones, type, plot_color, inital_position, target],..,[...]] self.swarms = [] for s in swarms: ...
[ "willpowe@gmail.com" ]
willpowe@gmail.com
1d08b3fd19cf0d46de83767671146e5939bb72d1
d7dc0bf114a9cf97e76f49739d4d9986eebeb89a
/Kyrs Mai/02.Conditional Statements - Exercise/04.mertik_converter.py
d8b249452c17c9606126f3f32b0a8770c9df4b53
[]
no_license
Mazev/Python-Basics
6f300529fa1e86ed48beea708018563a5902c2df
86fc99d62230f30a6e55005e91d4dc7fe46d52fd
refs/heads/master
2023-02-19T13:44:52.770161
2021-01-19T19:50:30
2021-01-19T19:50:30
330,723,769
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
number = float(input()) convert_from = input() convert_to = input() converter_to_meters = 0 if convert_from == 'mm': converter_to_meters = number / 1000 elif convert_from == 'cm': converter_to_meters = number / 100 else: converter_to_meters = number rezults = 0 if convert_to == 'mm': rezults = convert...
[ "77510376+Mazev@users.noreply.github.com" ]
77510376+Mazev@users.noreply.github.com