blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
37c0f4f4f38905db494572485aff0acda8d01ef6
21a15af3e5b38d1cb10a107c2b66b0f712b49753
/final_project/combine_pred/clean_mgdb.py
3c242cf452a390a095112304c7c42cb3ecf45c4a
[ "MIT" ]
permissive
dbirman/cs375
00793f07730e9d606e6c83125d1d16ad337f1a1c
7aeac1ed57eff74cbecb3e1091b01f00d34629a8
refs/heads/master
2021-05-08T06:28:28.505935
2017-12-15T02:19:27
2017-12-15T02:19:27
106,620,325
0
2
MIT
2017-12-13T02:47:25
2017-10-11T23:33:22
Jupyter Notebook
UTF-8
Python
false
false
2,111
py
from __future__ import division, print_function, absolute_import import os, sys import numpy as np import cPickle import json import copy import argparse import pymongo as pm import gridfs def get_parser(): parser = argparse.ArgumentParser(description='The script to delete the models saved in mongodb') parse...
[ "ianeisenberg90@gmail.com" ]
ianeisenberg90@gmail.com
c9dd894b248f8e6b4bf9d0ecaec51c0503a07b4e
9cec93a18ea94504947820205d0faae4d67ecd8d
/H2TauTau/prod/h2TauTauMiniAOD_emu_data_cfg.py
29fd19e53e01ae472034e8e29c7df85f5492613b
[]
no_license
DESY-CMS-SUS/cmgtools-lite
de88b1d5dc20a925ed5b7c7be69fa3ef677955c6
db52d50047178563a0eb7f5858ae100aa408ec68
refs/heads/8_0_25
2021-05-23T04:36:22.900460
2017-11-09T10:32:41
2017-11-09T10:32:41
60,184,794
3
9
null
2021-02-17T23:22:12
2016-06-01T14:37:18
Python
UTF-8
Python
false
false
118
py
from CMGTools.H2TauTau.h2TauTauMiniAOD_generic_cfg import * process = createProcess(channel='mu-ele', runOnMC=False)
[ "Yuta.Takahashi@cern.ch" ]
Yuta.Takahashi@cern.ch
fdae1cba35a9ea316df4511227052aeff18950ea
9b79dc0b4b2f13dea85a1d29177e5eb266b6e7f7
/var/lib/python-support/python2.6/orca/scripts/apps/yelp.py
c9fc5a9290f9ecd62ae22fb6f6fd9b245cfa4fec
[]
no_license
haniokasai/netwalker-rootfs
0bc87efc0ae478338b6326fd9118befcbcc5cd06
d08f7bf370a82b6970387bb9f165d374a9d9092b
refs/heads/master
2021-01-10T11:04:34.436513
2016-01-12T06:09:50
2016-01-12T06:09:50
36,504,146
2
1
null
null
null
null
UTF-8
Python
false
false
62
py
/usr/share/python-support/gnome-orca/orca/scripts/apps/yelp.py
[ "htek@haniokasai.com" ]
htek@haniokasai.com
3c10902f7900b2106e7a058e821f3ff2c015af73
d0b52237c314fbae746a3922205c7f3c22c99498
/server/runserver.py
bc997c42cae9f2a2a678909f3e02796ebcc9a5f0
[]
no_license
kallebefelipe/spotify-albums
5a7e9db6729351477e89ff5bdb7d7a10fd310393
44b16225a950f9a1580ede8c317af688b6d73dec
refs/heads/master
2022-12-10T16:45:43.685587
2019-10-30T00:54:49
2019-10-30T00:54:49
217,175,675
0
0
null
2022-12-10T06:37:08
2019-10-24T00:08:25
JavaScript
UTF-8
Python
false
false
618
py
from flask import request, Flask import requests import json from flask_cors import CORS app = Flask(__name__) CORS(app) @app.route('/token', methods=['GET']) def login(): if request.method == 'GET': url = "https://accounts.spotify.com/api/token" payload = { 'grant_type': "client_cre...
[ "kallebefelipe@gmail.com" ]
kallebefelipe@gmail.com
35d34c6d612853fb568231e774c9d4634b8cd4de
025f930f0d342d116604a185103d13826d7ac360
/GenericApiViews2/api/views.py
a61030fbcd532dfad511ff531fd4e9a4cc35ca15
[]
no_license
moinakmalkhan/Learn-Django-Rest-Framework
196c30591ed43ef7722cb22dea600a5ddcc0b8cf
de2ce66779525647d582998450a47558b70376f9
refs/heads/master
2023-09-03T08:51:50.346047
2021-11-14T15:48:23
2021-11-14T15:48:23
426,378,883
1
0
null
null
null
null
UTF-8
Python
false
false
1,392
py
from .serializers import StudentSerializer from .models import Student from rest_framework.generics import ListAPIView, CreateAPIView, RetrieveAPIView, UpdateAPIView, DestroyAPIView, ListCreateAPIView, RetrieveDestroyAPIView, RetrieveUpdateAPIView, RetrieveUpdateDestroyAPIView class StudentList(ListAPIView): query...
[ "moinakmalkhan@gmail.com" ]
moinakmalkhan@gmail.com
61979b816a8ccba14cde24e7256aaea343707468
ff23e5c890216a1a63278ecb40cd7ac79ab7a4cd
/clients/kratos/python/test/test_update_login_flow_with_totp_method.py
1a1c70aa5b19aa111a665097c39a43f3b7ef81ef
[ "Apache-2.0" ]
permissive
ory/sdk
fcc212166a92de9d27b2dc8ff587dcd6919e53a0
7184e13464948d68964f9b605834e56e402ec78a
refs/heads/master
2023-09-01T10:04:39.547228
2023-08-31T08:46:23
2023-08-31T08:46:23
230,928,630
130
85
Apache-2.0
2023-08-14T11:09:31
2019-12-30T14:21:17
C#
UTF-8
Python
false
false
1,061
py
""" Ory Identities API This is the API specification for Ory Identities with features such as registration, login, recovery, account verification, profile settings, password reset, identity management, session management, email and sms delivery, and more. # noqa: E501 The version of the OpenAPI document...
[ "3372410+aeneasr@users.noreply.github.com" ]
3372410+aeneasr@users.noreply.github.com
50d95be7ef2ce5d4a134ccc436ebc29970f1a7f8
afbae26b958b5ef20548402a65002dcc8e55b66a
/release/stubs.min/Autodesk/Revit/DB/__init___parts/AreaTag.py
332d52a8e52d3635319402c9944936eaa97a724a
[ "MIT" ]
permissive
gtalarico/ironpython-stubs
d875cb8932c7644f807dc6fde9dd513d159e4f5c
c7f6a6cb197e3949e40a4880a0b2a44e72d0a940
refs/heads/master
2023-07-12T01:43:47.295560
2022-05-23T18:12:06
2022-05-23T18:12:06
95,340,553
235
88
NOASSERTION
2023-07-05T06:36:28
2017-06-25T05:30:46
Python
UTF-8
Python
false
false
1,410
py
class AreaTag(SpatialElementTag,IDisposable): """ Provides access to the area topology in Autodesk Revit. """ def Dispose(self): """ Dispose(self: Element,A_0: bool) """ pass def getBoundingBox(self,*args): """ getBoundingBox(self: Element,view: View) -> BoundingBoxXYZ """ pass def ReleaseUnmanagedR...
[ "gtalarico@gmail.com" ]
gtalarico@gmail.com
ec944233f08b6b31e0c6a20e89a857540fba1341
504efba4ab5ba1721ab3388144b16fa5f24833e7
/05_Chroma_Scan_NoSC/02_04/simulation_parameters.py
3e62fc436c63071f23e47fade4bde02984f16c0f
[ "MIT" ]
permissive
HaroonRafique/PS_Transfer
b568fe41c98357877c3bc63b2ca89f8724439da0
59ed8a0978ba4699f34c9f7a2500e0026759a2b6
refs/heads/master
2023-05-25T21:13:36.586605
2020-07-10T07:41:40
2020-07-10T07:41:40
213,405,455
1
0
null
null
null
null
UTF-8
Python
false
false
2,799
py
import numpy as np parameters = {} dps = [-2.5E-3, -2E-3, -1.5E-3, -1E-3, -0.5E-3, 0, 0.5E-3, 1E-3, 1.5E-3, 2E-3, 2.5E-3] parameters['dpp_rms'] = dps[3] parameters['x_offset'] = 0.#50E-6 # 50 micron orbit offset to begin oscillation parameters['n_macroparticles'] = int(5E4) # int(5E5) # Include machine (PS), t...
[ "haroon.rafique@protonmail.com" ]
haroon.rafique@protonmail.com
46e9e80b3ef30dbb6efd906e9158852e265a5b91
d125c002a6447c3f14022b786b07712a7f5b4974
/tests/bugs/core_4811_test.py
2bbaf2d77f1cba7d0e6a4e8ea3c6a6fc24a2c090
[ "MIT" ]
permissive
FirebirdSQL/firebird-qa
89d5b0035071f9f69d1c869997afff60c005fca9
cae18186f8c31511a7f68248b20f03be2f0b97c6
refs/heads/master
2023-08-03T02:14:36.302876
2023-07-31T23:02:56
2023-07-31T23:02:56
295,681,819
3
2
MIT
2023-06-16T10:05:55
2020-09-15T09:41:22
Python
UTF-8
Python
false
false
7,408
py
#coding:utf-8 """ ID: issue-5109 ISSUE: 5109 TITLE: Make user names behave according to SQL identifiers rules DESCRIPTION: JIRA: CORE-4811 FBTEST: bugs.core_4811 """ import pytest from firebird.qa import * substitutions = [('set echo.*', ''), ('Use CONNECT or CREATE DATABASE.*', ''),...
[ "pcisar@ibphoenix.cz" ]
pcisar@ibphoenix.cz
31abca92b67478232e45a2f43afb9ea19a723fb7
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_13917.py
902b5e03feced9e01f95264b296d6efbe93b91b0
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,843
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
efeb6964d4ee7986f15a1bfc4dc59835f24a8359
af9268e1ead8cdb491868c14a2240d9e44fb3b56
/last-minute-env/lib/python2.7/site-packages/django/core/management/sql.py
5cc7aaf4f51755cba6b812d95cb2f39c8ea9b876
[]
no_license
frosqh/Cousinade2017
d5154c24c93ca8089eeba26b53c594e92cb6bd82
c34d5707af02402bf2bb7405eddc91297da399ff
refs/heads/master
2021-01-20T07:57:34.586476
2017-10-22T18:42:45
2017-10-22T18:42:45
90,074,802
1
0
null
null
null
null
UTF-8
Python
false
false
2,026
py
from __future__ import unicode_literals from django.apps import apps from django.db import models def sql_flush(style, connection, only_django=False, reset_sequences=True, allow_cascade=False): """ Returns a list of the SQL statements used to flush the database. If only_django is True, then on...
[ "frosqh@gmail.com" ]
frosqh@gmail.com
35239d3462f35f0aad5fdfef0333f99b1a39b0e5
473d3edf1cc1fda57f7da875c16dc93a4ebbdb23
/blog/migrations/0001_initial.py
56ca95d90d3ca7a5f27d1d98cd9b39041a7ceb8e
[]
no_license
nelliejellie/blog
df9a61bc40f8589252591528ed238b8010a17e53
b629c8d3e2dd20b64c960f6f1f6f8bc7c62f95a4
refs/heads/master
2022-06-24T01:35:21.104705
2020-05-08T20:07:13
2020-05-08T20:07:13
261,609,317
0
0
null
2020-05-08T20:07:14
2020-05-05T23:57:54
JavaScript
UTF-8
Python
false
false
1,365
py
# Generated by Django 3.0.2 on 2020-04-29 09:21 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "emekaewelike@gmail.com" ]
emekaewelike@gmail.com
06e39ae81eeb08e88f62ee72fdeb30b8088d12d1
4d8f7abf3ec6ff049815663f1c3c0f85926caab9
/SF2D/Compute_renorm_HT_4tops.py
cbe5a6bbc3a44497c365ea653ac9440806ccf4c5
[]
no_license
daniel-sunyou-li/ChargedHiggs
07e160d92ae628ed950a1e13e9bbe41aabfa69d1
282139b9cee9788a2fc6c536c86cc4731e4f7de7
refs/heads/master
2023-08-06T06:27:44.969889
2021-08-06T14:42:00
2021-08-06T14:42:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,799
py
import ROOT import sys import numpy import argparse import array from ROOT import TFile, TTree parser = argparse.ArgumentParser(description="compute the renormalization factors for charged Higgs analysis") parser.add_argument("-f", "--file", default="", help="The path to the analysis tree") parser.add_argument("-l", ...
[ "jingyu.luo@cern.ch" ]
jingyu.luo@cern.ch
c78eff018f1221cf0e9bbbe56bc0e7d2cb566ff7
fca3644a3ab3c83bba33fb7a9a3bd94538a4dd5c
/drive/web/front/forms.py
a046ffe6bf4ba9cdacc31105def77467977003e6
[]
no_license
enixdark/pyra-structures
1a8327cf7de5c7b6ab552900e43d83001011cf15
fb8df7bdbc7a256381d42c501bf55c54ebf7dae6
refs/heads/master
2023-01-22T01:39:38.648567
2020-10-02T07:25:52
2020-10-02T07:25:52
98,119,242
0
0
null
2023-01-12T13:10:39
2017-07-23T19:05:22
CSS
UTF-8
Python
false
false
5,104
py
from marshmallow import ( fields, pre_load, Schema, validate, validates, validates_schema, ValidationError, ) import re from drive.utils.email_address import EmailAddress from drive.utils.i18n import _ from datetime import date def IsText(field): def text_validator(value)...
[ "cqshinn92@gmail.com" ]
cqshinn92@gmail.com
17d1add048a7e5db1e09574e9d1fe27e3d3112e2
548fbb3bf6648e76e711ee398148cae9ee10a0d2
/running_sum_array.py
14687c688612f9dc8f01a1f9715982cc4b68a444
[]
no_license
KonstantinSKY/LeetCode
34cce8eda7182aa6a1616b3471b0cfe9310fe1d4
1570122134b962412b0530c3850eb37f1c8c585e
refs/heads/master
2023-04-16T17:03:23.753146
2023-04-03T18:16:21
2023-04-03T18:16:21
310,714,169
1
0
null
null
null
null
UTF-8
Python
false
false
513
py
""" """ import time from typing import List class Solution: def runningSum(self, nums: List[int]) -> List[int]: for i in range(1, len(nums)): nums[i] += nums[i-1] return nums if __name__ == "__main__": start_time = time.time() print(Solution().runningSum([1, 2, 3, 4])) pri...
[ "sky012877@gmail.com" ]
sky012877@gmail.com
544d0d079ce7d07e8a91f5a310818a244f1b8764
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5744014401732608_1/Python/izubr/gcj.py
fd75bd5e4d6cbfd5653b75455e59fbedb1601060
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,770
py
def form_result(possibility, matrix, case): if possibility == "POSSIBLE": print "Case #%s: %s" % (case + 1, possibility) print matrix.rstrip() else: print "Case #%s: %s" % (case + 1, possibility) t = int(raw_input("")) for case in range(t): b, m = raw_input("").split(" ") b,...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
0664ffff7d89af5ac8e3b22e1e91030ca4ea3943
547695aff7b19ec2fe3f6b6ab7447d7b65c89322
/FlaskWebProject1/test/myapi/commons/apispec.py
c346f60a6453fb5111bffe93ad7447311ce92cce
[]
no_license
yuchanmo/FlaskWebProject1
d914454fd71f226e83cf909268ae297e2edbf6db
ae862f950146ceb6638e2b1a25beb2ad8c1207d9
refs/heads/master
2023-01-24T01:03:23.167143
2019-08-21T15:06:51
2019-08-21T15:06:51
203,608,914
0
0
null
2022-12-27T15:34:13
2019-08-21T15:06:56
Python
UTF-8
Python
false
false
2,391
py
from flask import jsonify, render_template, Blueprint from apispec import APISpec from apispec.exceptions import APISpecError from apispec.ext.marshmallow import MarshmallowPlugin from apispec_webframeworks.flask import FlaskPlugin class FlaskRestfulPlugin(FlaskPlugin): """Small plugin override to handle flask-re...
[ "mojjijji@gmail.com" ]
mojjijji@gmail.com
94f8efa5ea21ca487bbe42513b4bed2ca3819a07
8cf2b4717e73e55c10563d51f58ea852263624bb
/django_01/settings.py
e812f3cb38b36241e458dbcd7d006300a4d7fe01
[]
no_license
buleleaf/Django-New-Web
9e795a5065faa6826f00e52b1c2e82239e77d2e8
f6b79a2b788eba0280358026d0dca8f5b838f8ad
refs/heads/master
2020-11-29T18:33:38.000849
2019-12-25T08:31:33
2019-12-25T08:31:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,712
py
""" Django settings for django_01 project. Generated by 'django-admin startproject' using Django 2.0. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os fr...
[ "htxz_jiang@163.com" ]
htxz_jiang@163.com
52fedae218df70fb543cf1dd2cd22af4b39b6488
3f53e38076713ab49fd03a54c7c9d3e21de5eb14
/Pyrado/pyrado/tasks/predefined.py
50d88df14b227c763e6a5a33ef902b36a254c00d
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
arlene-kuehn/SimuRLacra
4510473789d1c8927c8d5969a9606238523d5dd7
15901f70f0538bce19acdda2a0018984f67cc0fe
refs/heads/master
2023-01-28T13:10:05.607575
2020-12-04T14:47:01
2020-12-04T14:47:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,810
py
# Copyright (c) 2020, Fabio Muratore, Honda Research Institute Europe GmbH, and # Technical University of Darmstadt. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source ...
[ "fabio.muratore@famura.net" ]
fabio.muratore@famura.net
4c85ede7212f8220b8d5663534c28dcba7c46309
639b371a36aa7bc346375fb0c63fe4357a7fa928
/isnobal/lib.py
d320666b29d383f6ff407741928bf5e110c31b16
[]
no_license
rogerlew/isnobal
baf9dccc19a8c898d6c5eb5c6554e61c0c42b541
887e02cb6361e8f35f3cbcb2aaeba35b62a65d67
refs/heads/master
2016-09-05T21:47:37.365412
2015-01-09T18:03:02
2015-01-09T18:03:02
28,944,436
1
0
null
null
null
null
UTF-8
Python
false
false
1,608
py
import os import shutil import time def clean(path, isdir=None): """ cleans the path if path is a file it is removed, if path is a directory the directory tree is removed and the root directory is recreated Parameters ---------- path : string path to be cleaned isdir : b...
[ "rogerlew@gmail.com" ]
rogerlew@gmail.com
f430f08749ef992d69507cf068f4f2d1e99c4b86
dc7c62f22e5b7da4691d2bdf9a1da2f3ba9edd75
/sketch_181106c/stack.py
e0a7adc48f20d65c672224ee5626dd4d30872a45
[]
no_license
xiaohaiguicc/CS5001
563c17637f06f0074ccb743db4f0bdd2a326f978
51698ba8bfc2201639e6f4d358e0fc531780d2fc
refs/heads/master
2020-04-06T17:32:55.046301
2018-12-20T23:53:05
2018-12-20T23:53:05
157,664,298
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
class Stack: def _init_(self): self.content = [] def push(self, item): self.content.append(item) def pop(self): if len(self.content) > 0: return self.content.pop()
[ "xiaohaiguicc@gmail.com" ]
xiaohaiguicc@gmail.com
86988fc60904cf6ad10ea91b11b7a4d5313cdc80
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_121/ch118_2020_09_30_02_00_29_265968.py
81e75271029f2a468b29c741aee70ec9ceea4b9c
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
import math def reflexao_total_interna(n1, n2, θ2): θ1=math.degrees(math.asin(math.sin(θ2)*n2/n1)) if sin(θ1)>1: resultado=True else: resultado=False return resultado
[ "you@example.com" ]
you@example.com
bf540d38a0dea62068f14ad5ec55fae7d96a6b0e
d6d20681f41102df3feb2b438ef80569bd73730f
/.history/Uge5-pandas/handinExercises_20200311123505.py
f29264f126048debd63967bdff8beb92c1762646
[]
no_license
MukHansen/pythonAfleveringer
d0ad2629da5ba2b6011c9e92212949e385443789
4107c3c378f757733961812dd124efc99623ff2e
refs/heads/master
2020-12-22T13:27:19.135138
2020-05-22T11:35:52
2020-05-22T11:35:52
236,796,591
0
0
null
null
null
null
UTF-8
Python
false
false
4,354
py
import pandas as pd import matplotlib.pyplot as plt import numpy as np dataA = pd.read_csv('https://api.statbank.dk/v1/data/FOLK1A/CSV?delimiter=Semicolon&Tid=2008K1%2C2020K1&CIVILSTAND=G%2CF', delimiter=';') dataB1 = pd.read_csv('https://api.statbank.dk/v1/data/FOLK1A/CSV?delimiter=Semicolon&OMR%C3%85DE=*&CIVILSTAND=...
[ "cph-mh752@cphbusiness.dk" ]
cph-mh752@cphbusiness.dk
39ef6807088c40eb988f2dd2e8540cb782c446cf
62dc63713e8c8ce8622c70117595bae857618107
/BlackFlyCameraClass.py
152951b5f96ad3d211963330218e880700e8a66b
[]
no_license
LiamDroog/BaldrControlSuite
ad7544d5e92b5e27537e7f20c7cf3ddc78b36769
2ca76c4c97c334b6bd5924b00cbcb8e6f687f495
refs/heads/master
2023-07-04T07:57:46.115829
2021-08-03T17:36:49
2021-08-03T17:36:49
371,804,134
0
0
null
null
null
null
UTF-8
Python
false
false
3,708
py
import os import matplotlib.pyplot as plt import numpy as np import time from SimpleFLIR import Camera, GetBFSCameras class CameraNotConnected(Exception): pass class ListCameras: def __init__(self): self.camlist = GetBFSCameras().getCameras() def get(self): return self.camlist class ...
[ "droog@ualberta.ca" ]
droog@ualberta.ca
1802e16b7d00226435e6164b100705ff00463f91
b3b68efa404a7034f0d5a1c10b281ef721f8321a
/Scripts/simulation/interactions/utils/destruction_liability.py
3cfd2f7aae1a2fe038831b0aeb4ff3d4fc657c5b
[ "Apache-2.0" ]
permissive
velocist/TS4CheatsInfo
62195f3333076c148b2a59f926c9fb5202f1c6fb
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
refs/heads/main
2023-03-08T01:57:39.879485
2021-02-13T21:27:38
2021-02-13T21:27:38
337,543,310
1
0
null
null
null
null
UTF-8
Python
false
false
1,071
py
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\interactions\utils\destruction_liability.py # Compiled at: 2020-06-20 03:55:42 # Size of source mod ...
[ "cristina.caballero2406@gmail.com" ]
cristina.caballero2406@gmail.com
cada85a3a534bd5162de90bc54c1f74691921397
215fd5c4f9893d9f38e4e48199ea16d7d6ef9430
/2.Binary_Search/2.10_62_Search_In_Rotated_Sorted_Array.py
f96b0cbc87e0ec031279dc7c1b691c17e7d12dcc
[]
no_license
fztest/Classified
fd01622c097ca21b2e20285b06997ff0e9792dd1
b046d94657c0d04f3803ca15437dfe9a6f6f3252
refs/heads/master
2020-03-25T06:34:07.885108
2017-05-04T17:22:36
2017-05-04T17:22:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,606
py
""" Description _____________ Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). You are given a target value to search. If found in the array return its index, otherwise return -1. You may assume no duplicate exists in the array. Example ______...
[ "cdzengpeiyun@gmail.com" ]
cdzengpeiyun@gmail.com
56a0f90fa491c88e80bdabddde8c0dfdbfd2f47c
5ea53027a9353f70e6a54f1211521bacbd5a46e2
/src/goodtoknow/views.py
e1565eb86038e94fe2ef8761b992c07db748e1b8
[]
no_license
Covee/Pillme_django
380d4f696e503ed4f9278c44770d1840f66ec10b
7d00581af09ae2ebe6610600083b11ab7ed29540
refs/heads/master
2022-12-16T05:50:49.685119
2018-07-25T11:22:58
2018-07-25T11:22:58
135,764,707
0
0
null
2022-11-22T02:30:45
2018-06-01T21:24:26
Python
UTF-8
Python
false
false
1,242
py
from django.shortcuts import render, get_object_or_404 from hitcount.views import HitCountDetailView from django.contrib.auth.decorators import login_required from django.views.decorators.http import require_POST from django.http import HttpResponse from django.views.generic import DetailView, ListView from .models ...
[ "uniqtop91@gmail.com" ]
uniqtop91@gmail.com
299de9361c771a3ef2f202cfcdc387d919e1fb73
3e24611b7315b5ad588b2128570f1341b9c968e8
/pacbiolib/thirdparty/pythonpkgs/networkx/networkx_1.9.1/lib/python2.7/site-packages/networkx/algorithms/tests/test_euler.py
c9936ea9a316115e662048c757e53837be943115
[ "BSD-2-Clause" ]
permissive
bioCKO/lpp_Script
dc327be88c7d12243e25557f7da68d963917aa90
0cb2eedb48d4afa25abc2ed7231eb1fdd9baecc2
refs/heads/master
2022-02-27T12:35:05.979231
2019-08-27T05:56:33
2019-08-27T05:56:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,961
py
#! python # run with nose: nosetests -v test_euler.py from nose.tools import * import networkx as nx from networkx import is_eulerian,eulerian_circuit class TestEuler: def test_is_eulerian(self): assert_true(is_eulerian(nx.complete_graph(5))) assert_true(is_eulerian(nx.complete_graph(7))) ...
[ "409511038@qq.com" ]
409511038@qq.com
a293bd444aa2724b6df8d537890f9990a47b15c1
139af68b78734a6bc53bd942ffa05476baf3d71d
/Python Fundamentals 2020 - 2021/MID - Exams/01. Counter Strike.py
2d8040229eed4fc397fcd553deec104baade8d55
[]
no_license
MiroVatov/Python-SoftUni
7fe3fc0a3928848c5317fb120f789c773bfc117e
0d0d6f116281b4de8c413d254386e27d992d047b
refs/heads/main
2023-08-24T09:44:31.261137
2021-10-18T14:04:03
2021-10-18T14:04:03
317,510,574
1
0
null
null
null
null
UTF-8
Python
false
false
548
py
battles_won = 0 initial_energy = int(input()) while True: distance = input() if distance == "End of battle": print(f"Won battles: {battles_won}. Energy left: {initial_energy}") break energy = int(distance) if initial_energy < energy: print(f"Not enough energy! Game...
[ "noreply@github.com" ]
MiroVatov.noreply@github.com
a7a9b0d01df39a7334dbb96bcabf78d7796a7cde
3e1f833a1362fde69ea5deb5636b6600c3734a54
/beutifullmatrix.py
d598c31e05a02807cf2b5e7c441112a5ce392476
[]
no_license
pawan-1997/portfolio
75549baf691189ec4230e6b8e3b5d6a2061f170f
955a4daa312b11d45b91347cfc19d82142ee5906
refs/heads/main
2022-12-28T20:23:52.233594
2020-10-03T16:21:50
2020-10-03T16:21:50
300,917,042
0
1
null
2020-10-03T16:21:52
2020-10-03T15:48:06
JavaScript
UTF-8
Python
false
false
1,136
py
matrix = [] for i in range(5): m = input() matrix.append(m) index_i = 1 pos_i = 0 pos_y = 0 for i in matrix: if("1" in i): pos_i = index_i # print(pos_i) # print(i.find("1")) pos_y = i.find("1") # print(pos_y) index_i = index_i + 1 # print(pos...
[ "rcashok0@gmail.com" ]
rcashok0@gmail.com
eabf5a12f02c113b17e02b3868d4257e2b22e4d9
9e271a3bc1bf388d82bc5a01d275d910c00f315c
/user/migrations/0016_history.py
db099076f07e14f65b384b61c7664c39e3115ac3
[ "MIT" ]
permissive
kthaisociety/website
36f11b704f9c38414e0999b55db4513444b53f9e
4c4efb8a93218ae128d203b15c4340f90fe9f6a6
refs/heads/master
2023-08-09T19:44:16.968356
2023-05-20T20:33:05
2023-05-20T20:33:05
218,593,606
2
3
MIT
2023-05-20T20:33:06
2019-10-30T18:17:10
Python
UTF-8
Python
false
false
998
py
# Generated by Django 2.2.18 on 2021-03-28 21:49 from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [("user", "0015_user_slack_picture_hash")] operations = [ migrations.CreateModel( name="History", fields=[ ...
[ "oriol.closa@est.fib.upc.edu" ]
oriol.closa@est.fib.upc.edu
b683462d7673efeb1ba027e98d544e1841f91e03
5b70fbd53b534306c146ffb98a0f99d2343a948f
/src/Python/Problem74.py
341431d1b4675c9eded21d48205b99cf477cd670
[]
no_license
aniruddhamurali/Project-Euler
1f4ff3aa1e9c4efbc2a85026821e19a28b5edf90
408b3098fbc98ff3954679602c0468ddb56ea0ac
refs/heads/master
2020-03-20T23:07:22.178103
2018-07-27T01:40:46
2018-07-27T01:40:46
137,830,476
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
import math import time def digitFactorialSum(n): total = 0 for digit in str(n): total += math.factorial(int(digit)) return total def main(): start = time.time() count = 0 for i in range(0,1000000): chain = set() n = i while i not in chain: ...
[ "aniruddha.murali@gmail.com" ]
aniruddha.murali@gmail.com
4e85d7818cb34cbf49231ec6e85e7ddcccdb4759
cacb92c6dba32dfb7f2a4a2a02269f40ab0413dd
/mmdet/models/dense_heads/fsaf_head.py
ee4c3cfe15778b71e4e7e6e5321daa9b74c84ead
[ "Apache-2.0" ]
permissive
dereyly/mmdet_sota
697eab302faf28d5bce4092ecf6c4fd9ffd48b91
fc14933ca0ec2eebb8e7b3ec0ed67cae0da3f236
refs/heads/master
2022-11-26T14:52:13.665272
2020-08-04T00:26:46
2020-08-04T00:26:46
272,046,903
15
5
Apache-2.0
2020-07-16T06:22:39
2020-06-13T16:37:26
Python
UTF-8
Python
false
false
16,080
py
import numpy as np import torch from mmcv.cnn import normal_init from mmdet.core import (anchor_inside_flags, force_fp32, images_to_levels, multi_apply, unmap) from ..builder import HEADS from ..losses.utils import weight_reduce_loss from .retina_head import RetinaHead @HEADS.register_module(...
[ "nikolay@xix.ai" ]
nikolay@xix.ai
9776eb8757fcf05c3b20a7a1ed8a475210100c6d
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-4571.py
7986ba899ca704b6b17a66b634ad4ecdbec2d94f
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,755
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
bc4f9b46cbfb936585c30642734af6d52f04b823
7cf00f09f9a46175a08993196da0db7b3a48a992
/arrays/is_monotonic.py
90fc581517fcf3a0346b47cf67b74f76d3070754
[]
no_license
newsteinking/algorithms3
4fdde66f2f40ce53346752173493265391307ccd
c090674898d97fc2564ac688dc2347a5d0c33dfb
refs/heads/master
2022-04-21T10:02:47.091503
2020-04-21T06:32:07
2020-04-21T06:32:07
257,497,952
1
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
''' An array is monotonic if it is either monotone increasing or monotone decreasing. An array A is monotone increasing if for all i <= j, A[i] <= A[j]. An array A is monotone decreasing if for all i <= j, A[i] >= A[j]. Return true if and only if the given array A is monotonic. Example 1: Input: [1,2,2,3] Out...
[ "newstein33@gmail.com" ]
newstein33@gmail.com
c8d40e1b41a5aa6ba1ecbbad3fd6ded3ce1e72cb
bd08d0532f20b7285b437c9bf620de1bbcd5b9ea
/aalh_iit_natreghis_001/debug-convert-dates.py
01dd4897c756affd40535d0c2248df0dd5aaf371
[ "Unlicense" ]
permissive
johndewees/iitmigration
a9e8a31ba6ceb541ce12c22fd612596cc243dbca
4dadfbecda719d6e7d60af076a231aedec3c862f
refs/heads/main
2023-03-14T17:06:58.777683
2021-03-27T20:44:58
2021-03-27T20:44:58
320,086,321
0
0
null
null
null
null
UTF-8
Python
false
false
2,850
py
from openpyxl import load_workbook import re filename = 'aalh_iit_natreghis_001.xlsx' wb = load_workbook(filename) ws = wb['Metadata Template'] minimumcol = 31 maximumcol = 31 minimumrow = 7 maximumrow = 194 iterationrow = 7 targetcol = 31 for row in ws.iter_rows(min_row=minimumrow, min_col=minimumco...
[ "noreply@github.com" ]
johndewees.noreply@github.com
d8dcc43724528dd231ed378820c811ee17da5ad7
67325192c1e528a39d457f11e61b480d68826708
/__main__.py
82f897e592bf6b74763104fad108b9230f332b9a
[ "MIT" ]
permissive
vashistaarav1611/mcpython-a-minecraft-clone-in-python
5851b377b54fd2b28c106112c7b18f397b71ab50
c16cd66f319efdeec4130e1a43f5a857caf1ea13
refs/heads/master
2023-02-01T22:48:51.787106
2020-12-21T15:02:25
2020-12-21T15:02:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
print("MCPYTHON ModLoader") import sys, os, globals as G dir = sys.argv[1] if len(sys.argv) > 1 else "./" G.local = dir sys.argv.append(os.path.dirname(os.path.realpath(__file__))) import ModLoader ModLoader.load(dir)
[ "baulukas1301@googlemail.com" ]
baulukas1301@googlemail.com
60b231062ee9be5296c037658e8fe6e337909004
43bac293a3ee710140f3869937ef4b37345bac2a
/ex37.py
f6dfdccbd4c692a1335b88844333df307e5eb468
[]
no_license
DikranHachikyan/python-PLDA-20191011
4e176f7eaa65627a4670acd75f470016bfed4f8e
80cc4740039fcc473cdf436499b0c602a9ab48e0
refs/heads/master
2020-08-11T15:54:02.413645
2019-11-05T09:39:17
2019-11-05T09:39:17
214,591,265
1
2
null
null
null
null
UTF-8
Python
false
false
451
py
#!/home/wizard/anaconda3/bin/python # import time from time import time,sleep def foo(sleep_time=0.3): '''Function foo sleeps sleep_time seconds''' sleep(sleep_time) def measure(func): def wrapper(*args,**kwargs): t = time() func(*args,**kwargs) print(f'{func.__name__} : {time() ...
[ "dhachikian@expert-bg.org" ]
dhachikian@expert-bg.org
c39386cd8e78c8663735bc64da95f42972ef91f9
1033906372e48d2f53b907848b86dec2eab635f4
/old/midify.py
dc63760c0b5b28e1d2f23765396f8c3eee5b2a8c
[]
no_license
csv/ddpy
b0a29fbc094f728b8cbfafa4d5a301c7a35006c8
2c1fccdff907f0504b5f514cfd67199a2e77514e
refs/heads/master
2016-09-05T17:44:25.506356
2013-11-08T18:57:25
2013-11-08T18:57:25
12,258,676
1
1
null
null
null
null
UTF-8
Python
false
false
1,998
py
from midiutil.MidiFileGenerator import MidiFileGenerator, MidiTrack from midiutil.Scales import * from math import ceil from random import sample import json from defaults import note_lookup, root_lookup def note_to_midi(n): if isinstance(n, basestring): return note_lookup[n] elif isinstance(n, int): retur...
[ "brianabelson@gmail.com" ]
brianabelson@gmail.com
5a9f06ce2274a5bf1cf80deef6615eda13e914a2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03359/s464721803.py
dae496665ea39358e0189f534bf32abdff60ee66
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
a, b = map(int, input().split()) if a < b: print(a) else: print(max(a-1,b))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
803e427fe7e8e3ed41280faf81f3782e5db35337
f0a624fc75db12a105e096391d354d5847a7afa5
/day08/demo03.py
4998c37c3149e7644e42bac91846e763e07c3c91
[]
no_license
Linkin-1995/test_code1
e50399e929bdf23ac7b82f54dd9ff63a64223d6a
7d0b41516751538a967aa5d42161195ac49fc842
refs/heads/master
2022-12-06T18:47:06.858474
2020-08-21T10:40:31
2020-08-21T10:40:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
""" 函数 - 功能 参数: 用法 向 做法 传递的信息 制作 def 函数名称(变量1,变量2): 函数体 使用 函数名(数据1,数据2) 练习:exercise01~03 """ # 做法 # 形式参数:表面的数据(真实数据的代表) def attack(count): for __ in range(count): print("摆拳") print("临门一脚") print("勾拳") # 实际参数:具有真实数据(客观...
[ "1105377455@qq.com" ]
1105377455@qq.com
49ac1ff9278d3e2219128273a10b912b104b6472
8afb5afd38548c631f6f9536846039ef6cb297b9
/MY_REPOS/Lambda-Resource-Static-Assets/2-resources/_External-learning-resources/02-pyth/algorithms-master/algorithms/backtrack/letter_combination.py
5bece7303612a8a562505e1618ed24a503bc5002
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
791
py
""" Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone buttons) is given below: 2: "abc" 3: "def" 4: "ghi" 5: "jkl" 6: "mno" 7: "pqrs" 8: "tuv" 9: "wxyz" Input:Digit string "23" Output: ["ad", "ae", "af", "bd", "be",...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
a70fa1ef04a8545a6a13b33878d492afa39584b7
5b3bd326998606188b45a7870852643eda024a97
/utils/dataset_util_test.py
7b293e9d4759ba5e20c82eb256f1963d613d98af
[]
no_license
KuznetsovIllya/clearml_od_toy
31556d0726d15a054c1c18317c361d97801381a4
92f15f04a023d4e0e165a250fddc3129144913d0
refs/heads/main
2023-04-11T05:55:56.248478
2021-04-14T15:59:40
2021-04-14T15:59:40
357,827,336
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:5b987aa43023f49104601b5e44e6096dd219539d07712d377a93b0716555ebfc size 1416
[ "illia.kuznietsov@modern-expo.com" ]
illia.kuznietsov@modern-expo.com
ad84bdb8f2de5e3741f4d7ffefeadb7518f4c055
48894ae68f0234e263d325470178d67ab313c73e
/sa/profiles/Dell/Powerconnect55xx/get_config.py
cb916fc0aa0de2175f60138f19dba501f00cb408
[ "BSD-3-Clause" ]
permissive
DreamerDDL/noc
7f949f55bb2c02c15ac2cc46bc62d957aee43a86
2ab0ab7718bb7116da2c3953efd466757e11d9ce
refs/heads/master
2021-05-10T18:22:53.678588
2015-06-29T12:28:20
2015-06-29T12:28:20
118,628,133
0
0
null
2018-01-23T15:19:51
2018-01-23T15:19:51
null
UTF-8
Python
false
false
671
py
# -*- coding: utf-8 -*- ##---------------------------------------------------------------------- ## Dell.Powerconnect55xx.get_config ##---------------------------------------------------------------------- ## Copyright (C) 2007-2013 The NOC Project ## See LICENSE for details ##------------------------------------------...
[ "dmitryluhtionov@gmail.com" ]
dmitryluhtionov@gmail.com
e0060a932e35c03b8ddfa5590407f24a3b89b43b
52b5773617a1b972a905de4d692540d26ff74926
/.history/compareVersions_20200909132443.py
e3af193a67a236c06299befe3c97f2948195dae3
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
def compare(version1,version2): # split where there are , # then loop through both of them # if v1 > v2 return 1 # if v1 < v2 return -1 # otherwise return 0 v1 = version1.split(".") v2 = version2.split(".") v1 = [int(i) for i in v1] v2= [int(i) for i in v2] if len(v1) > l...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
a2362b33a515b42f0d88781d9ff0ffc257add61e
f63c4eb29ce57319441f5469d1d049b63bc220de
/swu_cycle_variance/run731.py
a339111e3d6be576fc0ce0a490a578c86293539f
[]
no_license
a-co/diversion_models
0237642153668b16035699e9e734ff0538568582
69eed2687b1cd2b48f5717d15919eccd24a0eabc
refs/heads/main
2023-05-02T19:04:26.333677
2020-06-18T20:50:18
2020-06-18T20:50:18
216,904,337
0
0
null
null
null
null
UTF-8
Python
false
false
6,361
py
SIMULATION = {'simulation': {'agent': [{'name': 'deployer_military', 'prototype': 'military_deployer'}, {'name': 'deployer_civilian', 'prototype': 'civilian_deployer'}, {'name': 'deployer_shared', 'prototype': 'shared_deployer'}], 'archetypes': {'spec': [{'lib': 'cycamore', 'name': 'DeployInst'}, {'lib': 'cycamore', 'n...
[ "acaldwel@wellesley.edu" ]
acaldwel@wellesley.edu
ddfca99d193430dadb415a4fc865f00805199317
464850ba426263b17084fc71363ca14b8278b15e
/08.py
44f4c2b9d406b330216766b8bf809b7a7f07f5da
[]
no_license
eng-arvind/python
8442c30ec10f979f913b354458b4f910539d8728
249f5f35f245a3f1742b10310de37ca6c6023af2
refs/heads/master
2020-12-23T06:40:16.911269
2020-02-02T18:42:01
2020-02-02T18:42:01
237,069,973
1
0
null
null
null
null
UTF-8
Python
false
false
150
py
def pat(n): k = 1 for i in range(n): for j in range(i + 1): print(k, end=" ") k += 1 print() pat(5)
[ "noreply@github.com" ]
eng-arvind.noreply@github.com
54f0a4e994fa3dc317186e28957003463120f74a
fc2b8c646223acd17819d631ce57146cd1725456
/collect_dataset/main_collect.py
9482d6222d69a652ec7a04fa6d5909b487bf616f
[]
no_license
peachman05/RGB_action_recognition
bd4ac4a60097ac70795b0a9cbdf6d332cd85d764
21b47f1d1c0f1712d0dc22bb57c52db3c31b47ed
refs/heads/master
2020-08-31T13:35:38.699161
2020-04-12T09:11:45
2020-04-12T09:11:45
218,701,781
1
0
null
null
null
null
UTF-8
Python
false
false
425
py
from collect_dataset import run_collect # Define run_time = 60 # second action_select = 3 # 0=dribble, 1=shoot, 2=pass, 3=stand path_dataset = 'F:\\Master Project\\Dataset\\BasketBall-RGB\\' # folder path show_FPS = False action_list = ['dribble','shoot','pass','stand'] action = action_list[action_select] path_save ...
[ "you@example.com" ]
you@example.com
ab25a0d7423a94f6e815e35c92274f70bf90ad71
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2887/60717/245850.py
ee87114ecb204b742c07e205a3999ba39009bdb5
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
398
py
n=int(input()) fLive=0 fDead=0 sLive=0 sDead=0 for i in range(0,n): list2=input().split() for j in range(0,3): list2[j]=int(list2[j]) if list2[0]==1: fLive+=list2[1] fDead+=list2[2] else: sLive+=list2[1] sDead+=list2[2] if fLive>=fDead: print('LIVE') else: ...
[ "1069583789@qq.com" ]
1069583789@qq.com
f7c6f5795fda746e447912d435cc4d8d0ee17c71
fa8dc42cfcf99de58f76807accc5c3566ddae6e4
/tests/test_verify.py
408a92f3380584be91aae4234fe172385484b523
[ "MIT" ]
permissive
thusoy/porridge
1124cc99cd77f672e6fec5e3d87396c72938a944
f332b67f29bcbc19b7bb7da2f68ad3af35a9cd4d
refs/heads/master
2021-01-23T03:53:04.352136
2018-05-17T16:28:41
2018-05-17T16:28:41
86,129,217
19
1
null
null
null
null
UTF-8
Python
false
false
4,526
py
# coding: utf-8 from __future__ import unicode_literals import pytest from hypothesis import given, assume from hypothesis.strategies import integers, text from porridge import Porridge, MissingKeyError, EncodedPasswordError from porridge.utils import ensure_bytes @pytest.mark.parametrize('test_password', ( "p...
[ "git@thusoy.com" ]
git@thusoy.com
59763f5bcd4fd02e277f6764e628fd7a08f72889
a0e63dcefb114d024b2c56ae00a3525caebb8f31
/shutit_threads.py
2a0b1cf8198e5f85307393d8ec3630162227bfa6
[ "MIT" ]
permissive
andrzejsydor/shutit
2eec3d66c3a3f973ee93e64b87c313fda9f5ea3b
5f3fbb7236b7c18806c4156910de4425591c197a
refs/heads/master
2020-03-22T13:54:22.854701
2018-07-07T13:32:37
2018-07-07T13:32:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,330
py
import curtsies from curtsies.events import PasteEvent from curtsies.input import Input import itertools import time import threading import traceback import sys import os # There are two threads running in ShutIt. The 'main' one, which drives the # automation, and the 'watcher' one, which manages either the different...
[ "ian.miell@gmail.com" ]
ian.miell@gmail.com
1820e9bea144a350bba9d060cb30654b92aefb91
1f1048624ee8d71101ae1127c9aa9c9dc81b857f
/tests/test_bug_fixes.py
bb5c7e5d42f69d5ddf7e161a607b0a2909c18b24
[ "BSD-3-Clause" ]
permissive
netpastor/pyexcel
434983a942de4d70549bcec578854d3da241c576
0c126b9e4c650c6735665c79e616546149f2b717
refs/heads/master
2021-01-19T10:40:19.107503
2017-04-10T07:04:50
2017-04-10T15:13:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,968
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from textwrap import dedent import pyexcel as pe from datetime import datetime from _compact import StringIO, OrderedDict from nose.tools import eq_ def test_bug_01(): """ if first row of csv is shorter than the rest of the rows, the csv will be tr...
[ "wangc_2011@hotmail.com" ]
wangc_2011@hotmail.com
69869813ffb36d5a2c382d673696ec7c7fd2fbe9
084e35c598426b1137f9cd502e1b5e7f09cdf034
/leetcode_weekly_competition/226周赛/1.py
09da9b65e006ed6ec0c0456861c0ba4c9e9e6cf0
[]
no_license
sakurasakura1996/Leetcode
3a941dadd198ee2f54b69057ae3bbed99941974c
78f239959af98dd3bd987fb17a3544010e54ae34
refs/heads/master
2021-09-11T05:07:44.987616
2021-09-07T05:39:34
2021-09-07T05:39:34
240,848,992
1
0
null
null
null
null
UTF-8
Python
false
false
488
py
class Solution: def countBalls(self, lowLimit: int, highLimit: int) -> int: ans = [0] * 46 for i in range(lowLimit, highLimit+1): tmp = 0 cur = i while cur: tmp += int(cur%10) cur = int(cur/10) ans[tmp] += 1 retu...
[ "2470375551@qq.com" ]
2470375551@qq.com
491e8253f9d4c90d5822a1fc62bb284b383d4408
cc595296b60913bfd6e718c60aaa68d9a5008781
/profiler/weather_plot.py
74168fba17d23322089332a6a9ef6e24b4c0039b
[]
no_license
JBlaschke/divelite
f04e24afe1b160702a95878586210d9739141222
e9a54c67ab8c201003783e50da3a9a46acf24507
refs/heads/master
2021-05-21T05:40:25.118724
2020-10-11T01:02:56
2020-10-11T01:02:56
252,570,721
0
0
null
2020-04-02T21:41:56
2020-04-02T21:41:55
null
UTF-8
Python
false
false
939
py
import sys import numpy as np import matplotlib.pyplot as plt log_fname = sys.argv[1] size = int(sys.argv[2]) data = {} with open(log_fname) as f: for line in f: cols = line.split() if len(cols) == 2: rank = int(cols[0]) ts = float(cols[1]) if rank not in data: ...
[ "monarin@gmail.com" ]
monarin@gmail.com
ba0e2b9495f7c37519b04935cc2e4a99f79786e5
4fc1c45a7e570cc1204d4b5f21150f0771d34ea5
/quan_table/read_data/read_data_test.py
7f8abcee5c4e3a5e9366bbd3813bec0c96321901
[]
no_license
CN1Ember/feathernet_mine
77d29576e4ecb4f85626b94e6ff5884216af3098
ac0351f59a1ed30abecd1088a46c7af01afa29d5
refs/heads/main
2023-05-28T17:19:06.624448
2021-06-17T04:39:09
2021-06-17T04:39:09
374,603,757
1
0
null
null
null
null
UTF-8
Python
false
false
2,150
py
from PIL import Image import numpy as np import os from torch.utils.data import Dataset import math import cv2 import torchvision import torch import random class CASIA(Dataset): def __init__(self,data_flag = None, transform=None, phase_train=True, data_dir=None,phase_test=False,add_mask = True): ...
[ "chenguo@gpu017.scut-smil.cn" ]
chenguo@gpu017.scut-smil.cn
9415639e3ab0499619b3e5d066463c3db20866ca
2a07f85d91050192f5eaa8d5c72fc2e0fbdfb015
/bmi/pages.py
32dfdd5024793394903a3fd024d64f2e7af4104a
[]
no_license
chapkovski/hse-otree-workshop
b95c9e18fc49908a820f15666dc56ffce9e39c49
6a83b6b3543c3079408f50c7c3e5a22179862446
refs/heads/master
2020-04-20T08:37:27.161917
2019-02-01T19:22:22
2019-02-01T19:22:22
168,744,729
0
0
null
null
null
null
UTF-8
Python
false
false
675
py
from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants class Input(Page): form_model = 'player' form_fields = ['height', 'weight'] class ResultsWaitPage(WaitPage): def is_displayed(self): # if this is interpersonal treatment (in oth...
[ "chapkovski@gmail.com" ]
chapkovski@gmail.com
3927f0b16b37f189e7300890368a1e2fe92314dd
3435505aa0b760eddf175a9a8f62119952020380
/wienerschnitzelgemeinschaft/src/Christof/models/ResNet34/3/base_100/train_f3.py
4146a3970f61333a42bd7a296c1353a7f224af2d
[ "MIT" ]
permissive
CellProfiling/HPA-competition-solutions
2cc365b2be086eec382136856ebcf790d4eaabb9
547d53aaca148fdb5f4585526ad7364dfa47967d
refs/heads/master
2022-12-16T16:58:15.578281
2020-07-09T23:04:55
2020-07-09T23:04:55
223,605,040
61
25
MIT
2022-11-22T04:37:30
2019-11-23T14:49:57
Jupyter Notebook
UTF-8
Python
false
false
8,888
py
import os, sys #os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID" os.environ["CUDA_VISIBLE_DEVICES"]="2" import numpy as np import pandas as pd import matplotlib.pyplot as plt import skimage.io from skimage.transform import resize from imgaug import augmenters as iaa from tqdm import tqdm import PIL from PIL import Image...
[ "noreply@github.com" ]
CellProfiling.noreply@github.com
6cc1e2beb70e8f1074f9000fb8aed4f4aedc7fff
4a1dab08ded9dd4e8130b1ae20def614b91ae27b
/modules/s3/s3query.py
42799260aeff939e3963e35b1f94419570c24bbf
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
frededk/eden
b8c780ae9b5e3dabc8e4a9fa92f9526db9dbe3b2
993a05a3ec95441ef1b0ad4f607650e645268808
refs/heads/master
2021-01-17T12:23:54.574928
2014-06-06T16:55:17
2014-06-06T16:55:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
70,138
py
# -*- coding: utf-8 -*- """ S3 Query Construction @copyright: 2009-2014 (c) Sahana Software Foundation @license: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without ...
[ "dominic@nursix.org" ]
dominic@nursix.org
acec31ec61ba2685785c55fce5948b4cca5d910f
7e326ba379d8e46fbf597938c1efcb99afb0d7e8
/server/models.py
6aaa295aa567f34255d38ca1326ffb51cf140983
[]
no_license
obulpathi/miner
393f532e3901bbb3885155d6c8ff3ea363634e50
53e8221d6545cb9da2f166bfa771eceb11f730f6
refs/heads/master
2020-04-16T01:14:37.607057
2014-06-14T01:02:37
2014-06-14T01:02:37
12,418,001
0
1
null
null
null
null
UTF-8
Python
false
false
1,133
py
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "obulpathi@gmail.com" ]
obulpathi@gmail.com
4aa9a980e8e71317eb2171d8d36ed74801927c53
ef7f73ffe943eb6b2a4456d374de3fd49bc5d3bb
/src/kvt/augmentation/__init__.py
88afc26d0a9e31864017394769d435a987ab2b6a
[ "BSD-2-Clause" ]
permissive
Ynakatsuka/birdclef-2021
11acf0a7c2a6463e574df7a058fbf8cc6ab782b6
d7cf7b39e3164a75547ee50cc9a29bd5ed4c29bd
refs/heads/main
2023-05-12T01:00:24.612945
2021-06-02T01:37:16
2021-06-02T01:37:16
358,929,160
6
0
null
null
null
null
UTF-8
Python
false
false
635
py
from .audio import ( CosineVolume, LowFrequencyMask, OneOf, PinkNoise, RandomVolume, SpecifiedNoise, SpeedTuning, StretchAudio, TimeShift, or_mixup, ) from .augmix import RandomAugMix from .autoaugment import ImageNetPolicy from .block_fade import BlockFade from .grid_mask import...
[ "nk.tsssa@gmail.com" ]
nk.tsssa@gmail.com
06bd4e1105e6c53a55320e70f7f22a9c55b68a77
a9305f461b2c03e4a55fec9f1ecc75f78265eb8e
/sub_text/sub_text1.py
3db803f6ac183f182aeeb51b6db8b843e9474c94
[]
no_license
JoaoBueno/estudos-python
653afb174f2d141fcc82511c51cbfd2bca1b55cb
606e188e88ee3a2b2e1daee60c71948c678228e1
refs/heads/master
2022-01-24T20:17:52.702768
2022-01-19T20:39:20
2022-01-19T20:39:20
150,925,137
2
2
null
2022-01-19T20:40:46
2018-09-30T03:09:08
Python
UTF-8
Python
false
false
109
py
from pyutil import filereplace filereplace("somefile.txt","/educacional.1linha.com.br","/www.1linha.com.br")
[ "heavyhide@gmail.com" ]
heavyhide@gmail.com
fb945c11cc4e07aba01f67c2de8cdc6fd748421c
186f694b65b43cd56e746ce8538e4f1edad6129e
/1on1/Two_Pointer/lint-386.py
7a6611cdb2072bd584bf7e854b88dde5e704967e
[]
no_license
zionhjs/algorithm_repo
287486e0173e68cfa9e535490004c952192a54db
26b4a770d5335abd738ae26c68d91f6af7b13749
refs/heads/master
2022-12-17T15:59:17.932490
2020-09-23T04:12:38
2020-09-23T04:12:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
772
py
class Solution: """ @param s: A string @param k: An integer @return: An integer """ def lengthOfLongestSubstringKDistinct(self, s, k): if not s or k == 0: return 0 alpha_counts = [0 for _ in range(256)] count = 0 max_len = 0 i, j = 0, 0 ...
[ "hjszion@gmail.com" ]
hjszion@gmail.com
d3f66cfc2fc33594b799867d55558df1743f6729
892a46487e056458270a774cda5b1b6752f25a84
/1/run.py
e9e81aaa3f3325d052c1eee58ca189292dc8fdf7
[]
no_license
taojy123/MyPhones
249a980ccff475cf844ae858dae514ca967cc39e
93291080dd7dc6c22054aa3d5a24a15ca1532912
refs/heads/master
2020-12-24T14:00:46.372187
2015-09-28T05:07:24
2015-09-28T05:07:24
22,827,560
0
0
null
null
null
null
UTF-8
Python
false
false
3,439
py
#!/usr/bin/env python import os import sys import webbrowser os.environ.setdefault("DJANGO_SETTINGS_MODULE", "myphones.settings") #these pertain to your application import myphones.wsgi import myphones.urls import myphones.settings import myphones.models import myphones.views import django.contrib.auth import django....
[ "taojy123@163.com" ]
taojy123@163.com
b4bd715fdfbb95ac52bb29757e9e40e5b5bcfe71
d57996fd2c6f92fdb457e8a35f6eb03a54dcf147
/code_window/ScreenGeometry.py
d04fcc0d6da4137a249e55da885c47d80a1c34a9
[]
no_license
ActonMartin/UI
43aab17874d0e24bc35989b847bbe6d54c825e31
025d181dd6557822c28cd49af84ab9ffd3a0f274
refs/heads/master
2020-12-10T22:30:22.910870
2020-01-14T01:30:04
2020-01-14T01:30:04
233,730,152
0
0
null
null
null
null
UTF-8
Python
false
false
1,215
py
import sys from PyQt5.QtWidgets import QApplication,QMainWindow,QWidget,QPushButton def onclick_button(): print('1') print("widget.x()= %d" % widget.x()) print("widget.y()=%d" % widget.y()) print('widget.width()=%d' % widget.width()) print('widget.height()=%d' % widget.height()) print('2') ...
[ "wszcla@outlook.com" ]
wszcla@outlook.com
cf95ac327ce7cd47aa6c9d323ed27a1f6cb0762e
0c36a11f1a8659b7691f3f612030b63e40e65869
/chan/html_净值曲线_opt.py
6bea437aae3389736500f304f7902ecba6388317
[]
no_license
webclinic017/joinquantNew
93af36b540b20cc1cb27f97b2ede11f88ec1f9e2
0cbadfeba4d0629471773304f6541981957965e9
refs/heads/master
2023-01-12T00:42:19.419870
2020-11-16T09:19:53
2020-11-16T09:19:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,332
py
# -*- coding: utf-8 -*- # @Time : 2020/6/30 10:15 # @Author : zhangfang import pandas as pd # import html5lib from trading_future.future_singleton import Future from backtest_func import yearsharpRatio, maxRetrace, annROR, annROR_signal import matplotlib.pyplot as plt import numpy as np def PowerSetsRecursive(ite...
[ "519518384@qq.com" ]
519518384@qq.com
a5b99c9146c91010ea8b0e69f78a0527a1dca3d0
81539aba88c22cf75bd2e14f5e0e92f2bf54e962
/DarkMatterMap2017/TTbarDMJets_Dilepton_scalar_LO_TuneCP5_13TeV_madgraph_mcatnlo_pythia8/TTbarDMJets_Dilepton_scalar_LO_Mchi-1_Mphi-500_TuneCP5_13TeV-madgraph-mcatnlo-pythia8/TTbarDMJets_Dilepton_scalar_LO_TuneCP5_13TeV_madgraph_mcatnlo_pythia8_40000_0_cff.py
d3a71ea14c4eac16bb430934b4ba72d3d74fa72c
[]
no_license
nistefan/RandomizedParametersSeparator
ad35b48b95e9745814c0bf9d8d8b6eb8aa479177
66a0e291b59113c6b5301768f1c10e36cf23d3c3
refs/heads/master
2021-01-03T00:41:17.415005
2020-02-19T13:30:54
2020-02-19T13:30:54
239,838,928
0
0
null
null
null
null
UTF-8
Python
false
false
6,491
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, lumisToProcess = cms.untracked.VLuminosityBlockRange(*('1:11633', '1:11932', '1:11947', '1:11296', '1:13328', '1:13336',...
[ "Nicole.Stefanov@cern.ch" ]
Nicole.Stefanov@cern.ch
9b108dc93dae3c185f5fd4ad4d94489c27095057
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/model_control/detailed/transf_Anscombe/model_control_one_enabled_Anscombe_MovingAverage_Seasonal_DayOfWeek_MLP.py
b2da5c3d66196e8f7a7296e7bbcc4ee517c2f8a1
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
164
py
import tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['Anscombe'] , ['MovingAverage'] , ['Seasonal_DayOfWeek'] , ['MLP'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
0029fb3267463c9804af961f0c25a555fe4d1786
fc29ccdcf9983a54ae2bbcba3c994a77282ae52e
/Leetcode_By_Topic/dp_2seq-583.py
044a5edc5199781c6b697036ab50df590e614417
[]
no_license
linnndachen/coding-practice
d0267b197d9789ab4bcfc9eec5fb09b14c24f882
5e77c3d7a0632882d16dd064f0aad2667237ef37
refs/heads/master
2023-09-03T19:26:25.545006
2021-10-16T16:29:50
2021-10-16T16:29:50
299,794,608
0
0
null
null
null
null
UTF-8
Python
false
false
1,081
py
class Solution: """ def minDistance(self, word1: str, word2: str) -> int: m, n = len(word1), len(word2) dp = [[0] * (n+1) for _ in range(m+1)] # edges for i in range(1, m+1): dp[i][0] = i for j in range(1, n+1): dp[0][j] = j for ...
[ "lchen.msc2019@ivey.ca" ]
lchen.msc2019@ivey.ca
dcddd89959f1064a7904ec4071f2b74a51df8bab
ad212b92beac17c4d061848c1dcd443d02a168c8
/python/0454_4sum_II/counters.py
397e23695a0aeceb0cf68e0a3664427ecddf74b0
[]
no_license
21eleven/leetcode-solutions
5ec97e4391c8ebaa77f4404a1155f3ef464953b3
35c91e6f5f5ed348186b8641e6fc49c825322d32
refs/heads/master
2023-03-03T10:22:41.726612
2021-02-13T21:02:13
2021-02-13T21:02:13
260,374,085
0
0
null
null
null
null
UTF-8
Python
false
false
1,037
py
""" 454. 4Sum II Medium Given four lists A, B, C, D of integer values, compute how many tuples (i, j, k, l) there are such that A[i] + B[j] + C[k] + D[l] is zero. To make problem a bit easier, all A, B, C, D have same length of N where 0 ≤ N ≤ 500. All integers are in the range of -228 to 228 - 1 and the result is gu...
[ "noahlidell@gmail.com" ]
noahlidell@gmail.com
68406e79dbfbab56c0154d5e17417617f7e23b02
2c3367295e679b12c8ceb78745f2db7ebe338e18
/opentech/apply/funds/migrations/0018_add_addressfield.py
f04ee0ee4c552d84013ebbc64d5d3c6d1ed0efa1
[ "BSD-2-Clause" ]
permissive
stdevteam/opentech.fund
9f0d4b6274d1524207837bf54d21dfa8284cad3c
6888dc5aa1a8c60f17629dff03877412275e08a5
refs/heads/master
2022-05-11T16:53:19.075549
2022-04-05T12:04:47
2022-04-05T12:04:47
161,327,565
0
0
NOASSERTION
2018-12-11T12:02:07
2018-12-11T12:02:07
null
UTF-8
Python
false
false
7,292
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2018-02-05 11:53 from __future__ import unicode_literals from django.db import migrations import opentech.apply.categories.blocks import wagtail.core.blocks import wagtail.core.blocks.static_block import wagtail.core.fields class Migration(migrations.Migration)...
[ "todd.dembrey@torchbox.com" ]
todd.dembrey@torchbox.com
3a973056015b59391f41788261dbc500cc430e55
b4f9aa1c939bb9c97bcf7f925ed09bfe0ab2abf3
/zentral/core/queues/backends/kombu.py
a80ec755b741496890833e5c84fb16cb642f9e7d
[ "Apache-2.0" ]
permissive
gwhitehawk/zentral
26ef8b2f8e5f270e34c67077acdd44c3b0ca6ac5
156134aed3d7ff8a7cb40ab6f2269a763c316459
refs/heads/main
2023-03-02T03:26:49.124909
2021-02-12T16:04:22
2021-02-12T16:04:22
338,364,014
0
0
Apache-2.0
2021-02-12T15:56:39
2021-02-12T15:56:39
null
UTF-8
Python
false
false
9,510
py
from importlib import import_module import logging import time from zentral.conf import settings from kombu import Connection, Consumer, Exchange, Queue from kombu.mixins import ConsumerMixin, ConsumerProducerMixin from kombu.pools import producers from zentral.utils.json import save_dead_letter logger = logging.getL...
[ "eric.falconnier@112hz.com" ]
eric.falconnier@112hz.com
44e5ad078fcf91fcaff4eac2ee6a76bff6f9f15f
960f2de01a49c822e6e4afd9595bf60d75f7dacc
/fbpagespam.py
9277c724f17a9799dca6b7ee27df9efc0c0fd4bc
[]
no_license
2020saurav/random-scripts
adbf5461e4f98d51a02cf2ee3992bdb82c77dc86
b339c47765a9e18f86565ea9639f5ff6a7691f46
refs/heads/master
2021-01-23T14:05:29.907049
2014-11-11T20:33:22
2014-11-11T20:33:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
import requests import time import urllib2 import json # Replace line 6 with actual token and put spam comment in line 16 TOKEN = 'put-your-access-token-here' def get_posts(): url = 'https://graph.facebook.com/v2.2/891971000853462/posts?access_token='+ TOKEN page = urllib2.urlopen(url) page = page.read() page = jso...
[ "2020saurav@gmail.com" ]
2020saurav@gmail.com
15d7a7961a130a87360769e49d0c7d7af8ad7677
0f94496000c2b73c3721ecaf1d2a788e9215078a
/ckanta/commands.py
2840890cc590c2b77a73e72c617d75189fb30772
[]
no_license
hkmshb/ckanta
8521ebeb802eae18eb6bfe633a15ba4fec505dee
b4f1ea42d750838d06b46cc28b5ca082e4430e8e
refs/heads/master
2020-03-21T03:10:15.648468
2019-01-08T09:16:39
2019-01-08T09:16:39
138,039,640
0
0
null
null
null
null
UTF-8
Python
false
false
21,109
py
import re import csv import click import logging from itertools import chain from urllib.parse import unquote from furl import furl from slugify import slugify from collections import OrderedDict, namedtuple from .common import CKANTAError, CKANObject, MembershipRole, ApiClient _log = logging.getLogger() class Com...
[ "hkmshb@gmail.com" ]
hkmshb@gmail.com
1081b155b8d6b430076939dd4c8bec7a57c484c7
33b5ef4f67e9c36d45990506e6f9f39d573ce730
/folders/python/instagram/63def.py
23caa9ce83278630e81abd66b2d763746fdb6fc7
[]
no_license
dineshkumarkummara/my-basic-programs-in-java-and-python
54f271e891e8d9dbdf479a9617e9355cbd0819e9
b8a4cf455f4a057e382f7dda7581fad5b2f1e616
refs/heads/master
2022-12-12T06:02:55.558763
2020-08-19T12:14:39
2020-08-19T12:14:39
283,415,087
1
0
null
null
null
null
UTF-8
Python
false
false
245
py
#Creating a function in Python. Use the "def" keyword, # give a function a name and list its arguments. def greet(name): print("hello my name is " +name+ "") greet("sai") greet("manu") #sai and manu are arguments #greet is a function name
[ "dk944176@gmail.com" ]
dk944176@gmail.com
484d121c7184af439cc4bf82e09a9899d8150546
8f9a06f8c35a983df918a9418710bf1a81392819
/backend/sprint_waste_servic_18730/settings.py
350c0cedc85e8b474ac4bc6c36bb5f0a9a7ddfd5
[]
no_license
crowdbotics-apps/sprint-waste-servic-18730
c43e8543a225e37a34b1fbe6d3ea2645d3d493bf
379a590074055c2b1066fda2932b1af11674b037
refs/heads/master
2022-11-13T21:53:35.860288
2020-07-08T21:34:46
2020-07-08T21:34:46
278,198,864
0
0
null
null
null
null
UTF-8
Python
false
false
5,827
py
""" Django settings for sprint_waste_servic_18730 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
25e5547093fa72a5ff91fdf5c2545ec79a793127
e5d059896640e25a57f29f5ec972c114f8ef5866
/src/scs_analysis/socket_receiver.py
68d886c62b7ddd4423cc75d222d28250d1d07be7
[ "MIT" ]
permissive
tonybushido/scs_analysis
10add7b13cee29e1445ea18240bdb08e3bc908a4
1121be19c83b0d616772da42ea90623d6f6573c4
refs/heads/master
2021-01-03T03:11:31.474595
2020-02-11T14:27:32
2020-02-11T14:27:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,516
py
#!/usr/bin/env python3 """ Created on 18 Aug 2016 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) source repo: scs_analysis DESCRIPTION The socket_receiver utility is used to accept data via a Unix socket, with data sourced from the same host, or another host on the same local area network. A socket_send...
[ "bruno.beloff@southcoastscience.com" ]
bruno.beloff@southcoastscience.com
559053148361b7bb8b316ba9e69c87eb3b307856
08eea46f91eb71972b66cc34a620df2a2d15e6a7
/Advanced/Theano/Course/MaxPool.py
fa657097f96c4f937a1bd0ac9f0b3d0150916605
[]
no_license
jsa4000/Getting-Started-Python
ab2f1ce51c78ce870560ab466c8408c9f81717e5
8f7f107a93bb7578a00d531123ee7f5db61d807e
refs/heads/master
2021-01-11T14:19:18.123093
2019-01-12T07:47:51
2019-01-12T07:47:51
81,347,158
0
0
null
null
null
null
UTF-8
Python
false
false
1,543
py
import theano import theano.tensor as T from theano.tensor.signal import downsample import numpy # Now what the Max Pooling algorithm does in a matrix. input = T.dtensor4('input') maxpool_shape = (2, 2) pool_out = downsample.max_pool_2d(input, maxpool_shape, ignore_border=True) f = theano.function([input],pool_out) ...
[ "jsa4000@gmail.com" ]
jsa4000@gmail.com
bb3c3f608d70d420e3a814c30207c034df5c72ea
508321d683975b2339e5292202f3b7a51bfbe22d
/Userset.vim/ftplugin/python/CompletePack/PySide2/QtGui/QMatrix4x4.py
3a5014bf558cdafbdfc83ec79abdb7af136dd07e
[]
no_license
cundesi/vimSetSa
4947d97bcfe89e27fd2727423112bb37aac402e2
0d3f9e5724b471ab21aa1199cc3b4676e30f8aab
refs/heads/master
2020-03-28T05:54:44.721896
2018-08-31T07:23:41
2018-08-31T07:23:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,756
py
# encoding: utf-8 # module PySide2.QtGui # from C:\Program Files\Autodesk\Maya2017\Python\lib\site-packages\PySide2\QtGui.pyd # by generator 1.145 # no doc # imports import PySide2.QtCore as __PySide2_QtCore import Shiboken as __Shiboken class QMatrix4x4(__Shiboken.Object): # no doc def column(s...
[ "noreply@github.com" ]
cundesi.noreply@github.com
2b94ca5f26c8983462ef53b76ee77557a6b751e3
32904d4841d104143ba0f41cc3aeb749e470f546
/backend/django/api/urls.py
6e5dd09bbd5b11925232aa849f7d72ba6e996239
[]
no_license
aurthurm/dispatrace-api-vuejs
20ec5deee015e69bce7a64dc2d89ccae8941b800
56d122318af27ff64755fc515345974631d3026f
refs/heads/master
2023-01-23T23:03:15.438339
2020-10-20T22:09:29
2020-10-20T22:09:29
219,028,985
0
1
null
2022-12-22T18:31:38
2019-11-01T17:08:35
Vue
UTF-8
Python
false
false
877
py
from django.urls import path, include import api.accounts.routes, api.notices.routes, api.memos.routes from rest_framework_simplejwt.views import ( TokenObtainPairView, TokenRefreshView, TokenVerifyView ) from .views import ExtraTokenObtainPairView, get_user_data app_name = 'api' urlpatterns ...
[ "aurthurmusendame@gmail.com" ]
aurthurmusendame@gmail.com
093c22edc372fda95f2e5cdb6c60b226b694b071
7c81f9ea4c77007435781cc7fab991df50747c53
/setup.py
d581e3ec5308d8ee33e528dbc682836b3c7dc998
[ "MIT" ]
permissive
ArutyunovG/netron
dc259584f552e1ef2808cc7a0fc552d6681076c4
07f842e26d3618005ea75a23dd41313ddcfc28d0
refs/heads/master
2022-06-11T17:52:08.567397
2020-05-02T03:53:23
2020-05-02T03:53:23
260,730,924
0
0
MIT
2020-05-02T16:42:28
2020-05-02T16:42:27
null
UTF-8
Python
false
false
6,872
py
#!/usr/bin/env python import distutils import io import json import os import setuptools import setuptools.command.build_py import distutils.command.build node_dependencies = [ ( 'netron', [ 'node_modules/d3/dist/d3.min.js', 'node_modules/dagre/dist/dagre.min.js', 'node_modules/marked/mar...
[ "lutzroeder@users.noreply.github.com" ]
lutzroeder@users.noreply.github.com
b9d25a7978535c0c6e4353d0f3cfda7045e14a4d
250962c80383ecf9c2f94e2874c1e1f961f6a181
/escpos/showcase.py
425709a2b35dd8b0fe2d45b7933843d6b9107c5c
[ "Apache-2.0" ]
permissive
kmee/pyescpos
aa59d6f2d1a9c99d3d9a55da1e1c543c49105da3
b0a0040cd770c1658258a870caca1a33ff010460
refs/heads/master
2023-07-07T09:02:41.581454
2022-04-14T19:05:17
2022-04-14T19:05:17
106,326,996
0
1
Apache-2.0
2022-04-20T18:29:21
2017-10-09T19:34:38
Python
UTF-8
Python
false
false
8,742
py
# -*- coding: utf-8 -*- # # escpos/showcase.py # # Copyright 2020 Base4 Sistemas Ltda ME # # 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 # #...
[ "daniel@base4.com.br" ]
daniel@base4.com.br
440ed281f6b51de91c0e3b9136e205f7ba4f3c15
7c47e106c9ec85a7239c84c55ad5f20972edefcf
/plotting.py
ead3aaf6df3bdf93cf92df55b0cdd303471d0293
[]
no_license
anasthesia/pyBBN
11813717ad5023a9b29f9594ccde93fbc2d5a0c9
0e88604b765eb5ce2f196909c65cf2af11a8cc2f
refs/heads/master
2021-01-21T03:37:46.309318
2016-05-10T12:03:50
2016-05-10T12:03:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,435
py
# -*- coding: utf-8 -*- import os import time import itertools import numpy import pandas import matplotlib.pyplot as plt from common import UNITS, GRID, statistics as STATISTICS from common.utils import ring_deque, getboolenv def monitor_datafile(datafolder, timer=1): datafile = os.path.join(datafolder, 'evo...
[ "andrew.magalich@gmail.com" ]
andrew.magalich@gmail.com
5af60b53e31f670cd9204c30adfae796e822d773
c0b039e2fe126f8675d6c0bd351d7e58570afbd9
/capstone/Lib/site-packages/matplotlib/font_manager.py
10e9f0eb2c3aa63fa8d1e5ff6dc60a6f56afa071
[]
no_license
sungjin0757/Inu-Capstone-2021
4cdd8c8c3963600a24ac69f0a4ffa62d77be7483
c1ab66c89bb25504b6e9203d3646c7fb51101224
refs/heads/master
2023-07-08T15:46:18.673391
2021-08-09T12:57:25
2021-08-09T12:57:25
393,968,655
2
3
null
null
null
null
UTF-8
Python
false
false
51,026
py
""" A module for finding, managing, and using fonts across platforms. This module provides a single `FontManager` instance that can be shared across backends and platforms. The `findfont` function returns the best TrueType (TTF) font file in the local or system font path that matches the specified `FontProperti...
[ "sungjin0757@naver.com" ]
sungjin0757@naver.com
e7abdc3057615b0c4df8020ffafd22f81321db03
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/Zero_Brush/Zero_Brush.py
0b40c4565af51d6f184f0fa1f0620cc26249525c
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
348,557
py
#=============================================================== # Copyright (C)2012-2016 Blender Sensei (Seth Fentress: Licensor) # For more information visit Blendersensei.com # # ####BEGIN LICENSE BLOCK ##### # By using this software (from this point on referred to as "The # Software", you (the Licensee)...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
6c9555e5229edd46116b0be86d1a84edff8b8db7
7bb7b95ba92409ca23c1774a1ed0aec9d9ab2c51
/tutorial2_1.py
84b409cb34ae81b5054bfe4008ca6f9fd2279ee5
[]
no_license
vpobleteacustica/github_tutorial2
065945418640be0bd6364cf4ca0800ec30a59146
2a38c7707b07febaccdd062c98fde2cd293670d2
refs/heads/main
2023-09-03T14:09:47.074066
2021-11-02T19:53:03
2021-11-02T19:53:03
423,952,168
0
0
null
2021-11-02T19:53:04
2021-11-02T18:15:43
Python
UTF-8
Python
false
false
91
py
def hello_world(name): print(f'Hello world {name}') name = 'Víctor' hello_world(name)
[ "=" ]
=
e321495336794031ffac05cf2c6817555903bab5
5410700e83210d003f1ffbdb75499062008df0d6
/Day-2/ndarray-6.py
965e6ad37da413d65901a3423f451ab63c239b05
[]
no_license
lilyandcy/python3
81182c35ab8b61fb86f67f7796e057936adf3ab7
11ef4ace7aa1f875491163d036935dd76d8b89e0
refs/heads/master
2021-06-14T18:41:42.089534
2019-10-22T00:24:30
2019-10-22T00:24:30
144,527,289
1
0
null
null
null
null
UTF-8
Python
false
false
158
py
import numpy as np a = np.array([0, 1, 2, 3, 4]) print(a) print(a[1:3]) print(a[:3]) print(a[1:]) print(a[1:-1]) print(a[::2]) print(a[1:4:2]) print(a[::-1])
[ "myyan_yan@msn.com" ]
myyan_yan@msn.com
b2b0207764e1be3090b747924840f7fb6775ecbc
c2242e8ce873f68efaf5c813820543a495e0d2e5
/project/attendance_system/student/.~c9_invoke_it09KR.py
399e07d384fbdfacabf746a0c0e08588b04df4a2
[]
no_license
BUBTAMS/Attendance_system
7d5471dd699ee3f976051687274d721d8b519e90
f831b29a7083da570f7eccc9ed0bb19b10023fbb
refs/heads/master
2022-03-25T22:10:11.989744
2019-12-15T10:18:41
2019-12-15T10:18:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
893
py
from django import forms from django.contrib.auth.forms import UserCreationForm from django.db import models from django.forms import ModelForm from .models import studentprofile attributes=('student_id','image','mobile_number','parents_number','department','semester','dob','address','roll_no','batch','Class') class ...
[ "ranjaneabhishek.com" ]
ranjaneabhishek.com
1899ab60d5f330bf69ce6a789f5aa04f754a4d41
9fab87766e5e4535db9d2a4f2bb9737d1c842ca9
/python/test.py
700fe0a846bbfbcfc8294bf961a98ca6e3aa8a0d
[ "Apache-2.0" ]
permissive
lavizhao/StumbleUponEvergreen
f10ac075b7b582d68385ae3d8017615d501632c0
85658c4efeeacbb2beae3ad74f7ad176053e4a55
refs/heads/master
2016-09-05T13:57:26.138467
2014-06-11T13:34:44
2014-06-11T13:34:44
20,257,014
1
0
null
null
null
null
UTF-8
Python
false
false
666
py
#coding: utf-8 from read_conf import config import csv import numpy as np from sklearn.preprocessing import Imputer dp = config("../conf/dp.conf") f = open(dp["raw_train"]) imp = Imputer(missing_values='NaN', strategy='mean', axis=0) reader = csv.reader(f,delimiter='\t') a = 0 train = [] for line in reader : ...
[ "zhaoximo@hotmail.com" ]
zhaoximo@hotmail.com
0ac18fe3f7edb520beebb06692cc97b23e5356d0
f78ddd04ac900bfe670ae841ad8b05fbd6fd305d
/collective/powertoken/view/tests/base.py
0115392663f1379ff88738dbe412242f5028fa2c
[]
no_license
RedTurtle/collective.powertoken.view
9b0f0ca53ae9c09258f71b95d0ef2ec90b12e88d
0a5bc89b78918d9319d4e73adc12cf42d42b11da
refs/heads/master
2022-12-24T10:12:31.102480
2012-02-15T14:38:41
2012-02-15T14:38:41
3,111,637
0
0
null
null
null
null
UTF-8
Python
false
false
1,673
py
# -*- coding: utf-8 -*- from Products.Five import zcml from Products.Five import fiveconfigure #from Testing import ZopeTestCase as ztc from Products.PloneTestCase import PloneTestCase as ptc from Products.PloneTestCase.layer import onsetup @onsetup def setup_product(): """Set up additional products and ZCML re...
[ "luca@keul.it" ]
luca@keul.it
011b38953110ae8e07b6bf0a7eb33ac9fe408b87
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/republican.py
1a99ad212489a57bc5f62e301acf0aef831ebb41
[]
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
1,212
py
ii = [('CookGHP3.py', 12), ('MarrFDI.py', 2), ('CoolWHM2.py', 1), ('ChanWS.py', 5), ('SadlMLP.py', 2), ('WilbRLW.py', 1), ('AubePRP2.py', 1), ('CookGHP.py', 32), ('MartHSI2.py', 12), ('KembFJ1.py', 4), ('WilbRLW5.py', 2), ('LeakWTI3.py', 1), ('MarrFDI3.py', 4), ('PeckJNG.py', 3), ('WilbRLW2.py', 5), ('ClarGE2.py', 9), ...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
41187baa2e786d43ecffa07d0bba00d160a1cf24
597d8b96c8796385b365f79d7a134f828e414d46
/pythonTest/cn/sodbvi/exercise/example076.py
022d87cbffcbf48924dbd4c82812d553518ea222
[]
no_license
glorysongglory/pythonTest
a938c0184c8a492edeba9237bab1c00d69b0e5af
ed571d4c240fccfb4396e2890ad922726daa10a0
refs/heads/master
2021-01-21T11:39:35.657552
2019-08-14T02:49:26
2019-08-14T02:49:26
52,493,444
1
0
null
null
null
null
UTF-8
Python
false
false
503
py
#!/usr/bin/python # -*- coding: UTF-8 -*- ''' Created on 2016年1月12日 @author: sodbvi ''' def peven(n): i = 0 s = 0.0 for i in range(2,n + 1,2): s += 1.0 / i return s def podd(n): s = 0.0 for i in range(1, n + 1,2): s += 1 / i return s def dcall(fp,n): s = fp(n) ret...
[ "317878410@qq.com" ]
317878410@qq.com
197169cda56b3bbb7963e86ddffa917b376e09b7
48bb4a0dbb361a67b88b7c7532deee24d70aa56a
/codekata/diftwostr.py
7bc3823d1a60fba9ace83be0cf3bc0c788ab2075
[]
no_license
PRAMILARASI/GUVI
66080a80400888263d511138cb6ecd37540507c7
6a30a1d0a3f4a777db895f0b3adc8b0ac90fd25b
refs/heads/master
2022-01-28T08:54:07.719735
2019-06-24T15:57:05
2019-06-24T15:57:05
191,355,070
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
s=input() r=input() ga=[] if (s.isalpha() or " " in s) and (r.isalpha() or " " in r): s=list(s.split(" ")) r=list(r.split(" ")) for i in s: if s.count(i) > r.count(i) and i not in g: ga.append(i) for i in r: if r.count(i)>s.count(i) and i not in ga: ga....
[ "noreply@github.com" ]
PRAMILARASI.noreply@github.com
b0a7b8d41e7a3721214629851ac2f43b60da1a3a
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_decadence.py
e45ac2d2bb3034736876e778afd0265ab221b42d
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
#calss header class _DECADENCE(): def __init__(self,): self.name = "DECADENCE" self.definitions = [u'low moral standards and behaviour: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []): return self.jsondata...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
594931710b7047f574166ef8b9ffc957b560e8f5
dfb21d9a6537b86b4e62d1ee1dab562507133a72
/python/get_data.py
7cee60bf397736e798d3c871afb59e2b0cb517c1
[]
no_license
kthyng/tabswebsite
a2ff8b540c59c8a66525997d4a1dd84dcd678ca9
3fcbd65a35a23b3aeb7143a54dfbfdf4ac8bbaf1
refs/heads/master
2021-06-01T15:10:10.446790
2021-04-06T15:37:14
2021-04-06T15:37:14
56,723,416
0
1
null
2016-09-14T18:15:50
2016-04-20T21:51:34
JavaScript
UTF-8
Python
false
false
8,991
py
''' Get data into temporary text files and present it as table or image. Or, if dstart/dend are not provided, read in previously-created daily file and present as table or image. example (since dstart and dend are optional) run get_data.py '../tmp/tabs_F_ven_test' --dstart '2017-01-5' --dend '2017-01-5 00:00' 'data' -...
[ "kthyng@gmail.com" ]
kthyng@gmail.com
2783c24639ee36365aef4ca759ece83577cf2167
a5dacc8ea7dba732c6884a18775317dd7c59a6d6
/examples/cull-idle/jupyterhub_config.py
2de8f424989a3a5da8e62e5c27381aabb3c47ecf
[ "BSD-3-Clause" ]
permissive
richmoore1962/jupyterhub
de7b995d5a4d57a471bfed9ac96de3176cfa4c5f
5d7e0080553a2255e13980aee7249afb141b154e
refs/heads/master
2022-12-23T11:03:30.989101
2017-11-03T09:31:46
2017-11-03T09:31:46
109,429,441
0
0
NOASSERTION
2020-09-20T20:33:13
2017-11-03T18:25:32
Python
UTF-8
Python
false
false
194
py
# run cull-idle as a service c.JupyterHub.services = [ { 'name': 'cull-idle', 'admin': True, 'command': 'python cull_idle_servers.py --timeout=3600'.split(), } ]
[ "benjaminrk@gmail.com" ]
benjaminrk@gmail.com
5f21d3d4219a6206895837a13333cb428c0e6212
dc51e4714820d991e7d0e94b3e9eac4dbc67eea7
/project/utils/auth.py
18f86a9f587e9c86950a9f1d5416c4b9d61403b5
[]
no_license
ruoxiaojie/Django
537d27abe9ebb85e0dfc69585f318a87e7514a70
92b88600953cd4ff743032cab3d4785437c949e0
refs/heads/master
2021-01-15T22:18:56.033883
2018-03-09T06:15:46
2018-03-09T06:15:46
99,894,862
0
1
null
null
null
null
UTF-8
Python
false
false
387
py
#!/usr/bin/python #Author:xiaojie # -*- coding:utf-8 -*- from django.shortcuts import HttpResponse,redirect def Auth(func): def wrapper(request,*args,**kwargs): session_dict = request.session.get('user_info') if session_dict: res = func(request,*args,**kwargs) return res ...
[ "475030894@qq.com" ]
475030894@qq.com
9d58e38063f9ca3c1fa93866836158614af67dbb
0bb49acb7bb13a09adafc2e43e339f4c956e17a6
/OpenAssembler/Gui/AttributeEditor/attributeEditor.py
0fa595c533f6ab79ea8d3ca02c021437b4ec8084
[]
no_license
all-in-one-of/openassembler-7
94f6cdc866bceb844246de7920b7cbff9fcc69bf
69704d1c4aa4b1b99f484c8c7884cf73d412fafe
refs/heads/master
2021-01-04T18:08:10.264830
2010-07-02T10:50:16
2010-07-02T10:50:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,152
py
# ##################################################################################### # # OpenAssembler V3 # Owner: Laszlo Mates # Email: laszlo.mates@gmail.com # Date: 2009.06.04 # # ##################################################################################### from PyQt4 import QtCore, QtGui from Gui.OA...
[ "laszlo.mates@732492aa-5b49-0410-a19c-07a6d82ec771" ]
laszlo.mates@732492aa-5b49-0410-a19c-07a6d82ec771
c6cd25abaf3d9676fc733ab507b5ae2e2e31a87f
fb5b204943101746daf897f6ff6e0a12985543c3
/models/usgs_sfbay/rules_hirakawa_aagaard_2021.py
c7d8ad87f9ebe5d20a829d14fd8b66c17f404ca5
[ "LicenseRef-scancode-warranty-disclaimer", "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
baagaard-usgs/geomodelgrids
911a31ba23ca374be44873fdeb1e36a70ff25256
7d0db3c4ca1a83fea69ceb88f6ceec258928251a
refs/heads/main
2023-08-03T07:52:25.727039
2023-07-27T21:56:19
2023-07-27T21:56:19
97,262,677
5
3
NOASSERTION
2023-03-23T03:34:45
2017-07-14T18:34:38
C++
UTF-8
Python
false
false
9,680
py
"""Rules for defining elastic properties given x, y, depth as given in Hirakawa and Aagaard (20XX). Hirakawa and Aagaard, B. T. (20XX), , Bulletin of the Seismological Society of America, XXX(X), XXXX-XXXX, doi: 10.1785/XXXX. The x and y coordinates are in the *unrotated* model coordinate system in units of m. That i...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
f46481c123eee2c7b164413ece213c6de9a666b1
a32c2ee4e6b2b1c6f8db02320c4bd50b17940af5
/modules/TIMCardHolderAddFriends/TIMCardHolderAddFriends.py
086b16f65630f26fa39058f13b7086328fafb33d
[]
no_license
wszg5/studyGit
93d670884d4cba7445c4df3a5def8085e5bf9ac0
bebfc90bc38689990c2ddf52e5a2f7a02649ea00
refs/heads/master
2020-04-05T02:55:17.367722
2018-11-07T06:01:03
2018-11-07T06:01:03
156,494,390
2
2
null
null
null
null
UTF-8
Python
false
false
4,566
py
# coding:utf-8 from uiautomator import Device from Repo import * import os, time, datetime, random from zservice import ZDevice class TIMCardHolderAddFriends: def __init__(self): self.repo = Repo() def action(self, d, z, args): cate_id = args["repo_number_cate_id"] collect_count = i...
[ "you@example.com" ]
you@example.com
d03d5c855680e1b6fa3515be40d126c7e532e244
943dca755b940493a8452223cfe5daa2fb4908eb
/abc116/c.py
5267dea5164cda9c07be495dd9a9df3f46b7cd66
[]
no_license
ymsk-sky/atcoder
5e34556582763b7095a5f3a7bae18cbe5b2696b2
36d7841b70b521bee853cdd6d670f8e283d83e8d
refs/heads/master
2023-08-20T01:34:16.323870
2023-08-13T04:49:12
2023-08-13T04:49:12
254,348,518
0
0
null
null
null
null
UTF-8
Python
false
false
236
py
n=int(input()) hs=list(map(int,input().split())) c=0 m=max(hs) while not m==0: b=0 for i,h in enumerate(hs): if h==m: if not b==m: c+=1 hs[i]-=1 b=h m=max(hs) print(c)
[ "ymsk.sky.95@gmail.com" ]
ymsk.sky.95@gmail.com