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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12c5e27f243a94f24eb1870dd4565b405aa59510 | 195 | tab | SQL | www/bases-examples_Linux/marcuni/def/es/se_21.tab | mdama003/ABCD2 | b5f93be122791ab690a4d5954a3ec866196413a5 | [
"Unlicense"
] | null | null | null | www/bases-examples_Linux/marcuni/def/es/se_21.tab | mdama003/ABCD2 | b5f93be122791ab690a4d5954a3ec866196413a5 | [
"Unlicense"
] | null | null | null | www/bases-examples_Linux/marcuni/def/es/se_21.tab | mdama003/ABCD2 | b5f93be122791ab690a4d5954a3ec866196413a5 | [
"Unlicense"
] | null | null | null | #|Ninguno de los siguientes
d|Base de datos actualizada
l|Hoja suelta actualizada
m|Serie monográfica
n|Periódico
p|Publicación periódica
w|Sitio web actualizado
|No se provee información | 24.375 | 28 | 0.8 |
3fe7ffbbae8ed3080e2156692b77d70e5036b824 | 358 | rb | Ruby | test/formtastic/cases/test_form_builder.rb | rdd-giga/client_side_validations-formtastic | e96da2a51dfdf2d6bd055bdede64008dc81535f7 | [
"MIT"
] | null | null | null | test/formtastic/cases/test_form_builder.rb | rdd-giga/client_side_validations-formtastic | e96da2a51dfdf2d6bd055bdede64008dc81535f7 | [
"MIT"
] | null | null | null | test/formtastic/cases/test_form_builder.rb | rdd-giga/client_side_validations-formtastic | e96da2a51dfdf2d6bd055bdede64008dc81535f7 | [
"MIT"
] | null | null | null | require 'formtastic/cases/helper'
class ClientSideValidations::Formtastic::FormBuilderTest < Test::Unit::TestCase
def test_client_side_form_js_hash
expected = {
:type => 'Formtastic::FormBuilder',
:inline_error_class => 'inline-errors'
}
assert_equal expected, Formtastic::FormBuilder.client_s... | 29.833333 | 86 | 0.748603 |
468e0436f46e388d6dc7eccb099dd54fa709ca2c | 1,891 | dart | Dart | lib/src/client/sasl_authenticator.dart | mongo-dart/sasl_scram | e68f58d938cb2c4e4fe70035dc1e7873028fba19 | [
"MIT"
] | 1 | 2021-08-09T12:21:47.000Z | 2021-08-09T12:21:47.000Z | lib/src/client/sasl_authenticator.dart | mongo-dart/sasl_scram | e68f58d938cb2c4e4fe70035dc1e7873028fba19 | [
"MIT"
] | null | null | null | lib/src/client/sasl_authenticator.dart | mongo-dart/sasl_scram | e68f58d938cb2c4e4fe70035dc1e7873028fba19 | [
"MIT"
] | null | null | null | import 'dart:typed_data';
import '../../sasl_scram.dart';
import 'auth.dart';
enum SaslMessageType {
AuthenticationSASL,
AuthenticationSASLContinue,
AuthenticationSASLFinal,
}
typedef passwordDigestResolver = String Function(UsernamePasswordCredential);
abstract class SaslMechanism {
String get name;
Sas... | 30.015873 | 78 | 0.753041 |
9413cbbf3967f6ca1d4b9c30ba551b7b248b93e6 | 2,591 | sql | SQL | pg-test-files/expected/prepare.sql | zachvalenta/pgFormatter | 75e282740648cb28d20b4192eafa17649799e52f | [
"PostgreSQL"
] | null | null | null | pg-test-files/expected/prepare.sql | zachvalenta/pgFormatter | 75e282740648cb28d20b4192eafa17649799e52f | [
"PostgreSQL"
] | null | null | null | pg-test-files/expected/prepare.sql | zachvalenta/pgFormatter | 75e282740648cb28d20b4192eafa17649799e52f | [
"PostgreSQL"
] | null | null | null | -- Regression tests for prepareable statements. We query the content
-- of the pg_prepared_statements view as prepared statements are
-- created and removed.
SELECT
name,
statement,
parameter_types
FROM
pg_prepared_statements;
PREPARE q1 AS
SELECT
1 AS a;
EXECUTE q1;
SELECT
name,
stateme... | 12.639024 | 68 | 0.648784 |
df8e92c5dcaeacf36fe11fe5ee34485e0b524a0e | 2,211 | cs | C# | Form1.cs | TeeraponWork/Coding-Dojo | a29accdc81511e278d968e41d058c95e232cafae | [
"MIT"
] | null | null | null | Form1.cs | TeeraponWork/Coding-Dojo | a29accdc81511e278d968e41d058c95e232cafae | [
"MIT"
] | null | null | null | Form1.cs | TeeraponWork/Coding-Dojo | a29accdc81511e278d968e41d058c95e232cafae | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Grade
{
public partial class Form1 : Form
{
public Form1()
{
... | 26.011765 | 84 | 0.396653 |
b348f840238bd0618211cb792903a715e1078905 | 1,397 | py | Python | bbtest/environment.py | jancajthaml-openbank/bondster-bco | 821fd1daa9c76113e65ce86e64505d14e6459597 | [
"Apache-2.0"
] | null | null | null | bbtest/environment.py | jancajthaml-openbank/bondster-bco | 821fd1daa9c76113e65ce86e64505d14e6459597 | [
"Apache-2.0"
] | 58 | 2019-01-25T23:00:28.000Z | 2021-12-22T21:37:23.000Z | bbtest/environment.py | jancajthaml-openbank/bondster-bco | 821fd1daa9c76113e65ce86e64505d14e6459597 | [
"Apache-2.0"
] | 1 | 2021-08-09T07:16:43.000Z | 2021-08-09T07:16:43.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from helpers.unit import UnitHelper
from helpers.zmq import ZMQHelper
from mocks.bondster.server import BondsterMock
from mocks.vault.server import VaultMock
from mocks.ledger.server import LedgerMock
from helpers.statsd import StatsdHelper
from helpers.logger import logg... | 24.086207 | 59 | 0.741589 |
f45fccf4ae493a6048f56c2634bad0dbce4742b7 | 1,827 | ts | TypeScript | src/app/home/boke/detail/boke-detail.component.ts | Chasiny/ChasinyWeb | 9711b50e2d5f713ac2533dd9663d4c7ed9eafc4c | [
"MIT"
] | null | null | null | src/app/home/boke/detail/boke-detail.component.ts | Chasiny/ChasinyWeb | 9711b50e2d5f713ac2533dd9663d4c7ed9eafc4c | [
"MIT"
] | null | null | null | src/app/home/boke/detail/boke-detail.component.ts | Chasiny/ChasinyWeb | 9711b50e2d5f713ac2533dd9663d4c7ed9eafc4c | [
"MIT"
] | null | null | null | import { Data, Code } from './../../../app.module';
import { BaseRequestService } from './../../services/base-request-service';
import {ActivatedRoute,Router} from "@angular/router";
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'boke-detail',
styleUrls: ['./boke-detail.component.css... | 29.467742 | 117 | 0.54844 |
3b8b353b580a7074dcb031a582533e0dd0f242bf | 80 | dart | Dart | provider_demo/flutter_app/lib/model_two.dart | waitwalker/FlutterDemos | d5885462301a3865b85a93ac17240774a3a425ca | [
"Apache-2.0"
] | 4 | 2020-10-29T09:06:32.000Z | 2021-09-18T05:03:46.000Z | provider_demo/flutter_app/lib/model_two.dart | waitwalker/FlutterDemos | d5885462301a3865b85a93ac17240774a3a425ca | [
"Apache-2.0"
] | null | null | null | provider_demo/flutter_app/lib/model_two.dart | waitwalker/FlutterDemos | d5885462301a3865b85a93ac17240774a3a425ca | [
"Apache-2.0"
] | 5 | 2020-07-22T07:27:49.000Z | 2022-02-19T08:58:06.000Z | import 'package:flutter/material.dart';
class ModelTwo with ChangeNotifier {
} | 16 | 39 | 0.7875 |
25143091e11a6c07ba735877b4bdbd8e6714182c | 5,353 | rb | Ruby | test/connection_test.rb | alloy/lowdown | 7a75185d2b93015c18b6093f6784938d42c021f7 | [
"MIT"
] | 142 | 2015-12-21T13:48:58.000Z | 2021-03-29T12:41:25.000Z | test/connection_test.rb | alloy/lowdown | 7a75185d2b93015c18b6093f6784938d42c021f7 | [
"MIT"
] | 29 | 2015-12-31T19:09:53.000Z | 2018-05-08T12:34:06.000Z | test/connection_test.rb | alloy/lowdown | 7a75185d2b93015c18b6093f6784938d42c021f7 | [
"MIT"
] | 21 | 2015-12-31T18:24:36.000Z | 2017-11-25T00:52:35.000Z | require "test_helper"
class MockDelegate
attr_reader :condition
def initialize
@condition = Celluloid::Condition.new
end
def handle_apns_response(response, context:)
@condition.signal(response)
end
end
module Lowdown
describe Connection do
server = nil
before do
server ||= MockAPN... | 33.248447 | 114 | 0.583972 |
c3a1938e04963e843e4572bf9f90035a7d992aef | 1,502 | cs | C# | src/service/Domain/Domain/ValueObjects/Version.cs | vanessalobo11/FeatureFlightingManagement | 85f48010caf3a1d3c7f27e5f44b6625d25ecf5b9 | [
"MIT"
] | 9 | 2021-11-15T13:43:48.000Z | 2022-03-29T16:37:59.000Z | src/service/Domain/Domain/ValueObjects/Version.cs | vanessalobo11/FeatureFlightingManagement | 85f48010caf3a1d3c7f27e5f44b6625d25ecf5b9 | [
"MIT"
] | 30 | 2021-11-09T06:34:36.000Z | 2022-03-31T08:21:56.000Z | src/service/Domain/Domain/ValueObjects/Version.cs | vanessalobo11/FeatureFlightingManagement | 85f48010caf3a1d3c7f27e5f44b6625d25ecf5b9 | [
"MIT"
] | 1 | 2021-11-24T15:52:36.000Z | 2021-11-24T15:52:36.000Z | using System.Linq;
using System.Text;
using CQRS.Mediatr.Lite.SDK.Domain;
namespace Microsoft.FeatureFlighting.Core.Domain.ValueObjects
{
public class Version: ValueObject
{
public int MajorVersion { get; private set; }
public int MinorVersion { get; private set;}
public Version()
... | 25.033333 | 105 | 0.497337 |
dc3a153ec43474f9314306cff42b32a92264d027 | 812 | rb | Ruby | lib/duration.rb | isabella232/plugin-scan | 3ab47dc84a59c10937e7f03641e847c18222138f | [
"MIT"
] | 3 | 2015-01-19T18:41:47.000Z | 2017-03-12T05:28:20.000Z | lib/duration.rb | isabella232/plugin-scan | 3ab47dc84a59c10937e7f03641e847c18222138f | [
"MIT"
] | 1 | 2021-02-24T04:15:14.000Z | 2021-02-24T04:15:14.000Z | lib/duration.rb | isabella232/plugin-scan | 3ab47dc84a59c10937e7f03641e847c18222138f | [
"MIT"
] | 4 | 2015-01-06T08:19:35.000Z | 2021-01-26T10:32:35.000Z | class Duration < Struct.new(:start_time, :end_time, :days)
class << self
def between(start_time, end_time)
number_of_days = ((end_time.to_i - start_time.to_i) / (24 * 3600)).to_i
Duration.new(start_time, end_time, number_of_days)
end
def for_days_prior(n)
Duration.new(Time.now.utc - n.d... | 21.945946 | 77 | 0.641626 |
7bec761653586753666e3aa74b7cb9901d84a4e8 | 343 | rb | Ruby | spec/factories.rb | dacravey/rails_journal | b78ce4ed7f18ae5aa05b5de9b4ef0bba23e7b687 | [
"MIT"
] | null | null | null | spec/factories.rb | dacravey/rails_journal | b78ce4ed7f18ae5aa05b5de9b4ef0bba23e7b687 | [
"MIT"
] | null | null | null | spec/factories.rb | dacravey/rails_journal | b78ce4ed7f18ae5aa05b5de9b4ef0bba23e7b687 | [
"MIT"
] | null | null | null | FactoryGirl.define do
factory :user do
sequence(:email) {|n| "test#{n}@example.com" }
password('12345678')
phone_number('5038675309')
end
factory(:post) do
title('example title')
entry('example entry')
end
factory(:comment) do
commenter_name('example commenter')
thoughts('examp... | 17.15 | 50 | 0.658892 |
2597e4fb3fd4f616f2d4d42ba433b4532f51db71 | 2,473 | js | JavaScript | index.js | kapodaca0403/README | 54ac072d25662be86d08925ba8159846ac473b66 | [
"MIT"
] | null | null | null | index.js | kapodaca0403/README | 54ac072d25662be86d08925ba8159846ac473b66 | [
"MIT"
] | null | null | null | index.js | kapodaca0403/README | 54ac072d25662be86d08925ba8159846ac473b66 | [
"MIT"
] | null | null | null | // TODO: Include packages needed for this application
const inquirer = require("inquirer");
const fs = require("fs");
const path = require("path");
const generateMarkdown = require("./utils/generateMarkdown");
//inquirer.prompt(questions);
// TODO: Create an array of questions for user input
const questions = [
{
... | 28.425287 | 272 | 0.652649 |
ef5b8a9bc11f1255af6bfb45dc4e992dddc14568 | 436 | js | JavaScript | src/pages/index.js | 1detta/boxtime | 224393d205d86b6e60a7b11432d525b8bb397fe2 | [
"MIT"
] | null | null | null | src/pages/index.js | 1detta/boxtime | 224393d205d86b6e60a7b11432d525b8bb397fe2 | [
"MIT"
] | null | null | null | src/pages/index.js | 1detta/boxtime | 224393d205d86b6e60a7b11432d525b8bb397fe2 | [
"MIT"
] | null | null | null | import React from "react"
import Layout from "../components/layout"
import SEO from "../components/seo"
const IndexPage = () => (
<Layout>
<SEO title="FOR SALE" keywords={[`gatsby`, `application`, `react`]} />
<div id="boxtime">
<div>
<h1>FOR SALE</h1>
</div>
<div>
<a href... | 19.818182 | 74 | 0.580275 |
d63807a8fa8ea528d0823e00f0ad40a0580a7328 | 3,162 | cs | C# | sdk/src/Services/GreengrassV2/Generated/Model/LambdaDeviceMount.cs | philasmar/aws-sdk-net | 64a49f18246bf903fdd1f01c5b5af36ab0fd6f94 | [
"Apache-2.0"
] | 1 | 2021-09-17T15:33:32.000Z | 2021-09-17T15:33:32.000Z | sdk/src/Services/GreengrassV2/Generated/Model/LambdaDeviceMount.cs | philasmar/aws-sdk-net | 64a49f18246bf903fdd1f01c5b5af36ab0fd6f94 | [
"Apache-2.0"
] | null | null | null | sdk/src/Services/GreengrassV2/Generated/Model/LambdaDeviceMount.cs | philasmar/aws-sdk-net | 64a49f18246bf903fdd1f01c5b5af36ab0fd6f94 | [
"Apache-2.0"
] | 1 | 2022-01-22T02:39:11.000Z | 2022-01-22T02:39:11.000Z | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "li... | 30.403846 | 111 | 0.566414 |
1a427f8b69208556e93451dab6d2a617e485a676 | 10,259 | py | Python | app/main.py | devonserrao/gmemegen | 1e0afd839a193b3a55db51f197825a47e1d993fb | [
"Apache-2.0"
] | 1 | 2019-06-26T18:04:30.000Z | 2019-06-26T18:04:30.000Z | app/main.py | devonserrao/gmemegen | 1e0afd839a193b3a55db51f197825a47e1d993fb | [
"Apache-2.0"
] | 3 | 2021-03-19T01:39:45.000Z | 2022-01-13T01:21:23.000Z | app/main.py | devonserrao/gmemegen | 1e0afd839a193b3a55db51f197825a47e1d993fb | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 31.182371 | 79 | 0.65445 |
2cc5e5a18866e392cb652f6f1429d582e5725eb4 | 9,658 | py | Python | BIOps_Deployment_Scripts/cdk/lambda/quicksight_dash_info/quicksight_dash_info.py | qmeixua/amazon-quicksight-sdk-proserve | 770efafdc4aeadd3337163666b53582525abc5e7 | [
"MIT-0"
] | null | null | null | BIOps_Deployment_Scripts/cdk/lambda/quicksight_dash_info/quicksight_dash_info.py | qmeixua/amazon-quicksight-sdk-proserve | 770efafdc4aeadd3337163666b53582525abc5e7 | [
"MIT-0"
] | null | null | null | BIOps_Deployment_Scripts/cdk/lambda/quicksight_dash_info/quicksight_dash_info.py | qmeixua/amazon-quicksight-sdk-proserve | 770efafdc4aeadd3337163666b53582525abc5e7 | [
"MIT-0"
] | null | null | null | """
Gets Quicksight dashboard information and populates a DynamoDB table
"""
import os
import logging
import boto3
from botocore.exceptions import ClientError
from typing import Dict, Optional, Union
import botocore
def default_botocore_config() -> botocore.config.Config:
"""Botocore configuration."""
retries... | 33.887719 | 106 | 0.532098 |
4b1a70f8d7ffb303bd877178d6f128ef98215967 | 1,309 | dart | Dart | lib/template/modules/Renderer.dart | MikeMitterer/m4d_template | f23c59ba5e19c859d396cb08405446c5a1c65d7f | [
"Apache-2.0"
] | 3 | 2018-12-08T01:17:04.000Z | 2019-09-25T09:22:37.000Z | lib/template/modules/Renderer.dart | MikeMitterer/m4d_template | f23c59ba5e19c859d396cb08405446c5a1c65d7f | [
"Apache-2.0"
] | null | null | null | lib/template/modules/Renderer.dart | MikeMitterer/m4d_template | f23c59ba5e19c859d396cb08405446c5a1c65d7f | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2015, Michael Mitterer (office@mikemitterer.at),
* IT-Consulting and Development Limited.
*
* All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at... | 28.456522 | 75 | 0.698243 |
46d422d9b8a95b6b0ac207a5e2b84ba6568520fa | 317 | py | Python | __init__.py | bbhunter/lollipopz | ed6945eab4f017b1b6b8d3d4ec7a3efc1108cd20 | [
"MIT"
] | null | null | null | __init__.py | bbhunter/lollipopz | ed6945eab4f017b1b6b8d3d4ec7a3efc1108cd20 | [
"MIT"
] | null | null | null | __init__.py | bbhunter/lollipopz | ed6945eab4f017b1b6b8d3d4ec7a3efc1108cd20 | [
"MIT"
] | null | null | null | import logging
import sys
__version__ = '1.0'
logger = logging.getLogger('exfilkit')
formatter = {
logging.DEBUG: logging.Formatter('%(name)s %(levelname)s [%(asctime)s] %(message)s'),
logging.INFO: logging.Formatter('%(message)s')
}
handler = logging.StreamHandler(sys.stdout)
logger.addHandler(handler)
| 21.133333 | 89 | 0.716088 |
72c104121af28f18ffe11871d3e6e1b49ed6d611 | 337 | cs | C# | eRestaurantBackend/eRestaurant.Model/Entities/Restaurant.cs | arzunuvar/ASP.NET_MVC_eRestaurant_Sitesi | 199f6bf852baf1c594638f2ffb3456d1c52c48af | [
"MIT"
] | 1 | 2021-02-02T19:12:03.000Z | 2021-02-02T19:12:03.000Z | eRestaurantBackend/eRestaurant.Model/Entities/Restaurant.cs | arzunuvar/ASP.NET_MVC_eRestaurant_Sitesi | 199f6bf852baf1c594638f2ffb3456d1c52c48af | [
"MIT"
] | null | null | null | eRestaurantBackend/eRestaurant.Model/Entities/Restaurant.cs | arzunuvar/ASP.NET_MVC_eRestaurant_Sitesi | 199f6bf852baf1c594638f2ffb3456d1c52c48af | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
namespace eRestaurant.Model.Entities
{
public class Restaurant : BaseEntity
{
public string Guid { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public string Logo { get... | 18.722222 | 47 | 0.635015 |
433fb0a240b67b21dfabdfced64464e294aef2be | 1,427 | ts | TypeScript | src/app/shared/lecturer.service.ts | RuchiraSwarnapriya/Timetable-management-system-for-UCSC | 936c44ca20e58c2de70017214297699f588b0fde | [
"MIT"
] | 2 | 2019-08-20T05:17:09.000Z | 2021-11-12T14:51:39.000Z | src/app/shared/lecturer.service.ts | RuchiraSwarnapriya/Timetable-management-system-for-UCSC | 936c44ca20e58c2de70017214297699f588b0fde | [
"MIT"
] | 6 | 2019-06-24T13:19:32.000Z | 2022-03-02T04:19:42.000Z | src/app/shared/lecturer.service.ts | RuchiraSwarnapriya/Timetable-management-system-for-UCSC | 936c44ca20e58c2de70017214297699f588b0fde | [
"MIT"
] | 4 | 2019-06-09T08:08:45.000Z | 2021-04-18T11:13:03.000Z | import { Injectable } from '@angular/core';
import { Lecturer } from './lecturer.model'; // Lecturer data type interface class
// tslint:disable-next-line:max-line-length
import { AngularFireDatabase, AngularFireList, AngularFireObject } from 'angularfire2/database'; // Firebase modules for Database, Data list and Si... | 32.431818 | 159 | 0.720392 |
d6781cdeb2a352527ed849ced1a28302f26b5c49 | 744 | cs | C# | src/AddIns/Misc/Reports/ICSharpCode.Reports.Core/Project/Expressions/SimpleExpressionEvaluator/Compilation/Functions/AggregateFunctions/Sum.cs | dongdapeng110/SharpDevelopTest | 0339adff83ca9589e700593e6d5d1e7658e7e951 | [
"MIT"
] | 11 | 2015-05-14T08:36:05.000Z | 2021-10-06T06:43:47.000Z | src/AddIns/Misc/Reports/ICSharpCode.Reports.Core/Project/Expressions/SimpleExpressionEvaluator/Compilation/Functions/AggregateFunctions/Sum.cs | denza/SharpDevelop | 406354bee0e349186868288447f23301a679c95c | [
"MIT"
] | null | null | null | src/AddIns/Misc/Reports/ICSharpCode.Reports.Core/Project/Expressions/SimpleExpressionEvaluator/Compilation/Functions/AggregateFunctions/Sum.cs | denza/SharpDevelop | 406354bee0e349186868288447f23301a679c95c | [
"MIT"
] | 10 | 2015-04-08T09:02:32.000Z | 2020-03-01T16:03:28.000Z | using System.Collections.Generic;
using SimpleExpressionEvaluator.Utilities;
namespace SimpleExpressionEvaluator.Compilation.Functions.AggregateFunctions
{
[Tokens("sum")]
public class Sum : AggregateFunction<double>
{
protected override void AggregateValue(object value, AggregationState aggregati... | 32.347826 | 117 | 0.69086 |
677b2b5fcdd6a9bceca8faf78f959f6b370a9e17 | 659 | swift | Swift | Tests/SwiftLibuv/HttpServerTests.swift | TokyoYoshida/SwiftLibuv | 1b30412e7a79ed98b2e3975b45bea80a7bb413d9 | [
"MIT"
] | 4 | 2016-06-27T10:56:36.000Z | 2016-10-15T15:37:05.000Z | Tests/SwiftLibuv/HttpServerTests.swift | TokyoYoshida/SwiftLibuv | 1b30412e7a79ed98b2e3975b45bea80a7bb413d9 | [
"MIT"
] | null | null | null | Tests/SwiftLibuv/HttpServerTests.swift | TokyoYoshida/SwiftLibuv | 1b30412e7a79ed98b2e3975b45bea80a7bb413d9 | [
"MIT"
] | null | null | null | // Now don't avairable.
//@testable import SwiftLibuv
//import XCTest
//import Cuv
//
//class HttpServerTests: XCTestCase {
// static var allTests: [(String, HttpServerTests -> () throws -> Void)] {
// return [
// ("testListen", testListen)
// ]
// }
//}
//
//extension HttpServerTests {
... | 22.724138 | 77 | 0.520486 |
da11083b7d96b20e88234a3ea9b312da8c0e3641 | 366 | php | PHP | app/Http/Controllers/OrderController.php | AnushriGolwalkar/ecommerce | 745cf6ca3663a5197b980663caefbffe7f4d8463 | [
"MIT"
] | null | null | null | app/Http/Controllers/OrderController.php | AnushriGolwalkar/ecommerce | 745cf6ca3663a5197b980663caefbffe7f4d8463 | [
"MIT"
] | null | null | null | app/Http/Controllers/OrderController.php | AnushriGolwalkar/ecommerce | 745cf6ca3663a5197b980663caefbffe7f4d8463 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\order;
use App\orderproduct;
use DB;
use Illuminate\Http\Request;
class OrderController extends Controller
{
public function display()
{
$data=DB::table('orders')->join('orderproducts','orders.id','orderproducts.order_id')->get();
return view('A... | 19.263158 | 101 | 0.68306 |
74a4cd59aa4870f541be4fa766b24fc2b8e4fb89 | 124 | css | CSS | src/components/Title/Title.css | gadcad98/clickygame | 57c54cc67d2a95fb55898255aa9f0123b8a2b2ee | [
"MIT"
] | null | null | null | src/components/Title/Title.css | gadcad98/clickygame | 57c54cc67d2a95fb55898255aa9f0123b8a2b2ee | [
"MIT"
] | null | null | null | src/components/Title/Title.css | gadcad98/clickygame | 57c54cc67d2a95fb55898255aa9f0123b8a2b2ee | [
"MIT"
] | null | null | null | .title {
width: 100%;
text-align: right;
font-size: 1.7rem;
color: darkgoldenrod;
margin-bottom: 50px;
} | 17.714286 | 25 | 0.596774 |
3faad779a43eb51ca321f7ffe0270c669adb042d | 1,658 | swift | Swift | HSTracker/Utility/BoardDamage/EntityHelper.swift | monkollek/HSTracker | 1a03de0ed12c86bf7949e460aa404c7f6ee90b1f | [
"MIT"
] | 802 | 2016-08-14T18:40:04.000Z | 2022-03-30T18:18:26.000Z | HSTracker/Utility/BoardDamage/EntityHelper.swift | monkollek/HSTracker | 1a03de0ed12c86bf7949e460aa404c7f6ee90b1f | [
"MIT"
] | 684 | 2016-08-15T07:59:04.000Z | 2022-03-01T14:14:50.000Z | HSTracker/Utility/BoardDamage/EntityHelper.swift | monkollek/HSTracker | 1a03de0ed12c86bf7949e460aa404c7f6ee90b1f | [
"MIT"
] | 197 | 2016-08-16T12:54:20.000Z | 2022-03-29T15:43:35.000Z | //
// EntityHelper.swift
// HSTracker
//
// Created by Benjamin Michotte on 9/06/16.
// Copyright © 2016 Benjamin Michotte. All rights reserved.
//
import Foundation
// TODO: this class is very messy, clean it up
class EntityHelper {
class func isHero(entity: Entity) -> Bool {
return entity.has(tag: .... | 29.607143 | 95 | 0.556695 |
2c36a0f6b6cb85de8f594890e1f41b33b843c40d | 1,192 | py | Python | config/settings.py | FlowFX/sturdy-potato | d33c6695f71cf8e6517dbd5a4d80c17df38734a8 | [
"MIT"
] | 12 | 2017-04-22T11:15:01.000Z | 2021-08-10T15:09:12.000Z | config/settings.py | FlowFX/sturdy-potato | d33c6695f71cf8e6517dbd5a4d80c17df38734a8 | [
"MIT"
] | 59 | 2017-03-10T18:23:31.000Z | 2018-02-01T15:16:30.000Z | config/settings.py | FlowFX/sturdy-potato | d33c6695f71cf8e6517dbd5a4d80c17df38734a8 | [
"MIT"
] | 1 | 2020-07-10T09:26:11.000Z | 2020-07-10T09:26:11.000Z | """
Django settings for sturdy-potato project.
"""
import os
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = 'extremely-secure-secret-key'
DEBUG = True
ALLOWED_HOSTS = []
INSTALLED_APPS = [
'django.contrib.staticfiles',
'django_extensions',
'crispy_forms',
'far... | 17.275362 | 70 | 0.624161 |
6dcee08b9b6de44a40150115ec71f7d584062235 | 1,260 | tsx | TypeScript | __tests__/RuxTab.spec.tsx | RocketCommunicationsInc/astro-in-react | 0b0c90203d408fea3b73bb7b62cb64bfe523bac0 | [
"MIT"
] | null | null | null | __tests__/RuxTab.spec.tsx | RocketCommunicationsInc/astro-in-react | 0b0c90203d408fea3b73bb7b62cb64bfe523bac0 | [
"MIT"
] | 1 | 2021-09-24T22:39:16.000Z | 2021-09-24T22:39:16.000Z | __tests__/RuxTab.spec.tsx | RocketCommunicationsInc/astro-in-react | 0b0c90203d408fea3b73bb7b62cb64bfe523bac0 | [
"MIT"
] | null | null | null | /**
* @jest-environment jsdom
*/
test("use jsdom in this test file", () => {
const element = document.createElement("div");
expect(element).not.toBeNull();
});
import React from "react";
import { RuxTab } from "../src";
import "@testing-library/jest-dom";
import {
renderWithStrictMode,
includeWebComponent,
... | 30 | 76 | 0.662698 |
0d70098903d216e0e5b401d0f55f7bee636e68fb | 723 | lua | Lua | examples/interceptors/retryable.lua | kokizzu/alvd | 53921f826d85d648f3e0d6df58c47cf8d4ed0412 | [
"Apache-2.0"
] | 34 | 2020-11-20T06:39:21.000Z | 2022-01-27T09:19:18.000Z | examples/interceptors/retryable.lua | kokizzu/alvd | 53921f826d85d648f3e0d6df58c47cf8d4ed0412 | [
"Apache-2.0"
] | null | null | null | examples/interceptors/retryable.lua | kokizzu/alvd | 53921f826d85d648f3e0d6df58c47cf8d4ed0412 | [
"Apache-2.0"
] | 4 | 2021-03-17T06:51:30.000Z | 2021-07-16T10:03:18.000Z | server = {
search_result_interceptor = function (config, results, retry)
-- if `retry.Enabled` is true, retry ANN search when the number of `results` is lower than the required number.
retry.Enabled = true
-- `retry.MaxRetries` represents maximum number of retries.
retry.MaxRetries = 3
-- `retry.N... | 28.92 | 115 | 0.650069 |
a97ccbb9b6cf285dee4a76535cd77bca735cbd96 | 541 | html | HTML | trash/page-1518-Sunday-October-28th-2018-08-32-31-AM/body.html | marvindanig/jane-eyre | 13cdd83ebbc9fdb3f99882d39569cc638c3c97e4 | [
"CECILL-B"
] | null | null | null | trash/page-1518-Sunday-October-28th-2018-08-32-31-AM/body.html | marvindanig/jane-eyre | 13cdd83ebbc9fdb3f99882d39569cc638c3c97e4 | [
"CECILL-B"
] | null | null | null | trash/page-1518-Sunday-October-28th-2018-08-32-31-AM/body.html | marvindanig/jane-eyre | 13cdd83ebbc9fdb3f99882d39569cc638c3c97e4 | [
"CECILL-B"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><p>“Yes; the back parlour was both his study and ours: he sat near the window, and we by the table.”</p><p>“Did he study much?”</p><p>“A good deal.”</p><p>“What?”</p><p>“Hindostanee.”</p><p>“And what did ... | 541 | 541 | 0.687616 |
321f31c6486de0095a5f11acf1ecf365a87699a7 | 2,473 | dart | Dart | lib/presentation/articles/articles_bloc.dart | levin-riegner/flutter-template | bfefc0fcc59a2ed641e3184582bb71e22acff600 | [
"MIT"
] | 8 | 2020-12-10T18:24:43.000Z | 2021-12-30T10:34:14.000Z | lib/presentation/articles/articles_bloc.dart | levin-riegner/flutter-template | bfefc0fcc59a2ed641e3184582bb71e22acff600 | [
"MIT"
] | 1 | 2021-01-07T09:33:28.000Z | 2021-05-12T19:50:54.000Z | lib/presentation/articles/articles_bloc.dart | levin-riegner/flutter-template | bfefc0fcc59a2ed641e3184582bb71e22acff600 | [
"MIT"
] | 2 | 2021-04-12T12:42:41.000Z | 2021-12-01T23:45:20.000Z | import 'dart:async';
import 'package:flutter_template/data/article/model/article_data_error.dart'
as data;
import 'package:flutter_template/data/article/repository/article_repository.dart';
import 'package:flutter_template/presentation/articles/articles_alert.dart';
import 'package:flutter_template/presentation/ar... | 31.303797 | 82 | 0.70279 |
b3df71f9ad143975fa987fb365b16df9cfd8e239 | 574 | rs | Rust | packages/valkyrie/src/campaign/enumerations.rs | topcoder1208/contracts | d4f20ac6e949b5c497d3b8cbb9e499b5a636b104 | [
"Apache-2.0"
] | 7 | 2021-10-14T10:02:57.000Z | 2022-02-09T17:00:53.000Z | packages/valkyrie/src/campaign/enumerations.rs | valkyrieprotocol/contracts | d4f20ac6e949b5c497d3b8cbb9e499b5a636b104 | [
"Apache-2.0"
] | null | null | null | packages/valkyrie/src/campaign/enumerations.rs | valkyrieprotocol/contracts | d4f20ac6e949b5c497d3b8cbb9e499b5a636b104 | [
"Apache-2.0"
] | 4 | 2021-11-23T02:48:56.000Z | 2022-01-07T17:41:21.000Z | use cosmwasm_std::{Addr, Api, StdResult};
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
use crate::utils::decompress_addr;
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
#[serde(rename_all = "snake_case")]
pub enum Referrer {
Address(String),
Compressed(String),
}
imp... | 26.090909 | 78 | 0.658537 |
54ae55063992a70b73f3d857b4f84d0b63a16010 | 731 | css | CSS | style.css | Graficas-2018/assignment-6-crossy-road-clone-henrykalex | 0da613cecefce58fb3ec290d2c3a01c8058c1365 | [
"MIT"
] | null | null | null | style.css | Graficas-2018/assignment-6-crossy-road-clone-henrykalex | 0da613cecefce58fb3ec290d2c3a01c8058c1365 | [
"MIT"
] | null | null | null | style.css | Graficas-2018/assignment-6-crossy-road-clone-henrykalex | 0da613cecefce58fb3ec290d2c3a01c8058c1365 | [
"MIT"
] | null | null | null | /* Enrique Alejandro Mondragón Tayabas A01019108 */
* {
box-sizing: content-box;
margin: 0;
padding: 0;
}
body {
height: 100vh;
width: 100vw;
}
body .gameContainer {
position: relative;
}
body .gameContainer #container {
height: 100%;
width: 100%;
position: absolute;
}
body .gameContainer .overlay {
... | 17.404762 | 51 | 0.675787 |
e8571904fc8548de5ab7d23b766a6d362fcc0254 | 4,166 | cs | C# | AllJoyn/Samples/MyLivingRoom/MyLivingRoom/ViewModels/Devices/PumaLyricViewModel.cs | halitcan/samples | 995f850e0ed6c1cd2bc87c8af39b7a4cf41fe425 | [
"MIT"
] | 1,433 | 2015-04-30T09:26:53.000Z | 2022-03-26T12:44:12.000Z | AllJoyn/Samples/MyLivingRoom/MyLivingRoom/ViewModels/Devices/PumaLyricViewModel.cs | buocnhay/samples-1 | ddd614bb5ae595f03811e3dfa15a5d107005d0fc | [
"MIT"
] | 530 | 2015-05-02T09:12:48.000Z | 2018-01-03T17:52:01.000Z | AllJoyn/Samples/MyLivingRoom/MyLivingRoom/ViewModels/Devices/PumaLyricViewModel.cs | buocnhay/samples-1 | ddd614bb5ae595f03811e3dfa15a5d107005d0fc | [
"MIT"
] | 1,878 | 2015-04-30T04:18:57.000Z | 2022-03-15T16:51:17.000Z | // Copyright (c) 2015, Microsoft Corporation
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHO... | 37.531532 | 148 | 0.653145 |
ff347b924b5181adaf69d9d7df9b29866c7c48e8 | 2,938 | py | Python | spex_spider.py | ITNano/WikiSubtitleReader | d9816a452f74f6d70e147eba688838d3b97189d5 | [
"Apache-2.0"
] | 1 | 2019-01-20T14:46:16.000Z | 2019-01-20T14:46:16.000Z | spex_spider.py | ITNano/WikiSubtitleReader | d9816a452f74f6d70e147eba688838d3b97189d5 | [
"Apache-2.0"
] | 4 | 2016-08-08T06:56:46.000Z | 2016-09-26T13:30:14.000Z | spex_spider.py | ITNano/WikiSubtitleReader | d9816a452f74f6d70e147eba688838d3b97189d5 | [
"Apache-2.0"
] | 1 | 2018-08-11T08:01:56.000Z | 2018-08-11T08:01:56.000Z | # -*- coding: utf-8 -*-
#!/usr/bin/python
# needs the Selenium package. Install it with pip by typing: pip install selenium
#install pip by running the script: https://bootstrap.pypa.io/get-pip.py (run by typing: python get-pip.py)
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from sel... | 50.655172 | 139 | 0.71341 |
c253943e5b29b173dc90ecaf9edf908dc2c6c7f4 | 389 | h | C | PrivateFrameworks/PDFKit/SelectionRectInfo.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/PDFKit/SelectionRectInfo.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/PDFKit/SelectionRectInfo.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"
@class PDFSelection;
__attribute__((visibility("hidden")))
@interface SelectionRectInfo : NSObject
{
PDFSelection *selection;
struct CGRect rect;
... | 16.913043 | 83 | 0.688946 |
b735a73119d71643a388078e236e8afaf1d8685d | 905 | cs | C# | Bcss.Reference.Web/TypeConverters/WeatherForecastToWeatherForecastViewModelTypeConverter.cs | BlacKCaT27/DotNetCoreReference | b059a58ffa2bb3ee0cd207b54996f93e26395311 | [
"MIT"
] | 1 | 2020-08-07T23:36:17.000Z | 2020-08-07T23:36:17.000Z | Bcss.Reference.Web/TypeConverters/WeatherForecastToWeatherForecastViewModelTypeConverter.cs | BlacKCaT27/DotNetCoreReference | b059a58ffa2bb3ee0cd207b54996f93e26395311 | [
"MIT"
] | null | null | null | Bcss.Reference.Web/TypeConverters/WeatherForecastToWeatherForecastViewModelTypeConverter.cs | BlacKCaT27/DotNetCoreReference | b059a58ffa2bb3ee0cd207b54996f93e26395311 | [
"MIT"
] | null | null | null | using AutoMapper;
using Bcss.Reference.Domain;
using Bcss.Reference.Web.ViewModels;
namespace Bcss.Reference.Web.TypeConverters
{
public class WeatherForecastToWeatherForecastViewModelTypeConverter : ITypeConverter<WeatherForecast, WeatherForecastViewModel>
{
public WeatherForecastViewModel Convert(We... | 37.708333 | 131 | 0.704972 |
642243d4eb633657133865abe593d274b648bd96 | 7,931 | py | Python | mmdet/models/mask_heads/grid_head.py | Pandinosaurus/Grid-R-CNN | a17cab48e00638114dad011de30bc6796f6c14b6 | [
"Apache-2.0"
] | 272 | 2019-06-14T01:06:40.000Z | 2022-01-24T03:14:45.000Z | mmdet/models/mask_heads/grid_head.py | XiaBoyang/Grid-R-CNN | a17cab48e00638114dad011de30bc6796f6c14b6 | [
"Apache-2.0"
] | 9 | 2019-06-17T15:04:34.000Z | 2021-05-12T01:29:40.000Z | mmdet/models/mask_heads/grid_head.py | XiaBoyang/Grid-R-CNN | a17cab48e00638114dad011de30bc6796f6c14b6 | [
"Apache-2.0"
] | 55 | 2019-06-14T02:07:36.000Z | 2021-09-09T10:26:34.000Z | import mmcv
import numpy as np
import pycocotools.mask as mask_util
import torch
import torch.nn as nn
import functools
import torch.nn.functional as F
from torch.distributed import get_world_size, get_rank
import random
from ..registry import HEADS
from ..utils import ConvModule
from ..utils import build_norm_layer
f... | 45.32 | 149 | 0.596268 |
0bc608f1a9424a35c54f2f7c6ae211a20c911603 | 18,768 | cc | C++ | multibody/tree/linear_bushing_roll_pitch_yaw.cc | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | 2 | 2021-02-25T02:01:02.000Z | 2021-03-17T04:52:04.000Z | multibody/tree/linear_bushing_roll_pitch_yaw.cc | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | null | null | null | multibody/tree/linear_bushing_roll_pitch_yaw.cc | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | 1 | 2021-06-13T12:05:39.000Z | 2021-06-13T12:05:39.000Z | #include "drake/multibody/tree/linear_bushing_roll_pitch_yaw.h"
#include <limits>
#include <string>
#include <utility>
#include <vector>
#include "drake/multibody/tree/body.h"
#include "drake/multibody/tree/multibody_tree.h"
namespace drake {
namespace multibody {
using math::RigidTransform;
using math::RotationMat... | 49.13089 | 81 | 0.680413 |
b0e4f881519b7b7801df06fc497c4a1299f7ee6e | 1,288 | py | Python | src/MonitorProcesses.py | OurFriendIrony/python-retropie | 0ac70a9d72599d9232f01a167e13caee0e770909 | [
"Apache-2.0"
] | null | null | null | src/MonitorProcesses.py | OurFriendIrony/python-retropie | 0ac70a9d72599d9232f01a167e13caee0e770909 | [
"Apache-2.0"
] | null | null | null | src/MonitorProcesses.py | OurFriendIrony/python-retropie | 0ac70a9d72599d9232f01a167e13caee0e770909 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
import datetime
import os
import time
def get_process_ids():
return [pid for pid in os.listdir('/proc') if pid.isdigit()]
def get_process_name(pid):
try:
return open(os.path.join('/proc', pid, 'comm'), 'rb').read()[:-1] # Remove last character (new line)
except IOError:
... | 24.301887 | 109 | 0.637422 |
5d63312817b6c5ab1f5ff2e5a7de4c3775eff77e | 8,319 | cpp | C++ | src/linux/InotifyEventLoop.cpp | dacap/panoptes | f7d4756f18ff610f0ef2c160d56cd00cc3582939 | [
"MIT"
] | null | null | null | src/linux/InotifyEventLoop.cpp | dacap/panoptes | f7d4756f18ff610f0ef2c160d56cd00cc3582939 | [
"MIT"
] | null | null | null | src/linux/InotifyEventLoop.cpp | dacap/panoptes | f7d4756f18ff610f0ef2c160d56cd00cc3582939 | [
"MIT"
] | null | null | null | #include "pfw/linux/InotifyEventLoop.h"
#include <sys/ioctl.h>
#include <csignal>
#include <iostream>
using namespace pfw;
InotifyEventLoop::InotifyEventLoop(int inotifyInstance,
InotifyService *inotifyService)
: mInotifyService(inotifyService)
, mInotifyInstan... | 33.011905 | 80 | 0.572184 |
2db12d9c8c242b7525a3a3e95d6c8a34e7e57b85 | 254 | go | Go | 6_kyu/Thinking_Testing_A_B.go | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 6_kyu/Thinking_Testing_A_B.go | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 6_kyu/Thinking_Testing_A_B.go | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | package kata
func crossSum(x int) int {
var sign int
if x < 0 {
sign = -1
x = -1
} else {
sign = +1
}
accu := 0
for x > 0 {
accu += x % 10
x /= 10
}
return sign * accu
}
func TestIt(a, b int) int {
return crossSum(a) * crossSum(b)
}
| 11.545455 | 33 | 0.535433 |
9de3b825d37544f555d477f6b662cdb66670834d | 2,624 | dart | Dart | .pub/deps/debug/angular2/lib/src/core/linker/app_view_utils.template.dart | smirina/backpack | 7d7d1aaafe052c40db46efca8c95a3efd22dae47 | [
"BSD-3-Clause"
] | null | null | null | .pub/deps/debug/angular2/lib/src/core/linker/app_view_utils.template.dart | smirina/backpack | 7d7d1aaafe052c40db46efca8c95a3efd22dae47 | [
"BSD-3-Clause"
] | null | null | null | .pub/deps/debug/angular2/lib/src/core/linker/app_view_utils.template.dart | smirina/backpack | 7d7d1aaafe052c40db46efca8c95a3efd22dae47 | [
"BSD-3-Clause"
] | null | null | null | // @ignoreProblemForFile annotate_overrides
// @ignoreProblemForFile cancel_subscriptions
// @ignoreProblemForFile constant_identifier_names
// @ignoreProblemForFile non_constant_identifier_names
// @ignoreProblemForFile implementation_imports
// @ignoreProblemForFile library_prefixes
// @ignoreProblemForFile type_anno... | 47.709091 | 127 | 0.819741 |
cdea5fb5daa12c80e169a7beccc814100619b9f6 | 6,588 | asm | Assembly | install/dsegmod.asm | DigitalMars/optlink | 493de158282046641ef2a3a60a88e25e26d88ec4 | [
"BSL-1.0"
] | 28 | 2015-02-03T01:38:24.000Z | 2022-03-23T05:48:24.000Z | install/dsegmod.asm | DigitalMars/optlink | 493de158282046641ef2a3a60a88e25e26d88ec4 | [
"BSL-1.0"
] | 20 | 2015-01-02T14:51:20.000Z | 2021-01-09T21:37:19.000Z | install/dsegmod.asm | DigitalMars/optlink | 493de158282046641ef2a3a60a88e25e26d88ec4 | [
"BSL-1.0"
] | 9 | 2015-02-11T17:43:56.000Z | 2019-09-05T11:07:02.000Z | TITLE DSEGMOD - Copyright (c) 1994 by SLR Systems
INCLUDE MACROS
INCLUDE SEGMENTS
PUBLIC DEFINE_SEGMOD,DEFINE_SEGMOD_0
.DATA
EXTERNDEF SEG_COMBINE:BYTE,CLASS_TYPE:BYTE,CLASS_PLTYPE:BYTE,FILE_PLINK_FLAGS:BYTE,SEG_ALIGN:BYTE
EXTERNDEF CODEVIEW_PLTYPE:BYTE
EXTERNDEF CLASS_SECTION_GINDEX:DWORD,CURNMOD... | 16.720812 | 99 | 0.733455 |
38596d8ca2de050d858a54cec05130f2f698fb98 | 493 | cs | C# | Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEvent.cs | nmshd/bkb-synchronization | 9d2f4c5ad3fadd5206e32a88278bb5482a0bf4f4 | [
"MIT"
] | null | null | null | Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEvent.cs | nmshd/bkb-synchronization | 9d2f4c5ad3fadd5206e32a88278bb5482a0bf4f4 | [
"MIT"
] | null | null | null | Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEvent.cs | nmshd/bkb-synchronization | 9d2f4c5ad3fadd5206e32a88278bb5482a0bf4f4 | [
"MIT"
] | null | null | null | using Enmeshed.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events;
namespace Synchronization.Application.IntegrationEvents.Incoming.RelationshipChangeCompleted;
public class RelationshipChangeCompletedIntegrationEvent : IntegrationEvent
{
public string ChangeId { get; set; }
public string... | 37.923077 | 93 | 0.789047 |
e4eac42c0aba9b425fe7aad55c0bdbb500de8194 | 1,510 | go | Go | render/protobuf.go | RavisMsk/graphite-clickhouse | cf46efae6ddffe433e79e82d42b9caed2b2a72bd | [
"MIT"
] | null | null | null | render/protobuf.go | RavisMsk/graphite-clickhouse | cf46efae6ddffe433e79e82d42b9caed2b2a72bd | [
"MIT"
] | null | null | null | render/protobuf.go | RavisMsk/graphite-clickhouse | cf46efae6ddffe433e79e82d42b9caed2b2a72bd | [
"MIT"
] | null | null | null | package render
import (
"bufio"
"bytes"
"io"
"math"
)
var pbVarints []byte
const protobufMaxVarintBytes = 10 // maximum length of a varint
func init() {
// precalculate varints
buf := bytes.NewBuffer(nil)
for i := uint64(0); i < 16384; i++ {
buf.Write(VarintEncode(i))
}
pbVarints = buf.Bytes()
}
func ... | 16.413043 | 63 | 0.607285 |
72c7ecc5efabcbe2ceeb51ad519b66b799b1cdb9 | 1,495 | cs | C# | Assets/Scripts/TriggerLocationUpdate.cs | nklskln/Helheim | bf9ebae2b744eaae31e7eeff1f814cde9c9b3a7c | [
"Linux-OpenIB"
] | null | null | null | Assets/Scripts/TriggerLocationUpdate.cs | nklskln/Helheim | bf9ebae2b744eaae31e7eeff1f814cde9c9b3a7c | [
"Linux-OpenIB"
] | null | null | null | Assets/Scripts/TriggerLocationUpdate.cs | nklskln/Helheim | bf9ebae2b744eaae31e7eeff1f814cde9c9b3a7c | [
"Linux-OpenIB"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Homebrew;
public class TriggerLocationUpdate : MonoBehaviour
{
[Foldout("Technical Vars - no touchy if no needy to")]
[Header("Location Update Animator")]
[Tooltip("The Animator which holds the anima... | 29.9 | 93 | 0.68495 |
8e990c1c6a862ff3e3be03477b67ffe5334c7a58 | 2,755 | js | JavaScript | tests/benchmarks/lodash4/tests-rewritten/test143.js | kaist-plrg/safe-ds | c54a9481b297a75af4f8b2ff42464025a95ea792 | [
"BSD-2-Clause"
] | 2 | 2021-11-25T12:53:02.000Z | 2022-02-01T23:29:49.000Z | tests/benchmarks/lodash4/tests-rewritten/test143.js | kaist-plrg/safe-ds | c54a9481b297a75af4f8b2ff42464025a95ea792 | [
"BSD-2-Clause"
] | null | null | null | tests/benchmarks/lodash4/tests-rewritten/test143.js | kaist-plrg/safe-ds | c54a9481b297a75af4f8b2ff42464025a95ea792 | [
"BSD-2-Clause"
] | null | null | null | QUnit.module('indexOf methods');
lodashStable.each([
__str_top__,
__str_top__,
__str_top__,
__str_top__
], function (methodName) {
var func = _[methodName], isIndexOf = !/last/i.test(methodName), isSorted = /^sorted/.test(methodName);
QUnit.test(__str_top__ + methodName + __str_top__, function (... | 39.927536 | 107 | 0.597459 |
8e6db1e34cd57a5b6f1183ee697f9de896782eb4 | 166 | rs | Rust | server/prisma-rs/libs/datamodel/src/dml/comment.rs | otrebu/prisma | 298be5c919119847bb8d102d6b16672edd06b2c5 | [
"Apache-2.0"
] | 2 | 2019-08-07T08:55:48.000Z | 2020-10-21T02:59:34.000Z | server/prisma-rs/libs/datamodel/src/dml/comment.rs | michaelfriedman/prisma | 298be5c919119847bb8d102d6b16672edd06b2c5 | [
"Apache-2.0"
] | null | null | null | server/prisma-rs/libs/datamodel/src/dml/comment.rs | michaelfriedman/prisma | 298be5c919119847bb8d102d6b16672edd06b2c5 | [
"Apache-2.0"
] | 1 | 2018-11-14T22:31:26.000Z | 2018-11-14T22:31:26.000Z | use serde::{Deserialize, Serialize};
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
pub struct Comment {
pub text: String,
pub is_error: bool,
}
| 20.75 | 58 | 0.704819 |
03f834a08e068fb8d2654d075ce59e45f1590367 | 5,901 | sql | SQL | database/admin.sql | yuhuih052/store | b1feadba4eb5b39dd5854c9deeb1bca01c8134aa | [
"MIT"
] | null | null | null | database/admin.sql | yuhuih052/store | b1feadba4eb5b39dd5854c9deeb1bca01c8134aa | [
"MIT"
] | 8 | 2020-12-11T15:05:02.000Z | 2022-02-27T00:03:08.000Z | database/admin.sql | yuhuih052/store | b1feadba4eb5b39dd5854c9deeb1bca01c8134aa | [
"MIT"
] | null | null | null | -- MySQL dump 10.13 Distrib 5.7.24, for Linux (x86_64)
--
-- Host: localhost Database: store
-- ------------------------------------------------------
-- Server version 5.7.24-0ubuntu0.18.04.1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_... | 54.638889 | 807 | 0.694967 |
6dab7f5a642d99cdd567d55449932bbf6b0f89a7 | 1,049 | ts | TypeScript | src/server/graphql/Subscription/messageReceived/subscriber.ts | strattadb/collector | e45e60ed00d59231f2c799a957fefe8da5c70044 | [
"MIT"
] | 10 | 2019-01-06T00:58:59.000Z | 2021-12-05T18:55:52.000Z | src/server/graphql/Subscription/messageReceived/subscriber.ts | origen-chat/core | e45e60ed00d59231f2c799a957fefe8da5c70044 | [
"MIT"
] | 24 | 2019-01-23T22:19:34.000Z | 2020-07-10T00:45:25.000Z | src/server/graphql/Subscription/messageReceived/subscriber.ts | strattadb/collectr | e45e60ed00d59231f2c799a957fefe8da5c70044 | [
"MIT"
] | 2 | 2019-01-20T02:35:06.000Z | 2019-07-09T11:39:59.000Z | import { withFilter } from 'graphql-subscriptions';
import * as core from '../../../../core';
import { Resolver, Root } from '../../../types';
import { withDecodedGlobalIds } from '../../helpers';
import { NodeType } from '../../types';
import { MessageReceivedArgs, MessageReceivedPayload } from './types';
const fil... | 24.97619 | 80 | 0.734986 |
3a54c55a524c5b4a2fb7681bad729cfc0233d8ca | 1,286 | lua | Lua | lua/tabout/utils.lua | yutkat/tabout.nvim | 03f32794f15bcddd2f68fb47962cbe07bac70e0b | [
"Unlicense"
] | null | null | null | lua/tabout/utils.lua | yutkat/tabout.nvim | 03f32794f15bcddd2f68fb47962cbe07bac70e0b | [
"Unlicense"
] | null | null | null | lua/tabout/utils.lua | yutkat/tabout.nvim | 03f32794f15bcddd2f68fb47962cbe07bac70e0b | [
"Unlicense"
] | null | null | null | local api = vim.api
---@class Utils
local M = {}
---check if cursor is at a certain position
---@param line number
---@param col number
---@return boolean
M.is_cursor_at_position = function(line, col)
local cursor = api.nvim_win_get_cursor(0)
return line == cursor[1] - 1 and col == cursor[2]
end
---register... | 27.956522 | 108 | 0.61042 |
23e7c204f89828bf106c96a60d82099c4f45be80 | 899 | js | JavaScript | index.js | MangKong-coder/results-api | d9dc2dbd6c9c26988e8b8186daba7e17879eea17 | [
"MIT"
] | null | null | null | index.js | MangKong-coder/results-api | d9dc2dbd6c9c26988e8b8186daba7e17879eea17 | [
"MIT"
] | null | null | null | index.js | MangKong-coder/results-api | d9dc2dbd6c9c26988e8b8186daba7e17879eea17 | [
"MIT"
] | null | null | null | const express = require('express');
const mongoose = require('mongoose');
const cors = require('cors')
const helmet = require('helmet')
const resultRouter = require('./routes/result')
const app = express();
app.use(express.json())
app.use(cors());
app.use(helmet())
app.get('/', (req, res, next) => {
res.send(... | 26.441176 | 229 | 0.67297 |
7f2ef1ed39c684048c91ed5cc4194495283bc446 | 454 | php | PHP | src/Exception/InvalidStateException.php | adsazad/datatables-bundle | f14fec523aae831c42df3fee0b0c55422ae80d3f | [
"MIT"
] | 185 | 2017-11-02T22:39:37.000Z | 2022-02-24T14:29:41.000Z | src/Exception/InvalidStateException.php | adsazad/datatables-bundle | f14fec523aae831c42df3fee0b0c55422ae80d3f | [
"MIT"
] | 227 | 2017-11-07T15:01:04.000Z | 2022-03-21T12:05:09.000Z | src/Exception/InvalidStateException.php | adsazad/datatables-bundle | f14fec523aae831c42df3fee0b0c55422ae80d3f | [
"MIT"
] | 133 | 2017-11-02T22:39:46.000Z | 2022-03-15T16:24:52.000Z | <?php
/*
* Symfony DataTables Bundle
* (c) Omines Internetbureau B.V. - https://omines.nl/
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Omines\DataTablesBundle\Exception;
/**
* InvalidState... | 19.73913 | 74 | 0.742291 |
af62c7ac476a95ffd94910f9dfa0aa4309ecbcf8 | 759 | py | Python | tests/test_clamd.py | polyswarm/polyswarm-client | 1ce057725d7db59c3582e4cd3cf148cde7ddddeb | [
"MIT"
] | 21 | 2018-09-15T00:12:42.000Z | 2020-10-28T00:42:59.000Z | tests/test_clamd.py | polyswarm/polyswarm-client | 1ce057725d7db59c3582e4cd3cf148cde7ddddeb | [
"MIT"
] | 435 | 2018-09-05T18:53:21.000Z | 2021-11-30T17:32:10.000Z | tests/test_clamd.py | polyswarm/polyswarm-client | 1ce057725d7db59c3582e4cd3cf148cde7ddddeb | [
"MIT"
] | 3 | 2019-07-26T00:14:47.000Z | 2021-04-26T10:57:56.000Z | import aiohttp
import pytest
from microengine_utils.malwarerepoclient import DummyMalwareRepoClient
from polyswarmartifact import ArtifactType
from microengine.clamav import Scanner
from tests.utils.fixtures import not_listening_on_port
@pytest.mark.skipif(not_listening_on_port(3310), reason='ClamAV is not running'... | 31.625 | 91 | 0.770751 |
82dec77a6f3be4d2274929dec9160f21cfea7f89 | 284 | sql | SQL | code-samples/hazelcast-integration/spring-data-jpa-hazelcast-migration/after/after-jpa-service/src/test/resources/testdata.sql | ardeshir/gohazel | edc11cd068cc132b1baa7c51f43b180d74f60316 | [
"Apache-2.0",
"MIT"
] | null | null | null | code-samples/hazelcast-integration/spring-data-jpa-hazelcast-migration/after/after-jpa-service/src/test/resources/testdata.sql | ardeshir/gohazel | edc11cd068cc132b1baa7c51f43b180d74f60316 | [
"Apache-2.0",
"MIT"
] | null | null | null | code-samples/hazelcast-integration/spring-data-jpa-hazelcast-migration/after/after-jpa-service/src/test/resources/testdata.sql | ardeshir/gohazel | edc11cd068cc132b1baa7c51f43b180d74f60316 | [
"Apache-2.0",
"MIT"
] | null | null | null | DELETE FROM noun;
INSERT INTO noun (id, english, french, spanish)
VALUES
(1, 'milk', 'lait', 'leche')
,(2, 'water', 'eau', 'agua')
;
DELETE FROM verb;
INSERT INTO verb (id, english, french, spanish, tense)
VALUES
(9, 'drink', 'bois', 'bebe', 1)
,(10, 'eat', 'manger', 'come', 1)
;
| 17.75 | 54 | 0.616197 |
ed2512f74478620a0d2450bdb9dfa7c68be78872 | 2,214 | h | C | stm32f1.h | cpq/stm32-bluepill-ccm | 2e2102bed6f4ad2986fe8306f86b9b9a2f0230df | [
"MIT"
] | 9 | 2020-05-24T21:32:27.000Z | 2022-02-25T13:24:21.000Z | stm32f1.h | cpq/stm32-bluepill-ccm | 2e2102bed6f4ad2986fe8306f86b9b9a2f0230df | [
"MIT"
] | null | null | null | stm32f1.h | cpq/stm32-bluepill-ccm | 2e2102bed6f4ad2986fe8306f86b9b9a2f0230df | [
"MIT"
] | 2 | 2019-08-20T11:58:45.000Z | 2019-12-08T19:45:20.000Z | // Copyright (c) 2018 Cesanta Software Limited
// All rights reserved
//
// TRM: https://www.st.com/resource/en/reference_manual/cd00171190.pdf
#include <stdint.h>
#include <string.h>
#define LED_PIN 13 // PC13
#define TX_PIN 9 // PA9
#define RX_PIN 10 // PA10
// RCC registers, TRM section 7.3
struct rcc {
v... | 34.59375 | 74 | 0.551039 |
dd7648bdeca54475cee5d14148d7940009d534b6 | 3,828 | java | Java | jdk11/openj9.dtfj/com/ibm/j9ddr/corereaders/memory/ProcessAddressSpace.java | 1446554749/jdk_11_src_read | b9c070d7232ee3cf5f2f6270e748ada74cbabb3f | [
"Apache-2.0"
] | null | null | null | jdk11/openj9.dtfj/com/ibm/j9ddr/corereaders/memory/ProcessAddressSpace.java | 1446554749/jdk_11_src_read | b9c070d7232ee3cf5f2f6270e748ada74cbabb3f | [
"Apache-2.0"
] | null | null | null | jdk11/openj9.dtfj/com/ibm/j9ddr/corereaders/memory/ProcessAddressSpace.java | 1446554749/jdk_11_src_read | b9c070d7232ee3cf5f2f6270e748ada74cbabb3f | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright (c) 2009, 2014 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
* distribution and is available at https://w... | 27.539568 | 135 | 0.701672 |
8d85511354a198e5d8f69c62513245e8e5873678 | 1,311 | js | JavaScript | ui/lib/utils/api-request.js | kolly83/kore | a0b11be9bd3a7d998807d4ff062c3fc8f73565c2 | [
"Apache-2.0"
] | null | null | null | ui/lib/utils/api-request.js | kolly83/kore | a0b11be9bd3a7d998807d4ff062c3fc8f73565c2 | [
"Apache-2.0"
] | 2 | 2021-04-29T19:30:30.000Z | 2021-04-29T19:31:01.000Z | ui/lib/utils/api-request.js | kolly83/kore | a0b11be9bd3a7d998807d4ff062c3fc8f73565c2 | [
"Apache-2.0"
] | null | null | null | import axios from 'axios'
import redirect from './redirect'
import config from '../../config'
import checkUserExpired from '../../server/lib/user-expired'
export default async (reqRes, method, apiPath, body, options) => {
const req = reqRes && reqRes.req
const res = reqRes && reqRes.res
options = options || {}
... | 33.615385 | 96 | 0.627002 |
79bb84440f0dbe25bef0692e7e04a9685f3d0319 | 8,621 | php | PHP | resources/views/user/edit.blade.php | dafuku/daily-report | a8744d4cf89c74e1d6583ce53fa01f15f3a0ac91 | [
"MIT"
] | null | null | null | resources/views/user/edit.blade.php | dafuku/daily-report | a8744d4cf89c74e1d6583ce53fa01f15f3a0ac91 | [
"MIT"
] | null | null | null | resources/views/user/edit.blade.php | dafuku/daily-report | a8744d4cf89c74e1d6583ce53fa01f15f3a0ac91 | [
"MIT"
] | null | null | null | @extends('adminlte::page')
@section('title', config('app.title_user_edit'))
@section('content_header')
{{ Breadcrumbs::render('user.edit', $user) }}
@stop
@section('content')
<div class="container" style="max-width:900px;">
<div class="row">
<div class="col-12">
<div class... | 57.092715 | 312 | 0.323744 |
79ba18d7fc0bb04f5dc015cf107c14ebab9501a6 | 548 | sql | SQL | install/tables/mapa.sql | ffis/compass | a42bde9d6429a7e3223934c803fc28c3398b4df5 | [
"MIT"
] | null | null | null | install/tables/mapa.sql | ffis/compass | a42bde9d6429a7e3223934c803fc28c3398b4df5 | [
"MIT"
] | null | null | null | install/tables/mapa.sql | ffis/compass | a42bde9d6429a7e3223934c803fc28c3398b4df5 | [
"MIT"
] | null | null | null | CREATE TABLE [dbo].[mapa](
[mapaid] [int] IDENTITY(1,1) NOT NULL,
[nombre] [varchar](50) NOT NULL,
[ruta] [varchar](255) NOT NULL,
[servicio] [varchar](50) NOT NULL,
[width] [int] NOT NULL CONSTRAINT [DF_mapa_width] DEFAULT ((0)),
[height] [int] NOT NULL CONSTRAINT [DF_mapa_height] DEFAULT ((0)),
[title] [varc... | 42.153846 | 137 | 0.691606 |
df4699bee5508ae24e7e9abf1d9a07f0497dd753 | 1,592 | cs | C# | sdk/resources/Azure.ResourceManager.Resources/src/Generated/LongRunningOperation/ArmApplicationDefinitionOperationSource.cs | gjy5885/azure-sdk-for-net | 5491b723c94176509a91c340485f10009189ac72 | [
"MIT"
] | 1 | 2021-12-01T16:39:54.000Z | 2021-12-01T16:39:54.000Z | sdk/resources/Azure.ResourceManager.Resources/src/Generated/LongRunningOperation/ArmApplicationDefinitionOperationSource.cs | gjy5885/azure-sdk-for-net | 5491b723c94176509a91c340485f10009189ac72 | [
"MIT"
] | 1 | 2022-01-20T09:15:51.000Z | 2022-01-20T09:15:51.000Z | sdk/resources/Azure.ResourceManager.Resources/src/Generated/LongRunningOperation/ArmApplicationDefinitionOperationSource.cs | gjy5885/azure-sdk-for-net | 5491b723c94176509a91c340485f10009189ac72 | [
"MIT"
] | 1 | 2022-01-14T18:26:30.000Z | 2022-01-14T18:26:30.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.ResourceManager;
namespace Azure.ResourceManager.Resources
{... | 38.829268 | 182 | 0.761307 |
0dedde64991e161b35b6fa37888f5788474c634e | 1,797 | cs | C# | Tests/AutoFake.FunctionalTests/StaticTests/ConditionalInjectionTests.cs | Serg046/AutoFake | d6d185ba80640aadcf716cd2d388ca14799495da | [
"MIT"
] | 26 | 2019-08-20T18:45:54.000Z | 2022-03-18T05:58:14.000Z | Tests/AutoFake.FunctionalTests/StaticTests/ConditionalInjectionTests.cs | Serg046/AutoFake | d6d185ba80640aadcf716cd2d388ca14799495da | [
"MIT"
] | 200 | 2016-08-08T13:20:46.000Z | 2022-03-31T02:33:25.000Z | Tests/AutoFake.FunctionalTests/StaticTests/ConditionalInjectionTests.cs | Serg046/AutoFake | d6d185ba80640aadcf716cd2d388ca14799495da | [
"MIT"
] | 2 | 2020-12-14T09:08:07.000Z | 2022-02-23T22:08:36.000Z | using FluentAssertions;
using Xunit;
namespace AutoFake.FunctionalTests.StaticTests
{
public class ConditionalInjectionTests
{
[Fact]
public void When_condition_in_replace_mock_Should_succeed()
{
var fake = new Fake(typeof(TestClass));
var sut = fake.Rewrite(() => TestClass.GetNumber());
sut.Replace... | 24.283784 | 95 | 0.674457 |
74bc8d27c9ed99eaa733db42cbcd897701a52d71 | 230 | css | CSS | src/ControlButton.css | devabhsk/react-markdown | 66eb9d3faa729928f9a370d4c1705efca39bb41e | [
"MIT"
] | null | null | null | src/ControlButton.css | devabhsk/react-markdown | 66eb9d3faa729928f9a370d4c1705efca39bb41e | [
"MIT"
] | null | null | null | src/ControlButton.css | devabhsk/react-markdown | 66eb9d3faa729928f9a370d4c1705efca39bb41e | [
"MIT"
] | null | null | null | .controlText{
color: gray;
padding-bottom: 0pt;
margin-bottom: 0pt;
}
.controlIcon{
font-size: 16pt;
margin-top: 5pt;
margin-bottom: 5pt;
height: 20pt;
}
.control{
padding: 0pt;
margin: 4pt;
} | 13.529412 | 24 | 0.595652 |
88447ab9cd11f72cfc66dcbe4aed7dedcde3ef9f | 1,114 | ps1 | PowerShell | d365fo.tools/functions/get-d365url.ps1 | dmcewing/d365fo.tools | d114fabad8b5c6766fa255e6354b38e54e16d410 | [
"MIT"
] | null | null | null | d365fo.tools/functions/get-d365url.ps1 | dmcewing/d365fo.tools | d114fabad8b5c6766fa255e6354b38e54e16d410 | [
"MIT"
] | null | null | null | d365fo.tools/functions/get-d365url.ps1 | dmcewing/d365fo.tools | d114fabad8b5c6766fa255e6354b38e54e16d410 | [
"MIT"
] | null | null | null |
<#
.SYNOPSIS
Get the url for accessing the instance
.DESCRIPTION
Get the complete URL for accessing the Dynamics 365 Finance & Operations instance running on this machine
.PARAMETER Force
Switch to instruct the cmdlet to retrieve the name from the system files
... | 27.170732 | 113 | 0.605027 |
62b8beb6b4f98062223670bb802bd7eccfa54100 | 28,863 | c | C | common/pof_log_print.c | ProtocolObliviousForwarding/pofswitch | 747afa5a8ea0c38b0dcb0e23607be887c835131d | [
"Unlicense"
] | 8 | 2015-02-10T01:17:49.000Z | 2021-11-13T12:03:44.000Z | common/pof_log_print.c | ProtocolObliviousForwarding/pofswitch | 747afa5a8ea0c38b0dcb0e23607be887c835131d | [
"Unlicense"
] | null | null | null | common/pof_log_print.c | ProtocolObliviousForwarding/pofswitch | 747afa5a8ea0c38b0dcb0e23607be887c835131d | [
"Unlicense"
] | 9 | 2015-02-10T05:17:52.000Z | 2021-12-25T17:36:13.000Z | /**
* Copyright (c) 2012, 2013, Huawei Technologies Co., Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice... | 30.191423 | 99 | 0.671517 |
582eb103e7c37fcc1a1415c4a31be3600c7a62d3 | 2,613 | css | CSS | css/group.css | CHANTXU64/Girls-Frontline | 634c33520648bf9a56d24b106643266d6ef66f56 | [
"MIT"
] | 11 | 2020-01-05T07:31:46.000Z | 2021-10-02T12:18:09.000Z | css/group.css | CHANTXU64/Girls-Frontline | 634c33520648bf9a56d24b106643266d6ef66f56 | [
"MIT"
] | 1 | 2020-04-28T10:45:52.000Z | 2020-05-06T07:31:51.000Z | css/group.css | CHANTXU64/Girls-Frontline | 634c33520648bf9a56d24b106643266d6ef66f56 | [
"MIT"
] | 1 | 2021-08-06T12:53:15.000Z | 2021-08-06T12:53:15.000Z | .input-group .input-group-btn+.input-group-btn,
.input-group .input-group-btn+.input-group-span,
.input-group .input-group-span+.input-group-span,
.input-group .input-group-span+.input-group-btn {
margin-left: -1px;
}
.input-group-btn,
.input-group-span,
.input-group-label {
display: -ms-flexbox;
position:... | 20.738095 | 69 | 0.657482 |
5b91488390925dfea24a7219c347ac5269b42ebc | 1,201 | swift | Swift | Sources/SwiftlyGPIODemo/ICM20498/Register/InterruptPinConfiguration.swift | scottandrew/SwftlyGPIO | b418d8b6dd16ebe30ebf0391fd7336d0c02a55d0 | [
"MIT"
] | null | null | null | Sources/SwiftlyGPIODemo/ICM20498/Register/InterruptPinConfiguration.swift | scottandrew/SwftlyGPIO | b418d8b6dd16ebe30ebf0391fd7336d0c02a55d0 | [
"MIT"
] | null | null | null | Sources/SwiftlyGPIODemo/ICM20498/Register/InterruptPinConfiguration.swift | scottandrew/SwftlyGPIO | b418d8b6dd16ebe30ebf0391fd7336d0c02a55d0 | [
"MIT"
] | null | null | null | class InterruptPinConfiguration: BitStruct {
enum LogicLevel: UInt8 {
case activeHigh
case activeLow
}
enum PinConfiguration: UInt8 {
case pushPull
case openDrain
}
var logicLevel: LogicLevel {
get { return isEnabled(bitNumber: 7) ? .activeLow : .activeLow }
set { enable(bitNumbe... | 26.108696 | 68 | 0.65612 |
8cbbb112b8f20060c133e4da106fb12bf0815ecf | 5,947 | go | Go | bundle.go | raintreeinc/livepkg | 8d1ab99c52af625bd26a65a45541e4bfb1a5dccc | [
"Unlicense"
] | null | null | null | bundle.go | raintreeinc/livepkg | 8d1ab99c52af625bd26a65a45541e4bfb1a5dccc | [
"Unlicense"
] | null | null | null | bundle.go | raintreeinc/livepkg | 8d1ab99c52af625bd26a65a45541e4bfb1a5dccc | [
"Unlicense"
] | null | null | null | package livepkg
import (
"bytes"
"fmt"
"mime"
"net/http"
"os"
"path/filepath"
"strings"
"sync/atomic"
"time"
)
// Errors is a wrapper for multiple errors
type Errors []error
// Error is for implementing error interface
func (errs Errors) Error() string {
var msgs []string
for _, err := range errs {
msgs... | 21.239286 | 85 | 0.647722 |
94920aaf5c89ebfb2d8bbb0166666d506db39c0f | 790 | sql | SQL | ore/conf/evolutions/default/37.sql | isabella232/Ore-1 | 186f1ecd5716ee143a3db645444bae4bc2d167a3 | [
"MIT"
] | 154 | 2015-01-03T01:58:17.000Z | 2021-11-12T12:08:08.000Z | ore/conf/evolutions/default/37.sql | isabella232/Ore-1 | 186f1ecd5716ee143a3db645444bae4bc2d167a3 | [
"MIT"
] | 705 | 2015-01-03T01:34:27.000Z | 2022-02-17T20:37:37.000Z | ore/conf/evolutions/default/37.sql | isabella232/Ore-1 | 186f1ecd5716ee143a3db645444bae4bc2d167a3 | [
"MIT"
] | 85 | 2015-01-03T05:04:39.000Z | 2022-03-16T17:34:22.000Z | # --- !Ups
create table notifications (
id bigint not null primary key,
created_at timestamp not null,
user_id bigint not null references users on delete cascade,
notification_type int not null,
message varchar(255) not null,
... | 31.6 | 80 | 0.618987 |
5ef932dae686b55721fb5d4e859be1d88dedc8dc | 2,339 | php | PHP | application/controllers/api/Document.php | DanJohan/keymortgage | b3abbdc9a1bcf84119b23d3da64950a6bec25bb2 | [
"MIT"
] | null | null | null | application/controllers/api/Document.php | DanJohan/keymortgage | b3abbdc9a1bcf84119b23d3da64950a6bec25bb2 | [
"MIT"
] | null | null | null | application/controllers/api/Document.php | DanJohan/keymortgage | b3abbdc9a1bcf84119b23d3da64950a6bec25bb2 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Document extends MY_Controller {
public function __construct(){
parent::__construct();
$this->load->helper('api');
$this->load->model('DocumentModel');
}
public function docUpload(){
$this->form_validation->set_r... | 29.987179 | 101 | 0.574605 |
90bd61fbc0668733e7fab153951b3d1298ec3ff8 | 10,521 | rs | Rust | src/lib.rs | Davichet-e/grouping-by | 0288e0cc5ddc175479e3dfee546ea545809e9154 | [
"MIT"
] | 1 | 2021-10-13T10:06:53.000Z | 2021-10-13T10:06:53.000Z | src/lib.rs | Davichet-e/grouping-by | 0288e0cc5ddc175479e3dfee546ea545809e9154 | [
"MIT"
] | 1 | 2020-07-17T16:29:31.000Z | 2020-07-17T16:29:31.000Z | src/lib.rs | Davichet-e/grouping-by | 0288e0cc5ddc175479e3dfee546ea545809e9154 | [
"MIT"
] | null | null | null | //! This library provides users the possibility of grouping your iterators of various ways.
//! It is similar to Java `Collectors.groupingBy`
//!
//! It is implemented for any type which implements `Iterator`, but you can implement it to your custom iterator.
//!
//! ## Example:
//! ```rust
//! use std::collections::Ha... | 30.146132 | 120 | 0.477141 |
f4fea6cfb80babc9293495aee29734d01f994007 | 3,835 | sh | Shell | Scripts/pt-grep.sh | f9kill/pentest-tools | 795f80c6d4a1ca15e4cd334ac15fef6c1dfdb045 | [
"MIT"
] | null | null | null | Scripts/pt-grep.sh | f9kill/pentest-tools | 795f80c6d4a1ca15e4cd334ac15fef6c1dfdb045 | [
"MIT"
] | null | null | null | Scripts/pt-grep.sh | f9kill/pentest-tools | 795f80c6d4a1ca15e4cd334ac15fef6c1dfdb045 | [
"MIT"
] | null | null | null | #!/usr/bin/env bash
######################################################################
# Author : Hugo Torres de Lima <hugotorres@protonmail.com> #
# Date : 2021/08/15 #
# License : MIT #
# Version : 1.0... | 30.927419 | 70 | 0.241721 |
662e89cc0e06ed095fe1ea0b555b36e820df5010 | 3,299 | py | Python | Speech Recognizer/Speech Recognizer 2.py | alexissoto1/AudioNerd.py | 107b7eb8a141994798eb10075e8591491ca9b471 | [
"MIT"
] | null | null | null | Speech Recognizer/Speech Recognizer 2.py | alexissoto1/AudioNerd.py | 107b7eb8a141994798eb10075e8591491ca9b471 | [
"MIT"
] | null | null | null | Speech Recognizer/Speech Recognizer 2.py | alexissoto1/AudioNerd.py | 107b7eb8a141994798eb10075e8591491ca9b471 | [
"MIT"
] | null | null | null | #Python 2.7
import tkinter as tk
from tkinter import ttk
import speech_recognition as sr
from tkinter import messagebox
class Recognizer(object):
def __init__(self,root):
self.root = root
root.title('Speech Recognizer')
root.resizable(False, False)
root.configure(back... | 35.858696 | 109 | 0.558048 |
0a6421a9c30f3015f3135bb0713ea4b216da63b3 | 2,699 | cs | C# | src/FutureState.Data/UnitOfWork/EntitySetWriter.TEntity.TKey.cs | riskvista/futurestate-forked | 5825618b577829a77f3e23b486a396b728e326ba | [
"Apache-2.0"
] | 1 | 2018-04-15T14:10:16.000Z | 2018-04-15T14:10:16.000Z | src/FutureState.Data/UnitOfWork/EntitySetWriter.TEntity.TKey.cs | riskvista/futurestate-forked | 5825618b577829a77f3e23b486a396b728e326ba | [
"Apache-2.0"
] | null | null | null | src/FutureState.Data/UnitOfWork/EntitySetWriter.TEntity.TKey.cs | riskvista/futurestate-forked | 5825618b577829a77f3e23b486a396b728e326ba | [
"Apache-2.0"
] | 1 | 2021-08-29T20:09:02.000Z | 2021-08-29T20:09:02.000Z | using System;
using System.Collections.Generic;
using System.Linq;
namespace FutureState.Data
{
/// <summary>
/// Adapts a repository to write entities via a repository
/// throgh a consistent data store session.
/// </summary>
public class EntitySetWriter<TEntity, TKey> : IWriter<TEntity,... | 27.540816 | 108 | 0.580956 |
be44895152fd6eca7befd44ba957e6f1ed805b49 | 18,523 | ts | TypeScript | src/BloomBrowserUI/bookEdit/bloomField/bloomFieldSpec.ts | StephenMcConnel/BloomDesktop | ef184acc3fcec5807bd79c4ef8f42ae06f529584 | [
"MIT"
] | 36 | 2015-02-05T17:52:45.000Z | 2022-03-17T01:17:59.000Z | src/BloomBrowserUI/bookEdit/bloomField/bloomFieldSpec.ts | StephenMcConnel/BloomDesktop | ef184acc3fcec5807bd79c4ef8f42ae06f529584 | [
"MIT"
] | 1,633 | 2015-01-05T15:42:36.000Z | 2022-03-29T21:57:30.000Z | src/BloomBrowserUI/bookEdit/bloomField/bloomFieldSpec.ts | StephenMcConnel/BloomDesktop | ef184acc3fcec5807bd79c4ef8f42ae06f529584 | [
"MIT"
] | 16 | 2015-01-06T15:06:49.000Z | 2021-07-12T19:42:49.000Z | ///<reference path="BloomField.ts" />
///<reference path="../../typings/bundledFromTSC.d.ts"/>
import { getTestRoot, removeTestRoot } from "../../utils/testHelper";
import BloomField from "./BloomField";
function WireUp() {
$(".bloom-editable").each(function() {
BloomField.ManageField(this);
});
}
des... | 45.068127 | 449 | 0.60989 |
a3334e0e8c702ce901c293c61d58ff00bb207b0c | 2,438 | java | Java | meaningfulweb-core/src/test/java/org/meaningfulweb/core/test/MWCoreTest.java | javasoze/meaningfulweb | 6e698ed2960166182e8037c1fd2aed49e7ef9e7d | [
"Apache-2.0"
] | 3 | 2015-07-09T01:59:57.000Z | 2017-08-30T10:50:09.000Z | meaningfulweb-core/src/test/java/org/meaningfulweb/core/test/MWCoreTest.java | javasoze/meaningfulweb | 6e698ed2960166182e8037c1fd2aed49e7ef9e7d | [
"Apache-2.0"
] | 1 | 2019-07-02T17:28:47.000Z | 2019-07-02T17:28:47.000Z | meaningfulweb-core/src/test/java/org/meaningfulweb/core/test/MWCoreTest.java | javasoze/meaningfulweb | 6e698ed2960166182e8037c1fd2aed49e7ef9e7d | [
"Apache-2.0"
] | null | null | null | package org.meaningfulweb.core.test;
import java.io.File;
import junit.framework.TestCase;
import org.apache.log4j.Logger;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import org.meaningfulweb.api.MeaningfulWebObject;
import org.meaningfulweb.api.MetaContentExtractor;
import org.... | 30.860759 | 91 | 0.736259 |
5839a83acdaa8cb05434228e65f6bb9cf1ca4cb2 | 117 | css | CSS | src/app/app.component.css | allcodegrab/Todo-Angular-Front | 67d8402488c9de10ac4a145a65dde0cf3732e674 | [
"MIT"
] | null | null | null | src/app/app.component.css | allcodegrab/Todo-Angular-Front | 67d8402488c9de10ac4a145a65dde0cf3732e674 | [
"MIT"
] | 7 | 2020-07-17T10:12:53.000Z | 2022-02-26T12:09:05.000Z | src/app/app.component.css | allcodegrab/Todo-Angular-Front | 67d8402488c9de10ac4a145a65dde0cf3732e674 | [
"MIT"
] | null | null | null | .cdk-overlay-container {
position: fixed;
z-index: 99999 !important;
}
#toast-container > div {
opacity:1;
} | 14.625 | 30 | 0.65812 |
d318865f084f29d9c43e11f5398262646c09a32f | 2,584 | rb | Ruby | Formula/corsixth.rb | intragalactic/homebrew-core | 40792346706f402a722dec641135621e4e36ad94 | [
"BSD-2-Clause"
] | null | null | null | Formula/corsixth.rb | intragalactic/homebrew-core | 40792346706f402a722dec641135621e4e36ad94 | [
"BSD-2-Clause"
] | null | null | null | Formula/corsixth.rb | intragalactic/homebrew-core | 40792346706f402a722dec641135621e4e36ad94 | [
"BSD-2-Clause"
] | 1 | 2019-04-18T17:40:10.000Z | 2019-04-18T17:40:10.000Z | class Corsixth < Formula
desc "Open source clone of Theme Hospital"
homepage "https://github.com/CorsixTH/CorsixTH"
url "https://github.com/CorsixTH/CorsixTH/archive/v0.62.tar.gz"
sha256 "b219270310255493c881a09bb4a5569f34a72cdaf3c3be920c1036a2450317ce"
revision 1
head "https://github.com/CorsixTH/CorsixTH.... | 38 | 161 | 0.693111 |
a43c6cfbf895ff41c4c7c63fe7192c5533e2bf2a | 331 | php | PHP | app/views/email.blade.php | ismailrami/restocommand_api | aaa2bce950c5c97b232930fc70281aa62f9b3a00 | [
"MIT"
] | null | null | null | app/views/email.blade.php | ismailrami/restocommand_api | aaa2bce950c5c97b232930fc70281aa62f9b3a00 | [
"MIT"
] | null | null | null | app/views/email.blade.php | ismailrami/restocommand_api | aaa2bce950c5c97b232930fc70281aa62f9b3a00 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
</head>
<body>
<h1>{{$restaurant}}</h1><br>
<h2>{{$firstName}}{{$lastName}}</h2>
<div>
Vous etes inscrit avec le pseudo <b>{{$login}}</b> correspont a cette adresse email {{$email}}<br>
mot de passe est : {{$password}}
</div>
</body>
</... | 15.761905 | 101 | 0.570997 |
9c6a12c2a1f9afe8bd9c5aac42d0f08f8c20691b | 1,953 | swift | Swift | Example/ValueStepper/ViewController.swift | Vidhyadharan24/ValueStepper | 39cfac6212062be8b6206d08420ef6fbda76dc5e | [
"MIT"
] | 372 | 2016-02-19T13:55:12.000Z | 2022-02-03T14:22:39.000Z | Example/ValueStepper/ViewController.swift | Vidhyadharan24/ValueStepper | 39cfac6212062be8b6206d08420ef6fbda76dc5e | [
"MIT"
] | 31 | 2016-02-19T13:29:07.000Z | 2021-10-09T19:38:18.000Z | Example/ValueStepper/ViewController.swift | Vidhyadharan24/ValueStepper | 39cfac6212062be8b6206d08420ef6fbda76dc5e | [
"MIT"
] | 61 | 2016-02-21T12:35:19.000Z | 2022-02-24T09:38:52.000Z | //
// ViewController.swift
// ValueStepper
//
// Created by Patrick Balestra on 02/18/2016.
// Copyright (c) 2016 Patrick Balestra. All rights reserved.
//
import UIKit
import ValueStepper
class ViewController: UIViewController {
@IBOutlet weak var stepper1: ValueStepper!
@IBOutlet weak var stepper2: Val... | 33.101695 | 116 | 0.670251 |
45aa2afc6f7f5080dae2c38fda4627133d38189e | 484 | py | Python | Climbing the Leaderboard.py | adi-797/Algorithms-Hackerrank | 660694c722c2e2e136e1bc1009482a1699dc5759 | [
"MIT"
] | 2 | 2018-08-31T16:58:57.000Z | 2018-08-31T17:03:50.000Z | Climbing the Leaderboard.py | adi-797/Algorithms-Hackerrank | 660694c722c2e2e136e1bc1009482a1699dc5759 | [
"MIT"
] | null | null | null | Climbing the Leaderboard.py | adi-797/Algorithms-Hackerrank | 660694c722c2e2e136e1bc1009482a1699dc5759 | [
"MIT"
] | null | null | null | n = int(input().strip())
scores = [int(scores_temp) for scores_temp in input().strip().split(' ')]
m = int(input().strip())
alice = [int(alice_temp) for alice_temp in input().strip().split(' ')]
ranking = [scores[0]]
for itm in scores:
if itm != ranking[-1]:
ranking.append(itm)
inx = len(ranking) - 1
fo... | 21.043478 | 73 | 0.572314 |
ad05cb8a9e54bd9d009ac9959513e5e8bf6108f5 | 107 | swift | Swift | test/Classes/demo.swift | amccalla/test | 891e5f04d8cefc367e0a3c9f2e0155d7a87609a7 | [
"MIT"
] | null | null | null | test/Classes/demo.swift | amccalla/test | 891e5f04d8cefc367e0a3c9f2e0155d7a87609a7 | [
"MIT"
] | null | null | null | test/Classes/demo.swift | amccalla/test | 891e5f04d8cefc367e0a3c9f2e0155d7a87609a7 | [
"MIT"
] | null | null | null | //
// demo.swift
// Pods-test_Example
//
// Created by Andrew McCalla on 3/24/21.
//
import Foundation
| 11.888889 | 41 | 0.654206 |
9d66c358f2b988fdd4a5ef251ca16f335b7f542a | 5,673 | rs | Rust | kernel/src/storage/base_data/mod.rs | unofficial-ckb/uckb-scanner | 45263c885eeab627af2828e840f6c3caaec66f26 | [
"Apache-2.0",
"MIT"
] | null | null | null | kernel/src/storage/base_data/mod.rs | unofficial-ckb/uckb-scanner | 45263c885eeab627af2828e840f6c3caaec66f26 | [
"Apache-2.0",
"MIT"
] | null | null | null | kernel/src/storage/base_data/mod.rs | unofficial-ckb/uckb-scanner | 45263c885eeab627af2828e840f6c3caaec66f26 | [
"Apache-2.0",
"MIT"
] | null | null | null | // Copyright (C) 2019-2020 Boyu Yang
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except accord... | 39.950704 | 89 | 0.529702 |
545c481fbfbb1a70f78ce349391543ada700ab6e | 156 | css | CSS | commander/main.css | ANF-Studios/PortfolioWebsite | 8ef4b6b77c64e1165c30e8b4183ade4573a29da3 | [
"MIT"
] | null | null | null | commander/main.css | ANF-Studios/PortfolioWebsite | 8ef4b6b77c64e1165c30e8b4183ade4573a29da3 | [
"MIT"
] | null | null | null | commander/main.css | ANF-Studios/PortfolioWebsite | 8ef4b6b77c64e1165c30e8b4183ade4573a29da3 | [
"MIT"
] | null | null | null | *
{
color: whitesmoke;
background-color: #202124;
}
option
{
text-align: center;
}
input, select
{
position: absolute;
left: 200px;
}
| 9.176471 | 30 | 0.596154 |
e0e2b90dff14476fcb32d363258ce499dad86b2e | 3,993 | sql | SQL | geo_etl.sql | sxinger/i2b2-geo | 5810516ad62bbe3bd79b4be5da234071d0e2d53f | [
"MIT"
] | 1 | 2020-05-06T21:23:21.000Z | 2020-05-06T21:23:21.000Z | geo_etl.sql | sxinger/i2b2-geo | 5810516ad62bbe3bd79b4be5da234071d0e2d53f | [
"MIT"
] | null | null | null | geo_etl.sql | sxinger/i2b2-geo | 5810516ad62bbe3bd79b4be5da234071d0e2d53f | [
"MIT"
] | null | null | null | /*****************************************/
/*merge with patient_dimension */
/*DE-ID and ETL */
/*****************************************/
whenever sqlerror continue;
drop table geo_num_tbl;
drop table geo_cnt_tbl;
drop table geo_cnt_perc_tbl;
whenever sqlerror exit;
se... | 34.721739 | 208 | 0.574756 |
03abe486ba392878613b5e13edc19cad97d7b19d | 264,300 | lua | Lua | game/engine_LL.lua | gradualgames/lynnslegacy | 89b1767fffbea030a8cc51cb4ea8e88a0849cf55 | [
"Unlicense"
] | 8 | 2020-06-01T17:24:32.000Z | 2022-03-03T02:00:32.000Z | game/engine_LL.lua | gradualgames/lynnslegacy | 89b1767fffbea030a8cc51cb4ea8e88a0849cf55 | [
"Unlicense"
] | null | null | null | game/engine_LL.lua | gradualgames/lynnslegacy | 89b1767fffbea030a8cc51cb4ea8e88a0849cf55 | [
"Unlicense"
] | 1 | 2021-01-22T03:11:08.000Z | 2021-01-22T03:11:08.000Z | require("lib.blob")
require("game.audio")
require("game.binary_objects")
require("game.constants")
require("game.engine_object")
require("game.engine_object_damage")
require("game.macros")
require("game.object_boss")
require("game.object_control")
require("game.utils")
require("game.utility")
-- Sub ll_main_entry()
fu... | 30.569049 | 267 | 0.551805 |
62fae675757ed0328a305ebf4e1bf0da9955218e | 689,964 | sql | SQL | sql/InitTables_shops.sql | pantskun/swordiemen | fc33ffec168e6611587fdc75de8270f6827a4176 | [
"MIT"
] | null | null | null | sql/InitTables_shops.sql | pantskun/swordiemen | fc33ffec168e6611587fdc75de8270f6827a4176 | [
"MIT"
] | null | null | null | sql/InitTables_shops.sql | pantskun/swordiemen | fc33ffec168e6611587fdc75de8270f6827a4176 | [
"MIT"
] | null | null | null | drop table if exists shopitems;
create table shopitems(
id bigint not null auto_increment,
shopid int,
itemid int,
price int,
tokenitemid int,
tokenprice int,
pointquestid int,
pointprice int,
starcoin int,
questexid int,
questexkey varchar(255),
questexvalue int,
itemp... | 187.134255 | 379 | 0.391823 |
af31865b84efc0e3930f8594f8da3cabac894d28 | 4,138 | py | Python | Tools.py | slzKud/SkHelper_Bot | 7d33406ce1a52f31dc9e21fb927517e2a03caa86 | [
"MIT"
] | null | null | null | Tools.py | slzKud/SkHelper_Bot | 7d33406ce1a52f31dc9e21fb927517e2a03caa86 | [
"MIT"
] | null | null | null | Tools.py | slzKud/SkHelper_Bot | 7d33406ce1a52f31dc9e21fb927517e2a03caa86 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# -*- coding: UTF-8 -*-
import requests,json,string,config,re,os
#查询token
def GetConohaToken():
header={"Accept":"application/json"}
post_data='''{"auth":{"passwordCredentials":{"username":"'''+config.Conoha_Username+'''","password":"'''+config.Conoha_Password+'''"},"tenantId":"'''+config... | 33.370968 | 180 | 0.589657 |
e4f603abd0f33a8f456d51ab1f9353cd52ee5657 | 18,941 | go | Go | src/vendor/github.com/govend/govend/imports/filters/stdpkgs.go | PaulTurner-awin/slack-jira-bot | 98ca8e79ae14cc1fc7a54221ec12aef82ac6faf1 | [
"MIT"
] | 258 | 2016-02-17T00:07:35.000Z | 2021-11-15T09:56:24.000Z | src/vendor/github.com/govend/govend/imports/filters/stdpkgs.go | PaulTurner-awin/slack-jira-bot | 98ca8e79ae14cc1fc7a54221ec12aef82ac6faf1 | [
"MIT"
] | 44 | 2016-02-18T12:24:32.000Z | 2019-10-05T23:06:33.000Z | src/vendor/github.com/govend/govend/imports/filters/stdpkgs.go | PaulTurner-awin/slack-jira-bot | 98ca8e79ae14cc1fc7a54221ec12aef82ac6faf1 | [
"MIT"
] | 40 | 2016-02-16T20:50:24.000Z | 2020-11-12T16:06:31.000Z | // Copyright 2016 govend. All rights reserved.
// Use of this source code is governed by an Apache 2.0
// license that can be found in the LICENSE file.
//
// this file is auto-generated by generate.go
//
package filters
type stdpkg struct {
path, dir string
}
var stdpkgs = map[string][]stdpkg{
"addr2line": {
{... | 38.034137 | 109 | 0.596431 |
d66a5b5c6df14ff2760bae69743047ec68dae93c | 631 | cs | C# | api/src/framework/momentum.framework.core/Services/IJwtService.cs | NicoJuicy/website | 22ef3c07a452afb5059423ef20e2bcbfed2fa688 | [
"MIT"
] | null | null | null | api/src/framework/momentum.framework.core/Services/IJwtService.cs | NicoJuicy/website | 22ef3c07a452afb5059423ef20e2bcbfed2fa688 | [
"MIT"
] | null | null | null | api/src/framework/momentum.framework.core/Services/IJwtService.cs | NicoJuicy/website | 22ef3c07a452afb5059423ef20e2bcbfed2fa688 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Momentum.Framework.Core.Services
{
public interface IJwtService
{
Task<string> GenerateRefreshTokenAsync(Guid userId, bool gameRequest);
string GenerateAccessToken(Guid... | 31.55 | 133 | 0.751189 |
a17740ae2ea728c0c91821ab91fc0a91d7dc627b | 751 | ts | TypeScript | packages/data/src/data/Items/DivineFist.ts | PaulEndri/eternal-return-project | 34d105db1e6b42339d40bfc468a7140961b16fe7 | [
"MIT"
] | null | null | null | packages/data/src/data/Items/DivineFist.ts | PaulEndri/eternal-return-project | 34d105db1e6b42339d40bfc468a7140961b16fe7 | [
"MIT"
] | null | null | null | packages/data/src/data/Items/DivineFist.ts | PaulEndri/eternal-return-project | 34d105db1e6b42339d40bfc468a7140961b16fe7 | [
"MIT"
] | null | null | null | import Item from '../../types/Item';
export const DivineFist: Item = {
"id": 110406,
"name": "DivineFist",
"buildsInto": [],
"requirements": {
"Cotton Gloves": 1,
"Scrap Metal": 1,
"Iron Ore": 1,
"Gunpowder": 1,
"Cross": 1
},
"stats": {
"attackPower": 53,
"moveSpeed": -0.05,
"preventBasicAttackDa... | 17.068182 | 36 | 0.580559 |
0a9799f7374d281fa821e7ee2053e87d2920d7e2 | 1,634 | cs | C# | Fapstronaut/Nose.cs | harcoremozgus/Fapstronaut_TheJourney | a4c3451cfa41bc658903376ef6c54e616d959216 | [
"MIT"
] | null | null | null | Fapstronaut/Nose.cs | harcoremozgus/Fapstronaut_TheJourney | a4c3451cfa41bc658903376ef6c54e616d959216 | [
"MIT"
] | null | null | null | Fapstronaut/Nose.cs | harcoremozgus/Fapstronaut_TheJourney | a4c3451cfa41bc658903376ef6c54e616d959216 | [
"MIT"
] | null | null | null | using Godot;
using System;
public class Nose : Area2D
{
// Declare member variables here. Examples:
// private int a = 2;
// private string b = "text";
Player player;
GameLogic gameLogic;
float close = 10f;
float speed = 50f;
float scaleReduction = 0.1f;
float minimumScale = 0.4f... | 24.38806 | 98 | 0.569767 |
ff3814e2cc15dea7fb176a85dffeea4741cf59f3 | 15,088 | py | Python | src/cutadapt/filters.py | bernt-matthias/cutadapt | 9ba5b705ba0e6cc5e32d4ce3810788b05b16a306 | [
"MIT"
] | null | null | null | src/cutadapt/filters.py | bernt-matthias/cutadapt | 9ba5b705ba0e6cc5e32d4ce3810788b05b16a306 | [
"MIT"
] | null | null | null | src/cutadapt/filters.py | bernt-matthias/cutadapt | 9ba5b705ba0e6cc5e32d4ce3810788b05b16a306 | [
"MIT"
] | null | null | null | """
Classes for writing and filtering of processed reads.
A Filter is a callable that has the read as its only argument. If it is called,
it returns True if the read should be filtered (discarded), and False if not.
To be used, a filter needs to be wrapped in one of the redirector classes.
They are called so because ... | 34.605505 | 98 | 0.634743 |
18d7202f85a8f1d89d7f859501bc235ec3decc04 | 86 | sql | SQL | hackerrank-solutions/sql/Aggregation/Weather Observation Station 18.sql | orcsnren/hackerrank-problem-solving | cfb50aa8baae4393ba2c24262cb2c13dd6a7a527 | [
"MIT"
] | null | null | null | hackerrank-solutions/sql/Aggregation/Weather Observation Station 18.sql | orcsnren/hackerrank-problem-solving | cfb50aa8baae4393ba2c24262cb2c13dd6a7a527 | [
"MIT"
] | null | null | null | hackerrank-solutions/sql/Aggregation/Weather Observation Station 18.sql | orcsnren/hackerrank-problem-solving | cfb50aa8baae4393ba2c24262cb2c13dd6a7a527 | [
"MIT"
] | null | null | null | SELECT ROUND((MAX(LONG_W) - MIN(LONG_W)) + (MAX(LAT_N) - MIN(LAT_N)),4) FROM STATION; | 86 | 86 | 0.662791 |
6f19296d303fafc6f7244ac887b3fce5eb77cec5 | 1,170 | php | PHP | resources/themes/ali-v1/management/regiao-corpo/form.blade.php | carlossantoswd/luure_public | 036f5ed7e87a7f578e38e6e4fe6d89f97cb3e331 | [
"MIT"
] | null | null | null | resources/themes/ali-v1/management/regiao-corpo/form.blade.php | carlossantoswd/luure_public | 036f5ed7e87a7f578e38e6e4fe6d89f97cb3e331 | [
"MIT"
] | null | null | null | resources/themes/ali-v1/management/regiao-corpo/form.blade.php | carlossantoswd/luure_public | 036f5ed7e87a7f578e38e6e4fe6d89f97cb3e331 | [
"MIT"
] | null | null | null | @extends('layouts/form')
@section('css')
@endsection
@section('content')
<div class="card-content">
@include('layouts/partials/formerrors')
@if(!isset($regiaoCorpo))
<form id="formulario" class="row" method="post" action="{{ route('regiao-corpo.store') }}">
@if(1==2)
</form>
@endif
@else
<form id="formula... | 22.941176 | 200 | 0.637607 |
6d8bd9ae3d31d7fe5638c13350e45c4e39252223 | 1,605 | h | C | unittest/pch.h | ExternalRepositories/charls | 482417c66d34b0d015cf9ecdb55de7c9a76ef0c9 | [
"BSD-3-Clause"
] | 133 | 2015-10-19T05:01:49.000Z | 2022-03-01T08:46:03.000Z | unittest/pch.h | ExternalRepositories/charls | 482417c66d34b0d015cf9ecdb55de7c9a76ef0c9 | [
"BSD-3-Clause"
] | 110 | 2015-12-14T09:43:15.000Z | 2022-03-20T22:51:14.000Z | unittest/pch.h | ExternalRepositories/charls | 482417c66d34b0d015cf9ecdb55de7c9a76ef0c9 | [
"BSD-3-Clause"
] | 64 | 2015-09-28T07:59:32.000Z | 2022-03-19T22:57:04.000Z | // Copyright (c) Team CharLS.
// SPDX-License-Identifier: BSD-3-Clause
#pragma once
#pragma warning(push)
#pragma warning( \
disable : 5039) // '_set_invalid_parameter_handler' : pointer or reference to potentially throwing function passed to
// extern C function under - EHc.Undefined behavior... | 37.325581 | 121 | 0.743302 |
05c33a28e41d27019c59c692e645b33e2c6b2cae | 61 | py | Python | baekjoon/2163.py | phillip5094/algorithm-practice | 4d3c42cc73fbcc6158d04bbaaa511fee2fa08ef8 | [
"Apache-2.0"
] | null | null | null | baekjoon/2163.py | phillip5094/algorithm-practice | 4d3c42cc73fbcc6158d04bbaaa511fee2fa08ef8 | [
"Apache-2.0"
] | null | null | null | baekjoon/2163.py | phillip5094/algorithm-practice | 4d3c42cc73fbcc6158d04bbaaa511fee2fa08ef8 | [
"Apache-2.0"
] | null | null | null | n, m = map(int, input().split())
print(n - 1 + n * (m - 1))
| 15.25 | 32 | 0.459016 |
38e0219b76c0489fffde0d72783db4673f1c7f2f | 653 | php | PHP | src/VO/GatewayResult.php | zsardarov/laravel-msg | ac457bb04b759643af42274bfe498f93ef31a9f0 | [
"MIT"
] | 1 | 2021-03-07T12:38:48.000Z | 2021-03-07T12:38:48.000Z | src/VO/GatewayResult.php | zsardarov/laravel-msg | ac457bb04b759643af42274bfe498f93ef31a9f0 | [
"MIT"
] | null | null | null | src/VO/GatewayResult.php | zsardarov/laravel-msg | ac457bb04b759643af42274bfe498f93ef31a9f0 | [
"MIT"
] | null | null | null | <?php
namespace Zsardarov\Msg\VO;
final class GatewayResult
{
private $statusCode;
private $messageId;
private function __construct(string $statusCode, string $messageId)
{
$this->statusCode = $statusCode;
$this->messageId = $messageId;
}
public static function fromResponse(s... | 19.787879 | 71 | 0.62634 |
4b8e1d39bcb4a305427a85e03d11ef9c3ed4aab5 | 265 | rs | Rust | src/lib.rs | nyxiative/rust-project-template | 9ccc9cc7f0ba5388b68c72058b375119d110e15f | [
"Unlicense"
] | null | null | null | src/lib.rs | nyxiative/rust-project-template | 9ccc9cc7f0ba5388b68c72058b375119d110e15f | [
"Unlicense"
] | null | null | null | src/lib.rs | nyxiative/rust-project-template | 9ccc9cc7f0ba5388b68c72058b375119d110e15f | [
"Unlicense"
] | null | null | null | pub fn hello_world() -> &'static str { "Hello World!" }
#[cfg(test)]
pub mod tests {
#[test]
fn test_hello_world() {
assert_eq!(crate::hello_world(), "Hello World!");
}
#[test]
fn test_hello_john() {
assert_ne!(crate::hello_world(), "Hello John!");
}
}
| 17.666667 | 55 | 0.622642 |