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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d0fd7c1fa9dd2c96079bfe1629c47b14ce140830 | 124df74bce796598d224c4380c60c8e95756f761 | /pythonPackages/matplotlib/doc/sphinxext/gen_gallery.py | db7d0fb9e83b59b6d76ccd5e7b59fc13dbe3af29 | [] | no_license | Mapoet/AWIPS-Test | 19059bbd401573950995c8cc442ddd45588e6c9f | 43c5a7cc360b3cbec2ae94cb58594fe247253621 | refs/heads/master | 2020-04-17T03:35:57.762513 | 2017-02-06T17:17:58 | 2017-02-06T17:17:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,909 | py | # generate a thumbnail gallery of examples
template = """\
{%% extends "layout.html" %%}
{%% set title = "Thumbnail gallery" %%}
{%% block body %%}
<h3>Click on any image to see full size image and source code</h3>
<br/>
%s
{%% endblock %%}
"""
import os, glob, re, sys, warnings
import matplotlib.image as image
m... | [
"joshua.t.love@saic.com"
] | joshua.t.love@saic.com |
c3a8700708aa6fd5a6cd289fc3e90b3e1995bd6b | ac5e52a3fc52dde58d208746cddabef2e378119e | /exps-gsn-edf/gsn-edf_ut=2.5_rd=0.65_rw=0.06_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=83/params.py | 84dba58d25e4d7e1810fed172c16ff321765213a | [] | no_license | ricardobtxr/experiment-scripts | 1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1 | 7bcebff7ac2f2822423f211f1162cd017a18babb | refs/heads/master | 2023-04-09T02:37:41.466794 | 2021-04-25T03:27:16 | 2021-04-25T03:27:16 | 358,926,457 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 255 | py | {'cpus': 4,
'duration': 30,
'final_util': '2.537524',
'max_util': '2.5',
'periods': 'harmonic-2',
'release_master': False,
'res_distr': '0.65',
'res_nmb': '4',
'res_weight': '0.06',
'scheduler': 'GSN-EDF',
'trial': 83,
'utils': 'uni-medium-3'}
| [
"ricardo.btxr@gmail.com"
] | ricardo.btxr@gmail.com |
ece40bcd2051ac2b3c29ffecd57c27458c6bfce5 | 77c2010bb9533ecbdfa46cd41c16ee5ae26e94fa | /djangoproject/urls.py | dfa88c1229555400e49984d39fca14e59074e26f | [] | no_license | dimansion/portfolio-django | b2cbb28dff97dd03cdf795f0bc661d39bcfae83d | 2dffe0e8579b2a426cb7aceb1ee085933b122d90 | refs/heads/master | 2020-05-23T08:15:38.205372 | 2017-03-05T14:44:14 | 2017-03-05T14:44:14 | 70,251,368 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,047 | py | from django.conf.urls import url, include
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
from django.contrib.auth import views as auth_view
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^', include('portfolio.urls', namespace='portfolio'))... | [
"dimansional@gmail.com"
] | dimansional@gmail.com |
5454bb6b71c52f41b00f34ff8852755a97b383d8 | 34d49cb7c6f74b759dd079f1761ff246fee23dda | /bento/core/utils.py | 462dc2f68dac8fcc48cdf75c879cfeb2c81ca453 | [
"BSD-3-Clause"
] | permissive | abadger/Bento | f9b0cae87e0cc7a491e5cf760e44047c6be4fc70 | 3f1ddefd8d21decbc018d097d3ec5da4dc9364df | refs/heads/master | 2021-01-16T09:01:07.706623 | 2011-07-27T09:57:05 | 2011-07-27T09:57:05 | 2,116,410 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 14,651 | py | import os
import sys
import re
import glob
import shutil
import errno
import subprocess
try:
from hashlib import md5
except ImportError:
from md5 import md5
from itertools import izip, imap
from copy import deepcopy
from os.path import \
join, split, splitext, dirname
from bento.compat.api \
import ... | [
"cournape@gmail.com"
] | cournape@gmail.com |
1f0ab71f36175c94312f2fbcbea915441a6b48ab | a718c9ff5de8843352a4cad0c18eee7c5e5ccc07 | /Section 4 Python and Relational Databases/sqlserver.py | 950fb96b7ea261edd46cc561756413ca39e3f07a | [] | no_license | syurskyi/Database_Programming_with_Python | 9a85bb5ae14eb5e1aaba9643b74968ed22ed54de | a54a57f2f9d83038d052a260d5e2ac809bdca88f | refs/heads/master | 2020-08-22T01:04:20.330715 | 2019-11-02T04:02:24 | 2019-11-02T04:02:24 | 216,286,990 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 715 | py | import pyodbc
from contextlib import closing
# CONNECT TO DATABASE
server = "webdb, 1400"
database = "vc-helpdesk"
username = "login_extracts"
password = ""
conn = pyodbc.connect("DRIVER={ODBC Driver 17 for SQL Server}"
"; SERVER=" + server +
";DATABASE=" + database +
... | [
"sergejyurskyj@yahoo.com"
] | sergejyurskyj@yahoo.com |
693c8992435f6a95c67829e64a23e1eccb2d5897 | 3c000380cbb7e8deb6abf9c6f3e29e8e89784830 | /venv/Lib/site-packages/cobra/modelimpl/cnw/aggrif.py | 183c6574ddf5ba142777e906f9c1217f4b7936a4 | [] | no_license | bkhoward/aciDOM | 91b0406f00da7aac413a81c8db2129b4bfc5497b | f2674456ecb19cf7299ef0c5a0887560b8b315d0 | refs/heads/master | 2023-03-27T23:37:02.836904 | 2021-03-26T22:07:54 | 2021-03-26T22:07:54 | 351,855,399 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 30,857 | py | # coding=UTF-8
# **********************************************************************
# Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved
# written by zen warriors, do not modify!
# **********************************************************************
from cobra.mit.meta import ClassMeta
from cobra.m... | [
"bkhoward@live.com"
] | bkhoward@live.com |
210988bf5c59b069d2afccd68f7b746d61d88ba3 | c6b15c628a185d9f71c91543aac3a90495152c09 | /Schulung/solutions/100sol50.py | a7bd72896235a33bfcda66f0fbcbb0ecef47bf6a | [] | no_license | reichlj/PythonBsp | 3e47d3b22b75cf1f67d3e47b83b125a1ddbc518d | 51c25370495d3a8847f46a9de1bc8e0d811ae5a7 | refs/heads/master | 2021-06-12T22:32:15.365906 | 2021-05-08T20:44:01 | 2021-05-08T20:44:01 | 173,499,716 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 54 | py | v = np.random.randint(-8, 8, 10)
v
vp = v<=0
vp
v[vp]
| [
"jakobreichl@gmail.com"
] | jakobreichl@gmail.com |
f5cf4b30afe4c47f8c70387bd02387785746f4c3 | 15f321878face2af9317363c5f6de1e5ddd9b749 | /solutions_python/Problem_209/310.py | f4f254f21ab541f8eddccc9ce24682ae7ae5ac15 | [] | no_license | dr-dos-ok/Code_Jam_Webscraper | c06fd59870842664cd79c41eb460a09553e1c80a | 26a35bf114a3aa30fc4c677ef069d95f41665cc0 | refs/heads/master | 2020-04-06T08:17:40.938460 | 2018-10-14T10:12:47 | 2018-10-14T10:12:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,210 | py | import math
with open("A-large.in") as f:
with open("output.txt", "w") as g:
t = int(f.readline().strip())
for i in range(1, t + 1):
# print("i = {}".format(i))
[n, k] = map(int, f.readline().split())
rh = [None] * n
for j in range(n):
... | [
"miliar1732@gmail.com"
] | miliar1732@gmail.com |
27512a9884146f6ce38a108aadb4169d2cfd1598 | 655bdc9f4cb06cd5b0731f20715b86423f103e1f | /app/build_static_assets.py | 08e15192340b16fce1e140017fca01491f0d6e6c | [
"MIT"
] | permissive | 2dpodcast/cs109_twitterapp | 20c87bf1083fbc102c6c67ec9d4f8ea6992540ba | 4554e162630d7ee4df8e1a8c4aceb64a2a7d546a | refs/heads/master | 2021-01-23T20:12:28.888602 | 2013-12-13T05:22:32 | 2013-12-13T05:22:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 567 | py | from webassets import Environment, Bundle
my_env = Environment('static/', 'static/')
common_css = Bundle(
'css/vendor/normalize.css',
'css/vendor/foundation.css',
'css/app.css',
output='public/css/common.css'
)
common_js = Bundle(
'js/vendor/jquery.min.js',
'js/vendor/custom.modernizr.js... | [
"ramesh@sampathweb.com"
] | ramesh@sampathweb.com |
45ec7aff1bd2f5b01a12b28ca0295e9e65fa9127 | 1e6b88c38c83af9a74cb16b67faa774b3118ed6c | /home/moz4r/Test/maryRu.py | 4a4ed1a7d78a2683b6d978c2000d70885de9410b | [
"Apache-2.0"
] | permissive | lecagnois/pyrobotlab | 16b087568c86cc31ce5d9ae9c7233e4546a43583 | 2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9 | refs/heads/master | 2023-02-20T00:16:53.521295 | 2021-05-17T14:18:59 | 2021-05-17T14:18:59 | 79,541,726 | 1 | 0 | null | 2017-01-20T08:40:55 | 2017-01-20T08:40:55 | null | UTF-8 | Python | false | false | 202 | py | #start Service
#download & extract at mrl root : http://www.myai.cloud/mrl/mary-mrl-ru.zip
mouth = Runtime.start("MarySpeech", "MarySpeech")
mouth.setVoice("ac-nsh")
mouth.speakBlocking(u"привет") | [
"moz4r@free.fr"
] | moz4r@free.fr |
dd9bae6c50c145a2a8faf83c5170cc9dbee88b3d | a053362946ab5db16254012c13891406104e7042 | /paquete/animales/__init__.py | 6a10168b604b1e52c6c48cb1f61fe86d57c75838 | [] | no_license | rodrigo-montenegro/curso-python | b26a34d64fada375111665b352124fa7fe9afef1 | 43817ec6ab6322f403cca5a83c6b9b6ad31c6686 | refs/heads/master | 2022-10-16T20:21:17.502599 | 2020-06-10T03:40:42 | 2020-06-10T03:40:42 | 271,170,236 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 90 | py |
print("Este es un mensaje del archivo init")
def mi_funcion():
print("Mi funcion")
| [
"rodrigommz90@gmail.com"
] | rodrigommz90@gmail.com |
d546d4a4762a694c718b16636eb48538ef7c0e54 | eb3683f9127befb9ef96d8eb801206cf7b84d6a7 | /testing/test_programs/without_classes/imports/relative/subpackage/other_file.py | 9666cd90ac89ab085fb35fd6d1ee01533d480647 | [] | no_license | ComputationalReflection/stypy | 61ec27333a12f76ac055d13f8969d3e0de172f88 | be66ae846c82ac40ba7b48f9880d6e3990681a5b | refs/heads/master | 2021-05-13T18:24:29.005894 | 2018-06-14T15:42:50 | 2018-06-14T15:42:50 | 116,855,812 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 36 | py |
__all__ = ["x", "y"]
x = 2
y = 5
| [
"redondojose@uniovi.es"
] | redondojose@uniovi.es |
cef4261abfed8c5daef412905e45f2fba4ef151d | d802a0793a4a4af0336912932c35499edac16845 | /Python/Python/Errors and Exceptions/exceptions.py | 60b9363c594cb7656dc59c7047315034153eecea | [] | no_license | butterflylady/hackerrank | fb1ca6801855b3956bbfb72a2f7a95db4513aca4 | c42e2c80c41a95eb10d9a061eb8e7132e52a71ac | refs/heads/master | 2021-08-27T21:02:50.512292 | 2021-08-05T08:40:37 | 2021-08-05T08:40:37 | 167,610,834 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 236 | py | n = int(input())
for _ in range(n):
a, b = input().split()
try:
print(int(a) // int(b))
except ZeroDivisionError as ze:
print("Error Code:", ze)
except ValueError as ve:
print("Error Code:", ve)
| [
"mpaluyanava@gmail.com"
] | mpaluyanava@gmail.com |
fb44fa290ebeda654d2126d3bcc287ac55126cc1 | db053c220094368ecb784fbe62375378c97457c2 | /392.is-subsequence.py | 95cdd4e0c4fbe8a2be02a8823674c62e159fb0dd | [] | no_license | thegamingcoder/leetcode | 8c16e7ac9bda3e34ba15955671a91ad072e87d94 | 131facec0a0c70d319982e78e772ed1cb94bc461 | refs/heads/master | 2020-03-22T14:51:45.246495 | 2018-07-09T00:00:06 | 2018-07-09T00:00:06 | 140,211,147 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,335 | py | #
# [392] Is Subsequence
#
# https://leetcode.com/problems/is-subsequence/description/
#
# algorithms
# Medium (44.68%)
# Total Accepted: 56.5K
# Total Submissions: 126.4K
# Testcase Example: '"abc"\n"ahbgdc"'
#
#
# Given a string s and a string t, check if s is subsequence of t.
#
#
#
# You may assume that the... | [
"sharanbale@yahoo-inc.com"
] | sharanbale@yahoo-inc.com |
85680dfc0faad6f7e53409d997cb6b54077f8a76 | 9818262abff066b528a4c24333f40bdbe0ae9e21 | /Day 36/CaseConversion.py | d3bcb566df420c8ec80e7a1565bc634991ad3118 | [
"MIT"
] | permissive | skdonepudi/100DaysOfCode | 749f62eef5826cb2ec2a9ab890fa23e784072703 | af4594fb6933e4281d298fa921311ccc07295a7c | refs/heads/master | 2023-02-01T08:51:33.074538 | 2020-12-20T14:02:36 | 2020-12-20T14:02:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,284 | py | '''
You are given a string in the camel case format. Your task is to convert this string into the snake case format.
Examples of the camel case strings are as follows:
ComputerHope
FedEx
WordPerfect
Note: In the camel case string, the first character may or may not be capitalized.
Examples of the snake case strings... | [
"sandeepiiitn@gmail.com"
] | sandeepiiitn@gmail.com |
4c4c5d614dac8acfe187167238c71afea69c2e60 | 5d904cb63234fffd55206ac73a3814b733f71c33 | /tf_mesh/np_impl/tri.py | 93939b6e2a01c5e6dfb461c00bfa0c59a118c767 | [] | no_license | jackd/tf_mesh | 2bf7da31f4d1186c8c3580807414ec6a34c438a3 | 27f45b3551a6e51357e369d6252e4d08f8564a36 | refs/heads/master | 2020-04-26T23:37:01.451727 | 2019-03-05T08:36:19 | 2019-03-05T08:36:19 | 173,907,935 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,214 | py | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
def normalize(x, axis=-1):
x /= np.linalg.norm(x, ord=2, axis=axis, keepdims=True)
def triangulated_faces(face_values, face_lengths):
n = np.sum(face_lengths) - 2 * len(face_lengths)
... | [
"thedomjack@gmail.com"
] | thedomjack@gmail.com |
d95a7464e3e9f17023c7b4a32c2d33ef48c971a7 | 0fe9e89c842d66e430fac7003b8034eb4e0b61be | /361_ac.py | abc89b8aa069ef10ae25d1ef895a792e5db18957 | [] | no_license | kirtivr/leetcode | e0a73e50c339fabfd40b6971b1acf58061bcbd54 | 9a827352ab8939cb6ed205fc2bda9284459a489c | refs/heads/master | 2023-08-20T21:20:10.301402 | 2023-08-17T06:43:56 | 2023-08-17T06:43:56 | 115,361,217 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,429 | py | class Solution(object):
def maxKilledEnemies(self, grid):
"""
:type grid: List[List[str]]
:rtype: int
"""
grid_size = len(grid)
grid_row_sz = len(grid[0]) if grid_size > 0 else 0
max_killed = 0
rowhits = 0
colhits = []
for j in range(... | [
"kirtivr.bit@gmail.com"
] | kirtivr.bit@gmail.com |
faadfb165c29d0dfd2d2ec6068129a162181ab62 | 1d9e681b204e6ec2d7a710ef45b7dec082239491 | /venv/Lib/site-packages/test/test_scenarios_api.py | 9e0a9ff04062d780ddeea8278d267b11bdc8418a | [] | no_license | 1chimaruGin/DotaAnalysis | 0e0b85805cc83e4cc491d46f7eadc014e8d6b1f1 | 6a74cde2ee400fc0dc96305203d60c5e56d7ecff | refs/heads/master | 2020-07-21T20:48:07.589295 | 2019-09-07T12:20:15 | 2019-09-07T12:20:15 | 206,972,180 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,501 | py | # coding: utf-8
"""
OpenDota API
# Introduction The OpenDota API provides Dota 2 related data including advanced match data extracted from match replays. Please keep request rate to approximately 1/s. **Begining 4/22/2018, the OpenDota API will be limited to 50,000 free calls per month.** We'll be offering a... | [
"kyitharhein18@gmail.com"
] | kyitharhein18@gmail.com |
031b2158eb4108471326811a6e5af34afb19b63f | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/abc023/D/4652589.py | 7cdc97139eb31252d869d5207ad424b9ebe0c861 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | Python | false | false | 571 | py | def main():
n,*b=map(int,open(0).read().split())
ok=10**18
ng=-1
while abs(ok-ng)>1:
mid=(ok+ng)//2
a=[0]*(n+2)
f=1
for h,s in zip(b[::2],b[1::2]):
i=(mid-h)//s
if i<0:
f=0
break
a[min(i,n)]+... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
c62b74dab2bc0c05704a12b0ec59557783766bf3 | e7b7505c084e2c2608cbda472bc193d4a0153248 | /LeetcodeNew/python2/LC_1163.py | edbea205a87c6569b166f316795846481adb1c18 | [] | no_license | Taoge123/OptimizedLeetcode | 8e5c1cd07904dfce1248bc3e3f960d2f48057a5d | 3e50f6a936b98ad75c47d7c1719e69163c648235 | refs/heads/master | 2023-02-27T21:13:40.450089 | 2023-02-07T04:11:09 | 2023-02-07T04:11:09 | 170,044,224 | 9 | 3 | null | null | null | null | UTF-8 | Python | false | false | 487 | py |
class Solution2:
# 不超时解法
def lastSubstring(self, s: str) -> str:
if len(s) == 0 or len(s) == 1:
return s
res = s
maxchar = max(s)
for i in range(1, len(s)):
if s[i] == maxchar and s[i:] > res:
res = s[i:]
return res
class Soluti... | [
"taocheng984@gmail.com"
] | taocheng984@gmail.com |
a627b8017711afd9d16e735ffef83ce57f55a209 | 241bd0e46c720aff12355bd58366e5d70b04c826 | /N10142/main.py | 9d4ac2bae433df9e5640bb63673f8bd9e7adc3ce | [
"MIT"
] | permissive | AbhiJohal/UVA | 57bc389b3bd70ab9468c456031a3925d4b0aef1f | c02bf55fc444309c94d938618911f22b0d9a14e1 | refs/heads/master | 2021-09-19T07:05:23.533846 | 2018-07-24T14:47:33 | 2018-07-24T14:47:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,109 | py | import sys
def get_first_choices(ballots):
return [b[0] for b in ballots]
def get_points(candidate_num, choices):
return {c: choices.count(c) for c in range(1, candidate_num + 1)}
def get_winner(points):
winner = max(points, key=points.get)
return winner, points[winner]
def get_losers(points):
... | [
"carlossmocholi@gmail.com"
] | carlossmocholi@gmail.com |
03449e9b394b0b00a08944d7e59883c03e1eea76 | d037e60c88f43e4a1e1b26f3c42b876d323eb828 | /leet/linkedlists/treeToDoubleLinkedList.py | a226adfc8bc95695d0cefd9c85148309f82dc814 | [
"Apache-2.0"
] | permissive | MatthewAlisangco/python-cp-cheatsheet | ba40370f7bb91e9e225bef0dc0893ac6815bed6a | 9551db286d4f3214d17f46f999da89f78af4f523 | refs/heads/master | 2023-06-23T06:21:50.850124 | 2021-07-23T16:21:13 | 2021-07-23T16:21:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 988 | py | """
# Definition for a Node.
class Node:
def __init__(self, val, left=None, right=None):
self.val = val
self.left = left
self.right = right
"""
class Solution:
def treeToDoublyList(self, root: 'Node') -> 'Node':
if not root:
return
dummy = Node(0)
... | [
"peterrlamar@gmail.com"
] | peterrlamar@gmail.com |
3383385e225d93ae242dc3286c23fd593bf670ca | a838d4bed14d5df5314000b41f8318c4ebe0974e | /sdk/digitaltwins/azure-mgmt-digitaltwins/setup.py | 61426cf3f719eaf0cee304d69da313ac6ea2012f | [
"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 | 3,041 | py | #!/usr/bin/env python
#-------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#----------------------------------------------------------------... | [
"noreply@github.com"
] | scbedd.noreply@github.com |
4fa613fcb11794bc6bb2f0fb8fb067763fc7a5d8 | dad655898e438293fa957847795fc52b3c14cf7e | /ersteops/emergency/migrations/0007_emergency_has_paid.py | 747e677b3aff8911413af27e02f9bb87a1ab5d50 | [
"MIT"
] | permissive | Prescrypto/ErsteOps | 38622e4091582a4d3e6d810f71f37718003e864e | 996c541e3eef33bb51d16e45f00e661381f5975b | refs/heads/master | 2022-10-24T20:21:53.170343 | 2022-10-19T21:54:30 | 2022-10-19T21:54:30 | 111,615,430 | 0 | 1 | MIT | 2022-10-19T21:54:31 | 2017-11-22T00:03:55 | HTML | UTF-8 | Python | false | false | 491 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2018-05-24 06:36
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('emergency', '0006_auto_20180524_0433'),
]
operations = [
migrations.AddFiel... | [
"xtornasol512@gmail.com"
] | xtornasol512@gmail.com |
583fa5e8df6f6a359274faef62f1cae741ac71c0 | c25c842f85e80ad567d530afb0bdb5c169aeedad | /docs/conf.py | 87d038bee8cfa1c08b06a9b908e888a39b06ffbb | [] | no_license | dustinlacewell/mannequin | 09debe08737a7a7e875c85138b685fdf69de1035 | b7c895bf36c643ac3fed02d3368030c68477800d | refs/heads/master | 2016-09-06T02:25:19.162756 | 2013-01-16T03:07:09 | 2013-01-16T03:07:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,814 | py | # -*- coding: utf-8 -*-
#
# mannequin documentation build configuration file, created by
# sphinx-quickstart on Wed Jan 25 22:49:22 2012.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# A... | [
"dlacewell@gmail.com"
] | dlacewell@gmail.com |
fe416a2ac943415a1180752cd9fb5fac9ead3faa | 9dd7743c3c3b990c0d659f41445fd8058d0dbe6d | /mini_microservice_project/event_bus_service/routers.py | 7443ff31e422f6af519c3866c65da3efd853bb17 | [] | no_license | TechAcademy-Azerbaijan/MarsGroupLessonCodes | b2e83fdbc8f5e9394d1e74651e396c4884c212ef | 19d7e5814c4de778b1f829a31740bb9ca6ace136 | refs/heads/master | 2023-03-02T01:56:55.227750 | 2021-02-04T08:20:03 | 2021-02-04T08:20:03 | 293,804,542 | 3 | 3 | null | null | null | null | UTF-8 | Python | false | false | 409 | py | import requests
from flask import jsonify, request
from app import app
@app.route('/events/', methods=['POST'])
def posts():
new_data = dict(request.json or request.form)
requests.post('http://localhost:5002/events/', json=new_data)
requests.post('http://localhost:5001/events/', json=new_data)
request... | [
"idris.sabanli@gmail.com"
] | idris.sabanli@gmail.com |
162fe4dbe703c3316df28a6be4c4267da8eca6ec | d5b339d5b71c2d103b186ed98167b0c9488cff09 | /marvin/cloudstackAPI/updateProjectInvitation.py | a5522cfe8c28bfa603aaeac4917c62e25cd3e98c | [
"Apache-2.0"
] | permissive | maduhu/marvin | 3e5f9b6f797004bcb8ad1d16c7d9c9e26a5e63cc | 211205ae1da4e3f18f9a1763f0f8f4a16093ddb0 | refs/heads/master | 2020-12-02T17:45:35.685447 | 2017-04-03T11:32:11 | 2017-04-03T11:32:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,206 | py | """Accepts or declines project invitation"""
from baseCmd import *
from baseResponse import *
class updateProjectInvitationCmd (baseCmd):
typeInfo = {}
def __init__(self):
self.isAsync = "true"
"""id of the project to join"""
"""Required"""
self.projectid = None
self.t... | [
"int-mccd_jenkins@schubergphilis.com"
] | int-mccd_jenkins@schubergphilis.com |
49feb3889aeab38645a08c54dbc2a296da0c9657 | 8872db720e773ea2449bb1dad689028892d653ab | /testing_drop/wsthread.py | 48efd4d4afb1fda608eed92394517ecdb74bf0fe | [] | no_license | kandation/CPE336-Project-Websocket-Learn | be1bb52f82ef38465b9fa3fb33fa0d1c8f3ec07d | aec79db00b4be53580944dce05fbca5383a7c025 | refs/heads/master | 2021-08-20T09:09:15.705268 | 2017-11-28T18:21:37 | 2017-11-28T18:21:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,062 | py | from struct import *
import threading
import hashlib
import string
import socket
import time
import re
import base64
class WebSocketThread(threading.Thread):
def __init__ ( self, channel, details, websocket ):
self.channel = channel
self.details = details
self.websocket = websocket
... | [
"akkhaporn@gmail.com"
] | akkhaporn@gmail.com |
45f7901b9e5f5f773be13b9034d4a34e91018633 | 0b842bcb3bf20e1ce628d39bf7e11abd7699baf9 | /oscar/a/sys/net/tech_interfaces/tech/interfaces/interface/system_defaults/connectivity_check/ipv4/arp/blinky_arp_gen.py | 557c14e45f956f7d285d4c4c1e84433a564081eb | [] | no_license | afeset/miner2-tools | 75cc8cdee06222e0d81e39a34f621399e1ceadee | 81bcc74fe7c0ca036ec483f634d7be0bab19a6d0 | refs/heads/master | 2016-09-05T12:50:58.228698 | 2013-08-27T21:09:56 | 2013-08-27T21:09:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 32,044 | py |
# Copyright Qwilt, 2011
#
# The code contained in this file may not be used by any other entities without explicit written permission from Qwilt.
#
# Author: auto-generated
# Must be set here to avoid stupid warnings about stuff in BlinkyContainer
__pychecker__="no-classattr"
from a.infra.basic.return_codes impo... | [
"afeset@gmail.com"
] | afeset@gmail.com |
94bf7356f3d48bdfc47287276f41eed7452be922 | 85bbb285ff718b4a9d1e5253cbca956caa797cef | /final_homework/aplicacaoBackpropagation.py | c3bf6cd799e32bcd5ddc995915e0dff3e9e9d87e | [
"MIT"
] | permissive | ufpa-organization-repositories/artificial-neural-networks | e06c879e0fff56b1e411d4029455aed55ed022af | bfd3e62f9f8c353a1d3ca798928a7db5a6aabc50 | refs/heads/main | 2023-02-06T00:47:30.439505 | 2020-12-31T21:53:27 | 2020-12-31T21:53:27 | 325,877,789 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,295 | py | from trabalho_final.backpropagation_final import train_backpropagation, apply_backpropagation, plotErrors_comparative, plotErrors, plotPrediction
from openpyxl import load_workbook
import numpy as np
def get_jobs_dict_from_xls_file(sheet):
i = 2
end = False
jobs_dict = dict()
while not end:
if... | [
"noreply@github.com"
] | ufpa-organization-repositories.noreply@github.com |
42ece1f39c1f5399bf238d0fb7c8290cdb2b1c63 | 8b53a8b9803d92003f3a3a9e1b08def7642ba35d | /TALLERES/TAL3_while_for_20210217_cur/24_for_cantidadposinega.py | c2421bcc3ba9b187afd548dd15a87e6987d40c64 | [] | no_license | smarulan613/fundamentos_prog_20211_sebasmc | 637cdf9e1f61de0f876fe74530df4e6a5b40d6a6 | 0a87d81dae2bd5656a3e6a521585da661efe6cf6 | refs/heads/main | 2023-05-02T04:26:47.035698 | 2021-05-27T03:37:05 | 2021-05-27T03:37:05 | 356,059,108 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,180 | py | # -*- coding: utf-8 -*-
"""
Created on Mon Mar 22 20:30:45 2021
@author: R005
Se realiza la carga de 10 valores enteros por teclado. Se desea conocer:
a) La cantidad de valores ingresados negativos.
b) La cantidad de valores ingresados positivos.
c) La cantidad de múltiplos de 15.
d) El valor acumulado de l... | [
"noreply@github.com"
] | smarulan613.noreply@github.com |
c3df37dfd69f772144d4883938a9b4a5a692edda | 1af4ec17c474e5c05e4de1a471247b546f32c7c7 | /estruturas_controle_projetos/fibonacci_v2.py | efc514d236299b264bd9a5084cdc605c181e2cfe | [] | no_license | ribeiro-rodrigo-exemplos/curso-python | 825d09bb4284e65c3ba67bed8dcf8b29ac1c90eb | 101c610161775d73b46cc64a668451dfa65abf7d | refs/heads/master | 2020-05-18T06:43:37.263995 | 2019-06-17T09:32:58 | 2019-06-17T09:32:58 | 184,241,840 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 320 | py | #!/usr/bin/python3
def fibonacci(limite):
penultimo = 0
ultimo = 1
print(f'{penultimo},{ultimo}', end=',')
while ultimo < limite:
proximo = penultimo + ultimo
print(proximo, end=',')
penultimo = ultimo
ultimo = proximo
if __name__ == '__main__':
fibonacci(10000)
| [
"ribeiro.rodrigo1989@gmail.com"
] | ribeiro.rodrigo1989@gmail.com |
994198da0b3166b0feabb381eec0eee8b96ebd56 | 1e6a4cfd13d18a69807c77aa692933786ce95ef2 | /hackerrank/normal-distribution-2.py | b6cfc9397dcd4ed4c56b4635c55329233ba6ceeb | [] | no_license | harshloomba/procon | ae668c2730e25831bfabd1a5e099ad410e68557e | 14112c0b1730efd35ee2739bb9271b78d1f73fbc | refs/heads/master | 2021-01-12T06:40:36.801567 | 2016-12-20T07:45:04 | 2016-12-20T07:45:04 | 77,409,493 | 1 | 0 | null | 2016-12-26T22:15:45 | 2016-12-26T22:15:43 | null | UTF-8 | Python | false | false | 194 | py | #!/usr/bin/python
import scipy.stats
print('%.3f'%scipy.stats.norm.cdf(19.5, loc=20, scale=2))
print('%.3f'%(scipy.stats.norm.cdf(22, loc=20, scale=2)-scipy.stats.norm.cdf(20, loc=20, scale=2))) | [
"cielartisan@gmail.com"
] | cielartisan@gmail.com |
ad35e10d3db718ebe8a4ba2ce96dfd609dcfe5ff | 73b5d880fa06943c20ff0a9aee9d0c1d1eeebe10 | /tinyos-2.x-contrib/jhu/printf/TestPrintf/tos-printf.py | f7cd64dcd617fe26f357f6b75b48594e330ba138 | [] | no_license | x3ro/tinyos-legacy | 101d19f9e639f5a9d59d3edd4ed04b1f53221e63 | cdc0e7ba1cac505fcace33b974b2e0aca1ccc56a | refs/heads/master | 2021-01-16T19:20:21.744228 | 2015-06-30T20:23:05 | 2015-06-30T20:23:05 | 38,358,728 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 244 | py | #!/usr/bin/env python
import sys
import tos
if len(sys.argv) < 3:
print "Usage:", sys.argv[0], "/dev/ttyUSB0 115200"
sys.exit()
s = tos.Serial(sys.argv[1], int(sys.argv[2]), debug=False)
am = tos.AM(s)
while True:
p = am.read()
| [
"lucas@x3ro.de"
] | lucas@x3ro.de |
4abc877e595a0c8e1f1b45a98fcbb2ee5734cedf | 69badce73e4c2de51f6732973a46081021e46e07 | /assign_random_expression.py | a07e5db57abdacc530128fb45d7672c4f24aa264 | [] | no_license | chelseaju/Pseudogene | a71cac2f8d53472af7de5ee4b6ba6816be2eff6e | 5edc421e2ef4bcc1cf99a37cbbdddbf0879aa183 | refs/heads/master | 2016-09-10T00:11:00.927281 | 2014-05-23T15:34:07 | 2014-05-23T15:34:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,941 | py | """ assign_random_expression.py
Usage: python assign_random_expression.py -i input_data -o output_prefix -e expression_range
Input: gene in bed format, expression = [v1, v2, v3] for specific values or [min-max] for a range
Output: replicate the gene with randomly assigned expression value, output in bed format
Author... | [
"chelseaju@ucla.edu"
] | chelseaju@ucla.edu |
8b96922be120c090f99d7d1ff83d14bc7f915037 | a270a14424534c0fb1e40905daf55abcff401ef9 | /project/apps/bhs/migrations/0001_initial.py | 77a0b03c7bfce7ae20044f406dfbef253a302c4e | [
"MIT"
] | permissive | barberscore/membercenter-api | c116065230cf91f3f2b1297df875b9e95e787770 | 551361c4a4bad4e8847d76464c5a734671d612c1 | refs/heads/master | 2023-02-08T21:40:32.383012 | 2022-01-26T14:35:32 | 2022-01-26T14:35:32 | 199,342,645 | 1 | 0 | MIT | 2023-02-08T01:22:10 | 2019-07-28T22:19:50 | Python | UTF-8 | Python | false | false | 14,790 | py | # Generated by Django 2.2.4 on 2019-08-23 13:41
import apps.bhs.fields
from django.conf import settings
import django.contrib.postgres.fields
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import django_fsm
import model_utils.fields
import phonenumber_field.model... | [
"dbinetti@gmail.com"
] | dbinetti@gmail.com |
6d975a674102384d71a3996b7b42e97602f61a5c | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_265/ch25_2020_09_14_22_22_13_644888.py | ff4b3bb43a3ac7486a38a195d1b0b7ef36b780c5 | [] | 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 | 272 | py | import math
v = float(input('velocidade'))
a = float(input('angulo'))
d = (v**2) * (math.sin(2 * (a * (math.pi/180)))/9.8
if d <= 98:
print ('Muito perto')
else:
if d >= 102:
print ('Muito longe')
else:
print ('Acertou!') | [
"you@example.com"
] | you@example.com |
bf90df77c32d99a4880de2993bc034f20b2c7ef8 | e488a597d8027f4f50d0bcbc82ed1b9ee0764a03 | /manage.py | 3c800113c01c8842b06b9e7c2bf0c508a0532599 | [
"MIT"
] | permissive | uehara1414/locari_old | a7f3a8f8380a03f0d1b8e857cd091cbe84ee68ca | 03f03a369d0550cb5fe32f9f3e2fbe0d194b05de | refs/heads/master | 2021-06-18T02:27:34.124494 | 2017-06-20T08:22:16 | 2017-06-20T08:22:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 249 | py | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "locari.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| [
"b1015062@fun.ac.jp"
] | b1015062@fun.ac.jp |
92b9d4ccbbd19e81b1ad26fa9e0d08bd5ea83fc9 | 746d53d04927cbec42ca8a97cad3657120e7a3c6 | /chat/urls.py | ba06ce18e3c447df04f311769f248e9c0871921e | [] | no_license | nitin1011/Django-ChatApp | f42385996ee6b4ab626868c7e6ce89a9056af100 | d3a9ab0473b88e8f869b0d8861754d85e084caa5 | refs/heads/master | 2023-06-16T05:56:04.022866 | 2021-07-12T15:33:04 | 2021-07-12T15:33:04 | 270,917,610 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 936 | py | from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name='index'),
path('login', views.login, name='login'),
path('img-message-save', views.img_message_save, name='img-save')
path('user-list', views.user_list, name='user-list'),
path('room-create/<int:pk>', views.... | [
"nitinjethwani10@gmail.com"
] | nitinjethwani10@gmail.com |
c355981e9530dae78220ec82b50c10b8eddf5c8b | 7d096568677660790479d87c22b47aae838ef96b | /stubs-legacy/System/Windows/Media/Animation_parts/BackEase.py | 17c996d6d818fe3f2ae5e1d5be22834e29ece70a | [
"MIT"
] | permissive | NISystemsEngineering/rfmx-pythonnet | 30adbdd5660b0d755957f35b68a4c2f60065800c | cd4f90a88a37ed043df880972cb55dfe18883bb7 | refs/heads/master | 2023-02-04T00:39:41.107043 | 2023-02-01T21:58:50 | 2023-02-01T21:58:50 | 191,603,578 | 7 | 5 | MIT | 2023-02-01T21:58:52 | 2019-06-12T16:02:32 | Python | UTF-8 | Python | false | false | 7,182 | py | class BackEase(EasingFunctionBase,ISealable,IEasingFunction):
"""
Represents an easing function that retracts the motion of an animation slightly before it begins to animate in the path indicated.
BackEase()
"""
def CloneCore(self,*args):
"""
CloneCore(self: Freezable,sourceFreezable: Freezable)
... | [
"sean.moore@ni.com"
] | sean.moore@ni.com |
bdf58dba075bf1bbc89fe8173fa05c72f94b03db | 64a80df5e23b195eaba7b15ce207743e2018b16c | /Downloads/adafruit-circuitpython-bundle-py-20201107/lib/adafruit_bno055.py | 131fe799603a7a920786d0222687ab64169d7a34 | [] | no_license | aferlazzo/messageBoard | 8fb69aad3cd7816d4ed80da92eac8aa2e25572f5 | f9dd4dcc8663c9c658ec76b2060780e0da87533d | refs/heads/main | 2023-01-27T20:02:52.628508 | 2020-12-07T00:37:17 | 2020-12-07T00:37:17 | 318,548,075 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 31,782 | py | # The MIT License (MIT)
#
# Copyright (c) 2017 Radomir Dopieralski for Adafruit Industries.
#
# 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 limi... | [
"aferlazzo@gmail.com"
] | aferlazzo@gmail.com |
f5e47a18e5c3a589cd39dd336807e23367070c67 | 912b3b5321c7e26887af94cf2f97e4892c8c956a | /Day8/廖雪峰多线程/test2.py | 294a228fc3cd585263576520da610ab7723a6514 | [] | no_license | nmap1208/2016-python-oldboy | a3a614694aead518b86bcb75127e1ed2ef94604a | 873820e30aeb834b6a95bae66259506955436097 | refs/heads/master | 2021-05-31T04:43:14.636250 | 2016-05-06T01:24:39 | 2016-05-06T01:24:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 663 | py | # -*- coding:utf-8 -*-
import time, threading
# 假定这是你的银行存款:
balance = 0
lock = threading.Lock()
def change_it(n):
# 先存后取,结果应该为0:
global balance
balance = balance + n
balance = balance - n
def run_thread(n):
for i in range(100000):
# 先要获取锁:
lock.acquire()
try:
... | [
"yangk@ersoft.cn"
] | yangk@ersoft.cn |
31bb6c6cc9c26e6e160c9fc7b5389ff1cb62528c | f0d713996eb095bcdc701f3fab0a8110b8541cbb | /NhPYFqfQcFXWvdH8t_2.py | 23d1a5377d6848d740584c11c84658714375d0cd | [] | no_license | daniel-reich/turbo-robot | feda6c0523bb83ab8954b6d06302bfec5b16ebdf | a7a25c63097674c0a81675eed7e6b763785f1c41 | refs/heads/main | 2023-03-26T01:55:14.210264 | 2021-03-23T16:08:01 | 2021-03-23T16:08:01 | 350,773,815 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,464 | py | """
A positive integer multiplied times its inverse is always equal to 1:
`17*(1/17)==1`. Modular arithmetic has a similar inverse function, although,
for modulus `m`, we are confined to integers from 0 to m-1. The modular
multiplicative inverse of 3 modulus 5 is equal to 2 because `(3*2)%5==1`.
Another example: the... | [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
d491c5f3d91bfaeaba1d06f5f1b5e934c1636c66 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02879/s557266177.py | 2833160fcf67276e13d7d3dc797c92926211a307 | [] | 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 | 111 | py | a, b = map(int, input().split())
if a == 0 or a >= 10 or b == 0 or b >= 10:
print(-1)
else:
print(a*b) | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
96917818bb89354e93d8b593b695dc61553cfe66 | 2bdedcda705f6dcf45a1e9a090377f892bcb58bb | /src/main/output/company/kerberos_family/nano_change.py | 3562fa7f66fae15aa5e49bb3f6a0f30bd21627bf | [] | no_license | matkosoric/GenericNameTesting | 860a22af1098dda9ea9e24a1fc681bb728aa2d69 | 03f4a38229c28bc6d83258e5a84fce4b189d5f00 | refs/heads/master | 2021-01-08T22:35:20.022350 | 2020-02-21T11:28:21 | 2020-02-21T11:28:21 | 242,123,053 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,092 | py | using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Translator.API;
namespace CSharp_TranslateSample
{
public class Program
{
private const string SubscriptionKey = "950f1d8d2d6afd7204e328048990913e"; //Enter here the Key from your Microsoft Translator... | [
"soric.matko@gmail.com"
] | soric.matko@gmail.com |
05594f9404bbecc4958392eb4f9b7c21cdfaf737 | c5a8f5ba933ed5e6de481fe0168e92426df5fb1e | /src/contact/migrations/0002_auto_20161120_1730.py | b5d0d9b254772c360b1f0947094aa9d055703205 | [] | no_license | junaidq1/mycrm | f55bb8ac5fd203dadd3bffd22486a83c548ea903 | 98ceef90b8045dab06794bf542e58863eeded0ee | refs/heads/master | 2021-01-25T07:54:42.266283 | 2017-06-07T21:53:03 | 2017-06-07T21:53:03 | 93,681,917 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 608 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2016-11-20 17:30
from __future__ import unicode_literals
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('contact', '0001_initial'),
]
operations = [
migrations.Remo... | [
"junaidq1@gmail.com"
] | junaidq1@gmail.com |
761bfd105f0d4bdd999fc6428ce2a60d5950d138 | e238db1ae3e641d84af17e9cf6a881eb43b20039 | /hunt126.py | 759de831412f27dcd0e441bc71dd715e4b10c988 | [] | no_license | RevathiRathi/Revat | 1aa478f51b147e7b044d7519f54938eda0149619 | 792757fb56243846e3049889bf502014c62d658e | refs/heads/master | 2020-04-15T05:01:36.873956 | 2019-07-18T13:40:34 | 2019-07-18T13:40:34 | 164,406,245 | 0 | 4 | null | null | null | null | UTF-8 | Python | false | false | 178 | py | #r
s=input()
l=s.split(" ")
a=1
for i in range(len(l)):
if l[i][0].isupper():
a=1
else:
a=0
break
if a==1:
print("yes")
else:
print("no")
| [
"noreply@github.com"
] | RevathiRathi.noreply@github.com |
6df58b2902a463d5e4404635e1dd17a469dac1f5 | 41ede4fd3bfba1bff0166bca7aee80dcf21434c6 | /suvari/freetds/actions.py | 5f2c7449ada09c1ddfa0ea9ae8ffb4239a74aa0c | [] | no_license | pisilinux/playground | a7db4b42559a21cc72fd4c8649e0231ab6a3eb3c | e4e12fff8a847ba210befc8db7e2af8556c3adf7 | refs/heads/master | 2022-08-12T23:03:27.609506 | 2022-08-11T18:28:19 | 2022-08-11T18:28:19 | 8,429,459 | 16 | 22 | null | 2022-08-11T18:28:20 | 2013-02-26T09:37:11 | Python | UTF-8 | Python | false | false | 865 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
# if pisi can't find source directory, see /var/pisi/free... | [
"suvarice@gmail.com"
] | suvarice@gmail.com |
85b9fac8f48a6506e4dd08cc1d22f68820ffb083 | 6dedf9401746e934e87698f58eedb4631ea5f81b | /scrapy_demo/database/Mongodb_demo.py | 269b095a34dccb442d1114fbc09e62e6806dd70d | [] | no_license | 2415970940/scrapy | 0d03f9fe0cf121f637b7c5b03d328453c0ae35a7 | 5a1f4da0d92b3d80c1b95ed9fff0ab4bd02660bd | refs/heads/master | 2020-03-23T13:13:50.282118 | 2018-08-02T09:13:24 | 2018-08-02T09:13:24 | 141,607,064 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 788 | py | import pymongo
client = pymongo.MongoClient(host="127.0.0.1",port=27017)
db = client.foobar
collection = db.books
#插入
# collection.insert_one({"book_id":2,"name":"R"})
# collection.insert({"book_id":3,"name":"C"})
# collection.insert({"book_id":1,"name":"java"})
# collection.insert_many([{"book_id":333,"name":"C#"},{... | [
"2415970940@qq.com"
] | 2415970940@qq.com |
eed0e5aac4c700ee056823ad47a7f1edf8195304 | 91fe8f479fa921fa84111d19222a5c6aa6eff030 | /basis/progr-py/Internet/Web/PyMailCgi/cgi-bin/externs.py | 1710583c0a4d69fd4e46d2fe3230dd968cb2814e | [] | no_license | romanticair/python | 2055c9cdaa46894c9788d5797643283786ed46dd | 6f91fe5e7cbedcdf4b8f7baa7641fd615b4d6141 | refs/heads/master | 2022-11-03T17:17:17.608786 | 2019-07-05T07:07:29 | 2019-07-05T07:07:29 | 195,356,190 | 0 | 1 | null | 2022-10-14T20:51:14 | 2019-07-05T07:00:33 | Python | UTF-8 | Python | false | false | 598 | py | """
isolate all imports of modules that live outside of the PyMailCgi
directory, so that their location must only be changed here if moved;
we reuse the mailconfig settings that were used for pymailgui2 in ch13;
PP4E/'s container must be on sys.path to use the last import here;
"""
import sys
#sys.path.insert(0, r'C:\... | [
"1024519570@qq.com"
] | 1024519570@qq.com |
83cdfe82f0a2e1fe1c367149efecdbc189db2ab9 | ccbfc7818c0b75929a1dfae41dc061d5e0b78519 | /aliyun-openapi-python-sdk-master/aliyun-python-sdk-chatbot/aliyunsdkchatbot/request/v20171011/AddSynonymRequest.py | cf85cf64ae689ce0d238a59a4fc31533a2872f3e | [
"Apache-2.0"
] | permissive | P79N6A/dysms_python | 44b634ffb2856b81d5f79f65889bfd5232a9b546 | f44877b35817e103eed469a637813efffa1be3e4 | refs/heads/master | 2020-04-28T15:25:00.368913 | 2019-03-13T07:52:34 | 2019-03-13T07:52:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,297 | py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | [
"1478458905@qq.com"
] | 1478458905@qq.com |
3dcfe40fa01f719ce0a3aaec41ba9328770063ee | 0e1e643e864bcb96cf06f14f4cb559b034e114d0 | /Exps_7_v3/doc3d/Ablation4_ch016_ep003_7_10/Gather2_W_fixGood_C_change/ep0_test/pyr_5s/L7/step09_5side_L7.py | 1d94b5eba2cf5280359799bc11722359d58f27c3 | [] | no_license | KongBOy/kong_model2 | 33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307 | 1af20b168ffccf0d5293a393a40a9fa9519410b2 | refs/heads/master | 2022-10-14T03:09:22.543998 | 2022-10-06T11:33:42 | 2022-10-06T11:33:42 | 242,080,692 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 382,936 | py | #############################################################################################################################################################################################################
from step08_c_use_G_generate_I_w_M_to_Wx_Wy_Wz_focus_to_Cx_Cy_focus_combine import I_w_M_to_W_to_C
from step08_b_u... | [
"s89334roy@yahoo.com.tw"
] | s89334roy@yahoo.com.tw |
5e28056f6cb8eb92e8664dd7a68a738bb7ee3002 | 2b56aaec923a2e7939734c6743c934ad960aef38 | /Brute forcing/2798.py | 2b385fec38765871e4bd656b7f77c1190bb2017e | [] | no_license | SAE-HUN/Algorithms | 461757fd5167fed14d7b5aca88fe004a5892c91a | aa2cc4d04e506d762706ae62e93400f1b57c82f0 | refs/heads/master | 2023-05-11T22:42:32.125790 | 2021-06-01T05:21:06 | 2021-06-01T05:21:06 | 306,549,462 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 384 | py | (n, m), cards = map(int, input().split()), [*map(int, input().split())]
answer = 0
for i in range(n):
total = cards[i]
for j in range(i+1, n):
total += cards[j]
for k in range(j+1, n):
total += cards[k]
if total<=m and total>answer:
answer = total
... | [
"noreply@github.com"
] | SAE-HUN.noreply@github.com |
9bd1e8233a93200bd832c20f31800058c3077a58 | 02ea90f0e3a64a7c5fe17d6eb7f6267fe68ab515 | /.history/fizzbuzz_20210204120025.py | db9e24ad83bbd30ca3bed304279afe1ed670dd58 | [] | no_license | baggy2797/Leetcode | ec218b155ebb972cd793253f25c3e18117216703 | bb396d66d27bedfb2445a89b27e6f8fe3d1e5bce | refs/heads/master | 2023-06-24T17:03:42.708935 | 2021-02-28T21:09:25 | 2021-02-28T21:09:25 | 342,979,700 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 285 | py | # FizzBuzz is when the number is divisible by 3 print fizz when with 5 print buzz and
# when with both print FizzBuzz
for i in range(1,101):
if i%3 == 0:
print("fizz")
elif i%5 == 0:
print("buzz")
elif i%3 == 0 and i%5 == 0:
print("fizzbuzz")
| [
"bhagwataditya226@gmail.com"
] | bhagwataditya226@gmail.com |
016a2fd737c2fd553d9fb57be387fe031afeaf2e | c61a28aba19f7cdf9a5127e8a782bf115c265e70 | /apps/recruitpro/recruitpro/recruitpro/doctype/customer_group/test_customer_group.py | dc07c9f3ef69ae998de60a11ec8c4407c764a9c1 | [
"MIT"
] | permissive | sharmilaviji/RecruitPRO-NEW | fa72c8fc00f469a41798b1047c11dcc470fbc495 | dcfaedebe56b45acd6ddcab7e24c939b853a2c8c | refs/heads/master | 2021-05-26T12:14:12.611154 | 2020-04-27T04:40:50 | 2020-04-27T04:40:50 | 254,125,640 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 213 | py | # -*- coding: utf-8 -*-
# Copyright (c) 2020, teampro and Contributors
# See license.txt
from __future__ import unicode_literals
# import frappe
import unittest
class TestCustomerGroup(unittest.TestCase):
pass
| [
"sharmiviji1997@gmail.com"
] | sharmiviji1997@gmail.com |
955969396a69f7ef3255196500b2256a6b96802c | 4e37adc003e3be064161cfa1521b477fa75649fd | /py/api/ingredients/ingredients/api_client.py | 50adf5280b84e6d31ae43ff660ee38f13ea99933 | [] | no_license | stgpetrovic/junction2019 | ff97a1fb38262c0ea47905c4c61c9550271168c5 | 227da9ac06f1cd708d4649652a8d79bf776e41b2 | refs/heads/master | 2020-09-11T07:42:03.613409 | 2019-11-17T08:27:43 | 2019-11-17T08:28:05 | 221,989,977 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 26,095 | py | # coding: utf-8
"""
Ingredients API
Ingredient API is a REST-like API which keeps track of recipe ingredients and is integrated to the internal recipe creation tool (Reseptipankki). This service also integrates to Search API, which provides endpoints for searching default products for ingredients. API reque... | [
"stgpetrovic@gmail.com"
] | stgpetrovic@gmail.com |
312bff8bc26f5f66f1ccb4c04dc6184efe411745 | 464912df93cbed0be4ac62ab9e9a141110a682e4 | /5주차/2021-01-21/실습8.py | fbd98a6b2e3b6967b24df197df55e574c787601f | [] | no_license | ss-won/elice | 6dcc16497d3600f937d44c86c7ca17770b6c899b | 51bc23bcd07fdc38f2cb8b59fdb0a924cfcd9a52 | refs/heads/master | 2023-02-24T03:28:21.427153 | 2021-02-02T06:35:13 | 2021-02-02T06:35:13 | 323,913,018 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 707 | py | import pymongo
# 데이터베이스와 컬렉션을 생성하는 코드입니다. 수정하지 마세요!
connection = pymongo.MongoClient("mongodb://localhost:27017/")
db = connection["library"]
col = db["books"]
# 잘못 입력된 책 작가를 수정하기 위한 딕셔너리를 만드세요.
dt = {"title": {"$regex": "^Harry Potter"}}
# 잘못 입력된 책 작가를 수정하세요.
update_book = {"$set": {"author": "Joanne Kathleen Row... | [
"ss_won_@naver.com"
] | ss_won_@naver.com |
4f4850e5211d71c83dacc52a47ea6812853923d6 | de4d88db6ea32d20020c169f734edd4b95c3092d | /aiotdlib/api/functions/open_chat.py | bd1045de0d183241d568231168457c31d1a3af7a | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | thiagosm/aiotdlib | 5cc790a5645f7e4cc61bbd0791433ed182d69062 | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | refs/heads/main | 2023-08-15T05:16:28.436803 | 2021-10-18T20:41:27 | 2021-10-18T20:41:27 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,006 | py | # =============================================================================== #
# #
# This file has been generated automatically!! Do not change this manually! #
# ... | [
"pylakey@protonmail.com"
] | pylakey@protonmail.com |
e8c9639973f5cbba5a5b5d3271e2174b4bc22741 | f8d9f893a7afa667a9b615742019cd5c52ee2c59 | /core/domain/classroom_domain.py | 4ff53e9307818f00792115b90b9ce8ef7af5dad0 | [
"Apache-2.0"
] | permissive | FareesHussain/oppia | 2ac6c48aaea6a70452b79d665995f6ba6560f70d | 2862b7da750ce332c975b64237791f96189d7aa8 | refs/heads/develop | 2023-08-17T19:25:05.551048 | 2021-10-01T10:36:36 | 2021-10-01T10:36:36 | 323,160,532 | 2 | 0 | Apache-2.0 | 2020-12-20T20:38:45 | 2020-12-20T20:38:44 | null | UTF-8 | Python | false | false | 1,578 | py | # coding: utf-8
#
# Copyright 2018 The Oppia 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 requi... | [
"noreply@github.com"
] | FareesHussain.noreply@github.com |
57f76f29124eda374c85b34ae3862e28a2932dfd | b341d7630b19a8a65eefb985e102cffef6b64c09 | /products/views.py | a6acfbbd0b2dad1f84bc5f743c768543834d0ee2 | [] | no_license | mwesterhof/wapsandbox | e8f05ecfcfe9cfe9435653fb2a337b2ce62edb0a | 17e476de45527993fec4b61f92a62558864fe310 | refs/heads/master | 2020-03-24T17:55:04.090229 | 2018-09-07T13:54:49 | 2018-09-07T13:54:49 | 142,876,457 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 857 | py | from django.views.generic import DetailView, ListView
from .models import Category, Product
class ProductViewMixin:
def get_queryset(self, *args, **kwargs):
is_promotional = self.parent_page.is_promotional
categories = Category.objects.for_page(self.parent_page)
qs = super().get_queryset... | [
"m.westerhof@lukkien.com"
] | m.westerhof@lukkien.com |
37c48c23b7be9cf32742b7e542eaf0265fbbe4f0 | 91d1a6968b90d9d461e9a2ece12b465486e3ccc2 | /workdocs_write_1/document-version-upload_initiate.py | 9fad1e8b59da4cf5a40f8e1a94c5916cbe113180 | [] | no_license | lxtxl/aws_cli | c31fc994c9a4296d6bac851e680d5adbf7e93481 | aaf35df1b7509abf5601d3f09ff1fece482facda | refs/heads/master | 2023-02-06T09:00:33.088379 | 2020-12-27T13:38:45 | 2020-12-27T13:38:45 | 318,686,394 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,002 | py | #!/usr/bin/python
# -*- codding: utf-8 -*-
import os
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import write_one_parameter
# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/workdocs/initiate-document-version-upload.html
i... | [
"hcseo77@gmail.com"
] | hcseo77@gmail.com |
5c018e7907881a79730e30b52b2104684668078d | 29db04da44804aae807f113dc0bb9134563b084e | /Python2-Core/src/main/prompto/expression/MinusExpression.py | 2869c4269f89827ba9e04fa0d19e4e4cdc97b2cb | [] | no_license | prompto/prompto-python2 | 0f84e6e6f0f6889a4c866fc300d351fd7ee8a6b1 | f929df1dd55e0b5d8ec9f39398a924503fce4019 | refs/heads/master | 2022-12-07T12:41:27.297404 | 2022-11-27T17:37:43 | 2022-11-27T17:37:43 | 32,623,630 | 3 | 1 | null | 2019-05-04T11:01:41 | 2015-03-21T07:17:05 | Python | UTF-8 | Python | false | false | 1,439 | py | from prompto.expression.IUnaryExpression import IUnaryExpression
from prompto.type.DecimalType import DecimalType
from prompto.type.IntegerType import IntegerType
from prompto.type.PeriodType import PeriodType
from prompto.value.DecimalValue import DecimalValue
from prompto.value.IntegerValue import IntegerValue
from p... | [
"eric.vergnaud@wanadoo.fr"
] | eric.vergnaud@wanadoo.fr |
e466c34675fea90aba5644297eccdd16ee8c2029 | 42df16b7040ef555bf14be821d97c7f281971389 | /saleor/checkout/views/__init__.py | c5f281a16ae4768c48eb7326729b5fc1fbc549de | [
"BSD-2-Clause"
] | permissive | kevinchow924/saleor | 771a04261ed6ad8da0ed8d03ddb7d7e804645308 | 51fc0066c185dc6b772bf30f183c703d48663f59 | refs/heads/master | 2023-01-21T05:44:14.195240 | 2018-07-15T09:32:39 | 2018-07-15T09:32:39 | 141,014,036 | 0 | 0 | NOASSERTION | 2023-01-11T22:23:35 | 2018-07-15T09:22:41 | Python | UTF-8 | Python | false | false | 2,832 | py | from __future__ import unicode_literals
from django.shortcuts import redirect
from django.template.response import TemplateResponse
from .discount import add_voucher_form, validate_voucher
from .shipping import (anonymous_user_shipping_address_view,
user_shipping_address_view)
from .summary imp... | [
"439258969@qq.com"
] | 439258969@qq.com |
47c6705d2e9e3474a51e0b2b70a835180c9b4656 | 833b43575815ce6c5fa8cbac2628cb774331eda7 | /chap11_p214_code2.py | 6c637636049022de864694e17fc3d17309e3785d | [] | no_license | ai-times/infinitybook_python | d9529dfe7d486bf5c713d52b530915a23cbf1812 | 1c011c31994d07fe959bba9b519c4365f5f40e7f | refs/heads/main | 2023-03-01T12:18:20.695888 | 2021-02-14T04:22:40 | 2021-02-14T04:22:40 | 338,578,047 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 84 | py | for n in range (50, 70, 3) :
print("Count %d" % n )
print("종료합니다.")
| [
"wskim092@gmail.com"
] | wskim092@gmail.com |
a6c957528d583941d344a37f959a95dbce518f7c | acd41dc7e684eb2e58b6bef2b3e86950b8064945 | /res/packages/scripts/scripts/common/Lib/bsddb/test/test_compat.py | 3c92a6c23749f22ce92366bba8531e87eb5e71ee | [] | no_license | webiumsk/WoT-0.9.18.0 | e07acd08b33bfe7c73c910f5cb2a054a58a9beea | 89979c1ad547f1a1bbb2189f5ee3b10685e9a216 | refs/heads/master | 2021-01-20T09:37:10.323406 | 2017-05-04T13:51:43 | 2017-05-04T13:51:43 | 90,268,530 | 0 | 0 | null | null | null | null | WINDOWS-1250 | Python | false | false | 4,611 | py | # 2017.05.04 15:31:03 Střední Evropa (letní čas)
# Embedded file name: scripts/common/Lib/bsddb/test/test_compat.py
"""
Test cases adapted from the test_bsddb.py module in Python's
regression test suite.
"""
import os, string
import unittest
from test_all import db, hashopen, btopen, rnopen, verbose, get_new_database_p... | [
"info@webium.sk"
] | info@webium.sk |
97c1a6b22292f5c481478e46fd50a6048a81e94c | 3132f2da51a566a942c15fbb4bb0424cfd442a85 | /addons-own/website_sale_donate/models/res_config.py | 17af5ea435eba8613efd8d588f471e592a6ac6c4 | [] | no_license | alanljj/odoo_v8.0 | b3a640196a54a43937d4eae4ecb30fcab9da35b4 | 722c415d597c32407916157c4c81e3cc42d8180c | refs/heads/master | 2021-01-18T16:43:14.121307 | 2015-05-11T12:03:29 | 2015-05-11T12:03:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,734 | py | from openerp.osv import fields, osv
class website_sale_donate_config_settings(osv.osv_memory):
_inherit = 'website.config.settings'
_columns = {
# HINT: in addon website in res_config.py
# 'website_id': fields.many2one('website', string="website", required=True),
# defaults={'website_... | [
"michaelkarrer81@gmail.com"
] | michaelkarrer81@gmail.com |
e792483e2e3cd2a408e5f96b3df816dd44a1fab7 | 2eace10302ddcf5ad1af9ca4ff59306ca1ee0499 | /validate.py | 64a45a6e14143f98ffae7a35cb9ba60dcc1f0c5e | [] | no_license | MSiam/AdaptiveMaskedProxies | 9b4ab4e120e9d66d62da69f809cb4d7fa67981ad | cc0d3d1efc44df3cea92b195b8b064520b4e1b6c | refs/heads/master | 2023-04-01T10:02:14.513011 | 2020-11-23T16:55:02 | 2020-11-23T16:55:02 | 163,219,067 | 112 | 23 | null | 2023-03-24T22:33:00 | 2018-12-26T21:28:37 | Jupyter Notebook | UTF-8 | Python | false | false | 3,526 | py | import os
import sys
import yaml
import torch
import argparse
import timeit
import numpy as np
import scipy.misc as misc
import torch.nn as nn
import torch.nn.functional as F
import torchvision.models as models
from torch.backends import cudnn
from torch.utils import data
from tqdm import tqdm
from ptsemseg.models i... | [
"mennatul@ualberta.ca"
] | mennatul@ualberta.ca |
909fdc64bc5542109b82aeeec00f1ee6f374a499 | 71297da3cf9e0cc5e2e3eb29477ed77150bf93fa | /swea/10994.py | 03cc0f8b194d286bd352681f7970c370ee67d9eb | [] | no_license | Kangjinwoojwk/algorithm | 7c8e4189c384f7104225284e9e0a2e2a5cdd18df | c92da7410523d340240bbe9256cecf710c4e641e | refs/heads/master | 2022-11-15T19:11:33.918644 | 2022-11-10T03:13:50 | 2022-11-10T03:13:50 | 184,699,850 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,028 | py | for tc in range(1, int(input()) + 1):
N, K = map(int, input().split())
coin = [list(map(int, input().split())) for _ in range(N)]
cnt, price = 0, 0
print('#{} {} {}'.format(tc, cnt, price))
# 시간 초과
# for tc in range(1, int(input()) + 1):
# N, K = map(int, input().split())
# coin = [list(m... | [
"kjw03230@naver.com"
] | kjw03230@naver.com |
e6b6d449a0e6a9bfb63f3ac4d620ff5778b321c2 | 3395a234e7c80d011607e79c49cd48bf516f256b | /dependencies/jedi/third_party/django-stubs/django-stubs/templatetags/static.pyi | db254c7a0a7e38cce74260e6bbaf0332494852d0 | [
"MIT"
] | permissive | srusskih/SublimeJEDI | 67329b72e184bc9584843968dcc534a002c797a1 | 95c185d778425c04536d53517b0e3fe6dedf8e59 | refs/heads/master | 2023-08-24T11:30:37.801834 | 2022-08-30T09:04:17 | 2022-08-30T09:04:17 | 6,241,108 | 669 | 125 | MIT | 2022-08-30T09:04:18 | 2012-10-16T08:23:57 | Python | UTF-8 | Python | false | false | 1,170 | pyi | from typing import Any, Optional
from django.template.base import FilterExpression, Parser, Token
from django.template.context import Context
from django import template
register: Any
class PrefixNode(template.Node):
varname: Optional[str] = ...
name: str = ...
def __init__(self, varname: Optional[str] ... | [
"xigmatron@gmail.com"
] | xigmatron@gmail.com |
f1f4c3bd5b1b9572047bf0e6d72dd99beeae797c | 621a40fa363dc0c32c96a4c8fdfe9142877e2ff1 | /ietf/utils/templatetags/htmlfilters.py | 4bae6da2ad5c6016c9d9b1ca37eb5051da47d458 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | omunroe-com/ietfdb2 | d9c40bebe4b25059f810c70dd1370cca30cb3c36 | aeaae292fbd55aca1b6043227ec105e67d73367f | refs/heads/master | 2020-04-04T21:05:56.067430 | 2018-11-05T09:08:27 | 2018-11-05T09:08:27 | 156,273,382 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 444 | py | # Copyright the IETF Trust 2017, All Rights Reserved
from __future__ import unicode_literals
from django.template.library import Library
from django.template.defaultfilters import stringfilter
from ietf.utils.html import remove_tags
register = Library()
@register.filter(is_safe=True)
@stringfilter
def removetags(v... | [
"henrik@levkowetz.com"
] | henrik@levkowetz.com |
6c9c6df3aea6a896bab66a8611312ff06d97ef9b | c452b223adf390edddf4339dd7360fe6de66b8d8 | /common/serializers/related_party/__init__.py | 16d6e630b6d3f27913668b51cb89b4d9b565c700 | [] | no_license | dev1andriy/creditbase_server | a321b16976c7cfe87d3ee5cfaf700850ea1b689c | 4ee067e175a1cca3f907a61ebc3d369ecdcebd66 | refs/heads/master | 2023-05-13T17:13:23.486966 | 2020-07-16T07:50:56 | 2020-07-16T07:50:56 | 280,089,440 | 0 | 0 | null | 2021-06-10T23:10:15 | 2020-07-16T07:49:41 | Python | UTF-8 | Python | false | false | 53 | py | from common.serializers.related_party.owner import *
| [
"dev1@azon5.com"
] | dev1@azon5.com |
7ed4c38a33e6a885ed0e3a2de7e68774362e02f6 | 357c69a0441089b1cf5b62a0e21825488f02b4f9 | /analytics/migrations/0001_initial.py | 60fd7c5bfd326a9bf3669208fc030ac034c7c70e | [] | no_license | OBAA/oneoverthree_subdomain | 3e40d5ae6a59bf4b97afb4d475d6fa9c736ee170 | 57b42058cb7c49b3b37f5aa1e444dc4650da9188 | refs/heads/master | 2022-12-11T16:13:02.152275 | 2019-03-26T18:53:28 | 2019-03-26T18:53:28 | 157,768,081 | 1 | 0 | null | 2022-11-22T02:56:19 | 2018-11-15T20:23:58 | HTML | UTF-8 | Python | false | false | 2,115 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2018-11-11 17:15
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migratio... | [
"agbanabolu@gmail.com"
] | agbanabolu@gmail.com |
03a7b75fa155f5e77a3f0267f8118bfd799cdc91 | 9d660f32696fff505fe5f2e0e0d3dbb5f2c4edcc | /backend/manage.py | 32f65fb8fe00ad6a5bd7393bb1303edef4da2408 | [] | no_license | crowdbotics-apps/hiphop-over-everyth-20597 | 5cc3625d36384b0e5e04fd517353e66903316b40 | 2b662df82c0ae3a72c475616d20af4d5f18a1d5e | refs/heads/master | 2022-12-18T05:57:46.643265 | 2020-09-23T05:07:06 | 2020-09-23T05:07:06 | 297,858,612 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 645 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'hiphop_over_everyth_20597.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
19b5eb28bab0f5c898a4f580371591eb67075b02 | 30a2292002e16ed9f47df6d19a1507b078a80025 | /temporizadorTK.py | d783e6000f1ae0742d184b905b1e3f3ab4022f31 | [] | no_license | apdaza/Temporizador | 01d47e385bb367cfa353487cb304b480618d9e0c | 5b969dd73a63cccff289b5faf55ec578df97fc23 | refs/heads/master | 2020-06-20T10:40:29.653820 | 2019-07-17T22:09:12 | 2019-07-17T22:09:12 | 197,097,409 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,915 | py | from Tkinter import *
from threading import *
from time import sleep
from temporizador import *
class InterfaceCronometros(Thread):
def __init__(self):
self.root = Tk()
self.crono = Temporizador()
#self.crono.cambiarEstado()
self.frame = Frame(self.root)
self.frame.pack()
... | [
"apdaza@gmail.com"
] | apdaza@gmail.com |
12de2ae0d6cb3e519306c02ab64bcf7192e772ec | 30258c8e9c35a21fa3ef13c68dfddd23c56568d6 | /interview_bit/bits/num_of_1s.py | 6c5cce1c8eed5c6039cd462d32f7dd02ea275afc | [] | no_license | venkatachiranjeevi/algorithms | 3e6d525be36ee34f969d49959df1aaad35fcb1d5 | 83724f647102acba00dd028a81e09888ce980785 | refs/heads/master | 2021-06-11T05:23:57.080523 | 2020-04-14T05:16:20 | 2020-04-14T05:16:20 | 128,548,617 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 209 | py | __author__ = 'venkat'
class Solution():
def numSetBits(self, A):
count = 0
while A:
A &= (A-1)
count += 1
return count
print Solution().numSetBits(1235) | [
"chiranjeevi.kokku@tjnovandi.com"
] | chiranjeevi.kokku@tjnovandi.com |
f2a7d34bd79f471efb323c763cd8d377c65196a0 | 6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4 | /NRxWszQRw5JqSDmQS_15.py | 80b7526fc9ed093feacf4c259ee6a1563cff545b | [] | no_license | daniel-reich/ubiquitous-fiesta | 26e80f0082f8589e51d359ce7953117a3da7d38c | 9af2700dbe59284f5697e612491499841a6c126f | refs/heads/master | 2023-04-05T06:40:37.328213 | 2021-04-06T20:17:44 | 2021-04-06T20:17:44 | 355,318,759 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 51 | py |
def divides_evenly(a, b):
return a%b==int()
| [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
68a4a1cb4a4ac3818258a93887e8b75a90a87b4f | 72af8e47d5786571bce1789fc047965de4f9ac92 | /setting.py | d3f5b1522f40c7c575601d45399519e344b3aaa6 | [] | no_license | 444thLiao/WES_pipelines | 18d488e7c01ca618b8a6916979e2d8f64d1aa631 | 06365dc6d91b8c1861c053970e2823c322e5814d | refs/heads/master | 2022-01-20T17:59:11.688758 | 2019-07-17T06:43:44 | 2019-07-17T06:43:44 | 93,579,804 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,172 | py | # setting file , we normally just verify the path of executor.
##############################################################
##
## Usually you need to change part.
##############################################################
##Noramlly need to change part
### Change Change
from os.path import dirname, join
proj... | [
"l0404th@gmail.com"
] | l0404th@gmail.com |
2b03e8dbd6f99efc38ae92ec7a91b55b4b87e86e | 65c001b5f572a6b0ca09dd9821016d628b745009 | /frappe-bench/env/lib/python2.7/site-packages/stdnum/ie/vat.py | 8db582c15d2d8229616ab03b103a1547bea2a2b7 | [
"MIT"
] | permissive | ibrahmm22/library-management | 666dffebdef1333db122c2a4a99286e7c174c518 | b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506 | refs/heads/master | 2022-10-30T17:53:01.238240 | 2020-06-11T18:36:41 | 2020-06-11T18:36:41 | 271,620,992 | 0 | 1 | MIT | 2022-10-23T05:04:57 | 2020-06-11T18:36:21 | CSS | UTF-8 | Python | false | false | 3,711 | py | # vat.py - functions for handling Irish VAT numbers
#
# Copyright (C) 2012-2016 Arthur de Jong
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (a... | [
"iabouelftouh@trudoc24x7.com"
] | iabouelftouh@trudoc24x7.com |
6e8b4e5bc64795a1253c6e24f59db9b635066da5 | 8a298d385aafdf5e5780e2b45d3708670b28d04d | /scripts/resolveConflicts.py | 9e1de8a3e5aa17d5ddd11c33887d9ef35b210a32 | [
"MIT"
] | permissive | jakelever/biowordlists | 13459831ea01dcec90a8c088d89a98c38b156dc2 | 98c634970ce4dccdbf2cabca5e799180860f7778 | refs/heads/master | 2023-04-14T16:23:29.827805 | 2023-04-03T12:43:45 | 2023-04-03T12:43:45 | 136,779,299 | 13 | 5 | null | null | null | null | UTF-8 | Python | false | false | 1,509 | py | import argparse
from collections import defaultdict
def main():
parser = argparse.ArgumentParser(description='')
parser.add_argument('--wordlist',required=True,type=str,help='Wordlist to help resolve conflicts')
parser.add_argument('--conflicts',required=True,type=str,help='File with conflicting terms (separated by... | [
"jlever@bcgsc.ca"
] | jlever@bcgsc.ca |
37e3b158cbe0a4eee825e295b431f3f480460493 | 65409b2eac31e68d2329bbf4f771ba36b6b8851b | /WebApplicationFireWall/WebApplicationFireWall/asgi.py | 01dd6d0883b7af822fcd0938bf12299ec91a25e8 | [] | no_license | luminartechnolabkochi/luminarstudentproject | 7b1d76d76fd772dd03f15543d4a64d9a7253e3a6 | d98f58cf481da034d4bdc1ebcd6c450adbfa76f7 | refs/heads/master | 2023-05-10T12:53:57.045576 | 2021-06-10T02:56:00 | 2021-06-10T02:56:00 | 375,319,244 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 421 | py | """
ASGI config for WebApplicationFireWall project.
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefaul... | [
"sajaykannan10@gmail.com"
] | sajaykannan10@gmail.com |
02ae02368918e9761f369f09755e5a3d24970c29 | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_348/ch167_2020_06_17_14_20_28_808178.py | 70dd870410b19a010a0c46ef1afa6fd261136244 | [] | 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 | 413 | py | def bairro_mais_custoso (bairros):
for bairro, lista_gastos in bairros.items():
maior_gasto = 0
total_gastos = 0
i = 6
while i < 12:
total_gastos = total_gastos + lista_gastos[i]
i = i + 1
if total_gastos > maior_gasto:
maior_gasto ... | [
"you@example.com"
] | you@example.com |
5c232ecfbe0af120267e786000c7b9ca1a4cf91d | 182d36353a6e33dc1f27f2dc7c0ae95577941dca | /liaoxuefeng/m_base64.py | d907c298945515d46562e18426b8cd63219bd659 | [] | no_license | tp-yan/PythonScript | d0da587162b1f621ed6852be758705690a6c9dce | 497c933217019046aca0d4258b174a13965348a7 | refs/heads/master | 2020-09-02T02:49:20.305732 | 2019-12-01T06:54:19 | 2019-12-01T06:54:19 | 219,115,755 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,921 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Nov 1 17:48:18 2019
@author: tangpeng
Base64:一种任意二进制到文本字符串的编码方法,常用于在URL、Cookie、网页中传输少量二进制数据。
Base64是一种通过查表的编码方法,不能用于加密,即使使用自定义的编码表也不行。
Base64适用于小段内容的编码,比如数字证书签名、Cookie的内容等。
Base64的原理很简单,首先,准备一个包含64个字符的数组:
['A', 'B', 'C', ... 'a', 'b', 'c', ... '0', '1... | [
"tp1084165470@gmail.com"
] | tp1084165470@gmail.com |
d6c2ad847eb2cb19e93b2c961d8ceaefdf9df80e | 84e300c44611761bc241f1e8d7e898ba38508550 | /broken-calculator/three.py | 6c9216775f0585cce3ca9e08a383cf6315abb9d7 | [] | no_license | spezifisch/leetcode-problems | d9b3c4f4120b054d0692e9ed7fb2865981273d43 | 5a4d095683a0335dc56ec79cd99143ec96bc52a9 | refs/heads/master | 2022-07-11T21:01:00.883808 | 2022-02-02T10:16:36 | 2022-02-02T10:16:36 | 174,756,494 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 442 | py | class Solution:
def brokenCalc(self, X: int, Y: int) -> int:
ops = 0
while X < Y:
ops += 1
if Y % 2 == 1:
Y += 1
else:
Y //= 2
return ops + X - Y
# Runtime: 36 ms, faster than 57.58% of Python3 online submissi... | [
"spezifisch@users.noreply.github.com"
] | spezifisch@users.noreply.github.com |
094ee8c2857c1bf1c7b79f5f77e9c4fc030412cd | 92d20de51f5bb380a2d23dbcc37d33ffb2d939dc | /checking_usernames.py | 7eb39786fbb6f4d1fa02abf91470b4b6b00855d2 | [] | no_license | pzrsa/pcc2-work | 082de24c3b934d40c05f5b5445e01c26d487e4f5 | e37f5e9c19e962e6ba172b43682375d1b5ecf9ab | refs/heads/main | 2023-08-02T00:49:50.736677 | 2021-06-08T16:44:05 | 2021-06-08T16:44:05 | 375,075,723 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 298 | py | current_users = ['parsa', 'john', 'steve', 'adam', 'frankie']
new_users = ['parsa', 'john', 'elon', 'paul', 'bill']
for user in new_users:
if user in current_users:
print(f"{user} has already been taken. Please enter a new username.")
else:
print(f"{user} is available!") | [
"parsamesg@gmail.com"
] | parsamesg@gmail.com |
9d9f7dbae2fd17bb237c802e965fe2a7feaa51f4 | f0dd7250602bd2be54fccda64b1c3838411cdfb8 | /babilon_v1/migrations/0025_positionorder_extra_price_left.py | e79da0b5382aeb7b059cf5896b6e78b7095972fb | [] | no_license | KennyDaktyl/babilonpremium | a4adef0488e388dfa873f68bfaa75c35596deefe | fc72402805dcb4b32396b7f81d9e06be516f9028 | refs/heads/master | 2021-09-06T23:24:41.863494 | 2021-08-24T09:27:48 | 2021-08-24T09:27:48 | 213,207,259 | 2 | 0 | null | 2021-08-24T09:28:33 | 2019-10-06T16:54:24 | JavaScript | UTF-8 | Python | false | false | 465 | py | # Generated by Django 2.2.7 on 2019-12-09 15:10
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('babilon_v1', '0024_auto_20191209_1415'),
]
operations = [
migrations.AddField(
model_name='positionorder',
name='ext... | [
"krakow@miktelgsm.pl"
] | krakow@miktelgsm.pl |
b2adcbbf598fe0e28ce09fbccacdd8352694b70e | 7a4e742348145cf851020baa88f07e8c75e5f54b | /wikiblog/apps.py | 301f6c874ddfd3977b6b10e17e049eb56e3b4f79 | [] | no_license | jamesaud/LittleFreeLibrary | b1022baf384e848341003a827dd31124a2f5be83 | 196c10edbb4cf33c082a81032b55d5c8abc71551 | refs/heads/master | 2020-12-21T01:18:53.703122 | 2016-08-09T19:18:14 | 2016-08-09T19:18:14 | 58,175,288 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 91 | py | from django.apps import AppConfig
class WikiblogConfig(AppConfig):
name = 'wikiblog'
| [
"jamaudre@indiana.edu"
] | jamaudre@indiana.edu |
e99d4d8783010e34d441a762c4a0f1ffd1105a2a | c032a4c0f3f8bce2e9271df49a3113509ac80be8 | /code/python/echomesh/expression/UnitConfig.py | 8159dc31781b186073b75647750fbe58c8bfaec5 | [
"MIT"
] | permissive | neteler/echomesh | e36fad86f84188014515ab4d67790f776b149280 | 23fdc02f852d7f2fd8e118da2e75be9612ada8c7 | refs/heads/master | 2020-12-03T09:12:09.665447 | 2014-07-05T18:39:24 | 2014-07-05T18:39:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 779 | py | from __future__ import absolute_import, division, print_function, unicode_literals
import sys
from echomesh.base import Config
from echomesh.base import GetPrefix
from echomesh.expression import Expression
from echomesh.util.thread import Lock
class _Client(object):
def __init__(self):
self.clients = {}
se... | [
"tom@swirly.com"
] | tom@swirly.com |
e580d2d522b62c3ba20b9160a99af0a3bb0f72d1 | 479a0afe76ee1a90b2e72acc02af933ab3046134 | /redis_cache/redis_cache/flush_singal_blog.py | a98682ee5f88bea8c317ad7f6be06a8570483bac | [] | no_license | 0428402001/appserver | a9b86d874b89bdf1d092adec5c1732a6f924f468 | d7da440a7940eed229ff7a710ab3a6b96da7b007 | refs/heads/master | 2021-01-12T15:59:34.084804 | 2016-10-24T08:28:39 | 2016-10-24T08:28:39 | 69,328,962 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,869 | py | # coding=utf-8
import sys
reload(sys)
sys.setdefaultencoding('utf8')
import json
import os
import time
import subprocess
import re
cur_dir = os.path.dirname(__file__)
p_dir = os.path.dirname(cur_dir)
g_dir = os.path.dirname(p_dir)
sys.path.append(g_dir)
sys.path.append(p_dir)
cur_dir = os.path.abspath('.')
p_dir =... | [
"root@localhost"
] | root@localhost |
b1f6df956049bba7f628a80f49d574f1e6082d60 | 1f468bc6edd2619c4fcc213f44fc64db129eaa51 | /tf_agents/agents/categorical_dqn/examples/train_eval_atari.py | 56b81501bd822776009aa85743c2e2e74a986fef | [
"Apache-2.0"
] | permissive | sanket-kamthe/agents | 8ae89da7d581d6d9165ad87ad10d10375e7f4d68 | 5876d78cacaec1cf5994f93ad0aa48f347f7fff0 | refs/heads/master | 2021-06-21T03:09:46.953822 | 2021-02-05T22:19:15 | 2021-02-05T22:19:15 | 181,042,465 | 2 | 0 | Apache-2.0 | 2021-02-05T22:19:16 | 2019-04-12T16:12:06 | Python | UTF-8 | Python | false | false | 27,378 | py | # coding=utf-8
# Copyright 2020 The TF-Agents Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
cc887b46e7716890bb4ac32ba372d590652a9717 | 50948d4cb10dcb1cc9bc0355918478fb2841322a | /azure-mgmt-policyinsights/azure/mgmt/policyinsights/models/remediation_filters.py | 3dec242259bfa989a92ea51f36dcec92c89002d8 | [
"MIT"
] | permissive | xiafu-msft/azure-sdk-for-python | de9cd680b39962702b629a8e94726bb4ab261594 | 4d9560cfd519ee60667f3cc2f5295a58c18625db | refs/heads/master | 2023-08-12T20:36:24.284497 | 2019-05-22T00:55:16 | 2019-05-22T00:55:16 | 187,986,993 | 1 | 0 | MIT | 2020-10-02T01:17:02 | 2019-05-22T07:33:46 | Python | UTF-8 | Python | false | false | 980 | 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 ... | [
"lmazuel@microsoft.com"
] | lmazuel@microsoft.com |
47f8dcbd91598d3dec8bb0b763775bd655d366f1 | e82807c1eebebe4ab624e6e70cecd0f664f23c0f | /src/chap07/02_ClassVar.py | 04cf7a47624849ba33b7f93279910869f27cb50b | [] | no_license | hoonest/PythonStudy | 173ced8954562eb373ce07b244c0005c8e637cdd | b80e975f1c09951c1f2e2ab2be909c0ae7df738d | refs/heads/master | 2020-04-19T22:20:54.970772 | 2019-02-01T03:42:05 | 2019-02-01T03:42:05 | 168,466,314 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 313 | py | class ClassVar:
text_list = [] # 클래스 멤버(인스턴스가 공유하는 멤버로 사용)
def add(self, text):
self.text_list.append(text)
def print_list(self):
print(self.text_list)
if __name__ == '__main__':
a = ClassVar()
a.add('a')
a.print_list() | [
"hoonest01@gmail.com"
] | hoonest01@gmail.com |
64f730ec8af272886af2dfbb8043d2706f0ec485 | 080abba2ec9500c1fd4c91310126904563d7ef46 | /backend/users/migrations/0002_auto_20210203_0716.py | 79c2915ef86cf62fac5dd93087fb3a198ab08ee7 | [] | no_license | crowdbotics-apps/avor-app-24234 | a4de8229677083d600bd75dcfa7c596732003dad | 675ac1d184e518b170f9172e17b048afc79a3635 | refs/heads/master | 2023-02-26T14:48:41.017907 | 2021-02-03T10:37:12 | 2021-02-03T10:37:12 | 335,539,114 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 569 | py | # Generated by Django 2.2.18 on 2021-02-03 07:16
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='user',
name='email',
field... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
73bc3f08b69ae036b1de75923e9c1c1cdb5ae6af | aa1972e6978d5f983c48578bdf3b51e311cb4396 | /nitro-python-1.0/nssrc/com/citrix/netscaler/nitro/resource/config/appfw/appfwprofile_contenttype_binding.py | a8bcfda9466e20590b162ecda9c3dffffc651442 | [
"Python-2.0",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | MayankTahil/nitro-ide | 3d7ddfd13ff6510d6709bdeaef37c187b9f22f38 | 50054929214a35a7bb19ed10c4905fffa37c3451 | refs/heads/master | 2020-12-03T02:27:03.672953 | 2017-07-05T18:09:09 | 2017-07-05T18:09:09 | 95,933,896 | 2 | 5 | null | 2017-07-05T16:51:29 | 2017-07-01T01:03:20 | HTML | UTF-8 | Python | false | false | 10,317 | py | #
# Copyright (c) 2008-2016 Citrix Systems, Inc.
#
# 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 l... | [
"Mayank@Mandelbrot.local"
] | Mayank@Mandelbrot.local |
fa0301efd57dc9d0d8283e708d84b6fc6873f7f7 | 966280ab617298a3ced79bc60189b301c795067a | /String/165_compare_version_numbers.py | f8f5deb680d16a39d3cae0e7f9b6b89adb740825 | [] | no_license | Rishabhh/LeetCode-Solutions | c0382e5ba5b77832322c992418f697f42213620f | 2536744423ee9dc7da30e739eb0bca521c216f00 | refs/heads/master | 2020-06-10T02:37:42.103289 | 2019-05-29T06:38:02 | 2019-05-29T06:38:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 877 | py | class Solution:
def compareVersion(self, version1, version2):
"""
great problem to think about corner cases.
what if two versions are same for mutual depth but longer one has '0.0.0' postfix?
e.g. '1.0.0.1.0.0', '1.0.0.1'
:type version1: str
:type version2: str
... | [
"weihewang2012@gmail.com"
] | weihewang2012@gmail.com |
22f4c335cf4b808699ad8d7d6e690d038e60574c | 7909c4801c0f951cd959e8666288038f43f435d0 | /demos/example_utilities/remote_debugging/application.py | 7e782ad7b17e537237d8c29cb1692f7c58440941 | [] | no_license | PyrokinesisStudio/PyAuthServer | e2cbc9e31b4ba8cf3108d7eebf38c9db0c4d6c04 | 1209908c8ddb88746762ad1fb9de81f26f99c8a7 | refs/heads/master | 2020-03-16T12:29:49.266764 | 2016-04-08T11:42:31 | 2016-04-08T11:42:31 | 132,668,004 | 1 | 0 | null | 2018-05-08T21:37:52 | 2018-05-08T21:37:51 | null | UTF-8 | Python | false | false | 313 | py | from .client import application as client_application
from .server import application as server_application
def run():
result = input("Choose peer type: Server(s), Client(c)\n>>>")
applications = {'c': client_application, 's': server_application}
application = applications[result.lower().strip()]() | [
"goosey15@gmail.com"
] | goosey15@gmail.com |
f0790e3d03482daf67926a86f6305be725aa972f | 7c922b3b5368ba5ee35fe45f1a0afb377d072142 | /deep_control/envs.py | d00592d2d4387b8f9ef05a550c0741e9a7320d20 | [] | no_license | zivzone/deep_control | 3a27f8d0327de4c61460890f592ae3d910c1748c | 7b15f9876f09b9c393973c6246a117ff524f8c0d | refs/heads/master | 2023-01-01T02:47:31.048675 | 2020-10-18T18:43:10 | 2020-10-18T18:43:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,216 | py | import argparse
import random
from collections import deque
import gym
import numpy as np
class ChannelsFirstWrapper(gym.ObservationWrapper):
"""
Some pixel-based gym environments use a (Height, Width, Channel) image format.
This wrapper rolls those axes to (Channel, Height, Width) to work with pytorch
... | [
"jcg6dn@virginia.edu"
] | jcg6dn@virginia.edu |
e275bea9fa5a94f079cab7af3129a7d3bd9dc4b2 | a962247e51ba04c6a91a5d3091e222a6bb262266 | /basic/1011.py | c8f1cfbd82d0cc14fc82d7e93c12a9214b60bb74 | [] | no_license | OhYee/PAT | 7a62c48d1e4da8bc77798a23346e6b2e343584ec | cc6a9b90b895b29014f61073a7d5b03b2865b502 | refs/heads/master | 2020-03-19T07:51:13.148298 | 2018-07-08T10:37:51 | 2018-07-08T10:37:51 | 136,154,288 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 187 | py | n = int(input())
for i in range(n):
read = [int(i) for i in input().split(" ")]
print("Case #%d: %s" %
(i + 1, "true"if read[0] + read[1] > read[2] else"false"))
| [
"oyohyee@oyohyee.com"
] | oyohyee@oyohyee.com |
6850fed63a40a3c675353448c1897e9ff2f6a0ad | f9d5bc590bd6c6274d7a6efec0f60cac1d8286b2 | /assets/coins/litecoin/litecoinCreateGraphBlockchainSize.py | 43a0570f0e8b97c5aded4059a93d1edfd4f260a1 | [] | no_license | pr0logas/grepblockBEpython | 35c83c1bf2114fc9417bedff6cf2a6e2ad2e667e | bbeaa290d13d80f993d843c7f1dbbfd373eee332 | refs/heads/master | 2022-10-03T23:35:44.600740 | 2020-03-09T08:24:53 | 2020-03-09T08:24:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,392 | py | #:: By GrepBlock.com developers // pr0logas, mrNemo
#:: Modified date: 2019-11-30
#:: Description: This file is a workspace for assetGraph creation.
import sys, time
from datetime import datetime, timedelta
from time import gmtime, strftime
from litecoin import *
sys.path.append('../../../')
from mongoDB import *
from... | [
"tomas@dappradar.com"
] | tomas@dappradar.com |
d4993cfb8a6dda8f585626efa3a3ec860b3bd26e | 8c3a8c6afcdd7f4c6ecf5d995e8a8cb526457857 | /bin/machdeblend-test | 5bdc94d5e8780982dc8185e759c945205d7605b1 | [] | no_license | esheldon/machdeblend | c8e13f5ad313bd7063c555d046b3ae6fd7204bb3 | b4c6b735ef14d98265cea35dc8e53ab84342bab1 | refs/heads/master | 2020-03-25T18:59:06.110165 | 2018-08-20T17:32:55 | 2018-08-20T17:32:55 | 144,059,214 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,949 | #!/usr/bin/env python
from machdeblend import ImageMaker
from argparse import ArgumentParser
parser=ArgumentParser()
parser.add_argument('--ntrials',type=int,default=1)
def show_both(im, scene_im, is_last):
try:
# my image plotting
import images
import biggles
tab=biggles.Table(1,... | [
"erin.sheldon@gmail.com"
] | erin.sheldon@gmail.com | |
339726d2c96e719172257850202b29928e96d684 | 89ff43bb8bd3380c0d4309800afb0ce7bfb1b887 | /plot_figures_paper/plots_paper.py | 2ad7aadfe085f2fc6e85b105bea73e94b36d9b90 | [] | no_license | LucianoAndrian/assessment_SH_zonal_asymmetries | 3790df79dfbf5e3c28f58ab6524c78ae900b8d33 | 9f9956430a247f1541e4fe5c05a5e21f9b049beb | refs/heads/master | 2023-02-05T09:08:27.903996 | 2020-12-29T20:29:34 | 2020-12-29T20:29:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 17,733 | py | import numpy as np
from numpy import ma
import matplotlib.pyplot as plt
import cartopy.crs as ccrs
import cartopy.feature
from cartopy.mpl.ticker import LongitudeFormatter, LatitudeFormatter
import matplotlib.path as mpath
from matplotlib.transforms import offset_copy
def PlotCompositesdivPF(var, lat, lon, title, filen... | [
"marisolosman17@gmail.com"
] | marisolosman17@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.