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
d52d63f378c671167dc83b8eb693e2317905e11a
16ba38ef11b82e93d3b581bbff2c21e099e014c4
/haohaninfo/Python_Stock_Sample/Python股票技巧範例/實單範例/92.py
50bbeb402fdbf215e5b4078a807ba1937d5bdafb
[]
no_license
penguinwang96825/Auto-Trading
cb7a5addfec71f611bdd82534b90e5219d0602dd
a031a921dbc036681c5054f2c035f94499b95d2e
refs/heads/master
2022-12-24T21:25:34.835436
2020-09-22T09:59:56
2020-09-22T09:59:56
292,052,986
2
5
null
null
null
null
UTF-8
Python
false
false
977
py
# -*- coding: UTF-8 -*- # 載入相關套件 import datetime,function,indicator import talib,numpy import sys # 取得當天日期 Date=datetime.datetime.now().strftime("%Y%m%d") # 測試股票下單 Sid=sys.argv[1] # 趨勢判斷 Trend=0 TrendEndTime=datetime.datetime.strptime(Date+'09:30:00','%Y%m%d%H:%M:%S') BSPower2= indicator.BSPower2() for...
[ "penguinwang@smail.nchu.edu.tw" ]
penguinwang@smail.nchu.edu.tw
6d88d996e37554efc91b4639f8e20013073ea73d
c55996cce55db9e15f679f2358f6782754cd7013
/Chips/Or4Way.py
f5668ccfe102eb722df4a89c2402a0ce45333d49
[ "MIT" ]
permissive
AdilRas/Nand2TetrisCaseGenerator
efc1e0d7900593f6ba47d99a43dfa1647bbc35ec
db82e6988d03d64884e4ac0cf02cecb78e275bc5
refs/heads/master
2021-01-15T02:58:23.552602
2020-02-26T19:14:39
2020-02-26T19:14:39
242,856,705
6
2
null
null
null
null
UTF-8
Python
false
false
404
py
from src.TestCaseGenerator import * input_variables = [Var("a", 4, "B"), Var("b", 4, "B")] output_variables = [Var("out", 1, "B")] # args = [in, sel] def or4way_logic(args): a = args[0] out = [] if a > 0: out.append(1) else: out.append(0) return out generate(name="Or4Way", numC...
[ "=" ]
=
7d76e9723c180800261a081ff6dd9421815fd365
8eff2593ef44b3bdb8dda8678eb051e58b4b5129
/myenv/lib/python3.5/site-packages/bandit/blacklists/imports.py
833e18153633ce3c197b18bdf098fe97c8670f76
[ "MIT" ]
permissive
rupeshparab/techscan
08391c26c7916dd397527e1da8f91b4aa78bc96e
ce2558602ddad31873d7129f25b1cc61895b9939
refs/heads/master
2022-12-11T03:33:07.533280
2017-09-03T17:48:57
2017-09-03T17:48:57
102,280,759
1
1
MIT
2022-12-08T00:36:08
2017-09-03T17:11:16
Python
UTF-8
Python
false
false
12,232
py
# -*- coding:utf-8 -*- # # Copyright 2016 Hewlett-Packard Development Company, L.P. # # 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 # # Unl...
[ "rupeshparab.rp@gmail.com" ]
rupeshparab.rp@gmail.com
937bcf121e3fd1140f67af8b53050b8cfd8c62b3
6f8113e7a06699e8448dcbeb7c329be11c5926a5
/apps/facebook/tests/urls.py
d86907b4cb8b7bf2049a0dc4ec2fde70619b8531
[ "MIT", "BSD-3-Clause" ]
permissive
groovecoder/affiliates
b906a565f3f035da09e22b15e9843b1aed7b313d
7d22304ada7ffdb893fe8305630ec11eb84cfab5
refs/heads/master
2020-04-06T04:36:09.980997
2014-01-10T15:07:16
2014-01-10T15:07:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
import os from django.conf.urls.defaults import include, patterns, url from django.http import HttpResponse from django.template import RequestContext from funfactory.manage import ROOT from jingo import env def base_template_view(request): template = env.from_string(""" {% extends 'facebook/base.html' ...
[ "mkelly@mozilla.com" ]
mkelly@mozilla.com
4ca89110e5367a6b1a354bffa4531ba99188ae58
1866d40b66fe6b0291f96a3c5eec1fbd9e1aee88
/tests/_testsite/apps/forum_conversation/migrations/0011_topic_dummy.py
0461c28d62f0db1a5b5769bb4f9088406f135caa
[ "BSD-3-Clause" ]
permissive
ellmetha/django-machina
f612ea0d1191001f8188fe868ddec69ec530b4d7
6586d2608bbffc31911ea6f9a15c570580116238
refs/heads/main
2023-07-31T18:11:28.819165
2023-05-28T01:19:33
2023-05-28T01:19:33
14,761,593
640
174
BSD-3-Clause
2023-07-25T23:20:46
2013-11-27T23:12:41
Python
UTF-8
Python
false
false
468
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('forum_conversation', '0010_auto_20170120_0224'), ] operations = [ migrations.AddField( model_name='topic', ...
[ "morgan.aubert@zoho.com" ]
morgan.aubert@zoho.com
28c1ab842c0df1278993d803b17abeb1dccb5a46
c7295c1ffd8ad82c273524eab1a42d3a22741ba9
/figures/third/trajectories.py
f4fa229790815bcdc4bc3dab6420f4162a41887e
[]
no_license
FedeClaudi/EscapePathSelection
629d3ea6f5c14af144bdda16a899b3fb86340169
1bbdd95384e1c343495fcf33fc0c46b21110fe91
refs/heads/master
2023-04-18T18:16:27.153848
2022-04-25T12:20:40
2022-04-25T12:20:40
247,850,434
1
1
null
null
null
null
UTF-8
Python
false
false
6,430
py
# %% import pandas as pd import matplotlib.pyplot as plt import numpy as np from loguru import logger import matplotlib as mpl from mpl_toolkits.axes_grid1 import make_axes_locatable from fcutils.plot.figure import clean_axes from fcutils.plot.elements import plot_mean_and_error from fcutils.maths import rolling_mea...
[ "federicoclaudi@protonmail.com" ]
federicoclaudi@protonmail.com
8ed056e6cedb9357097a5fd5b51a47b4610ce6ae
8f6cc0e8bd15067f1d9161a4b178383e62377bc7
/kaggle_song_git/code_box/VALIDATION_fake_feature_insert_V1001/report/0.687954one_train_V1003.py
5e8ec3aab8083acb97a86c9b41a530c4981ac756
[]
no_license
humorbeing/python_github
9c4dfc61a3cefbb266fefff335f6b28d05797e5e
e4b4b49bee7e7e3843c6874717779ce8d619bd02
refs/heads/master
2023-01-22T21:51:20.193131
2020-01-26T21:47:23
2020-01-26T21:47:23
163,707,778
0
0
null
2022-12-27T15:37:48
2019-01-01T01:58:18
Python
UTF-8
Python
false
false
8,077
py
import numpy as np import pandas as pd import lightgbm as lgb import datetime import math import gc import time import pickle from sklearn.model_selection import train_test_split since = time.time() data_dir = '../data/' save_dir = '../saves/' load_name = 'train_set' dt = pickle.load(open(save_dir+load_name+'_dict.sa...
[ "geemguang@gmail.com" ]
geemguang@gmail.com
1bb914908b9a0071556fbc47a8343135d70438a3
da7d1008d925872317bcbe8b5f1e4f00a79d0936
/cloudywatch/manage.py
d1e93db31df166038f0669f71b3b47f7bbf152c7
[]
no_license
gregdingle/cloudywatch
b08b32ca50bb958bc30796c4d1482755c46978b2
009651f6302f7bb12b5cd46bcb7161b278d7dfbb
refs/heads/master
2021-01-01T15:35:53.760805
2013-11-20T12:28:21
2013-11-20T12:28:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
#!/usr/bin/env python from django.core.management import execute_manager try: import settings # Assumed to be in the same directory. except ImportError: import sys sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to ...
[ "ppr.vitaly@gmail.com" ]
ppr.vitaly@gmail.com
f3321310fe951e0106df38b5b260515ed0fdf383
266ffd65306f964c2c7cd50d9e8c3c409eee73ee
/thedeployer/libs/XSV/infoset/indNorm/reflect.py
0ddd0388bee28b0036fa760db358a26bd7a2bdef
[]
no_license
vimov/Deployer
3d543dd5c53c675217f0e3c7fc7034c86bffae75
dbcdde0d83ee49a2812d4f65bb13ff78ce865da9
refs/heads/master
2021-01-25T04:52:49.317670
2012-09-17T15:24:37
2012-09-17T15:24:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,296
py
"""Individual normal form: Reflect instances as XML doc in INF""" __version__="$Revision: 1.10 $" # $Id: reflect.py,v 1.10 2005-08-10 20:32:08 ht Exp $ import types from XSV.infoset import PSVInfoset from XSV.infoset import XMLInfoset from XSV.compile.List import List from XSV.compile.Union import Union from XSV.co...
[ "ahmed@manhag.org" ]
ahmed@manhag.org
f291c903c72585e9ca8089e497ba10907c373013
67af9dc77608a6cd83fdf219b3b76000634c0634
/pixelcnn/layers.py
dab5d229536d0e0e042a5d70968fb13802ee7c03
[ "Apache-2.0" ]
permissive
kngwyu/pytorch-pixelcnn
7b4d0bb0e8662ce976b5faede41249b94d81e03c
e59585d5d533de77c7b51a8e822da0264f2b56e5
refs/heads/master
2020-06-01T00:23:54.716580
2019-08-12T05:44:29
2019-08-12T05:44:29
190,556,770
1
0
null
null
null
null
UTF-8
Python
false
false
3,522
py
import torch from torch import nn, Tensor from torch.nn import functional as F from torch.nn.utils import weight_norm from typing import Callable, Optional, Tuple from .utils import down_cut, right_cut class ConcatELU(nn.Module): __constants__ = ['alpha'] def __init__(self, alpha: float = 1.) -> None: ...
[ "yuji.kngw.80s.revive@gmail.com" ]
yuji.kngw.80s.revive@gmail.com
329a20b4c7110842b2129cc25616775c00bf8168
d22a2fbb9adb82644c5665242661bad172550552
/venv/ex44.py
b5c74a3b546e9fe734219d94756137000ecbe908
[]
no_license
felipemanfrin/Python-Zero-ao-Zeno
e98ba3e4b974e88801b8bc947f461b125bc665b8
d6d08aa17071f77170bbd105452b0d05586131c8
refs/heads/master
2022-07-29T19:38:41.729178
2020-05-25T01:02:18
2020-05-25T01:02:18
265,356,280
1
0
null
null
null
null
UTF-8
Python
false
false
627
py
preco = float(input('Insira o valor do produto a ser pago : ')) print('''Escolha o metodo de pagamento: [1] A vista ou cheque [2] a vista cartão [3] 2x no cartao [4] 3x ou mais no cartão''') opcao = int(input('Digite a opção : ')) if opcao == 1 : final = preco*0.90 print('O valor a se pagar nesses metodo...
[ "felipemanfrin@gmail.com" ]
felipemanfrin@gmail.com
b1ef8a76cff5ccdd0bd13d20890f8c2df9f25e16
92578e316b0d1b760db85c449898c1560433a4bb
/backend/notes/urls.py
66f4181f4a81f45ec0f6d6b4f4f1882089f05ed7
[]
no_license
turamant/dj_plus_vue
461dc6b7165ab7ecdf8eb3206ca9047b6db6c920
2d7b5ef897b418e5269b7b01c1fd6207ec5be4b8
refs/heads/main
2023-03-29T15:43:49.311175
2021-04-12T11:43:36
2021-04-12T11:43:36
357,166,316
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
from rest_framework import routers from .views import NoteViewSet # Создаем router и регистрируем наш ViewSet router = routers.DefaultRouter() router.register('notes', NoteViewSet) # URLs настраиваются автоматически роутером urlpatterns = router.urls
[ "tur1amant@gmail.com" ]
tur1amant@gmail.com
95bc2c171d57e18811811934b2b5b0cc902e8cc5
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_137/544.py
d93a3ffd436e017136abd200f2f8988eb7da45e9
[]
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
545
py
import cPickle as pickle def main(): d = pickle.load(open('c.pickle', 'rb')) num_of_tests = int(raw_input()) for test_i in range(num_of_tests): n, m, k = map(int, raw_input().split()) ans = d['%s-%s-%s' % (n, m, k)] if k == n * m - 1: ans = 'c' + '*' * (m - 1) + '\n' ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
61ef2940a1d29bb6e311bce2f96ea1678f79606b
f11ecb59dab63af605c6e5f256ee59e00447ecc1
/763-partition-labels.py
f873de4ea39b18121ba64673b1decc40b496d1ef
[]
no_license
floydchenchen/leetcode
626d55f72ec914764385ce82b0f3c57f5a7e9de8
9d9e0c08992ef7dbd9ac517821faa9de17f49b0e
refs/heads/master
2022-10-07T20:33:55.728141
2020-06-08T16:09:17
2020-06-08T16:09:17
269,525,880
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
# 763. Partition Labels # A string S of lowercase letters is given. We want to partition this string into as many parts as possible so that each letter appears in at most one part, # and return a list of integers representing the size of these parts. # Example 1: # Input: S = "ababcbacadefegdehijhklij" # Output: [9,...
[ "chen2918@umn.edu" ]
chen2918@umn.edu
207c5d7f1c7e8039b7aad55a5d63284589af7e80
8ee5dfd87ce637a46c496853f55d32f226b238f8
/backend/Experiments/Data/PosControl/Plotter.py
06270322e2630227c68dd802b20334c0aec05b2d
[]
no_license
cholazzzb/react-parrotar2-swarm
71eb6be8682e00015103af3df69a6cc01f7a919f
dccdfa841184af6ec62910f50c3335b812cd0201
refs/heads/main
2023-06-16T01:24:57.169242
2021-07-08T03:54:08
2021-07-08T03:54:08
354,490,913
0
0
null
2021-07-08T03:54:08
2021-04-04T08:15:37
JavaScript
UTF-8
Python
false
false
1,245
py
import matplotlib.pyplot as plt # from tum_PSO import tum_PSO # from custom_PSO import custom_PSO from custom_PSO_z import custom_PSO_z from custom_PSO_z_lama import custom_PSO_z_lama from fine_tuning import fine_tuning from fine_tuning_disturbance import fine_tuning_disturbance time = fine_tuning_disturbance["time"] ...
[ "nicsphehehe@gmail.com" ]
nicsphehehe@gmail.com
3257ffae5f57a16cff15a802d965f1ae58e0f0e7
c4c159a21d2f1ea0d7dfaa965aeff01c8ef70dce
/flask/flaskenv/Lib/site-packages/tensorflow/contrib/graph_editor/subgraph.py
caf690f68dcdece5c40a3526673d99e70d7d5a26
[]
no_license
AhsonAslam/webapi
54cf7466aac4685da1105f9fb84c686e38f92121
1b2bfa4614e7afdc57c9210b0674506ea70b20b5
refs/heads/master
2020-07-27T06:05:36.057953
2019-09-17T06:35:33
2019-09-17T06:35:33
208,895,450
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:a739031b57fa33ef7882c98b7eefeea5d588318fc9ef255db3f17b609ce8653c size 25666
[ "github@cuba12345" ]
github@cuba12345
62eb3d4653f8cab219e631ac922207e24e6b6594
f77327128a8da9702ae3443e2171bc7485ceb915
/main.py
e592f25e87e990be6bcc7a514fea58257fd7615d
[]
no_license
SimeonYS/cadence
0eeba6a54c03ffb2d55466f9d8de6f1b1662002f
cdaef13c85a03e031a0050c89c17249cd7d83125
refs/heads/main
2023-03-31T08:24:41.408507
2021-03-31T10:14:01
2021-03-31T10:14:01
353,312,955
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
from scrapy import cmdline cmdline.execute("scrapy crawl cadence".split())
[ "simeon.simeonov@ADPVT.com" ]
simeon.simeonov@ADPVT.com
e04235d8de2b8dbad77d7369cee71f1946da3910
eabc8c12802053683ab0b42d95135c0b777945a1
/rooms/room-h/main.py
09fffc0f9de7cd8371014ddd2af950e79eb386fa
[]
no_license
Hacker0x01/44con-ctf-2019
e569fb3722520411f9928c9b0d5d21d91c2ee8ca
4a86c14d488dd1515615d702942172fa5e7c5fc2
refs/heads/master
2023-08-08T19:34:11.081687
2019-09-13T22:22:30
2019-09-13T22:22:30
208,354,485
18
7
null
2023-07-22T16:09:35
2019-09-13T22:12:05
Python
UTF-8
Python
false
false
1,960
py
from flask import Flask, request import hashlib, json, os, sys from socket import * import sqlite3 def query(sql, commit=False): c = conn.cursor() c.execute(sql.replace('%', '%%')) if commit: conn.commit() else: return c.fetchall() def setup(): global conn conn = sqlite3.connect(':memory:') def sha1(data)...
[ "cody.brocious@gmail.com" ]
cody.brocious@gmail.com
ac5e879ff023cf1256f3cf20aecf9aed14119993
3df1bdc21727f40ef0ee296bf137bf3190ad00ec
/astrodynamics/Rocket_Seminar_Series/projectile_newtonian_gravity.py
5b9b13fb403c9a761d3080689f4c4aae63aefae2
[]
no_license
tin97-bb/Python
c2b30829fd4e14c50963dc4074e87ef06869cebe
3cedc7d5bef2af46b6618026cd7a41e61700ce62
refs/heads/master
2023-07-29T07:06:15.116923
2021-09-13T17:04:48
2021-09-13T17:04:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,204
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Sep 4 21:56:24 2021 @author: carlos """ ####Import all the modules we need import numpy as np ###numeric python import matplotlib.pyplot as plt ###matlab style plotting import scipy.integrate as sci ##integration toolbox plt.close("all") ##DEFINE SO...
[ "cmontalvo@southalabama.edu" ]
cmontalvo@southalabama.edu
22b4ec30dc144453b9f66f4de4f090bee518ffaf
ecf89d17601ee16ef176a9fc0ce497e4e685cc21
/python/112.py
f74559351f115ee03b2fd2f5a3f7192f843447a5
[]
no_license
kartikeya-shandilya/project-euler
daa984cda1a476a6f29b80d4b86ca03f9292d910
6265db7c5a8fedc3ded627829ce6040e8c8542d4
refs/heads/master
2021-01-21T04:27:36.649729
2020-10-13T00:25:52
2020-10-13T00:25:52
26,404,032
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
#!/usr/bin/python cnt=0 for i in range(1,2500000): j=str(i) tag1="incr" for k in range(0,len(j)-1): if j[k]>j[k+1]: tag1="bouncy" break tag2="decr" for k in range(0,len(j)-1): if j[k]<j[k+1]: tag2="bouncy" break if tag1=="bouncy" and tag2=="bouncy": cnt+=1 # print i,tag1,tag2 if cnt/(1.0*i)>0....
[ "kartikeya.shandilya@gmail.com" ]
kartikeya.shandilya@gmail.com
9404f4f2483b622d387c7959245a892b14e573ae
291a7d6758a3e05ccb84edb9b5d5a2d8cc3cdc9c
/Components/Component Problem Finder.py
1c5659bcd073ec2b33f0c66706066ca93b699ae8
[ "Apache-2.0" ]
permissive
Mark2Mark/Glyphs-Scripts
19d4235225ddba8b64de244891af60863706f374
204ad6d92fb14f87a7d183d7acf28b9a678ace02
refs/heads/master
2023-04-07T08:21:21.777294
2023-03-06T17:46:29
2023-03-06T17:46:29
81,827,927
1
0
null
2017-02-13T13:27:28
2017-02-13T13:27:28
null
UTF-8
Python
false
false
19,917
py
#MenuTitle: Component Problem Finder # -*- coding: utf-8 -*- from __future__ import division, print_function, unicode_literals __doc__ = """ Find and report possible issues with components and corner components. """ import vanilla from timeit import default_timer as timer def camelCaseSplit(str): words = [[str[0]]] ...
[ "res@glyphsapp.com" ]
res@glyphsapp.com
4d9725de9f5d6415c6a02d66311fb489c305c554
a81a1efe1a93d5af0ef3f6403862a1544befd6cf
/HashTable/387_FirstUniqueCharacterInAString.py
b2a92fa927e8f971aa0b15b6b3070f9234e20fc0
[]
no_license
fishleongxhh/LeetCode
89da4ae3ca1715b1909c350437c0ba79eb2a8349
d0352fecc61396fc460e1350572189b175a13f61
refs/heads/master
2020-04-05T17:14:27.976946
2018-12-16T14:10:54
2018-12-16T14:10:54
157,050,997
1
0
null
null
null
null
UTF-8
Python
false
false
526
py
# -*- coding: utf-8 -*- # Author: Xu Hanhui # 此程序用来求解LeetCode387: First Unique Character in a String问题 def firstUniqChar(s): dic = {} uniq_str = set() for loc, item in enumerate(s): if item in dic: uniq_str.discard(item) else: dic[item] = loc uniq_str.add...
[ "xhh1120132805@163.com" ]
xhh1120132805@163.com
1c6dff9a338a0153cfabc16870bab5f9d1330b5b
f31fda8014ecadf6af7d4e3392fb917c49e0352a
/HeavyIonsAnalysis/JetAnalysis/python/jets/akFilter2PFJetSequence_PbPb_data_cff.py
1a674d6fbc2a55e627708930cc51a3f29f18138e
[]
no_license
jniedzie/lightbylight
acea5051f053c49824a49a0b78bac3a2247ee75f
f5a4661fcf3fd3c0e9ccd8893a46a238e30c2aa8
refs/heads/master
2020-03-18T12:24:31.970468
2018-02-09T15:50:00
2018-02-09T15:50:00
134,724,759
0
1
null
2018-05-24T14:11:12
2018-05-24T14:11:12
null
UTF-8
Python
false
false
14,619
py
import FWCore.ParameterSet.Config as cms from HeavyIonsAnalysis.JetAnalysis.patHeavyIonSequences_cff import patJetGenJetMatch, patJetPartonMatch, patJetCorrFactors, patJets from HeavyIonsAnalysis.JetAnalysis.inclusiveJetAnalyzer_cff import * from HeavyIonsAnalysis.JetAnalysis.bTaggers_cff import * from RecoJets.JetPr...
[ "rchudasa@cern.ch" ]
rchudasa@cern.ch
148ee2aa423bec48565132b2a7ea8db0853d712d
be6b8e5f65ab1e86e72d4a70a6bcfe0891458df1
/sigfig.py
3bdf3596edba9f1336625991197baeb64b8616c7
[]
no_license
annayqho/papers
c406185485ef447b4aebf0d37011e79ef4f872fb
527bab334f118e77eeb028ed1a787be3b887724c
refs/heads/master
2021-07-10T05:18:47.134685
2017-10-12T02:38:32
2017-10-12T02:38:32
100,283,607
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
import numpy as np from math import log10, floor def round_sig(x, sig=2): if x == 0: return 0 elif x < 0: return -round(-x, sig-int(floor(log10(-x)))-1) return round(x, sig-int(floor(log10(x)))-1) def ndec(num): dec = str(num).split('.')[-1] return len(dec) def format_val(val, s...
[ "annayqho@gmail.com" ]
annayqho@gmail.com
96a9a0075629c44cfce0d3f9471369f36b35ffd9
238e46a903cf7fac4f83fa8681094bf3c417d22d
/VTK/vtk_7.1.1_x64_Release/lib/python2.7/site-packages/twisted/pair/_version.py
6203753e169cead8711dc820254d774becccc3be
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
baojunli/FastCAE
da1277f90e584084d461590a3699b941d8c4030b
a3f99f6402da564df87fcef30674ce5f44379962
refs/heads/master
2023-02-25T20:25:31.815729
2021-02-01T03:17:33
2021-02-01T03:17:33
268,390,180
1
0
BSD-3-Clause
2020-06-01T00:39:31
2020-06-01T00:39:31
null
UTF-8
Python
false
false
271
py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. # This is an auto-generated file. Do not edit it. """ Provides Twisted version information. """ from twisted.python import versions version = versions.Version('twisted.pair', 14, 0, 0)
[ "l”ibaojunqd@foxmail.com“" ]
l”ibaojunqd@foxmail.com“
ad05a82658610e10819bc5ab5fb7c68d5f100362
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/raw_scripts/132.230.102.123-10.21.12.20/1569576510.py
641aacf6e240b35309990accd5d2be629609eef6
[]
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
4,019
py
import functools import typing import string import random import pytest ## Lösung Teile 1. und 2. class Vigenere: def __init__(self, keyword, encrypt, decrypt): self.key = key self.encrypt = encrypt self.decrypt = decrypt def encrypt(x : str): return x.upper def decrypt(y :...
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
232499e5789d32aef85d5d3d8bef8407bdaa9cb7
ae672becf06e084728388e2ca1fb72ca786336d2
/chapter_08/exercise_8_4.py
5c3ca3fe1e715841932ad35f802661267a72ad24
[]
no_license
kexiaojiu/python_based_programming
d9631ba3aa0636d9b01020a7711834ba15d4843c
bd497479037856de6ef5852902e3352afb5c7cc9
refs/heads/master
2018-10-04T22:37:11.908957
2018-08-07T13:54:44
2018-08-07T13:54:44
116,146,067
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
#!/usr/bin/env python3 def make_shirt(size, text='I love Python'): print("The size of the shirt is " + str(size) + " ,and it's text is " + text + "." ) make_shirt('big') make_shirt('middle') make_shirt('small', 'I love China')
[ "kexiaojiu@163.com" ]
kexiaojiu@163.com
7cf38f77e6652d444241e8aa1a1c3c5a15945497
1872b89ba17a08db60d58551f073a6b4e0d31a50
/instrument_server/commands/command_parser.py
ea64dcc7971e724d84b863439d90b5abc4ba6f33
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
Terrabits/instrument-server
f6e4c40d8e9835ada150dc0a8245024505d0a7d7
a4950099410ac81b37516aeefcc6072d9865ba4e
refs/heads/master
2022-05-28T01:27:25.051729
2022-04-29T22:53:39
2022-04-29T22:53:39
189,175,077
2
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
from .mixins import RaiseErrorMixin import re class CommandParser(RaiseErrorMixin): def __init__(self, command, args={}): RaiseErrorMixin.__init__(self) self.command = command self.args = args def is_match(self, command_bytes): regex = f'^{self.command}\\s*'.replace('?', ...
[ "nick.lalic@gmail.com" ]
nick.lalic@gmail.com
9d06c4edefa4ba7412c5c85dd29d8babd72b8034
d3750f32f8bc8a961de778f313a547e8636621e3
/docs/conf.py
02524b2634ac9ea5185b817381ebece9804fe68f
[ "BSD-3-Clause" ]
permissive
diamond0411/ndexncipidloader
506e26b9ea8c716fb08dcaf72b138e557ce5b227
cf1519bd7e9ada30e00df56011180a9069e4e967
refs/heads/master
2020-06-13T19:09:19.466283
2019-07-16T16:30:23
2019-07-16T16:30:23
194,761,167
1
1
NOASSERTION
2019-07-02T00:40:05
2019-07-02T00:40:05
null
UTF-8
Python
false
false
4,970
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # ndexncipidloader documentation build configuration file, created by # sphinx-quickstart on Fri Jun 9 13:47:02 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in t...
[ "churas.camera@gmail.com" ]
churas.camera@gmail.com
635fd1995cbe947847215eec469862f6d76b83ea
bc7199ee3cb7139ac90788cd0469c91d48315797
/demo/assignments/unique_chars_2.py
0732c380b26e374b09aef426f7cdf5ef0ca1af56
[]
no_license
srikanthpragada/python_14_dec_2020
617039e15285d84c8503ba49994aec08096d46f9
78c046b4aaf9590211dea447c08507969e053e60
refs/heads/master
2023-02-24T17:41:41.807841
2021-02-01T02:17:40
2021-02-01T02:17:40
322,155,634
1
0
null
null
null
null
UTF-8
Python
false
false
120
py
chars = set() names = ['Bob', 'Joe', 'John', 'Scott', 'Joseph'] for name in names: chars |= set(name) print(chars)
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
f12bc2202d1d785c55b97d61b4bdb753af43f43f
1e84a9fec36deaf9a55a2734749ea035f72ac869
/KAKAO BLIND RECRUITMENT/2018/1차/오픈채팅방/다시풀기.py
d45e1623d4e94692ba8b281ad8cadaaccec56d79
[]
no_license
mgh3326/programmers_algorithm
aa3afc91231550e1fec2d72d90e85b140f79d677
b62f08ccccbdcac71e484d508985a5a9ce5f2434
refs/heads/master
2022-08-31T04:19:15.728666
2022-07-31T14:02:26
2022-07-31T14:02:26
201,747,526
0
0
null
2022-07-23T10:19:13
2019-08-11T10:02:15
Python
UTF-8
Python
false
false
965
py
def solution(record): answer = [] user_name_dict = {} saved_list = [] for record_value in record: split = record_value.split() if split[0] == "Enter": user_name_dict[split[1]] = split[2] saved_list.append([split[1], split[0]]) elif split[0] == "Leave": ...
[ "mgh3326@naver.com" ]
mgh3326@naver.com
c516ca040b1f31279633585185cb1ab14a83e442
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/alwayson/testcase/firstcases/testcase4_004.py
e62d569b14c06d34bfb7f2fe84d450b7f3e68484
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
3,331
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
4985819f4fdae6c3a772431253a034ccb65fd50d
e7be538e812d499fd41e483313c486581ac8995c
/scripts/curate_cerebra_labels.py
2674e048eeed30c7b6f930f5f872efb99271aefc
[ "LicenseRef-scancode-other-permissive" ]
permissive
templateflow/tpl-MNI152NLin2009cSym
7f11bbd4cdc365c7fc1e6158a6df9c3ee4d52b1e
69a5e68d2b276b1e46f701892ac630397f56a741
refs/heads/master
2022-01-24T16:36:35.462848
2022-01-04T19:34:59
2022-01-04T19:34:59
253,858,504
0
1
null
null
null
null
UTF-8
Python
false
false
1,025
py
import pandas as pd data = pd.read_csv('CerebrA_LabelDetails.csv') right = data.copy() left = data.copy() # Add hemisphere column right['hemi'] = 'R' left['hemi'] = 'L' # Reassign headers, drop opposite hemi column right = right.rename(columns={'Mindboggle ID': 'name', 'Label Name': 'label', 'RH Label': 'drop', 'LH Lab...
[ "code@oscaresteban.es" ]
code@oscaresteban.es
aada5ffab5800dd2c9361210ed80a88ae3ae8493
85e08aa6dcc83ecd33512ba453634b4eb8909638
/tools/new-file.py
f75d2681fdf30bd02aa32477c92e635046159e55
[ "MIT" ]
permissive
full-stack-hero/snippet
f6f3f1c6e0a95398a4cfe088821b186512d5940e
9600c856c171d1296a151b4d654af0808980f939
refs/heads/master
2020-04-25T15:39:57.786782
2019-03-05T14:19:01
2019-03-05T14:19:01
172,886,006
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
import os import datetime title = input('Title: ') filename = datetime.datetime.now().strftime("%Y%m%d%H%M-") + title + '.py' url = f'https://github.com/full-stack-hero/snippet/blob/master/snippet/snippets/{filename}' print('Create new file', filename) with open(f'snippets/{filename}', 'w') as f: f.write(f'# :aut...
[ "axel.juraske@short-report.de" ]
axel.juraske@short-report.de
7baad3a25f85335f80301e2a2cf89fbb9dbe4349
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AlipayEcoCityserviceCityserviceEnergySendModel.py
f8a6a8917786fd6a4f675b9c04236c7cbd3cb520
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
2,425
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.EnergyExtRequest import EnergyExtRequest class AlipayEcoCityserviceCityserviceEnergySendModel(object): def __init__(self): self._ext_info = None self._outer_n...
[ "jiandong.jd@antfin.com" ]
jiandong.jd@antfin.com
b2dba4a290d39607a7b51c5620c166530d270fad
22b348a0d10519cb1f1da5e886fdf2d3c167cf5a
/myweb/test/coroutine_/client.py
ce807f0eede3f72de22276beaab46a1d5b077f7d
[]
no_license
liuluyang/openstack_mogan_study
dab0a8f918ffd17e0a747715998e81304672b75b
8624f765da7f5aa0c210f0fa945fc50cf8a67b9e
refs/heads/master
2021-01-19T17:03:15.370323
2018-04-12T09:50:38
2018-04-12T09:50:38
101,040,396
1
1
null
2017-11-01T02:17:31
2017-08-22T08:30:22
Python
UTF-8
Python
false
false
336
py
# -*- coding:utf-8 -*- from socket import * ADDR, PORT = 'localhost', 8001 client = socket(AF_INET,SOCK_STREAM) client.connect((ADDR, PORT)) while 1: cmd = raw_input('>>:').strip() if len(cmd) == 0: continue client.send(cmd) data = client.recv(1024) print data #print('Received', repr(data)) ...
[ "1120773382@qq.com" ]
1120773382@qq.com
36db3029d152c25aa5180a8d9f6da3065fc2bb81
f31fda8014ecadf6af7d4e3392fb917c49e0352a
/HeavyIonsAnalysis/JetAnalysis/python/jets/akPuSoftDrop6CaloJetSequence_PbPb_mb_cff.py
54a4374e698b2f7c6feb0a96a2d96c43c489dd79
[]
no_license
jniedzie/lightbylight
acea5051f053c49824a49a0b78bac3a2247ee75f
f5a4661fcf3fd3c0e9ccd8893a46a238e30c2aa8
refs/heads/master
2020-03-18T12:24:31.970468
2018-02-09T15:50:00
2018-02-09T15:50:00
134,724,759
0
1
null
2018-05-24T14:11:12
2018-05-24T14:11:12
null
UTF-8
Python
false
false
15,716
py
import FWCore.ParameterSet.Config as cms from HeavyIonsAnalysis.JetAnalysis.patHeavyIonSequences_cff import patJetGenJetMatch, patJetPartonMatch, patJetCorrFactors, patJets from HeavyIonsAnalysis.JetAnalysis.inclusiveJetAnalyzer_cff import * from HeavyIonsAnalysis.JetAnalysis.bTaggers_cff import * from RecoJets.JetPr...
[ "rchudasa@cern.ch" ]
rchudasa@cern.ch
dc42d8e89404cf9af6ce1eb141a5c7628715b53b
8195f2c3a3b46a3b01571bcbc33960290fce3f32
/biz/errors.py
6511688a69bf2bd05d4f59a6e320e8e807cc7c69
[]
no_license
adoggie/camel
e391e5544a1602ab43257b255dd6558bcc0ee3b1
24b4e9b397ca68b8d4d21be7c372b8163a6ca678
refs/heads/master
2021-01-18T20:27:55.172148
2017-05-22T14:19:57
2017-05-22T14:19:57
86,969,529
1
0
null
null
null
null
UTF-8
Python
false
false
7,050
py
#coding:utf-8 from camel.fundamental.errors import hash_object,ErrorEntry class ErrorDefs: __ver__ =u'1.0' __BASE__ = 0 SUCC = ErrorEntry(0, u'成功') class ErrorDefsDispatcher: __ver__ = u'1.0' __BASE__ = 10000 OK = ErrorEntry(1000, u'success成功') DB_ERROR = Err...
[ "24509826@qq.com" ]
24509826@qq.com
4b63255fa149486950f043c7f04558b67ca41f7f
0c53c0a5dcd5b4a6e237fb034a9e9f544fdc7d20
/pdkb/planner.py
e1b0c18f8f7b96f634343efd4bab04a60aa3ffcc
[ "MIT" ]
permissive
javiermtorres/pdkb-planning
4b379776ba42ac907c246d21a93e186c54926005
61a96c006b606aa051b2c7c9b5bfc9b6473d2a4d
refs/heads/master
2022-11-08T12:14:06.781734
2020-06-23T01:40:27
2020-06-23T01:40:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,599
py
import os, sys, time, pickle from .actions import * from .problems import * def cleanup(): os.system('rm -f pdkb-domain.pddl') os.system('rm -f pdkb-problem.pddl') os.system('rm -f pdkb-plan.txt') os.system('rm -f pdkb-plan.out') os.system('rm -f pdkb-plan.out.err') os.system('rm -f executio...
[ "christian.muise@gmail.com" ]
christian.muise@gmail.com
ca9140c6cb8e2ed05252aa84546a0ff0c9d29e76
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02717/s558364761.py
f30a185b94e4feeffd2e33ec0762827493b66b18
[]
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
51
py
x,y,z=map(str,input().split()) print(z+' '+x+' '+y)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b15b600841eb13bf2e9d5b43e4e723ffc7e840dd
1b91fdcb79f8f6c1ea4713105512f68a161fe334
/tensorflow2/tf2cv/models/jasper.py
f064e3a442c085afb7af68eafd305bffce4ca588
[ "MIT" ]
permissive
YoheiYamasaki/imgclsmob
fb28964eb42d5e536944d4a75e6dddaff58ce965
fbf1fe551a6bba763db7870ece057e5068edb984
refs/heads/master
2023-05-06T11:01:55.168785
2021-05-26T15:04:27
2021-05-26T15:04:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,749
py
""" Jasper/DR for ASR, implemented in TensorFlow. Original paper: 'Jasper: An End-to-End Convolutional Neural Acoustic Model,' https://arxiv.org/abs/1904.03288. """ __all__ = ['Jasper', 'jasper5x3', 'jasper10x4', 'jasper10x5', 'get_jasper'] import os import tensorflow as tf import tensorflow.keras.layers as n...
[ "osemery@gmail.com" ]
osemery@gmail.com
bf0ab1c5d71cbb173fe840a0b6c59b8c19cfc5e2
ad0e853db635edc578d58891b90f8e45a72a724f
/doc/source/data/doc_code/batch_formats.py
2099f70e9bb80050091134df790645f849ed25d4
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
ericl/ray
8c93fc713af3b753215d4fe6221278700936e2db
e9a1c6d814fb1a81033809f56695030d651388f5
refs/heads/master
2023-08-31T11:53:23.584855
2023-06-07T21:04:28
2023-06-07T21:04:28
91,077,004
2
4
Apache-2.0
2023-01-11T17:19:10
2017-05-12T09:51:04
Python
UTF-8
Python
false
false
2,059
py
# flake8: noqa # isort: skip_file # fmt: off # __simple_map_function_start__ import ray ds = ray.data.read_csv("example://iris.csv") def map_function(data): return data[data["sepal.length"] < 5] batch = ds.take_batch(10, batch_format="pandas") mapped_batch = map_function(batch) transformed = ds.map_batches(map...
[ "noreply@github.com" ]
ericl.noreply@github.com
0080d6e109e103ff474bb678c4ce0d6365a10f90
0b2ae73bd91d843deb193d79b7c4eb02e900e851
/ADT75.py
b3bb7d6f5b3c37d352bc8f837b284d4d87f64082
[]
no_license
ncdcommunity/Raspberry_pi_ADT75_Temperature_Sensor_Python_Library
c495d8db53f3d87585ab8a3eac883ede5dcd5bb4
e42bad0d5e057cf309d06b69b44b62ad4cca1da1
refs/heads/master
2021-09-05T15:16:24.670890
2018-01-29T07:03:01
2018-01-29T07:03:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,064
py
# Distributed with a free-will license. # Use it any way you want, profit or free, provided it fits in the licenses of its associated works. # ADT75 # This code is designed to work with the ADT75_I2CS I2C Mini Module available from ControlEverything.com. # https://www.controleverything.com/content/Temperature?sku=ADT75...
[ "ryker1990@gmail.com" ]
ryker1990@gmail.com
e05e44ea2d5ee7d245bc918ab507c0a29739aaae
8692807f1dfa8c18c61df07cfafbbd27d4e66fba
/LONG-CHALLENGE/PROXYC.sol.py
cead1b911458e67e7b124171a7ef3ddec767cfb8
[]
no_license
sharmakajal0/codechef_problems
00381e9bf1996b859e46f087c2ffafd9d7a10ef1
0b979029e0a821f47fbdd6f9c624daee785a02e7
refs/heads/master
2020-05-29T15:04:40.459979
2020-03-29T08:44:53
2020-03-29T08:44:53
189,212,028
0
0
null
null
null
null
UTF-8
Python
false
false
735
py
#!/usr/bin/env python import string import random for _ in range(int(input())): D = int(input()) P = 0 proxy = 0 S = input() for i in range(len(S)): if(S[i] == 'P'): P += 1 A = P/D if A >= 0.75: print(proxy) else: for d in range(D): if d =...
[ "sharma.kajal.sitm@gmail.com" ]
sharma.kajal.sitm@gmail.com
c339f9eb2a18aa108c8f03d0636db2b68a387b05
487aab917a808b30ebeccf90cd15ed59ac9d776b
/Server/app/views/account/auth.py
00563a701cf1bf96abd6f713b7d59feb79dee4b7
[]
no_license
DSM-DMS/DMS-OpenAPI-Backend
62fffc913b5cb562fbca3333223f8abfb2cf2a8a
1f0c434e98c4cc5d2150af6f533109b1797d8659
refs/heads/master
2020-03-20T19:48:56.576943
2018-06-18T06:45:05
2018-06-18T06:45:05
137,655,168
3
0
null
null
null
null
UTF-8
Python
false
false
1,104
py
from flask import Blueprint, Response, request from flask_jwt_extended import create_access_token, create_refresh_token from flask_restful import Api from flasgger import swag_from from app.docs.account.auth import * from app.models.account import StudentModel, TokenModel, AccessTokenModel, RefreshTokenModel from app....
[ "python@istruly.sexy" ]
python@istruly.sexy
204b4e459a1699224604a3af5706b1de46d495db
673e829dda9583c8dd2ac8d958ba1dc304bffeaf
/data/multilingual/Latn.TZH/Serif_12/pdf_to_json_test_Latn.TZH_Serif_12.py
cd6289fc1d1643cc357cf40015e0694b8ed2d3ee
[ "BSD-3-Clause" ]
permissive
antoinecarme/pdf_to_json_tests
58bab9f6ba263531e69f793233ddc4d33b783b7e
d57a024fde862e698d916a1178f285883d7a3b2f
refs/heads/master
2021-01-26T08:41:47.327804
2020-02-27T15:54:48
2020-02-27T15:54:48
243,359,934
2
1
null
null
null
null
UTF-8
Python
false
false
305
py
import pdf_to_json as p2j import json url = "file:data/multilingual/Latn.TZH/Serif_12/udhr_Latn.TZH_Serif_12.pdf" lConverter = p2j.pdf_to_json.pdf_to_json_converter() lConverter.mImageHashOnly = True lDict = lConverter.convert(url) print(json.dumps(lDict, indent=4, ensure_ascii=False, sort_keys=True))
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
337cee5e29835896cab1957d702d1c6c2b4c4d23
7e40c8bb28c2cee8e023751557b90ef7ef518326
/de1ctf_2019_weapon/de1ctf_2019_weapon.py
b20af85652888221b9c83fe6865667fded000806
[]
no_license
1337536723/buuctf_pwn
b6e5d65372ed0638a722faef1775026a89321fa3
cca3c4151a50c7d7c3237dab2c5a283dbcf6fccf
refs/heads/master
2023-08-29T19:35:04.352530
2021-11-16T14:06:20
2021-11-16T14:06:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,409
py
from pwn import * #libc = ELF('libc-2.23.so') libc = ELF('libc-2.23.buu.so') def debug(s): gdb.attach(p, ''' source ~/libc/loadsym.py loadsym ~/libc/2.23/64/libc-2.23.debug.so ''' + s) def alloc(index, size, name): p.sendlineafter(b'choice >> ', b'1') p.sendlineafter(b'size of weapon:...
[ "admin@srmxy.cn" ]
admin@srmxy.cn
9e4f89252c66d18fd18e1467a488c675ac89d9bc
9e679192c0396ca9dadde55d8e6d3a746c446367
/cineBot/lib/python3.6/site-packages/InstagramAPI/InstagramAPI.py
27409550b3db4f29318f333c7304c92a51772bd6
[ "MIT" ]
permissive
furkanalpereny/cineBot
74dfa10e5760f0a2496ca9b8801479d9084d5df7
cb93b6fc6ab25ba0601067f54b6824a8462f470d
refs/heads/master
2022-12-10T10:16:11.006211
2019-12-23T04:11:00
2019-12-23T04:11:00
227,674,856
0
0
MIT
2022-12-08T03:19:12
2019-12-12T18:50:06
Python
UTF-8
Python
false
false
53,745
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import requests import random import json import hashlib import hmac import urllib import uuid import time import copy import math import sys from datetime import datetime import calendar import os from requests_toolbelt import MultipartEncoder # Turn ...
[ "furkan.aalperen@gmail.com" ]
furkan.aalperen@gmail.com
062eb22c54e54134722697966c14311f9e383461
daa053212901b51273bb1f8a6ca3eddac2b5cbaf
/main/apps/companies/management/commands/seed_consultants.py
5df7ab0584e1e6e4412334b82052d2652e8c51ca
[]
no_license
truhlik/directit
11fb45d482d454b55888f38afe0f64ce533788ad
eb10654b64cbe4232811594b936f8e3d0381754e
refs/heads/main
2023-08-30T10:03:45.376159
2021-10-06T19:02:15
2021-10-06T19:02:15
414,334,714
0
0
null
null
null
null
UTF-8
Python
false
false
2,114
py
import os import json from django.core.management.base import BaseCommand from django.conf import settings from django.db import transaction from main.apps.categories.models import Category from main.apps.companies.models import Company from main.apps.companies import constants from main.apps.tags.models import Tag ...
[ "lubos@endevel.cz" ]
lubos@endevel.cz
0dbd5fdba95bed8a268db8202b3fb87885b024ec
7b270cf5f9d0a3e26b5afd758563c6cff73a5248
/comportamentais/templateMethod/musica/musica/ordenadores/por_nome.py
20811813acfc8389cb954bc7cf5afb90f6bd5ea6
[]
no_license
reginaldosantarosa/DesignPatterns
10810672d3831e562ec636a5f66bd709c797ca34
bec4247f52b8d2e1fe41c570408816a5d4b22608
refs/heads/master
2020-04-04T06:54:19.757054
2018-01-04T03:06:05
2018-01-04T03:06:05
155,761,201
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
from musica.ordenador import Ordenador class PorNome(Ordenador): """ Ordena as músicas por nome. """ def vem_antes(self, musica1, musica2): """ Verifica se o nome da musica1 vem antes do nome da musica2 ou se os nomes são iguais """ if (musica1.nome >= musica2...
[ "victorhad@gmail.com" ]
victorhad@gmail.com
a58aad7520eda26f26eea0cbde53195c6e1f95ff
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-dataplex/samples/generated_samples/dataplex_v1_generated_dataplex_service_list_lake_actions_async.py
6bb70e947a1d2da68ce6f3f24464c8d42da2e31a
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
1,915
py
# -*- coding: utf-8 -*- # Copyright 2023 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" ]
googleapis.noreply@github.com
03d54f61b29f53b93ad2fd757e4e11559959bdce
293d7ab59c9e7ff4e1341fb8e6504a89f3384666
/python/test/utils/test_graph_converters/test_batch_normalization_self_folding.py
1e2d303962a499a835d6efa13a3da5acd8dc33bf
[ "Apache-2.0" ]
permissive
CrimsonTuna/nnabla
903423b8eb3617c3623952605bcdd77bb5ab2a56
36328e574d77f1cc9ee0051f33159a2dc4f03013
refs/heads/master
2023-03-29T07:12:33.444996
2021-04-11T09:33:21
2021-04-11T09:33:21
356,857,925
0
0
Apache-2.0
2021-04-11T13:09:02
2021-04-11T12:10:47
null
UTF-8
Python
false
false
1,774
py
# Copyright (c) 2020 Sony Corporation. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
[ "Kazuki.Yoshiyama@sony.com" ]
Kazuki.Yoshiyama@sony.com
82bd13fb6585eb7e350d867d90ba5d73d5caf38e
5850d0bd221cec491f94cf68a6d880abdb838f0e
/tests/exoatlet/spat_decomp.py
cbefd3bddcc77909c7648fbe0e25bd9bd3f24412
[]
no_license
nickware44/DeepBCI
336a437e2a519d09e74f57e692e4c59ac7b1db70
96b99b36e888a740dd955b7f6d3f8f05b94efd17
refs/heads/master
2023-08-03T09:08:20.283055
2023-07-27T19:17:13
2023-07-27T19:17:13
336,832,704
4
0
null
null
null
null
UTF-8
Python
false
false
3,260
py
path_to_nfblab = r'C:\Projects\nfblab\nfb' import sys import numpy as np import pylab as plt import pandas as pd import scipy.signal as sg sys.path.insert(0, path_to_nfblab) from utils.load_results import load_data from pynfb.signal_processing.filters import ButterFilter from pynfb.signal_processing.decompositions impo...
[ "n.m.smetanin@gmail.com" ]
n.m.smetanin@gmail.com
cddba55aea5b0e697b0e759fa4236c9772032db5
e23a4f57ce5474d468258e5e63b9e23fb6011188
/070_oop/007_exceptions/_exercises/templates/GoCongr/002_Exceptions.py
558802c1cef142e35946dbce32921cc93b0cf096
[]
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
686
py
# # -*- coding: utf-8 -*- # # # Nested handlers # ___ # Обрабатываем исключения # ___ # Вложенный обработчик # x = 1 / 0 # Ошибка: деление на 0 # ____ N... # print("Неопределенный идентификатор") # ____ I... # ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
f572de46bf3442d83632a194c67fbc4ea0587da3
9a1dbd1d6dcdb5a4d238fa72ff1eb8e8ac99c9fb
/EBookReading/wsgi.py
b4b370837d698fee742a9d781becb9f7af5f318b
[]
no_license
chintan-27/E-Book-Reading-Website
85c0aa7515169f13bb8939aba9ee36bc64af17b8
693a75756f9e9b99631bff7973c4da16ed3716a4
refs/heads/main
2023-08-22T06:04:48.118415
2021-09-08T05:37:35
2021-09-08T05:37:35
378,327,140
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
""" WSGI config for EBookReading 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/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "chintan.acharya27@gmail.com" ]
chintan.acharya27@gmail.com
28f6441efdadfc02cdae431872a2d080a5030079
f504253210cec1c4ec6c3ea50a45564db7d6cd7f
/prettyqt/core/transposeproxymodel.py
81174a1c4b71d3ea47ef74b62ff9f018ad7d81d7
[ "MIT" ]
permissive
phil65/PrettyQt
b1150cb4dce982b9b8d62f38f56694959b720a3e
f00500d992d1befb0f2c2ae62fd2a8aafba7fd45
refs/heads/master
2023-08-30T21:00:08.905444
2023-08-17T12:24:45
2023-08-17T12:24:45
177,451,205
17
5
MIT
2020-08-15T22:21:18
2019-03-24T18:10:21
Python
UTF-8
Python
false
false
220
py
from __future__ import annotations from prettyqt import core class TransposeProxyModel(core.AbstractProxyModelMixin, core.QTransposeProxyModel): """This proxy transposes the source model.""" ID = "transpose"
[ "philipptemminghoff@googlemail.com" ]
philipptemminghoff@googlemail.com
1b71200f5245e6bae920920c97bfa9306e71d00e
50aa9303450e06d1172f78c0478a58e5113d9bb9
/958palindrome-data-stream.py
affb066b625a80be4a626f58e58e577ff236cabd
[]
no_license
zlldt/LintCode
6e1041b78a301651378833caf7fd7db9ce112ec5
e5012161131a8c8557bdb0296980b2a0b712c620
refs/heads/master
2021-06-27T05:24:08.471072
2019-03-02T12:56:26
2019-03-02T12:56:26
105,424,020
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
class Solution: """ @param s: The data stream @return: Return the judgement stream """ def getStream(self, s): # Write your code here length = len(s) result = [1 for x in range(length)] dict ={} for i in range(length): if s[i] in dict: ...
[ "noreply@github.com" ]
zlldt.noreply@github.com
b8c22bcb6d3ac5f046570154dacdc01b736d759f
b420377a638dc9a5d8c09ebc39b0448d47ddb74e
/ddd-todolist-sample/todolist/port/eventbus.py
5431f4676032719da1a48a8695071bda80b80f8a
[]
no_license
shimakaze-git/drf-sample
d4e4e8e4d380f0b77e807d4bbf4e3f0d98ee6bcd
4294cd5adeea0ef51d3b7eee6a154d23dd089afc
refs/heads/master
2022-05-02T20:19:09.901257
2019-09-15T12:46:51
2019-09-15T12:46:51
205,698,781
0
0
null
2022-04-22T22:29:32
2019-09-01T15:52:14
Python
UTF-8
Python
false
false
263
py
from abc import ABCMeta, abstractmethod class EventBus: """ ドメインイベントの通知インタフェース. """ __metaclass__ = ABCMeta @abstractmethod def publish(self, event): """ ドメインイベントを通知する. """
[ "shimakaze.soft+github@googlemail.com" ]
shimakaze.soft+github@googlemail.com
1aafc1474a8d34a62593a043cd334f726f39f465
aa0270b351402e421631ebc8b51e528448302fab
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2022_07_01/aio/operations/_agent_pools_operations.py
2fcf53c41b2be850fca1b5ad7c12391ba7b15405
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
39,942
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
fangchen0601.noreply@github.com
527160e77429557933b7824c4d79f4ae526f1411
7d949b9f19e4c5c897b3aef76e604f2c0eee7112
/src-python/saccade_analysis/tammero_flydradb/report_axis_angle.py
88f17a3bd3e549f78714e134fbced84c944473c9
[]
no_license
AndreaCensi/saccade_analysis
d3fad3a1a406b97c4dcf9cdc82b9b2ce1fbf42df
71b87e9225b16317ffa9a581b3c62d8343fe7bfa
refs/heads/master
2016-09-11T06:49:22.254391
2011-12-20T06:39:30
2011-12-20T06:39:30
952,465
1
0
null
null
null
null
UTF-8
Python
false
false
4,889
py
from contracts import contract from reprep import Report import numpy as np from ..markov import binomial_stats def create_report_axis_angle(id, desc, saccades): r = Report('axis_angle') # # axis_angle = saccades['axis_angle'] # saccade_angle = saccades['saccade_angle'] ...
[ "andrea@cds.caltech.edu" ]
andrea@cds.caltech.edu
5b3ad54a4efaa9fbbbe546322a45748b042140c1
39b84306510530e39eb9d4087977ddd6b2ee203e
/self_assesment/self_assesment2/numericalStack.py
9b89874d425cc431c8b4a307eabb5975ea52bfef
[ "MIT" ]
permissive
sowmyamanojna/BT3051-Data-Structures-and-Algorithms
2ff9753a02ce1d2bdb113791d308391df19cc2f6
09c17e42c2e173a6ab10339f08fbc1505db8ea56
refs/heads/master
2022-12-31T02:02:23.566697
2020-09-12T06:59:03
2020-09-12T06:59:03
241,184,510
2
0
null
null
null
null
UTF-8
Python
false
false
761
py
class Stack(): def __init__(self, val = []): self._value = val # print("Stack initialised!") def push(self, x): self._value.append(x) # print ("{} is pushed into stack!!!".format(x)) return self def pop(self): if len(self._value) > 0: self._value = self._value[1:] # print ("Values popped") else...
[ "sowmyamanojna@gmail.com" ]
sowmyamanojna@gmail.com
9e66b3c83031a5eb2d06a77c03098a1f9a74c905
b332e9e5b63db27b23250ddbbb85b470ceaf92a1
/List/largestNumber.py
c4a880a23fc70378f9c187caa0e5aedc995c8561
[]
no_license
huangketsudou/leetcode_python
66fcc695b0a4f94a35cc52e161ae4bfdb1138dc2
e983f42d245b69f9bddd9855f51ee59648a2039e
refs/heads/master
2021-08-07T23:25:45.532458
2020-08-23T06:15:22
2020-08-23T06:15:22
214,324,229
2
0
null
2020-04-12T14:40:47
2019-10-11T02:16:43
Python
UTF-8
Python
false
false
1,866
py
from typing import List class Solution: def largestNumber(self, cost: List[int], target: int) -> str: dp = [[] for _ in range(target+1)] for i in range(1, target + 1): for j, c in enumerate(cost): if i == c: dp[i]=self.cmp(dp[i],[j+1]).copy() ...
[ "1941161938@qq.com" ]
1941161938@qq.com
781c73109fd82253400de9f5d6a1a1933c3ea874
84297380d00453e71f65c591dca046bd41a32184
/ABC/ABC158/B.py
908f7549a2b440db2e70bbd04547fea89beaef38
[]
no_license
daiki1998/atcoder
a5ef25245b1bbc3a5e33044846a3c16213603bd3
d864a7cb11e41dbf6a691f5d128fdfe122b07046
refs/heads/main
2023-03-06T22:55:29.863716
2021-02-18T12:01:24
2021-02-18T12:01:24
323,401,954
1
0
null
null
null
null
UTF-8
Python
false
false
101
py
N, A, B = map(int, input().split()) res, amari = N // (A+B), N % (A+B) print(res*A + min(amari, A))
[ "shimokawadaiki@shimokawadaikinoMacBook-Pro.local" ]
shimokawadaiki@shimokawadaikinoMacBook-Pro.local
f02286ccdd2739bd33ad6702398683ffcba4ff5d
402f90865d7de0bb7273c8e03de131d19c2e4318
/django_fullstack/urls.py
fee9fca5f611831511b2f3977956afedb1796883
[]
no_license
yavorm-tech/django-fullstack
bc83b5687c767304bf6b5904ee207fd269ea4210
654c034dd438678faeeedaed30f618ee0ceccebe
refs/heads/master
2022-11-17T01:14:28.843249
2020-06-30T05:47:29
2020-06-30T05:47:29
275,743,244
0
0
null
null
null
null
UTF-8
Python
false
false
906
py
"""django_fullstack URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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') Cl...
[ "=" ]
=
9a6e758c8f2fbb8e0949a60809a56b779c857f86
35be0509b6f98030ef5338033468710de1a536a3
/heat/heat/tests/neutron/test_neutron_subnet.py
b7962c3a6e84ffa2a768b1113132dc49cecc7188
[ "Apache-2.0" ]
permissive
yizhongyin/OpenstackLiberty
6f2f0ff95bfb4204f3dbc74a1c480922dc387878
f705e50d88997ef7473c655d99f1e272ef857a82
refs/heads/master
2020-12-29T02:44:01.555863
2017-03-02T06:43:47
2017-03-02T06:43:47
49,924,385
0
1
null
2020-07-24T00:49:34
2016-01-19T03:45:06
Python
UTF-8
Python
false
false
19,507
py
# # 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, software # ...
[ "yizhongyin@os-easy.com" ]
yizhongyin@os-easy.com
432f9038e0b00672bb1870647b074519e43c0350
5462142b5e72cb39bea5b802dd46f55357c4ea84
/homework_zero_class/lesson13/多重继承-times_3.py
be4ae74b66504ab6fd49cf872d6296e34b224f30
[]
no_license
qqmadeinchina/myhomeocde
a0996ba195020da9af32613d6d2822b049e515a0
291a30fac236feb75b47610c4d554392d7b30139
refs/heads/master
2023-03-23T05:28:53.076041
2020-08-24T08:39:00
2020-08-24T08:39:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,190
py
# -*- coding: utf-8 -*- # @time :2020/8/3 14:45 # @Author:老萝卜 # @file:多重继承-times_3 # @Software:%{PRODUICT_NAME}多重继承-times_3.py class A(object): def test(self): print("A......") def test1(self): print("A-test1......") def test3(self): print("A-test3......") class B(object): def...
[ "newwxm@126.com" ]
newwxm@126.com
82e34d60193e623a88db412888e04f745cbe0e2a
0e478f3d8b6c323c093455428c9094c45de13bac
/src/OTLMOW/OTLModel/Classes/Onderdeel/Plantbakvorm.py
8e481ff412fa8be69732c95c697b72f328907b15
[ "MIT" ]
permissive
davidvlaminck/OTLMOW
c6eae90b2cab8a741271002cde454427ca8b75ba
48f8c357c475da1d2a1bc7820556843d4b37838d
refs/heads/main
2023-01-12T05:08:40.442734
2023-01-10T15:26:39
2023-01-10T15:26:39
432,681,113
3
1
MIT
2022-06-20T20:36:00
2021-11-28T10:28:24
Python
UTF-8
Python
false
false
4,219
py
# coding=utf-8 from OTLMOW.OTLModel.BaseClasses.OTLAttribuut import OTLAttribuut from OTLMOW.OTLModel.Classes.Abstracten.VegetatieElement import VegetatieElement from OTLMOW.OTLModel.Datatypes.BooleanField import BooleanField from OTLMOW.OTLModel.Datatypes.KwantWrdInKubiekeMeter import KwantWrdInKubiekeMeter from OTLMO...
[ "david.vlaminck@mow.vlaanderen.be" ]
david.vlaminck@mow.vlaanderen.be
59b4c9db05c27c7724251e295febdd0179db742e
24fbe6b25338a58701a70fdda1aa81ef3add5fd3
/blog/migrations/0001_initial.py
a10a14be7a20c47db9e2eb1cb1f37151cd0ad50d
[]
no_license
jattoabdul/jatto-portfolio
1d9001c90423114402119119baf325a287ad0c30
1e2d883f7da3c6f654a0796ec22750b52653e1c1
refs/heads/master
2021-01-13T07:19:52.932401
2016-10-21T07:46:28
2016-10-21T07:46:28
71,542,572
1
0
null
null
null
null
UTF-8
Python
false
false
2,240
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-18 09:53 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migratio...
[ "jattoade@gmail.com" ]
jattoade@gmail.com
45ce2c771a4665fdafa68a6b528d542323ae5b78
bdf86d69efc1c5b21950c316ddd078ad8a2f2ec0
/venv/Lib/site-packages/twisted/pair/rawudp.py
4a582b4475c57f6cd30f9db14c9c2a4319325960
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
DuaNoDo/PythonProject
543e153553c58e7174031b910fd6451399afcc81
2c5c8aa89dda4dec2ff4ca7171189788bf8b5f2c
refs/heads/master
2020-05-07T22:22:29.878944
2019-06-14T07:44:35
2019-06-14T07:44:35
180,941,166
1
1
null
2019-06-04T06:27:29
2019-04-12T06:05:42
Python
UTF-8
Python
false
false
1,814
py
# -*- test-case-name: twisted.pair.test.test_rawudp -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Implementation of raw packet interfaces for UDP """ import struct from twisted.internet import protocol from twisted.pair import raw from zope.interface import implementer class UDPHe...
[ "teadone@naver.com" ]
teadone@naver.com
1a89de4b58df39f71a8cdaded521bd9bcc57ad82
ac1fdf53359b53e183fb9b2602328595b07cf427
/ParlAI/parlai/agents/transformer/ranker.py
51cefc77cb2f438fcd95c2cf84c00a8116b011bd
[]
no_license
Ufukdogann/MasterThesis
780410c5df85b789136b525bce86ba0831409233
b09ede1e3c88c4ac3047800f5187c671eeda18be
refs/heads/main
2023-01-24T18:09:52.285718
2020-11-27T16:14:29
2020-11-27T16:14:29
312,416,173
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:f95aa8138972542126c3bcb4a212d2bf9ef9cda22d8b31711b727a63c523e699 size 335
[ "134679852Ufuk*" ]
134679852Ufuk*
f7b744cfd5605b2aaf4cfa03f7cb316c383583ae
ed1e81a2325d310de7961274a06bfe6cdb7993d0
/basic-python/2.py
99f2e56af41d4bda165783ada2d9ac971743ca69
[]
no_license
fahimkhan/python
ce573298adf30ca8426b74f3ab275ab7f8047a91
1733ad39cf214362c8a76f8996740715888d2101
refs/heads/master
2021-01-15T15:50:27.323739
2016-08-24T11:02:56
2016-08-24T11:02:56
20,254,607
1
1
null
null
null
null
UTF-8
Python
false
false
407
py
#! /usr/bin/python balance = int(raw_input('Enter balance')) annualInterestRate = .2 payment = 0 TempBalance = balance while TempBalance > 0: payment += 10 TempBalance = balance for month in range (1,13): TempBalance = (TempBalance - payment) * (1+(annualInterestRate/12)) print(TempBalance) ...
[ "fahim.elex@gmail.com" ]
fahim.elex@gmail.com
bb32a4488d76e23dcf13ae34a46596167e8f81c9
57ea54e829f2fc8fcbea29fa8e2c9a6f64d88c3b
/promgen/checks.py
881c7e4f3d32d43f2118326d8a09357b6c6a6968
[ "MIT", "BSD-3-Clause" ]
permissive
k8stech/promgen
4c959003f44be6c9bd207b81f440c090a5c2f47b
d189d27d37016b1861e3a0e4fb6186e5008bbcd9
refs/heads/master
2022-04-14T11:58:16.221164
2020-04-10T01:15:59
2020-04-10T01:15:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
import os import pathlib from django.conf import settings from django.core import checks from promgen import models, util @checks.register(checks.Tags.models) def sites(app_configs, **kwargs): if models.Site.objects.count() == 0: yield checks.Error( "Site not configured", hint="Missing djang...
[ "paul.traylor@linecorp.com" ]
paul.traylor@linecorp.com
c307af7dd424488f21d5c3a8b6b4ed0169334af5
0facb323be8a76bb4c168641309972fa77cbecf2
/Configurations/TTSemiLep/nanoAODv9/2016noHIPM/StackNew_comb/plot_noSig.py
b2fb463dd9727e75b4c7d86ab0fc9a9421d17a9f
[]
no_license
bhoh/SNuAnalytics
ef0a1ba9fa0d682834672a831739dfcfa1e7486b
34d1fc062e212da152faa83be50561600819df0e
refs/heads/master
2023-07-06T03:23:45.343449
2023-06-26T12:18:28
2023-06-26T12:18:28
242,880,298
0
1
null
2020-02-25T01:17:50
2020-02-25T01:17:49
null
UTF-8
Python
false
false
8,986
py
import sys from collections import OrderedDict plot=OrderedDict() dict_TColor={ 'green':416+3,##darker greeen 'cyan':432,##bright blue 'magenta':616,##violet 'yellow':400, 'blue':600, 'orange':800+7,##darker orange 'pink':900, 'black':1, 'red':632, 'azure':860,##blue 'gray':920, } scriptname=opt.plotFile if not 'el...
[ "bh.oh@cern.ch" ]
bh.oh@cern.ch
f4f472f18b95743fd61dc350b332932577e6dacc
b8eb666c8b6fe4610d87bff8048f4a95a1c5b549
/测试/UI自动化/测试工具__Appium/Project/bin/do.py
7bac86077f5a081ccaefee08dfceb4a5c78641a4
[]
no_license
cainiaosun/study
1e983e404005e537410b205634a27cee974faba0
91df9b63cda1839b7fc60de3b5f1eb19ccc33a1f
refs/heads/master
2020-05-30T09:59:19.749099
2019-11-22T10:39:12
2019-11-22T10:39:12
189,641,828
1
0
null
null
null
null
UTF-8
Python
false
false
46
py
class parent: def sum(self,a,b): return a+b
[ "1551577567@qq.com" ]
1551577567@qq.com
c958cb5a82f6c8104bc7e0444032862e11459094
6b63f4fc5105f3190014e1dd5685a891a74f8c63
/0050_desafio.py
5be9a03b2c845818497d762946f24cd25bcae2ca
[]
no_license
matheuszei/Python_DesafiosCursoemvideo
a711c7c9c6db022cc8a16a3a1dc59afabb586105
5b216908dd0845ba25ee6d2e6f8b3e9419c074d2
refs/heads/main
2023-05-10T18:13:09.785651
2021-06-04T13:50:48
2021-06-04T13:50:48
370,851,791
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
#Desenvolva um programa que leia seis números inteiros e mostre a soma apenas daqueles # que forem pares. Se o valor digitado for ímpar, desconsidere-o. soma = 0 for c in range(0, 6): n = int(input('({}) Digite um valor: '.format(c))) if n % 2 == 0: soma += n print('Soma total: {}'.format(soma)) ...
[ "noreply@github.com" ]
matheuszei.noreply@github.com
791915d263580e71b002e57d99955b163d92e7ef
bb53f1d84171b1c12d06c4729fc41942bcccfc84
/genesis/manage.py
46fc6b506b6a60ca89b9ee67150249a5ef101ce1
[]
no_license
genesiscurso2020/genesisgit
ad1e6a5508291fca3e379837a211d29383e2fc1d
2b66b3ee73d3c6397e71a51b1e0f453557d0c1da
refs/heads/master
2023-04-04T20:10:28.919549
2021-04-06T17:42:07
2021-04-06T17:42:07
355,281,076
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'genesis.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Import...
[ "gjangoinminutes@gmail.com" ]
gjangoinminutes@gmail.com
8d92e4c3a4b1b88ae82f1dff436289a50a3edeaa
83d657c787529f01a8ecc8a874421738a7eecec7
/Components/Decompose Corner and Cap Components.py
1dd679598592878764a5f6a5b69a03429fbcd0da
[ "Apache-2.0" ]
permissive
BurgAndOeden/Glyphs-Scripts
e31b5164b491dfe0cd2d57f6cf1422c4aadda104
f0195d6b8f0a6c055e4e44d5ef41ba48bdd1e3a6
refs/heads/master
2020-09-16T08:01:06.345898
2019-11-24T00:15:44
2019-11-24T00:15:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
#MenuTitle: Decompose Corner and Cap Components # -*- coding: utf-8 -*- __doc__=""" Recreates the current paths without caps or components. """ from Foundation import NSClassFromString thisFont = Glyphs.font # frontmost font selectedLayers = thisFont.selectedLayers # active layers of selected glyphs removeOverlapFilt...
[ "res@glyphsapp.com" ]
res@glyphsapp.com
1d6318d6da52ddd15efa39e18f8a38efab9c2016
2729fff7cb053d2577985d38c8962043ee9f853d
/bokeh/colors/tests/test_rgb.py
38a92fcdc5718cea5c5cb924d3373c70544bb3a2
[ "BSD-3-Clause" ]
permissive
modster/bokeh
2c78c5051fa9cac48c8c2ae7345eafc54b426fbd
60fce9003aaa618751c9b8a3133c95688073ea0b
refs/heads/master
2020-03-29T01:13:35.740491
2018-09-18T06:08:59
2018-09-18T06:08:59
149,377,781
1
0
BSD-3-Clause
2018-09-19T02:02:49
2018-09-19T02:02:49
null
UTF-8
Python
false
false
4,379
py
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2017, Anaconda, Inc. All rights reserved. # # Powered by the Bokeh Development Team. # # The full license is in the file LICENSE.txt, distributed with this software. #---------------------------------------------------...
[ "noreply@github.com" ]
modster.noreply@github.com
aa247b139b389b58a5500dc4c769591494b5cef3
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-sblp-obt/sblp_ut=3.5_rd=0.5_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=35/sched.py
a0392c19ab7309ecc424144631532e7acfb8ce71
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
493
py
-S 2 -X RUN -Q 0 -L 1 73 250 -S 2 -X RUN -Q 0 -L 1 47 150 -S 2 -X RUN -Q 0 -L 1 39 150 -S 1 -X RUN -Q 1 -L 1 36 200 -S 1 -X RUN -Q 1 -L 1 34 150 -S 1 -X RUN -Q 1 -L 1 34 125 -S 0 -X RUN -Q 2 -L 1 32 200 -S 0 -X RUN -Q 2 -L 1 29 400 -S 0 -X RUN -Q 2 -L 1 28 125 -S 3 -X RUN -Q 3 -L 1...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
4d7083ee858b963ff2f612fec11bc7c74866bf28
f3b233e5053e28fa95c549017bd75a30456eb50c
/bace_input/L4M/4M-4K_MD_NVT_rerun/set_2.py
999213e504175ebbc8551697fbbec3b3df615cab
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
import os dir = '/mnt/scratch/songlin3/run/bace/L4M/MD_NVT_rerun/ti_one-step/4M_4K/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_2.in' temp_pbs = filesdir + 'temp_2.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in lam...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
833502e31a08a9076d125cf4da8732dc6e9093f4
4a3b651b892121b149406b0c11ded96dfbbbc309
/nidm_neo4j.py
50a797ccba84c66d1bd7196a27fa18d7c7e1d151
[]
no_license
vsoch/nidm-neo4j
78c10f7540b4462997e57075fe55466fec2322f6
00c4a077e416ced19b6d3d246ac959e9a8ffb004
refs/heads/master
2021-01-10T01:36:01.665912
2015-10-15T20:17:46
2015-10-15T20:17:46
44,143,178
0
0
null
null
null
null
UTF-8
Python
false
false
5,416
py
from nidmviewer.convert import get_lookups, get_nidm_keys, get_field_groups from nidmviewer.convert import getjson from rdflib.serializer import Serializer from rdflib import Graph as graphrdf, plugin import rdfextras rdfextras.registerplugins() plugin.register( 'json-ld', Serializer, 'rdflib_jsonld.seriali...
[ "vsochat@stanford.edu" ]
vsochat@stanford.edu
aefe8b6b4ca8c34b9daa6f1101d9edf3096dba5a
e7a5e140ccacc10a4c51b66fa5942974330cce2c
/py_insightvm_sdk/models/discovery_search_criteria.py
1d1de193d4cc42310dabe5624fcece0162396b08
[ "Apache-2.0" ]
permissive
greenpau/py_insightvm_sdk
38864c7e88000181de5c09302b292b01d90bb88c
bd881f26e14cb9f0f9c47927469ec992de9de8e6
refs/heads/master
2020-04-21T08:22:31.431529
2020-02-27T02:25:46
2020-02-27T02:25:46
169,417,392
2
0
null
null
null
null
UTF-8
Python
false
false
54,623
py
# coding: utf-8 """ InsightVM API # Overview This guide documents the InsightVM Application Programming Interface (API) Version 3. This API supports the Representation State Transfer (REST) design pattern. Unless noted otherwise this API accepts and produces the `application/json` media type. This API uses ...
[ "greenpau@outlook.com" ]
greenpau@outlook.com
82a746e5f60cd833d1722b8ad31c9a47ba6d461b
c1cadf7816acbe2c629dfdf5bfe8f35fa14bfd57
/archieve/chinese/manage.py
5ca0b7c52363f11fa49628eb6fd16998188a8760
[]
no_license
luochengleo/timeperception
39c5eb0b0cedf16a02867e6a67e2befc4a118c71
6c27ceb51e219d9f18898918d4f3158c94836ff4
refs/heads/master
2021-01-21T04:46:45.315679
2016-07-21T14:34:04
2016-07-21T14:34:04
43,635,809
0
1
null
null
null
null
UTF-8
Python
false
false
257
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "timeperception.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "luochengleo@gmail.com" ]
luochengleo@gmail.com
c30b0daa268e1d472d04f23d05a26aa61c656f59
3f84f51751c4191bb81c9df7094578461fb12a2d
/典型90問/012_dfs.py
ab1e4b903f8a68201dac254f3a00b79daee48b9e
[]
no_license
rikukawamura/atcoder
7ff49f1bd8534b99d87fe81ef950e1ba77eee8b8
09c0cfe3ce25be56d338614a29e996f4106117cd
refs/heads/master
2023-08-13T21:21:19.058219
2021-09-28T10:02:42
2021-09-28T10:02:42
329,206,601
0
0
null
null
null
null
UTF-8
Python
false
false
896
py
def int_sp(): return map(int, input().split()) def li_int_sp(): return list(map(int, input().split())) def dfs(s_y, s_x): if s_y<0 or H<=s_y or s_x<0 or W<=s_x or visited[s_y][s_x] or maps[s_y][s_x]==0: return visited[s_y][s_x] = 1 for k in range(4): dfs(s_y+dy[k], s_x+dx[k]) ...
[ "49993650+rikukawamura@users.noreply.github.com" ]
49993650+rikukawamura@users.noreply.github.com
f5ce0b8c0c2a1214e2899cfff23ea25f55ac12b1
c546184629526cff0d40180fc89158ea70c5e21c
/Basics of data science and machine learning/5. Tuples, Dictionary and sets/8. Pairs with difference K.py
68f7a31e266ceb68ab10d834ada99cfcc13e1541
[]
no_license
code-drops/coding-ninjas
23ad5d3ea813caf3bd1b04a3733b38d3fb844669
fd320e1e4f9e996fbe8d2ef25b20d818b18d4d79
refs/heads/master
2022-11-23T00:22:31.791976
2020-07-05T10:22:00
2020-07-05T10:22:00
277,277,217
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
''' You are given with an array of integers and an integer K. Write a program to find and print all pairs which have difference K. Take difference as absolute. ''' def printPairDiffK(List, k): # Please add your code here dict = {} count, itm = 0, '' for item in reversed(List): dict[item...
[ "noreply@github.com" ]
code-drops.noreply@github.com
c7be3292d0f7692e0324adf082264120fa54122f
8c87224eb6d2935a6d10bff39f8592a1dd43f549
/data_overview.py
c5b91d99da176f1a06a9543f44356e24da0112eb
[]
no_license
charano/data-wrangle-openstreetmaps-data_1
ca3024d78acaf80e85ae3c66a1eee9b72dd6c899
59458dff3e1b05216b259b4bcf07da32e28abb57
refs/heads/master
2021-01-10T13:28:59.052062
2015-06-06T16:58:10
2015-06-06T16:58:10
36,987,866
0
0
null
null
null
null
UTF-8
Python
false
false
7,190
py
import pprint def get_db(db_name): from pymongo import MongoClient client = MongoClient('localhost:27017') db = client[db_name] return db def zip_pipeline(): pipeline = [{"$match" : { "address.postcode" : {"$exists":1}}} ,{"$group" : {"_id" : "$address.postcode", ...
[ "root@ip-10-47-174-141.ec2.internal" ]
root@ip-10-47-174-141.ec2.internal
934e170f6ff5c24743b86be8f724a5ba2956c4f5
4410498f2af839d5d086e2a57d7faadb372bba7c
/twitterOA1.py
a86365d4d0ebcfe3084d7f44847c804675e3c214
[]
no_license
Huijuan2015/MyLeetcodeSolutions
264e68c4748caac9fc9a4dc3347ae8eae7241217
6d4d078db8f3e6994db0dc25410be265459acc04
refs/heads/master
2020-04-06T05:14:29.103116
2016-11-05T21:57:27
2016-11-05T21:57:27
53,628,844
0
0
null
null
null
null
UTF-8
Python
false
false
2,420
py
import sys from string import maketrans def mask_email(email): body = email[2:].strip() at = body.find('@') return 'E:' + body[0] + '*' * 5 + body[at-1:] def mask_phone(phone): body = phone[2:].strip() table = maketrans('', '') body = body.translate(table, '- ()') # print body if body[...
[ "huijuan1991@hotmail.com" ]
huijuan1991@hotmail.com
47a910a99248290f1384e97ff25bd0b69c23469d
bfee538514b48b3f83873c671e4bcaadf0744d69
/api/migrations/0001_initial.py
bd0b5cfbddd5550b74916de712000ea67229a801
[]
no_license
visheshdubey/Dashbike
204d9d8411e5afdf0b176b460470a1c6608b52f1
5dcb7f5d449034c61ef7dcdef246fbf4209e9e15
refs/heads/master
2023-07-27T11:35:36.071871
2021-09-12T03:03:01
2021-09-12T03:03:01
178,920,077
0
0
null
null
null
null
UTF-8
Python
false
false
3,175
py
# Generated by Django 2.1.7 on 2019-04-06 05:49 import api.models from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('Users', '0001_initial'), ] operations = [ migrations.CreateModel( ...
[ "you@example.com" ]
you@example.com
5740cc781e591bcf9a64ae8aec6619af8f1be9d9
010279e2ba272d09e9d2c4e903722e5faba2cf7a
/contrib/python/plotly/py2/plotly/validators/sankey/node/hoverlabel/__init__.py
97dbaf78fea9dc475698f08381ca03fa4d8e4827
[ "Apache-2.0", "MIT" ]
permissive
catboost/catboost
854c1a1f439a96f1ae6b48e16644be20aa04dba2
f5042e35b945aded77b23470ead62d7eacefde92
refs/heads/master
2023-09-01T12:14:14.174108
2023-09-01T10:01:01
2023-09-01T10:22:12
97,556,265
8,012
1,425
Apache-2.0
2023-09-11T03:32:32
2017-07-18T05:29:04
Python
UTF-8
Python
false
false
6,073
py
import _plotly_utils.basevalidators class NamelengthsrcValidator(_plotly_utils.basevalidators.SrcValidator): def __init__( self, plotly_name="namelengthsrc", parent_name="sankey.node.hoverlabel", **kwargs ): super(NamelengthsrcValidator, self).__init__( plot...
[ "robot-piglet@yandex-team.com" ]
robot-piglet@yandex-team.com
6f1688c722ecdbc98b0e43a88f1b44403696a034
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/49/usersdata/91/18060/submittedfiles/pico.py
24ae75a9ef09d94bf4615d5fc052c73af71e91f6
[]
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
573
py
# -*- coding: utf-8 -*- from __future__ import division def pico(lista): posicao=0 for i in range (0,len(lista)-1,1): if lista[i]>lista[i+1]: posicao=i break cont=0 for i in range (posicao,len(lista)-1,1): if lista[i]<lista[i+1]: cont+=1 if co...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
993a6ea2459e638208fb80cbeb1277f085d2f971
6a433931dd544e2d9f2b18cff3ce096531b15941
/for_loop_sum.py
0e496fc2e9d34c9c258fd6d3f0dd3dbb769d5d3d
[]
no_license
lunatic-7/python_course_noob-git-
b7de1d988c91fd017b645fb1e227e207f3b12b15
5e06442151e7a94449ce99158855a608eb035319
refs/heads/main
2023-08-04T06:55:05.473812
2021-09-18T17:20:49
2021-09-18T17:20:49
407,922,569
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
# sum from 1 to 10 # 1 + 2 + 3 + ............. 10 # total = 0 # for i in range(1,11): # total += i # print(total) # take input from user. n = int(input("enter a number : ")) total = 0 for i in range(1,n+1): total += i print(total)
[ "wasif1607@gmail.com" ]
wasif1607@gmail.com
944943ff2bf8b9572fd17ce34f32c985818858d4
69b93223fc6794123269022a02e5a1dcf130e698
/81_Search_in_Rotated_Sorted_Array_II.py
880660e9f25e4a6c94f1ec6ef80ea37cb6c242c8
[]
no_license
GuangyuZheng/leet_code_python
43b984ce98cc889a7e07151004d347cb03b2d9b2
266def94df8245f90ea5b6885fc472470b189e51
refs/heads/master
2020-09-05T18:12:07.649374
2020-02-22T09:37:59
2020-02-22T09:37:59
220,177,486
2
1
null
null
null
null
UTF-8
Python
false
false
780
py
from typing import List class Solution: def search(self, nums: List[int], target: int) -> bool: n = len(nums) start, end = 0, n-1 while start <= end: mid = (start + end)//2 if nums[mid] == target: return True if nums[start] == nums[mid] =...
[ "583621555@qq.com" ]
583621555@qq.com
37ff904c75ff61fe30e0c84cb5bae9b4da25e2d2
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_207/445.py
20b1c67b3718d34b8de06cbe25dcb0f54c5ccc12
[]
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
735
py
def get_result(R, O, Y, G, B, V): assert O == 0 assert G == 0 assert V == 0 max_cnt = max(R, Y, B) if Y + B < max_cnt or R + B < max_cnt or R + Y < max_cnt: return "IMPOSSIBLE" cnts = [(R, "R"), (B, "B"), (Y, "Y")] cnts = sorted(cnts, key=lambda x:x[0], reverse=True) s = [""] * (3 * max_cnt) for...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
d53dfb47d2536f19b23f7013ea42ec26c225353e
3ff660941132bcaed5bfe309861843bd6657ee37
/Trees/Print right side.py
b8760b5988ef7e07e1d95586be794cfaa5781333
[]
no_license
mrunalhirve12/Interviews2
04295cebe1946de1f310857d7fbded11a02f8eb1
c48bd0a4e1112804da8bdf2d7e43ab0f2ef00469
refs/heads/master
2023-03-26T14:35:06.029701
2021-03-25T21:31:46
2021-03-25T21:31:46
351,593,537
0
0
null
null
null
null
UTF-8
Python
false
false
1,497
py
""" Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. Example: Input: [1,2,3,null,5,null,4] Output: [1, 3, 4] Explanation: 1 <--- / \ 2 3 <--- \ \ 5 4 <--- """ # Definition for a ...
[ "mrunalhirve@gmail.com" ]
mrunalhirve@gmail.com
1bd8bc7fe24bf5d53d09e0a91e38a3bc344e4337
77b16dcd465b497c22cf3c096fa5c7d887d9b0c2
/Quintana_Jerrod/Assignments/python_fundamentals/coin_tosses.py
454a5cb05d4307c7ee2e66f1826a9f9c91709234
[ "MIT" ]
permissive
curest0x1021/Python-Django-Web
a7cf8a45e0b924ce23791c18f6a6fb3732c36322
6264bc4c90ef1432ba0902c76b567cf3caaae221
refs/heads/master
2020-04-26T17:14:20.277967
2016-10-18T21:54:39
2016-10-18T21:54:39
173,706,702
6
0
null
null
null
null
UTF-8
Python
false
false
394
py
head = 0 tail = 0 import random for element in range (1, 5001): toss = round(random.random()) if (toss == 1): head += 1 toss_text='head' else: tail += 1 toss_text = 'tail' print "Attempt #{}: Throwing a coin... It's a {}! ... Got {} head(s) so far and {} tail(s) so far".f...
[ "43941751+curest0x1021@users.noreply.github.com" ]
43941751+curest0x1021@users.noreply.github.com
5d1e945d40520440e25f880459d35743a8ad7393
77c518b87e67e9926d130f856a7edb12302596eb
/Filters/Core/Testing/Python/MassProperties.py
3753d7e93c51cd9108d83665ac7f0756038d055d
[ "BSD-3-Clause" ]
permissive
t3dbrida/VTK
73e308baa1e779f208421a728a4a15fec5c4f591
e944bac3ba12295278dcbfa5d1cd7e71d6457bef
refs/heads/master
2023-08-31T21:01:58.375533
2019-09-23T06:43:00
2019-09-23T06:43:00
139,547,456
2
0
NOASSERTION
2019-11-22T14:46:48
2018-07-03T07:49:14
C++
UTF-8
Python
false
false
4,779
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' ========================================================================= Program: Visualization Toolkit Module: TestNamedColorsIntegration.py Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www....
[ "nikhil.shetty@kitware.com" ]
nikhil.shetty@kitware.com
b589b99088f59ac54b08810c679c36224ffbb831
b00b570c551044438c0cc2f10d13458dc06d7613
/blog/manage.py
04b540c28bb66d56d0fd30fdc4ac7f885faba4a4
[]
no_license
shiretree/Blog
a938885d84265dfdafb338a4f226f0f52bb1cb10
9ed94c4a59468c2dea30c17cfdfe396f3e1e40b9
refs/heads/master
2020-08-18T18:33:39.991254
2019-10-25T15:31:35
2019-10-25T15:31:35
215,821,661
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": profile = os.environ.get('blog_PROFILE','develop') os.environ.setdefault("DJANGO_SETTINGS_MODULE", "blog.setting.%s" %profile) try: from django.core.management import execute_from_command_line except ImportError: # Th...
[ "email" ]
email
237d8804034a2eb54bcae35783ec451375f13cef
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/System/Security/AccessControl_parts/SemaphoreAuditRule.py
4209494d452e4bc8c10f25f9e20fabe9f90a6b55
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
772
py
class SemaphoreAuditRule(AuditRule): """ Represents a set of access rights to be audited for a user or group. This class cannot be inherited. SemaphoreAuditRule(identity: IdentityReference,eventRights: SemaphoreRights,flags: AuditFlags) """ @staticmethod def __new__(self,identity,eventRights,flags): """ __n...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
bc1dbcc61274452333d727b7e2e93d0812fbc166
9222114c0b39007eb1af715cf18fc95ff282b38c
/problems/725. Split Linked List in Parts/2 - Hash Table.py
297fd75088427c8359ee2f838bbe5019b7190014
[]
no_license
Vasilic-Maxim/LeetCode-Problems
1a2a09edca6489a349e5d69d087279630cff157d
359f3b78da90c41c7e42e5c9e13d49b4fc67fe41
refs/heads/master
2021-07-10T22:03:29.327658
2021-06-07T12:42:52
2021-06-07T12:42:52
246,826,450
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
from typing import List, Any class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next class Solution: def splitListToParts(self, root: ListNode, k: int) -> List[Any]: """ We always pay with time proportional to O(n + k). The worst case ari...
[ "lmantenl@gmail.com" ]
lmantenl@gmail.com
788645067729b6ef213aed8af530ea537fe1dbbd
f90bb6e4a0d47c2c78362e431b47f74395bd42dd
/BitwiseORofSubarray.py
86117d5012ccf447c11b90a59621899ac47e9c1f
[]
no_license
sainihimanshu1999/Dynamic-Programming
bc8811d10625af3bc4b81a4eb219b9b84f4e6821
65427f049b8b671e2a412497bbb06de8e8497823
refs/heads/main
2023-04-20T13:53:53.031324
2021-05-15T18:03:45
2021-05-15T18:03:45
365,940,831
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
''' Bitwise or compares each bit of the number and return 1 when one of the bit is one of two numbers. In this question we are making at list of set of the existing numbers and, then calculating the or of last number with previous number and then saving the value in a set ''' def bitWiseOr(self,nums): table = [set...
[ "sainihimanshu.1999@gmail.com" ]
sainihimanshu.1999@gmail.com