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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
609f97049909ab2c2e5a3d41a5db6d388d857f79 | 1,449 | swift | Swift | Combination Sum.swift | huntergai/LeecodeAlgorithm | 1744b981510d9640b4626a592dc6e89993aa8568 | [
"MIT"
] | null | null | null | Combination Sum.swift | huntergai/LeecodeAlgorithm | 1744b981510d9640b4626a592dc6e89993aa8568 | [
"MIT"
] | null | null | null | Combination Sum.swift | huntergai/LeecodeAlgorithm | 1744b981510d9640b4626a592dc6e89993aa8568 | [
"MIT"
] | null | null | null | /*
给你一个 无重复元素 的整数数组 candidates 和一个目标整数 target ,找出 candidates 中可以使数字和为目标数 target 的 所有 不同组合 ,并以列表形式返回。你可以按 任意顺序 返回这些组合。
candidates 中的 同一个 数字可以 无限制重复被选取 。如果至少一个数字的被选数量不同,则两种组合是不同的。
对于给定的输入,保证和为 target 的不同组合数少于 150 个。
示例 1:
输入:candidates = [2,3,6,7], target = 7
输出:[[2,2,3],[7]]
解释:
2 和 3 可以形成一组候选,2 + 2 + 3 = 7 。注意 ... | 23.370968 | 114 | 0.585921 |
2acc8174384410c98ef9f116672d5eadb6be42dc | 2,064 | sql | SQL | db/tournament.sql | ambagasdowa/kml | b56e9eb5671b5dd71485064f481b288c23384033 | [
"MIT"
] | null | null | null | db/tournament.sql | ambagasdowa/kml | b56e9eb5671b5dd71485064f481b288c23384033 | [
"MIT"
] | 16 | 2020-04-30T02:17:12.000Z | 2021-08-07T19:59:38.000Z | db/tournament.sql | ambagasdowa/kml | b56e9eb5671b5dd71485064f481b288c23384033 | [
"MIT"
] | null | null | null | drop database if exists `portal_versus`;
create database `portal_versus`;
use `portal_versus`;
grant usage on portal_versus.* to portal_versus@localhost identified by '@portal_versus#';
grant select, insert, update, delete, drop, alter, create temporary tables on portal_versus.* to portal_versus@localhost;
flush priv... | 36.210526 | 121 | 0.755329 |
13650868e8f056a6c0cb9f445e72b16a222071d0 | 4,328 | c | C | SdC/BE/chatmmap.c | Hathoute/ENSEEIHT | d42f0b0dedb269e6df3b1c006d4d45e52fc518b8 | [
"MIT"
] | 1 | 2021-06-26T21:51:11.000Z | 2021-06-26T21:51:11.000Z | SdC/BE/chatmmap.c | Hathoute/ENSEEIHT | d42f0b0dedb269e6df3b1c006d4d45e52fc518b8 | [
"MIT"
] | null | null | null | SdC/BE/chatmmap.c | Hathoute/ENSEEIHT | d42f0b0dedb269e6df3b1c006d4d45e52fc518b8 | [
"MIT"
] | null | null | null | /* version 0.2.1f (PM, 18/5/21) :
La discussion est un tableau de messages, couplé en mémoire partagée.
Un message comporte un auteur, un texte et un numéro d'ordre (croissant).
Le numéro d'ordre permet à chaque participant de détecter si la discussion a évolué
depuis la dernière fois qu'il l'a affichée.
La discus... | 29.04698 | 99 | 0.603281 |
2cb055e067dc47d153111173eef7148d64d5625a | 684 | swift | Swift | Sources/TuistCache/Cache/ScaleHEADResponse.swift | miscampbell/tuist | 265c9a8bc9090a2962992c087072ecf628933a1e | [
"MIT"
] | null | null | null | Sources/TuistCache/Cache/ScaleHEADResponse.swift | miscampbell/tuist | 265c9a8bc9090a2962992c087072ecf628933a1e | [
"MIT"
] | null | null | null | Sources/TuistCache/Cache/ScaleHEADResponse.swift | miscampbell/tuist | 265c9a8bc9090a2962992c087072ecf628933a1e | [
"MIT"
] | null | null | null | import Foundation
import TuistCore
import TuistSupport
struct ScaleHEADResponse: Decodable {
public init() {}
public static func existsResource(hash: String, scale: Scale) throws -> HTTPResource<ScaleResponse<ScaleHEADResponse>, ScaleHEADResponseError> {
let url = try URL.apiCacheURL(hash: hash, cache... | 40.235294 | 148 | 0.656433 |
713a71186a92086cb856cfd7e60ad54639c10568 | 3,242 | ts | TypeScript | typescriptex.ts | shawty/html5nativedraganddrop | 3b089c7d79efb9ea477aefc56b4bcda79da98f1a | [
"MIT"
] | null | null | null | typescriptex.ts | shawty/html5nativedraganddrop | 3b089c7d79efb9ea477aefc56b4bcda79da98f1a | [
"MIT"
] | null | null | null | typescriptex.ts | shawty/html5nativedraganddrop | 3b089c7d79efb9ea477aefc56b4bcda79da98f1a | [
"MIT"
] | null | null | null | class fileLoader {
constructor(fileObject: any) {
this.reader = new FileReader();
this.setUpHandlers();
this.reader.readAsDataURL(fileObject);
}
public reader: FileReader
private setUpHandlers() {
this.reader.addEventListener('load', (event) => {
this.handleLoad(event);
... | 24.19403 | 111 | 0.611351 |
2e82f76a0e425c12bf58683d2657a9d83d40023c | 13,465 | swift | Swift | src/Shared/CurvedGlyphLayer.swift | mormahr/GoMap | f2f4d13eeae6e374c8deeeccc342ed68bb89a21d | [
"0BSD"
] | null | null | null | src/Shared/CurvedGlyphLayer.swift | mormahr/GoMap | f2f4d13eeae6e374c8deeeccc342ed68bb89a21d | [
"0BSD"
] | null | null | null | src/Shared/CurvedGlyphLayer.swift | mormahr/GoMap | f2f4d13eeae6e374c8deeeccc342ed68bb89a21d | [
"0BSD"
] | null | null | null | //
// CurvedGlyphLayer.swift
// Go Map!!
//
// Created by Bryce Cogswell on 5/6/20.
// Copyright © 2020 Bryce. All rights reserved.
//
import CoreText
import Foundation
import QuartzCore
private struct TextLoc {
var pos: CGPoint
var angle: CGFloat
var length: CGFloat
}
private class PathPoints {
public let... | 29.528509 | 181 | 0.692388 |
21dc7e19158874b82a86c2980aae1d0b4a4393ee | 161 | html | HTML | src/app/app.component.html | SkyZH/stronghold-vision-webdashboard | 8f2935c0e2ffa87a5ab41204336b551bb270f561 | [
"MIT"
] | null | null | null | src/app/app.component.html | SkyZH/stronghold-vision-webdashboard | 8f2935c0e2ffa87a5ab41204336b551bb270f561 | [
"MIT"
] | null | null | null | src/app/app.component.html | SkyZH/stronghold-vision-webdashboard | 8f2935c0e2ffa87a5ab41204336b551bb270f561 | [
"MIT"
] | null | null | null | <header>
<nav class="navbar navbar-light">
<a class="navbar-brand">{{ api.title }}</a>
</nav>
</header>
<main>
<router-outlet></router-outlet>
</main>
| 17.888889 | 47 | 0.608696 |
3bbb622ad826cfe78c9b394e72abcda8d9f37522 | 3,094 | kt | Kotlin | app/src/main/kotlin/com/jameskbride/codemashcompanion/main/MainActivityImpl.kt | jameskbride/codemash-companion | 5700a3828ae8dfd45c2049736d55343974dab137 | [
"MIT"
] | 2 | 2017-12-05T03:13:31.000Z | 2019-01-10T13:10:47.000Z | app/src/main/kotlin/com/jameskbride/codemashcompanion/main/MainActivityImpl.kt | jameskbride/codemash-companion | 5700a3828ae8dfd45c2049736d55343974dab137 | [
"MIT"
] | 20 | 2017-12-06T01:57:34.000Z | 2020-01-04T16:25:14.000Z | app/src/main/kotlin/com/jameskbride/codemashcompanion/main/MainActivityImpl.kt | jameskbride/codemash-companion | 5700a3828ae8dfd45c2049736d55343974dab137 | [
"MIT"
] | 1 | 2017-12-16T15:50:48.000Z | 2017-12-16T15:50:48.000Z | package com.jameskbride.codemashcompanion.main
import android.os.Bundle
import com.google.android.material.tabs.TabLayout
import androidx.viewpager.widget.ViewPager
import androidx.appcompat.widget.Toolbar
import android.view.Menu
import android.view.MenuItem
import com.jameskbride.codemashcompanion.R
import com.james... | 39.666667 | 168 | 0.725921 |
615e4fb91ba4dec4d514f061db1b76ff6cac5f6d | 1,681 | css | CSS | UI/stylesheet/car-detail.css | ushnuel/Auto-Mart | 500d28176d05f31d6dd80131002634fe16e6e527 | [
"MIT"
] | null | null | null | UI/stylesheet/car-detail.css | ushnuel/Auto-Mart | 500d28176d05f31d6dd80131002634fe16e6e527 | [
"MIT"
] | 1 | 2019-06-18T17:18:42.000Z | 2019-06-18T17:18:42.000Z | UI/stylesheets/car-detail.css | ushnuel/Auto-Mart | 500d28176d05f31d6dd80131002634fe16e6e527 | [
"MIT"
] | null | null | null | a,
a:hover {
text-decoration: none;
}
h1 {
text-transform: capitalize;
}
.car-detail-header-container {
display: flex;
flex-direction: column;
background: rgb(72, 161, 72);
}
.car-detail-header {
display: flex;
justify-content: center;
align-items: center;
margin: 10px;
}
.auto-mart-car-detail {
pad... | 16.81 | 49 | 0.64188 |
856a26f10d5021a3e16001ca51f45a1b25c8b44d | 3,646 | js | JavaScript | src/components/mailChimpSignUp.js | pedroeldiablo/new-gatsby-blog | 71a10d30d3bc9b030ea70a4ca9f4d4931420831f | [
"MIT"
] | null | null | null | src/components/mailChimpSignUp.js | pedroeldiablo/new-gatsby-blog | 71a10d30d3bc9b030ea70a4ca9f4d4931420831f | [
"MIT"
] | 3 | 2020-09-11T14:47:19.000Z | 2020-09-11T23:52:17.000Z | src/components/mailChimpSignUp.js | pedroeldiablo/new-gatsby-blog | 71a10d30d3bc9b030ea70a4ca9f4d4931420831f | [
"MIT"
] | null | null | null | import React, { useState, useEffect } from 'react';
import addToMailchimp from 'gatsby-plugin-mailchimp';
export const MailChimpSignUp = () => {
const [email, setEmail] = useState('');
const [listFields, updateListFields] = useState({ FNAME: '', LNAME: '' });
// `addToMailchimp` returns a promise
// Note that... | 29.403226 | 128 | 0.529073 |
c6d14bddea7c913c7b457d1f8e3082ae1af74f0c | 232 | rb | Ruby | db/migrate/20210620142608_create_fixed_events.rb | bula21/orca | 9cd08aa73a732e4e50d6760b7a083c12181d5983 | [
"MIT"
] | 4 | 2019-10-31T14:10:23.000Z | 2019-11-18T08:34:34.000Z | db/migrate/20210620142608_create_fixed_events.rb | bula21/orca | 9cd08aa73a732e4e50d6760b7a083c12181d5983 | [
"MIT"
] | 26 | 2020-06-19T09:11:13.000Z | 2022-03-27T15:51:31.000Z | db/migrate/20210620142608_create_fixed_events.rb | bula21/orca | 9cd08aa73a732e4e50d6760b7a083c12181d5983 | [
"MIT"
] | 2 | 2020-11-29T11:57:53.000Z | 2022-01-20T21:17:56.000Z | class CreateFixedEvents < ActiveRecord::Migration[6.0]
def change
create_table :fixed_events do |t|
t.jsonb :title, default: {}
t.datetime :starts_at
t.datetime :ends_at
t.timestamps
end
end
end
| 19.333333 | 54 | 0.659483 |
1c685edead1a4a5609ee55f8276bdeb3066e94d6 | 311 | swift | Swift | routeTests/ValuesForTest.swift | abiliogp/Route | 5c4c7e65735d2c8a057474fd99e5cbd2c71c26f5 | [
"MIT"
] | null | null | null | routeTests/ValuesForTest.swift | abiliogp/Route | 5c4c7e65735d2c8a057474fd99e5cbd2c71c26f5 | [
"MIT"
] | 3 | 2020-02-21T11:19:00.000Z | 2020-02-21T20:54:35.000Z | routeTests/ValuesForTest.swift | abiliogp/Route | 5c4c7e65735d2c8a057474fd99e5cbd2c71c26f5 | [
"MIT"
] | null | null | null | //
// ValuesForTest.swift
// routeTests
//
// Created by Abilio Gambim Parada on 19/02/2020.
// Copyright © 2020 Abilio Gambim Parada. All rights reserved.
//
import Foundation
struct ValuesForTest {
static let timeoutExpect = 5.0
static let countAllNodes = 7
static let countNodesFrom = 6
}
| 18.294118 | 63 | 0.70418 |
df3390e8a82b1e353bfd9d9e632b8d823802d036 | 894 | rb | Ruby | db/migrate/20150914215247_add_ci_tags.rb | sue445/gitlabhq | e3edd53ae420e3cd581be9ac1029df8a0c93daab | [
"MIT"
] | 8 | 2017-07-07T19:17:26.000Z | 2022-03-22T04:45:48.000Z | db/migrate/20150914215247_add_ci_tags.rb | sue445/gitlabhq | e3edd53ae420e3cd581be9ac1029df8a0c93daab | [
"MIT"
] | null | null | null | db/migrate/20150914215247_add_ci_tags.rb | sue445/gitlabhq | e3edd53ae420e3cd581be9ac1029df8a0c93daab | [
"MIT"
] | 32 | 2016-05-10T14:34:43.000Z | 2022-02-16T14:03:26.000Z | class AddCiTags < ActiveRecord::Migration
def change
create_table "ci_taggings", force: true do |t|
t.integer "tag_id"
t.integer "taggable_id"
t.string "taggable_type"
t.integer "tagger_id"
t.string "tagger_type"
t.string "context", limit: 128
t.datetime "c... | 37.25 | 164 | 0.671141 |
40230a845a4e82b8acb7d4e5516668ba74e1c2ad | 2,751 | py | Python | tests/test_config.py | dstarner/pacyam | 2aee72baed5b4413074175054118b0761ce608a3 | [
"MIT"
] | 3 | 2018-10-02T13:04:41.000Z | 2020-07-20T11:28:03.000Z | tests/test_config.py | dstarner/pacyam | 2aee72baed5b4413074175054118b0761ce608a3 | [
"MIT"
] | 3 | 2018-10-11T19:11:11.000Z | 2018-11-09T17:03:01.000Z | tests/test_config.py | dstarner/pacyam | 2aee72baed5b4413074175054118b0761ce608a3 | [
"MIT"
] | null | null | null | import os
import unittest
from pacyam.pacyam import Configuration, BuildException
REPO_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
class ConfigurationTestCase(unittest.TestCase):
test_configs_root = os.path.join(REPO_ROOT, 'tests', 'test-configs')
project_root = os.path.join(REPO_ROOT... | 31.261364 | 72 | 0.613232 |
e69000fef800dc1025466615f7760cdfe6118480 | 839 | sql | SQL | TABLAS BD VIATICOS/configuraciones/vyp_bancos.sql | douglasvela/code_igniter | 722856f49b82d0eb09e47d092aea5a404666e1cf | [
"MIT"
] | null | null | null | TABLAS BD VIATICOS/configuraciones/vyp_bancos.sql | douglasvela/code_igniter | 722856f49b82d0eb09e47d092aea5a404666e1cf | [
"MIT"
] | null | null | null | TABLAS BD VIATICOS/configuraciones/vyp_bancos.sql | douglasvela/code_igniter | 722856f49b82d0eb09e47d092aea5a404666e1cf | [
"MIT"
] | null | null | null | --
-- Estructura de tabla para la tabla `vyp_bancos`
--
DROP TABLE IF EXISTS `vyp_bancos`;
CREATE TABLE `vyp_bancos` (
`id_banco` int(10) UNSIGNED NOT NULL DEFAULT '0',
`nombre` varchar(50) NOT NULL,
`caracteristicas` varchar(100) NOT NULL,
`codigo_a` varchar(25) NOT NULL,
`codigo_b` varchar(25) NOT NULL,
... | 32.269231 | 109 | 0.619785 |
72f9dcf7fb5800304dc5d4e14363115fe9bec05f | 670 | html | HTML | src/components/button/danger-button.html | rezak-otmani/carbon-components | bfceee3497b6198013873400ff5805879420a4dc | [
"Apache-2.0"
] | null | null | null | src/components/button/danger-button.html | rezak-otmani/carbon-components | bfceee3497b6198013873400ff5805879420a4dc | [
"Apache-2.0"
] | null | null | null | src/components/button/danger-button.html | rezak-otmani/carbon-components | bfceee3497b6198013873400ff5805879420a4dc | [
"Apache-2.0"
] | null | null | null | <button class="bx--btn bx--btn--danger" type="button" aria-label="danger">Secondary danger button</button>
<button class="bx--btn bx--btn--danger" type="button" disabled>Secondary danger button</button>
<button class="bx--btn bx--btn--danger bx--btn--sm" type="button" aria-label="danger">Small secondary danger</button>... | 95.714286 | 131 | 0.735821 |
56efab1bb1897ccbfb136c53ac1ca14810e0020a | 10,833 | tsx | TypeScript | web/src/pages/Profile/index.tsx | EdRamos12/Proffy | 72474b44d8098fd684b86a692d04e72f644ee15a | [
"MIT"
] | 3 | 2020-09-17T05:20:42.000Z | 2020-09-18T12:24:49.000Z | web/src/pages/Profile/index.tsx | EdRamos12/Proffy | 72474b44d8098fd684b86a692d04e72f644ee15a | [
"MIT"
] | null | null | null | web/src/pages/Profile/index.tsx | EdRamos12/Proffy | 72474b44d8098fd684b86a692d04e72f644ee15a | [
"MIT"
] | null | null | null | import React, { useContext, useEffect, useMemo, useState } from 'react'
import { useParams } from 'react-router-dom'
import PageHeader from '../../components/PageHeader';
import profileBackground from '../../assets/images/profile-background.svg';
import './styles.css';
import AuthContext from '../../contexts/AuthContex... | 40.122222 | 244 | 0.515739 |
90a1f8bc842a60494f885c4e11d6986f21a8085b | 2,630 | py | Python | V-sem/PatternMatchingUsingPythonProgramming/LAB_ASSIGNMENTS/Assignment1(29SEP2020)/Solution5.py | wasitshafi/JMI | 892d603e2abe58fc8b3744b0db07ee988e4ded5c | [
"MIT"
] | 3 | 2020-03-18T16:27:33.000Z | 2021-06-07T12:39:32.000Z | V-sem/PatternMatchingUsingPythonProgramming/LAB_ASSIGNMENTS/Assignment1(29SEP2020)/Solution5.py | wasitshafi/JMI | 892d603e2abe58fc8b3744b0db07ee988e4ded5c | [
"MIT"
] | null | null | null | V-sem/PatternMatchingUsingPythonProgramming/LAB_ASSIGNMENTS/Assignment1(29SEP2020)/Solution5.py | wasitshafi/JMI | 892d603e2abe58fc8b3744b0db07ee988e4ded5c | [
"MIT"
] | 10 | 2019-11-11T06:49:10.000Z | 2021-06-07T12:41:20.000Z | # Q5. Write a program to implement OOPs concepts in python i.e. inheritance etc.
class Person:
def __init__(self, name, age, address): # constructor
self.name = name
self.age = age
self.address = address
def set_data(self, name, age, address):
self.name = name
self.age = age
self.address... | 29.550562 | 100 | 0.671103 |
48cd68af01b9a02b3bffa4ddf2d57669d8bc3484 | 1,345 | h | C | SkankySDK.framework/Headers/QCLines.h | macoscope/QCAntennaConnections | c0d12004278bb7c5140297990bda5347aa014a1a | [
"Apache-2.0"
] | 5 | 2015-03-06T01:12:20.000Z | 2020-08-12T18:15:14.000Z | SkankySDK.framework/Headers/QCLines.h | macoscope/QCConsole | 9e64b3fe437ab6fa8ec3884d19387059b26e176a | [
"Apache-2.0"
] | null | null | null | SkankySDK.framework/Headers/QCLines.h | macoscope/QCConsole | 9e64b3fe437ab6fa8ec3884d19387059b26e176a | [
"Apache-2.0"
] | null | null | null | @interface QCLines : QCPatch
{
QCNumberPort *inputStartX; // 156 = 0x9c
QCNumberPort *inputStartY; // 160 = 0xa0
QCNumberPort *inputStartZ; // 164 = 0xa4
QCNumberPort *inputStartRX; // 168 = 0xa8
QCNumberPort *inputStartRY; // 172 = 0xac
QCNumberPort *inputStartRZ; // 176 = 0xb0
QCNumberPort *inputStartLength; /... | 38.428571 | 90 | 0.73829 |
d70314ae4535d2f6a5e53e5f0afa126d5b3129da | 1,921 | kt | Kotlin | src/main/kotlin/javabot/operations/ForgetFactoidOperation.kt | topriddy/javabot | cd21e5a9408190a065fbf6d284744188f2b00089 | [
"BSD-3-Clause"
] | 31 | 2015-01-06T16:03:04.000Z | 2019-04-12T21:55:57.000Z | src/main/kotlin/javabot/operations/ForgetFactoidOperation.kt | topriddy/javabot | cd21e5a9408190a065fbf6d284744188f2b00089 | [
"BSD-3-Clause"
] | 172 | 2015-01-11T13:23:02.000Z | 2021-07-20T11:55:58.000Z | src/main/kotlin/javabot/operations/ForgetFactoidOperation.kt | topriddy/javabot | cd21e5a9408190a065fbf6d284744188f2b00089 | [
"BSD-3-Clause"
] | 26 | 2015-01-06T16:03:05.000Z | 2021-08-06T13:14:56.000Z | package javabot.operations
import com.antwerkz.sofia.Sofia
import javabot.Javabot
import javabot.Message
import javabot.dao.AdminDao
import javabot.dao.ChannelDao
import javabot.dao.FactoidDao
import javabot.model.Channel
import javax.inject.Inject
class ForgetFactoidOperation @Inject constructor(bot: Javabot, adminD... | 40.87234 | 140 | 0.628839 |
5046d1485df82a119f2bc9f69f7903253faa1892 | 596 | go | Go | altsrc/map_input_source_test.go | AkihiroSuda/urfave-cli | 1b7e4e00c7eac99a63972b4eb145b4e3192e8582 | [
"MIT"
] | 2 | 2020-03-16T03:27:50.000Z | 2020-03-16T08:06:39.000Z | altsrc/map_input_source_test.go | AkihiroSuda/urfave-cli | 1b7e4e00c7eac99a63972b4eb145b4e3192e8582 | [
"MIT"
] | 1 | 2021-12-02T22:06:57.000Z | 2021-12-02T22:07:45.000Z | altsrc/map_input_source_test.go | AkihiroSuda/urfave-cli | 1b7e4e00c7eac99a63972b4eb145b4e3192e8582 | [
"MIT"
] | 5 | 2020-11-24T15:09:34.000Z | 2021-10-09T04:41:54.000Z | package altsrc
import (
"testing"
"time"
)
func TestMapDuration(t *testing.T) {
inputSource := &MapInputSource{
file: "test",
valueMap: map[interface{}]interface{}{
"duration_of_duration_type": time.Minute,
"duration_of_string_type": "1m",
"duration_of_int_type": 1000,
},
}
d, err := inputS... | 22.923077 | 60 | 0.697987 |
fcfe5e753b778f403389e245fb4e5bde52e22935 | 465 | swift | Swift | Example/SPKit/TestViewController.swift | linhay/SPKit | 5cf13e87e4fadffb1f02ad1e754a894e673e1f1f | [
"MIT"
] | 3 | 2017-09-18T11:09:02.000Z | 2017-12-02T15:25:45.000Z | Example/SPKit/TestViewController.swift | linhay/SPKit | 5cf13e87e4fadffb1f02ad1e754a894e673e1f1f | [
"MIT"
] | null | null | null | Example/SPKit/TestViewController.swift | linhay/SPKit | 5cf13e87e4fadffb1f02ad1e754a894e673e1f1f | [
"MIT"
] | null | null | null | //
// TestViewController.swift
// SPKit_Example
//
// Created by linhey on 2018/12/15.
// Copyright © 2018 CocoaPods. All rights reserved.
//
import UIKit
import SPKit
class TestViewController: UIViewController {
@IBOutlet weak var sp_test_description_views: UIView!
@IBOutlet weak var sp_description: UI... | 18.6 | 66 | 0.726882 |
c35f7f02c8f6c929885dfd52bc2d04b09578dcf6 | 3,693 | go | Go | key/key.go | taybart/bubbles | 7959eb486708b841f703fd26ed6429a04f26a4c4 | [
"MIT"
] | 1 | 2022-02-22T01:03:32.000Z | 2022-02-22T01:03:32.000Z | key/key.go | mrusme/bubbles | 88562515cf7bce029c473d178add7a64453590cb | [
"MIT"
] | 14 | 2022-01-22T19:29:27.000Z | 2022-03-13T10:04:02.000Z | key/key.go | mrusme/bubbles | 88562515cf7bce029c473d178add7a64453590cb | [
"MIT"
] | null | null | null | // Package key provides some types and functions for generating user-definable
// keymappings useful in Bubble Tea components. There are a few different ways
// you can define a keymapping with this package. Here's one example:
//
// type KeyMap struct {
// Up key.Binding
// Down key.Binding
// ... | 26.007042 | 78 | 0.644733 |
861a6afe96289deb39be8309c5f5bf439abaa99b | 12,286 | rs | Rust | common/validator_dir/src/builder.rs | Zachinquarantine/lighthouse | 0177b9286edfdeb2782f74fc7fb1392b6459bfaa | [
"Apache-2.0"
] | 3 | 2022-03-01T13:51:19.000Z | 2022-03-08T03:48:09.000Z | common/validator_dir/src/builder.rs | DeFiCh/octopus | 2a9b3b746b4795b00c23054bb402bb247d41e8a6 | [
"Apache-2.0"
] | null | null | null | common/validator_dir/src/builder.rs | DeFiCh/octopus | 2a9b3b746b4795b00c23054bb402bb247d41e8a6 | [
"Apache-2.0"
] | null | null | null | use crate::{Error as DirError, ValidatorDir};
use bls::get_withdrawal_credentials;
use deposit_contract::{encode_eth1_tx_data, Error as DepositError};
use eth2_keystore::{Error as KeystoreError, Keystore, KeystoreBuilder, PlainText};
use filesystem::create_with_600_perms;
use rand::{distributions::Alphanumeric, Rng};
u... | 39.760518 | 103 | 0.61566 |
d9d551b3f74e1323a35a829dbcf95a49338a71f2 | 2,275 | swift | Swift | PreviewEditMedia/Classes/UIBezierPathExtension.swift | huy-luvapay/PreviewEditMedia | 054af06abe84eff1a544a8116d003d9ad42f4973 | [
"MIT"
] | null | null | null | PreviewEditMedia/Classes/UIBezierPathExtension.swift | huy-luvapay/PreviewEditMedia | 054af06abe84eff1a544a8116d003d9ad42f4973 | [
"MIT"
] | null | null | null | PreviewEditMedia/Classes/UIBezierPathExtension.swift | huy-luvapay/PreviewEditMedia | 054af06abe84eff1a544a8116d003d9ad42f4973 | [
"MIT"
] | null | null | null | //
// UIBezierPathExtension.swift
// SmoothScribble
//
// Created by Simon Gladman on 04/11/2015.
// Copyright © 2015 Simon Gladman. All rights reserved.
//
import UIKit
extension UIBezierPath
{
func interpolatePointsWithHermite(interpolationPoints : [CGPoint], alpha : CGFloat = 1.0/3.0)
{
guard !... | 33.955224 | 103 | 0.536703 |
2f4c8bb59c83a1a216b8a8f502758ac066c0f885 | 13,551 | php | PHP | tests/Schema/BlueprintTest.php | HidalgoRides/intersect-database | aa9930752d9bb2b30bc72c763e0a11993589a35e | [
"MIT"
] | null | null | null | tests/Schema/BlueprintTest.php | HidalgoRides/intersect-database | aa9930752d9bb2b30bc72c763e0a11993589a35e | [
"MIT"
] | null | null | null | tests/Schema/BlueprintTest.php | HidalgoRides/intersect-database | aa9930752d9bb2b30bc72c763e0a11993589a35e | [
"MIT"
] | null | null | null | <?php
namespace Tests\Schema;
use PHPUnit\Framework\TestCase;
use Intersect\Database\Schema\Blueprint;
use Intersect\Database\Schema\Key\PrimaryKey;
use Intersect\Database\Schema\Key\UniqueKey;
use Intersect\Database\Schema\Key\Index;
use Intersect\Database\Schema\Key\ForeignKey;
use Intersect\Database\Schema\ColumnT... | 34.306329 | 84 | 0.629769 |
b697e2133c893ca81bf1168fedfed8c37f51d57b | 1,371 | asm | Assembly | software/pcx86/bdsrc/test/sleep.asm | fatman2021/basicdos | d5de65300632632dd0f5a4d9335d38b4aa39d268 | [
"MIT"
] | 59 | 2020-12-22T21:02:32.000Z | 2022-02-16T05:53:49.000Z | software/pcx86/bdsrc/test/sleep.asm | fatman2021/basicdos | d5de65300632632dd0f5a4d9335d38b4aa39d268 | [
"MIT"
] | null | null | null | software/pcx86/bdsrc/test/sleep.asm | fatman2021/basicdos | d5de65300632632dd0f5a4d9335d38b4aa39d268 | [
"MIT"
] | 5 | 2020-12-24T03:07:40.000Z | 2022-02-03T18:40:55.000Z | ;
; BASIC-DOS Sleep Tests
;
; @author Jeff Parsons <Jeff@pcjs.org>
; @copyright (c) 2020-2021 Jeff Parsons
; @license MIT <https://basicdos.com/LICENSE.txt>
;
; This file is part of PCjs, a computer emulation software project at pcjs.org
;
include macros.inc
include dosapi.inc
CODE SEGMENT
org 100... | 20.462687 | 79 | 0.668125 |
82f75db124213992aee98cb5e2c3d40452d94d3b | 1,219 | kt | Kotlin | coroutines/src/jvmTest/kotlin/dev/inmo/micro_utils/coroutines/AwaitFirstTests.kt | InsanusMokrassar/MicroUtils | d2314422f1e53c4e7eb43fb61557c0687f45c45f | [
"Apache-2.0"
] | 8 | 2020-11-12T04:23:03.000Z | 2022-03-14T18:38:56.000Z | coroutines/src/jvmTest/kotlin/dev/inmo/micro_utils/coroutines/AwaitFirstTests.kt | InsanusMokrassar/MicroUtils | d2314422f1e53c4e7eb43fb61557c0687f45c45f | [
"Apache-2.0"
] | 11 | 2020-10-22T10:41:25.000Z | 2021-11-05T15:56:00.000Z | coroutines/src/jvmTest/kotlin/dev/inmo/micro_utils/coroutines/AwaitFirstTests.kt | InsanusMokrassar/MicroUtils | d2314422f1e53c4e7eb43fb61557c0687f45c45f | [
"Apache-2.0"
] | null | null | null | package dev.inmo.micro_utils.coroutines
import kotlinx.coroutines.*
import org.junit.Test
import kotlin.test.assertEquals
import kotlin.test.assertTrue
class AwaitFirstTests {
private fun CoroutineScope.createTestDeferred(value: Int, wait: Long = 100000) = async(start = CoroutineStart.LAZY) { delay(wait); value }... | 35.852941 | 142 | 0.665299 |
540e798a3888c1fc82bd05abb33734065dca6120 | 2,653 | go | Go | repo/spackEnv.go | autamus/buildconfig | b07936b33b405222759bc4d5616d609c383e37f0 | [
"Apache-2.0"
] | null | null | null | repo/spackEnv.go | autamus/buildconfig | b07936b33b405222759bc4d5616d609c383e37f0 | [
"Apache-2.0"
] | null | null | null | repo/spackEnv.go | autamus/buildconfig | b07936b33b405222759bc4d5616d609c383e37f0 | [
"Apache-2.0"
] | null | null | null | package repo
import (
"io/ioutil"
"strings"
"gopkg.in/yaml.v2"
)
type SpackEnv struct {
Spack Spack `yaml:"spack"`
}
type Spack struct {
Specs []string `yaml:"specs,omitempty"`
View bool `yaml:"view"`
Packages map[string]SpackPackages `yaml:"packages,omitempty"`
... | 24.794393 | 84 | 0.666038 |
7a1d573420535e27ecd6360be270455540115711 | 4,043 | swift | Swift | fearless/Modules/Staking/StakingRewardDestinationSetup/View/StakingRewardDestSetupLayout.swift | soramitsu/fearless-iOS | 730a5373843ea75e02132eafef03ae015fffffce | [
"Apache-2.0"
] | 57 | 2020-08-09T17:30:43.000Z | 2022-03-22T19:03:18.000Z | fearless/Modules/Staking/StakingRewardDestinationSetup/View/StakingRewardDestSetupLayout.swift | soramitsu/fearless-iOS | 730a5373843ea75e02132eafef03ae015fffffce | [
"Apache-2.0"
] | 113 | 2020-08-30T17:22:39.000Z | 2022-02-15T23:50:35.000Z | fearless/Modules/Staking/StakingRewardDestinationSetup/View/StakingRewardDestSetupLayout.swift | soramitsu/fearless-iOS | 730a5373843ea75e02132eafef03ae015fffffce | [
"Apache-2.0"
] | 22 | 2020-08-30T17:11:11.000Z | 2022-03-16T14:44:36.000Z | import UIKit
import SnapKit
final class StakingRewardDestSetupLayout: UIView {
let contentView: ScrollableContainerView = {
let view = ScrollableContainerView()
view.stackView.isLayoutMarginsRelativeArrangement = true
view.stackView.layoutMargins = UIEdgeInsets(top: 16.0, left: 0.0, bottom:... | 36.423423 | 98 | 0.689092 |
538a470c35173c843daf0bb05df6faedb2da2589 | 3,481 | kt | Kotlin | app/src/main/java/com/hoc/pagination_mvi/ui/main/MainInteractorImpl.kt | NurseyitTursunkulov/MVISample | 5b780f4b1ad2f5072927cc1e8675aa50fcf7e3dd | [
"MIT"
] | 6 | 2019-12-05T18:00:57.000Z | 2022-01-20T02:25:53.000Z | app/src/main/java/com/hoc/pagination_mvi/ui/main/MainInteractorImpl.kt | NurseyitTursunkulov/MVISample | 5b780f4b1ad2f5072927cc1e8675aa50fcf7e3dd | [
"MIT"
] | null | null | null | app/src/main/java/com/hoc/pagination_mvi/ui/main/MainInteractorImpl.kt | NurseyitTursunkulov/MVISample | 5b780f4b1ad2f5072927cc1e8675aa50fcf7e3dd | [
"MIT"
] | 3 | 2020-02-13T02:02:04.000Z | 2020-05-15T22:04:14.000Z | package com.hoc.pagination_mvi.ui.main
import com.hoc.pagination_mvi.di.ApplicationScope
import com.hoc.pagination_mvi.domain.dispatchers_schedulers.CoroutinesDispatchersProvider
import com.hoc.pagination_mvi.domain.usecase.GetPhotosUseCase
import com.hoc.pagination_mvi.domain.usecase.GetPostsUseCase
import com.hoc.pa... | 29.752137 | 89 | 0.654697 |
bcd8546cbf3926efc27fd0b65a5475a6a03b73a1 | 577 | js | JavaScript | controllers/apiRoutes/index.js | ChrisNirschl1/techblogger | 76bffcd5ca4d064ae7e89b3a5764bb3bf83dca34 | [
"MIT"
] | null | null | null | controllers/apiRoutes/index.js | ChrisNirschl1/techblogger | 76bffcd5ca4d064ae7e89b3a5764bb3bf83dca34 | [
"MIT"
] | null | null | null | controllers/apiRoutes/index.js | ChrisNirschl1/techblogger | 76bffcd5ca4d064ae7e89b3a5764bb3bf83dca34 | [
"MIT"
] | null | null | null | const express = require('express');
const router = express.Router();
const postRoutes = require("../apiRoutes/postRoutes");
const userRoutes = require("../apiRoutes/userRoutes");
// const opinionRoutes = require("../apiRoutes/opinionRoutes");
//these are pluralized in the search i.e localhost:3000/api/posts NOT api/pos... | 38.466667 | 78 | 0.719237 |
af8ac264eba7365eb4324c5920db83c82335785d | 1,183 | rb | Ruby | app/models/timespans/month_timespan.rb | ipublic/marketplace | dff18c5a108bc8e492adeefdbd3938849fc57930 | [
"MIT",
"Unlicense"
] | null | null | null | app/models/timespans/month_timespan.rb | ipublic/marketplace | dff18c5a108bc8e492adeefdbd3938849fc57930 | [
"MIT",
"Unlicense"
] | 11 | 2020-02-29T00:47:01.000Z | 2022-02-26T10:20:05.000Z | app/models/timespans/month_timespan.rb | ipublic/marketplace | dff18c5a108bc8e492adeefdbd3938849fc57930 | [
"MIT",
"Unlicense"
] | 1 | 2019-02-06T14:50:06.000Z | 2019-02-06T14:50:06.000Z | module Timespans
class MonthTimespan < Timespan
attr_readonly :year, :month, :begin_on, :end_on
field :year, type: Integer
field :month, type: Integer
belongs_to :calendar_year_timespan,
class_name: 'Timespans::CalendarYearTimespan'
validates_presence_of :year
validates :month,
... | 25.717391 | 94 | 0.686391 |
d5abb6a1b097b12ef5491407f8f5ce63662a8d48 | 3,062 | kt | Kotlin | app/src/main/java/com/trigonated/gamecollection/ui/gamecollectionstatus/GameCollectionStatusAdapter.kt | trigonated/GameCollection | e6e2419190180e0c79def334136a58d94565887c | [
"MIT"
] | 1 | 2021-10-01T11:25:12.000Z | 2021-10-01T11:25:12.000Z | app/src/main/java/com/trigonated/gamecollection/ui/gamecollectionstatus/GameCollectionStatusAdapter.kt | trigonated/GameCollection | e6e2419190180e0c79def334136a58d94565887c | [
"MIT"
] | null | null | null | app/src/main/java/com/trigonated/gamecollection/ui/gamecollectionstatus/GameCollectionStatusAdapter.kt | trigonated/GameCollection | e6e2419190180e0c79def334136a58d94565887c | [
"MIT"
] | null | null | null | package com.trigonated.gamecollection.ui.gamecollectionstatus
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import com.trigonated.gamecollection.databinding.L... | 32.924731 | 96 | 0.67015 |
fd7ab27e67ef9ea0dcd2d186119af250912ae2c8 | 596 | swift | Swift | SymphonyTestsHost/AppDelegate.swift | opallabs/Symphony | 4d3596086dada0b57c2b0a527f5642f16f3797bd | [
"MIT"
] | null | null | null | SymphonyTestsHost/AppDelegate.swift | opallabs/Symphony | 4d3596086dada0b57c2b0a527f5642f16f3797bd | [
"MIT"
] | 4 | 2016-09-13T22:46:57.000Z | 2016-10-28T00:12:58.000Z | SymphonyTestsHost/AppDelegate.swift | opallabs/Symphony | 4d3596086dada0b57c2b0a527f5642f16f3797bd | [
"MIT"
] | 1 | 2016-10-13T23:14:41.000Z | 2016-10-13T23:14:41.000Z | //
// AppDelegate.swift
// SymphonyTestsHost
//
// Created by Zak Remer on 10/14/16.
// Copyright © 2016 Spilt Cocoa. All rights reserved.
//
import UIKit
import Symphony
@UIApplicationMain
class AppDelegate: UIViewController, UIApplicationDelegate {
var window: UIWindow?
func application(_ application:... | 22.923077 | 144 | 0.708054 |
c8ff670dca25a1b9d4e020ba4db8f20c313e4a15 | 122 | rs | Rust | src/lib.rs | sortiz4/procks | 5cac4bf32eaa3886308dc0b290b43e63bc102721 | [
"MIT"
] | null | null | null | src/lib.rs | sortiz4/procks | 5cac4bf32eaa3886308dc0b290b43e63bc102721 | [
"MIT"
] | null | null | null | src/lib.rs | sortiz4/procks | 5cac4bf32eaa3886308dc0b290b43e63bc102721 | [
"MIT"
] | null | null | null | mod core;
mod error;
mod result;
pub use crate::core::Procks;
pub use crate::error::Error;
pub use crate::result::Result;
| 17.428571 | 30 | 0.729508 |
9bc99bb282edbb3673d82015dbe2a496db61bfec | 715 | kt | Kotlin | app/src/main/java/com/varunest/grabnews/network/CacheInterceptor.kt | varunest/GrabNews | 347cd190f4d0bd01dcdd34183165fdbe911458aa | [
"Apache-2.0"
] | 1 | 2019-09-15T10:17:03.000Z | 2019-09-15T10:17:03.000Z | app/src/main/java/com/varunest/grabnews/network/CacheInterceptor.kt | varunest/GrabNews | 347cd190f4d0bd01dcdd34183165fdbe911458aa | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/varunest/grabnews/network/CacheInterceptor.kt | varunest/GrabNews | 347cd190f4d0bd01dcdd34183165fdbe911458aa | [
"Apache-2.0"
] | null | null | null | package com.varunest.grabnews.network
import okhttp3.CacheControl
import okhttp3.Interceptor
import okhttp3.Response
import java.io.IOException
import java.util.concurrent.TimeUnit
class CacheInterceptor : Interceptor {
@Throws(IOException::class)
override fun intercept(chain: Interceptor.Chain): Response {
... | 28.6 | 64 | 0.672727 |
95f12f6d366c48eb355a62074253736c048afe97 | 8,112 | sql | SQL | backup.sql | yoowook1207/RestroomFinder | 57cc65f95a3f9b52ec8cd3618afb3f8eb1facfe8 | [
"MIT"
] | null | null | null | backup.sql | yoowook1207/RestroomFinder | 57cc65f95a3f9b52ec8cd3618afb3f8eb1facfe8 | [
"MIT"
] | null | null | null | backup.sql | yoowook1207/RestroomFinder | 57cc65f95a3f9b52ec8cd3618afb3f8eb1facfe8 | [
"MIT"
] | null | null | null | -- MySQL dump 10.13 Distrib 8.0.28, for macos12.0 (x86_64)
--
-- Host: localhost Database: restroom_finder_db
-- ------------------------------------------------------
-- Server version 8.0.28
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_... | 53.019608 | 1,171 | 0.715853 |
a113ef44c8a34f7aedb05f9c1496149f26faef9b | 511 | kt | Kotlin | raspikiln-core/src/main/kotlin/org/raspikiln/kiln/common/Coroutines.kt | wakawaka54/raspikiln | 4399b09d81c8cf0e7efd540d9acfdf9a4fb981bb | [
"MIT"
] | null | null | null | raspikiln-core/src/main/kotlin/org/raspikiln/kiln/common/Coroutines.kt | wakawaka54/raspikiln | 4399b09d81c8cf0e7efd540d9acfdf9a4fb981bb | [
"MIT"
] | null | null | null | raspikiln-core/src/main/kotlin/org/raspikiln/kiln/common/Coroutines.kt | wakawaka54/raspikiln | 4399b09d81c8cf0e7efd540d9acfdf9a4fb981bb | [
"MIT"
] | null | null | null | package org.raspikiln.kiln.common
import kotlinx.coroutines.*
object Scopes {
val Application = CoroutineScope(SupervisorJob())
}
object DispatcherScope {
val ApplicationIo = CoroutineRuntime(scope = Scopes.Application, dispatcher = Dispatchers.IO)
}
data class CoroutineRuntime(val scope: CoroutineScope, va... | 25.55 | 97 | 0.67319 |
40bd1bd23e8faca7d2785486322b3805ff8339c3 | 517 | html | HTML | web/app/gospeak/web/emails/inviteOrgaToGroupAccepted.scala.html | chrilves/gospeak | 2acd1deb1c29a2efc219c8276fe1dc9e8c8ff06d | [
"Apache-2.0"
] | null | null | null | web/app/gospeak/web/emails/inviteOrgaToGroupAccepted.scala.html | chrilves/gospeak | 2acd1deb1c29a2efc219c8276fe1dc9e8c8ff06d | [
"Apache-2.0"
] | null | null | null | web/app/gospeak/web/emails/inviteOrgaToGroupAccepted.scala.html | chrilves/gospeak | 2acd1deb1c29a2efc219c8276fe1dc9e8c8ff06d | [
"Apache-2.0"
] | null | null | null | @import gospeak.core.domain.{Group, User, UserRequest}
@import gospeak.web.pages.orga.routes.GroupCtrl
@import gospeak.web.utils.UserReq
@(invite: UserRequest.GroupInvite, group: Group, orga: User)(implicit req: UserReq[AnyContent])
<p>Hi @orga.name.value,</p>
<p><a href="mailto:@req.user.email.value">@req.user.name.v... | 51.7 | 184 | 0.73501 |
beaa56574833f00c109f770afce9ba222eb55ba8 | 25,731 | rs | Rust | src/layer.rs | CympleTech/group-chat | ef34a0e3e18b9d2679f796696b6ce2786a066d3c | [
"Apache-2.0",
"MIT"
] | 2 | 2021-04-28T06:09:14.000Z | 2021-09-28T01:46:57.000Z | src/layer.rs | CympleTech/group-chat | ef34a0e3e18b9d2679f796696b6ce2786a066d3c | [
"Apache-2.0",
"MIT"
] | null | null | null | src/layer.rs | CympleTech/group-chat | ef34a0e3e18b9d2679f796696b6ce2786a066d3c | [
"Apache-2.0",
"MIT"
] | 3 | 2021-04-28T06:09:18.000Z | 2022-02-08T16:21:51.000Z | use std::collections::HashMap;
use std::path::PathBuf;
use tdn::types::{
group::GroupId,
message::{RecvType, SendType},
primitive::{HandleResult, PeerAddr, Result},
};
use group_chat_types::{
CheckType, ConnectProof, Event, GroupInfo, GroupType, JoinProof, LayerConnect, LayerEvent,
LayerResult, GRO... | 38.519461 | 100 | 0.426451 |
2da7eb7ba67813fa7dcf567cbc7a6ca85917be83 | 15,974 | html | HTML | gisTest/gis/cesiumPlugin/earthSDK/v1.2.7/Apps/Examples/cesium-primitive-customPrimitive.html | hepingmogul/js-plugin | 7f5ba9aadfe1cbec1a4d4f98b15f7e426daae2c5 | [
"MIT"
] | 1 | 2020-12-06T14:49:42.000Z | 2020-12-06T14:49:42.000Z | gisTest/gis/cesiumPlugin/earthSDK/v1.2.7/Apps/Examples/cesium-primitive-customPrimitive.html | hepingmogul/js-plugin | 7f5ba9aadfe1cbec1a4d4f98b15f7e426daae2c5 | [
"MIT"
] | null | null | null | gisTest/gis/cesiumPlugin/earthSDK/v1.2.7/Apps/Examples/cesium-primitive-customPrimitive.html | hepingmogul/js-plugin | 7f5ba9aadfe1cbec1a4d4f98b15f7e426daae2c5 | [
"MIT"
] | 1 | 2021-03-18T01:30:44.000Z | 2021-03-18T01:30:44.000Z | <!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="xbsj-labels" content="Cesium示例"></meta>
<title>Cesium自定义Primitive</title>
<!-- 0 引入js文件 -->
... | 46.571429 | 123 | 0.372543 |
39d0677c0f7f8e94d172192993b31f5a0d884894 | 2,658 | js | JavaScript | src/components/Icon/icons/files/downloadPdf.js | JuntingLiu/karang | 898f907eecae5d8d09180b15afa31774dc33e8d8 | [
"MIT"
] | 18 | 2019-05-30T03:35:40.000Z | 2022-01-17T03:36:10.000Z | src/components/Icon/icons/files/downloadPdf.js | JuntingLiu/karang | 898f907eecae5d8d09180b15afa31774dc33e8d8 | [
"MIT"
] | 1 | 2019-06-10T06:48:09.000Z | 2019-06-10T06:48:09.000Z | src/components/Icon/icons/files/downloadPdf.js | JuntingLiu/karang | 898f907eecae5d8d09180b15afa31774dc33e8d8 | [
"MIT"
] | 5 | 2019-06-06T11:35:07.000Z | 2021-09-06T09:15:07.000Z | import React from 'react';
import createSVGIcon from '../utils/createSVGIcon';
const downloadPdf = createSVGIcon(
<path
d="M72.8,163.7c0-1,0.3-1.7,0.8-2.2c0.5-0.5,1.3-0.7,2.2-0.7c0.9,0,1.7,0.3,2.2,0.8c0.5,0.5,0.8,1.2,0.8,2.2
c0,0.9-0.3,1.6-0.8,2.1c-0.5,0.5-1.3,0.8-2.2,0.8c-1,0-1.7-0.3-2.2-0.8S72.8,164.6,72.8,163... | 83.0625 | 126 | 0.609481 |
2a0fd3675b80cd0abf6e1b6f1797a7c62f2539ea | 5,902 | java | Java | build/tmp/expandedArchives/forge-1.17.1-37.0.58_mapped_official_1.17.1-sources.jar_461b1baaba5fdaecf94c73039d52c00b/net/minecraft/world/level/block/SmallDripleafBlock.java | ArriolaHarold2001/addedlamps | 22b1d9254f432668f27b1bca21e09ba722be493b | [
"MIT"
] | null | null | null | build/tmp/expandedArchives/forge-1.17.1-37.0.58_mapped_official_1.17.1-sources.jar_461b1baaba5fdaecf94c73039d52c00b/net/minecraft/world/level/block/SmallDripleafBlock.java | ArriolaHarold2001/addedlamps | 22b1d9254f432668f27b1bca21e09ba722be493b | [
"MIT"
] | 1 | 2022-02-23T20:43:13.000Z | 2022-02-23T21:04:55.000Z | build/tmp/expandedArchives/forge-1.17.1-37.0.58_mapped_official_1.17.1-sources.jar_461b1baaba5fdaecf94c73039d52c00b/net/minecraft/world/level/block/SmallDripleafBlock.java | ArriolaHarold2001/addedlamps | 22b1d9254f432668f27b1bca21e09ba722be493b | [
"MIT"
] | null | null | null | package net.minecraft.world.level.block;
import java.util.Random;
import javax.annotation.Nullable;
import net.minecraft.core.BlockPos;
import net.minecraft.core.Direction;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.tags.BlockTags;
import net.minecraft.world.entity.LivingEntity;
import net.min... | 47.98374 | 200 | 0.773805 |
ff8533862af5b516ca931d2bb172c21f24a34b2a | 9,821 | swift | Swift | CaretToArcAnimation/CaretToArcView.swift | DuncanMC/CaretToArcAnimation | 31b2b67c6e0f6bc6dfadb463214aab71a7aa60c8 | [
"MIT"
] | 1 | 2021-04-20T03:24:05.000Z | 2021-04-20T03:24:05.000Z | CaretToArcAnimation/CaretToArcView.swift | DuncanMC/CaretToArcAnimation | 31b2b67c6e0f6bc6dfadb463214aab71a7aa60c8 | [
"MIT"
] | null | null | null | CaretToArcAnimation/CaretToArcView.swift | DuncanMC/CaretToArcAnimation | 31b2b67c6e0f6bc6dfadb463214aab71a7aa60c8 | [
"MIT"
] | null | null | null | //
// CaretToArcView.swift
// CaretToArcAnimation
//
// Created by Duncan Champney on 4/19/21.
// Copyright 2021 Duncan Champney
// Licensed under the MIT source license
//
import UIKit
enum ViewState: Int {
case none
case caret
case arc
}
class CaretToArcView: UIView {
public var animationDura... | 43.074561 | 144 | 0.634762 |
99b8794be7bb5bb2e4c82656a0f63f1adf2ffda2 | 1,679 | kt | Kotlin | common/src/main/kotlin/tech/cuda/woden/common/utils/VelocityRender.kt | cuda-tech/woden | 2efc2de1cad2646ea129637752b15d868ca13c7d | [
"Apache-2.0"
] | null | null | null | common/src/main/kotlin/tech/cuda/woden/common/utils/VelocityRender.kt | cuda-tech/woden | 2efc2de1cad2646ea129637752b15d868ca13c7d | [
"Apache-2.0"
] | 1 | 2020-07-08T17:56:03.000Z | 2020-07-11T08:30:25.000Z | common/src/main/kotlin/tech/cuda/woden/common/utils/VelocityRender.kt | cuda-tech/woden | 2efc2de1cad2646ea129637752b15d868ca13c7d | [
"Apache-2.0"
] | 1 | 2020-05-06T14:34:18.000Z | 2020-05-06T14:34:18.000Z | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | 37.311111 | 93 | 0.723049 |
1d84d021a9a9634de637d1032ad68cdb38e1da53 | 4,972 | sql | SQL | coeus-db/coeus-db-sql/src/main/resources/org/kuali/coeus/coeus-sql/current/4.0/dml/KC_DML_31101_RATE_CLASS_00SD.sql | smith750/kc | e411ed1a4f538a600e04f964a2ba347f5695837e | [
"ECL-2.0"
] | null | null | null | coeus-db/coeus-db-sql/src/main/resources/org/kuali/coeus/coeus-sql/current/4.0/dml/KC_DML_31101_RATE_CLASS_00SD.sql | smith750/kc | e411ed1a4f538a600e04f964a2ba347f5695837e | [
"ECL-2.0"
] | null | null | null | coeus-db/coeus-db-sql/src/main/resources/org/kuali/coeus/coeus-sql/current/4.0/dml/KC_DML_31101_RATE_CLASS_00SD.sql | smith750/kc | e411ed1a4f538a600e04f964a2ba347f5695837e | [
"ECL-2.0"
] | null | null | null | INSERT INTO RATE_CLASS (RATE_CLASS_CODE,DESCRIPTION,RATE_CLASS_TYPE,UPDATE_TIMESTAMP,UPDATE_USER,VER_NBR,OBJ_ID)
VALUES('13','MTDC - AWARD','O',sysdate,'admin',1,sys_guid())
/
insert into RATE_TYPE (RATE_CLASS_CODE,RATE_TYPE_CODE,DESCRIPTION,UPDATE_TIMESTAMP,UPDATE_USER,VER_NBR,OBJ_ID) values (13,1,'MTDC',sysdate,'ad... | 80.193548 | 171 | 0.816573 |
91711df657c0a3d06a0eeee7dddffbc4c3976311 | 359 | html | HTML | test/pages/query.html | 117649/GlitterDrag | dca0bd820154564c2ba32dcf900cfbc96c830977 | [
"MIT"
] | 95 | 2017-06-21T01:59:09.000Z | 2022-03-06T07:30:28.000Z | test/pages/query.html | 117649/GlitterDrag | dca0bd820154564c2ba32dcf900cfbc96c830977 | [
"MIT"
] | 126 | 2017-06-21T02:04:56.000Z | 2022-03-25T18:37:18.000Z | test/pages/query.html | 117649/GlitterDrag | dca0bd820154564c2ba32dcf900cfbc96c830977 | [
"MIT"
] | 28 | 2017-07-09T01:34:30.000Z | 2022-03-06T07:30:35.000Z | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div id="text"></div>
<script>
var url = new URL(location.href)
document.querySelector("#text").textContent = u... | 23.933333 | 74 | 0.612813 |
0ba2dfd95ee79027d8c63a0c75d4bd279b8d3f02 | 30 | py | Python | yolov3/utils/__init__.py | hysts/pytorch_yolov3 | 6d4c7a1e42d366894effac8ca52f7116f891b5ab | [
"MIT"
] | 13 | 2019-03-22T15:22:22.000Z | 2021-09-30T21:15:37.000Z | yolov3/utils/__init__.py | hysts/pytorch_yolov3 | 6d4c7a1e42d366894effac8ca52f7116f891b5ab | [
"MIT"
] | null | null | null | yolov3/utils/__init__.py | hysts/pytorch_yolov3 | 6d4c7a1e42d366894effac8ca52f7116f891b5ab | [
"MIT"
] | null | null | null | from yolov3.utils import data
| 15 | 29 | 0.833333 |
bf9e48d38e37d85ac634ca5d7e51a6ceafd8d68e | 800 | kt | Kotlin | src/main/kotlin/com/github/solairerove/algs4/leprosorium/sorting/CountSort.kt | solairerove/algs4-leprosorium | e503efc63bed00f79fbf21665aa3853cfe36ebb6 | [
"MIT"
] | 1 | 2022-02-27T21:49:46.000Z | 2022-02-27T21:49:46.000Z | src/main/kotlin/com/github/solairerove/algs4/leprosorium/sorting/CountSort.kt | solairerove/algs4-leprosorium | e503efc63bed00f79fbf21665aa3853cfe36ebb6 | [
"MIT"
] | 5 | 2020-08-03T10:40:50.000Z | 2020-08-06T17:44:57.000Z | src/main/kotlin/com/github/solairerove/algs4/leprosorium/sorting/CountSort.kt | solairerove/algs4-leprosorium | e503efc63bed00f79fbf21665aa3853cfe36ebb6 | [
"MIT"
] | null | null | null | package com.github.solairerove.algs4.leprosorium.sorting
fun main() {
val items = mutableListOf(5, 6, 4, 3, 10, 9, 5, 6, 7)
print("items: $items \n")
countSort(items)
print("items: $items \n")
}
// O(n + m) time | O(n) space
private fun countSort(arr: MutableList<Int>) {
val n = arr.size
// f... | 21.621622 | 57 | 0.53625 |
268a2695029bc00664c3481fdb18462f64e041b4 | 2,904 | java | Java | test-clients/src/main/java/com/hedera/services/yahcli/suites/SysFileDownloadSuite.java | gizatupu/hedera-services | 09a572c3f5bb6e341370ef1f1e9bdc0ed2b658c9 | [
"Apache-2.0"
] | null | null | null | test-clients/src/main/java/com/hedera/services/yahcli/suites/SysFileDownloadSuite.java | gizatupu/hedera-services | 09a572c3f5bb6e341370ef1f1e9bdc0ed2b658c9 | [
"Apache-2.0"
] | null | null | null | test-clients/src/main/java/com/hedera/services/yahcli/suites/SysFileDownloadSuite.java | gizatupu/hedera-services | 09a572c3f5bb6e341370ef1f1e9bdc0ed2b658c9 | [
"Apache-2.0"
] | null | null | null | package com.hedera.services.yahcli.suites;
/*-
*
* Hedera Services Test Clients
*
* Copyright (C) 2018 - 2020 Hedera Hashgraph, 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... | 31.912088 | 98 | 0.766185 |
b67dce82be0dd3acf84303df1d437504572e6424 | 4,559 | kt | Kotlin | core/src/test/kotlin/com/justai/jaicf/core/test/activators/OnlyIfPredicatesTest.kt | SerjMarkovich/Bot | bc8e835a5d8bbae06fca53f9748953db63bfa4bd | [
"Apache-2.0"
] | 210 | 2020-03-12T15:31:38.000Z | 2022-03-28T07:58:12.000Z | core/src/test/kotlin/com/justai/jaicf/core/test/activators/OnlyIfPredicatesTest.kt | SerjMarkovich/Bot | bc8e835a5d8bbae06fca53f9748953db63bfa4bd | [
"Apache-2.0"
] | 67 | 2020-03-16T11:28:33.000Z | 2022-03-29T13:15:05.000Z | core/src/test/kotlin/com/justai/jaicf/core/test/activators/OnlyIfPredicatesTest.kt | SerjMarkovich/Bot | bc8e835a5d8bbae06fca53f9748953db63bfa4bd | [
"Apache-2.0"
] | 42 | 2020-03-15T11:33:32.000Z | 2022-03-18T09:02:31.000Z | package com.justai.jaicf.core.test.activators
import com.justai.jaicf.api.QueryBotRequest
import com.justai.jaicf.builder.Scenario
import com.justai.jaicf.generic.ChannelTypeToken
import com.justai.jaicf.model.activation.onlyFrom
import com.justai.jaicf.model.activation.onlyIfInClient
import com.justai.jaicf.model.act... | 32.333333 | 103 | 0.658258 |
71817f774fa5db9b885820d585bc239d76c79741 | 267 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/tangible/item/beast/converted_kima_decoration.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/item/beast/converted_kima_decoration.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/item/beast/converted_kima_decoration.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_tangible_item_beast_converted_kima_decoration = object_tangible_item_beast_shared_converted_kima_decoration:new {
}
ObjectTemplates:addTemplate(object_tangible_item_beast_converted_kima_decoration, "object/tangible/item/beast/converted_kima_decoration.iff")
| 44.5 | 141 | 0.910112 |
1bf50f82fefeed5f6d8d197647dcc1c1b1e5815e | 484 | py | Python | compiler/tests/test_futures_sum.py | NetSys/kappa | de1ab3393d1e6358f66427645c77833d4dc99693 | [
"BSD-2-Clause"
] | 34 | 2018-07-02T22:02:36.000Z | 2021-12-08T22:01:38.000Z | compiler/tests/test_futures_sum.py | NetSys/kappa | de1ab3393d1e6358f66427645c77833d4dc99693 | [
"BSD-2-Clause"
] | 1 | 2019-07-01T16:02:04.000Z | 2019-07-01T16:11:26.000Z | compiler/tests/test_futures_sum.py | NetSys/kappa | de1ab3393d1e6358f66427645c77833d4dc99693 | [
"BSD-2-Clause"
] | 10 | 2018-07-09T02:30:21.000Z | 2022-03-21T08:46:38.000Z | import operator
import rt
def parallel_sum(l, r):
"""Computes (l + (l+1) + ... + r)."""
# TODO(zhangwen): this function can either return an int or a future; this seems confusing...
if l == r:
return l
m = (l + r) // 2
sl = parallel_sum(l, m)
sr = parallel_sum(m + 1, r)
return rt... | 20.166667 | 97 | 0.549587 |
3eba8a55f0b3f46fa7dc83940cedc84f493bb7a2 | 213 | swift | Swift | example/ios/MyPlayground.playground/Contents.swift | Johann13/awesome_notifications | 19469174a52dcb05b9d8204a8828856fc4ed5ed7 | [
"Apache-2.0"
] | 1 | 2021-07-08T06:00:32.000Z | 2021-07-08T06:00:32.000Z | example/ios/MyPlayground.playground/Contents.swift | Johann13/awesome_notifications | 19469174a52dcb05b9d8204a8828856fc4ed5ed7 | [
"Apache-2.0"
] | null | null | null | example/ios/MyPlayground.playground/Contents.swift | Johann13/awesome_notifications | 19469174a52dcb05b9d8204a8828856fc4ed5ed7 | [
"Apache-2.0"
] | 1 | 2021-03-05T05:38:21.000Z | 2021-03-05T05:38:21.000Z |
import Foundation
import UserNotifications
var date = Date()
var newComponents = Calendar.current.dateComponents([.year,.month,.day,.hour,.minute,.second,], from: date)
print(newComponents.debugDescription)
| 17.75 | 107 | 0.774648 |
61cb4658d134affb15f4f93f246f3277377737bb | 3,868 | css | CSS | build/static/css/about-page.67b29416.css | abhisharkjangir/portfolio | 7fc35b461500b4784fe8f9318502920e9b4a3af7 | [
"MIT"
] | null | null | null | build/static/css/about-page.67b29416.css | abhisharkjangir/portfolio | 7fc35b461500b4784fe8f9318502920e9b4a3af7 | [
"MIT"
] | 4 | 2020-08-01T08:24:38.000Z | 2021-09-23T17:58:07.000Z | build/static/css/about-page.67b29416.css | abhisharkjangir/portfolio | 7fc35b461500b4784fe8f9318502920e9b4a3af7 | [
"MIT"
] | null | null | null | @charset "UTF-8";.section-1piec{margin:0 auto;padding:150px 0;max-width:1000px}.section-DaTii{position:relative}@media (max-width:768px){.section-1piec{padding:100px 0}}.about-3G1og{display:flex;justify-content:space-between;align-items:center}.about-BEhNe a{display:inline-block;text-decoration:none;text-decoration-ski... | 1,934 | 3,817 | 0.778697 |
41b9b5dde084454d0e3ac439f359601b5ae98155 | 738 | h | C | GeneDropBackEnd/src/SimulationManager.h | elderfd/GeneDrop | aec9dc8addf533eacc2fc61b80ccb6877a54ed85 | [
"MIT"
] | 1 | 2019-08-14T16:49:00.000Z | 2019-08-14T16:49:00.000Z | GeneDropBackEnd/src/SimulationManager.h | elderfd/GeneDrop | aec9dc8addf533eacc2fc61b80ccb6877a54ed85 | [
"MIT"
] | 4 | 2018-02-09T11:17:26.000Z | 2020-04-04T18:21:11.000Z | GeneDropBackEnd/src/SimulationManager.h | elderfd/GeneDrop | aec9dc8addf533eacc2fc61b80ccb6877a54ed85 | [
"MIT"
] | null | null | null | #pragma once
#include "Breeder.h"
#include <map>
#include <memory>
#include "Pedigree.h"
#include "State.h"
#include <thread>
class SimulationManager {
public:
SimulationManager();
~SimulationManager();
static Pedigree buildPedigreeFromFile(const std::string& fileName);
State getRealisation();
void build(cons... | 22.363636 | 119 | 0.768293 |
ae84fb897241b03d29d39fe690311949551722bc | 9,813 | rs | Rust | jni-android-sys/src/generated/api-level-29/android/graphics/drawable/ScaleDrawable.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | jni-android-sys/src/generated/api-level-29/android/graphics/drawable/ScaleDrawable.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | jni-android-sys/src/generated/api-level-29/android/graphics/drawable/ScaleDrawable.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | // WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-graphics-drawable-ScaleDrawable"))]
__jni_bindgen! {
/// public class [ScaleDrawable](https://developer.android.com/reference/android/graphics/drawable/ScaleDrawable.html... | 93.457143 | 658 | 0.67217 |
0baeb09b96866048e3277bdd11b177c6f437a60e | 1,217 | py | Python | 01-Exercicios/Aula001/Ex2.py | AmandaRH07/Python_Entra21 | 4084962508f1597c0498d8b329e0f45e2ac55302 | [
"MIT"
] | null | null | null | 01-Exercicios/Aula001/Ex2.py | AmandaRH07/Python_Entra21 | 4084962508f1597c0498d8b329e0f45e2ac55302 | [
"MIT"
] | null | null | null | 01-Exercicios/Aula001/Ex2.py | AmandaRH07/Python_Entra21 | 4084962508f1597c0498d8b329e0f45e2ac55302 | [
"MIT"
] | null | null | null | #--- Exercício 2 - Variáveis
#--- Crie um menu para um sistema de cadastro de funcionários
#--- O menu deve ser impresso com a função format()
#--- As opções devem ser variáveis do tipo inteiro
#--- As descrições das opções serão:
#--- Cadastrar funcionário
#--- Listar funcionários
#--- Editar funcionário
#--... | 32.891892 | 92 | 0.676253 |
71ef9c3c8efe1ad44f60deeea7cb4f7006a6d315 | 405 | ts | TypeScript | packages/helpers/locale/dist/esm/internal/localization-provider.d.ts | rholang/archive-old | 55d05c67b2015b646e6f3aa7c4e1fde778162eea | [
"Apache-2.0"
] | 1 | 2020-04-24T13:28:17.000Z | 2020-04-24T13:28:17.000Z | packages/helpers/locale/dist/esm/internal/localization-provider.d.ts | rholang/archive-old | 55d05c67b2015b646e6f3aa7c4e1fde778162eea | [
"Apache-2.0"
] | 1 | 2022-03-02T07:06:35.000Z | 2022-03-02T07:06:35.000Z | packages/helpers/locale/dist/esm/internal/localization-provider.d.ts | rholang/archive-old | 55d05c67b2015b646e6f3aa7c4e1fde778162eea | [
"Apache-2.0"
] | null | null | null | import { DateParser } from './date-parser';
export declare type DateFormatter = (date: Date) => string;
export interface LocalizationProvider {
getDaysShort: () => Array<string>;
getMonthsLong: () => Array<string>;
formatDate: DateFormatter;
formatTime: DateFormatter;
parseDate: DateParser;
}
export... | 36.818182 | 90 | 0.733333 |
2604a121469e579f6ce17cc23ca75a16a367eb67 | 964 | java | Java | TeamCode/src/main/java/org/firstinspires/ftc/teamcode/UltronAutomodes/RedHangAutonNoRetract.java | KinkaidRobotics/ftc_app | 2d08c5b300ca7921e18b34ae6a02795604aca795 | [
"MIT"
] | 1 | 2019-03-22T18:25:18.000Z | 2019-03-22T18:25:18.000Z | TeamCode/src/main/java/org/firstinspires/ftc/teamcode/UltronAutomodes/RedHangAutonNoRetract.java | KinkaidRobotics/2018-2019_FTC | 2d08c5b300ca7921e18b34ae6a02795604aca795 | [
"MIT"
] | null | null | null | TeamCode/src/main/java/org/firstinspires/ftc/teamcode/UltronAutomodes/RedHangAutonNoRetract.java | KinkaidRobotics/2018-2019_FTC | 2d08c5b300ca7921e18b34ae6a02795604aca795 | [
"MIT"
] | null | null | null | package org.firstinspires.ftc.teamcode.UltronAutomodes;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import org.firstinspires.ftc.teamcode.KarenRobot.RobotSubSystems.LiftSystem;
@Autonomous (name = "RedHangAutonNoRetract")
public class RedHangAutonNoRetract extends KarenAutoRed {
@Override
pub... | 26.777778 | 90 | 0.659751 |
fb00553141b21f73d18216678d97b69845a114d0 | 245 | h | C | tcp_echo.h | armatusmiles/libuv-echo-server | a25a3697b290f9316932267e6a04b3d0b4caba82 | [
"MIT"
] | 2 | 2019-05-13T13:43:03.000Z | 2020-12-24T19:27:26.000Z | tcp_echo.h | armatusmiles/libuv-echo-server | a25a3697b290f9316932267e6a04b3d0b4caba82 | [
"MIT"
] | null | null | null | tcp_echo.h | armatusmiles/libuv-echo-server | a25a3697b290f9316932267e6a04b3d0b4caba82 | [
"MIT"
] | 2 | 2020-04-16T09:27:04.000Z | 2020-12-24T19:27:33.000Z | #ifndef ECHO_SERVER_TCP_ECHO_H
#define ECHO_SERVER_TCP_ECHO_H
#include <uv.h>
// allocates an heap an return uv_tcp_t object
uv_tcp_t * init_echo_tcp_server(uv_loop_t *loop, const char* address, uint16_t port);
#endif //ECHO_SERVER_TCP_ECHO_H
| 27.222222 | 85 | 0.812245 |
dfa0df0f51132b84a00b115055f43cb7acc6eacc | 8,440 | tsx | TypeScript | src/components/Registration/RegistrationStepThree/RegistrationStepThree.tsx | pagopa/io-onboarding-pa | 3fd416a9d36e5e79effdf747c91491af9db3c315 | [
"MIT"
] | 1 | 2019-07-02T11:45:46.000Z | 2019-07-02T11:45:46.000Z | src/components/Registration/RegistrationStepThree/RegistrationStepThree.tsx | teamdigitale/io-onboarding-pa | 3fd416a9d36e5e79effdf747c91491af9db3c315 | [
"MIT"
] | 34 | 2019-06-20T16:07:09.000Z | 2019-12-30T16:05:49.000Z | src/components/Registration/RegistrationStepThree/RegistrationStepThree.tsx | teamdigitale/io-onboarding-pa | 3fd416a9d36e5e79effdf747c91491af9db3c315 | [
"MIT"
] | 1 | 2019-07-18T16:28:32.000Z | 2019-07-18T16:28:32.000Z | import * as FileSaver from "file-saver";
import React, { ComponentProps, Fragment, MouseEvent, useContext } from "react";
import { useAlert } from "react-alert";
import { useCookies } from "react-cookie";
import { useTranslation } from "react-i18next";
import { RouteComponentProps, withRouter } from "react-router-dom";... | 31.375465 | 145 | 0.53282 |
5588a9969a3f616da8ff2c7af2f6749847d33268 | 191,953 | html | HTML | sharding-core/sharding-core-common/target/apidocs/index-all.html | zhangbing123/incubator-shardingsphere-4.0.0-RC2 | 4796b9b09658f5f0ffe810497ad80ec529b0f070 | [
"Apache-2.0"
] | 1 | 2021-01-16T02:46:02.000Z | 2021-01-16T02:46:02.000Z | sharding-core/sharding-core-common/target/apidocs/index-all.html | zhangbing123/incubator-shardingsphere-4.0.0-RC2 | 4796b9b09658f5f0ffe810497ad80ec529b0f070 | [
"Apache-2.0"
] | 2 | 2022-01-21T23:43:38.000Z | 2022-02-16T01:12:12.000Z | sharding-core/sharding-core-common/target/apidocs/index-all.html | zhangbing123/incubator-shardingsphere-4.0.0-RC2 | 4796b9b09658f5f0ffe810497ad80ec529b0f070 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc (1.8.0_45) on Mon Nov 18 20:07:25 CST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>索引 (sharding-core-comm... | 122.340982 | 701 | 0.787729 |
dc19a392918a5bb8323c1731b74ddda118565632 | 991 | py | Python | src/tt_properties/tt_properties/handlers.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | null | null | null | src/tt_properties/tt_properties/handlers.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | null | null | null | src/tt_properties/tt_properties/handlers.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | null | null | null |
from tt_web import handlers
from tt_protocol.protocol import properties_pb2
from . import protobuf
from . import operations
@handlers.api(properties_pb2.SetPropertiesRequest)
async def set_properties(message, config, **kwargs):
await operations.set_properties([protobuf.to_property(property) for property in mes... | 36.703704 | 121 | 0.78002 |
2f38af8e65c1afcdd060e5cead1da6b961f5f181 | 535 | php | PHP | app/Models/Invitation.php | jobara/platform | ff88bcb4d5e077c269310414e0c8108f571e69c6 | [
"BSD-3-Clause"
] | 2 | 2021-01-11T16:20:15.000Z | 2021-02-03T14:36:22.000Z | app/Models/Invitation.php | jobara/platform | ff88bcb4d5e077c269310414e0c8108f571e69c6 | [
"BSD-3-Clause"
] | 108 | 2021-01-11T19:02:59.000Z | 2021-10-15T19:33:25.000Z | app/Models/Invitation.php | jobara/platform | ff88bcb4d5e077c269310414e0c8108f571e69c6 | [
"BSD-3-Clause"
] | 3 | 2021-07-08T16:59:32.000Z | 2021-08-11T15:45:30.000Z | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\MorphTo;
class Invitation extends Model
{
use HasFactory;
/**
* The attributes that are mass assignable.
*
* @var array
*/... | 17.258065 | 54 | 0.618692 |
70a8e04569c7fb60b3f60d3d08b0fdfba868438e | 2,329 | h | C | osprey/libu/ffio/gfio.h | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/libu/ffio/gfio.h | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/libu/ffio/gfio.h | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2.1 of the GNU Lesser General Public License
as published by the Free Software Foundation.
This program is distributed in the hope tha... | 31.90411 | 74 | 0.720052 |
2f7324945e7f8dcd20c0451e7aca8a73394f6943 | 3,538 | php | PHP | src/Controller/BaseController.php | romainjudic/symfony-api-skeleton | a3c0b1597a26eab56ab006a0a013fe3c8f53315c | [
"MIT"
] | null | null | null | src/Controller/BaseController.php | romainjudic/symfony-api-skeleton | a3c0b1597a26eab56ab006a0a013fe3c8f53315c | [
"MIT"
] | 2 | 2021-11-05T15:31:52.000Z | 2021-11-18T09:57:12.000Z | src/Controller/BaseController.php | romainjudic/symfony-api-skeleton | a3c0b1597a26eab56ab006a0a013fe3c8f53315c | [
"MIT"
] | null | null | null | <?php
namespace App\Controller;
use App\Entity\User;
use App\Exception\ApiException;
use App\Exception\FormValidationException;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation... | 32.759259 | 121 | 0.641323 |
fec4676eb07ac8a9636cd41ebb42aac66e2981e2 | 5,171 | html | HTML | docs/checks/WatchFaceForAndroidX.md.html | obask/android-custom-lint-rules | fcb25627e9a46513a329fc8cf04b2c2b57d9341d | [
"Apache-2.0"
] | null | null | null | docs/checks/WatchFaceForAndroidX.md.html | obask/android-custom-lint-rules | fcb25627e9a46513a329fc8cf04b2c2b57d9341d | [
"Apache-2.0"
] | null | null | null | docs/checks/WatchFaceForAndroidX.md.html | obask/android-custom-lint-rules | fcb25627e9a46513a329fc8cf04b2c2b57d9341d | [
"Apache-2.0"
] | null | null | null | <meta charset="utf-8">
(#) AndroidX watch faces must use action `WATCH_FACE_EDITOR`
!!! WARNING: AndroidX watch faces must use action `WATCH_FACE_EDITOR`
This is a warning.
Id
: `WatchFaceForAndroidX`
Summary
: AndroidX watch faces must use action `WATCH_FACE_EDITOR`
Severity
: Warning
Category
: Correctne... | 38.022059 | 356 | 0.684007 |
bb19c4875fed6012433087b1d60b31fc2bf5954f | 66 | html | HTML | templates/receive-form-data.html | topherPedersen/Basic-Networking-HTTP-POST-in-Python-with-Flask | 07f77ec5395fbd2fbe659f280a13d2ebc064f7a2 | [
"Unlicense"
] | 1 | 2019-07-04T00:54:59.000Z | 2019-07-04T00:54:59.000Z | templates/receive-form-data.html | topherPedersen/Basic-Networking-HTTP-POST-in-Python-with-Flask | 07f77ec5395fbd2fbe659f280a13d2ebc064f7a2 | [
"Unlicense"
] | null | null | null | templates/receive-form-data.html | topherPedersen/Basic-Networking-HTTP-POST-in-Python-with-Flask | 07f77ec5395fbd2fbe659f280a13d2ebc064f7a2 | [
"Unlicense"
] | null | null | null | <p>Foo: {{ foo }}</p>
<p>Bar: {{ bar }}</p>
<p>Baz: {{ baz }}</p>
| 16.5 | 21 | 0.363636 |
7fd744b5a7209650ae0d726d6f227c63e221adc4 | 1,418 | swift | Swift | CodeHistory/CodeHistory/Views/QuestionView.swift | raden-dimas012/LearningSwift | ee180f5357abe88237f1ba58b7b40dbcb54a121c | [
"MIT"
] | 2 | 2022-03-17T03:52:13.000Z | 2022-03-17T05:14:47.000Z | CodeHistory/CodeHistory/Views/QuestionView.swift | raden-dimas012/LearningSwift | ee180f5357abe88237f1ba58b7b40dbcb54a121c | [
"MIT"
] | 1 | 2022-03-20T15:26:51.000Z | 2022-03-20T15:26:51.000Z | CodeHistory/CodeHistory/Views/QuestionView.swift | raden-dimas012/LearningSwift | ee180f5357abe88237f1ba58b7b40dbcb54a121c | [
"MIT"
] | null | null | null | //
// QuestionView.swift
// CodeHistory
//
// Created by Raden Dimas on 17/03/22.
//
import SwiftUI
struct QuestionView: View {
@EnvironmentObject var viewModel: GameViewModel
let question: Question
var body: some View {
VStack {
Text(question.questionText)
.fon... | 28.938776 | 99 | 0.521157 |
176046e06001e298b2d489dc6aeba9b60668e299 | 3,063 | html | HTML | docs/help/gen_html/m3tohtml/src/FSUtils.m3.html | jaykrell/cm3 | 2aae7d9342b8e26680f6419f9296450fae8cbd4b | [
"BSD-4-Clause-UC",
"BSD-4-Clause",
"BSD-3-Clause"
] | 105 | 2015-03-02T16:58:34.000Z | 2022-03-28T07:17:49.000Z | docs/help/gen_html/m3tohtml/src/FSUtils.m3.html | jaykrell/cm3 | 2aae7d9342b8e26680f6419f9296450fae8cbd4b | [
"BSD-4-Clause-UC",
"BSD-4-Clause",
"BSD-3-Clause"
] | 145 | 2015-03-18T10:08:17.000Z | 2022-03-31T01:27:08.000Z | docs/help/gen_html/m3tohtml/src/FSUtils.m3.html | jaykrell/cm3 | 2aae7d9342b8e26680f6419f9296450fae8cbd4b | [
"BSD-4-Clause-UC",
"BSD-4-Clause",
"BSD-3-Clause"
] | 26 | 2015-10-10T09:37:44.000Z | 2022-02-23T02:02:05.000Z | <HTML>
<HEAD>
<TITLE>Critical Mass Modula-3: m3tohtml/src/FSUtils.m3</TITLE>
</HEAD>
<BODY bgcolor="#eeeeee">
<A NAME="0TOP0">
<H2>m3tohtml/src/FSUtils.m3</H2></A><HR>
<inModule>
<PRE></PRE>--------------------------------------------------------------------------
<PRE>MODULE <module><implements><A HREF="FSUtils.i3.htm... | 27.348214 | 390 | 0.517793 |
e50bdb24c9c7aeed4db4c208e2951cde079c0023 | 24,876 | html | HTML | doc/index-files/index-7.html | anandkr123/game-roborally-client | ea8546b854407e1cbce771befcc851bf7d923b0b | [
"MIT"
] | null | null | null | doc/index-files/index-7.html | anandkr123/game-roborally-client | ea8546b854407e1cbce771befcc851bf7d923b0b | [
"MIT"
] | null | null | null | doc/index-files/index-7.html | anandkr123/game-roborally-client | ea8546b854407e1cbce771befcc851bf7d923b0b | [
"MIT"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon Jun 26 02:53:36 IST 2017 -->
<title>G-Index</title>
<meta name="date" content="2017-06-26">
<link rel="stylesheet" type="text/css" ... | 85.191781 | 700 | 0.708916 |
753b2c341592ad43505fc26f8bcbddaf43c56379 | 1,746 | h | C | cmake_targets/lte_build_oai/build/CMakeFiles/RRC_Rel14/LTE_RRCConnectionRelease-NB-v1430-IEs.h | LaughingBlue/openairinterface5g | 2195e8e4cf6c8c5e059b0e982620480225bfa17a | [
"Apache-2.0"
] | 1 | 2021-03-08T07:58:23.000Z | 2021-03-08T07:58:23.000Z | cmake_targets/lte_build_oai/build/CMakeFiles/RRC_Rel14/LTE_RRCConnectionRelease-NB-v1430-IEs.h | LaughingBlue/openairinterface5g | 2195e8e4cf6c8c5e059b0e982620480225bfa17a | [
"Apache-2.0"
] | null | null | null | cmake_targets/lte_build_oai/build/CMakeFiles/RRC_Rel14/LTE_RRCConnectionRelease-NB-v1430-IEs.h | LaughingBlue/openairinterface5g | 2195e8e4cf6c8c5e059b0e982620480225bfa17a | [
"Apache-2.0"
] | 4 | 2019-06-06T16:35:41.000Z | 2021-05-30T08:01:04.000Z | /*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NBIOT-RRC-Definitions"
* found in "/home/labuser/Desktop/openairinterface5g_f1ap/openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-14.7.0.asn1"
* `asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -D /home/labuser/D... | 32.943396 | 178 | 0.817297 |
90b34229846b4262184416fb28ed5590870b3917 | 3,058 | py | Python | package/echo.py | dbbxzw-610/bilibili-live-push | 534dac8aac815f49e3db88bdbdbe3611ac5ac283 | [
"MIT"
] | 13 | 2021-08-15T15:35:08.000Z | 2022-03-28T13:45:11.000Z | package/echo.py | dbbxzw-610/bilibili-live-push | 534dac8aac815f49e3db88bdbdbe3611ac5ac283 | [
"MIT"
] | 4 | 2021-01-03T18:50:00.000Z | 2021-08-14T17:15:32.000Z | package/echo.py | dbbxzw-610/bilibili-live-push | 534dac8aac815f49e3db88bdbdbe3611ac5ac283 | [
"MIT"
] | 6 | 2021-08-17T05:22:28.000Z | 2022-02-14T12:55:16.000Z | import asyncio
import time
from typing import *
class EchoFormat:
th: List[str] = []
td: List[List[str]] = []
first_echo: bool = True
last_update: float = time.time()
def __init__(self) -> None:
pass
def init_th(self, *arg) -> None:
self.th.clear()
for i, x in enumera... | 26.362069 | 85 | 0.502616 |
dd668f41b0f44bdc3e500ce2ede43629b01ddfac | 11,564 | php | PHP | application/controllers/parameter.php | ciemilsalim/sip-bpkad | 91a4ddc08b3f739316a4ac0f48d17657600a2940 | [
"MIT"
] | 1 | 2020-04-04T14:03:24.000Z | 2020-04-04T14:03:24.000Z | application/controllers/parameter.php | ciemilsalim/sip-bpkad | 91a4ddc08b3f739316a4ac0f48d17657600a2940 | [
"MIT"
] | null | null | null | application/controllers/parameter.php | ciemilsalim/sip-bpkad | 91a4ddc08b3f739316a4ac0f48d17657600a2940 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') or exit('No direct script access allowed');
class Parameter extends CI_Controller
{
public function __construct()
{
parent::__construct();
is_loged_in();
}
public function index()
{
$data['title'] = 'Identitas';
$data['user'] = $this->db->ge... | 39.2 | 148 | 0.516171 |
5b8dbfa478b6a5890c1b09e1c707d77079ccb98f | 3,511 | kt | Kotlin | library-common/src/main/java/com/example/fragment/library/common/fragment/WebFragment.kt | JohnsonJLi/fragmject | fad46635a2cb16d565300372b1a647cb7f79c026 | [
"Apache-2.0"
] | 111 | 2021-05-17T01:20:26.000Z | 2021-09-24T03:35:59.000Z | library-common/src/main/java/com/example/fragment/library/common/fragment/WebFragment.kt | tiantanheitong/fragmject | fad46635a2cb16d565300372b1a647cb7f79c026 | [
"Apache-2.0"
] | 3 | 2021-06-28T10:16:59.000Z | 2021-08-05T12:32:16.000Z | library-common/src/main/java/com/example/fragment/library/common/fragment/WebFragment.kt | tiantanheitong/fragmject | fad46635a2cb16d565300372b1a647cb7f79c026 | [
"Apache-2.0"
] | 20 | 2021-05-16T10:45:45.000Z | 2021-08-19T03:41:11.000Z | package com.example.fragment.library.common.fragment
import android.content.Intent
import android.graphics.Bitmap
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.activity.addCallback
import com.example.fragment.li... | 31.070796 | 94 | 0.623469 |
74e06fbab0993f520046245bd3a88401942b61c8 | 3,781 | js | JavaScript | app/assets/javascripts/admins/weapp_adverts/index.js | yunbowang328/gitlink | 4fa10a3683f8079ac877fa2b12b0ab767164f30f | [
"MulanPSL-1.0"
] | null | null | null | app/assets/javascripts/admins/weapp_adverts/index.js | yunbowang328/gitlink | 4fa10a3683f8079ac877fa2b12b0ab767164f30f | [
"MulanPSL-1.0"
] | null | null | null | app/assets/javascripts/admins/weapp_adverts/index.js | yunbowang328/gitlink | 4fa10a3683f8079ac877fa2b12b0ab767164f30f | [
"MulanPSL-1.0"
] | null | null | null | $(document).on('turbolinks:load', function() {
if ($('body.admins-weapp-adverts-index-page').length > 0) {
var resetNo = function(){
$('#adverts-container .advert-item-no').each(function(index, ele){
$(ele).html(index + 1);
})
}
// ------------ 保存链接 -----------
$('.adverts-card').... | 30.491935 | 79 | 0.509389 |
3a7991fbdf373c039d5d03e12376a5c988f2f208 | 40 | kts | Kotlin | applications/demokafka-consumer/settings.gradle.kts | amidukr/demo-kafka | 4111c70f0ae5d6dcfac0094110d320b4e69340b9 | [
"Apache-2.0"
] | 1 | 2020-04-14T02:40:53.000Z | 2020-04-14T02:40:53.000Z | applications/demokafka-consumer/settings.gradle.kts | amidukr/demo-kafka | 4111c70f0ae5d6dcfac0094110d320b4e69340b9 | [
"Apache-2.0"
] | 10 | 2020-05-08T01:06:31.000Z | 2020-05-12T21:40:55.000Z | applications/demokafka-consumer/settings.gradle.kts | amidukr/demo-kafka | 4111c70f0ae5d6dcfac0094110d320b4e69340b9 | [
"Apache-2.0"
] | null | null | null | rootProject.name = "demokafka-consumer"
| 20 | 39 | 0.8 |
5fdd3fe71385ece3dba9df44c10eb31d57487e41 | 1,644 | h | C | fizz/server/CookieCipher.h | dgrnbrg-meta/fizz | a69c69f413b1441d6b98cb7a8deb173325780980 | [
"BSD-3-Clause"
] | 995 | 2018-08-06T10:41:15.000Z | 2022-03-16T19:49:14.000Z | fizz/server/CookieCipher.h | dgrnbrg-meta/fizz | a69c69f413b1441d6b98cb7a8deb173325780980 | [
"BSD-3-Clause"
] | 68 | 2018-08-06T16:29:06.000Z | 2022-03-11T21:20:10.000Z | fizz/server/CookieCipher.h | dgrnbrg-meta/fizz | a69c69f413b1441d6b98cb7a8deb173325780980 | [
"BSD-3-Clause"
] | 147 | 2018-08-06T16:52:49.000Z | 2022-03-14T21:25:35.000Z | /*
* Copyright (c) 2018-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <fizz/protocol/Factory.h>
#include <fizz/record/Types.h>
namespace fizz {
names... | 26.095238 | 78 | 0.736618 |
461c9f071342d2acf99fb20bcb1a970ae3e89867 | 3,607 | swift | Swift | TarotOfLight/Views/ContentView.swift | dendenxu/LighTarot | c20897c5dc0b9706120c8c5c6540c22e20ab1e80 | [
"MIT"
] | null | null | null | TarotOfLight/Views/ContentView.swift | dendenxu/LighTarot | c20897c5dc0b9706120c8c5c6540c22e20ab1e80 | [
"MIT"
] | null | null | null | TarotOfLight/Views/ContentView.swift | dendenxu/LighTarot | c20897c5dc0b9706120c8c5c6540c22e20ab1e80 | [
"MIT"
] | null | null | null | //
// ContentView.swift
// TarotOfLight
//
// Created by xz on 2020/6/13.
// Copyright © 2020 xz. All rights reserved.
//
// This is the rootView for our application LighTarot
// It acts like a container for three other subViews:
// 1. SelectorView which is basically our main page, mine page and the interface fo... | 42.435294 | 145 | 0.602717 |
2685948fd9f1c48a79dd54544926cbfe644d30aa | 5,121 | java | Java | dspace-api/src/main/java/org/dspace/importer/external/metadatamapping/contributor/MultipleMetadataContributor.java | michelcareau/DSpace | d49f69d28c1ab754561ebe9e055f39bec12dce62 | [
"BSD-3-Clause"
] | 541 | 2015-01-08T17:28:08.000Z | 2022-03-28T07:16:48.000Z | dspace-api/src/main/java/org/dspace/importer/external/metadatamapping/contributor/MultipleMetadataContributor.java | michelcareau/DSpace | d49f69d28c1ab754561ebe9e055f39bec12dce62 | [
"BSD-3-Clause"
] | 2,364 | 2015-01-02T16:39:38.000Z | 2022-03-31T21:04:54.000Z | dspace-api/src/main/java/org/dspace/importer/external/metadatamapping/contributor/MultipleMetadataContributor.java | michelcareau/DSpace | d49f69d28c1ab754561ebe9e055f39bec12dce62 | [
"BSD-3-Clause"
] | 973 | 2015-01-09T15:12:13.000Z | 2022-03-29T23:41:13.000Z | /**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.importer.external.metadatamapping.contributor;
import java.util.ArrayList;
import j... | 36.578571 | 116 | 0.712361 |
a4af173d1dcbec33fa70da8eccd7506b57e7cf5b | 1,693 | kt | Kotlin | backend/src/main/kotlin/org/planqk/cooksmart/util/SimplePage.kt | timniederhausen/cooksmart | 40583490a3645f583a67f3cc4654394350ff84f3 | [
"Apache-2.0"
] | 1 | 2020-06-06T18:29:25.000Z | 2020-06-06T18:29:25.000Z | backend/src/main/kotlin/org/planqk/cooksmart/util/SimplePage.kt | timniederhausen/cooksmart | 40583490a3645f583a67f3cc4654394350ff84f3 | [
"Apache-2.0"
] | 1 | 2022-02-28T03:40:33.000Z | 2022-02-28T03:40:33.000Z | backend/src/main/kotlin/org/planqk/cooksmart/util/SimplePage.kt | timniederhausen/cooksmart | 40583490a3645f583a67f3cc4654394350ff84f3 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Felix Burk, Tim Niederhausen
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... | 33.196078 | 89 | 0.615475 |
71871e3bba6633fc2b04c4bc458e256eeb2cc090 | 1,550 | tsx | TypeScript | app.dashboard/src/common/Application.tsx | gannochenko/rasp | 06f58f939a64a9e7cc52833ee2116c39e35d2ff2 | [
"MIT",
"Unlicense"
] | null | null | null | app.dashboard/src/common/Application.tsx | gannochenko/rasp | 06f58f939a64a9e7cc52833ee2116c39e35d2ff2 | [
"MIT",
"Unlicense"
] | 15 | 2021-03-10T18:00:46.000Z | 2022-02-27T03:59:02.000Z | app.dashboard/src/common/Application.tsx | gannochenko/rasp | 06f58f939a64a9e7cc52833ee2116c39e35d2ff2 | [
"MIT",
"Unlicense"
] | null | null | null | import React, { FunctionComponent } from 'react';
import { Provider } from 'react-redux';
import { EventEmitter } from 'events';
import { NotificationContext } from '@gannochenko/ui';
import { ThemeProvider as MUIThemeProvider } from '@material-ui/core/styles';
import { ThemeProvider } from 'styled-components';
import... | 34.444444 | 77 | 0.605161 |
41287177a59071cf9f3d7265e12b6414e20fa06b | 417 | h | C | Marquee/MarqueeLabel.h | longyu1024/--MarqueeLabel | a391cca368e1db9cc4343d50455cb47d51430398 | [
"MIT"
] | null | null | null | Marquee/MarqueeLabel.h | longyu1024/--MarqueeLabel | a391cca368e1db9cc4343d50455cb47d51430398 | [
"MIT"
] | null | null | null | Marquee/MarqueeLabel.h | longyu1024/--MarqueeLabel | a391cca368e1db9cc4343d50455cb47d51430398 | [
"MIT"
] | null | null | null | //
// MarqueeLabel.h
// Marquee
//
// Created by WangBin on 15/11/26.
// Copyright © 2015年 WangBin. All rights reserved.
//
#import <UIKit/UIKit.h>
#ifndef IBInspectable
#define IBInspectable
#endif
@interface MarqueeLabel : UILabel
- (instancetype)initWithFrame:(CGRect)frame duration:(NSTimeInterval)duration;
... | 18.130435 | 78 | 0.738609 |
f00b1f413db4083c2b4c12dfb8af15b799f387ae | 2,288 | py | Python | mtconnect/mtconnect_ros_bridge/scripts/closedoor.py | mtconnect/ros_bridge | b578e8c3edca83ea0de8ed15aff0f7733dd23e04 | [
"Apache-2.0"
] | 5 | 2015-04-30T21:51:46.000Z | 2019-03-18T06:24:38.000Z | mtconnect/mtconnect_ros_bridge/scripts/closedoor.py | CubeSpawn/ros_bridge | b578e8c3edca83ea0de8ed15aff0f7733dd23e04 | [
"Apache-2.0"
] | null | null | null | mtconnect/mtconnect_ros_bridge/scripts/closedoor.py | CubeSpawn/ros_bridge | b578e8c3edca83ea0de8ed15aff0f7733dd23e04 | [
"Apache-2.0"
] | 4 | 2016-02-21T20:04:31.000Z | 2021-01-04T13:48:41.000Z | #! /usr/bin/env python
"""
Copyright 2013 Southwest Research Institute
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 req... | 34.666667 | 96 | 0.723776 |
260bce48383d0e5b55e8c51313162dc7669c2755 | 290 | java | Java | Robot Controller/src/com/viktor/vano/robot/controller/Variables.java | viktorvano/Remote-Robot | 2c2a526d3d14ae130aaf487344934235fd61538a | [
"Apache-2.0"
] | 1 | 2021-06-28T19:33:30.000Z | 2021-06-28T19:33:30.000Z | Robot Controller/src/com/viktor/vano/robot/controller/Variables.java | viktorvano/Remote-Robot | 2c2a526d3d14ae130aaf487344934235fd61538a | [
"Apache-2.0"
] | null | null | null | Robot Controller/src/com/viktor/vano/robot/controller/Variables.java | viktorvano/Remote-Robot | 2c2a526d3d14ae130aaf487344934235fd61538a | [
"Apache-2.0"
] | 2 | 2021-06-28T19:33:33.000Z | 2022-01-06T03:58:13.000Z | package com.viktor.vano.robot.controller;
public class Variables {
public static String stringSTM32IP = "127.0.0.1";
public static String stringAndroidIP = "127.0.0.1";
public static int stm32StatusUpdatePeriod = 1000;
public static double distanceProgressRange = 200.0;
}
| 32.222222 | 55 | 0.744828 |
5fe48695f707db50608d592b620f3ce941bab97a | 1,793 | css | CSS | data/train/css/5fe48695f707db50608d592b620f3ce941bab97asquid_api_export_scheduler_widget.css | aliostad/deep-learning-lang-detection | d6b031f3ebc690cf2ffd0ae1b08ffa8fb3b38a62 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/train/css/5fe48695f707db50608d592b620f3ce941bab97asquid_api_export_scheduler_widget.css | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/train/css/5fe48695f707db50608d592b620f3ce941bab97asquid_api_export_scheduler_widget.css | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | .squid-api-admin-widgets-export-scheduler .modal-footer .ok {
display: none;
}
.squid-api-export-scheduler-index-view button.create-job {
float: right;
margin-bottom: 5px;
z-index: 1;
position: relative;
}
.squid-api-export-scheduler-index-view table.dataTable thead th, .squid-api-export-scheduler-in... | 25.253521 | 130 | 0.718907 |
ba9aa038ad854232b854ddbcf74427052043022a | 377 | sql | SQL | openGaussBase/testcase/KEYWORDS/revoke/Opengauss_Function_Keyword_Revoke_Case0019.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/revoke/Opengauss_Function_Keyword_Revoke_Case0019.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/revoke/Opengauss_Function_Keyword_Revoke_Case0019.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint:opengauss关键字revoke(非保留),作为外部数据源名
--关键字不带引号-成功
drop data source if exists revoke;
create data source revoke;
--清理环境
drop data source revoke;
--关键字带双引号-成功
drop data source if exists "revoke";
create data source "revoke";
--清理环境
drop data source "revoke";
--关键字带单引号-合理报错
drop data source if exists 'revok... | 17.952381 | 47 | 0.748011 |
3322b23ef62b5cdc4901a6ad9820610da54caf96 | 1,140 | kt | Kotlin | src/commonMain/kotlin/de/robolab/client/theme/utils/Theme.kt | pixix4/robolab-renderer | ca43b500246772071737a6caf7bac9a74779fe41 | [
"MIT"
] | 2 | 2020-08-20T10:20:47.000Z | 2020-08-27T11:01:37.000Z | src/commonMain/kotlin/de/robolab/client/theme/utils/Theme.kt | pixix4/robolab-renderer | ca43b500246772071737a6caf7bac9a74779fe41 | [
"MIT"
] | 12 | 2020-03-19T14:44:23.000Z | 2020-08-30T13:01:36.000Z | src/commonMain/kotlin/de/robolab/client/theme/utils/Theme.kt | pixix4/robolab-renderer | ca43b500246772071737a6caf7bac9a74779fe41 | [
"MIT"
] | 1 | 2022-03-25T04:42:18.000Z | 2022-03-25T04:42:18.000Z | package de.robolab.client.theme.utils
import de.robolab.client.theme.*
enum class Theme(val group: String, val isDarkMode: Boolean?, val theme: ITheme) {
LIGHT("Default", false, DefaultLightTheme),
DARK("Default", true, DefaultDarkTheme),
GRUVBOX_LIGHT("Gruvbox", false, GruvboxLightTheme),
GRUVBOX_DAR... | 27.804878 | 93 | 0.603509 |
9bffbd8ee81973123d117d6c137d84c3153ea0d4 | 2,573 | js | JavaScript | lib/modjs-architecture/core/module.js | daytonn/modjs-architecture | 889affa58e9899f157920e67c8ced71ace54b18b | [
"MIT"
] | null | null | null | lib/modjs-architecture/core/module.js | daytonn/modjs-architecture | 889affa58e9899f157920e67c8ced71ace54b18b | [
"MIT"
] | null | null | null | lib/modjs-architecture/core/module.js | daytonn/modjs-architecture | 889affa58e9899f157920e67c8ced71ace54b18b | [
"MIT"
] | null | null | null | //## Mod.Module
// Modules are responsible for defining the specific behavior
// of pieces of your application. All the functionality of your
// application will be defined in modules.
Mod.Module = (function() {
// Each module contains a `dom` property which is a [Mod.DOM](dom.html)
// instance to act as th... | 32.56962 | 106 | 0.595803 |
5968048df46a58a4d383ff7fb56ed2c759398a03 | 587 | h | C | Headers/FBAdProviderWithResponse.h | chuiizeet/stickers-daily-headers | d779869a384b0334e709ea24830bee5b063276a9 | [
"MIT"
] | null | null | null | Headers/FBAdProviderWithResponse.h | chuiizeet/stickers-daily-headers | d779869a384b0334e709ea24830bee5b063276a9 | [
"MIT"
] | null | null | null | Headers/FBAdProviderWithResponse.h | chuiizeet/stickers-daily-headers | d779869a384b0334e709ea24830bee5b063276a9 | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "FBAdProvider.h"
@class FBAdProviderResponseAds;
@interface FBAdProviderWithResponse : FBAdProvider
{
FBAdProviderRespons... | 24.458333 | 98 | 0.737649 |
2a51228a53ccb1bc6ea923d20978e37a53b657ff | 2,634 | java | Java | jetty-security/src/test/java/org/eclipse/jetty/security/UserStoreTest.java | nicktrav/jetty.project | 237d6280c3416df79f8ba68df2b3e58bfd2efb6f | [
"Apache-2.0"
] | null | null | null | jetty-security/src/test/java/org/eclipse/jetty/security/UserStoreTest.java | nicktrav/jetty.project | 237d6280c3416df79f8ba68df2b3e58bfd2efb6f | [
"Apache-2.0"
] | null | null | null | jetty-security/src/test/java/org/eclipse/jetty/security/UserStoreTest.java | nicktrav/jetty.project | 237d6280c3416df79f8ba68df2b3e58bfd2efb6f | [
"Apache-2.0"
] | 13 | 2018-03-12T15:25:34.000Z | 2019-11-10T07:05:50.000Z | //
// ========================================================================
// Copyright (c) 1995-2018 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... | 37.098592 | 103 | 0.621488 |
43771786982af94d470ec60d1ce368c0ff7e34ae | 8,043 | go | Go | logex.go | hedzr/cmdr | 5d4b6a244a768898bb207932c3ba2a83594f0ae2 | [
"MIT"
] | 116 | 2019-05-22T09:24:25.000Z | 2022-03-29T06:32:47.000Z | logex.go | hedzr/cmdr | 5d4b6a244a768898bb207932c3ba2a83594f0ae2 | [
"MIT"
] | 5 | 2019-05-24T12:19:08.000Z | 2021-11-14T08:35:59.000Z | logex.go | hedzr/cmdr | 5d4b6a244a768898bb207932c3ba2a83594f0ae2 | [
"MIT"
] | 10 | 2019-05-26T01:46:47.000Z | 2021-12-01T21:22:01.000Z | // Copyright © 2019 Hedzr Yeh.
package cmdr
import (
"github.com/hedzr/cmdr/tool"
"github.com/hedzr/log"
"github.com/hedzr/logex"
"github.com/hedzr/logex/build"
"os"
"strings"
)
// WithLogx enables github.com/hedzr/logex,log integration
//
// Sample 1:
//
// WithLogx(log.NewDummyLogger()), // import "github... | 28.420495 | 144 | 0.671516 |
cb261a485036ccf942e623d65dbbf5345c875808 | 10,831 | h | C | mlir/include/Conversion/LoSPNtoCPU/Vectorization/SLP/SLPGraph.h | lukasmweber/spn-compiler | acab827e8b8df69d1a4e83a209e14f62bd8d967e | [
"Apache-2.0"
] | 8 | 2021-07-07T17:19:16.000Z | 2022-03-30T06:08:44.000Z | mlir/include/Conversion/LoSPNtoCPU/Vectorization/SLP/SLPGraph.h | lukasmweber/spn-compiler | acab827e8b8df69d1a4e83a209e14f62bd8d967e | [
"Apache-2.0"
] | 9 | 2021-06-01T15:03:19.000Z | 2021-11-19T02:48:35.000Z | mlir/include/Conversion/LoSPNtoCPU/Vectorization/SLP/SLPGraph.h | lukasmweber/spn-compiler | acab827e8b8df69d1a4e83a209e14f62bd8d967e | [
"Apache-2.0"
] | 2 | 2021-07-07T17:19:36.000Z | 2022-02-28T15:08:36.000Z | //==============================================================================
// This file is part of the SPNC project under the Apache License v2.0 by the
// Embedded Systems and Applications Group, TU Darmstadt.
// For the full copyright and license information, please view the LICENSE
// file that was distributed... | 47.924779 | 120 | 0.628751 |
41ac16561b01a8453472de4f60b3681f14323092 | 115 | h | C | cpp/include/checksum.h | dvetutnev/fart-checker | bfa6effa2cd6adecb7571728c9498e76d862a1ce | [
"MIT"
] | null | null | null | cpp/include/checksum.h | dvetutnev/fart-checker | bfa6effa2cd6adecb7571728c9498e76d862a1ce | [
"MIT"
] | null | null | null | cpp/include/checksum.h | dvetutnev/fart-checker | bfa6effa2cd6adecb7571728c9498e76d862a1ce | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
namespace fc {
unsigned char calcChecksum(const std::vector<unsigned char>&);
}
| 11.5 | 62 | 0.730435 |
90754a50d0d8cab5cb7eb6fc7575d0895b23c771 | 2,632 | py | Python | rxbp/observers/connectableobserver.py | MichaelSchneeberger/rx_backpressure | 16173827498bf1bbee3344933cb9efbfd19699f5 | [
"Apache-2.0"
] | 24 | 2018-11-22T21:04:49.000Z | 2021-11-08T11:18:09.000Z | rxbp/observers/connectableobserver.py | MichaelSchneeberger/rx_backpressure | 16173827498bf1bbee3344933cb9efbfd19699f5 | [
"Apache-2.0"
] | 1 | 2019-02-06T15:58:46.000Z | 2019-02-12T20:31:50.000Z | rxbp/observers/connectableobserver.py | MichaelSchneeberger/rx_backpressure | 16173827498bf1bbee3344933cb9efbfd19699f5 | [
"Apache-2.0"
] | 1 | 2021-01-26T12:41:37.000Z | 2021-01-26T12:41:37.000Z | from dataclasses import dataclass
from rxbp.acknowledgement.acksubject import AckSubject
from rxbp.acknowledgement.continueack import ContinueAck, continue_ack
from rxbp.acknowledgement.operators.map import _map
from rxbp.acknowledgement.operators.mergeall import _merge_all
from rxbp.acknowledgement.single import Sing... | 34.181818 | 117 | 0.637158 |
18bacba2e57deb9d49cc2b232311d3cff831d700 | 31,321 | rb | Ruby | spec/active_settings/base_spec.rb | jbox-web/active-settings | cb6c4d50aeb9702f6c12a180ed20a160c83e2967 | [
"MIT"
] | 1 | 2020-04-22T00:38:26.000Z | 2020-04-22T00:38:26.000Z | spec/active_settings/base_spec.rb | jbox-web/active-settings | cb6c4d50aeb9702f6c12a180ed20a160c83e2967 | [
"MIT"
] | null | null | null | spec/active_settings/base_spec.rb | jbox-web/active-settings | cb6c4d50aeb9702f6c12a180ed20a160c83e2967 | [
"MIT"
] | null | null | null | require 'spec_helper'
RSpec.describe ActiveSettings::Base do
context 'when source file is nil' do
let(:settings) do
Class.new(ActiveSettings::Base) do
end
end
it 'should raise an error' do
expect {
settings.instance
}.to raise_error(ActiveSettings::Error::SourceFileNotDe... | 25.5057 | 368 | 0.414802 |
475dbe442ac4d60d8d5487404cb5ee2524ee1652 | 28,366 | html | HTML | _site/privacy/index.html | PrashantYadav/xosjapps | 8212a92bebb780671f588ecf1a69ac45087403c9 | [
"Apache-2.0"
] | 1 | 2017-04-26T07:09:50.000Z | 2017-04-26T07:09:50.000Z | _site/privacy/index.html | PrashantYadav/xosjapps | 8212a92bebb780671f588ecf1a69ac45087403c9 | [
"Apache-2.0"
] | null | null | null | _site/privacy/index.html | PrashantYadav/xosjapps | 8212a92bebb780671f588ecf1a69ac45087403c9 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>privacy</title>
<meta name="viewport" content="width=device-width">
<meta name="description" content="Android app developement startup. We make the best android apps. Root Checker, G... | 61.665217 | 980 | 0.53959 |
d2aadffb596568fcbeb379184a0912df984f0613 | 312 | php | PHP | DAO/ITheaterDAO.php | mauroolsen/MoviePass | fa4130da4716e01162d8c8e7df46f96fb264a14e | [
"MIT"
] | null | null | null | DAO/ITheaterDAO.php | mauroolsen/MoviePass | fa4130da4716e01162d8c8e7df46f96fb264a14e | [
"MIT"
] | null | null | null | DAO/ITheaterDAO.php | mauroolsen/MoviePass | fa4130da4716e01162d8c8e7df46f96fb264a14e | [
"MIT"
] | null | null | null | <?php
namespace DAO;
use Models\Theater as Theater;
interface ITheaterDAO
{
function GetAll();
function GetById($theater_id);
function GetByName($theater_name);
function Add(Theater $theater);
function Edit(Theater $theater);
function Desactivate($theater_id);
function Activate($theater_id);
}
| 18.352941 | 36 | 0.75 |