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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
be7a7c779c59636c6d7d5ad918492ceef091c65a | 5,187 | sql | SQL | migrations/versions/b3e73cf868d6.sql | kokes/ockovani-covid | 09810ccf187a22b7a5bb5aeae6156b62175fbda7 | [
"Apache-2.0"
] | 62 | 2021-01-16T18:02:57.000Z | 2022-01-12T21:10:34.000Z | migrations/versions/b3e73cf868d6.sql | kokes/ockovani-covid | 09810ccf187a22b7a5bb5aeae6156b62175fbda7 | [
"Apache-2.0"
] | 224 | 2021-01-16T19:11:01.000Z | 2022-03-15T19:42:37.000Z | migrations/versions/b3e73cf868d6.sql | kokes/ockovani-covid | 09810ccf187a22b7a5bb5aeae6156b62175fbda7 | [
"Apache-2.0"
] | 13 | 2021-01-16T18:38:11.000Z | 2021-07-02T20:09:47.000Z | CREATE TABLE public.ockovani_registrace_part
(
datum date NOT NULL,
ockovaci_misto_id character varying COLLATE pg_catalog."default" NOT NULL,
vekova_skupina character varying COLLATE pg_catalog."default" NOT NULL,
povolani character varying COLLATE pg_catalog."default" NOT NULL,
stat character vary... | 92.625 | 155 | 0.839792 |
67b34ca8fcd911e380888f5404211be678d68592 | 748 | rs | Rust | build.rs | Freaky/nomino | 09234704cc6bb070c417bdf9b87c6460ef7a4c29 | [
"Apache-2.0",
"MIT"
] | 406 | 2020-04-17T10:36:01.000Z | 2022-03-21T20:38:39.000Z | build.rs | Freaky/nomino | 09234704cc6bb070c417bdf9b87c6460ef7a4c29 | [
"Apache-2.0",
"MIT"
] | 10 | 2020-04-18T19:51:09.000Z | 2022-02-15T03:25:11.000Z | build.rs | Freaky/nomino | 09234704cc6bb070c417bdf9b87c6460ef7a4c29 | [
"Apache-2.0",
"MIT"
] | 14 | 2020-04-18T02:04:28.000Z | 2022-01-28T13:12:36.000Z | use std::fs::File;
use std::io::prelude::*;
fn main() -> std::io::Result<()> {
// Read template file
let mut template = File::open("data/opts-template.yml")?;
let mut template_contents = String::new();
template.read_to_string(&mut template_contents)?;
// Replace metadata from Cargo.toml
templa... | 31.166667 | 65 | 0.63369 |
0df880a04be7e74da773daf4d638116fd3640da6 | 552 | rb | Ruby | core/config/routes.rb | appotry/cloud_wordpress | b89f027ce3c7a82972d8279e70faf8ffee96749a | [
"MIT"
] | 23 | 2020-08-19T08:24:07.000Z | 2022-03-02T22:22:31.000Z | core/config/routes.rb | just0911/cloud_wordpress | 04678f3f51ba1422ad2f61617255cd6cf69005f8 | [
"MIT"
] | null | null | null | core/config/routes.rb | just0911/cloud_wordpress | 04678f3f51ba1422ad2f61617255cd6cf69005f8 | [
"MIT"
] | 11 | 2020-08-19T11:40:29.000Z | 2022-03-09T02:54:45.000Z | Wordpress::Core::Engine.add_routes do
if defined? authenticate
require 'sidekiq/web'
authenticate :admin_user, lambda { |u| u.admin? } do
mount Sidekiq::Web => '/sidekiq'
end
end
match '/api/v1', to: 'api#show', as: :api, via: [:get, :post]
get '/api/v1/code', to: ... | 36.8 | 75 | 0.608696 |
e024cfd515477308d1dc633537765587c72684e9 | 25,925 | c | C | src/sg_senddiag.c | ystk/debian-sg3-utils | 9ce112d2b919f8c33952b92975daf6d80d9e81ed | [
"DOC"
] | null | null | null | src/sg_senddiag.c | ystk/debian-sg3-utils | 9ce112d2b919f8c33952b92975daf6d80d9e81ed | [
"DOC"
] | null | null | null | src/sg_senddiag.c | ystk/debian-sg3-utils | 9ce112d2b919f8c33952b92975daf6d80d9e81ed | [
"DOC"
] | null | null | null | #include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <getopt.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "sg_lib.h"
#include "sg_cmds_basic.h"
#include "sg_cmds_extra.h"
/* A utility program originally written for the Linux OS SC... | 33.581606 | 79 | 0.4427 |
1bad3ded437009a78529873ac34b46358e08fbc8 | 988 | swift | Swift | Kapesni zachranar/View/Subclass/UITableViewCell/CustomTableViewCell.swift | MelicharT1/Kapesni_Zachranar | 7858ae0067d81387ef58802c614e8f8e3037593f | [
"MIT"
] | null | null | null | Kapesni zachranar/View/Subclass/UITableViewCell/CustomTableViewCell.swift | MelicharT1/Kapesni_Zachranar | 7858ae0067d81387ef58802c614e8f8e3037593f | [
"MIT"
] | null | null | null | Kapesni zachranar/View/Subclass/UITableViewCell/CustomTableViewCell.swift | MelicharT1/Kapesni_Zachranar | 7858ae0067d81387ef58802c614e8f8e3037593f | [
"MIT"
] | null | null | null | //
// CustomTableViewCell.swift
// Kapesni zachranar
//
// Created by Tomáš Melichar on 03/12/2019.
// Copyright © 2019 Tomáš Melichar. All rights reserved.
//
import UIKit
class CustomTableViewCell: UITableViewCell {
@IBOutlet private weak var nameLabelOutlet: UILabel!
@IBOutlet private weak var detailLa... | 27.444444 | 65 | 0.673077 |
fffa2095fabacdd14e246c7718536722f10c77eb | 272 | lua | Lua | EasyLD/love/LoveShader.lua | Goutye/EasyLD | 9015939902094279b6f504771366543ce827ea49 | [
"MIT"
] | null | null | null | EasyLD/love/LoveShader.lua | Goutye/EasyLD | 9015939902094279b6f504771366543ce827ea49 | [
"MIT"
] | null | null | null | EasyLD/love/LoveShader.lua | Goutye/EasyLD | 9015939902094279b6f504771366543ce827ea49 | [
"MIT"
] | null | null | null | local class = require 'EasyLD.lib.middleclass'
local Shader = class('Shader')
function Shader.static:useDefault()
love.graphics.setShader()
end
function Shader:initialize(code, vertexCode)
end
function Shader:use()
love.graphics.setShader(self.s)
end
return Shader | 16 | 46 | 0.779412 |
c48275d7bd69f5f138c89b4a20251267a824a99d | 290 | cpp | C++ | sand_box_6.cpp | gwamoniak/Cpp | b1815464412f8d282f578cbf3ecc4b07a480b7d3 | [
"MIT"
] | null | null | null | sand_box_6.cpp | gwamoniak/Cpp | b1815464412f8d282f578cbf3ecc4b07a480b7d3 | [
"MIT"
] | null | null | null | sand_box_6.cpp | gwamoniak/Cpp | b1815464412f8d282f578cbf3ecc4b07a480b7d3 | [
"MIT"
] | 1 | 2022-01-16T16:29:05.000Z | 2022-01-16T16:29:05.000Z | #include <utility>
#include <iostream>
#include <algorithm>
#include <vector>
#include <memory_resource>
constexpr double pow(const double x, std::size_t y)
{
return y!= 1 ? x*pow(x,y-1) :x;
}
int main()
{
auto out = pow(3.0,6);
std::cout << out << '\n';
return 0;
} | 13.181818 | 52 | 0.6 |
73d0ea256f6dfa76860ef50e43df223a91efc85a | 1,946 | php | PHP | src/Data/Unlike.php | creativechain/trantor-php | d71392777ef2e226143312e324a29a6aff476d48 | [
"Unlicense"
] | null | null | null | src/Data/Unlike.php | creativechain/trantor-php | d71392777ef2e226143312e324a29a6aff476d48 | [
"Unlicense"
] | null | null | null | src/Data/Unlike.php | creativechain/trantor-php | d71392777ef2e226143312e324a29a6aff476d48 | [
"Unlicense"
] | null | null | null | <?php
/**
* Created by PhpStorm.
* User: ander
* Date: 16/03/18
* Time: 14:57
*/
namespace Trantor\Data;
use Trantor\Constants;
class Unlike extends ContentData
{
/** @var string */
private $author;
/** @var string */
private $contentAddress;
/**
* Unlike constructor.
* @param... | 22.367816 | 77 | 0.581706 |
339b28896197598fcae6cf37062c21c9aac73a28 | 8,538 | c | C | lib/nnc/cmd/nms/ccv_nnc_nms_cpu_ref.c | neonkingfr/ccv | 579d21e9065d5378be4b21a4b9c0224327fb0a9f | [
"CC0-1.0",
"CC-BY-4.0"
] | 3,296 | 2015-01-01T02:05:51.000Z | 2022-03-31T00:29:55.000Z | lib/nnc/cmd/nms/ccv_nnc_nms_cpu_ref.c | neonkingfr/ccv | 579d21e9065d5378be4b21a4b9c0224327fb0a9f | [
"CC0-1.0",
"CC-BY-4.0"
] | 111 | 2015-01-12T15:55:58.000Z | 2022-01-05T18:13:11.000Z | lib/nnc/cmd/nms/ccv_nnc_nms_cpu_ref.c | neonkingfr/ccv | 579d21e9065d5378be4b21a4b9c0224327fb0a9f | [
"CC0-1.0",
"CC-BY-4.0"
] | 940 | 2015-01-02T02:21:34.000Z | 2022-03-24T23:27:43.000Z | #include "ccv.h"
#include "ccv_internal.h"
#include "nnc/ccv_nnc.h"
#include "nnc/ccv_nnc_easy.h"
#include "nnc/ccv_nnc_internal.h"
#ifdef USE_OPENMP
#include <omp.h>
#endif
#ifdef USE_DISPATCH
#include <dispatch/dispatch.h>
#endif
typedef struct {
float v[5];
} float5;
#define less_than(a, b, aux) ((a).v[0] > (b).v[... | 34.566802 | 269 | 0.578004 |
0aced9d908175abddbfec7fa93f5e0ca3ad46abc | 201 | rs | Rust | jormungandr/src/log/mod.rs | cleverca22/jormungandr | 852f82e3ab55896565d33cda55b931913e3f299e | [
"Apache-2.0",
"MIT"
] | null | null | null | jormungandr/src/log/mod.rs | cleverca22/jormungandr | 852f82e3ab55896565d33cda55b931913e3f299e | [
"Apache-2.0",
"MIT"
] | null | null | null | jormungandr/src/log/mod.rs | cleverca22/jormungandr | 852f82e3ab55896565d33cda55b931913e3f299e | [
"Apache-2.0",
"MIT"
] | null | null | null | mod asyncable_drain;
mod json_drain;
pub use self::asyncable_drain::AsyncableDrain;
pub use self::json_drain::JsonDrain;
pub const KEY_TASK: &str = "task";
pub const KEY_SUB_TASK: &str = "sub_task";
| 22.333333 | 46 | 0.761194 |
db9fd67902d72e5454c4dd5ebd35796c0e5947a5 | 139 | php | PHP | _config.php | qunabucom/silverstripe-blocks | 787de164428bd505a818a7a27e37029b7db08f2a | [
"BSD-3-Clause"
] | null | null | null | _config.php | qunabucom/silverstripe-blocks | 787de164428bd505a818a7a27e37029b7db08f2a | [
"BSD-3-Clause"
] | null | null | null | _config.php | qunabucom/silverstripe-blocks | 787de164428bd505a818a7a27e37029b7db08f2a | [
"BSD-3-Clause"
] | 2 | 2017-07-31T14:22:51.000Z | 2017-08-01T13:49:08.000Z | <?php
if (!defined('SS_QUNABU_BLOCKS_DIR')) {
define('SS_QUNABU_BLOCKS_DIR', basename(rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR)));
} | 27.8 | 90 | 0.755396 |
b74bbc80eb268e57feaa92f26ba3c43df8ab73c6 | 981 | cs | C# | TDLib.Api/Functions/RemoveContacts.cs | mostafa8026/tdsharp | ccf55a3137da924e74b9e1d2f2fcd5c78fc05e65 | [
"MIT"
] | null | null | null | TDLib.Api/Functions/RemoveContacts.cs | mostafa8026/tdsharp | ccf55a3137da924e74b9e1d2f2fcd5c78fc05e65 | [
"MIT"
] | null | null | null | TDLib.Api/Functions/RemoveContacts.cs | mostafa8026/tdsharp | ccf55a3137da924e74b9e1d2f2fcd5c78fc05e65 | [
"MIT"
] | null | null | null | using System;
using Newtonsoft.Json;
namespace TdLib
{
/// <summary>
/// Autogenerated TDLib APIs
/// </summary>
public partial class TdApi
{
/// <summary>
/// Removes users from the contact list
/// </summary>
public class RemoveContacts : Function<Ok>
{
... | 27.25 | 77 | 0.497452 |
07bbdc35eaac29728808bf9e9715b26ad22f01c3 | 418 | rb | Ruby | src/compiler/processors/uncomplexify.rb | thomas-pendragon/dablang | f8e1e0835138b6dc6a675da231e176ca20b1347a | [
"MIT"
] | 2 | 2017-06-02T02:55:36.000Z | 2017-06-02T22:15:46.000Z | src/compiler/processors/uncomplexify.rb | thomas-pendragon/dablang | f8e1e0835138b6dc6a675da231e176ca20b1347a | [
"MIT"
] | 1 | 2020-06-19T15:58:33.000Z | 2020-06-19T15:58:33.000Z | src/compiler/processors/uncomplexify.rb | thomas-pendragon/dablang | f8e1e0835138b6dc6a675da231e176ca20b1347a | [
"MIT"
] | 1 | 2017-06-02T22:17:52.000Z | 2017-06-02T22:17:52.000Z | class Uncomplexify
def run(node)
return unless complex_arg = node.uncomplexify_args.detect { |arg| !node.accepts?(arg) }
id = node.function.allocate_tempvar
arg_dup = complex_arg.dup
reg = node.function.allocate_ssa
setter = DabNodeSSASet.new(arg_dup, reg, id)
getter = DabNodeSSAGet.new(reg, ... | 27.866667 | 91 | 0.720096 |
da8d5d92ee500cbd9bd239ffae962eb0e61c78e9 | 1,459 | php | PHP | app/Http/routes.php | BooMamoo/website | 420cc6f578af50f70814fbe9275e19c7fd52d802 | [
"MIT"
] | null | null | null | app/Http/routes.php | BooMamoo/website | 420cc6f578af50f70814fbe9275e19c7fd52d802 | [
"MIT"
] | null | null | null | app/Http/routes.php | BooMamoo/website | 420cc6f578af50f70814fbe9275e19c7fd52d802 | [
"MIT"
] | null | null | null | <?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond ... | 39.432432 | 95 | 0.636737 |
f4555e1cc628d1f218d1fb28112f3c7416924e53 | 1,023 | ts | TypeScript | frontend/src/pages/HomePage/Header/styled.ts | cesko-digital/zacni-uc | 281c56aec5509d5dd8bbbd60f054ffcd9156609e | [
"MIT"
] | 4 | 2021-02-26T09:28:14.000Z | 2021-07-08T19:21:57.000Z | frontend/src/pages/HomePage/Header/styled.ts | cesko-digital/zacni-uc | 281c56aec5509d5dd8bbbd60f054ffcd9156609e | [
"MIT"
] | 35 | 2021-01-27T08:38:59.000Z | 2021-12-13T19:42:38.000Z | frontend/src/pages/HomePage/Header/styled.ts | cesko-digital/zacni-uc | 281c56aec5509d5dd8bbbd60f054ffcd9156609e | [
"MIT"
] | 5 | 2021-01-21T21:35:42.000Z | 2022-01-06T10:07:58.000Z | import { mediaQueriesUp } from 'src/common/mediaQueries';
import styled from 'styled-components';
export const Wrapper = styled.div`
position: relative;
padding: 32px 130px 0 0;
${mediaQueriesUp('sm')`
padding: 80px 130px 0 0;
`}
`;
export const MainTitle = styled.h1`
font-size: 2rem;
margin: 0;
pa... | 15.984375 | 57 | 0.638319 |
4378ea5c6d909ceb5cc003b7ead65725153a1802 | 647 | ts | TypeScript | src/store/reducers.ts | dnlnav/booking-mask-exercise | c3252a8bdd10ba49eaea73ab3bedd431fc95ff61 | [
"MIT"
] | null | null | null | src/store/reducers.ts | dnlnav/booking-mask-exercise | c3252a8bdd10ba49eaea73ab3bedd431fc95ff61 | [
"MIT"
] | null | null | null | src/store/reducers.ts | dnlnav/booking-mask-exercise | c3252a8bdd10ba49eaea73ab3bedd431fc95ff61 | [
"MIT"
] | null | null | null | import { searchAirportCodes } from './thunks';
import { createSlice, PayloadAction } from '@reduxjs/toolkit';
export interface stateType {
airportList: string[][];
}
const initialState: stateType = {
airportList: [],
};
const bookingReducer = createSlice({
name: 'booking',
initialState,
reducers: {
emp... | 22.310345 | 70 | 0.681607 |
3f75461929d9c5de1d7c5d732d59a14dfb5f1624 | 2,205 | swift | Swift | Metal Archives/Metal Archives/Models/Search/SimpleSearch/SimpleSearchResultMusicGenre.swift | ntnhon/Metal-Archives-iOS | 274527b791c90b916511d76f6e37982fb5742a42 | [
"Apache-2.0"
] | 15 | 2019-04-05T07:27:56.000Z | 2021-12-27T02:05:17.000Z | Metal Archives/Metal Archives/Models/Search/SimpleSearch/SimpleSearchResultMusicGenre.swift | ntnhon/Metal-Archives-iOS | 274527b791c90b916511d76f6e37982fb5742a42 | [
"Apache-2.0"
] | 7 | 2020-08-05T06:30:23.000Z | 2021-04-01T07:59:08.000Z | Metal Archives/Metal Archives/Models/Search/SimpleSearch/SimpleSearchResultMusicGenre.swift | ntnhon/Metal-Archives-iOS | 274527b791c90b916511d76f6e37982fb5742a42 | [
"Apache-2.0"
] | 5 | 2019-04-05T07:28:00.000Z | 2022-03-04T13:26:01.000Z | //
// SimpleSearchResultMusicGenre.swift
// Metal Archives
//
// Created by Thanh-Nhon Nguyen on 05/03/2019.
// Copyright © 2019 Thanh-Nhon Nguyen. All rights reserved.
//
import Foundation
final class SimpleSearchResultMusicGenre: SimpleSearchResultBandNameOrMusicGenre, Pagable {
static var rawRequestURLStri... | 36.75 | 240 | 0.560091 |
5a2d9a68b7f7e6eb0caa473b075c0042cd8176ba | 2,057 | ps1 | PowerShell | tests/scripts/TakePackageOwnership.ps1 | ArianGhotbiMSFT/MSIX-PackageSupportFramework | 0aed87768099b85415cf0a0af921c187e0cf23ed | [
"MIT"
] | 63 | 2019-05-22T01:20:59.000Z | 2022-03-24T03:34:00.000Z | tests/scripts/TakePackageOwnership.ps1 | riverar/MSIX-PackageSupportFramework | a424e79c9d47f6004c37200d972475e5a82b94f6 | [
"MIT"
] | 79 | 2019-05-24T22:17:31.000Z | 2022-03-23T21:54:49.000Z | tests/scripts/TakePackageOwnership.ps1 | riverar/MSIX-PackageSupportFramework | a424e79c9d47f6004c37200d972475e5a82b94f6 | [
"MIT"
] | 34 | 2019-07-15T17:14:00.000Z | 2022-03-24T03:34:03.000Z |
<#
.DESCRIPTION
Changes the ownership of all executables, dlls, and a few key files in a package's root path to the device's
administrator group. Note that you must have permission to replace these files.This script must be run from an admin
Powershell command window
.PARAMETER Name
The packag... | 27.426667 | 126 | 0.60282 |
b6eb803b24d8aa4d3413a0a724e85f7b2e59d0bf | 26 | sql | SQL | spec/util/testQuery.sql | wms/collimator | 77d5e92f412da7a551007e8dab3bf777fb82f04a | [
"BSD-3-Clause"
] | 6 | 2016-05-12T19:02:39.000Z | 2017-06-28T14:22:27.000Z | spec/util/testQuery.sql | wms/collimator | 77d5e92f412da7a551007e8dab3bf777fb82f04a | [
"BSD-3-Clause"
] | 6 | 2016-01-14T03:34:32.000Z | 2016-06-24T18:46:38.000Z | spec/util/testQuery.sql | wms/collimator | 77d5e92f412da7a551007e8dab3bf777fb82f04a | [
"BSD-3-Clause"
] | 3 | 2016-01-13T12:43:27.000Z | 2016-06-24T14:47:35.000Z | SELECT * FROM test_query;
| 13 | 25 | 0.769231 |
976666a191f25b26ba4c9c4cab8e7f41643babd2 | 1,201 | ts | TypeScript | src/app/maps/maps.module.ts | whileLooper/small_finance_app | c7078f6353784190ce3410d29356d31c567c98a0 | [
"MIT"
] | null | null | null | src/app/maps/maps.module.ts | whileLooper/small_finance_app | c7078f6353784190ce3410d29356d31c567c98a0 | [
"MIT"
] | null | null | null | src/app/maps/maps.module.ts | whileLooper/small_finance_app | c7078f6353784190ce3410d29356d31c567c98a0 | [
"MIT"
] | null | null | null | import 'jvectormap/jquery-jvectormap.min.js';
import 'jvectormap-world/jquery-jvectormap-world-mill-en.js';
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { AlertModule, TooltipModule } from 'ngx-bootstrap';
import { Butt... | 28.595238 | 69 | 0.71607 |
dd85b03d5b34e45bc3cc048ed79a5dbcb10638b9 | 2,035 | java | Java | src/main/java/nl/clockwork/ebms/admin/web/LocalDateTimeConverter.java | eluinstra/ebms-admin | c08fb15b0bcba0452d0cad9d08ee8e67ba7e888f | [
"Apache-2.0"
] | 2 | 2020-08-25T09:53:04.000Z | 2021-02-16T10:13:50.000Z | src/main/java/nl/clockwork/ebms/admin/web/LocalDateTimeConverter.java | eluinstra/ebms-admin | c08fb15b0bcba0452d0cad9d08ee8e67ba7e888f | [
"Apache-2.0"
] | 9 | 2020-07-23T19:26:40.000Z | 2021-12-14T21:51:52.000Z | src/main/java/nl/clockwork/ebms/admin/web/LocalDateTimeConverter.java | eluinstra/ebms-admin | c08fb15b0bcba0452d0cad9d08ee8e67ba7e888f | [
"Apache-2.0"
] | 2 | 2021-08-16T14:52:53.000Z | 2021-12-13T21:45:52.000Z | /**
* Copyright 2013 Clockwork
*
* 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 ... | 29.071429 | 90 | 0.779361 |
a35a0153c8b1ff4fa217244d46a6c5bc79f9ef36 | 4,971 | java | Java | TreeRowSelection/src/java/example/MainPanel.java | OctaviantoVyan/jwswing | e2873359ed23b8baeeb89c1dcf99225dd541f6b4 | [
"MIT"
] | null | null | null | TreeRowSelection/src/java/example/MainPanel.java | OctaviantoVyan/jwswing | e2873359ed23b8baeeb89c1dcf99225dd541f6b4 | [
"MIT"
] | null | null | null | TreeRowSelection/src/java/example/MainPanel.java | OctaviantoVyan/jwswing | e2873359ed23b8baeeb89c1dcf99225dd541f6b4 | [
"MIT"
] | null | null | null | // -*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
// @homepage@
package example;
import java.awt.*;
import java.util.Arrays;
import java.util.Objects;
import java.util.Optional;
import javax.swing.*;
import javax.swing.plaf.basic.BasicTreeUI;
import javax.swing.tree.TreeCellRenderer;
import javax.sw... | 34.047945 | 165 | 0.641521 |
e8a5b90b05b1064480bfdfb496c9d757b9790860 | 3,182 | lua | Lua | hydro/tooltip.lua | thenumbernine/hydro-cl-lua | 857ac71ba8f5cf722a1b43789cde1693e9ecf7b7 | [
"MIT"
] | 15 | 2016-10-11T18:50:34.000Z | 2021-12-21T01:32:28.000Z | hydro/tooltip.lua | thenumbernine/hydro-cl-lua | 857ac71ba8f5cf722a1b43789cde1693e9ecf7b7 | [
"MIT"
] | null | null | null | hydro/tooltip.lua | thenumbernine/hydro-cl-lua | 857ac71ba8f5cf722a1b43789cde1693e9ecf7b7 | [
"MIT"
] | 2 | 2018-08-03T01:49:36.000Z | 2018-10-16T23:51:13.000Z | -- wrapper for imgui stuff to put a tooltip over it (and give it no title)
-- (and push/pop id strs so the no-title doesn't cause a problem)
local ffi = require 'ffi'
local ig = require 'ffi.imgui'
local table = require 'ext.table'
local function hoverTooltip(name)
if ig.igIsItemHovered(ig.ImGuiHoveredFlags_None) th... | 24.106061 | 102 | 0.700503 |
0a88a41a80c714757f313a802c52cd735153266b | 802 | lua | Lua | Mods ChoGGi/Fix InDome Buildings Pack Logos/metadata.lua | aiawar/SurvivingMars_CheatMods | 079c523be3c443b0aa911102e0bdfa20be11a639 | [
"MIT"
] | 64 | 2018-03-27T02:05:29.000Z | 2022-02-28T09:44:22.000Z | Mods ChoGGi/Fix InDome Buildings Pack Logos/metadata.lua | aiawar/SurvivingMars_CheatMods | 079c523be3c443b0aa911102e0bdfa20be11a639 | [
"MIT"
] | 50 | 2018-03-23T09:43:21.000Z | 2022-03-27T02:48:04.000Z | Mods ChoGGi/Fix InDome Buildings Pack Logos/metadata.lua | aiawar/SurvivingMars_CheatMods | 079c523be3c443b0aa911102e0bdfa20be11a639 | [
"MIT"
] | 54 | 2018-03-25T23:12:12.000Z | 2022-03-02T15:10:20.000Z | return PlaceObj("ModDef", {
"title", "Fix InDome Buildings Pack Logos",
"id", "ChoGGi_FixInDomeBuildingsPackLogos",
"steam_id", "2538526304",
"pops_any_uuid", "e06f1b9b-46c9-4978-ac43-039132a8aca1",
"lua_revision", 1007000, -- Picard
"version", 1,
"version_major", 0,
"version_minor", 1,
"image", "Preview.jpg",... | 29.703704 | 135 | 0.715711 |
a141d2cc4e06aef5b5381bd3f1691545b54d5824 | 927 | ts | TypeScript | it/EatAction.ts | bsneade/utility-agent | a579d69c80e75800e35643697b28d1e4ff0387ff | [
"MIT"
] | 1 | 2017-06-17T03:13:56.000Z | 2017-06-17T03:13:56.000Z | it/EatAction.ts | bsneade/utility-agent | a579d69c80e75800e35643697b28d1e4ff0387ff | [
"MIT"
] | 3 | 2019-07-19T19:45:07.000Z | 2021-07-21T18:42:36.000Z | it/EatAction.ts | bsneade/utility-agent | a579d69c80e75800e35643697b28d1e4ff0387ff | [
"MIT"
] | 1 | 2017-06-17T03:48:10.000Z | 2017-06-17T03:48:10.000Z | import { Action, Context } from "..";
export class EatAction implements Action {
name = "Eat";
execute(context: Context): Promise<Context> {
return new Promise((resolve, reject) => {
const itContext = <ITContext> context;
if (itContext.hunger > 0) {
itContext.hu... | 30.9 | 74 | 0.530744 |
ddc17bbcd8f4edc80a53ac16a81cd0657a451700 | 718 | java | Java | src/main/java/work/lclpnet/mmo/facade/character/DynamicCharacterData.java | LCLPYT/LCLPMMO | 4010ff62e77cdcac1268878976c350334ba1a533 | [
"MIT"
] | 1 | 2021-01-27T11:54:10.000Z | 2021-01-27T11:54:10.000Z | src/main/java/work/lclpnet/mmo/facade/character/DynamicCharacterData.java | LCLPYT/LCLPMMO | 4010ff62e77cdcac1268878976c350334ba1a533 | [
"MIT"
] | 5 | 2021-02-22T22:21:08.000Z | 2022-01-18T14:21:53.000Z | src/main/java/work/lclpnet/mmo/facade/character/DynamicCharacterData.java | LCLPYT/LCLPMMO | 4010ff62e77cdcac1268878976c350334ba1a533 | [
"MIT"
] | null | null | null | package work.lclpnet.mmo.facade.character;
import com.google.gson.annotations.Expose;
import work.lclpnet.mmo.facade.DynamicData;
import work.lclpnet.mmo.facade.quest.QuestBook;
public class DynamicCharacterData extends DynamicData {
/*
* Make sure the JSON representation of this object is as small as poss... | 26.592593 | 81 | 0.707521 |
e84be06535881504bdcbe367831df74fb9656da7 | 2,557 | cs | C# | WlToolsLib/JsonHelper/NewtonExpandFunc.cs | wlfsky/WLToolsLib | b3bcd70c4fc122e09d0763322725630f1a4e3d9b | [
"MIT"
] | null | null | null | WlToolsLib/JsonHelper/NewtonExpandFunc.cs | wlfsky/WLToolsLib | b3bcd70c4fc122e09d0763322725630f1a4e3d9b | [
"MIT"
] | null | null | null | WlToolsLib/JsonHelper/NewtonExpandFunc.cs | wlfsky/WLToolsLib | b3bcd70c4fc122e09d0763322725630f1a4e3d9b | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WlToolsLib.Expand;
namespace WlToolsLib.JsonHelper
{
#region --json扩展--
/// <summary>
/// json扩展方法
/// </summary>
public static class JsonExpandFunc
{
/// <summary>... | 27.793478 | 113 | 0.493156 |
85206f40fe884c7bbb63b5712c189d909b569ab3 | 51,654 | cs | C# | DataStructures/BinarySearchTree.cs | JUNLAN2015/DataStructure | 32489d2bce687e8c6021ed10b8115031916caae5 | [
"MIT"
] | null | null | null | DataStructures/BinarySearchTree.cs | JUNLAN2015/DataStructure | 32489d2bce687e8c6021ed10b8115031916caae5 | [
"MIT"
] | null | null | null | DataStructures/BinarySearchTree.cs | JUNLAN2015/DataStructure | 32489d2bce687e8c6021ed10b8115031916caae5 | [
"MIT"
] | null | null | null | using System;
using System.Collections;
using System.Collections.Generic;
using DataStructures.Common;
namespace DataStructures.Trees
{
public class BinarySearchTree<T> : IBinarySearchTree<T> where T : IComparable<T>
{
public enum TraversalMode
{
InOrder = 0,
PreOrder = ... | 29.415718 | 115 | 0.494289 |
3efc6146e83ff4e0bb9a0932e9717c12552851af | 4,449 | js | JavaScript | js/quizzes.js | Sebarbossus/lab | 2a0dea07907a66fd706f1e122ac898d8cf03d8b1 | [
"Apache-2.0"
] | null | null | null | js/quizzes.js | Sebarbossus/lab | 2a0dea07907a66fd706f1e122ac898d8cf03d8b1 | [
"Apache-2.0"
] | null | null | null | js/quizzes.js | Sebarbossus/lab | 2a0dea07907a66fd706f1e122ac898d8cf03d8b1 | [
"Apache-2.0"
] | 1 | 2021-10-08T07:22:44.000Z | 2021-10-08T07:22:44.000Z | /* Logic for the handling of questions and quizzes */
window.addEventListener("load", (e) => {
if (localStorage) {
// If the quiz was already taken, do not show it
let path = window.location.pathname,
pathAtoms = path.split("/"),
courseName = pathAtoms[3];
//... | 53.60241 | 98 | 0.576984 |
79e80674fc8542b222b598d3986a2385525ce9e7 | 3,285 | php | PHP | vendor/predis/predis/tests/Predis/Option/ClientClusterTest.php | cannon14/Event-Scheduling-System | a5456c6cd40c443771998994140e3324a93eda16 | [
"MIT"
] | null | null | null | vendor/predis/predis/tests/Predis/Option/ClientClusterTest.php | cannon14/Event-Scheduling-System | a5456c6cd40c443771998994140e3324a93eda16 | [
"MIT"
] | null | null | null | vendor/predis/predis/tests/Predis/Option/ClientClusterTest.php | cannon14/Event-Scheduling-System | a5456c6cd40c443771998994140e3324a93eda16 | [
"MIT"
] | null | null | null | <?php
/*
* This file is part of the Predis package.
*
* (c) Daniele Alessandri <suppakilla@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Predis\Option;
use PredisTestCase;
/**
*
*/
class ClientClusterTe... | 26.28 | 169 | 0.729985 |
bcd7fec4e562162b6c1515cc1994163e27c1fc0d | 12,408 | swift | Swift | SwiftMKit/Extension/String+Extension.swift | Lves/SwiftMKit | 6a65aa2854f9acb32c18f190a6ce36be49e9d1cc | [
"MIT"
] | null | null | null | SwiftMKit/Extension/String+Extension.swift | Lves/SwiftMKit | 6a65aa2854f9acb32c18f190a6ce36be49e9d1cc | [
"MIT"
] | null | null | null | SwiftMKit/Extension/String+Extension.swift | Lves/SwiftMKit | 6a65aa2854f9acb32c18f190a6ce36be49e9d1cc | [
"MIT"
] | null | null | null | //
// String+Extension.swift
// SwiftMKitDemo
//
// Created by Mao on 4/17/16.
// Copyright © 2016 cdts. All rights reserved.
//
import Foundation
import CocoaLumberjack
import CommonCrypto
extension String {
public func stringByAddingPercentEncodingForURLQueryValue() -> String? {
let allowedChar... | 35.655172 | 173 | 0.568665 |
72c4ec6d1d410369ed479ffcf9816a44a403c7b0 | 1,184 | cs | C# | Legacy/EnvironmentChart.cs | k76-0G/0G | 82acb75c8443e398cde295147300d9894b1ada56 | [
"MIT"
] | null | null | null | Legacy/EnvironmentChart.cs | k76-0G/0G | 82acb75c8443e398cde295147300d9894b1ada56 | [
"MIT"
] | null | null | null | Legacy/EnvironmentChart.cs | k76-0G/0G | 82acb75c8443e398cde295147300d9894b1ada56 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using UnityEngine;
namespace _0G.Legacy
{
[CreateAssetMenu(
fileName = "SomeWhere_EnvironmentChart.asset",
menuName = "0G Legacy Scriptable Object/Environment Chart",
order = 514
)]
public class EnvironmentChart : Docket
{
// CONSTANTS
... | 25.73913 | 75 | 0.631757 |
17b23e33becf205fc52b1b29655485c212621957 | 17,158 | lua | Lua | Framework/EsoUi/ingame/restyle/gamepad/outfit_selector_gamepad.lua | martin-repo/eso-addon-framework | 5a0873e624abee2b560b47cdd8571bb24b526663 | [
"MIT"
] | 3 | 2021-09-19T00:31:05.000Z | 2021-12-22T07:30:15.000Z | Framework/EsoUi/ingame/restyle/gamepad/outfit_selector_gamepad.lua | martin-repo/eso-addon-framework | 5a0873e624abee2b560b47cdd8571bb24b526663 | [
"MIT"
] | null | null | null | Framework/EsoUi/ingame/restyle/gamepad/outfit_selector_gamepad.lua | martin-repo/eso-addon-framework | 5a0873e624abee2b560b47cdd8571bb24b526663 | [
"MIT"
] | null | null | null | --[[
This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:27' using the latest game version.
NOTE: This file should only be used as IDE support; it should NOT be distributed with addons!
****************************************************************************
CONTENTS OF THIS FILE IS COPYRI... | 41.9511 | 226 | 0.705094 |
2fa1f479f53c3f2e4de760c0e8fd5baf829aa143 | 1,628 | py | Python | tests/TestFinDate.py | suhasghorp/FinancePy | 567486785b33768f229a404e860f92fd042034a2 | [
"BSD-3-Clause"
] | null | null | null | tests/TestFinDate.py | suhasghorp/FinancePy | 567486785b33768f229a404e860f92fd042034a2 | [
"BSD-3-Clause"
] | 1 | 2020-05-07T14:38:23.000Z | 2020-05-07T14:38:23.000Z | tests/TestFinDate.py | suhasghorp/FinancePy | 567486785b33768f229a404e860f92fd042034a2 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sat Feb 06 07:26:46 2016
@author: Dominic O'Kane
"""
from financepy.finutils.FinTestCases import FinTestCases, globalTestCaseMode
from financepy.finutils.FinDate import FinDate
import sys
sys.path.append("..//..")
testCases = FinTestCases(__file__, globalTestCaseMode)
def te... | 21.421053 | 76 | 0.672604 |
70ccdb1f9c2191a27a33940a64fe4568e37b26a7 | 45 | lua | Lua | Limited Multiattack/LimitedAttack.lua | RealMelwei/WarlightMods | c949e7950c6fe67dd6bcc5d0061c4c8d09c27763 | [
"MIT"
] | null | null | null | Limited Multiattack/LimitedAttack.lua | RealMelwei/WarlightMods | c949e7950c6fe67dd6bcc5d0061c4c8d09c27763 | [
"MIT"
] | null | null | null | Limited Multiattack/LimitedAttack.lua | RealMelwei/WarlightMods | c949e7950c6fe67dd6bcc5d0061c4c8d09c27763 | [
"MIT"
] | null | null | null | function LimitedAttack(game, standing)
end
| 15 | 39 | 0.8 |
dd786a1064d4a944a9c098e693726917c6f7ed9c | 1,609 | java | Java | sample-business/src/main/java/com/cn/boot/sample/business/aop/CorsFilter.java | a327919006/-boot-sample | a85be6437ceb5741aee322253404dfc546c62c3b | [
"Apache-2.0"
] | 4 | 2019-12-13T17:54:45.000Z | 2021-01-14T09:39:50.000Z | sample-business/src/main/java/com/cn/boot/sample/business/aop/CorsFilter.java | a327919006/-boot-sample | a85be6437ceb5741aee322253404dfc546c62c3b | [
"Apache-2.0"
] | 5 | 2020-07-02T03:42:49.000Z | 2022-03-15T02:21:36.000Z | sample-business/src/main/java/com/cn/boot/sample/business/aop/CorsFilter.java | a327919006/-boot-sample | a85be6437ceb5741aee322253404dfc546c62c3b | [
"Apache-2.0"
] | 6 | 2019-09-02T14:13:08.000Z | 2022-03-23T10:38:30.000Z | package com.cn.boot.sample.business.aop;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMethod;
import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import javax.servlet.http.HttpServletRequest;
import javax.servle... | 35.755556 | 149 | 0.702921 |
3a9fc18207401602ac4b70f5f094c4328ef215a2 | 1,432 | lua | Lua | data.lua | ZwerOxotnik/modders-stuff | ff3f15a0b397ef49be838bf2d1c6a8f819136bf0 | [
"MIT"
] | 1 | 2021-12-19T23:26:18.000Z | 2021-12-19T23:26:18.000Z | data.lua | ZwerOxotnik/modders-stuff | ff3f15a0b397ef49be838bf2d1c6a8f819136bf0 | [
"MIT"
] | null | null | null | data.lua | ZwerOxotnik/modders-stuff | ff3f15a0b397ef49be838bf2d1c6a8f819136bf0 | [
"MIT"
] | null | null | null | data:extend{
{
type = "tile",
name = "red",
order = "z-z-r",
collision_mask = {"ground-tile"},
layer = 70,
variants =
{
main =
{
{
picture = "__modders-stuff__/graphics/terrain/lab-tiles/red.png",
count = 1,
... | 22.030769 | 77 | 0.402933 |
b55810db9be34589cacc4f0375a220780e277e4c | 1,822 | swift | Swift | leetcode-swift/Easy/q009-palindrome-number.swift | wty21cn/leetcode-swift | 7235f243a799dcb6903ab6a7d6d615509148d93a | [
"MIT"
] | 72 | 2016-07-02T16:31:52.000Z | 2022-03-04T17:03:27.000Z | leetcode-swift/Easy/q009-palindrome-number.swift | raulsilvamx/leetcode-swift | 7235f243a799dcb6903ab6a7d6d615509148d93a | [
"MIT"
] | null | null | null | leetcode-swift/Easy/q009-palindrome-number.swift | raulsilvamx/leetcode-swift | 7235f243a799dcb6903ab6a7d6d615509148d93a | [
"MIT"
] | 22 | 2016-07-03T05:36:32.000Z | 2022-03-05T08:43:23.000Z | //
// q009-palindrome-number.swift
// leetcode-swift
// Source* : https://leetcode.com/problems/palindrome-number/
// Category* : Math
//
// Created by Tianyu Wang on 16/7/4.
// Github : http://github.com/wty21cn
// Website : http://wty.im
// Linkedin : https://www.linkedin.com/in/wty21cn
// Mail ... | 29.868852 | 102 | 0.537322 |
4410e87e6117bc5dfe33cf6364f7ca605cbea611 | 4,412 | py | Python | function/python/brightics/function/classification/test/classification_test.py | GSByeon/studio | 782cf484541c6d68e1451ff6a0d3b5dc80172664 | [
"Apache-2.0"
] | null | null | null | function/python/brightics/function/classification/test/classification_test.py | GSByeon/studio | 782cf484541c6d68e1451ff6a0d3b5dc80172664 | [
"Apache-2.0"
] | null | null | null | function/python/brightics/function/classification/test/classification_test.py | GSByeon/studio | 782cf484541c6d68e1451ff6a0d3b5dc80172664 | [
"Apache-2.0"
] | 1 | 2020-11-19T06:44:15.000Z | 2020-11-19T06:44:15.000Z | import unittest
from brightics.function.classification import svm_classification_train, svm_classification_predict
from brightics.function.transform import split_data
from brightics.common.datasets import load_iris
import pandas as pd
import random
from brightics.function.classification.decision_tree_classification imp... | 46.442105 | 189 | 0.684723 |
a91e67e06955200eb25010734c56c0517b8f5504 | 119 | css | CSS | examples/angular2-datepicker/src/app/app.component.css | TBear79/headless-datepicker | 882a4738c1ec31f05a071dd1ca50dbc00119f343 | [
"MIT"
] | 6 | 2017-12-25T18:18:51.000Z | 2021-11-21T10:10:40.000Z | examples/angular2-datepicker/src/app/app.component.css | TBear79/headless-datepicker | 882a4738c1ec31f05a071dd1ca50dbc00119f343 | [
"MIT"
] | 1 | 2017-12-25T18:19:52.000Z | 2018-01-04T13:41:03.000Z | examples/angular2-datepicker/src/app/app.component.css | TBear79/headless-datepicker | 882a4738c1ec31f05a071dd1ca50dbc00119f343 | [
"MIT"
] | null | null | null | .example {
float: left;
margin: 1em 1em;
}
p {
width: 20em;
min-height: 4em;
}
h2 {
clear: left
} | 9.153846 | 20 | 0.512605 |
54e4c4fd3d85570e09bf75846f4b1ed8e1246ba0 | 1,057 | h | C | src/CQGnuPlotTitle.h | colinw7/CQGnuPlot | 8001b0a0d40c1fde8e5efe05ebe0c9b0541daa94 | [
"MIT"
] | null | null | null | src/CQGnuPlotTitle.h | colinw7/CQGnuPlot | 8001b0a0d40c1fde8e5efe05ebe0c9b0541daa94 | [
"MIT"
] | null | null | null | src/CQGnuPlotTitle.h | colinw7/CQGnuPlot | 8001b0a0d40c1fde8e5efe05ebe0c9b0541daa94 | [
"MIT"
] | 1 | 2019-04-01T13:08:45.000Z | 2019-04-01T13:08:45.000Z | #ifndef CQGnuPlotTitle_H
#define CQGnuPlotTitle_H
#include <CQGnuPlotObject.h>
#include <CGnuPlotTitle.h>
#include <CQGnuPlot.h>
#include <QColor>
#include <QFont>
class CQGnuPlotGroup;
class CQGnuPlotTitle : public CQGnuPlotObject, public CGnuPlotTitle {
Q_OBJECT
Q_PROPERTY(bool displayed READ isDisplayed W... | 25.166667 | 69 | 0.720908 |
b96beedcc0d11b3480853ecb7fbe9e574bf83025 | 3,215 | lua | Lua | premake5.lua | saad039/cusp | 4b4ef25e1523ec38553e04cc1d094f51b69ed75e | [
"MIT"
] | 6 | 2020-03-18T01:39:45.000Z | 2020-06-27T18:02:25.000Z | premake5.lua | Broever101/cusp | 72fafc847343aa2a5ab820566b5979a5e8a7d93c | [
"MIT"
] | 2 | 2020-05-21T00:25:53.000Z | 2020-06-01T09:48:28.000Z | premake5.lua | Broever101/cusp | 72fafc847343aa2a5ab820566b5979a5e8a7d93c | [
"MIT"
] | 3 | 2020-04-12T12:55:54.000Z | 2020-04-15T17:23:18.000Z | workspace "cusp"
startproject "cusp"
architecture "x86_64"
configurations{
"Debug",
"Release"
}
project "spdlog"
location "build/spdlog"
kind "Staticlib"
language"C++"
toolset "gcc"
cppdialect "C++17"
staticruntime "on"
targetdir ("bin/%{prj.name}/%... | 19.136905 | 59 | 0.544635 |
2b7e9d0b6f7478fc054aa5cb2706437daaa45722 | 530 | asm | Assembly | programs/oeis/089/A089124.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/089/A089124.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/089/A089124.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A089124: Largest prime factor of numbers of the form A^2 + 3.
; 2,7,3,19,7,13,13,67,7,103,31,7,43,199,19,37,73,109,13,31,37,487,19,193,157,97,61,787,211,43,241,79,13,61,307,433,7,1447,127,229,421,31,463,277,13,163,79,769,601,2503,31,2707,37,139,757,73,271,37,67,1201,19,3847,331,4099,151,1453,1123,661,397,4903,97,19,4... | 66.25 | 368 | 0.698113 |
2cca39bb3a93d03cb3422c1b43bff4a7063a1ec0 | 49 | py | Python | PokeType/__main__.py | Daggy1234/PokeType | a79c8115ca9bb13e24c4fd4db4931b3094a96549 | [
"MIT"
] | 2 | 2021-11-06T14:09:40.000Z | 2021-11-14T21:24:56.000Z | PokeType/__main__.py | Daggy1234/PokeType | a79c8115ca9bb13e24c4fd4db4931b3094a96549 | [
"MIT"
] | null | null | null | PokeType/__main__.py | Daggy1234/PokeType | a79c8115ca9bb13e24c4fd4db4931b3094a96549 | [
"MIT"
] | null | null | null | if __name__ == '__main__':
print("CLI soon:tm:") | 24.5 | 26 | 0.653061 |
b9ffd6dc7051aa24402462a9ce1758c0e40aaf57 | 2,488 | swift | Swift | Coronapp/CoronaUI/GlobalSituationCaseView/GlobalSituationCaseView.swift | barisuyar/Coronapp | e968693229caa04bb5603092c4e67638381f9bc6 | [
"MIT"
] | 6 | 2020-04-30T12:21:46.000Z | 2021-05-12T11:50:37.000Z | Coronapp/CoronaUI/GlobalSituationCaseView/GlobalSituationCaseView.swift | barisuyar/Coronapp | e968693229caa04bb5603092c4e67638381f9bc6 | [
"MIT"
] | null | null | null | Coronapp/CoronaUI/GlobalSituationCaseView/GlobalSituationCaseView.swift | barisuyar/Coronapp | e968693229caa04bb5603092c4e67638381f9bc6 | [
"MIT"
] | null | null | null | //
// GlobalSituationCaseView.swift
// CoronaUI
//
// Created by Barış Uyar on 28.03.2020.
// Copyright © 2020 Barış Uyar. All rights reserved.
//
import Common
import UIKit
public protocol GlobalCaseProtocol {
var caseName: String? { get }
var caseCount: String? { get }
var totalCaseCount: String? { ... | 29.619048 | 119 | 0.607315 |
05b634a8c059d2bb71a3445843476ec62e3b3af8 | 2,204 | py | Python | Adafruit_7Segment.py | VipSaran/Py_Led_Clock | 715a8a6f285a7cd3b91880841794b9147f381616 | [
"Apache-2.0"
] | 5 | 2015-02-02T23:12:58.000Z | 2019-09-11T00:56:26.000Z | Adafruit_7Segment.py | VipSaran/Py_Led_Clock | 715a8a6f285a7cd3b91880841794b9147f381616 | [
"Apache-2.0"
] | null | null | null | Adafruit_7Segment.py | VipSaran/Py_Led_Clock | 715a8a6f285a7cd3b91880841794b9147f381616 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
import time
import datetime
from Adafruit_LEDBackpack import LEDBackpack
# ===========================================================================
# 7-Segment Display
# ===========================================================================
# This class is meant to be used with the four-cha... | 31.042254 | 77 | 0.625681 |
e2e7981c25c7d38d2efa490648e1d00e45657143 | 534 | py | Python | knitscript/__main__.py | logicologist/knitscript | fbef1abe9a68995b91d791da9463e9acdc7d6b77 | [
"MIT"
] | 5 | 2019-07-19T21:32:53.000Z | 2021-10-31T08:21:19.000Z | knitscript/__main__.py | logicologist/knitscript | fbef1abe9a68995b91d791da9463e9acdc7d6b77 | [
"MIT"
] | 22 | 2019-06-21T19:46:21.000Z | 2019-07-19T21:45:32.000Z | knitscript/__main__.py | logicologist/knitscript | fbef1abe9a68995b91d791da9463e9acdc7d6b77 | [
"MIT"
] | 2 | 2019-06-21T03:53:28.000Z | 2021-09-01T10:44:17.000Z | import sys
from knitscript.interpreter import InterpretError
from knitscript.loader import load_file
def main() -> None:
"""
Prints the knitting instructions for a KnitScript pattern which is read
from a file, or stdin if no filename is provided.
"""
if len(sys.argv) != 2:
print(f"usage: ... | 23.217391 | 75 | 0.632959 |
879ccec5ab771b692cffae3fbc75417db686e3e5 | 2,214 | rb | Ruby | mingw-zlib.rb | xamarin/homebrew-xamarin-android-windeps | f4cc90845ff1953800d8d71035566a12d9b7aa24 | [
"MIT"
] | 1 | 2020-06-17T17:49:40.000Z | 2020-06-17T17:49:40.000Z | mingw-zlib.rb | xamarin/homebrew-xamarin-android-windeps | f4cc90845ff1953800d8d71035566a12d9b7aa24 | [
"MIT"
] | 1 | 2020-10-30T17:34:51.000Z | 2021-01-06T22:53:18.000Z | mingw-zlib.rb | xamarin/homebrew-xamarin-android-windeps | f4cc90845ff1953800d8d71035566a12d9b7aa24 | [
"MIT"
] | null | null | null | class MingwZlib < Formula
desc "zlib build for MinGW"
homepage "https://zlib.net/"
url "https://zlib.net/zlib-1.2.11.tar.gz"
version "1.2.11"
sha256 "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1"
bottle :unneded
depends_on "mingw-w64"
def targets
["i686-w64-mingw32", "x86_64-... | 32.086957 | 212 | 0.655827 |
472a961967b32a1fd38ba36093e6ad389886d05f | 692 | rb | Ruby | test/locate_test.rb | baya/ground | 9cc51037691c390dae8116dcc806b6e115e82b1e | [
"MIT"
] | 1 | 2017-10-20T14:17:13.000Z | 2017-10-20T14:17:13.000Z | test/locate_test.rb | baya/ground | 9cc51037691c390dae8116dcc806b6e115e82b1e | [
"MIT"
] | null | null | null | test/locate_test.rb | baya/ground | 9cc51037691c390dae8116dcc806b6e115e82b1e | [
"MIT"
] | null | null | null | require 'test_helper'
require 'routes'
class LocateTest < Test::Unit::TestCase
def test_locate
location = Ground::Locate(verb: 'get', path: '/')
assert_equal location, ['/', SiteIndex]
location = Ground::Locate(verb: 'get', path: '/books')
assert_equal location, ['/books', BooksIndex]
loca... | 28.833333 | 69 | 0.657514 |
7061a1ac28376b805db184206cb9ccdbfd5c7347 | 477 | lua | Lua | Lua/Mgrs/ActionManager.lua | slove3000/emo | 7c4a210298f06c915983280b85ec5db90d897378 | [
"MIT"
] | 10 | 2020-07-27T06:01:48.000Z | 2022-03-18T09:58:53.000Z | Lua/Mgrs/ActionManager.lua | slove3000/emo | 7c4a210298f06c915983280b85ec5db90d897378 | [
"MIT"
] | null | null | null | Lua/Mgrs/ActionManager.lua | slove3000/emo | 7c4a210298f06c915983280b85ec5db90d897378 | [
"MIT"
] | 6 | 2020-07-15T14:34:52.000Z | 2021-08-18T10:07:57.000Z | local ActionManager = {
actions = {}
}
function ActionManager.Add(action)
table.insert(ActionManager.actions, action)
end
function ActionManager.Remove(action)
for i, v in ipairs(ActionManager.actions) do
if v == action then
table.remove(ActionManager.actions, i)
break;
... | 19.08 | 50 | 0.662474 |
c9ec677d6274a895d252047b2312773cef329684 | 290 | ts | TypeScript | models/riff-chunk.ts | BlauesMonster/WAV-Decoder | dbec99af00cff788dd8a60d7c47837c5a232607a | [
"MIT"
] | null | null | null | models/riff-chunk.ts | BlauesMonster/WAV-Decoder | dbec99af00cff788dd8a60d7c47837c5a232607a | [
"MIT"
] | null | null | null | models/riff-chunk.ts | BlauesMonster/WAV-Decoder | dbec99af00cff788dd8a60d7c47837c5a232607a | [
"MIT"
] | null | null | null |
export class RIFFChunk{
public ChunkID: string;
public ChunkSize: number;
public Format: string
constructor(_chunkID: string,_chunkSize: number, _format: string) {
this.ChunkID = _chunkID;
this.ChunkSize = _chunkSize;
this.Format = _format;
}
} | 24.166667 | 71 | 0.658621 |
143bf35ebaa2e23c9a7d60ed9a3e36e81c6e6432 | 315 | ts | TypeScript | src/constants/punctuation.ts | Brettm12345/lunar | 3195a1d38e778af55f9d6d6a2166fbb901173c50 | [
"MIT"
] | null | null | null | src/constants/punctuation.ts | Brettm12345/lunar | 3195a1d38e778af55f9d6d6a2166fbb901173c50 | [
"MIT"
] | null | null | null | src/constants/punctuation.ts | Brettm12345/lunar | 3195a1d38e778af55f9d6d6a2166fbb901173c50 | [
"MIT"
] | null | null | null | export enum punctuation {
comma = ',',
semicolon = ';',
openParenthesis = '(',
closeParenthesis = ')',
openBracket = '{',
closeBracket = '}',
openSquareBracket = '[',
closeSquareBracket = ']'
}
export const punctuationValues = Object.values(punctuation).filter(
current => current.length === 1
)
| 21 | 67 | 0.64127 |
e2d029e85b0fa0dde305f8e8e1b427ee36e05931 | 1,220 | py | Python | supervised_learning/linear_regression.py | jrpespinas/Machine-Learning | 9e58f78a2908bc4de83a51e78043ced360293acd | [
"Apache-2.0"
] | 2 | 2020-05-13T19:28:39.000Z | 2021-01-08T04:17:52.000Z | supervised_learning/linear_regression.py | jrpespinas/Machine-Learning | 9e58f78a2908bc4de83a51e78043ced360293acd | [
"Apache-2.0"
] | null | null | null | supervised_learning/linear_regression.py | jrpespinas/Machine-Learning | 9e58f78a2908bc4de83a51e78043ced360293acd | [
"Apache-2.0"
] | null | null | null | """Linear Regression using Numpy"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
__version__ = '0.1.0'
__author__ = 'Jan Rodolf Espinas'
import numpy as np
class LinearRegression:
def __init__(self):
self.weights = None
self.bias =... | 26.521739 | 64 | 0.589344 |
8db60f4757dd8f237ad8495ed1f1fbf6dce2b257 | 4,519 | js | JavaScript | data/src/routes/entity.js | kosinix/ridsys-admin | ab5e90a2edef8c6ade326ee17d0b9b77625d9e62 | [
"MIT"
] | null | null | null | data/src/routes/entity.js | kosinix/ridsys-admin | ab5e90a2edef8c6ade326ee17d0b9b77625d9e62 | [
"MIT"
] | null | null | null | data/src/routes/entity.js | kosinix/ridsys-admin | ab5e90a2edef8c6ade326ee17d0b9b77625d9e62 | [
"MIT"
] | null | null | null | //// Core modules
const fs = require('fs')
//// External modules
const express = require('express')
const fileUpload = require('express-fileupload')
const flash = require('kisapmata')
const phAddress = require('ph-address')
const lodash = require('lodash')
const moment = require('moment')
const qr = require('qr-image'... | 30.328859 | 179 | 0.578225 |
c67cd3b4d699cb7cd92bf9300c852b286d9c97d4 | 489 | lua | Lua | plugins/utils.lua | drmargarido/dr-tracker | 9bd7568719c72741156b8898b92050e29c3ecc4b | [
"MIT"
] | 17 | 2019-11-17T01:04:48.000Z | 2021-11-06T09:40:52.000Z | plugins/utils.lua | drmargarido/dr-tracker | 9bd7568719c72741156b8898b92050e29c3ecc4b | [
"MIT"
] | 3 | 2020-02-07T12:43:42.000Z | 2020-08-06T18:24:32.000Z | plugins/utils.lua | drmargarido/d-tracker | 99e6ed113f655cc8e90aefacad7b82b0cc55a6de | [
"MIT"
] | null | null | null | local ui = require "tek.ui"
return {
register_window = function(app, window)
ui.Application.connect(window)
app:addMember(window)
end,
show_window = function(self, app, id)
local _, _, x, y = self.Window.Drawable:getAttrs()
-- Archor to the main window position
local window = app:getById(id... | 23.285714 | 58 | 0.666667 |
01601116b070a3520ae10f71bc1f244a87e2f9a3 | 43 | sql | SQL | languages/modules/weixin/uninstall/weixin_menu.sql | lupengyu0226/www.zhikunet.org | eca9428f831eb023c99bf0825b401d88ab09c804 | [
"Apache-2.0"
] | null | null | null | languages/modules/weixin/uninstall/weixin_menu.sql | lupengyu0226/www.zhikunet.org | eca9428f831eb023c99bf0825b401d88ab09c804 | [
"Apache-2.0"
] | null | null | null | languages/modules/weixin/uninstall/weixin_menu.sql | lupengyu0226/www.zhikunet.org | eca9428f831eb023c99bf0825b401d88ab09c804 | [
"Apache-2.0"
] | null | null | null | DROP TABLE IF EXISTS `shuyang_weixin_menu`; | 43 | 43 | 0.837209 |
d662ddeda4723273ef7546a6d17afec7369a4c95 | 477 | cs | C# | src/Extras/Jabberwock.Extras.NewRelic.Sc/Pipelines/RenderRendering/StartResponseTimeMetricProcessor.cs | kmazzoni/Jabberwocky | 4ece32e1806b1b51ea681e1f94533a719f9650da | [
"MIT"
] | 5 | 2016-12-13T15:12:25.000Z | 2018-07-23T15:32:21.000Z | src/Extras/Jabberwock.Extras.NewRelic.Sc/Pipelines/RenderRendering/StartResponseTimeMetricProcessor.cs | kmazzoni/Jabberwocky | 4ece32e1806b1b51ea681e1f94533a719f9650da | [
"MIT"
] | 6 | 2016-11-10T02:13:36.000Z | 2018-02-23T17:09:36.000Z | src/Extras/Jabberwock.Extras.NewRelic.Sc/Pipelines/RenderRendering/StartResponseTimeMetricProcessor.cs | kmazzoni/Jabberwocky | 4ece32e1806b1b51ea681e1f94533a719f9650da | [
"MIT"
] | 7 | 2016-11-10T15:15:34.000Z | 2019-06-04T21:06:56.000Z | using System.Diagnostics;
using Jabberwocky.Extras.NewRelic.Sc.Reference;
using Sitecore.Mvc.Pipelines.Response.RenderRendering;
namespace Jabberwocky.Extras.NewRelic.Sc.Pipelines.RenderRendering
{
public class StartResponseTimeMetricProcessor : RenderRenderingProcessor
{
public override void Process(RenderRender... | 28.058824 | 73 | 0.805031 |
e83af7217276d350f97069c1ef45e72435f2c1f8 | 271 | cshtml | C# | docs/input/docs/reference/modes/index.cshtml | mglochsen/GitVersion | e9013533474e8e46b6a0ca60d20d02f3680b5980 | [
"MIT"
] | 1 | 2021-03-08T09:31:44.000Z | 2021-03-08T09:31:44.000Z | docs/input/docs/reference/modes/index.cshtml | mglochsen/GitVersion | e9013533474e8e46b6a0ca60d20d02f3680b5980 | [
"MIT"
] | 55 | 2021-01-07T07:09:39.000Z | 2022-03-22T08:18:02.000Z | docs/input/docs/reference/modes/index.cshtml | mglochsen/GitVersion | e9013533474e8e46b6a0ca60d20d02f3680b5980 | [
"MIT"
] | null | null | null | ---
Order: 50
Title: Versioning Modes
Description: The different modes of versioning GitVersion supports
---
<p>
GitVersion supports a few different versioning modes. They are described
in detail on the pages enumerated below.
</p>
@Html.Partial("_ChildPages")
| 20.846154 | 76 | 0.752768 |
38c6cd24962400fe95204da0cb26489c44b9b814 | 4,462 | php | PHP | web/profiles/varbase/modules/contrib/responsive_preview/src/ResponsivePreview.php | jadamsbit/jamie-auto | 6800411075e9c3b2bc23cbce8fc2790043b35ee9 | [
"MIT"
] | null | null | null | web/profiles/varbase/modules/contrib/responsive_preview/src/ResponsivePreview.php | jadamsbit/jamie-auto | 6800411075e9c3b2bc23cbce8fc2790043b35ee9 | [
"MIT"
] | 8 | 2019-04-27T00:11:03.000Z | 2021-09-01T07:04:50.000Z | docroot/modules/contrib/responsive_preview/src/ResponsivePreview.php | DiversiCon/uc-d8-deploy | 39294a57583639883bc6b9b87bf818de471aed13 | [
"MIT"
] | null | null | null | <?php
namespace Drupal\responsive_preview;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Path\CurrentPathStack;
use Drupal\Core\Routing\AdminContext;
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\Core\Session\AccountProxyInterface;
use Drupal\Core\Url;
use Drupal\responsive_preview\Enti... | 28.240506 | 211 | 0.630435 |
2ce95a4f2a6bb7558949c48cd0cf73414da05e50 | 798 | cpp | C++ | examples/cppwin2/TensorflowTTSCppInference/MultiBandMelGAN.cpp | ronggong/TensorFlowTTS | 7541ee6cdf2f6e264384d2a47a74ae56d6305d33 | [
"Apache-2.0"
] | null | null | null | examples/cppwin2/TensorflowTTSCppInference/MultiBandMelGAN.cpp | ronggong/TensorFlowTTS | 7541ee6cdf2f6e264384d2a47a74ae56d6305d33 | [
"Apache-2.0"
] | null | null | null | examples/cppwin2/TensorflowTTSCppInference/MultiBandMelGAN.cpp | ronggong/TensorFlowTTS | 7541ee6cdf2f6e264384d2a47a74ae56d6305d33 | [
"Apache-2.0"
] | null | null | null | #include "MultiBandMelGAN.h"
bool MultiBandMelGAN::Initialize(const std::string & VocoderPath)
{
MelGAN = std::make_unique<Model>(VocoderPath);
return true;
}
Tensor MultiBandMelGAN::DoInference(Tensor& InMel)
{
VX_IF_EXCEPT(!MelGAN, "Tried to infer MB-MelGAN on uninitialized model!!!!");
// Convenience re... | 19.95 | 81 | 0.741855 |
05fff90dfc18ca80e2f44024da43ab6b85d2a93a | 3,331 | py | Python | bisnode/constants.py | FundedByMe/django-bisnode | 51659c69d5208e238dd3bfeb9feed27b5424c7ac | [
"MIT"
] | null | null | null | bisnode/constants.py | FundedByMe/django-bisnode | 51659c69d5208e238dd3bfeb9feed27b5424c7ac | [
"MIT"
] | 5 | 2015-01-16T08:39:00.000Z | 2015-10-23T13:01:43.000Z | bisnode/constants.py | FundedByMe/django-bisnode | 51659c69d5208e238dd3bfeb9feed27b5424c7ac | [
"MIT"
] | 2 | 2015-08-06T09:49:09.000Z | 2020-04-29T09:46:06.000Z | from django.utils.translation import ugettext_lazy as _
COMPANY_STANDARD_REPORT = "NRGCompanyReportStandard"
COMPANY_RATING_REPORT = "NRGCompanyReportRating"
CURRENCY = "SEK"
HIGH = 'AAA'
GOOD = 'AA'
WORTHY = 'A'
NEW = 'AN'
BELOW_AVERAGE = 'B'
BAD = 'C'
MISSING = '-'
NEWLY_FORMED = 'NYTT'
RATING_CHOICES = (
(HI... | 27.528926 | 72 | 0.70009 |
c6c77ec4272db4da3dadeb51954f7bca17db36e5 | 311 | css | CSS | src/locale/DE/styles/flex/ratio--1x4.css | HarunaOrg/paypal-messaging-components | 93aa82e15bf8d59827da2725de2cc33df8bcf356 | [
"Apache-2.0"
] | 21 | 2019-06-04T16:23:13.000Z | 2021-12-22T22:41:07.000Z | src/locale/DE/styles/flex/ratio--1x4.css | HarunaOrg/paypal-messaging-components | 93aa82e15bf8d59827da2725de2cc33df8bcf356 | [
"Apache-2.0"
] | 473 | 2019-09-07T17:09:58.000Z | 2022-03-29T17:26:04.000Z | src/locale/DE/styles/flex/ratio--1x4.css | HarunaOrg/paypal-messaging-components | 93aa82e15bf8d59827da2725de2cc33df8bcf356 | [
"Apache-2.0"
] | 47 | 2019-06-11T14:05:14.000Z | 2022-03-22T20:16:57.000Z | .message__logo-container {
width: 100%;
margin-bottom: 30%;
}
.message__headline {
font-size: 1.4rem;
margin-bottom: 30%;
}
.message__disclaimer span.multi:nth-of-type(1) {
display: inline;
}
@media (max-aspect-ratio: 11/40) {
.message__headline {
margin-bottom: 50%;
}
}
| 15.55 | 48 | 0.620579 |
c3bfffaa8c0af17d8ede359602a1bf50881fe96f | 8,477 | dart | Dart | fluttersamples/lib/samples/gridview_samples.dart | futteranddart/flutterSamples | 70d759255563ac5510252e345c9456e3404db818 | [
"BSD-3-Clause"
] | 2 | 2019-03-05T12:48:51.000Z | 2019-10-16T08:25:27.000Z | fluttersamples/lib/samples/gridview_samples.dart | futteranddart/flutterSamples | 70d759255563ac5510252e345c9456e3404db818 | [
"BSD-3-Clause"
] | null | null | null | fluttersamples/lib/samples/gridview_samples.dart | futteranddart/flutterSamples | 70d759255563ac5510252e345c9456e3404db818 | [
"BSD-3-Clause"
] | 1 | 2020-11-27T08:17:35.000Z | 2020-11-27T08:17:35.000Z | /*
* @Author: Tan Dong
* @Date: 2019-02-22 22:29:39
* @Last Modified by: Tan Dong
* @Last Modified time: 2019-02-22 22:29:39
*/
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
class GridViewSamples extends StatefulWidget {
@override
State<StatefulWidget> createState() {
... | 26.573668 | 72 | 0.48956 |
5bf17b1e056cd001f4e4592e8ef1d65d2dc77950 | 1,193 | sql | SQL | sql/withdraw.sql | xyrit/huogouadmin | 26ec6286a846e6645b739eadb6b06187dc5207f0 | [
"BSD-3-Clause"
] | 2 | 2018-12-03T06:55:51.000Z | 2019-05-05T07:25:17.000Z | sql/withdraw.sql | raoxy5/huogouadmin | 26ec6286a846e6645b739eadb6b06187dc5207f0 | [
"BSD-3-Clause"
] | null | null | null | sql/withdraw.sql | raoxy5/huogouadmin | 26ec6286a846e6645b739eadb6b06187dc5207f0 | [
"BSD-3-Clause"
] | 1 | 2021-06-03T05:22:02.000Z | 2021-06-03T05:22:02.000Z | CREATE TABLE `withdraw` (
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`user_id` INT(10) NOT NULL COMMENT '申请用户ID',
`money` SMALLINT(6) UNSIGNED NOT NULL COMMENT '申请提现金额(分)',
`account` VARCHAR(20) NOT NULL COMMENT '开户人',
`bank` VARCHAR(40) NOT NULL COMMENT '银行名称',
`branch` VARCHAR(100) NOT NULL COMMENT '开... | 51.869565 | 69 | 0.702431 |
a32bfbedd34b1f2e6ccf317caab48f1a5af24876 | 1,853 | java | Java | schedoscope-export/src/main/java/org/schedoscope/export/ftp/outputformat/JsonRecordWriter.java | cwsteinbach/schedoscope | 5fa5d6c2a672ff61722fbd8f1959fe0406f44a9b | [
"Apache-2.0"
] | 112 | 2015-05-12T19:30:58.000Z | 2022-01-13T09:26:56.000Z | schedoscope-export/src/main/java/org/schedoscope/export/ftp/outputformat/JsonRecordWriter.java | cwsteinbach/schedoscope | 5fa5d6c2a672ff61722fbd8f1959fe0406f44a9b | [
"Apache-2.0"
] | 44 | 2015-06-24T13:53:05.000Z | 2018-03-27T08:25:32.000Z | schedoscope-export/src/main/java/org/schedoscope/export/ftp/outputformat/JsonRecordWriter.java | cwsteinbach/schedoscope | 5fa5d6c2a672ff61722fbd8f1959fe0406f44a9b | [
"Apache-2.0"
] | 33 | 2015-07-27T12:51:58.000Z | 2021-12-15T17:27:10.000Z | /**
* Copyright 2016 Otto (GmbH & Co KG)
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable ... | 29.412698 | 81 | 0.717215 |
a9e9eac8d7efc0c03b31437d9e89af6d230984c7 | 1,876 | php | PHP | app/Http/Controllers/EEBillingController.php | franklinff/neosoftmbd | 31a50f6e9ea713c512af9c696b6612caea7963c5 | [
"MIT"
] | null | null | null | app/Http/Controllers/EEBillingController.php | franklinff/neosoftmbd | 31a50f6e9ea713c512af9c696b6612caea7963c5 | [
"MIT"
] | null | null | null | app/Http/Controllers/EEBillingController.php | franklinff/neosoftmbd | 31a50f6e9ea713c512af9c696b6612caea7963c5 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class EEBillingController extends Controller
{
public function Login(){
return view('admin.ee_billing.login');
}
public function Dashboard(){
return view('admin.ee_billing.dashboard');
}
public function ListOfSoc... | 24.684211 | 71 | 0.666311 |
e1f3714412cbdc73a43a7f230bb36a735f8816b0 | 245 | cpp | C++ | SelfTrainBeforeGBLTContest/L1-041.cpp | YaKaiLi/YaKaiLi-PAT-Related | 5eca2d90a6e7fc069fd8c320721d337676200ade | [
"MIT"
] | null | null | null | SelfTrainBeforeGBLTContest/L1-041.cpp | YaKaiLi/YaKaiLi-PAT-Related | 5eca2d90a6e7fc069fd8c320721d337676200ade | [
"MIT"
] | null | null | null | SelfTrainBeforeGBLTContest/L1-041.cpp | YaKaiLi/YaKaiLi-PAT-Related | 5eca2d90a6e7fc069fd8c320721d337676200ade | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <algorithm>
#include <math.h>
using namespace std;
int main(){
int flag=1;
int inputTmp=0;
while(1){
cin>>inputTmp;
if(inputTmp==250){
cout<<flag;
break;
}
flag++;
}
return 0;
}
| 12.25 | 20 | 0.628571 |
3fa70dbde6fb3418384961a6bd7a1edc5eb75161 | 525 | php | PHP | routes/api.php | AndrianiClaudio/laravel-mail-auth | 7ac7ef9a61f359de214803ed9192efc8e5f70fed | [
"MIT"
] | null | null | null | routes/api.php | AndrianiClaudio/laravel-mail-auth | 7ac7ef9a61f359de214803ed9192efc8e5f70fed | [
"MIT"
] | null | null | null | routes/api.php | AndrianiClaudio/laravel-mail-auth | 7ac7ef9a61f359de214803ed9192efc8e5f70fed | [
"MIT"
] | null | null | null | <?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
Route::middleware('auth:api')
->get('/user', function (Request $request) {
return $request->user();
});
Route::namespace ('Api')
->group(function () {
Route::post('/contacts', 'ContactController@store');
Route... | 32.8125 | 87 | 0.647619 |
ea366fe81894e2951b3c633aab1abc400e8211f5 | 348 | dart | Dart | flutter_app/lib/commonWidget/CustomSrollViewBar.dart | coder-oneone/flutter_study | caeecec26626c8d27ef4f3ab73ad0d3fd24e51ea | [
"Apache-2.0"
] | null | null | null | flutter_app/lib/commonWidget/CustomSrollViewBar.dart | coder-oneone/flutter_study | caeecec26626c8d27ef4f3ab73ad0d3fd24e51ea | [
"Apache-2.0"
] | null | null | null | flutter_app/lib/commonWidget/CustomSrollViewBar.dart | coder-oneone/flutter_study | caeecec26626c8d27ef4f3ab73ad0d3fd24e51ea | [
"Apache-2.0"
] | null | null | null | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class CustomSrollContainer extends StatelessWidget {
Widget child;
CustomSrollContainer({required this.child});
@override
Widget build(BuildContext context) {
return CupertinoScrollbar(
child: SafeArea(
child: c... | 20.470588 | 52 | 0.704023 |
a7e63dea6394322215c1f887aad242b4a581003b | 756 | css | CSS | Session 01/css/styles.css | waylayio/external-dashboarding | 0305657ab08892e06b7e4c68467bbe42636615c2 | [
"MIT"
] | 1 | 2022-03-04T15:56:44.000Z | 2022-03-04T15:56:44.000Z | Session 01/css/styles.css | waylayio/external-dashboarding | 0305657ab08892e06b7e4c68467bbe42636615c2 | [
"MIT"
] | null | null | null | Session 01/css/styles.css | waylayio/external-dashboarding | 0305657ab08892e06b7e4c68467bbe42636615c2 | [
"MIT"
] | null | null | null | #cover { position: fixed; height: 100%; width: 100%; top:0; left: 0; background: #FFF; z-index:9999;}
.ui-autocomplete {
position: absolute;
z-index: 1000;
top: 0;
left: 0;
cursor: default;
color: white;
/* background-color: #fff;*/
padding:3px;
/*border: 1px solid #ccc*/
}
.ui-a... | 16.8 | 101 | 0.599206 |
e224d0696c1af16e73129442343ada2d4715b48e | 3,395 | py | Python | 289_Game-of-Life.py | Coalin/Daily-LeetCode-Exercise | a064dcdc3a82314be4571d342c4807291a24f69f | [
"MIT"
] | 3 | 2018-07-05T05:51:10.000Z | 2019-05-04T08:35:44.000Z | 289_Game-of-Life.py | Coalin/Daily-LeetCode-Exercise | a064dcdc3a82314be4571d342c4807291a24f69f | [
"MIT"
] | null | null | null | 289_Game-of-Life.py | Coalin/Daily-LeetCode-Exercise | a064dcdc3a82314be4571d342c4807291a24f69f | [
"MIT"
] | null | null | null | class Solution:
def gameOfLife(self, board):
"""
:type board: List[List[int]]
:rtype: void Do not return anything, modify board in-place instead.
"""
if not board:
return board
last = copy.deepcopy(board)
for i in range(len(board)):
... | 30.585586 | 75 | 0.377025 |
14fce740dbf446748abbc243fa5eb76e9eca9e05 | 993 | ts | TypeScript | src/apollo/apolloServer.ts | sexyGuyKangSungWoo/DDB-back | b1c80bceb64cbd0ddf78cbbce738eea8f3018ac7 | [
"MIT"
] | null | null | null | src/apollo/apolloServer.ts | sexyGuyKangSungWoo/DDB-back | b1c80bceb64cbd0ddf78cbbce738eea8f3018ac7 | [
"MIT"
] | null | null | null | src/apollo/apolloServer.ts | sexyGuyKangSungWoo/DDB-back | b1c80bceb64cbd0ddf78cbbce738eea8f3018ac7 | [
"MIT"
] | null | null | null |
import { ApolloServer, ExpressContext } from 'apollo-server-express';
import { AuthChecker, buildSchema } from 'type-graphql';
import { getUser } from '../auth/userToken';
import UserResolver from './resolvers/UserResolver';
export interface ApolloContext {
user?: string;
}
const authChecker: AuthChecker<ApolloC... | 22.568182 | 69 | 0.594159 |
c0f9069446590c96bc9a2341be6acf0adc3a403f | 2,593 | sh | Shell | source/xdg_base_directory_specification.sh | drew7721/dotfiles | 09161529902ed77a00693f55b60a9d107819cbd7 | [
"MIT"
] | 10 | 2015-01-11T20:45:58.000Z | 2021-08-14T16:07:02.000Z | source/xdg_base_directory_specification.sh | drew7721/dotfiles | 09161529902ed77a00693f55b60a9d107819cbd7 | [
"MIT"
] | 15 | 2015-09-24T16:49:52.000Z | 2021-11-09T15:57:24.000Z | source/xdg_base_directory_specification.sh | drew7721/dotfiles | 09161529902ed77a00693f55b60a9d107819cbd7 | [
"MIT"
] | 12 | 2015-02-05T14:42:08.000Z | 2020-06-30T18:50:38.000Z | # vim: ft=sh
##
# xdg_base_directory_specification
#
# Create XDG environment variables and directories.
#
# Note that this only implements the XDG Base Directory Specification from:
# - https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
#
# For additional information about support, and parti... | 40.515625 | 98 | 0.726957 |
8c350911233418ea8106f7fff2a32d2ff6c15117 | 1,437 | lua | Lua | components/Transformable.lua | unek/zombies | b6b31e543137ed392cd6f9f518c2de0ac1946bad | [
"MIT"
] | 2 | 2015-01-27T03:07:18.000Z | 2016-10-30T03:01:58.000Z | components/Transformable.lua | unek/zombies | b6b31e543137ed392cd6f9f518c2de0ac1946bad | [
"MIT"
] | null | null | null | components/Transformable.lua | unek/zombies | b6b31e543137ed392cd6f9f518c2de0ac1946bad | [
"MIT"
] | null | null | null | local Transformable = Component:extend("Transformable")
function Transformable:initialize(x, y, r, sx, sy)
self.pos = {}
self.pos.x = x or 0
self.pos.y = y or 0
self.rotation = r or 0
self.scale = {}
self.scale.x = sx or 1
self.scale.y = sy or self.scale.x
end
function Tr... | 20.239437 | 77 | 0.686848 |
aecfb92480a12482604efd2eb7b7842db1842340 | 1,682 | cs | C# | Library/PackageCache/com.unity.ads@3.4.4/Tests/Runtime/Advertisement/UnityAdsTestListener.cs | aflathmann/unity-game | 9707ce34bfea052239e5bb4941fd09e9505b16f0 | [
"MIT"
] | 1 | 2021-09-06T14:18:40.000Z | 2021-09-06T14:18:40.000Z | Library/PackageCache/com.unity.ads@3.4.5/Tests/Runtime/Advertisement/UnityAdsTestListener.cs | taylorbauer/Scraper | 7aa3d5ec4f5d09cf911d96cc7daf127fcf215473 | [
"MIT"
] | 5 | 2020-09-26T01:23:05.000Z | 2022-02-10T01:58:20.000Z | Library/PackageCache/com.unity.ads@3.4.5/Tests/Runtime/Advertisement/UnityAdsTestListener.cs | taylorbauer/Scraper | 7aa3d5ec4f5d09cf911d96cc7daf127fcf215473 | [
"MIT"
] | null | null | null | using UnityEngine.Events;
namespace UnityEngine.Advertisements.Tests
{
public class UnityAdsTestListener : IUnityAdsListener
{
public bool HasBeenCalled;
private UnityAction<string> m_UnityAdsReadyCallback;
private UnityAction<string> m_UnityAdsDidErrorCallback;
private... | 35.787234 | 189 | 0.65874 |
af04d4d6a71f4ac8c1417e39e76d2505a9711e43 | 1,046 | py | Python | redsocks/websocket.py | pkkid/django-redsocks | 615805c6b99aeedd59a2a66ea3bd25f7b606b968 | [
"MIT"
] | null | null | null | redsocks/websocket.py | pkkid/django-redsocks | 615805c6b99aeedd59a2a66ea3bd25f7b606b968 | [
"MIT"
] | null | null | null | redsocks/websocket.py | pkkid/django-redsocks | 615805c6b99aeedd59a2a66ea3bd25f7b606b968 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from redsocks.exceptions import WebSocketError
from redsocks.utils import uwsgi
class uWSGIWebsocket(object):
def __init__(self):
self.closed = False
def get_file_descriptor(self):
try:
return uwsgi.connection_fd()
except IOError as err:
... | 26.15 | 68 | 0.571702 |
cea085fe95d702ac28a4875732f3304673f91eeb | 54,433 | rs | Rust | gtk/src/subclass/widget.rs | BrainBlasted/gtk-rs | 6868cbb9fa8fc07eeefd22ac0e65ba795594138e | [
"MIT-0",
"MIT"
] | null | null | null | gtk/src/subclass/widget.rs | BrainBlasted/gtk-rs | 6868cbb9fa8fc07eeefd22ac0e65ba795594138e | [
"MIT-0",
"MIT"
] | null | null | null | gtk/src/subclass/widget.rs | BrainBlasted/gtk-rs | 6868cbb9fa8fc07eeefd22ac0e65ba795594138e | [
"MIT-0",
"MIT"
] | null | null | null | use libc::c_int;
use std::mem;
use glib::translate::*;
use glib::subclass::prelude::*;
use glib::{Cast, Object};
use crate::Allocation;
use crate::DragResult;
use crate::Inhibit;
use crate::Orientation;
use crate::SelectionData;
use crate::SizeRequestMode;
use crate::TextDirection;
use crate::Widget;
use crate::Widg... | 34.803708 | 100 | 0.592233 |
25820a4626f7213280a8548e04a807c149e838f2 | 2,811 | cs | C# | ReportService/Operations/DataImporters/PackageConsumerBase.cs | MakArs/ReportServer | 0c287ed48e495880e182011c80e4d71e78eb2adb | [
"MIT"
] | 2 | 2019-01-18T11:47:47.000Z | 2020-01-22T14:37:43.000Z | ReportService/Operations/DataImporters/PackageConsumerBase.cs | MakArs/ReportServer | 0c287ed48e495880e182011c80e4d71e78eb2adb | [
"MIT"
] | 2 | 2020-10-28T14:06:29.000Z | 2021-05-27T17:06:50.000Z | ReportService/Operations/DataImporters/PackageConsumerBase.cs | MakArs/ReportServer | 0c287ed48e495880e182011c80e4d71e78eb2adb | [
"MIT"
] | 9 | 2018-03-23T13:03:02.000Z | 2021-09-28T06:27:27.000Z | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using AutoMapper;
using ReportService.Entities;
using ReportService.Interfaces.Protobuf;
using ReportService.Interfaces.ReportTask;
using ReportService.Operations.Da... | 41.955224 | 153 | 0.710068 |
a4aa2b096351bf53dc2caf8e97c5ce57387f6fda | 5,501 | php | PHP | application/models/Crud.php | solusi-cipta-media/paket | c4aa17eff19c04092db2cdb5166753f39a7d0fa0 | [
"MIT"
] | null | null | null | application/models/Crud.php | solusi-cipta-media/paket | c4aa17eff19c04092db2cdb5166753f39a7d0fa0 | [
"MIT"
] | null | null | null | application/models/Crud.php | solusi-cipta-media/paket | c4aa17eff19c04092db2cdb5166753f39a7d0fa0 | [
"MIT"
] | null | null | null | <?php
class Crud extends CI_Model
{
public function get_where($table, $where)
{
$this->db->order_by("id", "DESC");
return $this->db->get_where($table, $where);
}
public function get_all($table)
{
$this->db->order_by("id", "DESC");
return $this->db->get($table);
... | 30.561111 | 108 | 0.533539 |
da8c9a52c3290f9c1efad21175926e430dac9b70 | 946 | php | PHP | Modules/HR/Events/InterviewCommunicationEmailSent.php | coloredcow-admin/employee-portal | 84884d0ae59947111e837f499f9455a265b8fad6 | [
"MIT"
] | 22 | 2018-04-14T13:30:08.000Z | 2021-02-24T15:10:39.000Z | Modules/HR/Events/InterviewCommunicationEmailSent.php | coloredcow-admin/employee-portal | 84884d0ae59947111e837f499f9455a265b8fad6 | [
"MIT"
] | 482 | 2021-07-19T14:07:27.000Z | 2022-03-31T13:55:28.000Z | Modules/HR/Events/InterviewCommunicationEmailSent.php | coloredcow-admin/employee-portal | 84884d0ae59947111e837f499f9455a265b8fad6 | [
"MIT"
] | 17 | 2021-07-30T10:58:10.000Z | 2022-03-26T16:52:55.000Z | <?php
namespace Modules\HR\Events;
use Illuminate\Queue\SerializesModels;
class InterviewCommunicationEmailSent
{
use SerializesModels;
private $condition;
private $options;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct($condition, $optio... | 17.2 | 57 | 0.582452 |
a341834745d70313ff3791249100ec8021ff0ba9 | 2,457 | swift | Swift | Sources/AppLogger/Views/FiltersView.swift | ipedro/AppLogger | 1ec454678f898dbf81b9926b98954079a45ca329 | [
"MIT"
] | 3 | 2022-03-11T01:02:03.000Z | 2022-03-18T17:22:25.000Z | Sources/AppLogger/Views/FiltersView.swift | ipedro/AppLogger | 1ec454678f898dbf81b9926b98954079a45ca329 | [
"MIT"
] | null | null | null | Sources/AppLogger/Views/FiltersView.swift | ipedro/AppLogger | 1ec454678f898dbf81b9926b98954079a45ca329 | [
"MIT"
] | null | null | null | // Copyright (c) 2022 Pedro Almeida
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, pub... | 37.227273 | 87 | 0.627188 |
383d83e6a852a07b3fd936bdec7292eb5252f804 | 1,323 | php | PHP | src/SprykerEco/Yves/Adyen/Form/SofortSubForm.php | spryker-eco/adyen | 08602c87284074282e3cf14cd66139851ff4ec31 | [
"MIT"
] | null | null | null | src/SprykerEco/Yves/Adyen/Form/SofortSubForm.php | spryker-eco/adyen | 08602c87284074282e3cf14cd66139851ff4ec31 | [
"MIT"
] | 13 | 2018-11-15T09:08:21.000Z | 2022-02-04T11:40:20.000Z | src/SprykerEco/Yves/Adyen/Form/SofortSubForm.php | spryker-eco/adyen | 08602c87284074282e3cf14cd66139851ff4ec31 | [
"MIT"
] | null | null | null | <?php
/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
namespace SprykerEco\Yves\Adyen\Form;
use Generated\Shared\Transfer\AdyenSofortPaymentTransfer;
use Generated\Shared\Transfer\PaymentTransfer;
use SprykerEco\Shared\Adyen\AdyenConfig... | 22.810345 | 105 | 0.664399 |
ee2782266368874304770be10b8ac739a211e9d4 | 2,279 | dart | Dart | lib/page/tutorial/tutorial3_page.dart | kitProject-dev/idea_note | 01b1f7279f677df195f1610383185ac7c82a2550 | [
"Apache-2.0"
] | null | null | null | lib/page/tutorial/tutorial3_page.dart | kitProject-dev/idea_note | 01b1f7279f677df195f1610383185ac7c82a2550 | [
"Apache-2.0"
] | null | null | null | lib/page/tutorial/tutorial3_page.dart | kitProject-dev/idea_note | 01b1f7279f677df195f1610383185ac7c82a2550 | [
"Apache-2.0"
] | null | null | null | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:idea_note/config/assets.dart';
import 'package:idea_note/config/route.dart';
class Tutorial3Page extends StatelessWidget {
const Tutorial3Page(this._pageContr... | 32.098592 | 76 | 0.512067 |
585f13fe313f998af18d2d7f79016d15c5730217 | 6,752 | css | CSS | css/Qualification.css | Abhijit-Dey100/Portfolio | a6a2e57a899b2bf5917c92a2274b41f3fc987ea5 | [
"MIT"
] | null | null | null | css/Qualification.css | Abhijit-Dey100/Portfolio | a6a2e57a899b2bf5917c92a2274b41f3fc987ea5 | [
"MIT"
] | 3 | 2020-11-28T13:20:42.000Z | 2021-01-01T16:53:34.000Z | css/Qualification.css | Sushant2024/cv | 168b1dcc1f56b6fc3d3bd74fc640ea828fcfa0b9 | [
"MIT"
] | 2 | 2020-11-23T17:25:40.000Z | 2020-11-23T17:41:54.000Z | /*====================================================
AWARD
======================================================*/
#awards {
background: #f0f0f0;
}
#award-box {
overflow: hidden;
position: relative;
padding: 60px 0;
}
#award-box:before {
content: "";
width: 1px;
he... | 19.514451 | 107 | 0.563981 |
94a340ad2c5bf177c668a2600e40b6e3c37cf1b3 | 12,558 | sql | SQL | ecafe/cafe.sql | YadavAnurag/ecafe | f3eee034044d957bb800d6a3d859e7ed0480d81a | [
"MIT"
] | null | null | null | ecafe/cafe.sql | YadavAnurag/ecafe | f3eee034044d957bb800d6a3d859e7ed0480d81a | [
"MIT"
] | null | null | null | ecafe/cafe.sql | YadavAnurag/ecafe | f3eee034044d957bb800d6a3d859e7ed0480d81a | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Feb 04, 2018 at 04:04 PM
-- Server version: 10.1.28-MariaDB
-- PHP Version: 7.1.10
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OL... | 36.4 | 162 | 0.62494 |
20cbc7e919c1060f1af5e0501e5b046321def912 | 2,157 | kt | Kotlin | src/test/kotlin/za/ac/sun/plume/PolyglotExtractorTest.kt | fabsx00/plume-extractor | e100de9ca17192451412e3743ef6fc645ec0c4f0 | [
"Apache-2.0"
] | 2 | 2020-12-20T16:08:37.000Z | 2021-11-13T15:21:21.000Z | src/test/kotlin/za/ac/sun/plume/PolyglotExtractorTest.kt | fabsx00/plume-extractor | e100de9ca17192451412e3743ef6fc645ec0c4f0 | [
"Apache-2.0"
] | null | null | null | src/test/kotlin/za/ac/sun/plume/PolyglotExtractorTest.kt | fabsx00/plume-extractor | e100de9ca17192451412e3743ef6fc645ec0c4f0 | [
"Apache-2.0"
] | null | null | null | package za.ac.sun.plume
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertNotNull
import org.junit.jupiter.api.BeforeAll
import org.junit.jupiter.api.Test
import za.ac.sun.plume.domain.models... | 33.184615 | 181 | 0.686602 |
3dfc04ae8ff07e8a96a740e393e89f16e4f6d67e | 740 | sql | SQL | tests/queries/0_stateless/01045_bloom_filter_null_array.sql | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 15,577 | 2019-09-23T11:57:53.000Z | 2022-03-31T18:21:48.000Z | tests/queries/0_stateless/01045_bloom_filter_null_array.sql | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 16,476 | 2019-09-23T11:47:00.000Z | 2022-03-31T23:06:01.000Z | tests/queries/0_stateless/01045_bloom_filter_null_array.sql | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 3,633 | 2019-09-23T12:18:28.000Z | 2022-03-31T15:55:48.000Z | DROP TABLE IF EXISTS bloom_filter_null_array;
CREATE TABLE bloom_filter_null_array (v Array(LowCardinality(Nullable(String))), INDEX idx v TYPE bloom_filter(0.1) GRANULARITY 1) ENGINE = MergeTree() ORDER BY v;
INSERT INTO bloom_filter_null_array VALUES ([]);
INSERT INTO bloom_filter_null_array VALUES (['1', '2']) ([]... | 46.25 | 163 | 0.758108 |
3ca4b661f6d8acdb5c73c3f9e0e75a8382e1e88e | 291 | kt | Kotlin | chat-components/framework/src/main/java/com/pubnub/framework/data/Typing.kt | pubnub/chat-components-android | 6e682ba069b5a4e425d07942b4f7c6d01382739a | [
"MIT"
] | null | null | null | chat-components/framework/src/main/java/com/pubnub/framework/data/Typing.kt | pubnub/chat-components-android | 6e682ba069b5a4e425d07942b4f7c6d01382739a | [
"MIT"
] | 5 | 2021-11-30T06:54:39.000Z | 2022-02-23T11:15:34.000Z | chat-components/framework/src/main/java/com/pubnub/framework/data/Typing.kt | pubnub/chat-components-android | 6e682ba069b5a4e425d07942b4f7c6d01382739a | [
"MIT"
] | 1 | 2021-11-03T11:21:12.000Z | 2021-11-03T11:21:12.000Z | package com.pubnub.framework.data
import com.pubnub.framework.util.timetoken
data class Typing(
val userId: UserId,
val channelId: ChannelId,
val isTyping: Boolean,
val timestamp: Long = System.currentTimeMillis().timetoken,
)
typealias TypingMap = HashMap<UserId, Typing> | 24.25 | 63 | 0.756014 |
a1628dcd6ce142b7cee6bb80b925ca3e4b5b700f | 195 | ts | TypeScript | src/features/widgets/view/components/ManagePresets/index.ts | leongaban/redux-saga-exchange | be968a46c95a2324a8e9480bcbc8e528e5518172 | [
"MIT"
] | 2 | 2021-07-02T04:56:15.000Z | 2021-09-27T16:57:55.000Z | src/features/widgets/view/components/ManagePresets/index.ts | leongaban/redux-saga-exchange | be968a46c95a2324a8e9480bcbc8e528e5518172 | [
"MIT"
] | null | null | null | src/features/widgets/view/components/ManagePresets/index.ts | leongaban/redux-saga-exchange | be968a46c95a2324a8e9480bcbc8e528e5518172 | [
"MIT"
] | null | null | null | export { default as Presets } from './Presets/Presets';
export { default as NewPreset } from './NewPreset/NewPreset';
export {default as FieldList, IFieldListProps} from './FieldList/FieldList';
| 48.75 | 76 | 0.753846 |
69e63657ff5dd57f433ce57aeb232ea83e2bec47 | 409 | dart | Dart | lib/blocs/photos/photos_event.dart | bartukaan/flutter_photos | 03787694b6cad56c56a22648b1357c045bb1c0d1 | [
"MIT"
] | null | null | null | lib/blocs/photos/photos_event.dart | bartukaan/flutter_photos | 03787694b6cad56c56a22648b1357c045bb1c0d1 | [
"MIT"
] | null | null | null | lib/blocs/photos/photos_event.dart | bartukaan/flutter_photos | 03787694b6cad56c56a22648b1357c045bb1c0d1 | [
"MIT"
] | 1 | 2021-12-09T09:22:57.000Z | 2021-12-09T09:22:57.000Z | part of 'photos_bloc.dart';
abstract class PhotosEvent extends Equatable {
const PhotosEvent();
@override
List<Object> get props => [];
@override
bool get stringify => true;
}
class PhotosSearchPhotos extends PhotosEvent {
final String query;
const PhotosSearchPhotos({@required this.query});
@over... | 17.782609 | 51 | 0.723716 |
6d00b7716c9b4901c7b19c4fd8360497fae7ef2c | 217 | ts | TypeScript | DreamCard/Client/Game_Combat/bin/newaes/newaes.d.ts | XWorldGames/Games | 1043903d71d1c8ab5e6ff0047e9b078905b4b712 | [
"MIT"
] | 8 | 2021-07-17T20:40:26.000Z | 2022-01-24T19:09:49.000Z | libs/modules/newaes/newaes.d.ts | GitHub-Zjw/h5NiuNiu | 0386cd01047d6bce8e25630abd5c6d7c4437399e | [
"MIT"
] | null | null | null | libs/modules/newaes/newaes.d.ts | GitHub-Zjw/h5NiuNiu | 0386cd01047d6bce8e25630abd5c6d7c4437399e | [
"MIT"
] | 8 | 2021-08-02T04:45:30.000Z | 2022-03-18T12:36:03.000Z |
/*
模块名称:newaes
模块说明:按照egret的要求,重新组织AES接口,提供加密解密调用;
修改:毛明超;
日期:2016-6-8
QQ:4176244, 3128666862
*/
declare class newaes {
constructor();
ex(data:any, key:any, iv:any):any;
dx(data:any, key:any, iv:any):any;
} | 15.5 | 38 | 0.682028 |
1a4cfe52e64e1cbc2af980058707dd3747218637 | 988 | py | Python | instance/config.py | koitoror/store-manager-ch-3 | 62e614bc4cc3d8b48e2a1889eca516e737711edc | [
"MIT"
] | 1 | 2019-10-25T20:51:08.000Z | 2019-10-25T20:51:08.000Z | instance/config.py | koitoror/store-manager-ch-3 | 62e614bc4cc3d8b48e2a1889eca516e737711edc | [
"MIT"
] | 4 | 2018-10-11T09:08:29.000Z | 2018-10-27T10:50:56.000Z | instance/config.py | koitoror/StoreManager | f806b8aa989393b4d2b1967c5be99ee3c4b5b9b6 | [
"MIT"
] | null | null | null | # config.py
import os
class Config(object):
"""Parent configuration class."""
DEBUG = False
TESTING = False
# SECRET_KEY = os.getenv('SECRET_KEY')
SECRET_KEY="some-very-long-string-of-random-characters-CHANGE-TO-YOUR-LIKING"
RESTPLUS_VALIDATE = True
ERROR_404_HELP = False
# db_name = os... | 25.333333 | 81 | 0.662955 |
4bf773b54ad27fd02e6b58ade3b1f3b7e51cdb79 | 4,547 | h | C | gst/gst-kvs-plugin/src/KvsWebRtc.h | adamthesax/amazon-kinesis-video-streams-demos | 26bfc487e8de5b4d0a11f87f5f4919e89bc6a186 | [
"Apache-2.0"
] | 40 | 2020-04-23T20:13:53.000Z | 2022-03-17T03:30:42.000Z | gst/gst-kvs-plugin/src/KvsWebRtc.h | adamthesax/amazon-kinesis-video-streams-demos | 26bfc487e8de5b4d0a11f87f5f4919e89bc6a186 | [
"Apache-2.0"
] | 62 | 2020-04-23T20:45:42.000Z | 2022-01-26T21:36:37.000Z | gst/gst-kvs-plugin/src/KvsWebRtc.h | adamthesax/amazon-kinesis-video-streams-demos | 26bfc487e8de5b4d0a11f87f5f4919e89bc6a186 | [
"Apache-2.0"
] | 28 | 2020-05-07T12:12:13.000Z | 2022-03-09T06:17:08.000Z | #ifndef __KVS_WEBRTC_FUNCTIONALITY_H__
#define __KVS_WEBRTC_FUNCTIONALITY_H__
#define DEFAULT_MASTER_CLIENT_ID "KvsPluginMaster"
#define DEFAULT_VIEWER_CLIENT_ID "KvsPluginViewer"
#define DEFAULT_CHANNEL_NAME "DEFAULT_CHANNEL"
#define DEFAULT_TRICKLE_ICE_MODE TRUE
#define DEFAULT_WEBRTC_CON... | 56.135802 | 150 | 0.806466 |
ba326a034abca382e454bb687282d5650e20cb6a | 930 | swift | Swift | Pin.swift | vbrocket/Virtual-Tourist | 5efe8f06f201b38c21ad304edb656c1c00d18848 | [
"Unlicense"
] | 1 | 2016-06-16T08:03:17.000Z | 2016-06-16T08:03:17.000Z | Pin.swift | vbrocket/Virtual-Tourist | 5efe8f06f201b38c21ad304edb656c1c00d18848 | [
"Unlicense"
] | null | null | null | Pin.swift | vbrocket/Virtual-Tourist | 5efe8f06f201b38c21ad304edb656c1c00d18848 | [
"Unlicense"
] | null | null | null | //
// Pin.swift
// VirtualTourist
//
// Created by Ibrahim.Moustafa on 5/30/16.
// Copyright © 2016 Ibrahim.Moustafa. All rights reserved.
//
import Foundation
import CoreData
class Pin: NSManagedObject {
// In Swift, superclass initializers are not available to subclasses, so it is necessary to include ... | 33.214286 | 167 | 0.717204 |
ffd1a6a9299f4ba32be4a5edc57849852e750ecc | 1,056 | a51 | Assembly | LED Interfacing/Patterns/Pattern4.a51 | dmdhrumilmistry/8051-Codes | f7c1051daddb17851befe0ebc959ecc444d6def9 | [
"MIT"
] | null | null | null | LED Interfacing/Patterns/Pattern4.a51 | dmdhrumilmistry/8051-Codes | f7c1051daddb17851befe0ebc959ecc444d6def9 | [
"MIT"
] | null | null | null | LED Interfacing/Patterns/Pattern4.a51 | dmdhrumilmistry/8051-Codes | f7c1051daddb17851befe0ebc959ecc444d6def9 | [
"MIT"
] | null | null | null | // . . . . . . . .
// 0 1 2 3 4 5 6 7
// PATTERN 4 ON PORT 2
//
// .
// . .
// . . .
// . . . .
// . . . . .
// . . . . . .
// . . . . . . .
// . . . . . . . .
// . . . . . . .
// . . . . . .
// . . . .
// . . .
// . .
// .
// 0 1 2 3 4 5 6 7
ORG 0000H
// ... | 13.367089 | 22 | 0.465909 |
fa75e9117e534ec6e8c6b5dae4c83b9277ed8ae6 | 338 | cpp | C++ | Codeforces Online Judge Solve/68A - Irrational problem.cpp | Remonhasan/programming-solve | 5a4ac8c738dd361e1c974162e0eaebbaae72fd80 | [
"Apache-2.0"
] | null | null | null | Codeforces Online Judge Solve/68A - Irrational problem.cpp | Remonhasan/programming-solve | 5a4ac8c738dd361e1c974162e0eaebbaae72fd80 | [
"Apache-2.0"
] | null | null | null | Codeforces Online Judge Solve/68A - Irrational problem.cpp | Remonhasan/programming-solve | 5a4ac8c738dd361e1c974162e0eaebbaae72fd80 | [
"Apache-2.0"
] | null | null | null | // Remon Hasan
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
int p[4], a, b;
cin >> p[0] >> p[1] >> p[2] >> p[3] >> a >> b;
int m = *min_element(p, p + 4);
if (a < m)
{
cout << min(b, m - 1) - a + 1 << endl;
}
else
{
cout << 0 << endl;
... | 14.695652 | 50 | 0.423077 |
58004b3bcc718375bf79890bac80e5864033e66f | 1,196 | css | CSS | archive-main/static/styles.css | cmlohr/library-rating | 39c8d5c91bcef806d66d86c64fdbfcbaaf82e716 | [
"MIT"
] | null | null | null | archive-main/static/styles.css | cmlohr/library-rating | 39c8d5c91bcef806d66d86c64fdbfcbaaf82e716 | [
"MIT"
] | null | null | null | archive-main/static/styles.css | cmlohr/library-rating | 39c8d5c91bcef806d66d86c64fdbfcbaaf82e716 | [
"MIT"
] | null | null | null | html, body {
height: 100%;
}
html {
display: table;
margin: auto;
}
body {
display: table-cell;
vertical-align: middle;
background-color: #30475e;
color: #eeeeee;
text-align: center;
}
.cust-align {
text-align: right;
}
.front-btn {
background-color: #191919;
color: #eeeeee;
... | 17.085714 | 39 | 0.614548 |
7f0099474c83c98b032252f4caad23bdea46fa58 | 2,055 | cs | C# | src/TilosPlayer.Library/ApiClient.cs | gemolnar/TilosPlayer-b | 6b4cffafda2dc3a3d9b93c3baac8648e0136783a | [
"BSD-2-Clause"
] | null | null | null | src/TilosPlayer.Library/ApiClient.cs | gemolnar/TilosPlayer-b | 6b4cffafda2dc3a3d9b93c3baac8648e0136783a | [
"BSD-2-Clause"
] | null | null | null | src/TilosPlayer.Library/ApiClient.cs | gemolnar/TilosPlayer-b | 6b4cffafda2dc3a3d9b93c3baac8648e0136783a | [
"BSD-2-Clause"
] | null | null | null | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using TilosPlayer.Library.Domain;
namespace TilosPlayer.Library
{
public class ApiClient
{
private const string API_ENDPOINT = "https://tilos.hu/api/v1/";
public async ... | 29.782609 | 113 | 0.749392 |
3868ef5c6c8821328fae722f61183ebfc33e688f | 4,381 | php | PHP | app/Http/Controllers/ContactController.php | luiz8910/informatise | 27525eeb241e393fa1c918db3e3793b69e3e7444 | [
"MIT"
] | null | null | null | app/Http/Controllers/ContactController.php | luiz8910/informatise | 27525eeb241e393fa1c918db3e3793b69e3e7444 | [
"MIT"
] | null | null | null | app/Http/Controllers/ContactController.php | luiz8910/informatise | 27525eeb241e393fa1c918db3e3793b69e3e7444 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Mail\Contact;
use App\Mail\Newsletter;
use App\Repositories\CompanyDataRepository;
use App\Repositories\ContactRepository;
use App\Repositories\NewsletterRepository;
use App\Repositories\UserRepository;
use App\Traits\Config;
use Illuminate\Http\Request;
use Illuminate\Su... | 25.770588 | 114 | 0.546679 |
8032e4afa26e26cf54a56974ffd531b2bcc6be6c | 363 | sql | SQL | v3.1/Database/dbo/Tables/ETunnels.sql | LightosLimited/RailML | df4439865ee55e828cf05b1082bf0197eb825cee | [
"Apache-2.0"
] | null | null | null | v3.1/Database/dbo/Tables/ETunnels.sql | LightosLimited/RailML | df4439865ee55e828cf05b1082bf0197eb825cee | [
"Apache-2.0"
] | null | null | null | v3.1/Database/dbo/Tables/ETunnels.sql | LightosLimited/RailML | df4439865ee55e828cf05b1082bf0197eb825cee | [
"Apache-2.0"
] | null | null | null | CREATE TABLE [dbo].[ETunnels]
(
--From MergedXSDs XSD
--From 'genericRailML' Namespace
[ETunnelsId] BIGINT NOT NULL,
[Tunnel] SMALLINT NOT NULL,
CONSTRAINT [PK_ETunnelsId] PRIMARY KEY CLUSTERED ([ETunnelsId] ASC),
CONSTRAINT [FK_ETunnels_ETunnel] FOREIGN KEY ([Tunnel]) REFERENCES [dbo].[ETunnel] ([ETunnelId]) ... | 33 | 137 | 0.738292 |