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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6af2260d8337329bb05afb8c35bc9ceca5df6bcf | 4,241 | h | C | src/Pegasus/Compiler/valueFactory.h | natronkeltner/openpegasus | e64f383c1ed37826041fc63e83b4e65fc1c679ae | [
"ICU",
"Unlicense",
"OpenSSL",
"MIT"
] | 1 | 2021-11-12T21:28:50.000Z | 2021-11-12T21:28:50.000Z | src/Pegasus/Compiler/valueFactory.h | natronkeltner/openpegasus | e64f383c1ed37826041fc63e83b4e65fc1c679ae | [
"ICU",
"Unlicense",
"OpenSSL",
"MIT"
] | 39 | 2021-01-18T19:28:41.000Z | 2022-03-27T20:55:36.000Z | src/Pegasus/Compiler/valueFactory.h | natronkeltner/openpegasus | e64f383c1ed37826041fc63e83b4e65fc1c679ae | [
"ICU",
"Unlicense",
"OpenSSL",
"MIT"
] | 4 | 2021-07-09T12:52:33.000Z | 2021-12-21T15:05:59.000Z | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | 36.560345 | 80 | 0.676491 |
5870acdc0d2103d90163c9fd34073b4063e555a9 | 2,017 | rb | Ruby | lib/rtunesu/associations.rb | trek/rtunesu | d880bcefd5ad23f10c326f0f7bf8940194056b78 | [
"MIT"
] | 1 | 2016-05-08T10:15:36.000Z | 2016-05-08T10:15:36.000Z | lib/rtunesu/associations.rb | trek/rtunesu | d880bcefd5ad23f10c326f0f7bf8940194056b78 | [
"MIT"
] | null | null | null | lib/rtunesu/associations.rb | trek/rtunesu | d880bcefd5ad23f10c326f0f7bf8940194056b78 | [
"MIT"
] | null | null | null | module RTunesU
class SubentityAssociationProxy
delegate :inspect, :to => :target
def initialize(source_xml, owner, name)
@source_xml = source_xml
@owner = owner
@owner.edits[name] = self
@edits = []
end
end
class HasAEntityCollectionProxy < SubentityAssociationProxy
... | 25.858974 | 130 | 0.619732 |
268259fbbcad46c2d8e79ab37488ad4b307e2b63 | 2,376 | dart | Dart | lib/Helpers/dominant_color.dart | cesartob/The-glory-of-music | 07d2439a4df0db91d85edf3ff54a4770a162fb41 | [
"MIT"
] | null | null | null | lib/Helpers/dominant_color.dart | cesartob/The-glory-of-music | 07d2439a4df0db91d85edf3ff54a4770a162fb41 | [
"MIT"
] | null | null | null | lib/Helpers/dominant_color.dart | cesartob/The-glory-of-music | 07d2439a4df0db91d85edf3ff54a4770a162fb41 | [
"MIT"
] | null | null | null | /*
* This file is part of BlackHole (https://github.com/Sangwan5688/BlackHole).
*
* BlackHole is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your optio... | 33.942857 | 93 | 0.720539 |
3014cb10e3a4f4c1758f00eadbe4eba4345c60b4 | 5,983 | swift | Swift | Sources/DistributedActors/Cluster/DistributedNodeDeathWatcher.swift | apple/swift-distributed-actors | 9c2c2732068ec74c89ffb2c7c17e8d4a47c3e9a1 | [
"Apache-2.0"
] | 183 | 2021-10-29T18:16:37.000Z | 2022-03-22T00:25:14.000Z | Sources/DistributedActors/Cluster/DistributedNodeDeathWatcher.swift | apple/swift-distributed-actors | 9c2c2732068ec74c89ffb2c7c17e8d4a47c3e9a1 | [
"Apache-2.0"
] | 33 | 2021-11-01T01:21:11.000Z | 2022-03-19T03:43:11.000Z | Sources/DistributedActors/Cluster/DistributedNodeDeathWatcher.swift | apple/swift-distributed-actors | 9c2c2732068ec74c89ffb2c7c17e8d4a47c3e9a1 | [
"Apache-2.0"
] | 15 | 2021-10-29T20:17:23.000Z | 2022-03-19T07:45:46.000Z | //===----------------------------------------------------------------------===//
//
// This source file is part of the Swift Distributed Actors open source project
//
// Copyright (c) 2018-2022 Apple Inc. and the Swift Distributed Actors project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for li... | 38.352564 | 126 | 0.634464 |
8b3f5e5952cf8badf2955ee494963db4d67b15eb | 417 | rb | Ruby | app/decorators/models/solidus_tracking/spree/order/disable_confirm_email.rb | printivity/solidus_tracking | e62fe88d1127aa23b1d7af9f33da896e0e2a6c6d | [
"BSD-3-Clause"
] | 2 | 2020-09-25T15:49:28.000Z | 2021-03-30T00:11:19.000Z | app/decorators/models/solidus_tracking/spree/order/disable_confirm_email.rb | printivity/solidus_tracking | e62fe88d1127aa23b1d7af9f33da896e0e2a6c6d | [
"BSD-3-Clause"
] | 24 | 2020-09-18T12:49:54.000Z | 2021-09-24T16:48:43.000Z | app/decorators/models/solidus_tracking/spree/order/disable_confirm_email.rb | printivity/solidus_tracking | e62fe88d1127aa23b1d7af9f33da896e0e2a6c6d | [
"BSD-3-Clause"
] | 5 | 2020-12-28T16:58:19.000Z | 2022-02-15T15:54:35.000Z | # frozen_string_literal: true
module SolidusTracking
module Spree
module Order
module DisableConfirmEmail
def deliver_order_confirmation_email
super unless SolidusTracking.configuration.disable_builtin_emails
end
end
end
end
end
if Spree.solidus_gem_version < Gem::Ver... | 23.166667 | 75 | 0.743405 |
05c30aaeb0dcbe5f7b955869b6f67650a025a8c9 | 3,620 | py | Python | uvicore/database/OBSOLETE/db_OLD_sync.py | coboyoshi/uvicore | 9cfdeeac83000b156fe48f068b4658edaf51c8de | [
"MIT"
] | 11 | 2021-03-22T22:07:49.000Z | 2022-03-08T16:18:33.000Z | uvicore/database/OBSOLETE/db_OLD_sync.py | coboyoshi/uvicore | 9cfdeeac83000b156fe48f068b4658edaf51c8de | [
"MIT"
] | 12 | 2021-03-04T05:51:24.000Z | 2021-09-22T05:16:18.000Z | uvicore/database/OBSOLETE/db_OLD_sync.py | coboyoshi/uvicore | 9cfdeeac83000b156fe48f068b4658edaf51c8de | [
"MIT"
] | 2 | 2021-03-25T14:49:56.000Z | 2021-11-17T23:20:29.000Z | import uvicore
from typing import Dict, List
from uvicore.contracts import Connection
from uvicore.contracts import Database as DatabaseInterface
from uvicore.support.dumper import dd, dump
import sqlalchemy as sa
# from sqlalchemy import MetaData as SaMetaData
# from sqlalchemy.engine import Engine as SaEngine
# from ... | 34.807692 | 91 | 0.643094 |
b2cad89b8bb4441baa10305d3df61aa2ab368bac | 5,160 | css | CSS | lib/jvCharts/jv.css | jlazar/jlazar-personal-website | b6ec9ecdd0cf506ce8edad104388fdab27d9131b | [
"MIT"
] | null | null | null | lib/jvCharts/jv.css | jlazar/jlazar-personal-website | b6ec9ecdd0cf506ce8edad104388fdab27d9131b | [
"MIT"
] | null | null | null | lib/jvCharts/jv.css | jlazar/jlazar-personal-website | b6ec9ecdd0cf506ce8edad104388fdab27d9131b | [
"MIT"
] | null | null | null | .edit-div {
z-index: 6;
display: none;
width: 220px;
height: auto;
}
.jv-inline {
display: inline-block;
}
.jv-pointer {
cursor: pointer;
}
.jv-center {
text-align: center;
}
.jv-full-width {
width: 100%;
}
.jv-pull-left {
float: left;
}
.jv-pull-right {
float: right;
}
.j... | 14.827586 | 103 | 0.581202 |
6890fd3b2ec845588627dc003316c2fd68b91c12 | 605 | php | PHP | app/Models/NotaSerasa/NotaSerasa.php | Renato27/api_teste | 4b46877092b605ae8768396b962fdc14f14b320d | [
"MIT"
] | null | null | null | app/Models/NotaSerasa/NotaSerasa.php | Renato27/api_teste | 4b46877092b605ae8768396b962fdc14f14b320d | [
"MIT"
] | null | null | null | app/Models/NotaSerasa/NotaSerasa.php | Renato27/api_teste | 4b46877092b605ae8768396b962fdc14f14b320d | [
"MIT"
] | null | null | null | <?php
namespace App\Models\NotaSerasa;
use App\Models\Clientes\cliente;
use App\Models\Nota\Nota;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class NotaSerasa extends Model
{
use HasFactory, SoftDeletes;
protect... | 21.607143 | 62 | 0.699174 |
4550ae581a536b11f675f20d45a0203cf027945a | 622 | py | Python | homework/lesson-4/exercise-5/main.py | ai-nikolaev/repo-pybasics | bb34fdd0ef5dc562ef1708268917a0f29e7ae4d4 | [
"MIT"
] | null | null | null | homework/lesson-4/exercise-5/main.py | ai-nikolaev/repo-pybasics | bb34fdd0ef5dc562ef1708268917a0f29e7ae4d4 | [
"MIT"
] | null | null | null | homework/lesson-4/exercise-5/main.py | ai-nikolaev/repo-pybasics | bb34fdd0ef5dc562ef1708268917a0f29e7ae4d4 | [
"MIT"
] | null | null | null | # 5. Реализовать формирование списка, используя функцию range()
# и возможности генератора. В список должны войти четные числа
# от 100 до 1000 (включая границы). Необходимо получить результат
# вычисления произведения всех элементов списка.
# Подсказка: использовать функцию reduce().
from functools import reduce
# ... | 28.272727 | 65 | 0.749196 |
9cc87639ba75eba40e8fc5d698ebb6fd38d1a15c | 1,623 | rs | Rust | proxy/src/ctx/transport.rs | hawkw/conduit | 2ae7d48339d00a806a591f791b3289bfd1695fbd | [
"Apache-2.0"
] | null | null | null | proxy/src/ctx/transport.rs | hawkw/conduit | 2ae7d48339d00a806a591f791b3289bfd1695fbd | [
"Apache-2.0"
] | null | null | null | proxy/src/ctx/transport.rs | hawkw/conduit | 2ae7d48339d00a806a591f791b3289bfd1695fbd | [
"Apache-2.0"
] | null | null | null | use std::net::SocketAddr;
use std::sync::Arc;
use ctx;
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
pub enum Ctx {
Client(Arc<Client>),
Server(Arc<Server>),
}
/// Identifies a connection from another process to a proxy listener.
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
pub struct Server {
pub proxy: ... | 21.077922 | 77 | 0.552064 |
0a9ffd1200454e1442ea0a440d3a98e325d12676 | 4,400 | cs | C# | TrAIngle Unmodified/Assets/Scripts/ArtificialIntelligence/Neural/Crossover.cs | ERGeorgiev/TrAIngle | 282840971ee358176a956b3b81ace928e01ccd67 | [
"MIT"
] | null | null | null | TrAIngle Unmodified/Assets/Scripts/ArtificialIntelligence/Neural/Crossover.cs | ERGeorgiev/TrAIngle | 282840971ee358176a956b3b81ace928e01ccd67 | [
"MIT"
] | null | null | null | TrAIngle Unmodified/Assets/Scripts/ArtificialIntelligence/Neural/Crossover.cs | ERGeorgiev/TrAIngle | 282840971ee358176a956b3b81ace928e01ccd67 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using Artificialintelligence.Genetic;
namespace Artificialintelligence.Neural
{
public class Crossover
{
public static float ratio = 0.7f;
private static Random random = new Random();
public static List<Gene<NeuronLayer>> NeuronLayer(Gen... | 34.920635 | 136 | 0.531364 |
b328efc2e5e2255ab68e10b3d063a09ee14a42e8 | 6,173 | py | Python | ElectreCredibilityWithCounterVeto/ElectreCredibilityWithCounterVeto.py | sbigaret/electre_diviz | ccfb990a2543799acdf3bb21cf8b0c7499a5a3b5 | [
"MIT"
] | 5 | 2018-01-13T16:19:04.000Z | 2020-11-28T22:09:49.000Z | ElectreCredibilityWithCounterVeto/ElectreCredibilityWithCounterVeto.py | sbigaret/electre_diviz | ccfb990a2543799acdf3bb21cf8b0c7499a5a3b5 | [
"MIT"
] | 4 | 2015-02-22T14:01:20.000Z | 2019-01-02T18:45:04.000Z | ElectreCredibilityWithCounterVeto/ElectreCredibilityWithCounterVeto.py | sbigaret/electre_diviz | ccfb990a2543799acdf3bb21cf8b0c7499a5a3b5 | [
"MIT"
] | 4 | 2015-01-08T23:04:11.000Z | 2018-11-06T08:07:34.000Z | #!/usr/bin/env python
"""
ElectreCredibilityWithCounterVeto - computes credibility matrix using procedure
which is common to the most methods from the Electre family.
This module is an extended version of 'ElectreCredibility' in that it is
designed to work with the 'counter-veto' concept - i.e. it requires an
additio... | 38.823899 | 82 | 0.590151 |
07c7b7c9f662421bdd343fbe9858d631830057ca | 429 | rb | Ruby | db/migrate/20180122160447_change_comments.rb | kagron/irb | 2290c7c6247c4e228dc11b0a05e9ce08627202d4 | [
"MIT"
] | null | null | null | db/migrate/20180122160447_change_comments.rb | kagron/irb | 2290c7c6247c4e228dc11b0a05e9ce08627202d4 | [
"MIT"
] | null | null | null | db/migrate/20180122160447_change_comments.rb | kagron/irb | 2290c7c6247c4e228dc11b0a05e9ce08627202d4 | [
"MIT"
] | null | null | null | class ChangeComments < ActiveRecord::Migration[5.1]
def change
remove_column :comments, :documents_id
add_column :comments, :document_id, :integer, :limit => 8
add_index :comments, :document_id
add_foreign_key :comments, :documents
remove_column :comments, :users_id
add_column :comments, :user... | 33 | 61 | 0.724942 |
38ff551954ae10b272f898e07f2cbbdd3b34e97b | 752 | swift | Swift | Moya-Pretty/SubSpec/Japx/Sources/JsonApiHeaderPlugin.swift | PKLOT/Moya-Pretty | 1686cd1e977948bb9ec968ff96e3c763b791bd79 | [
"MIT"
] | 15 | 2018-07-08T20:31:59.000Z | 2022-01-03T06:23:25.000Z | Moya-Pretty/SubSpec/Japx/Sources/JsonApiHeaderPlugin.swift | PKLOT/Moya-Pretty | 1686cd1e977948bb9ec968ff96e3c763b791bd79 | [
"MIT"
] | 3 | 2021-07-15T13:30:59.000Z | 2021-07-15T13:31:03.000Z | Moya-Pretty/SubSpec/Japx/Sources/JsonApiHeaderPlugin.swift | PKLOT/Moya-Pretty | 1686cd1e977948bb9ec968ff96e3c763b791bd79 | [
"MIT"
] | 3 | 2018-12-19T15:07:34.000Z | 2022-01-19T06:47:14.000Z | //
// JsonApiHeaderPlugin.swift
// Moya-Pretty
//
// Created by Kao Ming-Hsiu on 2018/8/27.
//
import Foundation
import Moya
public struct JsonApiAcceptHeaderPlugin: PluginType {
public init() {}
public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
var newRequest = request
new... | 26.857143 | 99 | 0.735372 |
8dabec2998fcc31f5c2fce2bae80df8b123d86bd | 411 | js | JavaScript | demo/performance-test.js | jinghua000/shadow-fns | d0b9f38488df5bd2044f2b2a6c795516dc67f701 | [
"MIT"
] | 3 | 2019-10-15T15:00:30.000Z | 2020-05-13T22:52:10.000Z | demo/performance-test.js | jinghua000/shadow-fns | d0b9f38488df5bd2044f2b2a6c795516dc67f701 | [
"MIT"
] | null | null | null | demo/performance-test.js | jinghua000/shadow-fns | d0b9f38488df5bd2044f2b2a6c795516dc67f701 | [
"MIT"
] | null | null | null | const { add, times } = require('../lib')
function invokeWithCurry () {
return add(1)(2)
}
function invokeWithoutCurry () {
return add(1, 2)
}
console.time('invokeWithCurry')
times(1e6, invokeWithCurry)()
console.timeEnd('invokeWithCurry')
console.time('invokeWithoutCurry')
times(1e6, invokeWithoutCurry)()
conso... | 21.631579 | 57 | 0.744526 |
0ea2ba0d5d5dd918f484db201d6a9fc3d846295d | 279 | asm | Assembly | Source Codes Testing/ADDITION.asm | aravindvnair99/emu8086 | 1713febd30618f0d03f09c6a7f8eb6c4a68888b8 | [
"MIT"
] | 11 | 2018-12-31T08:56:38.000Z | 2022-02-28T15:49:14.000Z | Source Codes Testing/ADDITION.asm | aravindvnair99/emu8086 | 1713febd30618f0d03f09c6a7f8eb6c4a68888b8 | [
"MIT"
] | null | null | null | Source Codes Testing/ADDITION.asm | aravindvnair99/emu8086 | 1713febd30618f0d03f09c6a7f8eb6c4a68888b8 | [
"MIT"
] | 4 | 2020-11-10T01:29:54.000Z | 2022-01-20T04:50:08.000Z | ;Adding two single byte numbers stored in memory location num1 and num2.
.MODEL small
.STACK
.DATA ; variable declaration section
num1 db 01h
num2 db 02h
; code section
.CODE
.STARTUP
mov bh,num1
add bh, num2
.EXIT
END ; end of the program
| 19.928571 | 72 | 0.659498 |
dbc6be99da081d2b4e2fedc51fe2f052370d5d6b | 5,008 | php | PHP | src/Generator/MessageGenerator.php | qiqizjl/phpkafka | 018ed24287b32a07618d00ed75ca05d0ccb54b28 | [
"Apache-2.0"
] | 172 | 2020-10-16T03:15:19.000Z | 2021-06-10T23:05:09.000Z | src/Generator/MessageGenerator.php | qiqizjl/phpkafka | 018ed24287b32a07618d00ed75ca05d0ccb54b28 | [
"Apache-2.0"
] | 30 | 2020-10-28T06:43:24.000Z | 2021-06-10T05:06:29.000Z | src/Generator/MessageGenerator.php | qiqizjl/phpkafka | 018ed24287b32a07618d00ed75ca05d0ccb54b28 | [
"Apache-2.0"
] | 15 | 2020-11-10T08:39:52.000Z | 2021-03-30T15:24:15.000Z | <?php
declare(strict_types=1);
namespace longlang\phpkafka\Generator;
class MessageGenerator extends AbstractGenerator
{
/**
* @var string
*/
protected $dirName;
/**
* @var bool
*/
protected $isHeader = false;
/**
* @var int[]
*/
protected $flexibleVersions;
... | 24.193237 | 145 | 0.57508 |
eb563132dd0775fadbf844a70fe2ffe95c87662c | 796 | kt | Kotlin | src/test/kotlin/com/senacor/ci/simpleprovider/search/SearchServiceTest.kt | gonzo12/simple-provider | 1f69523b239baa170ee60c6fa229f1f8cd0e3d89 | [
"MIT"
] | null | null | null | src/test/kotlin/com/senacor/ci/simpleprovider/search/SearchServiceTest.kt | gonzo12/simple-provider | 1f69523b239baa170ee60c6fa229f1f8cd0e3d89 | [
"MIT"
] | null | null | null | src/test/kotlin/com/senacor/ci/simpleprovider/search/SearchServiceTest.kt | gonzo12/simple-provider | 1f69523b239baa170ee60c6fa229f1f8cd0e3d89 | [
"MIT"
] | 1 | 2021-04-16T08:41:38.000Z | 2021-04-16T08:41:38.000Z | package com.senacor.ci.simpleprovider.search
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertNotNull
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.mockito.junit.jupiter.MockitoExt... | 26.533333 | 53 | 0.726131 |
a18b548c9cf3dc0809134ddc06b894a0bdefdcf0 | 5,822 | ts | TypeScript | projects/fsastorefrontlib/src/cms-components/my-account/inbox/inbox-tab/inbox-messages/inbox-messages.component.ts | SebastianWolf-SAP/spartacus-financial-services-accelerator | 4f45994d5627c040d5a6d7ab0b6c34b3fa672c44 | [
"Apache-2.0"
] | 1 | 2020-12-17T16:05:28.000Z | 2020-12-17T16:05:28.000Z | projects/fsastorefrontlib/src/cms-components/my-account/inbox/inbox-tab/inbox-messages/inbox-messages.component.ts | SebastianWolf-SAP/spartacus-financial-services-accelerator | 4f45994d5627c040d5a6d7ab0b6c34b3fa672c44 | [
"Apache-2.0"
] | 300 | 2020-12-08T12:31:43.000Z | 2022-03-29T09:29:03.000Z | projects/fsastorefrontlib/src/cms-components/my-account/inbox/inbox-tab/inbox-messages/inbox-messages.component.ts | SebastianWolf-SAP/spartacus-financial-services-accelerator | 4f45994d5627c040d5a6d7ab0b6c34b3fa672c44 | [
"Apache-2.0"
] | 2 | 2021-08-20T07:20:48.000Z | 2022-02-27T09:09:56.000Z | import {
ChangeDetectionStrategy,
Component,
Input,
OnDestroy,
OnInit,
} from '@angular/core';
import { PaginationModel } from '@spartacus/core';
import { Observable, Subscription } from 'rxjs';
import { filter, map, tap } from 'rxjs/operators';
import { InboxService } from '../../../../../core/my-account/fac... | 28.539216 | 83 | 0.614565 |
464957d168974f21e3574b3ced64a13281dda05d | 1,826 | php | PHP | resources/lang/it/admin/users/general.php | jorgedsilva/snipe-it-master | 70d5baf0cc7ab2122013200591fde0bba55f4db5 | [
"Apache-2.0"
] | null | null | null | resources/lang/it/admin/users/general.php | jorgedsilva/snipe-it-master | 70d5baf0cc7ab2122013200591fde0bba55f4db5 | [
"Apache-2.0"
] | null | null | null | resources/lang/it/admin/users/general.php | jorgedsilva/snipe-it-master | 70d5baf0cc7ab2122013200591fde0bba55f4db5 | [
"Apache-2.0"
] | null | null | null | <?php
return array(
'activated_help_text' => 'Questo utente può effettuare il login',
'activated_disabled_help_text' => 'Non puoi modificare lo stato di attivazione del proprio account.',
'assets_user' => 'Bene assegnato a :name',
'bulk_update_warn' => 'Stai per modificare le proprietà di: user_... | 65.214286 | 221 | 0.682913 |
1448b1f0b058b4f0f3a2ae270c8ca15b774f7849 | 372 | swift | Swift | Tests/Modules/Foo/FooAssembly.swift | locationlabs/Cobra | b60e8f6fd842e71acecb822694fd3a7d70948097 | [
"Apache-2.0"
] | 12 | 2016-10-12T04:16:18.000Z | 2019-11-01T15:24:02.000Z | Tests/Modules/Foo/FooAssembly.swift | locationlabs/Cobra | b60e8f6fd842e71acecb822694fd3a7d70948097 | [
"Apache-2.0"
] | null | null | null | Tests/Modules/Foo/FooAssembly.swift | locationlabs/Cobra | b60e8f6fd842e71acecb822694fd3a7d70948097 | [
"Apache-2.0"
] | 5 | 2016-12-17T00:51:15.000Z | 2021-09-08T09:33:33.000Z | import Swinject
import Cobra
class FooAssembly: Constructible {
required init() {}
}
// MARK: - AssemblyType
extension FooAssembly: Assembly {
func assemble(container: Container) {
// feature
container.register(FooFeatureType.self) { _ in
return FooFeature()
}
... | 15.5 | 54 | 0.610215 |
9fd42b97c34b13a93659d6be724c9aa1ca2315f7 | 161 | py | Python | piccolo/apps/asgi/piccolo_app.py | coder3112/piccolo | f5f72c6b24782f1b6e04c31549654cd27fd3a148 | [
"MIT"
] | null | null | null | piccolo/apps/asgi/piccolo_app.py | coder3112/piccolo | f5f72c6b24782f1b6e04c31549654cd27fd3a148 | [
"MIT"
] | null | null | null | piccolo/apps/asgi/piccolo_app.py | coder3112/piccolo | f5f72c6b24782f1b6e04c31549654cd27fd3a148 | [
"MIT"
] | null | null | null | from piccolo.conf.apps import AppConfig
from .commands.new import new
APP_CONFIG = AppConfig(
app_name="asgi", migrations_folder_path="", commands=[new]
)
| 20.125 | 62 | 0.757764 |
9c531e517f94e4b7e458f8adf44a89c21b71c5e0 | 17 | sh | Shell | tests/fixtures/shellcheck-tests/single-quoted6/source.sh | corwin-of-amber/js-shell-parse | dfe52a305e2329248aa7452cbfedf931b8d0a933 | [
"MIT"
] | 60 | 2015-03-28T02:06:18.000Z | 2022-03-28T17:30:59.000Z | tests/fixtures/shellcheck-tests/single-quoted6/source.sh | corwin-of-amber/js-shell-parse | dfe52a305e2329248aa7452cbfedf931b8d0a933 | [
"MIT"
] | 11 | 2015-12-30T00:06:17.000Z | 2017-07-11T00:10:28.000Z | tests/fixtures/shellcheck-tests/single-quoted6/source.sh | corwin-of-amber/js-shell-parse | dfe52a305e2329248aa7452cbfedf931b8d0a933 | [
"MIT"
] | 13 | 2015-03-14T22:04:54.000Z | 2021-11-29T11:42:26.000Z | foo='bar cow 'arg | 17 | 17 | 0.705882 |
6b2b0e84a07a935cfdfa52800d303638fc61caf3 | 19,901 | js | JavaScript | src/chart/bar.js | gec/d3-traits | 32d41969bbb55d8418f330d21ac72692cd8ed25d | [
"Apache-2.0"
] | 2 | 2015-02-10T16:26:12.000Z | 2016-01-04T14:59:17.000Z | src/chart/bar.js | gec/d3-traits | 32d41969bbb55d8418f330d21ac72692cd8ed25d | [
"Apache-2.0"
] | null | null | null | src/chart/bar.js | gec/d3-traits | 32d41969bbb55d8418f330d21ac72692cd8ed25d | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2013 Green Energy Corp.
*
* Licensed to Green Energy Corp (www.greenenergycorp.com) under one or more
* contributor license agreements. See the NOTICE file distributed with this
* work for additional information regarding copyright ownership. Green Energy
* Corp licenses this file to you under the... | 35.793165 | 198 | 0.577207 |
b7332285abed8567e5bc8f7b99b90db387413c24 | 3,040 | sql | SQL | src/test/regress/sql/skew_statistic_single_col.sql | opengauss-mirror/openGauss-graph | 6beb138fd00abdbfddc999919f90371522118008 | [
"MulanPSL-1.0"
] | 360 | 2020-06-30T14:47:34.000Z | 2022-03-31T15:21:53.000Z | src/test/regress/sql/skew_statistic_single_col.sql | opengauss-mirror/openGauss-graph | 6beb138fd00abdbfddc999919f90371522118008 | [
"MulanPSL-1.0"
] | 4 | 2020-06-30T15:09:16.000Z | 2020-07-14T06:20:03.000Z | src/test/regress/sql/skew_statistic_single_col.sql | opengauss-mirror/openGauss-graph | 6beb138fd00abdbfddc999919f90371522118008 | [
"MulanPSL-1.0"
] | 133 | 2020-06-30T14:47:36.000Z | 2022-03-25T15:29:00.000Z | /*
################################################################################
# TESTCASE NAME : skew_statistic_single_col.py
# COMPONENT(S) : 测试单列分布键的倾斜场景
# PREREQUISITE : skew_hint_setup.py
# PLATFORM : all
# DESCRIPTION : single col's skew
# TAG : single col
# TC LEVEL : Level 1
#######... | 35.348837 | 101 | 0.667105 |
b5a434f8736623fae39855886d17a8be3037754f | 1,849 | rs | Rust | git-repository/src/easy/ext/object.rs | mellowagain/gitoxide | dc58eca510e5a067acdeaad4b595a34b4598a0cd | [
"Apache-2.0",
"MIT"
] | null | null | null | git-repository/src/easy/ext/object.rs | mellowagain/gitoxide | dc58eca510e5a067acdeaad4b595a34b4598a0cd | [
"Apache-2.0",
"MIT"
] | null | null | null | git-repository/src/easy/ext/object.rs | mellowagain/gitoxide | dc58eca510e5a067acdeaad4b595a34b4598a0cd | [
"Apache-2.0",
"MIT"
] | null | null | null | use std::ops::DerefMut;
use git_hash::ObjectId;
use crate::{
easy,
easy::{object, ObjectRef},
odb::{Find, FindExt},
};
pub fn find_object<A: easy::Access + Sized>(
access: &A,
id: impl Into<ObjectId>,
) -> Result<easy::ObjectRef<'_, A>, object::find::existing::Error> {
let state = access.stat... | 29.822581 | 116 | 0.590049 |
386655752d1c419bca625b804df7856e77b7acf8 | 427 | php | PHP | Pool/IConnection.php | leevels/protocol | f59e37fb8feb369bedbcdacddcbea502a9a0a5fd | [
"MIT"
] | 59 | 2017-09-04T01:09:37.000Z | 2022-03-25T06:57:42.000Z | Pool/IConnection.php | leevels/protocol | f59e37fb8feb369bedbcdacddcbea502a9a0a5fd | [
"MIT"
] | 122 | 2017-05-24T01:15:29.000Z | 2021-11-17T07:54:49.000Z | Pool/IConnection.php | leevels/protocol | f59e37fb8feb369bedbcdacddcbea502a9a0a5fd | [
"MIT"
] | 5 | 2018-01-16T01:56:47.000Z | 2021-11-09T07:13:20.000Z | <?php
declare(strict_types=1);
namespace Leevel\Protocol\Pool;
/**
* 连接池连接驱动接口.
*/
interface IConnection
{
/**
* 归还连接池.
*/
public function release(): void;
/**
* 设置是否归还连接池.
*/
public function setShouldRelease(bool $shouldRelease): void;
/**
* 设置关联连接池.
*/
publ... | 13.34375 | 64 | 0.555035 |
678fcd87d3edd51c2f1a48a99ea51306a3bc4b92 | 560 | lua | Lua | app/src/init.lua | Goruti/esp32_lux | 1106b86e798e8ae1410f36734f77a7a54db975e4 | [
"MIT"
] | null | null | null | app/src/init.lua | Goruti/esp32_lux | 1106b86e798e8ae1410f36734f77a7a54db975e4 | [
"MIT"
] | null | null | null | app/src/init.lua | Goruti/esp32_lux | 1106b86e798e8ae1410f36734f77a7a54db975e4 | [
"MIT"
] | 1 | 2021-11-15T01:08:05.000Z | 2021-11-15T01:08:05.000Z | -- ESP32 FW ADDED MODULES: file,http,i2c,net,node,sjson,tmr,wifi
-- Load config & modules
dofile('config.lua')
dofile('wifi.lua')
dofile('server.lua')
dofile('read_lux.lua')
---------------------------
-- Init Device Access Point
--print('access point ready...')
if wifi.getmode() ~= wifi.STATION then
wifi.mode(w... | 22.4 | 65 | 0.642857 |
4d0f5b89168eabdb489f9108a4b4cd49ca81a231 | 1,593 | cs | C# | Ay/ay/SDK/CONTROLLIB/Large/PropertyGrid/Converters/PropertyItemEditorConverter.cs | ay2015/AYUI8 | 1bb32ae9d5a98913b999ae8fcd4fadb6bd9bad45 | [
"MIT"
] | null | null | null | Ay/ay/SDK/CONTROLLIB/Large/PropertyGrid/Converters/PropertyItemEditorConverter.cs | ay2015/AYUI8 | 1bb32ae9d5a98913b999ae8fcd4fadb6bd9bad45 | [
"MIT"
] | null | null | null | Ay/ay/SDK/CONTROLLIB/Large/PropertyGrid/Converters/PropertyItemEditorConverter.cs | ay2015/AYUI8 | 1bb32ae9d5a98913b999ae8fcd4fadb6bd9bad45 | [
"MIT"
] | null | null | null | using System;
using System.Globalization;
using System.Reflection;
using System.Windows;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
namespace Xceed.Wpf.Toolkit.PropertyGrid.Converters
{
public class PropertyItemEditorConverter : IMultiValueConverter
{
public object Convert(object[] values... | 24.890625 | 113 | 0.69366 |
0871d44931864ffd1969e1f28d502b2257ae9711 | 2,469 | swift | Swift | Sources/Cocoa/Components/UIImage/ImageFetcher/CompositeImageFetcher.swift | mstana/xcore.swift | d637b9827b65149968d93cc910059853b62842fb | [
"MIT"
] | null | null | null | Sources/Cocoa/Components/UIImage/ImageFetcher/CompositeImageFetcher.swift | mstana/xcore.swift | d637b9827b65149968d93cc910059853b62842fb | [
"MIT"
] | 1 | 2020-03-02T19:43:19.000Z | 2020-03-02T19:43:19.000Z | Sources/Cocoa/Components/UIImage/ImageFetcher/CompositeImageFetcher.swift | mstana/xcore.swift | d637b9827b65149968d93cc910059853b62842fb | [
"MIT"
] | null | null | null | //
// Xcore
// Copyright © 2018 Xcore
// MIT license, see LICENSE file for details
//
import UIKit
final class CompositeImageFetcher: ImageFetcher, ExpressibleByArrayLiteral {
/// The registered list of fetchers.
private var fetchers: [ImageFetcher] = []
init(_ fetchers: [ImageFetcher]) {
self.fe... | 28.37931 | 108 | 0.616849 |
9dac1d5056b1ebf37f62a6812558a429a662ae83 | 784 | swift | Swift | Sources/Switchcraft/Notification.swift | steamclock/switchcraft | e7153153d0f9796f9bf053f473e61f08bb40541e | [
"MIT"
] | 5 | 2018-05-16T19:18:44.000Z | 2021-11-12T16:12:29.000Z | Sources/Switchcraft/Notification.swift | steamclock/switchcraft | e7153153d0f9796f9bf053f473e61f08bb40541e | [
"MIT"
] | 18 | 2018-06-09T00:01:29.000Z | 2021-11-24T17:13:51.000Z | Sources/Switchcraft/Notification.swift | steamclock/switchcraft | e7153153d0f9796f9bf053f473e61f08bb40541e | [
"MIT"
] | 2 | 2018-05-20T21:51:58.000Z | 2021-11-24T15:05:32.000Z | //
// Notification.swift
// Switchcraft
//
// Created by Brendan Lensink on 2018-05-04.
//
import Foundation
extension Notification {
/**
* Namespace for public notification keys.
*/
public struct Key {
/**
* User info dictionary key containing the new `Endpoint`.
*/
... | 26.133333 | 103 | 0.674745 |
f243a17745e3a61ca96785f3a966c8483fb5a296 | 858 | php | PHP | tests/TestCaseBase.php | MA7/graphql-php | ceb6e94f5789ad21dc86ee1fd642fc3f2a01802f | [
"MIT"
] | null | null | null | tests/TestCaseBase.php | MA7/graphql-php | ceb6e94f5789ad21dc86ee1fd642fc3f2a01802f | [
"MIT"
] | null | null | null | tests/TestCaseBase.php | MA7/graphql-php | ceb6e94f5789ad21dc86ee1fd642fc3f2a01802f | [
"MIT"
] | null | null | null | <?php declare(strict_types=1);
namespace GraphQL\Tests;
use GraphQL\Language\AST\Node;
use GraphQL\Language\Printer;
use PHPUnit\Framework\TestCase;
abstract class TestCaseBase extends TestCase
{
/**
* Useful to test code with no observable behaviour other than not crashing.
*
* In contrast to PHP... | 28.6 | 94 | 0.692308 |
f65967a614d415e3dd4256e6d33476b1d14e53de | 2,729 | hpp | C++ | include/tudocomp/compressors/MTFCompressor.hpp | dominiKoeppl/tudocomp | b5512f85f6b3408fb88e19c08899ec4c2716c642 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2017-03-04T13:04:49.000Z | 2021-12-03T06:58:20.000Z | include/tudocomp/compressors/MTFCompressor.hpp | dominiKoeppl/tudocomp | b5512f85f6b3408fb88e19c08899ec4c2716c642 | [
"ECL-2.0",
"Apache-2.0"
] | 27 | 2016-01-22T18:31:37.000Z | 2021-11-27T10:50:40.000Z | include/tudocomp/compressors/MTFCompressor.hpp | dominiKoeppl/tudocomp | b5512f85f6b3408fb88e19c08899ec4c2716c642 | [
"ECL-2.0",
"Apache-2.0"
] | 16 | 2017-03-14T12:46:51.000Z | 2021-06-25T18:19:50.000Z | #pragma once
#include <tudocomp/util.hpp>
#include <tudocomp/Compressor.hpp>
#include <tudocomp/Env.hpp>
#include <numeric>
#include <tudocomp/def.hpp>
namespace tdc {
/**
* Encodes a character 'v' by Move-To-Front Coding
* Needs and modifies a lookup table storing the last-used characters
*/
template<class valu... | 28.427083 | 168 | 0.698791 |
0d74b97a64d91ec85993269235d6459b66ff6e3b | 2,276 | kt | Kotlin | Lecture 3/githubclient/app/src/main/java/com/avast/android/lecture/github/Settings.kt | LaudateCorpus1/android-lectures | edafe7bf572df354cb0de98da1abdb14268f939a | [
"Apache-2.0"
] | 28 | 2015-11-12T20:30:14.000Z | 2022-01-05T05:37:31.000Z | Lecture 3/githubclient/app/src/main/java/com/avast/android/lecture/github/Settings.kt | LaudateCorpus1/android-lectures | edafe7bf572df354cb0de98da1abdb14268f939a | [
"Apache-2.0"
] | null | null | null | Lecture 3/githubclient/app/src/main/java/com/avast/android/lecture/github/Settings.kt | LaudateCorpus1/android-lectures | edafe7bf572df354cb0de98da1abdb14268f939a | [
"Apache-2.0"
] | 11 | 2016-09-15T21:35:45.000Z | 2022-02-02T13:36:14.000Z | package com.avast.android.lecture.github
import android.content.Context
import android.content.SharedPreferences
import android.util.Log
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.Preferences
import androidx.datastore.preferences.core.edit
import androidx.datastore.preferences.... | 32.056338 | 100 | 0.699912 |
bc89c5003f21c4a920592f790ae2edc7bf6668a0 | 114 | sh | Shell | all-delete.sh | s4s0l/betelgeuse-vboxtools | a576d2bd97703258bacd23e1853b14c50e27f961 | [
"Apache-2.0"
] | null | null | null | all-delete.sh | s4s0l/betelgeuse-vboxtools | a576d2bd97703258bacd23e1853b14c50e27f961 | [
"Apache-2.0"
] | null | null | null | all-delete.sh | s4s0l/betelgeuse-vboxtools | a576d2bd97703258bacd23e1853b14c50e27f961 | [
"Apache-2.0"
] | null | null | null | #!/bin/bash
. $(dirname $0)/lib/init.sh
remove-all-dhcp-servers
remove-all-host-only-network
remove-all-machines
| 16.285714 | 28 | 0.745614 |
a35e78c4368592a3858fc4d75647cc14485cb9f9 | 8,502 | java | Java | src/main/java/su/svn/showcase/domain/Record.java | vskurikhin/daybook | c6119805f29cc9396317161d1856b721bdb8503e | [
"Unlicense"
] | 1 | 2020-03-31T17:22:22.000Z | 2020-03-31T17:22:22.000Z | src/main/java/su/svn/showcase/domain/Record.java | vskurikhin/daybook | c6119805f29cc9396317161d1856b721bdb8503e | [
"Unlicense"
] | 55 | 2020-01-31T13:17:47.000Z | 2020-07-14T16:48:57.000Z | src/main/java/su/svn/showcase/domain/Record.java | vskurikhin/daybook | c6119805f29cc9396317161d1856b721bdb8503e | [
"Unlicense"
] | 1 | 2021-07-09T18:11:12.000Z | 2021-07-09T18:11:12.000Z | /*
* This file was last modified at 2020.07.09 14:59 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* Record.java
* $Id: a35e78c4368592a3858fc4d75647cc14485cb9f9 $
*/
package su.svn.showcase.domain;
... | 34.008 | 110 | 0.598918 |
118b9e2b3537864cc5dccfb7c03a39d4cef44b49 | 3,259 | swift | Swift | DappMX/Vendor/DappPOSCode/DappPOSCodeHelper.swift | DappPayments/Dapp-SDK-iOS | 353cfe84620f221ba872b15eec845d8cabb47a3c | [
"MIT"
] | 1 | 2018-07-19T08:17:18.000Z | 2018-07-19T08:17:18.000Z | DappMX/Vendor/DappPOSCode/DappPOSCodeHelper.swift | DappPayments/Dapp-SDK-iOS | 353cfe84620f221ba872b15eec845d8cabb47a3c | [
"MIT"
] | null | null | null | DappMX/Vendor/DappPOSCode/DappPOSCodeHelper.swift | DappPayments/Dapp-SDK-iOS | 353cfe84620f221ba872b15eec845d8cabb47a3c | [
"MIT"
] | null | null | null | //
// DappPOSCodeHelper.swift
// DappMX
//
// Created by Rodrigo Rivas on 3/31/20.
// Copyright © 2020 Dapp. All rights reserved.
//
import Foundation
internal protocol DappPOSCodeHelperDelegate: AnyObject {
func dappPOSCodeHelper(_ helper: DappPOSCodeHelper, codePayed payment: DappPayment)
func dappPOSCo... | 28.840708 | 142 | 0.55784 |
835ea2ef03ec4aa25db46ff9c904acd14e1d86c0 | 714 | ts | TypeScript | src/app/pages/post/post.page.ts | felixhhyeung/Instagram-Package-Viewer | 2db1c4bab2bbb7350e05bfe15eb9be097f67e7b5 | [
"MIT"
] | null | null | null | src/app/pages/post/post.page.ts | felixhhyeung/Instagram-Package-Viewer | 2db1c4bab2bbb7350e05bfe15eb9be097f67e7b5 | [
"MIT"
] | null | null | null | src/app/pages/post/post.page.ts | felixhhyeung/Instagram-Package-Viewer | 2db1c4bab2bbb7350e05bfe15eb9be097f67e7b5 | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from "@angular/router";
import { PackageService, Post, Media } from '../../services/package.service';
@Component({
selector: 'app-post',
templateUrl: './post.page.html',
styleUrls: ['./post.page.scss'],
})
export class PostPage implemen... | 26.444444 | 77 | 0.680672 |
e7055f433e0994ee97bd3f7d85b6b83a046a1dac | 13,439 | php | PHP | application/index/controller/Test.php | zhangchen0923/myTest | e9a8a1f19d9e3f4a7a0a926dee0fba3d1c33e7eb | [
"Apache-2.0"
] | null | null | null | application/index/controller/Test.php | zhangchen0923/myTest | e9a8a1f19d9e3f4a7a0a926dee0fba3d1c33e7eb | [
"Apache-2.0"
] | null | null | null | application/index/controller/Test.php | zhangchen0923/myTest | e9a8a1f19d9e3f4a7a0a926dee0fba3d1c33e7eb | [
"Apache-2.0"
] | null | null | null | <?php
namespace app\index\controller;
use think\db;
use PHPExcel;
use think\Controller;
use think\Request;
class Test extends Controller
{
protected $money_data;
protected $business_data;
public function __initialize()
{
}
public function index()
{
// if(empty(input('dh'))||empty... | 25.213884 | 122 | 0.465808 |
05dbfcf8b89bbc56d036e597eec51697babb764c | 5,710 | py | Python | certsrv/certsrv.py | degagne/python-certsrv | 38fa73dedb087e9228a88a7877e8f3d18f5c460f | [
"MIT"
] | 1 | 2021-12-08T21:04:11.000Z | 2021-12-08T21:04:11.000Z | certsrv/certsrv.py | degagne/python-certsrv | 38fa73dedb087e9228a88a7877e8f3d18f5c460f | [
"MIT"
] | null | null | null | certsrv/certsrv.py | degagne/python-certsrv | 38fa73dedb087e9228a88a7877e8f3d18f5c460f | [
"MIT"
] | null | null | null | import re
import os
import requests
from contextlib import suppress
from typing import NoReturn, Union
from requests.auth import HTTPBasicAuth
from requests_ntlm3 import HttpNtlmAuth
from certsrv.utils import handle_response, find_error_response, retrieve_cert
from certsrv import DEFAULT_CA_FILE, USER_AGENT, PKI_HEADE... | 37.81457 | 87 | 0.636953 |
a3989f3fe91c2ff92f89edf71ad0a5adb96cc3f8 | 10,521 | sql | SQL | bla/sql/Mycle_Produtos_08-04-2019.sql | gabriel-adel/MycleTestes | c3a777869a4934d6b160274d6fe7960ccb24ad24 | [
"Apache-2.0"
] | null | null | null | bla/sql/Mycle_Produtos_08-04-2019.sql | gabriel-adel/MycleTestes | c3a777869a4934d6b160274d6fe7960ccb24ad24 | [
"Apache-2.0"
] | null | null | null | bla/sql/Mycle_Produtos_08-04-2019.sql | gabriel-adel/MycleTestes | c3a777869a4934d6b160274d6fe7960ccb24ad24 | [
"Apache-2.0"
] | null | null | null | INSERT into Produtos(nomeProduto, cor, valorAtacad,valorVarejo,descProduto, codigoProduto, dataProduto,tamanhoMinimo,tamanhoMaximo,tag)
value('KarateGI Básico Mirim','branco','70.00','89.9','Básico 100% algodão','KBM',now(),2,8,'karate kimono infantil mirin algodão'),
('KarateGI Básico Infantil','branco','90.0','115.6... | 154.720588 | 215 | 0.71286 |
0173d90dcdb3c7a1dcf0d997c1847b07447f4422 | 11,978 | sql | SQL | bankedhour.sql | Tajjammul/Bank-Hours-Managemant-System | 7a174d5d244e6e0c6a2e08c9edf3bdddcf833e0e | [
"MIT"
] | null | null | null | bankedhour.sql | Tajjammul/Bank-Hours-Managemant-System | 7a174d5d244e6e0c6a2e08c9edf3bdddcf833e0e | [
"MIT"
] | 2 | 2021-03-10T16:46:59.000Z | 2022-02-19T01:35:16.000Z | bankedhour.sql | Tajjammul/Bank-Hours-Managemant-System | 7a174d5d244e6e0c6a2e08c9edf3bdddcf833e0e | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: May 01, 2020 at 01:47 PM
-- Server version: 10.1.28-MariaDB
-- PHP Version: 7.2.12
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OL... | 31.856383 | 230 | 0.698197 |
eee158e5dd153c87f7445449e061f1bd39bb5598 | 6,891 | go | Go | pkg/install.go | borkod/kindly | f6de65b1fe94a266e5669c7e2f99cb512f5b0642 | [
"Apache-2.0"
] | null | null | null | pkg/install.go | borkod/kindly | f6de65b1fe94a266e5669c7e2f99cb512f5b0642 | [
"Apache-2.0"
] | 7 | 2021-04-25T15:43:32.000Z | 2021-04-25T15:54:09.000Z | pkg/install.go | borkod/kindly | f6de65b1fe94a266e5669c7e2f99cb512f5b0642 | [
"Apache-2.0"
] | null | null | null | package pkg
import (
"bufio"
"bytes"
"context"
"crypto/sha256"
"encoding/hex"
"errors"
"io"
"io/ioutil"
"net"
"net/http"
"os"
"path/filepath"
"strings"
"text/template"
"time"
)
// Install function implements install command
func (k Kindly) Install(ctx context.Context, p string, f bool, u bool) (err err... | 21.73817 | 92 | 0.639385 |
38957a566d3866537b705375e40110549222dd61 | 2,621 | php | PHP | resources/views/footer.blade.php | BorislavStrings/SpaceEducation | 9e3a4544368fb0669326ae47d33bba7f8d29335b | [
"MIT"
] | null | null | null | resources/views/footer.blade.php | BorislavStrings/SpaceEducation | 9e3a4544368fb0669326ae47d33bba7f8d29335b | [
"MIT"
] | null | null | null | resources/views/footer.blade.php | BorislavStrings/SpaceEducation | 9e3a4544368fb0669326ae47d33bba7f8d29335b | [
"MIT"
] | null | null | null | <footer>
<div class="container">
<div class="row">
<div class="col-lg-4 copyright col-xs-12 col-sm-12">
Copyright 2016 - All rights reserved
</div>
<div class="col-lg-5 col-xs-12 col-sm-12">
<nav class="links">
<div clas... | 72.805556 | 188 | 0.571156 |
25ee0cce5911b464b5db074d42d1a1791c47266a | 557 | cs | C# | Engine/LivingCreature.cs | sarahjfreitas/SuperAdventure | 0260988baa9734378b87a0a5254ae76fcdbbc598 | [
"MIT"
] | null | null | null | Engine/LivingCreature.cs | sarahjfreitas/SuperAdventure | 0260988baa9734378b87a0a5254ae76fcdbbc598 | [
"MIT"
] | null | null | null | Engine/LivingCreature.cs | sarahjfreitas/SuperAdventure | 0260988baa9734378b87a0a5254ae76fcdbbc598 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Engine
{
public class LivingCreature
{
public int MaximumHitPoints { get; set; }
public int CurrentHitPoints { get; set; }
public int Level { get; set; }
... | 24.217391 | 88 | 0.642729 |
a9546c5df716a4900a59e28200e4975f5cceff7a | 302 | sql | SQL | src/sql/laboratory.sql | usnistgov/NeXLDatabase.jl | 7c1cd0bbf1407a7216b3760bcf361490a3dbc8b0 | [
"Unlicense"
] | null | null | null | src/sql/laboratory.sql | usnistgov/NeXLDatabase.jl | 7c1cd0bbf1407a7216b3760bcf361490a3dbc8b0 | [
"Unlicense"
] | null | null | null | src/sql/laboratory.sql | usnistgov/NeXLDatabase.jl | 7c1cd0bbf1407a7216b3760bcf361490a3dbc8b0 | [
"Unlicense"
] | null | null | null | CREATE TABLE LABORATORY (
PKEY INTEGER PRIMARY KEY AUTOINCREMENT,
NAME TEXT NOT NULL,
CONTACT INT NOT NULL,
FOREIGN KEY(CONTACT) REFERENCES PERSON(PKEY)
);
CREATE INDEX LABORATORY_NAME_INDEX ON LABORATORY(NAME);
INSERT INTO LABORATORY ( NAME, CONTACT ) VALUES ( "NIST MML MMSD", 1 );
| 27.454545 | 71 | 0.731788 |
43b8ed6a8a12bab37fd2b54110bca98817242f8b | 495 | ts | TypeScript | src/main/typescript/wcardinal/ui/d-picker-time-bound-constant.ts | kagechan/winter-cardinal-ui | c5303cc46e27636cb7989d5a88974678dec423dd | [
"Apache-2.0"
] | 24 | 2019-12-08T11:34:00.000Z | 2022-01-22T18:55:59.000Z | src/main/typescript/wcardinal/ui/d-picker-time-bound-constant.ts | kagechan/winter-cardinal-ui | c5303cc46e27636cb7989d5a88974678dec423dd | [
"Apache-2.0"
] | 18 | 2020-01-15T10:57:58.000Z | 2021-12-24T03:23:48.000Z | src/main/typescript/wcardinal/ui/d-picker-time-bound-constant.ts | kagechan/winter-cardinal-ui | c5303cc46e27636cb7989d5a88974678dec423dd | [
"Apache-2.0"
] | 12 | 2019-11-12T07:38:30.000Z | 2021-12-24T02:00:09.000Z | /*
* Copyright (C) 2019 Toshiba Corporation
* SPDX-License-Identifier: Apache-2.0
*/
export interface DPickerTimeBoundConstantSecond {
min: number;
max: number;
}
export interface DPickerTimeBoundConstantMinute {
min: number;
max: number;
}
export interface DPickerTimeBoundConstantHour {
min: number;
max: n... | 19.038462 | 49 | 0.789899 |
bb3f1f02597fcdbb3ac470b7574d40c3995bd2a6 | 451 | cs | C# | CP/Games/BladesOfSteelCP/Logic/CustomSort.cs | musictopia2/GamingPackXV3 | dbc6ee2127f829b600fb084fc30b26f9020b8fde | [
"MIT"
] | null | null | null | CP/Games/BladesOfSteelCP/Logic/CustomSort.cs | musictopia2/GamingPackXV3 | dbc6ee2127f829b600fb084fc30b26f9020b8fde | [
"MIT"
] | null | null | null | CP/Games/BladesOfSteelCP/Logic/CustomSort.cs | musictopia2/GamingPackXV3 | dbc6ee2127f829b600fb084fc30b26f9020b8fde | [
"MIT"
] | null | null | null | namespace BladesOfSteelCP.Logic;
[SingletonGame]
public class CustomSort : ISortObjects<RegularSimpleCard>
{
int IComparer<RegularSimpleCard>.Compare(RegularSimpleCard? x, RegularSimpleCard? y)
{
if (x!.Color != y!.Color)
{
return x.Color.CompareTo(y.Color);
}
if (x.... | 26.529412 | 88 | 0.596452 |
3934da4a8d84067da0519c3a4fc3953e5f05fc67 | 263,436 | py | Python | IsabelaFunctions/langlais_coeff.py | de-oliveira/IsabelaFunctions | 6ea9f181f1e9eda90db3e2542d72eaf00caf977b | [
"MIT"
] | null | null | null | IsabelaFunctions/langlais_coeff.py | de-oliveira/IsabelaFunctions | 6ea9f181f1e9eda90db3e2542d72eaf00caf977b | [
"MIT"
] | null | null | null | IsabelaFunctions/langlais_coeff.py | de-oliveira/IsabelaFunctions | 6ea9f181f1e9eda90db3e2542d72eaf00caf977b | [
"MIT"
] | null | null | null | import numpy as np
glm = np.array([[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0... | 951.032491 | 1,277 | 0.546061 |
52c50df36fbe13b139fcf0e0ab434654ac62fba6 | 237 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/tangible/food/generic/drink_ruby_bliel.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/food/generic/drink_ruby_bliel.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/food/generic/drink_ruby_bliel.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_tangible_food_generic_drink_ruby_bliel = object_tangible_food_generic_shared_drink_ruby_bliel:new {
}
ObjectTemplates:addTemplate(object_tangible_food_generic_drink_ruby_bliel, "object/tangible/food/generic/drink_ruby_bliel.iff")
| 237 | 237 | 0.907173 |
d7d03b9779c512324068ddc3ff52f71024475ae2 | 787 | c | C | Chapter10_Structs/Structs/Main.c | itsmeRoland/UdemyC | 27b460377178d28ab8f32257771e09ce5300e03f | [
"MIT"
] | null | null | null | Chapter10_Structs/Structs/Main.c | itsmeRoland/UdemyC | 27b460377178d28ab8f32257771e09ce5300e03f | [
"MIT"
] | null | null | null | Chapter10_Structs/Structs/Main.c | itsmeRoland/UdemyC | 27b460377178d28ab8f32257771e09ce5300e03f | [
"MIT"
] | 1 | 2022-02-11T09:09:39.000Z | 2022-02-11T09:09:39.000Z | #include <stdio.h>
struct Friend
{
char name[50];
char prename[50];
unsigned int year;
unsigned int month;
unsigned int day;
};
int main()
{
struct Friend jan = {.name = "Schaffranek", .prename = "Jan", .year = 1994U, .month = 2U, .day = 24U};
struct Friend peter = {.name = "Lustig", .pre... | 23.848485 | 106 | 0.559085 |
1704dd803e789e902c36d50d1b757f57d8ce09ad | 484 | cs | C# | src/SixtenLabs.SpawnOfVulkan/Structs/PipelineColorBlendAttachmentState.cs | SixtenLabs/SpawnOfVulkan | 58aa8362d6283f57bb5d4730e60f1c2ef26de9f9 | [
"Unlicense"
] | null | null | null | src/SixtenLabs.SpawnOfVulkan/Structs/PipelineColorBlendAttachmentState.cs | SixtenLabs/SpawnOfVulkan | 58aa8362d6283f57bb5d4730e60f1c2ef26de9f9 | [
"Unlicense"
] | 15 | 2016-05-13T04:09:55.000Z | 2016-05-29T18:49:21.000Z | src/SixtenLabs.SpawnOfVulkan/Structs/PipelineColorBlendAttachmentState.cs | SixtenLabs/SpawnOfVulkan | 58aa8362d6283f57bb5d4730e60f1c2ef26de9f9 | [
"Unlicense"
] | null | null | null | using System;
namespace SixtenLabs.SpawnOfVulkan
{
public struct PipelineColorBlendAttachmentState
{
internal uint BlendEnable;
internal BlendFactor SrcColorBlendFactor;
internal BlendFactor DstColorBlendFactor;
internal BlendOp ColorBlendOp;
internal BlendFactor SrcAlp... | 30.25 | 52 | 0.739669 |
d1b01ff482c82b67405f2f1aae9a2fca399b1c42 | 3,106 | lua | Lua | voxconvert/scripts/modules/perlin.lua | dj24/com.vox.importer | 32dacbec7682c15923add10e76cd8feaf12fba5d | [
"MIT"
] | null | null | null | voxconvert/scripts/modules/perlin.lua | dj24/com.vox.importer | 32dacbec7682c15923add10e76cd8feaf12fba5d | [
"MIT"
] | null | null | null | voxconvert/scripts/modules/perlin.lua | dj24/com.vox.importer | 32dacbec7682c15923add10e76cd8feaf12fba5d | [
"MIT"
] | null | null | null | local module = {}
module.p = {}
module.permutation = {
151,
160,
137,
91,
90,
15,
131,
13,
201,
95,
96,
53,
194,
233,
7,
225,
140,
36,
103,
30,
69,
142,
8,
99,
37,
240,
21,
10,
23,
190,
6,
148,
247,
120,
234,
75,
0,
26,
197,
62,
94,
252,
219,
203,
117,
35,
11,
32,
57,
... | 9.440729 | 113 | 0.512878 |
752ae1d1fd114619bef3775625ea48b02478c6d1 | 1,009 | kt | Kotlin | vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/ext/shell/system/Process.kt | jo5ef/vertx-stack-generation | 15be5c0e93e68aa64e4daffe97d60580c081d1cc | [
"Apache-2.0"
] | null | null | null | vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/ext/shell/system/Process.kt | jo5ef/vertx-stack-generation | 15be5c0e93e68aa64e4daffe97d60580c081d1cc | [
"Apache-2.0"
] | null | null | null | vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/ext/shell/system/Process.kt | jo5ef/vertx-stack-generation | 15be5c0e93e68aa64e4daffe97d60580c081d1cc | [
"Apache-2.0"
] | null | null | null | package io.vertx.kotlin.ext.shell.system
import io.vertx.ext.shell.system.Process
import io.vertx.kotlin.coroutines.awaitEvent
suspend fun Process.terminatedHandlerAwait() : Int {
return awaitEvent{
this.terminatedHandler(it)
}
}
suspend fun Process.resumeAwait() : Unit {
return awaitEvent{
... | 24.02381 | 62 | 0.666997 |
dd577729f7e7a3d29c2fc1a34c06b9d90f4e4b59 | 516 | java | Java | cq-component-maven-plugin/src/main/java/com/citytechinc/cq/component/touchuidialog/widget/richtexteditor/Toolbar.java | d-wells/cq-component-maven-plugin | 3355f18e7a85bdde3e9cb2367e8c1a372674b0f3 | [
"Apache-2.0"
] | 12 | 2016-11-22T16:17:45.000Z | 2018-12-20T02:05:22.000Z | cq-component-maven-plugin/src/main/java/com/citytechinc/cq/component/touchuidialog/widget/richtexteditor/Toolbar.java | d-wells/cq-component-maven-plugin | 3355f18e7a85bdde3e9cb2367e8c1a372674b0f3 | [
"Apache-2.0"
] | 33 | 2016-10-12T23:20:35.000Z | 2019-01-16T16:17:24.000Z | cq-component-maven-plugin/src/main/java/com/citytechinc/cq/component/touchuidialog/widget/richtexteditor/Toolbar.java | d-wells/cq-component-maven-plugin | 3355f18e7a85bdde3e9cb2367e8c1a372674b0f3 | [
"Apache-2.0"
] | 24 | 2016-10-20T15:06:04.000Z | 2018-11-30T20:58:08.000Z | package com.citytechinc.cq.component.touchuidialog.widget.richtexteditor;
import com.citytechinc.cq.component.touchuidialog.AbstractTouchUIDialogElement;
public class Toolbar extends AbstractTouchUIDialogElement {
public static final String PRIMARY_TYPE = "nt:unstructured";
private final String[] toolbar;
... | 24.571429 | 79 | 0.738372 |
02b5bb9265bb91309d903aabeea6f808b28c3303 | 11,217 | cpp | C++ | src/i2c_bus.cpp | Robo-Wunderkind/RoboWunderkinduino | 09a01b6e417b6a8196fe152c592bf13c227d909b | [
"Apache-2.0"
] | 3 | 2022-02-08T18:38:03.000Z | 2022-02-08T19:53:01.000Z | src/i2c_bus.cpp | Robo-Wunderkind/RoboWunduino | 09a01b6e417b6a8196fe152c592bf13c227d909b | [
"Apache-2.0"
] | null | null | null | src/i2c_bus.cpp | Robo-Wunderkind/RoboWunduino | 09a01b6e417b6a8196fe152c592bf13c227d909b | [
"Apache-2.0"
] | null | null | null | #include <driver/i2c.h>
#include <Wire.h>
#include "i2c_bus.h"
#include "module_handler.h"
static uint8_t i2c_devices[MAX_DYNAMIC_I2C_ADD+1] = {0};
static uint8_t i2c_devices_new[MAX_DYNAMIC_I2C_ADD+1] = {0};
static uint8_t i2c_devices_disconnection_count[MAX_DYNAMIC_I2C_ADD+1] = {0};
static SemaphoreHandle_t i2c_mut... | 34.835404 | 170 | 0.608719 |
af2617356da33a1a2a443e9d75c0c43c7803552e | 682 | py | Python | forms.py | benjithorpe/puny | 4429bb6c4b99a3a5839054d863609e9f87e3a2d5 | [
"MIT"
] | null | null | null | forms.py | benjithorpe/puny | 4429bb6c4b99a3a5839054d863609e9f87e3a2d5 | [
"MIT"
] | null | null | null | forms.py | benjithorpe/puny | 4429bb6c4b99a3a5839054d863609e9f87e3a2d5 | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField, PasswordField
from wtforms.validators import DataRequired
class LoginForm(FlaskForm):
username = StringField("Username", validators=[DataRequired()])
password = PasswordField("Password", validators=[DataRequired()])
login_btn = ... | 37.888889 | 69 | 0.747801 |
7786651908342bb4bcd4a638ab5fcb639a0bf068 | 19,216 | c | C | postgresql/src/backend/executor/execTuples.c | anjingbin/starccm | 70db48004aa20bbb82cc24de80802b40c7024eff | [
"BSD-3-Clause"
] | 2 | 2020-01-06T07:43:30.000Z | 2020-07-11T20:53:53.000Z | postgresql/src/backend/executor/execTuples.c | anjingbin/starccm | 70db48004aa20bbb82cc24de80802b40c7024eff | [
"BSD-3-Clause"
] | null | null | null | postgresql/src/backend/executor/execTuples.c | anjingbin/starccm | 70db48004aa20bbb82cc24de80802b40c7024eff | [
"BSD-3-Clause"
] | null | null | null | /*-------------------------------------------------------------------------
*
* execTuples.c
* Routines dealing with the executor tuple tables. These are used to
* ensure that the executor frees copies of tuples (made by
* ExecTargetList) properly.
*
* Routines dealing with the type information for tuple... | 28.426036 | 121 | 0.626821 |
0db2f3a8db81fa48165aa403551fc37a48342f86 | 446 | cs | C# | Solid.InterfaceSegregation/PaymentProcessors/After/CashPaymentProcessor.cs | fooberichu150/solid-icp | ae427b367015291aedbae64adb18c678841d60b6 | [
"MIT"
] | 1 | 2020-08-15T06:14:27.000Z | 2020-08-15T06:14:27.000Z | Solid.InterfaceSegregation/PaymentProcessors/After/CashPaymentProcessor.cs | fooberichu150/solid-icp | ae427b367015291aedbae64adb18c678841d60b6 | [
"MIT"
] | null | null | null | Solid.InterfaceSegregation/PaymentProcessors/After/CashPaymentProcessor.cs | fooberichu150/solid-icp | ae427b367015291aedbae64adb18c678841d60b6 | [
"MIT"
] | null | null | null | using System;
using Solid.InterfaceSegregation.Models;
namespace Solid.InterfaceSegregation.PaymentProcessors.After
{
public class CashPaymentProcessor : ICapturablePaymentProcessor
{
public void Initialize(IPaymentItem payment)
{
Payment = payment;
}
public IPaymentItem Payment { get; priva... | 19.391304 | 65 | 0.717489 |
6877c97b739468a8806ccf5ae93c901b297bbb2e | 185 | dart | Dart | web/main.dart | pikalaw/mdc-web-dart | ebfb71bea7455dd7e1df60920a0aff2bf57cd02c | [
"MIT"
] | null | null | null | web/main.dart | pikalaw/mdc-web-dart | ebfb71bea7455dd7e1df60920a0aff2bf57cd02c | [
"MIT"
] | null | null | null | web/main.dart | pikalaw/mdc-web-dart | ebfb71bea7455dd7e1df60920a0aff2bf57cd02c | [
"MIT"
] | null | null | null | import 'package:angular/angular.dart';
import 'package:mdc_web/src/mdc_web_demo/mdc_web_demo_component.template.dart' as ng;
void main() {
runApp(ng.MdcWebDemoComponentNgFactory);
}
| 26.428571 | 85 | 0.8 |
e0065509e3634115bdd63caa24958bdd3a03fad8 | 614 | h | C | RDV+RT/RDV+RT/Custom/Libs/UIImage+Image.h | snowboy234/RDV-RT | 29c12972eb9cb457f951e6507b52e6807a3b0d00 | [
"Apache-2.0"
] | null | null | null | RDV+RT/RDV+RT/Custom/Libs/UIImage+Image.h | snowboy234/RDV-RT | 29c12972eb9cb457f951e6507b52e6807a3b0d00 | [
"Apache-2.0"
] | null | null | null | RDV+RT/RDV+RT/Custom/Libs/UIImage+Image.h | snowboy234/RDV-RT | 29c12972eb9cb457f951e6507b52e6807a3b0d00 | [
"Apache-2.0"
] | null | null | null | //
// UIImage+Image.h
// BuDeJie
//
// Created by 田伟 on 2017/1/18.
// Copyright © 2017年 公司. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (Image)
/** 创建一个内容可拉伸,而边角不拉伸的图片 */
+ (instancetype)imageWithStretchableName:(NSString *)imageName;
/** 根据图片名返回一张能够自由拉伸的图片 */
+(instancetype)resizedImage:... | 20.466667 | 63 | 0.723127 |
b0c631245ca3559a2ae221817f1108e7fe23e99c | 3,948 | lua | Lua | tests/unit/high_level_database.lua | LuaDist-testing/luchia | 0887d079a2cbf1f0225d391cfae06fbdf3f610f3 | [
"BSD-3-Clause"
] | 11 | 2015-08-13T23:43:50.000Z | 2016-11-07T19:13:40.000Z | tests/unit/high_level_database.lua | LuaDist-testing/luchia | 0887d079a2cbf1f0225d391cfae06fbdf3f610f3 | [
"BSD-3-Clause"
] | 2 | 2015-01-17T19:02:42.000Z | 2019-01-03T16:12:11.000Z | tests/unit/high_level_database.lua | LuaDist-testing/luchia | 0887d079a2cbf1f0225d391cfae06fbdf3f610f3 | [
"BSD-3-Clause"
] | 1 | 2015-02-24T21:18:00.000Z | 2015-02-24T21:18:00.000Z | local lunatest = require "lunatest"
local assert_equal = lunatest.assert_equal
local assert_function = lunatest.assert_function
local assert_table = lunatest.assert_table
local common = require "common_test_functions"
local database = require "luchia.database"
local good_protocol = common.server_good_protocol
local g... | 31.086614 | 78 | 0.802178 |
4da6b69b9cb903be67da186cf1e29bd550f3c21e | 5,198 | dart | Dart | lib/projects.dart | jarrodg05/Kickstarter-Tracker | 876196de7aca01b75ecb13ecaafe6b98216c6522 | [
"MIT"
] | null | null | null | lib/projects.dart | jarrodg05/Kickstarter-Tracker | 876196de7aca01b75ecb13ecaafe6b98216c6522 | [
"MIT"
] | null | null | null | lib/projects.dart | jarrodg05/Kickstarter-Tracker | 876196de7aca01b75ecb13ecaafe6b98216c6522 | [
"MIT"
] | null | null | null | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'pledge.dart';
/// a class that stores and manages/delegates all the information for a particular project
class Project
{
String id;
Widget image;
String name;
String pub... | 26.793814 | 123 | 0.634475 |
641f05b97594a95090cc684863a9544b61050717 | 2,483 | py | Python | fastapi+filesUpdate/main.py | DeSireFire/Fastapi-sample | a7999aedfc25494f5fd6120c7b8042aa8d130693 | [
"MIT"
] | null | null | null | fastapi+filesUpdate/main.py | DeSireFire/Fastapi-sample | a7999aedfc25494f5fd6120c7b8042aa8d130693 | [
"MIT"
] | null | null | null | fastapi+filesUpdate/main.py | DeSireFire/Fastapi-sample | a7999aedfc25494f5fd6120c7b8042aa8d130693 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Author : RaXianch
# CreatDATE : 2021/8/21
# CreatTIME : 20:15
# Blog : https://blog.raxianch.moe/
# Github : https://github.com/DeSireFire
__author__ = 'RaXianch'
from typing import List
import uvicorn
import time
from fastapi import FastAPI, File, UploadFile... | 26.136842 | 77 | 0.604913 |
4d7bdc3d915789bd94a31681a08428ab457493a5 | 1,001 | cs | C# | src/Inflatable/QueryProvider/CachedResult.cs | cjwang/Inflatable | 64601b3ce6d46e5752a77b6f72dbc8764c3517a9 | [
"Apache-2.0"
] | 1 | 2020-10-09T06:17:44.000Z | 2020-10-09T06:17:44.000Z | src/Inflatable/QueryProvider/CachedResult.cs | cjwang/Inflatable | 64601b3ce6d46e5752a77b6f72dbc8764c3517a9 | [
"Apache-2.0"
] | null | null | null | src/Inflatable/QueryProvider/CachedResult.cs | cjwang/Inflatable | 64601b3ce6d46e5752a77b6f72dbc8764c3517a9 | [
"Apache-2.0"
] | null | null | null | using BigBook;
using System;
namespace Inflatable.QueryProvider
{
/// <summary>
/// Cached result
/// </summary>
public class CachedResult
{
/// <summary>
/// Initializes a new instance of the <see cref="QueryResults"/> class.
/// </summary>
/// <param name="value">... | 28.6 | 79 | 0.547453 |
bd4a8510140eed17efcc57dfabf8a4652f9b3cc0 | 363 | sql | SQL | Aula06.sql | TulioEstrelaMarques/CeV--MySQL | ff85549ff0cebb95a58d5fea3385c9960ac30114 | [
"MIT"
] | null | null | null | Aula06.sql | TulioEstrelaMarques/CeV--MySQL | ff85549ff0cebb95a58d5fea3385c9960ac30114 | [
"MIT"
] | null | null | null | Aula06.sql | TulioEstrelaMarques/CeV--MySQL | ff85549ff0cebb95a58d5fea3385c9960ac30114 | [
"MIT"
] | null | null | null | desc gafanhotos;
alter table pessoas
rename to gafanhotos;
alter table pessoas
add column profissao varchar(10) after nome;
alter table pessoas
modify profissao varchar(20) not null default '';
alter table pessoas
change profissao prof varchar(20);
alter table pessoas
add codigo int first;
alter table pessoas
dro... | 17.285714 | 49 | 0.796143 |
552a4a4c12ac398e670cfd3f44d94b90a7236ec5 | 4,248 | cs | C# | Controllers/PDF/AdventureCycleController.cs | ESA-Security-Group/ej2-aspnetmvc-samples | b62e3643d8aeca022b479f80629b9d822d395e83 | [
"Net-SNMP",
"Xnet"
] | null | null | null | Controllers/PDF/AdventureCycleController.cs | ESA-Security-Group/ej2-aspnetmvc-samples | b62e3643d8aeca022b479f80629b9d822d395e83 | [
"Net-SNMP",
"Xnet"
] | null | null | null | Controllers/PDF/AdventureCycleController.cs | ESA-Security-Group/ej2-aspnetmvc-samples | b62e3643d8aeca022b479f80629b9d822d395e83 | [
"Net-SNMP",
"Xnet"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Web.Mvc;
using Syncfusion.Mvc.Pdf;
using Syncfusion.Pdf;
using Syncfusion.Pdf.Graphics;
using Syncfusion.Pdf.Grid;
using System.Data;
using System.Drawing;
namespace EJ2MVCSampleBrowser.Controllers.PDF
{
public partial class PdfController : Controller
... | 35.4 | 191 | 0.605461 |
f6047b76f879576f6b508db222ab767c8389dd2d | 42 | sql | SQL | src/main/resources/com/intirix/openmm/server/mt/technical/sql/user_delete.sql | intirix/openmm-server | be8216786cf0ed2a5d4caf8b12df666bf30dae7e | [
"MIT"
] | null | null | null | src/main/resources/com/intirix/openmm/server/mt/technical/sql/user_delete.sql | intirix/openmm-server | be8216786cf0ed2a5d4caf8b12df666bf30dae7e | [
"MIT"
] | null | null | null | src/main/resources/com/intirix/openmm/server/mt/technical/sql/user_delete.sql | intirix/openmm-server | be8216786cf0ed2a5d4caf8b12df666bf30dae7e | [
"MIT"
] | null | null | null | DELETE FROM OPENMM_USERS WHERE USER_ID = ? | 42 | 42 | 0.809524 |
af3e99a26c03f2c02ecef61a164d1637f51c55f6 | 31,425 | py | Python | TOFAnalyzer_DRS4_New_Hit_Finder.py | stevenblock2/DRS4-Analysis-Code-Python | 699c6a18d256bc35d2d378fe580e9a74aeb5d094 | [
"MIT"
] | null | null | null | TOFAnalyzer_DRS4_New_Hit_Finder.py | stevenblock2/DRS4-Analysis-Code-Python | 699c6a18d256bc35d2d378fe580e9a74aeb5d094 | [
"MIT"
] | null | null | null | TOFAnalyzer_DRS4_New_Hit_Finder.py | stevenblock2/DRS4-Analysis-Code-Python | 699c6a18d256bc35d2d378fe580e9a74aeb5d094 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
"""
October 25, 2018
Author: Steven Block
TOF_Analyzer_DRS4.py
This program takes data from a DRS4 data file and computes:
Per Channel:
Pulse height distributions
Rise/Fall Times based on polarity
A Combination of possible Time of Flights to establish best two detectors.
Future work:
-... | 42.124665 | 353 | 0.601623 |
05a1b393a2b21fbdf2f4c35ecd5816be8d29078a | 1,685 | py | Python | tests/server_test.py | SpringerPE/newrelic-alerts-manager | 5e7178aef2a7a4763857c3f0d50ccb38bacb006d | [
"MIT"
] | null | null | null | tests/server_test.py | SpringerPE/newrelic-alerts-manager | 5e7178aef2a7a4763857c3f0d50ccb38bacb006d | [
"MIT"
] | null | null | null | tests/server_test.py | SpringerPE/newrelic-alerts-manager | 5e7178aef2a7a4763857c3f0d50ccb38bacb006d | [
"MIT"
] | null | null | null | import unittest
import requests
import requests_mock
import yaml
import json
import datetime
from newrelic_alerting.server import ServersManager, ServersDataManager
two_hours_ago = (
datetime.datetime.utcnow() - datetime.timedelta(hours=2)
).strftime('%Y-%m-%dT%H:%M:%S+00:00')
just_now = (datetime.datetime.utcnow()... | 21.602564 | 75 | 0.698516 |
b042d7e2b23075d8bbab3fe77f9c5aab496ac644 | 543 | py | Python | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/extensions.py | T8840/FlaskSkeleton | 544d2a509d992c0d3d7f20855811c384fca1a7f5 | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/extensions.py | T8840/FlaskSkeleton | 544d2a509d992c0d3d7f20855811c384fca1a7f5 | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/extensions.py | T8840/FlaskSkeleton | 544d2a509d992c0d3d7f20855811c384fca1a7f5 | [
"MIT"
] | null | null | null | """扩展模块。每个扩展在app.py中的app工厂中初始化."""
from flask_bcrypt import Bcrypt
from flask_caching import Cache
from flask_cors import CORS
from flask_debugtoolbar import DebugToolbarExtension
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_marshmallow import Marshmallow
from {{cookiecutter.app... | 27.15 | 64 | 0.815838 |
b9f057feb651d7d65ea41c20cfe548e182ec071b | 699 | dart | Dart | lib/design_patterns/builder/burger_builders/hamburger_builder.dart | victorcatn/flutter-design-patterns | ad8a65230bc29e785156ba574631da2fd51600de | [
"MIT"
] | 650 | 2020-12-07T06:17:27.000Z | 2022-03-31T18:04:51.000Z | lib/design_patterns/builder/burger_builders/hamburger_builder.dart | victorcatn/flutter-design-patterns | ad8a65230bc29e785156ba574631da2fd51600de | [
"MIT"
] | 12 | 2020-12-13T12:54:47.000Z | 2022-02-25T11:32:44.000Z | lib/design_patterns/builder/burger_builders/hamburger_builder.dart | victorcatn/flutter-design-patterns | ad8a65230bc29e785156ba574631da2fd51600de | [
"MIT"
] | 136 | 2020-12-07T17:32:07.000Z | 2022-03-29T16:54:27.000Z | import '../burger_builder_base.dart';
import '../ingredients/index.dart';
class HamburgerBuilder extends BurgerBuilderBase {
HamburgerBuilder() {
price = 1.0;
}
@override
void addBuns() {
burger.addIngredient(RegularBun());
}
@override
void addCheese() {
// Not needed
}
@override
voi... | 17.04878 | 50 | 0.660944 |
b909222bddaf0414336790ed23872ec1ea1532c0 | 168 | cc | C++ | c_src/allocators.cc | silviucpp/ezlib | f7b74e29d26a9359062894c2e05649be2fca1868 | [
"MIT"
] | 16 | 2016-01-12T21:36:32.000Z | 2022-01-13T13:28:43.000Z | c_src/allocators.cc | silviucpp/ezlib | f7b74e29d26a9359062894c2e05649be2fca1868 | [
"MIT"
] | 2 | 2016-01-11T22:20:01.000Z | 2018-10-09T20:11:07.000Z | c_src/allocators.cc | silviucpp/ezlib | f7b74e29d26a9359062894c2e05649be2fca1868 | [
"MIT"
] | 3 | 2016-01-11T16:12:50.000Z | 2020-12-02T21:44:31.000Z | #include "allocators.h"
#include "erl_nif.h"
void* mem_allocate(size_t size)
{
return enif_alloc(size);
}
void mem_deallocate(void* ptr)
{
enif_free(ptr);
}
| 12 | 31 | 0.690476 |
2c7e801237ea626ae741f5008f2cad677b7389ef | 6,536 | cpp | C++ | Homeworks/miscellaneous/LW15/grade_calculator.cpp | sameer-h/CSCE121 | b6a302bfc248bfaedd03ab38060e12163458c7f8 | [
"MIT"
] | 1 | 2020-11-01T21:02:03.000Z | 2020-11-01T21:02:03.000Z | Homeworks/miscellaneous/LW15/grade_calculator.cpp | sameer-h/CSCE121 | b6a302bfc248bfaedd03ab38060e12163458c7f8 | [
"MIT"
] | null | null | null | Homeworks/miscellaneous/LW15/grade_calculator.cpp | sameer-h/CSCE121 | b6a302bfc248bfaedd03ab38060e12163458c7f8 | [
"MIT"
] | null | null | null | #include <vector>
#include <string>
#include <fstream>
#include <stdexcept>
#include "grade_calculator.h"
////////////////////////////////////////////////////////////////////////////////
// TODO(student): implement these methods
double GradeCalculator::exam_average() const {
// TODO(student)
double ... | 25.333333 | 116 | 0.544829 |
96ee07a318220b1755b8e88d53e69da25f26c709 | 458 | cs | C# | UptimeKumaRemoteProbe/GlobalUsings.cs | zimbres/UptimeKumaRemoteProbe | 91a2ae88b2d5bd81c857826b017f5ecd269e19e2 | [
"MIT"
] | 1 | 2022-03-29T22:46:45.000Z | 2022-03-29T22:46:45.000Z | UptimeKumaRemoteProbe/GlobalUsings.cs | zimbres/UptimeKumaRemoteProbe | 91a2ae88b2d5bd81c857826b017f5ecd269e19e2 | [
"MIT"
] | null | null | null | UptimeKumaRemoteProbe/GlobalUsings.cs | zimbres/UptimeKumaRemoteProbe | 91a2ae88b2d5bd81c857826b017f5ecd269e19e2 | [
"MIT"
] | null | null | null | global using Microsoft.EntityFrameworkCore;
global using Microsoft.Extensions.DependencyInjection.Extensions;
global using Microsoft.Extensions.Http;
global using System.Diagnostics;
global using System.Net.NetworkInformation;
global using System.Net.Sockets;
global using System.Reflection;
global using UptimeKumaRemo... | 38.166667 | 65 | 0.868996 |
dfdcf6b1ba4fa6af0a384fb503b2ac31a029d2a2 | 246 | cs | C# | TBNMobile/TBNMobile/DependencyServices/IAudioPlayer.cs | Surye/tbnmobile | d03ed9d3d137b4811242fc022fe013cf0aac5609 | [
"MIT"
] | null | null | null | TBNMobile/TBNMobile/DependencyServices/IAudioPlayer.cs | Surye/tbnmobile | d03ed9d3d137b4811242fc022fe013cf0aac5609 | [
"MIT"
] | null | null | null | TBNMobile/TBNMobile/DependencyServices/IAudioPlayer.cs | Surye/tbnmobile | d03ed9d3d137b4811242fc022fe013cf0aac5609 | [
"MIT"
] | null | null | null | namespace TBNMobile.DependencyServices
{
public interface IAudioPlayer
{
void Init();
void PlayStreamingAudio(string uri, string title = "");
void PauseStreamingAudio();
void StopStreamingAudio();
}
}
| 22.363636 | 63 | 0.642276 |
c983009778406c6e38266a986819f2cb38f53a30 | 4,194 | ts | TypeScript | src/app/shared/components/create-invoice-form/create-invoice-form.component.ts | valitydev/dashboard | 604926d0554f16e169ab4145b1aa08484f331bc9 | [
"Apache-2.0"
] | 1 | 2022-01-14T12:18:26.000Z | 2022-01-14T12:18:26.000Z | src/app/shared/components/create-invoice-form/create-invoice-form.component.ts | valitydev/dashboard | 604926d0554f16e169ab4145b1aa08484f331bc9 | [
"Apache-2.0"
] | 11 | 2022-01-13T16:15:57.000Z | 2022-03-02T13:07:56.000Z | src/app/shared/components/create-invoice-form/create-invoice-form.component.ts | valitydev/dashboard | 604926d0554f16e169ab4145b1aa08484f331bc9 | [
"Apache-2.0"
] | null | null | null | import { ChangeDetectionStrategy, Component, Injector, Input, OnInit, Output, EventEmitter } from '@angular/core';
import { FormArray, FormBuilder, FormGroup } from '@ngneat/reactive-forms';
import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
import { provideValueAccessor, WrappedFormControlSuperclass... | 34.661157 | 116 | 0.628517 |
21d245e04d1dbd2970c466e0da6a84a87325274b | 7,015 | js | JavaScript | src/parser.js | ogonkov/djanjucks | 36c0e58b0ae8805f6a4a31fbde36e880ee30f2cc | [
"MIT"
] | 6 | 2019-07-15T09:40:14.000Z | 2021-07-01T15:29:01.000Z | src/parser.js | ogonkov/djanjucks | 36c0e58b0ae8805f6a4a31fbde36e880ee30f2cc | [
"MIT"
] | 5 | 2019-09-10T20:32:43.000Z | 2021-05-10T01:38:05.000Z | src/parser.js | ogonkov/djanjucks | 36c0e58b0ae8805f6a4a31fbde36e880ee30f2cc | [
"MIT"
] | 2 | 2019-09-10T20:16:16.000Z | 2019-10-27T22:45:26.000Z | import lexer from 'nunjucks/src/lexer';
import { Parser } from 'nunjucks/src/parser';
import nodes from './nodes';
class DjangoParser extends Parser {
// Nunjucks wants kwargs in tags to be comma separated.
// However this is not required in django.
// This parserSignature bypasses that requirement
parseSignat... | 25.233813 | 78 | 0.586458 |
c3dd90e5294e18cba3c3c0a679503ce1d01f73be | 122 | cs | C# | Assets/Dark Forces Showcase/Menu/ShowcaseList.cs | The-MAZZTer/DarkForces | dfc1a9469b84569f5b73dcd75f7a4bf1dee5b591 | [
"MIT"
] | 1 | 2021-08-24T06:48:25.000Z | 2021-08-24T06:48:25.000Z | Assets/Dark Forces Showcase/Menu/ShowcaseList.cs | The-MAZZTer/DarkForces | dfc1a9469b84569f5b73dcd75f7a4bf1dee5b591 | [
"MIT"
] | null | null | null | Assets/Dark Forces Showcase/Menu/ShowcaseList.cs | The-MAZZTer/DarkForces | dfc1a9469b84569f5b73dcd75f7a4bf1dee5b591 | [
"MIT"
] | null | null | null | using MZZT.DataBinding;
namespace MZZT.DarkForces.Showcase {
public class ShowcaseList : DataboundList<Showcase> {
}
}
| 17.428571 | 54 | 0.778689 |
e7335cced147cdd0c6b5fc759587041015ff5462 | 1,548 | php | PHP | resources/views/gestion-administrativa/estado/edit.blade.php | sergio41291/mrp | 464f1c6ed78e88fc547d478acc97bcf5dabb9104 | [
"MIT"
] | null | null | null | resources/views/gestion-administrativa/estado/edit.blade.php | sergio41291/mrp | 464f1c6ed78e88fc547d478acc97bcf5dabb9104 | [
"MIT"
] | null | null | null | resources/views/gestion-administrativa/estado/edit.blade.php | sergio41291/mrp | 464f1c6ed78e88fc547d478acc97bcf5dabb9104 | [
"MIT"
] | null | null | null | @extends ('layouts.menu')
@section('title', 'Gestión Administrativa | MRP')
@section('styles')
<style>
.row {
text-align: center !important;
padding-left: 20px;
padding-right: 20px;
}
.info {
padding-top: 40px;
}
</style>
@endsection
@section('contenid... | 29.769231 | 121 | 0.514212 |
5de684c7717dbf2a1d68490ef2667d6945ae4c94 | 454 | cc | C++ | src/Plugin.cc | DynamiteAI/bro-community-id | abcff5b3de25e6d70fb22d6e63e4b123f2e6106f | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 18 | 2018-06-23T17:55:15.000Z | 2020-04-03T05:36:55.000Z | src/Plugin.cc | DynamiteAI/bro-community-id | abcff5b3de25e6d70fb22d6e63e4b123f2e6106f | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 12 | 2020-04-19T20:56:52.000Z | 2022-03-05T01:05:29.000Z | src/Plugin.cc | DynamiteAI/bro-community-id | abcff5b3de25e6d70fb22d6e63e4b123f2e6106f | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 13 | 2018-02-02T00:36:53.000Z | 2020-04-03T12:08:08.000Z |
#include "Plugin.h"
namespace plugin { namespace Corelight_CommunityID { Plugin plugin; } }
using namespace plugin::Corelight_CommunityID;
zeek::plugin::Configuration Plugin::Configure()
{
zeek::plugin::Configuration config;
config.name = "Corelight::CommunityID";
config.description = "\"Community ID\" flow has... | 25.222222 | 81 | 0.746696 |
6b708590fdba2f493bd5b4ec0ae8a09e6d124a99 | 1,432 | js | JavaScript | demos/tyadmin_demo_finish/tyadmin/src/pages/AutoGenPage/RichTextDemoList/service.js | a24zlab/django-antd-tyadmin | 49797ecbb477b00fc934b774fbc33a4dc23f9d80 | [
"MIT"
] | 308 | 2021-02-04T08:18:13.000Z | 2022-03-30T10:38:30.000Z | demos/tyadmin_demo_finish/tyadmin/src/pages/AutoGenPage/RichTextDemoList/service.js | a24zlab/django-antd-tyadmin | 49797ecbb477b00fc934b774fbc33a4dc23f9d80 | [
"MIT"
] | 23 | 2021-02-02T08:29:02.000Z | 2022-03-08T13:14:55.000Z | demos/tyadmin_demo_finish/tyadmin/src/pages/AutoGenPage/RichTextDemoList/service.js | a24zlab/django-antd-tyadmin | 49797ecbb477b00fc934b774fbc33a4dc23f9d80 | [
"MIT"
] | 90 | 2021-02-03T08:03:17.000Z | 2022-03-31T19:03:02.000Z | import request from 'umi-request';
import { buildFileFormData } from '@/utils/utils'
export async function queryRichTextDemo(params) {
return request('/api/xadmin/v1/rich_text_demo', {
params,
});
}
export async function removeRichTextDemo(params) {
return request(`/api/xadmin/v1/rich_text_demo/${params}`, {... | 27.018868 | 65 | 0.710196 |
eba79ea45328ff544f8f5295fa09ae63718edfb4 | 17,659 | css | CSS | dist/profession_hospital_card/css/index.css | wepayui/wepayui | a36ed554397bfd072664e32e7ba153b2b48103ea | [
"MIT"
] | 439 | 2016-12-01T05:21:54.000Z | 2021-12-21T02:34:05.000Z | dist/profession_hospital_card/css/index.css | wepayui/wepayui | a36ed554397bfd072664e32e7ba153b2b48103ea | [
"MIT"
] | 5 | 2016-12-22T13:28:00.000Z | 2018-10-22T06:47:16.000Z | src/project/profession/profession_hospital_card/css/index.css | wepayui/wepayui | a36ed554397bfd072664e32e7ba153b2b48103ea | [
"MIT"
] | 96 | 2016-12-05T08:52:32.000Z | 2021-12-21T02:33:56.000Z | /* ============================================================
样式重置
============================================================ */
ul,dl,ol{list-style:none;}
img,fieldset,input[type="submit"]{border:0 none;}
img{display:inline-block;overflow:hidden;vertical-align:top;}
em{font-style:normal;}
strong{font-weight:... | 92.455497 | 1,704 | 0.7736 |
b8c99cd096f50bd8c32f73c930e9f88b628ae9ba | 1,958 | h | C | src/resource/types.h | seedhartha/revan | b9a98007ca2f510b42894ecd09fb623571b433dc | [
"MIT"
] | 37 | 2020-06-27T18:50:48.000Z | 2020-08-02T14:13:51.000Z | src/resource/types.h | seedhartha/revan | b9a98007ca2f510b42894ecd09fb623571b433dc | [
"MIT"
] | null | null | null | src/resource/types.h | seedhartha/revan | b9a98007ca2f510b42894ecd09fb623571b433dc | [
"MIT"
] | 1 | 2020-07-14T13:32:15.000Z | 2020-07-14T13:32:15.000Z | /*
* Copyright (c) 2020-2022 The reone project contributors
*
* 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, either version 3 of the License, or
* (at your option) any later version.
*
... | 19.58 | 73 | 0.589377 |
33a67fc384b29ea840c34e10e6eab33aba6c4130 | 37,687 | go | Go | pkg/chaosdaemon/pb/chaosdaemon.pb.go | at15/chaos-mesh | 8f063e6ccd725db72781b7ff5cd5e884feee5723 | [
"Apache-2.0"
] | null | null | null | pkg/chaosdaemon/pb/chaosdaemon.pb.go | at15/chaos-mesh | 8f063e6ccd725db72781b7ff5cd5e884feee5723 | [
"Apache-2.0"
] | null | null | null | pkg/chaosdaemon/pb/chaosdaemon.pb.go | at15/chaos-mesh | 8f063e6ccd725db72781b7ff5cd5e884feee5723 | [
"Apache-2.0"
] | null | null | null | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: chaosdaemon.proto
package chaosdaemon
import (
context "context"
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status... | 35.221495 | 174 | 0.713615 |
420b111c8af47343eab05b19b20823d89547a2b4 | 1,399 | swift | Swift | twitter_alamofire_demo/ProfileViewController.swift | tuotuoZ/simple_twitter | c3a2194ed3478219ad60f899a3007b13f83915ac | [
"Apache-2.0"
] | null | null | null | twitter_alamofire_demo/ProfileViewController.swift | tuotuoZ/simple_twitter | c3a2194ed3478219ad60f899a3007b13f83915ac | [
"Apache-2.0"
] | 1 | 2018-10-25T10:21:08.000Z | 2018-11-13T09:43:52.000Z | twitter_alamofire_demo/ProfileViewController.swift | tuotuoZ/simple_twitter | c3a2194ed3478219ad60f899a3007b13f83915ac | [
"Apache-2.0"
] | null | null | null | //
// ProfileViewController.swift
// twitter_alamofire_demo
//
// Created by Tony Zhang on 11/13/18.
// Copyright © 2018 Charles Hieger. All rights reserved.
//
import UIKit
class ProfileViewController: UIViewController {
@IBOutlet weak var profileImage: UIImageView!
@IBOutlet weak var fullName: UIL... | 27.98 | 106 | 0.673338 |
8c01e71b4471f503877c14ab1307dee4a5436a71 | 134 | cs | C# | src/Fibon.Messages/Events/IEvent.cs | yavuzmurat/Fibon | 4cdf1e6ed22285048ae880e8838707983a9cd72d | [
"MIT"
] | 16 | 2017-06-26T16:51:49.000Z | 2020-06-09T18:54:36.000Z | src/Fibon.Messages/Events/IEvent.cs | yavuzmurat/Fibon | 4cdf1e6ed22285048ae880e8838707983a9cd72d | [
"MIT"
] | null | null | null | src/Fibon.Messages/Events/IEvent.cs | yavuzmurat/Fibon | 4cdf1e6ed22285048ae880e8838707983a9cd72d | [
"MIT"
] | 26 | 2017-06-24T08:35:52.000Z | 2021-01-24T00:56:21.000Z | using System.Threading.Tasks;
namespace Fibon.Messages.Events
{
//Marker interface
public interface IEvent
{
}
}
| 13.4 | 31 | 0.664179 |
4d4964b793e73d56f6d3f8ca0b9545e2c5000901 | 165 | cs | C# | source/BaseCommand.cs | jmanuelcorral/RedisRemoteClient | 218aaddeff97c072daa282bc573dde6d7041584c | [
"MIT"
] | null | null | null | source/BaseCommand.cs | jmanuelcorral/RedisRemoteClient | 218aaddeff97c072daa282bc573dde6d7041584c | [
"MIT"
] | null | null | null | source/BaseCommand.cs | jmanuelcorral/RedisRemoteClient | 218aaddeff97c072daa282bc573dde6d7041584c | [
"MIT"
] | null | null | null | namespace LiteServer
{
public class BaseCommand
{
public string RemoteCommand { get; set; }
public string RemoteOutput { get; set; }
}
} | 20.625 | 49 | 0.618182 |
8348dcf75523a7212d2f000b872c4aa3b8c12951 | 409 | ts | TypeScript | grid-packages/ag-grid-vue3/lib/VueComponentFactory.d.ts | stevenhankin/ag-grid | 0c1f3688c38149d430224dd7702f491b186694b1 | [
"MIT"
] | 2 | 2021-12-11T02:20:11.000Z | 2021-12-11T02:23:53.000Z | grid-packages/ag-grid-vue3/lib/VueComponentFactory.d.ts | stevenhankin/ag-grid | 0c1f3688c38149d430224dd7702f491b186694b1 | [
"MIT"
] | null | null | null | grid-packages/ag-grid-vue3/lib/VueComponentFactory.d.ts | stevenhankin/ag-grid | 0c1f3688c38149d430224dd7702f491b186694b1 | [
"MIT"
] | null | null | null | import { AgGridVue } from './AgGridVue';
export declare class VueComponentFactory {
private static getComponentDefinition;
private static createComponentParams;
static createAndMountComponent(component: any, params: any, parent: AgGridVue): {
mountedComponent: import("vue").App<Element>;
com... | 37.181818 | 85 | 0.738386 |
a320ce471bbe61eb116a4ba492c618de1602affc | 318 | java | Java | baremaps-stream/src/main/java/com/baremaps/stream/ConsumerUtils.java | shahzadbacha/baremaps | 79f8542828b95180c511d082ab2f94db45211bef | [
"Apache-2.0"
] | null | null | null | baremaps-stream/src/main/java/com/baremaps/stream/ConsumerUtils.java | shahzadbacha/baremaps | 79f8542828b95180c511d082ab2f94db45211bef | [
"Apache-2.0"
] | null | null | null | baremaps-stream/src/main/java/com/baremaps/stream/ConsumerUtils.java | shahzadbacha/baremaps | 79f8542828b95180c511d082ab2f94db45211bef | [
"Apache-2.0"
] | null | null | null | package com.baremaps.stream;
import java.util.function.Consumer;
import java.util.function.Function;
public class ConsumerUtils {
private ConsumerUtils() {
}
public static <T> Function<T, T> consumeThenReturn(Consumer<T> consumer) {
return t -> {
consumer.accept(t);
return t;
};
}
}
| 15.9 | 76 | 0.672956 |
b47c01f32a111218e62ea0375550f3355938a530 | 1,133 | dart | Dart | lib/pages/product/ProductManager.dart | ea2305/Grocery-list | 952d8d30e0fc3aa791a13d247b0d9a167908d5a9 | [
"MIT"
] | null | null | null | lib/pages/product/ProductManager.dart | ea2305/Grocery-list | 952d8d30e0fc3aa791a13d247b0d9a167908d5a9 | [
"MIT"
] | null | null | null | lib/pages/product/ProductManager.dart | ea2305/Grocery-list | 952d8d30e0fc3aa791a13d247b0d9a167908d5a9 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
// Components - Widget
import 'package:product_list/components/ProductPreview.dart';
class ProductManager extends StatefulWidget {
@override
State<StatefulWidget> createState() {
return _ProductManager();
}
}
class _ProductManager extends State {
// Text content
... | 26.348837 | 77 | 0.606355 |
b0e16130d9096e5db8578a68e90406cbba2777c3 | 9,485 | py | Python | tests/integration/test_integration.py | windies21/loopchain | 6e96c8a7e006747af04187155678f2fae59e1389 | [
"Apache-2.0"
] | 105 | 2018-04-03T05:29:08.000Z | 2022-01-28T17:33:20.000Z | testcase/integration/test_integration.py | laurenceyoon/loopchain | e87032779be4715c135c2c91d2757d9c63bf4e31 | [
"Apache-2.0"
] | 135 | 2018-09-04T07:11:02.000Z | 2021-12-15T06:25:47.000Z | testcase/integration/test_integration.py | laurenceyoon/loopchain | e87032779be4715c135c2c91d2757d9c63bf4e31 | [
"Apache-2.0"
] | 46 | 2018-05-07T09:12:07.000Z | 2022-02-23T09:58:37.000Z | import random
import time
import pytest
from iconsdk.builder.transaction_builder import MessageTransactionBuilder
from iconsdk.icon_service import IconService
from iconsdk.providers.http_provider import HTTPProvider
from iconsdk.signed_transaction import SignedTransaction
from iconsdk.wallet.wallet import KeyWallet
f... | 41.060606 | 113 | 0.66758 |
435fefc5879906d7c07439ce92634f1270bfc7b8 | 1,151 | tsx | TypeScript | frontend/src/patientApp/timeOfTest/TermsOfService.tsx | jeremyzitomer-usds/prime-simplereport | 8b8e70bb437ebdb3838c9f95bf0fe585ab8840d7 | [
"CC0-1.0"
] | null | null | null | frontend/src/patientApp/timeOfTest/TermsOfService.tsx | jeremyzitomer-usds/prime-simplereport | 8b8e70bb437ebdb3838c9f95bf0fe585ab8840d7 | [
"CC0-1.0"
] | null | null | null | frontend/src/patientApp/timeOfTest/TermsOfService.tsx | jeremyzitomer-usds/prime-simplereport | 8b8e70bb437ebdb3838c9f95bf0fe585ab8840d7 | [
"CC0-1.0"
] | null | null | null | import React, { useState } from "react";
import { Redirect, RouteComponentProps, withRouter } from "react-router";
import Button from "../../app/commonComponents/Button";
import ToS from "./ToS";
const TermsOfService: React.FunctionComponent<RouteComponentProps> = (
props
) => {
const [nextPage, setNextPage] = u... | 28.073171 | 110 | 0.629887 |
46545d32d3e5eb2397ca12163cba62779a02e011 | 663 | php | PHP | src/Interfaces/PathTranslator.php | mcn-fredw/php-xmi-tools | f8331ccb13e0e606b7db5880f521b1a0fb764c9b | [
"MIT"
] | null | null | null | src/Interfaces/PathTranslator.php | mcn-fredw/php-xmi-tools | f8331ccb13e0e606b7db5880f521b1a0fb764c9b | [
"MIT"
] | null | null | null | src/Interfaces/PathTranslator.php | mcn-fredw/php-xmi-tools | f8331ccb13e0e606b7db5880f521b1a0fb764c9b | [
"MIT"
] | 1 | 2020-12-06T10:35:04.000Z | 2020-12-06T10:35:04.000Z | <?php
namespace XMITools\Interfaces;
/**
* Interface PathTranslator
* Public API for translating module full name to file system path.
*/
interface PathTranslator
{
/**
* Creates directories for a file path.
* @param string Full file path.
* @return string Input path.
*/
public function ... | 22.1 | 67 | 0.644042 |
daa70029c9959e7f320d211b1326f4bbe557171c | 2,051 | php | PHP | resources/views/admin.blade.php | wisnukm41/laravel_uts | 823143e11b1ab11f644316e1dc86ca5b01ccee42 | [
"MIT"
] | null | null | null | resources/views/admin.blade.php | wisnukm41/laravel_uts | 823143e11b1ab11f644316e1dc86ca5b01ccee42 | [
"MIT"
] | 1 | 2021-02-02T18:29:00.000Z | 2021-02-02T18:29:00.000Z | resources/views/admin.blade.php | wisnukm41/laravel_uts | 823143e11b1ab11f644316e1dc86ca5b01ccee42 | [
"MIT"
] | null | null | null | @extends('admin_template')
@section('link')
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.20/css/jquery.dataTables.css">
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.js"></script>
@endsection
@section('name','Dashboard')
... | 34.762712 | 201 | 0.50902 |
79e866b62329d5dfac3149fc39fe7dee656a9650 | 2,265 | php | PHP | resources/views/emails/feedback.blade.php | technoexponent02/angular1 | 711218057c802b5741ca84499e2ae20de1aa129b | [
"MIT"
] | null | null | null | resources/views/emails/feedback.blade.php | technoexponent02/angular1 | 711218057c802b5741ca84499e2ae20de1aa129b | [
"MIT"
] | null | null | null | resources/views/emails/feedback.blade.php | technoexponent02/angular1 | 711218057c802b5741ca84499e2ae20de1aa129b | [
"MIT"
] | null | null | null | <table style="width:600px; max-width:100%; margin:0 auto; font-family:Arial; margin:0 auto; font-size:16px; color:#222222; background-color:#f2f2f2;" cellpadding="12" cellspacing="0">
<tr>
<td style="text-align:center; vertical-align:top; padding:16px 16px 10px 16px; background-color:#505050;">
... | 42.735849 | 183 | 0.5766 |
81d330fabbda8b597c572173562ab8600c9b37f9 | 501 | php | PHP | application/controllers/Home.php | BrianAdamo/Reporteria_Medicos | c168e534d46fe1e78f41407660175201ee484ac2 | [
"MIT"
] | null | null | null | application/controllers/Home.php | BrianAdamo/Reporteria_Medicos | c168e534d46fe1e78f41407660175201ee484ac2 | [
"MIT"
] | null | null | null | application/controllers/Home.php | BrianAdamo/Reporteria_Medicos | c168e534d46fe1e78f41407660175201ee484ac2 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Home extends CI_Controller {
public function __construct()
{
parent::__construct();
}
public function index($id)
{
// $idEmpresa = $this->session->userdata('UsIdEmpresa');
$sucursal = $this->consultas_adm->consulta... | 20.04 | 93 | 0.630739 |
1f04398436aae44c8f2cbfb4f219b952a157ecc9 | 590 | cs | C# | demo/Demo.Library/Abstraction/IUserService.cs | zzq424/Monica | 2a71c0797c4e073d38c06f28f92a074e1537828c | [
"MIT"
] | 6 | 2019-10-08T03:26:49.000Z | 2020-01-07T17:39:27.000Z | demo/Demo.Library/Abstraction/IUserService.cs | zzq424/Monica | 2a71c0797c4e073d38c06f28f92a074e1537828c | [
"MIT"
] | 1 | 2021-09-09T12:41:37.000Z | 2021-09-09T12:41:37.000Z | demo/Demo.Library/Abstraction/IUserService.cs | zzq424/Monica | 2a71c0797c4e073d38c06f28f92a074e1537828c | [
"MIT"
] | 3 | 2019-10-08T04:51:42.000Z | 2019-10-15T08:58:52.000Z | using Demo.Library.Dto;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Demo.Library.Abstraction
{
[Injection(ServiceLifetime.Scoped, InjectionPolicy.Replace)]
public interface IUser... | 23.6 | 66 | 0.662712 |
0d30f51ad4c4c05f8089a1ff32c8a3700bbc0c08 | 1,861 | h | C | algorithm/Pods/RITLKit/RITLKit/View/Button/RITLItemButton.h | gs01md/algorithm | f63c1f9052ea6a2aafbd5ae7163473808bd8820c | [
"MIT"
] | 132 | 2016-09-16T06:50:26.000Z | 2021-01-29T09:21:40.000Z | algorithm/Pods/RITLKit/RITLKit/View/Button/RITLItemButton.h | gs01md/algorithm | f63c1f9052ea6a2aafbd5ae7163473808bd8820c | [
"MIT"
] | 14 | 2017-05-04T10:11:04.000Z | 2020-05-11T03:05:51.000Z | algorithm/Pods/RITLKit/RITLKit/View/Button/RITLItemButton.h | gs01md/algorithm | f63c1f9052ea6a2aafbd5ae7163473808bd8820c | [
"MIT"
] | 30 | 2016-08-19T05:53:46.000Z | 2020-10-21T08:24:18.000Z | //
// RITLTabBarItem.h
// XiaoNongDingClient
//
// Created by YueWen on 2017/5/4.
// Copyright © 2017年 ryden. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/// 自定义的RITLButtonItem
@interface RITLItemButton : UIControl
/// 文字标签
@property (nonatomic, strong) UILabel * titleLabel;
/// 文字标签... | 27.367647 | 85 | 0.756045 |
2cc90b7810bdaed73909a516e876826a4a64bb4c | 2,104 | cpp | C++ | uppdev/SvoValue/Checks.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | 2 | 2016-04-07T07:54:26.000Z | 2020-04-14T12:37:34.000Z | uppdev/SvoValue/Checks.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | null | null | null | uppdev/SvoValue/Checks.cpp | dreamsxin/ultimatepp | 41d295d999f9ff1339b34b43c99ce279b9b3991c | [
"BSD-2-Clause"
] | null | null | null | #include "SvoValue.h"
void DumpNumber(const Value& v)
{
RDUMP((int)v);
RDUMP((double)v);
RDUMP((int64)v);
RDUMP((bool)v);
}
int xx;
Value Opt0();
void Opt() {
Value v = Opt0();
xx = v;
}
void CheckString()
{
Value v = "ahoj";
for(int i = 0; i < 2; i++) {
String s = v;
RDUMP(s);
ASSERT(s == "ahoj");
... | 13.662338 | 45 | 0.532795 |