blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
2a5ef98d330433d63f3ebb4b07961981e3d2601d
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_052/ch82_2020_04_11_04_25_23_221825.py
c0b616b97e6ba99093b63c1722c5d1193e481fcd
[]
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
195
py
def primeiras_ocorrencias (string): dic = [] c = 0 for i in string: if i not in dic: dic[i] = c c += 1 else: c += 1 return dic
[ "you@example.com" ]
you@example.com
7852704fd4b2ea3349e91c56f7ea1a87385d5951
857320b8fa93158e520fc9e395581d5c2b12bad1
/run_experiment.py
516bda3257b61cb9834e110cacf7683c7e2da1a5
[]
no_license
skeate/cs7641-p3
9e12e8124a5166f097c908ac1863f058dba981c5
4787f00c1890b1da56cd6dc7b6358b80ae68f6da
refs/heads/master
2020-05-01T12:03:03.770456
2019-03-24T19:15:28
2019-03-24T19:15:28
177,457,868
0
0
null
null
null
null
UTF-8
Python
false
false
6,426
py
import argparse import logging import sys import random as rand import numpy as np import experiments from experiments import plotting from datetime import datetime from data import loader # Configure logging logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s') logge...
[ "skeate@gmail.com" ]
skeate@gmail.com
a27a24a181fc2849c2f637399bf591a59836fb30
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/155/usersdata/264/65774/submittedfiles/investimento.py
13ab510d61f515c0ee32508d5ab2795715e339e8
[]
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
523
py
# -*- coding: utf-8 -*- from __future__ import division #COMECE SEU CODIGO AQUI #Entrada: i= float(input('Digite o valor do investimento inicial:')) t= float(input('Digite o valor da taxa de crescimento percentual:')) #Processamento: a= i+(i*t) b= a+(a*t) c= b+(b*t) d= c+(c*t) e= d+(d*t) f= e+(e*t) g= f+(f*t) h= g+(g*...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
61e220d98e0c3fa7dee7492671c87beb672185a8
a343a405ecc557a52974fa84bc0481cc11405b14
/211_WordDictionary.py
97c73c99cb81fb5a66d51f30742f41326d4b560c
[]
no_license
jennyChing/leetCode
926c2a5ff9f6c03152e93725b64f7bad804c415a
f3fc71f344cd758cfce77f16ab72992c99ab288e
refs/heads/master
2020-05-21T16:42:17.325980
2017-03-18T01:59:15
2017-03-18T01:59:15
61,048,131
2
0
null
null
null
null
UTF-8
Python
false
false
2,165
py
''' 211. Add and Search Word - Data structure design Design a data structure that supports the following two operations: void addWord(word) bool search(word) search(word) can search a literal word or a regular expression string containing only letters a-z or .. A . means it can represent any one letter. For example:...
[ "jklife3@gmail.com" ]
jklife3@gmail.com
ed11feaeac8eaf7865d35d31cf82f8d0a000e264
bf3b84b4402ea1371cc7f8a867f928a82790e47e
/test/test_models_user.py
fad8e28c8a75c9c9fe667f1e442ccd07f9c1540e
[ "MIT" ]
permissive
PegasusWang/articles
c82026de5194bb007182039d09ee720f9b84016b
b5f2d50dcb0f481cae39baa8cb5b7d82d61e094a
refs/heads/master
2021-01-10T16:02:37.349084
2016-01-27T14:48:19
2016-01-27T14:48:19
44,647,953
1
2
null
null
null
null
UTF-8
Python
false
false
924
py
#!/usr/bin/env python # -*- coding:utf-8 -*- import _env import pytest from models.post import Post from models.user import User from tornado.ioloop import IOLoop from tornado.testing import gen_test, AsyncTestCase from motorengine.connection import connect from config.config import CONFIG save_user = { 'name': ...
[ "tianma201211@gmail.com" ]
tianma201211@gmail.com
63a2da72c720dc4cd00bf70fdb90af8ec22eba12
a27f17ee4d140054104c29945115de5bb5d9a124
/tests/apps/app1/http/controllers/login.py
e8325e2b10bbc116b87345b18eac0e002588e013
[ "MIT" ]
permissive
coboyoshi/uvicore
29acad2690e9b7c4548da82315be0e306f08691b
9cfdeeac83000b156fe48f068b4658edaf51c8de
refs/heads/master
2023-08-03T09:53:49.185275
2021-09-22T05:14:59
2021-09-22T05:14:59
351,472,878
0
0
null
null
null
null
UTF-8
Python
false
false
1,451
py
import uvicore from uvicore.typing import Optional from uvicore.support.dumper import dd, dump from uvicore.http import Request, response from uvicore.http.routing import WebRouter, Controller @uvicore.controller() class Login(Controller): def register(self, route: WebRouter): @route.get('/login', name=...
[ "mail@mreschke.com" ]
mail@mreschke.com
6494762b60eacde7b56df3fd493e3c0e3e1de292
fb6ffe993575c87ca9f6bb6c7e1f699df42d2ea2
/setup.py
83c3cac4f052d7ea949d0fa4d059fa3a3ddb928c
[ "MIT" ]
permissive
rosscdh/python-box
2d0c42eaf5b1ddf4d283f7e86f1a888a61ccd5c5
953850dd8677ede0522e53ae6cc3a78fc99f3f4c
refs/heads/master
2020-06-02T08:30:03.167454
2014-08-19T07:12:15
2014-08-19T07:12:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
# -*- coding: utf-8 -*- import os from setuptools import setup setup( name = "python-box", version = "0.1.0", author = "Ross Crawford-d'Heureuse", author_email = "ross@lawpal.com", description = ("python lib for integrating with Box.com"), license = "MIT", keywords = "python box oauth2", ...
[ "ross@lawpal.com" ]
ross@lawpal.com
6542b51182cd2532d0caa033feb970a54d00b460
1369717e645fe33ac2eec0d485dde79289a34ace
/server/src/uds/core/util/AutoAttributes.py
6b7f7a364002db5d48a64eeee652559b253c6b2d
[]
no_license
johnp/openuds
0b9c1fa3823854deb1ccd53c51fc27447e28593a
b8e1e1773559b91875ccf096d37418e3b70675d0
refs/heads/master
2021-01-22T12:54:04.092698
2017-04-19T06:23:44
2017-04-19T06:23:44
68,590,975
0
0
null
2016-09-19T09:34:33
2016-09-19T09:34:32
null
UTF-8
Python
false
false
4,042
py
# -*- coding: utf-8 -*- # # Copyright (c) 2012 Virtual Cable S.L. # 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 notice, #...
[ "dkmaster@dkmon.com" ]
dkmaster@dkmon.com
792437b6a7ba72ab55d0d1af0d92a5c4153623fe
2b0e2e8e60c7a5f62baa55cf824cec05aa56515e
/src/frontend/systray.py
030f1248efb3606eb63bbeca03b0af21d9acb742
[]
no_license
blademainer/XwareDesktop
7f90cda7ca3ca152f849b33d7a98fcab457e2d00
eb4e6a8ce03da6d713807736dbbb04e47f2e3106
refs/heads/master
2021-01-18T14:25:26.892802
2014-07-29T13:55:28
2014-07-29T13:55:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,222
py
# -*- coding: utf-8 -*- import logging from launcher import app from PyQt5.QtCore import pyqtSlot, QObject from PyQt5.QtGui import QIcon from PyQt5.QtWidgets import QSystemTrayIcon from contextmenu import ContextMenu class Systray(QObject): trayIconMenu = None def __init__(self, parent): super()._...
[ "xinkai.chen@qq.com" ]
xinkai.chen@qq.com
ce49a5a7cab629b30e2dac7777ae07929d3c8e16
0959d88eb8e1ab579dec7eb4bfc1fbaac945ea0b
/Training/2015-1116-training/parse_ping.py
4c7bc41d957c99f34850694b02d6969c7f106223
[]
no_license
mike03052000/python
ba1b871acf853710fd840284f260d82ea8e597cf
19045d56ae1caa305f51f1cad6c71d97b82ca47d
refs/heads/master
2020-04-04T12:21:55.284225
2019-06-20T05:35:25
2019-06-20T05:35:25
155,923,830
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
__author__ = 'mihung' # Test Objective: Make sure there was no packet loss from parsers import parse_ping with open('notes/ping_output.txt') as f: output = f.read() # output = ubuntu.execute('ping www.cisco.com') ping_result = parse_ping(output) assert ping_result.loss_rate == 0.0
[ "mike03052000@gmail.com" ]
mike03052000@gmail.com
bb01156efccb3d7173551b2369b0d3bc7c1d424b
0e647273cffc1fb6cbd589fa3c7c277b221ba247
/configs/hpt-pretrain/domain_net_clipart-domain_net_sketch/moco_v2_800ep_basetrain-domain_net_clipart_5000it_basetrain/500-iters.py
553e568b39ea8efab3c756eb7a8bc63b4cc28512
[ "Apache-2.0" ]
permissive
Berkeley-Data/OpenSelfSup
e9976bf011b69ebf918506ba184f464b1073ec13
221191b88d891de57725b149caf237ffef72e529
refs/heads/master
2023-05-12T07:34:52.268476
2021-04-08T00:58:37
2021-04-08T00:58:37
343,654,823
0
1
Apache-2.0
2021-04-08T00:58:37
2021-03-02T05:20:27
Python
UTF-8
Python
false
false
335
py
_base_="../base-domain_net_clipart-domain_net_sketch-config.py" # this will merge with the parent model=dict(pretrained='work_dirs/hpt-pretrain/domain_net_clipart/moco_v2_800ep_basetrain/5000-iters/moco_v2_800ep_basetrain-domain_net_clipart_5000it.pth') # epoch related total_iters=500 checkpoint_config = dict(interva...
[ "taeil.goh@gmail.com" ]
taeil.goh@gmail.com
62a76a69e3fc70bade3557eaa1b1db2da0fb6e1b
f14175914ce8b49f67ab12790f6960d06d80371d
/hass_aggregator.py
4a0bf2ff664b2c5b47aac8ab72af524d5b2fcff6
[]
no_license
sander76/hass-aggregator
c5bd7548bb38995b4d5c3fae60b2d8ab7713e08f
47c0dc51aaa3ec1f5523b8d0b8b365b522ecd774
refs/heads/master
2021-01-25T04:14:40.798719
2017-06-26T19:43:50
2017-06-26T19:43:50
93,413,602
3
0
null
null
null
null
UTF-8
Python
false
false
7,701
py
"""yaml hass-aggregator: - entity_id: <an id> aggregator: bucket: trigger: state size: 10 - entity_id: <an id> aggregator: bucket: trigger: time size: 10 #minutes methods: - max - min - average acti...
[ "s.teunissen@gmail.com" ]
s.teunissen@gmail.com
047e0913547cb7a288e544e5ebd3494a41ad6d6d
40e7156576ad93db1f0dcab62ec3bb6042576166
/Termux/python/Lazymux/AUXILE/core/parse.py
516c6915332c0065d7f41865615ca7c96724c671
[ "MIT" ]
permissive
WeilerWebServices/Gists
c5d12093d620abc8152e8e8214a2000832969421
506fae2f3f9568ecd73ba373f35ac5fda054520e
refs/heads/master
2023-02-17T18:00:07.721504
2021-01-11T02:19:44
2021-01-11T02:19:44
272,584,650
2
2
null
null
null
null
UTF-8
Python
false
false
350
py
## ## parse argument ## ## written by @ciku370 ## def toxic(word,anu): len_words = 0 result = {} for i in word: if i in anu.split(','): try: result.update({word[len_words]:word[len_words+1]}) except IndexError: continue len...
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
8a1116a0094cfc1e228eb6c97ba177209f47ba89
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/3-OO-Python/3-__init___20200415012535.py
60283c25e825e830a5643678ad8885cd787c31fa
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
# OOP class PlayerCharacter : # class object attribute - it is static membership = True # constructor method / init method def __init__(self, name, age): self.name = name #attributes self.age = age def run (self, hello): print('running') return 'Work...
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
e480fbc65c93e85fd3568887d09e6a1e15b2c51d
d7378f9402a81b6c421523c09479a6457cb94a19
/home/models.py
5ff13bde52392af14d7db7d32a70f4f8ecde08b8
[]
no_license
Ivin0022/social
27a7da4032dd0b563a2cfc77d452fa41c95a328a
b1f1bc6638bb34e424371423a50b167610d8a20d
refs/heads/master
2020-07-22T19:12:59.071999
2019-09-05T08:22:40
2019-09-05T08:22:40
207,301,254
0
0
null
2019-09-09T12:14:49
2019-09-09T12:14:49
null
UTF-8
Python
false
false
2,246
py
from django.db import models from django.contrib.auth.models import User from django.dispatch import receiver from django.conf import settings from django.contrib.contenttypes.fields import GenericForeignKey from django.contrib.contenttypes.models import ContentType from django.db import models from django.contrib.cont...
[ "anoopsuresh.sayonetech@gmail.com" ]
anoopsuresh.sayonetech@gmail.com
88470493966cf421c4e2630f05bd7fd130f28ee9
4420a8b4fdc38eb9f260e604ad53955b27805431
/amplify/agent/common/util/sfile.py
4274df93b66c68a7890e18e54d1f829d2245d184
[ "BSD-2-Clause" ]
permissive
askagirl/nginx-amplify-agent
c71bf6f67366391ed7a54f3e72a1ca662adfd5ea
770938727c78e30db46d9d3dd1be31d1c812016e
refs/heads/master
2021-01-23T19:17:31.442068
2017-09-06T01:58:49
2017-09-06T01:58:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,918
py
# -*- coding: utf-8 -*- from cStringIO import StringIO __author__ = "Grant Hulegaard" __copyright__ = "Copyright (C) Nginx, Inc. All rights reserved." __credits__ = [ "Mike Belov", "Andrei Belov", "Ivan Poluyanov", "Oleg Mamontov", "Andrew Alexeev", "Grant Hulegaard", "Arie van Luttikhuizen" ] __license__ = "...
[ "dedm@nginx.com" ]
dedm@nginx.com
ad04fd7d7143071af556e51e5624b98c36568411
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/fDfh3WJPPiiJwgTrW_4.py
0d159370b8a9d61275e1b87f4df616f0d2000c03
[]
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
372
py
""" Return the total number of lists inside a given list. ### Examples num_of_sublists([[1, 2, 3]]) ➞ 1 num_of_sublists([[1, 2, 3], [1, 2, 3], [1, 2, 3]]) ➞ 3 num_of_sublists([[1, 2, 3], [1, 2, 3], [1, 2, 3], [1, 2, 3]]) ➞ 4 num_of_sublists([1, 2, 3]) ➞ 0 ### Notes N/A """ num_o...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
fc172004592c9ced8c733968ab8465bd85b77465
d452e34253561a47b974e260dabd8dcda6e750a2
/supervised_learning/0x0B-face_verification/align.py
014a7cf180199407189925abf52182e6a8093343
[]
no_license
JohnCook17/holbertonschool-machine_learning
57fcb5b9d351826c3e3d5478b3b4fbe16cdfac9f
4200798bdbbe828db94e5585b62a595e3a96c3e6
refs/heads/master
2021-07-07T10:16:21.583107
2021-04-11T20:38:33
2021-04-11T20:38:33
255,424,823
3
2
null
null
null
null
UTF-8
Python
false
false
1,872
py
#!/usr/bin/env python3 """""" import cv2 import dlib import numpy as np class FaceAlign: """""" def __init__(self, shape_predictor_path): """""" self.detector = dlib.get_frontal_face_detector() self.shape_predictor = dlib.shape_predictor(shape_predictor_path) def detect(self, imag...
[ "jcook0017@gmail.com" ]
jcook0017@gmail.com
301fade0da353372f932d277036d44634ce85676
d2fedd2085cbdbd5e54228abf0633001989787cc
/59.LONGEST COMMON SUBSEQUENCE OF K.py
c54f5b9b494d39a59111d2b179d853fa6b7b8eaa
[]
no_license
KumarAmbuj/dynamic-programing-intermediate
228d25205d370ebc329eaf6ffbcfbc2853b18abe
4b40f322f57762e0cf264fb2024ae56d1fa3243b
refs/heads/main
2023-02-23T20:42:26.865855
2021-01-23T11:10:44
2021-01-23T11:10:44
332,188,114
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
def findLCS(P,Q,k): m=len(P) n=len(Q) dp=[[0 for j in range(n+1)] for i in range(m+1)] for i in range(m-1,-1,-1): for j in range(n-1,-1,-1): if P[i]==Q[j]: dp[i][j]=dp[i+1][j+1]+1 else: dp[i][j]=max(dp[i][j+1],dp[i+1][j]) ...
[ "noreply@github.com" ]
KumarAmbuj.noreply@github.com
9e8bd2ac74ad64b87912c4a3243c5c7df51d5a83
a84208ffdad094d3bcf83482390984301a2d2612
/blog/migrations/0019_auto_20210306_2038.py
eba65ec2e9d7132070dd366d6163106372863726
[]
no_license
amemani-create/cs490project
6cad0a0219c8772b24aa150c3bcf5d28b813f5f1
b934aa83593d96a2a1a2dccf4a6117895183b809
refs/heads/master
2023-03-18T15:21:01.076463
2021-03-07T02:05:36
2021-03-07T02:05:36
340,847,878
0
0
null
null
null
null
UTF-8
Python
false
false
584
py
# Generated by Django 3.1 on 2021-03-07 01:38 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('blog', '0018_auto_20210306...
[ "78717013+amemani-create@users.noreply.github.com" ]
78717013+amemani-create@users.noreply.github.com
705e9070435668c17c914b821fcdfc69c6e99d3e
500b03fa6cb776c1d51db4a3a3aa252ddf5a50e6
/first_steps/modules/mercenary/functions.py
6e549e30239d8096ff011dd16ab9e133a2113fb9
[]
no_license
carloslvm/learning-python
b3796a0a5b751baae8c551a9f6fe262f98980691
07f885454cf21b7d215a58da7fcb907715e546bd
refs/heads/master
2022-07-27T21:39:11.937801
2022-07-09T17:47:56
2022-07-09T17:47:56
163,447,616
0
0
null
null
null
null
UTF-8
Python
false
false
1,667
py
#!/usr/bin/python3 #Printing the list of magicians def magic_list(mages): for mage in mages: print('\t' + mage.title()) #Show magician info def magician_data(magician): for entity, attributes in magician.items(): print(entity + " = " + str(attributes)) print() #Show archers info def arche...
[ "cvaldez553@gmail.com" ]
cvaldez553@gmail.com
a86865a8d04d53bab000f72344ca563d61655343
3716e91c0a18a2cf0b5807cc673d95a7539b008c
/Mountain/InMyName.py
1e1ce19bf7e8f29935f468639ea11effc7d93d31
[]
no_license
kiwiapple87/CodeCombat-1
47f0fa6d75d6d3e9fb9c28feeb6fe2648664c1aa
ce0201e5ed099193ca40afd3b7abeee5a3732387
refs/heads/master
2021-05-01T16:38:03.575842
2016-08-25T11:13:26
2016-08-25T11:13:26
66,552,813
1
0
null
2016-08-25T11:39:20
2016-08-25T11:39:18
null
UTF-8
Python
false
false
836
py
# http://codecombat.com/play/level/in-my-name # You must to find the treasure. # Use Thoktar's name as a hint. # The correct treasure chest is the same number as the index of 'z' in Thoktar's name. # This function should return the number where letter is in word: def letterIndex(word, letter): # Step through each...
[ "vadim-job-hg@yandex.ru" ]
vadim-job-hg@yandex.ru
47a56d48259a9b01d5dd77abe526826e49944488
6f8116d5f27cac5ab7bce2ab72aa2be21f0d2f04
/practice/divisorsum.py
21b20a47f6049689b42d603974648502ea1f7879
[]
no_license
mehdirezaie/ThirtyDaysOfC
615e31803b2565cd8f5706bac0041ebbe5c60ad3
cefabaf28c3c2144d16ee53f99938b9a6e11a358
refs/heads/master
2021-07-15T14:47:40.336636
2021-07-09T14:31:29
2021-07-09T14:31:29
231,020,627
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
class AdvancedArithmetic(object): def divisorSum(n): raise NotImplementedError class Calculator(AdvancedArithmetic): def divisorSum(self, n): divisorsum = 0 for i in range(1, n+1): if n%i == 0: divisorsum += i return divisorsum n = int(input()) my_c...
[ "medirz90@icloud.com" ]
medirz90@icloud.com
8989c268bd686d24672d57a152054f875ddb0bac
55eda01bdcbda99f72cfdf0b29afb5ea36756873
/arxiv/kdgan/tagrecom_rz/tch_model.py
21a68807042c18420c1c875f6d4c22762196e99c
[]
no_license
yyht/KDGAN
7489a0ca1a2f044b6bcb7cd8bb0d6f2dae1da5e7
8f1367d242d7d174bf5bb2740aa18e3846d7b521
refs/heads/master
2020-05-16T08:36:18.872239
2019-01-12T04:17:31
2019-01-12T04:17:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,171
py
from kdgan import config from kdgan import utils from nets import nets_factory import tensorflow as tf from tensorflow.contrib import slim class TCH(): def __init__(self, flags, is_training=True): self.is_training = is_training # None = batch_size self.image_ph = tf.placeholder(tf.float32, shape=(None...
[ "xiaojiew1@student.unimelb.edu.au" ]
xiaojiew1@student.unimelb.edu.au
bf1bdbf70f8e17b522fee49984983203e0f68725
516d8b09391fcf6f1dd95fb665a617c4982af55d
/tutorialvideo/admin.py
8e416ba58da8b525923b3e2a30ef1ff40b06efaa
[]
no_license
rezmehp/abasian-peroject
33eb357fbef3591b9cdd7d5a73fb2c90b62fb7a7
5c09a4d235719933f10688454066962dae13f3f5
refs/heads/master
2023-04-06T21:17:12.855048
2021-04-13T15:16:23
2021-04-13T15:16:23
235,763,509
0
0
null
null
null
null
UTF-8
Python
false
false
1,250
py
from django.contrib import admin from .models import tutorialvideoAdmin,coursevideo2 , videos ,videopics class tutorialvideoAdminshow(admin.ModelAdmin): list_display = ('title_page', 'title_search','text_click') admin.site.register(tutorialvideoAdmin, tutorialvideoAdminshow) class coursevideo2show(admin.ModelA...
[ "rezmehproject@gmail.com" ]
rezmehproject@gmail.com
ef02a8ce96e705b6d1e291f3317bf4d927fd4f55
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/tags/2007/applications/security/clamav/actions.py
b12a9483a243fe2bd5412e4c8fb12148a9fa520a
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
786
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2005,2006 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get def setup(): ...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
3c63b9e79f692669631b64db92cf43e6e0359ed4
7a1b08c64b29522d4bbb913475275c1bc8ad61a4
/patient_agenda/events15/doc_events/fix_agenda/read_filemodif.py
82c6ea5ea99b3b86ff27c7142776b1c755779dee
[ "MIT" ]
permissive
erichilarysmithsr/time-track
8f84d4cc92cebaedce550b3741982d204e734a6c
dc0a7b63c937d561309f9b1c84af65fb581a8e18
refs/heads/master
2023-03-27T08:07:46.717221
2021-03-30T16:45:50
2021-03-30T16:45:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,913
py
#!/usr/bin/python3 #!-*-encoding:Utf-8-*- from tkinter import * from tkinter import messagebox with open('./newpatient/entryfile15.txt', 'r') as filename: line1=filename.readline() def importationFile(fichier): file = open(fichier, 'r') content=file.readlines() file.close() for li in content: ...
[ "philogenie@protonmail.com" ]
philogenie@protonmail.com
350b68943e984186603ecb4a136953d1726e5d63
dbb3b3d39f7bd5255d846347b6cd7b153969955c
/packages/vaex-arrow/setup.py
dbd628b6bcaed43cd512aa3450b37b2763490c81
[ "MIT" ]
permissive
bbbbpage/vaex
ab02e89cdaf1ec99a13775d292dfcbfdc49c0384
bdf6670b5438bfbdf677477c7c71e69128b063e0
refs/heads/master
2022-07-30T09:26:28.060993
2020-05-22T14:51:58
2020-05-22T14:51:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
861
py
import os import imp from setuptools import setup dirname = os.path.dirname(__file__) path_version = os.path.join(dirname, "vaex_arrow/_version.py") version = imp.load_source('version', path_version) name = 'vaex' author = "Maarten A. Breddels" author_email = "maartenbreddels@gmail.com" license = 'MIT' version = ver...
[ "maartenbreddels@gmail.com" ]
maartenbreddels@gmail.com
1db9204dd2d2dc3061458abb9d706be7386662ce
05297c66b8881b734bd3d8cb01b69eb927157f53
/pack/avame-con.spec
e5ca980c6e05a6d045ebbdeaef9b87486f36ce15
[ "Apache-2.0" ]
permissive
nickchen-mitac/fork
4b75c2204cede08e4c71d85261da2e826330ff9f
64dab56012da47465b4923f30f26925476c87afc
refs/heads/master
2021-01-10T06:27:57.701844
2015-11-03T09:01:31
2015-11-03T09:01:31
45,453,006
0
0
null
null
null
null
UTF-8
Python
false
false
2,830
spec
# -*- mode: python -*- # -*- coding: utf-8 -*- from __future__ import print_function import sys app_name = 'avame' exe_name = 'avame' console = True run_strip = False extra_binaries = [] app_path = os.path.abspath('.') src_path = os.path.join(app_path, 'src') res_path = os.path.join(app_path, 'res') pod_path = os....
[ "sam@eavatar.com" ]
sam@eavatar.com
2bdbc14e4ddd6d8271f755d3908f9f39992e0766
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/1-Python-Basics/21-more-lists_20200413042553.py
568964bcdcd4c7450571a981c2651aa67373e8d9
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
basket = [32, 22, 121, 34234, 66, 464, 0, 64] print(basket) basket.sort() basket.reverse() print(basket[::-1]) print(basket) print(list(range (1, 101))) sentence = 'We are here ' sentence.join(['me', 'music', 'songs', 'cats'])
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
32c2e5a6e54d188202be78afc4c97459618197ce
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/eXe/rev2735-2828/left-trunk-2828/twisted/cred/portal.py
10e5dad3af75694b17baf1c596d1b372c7488322
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
joliebig/featurehouse_fstmerge_examples
af1b963537839d13e834f829cf51f8ad5e6ffe76
1a99c1788f0eb9f1e5d8c2ced3892d00cd9449ad
refs/heads/master
2016-09-05T10:24:50.974902
2013-03-28T16:28:47
2013-03-28T16:28:47
9,080,611
3
2
null
null
null
null
UTF-8
Python
false
false
5,095
py
""" The point of integration of application and authentication. """ from twisted.internet import defer from twisted.internet.defer import maybeDeferred from twisted.python import failure, reflect, components from twisted.cred import error from zope import interface class IRealm(components.Interface): """ The re...
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
ffe27462dce90f1fce3a5475c9aa4f409889552d
eafbabe73a36de18b1e774a5515c239ddb846c87
/docs/source/conf.py
0935cbb201cdadf179e6a857509f6927cd886c28
[ "MIT" ]
permissive
ericmjl/worship-manager
668c6f4b6ba75775e753f52c23bb0b253a0f0d36
e145fd69b4c2eee2a4f26c27151137832bc0d1e7
refs/heads/master
2023-08-16T21:16:52.403561
2020-12-29T11:47:02
2020-12-29T11:47:02
98,115,327
4
0
MIT
2023-09-11T15:37:22
2017-07-23T17:52:03
JavaScript
UTF-8
Python
false
false
5,658
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Worship Manager documentation build configuration file, created by # sphinx-quickstart on Sat Aug 19 21:04:24 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in t...
[ "ericmajinglong@gmail.com" ]
ericmajinglong@gmail.com
b84badac2940453d8aa9614a338a36c0fbc0fb33
1ed783dd8b21c53e74d3eaa20cb8691bc2b9c31a
/lib/scraper/ctfx.py
965aba967b5d5d348f66094878471a199bb691a8
[ "Apache-2.0" ]
permissive
theoremoon/ctf-ratings
eb193c86ed4d3198b0c0c42fb85be662b81e2a7b
52aae558878af612142a51d3305b9cd6faa9cfec
refs/heads/main
2023-09-02T15:31:07.577665
2021-11-23T01:18:10
2021-11-23T01:18:10
336,347,393
10
1
null
2021-11-22T14:27:05
2021-02-05T17:51:19
Python
UTF-8
Python
false
false
3,089
py
import requests from urllib3.util.retry import Retry from requests.adapters import HTTPAdapter from urllib.parse import urljoin from bs4 import BeautifulSoup from logging import getLogger, StreamHandler, Formatter from http.cookies import SimpleCookie logger = getLogger(__name__) handler = StreamHandler() handler.setF...
[ "theoldmoon0602@gmail.com" ]
theoldmoon0602@gmail.com
4dae7f7ab3e0ffdb667edc30cb93ec2d211379ef
b14cab5bf738f32df4051ec4bd045f057b91ab19
/Lesson 33 (Введение в ООП. Полиморфизм)/Homework/1. Статистика.py
f2ba3033544ba87e7c82a7eebb25c8abe81231ab
[]
no_license
RIMPOFUNK/FirstLyceumCourse
69f8bd27b2783589c66fa8b069ce20bb5cb873f6
990e3bdf2a1e2e2ce8ac70b24da4b251f3bed1d4
refs/heads/master
2020-05-18T09:25:07.031267
2019-04-26T10:10:24
2019-04-26T10:10:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
class MinStat: def __init__(self): self.data = [] def add_number(self, number): self.data.append(number) def result(self): return min(self.data) if self.data else None class MaxStat: def __init__(self): self.data = [] def add_numbe...
[ "kolobov.kirill@list.ru" ]
kolobov.kirill@list.ru
2b0f8fee31596c02d2388c5ae671878f2440ee1a
30ec03bde82f16376fd89377b0f10b2fe530087e
/scripts/paths.py
ffb9c26aa0612162b8c55c7bb507bbe71dda60b6
[]
no_license
markovmodel/feature_selection
e6bfbfd3db5d8a212feb920a21fb9b2fc20ca762
0c717ad24335beb1e50d21d59f0f13968624ad82
refs/heads/master
2020-04-08T11:52:25.175149
2018-11-27T11:14:55
2018-11-27T11:14:55
159,323,774
0
0
null
null
null
null
UTF-8
Python
false
false
7,470
py
""" This module assists in grouping the fragmented trajectories of the DESRES fast folding proteins dataset. It also defines distance based feature transformations (contacts, exp(-d), log). """ import os import re import socket from glob import glob from pyemma.coordinates import featurizer, source from pyemma.coor...
[ "m.scherer@fu-berlin.de" ]
m.scherer@fu-berlin.de
09a110053d04c478e4d8fd142ab2dbbdf9c3f1c9
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Flask/Book_evaluator/venv/Lib/site-packages/werkzeug/_reloader.py
f6a3dae79a1862c4ae316fc69e4591117133bdcb
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:0323e985c3873dbbbaab35b451bad5bd30c976b7b95a0a716e120937f4eacd47 size 9264
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
ef350e29420745fcf545a85e96b0a8d7ae06e244
8382fb6e3f09d92d577bdcd037c07b6eaba619c7
/admin/urls.py
2f084ba3b5c83c33206bface47cfb80e06480a02
[]
no_license
Niharika3128/OnlineCourseRegistration
18eea7e53565547301d37b8b0ee06310c92853b8
a5bb6b81c696337585b24a5e7aba56929b195217
refs/heads/master
2022-12-16T18:07:50.962607
2020-09-11T19:03:32
2020-09-11T19:03:32
279,419,642
0
0
null
null
null
null
UTF-8
Python
false
false
1,561
py
"""OnlineCourseRegistration URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='h...
[ "niharika5475@gmail.com" ]
niharika5475@gmail.com
2cd51a5c174083214f93785f3b14237af64dc16d
d17615f9a4bec5960e6cb6785fbff277429f0a6e
/backend/music_18463/settings.py
e5100681e0f1612adc8147653660b1beac8a2bbb
[]
no_license
crowdbotics-apps/pnn-18463
be898e3bd259e696d3ea17d09a4c68583d836126
b431b510f29e585a41e1f42f798d2672fd462cce
refs/heads/master
2022-11-11T03:42:31.692782
2020-06-28T12:58:41
2020-06-28T12:58:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,754
py
""" Django settings for music_18463 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import o...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
ad510036da3ce63f956f7a47a71f72920d841217
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4424/codes/1758_1183.py
5283e78931cc8173ab93311c3c9c1708626f241c
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
227
py
from numpy import* vetor=array(eval(input("x: "))) i=0 c=0 j=0 while(i<size(vetor)): if vetor[i]>=0: c=c+1 i=i+1 v1=zeros(c, dtype=int) i=0 while(i<size(vetor)): if vetor[i]>=0: v1[j]=vetor[i] j=j+1 i=i+1 print(v1)
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
578ce359af7f4f20ff00ae2a06ba13de463903e5
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_4/hndjar002/boxes.py
a0c4ba232d5070d86a08bee51b9a8b31cca6b256
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
# Assignment 4 # Jaren Hendricks # 02 April 2014 # Function to print a square def print_square (): for k in range(5): for i in range(5): if (k == 0) or (k == 4) or (i == 0) or (i == 4): # Checks for the highest and lowest values. print ("*", end = "") el...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
e32d66cec731f3cc57eb9a580f50e5eb8e5a35ba
4133fce90189868a246e916a5851dc05bf5e2172
/eOwner/packages/models.py
cb939d6249995a011276dc4ad34c4fa1ebad8ac6
[]
no_license
achanyasuresh12/eowner
47ea8dfeb7dc63c1ea934d1d05f0714f14a3fde8
bcfd6d3069a34e3bde7c760a60d43a7553078b23
refs/heads/master
2020-04-07T19:10:59.995107
2018-11-22T04:24:15
2018-11-22T04:24:15
158,639,004
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
from django.db import models from managers .models import Managers class Packages(models.Model): name = models.CharField(max_length=20, default='') duration = models.IntegerField() seatcount = models.IntegerField() rate = models.IntegerField() description = models.CharField(max_length=20, default=...
[ "45094866+achanyasuresh12@users.noreply.github.com" ]
45094866+achanyasuresh12@users.noreply.github.com
fe3aad9ecfa65b4c99dc952f44a51da0c9d0cc25
4809471274d6e136ac66d1998de5acb185d1164e
/pypureclient/flasharray/FA_2_4/models/snmp_managers.py
36700fe919c811caf9832a44fdc64ceaf91f359b
[ "BSD-2-Clause" ]
permissive
astrojuanlu/py-pure-client
053fef697ad03b37ba7ae21a0bbb466abf978827
6fa605079950765c316eb21c3924e8329d5e3e8a
refs/heads/master
2023-06-05T20:23:36.946023
2021-06-28T23:44:24
2021-06-28T23:44:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,383
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ....
[ "hubert.chan@purestorage.com" ]
hubert.chan@purestorage.com
b6d86a85ea53fefa4125d5bfb98f5c0875319390
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/scatter3d/error_y/_array.py
4fc5840e715b37eb52504a0514cacc9b8165410f
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
418
py
import _plotly_utils.basevalidators class ArrayValidator(_plotly_utils.basevalidators.DataArrayValidator): def __init__( self, plotly_name='array', parent_name='scatter3d.error_y', **kwargs ): super(ArrayValidator, self).__init__( plotly_name=plotly_name, parent_name=p...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
db1b79bd7c90792b0d07233d37de47117dcb9a9b
b287cb1efb028d40b94dac4277abefac48160650
/djangoresume/resume/migrations/0005_company_order_id.py
fee00503ebd87a564b6e23b996c7b9a8c9e5eb0b
[]
no_license
djang0man/django-resume
5156db105201904a052ebbfb959401af8f3d5280
d05ec32567ff02eaa900e52f7b3bee07d9bcb9c7
refs/heads/master
2021-10-19T00:13:42.539862
2019-02-15T19:18:44
2019-02-15T19:18:44
157,239,418
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
# Generated by Django 2.1.3 on 2018-11-18 19:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('resume', '0004_auto_20181115_1515'), ] operations = [ migrations.AddField( model_name='company', name='order_id', ...
[ "stuartdkershaw@gmail.com" ]
stuartdkershaw@gmail.com
5f3fc11ec927e39d11bfea28cb1d63e59e583dfd
0bbc13968c2793878f24045b318a17bb31524eb1
/new_adventure/scratch/scratch.py
0879e39c34052d2336fcf2da56e32c604afae243
[]
no_license
daniellengyel/new_adventure
572f82baa5d159cdc541ba9d377a863c7f424981
2f83060f4005b9d35e40f0f0d4c6ed0875a26a93
refs/heads/main
2023-08-24T21:32:28.003051
2021-10-17T17:02:47
2021-10-17T17:02:47
307,684,652
0
0
null
null
null
null
UTF-8
Python
false
false
7,071
py
import matplotlib.pyplot as plt import seaborn as sns import shutil, os from .utils import * from .save_load import * def create_animation_1d_pictures_particles(x_paths, potential_paths, X, Y, ani_path, graph_details={"p_size": 1}): num_steps, num_particles, dim = x_paths.shape for t in range(num_steps): ...
[ "daniel.lengyel@berkeley.edu" ]
daniel.lengyel@berkeley.edu
dead7cbd34a68122ce84108d03f3427071a6848a
71ed291b47017982a38524b4ff8fe94aa947cc55
/Two Points/LC680. Valid Palindrome II.py
b74440b9654f50c59dff4e6cbc722824bff7a31f
[]
no_license
pingting420/LeetCode_Algorithms
da83b77e8f37bd4f461b0a7e59c804871b6151e5
f8786864796027cf4a7a8b0ad76e0b516cd99b54
refs/heads/main
2023-07-17T22:46:08.803128
2021-09-02T22:06:38
2021-09-02T22:06:38
375,401,021
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
def validPalindrome(s): def checkPalindrome(low, high):#First to check if it palindrome i ,j = low, high while i < j: if s[i] != s[j]: return False i += 1 j -= 1 return True low, high = 0, len(s) - 1 while low < high: i...
[ "bellapingting@gmial.com" ]
bellapingting@gmial.com
2b4278a9ac8eeb66b484b8b69d278504e3c25fb3
70205da2c939cdee904420f73eb76df05e9a0d80
/Backtracking/51.py
7f98a5efc08333209f30d3dd96a8d5df3373c821
[]
no_license
ShangruZhong/leetcode
4f9a1ae7d71a73bbd8fc42a55c6c12d61f47589e
6582b0f138a19f9d4a005eda298ecb1488eb0d2e
refs/heads/master
2020-04-12T01:29:52.990418
2017-06-25T13:48:35
2017-06-25T13:48:35
42,118,075
0
0
null
null
null
null
UTF-8
Python
false
false
993
py
""" 51. N-Queens classical DFS problem @date: 2016/11/07 """ class Solution(object): def solveNQueens(self, n): """ :type n: int :rtype: List[List[str]] """ def check(k,j,board): for i in range(k): if board[i] == j or abs(k-i) == a...
[ "draco.mystack@gmail.com" ]
draco.mystack@gmail.com
86e20c367edf156c1df3249342aefbd800212ba3
ec6cb8542c8ed962d24ca32fc1f060ef63fdfea7
/第一阶段/课上实例练习/day04/test.py
4275d31c45a2b6b4b712edca4b54250e78a466e1
[]
no_license
singerdo/songers
27859a4ff704318d149b2aa6613add407d88bb5d
9c5dcd80c6772272c933b06c156b33058cbd3ce4
refs/heads/master
2022-04-16T11:00:11.002138
2020-04-18T07:15:16
2020-04-18T07:15:16
256,686,903
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
content="上海自来水来自海上" '''print(content[0]) print(content[-1]) print(content[5]) print(content[:3]) print(content[-3:100]) print(content[-4:1:-1])''' if content==content[::-1]: print('是回文')
[ "569593546@qq.com" ]
569593546@qq.com
74c7585df98572d3e285489bc980f3371b85ea3b
3fc8c5588252ce522d8d0b7fdda398397475abd7
/enigma/plugboard.py
ddec7e4cab777892959ce57a86ef4c802903e3ad
[ "MIT" ]
permissive
lukeshiner/enigma
242362a37b7c82fabef237af424a5eca7bc6cdc9
51b9dcb9ec8190b780775135dc88b95fbba120fe
refs/heads/master
2023-07-23T12:10:11.397318
2023-07-19T10:34:37
2023-07-19T10:34:37
137,946,565
0
0
MIT
2023-09-11T08:43:50
2018-06-19T21:16:36
Python
UTF-8
Python
false
false
1,677
py
"""Enigma's Plugboard.""" from string import ascii_uppercase as alphabet from typing import Dict, Optional, Sequence, Tuple class Plugboard: """Enigma's Plugboard.""" def __init__(self, connections: Optional[Sequence[Tuple[str, str]]] = None): """ Set up plugboard connections. Args: ...
[ "luke@lukeshiner.com" ]
luke@lukeshiner.com
deca57902b324cc8825a86aafec0f7093a1804e3
e2d479b658a52491e80c7fc622183a68ff255630
/tests/integrational/tornado/vcr_tornado_decorator.py
7d109922aa54d6bcfb88da28c533829c600a59d4
[ "MIT" ]
permissive
17media/pubnub-python
b25d85ca41cbf32d77538e0050835688ae098d01
ee372eec82f16d3a80a4cd027bca8976755b817f
refs/heads/master
2021-01-20T11:14:22.137887
2016-11-23T11:47:54
2016-11-23T11:50:12
74,570,150
0
0
null
null
null
null
UTF-8
Python
false
false
979
py
import six from tests.integrational.vcr_helper import pn_vcr try: from mock import patch except ImportError: from unittest.mock import patch def use_cassette_and_stub_time_sleep(cassette_name, **kwargs): context = pn_vcr.use_cassette(cassette_name, **kwargs) full_path = "{}/{}".format(pn_vcr.cassett...
[ "alexander@pubnub.com" ]
alexander@pubnub.com
a349311bbbe425600b8b2805e4a2d65bda5869fc
cb06b098930e11f2a19a265648f32bbf764e06b6
/train_vector.py
a64ae9892f0912748bf7d48e67a0e3f11c2879b8
[]
no_license
ibaomu/ChineseEmbedding
95ce8523b6556a0bb1bae864403cd82088092381
85a063237aa0d0436734bcb87b8cf547449b4d6a
refs/heads/master
2022-06-23T13:53:13.885499
2022-05-25T14:10:46
2022-05-25T14:10:46
269,513,052
0
0
null
2020-06-05T02:32:53
2020-06-05T02:32:52
null
UTF-8
Python
false
false
3,862
py
#!/usr/bin/env python3 # coding: utf-8 # File: train.py.py # Author: lhy<lhy_in_blcu@126.com,https://huangyong.github.io> # Date: 18-10-26 import os import gensim from gensim.models import word2vec from sklearn.decomposition import PCA import numpy as np import logging logging.basicConfig(format='%(asctime)s:%(leveln...
[ "lhy_in_blcu@126.com" ]
lhy_in_blcu@126.com
f34f6647de20bf5fa355aa813836ac88d4bcbfc0
d7ccb4225f623139995a7039f0981e89bf6365a4
/.history/category/admin_20211010013322.py
0e60c9ea1f7758bd17ac22c9870a9248c3d7ef5c
[]
no_license
tonnymuchui/django-mall
64fd4abc3725c1bd0a3dcf20b93b490fe9307b37
55c083d8433be3c77adc61939cd197902de4ce76
refs/heads/master
2023-08-23T04:59:20.418732
2021-10-13T15:59:37
2021-10-13T15:59:37
415,668,388
1
0
null
null
null
null
UTF-8
Python
false
false
248
py
from django.contrib import admin from .models import Category class CategoryAdmin(admin.ModelAdmin): prepopulated_fields = {'slug': ('category_name',)} list_display = ('category_name', 'slug') admin.site.register(Category, CategoryAdmin)
[ "tonykanyingah@gmail.com" ]
tonykanyingah@gmail.com
c4b06ee7ce040a08d12ef156788c47b1e8eb0854
ead727cd2e3adaed190eaa965e6de7f7695efd85
/libsvmformatter/runbash.py
5a7cda3bead93d1fd2505a53ecc0f4aede43fda4
[ "Apache-2.0" ]
permissive
vibhatha/isesvmformatter
61b85c944fd60afa0795e8f55e4e8853a4520a46
deebe9aed4f1896372b17e8b0736fefd83edb022
refs/heads/master
2020-03-07T18:37:16.379678
2018-04-01T16:00:12
2018-04-01T16:00:12
127,645,879
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
import numpy as np import subprocess def method1(datasource='a9a', C=10, gamma=0.01): params = datasource+" "+str(C)+" "+str(gamma) subprocess.call("/home/vibhatha/PycharmProjects/ISESVMFormatter/testbash.sh "+params, shell=True) def method2(datasource, c_range, gamma_range): for c in c_range: f...
[ "vibhatha@gmail.com" ]
vibhatha@gmail.com
16cbf34d28150ae9105f10f3cfdeb00909aa1049
d7ee76b7f1d6cd038982335792f15959a58a8395
/SWEA/1244. 최대 상금.py
db115d862433748d75f6c4d1f7aba74eb1e0d617
[]
no_license
min1378/-algorithm
1c5dea6b2f03e4d376275cfccbf11b240bc659d9
bfb720277160077a816deec21469a7e597c62d14
refs/heads/master
2021-08-02T06:54:10.478501
2021-07-31T14:03:01
2021-07-31T14:03:01
202,688,865
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
import sys import copy sys.stdin = open('1244.txt', 'r') def permu(arr, count): print(arr, count) # arr에 담긴 숫자를 비교하기 위해 인트형으로 바꿔준다. a = int(''.join(arr)) #만약에 체크에 담긴 숫자보다 작으면 컷. 제일 큰 수만 필요하기 때문에 if check[count] > a: return # 체크에 담긴 숫자보다 크면 값을 넣는다. check[count] = a #만약에 count가 바꾼 ...
[ "qwes123@naver.com" ]
qwes123@naver.com
d403338f589a27a267585d11a971ee0cec182354
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02928/s562542007.py
8bdf6676d0e6919f714c66c9007a7ac2395f1a0d
[]
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
474
py
import sys N, K = map(int, input().split()) A = list(map(int, sys.stdin.readline().rsplit())) mod = 10 ** 9 + 7 cnt = 0 for i in range(N - 1): for j in range(i + 1, N): if A[i] > A[j]: cnt += 1 res = (K * cnt) % mod cnt2 = 0 for i in range(N): for j in range(i): if A[i] > A[j]: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c3f9ddd1e7eab01327db24dae150b98e153e6394
d93fe0484fc3b32c8fd9b33cc66cfd636a148ec4
/Other/0704/Matching.py
725497c699daac1b8bc2be07ccb6bc1a2c1df94d
[]
no_license
wattaihei/ProgrammingContest
0d34f42f60fa6693e04c933c978527ffaddceda7
c26de8d42790651aaee56df0956e0b206d1cceb4
refs/heads/master
2023-04-22T19:43:43.394907
2021-05-02T13:05:21
2021-05-02T13:05:21
264,400,706
0
0
null
null
null
null
UTF-8
Python
false
false
6,261
py
import random import time import math N = 9 G = 20 S = 100 Penalty = -4 # make input def random_generator(): Ss = [[random.randint(0, 1) for _ in range(N)] for _ in range(S)] Gs = [[0]*N for _ in range(G)] for i in range(G): L = random.sample(range(N), k=3) for j, l in enumerate(L): ...
[ "wattaihei.rapyuta@gmail.com" ]
wattaihei.rapyuta@gmail.com
c0ac0907c202227cf10ae3a8baa1ba891c7b0f50
523f8f5febbbfeb6d42183f2bbeebc36f98eadb5
/268.py
952af9b4cfcad162a1d80c9ee305666bfeeb095f
[]
no_license
saleed/LeetCode
655f82fdfcc3000400f49388e97fc0560f356af0
48b43999fb7e2ed82d922e1f64ac76f8fabe4baa
refs/heads/master
2022-06-15T21:54:56.223204
2022-05-09T14:05:50
2022-05-09T14:05:50
209,430,056
2
0
null
null
null
null
UTF-8
Python
false
false
185
py
class Solution(object): def missingNumber(self, nums): """ :type nums: List[int] :rtype: int """ return len(nums)*(len(nums)+1)/2-sum(nums)
[ "1533441387@qq.com" ]
1533441387@qq.com
f425f02a8d4a03796532c52fd34c48001d8a3f92
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/feature/vt/api/util/VTMatchUtil.pyi
f907277f5a11a93efd8c842b04f123baf1f828a4
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
723
pyi
import ghidra.feature.vt.api.main import ghidra.program.model.address import java.lang class VTMatchUtil(object): def __init__(self): ... def equals(self, __a0: object) -> bool: ... def getClass(self) -> java.lang.Class: ... @staticmethod def getMatchAddresses(__a0: ghidra.feature.vt.api....
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
66283f6e71e295113e2a6bd906d6826e2a16b8c4
1610e03bc2b9b8419e11824079de3c8636f3a039
/0x04-python-more_data_structures/12-roman_to_int.py
a170d46ebedbdbf8f13bb21b019aeffb1b1c2ecb
[]
no_license
Andresmelek/holbertonschool-higher_level_programming
12afc1d94b1cd8dcdcfbeb1f9dc819999506afb8
a1969506f346b808450e33f91d37790732ee7c57
refs/heads/master
2020-09-28T23:40:49.866556
2020-05-14T17:52:53
2020-05-14T17:52:53
226,893,592
0
1
null
null
null
null
UTF-8
Python
false
false
508
py
#!/usr/bin/python3 def roman_to_int(roman_string): matrix = {'I': 1, 'V': 5, 'X': 10, 'L': 50, 'C': 100, 'D': 500, 'M': 1000} if roman_string == "" or type(roman_string) is not str: return 0 number = matrix[roman_string[len(roman_string) - 1]] for i in range((len(roman_string) - 1), 0, - 1): ...
[ "candres.isaza@gmail.com" ]
candres.isaza@gmail.com
e9a154787c9cca41a367cb0f27f3d1db82ace182
cde307025a2f2cc7ffcd1d43ea4f75b23876450d
/tools/utils/__init__.py
95b0726351d4fa9cc84446ff61bbacae825545fc
[ "Apache-2.0" ]
permissive
ni/dldt
1767885f6bf26d9d13ce10d2de63c1ae38275066
ed372319eca66a534e1dd6a521613b0caf187b26
refs/heads/2018
2020-04-14T19:29:31.549152
2019-07-03T16:22:59
2019-07-03T16:22:59
164,059,518
1
2
Apache-2.0
2019-07-03T16:50:11
2019-01-04T04:53:33
C++
UTF-8
Python
false
false
649
py
""" Copyright (C) 2018-2019 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
[ "alexey.suhov@intel.com" ]
alexey.suhov@intel.com
d341bc11dc6136338cd8983500ca6f80d3cf0957
e23a4f57ce5474d468258e5e63b9e23fb6011188
/120_design_patterns/019_observer/examples/3-Observer Pattern/Observer/Observer/observer/subject_abc.py
1dea785f7ce81d9e738e7bbe3d32ff2ae4f2c5f7
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
604
py
import abc from observer import AbsObserver class AbsSubject(object): __metaclass__ = abc.ABCMeta _observers = set() def attach(self, observer): if not isinstance(observer, AbsObserver): raise TypeError('Observer not derived from AbsObserver') self._observers |= {observer} ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
3a3beeba106044e052fd49f46befcad305b2add2
da7a165522daea7c346693c5f32850017c482967
/abc101-150/abc125/b.py
f9352d804e2cad589fdc1dee02616602a36ea9e5
[]
no_license
SShayashi/ABC
19f8750919208c5ff8935638dbaab941c255f914
3cbfee0c5251c1bb0df6306166d8d4b33bf7bb2c
refs/heads/master
2021-05-04T21:06:10.720367
2020-07-11T13:59:16
2020-07-11T13:59:29
119,886,572
2
0
null
null
null
null
UTF-8
Python
false
false
222
py
N = int(input()) V = list(map(int, input().split())) C = list(map(int, input().split())) def m(): ans = 0 for i in range(N): if V[i] - C[i] > 0: ans += (V[i]-C[i]) return ans print(m())
[ "sshayashi0208@gmail.com" ]
sshayashi0208@gmail.com
14009560d77dc1df0a591c3d32726dfe1e554a7c
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_385/ch44_2019_04_22_23_26_13_893032.py
7235d076dfd3ed9e74ab657645c9cdb343e3ab8b
[]
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
155
py
def soma_valores(soma): lista = [0,1,2,3] i=0 soma=0 while i<len(lista): soma+= lista [i] i+=1 return soma
[ "you@example.com" ]
you@example.com
e1f8643a19cb6dc080f8d419aeab0ebc744bc104
14a7fe456644d19e845a510b9c8e72af31190e39
/users/forms.py
dc838acb86a4281ca24e07e8f4dcf89e86e1c717
[]
no_license
Eduardo-Lucas/usesoft_pmiba
068107a6ecf9eac7bb2b5f7e44cca6cf6b26df18
05823f4d834459eb2ce43b5092823ec606dfe9a2
refs/heads/master
2022-12-12T10:52:08.605113
2018-10-31T17:31:27
2018-10-31T17:31:27
151,250,111
0
0
null
2022-12-08T03:01:25
2018-10-02T12:24:08
Python
UTF-8
Python
false
false
435
py
from django import forms from django.contrib.auth.forms import UserCreationForm, UserChangeForm from .models import CustomUser class CustomUserCreationForm(UserCreationForm): class Meta(UserCreationForm.Meta): model = CustomUser fields = ('username', 'email') class CustomUserChang...
[ "eduardolucas40@gmail.com" ]
eduardolucas40@gmail.com
4c11cd1c1ae285ea84736c3300680ccc4b4bae76
af3e249753fbf04ce10a01e4dbeab549cb4ae34d
/oscar/apps/catalogue/migrations/0009_slugfield_noop.py
5a0edf6bc86e9bf35b8777165d1fcd35432523f1
[]
no_license
rwozniak72/sklep_oscar_test
79588b57470c9245324cc5396aa472192953aeda
fb410dc542e6cb4deaf870b3e7d5d22ca794dc29
refs/heads/master
2020-08-12T04:55:25.084998
2019-10-16T21:14:08
2019-10-16T21:14:08
214,692,764
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-13 08:44 from __future__ import unicode_literals from django.db import migrations import oscar.models.fields.slugfield class Migration(migrations.Migration): dependencies = [ ('catalogue', '0008_auto_20160304_1652'), ] ...
[ "rwozniak.esselte@gmail.com" ]
rwozniak.esselte@gmail.com
e641d2ac5f184700e1c4136725d593fed503e12f
17e0d1a7c3cae13730a97fe7a34b8aeb58a62f53
/fjord/feedback/migrations/0011_convert_residual_unknown_to_empty.py
1ae49abca930ac7e71a7aaf05efcf561d8142049
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
mnoorenberghe/fjord
a1bbf1f32ff7e72b0ff01588a24d1c7c50b42548
2d2566ee017a745ae8da0008aee8d2d131df4112
refs/heads/master
2020-05-29T11:38:10.077042
2013-10-25T19:54:50
2013-10-25T19:54:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,934
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import DataMigration from django.db import models class Migration(DataMigration): def forwards(self, orm): # Change "Unknown" to "" in version column print '0011: version updated', orm.Response.objects.filter(version=u'U...
[ "willkg@mozilla.com" ]
willkg@mozilla.com
ce6dfd183ee13f2179fdf3050996d8c643389b44
16fe74651e6692ea3d8d0302b40ac42f3d58e0ca
/move_zeroes.py
f403dff9d9b1363a0e84b60d5379f0c6bf403cc7
[ "MIT" ]
permissive
Ahmed--Mohsen/leetcode
7574f71b10dfb9582f62e856bbc2559d3b21b2a1
ad8967a5d85ac54f53b3fcce04df1b4bdec5fd9e
refs/heads/master
2021-01-18T14:34:06.987665
2015-12-23T21:17:27
2015-12-23T21:17:27
33,744,104
4
0
null
null
null
null
UTF-8
Python
false
false
935
py
""" Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. For example, given nums = [0, 1, 0, 3, 12], after calling your function, nums should be [1, 3, 12, 0, 0]. Note: You must do this in-place without making a copy of the array. Minim...
[ "ahmed7890@gmail.com" ]
ahmed7890@gmail.com
247f74a25c0d302adb7988c18b2001216212baf8
6f5071d72c4c44677e6438958b9a84756e477b15
/answer/migrations/0004_answer_marks.py
9b1c48c6db90189b6e47dc9198bae6d518577f57
[]
no_license
saatvikgulati/Classwork-Mangt-Sys
29c705db7f49c6f4446020d39400ca8a30d0d115
ca9cafb90908c7ffeb6711b19fe32fc30375be4d
refs/heads/main
2023-05-01T17:55:52.088996
2021-05-18T16:32:18
2021-05-18T16:32:18
368,512,508
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
# Generated by Django 3.1.5 on 2021-01-20 15:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('answer', '0003_auto_20210120_1619'), ] operations = [ migrations.AddField( model_name='answer', name='marks', ...
[ "saatugulati@gmail.com" ]
saatugulati@gmail.com
7f3cb94342ea3035f0b194f54fb9a96d09f0f270
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2265/60621/269113.py
d2fded34fc9224603c05cc92f0da4425f43cbdf7
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
2,099
py
aa=eval(input()) t=0 while aa!=0: t+=1 tt=[] if t==13: tt.append(aa) head=[-1 for x in range(aa)] df=[-1 for x in range(aa)] low=[-1 for x in range(aa)] valid=[False for x in range(aa)] cut=set() belong=[-1 for x in range(aa)] edgeArray=[] def addEdge(u,v,w): ...
[ "1069583789@qq.com" ]
1069583789@qq.com
4da1a5465d6691d7deb3d4d4c39a59ca42d92c1b
1fd7d0ac2903beb5ef70370b22485a3b43df7466
/Flask/Websites/Material Kit/app/cli.py
66259b94db8714e791e35f721f123a6010395b9f
[ "MIT" ]
permissive
stanman71/Python_Basics
a34b3ea95b035ced5e607a8ba4841836c7667666
fe442e421362b22f61d05235e835a568d9ce3aef
refs/heads/master
2021-06-07T21:29:58.565300
2019-09-22T21:07:56
2019-09-22T21:07:56
161,891,286
1
0
MIT
2021-05-08T16:50:05
2018-12-15T09:47:23
CSS
UTF-8
Python
false
false
1,230
py
# -*- encoding: utf-8 -*- """ Fully Coded App by AppSeed.us License: MIT For more apps please access https://appseed.us/ Copyright (c) 2019 - present AppSeed.us """ import datetime,time,os,re from sqlalchemy import desc,or_ from flask_frozen import Freezer from app import app, lm, db, bc from . common ...
[ "stanlay@gmx.net" ]
stanlay@gmx.net
16ac2ffb46315eccfc9e5ae3a88c82f9e1e182a2
3dfb4ee39555b30e6e0c6fcdbef371864e69f694
/google-cloud-sdk/lib/googlecloudsdk/api_lib/dataflow/job_utils.py
c908cc017c2f11981a238e5ba2ba7589c1c54f84
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
MD-Anderson-Bioinformatics/NG-CHM_Galaxy
41d1566d5e60416e13e023182ca4351304381a51
dcf4886d4ec06b13282143ef795c5f0ff20ffee3
refs/heads/master
2021-06-02T21:04:12.194964
2021-04-29T14:45:32
2021-04-29T14:45:32
130,249,632
0
1
null
2020-07-24T18:35:21
2018-04-19T17:25:33
Python
UTF-8
Python
false
false
5,000
py
# Copyright 2015 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...
[ "rbrown@insilico.us.com" ]
rbrown@insilico.us.com
8cba9f17f12c2bb9784747f7db527211d02d4310
d8c80d51223e124dff5263b4c0d919bf069817fd
/BPR/model.py
3e663d91e7e1153c6a4b9e9132042e38c8ffc487
[]
no_license
ninahug/Recommender-System-with-TF2.0
3a33321cf5d2804daee0af4fa54e3f78ae603b84
d8a018c68f011fc3ab4116a44d27141aaaad67dd
refs/heads/master
2023-01-21T11:51:48.342827
2020-11-25T00:53:21
2020-11-25T00:53:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,607
py
""" Created on Nov 13, 2020 model: BPR: Bayesian Personalized Ranking from Implicit Feedback @author: Ziyao Geng """ import tensorflow as tf from tensorflow.keras import Model from tensorflow.keras.layers import Embedding, Input from tensorflow.keras.regularizers import l2 class BPR(Model): def __init__(self, f...
[ "593947521@qq.com" ]
593947521@qq.com
5490a110dc7bab7a57b16e94d0aff759447778eb
4007632edd395d243bca022418848a2ff54409c8
/MX2.0 好友管理/get friend_list.py
13c5be554090b18658d696e14f9b411d21f04478
[]
no_license
549982170/python_learning
d80a9403cbe2eb8304aba50ff373b2b67df095e2
2c3f73718e0a6d9d4923a2e0f22ff2d4230357e9
refs/heads/master
2021-06-22T04:32:06.286691
2020-12-10T03:29:56
2020-12-10T03:29:56
101,596,379
0
0
null
null
null
null
UTF-8
Python
false
false
763
py
#!user/bin/python #encoding:utf-8 import requests import json url = 'http://www.moxiancn.com/mo_common_sso/m1/auth/login' payload = { "useraccount": "8615814431642", "userpass": "123456" } headers = {'content-type': 'application/json'} r = requests.post(url,data = jso...
[ "549982170@qq.com" ]
549982170@qq.com
369e14fcd22d3067d9b691234174aa6892414343
9cb7670c64c13f09abee315f85f1f6b67b8eb1ad
/ptp/components/viewers/stream_viewer.py
e44fb4cc8d7f5b754e51def281d6ed85591b2308
[ "Apache-2.0" ]
permissive
ConnectionMaster/pytorchpipe
057325a5d4e8e6ce2198a953a705721388531add
9cb17271666061cb19fe24197ecd5e4c8d32c5da
refs/heads/develop
2023-04-07T17:46:26.451692
2019-11-05T23:36:13
2019-11-05T23:36:13
183,084,219
1
0
Apache-2.0
2023-04-03T23:18:43
2019-04-23T19:38:29
Python
UTF-8
Python
false
false
3,970
py
# -*- coding: utf-8 -*- # # Copyright (C) tkornuta, IBM Corporation 2019 # # 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 require...
[ "tkornut@us.ibm.com" ]
tkornut@us.ibm.com
20a56225bba67e43bf69a9c67c600e61238535e8
c5c4a63bffac36a83a54f3cc3f0023d717866528
/examples/share_option/main.py
b02468d994430259f877a63df3f75619c10ecb16
[ "Apache-2.0" ]
permissive
pddg/uroboros
b380422c8ea70871fd47a4aae06e4329be3cf01b
0e621206c24e62d96fdac244d09c0c790d8930df
refs/heads/master
2021-06-17T07:27:49.943792
2020-07-12T09:25:03
2020-07-12T09:25:03
193,533,072
15
0
Apache-2.0
2021-05-02T09:18:45
2019-06-24T15:37:46
Python
UTF-8
Python
false
false
2,817
py
from pathlib import Path from uroboros import Command, version, Option, ExitStatus # First, declare option class inherited from `uroboros.Option`. class CommonOption(Option): def validate(self, args): # If there is no errors, return an empty list. errors = [] if not args.path.exists(): ...
[ "s.kokuryo@gmail.com" ]
s.kokuryo@gmail.com
09c66ff6a726d4f48f9ff4d8547e6fe8e0c1cadb
df274b65d9b34d58e54ddf0424ebc7a289d59711
/redditalpha/decks/migrations/0002_auto_20160925_0452.py
6ac62606795aedd26087836fbb9af0ce613ee9e1
[]
no_license
kjg531/RA
88c2b94229c226b90259d574070a27071cfd4f1a
b10753a5fb7730c1f4ef93820764ae6ea509a94c
refs/heads/master
2020-05-21T20:54:11.629811
2017-02-02T20:21:34
2017-02-02T20:21:34
64,705,060
2
0
null
2017-11-01T00:45:26
2016-08-01T22:10:32
Python
UTF-8
Python
false
false
3,217
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.9 on 2016-09-25 04:52 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 = [ ('cards',...
[ "mando.alvarado.jose@gmail.com" ]
mando.alvarado.jose@gmail.com
3e50baa462d81bf7f5f2c30c8c21bf56ffa7328a
463411688fd841add1c89c88852cff79c223cca4
/db/models/tb_VASHistoryVulnerability.py
58adb2a4d16d7bcac4f6132ba357d6d13b830a59
[]
no_license
hsiang0107/Restful_API_Testing
8d9063186e53ddf03d50efa983ec3f73ec794958
2411b9c8a3c87336f7dbfaa807857d01bb1540d9
refs/heads/master
2020-03-23T04:56:56.345366
2018-07-16T09:27:10
2018-07-16T09:27:10
141,115,494
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
from sqlalchemy import Column from db.cm_session import cm_session, Base from sqlalchemy.dialects.mssql import CHAR, INTEGER class TbVASHistoryVulnerability(Base): __tablename__ = 'tb_VASHistoryVulnerability' VAS_HistoryRelationID = Column(CHAR(36), primary_key=True, nullable=False) VAS_VulnerabilityID = ...
[ "hsiang0107@hotmail.com" ]
hsiang0107@hotmail.com
ee885baf3e415f20662990d44ed55ca2374d33c8
e000db56febfc79ee1586804265d11fca4adfe59
/venv/Session4A.py
5a20635e2f441ad31ee5cc56cd6e172faf5c9b28
[]
no_license
ishantk/PythonSep72018
2210bb1747752309eb5ef431988e2197e393cf2d
5413c0061dd644166eeb3539d75b7404c6ea12d9
refs/heads/master
2020-03-28T06:11:41.991398
2018-11-19T12:08:55
2018-11-19T12:08:55
147,819,901
0
1
null
null
null
null
UTF-8
Python
false
false
196
py
print("Wow") def main(): print("==Welcome==") print("This is Awesome") if __name__ == "__main__": main() #Practical: Create KBC of 5 Question using Functions #Explore: raw_input
[ "er.ishant@gmail.com" ]
er.ishant@gmail.com
d580922698467c18e2f3bfe074022397de6de78f
e23a4f57ce5474d468258e5e63b9e23fb6011188
/030_control_flow/001_if/_exercises/_templates/ITVDN Python Starter 2016/05-nested-if-else-with-elif.py
95f5c2949a8278443a0318002e06159e5910cbf9
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
569
py
# # -*- coding: utf-8 -*- # # x _ in. in.. 'x = ' # # # Заменим второй вложенный if в предыдущем примере # # на оператор ветвления с несколькими условиями # __ 0 < ? < 7 # print('Значение x входит в заданный диапазон, продолжаем') # y _ 2 * x - 5 # __ y < 0 # print('Значение y отрицательно') # _...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
4db6a3f66986629ebc686a522c1afbb6bf1818c0
2421e26bc619bd148c8647594a21f2560f65be79
/src/bayesian/preprocess_dataset.py
093df129d9d894015654a1c697ea4706eb9c1d3f
[]
no_license
dbofseuofhust/sota-crowd-counting
b8cc2b569d568e69e37ecc33c5496d499c3f3d65
571509fd3a0e23c9e6d9aa81ff0a25cffd744018
refs/heads/master
2022-03-23T15:21:18.304606
2019-12-30T09:02:30
2019-12-30T09:02:30
229,969,127
2
0
null
null
null
null
UTF-8
Python
false
false
4,025
py
from scipy.io import loadmat from PIL import Image import numpy as np import os from glob import glob import cv2 import argparse def cal_new_size(im_h, im_w, min_size, max_size): if im_h < im_w: if im_h < min_size: ratio = 1.0 * min_size / im_h im_h = min_size ...
[ "846503548@qq.com" ]
846503548@qq.com
3c8a239ce32a4e7808387253c0de4d7ed51efb58
450c27ee64ab60f9cf842eaddda52279012d7885
/0x0B-python-input_output/8-load_from_json_file.py
3121ca990c3a8322aa8523af30cc5a488c8bdb66
[]
no_license
dacorredor11/holbertonschool-higher_level_programming
5a2805d62736021d26c0731085ad251bf58d45f6
85e54b116fbf359909cad39698ca09945cb639e1
refs/heads/master
2022-12-16T19:43:21.508586
2020-09-25T03:48:23
2020-09-25T03:48:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
#!/usr/bin/python3 """This module defines the function load_from_json_file""" import json def load_from_json_file(filename): """ Creates an Object from a JSON file Args: filename (str): JSON file to create an Object from Returns: python object """ with open(filename, 'r', e...
[ "vidmore8@gmail.com" ]
vidmore8@gmail.com
7041d3f09166c907e6b1e5fe3c4314a952927a14
71b7e43830b3452daaaaacaf4e2b79c23bef978a
/hw3/code/run.py
89c9ec5ba6943d0991f044df39557cf0d87885fc
[]
no_license
ouyangjiahong/robot-autonomy
e6efabdbbce5f11fe33e152c6c09a87ae088c3a7
604bfbe19b67c2ebad88c26ddd06a19a7a2b0356
refs/heads/master
2021-03-27T15:57:28.328913
2018-04-22T00:56:43
2018-04-22T00:56:43
123,325,189
2
0
null
null
null
null
UTF-8
Python
false
false
3,322
py
#!/usr/bin/env python import argparse, numpy, openravepy, time from HerbRobot import HerbRobot from SimpleRobot import SimpleRobot from HerbEnvironment import HerbEnvironment from SimpleEnvironment import SimpleEnvironment from AStarPlanner import AStarPlanner from DepthFirstPlanner import DepthFirstPlanner from Bre...
[ "ouyangjiahong13@gmail.com" ]
ouyangjiahong13@gmail.com
fd3f25f12235543c2975f229b83a1f0e2e67e754
6da8ef4f504c12adc9f3c4b1816ed06d677e4cf1
/youtubewithpytube.py
ebd3b9874f710f0cb82bb718c5c8c05fce7ea3cc
[]
no_license
FlavienGelineau/youtube_downloaded_bot
6626200135a1b7a60a0bb09a4ae3efc3f80133b2
3198321802571d14bad70d1a037af055de41527d
refs/heads/master
2020-03-15T06:38:37.575821
2018-05-03T15:06:55
2018-05-03T15:06:55
132,012,062
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
"""Downloads a youtube video given a link.""" from pytube import YouTube def dl_yt_video(link, repertory): """Dl a youtube video given a link.""" YouTube(link).streams.first().download(repertory) if __name__ == '__main__': while True: link = input("please enter a link") dl_yt_video(link...
[ "you@example.com" ]
you@example.com
1baa8b1b4cc0f2e970e341dfb3cc374f24aaefd2
56997c84a331433225f89f168520ad8d709083c1
/Programmers/그래프/배달/delivery_ver1.py
bc47e967fc498fde93fbc907925e05ba06e90f87
[]
no_license
miseop25/Back_Jun_Code_Study
51e080f8ecf74f7d1a8bb1da404d29c8ba52325c
1d993e718c37c571aae1d407054ec284dc24c922
refs/heads/master
2022-11-06T01:05:05.028838
2022-10-23T13:11:22
2022-10-23T13:11:22
200,828,984
3
0
null
null
null
null
UTF-8
Python
false
false
1,826
py
import sys from collections import deque sys.setrecursionlimit(10**9) class Node : def __init__(self, data) : self.data = data self.bridge = dict() class Delivery : def __init__(self, N, road, K) : self.N = N self.road = road self.K = K self.totalSet = set() ...
[ "richard25@naver.com" ]
richard25@naver.com
5ea6cac9a1eb67efe6c72e741953490d2e83d24e
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/agc004/A/4634203.py
1250a29c4f3c2d34a3f0d6a04f0f7dbc6309b1ae
[]
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
472
py
#AGC004 A 22:48- ''' ?? 1x1x1??????AxBxC??????????? ???????????????3???????? 1???????????????1????? 2??????????1??????????? 3??????????1??????????? ????????????????????????????? ???A?B?C?2??10**9?? ?? ???????????????2?????????????????????????? ????2???????????????????(A%2)*B*C ???????2??????????(B%2)*C*A...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
7977041ff687a838735a976ea208c340d5cc1e34
167e1c8a7403b9a3bc721c9d7b3376fb16da3e4a
/workbench/workers/view_pcap_deep.py
b6407e18dfdab83595292d640dc93106bee9ece0
[ "MIT" ]
permissive
twseptian/workbench
c81f1be5e275a23cc1f17b01ee240167bbd904c2
710232756dd717f734253315e3d0b33c9628dafb
refs/heads/master
2020-09-20T08:38:33.064600
2017-05-02T16:22:03
2017-05-02T16:22:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,107
py
''' view_pcap_deep worker ''' import zerorpc import pprint import os class ViewPcapDeep(object): ''' ViewPcapDeep: Generates a view for a pcap sample (depends on Bro)''' dependencies = ['view_pcap'] def __init__(self): ''' Initialization of ViewPcapDeep ''' self.workbench = zerorpc.Client...
[ "briford.wylie@gmail.com" ]
briford.wylie@gmail.com
c89a206b93ee688eb0f6de915056feea3c3d9278
aa9297175621fcd499cad5a0373aaad15f33cde8
/HackerRank/day_8_dicts.py
2ff17adb77df3bc5fe97d8c58e242ef0f08a93f2
[]
no_license
eflipe/python-exercises
a64e88affe8f9deb34e8aa29a23a68c25e7ba08a
b7a429f57a5e4c5dda7c77db5721ca66a401d0a3
refs/heads/master
2023-04-26T19:19:28.674350
2022-07-19T20:53:09
2022-07-19T20:53:09
192,589,885
0
0
null
2023-04-21T21:23:14
2019-06-18T18:06:14
HTML
UTF-8
Python
false
false
2,229
py
n = int(input()) name_number = [] names = [] for i in range(n): queries = input() name_number.append(queries.split()) for i in range(n): query_name = input() names.append(query_name) for i in range(n): if name_number[i][0] == names[i]: print(f'{name_number[i][0]}={name_number[i][1]}') ...
[ "felipecabaleiro@gmail.com" ]
felipecabaleiro@gmail.com
80d32ecccb0b7c12f8bdf6cc6bfd8aa2d27fb66b
8dc84558f0058d90dfc4955e905dab1b22d12c08
/third_party/blink/renderer/platform/plugins/DEPS
ad511e473b048da0f0dae83cc32a670803c44bb5
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
meniossin/src
42a95cc6c4a9c71d43d62bc4311224ca1fd61e03
44f73f7e76119e5ab415d4593ac66485e65d700a
refs/heads/master
2022-12-16T20:17:03.747113
2020-09-03T10:43:12
2020-09-03T10:43:12
263,710,168
1
0
BSD-3-Clause
2020-05-13T18:20:09
2020-05-13T18:20:08
null
UTF-8
Python
false
false
459
include_rules = [ # Don't depend on platform/. "-third_party/blink/renderer/platform", # Module. "+third_party/blink/renderer/platform/plugins", # Dependencies. "+third_party/blink/renderer/platform/graphics/color.h", "+third_party/blink/renderer/platform/heap", "+third_party/blink/ren...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
45ad57d83d99fab5a72ce8d3a7bb4fbcf69b3889
656086cf8542b0e02adae7ac30e4d302db1fbfd0
/accounts/urls.py
e4d27409acfe0473de86af5a987715e822bbbbe3
[]
no_license
swasher/privategames
9fddc85a89e29529205f057821832afe3b45dbfd
8c43967f0114d113aaec5f875966b3a07dfd0dc1
refs/heads/master
2021-11-19T08:53:09.085405
2017-06-19T20:31:31
2017-06-19T20:31:31
94,815,806
0
0
null
2021-09-07T23:46:40
2017-06-19T19:59:28
HTML
UTF-8
Python
false
false
461
py
from django.conf.urls import url from django.contrib import auth from . import views urlpatterns = [ url(r'^user_registration/$', views.user_registration, name='user_registration'), url(r'^user_login/$', views.user_login, name='login'), # url(r'^login/(?P<next>\w+)/$', views.login, name='login'), # url...
[ "mr.swasher@gmail.com" ]
mr.swasher@gmail.com
611026bf890d5ee50f79ffa73bed1ba20af2b2aa
71d9245d5264c25e56a6bb36512049da2c608875
/docs/quit/bin/pip
e97746fadd98445faad93247f91e6161ddb65747
[ "BSD-3-Clause" ]
permissive
kuacuia/CrazyEyeDoc
1ef0d05e5de51b22f8126b92344348b41b4b2ae7
f6614e4c9811356942213c7c4d8744d27b90bf57
refs/heads/master
2021-05-01T20:20:24.015721
2015-10-19T05:36:48
2015-10-19T05:36:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
247
#!/Users/jieli/PycharmProjects/CrazyEye/docs/quit/bin/python # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "lijie3721@126.com" ]
lijie3721@126.com
6eb451f77106c79398cebfa31f88a1f7d538d4c6
89bd006c2497d48c7b84dbb568ca8bafcd73478c
/config.py
a4ce2f021ad7c0396e25a363279301ab32691477
[]
no_license
Jeffmusa/Blog-IP
ce68477209dc131d07af1174fcd090762c3ab562
07dc679994501ee2a7eabb99a5ef372626a4a5e8
refs/heads/master
2020-03-28T15:26:31.704067
2018-09-17T15:32:53
2018-09-17T15:32:53
148,593,594
0
0
null
2018-09-17T09:59:21
2018-09-13T06:40:53
Python
UTF-8
Python
false
false
891
py
import os class Config: SECRET_KEY = os.environ.get('SECRET_KEY') UPLOADED_PHOTOS_DEST ='app/static/photos' # simple mde configurations SIMPLEMDE_JS_IIFE = True SIMPLEMDE_USE_CDN = True ''' General configuration parent class ''' MAIL_SERVER = 'smtp.googlemail.com' MAIL...
[ "jeffmusa@gmail.com" ]
jeffmusa@gmail.com
444f0c8aba9ee241e6dadda5b4387b1eaeb1f7e3
f8065e5d6f898e02f4fbe533f5b252fe82273bb8
/gate/app/gateserver.py
00a8fac57a9031bf36c516ebc88d3c290ae95cba
[]
no_license
pizi06/firefly_study
f79c8e3596043beabc2b13783d46b18515617bfe
4e85db73e4eda473180b302c16872a498d605aab
refs/heads/master
2021-01-15T11:20:39.691679
2016-08-25T03:36:43
2016-08-25T03:36:43
65,810,416
0
0
null
2016-08-16T10:15:39
2016-08-16T10:15:39
null
UTF-8
Python
false
false
133
py
#coding:utf8 """ Created on 2013-8-13 @author: lan (www.9miao.com) """ from gate import initconfig initconfig.loadModule()
[ "chenee543216@gmail.com" ]
chenee543216@gmail.com
c2cc72ccd72c9aae8f54beed181c345b278d1e97
72730564dc94f1e2e777d7efea5cc4a25e1e773a
/scripts/crpo/job/selection_process.py
2d510c10e0b641233dfc046623b8360786624c82
[]
no_license
Dinesh-Dewangan/UI-Automation
0126f63201f4d3668a1d1a2ae59da99028a662cf
9d81753cc2034dde2699bf8ccb9fdd382cb4c876
refs/heads/master
2020-06-14T10:33:23.620942
2020-03-17T04:50:48
2020-03-17T04:50:48
194,982,742
1
0
null
2020-03-12T14:04:28
2019-07-03T05:02:16
Python
UTF-8
Python
false
false
2,769
py
import time import page_elements from scripts.crpo.job import create_job from logger_settings import api_logger class SelectionProcess(create_job.CreateJob): def __init__(self): super(SelectionProcess, self).__init__() self.ui_job_floating_action = [] self.selection_process_created = [] ...
[ "Vinod-E" ]
Vinod-E
ad75c8994d3c03167db28fdc34669f031e659f05
1d21211d7342730884cc581fcfea44bf5a1ab092
/reagent/gym/agents/post_step.py
c586d46efdae1e9616ae7f78d528751afedc4ed3
[ "BSD-3-Clause" ]
permissive
jayhsieh/ReAgent
f3fbc73fc614b46a9886b41c0c47860b14765a91
5949184e845627cb0fbe5b391070d509fc5d27b5
refs/heads/master
2022-06-28T19:01:06.263829
2020-04-25T05:56:37
2020-04-25T05:58:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,023
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. import inspect import logging from typing import Any, Optional import gym import reagent.types as rlt import torch from reagent.gym.types import PostStep from reagent.replay_memory.circular_replay_buffer import ReplayBuffe...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
7871d7ecdf9747eaa17c589987b37e1849170e4f
b162de01d1ca9a8a2a720e877961a3c85c9a1c1c
/793.preimage-size-of-factorial-zeroes-function.python3.py
c38e0f894a8e9b12acfa391f33a9d14f6c5c066a
[]
no_license
richnakasato/lc
91d5ff40a1a3970856c76c1a53d7b21d88a3429c
f55a2decefcf075914ead4d9649d514209d17a34
refs/heads/master
2023-01-19T09:55:08.040324
2020-11-19T03:13:51
2020-11-19T03:13:51
114,937,686
0
0
null
null
null
null
UTF-8
Python
false
false
1,005
py
# # [809] Preimage Size of Factorial Zeroes Function # # https://leetcode.com/problems/preimage-size-of-factorial-zeroes-function/description/ # # algorithms # Hard (38.94%) # Total Accepted: 4.3K # Total Submissions: 10.9K # Testcase Example: '0' # # Let f(x) be the number of zeroes at the end of x!. (Recall that ...
[ "richnakasato@hotmail.com" ]
richnakasato@hotmail.com
a991e6b06c3830c7780eb63f309e5947d803c4fc
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2705486_0/Python/gsz/garbledEmail.py
7f850504ee9349c401d830506d8eca177693fb8d
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
2,141
py
#!/usr/bin/env python from __future__ import print_function FLAG = 26 def buildPrefixTree(dictfile): f = file(dictfile, 'r') prefixTree = [None] * 27 for word in f: curSubtree = prefixTree for letter in word.strip(): lcode = ord(letter) - ord('a') if not curSubtree[...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
dbc5cc90fa55c1f60bbd8acc6a52d3de8475db3d
7b1b4ed8bd4c887362b367625a833c28aa919dd8
/wpaudit/providers/gcp/facade/cloudsql.py
38f16bc59848fe5f3441a37957a877e2b21f6f8b
[]
no_license
wperic/wpaudit
6bbd557c803ce9bceb764c1451daeb5e440a3d9c
ed69c1eabcf85e80ed8fe5397d2d369fd3ff35d8
refs/heads/main
2023-07-16T21:36:57.528548
2021-09-03T10:35:43
2021-09-03T10:35:43
402,716,870
0
0
null
null
null
null
UTF-8
Python
false
false
1,768
py
from wpaudit.core.console import print_exception from wpaudit.providers.gcp.facade.basefacade import GCPBaseFacade from wpaudit.providers.gcp.facade.utils import GCPFacadeUtils from wpaudit.providers.utils import run_concurrently class CloudSQLFacade(GCPBaseFacade): def __init__(self): super().__init__('sq...
[ "90035639+wperic@users.noreply.github.com" ]
90035639+wperic@users.noreply.github.com
209b2f495b0b1ad9ef0193ae571e7494fd565a6c
084bab407f0d6aa41998f56108f417dfa0148d84
/sharedNotes/migrations/0001_initial.py
90939cb5928d4326f9eaf6d27af4dfc6a7e8a652
[]
no_license
AMiracle-creator/EasyNotes
6c5dcbc3de9c50834e0d38799668c3771c0ecf26
4c03d2ab257e796da10051ececabd5da32a61242
refs/heads/master
2022-11-22T09:09:29.162852
2020-07-24T14:43:01
2020-07-24T14:43:01
277,596,374
0
1
null
null
null
null
UTF-8
Python
false
false
716
py
# Generated by Django 2.2.13 on 2020-07-16 18:03 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('notes', '0005_noteboard_pub_date'), ] operations = [ migrations.CreateModel( ...
[ "giliyazovmarat@gmail.com" ]
giliyazovmarat@gmail.com
b8a17e5bd000423b3d46d6fa738dab2166d3aba5
a67f5d4988d8aa77177c1072a11442ef116796ea
/py/main.py
c6ba5ef12af259f4c419869f1dde41edd732ba53
[]
no_license
AnKoushinist/nuclear-missiles-by-krsw.test
956c6824c640fd235527dac5b1f01c9b4766a59a
b39b95fd787f23dc41f754643b5ae4fee744c21e
refs/heads/master
2020-03-16T01:42:45.754033
2018-05-07T10:39:03
2018-05-07T10:39:03
132,446,451
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
#!/usr/bin/env python import os import threading from lambda_function import forever def simpleBomb(): forever(os.environ['BOMB_TO']) if __name__ == "__main__": thureads = [] for j in range(50): thureads.append(threading.Thread(target=simpleBomb, args=())) for i in thureads: i.start()
[ "you@example.com" ]
you@example.com
f8938f7633a5a6764331c2b358522afee98f03dc
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/grpc/src/src/python/grpcio_testing/grpc_testing/_channel/_rpc_state.py
a548ef0f12e6c33ebb8f2d8ab257ee28f8ff502c
[ "BSD-3-Clause", "MPL-2.0", "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
Python
false
false
7,232
py
# Copyright 2017 gRPC 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 applicable law or agreed to in writing...
[ "jengelh@inai.de" ]
jengelh@inai.de