blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
672eef1114ae17959188fe66f7ad83d243a059ec
a7122e606af8a3475412e838ba3f40754c71d33a
/programs/rgbc_rt/__init__.py
eb7064e74add5f07c403bed5dde6b23371a09336
[]
no_license
cedrichaase/nodergb-realtime-client
9b67313d3d7ac7aa88f9d656dc69a5ea04292304
06524948e53fd1551b3e2c08fb59126a18a334e1
refs/heads/master
2021-01-23T00:44:45.676396
2017-08-29T22:55:28
2017-08-29T22:55:28
92,838,336
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
from colour import Color import socket class RGBCRt: def __init__(self, address, port): self.socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) self.socket.connect((address, port)) self.socket.settimeout(0.0333) @staticmethod def __format_color(color): hex_color = b...
[ "cedric@sineband.de" ]
cedric@sineband.de
4298b9868a6620abc4e25531e8cf53de9072537d
87aa43e2f5247b271b8f96b5aab1315bb5eb0053
/angr/surveyors/sser.py
5420fdab0bea7d6f8a642fbf2595e8675fc6748d
[ "BSD-2-Clause" ]
permissive
pabit/angr
5676778233fdf3a490541ba1d2c0a11e82d50686
2cb4a9a837d7eeaad9dc80efe8c9e4505fb31d04
refs/heads/master
2021-01-15T12:14:28.429885
2016-03-15T20:20:07
2016-03-15T20:20:07
53,982,483
1
0
null
2016-03-15T22:17:09
2016-03-15T22:17:09
null
UTF-8
Python
false
false
1,962
py
from collections import defaultdict import networkx from ..surveyor import Surveyor class Sser(Surveyor): """ Sser implements a _static_ symbolic execution engine! """ def __init__(self, project, start=None, ends=None, max_repeats=None): Surveyor.__init__(self, project, start=start) ...
[ "fish@cs.ucsb.edu" ]
fish@cs.ucsb.edu
7fc599f00564e8fdb2871be5e1ec1d397631e510
7729b7c46f951213a7f25b264fc26fcb002c464b
/openDataSpider/gzSpider.PY
3ace5e2c3518f2b644d23be314b6b58cbab060cb
[]
no_license
duiliuliu/openData
882255fff2a0d039b42de26b07197db3d7ddb17b
88a62c6996ca1410877923292996692b91cda0ec
refs/heads/master
2021-09-25T14:53:38.225125
2018-10-23T00:02:48
2018-10-23T00:02:48
98,703,519
12
3
null
null
null
null
UTF-8
Python
false
false
4,416
py
# *-* encoding = utf-8 *-* # author: pengr from spider import Spider,Writer import json import requests import re import os import time import multiprocessing '''处理请求的数据''' def func(response = None, data=None ,header=None ): if response: return handleResponse(response.text)['datasetlist...
[ "pengrui55555@163.com" ]
pengrui55555@163.com
4f675dfd192b2a0c7713e71ab83d14b581992f7c
fe22e8ffdb1b2f1e11becc027e71a7a512fe56eb
/src/qcd_ntuples/make_runconfs_eventlists.py
041aec2354a8a878e6648c58f58608c24c3f04f1
[]
no_license
HEP-KBFI/stpol
3cdb5dc125bb0394f4531abfdfe9629b0c8d0fa4
962837a3341dd26391025b9a07a9c1c93084bf64
refs/heads/master
2020-06-03T16:15:14.743807
2015-08-05T09:00:28
2015-08-05T09:00:28
5,716,481
0
1
null
2015-03-04T08:23:28
2012-09-07T12:27:30
Python
UTF-8
Python
false
false
1,460
py
import sys import os from parse_input import * #Monkey-patch the system path to import the stpol header sys.path.append(os.path.join(os.environ["STPOL_DIR"], "src/headers")) from subprocess import call import time data_files = {} for iso in ["iso"]:#, "antiiso"]: data_files[iso] = get_data_files(iso) #print data_...
[ "andres.tiko@cern.ch" ]
andres.tiko@cern.ch
1751a7f5cd497e61557f431966933b4ef1f57979
8d1d8e94ea364368b17f839b50f4e404ede5c5e8
/beam_search.py
7e882a6bd0827335e42a11825cd3cc6303991dc7
[]
no_license
Kaixin-Wu/myTransformer
c155fd49535cf94903ff637a9429bbc081319280
e055b470b9116b0baaded1cfa5f5660df27f87ef
refs/heads/master
2020-03-13T03:26:29.443719
2018-05-02T11:25:14
2018-05-02T11:25:14
130,860,615
0
0
null
null
null
null
UTF-8
Python
false
false
3,164
py
import torch import constants import numpy as np class Beam(object): ''' Store the neccesary info for beam search. ''' def __init__(self, size, cuda=False): self.size = size self.done = False self.tt = torch.cuda if cuda else torch # The score for each translation on the bea...
[ "wukaixin_neu@163.com" ]
wukaixin_neu@163.com
b09a90de25a746af393edfd411122bb615ebccb1
04b031a3f2d45be7e72c0a7c34a2b72e7ec7d136
/CenterTest.py
fa4d7c6d74343461a7ea56e5a0f6860fb9c3559a
[]
no_license
davidwilson826/FinalProject
5e37b624fc03826e1d1e3050866d2bcd53ad8404
6630b24ac310a798b380bb227d4e782244fb8bb5
refs/heads/master
2021-01-01T04:01:20.033229
2016-06-06T18:56:37
2016-06-06T18:56:37
56,407,163
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
from ggame import App, Sprite, CircleAsset, Color, LineStyle black = Color(0x000000, 1.0) noline = LineStyle(0.0, black) class Thing(Sprite): def __init__(self, asset, position): super().__init__(asset, position) self.fxcenter = self.fycenter = 0.5 class CenterTest(App): de...
[ "davidwilson@hanovernorwichschools.org" ]
davidwilson@hanovernorwichschools.org
a89b312a6b81a5399dd456a92bdb5fd9671be1e4
6b75d0d0b991584691444cc5828c27db71f311d5
/SPA_12142018_9p2GHz_yale.py
ec92ec88a64ef674a8f6bf3e63f75a80fbc2fed8
[]
no_license
katrinasliwa/QCI_SNAIL_design
8381f3c230e6e24444b49ff536790b598c2440fc
93e3d5f399f3eb8994e61596a5f005ed58d82dac
refs/heads/main
2023-06-02T16:40:47.456023
2021-06-21T18:17:40
2021-06-21T18:17:40
379,023,489
0
0
null
null
null
null
UTF-8
Python
false
false
19,915
py
import sys #sys.path.append('/Users/yiwenchu/Documents/circuitQED/CAD/SNAIL') #sys.path.append('/Users/yiwenchu/Documents/python/gdspy-0.6/build/lib.macosx-10.9-x86_64-2.7/gdspy') import os import numpy as np import gdspy # import waferDefs as wd # from toolsDefs import * # import qubitDefs as qd # import junctionDefs ...
[ "noreply@github.com" ]
katrinasliwa.noreply@github.com
99e346ccaede7d498721e68350dc53e6e9a31dd1
b94064c4aad38ddf1a94d28733bccfd61aa3068c
/PRA3/misc/gen_stress.py
515b43859541188401c01cc04c04fe76a96c485e
[]
no_license
Giantpizzahead/pro-club-problems
45b3738ec6682bf77815f0c1535a345fed031d9f
e2a2d618f3d781f32a9876eb9685f143f0b4706c
refs/heads/master
2023-07-01T19:24:42.768521
2021-08-09T12:06:50
2021-08-09T12:06:50
394,275,100
1
0
null
null
null
null
UTF-8
Python
false
false
430
py
import random chars = '()[]{}' chances = [1, 1, 1, 1, 1, 1] choices = [] for i in range(6): for j in range(chances[i]): choices.append(chars[i]) def gen_paren(i): return random.choice(choices) for j in range(10): with open("PRA3/subtasks/03_stress/{:03}.in".format(j), 'w') as fout: N = r...
[ "43867185+Giantpizzahead@users.noreply.github.com" ]
43867185+Giantpizzahead@users.noreply.github.com
cbae5ae4d12b34ea72f0da79a539ed72f0591d10
eba805f613787956a43f8831fd9626fe4abe238a
/Billetera_de_criptomonedas(Python)/billetera_Digital.py
a17938243086404891750e9c9bfd673f47bb78ad
[]
no_license
simon320/Python_Billetera
c9451a795db0d3d621a4bd27f2739be44c108c05
e26588c189a5707299a44cafe5cf8c87dead0429
refs/heads/main
2023-06-30T10:24:48.051339
2021-08-03T01:56:35
2021-08-03T01:56:35
392,134,509
0
0
null
null
null
null
UTF-8
Python
false
false
10,531
py
import pickle import requests import sys import time from requests.models import CaseInsensitiveDict # CONFIGURACION DE FUNCIONES DE SERIALIZACION PARA BILLETERA E HISTORIAL def escribe_archivo(): # Sobre-escribe billetera global cripto_dic archivo_serial = open("serial-billetera", "wb") pickle.dump(cript...
[ "simonjuarezk2@gmail.com" ]
simonjuarezk2@gmail.com
0f7db52aa57af3cd171f9d318421a2c4a9c16bca
7eca4650fffb671586e5f738d7b410e22a1f7c10
/backend/ghtproject/ghtelectroniccenter/serializers.py
142a359d6112512a429008c5ce9bde26764b62da
[]
no_license
waffi/College-Hokabema
d811a1b31d8d21c6f3717ade31aefc372c8f5755
c67abfb33367225c7eea8332d6c851d23045bb29
refs/heads/master
2023-02-07T05:24:02.114649
2020-12-26T01:45:26
2020-12-26T01:45:26
79,775,190
1
0
null
null
null
null
UTF-8
Python
false
false
2,311
py
from rest_framework import serializers from django.core.serializers.json import Serializer from ghtelectroniccenter.models import TblMenu, TblMenuDetail, Berita, Menu,Menuhaskandungan, Kandungan, Pelanggan, Cart, Kategori, Pesanan class MenuDetailSerializer(serializers.HyperlinkedModelSerializer): class Meta: mode...
[ "waffifaturrahman@yahoo.co.id" ]
waffifaturrahman@yahoo.co.id
31387fde72e4cddfddb337ca19b248b3b8dbdddb
9e235d1c1c62981a4d3f0f09656715b408f33c5a
/bsl/migrations/0002_auto_20190412_1505.py
258807ce9c3d12a3a8ed11384cc3936165a79b35
[]
no_license
shivamg7/learnwell
1d33c678573b047fe42102eb3f5dfb796524aa39
06348e9c3ce3b11d119de869e9c7888b73067c9a
refs/heads/master
2020-05-09T09:49:48.305587
2019-04-13T05:23:46
2019-04-13T05:23:46
181,018,034
0
0
null
2019-04-12T18:36:40
2019-04-12T13:53:24
HTML
UTF-8
Python
false
false
687
py
# Generated by Django 2.2 on 2019-04-12 15:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bsl', '0001_initial'), ] operations = [ migrations.AlterField( model_name='question', name='optionA', fiel...
[ "playfullittlekid@gmail.com" ]
playfullittlekid@gmail.com
bd0fb18feff8a8c66e18114c00d697f885e4515c
8175dcd9793706f3b387aecd8464a4cecea72664
/samples/python-requests/request_to_cloudevent.py
11d3cc72ef8af7fc46cb6b961cdb233e67a0da90
[ "Apache-2.0" ]
permissive
di/sdk-python
5c67180f00f9a76b2b85ac933d496c76a90afce4
ec0ae88f3b6b7844c22b21f9a08995d749d8199e
refs/heads/master
2022-07-27T18:52:51.116029
2020-03-20T14:19:46
2020-03-20T14:19:46
252,578,534
1
0
Apache-2.0
2020-04-02T22:29:40
2020-04-02T22:29:40
null
UTF-8
Python
false
false
1,245
py
# 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 agreed to in...
[ "denys.makogon@oracle.com" ]
denys.makogon@oracle.com
74184826e58940d910271507ed40c9bdde47fc52
fab3d7ffdedf3e9f9c5b7fdf890bea9be956535f
/squealy/test/test_jwt_authentication.py
18ea47ae0d9bb7807b45dbb8d4c71526bf02cbf2
[ "MIT" ]
permissive
zeeshankhan28/squealy
1f462cb8df8065c2a02491425856620988cf4215
5dfe9c5830ef74978f5defc872500fb710097408
refs/heads/phase-2
2020-03-22T11:18:37.832416
2018-08-16T07:40:20
2018-08-16T07:40:20
139,962,477
0
0
MIT
2018-07-17T10:38:27
2018-07-06T09:18:41
JavaScript
UTF-8
Python
false
false
983
py
import jwt from .test_base_file import BaseTestCase from squealy.models import Chart from django.test import Client from test.test_support import EnvironmentVarGuard class JWTAuthenticationTestCase(BaseTestCase): def setUp(self): BaseTestCase.create_schema(self) self.client = Client() sel...
[ "devashish.sharma@hashedin.com" ]
devashish.sharma@hashedin.com
3697b31ab9d91ad545499d4be31d62c7a3109755
daf38b94ce43ace82259c48bd2a45471dcf69245
/Test3.py
0758d64f6362d6d0bb371ec9acef27a4c114a285
[]
no_license
app-stack/l3codingpractice
af2b336ac7d98b4d8bb11de17727fb258436513b
88ba3ca5b4f69c699aa3c1aa2b2f412e123f57e8
refs/heads/main
2023-07-01T01:19:08.763607
2021-08-06T17:20:31
2021-08-06T17:20:31
371,988,550
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
def mass2height(a,b,name): # dict1={'mass':48, 'height':169, 'name':'derrick'}; # a=dict1['mass']; # b=dict1['height']; # mass2height= a/b; # print("The mass to height ratio is {0}".format(mass2height)) dict1={ 'mass':a, 'height':b, 'name':name }; a=dict...
[ "noreply@github.com" ]
app-stack.noreply@github.com
e58712c50ae00c1d0553ddac7da4b525d46de420
2faa702765aea4f460928a0931ddaf96a48e70fd
/calclock.py
7fff558fde40ef27ec1f8ada64d3fd4021035c50
[]
no_license
Quitten/calclock
d2de16308d2ca911c6776665c2b34e7d703f37bd
04fcca81fa20ba600ed14a72878ab9f2945ffe49
refs/heads/master
2020-08-29T17:25:54.307739
2019-10-28T18:11:56
2019-10-28T18:11:56
218,110,786
2
0
null
null
null
null
UTF-8
Python
false
false
5,072
py
from __future__ import print_function import datetime import dateutil.parser import pickle import os.path from googleapiclient.discovery import build from google_auth_oauthlib.flow import InstalledAppFlow from google.auth.transport.requests import Request def is_ascii(s): return all(ord(c) < 128 for c in s) def i...
[ "barakt@wix.com" ]
barakt@wix.com
e0e27e72e01ef529f900d2aa0a660860810d5a8f
c4470e0c9aa84d21afed49fe31f3a19f9d4bfe9e
/core/migrations/0022_auto_20200815_1019.py
c1ea4d9e10f55378ff2066899997b91e8a95b54b
[]
no_license
TRavi107/e_commerce_site
67f267a3041c7a2b3b072270d2888faf6c852ccc
63947deefeabcc5d14432f1a7813ae8375a6a7de
refs/heads/master
2022-12-05T06:23:33.484797
2020-08-26T10:18:20
2020-08-26T10:18:20
290,464,115
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
# Generated by Django 3.0.8 on 2020-08-15 10:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0021_auto_20200815_1011'), ] operations = [ migrations.AlterField( model_name='items', name='img', ...
[ "thapa.ravi7.rt@gmail.com" ]
thapa.ravi7.rt@gmail.com
ee0a102d97f9dba135d56144294f82b1d94a70db
22d46da879c9b3da9e4c1860c814c220d3935028
/src/python/org/cassandra/geo_maps/geo_bounds.py
7e206fa10f79de418b3b12a56287286285f6727a
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
cassandra/geo_maps
d9bc9d19a9d891615aca94edd01881eba0900aec
0257bd73456f9312070e3f7627effee30b73fdea
refs/heads/main
2023-03-05T18:48:56.401709
2021-02-06T00:46:54
2021-02-06T00:46:54
336,423,290
0
0
null
null
null
null
UTF-8
Python
false
false
4,435
py
from dataclasses import dataclass from . import utils @dataclass class GeoBounds: """ Holds the 4 corner points of a geographic bounding "box" (its really a spherical cap). """ longitude_min : float = 999999.0 longitude_max : float = -999999.0 latitude_min : float = 999999.0 latit...
[ "arc@cassandra.org" ]
arc@cassandra.org
99212124838289ecc10f721c098976e9924049bb
58a9bc04baf10ee33c580c81b4ab4d61e2503fcd
/controllers/kinematics.py
41a195de10e527086d01027878597a40b68d07f1
[]
no_license
chrismailer/hexapod-sim
8fe130669104f5f29c154a0f5d39f10d8d6693be
666d788248312b2ae858d018449394a926d3cc79
refs/heads/master
2023-07-08T15:29:31.954416
2021-08-12T06:33:28
2021-08-12T06:33:28
353,006,682
2
1
null
null
null
null
UTF-8
Python
false
false
1,971
py
import numpy as np l_1 = 0.05317 # coxa link l_2 = 0.10188 # femur link l_3 = 0.14735 # tibia link # transforms foot positions and speeds into joint angles and speeds in the leg coordinate frame def inverse(foot_position, foot_speed): x, y, z = foot_position dx, dy, dz = foot_speed theta_1 = np.arctan2(y, x) ...
[ "christophermailer@icloud.com" ]
christophermailer@icloud.com
d8b47d5c56905a1cab77e5282aefb790c2dce98e
8a8a9440c894edbdebdcd151057f1f5846e96cd8
/opmop/missions/offers/haulage.py
b73ffc2023c44e06cd77b2ec28a521ef9afe7c60
[]
no_license
ajbolous/finalproject
051c8d5d127c4ab57106baf45c647d8622188db8
ecbc44cdc31ec04e8259cf30b6d20e518f437e50
refs/heads/master
2020-12-24T12:20:57.607963
2017-08-14T18:52:51
2017-08-14T18:52:51
73,051,186
1
0
null
2020-07-15T21:49:08
2016-11-07T07:04:31
JavaScript
UTF-8
Python
false
false
2,215
py
from opmop.models.task import HaulageTask import opmop.missions.utils as utils from opmop.main import Application def makeOffer(machine, schedule): bestDump = None minDistance = 10000 for dumpLocation in schedule.mission.dumpLocations: path, distance = Application.mapping.calcShortestPath( ...
[ "ajbolous@gmail.com" ]
ajbolous@gmail.com
0f24d645c4f3c6130847eeecfd53b7e7a50a93aa
e7a804e5e68c4019262a5cb619ba80ef34614ae3
/pybind/nos/v7_0_1b/brocade_interface_ext_rpc/get_ip_interface/input/__init__.py
22eceb54ce3e83ebccd7467c0586d893c60d249f
[ "Apache-2.0" ]
permissive
shivharis/pybind
787978726f7efa7e4662d32ebe0075f36f6ff2f4
4e1c6d54b9fd722ccec25546ba2413d79ce337e6
refs/heads/master
2021-06-10T14:37:04.186120
2017-01-24T22:13:25
2017-01-24T22:13:25
70,860,600
0
0
null
null
null
null
UTF-8
Python
false
false
18,550
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
25ef49581e0a4c60622b6f335484660e0b3c0bd4
20936bf43b550ff8514164738529d0f78b8d8c14
/Zadanie 7/circles.py
7e41df55d94ae9100961df4c0e29906de7c7e00f
[]
no_license
kamilck13/Python2019
125f993324df5c37c4307be6db14d478de032678
88bcc231c662e29efd7a164ad3a6cc3c4f75b4a2
refs/heads/master
2020-08-21T19:58:35.515530
2020-02-12T19:40:44
2020-02-12T19:40:44
216,235,174
0
0
null
null
null
null
UTF-8
Python
false
false
3,006
py
#7.5 from points import Point import math import unittest class Circle: def __init__(self, x, y, radius): if radius < 0: raise ValueError("promien ujemny") self.pt = Point(x, y) self.radius = radius def __repr__(self): return ("Circle("+ str(self.pt.x) + ", " + str...
[ "kamil.ck13@gmail.com" ]
kamil.ck13@gmail.com
cd338d7743fc838918a1cfb2641b8d4f168ac96a
9ea625715d429597198a7b305575d673e159e06c
/ml_classifiers/ID3Tree.py
e9f6295427ebdc6842f868700e107a90d7648373
[]
no_license
TheMikeste1/Neural_Network
0ab96223b4a5159ee5ca17cb9dc8087222e53a0d
cbed302bcc235ed69b9f9a7430fb68d0db6cc1b4
refs/heads/master
2021-02-07T20:45:34.574475
2020-03-01T04:51:25
2020-03-01T04:51:25
244,075,003
0
0
null
null
null
null
UTF-8
Python
false
false
6,859
py
import numpy as np import pandas as pd from ml_classifiers.general import Classifier class ID3Tree(Classifier): def __init__(self): self._tree = None self._classes = [] self._default = None self._depth = 0 self._size = 0 def get_size(self): return...
[ "michael.hegerhorst@gmail.com" ]
michael.hegerhorst@gmail.com
c9116792258fccda7abc75c779a71016097f002a
97318679ea335cc22642a042c3c9bf4571d41496
/src/test/data/pa2/AdditionalTestCases_pa2/global_stmt_bind_var.py
288208de02a96a1e47dc4638c8d29a574ec94789
[ "BSD-2-Clause" ]
permissive
Leo-Enrique-Wu/chocopy_compiler_semantic_analysis
d703190c520a11edb3052900672fa1aec465f635
e89f6434dd7d274d4838457316143f312226495f
refs/heads/main
2023-07-18T21:49:46.846377
2021-09-24T20:38:08
2021-09-24T20:38:08
410,095,634
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
def foo(): global x global y x = 1 y = "hello" x:int = 2 y:str = "" foo()
[ "hedgehogboy@gmail.com" ]
hedgehogboy@gmail.com
5776dbdcae93997a6aad93c23c9a13444dbea7c4
6de76e0314b3dcaabcd68c9e3c0bf3c1d5b8d1a4
/Questao_02/Sistema_linear.py
83272bff0e672a40ff9ce634eccf01e5f52f4f20
[ "MIT" ]
permissive
VictorBenoiston/Segundo_trabalho_calculo_numerico
511801959afae247aa680764142c6a472cbc6628
f5b88fc8bb56c1272e78d4b2f7e0ac9893d3b10f
refs/heads/main
2023-05-09T02:49:59.920663
2021-06-05T00:49:35
2021-06-05T00:49:35
373,928,579
0
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
from math import sqrt # Montando o sistema em si, é possível notarmos que c = 6,67 # Daí, ficamos com: # Linha 1: 36a+6b+c=17.33 # Linha 2: 100a+10b+c=42.67 # Achando a e b por meio de escalonamento: matriz = [[36, 6, 10.66], [100, 10, 36]] # Pivô = 36 # mL2 = 100/36 = 25/9 # Achando a nova linha 2: x = [36, 6, 10.66...
[ "victorbjo10@gmail.com" ]
victorbjo10@gmail.com
2dfc00bb6a1f95ca7cf045c2248512aa733365ce
b714e75416a269bf2cfdbfec25d7ccf354d18668
/SuperMario/main.py
dcbcb7113df32d7563220df26093ad8b8c243fb4
[]
no_license
TAODEI/python
d554e51514b24d61def45e9fe438fb1ac650dbb5
dcf326f74b009992028f81aa915adcc08ccc186e
refs/heads/main
2023-04-24T11:58:13.171861
2021-05-15T04:02:53
2021-05-15T04:02:53
360,071,538
2
0
null
null
null
null
UTF-8
Python
false
false
508
py
import pygame from source import tools, setup from source.states import main_menu, load_screen, level def main(): state_dict = { 'main_menu': main_menu.MainMenu(), 'load_screen': load_screen.LoadScreen(), 'level': level.Level(), 'game_over': load_screen.GameOver() } #...
[ "864978550@qq.com" ]
864978550@qq.com
f505b1326929117fab2dc0b55e689f9a23bf3cc1
5e392947d0f396890bed8afee0a562763963c058
/Curso_Python/Modulo1/Condições/ex033.py
02f856361aca3f07fdfdccdcf10ab8a967c9c9c0
[]
no_license
rdghenrique94/Estudos_Python
c2c56cb95ab6be67279938c58efb0baa0d2424da
f563313c55a933c1c4bfdf2edba1ba1e5aecbd28
refs/heads/master
2022-12-15T00:37:23.342136
2020-09-18T14:05:38
2020-09-18T14:05:38
294,685,212
0
0
null
null
null
null
UTF-8
Python
false
false
850
py
def main(): num1 = int(input("Digite um numero: ")) num2 = int(input("Digite um numero: ")) num3 = int(input("Digite um numero: ")) if num1 > num2 and num1 > num3: print("O número {} é o maior".format(num1)) elif num2 > num1 and num2 > num3: print("O número {} é o maior".format(num2...
[ "rdghenrique94@gmail.com" ]
rdghenrique94@gmail.com
8212fe8f37c233da19c1d6dc32dd8c73b2499923
0453965188c1bf49e3176426b2e3077bb6140587
/django_project/tenant_control/migrations/0002_create_public_tenant.py
41bb31fc90cdaa10bee90354053beceb5f5e3a32
[ "MIT" ]
permissive
manishhub9/django-tenant-schemas-example
047a30c57ffabe20cc6746684d6462aa337fab28
ee7deea22665f395c5fadd9e03e4cd51a5c97230
refs/heads/master
2020-04-14T09:37:20.307930
2018-02-10T01:38:52
2018-02-10T01:38:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
533
py
# Generated by Django 2.0.2 on 2018-02-04 03:47 from django.db import migrations from tenant_schemas.models import TenantMixin from ..models import Company def create_public_tenant(apps, schema_editor): tenant = Company( domain_url='localhost', schema_name='public', name='Public Tenant', ...
[ "victor_o_silva@hotmail.com" ]
victor_o_silva@hotmail.com
d104593830d76d1aaf642c47f48d2a6f62c23e01
53c4fe8ca6e11d130ef013fd1d9d62bb15eefa54
/app/auth/views.py
80eb2c0d6a64501cd7b77b93f8037f906f56031e
[]
no_license
youhaowei/flask-starter
40fc4d31a588c8ff2b562e8297d86ec86bb72c0f
9f569894c30f3b159c328cf3ffcbd6cd8ae15f02
refs/heads/master
2021-01-21T03:30:09.517766
2016-09-19T22:59:01
2016-09-19T22:59:01
68,652,906
2
0
null
null
null
null
UTF-8
Python
false
false
2,955
py
from flask import render_template, redirect, request, url_for from ..email import send_email from app import flash, db from flask_login import ( login_user, login_required, logout_user, current_user ) from . import auth from app.models.user import User, User_Profile from .forms import LoginForm, RegisterForm from f...
[ "youhaowei@email.arizona.edu" ]
youhaowei@email.arizona.edu
88022e5cb1e07c52fdaee590a1bc55e811b3b7f4
068a694df077db7c1678dd494572b757a100b96c
/pic_gen.py
065f27d4396c26e645f3390f0f9d7f9cc2837ad7
[]
no_license
liangcyn/a_puzzle_for_you
e51b925969ebcc371142c67c4013c11eda250299
e99a5a15291101103cf3159783c898c3027f53a3
refs/heads/master
2021-01-09T18:51:55.367400
2020-02-22T23:20:55
2020-02-22T23:20:55
242,416,820
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
import numpy from PIL import Image def convert_string_to_color(s): ls = [] for c in s: ls.append(ord(c)) return ls result = convert_string_to_color("a b c hi tom! welcome to the first round of riddles. your code to go on is: brannerdining. send me the code to move onto the next round.") data = numpy.zeros((...
[ "noreply@github.com" ]
liangcyn.noreply@github.com
93ce57e5835e7b6413df8b239027e71104e8a5ad
3ed50263057c1695330009f9f5b122e412e1c02f
/test/bn/test_relational.py
383de69cc7afbedbe3b6b2fab8d7ec6777fae6ab
[ "MIT" ]
permissive
ppijbb/PyOpenDial
5528aa584190dcf08b892ec92a5ce8c2b82eb845
c9bca653c18ccc082dc8b86b4a8feee9ed00a75b
refs/heads/master
2022-02-16T01:27:39.667661
2019-07-24T10:51:41
2019-07-24T10:51:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,410
py
from bn.values.value_factory import ValueFactory from datastructs.assignment import Assignment from dialogue_system import DialogueSystem from readers.xml_domain_reader import XMLDomainReader from templates.relational_template import RelationalTemplate def word_cnt_func(*value): if len(value) != 1: raise ...
[ "jys5609@gmail.com" ]
jys5609@gmail.com
d36f47941ddd550e4e5cc68b142177bd27725359
f37dcae9222b2244f23611dffc92e38d7e8fefec
/list/Todolist/models.py
e06f927d378113186198dd39342a7ba4b0b696cf
[]
no_license
Watotacho/Todo-list-Django
2a653d2751f8dc1b62f42b3e7d847e4807bbd4c4
0c084849cb34c2806842412f127baf1268da997e
refs/heads/main
2023-06-29T12:06:51.100754
2021-08-12T17:41:02
2021-08-12T17:41:02
395,207,157
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
from django.db import models class Task(models.Model): title=models.CharField(max_length=200) complete=models.BooleanField(default=False) created=models.DateTimeField(auto_now_add=True) due=models.DateTimeField(auto_now_add=False,auto_now=False,blank=True,null=True) def __str__(Self...
[ "watotacho@gmail.com" ]
watotacho@gmail.com
af5f354f81ae0c08ae4f4a0c229334d3108f2599
491ff318cb13f63d300a0602ee733b485b005987
/optometria/models.py
103a39d84bb53182173d3fc60e62c114fb3f710a
[ "MIT" ]
permissive
radianx/curso_python_polotic
d982c4c9a4dc8058af54cb2d5d3c7fff02723adb
a6184dbbc1bcedd6733589afca634360a32e2c0e
refs/heads/main
2023-01-22T12:33:54.004600
2020-12-02T22:47:45
2020-12-02T22:47:45
317,708,539
0
0
null
null
null
null
UTF-8
Python
false
false
6,517
py
import datetime from django.contrib.auth.models import AbstractUser, BaseUserManager, PermissionsMixin from django.db import models from django.utils import timezone # Create your models here. class Producto(models.Model): nombre = models.CharField(max_length=200) tipo = models.CharField(max_length=200) ...
[ "sbardemadrian@gmail.com" ]
sbardemadrian@gmail.com
bcfc97326b9d092814bd302529cd0dad2d2ec43b
ae8121b55decd79e2f9721ed642dc4ffab862256
/src/apps/even/admin/__init__.py
382772d13fa13e5057e1e2b535af622532bbebf7
[]
no_license
jaimescose/eventuality
0fc6b6cdd0ec5ef8bde1339285d0b722e4912a4d
8419c1f1aef81646df3068faec71d3b39e138af0
refs/heads/master
2022-12-16T18:14:31.675712
2020-09-12T00:11:58
2020-09-12T00:11:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
# event admins from .eventAdmin import EventAdmin from .eventPromoterAdmin import EventPromoterAdmin from .eventCategoryAdmin import EventCategoryAdmin # user admins from .userProfileAdmin import CustomUserAdmin
[ "jjescobar@uninorte.edu.co" ]
jjescobar@uninorte.edu.co
a2e0baaab82c1c74f95def6868ecd4bd3fb23848
5cb69a4597c2b1b15bbd752520d2b7edc18a5ab4
/deye/deye/wsgi.py
d6c413db4e31966cd367616acda7cc73135186d5
[]
no_license
shashanksbelvadi/deye-website-1
31a547d72969a487f8c4e4fe2ad6ef5226843154
50a7e760de707d7ba7731b76dca6d6abcc747412
refs/heads/master
2021-06-02T04:43:12.743392
2016-06-20T04:22:16
2016-06-20T04:22:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
""" WSGI config for deye project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTINGS...
[ "sbelvadi@salesforce.com" ]
sbelvadi@salesforce.com
b7edf6dc0141012cd8f62de7e378396f1e0739a9
4ff9b48e7366bb20550260d1fe442a91141fc30b
/blogengine/blogengine/urls.py
503d4eec7d5a2ab4c4a9647d09ec1b3c5b8c6cb6
[]
no_license
RowdyKGZ/oleg_blog_tutorial
d50dfee236e87688d51e88b681fdbe03da476b91
cb9b510cdde9fa3499b55532c684319f57ce7708
refs/heads/master
2023-02-02T23:25:38.874971
2020-12-25T10:40:11
2020-12-25T10:40:11
324,225,478
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
from django.contrib import admin from django.urls import path, include from .views import redirect_blog urlpatterns = [ path('', redirect_blog), path('admin/', admin.site.urls), path('blog/', include('blog.urls')), ]
[ "RowdyKG@gmail.com" ]
RowdyKG@gmail.com
ea2016e25fa5a17854aaf007a2ee143c0c653836
51a902289b357ad6cf467e51c9740fa2a07c1c1c
/first_sem/lab_8/protect8.py
e0d63133936edc813db231c92d4d6956d9a1dd5a
[]
no_license
ivaaahn/bmstu-python
d3910356353b0ab3faab243a53a1d657b7d793ad
9f2d8eb390d804ad86545c992add2a6d97148a5d
refs/heads/main
2023-03-24T08:52:12.723117
2021-03-16T13:19:46
2021-03-16T13:19:46
348,353,873
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
def f(x: float) -> float: return x*x*x def F(x: float) -> float: return x*x*x*x/4 def right(a, b, nseg): h = (b - a) / nseg ans = f(b) for i in range(1, nseg): ans += f(a + i * h) ans *= h return ans a = float(input('Введите a: ')) b = float(input('Введите b: ')) ...
[ "ivahnencko01@gmail.com" ]
ivahnencko01@gmail.com
2d209e77a3b25cc9a15943f774ba376252af4916
3f161cdb8275c607f0c293a868f9fa830d23b8d4
/usecase_management_app/admin.py
365cde6b849f474f7bde8e9661e8ca39e3748e65
[]
no_license
williamyang900211/usecase
1324e98eb2a27f6f1eddcce1099113ce52444169
ad186445bce30e4b12025b371ea57c2ae9cbc80e
refs/heads/master
2020-04-14T08:56:29.864143
2019-01-02T09:05:37
2019-01-02T09:05:37
163,747,384
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
from django.contrib import admin from .models import test_bill,use_case # Register your models here. admin.site.register(test_bill) admin.site.register(use_case)
[ "williamyang900211@users.noreply.github.com" ]
williamyang900211@users.noreply.github.com
dad6b23b33058eb36bc42a8e3af0ca2ff9dbea45
3e2d291b85f4012876fc449762d65247adcd89fb
/exe/amii_tf_nn_mnist_example
8902a436aec4d54c87862764066de7549fd8b8fd
[ "MIT" ]
permissive
AmiiThinks/amii-tf-nn
82c916ebfd179d8303454d4da73d8ce5ececae48
73adb7bb150d41581315ce2d02a8617f85cbb571
refs/heads/master
2021-05-23T06:07:58.800160
2018-03-21T02:09:45
2018-03-21T02:09:45
94,800,250
1
1
null
2017-07-03T23:24:22
2017-06-19T16:57:51
Python
UTF-8
Python
false
false
4,100
#!/usr/bin/env python import os import tensorflow as tf from tensorflow.python.layers.core import Dense as DenseLayer from tensorflow.examples.tutorials.mnist import input_data import numpy as np from amii_tf_nn.data import Data, BatchedData from amii_tf_nn.data_set import DataSet from amii_tf_nn.experiment import Tens...
[ "dmorrill10@gmail.com" ]
dmorrill10@gmail.com
79fe7ebdbfed2be18858dfee9f9d33a57a7713ef
b76c2dabb9580f7638f496521ac030071b090bbe
/water_app/views.py
bdc9a70126c74fe2036de3eec6575942a6c542b3
[]
no_license
sathishkumarkandaswamy/water_project
44af709281348889f0c78a72b2a396422989e3b3
0b0f5a74189e2f08f3bc7222c46f3994149960de
refs/heads/master
2020-05-02T19:16:19.215882
2019-04-03T05:32:59
2019-04-03T05:32:59
178,154,676
0
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
from django.shortcuts import render from water_app.forms import WaterParameterForm from water_app.models import WaterParameter def index(request): data = 'Samples' sample_list = WaterParameter.objects.values('id', 'title', 'description') return render(request, 'water_app/index.html', {'data': data, 'samp...
[ "sathishkumar.kswamy@gmail.com" ]
sathishkumar.kswamy@gmail.com
51f4b150c71f47caec71513c3efe1e9d6f859d1e
2726f4f6a4121c1b36fad303ad0ee507aa813ad5
/dev/tries_checks/checks/WFalignment_FD.py
875197c10865167cbb66f40e856a92c42fa87595
[ "CC-BY-4.0" ]
permissive
stefanoschmidt1995/MLGW
3eb63a6682a241856f0485594231c907b2f23359
a786e9ce5845ba1f82980c5265307914c3c26e68
refs/heads/master
2023-09-04T04:59:06.392654
2023-08-29T15:56:23
2023-08-29T15:56:23
221,709,165
12
1
null
null
null
null
UTF-8
Python
false
false
2,982
py
import numpy as np import lal import lalsimulation as lalsim #export LAL_DATA_PATH=/home/stefano/Documents/Stefano/scuola/uni/tesi_magistrale/code/data_ROM/ def align_ph(wf): amp = np.abs(wf) ph = np.unwrap(np.angle(wf)) ph = ph - ph[0] return amp*np.exp(1j*ph) def generate_waveform(m1,m2): mtot = (m1+m2)*la...
[ "stefanoschmidt1995@gmail.com" ]
stefanoschmidt1995@gmail.com
2810cc60e0e0239a6ea7d016792eb16474eb9bca
e3f02b98701a11d8de2dbb495ef729bdd88189c2
/scripts/HebbNet.py
63c21b407c8df012059e48df5b43477f8ec6b5d9
[]
no_license
RoncoLuis/artificial_neural_net
a315068e70a2fac22555df5fa74fe7fb60512c5c
f389591a7244a1ebb744248a62b65d4bad4c8102
refs/heads/master
2020-09-06T20:04:02.787909
2019-12-28T00:54:03
2019-12-28T00:54:03
220,535,038
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
""" Neural net. Hebb Rule """ import numpy as np import pandas as pd import matplotlib.pyplot as plt def step_function(x): return 1 if x >= 0 else -1 def perceptron_output(weights,bias,x): calculation = np.dot(weights,x)+bias return step_function(calculation) #data = np.array([[-1,-1],[-1,1],[1,-1],[1,1]...
[ "w580ix@gmail.com" ]
w580ix@gmail.com
b84503e8fadbd67290f101438ea24c0504bcc8c3
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnn1082.py
b0521cb60dab8b5265b9ec49e215a86b7b79abea
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
64
py
ii = [('LeakWTI4.py', 1), ('MereHHB3.py', 1), ('MereHHB.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
756ad8f5d9df9d40b592c7ff7731514b9031114e
22b6eed87bc09bc93c78671b9afaae6c9ddd8b56
/ch09/treeExplore.py
3244543883bdee30332f1c679603e98f017e39de
[]
no_license
zraul/MachineLearningInAction
934a4b8ef1ab6c0b44fa16d7c55e96648a0faf1b
bef85c70474c6514074fa56c7f9071cc71b90a83
refs/heads/master
2018-09-10T21:24:08.805026
2018-06-21T07:30:14
2018-06-21T07:30:14
109,653,439
0
0
null
null
null
null
UTF-8
Python
false
false
2,373
py
# coding:utf-8 from numpy import * from Tkinter import * import regTrees import matplotlib matplotlib.use('TkAgg') from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg from matplotlib.figure import Figure def reDraw(tolS, tolN): reDraw.f.clf() # clear the figure reDraw.a = reDraw.f.add_subplot(...
[ "zhengraul@gmail.com" ]
zhengraul@gmail.com
e9a7fd41bb6fcba5efc5ace3e0c3518e0d32db7b
c3dc3a6d8a4619eec1ae4ca35d5422bd3b1824ad
/app/core/management/commands/wait_for_db.py
2474ab7c29a5130e52760c152f33d2e763bd41a1
[]
no_license
SadiqUltra/recipe-api
9aa196227f27f1f07df7e5c3cbd99297d6edd1cd
235f4f4dc671ce7739862925c28ef84730acb364
refs/heads/master
2023-02-17T00:46:27.858628
2021-01-08T21:01:07
2021-01-08T21:01:07
302,263,792
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
import time from django.db import connections from django.db.utils import OperationalError from django.core.management.base import BaseCommand class Command(BaseCommand): """Django command to pause execution until database is available""" def handle(self, *args, **options): self.stdout.write('Waitin...
[ "sadikultra@gmail.com" ]
sadikultra@gmail.com
fa288e2bda02e4f460a9e303967d5ad0abebc0cb
94b14f6498c1bbc11686414f36f93582d94060dd
/scripts/thesis-figs-jclim.py
e10b263a869fb2c3b181b844a3c36ee5ebaa16ab
[ "MIT" ]
permissive
jenfly/monsoon-onset
fe1f72ae3e5faccce158f7ea87609f8e0ecdca31
6d8651a337daa174960e716d378292452db77246
refs/heads/master
2021-01-18T23:55:55.044244
2017-09-01T19:48:42
2017-09-01T19:48:42
43,531,517
4
2
null
null
null
null
UTF-8
Python
false
false
32,097
py
import sys sys.path.append('/home/jwalker/dynamics/python/atmos-tools') sys.path.append('/home/jwalker/dynamics/python/atmos-read') import xarray as xray import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl import collections import pandas as pd import atmos as atm import indices import utils ...
[ "jenfly@gmail.com" ]
jenfly@gmail.com
f496cd962f255e71d69c6fa7b66ae0634ff97d06
2031771d8c226806a0b35c3579af990dd0747e64
/pyobjc-framework-GameplayKit/PyObjCTest/test_gknoise.py
d8d8bf40f182311383d8ad2cf7e5e9c0dbc42166
[ "MIT" ]
permissive
GreatFruitOmsk/pyobjc-mirror
a146b5363a5e39181f09761087fd854127c07c86
4f4cf0e4416ea67240633077e5665f5ed9724140
refs/heads/master
2018-12-22T12:38:52.382389
2018-11-12T09:54:18
2018-11-12T09:54:18
109,211,701
2
0
null
null
null
null
UTF-8
Python
false
false
312
py
from PyObjCTools.TestSupport import * import sys if sys.maxsize >= 2 ** 32: import GameplayKit class TestGKNoise (TestCase): def testMethods(self): self.assertArgIsBOOL(GameplayKit.GKNoise.remapValuesToTerracesWithPeaks_terracesInverted_, 1) if __name__ == "__main__": main()
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
c18f4b11de5933b4556a38ebe129b9bf836b1c3e
77c641fd0708b279dddbe01f6af32a8531b93185
/marketsim/gen/_out/_test/overloading/_hh.py
5783a61189e232f2e4fe892be8e84c6c05aa2234
[]
no_license
abensrhir/marketsimulator
aea286afd2bb2e0c8a547bfa879601aef21c0cd5
f9f55c72fb34cdbec42b96737ca20839f26c6299
refs/heads/master
2020-12-13T20:55:55.795344
2014-02-24T22:52:24
2014-02-24T22:52:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,220
py
from marketsim import registry from marketsim.gen._out._ifunction import IFunctionfloat from marketsim import context @registry.expose(["internal tests", "hh"]) class hh_(IFunctionfloat): """ """ def __init__(self): from marketsim import rtti rtti.check_fields(self) self.i...
[ "anton.kolotaev@gmail.com" ]
anton.kolotaev@gmail.com
862a90508c044108bbf00e519d7eccb9a8c34822
7e0e991dc44ed1bd4627821cc1f26d72e2f2caf6
/node_modules/utf-8-validate/build/config.gypi
b127854b91068e846adb41d14a9af2b6baa839ad
[ "MIT" ]
permissive
odino/react-native-codemotion
14f50e09c3dc20a9437d180dce7f506b5b7c7c64
4ae74296f178d6620a67b1b685b08199c4a009c8
refs/heads/master
2020-12-25T21:55:44.140336
2016-03-17T08:18:19
2016-03-17T08:19:10
53,743,685
0
0
null
null
null
null
UTF-8
Python
false
false
3,571
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "gas_version": "2.24", "host_arch": "x64", "icu_small": "fal...
[ "alessandro.nadalin@gmail.com" ]
alessandro.nadalin@gmail.com
a3e8c7a7db85606208894b677b93edc8a3676bfb
66236f42fa50c20bb5e302259d57af06027803a1
/fun_util.py
10b4214521999d974ab0533579428c44558a3249
[]
no_license
sauravkaushik8/Sign-Language
5eb8fe90c92155c8b5c35a9f09b131c03c2e1e94
438b75a2347cdfd1dff6f67ad438611b180841b9
refs/heads/master
2021-04-06T04:21:30.681822
2018-03-08T05:49:29
2018-03-08T05:49:29
124,418,935
0
1
null
2018-03-08T16:33:08
2018-03-08T16:33:08
null
UTF-8
Python
false
false
10,132
py
import cv2, pickle import numpy as np import tensorflow as tf from cnn_tf import cnn_model_fn import os import sqlite3, pyttsx3 from keras.models import load_model from threading import Thread engine = pyttsx3.init() engine.setProperty('rate', 150) os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' model = load_model('cnn_model...
[ "dibakarsaha1234@gmail.com" ]
dibakarsaha1234@gmail.com
0417966873101d007e1b61287289683ef4cf0d95
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/176/usersdata/268/95673/submittedfiles/funcoes1.py
c4843a0faedf2a2c409fff2928c28ecfd8e0d42d
[]
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
550
py
# -*- coding: utf-8 -*- def crescente (a): #escreva o código da função crescente aqui cont=0 for i in range(1,len(a)+1,1): if a[i] > a[i-1]: cont=cont+1 else: break if cont==len(a)-1: return(True) else: return(False) #escreva ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
4a6a14e3b94074f6ab68372f01161bebb682e5a4
fdd7a5e43c95d806d59e1f035958696938586142
/abc182/e.py
f21006ed7d92f595de95849a667766479df97e30
[]
no_license
AnDeriens/atcoder
beadd07eec86e933ad5a6f53006a374a99b1d5b8
fa6621b2441458dd4889680569ae253aa2a9764b
refs/heads/main
2023-07-07T21:27:38.547692
2021-08-14T03:55:14
2021-08-14T03:55:14
304,101,308
1
0
null
2021-07-18T06:51:40
2020-10-14T18:25:58
Python
UTF-8
Python
false
false
1,089
py
h, w, n, m = list(map(int, input().split())) denkyu = [()] * n chizu = [['.' for _ in range(w)] for _ in range(h)] ans_chizu = [['.' for _ in range(w)] for _ in range(h)] for i in range(n): x, y = list(map(int, input().split())) denkyu[i] = (x, y) for _ in range(m): x, y = list(map(int, input().split(...
[ "katsuya.ando496@gmail.com" ]
katsuya.ando496@gmail.com
b428b9059469e307dc8c124605968249006bff10
ef76f2d5cc7fa95f2670c79355ae8a3881209cd2
/main.py
5fad1c5532740db2e6f848b309f83c9d3f849050
[]
no_license
erfanmoghaddam/KakuroPuzzle
4a2c0039fec8e7597241482d3763c69cc31c26ba
579d29bcfbc623ec95ea0b6d0a29fe4958204835
refs/heads/main
2023-04-04T13:54:50.642194
2021-04-18T02:27:46
2021-04-18T02:27:46
343,030,656
0
0
null
null
null
null
UTF-8
Python
false
false
1,367
py
import sys from tkinter import Tk from Model.kakuro import KakuroRandomGame from Model.kakuro import KakuroCustomGame from View.kakuroUI import KakuroUI from View.login import main_account_screen MARGIN = 20 SIDE = 50 WIDTH = HEIGHT = MARGIN * 2 + SIDE * 9 if __name__ == '__main__': if len(sys.argv) != 2: ...
[ "noreply@github.com" ]
erfanmoghaddam.noreply@github.com
34f8525b93edf03f4a60ddccf6a1f187ff72a4c0
7e653f1ad58895dafb45704cebe15305440524cb
/copter_control_pkg/scripts/mission_realizer.py
d2354fbc31e6a357cbe639ad9a6537b16b0bfae9
[]
no_license
VladislavBakaev/copter_airsim_ros
2200c2e436db43168070bfcf6727d16915a6e2fc
98550eebb0138d667e8e8cf60abbf6d2507b9176
refs/heads/master
2023-08-23T07:45:55.743397
2021-10-18T08:44:36
2021-10-18T08:44:36
415,342,143
0
0
null
null
null
null
UTF-8
Python
false
false
2,570
py
#!/usr/bin/python3 import rospy import rospkg import os import re from airsim_ros_pkgs.srv import SetGPSPosition, Takeoff, SetLocalPosition, Land class MissionRealizer(): def __init__(self, mission_file, vehicle_name) -> None: self.mission_file = mission_file self.vehicle_name = vehicle_name ...
[ "bakaev.98@bk.ru" ]
bakaev.98@bk.ru
73ee5bc743792d7853071e8aaddc341684714daf
8077a99a3578c6486606a48e0d2adfa5ca7da244
/dogsvscats/src/models/resnet.py
7530b7675b73777b0d6cd18ea1fdcbc34f108a8e
[]
no_license
lovekesh-thakur/nnet_experiments
0f1b0395ca291fbbaacbb9849ff06734435ff4ab
1adb2bfe256db91ad9d8f9cc36b7cf2f08a4a1b7
refs/heads/main
2023-06-07T05:49:33.327626
2021-06-19T18:01:07
2021-06-19T18:01:07
343,152,049
0
0
null
null
null
null
UTF-8
Python
false
false
4,308
py
# resnet architecture here import torch from torch import nn from torch.nn import functional as F class Residual(nn.Module): """ Residual block in Resnet Architecture """ def __init__(self, input_channels, output_channels, downsample = False): """ Args: ----- ...
[ "love.aiesec@gmail.com" ]
love.aiesec@gmail.com
5f9894965d438460727d5f0e802821c2978f9d07
18d63fa314d8ca26042f69c086740a96039e6d3d
/3584/main.py
68ed7029890ec658cedfc93d25e0edc6672a9ddd
[]
no_license
AswinBlue/acmicpc
58df7ce0c1313eeff4412b9067c1a2bc185f7041
02d719395d047d5c070b969710f9bc35346218e8
refs/heads/master
2023-01-23T17:13:55.816676
2023-01-17T12:32:50
2023-01-18T13:38:04
225,577,167
0
0
null
null
null
null
UTF-8
Python
false
false
1,249
py
# https://www.acmicpc.net/problem/3584 # 가장 가까운 공통 조상 from sys import stdin, stdout MAX_N = 10000 T = int(stdin.readline()) for t in range(T): N = int(stdin.readline()) parent = [None for _ in range(N)] depth = [0 for _ in range(N)] # 간선 입력받음 for n in range(N-1): a, b = map(int, stdin.read...
[ "aswindblew@gmail.com" ]
aswindblew@gmail.com
33c3048b71874b62d0d4769e5907f4d68610b7b4
367ccdea467abe95ec510e70cdf47e951398f769
/daemon.py
25e95c4ae9a6a197424e4dfdfc0f9fe61cefcc74
[]
no_license
ecarrera72/aula-control
40d399ba278616d85f953d021a977677bae72913
aa4e3d20775a3dd42497702b9e518942009599c1
refs/heads/main
2023-07-11T15:04:55.025204
2021-08-23T19:59:41
2021-08-23T19:59:41
399,231,745
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
from time import sleep, strftime import json import os class daemon: def __init__(self) -> None: print( "{} Inicia Daemon".format( strftime( '%d-%m-%Y %X' ) ) ) path = os.path.dirname( __file__ ) with open( os.path.join( path, 'config.json' ), 'r' ) as file: config = json.load...
[ "ecarrera@aztektec.com.mx" ]
ecarrera@aztektec.com.mx
98d3c3fa9303411183aac498a527848057897958
2cd2c8b22fbb49a3365be2171834dffd671c31ba
/bbqudasite/migrations/0003_auto_20200915_1652.py
bf366290b4a9db986d305f11e619155d5364fb29
[]
no_license
0x305/bbquda_web
e570f983af8695858f34220e11ae1bb574b2de16
7dca277fff0311859493e073009457267ea437bd
refs/heads/master
2023-04-03T22:12:24.954927
2021-04-12T12:29:11
2021-04-12T12:29:11
295,261,336
1
3
null
2021-04-12T12:29:12
2020-09-14T00:11:22
HTML
UTF-8
Python
false
false
685
py
# Generated by Django 3.1.1 on 2020-09-15 16:52 import bbqudasite.models from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bbqudasite', '0002_auto_20200914_1733'), ] operations = [ migrations.AlterField( model_name='csvupload'...
[ "me@hackerrank.com" ]
me@hackerrank.com
bcab8414bbabc8f8f28964cda6b4c934df2d08fb
2429127550540dec33ed703f5056c9dd7af72a3c
/test26.py
8b96c91b42cceaa6106a51a5957bf51741915b6f
[]
no_license
hehe1004/FindCarNumber
c621001f999e2e076defefa232c3a368e500a7f4
249983c638b6cc001039f51361a2d864ef6cbf3f
refs/heads/main
2023-08-18T23:37:20.773435
2021-10-01T07:36:25
2021-10-01T07:36:25
412,371,381
0
0
null
null
null
null
UTF-8
Python
false
false
10,113
py
import cv2 import numpy as np import matplotlib.pyplot as plt import pytesseract plt.style.use('dark_background') img_ori = cv2.imread('1.jpg') height, width, channel = img_ori.shape plt.figure(figsize=(12, 10)) plt.imshow(img_ori, cmap='gray') # hsv = cv2.cvtColor(img_ori, cv2.COLOR_BGR2HSV) # gray =...
[ "noreply@github.com" ]
hehe1004.noreply@github.com
6cf42da48a3ef8cd2465928fc5fc1f8dc24b655a
859e1747ac5b29e2b0631475573f949d949942a8
/8_4/traffic_forwarding/client/client_config/config.py
091923115ca654fbe124d842a5fc62d84a7072d9
[]
no_license
ecjtu-liubin/flow_agent_system_Server
acc3b09218fd62469660b49ff4607d7219865b76
22e17bc0b1d905297ef5ec8c8e8e5844f9936563
refs/heads/master
2023-07-13T02:43:28.932757
2021-08-04T12:08:22
2021-08-04T12:08:22
389,484,880
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
# 配置文件 import os Server_Ip = [ '192.168.43.30', # 手机wlan '192.168.137.240', # tangjian Wlan ] Server_Port = [ 22222, 9999, 12345, 7890, 12813, 10086 ] Client_Ip = [ '192.168.43.30', ] Client_Port = [ 34812, 24374, ] BASE_DIR = os.path.abspath(os.path.join(os.getcwd(), "../..")) # 项目根目录 SERVER_...
[ "1475538083@qq..com" ]
1475538083@qq..com
84882c078ee6a5d711cee7e173f7d8e21cc6c518
292fd59011826c5471403cda2723885804fb76aa
/tuplas.py
f4f5a3a0b1de11bb81521a7e59a08eef62779d20
[]
no_license
francocoin1701/cursoPython_nivel15
3a42549e174677350438a4b12290c8f972410933
0b011e3cec1cbb5f046f57917a26b5df80a66965
refs/heads/master
2022-12-08T10:17:50.673062
2020-07-02T23:09:36
2020-07-02T23:09:36
276,762,068
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
#crear una tupla apartir de las tres dadas la tupla creada debera contener las mascotas mamiferos = ("tigre", "gato", "leon") aves = ("aguila", "buitre", "canario") reptiles = ("tortuga", "serpiente") mascotas = mamiferos[1:2] + aves[2:] + reptiles[:1] print(mascotas) print(aves[1])
[ "franco1231701@gmail.com" ]
franco1231701@gmail.com
6e4aefbfd1a8d898afce8ab5377f6238075a3968
04b1803adb6653ecb7cb827c4f4aa616afacf629
/content/app/DEPS
bd97c0a531f6732cbd614be590ff07eb91b9425d
[ "BSD-3-Clause" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
Python
false
false
433
include_rules = [ "+components/download", "+content", "+device/bluetooth", "+device/gamepad", # For loading V8's initial snapshot from external files. "+gin/public/isolate_holder.h", "+gin/public/snapshot_fd_data.h", "+gin/v8_initializer.h", "+services/network/public/cpp/features.h", "+services/trac...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
e7bf08bb88b45dd669b7d9f5d7985a49d41ab0a2
fb2156803dbcd96a594feb7f4e84076477247f62
/LeetCode/35. Search Insert Position.py
2e2e9c6055c43dbec65413c0953e5d3aa04ac192
[]
no_license
dynotw/Leetcode-Lintcode
dc9028cc6ffdeab9274d2c5771ca43a827014c16
b3d8534cdabd3b58fa13df457c65fb53ba37edd8
refs/heads/master
2022-07-26T21:34:50.221844
2022-07-12T12:58:23
2022-07-12T12:58:23
236,271,631
2
0
null
null
null
null
UTF-8
Python
false
false
845
py
# Question: # Given a sorted array and a target value, return the index if the target is found. # If not, return the index where it would be if it were inserted in order. # You may assume no duplicates in the array. # Answer: class Solution: def searchInsert(self, nums: List[int], target: int) -> int: ...
[ "noreply@github.com" ]
dynotw.noreply@github.com
6e789b8f8ce98360939f8cb4f3622d7a0cfa042d
1b02458400aaf667e1b4b67ec28bd519ecc1217d
/Zookeeper/Problems/Find even/task.py
4750ce1d656fc8ae800c3e31d78c530956ab03e7
[]
no_license
GeezFORCE/JetBrainsAcademy
f8b405f5c9cb7915a142fe7ef4fec278edd80a08
fbb4e6ff442f4c8ee5e13d3ce4f43884274589b4
refs/heads/master
2022-06-18T08:11:35.693219
2020-05-10T07:01:11
2020-05-10T07:01:11
261,398,997
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
n = int(input()) count = 2 while(count<n): print(count) count+=2
[ "girigov39@gmail.com" ]
girigov39@gmail.com
b3b28d40557b33eb2d00f07d9c79daae230d6e76
6202821cca2511e3e9cf2ca9aa7f9f95aebf5b71
/tests/qc/test_registration_qc.py
328fd947b52cbfc09218cad9cfd81334e58c7ce9
[ "BSD-2-Clause" ]
permissive
rhytnen/ophys_etl_pipelines
7bd02cf7bc84872f8935d30e14d1b85d9c3b894e
cd955c77fa528b84946fa12b3d162d975a2bde8f
refs/heads/main
2023-03-02T07:25:33.160923
2021-02-04T00:06:52
2021-02-04T00:06:52
336,043,371
0
0
NOASSERTION
2021-02-04T18:16:35
2021-02-04T18:16:34
null
UTF-8
Python
false
false
2,016
py
import pytest import h5py import numpy as np import pandas as pd from PIL import Image from pathlib import Path import ophys_etl.qc.registration_qc as rqc @pytest.fixture def rigid_motion_csv(tmp_path): df = pd.DataFrame({ "framenumber": [0, 1, 2, 3], "x": [1, 2, 1, -1], "y": [2, 3, -2, 1]...
[ "danielk@alleninstitute.org" ]
danielk@alleninstitute.org
8dd519fac20a6e2e73b278799231b60adf4a75a2
b4ca4f637207810de2e8030544f428efb946fbb8
/ex12_triangle1.py
981013c8586ad67f4326907a0b4700ea9ff28654
[]
no_license
eszkatya/test
8c617cdc876d207959f74afb195d2997ec4ff8f4
99e10b002bf7b1637e38126421d4064b974e0e76
refs/heads/master
2020-03-22T08:04:58.633374
2018-07-17T17:38:30
2018-07-17T17:38:30
139,743,420
0
1
null
null
null
null
UTF-8
Python
false
false
487
py
# Create a function that prints a triangle like this, use [userinput]: # * # ** # *** # **** # ***** # ****** # It should take a number as parameter that describes how many lines the triangle has userinput = int(input("pick a number!")) def haromszog(userinput): for i in range(1,(userinput...
[ "noreply@github.com" ]
eszkatya.noreply@github.com
15022d6d0e3c946200dab0d91fbf74466d1abd6b
e6e9086725fe4e8494c0b5b4e2738667fac3f180
/Task4/Program/module/LatexGenerator.py
8cf75696b20c40c57766743397c2faf39ccb024d
[ "MIT" ]
permissive
KKowalewski24/MUM
5c5f054f86d711feb0b3cf74b1a71ee7be5ce5b6
c70137e7646e33dd2c902d96ff8145e73ececc54
refs/heads/master
2023-05-14T07:57:56.590796
2021-06-08T12:42:09
2021-06-08T12:42:09
323,126,603
0
0
null
null
null
null
UTF-8
Python
false
false
8,390
py
import os from datetime import datetime from typing import Any, List, Union import pandas as pd class LatexItem: ampersand: str = " & " centering: str = "\centering\n" float_barrier: str = "\FloatBarrier\n" class Table(LatexItem): begin: str = "\\begin{table}[!htbp]\n" back_slashes: str = "\\\\...
[ "szamil24@gmail.com" ]
szamil24@gmail.com
d56e930b77ee750f872008c40687197a2a4370a3
835734b9bbe59130dd19cc0b921ae73ec65e9e28
/tests/sequence_problems/test_parsing.py
80afb3f9aab7ca84dc369e67acd989a85d413151
[ "MIT" ]
permissive
Vikdemen/RosalindPS
a588e76841692cffe2e3f45333b5875160e42e59
05cb3c2162e569bd92a99b9be127999cae1babf7
refs/heads/master
2022-04-09T18:49:28.885834
2020-03-06T22:11:17
2020-03-06T22:11:17
236,085,620
1
1
MIT
2020-03-02T02:03:13
2020-01-24T21:20:50
Python
UTF-8
Python
false
false
405
py
from rps.sequence_problems.parsing import parse_fasta def test_parse_fasta(): """ Checks proper parsing of fasta files :return: """ data = [">Tag1", "ATGC", "CGTA", "GGCC", ">Tag2", "ATGC", "AATT"] output = parse_fasta(data) output = [(line.sequence, line.tag) for line in output] expec...
[ "viktor.demen@gmail.com" ]
viktor.demen@gmail.com
f9f88e8a8f438d8d63664946a0b3c68b4e7a8d4b
20ace38b89c0ebaa0738753fcd11b0fdd4ed21cd
/pPb_2016_v0/tmp/src/HeavyIonsAnalysis/JetAnalysis/python/jets/akVsSoftDrop4PFJetSequence_pp_jec_cff.py
1b302118be177ed98c3da7ae5f015c542230a41c
[]
no_license
ssanders50/pPb_2016_v0
3c32c2920067a2f8a0a7a7fadba6225babf9a905
9fc4ae61cf4343c88ce6666f55c0738f963754a3
refs/heads/master
2020-12-12T16:30:41.253014
2020-02-14T21:51:17
2020-02-14T21:51:17
234,162,163
1
0
null
null
null
null
UTF-8
Python
false
false
15,546
py
import FWCore.ParameterSet.Config as cms from HeavyIonsAnalysis.JetAnalysis.patHeavyIonSequences_cff import patJetGenJetMatch, patJetPartonMatch, patJetCorrFactors, patJets from HeavyIonsAnalysis.JetAnalysis.inclusiveJetAnalyzer_cff import * from HeavyIonsAnalysis.JetAnalysis.bTaggers_cff import * from RecoJets.JetPr...
[ "ssanders@ku.edu" ]
ssanders@ku.edu
b3be429a1f8d1a07612b63664c3e0c402c550e8a
4ce08889139ca81493262787dafda54bfddfd7b1
/board/models.py
8277b494fbb5238473807affcbc0c4e0f269b326
[]
no_license
tawtas/messageBoard
ba12decea5ddc93bd8a3bb5e4237fd38d44c3ab9
ac37d84980e2bdc3f46f3aecec583fd26f07ba09
refs/heads/master
2020-04-25T11:36:13.792985
2019-02-26T16:34:31
2019-02-26T16:34:31
172,750,083
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Topic(models.Model):#Topic that useer can create and the link post # TODO: title = models.CharField(max_length = 500) class Post(models.Model): content = models.TextField() author = models.ForeignKey(Us...
[ "satwatmandal@gamil.com" ]
satwatmandal@gamil.com
f26a934b92e61e2b0d2f96559f1732201d136f3f
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/detection/Faster_Mask_RCNN_for_PyTorch/detectron2/solver/lr_scheduler.py
33965c3b19c53647ac11f1a7f0ae9fe0b9ef8884
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
4,746
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved # Copyright 2020 Huawei Technologies Co., Ltd # # 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....
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
fcf586e2cd46c0c5b1ad72b6d2d3a3b4c7e70c3c
63fc7db58cef6c10622ae963e2cf7d89ffc665fe
/coremltools/converters/mil/frontend/torch/test/test_torch_ops.py
62ab6998d058c9d420eb53289c667037aed6da07
[ "BSD-3-Clause" ]
permissive
lexmz/coremltools
c3498d3a79a00806881833c61d0ad80fd226ace2
908ad2add3753b6b57336d6c26821e7074b9f669
refs/heads/main
2023-08-31T19:02:57.904850
2021-11-04T16:39:09
2021-11-04T16:39:09
424,665,865
0
0
BSD-3-Clause
2021-11-04T16:33:17
2021-11-04T16:33:17
null
UTF-8
Python
false
false
106,924
py
# Copyright (c) 2020, Apple Inc. All rights reserved. # # Use of this source code is governed by a BSD-3-clause license that can be # found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause import sys import itertools import numpy as np from coremltools.models.utils import _python_version ...
[ "noreply@github.com" ]
lexmz.noreply@github.com
81119701667201237eeb496143a3ed5bdf2a5c9d
3f6ef41c31d7a1248645ea742c349d3e8fecf2cb
/encryption_server.py
ed86f7191b10c92aa49ec1158028fb02d16cfe83
[]
no_license
omersmoro/teacher_student_system
b94ec5b663a9141fa2731391631ec9306d7fd11d
1831809656f8f55026df79048dc8de11446537c0
refs/heads/master
2021-01-11T16:13:42.411237
2017-06-17T13:32:43
2017-06-17T13:32:43
80,042,491
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
from Crypto.Cipher import AES from Crypto.PublicKey import RSA import socket from Crypto import Random def main(): """ Add Documentation here """ my_socket = socket.socket() my_socket.bind(("127.0.0.1", 80)) my_socket.listen(1) client, address = my_socket.accept() ciphertext = client....
[ "omer.smorodinsky@gmail.com" ]
omer.smorodinsky@gmail.com
ded85cad6076ca226a4a37014efaff83d4a0dae9
0dc8439d58bba23606e98c839594236679e959e3
/core/models.py
6df7195c14bd126ac768b657651d2b45fc601df5
[]
no_license
araftery/cks-tour-management
29684edd221d6ba450199b8ed0c32abc41b7a52f
a8eeaf41ec87d6d45c60a8b7fcb64dcc3b64f441
refs/heads/master
2021-01-10T13:54:44.487490
2017-01-26T00:38:45
2017-01-26T00:38:45
48,933,805
0
0
null
null
null
null
UTF-8
Python
false
false
1,887
py
from django.core.exceptions import ValidationError from django.db import models from django.utils.translation import ugettext as _ from core.setting_validators import setting_validators class Setting(models.Model): name = models.CharField(max_length=500) value = models.CharField(max_length=500) descripti...
[ "andrewraftery@gmail.com" ]
andrewraftery@gmail.com
eb2aec7c6ddd7357232c9b1d439ea356b93350c5
a6069dd776bfff49cbb9cfcdae7c9d99622c4162
/setup.py
892747253b99db30ba13294c955656d889733735
[]
no_license
stigi99/gra
1ffac5a1b9f5290c2df3d61c0741a88ff6c814ca
9b6fc73ea7725fd0452e9f871ad3a42a93014dd0
refs/heads/master
2020-08-29T02:23:23.925942
2019-12-18T17:17:17
2019-12-18T17:17:17
217,892,731
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
import cx_Freeze executables = [cx_Freeze.Executable("gra.py")] cx_Freeze.setup( name="moja gra", options={"build_exe": {"packages":["pygame"], "include_files":["logo.png","paletka.png","tlo.jpeg"]}}, executables = executables )
[ "misiakmateusz@yahoo.com" ]
misiakmateusz@yahoo.com
d9051a06f4e2241c2b6a4335c2f17eb32a9bbbd7
786232b3c9eac87728cbf2b5c5636d7b6f10f807
/Leetcode/medium/39.py
c2f2d1b0da2e98ae021611c0136260e1c8c51c24
[]
no_license
luoyanhan/Algorithm-and-data-structure
c9ada2e123fae33826975665be37ca625940ddd4
fb42c3a193f58360f6b6f3b7d5d755cd6e80ad5b
refs/heads/master
2021-12-22T15:45:28.260386
2021-12-02T03:08:35
2021-12-02T03:08:35
251,007,078
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
class Solution: def combinationSum(self, candidates, target: int): candidates.sort() length = len(candidates) path = list() res = list() def dfs(start, resident): if resident == 0: res.append(path[:]) return for i in ra...
[ "luoyanhan@alphaleader.com" ]
luoyanhan@alphaleader.com
d00f9aa2b4866100b3c927b5fc41e5a741797343
70280955a5382d73e58395eba78c119a400f4ce7
/abc/135/1.py
7cf4a432a94666e9eaad356efba90fe8c4657220
[]
no_license
cohock13/atcoder
a7d0e26a10a4e58690347a2e36839c2f503a79ba
d268aa68fc96203eab94d021bd158cf84bdb00bc
refs/heads/master
2021-01-03T00:41:31.055553
2020-10-27T12:28:06
2020-10-27T12:28:06
239,839,477
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
def main(): A,B = map(int,input().split()) if ((A+B)/2)%1 != 0: print("IMPOSSIBLE") else: print(int((A+B)/2)) if __name__=="__main__": main()
[ "callout2690.gmail.com" ]
callout2690.gmail.com
069545c800034f388616e6c0cf982eca7b46a0b1
fddaeea72a9e437dae53ecd4fc061aea9ce16e30
/django-notes/django_project/django_learning/django_learning/settings.py
644f7dc4d633595574bb2d738f22c9db4f7c3f36
[]
no_license
coderliuhao/DataScienceBeginner
a36d950ba1465892081cfe39a6d4d4fcfb57829a
ed3e329ef8b2d43bed12ddead109f74375b925b3
refs/heads/main
2023-07-08T07:19:59.567318
2021-08-02T08:05:20
2021-08-02T08:05:20
312,614,915
1
0
null
null
null
null
UTF-8
Python
false
false
3,603
py
""" Django settings for django_learning project. Generated by 'django-admin startproject' using Django 3.1.2. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from...
[ "noreply@github.com" ]
coderliuhao.noreply@github.com
8556e14514798eb91ab62f518913a6d58c87ad87
2ec6e3f3dc5af9ebc57662a0506a2c4d9ab31b7b
/Task05.py
f054b61ce03c54904525f3694818eaea6586f3b5
[]
no_license
ivanlykhosherst/Pythonrapidtest
0c90a18989bf87fa724f78950d9c7fb3e83f88fd
7d62be2eaba163ae6317e42853575b5c493ad887
refs/heads/main
2023-07-04T10:17:58.856827
2021-08-04T19:38:12
2021-08-04T19:38:12
392,603,436
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
# Выведение первых n строк треугольника Паскаля. def printPascal(n): for line in range(1, n + 1): C = 1 # used to represent C(line, i) for i in range(1, line + 1): # The first value in a # line is always 1 print(C, end=" ") C = int(C * (line - i) / i...
[ "Lykhosherst@gmail.com" ]
Lykhosherst@gmail.com
824ea316894e03128bf365706456b1826ee2e214
c4b8e1e09dedbccd37ca008ecaaca4438610bbaf
/google_or_tools/traffic_lights_sat.py
b70b7800f00655fd11207106aa4b0dfc3f871cd6
[ "MIT" ]
permissive
hakank/hakank
4806598b98cb36dd51b24b0ab688f52dadfe9626
c337aaf8187f15dcdc4d5b09cd2ed0dbdb2e72c2
refs/heads/master
2023-08-15T00:21:52.750270
2023-07-27T16:21:40
2023-07-27T16:21:40
11,933,517
336
97
MIT
2023-07-27T11:19:42
2013-08-06T20:12:10
JavaScript
UTF-8
Python
false
false
4,113
py
# Copyright 2021 Hakan Kjellerstrand hakank@gmail.com # # 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 ...
[ "hakank@gmail.com" ]
hakank@gmail.com
71de948677a2d66466ca4b291df6c8e5dd7d63ee
458a57c889a14a364159dd1ac7831a57eee2111b
/utils.py
c3f568bdf2253a38f58433b3679ee2bbf8ef99b5
[]
no_license
Lihsayuri/Projeto1a-TecWeb
d6abdd68e2557a34b39bd85a86fdf7330ce29596
aa0c6282e45b2e02a714a0e18592d965cc9ce856
refs/heads/main
2023-08-10T00:33:57.715504
2021-09-12T17:13:36
2021-09-12T17:13:36
405,472,746
0
0
null
null
null
null
UTF-8
Python
false
false
3,489
py
import json from os import path from database import * def extract_route(requisicao): #exemplo: GET /img/logo-getit.png HTTP/1.1 #separa primeiro a partir do GET / if requisicao.startswith("GET /"): lista1 = requisicao.split("GET /") # Dessa separação o primeiro termo vai ser o GET /, e a ...
[ "liviasm1@al.insper.edu.br" ]
liviasm1@al.insper.edu.br
8eb7d50adbae676f772f6827f7c84d8bfecc0ec0
16e362038db128d69f82dabea09de00b1cc7d416
/core/admin.py
89ed347c98eea68a1667d3638066ec6e4bbdaab7
[]
no_license
rcdnb/loremipsumbackend
e838f533a081e32e115b09a85a508c27787cf584
57bd4a32d79c4b93a3a381f6b7a95c10df135203
refs/heads/master
2023-02-24T23:45:43.585516
2021-01-24T19:46:58
2021-01-24T19:46:58
332,110,911
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
from django.contrib import admin from .models import Projeto admin.site.register(Projeto) # Register your models here.
[ "ruan.cnbarros@gmail.com" ]
ruan.cnbarros@gmail.com
e6a9b27d4fc8a81bc9f2d8de2676004c4931ef9c
a4f8dee27d379764aee05780ebae455bce8d7340
/transaction/amount/migrations/0005_remove_spent_name.py
e70a66b6614358674050437492e15886fd052ecc
[]
no_license
Mayur26690/Transactions
c955188acf915ba3ae798539a669f8e662aba160
8bcc0e3a73b1ab2a8fbfa05c61732196b7637617
refs/heads/master
2021-01-01T04:23:30.998066
2017-07-19T04:13:10
2017-07-19T04:13:10
97,168,724
1
0
null
null
null
null
UTF-8
Python
false
false
389
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-07-18 23:27 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('amount', '0004_auto_20170713_2317'), ] operations = [ migrations.RemoveField( ...
[ "Mayur@Niravs-MacBook-Pro.local" ]
Mayur@Niravs-MacBook-Pro.local
73bc27a2b6f068eb640e1c8b4dd5a99a733b4a9b
70f2fde100207b9eab8833facf8f6e291495bc5c
/src/mdns_browser/agents/comms.py
6ae7ee35f48f46db9bbfaba5e01f14bd7c44fb5e
[]
no_license
jldupont/mdns-browser
5ca6b6414c07b62e390564892a9168f60e33f406
845851a954b4319b9b87def154eb709e970232d1
refs/heads/master
2016-09-09T22:12:25.684991
2012-04-21T17:09:44
2012-04-21T17:09:44
1,230,822
4
1
null
2013-02-19T14:55:19
2011-01-07T18:17:40
Python
UTF-8
Python
false
false
2,643
py
""" Comms Agent MESSAGES PROCESSED: - "__tick__" - "query" MESSAGES EMITTED: - "packet" @date: 2011-01-07 @author: jldupont """ _MDNS_ADDR = '224.0.0.251' _MDNS_PORT = 5353; _MAX_MSG_ABSOLUTE = 8972 _SELECT_TIMEOUT=0.5 import socket import select from mdns_browser.s...
[ "github@jldupont.com" ]
github@jldupont.com
214b48c799475713810c0520b6dd6b4ff5350818
02563d2825d1dbf82b3b7e7fff3265814cf02338
/api/complejo/serializers.py
a708d54051165af812b5e58a050abb14469d06bc
[]
no_license
hatsem78/natagua
e9bc4d15f5385e48dc08487e118e25694c1c1159
150966143fdd56aba474ca01ebb43a21e75f71be
refs/heads/master
2023-03-04T14:38:42.933083
2021-05-19T13:30:50
2021-05-19T13:30:50
187,080,249
2
0
null
2022-12-09T02:47:35
2019-05-16T18:22:10
JavaScript
UTF-8
Python
false
false
2,072
py
from rest_framework.response import Response from rest_framework.views import APIView from rest_framework.pagination import PageNumberPagination from rest_framework import generics, serializers from app_natagua.models import Complejo class ComplejoPagSerializer(serializers.Serializer): class Meta: model ...
[ "ohatsembiller@kiusys.com" ]
ohatsembiller@kiusys.com
277cd7ab0521984adf29cef8e2141744d1ebee3b
0e8518907f1eadfc2725c36038108daec17744e0
/lib/cogs/help.py
ac04132a38f24f9e7c4b8005a98c14208fc10754
[]
no_license
NamitS27/NZEC-Bot
6188c0f5dd3319b1ce66cf9263c85ac96ec02674
11768f70b29fe02199bd2586954c91be828ed565
refs/heads/master
2023-02-22T14:08:33.831297
2021-01-20T03:13:56
2021-01-20T03:13:56
324,370,393
1
0
null
null
null
null
UTF-8
Python
false
false
2,796
py
from typing import Optional from discord import Embed from discord.utils import get from discord.ext.menus import MenuPages, ListPageSource from discord.ext.commands import Cog from discord.ext.commands import command def syntax(command): cmd_and_aliases = "|".join([str(command), *command.aliases]) params = [] f...
[ "namit.s@ahduni.edu.in" ]
namit.s@ahduni.edu.in
3a44b375f311fef2f46d4257c911f1685ceea2b7
bc6492a9a30ac7228caad91643d58653b49ab9e3
/sympy/physics/quantum/density.py
46520bc81aa4e43887fdfe199fe4ad6471d4caa2
[]
no_license
cosmosZhou/sagemath
2c54ea04868882340c7ef981b7f499fb205095c9
0608b946174e86182c6d35d126cd89d819d1d0b8
refs/heads/master
2023-01-06T07:31:37.546716
2020-11-12T06:39:22
2020-11-12T06:39:22
311,177,322
1
0
null
2020-11-12T06:09:11
2020-11-08T23:42:40
Python
UTF-8
Python
false
false
10,163
py
from __future__ import print_function, division from itertools import product from sympy import Tuple, Add, Mul, Matrix, log, expand, Rational from sympy.core.trace import Tr from sympy.printing.pretty.stringpict import prettyForm from sympy.physics.quantum.dagger import Dagger from sympy.physics.quantum.oper...
[ "74498494@qq.com" ]
74498494@qq.com
95169e3bc64ea480bf42ee41a866d3671ac91f52
20eff49a6c45b7c2877df0f530133b512a5d55e9
/18429 근손실 실버3.py
426f6a2473839db83bc7988c4c09820d78c34333
[]
no_license
mintai09/BAEKJOON
b4fb0ec7fa5964c2a965c3da1cc86ef5383db6ce
ba6a738de1956fd7fb790e4203eef1c19aac684c
refs/heads/master
2023-02-19T16:07:02.268823
2021-01-19T13:07:25
2021-01-19T13:07:25
330,980,300
0
1
null
null
null
null
UTF-8
Python
false
false
356
py
import sys N,K = map(int,input().split()) A = list(map(int,input().split())) result = 0 def dfs(cnt,v,e): global result if cnt == N: result += 1 for i in range(N): if i not in v and e - K + A[i] >= 500: temp = v + [i] dfs(cnt+1,temp,e - K + A[i]) ...
[ "mintai09@gmail.com" ]
mintai09@gmail.com
cd8c9e0f263a8f21d2565174911ab21daa613636
11b15acefe68d70b2f4c1b8468804352e87ddf4a
/test/test_segment_tree.py
aa6655054536d5edc8cabf09211e6ab3d0cbde94
[]
no_license
chenhaocmk/data_structure
2f9b772a6224e1b3063ba0096b5ceb948c45e5f7
29cb46fa347452e0d4a7d44bade36f0711e1429b
refs/heads/master
2020-03-16T05:47:49.917465
2018-05-16T16:07:36
2018-05-16T16:07:36
132,540,690
0
0
null
2018-05-16T16:07:37
2018-05-08T02:10:41
Python
UTF-8
Python
false
false
411
py
from src.segment_tree import SegmentTree from util.visualizer import print_tree tree = SegmentTree(list(range(21))) print_tree(tree.root, lambda x: [y for y in (x.left, x.right)] if x else []) print(tree.get_sum(0, 0)) print(tree.get_sum(0, 1)) print(tree.get_sum(5, 20)) print(tree.get_sum(1, 20)) print('\n') tree...
[ "chenhao_ch@outlook.com" ]
chenhao_ch@outlook.com
2416f40e5653e4adfdb5d75d394d1fbc5238f04e
e8de20423ed1c4d057885719ff90797a6081e25b
/rentals/management/commands/calculate.py
f16d6a387863d0674c5d24de542d0b1ff4f99d09
[]
no_license
po5i/test__stackbuilders
8d88c251a5f0190d79739c219c900531959caf43
b97bdd698a382421ae1fc083d17d45dd3865c9be
refs/heads/master
2021-09-01T21:56:58.100891
2017-12-28T20:57:52
2017-12-28T20:57:52
114,693,915
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
from django.core.management.base import BaseCommand, CommandError from rentals.models import * import json import datetime class Command(BaseCommand): help = 'Usage example: python manage.py calculate \'{"rentDates":["2017-11-19T05:00:00.000Z","2017-11-20T05:00:00.000Z","2017-11-21T05:00:00.000Z"],"car":{"model":...
[ "carlos.po5i@gmail.com" ]
carlos.po5i@gmail.com
6114aa1f623aa605138002084a9deeccae1e460e
b13353af6fa84b560d0844a0b1e4a2a86f9103e9
/assign3/KNN_Classifier.py
67038bfd1899e4253c04250035782ff04656dcf4
[]
no_license
AadityaDeshpande/LP3
71866f1b766d8e5727423f45d98fc5412d22910f
741dde3b267d748703dc0e7bfe37f1a6d11f7e1b
refs/heads/master
2020-11-26T04:48:59.496838
2020-04-03T16:40:42
2020-04-03T16:40:42
228,967,812
1
0
null
null
null
null
UTF-8
Python
false
false
876
py
import pandas import numpy as np import matplotlib.pyplot as plt from sklearn.neighbors import KNeighborsClassifier p1=[2,4] p2=[4,2] p3=[4,4] p4=[4,6] p5=[6,2] p6=[6,4] x=[p1,p2,p3,p4,p5,p6] y=[0,0,1,0,1,0] # 0 for orange and 1 for blue classifier=KNeighborsClassifier(n_neighbors=3,p=2, metric='minkowski') classifi...
[ "noreply@github.com" ]
AadityaDeshpande.noreply@github.com
628717c20363b27b345cd44c1ecd110d42795a72
60d783b91fd2926ac1d9c231669f1fdbb8fdf192
/backend/post/admin.py
1242b8c0ebb64d35b842402b79126229b327d52a
[]
no_license
tanmaypardeshi/Ocean
e9fc9a68f326755b349d92d3ce21056af1a6eae5
ce4b88e4476a0e00e3a75c309bf1a5da23a42f02
refs/heads/master
2023-04-15T18:23:15.321061
2021-04-27T06:29:28
2021-04-27T06:29:28
293,098,502
3
0
null
null
null
null
UTF-8
Python
false
false
327
py
from django.contrib import admin from .models import Post, Tag, Like, Comment, Delete @admin.register(Post) class PostAdmin(admin.ModelAdmin): list_display = ['author', 'title'] ordering = ['published_at'] admin.site.register(Tag) admin.site.register(Like) admin.site.register(Comment) admin.site.register(De...
[ "tanmaypardeshi@gmail.com" ]
tanmaypardeshi@gmail.com
fa8d990ae169ae8c132890e137da7d2498437a79
f870df1a117575bc0aef6e9796c912531347061c
/src/restaurants/migrations/0008_remove_restaurantlocation_my_date_field.py
8d22f838faca496c2910740ef7bf7b0841d08197
[]
no_license
PatrykJanMatlak/django-test
c39af7795abfc064264cf1b9742ee84a097917e6
ab434c39d950114feee91e39e798db40fa5cdb0e
refs/heads/master
2020-03-21T01:13:14.005746
2018-07-09T14:00:41
2018-07-09T14:00:41
137,930,276
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2018-06-30 10:37 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('restaurants', '0007_restaurantlocation_slug'), ] operations = [ migrations.RemoveFi...
[ "patrykjan.matlak@gmail.com" ]
patrykjan.matlak@gmail.com
a1ddfdacb1ec66499586b96730492508a864f4ae
4c3ce2d2c1bbf0f054fba369b1dc5c51f8ff6663
/portfolio-1/personal_portfolio/hello_world/views.py
cf57db26d237ebf4a5b6ae72bcefa9247e678ada
[]
no_license
pulkitkinra01/DjangoPracticeCodes
39061adc25e7dd90e986e885fa145fda0d54d7af
2677659a3c53204eef45f05a39848dbb1ca26935
refs/heads/master
2023-02-13T04:13:15.512398
2020-12-29T22:56:22
2020-12-29T22:56:22
325,404,309
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
from django.shortcuts import render # Create your views here. # from django.shortcuts import render def hello_world(request): return render(request, 'hello_world.html', {})
[ "" ]
84cd9e7aa90a30f967d5a07b5421710e52d454f7
27cb9cc771ffa02c4f7e12dcd4688e311c63aace
/fairseq/data/truncate_dataset.py
32e47ee91bd10a54ca27eb08d46fb0f5e731e0c3
[ "MIT" ]
permissive
periclesmiranda/TSPNet
78aee61a4e4497ae82b1bb6731a6edd6230720cd
8f71315486c78b540382ef6420eab5441333bcda
refs/heads/main
2023-07-19T16:06:48.169045
2021-09-10T15:08:36
2021-09-10T15:08:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import numpy as np from . import BaseWrapperDataset class TruncateDataset(BaseWrapperDataset): def __init__(self, dataset,...
[ "chenchen.xu@anu.edu.au" ]
chenchen.xu@anu.edu.au
7a591f0bde3ee8e3a8d458e8e79f981b9b842aa8
7c98e8d730d6741b987adb7f0f950fa3f22ce8e7
/dm_tools/linked_lists.py
56d79adf0bbdea947b82a2c09bb9c24a0e0ad813
[ "MIT" ]
permissive
sjsafranek/dm_tools
e68d85bd30e4b14b64a292d2802ca2751d24859d
10a48d5c6b50428221a445d4f2eeeb060898dcfe
refs/heads/master
2020-03-20T15:20:34.622179
2018-11-23T05:11:11
2018-11-23T05:11:11
137,510,621
1
1
null
null
null
null
UTF-8
Python
false
false
5,578
py
# https://stonesoupprogramming.com/2017/05/21/circular-linked-list-python/ from enum import Enum class NodeConstants(Enum): FRONT_NODE = 1 class Node: def __init__(self, element=None, next_node=None): self.element = element self.next_node = next_node def __str__(self): if self....
[ "stefan@stefan.stefan" ]
stefan@stefan.stefan
cd252c1cfc259525e8424c5377f0780794ff1749
7c68d5b5d143354bf16cd545c32c6ed6ab7617f1
/squad_spacy/bert_ner.py
59a0a97fa511f5fec6714fd2f3ad905b54ff0006
[]
no_license
Minniemu/keyword_squad_spacy
fbf2fa07abf370f7286a77b9a4a5ac96e411a872
eea41a6dff4ac7cb2833a96e8adca6b24efed897
refs/heads/main
2023-05-01T09:35:02.063194
2021-04-11T13:55:59
2021-04-11T13:55:59
350,987,303
0
0
null
null
null
null
UTF-8
Python
false
false
10,538
py
import pandas as pd import numpy as np from tqdm import tqdm, trange data = pd.read_csv("result2.csv", encoding="latin1").fillna(method="ffill") print(data.tail(10)) class SentenceGetter(object): def __init__(self, data): self.n_sent = 1 self.data = data self.empty = False ...
[ "noreply@github.com" ]
Minniemu.noreply@github.com
0aabe34c8e6843ec5789123f7adb7a8afdf574e2
1388bcd6de659ffefe97e7e6c2aee685b5e7c534
/stubs/stubs/MhkCosts.pyi
7f7163efa25350bd30c0c898018843d33808d350
[ "BSD-3-Clause" ]
permissive
BRIK-Engenharia/pysam
a7b4b543131043510023a5c17b057ead0b39d440
2a4115f34419edf9776b0bbc7b3f453c958ce734
refs/heads/master
2022-12-06T05:15:35.364375
2020-09-03T22:59:17
2020-09-03T22:59:17
297,958,820
1
0
BSD-3-Clause
2020-09-23T12:13:32
2020-09-23T12:13:32
null
UTF-8
Python
false
false
2,719
pyi
class MHKCosts(object): def assign(self): pass def export(self) -> Dict[Dict]: pass def __init__(self, *args, **kwargs): pass array_cable_system_cost_input = float array_cable_system_cost_method = float assembly_and_install_cost_input = float assembly_and_install_cost_method = float development_cost...
[ "dguittet@nrel.gov" ]
dguittet@nrel.gov
1f0c1850396ad5ec47107e564098ddbe2ef1e74d
e80fcfff6ce24716c4eb0588b8ab0df9aae25cdf
/Robots.py
6fb7aa799239f2773a7eb648b7ca4e378edb028c
[]
no_license
sdl1/robots
da3ff62d540e91aedb9f31269284aeb6293194aa
ae9dd6ce9ab31b1981c8d4347dea6d1b16d89162
refs/heads/master
2021-01-19T10:58:16.049137
2017-02-16T21:33:59
2017-02-16T21:33:59
82,224,826
1
0
null
null
null
null
UTF-8
Python
false
false
3,957
py
from Sprites import Sprite, Missile from Vector import Vec2d import Move import math import random class Teams: BLUE = 0 RED = 1 GREEN = 2 ORANGE = 3 Name = [ "BLUE", "RED", "GREEN", "ORANGE" ] RGB = [ [0,0,1], [1,0,0], [0,0.6,0], [1,0.5,0] ] num = len(Name) class RobotState: def __init__(self, robot=...
[ "s.lovett7@gmail.com" ]
s.lovett7@gmail.com
4a88fb8002e8e6cd2089fc2ddb41e462177f2426
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/content/course_overviews/signals.py
336724002a3625c2068016e8daaa0ca879009d50
[ "AGPL-3.0-only", "AGPL-3.0-or-later", "MIT" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
4,198
py
""" Signal handler for invalidating cached course overviews """ import logging from django.dispatch import Signal from django.dispatch.dispatcher import receiver from openedx.core.djangoapps.signals.signals import COURSE_CERT_DATE_CHANGE from xmodule.modulestore.django import SignalHandler from .models import Cour...
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
aefb182162c8052fcdf262e269fe29c0d49373e5
db6489b122ce1853636b77dc2fee9f3a02ffbf5f
/blog/forms.py
d93751988f8e0ad9052d6adb9b35db6db3dec3e9
[]
no_license
anamife/Blog_one
75566115bc3ac71ddaaef4beca8ed4dd637085f9
7acc27f0473bee196c1268e5d595fef00653efdb
refs/heads/master
2022-04-17T03:36:26.083785
2020-04-15T12:40:20
2020-04-15T12:40:20
255,912,555
0
0
null
null
null
null
UTF-8
Python
false
false
1,258
py
from django import forms from .models import Tag, Post, Comment from django.core.exceptions import ValidationError class TagForm(forms.ModelForm): class Meta: model = Tag fields = ['title', 'slug'] widgets = { 'title':forms.TextInput(attrs={'class':'form-control'}), 'slug':forms.TextInput(attrs={'class'...
[ "nastya_feshcenko@mail.ru" ]
nastya_feshcenko@mail.ru