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
4c30c0dd5a347c57e42d14de6205682da94a44cf
45670a96e4411af073676504c6eb4f0f0eefc1ec
/EquaOpenCV.py
408aa82596a7586c40f1865902c2e0803a20d9a9
[ "MIT" ]
permissive
andresgmz/Scripts-Python
c61d86c0e1ed37f53c5552958b543f2c66294af7
1f56e5790dc9c38d9bbf5dc040ead45a8f3ca937
refs/heads/main
2023-03-22T16:53:36.086794
2021-03-10T00:26:22
2021-03-10T00:26:22
335,092,146
0
0
null
null
null
null
UTF-8
Python
false
false
2,068
py
import cv2 import numpy as np import matplotlib.pyplot as plt #from matplotlib import pyplot as plt from tkinter import filedialog from tkinter import * root = Tk() root.withdraw() root.filename = filedialog.askopenfilename(initialdir = "/",title = "Select file",filetypes = (("all files",".*"),("jpg files"...
[ "andres.gomez.bravo@correounivalle.edu.co" ]
andres.gomez.bravo@correounivalle.edu.co
26455f7f887f002a25abe4aae6cbde984a2d68c6
17381d148b86fc4354d1ac0e4062a35215eafd09
/paiza/C062.py
d97af758a417b3e2440ff2a2c8de5acb6614538a
[]
no_license
worldyone/workspace
027a93e1f227eb1c10485f6f2082a92bd98710d5
1e3fa21e23d6e91268882c9e480b76c4a3c4920f
refs/heads/master
2023-03-09T01:21:53.402440
2022-09-20T14:47:49
2022-09-20T14:47:49
174,147,113
0
1
null
2023-02-10T22:53:26
2019-03-06T13:07:08
Python
UTF-8
Python
false
false
195
py
cnt = 0 rcnt = 0 m = "melon" T = int(input()) for t in range(T): sushi = input() rcnt -= 1 if sushi == m and rcnt <= 0: cnt += 1 rcnt = 11 print(cnt)
[ "amanohikari142857@gmail.com" ]
amanohikari142857@gmail.com
dbcecb5f9e5598e0d6e09537de9e805f9f605cd3
2a091ed8c488c9cf4ca410da54021ee162611443
/src/manage.py
55e619a6691c140cb28453897121dda8279fecfe
[]
no_license
abdulazizashurov/image-classification
4f6217f3d8798b8a7cff910677cc12c5d67c607e
fa37abb55f3f154ecaba1eaaf5531d4136237c00
refs/heads/main
2023-06-01T15:15:37.213044
2021-06-15T12:56:48
2021-06-15T12:56:48
377,142,812
1
0
null
null
null
null
UTF-8
Python
false
false
665
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'whatimage.settings') try: from django.core.management import execute_from_command_line except Im...
[ "abdulazizashurov@MacBook-Pro-Abdulaziz.local" ]
abdulazizashurov@MacBook-Pro-Abdulaziz.local
e8557c723ca8e95271cf1129f853ab38a0684047
123344bdeb4be2086e9eb88640f5f079b42a142c
/app.py
dde447b28afa5fa0df2d56814daea05495b31c32
[]
no_license
Deelacole2/Mission-to-Mars
71e3b300a5f3f7e3ffba707082c9d217dbe3ee96
84e2f069fc376da5a483a368008ce19086e0440e
refs/heads/main
2023-03-06T08:08:53.509132
2021-02-24T01:32:00
2021-02-24T01:32:00
339,190,213
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
from flask import Flask, render_template, redirect from flask_pymongo import PyMongo from splinter import Browser import scraping app = Flask(__name__) # Use flask_pymongo to set up mongo connection app.config["MONGO_URI"] = "mongodb://localhost:27017/mars_app" mongo = PyMongo(app) @app.route("/") def index(): ...
[ "rogers.d.207@gmail.com" ]
rogers.d.207@gmail.com
dfd5ae9b430eb29f110dfdbb776162e391f51464
a9fb35f21d1e53b4504ec0e9a00c48753e1a4713
/mape/multiagent/scenarios/simple_trajectory.py
5bcdbfff4105acdd535c6e9080638ec10b678491
[ "MIT" ]
permissive
Ankur-Deka/Actor-Residual-Critic
a5043c7dbc5d555cd5bff50b08f07cee43c03290
af1684b2461689d86223392843a23dd735a20862
refs/heads/master
2023-07-27T04:04:27.247502
2021-08-23T20:49:41
2021-08-23T20:49:41
379,146,451
0
0
null
null
null
null
UTF-8
Python
false
false
8,766
py
import numpy as np from multiagent.core import World, Agent, Landmark from multiagent.scenario import BaseScenario from scipy.optimize import linear_sum_assignment import inspect class Scenario(BaseScenario): def __init__(self, num_agents=3, dist_threshold=0.2, arena_size=1, identity_size=0, num_steps=100, diff_re...
[ "ankur.deka@iitg.ac.in" ]
ankur.deka@iitg.ac.in
d18a1393e573de44b9673ab63a566bbcb5a9eb59
9feeb0bceecd3103a66feda952ba80656c6823ac
/parking/parking/urls.py
2f26e21b23d95a00e8f4e4d58667a7e7ea405f46
[]
no_license
shaswatsunny1998/smart-vehicle-parking
15e6fd9f2ca6328e46c3fc3ea4a782bc5f415c5e
a7eb6fcdeaf1cb490375462e2584160fd7f0d1f9
refs/heads/master
2020-07-10T18:15:00.353543
2019-08-25T18:23:31
2019-08-25T18:23:31
204,332,924
0
1
null
2019-10-01T18:14:12
2019-08-25T18:19:26
CSS
UTF-8
Python
false
false
1,622
py
"""parking URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "shaswatsunny1998@gmail.com" ]
shaswatsunny1998@gmail.com
7b5f4303ef58634df3f1b033769fbb877fdb82f5
5c992eef5b4a39e7a2522fc0159e0db7e9660d0b
/backend/migrations/versions/4bba7593ce8e_add_channel_table.py
8ec5cda7645c7c4f763d8835d43737840ed5a588
[ "Apache-2.0" ]
permissive
ClassesOver/Stories
3fa628d7a25abb0af97444346c7bbad916d67e2b
419eb30b1afe053772be5e3e65b0cd1038eb0c81
refs/heads/main
2023-03-15T17:16:30.412294
2021-03-12T05:49:06
2021-03-12T05:49:06
313,478,604
1
0
Apache-2.0
2021-03-12T05:49:07
2020-11-17T01:56:20
TypeScript
UTF-8
Python
false
false
1,671
py
"""add channel table Revision ID: 4bba7593ce8e Revises: d2f3d6010615 Create Date: 2020-12-25 11:34:21.721511 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '4bba7593ce8e' down_revision = 'd2f3d6010615' branch_labels = None depends_on = None def upgrade(): ...
[ "xiangjun.zhao@hand-china.com" ]
xiangjun.zhao@hand-china.com
8361438a1cee72c2f72855173f80fe01740cc2d8
6ab9a3229719f457e4883f8b9c5f1d4c7b349362
/leetcode/00007_reverse_integer.py
9db0a0e2296e3e0688f687c37ad5b73c6f853dd8
[]
no_license
ajmarin/coding
77c91ee760b3af34db7c45c64f90b23f6f5def16
8af901372ade9d3d913f69b1532df36fc9461603
refs/heads/master
2022-01-26T09:54:38.068385
2022-01-09T11:26:30
2022-01-09T11:26:30
2,166,262
33
15
null
null
null
null
UTF-8
Python
false
false
311
py
class Solution: def reverse(self, x: int) -> int: negative = x < 0 x = -x if negative else x res = 0 while x: res = res * 10 + (x % 10) x = x // 10 res = -res if negative else res return res if -2**31 <= res and res <= 2**31 - 1 else 0
[ "mistermarin@gmail.com" ]
mistermarin@gmail.com
12622690a845c89646fbc910f9bb47d9838151f6
065e03ebd9674a8455b37e19bb8f49b5aaf53e53
/env/Scripts/easy_install-3.4-script.py
6d58c29589aeba5afc0a1fa706c27db5253a61db
[]
no_license
c0o1er/project1
ce4f169bf3629122f812661447e07b3012fda92f
9de1c25c3a217604e1e23fa3266ef8baa4e2c6de
refs/heads/master
2021-01-20T02:18:58.505331
2015-01-23T16:50:16
2015-01-23T16:50:16
29,742,279
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
#!C:\py\project1\env\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==5.7','console_scripts','easy_install-3.4' __requires__ = 'setuptools==5.7' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('setuptools==5.7', 'console_scripts', 'eas...
[ "c0o1er@yandex.ru" ]
c0o1er@yandex.ru
6d1c82a577174ba581dfefe9fd5878004cf1c33d
05ae2d651e6adbc4cfea04e2ab8a93c0a9e23aff
/core/roof/roof_props.py
d077cb45445b4acd8b5534a71210700108775101
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
thunderpwn/building_tool
932087b2415607b41d3da374da1eb2d5e10dbb3d
5aa4a476f93ae1b8fd8240439b3272d8cf33a0b1
refs/heads/master
2022-04-12T18:59:47.373480
2020-04-11T11:31:24
2020-04-11T11:31:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,963
py
import bpy from bpy.props import EnumProperty, FloatProperty, BoolProperty class RoofProperty(bpy.types.PropertyGroup): roof_items = [ ("FLAT", "Flat", "", 0), ("GABLE", "Gable", "", 1), ("HIP", "Hip", "", 2), ] type: EnumProperty( name="Roof Type", items=roof_items...
[ "karanjaichungwa@gmail.com" ]
karanjaichungwa@gmail.com
5b2f84b1db43fd979317f085fd2c94ea27df9706
45880503dade0db4e90d65b433a6de75bde459e3
/webshop/app.py
f1d612b92a8d14cd1a0538ff4102e0bd547ece72
[]
no_license
Alone2/informatikWebshop
4111d3f3dd433db6e1f3c12a29472e22459b9a2d
8313a49952467c7ee5a9b2482b998456d95dd8a3
refs/heads/master
2023-05-12T17:27:33.807042
2020-09-04T12:41:12
2020-09-04T12:41:12
275,103,911
0
0
null
2023-05-01T21:48:22
2020-06-26T08:00:22
Python
UTF-8
Python
false
false
5,349
py
from flask import Flask, url_for, abort, render_template, session, request, redirect, Response import drinksdatabase import time import sys import drinkshtml import user import random app = Flask(__name__) app.secret_key = "87zihkjnl" db = None CATEGORIES = None @app.route("/", methods=["GET"]) def home(): logged...
[ "alain.sinzig@gmail.com" ]
alain.sinzig@gmail.com
2bc5c3b7f00dfa38d5f5b217488400d7f88be85b
91ef6ab9391c7c78981b6a36a7daa47b48ac582a
/neupy/algorithms/steps/errdiff.py
fec7e685f5e29365892da5ffeead35a2bc97f9a2
[ "MIT" ]
permissive
stczhc/neupy
f89505011d78b7ade5800b51057c4c1370dea83a
de09f5abd6667824f14806709de2afa1ac5daa09
refs/heads/master
2020-12-07T00:45:07.445414
2016-06-11T19:00:33
2016-06-11T19:00:33
58,636,539
0
1
null
2016-05-12T11:42:01
2016-05-12T11:42:01
null
UTF-8
Python
false
false
2,809
py
import theano from theano.ifelse import ifelse import numpy as np from neupy.core.properties import (BoundedProperty, ProperFractionProperty) from .base import SingleStepConfigurable __all__ = ('ErrDiffStepUpdate',) class ErrDiffStepUpdate(SingleStepConfigurable): """ This al...
[ "mail@itdxer.com" ]
mail@itdxer.com
6704276cc39ff1540758eb4f1f528e233bc1d334
13a59e873d1d430d0ae4277d0e18abcce16e6555
/Python/NumPy-Common-Code-Examples.py
204375956ff25788b2bc1ff949947c4ec80de62e
[ "MIT" ]
permissive
sethmh82/SethDevelopment
2dde8d779b50fa0fb9b99384ab37cb03547f595a
08f3bd22923b652f9d676ffa2af3dc037eed6d73
refs/heads/main
2023-02-18T15:19:06.172872
2021-01-20T20:49:49
2021-01-20T20:49:49
323,753,142
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
# -*- coding: utf-8 -*- """ Created on Wed Dec 30 11:24:29 2020 @author: SethHarden NumPy PYTHON CODE EXAMPLES NumPy is used to work with Arrays NumPy arrays are stored at one continuous place in memory unlike lists, so processes can access and manipulate them very efficiently. This behavior is called locality of ...
[ "seth@statisticbrain.com" ]
seth@statisticbrain.com
115c51fd9c556204dad65f7c1306b41270e698eb
d8e102cd238c2ab5ba61941d18c63c68fcd622b1
/2_import/39_vista.py
eb1ef88c96a3b68ac159a7ee4249be1b552032c5
[ "MIT" ]
permissive
wanliu2019/SCREEN
23ab91535d8c8951f39ed3794b1b4ca2d2393e98
273c855a8c9d725dddfee4a15f0a586569a93d54
refs/heads/master
2022-12-27T00:58:51.125421
2020-10-20T13:31:19
2020-10-20T13:31:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,066
py
#!/usr/bin/env python2 # SPDX-License-Identifier: MIT # Copyright (c) 2016-2020 Michael Purcaro, Henry Pratt, Jill Moore, Zhiping Weng from __future__ import print_function import os import sys import argparse sys.path.append(os.path.join(os.path.dirname(__file__), '../common/')) from dbconnect import db_connect fr...
[ "hpratt111@live.com" ]
hpratt111@live.com
77ff9ab3b4d79c4946379a900be2fcb4a29ca7d3
d4792ed2061380bb23cec6fcd1c18ea2939490ac
/examples/keras_recipes/antirectifier.py
4798e2df9b4fff6c10b3d5e9854ee727815d9458
[ "Apache-2.0" ]
permissive
tcglarry/keras-io
47e813795204a4fc88512c90168d3f81d2aad8aa
4f26aead10fd238c98d85fbb6a32679923d79c76
refs/heads/master
2022-06-09T09:21:50.376337
2020-05-07T21:53:26
2020-05-07T21:53:26
262,175,145
2
0
Apache-2.0
2020-05-07T22:53:45
2020-05-07T22:53:44
null
UTF-8
Python
false
false
3,072
py
""" Title: Simple custom layer example: Antirectifier Author: [fchollet](https://twitter.com/fchollet) Date created: 2016/01/06 Last modified: 2020/04/20 Description: Demonstration of custom layer creation. """ """ ## Introduction This example shows how to create custom layers, using the Antirectifier layer (original...
[ "francois.chollet@gmail.com" ]
francois.chollet@gmail.com
511f8c08b677fee19c7d0a8ab8bd0f61ba2d3acb
25567edcf0e8ab2de3a4140ce14a33fcad1d2173
/sync_player/player/views.py
1a1a6c0ba1157f8aa321f1b4b006da56b1f95000
[]
no_license
St-Ren/sync_youtube_player
f6492b83fd3a7c231a50182807b71aaef8f33c40
1353a4a0a008ed6cc0a0ee742c1fb35e94aa5f8d
refs/heads/master
2021-05-16T14:40:54.986761
2018-01-22T16:46:52
2018-01-22T16:46:52
118,485,846
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
from django.shortcuts import render from django.http import HttpResponse def admin_page(request): f1=open('123456.txt','w'); f1.close(); return render(request,'admin.html') def guest(request): return render(request,'guest.html') # Create your views here. def get_url(request): f=open('video_url.txt','r') return H...
[ "stephanieren1017@gmail.com" ]
stephanieren1017@gmail.com
c05080c8abe46893afb77316facf9fc5ca7fa58b
8dae7f62bd396c5ecd053aebc9fd929fe07e97b5
/bfs_dfs/boj_2206.py
85566bd789af8e1657914e7528c7f1bd4b658ce1
[]
no_license
Donsworkout/boj_algorithm_python
5bcc1fee5d12a516aea40db316dffccfa3f534b5
bd26490c0c5b74ee4cacf687ece4555dc0a0a223
refs/heads/master
2020-04-14T18:55:11.022105
2019-10-12T13:27:38
2019-10-12T13:27:38
164,037,870
2
2
null
null
null
null
UTF-8
Python
false
false
1,800
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Mar 2 14:23:44 2019 @author: donsdev """ import collections dir_1 = [(1,0),(0,1),(-1,0),(0,-1)] def possible(a,b): if a < n and a >= 0 and b < m and b >= 0: return True else: return False def BFS(): cnt = 0 wh...
[ "dickings@likelion.org" ]
dickings@likelion.org
8af023f96f2067d2dd3d5b9b74c787c13f12de53
c37aface4bbc3208ab968e79129b33dde1eb61fd
/backend/budget/serializers.py
072d4849456304f6108dd022d2616fec30ee51d3
[]
no_license
B-Barnett/BudgetApp
0ec9774b32279c497400baba92043083e183d3d3
fc741c4989dd078919e576723988c0342e869263
refs/heads/main
2023-04-11T21:29:56.735509
2021-05-14T02:38:06
2021-05-14T02:38:06
365,803,846
0
0
null
null
null
null
UTF-8
Python
false
false
7,004
py
from rest_framework import serializers from rest_framework.validators import UniqueValidator from .models import User, Budget import bcrypt class UserSerializer(serializers.ModelSerializer): email = serializers.EmailField( required=True, validators=[UniqueValidator(queryset=User.objects.all())] ...
[ "bbarnett672017@gmail.com" ]
bbarnett672017@gmail.com
297222d084e2d45a4781c6014ed99b3640926de1
d88897deb0af9802c205335181c6e0a2f00e1e5b
/localstorage.py
ae6d69d19b4d26f0aa54a44e878ec1b03a58cb64
[]
no_license
Eclipsium/WhatsappAutoSend
cb8eac2903a901eac6451c1b6e5f0dce081b2b41
dca040becb38964595688ca9244d0f9c9173675d
refs/heads/master
2020-04-03T21:56:08.423581
2018-10-31T16:39:02
2018-10-31T16:39:02
155,586,951
0
0
null
null
null
null
UTF-8
Python
false
false
1,835
py
# Created by Florent B. - 31.10.2018 15:07 # Stuck page https://stackoverflow.com/questions/46361494/how-to-get-the-localstorage-with-python-and-selenium-webdriver # PyCharm # -*- coding: UTF-8 -*- class LocalStorage: def __init__(self, driver): self.driver = driver def __len__(self): return ...
[ "eclipsium@yandex.ru" ]
eclipsium@yandex.ru
bf4d75330289dadfb10db55ccc7cef5e99b6b05c
7ce03f6c4fc3210607107cb6949557b2ce78129c
/TrackMe/trackapp/urls.py
6c4be3672eb34e9107cd676c87baab427eb6fee9
[]
no_license
ianfhunter/media-tracker
a7311d0dd8e22ca95bee109f4fb95b7b31270334
bd0a5ddd234785c06346de2670af26c6b3802782
refs/heads/master
2021-01-23T06:44:34.850197
2015-02-26T11:01:00
2015-02-26T11:01:00
18,011,933
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
# app specific urls from django.conf.urls import patterns, include, url from django.core.urlresolvers import reverse from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', url(r'^search$', 'trackapp.views.search'), url(r'^add_item', 'trackapp.views.item'), url(r'^do_add_item', 't...
[ "hunterif@tcd.ie" ]
hunterif@tcd.ie
05a9890e98a35acc493208451b4b32da392979be
f65b180989aca03b82fe4ae8e18ac3e6dd79e758
/pruned_layers.py
ae79e0fc3bf27986147b5049789ec2ac68606461
[]
no_license
BradyTaylor1996/590Lab
c4425279caecdbcb2ccfbe5abb1d399af420e7b0
3e9a7c47130b91d125623988c594274106663d22
refs/heads/master
2020-08-05T02:26:18.408054
2019-11-05T06:32:41
2019-11-05T06:32:41
212,361,805
0
0
null
null
null
null
UTF-8
Python
false
false
5,667
py
import torch import torch.nn as nn import torch.nn.functional as F import math import numpy as np device = "cuda" if torch.cuda.is_available() else "cpu" class PruneLinear(nn.Module): def __init__(self, in_features, out_features): super(PruneLinear, self).__init__() self.in_features = i...
[ "noreply@github.com" ]
BradyTaylor1996.noreply@github.com
d3ab792418c649c1753fffa158eebaab31b95ab8
59a2149e5cb6b1886b52dfa76b46c0e45be45238
/backend.py
860a3bdd35161445faebdcfa355eb98ee2074e9b
[]
no_license
n89nanda/APIGateway
4a88ac1d7a29d5c5c917429b9e1e8378ccd9add8
41d429e488120d9e82aab43fb9253914b8acd31c
refs/heads/master
2021-01-20T15:44:47.403173
2017-04-30T02:42:58
2017-04-30T02:42:58
65,316,456
2
0
null
null
null
null
UTF-8
Python
false
false
707
py
''' tasks is a dictionary. This can be modifed by the API's defined in app.py users is a dictionary containing username and password. If a API method in app.py enforces auth, the username and password must match, as specified here. Use hashing when storing and transmitting passwords in Production. ''' tasks = [ ...
[ "n89nanda@gmail.com" ]
n89nanda@gmail.com
35635eb89faf27aaf6b222d5aa9191fa76110101
68f58451b880b04f9a37fc0ee5ffe986ad7694ea
/qwer/main.py
ba37c21adbd403b36b58853d1fa5194033899af7
[]
no_license
ekisu/qwer
97c8f544daf6847830dd26a9de9f70bcb54abbe5
8de9fc79e2c45ed4e170965f55d713e37ab1e7ce
refs/heads/master
2023-06-16T08:25:40.701502
2021-07-13T04:48:38
2021-07-13T04:48:38
383,639,809
0
0
null
2021-07-13T04:38:03
2021-07-07T01:25:03
Python
UTF-8
Python
false
false
4,073
py
import discord import yaml from sqlalchemy.orm.session import sessionmaker from qwer.database.engine import engine from qwer.domain.entities.command import Command from qwer.repositories.command import CommandRepository from qwer.services.domain.command_executor import CommandExecutor from qwer.services.domain.command...
[ "dts.ramon@gmail.com" ]
dts.ramon@gmail.com
8b614bb28d06397b323f44585579cf6517a0d577
34a95dd5bf5c1339d6a1ba55a5c8085e62152bac
/quantumlounge/http/usermanager/tests/test_login_handler.py
b5397b5198221f8a24d58731b816734e1136e29b
[]
no_license
mrtopf/QuantumLounge
fa082fd34bad54a9ed3dfdcd358a57590d43bfcc
ce9854dc47e7a07c3b59a165c10ee8da61d05db4
refs/heads/master
2021-01-19T14:32:50.048076
2011-09-29T10:27:10
2011-09-29T10:27:10
838,102
0
0
null
null
null
null
UTF-8
Python
false
false
1,057
py
import simplejson def test_login(um_client): r = um_client.post("/api/1/users/login", data={'username': 'mrtopf', 'password' : 'foobar'}) assert r.headers['Content-Type'] == "application/json" assert r.status == "200 OK" d = simplejson.loads(r.data) assert d['username'] == "mrtopf" def test_login_...
[ "mrtopf@gmail.com" ]
mrtopf@gmail.com
8e7a604701927520b7bdf8740796cd701ee2f8ff
5af41887d018111c453096ad74b4cbb88fc18850
/figures_paper_colored.py
c1024ff913c43a301bb3de7b1ac47e1305804dbb
[ "MIT" ]
permissive
graebnerc/Beyond_Equilibrium
16301237d42fde8793a91208dee62176b48e32a5
31c7b05cdbf7ae3d188eec9c68ccdd74ef16ced0
refs/heads/master
2021-01-20T01:12:10.476836
2017-03-31T18:33:02
2017-03-31T18:33:02
77,066,134
1
0
null
null
null
null
UTF-8
Python
false
false
291,499
py
""" This file creates all the figures for the manuscript: "Beyond Equilibrium: Revisiting Two-Sided Markets from an Agent-Based Modeling Perspective" submitted to the International Journal of Computational Economics and Econometrics. Authors: Torsten Heinrich and Claudius Graebner Emails: torsten.heinrich@uni-bremen.d...
[ "noreply@github.com" ]
graebnerc.noreply@github.com
8ce541ecbf4ece2e206295682c206ab2cf359db5
3a7c89064d0778bce36edccd122fcc71f48f2160
/systemoversikt/management/commands/system_telle_koblede_brukere.py
c2c36fd703f6de867e02abb83fb936d7a27c6637
[]
no_license
AndyNor/systemoversikt
87199bee18346247f8e28e0a506ca849d575b098
003c7aa9e4f16dc2f708a46195834cabf55f5024
refs/heads/master
2023-08-09T13:36:02.394633
2023-08-09T11:07:25
2023-08-09T11:07:25
218,380,551
2
0
null
2023-03-08T18:47:01
2019-10-29T20:47:13
Python
UTF-8
Python
false
false
913
py
# -*- coding: utf-8 -*- """ Hensikten med denne koden er å fikse tilknytning virksomhet for DRIFT-brukere """ from django.core.management.base import BaseCommand from django.contrib.auth.models import User from systemoversikt.models import * from django.db.models import Q from django.db import transaction class Comman...
[ "andre.nordbo@gmail.com" ]
andre.nordbo@gmail.com
44c56b7babb4f9b8f08de5e547e5d173f72309fe
16303902855d9a3b18b39e46c58567b16d907c02
/setup.py
b9e8a6224c7cfcccdc1de8c06c6b1bfffbea86ca
[]
no_license
ConstClub/pyconst
194f2d1f53113dec9a5178b56905c3a5e3892909
863fd2c0617d769f392cab4e1bf33555ee8f011c
refs/heads/master
2021-01-24T16:52:09.458058
2019-10-18T08:23:29
2019-10-18T08:23:29
123,215,646
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
# -*- coding: utf-8 -*- from setuptools import setup version = '1.0.0' setup( name='pyconstant', version=version, keywords='', description='Const for Python', long_description=open('README.rst').read(), url='https://github.com/ConstClub/pyconst', author='Hackathon', author_email='...
[ "brightcells@gmail.com" ]
brightcells@gmail.com
5e71bec9886510fc4c8975a8aa88fc9b8851cd4b
0c0ca4e80c479247e501ff3dc21ea45809a7296a
/text/new_search.py
bb1f0e8aba7feec139ab5fa1973ea1a3ce50f118
[ "BSD-3-Clause" ]
permissive
jzhangg85/naturaladversary
ffbed46bb80511f22eff3eb6f076dca62111b3dc
c5599089397612c2122b379abbd6b593e1656836
refs/heads/master
2020-03-14T15:05:55.416004
2018-05-10T03:58:47
2018-05-10T03:58:47
131,668,568
0
0
null
null
null
null
UTF-8
Python
false
false
27,826
py
import argparse import os import time import math import numpy as np import random import sys import json import torch.utils.data import pickle as pkl import torch.nn as nn import torch.optim as optim import torch.nn.functional as F from torch.autograd import Variable from search import search, search_fast from utils i...
[ "russellkunes@rk.qdslie5323pe1ipb1uf0kzpmof.xx.internal.cloudapp.net" ]
russellkunes@rk.qdslie5323pe1ipb1uf0kzpmof.xx.internal.cloudapp.net
329443ddbbbd6a27409839e21a3f76659d95e0c2
b114b48e52e50932788d4ad11525e0f2376836ff
/entry.py
5e61bd248686d80fc8a1a3c364af72c74384eb13
[]
no_license
necrox87/python-gtk3-demos
7a94eaf27f6680f6506c89d3b22bf6ed86c8c33d
8f1723157baa835236f53fe196db5eedf66c47c6
refs/heads/master
2021-01-25T05:27:58.632541
2015-08-03T17:27:12
2015-08-03T17:27:12
40,137,093
5
1
null
null
null
null
UTF-8
Python
false
false
2,515
py
from gi.repository import Gtk, GObject class EntryWindow(Gtk.Window): def __init__(self): Gtk.Window.__init__(self, title="Entry Demo") self.set_size_request(200, 100) self.timeout_id = None vbox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=6) self.add(vbox) ...
[ "necrox87@gmail.com" ]
necrox87@gmail.com
3a57437b0409c042bd593844cec953414f2ccc84
958ed21b00b2c1961ad7602aa41d0fc0ea98cd9b
/nagios_srv/check_quota.py
980ad3b4f0149322fd264f2136d42763b37bc51a
[]
no_license
kevmck/IT610_final
ade86924e7d7582f0aa75e09532498cee1221d76
0df2dab102cc55fb3982aab206bd17f3369abc83
refs/heads/master
2021-08-31T10:59:30.461456
2017-12-21T04:03:45
2017-12-21T04:03:45
114,278,075
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
#!/usr/bin/python import os,sys inp = os.popen("sudo repquota / | grep ubuntu").read() inp = inp.split(" ") inp = list(filter(lambda x: x!= '', inp)) current = int(inp[2]) softLimit = int(inp[3]) hardLimit = int(inp[4]) if current < softLimit: print "User quota OK - currently at " + str(current/hardLimit) + "%...
[ "ubuntu@ip-172-31-44-48.us-east-2.compute.internal" ]
ubuntu@ip-172-31-44-48.us-east-2.compute.internal
9a9bf5eb7378ca32ea82743ce72601beede3ada6
fc9473283775ea6d8fee26d6f546717219517536
/datavis.py
8509f632696249400c3ad062ed0477f2ef2d1e8e
[]
no_license
yratnadilla/Final_Project
f6356a27ee0a73f3e797c2dafaa44ee1d579e7a0
28143bf01a4ff7d126f16361e843d5f7899462ba
refs/heads/master
2022-01-22T06:05:07.946670
2019-07-24T01:17:20
2019-07-24T01:17:20
198,052,880
1
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sn df = pd.read_csv('dataset.csv') # print(df.head()) # print(df.isnull().sum()) # print(len(df)) df = df.dropna(subset=['genre', 'country', 'actors', 'director']) # print(df.isnull().sum()) # print(len(df)) # pr...
[ "noreply@github.com" ]
yratnadilla.noreply@github.com
b705d279be571c6223d3c70e07177e8cb984cc43
e13cba8d70f72307f01bce464e4b7a5622de9732
/mdgen/bin/mdgen
0cc87b33c82b23a4f2e3e313afd7cf9ae4145aa4
[]
no_license
bennythejudge/learn_more_python_the_hard_way
ec3e1e60a1297eebf94021de6c8155168c18b63c
1590ede19dae865afc3305b15212e3d0d2865a73
refs/heads/master
2021-01-05T08:59:08.912191
2017-08-14T22:19:55
2017-08-14T22:19:55
99,515,509
0
0
null
2018-10-13T20:18:03
2017-08-06T21:57:21
Python
UTF-8
Python
false
false
627
#!/usr/bin/env python import sys from mdgen import utils # get the source directory from args source = sys.argv[1] # get the target directory target = sys.argv[2] # traverse and build a file list files = utils.traverse_directories(source) #print files targets = utils.discover_md_files(source, target, files) #print ...
[ "logube@gmail.com" ]
logube@gmail.com
0ccbf4fdb4237ba178830f626e1ceb303750bbef
955b59c11168fde60b04f8d040dbae808ec7b92f
/node_modules/chokidar/node_modules/fsevents/build/config.gypi
cf753144146feb1769a2980597e89b712424e5e5
[ "MIT" ]
permissive
mesquitadev/sisac-image
1de5f80c7c39c0319b8d031314e0a2380f292f01
fd8fedf2fcb8d85c2720490fefc61198c65e4110
refs/heads/main
2023-08-04T17:17:34.501227
2021-09-15T02:05:00
2021-09-15T02:05:00
393,122,886
0
0
null
null
null
null
UTF-8
Python
false
false
2,992
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, "build_v8_with_gn": "false", "coverage": "false", "dcheck_al...
[ "mesquitadev@gmail.com" ]
mesquitadev@gmail.com
7b05633136ef3baae96c5d6c6c5d28b77d91cb51
ddfffd3253314855b57c8d7694a0d9039ef8602c
/venv/Scripts/scapy-script.py
45cae9eca7172e62cde242126d6e75c2130f9840
[]
no_license
pentestcave/Automation-Tooling
56389548f90da98764e0b6053ea4801cdb9de417
2427b4adbadf8824557da8050d5d4cfa1500b316
refs/heads/main
2023-03-06T13:27:00.404120
2021-02-08T07:23:29
2021-02-08T07:23:29
336,987,110
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
#!K:\Trainings\Udemy\ZSecurity\Python\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'scapy==2.4.4','console_scripts','scapy' import re import sys # for compatibility with easy_install; see #2198 __requires__ = 'scapy==2.4.4' try: from importlib.metadata import distribution except ImportError: try: ...
[ "solutionvaults@gmail.com" ]
solutionvaults@gmail.com
942af0a44028309d932ff8d33a7de45e4b43c6a4
e08c5b135d5658a9b694d7db1f587fd980e0bbf3
/tests/models/model_compare.py
d447cfca365e1bdb2f787a9229da447b8ac8a699
[]
no_license
karopastal/signal_generator
7a88ecb90abe5bef06b697f6545451fa5aa7a117
ec3890622e7ae37393d526a6928c43b3927bb953
refs/heads/master
2022-12-10T18:39:21.576894
2020-12-15T09:16:04
2020-12-15T09:16:04
202,517,783
3
0
null
2022-12-08T05:24:44
2019-08-15T09:58:21
Python
UTF-8
Python
false
false
2,105
py
from src.models.deep_ae import DeepAutoencoder from src.models.sparse_ae_v1 import SparseAutoencoderV1 from src.models.sparse_ae_v2 import SparseAutoencoderV2 from src.models.conv_ae import ConvAutoencoder from src.models.conv_l1_ae import ConvL1Autoencoder from src.models.conv_kl_ae import ConvKLAutoencoder def eval...
[ "tpaskaro@gmail.com" ]
tpaskaro@gmail.com
9e416dd9d02fb2dfe9f230adaee649b8bf5ab6d7
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AlipayOpenMiniMembersHuobanCreateModel.py
e1ea8e7fdf3f890762367a9dcafff368584a3256
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
2,430
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AlipayOpenMiniMembersHuobanCreateModel(object): def __init__(self): self._domain_account = None self._login_id = None self._operate_app_id = None self._type = None...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
cba4cb0cc371d08ed47fec7e5feb685cd700f669
53c1eb6604f9e060bd6c9ce84395ab1a38d58f6f
/exercise/codewar/arara.py
cc30d2059afcc4569d4a2a045cf54c4e10176cbe
[]
no_license
turo62/exercise
543c684ef3dfe138a5f0d6976b7ff0d9c19553f0
3d8d8d8a12bb3885b3015eff0032cd977c02957e
refs/heads/master
2020-04-14T18:10:31.224244
2019-01-03T18:10:55
2019-01-03T18:10:55
164,008,835
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
# Returns arara translation of a number. Wrong solution. def count_arara(n): val = "" temp = 0 temp2 = 0 empty = " " dict = {1 : "anane", 2 : "adak", 3 : "adak anane", 4 : "adak adak", 5 : "adak adak anane", 6 : "adak adak adak", ...
[ "turo62@gmail.com" ]
turo62@gmail.com
5fb9b865de31a357778b27aafadd824b0a3980bb
d5bcb615aca1786a97ce3877ceb5a00f727202a4
/GVF.py
2044ebb46155c2ab46bb2da3c2c08191d10beb6f
[]
no_license
MDisyak/Robot-Module-3--Horde
5ad2be4e0776dd86aecb9fe56a76a48298b03a86
4fa10a6ae4deee5ef4c44e909e8b8d3e831ce10a
refs/heads/master
2021-01-20T16:51:05.266949
2017-02-25T17:37:46
2017-02-25T17:37:46
82,833,205
1
1
null
null
null
null
UTF-8
Python
false
false
8,779
py
#Written by Michael Disyak - Feb 2017 #This class represents a general value function and has the ability to # recieve updates to relevant incoming data streams and learn using TD(lambda) and GTD(lambda) algorithms # This class is designed to be used in conjunction with the Plotter class and a control file that implem...
[ "michaeldisyak@Michaels-MacBook-Pro.local" ]
michaeldisyak@Michaels-MacBook-Pro.local
ab443ab24b7f89149ef4fcfb7e441860e9d2030c
5261e3c72259991fbdb9737c4c764eb0686860d3
/tests/test_docs/test_cli_commands.py
47dcb09ac7d77549be4329b7f7f7d7f6f3a6308f
[ "Apache-2.0" ]
permissive
eorituz/agents-aea
45dfb9729718421290c71da91ac4c51f9cc6a608
197451196728141a27ec73fd8210c05cb74501f7
refs/heads/main
2023-03-24T02:40:27.132664
2021-03-23T14:42:58
2021-03-23T14:42:58
350,744,268
0
0
Apache-2.0
2021-03-23T14:40:13
2021-03-23T14:32:29
null
UTF-8
Python
false
false
2,632
py
# -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # # Copyright 2018-2019 Fetch.AI Limited # # 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 ...
[ "marco.favorito@gmail.com" ]
marco.favorito@gmail.com
4b596086801cd7ff89f1eff1809dd6adf92880e4
9438b792cc2ce12d77c32551874de7b0d81f6109
/Basics/slicing.py
f7a477cd4ccca3ca716cc9a98f9de73e3e1a19bb
[]
no_license
Mondiegus/Python_learning
cfd90672b412cddb28acdf609ee7be1992a9b13e
32ab963a905973beeee4050e922ab861e3f904d8
refs/heads/master
2021-07-25T04:40:18.891139
2020-09-27T14:52:12
2020-09-27T14:52:12
220,710,604
0
0
null
null
null
null
UTF-8
Python
false
false
1,224
py
# tupl = (0, 1, 2, 3) # lst = [2, 3, 4, 5] # s = set() # s.update(tupl[::2], lst[::2]) # # print(s) INPUT = [ ('Sepal length', 'Sepal width', 'Petal length', 'Petal width', 'Species'), (5.8, 2.7, 5.1, 1.9, 'virginica'), (5.1, 3.5, 1.4, 0.2, 'setosa'), (5.7, 2.8, 4.1, 1.3, 'versicolor'), ...
[ "maciej2.jarosz@aptiv.com" ]
maciej2.jarosz@aptiv.com
e8d244e1575403819544217a2d429d5ef5a0d1af
77dcf5ebad9512843742741c20cd412972d3261d
/alien.py
83eda05822e131264b074b9f2c51b8590a2cbc4c
[]
no_license
crystalDf/Python-Crash-Course-2nd-Edition-Chapter-06-Dictionaries
5742236d071e16cbb672be7f010f9fbc82033c06
cc602b56134d63b6baf286e718daf08a2955967c
refs/heads/master
2023-06-03T09:47:26.659353
2021-06-20T12:55:09
2021-06-20T12:55:09
378,645,143
1
0
null
null
null
null
UTF-8
Python
false
false
943
py
alien_0 = {'color': 'green', 'points': 5} print(alien_0['color']) print(alien_0['points']) new_points = alien_0['points'] print(f"You just earned {new_points} points!") print(alien_0) alien_0['x_position'] = 0 alien_0['y_position'] = 25 print(alien_0) alien_0 = {} alien_0['color'] = 'green' alien_0['points'] = 5...
[ "chendong333@gmail.com" ]
chendong333@gmail.com
cf77ca57e50183b8944759fb05b138f277ae54d2
684b7bbbaa35b1e3dcbb4538b52c66036854c47a
/helper.py
ffc1c117bad421dc5afb89144f29e2977c3ad0af
[]
no_license
Danco74c/anomaly_detect
d2eca9e4305d7f138f5f71631caf9060545d28ef
513529955032f58290828c53448b47a21de3c982
refs/heads/master
2023-01-14T03:18:23.683916
2020-11-22T13:34:25
2020-11-22T13:34:25
305,708,113
0
0
null
null
null
null
UTF-8
Python
false
false
3,136
py
from elasticsearch import Elasticsearch from requests.auth import HTTPBasicAuth import time import datetime import requests import json import logging #aws packages import boto3 from botocore.exceptions import ClientError #params import params def upload_file(file_name, bucket, object_name=None): # If S3 object_...
[ "dan@terasky.com" ]
dan@terasky.com
5b5a8d57df84ad3ed367fc75af98e271c0cd1b50
d79b2467821bf39ab08034c2ff709a23500ad51d
/profiles/models.py
e1a5a1a6509938c9e94cacbc787417f3b09eaddf
[]
no_license
arfin97/Programmers-Practice-Arena-Training-Manager
b0a67a0f8336a3906ff2d1d0d27ea0335eab9e48
618e5f77b67f98ff897497e3d2034d36b699a942
refs/heads/master
2022-08-04T18:12:19.768728
2019-06-01T15:46:22
2019-06-01T15:46:22
265,854,372
1
0
null
null
null
null
UTF-8
Python
false
false
1,291
py
from django.db import models from django.contrib import auth # Create your models here. class User(auth.models.User, auth.models.PermissionsMixin): def __str__(self): return self.username # Incomplete # class Profile(models.Model): # name = models.CharField(max_length = 100) # varsity_id = models....
[ "arfin97@gmail.com" ]
arfin97@gmail.com
b4271e6c5cdb0fabe8dc599741b1e6287210b0aa
16eba4e87e737463bb8b2bbbeaab1947c24e64a1
/tree.py
311135eca36475701430a14a298d99ebf9993292
[]
no_license
agwe11/Summary
a33e16b7cae989490ef464a7ae2dd61e6effeb81
1afa8ad9d4378e36d1812cf1a29696126fa249fd
refs/heads/master
2020-12-08T15:02:48.741545
2020-01-30T18:19:28
2020-01-30T18:19:28
233,011,917
0
0
null
null
null
null
UTF-8
Python
false
false
2,239
py
import json ID = 2 ...: output = set() ...: output_list = [] ...: for i in temp_list: ...: ...: output.add(i['desc']) ...: for k in output: ...: output_list.append({'id':ID,'name':k,'parent':1}) ...: ID += 1 ...: output = set() ...: for i in ...
[ "agwe13@gmail.com" ]
agwe13@gmail.com
faf415b0f474130a3aa5a5eb92d2456426dacaae
3c79e914d4b379588344151fbd50eb4ac24ce566
/academic/apps/publishing/models.py
922a0120019067436e294c22e4fc2d40d4f8098c
[ "BSD-2-Clause" ]
permissive
phretor/django-academic
e58813b7159504c3cb53261f229015351d7a3075
864452238056e07056990479396e8446a1bad086
refs/heads/master
2020-05-20T13:08:15.230625
2012-07-01T10:37:43
2012-07-01T10:37:43
4,102,703
3
0
null
null
null
null
UTF-8
Python
false
false
10,958
py
from django.db import models from django.utils.translation import ugettext_lazy as _ from django.core.validators import RegexValidator from django.template.defaultfilters import slugify from django_countries.fields import CountryField from model_utils.models import InheritanceCastModel from filebrowser.fields import F...
[ "federico.maggi@gmail.com" ]
federico.maggi@gmail.com
85314157ea8f32c920f1fc5a8c720fd6b98a0d0f
761d7cd88c48d19eed1e8db124ed2ed8b4d1def8
/Chapter-1/videocapture.py
65f0a7a359aab95d54c32923f37150b2cb12b120
[]
no_license
Keshab23/Computer-Vision
328db481a27e14d4a896e6b2b57d5f185e29d0b4
045005472fcf31db9f490573b407001ed4f4f6b2
refs/heads/master
2020-04-11T13:33:59.028706
2018-12-14T17:52:59
2018-12-14T17:52:59
161,821,450
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
import cv2 capture = cv2.VideoCapture(0) while True: has_frame, frame = capture.read() if not has_frame: Print('Can\'t get frame') break cv2.imshow('frame', frame) key = cv2.waitKey(3) if key == 27: print('Pressed Esc') break capture.release() cv2.destroyAllWindows()
[ "skeshabkishor@gmail.com" ]
skeshabkishor@gmail.com
0848ebf005f8452dfbc06816dd99a4d3e9072818
eaa1cba99caa2943ece4c5d9b8b0b94257b1183d
/lib/config/default.py
2aa1d090f62ddae6135a4140662c2cde6820574d
[ "BSD-3-Clause", "MIT" ]
permissive
hongrui16/naic2020_B
99c53b3e8e3431f5e87e26218a21c1a6d93a5d3d
9321bdd19e7d2d47ac9c711eb8437cd364e25f44
refs/heads/master
2022-12-29T17:23:42.666828
2020-10-19T06:49:30
2020-10-19T06:49:30
305,239,954
0
0
null
null
null
null
UTF-8
Python
false
false
3,311
py
# ------------------------------------------------------------------------------ # Copyright (c) Microsoft # Licensed under the MIT License. # Written by Ke Sun (sunk@mail.ustc.edu.cn) # ------------------------------------------------------------------------------ from __future__ import absolute_import from __future...
[ "hongrui_hust@foxmail.com" ]
hongrui_hust@foxmail.com
83211c972ed1f41b2f507e538f5004ce2ada03e6
9ad30e579b1a83a5dcf843a54ecd9f772950d9b9
/app/main/forms.py
b411c368966f56982703c828ba66bd4c81dd34a5
[ "MIT" ]
permissive
dimitri-yatsenko/pipecontrol
113319c2116c232db558f4db0b3cb90df1f631ab
a8d237e58621db40dde9abbe05f30a283ac42436
refs/heads/master
2020-12-03T06:40:29.649985
2017-06-28T22:13:58
2017-06-28T22:13:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
from .views import session from wtforms import Form, BooleanField, StringField, PasswordField, validators, SelectField, IntegerField from ..schemata import experiment class UserForm(Form): persons = experiment.Person().fetch('username') user = SelectField(u"User", [validators.DataRequired()], choices=[(f, f)...
[ "sinz@bcm.edu" ]
sinz@bcm.edu
5108d4d332d26cbb0746600009754a25e9e21d49
9f9fd635037f4dcbc6a17f255d3f8c01cc8860be
/168206229/4.py
a1465a66ed57550dfad9c6f8766d7caf6cce5004
[]
no_license
1846169568/168206
78f8418e16050c6089544e741f471f2d47d79fda
ef940420094532149ce2c8b5666e2c4649db0b13
refs/heads/master
2022-04-30T13:32:39.022850
2022-03-21T02:42:12
2022-03-21T02:42:12
158,561,843
2
0
null
2018-11-21T14:38:33
2018-11-21T14:38:33
null
UTF-8
Python
false
false
470
py
# 选择排序 def getmin(arr): min = arr[0]; min_index = 0; for i in range(0,len(arr)): if arr[i]<min: min = arr[i] min_index = i return min_index def selectSort(arr): newArr = []; for i in range(0,len(arr)): min = getmin(arr); newArr.append(arr.pop(min...
[ "noreply@github.com" ]
1846169568.noreply@github.com
a0eacb86bdd5117b166ae3b5df1aa93edf8c2363
a8e150893c4d450799e305fd4f65d531405ba9b6
/web.py
46344d3360c7adaeeeda306eee3b01e411811d9a
[]
no_license
Aquarius888/epg-poc
305b6dfebe870cdcb9518a20b3c9b9b12b1ff8ae
ec9df157664268b2e0967059f65aa6b81d1e5d0e
refs/heads/master
2020-06-28T13:19:19.316759
2019-09-12T18:28:29
2019-09-12T18:28:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,301
py
# import bjoern import bottle from bottle import Bottle, template import json from time import gmtime, strftime from datetime import datetime as dt from datetime import timedelta import time import os try: from config import settings except ImportError as err: print("Make sure settings.py exists in 'config' d...
[ "Pavel_Alekseev@epam.com" ]
Pavel_Alekseev@epam.com
72ba6c385460dab2b1036368b0325f806107877f
fe6775ca8c5b42710785e3a923974ae079f92c8f
/秋招/电信/3.py
05b38997f944a3eb85cdd29b02167a6d0624197c
[]
no_license
AiZhanghan/Leetcode
41bda6676fa1a25fa19e393553c1148ed51fdf72
101bce2fac8b188a4eb2f5e017293d21ad0ecb21
refs/heads/master
2021-06-28T10:48:07.865968
2020-11-20T09:45:15
2020-11-20T09:45:15
188,155,059
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
class Solution: def func(self, nums): """ 动态规划 Args: nums: list[int] Return: int """ dp = [[0 for _ in range(2)] for _ in range(len(nums))] dp[0][1] = nums[0] for i in range(1, len(nums)): dp[i][0] ...
[ "35103759+AiZhanghan@users.noreply.github.com" ]
35103759+AiZhanghan@users.noreply.github.com
4238c73b105af5e71b30f531f8db454c2d315c96
4a2175ce9698f8c8533050bf58a519cd7f6981cd
/handler/lambda_function.py
a5f7d545aa0653a85ff435bdb3af75b747678a49
[ "LicenseRef-scancode-public-domain", "CC0-1.0" ]
permissive
tbadmus/log-parsing
5240aa75eaa4c47ffa01ff05c9cd801820649295
c088e45cf153f3a14c50b7db5b6b7976b6261148
refs/heads/master
2020-12-26T11:38:43.787711
2020-01-31T19:11:39
2020-01-31T19:11:39
237,497,566
0
0
null
null
null
null
UTF-8
Python
false
false
2,636
py
import gzip import json import base64 import boto3 import os def lambda_handler(event, context): event_type_list = ["AWSConsoleSignIn"] excluded_keys = ["accessKeyId", "principalId"] cw_data = event['awslogs']['data'] compressed_payload = base64.b64decode(cw_data) uncompressed_payload = gzi...
[ "lbadmus@forsythe.com" ]
lbadmus@forsythe.com
5c0d778ddc4c3a86b2887c281d5ed86ab79d3ca9
93ebbfb7f946fe36975f5e9e10f5154c1cb870b0
/bin/client_config.py
dc6d92ed2ed4168aa8fea716791da4d22e708706
[]
no_license
Gatar/Swiadectwomat
ba23ddaa1a747d6622cf332c608980ddbd6ab755
504a02b659d80be74168c004b385db56576207ce
refs/heads/master
2020-03-22T19:44:34.760832
2018-07-10T20:23:07
2018-07-10T20:23:07
140,547,818
0
0
null
2018-07-11T08:48:47
2018-07-11T08:48:47
null
UTF-8
Python
false
false
210
py
class ClientConfig(object): PUBLIC_KEY = 'None' APP_NAME = 'Swiadectwomat' COMPANY_NAME = 'bisingir' UPDATE_URLS = ['https://github.com/bisingir/Swiadectwomat.git'] MAX_DOWNLOAD_RETRIES = 3
[ "bisingir@o2.pl" ]
bisingir@o2.pl
d44c40e45b61593670900e333cd8e4e5a506ac85
93678bc7879f326e6192eae972d508ad08e8a5ce
/evil_script.py
c50a821692b8b8cb2c3f60fda05cfdfd5594c90b
[]
no_license
0x7b/libprocesshider
12b72805160f6b75f893b866b9b6ea0f29170424
bf0ab9da5293b91b6c9de69541bd2e57aa2f7943
refs/heads/master
2023-03-23T14:33:04.339692
2021-03-25T08:18:20
2021-03-25T08:18:20
351,056,461
1
0
null
2021-03-24T11:57:03
2021-03-24T11:35:15
null
UTF-8
Python
false
false
409
py
#!/usr/bin/python import socket import sys def send_traffic(ip, port): print "Sending burst to " + ip + ":" + str(port) sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.connect((ip, port)) while True: sock.send("I AM A BAD BOY") if len(sys.argv) != 3: print "Usage: " +...
[ "gianluca@draios.com" ]
gianluca@draios.com
0f36b6bdb8493ca2f323b7a397d0a97376b2c11a
1029fb700c0237cfb15d123150ab36ebd896f036
/py3/SitcpRbcp.py
451275972e9a2cd83e349dbfef96157da0be9677
[ "MIT" ]
permissive
h-sendai/SitcpRbcp
cfae7659b6081053b7f82f9a4449d2f4f0e21d8f
df4d5fd09be0af5f03367d0cb600e2342e3e2719
refs/heads/master
2022-07-06T03:19:48.146119
2022-06-21T07:56:24
2022-06-21T07:56:24
177,493,906
0
0
null
null
null
null
UTF-8
Python
false
false
9,847
py
#!/usr/bin/env python r"""Slow control module for SiTCP This module allows you to use SiTCP RBCP (Remote Bus Control Protocol). The specification of the SiTCP RBCP is available at https://www.sitcp.net/ Sample code for read: #!/usr/bin/env python import sys import socket import SitcpRbcp def main(): rbcp = Si...
[ "hiroshi.sendai@kek.jp" ]
hiroshi.sendai@kek.jp
ed5be681e86337d9e93da62dc5b4b4cd79708c99
6d73534da3f50eca8eb4e5f56f7d8c644f633d56
/app/tests/test_commands.py
bef8cda988c922e06b39a5461ef71c8629aaa269
[ "MIT" ]
permissive
victorfmarques/Sled
5ef79dbafa1c4383302ddacd03f173be157535a7
08f62f3ed7e34acad2d7a3b368c59d1c22ed9a1e
refs/heads/master
2022-12-04T07:44:11.356672
2020-08-25T00:38:15
2020-08-25T00:38:15
288,525,468
0
0
null
null
null
null
UTF-8
Python
false
false
871
py
from unittest.mock import patch from django.test import TestCase from django.core.management import call_command from django.db.utils import OperationalError class CommandTestCase(TestCase): """ Test command features """ def test_wait_for_db_ready(self): """ Test the database connection """ ...
[ "victorfmarques@outlook.com" ]
victorfmarques@outlook.com
8d2c21505360bcf04946ffb32990bb81ae0089c6
85f5655c77a7acc801a92e7f1914af8a8a9f5e2b
/__manifest__.py
d43ec123797885e7f47fe5b51ed195788d264d7f
[]
no_license
dipendra-karki/odoo-debrand-title-master-edu
4f7a138768a0cedacc84c0f1b483237e60226270
fee65ac17fc1812f4dee89ca110b592e4f5899ff
refs/heads/main
2023-06-27T11:31:42.270369
2021-07-25T04:54:51
2021-07-25T04:54:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
# -*- coding: utf-8 -*- { 'name': "odoo-debrand-title-master-edu", 'summary': """ Little Debrand""", 'description': """ PDebrand """, 'author': "yoga listianto", 'website': "", 'category': 'Tools', 'version': '0.2', 'depends': ['base'], 'data': [ 'vi...
[ "yogalistianto7@gmail.com" ]
yogalistianto7@gmail.com
9bd5ee1d6e0152437a47144f7408a008e451fc2e
d1b4b7f974912051c8a72c17f5365cffc11bc385
/home/sbin/screentool
00033b2bc8812bc8cd8a8b8661f6dd068772c158
[ "Apache-2.0" ]
permissive
Rufflewind/config
aba0aeb256845434faeb26fc1a976bd18cb22304
da7c13b4d7bebad7212576bd0a4458a35a0804d3
refs/heads/master
2023-08-18T20:07:22.506312
2023-08-14T07:12:31
2023-08-14T08:28:43
19,192,642
16
4
null
null
null
null
UTF-8
Python
false
false
7,811
#!/usr/bin/env python # # Ninji's ScreenTool for taking and munging screenshots # # Dependencies: # # pacman -S imagemagick maim python-gobject slop xclip # # Note: 'slop+maim' works better than 'import' because 'slop' doesn't leave # behind graphical artifacts during the cropping step. EDITOR = "gimp" import base6...
[ "rf@rufflewind.com" ]
rf@rufflewind.com
c2d04232f2fee8000f273195abf68513597cf3d1
85b95c5396b972872c818277ae2732ed1c2361b3
/SpecialSprites/MousePointer.py
ccfe3019888008caf456638716c103b27b434939
[]
no_license
mikolka9144/PixCraft_PyGame
36f7f19f7044eb5dd7ba6844455175daa805570f
307a5ef90677b68d37e9a214fcaf97157af2977b
refs/heads/master
2023-02-06T10:16:36.307593
2020-12-28T21:51:51
2020-12-28T21:51:51
325,005,541
0
0
null
null
null
null
UTF-8
Python
false
false
1,844
py
import math import pygame from pygame import Rect from pygame.math import Vector2 import Config import StaticBlocksDescriptions as blocks_types from SpecialSprites import MouseSprite from SpecialSprites.SpecialSprite import SpecialSprite from Sprites.Block import Block class MousePointer(SpecialSprite): def __i...
[ "mikolajchajewski@gmail.com" ]
mikolajchajewski@gmail.com
6ad09a397dbf97061f4cd275e6cdec8164a5b654
eaefe256e8c0efc349fb898d43221732952e5d2c
/python/ex40.py
50eb6fd4d125d4a41b27dacc77649ade5a62c771
[]
no_license
ceye1992/learn
95ed111f60c53a516f82714125726c4fb7ff8e0d
119d071342bd415fcc71e6f4809ebbfc0783ba8d
refs/heads/master
2021-01-17T10:33:13.506212
2017-03-02T13:19:21
2017-03-02T13:19:21
56,953,409
0
0
null
null
null
null
UTF-8
Python
false
false
636
py
class TheThing(object): def __init__(self): self.number = 0 def some_function(self): print "I got called." def add_me_up(self, more): self.number += more return self.number # two different things a = TheThing() b = TheThing() a.some_function() b.some_function() print a.add_me_up(20) print b.ad...
[ "691092546@qq.com" ]
691092546@qq.com
94c48e5e215007b0d4439de04f8f769da3f0762b
a20ae2286d7055de8c533bc954c18b22d2a3cf5a
/sstones/ss_app/migrations/0022_auto_20190125_2146.py
89a1a1c7637a8511bde7ab64191b1c4ea7b1f968
[]
no_license
jflynn87/sstones
695442c2c1745c83a37100d4b163938891afe184
3a2548b5457ef6386e808b6d984e376f2c83a254
refs/heads/master
2021-07-13T19:04:59.898493
2020-06-09T03:07:43
2020-06-09T03:07:43
139,449,207
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
# Generated by Django 2.0.4 on 2019-01-25 12:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ss_app', '0021_auto_20190125_2110'), ] operations = [ migrations.AlterField( model_name='invoice', name='principal',...
[ "jflynn87@hotmail.com" ]
jflynn87@hotmail.com
274dd5dc24ac046e829d22d694c1c7e7242966a5
b3ec2fde2c9face5387051701a706fb2475c3578
/tests/test_pymusicbrainz.py
e75b281d015c5e1579720402de61e81e0e7f85c5
[ "BSD-3-Clause" ]
permissive
ibmibmibm/pymusicbrainz
43f457387c4d4e0ea4e3ff87520e08e8ae63e858
5e130075aefe37bb0f43b89d123b3b37cbc26ab7
refs/heads/master
2021-01-06T20:18:34.244156
2020-02-18T22:02:34
2020-02-28T11:42:11
241,477,122
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
from pymusicbrainz import __version__ def test_version(): assert __version__ == "0.1.0"
[ "ibmibmibm.tw@gmail.com" ]
ibmibmibm.tw@gmail.com
3cfe0cdef569e2e41d6ef6fc56ed2ce3d29a3075
d0f06e561a10fc7d5792ac9d6d3f2884854148f5
/graphics.py
d295be5d95894aa78ef3dfaa5a05fce5343b82a2
[]
no_license
miguelf6022e23/Game
268856f7d3cce8ada3f8281677cf95770ffbb05a
b68da41327d226f2f74d9a4d282dd4e4f23c95fb
refs/heads/master
2021-01-19T08:16:32.629794
2017-07-09T23:41:16
2017-07-09T23:41:16
82,078,931
0
0
null
null
null
null
UTF-8
Python
false
false
5,661
py
import pygame #-------set colors----------------------------------------- black = (0,0,0) white = (255,255,255) red = (255,0,0) green = (0,250,0) blue = (0,0,250) gray = (255/2,255/2,255/2) class graphics: def __init__(self,gdisp,dispW=1200,dispH=675): self.gdisp = gdisp self.imgs = [] sel...
[ "miguelf6.022e23@gmail.com" ]
miguelf6.022e23@gmail.com
97c011cd9c34cb7da98987f95a2385fb589540d1
ef1ae1e96b58e3b897074f793bcf2dada166b9e3
/charlie_delarosa/login-reg/apps/login_reg_app/models.py
9ef623ddac4cbea22062d01a57108574a62fa7b3
[]
no_license
charlie320/python_july_2017
21340f2d1bcaedb317dfda4270fbf7cb31369b21
80097768b681ff7225cc128455ba71bc62a41b35
refs/heads/master
2020-06-24T12:48:20.563259
2017-08-01T02:12:08
2017-08-01T02:12:08
96,936,879
0
0
null
2017-07-11T21:01:34
2017-07-11T21:01:34
null
UTF-8
Python
false
false
2,408
py
from __future__ import unicode_literals from django.db import models from validate_email import validate_email #Our new manager! #No methods in our new manager should ever catch the whole request object with a #parameter!!! (just parts, like request.POST) class UserManager(models.Manager): def validate(self, form...
[ "Charlie@Charlies-MacBook-Pro.local" ]
Charlie@Charlies-MacBook-Pro.local
899028c455cd43f91589eed800a3ca07d06eeff3
f09b32a2ee83c407a53b9e187bbb3fa8893e27c5
/iiwa_workcell_sensor/scripts/range_to_pointcloud2_converter.py
af6980c1afee0ff51392b95e3a2ee51162a6f9e0
[ "BSD-3-Clause" ]
permissive
dornbirndevelops/iiwa_workcell
2a9a5040c2d8f3909e7864a0f9e1916c49e7c0e1
de146cd0f37a7a844525991ba8331ee1d946bb0c
refs/heads/master
2022-12-06T06:08:38.684784
2020-08-28T09:22:29
2020-08-28T09:22:29
288,936,340
0
0
null
null
null
null
UTF-8
Python
false
false
2,104
py
#!/usr/bin/env python import rospy from geometry_msgs.msg import PointStamped from sensor_msgs.msg import Range, PointCloud2 from sensor_msgs.point_cloud2 import create_cloud_xyz32 from std_msgs.msg import Header from tf import TransformListener, LookupException class RangeToPointCloud2Converter(object): def __ini...
[ "dornbirndevelops@gmail.com" ]
dornbirndevelops@gmail.com
ec48671ee7befd20789b608a4d45177832297995
191fd04cfe934d13203bc5473de181314999d5dc
/trq.py
796b4324c5d61d177dfcdee5e6f3be91f95a990f
[]
no_license
sammyyadav/Fun_with_program
2f3c78ee248c65334210876687e01e88dd1a0609
fe6293841ed908f5cd8da4bf7407c5448daf402e
refs/heads/main
2023-02-24T13:22:03.041650
2021-01-30T16:19:29
2021-01-30T16:19:29
334,456,115
0
0
null
null
null
null
UTF-8
Python
false
false
18,718
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'trq.ui' # # Created by: PyQt4 UI code generator 4.12.1 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: def _fromUtf8(s): ...
[ "noreply@github.com" ]
sammyyadav.noreply@github.com
528544d2649f9bc2cd2f05105c09bd53adea5883
72c3a92b9734cecb2c6386e6d5ec82f29b1795d7
/Code/BaselineAlgorithms/tests/test_summarizers/test_luhn.py
a9ab4238ebfea3de4255ab6e74269730d510b12f
[ "MIT" ]
permissive
kobi-2/BengaliSummarization
116c486dc9b243682b10fb1f2f15e52d3ae9db04
31334d12bd6bbd2db92f4b0ecc436e006cb96fd8
refs/heads/main
2023-04-17T07:53:11.858514
2021-04-26T12:32:27
2021-04-26T12:32:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,222
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals from Python.baselineAlgorithm.sumy._compat import to_unicode from Python.baselineAlgorithm.sumy.nlp.stemmers.czech import stem_word from Python.baselineAlgorithm.sumy.nlp.tokenizers import Tokenizer from Python....
[ "51800270+tafseer-nayeem@users.noreply.github.com" ]
51800270+tafseer-nayeem@users.noreply.github.com
54ff96ab34c33c8f01b1916ca42287abe1003e46
353def93fa77384ee3a5e3de98cfed318c480634
/.history/week01/hoework01/gettop10frommaoyam01_20200626092144.py
117a3cb23b43109ab0bbd9c834519eb7bb082518
[]
no_license
ydbB/Python001-class01
d680abc3ea1ccaeb610751e3488421417d381156
ad80037ccfc68d39125fa94d2747ab7394ac1be8
refs/heads/master
2022-11-25T11:27:45.077139
2020-07-19T12:35:12
2020-07-19T12:35:12
272,783,233
0
0
null
2020-06-16T18:28:15
2020-06-16T18:28:15
null
UTF-8
Python
false
false
2,464
py
# 使用requests,bs4库,爬取猫眼电影top10的电影名称、电影类型、上映时间,并以utf-8的字符集保存到csv文件中 import requests from bs4 import BeautifulSoup as bs maoyanUrl = "https://maoyan.com/board/4"; user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36' header = { 'Conten...
[ "31039587+ydbB@users.noreply.github.com" ]
31039587+ydbB@users.noreply.github.com
1d416e0212b1c14ef4c3fb2f89c2870522dc1e54
a8f05b1e415654b8bfc48bbe670dbf13e8a35058
/dangernoodle.py
348c1d695ac03a5c07a661df784ee0ba2c26230e
[]
no_license
JAKeijzer96/DangerNoodle
6dd956e17e6201f645cf0a5d51a7b857f27c1463
0295d04c27223fbc9a9c75b0d66c06a8c9dea3eb
refs/heads/master
2022-12-26T12:45:16.865356
2020-09-29T21:06:11
2020-09-29T21:06:11
274,903,148
0
0
null
null
null
null
UTF-8
Python
false
false
39,645
py
""" 29-09-2020 DangerNoodle - A very original game by Jasper Inspired by The New Boston pygame tutorial, link to playlist below: https://www.youtube.com/playlist?list=PL6gx4Cwl9DGAjkwJocj7vlc_mFU-4wXJq TODO (init, draw_snake, game_loop, generate_apple functions): Find method to get high fps with possibly lower x,y in...
[ "jasperkeijzer96@gmail.com" ]
jasperkeijzer96@gmail.com
568b6b3fb346131d30e415272fa58786c1e62fe9
b0d5a4f2238efcd48926aaa5d367b2222a63578f
/src/models/test_generic_model.py
aebcb8f2eb1d4da3024114eb61c622a5c48b7fdb
[]
no_license
UpStride/classification-api
b830673745fd3d7ee38c2bc0c7d12d9196bb9d0d
2b08b90ed8af9c2f006118a19f4ef95df010a83e
refs/heads/master
2023-04-20T06:20:49.140532
2021-05-10T09:31:36
2021-05-10T09:31:36
300,656,391
26
9
null
2021-05-04T17:24:36
2020-10-02T15:21:55
Python
UTF-8
Python
false
false
1,903
py
import sys import unittest import tensorflow as tf from unittest.mock import MagicMock, patch from .generic_model import Layer, GenericModel # sys.modules['upstride.type2.tf.keras.layers'] = MagicMock() # sys.modules['upstride'] = MagicMock() class TestLayer(unittest.TestCase): def test_n_layers_before_tf(self): ...
[ "archimist.linux@gmail.com" ]
archimist.linux@gmail.com
92f4baaf68b75d4190c8f61e3040ac41cea3c0ac
2b1a812e9da56dbdd4f067a7046da0db5ab924a1
/api.py
0035858130d1b6fd3b8df96cfbc0aaf794ecb5b5
[]
no_license
johnmave126/filmsoc-website-backend
be94be6b704a265ece9d58b9c3dc8ca42076092a
a52aabe3958e02f173bd4e4f9469464c4ce8060f
refs/heads/master
2020-03-28T18:30:51.824939
2014-03-16T16:41:33
2014-03-16T16:41:33
7,338,872
1
0
null
null
null
null
UTF-8
Python
false
false
34,417
py
import uuid from datetime import datetime, timedelta from flask import g, jsonify, render_template, request, json, Response from peewee import DoesNotExist, fn from flask_peewee.rest import Authentication from flask_peewee.utils import get_object_or_404 from app import app from auth import auth from models import * f...
[ "johnmave126@gmail.com" ]
johnmave126@gmail.com
9ce90c907be62041616668e0e0bf7cb0a7aac60f
4b0e06ba4a68c17d0d6c36f33de7be3ea33132a1
/p1_aula5/63.py
aeb270d2053f7d6f02f80512c446cded9eff2cbd
[]
no_license
lucasmsantini/lucasmsantini
bdba7b6802d8b915cec1c40a2dc1b7c6e80ec48b
647fc41a85bb301a00aaaf5a39a84402ba021993
refs/heads/master
2023-05-15T04:00:44.779245
2020-08-03T17:57:16
2020-08-03T17:57:16
259,648,959
0
0
null
2021-06-02T02:44:27
2020-04-28T13:44:55
Python
UTF-8
Python
false
false
281
py
print('Sequência Fibonacci') print('-='*20) n = int(input('Quantos nºs deseja mostrar? ')) t1 = 0 t2 = 1 print('{} - {} - '.format(t1, t2), end='') cont = 3 while cont <= n: t3 = t1 + t2 print('{} - '.format(t3), end='') t1 = t2 t2 = t3 cont += 1 print('Fim')
[ "lucas.santini@nddigital.com.br" ]
lucas.santini@nddigital.com.br
a88a544ffd2d07eb0de1c4220d463733c1ad7f92
3fda3ff2e9334433554b6cf923506f428d9e9366
/hipeac/migrations/0003_auto_20181203_1702.py
7b70e8202885094bb723ff32f5c3484853d1a689
[ "MIT" ]
permissive
CreativeOthman/hipeac
12adb61099886a6719dfccfa5ce26fdec8951bf9
2ce98da17cac2c6a87ec88df1b7676db4c200607
refs/heads/master
2022-07-20T10:06:58.771811
2020-05-07T11:39:13
2020-05-07T11:44:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,826
py
# Generated by Django 2.1.3 on 2018-12-03 16:02 from django.conf import settings import django.core.validators from django.db import migrations, models import re class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("hipeac", "0002_au...
[ "eneko.illarramendi@ugent.be" ]
eneko.illarramendi@ugent.be
cff3977d4479674d5ad613e5cf07ee5c36761581
58afefdde86346760bea40690b1675c6639c8b84
/leetcode/knight-dialer/403821504.py
fe51e2c85fa1fd0b3cc504be5cf71dc4954c155d
[]
no_license
ausaki/data_structures_and_algorithms
aaa563f713cbab3c34a9465039d52b853f95548e
4f5f5124534bd4423356a5f5572b8a39b7828d80
refs/heads/master
2021-06-21T10:44:44.549601
2021-04-06T11:30:21
2021-04-06T11:30:21
201,942,771
1
0
null
null
null
null
UTF-8
Python
false
false
613
py
# title: knight-dialer # detail: https://leetcode.com/submissions/detail/403821504/ # datetime: Sat Oct 3 15:34:15 2020 # runtime: 2428 ms # memory: 45.6 MB class Solution: def knightDialer(self, n: int) -> int: @lru_cache(None) def dp(i, k): if k == 0: return 1 ...
[ "ljm51689@gmail.com" ]
ljm51689@gmail.com
9dd78de987467b25f55fa5a03f8194ba29b5762a
22ca7f36830e41b016c75ade39839a9f601cda79
/cwiczenia/l5/build_automata.py
6ba6b07f48ba0f01835f029dfcbfb6f50249251f
[]
no_license
huntekah/PTX
bc4fd5a0aef853b8fc561a3ff1f4696f33fd2c8a
6fd2b1a3aeaecab7ce380bc4fadc026ded53338c
refs/heads/master
2022-04-01T09:50:21.211603
2020-01-22T09:52:54
2020-01-22T09:52:54
212,548,289
0
0
null
null
null
null
UTF-8
Python
false
false
678
py
#!/usr/bin/env python """ Zbuduj automat z liczby słów cat words | ./basename $0 > output Author: Krzysztof J. """ import sys import argparse def build_automata(words): max_state = 0 words = [ x.strip() for x in words ] for word in words: max_state += 1 print(f"0\t{max_state}\t{word[0]}"...
[ "huntekah@gmail.com" ]
huntekah@gmail.com
66aecc6bd32f630fc02a0fb64b878c5ec48930ca
e23e3f645c640691c6150cbf19c76ed3dbd20abd
/Graphs/bfs.py
1d0979ff7972f0cb2023681c0535792ad8e9fbba
[]
no_license
ravikumarvj/DS-and-algorithms
178c97ed5ad98d9611b3e457c8af5879afd2f78d
7eecc383c206d38bbc0e566a9c45f75aa147e9c2
refs/heads/master
2021-04-15T09:03:07.327210
2018-10-21T06:17:11
2018-10-21T06:17:11
126,145,982
0
0
null
null
null
null
UTF-8
Python
false
false
3,679
py
### COPIED ### VERIFIED from digraph import DiGraph from queue import Queue from queue import LifoQueue from graph import NGraph from time import time vis = set() def dfs_rec_alt_r(graph, start, visited): print(start, end=' ') for neigh in sorted(graph.vert_list[start].get_neighs()): if neigh not in...
[ "ravikumarvj@gmail.com" ]
ravikumarvj@gmail.com
5e8efb0f540d3c1f1368da655d6f19849506487b
0a3f1290d1df0c0dcdbb1ff6e6f6c0c4fb05461e
/xsqlmb/src/dao/Xdb.py
7bd833a62254635b426a19bdf959ce8ea6812417
[]
no_license
xx-sec/tengine-mosecruity-logdev
8f64ca26bd75c660910294e3c87b064652ea1423
af9c3e28a738fe8a610bb8f837f56ac01f84fa55
refs/heads/master
2021-06-23T12:43:10.791552
2019-09-02T08:26:11
2019-09-02T08:26:11
192,167,234
2
1
null
2021-06-10T21:35:40
2019-06-16T08:22:22
Python
UTF-8
Python
false
false
610
py
from xsqlmb.src.cfgs.basicConfig import DATABASES class XdbManager(): def __init__(self, db_name=DATABASES["default"]["NAME"]): self.db_name = db_name def _create(self): from xsqlmb.src.ltool.sqlconn import sql_action sql_action("""CREATE DATABASE {db_name} DEFAULT CHARACTE...
[ "sing2x@example.com" ]
sing2x@example.com
f6b02ecc9e7dbc5d17a3c89e9e531acee9296b59
22ba0a26de1b281ddb66e8e665d611c5d1384092
/utils/celery_model/celery_task/auto_check.py
52608773a1aff44fe68729f3becb65e1ccdf8a3e
[]
no_license
zy6103/opstool
a049e43e22dedbea80abdaddd15f9e2064aa1bf1
646834e350affb0cf95fe233ab9d7033c32fd0ef
refs/heads/master
2021-02-15T17:44:50.665969
2020-03-07T15:13:03
2020-03-07T15:13:03
244,917,017
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
#!/opt/python3/bin/python3 # _*_ coding:utf-8 _*_ # Author: Yong from celery_task.celery import cel import os,sys # ROOT_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) # sys.path.append(ROOT_DIR) from utils.celery_model.remote_running import RemoteHost @cel.task def task_celery(ip...
[ "zhaoyong@abc.123" ]
zhaoyong@abc.123
84efd48c3dca8e62d86b033751b766bdc57958c5
e8c8d203eb0107799f213c896fdc9d596afa72ef
/sparseConv/multitask/semseg/libs/cls_data_loader.py
b872b7fdfd660be41e5daacda389f70ac0d54ce8
[ "MIT" ]
permissive
REAL-LAB/Scene-Recognition-in-3D
021bc85620294572502d7b37d2337f65fa8f8459
8fb869e1f8e8ff48c6f1082bb75f60a562875fc5
refs/heads/master
2023-01-21T11:08:42.837348
2020-11-26T13:42:52
2020-11-26T13:42:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,536
py
import torch, numpy as np, glob, math, torch.utils.data, scipy.ndimage, multiprocessing as mp import math import MinkowskiEngine as ME from torch.utils.data.sampler import Sampler import os,sys from libs.pc_transform import get_transform import copy # scene type remapper TYPE_CLASS_LABELS=('aparment','bathroom','bedro...
[ "shenhuan@student.ethz.ch" ]
shenhuan@student.ethz.ch
905fdc71f9d57a3944c408c8c6ff2b9aa0fcde08
a3a26ec5d5ac4aa034484f1652ed212ec7464baf
/MyEnv/lib/python3.7/random.py
a94db2a2b88f25a473923b96f4522ea4859cae3c
[ "MIT" ]
permissive
pratikagarwal2203/manim_simulations
b3aabe8eb0491dba0f0061b46387da4d6ad259c0
9d7820b894914afcb40e7f859387d9120110fa2b
refs/heads/master
2020-05-06T12:30:29.916096
2019-04-21T13:18:11
2019-04-21T13:18:11
180,126,215
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
/home/pratik/anaconda3/lib/python3.7/random.py
[ "pratikagarwal2203@gmail.com" ]
pratikagarwal2203@gmail.com
2380fab03abd3648f88932ddb49710953cd4e09a
38c38cd78dd2d9b15cb0f96323873da5d32a8c2c
/ee/clickhouse/models/test/test_cohort.py
3e109aa5e2d31f1d998358df4f55c6d44191dbf0
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
tirkarthi/posthog
dfe29039c1113255066733e7b78c9677e1a2eebb
99b2f5aea195fb505d671ef74ce0f616631783bd
refs/heads/master
2023-08-12T13:30:25.225936
2021-06-08T08:35:47
2021-06-08T08:35:47
242,179,872
0
0
MIT
2020-02-21T16:12:00
2020-02-21T16:11:59
null
UTF-8
Python
false
false
17,020
py
from datetime import datetime from uuid import uuid4 import pytest from freezegun import freeze_time from ee.clickhouse.client import sync_execute from ee.clickhouse.models.cohort import get_person_ids_by_cohort_id, recalculate_cohortpeople from ee.clickhouse.models.event import create_event from ee.clickhouse.models...
[ "noreply@github.com" ]
tirkarthi.noreply@github.com
9b319b16245499c1e69d6723bd3bee7e380917d4
3efc840ece75aaabab8bca8362da782ac9367f31
/watchlist/watchlist/views.py
77a366d046d9afa050e6e3297d8e879facadf29d
[]
no_license
yao-yong-kang/flaskweb
dd6decacc63b65b1b294364cb5446de7c9c7700b
5531c7f27db9d71d5efef584590c071d3130d4d3
refs/heads/master
2023-01-21T15:23:39.735178
2020-04-19T09:58:16
2020-04-19T09:58:16
252,342,990
1
0
null
2020-04-08T07:44:40
2020-04-02T03:09:53
Python
UTF-8
Python
false
false
3,210
py
from watchlist import app,db from flask import Flask,url_for,render_template,request,flash,redirect from flask_login import login_user,logout_user,login_required,current_user from watchlist.models import User,Movie # views 视图函数 @app.route('/',methods=['GET','POST']) def index(): if request.method == 'POST': ...
[ "2670211238@qq.com" ]
2670211238@qq.com
ed0421d536864243149bdf2d9791422d4d87cb1f
b0377db122ede07c751df50b8db03bfd4ea1cce5
/26.py
fa142e8e50f776956d120031b0e36c9e536d95de
[]
no_license
pokerSeven/leetcode
766227aea17dacc1b99edeba7171543be5732895
7e8fc8ca679e9d16fc7c14b32b169f2a2b8cfa1c
refs/heads/master
2020-12-02T18:01:44.998540
2017-10-31T07:13:50
2017-10-31T07:13:50
59,923,594
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
# -*- coding: utf-8 -*- """ 26. Remove Duplicates from Sorted Array Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space for another array, you must do this in place with constant memory. For example, Given input array num...
[ "cxlhjwow@163.com" ]
cxlhjwow@163.com
19ec5d0d72904469323ba8e72d35df6a8cff605c
496af99718087aaff328539ad773eea177acc388
/buy_and_sell_stocks.py
d32db15b4cf26d3571cd87801086e78ef83141eb
[]
no_license
ReemmaMP/interview_questions
e440b6cc9c56f7f38ef852126a5a43ddd98d9a28
8051ed9f9d57d2a6e0688faf1129ba59011489ee
refs/heads/master
2021-01-12T16:01:47.493316
2016-10-25T17:23:51
2016-10-25T17:23:51
71,921,332
0
0
null
2016-10-25T17:22:11
2016-10-25T17:22:10
null
UTF-8
Python
false
false
1,085
py
""" Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock), design an algorithm to find the maximum profit. Example 1: Input: [7, 1, 5, 3, 6, 4] Output: 5 max. difference = 6-...
[ "abdulfaizp@gmail.com" ]
abdulfaizp@gmail.com
2a9ff450f3c482b34eb8687346f3c7e4801cec7c
50ba981bc65efea92f61c698cecfbbe3214a724e
/Django_Forms_Demo/Django_Forms_Demo/urls.py
819f017ce66d33152fbe7e2a4d1447170c5cd234
[]
no_license
shubhamjain31/demorepo
ff0a4283fc866ea94df1c340da430271daf93cb6
90639b8622e68155ff19bfec0bb6925b421f04cf
refs/heads/master
2023-04-27T03:42:10.057387
2022-06-28T06:14:44
2022-06-28T06:14:44
229,792,545
1
0
null
2023-04-21T21:36:24
2019-12-23T17:04:22
Python
UTF-8
Python
false
false
803
py
"""Django_Forms_Demo URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') C...
[ "sj27754@gmail.com" ]
sj27754@gmail.com
51e2ccdf5c07a3e00b107b7672bbdd45d36d822d
4a9c962176eff7e66b1a65f917ddeb14ecfd678e
/src/model.py
c0b1db298ede2abfe5f16848d739d24f9663b1eb
[]
no_license
bdrad/report_categorization
5da6be1e58c06f5fd8ba3c04bb44c91268b92706
d51629e8a956316ccf627ab380abb620ae0443d7
refs/heads/master
2021-05-03T13:00:25.756899
2018-10-29T03:36:30
2018-10-29T03:36:30
120,506,922
0
0
null
null
null
null
UTF-8
Python
false
false
2,348
py
import fastText import os import pickle from random import shuffle HARD_NEG_DEFAULT = ["NEGEX_acute NEGEX_intracranial NEGEX_hemorrhage NEGEX_hernia NEGEX_hydrocephalus", "NEGEX_acute NEGEX_abnormality NEGEX_abdomen", "NEGEX_acute NEGEX_abnormality NEGEX_abdomen NEGEX_pelvis", ...
[ "swerwath@berkeley.edu" ]
swerwath@berkeley.edu
cf6302ee5592af07ff96cf030e450f95ba11e510
1c0aacf428073c01ac996d4d40898f1a13ae20c8
/files/views.py
009dab88ceea6a238a176bbd055fe3dc70c6ecd0
[]
no_license
terryg/bearded-hipster
76c53c85b20f5082fbcacc5c2c27e118acffebdf
bf8fa290c9ff93b9ebcebc14e0505b10d3217742
refs/heads/master
2020-06-03T20:10:49.717312
2007-03-28T01:33:55
2007-03-28T01:33:55
9,801,451
1
0
null
null
null
null
UTF-8
Python
false
false
3,466
py
from django.shortcuts import render_to_response from django.http import HttpResponse from django.http import HttpResponseRedirect from foodproject.files.models import Entry from time import gmtime, strftime, localtime, mktime, time import os import string import re import array PATH_SERVER = '/Users/tgl' PATH_WWW = ...
[ "tgl@rideside.net" ]
tgl@rideside.net
b8124bf03ffbbd893618818acacf5f2824ca41c7
b548dd065df175b3bf2e49d8be84ae284382ba7d
/curvature/hyper.py
b8ce109a0afa1dad0a0bfa59bbbf5a66c7b5d04b
[]
no_license
thudzj/BayesAdapter
29b77dc4a66b68cc53ea8785d548a252739aab67
6f34f739a89b4d7d6442433a9587d7d7414143a8
refs/heads/master
2023-03-25T21:56:43.934240
2020-09-30T15:00:14
2020-09-30T15:00:14
299,942,395
0
0
null
null
null
null
UTF-8
Python
false
false
10,654
py
import os import warnings import numpy as np import skopt import torch import torchvision import tabulate import datasets from lenet5 import lenet5 from resnet import resnet18 from evaluate import eval_bnn from sampling import invert_factors from utils import (accuracy, setup, expected_calibration_error, predictive_e...
[ "dengzhijiethu@gmail.com" ]
dengzhijiethu@gmail.com
cb119d28008471d35242b717de1bb8caade3bf26
1919e45e9e3dadc9f449804671991a4cec7d5790
/webapp/app/logs/__init__.py
4a07a21ad1b43836427de7e97f96a4df4c5c6e19
[ "MIT" ]
permissive
rmward61/CROP
55d6c250b5abc8bf01d94c89d6a078409a5af089
d46522338ab35f9a80d40950403387e553a35d29
refs/heads/master
2023-04-22T23:12:09.041373
2021-05-10T11:41:08
2021-05-10T11:41:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
from flask import Blueprint blueprint = Blueprint( 'logs_blueprint', __name__, url_prefix='/logs', template_folder='templates', static_folder='static' )
[ "12182911+tomaslaz@users.noreply.github.com" ]
12182911+tomaslaz@users.noreply.github.com
cfa52e3568626146e12d1f7e13a70e2c3b5ad93a
a269c579f38218c2447ef920113a1ee1f01decee
/main.py
5c74d979958a7b33f723bf180612879644120a4d
[]
no_license
woosteelz/CrawlingwithPython
dd1d03c5266b9867111b67db99e8cb3ab4281989
4fd46611e028ce2010684fc19f087a69c5a75c19
refs/heads/master
2023-02-09T15:04:41.832101
2020-12-17T23:28:05
2020-12-17T23:28:05
322,437,824
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
from indeed import get_jobs as get_indeed_jobs from stackoverflow import get_jobs as get_so_jobs from jobkorea import get_jobs as get_jobkorea_jobs from save import save_to_file indeed_jobs = get_indeed_jobs() so_jobs = get_so_jobs() jobkorea_jobs = get_jobkorea_jobs() jobkorea_jobs = list(filter(None, jobkorea_jobs))...
[ "woosteelz@naver.com" ]
woosteelz@naver.com
f73f479e605321b60ed24838163882b728e952fb
488dfea1687152188bb0a6ca38a9bd24594f7010
/qiskit/transpiler/passes/calibration/builders.py
ee53551265388b2789dface04f34b9f347ba3ece
[ "Apache-2.0" ]
permissive
CoolProgrammerX/qiskit-terra
e5b00a8efd5aae8c2de4ff52836640c70f09729a
6262127f9f18e4c01846ec23a757bf1c97624fd9
refs/heads/main
2023-07-19T07:49:07.296112
2021-09-07T16:32:01
2021-09-07T16:32:01
404,226,586
1
0
Apache-2.0
2021-09-08T05:49:23
2021-09-08T05:49:23
null
UTF-8
Python
false
false
18,071
py
# This code is part of Qiskit. # # (C) Copyright IBM 2021. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
[ "noreply@github.com" ]
CoolProgrammerX.noreply@github.com
d908e5a9831b6cc33901c9951bf1ef18e5645522
874ad023c7084e7f364fd2406ac15691fa92ac19
/resume.py
aea98ea71e8a7ece62ccf8de7543328429a857cf
[]
no_license
mejedi/py-ssl-test-gen
649ac60809a17200682a8aa15424b061c211883c
897505b0056b2a817f3ebca280af02a5474fcbe1
refs/heads/master
2021-01-17T15:11:21.992878
2016-05-31T12:54:34
2016-05-31T12:54:34
33,561,458
0
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
from OpenSSL import SSL import simulation as xsim def sim_session_resumption(sim, with_ticket = False): """Simulate SSL connections utilizing SSL session resumption feature. The first connection executes the full SSL handshake. The second connection performs SSL session resumption via a session ID ...
[ "mejedi@gmail.com" ]
mejedi@gmail.com
9091c850df1cd68b0d5dd859a95410a8b0efdf37
2017fcdabddbdde71f70c3ee87fb8f71a74a6b7c
/test_snp.py
2298fc076d2c82aee44be58375496f02433dec39
[ "MIT" ]
permissive
Noobn00b/LSSTM
4b182d82bd83d9b92eb79c17005316d51a0ce9c4
d6e7da2d4c92537f2ea1ccbcac7b96d00e59a9e0
refs/heads/master
2021-01-03T04:56:41.872598
2019-06-12T19:54:17
2019-06-12T19:54:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
639
py
import pandas as pd from aiding_functions import load_obj from Strategy import Strategy import matplotlib.pyplot as plt raw_data = pd.read_csv('./finance_data/raw_data.csv') data_svm = pd.read_csv('./finance_data/raw_data_svm.csv') data_stm = load_obj('data_stm') C = 30 sig2 = 100 strat = Strategy(raw_data = raw_dat...
[ "ggc115@ic.ac.uk" ]
ggc115@ic.ac.uk
826eb492ee47d65cd4bb95310e2864e6e0c53457
052655365e33b3f90fc44a2736cd5b9d4e273505
/djangoformproj/djangoformapp/apps.py
46c0bee74a6c5fb23c84afd7577df51abf9a207e
[]
no_license
Sayan172018/Codebase
82b083f46460073d345e5850f4f39644c0ce4b02
f308b856dddefc664137cdda25df77a62d85d471
refs/heads/master
2020-09-14T16:51:41.296989
2019-11-29T16:01:34
2019-11-29T16:01:34
223,190,855
0
0
null
null
null
null
UTF-8
Python
false
false
106
py
from django.apps import AppConfig class DjangoformappConfig(AppConfig): name = 'djangoformapp'
[ "noreply@github.com" ]
Sayan172018.noreply@github.com
8b2d5d531bd1ce61f410ddb5515f23a706d71dec
5e48c652d4ac0fe5735c4a43761de6c557f4fcc0
/6 kyu/song_decoder.py
4c15342648ec984de53883c060042be865a0d35d
[]
no_license
Medsabkhi21/codewars.com
1e9f4ab0d2fc859b738023c43aefb07ddc33826c
af0e0d61c3a47fade0de58f9766079622c906b34
refs/heads/main
2023-04-23T06:54:32.636320
2021-05-10T23:01:51
2021-05-10T23:01:51
366,192,064
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
def song_decoder(song): wublessSong=song.replace('WUB', ' ') return " ".join(wublessSong.split())
[ "medsabkhi@gmail.com" ]
medsabkhi@gmail.com
75051d09b67149f3380eaf69db28304e417cc616
13569261f1f7808aa2f9424a957358da77a7a949
/Monet_Harkin/Bike/server.py
755633b8d945d7b8a725af4c53ff9e9d3b02838b
[]
no_license
CodingDojoDallas/python-nov-2016
75049d114116330c1898ae5e3d1fd202a999da5d
a6a50cc7cd4f50b59459d995d2df4707417b8f1c
refs/heads/master
2021-01-12T12:21:18.972855
2016-11-23T21:24:53
2016-11-23T21:24:53
72,453,587
0
13
null
2016-11-23T21:24:54
2016-10-31T16:07:05
Python
UTF-8
Python
false
false
792
py
# Monet Harkin - Bike OOP test class Bike(object): def __init__(self, price, max_speed): self.price = price self.max_speed = max_speed self.miles= 0 def displayInfo(self): print "Price: "+ str(self.price ) print "Max speed: "+ str(self.max_speed) print "Miles: "+ str(self.miles) def ride(self): self....
[ "mpxluv@msn.com" ]
mpxluv@msn.com
d9644ab2aef2df384bac70eef10e261897063007
2a58bd754831cc6535d4ecc429514d46dc2d961a
/contours_detection_arduino_control.py
d1d6b8e60823e2916701945b6bfa856fe92e3208
[]
no_license
sampritip/Shape_Detector
61e5b387e58d53aa2bceabe0a5055138bfb5c690
26eafb581e9398eaf67b10c7ded0b9f5af8433ac
refs/heads/main
2023-06-24T06:48:13.630704
2021-07-24T02:59:25
2021-07-24T02:59:25
388,883,165
0
0
null
null
null
null
UTF-8
Python
false
false
4,062
py
import cv2 import numpy as np from pyfirmata import Arduino, util import time board = Arduino('COM5') frameWidth = 300 frameHeight = 300 cap = cv2.VideoCapture(1) cap.set(3,frameWidth) cap.set(4,frameHeight) def empty(a): pass cv2.namedWindow("Parameters") cv2.resizeWindow("Parameters",300,300)...
[ "noreply@github.com" ]
sampritip.noreply@github.com
871f0d67060d51a0f99c1d015b019564e3419060
6f4f8a8406f5101653fba51fc595ad572f32829e
/thonny/plugins/cpython/__init__.py
0ba29cc668058820f6d0ef91495e2cd6139e1351
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
codecopy/thonny
4664ebe1e19665bb2e4e60134f8112c225a5726c
36d81fe6a13f79ee7a0bf2a85e8128e610a9b843
refs/heads/master
2023-02-17T00:08:17.295990
2021-01-07T17:21:25
2021-01-07T17:21:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,238
py
import logging import os.path import subprocess import sys import tkinter as tk from tkinter import messagebox from tkinter import ttk import thonny from thonny import get_workbench, get_runner, ui_utils, THONNY_USER_DIR, running from thonny.common import ( ToplevelCommand, InlineCommand, is_same_path, ...
[ "aivar.annamaa@gmail.com" ]
aivar.annamaa@gmail.com
3a82f21e1cee7978df599fc71b14f30cda101412
2505971657addeea4f2cf8bc78178d10503230b8
/web_graph_house/urls.py
1fc5b5778d0ef88cbe56c997943854d57d354be4
[]
no_license
toroumm/web_graph_house
2910bca01308ba7c62ebddc89da8999b2326a4b3
dbf8009826b6367234e8d88ec2a04e001569e87b
refs/heads/master
2021-01-25T09:09:07.167940
2017-06-09T23:42:05
2017-06-09T23:42:05
93,785,814
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
"""web_graph_house URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/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') ...
[ "toroumm@toroumm.local" ]
toroumm@toroumm.local
92caf26cec36f1b861f02eecb01b7e2651228cf0
52b812e8da01367511d98debcd338986bce8aada
/Mathmatha/mathmatha.py
8552de2bb86017e85db58a4f82347793e89b879c
[]
no_license
Paul-Michaud/BreizhCTF-2k16
47d0029c4e5bcfd3f62cae6c79d57a756e48f106
84184ae0427e5840b68e8ebe6866dbd9eaa58271
refs/heads/master
2021-06-01T04:31:43.737751
2016-05-03T16:38:50
2016-05-03T16:38:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,638
py
#IT'S WORKING SO I DON'T CARE ! import urllib2 import hashlib import itertools import socket import numpy as np if __name__ == '__main__': s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(("10.19.127.222",41000)) s.settimeout(600) #s.sendall("0") data = s.recv(9999) for num in ...
[ "paul.du56@gmail.com" ]
paul.du56@gmail.com