blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
eaeecb735041bbbe5891d953465fba1e4783f1c7
43b9eb11e90dbf984f950e4885085c83daa719b2
/migrations/versions/339a6b145e56_user_status.py
f81e899bdc79017e6803c52bc8c09c0dbee04e15
[ "Apache-2.0" ]
permissive
dpdi-unifor/thorn
8ec7982812fe07906567514ad6628154ea99f620
37695c66607f60b29afd25ac512c0242079e1342
refs/heads/master
2023-01-02T19:48:27.409446
2020-09-09T14:31:51
2020-09-09T14:31:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
"""User status Revision ID: 339a6b145e56 Revises: 9f52309f0d44 Create Date: 2020-03-26 11:53:32.044767 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '339a6b145e56' down_revision = '9f52309f0d44' branch_labels = None depends_on = None def upgrade(): # ##...
[ "waltersf@gmail.com" ]
waltersf@gmail.com
48193b8eaa353cbae3a3b247b5561548f10fecb5
0d8ad19fb9e980647833e7947ae2e854381006ed
/banknote/course/migrations/0015_auto_20200625_1234.py
30d78e4839138c4f5f4d1ad89492e4e520a0fa32
[]
no_license
amgad165/Banknote-Academy
2fa7bcfca2f24738aa57b021d785957cf0d04192
5cf4070af600287b713458116f8d9b1eec343e0f
refs/heads/master
2022-11-11T07:57:46.548623
2020-06-28T14:42:18
2020-06-28T14:42:18
275,605,364
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
# Generated by Django 2.2.5 on 2020-06-25 12:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('course', '0014_auto_20200625_1232'), ] operations = [ migrations.AlterField( model_name='course', name='Start_date',...
[ "amgad.mourad18@gmail.com" ]
amgad.mourad18@gmail.com
9b6ac406306c33ebbc4d0ea38fad4b5bfaeb2bce
a77a8272879ccd1a4e33b97d50e66e5486f38ed6
/random_player.py
4f63d6cecc8359534778a0768ae91cdcd7ca91c5
[]
no_license
LeSphax/BattleshipAI
8a150f9f59f952a726418ef4f185f76a6ebd4830
bf21894f544ce22959dd126e7d860a228c445c1d
refs/heads/master
2020-04-17T14:10:30.805717
2019-01-20T10:39:01
2019-01-20T10:43:15
166,646,569
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
import random class RandomPlayer(object): def __init__(self, rows, columns): self.rows = rows self.columns = columns def act(self, board, epsilon): return random.randint(0, self.rows - 1), random.randint(0, self.columns - 1) def train(self, boards, actions, rewards, batch_size, ...
[ "sbkerbrat@gmail.com" ]
sbkerbrat@gmail.com
bf15a0134c6b3e379d9901b3901eb79bfb8cefa4
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/9/xm5.py
38c66cb97e0801b2ac4684ce92a27b4b9fd0b4e8
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
a07d58182c489431e554b84e7aaaa15160ba50a2
ba2599d5106039c546d818dd1c11ec05213edf39
/booleanoverlap.py
1508bfe2be685474b20313fbdddcb06c0efc7692
[]
no_license
eliza-wallace/ArcGIS_Tools
3a96576a56cb94829f4a88bf8eb435fa915534b0
4f4d99752793de047ff1111fa83ef59c6fde297c
refs/heads/master
2021-04-15T03:44:45.392693
2017-06-21T19:57:02
2017-06-21T19:57:02
94,559,161
0
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 20 16:26:57 2017 Boolean Overlap Tool @author: Eliza Wallace, ewallace@mapc.org """ import arcpy import sys points = arcpy.GetParameterAsText(0) polygons = arcpy.GetParameterAsText(1) newfield = arcpy.GetParameterAsText(2) # function that adds a suffix to a field name ...
[ "ewallace@mapc.org" ]
ewallace@mapc.org
486a90dfe4e88e27f735a7910cba4c3fdc0a40d2
ed4ab53110ed7d8118dd4efbc87e3e2ecdec1d89
/ciphers/base32.py
2ac29f441e94afe81d10f400696dc80cc17c23bc
[ "MIT" ]
permissive
agk79/Python
19842317dd99433f94cea147e499c9542ecf014f
0b7a66b2084896dcd11ba2737ca3e0c507385962
refs/heads/master
2021-07-13T02:56:55.245139
2020-08-07T18:36:38
2020-08-07T18:36:38
194,342,735
3
0
MIT
2019-06-28T23:07:10
2019-06-28T23:07:10
null
UTF-8
Python
false
false
334
py
import base64 def main(): inp = input('->') encoded = inp.encode('utf-8') #encoded the input (we need a bytes like object) b32encoded = base64.b32encode(encoded) #b32encoded the encoded string print(b32encoded) print(base64.b32decode(b32encoded).decode('utf-8'))#decoded it if __name__ == '__main__...
[ "gerensuner@gmail.com" ]
gerensuner@gmail.com
17f868dc8151d4b9c9596d87a5f3bf32c01b1111
b537246cd2f2f11ae83b95c19ce63609c40f3f30
/apps/campaign.py
9e672f97e9b2c3b8ad9f1dc6ec91e625cce7bc43
[]
no_license
bij1/verkiezingen
29f600acbc608211d8a1ec618e826f9a01b453c4
4955ef7f2faa7ff7555325faa43cc2df6601a9bc
refs/heads/main
2023-07-17T00:01:38.442570
2021-04-06T07:43:54
2021-04-06T07:43:54
345,665,841
0
1
null
2021-04-06T07:43:55
2021-03-08T13:29:25
Python
UTF-8
Python
false
false
102
py
from app import app import dash_html_components as html layout = html.Div([html.H4("nothing yet")])
[ "kiara.grouwstra@gmail.com" ]
kiara.grouwstra@gmail.com
6d2b8a6b52fcfa85775cb6e350914e11786547cf
71e1db21359e8e2aad16d9cf29148dceb409be6f
/python-BerryIMUv3-SPI/IMU.py
8d2868e2dd324f68dc40fa9d37d3bd828452f4e9
[]
no_license
FedericoLV/BerryIMU
2db66ed0fb26cb43ac6616ce205022f2f66d8998
9dd77e65e0be0bba81513af3960c09759da8fc6d
refs/heads/master
2023-06-24T15:09:47.708788
2021-07-23T11:34:54
2021-07-23T11:34:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,207
py
from LSM6DSL import * import spidev import time READ_FLAG = 0x80 __MULTIPLE_READ = 0x40 BerryIMUversion = 99 spi = spidev.SpiDev() def bus_open( ): spi.open(0,0 ) spi.max_speed_hz = 10000000 def readReg( reg_address): #bus_open() tx = [reg_address | READ_FLAG, 0x00] rx = ...
[ "mark.mwilliams@gmail.com" ]
mark.mwilliams@gmail.com
17c60f274d555ceefc3a340a5ea260e332aa47df
d0ec1b69f19363c893b5cfb91d6ee0b77d382d3a
/.config/ranger/commands_full.py
8b9742d65f2988682d2226f60a0bee7118e89d2d
[]
no_license
sdsaati/home
4cf179e920b23f69cfad3662235c08856b047ea1
c9d7c32546c29921608517d8885ec8eeb554b8bc
refs/heads/master
2023-07-14T03:52:57.880238
2021-08-29T07:39:01
2021-08-29T07:39:01
380,321,739
0
0
null
null
null
null
UTF-8
Python
false
false
62,117
py
# -*- coding: utf-8 -*- # This file is part of ranger, the console file manager. # This configuration file is licensed under the same terms as ranger. # =================================================================== # # NOTE: If you copied this file to /etc/ranger/commands_full.py or # ~/.config/ranger/commands_fu...
[ "sdsaati@gmail.com" ]
sdsaati@gmail.com
7987d0828fe16ad0f74645f891bb153c87757932
685b6ca5665fd052c02afebdbfab726de5be2c73
/models/TFSingleOrigin.py
3c8fe2b322ff75cb7e555b7c0e5ef4705227fca5
[ "MIT" ]
permissive
maptube/UMaaS
f37c50128fd2bb21a4dd563316aa7e255adcc04b
0758d8352213f332546d728f3eb02411c16c97ac
refs/heads/master
2021-10-12T17:16:46.266806
2021-10-08T15:58:29
2021-10-08T15:58:29
158,449,744
0
0
null
null
null
null
UTF-8
Python
false
false
8,234
py
import tensorflow as tf #import numpy as np from math import exp, fabs import time """ Tensorflow implementation of single destination constrained gravity model How about PyTorch or Keras? """ class TFSingleOrigin: ############################################################################### def __init__(se...
[ "richard.milton@ucl.ac.uk" ]
richard.milton@ucl.ac.uk
57260f6b5d40f289986b5d8fb601c421eafeae75
35c1a591ce5ea045b72a1d9f89fc0d8f46cdd78b
/rice/deps/prompt_toolkit/application/dummy.py
ebe2f334fe11c7f8340bb99e392d2af6fc46a457
[ "MIT" ]
permissive
jimhester/rice
0a0aef48ccab3d6b2d7f700cc311977e8c4a3740
61cafc717d9398a57ecd2afb2a086afe1c676e30
refs/heads/master
2021-07-07T21:37:00.826756
2017-09-27T14:02:49
2017-09-27T14:02:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
998
py
from __future__ import unicode_literals from .application import Application from prompt_toolkit.input import DummyInput from prompt_toolkit.output import DummyOutput __all__ = ( 'DummyApplication', ) class DummyApplication(Application): """ When no `Application` is running, `prompt_toolkit.applicati...
[ "randy.cs.lai@gmail.com" ]
randy.cs.lai@gmail.com
3014d12db736cc4a036c7172f8e025c97af34d2f
aee7a6cca6a2674f044d7a1cacf7c72d7438b8b1
/cup_skills/stats/average_rewardgp_reset_good_7.py
2458b18354d006e66a6d8060bf125fd8d3f27459
[]
no_license
lagrassa/rl-erase
efd302526504c1157fa5810e886caccba8570f1b
0df5c8ce4835c4641a2303d11095e9c27307f754
refs/heads/master
2021-05-13T13:36:12.901945
2019-08-01T02:13:15
2019-08-01T02:13:15
116,709,555
1
2
null
null
null
null
UTF-8
Python
false
false
780
py
52.72727272727272,45.45454545454545,35.45454545454545,38.18181818181819,19.090909090909093,44.54545454545455,20.909090909090907,52.72727272727272,51.81818181818182,50.0,-100.0,28.18181818181818,-100.0,28.18181818181818,39.09090909090909,49.09090909090909,35.45454545454545,38.18181818181819,31.818181818181817,52.7272727...
[ "lagrassa@mit.edu" ]
lagrassa@mit.edu
ce9fb84011732967d2451774fe713d1f2132913f
8e6caec03ebe31ae30c056d6550840dca77801ea
/Python/algorithms/resheto_eratosfena.py
f860c288a4805ab6938ee08ded7e89d378ceb880
[]
no_license
leff9f/pytest
c951bca3556db6496d72085d2d0836ea965f348a
c40f7239b9ea1e5772b2e347b48b91d7f735bcbf
refs/heads/master
2020-03-19T13:56:06.463322
2020-02-19T15:10:52
2020-02-19T15:10:52
136,601,822
2
1
null
2019-02-18T15:23:11
2018-06-08T10:02:08
Python
UTF-8
Python
false
false
192
py
N = 50000000 A = [True]*N A[0] = A[1] = False for k in range(2, N): if A[k]: for m in range(k*2, N, k): A[m] = False for k in range(N): if A[k]: print(k)
[ "leff9f@gmail.com" ]
leff9f@gmail.com
9fa6656765c702e8f6936b48d78042e07de88013
3856dbedcf846f9845290e9b2efa4d18e300623d
/test/test_user_report.py
25a240a1bb120206353d2d97b51104617f0cbe91
[]
no_license
Valandur/webapi-client-python
5b314da41803f5b55a5c6cce62d2384b86d0fa37
8502726bf3facb17c6fa681faf0f600207eb61ae
refs/heads/master
2022-02-04T21:45:37.686703
2019-07-23T12:11:47
2019-07-23T12:11:47
113,748,693
2
0
null
2019-01-09T16:07:31
2017-12-10T12:38:14
Python
UTF-8
Python
false
false
3,145
py
# coding: utf-8 """ Web-API Access Sponge powered Minecraft servers through a WebAPI # Introduction This is the documentation of the various API routes offered by the WebAPI plugin. This documentation assumes that you are familiar with the basic concepts of Web API's, such as `GET`, `PUT`, `POST` and `DELET...
[ "inithilian@gmail.com" ]
inithilian@gmail.com
9ffa69d0309b69ed9051f6a8715c88e92b57ca70
001323724016038e3da88630304e58017c83b7ad
/custcount_venv/bin/django-admin.py
5bce0adac8be4eb11bc0b9395a8166cc01c9228a
[]
no_license
afieqhamieza/CustCount
36319ea2ad44d8bd223f0e48b4c88ce0178ac0c6
8bd50572db7c9e0ae7d36f810a005b6998846d98
refs/heads/main
2023-05-31T05:06:24.770029
2021-06-16T23:19:34
2021-06-16T23:19:34
377,316,688
0
0
null
null
null
null
UTF-8
Python
false
false
717
py
#!/Users/afieqhamieza/Documents/github repo/CustCount/custcount_venv/bin/python3.9 # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( ...
[ "afieqhaazemi@gmail.com" ]
afieqhaazemi@gmail.com
4ebd8d9c83528e4b8f6961352320a0c777136e22
dc4713228b15ca4b6f262203df7908c617cd3915
/tests/test_pitch.py
e5eaa786dbbd3476e2c3a7010e5c417186e8bce5
[]
no_license
Nelvinom/60sec-pitch
983826d312dcb28f9646f554d4bfb0117d402670
29d43258c92d62da32eef13ea9a8d6dc0e7bbb96
refs/heads/master
2022-06-11T23:53:14.275694
2020-05-08T10:19:06
2020-05-08T10:19:06
262,290,794
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
import unittest from app.models import User, Role class PitchModelTest(unittest.TestCase): def setUp(self): self.user_test = User(username = 'Daudi',password = 'potato', email = 'daudi@gmail.com') self.new_pitch = Pitch(id=1,pitch_title='Test',pitch_content='This is a test pitch',category="intervi...
[ "noreply@github.com" ]
Nelvinom.noreply@github.com
c10868cbdcc7ac694c6e4e2040eaa4f16fd73722
0e3f8bca9ea26b58dfe1dbb103f5a08fa384f41d
/j2.py
9dfec787b7324e4c275737a44b134f263d5e60a8
[]
no_license
zhanglulu15/python-machine-study
be5b7153dd851c8dacc9db3eeba7576e7e852a91
31f01255ca79fdc406913bb380070257e16fdbd5
refs/heads/master
2021-01-21T14:33:17.316770
2017-06-24T13:54:49
2017-06-24T13:54:49
95,299,987
0
0
null
null
null
null
UTF-8
Python
false
false
1,542
py
#层次聚类:更多的是为层次话化的可视化提供支持,在我们比较陌生的数据层次时有帮助 #在klearn.cluster库中提供了一种AgglomerativeClustering的分类算法:基于层次的聚类方法 import numpy as np import matplotlib.pyplot as plt from sklearn.cluster import AgglomerativeClustering #从磁盘读取城市经度纬度表 import csv x = [] f = csv.reader(open('/home/lulu/code/shuju/city.csv', encoding='utf-8')) for v i...
[ "zhanglulu15@163.com" ]
zhanglulu15@163.com
168058f661863c9ce796c298d6f27afc1555518b
395481c91da2299fc09adf14e842b6bcaaab476d
/AiStuff/Ai.py
c53a4eb31f603dd8261ff5893448213b89cb0a5d
[]
no_license
Vyom88/Connect4-Ai-And-Gui
1f6f13ba5d56938afdc727dd26886863dee67aaa
00b916cb0b0a5392897373ab4cc84c0108ab82ab
refs/heads/main
2023-03-23T12:17:38.050964
2021-03-09T23:39:33
2021-03-09T23:39:33
346,174,432
0
0
null
null
null
null
UTF-8
Python
false
false
10,123
py
import random # Did they tie? def didTie(board): for i in board[0]: if i == "o": return False return True #checks rows if someone won def checkRows(board, color): for row in board: currentStreak = 0 for col in row: if col == color: curre...
[ "vyom.kapadia@gmail.com" ]
vyom.kapadia@gmail.com
2e1be97e37cbeb8818aca9d446194858ec44726e
ef67a6bdf962db62b6d7b11431760ff04cfcd3d3
/pulucia_web/migrations/0023_email_info.py
c41c6c4e2700084a54b0af59282479217c4b877f
[]
no_license
Mperonneau/Editionspulucia
c9f6493c15cdd07856222cf945afb1576f3661ab
8d48519c37cbe49db21650455f8a64a080a1884e
refs/heads/master
2023-04-16T16:44:00.312152
2021-04-19T20:39:47
2021-04-19T20:39:47
322,133,606
1
0
null
2021-04-08T03:03:35
2020-12-17T00:10:56
JavaScript
UTF-8
Python
false
false
582
py
# Generated by Django 2.2 on 2021-02-14 11:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pulucia_web', '0022_livre_achat'), ] operations = [ migrations.CreateModel( name='email_info', fields=[ ...
[ "peronneaumoliere@gmail.com" ]
peronneaumoliere@gmail.com
dab7a1b6a64e14e0306300e83625d8fd77fdcf89
29fda4e5cc9e1cf277a21a49d317c9529a239f77
/env/bin/isort
aed39421a222bed7361e764a4ba74e7484ba8863
[]
no_license
happy-cutman/django-jobfinder
8f631a8f8d0c26f334cd4f1128f1123eeb189db7
9269dea86fde2f4c0a1d9ed4cc3828a4bf9dc20d
refs/heads/master
2022-12-19T03:02:51.836480
2019-09-16T14:27:21
2019-09-16T14:27:21
208,819,206
0
0
null
2022-12-08T06:10:02
2019-09-16T14:22:34
JavaScript
UTF-8
Python
false
false
244
#!/home/cutman/Desktop/django-bs/env/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from isort.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "cooqpsn@gmail.com" ]
cooqpsn@gmail.com
e58daf251c090d72da5375a591a8f869ab34ae2c
6c9ef163a8cd14ab5e9343504640dc2fb0a4ff0b
/mountain_car/main.py
37222db978cbb8a7ef64f029732bb34aab429e0a
[ "MIT" ]
permissive
praxidike97/reinforcement-learning
365e1fc14a2d4782321bbf4bc6b3819b6dae93c7
c6af501939fe2d6ab32ce7d0405e0753797bf6cd
refs/heads/master
2021-05-21T20:08:17.813755
2020-04-10T14:09:35
2020-04-10T14:09:35
252,783,307
0
0
null
null
null
null
UTF-8
Python
false
false
6,729
py
import gym import time from collections import deque import matplotlib.pyplot as plt import random import argparse import numpy as np from keras.models import Sequential, load_model from keras.layers import Dense from keras.optimizers import Adam, SGD class DQNSolver(): def __init__(self, batch_size=20): ...
[ "fabianstern97@gmail.com" ]
fabianstern97@gmail.com
80cd0aba9e9547c3b95b9c1bdf832592f7c25791
65bf7311c871a24ac3d50972d734ddfb9e489846
/DjangoFirst/DjangoFirst/urls.py
71db8df67f2bd4791d3eccfa851a21b0c0cb16b9
[ "MIT" ]
permissive
FromF/GrayScaleDjango
d2a3d3468c976fe901d8e617b3b97a2dc8e640f9
538af606d75ace4a873295a792e523ade10287bc
refs/heads/master
2020-05-15T21:58:26.747126
2019-04-21T09:36:46
2019-04-21T09:36:46
182,514,956
0
0
MIT
2019-04-21T09:36:47
2019-04-21T09:35:16
Python
UTF-8
Python
false
false
1,075
py
"""DjangoFirst URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/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...
[ "haruhito.fuji@gmail.com" ]
haruhito.fuji@gmail.com
a0aca621170bb1b7eca6916195c45407cd8bc932
3eb7be8ddedc446634e3d45972ce2ff293819b38
/AnyQuantMini/python/data/StockData.py
271b6cbabd5b00ed6d49c994bf02a33067847126
[]
no_license
OptimusPrime1997/AnyQuant
bc7f74860796fb43ae73486b243cc2c92de986b9
29b6b5b82b4ffa09d3eed3f45170ad548dc9e6de
refs/heads/master
2021-01-13T13:43:10.729447
2016-12-27T15:14:39
2016-12-27T15:14:39
76,332,760
1
1
null
null
null
null
UTF-8
Python
false
false
1,995
py
''' # Created on # id:stock # start:start time # end:end time # exchange:exchange place # @author: 1 ''' import urllib2 import json # str='http://121.41.106.89:8010/api/stock/sh600000/?start=2014-10-10&end=2015-10-10&fields=open+high+low+close+adj_price+volume+turnover' # str='http://121.41.106.89:8010/api/stock/...
[ "874855266@qq.com" ]
874855266@qq.com
e51325d061f759541e44b00c7d91d9ff587dd11d
d69c9de28f606faed826a5c5c8f2eb8e7ec6b586
/FreePie/ClodPIE11-generic.py
da3bed4f8013784fcaf573287dc71ee61323450f
[ "MIT" ]
permissive
bhugh/LinuxTrackFG
3ea5dd42f7e8d602cad85d7da9cadb72382897ee
5a268f134dff9594d03e0b2554afbf1ee8cdd516
refs/heads/master
2021-01-21T10:19:30.527659
2017-02-28T08:30:46
2017-02-28T08:30:46
83,405,800
1
0
null
null
null
null
UTF-8
Python
false
false
14,941
py
############################################################################ ##ClodPIE: Cliffs of Dover/EDTracker View & Movement Enhancement with FreePIE ##by Brent Hugh ## ##Version 1.1 ## ##brent@brenthugh.com - or contact via the forums at http://twcclan.com - flug ## ##See this file, included in the distribution, ...
[ "brent@brenthugh.com" ]
brent@brenthugh.com
b8a40d70f7b2b31cc7ecfccfbb62848da1de90b6
a3dc62852462e9c13978c5a7c24e63ab778b4b33
/jobs/migrations/0006_cover.py
18ac93f80c6c045785319949d1249b1f8db49133
[]
no_license
milemik/django_portfolio
eced1e8a5430a81c4904fd391004b11f0f768369
86c44a35fb2279214ba128a25823924938d8c54c
refs/heads/master
2023-08-16T14:11:08.982466
2023-07-19T11:59:38
2023-07-19T11:59:38
229,927,059
0
0
null
2023-08-20T08:40:53
2019-12-24T11:10:18
Python
UTF-8
Python
false
false
728
py
# Generated by Django 4.0.4 on 2022-04-23 08:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("jobs", "0005_auto_20200709_0545"), ] operations = [ migrations.CreateModel( name="Cover", fields=[ (...
[ "ivanm@ernieapp.com" ]
ivanm@ernieapp.com
9ac6a88696d7b8f4a08d632b8636f601fec6d3c9
d6f1bd13b8418f6176a4157860bcaa09cd969278
/Codevita/staircase.py
c15f5d065f5033f9bb7abad62ac1d47706751133
[]
no_license
GokulSoman/scripts
83a9da4ff539dc4aeac22208a71357baafb2aa0a
6969b212b014ccf03b4ac3264e3c0102b7966708
refs/heads/master
2022-12-24T02:32:49.141606
2020-09-25T14:39:32
2020-09-25T14:39:32
298,593,054
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
n= int(input("Enter Number of stairs: ")) def jump(steps): dist = steps if dist == 0: return 1 elif steps > 0: return jump(steps-1) + jump(steps-2) else: return 0 print("Ways: {}".format(jump(n)))
[ "gokulsoman@outlook.com" ]
gokulsoman@outlook.com
6018b78f698286b8dcc5c68df4f3473b415eb318
bf8870d923adca9877d4b4dacef67f0a454727a8
/_other/decorator.py
23fb94a26518ba636f1e500656ad6d7d4a7a468e
[]
no_license
artkpv/code-dojo
6f35a785ee5ef826e0c2188b752134fb197b3082
0c9d37841e7fc206a2481e4640e1a024977c04c4
refs/heads/master
2023-02-08T22:55:07.393522
2023-01-26T16:43:33
2023-01-26T16:43:33
158,388,327
1
0
null
2023-01-26T08:39:46
2018-11-20T12:45:44
C#
UTF-8
Python
false
false
922
py
import threading def persistant_caller(max_calls=None, timeout_ms=None): def actual(function): def persistant_function(*args, **kwargs): count = 0 while True: try: count += 1 return function(*args, **kwargs) ex...
[ "artyomkarpov@gmail.com" ]
artyomkarpov@gmail.com
8c696a09239d19efe57f853c3d56c8c5cfad8cd3
5d1733f223efaf66399fc1e136e112c39d08bed1
/Python/Dictionary_Exercises/Exercise2_Nested_Dictionaries.py
b9629130446f70be3cc61d8a98fbed8e1900e0f4
[]
no_license
GregoryMNeal/Digital-Crafts-Class-Exercises
3facb6937cb589bc7ae6b16d642e0bb777f53201
0a8e9f2f6c486f4329ae7350e1bd86b7b211158e
refs/heads/master
2021-08-14T20:47:13.745243
2017-11-16T18:31:33
2017-11-16T18:31:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,261
py
# Functional Spec's: # 1. Write a Python expression that gets the email address of Ramit. # 2. Write a Python expression that gets the first of Ramit's interest. # 3. Write a Python expression that gets the email address of Jasmine. # 4. Write a Python expression that gets the second of Jan's two interests. # Imports ...
[ "gnealsr@gmail.com" ]
gnealsr@gmail.com
f205541796b3344d92b1153f7b05f33739dfcaf1
900c8b1233e11ad83d96722146cab6345bb2df9e
/HW4/code/nndl/layer_utils.py
6dac4b037167e23029214d7caa839f590659acc7
[]
no_license
yetian28/UCLA-EE239
7c4ad66dd5eeec32f0bbc6d7827aa56bc52c4a27
0dd6dfabd91bb7d2dbf97b555b1afa4e9e1ad524
refs/heads/master
2020-04-07T22:08:33.924372
2018-03-04T00:19:58
2018-03-04T00:19:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,672
py
from .layers import * from .fast_layers import * """ This code was originally written for CS 231n at Stanford University (cs231n.stanford.edu). It has been modified in various areas for use in the ECE 239AS class at UCLA. This includes the descriptions of what code to implement as well as some slight potential chan...
[ "jdhurwitz@ucla.edu" ]
jdhurwitz@ucla.edu
be9b9888e2d1355614e0a6634a6914900f7d02af
e5c4a7acd6505cd1f6ae5dae5342380c177ddfe9
/sea-level-predictor/sea_level_predictor.py
6566ab605fadec9e019125867b72e58ea5e4b537
[]
no_license
esinkarahan/data_analysis_with_python
9cc878602d7a3a80dbffe18bb4e7e3b68d568949
19c6faf64b6a53c0bf69782fdf773eba9765e8bc
refs/heads/main
2023-08-10T17:50:37.840195
2021-10-06T13:41:31
2021-10-06T13:41:31
402,902,650
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
import pandas as pd import matplotlib.pyplot as plt from scipy.stats import linregress def draw_plot(): # Read data from file df = pd.read_csv('epa-sea-level.csv') # Create scatter plot fig,ax=plt.subplots() ax.scatter(df['Year'],df['CSIRO Adjusted Sea Level'], s=5,c='steelblue',alph...
[ "esin.karahan@gmail.com" ]
esin.karahan@gmail.com
94224b8eb2d7c9d25fd29141ae439ffb36b3255e
252618a833de48b8da1dd71fa05653691f20fdff
/z-demos/yemian.py
a51379243e64b2beb63a5b22a159fc59e8fa4a97
[]
no_license
xiebohust/DemoAPI
5a5e3237d5a1f5c138bcdd5e76450d8d20105ae6
2ae10361c47a43d57941a4ed5b0184d1700c8092
refs/heads/master
2023-02-01T21:01:59.794835
2020-12-18T01:37:24
2020-12-18T01:37:24
261,943,427
0
0
null
2020-05-07T03:47:17
2020-05-07T03:47:17
null
UTF-8
Python
false
false
278
py
# import requests # # url = 'https://lanhuapp.com/web/#/item/project/board?pid=7c3320e7-e58c-40ef-a118-2f373a6513d1' # r = requests.get(url) # print(r.text) def y(): for i in range(2,10): yield i r= y() print(next(r)) print(next(r)) print(next(r)) print(next(r))
[ "623270307@qq.com" ]
623270307@qq.com
663c65c642e041fe9f4fcde9c464ac55686e5397
37cd089a4b865ee8e5928799372ab30b169bd0c8
/src/python-bindings/scripts/classad_eval.py
4d2209fa2383fb1b2d89df4dbe150363e2a41fe8
[ "DOC", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ashishadscft/htcondor
96f6d3b512d30be445382f42c36d4419f9cf90a5
c93abb7847bfd4d4ebd7c0b95bd2a287350c5e1c
refs/heads/master
2020-09-12T18:35:49.815344
2019-11-18T17:16:20
2019-11-18T17:16:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
734
py
#!/usr/bin/env python import sys import classad import htcondor def evaluateAndPrint(argv): if len(argv) < 3: print("Usage: {0} <classad> <expr>[ <expr>]*".format(argv[0])) print(" You may substitute '-file <file>' for '<classad>'."); return -1 adString = argv[1] if adString...
[ "tlmiller@cs.wisc.edu" ]
tlmiller@cs.wisc.edu
60e03ed0c3f8968a0b036e1daf76ac590ab8bd62
674e6043a505a8147ceaadaebb7319ae355cc524
/line_chart.py
58dfb491d6477930e184b98354572f700338d6e8
[]
no_license
szamani20/python-TA-session
d3dac47c4840549015415cdfec55e4888d69c266
93055d689ae0f5f209472b71fbfe8f958ade85af
refs/heads/master
2021-09-01T07:10:08.650372
2017-12-25T15:37:37
2017-12-25T15:37:37
115,347,887
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
import matplotlib.pyplot as plt # Data x = [1, 2, 3] y = [4, 5, 6] # second data x2 = [1, 2, 3] y2 = [10, 12, 14] # Create Plot plt.plot(x, y, label='First Line') # Create second plot plt.plot(x2, y2, label='Second Line') # Label for x axis plt.xlabel('X Label') # Label for y axis plt.ylabel('Y Label') # title o...
[ "szchem20@gmail.com" ]
szchem20@gmail.com
f89f710127b08733d585ce9f7723e52d63a4ff3e
5a12738ceacc894e481b69d4bcfc56745aaedac1
/onmt/models/__init__.py
30439ebb4b0b7c7f6ba704d8bfce2e6d4b15185d
[ "MIT" ]
permissive
zdou0830/DDA
3521b27f201e2a2c0f9de9acf2a45bd622016e13
ddf3db1161f47269b90c07a52a569a8557897ed0
refs/heads/master
2020-07-30T14:10:01.413640
2019-09-23T03:58:21
2019-09-23T03:58:21
210,258,915
1
1
null
null
null
null
UTF-8
Python
false
false
250
py
"""Module defining models.""" from onmt.models.model_saver import build_model_saver, ModelSaver from onmt.models.model import NMTModel, LMModel __all__ = ["build_model_saver", "ModelSaver", "NMTModel", "LMModel", "check_sru_requirement"]
[ "zdou@andrew.cmu.edu" ]
zdou@andrew.cmu.edu
fec405b40dffaf94db579791ad2b4b3996177b9b
a3ffda670cc680c13f62105cf74a0847f9de083c
/Code/aud/start.py
4e4683e8139c67e95c6cfbf7fab324cae5088349
[]
no_license
chionhkw/S15-15-112-Term-Project-Duality-
eba972fe4cebd8b380b25e180d00b1d4dff522a4
c7a1ff59a790cd6be8a25133c188df2e050b866b
refs/heads/master
2016-08-11T17:03:47.227638
2015-11-15T18:15:28
2015-11-15T18:15:28
45,872,119
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
import winsound import os path = os.path.dirname(__file__) winsound.PlaySound(path + os.sep + "start.wav", winsound.SND_FILENAME)
[ "chionhkw@gmail.com" ]
chionhkw@gmail.com
a26082e5f6cee13c70b4c407e791e4715556b070
7c724008d9de61e11c86f47aff239edc8970e350
/tests/get_test_requests_session.py
334ef99a2ae9924636eec03ef5d54618a5a47c9c
[ "MIT" ]
permissive
Virtual-Shard/tcp-tls-tunnel-py
fc6c406f5b6076b986b73aaa9479664043ed7420
c2e16c4f629128b5840ada4aaf9d98a0864b8bdb
refs/heads/master
2023-07-16T13:18:52.792361
2021-08-28T16:34:07
2021-08-28T16:34:07
382,931,584
2
1
MIT
2021-08-28T14:41:31
2021-07-04T19:20:34
Python
UTF-8
Python
false
false
702
py
from typing import Union import urllib3 from tests import test_settings from hyper.contrib import HTTP20Adapter from requests import Session from requests.adapters import BaseAdapter def get_test_requests_session(adapter: Union[BaseAdapter, HTTP20Adapter] = None) -> Session: headers = urllib3.make_headers( ...
[ "1arteha1@gmail.com" ]
1arteha1@gmail.com
eacb9522092aa5e0ceb98aa10b3504cb2ba0ef10
aceaf99df06081676f33145ff104009fcf30e922
/core/permissions.py
709d90b2de6a29e2b5eb15e460ad2a721747fd68
[]
no_license
jonatasoli/process_monitoring
2222d692b5255cbdf1e982940bf4f8a749257295
6ba2b3cf68b8bf8be6e1a4547b98c09e08d91794
refs/heads/master
2021-01-24T01:59:50.231667
2018-02-27T20:00:52
2018-02-27T20:00:52
122,831,848
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
from rest_framework import permissions class UpdateOwnProfile(permissions.BasePermission): """Allow users to edit their own profile""" def has_object_permission(self, request, view, obj): """Check user is trying to edit their own profile""" if request.method in permissions.SAFE_METHODS: ...
[ "contato@jonatasoliveira.me" ]
contato@jonatasoliveira.me
2bd40a80b828137202059058e88f7504df2e6470
8613ec7f381a6683ae24b54fb2fb2ac24556ad0b
/boot/hard/2017.py
36601afabce20178c45edae2db36c8014b9864eb
[]
no_license
Forest-Y/AtCoder
787aa3c7dc4d999a71661465349428ba60eb2f16
f97209da3743026920fb4a89fc0e4d42b3d5e277
refs/heads/master
2023-08-25T13:31:46.062197
2021-10-29T12:54:24
2021-10-29T12:54:24
301,642,072
0
0
null
null
null
null
UTF-8
Python
false
false
715
py
q = int(input()) l, r = [0] * q, [0] * q for i in range(q): l[i], r[i] = map(int, input().split()) mini = min(min(l), min(r)) maxi = max(max(l), max(r)) ans = [0] * (maxi + 1) prime = [0] * (maxi + 1) def judge_prime(n): for i in range(2, int(n ** 0.5) + 1): if n % i == 0: return False ...
[ "yuuya15009@gmail.com" ]
yuuya15009@gmail.com
e0de689cfe67d9012183a5933cadf8c4b9bc0315
cf8cd28b091fa4378d90ead4a7c620646e50a051
/2016/14_solution.py
ec277e3e649dea467bc75da1ca614337cb409b49
[ "MIT" ]
permissive
kng/AoC2019
55a1f4fe24a243c9f1e6aa78e5563104faf35fb3
0d40053a876580a78e277be9c047c631762d6ea7
refs/heads/master
2021-12-19T10:05:22.922939
2021-11-26T15:36:39
2021-11-26T15:36:39
226,349,762
0
0
null
null
null
null
UTF-8
Python
false
false
2,169
py
# --- Day 14: One-Time Pad --- # https://adventofcode.com/2016/day/14 import time import hashlib simple = False verbose = 0 if simple: data = 'abc' iterations = 25000 else: file = open('14_input.txt', 'r') data = file.read().strip() iterations = 50000 # somewhere between 25k and 50k...
[ "noreply@github.com" ]
kng.noreply@github.com
1c664c2d6941a617b5c8f4784a6866f94995ad87
0f0f7fec08a4169262066efcecd22149fc046417
/contest/elliptic_encryption.py
da2f2fd8df4febca050175370d7fd0cda048fcef
[]
no_license
TurtlePU/ecc
ca08be2a6ca6b9d901c86c3b05fe1b56e6a0111f
4a8ae2dfc786db01bd1fbe321dc8029f088eb67a
refs/heads/main
2023-07-27T08:18:36.259367
2021-09-11T07:43:10
2021-09-11T07:43:10
388,795,455
0
0
null
null
null
null
UTF-8
Python
false
false
8,716
py
from typing import Generic, List, Optional, Tuple, TypeVar from dataclasses import dataclass from random import randrange T = TypeVar('T') class Group(Generic[T]): def eq(self, x: T, y: T) -> bool: raise NotImplementedError def order(self) -> int: raise NotImplementedError def into(self...
[ "sokolov.p64@gmail.com" ]
sokolov.p64@gmail.com
f529cabe1b39c2b9c90469b2edc8da3230bb3ca1
baad209266154504218fdceda1a88939bb7df361
/sandbox/apps/python/multigrid/NAS-PB-MG-3.2/main.py
216d4f43feaebfd86691d7f0f2db679c9b99242b
[ "Apache-2.0" ]
permissive
bollu/polymage
c104efab65181d10b55695c7fe94edb513708e7e
517657142cc3ae74e9daff3b41a0257d6a4ce2b6
refs/heads/master
2021-01-09T20:41:53.647747
2016-06-24T05:27:43
2016-06-24T05:27:43
63,394,845
12
3
null
null
null
null
UTF-8
Python
false
false
1,283
py
import numpy as np import time import sys from __init__ import * from init import init_all, init_norm from verify import verify_norm from builder import create_lib, build_resid, build_mg3p from exec_mg import multigrid from printer import print_line, print_header, print_config app = 'nas-pb-mg-3.2' def main(): ...
[ "vinay.vasista@csa.iisc.ernet.in" ]
vinay.vasista@csa.iisc.ernet.in
f12ad10f04ebad7fca901b3f4958f768e9b2773f
ea5691c2632a30d4209f0222008b9067a44a3fe7
/dcptree/zero_one_loss/tests/test_mip.py
c07f03419592cd26e37a6133607f4db282698841
[ "BSD-3-Clause" ]
permissive
ustunb/dcptree
1369168f651ec4a35b7decbdef133dcc7941e767
40ce36e5b2bb6b8d5de3310e0d29d19a2d46782a
refs/heads/master
2020-05-24T02:23:39.262609
2019-06-05T23:49:58
2019-06-05T23:49:58
187,052,932
5
2
null
null
null
null
UTF-8
Python
false
false
13,982
py
from dcptree.zero_one_loss.tests.testing_helper_functions import * from dcptree.zero_one_loss.mip import * #### Test Setup #### data_name = 'breastcancer' format_label = 'envyfree' selected_groups = [] test_settings = { 'fit_intercept': False, 'compress_data': True, 'standardize_data': True, 'margin':...
[ "ustunb@mit.edu" ]
ustunb@mit.edu
a87c9047c98e2aca8c3c3fa0f4081072d0318a75
5f69a130169d3316f4e0cfdd7c6bb801bb289d51
/path2png(Mine).py
0b348efa4eb02c74ff1874637b2f954471514b0b
[]
no_license
tushaR18k/Diagrams-data
dee330025ab13e4bcd0fc8010c07ab0953ffdf36
3ff00c749834fa4a51b8c3f0a15013f133a562cb
refs/heads/main
2023-07-04T17:36:13.392144
2021-08-10T04:54:59
2021-08-10T04:54:59
385,915,317
0
0
null
null
null
null
UTF-8
Python
false
false
7,512
py
""" Demo skript: Turn Drawings into PNGs ------------------------------------ Walk through the drawings of a page and join path rectangles, which "touch" each other. Create high resolution PNG images for each of the resulting rectangles. License & Copyright ------------------- License AGPL 3.0 Copyright (c) 2021, Jorj...
[ "kansaltushar18@gmail.com" ]
kansaltushar18@gmail.com
840e9b3ea6c66f476d8bacfb8a6cf053ead20b8c
34247780ca65e6b71d706912251e29dc0103e8ed
/servo_control.py
49c26768d6f58811d7f61b5fc43a6ee5e55e4bb1
[]
no_license
ViktorBash/PID-Control-Loop
74174e7cdf429c7ccd1de698ee42b643acdd7420
fcc2fd2547eadbe9809c94906fd78482a2088baf
refs/heads/master
2023-01-23T15:49:58.144613
2020-12-09T01:52:50
2020-12-09T01:52:50
275,858,868
0
0
null
null
null
null
UTF-8
Python
false
false
985
py
""" Two functions to control the two servo motors for the project """ from gpiozero import Servo, AngularServo from gpiozero.tools import sin_values import time from time import sleep # Setup servo 1 # servo1 = Servo(12) servo1 = AngularServo(12, min_angle=-90, max_angle=90) # Setup servo 2 # servo2 = Servo(19) servo...
[ "basharkevichv@gmail.com" ]
basharkevichv@gmail.com
027136e555fc8b01d48d55e3b5206ffec7249008
111330f20804d90a766f808c464fdf5b1de1579a
/examples/pieris/preprocessing/runSailfish.py
58fc94daa8701700db7975267ad2faddeb509a44
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
NCBI-Hackathons/arvos
53134550e0ebfbc3999a344e1e92f24c64200965
1cbea3e93a6659a334183d8119c034f7095d1a5d
refs/heads/master
2021-01-22T02:08:18.916841
2017-05-30T18:54:22
2017-05-30T18:54:22
92,335,502
4
0
null
null
null
null
UTF-8
Python
false
false
4,896
py
#!/usr/bin/python """ Run STAR to align reads to transcriptome """ import os,sys,re,shutil,getopt,itertools import HTSeq from htsint import run_subprocess ## locations homeDir = os.path.join(os.path.expanduser("~"),"sequencing","pieris") sailfishDir = os.path.join(homeDir,'sailfish') readsDir = os.path.join(homeDir,...
[ "adam.richards@galvanize.com" ]
adam.richards@galvanize.com
0094d69ad917355ea2a470b92bfadd5756d51fcf
dbb9ed7fdef8f210d6e9786efddd77e943116958
/src/unittest/python/util/common/CollectionUtil_test.py
05cc772461fc2896600f895584d3d30f4327b53c
[]
no_license
HuBing958878/ugc.aggregator
658ff60cadc888d64423e2d595db176f1ade7f06
5c838826fc75bbfa51011f438f16876fe04dd9e2
refs/heads/master
2021-01-22T17:42:50.235387
2016-04-24T08:33:55
2016-04-24T08:33:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
# -*- coding:utf-8 -*- import unittest from util.common.CollectionUtil import CollectionUtil class CollectionUtilTest(unittest.TestCase): @classmethod def setUpClass(cls): print "setUpClass..." @classmethod def tearDownClass(cls): print "tearDownClass..." def test_chunksBySize(se...
[ "wrtx52g@gmail.com" ]
wrtx52g@gmail.com
e0bf1dde490aa1972c660674bcf50d43a21840c7
96c2adda2c76255dd0310ce031a25d622ff51365
/python3-voikko/app.py
28ad459ae624fc337e353f06f7836d603f54643f
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
janik6n/docker-demos
534165a2c5db28c0363430730780ce916504e633
30348c0d633d7c6d2120c52af4e119e27ff7f1c9
refs/heads/master
2021-09-18T22:10:57.989652
2018-07-20T08:46:48
2018-07-20T08:46:48
102,210,769
2
0
null
null
null
null
UTF-8
Python
false
false
293
py
#!/usr/bin/env python import sys from libvoikko import Voikko print('Analysoidaan annetut sanat:\n') v = Voikko("fi") # Pass the 1st argument as it is the app name itself. for a in sys.argv[1:]: print(f'Sanan {a} analyysi:') print(v.analyze(a)) print('Annetut sanat analysoitu.')
[ "janikarh@gmail.com" ]
janikarh@gmail.com
a286590d7c089d392082b4cfc43cbd3de3c36947
d738a9f24693d6c8a1be01f0710696f91bfa478d
/gage.py
63ea3d093ced471c4cbcea53b00f37dbc5b840b9
[]
no_license
PaulSchrum/SMSbridge2PostGreSQL
d784aa97bf416557586bf49179521d3c497bcd02
68a05a595b5241f602685cdfeb91b22b7f0ffc3d
refs/heads/master
2020-03-07T12:26:32.036989
2018-05-11T00:29:58
2018-05-11T00:29:58
127,478,223
0
0
null
null
null
null
UTF-8
Python
false
false
4,009
py
''' Gage class represents a a gage or sensor. All data is expected to come from a json entity which was originally created via a MongoDB json dump from FRF's SMS database. ''' import os, json from frfObjectBase import FrfObjectBase as B requiredFields = [('mongo_id', 'STRING', '31'), ('stationId'...
[ "ptschrum@ncsu.edu" ]
ptschrum@ncsu.edu
bc0104807d36c2d7c6def7e3549370848dea517d
46d36c47d5991ac3f05f143c79c4fa7e56f9193b
/peri.py
432664ef6468ccacd62cba76747d988bfa325e92
[ "MIT" ]
permissive
jenwich/practicum_game_project
1aab8d699cc494b0951fea5c853179ae985c212c
3619b808bb8e0779a3d6581c904421576cf39c9f
refs/heads/master
2021-01-10T09:01:40.863526
2015-12-10T18:41:38
2015-12-10T18:41:38
46,523,451
0
0
null
null
null
null
UTF-8
Python
false
false
1,703
py
from practicum import McuBoard RQ_SET_LED = 0 RQ_GET_SWITCH = 1 RQ_GET_LIGHT1 = 2 RQ_GET_LIGHT2 = 3 RQ_GET_LIGHT3 = 4 RQ_GET_SOUND = 5 #################################### class PeriBoard(McuBoard): ################################ def setLed(self, led_no, led_val): ''' Set status of L...
[ "pamjeavrat@gmail.com" ]
pamjeavrat@gmail.com
566c95167a311915ae2e5fcd0fddadd39b9811a8
502e84ec9014adac3df026c66106055cf90a8825
/apps/core/admin.py
5becff817befcb68859ffca0246455cce8dada64
[ "BSD-3-Clause" ]
permissive
Hagalas/sis
a80f53c9640871bcbb84a6f9ac5643edd1423109
d5333a263a590fe7f9f88dd298b6dbe047f4c0a5
refs/heads/master
2021-06-02T12:25:21.191941
2015-05-26T14:08:34
2015-05-26T14:08:34
34,321,342
1
0
null
null
null
null
UTF-8
Python
false
false
841
py
from django.contrib import admin from django.contrib.admin.widgets import FilteredSelectMultiple from suit.widgets import SuitDateWidget, SuitTimeWidget, SuitSplitDateTimeWidget from django.db import models class BaseModelAdmin(admin.ModelAdmin): formfield_overrides = { models.ManyToManyField: {'widget'...
[ "oskarm91@o2.pl" ]
oskarm91@o2.pl
c1bcd65d34b7a3e59e2d47a48b25316f3ee6c058
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/SOLOv1/mmdet/models/mask_heads/fcn_mask_head.py
26cb3c0ff0c362870863dc2fddb5f9a2379cb87e
[ "GPL-1.0-or-later", "LicenseRef-scancode-proprietary-license", "BSD-2-Clause", "Apache-2.0", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
8,012
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicable law or agreed to in ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
6856af0940e6a623783187a44bd637734823dd8d
3a6a9bd8cb6a977b77c9313282b769177bf1e0c6
/src/analysis/internalAnalysis.py
4b060a7d3fa51669d11a2314a4b3e327b4003bb0
[]
no_license
PNNL-Comp-Mass-Spec/NMDC-Proteomics-Workflow
d34dd04ac1e32b7cfc77df3252ebec6a873f2ee2
1c8d04a6cdb497905a42e026663b39417ffdad02
refs/heads/master
2022-11-24T22:56:20.454860
2020-08-06T02:33:35
2020-08-06T02:33:35
266,201,144
0
0
null
null
null
null
UTF-8
Python
false
false
13,000
py
import pandas as pd import numpy as np import os import re import seaborn as sns import matplotlib.pyplot as plt from scipy.optimize import minimize __author__ = "Gao, Yuqian <Yuqian.Gao@pnnl.gov>" __maintainer__ = "Anubhav <anubhav@pnnl.gov>" class downStreamAnalysis: def __init__(self, parent_folder,): ...
[ "anubhav@pnnl.gov" ]
anubhav@pnnl.gov
044933ceef9d864c4c6bbdae99fddac39245cf68
89e23b8d0c00a5255de9e7f066b6ca58224bc9da
/mysite/polls/views.py
6a1bd9dcf657d5f32fe8cde326473ad2f865efbb
[]
no_license
Mholliday6611/firstproject
6da49d64d119fd9b7a38bf9ffa0ca5b451bb64f9
2d7d977fa6d9fa8641dd3a067475cfe8e65b6e52
refs/heads/master
2021-01-12T16:41:06.441651
2016-12-08T04:43:36
2016-12-08T04:43:36
71,424,915
0
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
from django.shortcuts import get_object_or_404, render from django.http import HttpResponseRedirect from django.urls import reverse from django.views import generic from django.utils import timezone from .models import Choice, Question class IndexView(generic.ListView): template_name = 'polls/index.html' context_o...
[ "mholliday6611@gmail.com" ]
mholliday6611@gmail.com
f488fb1b598893609ff4510a7ee334fda84ad105
212724dd876c15ef801fb781e907b1c7dd08f4ae
/skyline/webapp/gunicorn.py
50d0f6817e3af53960712284da80d1324840b628
[ "MIT" ]
permissive
wfloutier/skyline
b9e769cddccdefeeb7c7cc258524bbf489f9d5eb
b12758dc11564de93c7ad76c1f8ed3327db78aa4
refs/heads/master
2020-08-08T03:19:40.283298
2019-10-09T11:05:13
2019-10-09T11:05:13
213,693,601
0
0
NOASSERTION
2019-10-08T16:20:15
2019-10-08T16:20:15
null
UTF-8
Python
false
false
1,378
py
import sys import os.path import logging # import multiprocessing # import traceback from logging.handlers import TimedRotatingFileHandler, MemoryHandler sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir)) sys.path.insert(0, os.path.dirname(__file__)) import settings bind = '%s:%s' %...
[ "gary.wilson@of-networks.co.uk" ]
gary.wilson@of-networks.co.uk
c1bcf930fde9e46b78d8ed6438271171d70ccbd9
5390a9625fe2ac6a00f0460d367bacd156f5aaa7
/2.4.1.py
443e2e62c7bb40e11ed422476aefd967d6ab66f8
[]
no_license
BorisovaNatalia/stepik---auto-tests-course
82860241dc3dbb52b8eae2ac4d8cafe41e5226c6
80dcd9d967e58c279833da7deaf8adadf80d7657
refs/heads/master
2023-02-08T13:36:17.123620
2021-01-01T13:03:13
2021-01-01T13:03:13
295,004,738
0
0
null
null
null
null
UTF-8
Python
false
false
1,164
py
from selenium import webdriver import time import math from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC def calc(x): return str(math.log(abs(12*math.sin(int(x))))) try: link = "http://suninjuly.gi...
[ "borisovan.work@gmail.com" ]
borisovan.work@gmail.com
fb30dd275caddb83372fc2f304fb8788cbcf7c23
9111dead6c8340b854bfaa5869bf6fd821b0eee0
/docs/_ext/exts.py
a46fc3d825ca4cfb88047cfe6665fb1c142edfb7
[ "BSD-2-Clause" ]
permissive
starenka/django-password-policies
d88f4a57526f3af1a05e40a27b70036441e71401
201a158b82189457b4f9ce347001e18c7235cc67
refs/heads/master
2021-01-15T23:06:39.722732
2013-08-19T20:53:31
2013-08-19T20:53:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,571
py
import inspect from django.utils.html import strip_tags from django.utils.encoding import force_unicode from fields import model_fields from fields import model_meta_fields def process_docstring(app, what, name, obj, options, lines): # This causes import errors if left outside the function from django.db imp...
[ "halbkarat@googlemail.com" ]
halbkarat@googlemail.com
f619abde284052fd0d7c5f49dc880743a48e4667
9fae63ebb022b117041b3ece348e7375de161505
/ems_server/emp/urls.py
a23ab508912f10a52d2695f60ce63077b37252b5
[]
no_license
Hz5212/Python2010-drf_day5
2f174d8a2f85677e7e511885178f6c1f13b06082
79e906af8b94d959ae611ede49d257e7687ab203
refs/heads/master
2023-04-02T20:37:30.383078
2021-04-06T00:07:45
2021-04-06T00:07:45
355,005,792
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
from django.urls import path from emp import views urlpatterns = [ path("employees/", views.EmployeeAPIView.as_view()), path("employees/<str:pk>/", views.EmployeeAPIView.as_view()), ]
[ "2510423324@qq.com" ]
2510423324@qq.com
c6f623c161bda067f97a2de450fbd681059f6f60
750f4897e103b29a23088dd564d69f9ad27c9d97
/portfolio/migrations/0002_remove_customer_email.py
d033bc685cab7a79dfa98043b5dc148b4e730daa
[]
no_license
hippili/Efs2
f45ab07a24a060de70abe4ca01d3b709f124cdfa
39980c081a4c74156f4485dc5b7ce0fae55fef6e
refs/heads/master
2023-03-06T19:21:09.883134
2021-02-24T05:37:05
2021-02-24T05:37:05
341,789,851
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
# Generated by Django 3.0.7 on 2021-02-22 00:00 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('portfolio', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='customer', name='email', ), ]
[ "hippili@unomaha.edu" ]
hippili@unomaha.edu
e74bdca48ed80b6224ab0aa3aac1397fbc4f6c50
ebebce7f00990f8cad48d845cad3d80cba3beb3d
/multithreaded_merge_sort.py
02aa580555c87a832183c2e11000e7bb6f70356c
[]
no_license
prurph/python-concurrency-playground
a84235ae1c2e8bac1b4462b3fe9124f93775e964
c71a5bb9025123c31aed5b314fdd246096cbacd5
refs/heads/master
2020-12-30T08:41:54.573002
2020-03-07T13:37:16
2020-03-07T13:37:16
238,933,361
0
0
null
null
null
null
UTF-8
Python
false
false
2,698
py
import random import time from threading import Thread def multithreaded_merge_sort(arr): return multithreaded_merge_sort_h(arr, 0, len(arr) - 1, [None] * len(arr)) def multithreaded_merge_sort_h(arr, start, end, merge_scratch): if start >= end: return arr mid = start + (end - start) // 2 w...
[ "prurph@gmail.com" ]
prurph@gmail.com
f96b6739d30de98f438bfc15e544eb95f5523574
4a7a6f629e4dd16b5ba3db23a6b6369dbb19c10d
/a038- 數字翻轉.py
f4df8c96273b40ed14b01a7ac42e057c5349a0a8
[]
no_license
jlhung/ZeroJudge-Python
1170fc70ffc6a1a577d035cd70289529d2bbc07e
356381363891ba05302736746c698ea85668af50
refs/heads/master
2022-12-08T06:42:12.160731
2020-09-03T12:04:49
2020-09-03T12:04:49
282,219,015
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
''' 20200723 v1.0 jlhung "0"也要輸出 要消除尾數的0 ''' while True: try: n = int(input()) if n == 0: print(0) break while n % 10 == 0: n //= 10 print(str(n)[::-1]) except(EOFError): break
[ "35291112+jlhung@users.noreply.github.com" ]
35291112+jlhung@users.noreply.github.com
3bdbd3cfdd89c89ececba6bd06fdd7af1e184e39
6e68584f2819351abe628b659c01184f51fec976
/Centre_College/CSC_339_SP2015/vindiniumAI/pybrain/optimization/memetic/inversememetic.py
f38eec205b10fd0408828968956d69f6cf8c206b
[ "WTFPL" ]
permissive
DanSGraham/code
0a16a2bfe51cebb62819cd510c7717ae24b12d1b
fc54b6d50360ae12f207385b5d25adf72bfa8121
refs/heads/master
2020-03-29T21:09:18.974467
2017-06-14T04:04:48
2017-06-14T04:04:48
36,774,542
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
__author__ = 'Tom Schaul, tom@idsia.ch' from memetic import MemeticSearch class InverseMemeticSearch(MemeticSearch): """ Interleaving local search with topology search (inverse of memetic search) """ def _learnStep(self): self.switchMutations() MemeticSearch._learnStep(self) ...
[ "dan.s.graham@gmail.com" ]
dan.s.graham@gmail.com
a37ac3291231053560cbbc640451e0e4de4a3c28
f5659d8fb411fbf54e1c6bb376411ae1fa774bd6
/photoreport/mainapp/admin.py
55641123b1ee03374c58f44b895e5bfb00b9f242
[]
no_license
santoshghimire/photolog
fc995b433ba9cba509ffbb13f39670d48cad304d
2dfe7b038ec9d6e76f3c345a080d3008d3044c4d
refs/heads/master
2021-01-18T13:12:08.179544
2017-02-02T17:04:12
2017-02-02T17:04:12
80,746,257
1
0
null
2017-02-02T16:52:36
2017-02-02T16:52:36
null
UTF-8
Python
false
false
168
py
from django.contrib import admin from .models import InputFile, Image, Project admin.site.register(InputFile) admin.site.register(Image) admin.site.register(Project)
[ "lyncas@gmail.com" ]
lyncas@gmail.com
f03e352509aa4b80b654d443e20eafe28072fae0
56ced24af9276acbb846cf3ff1eeb47b3442a264
/zigzag.py
da9e45916d46379f49e82f331cd5b2c541765ca4
[]
no_license
Yorktsc/LeetCode
9b614ce670d5f97dace1000f49983ac9d4c7892d
44e457d4b803c57c6c2af7973da84f830e148ec7
refs/heads/master
2020-06-28T09:46:45.052953
2019-11-08T08:34:24
2019-11-08T08:34:24
200,202,517
0
0
null
null
null
null
UTF-8
Python
false
false
1,292
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def zigzagLevelOrder(self, root): """ :type root: TreeNode :rtype: List[List[int]] """ ...
[ "yooooork@berkeley.edu" ]
yooooork@berkeley.edu
a6610f3481b08658f371b6904911bc55a74f4c12
ff481a22256d045e28403f4ee65480dc3d6ce1d9
/gerencia/views.py
073e9d8eb381f5ced2498a8713c677de275c3ce7
[]
no_license
redcliver/inomont
83fa6501cbca74e79fc1a42509e5bb5c05eea2dd
0b8d6511618b6509a5208c8a5d9f82903de8da87
refs/heads/master
2023-04-27T03:22:57.138482
2020-01-14T21:22:19
2020-01-14T21:22:19
221,098,331
1
0
null
2023-04-21T20:40:39
2019-11-12T00:51:22
CSS
UTF-8
Python
false
false
65,237
py
from django.shortcuts import render from website.models import funcaoModel, cadastroSite, fornecedorModel, colaboradorModel, clienteModel, contaPagarModel, contaReceberModel import datetime from django.contrib.auth.models import User from django.utils.crypto import get_random_string # Create your views here. def home...
[ "igor-peres@hotmail.com" ]
igor-peres@hotmail.com
81bfaf6375f77b7ed67e4349c83094fe48b45d0d
cb20a5e5f9360c50b5d2c8e3db68f08727c5bff3
/Src/NewCustomer.py
b23a58b82b919b65229cf4246d1cb5cdb2c285ff
[]
no_license
AnhaaD/IMS-2.0
cc40c9408bc2e1e4afd96ac52be1d7af0cd908a7
10bc88f7c0680733196debfdbe08aa4c2281df29
refs/heads/master
2020-06-18T10:58:26.981620
2019-07-10T21:48:54
2019-07-10T21:48:54
196,279,292
1
0
null
2019-07-10T21:48:52
2019-07-10T21:48:52
null
UTF-8
Python
false
false
18,140
py
from Tkinter import * from ttk import * import tkFont as F from proWrd import Filter, InvoiceSplit from tkMessageBox import showinfo from tkMessageBox import askokcancel from TableTree import MultiListbox import UniqueIdGenerator as uig from buttoncalender import CalendarButton sty = N + W + S + E class NewCustomer(...
[ "souravbumbadas25@gmail.com" ]
souravbumbadas25@gmail.com
400de2d7c652c000bcc597a06856b2b46c0ce770
98f9f4160c2177ae227b4c6282f4a45a3a77831c
/tests/test_helpers.py
3fdb6368eb850803fa0e7255459944155f4ac4ff
[ "Apache-2.0" ]
permissive
allaway/challengeutils
a4ee699adf932ad5b4fcc0f25981f2752d3dd1f6
4031a22ee60b3afda8d324cf45861402a66c34ca
refs/heads/master
2022-06-21T13:57:10.527995
2020-04-22T05:29:01
2020-04-22T05:29:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,804
py
''' Test challengeutils helper functions ''' import mock from mock import patch import pytest import synapseclient from challengeutils import helpers, utils SYN = mock.create_autospec(synapseclient.Synapse) LAST_UPDATED_TIME = 1000000 START_TIME = 10000 DOCKER_SUB_ANNOTATION = {helpers.WORKFLOW_LAST_UPDATED_KEY: LAST...
[ "thomasyu888@gmail.com" ]
thomasyu888@gmail.com
9866fcf46bab6408ee2d067adcfed3f1ed0287ad
fcdfb4231b64e38a5f6611057097def815a6a987
/baidumap/tests/autopilot/baidumap/tests/__init__.py
0bf71b2ca06c109fd48386845c2031198789f74a
[]
no_license
liu-xiao-guo/baidumap
f2967efc845347bb40769ea7202bb8d4b4c6e66d
e6ba8ba6bb3df4e2956af55414e5e8a1a34ac06a
refs/heads/master
2021-01-10T08:45:01.423685
2016-03-23T04:47:49
2016-03-23T04:47:49
54,531,442
0
1
null
null
null
null
UTF-8
Python
false
false
1,687
py
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- """Ubuntu Touch App Autopilot tests.""" import os import logging import baidumap from autopilot.testcase import AutopilotTestCase from autopilot import logging as autopilot_logging import ubuntuuitoolkit from ubuntuuitoolkit import base log...
[ "liu_xiao_guo@yahoo.com" ]
liu_xiao_guo@yahoo.com
9c31bb49454d9c7290279507c98e14594f9f9512
020204c8c01171d4f85ad158b0d43f6c4b20d3b0
/management/admin.py
554f0176b16192ae2e18160c11befbb35b8c6b7d
[]
no_license
yksmbkkr/tnp_archive
28795636548670f37e1f329f97b11d38f9c358be
ac39174c69b3da09ddcdf4cecabecb16baf1b799
refs/heads/master
2022-09-27T06:23:49.474581
2020-06-04T10:47:11
2020-06-04T10:47:11
269,297,334
0
1
null
2020-06-04T08:48:39
2020-06-04T08:02:45
HTML
UTF-8
Python
false
false
1,212
py
from django.contrib import admin from management.models import * # Register your models here. admin.site.register(branches) admin.site.register(branch_type) admin.site.register(managers) admin.site.register(company_grade) admin.site.register(current_batch_year) @admin.register(company) class company_admin(admin.Mo...
[ "yk.smb.kkr@gmail.com" ]
yk.smb.kkr@gmail.com
2f6eee826dd2db1a3b0bfd02c9320d14e04010f1
945929aca88ab7614e16284756a118c71ca87259
/requests/Requests/test_api_08_auth.py
5f5deafd346fe8bb8983ea51633986b4dfb23410
[]
no_license
XIAOQUANHE/pythontest
344c221b688f80e0ef5a3d3d71ffa48759e09ac1
8a02508fd66b13c6c41a689a65adac53aeb7361a
refs/heads/master
2023-01-24T22:25:57.278411
2020-11-30T05:43:31
2020-11-30T05:43:31
290,959,762
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
''' get 请求的登录的用户名密码,市面上很少,基本都是post请求 r = rs.get(url=url,auth=(username,password)) '''
[ "983460601@qq.com" ]
983460601@qq.com
ddcb7c9b4f04cabf00591c5bcb914a93a5489ff6
3cbb326024cedcede8a432582424ca1f37980738
/Snowball/Snowball/middlewares.py
b1226877052b177a74e2dbe6aae1ead49953ba76
[]
no_license
horysk/horysk_kaggle
bb02b9130c82948b187282e7ab49494ebea71bf5
b26a40014be8d4548eeffd439f8255676091dfc4
refs/heads/master
2022-11-30T00:58:20.791818
2020-07-17T08:15:56
2020-07-17T08:15:56
280,077,228
1
0
null
null
null
null
UTF-8
Python
false
false
3,601
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class SnowballSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrap...
[ "willhory@outlook.com" ]
willhory@outlook.com
8258490a8523ca5ddcc472087885ef1dc25aa68b
f2cc1dc87486833613fb83543c68784849fd7319
/subtests/test_search_item.py
e063b884b30225a9c67e4b1ebc4d511584d3914c
[]
no_license
EduardoUrzuaBo/platziChallenge
cc953e2615653d575cf079bceea4fdcad75a4da0
a8f06c98f14ee58db47848ec287dcd105b685dcb
refs/heads/master
2023-07-29T10:44:16.469765
2021-09-05T20:14:42
2021-09-05T20:14:42
403,379,274
0
0
null
null
null
null
UTF-8
Python
false
false
1,034
py
from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from src.testproject.decorator import report_assertion_errors """ This pytest test was automatically generated by TestProject Project: Test Projects Pack...
[ "eduardourzuabo@gmail.com" ]
eduardourzuabo@gmail.com
e810fdb9f3f5a5b3c10a3d2249126c55c78d8c89
e4633dacc48d682e80674fec3c7830a2ba148d94
/Finance data capstone project 2.py
684325846c66541e7ac0516994fe6731aafaafd1
[]
no_license
lakshaygola/Popular-ML-Algorithms
c1b32b9d7db7a2818aa6f7eb95a54c993c1fe2c5
847140bb720146880ea9061f141c656b71fb8cc5
refs/heads/master
2022-12-21T08:59:24.681474
2020-09-29T17:59:50
2020-09-29T17:59:50
299,692,245
1
0
null
null
null
null
UTF-8
Python
false
false
3,672
py
#Finance Data Capstone Projrct 2 #In this project we import the data online of the banks from the time of economic crisis from pandas_datareader import data , wb import pandas as pd import numpy as np import datetime import seaborn as sns import matplotlib.pyplot as plt import plotly import cufflinks as c...
[ "noreply@github.com" ]
lakshaygola.noreply@github.com
0a52fb0d6e2706f4e73db9d1d04ffd7f100566e8
9792f53e4c7d074a8a93cfcea8dd57c29260a3b9
/Algorithms/Search/Insertion sort.py
94676e628031f78dbc4fde2a304995d5cfa570e2
[]
no_license
dpaniq/Python
978a5e88d330461f958fd60dc05683401cc6c5b1
bd900caa01433ab1537f709b16dec54d329b7964
refs/heads/master
2021-06-18T06:40:45.752002
2021-01-28T20:56:09
2021-01-28T20:56:09
161,350,943
0
0
null
null
null
null
UTF-8
Python
false
false
768
py
# ---------------------------------------------------------------------------- # # Insertion Sort # ---------------------------------------------------------------------------- # # Example: # "18 17 20 16 26 8 30 2 3 13" --> "2 3 8 13 16 17 18 20 26 30" # ---------------------------------...
[ "14brother@gmail.com" ]
14brother@gmail.com
e6f51ac5c078a462cf32ca079da25b67af0a32d0
67559847d7dba32e033d8f4828df5751a3eef94c
/MDclt_secondary.py
41a9836017384c9a3f81cab08dd7d3c2a8cd479c
[ "BSD-3-Clause" ]
permissive
KarlTDebiec/MDclt
5b72d5105b43bc0e1fca6188fbe8bbdbe9630173
9e86e996ed7958a348012c053fa957d94729be8a
refs/heads/master
2016-09-11T09:26:41.955595
2015-09-21T13:47:25
2015-09-21T13:47:25
39,224,301
0
0
null
null
null
null
UTF-8
Python
false
false
1,516
py
#!/usr/bin/python # -*- coding: utf-8 -*- # MDclt_secondary.py # # Copyright (C) 2012-2015 Karl T Debiec # All rights reserved. # # This software may be modified and distributed under the terms of the # BSD license. See the LICENSE file for details. """ Command Line Tool to manage secondary analysis of molecu...
[ "karl.t.debiec@gmail.com" ]
karl.t.debiec@gmail.com
25ee4544a2ae3bcfe5ae0a616a0201ff6b536b46
fd7be1f6e892013238331ddfc605b13f4f3bcd12
/timeProj/timeApp/admin.py
6377b2db06ee39442e8649e670a60c01f712e4c3
[]
no_license
cs-fullstack-2019-spring/django-mini-project3-ChelsGreg
6e1655113562d17d72e1382aa26cf19aae60e01d
c3af6667fa21b9f86ff3bdb078e42ae1451d600e
refs/heads/master
2020-04-26T05:02:09.660809
2019-03-02T01:06:24
2019-03-02T01:06:24
173,320,859
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
from django.contrib import admin # FOR MODEL INFO TO REGISTER TO ADMIN SITE from .models import TimeModel admin.site.register(TimeModel)
[ "cgreg2217@gmail.com" ]
cgreg2217@gmail.com
c0375b7a96458749568e89d575cc2ddde6fa8900
ac7e3759d8e4a220b080e09c4e529198f90b29e7
/pyCausalFS/LSL/MBs/CMB/CMB_subroutine.py
5f9d55f0276fb76cd84dab5e45c849d2d96f778f
[]
no_license
zhipengwang30105760/pyCausalFS
7e2f9c0979320ef557be9815b8313c85046534ee
d5d4c2f898ccb0ff424ffdbefe24d2c6204c4f4a
refs/heads/master
2022-11-25T08:49:34.318558
2020-08-07T14:51:02
2020-08-07T14:51:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,334
py
# _*_code:utf_8_*_ #!/usr/bin/env python # date:2019/9/5 20:41 import numpy as np from LSL.MBs.CMB.HITONPC import HITON_PC from LSL.MBs.CMB.HITONMB import HITON_MB from LSL.MBs.CMB.CausalSearch import CausalSearch def CMB_subroutine(Data, T, alaph, IDT, already_calculated_MB, all_MB, is_discrete): # already_calc...
[ "huwentao2013@foxmail.com" ]
huwentao2013@foxmail.com
9d7d4f3297db002248f23cca87f96ae297756264
230c4bd55ce5dbadf4c7dccd7e46da34d88bc1d7
/核心/二分搜索.py
b7685312d7725a178d7d9276880c156d84df91bc
[]
no_license
EmperorEuler/leetcode
c5b02a53bff129193aacabe339504423532888fa
1d1fd5380a8281826c286c07b300869ae54552aa
refs/heads/main
2023-08-20T02:45:01.772347
2021-10-12T06:22:24
2021-10-12T06:22:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
""" 一个有序数组的搜索方案, 每次都使用对半分的方式, 如果搜索的目标值大于中位数, 则目标值应该在数组的右半边 如果小于中位数, 则目标值应该在数组的左半边 递归执行 我们假设该数值存在于数组中 """ # 未完成 def binary_search(nums: [int], target: int) -> int: mid = len(nums) // 2 if nums[mid] < target: pass return 0
[ "chengzhao.chen2992@gmail.com" ]
chengzhao.chen2992@gmail.com
e29850d4bc107cdd9a707c816fea75d159dd1ae1
4cae2a0808d0f200a5f91a9724419a081b8c3eb0
/create_biometric_users/models/ecube_bio_machine.py
57453c1b50ef85bdab1500893f326346dbd611f0
[]
no_license
khyasir/Latitude_Custom_Modules
7392ba47da8c172f46902d32454e13614b5d5e8b
6758fc2a97073609dc305e71571f9ea42916f71b
refs/heads/master
2021-05-02T12:04:37.953490
2018-02-08T08:52:24
2018-02-08T08:52:24
120,735,490
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
from openerp import models, fields, api class EcubeMachine(models.Model): _name = 'ecube.machine' _description = 'EcubeMachine' name = fields.Char('Machine Name') machine_ip = fields.Char('Machine IP') machine_status = fields.Boolean('Machine Status')
[ "yasirkrauf@yahoo.com" ]
yasirkrauf@yahoo.com
36a0c61b58eabb3924f714ea972c50421a530abb
9f858317f2a5eb9a74de50c6be99bed260659764
/model/push.py
39f3f8dec7dafea7347886db85899b86932fc7b5
[]
no_license
wonleing/device_supervisor
9e883c32e139f557971e97db9bca3ec2cb5cd615
fbb35e9f681cb622edee21b5ce24d43098b9ff1f
refs/heads/master
2020-06-12T05:23:45.283957
2019-06-29T09:44:34
2019-06-29T09:44:34
194,206,914
0
0
null
null
null
null
UTF-8
Python
false
false
1,046
py
# -*- coding: utf-8 -*- from base import BaseModel from sqlalchemy import Column, ForeignKey from sqlalchemy.types import BigInteger, String, SmallInteger, Integer, Numeric, Text from sqlalchemy.orm import relationship class Push(BaseModel): '移动端消息推送' __tablename__ = 'push' TYPE_NORMAL = 'normal' ...
[ "wonleing@163.com" ]
wonleing@163.com
39db216033d546f0f643835c4d88651246ace967
2544d9e107e748faa06db1750c5ef72f583bbb7c
/puny/slug.py
196cbd159adca30391d8c4dbc94e660ff53758b3
[]
no_license
cleverdevil/puny
5e3244d4974495e43053dc21048614feba5782df
fe2f03b825ef4f9d6afa561af409e55ddb70a8ce
refs/heads/master
2021-09-15T03:02:08.329051
2018-05-24T16:48:31
2018-05-24T16:48:31
126,065,312
14
1
null
null
null
null
UTF-8
Python
false
false
1,281
py
from pecan import conf from slugify import UniqueSlugify from . import storage import uuid import maya def unique_check(text, uids): permalink = conf.app.public_url + '/view/entry/' + text return storage.get_by_permalink(permalink, hidden=True) is None slugify_unique = UniqueSlugify(unique_check=unique_chec...
[ "jonathan@cleverdevil.org" ]
jonathan@cleverdevil.org
6218077c77b98d87fec6d77f57a385cd718a18b6
9d8a8fb13e17c2644e1bdba68351603e4745f717
/labeling_tpchange.py
20e8f51318bf0402f80e07cb75a7ff9b2f48a25b
[]
no_license
Nunpuking/NI_SFC
2d3fe3179f0ee921e6f937a7674142f20c5e0304
34c23c27f5e48c6bda1805e20fe91becf6c6ee18
refs/heads/master
2021-05-20T22:52:21.937221
2020-04-02T12:07:27
2020-04-02T12:07:27
252,443,867
0
0
null
null
null
null
UTF-8
Python
false
false
8,856
py
from topology import Topology import index_dict as idx import topology_settings as tp from shortest_path import dijsktra import argparse import numpy as np import pandas as pd import time import os def load_test_datasets(): testset_path = '../data/testset.csv' raw_placement_dataset_path = '../data/20190530-no...
[ "sjglsks@gmail.com" ]
sjglsks@gmail.com
915ad6371c13240ce4e7557bcfe258d20c9c8585
5fbdc90152b73e82040812de0d6376b13254bd4e
/blog/views.py
b22b0acef4ece25d632d4cba4103008c3257cd35
[]
no_license
Brayanubigo/Mis-perris
111287ce7426aa4e13e47355d7d7870bb812e092
b095316aa36bdbbdede7133da949756da4a63acc
refs/heads/master
2020-04-03T08:48:42.271583
2018-11-05T18:56:37
2018-11-05T18:56:37
155,145,329
1
0
null
null
null
null
UTF-8
Python
false
false
4,255
py
from django.shortcuts import render from .models import Post from .models import Perros_Rescatados from django.utils import timezone from django.shortcuts import render, get_object_or_404 from .forms import PostForm from django.shortcuts import redirect from .forms import Perro_RescatadoForm from django.contrib.auth.de...
[ "brayan.ubigo@gmail.com" ]
brayan.ubigo@gmail.com
0b7e8882309c1a65ca918630f819051eec8037d6
7a5fac541003c065a791d0563c73635252f46182
/dogcare/settings.py
76d3a5a70b3936c3676a275f91dd829e5a555faa
[]
no_license
Earnn/GroomimgCare
5fd2329a61dd23eb1890b8542c522270d089ccf3
b378e7758a083bafd0cdad116cda1779b7d377b0
refs/heads/master
2020-12-30T13:27:58.561883
2017-05-23T00:28:12
2017-05-23T00:28:12
91,216,869
0
1
null
null
null
null
UTF-8
Python
false
false
4,515
py
""" Django settings for dogcare project. Generated by 'django-admin startproject' using Django 1.9.5. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os #...
[ "EARN" ]
EARN
0bea0ecced4c778b22f949d0bfa1c3a5954fc139
e0519908caa23bef1873ff69ebd17c5d81f741e1
/calabiyau/views/sessions.py
23c24167a6ff049d9af607d405a9047b9d2be499
[ "BSD-3-Clause" ]
permissive
TachyonicProject/calabiyau
2fb7af37bd656a686a5f741cadd082b2500718ff
415a8ada4a93ee84c4776e89c9442af328dcfdd6
refs/heads/latest
2020-05-02T04:14:43.953841
2019-12-06T04:12:39
2019-12-06T04:12:39
177,745,608
0
3
NOASSERTION
2019-12-06T04:12:40
2019-03-26T08:31:25
Python
UTF-8
Python
false
false
4,448
py
# -*- coding: utf-8 -*- # Copyright (c) 2018-2020 Christiaan Frans Rademan <chris@fwiw.co.za>. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the ...
[ "christiaan.rademan@gmail.com" ]
christiaan.rademan@gmail.com
a3dbfd07afbe0391b734bd981eafc9d8ac28b53b
64fe4fcaeb71b5e4d448abed92e03bebd838b1a2
/Models/Form_Factors.py
b5559332237915e69187a8b4ae18f8282d5fa4c1
[]
no_license
Caster89/Scattering_Analysis
ea2ddbd9311f0beebae6f083a37d843f44d3d00b
2bd14efb2d1bb6c1af5173a8ed98b668dbfc4673
refs/heads/master
2021-01-19T16:04:41.322316
2017-12-17T16:22:46
2017-12-17T16:22:46
88,247,591
0
1
null
null
null
null
UTF-8
Python
false
false
10,797
py
from config import _AvlbUnits, _UnitsSymbols,_UnitsConv, _AvlbSASFit, _AvlbSASFitDic, _AvlbSASFitDicInv, _lmfitModels, _lmfitModelFunctions, _lmfitDistFunctions import numpy as np import scipy as sp from scipy import signal from scipy import interpolate from scipy.integrate import dblquad, tplquad import logging import...
[ "=" ]
=
81a1f399a5de423dac9c0b369aac9ac4b7e1e416
a16bf10a2014294c01a132df45f11885243d33f7
/basic_web/main/validator/business_unit_validator.py
edc3d6d04569bc21f7f62325763680ec08246a3a
[ "MIT" ]
permissive
1212091/python-learning
57ace40d965c1eb5d9f08d316e4376a271c47a09
30fad66460daf73fd3961cf667ee25b91dee923d
refs/heads/master
2020-07-03T07:07:22.795574
2019-08-19T06:41:46
2019-08-19T06:41:46
201,832,336
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
from flask_inputs import Inputs from wtforms.validators import InputRequired class BusinessUnitInputs(Inputs): json = { 'bu_name': [InputRequired()] }
[ "trantiendo12@gmail.com" ]
trantiendo12@gmail.com
a071d653f678661efe5f76d8153b380eb2aa9da1
5456320f03ed956ff7b1ad6a9539d65a602c71d4
/mozCingi/fuzzers/mutagen/mutagenExecutor.py
03e99823055ea5ebf8b00cf285f353720184fc6d
[]
no_license
ShakoHo/mozCingi
9020cbb4aa65308ca5fd5bf9c074230f1fddb751
39239411abc840cd58a05f1fa41a24ae7cf9695f
refs/heads/master
2016-08-12T12:51:16.331671
2016-03-25T09:35:54
2016-03-25T09:35:54
49,626,247
0
4
null
null
null
null
UTF-8
Python
false
false
857
py
__author__ = 'shako' import os from mozCingi.util.mozITPWrapper import MozITPWrapper from mozCingi.steps.executor import AbsExecutor class MutagenExecutor(AbsExecutor): DEFAULT_EXEC_LOG_NAME = "exec.log" def launch_execute_file(self): mozitp_obj = MozITPWrapper() pack_file_name = self.fuzzer_na...
[ "sho@mozilla.com" ]
sho@mozilla.com
92aa7a25070d981b4443680ae1a1621f0f40d582
ce4d1c3a1522f382d9b3f73b7f126e7a3616bfb5
/projects/DensePose/densepose/data/datasets/coco.py
ddd03c25b6956e8afa7d78ac0a259d255fb51541
[ "Apache-2.0" ]
permissive
davidnvq/detectron2
6c01512326687e86ab50c0f89af4e926c0007ae6
eaca19840e5db014c3dd37dee9920d780b3b6165
refs/heads/master
2022-04-26T03:29:08.080258
2020-04-24T09:05:07
2020-04-24T09:05:07
258,421,912
1
0
Apache-2.0
2020-04-24T06:08:26
2020-04-24T06:08:25
null
UTF-8
Python
false
false
4,143
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import os from dataclasses import dataclass from typing import Any, Dict, Iterable, Optional from detectron2.data import DatasetCatalog, MetadataCatalog from detectron2.data.datasets import load_coco_json DENSEPOSE_KEYS = ["dp_x", "dp_y", "dp_I", ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
587fb249137b4f65c4e8e4e5ea82f45817a0bc12
64aca3c82ba752e3e48199440f4c252dd241dd93
/ratu/scheduler.py
0b211a6ce21210848f8fc4a6c470886dae1688c7
[]
no_license
criticus/Data_converter
5b8a0a1c4c9438f9b3420ba04f4eff617d3f4b85
f38f9b7930af38e8eb807e51f26fa05d742dc62c
refs/heads/master
2022-04-10T22:30:50.601822
2020-03-18T15:31:34
2020-03-18T15:31:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
import schedule import time from datetime import datetime def action (): now = datetime.now() print(datetime.strftime(datetime.now(), "%H:%M:%S")) # schedule.every(1).seconds.do(action) schedule.every().day.at("13:34").do(action) schedule.every().day.at("13:35").do(action) while 1: schedule.run_pending()...
[ "vitaljan@gmail.com" ]
vitaljan@gmail.com
5336885dc7bbc8e014b743f74a1bb8997d0cd956
4a3ef804cc0fe5d5fa09869c89d9254698d49a8a
/src/BD/ImportCSV.py
fd37c02c1d913a5a8e0ac54462d1343c256b856b
[]
no_license
ripoul/Installations-Sportives
1ee67fcd8519d868a2d292dbb0cd8b995df8d6bf
a01677e20af713b882b28308c81b61b6aeb9a31f
refs/heads/master
2022-03-26T21:57:52.477323
2020-01-02T10:46:23
2020-01-02T10:46:23
80,708,625
0
1
null
2020-01-02T10:46:25
2017-02-02T09:00:19
Python
UTF-8
Python
false
false
2,625
py
#!/usr/bin/python import csv import sqlite3 con = sqlite3.connect('test.db') cur = con.cursor() # Create each of the 4 table try: cur.execute('''CREATE TABLE installation (numero INTEGER PRIMARY KEY, nom TEXT, adresse TEXT, code_postal TEXT, ville TEXT, latitude REAL, longitude REAL)''') cur.execute('...
[ "antoine.drouard@etu.univ-nantes.fr" ]
antoine.drouard@etu.univ-nantes.fr
b69447446753f54f23b99027fe036a309efa174f
c3c7e5af8fad5ab88130deecc41b680e8b3846cb
/dashBoardCameras.py
0ade97c8a0d7c2ba0af2688aa81007826a0d24b0
[]
no_license
nikolaykm/FreeSSMPlugins
25658191c2b6ba20b03c3d66513539a95977d53e
dd41d8e8ed1d5e1e480cba7a047abc4bd76ffb84
refs/heads/master
2021-07-24T05:16:47.999327
2017-11-02T14:17:13
2017-11-02T14:17:13
105,256,607
1
0
null
null
null
null
UTF-8
Python
false
false
5,477
py
import time import os import socket import sys import time import subprocess as sub import pygame,sys import pygame.camera import pygame.display from pygame.locals import * pygame.init() pygame.display.init() size = (pygame.display.Info().current_w, pygame.display.Info().current_h) white = (255,255,255) def text_obje...
[ "nikolay.marinov@gmail.com" ]
nikolay.marinov@gmail.com
996c4bb3c7fbff7130720f83e8a2aeb3f5985688
63556cdaafad44a285b2333fdb39f0b9471e4457
/app.py
92356afe7f21fb789689e2721abbc46d5b8bda13
[]
no_license
Maiska123/python-flask-server-pi
13cc6e9cc4f5ff02ea1061e17cacacf14fcee87e
f9520ca55f230ef96b29a2f785a69cf60276e822
refs/heads/master
2023-06-21T12:58:00.824889
2021-08-10T18:51:11
2021-08-10T18:51:11
394,752,413
0
0
null
null
null
null
UTF-8
Python
false
false
1,299
py
from flask import Flask import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) # Sets up the RPi lib to use the Broadcom pin mappings # for the pin names. This corresponds to the pin names # given in most documentation of the Pi header GPIO.setwarnings(False) # Turn off warni...
[ "42906162+Maiska123@users.noreply.github.com" ]
42906162+Maiska123@users.noreply.github.com
b913a75bf1ebfd7c0de7ff9b4a148a3f401dc9cb
5527696f454fd15a1e9f43a5def47f0a64b072d3
/app.py
2d4c1e0d3061c03e248aae6e5356fcc491b29373
[]
no_license
JaccyLi/PythonPlayground
985dba2d1d665debf21fd35a95a612914c40686f
682a3444845b892fcc009608aaa45c34c4823050
refs/heads/master
2020-07-21T10:24:15.326765
2019-12-03T04:27:16
2019-12-03T04:27:16
206,831,472
1
0
null
null
null
null
UTF-8
Python
false
false
241
py
import turtle from turtle import * import random s = turtle.Screen() def f(): fd(random.randint(0, 100)) def l(): lt(90) def r(): rt(90) s.listen() s.onkey(f, "Up") s.onkey(l, "Left") s.onkey(r, "Right") turtle.mainloop()
[ "jack.lyric.li23@gmail.com" ]
jack.lyric.li23@gmail.com
f27732e2f3b66542ab4ff218cce203fc42ec0538
1fca08dcb7f06eb9d7c52e6ec153fab7056f95a9
/YoloTensorRTWrapper.py
eb750990554ba8450076f119c76d6b17b4c74298
[]
no_license
ankhafizov/EvrazHackCV
c2c00806dd64a79b84a74614c716f7c1d73539b6
09f8c3ed8f7921f4bd51688b9b035119ca49aa30
refs/heads/main
2023-08-20T04:42:17.841644
2021-10-31T06:53:40
2021-10-31T06:53:40
422,587,500
0
0
null
null
null
null
UTF-8
Python
false
false
15,114
py
""" An example that uses TensorRT's Python api to make inferences. """ import ctypes import os import shutil import random import sys import threading import time import cv2 import numpy as np import pycuda.autoinit import pycuda.driver as cuda import tensorrt as trt CONF_THRESH = 0.5 IOU_THRESHOLD = 0.4 def get_img...
[ "akhafizov@croc.ru" ]
akhafizov@croc.ru
df05652165c48f1e162013aea44f587cd1a93715
98a813b1c76d5da0509b97ebbbd49a6c0d920f67
/Day5/best_time_to_buy_and_sell_stock_ii.py
779611855d8b8a32988cdeb65b2cce7b482bfa61
[]
no_license
routdh2/30DayLeetCodingChallenge
06d94f03b2b241722cebf39ef7ec74477f64d5c3
5b2f8cc34a6c7bdd999c4cb22acbc3e21cb53caa
refs/heads/master
2021-05-21T06:37:17.714656
2020-04-21T08:53:54
2020-04-21T08:53:54
252,587,283
2
0
null
null
null
null
UTF-8
Python
false
false
375
py
#Problem Statement: https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii class Solution: def maxProfit(self, prices: List[int]) -> int: i=0 total_profit=0 while i<len(prices)-1: profit=prices[i+1]-prices[i] if profit>0: total_profit+=profit...
[ "noreply@github.com" ]
routdh2.noreply@github.com
8bcd9aa863af02fbda6ca89f80c595b263e35e8a
49a167d942f19fc084da2da68fc3881d44cacdd7
/kubernetes_asyncio/client/api/authorization_api.py
420284fe2740cbf841d0d542f50e1b597a20ae81
[ "Apache-2.0" ]
permissive
olitheolix/kubernetes_asyncio
fdb61323dc7fc1bade5e26e907de0fe6e0e42396
344426793e4e4b653bcd8e4a29c6fa4766e1fff7
refs/heads/master
2020-03-19T12:52:27.025399
2018-06-24T23:34:03
2018-06-24T23:34:03
136,546,270
1
0
Apache-2.0
2018-06-24T23:52:47
2018-06-08T00:39:52
Python
UTF-8
Python
false
false
4,144
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.10.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import r...
[ "tomasz.prus@gmail.com" ]
tomasz.prus@gmail.com
a9f41c2592af04dd331b3352a8130b05000be074
9014fbfa842dc97b5a957a1db82c33615936b88b
/egs/voice_privacy/v1/local/featex/create_melspec_data.py
418f77565cadbe3879829f31be3fe589fe743bf2
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
brijmohan/kaldi
a38b8fd4cf189960ebb500c59cbacb7e896d4f7c
c1f5ecfa28e3d2d599feef7e078b162158d525b0
refs/heads/master
2022-05-07T20:34:01.605784
2022-03-31T01:10:50
2022-03-31T01:10:50
182,386,883
2
0
NOASSERTION
2019-04-20T09:32:40
2019-04-20T09:32:40
null
UTF-8
Python
false
false
422
py
import sys from os.path import join, basename from ioTools import readwrite import kaldi_io args = sys.argv mspec_file = args[1] out_dir = args[2] mspec_out_dir = join(out_dir, "mel") print "Writing MEL feats....." # Write mspec features for key, mat in kaldi_io.read_mat_scp(mspec_file): #print key, mat.shape ...
[ "brij.srivastava@inria.fr" ]
brij.srivastava@inria.fr
efa0990bf837cff4970ce887c5c3837d6ff340a6
4d75121d43ed6d1063f467b7b75309b28d8f48a2
/2022.2.8start/greedy/860.柠檬水找零.py
e848d6b0e0b6969e789cc8fb61efc709142d4230
[]
no_license
cosJin/LeetCode
b311d43a5224cc7156f8ad72f4233e1f85556f20
26fddfdbd09c30376cb0720e13baf0402c3a1e90
refs/heads/master
2022-11-08T10:29:43.461016
2022-10-27T15:04:16
2022-10-27T15:04:16
154,267,347
0
1
null
null
null
null
UTF-8
Python
false
false
914
py
# # @lc app=leetcode.cn id=860 lang=python # # [860] 柠檬水找零 # # @lc code=start class Solution(object): def lemonadeChange(self, bills): """ :type bills: List[int] :rtype: bool """ #因为只能有5 10 20元,所以穷举一下就行 change = {5:0, 10:0} for bill in bills: if ...
[ "cosJin@live.cn" ]
cosJin@live.cn
91b336f5e46675f4257c72221a97a55902640453
d9d87bc977bd930a7ab52cb8e4ccabc16b778380
/phenom/utils/QNMdata/__init__.py
82a6b87906d667dc1aee526928224b75dfdbb075
[ "MIT" ]
permissive
LBJ-Wade/phenom_gw_waveform
077844a9a3db0241395cc49e846671d33dd62ef6
2c705e6ba85510c573d23dca8be4456665d29edf
refs/heads/master
2023-08-11T17:19:12.814330
2020-05-29T08:22:29
2020-05-29T08:22:29
412,703,992
0
0
null
null
null
null
UTF-8
Python
false
false
48
py
# from phenom.utils.QNMdata.QNMphenomd import *
[ "sebastian.khan@LIGO.org" ]
sebastian.khan@LIGO.org
a5dcefda5538fdd64b4d741c663b4258140cce2e
19fb9c3dd2ae4b4002242ca220fc1ab8e0cc0c3a
/node_modules/websocket/build/config.gypi
f2fbc3357fdb46ce6778c2a50798b0674372bb7e
[ "Apache-2.0" ]
permissive
chechuironman/watson-mood-kub
73ff83925cd5698fc974ebc4054804da0cdbcb8d
b7fd1952e98a4eb01718a6cabc360afd580bf805
refs/heads/master
2021-04-09T16:21:39.192237
2018-03-21T16:48:10
2018-03-21T16:48:10
125,677,120
0
0
null
null
null
null
UTF-8
Python
false
false
4,911
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "coverage": "false", "debug_devtools": "node", "debug_http2"...
[ "chechu@Chechus-MacBook-Pro.local" ]
chechu@Chechus-MacBook-Pro.local