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
0001b37bd0d1d6b08e473e5f1c41d7bc88ba50bd
48a8430d19c4d8d6fdcecf1cb9875d74b5efce6a
/CycleGAN/data_loader.py
7cf7d6a2fd0954c3313fa0ba7bc7a498ee9437a9
[]
no_license
orange-eng/GAN
af00f469b763893b2e474f8adb83460164c843e0
7a7fafa4c6e9aac0da73791ca646b6503c39b24f
refs/heads/main
2023-02-25T20:21:54.825164
2021-01-25T08:34:41
2021-01-25T08:34:41
324,327,944
0
0
null
null
null
null
UTF-8
Python
false
false
3,628
py
import cv2 from glob import glob # glob是python自己带的一个文件操作相关模块,用它可以查找符合自己目的的文件,就类似于Windows下的文件搜索 # https://www.cnblogs.com/lovemo1314/archive/2011/04/26/2029556.html import numpy as np import os import sys apath = os.path.abspath(os.path.dirname(sys.argv[0])) #得到文件下面的所有文件目录。果然很方便 path = glob(apath+"/datasets/monet...
[ "972353371@qq.com" ]
972353371@qq.com
5438edc9a22551e8091a4992b211263f519f6cce
8e939e0f075a14377d87e0eb7729e4f0818f1df9
/zarc/models_2017-08-04-06:42:45.py
0831485aa5117c669efb76a2c672493a20217ba0
[ "MIT" ]
permissive
mimcomp/caseke
072d076c9442c19916d8f71ec25fa45676031914
3c0749a431bb2e2c82bcb292d528c748bea8b1ba
refs/heads/master
2020-06-02T15:42:24.159728
2019-06-03T16:34:09
2019-06-03T16:34:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
53,466
py
# coding: utf-8 # AUTOGENERATED BY gen_script.sh from kp2.py # Copyright (C) Nyimbi Odero, Fri Aug 4 06:40:31 EAT 2017 from sqlalchemy import func from flask_appbuilder import Model from flask_appbuilder.models.mixins import AuditMixin, FileColumn, ImageColumn, UserExtensionMixin from flask_appbuilder.models.decora...
[ "nyimbi@gmail.com" ]
nyimbi@gmail.com
9a0f2585c8786ae68cdb437ea210b0230321d96c
f71aecb0e91fe877af3ec652c7f6753a1e7b5ccd
/RemoveComments_MID_722.py
5fd160cab533466e6146d8361f29931987c5447a
[]
no_license
953250587/leetcode-python
036ad83154bf1fce130d41220cf2267856c7770d
679a2b246b8b6bb7fc55ed1c8096d3047d6d4461
refs/heads/master
2020-04-29T12:01:47.084644
2019-03-29T15:50:45
2019-03-29T15:50:45
176,122,880
2
0
null
null
null
null
UTF-8
Python
false
false
8,195
py
""" Given a C++ program, remove comments from it. The program source is an array where source[i] is the i-th line of the source code. This represents the result of splitting the original source code string by the newline character \n. In C++, there are two types of comments, line comments, and block comments. The str...
[ "953250587@qq.com" ]
953250587@qq.com
139ae4368f9dcc52c84dcbfbcab84a8112ca406a
727987094c01eaf41343464567a52fbb705f6701
/yabgp/message/attribute/nlri/__init__.py
c67e29f0a1e9105cce0eecd0e3eebb32ea38ff2a
[ "Apache-2.0" ]
permissive
xinwu/yabgp
1377d11e4e42f259dd66bb08060b74d0683a1796
ae7cc871a4a8a67d08eef2abc82cf1397f2601c3
refs/heads/master
2021-01-13T03:05:33.031083
2016-12-14T16:27:23
2016-12-14T16:27:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,558
py
# Copyright 2016 Cisco Systems, Inc. # All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
[ "xiaoquwl@gmail.com" ]
xiaoquwl@gmail.com
5aac12f50a7d3c33b9c2797a1d90192b97b9ea24
c78e61ccee6ac695d3f71f72fc3212fdd2c1d193
/cfed_timestep_comp.py
d2ac35905b1a4a0d651d5ae895ee6e77bc35a7ae
[]
no_license
bbw7561135/phd_code
28557e84228119dd204f9e16ca27d7c7cef81188
ef06c317115f0744a7941796c4092e489923ef4e
refs/heads/master
2021-06-13T02:35:08.475474
2017-02-26T21:12:17
2017-02-26T21:12:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
55,751
py
#------------------------------------------------------------------------------# # # # This code is a Python script that reads in arrays of synchrotron intensity # # produced at different times in the evolution of the simulation, and ...
[ "cher7851@uni.sydney.edu.au" ]
cher7851@uni.sydney.edu.au
1d71cdd16103283b54ddbfae586dbd58e635dea8
7c28640e152dad3843423d04c96a3a37015bd9ba
/Examples/Game Tutorial/Tutorial Part 6.py
0b571e28753411ea66a52d103d7f671bc5c1d42d
[]
no_license
DocVaughan/Pythonista
251bbfd69203cf91f3d6a6bf20d478efd74a61a0
7d482c7db2c7b4daae10289b765f09a4f348a50c
refs/heads/master
2021-01-20T20:48:32.603993
2017-12-31T10:33:48
2017-12-31T10:33:48
61,178,643
7
0
null
null
null
null
UTF-8
Python
false
false
6,233
py
# coding: utf-8 ''' Part 6 -- Meteors Incoming! ☄️ Collecting coins is fun, but did you notice the distinct lack of... challenge? Let's change that now, and add some meteors to the mix. The mechanism is essentially the same as with the coins, but when the alien collides with a meteor, the game is over. To make the g...
[ "joshua.vaughan@louisiana.edu" ]
joshua.vaughan@louisiana.edu
165dab7e57e2a352300f0576717c1cdae8927d4b
5e2dddce9c67d5b54d203776acd38d425dbd3398
/spacy/lang/es/syntax_iterators.py
869f404e040edf4e143bf6e80dab2eaac4390688
[ "MIT" ]
permissive
yuxuan2015/spacy_zh_model
8164a608b825844e9c58d946dcc8698853075e37
e89e00497ab3dad0dd034933e25bc2c3f7888737
refs/heads/master
2020-05-15T11:07:52.906139
2019-08-27T08:28:11
2019-08-27T08:28:11
182,213,671
1
0
null
2019-04-19T06:27:18
2019-04-19T06:27:17
null
UTF-8
Python
false
false
1,695
py
# coding: utf8 from __future__ import unicode_literals from ...symbols import NOUN, PROPN, PRON, VERB, AUX def noun_chunks(obj): doc = obj.doc np_label = doc.vocab.strings.add('NP') left_labels = ['det', 'fixed', 'neg'] # ['nunmod', 'det', 'appos', 'fixed'] right_labels = ['flat', 'fixed', ...
[ "yuxuan2015@example.com" ]
yuxuan2015@example.com
4450db57e64db6586c682bfbdf846ffb456d9e4e
4d718292ec9f90444eeda13d18febb10757da894
/mission 11/classement.py
e50dc9fbba32e99394191730b85603be4aa7080f
[]
no_license
rverschuren/Info
b40fb04a6260dacfc95d12e63c99abd82b140e06
c9aa0bdc1b026c8ba8134b878b5fae7d49d75e19
refs/heads/master
2020-04-16T07:29:49.847812
2019-01-14T14:50:18
2019-01-14T14:50:18
165,389,281
1
2
null
2019-01-12T18:56:01
2019-01-12T13:12:46
Python
UTF-8
Python
false
false
3,812
py
class Classement : """ Une implémentation primitive de classement, non ordonnée et de capacité fixe. @author Kim Mens @version 02 Décembre 2018 """ __maxcapacity = 10 def __init__(self): """ @pre: - @post: un classement vide de taille 0 a été créé """ ...
[ "bastien.wiaux@gmail.com" ]
bastien.wiaux@gmail.com
0864a55af4f109e92a6b1185d04837dc723f87a7
e5d130e183b5dea1b7aad23a047c703fa0d2b3bf
/lightbus/transports/__init__.py
d0a7d70c722ce0c3f6df21091b256155c18899f5
[ "Apache-2.0" ]
permissive
adamcharnock/lightbus
4a86428b8203bfe98f77a32375ac961ef398ce16
cf892779a9a9a8f69c789ffa83c24acfb7f9a336
refs/heads/master
2023-08-26T04:19:39.395735
2023-08-23T11:07:44
2023-08-23T11:07:44
94,617,214
193
22
Apache-2.0
2023-08-10T21:21:51
2017-06-17T10:39:23
Python
UTF-8
Python
false
false
534
py
from lightbus.transports.base import ( RpcTransport, ResultTransport, EventTransport, SchemaTransport, Transport, ) from lightbus.transports.debug import ( DebugRpcTransport, DebugResultTransport, DebugEventTransport, DebugSchemaTransport, ) from lightbus.transports.redis.rpc import ...
[ "adam@adamcharnock.com" ]
adam@adamcharnock.com
23f3a9b619600c2c45f879384f3a51dda94f5c3e
38466811d0e12a8f755bae58d7244622ef5f4d9b
/leetcode/200/141_linked_list_cycle.py
9e5262a7110cf85407e3ce7e9183543e977219f0
[]
no_license
andysitu/algo-problems
4ab5a2b6591f0c0d84174b69598f30bc354ff8aa
35c88dc747e7afa4fdd51d538bc80c4712eb1172
refs/heads/master
2023-06-24T15:55:39.019652
2021-02-26T20:31:07
2021-02-26T20:31:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def hasCycle(self, head: ListNode) -> bool: if head == None: return False forward1 = head forward2 = head while True: ...
[ "and.situ@gmail.com" ]
and.situ@gmail.com
9551d519b20dfcc4061ff956e357f5bdb2481c6d
7cd8ee14711eaf33cee0d9e06e78a974fc579242
/Linkedin/Linkedin/spiders/linkedin_distinct_12logincount.py
73e600bb84ee61402c91c2f94e2db905b9cf883c
[]
no_license
Chandler-Song/pi
c618117dfdd9a7496a57c69f029851e94787f591
aebc6d65b79ed43c66e7e1bf16d6d9f31b470372
refs/heads/master
2022-03-13T02:44:30.452673
2019-02-19T09:38:45
2019-02-19T09:38:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,482
py
from linkedin_voyager_functions import * class Companylidsurls(object): def __init__(self, *args, **kwargs): self.con, self.cur = get_mysql_connection(DB_HOST, 'FACEBOOK', '') #self.qu1 = 'select profile_sk , connections_profile_url from linkedin_connections where date(modified_at)>"2017-04-17" and date(modified_...
[ "aravind@headrun.com" ]
aravind@headrun.com
a7e316b3e4294deab2c4be72af3994d2504b8d49
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/test/test_update_creative_response_wrapper.py
cca6a9dbe84cb7e4f9ee1164d8a578b819dd20ce
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
1,076
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import sys import unittest import baiduads from baiduads.common.model.api_response_header import ApiResponseHeader from baiduads.creative.model.update_creative_response_wrapper_body import UpdateC...
[ "tokimekiyxp@foxmail.com" ]
tokimekiyxp@foxmail.com
ebbc23d30dbea2dafb4b6a71b92a5ccb4c9bb341
d1c352676563b2decacfad19120001959b043f05
/superset/migrations/versions/a33a03f16c4a_add_extra_column_to_savedquery.py
07e0b05a1c0c6e035dd0a4931949130430b03579
[ "Apache-2.0", "CC-BY-4.0", "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
permissive
Affirm/incubator-superset
c9a09a10289b4ebf8a09284a483bca93725a4b51
421183d3f46c48215e88e9d7d285f2dc6c7ccfe6
refs/heads/master
2023-07-06T11:34:38.538178
2019-05-22T23:39:01
2019-05-22T23:39:01
128,005,001
1
3
Apache-2.0
2023-03-20T19:49:14
2018-04-04T04:02:42
JavaScript
UTF-8
Python
false
false
2,090
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
Affirm.noreply@github.com
49d99d025201045a3100ae9ab2515e297887e22a
9b10d8482a7af9c90766747f5f2ddc343871d5fa
/Gemtek/AutoTest/Sprinkler-Auto-Test/appium/modules/android/main_screen.py
53dfab1b87c290967aa74c0b91465fb24e0c9366
[]
no_license
DarcyChang/MyProjects
86d33f5cf8bdfd4b21e64922e4eb25c1afc3c135
47efb2dfe13ace264f8943b59b701f39f23c4c17
refs/heads/master
2021-05-12T12:43:39.255082
2020-09-23T06:42:03
2020-09-23T06:42:03
117,419,269
0
2
null
null
null
null
UTF-8
Python
false
false
2,525
py
import unittest from time import sleep from appium import webdriver import android.verify.exist import android.verify.next_page from appium.webdriver.common.touch_action import TouchAction def add_device(self): el = self.driver.find_element_by_id("com.blackloud.wetti:id/ivAddSprinkler") self.assertIsNotNone(e...
[ "cychang0916@gmail.com" ]
cychang0916@gmail.com
ef7dcf27560b561e80bb4f4a68f159d63bf00127
bbf1ae079309eca11270422d3f0d259d1515d430
/numerical-tours/python/nt_solutions/ml_3_classification/exo5.py
3c0f3f3cda5068fd794b1a41a27c032ac538f66e
[ "BSD-2-Clause" ]
permissive
ZichaoDi/Di_MATLABTool
5e6a67b613c4bcf4d904ddc47c2744b4bcea4885
c071291c63685c236f507b2cb893c0316ab6415c
refs/heads/master
2021-08-11T07:28:34.286526
2021-08-04T18:26:46
2021-08-04T18:26:46
149,222,333
9
5
null
null
null
null
UTF-8
Python
false
false
743
py
sigma_list = np.array( [.1, .5, 1, 4] ) niter = 4000 plt.clf for io in np.arange(0, np.size(sigma_list)): sigma = sigma_list[io] # grad descent K = kappa(X,X,sigma) tau = .5 if io==4: tau = .05 h = np.zeros((n,1)) for i in np.arange(0,niter): h = h - tau * nablaF(h,K,y) #...
[ "wendydi@compute001.mcs.anl.gov" ]
wendydi@compute001.mcs.anl.gov
54f9c26e1c1a8e2e8d1f6c35b715163db168de74
ac3227ef8da077bfb871f8e515bda92ac96385f9
/pressure17.py
3631628a3c32772c9b545461956a5c1f062cb4a9
[]
no_license
anlitsai/ngc2146-moment
07dac25a981b404a55e00b5a17f314861324efd0
6060239f1919bb7c316dfe93465d1f5fa240bd56
refs/heads/master
2022-05-20T18:05:26.343243
2020-04-12T21:15:30
2020-04-12T21:15:30
255,170,762
0
0
null
null
null
null
UTF-8
Python
false
false
10,365
py
#!/usr/bin/env python # NGC 2146 # --- import constant ------------------------- # import math #import pyfits # --- constant -------------------------------- # c=3.0e10 # light speed pc=3.26*c*365*86400 kpc=pc*1.0e3 ev=1.6e-12 G=6.67e-8 # gravitational constant k_B=1.38e-16 # boltzmann constant Msun=1.99e33 # solar ma...
[ "altsai.tw@gmail.com" ]
altsai.tw@gmail.com
47e266d665db77c973d48ba03cb937966bfcbd41
c733e6b433914a8faba256c7853f5cf2cd39c62a
/Python/Leetcode Daily Practice/unclassified/647. Palindromic Substrings.py
a75c67380d9fa7090153a83f1116d883ea245643
[]
no_license
YaqianQi/Algorithm-and-Data-Structure
3016bebcc1f1356b6e5f3c3e588f3d46c276a805
2e1751263f484709102f7f2caf18776a004c8230
refs/heads/master
2021-10-27T16:29:18.409235
2021-10-14T13:57:36
2021-10-14T13:57:36
178,946,803
1
0
null
null
null
null
UTF-8
Python
false
false
795
py
""" Given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end indexes are counted as different substrings even they consist of same characters. Input: "abc" Output: 3 Explanation: Three palindromic strings: "a", "b", "c". """ class Soluti...
[ "alicia.qyq@gmail.com" ]
alicia.qyq@gmail.com
4084a64ffe7d52b14cb8b756e1efe29d46730493
8784a3a9d4054d1aca752ec742902abb51a9de80
/python_stack/python_OOP/arithmetic_module/main.py
785338b9b6b6a9481506f9e74ad051b34a087637
[]
no_license
MichaelKirkaldyV/mean-deploy-2
25eaf7cc430ac095f5327c04be84b9212314c7f2
f30b8ea14ccbaecfe62929948f2a84191d316c22
refs/heads/master
2023-01-13T07:20:28.984728
2019-05-23T16:42:15
2019-05-23T16:42:15
151,123,880
0
0
null
2022-12-30T09:47:11
2018-10-01T16:54:09
TypeScript
UTF-8
Python
false
false
313
py
#imports arithmetic module within the same folder. #Then uses the module as a variable and calls its functions using the .method #Adds parameters. #prints out the solutions that each function returns. import arithmetic print arithmetic.add(5, 8) print arithmetic.subtract(10, 5) print arithmetic.multiply(12, 6)
[ "vmichaelkirkaldy@live.com" ]
vmichaelkirkaldy@live.com
83d88a5ed0bdcad629a6e3815dd75d21cc5a72e0
e61e664d95af3b93150cda5b92695be6551d2a7c
/vega/networks/pytorch/customs/modnas/arch_space/construct/torch/model_init.py
63a2eea20c488ff5f7c5cdf7026be84854afb40b
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
huawei-noah/vega
44aaf8bb28b45f707ed6cd4e871ba70fc0c04846
12e37a1991eb6771a2999fe0a46ddda920c47948
refs/heads/master
2023-09-01T20:16:28.746745
2023-02-15T09:36:59
2023-02-15T09:36:59
273,667,533
850
184
NOASSERTION
2023-02-15T09:37:01
2020-06-20T08:20:06
Python
UTF-8
Python
false
false
5,623
py
# -*- coding:utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. 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...
[ "zhangjiajin@huawei.com" ]
zhangjiajin@huawei.com
1d629c3f80bdea998e1edcc704dadcb450ca56ed
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/nlp/BERT-ITPT-FiT_ID0340_for_PyTorch/baseline_main.py
c8f1c9fc7e3f924283508a3653a8b1f69083fc34
[ "BSD-3-Clause", "MIT", "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
8,638
py
# # BSD 3-Clause License # # Copyright (c) 2017 xxxx # All rights reserved. # Copyright 2021 Huawei Technologies Co., Ltd # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
59817d4f4915dfc4c470c6d51b0592362187ec0b
350d6b7246d6ef8161bdfccfb565b8671cc4d701
/Binary Tree Vertical Order Traversal.py
da22a1ddbb5aca8b4d6f3dbd14fa43d4a483c554
[]
no_license
YihaoGuo2018/leetcode_python_2
145d5fbe7711c51752b2ab47a057b37071d2fbf7
2065355198fd882ab90bac6041c1d92d1aff5c65
refs/heads/main
2023-02-14T14:25:58.457991
2021-01-14T15:57:10
2021-01-14T15:57:10
329,661,893
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): dic = {} def verticalOrder(self, root): self.help(root, 1) save = [] keys = sorted(self.dic.k...
[ "yihao_guo@gwmail.gwu.edu" ]
yihao_guo@gwmail.gwu.edu
b778f0bcd27786a4be937fba9a023d8f4c35c68c
9923e30eb99716bfc179ba2bb789dcddc28f45e6
/openapi-generator/python/test/test_hos_logs_summary_response_drivers.py
5733eeb8fc3d9ded047880b3b5940e1ba43f6fd4
[]
no_license
silverspace/samsara-sdks
cefcd61458ed3c3753ac5e6bf767229dd8df9485
c054b91e488ab4266f3b3874e9b8e1c9e2d4d5fa
refs/heads/master
2020-04-25T13:16:59.137551
2019-03-01T05:49:05
2019-03-01T05:49:05
172,804,041
2
0
null
null
null
null
UTF-8
Python
false
false
6,564
py
# coding: utf-8 """ Samsara API # Introduction Samsara provides API endpoints for interacting with Samsara Cloud, so that you can build powerful applications and custom solutions with sensor data. Samsara has endpoints available to track and analyze sensors, vehicles, and entire fleets. The Samsara Cloud AP...
[ "greg@samsara.com" ]
greg@samsara.com
0780bc486c4355eaef2a4df385fc503799cbf3eb
79e19819aec49b500825f82a7de149eb6a0ba81d
/leetcode/1018.py
632dc46703f709c5e2bf6b31ac1d966e91cbfa8c
[]
no_license
seoyeonhwng/algorithm
635e5dc4a2e9e1c50dc0c75d9a2a334110bb8e26
90406ee75de69996e666ea505ff5d9045c2ad941
refs/heads/master
2023-05-03T16:51:48.454619
2021-05-26T00:54:40
2021-05-26T00:54:40
297,548,218
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
class Solution: def prefixesDivBy5(self, A: List[int]) -> List[bool]: answer = [False] * len(A) answer[0], prev = (A[0] == 0), A[0] for i in range(1, len(A)): answer[i] = ((prev * 2 + A[i]) % 5 == 0) prev = prev * 2 + A[i] return answer """ ...
[ "seoyeon@nowbusking.com" ]
seoyeon@nowbusking.com
c7984ce328339a910916d87e8b897f8b81df8ac6
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02659/s866773123.py
485fb9b9a423580f938055c9b85b90aa424797da
[]
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
111
py
AB = input().split() A = int(AB[0]) B = AB[1].split('.') B = int(B[0]) * 100 + int(B[1]) print(A * B // 100)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
64db72079dc2438f42dcc5f4e3ecafa46502073d
b306aab9dcea2dd83dda700bc9f7b9f1a32cff3a
/CAIL2020/ydljy/data.py
be956ba1641be5f4507b7e05e32f92376548b540
[ "Apache-2.0" ]
permissive
Tulpen/CAIL
d6ca9981c7ea2603ae61675ba330a9614cd9398d
c4cfa98ab4ecedbce34a7a5a186830486047540c
refs/heads/master
2023-04-23T20:07:56.774530
2021-04-16T13:18:36
2021-04-16T13:18:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,078
py
"""Data processor for SMP-CAIL2020-Argmine. Author: Tsinghuaboy (tsinghua9boy@sina.com) In data file, each line contains 1 sc sentence and 5 bc sentences. The data processor convert each line into 5 samples, each sample with 1 sc sentence and 1 bc sentence. Usage: 1. Tokenizer (used for RNN model): from data imp...
[ "bangtech@sina.com" ]
bangtech@sina.com
b284f9b10b8c572c65a64f1f9b88cde920a8b781
d0cb58e1658d4b5b88bdc07e497dc8092707ae02
/2021/01january/24specify_data.py
6381a461e0645467957c5e23c467055af3ce9fb7
[]
no_license
June-fu/python365
27f9b753d38ade549d59aa8f2d8bda0fb8b1e20c
242033a4b644a7566fbfa4dba9b60f60aa31fe91
refs/heads/master
2021-07-02T21:42:28.454091
2021-05-04T15:08:44
2021-05-04T15:08:44
233,629,713
0
0
null
2020-01-13T15:52:58
2020-01-13T15:36:53
null
UTF-8
Python
false
false
466
py
#!/usr/bin/python ''' # @ Author: june-fu # @ Create Time: 2021-02-22 23:59:17 # @ Modified by: june-fu # @ Modified time: 2021-02-22 23:59:19 # @ Description:arguments parse_dates ''' import pandas as pd from io import StringIO data =('date,A,B,C\n' '20090101,a,1,2\n' '20090102,b,3,4\n' '20090103,c,4,5') # ar...
[ "fujun1990@gmail.com" ]
fujun1990@gmail.com
8e4439a5213755463643b9a98d6b098eb3614207
92e26b93057723148ecb8ca88cd6ad755f2e70f1
/cov_exp/plain30_orth/plt.py
15145016643831e2908e2041dc913dd1c9a66851
[]
no_license
lyuyanyii/CIFAR
5906ad9fbe1377edf5b055098709528e06b5ace2
d798834942d6a9d4e3295cda77488083c1763962
refs/heads/master
2021-08-30T20:09:52.819883
2017-12-19T08:37:37
2017-12-19T08:37:37
112,701,370
1
0
null
null
null
null
UTF-8
Python
false
false
315
py
import matplotlib.pyplot as plt import pickle import numpy as np import scipy.signal as signal with open("hisloss.data", "rb") as f: his = pickle.load(f) his = np.array(his) hisloss = his[:,1] hisloss = signal.medfilt(hisloss, 9) #print(np.max(hisloss[10000:])) plt.plot(range(len(hisloss)), hisloss) plt.show()
[ "315603442@qq.com" ]
315603442@qq.com
cc6fd9d2d1e1189cd0cf54388ff2f5212a84b77f
d7797ec584d722d5d15cb7355a63ecbdc5200123
/EducationSystem/course_system/apps.py
fa1a9fd70ac8a24a15454501040abc0d654bf4de
[]
no_license
Rositsazz/course_system
f9790890802450b82663b4b01640c3ccdf87d721
5f67336a2298452efbea4cd0f7d3bfd992fd1d34
refs/heads/master
2021-01-22T07:23:09.956371
2017-06-28T10:46:56
2017-06-28T10:46:56
81,813,140
0
0
null
2017-06-28T10:37:04
2017-02-13T10:31:03
Python
UTF-8
Python
false
false
100
py
from django.apps import AppConfig class CourseSystemConfig(AppConfig): name = 'course_system'
[ "ross_zz@mail.bg" ]
ross_zz@mail.bg
e86af748470270a3bd18fbbcd3dc8e992712cb17
8cf0cf9b71b7c5fbaa150e9893bf461ef661045e
/ownblock/ownblock/apps/accounts/views.py
77aad64c0c1af2bb8b440208af2f015e13b0a50a
[ "MIT" ]
permissive
danjac/ownblock
676b27a5aa0d4ce2ac2cd924a632489cd6fc21ee
ac662fb7efb2f04567e2f85638c1250286452611
refs/heads/master
2016-08-02T21:51:56.055598
2015-05-02T12:54:47
2015-05-02T12:54:47
34,940,828
3
0
null
null
null
null
UTF-8
Python
false
false
5,442
py
from django.db.models import Q from rest_framework import status, viewsets, permissions from rest_framework.response import Response from rest_framework.views import APIView from ..storage.models import Item from ..parking.models import Vehicle from ..messaging.models import Message from ..notices.models import Notic...
[ "danjac354@gmail.com" ]
danjac354@gmail.com
b77cd80c0c1fbc74c1487f9da2d71f3e83e1b0ec
54de64c1bd866c2cd1ef7f23dff20019a87ae408
/src/bio2bel_drugbank/patent_utils.py
ea41eb5ec3822be8c47b5a766041d5e8125fa9e7
[ "MIT" ]
permissive
AspirinCode/drugbank-1
83fc8bfb3b275df085423ac53c698bc0a8bc9c27
1b842ed7a9de7904e8a11fd19ad35164ffb781bf
refs/heads/master
2020-04-07T20:29:55.925875
2018-11-20T18:26:38
2018-11-20T18:26:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,704
py
# -*- coding: utf-8 -*- """Utilities for downloading patents from Google. Code modified from original work by Alexander Esser. """ import os import re from typing import Optional, Set import requests from bs4 import BeautifulSoup LINK_PATTERN = "https?:\/\/patentimages\.storage\.googleapis\.com\/.+\/([A-z0-9]+\.pd...
[ "cthoyt@gmail.com" ]
cthoyt@gmail.com
bfca6c0531a704417241810a33f46ee4c038afad
2b167e29ba07e9f577c20c54cb943861d0ccfa69
/numerical_analysis_backup/small-scale-multiobj/pod50_milp/throughput/runsimu11_throughput.py
89588a3c2132dc6081ea0222defc8c77da4d7d2d
[]
no_license
LiYan1988/kthOld_OFC
17aeeed21e195d1a9a3262ec2e67d6b1d3f9ff0f
b1237577ea68ad735a65981bf29584ebd889132b
refs/heads/master
2021-01-11T17:27:25.574431
2017-01-23T05:32:35
2017-01-23T05:32:35
79,773,237
0
0
null
null
null
null
UTF-8
Python
false
false
3,440
py
# -*- coding: utf-8 -*- """ Created on Thu Aug 4 15:15:10 2016 @author: li optimize throughput """ #import sys #sys.path.insert(0, '/home/li/Dropbox/KTH/numerical_analysis/ILPs') import csv from gurobipy import * import numpy as np from arch4_decomposition import Arch4_decompose from arch1 import ModelSDM_arch1 fr...
[ "li.yan.ly414@gmail.com" ]
li.yan.ly414@gmail.com
8c37577beb948a84c1017887ad0ff113575583c4
87b7d7948aa51fdb4a27540240579788896369ea
/code/runs_sacred/model_4_classes/_sources/main_0d7ea3a13b62ec2b4e0ed10b9b965fe4.py
721ea09321b607fc28b8b2985a463f302725e990
[]
no_license
Samuel-Levesque/Projet_GLO7030
6f13accd63b52107ec3e3a0b9b5f52edccda7c8d
557bce3235f09723900f65c6e3b44a0ed9d2b519
refs/heads/master
2022-01-16T12:49:22.884798
2019-05-05T18:38:35
2019-05-05T18:38:35
177,038,991
0
1
null
null
null
null
UTF-8
Python
false
false
3,978
py
from sacred import Experiment from sacred.observers import FileStorageObserver from data_set_file import create_huge_data_set,create_encoding_deconding_dict from model_creation import create_model from trainning import train_model,load_model_weights,create_scheduler from test_metrics import calcul_metric_concours im...
[ "44324703+William-Bourget@users.noreply.github.com" ]
44324703+William-Bourget@users.noreply.github.com
81a54439253dce29241c49928fd05e2c8db9e060
ac7f2369cf136cef946ee6eb89c5be1edda27769
/hare_turtle_algorithm/scratch_4.py
d209eb062e4425d63c53283db7cf6454fa6fc968
[]
no_license
iluvjava/Silly_Python_Stuff
d244a94a6c8236713123815ccd1f1f6c27b1cb98
eb12a67c060de783e6b00d6030668f8d32630dad
refs/heads/master
2021-04-22T23:14:14.215801
2021-04-05T05:25:42
2021-04-05T05:25:42
249,879,410
1
1
null
null
null
null
UTF-8
Python
false
false
156
py
import numpy as np y = x = np.array([np.arange(0, 10)]).T print(x.T.shape) print(y.shape) print(x@y.T) print(np.linspace(0, 100, 400)[np.newaxis, :].T)
[ "victor1301166040@gmail.com" ]
victor1301166040@gmail.com
8fcc9b9fcb2d3773828fcb001c5e5282e5601c8e
22cec5da2b1fb83dcc9cf7c888f1e2078b05b62e
/flora/wallet/sign_coin_solutions.py
e1848b04de272fc1cbdb5bc12e37e82971b93c6b
[ "Apache-2.0" ]
permissive
JuEnPeHa/flora-blockchain
649d351e096e73222ab79759c71e191e42da5d34
656b5346752d43edb89d7f58aaf35b1cacc9a366
refs/heads/main
2023-07-18T08:52:51.353754
2021-09-07T08:13:35
2021-09-07T08:13:35
399,297,784
0
0
Apache-2.0
2021-08-24T01:30:45
2021-08-24T01:30:44
null
UTF-8
Python
false
false
2,037
py
import inspect from typing import List, Any import blspy from blspy import AugSchemeMPL from flora.types.coin_solution import CoinSolution from flora.types.spend_bundle import SpendBundle from flora.util.condition_tools import conditions_dict_for_solution, pkm_pairs_for_conditions_dict async def sign_coin_solutions...
[ "github@floracoin.farm" ]
github@floracoin.farm
970e032873598b577c478df4bda72a6d70df2593
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_328/ch45_2020_04_11_19_23_00_469501.py
654fc6cd7bedadc387007d4d63a90c312e9a584c
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
lista= [] while True: x= int(input('Digite algum número: ')) if x>0: lista.append(x) elif x <= 0: lista.reverse() print(lista)
[ "you@example.com" ]
you@example.com
ef76fce18c4d75abc69a31441786b2d3465aaad6
5ac40dd0907f6b5a7adff338465c7c41fffc4348
/src/jukeboxcore/gui/widgets/guerilla/shotcreator_ui.py
a94b8806cff4c0c262fcc729863f846a82ed3722
[]
permissive
JukeboxPipeline/jukebox-core
8effaf675c8a3b39d043bb69e40b75e591bb4a21
bac2280ca49940355270e4b69400ce9976ab2e6f
refs/heads/master
2021-07-22T13:50:58.168148
2015-06-01T16:20:56
2015-06-01T16:20:56
24,540,320
2
0
BSD-3-Clause
2021-06-10T19:34:28
2014-09-27T19:06:31
Python
UTF-8
Python
false
false
2,282
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'h:\projects\jukebox-core\src\jukeboxcore\gui\widgets\guerilla\shotcreator.ui' # # Created: Tue Jan 13 18:54:57 2015 # by: pyside-uic 0.2.15 running on PySide 1.2.2 # # WARNING! All changes made in this file will be lost! from PySide im...
[ "zuber.david@gmx.de" ]
zuber.david@gmx.de
327bfffa563cbbdd3435fd1eb8bb852e1a0cf97b
910d4dd8e56e9437cf09dd8b9c61167673140a1f
/dd5_Stack2_연습문제/부분집합.py
b02d1c3ead323fdbff993e93b8f47ded822adf39
[]
no_license
nopasanadamindy/Algorithms
10825b212395680401b200a37ab4fde9085bc61f
44b82d2f129c4cc6e811b651c0202a18719689cb
refs/heads/master
2022-09-28T11:39:54.630487
2020-05-29T09:49:56
2020-05-29T09:49:56
237,923,602
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
# {1,2,3} 모든 부분 집합 출력하기 N = 3 A = [0 for _ in range(N)] # 원소의 포함여부 저장 (0, 1) data = [1, 2, 3] def printSet(n): for i in range(n): # 각 부분 배열의 원소 출력 if A[i] == 1: # A[i]가 1이면 포함된 것이므로 출력. print(data[i], end="") print() def powerset(n, k): # n: 원소의 갯수, k: 현재depth if n == k: ...
[ "iuui21@snu.ac.kr" ]
iuui21@snu.ac.kr
a02bee8748891f92e694a53f4c42f3fb36df9143
46244bb6af145cb393846505f37bf576a8396aa0
/leetcode/066.plus_one.py
4afb73916cebf2c50af6b1e5aa64b0ec40b737b8
[]
no_license
aoeuidht/homework
c4fabfb5f45dbef0874e9732c7d026a7f00e13dc
49fb2a2f8a78227589da3e5ec82ea7844b36e0e7
refs/heads/master
2022-10-28T06:42:04.343618
2022-10-15T15:52:06
2022-10-15T15:52:06
18,726,877
4
3
null
null
null
null
UTF-8
Python
false
false
633
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys """ """ class Solution: # @param digits, a list of integer digits # @return a list of integer digits def plusOne(self, digits): if not digits: return [1] carry = 0 for i in range(len(digits)-1, -1, -1): ...
[ "sockpuppet.lea@gmail.com" ]
sockpuppet.lea@gmail.com
cdbbd4c40b880cbbffc579c8ac2750e95e75bb71
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp42_7000.py
7498f9768395d5a4d3115ae4ba0a49d57c335108
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,978
py
ITEM: TIMESTEP 7000 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp 7.2345940138227149e-01 4.6476540598614875e+01 7.2345940138227149e-01 4.6476540598614875e+01 7.2345940138227149e-01 4.6476540598614875e+01 ITEM: ATOMS id type xs ys zs 8 1 0.128552 0.0630246 0.0619357 35 1 0.0601396 0.125834 0.0579319 130 1 0.06202...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
66d97cf320481774462c902df971c3063f758013
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/SUSYBBHToTauTau_M-100_8TeV-pythia6-tauola/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/PAT_CMG_V5_16_0_1377467523/HTT_24Jul_newTES_manzoni_Up_Jobs/base_cfg.py
0293621aeda87a45bbf66fd504f3590c52ec1173
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
60,473
py
import FWCore.ParameterSet.Config as cms process = cms.Process("H2TAUTAU") process.source = cms.Source("PoolSource", noEventSort = cms.untracked.bool(True), inputCommands = cms.untracked.vstring('keep *', 'drop cmgStructuredPFJets_cmgStructuredPFJetSel__PAT'), duplicateCheckMode = cms.untracked.s...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
0fdfbfd787cc27d2b00a01b2ccef13060671930d
81835671049fd32f173d438ca85a8e81482bc76a
/src/muypicky/settings/local.py
233d240db6568b445a0afe234a1df87000ee4b57
[]
no_license
laura8857/django_restaurant
acd344423bd71194f6763e899edaf94955bf06ce
f9882d3d2d8998c1e99a7ecb706be66fab8c4425
refs/heads/master
2021-09-09T07:42:25.636140
2017-12-31T07:03:36
2017-12-31T07:03:36
111,422,444
0
0
null
null
null
null
UTF-8
Python
false
false
3,119
py
""" Django settings for muypicky project. Generated by 'django-admin startproject' using Django 1.11.2. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import o...
[ "luara8857@gmail.com" ]
luara8857@gmail.com
ccd33ffca33b1eb475dfbf98b4abf2ae6d4a4905
4d6af0afb8c4a9521838dd4f8cd09a57fd2ece08
/onlineShop/venv/bin/flask
2d4a8d96bf7aaecf88e21fa2443f666e6cf8c0b2
[]
no_license
candyer/web-exercise
a8ff8dbc1511343e29716fd932480a5c00751de5
cab628e67bbf7230a1bd27eca871ed8353f992fe
refs/heads/master
2023-01-12T13:30:06.323234
2019-08-18T20:29:43
2019-08-18T20:29:43
53,623,102
1
1
null
2023-01-04T15:13:14
2016-03-10T22:55:48
Python
UTF-8
Python
false
false
259
#!/Users/candy/Documents/web-exercise/online_shop/venv/bin/python # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "candyer@users.noreply.github.com" ]
candyer@users.noreply.github.com
ad99634d0137842d7042a688010637b825ee29ce
46ae8264edb9098c9875d2a0a508bc071201ec8b
/res/scripts/client/gui/scaleform/daapi/view/metapromopremiumigrwindowmeta.py
814c7e9466ff495e9f3a447d32cb6863c4598fcd
[]
no_license
Difrex/wotsdk
1fc6156e07e3a5302e6f78eafdea9bec4c897cfb
510a34c67b8f4c02168a9830d23f5b00068d155b
refs/heads/master
2021-01-01T19:12:03.592888
2016-10-08T12:06:04
2016-10-08T12:06:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
899
py
# Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/PromoPremiumIgrWindowMeta.py from gui.Scaleform.framework.entities.abstract.AbstractWindowView import AbstractWindowView class PromoPremiumIgrWindowMeta(AbstractWindowView): """ DO NOT MODIFY! Generated with yaml. __author__ = 'yaml_pro...
[ "m4rtijn@gmail.com" ]
m4rtijn@gmail.com
cfed4084fec538d16981ee31a7f600850dcf0d86
bc23dd0952a7235d2a63f59c83a4a283bbfa49f8
/backend/manage.py
5f19f0c6d16370616739c0eaa3ae0a8a5c26e630
[]
no_license
crowdbotics-apps/dee-world-originals-3621
94e8af26153de836e9e313e84f3a7a39f21deb66
833a299efb37158bde7446d287ffccaf57f3c829
refs/heads/master
2020-05-25T11:09:59.009295
2019-05-21T06:24:38
2019-05-21T06:24:38
187,774,566
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dee_world_originals_3621.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason....
[ "team@crowdbotics.com" ]
team@crowdbotics.com
f665485f49d5e9f3218ee0ee9cc87b2b65a9a74d
8ce70bf719616200f623629e1c3fca20e9f3d369
/GetSharedExternallyDriveACLs.py
06736e36300dc2838dfc0a696d4501ec625e9bf1
[]
no_license
glmyers/GAM-Scripts3
055f1f398971d2aa630372e1594aeea960f7b104
115e1ae811b72570c674a0b0284494f57660ad79
refs/heads/master
2023-08-02T01:41:09.853011
2021-09-15T19:36:37
2021-09-15T19:36:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,387
py
#!/usr/bin/env python3 """ # Purpose: For a Google Drive User(s), show all drive file ACLs for files shared outside of a list of specified domains # You specify a list of domains, DOMAIN_LIST, and indicate whether this list is exclusive/inclusive # EXCLUSIVE_DOMAINS = True: exclude domains in DOMAIN_L...
[ "ross.scroggs@gmail.com" ]
ross.scroggs@gmail.com
bf7de811bfea6dda3995b659cf1eefa05341ded2
74472ae20fa049a82b20b8ba7ea80394c43d5a01
/messenger/urls.py
14204e888b18dbed10f155dcb11b12b8c5abf853
[]
no_license
Adelgh/Projet
ad2d02e92f7ab3adef4c2646ba0c0838bc2e799e
1e1918f5ee47312dce47e2ae384c0168ffce7664
refs/heads/master
2021-01-15T08:27:42.502063
2017-08-28T14:34:16
2017-08-28T14:34:16
99,567,683
0
0
null
null
null
null
UTF-8
Python
false
false
686
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.inbox, name='inbox'), url(r'^new/$', views.new, name='new_message'), url(r'^send/$', views.send, name='send_message'), url(r'^send1/$', views.send1, name='send_message1'), url(r'^delete/$', views.delete, name='de...
[ "you@example.com" ]
you@example.com
69a5cd6ca0707fa39f1ba4e4b1b627696dc2efe1
fe6f6d11dde2a3205ae9758c7d4eb1f824b84102
/venv/lib/python2.7/site-packages/flaskext/script.py
dbe746c0a81ccab2e592f3b48707ca177a080587
[ "MIT" ]
permissive
mutaihillary/mycalculator
ebf12a5ac90cb97c268b05606c675d64e7ccf8a6
55685dd7c968861f18ae0701129f5af2bc682d67
refs/heads/master
2023-01-10T14:56:11.780045
2016-09-20T12:30:21
2016-09-20T12:30:21
68,580,251
0
0
MIT
2022-12-26T20:15:21
2016-09-19T07:27:48
Python
UTF-8
Python
false
false
20,546
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import with_statement import os import sys import code import string import getpass import inspect import warnings import argparse from flask import Flask, _request_ctx_stack __all__ = ["Command", "Shell", "Server", "Manager", "Option", ...
[ "mutaihillary@yahoo.com" ]
mutaihillary@yahoo.com
8c9e26db66935091b5ff391425547f99e9a0a6e4
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/9AMT6SC4Jz8tExihs_23.py
306863290370f89d947dad424359f11ee3c866c3
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
from itertools import product ​ def generate_nonconsecutive(n): return " ".join([combo for combo in ["".join(list(combi)) for combi in product("01",repeat=n)] if "11" not in combo])
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
6ddca35b1612d57330fd4fc592c1f7de0f2633d3
fffbf9e1ac40fdbd77f5b6baf34662478da8162e
/library/setup.py
fc56d3fee0faa0c1dde3eb53f3b7cd88eb98ddf7
[ "MIT" ]
permissive
yorkrobotlab/inky
aa4c41ce17e8e47c3f6b2a16368560be6c66f051
65f9abb7cb09e2a9d9b31e484a576d230d8c28a1
refs/heads/master
2022-10-03T04:43:19.189473
2020-03-11T11:21:04
2020-03-11T11:21:04
259,630,799
1
0
MIT
2020-04-28T12:29:16
2020-04-28T12:29:15
null
UTF-8
Python
false
false
2,147
py
#!/usr/bin/env python """ Copyright (c) 2017 Pimoroni. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pu...
[ "phil@gadgetoid.com" ]
phil@gadgetoid.com
6ec3ed2310d22d5053b1b70b6f71702a2d754566
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2622/60761/241627.py
eeb5762e38fb07e7a8d25eeacf6434a9ae034580
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
120
py
numlist=input("") numset=set(numlist) for num in numset: if numlist.count(num)>(len(numlist)//2): print(num)
[ "1069583789@qq.com" ]
1069583789@qq.com
8c73ab259674a5071d772e7bf8fe594b8cc04ed7
531904363a322e5c9df323254213d1d66d5ef9a5
/lib/c4dtools/utils.py
021f462b384eba0a0e85f1fe8020e79b5c0842db
[ "MIT" ]
permissive
AlbertAlomar/c4ddev
0cf0e29c0b8d3396f578b595ad1145be08ab5562
3c97f00198b734d3af5609f11e291d313abedb4c
refs/heads/master
2021-05-09T02:32:40.502947
2018-01-28T00:02:36
2018-01-28T00:02:36
119,212,951
0
0
null
2018-01-27T23:57:38
2018-01-27T23:57:37
null
UTF-8
Python
false
false
21,642
py
# -*- coding: utf8; -*- # # Copyright (C) 2015 Niklas Rosenstein # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy...
[ "rosensteinniklas@gmail.com" ]
rosensteinniklas@gmail.com
3a2dbda0d6edea8b04c5c326afe5c8171c834539
f3bd271bf00325881fb5b2533b9ef7f7448a75ec
/xcp2k/classes/_restart2.py
4de1a3a5a71bd0926db09c8a34da1ed829325acb
[]
no_license
obaica/xcp2k
7f99fc9d494859e16b9b0ea8e217b0493f4b2f59
6e15c2c95658f545102595dc1783f5e03a9e6916
refs/heads/master
2020-07-15T17:27:43.378835
2019-02-11T16:32:24
2019-02-11T16:32:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
from xcp2k.inputsection import InputSection from _each11 import _each11 class _restart2(InputSection): def __init__(self): InputSection.__init__(self) self.Section_parameters = None self.Add_last = None self.Common_iteration_levels = None self.Filename = None self.L...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
960d2fbde5d08095542b53926dcab3915b657c1b
5f6019aefd4b940451ae81fb0e430e97d19626cb
/2016/martian/get_lines.py
85a7a3481b29fc18839f72a0420d73a8b1eefc05
[]
no_license
cligs/projects
7cee393ccdd5fdf8477a89f07ae7a93fe78511e6
d8a60564d3436a207ce4d94dbdefed9bf5402a9c
refs/heads/master
2022-04-28T20:38:27.267358
2022-04-12T09:08:05
2022-04-12T09:08:05
42,662,737
5
0
null
null
null
null
UTF-8
Python
false
false
2,207
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Filename: get_lines.py # Authors: #cf # 2016-05-21 import re import os import glob import pandas as pd WorkDir = "/media/christof/data/Dropbox/0-Analysen/2016/martians/diffs5/" DiffTable = WorkDir+"DiffTable_2016-04-29.csv" DiffedText = WorkDir+"martians_wdiffed-prep...
[ "c.schoech@gmail.com" ]
c.schoech@gmail.com
3f25fb7ce6da69d951596e88ada26bf2a14bd5d8
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_285/ch5_2019_06_06_18_54_46_963120.py
985b9e61a770d1502eea4003eb618e39ff03abfa
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
def eh_primo(n): primo=True if n<=1: primo=False for e in range(2,n): if n%e==0 and e!=n: primo=False return primo lista_primos=[] def maior_primo_menor_que(n): if n<0: return -1 else: for i in range(0,n+1): if eh_primo(i): lis...
[ "you@example.com" ]
you@example.com
4a95b21c810a8139cdf6848ac7d6fbe6c2f553ff
4b3ae6048ced0d7f88a585af29fa3a7b15005749
/Python/Python_Fundamentals/makingTuples.py
826647c1102aa86bdc343efe54ec68cda094a6db
[]
no_license
ajag408/DojoAssignments
a6320856466ac21d38e8387bdcbbe2a02009e418
03baa0ff5261aee6ffedf724657b3a8c7cdffe47
refs/heads/master
2022-12-11T15:50:46.839881
2021-06-07T20:57:17
2021-06-07T20:57:17
79,872,914
0
0
null
2022-12-08T00:35:09
2017-01-24T02:58:15
Python
UTF-8
Python
false
false
209
py
def dictToTuple(dict): return dict.items() # my_dict = { # "Speros": "(555) 555-5555", # "Michael": "(999) 999-9999", # "Jay": "(777) 777-7777" # } # # answer = dictToTuple(my_dict) # print answer
[ "akashjagannathan408@gmail.com" ]
akashjagannathan408@gmail.com
518f8410f8bc49ab48576f99926b7c130acc5de7
177338a720f904f63926da055364cc0e2c0a850c
/python_stu/s11_22_pager/app01/migrations/0001_initial.py
e1df1b6e1002b6b8fc5e9aec9c576e3d2b84b7e1
[]
no_license
xuefenga616/mygit
60ef7bf7201603e13d4621cf7a39dea8ec92e0b7
be3b8003fcc900ce7ca6616a9ddebb0edcbc1407
refs/heads/master
2020-09-13T11:50:55.448041
2017-08-27T10:59:00
2017-08-27T10:59:00
67,042,409
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='UserList', fields=[ ('id', models.AutoField(ver...
[ "xuefeng_11@qq.com" ]
xuefeng_11@qq.com
a7aaea88c780b8bd4794ae81c8be3b058b2d5c5d
c4b8e1e09dedbccd37ca008ecaaca4438610bbaf
/z3/building_a_house.py
9d5015a6cc2a0dd406b4c96667b91c8ae531df7d
[ "MIT" ]
permissive
hakank/hakank
4806598b98cb36dd51b24b0ab688f52dadfe9626
c337aaf8187f15dcdc4d5b09cd2ed0dbdb2e72c2
refs/heads/master
2023-08-15T00:21:52.750270
2023-07-27T16:21:40
2023-07-27T16:21:40
11,933,517
336
97
MIT
2023-07-27T11:19:42
2013-08-06T20:12:10
JavaScript
UTF-8
Python
false
false
3,932
py
#!/usr/bin/python -u # -*- coding: latin-1 -*- # # Building a house, simple scheduling problem in Z3 # # This model is adapted OPL model sched_intro.mod (examples). # """ # This is a basic problem that involves building a house. The masonry, # roofing, painting, etc. must be scheduled. Some tasks must # necessarily t...
[ "hakank@gmail.com" ]
hakank@gmail.com
6f0e96c1993a1b210e4d7c1365b69706190d11d7
60814a33c10069ac92f2621463bfa0acfed16f7e
/StarmerxSpider/pool.py
017a3a649a0fdb4e6467d2b191a5ff4a54083268
[]
no_license
ijt0walle/LiuFan_Spider
967138c79bb4f6097fb8d898892a02c5fd6a454c
25c07e7d594a835d123530bb49bce77a5bd7f662
refs/heads/master
2021-01-25T13:18:28.306502
2017-08-15T02:32:08
2017-08-15T02:32:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,839
py
#!/usr/bin/python # coding=utf8 from Queue import Queue import threading import contextlib WorkerStop = object() class ThreadPool: workers = 0 thread_factory = threading.Thread current_thread = staticmethod(threading.currentThread) def __init__(self, max_threads=32, name=None): self.queue = ...
[ "liufan.dery@gmail.com" ]
liufan.dery@gmail.com
440008a7a36ecaef1ea45f372d64494846621011
6669b132eb482f95c1f40d35ecae14a544fe9197
/dp/no70.py
f978622a8425456080815f3c7ee609f8abec503a
[]
no_license
markdannel/leetcode
94dade2e5a286d04075e70e48015459ea6ac383a
6a2ac436599ecebc527efe0d6bfe0f6f825311fb
refs/heads/master
2021-06-06T20:56:34.868122
2020-10-21T12:16:56
2020-10-21T12:16:56
140,668,176
0
0
null
null
null
null
UTF-8
Python
false
false
934
py
# 假设你正在爬楼梯。需要 n 阶你才能到达楼顶。 # 每次你可以爬 1 或 2 个台阶。你有多少种不同的方法可以爬到楼顶呢? # 注意:给定 n 是一个正整数。 # 示例 1: # 输入: 2 # 输出: 2 # 解释: 有两种方法可以爬到楼顶。 # 1. 1 阶 + 1 阶 # 2. 2 阶 # 示例 2: # 输入: 3 # 输出: 3 # 解释: 有三种方法可以爬到楼顶。 # 1. 1 阶 + 1 阶 + 1 阶 # 2. 1 阶 + 2 阶 # 3. 2 阶 + 1 阶 # 明确「状态」 -> 定义 dp 数组/函数的含义 -> 明确「选择」-> 明确 base case class Solution...
[ "wistion@foxmail.com" ]
wistion@foxmail.com
e73305264df6b1aea70f4552a91dc35e2b2d9d40
159d2b827db0ae748b739378cab43a24e1ebaa38
/buildtools/scons-local-3.0.0/scons-local-3.0.0/SCons/Platform/sunos.py
3279fb9c5b725417a732aa469ae0a7a65daf1880
[ "MIT", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
mqnc/c-sick
2ef474f5626fcf47b5ee0793220dd7693656b488
65b54b21d9492fae7c7cac299f56c8e6583ef555
refs/heads/master
2020-03-23T15:02:03.057094
2019-10-18T13:51:33
2019-10-18T13:51:33
141,716,128
1
1
BSD-3-Clause
2019-07-24T06:30:00
2018-07-20T13:34:48
Python
UTF-8
Python
false
false
1,919
py
"""engine.SCons.Platform.sunos Platform-specific initialization for Sun systems. There normally shouldn't be any need to import this module directly. It will usually be imported through the generic SCons.Platform.Platform() selection method. """ # # Copyright (c) 2001 - 2017 The SCons Foundation # # Permission is h...
[ "mirko.kunze@web.de" ]
mirko.kunze@web.de
f114cc7a55d5cfd56927c7da8e0c7f5d3752c94f
d7016f69993570a1c55974582cda899ff70907ec
/sdk/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2015_08_01/aio/_event_hub_management_client.py
b45cc43bc478f9a8629155aa12abd9c16f8499af
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
5,134
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
kurtzeborn.noreply@github.com
6fdbd5b5071b2d1bf7b6d51cb3afd1714a662463
c0caed81b5b3e1498cbca4c1627513c456908e38
/src/python/bindings/app/pyrosetta_toolkit/window_main/IO/GUIInput.py
5a129fd75f03c94253db0a23872b7a99486f5d71
[ "LicenseRef-scancode-other-permissive" ]
permissive
malaifa/source
5b34ac0a4e7777265b291fc824da8837ecc3ee84
fc0af245885de0fb82e0a1144422796a6674aeae
refs/heads/master
2021-01-19T22:10:22.942155
2017-04-19T14:13:07
2017-04-19T14:13:07
88,761,668
0
2
null
null
null
null
UTF-8
Python
false
false
11,930
py
#!/usr/bin/python # (c) Copyright Rosetta Commons Member Institutions. # (c) This file is part of the Rosetta software suite and is made available under license. # (c) The Rosetta software is developed by the contributing members of the Rosetta Commons. # (c) For more information, see http://www.rosettacommons.org. Q...
[ "malaifa@yahoo.com" ]
malaifa@yahoo.com
24d00706810b45332650e6f2373530e74e5de2fa
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03624/s778098430.py
55d87c556857c9b5ceb9dae5cfda1de24006c1e7
[]
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
131
py
s = input() ans = 'None' for i in range(26): c = chr(ord('a') + i) if c not in s: ans = c break print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f08fa45d2f7184da8a83e99c2fa82e9f5560718c
7456c190ac67e9bf383c645839ac210f6f87f626
/Scattering_Analysis.py
17b0643b6d1db264200c9e075b5f6124f10e2277
[]
no_license
joebatley/PythonCode
6a8b9d775577b4ba5b48a43b839576b1a861464e
de2748fdd40a0c21f7292c7188b8873f95bc759a
refs/heads/master
2021-01-11T11:03:42.894488
2014-09-29T13:35:02
2014-09-29T13:35:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,338
py
# -*- coding: utf-8 -*- """ Created on Fri Jun 6 10:44:51 2014 @author: Joe """ import numpy import pylab as plt from scipy import interpolate from scipy.interpolate import splrep, splev from scipy.integrate import quad import Stoner from Stoner.Folders import DataFolder import Stoner.Analysis as Analysis import s...
[ "py07jtb@leeds.ac.uk" ]
py07jtb@leeds.ac.uk
b73b9a5fa18f5955b3b7c1c96e2cc8c872c9b97c
1eab574606dffb14a63195de994ee7c2355989b1
/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/protocolstack/iptvglobals/igmpgrouprange/igmpgrouprange.py
ae57a679eaf427beb79281ee834097062c2960a6
[ "MIT" ]
permissive
steiler/ixnetwork_restpy
56b3f08726301e9938aaea26f6dcd20ebf53c806
dd7ec0d311b74cefb1fe310d57b5c8a65d6d4ff9
refs/heads/master
2020-09-04T12:10:18.387184
2019-11-05T11:29:43
2019-11-05T11:29:43
219,728,796
0
0
null
2019-11-05T11:28:29
2019-11-05T11:28:26
null
UTF-8
Python
false
false
8,422
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
05ef3ed3def4fa3a9dce401fbc1e16f639f43e18
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/123/usersdata/28/25531/submittedfiles/testes.py
09cbf99930f122c284e846161c34c4f872f93fa3
[]
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
119
py
b = -3 a = abs(b - 0) print (a) #def distancia(p0, p): # d = 0 # for i in range(0, len(a), 1): # d = abs(
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
9803533659323737846d4ea744ff2a7ff8d98bde
02508aa773dcbd9939eb879952ee2cb3dd90bcad
/torch/distributed/nn/__init__.py
b3cedcc6011169161bed18af8797397420af528b
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
dhivyadharshin/pytorch
d8a3b7f3c03e21e776ea34788d13743467b738c8
6a170011876bb8bd1909e8f60fba1270ac7a5577
refs/heads/master
2023-07-18T07:31:52.918955
2021-08-17T18:12:01
2021-08-17T18:12:01
397,330,616
5
0
NOASSERTION
2021-08-17T18:12:02
2021-08-17T16:57:16
null
UTF-8
Python
false
false
84
py
from .api.remote_module import RemoteModule from .functional import * # noqa: F403
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
e54ff071f98fe853abfa4d2a1d3dfda418acb12f
55647a80c8b412af9df0ba3f50595cc2f29c25e6
/res/scripts/common/Lib/plat-mac/Carbon/File.py
c0c25c19dcfc7e1e788e857d3bcbd6b39a4c0c21
[]
no_license
cnsuhao/WOT-0.9.17-CT
0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb
d1f932d8cabaf8aa21708622e87f83c8d24d6451
refs/heads/master
2021-06-08T18:11:07.039293
2016-11-19T19:12:37
2016-11-19T19:12:37
null
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
358
py
# 2016.11.19 20:00:52 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/plat-mac/Carbon/File.py from _File import * # okay decompyling c:\Users\PC\wotsources\files\originals\res\scripts\common\Lib\plat-mac\Carbon\File.pyc # decompiled 1 files: 1 okay, 0 failed, 0 verify failed # 2016.11.19 20:00:52 S...
[ "info@webium.sk" ]
info@webium.sk
1905be51f9c00ebc3b098c76678348ffeb71035e
b7888fb921abeb2ad44ce6409bf62ecef77a458e
/src/djanban/apps/members/migrations/0019_remove_member_spent_time_factor.py
2ab10ee0796f693207d2b06d3d54d558aeeb0a74
[ "MIT" ]
permissive
my-favorite-repositories/djanban
303ce59f821d01f727536068b83f8e8485b7d649
6451688d49cf235d03c604b19a6a8480b33eed87
refs/heads/master
2021-03-01T14:23:19.745085
2018-05-15T17:12:01
2018-05-15T17:12:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-02-24 23:58 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('members', '0018_auto_20170225_0040'), ] operations = [ migrations.RemoveField( ...
[ "diegojromerolopez@gmail.com" ]
diegojromerolopez@gmail.com
796ab06892c97d5436ecff7b9232792d22646d92
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.4/tests/modeltests/empty/models.py
a2bbbad12f05aa2f32123e6f738a7f5a884c9e63
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
98
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.4/tests/modeltests/empty/models.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
cd5c850731be449ad2ef5c6e65eca0f57007320f
d4f1bd5e52fe8d85d3d0263ede936928d5811bff
/Python/Problem Solving/BOJ/boj2743.py
88dc5176dd1699438bbf486e4a340f3bfb6c415e
[]
no_license
ambosing/PlayGround
37f7d071c4402599995a50cac1e7f1a85c6d10dd
0d5262dbb2fa2128ecb3fd969244fa647b104928
refs/heads/master
2023-04-08T04:53:31.747838
2023-03-23T06:32:47
2023-03-23T06:32:47
143,112,370
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
s = input() len_s = 0 for i in s: len_s += 1 print(len_s)
[ "ambosing_@naver.com" ]
ambosing_@naver.com
ddcfb84625fbf00abc35ea2d697ae18e14dca3fa
b9d648a7cb56412f367492f93bb9acd27ab53e84
/baralho_renzo.py
0cd602729055a5e63d8d39cf19c97486e0b24d49
[ "MIT" ]
permissive
maribedran/oopy
0d9a34ab820f427f0b6738fa49e434d780e7bf27
3f0629afee10f60f214cff04d07a27daa2fc8208
refs/heads/master
2020-12-26T13:02:16.938449
2016-04-17T15:40:54
2016-04-17T15:40:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
783
py
from collections import namedtuple from itertools import chain, product from random import shuffle Carta = namedtuple('Carta', 'valor naipe') class Baralho(): def __init__(self): valores = chain((str(i) for i in range(2, 11)), 'JQKA') naipes = '♣♡♠♢' self.cartas = [Carta(valor, naipe) for...
[ "renzon@gmail.com" ]
renzon@gmail.com
6a24ee0acfd7a5e70f4e6b359e81a3a6662bbc34
d6be053915c065fe6da71afddd28429d144fee68
/streamlit_tutorial/main_concepts/app_02_st-write.py
b0292b32740b780363ad49a71892cadeb280fa04
[]
no_license
DrShushen/practice_py
61bc28f52783f8304cce1d834def4934ba6ee8e1
cf40ec43ccd73aa835c4e65e6a4b41408b90a3ea
refs/heads/master
2023-01-08T06:57:10.852157
2023-01-03T22:58:11
2023-01-03T22:58:11
211,668,464
1
1
null
null
null
null
UTF-8
Python
false
false
204
py
import streamlit as st import pandas as pd st.write("Here's our first attempt at using data to create a table:") st.write(pd.DataFrame({"first column": [1, 2, 3, 4], "second column": [10, 20, 30, 40]}))
[ "e.s.saveliev@gmail.com" ]
e.s.saveliev@gmail.com
e719eb80d4457db6ea99dc3821c5929866765f80
e311664619d469addd2c77566ec97d24affcbfd9
/src/apps/sistema/admin.py
e984d54edcb131f638648697eb5a1205922b2c8b
[]
no_license
danielhuamani/Proyecto-taller-base-datos
361dc8c915dff36a9ce96a7147c11f0af9d51227
5d791383f77f8042a2890db4cfd31079c6d1dc7b
refs/heads/master
2016-08-11T13:47:03.169317
2015-12-22T04:28:52
2015-12-22T04:28:52
46,673,349
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
# -*- coding: utf-8 -*- from django.contrib import admin from .models import Usuario @admin.register(Usuario) class UsuarioAdmin(admin.ModelAdmin): list_display = ('email', 'password')
[ "danielhuamani15@gmail.com" ]
danielhuamani15@gmail.com
7e3a908b15a1ae21c5a415ad9a3bd556966e7eed
b21abd3873c76739ceefd1b4613a343ba2b454d1
/jwst/associations/__init__.py
d301f9c7e12a2e7fee6c0d7ec0e7ed537bfa1211
[ "BSD-2-Clause" ]
permissive
rij/jwst
96a7baf95de953c51bbe67f3cdd459c114c47eef
1d3acecb28d9a3dcb44b993e451b69da9856187d
refs/heads/master
2020-12-24T09:56:21.784342
2016-06-09T19:17:01
2016-06-09T19:17:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
from __future__ import absolute_import from .association import (Association, AssociationRegistry) from .pool import AssociationPool from .generate import generate
[ "jhunkeler@gmail.com" ]
jhunkeler@gmail.com
4abb0b3416a912f00495bdac12ea344e0e5c4234
6490638f15a2dfbe0cec9725186f9784d57c92f0
/UnitTest/testSEGMENT.py
b39851c1efe3ad9480414b8fea7c6e6a7eb3a621
[ "MIT" ]
permissive
khawatkom/SpacePyLibrary
af9c490ef796b9d37a13298c41df1fb5bf6b3cee
c94415e9d85519f345fc56938198ac2537c0c6d0
refs/heads/master
2020-05-14T21:52:39.388979
2019-04-17T17:06:04
2019-04-17T17:06:04
181,970,668
1
0
null
2019-04-17T21:26:44
2019-04-17T21:26:44
null
UTF-8
Python
false
false
2,419
py
#!/usr/bin/env python3 #****************************************************************************** # (C) 2018, Stefan Korner, Austria * # * # The Space Python Library is free software; you can redi...
[ "korner-hajek@gmx.at" ]
korner-hajek@gmx.at
68b54e70382cdd4a0198bd401b8281a41aedd8bf
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03835/s488234349.py
e56e10d8295dca46ab608cfccce640f2972f7441
[]
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
149
py
k,s = map(int, input().split()) ans = 0 for i in range(k+1): for j in range(k+1): t = s - (i + j) if 0 <= t <= k: ans += 1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
706418248d2b6c25981b3d2197b0838bed81d752
15ed3ab4510677e6df9b11af8fd7a36fc6d826fc
/rado/2014-10/mc2/nice-res-2014-10-29/mc2.py
3188ce25fe60f46da2959be84ae326f91d4945c8
[]
no_license
pe-ge/Computational-analysis-of-memory-capacity-in-echo-state-networks
929347575538de7015190d35a7c2f5f0606235f2
85873d8847fb2876cc8a6a2073c2d1779ea1b20b
refs/heads/master
2020-04-02T08:08:38.595974
2018-01-17T08:12:26
2018-01-17T08:12:26
61,425,490
0
0
null
null
null
null
UTF-8
Python
false
false
5,473
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ mc2.py Created 17.10.2014 Based on mc.py Goal: Measuring Memory Capacity for random matrices """ from numpy import * import matplotlib.pyplot as plt p = 1 # one input node q = 100 # 100 reservoir nodes r = 200 # 200 output nodes params = { 'MEMORY_MAX': 200, 'I...
[ "gergelp@gmail.com" ]
gergelp@gmail.com
c6ebae4c39070dc4f956e0aa6d460198565a6724
8e01f8c0c6ae1ab1f2cd34408577dc8affb8288e
/slingsby/articles/migrations/0002_auto_20150305_2339.py
e7d8f839fe8f0fac077f1092d88772230280b0ed
[]
no_license
TelemarkAlpint/slingsby
b8122f0a367d81c2cf8809a91827426de9e93e2c
e480ebf12f7d5dddeca242b1c0ed508631a6674c
refs/heads/master
2021-01-10T15:12:28.205841
2017-09-13T21:20:01
2017-09-13T21:20:25
8,419,417
2
0
null
2020-03-17T21:19:35
2013-02-25T22:11:16
Python
UTF-8
Python
false
false
512
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('articles', '0001_initial'), ] operations = [ migrations.AlterField( model_name='subpagearticle', nam...
[ "git@thusoy.com" ]
git@thusoy.com
86158ba972b588256136d51e4ae6672785f5eee1
b4afb44b8f483c048716fe12d778186ce68ac846
/AutoFrameworkForAppiumPy/com/qa/automation/appium/cases/ios/ffan/common/check_network.py
47a35ee729958f64215c24e69771b597aaf20c60
[]
no_license
liu111xiao111/UItest
64309b2c85f6d2334d64bb0875ba9ced459ebb1e
67e2acc9a99da81022e286e8d8ec7ccb12636ff3
refs/heads/master
2021-09-01T18:30:28.044296
2017-12-28T04:36:46
2017-12-28T04:36:46
115,585,226
1
0
null
null
null
null
UTF-8
Python
false
false
670
py
# -*- coding: utf-8 -*- from subprocess import Popen, PIPE CONNECTION = 0 NOCONNECTION = -1 NOFIND = -1 class CheckNetworkStatus: ''' usage : Check Network status. ''' def __init__(self): pass def checkNetwork(self): cmd = 'adb shell ping -w 3 baidu.com' ret = P...
[ "tl@neusoft.com" ]
tl@neusoft.com
9e90df95e59de10a43e6085045adb77c5d333abc
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.5/django/conf/locale/et/__init__.py
1de82d1d47675d85c8bc8f0ca94a0c8ea68b3dc2
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
99
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.5/django/conf/locale/et/__init__.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
364728cd83b127d6eeb34938d1d4dd9be8dd794e
e993c53e4e1a52acc8279129c67feb0d3a1b9cbc
/catkin_ws/src/o2as_cad_matching/cfg/CadMatching.cfg
2ffd7a6a9e0af0082bdd6b1054b9a6e0b92447db
[ "MIT" ]
permissive
DevwratJoshi/ur-o2as
134ec87d371a7d9f9b64cbeb4030b23cf114812d
265249c27908a79a301014168394db0c0dc2204c
refs/heads/master
2021-01-03T16:03:57.344339
2020-02-17T03:58:39
2020-02-17T03:58:39
240,143,319
0
0
MIT
2020-02-13T00:21:52
2020-02-13T00:21:51
null
UTF-8
Python
false
false
2,602
cfg
#!/usr/bin/env python PACKAGE = "o2as_cad_matching" from math import pi from dynamic_reconfigure.parameter_generator_catkin import * gen = ParameterGenerator() object_id = gen.enum([ gen.const("01_BASE" , int_t, 1, "Base Panel"), gen.const("02_PANEL" , int_t, 2, "Outp...
[ "FvDrigalski@gmail.com" ]
FvDrigalski@gmail.com
96818b870c57707871eaa9aaa64013c4dddb882d
e483b0515cca39f4ddac19645f03fc1695d1939f
/google/ads/google_ads/v1/proto/errors/mutate_error_pb2.py
7d4341f914f9ea47ea5cab80d378555a1d3b6cf3
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
BrunoWMello/google-ads-python
0af63d2ca273eee96efd8a33252d27112c049442
9b074a037d10f0c1208a00d5d41a8e5e25405f28
refs/heads/master
2020-05-27T04:37:47.669144
2019-05-24T17:07:31
2019-05-24T17:07:31
null
0
0
null
null
null
null
UTF-8
Python
false
true
4,602
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v1/proto/errors/mutate_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from g...
[ "noreply@github.com" ]
BrunoWMello.noreply@github.com
53c338a2bf6735812b6fac338fbbd370974fc717
45a0434de7cb5aaf51f372a9ea39c2e62528e8d7
/models/hier_seq2seq_sampled_softmax_v2.py
57077006e62eeedc48d15c7745215cf8d05261ee
[]
no_license
hongtaowutj/Seq2Seq-Keyphrase-Generation
44b5b24f3af7a85c24fc5ef231c53c1dac7e48ff
6f2d08222b108b543b7628b32e98480f2e3a32b0
refs/heads/master
2020-03-27T10:43:09.941194
2018-07-23T07:21:35
2018-07-23T07:21:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,712
py
# -*- coding: utf-8 -*- # author: @inimah # date: 25.04.2018 import os import sys sys.path.append(os.getcwd()) sys.path.insert(0,'..') import numpy as np import tensorflow as tf from keras.models import Model from keras.layers import Input, Embedding, Dropout from keras.layers import LSTM, GRU, MaxPooling1D,...
[ "i.nimah@tue.nl" ]
i.nimah@tue.nl
1b211e2af8bd47e80d621774445befeff125077b
068d271e241d8cdb46dbf4243166e4b8ee7025b2
/day10/day10/5.进程_server.py
6bcdd06a147b6b6b577b373066d3137b7a7fe994
[]
no_license
caiqinxiong/python
f6e226e76cb62aac970bcfbcb6c8adfc64858b60
9029f6c528d2cb742b600af224e803baa74cbe6a
refs/heads/master
2023-05-26T19:41:34.911885
2020-05-15T09:02:08
2020-05-15T09:02:08
195,261,757
1
0
null
2021-06-10T23:33:33
2019-07-04T15:01:42
JavaScript
UTF-8
Python
false
false
509
py
import socket from multiprocessing import Process def func(conn): while True: conn.send(b'hello') # msg必须是字节类型 message = conn.recv(1024) # n是接受消息的最大字节数 print(message) if __name__ == '__main__': sk = socket.socket() sk.bind(('127.0.0.1',9001)) sk.listen() while True: ...
[ "13269469526@163.com" ]
13269469526@163.com
2d742d0514e2f6b3d504abf2415972f06a362098
acd41dc7e684eb2e58b6bef2b3e86950b8064945
/res/packages/scripts/scripts/client/gui/shared/utils/decorators.py
fd6a83b489698ea258530d5b9b8f79437a048a1b
[]
no_license
webiumsk/WoT-0.9.18.0
e07acd08b33bfe7c73c910f5cb2a054a58a9beea
89979c1ad547f1a1bbb2189f5ee3b10685e9a216
refs/heads/master
2021-01-20T09:37:10.323406
2017-05-04T13:51:43
2017-05-04T13:51:43
90,268,530
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
5,312
py
# 2017.05.04 15:26:22 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/shared/utils/decorators.py import time import adisp import BigWorld from debug_utils import LOG_DEBUG from gui.Scaleform.Waiting import Waiting from debug_utils import LOG_WARNING from string import join class process(object): ...
[ "info@webium.sk" ]
info@webium.sk
b694a28ffa1f63fc562066d77f3e7125197de3a4
28e8ff11d8d4d633e9bd69390eb8504dc52d34ac
/python/paddle/distributed/fleet/runtime/parameter_server_runtime.py
0d4c3944c72a2edaae4d97be1b7587969285cba1
[ "Apache-2.0" ]
permissive
zhupengyang/Paddle
1cda899a18de8725bfbbcedfcf45bce0bc2706a7
226b4a95df0c992dfaf37cca2c0e89eb730dd298
refs/heads/develop
2023-08-30T22:09:01.452182
2023-03-01T09:35:50
2023-03-01T09:35:50
186,746,928
0
0
Apache-2.0
2023-07-19T01:56:42
2019-05-15T04:05:53
C++
UTF-8
Python
false
false
28,201
py
# Copyright (c) 2020 PaddlePaddle 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 appli...
[ "noreply@github.com" ]
zhupengyang.noreply@github.com
71bae5b57bd978555acd8f94f55a75779c4e5c5a
a4e59c4f47873daf440374367a4fb0383194d2ce
/Python/129.py
73d145f89ea0e90f96faa9bfc9b762b6c30ecb3d
[]
no_license
maxjing/LeetCode
e37cbe3d276e15775ae028f99cf246150cb5d898
48cb625f5e68307390d0ec17b1054b10cc87d498
refs/heads/master
2021-05-23T17:50:18.613438
2021-04-02T17:14:55
2021-04-02T17:14:55
253,406,966
0
2
null
null
null
null
UTF-8
Python
false
false
617
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def sumNumbers(self, root: TreeNode) -> int: return self.pathsSum(root, 0) def pathsSum(self, node, pathSum): if no...
[ "tvandcc@gmail.com" ]
tvandcc@gmail.com
2f4db38a3a1591db3042a3d16dbd30478a312b0e
07b37ca45d38edea112895049acf76d96ff07eff
/3.Processing&UnderstadingText/recommended_dependency_parser.py
2ced66cfba94395977f015428833ccba515d6df6
[]
no_license
KRBhavaniSankar/NLTK
e335944de346be72a01c92221b0bf58d85475fb9
4b228338566996fbccee72cb6afaa199a6496787
refs/heads/master
2020-03-12T23:03:59.981112
2018-05-11T01:15:28
2018-05-11T01:15:28
130,858,622
0
0
null
null
null
null
UTF-8
Python
false
false
2,000
py
sentence = 'The brown fox is quick and he is jumping over the lazy dog' #Load dependencies from spacy.lang.en import English parser = English() parsed_sent = parser(unicode(sentence)) print(parsed_sent) ,type(parsed_sent) dependency_pattern = '{left}<---{word}[{w_type}]--->{right}\n--------' for token in parsed_se...
[ "krbhavanisankar@gmail.com" ]
krbhavanisankar@gmail.com
d018f1d0babe1ace6fc29381446346cddfd4e2a2
39e1320c74bcf0bbebb855645b4f538e9ef361f4
/src/genui/projects/models.py
352d603101f8e355490bba68659b5203e196e5ba
[ "MIT" ]
permissive
Tontolda/genui
4c684e08e78b848e5afa7e4333bbea46c30d9d51
c5b7da7c5a99fc16d34878e2170145ac7c8e31c4
refs/heads/master
2023-04-14T12:57:31.774323
2021-01-29T08:01:30
2021-01-29T08:01:30
344,443,814
0
0
NOASSERTION
2021-04-24T14:56:35
2021-03-04T11:00:54
null
UTF-8
Python
false
false
2,454
py
from django.conf import settings from django.db import models from polymorphic.models import PolymorphicModel from abc import ABCMeta, abstractmethod from django.utils import timezone class PolymorphicAbstractModelMeta(ABCMeta, type(PolymorphicModel)): pass class PolymorphicAbstractModel(PolymorphicModel): _...
[ "sicho.martin@gmail.com" ]
sicho.martin@gmail.com
35b0b17ca058a4213445abfdb3222aa67dceb8e9
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/eve-8.51.857815/carbonui/camera/behaviors/cameraBehavior.py
0e12ce3324f0f6b154ae49f02a86cd143e92084a
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,472
py
#Embedded file name: carbonui/camera/behaviors\cameraBehavior.py """ Simple base class for camera behaviors. Contains base functionality and Corified versions of common functions needed. """ class CameraBehavior(object): __guid__ = 'cameras.CameraBehavior' def __init__(self): self.gameWorldClient = sm...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
e1ba925a4435f433489b2055d93863fc11d8fbdc
dea198896f679e577a3fd0923e3fa4470da4b9cc
/journal/pyfakefs_mutants/BOR_BitOr_mutant_1507055613.py
24e4baeeed3757779ce893133b9ecc68ff79cce6
[]
no_license
naustarg/cbmcmutate
f138ab2b04b4be70d735de90815ac670ae6042ce
a6ee6fd395338bb2dfd6bdffabb2dc484cb303f1
refs/heads/master
2020-04-04T08:10:15.913309
2018-05-21T18:23:58
2018-05-21T18:23:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
219,331
py
# line: 91 'A fake filesystem implementation for unit testing.\n\n:Includes:\n * FakeFile: Provides the appearance of a real file.\n * FakeDirectory: Provides the appearance of a real directory.\n * FakeFilesystem: Provides the appearance of a real directory hierarchy.\n * FakeOsModule: Uses FakeFilesystem to pr...
[ "agroce@gmail.com" ]
agroce@gmail.com
c8dd68af4b22458adfed98f16219e4ab50e39b6b
adad318902262dffa68023ef1be3f9290d6b7ded
/ppci/irutils/io.py
c0d177ba761e624bff0dc95c3391b99b4100b7bb
[ "BSD-2-Clause" ]
permissive
ForceBru/ppci
e2324b772ed7486f1154bbf85c3a4469515059ab
7bca8fa0c7adce37c62716186c786ce5cbd9d189
refs/heads/master
2022-11-07T19:18:11.907546
2020-06-24T12:38:12
2020-06-24T12:38:12
271,379,816
0
0
BSD-2-Clause
2020-06-24T12:38:13
2020-06-10T20:35:58
Python
UTF-8
Python
false
false
23,140
py
""" Module to serialize and deserialize IR-code. Take an IR-module, and turn it into a dict or json. Then, this item can be persistet or send via e-mail. Next up, take this dict / json and reconstruct the identical IR-module from it. This can be useful in these scenario's: - Compilation caching: store the IR-code an...
[ "windel@windel.nl" ]
windel@windel.nl
da4a32962100827a0d1787dccf3a4722e5168197
c7bde9b78057cc60c9ccd03145b5baf55284c875
/blah.py
356e579ee69aaab75cf027fcac689390897a3106
[]
no_license
sseaver/tic_tac_toe
cb38f1cd11d879ee94eb91fbcd9b40a5736aaea8
7607123435419b0862d7e36373263f3592eeca9e
refs/heads/master
2021-01-17T19:13:53.498545
2016-09-21T21:58:10
2016-09-21T21:58:10
68,764,989
0
0
null
null
null
null
UTF-8
Python
false
false
2,016
py
def winning(): column_zero = [row[0] for row in game_matrix] column_one = [row[1] for row in game_matrix] column_two = [row[2] for row in game_matrix] if column_zero == ["X", "X", "X"]: return True print ("X has won the game!") elif column_zero == ["O", "O", "O"]: return Tru...
[ "sseaver321@gmail.com" ]
sseaver321@gmail.com
fd8b773813e15c6655ea2f1fa0dd72bbe07d2e9c
2d5171ac7f2640ed73b48aebf4b96e29d5cad818
/ABC164/D.py
1d6040a7c8e43dbb4d68df474ac22cf5856aacee
[]
no_license
kentahoriuchi/Atcorder
d7b8308424175f32d47f24bb15303695780e1611
f6449d4e9dc7d92210497e3445515fe95b74c659
refs/heads/master
2023-06-06T09:26:46.963642
2021-06-13T15:08:04
2021-06-13T15:08:04
255,396,409
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
S = input() count = 0 l = [0]*2019 l[0] = 1 mod = 2019 tmp = 0 for i in range(1,len(S)+1): tmp = (tmp + int(S[len(S)-i])*pow(10,i-1,mod))%mod l[tmp] += 1 for j in range(2019): if l[j] >= 2: count += l[j]*(l[j]-1)//2 print(count)
[ "dorahori_108@yahoo.co.jp" ]
dorahori_108@yahoo.co.jp
a1453f77a8fd8eb705cbce7eeabba2f607626caa
ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1
/res/packages/scripts/scripts/client/gui/prb_control/entities/sandbox/pre_queue/ctx.py
72525ca7d0d926af5be80b5ae0c31108efc663d7
[]
no_license
webiumsk/WOT-0.9.20.0
de3d7441c5d442f085c47a89fa58a83f1cd783f2
811cb4e1bca271372a1d837a268b6e0e915368bc
refs/heads/master
2021-01-20T22:11:45.505844
2017-08-29T20:11:38
2017-08-29T20:11:38
101,803,045
0
1
null
null
null
null
WINDOWS-1250
Python
false
false
1,055
py
# 2017.08.29 21:45:38 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/prb_control/entities/sandbox/pre_queue/ctx.py from constants import QUEUE_TYPE from gui.prb_control.entities.base.pre_queue.ctx import QueueCtx from gui.shared.utils.decorators import ReprInjector @ReprInjector.withParent(('getVe...
[ "info@webium.sk" ]
info@webium.sk
78fc991a1014c50f1012814c34bcd40c58596c95
1a194118c60a22b0b4e039e3949403d00b2df8ea
/others/find_planned_roll.py
3083ee0ac915357f643152f702fcf8eb5377049f
[]
no_license
tisobe/Ocat
645e62cbd05a4b050c6ca45966271e4108d2fe74
a1d66ee8163f73a23ce3964f1347365c8a4e36ae
refs/heads/master
2020-12-24T06:47:07.753060
2016-11-17T18:24:54
2016-11-17T18:24:54
73,399,591
0
0
null
null
null
null
UTF-8
Python
false
false
3,737
py
#!/usr/bin/env /proj/sot/ska/bin/python ############################################################################################################# # # # find_planned_roll.py: find roll angle and the r...
[ "isobe@head.cfa.harvard.edu" ]
isobe@head.cfa.harvard.edu
b16a7d2303c6584ceaae6c79e8bd71faad1e197f
ba0cbdae81c171bd4be7b12c0594de72bd6d625a
/MyToontown/py2/toontown/effects/FireworkSparkles.pyc.py
7c201e409d069ab5b1d3220e537f0c082007c3e2
[]
no_license
sweep41/Toontown-2016
65985f198fa32a832e762fa9c59e59606d6a40a3
7732fb2c27001264e6dd652c057b3dc41f9c8a7d
refs/heads/master
2021-01-23T16:04:45.264205
2017-06-04T02:47:34
2017-06-04T02:47:34
93,279,679
0
0
null
null
null
null
UTF-8
Python
false
false
4,693
py
# 2013.08.22 22:19:53 Pacific Daylight Time # Embedded file name: toontown.effects.FireworkSparkles from pandac.PandaModules import * from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect, Particles, ForceGroup from EffectController import EffectController from PooledEffect impo...
[ "sweep14@gmail.com" ]
sweep14@gmail.com
6ea4fb9c6455a858013bd542634687b28ef21118
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/storage/cases/test_KT1CM1g1o9RKDdtDKgcBWE59X2KgTc2TcYtC_alpha.py
7fd7dede51a72fd1062c3b8743dc3d392f7fa5e8
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
1,160
py
from unittest import TestCase from tests import get_data from pytezos.michelson.converter import build_schema, decode_micheline, encode_micheline, micheline_to_michelson class StorageTestKT1CM1g1o9RKDdtDKgcBWE59X2KgTc2TcYtC_alpha(TestCase): @classmethod def setUpClass(cls): cls.maxDiff = None ...
[ "mz@baking-bad.org" ]
mz@baking-bad.org
ff838d42226d27d960c29df551b9804f4672fa7b
a3b749c69f9ed3d10e1013754428b3a07ef49137
/presupuestos/urls_presupuestos.py
6fc26f4e85dda9c6aa5b0fe7ea4920f69b929b79
[]
no_license
adrian052/SPSD
7dd8b4aece3ad2e3ece34624f86d488c0f368dcf
f93dee58ada43abe0e3cc06ca3e4ef2d17006791
refs/heads/main
2023-05-27T16:40:09.995245
2021-06-08T22:32:59
2021-06-08T22:32:59
315,161,295
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
from django.urls import path from presupuestos.views import lista_presupuestos, nuevo_presupuesto, \ eliminar_presupuesto, editar_presupuesto app_name = 'presupuestos' urlpatterns = [ path('lista/', lista_presupuestos, name='lista'), path('nuevo/', nuevo_presupuesto, name='nuevo'), path('eliminar/<int...
[ "vagrant@ubuntu1804.localdomain" ]
vagrant@ubuntu1804.localdomain