blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
39863065ae22a1055f52b564fe517db3bbf2fc46
77d4fb49217495d80239d9b882e1033e0450d04d
/docs/go.py
08907751c60a5b0c50b8d3f6583a4ec64109bbaf
[]
no_license
itLeeyw/fanqiang
44802b0d1a4274e3114be44f467d540b344af233
d1637df04def66fff1fa30503f8db2a15f8277d2
refs/heads/master
2021-01-26T01:58:35.650275
2020-02-26T10:31:29
2020-02-26T10:31:29
243,265,345
1
0
null
2020-02-26T13:10:11
2020-02-26T13:10:10
null
UTF-8
Python
false
false
684
py
TVuElu8I6uflpL+Y+JVB4PonxXqRAv0rCzO5m2tYaevwhCO+CDvgUSeke0J1SSa61ireAmDamQNJ5OpaBDf8aIX9R9z0zGjlCRDZM78qKcjVJl/99tsScBSE67JxsBaYR5VnQHSbspP9PEtFFf9sXBv6g9V4n0wJd9B7RFJ1tprGhq3umwIiqDBPffV3oTACuAtg7q0nHVZnR+lwO0kLok/Lxmo+LCOMHB/FDAViBZIsHjapsoQPc1nvkSHAmSexGj9j8HGEMCYc3xx5R3mc84XJ1LtwL4ZFErFbtd+E+AKGB32RLLsyIOuFPCE56ZIf...
[ "banned.ebook@gmail.com" ]
banned.ebook@gmail.com
45cec933978ff60794f2f536a269a9ca461e841f
2c1e7621bec9f9cdd819a2316f70fe28fd1e2886
/Dbms Project/check_credential.py
b8e76b807f22bf54d4d339dca6bac8a1e75f4d67
[]
no_license
sneha-v/smart-learning-system
906c7891c814ca8a019b034119ccf30502a4060b
b7f3f3ddba88434471a999578a23ebd97f908846
refs/heads/master
2020-04-08T00:04:30.828986
2018-11-23T13:33:03
2018-11-23T13:33:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,168
py
import mysql.connector as con class credential(object): def __init__(self): self.db= con.connect( host = "localhost", user = "root", password = "snehasindhu@3", database = "pro" ) self.cur = self.db.cursor(buffered=True) def login(self,...
[ "snehavijayakumar1998@gmail.com" ]
snehavijayakumar1998@gmail.com
fa9e0724007af0188f2e5d4554f50de3eff47410
f7bc54fae7550d052a16dc7b3f9a889e169a0a8a
/src/cli/commands/image/image.py
a5bc9f4b08ea13637ca9b235a814dce5740f7a78
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
DavidWalshe93/isic_cli
41c4e48eb91ddce7e4c3d81d909a308d442bf777
9ef42255f442f05a31ab9a8048a6f2a26c3e2800
refs/heads/main
2023-03-10T21:21:12.267384
2021-02-23T01:47:36
2021-02-23T01:47:36
338,428,439
0
0
null
null
null
null
UTF-8
Python
false
false
2,707
py
""" Author: David Walshe Date: 12 February 2021 """ import logging from collections import namedtuple import click from click.core import Context from src.cli.config import GROUP_CONTEXT_SETTINGS from src.cli.utils import kwargs_to_namedtuple from src.cli.validators import convert_bool_to_lower # Commands...
[ "david.walshe93@gmail.com" ]
david.walshe93@gmail.com
54698c98fb05608a66bc3c878cebf8465a0d0423
9844b65e42795e5102a2dc9ad2e493f7501ebda1
/accounts/migrations/0007_order_note.py
a01459defa61f51a50d440306afe90237ae99978
[]
no_license
rikicop/djbeginner
01249e2613287dffa49deb1093c90bbc34870839
3d9362c7b13f596c2811fd75172c6fff5afefad3
refs/heads/main
2023-03-15T03:06:38.080154
2021-03-16T04:27:11
2021-03-16T04:27:11
346,861,135
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
# Generated by Django 3.0 on 2021-03-16 03:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0006_auto_20210313_2055'), ] operations = [ migrations.AddField( model_name='order', name='note', ...
[ "ruperto1@protonmail.com" ]
ruperto1@protonmail.com
c8b11aad109c754906b463f697e0656d8e8e4245
6e134bb86875dff734af5ad5146f20ca4440e75a
/train_prior.py
5d50f8a7fbe38a829ab78288cad8d5871165b3f9
[]
no_license
Vermeille/VQVAE2
63ff8c2c308cfd75efb70a6290ba4ec246a214e7
e3b16484daf4c778e5f2bc8e7a1097f4914155c0
refs/heads/master
2023-08-17T10:28:46.287965
2023-08-14T15:08:47
2023-08-14T15:08:47
194,443,196
4
0
null
null
null
null
UTF-8
Python
false
false
3,653
py
import sys import time #import tqdm import torch from torch import optim import torch.nn.functional as F import torchvision import torchvision.transforms as TF import vqae import pixcnn from perceptual_loss import PerceptualLoss from vq import VQ from visdom import Visdom viz = Visdom() viz.close() SZ=64 tfms = TF...
[ "guillaume.v.sanchez@gmail.com" ]
guillaume.v.sanchez@gmail.com
d02708d551fdb1003e2d0387f4a8572442aa712c
b43cee0973a455a58b74233d4e02d522587f93ae
/music_deserialize.py
de03e2b95eb8905594166b8a0087146b435419d3
[]
no_license
ivadimn/py-input
5861cc92758378f44433bd6b1af7ba78da04d1c0
bbfdd74c4dffe66440490d79082de2c0318e5027
refs/heads/master
2023-08-15T03:34:01.916026
2023-07-24T14:48:08
2023-07-24T14:48:08
202,401,715
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
# 2: Создать модуль music_deserialize.py. В этом модуле открыть файлы group.json и group.pickle, # прочитать из них информацию. И получить объект: словарь из предыдущего задания. import pickle import json json_file = "group.json" pickle_file = "group.pickle" with open(json_file,'r', encoding="utf-8") as fs:...
[ "ivadimn@mail.ru" ]
ivadimn@mail.ru
3ca05867072e03fc65e4f9c6b3c257eca583f4f1
c4ae1d850dd3c3c34e6419e1ff25192ce5cca3c7
/imagenet_dgl/models/auxillary_classifier.py
a416febe93083a87bdc10404d011c271634a0e0d
[]
no_license
eugenium/DGL
3f75348c78cdd4c3f91831feeb47c7c444d4824b
4cc7c178ecfc0f780976cda99abf57517bed7b00
refs/heads/master
2021-07-05T22:32:26.463947
2020-08-28T20:13:44
2020-08-28T20:13:44
167,229,536
27
6
null
null
null
null
UTF-8
Python
false
false
2,666
py
"" import torch.nn as nn import torch.nn.functional as F import math class identity(nn.Module): def __init__(self): super(identity, self).__init__() def forward(self, input): return input class auxillary_classifier2(nn.Module): def __init__(self, feature_size=256, input_...
[ "eugenium@gmail.com" ]
eugenium@gmail.com
9b57392bb4d51cd6fee28c88d78e3924991ce4dc
d9fbf3cf9316cee7b9bac33f1a0fc3ae77883f2c
/mdcas-python/SWaN_pack/spectrum.py
d0759cdb7711c33e7fe414ed35c031bb1857b6c0
[]
no_license
saisankargochhayat/signaligner
390a18a21c44afc3bc1c155a0b443f47698f69d2
a85e2b5375bfc48ec8d10edf2d27b2d88a0e41ae
refs/heads/master
2022-04-09T03:07:58.264310
2020-01-27T00:07:12
2020-01-27T00:07:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,606
py
""" ======================================================================= Frequency features ======================================================================= '''Frequency domain features for numerical time series data''' """ from scipy import signal, interpolate import numpy as np import SWaN_pack.detect_peaks...
[ "amukherjee@benunets.com" ]
amukherjee@benunets.com
97e8a4a094c40e8590d73a073272fccf43b4afee
7dbe0daf56af3752498c0b70ebbad2e2fc9b11e4
/targetshare/models/relational/page.py
8a7dda7f5c7cef6f4ef8907556ed49599f99af42
[]
no_license
edgeflip/edgeflip
db737518ff9a6f377f3dfab16f27572a5e68c1aa
bebd10d910c87dabc0680692684a3e551e92dd2a
refs/heads/master
2020-04-09T16:41:15.815531
2015-05-17T22:14:42
2015-05-17T22:14:42
7,248,450
1
0
null
null
null
null
UTF-8
Python
false
false
2,624
py
import re from django.db import models from . import manager from .base import BaseModel class Page(BaseModel): BUTTON = 'button' FRAME_FACES = 'frame_faces' page_id = models.AutoField(primary_key=True) name = models.CharField(max_length=100, unique=True) code = models.SlugField(max_length=100...
[ "jesselondon@gmail.com" ]
jesselondon@gmail.com
23e8a0114e34cc1bdcb937b52ccb467eef4c8479
44e27275fd9837d4b31aea4625261b0c225f7357
/co1.8.changed$.py
4df3715cbfa7e2ed930d061b3164895c7965afd0
[]
no_license
Python-lab-cycle/ANJALY-NARAYANAN
2a303545cd0d5fdabb2d4a598699aa5ba99b2b5d
c132eb123777c24db4b47b8cb70fd8280262b483
refs/heads/main
2023-06-07T23:27:23.642412
2021-07-02T07:01:39
2021-07-02T07:01:39
325,924,545
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
str1=input("Enter a string:") print("Original String:",str1) char = str1[0] str1 = str1.replace(char, '$') str1 = char + str1[1:] print("Replaced String:",str1)
[ "noreply@github.com" ]
noreply@github.com
1985122d2f03ebf32d30f4ea38c98b7dc1d7265a
ae56254e3e0ffa1defcea3218d20f00fa3eb147d
/suiltes/suiltes/urls.py
a92ef7ed0647059da7f756e89d16bb12f577feea
[]
no_license
PetrovKP/test-suites
2c30aa5fdeb27550b051d5f152f9d70cb8e330df
66fa31fd302544bd978fe7a74bb386779302eede
refs/heads/master
2020-07-22T07:42:05.881478
2016-12-11T18:45:08
2016-12-11T18:45:08
73,831,871
0
1
null
2016-12-11T18:45:09
2016-11-15T16:18:18
Python
UTF-8
Python
false
false
990
py
"""suiltes URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
[ "Petrovich_1811@mail.ru" ]
Petrovich_1811@mail.ru
722078c58e3d89f13fdb5f6dd13bc9f0801aa3fb
3846886c0b0624f3a9896d7a0ed34960db1237bf
/wiki-headings.py
a4b8f1330892202e39163dae5f0802eee0930ddf
[]
no_license
raghavo9/web-scraping
d475d6e7b2b1bb6a47d3089444f99c204dc83eb8
12cc861bac8e1fd4f37c549e5c7be105800319ee
refs/heads/master
2020-05-30T08:12:32.225758
2019-05-31T19:18:37
2019-05-31T19:18:37
189,615,702
1
0
null
null
null
null
UTF-8
Python
false
false
363
py
from bs4 import BeautifulSoup import requests source=requests.get("https://en.wikipedia.org/wiki/Machine_learning").text soup=BeautifulSoup(source,'lxml') for headline in soup.find_all(class_="mw-headline"): print(headline.text) print(" ") print(" ") #for printing all the headings of table of content(if any) v...
[ "noreply@github.com" ]
noreply@github.com
65768ea1c36c359f61a25272cbe6f5981242289b
1b8f10ea8777aabed5cbd1a7f0602ed5b7416887
/Perguntas.py
89dc9cb5328efd427e200e6c46982205ff8c9e4f
[]
no_license
rafinhadufluxo/SistemaEspecialista
cc34655111ed905962cc76de7390fbfdd90e4544
5561c45a1d4fbfda3d332977f1a35a5502181db6
refs/heads/master
2023-08-18T02:38:07.239266
2021-10-12T21:48:05
2021-10-12T21:48:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
from random import * class Pergunta: def __init__(self): self.level = [ ['Voce esta vendo o imovel?', 'imovel'], ['Imovel localiza em zona urbana?','zonaurbana'], #['Imovel localiza em zona rural?','zonarural'], ['O Acabamento do imovel é de alvenaria?','alvenaria'], #['O Acabamento do imo...
[ "arruda.rafa.ra@gmail.com" ]
arruda.rafa.ra@gmail.com
50a4d1f9697a36b6937023bdf5a5c81950909ed6
84f1f0ebb3ddbd4fde8e4e4e8fa3d47968986254
/trainer/train_doc_ml.py
3652d826b86718a511de34e46553dd7eade808bc
[ "MIT" ]
permissive
dainis-boumber/AA_CNN
e8d6f91c38ad40794bf0d95208e85f374525625a
649612215c7e290ede1c51625268ad9fd7b46228
refs/heads/master
2021-01-01T16:45:31.027942
2018-02-04T16:39:54
2018-02-04T16:39:54
97,909,140
3
4
null
2018-02-04T16:39:55
2017-07-21T05:26:05
Python
UTF-8
Python
false
false
10,578
py
#! /usr/bin/env python import datetime import os import time import tensorflow as tf from datahelpers import data_helper_ml_mulmol6_OnTheFly as dh from evaluators import eval_pan_archy as evaler from networks.cnn_ml_archy import TextCNN def init_data(embed_dimension, do_dev_split=False): dater = dh.DataHelperM...
[ "aeryen@gmail.com" ]
aeryen@gmail.com
5f215490282ef20472448871704b77041753cf0e
1654571422ae946ee7484d808a419aea8e4cb2eb
/glava5_instruction_if/amusement_park.py
8c54596e0b632c0b5c92983251af523be7b641bc
[]
no_license
Bearspirit/all_lessons
5788e5be06c336feea9e3ce93188e479a6396a56
9e353e6688b1f30950ca1d6078303466ad0113b8
refs/heads/main
2023-03-10T22:56:19.399213
2021-02-25T20:55:36
2021-02-25T20:55:36
338,640,762
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
age = 65 if age < 4: price = 0 elif age < 18: price = 5 elif age < 65: price = 10 elif age >= 65: price = 5 print("Yoe pay $" + str(price) + "!")
[ "mihailvoitovich@gmail.com" ]
mihailvoitovich@gmail.com
caf9182bbb350d8628a04aa4b66077a960ce3218
a1cbe5abe746fce5056b60cc81a1a0c2d760bdf6
/easyAccounts/inventory/migrations/0015_auto__del_field_batchitem_quantity_in_purchase_unit__del_field_batchit.py
e10dfeac0705bfb8f27a84d00a9a6752dd1af5ee
[]
no_license
sremya218/easyAccounts
23cc3425e623fb6e8bf9e32ad10426dfdc65fc59
53e09525bcf3d8fe5e0f625aadb1b0d52252154a
refs/heads/master
2016-09-05T16:46:15.818606
2014-12-25T10:39:41
2014-12-25T10:39:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,373
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting field 'BatchItem.quantity_in_purchase_unit' db.delete_column(u'inventory_batchitem', 'quantity_in...
[ "remya@remya.(none)" ]
remya@remya.(none)
0944a41bf5447f963eb5c12fba85e4a91c4266ea
55b8c2ca8b6ac3639ad0dfa2f08bdbefbafff1a1
/app/tests.py
ad634da86ef05b9b6d0329778d4cf911f5560898
[]
no_license
nguyendan07/tweet
3744056770ae23b82c8e601f9d3bb663a84983f2
5d0833217e71b376dfc16376604cf36b7d783e79
refs/heads/master
2020-03-19T01:07:10.774594
2018-06-01T08:49:37
2018-06-01T08:49:37
135,524,148
0
0
null
null
null
null
UTF-8
Python
false
false
1,007
py
from django.contrib.auth import get_user_model from django.urls import reverse from django.test import TestCase from .models import Tweet User = get_user_model() class TweetModelTestCase(TestCase): def setUp(self): some_random_user = User.objects.create(username='nguyendan') def test_tweet_item(sel...
[ "nguyendan@hotmail.com.vn" ]
nguyendan@hotmail.com.vn
651fd93da68cda4eb717b779f14f60c44ece9f38
afd9f8c555a7476ff4efc332a1b62b42ebcb8ec7
/ssh-test.py
57c0523a84342d703a7e5a8aece5775492857626
[]
no_license
letsautomateit85/SSH2-Python-Example
4cc4d236ec795900e6c0150b18a43d51042d62ae
169b2f7e115c8abb56485cb679e98fced5623208
refs/heads/master
2020-04-29T06:41:32.269504
2019-03-16T04:37:40
2019-03-16T04:37:40
175,925,493
0
0
null
null
null
null
UTF-8
Python
false
false
587
py
#Let's Automate It - SSH2-Python - Remotely connecting to a Cisco Device import socket from ssh2.session import Session host = '192.168.1.150' user = 'cisco' password = 'cisco' sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect((host,22)) session = Session() session.handshake(sock) session.userau...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
81c5006c74c3b76aab4f09c56de6f8fc3b050f4c
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_196/ch86_2020_04_29_12_33_12_116182.py
eec9ae5bf086c8595825cb9d7c6b0310d25f2791
[]
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
184
py
with open("dados.csv","r") as arquivo: conteudo = arquivo.read() conteudo.replace(",","\t") with open("dados.tsv","w") as novoarquivo: novoarquivo.write("conteudo")
[ "you@example.com" ]
you@example.com
0472916e25407a2cee79867cebd9bd53f0d6b73f
a53d33aec96bd35596c188544cdcbe08834ffb7c
/rosalind/src/CORR.py
0dd42faeb0a44c882fa038996231361090058a9a
[]
no_license
CarlRaymond/Bioinformatics
1519ab51dae4b3a4e7adde38244565269c0c6e99
7e541a7bf7866c1edc5e48d358d85c84c1efbb49
refs/heads/master
2021-07-12T17:23:33.039745
2020-08-21T15:59:51
2020-08-21T15:59:51
6,976,873
0
1
null
null
null
null
UTF-8
Python
false
false
2,141
py
''' Created on Dec 23, 2012 @author: Carl Raymond ''' from REVC import revc from fasta import read # Returns true when the Hamming distance between seq1 and seq2 # is exactly n. Faster than computing the distance first when # we're only interested in small distances. def isDistance(seq1, seq2, n): dist = 0 ...
[ "carl@orcharddev.com" ]
carl@orcharddev.com
4577e72ef7a65c36b158f2b463cc40d5efeb557b
296132d2c5d95440b3ce5f4401078a6d0f736f5a
/homeassistant/components/homewizard/__init__.py
a236c392c077e22e5db2db7bd7ca192ba4b60614
[ "Apache-2.0" ]
permissive
mezz64/home-assistant
5349a242fbfa182159e784deec580d2800173a3b
997d4fbe5308b01d14ceabcfe089c2bc511473dd
refs/heads/dev
2023-03-16T22:31:52.499528
2022-12-08T02:55:25
2022-12-08T02:55:25
68,411,158
2
1
Apache-2.0
2023-03-10T06:56:54
2016-09-16T20:04:27
Python
UTF-8
Python
false
false
3,895
py
"""The Homewizard integration.""" import logging from homeassistant.config_entries import SOURCE_IMPORT, ConfigEntry from homeassistant.const import CONF_IP_ADDRESS from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNotReady from homeassistant.helpers import device_registry as...
[ "noreply@github.com" ]
noreply@github.com
18c2ecea628615309f6bb36a49d4e58f8e232306
d792f446f56e5fd5f5980d82ebe9ac64fafac6a8
/src/export/FilenameCreater.py
cccbc21c0d8d0035e42e16cd716ca3a986ec9b98
[ "CC0-1.0", "MIT" ]
permissive
ytyaru/NovelWriter400.201706161317
e997664923ecfd4b7fc1be75d193e9ab27592253
40fb268f159256c38f66e7d8efc0092e0acb3f03
refs/heads/master
2021-01-21T12:12:10.176040
2017-08-31T22:35:19
2017-08-31T22:35:19
102,051,047
0
0
null
null
null
null
UTF-8
Python
false
false
2,772
py
import datetime import re class FilenameCreater: def __init__(self, format=None): self.__re_created = re.compile(r'{created}', re.IGNORECASE) self.__re_title = re.compile(r'{title}', re.IGNORECASE) self.__re_title_pre = re.compile(r'{title:[-+]?\d+}', re.IGNORECASE) self.__re_content...
[ "ytyaru@outlook.jp" ]
ytyaru@outlook.jp
e53c1b58b2ef9175f05068112a3ef2f189ad078f
abed4ba6ae0fa91f8c379a0b2406f60094c2e843
/files/root/testpack_helper_library_module/testpack_helper_library/unittests/dockertests.py
760c29a159d4dc4cbdf76cd773afe0fec8eaf853
[]
no_license
isabella232/testpack-framework
ede9f34272d812a357d2c765e09168182ed733f7
c8f3b301cd04a8908a94afa60d913bedf23efa99
refs/heads/master
2023-01-29T22:39:09.987126
2020-12-08T16:16:25
2020-12-08T16:16:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
from testpack_helper_library.unittests.docker_image_test import DockerTest1and1Common from testpack_helper_library.unittests.kube_image_test import KubeTest1and1Common import os test_platform = os.getenv("TEST_PLATFORM", "docker") if test_platform == "docker": print("Using DockerTest1and1Common") Test1and1Com...
[ "brian.wilkinson@fasthosts.com" ]
brian.wilkinson@fasthosts.com
e116b9127efb9e232e8cfd369864ce75a444d255
20a0bd0a9675f52d4cbd100ee52f0f639fb552ef
/transit_odp/data_quality/pti/tests/test_functions.py
bc0dadb8dac1824b5d1ba4aeb8300b5cbfd08d1f
[]
no_license
yx20och/bods
2f7d70057ee9f21565df106ef28dc2c4687dfdc9
4e147829500a85dd1822e94a375f24e304f67a98
refs/heads/main
2023-08-02T21:23:06.066134
2021-10-06T16:49:43
2021-10-06T16:49:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,590
py
from unittest.mock import Mock import pytest from dateutil import parser from freezegun import freeze_time from lxml import etree from lxml.etree import Element from transit_odp.data_quality.pti.functions import ( cast_to_bool, cast_to_date, contains_date, has_name, has_prohibited_chars, is_me...
[ "ciaran.mccormick@itoworld.com" ]
ciaran.mccormick@itoworld.com
ce90a3d96ed94070d12621ae3626854a148f293d
147d6678b8c99bd1e18b20814f259dc25a395ca6
/python daily coding/2020.7.28 (분할 정복)/2630번 (색종이 만들기).py
a7895c30f167553bcd0d0386667321a32e4ab4b4
[]
no_license
omy5123/Oh-min-young
7759cf869720d58fb07edc0e8f5a9b013afacc95
7db08ab828cc28cb9f477ea5410a48245a156fef
refs/heads/master
2021-05-19T07:08:01.379930
2021-01-17T07:51:49
2021-01-17T07:51:49
251,577,901
0
0
null
null
null
null
UTF-8
Python
false
false
3,267
py
""" 문제 아래 <그림 1>과 같이 여러개의 정사각형칸들로 이루어진 정사각형 모양의 종이가 주어져 있고, 각 정사각형들은 하얀색으로 칠해져 있거나 파란색으로 칠해져 있다. 주어진 종이를 일정한 규칙에 따라 잘라서 다양한 크기를 가진 정사각형 모양의 하얀색 또는 파란색 색종이를 만들려고 한다. 전체 종이의 크기가 N×N(N=2k, k는 1 이상 7 이하의 자연수) 이라면 종이를 자르는 규칙은 다음과 같다. 전체 종이가 모두 같은 색으로 칠해져 있지 않으면 가로와 세로로 중간 부분을 잘라서 <그림 2>의 I, II, III, IV와 같이 똑같은 크기의 네 개의 ...
[ "omy5123@naver.com" ]
omy5123@naver.com
612526915feaef13c42b467b8f902c53716ddec5
f33c9fb829773fad33ad6e9a39b58ac05d9eafa8
/ship.py
fa559a430db88341031f9e8ebc92fd7cceab8b67
[]
no_license
viceaa22/PyGame_Project
1dbe69e71416d91bf482df9ebc4f230237031bb8
c731fa105dd5d10ea884fd756736e5fa372d8897
refs/heads/master
2021-03-03T01:06:14.320945
2020-03-09T06:31:07
2020-03-09T06:31:07
245,539,410
0
0
null
null
null
null
UTF-8
Python
false
false
1,666
py
import pygame from pygame.sprite import Sprite class Ship(Sprite): #A class to manage the ship. def __init__(self, ai_game): #Initialize the ship and set its starting position. super().__init__() self.screen = ai_game.screen self.settings = ai_game.settings self.screen_r...
[ "arjun.azavedo22@gmail.com" ]
arjun.azavedo22@gmail.com
4e8ad14f19c0ce3606a7885cca23901132271876
1a94925f77f55c4ff66b0f87ff55b2e465c62867
/setup.py
ba1a6890933a62110914a47641c5df2e5326f4d7
[ "MIT" ]
permissive
RynoM/MyAwesomeTest2
384e67e985384681b0ee660eedea2258b6d5d130
4d477f0e603141bb14b094f63b14cb266ef2392b
refs/heads/main
2023-08-28T04:28:06.740733
2021-10-27T13:17:19
2021-10-27T13:17:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,948
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages try: from pipenv.project import Project from pipenv.utils import convert_deps_to_pip pfile = Project().parsed_pipfile requirements = convert_deps_to_pip(pfile['packages'], r=False) test_requirements = convert...
[ "ryno.marree@postnl.nl" ]
ryno.marree@postnl.nl
274b9a1849c0f73da2cd6b52ff7fa3d8b0d1daea
1149b21d24294d119195cbaefc70f9f4f75fbed4
/tests/bitmovin/services/outputs/sftp_output_service_tests.py
f51bbe9faa30626f75fe229540bd9fcb40498031
[ "Unlicense" ]
permissive
kfarr/bitmovin-python
8e69f4f54a61a208cc56a1eb5d5eb46a3116657c
94cf13dc1f03f051c60663e9ada0499a1c15329a
refs/heads/master
2021-08-21T20:29:04.292270
2017-11-29T00:41:29
2017-11-29T00:41:29
112,406,291
0
0
null
2017-11-29T00:40:23
2017-11-29T00:40:23
null
UTF-8
Python
false
false
6,595
py
import unittest import json from bitmovin import Bitmovin, Response, SFTPOutput from bitmovin.errors import BitmovinApiError from tests.bitmovin import BitmovinTestCase class SFTPOutputTests(BitmovinTestCase): @classmethod def setUpClass(cls): super().setUpClass() @classmethod def tearDownCl...
[ "dominic.miglar@netunix.at" ]
dominic.miglar@netunix.at
cc6d9b73d6ca308d106ca6936f9e18bff8ddbbe4
66f256e8cb46576d43bc3a6c1733338d06ff3c73
/task2b_euler.py
8956a0b25fc89c4881ae6a01f2e21d1db4909d38
[]
no_license
suton5/mars_lander_osx
1d5e20011c43e58f772ccc629d35e6ffc8a7bde3
5da3563ca7703bda02cfffb9a4e2bf0f5b39ce39
refs/heads/master
2021-08-11T13:29:45.502930
2017-11-13T19:58:23
2017-11-13T19:58:23
110,595,257
0
0
null
null
null
null
UTF-8
Python
false
false
2,912
py
#!/usr/bin/python import numpy as np import matplotlib.pyplot as plt # masses, gravitational constant, initial position and velocity # note that mars has a radius of 3390 km m = 1 M = 6.42e24 G = 6.67e-11 # simulation time and timestep t_max = 10000 dt = [0.1] def orbit_grapher2(p, v): """Takes initial position...
[ "st670@cam.ac.uk" ]
st670@cam.ac.uk
0a8bf52acbc6ff8a86fb8de4b1156b54f89cb455
c882b8581a46c3d8ac67057335007fc325aa88ff
/eventex/subscriptions/admin.py
1a5abb93a4c646961935d9e9f86ad6495eaf6e22
[]
no_license
marcellobenigno/eventex
29587da388c1ac8c84b9c4fd69faab4a4cddf269
1fe2e01d1108e809a3e7d2fc8c8e50f2efcbe06a
refs/heads/master
2021-01-10T07:14:06.721089
2016-03-01T18:13:32
2016-03-01T18:13:32
47,883,954
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
from django.contrib import admin from django.utils.timezone import now from eventex.subscriptions.models import Subscription class SubscriptionModelAdmin(admin.ModelAdmin): list_display = ('name', 'email', 'cpf', 'created_at', 'subscribed_today', 'paid') date_hierarchy = 'created_at' search_fields = ('n...
[ "benigno.marcello@gmail.com" ]
benigno.marcello@gmail.com
d257e280d1213908571a6b979be704287ce285c5
575053217c73192a632815fd54dbedf845c65353
/quiky/settings.py
9aac351e7d6d25e40f72b7a7827c45350f5cdfe8
[]
no_license
Oswaldinho24k/Quiky
86cbf80e2ecf8eb5888569886806b5cb47c18e2a
0fb433b724e168917b8e99e7361e09ba818ec36e
refs/heads/master
2021-01-11T18:03:19.741726
2017-04-10T18:13:12
2017-04-10T18:13:12
68,837,471
0
0
null
null
null
null
UTF-8
Python
false
false
3,375
py
""" Django settings for quiky project. Generated by 'django-admin startproject' using Django 1.10.5. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os ...
[ "oswalfut_96@hotmail.com" ]
oswalfut_96@hotmail.com
b17eda7d6fe050587ec154abe4f236d7c1bb1134
6ba47bd0946b9950b47903ef2f888cbe90643d01
/funktionen.py
08108b708498958f5cefeae125e01a92ba0e1900
[]
no_license
ClemensDinkel/BR
f5b41c135be5e464316702d32cb55e699125f5e2
5eedb562adff3e681eeb59c03d56b402faabc5bd
refs/heads/master
2023-07-26T21:21:06.408719
2021-09-08T08:57:07
2021-09-08T08:57:07
270,110,320
0
0
null
null
null
null
UTF-8
Python
false
false
2,062
py
def random_id(): import random cr_id = random.randint(0, 9) if cr_id >= 7: identity = "Replikant" else: identity = "Mensch" return identity def add_player(name): from listen import locations import random random_number = random.randint(1, 5) player_loc = locations[...
[ "cle.dinkel@gmail.com" ]
cle.dinkel@gmail.com
cce25a1037109fc1654a93aba3acc56de7702d23
300db0321330e4fa478b4976913d3650ccb93c2f
/tests/test_tbltalk.py
9a94f7beebabb1e9cd40e2df98b6708f4c0130e3
[ "MIT" ]
permissive
mattmc3/tbltalk
b6f5686a44c428082b67bffde3fd9b6a0b70672e
3ba77aef47ef9ca9e3f3ee9ec6d025d5c67cd767
refs/heads/main
2022-03-18T05:52:23.407740
2017-05-05T17:22:52
2017-05-05T17:22:52
86,751,669
0
0
null
null
null
null
UTF-8
Python
false
false
19,255
py
#!/usr/bin/env python3 import sqlite3 from unittest import TestCase, main as unittest_main from unittest import mock from datetime import datetime from collections import namedtuple from contextlib import contextmanager from collections import namedtuple from tbltalk import (DbTable, SqlStatement, DotDict, ...
[ "mattmc3@gmail.com" ]
mattmc3@gmail.com
cf55ef734e6b6143b615e9bd2a925b5e3c4cbc7e
8a095612669c2aa22db497f5ea6be1fba9d74fb3
/qubekit/cli/combine.py
78f8744c91f7bcb7e109e1d1dd4b05ce32585f1d
[ "MIT" ]
permissive
qubekit/QUBEKit
dba1eedb8ab090be95bddea3e6f499b7565b1d12
bdccc28d1ad8c0fb4eeb01467bfe8365396c411c
refs/heads/main
2023-08-19T03:14:33.742295
2023-08-02T13:10:14
2023-08-02T13:10:14
180,546,295
89
25
MIT
2023-08-18T13:19:24
2019-04-10T09:17:09
Python
UTF-8
Python
false
false
21,899
py
import os import xml.etree.ElementTree as ET from datetime import datetime from typing import TYPE_CHECKING, Dict, List, Optional, Tuple, Union from xml.dom.minidom import parseString import click from openff.toolkit.typing.engines.smirnoff import ForceField from openmm import unit from typing_extensions import Litera...
[ "noreply@github.com" ]
noreply@github.com
6aa81944332d00ec02396a7a116d4c4b744d4dc7
3a183d383b7af4c475ed785e5fa1d0d6acd42f68
/fabfile.py
674f06d6cfb34612a6fb3f016e2724c9dfeadfcb
[]
no_license
itziar/Welpe
685b44185277f436c2640a586123ffecd47d9891
7a390f98fec62825360c462f65944018ace7c265
refs/heads/master
2021-01-20T00:34:14.658501
2017-05-29T06:59:06
2017-05-29T06:59:06
89,151,858
1
0
null
null
null
null
UTF-8
Python
true
false
21,820
py
from __future__ import print_function, unicode_literals from future.builtins import open import os import re import sys from contextlib import contextmanager from functools import wraps from getpass import getpass, getuser from glob import glob from importlib import import_module from posixpath import join from mezza...
[ "itziar276@gmail.com" ]
itziar276@gmail.com
cf8e3b2dfb07d898fce0df31b2120019d2d38b58
c621431df46c912c67036cbbae6564a0bd83502d
/python/Programmers/같은숫자는싫어.py
eac4f2ca2e5c861dc799d39d78d929815c7f7d75
[]
no_license
tmdtlr7031/AlgorismRepo
68d4528fefe86d0428a360ff569921f9893c98f7
e76efb3561021264373161e9c974e6ee101bac8c
refs/heads/master
2023-08-14T00:54:43.544714
2021-09-08T09:55:58
2021-09-08T09:55:58
378,771,394
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
# 같은 숫자는 싫어 https://programmers.co.kr/learn/courses/30/lessons/12906 # 해당값이 이전값이랑 다를때만 추가 def solution(arr): answer = [arr[0]] for i in range(1,len(arr)): if arr[i] == answer[-1]: continue else: answer.append(arr[i]) return answer print(solution([1,1,3,3,0,1,1])) #...
[ "tmd7031@naver.com" ]
tmd7031@naver.com
6076de3e9f84a89948301087084bcdb76ce774e9
ffa9bada806a6330cfe6d2ab3d7decfc05626d10
/Others/Mssctf2020Final/easy_block.py
a9d5d9304cee26b67a020b883274463231d34346
[ "MIT" ]
permissive
James3039/OhMyCodes
064ef03d98384fd8d57c7d64ed662f51218ed08e
f25d7a5e7438afb856035cf758ab43812d5bb600
refs/heads/master
2023-07-15T15:52:45.419938
2021-08-28T03:37:27
2021-08-28T03:37:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,591
py
from Crypto.Cipher import AES from Crypto.Util.number import long_to_bytes from random import getrandbits from binascii import hexlify, unhexlify import os key = long_to_bytes(getrandbits(128)) iv = long_to_bytes(getrandbits(128)) XOR = lambda s1, s2: bytes([x1 ^ x2 for x1, x2 in zip(s1, s2)]) def pad(plain): p...
[ "1816750728@qq.com" ]
1816750728@qq.com
09b1ae0b84b353ffa7dc2cdbc9579946e71c96d0
fa259bfe4f9220a70c105cd68e93e53aa0064ab8
/06- Condities/Blad steen schaar.py
05711c8e5e2013ad7c416bb678bed84ef7323db2
[]
no_license
femkepiepers/Informatica5
427b1d189f33f2e9761a45492178a7c17657efd8
9b6d870cd3f80307132b898f9344d4b45b611a31
refs/heads/master
2021-06-28T22:35:17.021932
2019-05-23T08:03:28
2019-05-23T08:03:28
147,637,112
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
# invoer speler_1 = input('Speler 1: ') speler_2 = input('Speler 2: ') # uitvoer if speler_1 == 'blad': if speler_2 == 'steen': print('speler 1 wint') if speler_2 == 'schaar': print('speler 2 wint') if speler_1 == 'steen': if speler_2 == 'schaar': print('speler 1 wint') if spele...
[ "43027739+femkepiepers@users.noreply.github.com" ]
43027739+femkepiepers@users.noreply.github.com
6663f3b4e8e52135aa96e8e29e7c66ad45dba0ab
b15a706639cf9d3b8691b02ece329a57936e47b7
/wisdompets/adoptions/migrations/0001_initial.py
ecbff520436d42eb1af798a9b32d4d9330f06a40
[ "MIT" ]
permissive
lopes-andre/wisdom-pets-django
d582cd0eb2527de3ac4093674b062b81ed70cb77
9fabeeb2a338eb9b0197317f8ac7e3c45964f99e
refs/heads/main
2023-08-11T09:38:52.641746
2021-09-22T15:50:02
2021-09-22T15:50:02
409,004,938
0
0
null
null
null
null
UTF-8
Python
false
false
1,346
py
# Generated by Django 3.2.7 on 2021-09-22 00:21 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Vaccine', fields=[ ('id', models.BigAutoFie...
[ "lopes.andre@outlook.com" ]
lopes.andre@outlook.com
424acc778cb6fe01fdf4b89d796e7d4c20b8dfd6
53dc2397acd656f789d39f2f8869033d882f287c
/nenetelecom/asgi.py
166fbc33e6511eeda3c45456e04008ef24c7c350
[]
no_license
butadpj/nenetelecom-final
68bca1c5ba2054cf039d851bbe727905d47c44fe
f5abcf366ab7f4cdb8254031b9ec104a8f1ab7c5
refs/heads/master
2023-06-20T04:00:31.264911
2021-07-16T09:57:58
2021-07-16T09:57:58
328,732,805
3
0
null
2021-07-16T09:30:13
2021-01-11T16:58:01
JavaScript
UTF-8
Python
false
false
399
py
""" ASGI config for nenetelecom 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.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[ "butadpj@gmail.com" ]
butadpj@gmail.com
ab20b2c35f9249a760302e3bbdaa026df26cc937
e39e7c8ceeed4347eac2cf985404a46edc1139c1
/characterCount.py
6597df64676f45548e2d09ce10039206b79aa8a5
[]
no_license
crtek6515/SampleProject
0241eb7be719e6d2392dd7635507a6774bdc9a76
d9485aa1893e1c780416b6c85e4f74bd8e6cb83d
refs/heads/master
2020-07-16T04:37:19.415532
2019-09-26T19:33:43
2019-09-26T19:33:43
205,720,619
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
import pprint print('Enter a phrase: ') message = input() count = {} for character in message: count.setdefault(character,0) count[character] = count[character] + 1 pprint.pprint(count)
[ "cvance@Christophers-MacBook-Air.local" ]
cvance@Christophers-MacBook-Air.local
14d20dc585bcb6cd2babfeab01ef3caaff1221be
8ef8e6818c977c26d937d09b46be0d748022ea09
/cv/distiller/CWD/pytorch/mmrazor/tools/visualizations/vis_configs/fpn_feature_visualization.py
40b6b3f1b4127a80636e1072673b338d9e717501
[ "Apache-2.0" ]
permissive
Deep-Spark/DeepSparkHub
eb5996607e63ccd2c706789f64b3cc0070e7f8ef
9d643e88946fc4a24f2d4d073c08b05ea693f4c5
refs/heads/master
2023-09-01T11:26:49.648759
2023-08-25T01:50:18
2023-08-25T01:50:18
534,133,249
7
6
Apache-2.0
2023-03-28T02:54:59
2022-09-08T09:07:01
Python
UTF-8
Python
false
false
322
py
# Copyright (c) OpenMMLab. All rights reserved. recorders = dict( neck=dict(_scope_='mmrazor', type='ModuleOutputs', source='neck')) mappings = dict( p3=dict(recorder='neck', data_idx=0), p4=dict(recorder='neck', data_idx=1), p5=dict(recorder='neck', data_idx=2), p6=dict(recorder='neck', data_idx=3)...
[ "mingjiang.li@iluvatar.ai" ]
mingjiang.li@iluvatar.ai
674c0c4af4ae92d5d0eaa724b79d091b4204fc15
9eb7250337b8dfec7e9b7bda1496a1bddea11a75
/src/migrations/0001_initial.py
2b31fa2f76825631cca28cd4c962d7fc961abe51
[]
no_license
Dinesh-Sunny/Twitter-Django-Project
a58f53fa170b478405b1b38cfb5eb05e8b5ecde0
86fee67a1f030bb2c8fe8c4f216ef177d7599956
refs/heads/master
2021-01-10T18:03:59.928367
2015-10-05T10:49:16
2015-10-05T10:49:16
43,668,845
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user_profile', '0001_initial'), ] operations = [ migrations.CreateModel( name='Tweet', fields=[ ...
[ "dineshiitb.ae18@gmail.com" ]
dineshiitb.ae18@gmail.com
093602149c36eb1ac38880578e2e2a275049a056
9779c259467b5edf601a18c6168cfc91f4f25723
/SLSynthesis/demo_evaluation.py
ca19515f4bd05d356d59dce2a68e1847a54e1b33
[]
no_license
lgyxbmu/SignLanguageProcessing
d1ed69dde0890bbbe328349ec501a03add256296
a312367087b5ebf01a435ef513db3fe80d8438a2
refs/heads/master
2023-02-23T22:01:08.795650
2021-01-25T11:34:44
2021-01-25T11:34:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
945
py
import h5py import re import random import math import numpy import tensorflow as tf import keras from keras.models import Sequential, Model from keras.layers import Dense, Add, Dropout from keras import backend as K from keras.layers import Layer, Input, Bidirectional, LSTM, GRU, Embedding, Multiply, Bat...
[ "noreply@github.com" ]
noreply@github.com
2a37d12c0882546c38539dbb0abd22a8e42b1e68
c467c183b77603c8b78e29cfdeac14d9b80636e7
/clean/model_neurons.py
f07bc730236e8ff013352d05e65b17783d54c580
[ "MIT" ]
permissive
tartavull/dcgan-completion.tensorflow
f58e1b7d598075077a9a3d184a3293c5722cafc8
9817251b4fb3e45b88e379dacea462e0d94a8190
refs/heads/master
2021-01-15T10:34:31.664327
2016-08-18T19:15:14
2016-09-01T21:59:55
66,017,192
0
1
null
2016-08-18T17:26:48
2016-08-18T17:26:47
null
UTF-8
Python
false
false
961
py
import tensorflow as tf from model_mnist import Model class ModelNeurons(Model): def create_summaries(self, d_loss_real, d_loss_fake, g_loss, d_real, d_fake, real_images, fake_images): with tf.variable_scope("summary"): scalars = [tf.scalar_summary(name, var) for name, var in [("d_loss_real",d_loss_real),...
[ "tartavull@princeton.edu" ]
tartavull@princeton.edu
eba57eacafb7808fb4f7908291688744193fe32d
ef853b56521b876bb0a6de05a3c5a0b83dd4ba96
/task_3.py
5c4b19a9b0c766f405914dc93c4a00ef7a3331f1
[]
no_license
IvanCher-py/python-algorithms
976c92358167b870f9948c89337821ffbcf404d8
e1342786cd9970c08639d1e09a42be2a7c88cbd4
refs/heads/master
2022-12-08T14:19:05.325281
2020-09-07T15:35:39
2020-09-07T15:35:39
286,553,483
0
0
null
2020-09-07T15:36:28
2020-08-10T18:44:23
Python
UTF-8
Python
false
false
547
py
# 3. По введенным пользователем координатам двух точек вывести # уравнение прямой вида y = kx + b, проходящей через эти точки. x1, y1 = map(int, input('Введитe координаты точки A(x1, y1) через пробел: ').split()) x2, y2 = map(int, input('Введитe координаты точки B(x2, y2) через пробел: ').split()) k = int((y1 -...
[ "noreply@github.com" ]
noreply@github.com
3e1a820542fafe4555459b74d2b94fb2a21872f3
34e0de84a39ed9295e22ec3984ca732bd329b556
/src/ms_perception/scripts/include/viz_utils.py
100a4e1390338515d8ae8a46fdc609e3b43e75f0
[]
no_license
cpuwanan/motion_prediction_from_imu
75e47a068934c9c92adca8f394500884d31ec0a8
7be62e78a18d48f1a89002b56979220c6cdc4b94
refs/heads/master
2022-12-24T03:47:05.471249
2020-10-06T07:56:03
2020-10-06T07:56:03
297,292,503
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
#!/home/msasrock/.virtualenvs/ros-melodic-venv/bin/python import rospy import sys, os import numpy as np LIGHT_RED='\033[1;31m' LIGHT_GREEN='\033[1;32m' LIGHT_YELLOW='\033[1;33m' LIGHT_BLUE='\033[1;34m' LIGHT_PURPLE='\033[1;35m' LIGHT_CYAN='\033[1;36m' NC='\033[0m' # No Color
[ "noreply@github.com" ]
noreply@github.com
690956e8de79c765c018ae0135a1d154b12435b6
3bc38b6fc9570217143d056762be4bf52db2eb1f
/leetcode_practice/617.py
4777154a3cdb0371e734b814956b37430a0b0913
[]
no_license
yangyuebfsu/ds_study
6638c260dfdb4a94365c2007d302833b455a4a59
883f9bab2dbce4f80f362c30b8564a942f66fb1e
refs/heads/master
2021-02-07T13:20:54.773840
2021-01-21T05:55:09
2021-01-21T05:55:09
244,031,249
0
0
null
null
null
null
UTF-8
Python
false
false
1,380
py
'''617. Merge Two Binary Trees Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are not. You need to merge them into a new binary tree. The merge rule is that if two nodes overlap, then sum node values up as the new value ...
[ "noreply@github.com" ]
noreply@github.com
c71753b37bee7054f0072bec83f8636d789a0220
b4a5b5910a4dac28683bf5a5961e258c7c3992a1
/backend/admin.py
585e24e078d831c5a0cc47ede55a2ed530075a56
[]
no_license
CavidRzayev/drf_channels_example
9ed858596c33aa94b6011e9933add29e9dff3f01
a15c185dd94dae95ab045163afe60c8e3b860e98
refs/heads/main
2022-12-26T23:19:42.576598
2020-10-07T03:18:07
2020-10-07T03:18:07
301,915,102
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
from django.contrib import admin from .models import * # Register your models here. admin.site.register(Room) admin.site.register(Chat) admin.site.register(DirectMessage) admin.site.register(Notifications)
[ "rzayev592@gmail.com" ]
rzayev592@gmail.com
9b3486a1d209c9d20997c2acd70bf5e8c4a65e33
7080b8bee79400249865a9f551002f8f9dad66aa
/helpers/coord.py
60bf83e53b0400bb2df0d7c0821bbe578be4ebc0
[]
no_license
js837/chess
6769f3c4c36f8382a62ae11366d09096ac986e67
b6a931ccc6f212e8c0218fff820e1f8d4f51e408
refs/heads/master
2016-09-16T00:27:27.130550
2015-02-19T22:45:36
2015-02-19T22:45:36
27,016,562
0
0
null
null
null
null
UTF-8
Python
false
false
962
py
import operator def get_rank_file(coord): return 'abcdefgh'[coord[1]] + '12345678'[coord[0]] def get_coord_from_rank_file(rank_file_str): return '12345678'.index(rank_file_str[1]), 'abcdefgh'.index(rank_file_str[0]) def is_valid_sqaure(coord): """Check that coordinate is is valid sqaure""" return ...
[ "stacey.jake.git@gmail.com" ]
stacey.jake.git@gmail.com
50378130f4a6e07659ab9efedc057bb796ee3221
c6b34e40381d076de3a452dcd5d77eae5067172b
/CorpusBuilder/test_aplac.py
5bbcca3149e04623668b774cab2a50598ec6457a
[]
no_license
ryuji-konishi/AplacChat
81697d827c5fae0d70100a6efda4bd7330e8ae47
aae39f534ee1cfd9a773698fe6b4fe65bbe9555e
refs/heads/master
2022-09-05T23:16:06.952447
2022-09-03T03:47:13
2022-09-03T03:47:13
113,262,458
0
0
null
null
null
null
UTF-8
Python
false
false
2,080
py
import sys sys.path.insert(0, '..\\') # This is required to import common import unittest import aplac.aplac as aplac class TestAplac(unittest.TestCase): def setUp(self): pass def test_regex_trim_both(self): result = aplac.regex_trim(u"ESSAY 452/(1) 〜あいう", aplac.regexs_both) self.ass...
[ "ryuji_konishi@hotmail.com" ]
ryuji_konishi@hotmail.com
8caa5127bdd6d173458daa06880b3b365689cc24
bc8728fe6ec87d6acf83ba970bc24382ce843b4a
/netconf/test/netconfd/agt-commit-complete/session.py
09bfb545990c0f44cba3726d22c5f042c12d3b0b
[ "BSD-3-Clause" ]
permissive
xianyuesuifeng/yuma123
a734beea7dc8cb31608ef6dde6afac5847dc8f18
63b79846e3012aba3d695132a1cc89a5caf93b96
refs/heads/master
2020-12-11T23:51:59.060591
2020-01-11T19:11:05
2020-01-11T19:11:05
233,988,531
1
0
null
2020-01-15T03:17:03
2020-01-15T03:17:02
null
UTF-8
Python
false
false
552
py
from yangcli import yangcli from lxml import etree import yangrpc import sys import os conn = yangrpc.connect("127.0.0.1", 830, os.getenv('USER'), None, os.getenv('HOME')+"/.ssh/id_rsa.pub", os.getenv('HOME')+"/.ssh/id_rsa",) if(conn==None): print("Error: yangrpc failed to connect!") sys.exit(1) result=yangc...
[ "vladimir@transpacket.com" ]
vladimir@transpacket.com
145e759913c28d7860cbdd5cab7ca14dc36e38ed
7a50ba928c08bbec6d5825d3c701216bd6095f0e
/shell.py
b564d2db92b02693733718b2672240f2c135a9eb
[ "MIT" ]
permissive
kawasaki2013/networkzero
083a0c690fd56fdb4fc879b7d3dde1af78807fcd
bc4febb57cc0c6b14dcc03b4f716a680f90b69ee
refs/heads/master
2021-01-01T17:28:59.484956
2016-06-13T08:43:22
2016-06-13T08:43:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
#!python3 import zmq import networkzero as nw0 import logging logger = logging.getLogger("networkzero") handler = logging.FileHandler("network.log", encoding="utf-8") handler.setFormatter(logging.Formatter("%(asctime)s %(name)s %(levelname)s %(message)s")) handler.setLevel(logging.DEBUG) logger.addHandler(handler) han...
[ "mail@timgolden.me.uk" ]
mail@timgolden.me.uk
cbbe2723b9194cec6c8f486e68c16ae366864fea
1d377f9ca1ff56cd69d80a296e6b6fbb6061edb1
/functions/function11.py
30445f8f4de3a54acd537ae2a584a261142ed3b3
[]
no_license
mepujan/IWAssignment_1_python
c48b050f2883e7cc11c4283c31541f9fd2ad95d2
b7537c5ce9fc27cf7a75568b54f5bfdc94c5c57e
refs/heads/master
2022-11-15T01:15:11.292403
2020-06-24T04:26:03
2020-06-24T04:26:03
274,573,651
0
0
null
null
null
null
UTF-8
Python
false
false
483
py
# Write a Python program to create a lambda function that adds 15 to a given # number passed in as an argument, also create a lambda function that multiplies # argument x with argument y and print the result. def main(): num1=int(input("number1=")) num2=int(input("number2=")) result= lambda num: num + 15 ...
[ "mepujan10@gmail.com" ]
mepujan10@gmail.com
28995ae126480f28e5ec8b304eb1ed51f1f7ba57
44516b0ce08070cd51a59784ae60baea6ec094c3
/clases.py
8f1a76631e12a94cb4d9a57b1e742a21bafe62d9
[]
no_license
samir28/Proyectos-
0992da1aed2e0f5f1de69c367bd914217267b9a7
3d48cd350b7963dad542cbdd9e24655757ce5ab6
refs/heads/master
2021-04-28T15:11:20.729332
2018-02-19T16:54:54
2018-02-19T16:54:54
121,982,654
0
0
null
null
null
null
UTF-8
Python
false
false
955
py
class Estudiante: def __init__(self): self.carrera = [] self.legajo = [] def menu(self): opcion=0 while opcion !=4: print("1- cargar Estudiante") print("2- listar Estudiante") print("3- Finalizar programa") opcion = int(input("\n ...
[ "samirallegrucci@gmail.com" ]
samirallegrucci@gmail.com
3668f93957994a87fc751281c3c80a6b2ae7b5b7
f4f65978611b442c614450b9c68be7b469f34b89
/Airport.py
f4304f2329cda93390261c9258266674c48d751b
[]
no_license
obyrned1/COMP20230_DataStructuresAndAlgorithms_TermProject
bd3133bdb85cd91089c6920618d988c12ab8b5ea
ac74cbda7a914c09f692ee9751d30d648314c09a
refs/heads/master
2020-03-14T12:55:41.423320
2018-04-30T17:32:46
2018-04-30T17:32:46
131,621,813
0
0
null
null
null
null
UTF-8
Python
false
false
3,946
py
''' Created on 7 Mar 2018 @author: obyrned1 ''' import os.path import csv from math import pi,sin,cos,acos import pandas as pd import itertools from Currency import CurrencyAtlas from Aircraft import AircraftAtlas class Airport(): '''name, lat, long, code, maybe other attributes''' def __init__(se...
[ "daniel.obyrne@ucdconnect.ie" ]
daniel.obyrne@ucdconnect.ie
6038d083723587703f593c35ab8365c94d697028
38a79b7211886bd1a726ab8525dc0ee7dfb7b4d7
/cisco_conf_parse/parse_bvi.py
fe7919172842e84d092d37b05f5bc3c2a4ea43fb
[]
no_license
saravana815/pyscripts
efc5e97ad9a19f24e4055d2cc74ab1704a2697b5
5fa8b514d3a07410f8fc29cd88f77babe62a675e
refs/heads/master
2021-06-23T15:37:10.598548
2021-02-05T14:24:46
2021-02-05T14:24:46
196,392,080
0
0
null
null
null
null
UTF-8
Python
false
false
903
py
#Usage - parse_conf.py ASR9K_run_cfg.txt IOS_device_run_cfg.txt import sys, os import re from ciscoconfparse import CiscoConfParse f1 = sys.argv[1] cf1 = CiscoConfParse(f1) print cf1 # intf_list = cf2.find_objects(r'^interface ') # print intf_list[0].text # ip_addr = '217.39.0.16' # print intf_list[0].re_search_chi...
[ "saravana815@gmail.com" ]
saravana815@gmail.com
620bc7976b15a630da40571a3ef802361ab0d78b
3d3bf8b6581f385bd0a5126e841b2f9cc5f52033
/src/chainalytic/zones/public-icon/aggregator/transform_registry/funded_wallets.py
7bc7a9dcf45989afb15522586833ff8f289cfe0d
[ "MIT" ]
permissive
pablock-chain/chainalytic-framework
2069ce48bc88743d3f342df70218a540c21dd807
195f236581806013a23fba9ddf0ab7a2a8221363
refs/heads/master
2023-06-04T12:13:28.567504
2020-08-06T09:57:01
2020-08-06T09:57:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,681
py
import json import time from typing import Dict, List, Optional, Set, Tuple, Union import traceback import plyvel from iconservice.icon_config import default_icon_config from iconservice.icon_constant import ConfigKey from iconservice.iiss.engine import Engine from chainalytic.aggregator.transform import BaseTransfor...
[ "duyyudus@gmail.com" ]
duyyudus@gmail.com
92c14450b47982a488328c3ffe2dc5aea68ce6b9
853b03f0debfec9972fee622115be70cf7de8e53
/src/problem_024.py
3a77d6110ae01dd4cdcf3850f2bb98c4a6ecbac1
[]
no_license
JakubTesarek/projecteuler
1b17a6a4a9935abab6534200904a5a654e48bfad
dbefd994c7782618ea77881c46bf2f8f569c9c68
refs/heads/master
2016-09-05T11:49:54.424409
2015-08-30T14:05:57
2015-08-30T14:05:57
41,150,830
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
#!/usr/bin/env python """https://projecteuler.net/problem=24""" if __name__ == '__main__': permutation = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] max_index = len(permutation) - 1 for i in range(1, 1000000): for k in range(max_index, -1, -1): if k + 1 <= max_index and permutation[k] < permutation[k + 1]: for s in r...
[ "jakub.tesarek@concur.com" ]
jakub.tesarek@concur.com
b3959bbf021723541464f49acfdac54b3682c298
ca8de05117f82d84a9847828f5693560aa0bcfbe
/ProjectLab1.py
e5d36042e801bce53f936af05a7552934c6f96c5
[]
no_license
aciampi43/MUS3329X
dae783f10176aa6a7f08f56ce0d086b65cd67f71
a1b9b4cc11f4e73fcb209aca0314c976fec3bb0c
refs/heads/master
2020-04-17T12:45:04.236599
2019-04-25T03:17:48
2019-04-25T03:17:48
166,590,825
0
0
null
null
null
null
UTF-8
Python
false
false
2,982
py
from pyo import * #Tentative de construction de class à partire d'une fonction #L'Instrument est RCOsc, ligne 45 s = Server(sr=44100, nchnls=2, buffersize=512, duplex=1).boot() class AMS: #Phrases from Ave Maris Stella def __init__(self, mel): pit1 = midiToHz([62, 69, 71, 67, 69, 71, 74, 72, 71, 69, 67...
[ "noreply@github.com" ]
noreply@github.com
f8cc57d645d4b3f29115e64c6e368d84f18b2f3f
47e5ed378ee358bbcd6436ba9380e319de876420
/playground/simulate.py
d35c74d21bba8fc4a8a62f1dfb62fb81dc393282
[]
no_license
vishishtpriyadarshi/ShardEval
d16225b604bd3c8989abd5d3c1fa6cab12ccf991
54890ef8f4d22cf0c54bdca8ba1348fc30e5d203
refs/heads/main
2023-05-23T19:26:11.961506
2022-07-07T09:52:28
2022-07-07T09:52:28
450,803,771
11
5
null
null
null
null
UTF-8
Python
false
false
3,553
py
""" python simulate.py <params.json> <netDump.pkl> """ import sys import simpy import numpy as np import json import pickle as pkl from network.block import Block from network.network import Network from time import time def simulate(env, params): """Begin simulation""" net = Network("Blockchain", env, params...
[ "noreply@github.com" ]
noreply@github.com
e17745af1f39b78fec2c4a8f6f23f6753f7cef38
f2a2f41641eb56a17009294ff100dc9b39cb774b
/current_session/python/64.py
299deb7a091e6d3b571796aa2c679d5a9c97c68c
[]
no_license
YJL33/LeetCode
0e837a419d11d44239d1a692140a1468f6a7d9bf
b4da922c4e8406c486760639b71e3ec50283ca43
refs/heads/master
2022-08-13T01:46:14.976758
2022-07-24T03:59:52
2022-07-24T04:11:32
52,939,733
3
0
null
null
null
null
UTF-8
Python
false
false
788
py
""" https://leetcode.com/problems/minimum-path-sum/ """ class Solution(object): def minPathSum(self, grid): """ :type grid: List[List[int]] :rtype: int """ if not grid or not grid[0]: return 0 dp = [[0 for _ in grid[0]] for _ in grid] dp[0][0] = grid[0][0] ...
[ "yunjun.l33@gmail.com" ]
yunjun.l33@gmail.com
3611b108a1f1d92a25090405091c3530258d4e74
b75c63ee092e53b96aea341a486b541d0eed95a7
/blurry_transition.py
170d6c798dd71c9302981dc14ed281c9a263aafd
[ "Apache-2.0" ]
permissive
abeauvisage/blender-sequencer-transitions
74abfbf63f11395475d64d1e3e605709f0589443
02f972a992a19b695902b4343188421a3f6491fb
refs/heads/main
2023-08-11T23:09:30.029056
2021-10-07T18:09:24
2021-10-07T18:09:24
406,025,641
3
0
null
null
null
null
UTF-8
Python
false
false
2,089
py
import bpy def preprocess_transition(context): """ Check that the number of strip is appropriate and extract relevant information """ if len(context.selected_sequences) != 2: return (None, None, None, None) seq1 = context.selected_sequences[0] seq2 = context.selected_sequences[1] ...
[ "macha@pop-os.localdomain" ]
macha@pop-os.localdomain
f87b9998483a538c92437f9a5bf1caa221bbdff7
d6589ff7cf647af56938a9598f9e2e674c0ae6b5
/ivpd-20190625/setup.py
0b40d457639564fd992881ac6a23f45792a0bdc5
[ "Apache-2.0" ]
permissive
hazho/alibabacloud-python-sdk
55028a0605b1509941269867a043f8408fa8c296
cddd32154bb8c12e50772fec55429a9a97f3efd9
refs/heads/master
2023-07-01T17:51:57.893326
2021-08-02T08:55:22
2021-08-02T08:55:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,874
py
# -*- coding: utf-8 -*- """ 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 "Li...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
4c8ba3d4f5f8ab96600222d623b7df3cace4efa6
fa78188bc58c829a0a8c71c70167a33778b63530
/ps_util/features/steps/oscc_throttle_report_msg.py
c1221a6c15796c5234125e4c417b4a6af2752721
[ "MIT" ]
permissive
shnewto/core-python-api
b64886ca877aa19a08fcb105b12679da5d453b43
a753863eca820954f5b8f7502c38c5a7d8db5a15
refs/heads/master
2020-03-23T18:46:00.456429
2018-07-06T23:36:58
2018-07-06T23:36:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,147
py
# WARNING: Auto-generated file. Any changes are subject to being overwritten # by setup.py build script. #!/usr/bin/python import time from behave import given from behave import when from behave import then from hamcrest import assert_that, equal_to try: import polysync.node as ps_node from polysync.data_mod...
[ "snewton@polysync.io" ]
snewton@polysync.io
42b1a2a9404c5bab07e59187cc46ce597d39b0ee
cd5fd7b6ef29980fc29b794576d25eebbdf66246
/leetcode/13/hduyyg.py
656b18b48424a4bc402d224ee6df903579eaab56
[]
no_license
sjl421/algorithm-7
3d2156b1cd5b39477572b8bc3c2c5a688a638b6e
0c34fc5a9f2a5e42f5743c4bb5894cddf6157b22
refs/heads/master
2020-03-18T08:28:45.653815
2018-03-11T12:08:50
2018-03-11T12:08:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
# author:2632158294@qq.com # github:https://github.com/PyCN/algorithm/tree/master/leetcode/13 class Solution: def romanToInt(self, s): """ :type s: str :rtype: int """ roman = { 'M':1000, 'D':500, 'C':100, 'L':50, '...
[ "2632158294@qq.com" ]
2632158294@qq.com
8f9f81cc76fcd69a7a8c15932da84632323c0278
f83e5ac7157dc9bb65c3157aa67f574695d3ffe7
/Assignment_BT2/buoi2_lan3.py
c2354250c6019e3e5aed4b6a541b251c49811f1c
[]
no_license
christopherohit/CSx101-A1-2021-02
1b140d8b978c93009070e0ea6625d658a7fa2182
ce4fc34f685988a0388aa7767acfabb562326592
refs/heads/master
2023-08-19T05:58:34.713327
2021-10-15T07:55:41
2021-10-15T07:55:41
401,949,410
1
0
null
null
null
null
UTF-8
Python
false
false
1,199
py
''' Nhận dạng tam giác Viết chương trình nhập vào 3 số thực. Hãy cho biết đó có phải là độ dài 3 cạnh 1 tam giác hay không? Nếu phải thì đó là loại nào trong 4 loại sau: tam giác thường, cân, đều, vuông. Nếu là tam giác tính diện tích tam giác. INPUT: Dòng đầu tiên là độ dài cạnh 1. Dòng thứ hai là độ dài cạnh 2. ...
[ "55018999+christopherohit@users.noreply.github.com" ]
55018999+christopherohit@users.noreply.github.com
af0c88c324e8238876f9b0f4fc0d117751dbbcb4
6d5ca31f6f5ca071416b3ae176ea82a310919eaf
/tester.py
8d1dbc7e6b9f55216e902a33ac04d0a90eca8820
[ "MIT" ]
permissive
iqbalsublime/SkinDetectionProject
cc3448054ea2aaa5362f11ae1a46d50667437811
36b5334ca574fc9f903aaf03eaea6a1a83009ceb
refs/heads/master
2022-03-22T06:39:00.682517
2019-11-23T22:20:19
2019-11-23T22:20:19
223,660,534
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
from PIL import Image ratio = [[[0 for k in range(256)] for j in range(256)] for i in range(256)] with open("./noesis.iqbal", "r") as file: for i in range(256): for j in range(256): for k in range(256): probability = file.readline() ratio[i][j][k] = float(probability) print('data collected...
[ "noreply@github.com" ]
noreply@github.com
e7311e632df25ad0455b5933fbca59f3d0640fa1
550b5e9cf727632b8a39b045a972079c80a971cf
/homework01/scheduler.py
6dbcaf4c255dfdcc1b713749a56900164ee09c4e
[]
no_license
klaassenj/cs344
a77df2228e7dca2c7653f83c0062381c92d75d8b
af707a86f9c9a60b91f1f6726340296bd5154b20
refs/heads/master
2023-08-03T14:21:09.653719
2020-05-22T04:01:11
2020-05-22T04:01:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,644
py
import sys sys.path.insert(0, '../tools/aima') from csp import CSP, parse_neighbors, min_conflicts def Scheduler(): """ Returns an instance of the CSP class. """ courses = "cs108 cs112 cs214 stat343 cs336 cs300".split() profs = "norman adams schuurman pruim vanderlinden".split() slots = "mwf900 mwf113...
[ "jasonucc12@gmail.com" ]
jasonucc12@gmail.com
c139c4a41147f9dcf330b772bd7e53819c25c27c
ff9132f815358e85e7533d0dedb900b7efc9e902
/generategcode.py
21e3f0ffb19f44310383c58c9d7c344c23e9bd17
[]
no_license
qiwalker/Dinho
ae949314fd6f1e353989fe5ea8d119450dd06a7c
33e96d8bf9b1fc7d4711ec11917979c29d37e631
refs/heads/master
2020-04-25T20:03:35.573928
2015-04-05T15:48:12
2015-04-05T15:48:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,730
py
letters_dict = {' ': 'space',',': 'comma',"'":"single_quote",'"':'double_quote','.':'period','(':'open_round_bracket', ')':'close_round_bracket',':':'colon','-':'hyphen',' ':'space'} import sys import os import re page_width = 18 page_height = 29 # page_height is the number of lines.. letters_gcode_directory = 'N...
[ "tusharvijaypawar@gmail.com" ]
tusharvijaypawar@gmail.com
9d0ae6192dfe201aa5f9c33531dd9a4e754f6559
077f87548754755b97860154d9c61badc1ea6a1d
/tests/test_media_carousel_extension.py
a4c01c9bcf35527133cce91b680f3f89aa4ee132
[ "BSD-3-Clause" ]
permissive
livio/DocDown-Python
cb88c1c58321ca2689c37b5c46c2796bcb641210
7f6270dfe17678cc0f2e899f9665342a0784cffb
refs/heads/master
2023-01-13T22:52:43.822975
2022-02-07T15:21:48
2022-02-07T15:21:48
71,469,684
1
4
BSD-3-Clause
2022-12-26T20:26:27
2016-10-20T14:08:52
Python
UTF-8
Python
false
false
5,972
py
# -*- coding: utf-8 -*- """ test_media_carousels_extension ---------------------------------- Tests for `docdown.media_carousels` module. """ from __future__ import absolute_import, unicode_literals, print_function import copy import markdown import unittest from docdown.media_carousels import BEFORE_CAROUSEL_HTML,...
[ "erin.kirby@mobelux.com" ]
erin.kirby@mobelux.com
b5436f9d0a408a15014352dc627294e4b2e4929b
b5834c9ef01fd666165271d951a17e26fd9f6afd
/dqn_cartpole.py
fb73ff8b7d82066060fbca220db44c5d60b7611f
[]
no_license
David-Un-ger/Breakout_DQN
c6e848e3a0bdcce46a3c8d8299f28f7081945823
8ef0ef976aa2220884d14a592af223cb08ef53d9
refs/heads/master
2023-09-03T04:17:24.726550
2021-11-23T07:30:39
2021-11-23T07:30:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,987
py
import tensorflow as tf import tensorflow.keras as keras import numpy as np import random import gym """ Cartpole: The DQN trains and reaches a score of over 100 within the first 100 episodes and a a score of 498 (=maximum) within 200 episodes. A grid search to find the optimal hyperparameter would be beneficial... "...
[ "david.unger.de@gmail.com" ]
david.unger.de@gmail.com
6419bc4c0697b04825599fffb4c3f46ee4e4e1b8
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/173/usersdata/273/82154/submittedfiles/moedas.py
e13a08b2f6f5fd4165b098eb98ffa84ecb615cb9
[]
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
284
py
# -*- coding: utf-8 -*- a=int(input('Digite o valor de a: ')) b=int(input('Digite o valor de b: ')) c=int(input('Digite o valor de c: ')) n=c if c%a==0 and c%b==0: divi=c/a divi2=c/b print divi or divi2 else: divi3= c//a + c//b print (divi3)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
31166d8d6ea7c646d8ccbae091ca19cac0f4129f
401369ca4200942e5c9f6e170fb340495c3d2190
/plots/console.py
a8801d1f4a274e277c454347b05f98e372dbab95
[]
no_license
dmallows/Crayon
a90f3be879873f5053f8bc2a880cfab3a54679bb
c419dfc5adf88eec56786f7fa0670747abe3590f
refs/heads/master
2020-04-02T16:33:26.885684
2011-10-24T10:32:40
2011-10-24T10:32:40
2,077,026
1
0
null
null
null
null
UTF-8
Python
false
false
81
py
class ConsoleRunner(object): def __init__(self) def run(self, argv):
[ "dave.mallows@gmail.com" ]
dave.mallows@gmail.com
56ae3f68368c8dbd7bdc1dae5b9701a35657d21e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03325/s784878338.py
99c795aab138870e422b36a6b2c11993402b36e4
[]
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
683
py
#!/usr/bin/env python3 import sys def solve(N: int, a: "List[int]"): def f(n): res = 0 while n % 2 == 0: n //= 2 res += 1 return res return sum(map(f, a)) # Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools def main(): def iterate_tokens(...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3a7325fdbbe61ac8a96517bc702e08c091bea648
6329ece221f3b2295cb3791168c876d260ed0c31
/test_learn/chapter4基本窗口控件/QLabel/Qlabel.py
5c2eefb5ab53693a3951a751fc2bc791a24eb002
[]
no_license
dxcv/PythonGUI
4908e049dde5e569a3ad916c6bac385c7953a243
a39beef0006e3e4057e3a9bcb3e0e64ea790427e
refs/heads/master
2020-05-17T17:14:58.250549
2019-04-11T09:32:52
2019-04-11T09:32:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
904
py
# -*- coding:UTF-8 -*- from PyQt5.QtWidgets import * import sys class WinForm(QWidget): def __init__(self): super().__init__() self.setWindowTitle("QLabel例子") nameLb1=QLabel('&name',self) nameEd1=QLineEdit(self) nameLb1.setBuddy(nameEd1) nameLb2=QLabel('&password...
[ "834819108@qq.com" ]
834819108@qq.com
76ff98474ce51699a94dfce210a76dbd53684772
141d82bf4260aa412fa44873c738d2c587cf99a0
/TerminaChatBot/trash/asda.py
3079d82652584211b344aa544fe2dde9afd60429
[]
no_license
ybgirgin3/DjangoChatBot
b6cff1804cdf8cef2e9122221e101901103d1929
a4f752ac8f3e6219650ef4117cff9c36468c41e4
refs/heads/main
2023-05-28T23:46:16.698367
2021-06-05T07:20:07
2021-06-05T07:20:07
374,047,881
1
0
null
null
null
null
UTF-8
Python
false
false
1,453
py
from readdb_trash import main as dbmain from pprint import pprint #privKey = "810e4a9a" #ind = 2 #acc = dbmain("register_customuser") #acc = dbmain("root_arizakaydi") #priv = [i[-1] for i in acc] # listelerin alayını dönüyor #pprint(acc) """ for user in acc: if ind in user: print(user) """ """ for err i...
[ "ybgirgin3@gmail.com" ]
ybgirgin3@gmail.com
714f748d54c27e704eb7be731dfccdf781124ad0
e9538b7ad6d0ce0ccfbb8e10c458f9e0b73926f6
/tests/unit/modules/network/fortios/test_fortios_wanopt_cache_service.py
39b145e6e74eb6bb84b29fd3ca26aa8f3fabb4c3
[]
no_license
ansible-collection-migration/misc.not_a_real_collection
b3ef8090c59de9ac30aca083c746ec3595d7f5f5
7ab1af924a3db4ada2f714b09bb392614344cb1e
refs/heads/master
2020-12-18T13:48:51.849567
2020-01-22T17:39:18
2020-01-22T17:39:18
235,400,821
0
0
null
null
null
null
UTF-8
Python
false
false
6,933
py
# Copyright 2019 Fortinet, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
cefe4d035a50c4340bc4b24e3b919199b5c98dc2
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/482/usersdata/309/110191/submittedfiles/Av2_Parte4.py
5aca4be961245c752db543b99e95603e988030a2
[]
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
349
py
# -*- coding: utf-8 -*- mt=[] lin=int(input("Digite a quantidade de linhas da matriz:")) colu=int(input("Digite a quantidade de colunas da matriz:")) for i in range (0,lin,1): lista=[] for j in range (0,colu,1): lista.append(int(input("Digite um elemento para sua matriz:"))) mt.append(lista) ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
159f64c2bebe8b06c567595cf230f000bde35cf6
e5333b2e54f1adf2e5bc88a9a242234c5f15851a
/misoclib/tools/litescope/software/driver/la.py
2b84e96268fdbc793b1ab8adb92dd1edc4307378
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hoangt/misoc
1aaf850c18bab5b18db1fcc788feb96afbbc464e
6c13879fb605a1ee2bd5a3b35669e093f9a4267b
refs/heads/master
2021-01-21T02:55:59.398987
2015-07-13T15:00:03
2015-07-13T15:25:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,220
py
import csv from struct import * from migen.fhdl.structure import * from misoclib.tools.litescope.software.dump import * from misoclib.tools.litescope.software.driver.truthtable import * class LiteScopeLADriver(): def __init__(self, regs, name, config_csv=None, clk_freq=None, debug=False): self.regs = regs...
[ "florent@enjoy-digital.fr" ]
florent@enjoy-digital.fr
3f370321ebee887356b154e8d0f116d8177a6c7d
4e534fa12ffe5f9444dfa719b14a6929b6ca1ab7
/Source.py
c5f98560fce3c8f6b0748a1c8c8e2af44afd815d
[]
no_license
YuvalKogos/NLP-Text-Summarizer
4e06eab7db0fef50e10caffcbb63d601b3b46c1c
03cffa61024a40ebf918ed553efecd9d5fedfa7b
refs/heads/master
2022-04-20T07:02:40.682101
2020-04-19T13:24:37
2020-04-19T13:24:37
256,998,558
0
0
null
null
null
null
UTF-8
Python
false
false
19,846
py
import gensim import nltk import pandas as pd import matplotlib.pyplot as plt from nltk import RegexpTokenizer from nltk.corpus import stopwords from os import listdir from os.path import isfile, join import csv from nltk.stem import WordNetLemmatizer from nltk import FreqDist from nltk.stem import PorterSte...
[ "noreply@github.com" ]
noreply@github.com
75b9aefd4f171e70ed6953fdbfbccda2bae86ab4
48f31291e15b778c0b6c368947397193c2ac9c71
/test/test_del_contact.py
7f45f5067eb08e142afb7a044b1e55c66e6a5ce0
[ "Apache-2.0" ]
permissive
anastas11a/python_training
05d7f80312f82eda4922fbcc75d7b225996da93c
1daceddb193d92542f7f7313026a7e67af4d89bb
refs/heads/master
2020-03-29T12:01:43.874133
2018-11-17T15:51:59
2018-11-17T15:51:59
149,881,790
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
from model.contact import Contact import random def test_delete_some_contact(app, db, check_ui): app.open_home_page() if len(db.get_contact_list()) == 0: app.contact.create(Contact(firstname = "test", lastname = "test")) old_contacts = db.get_contact_list() contact = random.choice(old_contacts)...
[ "evelevel12@gmail.com" ]
evelevel12@gmail.com
f181f0294594ae6c4da2b0596bfaef3ed30575e4
0466c52e2c5a4d0dbeb7df9da1dca1acd136f553
/python/message_test.py
f2b65b93fd67cabdc4f96bf5d75dc1384feb025b
[]
no_license
Hzuni/Index_Coding_Testbed_V2
56b6fdca65ee677d21fdad9e232fabf953e4d0dd
c9c1413cb2629f4d4df845052acaf5b790f28d81
refs/heads/master
2021-01-20T18:47:34.098066
2016-08-04T18:07:55
2016-08-04T18:07:55
64,410,128
1
0
null
null
null
null
UTF-8
Python
false
false
565
py
import numpy as np import struct def matrix_receiver(msg_received): if msg_received[0] == ord('m'): rows = msg_received[1] print("the number of rows is", rows) columns = msg_received[2] print("the number of columns is", columns) m = np.zeros((rows, columns)) for i in range(0, rows): for j in range(0...
[ "hasunamarasekara@live.com" ]
hasunamarasekara@live.com
205ef5a7a4a2456084f4636eaaccfb95387921e2
b525c770d67672ba14be54451e200f69a6ded924
/test_on_event/test.py
bb1ad7db2b9c68698076c9cd27e3a22b7d5668f1
[]
no_license
Cassio-4/FaceCropper
314ba9f3a51841e2869bf3cdb8049b0d9451e2fa
88ee0c5370addd73873bfebf90a70e7a797e606d
refs/heads/master
2023-01-22T05:23:49.700210
2020-12-04T16:38:40
2020-12-04T16:38:40
302,171,765
0
0
null
2020-10-29T23:21:08
2020-10-07T22:08:38
null
UTF-8
Python
false
false
1,439
py
from module.video_processing_layer import process_event_batch from module.results_layer import process_batch_result import config class TestEvent: def __init__(self, name, id, path, total_frames, monitor_id): self.__name = name self.__id = id self.__path = path self.__total_frames ...
[ "cassiobertasinascimento@gmail.com" ]
cassiobertasinascimento@gmail.com
d49f0e7f1f4928fde136f01b505bb2e17bbc3298
a2beea03ad6e5ad2d59a27328df6533347d762b0
/ui_OsdagMainPage.py
0029aa99de18c3a47f5d5a3103b8fc288d3ef9fc
[]
no_license
chavan-vjti/Osdag
069a9d3822b4d6dffc0e0f298530b9923c13c2d3
534f87d8bbbe6e3d82f8f9681b229cf16ff567f7
refs/heads/master
2021-01-20T08:21:22.639725
2017-06-08T11:11:11
2017-06-08T11:11:11
90,133,561
0
0
null
2017-05-03T09:47:06
2017-05-03T09:47:06
null
UTF-8
Python
false
false
30,288
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'OsdagMainPage.ui' # # Created by: PyQt4 UI code generator 4.11.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: def _fromUtf8...
[ "jayantpatil289@gmail.com" ]
jayantpatil289@gmail.com
b7d73d835b90fc52ab92d464f4c85ecdd83a22e0
65b1928c13b087087cf25a02d411bce5f67a3c5e
/rust-hexify/hexify.py
03c5b796b50a29944ce50a7d2feda6936ca8d654
[]
no_license
jwasinger/scripts
428841dca43ef5170cb4f9923f7d25160df21144
d5aee48c62ba788706f854632ba837f5ed2dfe62
refs/heads/master
2020-05-31T07:55:48.141455
2019-06-04T10:06:32
2019-06-04T10:06:32
190,176,632
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
import sys, getopt, binascii h = sys.argv[1] if len(h) % 2 != 0: h = '0'+h h = [h[i:i+2] for i in range(0, len(h), 2)] h = map(lambda x: '0x'+x, h) h = '[' + ', '.join(h) + ']' print(h)
[ "j-wasinger@hotmail.com" ]
j-wasinger@hotmail.com
35d44a8f349d80fc60e1d2643f778e76359d4ebf
9cf4e79728997aee49764b896fe763276a3a7813
/predict.py
8995fea31e6622f8a937aafd9977d5f40cdb796b
[]
no_license
chenying99/retinaface-keras-1
c0509f49b483cc4edb73516d5154af95acbc448c
172791452afc8a937be7bc5d20be1ec2402c9c87
refs/heads/master
2022-12-07T13:21:24.349919
2020-08-17T05:26:08
2020-08-17T05:26:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
580
py
#-------------------------------------# # 对单张图片进行预测 #-------------------------------------# from retinaface import Retinaface import cv2 retinaface = Retinaface() while True: img = input('Input image filename:') image = cv2.imread(img) if image is None: print('Open Error! Try again!') ...
[ "592499985@qq.com" ]
592499985@qq.com
d404ca84b2fb9569b41a3dc66411b472fe657657
3077c03f8375c53d10177685c60652d362fbbe24
/src/pawapp/migrations/0001_initial.py
b1a9258f07638465d33584138beabea885d7efa4
[ "MIT" ]
permissive
abnerpc/paw
c572b509f11dc74e11f6355be4ed69aaad10684d
cd630802fe19f00983e92c49b9edbcd21c6916f3
refs/heads/master
2021-06-20T17:19:55.888940
2019-07-06T22:43:07
2019-07-06T22:43:07
126,036,933
0
0
MIT
2018-04-26T13:20:00
2018-03-20T15:09:42
Python
UTF-8
Python
false
false
3,068
py
# Generated by Django 2.0.3 on 2018-07-05 14:26 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Bill', fields=[ ...
[ "abnerpc@gmail.com" ]
abnerpc@gmail.com
912d24cf96d048018ff82d635907ce570a086d6f
3c8aaef535328f7c4d812cf086a637b27d891752
/interview/google/hard/LC679. 24 Game.py
9e3d378a0603da9c172ec985a2ea638862ffd65a
[]
no_license
zhangshv123/superjump
9339cd7f5e75d8a94be60d44c752267cc38183d3
7de5f69e6e44ca4e74d75fed2af390b3d2cbd2b9
refs/heads/master
2020-03-20T20:36:34.378950
2019-03-08T04:37:22
2019-03-08T04:37:22
137,696,605
1
0
null
null
null
null
UTF-8
Python
false
false
2,015
py
""" You have 4 cards each containing a number from 1 to 9. You need to judge whether they could operated through *, /, +, -, (, ) to get the value of 24. Example 1: Input: [4, 1, 8, 7] Output: True Explanation: (8-4) * (7-1) = 24 Example 2: Input: [1, 2, 1, 2] Output: False Note: The division operator / represents rea...
[ "sz1266@nyu.edu" ]
sz1266@nyu.edu
1acb17a465053f9cab22d26665d03512e51c7e21
4775712ef1d16495401311b4ffc4bd95c9004dc6
/ex3.py
cc3708c1eee0775bf53f3e1438f297b2285b589e
[]
no_license
Eihwazlol/lpthw
69447119c7f564b39844c9998a4fdc22890d5bed
0de02f2503873f5b5675706ae6f251073fdf8f64
refs/heads/master
2020-05-31T09:06:05.620009
2015-06-16T15:29:20
2015-06-16T15:29:20
37,537,776
0
0
null
null
null
null
UTF-8
Python
false
false
1,774
py
# -*- coding: utf-8 -*- #Affiche le texte "I Will now count my chickens:" print "I will now count my chickens:" #Affiche le texte "Hens" puis, le résultat de l'opération 25 + (30/6) = 25 + 5 = 30 print "Hens", 25.0+30.0/6.0 #Affiche le texte "Roosters" puis, le résultat de 100 - (4% de 75) = 100 - 3 = 97 print "Roo...
[ "utilisateur@DebianTest" ]
utilisateur@DebianTest
241d5eb6cc0c4cf43ed0165bacdcb5bd360c9b09
25fce92ad8b2ed971ff6e416228f4cb34c9dd49f
/Tabla_Alumnos.py
4e47b437a1f9323c29d20e400d183c74428b807b
[]
no_license
nestorcuello/prueba
3ac44f1f3d437ecba6d2c56c2ee4b7d7895d542d
e22a917482fb4e4b87c44c9c515d7571d1623c5c
refs/heads/master
2021-01-22T04:36:51.738592
2013-07-10T16:15:06
2013-07-10T16:15:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,074
py
import wx import MySQLdb from db_conn import DBConn class Tabla_Alum(wx.Panel): def Consulta_NumControl(self,event): Control= self.Num_Control.GetValue() #table =self.table busqueda ="SELECT * FROM alumno WHERE No_Cont = '%s'" % (Control) #self.buscar(Control,table) try: ...
[ "nestorcuellolive@hotmail.com" ]
nestorcuellolive@hotmail.com
f164c04e1dd5b25b98f499d8d3191f0703c1d97c
563e77c2493d9b2e1bd44f73978b25233a0b0a0f
/vmcloak/exceptions.py
63d933c6434e665711d19922d7510383ce241f5a
[]
no_license
mcpacosy/vmcloak
a824d50e82ef08678b91570e4c49c884c9b5823d
fff3f1837ae75c61df5f8e4682590500b498e25b
refs/heads/master
2021-01-20T21:56:18.367092
2014-12-24T06:21:54
2014-12-24T06:21:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
# Copyright (C) 2014 Jurriaan Bremer. # This file is part of VMCloak - http://www.vmcloak.org/. # See the file 'docs/LICENSE.txt' for copying permission. class CommandError(Exception): pass
[ "jurriaanbremer@gmail.com" ]
jurriaanbremer@gmail.com
e9a654100a20483c05a320db7178ffda25587447
eab81ff76637addfbc969e3fddc29aac5e608c50
/code/advanced_algorithms_problems/list_3/2.i_can_guess_the_data_structure.py
c570e2c60786168aa59c1da4e2615e0a82580be8
[]
no_license
hadrizia/coding
f629a023a1a9a303ee0480c6c2708ea92403314b
a1e7304a57922428398291de49f3eff78f8e7e55
refs/heads/master
2021-11-11T10:16:05.478379
2021-11-05T15:26:43
2021-11-05T15:26:43
183,800,041
1
1
null
null
null
null
UTF-8
Python
false
false
1,789
py
''' There is a bag-like data structure, supporting two operations: 1 x Throw an element x into the bag. 2 Take out an element from the bag. Given a sequence of operations with return values, you're going to guess the data structure. It is a stack (Last-In, First-Out), a queue (First-In, First-Out),...
[ "hadrizia.santos@ccc.ufcg.edu.br" ]
hadrizia.santos@ccc.ufcg.edu.br
5924b68b427ea1f4dffe7802dab0308f940eba4c
2d2c10ffa7aa5ee35393371e7f8c13b4fab94446
/projects/feed/rank/offline/train_and_predict_model/video/cp_model.py
1187c88f5142f3eeeece094fa35d05abe1e16008
[]
no_license
faker2081/pikachu2
bec83750a5ff3c7b5a26662000517df0f608c1c1
4f06d47c7bf79eb4e5a22648e088b3296dad3b2d
refs/heads/main
2023-09-02T00:28:41.723277
2021-11-17T11:15:44
2021-11-17T11:15:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
20
py
../tuwen/cp_model.py
[ "chenghuige@gmail.com" ]
chenghuige@gmail.com
6302806f4d9aace7a3f1ac2f1d4827b4213d33ba
f8c4b33a09d822986a59510a8091d8d66f72e300
/svdRec.py
3aa0e0d93916df53a21d2d3369f158d41f8d79b6
[]
no_license
louiss007/MachineLearning
420010954df639842f4841d070a6f17bc0d9642d
845d87265e928aed86ae163aeb1f3ddcac2d0480
refs/heads/master
2016-09-05T20:57:28.933262
2015-03-11T04:13:58
2015-03-11T04:13:58
9,974,699
0
0
null
null
null
null
UTF-8
Python
false
false
1,564
py
from sim import cosSim from numpy import * def loadExData(): return [[1,1,1,0,0], [2,2,2,0,0], [1,1,1,0,0], [5,5,5,0,0], [1,1,0,2,2], [0,0,0,3,3], [0,0,0,1,1]] def standEst(dataMat, user, simMeas, item): n = shape(dataMat)[1] simTotal...
[ "zheng.fu006@gmail.com" ]
zheng.fu006@gmail.com
8e0c55db0dec58659c7629e680a15bbfcbe09c49
738d651803bc479ef87a81fbaba6f1e926ea0065
/articles/admin.py
7cad8e3d39f13892d578dec63fa9d8f734973ab0
[]
no_license
smflanag/Aggregator
69f52a8786cd9993af3f5a578738d012b1557497
433afce3b052933aa75079d63960cad818df3e9f
refs/heads/master
2023-01-18T18:43:39.870019
2019-05-01T15:29:48
2019-05-01T15:29:48
118,258,419
0
0
null
2023-01-03T17:44:36
2018-01-20T16:09:01
Python
UTF-8
Python
false
false
171
py
from django.contrib import admin from articles.models import Article, Vote, Comment admin.site.register(Article) admin.site.register(Vote) admin.site.register(Comment)
[ "smflanag@gmail.com" ]
smflanag@gmail.com
f0d38ad0d85e125ff017f3eea4d21b7070ed4085
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/WPojigJER35bJT6YH_8.py
c7b39d677e4dc65f3f3bc24b2bae6d63908d8d9a
[]
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
591
py
""" Write a function that takes an integer `n`, reverses the binary representation of that integer, and returns the new integer from the reversed binary. ### Examples reversed_binary_integer(10) ➞ 5 # 10 = 1010 -> 0101 = 5 reversed_binary_integer(12) ➞ 3 # 12 = 1100 -> 0011 = 3 revers...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
0dff9c6f0d4f4e4b4389971c842a59076c76e8b1
0bb474290e13814c2498c086780da5096453da05
/abc041/C/main.py
e3bf39a21a47d89d8c3aa242cbde61eb057906ad
[]
no_license
ddtkra/atcoder
49b6205bf1bf6a50106b4ae94d2206a324f278e0
eb57c144b5c2dbdd4abc432ecd8b1b3386244e30
refs/heads/master
2022-01-25T15:38:10.415959
2020-03-18T09:22:08
2020-03-18T09:22:08
208,825,724
1
0
null
2022-01-21T20:10:20
2019-09-16T14:51:01
Python
UTF-8
Python
false
false
540
py
#!/usr/bin/env python3 import sys sys.setrecursionlimit(10000000) INF = 1<<32 def solve(N: int, a: "List[int]"): l = sorted(enumerate(a), key=lambda x:-x[1]) for i,v in l: print(i+1) return def main(): def iterate_tokens(): for line in sys.stdin: for word in line.split()...
[ "deritefully@gmail.com" ]
deritefully@gmail.com
e73ef8f66086092d1fb696912304c6bba165efcc
1bfad01139237049eded6c42981ee9b4c09bb6de
/RestPy/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/mplsoam/router/interface/interface.py
36c2d3a3e9dc3c3ad66a6cd90bfc85c833ce7daf
[ "MIT" ]
permissive
kakkotetsu/IxNetwork
3a395c2b4de1488994a0cfe51bca36d21e4368a5
f9fb614b51bb8988af035967991ad36702933274
refs/heads/master
2020-04-22T09:46:37.408010
2019-02-07T18:12:20
2019-02-07T18:12:20
170,284,084
0
0
MIT
2019-02-12T08:51:02
2019-02-12T08:51:01
null
UTF-8
Python
false
false
21,060
py
# Copyright 1997 - 2018 by IXIA Keysight # # 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 limitation # the rights to use, copy, modify, merge, p...
[ "hubert.gee@keysight.com" ]
hubert.gee@keysight.com
623d947f37093b012564538ad282c17d193723e8
2e84684e12f535af74639d076836240f9550c79e
/rock_paper_scissors.py
f954ec742b3df38b7a906b9b62bfb3b2e977f174
[]
no_license
DeCryptAF/Python-Stuffs
aaeb902181dfc33cabb54d22c4417e0137ef8317
fd45c4c91e73ba5957290e8c487172a6dd222d67
refs/heads/main
2023-08-04T16:30:56.241345
2023-07-26T15:44:39
2023-07-26T15:44:39
316,495,320
1
0
null
null
null
null
UTF-8
Python
false
false
1,940
py
import random, sys #Variables wins = 0 lose = 0 ties = 0 print("ROCK PAPER SCISSORS!!!!!") #Main Game Loop while True: print('%s wins, %s lose, %s ties' % (wins,lose,ties)) while True: #The player input print("Enter your move: (r)ock (p)aper (s)cissors or (q)uit") playerMove = inp...
[ "noreply@github.com" ]
noreply@github.com