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
3ad2dd87828157dd063f2b7458571a524017263a
833ae432c07ff3c33812b4847c247aa730a2549b
/glue/_plugin_helpers.py
341fbd440fc91bad6628fe8c03f9dba38fea1a07
[ "BSD-3-Clause" ]
permissive
scalet98/glue
3e4bc49ac53766d4e1927da3434ad02410d93486
ff949ad52e205c20561f48c05f870b2abb39e0b0
refs/heads/master
2020-11-25T07:50:11.278074
2019-10-29T09:23:19
2019-10-29T09:23:19
228,563,694
1
0
NOASSERTION
2019-12-17T07:58:31
2019-12-17T07:58:31
null
UTF-8
Python
false
false
2,776
py
# The following function is a thin wrapper around iter_entry_points. The reason it # is in this separate file is that when making the Mac app, py2app doesn't # support entry points, so we replace this function with a version that has the # entry points we want hardcoded. If this function was in glue/main.py, the # refe...
[ "thomas.robitaille@gmail.com" ]
thomas.robitaille@gmail.com
3479e119a928a44bfb4b30588b082226216cfa06
97bf09cf62ddd060ec436bc0abdda8a1a78e57f9
/scripts/test/run_tests.py
4392a92d799968c527d36b1bb61228cda313639e
[ "BSD-3-Clause" ]
permissive
Hiwatts/facebook360_dep
1911848900d6be6eabe72a088bab9cf7eae6ef02
3ecbe7f64f88b8a7b50bfa3deef6daad61a30443
refs/heads/master
2023-07-24T05:48:44.705469
2021-05-05T15:57:32
2021-05-05T16:04:43
396,123,779
0
0
NOASSERTION
2021-08-18T11:48:09
2021-08-14T20:35:58
null
UTF-8
Python
false
false
5,371
py
#!/usr/bin/env python3 # Copyright 2004-present Facebook. All Rights Reserved. # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. """Runs all the unit tests defined in res/test/translator.json. This is the main entrypoint for running the ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
68be4a145f5591cd39cece0984dc6931714f5716
44c65c93549aa06b01ef9114817cd45e645da6f7
/tests/test_observable/test_concat.py
7b28c6f1c9fd20302717129da1983eaa60fd0f1c
[ "Apache-2.0" ]
permissive
Affirm/RxPY
692b6a0089f4e79b92c0c683f11427c558eefd06
7c23939ea497761c85b382257f9f0954998ab91e
refs/heads/master
2023-07-06T11:34:28.229747
2017-10-22T16:25:56
2017-10-22T16:25:56
108,198,347
0
2
Apache-2.0
2023-03-20T20:28:56
2017-10-25T00:18:37
Python
UTF-8
Python
false
false
7,099
py
import unittest from rx import Observable from rx.testing import TestScheduler, ReactiveTest on_next = ReactiveTest.on_next on_completed = ReactiveTest.on_completed on_error = ReactiveTest.on_error subscribe = ReactiveTest.subscribe subscribed = ReactiveTest.subscribed disposed = ReactiveTest.disposed created = React...
[ "dag@brattli.net" ]
dag@brattli.net
3d37da637d2574b7f62ac05306ea06e985dab24c
ae10b60cb92a69146bfb05ef5dde735a0aa45d4b
/examples/Extended Application/sklearn/examples/manifold/plot_swissroll.py
7c79aa7f21f247e89add004d85ca228061582301
[ "MIT" ]
permissive
kantel/nodebox-pyobjc
471cea4c5d7f1c239c490323186458a74edcc214
068ba64c87d607522a240ab60c3ba14f869f6222
refs/heads/master
2021-08-14T18:32:57.995445
2017-11-16T13:42:23
2017-11-16T13:42:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,103
py
""" =================================== Swiss Roll reduction with LLE =================================== An illustration of Swiss Roll reduction with locally linear embedding """ # Author: Fabian Pedregosa -- <fabian.pedregosa@inria.fr> # License: BSD 3 clause (C) INRIA 2011 print(__doc__) import matplotlib.pyplot...
[ "karstenwo@web.de" ]
karstenwo@web.de
9bad6a345a6bdffa026f01429de7892977c34495
fd64e364368bcb2cdcf77ab1e0fc234a6b698f69
/Python/Easy/CHEFSETC.py
48d298e8c44654557290eaf4fd4a08a2753e58f3
[]
no_license
Parizval/CodeChefCodes
57712069f3d56cc42282f9e35c6ddd9398e4a5bf
cfd2876816be806882650b6ea51431b1f8d6bec5
refs/heads/master
2021-07-16T13:10:15.668713
2020-07-06T21:40:09
2020-07-06T21:40:09
188,693,667
5
1
null
null
null
null
UTF-8
Python
false
false
506
py
import itertools def findsubsets(s, n): return [set(i) for i in itertools.combinations(s, n)] for a in range(int(input())): elements = set(map(int,input().split())) check = False for i in range(1,5,1): array = findsubsets(elements,i) for i in array: if sum(i) == 0 : ...
[ "anmolgoyal@gmail.com" ]
anmolgoyal@gmail.com
42b03dcc9562188ff8a81630422edb51674a221c
2c54320b0bebb4351d6056d117796c11b6fb1441
/test_endpoints.py
5511b26bb32d7594a6d5ed3116bbdfc142a99fdb
[]
no_license
Amertz08/flask-ci
f728ca59c67d24b5d437de8acd469d2460151f01
a67c0417345b6b67f86d7f18d509f1f192cf862a
refs/heads/master
2020-03-23T08:53:14.389682
2018-07-18T02:18:29
2018-07-18T02:18:29
141,353,864
0
0
null
null
null
null
UTF-8
Python
false
false
582
py
import unittest from flask import url_for from flask_testing import TestCase from app import create_app class TestApp(TestCase): def create_app(self): return create_app() def test_index(self): resp = self.client.get(url_for('main.index')) try: with open('version.txt', '...
[ "adammertz@gmail.com" ]
adammertz@gmail.com
b7cd1f9a1aea1fcef7d9de69a39850cb6d63dafc
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/log-20190927/132.230.102.123-10.21.12.20/1569574219.py
4a95238224a8297f24bd861789148dd266556edb
[]
no_license
LennartElbe/codeEvo
0e41b1a7705204e934ef71a5a28c047366c10f71
e89b329bc9edd37d5d9986f07ca8a63d50686882
refs/heads/master
2020-12-21T17:28:25.150352
2020-03-26T10:22:35
2020-03-26T10:22:35
236,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
2,653
py
import functools import typing import string import random import pytest ## Lösung Teil 1. def divisors(n)->list: teiler = [] if n < 0: return "Ungültige Eingabe" else: for i in range(1, n+1): if n%i == 0: teiler = teiler + [i] return [teiler] #...
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
a8b53a582053bf011063b816014242b9cc4b3276
a34dc024004dded61c9a5612e047fc4537534ddb
/scripts/utils.py
ca1dc8ab17fc6a2132b90e53bb34b9903dcce3b4
[]
no_license
tehZevo/aegis-scripts
29ca28998f3fb2c6c8f7960ef56df8bff5e9970d
280435890fc7661e73aff65ef28bd9b2a5b24055
refs/heads/master
2020-07-21T12:23:55.913579
2020-03-06T01:26:40
2020-03-06T01:26:40
206,863,972
1
0
null
null
null
null
UTF-8
Python
false
false
2,183
py
from tensorflow.keras import optimizers as O import retro import gym from aegis_core.callbacks import TensorboardFieldCallback, TensorboardCallback from aegis_core.callbacks import TensorboardActions, TensorboardPGETReward from aegis_core.callbacks import TensorboardPGETWeights, TensorboardPGETTraces class DummyEnv(g...
[ "tehzevo@users.noreply.github.com" ]
tehzevo@users.noreply.github.com
d9bee4ad7b23f641753a2fe3e8fa91e75064ef95
4f41601218f7c270a9b1bb0b02a45522dfb586df
/miform/structure.py
74b867359fe58dc888aa44f38c23b1ce2fe4bec6
[]
no_license
cr1901/miform
3e7372cf5f5d2ece04b5df17f8582ed2795ada1f
23abfbe16a5064cbd267719ebbb66e08f594b689
refs/heads/master
2021-07-13T08:58:18.657665
2017-10-15T18:01:03
2017-10-15T18:01:03
106,760,269
4
1
null
null
null
null
UTF-8
Python
false
false
5,706
py
from migen.fhdl.structure import _Statement, wrap, _check_statement from migen.fhdl.specials import Special from migen.fhdl.verilog import _AT_BLOCKING, _printexpr as verilog_printexpr from migen.fhdl.module import _flat_list, _cd_append import miform.verilog class _FormalStatement: pass class _FormalTask: ...
[ "thor0505@comcast.net" ]
thor0505@comcast.net
8e4ac45e01675c7b4f520a4a23d18060dc8c7369
cab678a44ecef2fcb9102588006e3080d4529481
/microsoft/store/partnercenterservices/models/microsoft_partner_sdk_contracts_v1_support_topic.py
df2acd2a2202668d37743f77e8790c7ac41b5299
[]
no_license
eduardomourar/partner-center-python
410f61f1ff0dfa8fe34414b1012edba983c289dc
85e9617d58347fb6c3b8d50b728f9a10201e2f10
refs/heads/master
2020-04-19T19:21:16.543501
2020-01-28T12:10:33
2020-01-28T12:10:33
168,386,194
2
0
null
2020-01-28T12:10:35
2019-01-30T17:38:16
Python
UTF-8
Python
false
false
1,722
py
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
[ "eduardo.rodrigues@sentia.com" ]
eduardo.rodrigues@sentia.com
8ac2409f5cb6f10f638f4a529a2f5abd608a6613
aacec9c81c1f015ac3f76d6e37d798e08b59d150
/sample/sample/settings.py
00ed6e4b6be213ff1107b7f54da769cb0c0096b0
[]
no_license
meghalrag/djangoprgm
25ae32b04789dc9cdeda5ac64833e6e138234349
6a802a6b7a0c2044af24f4e0e90e034c0ba0d9ec
refs/heads/master
2020-05-19T22:20:51.979077
2019-05-06T18:05:42
2019-05-06T18:05:42
185,244,469
0
0
null
null
null
null
UTF-8
Python
false
false
3,230
py
""" Django settings for sample project. Generated by 'django-admin startproject' using Django 1.11.6. 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/ """ ...
[ "noreply@github.com" ]
meghalrag.noreply@github.com
3a0f2b78a917ebbb93b31b448eff17706496fcb4
55d6de252e61c4b60688ebd8b1f637807acc1e7c
/custom_customer_payment_approval/models/models.py
83b0d97f1108f7bbd53d5c29fe68c31b90a5209d
[]
no_license
mosadiqit/eerna_erp_uslbd
b707a1d49a4fce7c1543b63e0120e8f9b77b26ce
73e3994a9e32df7809d244eb6592513162ab7853
refs/heads/main
2023-06-30T14:53:04.837197
2021-08-04T11:30:46
2021-08-04T11:30:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
# -*- coding: utf-8 -*- # from odoo import models, fields, api # class custom_customer_payment_approval(models.Model): # _name = 'custom_customer_payment_approval.custom_customer_payment_approval' # _description = 'custom_customer_payment_approval.custom_customer_payment_approval' # name = fields.Char()...
[ "ibrahimalazhar264@gmail.com" ]
ibrahimalazhar264@gmail.com
3eea2bcd2377a53c6ec3a0fac375d30816303266
ede10f744f89dcc7c81a73e922cfd41c8c415b3f
/setoperation.py
2dc31b509a25cf4a50900a49bc5f21b382e8ff7e
[]
no_license
Techsrijan/Python11
6d76ac9aaa1fe30a1a31f7dbe898927b439ac64b
c1080fcc027044137859e4e55ef6a8d3cb740c2a
refs/heads/master
2020-06-16T07:02:38.150544
2019-08-04T03:29:15
2019-08-04T03:29:15
195,508,033
0
35
null
2019-07-28T07:48:25
2019-07-06T06:52:21
Python
UTF-8
Python
false
false
618
py
marks={11,12,15,66,12} print(marks) marks.add(555) print(marks) marks.remove(12) print(marks) fruit=frozenset(['apple','mango']) print(fruit) #fruit.add('ss') # this will create dictionary but not set a={} print(a) print(type(a)) # set function creates an empty set b=set() print(b) print(type(b)) b= set(marks) #c...
[ "aswanibtech@gmail.com" ]
aswanibtech@gmail.com
137ba7136d89e5ece45a8d4271fd13561c4b608f
13f25be5c1f9d4023fdc188af20699370bbc896d
/billy/commands/update_external_ids.py
3e37a7f86791dc9da57d8eb46cbb0c11f1901cb7
[]
no_license
JT5D/billy
d303ca408527e122faebdd1c1047233cf0231d8c
de1586fddd30d354d80d6b6b2c7932e16bc02991
refs/heads/master
2020-12-25T15:51:22.750561
2012-09-14T16:23:18
2012-09-14T16:23:18
5,826,718
1
0
null
null
null
null
UTF-8
Python
false
false
2,540
py
import json import urllib import urllib2 import time import sys from billy import db from billy.conf import settings from billy.commands import BaseCommand class UpdateMissingIds(BaseCommand): name = 'update-ext-ids' help = 'update TransparencyData ids' def add_args(self): self.add_argument('ab...
[ "james.p.turk@gmail.com" ]
james.p.turk@gmail.com
e20d78120e7e8e868e2796fbd0ad91445e24f16a
eea1c66c80784d4aefeb0d5fd2e186f9a3b1ac6e
/atcoder/abc/abc101-200/abc170/d.py
6f7baffcc4792acd400908f7b89a52f59bfb752e
[]
no_license
reo11/AtCoder
4e99d6f40d8befe264761e3b8c33d3a6b7ba0fe9
69c6d67f05cb9190d8fb07204488cd7ce4d0bed2
refs/heads/master
2023-08-28T10:54:50.859288
2023-08-22T18:52:47
2023-08-22T18:52:47
162,085,118
4
0
null
2023-07-01T14:17:28
2018-12-17T06:31:10
Python
UTF-8
Python
false
false
357
py
import sys from collections import Counter input = sys.stdin.readline MAX = 1000001 dp = [True for _ in range(MAX)] n = int(input()) a = list(map(int, input().split())) cnt = Counter(a) a = sorted(list(set(a))) ans = 0 for v in a: if cnt[v] <= 1 and dp[v]: ans += 1 m = v while m < MAX: dp[...
[ "reohirao116@gmail.com" ]
reohirao116@gmail.com
da1424b954c6ea7946bf5c4b741adee5647928ce
2e69d2f140bb653938dc1b7238b85a4af4754123
/metanic/settings/development.py
24903ea9e622fd8f43c25fe974be2913277bb0c6
[ "BSD-3-Clause" ]
permissive
metanic/services
f866d78e7207624cf4b420929d987b6005394d1d
a00b99f9b697864a078e2cb886be4d75c10458a9
refs/heads/master
2021-06-06T22:33:56.823827
2018-08-14T08:05:00
2018-08-14T08:05:00
115,375,318
0
0
NOASSERTION
2020-02-11T21:34:25
2017-12-26T01:57:09
Python
UTF-8
Python
false
false
2,287
py
from metanic.settings.defaults import INSTALLED_APPS from metanic.settings.defaults import MIDDLEWARE from metanic.settings.defaults import REST_FRAMEWORK from metanic.settings.defaults import cache_url from metanic.settings.defaults import env_value from metanic.settings.defaults import project_path # We specificall...
[ "monokrome@monokro.me" ]
monokrome@monokro.me
b8b6b730b3d1e9345cd8228e34aab0f42a31aa8c
f305f84ea6f721c2391300f0a60e21d2ce14f2a5
/19_数学/数论/BSGS/G - 222.py
6cdc9f5606b73ac8778ecd183c8606680b877f35
[]
no_license
981377660LMT/algorithm-study
f2ada3e6959338ae1bc21934a84f7314a8ecff82
7e79e26bb8f641868561b186e34c1127ed63c9e0
refs/heads/master
2023-09-01T18:26:16.525579
2023-09-01T12:21:58
2023-09-01T12:21:58
385,861,235
225
24
null
null
null
null
UTF-8
Python
false
false
630
py
# 形如2,22,222,...的数列 # !这个数列第一个k的倍数的项是否存在, 若存在是第几项 # k<=1e8 # !等价于 2*(10^x-1)/9 ≡ 0 (mod k) # !即 10^x ≡ 1 (mod k*9/gcd(k,2)) from math import gcd from bsgs import exbsgs # 即为扩展exbsgs # TODO 有问题 import sys sys.setrecursionlimit(int(1e9)) input = lambda: sys.stdin.readline().rstrip("\r\n") MOD = 9982...
[ "lmt2818088@gmail.com" ]
lmt2818088@gmail.com
94f9719ea3bafb52fb5ea71541380aa245912c33
afdeedfb743fbb149d36c14cfad65feaf03acd21
/code/1253-reconstruct-a-2-row-binary-matrix.py
bd9cbd79b960e9959b96f36d73f49227eb0ec9fe
[]
no_license
linhx13/leetcode-code
f16cd4a0d35be34c41b86715fc9f3e8ec4b0a577
c71574acfc68174a091c1751f10985b8f5737a1f
refs/heads/master
2021-07-04T03:45:20.030275
2021-06-09T13:55:18
2021-06-09T13:55:18
70,423,464
0
1
null
2019-08-01T09:37:49
2016-10-09T18:48:33
null
UTF-8
Python
false
false
870
py
from typing import List class Solution: def reconstructMatrix( self, upper: int, lower: int, colsum: List[int] ) -> List[List[int]]: n = len(colsum) res = [[0] * n for _ in range(2)] for i, s in enumerate(colsum): if s == 2 or (s == 1 and lower < upper): ...
[ "mylhx288@gmail.com" ]
mylhx288@gmail.com
3ee47a3f3fcc17860c659aea5450baf56dda10e5
312ab41033c2cb043d617d3e633c166503fd280c
/Informatikk/Bachelor/H2017/ITGK/Eksamner/2012/Oppgave_4f.py
aa7ca178ffff91e045fd53d574fa57141adaeafe
[]
no_license
skanin/NTNU
cb9b833d9de0d504965979584370b8f353435cd1
e4023856f69060f8d3d09ff4990e29f7a75d98b1
refs/heads/master
2022-01-30T14:31:22.947512
2022-01-20T14:11:14
2022-01-20T14:11:14
113,476,017
4
1
null
null
null
null
UTF-8
Python
false
false
506
py
def strange_weather(temp, rain): x = None y = None for i in range(len(temp)-1): if temp[i] < 0: if temp[i] < temp[i+1] and rain[i] < rain[i+1]: x = i if temp[i] > temp[i+1] and rain[i] > rain[i+1]: y = i return x, y...
[ "sander.b.lindberg@gmail.com" ]
sander.b.lindberg@gmail.com
ed6ba51a1f51da4a70789894dbbc3c28652b12bf
a08225934c425be313a12975c9563a72ded58be6
/round669/q1.py
851433744811d0efac4f1b094d4089b7adb1d6ae
[]
no_license
marcus-aurelianus/codeforce
27c966554dee9986f23fb2925bd53e6cceb8b9e9
4764df151ade7806e32b6c88283a2de946f99e16
refs/heads/master
2023-03-18T09:30:55.042594
2021-03-12T18:14:08
2021-03-12T18:14:08
231,387,022
2
0
null
null
null
null
UTF-8
Python
false
false
932
py
import sys reader = (s.rstrip() for s in sys.stdin) input = reader.__next__ def gift(): for _ in range(t): n = int(input()) arry = list(map(int,input().split())) count0 = 0 count1 = 0 for i in range(n): if arry[i] == 1: count1 += 1 els...
[ "37787424+marcus-aurelianus@users.noreply.github.com" ]
37787424+marcus-aurelianus@users.noreply.github.com
eff344fe4db23e7846abced170514cefc8dc4524
2031771d8c226806a0b35c3579af990dd0747e64
/pyobjc-framework-GameKit/PyObjCTest/test_gkleaderboardset.py
07d32c0476b2648b0ec250082721e960bbc9e8b1
[ "MIT" ]
permissive
GreatFruitOmsk/pyobjc-mirror
a146b5363a5e39181f09761087fd854127c07c86
4f4cf0e4416ea67240633077e5665f5ed9724140
refs/heads/master
2018-12-22T12:38:52.382389
2018-11-12T09:54:18
2018-11-12T09:54:18
109,211,701
2
0
null
null
null
null
UTF-8
Python
false
false
638
py
from PyObjCTools.TestSupport import * import GameKit class TestGKLeaderboardSet (TestCase): @min_os_level('10.10') def testMethods(self): class TestGKLeaderboardSetHelper (GameKit.GKLeaderboardSet): def loadImageWithCompletionHandler_(self, h): pass self.assertArgIsBlock(GameKit....
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
cc5944b4c83a4775a2bb0eb3623f8812a6f2e3ac
c4a2c5d2ee3bb946333bec267c337858c2eaa87c
/tests/bhive/test_asciichart.py
33f157a84494dea26f1582b0203b3aa21810eb53
[ "MIT" ]
permissive
TheCrazyGM/bhive
93b237140def25a8cb4de0160678db116b45d4e0
1494e90a99123ecfc5efbd927258f9ba59443e2e
refs/heads/master
2021-04-10T20:15:59.966431
2020-03-22T23:50:52
2020-03-22T23:50:52
248,962,200
3
1
NOASSERTION
2020-10-27T22:24:53
2020-03-21T11:29:02
Python
UTF-8
Python
false
false
1,211
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from builtins import bytes from builtins import range from builtins import super import string import random import unittest import base64 from pprint import pprint from b...
[ "thecrazygm@gmail.com" ]
thecrazygm@gmail.com
71f6ad5a698c326f96d84161d38f7a08056340a5
75e03232591b263a50523d7cfef4041db36caf01
/VMWsolutions/at2-vclient-032/cft/disable_node_otp.py
e3092e047d6ae3d778a3ded3eac14088fc42a51c
[]
no_license
adamkittel/src
aaf157062d069998a8d18841895e7362cf868ff9
11e3927bd990b885eba595346694de2d2601d5c9
refs/heads/master
2021-01-11T16:13:14.592894
2017-01-25T18:29:09
2017-01-25T18:29:09
80,040,934
0
0
null
null
null
null
UTF-8
Python
false
false
3,634
py
#!/usr/bin/python """ This action will disable OTP on a set of nodes When run as a script, the following options/env variables apply: --node_ips The list of node management IP addresses SFNODE_IPS --ssh_user The nodes SSH username SFSSH_USER env var --ssh_pass The node...
[ "adam.kittel@solidfire.com" ]
adam.kittel@solidfire.com
366fff143610fe845b7b6e6395ef18c03343fd2a
a468016412cc2b435501de4d3ee5c4d2be5fa19f
/coupons/models.py
305be09c0686ea6f5f965be1fc9468e3968e0bac
[]
no_license
sadakchap/first-full-ecom
ef022596c05c29cae0842bae34d201cd4af08b93
881b39ec60dff3aef04105e3d08e3be3e16f6420
refs/heads/master
2020-08-07T05:02:48.165873
2019-10-07T06:16:16
2019-10-07T06:16:16
213,308,847
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
from django.db import models from django.core.validators import MinValueValidator,MaxValueValidator # Create your models here. class Coupon(models.Model): code = models.CharField(max_length=255,unique=True) valid_from = models.DateTimeField() valid_to = models.DateTimeField() discount = mo...
[ "aliceprerna@gmail.com" ]
aliceprerna@gmail.com
5f4574f19704732b35e9a1608f3760eaacfdcd64
bd93fa910151c278be8249055bc084e5a5c35a6a
/Python/itcast/01-Python进阶1/3面向对象/02魔法方法str.py
87b7cb966fb02fd2b8c31c726aea63b56963dabb
[]
no_license
ahojcn/practice-code
bd81595b80239cd2550183093566bd536a83ed3f
b65f4e76271479269463e92fd3fd41585c2ac792
refs/heads/master
2021-07-10T14:15:08.036592
2020-07-09T11:32:16
2020-07-09T11:32:16
153,059,349
2
2
null
null
null
null
UTF-8
Python
false
false
717
py
""" __str__ 相当于 Java 中的 toString() """ class Cat: def __init__(self, name, age, sex): self._name = name self._age = age self._sex = sex def __str__(self): return "姓名:" + self._name \ + "年龄:" + str(self._age) \ + "性别:" + self._sex def eat(self): ...
[ "hanoi_ahoj@icloud.com" ]
hanoi_ahoj@icloud.com
e81a46145ac0da82da2536133a7c0a69c8ffc392
7c82896f5322ffd5d61697ed597f4d2c53e4e744
/backend/ecommernce_25667/wsgi.py
16d515f35532223e7e77c29bf39f2a5ff06566df
[]
no_license
crowdbotics-apps/ecommernce-25667
c4487f6c19a3d4dc608fd2a13291f74c84b53dc7
55dd1c6293fcfbec01aec7e8e0118ed8b1c48130
refs/heads/master
2023-04-02T00:48:51.026549
2021-04-13T19:40:25
2021-04-13T19:40:25
357,668,171
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" WSGI config for ecommernce_25667 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJA...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
539f8f2da156d8b3ce8a755659f688fe6ee1d71e
a1119965e2e3bdc40126fd92f4b4b8ee7016dfca
/branches/nacl_repy/seattlelib/serialize.repy
29a142d7996092ac9787ccb13497c54fdc3571d5
[ "MIT" ]
permissive
SeattleTestbed/attic
0e33211ddf39efdbcf5573d4fc7fa5201aa7310d
f618a962ce2fd3c4838564e8c62c10924f5df45f
refs/heads/master
2021-06-10T23:10:47.792847
2017-05-15T12:05:43
2017-05-15T12:05:43
20,154,061
0
1
null
2014-10-16T17:21:06
2014-05-25T12:34:00
Python
UTF-8
Python
false
false
6,493
repy
""" Author: Justin Cappos Start date: October 9th, 2009 Purpose: A simple library that serializes and deserializes built-in repy types. This includes strings, integers, floats, booleans, None, complex, tuples, lists, sets, frozensets, and dictionaries. There are no plans for including objects. Note: that all item...
[ "USER@DOMAIN" ]
USER@DOMAIN
80475aeee17df3cba099d4d162c7d768068d604d
6c219c027c7d0ef454bdeac196bd773e8b95d602
/cms/jumboecms/jumboecms_slide_id_sqli.py
2b692758481ff7bb88275db2b44434dd22f770e3
[]
no_license
aStrowxyu/pocscan
663f3a3458140e1bce7b4dc3702c6014a4c9ac92
08c7e7454c6b7c601bc54c21172c4788312603b1
refs/heads/master
2020-04-19T10:00:56.569105
2019-01-29T09:31:31
2019-01-29T09:31:31
168,127,418
4
0
null
null
null
null
UTF-8
Python
false
false
1,432
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' name: JumboECMS V1.6.1 注入漏洞 referer: http://www.wooyun.org/bugs/wooyun-2010-062717 author: Lucifer description: 文件/plus/slide.aspx参数id存在SQL注入。 ''' import sys import requests import warnings from termcolor import cprint class jumboecms_slide_id_sqli_BaseVerify: def ...
[ "wangxinyu@vackbot.com" ]
wangxinyu@vackbot.com
fff42786877735c43c12c0b6b7b613c376845e8c
6375b7e4dfe11ced7dcd3fad1a7a2de9a504910d
/exc7_more_print.py
9a734f30db2a725ccfb434e3859ea93eda66107f
[]
no_license
yaowenqiang/lpthw
b65e6b8ce576e7caa5cfba5570550e546d1e0549
4bbd7ebb4e8c570a39bf9c55df9bd97e4f86e1e5
refs/heads/master
2020-04-01T10:57:32.959389
2019-05-01T09:27:25
2019-05-01T09:27:25
153,140,026
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
print("Mary had a little lamb.") print("Its fleece was white as {}.".format("snow")) print("And everywhere that Mary went.") print("." * 10) end1 = "c" end2 = "h" end3 = "e" end4 = "e" end5 = "s" end6 = "e" end7 = "b" end8 = "u" end9 = "r" end10 = "g" end11 = "e" end12 = "r" print(end1 + end2 + end3 + end4 +...
[ "yaowenqiang111@163.com" ]
yaowenqiang111@163.com
c0bca8d865bf372c3ad7e16a347e11b50c5bd363
6a7058009587e78b5c758ff783410325ad7c2a4b
/leet/trees/serializeDeserialize.py
11901325add1a326d48e38679f57ee4d830890e5
[ "Apache-2.0" ]
permissive
stacykutyepov/python-cp-cheatsheet
8b96b76403c501f5579befd07b3c4a4c69fe914e
a00a57e1b36433648d1cace331e15ff276cef189
refs/heads/master
2023-07-16T13:26:35.130763
2021-08-30T11:23:39
2021-08-30T11:23:39
401,442,535
2
0
null
null
null
null
UTF-8
Python
false
false
1,345
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Codec: def serialize(self, root): """Encodes a tree to a single string. :type root: TreeNode :rtype: str ...
[ "peterrlamar@gmail.com" ]
peterrlamar@gmail.com
ae112f60c472608d64fea6061820870ce341dd5c
048df2b4dc5ad153a36afad33831017800b9b9c7
/atcoder/arc030/arc030_2.py
fb80908cb169ecdb2886d69d72282652698d8452
[]
no_license
fluffyowl/past-submissions
a73e8f5157c647634668c200cd977f4428c6ac7d
24706da1f79e5595b2f9f2583c736135ea055eb7
refs/heads/master
2022-02-21T06:32:43.156817
2019-09-16T00:17:50
2019-09-16T00:17:50
71,639,325
0
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
def reduce_graph(root, children, houseki): def rec_dfs(node): removals = [] for c in children[node]: if not rec_dfs(c): removals.append(c) for i in removals[::-1]: children[node].remove(i) if len(children[node]) == 0 and houseki[node] == 0: ...
[ "nebukuro09@gmail.com" ]
nebukuro09@gmail.com
71724e17def474442e5c246dd126c278d482fb73
74482894c61156c13902044b4d39917df8ed9551
/test/test_get_contract_details_by_address_response_item.py
924e6c10948054f2f336b69dea39bc685b9e522f
[ "MIT" ]
permissive
xan187/Crypto_APIs_2.0_SDK_Python
bb8898556ba014cc7a4dd31b10e24bec23b74a19
a56c75df54ef037b39be1315ed6e54de35bed55b
refs/heads/main
2023-06-22T15:45:08.273635
2021-07-21T03:41:05
2021-07-21T03:41:05
387,982,780
1
0
NOASSERTION
2021-07-21T03:35:29
2021-07-21T03:35:29
null
UTF-8
Python
false
false
1,353
py
""" CryptoAPIs Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of thei...
[ "kristiyan.ivanov@menasoftware.com" ]
kristiyan.ivanov@menasoftware.com
3a48961a4b6dd2e091a6c553297caabc8dfe0bf9
8501165bbbc6acf017b062c846a3ef7ef8624dc0
/dataframes.py
5e95c158a85cf9e26deb466f6ef7e8a54bd9025e
[]
no_license
olavosamp/spark_tutorial
df9edcc3cf82fc2103dd4f889e13eec22f97fbcc
c80d0e8259eda0dc443c3af259a3b11241ba63fa
refs/heads/master
2023-03-29T09:20:08.279790
2021-03-26T20:01:40
2021-03-26T20:01:40
351,897,858
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
from pyspark.sql import SparkSession from pyspark.sql.types import StructType, StructField, StringType, IntegerType spark = SparkSession.builder.master("local[1]").appName("SparkbyExamples.com").getOrCreate() data = [ ("George", "M", 12), ("Adolf","M", 14), ("Emilia","F", 16), ] print("\nOriginal RDD") rd...
[ "olavosamp@poli.ufrj.br" ]
olavosamp@poli.ufrj.br
ef0aaacd8fedf13c8a18d46944b7df0927c88d38
e905abd9bb7bd7017657d0a0c4d724d16e37044c
/.history/article/spiders/ieee_20210206223025.py
4220b80e3f61daeddb62f3b9b60b2bc1a791ce13
[]
no_license
tabdelbari/articles
a8b921841f84fb473f5ed1cdcda743863e6bc246
f0e1dfdc9e818e43095933139b6379a232647898
refs/heads/main
2023-03-05T10:21:35.565767
2021-02-10T13:35:14
2021-02-10T13:35:14
325,654,973
0
0
null
null
null
null
UTF-8
Python
false
false
4,534
py
import scrapy import logging import re from scrapy_splash import SplashRequest, request from article.items import ArticleItem import json class IeeeSpider(scrapy.Spider): name = 'ieee' allowed_domains = ['ieee.org'] lua_script = """ function main(splash, args) assert(splash:go{ splash.ar...
[ "abdelbari1996@hotmail.com" ]
abdelbari1996@hotmail.com
3cd9bfc221cf246f3a393362774ee3f9883a9923
288a00d2ab34cba6c389b8c2444455aee55a8a95
/tests/data23/recipe-496895.py
705c281fd7ebdc79fa6b70e2cc5c4d5bbf46119c
[ "BSD-2-Clause" ]
permissive
JohannesBuchner/pystrict3
ffd77b7bbc378bd4d8f21b5c6bd69a0d64a52ddb
18b0dd369082422f9bf0f89c72e7acb53a49849c
refs/heads/master
2023-08-14T06:37:37.954880
2023-07-13T11:16:38
2023-07-13T11:16:38
268,571,175
1
1
null
null
null
null
UTF-8
Python
false
false
3,143
py
import string def rebase(i, frombase=None, tobase=None, fromalphabet=None, toalphabet=None, resize=1, too_big=40000, debug=False): ''' if frombase is not specified, it is guessed from the type and/or char in i with highest ord. tobase defaults to [10, 2][frombase == 10]. the alphabets are map(chr, ...
[ "johannes.buchner.acad@gmx.com" ]
johannes.buchner.acad@gmx.com
e54a39dbfad7a724eeeaa1ef31bddec82f0bd60a
b5ca0a2ce47fdb4306bbdffcb995eb7e6eac1b23
/Problem Solving/Algorithms/Strings/Strong Password/Strong_Password.py
ffab59cbf509d72ada08350dae73075e23cc95ca
[]
no_license
rsoemardja/HackerRank
ac257a66c3649534197b223b8ab55011d84fb9e1
97d28d648a85a16fbe6a5d6ae72ff6503a063ffc
refs/heads/master
2022-04-14T22:46:03.412359
2020-04-03T07:44:04
2020-04-03T07:44:04
217,687,370
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
#!/bin/python3 import math import os import random import re import sys # Complete the minimumNumber function below. def minimumNumber(n, password): # Return the minimum number of characters to make the password strong count = 0 if any(i.isdigit() for i in password)==False: count+=1 if any(i.i...
[ "rsoemardja@gmail.com" ]
rsoemardja@gmail.com
0250af5de2c470cdfe5b35e79ad11ff9fecf0505
b3aa3d77836fa8f05b54d68e7bd6bff19dced90d
/Atcoder/166/F.py
cebe95a2befd384d575177108224c95f438c7ef8
[]
no_license
anoubhav/Codeforces-Atcoder-Codechef-solutions
660c5b78723791bc33b1d51977bf11ebe6dfe4c1
aeebcae332af64aba49f52261d11aa6996f33b1c
refs/heads/master
2022-12-08T14:02:49.574928
2020-08-29T14:18:30
2020-08-29T14:18:30
255,004,401
0
0
null
null
null
null
UTF-8
Python
false
false
878
py
n, a, b, c = list(map(int, input().split())) slist = [] d = {'A': a, 'B':b, 'C':c} soln = [] prev = None for i in range(n): s = input() # corner case if prev: if prev[0] in s: d[prev[0]] += 1 d[prev[1]] -= 1 soln.append(prev[0]) else: ...
[ "anoubhav.agarwaal@gmail.com" ]
anoubhav.agarwaal@gmail.com
3bc0fa150804ea42ba257f13005f8613c6d86e46
d3dc206446cffc919a7b3fb0838ca0ef14043e04
/redditbot/worker.py
3af98330efac68cb5f8d935bf1d5e72af2b2adfd
[]
no_license
gtmanfred/redditbot
70ff2e2d1a63a4d272db93301ebb4f21acf16dae
05d8f24620c9a3847c7e0c37ae8015e048af312e
refs/heads/master
2020-04-18T14:56:02.289674
2015-10-19T01:22:40
2015-10-19T01:22:40
42,025,013
2
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
from kombu.connection import BrokerConnection from kombu.mixins import ConsumerMixin from blinker import signal import logging from redditbot.queues import task_queues logger = logging.getLogger(__name__) class Worker(ConsumerMixin): def __init__(self, connection, config): self.connection = BrokerConnec...
[ "danielwallace@gtmanfred.com" ]
danielwallace@gtmanfred.com
1287031215a5c2e62234091f3722019c1952123e
3bcc247a2bc1e0720f0344c96f17aa50d4bcdf2d
/第三阶段笔记/x.py
9a4ea86bafae287fe00bb41414f17d9df388718a
[]
no_license
qianpeng-shen/Study_notes
6f77f21a53266476c3c81c9cf4762b2efbf821fa
28fb9a1434899efc2d817ae47e94c31e40723d9c
refs/heads/master
2021-08-16T19:12:57.926127
2021-07-06T03:22:05
2021-07-06T03:22:05
181,856,924
0
0
null
null
null
null
UTF-8
Python
false
false
1,542
py
import time HTML_ROOT_DIR="./static" PYTHON_DIR="./wsgiPy" class Application(object): def __init__(self,urls): self.urls=urls def __call__(self,env,set_headers): path=env.get('PARH_INFO','/') if path.startswith('static'): file_name=path[7:] try: fd...
[ "shenqianpeng@chengfayun.com" ]
shenqianpeng@chengfayun.com
09dc93bf160fae79ae292d82e8e5f44287276cfe
70bee1e4e770398ae7ad9323bd9ea06f279e2796
/openapi_client/models/waas_path.py
628e708d4edce2b96dbb415798f282ec876d858b
[]
no_license
hi-artem/twistlock-py
c84b420b1e582b3c4cf3631eb72dac6d659d4746
9888e905f5b9d3cc00f9b84244588c0992f8e4f4
refs/heads/main
2023-07-18T07:57:57.705014
2021-08-22T04:36:33
2021-08-22T04:36:33
398,637,698
0
0
null
null
null
null
UTF-8
Python
false
false
4,597
py
# coding: utf-8 """ Prisma Cloud Compute API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 21.04.439 Generated by: https://openapi-generator.tech """ try: from inspect import getfulla...
[ "aakatev@virtru.com" ]
aakatev@virtru.com
a536bdcbf7d2e262cdcd57fb7576a6c706c7c063
fcbf910c46991955159a11a34573d3bbb2c8bb90
/test/serial/mf_mapping.py
fa9f5612f9e55757f82782376fecec5ea9607cbd
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
xunzhang/paracel
59114aa63e46b844e56e1089dae633e55150875a
553598a1f4c942c80157adfc23c2cd3fe0dab333
refs/heads/develop
2020-05-19T08:57:50.643425
2015-06-14T16:44:49
2015-06-14T16:44:49
14,230,290
13
3
null
2014-12-09T16:24:44
2013-11-08T10:37:14
C++
UTF-8
Python
false
false
3,221
py
#! /usr/bin/env python # # Matrix factorization with bias # import numpy as np class mf(): def __init__(self, k = 100, rounds = 10, alpha = 0.001, beta = 0.01, train_fn = '', pred_fn = '', output = ''): self.k = k self.rounds = rounds self.alpha = alpha self.beta = beta self.train_fn = train_fn self....
[ "xunzhangthu@gmail.com" ]
xunzhangthu@gmail.com
cb02f43cde2d805ac8b14cabc69256dfad851d6a
fec36e7493a78575cd0320bf31c5080649863a06
/src/views/feature_value/list.py
2294b96b083b882991877221f5e144dc233b810e
[]
no_license
teimurjan/eye8-backend
6f44e830dd17dcac8b23acc3b66b9918357f643b
bf0a4c894a5b3770fada269d8b4d7d72367ab1ba
refs/heads/master
2023-06-30T01:34:38.358903
2021-06-23T10:06:29
2021-06-23T10:06:29
273,144,546
0
0
null
null
null
null
UTF-8
Python
false
false
2,287
py
from src.validation_rules.feature_value.create import ( CreateFeatureValueData, CreateFeatureValueDataValidator, ) from typing import Type from src.serializers.feature_value import FeatureValueSerializer from src.constants.status_codes import OK_CODE from src.errors import InvalidEntityFormat from src.services....
[ "teymurgg321@gmail.com" ]
teymurgg321@gmail.com
3901eb30debbc1c94cf3d40f80aa71a9a4ffbaa1
0b514feea82eaa2e341130d9e23d13d72271d644
/2.Jump_to_python/Python07.py
99deebb9aeec73d60845d030c9ca5481a5b33cec
[]
no_license
Jerrykim91/FromZero
f8478012130948a11978a46ab6ec7922cb354a8f
fdd5a0716b29c77019cfcd1e1eab7ed4afd1aed4
refs/heads/master
2022-12-25T15:04:22.656462
2020-10-10T14:35:06
2020-10-10T14:35:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,514
py
# 모듈화 + 패키지 # + 모듈가져오기, 테스트 코드 배치 , 모듈가져오기 , 패키지 사용 # 모듈 # 함수나 변수 또는 클래스를 모아 놓은 파일이다. # => 확장자가.py파일 # mod.py,__init__.py,p1.py, p2.py,... # import 모듈이름 # 모듈이름.함수 모듈이름을 안쓰려면 -> from 모듈이름 import 모듈함수 # from mod1 import* -> * (모든것)을 의미 # 모듈화의 대상 => 변수, 함수, 클래스 <= 요소를 가져다 내것 처럼 사용가능 # ...
[ "sun4131@gmail.com" ]
sun4131@gmail.com
94d03e9f0f7b8cec3c47cc368593566e2ada6fad
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_magnesia.py
9193757fb3463cb627d30a16deadeb1b54c32ebb
[ "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
327
py
#calss header class _MAGNESIA(): def __init__(self,): self.name = "MAGNESIA" self.definitions = [u'a white substance used in stomach medicines'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []): return self.js...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
34b0a3903fbab558986e74b115ebb5bf14cae7a3
7c857119fe1505b1d80d6e62969661c06dc1a2f4
/BaseTools/Source/Python/GenFds/VerSection.py
7280e80cb4ef7ce47524af2de67a3c2e84cf5a33
[ "BSD-2-Clause" ]
permissive
CloverHackyColor/CloverBootloader
7042ca7dd6b513d22be591a295e49071ae1482ee
2711170df4f60b2ae5aa20add3e00f35cf57b7e5
refs/heads/master
2023-08-30T22:14:34.590134
2023-08-27T19:14:02
2023-08-27T19:14:02
205,810,121
4,734
770
BSD-2-Clause
2023-09-03T12:41:33
2019-09-02T08:22:14
C
UTF-8
Python
false
false
2,917
py
## @file # process Version section generation # # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> # # SPDX-License-Identifier: BSD-2-Clause-Patent # ## # Import Modules # from __future__ import absolute_import from .Ffs import SectionSuffix import Common.LongFilePathOs as os from...
[ "isakov-sl@bk.ru" ]
isakov-sl@bk.ru
b197dbe5eb039338439bb8c6b3e6fb20f0f80e18
db1247a3999e3f22db025639d09a605082ded89d
/grid/urls.py
4da7303e5324e7da6e0f39e3e8d1faa61df9ca6a
[ "MIT" ]
permissive
wise-team/hiveprojects.io
1614deb0e4df5fe19cf62dbdb4d8d2741173c6b0
96e15a53f02c7327fe982a06b2dce56cd130e38c
refs/heads/master
2022-12-12T18:44:35.221892
2020-03-27T21:50:03
2020-03-27T21:50:03
248,597,914
5
1
MIT
2022-11-22T01:59:55
2020-03-19T20:24:59
Python
UTF-8
Python
false
false
2,093
py
"""grid url patterns""" from django.conf.urls import url from grid import views from grid.views import ( add_feature, add_grid, add_grid_package, add_new_grid_package, ajax_grid_list, delete_feature, delete_grid_package, edit_element, edit_grid, ...
[ "noisy.pl@gmail.com" ]
noisy.pl@gmail.com
c5ad1b5d232b6458e70b9d7459d2978fcf989724
1bde114a847c629701e3acd004be5788594e0ef1
/Examples/PatternRefactoring/trashvisitor/Visitor.py
29bc5089c2ffa37d3322ce93d7a97ca546f4a1f4
[]
no_license
BruceEckel/ThinkingInPython
0b234cad088ee144bb8511e1e7db9fd5bba78877
76a1310deaa51e02e9f83ab74520b8269aac6fff
refs/heads/master
2022-02-21T23:01:40.544505
2022-02-08T22:26:52
2022-02-08T22:26:52
97,673,620
106
33
null
2022-02-08T22:26:53
2017-07-19T04:43:50
Python
UTF-8
Python
false
false
215
py
# PatternRefactoring/trashvisitor/Visitor.py # The base class for visitors. class Visitor: def visit(self, Aluminum a) def visit(self, Paper p) def visit(self, Glass g) def visit(self, Cardboard c)
[ "mindviewinc@gmail.com" ]
mindviewinc@gmail.com
d8efecb43d9198e3dd2221f4e39fb241646378fc
0032d988541e85c47b5034c20ecf88220dde5a95
/openbook_posts/migrations/0026_auto_20190414_1620.py
242d6b7b2f6ad2429773288abeaee56f0fb9ccf8
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
OkunaOrg/okuna-api
eabd37fef9d2be59b590ed8d72bee084ac377997
f87d8e80d2f182c01dbce68155ded0078ee707e4
refs/heads/master
2022-02-04T21:31:10.577601
2021-12-28T18:20:39
2021-12-28T18:20:39
151,052,951
185
92
MIT
2022-01-13T01:00:40
2018-10-01T07:44:46
Python
UTF-8
Python
false
false
444
py
# Generated by Django 2.2 on 2019-04-14 14:20 from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('openbook_posts', '0025_post_is_edited'), ] operations = [ migrations.AlterField( model_name='post', name='...
[ "joel@open-book.org" ]
joel@open-book.org
a9194341e115335348649466389655b10bc7ccd4
caa05194b8f11f29a19767c94fdc93628be694d5
/nemo/collections/nlp/modules/common/transformer/transformer_decoders.py
910a7104ea24d2870a596d91e46359933d887e99
[ "Apache-2.0" ]
permissive
Jimmy-INL/NeMo
a589ab0ab97b9ccb8921579670e80c470ce7077b
6a3753b3013dc92a3587853d60c5086e2e64d98f
refs/heads/main
2023-04-02T22:28:29.891050
2021-04-13T18:22:24
2021-04-13T18:22:24
357,681,603
1
0
Apache-2.0
2021-04-13T20:34:12
2021-04-13T20:34:12
null
UTF-8
Python
false
false
8,169
py
# Copyright (c) 2020, NVIDIA CORPORATION. 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" ]
Jimmy-INL.noreply@github.com
08541c40fee9474b87a66113054f486ea71f0e98
ba0e07b34def26c37ee22b9dac1714867f001fa5
/azure-mgmt-network/azure/mgmt/network/models/network_interface.py
fa19b8e2ad03dfa74bef269fdcb7d724b08d0661
[ "MIT" ]
permissive
CharaD7/azure-sdk-for-python
b11a08ac7d24a22a808a18203072b4c7bd264dfa
9fdf0aac0cec8a15a5bb2a0ea27dd331dbfa2f5c
refs/heads/master
2023-05-12T12:34:26.172873
2016-10-26T21:35:20
2016-10-26T21:35:20
72,448,760
1
0
MIT
2023-05-04T17:15:01
2016-10-31T15:14:09
Python
UTF-8
Python
false
false
4,531
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
cbc244e711bf6a4c305a2d03973ffb5ac09658b0
85a6fcace7eaff15242595bdf9b9e8f41116dc7f
/Round A/workout.py
7d0a0bd6e2ed76a2a224a03c3a89e1a9f3b430f1
[ "MIT" ]
permissive
Meenadshi/GoogleKickStart-2020
e0dfd4f2e44a39c5c58de034265baf2fc7a81f9b
7c60b5a7a6c9daaf3f20b28d6b60aab19f5f22df
refs/heads/main
2023-08-15T23:41:31.484139
2021-10-17T00:34:58
2021-10-17T00:34:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
874
py
# Copyright (c) 2020 kamyu. All rights reserved. # # Google Kick Start 2020 Round A - Problem C. Workout # https://codingcompetitions.withgoogle.com/kickstart/round/000000000019ffc7/00000000001d3f5b # # Time: O(Nlog(MAX_DIFF)) # Space: O(1) # def check(M, K, target): count = 0 for i in xrange(1, len(M)): ...
[ "kamyu104@gmail.com" ]
kamyu104@gmail.com
ab81b868a0040eb8cd4674fd20d3f934f5141499
981ecc9cf59dd6f839c3e40d26601efb1d073558
/src/face_recognition/youtube_dl/extractor/tf1.py
e595c4a69b3f03361abc05f6bca61adecb61cf36
[ "MIT" ]
permissive
lodemo/CATANA
469e0684b816f09ac74f186552b463cc77db369e
a349f460772511ccbb16429b40bfb50f774d45d4
refs/heads/master
2023-03-30T04:07:12.070332
2021-02-03T21:47:32
2021-02-03T21:47:32
102,767,095
12
6
MIT
2023-03-24T21:55:24
2017-09-07T17:36:45
Jupyter Notebook
UTF-8
Python
false
false
2,239
py
# coding: utf-8 from __future__ import unicode_literals from .common import InfoExtractor class TF1IE(InfoExtractor): """TF1 uses the wat.tv player.""" _VALID_URL = r'https?://(?:(?:videos|www|lci)\.tf1|(?:www\.)?(?:tfou|ushuaiatv|histoire|tvbreizh))\.fr/(?:[^/]+/)*(?P<id>[^/?#.]+)' _TESTS = [{ '...
[ "moritzlode@gmail.com" ]
moritzlode@gmail.com
256a78690243b47369486b84acba56ba650f403c
4131625553ff59b4c730ae7148dd5d603d8cb87d
/hackerEarth/challenges/iitKanpurFreshersProgrammingContest2016/pokeluck.py
30419fb90a7798a46de3e00cf2d4155fda419afc
[ "MIT", "Apache-2.0" ]
permissive
odonnmi/learnNPractice
29034304303aab3827e6b3334b1d7d9d65b93e54
eb1c775e4d6e35cebb7b109b46b91f9aecb2d9ec
refs/heads/master
2020-12-04T14:52:00.520219
2019-09-03T06:30:03
2019-09-03T06:30:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,781
py
# Pokeluck ####################################################################################################################### # # Mewtwo is one of the rarest and most famous pokemons in thw pokemon world. If any pokemon gets to fight with # Mewtwo, he is considered to be "1-lucky". A pokemon that gets to fight w...
[ "sagarnikam123@gmail.com" ]
sagarnikam123@gmail.com
e4d0583561a6158725a236905afe2fbba09c6263
d1ad901e1e926d9c92ce4dc7a7ba3c6ee91a65e2
/spytest/apis/qos/qos.py
c4158600f29cdeb92e9d1a8b3ac6ac00fa192bab
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
SubhajitPalKeysight/sonic-mgmt
ff59c2c5baf53cc2575aea2d541278fc9cf56977
e4b308a82572996b531cc09cbc6ba98b9bd283ea
refs/heads/master
2022-12-31T01:03:47.757864
2020-10-15T11:04:37
2020-10-15T11:04:37
286,815,154
1
1
NOASSERTION
2020-08-11T18:08:34
2020-08-11T18:08:33
null
UTF-8
Python
false
false
5,034
py
import re from spytest.utils import filter_and_select from spytest import st import json def verify_qos_queue_counters(dut,port,queue_name,param_list,val_list,tol_list): ''' verifies QOS queue counters in the CLI show qos queue counters :param dut: Device name where the command to be executed :type dut...
[ "noreply@github.com" ]
SubhajitPalKeysight.noreply@github.com
6585fb31b416dfd35f83c956c594528d69b6d742
3fe5046326c0e6a63b9de6ab4de8f094f1e49614
/bin/indent-ged
165c4adbf540abe1e9a436dfd7f6e341711abfa8
[]
no_license
dave-shawley/ged-work
cc7d6b71a58e3ac05d94177c018efe969fc60e0d
1edc7d6c2b871d65668a7ec347a42d3727e615d1
refs/heads/master
2020-03-23T22:01:52.407922
2019-04-21T14:33:06
2019-04-21T14:33:06
142,148,536
1
0
null
null
null
null
UTF-8
Python
false
false
236
#!/usr/bin/env python # import sys with open(sys.argv[1], 'r+') as f: lines = f.readlines() f.seek(0) for line in lines: indent, rest = line.split(None, 1) f.write('\t' * int(indent)) f.write(line)
[ "daveshawley@gmail.com" ]
daveshawley@gmail.com
cefb634734daaaddf09a98024d5ec5e44fb354b5
edb88981aa1420af7e074068ed7818b9d904a3dd
/tags/release-0.4.2/minds/test/test_cachefile.py
550d17ef92064fd5da222650ab9c462809cf2eb8
[]
no_license
BackupTheBerlios/mindretrieve-svn
101c0f1dfc25d20d5f828b6fd0d43301b773af4e
463745fcf1c1d5b1f6c201c30bcc339c99b437ed
refs/heads/master
2021-01-22T13:57:31.225772
2006-04-28T04:24:43
2006-04-28T04:24:43
40,801,743
0
0
null
null
null
null
UTF-8
Python
false
false
1,722
py
""" """ import os, os.path, sys import unittest from config_help import cfg from minds import cachefile class TestCacheFile(unittest.TestCase): FILE1 = 'testcache' def setUp(self): self.pathname = os.path.join(cfg.getPath('logs'), self.FILE1) self.cleanup() def t...
[ "tungwaiyip@785ff9d5-dded-0310-b5f2-a5aff206d990" ]
tungwaiyip@785ff9d5-dded-0310-b5f2-a5aff206d990
788e4f26f9ce4a49e8009089a81dd509608996ca
1c527a1944264784ba6ed237a723376bdee47f02
/src/utl/strip_csv.py
0c3dc9fa82235b03ec8b3ca868c5a6d64b12ed89
[]
no_license
mikegleen/modes
3544517467b77ddb21ec50c2a624b98e0a7ea308
e77c89f28c623ce8fd30d7727a1b914461c6a0fd
refs/heads/master
2023-09-03T15:10:26.931110
2023-08-27T07:31:42
2023-08-27T07:31:42
139,562,349
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
""" For each cell in a CSV file, strip leading and trailing whitespace. """ import codecs import csv import sys def main(): incsv = codecs.open(sys.argv[1], 'r', 'utf-8-sig') outcsv = codecs.open(sys.argv[2], 'w', 'utf-8-sig') outwriter = csv.writer(outcsv) for row in csv.reader(incsv): fo...
[ "mike.gleen@gmail.com" ]
mike.gleen@gmail.com
08a13407b68ca6cda24394e7cdfc4eb4314bec1e
bc64931a5cdfed6d54a8d8828e9b9d4510d7a998
/test/multisig/commands/create_multisig_address_test.py
83ae9dbd6d76cdcf5210d0bea2085f4dc26f7cac
[ "MIT" ]
permissive
valentinlehuger/iota.lib.py
4b9ddfda9c283b4fde6d9ba6ab5d6c1add5cd920
e345de981829a36ceaccf3862835c0dd28486950
refs/heads/master
2021-01-19T12:26:09.709236
2017-07-16T01:19:39
2017-07-16T01:19:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,866
py
# coding=utf-8 from __future__ import absolute_import, division, print_function, \ unicode_literals from unittest import TestCase import filters as f from filters.test import BaseFilterTestCase from iota import TryteString from iota.adapter import MockAdapter from iota.crypto.types import Digest from iota.filters i...
[ "phx@phx.ph" ]
phx@phx.ph
eb7ae1ac126c5b743c4c5ef5c4ccf26c00e3fe0b
6468584be4f1400ca18dabe59a5c0f05e1f45b03
/dsl/features/create_ngram_matrix.py
6e9dd4263e7604fd6bf0246dd03e788605d20f6d
[ "MIT" ]
permissive
juditacs/dsl
824e04e77d7bf44aab7e0b820b3f36fea9f09e87
d6212cb2ff0755ceed8f37ee2f80ab47c9dc780c
refs/heads/master
2021-01-14T13:21:52.215072
2020-04-16T09:32:02
2020-04-16T09:32:02
35,669,552
2
0
null
null
null
null
UTF-8
Python
false
false
1,825
py
from sys import argv, stderr import cPickle from featurize import Tokenizer, Featurizer from dsl.representation.model import Representation def main(): N = int(argv[1]) if len(argv) > 1 else 3 t = Tokenizer(filter_punct=True, ws_norm=True, strip=True, replace_digits=True) f = Featurizer(t, N=N) f.fea...
[ "judit@sch.bme.hu" ]
judit@sch.bme.hu
4f31d3739a8a0169184bb538944118b6f95aec4a
fd4df5cf34f8427153bf01d25c39ded9315b8d6a
/tests/test_ram.py
7a12aff7cec9d97af7a57edbc2623b3b2f0b1518
[ "BSD-2-Clause" ]
permissive
jepebe/nes
9ac00e89cf474b7811020d18bf7fd8f15b556339
79e6ad689473b7a3a4f3b6d7cf2c381220fcf140
refs/heads/master
2023-01-05T22:38:30.714836
2020-10-26T07:33:10
2020-10-26T07:33:10
300,615,959
1
1
null
2020-10-26T07:33:11
2020-10-02T13:01:36
Python
UTF-8
Python
false
false
567
py
from nes.bus import Bus class TestCartridge: def cpu_write(self, addt, value): return None def cpu_read(self, addr): return None def test_ram(): bus = Bus() bus.insert_cartridge(TestCartridge()) for addr in range(0x0000, 0x800): bus.cpu_write(addr, 0xff) assert b...
[ "jepebe@users.noreply.github.com" ]
jepebe@users.noreply.github.com
af1f62d0bf863e6597fbe007f00340142d4450ce
16b2c2365eff11f34ae260321e6dde78ab09b45d
/api/api_services/PersonService.py
14c5f4056460582f3abd2dd4a7f5dc56475455ed
[]
no_license
laken11/TMS
bf941802e350a16db0f2314330ad315e73ce48f0
c271f2cbb1624ab943c10bacaa6406ec8ca08083
refs/heads/dev
2023-04-27T22:03:38.811267
2021-05-08T12:06:54
2021-05-08T12:06:54
362,518,465
0
0
null
2021-05-05T10:07:54
2021-04-28T15:27:28
Python
UTF-8
Python
false
false
1,823
py
from abc import ABCMeta, abstractmethod from typing import List from api.api_dto.PersonDto import * from api.api_repository.PersonRepository import PersonRepository class PersonManagementService(metaclass=ABCMeta): @abstractmethod def create_person(self, model: CreatePersonDto): """Create a person ob...
[ "omitogunopeyemi@gmail.com" ]
omitogunopeyemi@gmail.com
7fc48ac64107c97a8357f111ccd641bcaaf880af
aca01c2d073cc9ca2b71e12b8ed87a13a3d61438
/design-patterns/src/iterators-ksiazka-adresowa.py
bed9ad1fa41d7eb0c99cdd60435c1395e01f065b
[ "MIT" ]
permissive
sli1989/book-python
ee2ee0f37b3173b6921db722a4cb2593d6df1f2b
51ea279bcc26c4b9b8a1d726e2683c019a28d62b
refs/heads/master
2020-04-15T11:39:07.209256
2019-01-06T23:27:55
2019-01-06T23:27:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
class Kontakt: def __init__(self, imie, nazwisko, adresy=[]): self.imie = imie self.nazwisko = nazwisko self.adresy = adresy class Adres: def __init__(self, **kwargs): for key, value in kwargs.items(): setattr(self, key, value) kontakt = Kontakt(imie='Pan', nazwis...
[ "matt@astrotech.io" ]
matt@astrotech.io
d8074cdceef3099fac3b9fe5188dce7732392b2d
c8efab9c9f5cc7d6a16d319f839e14b6e5d40c34
/source/Clarification/Backtracking/生成括号.py
79c4cbc77e31405a0b2e94b1f993c9dc312741f0
[ "MIT" ]
permissive
zhangwang0537/LeetCode-Notebook
73e4a4f2c90738dea4a8b77883b6f2c59e02e9c1
1dbd18114ed688ddeaa3ee83181d373dcc1429e5
refs/heads/master
2022-11-13T21:08:20.343562
2020-04-09T03:11:51
2020-04-09T03:11:51
277,572,643
0
0
MIT
2020-07-06T14:59:57
2020-07-06T14:59:56
null
UTF-8
Python
false
false
685
py
# 给出 n 代表生成括号的对数,请你写出一个函数,使其能够生成所有可能的并且有效的括号组合。 # # 例如,给出 n = 3,生成结果为: # # [ # "((()))", # "(()())", # "(())()", # "()(())", # "()()()" # ] class Solution: def generateParenthesis(self, n: int) -> List[str]: ans = [] def backtrack(s='',left=0,right=0): if len(s...
[ "mzm@mail.dlut.edu.cn" ]
mzm@mail.dlut.edu.cn
309933581c5906d2db8e8db38c4eb5949f694987
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03157/s868052818.py
ec6805ad1b92df0a841e5a07b2af49a175993650
[]
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
1,370
py
from collections import defaultdict H, W = map(int, input().split()) S = [input() for _ in range(H)] es = defaultdict(list) # あるマスについて左右見なくても右に向かってみていけば逆もとれる for i in range(H): for j in range(W): if j < W-1 and S[i][j] != S[i][j+1]: es[(i,j)].append((i,j+1)) es[(i,j+1)].append(...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
79db950c2f9450ff729d2ac03f6271965dd807cf
d5049c3b59b943a158389deaefe9c48970a43c6c
/Lab4/UI.py
e33e0458a9bc51d6e7bef9164a7954f72ed438a3
[]
no_license
LauraDiosan-CS/lab04-gatsp-DiosDuck
18e013df30b1a8d0e182190c693cad7da47e68d1
647ae011fa5edf7ea4a4187b684f351b0482c328
refs/heads/master
2022-04-22T20:47:47.311060
2020-03-27T17:59:05
2020-03-27T17:59:05
250,198,244
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
from Service import Service class UI(): def __init__(self): self.__service=None def main(self): while 1: try: x = input() if x == "0": return elif x == "1": file=input() ...
[ "noreply@github.com" ]
LauraDiosan-CS.noreply@github.com
eda7d59af2ae751d7b25d53cd82272fde7a20c7d
eb19175c18053e5d414b4f6442bdfd0f9f97e24d
/tests/contrib_django/test_converter.py
8c04699773df54369df8be04d36665643a5f9a55
[ "MIT" ]
permissive
jhgg/graphene
6c4c5a64b7b0f39c8f6b32d17f62e1c31ca03825
67904e8329de3d69fec8c82ba8c3b4fe598afa8e
refs/heads/master
2020-12-25T21:23:22.556227
2015-10-15T19:56:40
2015-10-15T19:56:40
43,073,008
1
0
null
2015-09-24T14:47:19
2015-09-24T14:47:19
null
UTF-8
Python
false
false
3,521
py
from py.test import raises from collections import namedtuple from pytest import raises import graphene from graphene import relay from graphene.contrib.django.converter import ( convert_django_field ) from graphene.contrib.django.fields import ( ConnectionOrListField, DjangoModelField ) from django.db impo...
[ "me@syrusakbary.com" ]
me@syrusakbary.com
2f961ffd53ac5c591c95cfb96f730b5bb45915e4
133e8c9df1d1725d7d34ea4317ae3a15e26e6c66
/python/数据结构与算法/02链表/单链表.py
9acd2da0cfb6f8e8a747ab11e1d4d6a83f289443
[ "Apache-2.0" ]
permissive
425776024/Learn
dfa8b53233f019b77b7537cc340fce2a81ff4c3b
3990e75b469225ba7b430539ef9a16abe89eb863
refs/heads/master
2022-12-01T06:46:49.674609
2020-06-01T08:17:08
2020-06-01T08:17:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,886
py
# -*- coding: utf-8 -*- class Node(object): def __init__(self, value=None, next=None): # 这里我们 root 节点默认都是 None,所以都给了默认值 self.value = value # 值 self.next = next # 链接域, 指针 def __str__(self): """方便你打出来调试,复杂的代码可能需要断点调试""" return '<Node: value: {}, next={}>'.form...
[ "1248644045@qq.com" ]
1248644045@qq.com
719ec5e11dce6e24bd6b5f91b3469b407c0160a1
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02257/s888628284.py
59550bf214754874e7673f5cf26d7edf5cc0ca07
[]
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
321
py
# -*- coding: utf-8 -*- def isPrime(p): if p == 2: return True elif p < 2 or p%2 == 0: return False elif pow(2, p-1, p) == 1: return True else: return False n = int(raw_input()) count = 0 for i in range(n): if isPrime(int(raw_input())): count += 1 print coun...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ed222c561a8364dd729c7da79f866fc6f3032907
8419f7d24df69a2cb92f04d7369c11c8141b0fcd
/tests/selection_test.py
50d2e7a9e5f36e1495360ba5839de57cc89d17e9
[ "MIT" ]
permissive
heyuqi1970/vaex
c1768eac9d5126e7efd1e139522feb9d65a7ecc9
867c180427a23e3b71df47305d7e8866b6673a98
refs/heads/master
2021-07-09T08:45:21.634354
2020-04-23T17:23:58
2020-04-23T17:23:58
242,555,084
2
0
MIT
2020-04-24T03:40:17
2020-02-23T16:54:13
Python
UTF-8
Python
false
false
6,325
py
from common import * def test_selection_basics(df): total = df["x"].sum() df.select("x > 5") df.select("x <= 5", name="inverse") counts = df.count("x", selection=["default", "inverse", "x > 5", "default | inverse"]) np.testing.assert_array_almost_equal(counts, [4, 6, 4, 10]) df.select("x <...
[ "maartenbreddels@gmail.com" ]
maartenbreddels@gmail.com
5c187cef52ac8e1006273cd22ea80940f0c1b7d1
485ba262357e10460c74482cd407003ac86886bb
/pyNastran/converters/openfoam/test_openfoam_gui.py
0d93a5f9986ab459a658b741ae5694fddee65246
[]
no_license
shangke00GitHub/pyNastran
13202f3f504dca044755088971176a407622425b
c4509df6ef6c3291c005caada831b443feee734f
refs/heads/master
2020-11-30T02:45:48.774507
2019-12-20T00:56:25
2019-12-20T00:56:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,090
py
import os import unittest from cpylog import get_logger import pyNastran from pyNastran.gui.testing_methods import FakeGUIMethods from pyNastran.converters.openfoam.block_mesh import read_block_mesh, mirror_block_mesh from pyNastran.converters.openfoam.face_file import FaceFile from pyNastran.converters.openfoam.openf...
[ "mesheb82@gmail.com" ]
mesheb82@gmail.com
1df490347f6ba150e4c18eda8adb09b65cfd0cbd
7ca50753ed3ff4c6115f8be3de675c91631c382f
/manage.py
8c8509f5ee95dfc01cb27aa14ab0dd2c753db751
[]
no_license
harrywang/flask-tdd-docker
a63ca86062dc05ab99591ef4ce609d90868f6e77
2677c52ae8dba84695d032fd309ee864f7fb2521
refs/heads/master
2023-05-11T15:44:04.689565
2020-03-21T20:00:57
2020-03-21T20:00:57
248,801,429
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
# manage.py import sys from flask.cli import FlaskGroup from project import create_app, db from project.api.users.models import User app = create_app() cli = FlaskGroup(create_app=create_app) @cli.command('recreate_db') def recreate_db(): db.drop_all() db.create_all() db.session.commit() @cli.comma...
[ "harryjwang@gmail.com" ]
harryjwang@gmail.com
561a473b6aa704f7d0651d89278fc1942b376384
b3528a3795ce373e27d52362128de3cff6f9969d
/python/orbs/target/password-generator/slices1589360571.263371/success/success_39_0.py
f1896f56cc09413b60c95ec2ce3c24bce6dab1fd
[]
no_license
greenmonn/daily-coding
43e0f3775678c7d6116df7ba5034ea18489d87c9
ef6ecc88e6db61e18364eef3ea071c11e1385a99
refs/heads/master
2023-01-14T04:59:14.130309
2021-02-08T23:32:56
2021-02-08T23:32:56
157,735,438
1
1
null
2022-12-21T02:13:17
2018-11-15T15:47:37
Python
UTF-8
Python
false
false
5,253
py
#!/usr/bin/env python3 # m4ngl3m3! v0.1.1 # Common password pattern generator using strings list # Follow (Medium / Twitter): @localh0t import argparse import sys import os from Mangler import ManglingParameters from Mangler import Mangler def build_parser(): """Add parser arguments and return an instance of A...
[ "greenmon@kaist.ac.kr" ]
greenmon@kaist.ac.kr
e382659fe44a65b3a060e2c0d9cb78015fd0bea2
28436c3e8d5f59f9011bfac7fcdef977c345aa7b
/2021-05-15/homework1.py
960425e000fa70c2621ff185c6e2e587beb46b6b
[]
no_license
engeeker/python-for-kid-2021
533d7b54ef23d99727642ba7a119e0a46577651b
783d3582c6e9009c23213378650160f7dc937409
refs/heads/main
2023-08-02T15:18:17.367567
2021-10-01T13:15:56
2021-10-01T13:15:56
347,414,400
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
import turtle import random p = turtle.Pen() color_list = ['red', 'yellow', 'blue', 'green'] p.speed(0) turtle.bgcolor('black') p.color(random.choice(color_list)) for i in range(200): p.forward(i * 2) p.left(91) turtle.Screen().exitonclick()
[ "xiaoquwl@gmail.com" ]
xiaoquwl@gmail.com
804b7d2aeaf690de61b0b87bbb40796c12287a2a
dfaf5cd5607c2c4e55ec9173d2d7ca12842db129
/104_findDiagonalOrder.py
add0e471b6091ea711a6ab960ca377f92f09bd77
[]
no_license
khinthandarkyaw98/Leetcode
2b0be053931b3ddec6309d136228dae1f4c61b2b
578f2a38d8a41864ebfd6c4e941f6915c7c0a508
refs/heads/master
2023-06-24T02:34:59.399319
2021-07-14T19:37:14
2021-07-14T19:37:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
import collections class Solution: def findDiagonalOrder(self, nums: List[List[int]]) -> List[int]: res = [] q = collections.deque() q.append((0,0)) while q: row, col = q.popleft() if col == 0 and row < len(nums)-1: q.append((row + 1, ...
[ "noreply@github.com" ]
khinthandarkyaw98.noreply@github.com
be4a4e2c0ee32b41a05520c16e30dac4c1106efe
922e923bdab099efa7161f5806ed262ba5cc84c4
/apps/documents/migrations/0006_boardmeetingaudio_boardmeetingvideo.py
22c1e2091ad36ddb3047bb2b82dd82b211ce2165
[ "MIT" ]
permissive
iamjdcollins/districtwebsite
eadd45a7bf49a43e6497f68a361329f93c41f117
89e2aea47ca3d221665bc23586a4374421be5800
refs/heads/master
2021-07-05T19:06:12.458608
2019-02-20T17:10:10
2019-02-20T17:10:10
109,855,661
0
0
null
null
null
null
UTF-8
Python
false
false
2,722
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-12-11 17:04 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('objects', '0005_auto_20171210_1447'), ('documents',...
[ "jd@iamjdcollins.com" ]
jd@iamjdcollins.com
71420c46e794fbf9129e80cd832982ba3453f560
c0836fbc0d26ec5b4fbef8b116536ee1573a63e3
/1_basic/2_pandas/pandas_15.py
c103bccdeca3d2290f5bb6aabbc243f1cc9500b8
[]
no_license
SungmanHan/machineLearningStudy
5e4c2869351cceddb6cd212323c4a710a97984cc
36854f946252158b2cdb18b6842f0c905d0811b1
refs/heads/master
2020-07-12T21:21:18.126845
2019-09-25T13:23:50
2019-09-25T13:23:50
204,908,533
0
0
null
null
null
null
UTF-8
Python
false
false
2,567
py
# -*- coding: utf-8 -*- import pandas as pd # 사이킷 런의 sklearn.datasets 패키지 내부의 # 학습 데이터를 로딩하는 코드 # (load_... 이름으로 함수가 정의되어 있음) from sklearn.datasets import load_iris # iris 데이터를 로딩하는 코드 iris_data = load_iris() # Bunch 클래스 타입의 값이 반환 # 파이썬의 딕셔너리와 유사한 타입으로 # 키값을 사용하여 데이터를 추출할 수 있음 print(type(iris_data)) # Bunch 클래스 k...
[ "hansung926@gmail.com" ]
hansung926@gmail.com
8edae035598a6bff9f6a7325d526abfd07cb3fab
e5ba55ac56d2d07aeebd7253fbe5d186196c9a52
/catkin_ws/catkin_ws/build/iai_kinect2/kinect2_registration/catkin_generated/pkg.installspace.context.pc.py
85e878c71d08a7cf827ee4e610db3258f4e5642e
[]
no_license
masiro97/darrsm
5305a3e7c1fba2635a4925b9e079f45b40162862
b881d00427d2af5d75ca509a191e57f2890e1ece
refs/heads/master
2021-05-10T21:57:17.760536
2018-01-20T15:13:56
2018-01-20T15:13:56
111,084,804
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/cun/catkin_ws/install/include;/usr/include".split(';') if "/home/cun/catkin_ws/install/include;/usr/include" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_...
[ "estrk7120@gmail.com" ]
estrk7120@gmail.com
542816beffb8b703f3ac06dfc3663090ffee2d00
b129c9b11e9d2c06114f45ce03a94f4f2a177119
/hugin/haproxy/filters/userstate.py
c25adced17d38446916ca97be7ca2a70eced1dc0
[]
no_license
pyfidelity/hugin.haproxy
a9e48e345b03ed9d361c0d6c8617135378f5c311
444e30350936883e7749c2371f394fa82c1644fe
refs/heads/master
2016-09-01T17:29:48.210244
2014-11-24T12:34:51
2014-11-24T12:34:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,529
py
# Userstate is about detecting when users switch backend node when session affinity is used. import re from hugin.haproxy import registerFilter from collections import deque COOKIEMATCH = re.compile('.*="?(?P<cookie>\S+)') class UserState(object): def __init__(self): self.duplicates = 0 # Redundant reloa...
[ "florian.schulze@gmx.net" ]
florian.schulze@gmx.net
0535d5b25645641c17f7429e27beadf5cbf303d1
1b6fd0e1da9aa6d28b19540887ffcb5233ac3692
/Resources/RP01/P01.3/sprites_001.py
8bd0fb678689dd03c92fa1ffe7d2cdabc160fd01
[]
no_license
rugbyprof/4443-2D-PyGame
a637cd1237f90ca30a484d9fb2b6738571777d8c
bba26f794bd85599cf0598c1c64feec59fa31246
refs/heads/master
2022-11-27T14:14:54.982351
2020-08-05T19:32:45
2020-08-05T19:32:45
271,365,653
3
5
null
null
null
null
UTF-8
Python
false
false
6,735
py
""" Sprite Helper Description: Loading a sprite animation and displaying it. Problems using a single instance of image. """ # Import and initialize the pygame library import pygame import random import json import pprint import sys import os import math import glob from helper_module import rgb_colors from ...
[ "terry.griffin@msutexas.edu" ]
terry.griffin@msutexas.edu
a90e6404551b5912048b4829a5294fbb441ab70e
93a95c5b9411960b394cfb63e400910d7d1abf50
/estoque/migrations/0002_auto_20210510_1515.py
ea13d302de4b62141beacc1712e501fe83515d36
[ "MIT" ]
permissive
jonathan-mothe/estoque
9377e4ac826fabe9d1a4f66f817204334a59a311
de8d0ea87e67e93ad4922a2d81b1ba7d68a29845
refs/heads/master
2023-04-21T19:08:07.579886
2021-05-11T17:46:31
2021-05-11T17:46:31
364,916,799
1
1
null
null
null
null
UTF-8
Python
false
false
1,283
py
# Generated by Django 3.2.2 on 2021-05-10 18:15 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('estoque', '0001_initial'), ] operations = [ migrations.CreateModel( name='EstoqueEntrada', ...
[ "jonathan.mothe@gmail.com" ]
jonathan.mothe@gmail.com
1fd9d339fb8682ef8a6f21a25cc9fe2d23ae8ca3
09bcd2a342fc79a4a7c30e24a76788d90df2176d
/galleria/artists/migrations/0001_initial.py
f3a25b6873d47bb0d9d6a0437de97740b0176461
[ "Apache-2.0" ]
permissive
kamalhg/galleria
48b2ed5ef1931ee12b7247caf7e50caa167c88ff
18ee38e99869812e61244d62652514d1c46bf3f3
refs/heads/master
2020-12-27T12:15:22.233386
2014-06-18T15:53:54
2014-06-18T15:53:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,628
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Artist' db.create_table('artists_artist', ( (...
[ "hum3@drummond.info" ]
hum3@drummond.info
a0d0b8457024d2982d5052c463bd38f342cf93d4
e18f0a32703fbe841d27c8a0e55eca9b9ab39cce
/run.py
c3e6569870cc01a9823fac62025ce182b58ea349
[ "Apache-2.0" ]
permissive
qybing/tf-pose-estimation
302550e74d457edea178b8e36a9cd58c1cbe89e8
9adc3d4bf1c87fba4df977b83cee8e656882fe15
refs/heads/master
2023-04-10T08:59:08.778691
2019-06-19T06:11:49
2019-06-19T06:11:49
189,166,320
0
0
Apache-2.0
2023-03-25T00:06:18
2019-05-29T06:44:17
PureBasic
UTF-8
Python
false
false
3,518
py
import argparse import logging import sys import time from tf_pose import common import cv2 import numpy as np from tf_pose.estimator import TfPoseEstimator from tf_pose.networks import get_graph_path, model_wh logger = logging.getLogger('TfPoseEstimatorRun') logger.handlers.clear() logger.setLevel(logging.DEBUG) ch ...
[ "qiaoyanbing1@163.com" ]
qiaoyanbing1@163.com
bd94282c6683da22e869c64a0dd76f5ba27d7158
35c1dcb0c8a713725a8d9d3062df26b096a4c150
/setup.py
295d74e177fe1a2cc941145ea359d2970b74527a
[ "MIT" ]
permissive
ijgarcesc/pybiblio
84fc78c09866a65bd13945ab36c8841587d74f09
02428eba8c4fcef3f9311ca9ba7be6bab661ca9e
refs/heads/master
2021-07-15T07:40:08.319875
2017-10-18T13:57:08
2017-10-18T13:57:08
105,827,028
0
0
null
2017-10-04T22:48:12
2017-10-04T22:48:12
null
UTF-8
Python
false
false
899
py
from setuptools import setup def readme(): with open('README.md') as f: return f.read() setup(name='pybiblio', version='0.0.0', description='Analysis of bibliographic information using python', long_description='A tool for creating and gradding assignments in the Jupyter Notebook using t...
[ "jdvelasq@unal.edu.co" ]
jdvelasq@unal.edu.co
3245b49aa803d9fd7eaad75b78856c0dd540cbf0
1d4adeca605818749247235dba11a90fbc154748
/deprecated/services/deployment/deployment_controller.py
6ccff0b553fb38655e4e8f6737b142ce9a9a71f7
[ "Apache-2.0" ]
permissive
joshish-iu/cloudmesh-nist
4598cd884fb9faaef5ea5cc5fa3e3920dbc6ebff
c26952859c2230231420058f6c488c9f6cc73218
refs/heads/master
2020-05-26T13:11:51.730994
2019-05-21T10:42:28
2019-05-21T10:42:28
188,243,290
0
0
NOASSERTION
2019-05-23T13:48:49
2019-05-23T13:48:48
null
UTF-8
Python
false
false
905
py
import connexion import six #from deployment_controller import * from swagger_server.models.deployment import Deployment # noqa: E501 from swagger_server import util from pymongo import MongoClient client = MongoClient() db = client['cm'] deployments = db['deployment'] def get_deployment(): """ :return...
[ "laszewski@gmail.com" ]
laszewski@gmail.com
63049adb954204a6d260ac373203abbc430dd063
67568ac53039fd633f9017bd368a13258191e1b2
/thrift_example/file_transport/file/FileService.py
429826b7eddda8fd50d339c35c87f6a40c1cd0ea
[]
no_license
starryrbs/rpc_shared
22012bbb5e0916a178e088f1be58acedd589c13d
6e4feb2929337ccb885ff629c13a0a6d3bc457d2
refs/heads/master
2022-12-11T04:27:24.176393
2020-09-02T16:01:37
2020-09-02T16:01:37
291,492,629
0
0
null
null
null
null
UTF-8
Python
false
true
7,528
py
# # Autogenerated by Thrift Compiler (0.12.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException from thrift.protocol.TProtocol import TProtocolException from thrift.TRecursive impo...
[ "1322096624@qq.com" ]
1322096624@qq.com
5cb291f086a1a6e113110c2af91826068dd57189
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/all-gists/4287546/snippet.py
9124f440cdeccffaef8a4bd8d92dd5e133c999f6
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
680
py
# FROM: http://en.wikipedia.org/wiki/Base_36#Python_implementation def base36encode(number): """Converts an integer into a base36 string.""" ALPHABET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" if not isinstance(number, (int, long)): raise TypeError('This function must be called on an integer.') ...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
666459957700b84b14bec98f21fbd9d2c6441c2b
7236d1d4873faa9735fd5e2d4598b211a370f731
/project/n/projects/projects/ecommapp/ecommerce/migrations/0020_auto_20200928_1630.py
7ceab26f28c88cea212b50ab80571813c500c591
[]
no_license
Dreambigxz/my_first_django_app
05f5a5d330d72084489f9306fca9ca232af13999
9e21ebcbe63c7394280558d2977ef8a796960e0d
refs/heads/main
2023-01-03T18:45:20.712074
2020-10-23T09:05:47
2020-10-23T09:05:47
306,180,592
1
0
null
null
null
null
UTF-8
Python
false
false
496
py
# Generated by Django 3.0.8 on 2020-09-28 15:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ecommerce', '0019_products_color'), ] operations = [ migrations.AlterField( model_name='products', nam...
[ "onyemordidaniel@gmail.com" ]
onyemordidaniel@gmail.com
0209945db389ffcf041bf8356b57309837cca01c
bc233c24523f05708dd1e091dca817f9095e6bb5
/bitmovin_api_sdk/models/profile_h262.py
b8e281c4665dfd372553426648bec8a362d66ae8
[ "MIT" ]
permissive
bitmovin/bitmovin-api-sdk-python
e3d6cf8eb8bdad62cb83ec77c0fc4950b06b9cdd
b0860c0b1be7747cf22ad060985504da625255eb
refs/heads/main
2023-09-01T15:41:03.628720
2023-08-30T10:52:13
2023-08-30T10:52:13
175,209,828
13
14
MIT
2021-04-29T12:30:31
2019-03-12T12:47:18
Python
UTF-8
Python
false
false
194
py
# coding: utf-8 from enum import Enum from six import string_types, iteritems from bitmovin_api_sdk.common.poscheck import poscheck_model class ProfileH262(Enum): MPEG2_422 = "MPEG2_422"
[ "openapi@bitmovin.com" ]
openapi@bitmovin.com
27e87424929b5c8237e98b92155346589f22cff5
f00ad57c98e554470a72511dda7a7bfd160aca19
/others/test_compress_str.py
21fe737a9d075590a8f39e8909d0acdd69b93853
[]
no_license
fanzhangg/algorithm-problems
d60115210aaaffcd094b34b9db5b46dadf93fe9e
43b111ad625f197ba0905abceab9ee4484284e08
refs/heads/master
2021-07-12T20:24:46.265700
2020-07-06T17:58:31
2020-07-06T17:58:31
171,220,135
1
0
null
null
null
null
UTF-8
Python
false
false
211
py
from unittest import TestCase from compress_string import compress_str class TestCompressStr(TestCase): def test_compress_str(self): self.assertEqual(compress_str("AAAAaaBCCCDDe"), "A4a2B1C3D2e1")
[ "vanadiumzhang@gmail.com" ]
vanadiumzhang@gmail.com
497ff7a37a21b8d7b26e76ad4a2070a35baf71cc
bb87afa0fd2f5466f282ba93779293449ae72e9f
/apps/article/tasks.py
0377213159cd91d4dfd25488e3ce850c0d8f288e
[ "MIT" ]
permissive
xuechuance/website
14d50e6c66f4315f5829f5a2707fc7bdf3925266
91a017ea26806136a89f12d8620a4d99676a7497
refs/heads/master
2020-05-27T06:18:36.403271
2019-05-21T04:28:02
2019-05-21T04:28:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,889
py
from __future__ import absolute_import import datetime from configparser import ConfigParser from time import sleep import requests from celery import shared_task from django.core.mail import send_mail from random import Random import random from apps.article.models import Headlines from apps.user.models impor...
[ "tarena_feng@126.com" ]
tarena_feng@126.com
21ee44b6155df6c86db7afac320d841dd0a6eea7
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/zulip/2016/4/realm_filters.py
3ebd74a423ccd5d544621ba6011b7915cf5d5e90
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
2,844
py
from __future__ import absolute_import from __future__ import print_function from optparse import make_option from django.core.management.base import BaseCommand from zerver.models import RealmFilter, all_realm_filters, get_realm from zerver.lib.actions import do_add_realm_filter, do_remove_realm_filter import sys cl...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
94709ea9fdd3f5b965a753f366702dbec38c259a
c0c6b41523d8f8071c88d4320d9040a6d1d2e3f4
/problem1
80d2761714d5ce30c6ac12310c7fc42a98b8b028
[]
no_license
GLAU-TND/python-programming-assignment-2-Manish-021
952cf9bd8a4f953074595f7c7d164541eba94443
782bdef864fadac653e500d03498de6c92c56382
refs/heads/master
2021-01-09T11:43:22.749103
2020-02-24T11:42:25
2020-02-24T11:42:25
242,287,538
0
0
null
null
null
null
UTF-8
Python
false
false
225
t=eval(input()) b=[min(t)] a=min(t)[-1] t.remove(min(t)) for i in t: for j in t: if a==j[0] and j[-1]!=b[0][0]: b.append(j) a=j[-1] t.remove(j) break b=b+t print(b)
[ "noreply@github.com" ]
GLAU-TND.noreply@github.com
81008224cac8591b4f00dcd38bf9b8e5cc34dc27
30ec40dd6a81dbee73e7f14c144e20495960e565
/kubernetes/client/models/v1beta1_http_ingress_rule_value.py
9653f80f26ca995284fb6ca79ec30368e71cd13e
[ "Apache-2.0" ]
permissive
jonathan-kosgei/client-python
ae5a46968bcee19a3c62e1cefe227131ac9e7200
4729e6865d810824cafa312b4d06dfdb2d4cdb54
refs/heads/master
2021-01-20T14:59:10.435626
2017-05-08T16:55:51
2017-05-08T16:55:51
90,700,132
1
0
null
2017-05-09T03:50:42
2017-05-09T03:50:42
null
UTF-8
Python
false
false
3,300
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.6.3 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re ...
[ "mehdy@google.com" ]
mehdy@google.com
a098dbcf2862c4b934dc7a374423ead058106d1c
1e84a9fec36deaf9a55a2734749ea035f72ac869
/KAKAO BLIND RECRUITMENT/2017/1차/다트 게임/refernece_code.py
f0d49073d4794a7333d54379d6f483324e86a55c
[]
no_license
mgh3326/programmers_algorithm
aa3afc91231550e1fec2d72d90e85b140f79d677
b62f08ccccbdcac71e484d508985a5a9ce5f2434
refs/heads/master
2022-08-31T04:19:15.728666
2022-07-31T14:02:26
2022-07-31T14:02:26
201,747,526
0
0
null
2022-07-23T10:19:13
2019-08-11T10:02:15
Python
UTF-8
Python
false
false
601
py
def solution(dartResult): point = [] answer = [] dartResult = dartResult.replace('10','k') point = ['10' if i == 'k' else i for i in dartResult] print(point) i = -1 sdt = ['S', 'D', 'T'] for j in point: if j in sdt : answer[i] = answer[i] ** (sdt.index(j)+1) ...
[ "mgh3326@naver.com" ]
mgh3326@naver.com
34c75ed85b11695edf53feaa3236244bd3fefc44
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-sblp-obt/sblp_ut=3.5_rd=1_rw=0.06_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=4/params.py
f2962918ddc7d0f6fada37b1a1592dedf23cce8d
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
{'cpus': 4, 'duration': 30, 'final_util': '3.668690', 'max_util': '3.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '1', 'res_nmb': '4', 'res_weight': '0.06', 'scheduler': 'RUN', 'trial': 4, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
5fc066834916a8dbb349035d834ab8ffcd3415d5
c3483984a4782be6097e4753de3cb545ae00039b
/geneticTest/unitTestingExample/unitTesting/test_Employee.py
e00ef30b7b7dd17f737f32a405b4966559a25522
[]
no_license
nghiemphan93/machineLearning
67c3f60f317a0c753b465751113511baaefd1184
36d214b27c68d399f5494b5ec9b28fee74d57f7f
refs/heads/master
2020-03-28T02:20:11.843154
2020-02-03T14:18:39
2020-02-03T14:18:39
147,563,336
0
0
null
null
null
null
UTF-8
Python
false
false
1,536
py
import unittest from geneticTest.unitTestingExample.stuffToTest.Employee import Employee class TestEmployee(unittest.TestCase): @classmethod def setUpClass(cls): print('setupClass') @classmethod def tearDownClass(cls): print('teardownClass') def setUp(self): print('setUp...
[ "nghiemphan93@gmail.com" ]
nghiemphan93@gmail.com
56e2ea0cf73544e8dbe4bf9a62cade699f0cd4f7
353e6685be6737a828b8770d4d71e389ca2853b9
/0x11-python-network_1/5-hbtn_header.py
b7a195a4f570bbc400e36cfd7ab5c6a16a190e72
[]
no_license
adebudev/holbertonschool-higher_level_programming
912af3f7caab3197beb062b5389f5b464b2ed177
cb0510ed0b6d7b7c43d0fd6949139b62e2bdede7
refs/heads/master
2022-12-18T17:40:28.539558
2020-09-25T04:29:45
2020-09-25T04:29:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
#!/usr/bin/python3 """Request value X-Request-Id with requests Module""" import requests import sys if __name__ == '__main__': """displays the value of the variable X-Request-Id""" url = sys.argv[1] R = 'X-Request-Id' req = requests.get(url) print(req.headers.get(R))
[ "delaasuncionbuelvasadrian@gmail.com" ]
delaasuncionbuelvasadrian@gmail.com
63d41c42f8f87f62095b5bc99fda6d77e3eb4288
59788643fcce655a3a15ad0d3c91401a63e525d9
/home/models.py
f925cf6580cdcd1ae6f9a202aa595fe40ca9a4ba
[]
no_license
crowdbotics-apps/element-28308
f39132662eb2e433d44e3c570ae539d9feae3db0
018966b7d47c9e2f9b1bb33c018d1a9b7a3b3b42
refs/heads/master
2023-06-06T09:31:10.513777
2021-06-29T20:33:03
2021-06-29T20:33:03
381,465,888
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
from django.conf import settings from django.db import models class CustomText(models.Model): "Generated Model" chart = models.URLField( null=True, blank=True, ) class HomePage(models.Model): "Generated Model" body = models.TextField()
[ "team@crowdbotics.com" ]
team@crowdbotics.com
b71cf501c6e9e920c344c180785088347c9eea05
398de9098811c7712b18f8e314340ce93aa86839
/id2date.py
7fc4502cd5258ae680b5604cba9dd53e78ba1f70
[]
no_license
NiMaZi/thesis
0c2ce8bced070d010838bae80f844a46bb1a798c
15dc1aeca941f8feec4c283cd7436983ba982871
refs/heads/master
2020-03-18T13:19:52.711331
2018-07-09T12:11:08
2018-07-09T12:11:08
134,776,324
1
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
import os import sys import csv import json import boto3 import numpy as np homedir=os.environ['HOME'] from elasticsearch import Elasticsearch from elasticsearch.helpers import scan es=Elasticsearch(['localhost:9200']) s3 = boto3.resource("s3") mybucket=s3.Bucket("workspace.scitodate.com") s3key=sys.argv[1] id2date...
[ "zhengyl940425@gmail.com" ]
zhengyl940425@gmail.com
6f781fbb34a0effb575b1359355f0db2026e382d
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5658571765186560_1/Python/dnutsch/problem_d.py
ec9d645f24bcbab7bf09cb17d6dd1abaea92f717
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,111
py
#!/usr/bin/python f = open('D-large.in','r'); out = open('D-large.out','w'); T = int(f.readline().strip()) for t in range(T): X,R,C = [int(x) for x in f.readline().strip().split(' ')] #print "x {}, r {}, c {}".format(X,R,C) mx = max(R,C) mn = min (R,C) richard_wins = False if (R*C) % X != 0:...
[ "eewestman@gmail.com" ]
eewestman@gmail.com