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
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
785d543596b451c7c8a0c6ac68d960e423e15707
abf9238ac124738796a61e4ae3e667cae950d55a
/Custom Troop Trees/Source Files/module_troops.py
cdca6081236ae39919c831fb8185baf268a9a366
[]
no_license
ChroniclesStudio/custom-troop-trees
d92d4c3723ca117fd087332451ea1a0414998162
d39333cf8c4ea9fddb3d58c49850a4dffedbb917
refs/heads/master
2023-02-18T07:27:56.439995
2021-01-19T14:46:50
2021-01-19T14:46:50
331,012,346
0
0
null
null
null
null
UTF-8
Python
false
false
374,655
py
import random from header_common import * from header_items import * from header_troops import * from header_skills import * from ID_factions import * from ID_items import * from ID_scenes import * ##############################################################################################################...
[ "knowscount@gmail.com" ]
knowscount@gmail.com
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
6ae9db9023566f3a7f3a16bb6ff33ccf53558a45
172ce38cdad4d64d984b808b3f60738e63aed7f9
/appengine/swarming/server/task_queues.py
236fe44742f25d06153b903979742eb0aca2bdaa
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
Slayo2008/New2
7dfa0eeacbcc42435b8eb80522cfbdc71b8f2514
3fa4c520dddd82ed190152709e0a54b35faa3bae
refs/heads/master
2021-01-13T05:53:20.555486
2017-06-21T01:30:03
2017-06-21T01:30:03
94,951,662
1
0
null
null
null
null
UTF-8
Python
false
false
27,784
py
# Copyright 2017 The LUCI Authors. All rights reserved. # Use of this source code is governed under the Apache License, Version 2.0 # that can be found in the LICENSE file. """Ambient task queues generated from the actual load. This means that the task queues are deduced by the actual load, they are never explicitly ...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
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
0cad9de5a32b00c91380d29c9a483037b3797872
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/span/vsrcgrpdef.py
34044e5f3e2dcdbc08c8acddc7ef5267f04c8f59
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
8,221
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
384a626883ac4ed899680c1e4652efe043513446
f3d80a90a6688aa05c11e488e0eb52a53bc5c713
/python/ccxt/equos.py
93c9cff0398dd8a9fcb0087f50ff01c2d4f79840
[ "MIT" ]
permissive
woododoCode/ccxt
1da09329b53fabed9d1628b16bd027ab4f5668b3
51d23b4c54b132fe381aea4b88ea2d1da2a2a6f8
refs/heads/master
2023-04-15T05:51:12.056281
2021-04-22T18:31:34
2021-04-22T18:31:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
56,034
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.base.exchange import Exchange import hashlib from ccxt.base.errors import ExchangeError from ccxt.base.errors import ArgumentsReq...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
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
472c94f7d023c906cacbc30750af6b2ce84b6f07
9544884d16dd8725aa9d93b39e4ba99152806160
/cs373/06-19-expand.py
288db6673130d088fdd1e4ac40064cf75461fc66
[]
no_license
j-bennet/udacity-classes
da0f8e15fa643955531131e97b96b18dae8c867e
832baa660044fef0080e9bed44005b1f07d1d53f
refs/heads/master
2021-01-10T10:28:31.470410
2016-03-13T07:28:53
2016-03-13T07:36:10
53,772,788
1
1
null
null
null
null
UTF-8
Python
false
false
11,646
py
# ----------- # User Instructions # # Modify your doit function to incorporate 3 # distance measurements to a landmark(Z0, Z1, Z2). # You should use the provided expand function to # allow your Omega and Xi matrices to accomodate # the new information. # # Each landmark measurement should modify 4 # values in...
[ "i.chernyavska@gmail.com" ]
i.chernyavska@gmail.com
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
51edf122480351871985432ae736a2648a36e827
3c95f4e898143c376e7d23428fd4d709604be9f7
/long/container.py
5cf566ef3132c195d27ccbe5ccbd56c02fe9dfb0
[ "MIT" ]
permissive
CAFA1/retrowrite
ac1cacf74eb6d993cf7831c8a9841b80fc204bd4
d6782800fcd849b76a4050b9581fbc41dc4d0df4
refs/heads/master
2021-07-07T10:44:13.127402
2020-11-16T07:08:22
2020-11-16T07:08:22
201,230,181
0
0
null
2019-08-08T09:57:27
2019-08-08T09:57:27
null
UTF-8
Python
false
false
11,882
py
from collections import defaultdict import struct from capstone import CS_OP_IMM, CS_OP_MEM, CS_GRP_JUMP, CS_OP_REG import disasm import IPython class SzPfx(): PREFIXES = { 1: '.byte', 2: '.word', 4: '.long', 8: '.quad', 16: '.xmmword', } @staticmethod def pfx(sz): return SzPfx.PREFIXES[sz] class ...
[ "longlong_vm@dell_book.com" ]
longlong_vm@dell_book.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
ae4be78080621cbdf4fbbe486ff868730cbba19b
3784495ba55d26e22302a803861c4ba197fd82c7
/venv/lib/python3.6/site-packages/nltk/parse/transitionparser.py
a60bc37d51d0b0a3675fb6982ed2bca6ba161ed6
[ "MIT" ]
permissive
databill86/HyperFoods
cf7c31f5a6eb5c0d0ddb250fd045ca68eb5e0789
9267937c8c70fd84017c0f153c241d2686a356dd
refs/heads/master
2021-01-06T17:08:48.736498
2020-02-11T05:02:18
2020-02-11T05:02:18
241,407,659
3
0
MIT
2020-02-18T16:15:48
2020-02-18T16:15:47
null
UTF-8
Python
false
false
31,576
py
# Natural Language Toolkit: Arc-Standard and Arc-eager Transition Based Parsers # # Author: Long Duong <longdt219@gmail.com> # # Copyright (C) 2001-2019 NLTK Project # URL: <http://nltk.org/> # For license information, see LICENSE.TXT from __future__ import absolute_import from __future__ import division from __future...
[ "luis20dr@gmail.com" ]
luis20dr@gmail.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
7fe76b89abd322d1a6243eacd72535130bf60913
d41be8866cc1f8ddeb572a692b0c1e6e01211075
/py32test/__init__.py
048b396a11125a23545705aa42276900a93a144d
[]
no_license
mrocklin/py32test
44cca967d8985b47c47112ec6e17f9a0b1fe536c
e1480b64a7412a456915dc39679daaba853798ae
refs/heads/master
2020-04-08T08:24:15.255227
2018-11-26T15:10:16
2018-11-26T15:10:16
159,177,441
1
0
null
null
null
null
UTF-8
Python
false
false
29
py
from .core import inc, greet
[ "mrocklin@gmail.com" ]
mrocklin@gmail.com
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
d0204bb8374fa016a0fec8d61bbc073582e0bcab
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/python2.7/test/test_heapq.py
38ce078392b5892b2e16a79a02e036364e6683c6
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
75
py
/home/action/.parts/packages/python2/2.7.6/lib/python2.7/test/test_heapq.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
382b8c5309900136f707f4da7e10cfad4d1e77ca
1a716e193056699b79a4329b864da7bc9aaa1349
/Proyecto 1/cliente 3/cliente.py
a8336d90fe4b7d96cef63ee397c78c666e6d38aa
[]
no_license
SeekingAura/distribuidosUTP
92beaa9e4616854385a9c052fff2121966edebd5
7fbfde3940b45ea67d9e925324a9c9e43e59d9d1
refs/heads/master
2020-04-10T22:18:10.800555
2018-06-05T14:58:07
2018-06-05T14:58:07
124,299,596
0
0
null
null
null
null
UTF-8
Python
false
false
9,728
py
import threading import time import tkinter as tkinter import xmlrpc.client import sys import os import random from xmlrpc.server import SimpleXMLRPCRequestHandler, SimpleXMLRPCServer # Restrict to a particular path. class RequestHandler(SimpleXMLRPCRequestHandler): rpc_paths = ('/RPC2',) class serverRPC: def __in...
[ "carlox216@utp.edu.co" ]
carlox216@utp.edu.co
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
25e4a11070eb3ec0b306e1a0daca72117735f083
8b429ed5e8939df9a4a11f139361a3c0cccc21bb
/fos/actor/primitives.py
d471399adba8a6e30fa2ace6371676fcce6b1d9b
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
arokem/fos-1
20db5d6ddc8adcdbd26b03b5556cf2ddcf403e54
dc3f9e5341f3d58dea5762f6e86e541628edc230
refs/heads/master
2021-01-18T03:37:05.981288
2012-06-19T06:29:05
2012-06-19T06:29:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,463
py
import numpy as np from pyglet.gl import * from .base import Actor class Sphere(Actor): def __init__(self, name, radius = 10, iterations = 0, color = (0.0, 1.0, 0.0, 1.0), wireframe = False): """ A Sphere actor """ super(Sphere, self).__init__( name ) self.vertices, self.faces, se...
[ "git@unidesign.ch" ]
git@unidesign.ch
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
55d70918a3d57a4b509baedb48c40921a34f60f1
039bf8562f4eaa907b398c8d52baf82511de2393
/official/vision/detection/modeling/architecture/heads.py
65d3def32f67a19c53d461c84e610fac025bd166
[ "Apache-2.0" ]
permissive
xiaoyequ/models
7572783d7d5949fe0f179ae5deeac907fc7027e9
82bef28a2f5e5201c7ab8002b19500a43cfccf70
refs/heads/master
2020-08-26T23:11:42.412584
2019-11-15T17:59:59
2019-11-15T17:59:59
217,177,687
0
0
Apache-2.0
2019-10-24T00:27:15
2019-10-24T00:27:15
null
UTF-8
Python
false
false
39,531
py
# Copyright 2019 The TensorFlow 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
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
5d298f77d4ac7b19bca173a970b03bcf241799ac
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/03_model_fitting/merra882/836-tideGauge.py
9a0b52eb24d4c08e9825bad56e27873c4bdc1248
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
7,041
py
# -*- coding: utf-8 -*- """ Created on Mon May 4 15:51:30 2020 This program is designed to validate a multiple linear regression model by using the KFOLD method @author: Michael Tadesse """ import os import numpy as np import pandas as pd from sklearn import metrics from scipy import stats from datetime import date...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.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
f7314fc2f3a25a86ce92fc8ff1fc89294cf0be46
7979e41a7c963255fcbfbbfa43ca6d8ddfaa12f6
/CMPS183/google-cloud-sdk/lib/googlecloudsdk/core/properties.py
ed0114a958a1153c4cb39f219c52497bf649a50b
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
swchoi1994/UCSC
eed2238204f9a30b6366df4c110b4e291a629af1
7aec4d09a142e85d4bd9c1c6472a0e1334bd1479
refs/heads/master
2021-01-19T22:22:15.740455
2019-07-20T08:51:02
2019-07-20T08:51:02
88,804,038
0
1
null
null
null
null
UTF-8
Python
false
false
56,159
py
# Copyright 2014 Google Inc. 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 applicable law or ag...
[ "swchoi1994@SWCMBP.local" ]
swchoi1994@SWCMBP.local
8166ea6dd04ab40244555b9b7f8bfec2819b0ec0
5488578b39c8154e52ac04646a2f9d4263066b7b
/odsgenerator/odsgenerator.py
6ad78280f2dd9a1d6155caf44b9eaa7d45a1cd20
[ "MIT" ]
permissive
Snikolay88/odsgenerator
09a03715082481dffb87ab69a483b7f78ee741b9
cc5123db466a418b16cf4864b787b9cb17c641f1
refs/heads/main
2023-04-19T20:28:47.863227
2021-05-05T11:27:14
2021-05-05T13:04:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,887
py
#!/usr/bin/env python # Copyright 2021 Jérôme Dumonteil # Licence: MIT # Authors: jerome.dumonteil@gmail.com """Generate an OpenDocument Format .ods file from json or yaml file. When used as a script, odsgenerator parses a JSON or YAML description of tables and generates an ODF document using the odfdo library. When ...
[ "jerome.dumonteil@gmail.com" ]
jerome.dumonteil@gmail.com
559d63eb0e6cf06ad37712e043ad36a1a5b964b5
dcbef06d5a00f07756339b9e62c684dec2fee425
/nuitka/code_generation/AttributeCodes.py
87c5151cfeb5126c4c7963300a890d7e1615c173
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
Nuitka/Nuitka
f9543d8d95bfa0b81d4e60af0dfad99fb72893a4
d87faf2f7e1d6ed9bfe4cf8c1d648f34307e33f2
refs/heads/develop
2023-08-28T14:00:32.861328
2023-08-27T09:16:45
2023-08-27T09:16:45
9,626,741
8,573
599
Apache-2.0
2023-09-13T02:49:41
2013-04-23T15:40:33
Python
UTF-8
Python
false
false
10,712
py
# Copyright 2023, Kay Hayen, mailto:kay.hayen@gmail.com # # Part of "Nuitka", an optimizing Python compiler that is compatible and # integrates with CPython, but also works on its own. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
[ "kay.hayen@gmail.com" ]
kay.hayen@gmail.com
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
3f6efd3d6a4712e36bd53b2eb047af44d37ef744
6e060e9730b58e4d7819335438f915179504e72c
/bit_payment/voucher.py
e7b6af5889d3b6cb1e55cb57debbef5fdef82946
[]
no_license
missionpetroleumgit/addons_missiongit
4dcdf1d0e79da982670c573d59574a939d1636c0
714514719d5d4d96f371dd529a70ac282070c43b
refs/heads/master
2023-03-10T20:34:10.154050
2021-02-24T23:50:20
2021-02-24T23:50:20
342,027,534
1
0
null
null
null
null
UTF-8
Python
false
false
23,088
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution - Ecuador # Copyright (C) 2014 BitConsultores (<http://http://bitconsultores-ec.com>). # # This program is free software: you can redistribute it and/or modify # ...
[ "daldaz@mission-petroleum.com" ]
daldaz@mission-petroleum.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
2353351fa4eacb5d3ffb3ddf5f71cbc8802375fb
988176bcdae841e08106b0fe5cf07aabbc210c83
/multiplication of numbers as a string.py
0454f383a7ce91bfb7d4c881f7e9cf60586ae60b
[]
no_license
gopiprasad008/GUVI_CODEKATA_PYTHON_CODE
ce1a63c7eea2a099c01748162c1deb47172dcd0a
78f374e344df25aab181408d8f41b3ebe03b34ef
refs/heads/master
2023-03-16T00:27:31.539524
2020-05-16T11:46:08
2020-05-16T11:46:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
(a, b) = map(int, input().split(" ")) print(str(a*b))
[ "noreply@github.com" ]
gopiprasad008.noreply@github.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
10c66eca61427c9d8ba447dc5b63928d039b6c9a
b6d0daa057ecb9ef42feb3f971f2f6b02dcaf0ab
/app/libs/__init__.py
243904971fa503bd0422507ba04e412f2a3df8b5
[]
no_license
SunmoonSan/ginger
4abefec5a20c3923571898de55e9f332f6105fbd
35e73e2c865dc6be7b12d4c37f48330b2cd7d5bf
refs/heads/master
2022-12-15T04:35:54.980124
2019-11-12T15:38:24
2019-11-12T15:38:24
214,826,628
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @desc : Created by San on 2019/10/7 01:57
[ "18814184179@163.com" ]
18814184179@163.com
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
f3fb38beea4f69f622c482970134b64036397874
a25e2aa102ffe9c2d9b553252a1882fe5a9d7ec9
/SprityBird/spritybird/python3.5/lib/python3.5/site-packages/lxml/html/diff.py
5c30e5741a10e0e181406b175020d5ec5b7bd887
[ "MIT" ]
permissive
MobileAnalytics/iPython-Framework
f96ebc776e763e6b4e60fb6ec26bb71e02cf6409
da0e598308c067cd5c5290a6364b3ffaf2d2418f
refs/heads/master
2020-03-22T06:49:29.022949
2018-07-04T04:22:17
2018-07-04T04:22:17
139,660,631
4
1
null
null
null
null
UTF-8
Python
false
false
30,490
py
import difflib import etree from lxml.html import fragment_fromstring import re __all__ = ['html_annotate', 'htmldiff'] try: from html import escape as html_escape except ImportError: from cgi import escape as html_escape try: _unicode = unicode except NameError: # Python 3 _unicode = str try: ...
[ "909889261@qq.com" ]
909889261@qq.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
97dd914e3d3b2bb191226df7578cccc9f37c5925
3b985e45c1d5e36136eec7f7180a488e47ef0641
/ll_env/bin/django-admin.py
335fabfd40aa0b692de60b7f8520599722a0a102
[]
no_license
oyeolamilekan/britecore
464d14d39eaba9421f5af7ebf1d6c709e0e32709
4b30c4d21dcb8951e0af01ac4d356b35314b07a4
refs/heads/master
2020-04-08T01:01:37.804955
2018-11-23T22:23:23
2018-11-23T22:23:23
158,878,233
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
#!/Users/oyeolalekan/dev/workcode-api/ll_env/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "johnsonoye34@gmail.com" ]
johnsonoye34@gmail.com
bf890693b27befbffaca7dd73e8372c23dc87ec8
f41b329bbeb635e7a21fb6e41f5e99ea438770fd
/Editor/PyQt5/be_preferences.py
dac25bec46f89cbc9504bdd8d29f36e23bb688ff
[ "Apache-2.0" ]
permissive
barry-scott/BarrysEmacs
0b465e6d3aa592cbef78000fa6be155ec7ddde58
e6893a59866b3535d4959dc8e34ad14c6e17f630
refs/heads/master
2023-07-25T20:58:30.974490
2023-07-22T11:21:08
2023-07-22T11:21:08
61,944,303
27
5
null
2022-12-22T12:52:03
2016-06-25T13:25:25
C++
UTF-8
Python
false
false
9,322
py
''' ==================================================================== Copyright (c) 2003-2019 Barry A Scott. All rights reserved. This software is licensed as described in the file LICENSE.txt, which you should have received as part of this distribution. ======================================================...
[ "barry@barrys-emacs.org" ]
barry@barrys-emacs.org
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
2cf9a7d819ac8044b17118b12d8061e16c2a7522
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/171/usersdata/353/82123/submittedfiles/decimal2bin.py
1e9971183a7dc3eed280a5a80a23e58a3bfa0795
[]
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
121
py
# -*- coding: utf-8 -*- soma=0 i=0 while (n>0): ultimo=n%10 s=s+(ultimo*(2**i)) i=i+1 n=n//10 print (s)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
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
83f5f5864b16b295e0be7f3835de2f1ecbc9b00f
10d98fecb882d4c84595364f715f4e8b8309a66f
/aptamers_mlpd/learning/feedforward.py
25bda8c581b8baecae67952951850885d144c12c
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
afcarl/google-research
51c7b70d176c0d70a5ee31ea1d87590f3d6c6f42
320a49f768cea27200044c0d12f394aa6c795feb
refs/heads/master
2021-12-02T18:36:03.760434
2021-09-30T20:59:01
2021-09-30T21:07:02
156,725,548
1
0
Apache-2.0
2018-11-08T15:13:53
2018-11-08T15:13:52
null
UTF-8
Python
false
false
12,246
py
# coding=utf-8 # Copyright 2021 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
4e1a6e4991dc0a3c65519e2ab039e8b61aa514fa
dbb71409cfb06b4b68ccdec35498787bcf85f468
/assignment2/q1_classifier.py
d1af9ecfced4bff3c31db1d01280fd410fc35d4d
[]
no_license
ZhengLiangliang1996/CS224n
f19c60bed9c4af141b0a2855f8d2b2becac8b5de
4760138a0db2451fb0e562071ef57a6e200f21f1
refs/heads/master
2020-03-25T20:29:31.561524
2019-03-22T20:27:10
2019-03-22T20:27:10
144,133,300
0
0
null
null
null
null
UTF-8
Python
false
false
8,281
py
import time import numpy as np import tensorflow as tf from q1_softmax import softmax from q1_softmax import cross_entropy_loss from model import Model from utils.general_utils import get_minibatches class Config(object): """Holds model hyperparams and data information. The config class is used to store va...
[ "zhengliangliang1996@gmail.com" ]
zhengliangliang1996@gmail.com
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
4809712a8046ebe3b67fac33e2927417d8ee3fd4
802819c518cc912bb52eac4aeb7e27143a25fb5d
/crwal_config.py
97a76f2e8596638b89d2d92222e8bf028e37bd12
[]
no_license
immortalChensm/python-project
480dd5b9a09a0336ad67414edbcbee0708974261
902e54bf143a0967dccd1b8884c3164317ff8568
refs/heads/master
2022-11-09T20:59:15.012894
2019-06-04T06:11:34
2019-06-04T06:11:34
150,669,432
0
0
null
2022-11-04T19:19:15
2018-09-28T01:39:02
Roff
UTF-8
Python
false
false
2,978
py
#爬取网页配置文件 Accept='application/json, text/javascript, */*; q=0.01' Accept_Encoding='gzip, deflate, br' Accept_Language='zh-CN,zh;q=0.8' Connection='keep-alive' Content_Length='43' Content_Type='application/x-www-form-urlencoded; charset=UTF-8' Cookie='JSESSIONID=ABAAABAAAIAACBIA7ADB3F1300369255127382E8505E401; user_tr...
[ "1655664358@qq.com" ]
1655664358@qq.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