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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
89e54e28f82f5a84de729ca634c71667c4122cf1 | 179 | kt | Kotlin | kotlin-typescript/src/main/generated/typescript/UnparsedSourceText.kt | Recognized/kotlin-wrappers | f4af784cd6e65c2304d9d8e49e7f30a6383a755c | [
"Apache-2.0"
] | 4 | 2022-01-16T13:30:56.000Z | 2022-03-25T23:29:38.000Z | typescript-kotlin/src/main/kotlin/typescript/UnparsedSourceText.kt | karakum-team/react-types-kotlin | 940a93bb5b3093184916c9c39fbd530eb444be15 | [
"Apache-2.0"
] | null | null | null | typescript-kotlin/src/main/kotlin/typescript/UnparsedSourceText.kt | karakum-team/react-types-kotlin | 940a93bb5b3093184916c9c39fbd530eb444be15 | [
"Apache-2.0"
] | 2 | 2022-01-25T23:46:40.000Z | 2022-03-25T09:11:51.000Z | // Automatically generated - do not modify!
package typescript
sealed external interface UnparsedSourceText : Union.UnparsedSourceText_ /* UnparsedPrepend | UnparsedTextLike */
| 29.833333 | 113 | 0.815642 |
c249394473090ba857fb54b9a293188b08b694aa | 2,981 | go | Go | gateways/server/resource/validate.go | jannfis/argo-events | 099404392d9019b7efbae4ff8e15b37acd65d1d1 | [
"Apache-2.0"
] | 1 | 2020-11-23T05:37:43.000Z | 2020-11-23T05:37:43.000Z | gateways/server/resource/validate.go | jannfis/argo-events | 099404392d9019b7efbae4ff8e15b37acd65d1d1 | [
"Apache-2.0"
] | 8 | 2020-09-23T06:18:33.000Z | 2020-09-28T11:49:34.000Z | gateways/server/resource/validate.go | valery-zhurbenko/argo-events | 7c8e19b3c36943f64f71b8bbbf1b3e41eaa20412 | [
"Apache-2.0"
] | 1 | 2020-11-23T05:38:15.000Z | 2020-11-23T05:38:15.000Z | /*
Copyright 2018 BlackRock, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
di... | 28.663462 | 144 | 0.733982 |
c30e70b757fd75dd5a86df30744e7653ed206364 | 2,391 | swift | Swift | Twitter/User.swift | kate2753/CodePathTwitter | 124483caa07817ad2249e60c77b8e7f45dc6b18a | [
"Apache-2.0"
] | null | null | null | Twitter/User.swift | kate2753/CodePathTwitter | 124483caa07817ad2249e60c77b8e7f45dc6b18a | [
"Apache-2.0"
] | null | null | null | Twitter/User.swift | kate2753/CodePathTwitter | 124483caa07817ad2249e60c77b8e7f45dc6b18a | [
"Apache-2.0"
] | null | null | null | //
// User.swift
// Twitter
//
// Created by kate_odnous on 8/15/16.
// Copyright © 2016 Kate Odnous. All rights reserved.
//
import UIKit
class User: NSObject {
static let currentUserStorageKey = "currentUserData"
static let userDidLogoutNotification = "UserDidLogout"
var name: String?
var screenName: S... | 30.265823 | 110 | 0.689251 |
7b64ff191aa93d501fadd9cdddc132415d4dc5ec | 4,545 | css | CSS | webroot/css/widgets/tag.css | unimatrix/backend | 712bae4281c7e258997c9b0fe810d986444b75d6 | [
"MIT"
] | 1 | 2018-06-05T17:26:42.000Z | 2018-06-05T17:26:42.000Z | webroot/css/widgets/tag.css | unimatrix/backend | 712bae4281c7e258997c9b0fe810d986444b75d6 | [
"MIT"
] | null | null | null | webroot/css/widgets/tag.css | unimatrix/backend | 712bae4281c7e258997c9b0fe810d986444b75d6 | [
"MIT"
] | null | null | null | /**
* Tag widget
*
* @author Flavius
* @version 1.0
*/
div.tag-widget {
position: relative;
}
/** Tag list **/
div.tag-widget > div.list {
margin: 0 0 1rem;
font-size: .875rem;
}
div.tag-widget > div.list.hidden {
display: none;
}
div.tag-widget > div.list... | 26.578947 | 77 | 0.438504 |
cf89c002bae2bc61bcf690ea9cecdacb1f84fb3c | 1,135 | asm | Assembly | programs/oeis/226/A226903.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/226/A226903.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/226/A226903.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A226903: Shiraishi numbers: a parametrized family of solutions c to the Diophantine equation a^3 + b^3 + c^3 = d^3 with d = c+1.
; 5,18,53,102,197,306,491,684,989,1290,1745,2178,2813,3402,4247,5016,6101,7074,8429,9630,11285,12738,14723,16452,18797,20826,23561,25914,29069,31770,35375,38448,42533,46002,50597,54486,5962... | 18.015873 | 220 | 0.507489 |
86737288c89fdd316651fcd3393e768cd78c5477 | 1,848 | rs | Rust | src/lib.rs | mathstuf/rust-bus-gen | b16fe5b3e2e5c1115708adffb2cafa198a483a64 | [
"BSD-3-Clause"
] | null | null | null | src/lib.rs | mathstuf/rust-bus-gen | b16fe5b3e2e5c1115708adffb2cafa198a483a64 | [
"BSD-3-Clause"
] | 1 | 2019-01-17T16:31:36.000Z | 2019-01-17T16:31:36.000Z | src/lib.rs | mathstuf/rust-bus-gen | b16fe5b3e2e5c1115708adffb2cafa198a483a64 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2016, Ben Boeckel
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of cond... | 52.8 | 96 | 0.755411 |
c82b819f69b2e20b1eaf9aa91635d509f4791417 | 2,591 | rs | Rust | src/lib.rs | studentofkyoto/all-lap-python | 40bf11839734a6a05298a192971ada8a4b5e1272 | [
"MIT"
] | null | null | null | src/lib.rs | studentofkyoto/all-lap-python | 40bf11839734a6a05298a192971ada8a4b5e1272 | [
"MIT"
] | null | null | null | src/lib.rs | studentofkyoto/all-lap-python | 40bf11839734a6a05298a192971ada8a4b5e1272 | [
"MIT"
] | null | null | null | use all_lap_rust::bipartite as bp;
use all_lap_rust::contains::Contains;
use pyo3::prelude::*;
use pyo3::PyIterProtocol;
#[pyclass]
#[derive(Clone)]
struct BipartiteGraph {
inner: bp::BipartiteGraph,
}
#[pymethods]
impl BipartiteGraph {
#[new]
pub fn __new__(adj: Vec<Vec<usize>>) -> Self {
let inn... | 22.145299 | 95 | 0.592435 |
ff9e0def309e20efc55909b8c3dddc1fe1da8762 | 478 | sql | SQL | migrations/000003_create_peer_properties_table.up.sql | coryschwartz/nebula-crawler | 34ebe1109a5117949b4f285891a065adcc0bae08 | [
"Apache-2.0"
] | 66 | 2021-07-05T21:55:27.000Z | 2022-03-20T20:44:38.000Z | migrations/000003_create_peer_properties_table.up.sql | coryschwartz/nebula-crawler | 34ebe1109a5117949b4f285891a065adcc0bae08 | [
"Apache-2.0"
] | 8 | 2021-07-18T09:00:12.000Z | 2022-03-15T17:44:11.000Z | migrations/000003_create_peer_properties_table.up.sql | coryschwartz/nebula-crawler | 34ebe1109a5117949b4f285891a065adcc0bae08 | [
"Apache-2.0"
] | 6 | 2021-07-11T12:25:05.000Z | 2022-01-04T21:14:50.000Z | CREATE TABLE IF NOT EXISTS peer_properties
(
id SERIAL PRIMARY KEY,
property VARCHAR(255) NOT NULL,
value VARCHAR(255) NOT NULL,
count INT NOT NULL,
crawl_id SERIAL NOT NULL,
created_at TIMESTAMPTZ NOT NULL,
updated_at TIMESTAMPTZ NOT NULL
);
ALTER TAB... | 28.117647 | 42 | 0.638075 |
26b347e0ad86adeb8647cd23591a04c252740813 | 3,984 | java | Java | app/src/main/java/com/havrylyuk/dou/ui/main/SalariesAdapter.java | graviton57/DOUSalaries | b7381719f8602c31028d6fa1f988299f1f9d3882 | [
"Apache-2.0"
] | 3 | 2017-10-07T09:21:07.000Z | 2018-05-04T19:35:21.000Z | app/src/main/java/com/havrylyuk/dou/ui/main/SalariesAdapter.java | graviton57/DOUSalaries | b7381719f8602c31028d6fa1f988299f1f9d3882 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/havrylyuk/dou/ui/main/SalariesAdapter.java | graviton57/DOUSalaries | b7381719f8602c31028d6fa1f988299f1f9d3882 | [
"Apache-2.0"
] | 3 | 2017-10-07T09:22:53.000Z | 2020-12-28T12:02:36.000Z | package com.havrylyuk.dou.ui.main;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.havrylyuk.dou.R;
import com.havrylyuk.dou.utils.chart.listviewitems.ChartItem;
import com.havrylyuk.... | 35.571429 | 87 | 0.646837 |
9075913c57da3bde86f3690c408c332989174bff | 496 | py | Python | faker/providers/company/ro_RO/__init__.py | jeffwright13/faker | 9192d5143d5f1b832cc0f44b3f7ee89ca28c975a | [
"MIT"
] | 3 | 2019-03-06T03:02:25.000Z | 2021-11-26T07:30:43.000Z | faker/providers/company/ro_RO/__init__.py | Haytam222/faker | 9929afc9c9fd4bd75f2ad4b7eb9c132e67e66ce8 | [
"MIT"
] | 2 | 2021-05-12T06:25:57.000Z | 2022-03-01T04:16:03.000Z | faker/providers/company/ro_RO/__init__.py | Haytam222/faker | 9929afc9c9fd4bd75f2ad4b7eb9c132e67e66ce8 | [
"MIT"
] | 2 | 2021-09-22T12:47:59.000Z | 2021-12-10T08:18:23.000Z | from .. import Provider as CompanyProvider
class Provider(CompanyProvider):
formats = (
'{{last_name}} {{company_suffix}}',
'{{last_name}} {{last_name}} {{company_suffix}}',
'{{last_name}}',
)
company_suffixes = (
'SRL', 'SA', 'SCA', 'SNC', 'SCS', 'AFJ', 'ASF', 'CON', 'CR... | 26.105263 | 76 | 0.544355 |
ef548831c04fdad7450f4bb2754bdb6a3c4aea3c | 8,977 | kt | Kotlin | src/lesson2/task1/IfElse.kt | AnadolStudio/KotlinAsFirst | e8541500b9d20a291dff8a206a8beca406700d00 | [
"CC0-1.0"
] | null | null | null | src/lesson2/task1/IfElse.kt | AnadolStudio/KotlinAsFirst | e8541500b9d20a291dff8a206a8beca406700d00 | [
"CC0-1.0"
] | null | null | null | src/lesson2/task1/IfElse.kt | AnadolStudio/KotlinAsFirst | e8541500b9d20a291dff8a206a8beca406700d00 | [
"CC0-1.0"
] | null | null | null | @file:Suppress("UNUSED_PARAMETER")
package lesson2.task1
import lesson1.task1.discriminant
import kotlin.math.max
import kotlin.math.min
import kotlin.math.pow
import kotlin.math.sqrt
// Урок 2: ветвления (здесь), логический тип (см. 2.2).
// Максимальное количество баллов = 6
// Рекомендуемое количество баллов = 5
... | 32.291367 | 174 | 0.635402 |
36d34ad83ced607256f26a6583395f48317eecb5 | 507 | dart | Dart | lib/ui/home/home_binding.dart | kimhau/Flutter-Bitbuckets | 3a8e448c0af0ac5474703be7d168dcd96c17c330 | [
"Apache-2.0"
] | null | null | null | lib/ui/home/home_binding.dart | kimhau/Flutter-Bitbuckets | 3a8e448c0af0ac5474703be7d168dcd96c17c330 | [
"Apache-2.0"
] | null | null | null | lib/ui/home/home_binding.dart | kimhau/Flutter-Bitbuckets | 3a8e448c0af0ac5474703be7d168dcd96c17c330 | [
"Apache-2.0"
] | null | null | null | import 'package:flutter_bitbuckets/network/bitbucket_client.dart';
import 'package:flutter_bitbuckets/repositories/bitbucket_repository.dart';
import 'package:get/get.dart';
import 'home_logic.dart';
class HomeBinding extends Bindings {
@override
void dependencies() {
Get.lazyPut<BitbucketApiClient>(() => Bit... | 33.8 | 88 | 0.757396 |
e63ccb1b19334bd81a321efca48dc485870f512f | 3,698 | go | Go | mock/batch.write.go | kadekutama/dynamodb | e6e8fe57b6ad1ce58f45f42a1f0109b8fa333e91 | [
"MIT"
] | null | null | null | mock/batch.write.go | kadekutama/dynamodb | e6e8fe57b6ad1ce58f45f42a1f0109b8fa333e91 | [
"MIT"
] | null | null | null | mock/batch.write.go | kadekutama/dynamodb | e6e8fe57b6ad1ce58f45f42a1f0109b8fa333e91 | [
"MIT"
] | null | null | null | // Code generated by MockGen. DO NOT EDIT.
// Source: batch.write.go
// Package mock is a generated GoMock package.
package mock
import (
aws "github.com/aws/aws-sdk-go/aws"
gomock "github.com/golang/mock/gomock"
dynamo "github.com/guregu/dynamo"
dynamodb "github.com/kadekutama/dynamodb"
reflect "reflect"
)
// ... | 31.606838 | 135 | 0.73364 |
230937e715606dbee9b853744762a1633e885f99 | 815 | kt | Kotlin | src/main/kotlin/com/casper/sdk/getauction/GetAuctionInfoResult.kt | tqhuy2018/Casper-Kotlin-sdk | 3d834547366f05c51c5ff0782856e1f39c462935 | [
"MIT"
] | 2 | 2022-03-10T04:21:02.000Z | 2022-03-28T07:14:49.000Z | src/main/kotlin/com/casper/sdk/getauction/GetAuctionInfoResult.kt | tqhuy2018/Casper-Kotlin-sdk | 3d834547366f05c51c5ff0782856e1f39c462935 | [
"MIT"
] | null | null | null | src/main/kotlin/com/casper/sdk/getauction/GetAuctionInfoResult.kt | tqhuy2018/Casper-Kotlin-sdk | 3d834547366f05c51c5ff0782856e1f39c462935 | [
"MIT"
] | null | null | null | package com.casper.sdk.getauction
import net.jemzart.jsonkraken.values.JsonObject
/** Class built for storing GetAuctionInfoResult information, taken from state_get_auction_info RPC method */
class GetAuctionInfoResult {
var apiVersion: String = ""
var auctionState: AuctionState = AuctionState()
companion... | 47.941176 | 116 | 0.728834 |
3e0b545a58e19744d9b3f5651a920fb650daf162 | 1,722 | sql | SQL | modules/web-base/src/main/java/META-INF/org/nlh4j/web/system/function/domain/dao/SystemFunctionDao/findFunctions.sql | hainguyen81/nlh4j | f70377fc4c04ea091594784317ad343c217c0b3c | [
"Apache-2.0"
] | 1 | 2020-07-25T21:48:43.000Z | 2020-07-25T21:48:43.000Z | modules/web-base/src/main/java/META-INF/org/nlh4j/web/system/function/domain/dao/SystemFunctionDao/findFunctions.sql | hainguyen81/nlh4j | f70377fc4c04ea091594784317ad343c217c0b3c | [
"Apache-2.0"
] | null | null | null | modules/web-base/src/main/java/META-INF/org/nlh4j/web/system/function/domain/dao/SystemFunctionDao/findFunctions.sql | hainguyen81/nlh4j | f70377fc4c04ea091594784317ad343c217c0b3c | [
"Apache-2.0"
] | 1 | 2019-09-06T16:35:04.000Z | 2019-09-06T16:35:04.000Z | SELECT
f.id
, f.code
, f.name
, f.lang_key
, f.func_order
, f.enabled
FROM
"function" f
WHERE
true
/*%if conditions == null*/
AND
false
/*%end*/
/*%if conditions != null*/
AND (
-- system administrator
fn_iv_is_system_admin( /* conditions.getUsername() */'abc' )
-- sp... | 27.774194 | 93 | 0.57259 |
b59128f4789eac25618525b48b9d4be834c767de | 2,150 | kt | Kotlin | src/test/kotlin/parsix/core/lazy/ParseMapKtTest.kt | parsix/parsix | 3c17d2de0c94b671dd5cac54ca10e3b0e1f7875c | [
"Apache-2.0"
] | 199 | 2021-05-15T16:09:05.000Z | 2022-03-28T11:58:53.000Z | src/test/kotlin/parsix/core/lazy/ParseMapKtTest.kt | parsix/parsix | 3c17d2de0c94b671dd5cac54ca10e3b0e1f7875c | [
"Apache-2.0"
] | 4 | 2021-05-17T21:33:15.000Z | 2022-03-30T14:52:56.000Z | src/test/kotlin/parsix/core/lazy/ParseMapKtTest.kt | parsix/parsix | 3c17d2de0c94b671dd5cac54ca10e3b0e1f7875c | [
"Apache-2.0"
] | 1 | 2021-05-16T22:02:55.000Z | 2021-05-16T22:02:55.000Z | package parsix.core.lazy
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
import parsix.core.KeyError
import parsix.core.RequiredError
import parsix.core.curry
import parsix.core.parseInt
import parsix.core.parseInto
import parsix.core.parseString
import parsix.core.succeed
import... | 29.452055 | 65 | 0.526512 |
db60f0bbeadfc7e9010c66d1e817c589722e1dc8 | 68 | sql | SQL | gpMgmt/test/behave/mgmt_utils/steps/data/gptransfer_setup/role.sql | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 9 | 2018-04-20T03:31:01.000Z | 2020-05-13T14:10:53.000Z | gpMgmt/test/behave/mgmt_utils/steps/data/gptransfer_setup/role.sql | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 36 | 2017-09-21T09:12:27.000Z | 2020-06-17T16:40:48.000Z | gpMgmt/test/behave/mgmt_utils/steps/data/gptransfer_setup/role.sql | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 32 | 2017-08-31T12:50:52.000Z | 2022-03-01T07:34:53.000Z | --Create Roles
create role "geography" login password 'geography';
| 17 | 51 | 0.764706 |
8092164628f06285cb4d7b466e4e1808a918d1df | 1,030 | sql | SQL | src/main/resources/schema.sql | pinguedwinde/dolo-cloud | 9f3d2ad87c42a7e2e62ef1d34625a81ad8b973e0 | [
"MIT"
] | null | null | null | src/main/resources/schema.sql | pinguedwinde/dolo-cloud | 9f3d2ad87c42a7e2e62ef1d34625a81ad8b973e0 | [
"MIT"
] | null | null | null | src/main/resources/schema.sql | pinguedwinde/dolo-cloud | 9f3d2ad87c42a7e2e62ef1d34625a81ad8b973e0 | [
"MIT"
] | null | null | null | CREATE TABLE IF NOT EXISTS dolo_orders (
id IDENTITY,
delivery_name VARCHAR(50) NOT NULL,
delivery_street VARCHAR(50) NOT NULL,
delivery_city VARCHAR(50) NOT NULL,
delivery_state VARCHAR(30) NOT NULL,
delivery_zip VARCHAR(10) NOT NULL,
cc_number VARCHAR(16) NOT NULL,
cc_expiration VARCHA... | 31.212121 | 60 | 0.72233 |
a6da5868860cfaf7a8708f62b72e8c650d1df212 | 8,796 | sql | SQL | sql/Country/CreateTable.sql | rtanyildizi/Library-Management-System | 22f4d93f9c99829ee748cd37a8128cb8e16ce217 | [
"MIT"
] | null | null | null | sql/Country/CreateTable.sql | rtanyildizi/Library-Management-System | 22f4d93f9c99829ee748cd37a8128cb8e16ce217 | [
"MIT"
] | null | null | null | sql/Country/CreateTable.sql | rtanyildizi/Library-Management-System | 22f4d93f9c99829ee748cd37a8128cb8e16ce217 | [
"MIT"
] | 2 | 2021-02-07T10:15:53.000Z | 2021-02-07T10:46:12.000Z | --! This table references:
--! Author
-- Create a new table called 'Country' in schema 'dbo'
-- Drop the table if it already exists
IF OBJECT_ID('dbo.Country', 'U') IS NOT NULL
DROP TABLE dbo.Country
GO
-- Create the table in the specified schema
CREATE TABLE dbo.Country
(
-- primary key column
[countryId]... | 31.869565 | 66 | 0.454411 |
3ca140b00232e2ecdd1425e9f2b65a8d798e23d6 | 1,818 | rs | Rust | iota-streams-core-mss/src/signature/mss/troika.rs | JakeSCahill/streams | ef7fcacf8aec5ab88610f0c9951e09fdee9d549b | [
"MIT",
"Apache-2.0",
"MIT-0"
] | null | null | null | iota-streams-core-mss/src/signature/mss/troika.rs | JakeSCahill/streams | ef7fcacf8aec5ab88610f0c9951e09fdee9d549b | [
"MIT",
"Apache-2.0",
"MIT-0"
] | null | null | null | iota-streams-core-mss/src/signature/mss/troika.rs | JakeSCahill/streams | ef7fcacf8aec5ab88610f0c9951e09fdee9d549b | [
"MIT",
"Apache-2.0",
"MIT-0"
] | 3 | 2020-10-26T20:22:54.000Z | 2021-10-03T04:46:02.000Z | use crate::signature::wots;
use iota_streams_core::{
sponge::prp,
tbits::{
trinary::TritWord,
word::{
IntTbitWord,
SpongosTbitWord,
},
Tbits,
},
};
use iota_streams_core_merkletree::merkle_tree;
pub struct ParametersMtTraversal<TW>(std::marker::Phanto... | 24.567568 | 69 | 0.674367 |
c623f90d5fa92105120202a08de353521350f4a7 | 259 | rb | Ruby | app/models/message.rb | snowylily/tomatocan | 1639424f96f96808105da253f3960feba1e918e5 | [
"Ruby",
"Unlicense"
] | null | null | null | app/models/message.rb | snowylily/tomatocan | 1639424f96f96808105da253f3960feba1e918e5 | [
"Ruby",
"Unlicense"
] | 5 | 2020-04-13T16:34:28.000Z | 2021-09-28T01:23:52.000Z | app/models/message.rb | snowylily/tomatocan | 1639424f96f96808105da253f3960feba1e918e5 | [
"Ruby",
"Unlicense"
] | null | null | null | class Message < ApplicationRecord
validates :fullname, presence: true
validates_format_of :email, with: Devise.email_regexp, allow_blank: true
validates :email, presence: true
validates :subject, presence: true
validates :message, presence: true
end | 28.777778 | 75 | 0.787645 |
2a744cc9502e14d00f4d69f5f81aa0118c2be8e0 | 814 | java | Java | src/com/twu/biblioteca/Book.java | MuchContact/twu-biblioteca-hjliu | 7b80af482a04ef3cb89dda54360d6a9ef5e1b5eb | [
"Apache-2.0"
] | null | null | null | src/com/twu/biblioteca/Book.java | MuchContact/twu-biblioteca-hjliu | 7b80af482a04ef3cb89dda54360d6a9ef5e1b5eb | [
"Apache-2.0"
] | null | null | null | src/com/twu/biblioteca/Book.java | MuchContact/twu-biblioteca-hjliu | 7b80af482a04ef3cb89dda54360d6a9ef5e1b5eb | [
"Apache-2.0"
] | null | null | null | package com.twu.biblioteca;
/**
* Created by dan on 15-7-28.
*/
public class Book extends Item{
private final String title;
private final String author;
private final int publishedYear;
public Book(String title, String author, int publishedYear) {
this.title = title;
this.author = a... | 21.421053 | 65 | 0.547912 |
93dc5907cc6dead44a1840c6f73a87926dd43eee | 1,280 | lua | Lua | spec/configuration_loader/data_url_spec.lua | ssethu24/apicast | 63d0c23918e67b817147682520cd35955453f1ea | [
"Apache-2.0"
] | 1 | 2020-11-14T20:38:14.000Z | 2020-11-14T20:38:14.000Z | spec/configuration_loader/data_url_spec.lua | ssethu24/apicast | 63d0c23918e67b817147682520cd35955453f1ea | [
"Apache-2.0"
] | 2 | 2019-12-20T06:22:20.000Z | 2020-07-18T14:20:17.000Z | spec/configuration_loader/data_url_spec.lua | ssethu24/apicast | 63d0c23918e67b817147682520cd35955453f1ea | [
"Apache-2.0"
] | 1 | 2018-04-09T08:45:39.000Z | 2018-04-09T08:45:39.000Z | local loader = require 'apicast.configuration_loader.data_url'
local cjson = require('cjson')
describe('Configuration Data URL loader', function()
describe('.call', function()
it('ignores empty url', function()
assert.same({nil, 'not valid data-url'}, { loader.call() })
assert.same({nil, 'not valid d... | 31.219512 | 95 | 0.630469 |
e3b17f35eb25918c8bca47b180f92d3d8e105e86 | 834 | sql | SQL | sql/_31_cherry/issue_22054_on_update/cases/timezone_001.sql | zionyun/cubrid-testcases | ed8a07b096d721b9b42eb843fab326c63d143d77 | [
"BSD-3-Clause"
] | 9 | 2016-03-24T09:51:52.000Z | 2022-03-23T10:49:47.000Z | sql/_31_cherry/issue_22054_on_update/cases/timezone_001.sql | zionyun/cubrid-testcases | ed8a07b096d721b9b42eb843fab326c63d143d77 | [
"BSD-3-Clause"
] | 173 | 2016-04-13T01:16:54.000Z | 2022-03-16T07:50:58.000Z | sql/_31_cherry/issue_22054_on_update/cases/timezone_001.sql | zionyun/cubrid-testcases | ed8a07b096d721b9b42eb843fab326c63d143d77 | [
"BSD-3-Clause"
] | 38 | 2016-03-24T17:10:31.000Z | 2021-10-30T22:55:45.000Z | drop if exists t;
create table t(
a int,
time1 timestampltz on update current_timestamp,
time2 timestamptz on update current_timestamp
);
insert into t(a) values(1);
set timezone 'Asia/Shanghai';
update t set a=2;
select if(to_timestamp_tz(current_timestamp)-time1>=0 and to_timestamp_tz(current_timestamp)-time1<10,'o... | 39.714286 | 132 | 0.778177 |
86c838883c3a7a38033b4396388283fac39e79f1 | 1,982 | go | Go | astro/cli/astro/cmd/flags_test.go | mbarbon/astro | ec39948001c6378e16583aa772d79ad58d484e2e | [
"Apache-2.0"
] | null | null | null | astro/cli/astro/cmd/flags_test.go | mbarbon/astro | ec39948001c6378e16583aa772d79ad58d484e2e | [
"Apache-2.0"
] | null | null | null | astro/cli/astro/cmd/flags_test.go | mbarbon/astro | ec39948001c6378e16583aa772d79ad58d484e2e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2018 Uber Technologies, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | 22.269663 | 75 | 0.666498 |
9ff25aa0fd10c8ceec9ac448a5f960a1209fde7c | 995 | ps1 | PowerShell | login_with_httpie.ps1 | phucnguyen81/django-locallibrary-tutorial | dd263b9c673ca963c89525517ab71f1f28e71fdd | [
"CC0-1.0"
] | null | null | null | login_with_httpie.ps1 | phucnguyen81/django-locallibrary-tutorial | dd263b9c673ca963c89525517ab71f1f28e71fdd | [
"CC0-1.0"
] | 7 | 2019-09-26T17:06:04.000Z | 2019-09-27T13:58:09.000Z | login_with_httpie.ps1 | phucnguyen81/django-locallibrary-tutorial | dd263b9c673ca963c89525517ab71f1f28e71fdd | [
"CC0-1.0"
] | null | null | null | # Login and request my books using httpie command
foreach ($cmd in Get-Command @('http', 'jq')) {
if (-not (Get-Command $cmd)) { return }
}
$login_url = 'localhost:8000/accounts/login/'
$secured_url = 'localhost:8000/catalog/mybooks/'
$username = 'phuc'
$password = 'phuc'
$curdir = Get-Location
if ($PSScriptRoot... | 26.891892 | 67 | 0.701508 |
7199ae371a66ec49d0d9c7c7395a5dcd8853ffd8 | 729 | ts | TypeScript | server/src/common.ts | HackGT/timber | 9002dce6ce41a5cb5837cc9df3b4ff420e722e31 | [
"MIT"
] | 6 | 2021-09-13T23:29:03.000Z | 2022-02-27T22:53:22.000Z | server/src/common.ts | HackGT/timber | 9002dce6ce41a5cb5837cc9df3b4ff420e722e31 | [
"MIT"
] | 64 | 2021-04-02T17:16:29.000Z | 2022-03-30T14:31:42.000Z | server/src/common.ts | HackGT/timber | 9002dce6ce41a5cb5837cc9df3b4ff420e722e31 | [
"MIT"
] | null | null | null | /* eslint-disable @typescript-eslint/no-namespace, @typescript-eslint/no-empty-interface */
import { PrismaClient, User as PrismaUser } from "@prisma/client";
import path from "path";
import fs from "fs";
// eslint-disable-next-line import/no-mutable-exports
export let prizeConfig: any;
try {
prizeConfig = JSON.par... | 21.441176 | 91 | 0.687243 |
b63e22a05e471f12a426d77d308bdba4d516df49 | 303 | sql | SQL | src/main/resources/db/migration/V1.0.1__Legger_til_aktiv_i_brukernotifikasjon-view-et.sql | navikt/dittnav-event-aggregator | e34c344ae01499b08c4346137577045ef298ff8b | [
"MIT"
] | 1 | 2020-02-11T05:21:23.000Z | 2020-02-11T05:21:23.000Z | src/main/resources/db/migration/V1.0.1__Legger_til_aktiv_i_brukernotifikasjon-view-et.sql | navikt/dittnav-event-aggregator | e34c344ae01499b08c4346137577045ef298ff8b | [
"MIT"
] | 13 | 2019-09-18T12:28:45.000Z | 2021-12-03T14:31:32.000Z | src/main/resources/db/migration/V1.0.1__Legger_til_aktiv_i_brukernotifikasjon-view-et.sql | navikt/dittnav-event-aggregator | e34c344ae01499b08c4346137577045ef298ff8b | [
"MIT"
] | null | null | null | CREATE OR REPLACE VIEW brukernotifikasjon_view AS
SELECT eventId, produsent, 'beskjed' as type, fodselsnummer, aktiv FROM BESKJED
UNION
SELECT eventId, produsent, 'oppgave' as type, fodselsnummer, aktiv FROM OPPGAVE
UNION
SELECT eventId, produsent, 'innboks' as type, fodselsnummer, aktiv FROM INNBOKS;
| 43.285714 | 80 | 0.811881 |
7ef19b2b6d03a4340b4c2b9c03143da819ff9cf8 | 5,532 | swift | Swift | MagicalChineseChessBattle/ViewController/MultiPeerVC/View/MultiPeerMenuView.swift | Mosquito1123/MagicalChineseChessBattle | 826a550023e6d3037f8c4663fe5e3a88dfb3e99c | [
"BSD-2-Clause"
] | 1 | 2020-08-19T06:23:44.000Z | 2020-08-19T06:23:44.000Z | MagicalChineseChessBattle/ViewController/MultiPeerVC/View/MultiPeerMenuView.swift | Mosquito1123/MagicalChineseChessBattle | 826a550023e6d3037f8c4663fe5e3a88dfb3e99c | [
"BSD-2-Clause"
] | null | null | null | MagicalChineseChessBattle/ViewController/MultiPeerVC/View/MultiPeerMenuView.swift | Mosquito1123/MagicalChineseChessBattle | 826a550023e6d3037f8c4663fe5e3a88dfb3e99c | [
"BSD-2-Clause"
] | null | null | null | //
// MultiPeerMenuView.swift
// ChineseChess
//
// Created by 李夙璃 on 2018/1/24.
// Copyright © 2018年 StarLab. All rights reserved.
//
import UIKit
public protocol MultiPeerMenuViewDelegate: NSObjectProtocol {
func multiPeerMenuView(_ menuView: NavigationView, didSelectAt index: Int)
}
class MultiPeerMenuView: ... | 29.425532 | 104 | 0.729031 |
84f3f1172ad33853dd0a1ec81a1077d912590a0a | 1,943 | swift | Swift | 0673. Number of Longest Increasing Subsequence.swift | sergeyleschev/leetcode-swift | b73b8fa61a14849e48fb38e27e51ea6c12817d64 | [
"MIT"
] | 10 | 2021-05-16T07:19:41.000Z | 2021-08-02T19:02:00.000Z | 0673. Number of Longest Increasing Subsequence.swift | sergeyleschev/leetcode-swift | b73b8fa61a14849e48fb38e27e51ea6c12817d64 | [
"MIT"
] | null | null | null | 0673. Number of Longest Increasing Subsequence.swift | sergeyleschev/leetcode-swift | b73b8fa61a14849e48fb38e27e51ea6c12817d64 | [
"MIT"
] | 1 | 2021-08-18T05:33:00.000Z | 2021-08-18T05:33:00.000Z | class Solution {
// Solution @ Sergey Leschev, Belarusian State University
// 673. Number of Longest Increasing Subsequence
// Given an integer array nums, return the number of longest increasing subsequences.
// Notice that the sequence has to be strictly increasing.
// Finds the number of longe... | 31.852459 | 137 | 0.544519 |
4fd2998f00100a13eeb1844b03af793214a086d5 | 438 | ps1 | PowerShell | mysettings-ntfs/tools/chocolateyInstall.ps1 | dcjulian29/choco-packages | 63c3563d86cc0796380b28c5089dc03586df3c00 | [
"Apache-2.0"
] | 6 | 2015-02-12T09:38:07.000Z | 2020-10-14T19:55:36.000Z | mysettings-ntfs/tools/chocolateyInstall.ps1 | dcjulian29/choco-packages | 63c3563d86cc0796380b28c5089dc03586df3c00 | [
"Apache-2.0"
] | 2 | 2015-02-09T19:24:31.000Z | 2022-01-22T23:38:36.000Z | mysettings-ntfs/tools/chocolateyInstall.ps1 | dcjulian29/choco-packages | 63c3563d86cc0796380b28c5089dc03586df3c00 | [
"Apache-2.0"
] | 3 | 2015-05-23T05:09:11.000Z | 2016-01-07T11:39:03.000Z | $packageName = "mysettings-ntfs"
$toolDir = "$(Split-Path -parent $MyInvocation.MyCommand.Path)"
if ($psISE) {
Import-Module -name "$env:ChocolateyInstall\chocolateyinstall\helpers\chocolateyInstaller.psm1"
}
$cmd = ". $toolDir\postInstall.ps1"
if (Test-ProcessAdminRights) {
Invoke-Expression $cmd
... | 25.764706 | 100 | 0.707763 |
724978b971ef3c22c8bd85bf3364a51dd196fc91 | 5,975 | kt | Kotlin | app/src/main/java/org/simple/clinic/home/overdue/OverdueListAdapter.kt | rakshakhegde/simple-android | 3250ca834078344841d32347fec7810707f50cf8 | [
"MIT"
] | null | null | null | app/src/main/java/org/simple/clinic/home/overdue/OverdueListAdapter.kt | rakshakhegde/simple-android | 3250ca834078344841d32347fec7810707f50cf8 | [
"MIT"
] | null | null | null | app/src/main/java/org/simple/clinic/home/overdue/OverdueListAdapter.kt | rakshakhegde/simple-android | 3250ca834078344841d32347fec7810707f50cf8 | [
"MIT"
] | 1 | 2020-10-14T07:09:45.000Z | 2020-10-14T07:09:45.000Z | package org.simple.clinic.home.overdue
import android.support.v7.recyclerview.extensions.ListAdapter
import android.support.v7.util.DiffUtil
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.View.GONE
import android.view.View.VISIBLE
import an... | 35.993976 | 144 | 0.772218 |
2dc53118fe360517514cb602c72f42b14d45f9ec | 26,284 | html | HTML | components.html | linxfather/html_template_KnowledgeBase | ae4de8e16576cd255990593faaa670521a1dbe23 | [
"MIT"
] | null | null | null | components.html | linxfather/html_template_KnowledgeBase | ae4de8e16576cd255990593faaa670521a1dbe23 | [
"MIT"
] | null | null | null | components.html | linxfather/html_template_KnowledgeBase | ae4de8e16576cd255990593faaa670521a1dbe23 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en-gb" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Components - Knowledge Base HTML Template</title>
<!-- BEGIN HEAD -->
<link rel="icon" href="assets/img/favicon.png" type="image/x-icon">
... | 58.150442 | 186 | 0.421169 |
81c4b6052d9666529e8be19d752a8339632e54eb | 6,165 | go | Go | pkg/config/proxy_config.go | elastisys/kubeaware-cloudpool-proxy | a43efa357a6ae26015896883630e31276fdd0b65 | [
"Apache-2.0"
] | 7 | 2017-10-25T13:42:41.000Z | 2019-02-26T07:37:03.000Z | pkg/config/proxy_config.go | elastisys/kubeaware-cloudpool-proxy | a43efa357a6ae26015896883630e31276fdd0b65 | [
"Apache-2.0"
] | null | null | null | pkg/config/proxy_config.go | elastisys/kubeaware-cloudpool-proxy | a43efa357a6ae26015896883630e31276fdd0b65 | [
"Apache-2.0"
] | null | null | null | package config
import (
"encoding/json"
"fmt"
"net/url"
"time"
)
const (
// DefaultServerTimeout is the default client request timeout used by the proxy server.
DefaultServerTimeout = 60 * time.Second
// DefaultBackendTimeout is the default timeout to use when connecting to the backend cloudpool.
// Uses a ra... | 33.145161 | 101 | 0.732685 |
93facec8e714e4962bcd335da876ed7bde0a1827 | 177 | sql | SQL | DMD/HW4/4.sql | abcdw/inno | 91cfa1b2dac74f2015d69ed8df425ab8f2e5c4f2 | [
"MIT"
] | 4 | 2015-10-03T10:15:40.000Z | 2015-10-10T14:36:11.000Z | DMD/HW4/4.sql | abcdw/inno | 91cfa1b2dac74f2015d69ed8df425ab8f2e5c4f2 | [
"MIT"
] | null | null | null | DMD/HW4/4.sql | abcdw/inno | 91cfa1b2dac74f2015d69ed8df425ab8f2e5c4f2 | [
"MIT"
] | 2 | 2015-09-06T12:20:53.000Z | 2018-03-05T03:28:49.000Z | SELECT COUNT(*), s.SupplierName FROM Inventory AS i
JOIN MovieSupplier AS ms ON ms.movieid = i.movieid
JOIN Suppliers AS s ON ms.supplierid = s.supplierid
GROUP BY s.supplierid
| 35.4 | 51 | 0.785311 |
f3292380acc442aca7c9f0f78f5a22847929296b | 479 | ps1 | PowerShell | Build/Tasks/Publish.tasks.ps1 | joshwright10/PSc.CloudDNS | 558c27b8cc4db43ef7efb0f5b5a0f245c6f4d583 | [
"MIT"
] | null | null | null | Build/Tasks/Publish.tasks.ps1 | joshwright10/PSc.CloudDNS | 558c27b8cc4db43ef7efb0f5b5a0f245c6f4d583 | [
"MIT"
] | null | null | null | Build/Tasks/Publish.tasks.ps1 | joshwright10/PSc.CloudDNS | 558c27b8cc4db43ef7efb0f5b5a0f245c6f4d583 | [
"MIT"
] | null | null | null | <#
Publish module to PowerShell Gallery
#>
task Publish -If (${env:BUILDRELEASE} -eq "Release") {
try {
$params = @{
Path = "$env:BHProjectPath\$Env:BHProjectName"
NuGetApiKey = ${env:PSGALLERYKEY}
ErrorAction = 'Stop'
}
Publish-Module @params
... | 26.611111 | 120 | 0.578288 |
1437aa35e153e452851db595ba975cf22320defb | 1,026 | css | CSS | public/css/admin.css | louispocheron/test_test | 94aa4122c80cde3462a25e8caea0a771ca2e3e72 | [
"Apache-2.0"
] | null | null | null | public/css/admin.css | louispocheron/test_test | 94aa4122c80cde3462a25e8caea0a771ca2e3e72 | [
"Apache-2.0"
] | null | null | null | public/css/admin.css | louispocheron/test_test | 94aa4122c80cde3462a25e8caea0a771ca2e3e72 | [
"Apache-2.0"
] | null | null | null | main{
width: 100%;
height: 100%;
}
.assoc-pres{
margin-top: 1rem;
}
.assoc-name{
font-size: 1.5rem;
}
.table{
width: 100%;
border-collapse: collapse;
display: flex;
flex-direction: row;
justify-content: center;
padding: 1rem;
}
.assoc-container{
display: ... | 17.1 | 31 | 0.577973 |
94a6d5c0301d8fbfa779c1f8bd0f7ddd4d60b1e9 | 1,547 | sql | SQL | core/db_estructura/simple_seguridad.sql | josuemora/simple | dbee4ed8408f0d60708ff7a2f9740903a1e15eec | [
"MIT"
] | null | null | null | core/db_estructura/simple_seguridad.sql | josuemora/simple | dbee4ed8408f0d60708ff7a2f9740903a1e15eec | [
"MIT"
] | null | null | null | core/db_estructura/simple_seguridad.sql | josuemora/simple | dbee4ed8408f0d60708ff7a2f9740903a1e15eec | [
"MIT"
] | null | null | null | create database if not exists simple_seguridad;
use simple_seguridad;
create table if not exists perfiles (
id int not null AUTO_INCREMENT,
nombre varchar(50) not null,
PRIMARY KEY (id),
UNIQUE KEY nombre (nombre)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE if not exists usuarios (
id int NOT NULL AUTO_... | 29.75 | 115 | 0.7117 |
d81199e1c97a964eb3ea42e9616b94094eaa5df8 | 1,955 | sql | SQL | src/main/resources/db/migration/V0.7__document.sql | ppudgy/vertex-backend | 275fd03b3ba82ba26cd5322c4a19a77d33b93706 | [
"Apache-2.0"
] | null | null | null | src/main/resources/db/migration/V0.7__document.sql | ppudgy/vertex-backend | 275fd03b3ba82ba26cd5322c4a19a77d33b93706 | [
"Apache-2.0"
] | null | null | null | src/main/resources/db/migration/V0.7__document.sql | ppudgy/vertex-backend | 275fd03b3ba82ba26cd5322c4a19a77d33b93706 | [
"Apache-2.0"
] | null | null | null | -- Файл создания базы данных проекта "apex"
-- project: apex
-- file: document.psql.sql
-- user: pudgy
-- time: 4.04.2015
create table document(
id uuid not null, -- 32 - длина строки UUID в hex представлении
origin timestamp not null default current_timestamp,
schemata uuid not null,
nam... | 34.298246 | 90 | 0.711509 |
dc18aa903f1fb0fb973223a365058d9c3399bbb8 | 20,170 | lua | Lua | garrysmod/addons/anti-family-sharing/garrysmod/lua/autorun/familysharing.lua | BucketSanders/necessary-addons-gmod | a5949604bd5598d25a637afd7712925b4647c9e8 | [
"MIT"
] | 8 | 2018-11-20T18:18:07.000Z | 2021-04-30T15:36:26.000Z | garrysmod/addons/anti-family-sharing/garrysmod/lua/autorun/familysharing.lua | BucketSanders/necessary-addons-gmod | a5949604bd5598d25a637afd7712925b4647c9e8 | [
"MIT"
] | 2 | 2019-01-11T03:15:42.000Z | 2019-01-16T17:45:48.000Z | garrysmod/addons/anti-family-sharing/garrysmod/lua/autorun/familysharing.lua | BucketSanders/necessary-addons-gmod | a5949604bd5598d25a637afd7712925b4647c9e8 | [
"MIT"
] | 5 | 2018-10-20T17:50:17.000Z | 2021-10-09T06:38:31.000Z | if SERVER then --If SERVER statement to ensure the following code stays server side.
--[[
Credits :
C0nw0nk
Github : https://github.com/C0nw0nk/Garrys-Mod-Family-Sharing
Info :
This script will make it very hard for users who you ban from your server to return or bypass their current/existing bans.
When you ban a use... | 43.943355 | 212 | 0.730094 |
54281b767087ded979ab6e2db8db189189f824c1 | 352 | go | Go | pkg/libs/serializer/non_fallable_serializer_test.go | ShaneLee/gowaves | 98ddb6370582510eb7d6086451de72be2def00eb | [
"MIT"
] | 72 | 2018-10-01T14:14:53.000Z | 2022-03-25T21:06:56.000Z | pkg/libs/serializer/non_fallable_serializer_test.go | ShaneLee/gowaves | 98ddb6370582510eb7d6086451de72be2def00eb | [
"MIT"
] | 110 | 2018-10-19T15:09:03.000Z | 2022-03-24T09:56:56.000Z | pkg/libs/serializer/non_fallable_serializer_test.go | ShaneLee/gowaves | 98ddb6370582510eb7d6086451de72be2def00eb | [
"MIT"
] | 31 | 2018-10-30T15:07:03.000Z | 2022-03-29T23:57:11.000Z | package serializer
import (
"bytes"
"testing"
"github.com/stretchr/testify/require"
)
func TestNonFallableSerializer_Write(t *testing.T) {
buf := &bytes.Buffer{}
o := bytes.NewBuffer([]byte{1, 2, 3, 4, 5})
s := NewNonFallable(buf)
_, _ = o.WriteTo(s)
require.EqualValues(t, 5, s.N())
require.Equal(t, []byte... | 18.526316 | 53 | 0.650568 |
ec20f5b12d5eccda91e8cb2ebd6d5fa17605f22f | 6,595 | swift | Swift | FMPhotoPicker/FMPhotoPicker/source/Interaction Animator/FMPhotoInteractionAnimator.swift | htxs/FMPhotoPicker | 26b87033ab2bb3ef8292fc45fb8c0279508f2677 | [
"MIT"
] | 407 | 2020-02-15T02:22:58.000Z | 2022-03-31T08:41:13.000Z | FMPhotoPicker/FMPhotoPicker/source/Interaction Animator/FMPhotoInteractionAnimator.swift | htxs/FMPhotoPicker | 26b87033ab2bb3ef8292fc45fb8c0279508f2677 | [
"MIT"
] | 34 | 2020-02-18T11:23:04.000Z | 2022-02-21T12:22:24.000Z | FMPhotoPicker/FMPhotoPicker/source/Interaction Animator/FMPhotoInteractionAnimator.swift | htxs/FMPhotoPicker | 26b87033ab2bb3ef8292fc45fb8c0279508f2677 | [
"MIT"
] | 65 | 2020-03-03T08:32:25.000Z | 2022-03-09T03:39:29.000Z | //
// FMPhotoInteractionAnimator.swift
// FMPhotoPicker
//
// Created by c-nguyen on 2018/02/06.
// Copyright © 2018 Tribal Media House. All rights reserved.
//
import UIKit
class FMPhotoInteractionAnimator: NSObject, UIViewControllerInteractiveTransitioning {
var interactionInProgress = false
privat... | 46.118881 | 154 | 0.660652 |
9306cc976c5fabbf6540eb1a6429ac988ce85fc6 | 393 | asm | Assembly | p5/p5(3).asm | Anan1225/assembly-language | 054a33a4c278fc3cc8e849bb24df004079434a82 | [
"MIT"
] | null | null | null | p5/p5(3).asm | Anan1225/assembly-language | 054a33a4c278fc3cc8e849bb24df004079434a82 | [
"MIT"
] | null | null | null | p5/p5(3).asm | Anan1225/assembly-language | 054a33a4c278fc3cc8e849bb24df004079434a82 | [
"MIT"
] | null | null | null |
ASSUME CS:CODES,DS:DATAS,SS:STACKS
CODES SEGMENT
START:
MOV AX,STACKS
MOV SS,AX
MOV SP,16
MOV AX,DATAS
MOV DS,AX
push ds:[0]
push ds:[2]
pop ds:[2]
pop ds:[0]
MOV AH,4CH
INT 21H
CODES ENDS
END
DATAS SEGMENT
DW 0123H,0456H
... | 11.558824 | 35 | 0.506361 |
76442892b2291ca518fe0e40b639543ade5f6bad | 1,383 | go | Go | modern/minimal/status_clientbound_proto.go | sysr-q/kyubu | 78158b1795e36a71fe10c7dbeacea6e8c8a93c75 | [
"MIT"
] | 2 | 2015-03-12T08:11:39.000Z | 2015-04-07T17:40:54.000Z | modern/minimal/status_clientbound_proto.go | sysr-q/kyubu | 78158b1795e36a71fe10c7dbeacea6e8c8a93c75 | [
"MIT"
] | 1 | 2015-05-17T00:26:58.000Z | 2015-05-17T00:26:58.000Z | modern/minimal/status_clientbound_proto.go | sysr-q/kyubu | 78158b1795e36a71fe10c7dbeacea6e8c8a93c75 | [
"MIT"
] | null | null | null | // Generated by protocol_generator; DO NOT EDIT
// protocol_generator -file=status_clientbound.go -direction=serverbound -state=status -package=modern
package modern
import (
"encoding/binary"
"encoding/json"
"github.com/kurafuto/kyubu/packets"
"io"
)
func init() {
packets.Register(packets.Status, packets.Serve... | 21.952381 | 112 | 0.68402 |
f0791e37af8f0e6bb45c78c7fc37667ac15c9e8a | 627 | py | Python | test/scripts/functions.py | JetBrains-Research/jpt-nb-corpus | d93ac84ff885b30ef736cd82f5ce8b09c28ef3d1 | [
"MIT"
] | 3 | 2022-03-25T10:17:22.000Z | 2022-03-27T14:13:03.000Z | test/scripts/functions.py | JetBrains-Research/Matroskin | 053ed3d7e9dffb0aee4012bc49a194e0c60217c7 | [
"MIT"
] | null | null | null | test/scripts/functions.py | JetBrains-Research/Matroskin | 053ed3d7e9dffb0aee4012bc49a194e0c60217c7 | [
"MIT"
] | 1 | 2021-07-06T16:22:11.000Z | 2021-07-06T16:22:11.000Z | # Explicit API functions
from api_functions import api_function1, api_function2
from package3 import api_function3
# API Packages
import package1, package2
import package3
from package4 import api_class1
# Defined functions
def defined_function_1(d_f_arg1, d_f_arg2):
a = api_function1(d_f_arg1)
b = (api_fun... | 24.115385 | 60 | 0.77193 |
12250d6e6ab661172cf4675dbeeafb98dcbd69a5 | 90 | h | C | LocalAI/Move.h | hunterrees/challengeChessAI | 0a85a8d3c8b43778af902b7274569c867db5cf75 | [
"Apache-2.0"
] | null | null | null | LocalAI/Move.h | hunterrees/challengeChessAI | 0a85a8d3c8b43778af902b7274569c867db5cf75 | [
"Apache-2.0"
] | null | null | null | LocalAI/Move.h | hunterrees/challengeChessAI | 0a85a8d3c8b43778af902b7274569c867db5cf75 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <iostream>
using namespace std;
class Move {
public:
private:
};
| 8.181818 | 20 | 0.711111 |
7506ebcd59e8d7c961d4646a27194bddd8b6dbb0 | 2,099 | h | C | Headers/Frameworks/FxPlug/FxParameterCreationAPI-Protocol.h | CommandPost/FinalCutProFrameworks | d98b00ff0c84af80942d71514e9238d624aca50a | [
"MIT"
] | 3 | 2020-11-19T10:04:02.000Z | 2021-10-02T17:25:21.000Z | Headers/Frameworks/ProAppsFxSupport/FxParameterCreationAPI-Protocol.h | CommandPost/FinalCutProFrameworks | d98b00ff0c84af80942d71514e9238d624aca50a | [
"MIT"
] | null | null | null | Headers/Frameworks/ProAppsFxSupport/FxParameterCreationAPI-Protocol.h | CommandPost/FinalCutProFrameworks | d98b00ff0c84af80942d71514e9238d624aca50a | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 11 2021 20:53:35).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
@class NSArray, NSString;
@protocol NSCoding;
@protocol FxParameterCreationAPI
- (BOOL)endParameterSubGroup;
- (BOOL)startParameterSubGroup:(NSString *)arg1 parmId:(unsigned in... | 83.96 | 246 | 0.797999 |
0326395f7fab33fa29a64f393b477cc74232b3be | 1,347 | sql | SQL | server-dao/src/main/resources/xurui3.sql | xurui0898/server-boilerplate | 8c58d0693cf735a4a39040f102270c94b793b027 | [
"MIT"
] | null | null | null | server-dao/src/main/resources/xurui3.sql | xurui0898/server-boilerplate | 8c58d0693cf735a4a39040f102270c94b793b027 | [
"MIT"
] | null | null | null | server-dao/src/main/resources/xurui3.sql | xurui0898/server-boilerplate | 8c58d0693cf735a4a39040f102270c94b793b027 | [
"MIT"
] | null | null | null | /*
Navicat Premium Data Transfer
Source Server : docker本机
Source Server Type : MySQL
Source Server Version : 50625
Source Host : localhost
Source Database : xurui3
Target Server Type : MySQL
Target Server Version : 50625
File Encoding : utf-8
Date: 08/13/2020 11:04:22 ... | 29.933333 | 75 | 0.628062 |
1e4d1d1ebd7fe5313026c56cb544768a678ac7c5 | 3,653 | css | CSS | src/components/Prompt/Prompt.css | 7274-dev/AdventnaVyzva-React | acb03c7804bdfa80b65ad7ab817359c85696951f | [
"MIT"
] | 1 | 2021-04-13T07:24:06.000Z | 2021-04-13T07:24:06.000Z | src/components/Prompt/Prompt.css | 7274-dev/AdventnaVyzva-React | acb03c7804bdfa80b65ad7ab817359c85696951f | [
"MIT"
] | 12 | 2021-06-06T11:03:14.000Z | 2022-03-04T23:23:02.000Z | src/components/Prompt/Prompt.css | 7274-dev/AdventnaVyzva-React | acb03c7804bdfa80b65ad7ab817359c85696951f | [
"MIT"
] | null | null | null | .prompt {
opacity: 0;
visibility: hidden;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 5;
transition-duration: 400ms;
transition-property: all;
}
@supports (backdrop-filter: blur(20px)) {
.prompt {
backdrop-filter: blur(20px);
}
}
@supports not (backdrop-filter: bl... | 20.294444 | 46 | 0.649329 |
269799d07624ef5cb406431dc9c2075cd3c7b541 | 5,499 | java | Java | java/debugger/impl/src/com/intellij/debugger/impl/DebuggerUtilsImpl.java | liveqmock/platform-tools-idea | 1c4b76108add6110898a7e3f8f70b970e352d3d4 | [
"Apache-2.0"
] | 2 | 2015-05-08T15:07:10.000Z | 2022-03-09T05:47:53.000Z | java/debugger/impl/src/com/intellij/debugger/impl/DebuggerUtilsImpl.java | lshain-android-source/tools-idea | b37108d841684bcc2af45a2539b75dd62c4e283c | [
"Apache-2.0"
] | null | null | null | java/debugger/impl/src/com/intellij/debugger/impl/DebuggerUtilsImpl.java | lshain-android-source/tools-idea | b37108d841684bcc2af45a2539b75dd62c4e283c | [
"Apache-2.0"
] | 2 | 2017-04-24T15:48:40.000Z | 2022-03-09T05:48:05.000Z | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* 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 agre... | 39.561151 | 161 | 0.783779 |
6c6608dc8f0bf69bc42c53dc15b10936974ea22d | 58 | ps1 | PowerShell | docker-cli/test.ps1 | danijeljw/dockerfiles-windows | 25448db774927bb7a23e625c1afd9ec970697dc1 | [
"MIT"
] | 1,033 | 2015-08-21T20:29:53.000Z | 2022-03-17T07:41:04.000Z | docker-cli/test.ps1 | danijeljw/dockerfiles-windows | 25448db774927bb7a23e625c1afd9ec970697dc1 | [
"MIT"
] | 155 | 2016-02-18T00:07:56.000Z | 2021-12-20T19:51:23.000Z | docker-cli/test.ps1 | danijeljw/dockerfiles-windows | 25448db774927bb7a23e625c1afd9ec970697dc1 | [
"MIT"
] | 449 | 2015-10-29T06:54:28.000Z | 2022-03-17T09:08:45.000Z | docker run --isolation=hyperv docker-cli docker --version
| 29 | 57 | 0.793103 |
3ddbc5ca39c257755a1c93aa1a48a748a6579aa3 | 397 | asm | Assembly | programs/oeis/137/A137495.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/137/A137495.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/137/A137495.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A137495: A098601(2n)+A098601(2n+1)
; 2,3,4,7,13,23,40,70,123,216,379,665,1167,2048,3594,6307,11068,19423,34085,59815,104968,184206,323259,567280,995507,1746993,3065759,5380032,9441298,16568323,29075380,51023735,89540413,157132471,275748264,483904470,849193147,1490230088
mov $1,$0
lpb $1
add $2,$0
add $3,$2
sub... | 24.8125 | 235 | 0.702771 |
e31070623fcef63659f03ff4bb52e2b0d884abcd | 2,653 | swift | Swift | RayWenToe/Controllers/GameManager/States/PlayerInputState.swift | Armandocarrillo/RayWenToe | e53f71f9aecff0ef7d55c54979444e5de2e8d698 | [
"MIT"
] | null | null | null | RayWenToe/Controllers/GameManager/States/PlayerInputState.swift | Armandocarrillo/RayWenToe | e53f71f9aecff0ef7d55c54979444e5de2e8d698 | [
"MIT"
] | null | null | null | RayWenToe/Controllers/GameManager/States/PlayerInputState.swift | Armandocarrillo/RayWenToe | e53f71f9aecff0ef7d55c54979444e5de2e8d698 | [
"MIT"
] | null | null | null |
public class PlayerInputState: GameState {
// MARK: - Instance Properties
public let actionTitle: String
public let player: Player
// MARK: - Object Lifecycle
public init(gameMode: GameManager, player: Player, actionTitle: String) {
self.actionTitle = actionTitle
self.player = player
super.init... | 30.494253 | 117 | 0.720317 |
8156e7882045616122109eaa5cc1d0702c8a5000 | 8,923 | rs | Rust | src/terminfo/fields.rs | IanS5/tty-rs | dfeeae9000a701fea44148b91cab827cabdd6b33 | [
"MIT"
] | 2 | 2019-07-01T12:52:18.000Z | 2019-07-01T13:55:10.000Z | src/terminfo/fields.rs | IanS5/tty-rs | dfeeae9000a701fea44148b91cab827cabdd6b33 | [
"MIT"
] | null | null | null | src/terminfo/fields.rs | IanS5/tty-rs | dfeeae9000a701fea44148b91cab827cabdd6b33 | [
"MIT"
] | null | null | null | //! This file was generated by "./scripts/generate-terminfo-structs.sh" on Tue Jul 24 20:26:48 EDT 2018.
//! Please do not modify it.
/// Number of booleans expected to be present in the file
pub const PREDEFINED_BOOLEANS_COUNT: usize = 44;
/// Number of numbers expected to be present in the file
pub const PREDEFINED... | 17.028626 | 104 | 0.644066 |
c88d99046f9845323be67964b6f499d4fd48605c | 364 | lua | Lua | test/tests/paragraph alias.lua | Reuh/anselme | 10af596a582f9b1d69495385469d092c1b7c95b9 | [
"0BSD"
] | null | null | null | test/tests/paragraph alias.lua | Reuh/anselme | 10af596a582f9b1d69495385469d092c1b7c95b9 | [
"0BSD"
] | null | null | null | test/tests/paragraph alias.lua | Reuh/anselme | 10af596a582f9b1d69495385469d092c1b7c95b9 | [
"0BSD"
] | null | null | null | local _={}
_[7]={}
_[6]={tags=_[7],text="ok"}
_[5]={tags=_[7],text=" = "}
_[4]={tags=_[7],text="ok"}
_[3]={_[4],_[5],_[6]}
_[2]={"return"}
_[1]={"text",_[3]}
return {_[1],_[2]}
--[[
{ "text", { {
tags = <1>{},
text = "ok"
}, {
tags = <table 1>,
text = " = "
}, {
tags = <table 1>,
... | 16.545455 | 27 | 0.365385 |
26041960ccf98c2cfdbdd034ec445b5a89822dd8 | 1,215 | java | Java | ZimbraServer/src/java/com/zimbra/cs/session/WaitSetError.java | fciubotaru/z-pec | 82335600341c6fb1bb8a471fd751243a90bc4d57 | [
"MIT"
] | 5 | 2019-03-26T07:51:56.000Z | 2021-08-30T07:26:05.000Z | ZimbraServer/src/java/com/zimbra/cs/session/WaitSetError.java | fciubotaru/z-pec | 82335600341c6fb1bb8a471fd751243a90bc4d57 | [
"MIT"
] | 1 | 2015-08-18T19:03:32.000Z | 2015-08-18T19:03:32.000Z | ZimbraServer/src/java/com/zimbra/cs/session/WaitSetError.java | fciubotaru/z-pec | 82335600341c6fb1bb8a471fd751243a90bc4d57 | [
"MIT"
] | 13 | 2015-03-11T00:26:35.000Z | 2020-07-26T16:25:18.000Z | /*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2007, 2008, 2009, 2010 Zimbra, Inc.
*
* The contents of this file are subject to the Zimbra Public License
* Version 1.3 ("License"); you may not use this file except in
* compliance with the License. You may obtain a copy... | 30.375 | 87 | 0.682305 |
7d4670ab478085148f79aba45730735e45f35425 | 57 | sql | SQL | build/upgrade/3.17.6/last-seen.sqlite.sql | jemmy00/jsbin | b6635207200326febf0af99c7fe1b189b8278395 | [
"MIT"
] | 2,724 | 2015-01-01T23:00:14.000Z | 2022-03-24T14:55:20.000Z | build/upgrade/3.17.6/last-seen.sqlite.sql | jemmy00/jsbin | b6635207200326febf0af99c7fe1b189b8278395 | [
"MIT"
] | 1,553 | 2015-01-03T17:56:51.000Z | 2022-03-27T08:15:06.000Z | build/upgrade/3.17.6/last-seen.sqlite.sql | jemmy00/jsbin | b6635207200326febf0af99c7fe1b189b8278395 | [
"MIT"
] | 1,029 | 2015-01-01T05:35:05.000Z | 2022-03-27T05:12:14.000Z | ALTER TABLE `ownership` ADD COLUMN `last_seen` datetime;
| 28.5 | 56 | 0.789474 |
cef0035d1ad967694deb228d12be6ee75825b88a | 468 | asm | Assembly | oeis/206/A206158.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/206/A206158.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/206/A206158.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A206158: a(n) = Sum_{k=0..n} binomial(n,k)^(2*k+1).
; Submitted by Jamie Morken(w2)
; 1,2,10,272,24226,12053252,40086916024,429254371605824,23527609330364490754,10714627376371224032350052,16964729291782419425708732425300,109783535843179466164398767001178968704,6782057095273243388704415924996348722446049600
mov $4,$0... | 23.4 | 223 | 0.713675 |
e33c7e802d10e88f8f61f3248f8330f67bfcc35a | 59 | sql | SQL | src/main/resources/db/migration/V2.13__meeting_agenda_order.sql | ituk-ttu/ITUK-API | f9b029a8b0fd0a82cebdeab3a69143d3bd368456 | [
"Apache-2.0"
] | null | null | null | src/main/resources/db/migration/V2.13__meeting_agenda_order.sql | ituk-ttu/ITUK-API | f9b029a8b0fd0a82cebdeab3a69143d3bd368456 | [
"Apache-2.0"
] | 3 | 2019-12-01T13:53:47.000Z | 2021-08-22T18:46:43.000Z | src/main/resources/db/migration/V2.13__meeting_agenda_order.sql | ituk-ttu/ituk-api | f9b029a8b0fd0a82cebdeab3a69143d3bd368456 | [
"Apache-2.0"
] | null | null | null | ALTER TABLE meeting_agenda_item ADD COLUMN "order" VARCHAR; | 59 | 59 | 0.847458 |
45cee54499ebc8c7d95640f284780c2c44ed1ae8 | 1,139 | swift | Swift | Symbals/View Controllers/SettingsTableViewController.swift | aaronpearce/SF-Viwe | 0636db39cb2bb127db8f698c7d5a3871494159bf | [
"MIT"
] | 31 | 2020-01-01T01:12:10.000Z | 2022-02-08T15:58:21.000Z | Symbals/View Controllers/SettingsTableViewController.swift | aaronpearce/SF-Viwe | 0636db39cb2bb127db8f698c7d5a3871494159bf | [
"MIT"
] | 1 | 2020-01-02T22:37:18.000Z | 2020-01-02T23:03:48.000Z | Symbals/View Controllers/SettingsTableViewController.swift | aaronpearce/SF-Viwe | 0636db39cb2bb127db8f698c7d5a3871494159bf | [
"MIT"
] | 4 | 2020-01-02T17:01:03.000Z | 2021-06-11T08:37:49.000Z | //
// SettingsTableViewController.swift
// Symbals
//
// Created by Aaron Pearce on 17/10/19.
// Copyright © 2019 Sunya. All rights reserved.
//
import UIKit
import SafariServices
class SettingsTableViewController: UITableViewController {
let appIdentifier = ""
override func viewDidLoad() {
super.... | 27.119048 | 94 | 0.650571 |
5b12a4c2802e2e19f82cc5d62cf52251eeb1a74e | 238 | h | C | Pod/Classes/CGIndicator.h | guoshencheng/CGRefresh | 8d45990eb598cf774754228d23c4b05e72a94594 | [
"MIT"
] | null | null | null | Pod/Classes/CGIndicator.h | guoshencheng/CGRefresh | 8d45990eb598cf774754228d23c4b05e72a94594 | [
"MIT"
] | null | null | null | Pod/Classes/CGIndicator.h | guoshencheng/CGRefresh | 8d45990eb598cf774754228d23c4b05e72a94594 | [
"MIT"
] | null | null | null | //
// CGIndicator.h
// renyan
//
// Created by guoshencheng on 3/8/16.
// Copyright © 2016 zixin. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface CGIndicator : UIView
- (void)startAnimating;
- (void)stopAnimating;
@end
| 14 | 48 | 0.676471 |
c82b699eb1c48d9094eb65a56da4ebe160178cc5 | 486 | swift | Swift | Flickr/Sources/Extension/UIViewController.swift | seongwonbang/Flickr | 1e7ffc122565b7177a05be485d62c2d4297cb4e9 | [
"MIT"
] | 1 | 2018-10-08T02:02:18.000Z | 2018-10-08T02:02:18.000Z | Flickr/Sources/Extension/UIViewController.swift | seongwonbang/Flickr | 1e7ffc122565b7177a05be485d62c2d4297cb4e9 | [
"MIT"
] | null | null | null | Flickr/Sources/Extension/UIViewController.swift | seongwonbang/Flickr | 1e7ffc122565b7177a05be485d62c2d4297cb4e9 | [
"MIT"
] | 1 | 2018-10-08T02:02:20.000Z | 2018-10-08T02:02:20.000Z | //
// ViewController.swift
// Flickr
//
// Created by 방성원 on 2018. 5. 8..
// Copyright © 2018년 makesource. All rights reserved.
//
import UIKit
extension UIViewController {
public static var defaultNib: String {
return self.description().components(separatedBy: ".").dropFirst().joined(separator: ".")
... | 24.3 | 97 | 0.670782 |
73faacf060fae0177676799f6d33392caf7ff243 | 271 | ps1 | PowerShell | Private/Find-ModelFile.ps1 | fvanroie/opnsense_MakeDocs | 4328fa50e767ca27f45e2e19ea1b6511f87cc01c | [
"MIT"
] | null | null | null | Private/Find-ModelFile.ps1 | fvanroie/opnsense_MakeDocs | 4328fa50e767ca27f45e2e19ea1b6511f87cc01c | [
"MIT"
] | null | null | null | Private/Find-ModelFile.ps1 | fvanroie/opnsense_MakeDocs | 4328fa50e767ca27f45e2e19ea1b6511f87cc01c | [
"MIT"
] | null | null | null | Function Find-ModelFile {
param (
[String[]]$BaseFolder = 'C:\opnsense'
)
foreach ($folder in $Basefolder) {
Get-ChildItem -Recurse -Path "$folder/*.xml" -Exclude Menu.xml, ACL.xml, forms, tests | Select-Object -ExpandProperty fullname
}
} | 33.875 | 134 | 0.634686 |
9a3150ba1af8ebc4c680d7f6174402a3b947fa10 | 2,293 | css | CSS | src/components/Preloader/Bars/preloaderBar.css | jonniebigodes/fcc-datavis | 9ac8ace60fcea8555585e1a5b71e9cafdd25f337 | [
"MIT"
] | null | null | null | src/components/Preloader/Bars/preloaderBar.css | jonniebigodes/fcc-datavis | 9ac8ace60fcea8555585e1a5b71e9cafdd25f337 | [
"MIT"
] | null | null | null | src/components/Preloader/Bars/preloaderBar.css | jonniebigodes/fcc-datavis | 9ac8ace60fcea8555585e1a5b71e9cafdd25f337 | [
"MIT"
] | null | null | null | .containerBars {
display: flex;
flex-wrap: wrap;
margin: 0 auto;
}
.itemBars-0, .itemBars-1,
.itemBars-2, .itemBars-3,
.itemBars-4, .itemBars-5,
.itemBars-6, .itemBars-7,
.itemBars-8, .itemBars-9,
.itemBars-10 {
min-height: 45px;
max-height: 50px;
flex: calc(100%/7);
border:... | 19.432203 | 38 | 0.596162 |
5703afb096077722b0d69438f00f31dd3eb3788a | 489 | kt | Kotlin | conductor-extra-screen/src/main/java/nolambda/screen/Screen.kt | esafirm/conductor-extra | 304262c284ab117808afd7c68e45360d7c606b4f | [
"MIT"
] | 1 | 2019-08-18T18:08:52.000Z | 2019-08-18T18:08:52.000Z | conductor-extra-screen/src/main/java/nolambda/screen/Screen.kt | esafirm/conductor-extra | 304262c284ab117808afd7c68e45360d7c606b4f | [
"MIT"
] | 6 | 2017-09-23T07:05:40.000Z | 2018-10-16T13:00:46.000Z | conductor-extra-screen/src/main/java/nolambda/screen/Screen.kt | esafirm/conductor-extra | 304262c284ab117808afd7c68e45360d7c606b4f | [
"MIT"
] | null | null | null | package nolambda.screen
import android.os.Bundle
import com.esafirm.conductorextra.common.onEvent
abstract class Screen : BaseScreen {
constructor() : super()
constructor(args: Bundle?) : super(args)
init {
onEvent(
onPostAttach = { render() },
onPostCreateView = ... | 19.56 | 53 | 0.591002 |
a1817aff70c27f782893634555fc4b1e58878352 | 2,676 | sql | SQL | sql/functions.sql | pdehaan/postflux | 7a9ff16a622f085f957b564b64487ab24c5b7f6a | [
"MIT"
] | 3 | 2015-08-12T21:45:05.000Z | 2015-10-23T02:30:58.000Z | sql/functions.sql | pdehaan/postflux | 7a9ff16a622f085f957b564b64487ab24c5b7f6a | [
"MIT"
] | 1 | 2015-05-24T00:51:40.000Z | 2015-05-24T00:51:40.000Z | sql/functions.sql | pdehaan/postflux | 7a9ff16a622f085f957b564b64487ab24c5b7f6a | [
"MIT"
] | 1 | 2015-05-24T00:48:13.000Z | 2015-05-24T00:48:13.000Z | CREATE OR REPLACE FUNCTION influx_post(input JSON) RETURNS INTEGER as $$
DECLARE
col TEXT;
table_cols TEXT[];
data_cols TEXT[];
querybits TEXT[];
valuerow JSON;
textrows TEXT[];
arrayrow TEXT[];
value TEXT;
data JSON;
total INTEGER = 0;
qrytxt TEXT;
BEGIN
FOR data IN SEL... | 46.137931 | 230 | 0.589312 |
ac692c189197ec5cf4c81d335c7b625824ba6749 | 517 | kt | Kotlin | app/src/main/java/com/cleteci/redsolidaria/ui/fragments/advancedsearch/AdvancedSearchContract.kt | JusticeInternational/RedSol-android | 766168e2c5655f36e0e1898542f8ccb831d7da75 | [
"MIT"
] | 1 | 2020-04-04T00:08:58.000Z | 2020-04-04T00:08:58.000Z | app/src/main/java/com/cleteci/redsolidaria/ui/fragments/advancedsearch/AdvancedSearchContract.kt | JusticeInternational/RedSol-android | 766168e2c5655f36e0e1898542f8ccb831d7da75 | [
"MIT"
] | 4 | 2020-05-25T15:45:28.000Z | 2021-06-21T18:08:09.000Z | app/src/main/java/com/cleteci/redsolidaria/ui/fragments/advancedsearch/AdvancedSearchContract.kt | JusticeInternational/RedSol-android | 766168e2c5655f36e0e1898542f8ccb831d7da75 | [
"MIT"
] | 1 | 2020-04-04T00:09:08.000Z | 2020-04-04T00:09:08.000Z | package com.cleteci.redsolidaria.ui.fragments.advancedsearch
import com.cleteci.redsolidaria.models.Category
import com.cleteci.redsolidaria.ui.base.BaseContract
/**
* Created by ogulcan on 07/02/2018.
*/
class AdvancedSearchContract {
interface View: BaseContract.View {
fun init()
fun loadData... | 25.85 | 78 | 0.727273 |
5dfbd608de6c177c624ad4b5ed3d6817e7ba4bc5 | 1,021 | go | Go | helper/basic/str/cast.go | ehwjh2010/cobra | 04420d97fadaf651d0363e66d102dd57c32a3afd | [
"Apache-2.0"
] | null | null | null | helper/basic/str/cast.go | ehwjh2010/cobra | 04420d97fadaf651d0363e66d102dd57c32a3afd | [
"Apache-2.0"
] | null | null | null | helper/basic/str/cast.go | ehwjh2010/cobra | 04420d97fadaf651d0363e66d102dd57c32a3afd | [
"Apache-2.0"
] | null | null | null | package str
import (
"github.com/ehwjh2010/viper/verror"
"go.uber.org/zap/buffer"
)
//=================str与interface转化==================
func Str2Any(v string) interface{} {
return v
}
func Any2String(v interface{}) (string, error) {
if dst, ok := v.(string); !ok {
return "", verror.CastStringError(v)
} else... | 15.469697 | 55 | 0.576885 |
cf353fd347c001a0ee82fef17052806739dabd32 | 1,897 | css | CSS | data/usercss/145365.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 118 | 2020-08-28T19:59:28.000Z | 2022-03-26T16:28:40.000Z | data/usercss/145365.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 38 | 2020-09-02T01:08:45.000Z | 2022-01-23T02:47:24.000Z | data/usercss/145365.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 21 | 2020-08-19T01:12:43.000Z | 2022-03-15T21:55:17.000Z | /* ==UserStyle==
@name SAMIE ROSA
@namespace USO Archive
@author Ahlai Flores
@description `Es el samie rosa, solo para los conocedores`
@version 20171108.20.58
@license CC0-1.0
@preprocessor uso
==/UserStyle== */
@-moz-document url("http://samie.prepaenlinea.sep.gob.mx/princip... | 25.986301 | 155 | 0.603057 |
b1ac1f48ac6448212ace1a5032b7f87b18f8707d | 2,704 | ps1 | PowerShell | setup-eventsubscription.ps1 | ayuina/azure-function-cicd | e8d972cb80a5ac621b47078dbc1e2f0442e1311c | [
"MIT"
] | null | null | null | setup-eventsubscription.ps1 | ayuina/azure-function-cicd | e8d972cb80a5ac621b47078dbc1e2f0442e1311c | [
"MIT"
] | null | null | null | setup-eventsubscription.ps1 | ayuina/azure-function-cicd | e8d972cb80a5ac621b47078dbc1e2f0442e1311c | [
"MIT"
] | null | null | null | [CmdletBinding]
$rgname = "$env:prefix-rg"
$funcappname = "$env:prefix-func"
$funcname = "thumbnail"
$strname = "{0}str" -f $env:prefix.Replace('-', '')
$container = "images"
### https://ronaldwildenberg.com/azure/2018/03/08/simple-way-to-get-arm-access-token-powershell.html
write-host "retrieving access token "
$t... | 41.6 | 121 | 0.713018 |
ea0b6867bedf4c1d52e1c7faf4b8f7d180cf0c90 | 8,645 | dart | Dart | lib/layouts/widgets/message_widget/message_content/message_attachment.dart | Morpheus636/bluebubbles-app-workflow-testing | af5c16fa863234d7a93339616490d97e7ea3f229 | [
"Apache-2.0"
] | null | null | null | lib/layouts/widgets/message_widget/message_content/message_attachment.dart | Morpheus636/bluebubbles-app-workflow-testing | af5c16fa863234d7a93339616490d97e7ea3f229 | [
"Apache-2.0"
] | null | null | null | lib/layouts/widgets/message_widget/message_content/message_attachment.dart | Morpheus636/bluebubbles-app-workflow-testing | af5c16fa863234d7a93339616490d97e7ea3f229 | [
"Apache-2.0"
] | null | null | null | import 'package:bluebubbles/helpers/attachment_downloader.dart';
import 'package:bluebubbles/helpers/attachment_helper.dart';
import 'package:bluebubbles/helpers/navigator.dart';
import 'package:bluebubbles/helpers/ui_helpers.dart';
import 'package:bluebubbles/helpers/utils.dart';
import 'package:bluebubbles/layouts/wi... | 35.871369 | 127 | 0.595489 |
d93dfde36d56cbfb4bcb07cce5ace61a56237e9a | 284 | asm | Assembly | src/mods/tiberium4_blocks_infantry.asm | mvdhout1992/ts-patches | a426970abeb6993eea6703d1a756fd74489ffed2 | [
"MIT"
] | 33 | 2016-07-30T14:17:28.000Z | 2021-12-19T15:45:19.000Z | src/mods/tiberium4_blocks_infantry.asm | A-Productions/ts-patches | 326db731f7226d9e803feab475777c730688634e | [
"MIT"
] | 73 | 2018-08-17T00:25:19.000Z | 2021-05-10T08:31:15.000Z | src/mods/tiberium4_blocks_infantry.asm | A-Productions/ts-patches | 326db731f7226d9e803feab475777c730688634e | [
"MIT"
] | 18 | 2017-05-16T11:28:06.000Z | 2022-03-20T20:41:03.000Z | ; Infantry Cannot Walk Over Tiberium 4
; OverlayTypes indexes 27 to 38 (fourth Tiberium images) are hardcoded to be
; impassable by infantry. This hack removes this.
; Author: AlexB
; Date: 2016-11-24
%include "macros/patch.inc"
@SJMP 0x004D54E7, 0x004D5507; jmp short loc_4D5507
| 23.666667 | 76 | 0.764085 |
41a42ee6fbe8feddba9907975f66761d6906644f | 114,728 | h | C | sdk/sdk/driver/openvg/iteHardware.h | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | 1 | 2021-10-09T08:05:50.000Z | 2021-10-09T08:05:50.000Z | sdk/sdk/driver/openvg/iteHardware.h | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | null | null | null | sdk/sdk/driver/openvg/iteHardware.h | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | null | null | null | /*
*/
#ifndef __ITEHARDWARE_H
#define __ITEHARDWARE_H
#include "openvg.h"
#include "iteDefs.h"
#include "iteVectors.h"
#include "itePath.h"
/* ======================================== */
/* ITE Register */
/* ======================================== */
//==============================... | 30.651349 | 168 | 0.540627 |
9dbf3158796313c801058fe68f2ab643bf1d4801 | 906 | lua | Lua | tkx_test/tkx_cluster2.lua | tangkx/skynet | 56405030e788a949cbfbd46d8a18573cc582ee51 | [
"MIT"
] | null | null | null | tkx_test/tkx_cluster2.lua | tangkx/skynet | 56405030e788a949cbfbd46d8a18573cc582ee51 | [
"MIT"
] | null | null | null | tkx_test/tkx_cluster2.lua | tangkx/skynet | 56405030e788a949cbfbd46d8a18573cc582ee51 | [
"MIT"
] | null | null | null | local skynet = require "skynet"
local cluster = require "cluster"
skynet.start(function ()
-- body
--cluster.open "db1"
local sdb = cluster.query("db","sdb")
local mysqldb = cluster.query("db1","mysqldb")
print("......sdb= ",sdb)
print("......mysqldb",mysqldb)
local proxy = cluster.proxy("db",sdb)
local my... | 25.166667 | 64 | 0.633554 |
f4bb6e86a63fa8821fcc3acfdbc573b81bc77fd5 | 2,016 | go | Go | repository/postgres/auth_token.go | partyzanex/go-admin-lte | 811e56a792fc40d712d382dc1a1356c01211b85d | [
"MIT"
] | 3 | 2020-06-30T08:34:48.000Z | 2021-02-16T07:38:08.000Z | repository/postgres/auth_token.go | partyzanex/go-admin-bootstrap | 811e56a792fc40d712d382dc1a1356c01211b85d | [
"MIT"
] | null | null | null | repository/postgres/auth_token.go | partyzanex/go-admin-bootstrap | 811e56a792fc40d712d382dc1a1356c01211b85d | [
"MIT"
] | null | null | null | package postgres
import (
"context"
"database/sql"
"github.com/partyzanex/go-admin-bootstrap/db/models/postgres"
"github.com/partyzanex/layer"
"github.com/pkg/errors"
"github.com/volatiletech/sqlboiler/v4/boil"
"github.com/volatiletech/sqlboiler/v4/queries/qm"
goadmin "github.com/partyzanex/go-admin-bootstra... | 23.44186 | 119 | 0.71131 |
2a86a98adc20b37cf7d7e898a5e307a433b7ec3a | 5,068 | java | Java | source-kafka/src/main/java/org/apache/kylin/source/kafka/util/KafkaSampleProducer.java | aixuebo/lin1.5.4 | 33341bb2c23a5c860891650b0470e8dc47a316de | [
"Apache-2.0"
] | null | null | null | source-kafka/src/main/java/org/apache/kylin/source/kafka/util/KafkaSampleProducer.java | aixuebo/lin1.5.4 | 33341bb2c23a5c860891650b0470e8dc47a316de | [
"Apache-2.0"
] | 10 | 2019-12-26T18:23:30.000Z | 2022-01-21T23:12:07.000Z | source-kafka/src/main/java/org/apache/kylin/source/kafka/util/KafkaSampleProducer.java | Qstar/kylin | b02363adf6f5c1c85e2b24474de9f1b14996bf25 | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 40.222222 | 168 | 0.680742 |
91562b834aa4f3356749e38496dcad31fb2b4d48 | 1,907 | html | HTML | public/index.html | stories2/KangnamShuttle | c0b5bd98ba640638e8a6039464ebb53921f16343 | [
"MIT"
] | null | null | null | public/index.html | stories2/KangnamShuttle | c0b5bd98ba640638e8a6039464ebb53921f16343 | [
"MIT"
] | 6 | 2018-04-25T00:38:49.000Z | 2018-12-13T04:53:18.000Z | public/index.html | stories2/KangnamShuttle | c0b5bd98ba640638e8a6039464ebb53921f16343 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>강남대학교 달구지봇 구버전</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.container {
text-align: center;
display: table-cell;
vertical-align: middle;
}
... | 27.242857 | 167 | 0.486104 |
d5ca1447cf19d30854a04d783921c3f3bcc5846c | 522 | sql | SQL | 1000genomes/sql/reproducing-vcfstats/sample-indel-counts-brca1.sql | googlegenomics/bigquery-examples | df7429b718cd3c2cbc305daa70a1e49166028179 | [
"Apache-2.0"
] | 72 | 2015-01-27T07:36:46.000Z | 2022-01-15T20:03:51.000Z | 1000genomes/sql/reproducing-vcfstats/sample-indel-counts-brca1.sql | deflaux/bigquery-examples | 1780090e0dc0ae1fbb6c9e231569d2887d956468 | [
"Apache-2.0"
] | 17 | 2015-01-10T01:39:10.000Z | 2017-03-02T18:19:23.000Z | 1000genomes/sql/reproducing-vcfstats/sample-indel-counts-brca1.sql | deflaux/bigquery-examples | 1780090e0dc0ae1fbb6c9e231569d2887d956468 | [
"Apache-2.0"
] | 23 | 2015-02-14T00:24:27.000Z | 2020-12-11T12:15:22.000Z | # Sample INDEL counts for BRCA1.
SELECT
COUNT(sample_id) AS variant_count,
sample_id,
FROM (
SELECT
call.call_set_name AS sample_id,
NTH(1,
call.genotype) WITHIN call AS first_allele,
NTH(2,
call.genotype) WITHIN call AS second_allele,
FROM
[genomics-public-data:1000_genomes.variants... | 20.076923 | 50 | 0.693487 |
e9c9a68c9024fad2c2ea14e6225c5f05b41a0a73 | 767 | go | Go | interfacegroup/InterfaceGroup.go | Aman2708/management-sdk-go | b22604114000c789c050ecd5ac4ecc001746803c | [
"Apache-2.0"
] | 1 | 2020-10-14T13:32:56.000Z | 2020-10-14T13:32:56.000Z | interfacegroup/InterfaceGroup.go | Aman2708/management-sdk-go | b22604114000c789c050ecd5ac4ecc001746803c | [
"Apache-2.0"
] | null | null | null | interfacegroup/InterfaceGroup.go | Aman2708/management-sdk-go | b22604114000c789c050ecd5ac4ecc001746803c | [
"Apache-2.0"
] | 4 | 2019-04-11T21:52:59.000Z | 2021-10-01T06:43:05.000Z | package interfacegroup
import "github.com/cohesity/management-sdk-go/models"
import "github.com/cohesity/management-sdk-go/configuration"
/*
* Interface for the INTERFACEGROUP_IMPL
*/
type INTERFACEGROUP interface {
GetInterfaceGroups () ([]*models.InterfaceGroup, error)
DeleteInterfaceGroup (st... | 28.407407 | 82 | 0.750978 |
a6cac03b5d503ca491afbee4d97bba32adb018f4 | 1,675 | dart | Dart | lib/src/pages/book-store/detail-book/widgets/information.dart | Goner01/flutter-samples | fb0544ae7867e2a4269a05492aaca2719333c004 | [
"MIT"
] | null | null | null | lib/src/pages/book-store/detail-book/widgets/information.dart | Goner01/flutter-samples | fb0544ae7867e2a4269a05492aaca2719333c004 | [
"MIT"
] | null | null | null | lib/src/pages/book-store/detail-book/widgets/information.dart | Goner01/flutter-samples | fb0544ae7867e2a4269a05492aaca2719333c004 | [
"MIT"
] | null | null | null | part of 'widgets.dart';
class Information extends StatelessWidget {
const Information({
required this.size,
required this.price,
required this.autor,
required this.title,
});
final Size size;
final String price;
final String autor;
final String title;
@override
Widget build(BuildConte... | 25 | 79 | 0.463284 |
1049c85c3f563ed9dfb7ffbbf7930bfb5f5a1085 | 279 | dart | Dart | lib/utils/radii.dart | thindek/thindek_ui | 70b7f9703ed58ae4830786ebf285beffa69b5c07 | [
"BSD-3-Clause"
] | 1 | 2021-03-28T15:49:01.000Z | 2021-03-28T15:49:01.000Z | lib/utils/radii.dart | thindek/thindek_ui | 70b7f9703ed58ae4830786ebf285beffa69b5c07 | [
"BSD-3-Clause"
] | null | null | null | lib/utils/radii.dart | thindek/thindek_ui | 70b7f9703ed58ae4830786ebf285beffa69b5c07 | [
"BSD-3-Clause"
] | null | null | null | part of thindek_ui;
class TDKRadii {
static const BorderRadiusGeometry r6 = BorderRadius.all(Radius.circular(6));
static const BorderRadiusGeometry r10 = BorderRadius.all(Radius.circular(10));
static const BorderRadiusGeometry r0 = BorderRadius.all(Radius.circular(0));
}
| 34.875 | 80 | 0.78853 |
fb97ac3a209768b3b5b8307a36c9c72e53ecb127 | 9,009 | java | Java | cas-client-core/src/main/java/org/jasig/cas/client/validation/Cas20ProxyReceivingTicketValidationFilter.java | serac/java-cas-client | 7345e03a6f4b430bd9bbc83603b2ab0fd43aec05 | [
"Apache-2.0"
] | null | null | null | cas-client-core/src/main/java/org/jasig/cas/client/validation/Cas20ProxyReceivingTicketValidationFilter.java | serac/java-cas-client | 7345e03a6f4b430bd9bbc83603b2ab0fd43aec05 | [
"Apache-2.0"
] | null | null | null | cas-client-core/src/main/java/org/jasig/cas/client/validation/Cas20ProxyReceivingTicketValidationFilter.java | serac/java-cas-client | 7345e03a6f4b430bd9bbc83603b2ab0fd43aec05 | [
"Apache-2.0"
] | null | null | null | /**
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in co... | 43.73301 | 451 | 0.725164 |
682e6803945eebfa9ae46f2b5bc8a14eeee9ee5a | 8,303 | dart | Dart | packages/aws_signature_v4/test/s3/testdata/single_chunk_testdata.dart | Bitacora-io/amplify-flutter | 8c5b9a051b1552617afdf943a27054c5144bb44c | [
"Apache-2.0"
] | null | null | null | packages/aws_signature_v4/test/s3/testdata/single_chunk_testdata.dart | Bitacora-io/amplify-flutter | 8c5b9a051b1552617afdf943a27054c5144bb44c | [
"Apache-2.0"
] | null | null | null | packages/aws_signature_v4/test/s3/testdata/single_chunk_testdata.dart | Bitacora-io/amplify-flutter | 8c5b9a051b1552617afdf943a27054c5144bb44c | [
"Apache-2.0"
] | null | null | null | // Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unle... | 32.057915 | 249 | 0.741539 |
67489442c9b81915cb229031fdfae014b7266816 | 1,635 | sql | SQL | db_siswa.sql | 1005200/report-file-excel | ddc920ce1b96109aedd6e1328fa2073bf7dcd0ae | [
"MIT"
] | null | null | null | db_siswa.sql | 1005200/report-file-excel | ddc920ce1b96109aedd6e1328fa2073bf7dcd0ae | [
"MIT"
] | null | null | null | db_siswa.sql | 1005200/report-file-excel | ddc920ce1b96109aedd6e1328fa2073bf7dcd0ae | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 29, 2021 at 09:59 AM
-- Server version: 10.4.18-MariaDB
-- PHP Version: 8.0.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIEN... | 23.357143 | 83 | 0.672783 |
aa550ab6dd28ac31a4141b78a96326d97d5e444c | 2,344 | swift | Swift | LifeCycle/VC/SwiftXibVC.swift | coolboy-ccp/LifeCycle | 51804406cc45124759b3082ee3f8ebcdf6d61c7c | [
"MIT"
] | null | null | null | LifeCycle/VC/SwiftXibVC.swift | coolboy-ccp/LifeCycle | 51804406cc45124759b3082ee3f8ebcdf6d61c7c | [
"MIT"
] | null | null | null | LifeCycle/VC/SwiftXibVC.swift | coolboy-ccp/LifeCycle | 51804406cc45124759b3082ee3f8ebcdf6d61c7c | [
"MIT"
] | null | null | null | //
// SwiftXibVC.swift
// LifeCycle
//
// Created by clobotics_ccp on 2019/9/4.
// Copyright © 2019 cool-ccp. All rights reserved.
//
import UIKit
class SwiftXibVC: UIViewController {
override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
super.init(nibName: nibNameOrNil, bund... | 25.758242 | 123 | 0.606229 |
0a2c233d0fc9303a7f9d330d364bb72b04bae660 | 1,825 | ts | TypeScript | src/controllers/task.ts | Luifr/DomesticTasksBot | 9e951586acbdc935920f9e28569515b13b29bac4 | [
"MIT"
] | null | null | null | src/controllers/task.ts | Luifr/DomesticTasksBot | 9e951586acbdc935920f9e28569515b13b29bac4 | [
"MIT"
] | null | null | null | src/controllers/task.ts | Luifr/DomesticTasksBot | 9e951586acbdc935920f9e28569515b13b29bac4 | [
"MIT"
] | null | null | null | import { ITask, ITaskToCreate } from '../models/task';
import * as uuid from 'uuid';
import { parseDate } from '../helpers/date';
export class TaskController {
constructor(private infoDoc: FirebaseFirestore.DocumentReference) { }
getAll = async (): Promise<ITask[]> => {
const data = (await this.infoDoc.get()... | 26.449275 | 82 | 0.584658 |
b60c6cd6c1c8bb659fe5f816e8fbc769efda793b | 2,648 | swift | Swift | Pods/SwiftGRPC/Sources/SwiftGRPC/Runtime/ServerSessionServerStreaming.swift | Eskyee/zap-iOS | dbf40a53131b7f4f4cdfa269020e559df90a0140 | [
"MIT"
] | 1,699 | 2017-05-06T02:22:00.000Z | 2022-03-30T07:51:03.000Z | Pods/SwiftGRPC/Sources/SwiftGRPC/Runtime/ServerSessionServerStreaming.swift | guruantree/MacAssistant | 21c4537fbedaab1a3be28daef578ad8d91cf8604 | [
"MIT"
] | 330 | 2018-07-24T18:41:20.000Z | 2022-03-19T07:46:32.000Z | Pods/SwiftGRPC/Sources/SwiftGRPC/Runtime/ServerSessionServerStreaming.swift | guruantree/MacAssistant | 21c4537fbedaab1a3be28daef578ad8d91cf8604 | [
"MIT"
] | 180 | 2017-05-18T22:28:37.000Z | 2022-03-28T12:28:04.000Z | /*
* Copyright 2018, gRPC Authors 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 required by appli... | 36.777778 | 150 | 0.748867 |
4f5e7be92ae3319b1960e9f36f0848b2055eb3d4 | 2,387 | asm | Assembly | projects/08/FunctionCalls/FibonacciElement/FibonacciElement.asm | WuShaoa/Nand2Tetris | 1e650b3442aa5c9302837596651cbc66edc629ec | [
"MIT"
] | null | null | null | projects/08/FunctionCalls/FibonacciElement/FibonacciElement.asm | WuShaoa/Nand2Tetris | 1e650b3442aa5c9302837596651cbc66edc629ec | [
"MIT"
] | null | null | null | projects/08/FunctionCalls/FibonacciElement/FibonacciElement.asm | WuShaoa/Nand2Tetris | 1e650b3442aa5c9302837596651cbc66edc629ec | [
"MIT"
] | null | null | null | @256
D=A
@SP
M=D
@__Sys.init$return1__
D=A
@SP
A=M
M=D
@SP
M=M+1
@LCL
D=M
@SP
A=M
M=D
@SP
M=M+1
@ARG
D=M
@SP
A=M
M=D
@SP
M=M+1
@THIS
D=M
@SP
A=M
M=D
@SP
M=M+1
@THAT
D=M
@SP
A=M
M=D
@SP
M=M+1
@SP
D=M
@0
D=D-A
@5
D=D-A
@ARG
M=D
@SP
D=M
@LCL
M=D
@Sys.init
0;JMP
(__Sys.init$return1__)
(Main.fibonacci)
@ARG
D=M
@0
A=D+A
D=M... | 5.304444 | 28 | 0.57478 |
2a23569137079e9c9f40b9e9057fcc2a190fe152 | 1,701 | java | Java | vibes-core/src/main/java/be/vibes/ts/io/xml/UsageModelPrinter.java | xdevroey/vibes | 6afcf98708354dc96af2914bb717c002c84a1079 | [
"Apache-2.0"
] | 1 | 2017-11-30T19:07:11.000Z | 2017-11-30T19:07:11.000Z | vibes-core/src/main/java/be/vibes/ts/io/xml/UsageModelPrinter.java | xdevroey/vibes | 6afcf98708354dc96af2914bb717c002c84a1079 | [
"Apache-2.0"
] | 13 | 2018-02-06T10:48:06.000Z | 2018-11-08T12:11:52.000Z | vibes-core/src/main/java/be/vibes/ts/io/xml/UsageModelPrinter.java | xdevroey/vibes | 6afcf98708354dc96af2914bb717c002c84a1079 | [
"Apache-2.0"
] | 3 | 2017-11-30T19:07:32.000Z | 2019-07-25T18:58:27.000Z | package be.vibes.ts.io.xml;
/*-
* #%L
* VIBeS: core
* %%
* Copyright (C) 2014 - 2018 University of Namur
* %%
* 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.apa... | 31.5 | 100 | 0.726631 |
8cebe6c571efb1f4cc3f07393ebc39f24e830a45 | 1,799 | lua | Lua | accounts.lua | dustinengle/coin | ee9d8abeed26ada154e7c32f632014cf300e3269 | [
"MIT"
] | 6 | 2016-10-29T00:23:40.000Z | 2019-06-23T03:18:16.000Z | accounts.lua | dustinengle/coin | ee9d8abeed26ada154e7c32f632014cf300e3269 | [
"MIT"
] | null | null | null | accounts.lua | dustinengle/coin | ee9d8abeed26ada154e7c32f632014cf300e3269 | [
"MIT"
] | null | null | null |
--- Accounts
accounts = {}
--- The list of players with accounts.
accounts.players = {}
--- Return the current balance for a player.
function accounts:balance(uuid)
self:check(uuid)
return self.players[uuid] or 0.00
end
--- Check if an account is in the system
-- if not then create it. Will be saved on exit.
f... | 22.772152 | 61 | 0.67871 |
f060f41b082dd8ad8916be9f066a2d7f5a4d15bb | 266 | js | JavaScript | crates/swc/tests/tsc-references/jsDeclarationsFunctionKeywordProp_es5.1.normal.js | g-plane/swc | fc9622f779c60d9006ed54710b13b127674c6574 | [
"Apache-2.0"
] | 2 | 2022-01-27T13:37:46.000Z | 2022-03-05T02:38:25.000Z | crates/swc/tests/tsc-references/jsDeclarationsFunctionKeywordProp_es5.1.normal.js | g-plane/swc | fc9622f779c60d9006ed54710b13b127674c6574 | [
"Apache-2.0"
] | null | null | null | crates/swc/tests/tsc-references/jsDeclarationsFunctionKeywordProp_es5.1.normal.js | g-plane/swc | fc9622f779c60d9006ed54710b13b127674c6574 | [
"Apache-2.0"
] | null | null | null | // @allowJs: true
// @checkJs: true
// @target: es5
// @outDir: ./out
// @declaration: true
// @filename: source.js
function foo() {
}
foo.null = true;
function bar() {
}
bar.async = true;
bar.normal = false;
function baz() {
}
baz.class = true;
baz.normal = false;
| 14.777778 | 23 | 0.62782 |
0f3be2f3bb62b65c4f81e2a650836809cb471403 | 8,215 | lua | Lua | nvim/lua/modules/plugins/packer.lua | jarmex/myconfig | 54fd4173ccf8f72637e65c9efa0de32910e61116 | [
"MIT"
] | null | null | null | nvim/lua/modules/plugins/packer.lua | jarmex/myconfig | 54fd4173ccf8f72637e65c9efa0de32910e61116 | [
"MIT"
] | null | null | null | nvim/lua/modules/plugins/packer.lua | jarmex/myconfig | 54fd4173ccf8f72637e65c9efa0de32910e61116 | [
"MIT"
] | null | null | null | -- adopted from https://github.com/n3wborn/nvim/blob/main/lua/modules/plugins/packer.lua
-- local cmd = vim.api.nvim_command
local install_path = vim.fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim"
local fn = vim.fn
-- install packer if needed
if fn.empty(fn.glob(install_path)) > 0 then
packer_bootstrap ... | 20.184275 | 95 | 0.649178 |
d2c9c55e54223ade9ac115e2bce006e8050564d5 | 156 | php | PHP | tests/Passes/MinifyVarsTest.php | s9e/SourceOptimizer | 71d47fe169b04bdb33c28e745b41f1de223a2f1c | [
"MIT"
] | 1 | 2015-01-15T11:08:15.000Z | 2015-01-15T11:08:15.000Z | tests/Passes/MinifyVarsTest.php | s9e/SourceOptimizer | 71d47fe169b04bdb33c28e745b41f1de223a2f1c | [
"MIT"
] | null | null | null | tests/Passes/MinifyVarsTest.php | s9e/SourceOptimizer | 71d47fe169b04bdb33c28e745b41f1de223a2f1c | [
"MIT"
] | null | null | null | <?php
namespace s9e\SourceOptimizer\Tests\Passes;
/**
* @covers s9e\SourceOptimizer\Passes\MinifyVars
*/
class MinifyVarsTest extends AbstractPassTest
{
} | 15.6 | 47 | 0.788462 |
2a69726fee70d0ae76786cccc604fe9b5bfe5391 | 4,388 | sql | SQL | timesheet.sql | Apranta/timesheet | 17a05ca58fb9e6d97917504b7e707836ee5b9e9f | [
"MIT"
] | 1 | 2020-05-07T15:10:11.000Z | 2020-05-07T15:10:11.000Z | timesheet.sql | Apranta/timesheet | 17a05ca58fb9e6d97917504b7e707836ee5b9e9f | [
"MIT"
] | null | null | null | timesheet.sql | Apranta/timesheet | 17a05ca58fb9e6d97917504b7e707836ee5b9e9f | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 19 Apr 2020 pada 16.57
-- Versi server: 10.4.11-MariaDB
-- Versi PHP: 7.3.14
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHAR... | 24.377778 | 191 | 0.639699 |
510fe38cee791939ab3c516b15051241ca9f8044 | 1,077 | h | C | src/mlib/utils.imp.h | michaelo/pros | c3e30fcf825a2661a76afd083a85814604b65bf1 | [
"MIT"
] | 1 | 2021-01-13T09:31:57.000Z | 2021-01-13T09:31:57.000Z | src/mlib/utils.imp.h | michaelo/prosit | c3e30fcf825a2661a76afd083a85814604b65bf1 | [
"MIT"
] | null | null | null | src/mlib/utils.imp.h | michaelo/prosit | c3e30fcf825a2661a76afd083a85814604b65bf1 | [
"MIT"
] | null | null | null | #pragma once
#include <cstdio>
#include <cstring>
#include <cassert>
#include "defer.imp.h"
#ifdef _WIN32
inline char* strtok_r(char* str, const char* sep, char** save)
{
return strtok_s(str, sep, save);
}
#endif
inline char *file_to_buf(const char *path, size_t *size_out = nullptr)
{
// TODO: Consider rb ... | 20.711538 | 77 | 0.613742 |
b89f358b7ed1bf4e1c6a187be2339d5a9665d671 | 2,216 | html | HTML | layouts/index.html | PaleBlueYk/hugo-theme-white | f9788b92a1b88da87271752a175205a344db6bfe | [
"MIT"
] | 1 | 2020-08-12T01:33:58.000Z | 2020-08-12T01:33:58.000Z | layouts/index.html | PaleBlueYk/hugo-theme-white | f9788b92a1b88da87271752a175205a344db6bfe | [
"MIT"
] | null | null | null | layouts/index.html | PaleBlueYk/hugo-theme-white | f9788b92a1b88da87271752a175205a344db6bfe | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="zh-Hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ .Site.Title }}</title>
<link rel="shortcut icon" href="{{"img/favicon.png" |absURL}}" type="image/x-icon">
<link rel="stylesheet" href="{{ "css/index.css" |absU... | 35.741935 | 148 | 0.570848 |
dfe2eb07482405f7584fe230f41b6bacf67fd697 | 13,616 | ts | TypeScript | src/core/utils/easing.ts | boomfun/BFDanmaku | 2670d03766dc378d68a55a292de90371b29e645b | [
"MIT"
] | 13 | 2020-05-11T12:56:26.000Z | 2021-01-24T06:30:08.000Z | src/core/utils/easing.ts | boomfun/BFDanmaku | 2670d03766dc378d68a55a292de90371b29e645b | [
"MIT"
] | null | null | null | src/core/utils/easing.ts | boomfun/BFDanmaku | 2670d03766dc378d68a55a292de90371b29e645b | [
"MIT"
] | 2 | 2020-06-15T13:48:50.000Z | 2021-01-19T08:06:19.000Z | import { TransitionType } from "../static/static";
import { Log } from "./log";
/**
* 缓动函数类
*
* @export
* @class Easing
*/
// const S = 1.70158;
export class Easing {
public static getEasingFunc(type: TransitionType) {
switch (type) {
case TransitionType.none:
return Easing.none;
case Tr... | 37.927577 | 114 | 0.587911 |
a737a67d061c62507818cd23924da483b56c3c40 | 7,930 | sql | SQL | src/taskforce_schema.sql | M2rk13/PHP-Complex-web-services-architecture-Yii2 | 1471fea33d51cc4c5094ed29b6dbed81eaf21178 | [
"BSD-3-Clause"
] | null | null | null | src/taskforce_schema.sql | M2rk13/PHP-Complex-web-services-architecture-Yii2 | 1471fea33d51cc4c5094ed29b6dbed81eaf21178 | [
"BSD-3-Clause"
] | 1 | 2021-07-16T05:24:11.000Z | 2021-07-16T05:24:11.000Z | src/taskforce_schema.sql | M2rk13/PHP-Complex-web-services-architecture-Yii2 | 1471fea33d51cc4c5094ed29b6dbed81eaf21178 | [
"BSD-3-Clause"
] | 1 | 2021-06-14T10:22:18.000Z | 2021-06-14T10:22:18.000Z | DROP SCHEMA IF EXISTS taskforce;
CREATE SCHEMA taskforce
DEFAULT CHARACTER SET UTF8MB4
DEFAULT COLLATE utf8mb4_general_ci;
USE taskforce;
SET default_storage_engine=InnoDB;
CREATE TABLE category
(
id int NOT NULL AUTO_INCREMENT PRIMARY KEY,
name varchar(64) NOT NULL,
icon varchar(128)
) COMMENT '... | 48.353659 | 258 | 0.721059 |
f6ddfd13e043e5dd98ce84336c769981c2e0c751 | 6,301 | swift | Swift | TweetTweet/DetailViewController.swift | JenniferShola/TweetTweet | 92142a3b51526dd7d339334e1960e74031f93f86 | [
"Apache-2.0"
] | 1 | 2017-11-29T02:31:08.000Z | 2017-11-29T02:31:08.000Z | TweetTweet/DetailViewController.swift | JenniferShola/TweetTweet | 92142a3b51526dd7d339334e1960e74031f93f86 | [
"Apache-2.0"
] | null | null | null | TweetTweet/DetailViewController.swift | JenniferShola/TweetTweet | 92142a3b51526dd7d339334e1960e74031f93f86 | [
"Apache-2.0"
] | null | null | null | //
// DetailViewController.swift
// TweetTweet
//
// Created by Shola Oyedele on 10/28/16.
// Copyright © 2016 Jennifer Shola. All rights reserved.
//
import UIKit
class DetailViewController: UIViewController {
@IBOutlet weak var profileImageView: UIImageView!
@IBOutlet weak var userNameLabel: UILabel!
... | 40.391026 | 151 | 0.589906 |
ddf18360643067003095004ba0dd277d2d5e5592 | 759 | php | PHP | src/ATPViz/DataSource/DatabaseQuery.php | DaemonAlchemist/atp-viz | abcf278cdee708aa52cd5ca59f32b186cebd9f2c | [
"MIT"
] | null | null | null | src/ATPViz/DataSource/DatabaseQuery.php | DaemonAlchemist/atp-viz | abcf278cdee708aa52cd5ca59f32b186cebd9f2c | [
"MIT"
] | null | null | null | src/ATPViz/DataSource/DatabaseQuery.php | DaemonAlchemist/atp-viz | abcf278cdee708aa52cd5ca59f32b186cebd9f2c | [
"MIT"
] | null | null | null | <?php
namespace ATPViz\DataSource;
class DatabaseQuery extends AbstractDataSource
{
public function getData()
{
$options = $this->getOptions();
$db = $this->get($options['adapter']);
$results = $db->query($options['query'])->execute();
$indVar = isset($options['indVar']) ? $options['indVar... | 17.651163 | 67 | 0.534914 |