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
aa478f8db29f79c33c87d31990ab69000a083ef4
ec153cf6c65b02d8d714e042bbdcf476001c6332
/openstack_dashboard/enabled/_802_metadata_defs.py
715c3f57adb1b772f3513ae78202a66c8feed358
[]
no_license
bopopescu/dashboard
c4322f7602a9ba589400212aaef865ed4ffa8bdb
a74b4a549cd7d516dd9a0f5f2e17d06679c13bf6
refs/heads/master
2022-11-21T15:56:42.755310
2017-07-05T12:04:14
2017-07-05T12:04:17
281,596,428
0
0
null
2020-07-22T06:38:37
2020-07-22T06:38:36
null
UTF-8
Python
false
false
406
py
# The slug of the panel to be added to HORIZON_CONFIG. Required. PANEL = 'metadata_defs' # The slug of the dashboard the PANEL associated with. Required. PANEL_DASHBOARD = 'system' # The slug of the panel group the PANEL is associated with. PANEL_GROUP = 'default' # Python panel class of the PANEL to be added. ADD_PAN...
[ "laurencechan@qq.com" ]
laurencechan@qq.com
a629ff545360e6bd157e394d377cbc1f1330141e
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_6/mtttaf002/question1.py
9e72945c0d743ddcf7d64cd2596254bb5b69226b
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
"""produce right aligned list of names tafara mtutu 20 apr 2014""" names = [] count = 0 aligned = [] sort = "" #ask user for names print("Enter strings (end with DONE):") name = input() while name.lower() != "done": if count < len(name): count = len(name) names.append(name) name ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
e5500f8613dd97c63af38a515d3fcaed24f1edfc
ef3fe422fc5644ce37cef2e8eb47a615e0865f27
/0x00-python_variable_annotations/100-safe_first_element.py
a68a172a7b3aeffd93fd5ece78bd0461e3d8fca2
[]
no_license
Manuelpv17/holbertonschool-web_back_end
b1b6d993b378f60e3d2312079b49fb059a2e14a7
c4c60bf08648a8e9c846147808b6a7fbd9a818a7
refs/heads/main
2023-08-27T11:10:50.496692
2021-10-17T16:54:21
2021-10-17T16:54:21
366,537,768
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
#!/usr/bin/env python3 """ 10. Duck typing - first element of a sequence """ from typing import Sequence, Union, Any def safe_first_element(lst: Sequence[Any]) -> Union[Any, None]: """ 10. Duck typing - first element of a sequence """ if lst: return lst[0] else: return None
[ "manuelpv17@outlook.com" ]
manuelpv17@outlook.com
fdc09392606dbaa4da061b3a530db0f87a8dc68c
8771c94dce3c7e30c9e5b5f45cf8683ba9cac6fd
/leetcode/algorithms/p0338_counting_bits_1.py
369900a44f586dcd107afb5c442e1ac2172ed57f
[]
no_license
J14032016/LeetCode-Python
f2a80ecb7822cf12a8ae1600e07e4e6667204230
9a8f5329d7c48dd34de3105c88afb5e03c2aace4
refs/heads/master
2023-03-12T02:55:45.094180
2021-03-07T07:55:03
2021-03-07T07:55:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
from typing import List class Solution: def countBits(self, num: int) -> List[int]: return [self._hammingWeight(x) for x in range(num + 1)] def _hammingWeight(self, n: int) -> int: count = 0 while n > 0: n = n & (n - 1) count += 1 return count
[ "mao_xiaodan@hotmail.com" ]
mao_xiaodan@hotmail.com
10d914f403ac5bfd4aacc7330c3db318947f429e
e20ed90b9be7a0bcdc1603929d65b2375a224bf6
/generated-libraries/python/netapp/net/net_ifgrp_info.py
51fb53a5a5d184165370e0966a17a0a5662d4247
[ "MIT" ]
permissive
radekg/netapp-ontap-lib-gen
530ec3248cff5ead37dc2aa47ced300b7585361b
6445ebb071ec147ea82a486fbe9f094c56c5c40d
refs/heads/master
2016-09-06T17:41:23.263133
2015-01-14T17:40:46
2015-01-14T17:40:46
29,256,898
2
0
null
null
null
null
UTF-8
Python
false
false
6,702
py
from netapp.netapp_object import NetAppObject class NetIfgrpInfo(NetAppObject): """ Network interface group information When returned as part of the output, all elements of this typedef are reported, unless limited by a set of desired attributes specified by the caller. <p> When used as inp...
[ "radek@gruchalski.com" ]
radek@gruchalski.com
b86128aee5418c0b7ac108bd068d443064cc3ec0
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_sermon.py
40a9742cbaf0299a9d7ec6767d646bfc24b37d57
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
#calss header class _SERMON(): def __init__(self,): self.name = "SERMON" self.definitions = [u'a part of a Christian church ceremony in which a priest gives a talk on a religious or moral subject, often based on something written in the Bible: ', u'a long talk in which someone advises other people how they shou...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
8adb355b8d8850f4f2de49b4f36daf51077ab7e9
3b84c4b7b16ccfd0154f8dcb75ddbbb6636373be
/google-cloud-sdk/lib/googlecloudsdk/surface/compute/target_pools/create.py
8e3acd78a8ae36cdba093c5765105c6b9efc81bf
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
twistedpair/google-cloud-sdk
37f04872cf1ab9c9ce5ec692d2201a93679827e3
1f9b424c40a87b46656fc9f5e2e9c81895c7e614
refs/heads/master
2023-08-18T18:42:59.622485
2023-08-15T00:00:00
2023-08-15T12:14:05
116,506,777
58
24
null
2022-02-14T22:01:53
2018-01-06T18:40:35
Python
UTF-8
Python
false
false
6,524
py
# Copyright 2014 Google Inc. All Rights Reserved. """Command for creating target pools.""" from googlecloudsdk.api_lib.compute import base_classes from googlecloudsdk.api_lib.compute import utils from googlecloudsdk.calliope import exceptions as calliope_exceptions from googlecloudsdk.third_party.apis.compute.v1 impor...
[ "joe@longreen.io" ]
joe@longreen.io
0b52a7d8625cdde3d880fe9de03a47671ea10878
6e8d58340f2be5f00d55e2629052c0bbc9dcf390
/tools/data_source/microbial_import_code.py
4efa96a13a738387c857a1897e50eaa3739530c4
[ "CC-BY-2.5", "MIT" ]
permissive
JCVI-Cloud/galaxy-tools-prok
e57389750d33ac766e1658838cdb0aaf9a59c106
3c44ecaf4b2e1f2d7269eabef19cbd2e88b3a99c
refs/heads/master
2021-05-02T06:23:05.414371
2014-03-21T18:12:43
2014-03-21T18:12:43
6,092,693
0
2
NOASSERTION
2020-07-25T20:38:17
2012-10-05T15:57:38
Python
UTF-8
Python
false
false
7,420
py
def load_microbial_data( GALAXY_DATA_INDEX_DIR, sep='\t' ): # FIXME: this function is duplicated in the DynamicOptions class. It is used here only to # set data.name in exec_after_process(). microbe_info= {} orgs = {} filename = "%s/microbial_data.loc" % GALAXY_DATA_INDEX_DIR for...
[ "root@ip-10-118-137-129.ec2.internal" ]
root@ip-10-118-137-129.ec2.internal
0768b2e247703f696bc61b8a9841da4430449517
52b5773617a1b972a905de4d692540d26ff74926
/.history/cylicRot_20200714235552.py
df3ed8e6be65ea59b21b9730c1d84306bfff2615
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
# given an array rotate it k times to the right def rotate(A,K): # first I'd rotate the array once # so how do we rotate the array # we move the last element to the firs place and # the rest follow suit # moving elements to the right in an array # [3,8,9,7,6] # [6,3,8,9,7] for i in ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
46dc15bb2d04819454a71d40ffa2011043e35239
f8f70ed663ffccf61a739332697da5c97a41b9cf
/setup.py
43d9b2c1a862d1468af29616515d7b25aedf5b33
[ "MIT" ]
permissive
kanurag94/rstcheck
123116993d9d33e3efdbafe889de94b48dd2cbe8
fdf2d324bf20357fd47f7579c58fec693f71a120
refs/heads/master
2020-06-22T17:04:39.016288
2019-07-21T18:21:20
2019-07-21T18:21:20
197,751,048
0
0
MIT
2019-07-19T10:10:13
2019-07-19T10:10:13
null
UTF-8
Python
false
false
1,415
py
#!/usr/bin/env python """Installer for rstcheck.""" import ast import io import setuptools def version(): """Return version string.""" with io.open('rstcheck.py', encoding='utf-8') as input_file: for line in input_file: if line.startswith('__version__'): return ast.parse...
[ "git@stevenmyint.com" ]
git@stevenmyint.com
76243e46b0928b11c197e4e1c939786c01d8cf63
72bc1c9c8d5dd0b185fa4444ac4d6d721d097480
/cooperative/analysis/analyse_cooperative.py
0af1fa202c00721ee6ffe8d97996ea2447abf993
[]
no_license
PeppaYao/shepherding-problem
ad54e5051d193f71e6301d9d94d8f2b0a05d8b50
15e199f0fb771891bcbfb804d653b95e8c141c59
refs/heads/main
2023-05-06T01:20:05.874427
2021-05-26T01:34:17
2021-05-26T01:34:17
305,695,862
2
0
null
null
null
null
UTF-8
Python
false
false
658
py
import numpy as np import matplotlib.pyplot as plt # 合作:最远距离+驱赶 # 合作:最大角度+驱赶 fig, ax = plt.subplots() X = np.arange(40, 51) Y = np.array([1442.000, 1191.000, 1495.000, 1266.000, 1110.000, 563.000, 594.000, 545.000, 533.000, 641.000, 676.000, ]) Y2 = np.array([4001.000, 2179.000, 2610.000, 4001.000, 4001.000, 2017.000...
[ "940334249@qq.com" ]
940334249@qq.com
0693ba5058ee6afecaa80396bfe052d8f61a5d6e
242d8d05e457107bed4c539b9cbd117d2733614d
/untitled1.py
6163b8dfaa7cfea4d89ae31f5995c63a8706940c
[]
no_license
lucmilot/datastage
b4a7abd17cec360db2fc814eddf26174ab807b9b
5f06b74e87d25cee1c98394e4593200579cb18d6
refs/heads/master
2021-05-18T16:47:16.100681
2020-03-30T13:54:06
2020-03-30T13:54:06
251,323,513
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
# -*- coding: utf-8 -*- """ Created on Fri Aug 3 13:43:46 2018 @author: XT21586 """ import win32com.client as win32 pathx = "C:\\Users\\XT21586\Documents\\document\\Data Stage\\python\\build\\exe.win-amd64-3.6\\" excel = win32.gencache.EnsureDispatch('Excel.Application') outfilxls1 = pathx + "result1.xls" wb = ex...
[ "40570847+lucmilot@users.noreply.github.com" ]
40570847+lucmilot@users.noreply.github.com
9356a925249fc9974103fcf1d00723517c16e27b
5a2297cff798f4ac03255a803a25177d19235020
/ipcrawler/spiders/xiciScrapy.py
da60480513a59924f4be0effc632c0fcfe596ecc
[]
no_license
yidun55/ipcrawler
0d51184922470483f277ec4d1f40c2920f7b0bc5
7dd804bb687df57139addd63fe5e1284fea93e2d
refs/heads/master
2021-01-19T07:31:08.804177
2015-07-28T09:15:51
2015-07-28T09:15:51
39,173,638
0
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
#!usr/bin/env python #coding: utf-8 """ 从专利局官网上爬取各公司的专利信息 """ from scrapy.spider import Spider from scrapy.http import Request from scrapy import log from scrapy import Selector import sys from ipcrawler.items import * reload(sys) sys.setdefaultencoding("utf-8") class patenttest(Spider): # download_delay=20 ...
[ "heshang1203@sina.com" ]
heshang1203@sina.com
1867e8a3098592e90d6acaeabf4754755bba7650
e79888cd68177e7ec5125270cdc52f888e211e78
/kiyuna/chapter05/knock45.py
cf7d05c2a04832c8e87b16b0bf9d6c051cc71b0d
[]
no_license
cafenoctua/100knock2019
ec259bee27936bdacfe0097d42f23cc7500f0a07
88717a78c4290101a021fbe8b4f054f76c9d3fa6
refs/heads/master
2022-06-22T04:42:03.939373
2019-09-03T11:05:19
2019-09-03T11:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,036
py
''' 45. 動詞の格パターンの抽出 今回用いている文章をコーパスと見なし,日本語の述語が取りうる格を調査したい. 動詞を述語,動詞に係っている文節の助詞を格と考え,述語と格をタブ区切り形式で出力せよ. ただし,出力は以下の仕様を満たすようにせよ. - 動詞を含む文節において,最左の動詞の基本形を述語とする - 述語に係る助詞を格とする - 述語に係る助詞(文節)が複数あるときは,すべての助詞をスペース区切りで辞書順に並べる 「吾輩はここで始めて人間というものを見た」という例文(neko.txt.cabochaの8文目)を考える. この文は「始める」と「見る」の2つの動詞を含み,「始める」に係る文節は「ここで」, 「見る」に係...
[ "kyuna.prog@gmail.com" ]
kyuna.prog@gmail.com
ba5d6ca0a74e5b6778ad6e411e41aefd456ae06c
5cdbdc84b04c511a59ba649b64466d0ebe29f266
/config.py
a829585f69f893dea66b03d7e873500875699602
[]
no_license
Shatnerz/glad
a3298503231e4b8529d5b47e57b8279d67960ae7
c58d44358c81a529559fc94825f911ea4ccb0e26
refs/heads/master
2021-05-16T03:21:05.146678
2020-03-09T14:56:57
2020-03-09T14:56:57
42,134,456
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
import ConfigParser class BasicConfig(object): def __init__(self, filename): self.parser = ConfigParser.RawConfigParser() self.parser.read(filename) def get(section, option): return self.parser.get(section, option) def getBoolean(section, option): return self.parser.getbool...
[ "devnull@localhost" ]
devnull@localhost
cc63c6d723f156472557a419377fda74f8a1e977
cfb4e8721137a096a23d151f2ff27240b218c34c
/mypower/matpower_ported/lib/toggle_reserves.py
58caa28e588ddccd4c28b9ff179664528955fe48
[ "Apache-2.0" ]
permissive
suryo12/mypower
eaebe1d13f94c0b947a3c022a98bab936a23f5d3
ee79dfffc057118d25f30ef85a45370dfdbab7d5
refs/heads/master
2022-11-25T16:30:02.643830
2020-08-02T13:16:20
2020-08-02T13:16:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
def toggle_reserves(*args,nout=1,oc=None): if oc == None: from ...oc_matpower import oc_matpower oc = oc_matpower() return oc.toggle_reserves(*args,nout=nout)
[ "muhammadyasirroni@gmail.com" ]
muhammadyasirroni@gmail.com
169fc535e0b99ab762810b308d9274646618d9a1
9e2f24027e4044252639563461116a895acce039
/biosteam/units/_vent_scrubber.py
6dcb1e61a54f0310f69b12cd9ae417fef47bd40b
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "NCSA" ]
permissive
yalinli2/biosteam
5010b5d430cc746f6fa00a23805a1c1f5cac7a81
e7385ca1feac642881a357ffbc4461382549c3a4
refs/heads/master
2022-03-20T23:57:06.824292
2022-02-22T15:55:11
2022-02-22T15:55:11
190,422,353
0
0
MIT
2019-06-05T15:39:04
2019-06-05T15:39:03
null
UTF-8
Python
false
false
1,150
py
# -*- coding: utf-8 -*- # BioSTEAM: The Biorefinery Simulation and Techno-Economic Analysis Modules # Copyright (C) 2020-2021, Yoel Cortes-Pena <yoelcortes@gmail.com> # # This module is under the UIUC open-source license. See # github.com/BioSTEAMDevelopmentGroup/biosteam/blob/master/LICENSE.txt # for license details...
[ "yoelcortes@gmail.com" ]
yoelcortes@gmail.com
e576d9e8d6f40fda097536aead9d3ee9a9634d63
f7c8df084dabf0d9c5dfa6dd15322a9cd8beb587
/misc/projecteuler/p0001.py
0fe3b39646525f0cada498e9d384d8a0cfa36161
[]
no_license
sahands/problem-solving
6591464366bac635f53e0960eb5cd796bddaea8f
04d17ee2f55babcb106fdddd56a1caf7b65df2db
refs/heads/master
2021-01-02T09:15:38.686212
2014-10-23T02:26:08
2014-10-23T02:26:08
24,439,994
2
0
null
null
null
null
UTF-8
Python
false
false
299
py
def sum_of_multiples(k, n): """Returns the sum of all multiples of k less than n.""" m = (n-1) // k return k * (m * (m + 1)) / 2 if __name__ == '__main__': n = 1000 a = sum_of_multiples(3, n) b = sum_of_multiples(5, n) c = sum_of_multiples(15, n) print a + b - c
[ "sahands@gmail.com" ]
sahands@gmail.com
0baf82b9755194c97a4cad88ec01c3161a46cf5e
d1f2a0473cc773986482607a4b1ee9de85627949
/model/darknet53.py
ab670311e2203e3875bae29868dcd5078aa16dd0
[]
no_license
choodly/PaddlePaddle_yolact
fcf8273a66ce5b1a464bd30f97e77bad5362ad65
7344e6fa98b5451dfe47e725f3c6aabf85e71d10
refs/heads/master
2022-11-21T00:40:41.692806
2020-07-13T03:00:22
2020-07-13T03:00:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,460
py
#! /usr/bin/env python # coding=utf-8 # ================================================================ # # Author : miemie2013 # Created date: 2020-01-23 15:16:15 # Description : paddlepaddle_yolact++ # # ================================================================ import paddle.fluid as fluid import p...
[ "53960695+miemie2013@users.noreply.github.com" ]
53960695+miemie2013@users.noreply.github.com
fe25948466810e069367b21e9f97ea3d090e7d98
a15200778946f6f181e23373525b02b65c44ce6e
/Algoritmi/2019-07-30/all-CMS-submissions/2019-07-30.09:06:48.930075.VR437056.tree_transcode_disc.py
281a15f510d37afd02faf19c70d70113b6a9bc3c
[]
no_license
alberto-uni/portafoglioVoti_public
db518f4d4e750d25dcb61e41aa3f9ea69aaaf275
40c00ab74f641f83b23e06806bfa29c833badef9
refs/heads/master
2023-08-29T03:33:06.477640
2021-10-08T17:12:31
2021-10-08T17:12:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,986
py
""" * user: VR437056 * fname: MARTINI * lname: MICHELE * task: tree_transcode_disc * score: 50.0 * date: 2019-07-30 09:06:48.930075 """ #!/usr/bin/env python3 # -*- coding: latin-1 -*- from __future__ import print_function import sys sys.setrecursionlimit(100000) if sys.version_info < (3, 0): input = raw_input #...
[ "romeo.rizzi@univr.it" ]
romeo.rizzi@univr.it
2b500c17ffc14a5693b584a428ff89f9e8c3bd15
f5a4f340da539520c60c4bce08356c6f5c171c54
/xrpl/asyncio/clients/__init__.py
4b2ff4b3ba3d535a0b6861fb8890cb748c22e3eb
[ "ISC", "LicenseRef-scancode-unknown-license-reference" ]
permissive
yyolk/xrpl-py
e3935c0a0f488793153ca29e9d71c197cf88f857
e5bbdf458ad83e6670a4ebf3df63e17fed8b099f
refs/heads/master
2023-07-17T03:19:29.239838
2021-07-03T01:24:57
2021-07-03T01:24:57
355,299,041
1
0
ISC
2021-04-08T05:29:43
2021-04-06T18:57:06
null
UTF-8
Python
false
false
639
py
"""Asynchronous network clients for interacting with the XRPL.""" from xrpl.asyncio.clients.async_json_rpc_client import AsyncJsonRpcClient from xrpl.asyncio.clients.async_websocket_client import AsyncWebsocketClient from xrpl.asyncio.clients.client import Client from xrpl.asyncio.clients.exceptions import XRPLRequestF...
[ "noreply@github.com" ]
yyolk.noreply@github.com
83dfa312d9bd9029ca0080502186ef133d6477f5
e6bc1f55371786dad70313eb468a3ccf6000edaf
/Datasets/words-score/Correct/097.py
e9557ac613cf6b943e8bfe765d27f85eeb69ee64
[]
no_license
prateksha/Source-Code-Similarity-Measurement
9da92e3b22c372ed6ea54d8b6ab2c5921e8c41c0
fb371b837917794d260a219a1ca09c46a5b15962
refs/heads/master
2023-01-04T07:49:25.138827
2020-10-25T14:43:57
2020-10-25T14:43:57
285,744,963
3
0
null
null
null
null
UTF-8
Python
false
false
378
py
def is_vowel(letter): return letter in ['a', 'e', 'i', 'o', 'u', 'y'] def score_words(words): #print (words) score = 0 for word in words: num_vowels = 0 for letter in word: if is_vowel(letter): num_vowels += 1 if num_vowels % 2 == 0: score...
[ "pratekshau@gmail.com" ]
pratekshau@gmail.com
5861b98d046738f027e1fc06dca64339dafa8a2d
2bdff209f959d7b577494f6ac908d3700ffb9eb6
/fractals.py
d43e792a24b5f521a6fa166147c3d1007df758cf
[]
no_license
simrit1/Fractals
347ebb3867eb0fc3f99027a657197378323bb373
2d4b5ed05628f616c72eed996bf579d810b3065c
refs/heads/main
2023-03-25T16:16:18.324205
2021-03-25T12:16:11
2021-03-25T12:16:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,683
py
import pygame import sys import math import colorsys pygame.init() WIDTH = 1920 HEIGHT = 1080 l_system_text = sys.argv[1] start = int(sys.argv[2]), int(sys.argv[3]) length = int(sys.argv[4]) ratio = float(sys.argv[5]) with open(l_system_text) as f: axiom = f.readline() num_rules = int(f.readline()) rule...
[ "noreply@github.com" ]
simrit1.noreply@github.com
fb4ea243547d2893b0fc90f79afa28cdd4b3a796
961580252a30afb63cfec05debdab039741a4573
/src/truck.py
bfe44c6bdd034755d3c21a886b876f5e6a3354a0
[]
no_license
gokceozden/capraz_sevkiyat
f7fdfa5e344c5db1f094de50878c3e3099de2fd0
78c374b55c4abf087f4a89e051a361f1182b8db0
refs/heads/master
2021-01-21T05:02:46.887208
2016-06-20T14:16:12
2016-06-20T14:16:12
34,739,541
0
0
null
null
null
null
UTF-8
Python
false
false
1,253
py
from PyQt5.QtCore import * class Truck(QObject): """ General truck class with common types and functions """ def __init__(self): QObject.__init__(self) self.truck_name = None self.current_time = 0 self.function_list = [] self.times = {'arrival_time': 0} ...
[ "mparlaktuna@gmail.com" ]
mparlaktuna@gmail.com
d2b852072eab9b442cdc09671d692a18ba683652
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/third_party/blink/web_tests/external/wpt/fetch/api/resources/preflight.py
f983ef952272a75a6706d3cdfabb08aced7efc7b
[ "BSD-3-Clause", "GPL-1.0-or-later", "MIT", "LGPL-2.0-or-later", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
Python
false
false
3,394
py
def main(request, response): headers = [(b"Content-Type", b"text/plain")] stashed_data = {b'control_request_headers': b"", b'preflight': b"0", b'preflight_referrer': b""} token = None if b"token" in request.GET: token = request.GET.first(b"token") if b"origin" in request.GET: for o...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
29b46029d177011615a88307afbb80e6f4f05d35
bd3a58fac4d2547f87ca00d1faf73f6bcf781cef
/tests/test_matrix.py
89c31d7c8a777517b674b6fe1b9cbc9b86d14af2
[ "MIT" ]
permissive
Nachtfeuer/pipeline
0a41f5fef2672678dbbbe33c7ee9cbd5e21bc9d5
ee15d98f4d8f343d57dd5b84339ea41b4e2dc673
refs/heads/master
2023-01-23T10:18:47.171697
2021-07-11T09:08:38
2021-07-11T09:08:38
106,919,631
30
6
MIT
2022-12-26T20:28:07
2017-10-14T10:41:32
Python
UTF-8
Python
false
false
7,090
py
"""Testing of class Stage.""" # pylint: disable=no-self-use, invalid-name import unittest from hamcrest import assert_that, equal_to from spline.components.config import ApplicationOptions from spline.matrix import Matrix, MatrixProcessData, matrix_worker class TestMatrix(unittest.TestCase): """Testing of class ...
[ "thomas.lehmann.private@gmail.com" ]
thomas.lehmann.private@gmail.com
c03fe4e820efd8100e1a25426d3e4f808af557d2
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/cEzT2e8tLpwYnrstP_16.py
968877026dfd242524f4110a45bf84a10221c0d0
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
836
py
""" Create a function that takes: 1. A list of keys. 2. A list of values (same size). 3. `True`, if key and value should be swapped, else `False`. The function returns the constructed dict. Empty lists return an empty dict. ### Examples swap_d([1, 2, 3], ["one", "two", "three"], False) ➞ { 1: "one"...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
42e1f9b04e2ca7c82ba069ee31d79bfc45840003
d15bdaddab59d1cfea76790004cbad3e5f0c2c55
/batkin/build_isolated/joy/catkin_generated/pkg.develspace.context.pc.py
049bfc6580751b52bcf56b4d0bc9f765466f9dcc
[]
no_license
gychen-n/robot
4265a1ff469d22550b6b537d1c81aa846ee7641a
0663a33aea2c2de9e3ac5863307619091e5b5959
refs/heads/main
2023-04-10T13:32:06.623682
2021-04-16T00:41:04
2021-04-16T00:41:04
358,431,232
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;diagnostic_updater;sensor_msgs".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "...
[ "gyc@autolabor-host.autolabor-domain" ]
gyc@autolabor-host.autolabor-domain
fb5bf4f07951d84bf342ddda620e4f8ab7c0a109
f65c78a69fbf9acb39f5b55a77565c491accccd1
/libs/common/bitcoin/script.py
5e4daafb10d6b6d794552c76082a923f8d133d76
[ "MIT" ]
permissive
Kevingislason/abacus_wallet
8ac5b9f5edc33cba3812f98e0040729e8be6bd98
3c0f2d5134a6fa59fc1fd15fcad65690352a46bf
refs/heads/main
2023-03-21T23:24:16.012416
2021-03-15T02:56:11
2021-03-15T02:56:11
334,851,360
0
0
null
null
null
null
UTF-8
Python
false
false
4,916
py
from .networks import NETWORKS from . import base58 from . import bech32 from . import hashes from . import compact import io SIGHASH_ALL = 1 class Script: def __init__(self, data: bytes): self.data = data[:] def address(self, network=NETWORKS["main"]) -> str: script_type = self.script_type(...
[ "snigirev.stepan@gmail.com" ]
snigirev.stepan@gmail.com
1ce44c79b815d8df6680a3212721e78e49837ae6
138c1b7a726386b6e9bafb9fcd42c7e62d9fe49e
/ScrapyProjects/DynamicSpider/DynamicSpider/spiders/guazi.py
b662668c881943737dbbd1a9bd8a5ed621eb1462
[]
no_license
zhujixiang1997/1805_spider
951bf6e5d411c0b24b33adf788c9d8a5770f244b
5cd617e5e3263d13854e19c16a1659017a8ed409
refs/heads/master
2022-12-11T01:10:54.232536
2019-07-09T10:28:30
2019-07-09T10:28:30
163,835,828
0
0
null
null
null
null
UTF-8
Python
false
false
3,575
py
# -*- coding: utf-8 -*- import scrapy from ScrapyProjects.DynamicSpider.DynamicSpider.items import GuaziCarItem from ScrapyProjects.DynamicSpider.DynamicSpider.utils.bshead import create_bs_driver ''' 爬取瓜子二手车直卖网武汉二手车 分析:采用scrapy shrll爬取页面,分析页面后,发现获取不到数据,引入selenium 方案:scrapy + selenium ''' class GuaziSpider(scrapy.Sp...
[ "1164355115@qq.com" ]
1164355115@qq.com
32d15c69d2a035c6bbc6bbe67bbb271dd540c1f0
731230c336bf27af8ca91f15c33435920a5c3af4
/virtual/bin/wheel
599ecec06807b1ead412bf660847330f6744e209
[ "MIT" ]
permissive
Brayonski/personal-blog
c627adbddf66271594f07e7bd3e3b2069c9aff08
ab0cb6590b570ed75a475a52eae9bafadc647665
refs/heads/master
2020-03-28T17:34:10.867299
2018-09-17T13:10:12
2018-09-17T13:10:12
148,802,537
0
0
null
2018-10-11T13:39:58
2018-09-14T14:48:33
Python
UTF-8
Python
false
false
281
#!/media/root/Alpha/projects/MS-Python-Pre-work/flask/personal-blog/virtual/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())
[ "root@localhost.localdomain" ]
root@localhost.localdomain
3210b53b1f11a7512ae651e9a24340fa8190d8c2
cfd9fa1af735ac3572954704a47e35543850b244
/lantern.py
6811ad214abe5ef2f1a2dfe9f75e48022f4f9798
[]
no_license
xingyueGK/hjsg
c1844ea8161d254f6d6cf70f42d1ac849e117438
be0c4c457bdfaa9178f25f9f722dc78d88f24540
refs/heads/master
2022-12-12T08:28:55.823357
2020-12-05T12:02:06
2020-12-05T12:02:06
147,184,573
0
1
null
2022-01-06T22:26:48
2018-09-03T09:47:04
HTML
UTF-8
Python
false
false
6,224
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/2/19 15:08 # @Author : xingyue # @File : lantern.py from task.base import SaoDangFb import threading import os, time import redis pool = redis.ConnectionPool(host='localhost', port=6379, db=0) _redis = redis.StrictRedis(connection_pool=pool) lock = ...
[ "a413728161@vip.qq.com" ]
a413728161@vip.qq.com
068b41a94bea56acb225e23b723347f3b9e3b552
8fc9520d7224e6179f63f19e668b4b3b6a7d76c5
/apps/networks/libraries/flickr/tools.py
983d95c4458171972fa5c25ad14ae1aa7f71d267
[]
no_license
quantm/custom_django_oscar
352ef2fd95e7da932958d4aa80d77dff5b6c1e70
9205807030ab360884283810e94177440c228a23
refs/heads/master
2016-08-09T12:23:39.413677
2016-02-08T22:16:53
2016-02-08T22:16:53
51,326,524
1
0
null
null
null
null
UTF-8
Python
false
false
2,084
py
from method_call import call_api import sys import os def load_methods(): """ Loads the list of all methods """ r = call_api(method="flickr.reflection.getMethods") return r["methods"]["method"] __perms__ = {0: 'none', '1': 'read', '2': 'write', '3': 'delete'} def methods_info...
[ "012kinglight@gmail.com" ]
012kinglight@gmail.com
af55ae8008e31b19d12765e34394ed945e13896b
f672f2c2b35d388526217278f3c301d4372abb4b
/cartoview/app_manager/migrations/0001_initial.py
31b23a5245af1452dea592580640ac9fb684c4cb
[ "BSD-2-Clause" ]
permissive
Msalah593/cartoview_2
cce51db13f3e69e99a4915770627942d21a998a8
dc57cc22cdc4563ff76448b939c09c370590114f
refs/heads/master
2020-05-05T12:29:26.333491
2019-04-22T08:52:52
2019-04-22T08:52:52
180,030,874
0
0
null
2019-04-07T22:22:08
2019-04-07T22:22:08
null
UTF-8
Python
false
false
1,764
py
# Generated by Django 2.2 on 2019-04-18 14:17 import django.contrib.postgres.fields.jsonb from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='App', fields=[ ...
[ "hisham.karam@cartologic.com" ]
hisham.karam@cartologic.com
b51f457a805186eaa93adc2cc94cb037a560f42a
9dba277eeb0d5e9d2ac75e2e17ab5b5eda100612
/exercises/1901040058/1001S02E05_array.py.py
9b79494c7bd80613fe0fbe7ad3d6749416df796a
[]
no_license
shen-huang/selfteaching-python-camp
e8410bfc06eca24ee2866c5d890fd063e9d4be89
459f90c9f09bd3a3df9e776fc64dfd64ac65f976
refs/heads/master
2022-05-02T05:39:08.932008
2022-03-17T07:56:30
2022-03-17T07:56:30
201,287,222
9
6
null
2019-08-08T15:34:26
2019-08-08T15:34:25
null
UTF-8
Python
false
false
319
py
array=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9] array.reverse() print(array) str1=''.join('%s'%id for id in array) print(str1) str2=str1[2:8] print(str2) str3=str2[::-1] print(str3) int1=int(str3) print(int1) int2="{0:b}".format(int1) print(int2) int3="{0:o}".format(int1) print(int3) int4="{0:x}".format(int1) print(int4)
[ "40155646+seven-tears@users.noreply.github.com" ]
40155646+seven-tears@users.noreply.github.com
1fe2794cabf63d91afdf446afb6eda5ac5eac6e6
e305ea0e2b84b1cbb138e4443d13c915d7f467cd
/面试题58 - I翻转单词顺序.py
063790615dc5a9a89d3f8b2617ae65f2da976cfb
[]
no_license
JoanWu5/jianzhi-offer
770d7fd903779e3e530386705a9a513224a05539
580287d9bcf288d374b64b5a87c9921733a7a4f9
refs/heads/master
2022-10-11T10:36:51.837879
2020-06-06T08:59:16
2020-06-06T08:59:16
268,311,599
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
class Solution(object): def reverseWords(self, s): """ :type s: str :rtype: str """ # s = s.strip().split() # result = [] # for i in range(len(s)-1,-1,-1): # if s[i] != ' ': # result.append(s[i]) # return ' '.join(result) ...
[ "394104840@qq.com" ]
394104840@qq.com
6c7782966748458a5b72ad96b769db9cf5d70920
c9fcf2ff1acd16a423c47617145cde00cc1936aa
/tests/unit/api/test_task.py
eb114f77afdfcf11338986fe6f0b9774b96cf0bd
[ "MIT" ]
permissive
JonathanAlcantara/fastlane
766dd6701fcf172b6d7bb38983e19bd596cbf0d7
dd923f0769281e94da98c4de39c57e3d447aeea3
refs/heads/master
2020-04-28T19:33:45.310622
2019-03-12T20:46:42
2019-03-12T20:46:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,027
py
# Standard Library from json import loads from uuid import uuid4 # 3rd Party import pytest from preggy import expect # Fastlane from fastlane.models.task import Task def test_get_tasks(client): """Test getting tasks""" Task.create_task("my-task-1") Task.create_task("my-task-2") Task.create_task("my-...
[ "heynemann@gmail.com" ]
heynemann@gmail.com
e2bcdd2563f558acd6fe945a5fb664ab81c64eea
127e99fbdc4e04f90c0afc6f4d076cc3d7fdce06
/2021_하반기 코테연습/boj22858.py
655bd7eab90f926e09c88916a4e2769f02d0f280
[]
no_license
holim0/Algo_Study
54a6f10239368c6cf230b9f1273fe42caa97401c
ce734dcde091fa7f29b66dd3fb86d7a6109e8d9c
refs/heads/master
2023-08-25T14:07:56.420288
2021-10-25T12:28:23
2021-10-25T12:28:23
276,076,057
3
1
null
null
null
null
UTF-8
Python
false
false
333
py
from collections import defaultdict n, k = map(int, input().split()) answer = [] after_k = list(map(int, input().split())) d = list(map(int, input().split())) for _ in range(k): tmp = [0] *n for i in range(n): tmp[d[i]-1] = after_k[i] after_k = tmp for i in range(n): print(after_k[i...
[ "holim1226@gmail.com" ]
holim1226@gmail.com
251820f0a584d8815135b3db62e5b44d48b87e58
4b5ee91dabf402522685cea452ba51c10dbb834e
/server/scrolls/migrations/0019_auto_20180608_1241.py
0e839793ab7e8a2ddbc96b05321e94c0dee0d579
[]
no_license
unscrollinc/unscroll
8fb175d6cf9c2f91bdfc7a97a8da71beca7e702d
88168af51abf8a0bfa06dcc22bd0ec11b671d989
refs/heads/master
2023-01-10T03:15:17.737493
2021-01-28T20:57:57
2021-01-28T20:57:57
196,251,483
7
0
null
2023-01-09T22:06:57
2019-07-10T17:52:37
JavaScript
UTF-8
Python
false
false
381
py
# Generated by Django 2.0.4 on 2018-06-08 12:41 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('scrolls', '0018_auto_20180608_0404'), ] operations = [ migrations.AlterUniqueTogether( name='event', unique_together={('by_u...
[ "ford@ftrain.com" ]
ford@ftrain.com
e13b598b3ab59e0ff74d9435e43e41c82855e572
5a4ab9ea5e3060bf7744853c0fa261af527876d6
/day03/orm_demo1/boo/migrations/0002_article.py
1d15706a8dcc361abb33ea0a575a577eafed267c
[]
no_license
gaohj/jxlg_0304
3cabe3bc56d6a3e0a97f25bc1b684da27e0a0b96
9e34dba2abcb752fff692b2c25adb3defd098a87
refs/heads/master
2020-06-02T23:34:02.489012
2019-06-28T08:58:56
2019-06-28T08:58:56
191,345,040
3
4
null
null
null
null
UTF-8
Python
false
false
700
py
# Generated by Django 2.0 on 2019-06-14 07:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('boo', '0001_initial'), ] operations = [ migrations.CreateModel( name='Article', fields=[ ('id', models...
[ "gaohj@126.com" ]
gaohj@126.com
606d8cfb72f406daa19f033514b6c0387ef8ccc6
4542db1d4955aaf7c53c9ff7282d064a066ff393
/2020/December/20-Dec/command line argument,exception handling.py
763d53a7e21443113b29d545b869e123aa5501e4
[]
no_license
mohanbabu2706/100
7227527b0e0af1e4f69d194b7537c7aef27a810d
3c5a8b769fd4205afb3e3fd7e9cbf2ebf053b7b9
refs/heads/master
2023-02-20T09:56:45.970290
2021-01-20T10:09:09
2021-01-20T10:09:09
297,233,598
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
#This program adds up integers that have been passed as arguments in the command line import sys try: total = sum(int(arg)for arg in sys.argv[1:]) print('sum = ',total) expect ValueError: print('Please supply integer arguments')
[ "noreply@github.com" ]
mohanbabu2706.noreply@github.com
4152263ec153a74dbe4b9a6e39b6c9bc8a66e341
9307c025d1611a9fd21b34543643a46a03a3d3a4
/orcamentos/core/management/commands/create_admin.py
220674e01324f0d30c05556b6c13f8580aa167ad
[ "MIT" ]
permissive
projetosparalelos/orcamentos
74892ae46bfd86a4e8196fa3feb15cb55692ef03
af88f5a2b5d73f7ea6cf416d871714a0ebcdf252
refs/heads/master
2020-04-27T12:41:59.811244
2019-01-17T04:31:28
2019-01-17T04:31:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
886
py
from django.core.management.base import BaseCommand from django.contrib.auth.models import User from orcamentos.crm.models import Employee class Command(BaseCommand): help = ''' Cria um usuário admin. ''' def handle(self, *args, **kwargs): ''' Cria um Employee. Precisamos de Employee ...
[ "rg3915@yahoo.com.br" ]
rg3915@yahoo.com.br
7d366690a2e18aece41ce666bb4da73a35298049
93713f46f16f1e29b725f263da164fed24ebf8a8
/Library/lib/python3.7/site-packages/sympy/stats/stochastic_process.py
ad68ef5ac3b84750463e3b0a29e5a5de45eaf751
[ "BSD-3-Clause" ]
permissive
holzschu/Carnets
b83d15136d25db640cea023abb5c280b26a9620e
1ad7ec05fb1e3676ac879585296c513c3ee50ef9
refs/heads/master
2023-02-20T12:05:14.980685
2023-02-13T15:59:23
2023-02-13T15:59:23
167,671,526
541
36
BSD-3-Clause
2022-11-29T03:08:22
2019-01-26T09:26:46
Python
UTF-8
Python
false
false
2,228
py
from __future__ import print_function, division from sympy import Basic from sympy.stats.joint_rv import ProductPSpace from sympy.stats.rv import ProductDomain, _symbol_converter class StochasticPSpace(ProductPSpace): """ Represents probability space of stochastic processes and their random variables. Co...
[ "nicolas.holzschuch@inria.fr" ]
nicolas.holzschuch@inria.fr
054d37c07f6a302bf45d9cc67212e2cd1df7291a
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/Autodesk/Revit/DB/Structure/__init___parts/DistributionType.py
d38e3a744760d77f5c4751c442f58658e92cb577
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
912
py
class DistributionType(Enum,IComparable,IFormattable,IConvertible): """ The type of the distribution enum DistributionType,values: Uniform (0),VaryingLength (1) """ def __eq__(self,*args): """ x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y """ pass def __format__(self,*args): """ __form...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
5c43f2e8a875e9f1939b98e2c16527d7a369d9b7
7e40c8bb28c2cee8e023751557b90ef7ef518326
/level2/level2.py
6b6d4cb94b858331308d54c42e681b7377f549a3
[]
no_license
1337536723/buuctf_pwn
b6e5d65372ed0638a722faef1775026a89321fa3
cca3c4151a50c7d7c3237dab2c5a283dbcf6fccf
refs/heads/master
2023-08-29T19:35:04.352530
2021-11-16T14:06:20
2021-11-16T14:06:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
from pwn import * bin_addr = 0x0804a024 #p = process('./level2') p = remote('node3.buuoj.cn', 26359) elf = ELF('level2') sys_addr = elf.plt['system'] p.recvuntil('Input:') payload = b'a' * ( 0x88 + 4 ) + p32(sys_addr) + p32(0x123) + p32(bin_addr) p.sendline(payload) p.interactive()
[ "admin@srmxy.cn" ]
admin@srmxy.cn
c85b43f04745e322592dcd18a3f52120461d5379
95a534d8e0a3d29ae5224e7135f1961a14f2674d
/app/one_to_one/models.py
45135b5ad8e389f9ac61ad03a44a9a63a3899105
[]
no_license
mongkyo/prac-document
7a96bfed1d62411dcf231376898f73b94bdb969f
65a5331130feb3a0e135255c82ea8d2ba23d4ecc
refs/heads/master
2020-03-31T08:06:43.134379
2018-10-11T17:40:42
2018-10-11T17:40:42
152,046,166
0
0
null
null
null
null
UTF-8
Python
false
false
878
py
from django.db import models class Place(models.Model): name = models.CharField(max_length=50) address = models.CharField(max_length=80) def __str__(self): return f'{self.name} the place' class Restaurant(models.Model): place = models.OneToOneField( Place, on_delete=models.C...
[ "dreamong91@gmail.com" ]
dreamong91@gmail.com
64e08a3ae92f72b778581622471ad547fefae6dd
b284097fb7eda14307defe2dd19fe290a366a8b3
/addons-vauxoo/invoice_cancel_iva/model/invoice.py
b868901d2963f3be0082d600541caff1c9bfe1db
[]
no_license
OpenBusinessSolutions/odoo-fondeur-server
41420069e77b2faaf12c396e5d3d2a2c165a8ae2
9c588e45011a87ec8d9af73535c4c56485be92f7
refs/heads/master
2021-01-01T05:45:29.736682
2016-04-19T15:21:58
2016-04-19T15:21:58
56,607,743
1
1
null
null
null
null
UTF-8
Python
false
false
4,060
py
# coding: utf-8 ########################################################################### # Module Writen to OpenERP, Open Source Management Solution # Copyright (C) OpenERP Venezuela (<http://openerp.com.ve>). # All Rights Reserved # Credits###################################################### # Coded b...
[ "tecnologia@obsdr.com" ]
tecnologia@obsdr.com
27dcc1afb9eef48f0b54eae6b5613fe0829275e1
c3e10c7174f78a8ac2dc0823a1fcfa4c80afc67b
/1elinearsearch.py
2cca16f64fbbb233b2f111ac68456068d9554835
[]
no_license
PreritBhandari/python-programs-III
3460c63e56ce6383d71ec594274c4b3edf984117
eea3fbecae59b410971e11ff3a50504752cb60da
refs/heads/master
2022-11-19T09:20:11.332556
2020-07-19T03:56:44
2020-07-19T03:56:44
280,787,593
1
0
null
null
null
null
UTF-8
Python
false
false
242
py
# e) linear search def LinearSearch(lys, element): for i in range(len(lys)): if lys[i] == element: return i return False if __name__ == "__main__": print(LinearSearch([1, 2, 3, 4, 5, 2, 1], 2))
[ "patrioticprerit@gmail.com" ]
patrioticprerit@gmail.com
42394a236222b49e0c60dc927584f9b29b99139a
f68d246ea82f980706bfa574da91d99797c29b38
/activeCode/heap.py
4d0a8944d04ab21537ff135bbd68862108086e79
[]
no_license
nicolas4d/Problem-Solving-with-Algorithms-and-Data-Structures-using-Python
40684370ab0c8a22894aa58c0479da6697ea0a13
5c7595cab3c5501e4b4177b700708a2609c74e30
refs/heads/master
2020-12-02T13:43:49.547926
2020-02-01T14:19:08
2020-02-01T14:19:08
231,025,645
1
0
null
null
null
null
UTF-8
Python
false
false
184
py
from pythonds.trees import BinHeap bh = BinHeap() bh.insert(5) bh.insert(7) bh.insert(3) bh.insert(11) print(bh.delMin()) print(bh.delMin()) print(bh.delMin()) print(bh.delMin())
[ "nicolas4d@foxmail.com" ]
nicolas4d@foxmail.com
066227fc4417ba0fff2fa3345443eb2815dab4c4
b23d294fdffabe72c336644f119860f5ce704eef
/python_1000phone/预科/day2-PIL/04-文字和颜色块.py
fa76439697eb6e145f5254e5ba57f3ea695b190c
[]
no_license
ikaros274556330/my_code
65232758fd20820e9f4fa8cb5a6c91a1969862a2
92db21c4abcbd88b7bd77e78d9f660b4534b5071
refs/heads/master
2020-11-26T09:43:58.200990
2019-12-23T02:08:39
2019-12-23T02:08:39
229,032,315
1
0
null
null
null
null
UTF-8
Python
false
false
766
py
"""__author:吴佩隆""" from PIL import Image,ImageFont,ImageDraw # 1.文字水印 - 将文字渲染在图片上 # 准备图片 image1 = Image.open('./files/chiling.jpg') # 准备文字 # 1)创建字体对象 # ImageFont.truetype(字体文件的路径,字体大小) font1 = ImageFont.truetype('files/bb.ttf',80) # 2)创建draw对象 # draw = ImageDraw.Draw(image1) draw = ImageDraw.Draw(image1) # 3)写 # d...
[ "274556330@qq.com" ]
274556330@qq.com
524ed7e94503183a799d610122964444c9b38b8e
304033f60097c489cbc60aab639be45ccdbef1a5
/algorithms/inflearn/section2/7.py
6e47b9bfce07d3c94cfb462166a5a879c41312ce
[]
no_license
pgw928/TIL
3d0c47c07bd1f5c73826daf8579a2b0e3f93cb95
765906f1e6eecad4ad8ec9bf704041433d7eb304
refs/heads/master
2023-06-29T05:46:30.039815
2021-08-10T17:38:11
2021-08-10T17:38:11
288,923,095
3
0
null
null
null
null
UTF-8
Python
false
false
226
py
import sys sys.stdin = open('section2/input.txt', 'rt') n = int(input()) nums = [True]*(n+1) nums[0], nums[1] = False, False for i in range(2, n//2+1): for j in range(2*i, n+1, i): nums[j] = False print(sum(nums))
[ "pku928@naver.com" ]
pku928@naver.com
99971c0b16dacf336e6bb8cfec3810444af31ef1
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2882/39190/304719.py
48b5449910760181ac3be5702cc6fd925bd7e81f
[]
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
690
py
def func3(arr): arr.reverse() rra=arr arr.reverse() peak=max(arr) if arr.index(peak)>0: for i in range(arr.index(peak)-1): if int(arr[i])>=int(arr[i+1]): return False if arr.index(peak)<len(arr)-rra.index(peak)-1: for i in range(arr.index(peak),len(arr...
[ "1069583789@qq.com" ]
1069583789@qq.com
9683287354e0075e12fd77dad8cf739231fb23f6
0ac4831465d0273effd087c75484474985fd1106
/link_rec/forms.py
ae67ff1282aa8f0d1c546ad426aa3d76d792747d
[]
no_license
duggalr2/linkedin_recommend
af2a040b69cca4f190b8fe064f8048c0b412483c
d535df1643f2a37b8473962f496d83464aa839f3
refs/heads/master
2020-12-02T22:39:51.501151
2017-12-05T16:19:58
2017-12-05T16:19:58
96,162,172
7
2
null
null
null
null
UTF-8
Python
false
false
5,627
py
from django import forms from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from django.forms import formset_factory, ModelForm INDUSTRY_CHOICES = ( ('software', 'Software'), ('engineering', 'Engineering, excluding Software'), ('research', 'Research'), (...
[ "ibrahul24@gmail.com" ]
ibrahul24@gmail.com
b40e44faa5e369870bc288871dc9c304d99d2c3e
34474048ec5c4850623cf0fea993b43de76fada4
/Tests/unittest/code_gen/tac_o1/mix_global_local_nested_int_char_array.tac
3af956749d4f00960c094f9db45c8c0e838c9ba5
[]
no_license
imsure/C--
69a80e152936e31b14319ab16c2317d2cacc9165
9991e7135d6ebc8f6f08f46f37b82bfe353ec17f
refs/heads/master
2021-01-13T02:04:07.295401
2015-05-01T01:26:07
2015-05-01T01:26:07
30,732,455
0
0
null
null
null
null
UTF-8
Python
false
false
1,027
tac
main: Enter main 108 _taddr0 = x + 0 *_taddr0(int) = 0 _taddr1 = y + 0 *_taddr1(char) = 1 _taddr2 = x + 4 *_taddr2(int) = 1 _taddr3 = y + 1 *_taddr3(char) = 2 _taddr4 = x + 8 *_taddr4(int) = 2 _taddr5 = y + 2 *_taddr5(char) = 3 _taddr6 = x + 12 *_taddr6(int) = 3 _taddr7 = y + 3 *_taddr...
[ "imsure95@gmail.com" ]
imsure95@gmail.com
d5848a9e5ad00752733438c6be9f15f855ff05c2
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_pointer.py
5ac88a0ce708e9c89cc7b196e8ef77770aec8498
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
#calss header class _POINTER(): def __init__(self,): self.name = "POINTER" self.definitions = [u'something that is used for pointing at things, such as a long, thin stick that you hold to direct attention to a place on a map or words on a board, or a cursor', u'a helpful piece of advice or information: ', u'som...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f5aa2f0a35d71460c6b936f9fe19313a0a13913b
1a3234c1deeb8987fb4c5b424e6485ddd10c8ace
/estagios/core/form.py
021338a4415b61c90edc91e57e34b3d1b2660f03
[]
no_license
orlandosaraivajr/estagio
0c46b16fccf52861f68431a88032ba0fdc46bf66
439b797406c82673e9972eee373d60f844679a9c
refs/heads/master
2022-05-14T14:15:53.109355
2020-04-03T05:58:13
2020-04-03T05:58:13
189,227,824
0
0
null
2022-04-22T21:20:07
2019-05-29T13:09:14
CSS
UTF-8
Python
false
false
1,632
py
from django import forms from django.forms import ModelForm from estagios.core.models import User class LoginForm(ModelForm): class Meta: model = User fields = ['email', 'password'] labels = { 'email': 'E-mail', 'password': 'Senha' } widgets = { ...
[ "orlandosaraivajr@gmail.com" ]
orlandosaraivajr@gmail.com
2599ba25172f8c4d5bf9dfd7c2d42ef2a622b096
48a522b031d45193985ba71e313e8560d9b191f1
/baekjoon/python/10406.py
14779fe2b517e02188eedca6e18f8062aa9d26ff
[]
no_license
dydwnsekd/coding_test
beabda0d0aeec3256e513e9e0d23b43debff7fb3
4b2b4878408558239bae7146bb4f37888cd5b556
refs/heads/master
2023-09-04T12:37:03.540461
2023-09-03T15:58:33
2023-09-03T15:58:33
162,253,096
4
1
null
null
null
null
UTF-8
Python
false
false
213
py
import sys count = 0 w, n, p = map(int, sys.stdin.readline().split()) punch_list = list(map(int, sys.stdin.readline().split())) for punch in punch_list: if w <= punch <= n: count += 1 print(count)
[ "dydwnsekd123@gmail.com" ]
dydwnsekd123@gmail.com
13ff38fd624a28f8e31a89d15df14a35ccd208fa
9ecf55bf2601e0d4f74e71f4903d2fd9e0871fd6
/my_seg_tf/v4_128_128/model/unet.py
ba7e761f74f601823dd64cf81e8c08124d5f3053
[]
no_license
qq191513/mySeg
02bc9803cde43907fc5d96dc6a6a6371f2bef6fe
4337e6a0ca50b8ccbf6ed9b6254f2aec814b24db
refs/heads/master
2020-04-10T09:57:37.811133
2019-06-26T08:21:23
2019-06-26T08:21:23
160,951,962
1
0
null
null
null
null
UTF-8
Python
false
false
5,033
py
import os import tensorflow as tf import sys sys.path.append('../') import config as cfg lr_init = cfg.lr_init class Unet(object): def __init__(self, sess, config, is_train): self.sess = sess self.name = 'Unet' self.mask = config.mask self.ckpt_dir = config.ckpt_dir self.is...
[ "1915138054@qq.com" ]
1915138054@qq.com
d369fd4de101726338d35665b676a132ab6c4567
32cb0be487895629ad1184ea25e0076a43abba0a
/LifePictorial/top/api/rest/CrmShopvipCancelRequest.py
c82fb8fafe43c8edd71af72a729843b38b0af2af
[]
no_license
poorevil/LifePictorial
6814e447ec93ee6c4d5b0f1737335601899a6a56
b3cac4aa7bb5166608f4c56e5564b33249f5abef
refs/heads/master
2021-01-25T08:48:21.918663
2014-03-19T08:55:47
2014-03-19T08:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
''' Created by auto_sdk on 2014-02-10 16:59:30 ''' from top.api.base import RestApi class CrmShopvipCancelRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) def getapiname(self): return 'taobao.crm.shopvip.cancel'
[ "poorevil@gmail.com" ]
poorevil@gmail.com
f4139ba7b59e752ce0180da1c48a07365de98486
c839961aeab22795200d9edef9ba043fe42eeb9c
/data/script1014.py
dabede7bc768ce46066e92849eee030bf819e85c
[]
no_license
StevenLOL/kaggleScape
ad2bb1e2ed31794f1ae3c4310713ead1482ffd52
18bede8420ab8d2e4e7c1eaf6f63280e20cccb97
refs/heads/master
2020-03-17T05:12:13.459603
2018-05-02T19:35:55
2018-05-02T19:35:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,147
py
# coding: utf-8 # In[ ]: # Inspiration 1: https://www.kaggle.com/tunguz/logistic-regression-with-words-and-char-n-grams/code # Inspiration 2: https://www.kaggle.com/jhoward/nb-svm-strong-linear-baseline import pandas as pd import numpy as np from sklearn.linear_model import LogisticRegression from sklearn.feature_...
[ "adithyagirish@berkeley.edu" ]
adithyagirish@berkeley.edu
1aa72e7f053db9d44e6084691888488c1d1da4e8
b1baabe0f34a5595af3f9587b357155590f76569
/switcher
44806892454dc8ccc7239c8c9d4a227f32075524
[]
no_license
anson-tang/3dkserver
cb41269801ec97d747bb7b853841c7ad4921ad94
4fec66a0e1c8454252f53bc9ba41ce220357f7e4
refs/heads/master
2021-01-19T05:27:11.555032
2016-06-22T01:13:04
2016-06-22T01:13:04
60,994,700
0
2
null
null
null
null
UTF-8
Python
false
false
3,350
#!/usr/bin/env python #-*-coding: utf-8-*- import sys, os from os.path import abspath, dirname, join, normpath PREFIX = normpath( dirname( abspath( __file__ ) ) ) lib_path = normpath( join( PREFIX, 'lib' ) ) if lib_path not in sys.path: sys.path = [ lib_path ] + sys.path from twisted.internet import reactor, defer f...
[ "123@qq.com" ]
123@qq.com
5aec16750f6f86a0cdcfca7f3b20d9375929d277
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/TsRjbMRoNCM3GHuDk_9.py
7ca02c3b7d778338936732065ba5053888817fc2
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,568
py
""" The syllabic structure of Persian language is CV(C)(C). C stands for consonants and V stands for Vowels. The CV(C)(C) means that there are three types of syllables in Persian: * CV * CVC * CVCC Write a function that takes the phonetic transcription of a Persian word as an argument and returns the syllabi...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
0c1509e1816728cd8c2678be1b3f957b1ad9cc38
75e951dcf749f62f2a292774968fe95fc4a353c8
/boa3/model/operation/unaryop.py
8d001b89427dfa1ef705bb7c35ec6be1e5ab8fb7
[ "Apache-2.0" ]
permissive
jplippi/neo3-boa
e0a199d1ed2fa39abe09ebd3c013c360ca87f544
052be4adebb665113715bb80067d954f7ad85ad5
refs/heads/development
2022-08-19T10:17:43.610854
2020-05-25T20:30:42
2020-05-25T20:30:42
265,959,419
0
0
Apache-2.0
2020-05-25T20:39:59
2020-05-21T21:54:24
Python
UTF-8
Python
false
false
2,046
py
from typing import Optional from boa3.model.operation.operator import Operator from boa3.model.operation.unary.booleannot import BooleanNot from boa3.model.operation.unary.negative import Negative from boa3.model.operation.unary.positive import Positive from boa3.model.operation.unary.unaryoperation import UnaryOperat...
[ "mirellamedeiros.09@hotmail.com" ]
mirellamedeiros.09@hotmail.com
030b4c362a080ed3fefaefec7c4a04c2570a0144
8f7b7a910520ba49a2e614da72f7b6297f617409
/Problemset/isomorphic-strings/isomorphic-strings.py
bfd41976cf490a5bac150110e345392d060325ff
[]
no_license
fank-cd/python_leetcode
69c4466e9e202e48502252439b4cc318712043a2
61f07d7c7e76a1eada21eb3e6a1a177af3d56948
refs/heads/master
2021-06-16T23:41:55.591095
2021-03-04T08:31:47
2021-03-04T08:31:47
173,226,640
1
0
null
null
null
null
UTF-8
Python
false
false
511
py
# @Title: 同构字符串 (Isomorphic Strings) # @Author: 2464512446@qq.com # @Date: 2020-12-28 16:12:46 # @Runtime: 48 ms # @Memory: 17.1 MB class Solution: def isIsomorphic(self, s: str, t: str) -> bool: d1,d2 = defaultdict(list), defaultdict(list) for index,i in enumerate(s): d1[i].append(ind...
[ "2464512446@qq.com" ]
2464512446@qq.com
0f61974c5e834f3cba8ffe47ed15b4b1a1f3aba8
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_127/118.py
d4733f2f4831c105eb5335bfcd752027eea7d78a
[]
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
1,118
py
import math def get_number_of_test_case(): return int(raw_input().strip()) def ans(x, y, n): if n == 1: if abs(x) + abs(y) != 1: return False elif x == 1: return 'E' elif x == -1: return 'W' elif y == 1: return 'N' elif y ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
d6d823f39170c014d0a11739f5a3ab7b90f9178c
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/224/users/4347/codes/1793_1595.py
05495cd7b509876291eb94882aeab29cc3d2410f
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
166
py
from numpy import* n=array(eval(input("nota dos alunos"))) h=0 t=0 while(size(n)>h): t=t+n[h] h=h+1 t=t-min(n) y=size(n) y=y-1 t=t/y print(round(t,2))
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
ba8ea0976052895c62f71ec036fb295afc85a666
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/model_control/detailed/transf_BoxCox/model_control_one_enabled_BoxCox_LinearTrend_Seasonal_Minute_AR.py
8af17b88b486c656cac6b7a11b9ebc140c4f4ea5
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
161
py
import pyaf.tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['BoxCox'] , ['LinearTrend'] , ['Seasonal_Minute'] , ['AR'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
557c6f588642ff8207591f649b68e0f4d5928909
dfc991b4163bca9192985bc6daa12168283ffac8
/test/aqua/operators/__init__.py
7909fc6dac6c123e255fc08303846d478c8de9e3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Unathi-Skosana/qiskit-aqua
feb8231a1719a0e73aaae0f29df0246b3dc9419c
e13f66eda6d8b819a6f132319a2bac819941f6b1
refs/heads/master
2020-11-24T15:39:29.645914
2020-08-07T22:36:23
2020-08-07T22:36:23
255,790,533
2
0
Apache-2.0
2020-04-15T03:06:06
2020-04-15T03:06:06
null
UTF-8
Python
false
false
508
py
# -*- coding: utf-8 -*- # This code is part of Qiskit. # # (C) Copyright IBM 2018, 2019. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any...
[ "manoel@us.ibm.com" ]
manoel@us.ibm.com
72391153bf1b5a4b9500125fb9c2eab3123cfda6
bd7e89c8e55a106af3dab4cf036309ec8a3e05e2
/Onsite/Week1/stick_of_truth_1.py
c50e9491405a6de5ff35dd5cf1ee6b39d36a44b4
[]
no_license
wiput1999/PrePro60-Python
758ec60addaa61ff27ea9bc46474eaf244f5ab58
d26dcadcd71896589f992a69cbff711ec0576f59
refs/heads/master
2021-09-15T19:52:10.899257
2018-06-09T12:52:42
2018-06-09T12:52:42
89,356,578
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
""" [Stick of Truth - 1] Time Converter """ def main(): """ Convert time """ # Parallel Hour para_hr = int(input()) # Parallel Minute para_min = int(input()) # Parallel Second para_sec = int(input()) pre_result = (para_hr * 50 * 29) + (para_min * 29) + para_sec pre_result *= 14 ...
[ "wiput.pootong@gmail.com" ]
wiput.pootong@gmail.com
a4bb39a9334acf1bf77a42f83b0699981a29f9c7
781e2692049e87a4256320c76e82a19be257a05d
/assignments/python/anagram/src/374.py
c539bcd239aa7680c066a136c90fe90dc92c4ca3
[]
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
308
py
def detect_anagrams(reference, word_list): reference = reference.casefold() ref_list = sorted(reference) detect_anagram = lambda w1 : w1 != ref and sorted(w1) == ref_list return [word for word in word_list if detect_anagram(word.casefold())]
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
bc3fdf3b58a0e51964c0ff34acad6251cbc52f5f
7a604a685f9729cd691a7c81f12f2f8a297744de
/feedly/default_settings.py
2cacfbb53bcb1181a10700376b241fc1d96dd34f
[ "BSD-3-Clause" ]
permissive
vmaliwal/Feedly
16b3e6ba90646dcbce863f6a2b5613b832a21c0e
ec9c8655b4b831cda22d12afa7e39dc382a86b4e
refs/heads/master
2021-01-20T22:55:09.042922
2013-08-08T13:39:34
2013-08-08T13:39:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
FEEDLY_NYDUS_CONFIG = { 'CONNECTIONS': { 'redis': { 'engine': 'nydus.db.backends.redis.Redis', 'router': 'nydus.db.routers.redis.PrefixPartitionRouter', 'hosts': { 0: {'prefix': 'default', 'db': 2, 'host': 'localhost', 'port': 6379}, 12: {'prefix': 'feedly:', 'db': 0, 'host': 'localhost', ...
[ "thierryschellenbach@gmail.com" ]
thierryschellenbach@gmail.com
b035543cf5b0996c159636f236d14a00d492ff0f
fcc33e6a8b8af0ac1d69bd9815b786318c4b2d4b
/tests/testapp/migrations/0002_config_template.py
11ad23505a0fcdf0eab9bd30b3843fd68d91b43c
[ "LicenseRef-scancode-unknown-license-reference" ]
permissive
PabloCastellano/openwisp-users
47a0c7b286422effaa57c192ee7a3e687afeb90f
d95cb7a1e30ef69b948216c54931ddf7a4a215fc
refs/heads/master
2022-07-08T03:02:35.622736
2020-04-15T22:47:39
2020-04-15T22:47:39
256,520,208
0
0
BSD-3-Clause
2020-04-17T14:07:29
2020-04-17T14:07:28
null
UTF-8
Python
false
false
510
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-14 15:14 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('testapp', '0001_initial'), ] operations = [ migrations.AddField( model...
[ "nemesis@ninux.org" ]
nemesis@ninux.org
47c521124fd2c1605e9cacaaffd327c383c76a12
8dfe4b53fae92795405d789d52148d1291836afa
/.metadata/.plugins/org.eclipse.core.resources/.history/b0/40309ba33381001515feb230dc0120b2
fe95f4e3a0d5f62b004a6c2ef67cbc23ae59821a
[]
no_license
ymyjohnny/python
e07c54a88954e090cf3d30a4c6f6ac46353063fb
b483fd55e577d4dcceb5762bddf833df23874f3a
refs/heads/master
2021-01-10T01:10:19.038424
2019-07-02T02:40:23
2019-07-02T02:40:23
45,223,843
0
0
null
null
null
null
UTF-8
Python
false
false
382
#!/usr/bin/python #coding=utf-8 ''' Created on 2015-11-2 @author: ymy ''' import os dirname = '/tmp' def allfile(dirname): for base,dirs,files in os.walk(dirname): for file in files: filename = os.path.join(base,file) filenames = filename.append() #print filenames def...
[ "ymyjohnny@adsame.com" ]
ymyjohnny@adsame.com
aa237d039e97b9f01880f9bee5d1a2994a3a66ea
94318d8fa492445adb79547da369f141d8a80133
/scripts/plot_detection_rate.py
80df4af4d2dc49e02ca82f87f4f91f7f365b7f49
[]
no_license
dragontt/geneoscopy_dev
630fbaca230dfd009667694ed8bb4a222e597eed
a5cf26ed0dc949c3d7af48d765864aff95edbe9d
refs/heads/master
2021-01-12T12:53:16.696478
2017-05-26T18:44:45
2017-05-26T18:44:45
69,477,315
0
1
null
null
null
null
UTF-8
Python
false
false
1,061
py
#/usr/bin/python import numpy as np import sys import matplotlib.pyplot as plt ##Color choice: #507cb2 <- blue #73aa53 <- green #7f4d91 <- purple filename = sys.argv[1] color = sys.argv[2] f = open(filename, 'r') lines = f.readlines() f.close() labels = [] values = [] for i in range(1, (len(lines)-1)): line = lin...
[ "you@example.com" ]
you@example.com
965f0f0575173c3e422ccf531b6ee00c9c26153a
18f0ad99e21e2e35126f8c3c28079d358fa2129a
/Adafruit_STEMMA_Relay/code.py
90a3ebc494b98b85606ab958b6d7eed82af95a86
[ "MIT" ]
permissive
ladyada/Adafruit_Learning_System_Guides
9bf18dfa35941e0cbecbb3c2d02b4fa3cb79744f
6d76801878cbf65132ccea950dc47ae842c73dcd
refs/heads/master
2023-08-20T20:30:42.910576
2022-01-10T20:28:11
2022-01-10T20:28:11
115,837,894
13
2
MIT
2020-03-31T23:23:45
2017-12-31T02:34:47
C
UTF-8
Python
false
false
225
py
import time import board import digitalio relay = digitalio.DigitalInOut(board.A1) relay.direction = digitalio.Direction.OUTPUT while True: relay.value = True time.sleep(1) relay.value = False time.sleep(1)
[ "kattni@adafruit.com" ]
kattni@adafruit.com
74f58ecbee8a351e9afa5d6b12189026de789cce
03e3138f99f275d15d41a5c5bfb212f85d64d02e
/source/res/scripts/client/gui/Scaleform/daapi/view/meta/BCMessageWindowMeta.py
0012af4c374027efc9feaad96ad7d03c1dfb6253
[]
no_license
TrenSeP/WorldOfTanks-Decompiled
e428728e7901146d0b599d02c930d70532232a97
1faa748acec1b7e435b657fd054ecba23dd72778
refs/heads/1.4.1
2020-04-27T08:07:49.813023
2019-03-05T17:37:06
2019-03-05T17:37:06
174,159,837
1
0
null
2019-03-06T14:33:33
2019-03-06T14:24:36
Python
UTF-8
Python
false
false
757
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/BCMessageWindowMeta.py from tutorial.gui.Scaleform.pop_ups import TutorialDialog class BCMessageWindowMeta(TutorialDialog): def onMessageRemoved(self): self._printOverrideError('onMessageR...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
cbf6d2082e39aa257ea9fbe33b054caa5d9f3c3b
7c74ceb9f8addcc0816d012e0b84b174b96e0def
/src/azure-cli/azure/cli/command_modules/aro/commands.py
d260980c3351e0d1f012b5f449a5127298355e87
[ "MIT", "LGPL-2.1-only", "LGPL-2.1-or-later", "GPL-1.0-or-later", "MPL-2.0", "LGPL-2.0-or-later", "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause" ]
permissive
microsoft/azure-cli
4c826290e7a6f6bd27da3829b05e4f02ff6dc8d9
9ba64b33f6f78e2c3e42f8a147f59484300e8779
refs/heads/dev
2023-08-31T08:51:39.526556
2022-11-28T19:08:23
2022-11-28T19:08:23
370,900,439
7
7
MIT
2023-08-01T23:34:50
2021-05-26T03:59:41
Python
UTF-8
Python
false
false
1,505
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
microsoft.noreply@github.com
abb7a8d52d3b436acb78715b3bb73aea337c4351
cc4d8bfef5395c0e3076e9a37a40864554e9099a
/cli.py
6d64d4987ace1d007791275ed73818dfd6440490
[ "MIT" ]
permissive
NiklasRosenstein/yassg
99ce9cd327d7e4a72b94066a6e1d1c693b581b33
511ca5a1eb76b8fb314c45de6ac85a845b98243c
refs/heads/master
2021-01-01T04:49:03.758342
2017-11-15T13:02:52
2017-11-15T13:02:52
97,255,419
0
0
null
null
null
null
UTF-8
Python
false
false
2,682
py
# Copyright (c) 2017 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, modify, merge, publish, ...
[ "rosensteinniklas@gmail.com" ]
rosensteinniklas@gmail.com
708ac5d15ba5bd4ff5de1105d484cf04d937744f
70922de165319283d640821fd42ea1806da402c0
/math/0x05-advanced_linear_algebra/4-inverse.py
072f6b067b57f8f8f4c3b6c36868f390e22e15db
[]
no_license
ikki2530/holbertonschool-machine_learning
bdd8152d575a99281e2cce105cf87442ec07f2fb
0b56aa0e92d65d4a5832cc994769834fbcfbe0ac
refs/heads/main
2023-07-07T00:49:03.675328
2021-08-11T10:27:56
2021-08-11T10:27:56
317,352,924
0
0
null
null
null
null
UTF-8
Python
false
false
5,506
py
#!/usr/bin/env python3 """ calculates the inverse of a matrix. """ def determinant(matrix): """ Calculates the determinant of a matrix. - matrix is a list of lists whose determinant should be calculated. Returns: the determinant of matrix """ n = len(matrix) if n == 1 and len(matrix[0]) ==...
[ "dagomez2530@gmail.com" ]
dagomez2530@gmail.com
72f7059f397a28a6fc5d98863a2b760954f5192a
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_136/701.py
e899850bc93a963d05e10c0c43026ddae3581bf4
[]
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
253
py
N = int(raw_input()) for p in range(N): c, f, x = [float(x) for x in raw_input().split()] ps = 2 sc = 0 mn = 1e18 while True: if x/ps+sc > mn: break mn = x/ps+sc sc = sc + c/ps ps = ps + f print "Case #%d: %.7f" % (p+1, mn)
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
ebb12756eedd2b1951d254e6c61ebf9cc3fccc37
24a377bcf06aac43eb099f5ce2383e5da07ddadc
/analysis/set_num_runs.py
7a02d3330ac65acc6e51f1470227da9a0bc78537
[]
no_license
AlJohri/nulaundry
223f0cf4b5c4a46e083512b35f4cddc5879d39ab
be61f72dd69cc633458d3e147a1593b2e6bf01c4
refs/heads/master
2020-05-19T14:15:44.561527
2015-04-15T04:21:29
2015-04-15T04:21:29
33,854,316
1
0
null
null
null
null
UTF-8
Python
false
false
420
py
from firebase import firebase firebase = firebase.FirebaseApplication('https://aljohri-nulaundry.firebaseio.com', None) machines = firebase.get("/machines", None) for machine_id, machine in machines.iteritems(): num_runs = len(machine['runs'].values()) if machine.get('runs') else 0 print "Machine %s has %d runs" % (...
[ "al.johri@gmail.com" ]
al.johri@gmail.com
2c1729733b5515b33837a25e1c54ba55a64c4d70
744c3b66611b08782fcdd9d66261c4d55b00d426
/examples/pybullet/gym/pybullet_envs/minitaur/agents/baseline_controller/gait_generator.py
61bd849acf0af82aee1c3cb503e4381a69ee2973
[ "Zlib" ]
permissive
erwincoumans/bullet3
4ff9e0aa64b641c65b57b26f415dd69dbfb12256
6d181d78a5c7be8714c74055cddcf63d5ccef70a
refs/heads/master
2023-03-10T14:58:18.072562
2023-02-24T18:32:53
2023-02-24T18:32:53
31,621,748
103
29
NOASSERTION
2019-02-25T17:31:00
2015-03-03T21:15:54
C++
UTF-8
Python
false
false
685
py
"""Gait pattern planning module.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import abc import enum class LegState(enum.Enum): """The state of a leg during locomotion.""" SWING = 0 STANCE = 1 # A swing leg that collides with the ground. E...
[ "erwin.coumans@gmail.com" ]
erwin.coumans@gmail.com
64608d15d268eb8a172554ecfb7235b36b175d0b
677a3a76807d8585f65ec0e0839bb3a8b833e2fb
/10.Design Patterns/Lab/1.Abstract_factory.py
cd4cff1cf3cb94f6f195c13a8447e4bec28e90a5
[]
no_license
negative0101/Python-OOP
0d531a1b72beb3e58f9486df88d457ecd59be10e
b5825e66a909c947a46458712d683e8a38035912
refs/heads/main
2023-07-14T11:27:34.841594
2021-08-20T08:49:04
2021-08-20T08:49:04
381,475,313
0
0
null
2021-07-25T19:52:38
2021-06-29T19:26:42
Python
UTF-8
Python
false
false
1,724
py
from abc import ABC, abstractmethod class Chair: def __init__(self, name): self.name = name def __str__(self): return self.name class Sofa: def __init__(self, name): self.name = name def __str__(self): return self.name class Table: def __in...
[ "noreply@github.com" ]
negative0101.noreply@github.com
3d7ce7f23f60f696a1c6fc3dad73799d24bb83a9
2bcc421ee345b00cf805c543b37d18b5d019dc04
/adafruit-circuitpython-bundle-6.x-mpy-20201126/examples/rfm69_transmit.py
8f290230a0177f4531c020ba3597b90cb31b0bc0
[]
no_license
saewoonam/sc-current-source-titano
5a1ad46889c1b09c168424901fd71cb4eab5c61b
1c136aa8b61268d9ac0b5a682b30ece70ab87663
refs/heads/main
2023-03-02T22:12:26.685537
2021-02-09T03:28:01
2021-02-09T03:28:01
317,299,900
0
2
null
null
null
null
UTF-8
Python
false
false
1,895
py
# Example to send a packet periodically # Author: Jerry Needell # import time import board import busio import digitalio import adafruit_rfm69 # set the time interval (seconds) for sending packets transmit_interval = 10 # Define radio parameters. RADIO_FREQ_MHZ = 915.0 # Frequency of the radio in Mhz. M...
[ "nams@nist.gov" ]
nams@nist.gov
8a3659cc339b77f4682c2220d784c46a647f5a6a
5b76a92ec02529f97bcf72ba2487f11b73684439
/pyxel_lander/__init__.py
40a9993bd4c8b06058baaef719dbb92ea720489a
[ "MIT" ]
permissive
humrochagf/pyxel-lander
d9533598a56a1adba4c335167620950868bcec6b
05b76c45de69f7fa1ecf78cf1ba555e8771d3bfc
refs/heads/main
2023-03-08T06:18:39.555621
2023-03-06T02:18:09
2023-03-06T02:18:09
163,335,210
28
3
null
null
null
null
UTF-8
Python
false
false
235
py
from pyxel_lander.constants import AUTHOR, EMAIL, VERSION from pyxel_lander.game import Game __author__ = AUTHOR __email__ = EMAIL __version__ = VERSION __all__ = [ "__author__", "__email__", "__version__", "Game", ]
[ "humrochagf@gmail.com" ]
humrochagf@gmail.com
3082243e987f916fa7c31952331a62d65983a72c
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/4jNjHdZ2hmMh23pRg_8.py
def823a82703336877c1698b26cb5997d5eaa82f
[]
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
169
py
def cutting_grass(lst, *cuts): lsts = [[e - sum(cuts[:i+1]) for e in lst] for i in range(len(cuts))] return [i if all(e > 0 for e in i) else 'Done' for i in lsts]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
d2d5e2724e5868e3de00fc519848b82369742bab
e62c8ee151671b999c6720ab8c2aa2f96c0d7f55
/examples/miniapps/boto3-session/boto3_session_example.py
33ed85f6dd4ffb0cf0fd7d12844a69a572b02a71
[]
permissive
ets-labs/python-dependency-injector
45645973456bb6494386ad12103d06e1f1be2cd8
cc2304e46e054ae08dc12995428759fbfb51af10
refs/heads/master
2023-08-23T03:59:53.509743
2022-12-19T03:14:24
2022-12-19T03:14:24
28,774,758
3,217
273
BSD-3-Clause
2023-09-08T21:46:18
2015-01-04T13:23:05
Python
UTF-8
Python
false
false
2,053
py
"""Boto3 session example.""" import boto3.session from dependency_injector import containers, providers class Service: def __init__(self, s3_client, sqs_client): self.s3_client = s3_client self.sqs_client = sqs_client class Container(containers.DeclarativeContainer): config = providers.Con...
[ "rmogilatov@gmail.com" ]
rmogilatov@gmail.com
570a9766aa5228126ece666542ba521ded51bb84
37d10412479a81c652e3ebf0c21c101b68fe1b4d
/rebecca/bootstrapui/helpers.py
7c850d56c33719949e736ca874ba579b29d7a7d6
[ "MIT" ]
permissive
rebeccaframework/rebecca.bootstrapui
97bfde14861d9b318fd1b0087a30c10cfbc18da3
e247aead62e75009256d8341a893b173ccfe3b10
refs/heads/master
2020-05-18T15:50:27.364424
2014-08-23T10:18:21
2014-08-23T10:18:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
import functools from webhelpers2.html import HTML, escape, literal from babel.dates import format_date, format_datetime, format_time from babel.numbers import format_number, format_decimal, format_percent def bind_locale(func, localename): return functools.partial(func, locale=localename) class WebHelper(objec...
[ "aodagx@gmail.com" ]
aodagx@gmail.com
5dc668e60985444fd9aa28246684e0b119ddea80
88ea6ae5a8f97e3771490583d8acecdbe2877fd8
/zips/plugin.video.vistatv/resources/lib/sources/en/watch32.py
e4449b2214e5d64dd66cc38e81ebeb999833a20b
[]
no_license
staycanuca/PersonalDataVistaTV
26497a29e6f8b86592609e7e950d6156aadf881c
4844edbfd4ecfc1d48e31432c39b9ab1b3b1a222
refs/heads/master
2021-01-25T14:46:25.763952
2018-03-03T10:48:06
2018-03-03T10:48:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,798
py
# -*- coding: UTF-8 -*- ####################################################################### # ---------------------------------------------------------------------------- # "THE BEER-WARE LICENSE" (Revision 42): # @tantrumdev wrote this file. As long as you retain this notice you # can do whatever you want wit...
[ "biglad@mgawow.co.uk" ]
biglad@mgawow.co.uk
12ec82e69e5b3d50651b488913b9e56d768c6259
bd01527a0af06828c56206d1113c372787e0d1d0
/backend/media/justrelax/node/media/player.py
0fae154d42080e85207185137f7117e755f8f9ac
[]
no_license
nosseb/justrelax
3810f3cbae507f3da3c7a0ab894e5c3236b8c9d1
812bdf7787a761c94afd867cfc4de20f993fc86a
refs/heads/master
2022-11-26T22:12:33.825056
2020-07-21T15:42:27
2020-07-21T15:42:27
263,049,627
0
0
null
2020-05-11T13:24:52
2020-05-11T13:24:51
null
UTF-8
Python
false
false
2,432
py
from justrelax.common.logging_utils import logger class MediaPlayerMixin: STATE_NOT_STARTED = 'not_started' STATE_PLAYING = 'playing' STATE_PAUSED = 'paused' def __init__(self): self.current_state = MediaPlayerMixin.STATE_NOT_STARTED def play(self): if self.current_state == Media...
[ "jbaptiste.braun@gmail.com" ]
jbaptiste.braun@gmail.com
485ebf8496bd146a42491a9f4317726e7d3725e0
79b93d7c36645735309a55973ec54d126956c612
/Round1B/DraupnirBig.py
bbd9b31b2927243318da8e69786c1f06597f0bb4
[]
no_license
rocket3989/codeJam2019
a7523f27c73a8e69c35754ad1737f8587e626c9f
2d383ef2eefac43a86b24433bb6371961002adc5
refs/heads/master
2022-02-28T23:52:56.653242
2019-09-25T01:01:43
2019-09-25T01:01:43
179,910,089
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
T, M = list(map(int, input().split())) for test in range(0,T): r = [0,0,0,0,0,0,0] inp = [] print(200) inp.append(int(input())) print(56) inp.append(int(input())) r[6] = (inp[0] % 2 ** 40) // 2 ** 33 inp[0] -= r[6] * 2 ** 33 r[5] = (inp[0] % 2 ** 50) // 2 ...
[ "rocket3989@gmail.com" ]
rocket3989@gmail.com
b8ce6bca58314b866a7d721d90990ae2cc5492a5
e3e8467a3bae0982bd1ae0a27474e59d61eabe95
/nukepy
efe0df8dd0ca6a266d16c453902c4d02f54a5aa2
[]
no_license
LumaPictures/nukecli
d47cd5c5a8d15cf5e584ac5b87362ad5333fa8d6
7ca3829cf940a3d836eb0104f41fb00321c9c92c
refs/heads/master
2020-06-01T04:20:58.804388
2011-08-05T23:34:46
2011-08-05T23:34:46
2,163,112
15
4
null
null
null
null
UTF-8
Python
false
false
1,441
#!/usr/bin/env python """ Wrapper for Nuke -t that behaves more like a normal python binary. - adds support for -c flag to pass a string of python code to execute - expands symbolic links - can be used as the interpreter in executable python scripts (e.g. #!/usr/bin/env nukepy) """ from __future__ import with_stat...
[ "chadrik@gmail.com" ]
chadrik@gmail.com
b46e91baeb582c1b23025c803fe705dab8582a91
d2bbf50859beb3447d8e15d5d11f89942f1b21d3
/Top down design lab/conversion1.py
56c6680b68b9082c71627b440e82dace9a22c5a0
[]
no_license
nbenkler/CS110_Intro_CS
f5bc8da21bac9bc4d1c01070b5f7cc75fb3ab012
372483bce661ef8052c2ebbe832cc6ec1922d113
refs/heads/master
2020-04-24T07:25:26.630687
2019-02-21T04:27:55
2019-02-21T04:27:55
171,798,847
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
#conversion1.py # A program to convert Celsius temps to Fahrenheit def main(): fileName = eval(input("What is the name of the file you would like to convert? ")) inFile = open(fileName, "r") for line in inFile: celsius = int(line) fahrenheit = 9/5 * celsius + 32 print(celsius, "degrees celsius is", fahren...
[ "you@example.com" ]
you@example.com
8d626cd10ddba11c2cc47aaaae26cca82f16f13d
bb6ebff7a7f6140903d37905c350954ff6599091
/third_party/WebKit/Source/devtools/scripts/concatenate_js_files.py
69d776abae74eff185f6689bcb1c595dffa5d111
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
PDi-Communication-Systems-Inc/lollipop_external_chromium_org
faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f
ccadf4e63dd34be157281f53fe213d09a8c66d2c
refs/heads/master
2022-12-23T18:07:04.568931
2016-04-11T16:03:36
2016-04-11T16:03:36
53,677,925
0
1
BSD-3-Clause
2022-12-09T23:46:46
2016-03-11T15:49:07
C++
UTF-8
Python
false
false
4,254
py
#!/usr/bin/env python # # Copyright (C) 2010 Google Inc. All rights reserved. # # 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 the above copyright # notice, this...
[ "mrobbeloth@pdiarm.com" ]
mrobbeloth@pdiarm.com
83626a499b71960a0cbd94990cb81f96a5cc2601
ff69aab96d76ac3dc5b93605617314c6eb2b257c
/gymmeforce/models/__init__.py
4cedb96b2487ce53f7fda441d4b1d2cc233798a2
[ "MIT" ]
permissive
init27Lab/gymmeforce
a9fc7e455b8427ce2c3334e059ee6e532adb3384
12731bcf34de9e9a94fae085cdfe10e3f4e0d142
refs/heads/master
2021-09-01T12:30:16.508592
2017-12-27T01:35:21
2017-12-27T01:35:21
115,546,238
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
from gymmeforce.models.base_model import BaseModel from gymmeforce.models.dqn_model import DQNModel from gymmeforce.models.vanilla_pg_model import VanillaPGModel from gymmeforce.models.ppo_model import PPOModel
[ "lucasgouvaz@gmail.com" ]
lucasgouvaz@gmail.com
c439df6bafaa4167d39bfcd0250e95a1dca7f532
79197ddad40d2780a8f291bffa2cb58509c055bb
/Menus/menu-1.py
d09c2355e97f9093a2030524511a2994180fe946
[]
no_license
Adrien-FILIPPI/Hackbox
6dd0c66e0fa72a249ee06c6064cbc9bb66eeaa7b
c58495503abc2948ae1d6e2ea1705ee48192f1df
refs/heads/master
2021-01-25T09:37:59.960101
2019-01-08T16:04:38
2019-01-08T16:04:38
93,864,005
0
0
null
null
null
null
UTF-8
Python
false
false
7,712
py
#!/usr/bin/env python import kalipi from kalipi import * ############################# ## Local Functions ## # Check VNC status def check_vnc(): if 'vnc :1' in commands.getoutput('/bin/ps -ef'): return True else: return False # Check Terminal session status def check_terminal(): ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
05c69d86a598279fd05f359ed4b55dbf7789ecbb
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/96/usersdata/212/52473/submittedfiles/estatistica.py
833c7315b45ff153b15c5cbf6daf19fb0e037238
[]
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
1,004
py
# -*- coding: utf-8 -*- def media(lista): soma = 0 for i in range(0,len(lista),1): soma = soma + lista[i] resultado = soma/len(lista) return resultado #Baseado na função acima, escreva a função para calcular o desvio padrão de uma lista def desvio(lista): soma=0 dp=0 m=media(lista...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
6a4ee598f47454db0493b131fcdf35f2e2f999bb
66d04b8c46feef85c1666a4ba467124ee2c18450
/lambdas/layer/.chalice/config.json.template.py
3d375499fa4760654e91540304e9ac9cb68879d9
[ "Apache-2.0" ]
permissive
DataBiosphere/azul
767abdefafbaf714fb78e5ee1aa5224b07fa7ec1
3722323d4eed3089d25f6d6c9cbfb1672b7de939
refs/heads/develop
2023-09-01T12:26:21.387100
2023-09-01T00:01:46
2023-09-01T00:01:46
139,095,537
23
22
Apache-2.0
2023-09-14T18:00:44
2018-06-29T03:18:14
Python
UTF-8
Python
false
false
263
py
from azul import config from azul.template import emit emit({ "version": "2.0", "app_name": config.qualified_resource_name("dependencies"), "api_gateway_stage": config.deployment_stage, "manage_iam_role": False, "lambda_memory_size": 128, })
[ "hannes@ucsc.edu" ]
hannes@ucsc.edu
e71c296d26a1fc078ab5b6286026948ef2b23459
0beaf9d78d03100b2aebaaac38fb343d425f2b6a
/tests/regression/gsheet/test_chrome_gsheet_100r_number_utf8chars.py
57e29b0c39b7eec92f89400c4f2f06c356e2ae5d
[]
no_license
digitarald/Hasal
462fc044bb4a754c8d76c0bfb0df519f1786fdcc
c496afae6ec2e3743148f3a6288b78f120100513
refs/heads/master
2021-01-13T14:29:44.471037
2016-11-04T10:49:19
2016-11-04T10:49:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
from lib.perfBaseTest import PerfBaseTest class TestSikuli(PerfBaseTest): def setUp(self): super(TestSikuli, self).setUp() def test_chrome_gsheet_100r_number_utf8chars(self): self.test_url = self.env.GSHEET_TEST_URL_SPEC % self.env.TEST_TARGET_ID_100R_NUMBER_UTF8CHAR self.sikuli_stat...
[ "sho@mozilla.com" ]
sho@mozilla.com
252a725708758cf720a94811657ecfdfd0b1d90d
0206ac23a29673ee52c367b103dfe59e7733cdc1
/src/crcm5/analyse_hdf/lake_effect_on_streamflow_quantiles.py
f129054251e6b9dd8519fa5d776392060593cf5a
[]
no_license
guziy/RPN
2304a93f9ced626ae5fc8abfcc079e33159ae56a
71b94f4c73d4100345d29a6fbfa9fa108d8027b5
refs/heads/master
2021-11-27T07:18:22.705921
2021-11-27T00:54:03
2021-11-27T00:54:03
2,078,454
4
3
null
null
null
null
UTF-8
Python
false
false
7,676
py
import os from datetime import datetime import brewer2mpl from matplotlib.axes import Axes from matplotlib.font_manager import FontProperties from matplotlib.ticker import MaxNLocator, ScalarFormatter from crcm5 import infovar from data import cehq_station from data.cehq_station import Station from data.cell_manager im...
[ "guziy.sasha@gmail.com" ]
guziy.sasha@gmail.com