blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
b7561dde56036101f004d3093829b88c278a4af7
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/14/usersdata/136/5090/submittedfiles/tomadas.py
64bd61f8a83d830131925d13698ba3ec7b2c0816
[]
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
371
py
# -*- coding: utf-8 -*- from __future__ import division import math #COMECE SEU CODIGO AQUI T1 = input("Digite o número de tomadas da primeira régua:") T2 = input("Digite o número de tomadas da segunda régua:") T3 = input("Digite o número de tomadas da terceira régua:") T4 = input("Digite o número de tomadas da quarta...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
0c5d73945910e55c48d51989aa1e362a6d8ad550
91facac4a8e84ba5f8e256503ad37cbff9486fb0
/FruitAndNut/core/migrations/0031_auto_20181207_0407.py
dd3a335d2ca11c73030b41258a3b4f139b6e6b06
[]
no_license
harshs14/FruitAndNut
806073aeb3a7f0d44dc2bd9d3c5b9e42d5fc89d6
b505e5cb48efd07b97a29a83a4ba3ff0ab95461d
refs/heads/master
2020-12-18T23:51:19.823871
2019-11-05T16:24:29
2019-11-05T16:24:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
# Generated by Django 2.1.1 on 2018-12-07 04:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0030_merge_20181207_0405'), ] operations = [ migrations.AlterField( model_name='principal', name='image', ...
[ "deepanshuj1999@gmail.com" ]
deepanshuj1999@gmail.com
7ebe8bc30820618aa9d25a40a3b5684653d1230c
cdb73594c0468f39f2e471814d167c16362020ea
/tenancy/tests/views.py
d6527d3684a1d12480095e392f50522469f9a0b0
[]
no_license
cgranetgithub/django-tenancy
83b93009b86151f46df1644cb83bec0dd46803f8
93d9ce2990b1629286d6fd0766b871e85fdd04d2
refs/heads/master
2020-12-25T01:43:36.844357
2013-06-29T10:18:25
2013-06-29T10:18:25
10,929,267
1
0
null
null
null
null
UTF-8
Python
false
false
2,503
py
from __future__ import unicode_literals from django import forms from django.contrib.formtools.wizard.views import NamedUrlWizardView from django.db import models from django.forms.models import modelform_factory from ..models import Tenant from ..views import TenantObjectMixin, TenantModelFormMixin, TenantWizardMixi...
[ "charette.s@gmail.com" ]
charette.s@gmail.com
e84ac5e50035d25b0ef836e87425ebd2b3a88703
51888119e10cdff12dafb060a54824632edccf3f
/Folders/Python/SearchReplacePanel.py
b48bc5d435b0abcb94dcee7940c3f53db5dd0875
[ "BSD-2-Clause" ]
permissive
kuchinal/lamakaha
b64511ad8c6d2b36da5a84a266b9e7a69acd3106
24e3b2ff53bcac2ad1c0e5a3b9afd4593d85f22d
refs/heads/master
2023-09-01T17:55:56.551183
2023-07-31T19:32:04
2023-07-31T19:32:04
182,849,747
0
0
null
2021-09-10T06:34:22
2019-04-22T19:00:02
Python
UTF-8
Python
false
false
2,611
py
import nuke import nukescripts import re class SearchReplacePanel( nukescripts.PythonPanel ): def __init__( self ): nukescripts.PythonPanel.__init__( self, 'Search and Replace', 'com.ohufx.SearchReplace') # CREATE KNOBS self.nodesChoice = nuke.Enumeration_Knob( 'nodes', 'Source Nodes', ['selected','all'...
[ "lamakaha@gmail.com" ]
lamakaha@gmail.com
c0bf9e8aececd9a2a3e9b9018f517612215cd4ec
9f6f31bb7fc79067d22bf61feeec03afce663bf2
/Challenge_Beautiful_Arrangement_II.py
9cfbea50f8579c4efa65acd6d3e7f9f7fe070fbb
[]
no_license
elena0624/leetcode_practice
8910fef20d5bf7ff0d749602f6aaf5cd4cfc856f
393ca92a76f00335dd6f4830938d126b9c5af8bc
refs/heads/main
2023-06-24T00:37:00.890871
2021-07-22T10:54:41
2021-07-22T10:54:41
349,133,281
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
class Solution: $ My solution def constructArray(self, n: int, k: int) -> List[int]: ans=list(range(1,n+1)) idx=1 for i in range(k,0,-1): if idx%2==1: ans[idx] =ans[idx-1]+i else: ans[idx] =ans[idx-1]-i idx+=1 return...
[ "daipeinew.dif02@g2.nctu.edu.tw" ]
daipeinew.dif02@g2.nctu.edu.tw
210a07a7fc6ce1077be7a74b653813bdc8648fdb
457776337d8dcaa75df1c48869e9be1ab58be253
/PatentCrawler/service/Query.py
ee1cdb49d71852b543b3061eaf83b9825e171478
[]
no_license
tiankangbo/dashboard
c63d0df6e2eb60a6e17e4d7fde19e8e12a7958a9
8f6c6f806f3f8a8fe4ab8937d5c5a00986522c40
refs/heads/master
2021-07-14T20:18:18.843903
2017-10-22T06:16:15
2017-10-22T06:16:15
103,809,007
0
0
null
null
null
null
UTF-8
Python
false
false
7,438
py
# -*- coding: utf-8 -*- """ Created on 2017/3/24 @author: will4906 """ from enums.Config import Config from util.WaitEngine import WaitEngine class Query: search_button_xpath = "/html/body/div[3]/div[3]/div/div[2]/div[3]/a[3]" inventor_input_id = "tableSearchItemIdIVDB021" proposer_input_id ...
[ "tiankangbo@gmail.com" ]
tiankangbo@gmail.com
900bb64ad015b898240f09efc800ba0d8d48b42e
13d5d75c1fd93c374626ca17f31f77bb8be89f00
/2015/4/original_mine_adventcoins.py
7c369bb71f2fbbbc60798908353fda594a1ff852
[]
no_license
hoylemd/advent
605d85dca24a41d656522602c7abbae5c2df6fca
cfbac1587045a5e9fdd9e8fb459c0ed5704ca3ab
refs/heads/main
2023-01-13T09:03:08.059333
2023-01-03T15:24:09
2023-01-03T15:24:09
48,189,527
1
0
null
null
null
null
UTF-8
Python
false
false
334
py
import hashlib def swing_pick(key, number): dig_spot = str(key) + str(number) ore_chunk = hashlib.md5(dig_spot) return ore_chunk.hexdigest() def check_for_gold(chunk): return chunk.startswith('000000') key = 'bgvyzdsv' number = 0 while not check_for_gold(swing_pick(key, number)): number += 1 ...
[ "hoylemd@gmail.com" ]
hoylemd@gmail.com
530bf450b59062903697e992b71c4b31efff6fe1
65514691fee3b70109d2d66d00734d85ffb6f680
/handlers/nodes.py
f72299c5c4b4a4dde9f10b745c90341d210930d4
[ "MIT" ]
permissive
zheplusplus/redis-ctl
b7d4e4dab0b72e2a90e51f72a608b8fcbbb22728
66c0fb7abd2b65ab6fd6eb4afed1ff5cdde07ae0
refs/heads/master
2022-10-09T20:07:49.837599
2015-09-21T04:07:17
2015-09-21T04:07:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,914
py
import config import json import logging from socket import error as SocketError from hiredis import ReplyError from redistrib.clusternode import Talker import file_ipc import utils import base import models.node import models.proxy import models.task import stats from models.base import db MAX_MEM_LIMIT = (64 * 1000...
[ "Lene13@gmail.com" ]
Lene13@gmail.com
4405e7dcc1026c977ca47ea635e84fc69075b727
c18e1fa174e1b0e6d56e9f1a8a3708099c3cd248
/learning_from_mcvine/res_sims/Ei_250/E-180.519685373_hkl-14.8768719767,-1.49103519905,-0.845213942272/run.py
39eaa733f118c3783d59346a5325eb4987d31989
[]
no_license
pnave95/ORNL_public_research
e0662657b41969f3f3dc263ea4c62a042d85547a
58cad7508f9d29c17af5419f05522c2f724e717e
refs/heads/master
2021-01-20T00:39:58.308250
2017-06-22T20:03:57
2017-06-22T20:03:57
89,160,804
0
0
null
null
null
null
UTF-8
Python
false
false
1,144
py
#!/usr/bin/env python import mcvine.cli from numpy import array from mcvine_workflow.singlextal.resolution import use_res_comps as urc beam_neutrons_path = '/SNS/users/p63/ORNL_public_research/MCViNE_Covmat_comparison/mcvine_resolution/beams/beam_250_1e9/out/neutrons' instrument = urc.instrument('ARCS', '3.*meter', '13...
[ "p63@analysis-node03.sns.gov" ]
p63@analysis-node03.sns.gov
87f77eb06581717822f0bb49361f0ba527aa274d
c8c77f6cc6c032daf179ea2138e4dda5473b426b
/ses/ses_deletetemplate.py
3171d955be728d5eb34012d4492de9e59a2b4180
[]
no_license
arunmastermind/AWS-examples-using-BOTO3
b411a6c96011ab58a66952a53fa2938cb58d5135
e8390094374c10902bab016a21caba75ea179b5a
refs/heads/master
2020-09-30T13:34:33.657621
2019-12-11T12:37:44
2019-12-11T12:37:44
227,297,211
0
2
null
null
null
null
UTF-8
Python
false
false
144
py
import boto3 # Create SES client ses = boto3.client('ses') response = ses.delete_template( TemplateName = 'TEMPLATE_NAME' ) print(response)
[ "arunmastermind.sci@gmail.com" ]
arunmastermind.sci@gmail.com
50b023701eadf583c18dd285bef4385ce759aceb
f4b694982027ac362de1e9d6755f2943d0355a06
/DECSKS-18 -- 1D1V_two_species_boundary_problems_--_part_2/v2.2/DECSKS/__init__.py
fee4f3137b664670e7bb9867124c6699b47827f9
[]
no_license
dsirajud/IPython-notebooks
55275e44191c16f5393571522787993f931cfd98
6ad9d978c611558525fc9d716af101dc841a393b
refs/heads/master
2021-01-15T15:33:57.119172
2016-07-13T20:08:29
2016-07-13T20:08:29
35,054,473
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
import lib.boundaryconditions import lib.convect_configuration import lib.convect_velocity import lib.diagnostics import lib.domain import lib.density import lib.derivatives import lib.fieldsolvers import lib.HOC import lib.plots import lib.read import lib.remap import lib.status import lib.split import lib.velocityfie...
[ "sirajuddin@wisc.edu" ]
sirajuddin@wisc.edu
f51bd86194e2801f2beae75fc84517237cf9434c
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/recoveryservices/azure-mgmt-recoveryservices/azure/mgmt/recoveryservices/aio/operations/_replication_usages_operations.py
f921c78782e1c98f993401575ab65127ee0f2abf
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
5,558
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
4dd811df90043258dcc7c82e7e7b86e08dde9492
814872021c865b44d6b8c1d1db6e8e16971163fc
/IPTVPlayer/libs/vidtvpl.py
8b82bc4f806c73bf3b181e315cfb59e605daf5b8
[]
no_license
friman/iptvplayer-for-e2-1
b661a31567a00616e7d04768a1600f8bdeed307b
88292aa16a742cd1387568927490cc07722b8316
refs/heads/master
2021-01-14T14:03:06.537602
2015-11-27T23:20:27
2015-11-27T23:20:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,550
py
# -*- coding: utf-8 -*- ################################################### # LOCAL import ################################################### from Plugins.Extensions.IPTVPlayer.tools.iptvtools import printDBG, printExc, remove_html_markup from Plugins.Extensions.IPTVPlayer.tools.iptvtypes import strwithmeta from Plug...
[ "samsamsam@o2.pl" ]
samsamsam@o2.pl
14f69d0c26c8047744304439408aa4c52bcaaba9
be50b4dd0b5b8c3813b8c3158332b1154fe8fe62
/LinkedLists/Python/KthNodeFromMiddle.py
77f6a65011420d2c9ad34efe77b5a3ef0facbc9a
[]
no_license
Zimmermann25/InterviewBit
a8d89e090068d9644e28085625963c8ce75d3dff
6d2138e740bd5ba8eab992d9bf090977e077bfc5
refs/heads/main
2023-03-24T18:12:48.244950
2021-03-24T14:36:48
2021-03-24T14:36:48
350,835,917
0
0
null
null
null
null
UTF-8
Python
false
false
1,093
py
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: # @param A : head node of linked list # @param B : integer # @return an integer def solve(self, A, B): # find middle first ...
[ "noreply@github.com" ]
Zimmermann25.noreply@github.com
3ca3072b80c950f65af51382c8ab30699340f1d7
f2ea55d105c7eadc0a61ad583f6d24218c3162c0
/scan_app/migrations/0005_applicantdegree_degree_rank.py
16199328a1d97f4ab2e03c26cc1ef8dc1ac6bf66
[]
no_license
dvskhamele/hrscan
bebd91ab585497fb3ce3b163d1b83d0c5c5f6210
9dba3b8bc6473bbecc82a906143f3a65af126e27
refs/heads/master
2022-12-06T02:58:40.440465
2021-10-17T08:00:55
2021-10-17T08:00:55
162,711,158
0
1
null
2022-11-22T06:32:16
2018-12-21T12:22:59
Python
UTF-8
Python
false
false
478
py
# Generated by Django 2.1.4 on 2018-12-22 07:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('scan_app', '0004_applicantcollege_applicantdegree'), ] operations = [ migrations.AddField( model_name='applicantdeg...
[ "you@example.com" ]
you@example.com
8fa871c83c1603166e66b221218f4ffbed3d032c
66cbc86bfaaebf72a10d066c32e845d51a9adeef
/skins/cpsnavigation_default/manageSelection.py
680fc0d2f9c5659e038e1e9334ad252b0f2a6ebb
[]
no_license
nuxeo-cps/products--CPSNavigation
76ff1e8f005bfd45f805f69f0c587f2eacaf7bd4
7936ba4db5994aebeb60204cab196ebb9cc1f993
refs/heads/main
2023-01-28T08:40:22.655466
2012-02-28T12:04:19
2012-02-28T12:04:19
317,994,217
0
0
null
null
null
null
UTF-8
Python
false
false
1,549
py
##parameters=REQUEST, **kw # $Id$ """Manage selection and return current selection.""" if REQUEST is not None: kw.update(REQUEST.form) def getMapFromUid(uid, type): if type == 'cps': obj = context.restrictedTraverse(uid) return {'uid': uid, 'title_or_id': obj.title_or_id, ...
[ "devnull@localhost" ]
devnull@localhost
a44449b7098506048328c816732729540e429283
6f890d49ffd7fb695b2ce67cada56f4e1c7117a0
/Lecture 10/dijkstra.py
5b3b4c02bf1e831ef9056f2f912535e40f16826a
[]
no_license
xuanzhao/algorithm-design-analysis-Coursera_stanford-
139f8037946c6751d56bad56e08379a74bc25fb3
920aa4daaae65bfd50cfea2c4fb0caa43e9b3333
refs/heads/master
2021-01-15T09:10:38.366420
2017-10-05T11:14:50
2017-10-05T11:14:50
68,298,667
0
0
null
null
null
null
UTF-8
Python
false
false
3,935
py
import heapq class PriorityQueue(object): """Priority queue based on heap, capable of inserting a new node with desired priority, updating the priority of an existing node and deleting an arbitrary node while keeping invariant""" def __init__(self, heap=[]): """if 'heap' is not empty, make su...
[ "xuanzhao89@gmail.com" ]
xuanzhao89@gmail.com
d017b76613aec52c02bead3ff24b59bf70bc0d39
b3e90c765a70d0c68a3c703c31ebfbcc67d8f83e
/AN_Bridging/box_ws/src/multi_box/src/Algs/Buffers/FeudalBuffer.py
924365ad60e2eaf59993b0a074eea63deea9cbeb
[]
no_license
ronf-ucb/MultiRobot
619fe1750dd25c336f7ef793e43983d992cbf519
b509e9c43e330e737135298ea4cfbd4190222328
refs/heads/master
2021-07-19T20:39:47.835985
2020-09-07T14:32:39
2020-09-07T14:32:39
211,394,959
1
2
null
2019-10-30T22:21:20
2019-09-27T20:15:07
C++
UTF-8
Python
false
false
1,265
py
import random from collections import namedtuple import numpy as np # Taken from # https://github.com/pytorch/tutorials/blob/master/Reinforcement%20(Q-)Learning%20with%20PyTorch.ipynb Transition = namedtuple('Transition', ('state','action', 'reward', 'mask', 'goal', 'p...
[ "austinnguyen517@berkeley.edu" ]
austinnguyen517@berkeley.edu
52038d6b3ff174ba0b0d0985c19f1553f93e04d8
e523652e0379f291f675e5cba4c1f667a3ac3b19
/commands/leo
92c704531ab3255c0027828df59a321cfb851003
[ "Apache-2.0" ]
permissive
sbp/saxo
735bac23c8d214b85ca48c5c43bc12b1531ce137
27030c57ed565db1aafd801576555ae64893d637
refs/heads/master
2023-09-01T09:08:13.633734
2023-08-29T12:51:40
2023-08-29T12:51:40
9,411,794
25
13
Apache-2.0
2021-06-19T15:09:44
2013-04-13T10:06:52
Python
UTF-8
Python
false
false
1,295
#!/usr/bin/env python3 # http://inamidst.com/saxo/ # Created by Sean B. Palmer import re import saxo @saxo.pipe def leo(arg): page = saxo.request("http://dict.leo.org/ende", query={"search": arg}) regex_whitespace = re.compile(r"[ \t\r\n\xA0]+") regex_td = re.compile(r'(?ims)<td[^>]* lang="..">(.*?)</td>...
[ "sean@miscoranda.com" ]
sean@miscoranda.com
50f36eb4ca163a26a3568bc4eed56d852e89af07
a5eab1deb33a380a48444b836c871f0c93307e47
/conkit/io/stockholm.py
f0d91062a9d065e2fd87fd4296a2c6e011137eb3
[ "BSD-3-Clause" ]
permissive
xiangf/conkit
a425131bef2da193da0fe9100213b1cd5a40ce01
633978d4665dcf99f28c6e35e602e91c37c49229
refs/heads/master
2021-04-05T23:49:27.750815
2018-02-26T12:36:04
2018-02-26T12:36:04
125,077,426
0
0
null
2018-03-13T15:57:26
2018-03-13T15:57:26
null
UTF-8
Python
false
false
5,739
py
# BSD 3-Clause License # # Copyright (c) 2016-18, University of Liverpool # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notic...
[ "felixsimkovic@me.com" ]
felixsimkovic@me.com
092bfef03acaf8e908827545ebb9b03c9cbc7247
a4899baa1e607f82f69aa563c014bf19c5c42736
/stubs/esp8266_v1_11/urllib/urequest.py
6240e56e66f25ab4f9709519399cdeae69dc4f42
[ "MIT", "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
jmannau/micropython-stubber
e9afe1ee93d4b33fc7cfaaa9702cbeb6da2d3360
8930e8a0038192fd259b31a193d1da3b2501256a
refs/heads/master
2020-08-07T15:38:00.405036
2019-09-02T07:25:23
2019-09-02T07:25:23
213,509,822
0
0
NOASSERTION
2019-10-08T00:06:05
2019-10-08T00:06:05
null
UTF-8
Python
false
false
240
py
""" Module: 'urllib.urequest' on esp8266 v1.11 """ # MCU: (sysname='esp8266', nodename='esp8266', release='2.2.0-dev(9422289)', version='v1.11-8-g48dcbbe60 on 2019-05-29', machine='ESP module with ESP8266') # Stubber: 1.1.0 urequest = None
[ "jos_verlinde@hotmail.com" ]
jos_verlinde@hotmail.com
4601823e85eb60ee5382a912f99315811e89c081
abccdbf9b0849b47960c3c352870793405debfed
/0x06-python-classes/100-singly_linked_list.py
9100396963fd8aa5591343b5de5d1213142dcea0
[]
no_license
hunterxx0/holbertonschool-higher_level_programming
88b1b0f31b536c6940f2e64a6924a06ba9cbf193
44064cf0722cd20d93f58b64ab185d2898770d73
refs/heads/master
2022-12-20T12:14:15.877147
2020-09-24T21:25:54
2020-09-24T21:25:54
259,276,369
0
1
null
null
null
null
UTF-8
Python
false
false
1,956
py
#!/usr/bin/python3 """a class Square that manages: size """ class Node: """a class Node """ def __init__(self, data, next_node=None): self.data = data self.next_node = next_node @property def data(self): return self.__data @data.setter def data(self, value): ...
[ "azouzimhamed@gmail.com" ]
azouzimhamed@gmail.com
d37df4b25f63205456ed4326f7631d0cb5dc1b88
66486ab4ee7a7912f3bc6570f448866393efe7c3
/testcases/technical_vwap_test.py
0041f9cc0c01616a3c3ab43f3c5c7abd95648a47
[ "Apache-2.0" ]
permissive
codelurker/pyalgotrade
4fc05727eb547c119cc479d98f77f6996e1fb0c0
c3e8a688092645e69a73075afe3373a356b20ec6
refs/heads/master
2020-12-25T09:48:09.841307
2013-05-17T01:56:01
2013-05-17T01:56:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,122
py
# PyAlgoTrade # # Copyright 2013 Gabriel Martin Becedillas Ruiz # # 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 app...
[ "gabo@Gabriels-MacBook.local" ]
gabo@Gabriels-MacBook.local
6ff8433b75a8a23538c7044fa4ccb1be47c4fcab
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/cisco/aci/plugins/modules/aci_interface_policy_port_security.py
557fd2f41aad41882f9751b3ee58d067d85e9390
[ "MIT", "GPL-3.0-only" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
7,374
py
#!/usr/bin/python # -*- coding: utf-8 -*- # GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], ...
[ "sifang@cisco.com" ]
sifang@cisco.com
e108e8a667aceb6f39c0fb22f886ee4c63b3c476
e811a08b8b653da94e516ca147ec49b534f74a62
/playground/pyqt/youtube_player/main.py
3666ecc790b48c2563573d1afcaf1f5bf36ece4e
[]
no_license
HoYaStudy/Python_Study
0feb4a9ba7e68ebea6b2db15b20a3680f979a4de
59c2cc093ae8ae87c8e07365cc432d87ded29ccc
refs/heads/master
2023-02-07T23:40:16.135565
2023-01-24T06:17:58
2023-01-24T06:17:58
200,445,372
2
0
null
null
null
null
UTF-8
Python
false
false
6,465
py
import sys import datetime import re # from PyQt5 import uic from PyQt5.QtWidgets import * from PyQt5 import QtCore from PyQt5.QtCore import pyqtSlot, pyqtSignal, QUrl, QThread from PyQt5.QtMultimedia import QSound import pytube from lib.YouViewerLayout import Ui_MainWindow from lib.AuthDialog import AuthDialog from l...
[ "hoya128@gmail.com" ]
hoya128@gmail.com
8d382048da686d4dff4d4b1858a01aeee987aea4
d178d891d1f9de0be3b395b19841884a875ee222
/GooseSLURM/ps.py
1bd06bf98c6b187f4a12487943cdacc52d285924
[ "MIT" ]
permissive
wahello/GooseSLURM
8ec6b0d68c1afc0d6206393f32a9aad6e8622dbf
1178354b15aed5bec1eaebc58c21d9d205315080
refs/heads/master
2022-12-31T03:22:53.291179
2019-12-05T09:24:49
2019-12-05T09:24:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,571
py
from . import rich # ================================================================================================== def colors(theme=None): r''' Return dictionary of colors. .. code-block:: python { 'selection' : '...', } :options: **theme** ([``'dark'``] | ``<str>``) Select color-theme. ''...
[ "tom@geus.me" ]
tom@geus.me
4c34844257162989e160778d6fda2efc3d4848b6
f6b4ebe56bc8fd8737fe02f9d3c12590f36f274f
/tutorial/tutorial/spiders/dmoz_spider.py
f333f9148ae275843b7fe661fe0b4e3d6c3b8c5d
[]
no_license
julieweeds/scrapy_projects
4200292ffd18894f3d363ca005025879e6bb21ed
24b4be88b481b1b8a702fb3d1981f53704581e56
refs/heads/master
2020-04-09T05:51:33.779130
2016-09-19T08:32:17
2016-09-19T08:32:17
68,250,798
0
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
import scrapy from tutorial.items import DmozItem class DmozSpider(scrapy.Spider): name="dmoz" allowed_domains=["dmoz.org"] start_urls=["http://www.dmoz.org/Computers/Programming/Languages/Python/Books/", "http://www.dmoz.org/Computers/Programming/Languages/Python/Resources/"] # def p...
[ "julie.weeds@gmail.com" ]
julie.weeds@gmail.com
5fb58105b2e0d5b3d39b9bbc55d10952b5fe9a6f
243f64a13a1f496a08d05508ccf73c61e03a69de
/max_even_seq/subs/2017B/155.py
260aa86eeeb768dee22265e7255fb3952d314dc3
[]
no_license
RazLandau/pybryt
5f3e946a99338fb159d6044098380bce2aacdc6f
8973b15fc48d1f278e7b8a3990d2f73a3bffb128
refs/heads/main
2023-08-19T12:30:46.622088
2021-10-14T18:35:21
2021-10-14T18:35:21
350,324,993
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
def max_even_seq(n): n = str(n) maxSeq = 0 currentSeq = 0 for dig in n: if int(dig) % 2 == 0: currentSeq += 1 maxSeq = max (maxSeq, currentSeq) else: currentSeq = 0 return maxSeq
[ "landau.raz@gmail.com" ]
landau.raz@gmail.com
4fd966f92fff22daa1998eb9e3c4d42495d58428
a5b860063290d6baa298758499fc3f894fcca226
/products/tests/test_models.py
6bb2a9c6f14a33d06e3a372ebaaf7a6d3686bfe1
[]
no_license
jerem33620/Projet_11_oc
13d1d8e7eeda4c27e76085346a36819b1037cfc8
8be340c95c318e456a4fdd9cb1b06574c41d7b0d
refs/heads/master
2022-12-14T11:49:07.354896
2020-05-20T12:52:17
2020-05-20T12:52:17
252,670,374
0
1
null
2022-12-08T09:33:24
2020-04-03T08:10:38
CSS
UTF-8
Python
false
false
1,498
py
from django.test import TestCase from django.urls import reverse from products.models import Category, Product class TestProductsCategoryPage(TestCase): def product_test(self): category = Category.objects.create(name="pâte à tartiner") product = Product.objects.create( code = 3017620...
[ "tchappui@gmail.com" ]
tchappui@gmail.com
fe797f1e3b5772aaf92b30557d220c8ef4577aa9
cb3634622480f918540ff3ff38c96990a1926fda
/PyProject/sparkproject/rdd/actions/count.py
1df308614f7567469b1ef5ccdd29ec5d81ee3d20
[]
no_license
jacksonyoudi/AlgorithmCode
cab2e13cd148354dd50a0487667d38c25bb1fd9b
216299d43ee3d179c11d8ca0783ae16e2f6d7c88
refs/heads/master
2023-04-28T07:38:07.423138
2022-10-23T12:45:01
2022-10-23T12:45:01
248,993,623
3
0
null
2023-04-21T20:44:40
2020-03-21T14:32:15
Go
UTF-8
Python
false
false
288
py
# coding: Utf-8 from pyspark import SparkConf, SparkContext if __name__ == '__main__': conf = SparkConf().setAppName("rdd").setMaster("local[*]") sc = SparkContext(conf=conf) data = [i for i in range(1, 11)] disData = sc.parallelize(data, 10) print(disData.count())
[ "liangchangyoujackson@gmail.com" ]
liangchangyoujackson@gmail.com
33d52306a5dc60ee1fdd42f103010bd8cf39a4a0
8ef5a09d76a11c56963f18e6a08474a1a8bafe3c
/leet_code/712. Minimum ASCII Delete Sum for Two Strings.py
98dae17f2882596c2bef5679257ea0b7e6bc1569
[]
no_license
roiei/algo
32c4677649c7666db148f6183fbfbf66c8b1969f
ae8bb8bf4ae4026ccaf1dce323b4098547dd35ec
refs/heads/master
2022-04-01T19:21:27.768675
2022-02-19T06:15:29
2022-02-19T06:15:29
169,021,154
0
0
null
null
null
null
UTF-8
Python
false
false
1,188
py
import time from util.util_list import * from util.util_tree import * import copy import collections class Solution: def minimumDeleteSum(self, s1: str, s2: str) -> int: dp = [[0]*(len(s2) + 1) for _ in range(len(s1) + 1)] for i in range(len(s1) - 1, -1, -1): d...
[ "hyoukjea.son@hyundai.com" ]
hyoukjea.son@hyundai.com
1988f5d48d68dbb7cf47107924da2420c185838f
ca821495da78494ed58f38e484e7bd84a2f73e98
/cenit_magento-10.0.1.0.0/cenit_base/models/serializer.py
8b2a0fe3e7ea4133eeda519864556ce61ad4f48c
[]
no_license
Odoo-10-test/magento
e7e9b0b6919011590eb3eb248d7eeb287cce471d
e7acb6171af4884a56dc73f9afd97b9d3a36e618
refs/heads/master
2021-04-02T09:29:15.670432
2020-03-18T14:51:03
2020-03-18T14:51:03
248,258,815
0
1
null
null
null
null
UTF-8
Python
false
false
4,288
py
# -*- coding: utf-8 -*- import re import logging import json import html2text from odoo import models, api # This imports is for mapping purpose from datetime import datetime from odoo.tools import DEFAULT_SERVER_DATE_FORMAT import pytz _logger = logging.getLogger(__name__) re_key = re.compile("\\{(.*?)\\}") class...
[ "falconsoft.3d@gmail.com" ]
falconsoft.3d@gmail.com
590938318190d7326aa8ba8d242e9e8906de28af
3155c38585c5d1cf27c4d8065cb5821f5b980983
/src/pages/gallery/bootstrap_dashboard/main.py
c3edb6f5f4e54c21b0829bf41c462f2643effb8a
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-free-unknown" ]
permissive
jlstevens/awesome-panel
460c86ac886a86fa1a3f6ec79b6186f292ca10bc
c67b0f4529a3ce6a8517648f49fef8358e2e2c8b
refs/heads/master
2020-11-25T03:11:10.018557
2019-12-16T20:57:07
2019-12-16T20:57:07
228,474,317
0
0
Apache-2.0
2019-12-16T20:55:56
2019-12-16T20:55:55
null
UTF-8
Python
false
false
4,459
py
"""# Bootstrap Dashboard Page. Creates a Bootstrap Dashboard Page with a Chart and a Table - inspired by the [GetBoostrap Dashboard Template] (https://getbootstrap.com/docs/4.4/examples/dashboard/) - implemented using the `awesome_panel' Python package and in particular the `awesome_panel.express.templates.BootstrapD...
[ "MASMA@orsted.dk" ]
MASMA@orsted.dk
3b75f7c632a2c71345a894c28e256dd5ea4e430d
69d8a912212c1355470c298ac4f2fb716aed9982
/proyecto/core/migrations/0013_auto_20201116_1821.py
89b4c36927587ac7b27985752f56b31edcccfba1
[]
no_license
juampiludu/almanimal
b7fa92cb34cd8b908ef609036fb647fd1ca328a7
033037823252a13fd20514c226dd100837fdc610
refs/heads/master
2023-01-20T17:46:57.671217
2020-12-02T04:05:03
2020-12-02T04:05:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,667
py
# Generated by Django 3.0.8 on 2020-11-16 18:21 import ckeditor.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0012_paginaadopcion_paginablog_paginacontacto'), ] operations = [ migrations.AddField( ...
[ "juanzakka@gmail.com" ]
juanzakka@gmail.com
422c333730bf402054c70afeb2862462bd1234d8
1012f61f46ff7aaf37cd3ce0ead64e035ec201dc
/coding-challange/codewars/6kyu/2020-01-19~2020-04-14/give-me-a-diamond/give-me-a-diamond.py
820d4d2f7bff25228465a069094acb08412c6a7a
[]
no_license
polyglotm/coding-dojo
89efe22f5a34088e94c9e3a4e25cad510b04172a
43da9c75e3125f5cb1ac317d275475f1c0ea6727
refs/heads/develop
2023-08-17T11:59:30.945061
2023-08-16T14:13:45
2023-08-16T14:13:45
188,733,115
2
0
null
2023-03-04T05:49:21
2019-05-26T21:26:25
JavaScript
UTF-8
Python
false
false
844
py
# Give me a Diamond # https://www.codewars.com/kata/5503013e34137eeeaa001648/ from unittest import TestCase def diamond(n, count=1, result=''): if n % 2 == 0 or n < 1: return None if n >= count: diamondSize = abs(n - abs(n - (2 * count - 1))) emptySpaceSize = int((n - diamondSize) / 2...
[ "polyglot.m@gmail.com" ]
polyglot.m@gmail.com
66c4585a79d3c499a476055b19b49d39cfeb7d03
c67f2d0677f8870bc1d970891bbe31345ea55ce2
/zippy/lib-python/3/test/test_future4.py
c32f27f6161afdeeed3c98647d3a00ee17e446fa
[ "BSD-3-Clause" ]
permissive
securesystemslab/zippy
a5a1ecf5c688504d8d16128ce901406ffd6f32c2
ff0e84ac99442c2c55fe1d285332cfd4e185e089
refs/heads/master
2022-07-05T23:45:36.330407
2018-07-10T22:17:32
2018-07-10T22:17:32
67,824,983
324
27
null
null
null
null
UTF-8
Python
false
false
153
py
from __future__ import unicode_literals import unittest from test import support def test_main(): pass if __name__ == "__main__": test_main()
[ "thezhangwei@gmail.com" ]
thezhangwei@gmail.com
482294e38493d2cddd7ac6cac40954a4d3d8cdb3
cdc5efeb2ce339e6e61f20bb17ed0713c79e2aef
/redjango/backend/client.py
5833166babcee5a4977a1b9b1540d1b44967650b
[]
no_license
tumb1er/redis-django
f1bbf0fa06487efd80b41b27d9ed699a4a595e49
b46de6e58a59d5fdc8cce9b6c39bfcfc642a1707
refs/heads/master
2016-09-06T02:05:02.533891
2012-10-30T11:08:49
2012-10-30T11:08:49
4,061,228
1
0
null
null
null
null
UTF-8
Python
false
false
999
py
import os import sys from django.db.backends import BaseDatabaseClient class DatabaseClient(BaseDatabaseClient): executable_name = 'redis-cli' def runshell(self): settings_dict = self.connection.settings_dict args = [self.executable_name] db = settings_dict['OPTIONS'].get('db', settin...
[ "zimbler@gmail.com" ]
zimbler@gmail.com
87d3ed9d61ffeb4bd0c6083c7b4a1d2d05f35f98
6d05f11c55ea277a08fc375b1c5af5ecc076000b
/python/paddle/fluid/tests/unittests/xpu/test_transpose_op_xpu.py
458cf8a6674210b13778cb280447d9dbdf6b7e30
[ "Apache-2.0" ]
permissive
sfraczek/Paddle
8602df1b11937400f93ac5861a366226208a6f05
d1e2c61b22b9675adc3c4a52227d2220babaa001
refs/heads/develop
2023-04-04T22:52:42.629243
2023-03-16T12:06:10
2023-03-16T12:06:10
140,574,617
0
0
Apache-2.0
2019-03-26T15:54:00
2018-07-11T12:51:20
C++
UTF-8
Python
false
false
4,448
py
# Copyright (c) 2018 PaddlePaddle Authors. 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 app...
[ "noreply@github.com" ]
sfraczek.noreply@github.com
7e09a85f0f4f503dd028493005276068f401d055
c61798997614f4430a6a56b16e8d17fe75fb2f9c
/Yurii_Khomych/l_12_networking/sockets/socket_server/udp/socket_udp_server.py
c5fcd5b1c1204f441bdbd2e609716a6347a18684
[]
no_license
YuriiKhomych/ITEA_AC
ad944bbe74be88f306a45f38efa70765c5286162
f9eb147da1135a978929ae370d9c9fcd8dc59d21
refs/heads/master
2022-12-18T14:55:56.162451
2020-05-03T12:45:02
2020-05-03T12:45:02
234,373,863
0
9
null
2022-12-08T03:46:33
2020-01-16T17:26:50
Python
UTF-8
Python
false
false
424
py
import socketserver class EchoUDPHandler(socketserver.BaseRequestHandler): def handle(self): data, socket = self.request print("Address: {}".format(self.client_address[0])) print("Data: {}".format(data.decode())) socket.sendto(data, self.client_address) if __name__ == "__main__":...
[ "yuriykhomich@gmail.com" ]
yuriykhomich@gmail.com
130465f60b2773775a52e377d8d218733f5bfcbf
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/62/usersdata/195/32507/submittedfiles/ex1.py
ec8fb9b89d9375eb31e9897e182b34ced9b5e0a7
[]
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
265
py
import division a=float(input('Digite a:')) b=float(input('Digite b:')) c=float(input('Digite c:')) delta=(b*b)-(4*a*c) if delta>=0: x1=(-b+delta**(1/2))/2*a x2=(-b-delta**(1/2))/2*a print('X1:%.2f' %x1) print('X2:%.2f' %x2) else: print('SSR')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
7f70526f4466dba5895c47d98b1ff6c65281ed7e
cc78de009a8e7805f9f6a852774e0384b11bfdcb
/testcase/page/learn_center/writing/qianci_zaoju/qianci_zaoju_AllResultPage2.py
c820db1e9ffe6185505cf81b517dc2c5425af209
[]
no_license
williamzxl/app_test_many_devices
c1806e54c17a84f18a04c3808604633c2deba052
dd5434018fadd11d5462903cafaafbb5b387c24a
refs/heads/master
2020-03-29T21:20:51.239295
2019-03-05T03:13:56
2019-03-05T03:13:56
150,361,766
1
1
null
null
null
null
UTF-8
Python
false
false
239
py
from appium.webdriver.webdriver import By from testcase.page.learn_center.writing.qianci_zaoju.qianci_zaoju_FillAnswerPage1 import QCFillAnswerPage1 class QCAllAnswerPage(QCFillAnswerPage1): pass if __name__ == "__main__": pass
[ "1053418947@qq.com" ]
1053418947@qq.com
8cbb89bbbfa71bd52c0399dd20144b278cb87a4d
03b9b782e482230e87256f1d72e61257853c6748
/recovid/utils/viz.py
8f0a9b0fd5adaf2a98ed120122cd13dea79085a5
[ "MIT" ]
permissive
AmrMKayid/recovid
2b6c25cf81010e33117810ed55f08fd59c156291
c300c71b4530202d04feaf0c320a0fb85469b6cb
refs/heads/master
2022-04-25T11:50:55.112839
2020-04-26T22:14:51
2020-04-26T22:14:51
257,976,622
0
0
null
null
null
null
UTF-8
Python
false
false
1,237
py
from recovid import * def most_common_words_from_title( df: pd.DataFrame, column: str = "title", range_: int = 25, title: str = "Most Common Words from Title", ): titles = df[column].astype(str) words = titles.str.lower().str.split(expand=True).stack().value_counts() words_count = dict(Counter(...
[ "amrmkayid@gmail.com" ]
amrmkayid@gmail.com
86088c46049fbfb2af049f1989cb41d84ea48bae
501f265dd5ffa0aa446368cfa3624d27369669dd
/toxic_docs_insight/flask/app/venv/lib/python2.7/site-packages/skbio/util/_warning.py
8128415d6cc68041bc9fac17edfb3d2e1ab41991
[]
no_license
EsztiS/EsztiS.github.io
1197aa39d1c169f92366c27fa40e2bd41afd8954
cb8718cd04797a63b93ca1e41fbbe9b9861b7bd6
refs/heads/master
2021-01-17T06:09:44.543886
2019-02-11T12:04:19
2019-02-11T12:04:19
36,742,563
1
2
null
null
null
null
UTF-8
Python
false
false
1,314
py
# ---------------------------------------------------------------------------- # Copyright (c) 2013--, scikit-bio development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. # --------------------------------------------...
[ "eszti@eszti.local" ]
eszti@eszti.local
f984cdc42c6253084f9b0e564d0b788e59b22976
82f6a6c50a1fef2d7522a43cc4f60e5ff80b37a8
/solutions/Interleaving String/solution.py
e962f57287b492d8c409502b79803766a0e1bd1c
[ "MIT" ]
permissive
nilax97/leetcode-solutions
ca0f9545ce70975617738f053e0935fac00b04d4
d3c12f2b289662d199510e0431e177bbf3cda121
refs/heads/master
2023-05-14T02:21:48.893716
2021-06-08T13:16:53
2021-06-08T13:16:53
374,466,870
3
0
null
null
null
null
UTF-8
Python
false
false
606
py
class Solution: def isInterleave(self, s1, s2, s3): r, c, l= len(s1), len(s2), len(s3) if r+c != l: return False dp = [[True for _ in range(c+1)] for _ in range(r+1)] for i in range(1, r+1): dp[i][0] = dp[i-1][0] and s1[i-1] == s3[i-1] for j in range(1...
[ "agarwal.nilaksh@gmail.com" ]
agarwal.nilaksh@gmail.com
7ee982f43573f95d29e6a74dc9dc55f292c7f367
9f6cf5d313b0896ab9f1b7f6daa49a883ce15615
/app/connection.py
b5c016f9f172c529bd00c6fdde9ba53504ffb572
[]
no_license
MweuD/vindu
65d5782573bd20c6a27dc35c166c369866577e69
2486bae4d7be33c16a05bd5d819366585f04297a
refs/heads/master
2021-01-01T20:30:43.418233
2017-08-01T09:15:11
2017-08-01T09:15:11
98,876,189
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
import MySQLdb def connection(): conn= MySQLdb.connect(host='localhost', user='root', passwd='Awesome95', db='a_database') c = conn.cursor() return c, conn
[ "daniel@localhost.localdomain" ]
daniel@localhost.localdomain
ae29d8ec4c152f320c2a216e9f707ad7eb2b92f0
b39d9ef9175077ac6f03b66d97b073d85b6bc4d0
/Famvir_film-coated_tablets_SmPC.py
ba18c7ed9bda17efe20073497aab73e0786e979c
[]
no_license
urudaro/data-ue
2d840fdce8ba7e759b5551cb3ee277d046464fe0
176c57533b66754ee05a96a7429c3e610188e4aa
refs/heads/master
2021-01-22T12:02:16.931087
2013-07-16T14:05:41
2013-07-16T14:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
{'_data': [['Very common', [['Nervous system', u'Huvudv\xe4rk.']]], ['Common', [['Nervous system', u'Yrsel.'], ['GI', u'Illam\xe5ende, kr\xe4kningar.'], ['Hepato', u'Patologiska leverv\xe4rden.'], ['Skin', u'Utslag, pruritus.']]], ['Uncommon', ...
[ "daro@daro-ThinkPad-X220.(none)" ]
daro@daro-ThinkPad-X220.(none)
e0778cd7ebd57a2c994b6f9febeb3495f1d06629
ab8187626aa68c1f92301db78e9f8b0c4b088554
/CodingTest/2021google/3.py
ae5c2902a7ad8343703c6dcd550819c001075f39
[]
no_license
khj68/algorithm
2818f87671019f9f2305ec761fd226e737f12025
efebe142b9b52e966e0436be3b87fb32b4f7ea32
refs/heads/master
2023-04-25T02:33:13.403943
2021-05-04T03:09:38
2021-05-04T03:09:38
287,733,041
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
from collections import Counter from collections import deque from functools import reduce import bisect import heapq import math def solution(A): ans = 0 num_flags = {} for num in A: flag = 1 if num > 0 else -1 abs_num = abs(num) if abs_num in num_flags and flag != num_flags[abs_...
[ "maga40@naver.com" ]
maga40@naver.com
f8a3c737c2f05cbf99626900119241912fa7358d
37fa870f71a27008716764e7838934a72d268477
/blaze/compute/strategy.py
d9c85f48f1a809a09309af9b7fe869a859043994
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
marascio/blaze
468013625c9b0bafd4c84432a14ae7e7fb99fad2
d3a2171ccb311e8453eeed0ca7ac23e6c32a9ce1
refs/heads/master
2021-01-16T21:34:27.147663
2013-12-21T22:21:52
2013-12-21T22:21:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,502
py
# -*- coding: utf-8 -*- """ Blaze execution strategy. """ from __future__ import print_function, division, absolute_import import threading from contextlib import contextmanager #------------------------------------------------------------------------ # Execution Strategy #------------------------------------------...
[ "markflorisson88@gmail.com" ]
markflorisson88@gmail.com
0f95cf8be953d117f617b7b94481c364728a5e6d
47af4b775eb260445c59b815eb8976203ae9b726
/backend/manage.py
57e3f5e3e89c0ab993cdc1596e4187df6e79643f
[]
no_license
crowdbotics-apps/react-native-starter-4969
e6e7913cdca2c47e2cc4c79e6178baab6eeaff9f
c80573dddb9e3badf1286d6fd8f2f7388e555798
refs/heads/master
2022-12-15T03:25:31.873294
2019-06-21T07:26:08
2019-06-21T07:26:08
193,051,873
0
0
null
2022-12-06T16:07:36
2019-06-21T07:26:03
JavaScript
UTF-8
Python
false
false
823
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "react_native_starter_4969.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
a5f358773d37d0f231e58d2c127bbef841743808
411eff94020c192d5e5f657fa6012232ab1d051c
/extras/tests/rp_test.py
b60dee579059ef28fced728ab6ceda08cc9fac13
[]
no_license
xMakerx/cio-src
48c9efe7f9a1bbf619a4c95a4198aaace78b8491
60b2bdf2c4a24d506101fdab1f51752d0d1861f8
refs/heads/master
2023-02-14T03:12:51.042106
2021-01-15T14:02:10
2021-01-15T14:02:10
328,268,776
1
0
null
2021-01-15T15:15:35
2021-01-09T23:51:37
Python
UTF-8
Python
false
false
1,168
py
from panda3d.core import * vfs = VirtualFileSystem.getGlobalPtr() vfs.mount(Filename("render_pipeline.mf"), ".", VirtualFileSystem.MFReadOnly) vfs.mount(Filename("phase_3.mf"), ".", VirtualFileSystem.MFReadOnly) loadPrcFile('config/config_client.prc') loadPrcFile("Config/configuration.prc") from Code.RenderingPipeli...
[ "brianlach72@gmail.com" ]
brianlach72@gmail.com
aeac1ddcf2baeca78bcba9e9dcb648729120d22b
b6d3d7aae0ec8b3d00a661b15651b1cafe04db30
/ModuleCommon/migrations/0005_auto_20170920_2115.py
562c125124caf17cbbbb2c88e3a1fcb19efd4f1f
[]
no_license
Cristoph/ERP_College
e4a15c803bbc46fbbb0885d6052d94f411260194
6970abf996db3307e72cc77cf78f47c888b68d13
refs/heads/master
2022-12-12T13:42:08.458397
2017-10-04T20:08:52
2017-10-04T20:08:52
100,656,507
0
0
null
2022-12-08T00:37:38
2017-08-18T00:28:39
HTML
UTF-8
Python
false
false
711
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-21 00:15 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('ModuleCommon', '0004_auto_20170920_2054'), ] opera...
[ "ocubillosj@gmail.com" ]
ocubillosj@gmail.com
8aedd342a47314bcde66e1745438890bc83fe00b
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/celery/2015/12/events.py
4fa7eeb01c1efaf87db2242df6fe5e57054fb094
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
4,076
py
# -*- coding: utf-8 -*- """ The :program:`celery events` command. .. program:: celery events .. seealso:: See :ref:`preload-options` and :ref:`daemon-options`. .. cmdoption:: -d, --dump Dump events to stdout. .. cmdoption:: -c, --camera Take snapshots of events using this camera. .. cmdoption:: --d...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
f3aec27fd26e16a08ddd830f2a8bdca8661f6d89
a74b980fd95d5d810315f181449fc9d1710e6923
/savecode/threeyears/dataparser/parserstandard.py
e932d71bb78787fdcdcde87863d9fa2c2f63db99
[ "Apache-2.0" ]
permissive
cbbbbbbbb/sspywork
b70f5539203b47b21eec2f0514ddca155affc2b8
8f05a6b91fc205960edd57f9076facec04f49a1a
refs/heads/master
2023-03-22T19:45:13.024076
2021-03-08T01:24:21
2021-03-08T01:24:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,174
py
"""standard data parser""" # -*- coding:utf-8 -*- import io import traceback from commonbaby.helpers import helper_str from datacontract import DataSeg from .dataparserbase import DataParserBase class ParserStandard(DataParserBase): """标准数据解析器""" def __init__(self): DataParserBase.__init__(self)...
[ "shiyuegege@qq.com" ]
shiyuegege@qq.com
69fa8e23dedde635f5172caf7c0c7ea394d5b147
a5dbce22b9250dd56effc961d9e9d338b9d1e6db
/GraphQl/migrations/0001_initial.py
594db8253b29c63444f4dfff637960bad194e19c
[]
no_license
ashish2020kashyap/MYWORLD
e81a425a5bedc8f00bababf256a03ed92a28901e
cc47e295975af410b78b6bc9bc085579054c1748
refs/heads/master
2023-02-27T09:17:42.325575
2021-02-09T17:46:08
2021-02-09T17:46:08
328,683,536
0
0
null
2021-01-25T04:15:18
2021-01-11T14:06:38
Python
UTF-8
Python
false
false
535
py
# Generated by Django 3.1.3 on 2020-11-21 10:58 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Books', fields=[ ('id', models.AutoField(au...
[ "ashish160kumar@gmail.com" ]
ashish160kumar@gmail.com
77419819696cb0b8020f7cc5ebaea9e582631105
4e2e316bc1377a67e2d6bee1a74227a565a5bbe9
/light/model/mobilenetv3_seg.py
6051884278a3c7fe17ff5f079aa93f2e06c2380c
[ "Apache-2.0" ]
permissive
hanyeliu/Lightweight-Segmentation
271a696e4c9c03c136a290e0fcaa8d8a2e00c510
d1bf89e82876301e712b45f65efffc2e380785c3
refs/heads/master
2020-05-30T12:24:19.429086
2019-06-01T10:23:40
2019-06-01T10:23:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,902
py
"""MobileNet3 for Semantic Segmentation""" import torch import torch.nn as nn import torch.nn.functional as F from light.model.base import BaseModel __all__ = ['MobileNetV3Seg', 'get_mobilenet_v3_large_seg', 'get_mobilenet_v3_small_seg'] class MobileNetV3Seg(BaseModel): def __init__(self, nclass, aux=False, bac...
[ "1145955920@qq.com" ]
1145955920@qq.com
353d3e1eb33b976a00dc260dd81d407e13667844
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/kusto/v20200918/get_attached_database_configuration.py
1c5004f593c348dbfdec1b38570eb7d739d57506
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,403
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
e838d5e984338107f39fa2b015a85a7600ff3771
bce1c3e40c52f51c03cba8c0fb6bca4abaf88eda
/dashboard/migrations/0071_auto_20180430_1115.py
9fcd1461e8a74d373f6df3b2258c0dae0bd959bb
[]
no_license
eyobofficial/construction-app
b97adc051f468c0330be1342ae53df7239ae4a9a
9ce3ad3de6e6b382561444ecbd52ccd31f5bf4b1
refs/heads/master
2021-04-15T06:48:31.170433
2018-05-01T13:39:58
2018-05-01T13:39:58
126,744,679
1
1
null
null
null
null
UTF-8
Python
false
false
4,524
py
# Generated by Django 2.0.3 on 2018-04-30 08:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dashboard', '0070_auto_20180429_1900'), ] operations = [ migrations.AlterField( model_name='activity', name='created...
[ "eyobtariku@gmail.com" ]
eyobtariku@gmail.com
28cce896b6f4226d9fa5abd97b6e2f8086de3045
2b2e6364c2536e1d1e10a241d86a4f895dab1d9c
/Code/ReportWriter-master/user_profile/tests.py
4608328f46155d38d2909ed55adc9e50015fad34
[]
no_license
happinesstaker/more-website
45c970a1ba5888115a3110cef89de99425c9c5ac
d9b330ef70b0d0985bfc8248612ba57ee46ff0f4
refs/heads/master
2021-01-15T11:39:55.492701
2017-08-05T15:40:48
2017-08-05T19:25:26
99,633,111
0
0
null
null
null
null
UTF-8
Python
false
false
6,597
py
# @OPENSOURCE_HEADER_START@ # MORE Tool # Copyright 2016 Carnegie Mellon University. # All Rights Reserved. # # THIS SOFTWARE IS PROVIDED "AS IS," WITH NO WARRANTIES WHATSOEVER. # CARNEGIE MELLON UNIVERSITY EXPRESSLY DISCLAIMS TO THE FULLEST EXTENT # PERMITTEDBY LAW ALL EXPRESS, IMPLIED, AND STATUTORY WARRANTIES, # IN...
[ "rmditmore@cert.org" ]
rmditmore@cert.org
098c079e9088b390dc37ec11b15e56d13be74f3b
79bf193eab1d24960c2e01fabe7358cc0e2ede69
/1282.py
0dc9c1d63e20a52aa47e87004e9d00e6ff7748db
[]
no_license
dmswl0311/Codeup
9c63a42ccb0178d72d2b9c945ff5e1a61548739e
daf1dec2324d7b994486be35fcebc8485d588685
refs/heads/master
2023-06-22T08:22:15.135840
2021-07-18T13:33:09
2021-07-18T13:33:09
325,252,767
1
0
null
null
null
null
UTF-8
Python
false
false
224
py
import math n = int(input()) i = 1 while(True): result = i**2 if (result <= n): i += 1 else: break k = n-((i-1)**2) result = math.sqrt((i-1)**2) print("%d %.0f" % (k, result))
[ "dmswl_0311@naver.com" ]
dmswl_0311@naver.com
8d23985dd53ebcca5da041b2e02a9cfb6e0e5584
0a11a15cf64e25585d28f484bb2118e8f858cfeb
/programmers/1130_줄 서는 방법.py
66c2be431e5c5089baeec8190dc78caab3180ba6
[]
no_license
seoul-ssafy-class-2-studyclub/GaYoung_SSAFY
7d9a44afd0dff13fe2ba21f76d0d99c082972116
23e0b491d95ffd9c7a74b7f3f74436fe71ed987d
refs/heads/master
2021-06-30T09:09:00.646827
2020-11-30T14:09:03
2020-11-30T14:09:03
197,476,649
2
1
null
null
null
null
UTF-8
Python
false
false
910
py
n, k = 3, 5 import math answer = [] num = [i for i in range(1, n+1)] print(num) while n: temp = math.factorial(n) // n # 한번에 몇개씩의 값이 있을 수 있는지 mok, na = divmod(k, temp) # 2 1 print(mok, na) # if na == 0: # answer.append(num.pop(mok-1)) # print('na=0') # else: # answer.appe...
[ "gyyoon4u@naver.com" ]
gyyoon4u@naver.com
e740a4409959eb0e44f2185b8335032227322703
f155033606399eadfb5fe694479af36e14115467
/bit-manipulation/and-product.py
5615d85ae3c737403a9740f05740f8343d80fce3
[]
no_license
KadirEmreOto/hackerrank
7925e5b49f90bbe6fef41cfe4fd980b6ffd9e3f1
143d49adc45e4e3e3d9424168b2fdac80b2155d6
refs/heads/master
2021-01-11T02:56:03.535273
2017-08-11T13:41:55
2017-08-11T13:41:55
70,905,859
10
2
null
2022-03-16T09:19:13
2016-10-14T11:55:02
Python
UTF-8
Python
false
false
399
py
# Enter your code here. Read input from STDIN. Print output to STDOUT from math import log def solve(a, b): n = bin(a)[2:] m = bin(b)[2:] m = m[len(m) - len(n) : ] for i in xrange(len(n)): if n[i] != m[i]: break return int(n[:i] + '0'*(len(n) - i ), 2) for _ in xrange(int(r...
[ "emrekadiroto@hotmail.com" ]
emrekadiroto@hotmail.com
4bcfa4e6a3fe08edcd9cc72c0e6a71c386179918
af9c0aafa10b7901533de0b32177ab80b4782d3f
/hw/code/recommender/doc2vec.py
9daac0dac6de80d9125a2c3e16d19ccffb0ce2ca
[ "MIT" ]
permissive
Akramz/msds692
d1d33298b7599950e95838c0fc9ddbd47a98ed5b
42f4c2a0dc7569152bac2439e9b6385f2f101f7b
refs/heads/master
2023-01-25T00:44:11.197544
2020-12-05T22:05:14
2020-12-05T22:05:14
319,362,758
1
0
MIT
2020-12-07T15:31:12
2020-12-07T15:31:11
null
UTF-8
Python
false
false
5,988
py
import sys import re import string import os import numpy as np import codecs # From scikit learn that got words from: # http://ir.dcs.gla.ac.uk/resources/linguistic_utils/stop_words ENGLISH_STOP_WORDS = frozenset([ "a", "about", "above", "across", "after", "afterwards", "again", "against", "all", "almost", "a...
[ "parrt@cs.usfca.edu" ]
parrt@cs.usfca.edu
b16bc1bc40a93f3226e0495841577da3cf1c8a47
349dadbf45b7c12a3fe41c5e0421c0488b679919
/datasets/utils.py
f2c452706003b0e2bdb9a32f13a960454463e83a
[ "BSD-3-Clause", "CC0-1.0", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "Apache-2.0" ]
permissive
salesforce/CodeRL
c772e408bac690527759f416ea22add4c97e5bec
51db4ff983d5376e62b9e7eba150316a651c80d9
refs/heads/main
2023-08-18T18:38:02.740995
2022-11-18T16:14:28
2022-11-18T16:14:28
508,912,853
412
52
BSD-3-Clause
2023-08-31T07:51:27
2022-06-30T02:54:36
Python
UTF-8
Python
false
false
1,803
py
# # Copyright (c) 2022, salesforce.com, inc. # All rights reserved. # SPDX-License-Identifier: BSD-3-Clause # For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause # import sys import getopt import codecs import tempfile import shutil import os import io from da...
[ "hungle@salesforce.com" ]
hungle@salesforce.com
b6c14de0ededf9da3bc7c0a807d9cf7cc987f9b8
75566ef3423c72fe9e73075dfe29df172b65a28c
/src/accounts/views.py
2721c65f043e80a16f2e1c6f7a6b703033713e60
[]
no_license
bicsi/cpaggregator
7020663305eeff8690e92da64fc796926b12fe31
b6459fe33c19dc2020b29470e457f0666b0ff212
refs/heads/master
2022-12-12T10:24:38.756844
2020-11-11T13:53:30
2020-11-11T13:53:30
153,731,264
2
1
null
2022-12-08T01:15:28
2018-10-19T05:33:06
CSS
UTF-8
Python
false
false
1,563
py
from django.contrib.auth import login, logout from django.contrib.auth.forms import AuthenticationForm # Create your views here. from django.contrib.auth.mixins import LoginRequiredMixin from django.shortcuts import get_object_or_404, redirect from django.urls import reverse_lazy from django.views import generic from...
[ "lucianbicsi@gmail.com" ]
lucianbicsi@gmail.com
015ceb8667643197ef1b1983673b1ed8a9986d9b
43268854505070471e0911bc0e5b280cadec8601
/modeller9v8/bin/modslave.py
7777e7eca38b3b15f2297831b07009fe1ca6573f
[]
no_license
realbigws/From_CA_to_FullAtom
08621bf350c77e29140051d1af850a51e5fe138f
a59d9fcbc6c1f2bfc5fc2d77da26318c63ac3052
refs/heads/master
2020-05-30T01:37:47.378404
2019-05-30T21:42:45
2019-05-30T21:42:45
189,481,583
2
0
null
null
null
null
UTF-8
Python
false
false
885
py
#!/usr/bin/python """A simple script to start up a Modeller slave process. This is useful if, for example, you want to use your system's native Python version rather than the Python 2.3 interpreter compiled into Modeller. Use by setting the 'modeller_path' variable to the name of this script when creating...
[ "wangsheng@ttic.edu" ]
wangsheng@ttic.edu
b0f987ef8e5c61a08de1cb56b8722fc871f26a3a
6c1263b0d0553e6e8ee7ed246d5f3819fd6b21ff
/Python-Fundamentals/Homeworks-and-labs/data-types-and-variables/water_overflow.py
448112fba02c03fd35310d97c03308052c860a3f
[]
no_license
krstoilo/SoftUni-Fundamentals
ceee2452aea0b7c86e92e1bfb98ea78054ff5746
fcd75fc659413aa739580080a5896889ce808b02
refs/heads/main
2023-08-15T02:59:53.687970
2021-09-19T20:15:01
2021-09-19T20:15:01
407,669,057
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
n = int(input()) tank = 0 for turns in range(n): water = int(input()) if tank+water > 255: print("Insufficient capacity!") else: tank += water print(tank)
[ "kremena.stoilova@gmail.com" ]
kremena.stoilova@gmail.com
d8bfca6971933ad0e219e750aa7d090402e303e6
2cc6cf6e9d91799cbd9ac02f2771f7c9f95776bd
/test51_threadlock.py
1b6fb40658305147b6c0c9b0f30c6443e75d1898
[]
no_license
Master-sum/python_project
f938aa9f27e040c68c11766e1358dd7fff231b22
63036d1d80cd645d8080c8fee5bb30f241ab9914
refs/heads/master
2022-04-22T04:45:21.263195
2020-04-11T11:14:54
2020-04-11T11:14:54
254,782,126
1
0
null
null
null
null
UTF-8
Python
false
false
648
py
import _thread from time import sleep,ctime loops = [4,2] def loop(nloop,nsec,lock): print('start loop',nloop,'at:',ctime()) sleep(nsec) print('start loop',nloop,'done at:',ctime()) lock.release() def main(): print("starting at:", ctime()) locks = [] nloops = range(len(loops))#2 for i in...
[ "285957109@qq.com" ]
285957109@qq.com
8f35139f2a88b4af50790d1b1078d432631a8b66
13c14be20f16ffc14b7cde71ed8c4179e2410a0b
/python/collections/xml-1-find-the-score.py
77a87a4f60dfdd185a86e4a982e98f2c14bbc7eb
[]
no_license
gautamits/hackerrank
79688e5735a27eed032ce0c34f4fe253cfb6b572
aee6b00f4cd39c18e9107e933cceb55b9677c3c7
refs/heads/master
2020-05-21T22:55:50.977437
2018-12-11T05:09:36
2018-12-11T05:09:36
61,579,845
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
from xml.etree.ElementTree import XMLParser import sys if sys.version_info[0]>=3: raw_input=input class Parser: score=0 def start(self, tag, attrib): self.score+=len(attrib) def end(self, tag): pass def data(self,data): pass def close(self): return self.score parser=XMLParser(target=Parser()) for i in ra...
[ "gautamamits95@gmail.com" ]
gautamamits95@gmail.com
14317cdc631d8de088131acc8717e567f58dd9f2
adf4f40bc899775e4f87b40036d8b9ed8be7e847
/chapter_05/exercises/stages_of_life.py
6a32b61ed5dfd5801970bd2bd83d0786339fe112
[]
no_license
ltsuda/python-crash-course
7473ff150214fc7d7370fa7cebfd009d1a2746e7
d153929229c071ce4733a68410220f621719983f
refs/heads/master
2020-06-23T19:14:07.967109
2019-09-03T01:00:14
2019-09-03T01:12:53
198,728,349
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
age = 70 if age < 2: print('baby') elif age < 4: print('toddler') elif age < 13: print('kid') elif age < 20: print('teenager') elif age < 65: print('adult') else: print('elder')
[ "leonardo.tsuda@icloud.com" ]
leonardo.tsuda@icloud.com
bd0dd977d6ef0ba600c4e8a57128163538be31fd
df359938dbab2882a3f5857aad898173f573a404
/Kinetics/midi/RissetStowell.py
7b39298fdde72e71708ebe876495747ac70b1ad2
[ "MIT" ]
permissive
WorldViews/Spirals
391b3780281d47f60e5eb325e45522336c8fc3e0
7efe2d145298a53c9d79db73b79428efff1e0908
refs/heads/master
2023-01-10T21:37:52.246579
2019-12-13T00:58:32
2019-12-13T00:58:32
45,769,763
0
2
MIT
2022-12-26T19:56:35
2015-11-08T06:31:53
JavaScript
UTF-8
Python
false
false
1,501
py
""" This is an attempt to implement risset rhythm mapping via the description given by Dan Stowell http://c4dm.eecs.qmul.ac.uk/papers/2011/Stowell2011icmc.pdf """ from PVMidi import TrackObj, MidiObj, Note from math import log, pow, floor def lg(x): return log(x)/log(2.0) def pw2(v): return pow(2.0,v) "...
[ "donkimber@gmail.com" ]
donkimber@gmail.com
bb97d11742e79dfad3ade70940b1b4a376c0e097
cc2fcc1a0c5ea9789f98ec97614d7b25b03ba101
/st2common/tests/unit/test_state_publisher.py
bcadfad54316f3da70206b6ffb3234c79e3f641e
[ "Apache-2.0" ]
permissive
Junsheng-Wu/st2
6451808da7de84798641882ca202c3d1688f8ba8
c3cdf657f7008095f3c68b4132b9fe76d2f52d81
refs/heads/master
2022-04-30T21:32:44.039258
2020-03-03T07:03:57
2020-03-03T07:03:57
244,301,363
0
0
Apache-2.0
2022-03-29T22:04:26
2020-03-02T06:53:58
Python
UTF-8
Python
false
false
3,137
py
# Licensed to the StackStorm, Inc ('StackStorm') under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use th...
[ "wei.ying@easystack.cn" ]
wei.ying@easystack.cn
7b73ae2cf69f032cfa6e10b64cee73e14145146c
7af9e8f8682588122b642b1eeebce0a08f3f5412
/conway.py
57895494fc13b99c36b710930a54069d6fb7db2e
[]
no_license
Lightwing-Ng/Python-conway
d7cf04053d21bfea13208aa98b8ccc54cb61401e
430ea40368fa2e39599725f3cf4b400dc5bfd049
refs/heads/master
2020-03-21T08:26:54.234061
2018-06-22T20:12:01
2018-06-22T20:12:01
138,344,184
0
0
null
null
null
null
UTF-8
Python
false
false
4,355
py
#!/usr/bin/env python # _*_ coding:utf-8 _*_ """ * @author: Lightwing Ng * email: rodney_ng@iCloud.com * created on Jun 23, 2018, 04:07 * Software: PyCharm * Project Name: Tutorial """ import sys, argparse import numpy as np import matplotlib.pyplot as plt import matplotlib.animation as animation ON = 255 OFF = 0...
[ "rodney_ng@icloud.com" ]
rodney_ng@icloud.com
7a7143c21104d22662100a0719e92bc92c98c807
98e4dc41e3d994dfb55a2553c79d1b61590ecca6
/LeetCode/Medium/Count Univalue Subtrees/sol.py
e52397028312fe3dd1a1c4ffff871fdd280c4cbe
[]
no_license
krohak/Project_Euler
b753c4f3bbf26a5eff3203e27482599d1e089fc6
1d8a2326543d69457f1971af9435b3e93ab32f52
refs/heads/master
2022-09-02T10:48:59.472111
2022-08-18T11:11:16
2022-08-18T11:11:16
111,204,162
4
1
null
null
null
null
UTF-8
Python
false
false
1,427
py
# Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def __init__(self): self.uni_values = 0 self.memo = {} def countUnivalSubtrees(self, root: TreeNode) -> ...
[ "rohaksinghal14@gmail.com" ]
rohaksinghal14@gmail.com
afd1defe1366c57433922b5b7a47b9520db862b0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02994/s843064481.py
71b5ee7d9c35a79a9a0a33a72fd9df7721016eff
[]
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
154
py
N, L = map(int, input().split()) tsum = (1+N)*N/2 + (L-1)*N apple = [abs(L+i-1) for i in range(1, N+1)] a = apple.index(min(apple)) print(int(tsum-(a+L)))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1a4b215f686684742e733d7a955823121bd9ca0b
ccb87e34b5d105e35794591ba3aada625c8a838f
/loops/prime_numbers.py
886bffe4617016ebb3904704ab8b84948deac125
[]
no_license
jaford/thissrocks
c2519135af007bf1cc37c511487c98db1ddd5a5b
e7d8b91d23de615f2124493742079988650396b9
refs/heads/master
2023-08-17T17:15:49.819091
2023-07-21T21:59:23
2023-07-21T21:59:23
10,363,528
4
0
null
2023-07-21T21:59:24
2013-05-29T16:00:32
Python
UTF-8
Python
false
false
275
py
# Python program to display all the prime numbers within an interval print("Prime numbers between 1 and 100 are:") for num in range(1,100): #if num > 1: for i in range(2, num): if (num % i) == 0: break else: print(num)
[ "jamesford3@gmail.com" ]
jamesford3@gmail.com
72a8f8cf816b6702816bb86c24104ee5941fc19a
7a0625ef4c271ed9992a736de7bb93215b7013fd
/leetcode257.py
4ec2b67098134e67d732fbc064af293017332abe
[]
no_license
yuchien302/LeetCode
6576b93c005ea2275646df7b9547c22683d3b45c
c9a53ef2fc1fd1fea7377c3633689fa87601dba6
refs/heads/master
2020-12-11T01:42:36.980414
2015-12-03T02:53:51
2015-12-03T02:53:51
36,424,494
2
0
null
null
null
null
UTF-8
Python
false
false
932
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 binaryTreePathsHelper(self, root, s): """ :type root: TreeNode :rtype: List[str] """ ...
[ "yc2257@cornell.edu" ]
yc2257@cornell.edu
6898d0abab8053d4e9511cf84062326266d9a42e
337d17b845f5fdd7f32f6a0607e494eed488a601
/leetcode/111-minimum-depth-tree.py
600874966f4217c12084b39adceaa937a26d417d
[]
no_license
karsibali/solutions
e6130abe026a26558434239cde39c6a14a9712ba
4ba5d7ac41fecc87491cae2c88293bd798db31fd
refs/heads/master
2020-04-29T00:13:34.168323
2018-12-27T15:43:26
2018-12-27T15:43:26
175,686,183
1
0
null
2019-03-14T19:27:00
2019-03-14T19:27:00
null
UTF-8
Python
false
false
439
py
class Solution(object): def minDepth(self, root): if root is None: return 0 level, depth = [root], 1 while True: next_level = [] for node in level: if node.left is None and node.right is None: return depth ...
[ "ozan.onay@gmail.com" ]
ozan.onay@gmail.com
b203a31efd7508437cf5590c24b98e806f3e2b08
e51b99514bd9b12c7cde4128549aa0206e0391f3
/95 generateTrees.py
30eb701aaa33045237bb29b31a7e474fefd0bd58
[]
no_license
ABenxj/leetcode
5f65d2a90f79a32c8d9387bb6c4a655061d004cd
f2c162654a83c51495ebd161f42a1d0b69caf72d
refs/heads/main
2023-05-14T11:55:28.180609
2021-06-08T01:11:54
2021-06-08T01:11:54
347,963,922
1
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
#!/usr/bin/env pyhton # -*- coding: utf-8 -*- # # Copyright (c) 2021 , Inc. All Rights Reserved # """ Authors: jufei Date: 2021/5/8 9:07 PM """ import functools from typing import List # Definition for a binary tree node. class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val...
[ "jufei@wecash.net" ]
jufei@wecash.net
32fe9d95a9e7c51ee5881110a6c9232cd06d0144
00e74f81569ff975995902e80cc619daaac3a02b
/current_controller/devices/ldc80xx/device.py
e78b962092eb6ba14e682bb9707186ef67aa8e30
[]
no_license
yesrgang/labrad_tools.shared
cc6024949f0a92b267fc04d931ddf3583245074b
4225c3089d3593b7917cfe2c707a130d22bf63f2
refs/heads/master
2020-04-03T23:58:47.656078
2020-02-04T22:57:32
2020-02-04T22:57:32
155,636,812
0
0
null
null
null
null
UTF-8
Python
false
false
3,658
py
import json import numpy as np import time from twisted.internet.reactor import callInThread, callLater from twisted.internet import reactor from device_server.device import DefaultDevice from visa_server.proxy import VisaProxy class Ldc80xx(DefaultDevice): """ thorlabs ldc80xx device write to gpib bus wit...
[ "yesrgang@gmail.com" ]
yesrgang@gmail.com
8573dd444fc7e1de48b0725df8a4cc313f82fa41
660e2d9626da0445f7eeab52eb100fcff6fc0234
/tests/utils.py
0111df3130748653762c2849bb0f64d73ca8465e
[ "MIT" ]
permissive
Tyarran/factory_boy
815fced0f2b13752f10a8173327fa98a0ecd43e9
79882d293ea1bc0ead5f01b880347d9d56e2e554
refs/heads/master
2023-04-17T19:11:25.993041
2013-06-18T22:03:02
2013-06-18T22:25:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,786
py
# -*- coding: utf-8 -*- # Copyright (c) 2010 Mark Sandstrom # Copyright (c) 2011-2013 Raphaël Barrois # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without ...
[ "raphael.barrois@polytechnique.org" ]
raphael.barrois@polytechnique.org
63d8d24e4269503da313c4f7fe1b00dc7f10a612
45799ccc3a16c785ab3c65f3296d66f8463590dc
/challenge/leet/medium/q695.py
4ff35c862e1d3a586c93d0f6c44ff5b60779af6e
[ "MIT" ]
permissive
odys-z/hello
9d29b7af68ea8c490b43994cf16d75c0e8ace08e
fedd0aec7273f3170aa77316d0d5f317cc18a979
refs/heads/master
2023-08-19T03:25:58.684050
2023-08-18T08:07:27
2023-08-18T08:07:27
154,006,292
0
0
MIT
2023-04-18T22:50:56
2018-10-21T12:34:12
C++
UTF-8
Python
false
false
4,190
py
''' 695. Max Area of Island https://leetcode.com/problems/max-area-of-island/ Input: grid = [ [_,_,1,_,_,_,_,1,_,_,_,_,_], [_,_,_,_,_,_,_,1,1,1,_,_,_], [_,1,1,_,1,_,_,_,_,_,_,_,_], [_,1,_,_,1,1,_,_,1,_,1,_,_], [_,1,_,_,1,1,_,_,1,1,1,_,_], [_,_,_,_,_,_,_,_,_,_,1,_,_], [_,_,_,_,_,_,_,1,1,1,_,_,_], [_,_,_,_,_,_,_,1,1,...
[ "odysseusj@163.com" ]
odysseusj@163.com
4e8720a699c5e298407b49df429a1176927f659a
82feaa452d3802cbd0ca3f9fe50fefc06cc135c8
/contact_us/forms.py
423fe9d969ccd259043874648c7f507680c2ef13
[]
no_license
callump5/share_django
7725b55e2234917adbd4e41e01489509ce814480
3ab0f6041495834e64093bef47f806253da3f259
refs/heads/master
2020-04-07T06:17:08.506275
2019-07-17T18:39:18
2019-07-17T18:39:18
158,128,970
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
from django.forms import ModelForm from .models import ContactRequest class ContactRequestForm(ModelForm): class Meta: model = ContactRequest fields = ['name', 'number', 'email', 'text']
[ "clpullinger@gmail.com" ]
clpullinger@gmail.com
8f7e0f1d9c7382889cdc5f42d4675995d1fe7482
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_337/ch118_2020_03_30_23_45_47_063753.py
74313773140ac81fe4d7d638e6d7e2bae420b552
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
import math def reflexao_total_interna(n1, n2, o2): x =(n2/n1)*(math.sin(math.degrees(o2))) if x >= 1: return True else: return False
[ "you@example.com" ]
you@example.com
55c673b67c3a872708a795ab81efcb972452a59c
07fbabf8ae74b0e6e650a9e9316f092cda34a5c1
/Stratosphere/hashlib.py
0a5c9b272f70ef7ba2a63894f7efdda9a53447df
[]
no_license
ryanleh/Hack-The-Box
e23ddb510ecc336e4ff0190a9209bfff5e67b31d
d5bee76489af82e659454e0ec1f75da6776c5f5e
refs/heads/master
2020-03-19T08:33:16.061601
2019-12-21T14:35:03
2019-12-21T14:35:03
136,213,996
0
0
null
null
null
null
UTF-8
Python
false
false
1,076
py
import sys class md5_hash: def __init__(self): print('wow') def update(self, wtvr): return None def hexdigest(self): return "5af003e100c80923ec04d65933d382cb" class sha1_hash: def __init___(self): print('wow2') def update(self, wtvr): return None def h...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
10b331ea89bbca4e56c064d4dc2ed4f373fe3126
3b84c4b7b16ccfd0154f8dcb75ddbbb6636373be
/google-cloud-sdk/lib/googlecloudsdk/compute/subcommands/replica_pools/replicas/list.py
a4ad5acbf30d8409f8dfa4dd0b320663fc764b51
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
twistedpair/google-cloud-sdk
37f04872cf1ab9c9ce5ec692d2201a93679827e3
1f9b424c40a87b46656fc9f5e2e9c81895c7e614
refs/heads/master
2023-08-18T18:42:59.622485
2023-08-15T00:00:00
2023-08-15T12:14:05
116,506,777
58
24
null
2022-02-14T22:01:53
2018-01-06T18:40:35
Python
UTF-8
Python
false
false
4,067
py
# Copyright 2014 Google Inc. All Rights Reserved. """replicapool replicas list command.""" from apiclient import errors from googlecloudsdk.api_lib.compute import rolling_updates_util as util from googlecloudsdk.calliope import base from googlecloudsdk.calliope import exceptions from googlecloudsdk.core import log f...
[ "joe@longreen.io" ]
joe@longreen.io
b06516e4b8d552450b447b15e8a86a9384fb59b3
9326ad1e95f27056c92d53f547377fb0fb9cd115
/dim/perfect/writeHash.py
695190d5850340e261c585eb622909fbcf4f5851
[]
no_license
mengguiyouziyi/otherProject
760be8c44849bca366fcd652ad49b88e869ba361
1b4d1bb076d6d1b74a62c3af0dafe2014e6e9893
refs/heads/master
2021-08-24T10:54:47.230099
2017-12-09T10:37:00
2017-12-09T10:37:00
103,385,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,088
py
""" 将需要增补为线上数据的公司,放入redis中 """ import pymysql from outAndIn import get_redis_db, in_redis_hash, get_mysql_con, sel_fun sql_config = {'host': '47.95.31.183', 'port': 3306, 'user': 'test', 'password': '123456', 'db': 'innotree_data_online', 'charset'...
[ "775618369@qq.com" ]
775618369@qq.com
ea366e26973da758978ad5bf73bff5beec74f7b5
a65d30fc3cfd78ef49d1e1f45ccd12e085ca2149
/timetracker/sheets/models.py
8c8fa6d22b587b10604fb6db88e04791e9564c2b
[ "BSD-2-Clause" ]
permissive
tm-kn/cht2520-assignment2
16e0f88a4a2e7444454091753ac2928f12279ba2
05d8c8372d60672e603acf201d1fbf7ffde9484e
refs/heads/master
2023-01-21T14:24:08.533081
2019-04-05T22:55:49
2019-04-06T01:18:50
194,840,881
0
0
BSD-2-Clause
2023-01-14T00:52:00
2019-07-02T10:20:30
Python
UTF-8
Python
false
false
3,179
py
import io import logging from urllib.parse import urljoin from django.conf import settings from django.contrib.sites.models import Site from django.core.files.base import ContentFile from django.core.mail.message import EmailMessage from django.db import models from django.urls import reverse from django.utils import ...
[ "hi@tmkn.org" ]
hi@tmkn.org
906caf782c0069bc6334ec305de59f91ae72babd
cbfddfdf5c7fa8354162efe50b41f84e55aff118
/venv/lib/python3.7/site-packages/apscheduler/triggers/base.py
ce2526a88f07871f575d3fa26e0f9bf81f2c8055
[ "Apache-2.0", "MIT" ]
permissive
tclerico/SAAC
8d2245221dd135aea67c5e079ac7eaf542b25e2f
2f52007ae8043096662e76da828a84e87f71091e
refs/heads/master
2022-12-09T21:56:33.430404
2019-02-20T14:23:51
2019-02-20T14:23:51
153,152,229
3
0
MIT
2022-09-16T17:52:47
2018-10-15T17:13:29
Python
UTF-8
Python
false
false
1,837
py
from abc import ABCMeta, abstractmethod from datetime import timedelta import random import six class BaseTrigger(six.with_metaclass(ABCMeta)): """Abstract base class that defines the interface that every trigger must implement.""" __slots__ = () @abstractmethod def get_next_fire_time(self, previou...
[ "timclerico@gmail.com" ]
timclerico@gmail.com
902195d36d6b0c8b0bb1cfabbfa4ae6859138b50
e82245a9e623ef3e2b4b9c02f0fd932c608c4484
/interviewbit.com/Binary Search/matrix_median.py
2f7599a46152e185d032ec2a4cc8560079af4797
[]
no_license
Zylophone/Programming-for-Sport
33e8161028cfddce3b7a1243eb092070107342e3
193d6184f939303d8661f68d6fd06bdec95df351
refs/heads/master
2020-06-16T23:11:44.719286
2017-05-21T17:10:46
2017-05-21T17:10:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,058
py
# https://www.interviewbit.com/problems/matrix-median/ def bin_search(nums, target): lo, hi = 0, len(nums) - 1 while lo <= hi: mid_idx= (lo+hi)/2 mid_val= nums[mid_idx] if mid_val == target: l, r = expand(nums, mid_idx) times_found= r ...
[ "jfv33@cornell.edu" ]
jfv33@cornell.edu
fabb7936d927d54b98c86565c2bb9589b9ae119e
fb0610488e334393fc799b6afa64f9d3eca61419
/panoptes_aggregation/reducers/dropdown_reducer.py
6a9c143b86ee3806fbb0b525b1fa74209b91a057
[ "Apache-2.0" ]
permissive
zooniverse/aggregation-for-caesar
81086359dd9e8c2cc461967888f4ee38d12a6cac
89070fc64e3c76e276ac96dfe428e6b4994dd474
refs/heads/master
2023-09-01T12:20:13.463335
2023-07-27T08:39:12
2023-07-27T08:39:12
98,517,215
10
15
Apache-2.0
2023-09-07T13:18:12
2017-07-27T09:14:51
Python
UTF-8
Python
false
false
1,817
py
''' Dropdown Reducer ---------------- This module porvides functions to reduce the dropdown task extracts from :mod:`panoptes_aggregation.extractors.dropdown_extractor`. ''' from collections import Counter import numpy as np from .reducer_wrapper import reducer_wrapper def process_data(data): '''Process a list of...
[ "coleman.krawczyk@gmail.com" ]
coleman.krawczyk@gmail.com
82365770a30ef90dff17f4829818f94c2868a319
f69fdcbc208045fc0b6f5f83231309d9ee473ff7
/src/kedja/resources/root.py
4100bc47e389c28a676c5aa1e983e6bed935fcc7
[]
no_license
kedjaproject/kedja_server
d578266ad5e688dcbd21ceac8694ad60e4b1e72a
6df14d221c8ea247460e7f4600bf7fa860eb18de
refs/heads/master
2020-05-07T18:02:16.816912
2019-10-22T19:43:58
2019-10-22T19:43:58
180,751,037
0
1
null
null
null
null
UTF-8
Python
false
false
1,301
py
import colander from kedja.core.folder import Folder from kedja.core.rid_map import ResourceIDMap from zope.interface import implementer from kedja.resources.mixins import JSONRenderable from kedja.resources.security import SecurityAwareMixin from kedja.interfaces import IRoot from kedja.permissions import MANAGE_TEMP...
[ "robin@betahaus.net" ]
robin@betahaus.net
f83deb5fa92233af3424b5b7dfd8648c3363e3f0
1d88ed99e2f01b6b0faa7acf762543f41569380c
/top/tests/test_postcode.py
c1067862bc5e684e668681b5ce2981ea8ac23da8
[]
no_license
loum/top
be0ae6951ed7d5834d14f96403d6cd1dc9d008a4
4d9aae6297793822b6de28b65f7639a4b2e6dcfa
refs/heads/master
2016-09-10T10:38:41.312180
2014-06-05T05:44:48
2014-06-05T05:44:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,054
py
import unittest2 from top.postcode import translate_postcode class TestPostcode(unittest2.TestCase): def test_valid_translate_postcode_non_integer(self): """Translate postcode to state -- valid, range-based. """ postcode = 'xxx' received = translate_postcode(postcode) exp...
[ "lou.markovski@gmail.com" ]
lou.markovski@gmail.com
cf2b776e443cd986efdec23f8999ea79148fc200
91e810849c5680311ce51c9e66289afb0a76336c
/pytool/box/draw.py
172750c1bd84125c238d346464e5f24f866c5f79
[ "MIT" ]
permissive
zhanglixixi/pytool
307b0505dfa6312223239d34c0dc6a03904e1df3
35fb633149b663e6a0fe69c666e5883172223b45
refs/heads/master
2022-03-13T08:43:27.572958
2019-12-16T07:54:13
2019-12-16T07:54:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,485
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2017-12-21 20:22:27 # @Author : Zhi Liu (zhiliu.mind@gmail.com) # @Link : http://blog.csdn.net/enjoyyl # @Version : $1.0$ import cv2 import numpy as np import matplotlib.pyplot as plt def drawbox(img, bbox, clsl, mod='ltrb', colors=None): r"""draw bo...
[ "zhiliu.mind@gmail.com" ]
zhiliu.mind@gmail.com
ae9286208019d5fb006f5e91833a632cc4d97845
77e63ec062ca1902842b58b2024a033e72b44a98
/authors/apps.py
3b3f4b3bbd403ca6e1b410834faafafa9293cd82
[]
no_license
aziz2719/Book_house
e0daef94ceb9d1067abebca527f7ab7fa79b6868
ff3a59d53ad46f5c2ab8d2f5815255181bf0aca5
refs/heads/master
2023-04-13T19:00:14.665825
2021-04-15T14:03:10
2021-04-15T14:03:10
358,277,402
3
0
null
null
null
null
UTF-8
Python
false
false
146
py
from django.apps import AppConfig class AuthorsConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'authors'
[ "davletovaziz511@gmail.com" ]
davletovaziz511@gmail.com
8215df89db4dcb2413c54afe2f2f461f8587b590
cadb6dceb7bb67ce47ef48b2c83f480a65d6b01a
/s3prl/problem/hear/vox_lingua.py
08347d40fb4b224a66ad42e9f4ec68cee0d4f0dd
[ "Apache-2.0", "CC-BY-NC-4.0" ]
permissive
s3prl/s3prl
52ec2ae4df5a61c786c122085603aa9c5e8c2681
76a9432b824f6ae3eae09a35a67782c4ed582832
refs/heads/main
2023-08-17T02:26:57.524087
2023-06-10T17:12:27
2023-06-10T17:12:27
196,905,457
1,549
398
Apache-2.0
2023-09-14T13:07:05
2019-07-15T01:54:52
Python
UTF-8
Python
false
false
2,710
py
import logging from s3prl.corpus.hear import hear_scene_kfolds from s3prl.util.configuration import default_cfg, field from .scene import HearScene logger = logging.getLogger(__name__) NUM_FOLDS = 5 class VoxLingua(HearScene): @default_cfg( **HearScene.setup.default_except( corpus=dict( ...
[ "leo19941227@gmail.com" ]
leo19941227@gmail.com
7fcc3cab1c75b28df22a00f3d1471d46397fa27f
8a82a83655f118208692e55d7804d9fa480ad4b6
/src/dg/data_analysis/courseware/week14.py
d6ee2724cb2d1e9229fc197ee2b43e412b65a72a
[]
no_license
xenron/sandbox-da-python
0814159da9a91923e4b66c5e40057e381f765e96
ab8f1c0d57fdc6006355f613012b84165068c315
refs/heads/master
2020-04-12T05:41:33.182110
2016-12-14T22:57:33
2016-12-14T22:57:33
60,324,979
5
2
null
null
null
null
UTF-8
Python
false
false
6,419
py
# coding: utf-8 # In[1]: import numpy as np import pandas as pd from sklearn.cluster import AgglomerativeClustering import matplotlib.pyplot as plt import numpy as np from scipy import ndimage from matplotlib import pyplot as plt from sklearn import manifold, datasets # In[2]: digits = datasets.load_digits(n_clas...
[ "xenron@hotmail.com" ]
xenron@hotmail.com
9dccf937a8e58a6cc81c3614552ccae8b6de1132
0252a277036b9ac7f95e5db3cad6c1a94b89c4ef
/eaif4_ws/build/navigation/map_server/catkin_generated/pkg.develspace.context.pc.py
ff75eb672664e5f2bf1045ef86e0e72cfdcb114c
[]
no_license
maxwelldc/lidar_slam
1e5af586cd2a908474fa29224b0d9f542923c131
560c8507ea1a47844f9ce6059f48937b0627967b
refs/heads/master
2020-07-01T03:15:42.877900
2019-08-07T10:25:27
2019-08-07T10:25:27
201,025,062
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/wenhou/eaif4_ws/src/navigation/map_server/include".split(';') if "/home/wenhou/eaif4_ws/src/navigation/map_server/include" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;nav_msgs;tf2".replace(';'...
[ "374931377@qq.com" ]
374931377@qq.com
34c9b16fe77608b88e3134d0bdf982c179fac0c4
03a2c1eb549a66cc0cff72857963eccb0a56031d
/codeforces/contests/1305/C. Kuroni and Impossible Calculation.py
ee636e16c713f6ba87b2d9de023ea1e8d43af6ba
[]
no_license
nobe0716/problem_solving
c56e24564dbe3a8b7093fb37cd60c9e0b25f8e59
cd43dc1eddb49d6b5965419e36db708c300dadf5
refs/heads/master
2023-01-21T14:05:54.170065
2023-01-15T16:36:30
2023-01-15T16:36:30
80,906,041
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
def solve(n, m, a): if m < n: return 0 r = 1 for i in range(n - 1): for j in range(i + 1, n): r = r * abs(a[i] - a[j]) % m return r n, m = map(int, input().split()) a = list(map(int, input().split())) r = solve(n, m, a) print(r)
[ "sunghyo.jung@navercorp.com" ]
sunghyo.jung@navercorp.com
3fc9a73a56b83de5a1e7ccb356fbec9d7d4983ae
b7f5a31dd7774e8e23403a1097fd79c4dcf1256e
/RpiInit.py
3395113e4491f176360906fb2d54b8984d245c1d
[]
no_license
vksgaikwad3/Tah_Testbed
fbe8eaee1d38e1e97d2a3e076025df93ef05599e
9b1c93b7204ce21a63a261c80abf3b22a31f09c5
refs/heads/master
2016-09-05T16:13:30.463773
2015-02-16T12:06:57
2015-02-16T12:06:57
26,494,723
0
2
null
2015-02-16T13:16:31
2014-11-11T16:57:06
Makefile
UTF-8
Python
false
false
876
py
import RPi.GPIO as GPIO def init(): # to use Raspberry Pi board pin numbers GPIO.setmode(GPIO.BOARD) GPIO.setup(15, GPIO.OUT) # A GPIO.setup(19, GPIO.OUT) # B GPIO.setup(8, GPIO.OUT) # select line C GPIO.setup(10, GPIO.OUT) # select line D GPIO.setup(23, GPIO.OUT) GPIO.setup(7, GPIO.OUT) # NC GPI...
[ "root@raspberrypi.(none)" ]
root@raspberrypi.(none)
e096cd5d8f162c549e2f352add2f2ec9ed3a2bde
ece0d321e48f182832252b23db1df0c21b78f20c
/engine/2.80/scripts/addons/add_advanced_objects_menu/circle_array.py
6d4a945939d8d650e1100544a497043065dbbb1c
[ "Unlicense", "GPL-3.0-only", "Font-exception-2.0", "GPL-3.0-or-later", "Apache-2.0", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain-disclaimer", "Bitstream-Vera", "LicenseRef-scancode-blender-2010", "LGPL-2.1-or-later", ...
permissive
byteinc/Phasor
47d4e48a52fa562dfa1a2dbe493f8ec9e94625b9
f7d23a489c2b4bcc3c1961ac955926484ff8b8d9
refs/heads/master
2022-10-25T17:05:01.585032
2019-03-16T19:24:22
2019-03-16T19:24:22
175,723,233
3
1
Unlicense
2022-10-21T07:02:37
2019-03-15T00:58:08
Python
UTF-8
Python
false
false
6,393
py
# gpl author: Antonis Karvelas # -*- coding: utf-8 -*- bl_info = { "name": "Circle Array", "author": "Antonis Karvelas", "version": (1, 0, 1), "blender": (2, 67, 0), "location": "View3D > Object > Circle_Array", "description": "Uses an existing array and creates an empty, " ...
[ "admin@irradiate.net" ]
admin@irradiate.net