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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d1325e4358a78c865e883e1d88da0a3b4c77f02e | 547 | swift | Swift | Tests/ExampleAppTests/Routing/AppRouteTests.swift | quickthyme/qroute-example-ios | 16b7325f6ad05a4dd54633bca52b809945268a97 | [
"MIT"
] | 1 | 2019-03-03T02:49:26.000Z | 2019-03-03T02:49:26.000Z | Tests/ExampleAppTests/Routing/AppRouteTests.swift | quickthyme/qtroute-example-ios | 16b7325f6ad05a4dd54633bca52b809945268a97 | [
"MIT"
] | null | null | null | Tests/ExampleAppTests/Routing/AppRouteTests.swift | quickthyme/qtroute-example-ios | 16b7325f6ad05a4dd54633bca52b809945268a97 | [
"MIT"
] | null | null | null |
import XCTest
class AppRouteTests: XCTestCase {
func test_routesAreAllUnique() {
given("App Route Plan") {
let routePlan = AppRoute.plan
then("all route ids are unique") {
let expectedNumberOfRoutes = 6
XCTAssertEqual(routePlan.flattened.count, expec... | 30.388889 | 91 | 0.597806 |
ddaea882387e200cc39f5c6a5bb4b9c45047650a | 477 | php | PHP | database/factories/PostFactory.php | OGHaza/harrycodes | ed574aab046e5ff6c6977dcabd84e9ffb37957dc | [
"MIT"
] | null | null | null | database/factories/PostFactory.php | OGHaza/harrycodes | ed574aab046e5ff6c6977dcabd84e9ffb37957dc | [
"MIT"
] | null | null | null | database/factories/PostFactory.php | OGHaza/harrycodes | ed574aab046e5ff6c6977dcabd84e9ffb37957dc | [
"MIT"
] | null | null | null | <?php
use Faker\Generator as Faker;
$factory->define(App\Post::class, function (Faker $faker) {
$users = App\User::pluck('id')->toArray();
$date = $faker->date;
return [
'user_id' => $faker->randomElement($users),
'title' => $faker->sentence,
'subtitle' => (rand(1,2) > 1) ? $faker->sente... | 28.058824 | 63 | 0.534591 |
7bd7bcba97e29c315c22f651c8cfb6cbc577f1ff | 1,795 | rb | Ruby | spec/specs/apia/definitions/polymorph_spec.rb | krystal/apia | 43c1c740f0b896442cce5af80a020d502a53066d | [
"MIT"
] | 12 | 2021-08-04T11:20:49.000Z | 2022-02-24T08:36:51.000Z | spec/specs/apia/definitions/polymorph_spec.rb | krystal/apia | 43c1c740f0b896442cce5af80a020d502a53066d | [
"MIT"
] | null | null | null | spec/specs/apia/definitions/polymorph_spec.rb | krystal/apia | 43c1c740f0b896442cce5af80a020d502a53066d | [
"MIT"
] | null | null | null | # frozen_string_literal: true
require 'spec_helper'
describe Apia::Definitions::Polymorph do
context '#validate' do
it 'should not add any errors for a valid polymorph' do
polymorph = described_class.new('ExamplePolymorph')
polymorph.options[:string] = Apia::Definitions::PolymorphOption.new('StringO... | 43.780488 | 138 | 0.711421 |
b992260d35e34fb7c47a6a79f77ed31900a09073 | 4,843 | h | C | sys/src/cmd/gs/gxpcolor.h | Plan9-Archive/plan9-2e | ce6d0434246216e848babe4f56919dc28981ad04 | [
"MIT"
] | 1 | 2021-03-23T22:40:43.000Z | 2021-03-23T22:40:43.000Z | sys/src/cmd/gs/gxpcolor.h | Plan9-Archive/plan9-2e | ce6d0434246216e848babe4f56919dc28981ad04 | [
"MIT"
] | null | null | null | sys/src/cmd/gs/gxpcolor.h | Plan9-Archive/plan9-2e | ce6d0434246216e848babe4f56919dc28981ad04 | [
"MIT"
] | 1 | 2021-12-21T06:19:58.000Z | 2021-12-21T06:19:58.000Z | /* Copyright (C) 1993, 1994 Aladdin Enterprises. All rights reserved.
This file is part of Aladdin Ghostscript.
Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author
or distributor accepts any responsibility for the consequences of using it,
or for whether it serves any particular p... | 40.697479 | 88 | 0.753872 |
874f25a50c6ce85bee6012ea4c0b7e7c07299a20 | 5,018 | rs | Rust | sppparse/src/sparse_ref_raw.rs | basiliqio/sppparse | 67996dff5be20b3ea301eeab5b7415b0d45f3c07 | [
"MIT"
] | null | null | null | sppparse/src/sparse_ref_raw.rs | basiliqio/sppparse | 67996dff5be20b3ea301eeab5b7415b0d45f3c07 | [
"MIT"
] | null | null | null | sppparse/src/sparse_ref_raw.rs | basiliqio/sppparse | 67996dff5be20b3ea301eeab5b7415b0d45f3c07 | [
"MIT"
] | null | null | null | use super::*;
/// # A raw dynamic ref
///
/// [SparseRefRaw](SparseRefRaw) will render the pointed value.
///
/// It uses a [SparseState](crate::SparseState) to render itself in order to limit the IO calls
/// at a minimum. It will deserialize into the desired type at creation.
///
/// If the [SparseStateFile](crate::... | 31.167702 | 95 | 0.564568 |
869c4d46ebb69e47f24702e4949c5d0e73f7694d | 898 | rs | Rust | arci-ros/src/ros_speak_client.rs | OpenRR/OpenRR | bfafe3707164cf8ca1143b5daa039f60b1831fdb | [
"Apache-2.0"
] | 1 | 2020-09-30T06:01:43.000Z | 2020-09-30T06:01:43.000Z | arci-ros/src/ros_speak_client.rs | OpenRR/OpenRR | bfafe3707164cf8ca1143b5daa039f60b1831fdb | [
"Apache-2.0"
] | null | null | null | arci-ros/src/ros_speak_client.rs | OpenRR/OpenRR | bfafe3707164cf8ca1143b5daa039f60b1831fdb | [
"Apache-2.0"
] | null | null | null | use arci::WaitFuture;
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
mod msg {
rosrust::rosmsg_include!(std_msgs / String);
}
pub struct RosEspeakClient {
publisher: rosrust::Publisher<msg::std_msgs::String>,
}
#[derive(Debug, Serialize, Deserialize, Clone, JsonSchema)]
#[serde(deny_unknown_f... | 23.631579 | 71 | 0.620267 |
39772b379797b3db9f1e013fd95bee3ccf500ebb | 956 | html | HTML | recruitinfo/meituan.html | supersnow0622/supersnow0622.github.io | 20fe985543d63994abc5c01dddc27ee6fad5d61c | [
"MIT"
] | null | null | null | recruitinfo/meituan.html | supersnow0622/supersnow0622.github.io | 20fe985543d63994abc5c01dddc27ee6fad5d61c | [
"MIT"
] | null | null | null | recruitinfo/meituan.html | supersnow0622/supersnow0622.github.io | 20fe985543d63994abc5c01dddc27ee6fad5d61c | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>京北优聘</title>
<link rel="stylesheet" href="../css/style.css">
</head>
<body>
<h1>美团外卖诚聘 </h1>
<p class="subTitle">职位简介:</p>
<p>应聘职位:美... | 23.9 | 164 | 0.688285 |
225db9cfecd7b2c2a746abba123ff3998d503920 | 3,150 | sql | SQL | ruby/parse-atcsmon-logs/database.sql | erben22/atcsmon | 443ace230e73e6f5ac6cd0e85f6af8094411e6d7 | [
"MIT"
] | 1 | 2019-02-26T02:34:34.000Z | 2019-02-26T02:34:34.000Z | ruby/parse-atcsmon-logs/database.sql | erben22/atcsmon | 443ace230e73e6f5ac6cd0e85f6af8094411e6d7 | [
"MIT"
] | null | null | null | ruby/parse-atcsmon-logs/database.sql | erben22/atcsmon | 443ace230e73e6f5ac6cd0e85f6af8094411e6d7 | [
"MIT"
] | null | null | null | CREATE DATABASE IF NOT EXISTS `atcsmon` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `atcsmon`;
-- MySQL dump 10.13 Distrib 5.7.9, for osx10.9 (x86_64)
--
-- Host: 127.0.0.1 Database: atcsmon
-- ------------------------------------------------------
-- Server version 5.7.12
/*!40101 SET @OLD_CHARACTER_SET_CLIENT... | 35 | 273 | 0.709841 |
2f5edcf68c0d88d902487a04ce947ee08e1399d5 | 661 | php | PHP | src/ResourceForCall.php | quantumca/dnspod-sdk | 2b9c576fe4d5a1101cc967b0b4a60a55d16c92a1 | [
"MIT"
] | null | null | null | src/ResourceForCall.php | quantumca/dnspod-sdk | 2b9c576fe4d5a1101cc967b0b4a60a55d16c92a1 | [
"MIT"
] | null | null | null | src/ResourceForCall.php | quantumca/dnspod-sdk | 2b9c576fe4d5a1101cc967b0b4a60a55d16c92a1 | [
"MIT"
] | null | null | null | <?php
namespace QuantumCA\DNSPod;
use QuantumCA\DNSPod\DNSPod;
use QuantumCA\DNSPod\Traits\CanRequest;
class ResourceForCall
{
use CanRequest;
/**
* DNSPod 秘钥 ID
* @var DNSPod
*/
protected $sdk;
/**
* @var string
*/
protected $resource;
/**
* @var string
... | 16.121951 | 62 | 0.541604 |
2a22ae9911c73de3b63a9fa19650b57e1d202fe8 | 1,010 | java | Java | artio-core/src/main/java/uk/co/real_logic/artio/ErrorHandlerFactory.java | guoguanglei/artio | 9dba95f188a4578a820c550d50db08f13431edf2 | [
"Apache-2.0"
] | 224 | 2017-11-01T10:06:58.000Z | 2022-03-26T08:12:15.000Z | artio-core/src/main/java/uk/co/real_logic/artio/ErrorHandlerFactory.java | guoguanglei/artio | 9dba95f188a4578a820c550d50db08f13431edf2 | [
"Apache-2.0"
] | 287 | 2017-12-29T13:06:21.000Z | 2022-03-18T18:07:37.000Z | artio-core/src/main/java/uk/co/real_logic/artio/ErrorHandlerFactory.java | guoguanglei/artio | 9dba95f188a4578a820c550d50db08f13431edf2 | [
"Apache-2.0"
] | 97 | 2017-11-01T11:35:01.000Z | 2022-03-29T15:13:35.000Z | package uk.co.real_logic.artio;
import org.agrona.ErrorHandler;
import org.agrona.concurrent.AtomicBuffer;
import org.agrona.concurrent.EpochClock;
import org.agrona.concurrent.SystemEpochClock;
import org.agrona.concurrent.errors.DistinctErrorLog;
import static io.aeron.driver.Configuration.ERROR_BUFFER_LENGTH_PROP_... | 31.5625 | 114 | 0.666337 |
6b0ea2f9d4c6f4010333ce77e24103883caa5fbc | 485 | swift | Swift | Sources/ProtocolType/ModuleName.swift | nerdsupremacist/AssociatedTypeRequirementsKit | 2e4c49c21ffb2135f1c99fbfcf2119c9d24f5e8c | [
"MIT"
] | 18 | 2020-07-05T23:36:23.000Z | 2022-01-22T04:45:51.000Z | Sources/ProtocolType/ModuleName.swift | nerdsupremacist/AssociatedTypeRequirementsKit | 2e4c49c21ffb2135f1c99fbfcf2119c9d24f5e8c | [
"MIT"
] | 4 | 2020-07-06T08:23:17.000Z | 2022-01-16T11:44:08.000Z | Sources/ProtocolType/ModuleName.swift | nerdsupremacist/AssociatedTypeRequirementsKit | 2e4c49c21ffb2135f1c99fbfcf2119c9d24f5e8c | [
"MIT"
] | 1 | 2022-01-19T19:19:25.000Z | 2022-01-19T19:19:25.000Z |
import Foundation
public struct ModuleName : RawRepresentable, Equatable {
public let rawValue: String
public init(rawValue: String) {
self.rawValue = rawValue
}
}
extension ModuleName : ExpressibleByStringLiteral {
public init(stringLiteral value: String) {
self.init(rawVal... | 17.962963 | 56 | 0.665979 |
53fc2f2cf0af8fd3543a6362a217027c77fc3076 | 273 | asm | Assembly | programs/oeis/032/A032614.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/032/A032614.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/032/A032614.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A032614: Concatenation of n and n + 9 or {n,n+9}.
; 110,211,312,413,514,615,716,817,918,1019,1120,1221,1322,1423,1524,1625,1726,1827,1928,2029,2130,2231,2332,2433,2534,2635,2736,2837,2938,3039,3140,3241,3342,3443,3544,3645,3746,3847,3948,4049,4150
mul $0,101
add $0,110
| 45.5 | 197 | 0.739927 |
90fa366a1c5cc9062bb4ad9e539b0186616654b8 | 1,383 | py | Python | python-algorithm/leetcode/problem_69.py | isudox/nerd-algorithm | c1fbe153953cf3fc24395f75d102016fdf9ea0fa | [
"MIT"
] | 5 | 2017-06-11T09:19:34.000Z | 2019-01-16T16:58:31.000Z | python-algorithm/leetcode/problem_69.py | isudox/leetcode-solution | 60085e64deaf396a171367affc94b18114565c43 | [
"MIT"
] | 5 | 2020-03-22T13:53:54.000Z | 2020-03-23T08:49:35.000Z | python-algorithm/leetcode/problem_69.py | isudox/nerd-algorithm | c1fbe153953cf3fc24395f75d102016fdf9ea0fa | [
"MIT"
] | 1 | 2019-03-02T15:50:43.000Z | 2019-03-02T15:50:43.000Z | """69. Sqrt(x)
https://leetcode.com/problems/sqrtx/
Implement int sqrt(int x).
Compute and return the square root of x, where x is guaranteed to be a
non-negative integer.
Since the return type is an integer, the decimal digits are truncated and
only the integer part of the result is returned.
Example 1:
Input: 4
... | 23.05 | 73 | 0.482285 |
041f75a949ce1493122ded69b079fb20115b232b | 470 | js | JavaScript | src/constants.js | skayo/svelte-tiny-virtual-list | 1cc31b6b919b1624c24286445367ec8bc40727cf | [
"MIT"
] | 11 | 2022-03-24T02:30:13.000Z | 2022-03-31T14:05:42.000Z | src/constants.js | skayo/svelte-tiny-virtual-list | 1cc31b6b919b1624c24286445367ec8bc40727cf | [
"MIT"
] | 1 | 2022-03-24T22:26:49.000Z | 2022-03-30T08:53:01.000Z | src/constants.js | skayo/svelte-tiny-virtual-list | 1cc31b6b919b1624c24286445367ec8bc40727cf | [
"MIT"
] | null | null | null | export const ALIGNMENT = {
AUTO: 'auto',
START: 'start',
CENTER: 'center',
END: 'end',
};
export const DIRECTION = {
HORIZONTAL: 'horizontal',
VERTICAL: 'vertical',
};
export const SCROLL_CHANGE_REASON = {
OBSERVED: 0,
REQUESTED: 1,
};
export const SCROLL_PROP = {
[DIRECTION.VERTICAL]: 'top',
[D... | 17.407407 | 38 | 0.661702 |
e77f677f0976956c6595b5885afc69f555affdb8 | 477 | js | JavaScript | lib/validate.js | dannyrb/bugsnag-build-reporter-node | ba3b41552733a5c5d0b3387d47216ad64d58fd97 | [
"MIT"
] | 4 | 2018-03-27T05:32:03.000Z | 2021-10-21T23:44:32.000Z | node_modules/bugsnag-build-reporter/lib/validate.js | Masternode24/mobile-wallet | fe20e8da4fc63f04e88408300703991db1cb41b9 | [
"MIT"
] | 9 | 2018-12-10T17:11:29.000Z | 2021-07-05T09:18:35.000Z | node_modules/bugsnag-build-reporter/lib/validate.js | Masternode24/mobile-wallet | fe20e8da4fc63f04e88408300703991db1cb41b9 | [
"MIT"
] | 4 | 2018-11-06T12:05:41.000Z | 2021-06-30T15:59:36.000Z | const inspect = require('util').inspect
module.exports = schema => (opts, cb) => {
const errors = Object.keys(schema).reduce((accum, key) => {
if (schema[key].validate(opts[key])) return accum
return accum.concat({ key, message: schema[key].message, value: inspect(opts[key]) })
}, [])
if (!errors.length)... | 36.692308 | 89 | 0.637317 |
231e92436961bdf963f91e880180ef5bc5df1698 | 2,077 | swift | Swift | MQKit/MQKit/Extension/Metal/MTLTexture+MQ.swift | M-Quadra/MQKit | 6bb363cee9974b2006440f80a6ed10d15fd227cf | [
"MIT"
] | null | null | null | MQKit/MQKit/Extension/Metal/MTLTexture+MQ.swift | M-Quadra/MQKit | 6bb363cee9974b2006440f80a6ed10d15fd227cf | [
"MIT"
] | null | null | null | MQKit/MQKit/Extension/Metal/MTLTexture+MQ.swift | M-Quadra/MQKit | 6bb363cee9974b2006440f80a6ed10d15fd227cf | [
"MIT"
] | null | null | null | //
// MTLTexture+MQ.swift
// MQKit
//
// Created by M_Quadra on 2020/5/8.
// Copyright © 2020 M_noAria. All rights reserved.
//
import Metal
import UIKit
@available(iOS 9.0, *)
extension MTLTexture {
/// alpha: whether to ues colorAttachments[0].clearColor.alpha
public func mq_uiImage(alpha: Bool = f... | 32.968254 | 139 | 0.565238 |
817fc0440cac2ff6dd78662435343e4253c538f0 | 337 | swift | Swift | MyDictionary/MyDictionary/MyDictionary/Utilites/Enums/APIEnvironment.swift | d9d9vs9/Dictionary_App_SwiftUI | c3b6a223be899646c5c61436e70d5a0b9409b424 | [
"MIT"
] | null | null | null | MyDictionary/MyDictionary/MyDictionary/Utilites/Enums/APIEnvironment.swift | d9d9vs9/Dictionary_App_SwiftUI | c3b6a223be899646c5c61436e70d5a0b9409b424 | [
"MIT"
] | null | null | null | MyDictionary/MyDictionary/MyDictionary/Utilites/Enums/APIEnvironment.swift | d9d9vs9/Dictionary_App_SwiftUI | c3b6a223be899646c5c61436e70d5a0b9409b424 | [
"MIT"
] | null | null | null | //
// APIEnvironment.swift
// MyDictionary
//
// Created by Дмитрий Чумаков on 30.12.2020.
//
import Foundation
enum APIEnvironment: EnvironmentProtocol {
case development
var baseURL: String {
switch self {
case .development:
return "http://localhost:8000/api/"
... | 15.318182 | 47 | 0.590504 |
06fe3b974054c9435622a85f8a4b488349362ebb | 2,183 | sql | SQL | upgrade/1.11.12/service_server.sql | ned21/aquilon | 6562ea0f224cda33b72a6f7664f48d65f96bd41a | [
"Apache-2.0"
] | 7 | 2015-07-31T05:57:30.000Z | 2021-09-07T15:18:56.000Z | upgrade/1.11.12/service_server.sql | ned21/aquilon | 6562ea0f224cda33b72a6f7664f48d65f96bd41a | [
"Apache-2.0"
] | 115 | 2015-03-03T13:11:46.000Z | 2021-09-20T12:42:24.000Z | upgrade/1.11.12/service_server.sql | ned21/aquilon | 6562ea0f224cda33b72a6f7664f48d65f96bd41a | [
"Apache-2.0"
] | 13 | 2015-03-03T11:17:59.000Z | 2021-09-09T09:16:41.000Z | CREATE SEQUENCE service_instance_server_seq;
ALTER TABLE service_instance_server DROP CONSTRAINT sis_host_id_nn;
ALTER TABLE service_instance_server DROP CONSTRAINT service_instance_server_pk;
DROP INDEX service_instance_server_pk;
ALTER TABLE service_instance_server ADD id INTEGER;
UPDATE service_instance_server SET ... | 72.766667 | 181 | 0.877233 |
9bd16356ebb1ca167cf58f6cc5d9a00f0b1296e0 | 3,373 | js | JavaScript | test/basic.js | imsnif/happy-end | a6fb23846917ede4578f52eb3deccda337d4d97f | [
"MIT"
] | 1 | 2016-05-18T09:36:05.000Z | 2016-05-18T09:36:05.000Z | test/basic.js | imsnif/happy-end | a6fb23846917ede4578f52eb3deccda337d4d97f | [
"MIT"
] | null | null | null | test/basic.js | imsnif/happy-end | a6fb23846917ede4578f52eb3deccda337d4d97f | [
"MIT"
] | null | null | null | import HappyEnd from '../index.js';
import fs from 'fs'
import test from 'tape'
import DevNullStream from 'dev-null-stream'
import through from 'through2'
test('read stream group', function (t) {
t.plan(1)
let group = new HappyEnd()
let streams = [
fs.createReadStream(`${__dirn... | 24.266187 | 68 | 0.620516 |
c49bc759145764b25771c1da284b82b8110e92e0 | 584 | h | C | Leap/Source/Platform/WIN32/WinEntry.h | TomLBZ/Leap | 93bab7ff86e5fd8d67932a2c117d4f00e90e7cd7 | [
"MIT"
] | null | null | null | Leap/Source/Platform/WIN32/WinEntry.h | TomLBZ/Leap | 93bab7ff86e5fd8d67932a2c117d4f00e90e7cd7 | [
"MIT"
] | null | null | null | Leap/Source/Platform/WIN32/WinEntry.h | TomLBZ/Leap | 93bab7ff86e5fd8d67932a2c117d4f00e90e7cd7 | [
"MIT"
] | null | null | null | #include "Leap.h"
#include "IApplication.h"
extern IApplication* EntryApplication();
int CALLBACK WinMain(_In_ HINSTANCE, _In_opt_ HINSTANCE, _In_ LPSTR, _In_ INT)
{
auto EntryApp = EntryApplication();
PerGameSettings GameSettings;
EntryApp->SetupPerGameSettings();
Logger logger;
EntryApp->Initialize();
... | 16.222222 | 78 | 0.686644 |
85fc0a34e4316f086015be1bb28f1a71dbaec970 | 102 | sql | SQL | packages/utils/revert/procedures/get_entity_from_str.sql | AirPageInc/pg-utils | 2d56c14862dcf60d83cb79f1ebe0a80273d9e58d | [
"MIT"
] | 7 | 2020-03-15T20:30:17.000Z | 2021-12-05T19:10:05.000Z | packages/utils/revert/procedures/get_entity_from_str.sql | AirPageInc/pg-utils | 2d56c14862dcf60d83cb79f1ebe0a80273d9e58d | [
"MIT"
] | 33 | 2020-06-29T02:54:07.000Z | 2021-08-31T00:32:12.000Z | packages/db-utils/test/fixtures/skitch/packages/utilities/revert/procedures/get_entity_from_str.sql | instaql/instaql | 7a91e54bce87efdb7960df1c5f46ed249d90db2c | [
"MIT"
] | 1 | 2020-07-03T16:37:12.000Z | 2020-07-03T16:37:12.000Z | -- Revert procedures/get_entity_from_str from pg
BEGIN;
DROP FUNCTION get_entity_from_str;
COMMIT;
| 12.75 | 48 | 0.813725 |
9bbe2e5c103dda50c33cf44d8b672fd2732c1ac9 | 1,384 | js | JavaScript | backend/src/db/campaign.js | keijohyttinen/ad-campaign-full-stack | 26628bca6b0f0639f1b130c468eec9dcf686d2bb | [
"MIT"
] | 1 | 2018-10-08T06:51:16.000Z | 2018-10-08T06:51:16.000Z | backend/src/db/campaign.js | keijohyttinen/ad-campaign-full-stack | 26628bca6b0f0639f1b130c468eec9dcf686d2bb | [
"MIT"
] | null | null | null | backend/src/db/campaign.js | keijohyttinen/ad-campaign-full-stack | 26628bca6b0f0639f1b130c468eec9dcf686d2bb | [
"MIT"
] | null | null | null | import mongoose from 'mongoose';
const PlatformSchema = new mongoose.Schema({
status: {
type: String,
},
total_budget: {
type: Number,
},
remaining_budget: {
type: Number,
},
start_date: {
type: Number,
},
end_date: {
type: Number,
},
target_audiance: {
languages: [String]... | 18.958904 | 58 | 0.634393 |
7b6857605084005c3ba834fe2fc00e8bc5328d21 | 555 | rb | Ruby | spec/models/adapters/address_to_schema_geo_coordinates_spec.rb | ashley-engelund/aengelund-shf-project | 09dc93bb5c8569b1f9fc1aa2c76947b7954aac1a | [
"MIT"
] | 26 | 2016-11-02T20:07:27.000Z | 2021-03-01T19:27:23.000Z | spec/models/adapters/address_to_schema_geo_coordinates_spec.rb | ashley-engelund/aengelund-shf-project | 09dc93bb5c8569b1f9fc1aa2c76947b7954aac1a | [
"MIT"
] | 489 | 2016-10-26T10:53:38.000Z | 2022-02-23T13:23:33.000Z | spec/models/adapters/address_to_schema_geo_coordinates_spec.rb | ashley-engelund/aengelund-shf-project | 09dc93bb5c8569b1f9fc1aa2c76947b7954aac1a | [
"MIT"
] | 64 | 2016-10-26T09:22:18.000Z | 2021-09-04T10:16:54.000Z | require 'rails_helper'
RSpec.describe Adapters::AddressToSchemaGeoCoordinates do
let(:test_adapter) {
co = create(:company)
addr = co.addresses.first
Adapters::AddressToSchemaGeoCoordinates.new(addr)
}
it 'target_class' do
expect(test_adapter.target_class).to eq SchemaDotOrg::GeoCoordinates
... | 21.346154 | 82 | 0.756757 |
167cecae5fb16266b589ca1ce26af32f9da64920 | 740 | ts | TypeScript | t1.ts | pasechnik/lambda-back | 433c735537f482d131e08b541f010d4193de41e9 | [
"MIT"
] | null | null | null | t1.ts | pasechnik/lambda-back | 433c735537f482d131e08b541f010d4193de41e9 | [
"MIT"
] | null | null | null | t1.ts | pasechnik/lambda-back | 433c735537f482d131e08b541f010d4193de41e9 | [
"MIT"
] | null | null | null | // numberZeros(5, 5, 0);
// input array with 0 or 1
import { getMaxRectangle } from './rectangle';
const board = [
[0, 0, 0],
[1, 1, 1],
[1, 1, 1],
[1, 0, 1]
// [1, 1, 0, 0, 0, 0, 0],
// [1, 1, 1, 0, 1, 1, 1],
// [1, 1, 1, 1, 1, 1, 1],
// [0, 0, 1, 1, 1, 1, 1],
// [0, 0, 1, 1, 1, 1, 1],
// [0, 1, 1... | 21.142857 | 62 | 0.428378 |
d6c44bac93c883cbd786f4760ed738a59c290676 | 1,059 | sql | SQL | tailrocks-example-flyway-migrations/src/main/resources/db/migration/V3__payment_method_table.sql | donbeave/tailrocks-domain-template | cc826a3d5258e5d6992da615869d268120d4adc1 | [
"MIT"
] | 2 | 2021-04-30T12:56:43.000Z | 2021-07-14T03:51:20.000Z | tailrocks-example-flyway-migrations/src/main/resources/db/migration/V3__payment_method_table.sql | donbeave/tailrocks-domain-template | cc826a3d5258e5d6992da615869d268120d4adc1 | [
"MIT"
] | 1 | 2022-02-11T11:09:30.000Z | 2022-02-11T11:09:30.000Z | tailrocks-example-flyway-migrations/src/main/resources/db/migration/V3__payment_method_table.sql | donbeave/tailrocks-domain-template | cc826a3d5258e5d6992da615869d268120d4adc1 | [
"MIT"
] | 1 | 2021-07-14T03:51:35.000Z | 2021-07-14T03:51:35.000Z | CREATE TYPE "payment_method_card_brand" AS ENUM ('VISA', 'MASTERCARD');
CREATE TABLE payment_method (
id CHAR(24) NOT NULL,
created_date TIMESTAMP WITHOUT TIME ZONE DEFAULT now() NOT NULL,
last_modified_date TIMESTAMP WITHOUT TIME ZONE DEFAULT no... | 35.3 | 89 | 0.648725 |
9d0d8d86b03ee3d4a1e453473af54860ac57dc30 | 218 | sql | SQL | schema.sql | chybby/blog | ad80e0894261369cda6028d4b59cc76640765f81 | [
"MIT"
] | null | null | null | schema.sql | chybby/blog | ad80e0894261369cda6028d4b59cc76640765f81 | [
"MIT"
] | null | null | null | schema.sql | chybby/blog | ad80e0894261369cda6028d4b59cc76640765f81 | [
"MIT"
] | null | null | null | CREATE TABLE blogposts (
id SERIAL PRIMARY KEY,
title TEXT,
contents TEXT,
created_at TIMESTAMP
);
INSERT INTO blogposts VALUES (
1, 'First Post', 'This is the first post', '2020-01-01 00:00:00'
); | 21.8 | 68 | 0.665138 |
1edd8408485c2069e1ca40a18495353d041810dc | 126 | sql | SQL | net.violet.platform/src/test/java/net/violet/platform/datamodel/NewsTest_teardown.sql | nguillaumin/nabaztag-server | 235b4867ad7b2f923f25457722da4bb92ecd48b7 | [
"MIT"
] | 4 | 2016-04-01T19:39:30.000Z | 2018-03-29T08:10:12.000Z | server/OS/test/net/violet/platform/datamodel/NewsTest_teardown.sql | sebastienhouzet/nabaztag-source-code | 65197ea668e40fadb35d8ebd0aeb512311f9f547 | [
"MIT"
] | null | null | null | server/OS/test/net/violet/platform/datamodel/NewsTest_teardown.sql | sebastienhouzet/nabaztag-source-code | 65197ea668e40fadb35d8ebd0aeb512311f9f547 | [
"MIT"
] | 8 | 2016-04-09T03:46:26.000Z | 2021-11-26T21:42:01.000Z | SET FOREIGN_KEY_CHECKS = 0;
delete from `news` where id > 0;
delete from `product` where id > 0;
SET FOREIGN_KEY_CHECKS = 1;
| 21 | 35 | 0.722222 |
83d551a4d6bcd2c8fab6b6d839394d32c58be0d0 | 5,131 | go | Go | vendor/github.com/cloudentity/acp/pkg/swagger/client/logins/get_login_request_responses.go | cloudentity-external/openbanking-sandbox | 9f522fa2b2f3e6b06408abe71b2f5e60d5d00596 | [
"Apache-2.0"
] | null | null | null | vendor/github.com/cloudentity/acp/pkg/swagger/client/logins/get_login_request_responses.go | cloudentity-external/openbanking-sandbox | 9f522fa2b2f3e6b06408abe71b2f5e60d5d00596 | [
"Apache-2.0"
] | null | null | null | vendor/github.com/cloudentity/acp/pkg/swagger/client/logins/get_login_request_responses.go | cloudentity-external/openbanking-sandbox | 9f522fa2b2f3e6b06408abe71b2f5e60d5d00596 | [
"Apache-2.0"
] | null | null | null | // Code generated by go-swagger; DO NOT EDIT.
package logins
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"fmt"
"io"
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/cloudentity/acp/pkg/s... | 27.438503 | 143 | 0.756383 |
c372e6edf7f9a128bc5d4e83ef69142e1c7f2aaa | 190 | go | Go | day1/part1.go | johnkary/adventofcode2015 | 7edf1521636d448b6d85f9325436b2cf38af2070 | [
"MIT"
] | null | null | null | day1/part1.go | johnkary/adventofcode2015 | 7edf1521636d448b6d85f9325436b2cf38af2070 | [
"MIT"
] | null | null | null | day1/part1.go | johnkary/adventofcode2015 | 7edf1521636d448b6d85f9325436b2cf38af2070 | [
"MIT"
] | null | null | null | package main
import (
"strings"
)
func part1(instructions string) int {
up := strings.Count(instructions, "(")
down := strings.Count(instructions, ")")
return up - down
}
| 14.615385 | 44 | 0.631579 |
c17e137b105769190da27279861024c39bebb889 | 3,134 | swift | Swift | MoBlog/MoBlog/Views/ExploreView/ExploreView.swift | mrPaintMan/MoBlog | c2056f6674534a464a63e8d43948f68c05c0b531 | [
"MIT"
] | null | null | null | MoBlog/MoBlog/Views/ExploreView/ExploreView.swift | mrPaintMan/MoBlog | c2056f6674534a464a63e8d43948f68c05c0b531 | [
"MIT"
] | null | null | null | MoBlog/MoBlog/Views/ExploreView/ExploreView.swift | mrPaintMan/MoBlog | c2056f6674534a464a63e8d43948f68c05c0b531 | [
"MIT"
] | null | null | null | //
// ExploreView.swift
// MoBlog
//
// Created by Filip Palmqvist on 2020-04-17.
// Copyright © 2020 Filip Palmqvist. All rights reserved.
//
import SwiftUI
struct ExploreView: View {
let featuredPosts = [PostData[9], PostData[8], PostData[7], PostData[6]]
@EnvironmentObject var sourceList: SourceList
... | 32.645833 | 205 | 0.466816 |
fc37c3a7ee7fd79219febcc6b33d78387bea91f5 | 3,287 | css | CSS | lavista-app/public realm configurator/style.css | michalgrykoiaac/bimsc21-datamgmt-3 | 2b3ed6a7d248a322826d8bff5bf0315f41f12a40 | [
"Unlicense"
] | null | null | null | lavista-app/public realm configurator/style.css | michalgrykoiaac/bimsc21-datamgmt-3 | 2b3ed6a7d248a322826d8bff5bf0315f41f12a40 | [
"Unlicense"
] | null | null | null | lavista-app/public realm configurator/style.css | michalgrykoiaac/bimsc21-datamgmt-3 | 2b3ed6a7d248a322826d8bff5bf0315f41f12a40 | [
"Unlicense"
] | null | null | null |
@font-face{
font-family: "metropolis";
src: url(fonts/metropolis/Metropolis-Regular.woff);
font-style: normal;
font-weight: 100;
}
body, html{
height: 100vh;
background: radial-gradient(#f0f0f0, ... | 18.782857 | 84 | 0.416185 |
3bacaafcf35fa1ab6eb30d77608687de0be5dd1e | 2,321 | swift | Swift | Tests/WallpaperTests/WallpaperTests.swift | pythias/wallpaper-mac | fec37e4f611cefc4a275870d3e0e5f605d103fe2 | [
"MIT"
] | 1 | 2021-02-20T06:20:51.000Z | 2021-02-20T06:20:51.000Z | Tests/WallpaperTests/WallpaperTests.swift | pythias/wallpaper-mac | fec37e4f611cefc4a275870d3e0e5f605d103fe2 | [
"MIT"
] | null | null | null | Tests/WallpaperTests/WallpaperTests.swift | pythias/wallpaper-mac | fec37e4f611cefc4a275870d3e0e5f605d103fe2 | [
"MIT"
] | null | null | null | import XCTest
import SwiftyJSON
import class Foundation.Bundle
final class WallpaperTests: XCTestCase {
func testGet() throws {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct
// results.
// Some of th... | 29.379747 | 87 | 0.611374 |
e97ed99a979915ce0a2c8c9b99496b85d2def427 | 711 | go | Go | parser/ini/ini.go | scaranoj/conftest | 92b4438676f75c2c9ea79137bcb4d324af8b81cd | [
"Apache-2.0"
] | null | null | null | parser/ini/ini.go | scaranoj/conftest | 92b4438676f75c2c9ea79137bcb4d324af8b81cd | [
"Apache-2.0"
] | null | null | null | parser/ini/ini.go | scaranoj/conftest | 92b4438676f75c2c9ea79137bcb4d324af8b81cd | [
"Apache-2.0"
] | null | null | null | package ini
import (
"encoding/json"
"fmt"
"github.com/go-ini/ini"
)
type Parser struct{}
func (i *Parser) Unmarshal(p []byte, v interface{}) error {
cfg, err := ini.Load(p)
if err != nil {
return fmt.Errorf("read ini file: %w", err)
}
result := make(map[string]map[string]string)
for _, s := range cfg.Se... | 17.775 | 59 | 0.628692 |
7745cab6545558b5826a14fc7fa1bd25ef4000c2 | 1,056 | html | HTML | 02_render.html | fanhang64/react-learn | f3e5a21ec671ed069d2256e264f0c22a504fb1ef | [
"MIT"
] | null | null | null | 02_render.html | fanhang64/react-learn | f3e5a21ec671ed069d2256e264f0c22a504fb1ef | [
"MIT"
] | 3 | 2021-03-09T16:04:54.000Z | 2021-05-10T10:18:33.000Z | 02_render.html | fanhang64/react-learn | f3e5a21ec671ed069d2256e264f0c22a504fb1ef | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script src="js/react.js"></script>
<script src="js/react-dom.js"></script>
<script src="js/babel.min.js"></script>
</head>
<body>
<!-- “根” DOM 节点 -->
<div id="root"></div>
<!-- 元素是构成 React 应用的最... | 27.076923 | 82 | 0.453598 |
9e1546743b5d2e0cf560cc84da675718a65ec24e | 579 | lua | Lua | scripts/zones/Selbina/npcs/Gibol.lua | BillBows/Kujata-Reborn | 395a11d2f3477abb4ba499033a82e1f725c4c0b8 | [
"FTL"
] | 2 | 2020-09-17T12:21:55.000Z | 2022-02-06T02:59:57.000Z | scripts/zones/Selbina/npcs/Gibol.lua | BillBows/Kujata-Reborn | 395a11d2f3477abb4ba499033a82e1f725c4c0b8 | [
"FTL"
] | 5 | 2020-04-10T19:33:53.000Z | 2021-06-27T17:50:05.000Z | scripts/zones/Selbina/npcs/Gibol.lua | BillBows/Kujata-Reborn | 395a11d2f3477abb4ba499033a82e1f725c4c0b8 | [
"FTL"
] | 2 | 2020-04-11T16:56:14.000Z | 2021-06-26T12:21:12.000Z | -----------------------------------
-- Area: Selbina
-- NPC: Gibol
-- Guild Merchant NPC: Clothcrafting Guild
-- !pos 13.591 -7.287 8.569 248
-----------------------------------
local ID = require("scripts/zones/Selbina/IDs")
require("scripts/globals/shop")
-----------------------------------
function onTrade(player,... | 23.16 | 59 | 0.604491 |
824d17aa39c11f65d361d04c3d66acb2a54df5f7 | 360 | sql | SQL | parquet_to_table.sql | hanhanwu/Hanhan-TravelPlusPlus | 825e7d4fddfa07c78507e32b05839f4d3bb2fcfe | [
"MIT"
] | 2 | 2016-03-28T14:59:17.000Z | 2016-07-19T10:43:30.000Z | parquet_to_table.sql | hanhanwu/Hanhan-TravelPlusPlus | 825e7d4fddfa07c78507e32b05839f4d3bb2fcfe | [
"MIT"
] | null | null | null | parquet_to_table.sql | hanhanwu/Hanhan-TravelPlusPlus | 825e7d4fddfa07c78507e32b05839f4d3bb2fcfe | [
"MIT"
] | null | null | null | -- "/FileStore/current_hot_spots/hot_spots_2016_3_18" is my parquet file path in Spark Cluster
-- This code is Spark sql, it will create the table from this parquet
%sql
CREATE TABLE if not exists hot_spots_2016_3_18
USING org.apache.spark.sql.parquet
OPTIONS (
path "/FileStore/current_hot_spots/hot_spots_2016_3_18... | 32.727273 | 95 | 0.802778 |
a39d26b2230a28c34b965dd73e628cf9a261f0ef | 1,969 | dart | Dart | lib/navigationbar.dart | imsanjoykb/Flutter-For-Beginners | 056457b1b56ac2cf8b4eee89a8c0c8f9dd543650 | [
"MIT"
] | 5 | 2021-08-19T05:11:09.000Z | 2022-03-20T12:29:04.000Z | lib/navigationbar.dart | imsanjoykb/Flutter-For-Beginners | 056457b1b56ac2cf8b4eee89a8c0c8f9dd543650 | [
"MIT"
] | null | null | null | lib/navigationbar.dart | imsanjoykb/Flutter-For-Beginners | 056457b1b56ac2cf8b4eee89a8c0c8f9dd543650 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
void main() => runApp(MyApp());
/// This Widget is the main application widget.
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: MyNavigationBar(),
);
}
}
class MyNavigationBar extends StatefulWi... | 31.758065 | 117 | 0.664804 |
2a69d896556a9f6a6bfd3dfcb0db40859b78b0a2 | 110 | java | Java | spreadme-commons/src/test/java/org/spreadme/reflect/Entity.java | shuwill/spreadme-framework | 9f8cb3da49a6e3628e26081d4d261c771ad0cdfa | [
"Apache-2.0"
] | null | null | null | spreadme-commons/src/test/java/org/spreadme/reflect/Entity.java | shuwill/spreadme-framework | 9f8cb3da49a6e3628e26081d4d261c771ad0cdfa | [
"Apache-2.0"
] | 1 | 2021-05-08T09:41:22.000Z | 2021-05-08T09:41:22.000Z | spreadme-commons/src/test/java/org/spreadme/reflect/Entity.java | shuwill/spreadme-framework | 9f8cb3da49a6e3628e26081d4d261c771ad0cdfa | [
"Apache-2.0"
] | null | null | null | package org.spreadme.reflect;
import java.io.Serializable;
public interface Entity extends Serializable {
}
| 15.714286 | 46 | 0.809091 |
61997ec3867a8916a81b4853d27ef75661d5be7d | 681 | swift | Swift | Sources/App/routes.swift | vpozharsky/TestVaporRepository | 02a2ebc69d5eae8a62bb61b27c3110a14b705ebc | [
"MIT"
] | null | null | null | Sources/App/routes.swift | vpozharsky/TestVaporRepository | 02a2ebc69d5eae8a62bb61b27c3110a14b705ebc | [
"MIT"
] | null | null | null | Sources/App/routes.swift | vpozharsky/TestVaporRepository | 02a2ebc69d5eae8a62bb61b27c3110a14b705ebc | [
"MIT"
] | null | null | null | import Routing
import Vapor
/// Register your application's routes here.
///
/// [Learn More →](https://docs.vapor.codes/3.0/getting-started/structure/#routesswift)
public func routes(_ router: Router) throws {
router.get { req -> Future<View> in
return Cupcake.query(on: req).all().flatMap(to: Vie... | 27.24 | 87 | 0.580029 |
3665ef21ff42e867ab03669911f96cec4be67c4b | 3,126 | rs | Rust | mmpd-lib/src/state.rs | michd/midi-macro-pad | 0ecc1b260622176054c83c4e7d4dd380807c7d40 | [
"MIT"
] | 1 | 2021-11-22T22:44:59.000Z | 2021-11-22T22:44:59.000Z | mmpd-lib/src/state.rs | michd/midi-macro-pad | 0ecc1b260622176054c83c4e7d4dd380807c7d40 | [
"MIT"
] | 8 | 2021-03-14T20:28:59.000Z | 2021-04-11T16:40:20.000Z | mmpd-lib/src/state.rs | michd/mmpd | 0ecc1b260622176054c83c4e7d4dd380807c7d40 | [
"MIT"
] | null | null | null | mod midi_state;
use crate::macros::Scope;
use crate::focus::FocusAdapter;
use crate::match_checker::MatchChecker;
use crate::macros::preconditions::{Precondition, PreconditionType};
#[cfg(test)]
use mockall::automock;
use crate::macros::event_matching::Event;
use crate::state::midi_state::MidiState;
#[cfg_attr(test,... | 25.622951 | 89 | 0.581894 |
c0ab0809618b883a7e151b62f53085372077f152 | 81 | sql | SQL | platform/migrations/20210410201012_create_init_tables.down.sql | etiiiR/fiber-go-boilerplate | f1f8fa7b0a5ee39f00480b1cb9f0f2517933f1c7 | [
"MIT"
] | 5 | 2021-05-19T15:56:31.000Z | 2022-02-22T18:00:23.000Z | platform/migrations/20210410201012_create_init_tables.down.sql | etiiiR/fiber-go-boilerplate | f1f8fa7b0a5ee39f00480b1cb9f0f2517933f1c7 | [
"MIT"
] | null | null | null | platform/migrations/20210410201012_create_init_tables.down.sql | etiiiR/fiber-go-boilerplate | f1f8fa7b0a5ee39f00480b1cb9f0f2517933f1c7 | [
"MIT"
] | 5 | 2021-04-18T10:59:56.000Z | 2022-03-30T14:18:41.000Z | -- Delete tables
DROP TABLE IF EXISTS book;
DROP TABLE IF EXISTS "user" CASCADE;
| 20.25 | 36 | 0.753086 |
7edb2bd243824161030c372bf65e432934f7e9b7 | 52 | sql | SQL | lubanlou-master/lubanlou-provider/lubanlou-provider-oauth2/src/main/resources/db/migration/V2020.02.28.1__modify_table.sql | osgvsun/lubanlou | 16d87a30edcb677bb399e001a2020e8527ba26f2 | [
"BSD-3-Clause"
] | 1 | 2022-01-20T04:42:37.000Z | 2022-01-20T04:42:37.000Z | lubanlou-master/lubanlou-provider/lubanlou-provider-oauth2/src/main/resources/db/migration/V2020.02.28.1__modify_table.sql | osgvsun/lubanlou | 16d87a30edcb677bb399e001a2020e8527ba26f2 | [
"BSD-3-Clause"
] | null | null | null | lubanlou-master/lubanlou-provider/lubanlou-provider-oauth2/src/main/resources/db/migration/V2020.02.28.1__modify_table.sql | osgvsun/lubanlou | 16d87a30edcb677bb399e001a2020e8527ba26f2 | [
"BSD-3-Clause"
] | null | null | null | alter table users
add unionid varchar(255) unique; | 26 | 34 | 0.788462 |
f4eba81703f47e09d00989f3fc8006ea5834303b | 1,755 | go | Go | raytracer/camera_test.go | hejiangda/go-raytracer-challenge | 4c176130ba0066dbaf91ed719b0e5c8db4e3d3b3 | [
"MIT"
] | null | null | null | raytracer/camera_test.go | hejiangda/go-raytracer-challenge | 4c176130ba0066dbaf91ed719b0e5c8db4e3d3b3 | [
"MIT"
] | null | null | null | raytracer/camera_test.go | hejiangda/go-raytracer-challenge | 4c176130ba0066dbaf91ed719b0e5c8db4e3d3b3 | [
"MIT"
] | null | null | null | package raytracer
import (
"math"
"testing"
)
func TestNewCamera(t *testing.T) {
hsize := int(160)
vsize := int(120)
fieldOfView := math.Pi / 2
identityMatrix := EyeMatrix(4)
c := NewCamera(hsize, vsize, fieldOfView)
if c.HSize != hsize || c.VSize != vsize || c.FieldOfView != fieldOfView || !c.Transform.Equal... | 25.434783 | 112 | 0.62849 |
44fbb6fe560776f6f33388277e3bb1e51a57e683 | 2,843 | dart | Dart | test/share/widgets/share_progress_overlay_test.dart | hjhgitw/photobooth | 5374d6f16fa942acdf80f9b1ba2b58360fc689da | [
"MIT"
] | 750 | 2021-05-17T15:36:10.000Z | 2022-03-28T09:27:57.000Z | test/share/widgets/share_progress_overlay_test.dart | hjhgitw/photobooth | 5374d6f16fa942acdf80f9b1ba2b58360fc689da | [
"MIT"
] | 32 | 2021-07-12T09:11:39.000Z | 2021-09-13T18:45:33.000Z | test/share/widgets/share_progress_overlay_test.dart | hjhgitw/photobooth | 5374d6f16fa942acdf80f9b1ba2b58360fc689da | [
"MIT"
] | 139 | 2021-05-17T17:24:42.000Z | 2022-03-30T20:57:24.000Z | // ignore_for_file: prefer_const_constructors
import 'dart:typed_data';
import 'package:cross_file/cross_file.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:io_photobooth/share/share.dart';
import 'package:mocktail/mocktail.dart';
import '../../helpers/... | 31.94382 | 78 | 0.655645 |
cfd8548071f2fbf779e9a73fefc70f581b499fb4 | 13,589 | sql | SQL | db_patches/0008_AddNationalitiesTable.sql | UserOfficeProject/user-office-backend | dc69dfd7332d96b28cd28134478b0a7c1abff932 | [
"BSD-3-Clause"
] | 4 | 2020-08-27T15:25:12.000Z | 2021-12-13T16:12:28.000Z | db_patches/0008_AddNationalitiesTable.sql | UserOfficeProject/user-office-backend | dc69dfd7332d96b28cd28134478b0a7c1abff932 | [
"BSD-3-Clause"
] | 60 | 2020-09-17T06:37:33.000Z | 2022-03-29T05:30:31.000Z | db_patches/0008_AddNationalitiesTable.sql | UserOfficeProject/user-office-backend | dc69dfd7332d96b28cd28134478b0a7c1abff932 | [
"BSD-3-Clause"
] | 1 | 2021-04-07T12:19:36.000Z | 2021-04-07T12:19:36.000Z | DO
$$
BEGIN
IF register_patch('AddNationalitiesTable.sql', 'fredrikbolmsten', 'Adding new table for nationalities', '2019-11-19') THEN
BEGIN
CREATE TABLE IF NOT EXISTS nationalities(
nationality_id serial UNIQUE,
nationality varchar(50) DEFAULT NULL
);
INSERT INTO n... | 64.099057 | 123 | 0.695857 |
519f317875f544b99dd2a01f80ffb544ee80ee38 | 345 | sql | SQL | database/sql/table_public_recipe.sql | sysborg/sb_recipes | cb47cebd4bcf24b216236f14807da1522b3a9351 | [
"MIT"
] | 1 | 2021-06-22T00:27:05.000Z | 2021-06-22T00:27:05.000Z | database/sql/table_public_recipe.sql | sysborg/sb_recipes | cb47cebd4bcf24b216236f14807da1522b3a9351 | [
"MIT"
] | null | null | null | database/sql/table_public_recipe.sql | sysborg/sb_recipes | cb47cebd4bcf24b216236f14807da1522b3a9351 | [
"MIT"
] | 1 | 2021-06-22T00:27:10.000Z | 2021-06-22T00:27:10.000Z | CREATE TABLE public.recipe(
id_recipe BIGSERIAL NOT NULL CONSTRAINT public_recipe_pkey PRIMARY KEY,
id_gallery BIGINT NOT NULL CONSTRAINT public_recipe_gallery_fkey REFERENCES gallery(id_gallery) MATCH SIMPLE ON UPDATE CASCADE ON DELETE RESTRICT,
preparation_mode TEXT NOT NULL,
approved BOOLEAN NOT NULL DEFAULT FAL... | 38.333333 | 147 | 0.834783 |
64cd7742ad5f85e6b9f6febf5f55108545533959 | 590 | sql | SQL | debezium-connector-mysql/src/test/resources/ddl/decimal_column_test.sql | meroxa/debezium | ea7edde854bedb0cfa0eb3a29d66cfbc70d2e64a | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2020-01-24T15:19:47.000Z | 2021-04-28T08:09:13.000Z | debezium-connector-mysql/src/test/resources/ddl/decimal_column_test.sql | meroxa/debezium | ea7edde854bedb0cfa0eb3a29d66cfbc70d2e64a | [
"Apache-2.0",
"BSD-3-Clause"
] | 8 | 2021-01-08T21:20:31.000Z | 2022-02-03T21:23:20.000Z | debezium-connector-mysql/src/test/resources/ddl/decimal_column_test.sql | meroxa/debezium | ea7edde854bedb0cfa0eb3a29d66cfbc70d2e64a | [
"Apache-2.0",
"BSD-3-Clause"
] | 10 | 2020-06-08T06:16:19.000Z | 2021-08-19T12:04:31.000Z | -- ----------------------------------------------------------------------------------------------------------------
-- DATABASE: decimal_column_test
-- ----------------------------------------------------------------------------------------------------------------
CREATE TABLE dbz_751_decimal_column_test (
id I... | 39.333333 | 115 | 0.423729 |
9c969f583cfbbbd880addacd0d4c79fc2e56e360 | 8,621 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_153.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_153.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_153.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1a26, %r11
nop
nop
dec %rax
vmovups (%r11), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $1, %xmm3, %r12
nop
nop
nop
nop
nop
cmp $4538, %r11
lea addresses_UC_ht+0x152d2, %rdx
... | 30.789286 | 2,999 | 0.650505 |
9f8acee76cb358cfea88a58dbb682902f717998f | 188 | kt | Kotlin | days/day014/src/Dog.kt | marcosvbras/100-days-of-kotlin | 913d2708acf056e216e8bec9ca7fab38d6576b94 | [
"Apache-2.0"
] | 1 | 2021-12-25T12:53:07.000Z | 2021-12-25T12:53:07.000Z | days/day014/src/Dog.kt | marcosvbras/100-days-of-kotlin | 913d2708acf056e216e8bec9ca7fab38d6576b94 | [
"Apache-2.0"
] | null | null | null | days/day014/src/Dog.kt | marcosvbras/100-days-of-kotlin | 913d2708acf056e216e8bec9ca7fab38d6576b94 | [
"Apache-2.0"
] | null | null | null | /*
* [Day 014] Classes I - Simple classes
*
* The initializer, getter and setter are optional.
*
* */
class Dog(var name: String) {
var age: Int = 0
val owner: String = "Marcos"
} | 17.090909 | 50 | 0.62766 |
2a237e75377e5172eddae3fae3624a5618347c6e | 4,440 | java | Java | dataverse-webapp/src/test/java/edu/harvard/iq/dataverse/dataset/DatasetUtilTest.java | chopeen/dataverse | 6c1bd6add829e25c336cee7d97702aab9994a7fc | [
"Apache-2.0"
] | null | null | null | dataverse-webapp/src/test/java/edu/harvard/iq/dataverse/dataset/DatasetUtilTest.java | chopeen/dataverse | 6c1bd6add829e25c336cee7d97702aab9994a7fc | [
"Apache-2.0"
] | null | null | null | dataverse-webapp/src/test/java/edu/harvard/iq/dataverse/dataset/DatasetUtilTest.java | chopeen/dataverse | 6c1bd6add829e25c336cee7d97702aab9994a7fc | [
"Apache-2.0"
] | null | null | null | package edu.harvard.iq.dataverse.dataset;
import com.google.common.collect.Lists;
import edu.harvard.iq.dataverse.dataaccess.DataAccess;
import edu.harvard.iq.dataverse.dataaccess.ImageThumbConverter;
import edu.harvard.iq.dataverse.persistence.MocksFactory;
import edu.harvard.iq.dataverse.persistence.datafile.DataFil... | 37 | 110 | 0.718919 |
a53bc10438cf98743c317ffd119ca1d884d0eb0f | 497 | asm | Assembly | programs/oeis/033/A033558.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/033/A033558.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/033/A033558.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A033558: a(n) = 2n - {smallest prime > n}.
; 0,1,1,3,3,5,3,5,7,9,9,11,9,11,13,15,15,17,15,17,19,21,17,19,21,23,25,27,27,29,25,27,29,31,33,35,33,35,37,39,39,41,39,41,43,45,41,43,45,47,49,51,47,49,51,53,55,57,57,59,55,57,59,61,63,65,63,65,67,69,69,71,67,69,71,73,75,77,75,77,79,81,77,79,81,83,85,87,81,83,85,87,89,91,93,... | 35.5 | 289 | 0.62173 |
c06682a9e41d339afa7481bd46cbe7ab7c7944cc | 992 | asm | Assembly | external/source/shellcode/windows/x86/src/stager/stager_reverse_ipv6_tcp_nx.asm | loathsomeguy/metasploit-framework | 86ae268af14899ccedaa5716b5905e18104bddca | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 47 | 2021-01-20T15:30:47.000Z | 2022-03-31T07:51:01.000Z | external/source/shellcode/windows/x86/src/stager/stager_reverse_ipv6_tcp_nx.asm | hellorubbish/vipermsf | 9df632bd854160175600d97271694240030cb9fe | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2021-05-31T13:03:30.000Z | 2021-05-31T13:03:30.000Z | external/source/shellcode/windows/x86/src/stager/stager_reverse_ipv6_tcp_nx.asm | hellorubbish/vipermsf | 9df632bd854160175600d97271694240030cb9fe | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 27 | 2021-01-22T05:06:46.000Z | 2022-03-31T03:28:15.000Z | ;-----------------------------------------------------------------------------;
; Author: Stephen Fewer (stephen_fewer[at]harmonysecurity[dot]com)
; Compatible: Windows 7, 2008, Vista, 2003, XP, 2000, NT4 - Assuming IPv6 is available
; Version: 1.0 (8 May 2011)
; Size: 298 bytes
; Build: >build.py stager_reverse_ipv6_t... | 47.238095 | 94 | 0.573589 |
761fa966867b22c3e7213802ff42b842a9337fbc | 7,399 | go | Go | vendor/github.com/fullstack-lang/gong/go/controllers/GongTimeField_CRUDs.go | fullstack-lang/gongmarkdown | 86ca483b1dcae79bbba619d1e9e8759f5bb7b7e2 | [
"MIT"
] | 1 | 2021-04-09T18:04:03.000Z | 2021-04-09T18:04:03.000Z | vendor/github.com/fullstack-lang/gong/go/controllers/GongTimeField_CRUDs.go | fullstack-lang/gongmarkdown | 86ca483b1dcae79bbba619d1e9e8759f5bb7b7e2 | [
"MIT"
] | 71 | 2021-04-23T08:39:39.000Z | 2022-03-30T10:09:48.000Z | go/controllers/GongTimeField_CRUDs.go | fullstack-lang/gong | ccf1f6133f31925caed1127c2690bee9a62048f5 | [
"MIT"
] | null | null | null | // generated by stacks/gong/go/models/controller_file.go
package controllers
import (
"log"
"net/http"
"time"
"github.com/fullstack-lang/gong/go/models"
"github.com/fullstack-lang/gong/go/orm"
"github.com/gin-gonic/gin"
)
// declaration in order to justify use of the models import
var __GongTimeField__dummysD... | 29.245059 | 98 | 0.766725 |
2d84148b285e282d0f34b0026b0ac140edb67da4 | 307,285 | html | HTML | docs/core/parser.m.html | superkerokero/hinabe | 9fa00d1cbdee2b046426c8ed0c7c269556125337 | [
"MIT"
] | 26 | 2018-02-17T02:47:44.000Z | 2021-12-30T16:31:56.000Z | docs/core/parser.m.html | superkerokero/hinabe | 9fa00d1cbdee2b046426c8ed0c7c269556125337 | [
"MIT"
] | 7 | 2018-10-09T14:09:10.000Z | 2022-02-17T07:25:54.000Z | docs/core/parser.m.html | superkerokero/hinabe | 9fa00d1cbdee2b046426c8ed0c7c269556125337 | [
"MIT"
] | 3 | 2021-09-13T02:20:07.000Z | 2022-02-22T06:43:20.000Z | <!doctype html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
<title>naruhodo.core.parser API documentation</title>
<meta name="description" content="" />
<link href='http://fonts.googl... | 103.081181 | 1,047 | 0.594988 |
4db011a32f95383010fe91f29848919c5a75c7f6 | 92 | html | HTML | source/net/fortuna/ical4j/model/property/package.html | eccosolutions/osaf-ical4j | 2c84022abd91a7d894c703b8c98ef5d243c5937d | [
"BSD-3-Clause"
] | null | null | null | source/net/fortuna/ical4j/model/property/package.html | eccosolutions/osaf-ical4j | 2c84022abd91a7d894c703b8c98ef5d243c5937d | [
"BSD-3-Clause"
] | null | null | null | source/net/fortuna/ical4j/model/property/package.html | eccosolutions/osaf-ical4j | 2c84022abd91a7d894c703b8c98ef5d243c5937d | [
"BSD-3-Clause"
] | null | null | null | <html>n<body>nContains types used to represent the iCalendar property model.n</body>n</html> | 92 | 92 | 0.793478 |
1c8dd09d338e2535f8c7232faf2e213864636796 | 1,771 | kt | Kotlin | app/src/main/java/com/bluelzy/bluewanandroid/network/MainClient.kt | bluezzyy/BlueWanAndroid | 9fe3084338785f951a9240ea0c135184ba84adca | [
"Apache-2.0"
] | 2 | 2020-08-25T01:28:08.000Z | 2021-01-09T11:16:24.000Z | app/src/main/java/com/bluelzy/bluewanandroid/network/MainClient.kt | bluezzyy/BlueWanAndroid | 9fe3084338785f951a9240ea0c135184ba84adca | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/bluelzy/bluewanandroid/network/MainClient.kt | bluezzyy/BlueWanAndroid | 9fe3084338785f951a9240ea0c135184ba84adca | [
"Apache-2.0"
] | 1 | 2020-05-26T14:45:59.000Z | 2020-05-26T14:45:59.000Z | package com.bluelzy.bluewanandroid.network
import com.bluelzy.bluewanandroid.model.*
/**
* @author BlueLzy
* @email bluehobert@gmail.com
* @date 2020/4/9
* @desc
*/
class MainClient(private val blueWanAndroidService: BlueWanAndroidService) {
fun fetchDashboardBanner(onResult:... | 32.796296 | 97 | 0.669678 |
32310c796850447edcd27951ccd7c1d8808ce548 | 669 | swift | Swift | IMSDK/IMSDK/Classes/View/Expand/Extension/Array+Tool.swift | 33cn/chat33-ios | 4537fb62e3515801047b4df708f31e40c3d9ed74 | [
"BSD-3-Clause"
] | null | null | null | IMSDK/IMSDK/Classes/View/Expand/Extension/Array+Tool.swift | 33cn/chat33-ios | 4537fb62e3515801047b4df708f31e40c3d9ed74 | [
"BSD-3-Clause"
] | null | null | null | IMSDK/IMSDK/Classes/View/Expand/Extension/Array+Tool.swift | 33cn/chat33-ios | 4537fb62e3515801047b4df708f31e40c3d9ed74 | [
"BSD-3-Clause"
] | 3 | 2020-07-22T11:53:21.000Z | 2021-05-29T13:38:55.000Z | //
// Array+Tool.swift
// Chat33
//
// Created by 吴文拼 on 2018/10/11.
// Copyright © 2018年 吴文拼. All rights reserved.
//
import Foundation
extension Array{
public func index(of element: Element) -> Int? {
let arr = self as NSArray
if arr.contains(element) {
return arr.index(of: eleme... | 21.580645 | 62 | 0.557549 |
8128b5e7d551e77153da7e170323c1c5e20de232 | 856 | tab | SQL | tools/onto_toolkit/test-data/relationship_id_vs_relationship_name.tab | ic4f/tools-iuc | abfd3162e28a388d1dedbe55cb8b3567fa79c178 | [
"MIT"
] | 142 | 2015-03-13T18:08:34.000Z | 2022-03-30T23:52:34.000Z | tools/onto_toolkit/test-data/relationship_id_vs_relationship_name.tab | ic4f/tools-iuc | abfd3162e28a388d1dedbe55cb8b3567fa79c178 | [
"MIT"
] | 3,402 | 2015-01-05T18:04:20.000Z | 2022-03-30T22:09:36.000Z | tools/onto_toolkit/test-data/relationship_id_vs_relationship_name.tab | willemdek11/tools-iuc | dc0a0cf275168c2a88ee3dc47652dd7ca1137871 | [
"MIT"
] | 438 | 2015-01-07T20:33:59.000Z | 2022-03-30T04:39:18.000Z | adjacent_to adjacent_to
agent_in agent_in
association association
catalyses catalyses
codes_for codes_for
contained_in contained_in
contains contains
degradates degradates
derived_into derived_into
derives_from derives_from
encoded_by encoded_by
has_agent has_agent
has_function has_function
has_improper_part has_improp... | 24.457143 | 35 | 0.920561 |
0837b0ac38bba76a7605cd144139e4d5efe705e9 | 931 | sql | SQL | Liquibase/install/core/ddl/atg/DCS/contracts_ddl.sql | hallatech/atg-project-development | 7331fa9e01c82407f7865739a05315400995f941 | [
"Apache-2.0"
] | null | null | null | Liquibase/install/core/ddl/atg/DCS/contracts_ddl.sql | hallatech/atg-project-development | 7331fa9e01c82407f7865739a05315400995f941 | [
"Apache-2.0"
] | null | null | null | Liquibase/install/core/ddl/atg/DCS/contracts_ddl.sql | hallatech/atg-project-development | 7331fa9e01c82407f7865739a05315400995f941 | [
"Apache-2.0"
] | null | null | null |
-- @version $Id: //product/DCS/version/11.3/templates/DCS/sql/contracts_ddl.xml#1 $$Change: 1385662 $
-- Normally, catalog_id and price_list_id would reference the appropriate table it is possible not to use those tables though, which is why the reference is not included
create table dbc_contract (
contract_id va... | 28.212121 | 169 | 0.784103 |
c4642a4f038c7f6de68563768bf2c2f452a565ad | 1,977 | c | C | fntsrc/u8g_font_gdb14n.c | JJPowelly/u8glib | eedf07de97852e1a453cfbe2ef906cedb8ca1169 | [
"BSD-2-Clause"
] | 1,209 | 2015-06-25T05:33:20.000Z | 2022-03-31T17:20:03.000Z | fntsrc/u8g_font_gdb14n.c | JJPowelly/u8glib | eedf07de97852e1a453cfbe2ef906cedb8ca1169 | [
"BSD-2-Clause"
] | 201 | 2015-06-25T20:59:07.000Z | 2022-03-27T18:55:11.000Z | fntsrc/u8g_font_gdb14n.c | JJPowelly/u8glib | eedf07de97852e1a453cfbe2ef906cedb8ca1169 | [
"BSD-2-Clause"
] | 354 | 2015-06-25T18:11:56.000Z | 2022-03-21T13:58:24.000Z | /*
Fontname: -FreeType-Gentium Basic-Bold-R-Normal--23-230-72-72-P-114-ISO10646-1
Copyright: Copyright (c) SIL International, 2003-2008.
Capital A Height: 0, '1' Height: 14
Calculated Max Values w=11 h=22 x= 2 y= 8 dx=12 dy= 0 ascent=18 len=44
Font Bounding box w=36 h=33 x=-12 y=-8
Calculated Min Values... | 44.931818 | 85 | 0.626201 |
32a85c847388d921a3b226efaad04e4a7d4cbcde | 44 | sql | SQL | migrations/20200621131243_create_ethereum_transactions.down.sql | bahadylbekov/vaccinex_api | a74cfd774a65f18674e42bf68bf9663422d841a7 | [
"MIT"
] | null | null | null | migrations/20200621131243_create_ethereum_transactions.down.sql | bahadylbekov/vaccinex_api | a74cfd774a65f18674e42bf68bf9663422d841a7 | [
"MIT"
] | null | null | null | migrations/20200621131243_create_ethereum_transactions.down.sql | bahadylbekov/vaccinex_api | a74cfd774a65f18674e42bf68bf9663422d841a7 | [
"MIT"
] | null | null | null | DROP TABLE IF EXISTS ethereum_transactions;
| 22 | 43 | 0.863636 |
3edbf2407acbb151dfc021ae065dc153bc38fafa | 444 | h | C | ios/RNRegulaDocumentReader.h | regulaforensics/react-native-document-reader | 494f9efe38f52e4dcb08e62249c18b85ce58e20e | [
"FTL",
"Xnet",
"X11"
] | 4 | 2021-03-30T14:30:02.000Z | 2022-02-22T12:05:26.000Z | ios/RNRegulaDocumentReader.h | regulaforensics/react-native-document-reader | 494f9efe38f52e4dcb08e62249c18b85ce58e20e | [
"FTL",
"Xnet",
"X11"
] | 11 | 2020-09-23T10:06:07.000Z | 2022-03-28T02:53:43.000Z | ios/RNRegulaDocumentReader.h | regulaforensics/react-native-document-reader | 494f9efe38f52e4dcb08e62249c18b85ce58e20e | [
"FTL",
"Xnet",
"X11"
] | 4 | 2021-02-12T15:26:51.000Z | 2021-09-27T10:50:59.000Z | #import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>
#import <DocumentReader/DocumentReader.h>
#import "RGLWJSONConstructor.h"
#import "RegulaConfig.h"
@interface RNRegulaDocumentReader : RCTEventEmitter <RCTBridgeModule, RGLRecordScanningProcessDelegate, RGLDocReaderRFIDDelegate>
@property (class) NSN... | 29.6 | 129 | 0.837838 |
6cb8caa62f09c2ec077b91be0c37cf41dc388aac | 801 | go | Go | euclid_test.go | sauterp/euclid | 0810327feeb070c41637265379b5d80943e058d1 | [
"MIT"
] | null | null | null | euclid_test.go | sauterp/euclid | 0810327feeb070c41637265379b5d80943e058d1 | [
"MIT"
] | null | null | null | euclid_test.go | sauterp/euclid | 0810327feeb070c41637265379b5d80943e058d1 | [
"MIT"
] | null | null | null | package euclid
import (
"testing"
"fmt"
)
// TestZero tests GCD for correct behaviour with inputs set to zero.
func TestZero(t *testing.T) {
d, err := GCD(0, 1)
if err != nil || d != 1 {
t.Fail()
}
d, err = GCD(1, 0)
if err != nil || d != 1 {
t.Fail()
}
d, err = GCD(0, 0)
if err == nil {
t.Fail()
}
}... | 14.303571 | 73 | 0.490637 |
d593a4e378b7f0f001e95a5ef078f196acb965ae | 2,443 | swift | Swift | IOS11IndexedTableViewTutorial/IOS11IndexedTableViewTutorial/TableViewController.swift | sachanand/ioscreator | bbe83ccdcd0bc97916e99d80e7cd510689262d25 | [
"MIT"
] | 3,678 | 2015-01-01T15:56:23.000Z | 2022-03-25T04:57:18.000Z | IOS11IndexedTableViewTutorial/IOS11IndexedTableViewTutorial/TableViewController.swift | vfaHungnv/iOSCreator | 79ac7b4cdb7b27d9efe6bf85dada0e0f7a5aca02 | [
"MIT"
] | 18 | 2015-01-05T15:39:04.000Z | 2021-04-08T20:54:15.000Z | IOS11IndexedTableViewTutorial/IOS11IndexedTableViewTutorial/TableViewController.swift | vfaHungnv/iOSCreator | 79ac7b4cdb7b27d9efe6bf85dada0e0f7a5aca02 | [
"MIT"
] | 2,057 | 2015-01-02T05:25:20.000Z | 2022-03-28T11:55:51.000Z | //
// TableViewController.swift
// IOS11IndexedTableViewTutorial
//
// Created by Arthur Knopper on 11/09/2017.
// Copyright © 2017 Arthur Knopper. All rights reserved.
//
import UIKit
class TableViewController: UITableViewController {
var carsDictionary = [String: [String]]()
var carSectionTitles = ... | 29.792683 | 223 | 0.620549 |
dde74ec92378ea015c49aa1e166381e012efa37c | 16,293 | go | Go | sdk/resourcemanager/appplatform/armappplatform/zz_generated_serviceregistries_client.go | antkmsft/azure-sdk-for-go | 3287fae16ed7b537625b18c4771d59050c9fa88d | [
"MIT"
] | null | null | null | sdk/resourcemanager/appplatform/armappplatform/zz_generated_serviceregistries_client.go | antkmsft/azure-sdk-for-go | 3287fae16ed7b537625b18c4771d59050c9fa88d | [
"MIT"
] | null | null | null | sdk/resourcemanager/appplatform/armappplatform/zz_generated_serviceregistries_client.go | antkmsft/azure-sdk-for-go | 3287fae16ed7b537625b18c4771d59050c9fa88d | [
"MIT"
] | null | null | null | //go:build go1.18
// +build go1.18
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the cod... | 49.223565 | 287 | 0.775425 |
9f57a946c346befa58896e48aa457b58515b63bf | 2,778 | sql | SQL | bucketBunga.sql | FaadLi/BucketBunga | f7ebba796b68f8431f16d199ea62c6606bfc6185 | [
"MIT"
] | null | null | null | bucketBunga.sql | FaadLi/BucketBunga | f7ebba796b68f8431f16d199ea62c6606bfc6185 | [
"MIT"
] | null | null | null | bucketBunga.sql | FaadLi/BucketBunga | f7ebba796b68f8431f16d199ea62c6606bfc6185 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Dec 08, 2019 at 09:15 AM
-- Server version: 10.1.38-MariaDB
-- PHP Version: 7.3.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD... | 23.74359 | 112 | 0.667387 |
26b8bb7d791c5b4013c87c10cfeac30fab4d59ab | 3,454 | java | Java | src/main/java/Handler/Blacksmith/SellEquipmentHandler.java | SalihTuncer/DungeonCrawler | a5f50b8a9d82dffa4ea5f48f7be9cb6803b9c18b | [
"MIT"
] | null | null | null | src/main/java/Handler/Blacksmith/SellEquipmentHandler.java | SalihTuncer/DungeonCrawler | a5f50b8a9d82dffa4ea5f48f7be9cb6803b9c18b | [
"MIT"
] | null | null | null | src/main/java/Handler/Blacksmith/SellEquipmentHandler.java | SalihTuncer/DungeonCrawler | a5f50b8a9d82dffa4ea5f48f7be9cb6803b9c18b | [
"MIT"
] | null | null | null | package Handler.Blacksmith;
import Character.Player;
public class SellEquipmentHandler extends BlacksmithHandler {
public SellEquipmentHandler() {
}
@Override
public void initializeOptions() {
getOptions().put("1", 1);
getOptions().put("sell amulet", 1);
getOptions().put("am... | 32.584906 | 75 | 0.459178 |
3954bc4127411aba84d6c5414c2efbb9ea8582aa | 5,316 | html | HTML | about.html | Matheuskempa/matheuskempa.github.io | b0bc53ebca1c889d0717092de295096acd493310 | [
"MIT"
] | null | null | null | about.html | Matheuskempa/matheuskempa.github.io | b0bc53ebca1c889d0717092de295096acd493310 | [
"MIT"
] | null | null | null | about.html | Matheuskempa/matheuskempa.github.io | b0bc53ebca1c889d0717092de295096acd493310 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Matheus Kempa</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstr... | 38.80292 | 376 | 0.580512 |
ecfc752eb2f4bb5229c014f5205e38e55002c908 | 367 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/tangible/loot/creature_loot/collections/space/capacitor_mark_01_moncal.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/loot/creature_loot/collections/space/capacitor_mark_01_moncal.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/loot/creature_loot/collections/space/capacitor_mark_01_moncal.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_tangible_loot_creature_loot_collections_space_capacitor_mark_01_moncal = object_tangible_loot_creature_loot_collections_space_shared_capacitor_mark_01_moncal:new {
}
ObjectTemplates:addTemplate(object_tangible_loot_creature_loot_collections_space_capacitor_mark_01_moncal, "object/tangible/loot/creature/loot/co... | 61.166667 | 191 | 0.926431 |
7da0368b76ab2b86a9f89e2f78a84cba54a5ab1d | 2,013 | html | HTML | app/views/mood/sliders.html | psyfear/mood-sliders | bb3f7585fffca01c2ab047e03b4dcd1bf2cdbd8b | [
"MIT"
] | null | null | null | app/views/mood/sliders.html | psyfear/mood-sliders | bb3f7585fffca01c2ab047e03b4dcd1bf2cdbd8b | [
"MIT"
] | null | null | null | app/views/mood/sliders.html | psyfear/mood-sliders | bb3f7585fffca01c2ab047e03b4dcd1bf2cdbd8b | [
"MIT"
] | null | null | null | {% extends 'layouts/application.html' %}
{% block stylesheets %}
<link rel="stylesheet" href="/stylesheets/mood/summary.css" />
{% endblock %}
{% block content %}
{% include 'mood/_content.html' %}
{% endblock %}
{% block javascripts %}
<script>
$(function() {
$('div[id$="slider"]').slider({
... | 34.118644 | 88 | 0.585196 |
c29e5be089a5e0be82a6f7c249c12f4f951e9add | 3,051 | go | Go | qa/integration_test.go | dabankio/gobbc | 2507ba1012894eab49b2df54fdb7c33ea3c7ef22 | [
"BSD-3-Clause"
] | null | null | null | qa/integration_test.go | dabankio/gobbc | 2507ba1012894eab49b2df54fdb7c33ea3c7ef22 | [
"BSD-3-Clause"
] | null | null | null | qa/integration_test.go | dabankio/gobbc | 2507ba1012894eab49b2df54fdb7c33ea3c7ef22 | [
"BSD-3-Clause"
] | null | null | null | package qa
import (
"fmt"
"testing"
"time"
"github.com/dabankio/bbrpc"
"github.com/dabankio/devtools4chains"
"github.com/dabankio/gobbc"
)
// 1 测试生成的地址,导入后与钱包获取到的公钥一致
// 2 交易签名可以正常上链
// 3 序列化和解析正常
func TestMakekeypair(t *testing.T) {
tw := gobbc.TW{T: t}
const pass = "123"
nodeInfo := devtools4chains.MustR... | 25.008197 | 78 | 0.679777 |
0e53121be2fd383f29c6cdec1fa6513c14fca610 | 768,984 | sql | SQL | DBScript/mvc5_izenda.sql | Izenda7Series/Mvc5_DM1_StarterKit | 0a1c9cc0aac293ca2ddcc2c4ffd83692af238358 | [
"RSA-MD"
] | null | null | null | DBScript/mvc5_izenda.sql | Izenda7Series/Mvc5_DM1_StarterKit | 0a1c9cc0aac293ca2ddcc2c4ffd83692af238358 | [
"RSA-MD"
] | null | null | null | DBScript/mvc5_izenda.sql | Izenda7Series/Mvc5_DM1_StarterKit | 0a1c9cc0aac293ca2ddcc2c4ffd83692af238358 | [
"RSA-MD"
] | null | null | null | USE [mvc5_izenda]
/****** Object: Table [dbo].[IzendaAccessRight] Script Date: 5/5/2017 1:40:38 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[IzendaAccessRight](
[Id] [uniqueidentifier] NOT NULL,
[Name] [nvarchar](256) NOT NULL,
[Type] [int] NULL,
[Version] [int] NULL,
[Delet... | 103.916757 | 26,473 | 0.712854 |
f3c79408aa8fcb694a61f2a5818f80b5e7c39cf5 | 4,034 | dart | Dart | shopping_app/lib/feature/wishlist/ui/wishlist_screen.dart | congtieniuh/Flutter-Shopping-App | 528002785d603172640efb3d22b7fc235886ce82 | [
"Unlicense"
] | 36 | 2020-10-18T08:46:54.000Z | 2022-03-28T07:06:39.000Z | shopping_app/lib/feature/wishlist/ui/wishlist_screen.dart | hhoangluu/Flutter-Shopping-App-Bloc | 528002785d603172640efb3d22b7fc235886ce82 | [
"Unlicense"
] | 1 | 2021-11-23T06:26:56.000Z | 2021-11-23T06:26:56.000Z | shopping_app/lib/feature/wishlist/ui/wishlist_screen.dart | hhoangluu/Flutter-Shopping-App-Bloc | 528002785d603172640efb3d22b7fc235886ce82 | [
"Unlicense"
] | 27 | 2020-10-27T15:01:17.000Z | 2022-03-08T06:20:37.000Z | import 'dart:math';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_icons/flutter_icons.dart';
import 'package:intl/intl.dart';
import 'package:shopping_app/resources/R.dart';
import 'package:shopping_app/route/route_constants.dart';
import 'package:shop... | 32.015873 | 76 | 0.521815 |
771e66de618394d1a4b7b9a40bbf74ed5bfa6376 | 577 | asm | Assembly | libsrc/math/daimath32/c/sccz80/l_f32_f2sint.asm | ahjelm/z88dk | c4de367f39a76b41f6390ceeab77737e148178fa | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/math/daimath32/c/sccz80/l_f32_f2sint.asm | C-Chads/z88dk | a4141a8e51205c6414b4ae3263b633c4265778e6 | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/math/daimath32/c/sccz80/l_f32_f2sint.asm | C-Chads/z88dk | a4141a8e51205c6414b4ae3263b633c4265778e6 | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
SECTION code_fp_dai32
PUBLIC l_f32_f2sint
PUBLIC l_f32_f2uint
PUBLIC l_f32_f2ulong
PUBLIC l_f32_f2slong
EXTERN ___dai32_setup_single_reg
EXTERN ___dai32_return
EXTERN ___dai32_xfix
EXTERN ___dai32_fpac
l_f32_f2sint:
l_f32_f2uint:
l_f32_f2slong:
l_f32_f2... | 19.233333 | 39 | 0.60312 |
1486fbaa1d8adb9c8fa4ba50b4f99ac19efcf8ec | 11,174 | dart | Dart | packages/flutter_tools/test/general.shard/artifacts_test.dart | zanscree/flutter | bc9d0e0a4ba5884aa53697d4fcc5773219ddf318 | [
"BSD-3-Clause"
] | 4 | 2021-04-01T18:41:44.000Z | 2021-05-22T07:19:19.000Z | packages/flutter_tools/test/general.shard/artifacts_test.dart | zanscree/flutter | bc9d0e0a4ba5884aa53697d4fcc5773219ddf318 | [
"BSD-3-Clause"
] | 6 | 2021-01-11T10:07:43.000Z | 2022-03-21T09:07:40.000Z | packages/flutter_tools/test/general.shard/artifacts_test.dart | zanscree/flutter | bc9d0e0a4ba5884aa53697d4fcc5773219ddf318 | [
"BSD-3-Clause"
] | 1 | 2021-03-20T14:25:30.000Z | 2021-03-20T14:25:30.000Z | // Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import 'package:file/memory.dart';
import 'package:flutter_tools/src/artifacts.dart';
import 'package:flutter_tools/src/base/file_system.da... | 34.91875 | 118 | 0.641042 |
20965ff0cd944f8b74d404e97ccf16a256ce1eeb | 124 | css | CSS | orange/symfony/web/webres_5fa517042fb5e3.16670395/orangehrmRecruitmentPlugin/css/addJobVacancySuccess.css | greenvilleassociates/fusionshellplus | 9b7f4c370cbc5abfee7b8c3209d6a4c41f71bc3c | [
"Apache-2.0"
] | null | null | null | orange/symfony/web/webres_5fa517042fb5e3.16670395/orangehrmRecruitmentPlugin/css/addJobVacancySuccess.css | greenvilleassociates/fusionshellplus | 9b7f4c370cbc5abfee7b8c3209d6a4c41f71bc3c | [
"Apache-2.0"
] | null | null | null | orange/symfony/web/webres_5fa517042fb5e3.16670395/orangehrmRecruitmentPlugin/css/addJobVacancySuccess.css | greenvilleassociates/fusionshellplus | 9b7f4c370cbc5abfee7b8c3209d6a4c41f71bc3c | [
"Apache-2.0"
] | null | null | null | .publishJobVacancySeparator {
border-bottom-color:#DEDEDE;
border-bottom-style:solid;
border-bottom-width:1px;
} | 24.8 | 32 | 0.733871 |
5f15820f038e7eb7d683d8304b7f888a76105a21 | 2,516 | ts | TypeScript | modules/webpack.config.ts | simon300000/Imagine | 20d46c3cf82d53f2a7ea2d74b55b953cacad130d | [
"MIT"
] | 2 | 2020-07-08T06:07:42.000Z | 2020-07-08T06:07:51.000Z | modules/webpack.config.ts | inier/Imagine | 20d46c3cf82d53f2a7ea2d74b55b953cacad130d | [
"MIT"
] | null | null | null | modules/webpack.config.ts | inier/Imagine | 20d46c3cf82d53f2a7ea2d74b55b953cacad130d | [
"MIT"
] | null | null | null | import path from 'path'
import webpack, { Configuration, Entry } from 'webpack'
import HtmlWebpackPlugin from 'html-webpack-plugin'
import SpriteLoaderPlugin from 'svg-sprite-loader/plugin'
const rel = (filename: string) => path.resolve(__dirname, filename)
const NODE_ENV = process.env.NODE_ENV
export default (env: ... | 21.322034 | 67 | 0.440382 |
089af8a40d2c8e7ecf04b2ea9f85ec9dae566640 | 5,122 | asm | Assembly | library.asm | nesdoug/SNES_09 | 50257bd197ba5b3a3b1b3be6fcc3f741c5a72994 | [
"MIT"
] | 2 | 2020-06-11T12:54:14.000Z | 2020-06-15T13:07:53.000Z | library.asm | nesdoug/SNES_09 | 50257bd197ba5b3a3b1b3be6fcc3f741c5a72994 | [
"MIT"
] | null | null | null | library.asm | nesdoug/SNES_09 | 50257bd197ba5b3a3b1b3be6fcc3f741c5a72994 | [
"MIT"
] | null | null | null | ;from easySNES
;Doug Fraker 2020
.segment "CODE"
OAM_Spr:
.a8
.i16
; to put one sprite on screen
; copy all the sprite values to these 8 bit variables
; spr_x - x (9 bit)
; spr_y - y
; spr_c - tile #
; spr_a - attributes, flip, palette, priority
; spr_sz = sprite size, 0 or 2
php
rep #$30 ;axy16
lda sprid
... | 13.26943 | 64 | 0.658337 |
0ce20aee8d6dbfd9b43b421835f7783e029f2292 | 319 | swift | Swift | Sources/Render.swift | Trevi-Swift/Trevi-lime | e5ab76b7ba964cff4027518ceeaf80a45e1cdbac | [
"Apache-2.0"
] | 1 | 2016-05-21T02:23:26.000Z | 2016-05-21T02:23:26.000Z | Sources/Render.swift | Trevi-Swift/Trevi-lime | e5ab76b7ba964cff4027518ceeaf80a45e1cdbac | [
"Apache-2.0"
] | null | null | null | Sources/Render.swift | Trevi-Swift/Trevi-lime | e5ab76b7ba964cff4027518ceeaf80a45e1cdbac | [
"Apache-2.0"
] | null | null | null | //
// Render.swift
// Trevi
//
// Created by SeungHyunLee on 3/9/16.
// Copyright © 2016 Trevi Community. All rights reserved.
//
import Foundation
public protocol Render {
func render(path: String, writer: ((String) -> Void))
func render(path: String, args: [String:String], writer: ((String) -> Void))
} | 22.785714 | 80 | 0.661442 |
6b662bf0ba22ec54594c52b0edec5855837fa4fd | 5,924 | h | C | ImportantExample/QTableDemo/qtable.h | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | 3 | 2018-12-24T19:35:52.000Z | 2022-02-04T14:45:59.000Z | ImportantExample/QTableDemo/qtable.h | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | null | null | null | ImportantExample/QTableDemo/qtable.h | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | 1 | 2019-05-09T02:42:40.000Z | 2019-05-09T02:42:40.000Z | // QTable - table wrapper for models
// Licence: LGPL (see http://www.gnu.org/licenses/lgpl.html)
// Author:
// chemmalion (email: chemmalion@gmail.com, PLEASE use "QTable" at start of mail topic name)
//
// Brief usage:
//
// static QTable table;
// ui->tableView->setModel( table.model() );
// table.setColumnCount(3);... | 42.618705 | 186 | 0.704085 |
269154b895bc4e3e33cdc88d6daee8e5244d25a7 | 1,860 | java | Java | kcontainer/spring-container-ms/src/main/java/ibm/labs/kc/tools/ContainersClient.java | nadgowdas/event-driven-apps | 37b82dd735fded0cf6c58582ee936dbadade5070 | [
"Apache-2.0"
] | 1 | 2021-11-01T07:59:57.000Z | 2021-11-01T07:59:57.000Z | kcontainer/spring-container-ms/src/main/java/ibm/labs/kc/tools/ContainersClient.java | IBM/event-driven-apps | 77427a23e1b427ee4e293e9afccd42e69337a946 | [
"Apache-2.0"
] | 13 | 2020-02-27T14:33:17.000Z | 2022-03-02T14:58:04.000Z | kcontainer/spring-container-ms/src/main/java/ibm/labs/kc/tools/ContainersClient.java | nadgowdas/event-driven-apps | 37b82dd735fded0cf6c58582ee936dbadade5070 | [
"Apache-2.0"
] | 4 | 2020-03-16T17:35:00.000Z | 2020-07-01T16:22:01.000Z | package ibm.labs.kc.tools;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.DefaultParser;
import org.apache.commons.cli.HelpFormatter;
import org.apache.commons.cli.Option;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.Par... | 33.818182 | 130 | 0.656452 |
21565d385d21481eb4741aaf557279faea9641c0 | 338 | rs | Rust | src/user_token.rs | technetos/heatshield | a31b271baa7a6312d71cfc9b7b2ce2a9eb7a9a66 | [
"Apache-2.0"
] | 5 | 2018-08-18T22:29:08.000Z | 2018-11-27T17:51:13.000Z | src/user_token.rs | technetos/heatshield | a31b271baa7a6312d71cfc9b7b2ce2a9eb7a9a66 | [
"Apache-2.0"
] | 4 | 2018-09-11T03:38:47.000Z | 2018-12-04T02:53:45.000Z | src/user_token.rs | technetos/heatshield | a31b271baa7a6312d71cfc9b7b2ce2a9eb7a9a66 | [
"Apache-2.0"
] | null | null | null | use crate::schema::user_tokens;
use compat_uuid::Uuid;
use diesel::{
self, delete, insert_into, prelude::*, result::Error, update, Associations, FromSqlRow,
Identifiable, Insertable,
};
use postgres_resource::*;
#[resource]
struct UserToken {
client_id: Uuid,
account_id: Uuid,
#[optional]
re... | 17.789474 | 91 | 0.689349 |
740cd5f0a9c251304c2a559a60f10d3d13550dd7 | 1,208 | h | C | Linux/Help/CMulberryHelp.h | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 12 | 2015-04-21T16:10:43.000Z | 2021-11-05T13:41:46.000Z | Linux/Help/CMulberryHelp.h | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2015-11-02T13:32:11.000Z | 2019-07-10T21:11:21.000Z | Linux/Help/CMulberryHelp.h | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2015-01-12T08:49:12.000Z | 2021-03-27T09:11:10.000Z | /*
Copyright (c) 2007 Cyrus Daboo. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless re... | 25.702128 | 79 | 0.72351 |
9fb263ef7005a3f6addb6e62bfb3526ebaca94a3 | 2,864 | kt | Kotlin | app/src/main/java/com/example/moonlightapp/adapter/DishAdapter.kt | Zellka/Moonlight | 4b9e568f6e18e992ebaea693758735a8a367fcdc | [
"MIT"
] | 1 | 2021-02-22T08:10:29.000Z | 2021-02-22T08:10:29.000Z | app/src/main/java/com/example/moonlightapp/adapter/DishAdapter.kt | Zellka/Moonlight | 4b9e568f6e18e992ebaea693758735a8a367fcdc | [
"MIT"
] | null | null | null | app/src/main/java/com/example/moonlightapp/adapter/DishAdapter.kt | Zellka/Moonlight | 4b9e568f6e18e992ebaea693758735a8a367fcdc | [
"MIT"
] | null | null | null | package com.example.moonlightapp.adapter
import android.annotation.SuppressLint
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.RecyclerView
import com.example.moonlightapp.R
import com.example.moonlightapp.data.FavoritesL... | 34.506024 | 89 | 0.674581 |
56f5bf52ae1f6a8cc583ad174b3788ada9b05a8b | 521 | sql | SQL | src/oc_erchef/schema/baseline/deploy/cookbook_version_checksums.sql | riddopic/chef-server | 35354f6c967f68f9cad99114df8bfbc21b0d9317 | [
"Apache-2.0"
] | 300 | 2015-01-22T22:53:16.000Z | 2022-02-23T17:16:31.000Z | src/oc_erchef/schema/baseline/deploy/cookbook_version_checksums.sql | riddopic/chef-server | 35354f6c967f68f9cad99114df8bfbc21b0d9317 | [
"Apache-2.0"
] | 2,599 | 2015-01-22T22:04:09.000Z | 2022-03-31T13:22:02.000Z | src/oc_erchef/schema/baseline/deploy/cookbook_version_checksums.sql | riddopic/chef-server | 35354f6c967f68f9cad99114df8bfbc21b0d9317 | [
"Apache-2.0"
] | 242 | 2015-05-02T12:08:11.000Z | 2022-03-31T11:22:30.000Z | -- Deploy cookbook_version_checksums
-- requires: cookbook_versions
-- requires: checksums
BEGIN;
CREATE TABLE IF NOT EXISTS cookbook_version_checksums(
cookbook_version_id CHAR(32) NOT NULL REFERENCES cookbook_versions(id),
org_id CHAR(32) NOT NULL,
checksum CHAR(32) NOT NULL,
FOREIGN KEY (org_id, checksum)
... | 24.809524 | 73 | 0.790787 |
03bd694f08f18aaca13366f0a5b43fca99f186bd | 6,707 | swift | Swift | AJLayoutKit/AJLayoutKit+Operator.swift | aijun198600/AJLayoutKit | b70e33da6091f4e749ada6c3e785298b1b6256f2 | [
"MIT"
] | 1 | 2019-05-09T03:21:20.000Z | 2019-05-09T03:21:20.000Z | AJLayoutKit/AJLayoutKit+Operator.swift | aijun198600/AJLayoutKit | b70e33da6091f4e749ada6c3e785298b1b6256f2 | [
"MIT"
] | null | null | null | AJLayoutKit/AJLayoutKit+Operator.swift | aijun198600/AJLayoutKit | b70e33da6091f4e749ada6c3e785298b1b6256f2 | [
"MIT"
] | null | null | null | //
// AJLayoutKit+Operator.swift
// AJLayoutKit
//
// Created by 肖爱军 on 2019/2/9.
//
import Foundation
import UIKit
prefix operator |-
public prefix func |- (value: AJValue) -> AJLayoutContainer {
let attribute = AJLayoutAttribute(AJLayoutSide.leading, attribute: .leading)
let chain = AJLayoutChain(attrib... | 37.892655 | 113 | 0.721038 |
6d8d856be8b85c7cfa1ed3d495070c2533e61620 | 764 | sql | SQL | sql/2019-08-11-1700-tcd_teabag.sql | projecteon/TheCollection-SAFE | 64608b6f7a436191065944c169c118f88949c8f1 | [
"MIT"
] | null | null | null | sql/2019-08-11-1700-tcd_teabag.sql | projecteon/TheCollection-SAFE | 64608b6f7a436191065944c169c118f88949c8f1 | [
"MIT"
] | 1 | 2022-02-10T17:23:28.000Z | 2022-02-10T17:23:28.000Z | sql/2019-08-11-1700-tcd_teabag.sql | projecteon/TheCollection-SAFE | 64608b6f7a436191065944c169c118f88949c8f1 | [
"MIT"
] | null | null | null | CREATE TABLE [dbo].[tcd_teabag](
[id] [int] IDENTITY(1,1) NOT NULL,
[ro_brand] [int] NOT NULL,
[ro_bagtype] [int] NOT NULL,
[rs_country] [int] NULL,
[rf_image] [int] NULL,
[i_archive] [int] NULL,
[s_flavour] [nvarchar](255) NOT NULL,
[s_hallmark] [nvarchar](255) NULL,
[s_serie] [nvarchar](255) NULL,
... | 36.380952 | 151 | 0.688482 |
40c57c2d2f688b27bc3a73523fd01b6c5f8c04ec | 244 | py | Python | models/models.py | kashifpk/pyckapps.file_manager | 2d7b7105133efb91935af41821ad0cccc1826961 | [
"Apache-2.0"
] | null | null | null | models/models.py | kashifpk/pyckapps.file_manager | 2d7b7105133efb91935af41821ad0cccc1826961 | [
"Apache-2.0"
] | null | null | null | models/models.py | kashifpk/pyckapps.file_manager | 2d7b7105133efb91935af41821ad0cccc1826961 | [
"Apache-2.0"
] | null | null | null | from sqlalchemy import Column, Unicode
from . import db, Base
class Place(Base):
__tablename__ = 'places'
path = Column(Unicode(1000), primary_key=True)
name = Column(Unicode(100), unique=True)
description = Column(Unicode(1000))
| 24.4 | 49 | 0.721311 |
04b80804fd31361a98cbe329f33585b9f9a4c4ca | 25,654 | html | HTML | docs/d1/dac/classumi3d_1_1cdk_1_1menu_1_1_float_range_input_menu_item.html | Gfi-Innovation/UMI3D-SDK | e81ca8c72a1a2aaa59ebc1aec79f2b5da7e80ab3 | [
"Apache-2.0"
] | 2 | 2020-02-05T07:03:14.000Z | 2020-09-09T08:06:08.000Z | docs/d1/dac/classumi3d_1_1cdk_1_1menu_1_1_float_range_input_menu_item.html | Gfi-Innovation/UMI3D-SDK | e81ca8c72a1a2aaa59ebc1aec79f2b5da7e80ab3 | [
"Apache-2.0"
] | null | null | null | docs/d1/dac/classumi3d_1_1cdk_1_1menu_1_1_float_range_input_menu_item.html | Gfi-Innovation/UMI3D-SDK | e81ca8c72a1a2aaa59ebc1aec79f2b5da7e80ab3 | [
"Apache-2.0"
] | null | null | null | <!-- HTML header for doxygen 1.8.20-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" con... | 72.264789 | 476 | 0.73661 |
2d99d6935430e85c1a367e79fae84119b921db92 | 322 | html | HTML | dynamic-html/docs/models/BTTeamMemberParams.html | toebes/onshape-clients | a26cf6a77cfc7901321e603d5a097e23eb51e35c | [
"MIT"
] | 14 | 2019-06-23T08:47:41.000Z | 2021-11-29T16:28:45.000Z | dynamic-html/docs/models/BTTeamMemberParams.html | toebes/onshape-clients | a26cf6a77cfc7901321e603d5a097e23eb51e35c | [
"MIT"
] | 40 | 2019-05-22T14:39:46.000Z | 2022-03-10T10:36:17.000Z | dynamic-html/docs/models/BTTeamMemberParams.html | toebes/onshape-clients | a26cf6a77cfc7901321e603d5a097e23eb51e35c | [
"MIT"
] | 24 | 2019-06-02T01:03:41.000Z | 2022-03-29T13:25:36.000Z |
<h2>BTTeamMemberParams</h2>
<ul class="parameter">
<li class="param-required-false">email : String
<br/>
</li>
</ul>
<ul class="parameter">
<li class="param-required-false">admin : Boolean
<br/>
</li>
</ul>
<ul class="parameter">
<li class="param-required-false">teamId : String
<br/>
</li>
</ul... | 17.888889 | 50 | 0.614907 |
2e74db2b2c3df866d0534c65f5488c445f68dbca | 8,425 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1414.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1414.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1414.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1b2a5, %r8
nop
add $13401, %rbx
mov (%r8), %bp
nop
nop
nop
nop
nop
cmp $47310, %r10
lea addresses_UC_ht+0xfd3e, %r15
dec %rbx
movups (%r15), %xmm5
vpextrq $1, %xmm5,... | 32.528958 | 2,999 | 0.656617 |
6d8f8a5f0702e0b58256343efaa0cbafaf447a0b | 268 | dart | Dart | model_mapper_generator/lib/builder.dart | T-Oner/dart_modelmapper | 6357620d52b603347e3e140e1da58a3ce3df647a | [
"BSD-3-Clause"
] | 1 | 2021-04-20T23:51:41.000Z | 2021-04-20T23:51:41.000Z | model_mapper_generator/lib/builder.dart | T-Oner/model_mapper | 6357620d52b603347e3e140e1da58a3ce3df647a | [
"BSD-3-Clause"
] | null | null | null | model_mapper_generator/lib/builder.dart | T-Oner/model_mapper | 6357620d52b603347e3e140e1da58a3ce3df647a | [
"BSD-3-Clause"
] | null | null | null | import 'package:build/build.dart';
import 'package:model_mapper_generator/model_mapper_generator.dart';
import 'package:source_gen/source_gen.dart';
Builder modelMapperBuilder(BuilderOptions options) =>
SharedPartBuilder([ModelMapperGenerator()], 'model_mapper'); | 44.666667 | 68 | 0.820896 |
7b9d4d61d3225c40a429c4a7dbef281b8e9c3dab | 19,738 | rb | Ruby | game/app/main.rb | kfischer-okarin/descent-to-midnight-trench | 28b0394435ea07af0a1e228a782e8c26a38c7966 | [
"MIT"
] | null | null | null | game/app/main.rb | kfischer-okarin/descent-to-midnight-trench | 28b0394435ea07af0a1e228a782e8c26a38c7966 | [
"MIT"
] | null | null | null | game/app/main.rb | kfischer-okarin/descent-to-midnight-trench | 28b0394435ea07af0a1e228a782e8c26a38c7966 | [
"MIT"
] | null | null | null | SCREEN_W = 320
SCREEN_H = 180
ONE_METER = 15
TREASURE_DEPTH = 500
def vector_length(vector)
Math.sqrt(vector.x**2 + vector.y**2)
end
def clamp_vector(vector, max_length)
length = vector_length(vector)
return if length <= max_length
factor = max_length / length
vector.x *= factor
vector.y *= factor
end
m... | 28.814599 | 145 | 0.624531 |
0e6eead9d45377882caa2e45211538e4ce89acb0 | 83,542 | html | HTML | mutation_results-DEFAULTS/empire-db/empire-db-org.apache.empire.db.mysql.DBDatabaseDriverMySQLTest/202008121255/org.apache.empire.db.oracle/OracleDDLGenerator.java.html | dormaayan/mutation-analysis | cf57477e45a4e51a528eae0de9facd181577f087 | [
"MIT"
] | null | null | null | mutation_results-DEFAULTS/empire-db/empire-db-org.apache.empire.db.mysql.DBDatabaseDriverMySQLTest/202008121255/org.apache.empire.db.oracle/OracleDDLGenerator.java.html | dormaayan/mutation-analysis | cf57477e45a4e51a528eae0de9facd181577f087 | [
"MIT"
] | null | null | null | mutation_results-DEFAULTS/empire-db/empire-db-org.apache.empire.db.mysql.DBDatabaseDriverMySQLTest/202008121255/org.apache.empire.db.oracle/OracleDDLGenerator.java.html | dormaayan/mutation-analysis | cf57477e45a4e51a528eae0de9facd181577f087 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<h1>OracleDDLGenerator.java</h1>
<table class="src">
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7be68e03_1'/>
1
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.p... | 25.454601 | 547 | 0.669472 |
b93845aaa54eabdb302b074461f357b6bd90951b | 64 | h | C | config/DoubleWaves.h | XLsn0w/LayerKit | a8181fc2324d0270d682af4d3178ceded93f0fb8 | [
"MIT"
] | 1 | 2020-12-21T06:35:57.000Z | 2020-12-21T06:35:57.000Z | config/DoubleWaves.h | XLsn0w/LayerKit | a8181fc2324d0270d682af4d3178ceded93f0fb8 | [
"MIT"
] | null | null | null | config/DoubleWaves.h | XLsn0w/LayerKit | a8181fc2324d0270d682af4d3178ceded93f0fb8 | [
"MIT"
] | 2 | 2020-08-06T09:23:40.000Z | 2020-12-30T03:36:00.000Z |
#import <UIKit/UIKit.h>
@interface DoubleWaves : UIView
@end
| 9.142857 | 31 | 0.71875 |
c30a26d625b78e7680e83f5747cce7b2475fe4dc | 61,329 | rs | Rust | src/librustc_save_analysis/dump_visitor.rs | kraai/rust | 9ec924c97df970be1d7992df74206c149490b066 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2020-01-10T04:05:18.000Z | 2020-01-10T04:05:18.000Z | src/librustc_save_analysis/dump_visitor.rs | AakashOfficial/rust | bf2d145c62888c853db0bcfd8f5b3a6919f15502 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | src/librustc_save_analysis/dump_visitor.rs | AakashOfficial/rust | bf2d145c62888c853db0bcfd8f5b3a6919f15502 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | //! Write the output of rustc's analysis to an implementor of Dump.
//!
//! Dumping the analysis is implemented by walking the AST and getting a bunch of
//! info out from all over the place. We use `DefId`s to identify objects. The
//! tricky part is getting syntactic (span, source text) and semantic (reference
//! `D... | 39.490663 | 100 | 0.4733 |
e9b5a1ce73e6875ee6325ed068cca2d75006ae93 | 385 | rb | Ruby | app/controllers/general_notifications_controller.rb | vuongngo/cheersee | e7024f2e024ea07ea76d41d955b1f48b6d3b021e | [
"MIT"
] | 4 | 2016-05-17T03:03:19.000Z | 2019-01-04T05:39:04.000Z | app/controllers/general_notifications_controller.rb | vuongngo/cheersee | e7024f2e024ea07ea76d41d955b1f48b6d3b021e | [
"MIT"
] | null | null | null | app/controllers/general_notifications_controller.rb | vuongngo/cheersee | e7024f2e024ea07ea76d41d955b1f48b6d3b021e | [
"MIT"
] | 5 | 2016-10-30T08:14:38.000Z | 2021-03-25T20:10:49.000Z | class GeneralNotificationsController < ApplicationController
before_action :sign_in?
def index
clear_general_notification_count
@general_notifications = current_user.general_notifications.includes({sender: :profile}, :set_challenge, :join_challenge, :reference)
@general_notifications = Kaminari.paginate_ar... | 38.5 | 136 | 0.820779 |
dc0eb56dab49e282d65cf394851b192e9afad8f1 | 134 | py | Python | study/demo.py | t-ntran/vscode | 79488e9971073b6a065744ae5eca7146f4e10257 | [
"MIT"
] | null | null | null | study/demo.py | t-ntran/vscode | 79488e9971073b6a065744ae5eca7146f4e10257 | [
"MIT"
] | null | null | null | study/demo.py | t-ntran/vscode | 79488e9971073b6a065744ae5eca7146f4e10257 | [
"MIT"
] | 1 | 2021-11-29T16:51:54.000Z | 2021-11-29T16:51:54.000Z |
def initials(name):
parts = name.split(' ')
letters = ''
for part in parts:
letters += part[0]
return letters | 19.142857 | 27 | 0.559701 |
cb6fb201289a51f05bb153f27367c2782fcd7865 | 943 | html | HTML | flask_boilerplate/templates/calculate.html | briangx92/flask-boilerplate | d1aca191ad67d64825dda54e514a4ac8059078ff | [
"Apache-2.0"
] | null | null | null | flask_boilerplate/templates/calculate.html | briangx92/flask-boilerplate | d1aca191ad67d64825dda54e514a4ac8059078ff | [
"Apache-2.0"
] | null | null | null | flask_boilerplate/templates/calculate.html | briangx92/flask-boilerplate | d1aca191ad67d64825dda54e514a4ac8059078ff | [
"Apache-2.0"
] | null | null | null | {% extends "layouts/base.html" %}
{% block title %}Calculate{% endblock %}
{% block content %}
<p>Calculator:</p>
<form method="post">
<label>
x:
<input type="number" value="{{ x }}" name="x" id="x"/>
</label>
<label>
y:
<input type="number" value="{{ y }}" name="y" id="y"/>
</label>
<... | 23.575 | 96 | 0.588547 |
77862684a7fda54490a808b0a51b12c28da7e357 | 385 | sql | SQL | T-SQL/Executando a procedure com OUTPUT.sql | AlexFelipeBarbosa/Alura | 1bd9524ab0f0eb21cafadf7088b9b2f14586e4a8 | [
"MIT"
] | null | null | null | T-SQL/Executando a procedure com OUTPUT.sql | AlexFelipeBarbosa/Alura | 1bd9524ab0f0eb21cafadf7088b9b2f14586e4a8 | [
"MIT"
] | null | null | null | T-SQL/Executando a procedure com OUTPUT.sql | AlexFelipeBarbosa/Alura | 1bd9524ab0f0eb21cafadf7088b9b2f14586e4a8 | [
"MIT"
] | null | null | null | USE SUCOS_VENDAS;
GO
DECLARE @numero_notas INT,
@faturamento FLOAT,
@cpf VARCHAR(12),
@ano INT;
SET @cpf = '8502682733';
SET @ano = 2016;
EXEC RetornaValores @cpf = @cpf,
@ano = @ano,
@num_notas = @numero_notas OUTPUT,
@fatur... | 29.615385 | 56 | 0.553247 |