hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 98
values | lang stringclasses 21
values | max_stars_repo_path stringlengths 3 945 | max_stars_repo_name stringlengths 4 118 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 10 | max_stars_count int64 1 368k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 945 | max_issues_repo_name stringlengths 4 118 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 10 | max_issues_count int64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 945 | max_forks_repo_name stringlengths 4 135 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 10 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1 1.03M | max_line_length int64 2 1.03M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
af156d0a06838c6e2ca2275f5a6750e2270ca288 | 39 | py | Python | mypackage/subpackage_A/A.py | mheikenfeld/package_testing | af87e50524659c7e9929e59278bb52a272a4e934 | [
"MIT"
] | null | null | null | mypackage/subpackage_A/A.py | mheikenfeld/package_testing | af87e50524659c7e9929e59278bb52a272a4e934 | [
"MIT"
] | null | null | null | mypackage/subpackage_A/A.py | mheikenfeld/package_testing | af87e50524659c7e9929e59278bb52a272a4e934 | [
"MIT"
] | null | null | null | def do_A():
out="A"
return out
| 9.75 | 14 | 0.512821 |
7dd44858040045b4b0632a23107fbdf0fd7e2c98 | 579 | css | CSS | TeamsSampleHub/SampleHubReactVersion/ClientApp/src/components/MeetingVideo/MeetingVideo.css | jasonwbaxter/tools | 1d15060c0ea31c22c87d4d04f741d6db199abab5 | [
"MIT"
] | null | null | null | TeamsSampleHub/SampleHubReactVersion/ClientApp/src/components/MeetingVideo/MeetingVideo.css | jasonwbaxter/tools | 1d15060c0ea31c22c87d4d04f741d6db199abab5 | [
"MIT"
] | null | null | null | TeamsSampleHub/SampleHubReactVersion/ClientApp/src/components/MeetingVideo/MeetingVideo.css | jasonwbaxter/tools | 1d15060c0ea31c22c87d4d04f741d6db199abab5 | [
"MIT"
] | null | null | null | .video-head {
margin: 0 1.5rem;
padding-top: 1rem;
font-weight: bold;
font-size: 1.063rem;
line-height: 1.25rem;
color: #ffffff;
}
.video {
height: 25rem;
margin: 1rem 1.5rem;
background: linear-gradient(
180deg,
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0.15) 100%
),
#72a1c8;
bo... | 14.121951 | 42 | 0.564767 |
125b85d923b84c41f021257fab8ebe9a0cb7637d | 756 | cs | C# | source/BackEnd/DrugCheckingCrawler/Parsers/StringHelperExtensions.cs | YanicHoegger/PillWarningImageRecognition | a006da9e719e70cb70f2787e1e396926b09b599c | [
"MIT"
] | null | null | null | source/BackEnd/DrugCheckingCrawler/Parsers/StringHelperExtensions.cs | YanicHoegger/PillWarningImageRecognition | a006da9e719e70cb70f2787e1e396926b09b599c | [
"MIT"
] | null | null | null | source/BackEnd/DrugCheckingCrawler/Parsers/StringHelperExtensions.cs | YanicHoegger/PillWarningImageRecognition | a006da9e719e70cb70f2787e1e396926b09b599c | [
"MIT"
] | null | null | null | using System;
namespace DrugCheckingCrawler.Parsers
{
public static class StringHelperExtensions
{
public static string Replace(this string text, string oldValue, string newValue, int position)
{
var removed = text.Remove(position, oldValue.Length);
return remo... | 27 | 103 | 0.5 |
1a99bd3bc5b6b54e943c5ae4f21b519800f08a65 | 1,670 | py | Python | ProjectApplication/variable_templates/models.py | code-review-doctor/project-application | d85b40b69572efbcda24ce9c40803f76d8ffd192 | [
"MIT"
] | 5 | 2020-07-29T10:00:11.000Z | 2022-02-19T11:00:34.000Z | ProjectApplication/variable_templates/models.py | code-review-doctor/project-application | d85b40b69572efbcda24ce9c40803f76d8ffd192 | [
"MIT"
] | 471 | 2019-09-20T14:37:28.000Z | 2022-03-25T14:16:34.000Z | ProjectApplication/variable_templates/models.py | code-review-doctor/project-application | d85b40b69572efbcda24ce9c40803f76d8ffd192 | [
"MIT"
] | 5 | 2020-03-15T12:42:47.000Z | 2022-02-15T18:06:52.000Z | from django.db import models
from project_core.models import CreateModifyOn, FundingInstrument, Call
class TemplateVariableName(CreateModifyOn):
name = models.CharField(help_text='{{ name }} in the text where this gets replaced', max_length=200)
default = models.CharField(help_text="Default value if a Call d... | 36.304348 | 119 | 0.698204 |
ab7b10de78158f46790b8f39354802c08f07ad84 | 261 | rb | Ruby | models/rx_confirmations.rb | nondejus/satellite-api | c167a6628b8e642d69cbb015e4e362d39d2b0295 | [
"MIT"
] | 1 | 2019-06-09T14:43:43.000Z | 2019-06-09T14:43:43.000Z | models/rx_confirmations.rb | nondejus/satellite-api | c167a6628b8e642d69cbb015e4e362d39d2b0295 | [
"MIT"
] | null | null | null | models/rx_confirmations.rb | nondejus/satellite-api | c167a6628b8e642d69cbb015e4e362d39d2b0295 | [
"MIT"
] | 1 | 2019-10-06T12:16:55.000Z | 2019-10-06T12:16:55.000Z | require "sinatra/activerecord"
require_relative '../constants'
require_relative './orders'
class RxConfirmation < ActiveRecord::Base
validates :order_id, presence: true
validates :region_id, presence: true
belongs_to :order
belongs_to :region
end
| 21.75 | 41 | 0.770115 |
f4b5975172c10ecfefc3fa21a7980c00cd376c71 | 1,963 | php | PHP | wp-content/plugins/wp-simple-firewall/src/lib/vendor/fernleafsystems/wordpress-services/src/Utilities/WpOrg/Plugin/Repo.php | biocuration/website | ec99ee1f9e161ff7a9247ad041d44739f9212dfb | [
"BSD-3-Clause"
] | 2 | 2017-07-24T09:25:07.000Z | 2018-04-09T14:51:38.000Z | wp-content/plugins/wp-simple-firewall/src/lib/vendor/fernleafsystems/wordpress-services/src/Utilities/WpOrg/Plugin/Repo.php | biocuration/isb-website | ec99ee1f9e161ff7a9247ad041d44739f9212dfb | [
"BSD-3-Clause"
] | 66 | 2016-11-30T10:46:15.000Z | 2022-02-19T03:57:11.000Z | wp-content/plugins/wp-simple-firewall/src/lib/vendor/fernleafsystems/wordpress-services/src/Utilities/WpOrg/Plugin/Repo.php | biocuration/website | ec99ee1f9e161ff7a9247ad041d44739f9212dfb | [
"BSD-3-Clause"
] | 1 | 2020-11-04T07:39:15.000Z | 2020-11-04T07:39:15.000Z | <?php
namespace FernleafSystems\Wordpress\Services\Utilities\WpOrg\Plugin;
use FernleafSystems\Wordpress\Services;
/**
* Class Repo
* @package FernleafSystems\Wordpress\Services\Utilities\WpOrg\Plugin
*/
class Repo extends Services\Utilities\WpOrg\Base\RepoBase {
use Base;
const URL_VCS_ROOT = 'https://plugins... | 28.042857 | 108 | 0.673459 |
e29205b17333ab189596e2dde72eb7cc60a40b8e | 1,056 | js | JavaScript | examples/nodejs/index-account.js | jchavarri/flywheeljs | 7616dc481e58c9094d37162a74a424addf8d8da6 | [
"MIT"
] | 5 | 2016-04-03T19:58:09.000Z | 2018-11-11T16:46:57.000Z | examples/nodejs/index-account.js | jchavarri/flywheeljs | 7616dc481e58c9094d37162a74a424addf8d8da6 | [
"MIT"
] | null | null | null | examples/nodejs/index-account.js | jchavarri/flywheeljs | 7616dc481e58c9094d37162a74a424addf8d8da6 | [
"MIT"
] | null | null | null | const program = require('commander');
const chalk = require('chalk');
const flywheel = require('flywheeljs');
program
.description('get information about your Flywheel account')
.option('-e, --email <email>', '[required] The email of the user to authenticate as')
.option('-p, --password <password>', '[required] ... | 34.064516 | 162 | 0.655303 |
207937bb149e2927bbf7894e84b2ffaaf752d1ea | 2,672 | lua | Lua | lua/engine/camera.lua | ousttrue/limgui | 98c95bd283b92a23495f42a7dd9c8b1c48681945 | [
"MIT"
] | null | null | null | lua/engine/camera.lua | ousttrue/limgui | 98c95bd283b92a23495f42a7dd9c8b1c48681945 | [
"MIT"
] | null | null | null | lua/engine/camera.lua | ousttrue/limgui | 98c95bd283b92a23495f42a7dd9c8b1c48681945 | [
"MIT"
] | null | null | null | local maf = require "mafex"
local utils = require "limgui.utils"
local M = {}
---@class Camera
---@field shift vec3
---@field yaw_degree number
---@field pietch_degree number
---@field view mat4
---@field projection mat4
M.OrbitCamera = {
matrix = function(self)
return self.view * self.projection
end,... | 26.72 | 111 | 0.552021 |
4ac814d23b50a014c10ffbf8a2d5bc57c4eec233 | 856 | swift | Swift | Example/SimpleMenuKit/AppDelegate.swift | DistributionSouceCode/SimpleMenuKit | 1053f63581223bf150d6a8c2461422d1a3428ad8 | [
"MIT"
] | 2 | 2018-10-01T06:16:25.000Z | 2019-06-20T13:54:39.000Z | Example/SimpleMenuKit/AppDelegate.swift | DistributionSouceCode/SimpleMenuKit | 1053f63581223bf150d6a8c2461422d1a3428ad8 | [
"MIT"
] | null | null | null | Example/SimpleMenuKit/AppDelegate.swift | DistributionSouceCode/SimpleMenuKit | 1053f63581223bf150d6a8c2461422d1a3428ad8 | [
"MIT"
] | null | null | null | //
// AppDelegate.swift
// SimpleMenuKit
//
// Created by seyhagithub on 03/14/2018.
// Copyright (c) 2018 seyhagithub. All rights reserved.
//
import UIKit
import SimpleMenuKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ ap... | 20.878049 | 143 | 0.671729 |
fcc088ef6df90308b04db8a0799ac1a2b53174ba | 335 | dart | Dart | lib/loading_widget.dart | danilopeixoto/mural | fdc8410f8a02960cdd55a7be45ed738e55c315c2 | [
"BSD-3-Clause"
] | null | null | null | lib/loading_widget.dart | danilopeixoto/mural | fdc8410f8a02960cdd55a7be45ed738e55c315c2 | [
"BSD-3-Clause"
] | null | null | null | lib/loading_widget.dart | danilopeixoto/mural | fdc8410f8a02960cdd55a7be45ed738e55c315c2 | [
"BSD-3-Clause"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:flutter_spinkit/flutter_spinkit.dart';
class LoadingWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: SpinKitFadingCircle(
color: Theme.of(context).primaryColor,
size: 50.0,
... | 22.333333 | 54 | 0.692537 |
15837ee150045d5e0318cbc7f8be8bec0862e4e7 | 646 | rb | Ruby | lib/at_coder_friends/scraping/session.rb | suzukiapple/at_coder_friends | 764cf41449b71a0e2e32ed1be008c43641438133 | [
"MIT"
] | 14 | 2018-11-21T12:56:22.000Z | 2021-11-30T23:34:10.000Z | lib/at_coder_friends/scraping/session.rb | suzukiapple/at_coder_friends | 764cf41449b71a0e2e32ed1be008c43641438133 | [
"MIT"
] | 3 | 2019-09-01T09:19:43.000Z | 2020-12-14T04:56:12.000Z | lib/at_coder_friends/scraping/session.rb | suzukiapple/at_coder_friends | 764cf41449b71a0e2e32ed1be008c43641438133 | [
"MIT"
] | 2 | 2019-08-30T15:51:56.000Z | 2020-12-14T02:14:58.000Z | # frozen_string_literal: true
module AtCoderFriends
module Scraping
# session management for scraping
module Session
SESSION_STORE_FMT = File.join(
Dir.home, '.at_coder_friends', '%<user>s_session.yml'
)
def load_session
agent.cookie_jar.load(session_store) if File.exist?(s... | 23.925926 | 78 | 0.660991 |
da5507fffa6781fb1889d15069dfbadfbaece948 | 2,953 | php | PHP | resources/views/hairdresser/menu.blade.php | GeorgeLxL/publicmedia | 91b5fef8d523c267b195c9b70ebe43f6b3962580 | [
"MIT"
] | 1 | 2021-03-20T02:00:19.000Z | 2021-03-20T02:00:19.000Z | resources/views/hairdresser/menu.blade.php | GeorgeLxL/publicmedia | 91b5fef8d523c267b195c9b70ebe43f6b3962580 | [
"MIT"
] | null | null | null | resources/views/hairdresser/menu.blade.php | GeorgeLxL/publicmedia | 91b5fef8d523c267b195c9b70ebe43f6b3962580 | [
"MIT"
] | null | null | null | @extends('layouts.header1')
@section('title','menu')
@section('page-title')
<img src="{{asset('img/menu.png')}}">
<span class="title">メニュー</span>
@endsection
@section('content')
<div class="container" style="padding-bottom:30px">
<div class="row justify-content-center">
<div class="col-lg-11" st... | 44.074627 | 129 | 0.293938 |
454f6845dd1744d0736b6966d1cbbdf4594ec3c7 | 1,601 | py | Python | Main/Files/inference.py | 123freezebrennan/OpenVINO-Car-Pedestrian-Tracker-and-Counter | cc582965ad001e5978ebe31bae649dd360c24dca | [
"Intel"
] | null | null | null | Main/Files/inference.py | 123freezebrennan/OpenVINO-Car-Pedestrian-Tracker-and-Counter | cc582965ad001e5978ebe31bae649dd360c24dca | [
"Intel"
] | null | null | null | Main/Files/inference.py | 123freezebrennan/OpenVINO-Car-Pedestrian-Tracker-and-Counter | cc582965ad001e5978ebe31bae649dd360c24dca | [
"Intel"
] | null | null | null | from openvino.inference_engine import IECore, IENetwork
class Network:
#Constructor class to declare variables, any of these still as 'None' in console, an error occured when initializing it
def __init__(self):
#NEED TO: put ntoes done indicating what each does
self.plugin = None
... | 34.06383 | 124 | 0.646471 |
6db8b2ba33ba80c4c63aa4c5bd7347a9a48006cb | 4,155 | ts | TypeScript | client/src/store/chat/reducers/chatReducer.ts | AzamatKomaev/social_site | 4db54c593e6315aa9a767b4db75f43a0cd7f2683 | [
"MIT"
] | 2 | 2021-11-16T04:46:47.000Z | 2022-02-15T12:06:08.000Z | client/src/store/chat/reducers/chatReducer.ts | AzamatKomaev/social_site | 4db54c593e6315aa9a767b4db75f43a0cd7f2683 | [
"MIT"
] | null | null | null | client/src/store/chat/reducers/chatReducer.ts | AzamatKomaev/social_site | 4db54c593e6315aa9a767b4db75f43a0cd7f2683 | [
"MIT"
] | null | null | null | import {
SET_FETCHING,
GET_CHAT_LIST, SORT_CHATS_BY_NAME, SORT_CHATS_BY_LAST_MESSAGE, FILTER_CHATS_BY_STRING, GET_CHAT_DETAIL
} from "../actionTypes";
import {GroupChatI, PersonalChatI} from "../../../interfaces";
interface ChatListStateI {
detail: any,
type: string,
list: any,
filteredChatLis... | 31.007463 | 124 | 0.455355 |
dbf8bc164e5d0c5e5002788b2fecae8c3165d616 | 2,010 | php | PHP | views/dokter/_form.php | yogizafitrah/mini-rs | 38d21cc8071f7453771954f8397d9021d4b60b2d | [
"BSD-3-Clause"
] | null | null | null | views/dokter/_form.php | yogizafitrah/mini-rs | 38d21cc8071f7453771954f8397d9021d4b60b2d | [
"BSD-3-Clause"
] | null | null | null | views/dokter/_form.php | yogizafitrah/mini-rs | 38d21cc8071f7453771954f8397d9021d4b60b2d | [
"BSD-3-Clause"
] | null | null | null | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\widgets\DateRangePicker;
/* @var $this yii\web\View */
/* @var $model app\models\Dokter */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="dokter-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'no_dokter')->textIn... | 41.875 | 228 | 0.550249 |
b887e64f1d8fb50a8f48b4983236035edf763151 | 1,715 | h | C | PrivateFrameworks/PhotoLibraryServices/PLAssetsdServer.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/PhotoLibraryServices/PLAssetsdServer.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/PhotoLibraryServices/PLAssetsdServer.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "NSXPCListenerDelegate.h"
@class NSArray, NSMutableSet, NSString, NSXPCListener, PLBackgroundJobService, PLDistributedNotificationHandler, PLPhotoLibr... | 34.3 | 164 | 0.793586 |
05bd376dd5628d7b549caf34657630bda2a92602 | 1,255 | py | Python | nobody/design_pattern.py | Nobody2019/nobody | 6e3acbd02c2ea758e4e85f69d08406f26d6965de | [
"MIT"
] | null | null | null | nobody/design_pattern.py | Nobody2019/nobody | 6e3acbd02c2ea758e4e85f69d08406f26d6965de | [
"MIT"
] | null | null | null | nobody/design_pattern.py | Nobody2019/nobody | 6e3acbd02c2ea758e4e85f69d08406f26d6965de | [
"MIT"
] | null | null | null | # coding=utf-8
"""
@Author: Liang Chao
@Email: nobody_team@outlook.com
@File: design_pattern.py
@Created: 2020/10/23 19:25
@Desc:
"""
from nobody.decorators import synchronized
def singleton(cls):
instances = {}
@synchronized
def get_instance(*args, **kw):
if cls not in instances:
in... | 23.679245 | 89 | 0.612749 |
4cf9c9265a295886c8d95b8fc3125bf4c6565fba | 290 | py | Python | fitsbits/__init__.py | waqasbhatti/fitsbits | 849fcb76d923ee7b91ca3000ff7fd0e2cd5708e7 | [
"MIT"
] | null | null | null | fitsbits/__init__.py | waqasbhatti/fitsbits | 849fcb76d923ee7b91ca3000ff7fd0e2cd5708e7 | [
"MIT"
] | null | null | null | fitsbits/__init__.py | waqasbhatti/fitsbits | 849fcb76d923ee7b91ca3000ff7fd0e2cd5708e7 | [
"MIT"
] | null | null | null | from ._version import get_versions
__version__ = get_versions()['version']
__gitrev__ = get_versions()['full-revisionid'][:7]
del get_versions
# the basic logging styles common to all modules
log_sub = '{'
log_fmt = '[{levelname} {asctime}] {message}'
log_date_fmt = '%Y-%m-%d %H:%M:%S%z'
| 29 | 50 | 0.713793 |
cc96f3b7dcd4e0f53b3c7b9cddfb0006f0f95bd9 | 17,004 | rb | Ruby | spanner/spanner_samples.rb | simonz130/ruby-docs-samples | 5713de7eff7b5705f992dcdd3a72895ddb666d39 | [
"Apache-2.0"
] | null | null | null | spanner/spanner_samples.rb | simonz130/ruby-docs-samples | 5713de7eff7b5705f992dcdd3a72895ddb666d39 | [
"Apache-2.0"
] | null | null | null | spanner/spanner_samples.rb | simonz130/ruby-docs-samples | 5713de7eff7b5705f992dcdd3a72895ddb666d39 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 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 in writing, ... | 35.132231 | 107 | 0.714244 |
dd8643daca953739d4e708cb228b9df1d5b26f6b | 15,483 | java | Java | gremlin-test/src/main/java/com/tinkerpop/gremlin/structure/SerializationTest.java | davidcrouch/tinkerpop3 | 4a2f05516f9fdfb3fa7d9079f0cc79e365a8282b | [
"Apache-2.0"
] | null | null | null | gremlin-test/src/main/java/com/tinkerpop/gremlin/structure/SerializationTest.java | davidcrouch/tinkerpop3 | 4a2f05516f9fdfb3fa7d9079f0cc79e365a8282b | [
"Apache-2.0"
] | null | null | null | gremlin-test/src/main/java/com/tinkerpop/gremlin/structure/SerializationTest.java | davidcrouch/tinkerpop3 | 4a2f05516f9fdfb3fa7d9079f0cc79e365a8282b | [
"Apache-2.0"
] | null | null | null | package com.tinkerpop.gremlin.structure;
import com.esotericsoftware.kryo.Kryo;
import com.esotericsoftware.kryo.io.Input;
import com.esotericsoftware.kryo.io.Output;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.tinkerpop.gremlin.AbstractGremlinTe... | 51.268212 | 157 | 0.636375 |
6d9e2b93fad5bd5057bb00e4f50c97c8e3a0afb3 | 1,100 | c | C | baseboard/brya/cbi.c | coreboot/chrome-ec | 61044db105bc854167efe83815acb3fcb55deb85 | [
"BSD-3-Clause"
] | 46 | 2017-02-12T20:48:45.000Z | 2022-03-01T15:53:39.000Z | baseboard/brya/cbi.c | coreboot/chrome-ec | 61044db105bc854167efe83815acb3fcb55deb85 | [
"BSD-3-Clause"
] | null | null | null | baseboard/brya/cbi.c | coreboot/chrome-ec | 61044db105bc854167efe83815acb3fcb55deb85 | [
"BSD-3-Clause"
] | 46 | 2016-02-07T18:43:27.000Z | 2022-01-03T02:30:51.000Z | /* Copyright 2021 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include <stdint.h>
#include "console.h"
#include "common.h"
#include "cros_board_info.h"
#include "hooks.h"
#define CPRINTS(format, args...) cpr... | 20.754717 | 73 | 0.726364 |
0d397997e9ddd41a768b8eaf17fd8c80565d436a | 773 | rb | Ruby | railstube/app/controllers/comments_controller.rb | S-H-GAMELINKS/MyFirstRails | c53b68a43d4d1d2a6825f4c2c2f64b523a40562a | [
"MIT"
] | 18 | 2019-02-04T16:44:05.000Z | 2022-03-13T12:01:37.000Z | railstube/app/controllers/comments_controller.rb | S-H-GAMELINKS/MyFirstRails | c53b68a43d4d1d2a6825f4c2c2f64b523a40562a | [
"MIT"
] | 78 | 2019-02-04T01:14:39.000Z | 2019-04-12T04:54:49.000Z | railstube/app/controllers/comments_controller.rb | S-H-GAMELINKS/MyFirstRails | c53b68a43d4d1d2a6825f4c2c2f64b523a40562a | [
"MIT"
] | 4 | 2019-03-08T08:03:02.000Z | 2020-12-21T00:11:00.000Z | class CommentsController < ApplicationController
before_action :set_movie
before_action :check_login, only: [:destroy]
def create
@comment = @movie.comments.create! comments_params
@comment.update(:user_id => current_user.id, :score => params[:score])
redirect_to @movie
end
... | 27.607143 | 117 | 0.628719 |
b06cd80d0661a4fad14051b55b76c6e62676ec9b | 134 | py | Python | utilities/ray.py | fietensen/raytracer | 856e9dfa39d1c7fd77fd2409ce19a244af6e479c | [
"MIT"
] | null | null | null | utilities/ray.py | fietensen/raytracer | 856e9dfa39d1c7fd77fd2409ce19a244af6e479c | [
"MIT"
] | null | null | null | utilities/ray.py | fietensen/raytracer | 856e9dfa39d1c7fd77fd2409ce19a244af6e479c | [
"MIT"
] | null | null | null | class Ray:
def __init__(self, origin, direction):
self.origin = origin
self.direction = direction.normalize()
| 26.8 | 47 | 0.634328 |
f5fc86c26d74840965001077017abf68fcb67144 | 64 | css | CSS | packages/map-creator/src/App.module.css | yongcycchen/prisel | d7f1aec270f63b684f12639f726d383a4e408a3d | [
"MIT"
] | 5 | 2019-01-01T03:41:36.000Z | 2019-07-08T17:55:15.000Z | packages/map-creator/src/App.module.css | yongcycchen/prisel | d7f1aec270f63b684f12639f726d383a4e408a3d | [
"MIT"
] | 41 | 2018-05-14T00:49:38.000Z | 2018-12-25T19:46:22.000Z | packages/map-creator/src/App.module.css | yongcycchen/prisel | d7f1aec270f63b684f12639f726d383a4e408a3d | [
"MIT"
] | 1 | 2021-03-22T05:36:46.000Z | 2021-03-22T05:36:46.000Z | .propertyPanel {
width: 400px;
background: lightgrey;
}
| 12.8 | 26 | 0.65625 |
ca345d655c3b480af6405500ddfe2e6628ac8e5e | 526 | dart | Dart | lib/interfaces/general_screens/splash_screen/controllers/splash_ui_controller.dart | ChrisChV/Flutter-Project-Template | 2f597160fdd87b1367f0c2bc4bc6a590ecc5da36 | [
"MIT"
] | null | null | null | lib/interfaces/general_screens/splash_screen/controllers/splash_ui_controller.dart | ChrisChV/Flutter-Project-Template | 2f597160fdd87b1367f0c2bc4bc6a590ecc5da36 | [
"MIT"
] | 8 | 2020-04-29T20:52:29.000Z | 2021-02-18T17:35:48.000Z | lib/interfaces/general_screens/splash_screen/controllers/splash_ui_controller.dart | ChrisChV/Flutter-Project-Template | 2f597160fdd87b1367f0c2bc4bc6a590ecc5da36 | [
"MIT"
] | null | null | null | import 'package:flutter_project_template/routes/routingConstants.dart';
import 'package:flutter_project_template/view_models/controllers/AppUserController.dart';
import 'package:get/get.dart';
class SplashScreenController extends GetxController {
@override
void onReady() {
loadControllers();
super.onReady... | 23.909091 | 89 | 0.752852 |
74262674e732d3a265926f025551da3a64786f7b | 694 | css | CSS | book-list.css | mizuki0127/proN-4Q | 1957f6d65921893edb95e01a9c8e451b391ec803 | [
"MIT"
] | null | null | null | book-list.css | mizuki0127/proN-4Q | 1957f6d65921893edb95e01a9c8e451b391ec803 | [
"MIT"
] | null | null | null | book-list.css | mizuki0127/proN-4Q | 1957f6d65921893edb95e01a9c8e451b391ec803 | [
"MIT"
] | null | null | null | h1 {
font-size: 100px;
margin-top: 100px;
margin-left: 120px;
font-family: 'Shippori Mincho B1', serif;
color: #696969;
}
/* 検索エリア */
.search p {
margin-left: 140px;
font-size: 20px;
font-family: 'Shippori Mincho B1', serif;
color: #696969;
}
.search input {
margin-top: 20px;
... | 16.926829 | 45 | 0.599424 |
da4b4e38b405aea2b106934a53c3eb78f521c33d | 475 | php | PHP | src/FiltrableServiceProvider.php | hmshafeeq/query-filter | 5f7f3284de4a264e2f5b820651fb37ea5bc2bb07 | [
"MIT"
] | 21 | 2018-09-26T16:13:51.000Z | 2019-04-09T04:55:51.000Z | src/FiltrableServiceProvider.php | hmshafeeq/eloquent-filter | 5f7f3284de4a264e2f5b820651fb37ea5bc2bb07 | [
"MIT"
] | 2 | 2018-10-01T12:58:56.000Z | 2018-10-05T07:09:06.000Z | src/FiltrableServiceProvider.php | hmshafeeq/query-filter | 5f7f3284de4a264e2f5b820651fb37ea5bc2bb07 | [
"MIT"
] | 2 | 2018-10-03T05:38:29.000Z | 2019-04-16T02:44:17.000Z | <?php
namespace VelitSol\EloquentFilter;
use Illuminate\Support\ServiceProvider;
class FiltrableServiceProvider extends ServiceProvider
{
public function boot()
{
$this->publishes([
__DIR__.'/../config/filterable.php' => config_path('filterable.php'),
], 'config');
}
pub... | 19.791667 | 81 | 0.597895 |
464f482af5f326f654544090f215484e97c56b04 | 2,133 | php | PHP | resources/views/admin/default/_shared/topMenubar.blade.php | tumao/myoa2.0 | 322b0787716859745469751f1513aa9fc599f633 | [
"MIT"
] | null | null | null | resources/views/admin/default/_shared/topMenubar.blade.php | tumao/myoa2.0 | 322b0787716859745469751f1513aa9fc599f633 | [
"MIT"
] | null | null | null | resources/views/admin/default/_shared/topMenubar.blade.php | tumao/myoa2.0 | 322b0787716859745469751f1513aa9fc599f633 | [
"MIT"
] | null | null | null | <!-- topbar starts -->
<div class="navbar navbar-default" role="navigation">
<div class="navbar-inner">
<button type="button" class="navbar-toggle pull-left animated flip">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-ba... | 48.477273 | 147 | 0.526489 |
8bd449e4c39190fe35c5d2736f2dcc3f213816c1 | 2,138 | swift | Swift | Desktop Cleaner/ShortcutField.swift | Kyome22/Desktop-Cleaner | c4d101f5f8e65f47a3ce3e93a92c7194af649368 | [
"MIT"
] | 3 | 2019-02-06T08:03:09.000Z | 2019-06-16T13:38:44.000Z | Desktop Cleaner/ShortcutField.swift | Kyome22/Desktop-Cleaner | c4d101f5f8e65f47a3ce3e93a92c7194af649368 | [
"MIT"
] | null | null | null | Desktop Cleaner/ShortcutField.swift | Kyome22/Desktop-Cleaner | c4d101f5f8e65f47a3ce3e93a92c7194af649368 | [
"MIT"
] | null | null | null | //
// ShortcutField.swift
// Desktop Cleaner
//
// Created by Takuto Nakamura on 2019/02/02.
// Copyright © 2019 Takuto Nakamura. All rights reserved.
//
import Cocoa
protocol ShortcutFieldDelegate: NSTextFieldDelegate {
func didPressKey(event: NSEvent)
func didChangeFlag(event: NSEvent)
}
class Shortcut... | 29.694444 | 131 | 0.615061 |
4b9572f3d61de9388831bfdd40a78ae7f07c14db | 3,409 | hpp | C++ | external/boost_1_60_0/qsboost/smart_ptr/detail/sp_counted_base.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | 1 | 2019-06-27T17:54:13.000Z | 2019-06-27T17:54:13.000Z | external/boost_1_60_0/qsboost/smart_ptr/detail/sp_counted_base.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | null | null | null | external/boost_1_60_0/qsboost/smart_ptr/detail/sp_counted_base.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | null | null | null | #ifndef QSBOOST_SMART_PTR_DETAIL_SP_COUNTED_BASE_HPP_INCLUDED
#define QSBOOST_SMART_PTR_DETAIL_SP_COUNTED_BASE_HPP_INCLUDED
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
//
// detail/sp_counted_base.hpp
//
// Copyright 2005-2013 Peter Dimov
//
// D... | 36.265957 | 144 | 0.779114 |
006be26685bdcbd1e9f558733d8a10a56dc1ef65 | 60 | sql | SQL | src/OrdersCollector/db/updates/20160806-2251.sql | jmansar/orders-collector | 1ede930c442b252112c22bba0686f865a6331ff5 | [
"MIT"
] | null | null | null | src/OrdersCollector/db/updates/20160806-2251.sql | jmansar/orders-collector | 1ede930c442b252112c22bba0686f865a6331ff5 | [
"MIT"
] | 4 | 2018-08-04T13:58:11.000Z | 2018-08-04T17:53:30.000Z | src/OrdersCollector/db/updates/20160806-2251.sql | jmansar/orders-collector | 1ede930c442b252112c22bba0686f865a6331ff5 | [
"MIT"
] | null | null | null | alter table OrderItems
add AuditInfo_InvokedByName text null | 30 | 37 | 0.9 |
df7b0345e9662267c85a1454cdb911162dd6c5e4 | 1,344 | cs | C# | SpaceSimulator/Rendering/Plot/PlotHelpers.cs | svenslaggare/SpaceSimulator.NET | 20088244277b2983915da400f346083a5f940d58 | [
"MIT"
] | 4 | 2017-04-23T17:22:06.000Z | 2020-08-26T08:11:05.000Z | SpaceSimulator/Rendering/Plot/PlotHelpers.cs | svenslaggare/SpaceSimulator.NET | 20088244277b2983915da400f346083a5f940d58 | [
"MIT"
] | null | null | null | SpaceSimulator/Rendering/Plot/PlotHelpers.cs | svenslaggare/SpaceSimulator.NET | 20088244277b2983915da400f346083a5f940d58 | [
"MIT"
] | 1 | 2022-01-29T12:45:47.000Z | 2022-01-29T12:45:47.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SharpDX;
using SpaceSimulator.Helpers;
namespace SpaceSimulator.Rendering.Plot
{
/// <summary>
/// Contains helper methods for plots
/// </summary>
public static class PlotHelpers
... | 28 | 127 | 0.482143 |
e28245600cb0a03c026e4a7a345a44501a75bac2 | 8,107 | py | Python | pegasus_base/scripts/stocktake_script.py | protogarden/pegasus-mini | 9918a2bb3ab94e374f54926de5c686d1d9a0d50e | [
"MIT"
] | null | null | null | pegasus_base/scripts/stocktake_script.py | protogarden/pegasus-mini | 9918a2bb3ab94e374f54926de5c686d1d9a0d50e | [
"MIT"
] | null | null | null | pegasus_base/scripts/stocktake_script.py | protogarden/pegasus-mini | 9918a2bb3ab94e374f54926de5c686d1d9a0d50e | [
"MIT"
] | null | null | null | #!/bin/env python
import rospy
from geometry_msgs.msg import PoseStamped, PoseWithCovarianceStamped
from actionlib_msgs.msg import GoalStatusArray
from move_base_msgs.msg import MoveBaseActionGoal, MoveBaseActionResult, MoveBaseAction, MoveBaseGoal
import time
import actionlib
import tf
import tf2_ros
from tf.transf... | 32.955285 | 243 | 0.589614 |
54bf9b4c333c8923fc97af7381466124e81028ac | 6,420 | rb | Ruby | actionview/test/template/capture_helper_test.rb | Alwahsh/rails | 0e7dfbe9a2ffd3ee885b0783b20ebe5fdd4f9eec | [
"MIT"
] | null | null | null | actionview/test/template/capture_helper_test.rb | Alwahsh/rails | 0e7dfbe9a2ffd3ee885b0783b20ebe5fdd4f9eec | [
"MIT"
] | 21 | 2020-03-20T21:46:02.000Z | 2021-09-08T20:09:49.000Z | actionview/test/template/capture_helper_test.rb | Alwahsh/rails | 0e7dfbe9a2ffd3ee885b0783b20ebe5fdd4f9eec | [
"MIT"
] | 1 | 2020-02-14T12:06:08.000Z | 2020-02-14T12:06:08.000Z | require "abstract_unit"
class CaptureHelperTest < ActionView::TestCase
def setup
super
@av = ActionView::Base.new
@view_flow = ActionView::OutputFlow.new
end
def test_capture_captures_the_temporary_output_buffer_in_its_block
assert_nil @av.output_buffer
string = @av.capture do
@av.outp... | 28.281938 | 92 | 0.702804 |
43f700beb7c9c140d76c7a0bd424635d5eb75155 | 38 | ts | TypeScript | src/app/pages/campaign/index.ts | alokKumarSingh89/angular-firebase-sail | 72f43c162d9f971fa811950b351c361fb34a0157 | [
"MIT"
] | null | null | null | src/app/pages/campaign/index.ts | alokKumarSingh89/angular-firebase-sail | 72f43c162d9f971fa811950b351c361fb34a0157 | [
"MIT"
] | null | null | null | src/app/pages/campaign/index.ts | alokKumarSingh89/angular-firebase-sail | 72f43c162d9f971fa811950b351c361fb34a0157 | [
"MIT"
] | null | null | null | export * from './campaign.component';
| 19 | 37 | 0.710526 |
b0c074773ab99866ac587534be9b11db15239fcb | 440 | py | Python | evento/migrations/0004_palestrante_social_midia.py | kelwys/open_event | 5fb4b8e88839745b5be50acde563f8ec0b1cab24 | [
"MIT"
] | null | null | null | evento/migrations/0004_palestrante_social_midia.py | kelwys/open_event | 5fb4b8e88839745b5be50acde563f8ec0b1cab24 | [
"MIT"
] | 4 | 2020-02-12T01:22:34.000Z | 2021-04-08T19:49:45.000Z | evento/migrations/0004_palestrante_social_midia.py | kelwys/open_event | 5fb4b8e88839745b5be50acde563f8ec0b1cab24 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.4 on 2019-08-14 14:24
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('evento', '0003_remove_palestrante_slug'),
]
operations = [
migrations.AddField(
model_name='palestrante',
name='soci... | 23.157895 | 91 | 0.627273 |
d674f52831d4a7b98e4a69e3089d96a1e8a88753 | 1,260 | cs | C# | src/Nirvana/Util/Extensions/AssignableExtensions.cs | jasoncavaliere/Nirvana | b96d73543c5f653009630a8f6ba2e4a680e3ce63 | [
"Apache-2.0"
] | 1 | 2017-05-03T10:29:20.000Z | 2017-05-03T10:29:20.000Z | src/Nirvana/Util/Extensions/AssignableExtensions.cs | jasoncavaliere/Nirvana | b96d73543c5f653009630a8f6ba2e4a680e3ce63 | [
"Apache-2.0"
] | null | null | null | src/Nirvana/Util/Extensions/AssignableExtensions.cs | jasoncavaliere/Nirvana | b96d73543c5f653009630a8f6ba2e4a680e3ce63 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Linq;
namespace Nirvana.Util.Extensions
{
public static class AssignableExtensions
{
public static bool IsAssignableToGenericType(this Type givenType, Type genericType)
{
if (givenType == null || genericType == null)
{
... | 33.157895 | 110 | 0.604762 |
dd6f4c46cbe8fdb64316353a3318045a56299cdf | 785 | java | Java | app/src/main/java/com/example/selfgrowth/enums/LabelEnum.java | lw1243925457/self_growth_android | 9476a5224c85e09d348f55d42a9b91acfbd6d906 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/selfgrowth/enums/LabelEnum.java | lw1243925457/self_growth_android | 9476a5224c85e09d348f55d42a9b91acfbd6d906 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/selfgrowth/enums/LabelEnum.java | lw1243925457/self_growth_android | 9476a5224c85e09d348f55d42a9b91acfbd6d906 | [
"Apache-2.0"
] | null | null | null | package com.example.selfgrowth.enums;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum LabelEnum {
DEFAULT("其他"),
LEARN("学习")... | 21.216216 | 95 | 0.650955 |
e2bc818e01945d9c0408c4cbbc441b836d509f64 | 374 | py | Python | polls/api/views.py | s-wirth/thesis | a093dfb39a644b95509e2f5b25fbf3b2efa72545 | [
"MIT"
] | null | null | null | polls/api/views.py | s-wirth/thesis | a093dfb39a644b95509e2f5b25fbf3b2efa72545 | [
"MIT"
] | null | null | null | polls/api/views.py | s-wirth/thesis | a093dfb39a644b95509e2f5b25fbf3b2efa72545 | [
"MIT"
] | null | null | null | from rest_framework.generics import ListAPIView, RetrieveAPIView
from polls.models import Question
from .serializers import PollSerializer
class PollListAPIView(ListAPIView):
queryset = Question.objects.all()
serializer_class = PollSerializer
class PollDetailAPIView(RetrieveAPIView):
queryset = Questio... | 24.933333 | 64 | 0.807487 |
b37227f009c0f016d58c574d0e93c9187bb4ad92 | 3,510 | py | Python | videoReid.py | Akimoto-Cris/Pytorch_AMOC | d2587ff3cfdd555c537c021dd616844da63210b9 | [
"Apache-2.0"
] | 2 | 2020-10-23T03:16:52.000Z | 2021-03-06T02:03:04.000Z | videoReid.py | Akimoto-Cris/Pytorch_AMOC | d2587ff3cfdd555c537c021dd616844da63210b9 | [
"Apache-2.0"
] | 1 | 2021-03-08T01:53:06.000Z | 2021-03-28T13:34:25.000Z | videoReid.py | Akimoto-Cris/Pytorch_AMOC | d2587ff3cfdd555c537c021dd616844da63210b9 | [
"Apache-2.0"
] | 1 | 2020-03-21T01:48:08.000Z | 2020-03-21T01:48:08.000Z | #!/usr/bin/python3
# -*- coding: utf-8 -*-
"""
@Author: Xu Kaixin
@License: Apache Licence
@Time: 2019.10.25 : 下午 8:24
@File Name: videoReid.py
@Software: PyCharm
-----------------
"""
import os
from options import parser_args
from torch.utils.data.sampler import SubsetRandomSampler
from prepareDataset import ReI... | 35.816327 | 118 | 0.667806 |
6d81855c3347ed57a65249843ffe0819591f83c4 | 3,841 | ts | TypeScript | src/modules/helper.ts | TryphonX/react-native-build-manager | db92c106f7eedf53213faa08f43a884f731e6b80 | [
"MIT"
] | null | null | null | src/modules/helper.ts | TryphonX/react-native-build-manager | db92c106f7eedf53213faa08f43a884f731e6b80 | [
"MIT"
] | null | null | null | src/modules/helper.ts | TryphonX/react-native-build-manager | db92c106f7eedf53213faa08f43a884f731e6b80 | [
"MIT"
] | null | null | null | import chalk from 'chalk';
import { exec } from 'child_process';
import { BuildTask, giveChoice, logReply, makeYesNoQuestion, START_PHRASES } from './common.js';
import { error, warn } from './consolePlus.js';
const { greenBright, red } = chalk;
/**
* The options for the new version name question.
*/
enum versionIn... | 25.437086 | 159 | 0.67899 |
b8a3476363fc91e1aec1f5251e764e137f6c7268 | 2,474 | h | C | engine/Engine.UI/src/ui/widget/VerticalScrollBar.h | Kartikeyapan598/Ghurund | bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea | [
"MIT"
] | null | null | null | engine/Engine.UI/src/ui/widget/VerticalScrollBar.h | Kartikeyapan598/Ghurund | bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea | [
"MIT"
] | null | null | null | engine/Engine.UI/src/ui/widget/VerticalScrollBar.h | Kartikeyapan598/Ghurund | bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea | [
"MIT"
] | null | null | null | #pragma once
#include "DragHelper.h"
#include "Widget.h"
#include "ui/widget/button/Button.h"
#include "ui/control/ClickableControl.h"
#include "ui/layout/ManualLayout.h"
#include <algorithm>
namespace Ghurund::UI {
class VerticalScrollBar:public Widget {
private:
Button* topButton;
Button* b... | 27.797753 | 131 | 0.607518 |
79628dc8f2810da09ab8783411d5db38180018a5 | 4,664 | php | PHP | vendor/bitwasp/bitcoin/src/Crypto/EcAdapter/Impl/Secp256k1/Key/PublicKey.php | halesyy/mix | f2953726f02e3c11400904d23b581e140cd791df | [
"MIT"
] | 17 | 2019-07-23T00:35:32.000Z | 2022-02-27T22:12:41.000Z | vendor/bitwasp/bitcoin/src/Crypto/EcAdapter/Impl/Secp256k1/Key/PublicKey.php | halesyy/mix | f2953726f02e3c11400904d23b581e140cd791df | [
"MIT"
] | 4 | 2021-03-11T19:03:35.000Z | 2021-05-06T06:37:52.000Z | vendor/bitwasp/bitcoin/src/Crypto/EcAdapter/Impl/Secp256k1/Key/PublicKey.php | halesyy/mix | f2953726f02e3c11400904d23b581e140cd791df | [
"MIT"
] | 13 | 2020-02-22T18:27:01.000Z | 2022-03-16T18:50:59.000Z | <?php
namespace BitWasp\Bitcoin\Crypto\EcAdapter\Impl\Secp256k1\Key;
use BitWasp\Bitcoin\Crypto\EcAdapter\Impl\Secp256k1\Adapter\EcAdapter;
use BitWasp\Bitcoin\Crypto\EcAdapter\Impl\Secp256k1\Serializer\Key\PublicKeySerializer;
use BitWasp\Bitcoin\Crypto\EcAdapter\Key\Key;
use BitWasp\Bitcoin\Crypto\EcAdapter\Key\Pub... | 27.761905 | 187 | 0.60506 |
af8ae78f2e45dfec1e8b2a45b9839f93f62ea8dd | 7,151 | py | Python | tests/test_one_pod_pipeline_generator.py | 0shimax/kedro-kubeflow | 72551f3a66f21719f8af7afe883df79f70c67c51 | [
"Apache-2.0"
] | null | null | null | tests/test_one_pod_pipeline_generator.py | 0shimax/kedro-kubeflow | 72551f3a66f21719f8af7afe883df79f70c67c51 | [
"Apache-2.0"
] | null | null | null | tests/test_one_pod_pipeline_generator.py | 0shimax/kedro-kubeflow | 72551f3a66f21719f8af7afe883df79f70c67c51 | [
"Apache-2.0"
] | null | null | null | """Test generator"""
import os
import unittest
from inspect import signature
from unittest.mock import MagicMock
import kfp
from kedro.pipeline import Pipeline, node
from kedro_kubeflow.config import PluginConfig
from kedro_kubeflow.generators.one_pod_pipeline_generator import (
OnePodPipelineGenerator,
)
def ... | 31.502203 | 79 | 0.544399 |
854de5203ceb93dbd19c03e6208f54099b6f63ca | 111 | cs | C# | src/Classes/Something.cs | JKerens/build-powershell-modules | 390a206ac2a8d049eca7490cf1cdb9fa3d3e1c94 | [
"MIT"
] | 2 | 2022-01-25T19:57:39.000Z | 2022-03-22T07:03:36.000Z | src/Classes/Something.cs | JKerens/build-powershell-modules | 390a206ac2a8d049eca7490cf1cdb9fa3d3e1c94 | [
"MIT"
] | null | null | null | src/Classes/Something.cs | JKerens/build-powershell-modules | 390a206ac2a8d049eca7490cf1cdb9fa3d3e1c94 | [
"MIT"
] | 1 | 2022-03-22T07:03:51.000Z | 2022-03-22T07:03:51.000Z | namespace Build.PowerShell
{
public class Something
{
public string Name { get; set; }
}
} | 15.857143 | 40 | 0.594595 |
cca237ccf6de368be1f2769545a84b79e2520ef0 | 2,900 | rb | Ruby | app/models/place_scrobble/match_options.rb | quantitare/quantitare | c2c35e74e94f7bb3779b20bd23abdd08b8d938ab | [
"MIT"
] | 7 | 2018-05-18T00:42:13.000Z | 2021-12-01T05:38:52.000Z | app/models/place_scrobble/match_options.rb | quantitare/quantitare | c2c35e74e94f7bb3779b20bd23abdd08b8d938ab | [
"MIT"
] | 721 | 2018-09-12T06:33:18.000Z | 2022-03-30T22:01:35.000Z | app/models/place_scrobble/match_options.rb | quantitare/quantitare | c2c35e74e94f7bb3779b20bd23abdd08b8d938ab | [
"MIT"
] | null | null | null | # frozen_string_literal: true
class PlaceScrobble
# Wrapper for accomodating nested attributes for {PlaceMatch}es on a given {PlaceScrobble}. Delegates most
# "persistence" logic to the associated {PlaceMatch}, and decides whether it ought to create or update one when given
# the +enabled+ flag. Takes care of co... | 28.431373 | 119 | 0.714483 |
df13f88b187629144f9832e4cfa65c919d01df42 | 1,513 | cs | C# | src/MultiPlug.Ext.RasPi.GPIO/Components/RaspberryPi/GpioPin.cs | Industry4/MultiPlug.Ext.RasPi.GPIO | 445aae7436cfc23bdd56ac7dfc0603c8b2d07602 | [
"MIT"
] | null | null | null | src/MultiPlug.Ext.RasPi.GPIO/Components/RaspberryPi/GpioPin.cs | Industry4/MultiPlug.Ext.RasPi.GPIO | 445aae7436cfc23bdd56ac7dfc0603c8b2d07602 | [
"MIT"
] | null | null | null | src/MultiPlug.Ext.RasPi.GPIO/Components/RaspberryPi/GpioPin.cs | Industry4/MultiPlug.Ext.RasPi.GPIO | 445aae7436cfc23bdd56ac7dfc0603c8b2d07602 | [
"MIT"
] | null | null | null | using System;
using Unosquare.RaspberryIO.Abstractions;
namespace MultiPlug.Ext.RasPi.GPIO.Components.RaspberryPi
{
internal class GpioPin
{
readonly IGpioPin m_GpioPin;
internal Action StateChange;
public GpioPin(IGpioPin theGpioPin)
{
m_GpioPin = theGpioPin;
... | 21.927536 | 93 | 0.507601 |
798aaba8d2ad4dafde098553c38174a2f614d8b9 | 3,349 | php | PHP | app/tools/html/HtmlFormatter.php | dewframework/dew | c929e6bf140565c7b21c3ccd62112ba17e50502f | [
"MIT"
] | 1 | 2016-02-14T18:29:42.000Z | 2016-02-14T18:29:42.000Z | app/tools/html/HtmlFormatter.php | dewframework/dew | c929e6bf140565c7b21c3ccd62112ba17e50502f | [
"MIT"
] | null | null | null | app/tools/html/HtmlFormatter.php | dewframework/dew | c929e6bf140565c7b21c3ccd62112ba17e50502f | [
"MIT"
] | null | null | null | <?php
namespace Mihaeu;
/**
* HTML Formatter
*
* @author Michael Haeuslmann <haeuslmann@gmail.com>
*/
class HtmlFormatter
{
/**
* Formats HTML by re-indenting the tags and removing unnecessary whitespace.
*
* @param string $html HTML string.
* @param string $indentWith Characters that are being used for ... | 26.370079 | 134 | 0.58943 |
c6d5258571d945740ebf95e6113191419ba4ea3e | 8,185 | py | Python | TestTimeAugmentation/generate_xml_cvat.py | onepanelio/ensembleObjectDetection | ddc742b553ba7e18d5dcdcf30f61f5858f369d3a | [
"MIT"
] | null | null | null | TestTimeAugmentation/generate_xml_cvat.py | onepanelio/ensembleObjectDetection | ddc742b553ba7e18d5dcdcf30f61f5858f369d3a | [
"MIT"
] | null | null | null | TestTimeAugmentation/generate_xml_cvat.py | onepanelio/ensembleObjectDetection | ddc742b553ba7e18d5dcdcf30f61f5858f369d3a | [
"MIT"
] | null | null | null | from xml.sax.saxutils import XMLGenerator
from collections import OrderedDict
import json
import glob
import xml.etree.ElementTree as ET
import os
class XmlAnnotationWriter:
def __init__(self, file):
self.version = "1.1"
self.file = file
self.xmlgen = XMLGenerator(self.file, 'utf-8')
... | 33.683128 | 336 | 0.559805 |
8e4f5e22e444e3a1a37b058dc97409bc1120d130 | 1,641 | swift | Swift | Example/VandMarvelUIKit/Features/CharacterDisplayCompact/CharacterDisplayCompactView.swift | Vandcarlos/VandMarvelUIKit | e065912b1107f02ff8665b715b82e17866d6528b | [
"MIT"
] | null | null | null | Example/VandMarvelUIKit/Features/CharacterDisplayCompact/CharacterDisplayCompactView.swift | Vandcarlos/VandMarvelUIKit | e065912b1107f02ff8665b715b82e17866d6528b | [
"MIT"
] | null | null | null | Example/VandMarvelUIKit/Features/CharacterDisplayCompact/CharacterDisplayCompactView.swift | Vandcarlos/VandMarvelUIKit | e065912b1107f02ff8665b715b82e17866d6528b | [
"MIT"
] | null | null | null | // Created on 20/01/21. Copyright © 2021 Vand. All rights reserved.
import VandMarvelUIKit
class CharacterDisplayCompactView: UIView, VMViewCode {
init() {
super.init(frame: .zero)
setupView()
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
... | 26.467742 | 73 | 0.657526 |
65187e773e47dcccf92a75e8f5823adebf4bbc86 | 2,046 | css | CSS | assets/css/chart.css | zhanglina0902/Group-project | dd4a4fcb1b1c6621b6a150e3304f50da34e03859 | [
"MIT"
] | null | null | null | assets/css/chart.css | zhanglina0902/Group-project | dd4a4fcb1b1c6621b6a150e3304f50da34e03859 | [
"MIT"
] | null | null | null | assets/css/chart.css | zhanglina0902/Group-project | dd4a4fcb1b1c6621b6a150e3304f50da34e03859 | [
"MIT"
] | null | null | null |
.tpl-portlet-components {
border: 1px solid #e7ecf1;
padding: 12px 20px 15px;
background-color: #fff;
margin-top: 0;
margin-bottom: 25px;
overflow: hidden;
}
.tpl-portlet-components .portlet-title {
border-bottom: 1px solid #eef1f5;
padding: 0;
min-height: 48px;
margin-bottom: ... | 19.485714 | 85 | 0.614858 |
ee2950e0bdd4cb4f7d520bb8b9b3a06f422f232f | 4,235 | rb | Ruby | app/models/cell_metadatum.rb | ssabrii/single_cell_portal_core | 76de2d18e0283c5e4f6b311c87bf718398826a41 | [
"BSD-3-Clause"
] | null | null | null | app/models/cell_metadatum.rb | ssabrii/single_cell_portal_core | 76de2d18e0283c5e4f6b311c87bf718398826a41 | [
"BSD-3-Clause"
] | null | null | null | app/models/cell_metadatum.rb | ssabrii/single_cell_portal_core | 76de2d18e0283c5e4f6b311c87bf718398826a41 | [
"BSD-3-Clause"
] | null | null | null | class CellMetadatum
include Mongoid::Document
# Constants for scoping values for AnalysisParameter inputs/outputs
ASSOCIATED_MODEL_METHOD = %w(name annotation_type)
ASSOCIATED_MODEL_DISPLAY_METHOD = %w(name annotation_type)
OUTPUT_ASSOCIATION_ATTRIBUTE = %w(study_file_id)
ANALYSIS_PARAMETER_FILTERS = {
... | 38.853211 | 192 | 0.681936 |
60cec9d146df3abbcc803e8e909e46dc13363755 | 149 | sql | SQL | src/corpwatch_cleanup.sql | ANCIR/mozambique | 6a1f07a9c3911e3f5bdeea995ad0e10cad1046bf | [
"MIT"
] | 16 | 2015-03-12T14:44:59.000Z | 2021-10-09T00:30:31.000Z | src/corpwatch_cleanup.sql | 4bic/scraper_Mozmbq | 0043c84aa497ada532b82e2ac74ad5543cb3205d | [
"MIT"
] | null | null | null | src/corpwatch_cleanup.sql | 4bic/scraper_Mozmbq | 0043c84aa497ada532b82e2ac74ad5543cb3205d | [
"MIT"
] | 2 | 2015-07-09T17:26:32.000Z | 2018-07-16T16:50:36.000Z |
SELECT f_add_col('corpwatch_companies', 'company_name_norm', 'text');
UPDATE corpwatch_companies SET company_name_norm = f_mz_person(company_name);
| 37.25 | 77 | 0.825503 |
75b081edb83168392d37903a01e8407365272399 | 2,899 | css | CSS | js/addOns/adyen.cardtype.css | rvanlaak/CSE-JS | 256b8495aa5d87508852a78db78e359e4ba755bc | [
"MIT"
] | null | null | null | js/addOns/adyen.cardtype.css | rvanlaak/CSE-JS | 256b8495aa5d87508852a78db78e359e4ba755bc | [
"MIT"
] | null | null | null | js/addOns/adyen.cardtype.css | rvanlaak/CSE-JS | 256b8495aa5d87508852a78db78e359e4ba755bc | [
"MIT"
] | 2 | 2016-09-12T20:06:02.000Z | 2018-12-20T07:56:25.000Z | /* In case you want to show the icon and the friendly name */
#cardType {
min-height: 14px;
padding-left: 27px;
background-repeat: no-repeat;
}
/* In case you only want to show the icon */
#cardType {
height: 14px;
width: 25px;
background-repeat: no-repeat;
}
#cardType .cse-cardtype-label {
... | 27.875 | 89 | 0.720248 |
2ca71f97088aba9ec01a7b75f91a42c6d88e697a | 596 | py | Python | transforms.py | dscarmo/IA376J_final_project | 33422bc6da29dd8a664f61e98d34c0c0057e7598 | [
"MIT"
] | 1 | 2020-12-13T05:05:24.000Z | 2020-12-13T05:05:24.000Z | transforms.py | dscarmo/IA376J_final_project | 33422bc6da29dd8a664f61e98d34c0c0057e7598 | [
"MIT"
] | null | null | null | transforms.py | dscarmo/IA376J_final_project | 33422bc6da29dd8a664f61e98d34c0c0057e7598 | [
"MIT"
] | null | null | null | from torchvision import transforms
def get_transform(transform_str):
transform = None
if transform_str == "baseline":
transform = transforms.Compose([transforms.ToPILImage(),
transforms.Resize((512, 256)),
transforms.ToTen... | 37.25 | 71 | 0.526846 |
e47ebea76935b542b01141001b2120f7e5d5a0b8 | 2,095 | h | C | tests/CompileTests/PythonExample_tests/pythonDir/methodobject.h | maurizioabba/rose | 7597292cf14da292bdb9a4ef573001b6c5b9b6c0 | [
"BSD-3-Clause"
] | 488 | 2015-01-09T08:54:48.000Z | 2022-03-30T07:15:46.000Z | tests/CompileTests/PythonExample_tests/pythonDir/methodobject.h | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 174 | 2015-01-28T18:41:32.000Z | 2022-03-31T16:51:05.000Z | tests/CompileTests/PythonExample_tests/pythonDir/methodobject.h | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 146 | 2015-04-27T02:48:34.000Z | 2022-03-04T07:32:53.000Z |
/* Method object interface */
#ifndef Py_METHODOBJECT_H
#define Py_METHODOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif
extern DL_IMPORT(PyTypeObject) PyCFunction_Type;
#define PyCFunction_Check(op) ((op)->ob_type == &PyCFunction_Type)
typedef PyObject *(*PyCFunction)(PyObject *, PyObject *);
typedef PyObject *(*... | 29.507042 | 82 | 0.719332 |
8db4293136c1a35bfd355f13a9c0142c62f309e6 | 8,886 | js | JavaScript | controllers/ScheduleController.js | workarounds/instilive | 28d93c9e339dbc6700d1f7a412e1eba2eee1636e | [
"Apache-2.0"
] | 1 | 2017-02-06T17:43:02.000Z | 2017-02-06T17:43:02.000Z | controllers/ScheduleController.js | workarounds/instilive | 28d93c9e339dbc6700d1f7a412e1eba2eee1636e | [
"Apache-2.0"
] | null | null | null | controllers/ScheduleController.js | workarounds/instilive | 28d93c9e339dbc6700d1f7a412e1eba2eee1636e | [
"Apache-2.0"
] | null | null | null | /**
* Created by manidesto on 05/12/14.
*/
(function () {
var app = angular.module('Vnb');
function getDateObj(s) {
var a = s.split(/[^0-9]/);
var d = new Date(a[0], a[1] - 1, a[2], a[3], a[4], a[5]);
return d;
}
function isNextDay(d){
var now = new Date();
re... | 36.871369 | 89 | 0.430452 |
e4eb977c0e25b2fd25b13f0cc1b27b334cf182b8 | 16,312 | sql | SQL | nedimmed_tarim.sql | yaseminsekmen/tarim | 4de0959f70706de583a9e21271dda0cfe60f04f9 | [
"MIT"
] | null | null | null | nedimmed_tarim.sql | yaseminsekmen/tarim | 4de0959f70706de583a9e21271dda0cfe60f04f9 | [
"MIT"
] | null | null | null | nedimmed_tarim.sql | yaseminsekmen/tarim | 4de0959f70706de583a9e21271dda0cfe60f04f9 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.0.4.2
-- http://www.phpmyadmin.net
--
-- Anamakine: localhost
-- Üretim Zamanı: 23 Eyl 2019, 21:43:36
-- Sunucu sürümü: 5.6.13
-- PHP Sürümü: 5.4.17
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
... | 57.43662 | 1,221 | 0.730996 |
bf7101e96a0b389ca5226c79f86818ee159372fe | 11,991 | go | Go | pkg/security/v1beta1/authorizationpolicy_types.go | shanchunyang0919/istio-client-go | 15d1d53f2857eb232484070b3b6106de70677f27 | [
"Apache-2.0"
] | 12 | 2019-10-30T15:23:39.000Z | 2022-02-09T11:08:29.000Z | pkg/security/v1beta1/authorizationpolicy_types.go | shanchunyang0919/istio-client-go | 15d1d53f2857eb232484070b3b6106de70677f27 | [
"Apache-2.0"
] | 3 | 2021-12-15T08:36:30.000Z | 2022-02-15T15:54:18.000Z | pkg/security/v1beta1/authorizationpolicy_types.go | shanchunyang0919/istio-client-go | 15d1d53f2857eb232484070b3b6106de70677f27 | [
"Apache-2.0"
] | 3 | 2021-01-02T14:27:28.000Z | 2021-12-14T15:25:25.000Z | // Copyright © 2020 Banzai Cloud
//
// 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 ... | 33.968839 | 109 | 0.703444 |
6177d00670098cb52087ae5e65bd5d1a550a3792 | 692 | swift | Swift | FearlessUtils/Classes/Extrinsic/CryptoType+Extrinsic.swift | ERussel/fearless-utils-iOS | eee0e18b497227e149c8412d1fd5d0372b23fc40 | [
"Apache-2.0"
] | 5 | 2020-09-24T10:24:20.000Z | 2021-07-15T01:11:57.000Z | FearlessUtils/Classes/Extrinsic/CryptoType+Extrinsic.swift | ERussel/fearless-utils-iOS | eee0e18b497227e149c8412d1fd5d0372b23fc40 | [
"Apache-2.0"
] | 5 | 2021-02-02T07:54:34.000Z | 2021-09-28T20:02:12.000Z | FearlessUtils/Classes/Extrinsic/CryptoType+Extrinsic.swift | ERussel/fearless-utils-iOS | eee0e18b497227e149c8412d1fd5d0372b23fc40 | [
"Apache-2.0"
] | 7 | 2021-01-18T03:39:49.000Z | 2021-10-14T10:02:13.000Z | import Foundation
extension CryptoType {
init?(onChainType: UInt8) {
switch onChainType {
case 0:
self = .ed25519
case 1:
self = .sr25519
case 2:
self = .ecdsa
default:
return nil
}
}
var onChainType: UInt8 {
... | 17.74359 | 31 | 0.434971 |
b066d1ac766c0ae3624e333e173729750cc42a2a | 10,420 | py | Python | emi_measure.py | HongquanSu/find-roots-of-equations-in-Su-et-al-2018-479-4041 | 333ceb0ef2c63ea25d3a5cbe2b8e52e237f9939e | [
"MIT"
] | null | null | null | emi_measure.py | HongquanSu/find-roots-of-equations-in-Su-et-al-2018-479-4041 | 333ceb0ef2c63ea25d3a5cbe2b8e52e237f9939e | [
"MIT"
] | null | null | null | emi_measure.py | HongquanSu/find-roots-of-equations-in-Su-et-al-2018-479-4041 | 333ceb0ef2c63ea25d3a5cbe2b8e52e237f9939e | [
"MIT"
] | null | null | null | from sympy import exp
from astropy import units as u
import numpy as np
from scipy.optimize import fsolve, root
import math as m
def convert_jyperbeam_k(v,bmaj=0.,bmin=0.,fits_img=None):
"""
calculate the conversion factor from Jy/beam to K
ref: http://docs.astropy.org/en/stable/api/astropy.units.brightne... | 46.517857 | 201 | 0.614971 |
69fef1a670d6c389cc2d521bc4d2ae9624d10585 | 494 | asm | Assembly | libsrc/adt/queue/adt_QueueCreate.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/adt/queue/adt_QueueCreate.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/adt/queue/adt_QueueCreate.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; struct adt_Queue *adt_QueueCreate(void)
; 09.2005 aralbrec
SECTION code_clib
PUBLIC adt_QueueCreate
PUBLIC _adt_QueueCreate
EXTERN l_setmem
EXTERN _u_malloc
; exit : HL = struct adt_Queue * and carry set
; = 0 and nc if fail
.adt_QueueCreate
._adt_QueueCreate
ld hl,6 ; sizeof(struct adt_Qu... | 16.466667 | 53 | 0.657895 |
5103a48749f101ebc1a64cfb6bc8d14ad39f531c | 1,246 | css | CSS | data/usercss/86845.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 118 | 2020-08-28T19:59:28.000Z | 2022-03-26T16:28:40.000Z | data/usercss/86845.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 38 | 2020-09-02T01:08:45.000Z | 2022-01-23T02:47:24.000Z | data/usercss/86845.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 21 | 2020-08-19T01:12:43.000Z | 2022-03-15T21:55:17.000Z | /* ==UserStyle==
@name mp-weixin
@namespace USO Archive
@author alexzhan
@description `change styles of essays in mp.weixin.qq.com`
@version 20130505.8.4
@license NO-REDISTRIBUTION
@preprocessor uso
==/UserStyle== */
@-moz-document url-prefix("http://mp.weixin.qq.com/mp/appmsg"... | 24.92 | 96 | 0.677368 |
e175afc3bf1af953e0225c0b357c337525f4e435 | 716 | go | Go | utils/utils.go | rancher/network-policy-manager | 4c4a004fe98a868d4e6966ca73d75f067dc815bb | [
"Apache-2.0"
] | 4 | 2017-04-27T07:26:28.000Z | 2018-01-31T07:21:56.000Z | utils/utils.go | rancher/network-policy-manager | 4c4a004fe98a868d4e6966ca73d75f067dc815bb | [
"Apache-2.0"
] | 5 | 2017-02-13T22:03:05.000Z | 2020-07-31T16:37:24.000Z | utils/utils.go | rancher/network-policy-manager | 4c4a004fe98a868d4e6966ca73d75f067dc815bb | [
"Apache-2.0"
] | 8 | 2017-02-08T22:48:20.000Z | 2021-01-21T19:36:26.000Z | package utils
import (
"strings"
)
// ConvertToLocalLink checks if the given link is local and then converts
// to local format
// Valid local links:
// localRegionName/envName/stackName/serviceName
// envName/stackName/serviceName
func ConvertToLocalLink(link, regionName, envName string) (bool, string) {
words := ... | 24.689655 | 74 | 0.668994 |
ddd446b7f53d0920baa2da99cbc2cf1499270a6e | 8,252 | java | Java | cql/src/test/java/com/huawei/streaming/cql/executor/userdefined/WebFilterLogSpout.java | QiangCai/StreamCQL | f5a809c97cb6599ab0e18beb88fb98264c588b39 | [
"Apache-2.0"
] | 1 | 2018-06-18T22:45:24.000Z | 2018-06-18T22:45:24.000Z | cql/src/test/java/com/huawei/streaming/cql/executor/userdefined/WebFilterLogSpout.java | QiangCai/StreamCQL | f5a809c97cb6599ab0e18beb88fb98264c588b39 | [
"Apache-2.0"
] | null | null | null | cql/src/test/java/com/huawei/streaming/cql/executor/userdefined/WebFilterLogSpout.java | QiangCai/StreamCQL | f5a809c97cb6599ab0e18beb88fb98264c588b39 | [
"Apache-2.0"
] | null | null | null | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | 28.954386 | 118 | 0.606156 |
7f04ecfed0650731a4ca1d0e969ded205ec4c7f6 | 1,188 | cs | C# | C# review/Interfaces/Interfaces/Interfaces/MasterCradCreditCard.cs | PabloGaspar/TecWeb-1-2021 | 7085c55e18d6ce916b1b82f1e512560ff010c9d8 | [
"MIT"
] | null | null | null | C# review/Interfaces/Interfaces/Interfaces/MasterCradCreditCard.cs | PabloGaspar/TecWeb-1-2021 | 7085c55e18d6ce916b1b82f1e512560ff010c9d8 | [
"MIT"
] | null | null | null | C# review/Interfaces/Interfaces/Interfaces/MasterCradCreditCard.cs | PabloGaspar/TecWeb-1-2021 | 7085c55e18d6ce916b1b82f1e512560ff010c9d8 | [
"MIT"
] | 1 | 2021-02-18T23:25:23.000Z | 2021-02-18T23:25:23.000Z | using System;
using System.Collections.Generic;
using System.Text;
namespace Interfaces
{
public class MasterCradCreditCard : ICreditCard
{
private string owner;
private decimal maxAmount;
private const string brand = "Master Card";
public string Owner {
get { re... | 20.482759 | 56 | 0.478956 |
d637ce9a786b990529b35168f1de23339ae09f46 | 127 | cs | C# | SqlSchema.Library/Interfaces/IDefinition.cs | adamosoftware/SqlSchema | 5e43d11c92d5c6d85352bc91862c9e62b84584d3 | [
"MIT"
] | null | null | null | SqlSchema.Library/Interfaces/IDefinition.cs | adamosoftware/SqlSchema | 5e43d11c92d5c6d85352bc91862c9e62b84584d3 | [
"MIT"
] | 1 | 2020-11-22T17:31:04.000Z | 2020-11-22T17:31:04.000Z | SqlSchema.Library/Interfaces/IDefinition.cs | adamosoftware/SqlSchema | 5e43d11c92d5c6d85352bc91862c9e62b84584d3 | [
"MIT"
] | null | null | null | namespace SqlSchema.Library.Interfaces
{
public interface IDefinition
{
string SqlDefinition { get; }
}
}
| 15.875 | 39 | 0.653543 |
a7959b05d2ef5827efa364c5c5b45923a2e6d14d | 911 | sql | SQL | Universidad_Paso-3_FIX.sql | dev-lang/UTN | 51fc169add379956f3560d79bee5bc90c86f6edd | [
"CC0-1.0"
] | null | null | null | Universidad_Paso-3_FIX.sql | dev-lang/UTN | 51fc169add379956f3560d79bee5bc90c86f6edd | [
"CC0-1.0"
] | null | null | null | Universidad_Paso-3_FIX.sql | dev-lang/UTN | 51fc169add379956f3560d79bee5bc90c86f6edd | [
"CC0-1.0"
] | null | null | null | -- fix db
-- PASO 1
-- Se agregan columnas faltantes en Profesores
ALTER TABLE Profesores ADD Pro_Apellido char(50);
ALTER TABLE Profesores ADD Pro_FecNac datetime;
--
-- SELECT * FROM Profesores;
-- PASO 2 (MS SQL)
-- cambiar nombre de CarrerasMaterias, CursosAlumnos y MateriasProfesores para que incluya un _ com... | 33.740741 | 112 | 0.780461 |
f6927ed8296f8564da2d51f92c64865481e75e53 | 1,197 | swift | Swift | Example/SmartToast/ViewController.swift | Aamirali86/iToast | d8b9662ff8931892984adf83bb74bb5e08966da5 | [
"MIT"
] | 6 | 2018-08-31T07:49:33.000Z | 2018-10-13T15:37:48.000Z | Example/SmartToast/ViewController.swift | Aamirali86/iToast | d8b9662ff8931892984adf83bb74bb5e08966da5 | [
"MIT"
] | null | null | null | Example/SmartToast/ViewController.swift | Aamirali86/iToast | d8b9662ff8931892984adf83bb74bb5e08966da5 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// Toast
//
// Created by Amir on 12/04/2018.
// Copyright © 2018 Muhammad Aamir. All rights reserved.
//
import UIKit
import SmartToast
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
}
override func viewDidAppear(_ animated: B... | 23.94 | 93 | 0.715957 |
533fbd26df26c9d58ed81aec67e16de9a3a0b061 | 3,360 | rb | Ruby | engines/adva_cms/app/helpers/content_helper.rb | priit/adva_cms | 776e024c6c1e07d816c0572ca6fa92912da96697 | [
"MIT"
] | 3 | 2015-12-22T09:34:36.000Z | 2016-05-08T15:37:54.000Z | engines/adva_cms/app/helpers/content_helper.rb | priit/adva_cms | 776e024c6c1e07d816c0572ca6fa92912da96697 | [
"MIT"
] | null | null | null | engines/adva_cms/app/helpers/content_helper.rb | priit/adva_cms | 776e024c6c1e07d816c0572ca6fa92912da96697 | [
"MIT"
] | null | null | null | module ContentHelper
def published_at_formatted(article)
return t(:'adva.contents.not_published') unless article && article.published?
l(article.published_at, :format => (article.published_at.year == Time.now.year ? :short : :long))
end
def section_path(section, options = {})
send :"#{section.type.do... | 35.744681 | 108 | 0.702976 |
d6525609cb9f4984a422f5cd5bebc70c3ad87f61 | 805 | cs | C# | Assets/Projects/Telexistence/UI/UINEDOWifi.cs | mrayy/TxKit | 3ea416166c32a78a18a4a3cdaa388b4ef44746b1 | [
"MIT"
] | null | null | null | Assets/Projects/Telexistence/UI/UINEDOWifi.cs | mrayy/TxKit | 3ea416166c32a78a18a4a3cdaa388b4ef44746b1 | [
"MIT"
] | null | null | null | Assets/Projects/Telexistence/UI/UINEDOWifi.cs | mrayy/TxKit | 3ea416166c32a78a18a4a3cdaa388b4ef44746b1 | [
"MIT"
] | null | null | null | using UnityEngine;
using System.Collections;
using System;
using UnityEngine.UI;
public class UINEDOWifi : MonoBehaviour {
[Serializable]
public class SignalLevel
{
public Sprite img;
public int level;
}
public SignalLevel[] levels;
public Image image;
public Text label;
public int level;
int m_leve... | 15.188679 | 49 | 0.652174 |
88f9d9809e2eae70fe3e5a68f71206ae2c17c20d | 5,965 | rs | Rust | src/dim/matmul.rs | jerry73204/tch-typed-tensor | ca541b640957253485e282d65316933da67a79f8 | [
"Apache-2.0"
] | 4 | 2019-09-20T20:04:54.000Z | 2020-04-10T16:48:11.000Z | src/dim/matmul.rs | jerry73204/tch-typed-tensor | ca541b640957253485e282d65316933da67a79f8 | [
"Apache-2.0"
] | 1 | 2019-10-01T12:31:35.000Z | 2019-10-01T13:12:55.000Z | src/dim/matmul.rs | jerry73204/tch-typed-tensor | ca541b640957253485e282d65316933da67a79f8 | [
"Apache-2.0"
] | null | null | null | use super::{
BcastAbscent, BroadcastMatcher, DBroadcastBothReversely, DBroadcastBothReverselyOutput,
DReverse, DReverseOutput, Dim, DimList, MatrixDim,
};
use crate::{DimListType, DimListTypeWithTail};
use typenum::Unsigned;
// two-dimensional matrix multiplication
pub trait DMatMul<Rhs>
where
Self: Matr... | 28.816425 | 159 | 0.64912 |
07167b7780f6d0f95eaeee6d5714faaf68615e61 | 6,047 | css | CSS | mobile/assets/themes/escrow/css/escrow.css | technifist/technifist | 9a0150e7b47bf6e60a75774e601106dd47d0a4c8 | [
"MIT"
] | null | null | null | mobile/assets/themes/escrow/css/escrow.css | technifist/technifist | 9a0150e7b47bf6e60a75774e601106dd47d0a4c8 | [
"MIT"
] | null | null | null | mobile/assets/themes/escrow/css/escrow.css | technifist/technifist | 9a0150e7b47bf6e60a75774e601106dd47d0a4c8 | [
"MIT"
] | null | null | null | body {
display: flex;
flex-direction: column;
min-height: 100vh;
}
main {
/* Чтобы занимал оставшееся пространство */
flex-grow: 1;
}
footer {
/* Чтобы footer не уменьшался */
flex-shrink: 0;
}
.header-st {
height: 180px;
background: #7867a7 url(../img/just3-bg.png);
padding-top: 100px;
padding-... | 17.997024 | 96 | 0.649578 |
1aa5241b4124179e3e67718a04ada2b25bfab754 | 1,443 | py | Python | Python/Camscanner/camscanner.py | tanishq-arya/Rotten-Scripts | 93f62eb1213f739c13103610d3f502e1dc2d3790 | [
"MIT"
] | 4 | 2021-04-27T19:54:06.000Z | 2021-09-28T15:34:12.000Z | Python/Camscanner/camscanner.py | tanishq-arya/Rotten-Scripts | 93f62eb1213f739c13103610d3f502e1dc2d3790 | [
"MIT"
] | null | null | null | Python/Camscanner/camscanner.py | tanishq-arya/Rotten-Scripts | 93f62eb1213f739c13103610d3f502e1dc2d3790 | [
"MIT"
] | null | null | null | import sys,cv2
import numpy as np
import matplotlib.pyplot as plt
if __name__ == '__main__':
# the image that needs to be scanned
filename= sys.argv[1]
img= cv2.imread(filename)
gray_img=cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
thresh1 = cv2.adaptiveThreshold(gray_img, 255, cv2.ADAPTIVE_THRESH_MEAN_... | 37 | 108 | 0.741511 |
cd8fc745782890eb144dbbaa31d92c67ac79d216 | 17,356 | cs | C# | src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/DefaultRazorDocumentMappingService.cs | ladipro/aspnetcore-tooling | 48d22f9def38bfd9eedc8077f683796bfae94132 | [
"Apache-2.0"
] | null | null | null | src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/DefaultRazorDocumentMappingService.cs | ladipro/aspnetcore-tooling | 48d22f9def38bfd9eedc8077f683796bfae94132 | [
"Apache-2.0"
] | null | null | null | src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/DefaultRazorDocumentMappingService.cs | ladipro/aspnetcore-tooling | 48d22f9def38bfd9eedc8077f683796bfae94132 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Microsoft.AspNetCore.Razor.Language;
using Microsoft... | 43.281796 | 250 | 0.591265 |
180736e03ffeb6e2dc9d270a078543f0e1e69296 | 19,461 | rs | Rust | pac/src/pmu/ffe_mem_ctrl_0.rs | coolbreeze413/eos-s3-rs | ab26eb6c93f1b9d7e0710e48efb87beadac615a0 | [
"Apache-2.0",
"MIT"
] | 5 | 2022-01-04T22:09:47.000Z | 2022-01-07T20:00:04.000Z | pac/src/pmu/ffe_mem_ctrl_0.rs | coolbreeze413/eos-s3-rs | ab26eb6c93f1b9d7e0710e48efb87beadac615a0 | [
"Apache-2.0",
"MIT"
] | 4 | 2022-01-02T22:59:09.000Z | 2022-01-08T05:21:16.000Z | pac/src/pmu/ffe_mem_ctrl_0.rs | coolbreeze413/eos-s3-rs | ab26eb6c93f1b9d7e0710e48efb87beadac615a0 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-01-07T20:05:05.000Z | 2022-01-07T20:05:05.000Z | #[doc = "Register `FFE_MEM_CTRL_0` reader"]
pub struct R(crate::R<FFE_MEM_CTRL_0_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<FFE_MEM_CTRL_0_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<FFE_MEM_CTRL_0_SPEC>> for R {
#[inline(alway... | 36.927894 | 577 | 0.630389 |
a58fd1646b8a6fa5d98dfeee5502ac7276496eef | 2,229 | swift | Swift | SygicUIKit/Classes/Views/ProgressView/CirclePathCountdownView.swift | Sygic/sygic-ui-kit-ios | 1cc765c80857f52204a42da3e65e57fe70df3ad9 | [
"MIT"
] | 4 | 2018-11-28T10:02:38.000Z | 2022-01-10T00:26:48.000Z | SygicUIKit/Classes/Views/ProgressView/CirclePathCountdownView.swift | Sygic/sygic-ui-kit-ios | 1cc765c80857f52204a42da3e65e57fe70df3ad9 | [
"MIT"
] | 4 | 2018-11-26T11:31:26.000Z | 2020-03-14T08:47:03.000Z | SygicUIKit/Classes/Views/ProgressView/CirclePathCountdownView.swift | Sygic/sygic-ui-kit-ios | 1cc765c80857f52204a42da3e65e57fe70df3ad9 | [
"MIT"
] | 2 | 2019-10-03T07:36:59.000Z | 2019-10-11T14:35:46.000Z | //// CirclePathCountdownView.swift
//
// Copyright (c) 2019 Sygic a.s.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to... | 39.105263 | 243 | 0.73127 |
43600a1bf0694311f6ad35e13d9691f9da3758b3 | 766 | ts | TypeScript | src/app/pages/users/users.module.ts | yellowcipher/sinprfba-admin | bc173dec704e1284f38cd7c8ad3b808870776b07 | [
"MIT"
] | null | null | null | src/app/pages/users/users.module.ts | yellowcipher/sinprfba-admin | bc173dec704e1284f38cd7c8ad3b808870776b07 | [
"MIT"
] | 10 | 2020-05-11T20:26:30.000Z | 2022-03-02T05:33:16.000Z | src/app/pages/users/users.module.ts | yellowcipher/sinprfba-admin | bc173dec704e1284f38cd7c8ad3b808870776b07 | [
"MIT"
] | null | null | null | import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { routedComponents, UsersRoutingModule } from './users-routing.module';
import { Ng2SmartTableModule } from 'ng2-smart-table';
import { NbCardModule, NbSelectModule } from '@nebular/theme';
import { NewUserComponent } from ... | 29.461538 | 78 | 0.751958 |
cdd9e7dbcb9ceb560de883c8dc8a0ccffe251772 | 6,113 | cs | C# | src/Technosoftware/DaAeHdaClient/Hda/BrowseFilterCollection.cs | technosoftware-gmbh/opc-daaehda-client-net | a53138d2cdd3d66e1eb5939b028798cadf19ad78 | [
"MIT"
] | 11 | 2019-09-02T06:52:07.000Z | 2019-12-17T22:03:42.000Z | src/Technosoftware/DaAeHdaClient/Hda/BrowseFilterCollection.cs | technosoftware-gmbh/opc-daaehda-client-net | a53138d2cdd3d66e1eb5939b028798cadf19ad78 | [
"MIT"
] | null | null | null | src/Technosoftware/DaAeHdaClient/Hda/BrowseFilterCollection.cs | technosoftware-gmbh/opc-daaehda-client-net | a53138d2cdd3d66e1eb5939b028798cadf19ad78 | [
"MIT"
] | 8 | 2019-08-10T10:50:13.000Z | 2019-12-22T12:55:32.000Z | #region Copyright (c) 2011-2022 Technosoftware GmbH. All rights reserved
//-----------------------------------------------------------------------------
// Copyright (c) 2011-2022 Technosoftware GmbH. All rights reserved
// Web: https://www.technosoftware.com
//
// The source code in this file is covered under a dual... | 34.150838 | 106 | 0.57664 |
b05322c0201b2ace1dc01fe18aad442a9f023906 | 1,170 | py | Python | esteganography/arguments.py | giovaninppc/MC920 | 7d46238f4079dabc4769c72cbed44d024fcf5c97 | [
"MIT"
] | 1 | 2019-08-23T19:23:18.000Z | 2019-08-23T19:23:18.000Z | esteganography/arguments.py | giovaninppc/MC920 | 7d46238f4079dabc4769c72cbed44d024fcf5c97 | [
"MIT"
] | null | null | null | esteganography/arguments.py | giovaninppc/MC920 | 7d46238f4079dabc4769c72cbed44d024fcf5c97 | [
"MIT"
] | 1 | 2020-11-05T23:56:49.000Z | 2020-11-05T23:56:49.000Z | import argparse
def setupCodificationArguments():
argParser = argparse.ArgumentParser(description = 'Arguments for the Image processing')
argParser.add_argument('input_image_path', help = 'The path to image file to be processed')
argParser.add_argument('input_text', help = 'The path to the text to be codif... | 46.8 | 101 | 0.730769 |
a0742ab8dec1ff72315b52d98483cc93492b4879 | 815 | dart | Dart | WebPlatformTest/custom-elements/instantiating/createElement_A01_t01.dart | tvolkert/co19 | 435727789062a45da3d20da09024651fdeb8cafe | [
"BSD-3-Clause"
] | null | null | null | WebPlatformTest/custom-elements/instantiating/createElement_A01_t01.dart | tvolkert/co19 | 435727789062a45da3d20da09024651fdeb8cafe | [
"BSD-3-Clause"
] | null | null | null | WebPlatformTest/custom-elements/instantiating/createElement_A01_t01.dart | tvolkert/co19 | 435727789062a45da3d20da09024651fdeb8cafe | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*/
/*
* Portions of this test are derived from code under the following license:
*
* Web-platform... | 28.103448 | 78 | 0.705521 |
d320297ff4d5a0100fd5457f67acc175a1131271 | 4,597 | css | CSS | public/angular/registration-locum/registration_locum.css | darkokostic/locum-project | 7fea13aba7f288cb17d1258b60be9eb9476271ac | [
"MIT"
] | null | null | null | public/angular/registration-locum/registration_locum.css | darkokostic/locum-project | 7fea13aba7f288cb17d1258b60be9eb9476271ac | [
"MIT"
] | null | null | null | public/angular/registration-locum/registration_locum.css | darkokostic/locum-project | 7fea13aba7f288cb17d1258b60be9eb9476271ac | [
"MIT"
] | null | null | null | .hover-query select {
max-width: 264px;
height: 40px;
border: none;
}
.hover-query select:focus {
outline: none !important;
}
.container-locum {
margin-top: 80px;
}
.registration-locum {
border-radius: 4px;
background-color: rgb(255, 255, 255);
box-shadow: 0px 1px 13px 0px rgba(0, 0, 0, ... | 20.800905 | 64 | 0.594518 |
a54eac147e0fbfdf7ea960136238cf0cf9511181 | 262 | sql | SQL | components/schema-migrator/migrations/director/202001271010_change_unique_on_business_tenants.down.sql | piotrmsc/compass | 17d624e0c925a1f93fe1cb277314645262105457 | [
"Apache-2.0"
] | 47 | 2019-05-15T07:47:27.000Z | 2022-02-22T19:48:21.000Z | components/schema-migrator/migrations/director/202001271010_change_unique_on_business_tenants.down.sql | piotrmsc/compass | 17d624e0c925a1f93fe1cb277314645262105457 | [
"Apache-2.0"
] | 1,774 | 2019-05-14T09:53:10.000Z | 2022-03-31T20:46:33.000Z | components/schema-migrator/migrations/director/202001271010_change_unique_on_business_tenants.down.sql | piotrmsc/compass | 17d624e0c925a1f93fe1cb277314645262105457 | [
"Apache-2.0"
] | 101 | 2019-05-14T09:36:08.000Z | 2022-01-06T09:43:44.000Z | alter table business_tenant_mappings
drop constraint business_tenant_mappings_external_tenant_unique;
alter table business_tenant_mappings
add constraint business_tenant_mappings_external_tenant_provider_name_key unique (external_tenant, provider_name);
| 52.4 | 118 | 0.89313 |
cdab2b812fa5fbc05bae25506b64ad1147d6f5f6 | 1,800 | cs | C# | Desafios em C#/1786 - CPF 2.cs | lucasmarcuzo/URI | 86c470965831c9bbe9c01ba7ff32fdc0492a4995 | [
"MIT"
] | null | null | null | Desafios em C#/1786 - CPF 2.cs | lucasmarcuzo/URI | 86c470965831c9bbe9c01ba7ff32fdc0492a4995 | [
"MIT"
] | null | null | null | Desafios em C#/1786 - CPF 2.cs | lucasmarcuzo/URI | 86c470965831c9bbe9c01ba7ff32fdc0492a4995 | [
"MIT"
] | null | null | null | using System;
//Developed by: @LucasMarcuzo
class URI
{
static void Main(string[] args)
{
while(true)
{
string cpf = " ";
int verificar=0, verificar2=0, teste1=1, teste2=9;
int[] cpf_ver=new int[9];
int[] cpf_ver2=new int[9];
... | 26.470588 | 153 | 0.405 |
b8fdfb617992f9a863ef31d11eae48c59da0772b | 8,612 | py | Python | bin/bundle_tools/staging.py | HumanCellAtlas/data-bundle-examples | 58e13576dac4e2429d58a2a7d2ba0b982d7cf8b4 | [
"Apache-2.0"
] | 13 | 2017-06-01T12:40:54.000Z | 2022-01-09T07:31:55.000Z | bin/bundle_tools/staging.py | HumanCellAtlas/data-bundle-examples | 58e13576dac4e2429d58a2a7d2ba0b982d7cf8b4 | [
"Apache-2.0"
] | 13 | 2017-06-14T05:24:42.000Z | 2018-08-01T02:10:22.000Z | bin/bundle_tools/staging.py | HumanCellAtlas/data-bundle-examples | 58e13576dac4e2429d58a2a7d2ba0b982d7cf8b4 | [
"Apache-2.0"
] | 4 | 2017-08-04T14:40:18.000Z | 2021-12-03T21:38:20.000Z | import os
from shutil import copyfileobj
import urllib3
from urllib3.util import parse_url
from checksumming_io.checksumming_io import ChecksummingSink
from .parallel_logger import logger
from .utils import sizeof_fmt, measure_duration_and_rate
from .s3 import S3Location, S3Agent, S3ObjectTagger
from bundle_tools imp... | 40.242991 | 106 | 0.603925 |
25e8f7366d615487eade8f65e88277d7eef0b17e | 2,218 | cs | C# | DataAccess/Concrete/EntityFramework/EfCarDal.cs | OzerBey/ReCapProject | 702d76e274649dc04075fed52eea829abed3f79a | [
"MIT"
] | 15 | 2021-02-08T22:49:15.000Z | 2021-09-17T09:01:41.000Z | DataAccess/Concrete/EntityFramework/EfCarDal.cs | OzerBey/ReCapProject | 702d76e274649dc04075fed52eea829abed3f79a | [
"MIT"
] | null | null | null | DataAccess/Concrete/EntityFramework/EfCarDal.cs | OzerBey/ReCapProject | 702d76e274649dc04075fed52eea829abed3f79a | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using Core.DataAccess;
using Core.DataAccess.EntityFramework;
using DataAccess.Abstract;
using Entities.Concrete;
using Entities.DTOs;
using Microsoft.EntityFrameworkCore;
namespace DataAccess.Concrete... | 44.36 | 165 | 0.545987 |
b74e4af4cd191956e70ee4f07f014b9d5fca2832 | 284 | cs | C# | Domain/Context/EntityBase.cs | lucasvieiravicente/ApiResume | 5d34f24baee3d151e3226ff6543c3b7aaf7b4c3d | [
"MIT"
] | null | null | null | Domain/Context/EntityBase.cs | lucasvieiravicente/ApiResume | 5d34f24baee3d151e3226ff6543c3b7aaf7b4c3d | [
"MIT"
] | null | null | null | Domain/Context/EntityBase.cs | lucasvieiravicente/ApiResume | 5d34f24baee3d151e3226ff6543c3b7aaf7b4c3d | [
"MIT"
] | null | null | null | using System;
namespace ApiResume.Domain.Context
{
public class EntityBase
{
public Guid Id { get; set; }
public DateTime DateAdded { get; set; }
public DateTime DateModified { get; set; }
public bool FlagActive { get; set; } = true;
}
}
| 21.846154 | 52 | 0.605634 |
ae35d18cd082ddac14575ef0440aac3e0aea80c2 | 691 | swift | Swift | hw6/SwiftGenerics_01.playground/Contents.swift | webunreal/sber | 9b420c17f2210a77eb9ba81d580b14721f5f8e64 | [
"MIT"
] | null | null | null | hw6/SwiftGenerics_01.playground/Contents.swift | webunreal/sber | 9b420c17f2210a77eb9ba81d580b14721f5f8e64 | [
"MIT"
] | null | null | null | hw6/SwiftGenerics_01.playground/Contents.swift | webunreal/sber | 9b420c17f2210a77eb9ba81d580b14721f5f8e64 | [
"MIT"
] | null | null | null | import UIKit
// MARK: - Задача 1 "Сделать так, чтобы закомментированный код работал"
func sumTwoValues<T: AdditiveArithmetic>(_ a: T, _ b: T) -> T {
let result = a + b
return result
}
let a = 25.0
let b = 34.0
let resultDouble = sumTwoValues(a, b)
print(resultDouble)
let c = "ABC"
let d = "DEF"
let resultString... | 19.742857 | 71 | 0.636758 |
f4630a4732ee9561ab027cfe9d1de47bde094e86 | 3,788 | tsx | TypeScript | src/Molecules/CoachMarks/BubbleArrow/BubbleArrow.tsx | nordnet/ui | 668f64d8b4b0f94c35277930247f5ae162564893 | [
"MIT"
] | 29 | 2019-03-15T12:56:14.000Z | 2022-03-29T10:20:12.000Z | src/Molecules/CoachMarks/BubbleArrow/BubbleArrow.tsx | nordnet/ui | 668f64d8b4b0f94c35277930247f5ae162564893 | [
"MIT"
] | 1,052 | 2019-03-22T09:58:11.000Z | 2022-03-29T15:07:20.000Z | src/Molecules/CoachMarks/BubbleArrow/BubbleArrow.tsx | nordnet/ui | 668f64d8b4b0f94c35277930247f5ae162564893 | [
"MIT"
] | 6 | 2019-06-17T08:58:06.000Z | 2021-07-07T14:11:02.000Z | import React from 'react';
import styled, { css } from 'styled-components';
import { Component, InternalProps, Props } from './BubbleArrow.types';
import { TRIANGLE_INDENTATION, TRIANGLE_SIZE } from './consts';
import { BORDER_SIZE } from '../Bubble/consts';
const arrowUp = css`
&::before {
border-left: ${TRIANG... | 29.364341 | 101 | 0.642027 |
7f95c94c9a35d7db9bdc46bea5efaf20c27c3117 | 718 | php | PHP | src/Paginator/Paginator.php | zetta-code/dotrine-util | 351fcaf231df152f483ff20b564c0230779f5ebc | [
"MIT"
] | null | null | null | src/Paginator/Paginator.php | zetta-code/dotrine-util | 351fcaf231df152f483ff20b564c0230779f5ebc | [
"MIT"
] | null | null | null | src/Paginator/Paginator.php | zetta-code/dotrine-util | 351fcaf231df152f483ff20b564c0230779f5ebc | [
"MIT"
] | null | null | null | <?php
/**
* @link https://github.com/zetta-code/doctrine-util for the canonical source repository
* @copyright Copyright (c) 2018 Zetta Code
*/
declare(strict_types=1);
namespace Zetta\DoctrineUtil\Paginator;
use Doctrine\ORM\QueryBuilder;
use Doctrine\ORM\Tools\Pagination\Paginator as DoctrineORMPaginator;... | 25.642857 | 93 | 0.752089 |
e282fbfec2136c009e47f26d07e8f7ae349cfc0a | 932 | js | JavaScript | test/lexer.js | rameshvarun/galaxy-parser | 8d8bafce2460cd79b33664456e5d06b7e3af74b4 | [
"MIT"
] | null | null | null | test/lexer.js | rameshvarun/galaxy-parser | 8d8bafce2460cd79b33664456e5d06b7e3af74b4 | [
"MIT"
] | null | null | null | test/lexer.js | rameshvarun/galaxy-parser | 8d8bafce2460cd79b33664456e5d06b7e3af74b4 | [
"MIT"
] | null | null | null | require('chai').should();
var lexer = require('../lib/lexer.js');
var fs = require('fs');
var path = require('path');
var assert = require('chai').assert;
var walk = require('fs-walk');
var sources_dir = path.join(__dirname, 'galaxy/');
var tokens_dir = path.join(__dirname, 'tokens/');
describe('Galaxy Lexer', funct... | 32.137931 | 78 | 0.633047 |
c61b2e867d3670821900516d4cb110c3fd42f1bd | 2,029 | kt | Kotlin | IpaShare/src/main/kotlin/com/nail/servlet/LoadBuildListServlet.kt | NailxSharipov/IpaShare | 051f15cf58800502cb52fcea968fab2d4fbfef78 | [
"MIT"
] | null | null | null | IpaShare/src/main/kotlin/com/nail/servlet/LoadBuildListServlet.kt | NailxSharipov/IpaShare | 051f15cf58800502cb52fcea968fab2d4fbfef78 | [
"MIT"
] | null | null | null | IpaShare/src/main/kotlin/com/nail/servlet/LoadBuildListServlet.kt | NailxSharipov/IpaShare | 051f15cf58800502cb52fcea968fab2d4fbfef78 | [
"MIT"
] | null | null | null | package com.nail.servlet
import com.nail.ipa.Bundle
import java.io.File
import java.io.FileInputStream
import java.io.IOException
import java.lang.StringBuilder
import java.util.*
import javax.servlet.ServletException
import javax.servlet.http.HttpServlet
import javax.servlet.http.HttpServletRequest
import javax.servl... | 33.816667 | 109 | 0.63036 |
1cffe766a42dba8bc1e950d65457d6e9ad00b806 | 1,405 | swift | Swift | Sources/NStack/Configs/ApplicationConfig.swift | niknovak/nstack-custom | d128c21aa11826dd768e5fb98e9e228152f6208a | [
"MIT"
] | null | null | null | Sources/NStack/Configs/ApplicationConfig.swift | niknovak/nstack-custom | d128c21aa11826dd768e5fb98e9e228152f6208a | [
"MIT"
] | null | null | null | Sources/NStack/Configs/ApplicationConfig.swift | niknovak/nstack-custom | d128c21aa11826dd768e5fb98e9e228152f6208a | [
"MIT"
] | null | null | null | import Vapor
struct ApplicationConfig {
enum ConfigError: String {
case name = "name"
case applicationId = "applicationId"
case restKey = "restKey"
case masterKey = "masterKey"
var error: Abort {
return Abort(
.internalServerError,
... | 27.019231 | 93 | 0.548043 |
495eaadcb200e23a3b7645ad77270894bed51010 | 6,178 | lua | Lua | util/metronomectl.lua | maranda/metronome | b95eba5f29e4c0402928153c75a6bcfccfc2d99b | [
"0BSD"
] | 132 | 2015-01-03T12:27:34.000Z | 2022-02-13T09:38:29.000Z | util/metronomectl.lua | maranda/metronome | b95eba5f29e4c0402928153c75a6bcfccfc2d99b | [
"0BSD"
] | 334 | 2015-01-02T00:39:54.000Z | 2022-02-19T13:59:03.000Z | util/metronomectl.lua | maranda/metronome | b95eba5f29e4c0402928153c75a6bcfccfc2d99b | [
"0BSD"
] | 23 | 2015-01-01T23:37:58.000Z | 2022-01-07T01:33:09.000Z | -- * Metronome IM *
--
-- This file is part of the Metronome XMPP server and is released under the
-- ISC License, please see the LICENSE file in this source package for more
-- information about copyright and licensing.
--
-- As per the sublicensing clause, this file is also MIT/X11 Licensed.
-- ** Copyright (c) 2009-... | 22.223022 | 115 | 0.688249 |
4bc95a73a5da883da83c79612d4b0bcf48433be7 | 10,367 | go | Go | internal/api/store.go | honeyscience/honeydipper | ada31de969a39a6501d458cafe8ab460d0ea245c | [
"MIT"
] | null | null | null | internal/api/store.go | honeyscience/honeydipper | ada31de969a39a6501d458cafe8ab460d0ea245c | [
"MIT"
] | null | null | null | internal/api/store.go | honeyscience/honeydipper | ada31de969a39a6501d458cafe8ab460d0ea245c | [
"MIT"
] | null | null | null | // Copyright 2022 PayPal Inc.
// This Source Code Form is subject to the terms of the MIT License.
// If a copy of the MIT License was not distributed with this file,
// you can obtain one at https://mit-license.org/.
package api
import (
"errors"
"fmt"
"net/http"
"strings"
"sync"
"time"
"github.com/casbin/c... | 27.943396 | 117 | 0.68747 |
11215553bbe7727700dcca1f856db5c23ecaa943 | 2,396 | swift | Swift | WHUIComponentsDemo/Coordinators/CarManufacturerCoordinator.swift | chronicqazxc/WHUIComponents | bb9ce37adac67ff83b6135f4442ecd50867f2450 | [
"MIT"
] | null | null | null | WHUIComponentsDemo/Coordinators/CarManufacturerCoordinator.swift | chronicqazxc/WHUIComponents | bb9ce37adac67ff83b6135f4442ecd50867f2450 | [
"MIT"
] | 3 | 2021-03-30T01:42:33.000Z | 2022-02-26T05:40:55.000Z | WHUIComponentsDemo/Coordinators/CarManufacturerCoordinator.swift | chronicqazxc/WHUIComponent | bb9ce37adac67ff83b6135f4442ecd50867f2450 | [
"MIT"
] | null | null | null | //
// ManufacturerCoordinator.swift
// WHUIComponentsDemo
//
// Created by Hsiao, Wayne on 2019/9/21.
// Copyright © 2019 Wayne Hsiao. All rights reserved.
//
import Foundation
import WHUIComponents
class CarManufacturerCoordinator: Debug, Coordinator {
var parameters: [AnyHashable : Any]?
var delegate: C... | 33.746479 | 109 | 0.719115 |
ae451829606ec215e1115038f41861d0eb0181f2 | 4,527 | cs | C# | osu.Game.Rulesets.Catch/Objects/CatchHitObject.cs | ItayLast/osu | a8be7499e964444ea5041fb6c743e68f09bb7976 | [
"MIT"
] | 27 | 2019-09-06T07:58:01.000Z | 2021-08-28T00:42:28.000Z | osu.Game.Rulesets.Catch/Objects/CatchHitObject.cs | redyellow4/osu | 5a23c4b10612056ba74762ee4c03bd0ce1009633 | [
"MIT"
] | 79 | 2021-06-01T20:36:33.000Z | 2022-03-01T17:02:52.000Z | osu.Game.Rulesets.Catch/Objects/CatchHitObject.cs | ThereGoesMySanity/osu | bf9ae2d656e3af1eab6b02cfa8ef7fe0f3c3c4dc | [
"MIT"
] | 14 | 2021-05-21T05:57:08.000Z | 2021-10-03T22:54:21.000Z | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Catch.UI;
using osu.Game.Rulesets.Objects;
... | 36.216 | 127 | 0.607025 |
38b5bb8500ea696566e3607392c728d32e9a8399 | 3,673 | php | PHP | app/helpers.php | zhimingdou/SSRPanel-1 | c70ab8d0e8f83223b57e9c39e5712e0297aa18d5 | [
"MIT"
] | 2 | 2021-10-13T16:00:02.000Z | 2021-11-24T21:51:28.000Z | app/helpers.php | 1309822767/ssrpanel_resource | b72dee81c9b4efe6bac8c7696328b9683891c6c5 | [
"MIT"
] | null | null | null | app/helpers.php | 1309822767/ssrpanel_resource | b72dee81c9b4efe6bac8c7696328b9683891c6c5 | [
"MIT"
] | 1 | 2021-03-21T09:34:29.000Z | 2021-03-21T09:34:29.000Z | <?php
// 生成SS密码
if (!function_exists('makeRandStr')) {
function makeRandStr($length = 6, $isNumbers = false)
{
// 密码字符集,可任意添加你需要的字符
if (!$isNumbers) {
$chars = 'abcdefghijkmnpqrstuvwxyzABCDEFGHJKMNPQRSTUVWXYZ23456789';
} else {
$chars = '0123456789';
}
... | 25.685315 | 80 | 0.477539 |
1a6cf85328761f30a331fccc6c872d136db30c2b | 1,642 | cshtml | C# | Pages/App/Reports.cshtml | tcplomp/budoco | d519d1f61e504d1f6b05f901a3e43011793c3d7d | [
"MIT"
] | 32 | 2020-12-09T01:45:45.000Z | 2022-03-23T11:53:13.000Z | Pages/App/Reports.cshtml | tcplomp/budoco | d519d1f61e504d1f6b05f901a3e43011793c3d7d | [
"MIT"
] | 49 | 2020-11-22T23:13:05.000Z | 2022-02-25T16:32:43.000Z | Pages/App/Reports.cshtml | tcplomp/budoco | d519d1f61e504d1f6b05f901a3e43011793c3d7d | [
"MIT"
] | 14 | 2020-12-05T17:50:49.000Z | 2021-11-04T06:41:38.000Z | @page
@model ReportsModel
@{
ViewData["Title"] = "Reports";
}
<h1>@ViewData["Title"]</h1>
<partial name="_FlashPartial" />
<div class="data_table_div crud_table">
<table class="dt">
@{
<tr>
@{
for (int i = 0; i < Model.dt.Columns.Count; i++)
... | 26.063492 | 120 | 0.311815 |
43fbc9ec1d16e19e410e9176057740fe5baa12d5 | 11,694 | cpp | C++ | src/engine.cpp | adamjedlicka/yarpg | 6c8a3fde76ec340b76b046c05822e09aabb6e830 | [
"MIT"
] | 1 | 2016-06-04T12:11:53.000Z | 2016-06-04T12:11:53.000Z | src/engine.cpp | adamjedlicka/yarpg | 6c8a3fde76ec340b76b046c05822e09aabb6e830 | [
"MIT"
] | null | null | null | src/engine.cpp | adamjedlicka/yarpg | 6c8a3fde76ec340b76b046c05822e09aabb6e830 | [
"MIT"
] | null | null | null | #include "engine.h"
Engine::Engine() {
window = initscr();
nodelay(window, true);
keypad(window, true);
noecho();
// cbreak();
// timeout(1);
// wtimeout(window, 1);
curs_set(0);
// raw();
// clear();
_COLOR = has_colors();
if (_COLOR) {
start_color();
init_pair(1, COLOR_WHITE, COLOR_BLACK); // fixes ... | 24.567227 | 106 | 0.53489 |