blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
843d08c826f8a29b84e9e209cbd7cf14df5aad5d
bcc199a7e71b97af6fbfd916d5a0e537369c04d9
/acmicpc/solved/2448_Draw_Stars/solution.py
bd9a9474145925faf28b5b29de95d694d48808eb
[]
no_license
sungminoh/algorithms
9c647e82472905a2c4e505c810b622b734d9d20d
1389a009a02e90e8700a7a00e0b7f797c129cdf4
refs/heads/master
2023-05-01T23:12:53.372060
2023-04-24T06:34:12
2023-04-24T06:34:12
87,406,513
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
import math base = [' * ', ' * * ', '*****'] n = input() def get_k(n): return int(math.log(n/3., 2)) def concat1(a, b): return [x[0]+' '+x[1] for x in zip(a, b)] def concat2(a, b): return [x[0]+x[1] for x in zip(a, b)] def nth(i): if i == 0: return base else: child = nth(...
[ "smoh2044@gmail.com" ]
smoh2044@gmail.com
a6223c3a60b16697d235aa1eeeb4a1c5dda89b26
5c254373f6725107931b68704436c2dbcd39d877
/data_utils/FS_utils/eval_map.py
ff3f00e38f9b4ccfb4a4a595343df50faa23d6c3
[ "MIT" ]
permissive
JunLi-Galios/unsup_temp_embed_alternating
22330346094720ecba2e5af305febe586566b92f
1b054fd82aadcfe1aa219be17beb77c89efd974e
refs/heads/master
2023-03-21T04:06:16.044321
2021-03-20T06:06:06
2021-03-20T06:06:06
322,737,110
0
0
null
null
null
null
UTF-8
Python
false
false
1,472
py
#!/usr/bin/env python """Eval level activity """ __author__ = 'Anna Kukleva' __date__ = 'January 2019' import os from ute.utils.arg_pars import opt import data_utils.FS_utils.update_argpars as fs_utils fs_utils.update() actions = ['add_dressing', 'add_oil', 'add_pepper', 'cut', ...
[ "kuklevaanna@gmail.com" ]
kuklevaanna@gmail.com
ab54c3fec9ba07713adc4ae66b5a6cad3fcd046b
3a32644df62877604b44593267d41d3c664c1867
/2-MaksimovKA/configs/senet154_gcc_fold1.py
0a435ddbab501c6e2adeb28f20da1b35af7cf4ea
[ "Apache-2.0" ]
permissive
avanetten/SpaceNet_SAR_Buildings_Solutions
f5872778baf7cd7f7b22f2a4b104a5f680a33a28
6a9c3962d987d985384d0d41a187f5fbfadac82c
refs/heads/master
2023-01-21T01:43:04.626934
2020-12-04T00:15:21
2020-12-04T00:15:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,539
py
import albumentations as albu data_type = 'SAR-Intensity' train_images = '/data/SN6_buildings/train/AOI_11_Rotterdam/' masks_data_path = '/wdata/train_masks' logs_path = '/wdata/segmentation_logs/' folds_file = '/wdata/folds.csv' load_from = '/wdata/segmentation_logs/8_3_reduce_1_unet_senet154/checkpoints/best.pth' mu...
[ "noreply@github.com" ]
noreply@github.com
26f1f046fbcc3e826fb8fa1f586db82a5eadc742
aea02d626c10396c2220d5ee642cb9c279e5bc37
/migrations/versions/34c8e6e836da_email_column.py
d039f076f6691862d68521cdf0df979072f894e7
[ "MIT" ]
permissive
Derrick-Nyongesa/Blog
5fb176575865a75a02658bc8622fed3b9e05c919
aff6b97aac958e6f626c934c57fffba1bb1f845d
refs/heads/main
2023-04-14T12:21:20.890964
2021-04-26T07:07:55
2021-04-26T07:07:55
360,806,456
0
0
null
null
null
null
UTF-8
Python
false
false
795
py
"""email column Revision ID: 34c8e6e836da Revises: 4fb50df0a785 Create Date: 2021-04-23 14:54:17.658067 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '34c8e6e836da' down_revision = '4fb50df0a785' branch_labels = None depends_on = None def upgrade(): # #...
[ "nyongesaderrick@gmail.com" ]
nyongesaderrick@gmail.com
76ba62a559610663ca326ece919f5ec2eb2f0cc0
83577b0af69bd89f4cec0621ca66ceaf339f6937
/2.py
49a78db147670acbc77414435c3ca3c5dd3abc06
[]
no_license
engus/web-services
2b21c851f2986adaeb6a30b74ae113dd6ed3317d
96b30a4070fdabd1b44f2875bb03ac90920f7e9b
refs/heads/master
2022-12-09T03:31:36.363389
2020-09-04T18:24:14
2020-09-04T18:24:14
292,918,071
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
# from requests import get # print(get('http://stepik.org/favicon.ico').headers['server']) import socket HOST = '' PORT = 4000 with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.bind((HOST, PORT)) s.listen(1) conn, addr = s.accept() with conn: print('Connected by', addr) ...
[ "engusmail@gmail.com" ]
engusmail@gmail.com
2347536eb37a719bc87f0edc137313e5e7eacfe6
5b9f9b4ea1494943e6f7f842df55909599ed1304
/python/onshape_client/oas/models/security_scheme.py
90cf4db87b065dc49b92d77bf05e8d217d9c5b3c
[]
no_license
jenniferyoung02/onshape-clients
f50534f033428027515b7fc0b801b1caab4d0aec
8ee31a17d7af32f105b851e45f69fd4a3006e1ba
refs/heads/master
2020-09-07T06:44:37.682545
2019-10-08T18:52:06
2019-10-08T18:52:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,638
py
# coding: utf-8 """ Onshape REST API The Onshape REST API consumed by all clients. # noqa: E501 The version of the OpenAPI document: 1.104 Contact: api-support@onshape.zendesk.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six class Securit...
[ "ekeller@onshape.com" ]
ekeller@onshape.com
fd9bc4ff7f15ebfda415eb8929506aa3c0e1025e
b1e243e32232ef3cf9432fcdbdbf4771e4da35d3
/backend/vdoc/migrations/0014_report.py
48535c821853e624432878c61c2d97a1c2d2ffa6
[]
no_license
srijannnd/Major-Project
ad9d0a21264ae07c13882f801d6d8fe3d49fe10d
77007d9f77d1c5ddef0ca97ae5d36a5244655f74
refs/heads/master
2022-12-24T08:20:36.557228
2018-04-28T05:08:37
2018-04-28T05:08:37
121,938,968
0
0
null
2022-12-08T00:55:15
2018-02-18T09:53:11
Python
UTF-8
Python
false
false
1,020
py
# Generated by Django 2.0.2 on 2018-03-27 15:41 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('vdoc', '0013_symptomrela...
[ "srijannnd@gmail.com" ]
srijannnd@gmail.com
78befbcc094a1c019b67d6b56a7b35cf4e3d6b6b
a89c739589d0ee29ff6fff1a1508a426dfe4489a
/basics/assert.py
b7872ff4b51952a23919213ac3ad863af939f0fd
[]
no_license
macabdul9/python-learning
107e3533998e3f373b804d6b59152fc41938604b
f0d5e0e37cbed3d846684be80f0f92e5cbb9ceb5
refs/heads/master
2020-04-27T04:31:47.907486
2020-03-05T16:48:53
2020-03-05T16:48:53
174,057,604
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
""" @author : macab (macab@debian) @file : assert @created : Sunday Mar 17, 2019 00:28:58 IST """ ''' Python provides the assert statement to check if a given logical expression is true or false. Program execution proceeds only if the expression is true and raises the AssertionError when it is false. The ...
[ "abdulwaheed1513@gmail.com" ]
abdulwaheed1513@gmail.com
691fa607d10aae4633b705ab3b936b9e52d14591
ab62dd7d0e6eef2bb9958cac2d03f99036fdfa00
/users/forms.py
378fca9a15e057f85c87522e1c34a79082c1cdbe
[]
no_license
kalugege/Django-blog
ba491682791518bcb801f2c155c0f0e4c0ae2903
77014ef7fd9c5152fefd894324a7897bbacc4eee
refs/heads/main
2023-02-16T12:42:43.534554
2021-01-08T11:44:50
2021-01-08T11:44:50
327,887,152
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm,UserChangeForm from django import forms class UserRegisterForm(UserCreationForm): email = forms.EmailField() first_name = forms.CharField(max_length=10) last_name = forms.CharField(max_length=10) class ...
[ "kalugege@gmail.com" ]
kalugege@gmail.com
50a685613a2a66ffb9e6c3fd21431b38f2ab0249
18e1725da4de5a15ead54c77807c920a908b8cd6
/order/urls.py
3b01217b6f3d3adb98f306f306ee66b98f920fae
[]
no_license
piertf14/weblota
2a47424ca168fcb4e8acb58a6ed408033e66f3b6
0123cdcb63450d25ef54d45e4a8fab71a1df390e
refs/heads/master
2022-12-11T22:43:24.521661
2019-07-10T02:10:50
2019-07-10T02:10:50
191,693,978
0
0
null
2022-12-08T05:15:27
2019-06-13T05:04:08
JavaScript
UTF-8
Python
false
false
118
py
from order import views from django.urls import path urlpatterns = [ path('order/', views.OrderAPI.as_view()), ]
[ "piertf14@gmail.com" ]
piertf14@gmail.com
07b1dc0344a5647316639af1cc3e0d015e5e107f
7a5c9962ee40996a9f24f5493c715d5553052cf7
/jobs/apps.py
659d18b194f99c3b388bbaea0e799ca23b237f8c
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
dymaxionlabs/satlomas-back
da6355d1fc90a2e9d4a7795b4751e3ebe043ffa6
f4568f6535755fd4a2432ecc661a264872206c6c
refs/heads/master
2023-07-17T17:07:43.037314
2021-08-28T15:54:21
2021-08-28T15:54:21
262,424,687
0
0
null
2020-05-08T20:42:49
2020-05-08T20:42:48
null
UTF-8
Python
false
false
132
py
from django.apps import AppConfig class JobsConfig(AppConfig): name = 'jobs' def ready(self): import jobs.signals
[ "munshkr@gmail.com" ]
munshkr@gmail.com
35b58001605bb09aa9f45abcf4fa8ce37dc67f07
35fbaa56d47be07dc7d12d00dfacebe3951e8799
/model_test.py
3e74b6836f858148ae434d76aaf2733a8eb7bd6f
[]
no_license
bhuvneshsaini/Image_Classification
dac7d8810ea2d3f1f926609f0bf590cf901f27b7
db1306713312995789c4010c5f2c83ba18bc846e
refs/heads/master
2020-05-21T05:03:57.212163
2019-05-10T03:44:32
2019-05-10T03:44:32
185,731,442
0
0
null
2019-05-09T06:47:30
2019-05-09T05:23:13
null
UTF-8
Python
false
false
1,681
py
from keras.models import load_model #from keras.preprocessing import image import numpy as np import cv2 from keras.preprocessing.image import img_to_array # dimensions of our images img_width, img_height = 150, 150 test_data_dir = 'data/test' # load the model we saved model = load_model('modelTest.model...
[ "noreply@github.com" ]
noreply@github.com
c4b8e02e5a8fc6916df1ccfb0975816db60f82f8
a091a54aeffb93be44a9c144b4b6857085195023
/bannan.py
90f08d3989afa9b91c6c00b780653d12a8380da7
[]
no_license
NanChenXue/1-100.py
1c5e9103a5f1ffcfb96930ccef3976f91e958341
a80720b6b3a43f06efabe4117c281cb4e13f4565
refs/heads/master
2023-08-21T18:07:31.651051
2021-10-20T03:47:44
2021-10-20T03:47:44
419,171,470
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
import pandas as pd import matplotlib.pyplot as plt # df = pd.DataFrame( # { # "Name": [ # "Braund, Mr. Owen Harris", # "Allen, Mr. William Henry", # "Bonnell, Miss. Elizabeth", # ], # "Age": [22, 35, 58], # "Sex": ["male", "male", "female"], # ...
[ "2955728197@qq.com" ]
2955728197@qq.com
03d7464aee1112ae11ab9bc89da55fc90f313435
e7a036f47d4ba2ecd6d8726b5e634127e1779f84
/data/state_abbrev.py
deeb85e9f94a7cacc144eebb3afed0be9cbbac58
[]
no_license
johnyrufus/cartogram-covid19
ba6009d5ff0e80d9361aacad74c542f1368b5506
2ccc82fae2871bd17b6606d89a4a00d232675459
refs/heads/master
2022-11-21T21:31:55.703185
2020-07-30T19:14:07
2020-07-30T19:14:07
283,838,213
1
0
null
null
null
null
UTF-8
Python
false
false
3,472
py
state_abbrev = us_state_abbrev[state] import os from datetime import timedelta, date from PIL import ImageColor from PIL import Image import math import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt from matplotlib import cm #from colorspacious import cspace_converter from collections import Or...
[ "johnyrufus@gmail.com" ]
johnyrufus@gmail.com
a07cd8b4b275543aae79e77b2d50e7a705929b97
74cf122ffcc6e659801bddb62255bb3513be7933
/hackthenorth/picapp/apps.py
a08515bd21dd7cb3748619b0083a55061dd284d9
[]
no_license
NicoleStrel/HacktheNorthArchived
5a1a31fd981903ae88ad3ede98ec0be748c8d8b3
4a7dd66951db5bc3cab540098aad3f778bf400e0
refs/heads/main
2023-02-18T09:09:45.354707
2021-01-16T15:06:52
2021-01-16T15:06:52
330,084,573
1
0
null
null
null
null
UTF-8
Python
false
false
87
py
from django.apps import AppConfig class PicappConfig(AppConfig): name = 'picapp'
[ "streltsovnicole@gmail.com" ]
streltsovnicole@gmail.com
1512c5e0eb679998a4e4a6f0e9c1605062457898
834c00a4bce58d4e7d015fdca1da413f7120023c
/apps/samadhana_app/apps.py
5152c85a1e469cf31d3ca14750d9dedbbf3a3484
[]
no_license
sumanth325/samadhana
74cd07cd7ae5033937cccd743232bc3cb3cf9deb
89f5ad92d08d0766ff146c4e11d86d5d7e7554da
refs/heads/master
2020-03-27T05:49:33.476935
2018-08-25T01:33:19
2018-08-25T01:33:19
146,054,975
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
from django.apps import AppConfig class SamadhanaAppConfig(AppConfig): name = 'samadhana_app'
[ "sumanth325@gmail.com" ]
sumanth325@gmail.com
7a6c254cbc7e0b5d94437a6f0cb3061191327052
5942e3e75ef7dc22a67b04fb1f12e14658a2093d
/documentation_files/platform.py
d83912b2d5f5be349492150ecc6894802fff344d
[]
no_license
the-factory/kdevelop-python
9e94d2a4d4906a31a4d2a8a08300766e02d41a59
1e91f2cb4c94d9455a2ee22fef13df680aeed1ab
refs/heads/master
2021-01-18T08:57:16.707711
2012-04-09T22:37:47
2012-04-09T22:37:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,818
py
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- """:synopsis: Retrieves as much platform identifying data as possible. """ def machine(): """ Returns the machine type, e.g. ``'i386'``. An empty string is returned if the value cannot be determined. """ pass def node(): """ Returns the computer's network na...
[ "svenbrauch@googlemail.com" ]
svenbrauch@googlemail.com
9c4be50e59b7490e407701acc732e406059a83e8
8425bd2b3e6e16718f948cf1ab78f2b32cd3e888
/init_dataset.py
e1df5e2bfa19af6f405bafeceb8c279cd152afdf
[ "MIT" ]
permissive
lujiaxuan0520/NAIC-ReID-2020-contest
2efca188fce1cfc7c016c295988715c405f50a94
51953a6927afb71733e39845fec9723210d37a1b
refs/heads/master
2023-01-24T17:29:54.586836
2020-11-30T04:33:42
2020-11-30T04:33:42
292,447,106
1
0
null
null
null
null
UTF-8
Python
false
false
6,079
py
#################################################################################### # initialize the datasets, including train, gallery and query # Author: Jiaxuan Lu # make the folder as: # images: directory, the training images # query: directory, the query images # gallery: directory, the gallery images # l...
[ "ljx2856@126.com" ]
ljx2856@126.com
b4528282c5d0f3c4f595fde399e3016578457b11
b2ff5ac2ef633e41ecec6ff7baae4b89254bf151
/Hello_World/src/mainapp/profiles/migrations/0005_auto_20201015_1938.py
aa9304e6331f9e2da41aa37edffbcfac7c8524bf
[]
no_license
r3bunker/Python-Projects
2bda2be348bc4e0aa530cadbf8c26a7f163bcd3f
e8742a9c5ed92424b5aeee0041e6e2267f26ccc6
refs/heads/master
2023-01-04T20:30:50.250655
2020-10-29T17:41:14
2020-10-29T17:41:14
300,012,282
1
0
null
null
null
null
UTF-8
Python
false
false
461
py
# Generated by Django 3.1.2 on 2020-10-16 01:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('profiles', '0004_auto_20201015_1913'), ] operations = [ migrations.AlterField( model_name='profiles', name='prefix',...
[ "r3bunker@gmail.com" ]
r3bunker@gmail.com
79d111b06bcbb7f38daec395021ab236da6001f6
3d9331dd5a4d3020ce36e52025cec34c5037fb33
/harbour/isc.py
b107ba3fb326f45d120a3f94933496820ff9ab53
[]
no_license
amar-laksh/Pyrain
95e651c3313342a0d0aa4d79097c1f4389f88626
dd9786456b007b5797ba7f0d792a3dc4a0cb865b
refs/heads/master
2021-01-10T13:44:52.297005
2015-12-04T17:38:34
2015-12-04T17:38:34
46,549,326
0
0
null
null
null
null
UTF-8
Python
false
false
5,610
py
""" import requests headers = {'User-Agent': 'Mozilla/5.0','Content-Type': 'application/html; charset=UTF-8'} payload = {'courseCode':'ISC','uniqueId':'5537920',''} link = 'http://www.cisce.org/Results/Result/ShowResult?' session = requests.Session() #resp = session.get(link,headers=headers) cookies = requests.utils.c...
[ "zacnethen@gmail.com" ]
zacnethen@gmail.com
42c40f40eb83c262bfe63c399e68cb393dc3950e
3199d6fa8bc813969276e24e8ed02e6f5865270a
/contours_from_images_basic.py
1fcbe2fce83c5e2c7d20cb3f7066b399dd394223
[]
no_license
jeffreyling/cs283final
d23b7f38e4d46a7bb51366718ae520f556199339
e01db63f6d045cc7a5037e9d9679c3719552c387
refs/heads/master
2020-05-18T11:56:59.333684
2014-12-11T04:01:11
2014-12-11T04:01:11
27,853,327
1
0
null
null
null
null
UTF-8
Python
false
false
2,295
py
import numpy as np, scipy.io import cv2 from PIL import Image import os import pickle DRAW_CONTOURS = False path = '/Users/dna/Dropbox/waverley/Jeffrey.Ling/Work Documents/Harvard/Fall 2014/CS 283/Final project/MPEG7dataset' os.chdir(path) work_path = '/Users/dna/Dropbox/waverley/Jeffrey.Ling/Work Documents/Harvard...
[ "jling@college.harvard.edu" ]
jling@college.harvard.edu
71278916dbae83b487e3df246eb85d8edca2919f
b9e1fd7786a0d319c36c13509a6a43704ac7dde3
/instrumenter/bigfoot_instrumenter.py
5b4214579d8e3b2e9121840f8dd86cef0595a545
[]
no_license
mrchristensen/Censor
0f5d933b8964f9ff4da74fcc476e970870ae9e79
51bd9de9f264545d78c03e3cb75fe1aa2a421444
refs/heads/master
2023-08-14T00:24:54.279892
2019-06-11T18:42:17
2019-06-11T18:42:17
412,233,240
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
"""Bigfoot Instrumenter""" from instrumenter.instrumenter import Instrumenter class BigfootInstrumenter(Instrumenter): # pylint: disable=abstract-method """Instrumenter that registers minimal set of reads/writes""" # TODO set up any extra state needed for bigfoot analysis # in __init__ method def re...
[ "benjaminogles@gmail.com" ]
benjaminogles@gmail.com
da892f7e7f17493f18e65fa0896f5b20776709f2
6046a90aa609949821166f615147dd13c3ecc831
/course/interface_automation/class_0625_unittest_excel/test_cw0625_run_log_2.py
e0b63b33ecee0687144e1c553e12dd06cf3a0413
[]
no_license
tudaozi/APITest
9be6973a882cb959e2918450773e058544a74e55
4274515b4d5b7589da00eac2639d004789b236f0
refs/heads/master
2020-06-27T20:59:17.279477
2019-08-01T15:33:23
2019-08-01T15:33:23
200,048,037
0
0
null
null
null
null
UTF-8
Python
false
false
715
py
#!/usr/bin/env python # coding=UTF-8 """ @Author: STAURL.COM @Contact: admin@staurl.com @Project: python_full_stack_automation_test @File: test_cw0625_run_log_1.py @Time: 2019-06-29 22:19 @Desc: S """ from interface_automation.class_0625_unittest_excel import HTMLTestRunnerNew from interface_automation.class_0625_unitt...
[ "1626202029@qq.com" ]
1626202029@qq.com
c427dc58bfac22d488c289db1488baa39d4a7585
ca101bfd4269632bb3a3142c9088f19881295bf9
/laba2/mission_2_4.py
0ffea41dd7c39244200fb184251b49b05b2d8664
[]
no_license
ConfickerVik/home_work
292d2ffb3c5d979f105ce5e2071cefcd5427d886
81ddba926ac1a36b41a13cda7582ec946c1cfb96
refs/heads/master
2020-07-24T23:34:23.812513
2019-12-07T11:03:42
2019-12-07T11:03:42
208,084,643
1
0
null
null
null
null
UTF-8
Python
false
false
936
py
import re import string class Search: def search_sample(self, word_list, word_sample): for word in word_list: if word.lower() == word_sample.lower(): with open("result2_4.txt", "w") as file: file.write(word) print("") if __name__ == '__main...
[ "oshepkoviktor@gmail.com" ]
oshepkoviktor@gmail.com
3bd99986bac464877fb153fbf0f5e208d0398ab1
6b8edda1ba02d18bb27f332eff1ac72704f986fc
/soi_bak/rasperberrypi/arduino.py
f869fd57fcc60783a0a3628053488b4a21886d32
[]
no_license
kongdej/soi
c7940fa095accc982ff0b85dfc2e43849704c1e5
f6cd52c1bd1b847a87156bb536aeacb23836dec9
refs/heads/master
2021-01-21T09:02:59.638960
2017-09-08T02:45:45
2017-09-08T02:45:45
101,964,697
0
0
null
null
null
null
UTF-8
Python
false
false
1,433
py
#!/usr/bin/python import microgear.client as microgear import time import serial import RPi.GPIO as GPIO # Raspery GPIO setup GPIO.setwarnings(False) GPIO.setmode(GPIO.BOARD) relays = [29,31,33,35,37,36,38,40] for i in range(0,8) : GPIO.setup(relays[i], GPIO.OUT) GPIO.output(relays[i], False) # Arduino Serial po...
[ "kongdejs@gmail.com" ]
kongdejs@gmail.com
428bd78c26371e93841a86cf15ea344b9b336399
50d39f7a91047c7498714fd68958156320efdf5f
/cwr/grammar/record/writer_territory.py
f2dcc1c3454b7d7ebcad3fc23a15bd1c95df4167
[ "MIT" ]
permissive
toddrimes/CWR-DataApi
a82784ec198e35ab311bf5576d31eefb9269939c
4d9f504d9032cf1aa1bd86db6efbe26042c6a6ae
refs/heads/master
2021-01-24T23:00:57.383927
2015-03-13T10:04:29
2015-03-13T10:04:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,830
py
# -*- coding: utf-8 -*- from data.accessor import CWRConfiguration from cwr.grammar.field import table as field_table from cwr.grammar.field import special as field_special from cwr.grammar.field import record as field_record from cwr.grammar.field import society as field_society from cwr.grammar.field import writer_t...
[ "programming@wandrell.com" ]
programming@wandrell.com
8144ebb3b0c7b13753fc4942ad35921f02119d5a
8216c22f3d1c0de869b6f7f4b71bcda39cde57c7
/ml/data.py
e89a1078182fed6eaaff44fcbf977080a6d77924
[]
no_license
scottdnz/challenge2020
37d1062c0fc3b8f9b684796395e922cc1aa12f9c
0d69fd27af19ecf23550cb60e0bb6b9823a9194d
refs/heads/master
2022-12-04T18:21:41.891782
2020-08-24T23:25:49
2020-08-24T23:25:49
288,309,495
0
1
null
null
null
null
UTF-8
Python
false
false
4,274
py
import csv from MySQLdb import _mysql def safe_cast(val, to_type, default=None): try: return to_type(val) except (ValueError, TypeError): return default def add_app_details(db, results): for job in results: jid = int(job.get("ID")) db.query("""SELECT * FROM jobs_app WHERE JID = '%d' AND ...
[ "jonathan.remnant@objective.com" ]
jonathan.remnant@objective.com
c0e8d2a4dd57f7f8365f36b333ff42431805e131
6300fcf67d4fcb5387a9f0f7370a8ffe8f4097d9
/AutoParts/Tests/account_auth/views/sign_out_test.py
958b55a8fb6505816eee2d92d73bf3c17334b56b
[]
no_license
Borislav-source/Final-Project
e34ac1cbb71e3a32ed490361d3583c2e1e8bfbc9
501b258d103c2e1b8947451f4bdf750709d040fd
refs/heads/master
2023-07-17T15:03:19.390774
2021-09-01T14:06:09
2021-09-01T14:06:09
393,977,540
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
from django.urls import reverse from Tests.base.tests import AutoPartsTestCase class SignOutTest(AutoPartsTestCase): def test_sign_out__if_user_is_logged_out(self): self.client.force_login(self.user) self.assertTrue(self.user) self.client.logout() self.assertTrue(self.user)
[ "tsv.borislav@gmail.com" ]
tsv.borislav@gmail.com
f6831d6e257111ad564803e73db4bb47ca4bdcf1
1a73c506a7528026f9215ccbf0bba55d4a322346
/python/scrapy/onescrapy/onescrapy/items.py
3c68ec12b1fbcbe6fd57290e7a41634cfc2382da
[]
no_license
clearLoveKang/myPython
c3b533553067fddaac26d5341e307b521de55944
33d437629db498db4e41b48cd233e81a1cb5eaaa
refs/heads/master
2021-04-09T10:40:08.266133
2018-12-10T02:10:37
2018-12-10T02:10:37
125,455,226
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class OnescrapyItem(scrapy.Item): # define the fields for your item here like: name = scrapy.Field()
[ "952472388@qq.com" ]
952472388@qq.com
5076a64b7b9dffb2596e7311309c3d5dfccaca8b
d99f3470287da3b06b76f79ff65948446ec0e49e
/dojos_and_ninjas _mod/config.py
8069c064507d8987d43d333d5bb9ad690c29fc19
[]
no_license
ivanmallory/ivanm_flask_orm
7534543d206835982f629c1c93a898253e056afb
9ddac13cd5f1b4e3248dca8ea7724328db0914c7
refs/heads/master
2020-12-19T05:22:02.071929
2020-01-22T17:57:01
2020-01-22T17:57:01
235,631,969
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
from flask import Flask, render_template, request, redirect from flask_sqlalchemy import SQLAlchemy from sqlalchemy.sql import func from flask_migrate import Migrate app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///dojos__and_ninjas.db' app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = Fals...
[ "ivanmallory1992@gmail.com" ]
ivanmallory1992@gmail.com
4a4e5bdea8de23edaf036bc86516d16341fe88d4
458794a353edbcc6bca7194a2b760be8ff65ad1a
/decode/PNG_tIME.py
c321b5f2c0e7deb0dc6c75c68d1a17ac66052324
[ "Apache-2.0" ]
permissive
SkyLined/headsup
00d9159c0f9754e5856ef76ef7a27d01a68527d5
8c07c0a4b90c5fad2c208a88bd2b2fc12ecadea4
refs/heads/master
2016-09-07T23:56:56.548438
2010-10-12T15:23:11
2010-10-12T15:23:11
40,093,381
2
0
null
null
null
null
UTF-8
Python
false
false
1,932
py
# Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
[ "skylined@chromium.org" ]
skylined@chromium.org
c09be5392593947bc208bbe0f96bf3347b96be9f
b2f736d922eb0bb8f1fc0dd426106ca6ea548257
/eDobromir/eureka/admin.py
5509fb6870e31a0ab94f8f3779e8ff739bc8980b
[]
no_license
Stefanoses/eDobromir
95ff49e52189c9fe7825523c1fb0833ac3f9db7a
a685dd10af80acd2e552da13152f917166082a82
refs/heads/master
2020-07-28T04:14:23.135993
2019-09-18T12:59:02
2019-09-18T12:59:02
209,305,355
0
0
null
null
null
null
UTF-8
Python
false
false
890
py
from django.contrib import admin from .models import Eureka, EurekaInstruction, EurekaInstructionStep from guardian.admin import GuardedModelAdmin class EurekaAdmin(GuardedModelAdmin): prepopulated_fields = {"slug": ("title",)} list_display = ('title', 'slug', 'created') search_fields = ('title', 'content...
[ "stefan.freespace@gmail.com" ]
stefan.freespace@gmail.com
01c0bc0094458a1b15a835bb362e74daa12cd141
44946aab1360f30a871c41b9d9e9d40b2b3027f9
/First Thingspeak code.py
b7b3f452e077ec35f41cfdaab434943a3978680a
[]
no_license
TalalBhatti/Smart-Agriculture-Python
6a30494477941b2be9818338af31739203117fe1
36b3264356a499d91a6232bbc5ea741177f77f61
refs/heads/master
2022-11-30T23:47:18.443652
2020-07-21T17:52:50
2020-07-21T17:52:50
255,388,845
1
0
null
null
null
null
UTF-8
Python
false
false
542
py
import random import threading import urllib.request import requests # Define a function that will post on server every 15 Seconds def thingspeak_post(): threading.Timer(15, thingspeak_post).start() val = random.randint(1, 30) URl = 'https://api.thingspeak.com/update?api_key=' KEY = '2K1UL7AJ3BY7PQQN'...
[ "talalabhatti@gmail.com" ]
talalabhatti@gmail.com
ebd5a34e37cd1a3e999bd706c4cfe2074ec7d71c
2a6b26a6f6924b55cf01bd1c347878d69ec1a7ab
/more_on_numpy.py
9fd1d7c2d69dd426408b5a630ec230c1a587ab8c
[]
no_license
ebosetalee/path-to-data-science
53a6be11575c01c943fbfeacc0869fda8bb275d3
f265d1c14e57c167912bcc18925a9f77c898fe62
refs/heads/master
2023-02-24T09:55:42.188901
2021-01-25T18:24:41
2021-01-25T18:24:41
317,281,916
1
1
null
null
null
null
UTF-8
Python
false
false
1,356
py
""" What is Numpy? Numpy is an open source library in python that used mathematical, statistical operations, scientificc, engineering and data science programming. Operations using numpy: - calculations etc - array function `np.array()` # Notice the difference: without commas - shape - states the rows and columns of...
[ "princess01ella.miley@gmail.com" ]
princess01ella.miley@gmail.com
f5a18694be1ab6787636793ababa72dd6e8742d2
c6a69de8890f8c305ef63e4c1d54e09088d3bcea
/10/CompilationEngine.py
d8fb364e7636fb65d4b2ee29808e3f2b2c25b954
[]
no_license
JohnBii/nand2tetris-project
9d8ddd44cbe19646ade884f44735e56d506b7dce
a2d428a3717150da37b2ba6dac30082915acb68e
refs/heads/master
2021-04-14T09:40:21.396841
2020-03-22T16:28:06
2020-03-22T16:28:06
249,223,623
0
0
null
null
null
null
UTF-8
Python
false
false
20,863
py
def wrongE(expect, got): raise SyntaxError("expect " + expect + " but got " + got) class CompilationEngine: def __init__(self, tokenizer, outputFile): self.indentation = 0 self.t = tokenizer self.oF = outputFile self.t.constructor() def nextToken(self): ...
[ "sk90liu@gmail.com" ]
sk90liu@gmail.com
05353751c192e689e8eb95d46dcf502dcdae0f2e
16053f613cf204ae9c90065bb638de15144323a6
/NAV_DEEPAK P/NAVHW_010.py
e69749e9ffe410ba7f26b40c1b44fde9a9f824d4
[]
no_license
patel-deepak506/Codechef
c67cb271fa50e8c515b010edaef4881853177d11
28ce5f5ad587b178fa9f13078c76f41a1a390eaf
refs/heads/master
2023-02-20T18:17:46.405561
2021-01-15T13:27:22
2021-01-15T13:27:22
329,900,795
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
''' NAVHW_010:: Write a program to input three sides of a triangle and check if the triangle is valid. Sum of 2 sides should be greater than the third side which means a+b>c and a+c>b and c+b>a ⇒ Then triangle is possible. ''' a=int(input("first line")) b=int(input("second line")) c=int(input("third line")) if a!=0...
[ "pateldeepak5498@gmail.com" ]
pateldeepak5498@gmail.com
127d190110247f2de3c2b5160d7fb193e4987b39
3b75fce289bbe0d1c4fb4b171dde7861104d9d7f
/drill/drilldeckconf.py
e5b0ddfbfaa9d0453ab3b01323dfe164625f3d77
[ "Unlicense" ]
permissive
fletchermoore/drill
bead0efc65b078ed1c4c6de4d4b0c69697b8d7ed
589ce36fc38b42ed89e9a99058c122dd45d52d55
refs/heads/master
2022-07-28T08:45:12.245603
2020-05-19T00:09:41
2020-05-19T00:09:41
262,845,726
0
0
null
null
null
null
UTF-8
Python
false
false
5,214
py
# copy-paste of file from qt.aqt dyndeckconf # Copyright: Ankitects Pty Ltd and contributors # -*- coding: utf-8 -*- # License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import aqt from anki.lang import _ from aqt.qt import * from aqt.utils import askUser, openHelp, restoreGeom, saveGeom, sh...
[ "fletcherbmoore@gmail.com" ]
fletcherbmoore@gmail.com
1d09209d6dba4a6799b5c1bfb79a819731896502
de19902be68d82ef10f0a073656aa575d52c0c8a
/ALL/1859_从上到下打印二叉树_BFS_level_order.py
52588a0e3fcfcaa13c285c457dec5a3efd085082
[]
no_license
qihao-huang/LeetCode
7c13c0601c95e5809a758375fcfd5caa6bb489c2
27fc21b7d1fb0fa51c11f0c71a55ca08eac9314b
refs/heads/master
2023-03-20T00:29:46.941445
2021-03-27T08:22:33
2021-03-27T08:22:33
178,548,223
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
# https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-lcof/ # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def levelOrder(self, root: TreeNode) -> List[int]: ...
[ "qihao.huang@outlook.com" ]
qihao.huang@outlook.com
4b4729261ff6725fa22125c809b571cc7ad16bf8
87226b2757e2ac50f0ab7942053e702f5eacb796
/lib/petsc/bin/maint/petsclinter/petsclinter/util/__init__.py
980c8183b39deeb7ded072f928dd248788aa9365
[ "BSD-2-Clause" ]
permissive
firedrakeproject/petsc
dcf7b32e83bdc88d37099904960d7a4c3c4a89e4
9364cb008b2aaa08d45c84b965f81718cf7649cb
refs/heads/firedrake
2023-08-31T22:16:45.175956
2023-04-03T09:39:56
2023-04-03T09:39:56
52,269,402
2
8
NOASSERTION
2023-04-11T09:20:08
2016-02-22T11:40:41
C
UTF-8
Python
false
false
241
py
#!/usr/bin/env python3 """ # Created: Mon Jun 20 15:14:22 2022 (-0400) # @author: Jacob Faibussowitsch """ from ._utility import * from ._clang import * from ._timeout import timeout __export_symbols__ = ['get_clang_function', 'timeout']
[ "jacob.fai@gmail.com" ]
jacob.fai@gmail.com
68da1f8ed563eab43f86b7aed55660c3e2a9adc1
ace9500032f65f3b35576e543bb0a5db11348f79
/develop/issabove_config.py
b87332548763e0c093be62522b209da11d3d2826
[]
no_license
conradstorz/config_mgr
ba59b2ff1ae804524c4964dcc40510220fd87b31
eaae1a0e4e66d46d7f2d082eef187d90bd5d3455
refs/heads/master
2023-02-04T16:23:31.571294
2015-08-01T04:09:19
2015-08-01T04:09:19
317,722,457
1
0
null
null
null
null
UTF-8
Python
false
false
13,670
py
# import pdb; pdb.set_trace() """ This is an implementation of config_mgr written by Conrad Storz to specifically meet the needs of the fine program written by Liam Kennedy called ISS-ABOVE. config_mgr is used here to read a file of configuration options and place the results into a data structure used b...
[ "estorz@gmail.com" ]
estorz@gmail.com
022708975ca33818b19536b19210681bec01944f
feeef1ae124ba1125b624b6f9897b2ace2f9af4f
/exo1.py
69df3d244a53ef657843314754a5e019582d1fee
[ "BSD-3-Clause" ]
permissive
m-a-rahal/Beleif-functions
bdf88b9ed635cd0e1494fd165c7da771c23623f0
1672cb4fab3eedc9059c7273158cef7a28558a2b
refs/heads/master
2023-08-25T20:24:47.284441
2021-10-30T14:02:17
2021-10-30T14:02:17
422,012,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
from my_pyds import Sources def init(show = True): global sources # exercice 1 # on écrit Ω comme étant des mots séparés par des virgules omega = 'p, c, s' # on stockes nos sources d'information dans une classe appelée 'Sources' sources = Sources(omega) sources.add({'p,c' : 0.65, 's' : 0....
[ "m.a.rahal@outlook.com" ]
m.a.rahal@outlook.com
5973d8e70d69cfce3f3e04d9d5cc73421a0e21bb
2a26a1d9fc5cb1b787aee9b84462805ab06fee9a
/0x0B-python-input_output/9-add_item.py
354e43fa3a5ad0a5fe5e1f06944b0e6585884638
[]
no_license
GEEK1050/holbertonschool-higher_level_programming
5eb07fd34578519ff70f96531cae09109eb6c92f
eaa7342bf04c4db8b9bedec065d221b90adba609
refs/heads/master
2023-04-03T08:08:15.694571
2021-04-12T02:28:27
2021-04-12T02:28:27
259,311,224
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
#!/usr/bin/python3 """9-add_item: add item to json file""" from sys import argv save_to_json_file = __import__("7-save_to_json_file").save_to_json_file load_from_json_file = __import__("8-load_from_json_file").load_from_json_file try: ls_object = load_from_json_file("add_item.json") except: ls_object = [] ls_...
[ "karim-bahri-18@outlook.fr" ]
karim-bahri-18@outlook.fr
6e41fb2648e6342cec5af82591e50b8d1ca0bbb0
b59c7726c5509d73126b24f628a76087cf25d933
/wmcFinal/wsgi.py
09a70e3e9fa6b987916a2747877e99daac938893
[]
no_license
princedalsaniya/PGF-django
bdf0dc6d0f12669de8017d28d3143c0719c2d4b4
b84ffea8860f6fa5841c319b9417f17ad2f4cc88
refs/heads/main
2023-06-21T00:32:28.992255
2021-07-24T18:30:18
2021-07-24T18:30:18
389,090,189
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for wmcFinal project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "princedalsaniya@Princes-MacBook-Pro.local" ]
princedalsaniya@Princes-MacBook-Pro.local
286ff94d4e666a01bb9b09599b019a2cfc6bbeaf
830acf618939231314e8fd7af0fa01436a545476
/1.1/create_batches.py
65c00f9d03fa770dc8b0dc367c2496bbfe2058fe
[]
no_license
gagandt/cs671a2
e1857d71edb60f9e9a73a72f154ea29634c85291
ed96cee01d5f88a6a18977f0bdbb1f1c5d7f2152
refs/heads/master
2020-05-03T16:25:39.092157
2019-03-31T17:55:39
2019-03-31T17:55:39
178,722,688
1
0
null
null
null
null
UTF-8
Python
false
false
346
py
from cus_load import data dataset = data("output") x_train, y_leng, y_widt, y_colo, y_angl = dataset.load() no_of_batches = 750 x_train = np.split(x_train, no_of_batches) y_leng = np.split(y_leng, no_of_batches) y_widt = np.split(y_widt, no_of_batches) y_colo = np.split(y_colo, no_of_batches) y_angl = np.split(y_angl, ...
[ "gagandeep280597@gmail.com" ]
gagandeep280597@gmail.com
b0cca8b9434940d04dba61101b28a01ce4e2201d
63a82b8dd8d97b5c9d7ab9ec54449280fa8d6006
/BillingExtractSplit/extract.py
a680f68a0513fe597ed8d3c7e5a2136e782174f8
[]
no_license
jiananxu/ScriptSum
3f97ae8aed2876511c90ee1d4300f4dbd46fe6ca
a6a5ef6e5615ea20bdc14f273141cb78264bdc72
refs/heads/master
2021-07-05T11:31:12.419153
2017-09-29T05:42:19
2017-09-29T05:44:52
104,832,191
0
0
null
null
null
null
UTF-8
Python
false
false
7,500
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2017-08-15 # @Author : xujn # @Version : 1 # @QQ : 1170182824 import pymysql import sys # # 【命令行参数】 settle_acc_code = '' if len(sys.argv) == 2: settle_acc_code = sys.argv[1] else: print '请正确输入' # 可以自行定义结算单号,如用此行代码,请注释掉【命令行参数】中代码 # settle_acc_...
[ "1170182824@qq.com" ]
1170182824@qq.com
df302b8bd2400a2eaad254c59654c8eac62b383e
c4d2a5e815059df5ac36c706712210036b7d34c8
/p20.py
5e11adaff55ee87d29e54723289bf2d1598416d0
[]
no_license
sathyagoud/github
898fef4efd2124399ccbc29149e88c39f8aa2362
97dafd39c119d28bfdf9f51d6314f697a7782b6f
refs/heads/master
2020-04-08T02:45:13.248598
2018-12-30T12:50:39
2018-12-30T12:50:39
158,947,481
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
#!/usr/bin/python # Function definition is here def printme( str ): "This prints a passed string into this function" print str return; # Now you can call printme function printme("I'm first call to user defined function!") printme("Again second call to the same function")
[ "goudnlm@gmail.com" ]
goudnlm@gmail.com
11db259082bfba48cb8bd0c27e64e3d77bc28f6a
b87ea98bc166cade5c78d246aeb0e23c59183d56
/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/model/uniqueitems_false_validation.py
9a1260048babd250a0448eb1540cbf3fbb04e197
[ "Apache-2.0" ]
permissive
holisticon/openapi-generator
88f8e6a3d7bc059c8f56563c87f6d473694d94e5
6a67551ea54a1aa9a49eb48ee26b4e9bb7fb1272
refs/heads/master
2023-05-12T02:55:19.037397
2023-04-14T08:31:59
2023-04-14T08:31:59
450,034,139
1
0
Apache-2.0
2022-01-20T09:34:14
2022-01-20T09:34:13
null
UTF-8
Python
false
false
1,499
py
# coding: utf-8 """ openapi 3.0.3 sample spec sample spec for testing openapi functionality, built from json schema tests for draft6 # noqa: E501 The version of the OpenAPI document: 0.0.1 Generated by: https://openapi-generator.tech """ from datetime import date, datetime # noqa: F401 import deci...
[ "noreply@github.com" ]
noreply@github.com
af881113a1cd9241a5c6017190a99743c9f52eb0
ed24769b4b1427c988f4dc5ad0b89e92ceaceae5
/2020harukadai_script/script/get_relation_words.py
356f003beb72358833c71fd4abd48377e1d277be
[]
no_license
lasurstein/work
5886137bdb6137fdd79425e09e0119891e0797bf
00ef25c24c27f75179242a70a85f3abdc9f1a66c
refs/heads/master
2022-12-01T19:10:10.260704
2020-08-16T19:12:38
2020-08-16T19:12:38
224,409,973
0
0
null
null
null
null
UTF-8
Python
false
false
2,894
py
""" 教師データのツイート内に含まれる各単語と '桜'の関連度を計算する """ from pymongo import MongoClient, DESCENDING from .s_lib import setup_mongo import sys, math, collection def setup_mongo(db_name): connection = MongoClient() db = connection[db_name] print('mongoDB ready') return db def calc_pmi(sw, w, s, n): pmi = math.l...
[ "sabamoffy.1258@gmail.com" ]
sabamoffy.1258@gmail.com
d3a321975787ef773d78f0684552b6f88767bd82
9e2c6f99c6a32bd652b9b7542e14405a6e4647c0
/devel/lib/python2.7/dist-packages/turtlebot_arm_block_manipulation/msg/_InteractiveBlockManipulationFeedback.py
9f48fe084e107ddb63ed970deecf4901be0e1183
[]
no_license
AsaadIrfan/idris
7ef5fb8b123d9ebe630dcbcee19001c76aaa7f48
0140b9b0cec8c7196fd4476b614b9c2bdabe7d40
refs/heads/master
2016-09-13T11:14:02.915661
2016-05-04T10:41:32
2016-05-04T10:41:32
58,019,811
0
0
null
null
null
null
UTF-8
Python
false
false
2,909
py
"""autogenerated by genpy from turtlebot_arm_block_manipulation/InteractiveBlockManipulationFeedback.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class InteractiveBlockManipulationFeedback(genpy.Message): _md5sum = "d41d8cd98f00b204e9800998ecf84...
[ "asaad@VAIO.(none)" ]
asaad@VAIO.(none)
2bed5e05cd7d0f73b106debbb0bb75f2fb8c0d8a
36254944621366f0c882296f8cd01da69de34a46
/workflow/tools/vocab.py
0bb300ece8ba8b997c186df21239f65429782b0e
[]
no_license
lqleeqee/avatar_jianyi
180855baf71cbfe4d1d37e6453f052193c9027bc
97dc2bb1adc9be7594fd442f3f1aa7612693599f
refs/heads/master
2021-01-24T00:14:30.038596
2016-02-02T02:41:50
2016-02-02T02:41:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,954
py
# -*- coding: utf-8 -*- import os, re, sys, logging, time, inspect pfolder = os.path.realpath(os.path.abspath (os.path.join(os.path.split(inspect.getfile( inspect.currentframe() ))[0],".."))) if pfolder not in sys.path: sys.path.insert(0, pfolder) reload(sys) sys.setdefaultencoding('utf8') class Vocab: def _...
[ "root@node9rh6.vipcloud" ]
root@node9rh6.vipcloud
bb8bdb6598f67347abf97cfbefa319588c9439d8
332be02156a35461787464bf928e84b252c7e909
/src/common/SCI/Camera/CameraControls.cpp.py
aef5602f2b9c5b63e44ba3f6c4672c2f57c10dfa
[]
no_license
behollis/pyQt-muView
4f682ab85b806bf13619a0ee121e1e63200b5ea5
d834fbf642b21a67c66b79cbe0406b910af033d5
refs/heads/master
2016-08-11T21:56:33.589436
2015-11-25T18:44:05
2015-11-25T18:44:05
45,575,146
0
0
null
null
null
null
UTF-8
Python
false
false
888
py
''' ** Common Library ** Copyright (C) 2013 Paul Rosen ** ** This program is free software: you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation, version 3 of the License, or ** (at your option) any later version. **...
[ "brad.hollister@gmail.com" ]
brad.hollister@gmail.com
bfa6d491ac1883fedbb611a648b08ef90886f9b8
857a2fda199ba864b28fb3ebfca72e1e02966107
/uservice_django_poc/wsgi.py
213ec47ce9c4911b966a812887ce41108e70db3f
[]
no_license
dkharlan/django-api-vuejs-spa-proof-of-concept
bf58355bf274c33099f992af2b82e107727bd87c
731069db94697eeea6891addcb4acae44b515225
refs/heads/master
2021-09-04T09:49:42.636732
2018-01-17T19:17:57
2018-01-17T19:57:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
""" WSGI config for uservice_django_poc project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault(...
[ "dkharlan@umich.edu" ]
dkharlan@umich.edu
64c5c647ff198f9d9fc25f1d32f3d88950bd533a
a4298bffaf0b16800950c2bd85bea52f1c88a053
/Mining/RoughCore(冲突时的文件备份2016-03-25 12_08_21).py
67ec7170a7e1b3d1ddaf088a5bdc08800dee2e88
[]
no_license
madarou/IR
44cf57a44b6edfb9a2b133dfe55914ffdb3be483
8120f32adc16eb0af328c2879931f1dd20f1005b
refs/heads/master
2021-01-18T23:44:07.169298
2016-07-07T08:32:23
2016-07-07T08:32:23
54,884,739
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
#coding=utf-8 from model.User_Relation import User_Relation ''' Created on 2016年3月25日 @author: makao 标签传播前,找初始传播的core ''' if __name__ == '__main__': user_degree_list=[]#存各个用户被关注的度,即出度 for line in open('/Users/makao/Yun/Workspace/lab/data/num_user_relation.txt'): user_number = line.split('|')[0].strip(...
[ "2016333261@qq.com" ]
2016333261@qq.com
ae132c35f9378954b35796886aca3491386db3b5
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/all-gists/5804612/snippet.py
365ec99e3c6e1802b17ec70aaac6ebe7524850f5
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
4,333
py
#!/usr/bin/python # -*- coding: utf-8 -*- import curses from math import floor from datetime import datetime as date from subprocess import Popen as popen # Globals: screen = curses.initscr() last_width = 0 last_height = 0 alarm_hour = 0 alarm_minute = 0 alarm_state = False alarm = None glyph = { '0': ["...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
ebf0e020ef120e562a08ef9bcdd5e8cee93bc47f
4ed13b743a2d0f0d11ee0f79679ee7591251a98e
/webserver.py
88e88b1b960d00fc7f1892ceae4a5fefed3d8f89
[]
no_license
astafjew/preview2
1705701c60522545920688ca81123f798a9ee12b
553169805e269bddd9e5982a320c03d072aeb60b
refs/heads/master
2020-03-16T20:22:17.163041
2018-05-10T22:17:19
2018-05-10T22:17:19
132,955,886
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
import os, sys from http.server import HTTPServer, CGIHTTPRequestHandler def main() -> None: webdir = '.' addr = '' port = 80 os.chdir(webdir) srvraddr = (addr, port) srvrobj = HTTPServer(srvraddr, CGIHTTPRequestHandler) srvrobj.serve_forever() if __name__ == '__main__': main()
[ "astafjew@outlook.com" ]
astafjew@outlook.com
023cc5cbef7dff5fd9a816a89dea3d5ea53d429b
1bed4be568ac6d24726d31563722e20c0c71e20f
/app/migrations/0001_initial.py
8d3638ed5c5240eb5a3f4aa7b473c3087a526804
[]
no_license
seantmoore/placeme
8efc67bd3cdc657833df7123a6409220519ab550
33d8ca14407971ff13d67dd119b1c3a8fcb8b0d8
refs/heads/master
2020-06-19T19:43:50.527957
2019-08-02T17:01:39
2019-08-02T17:01:39
196,846,995
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
# Generated by Django 2.2.3 on 2019-07-06 23:26 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Board', fields=[ ('id', models.AutoField(au...
[ "smoore22@gmail.com" ]
smoore22@gmail.com
630e61e13715868ffbcd3ed0d652a6f347e82937
f30327ea27615d9bc4fe73bfef7be4ee071c846d
/AppUI/manage/FT07_InvoiceManager/FT0705_IntercourseFunds.py
1d32037236ffe321af2a3a2ea3d51560fae96ff3
[]
no_license
cangyun520/RuanBang
9ffba433699fb4f6238e8d92a273599814de61cb
b8797730cbe1b84d5095ff00d1fa3b82ab534da2
refs/heads/master
2021-08-07T11:29:48.167792
2020-04-02T13:23:53
2020-04-02T13:23:53
136,142,677
3
1
null
null
null
null
UTF-8
Python
false
false
1,000
py
# encoding:utf-8 """ * Created by Arvin.liu on 2018-9-6. * QQ 405367236 """ from common.webClass import * class IntercourseFunds(unittest.TestCase): def setUp(self): self.driver = webdriver.Chrome() # 登录 WebLogin.submit(self, "manage", "刘朗洲", "YUANDINGYUN", "368739960423059456") ...
[ "billjc@521" ]
billjc@521
d4869d70623e2ddc41c79ddcb84dbf6f07d53117
9f91d3a1cb2712979cba088af52e32fc91b6b3e3
/tests/test_context.py
f5c9b123d857a7817d858b8d0bf816e4fe341250
[ "MIT" ]
permissive
simonsobs/sotodlib
fe5e3b828d18ea599edbf8335ca8f5f3d982074b
80fa09de7d17cdbf4dbf7a66d6f569f4186804f6
refs/heads/master
2023-08-31T10:47:00.737927
2023-08-24T20:25:24
2023-08-24T20:25:24
150,447,576
11
17
MIT
2023-09-14T15:40:31
2018-09-26T15:20:39
Python
UTF-8
Python
false
false
18,444
py
# Copyright (c) 2022 Simons Observatory. # Full license can be found in the top level "LICENSE" file. """Test Context class, including metadata and TOD loading. """ import unittest import tempfile from sotodlib import core from sotodlib.core import metadata, Context, OBSLOADER_REGISTRY from sotodlib.io.metadata imp...
[ "mhasself@users.noreply.github.com" ]
mhasself@users.noreply.github.com
bb49278ee22d5f196a40e0bafc858d9570658c07
dfed075354fdd13d53c6c63725fb22f16469d377
/check_arb_mpmath.py
09d5ca490305c9ff7fe70253c01afaa200ff0773
[ "MIT" ]
permissive
klkuhlm/unconfined
85c868e7b2b526fc2c5fbb009810f80883850e63
1e5904d7ed57b0bc6d4801f62de516c1cb4c5e62
refs/heads/main
2023-03-20T22:25:07.228240
2022-07-30T21:29:53
2022-07-30T21:29:53
519,058,610
2
1
null
null
null
null
UTF-8
Python
false
false
192
py
from mpmath import * print mp mp.prec = 113 print mp for i in range(8): ii = i+1 z = ii*pi/4.0 + ii*pi/2.0*1j nu = (ii+2)*pi/4.0 print ii,z,nu,besselj(nu,z),bessely(nu,z)
[ "kristopher.kuhlman@gmail.com" ]
kristopher.kuhlman@gmail.com
63cbad1c14a50e5aac0a3149fea6efa6425cc1f0
0884dfe08f536f1883f20ed102001fdfa0ac7b4e
/example/ROP/oneshot.py
e562567c05d4a37c694ae7e91145f1e9aeb7fcd0
[]
no_license
xiaoyj/ShawPwn
4b40329be2735ea18e42a8006ba906c5903851f0
cfa408f22094f0a03607d1f56043d641735d9cb3
refs/heads/master
2021-04-04T20:34:38.675318
2020-03-19T11:48:16
2020-03-19T11:48:16
248,485,679
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
#!/usr/bin/python #coding:utf-8 #通过one_gadget来实现一次get shell from pwn import * one_gadget_rce = 0x45526 #one_gadget libc.so.6_x64 #0x45526 execve("/bin/sh", rsp+0x30, environ) #constraints: # rax == NULL setbuf_addr = 0x77f50 setbuf_got = 0x600ae0 io = remote("172.17.0.2", 10001) io.sendline(str(se...
[ "xiaoyijie2007@126.com" ]
xiaoyijie2007@126.com
442b77f00ec2aefb6bbd4d2294e85553d2ba4a8e
10da8bc88a5f65cbe3bf78fff24ddef59b091218
/examples/whoami.py
bbbe29cc0a62f9427c01dc56d0c8e4bcff933a8e
[ "MIT" ]
permissive
pooyamb/aiotg
6ef21d7750d894427761dc0ccc9896baee593286
c8cb12b81bee7303fd593d596dd40d7a1d88aa65
refs/heads/master
2020-07-03T10:51:12.909377
2019-08-12T08:10:38
2019-08-12T08:10:38
201,884,078
0
0
MIT
2019-08-12T07:55:53
2019-08-12T07:55:51
null
UTF-8
Python
false
false
212
py
import os from aiotg import Bot bot = Bot(os.environ["API_TOKEN"]) @bot.command("whoami") def whoami(chat, match): return chat.reply(chat.sender["id"]) if __name__ == "__main__": bot.run(debug=True)
[ "stepan.zastupov@gmail.com" ]
stepan.zastupov@gmail.com
9fd6995514daf5e51e5de8708cadd039a2ac6fbf
e5f875bd5870b81fc3a06788bf4ed7f2b5ee51ef
/qq.py
ba498fee19bff7189eb7297d9e1910f1c0c7e25a
[]
no_license
nchuxlm/Python
7b4a4577b8ca36401abae5f1e54577c9f645e385
8417f61bec9fbce2b46510ac551be2b9c090f1c9
refs/heads/master
2020-07-26T06:12:49.268762
2019-09-15T08:02:02
2019-09-15T08:02:02
208,560,877
1
0
null
null
null
null
UTF-8
Python
false
false
3,056
py
from enum import Enum, unique from math import sqrt from random import randint import pygame @unique class Color(Enum): RED = (255, 0, 0) GREEN = (0, 255, 0) BLUE = (0, 0, 255) BLACK = (0, 0, 0) WHITE = (255, 255, 255) GRAY = (242, 242, 242) @staticmethod def random_color(): ...
[ "51351229@qq.com" ]
51351229@qq.com
da0fbe83b3f410b9755ff9d071a087bcc7bf9880
846ec93310fd3ee9e54094c04abec74aa741955a
/lesson 2.4.8.py
19a4243df0815abf6a9be08a9f05a210f51e49bd
[]
no_license
AlexSolomyaniy/Selenium
e1b98b6112763a2e2ef36df8ed2de7229e28306a
40fd050636e218b46697437f00235e08338a95d8
refs/heads/master
2023-01-02T22:43:57.695582
2020-07-01T13:42:40
2020-07-01T13:42:40
256,708,301
0
0
null
2020-10-13T23:13:48
2020-04-18T08:53:44
Python
UTF-8
Python
false
false
936
py
from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC import time import math link = "http://suninjuly.github.io/explicit_wait2.html" browser = webdriver.Chrome() browser.get(li...
[ "alexsolomyaniy@gmail.com" ]
alexsolomyaniy@gmail.com
d3ca685b9c2136a3c1c581a042146b3f9b4be186
4a0eb422dea8b3b911d56d4eae54137753cdefb0
/python-52-weeks/Device_classes/train_netmiko.py
aa215f6fdeb69e540b32f016fa3a73ddec8598dc
[]
no_license
aramidetosin/python-netmon
a52c85bf124c051ec4ffe9a252501520d0f7bb39
de6f935bfcb8134e769eb2be81c8ebc0abd3df1d
refs/heads/master
2023-03-27T17:01:56.080756
2021-03-28T12:57:45
2021-03-28T12:57:45
332,056,355
0
0
null
null
null
null
UTF-8
Python
false
false
2,577
py
import re from netmiko import Netmiko junos = { "hostname": "192.168.1.229", "username": "admin", "password": "juniper1", "device_type": "juniper", } connection = Netmiko( host=junos["hostname"], username=junos["username"], password=junos["password"], device_type=junos["device_type"], ...
[ "aoluwatosin10@gmail.com" ]
aoluwatosin10@gmail.com
0e959b1996691724bf22b090b9d06486c27af470
264cb5d5ec6c1b07b99c5f0c8dc7aca60a8078d3
/project/urls.py
1acd272072ad988d5c42e8f4a1f389684c33910a
[]
no_license
Soryu-Asuka-Langley/Team-melli
3da768b026b7714f26b5c3ca6bfe8fb0a30e6d0f
e4bb2bfaab87ff48a744e7b13a834dc24242b9c3
refs/heads/main
2023-04-09T15:49:42.129724
2021-04-27T04:48:35
2021-04-27T04:48:35
346,623,100
1
0
null
null
null
null
UTF-8
Python
false
false
530
py
from django.conf import settings from django.conf.urls.static import static from django.contrib import admin from django.urls import path, include #from django.conf.urls import url urlpatterns = [ path('admin/', admin.site.urls), path('', include("main.urls")), path('tinymce/', include('tinymc...
[ "noreply@github.com" ]
noreply@github.com
06962cf3b7b305a4b37e760aee4bdf5f691546bf
dac7a6bb3952cf1fec35e0be0dbe9003784b9cce
/revtex.py
a87ee9dfe1892dbafc0ea639b9aadc7c497211c5
[ "BSD-2-Clause" ]
permissive
kprussing/site_scons
4ae65d3ea85ef41cc74f4ae41932f304ee016e73
780541c1b1c9c64b55bfda1b45b445a7fee67a0f
refs/heads/master
2021-01-11T09:10:44.779229
2019-01-18T01:56:42
2019-01-18T01:56:42
77,252,040
0
0
null
null
null
null
UTF-8
Python
false
false
3,339
py
__doc__="""Define the builder for calling REVTeX. The REVTeX 4.1 builder emits and additional bibliography files that is <root>Notes.bib. We need to tell SCons that this file is emitted and needs to be cleaned up. """ import copy import os from SCons.Builder import BuilderBase def emitter(target, source, env): ...
[ "kprussing74@gmail.com" ]
kprussing74@gmail.com
a286699b7f36dbfa78716c8e6f0563a57fd544ad
182f2a1b367f3aa55a841e083bb61f6118f8fdc7
/recipes/forms.py
c5aa29b32f9fea36509301e0f4c239c16d437586
[]
no_license
Buzzlay/foodgram-project-react
d6e79284ff45f0cd9d55d0ed1194186e475718be
6e4fdac34e9dbcb8df848d20b93b9fdeae32c935
refs/heads/master
2023-06-18T14:53:30.307788
2021-07-02T15:10:55
2021-07-02T15:10:55
381,918,447
0
0
null
null
null
null
UTF-8
Python
false
false
2,392
py
from django import forms from .models import Recipe, Tag, Ingredient, RecipeIngredient, Follow class RecipeForm(forms.ModelForm): tags = forms.ModelMultipleChoiceField( queryset=Tag.objects.all(), to_field_name='slug', ) ingredients = forms.ModelMultipleChoiceField( queryset=Ingredient.ob...
[ "dimabuslaev@gmail.com" ]
dimabuslaev@gmail.com
288c2466e40aa160e37a43870d3d002aa2fb3ecd
6fb37fee016346120d4c14c4343516532304055a
/src/genie/libs/parser/iosxr/tests/test_show_lag.py
c6fd6cb76e151730fba4cb6d7f539f3f7ed993be
[ "Apache-2.0" ]
permissive
devbollinger/genieparser
011526ebbd747c6dcd767535ce4bd33167e15536
ad5ce7ba8f5153d1aeb9cffcfc4dde0871f3401c
refs/heads/master
2020-12-20T11:36:00.750128
2020-01-24T18:45:40
2020-01-24T18:45:40
236,061,155
0
0
Apache-2.0
2020-01-24T18:38:43
2020-01-24T18:38:42
null
UTF-8
Python
false
false
35,946
py
#!/bin/env python import unittest from unittest.mock import Mock from ats.topology import Device from genie.metaparser.util.exceptions import SchemaEmptyParserError, SchemaMissingKeyError from genie.libs.parser.iosxr.show_lag import ShowLacpSystemId, ShowBundle, ShowLacp ############################################...
[ "karmoham@cisco.com" ]
karmoham@cisco.com
3cafb6c30f860bc9df214c720cd8edabd9836e7b
5034f052b7a1cb793b0113adb72df3e70dd13b70
/Atividades/atividade-3/div.py
8ae415dc85570901b4b1e556bfc1068d3ce8ef10
[]
no_license
PedroHenriqueDevBR/IFPI-visao-computacional
52cb25600899b5745190b64c49c4c1344701b428
791128009c197f056a9fc0bb0cf7c045fc998bb7
refs/heads/main
2023-08-19T06:06:24.030933
2021-10-24T03:11:40
2021-10-24T03:11:40
402,138,356
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
import cv2 import numpy as np class AddImage: def __init__(self, path_01, path_02): self.image_01 = cv2.imread(path_01) self.image_02 = cv2.imread(path_02) def easy_mode(self): result = cv2.divide(self.image_01, self.image_02) cv2.imwrite('/home/pedro/Dev/PythonProjects/VisaoC...
[ "p.lyma18@gmail.com" ]
p.lyma18@gmail.com
2826769ec7b97b846621c389213c801e03813fcf
866cff63b1c2b71af512e165a00f81ed07a4f31d
/modin/experimental/core/execution/dask/__init__.py
f4c4b0280ec82ebce60609f35c9f9c0e328df1ee
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
modin-project/modin
d313249315a7e0de1fb61d803727b41a53df991d
8f6e00378e095817deccd25f4140406c5ee6c992
refs/heads/master
2023-08-31T21:27:23.108633
2023-08-31T19:09:15
2023-08-31T19:09:15
138,224,079
9,241
693
Apache-2.0
2023-09-14T20:40:19
2018-06-21T21:35:05
Python
UTF-8
Python
false
false
858
py
# Licensed to Modin Development Team under one or more contributor license agreements. # See the NOTICE file distributed with this work for additional information regarding # copyright ownership. The Modin Development Team licenses this file to you under the # Apache License, Version 2.0 (the "License"); you may not u...
[ "noreply@github.com" ]
noreply@github.com
ccad155c93d1dc3713bc931ca59362dda019cbe3
aaf306b4117027bd66dfdbac80f2147a9b48a455
/Day66-75/code/example01.py
b1fee7aa04cbe05762d013ada68b220f217fb53c
[]
no_license
xiangsxuan/Python-100-Days
309da160fc4c85aa9699a0c522525e2b01e0421d
e86dece224b0a77103f6d6b734fecd9eef7dca97
refs/heads/master
2020-03-18T19:56:59.744032
2018-05-28T15:21:07
2018-05-28T15:21:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,467
py
from urllib.error import URLError from urllib.request import urlopen import re import pymysql import ssl from pymysql import Error def decode_page(page_bytes, charsets=('utf-8', )): page_html = None for charset in charsets: try: page_html = page_bytes.decode(charset) break ...
[ "jackfrued@126.com" ]
jackfrued@126.com
0275123d7fb91c214e41c16a3925bba2d42f8e39
72c004bff7f3c3ad9375b01db53d1ed01eaa29c3
/2021-08/unfriendly_rsa/unfriendly_rsa.py
035ab01a9a8d9476114622c3f3cfc1c5fbed7284
[]
no_license
sathishlkumar/imaginaryCTF-solution
46f61267a86e4ebf47bf146295a53d6800bd78b6
719f919efb40c60203897cd603a64a5d61a3c2eb
refs/heads/master
2023-08-25T07:25:04.997504
2021-11-01T04:43:08
2021-11-01T04:43:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,050
py
from Crypto.Util.number import getPrime, GCD, bytes_to_long p = getPrime(1024) q = getPrime(1024) n = p * q phi = (p - 1) * (q - 1) // GCD(p - 1, q - 1) # Hey, look, twin primes! e1 = 0x10001 e2 = 0x10003 with open("flag.txt", "rb") as f: flag = f.read() assert len(flag) == 35 flag = bytes_to_long(flag) ...
[ "kirby741852963@gmail.com" ]
kirby741852963@gmail.com
765d739adbd0510f77f961b9ceb68bda2da2175d
3a427ceece00860d3931c73d8c64f43c75b1ed8c
/backend/src/djreact/settings.py
ec2262d097cb150dd8fc17205168ce94b8cf0bc0
[]
no_license
maria-S-456/githubprofile
bf57839af12a08ee3615fe2118d381bf83dd6468
9fcaa8f7eb15d89bc917f90eff188342bcef19f2
refs/heads/master
2023-05-14T01:24:13.739574
2021-06-11T06:22:10
2021-06-11T06:22:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,510
py
""" Django settings for djreact project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib...
[ "mars381pika@gmail.com" ]
mars381pika@gmail.com
ebec297cf9757800b95b45d4ecce9e7e14d0d7f1
ae84e8ef6291b23e323f30bc889788360309cc91
/MerchantsSeeding.py
2d09a73fd84e3178d4b17fe65e6e97e3100c04c9
[]
no_license
curtylin/Syrup
fa6f7dd350e8140ef98bf4de2ea6f14c0605401d
1de61785f577813b19f6e944f8dd4e6114e7af8d
refs/heads/main
2023-01-04T10:18:51.973468
2020-10-18T04:45:51
2020-10-18T04:45:51
304,757,993
0
0
null
null
null
null
UTF-8
Python
false
false
1,607
py
import sqlite3 def seedMerchants(): conn = sqlite3.connect('merchants.db') c = conn.cursor() #Create table c.execute("INSERT INTO merchants VALUES ('Chipotle', 'Dining')") c.execute("INSERT INTO merchants VALUES ('Smiths', 'Grocery')") c.execute("INSERT INTO merchants VALUES ('Dell', 'S...
[ "curtylin@gmail.com" ]
curtylin@gmail.com
ae0cecc0ca41d9b343f260bad7b96d766e8a0097
6db7dd70ea3f3b712b241d22a6839738d177b4f0
/venv/Scripts/pip3-script.py
18b5458da3822ea1d717872f2dfd71eb778209d5
[]
no_license
nsvitek/CT_tools
e9117d78176dfc8ec1c2baa6ad7183c388cfd346
0c3a79429e609e653edda3e14265d67c720079cd
refs/heads/master
2021-06-29T17:19:24.719887
2021-06-06T21:36:26
2021-06-06T21:36:26
67,648,094
4
3
null
2021-01-26T00:12:41
2016-09-07T22:25:31
Python
UTF-8
Python
false
false
394
py
#!C:\scripts\CT_tools\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( ...
[ "nvitek@ufl.edu" ]
nvitek@ufl.edu
b4125ff3baca52f7f9801c981e6e38f5bfee6626
c557490fec13987c8e1e034914a3bd2acc7b1fa6
/venv/Lib/site-packages/futura/__init__.py
b9de72aed30f70762c5dc84aad68d44ba086017f
[]
no_license
manpakhong/futu
89223e0a85c3fd4ad9f0acbec542116fcfa05356
08dc0ca74cc66c6ece42dd8a67617c56bb9fbcf7
refs/heads/master
2023-04-10T19:57:59.461091
2021-03-28T08:38:39
2021-03-28T08:38:39
352,279,463
0
0
null
null
null
null
UTF-8
Python
false
false
1,452
py
import logging # import wurst import wurst import futura.wurst_monkeypatch as wmp #do monkeypatching here wurst.relink_technosphere_exchanges = wmp.relink_technosphere_exchanges wurst.transformations.relink_technosphere_exchanges = wmp.relink_technosphere_exchanges wurst.transformations.geo.relink_technosphere_exchang...
[ "manpakhong@hotmail.com" ]
manpakhong@hotmail.com
220cd1c2030bd81343be655d92e5b541a99d79c2
112d61040182170072d918f097e79e373c60749d
/drafts/newbot.py
2feead7dbed62a91c29111f9728cbc9a8b82df2c
[]
no_license
incub4t0r/brewdawgDiscordBot
58a76c2034c922c65cdf4964131a8e8abe97b5da
a1c0510efd196c4a267e5a92b397f025ee2f6668
refs/heads/master
2023-01-31T04:08:38.202569
2020-12-16T14:05:48
2020-12-16T14:05:48
313,378,885
0
0
null
null
null
null
UTF-8
Python
false
false
918
py
#importing the discord module import discord, datetime, os from dotenv import load_dotenv from discord.ext import commands import random load_dotenv() TOKEN = os.getenv('DISCORD_TOKEN') GUILD = os.getenv('DISCORD_GUILD') #creating a new discord client for us to use. cool_bot be the client Client=discord.Client() bot ...
[ "dchung0812@gmail.com" ]
dchung0812@gmail.com
895cb19ae2743b8c9829ac797346fa5b72da865b
c4bbf0aaf86cc23c1deace8c67400024c0c5ed3b
/tools/nvgaze-syntetic-to-dataset.py
64cdb145fe0156aa1036a58fed2de53017df44c6
[ "Apache-2.0" ]
permissive
ajinkyapuar/acomoeye-NN
ed94649a2b6c9aeff7274e7cd369268ecc607467
991372bd3a2f568e4dbf4602b33a8c307f94eff4
refs/heads/master
2023-05-02T08:06:20.426044
2020-09-19T16:23:48
2020-09-19T17:12:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,651
py
#!/usr/bin/python # -*- coding: utf-8 -*- #Example: #python3 merge-csv-dataset.py /path/to/list-of-csvs.txt import os import sys import random # importing shutil module import shutil import time # for radians import math directory = sys.argv[1] if len(sys.argv) > 1 else 'Q:/DATASETS/NVGAZE_SYN' folderNameToOpen ...
[ "czero69@gmail.com" ]
czero69@gmail.com
94cdc32bee11453c29930736a23540b0730f30eb
ad1d6b46f561e755940a09824c0d275cf1998814
/medvision/aug_cpu/base.py
10bf6b5c8457efaa38ee2172caf4a0bfc36208bc
[ "Apache-2.0" ]
permissive
shiontao/MedVision
cdc1d248571d3acd5db7d66ae45236d1cf80fa59
d3a8a8149ce913d5e7be2494a67727c461649f43
refs/heads/main
2023-07-23T02:09:28.209669
2021-09-09T08:52:22
2021-09-09T08:52:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,662
py
# Copyright (c) 2020. The Medical Image Computing (MIC) Lab, 陶豪毅 # # 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...
[ "thyzyfx@qq.com" ]
thyzyfx@qq.com
11b183f939cb3ea46045917b073f25eed287ea3d
363590c82e8ede64b64e213eac540f21c09e1cbf
/projecteuler/045/045-orz.py
c4d68176748fa82149a8f87bfd31bb8d1a3315d1
[]
no_license
zlbruce/nrciz
73d6b3ac298f4e7fa922890c4c78b4c6ee16493b
af8343d57f806dd46ea12cb0d763767d6e4a8ee3
refs/heads/master
2021-01-19T07:56:38.128938
2012-10-10T09:43:52
2012-10-10T09:43:52
33,296,537
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
#!/usr/bin/python import math def p45(): i = 166 while True: t = i*(3*i-1) fl = int(math.floor(math.sqrt(t))) if (fl&1) == 1 and fl*(fl+1) == t: return ((fl*(fl+1))>>1) i+=1 print p45()
[ "python.orz@gmail.com@7ad355ac-b993-11de-8dfb-43c0dffa5306" ]
python.orz@gmail.com@7ad355ac-b993-11de-8dfb-43c0dffa5306
86ce704f77b7c265463560e188583cbaa2aac01e
f29d69eea45f4383db37b1b6876be4bcfd286312
/user_portrait_0320/user_portrait/cron/network/cron_network.py
ed9c43bd9b965c0a28d58ca37f802ddade6ad69a
[]
no_license
xuzhiq/user_portrait_ending2
5ac9952cf275923677d6e2f575289236df4dde9b
f2978135ff672f58090e202e588f7321ed121477
refs/heads/master
2021-05-31T05:15:21.316687
2016-05-11T11:56:38
2016-05-11T11:56:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,804
py
# -*- coding:utf-8 -*- import tempfile import sys import json import time import tempfile reload(sys) sys.path.append('../../') from spam.pagerank_for_portrait import pagerank from time_utils import ts2datetime, datetime2ts, ts2date from keywords_utils import get_task_information, identify_task_exist,\ compute_...
[ "lijiahongasdf@163.com" ]
lijiahongasdf@163.com
1182de00b02e4c3d72a984d7f48629f62af7cb72
87ffdf1ba56218c040e4e1d0101f2aa1322695d9
/download.py
eda83b91b6d926050e48a0be770fb4f5e0672e19
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
keepingbetter/dd
57d1f52440354c1c7d3675eb62ab515a39a9ec89
f9aa4d1a09c286de769bde17dd92ece63cf4c3d9
refs/heads/master
2022-07-23T22:26:48.393083
2020-05-20T10:24:58
2020-05-20T10:24:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,835
py
"""Retrieve and build dependencies of C extensions.""" import ctypes import hashlib import os import shutil import subprocess import sys import tarfile try: import urllib2 except ImportError: import urllib.request, urllib.error, urllib.parse urllib2 = urllib.request try: import cysignals except ImportE...
[ "jfilippidis@gmail.com" ]
jfilippidis@gmail.com
dc0fc7f361897b8a6caf3af60b74016bcfec4ade
39b2f9849935f1afbe06268c99197823e5fd51a4
/Set4/Sha1.py
2d88fa144769870d2a30eae634832a7b11e14cef
[]
no_license
mwolotsky/Matasano-Crypto-Challenges
4bbc3a3d40dfd802f167e3e58967043c540701cf
ed0364811d7d3b21b500acf55b6a15d36f45f6ad
refs/heads/master
2021-01-10T06:54:17.143417
2015-12-30T23:09:17
2015-12-30T23:09:17
48,822,954
0
0
null
null
null
null
UTF-8
Python
false
false
3,649
py
def sha1(data): bytes = "" h0 = 0x67452301 h1 = 0xEFCDAB89 h2 = 0x98BADCFE h3 = 0x10325476 h4 = 0xC3D2E1F0 for n in range(len(data)): bytes+='{0:08b}'.format(ord(data[n])) bits = bytes+"1" pBits = bits #pad until length equals 448 mod 512 while len(pBits)%512 != 448:...
[ "mwolotsky@gmail.com" ]
mwolotsky@gmail.com
ccd697a6a78eacaa8b650a7009e884bff8555924
e1ef59d1ae408e7c4cab1d9ef9c7fd9795802fbf
/pymde/__init__.py
988c96688e0451ad8c8e75d06ac7bf793fd0b550
[]
no_license
xdavio/pyMDE
9016e3dca9a06234a380067846b3b2d193f253ae
3a7bd36e805bd15c218ff40a42beb7730c7a6db3
refs/heads/master
2021-01-19T02:46:39.121372
2016-07-04T18:31:41
2016-07-04T18:31:41
52,641,934
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
import disparity import est import estPois import gen import plot import utils
[ "xdavio@gmail.com" ]
xdavio@gmail.com
53bd4f6d8ea2f43221fdfebe427f580940792a4c
f61c95a0cd2212acc97df32ef1b0fd5e12f976d0
/analyze_extended_no_test_set.py
f9814c40751dccecd2e23e8432431f923594a7aa
[]
no_license
andreyboytsov/copd-data-processing
62ba1dca122c5eed4026a0bf780f97a039c6e838
3cd0f684d7cf4afea9f0daef814eb8d1eae0200c
refs/heads/master
2020-04-18T12:13:18.777346
2020-01-22T13:18:11
2020-01-22T13:18:11
167,527,378
0
0
null
null
null
null
UTF-8
Python
false
false
12,398
py
import pandas as pd import numpy as np from sklearn import dummy from itertools import product from sklearn import tree, ensemble, linear_model from sklearn.model_selection import KFold from sklearn.metrics import accuracy_score # ============================== PARAMETERS ============================== test_id_select...
[ "andrey.boytsov@uni.lu" ]
andrey.boytsov@uni.lu
8bcd24c011d9161181d17fedd6f3a34b69c78eee
26f0a020329eb9a02cf08c18fc563bb7528c90b4
/2021.04/2021.04.10/주식가격.py
4a88af58fb63427fdc1ab213285f55bf2b6c2756
[]
no_license
SongJeongHun/algorithm
760bc224f7682e005f469fa92bfa8ea259d34248
807dcbe424ccbf24c5bf3a9423ed29d4c429edab
refs/heads/main
2023-07-03T22:47:33.961929
2021-07-27T03:07:19
2021-07-27T03:07:19
353,604,128
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
""" 1h 03m """ def solution(prices): answer = [] for i in range(len(prices) - 1): time = 0 for j in range(i,len(prices) - 1): if prices[i] > prices[j]: break else: time += 1 answer.append(time) answer.append(0) return answ...
[ "song970124@gmail.com" ]
song970124@gmail.com
3b782022c3c31f156e428ff9c96c287a644795d6
fa66dbe45569ea0454ee93528cecb50040cec9e0
/TIQ/69-sqrt.py
9fbcb35c750833cb30a369adde19774c2732cac7
[]
no_license
rjorth/Algorithms-and-Data-Structures
82fff21c7887009c242e8bcba255531731015bdd
78ef29b43305e0b2f78206c9f25924d25c853c60
refs/heads/master
2021-06-26T20:15:14.511506
2020-11-15T13:54:58
2020-11-15T13:54:58
174,715,765
0
0
null
null
null
null
UTF-8
Python
false
false
69
py
def sqrt(x): s = x ** (0.5) i = int(s) return i print(sqrt(5))
[ "rosaliejorth@gmail.com" ]
rosaliejorth@gmail.com
b5f11363bf40452c02e2d01a2753049110e5149d
d6097d3b94e283a1ba971f5a8bb1fcdd6d573cdd
/Modbus/Code/send.py
b5e25f65379dd18cd3a4a74a791de46e35879beb
[]
no_license
farahabdelkhalek/SOMEL_Project
ad60f16a9b453a64dfa08e44f63262edfb2472df
ca9cad4d936c6f824fdcbc64211c920a4a4a99b1
refs/heads/master
2022-12-22T19:33:18.590310
2020-10-03T10:52:07
2020-10-03T10:52:07
245,158,383
1
0
null
null
null
null
UTF-8
Python
false
false
9,103
py
/* This file runs on all the raspberry pi modules. It's role is to retrieve the MODBUS values once the connection is established. As for the receiving edge, once the raspberry receives data on its serial port, it publishes it on the Final topic via MQTT. */ #!/usr/bin/env python import paho.mqtt.client as mqtt ...
[ "noreply@github.com" ]
noreply@github.com
b1d6f14a804a71ceb162c56f25adee764f4dc543
e217a2ad18383fc0cbe226e09a00af86266889ed
/prac.py
769c6c50eed16dc20a08570d6ebc5469af00bff2
[]
no_license
charlenecalderon/Girls_Who_Code
00ec7226448165b1ff32ed0fecad8b2924257b50
6e2d8151cb09bc9eb25baba78a332965742ba4ef
refs/heads/master
2020-12-03T03:59:42.631005
2017-07-14T22:43:29
2017-07-14T22:43:29
95,800,217
0
0
null
null
null
null
UTF-8
Python
false
false
886
py
from random import randint #functions def level2(numlist): numSum = 0 for num in numlist: if num % 5 == 0 or num % 3 == 0: #number is either a muliple of 5 or 3 numSum += num print("Final sum:") print(numSum) #running code randomlist = [] for x in...
[ "noreply@github.com" ]
noreply@github.com
0224791ecdacf52585dc82bcf696f6feda3eb560
b0c02d7ca86c1ef84af18a8c701702e8bb212b64
/robotcar/robot_demo.py
d835d77755ccbeb16aa91e9b243d69dbd81e23e3
[]
no_license
flashypepo/myMicropython-Examples
24fa2f372e68742abe0f74913df000dfe64a9e55
b2b63df865b5ad471b351ca5f279135025859f5d
refs/heads/master
2021-09-24T18:52:18.083444
2018-10-13T11:59:19
2018-10-13T11:59:19
98,223,412
1
0
null
null
null
null
UTF-8
Python
false
false
846
py
import machine, motor, bot, time print('creating i2c and motors ...') i2c = machine.I2C(scl=machine.Pin(5), sda=machine.Pin(4)) motors = motor.DCMotors(i2c) #creates motors object LEFT=0 #M0 - left motor RIGHT=3 #M4 - right motor print('creating robot ...') robot = bot.Robot(motors, LEFT, RIGHT) # creates robot dt =...
[ "peter@pepo.nl" ]
peter@pepo.nl
87dec6ef073bd02fe7709d0c6b011cbfd0f6b878
7861798672463b239a3102b8407ec56c593c2811
/setup.py
0130f5685229a7217c8d3b52ceae52cde7687776
[]
no_license
nag92/strokeRehabSystem
33b38cb41de4a357e1a9c99cb30b5608d97932b7
f51752bd355c91e162f94c26b4078e7d7bcee744
refs/heads/master
2020-03-31T14:25:06.853916
2018-05-02T15:35:50
2018-05-02T15:35:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
## ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD from distutils.core import setup from catkin_pkg.python_setup import generate_distutils_setup # fetch values from package.xml setup_args = generate_distutils_setup( packages=['strokeRehabSystem'], package_dir={'': 'src'}) setup(**setup_args)
[ "nagoldfarb@wpi.edu" ]
nagoldfarb@wpi.edu
57282343e5e90d60419937a1efdd060ff67d2978
a970fb077359cfd4c907508cc581b366844c2d89
/CISC340BACKUP/PREZI/WebApp/changePassword.py
16cd79315275bfd5fe1e347f68f4a0dd753da6cc
[]
no_license
joemuiruri/CISC340-11
18604a262e228787509a51cc087b0c9a6605e5cb
9c3041f10cde604b213a58f41451f0b4ca8776c6
refs/heads/master
2022-11-08T05:52:15.164745
2019-11-25T22:20:56
2019-11-25T22:20:56
218,209,590
0
2
null
2022-10-26T22:21:49
2019-10-29T05:18:18
Python
UTF-8
Python
false
false
488
py
import sqlite3 import sys conn=sqlite3.connect('database.db') curs=conn.cursor() # function to insert data on a table def add_data (password): curs.execute("INSERT INTO users VALUES(date('now'),(?))", password) conn.commit() # call the function to insert data add_data (3000) add_data (12345) add_data (77789) # ...
[ "muiruri.vale@gmail.com" ]
muiruri.vale@gmail.com
1e27c836218327b2cdce494ce8cccd902bf149b2
26b88f5f76f5d3717cbfcc0b661c23e413ba9980
/tf_prob.py
873d59d2e610d417ff5a499d2e0b1cbe90f34ecd
[]
no_license
lrthomps/snippets
087256214ac595a70d782a518d1b2b3cf58a335c
649d79f38d95147496687088ca73d9d63dac8a3f
refs/heads/master
2020-08-17T07:53:45.329439
2019-12-28T21:18:37
2019-12-28T21:18:37
215,635,811
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
import tensorflow as tf import tensorflow_probability as tfp
[ "lara.r.thompson@gmail.com" ]
lara.r.thompson@gmail.com
9baa3f287276592e421d12cded14a471cffc5499
8dfa03c80237bcd47957a30f85014b82ad7bf348
/di_using_repos/logger.py
2b9ff2f4b7ee7a63d1bdde21ee73a2be218d2f1f
[]
no_license
marstom/Dependency-Injection-in-Python
1c8db6d721fad1fe2bfe550069da8105c69ffbb0
ae0633924642da4b50c6c88fdecc718f69242315
refs/heads/main
2023-03-23T20:18:35.511994
2021-03-15T15:18:44
2021-03-15T15:18:44
348,019,988
1
0
null
null
null
null
UTF-8
Python
false
false
742
py
from datetime import datetime from database_repo.database_repo import DatabaseRepo from enums import LogType class Logger: object_name = "logs" def __init__(self, repo: DatabaseRepo, database_path: str): self.repo = repo self.repo.init_database(database_path) def log(self, content: ...
[ "marstomek@gmail.com" ]
marstomek@gmail.com
1730b70350f730d297df40f72538228bd2baad78
a92832cb521db147802fc6bfe84f30d954f77be5
/check_hands.py
fad13b4100c08f10d2866d583f98eef90e48d255
[]
no_license
samgottuso/poker_simulator
474ea7f6bb86d8b57f755371666f262d90a27715
fed1c7493ac68c25122363f722b418b30ecfc3d9
refs/heads/master
2020-03-09T08:56:32.515299
2018-04-18T20:36:18
2018-04-18T20:36:18
128,700,516
0
0
null
null
null
null
UTF-8
Python
false
false
1,912
py
# -*- coding: utf-8 -*- """ Created on Tue Apr 17 09:17:14 2018 @author: 583185 """ def check_flush(hand_suit): suits=['club','spades','diamonds','hearts'] for i in suits: if hand_suit.count(i) >= 5: return True return False def check_straight(hand_value): #create a set of val...
[ "583185@bah.com" ]
583185@bah.com
6fa666ea6d1840544f96f471b1e3fa431e6625ce
2b468b1d22ecc5668529255676a1d43936829074
/codes/personal_backend/support/test/api/account/test_account_staff_api.py
77c65d5ee97fc600c4f0bfb8569cff2aaa68c41e
[]
no_license
MaseraTiGo/4U
5ac31b4cccc1093ab9a07d18218c3d8c0157dc9c
f572830aa996cfe619fc4dd8279972a2f567c94c
refs/heads/master
2023-07-26T09:44:21.014294
2023-07-13T03:43:34
2023-07-13T03:43:34
149,217,706
0
0
null
2020-06-05T20:38:16
2018-09-18T02:34:29
Python
UTF-8
Python
false
false
1,720
py
# coding=UTF-8 import json from support.common.testcase.api_test_case import APITestCase ''' class Add(APITestCase): def setUp(self): pass def tearDown(self): pass def test_account_staff_add(self): """test account staff to add""" flag = "user" api = "account.st...
[ "344627181@qq.com" ]
344627181@qq.com
df7c71b8406ccf0bda40020e4ce52c00b578a18a
cfcbb535d85985c77d271be90013a63c0c300708
/examples/train.py
45ab13394cddf5bac5028e5a8589c0b2649079f6
[]
no_license
shohei1029/azureml_distributed-pytorch
8033c4d48c9b5dd6db82b62981e4a40f7746a23e
0d6825912b276671d550539c542a14002934f27b
refs/heads/main
2023-04-15T09:55:16.775585
2021-04-22T08:15:29
2021-04-22T08:15:29
350,219,276
1
0
null
null
null
null
UTF-8
Python
false
false
7,742
py
# Copyright (c) 2017 Facebook, Inc. All rights reserved. # BSD 3-Clause License # # Script adapted from: # https://pytorch.org/tutorials/beginner/blitz/cifar10_tutorial.html # ============================================================================== # imports import torch import torchvision import torchvision.tra...
[ "shohei.nagata@microsoft.com" ]
shohei.nagata@microsoft.com
3b000396470f1290887fd8852fe1748987884fa1
d990692dd7afdbb2a235ad03ac5209b4f3bb0df9
/ipc/chromium/src/base/base.gyp
12bbc52b7c12f20a2c20d7c68e0e483de997fbe5
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
walkero-gr/timberwolf
5c33158a19dfeb3781c72c6732d45747d9a3c19e
90ca7da29b6089d1b14f5ff1d08e586aa2ec041f
refs/heads/master
2022-09-15T11:13:14.252767
2022-09-04T12:39:59
2022-09-04T12:39:59
291,531,351
0
0
NOASSERTION
2020-08-30T18:46:51
2020-08-30T18:46:51
null
UTF-8
Python
false
false
22,067
gyp
# Copyright (c) 2009 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'chromium_code': 1, }, 'includes': [ '../build/common.gypi', ], 'targets': [ { 'target_name': 'base', ...
[ "benjamin@smedbergs.us" ]
benjamin@smedbergs.us
ffb910988f1b7e11b9b24547734b0af71c413415
d9f89fc0b7833177c92e6cce955d3482b9e211ce
/displayImage/main.py
da338f834189f3052df1943fc52351bc7c766446
[ "MIT" ]
permissive
mackst/opengl-samples
8f8b4f2297762903f4922fbd08bb23dd3cc203a0
a427db5b30dba9318100b75b5539a1919e5e0c43
refs/heads/master
2021-01-20T07:20:20.959062
2018-04-17T13:09:12
2018-04-17T13:09:12
18,587,743
9
7
null
null
null
null
UTF-8
Python
false
false
4,963
py
#!/usr/bin/env python # -*- coding: utf-8 -*- '''display an image using opengl''' import sys import PySide from PySide.QtGui import * from PySide.QtCore import * from PySide.QtOpenGL import * from OpenGL.GL import * from OpenGL.GL import shaders import numpy as np from PIL import Image def shaderFromFile(shaderT...
[ "schistone@gmail.com" ]
schistone@gmail.com
55c32fcbdc0ec35bf98a422cfb77be4738584994
b8c98d2ed6f6f2aead1f5ac38e79e8f6a51dffd2
/hw/hw4/16/main.py
f31d527fe3f7828f7063983b475bf434376bae92
[ "MIT" ]
permissive
makci97/bio_algo
3cf84469bec4445357dbe9c2cd55031528e3bf1d
16481ab91fbf343aee1747bc6b01d281baec462d
refs/heads/master
2020-04-21T21:18:33.244641
2019-04-30T20:02:59
2019-04-30T20:02:59
169,875,254
0
0
null
null
null
null
UTF-8
Python
false
false
2,667
py
import sys import numpy as np from collections import Counter, defaultdict mapping = { 'ATA': 'I', 'ATC': 'I', 'ATT': 'I', 'ATG': 'M', 'ACA': 'T', 'ACC': 'T', 'ACG': 'T', 'ACT': 'T', 'AAC': 'N', 'AAT': 'N', 'AAA': 'K', 'AAG': 'K', 'AGC': 'S', 'AGT': 'S', 'AGA': 'R', 'AGG': 'R', 'CTA': 'L', 'CTC': '...
[ "makci.97@mail.ru" ]
makci.97@mail.ru