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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
24f015f75bfc64d3c37965f8aaaca69fd88c59f0 | 1,586 | kt | Kotlin | app/src/main/java/payment/sdk/android/demo/products/viewholder/ProductsViewHolder.kt | Mohmd-H-BH/payment-sdk-android | 316d29a15cd95e79e7b71f875af4843af9620933 | [
"MIT-0"
] | 3 | 2020-07-11T17:25:07.000Z | 2020-11-25T09:56:54.000Z | app/src/main/java/payment/sdk/android/demo/products/viewholder/ProductsViewHolder.kt | Mohmd-H-BH/payment-sdk-android | 316d29a15cd95e79e7b71f875af4843af9620933 | [
"MIT-0"
] | 12 | 2019-11-27T15:58:05.000Z | 2021-12-14T04:13:01.000Z | app/src/main/java/payment/sdk/android/demo/products/viewholder/ProductsViewHolder.kt | Mohmd-H-BH/payment-sdk-android | 316d29a15cd95e79e7b71f875af4843af9620933 | [
"MIT-0"
] | 7 | 2019-12-04T07:43:49.000Z | 2022-02-15T07:02:24.000Z | package payment.sdk.android.demo.products.viewholder
import payment.sdk.android.R
import payment.sdk.android.demo.dependency.formatter.Formatter
import payment.sdk.android.demo.product_detail.ProductDetailActivity
import payment.sdk.android.demo.products.data.ProductDomain
import android.support.v7.widget.RecyclerView... | 31.72 | 118 | 0.758512 |
5807fd10b82c781d0694bd3d706695c7f76b2701 | 380 | h | C | derived.h | emaskovsky/examples-c-oop | ca44e204e120f2d5722b684fef7490521b5f5b8c | [
"Apache-2.0"
] | null | null | null | derived.h | emaskovsky/examples-c-oop | ca44e204e120f2d5722b684fef7490521b5f5b8c | [
"Apache-2.0"
] | null | null | null | derived.h | emaskovsky/examples-c-oop | ca44e204e120f2d5722b684fef7490521b5f5b8c | [
"Apache-2.0"
] | null | null | null |
#ifndef DERIVED_H
#define DERIVED_H
#include "base.h"
DECLARE_CLASS_BEGIN(Derived, Base)
// the attributes
int y;
DECLARE_CLASS_END(Derived)
DECLARE_CLASS_CONSTRUCTOR(Derived)(Derived *self, int x, int y);
DECLARE_CLASS_VTABLE_BEGIN(Derived, Base)
// the methods
void (*setY)(void *, int);
int ... | 16.521739 | 64 | 0.718421 |
1aca6b8fca54de5031757b90a95265742130df7a | 3,673 | rs | Rust | src/main.rs | UpsettingBoy/demangler-public | 657fca289700e78baf8e1947226e80756656eccd | [
"Apache-2.0"
] | null | null | null | src/main.rs | UpsettingBoy/demangler-public | 657fca289700e78baf8e1947226e80756656eccd | [
"Apache-2.0"
] | null | null | null | src/main.rs | UpsettingBoy/demangler-public | 657fca289700e78baf8e1947226e80756656eccd | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2020 The University of Edinburgh
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 ag... | 29.150794 | 137 | 0.646338 |
e8a9c43db3d689f8d0ea0574115329ffddff7570 | 317 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/tangible/event_perk/remembrance_day_player_resistance_sign.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/event_perk/remembrance_day_player_resistance_sign.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/event_perk/remembrance_day_player_resistance_sign.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_tangible_event_perk_remembrance_day_player_resistance_sign = object_tangible_event_perk_shared_remembrance_day_player_resistance_sign:new {
}
ObjectTemplates:addTemplate(object_tangible_event_perk_remembrance_day_player_resistance_sign, "object/tangible/event_perk/remembrance_day_player_resistance_sign.iff")
| 79.25 | 167 | 0.933754 |
bcb193b3b4236d3fef12de4acb2ffa3c86862c91 | 12,323 | js | JavaScript | src/levels/totwc/areas/1/3/model.inc.js | koolaidbeems/koolaidbeems.github.io | 68d5d29dd5b7c02646d8adfcf436badc7802e647 | [
"WTFPL"
] | null | null | null | src/levels/totwc/areas/1/3/model.inc.js | koolaidbeems/koolaidbeems.github.io | 68d5d29dd5b7c02646d8adfcf436badc7802e647 | [
"WTFPL"
] | null | null | null | src/levels/totwc/areas/1/3/model.inc.js | koolaidbeems/koolaidbeems.github.io | 68d5d29dd5b7c02646d8adfcf436badc7802e647 | [
"WTFPL"
] | null | null | null | import * as Gbi from "../../../../../include/gbi"
import { sky_09001000 } from "../../../../../textures/sky"
import { totwc_seg7_texture_07001000 } from "../../../texture.inc"
const totwc_seg7_vertex_070070C8 = [
{ pos: [ 4506, -7679, 3686 ], flag: 0, tc: [ 990, 990 ], color: [ 254, 255, 203, 0 ] },
{ pos: [ 3686, -7... | 70.417143 | 218 | 0.538262 |
5c35dcae6f97ff35596bcc16ac49e2f6af282e2f | 15,259 | c | C | linux-2.6.0/arch/ppc64/kernel/smp.c | dnhua/Linux_study | 96863b599cbba9c925b3209bed07b1d7b60cb463 | [
"MIT"
] | 1 | 2020-11-10T12:47:02.000Z | 2020-11-10T12:47:02.000Z | linux-2.6.0/arch/ppc64/kernel/smp.c | dnhua/Linux_study | 96863b599cbba9c925b3209bed07b1d7b60cb463 | [
"MIT"
] | null | null | null | linux-2.6.0/arch/ppc64/kernel/smp.c | dnhua/Linux_study | 96863b599cbba9c925b3209bed07b1d7b60cb463 | [
"MIT"
] | null | null | null | /*
* SMP support for ppc.
*
* Written by Cort Dougan (cort@cs.nmt.edu) borrowing a great
* deal of code from the sparc and intel versions.
*
* Copyright (C) 1999 Cort Dougan <cort@cs.nmt.edu>
*
* PowerPC-64 Support added by Dave Engebretsen, Peter Bergner, and
* Mike Corrigan {engebret|bergner|mikec}@us.ibm.co... | 22.5059 | 87 | 0.691985 |
5fcee1244c6a24198233f0e18bc03ecc245d975b | 1,792 | css | CSS | app/assets/stylesheets/lit/lit_frontend.css | b2bmg/lit | b563f236feb8da9a591f99c142a5de35e16f0a84 | [
"MIT"
] | 219 | 2015-01-05T15:29:13.000Z | 2022-02-03T01:41:22.000Z | app/assets/stylesheets/lit/lit_frontend.css | b2bmg/lit | b563f236feb8da9a591f99c142a5de35e16f0a84 | [
"MIT"
] | 93 | 2015-01-08T14:11:12.000Z | 2021-12-24T14:27:53.000Z | app/assets/stylesheets/lit/lit_frontend.css | b2bmg/lit | b563f236feb8da9a591f99c142a5de35e16f0a84 | [
"MIT"
] | 66 | 2015-01-18T22:39:40.000Z | 2022-03-22T08:54:07.000Z | .lit-key-generic {
}
.lit-key-highlight {
text-decoration: underline !important;
text-decoration-color: red !important;
text-decoration-style: wavy !important;
}
#lit_button_wrapper {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 100;
background-color: red;
border-radius: 4px;
display: block;... | 20.363636 | 61 | 0.699777 |
f08133a0ab8681553c9936415f848d5882f36db1 | 1,150 | py | Python | src/controllers/storage.py | koddas/python-oop-consistency-lab | 8ee3124aa230359d296fdfbe0c23773602769c8c | [
"MIT"
] | null | null | null | src/controllers/storage.py | koddas/python-oop-consistency-lab | 8ee3124aa230359d296fdfbe0c23773602769c8c | [
"MIT"
] | null | null | null | src/controllers/storage.py | koddas/python-oop-consistency-lab | 8ee3124aa230359d296fdfbe0c23773602769c8c | [
"MIT"
] | null | null | null | from entities.serializable import Serializable
class Storage:
'''
Storage represents a file storage that stores and retrieves objects
'''
def __init__(self):
pass
def save(self, filename: str, data: Serializable) -> bool:
'''
Stores a serializable object. If the ob... | 28.75 | 78 | 0.578261 |
b951daafdf2ea631f4586edab95c7489c0b1ced2 | 1,785 | h | C | slrs/camlibs/smal/ultrapocket.h | milinddeore/360D-Sampler | a17df51aa3f1252274337c2421b90e4bd1c6b40e | [
"MIT"
] | null | null | null | slrs/camlibs/smal/ultrapocket.h | milinddeore/360D-Sampler | a17df51aa3f1252274337c2421b90e4bd1c6b40e | [
"MIT"
] | null | null | null | slrs/camlibs/smal/ultrapocket.h | milinddeore/360D-Sampler | a17df51aa3f1252274337c2421b90e4bd1c6b40e | [
"MIT"
] | null | null | null | /* ultrapocket.h
*
* Copyright (C) 2003 Lee Benfield <lee@benf.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any lat... | 35 | 122 | 0.753501 |
94824e59e3bbeec4a54da13bbcefeb75688ccf0a | 1,463 | rs | Rust | exercises/space-age/example.rs | hunger/rust | 0df41e20d0ddf7927dce28a78e50c1366980cb17 | [
"MIT"
] | 1 | 2019-08-01T06:36:55.000Z | 2019-08-01T06:36:55.000Z | exercises/space-age/example.rs | hunger/rust | 0df41e20d0ddf7927dce28a78e50c1366980cb17 | [
"MIT"
] | null | null | null | exercises/space-age/example.rs | hunger/rust | 0df41e20d0ddf7927dce28a78e50c1366980cb17 | [
"MIT"
] | 1 | 2020-12-24T15:13:15.000Z | 2020-12-24T15:13:15.000Z | pub struct Duration {
seconds: f64,
}
impl From<u64> for Duration {
fn from(s: u64) -> Self {
Duration { seconds: s as f64 }
}
}
impl From<f64> for Duration {
fn from(s: f64) -> Self {
Duration { seconds: s }
}
}
pub trait Planet {
fn orbital_duration() -> Duration;
fn yea... | 18.2875 | 52 | 0.62201 |
8eb5802c987393a0d4c44f0c9301cb02e2cc52e6 | 2,013 | sql | SQL | Documentation/DBScripts/1_category.sql | HPE-Legobricks/cal-eStore | e82b186c4dcf7c7be410029249b66f5e35cbb7bd | [
"ADSL"
] | null | null | null | Documentation/DBScripts/1_category.sql | HPE-Legobricks/cal-eStore | e82b186c4dcf7c7be410029249b66f5e35cbb7bd | [
"ADSL"
] | null | null | null | Documentation/DBScripts/1_category.sql | HPE-Legobricks/cal-eStore | e82b186c4dcf7c7be410029249b66f5e35cbb7bd | [
"ADSL"
] | null | null | null | USE calestore;
INSERT INTO CATEGORY
(`CATEGORY_ID`,
`CATEGORY_NAME`,
`CATEGORY_DESC`)
VALUES
(0,
'Laptops',
'');
INSERT INTO `calestore`.`CATEGORY`
(`CATEGORY_ID`,
`CATEGORY_NAME`,
`CATEGORY_DESC`)
VALUES
(0,
'Desktop',
'');
INSERT INTO `calestore`.`CATEGORY`
(`CATEGORY_ID`,
`CATEGORY_NAME`,
`CATEGORY_DESC`)
VALUES
... | 14.378571 | 81 | 0.704918 |
bebb9f72d65723025f5361a106f98638cf779bf6 | 216 | rs | Rust | src/play/mod.rs | Canop/lapin | a6b34c93b065b2606bb7a0b1034083d96e15a741 | [
"MIT"
] | 38 | 2020-03-12T13:50:57.000Z | 2022-01-19T02:44:24.000Z | src/play/mod.rs | Canop/lapin | a6b34c93b065b2606bb7a0b1034083d96e15a741 | [
"MIT"
] | 1 | 2020-06-23T05:41:02.000Z | 2020-06-23T11:04:33.000Z | src/play/mod.rs | Canop/lapin | a6b34c93b065b2606bb7a0b1034083d96e15a741 | [
"MIT"
] | 5 | 2020-03-12T21:16:33.000Z | 2021-06-26T22:45:27.000Z | use {
crate::{
display::Layout,
},
};
mod state;
pub use {
state::PlayLevelState,
};
pub const LAYOUT: Layout = Layout {
header_height: 0,
pen_panel_height: 0,
status_height: 1,
};
| 12 | 35 | 0.578704 |
5e35aa1a8cda3c124bfbd7beaa5998b08a77449d | 112 | kt | Kotlin | app/src/main/java/com/sadge/devbhoomi_uttarakhand/data/Wildlife.kt | karanpreet8082/Devbhoomi-Uttarakhand | 27712b367e05e3278592d8293eb03449d97bed64 | [
"MIT"
] | 2 | 2022-03-23T07:56:10.000Z | 2022-03-24T04:48:58.000Z | app/src/main/java/com/sadge/devbhoomi_uttarakhand/data/Wildlife.kt | karanpreet8082/Devbhoomi-Uttarakhand | 27712b367e05e3278592d8293eb03449d97bed64 | [
"MIT"
] | 8 | 2022-03-23T11:59:46.000Z | 2022-03-24T06:50:25.000Z | app/src/main/java/com/sadge/devbhoomi_uttarakhand/data/Wildlife.kt | karanpreet8082/Devbhoomi-Uttarakhand | 27712b367e05e3278592d8293eb03449d97bed64 | [
"MIT"
] | 3 | 2022-03-23T07:56:14.000Z | 2022-03-23T11:20:29.000Z | package com.sadge.devbhoomi_uttarakhand.data
data class Wildlife(
val image: String,
val name: String
) | 18.666667 | 44 | 0.75 |
0c838985451aa2ad22b242adc65e804a31a4160f | 2,859 | swift | Swift | lottie-swift/src/Private/Model/Objects/EffectValue.swift | MQZHot/lottie-ios | a274f67d63303789951f02b556ff5aff88dbc416 | [
"Apache-2.0"
] | 1 | 2021-07-20T13:57:50.000Z | 2021-07-20T13:57:50.000Z | lottie-swift/src/Private/Model/Objects/EffectValue.swift | MQZHot/lottie-ios | a274f67d63303789951f02b556ff5aff88dbc416 | [
"Apache-2.0"
] | 1 | 2021-01-07T07:12:03.000Z | 2021-01-07T07:12:03.000Z | lottie-swift/src/Private/Model/Objects/EffectValue.swift | MQZHot/lottie-ios | a274f67d63303789951f02b556ff5aff88dbc416 | [
"Apache-2.0"
] | 1 | 2021-01-30T09:11:23.000Z | 2021-01-30T09:11:23.000Z | //
// EffectValue.swift
// Lottie_iOS
//
// Created by Viktor Radulov on 9/10/19.
// Copyright © 2019 YurtvilleProds. All rights reserved.
//
import Foundation
public enum EffectValueType: Int, Codable {
case lineValue = 0
case flatValue = 2
case volumeValue = 3
case boolValue = 7
case boolValue2 ... | 26.971698 | 114 | 0.720182 |
e7fcf109cce1b1c57ca682a8b6f5606efb8ee46b | 643 | py | Python | data/test1.py | moses-alexander/simple-python-parser | a15f53a86d61fa5d98f5ade149d8c3a178ebfb50 | [
"BSD-3-Clause"
] | null | null | null | data/test1.py | moses-alexander/simple-python-parser | a15f53a86d61fa5d98f5ade149d8c3a178ebfb50 | [
"BSD-3-Clause"
] | null | null | null | data/test1.py | moses-alexander/simple-python-parser | a15f53a86d61fa5d98f5ade149d8c3a178ebfb50 | [
"BSD-3-Clause"
] | null | null | null | 1+2
3+5
7+8
6>7
abs(-3)
if 8 < 9: min(3,5)
else 4 < 5: abs(-2)
else 4 > 5: max(3, 7)
round(2.1)
round(3.6)
len("jfdgge")
type(4)
any(1, 3, 4)
any(0.0, 0.0, 0.0)
all("abc", "a")
all(0, 1)
bin(45)
lower("ABC")
upper("abc")
join("abc", "abc")
bool(0)
bool("abc")
ord('r')
chr(100)
str(130)
globals()
help()
hex(15)
oct(27)
... | 14.613636 | 196 | 0.62986 |
96683c41346e7de93524c24ca0f575e3105986f8 | 795 | php | PHP | other_windows_tools/DragonByte SEO v2.0.39 PRO/upload/dbtech/dbseo/hooks/threadbit_process.php | ExaByt3s/hack_scripts | cc801b36ea25f3b5a82d2900f53f5036e7abd8ad | [
"WTFPL"
] | 3 | 2021-01-22T19:32:23.000Z | 2022-01-03T01:06:44.000Z | other_windows_tools/DragonByte SEO v2.0.39 PRO/upload/dbtech/dbseo/hooks/threadbit_process.php | a04512/hack_scripts | cc801b36ea25f3b5a82d2900f53f5036e7abd8ad | [
"WTFPL"
] | null | null | null | other_windows_tools/DragonByte SEO v2.0.39 PRO/upload/dbtech/dbseo/hooks/threadbit_process.php | a04512/hack_scripts | cc801b36ea25f3b5a82d2900f53f5036e7abd8ad | [
"WTFPL"
] | 1 | 2021-12-10T13:18:16.000Z | 2021-12-10T13:18:16.000Z | <?php
do
{
if (!class_exists('DBSEO'))
{
// Set important constants
define('DBSEO_CWD', DIR);
define('DBSEO_TIMENOW', TIMENOW);
define('IN_DBSEO', true);
// Make sure we nab this class
require_once(DBSEO_CWD . '/dbtech/dbseo/includes/class_core.php');
// Init DBSEO
DBSEO::init(true)... | 17.282609 | 69 | 0.583648 |
5748421f71eac278a9f46ab10b285ea5c1cd36df | 849 | h | C | System/Library/PrivateFrameworks/OfficeImport.framework/CMXmlUtils.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 2 | 2021-11-02T09:23:27.000Z | 2022-03-28T08:21:57.000Z | System/Library/PrivateFrameworks/OfficeImport.framework/CMXmlUtils.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/OfficeImport.framework/CMXmlUtils.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 1 | 2022-03-28T08:21:59.000Z | 2022-03-28T08:21:59.000Z | /*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:22:40 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/OfficeI... | 40.428571 | 130 | 0.647821 |
e0c3c990eb8cfede29c55e8763f697d3e0ffe6c1 | 4,202 | swift | Swift | Auth0/CredentialsManagerError.swift | airtasker/Auth0.swift | 275079e44cf97497ae870deda1bf28dba0b26684 | [
"MIT"
] | null | null | null | Auth0/CredentialsManagerError.swift | airtasker/Auth0.swift | 275079e44cf97497ae870deda1bf28dba0b26684 | [
"MIT"
] | null | null | null | Auth0/CredentialsManagerError.swift | airtasker/Auth0.swift | 275079e44cf97497ae870deda1bf28dba0b26684 | [
"MIT"
] | null | null | null | import Foundation
/**
* Represents an error during a Credentials Manager operation.
*/
public struct CredentialsManagerError: Auth0Error {
enum Code: Equatable {
case noCredentials
case noRefreshToken
case renewFailed
case biometricsFailed
case revokeFailed
case ... | 41.60396 | 123 | 0.683484 |
9294c60197d527f5542cc6a715a02096cbd390cc | 647 | h | C | engine/main/objects/static/triggers/common/handler/Handler.h | bwormguy/flash | d1f0cc40fce67e9932d4e9474da8d66cab055cdf | [
"MIT"
] | 3 | 2020-08-25T07:49:45.000Z | 2020-10-16T17:54:53.000Z | engine/main/objects/static/triggers/common/handler/Handler.h | bwormguy/flash | d1f0cc40fce67e9932d4e9474da8d66cab055cdf | [
"MIT"
] | 1 | 2020-09-18T04:35:13.000Z | 2020-09-18T04:35:13.000Z | engine/main/objects/static/triggers/common/handler/Handler.h | bwormguy/flash | d1f0cc40fce67e9932d4e9474da8d66cab055cdf | [
"MIT"
] | null | null | null | //
// Created by roman on 04.10.2020.
//
#ifndef FLASH_HANDLER_H
#define FLASH_HANDLER_H
namespace Triggers {
/**
* @brief The base class of the Handler class hierarchy. Uses for change objects state.
* @namespace Triggers
*
* This class defines base Handler interface.
*/
template<cla... | 20.21875 | 91 | 0.61051 |
4421ecd9a343d5e957804514500985cbc97038b9 | 288 | sql | SQL | images/storage/bootstrap.sql | elston/carcassmysql | f4a00361536387a6ed5f3fbb10c585971a593de7 | [
"MIT"
] | null | null | null | images/storage/bootstrap.sql | elston/carcassmysql | f4a00361536387a6ed5f3fbb10c585971a593de7 | [
"MIT"
] | null | null | null | images/storage/bootstrap.sql | elston/carcassmysql | f4a00361536387a6ed5f3fbb10c585971a593de7 | [
"MIT"
] | null | null | null | -- ...
CREATE DATABASE IF NOT EXISTS `mediatry`
DEFAULT CHARACTER SET utf8
DEFAULT COLLATE utf8_general_ci;
-- ...
CREATE USER 'mark'@'%' IDENTIFIED BY 'zuckerberg';
GRANT ALL ON `mediatry`.* TO 'mark'@'%';
-- ...
FLUSH PRIVILEGES;
-- mysql -h 127.0.0.1 -P 3306 -u mark -p mediatry | 22.153846 | 50 | 0.663194 |
da7bb52a07f492454c696896d48986c9e3950b97 | 23,269 | sql | SQL | src/main/resources/sql/h2/schema/001_schema_create_query.sql | scratchpaws/hellfrog-bot | 71b9f3f5d71f7b0f636c3164471caac5c403aa48 | [
"MIT"
] | 1 | 2020-02-29T22:39:32.000Z | 2020-02-29T22:39:32.000Z | src/main/resources/sql/h2/schema/001_schema_create_query.sql | scratchpaws/hellfrog-bot | 71b9f3f5d71f7b0f636c3164471caac5c403aa48 | [
"MIT"
] | null | null | null | src/main/resources/sql/h2/schema/001_schema_create_query.sql | scratchpaws/hellfrog-bot | 71b9f3f5d71f7b0f636c3164471caac5c403aa48 | [
"MIT"
] | null | null | null | ----------------------
-- Create new entities
----------------------
-- hellfrog.settings.db.h2.CommonPreferencesDAOImpl
-- hellfrog.settings.db.entity.CommonPreference
create table common_preferences
(
key varchar(60) not null primary key,
string_value varchar(64) not null,
long_value bigint ... | 47.294715 | 161 | 0.770639 |
7ab61ee0b233990b607177a3870383585588449f | 67 | rb | Ruby | lib/iirc/version.rb | awfulcooking/iirc | 93950f91af20a0838a677ccc20106ac884d097bd | [
"MIT"
] | null | null | null | lib/iirc/version.rb | awfulcooking/iirc | 93950f91af20a0838a677ccc20106ac884d097bd | [
"MIT"
] | null | null | null | lib/iirc/version.rb | awfulcooking/iirc | 93950f91af20a0838a677ccc20106ac884d097bd | [
"MIT"
] | null | null | null | # frozen_string_literal: true
module IIRC
VERSION = "0.6.3"
end
| 11.166667 | 29 | 0.716418 |
8a4010f28a68a837fd53c26b9092ef811882dc41 | 3,903 | rs | Rust | components/engine_traits/src/options.rs | aknuds1/tikv | 24ce8e093a8e0051ca6894a149a64f39c5e1d34b | [
"Apache-2.0"
] | null | null | null | components/engine_traits/src/options.rs | aknuds1/tikv | 24ce8e093a8e0051ca6894a149a64f39c5e1d34b | [
"Apache-2.0"
] | null | null | null | components/engine_traits/src/options.rs | aknuds1/tikv | 24ce8e093a8e0051ca6894a149a64f39c5e1d34b | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 TiKV Project Authors. Licensed under Apache-2.0.
use tikv_util::keybuilder::KeyBuilder;
use crate::SeekMode;
#[derive(Clone)]
pub struct ReadOptions {}
impl ReadOptions {
pub fn new() -> ReadOptions {
ReadOptions {}
}
}
impl Default for ReadOptions {
fn default() -> ReadOptions... | 22.824561 | 81 | 0.593133 |
75194e2d57bdf2c7aa5d960e520132bee6bca159 | 5,104 | h | C | System/Library/Frameworks/PhotosUI.framework/PUPhotoStreamRecipientViewController.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 2 | 2021-11-02T09:23:27.000Z | 2022-03-28T08:21:57.000Z | System/Library/Frameworks/PhotosUI.framework/PUPhotoStreamRecipientViewController.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | null | null | null | System/Library/Frameworks/PhotosUI.framework/PUPhotoStreamRecipientViewController.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 1 | 2022-03-28T08:21:59.000Z | 2022-03-28T08:21:59.000Z | /*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:16:50 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/Frameworks/PhotosUI.frame... | 51.555556 | 276 | 0.789577 |
646235460cbf34d0f2d77a03681bcb20959337c4 | 2,681 | kt | Kotlin | packages/android/java/util/adhoc-timer.kt | raghavv/mubble | a073cf28dd1f744fca9a24300f25df5fec0bc968 | [
"MIT"
] | null | null | null | packages/android/java/util/adhoc-timer.kt | raghavv/mubble | a073cf28dd1f744fca9a24300f25df5fec0bc968 | [
"MIT"
] | null | null | null | packages/android/java/util/adhoc-timer.kt | raghavv/mubble | a073cf28dd1f744fca9a24300f25df5fec0bc968 | [
"MIT"
] | null | null | null | package util
import android.os.Handler
import android.os.Looper
import core.MubbleLogger
import org.jetbrains.anko.info
/*------------------------------------------------------------------------------
About : A long lifespan (typically tied to a class lifetime) adHoc timer.
Created on : 17/01/18
Author... | 30.465909 | 104 | 0.612085 |
1254acdfb7598a2bdb8e01beeaeede891087193b | 2,411 | h | C | src/FXPlatform/Htn/HtnMethod.h | Bijiazhou/InductorHtn | 7abf7a6125fec50c66c02e623108b058eff34947 | [
"MIT"
] | 13 | 2019-05-20T23:45:43.000Z | 2022-02-02T20:02:38.000Z | src/FXPlatform/Htn/HtnMethod.h | Bijiazhou/InductorHtn | 7abf7a6125fec50c66c02e623108b058eff34947 | [
"MIT"
] | 3 | 2021-02-09T05:06:45.000Z | 2021-04-23T19:50:15.000Z | src/FXPlatform/Htn/HtnMethod.h | Bijiazhou/InductorHtn | 7abf7a6125fec50c66c02e623108b058eff34947 | [
"MIT"
] | 4 | 2020-09-26T04:11:49.000Z | 2022-02-02T20:02:40.000Z | //
// HtnMethod.hpp
// GameLib
//
// Created by Eric Zinda on 1/15/19.
// Copyright © 2019 Eric Zinda. All rights reserved.
//
#ifndef HtnMethod_hpp
#define HtnMethod_hpp
#include <memory>
#include <string>
#include <vector>
class HtnTerm;
enum class HtnMethodType
{
Normal,
AllSetOf,
AnySetOf
};
// M... | 34.442857 | 215 | 0.696392 |
25e7a0d092079f5afb9a3086726735ad51312b8f | 372 | asm | Assembly | oeis/016/A016204.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/016/A016204.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/016/A016204.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A016204: Expansion of 1/((1-x)(1-2x)(1-9x)).
; Submitted by Jamie Morken(s1)
; 1,12,115,1050,9481,85392,768655,6918150,62263861,560375772,5043383995,45390460050,408514148641,3676627354152,33089646220135,297806816046750,2680261344551821,24122352101228532,217101168911581075
mov $2,1
lpb $0
sub $0,1
add $1,$2
mul... | 24.8 | 195 | 0.733871 |
74ee7679b81a01405b927f6cfd11fd0a143825f1 | 10,460 | rs | Rust | sf/src/integration.rs | SetTheorist/rust-special-functions | a03ea7f07677a79dc8c80c468e90c6525b64bf96 | [
"BSD-3-Clause"
] | 1 | 2021-09-20T15:38:10.000Z | 2021-09-20T15:38:10.000Z | sf/src/integration.rs | SetTheorist/rust-special-functions | a03ea7f07677a79dc8c80c468e90c6525b64bf96 | [
"BSD-3-Clause"
] | null | null | null | sf/src/integration.rs | SetTheorist/rust-special-functions | a03ea7f07677a79dc8c80c468e90c6525b64bf96 | [
"BSD-3-Clause"
] | null | null | null | use crate::traits::*;
use sf_hex_float::hexf;
use crate::wide::Wide;
macro_rules! Wide { ($x:tt) => { hexf!(:2:Wide:$x) } }
// Trapezoidal
// Erf / Tanh/Sinh ("stretched trapezoidal")
// Simpson's
// Gaussian &c.
// adaptive? (may not need for purposes of spec.fun. implementations)
//
// extrapolation / sequence acce... | 49.809524 | 110 | 0.747897 |
e78c65abcf5da9ee529395235c0b7720e40e33f5 | 974 | js | JavaScript | src/utils/systemSetting.js | LinkCisss/PC-XTRB | 5da37e4136658f7f08cb16bb20d62fa1e8c34852 | [
"MIT"
] | null | null | null | src/utils/systemSetting.js | LinkCisss/PC-XTRB | 5da37e4136658f7f08cb16bb20d62fa1e8c34852 | [
"MIT"
] | null | null | null | src/utils/systemSetting.js | LinkCisss/PC-XTRB | 5da37e4136658f7f08cb16bb20d62fa1e8c34852 | [
"MIT"
] | null | null | null | /*
* 系统设置类
* @description 目前全局代码中还有很多地方没有直接使用该工具函数
* @editor ZhangLei 2021-08-31
*
* */
import { fs, AppPath } from "build/platform";
import path from "path";
/*
* 获取保存的系统设置
* @description 读取目录和读取文件都用的同步方法
* @editor ZhangLei 2021-08-31
* @return {object | void} 系统设置对象,没有获取到就无返回值
* */
export function getSystemSetting()... | 23.756098 | 73 | 0.644764 |
9bdcc223e26dc6331af1e0ea2bc372a7ce8a26f2 | 2,601 | js | JavaScript | src/components/header/header.js | Corea98/ecommerce-gatsby-strapi | e3318ff4bc6d0cd6c90dcacde895f21c49603ee6 | [
"RSA-MD"
] | null | null | null | src/components/header/header.js | Corea98/ecommerce-gatsby-strapi | e3318ff4bc6d0cd6c90dcacde895f21c49603ee6 | [
"RSA-MD"
] | null | null | null | src/components/header/header.js | Corea98/ecommerce-gatsby-strapi | e3318ff4bc6d0cd6c90dcacde895f21c49603ee6 | [
"RSA-MD"
] | null | null | null | import React from "react"
import { Link } from "gatsby"
import PropTypes from "prop-types"
import { css } from '@emotion/core'
import styled from '@emotion/styled'
// Hooks
import useSearch from '../../hooks/useSearch'
// Components
import Nav from './nav'
const Header = ({ isMobile, NavResponsive, M... | 20.480315 | 73 | 0.477124 |
83563b8c5bb6a28ec0e1e455576b90468c2b2a7b | 15,053 | kt | Kotlin | common/src/test/kotlin/net/wuillemin/jds/common/security/client/ClientHttpRequestAuthenticatorJwtTest.kt | twuillemin/jds | 1368aad39df7d444db3ad9289479b15d91dc9dd6 | [
"Apache-2.0"
] | null | null | null | common/src/test/kotlin/net/wuillemin/jds/common/security/client/ClientHttpRequestAuthenticatorJwtTest.kt | twuillemin/jds | 1368aad39df7d444db3ad9289479b15d91dc9dd6 | [
"Apache-2.0"
] | null | null | null | common/src/test/kotlin/net/wuillemin/jds/common/security/client/ClientHttpRequestAuthenticatorJwtTest.kt | twuillemin/jds | 1368aad39df7d444db3ad9289479b15d91dc9dd6 | [
"Apache-2.0"
] | null | null | null | package net.wuillemin.jds.common.security.client
import com.fasterxml.jackson.databind.ObjectMapper
import com.nhaarman.mockitokotlin2.whenever
import net.wuillemin.jds.common.config.CommonProperties
import net.wuillemin.jds.common.dto.TokenResponse
import net.wuillemin.jds.common.security.JWTConstant.Companion.HTTP_H... | 46.316923 | 195 | 0.657344 |
6c86a1a129deecc9a441b4850280191b05df73d2 | 460 | lua | Lua | utility.lua | salahzar/minetest-planets | 5dbea908746a8a4d1fdf9a22f2a1babfbc8266a3 | [
"Unlicense"
] | null | null | null | utility.lua | salahzar/minetest-planets | 5dbea908746a8a4d1fdf9a22f2a1babfbc8266a3 | [
"Unlicense"
] | null | null | null | utility.lua | salahzar/minetest-planets | 5dbea908746a8a4d1fdf9a22f2a1babfbc8266a3 | [
"Unlicense"
] | null | null | null | function dump(o)
if type(o) == 'table' then
local s = '{ '
for k, v in pairs(o) do
if type(k) ~= 'number' then k = '"' .. k .. '"' end
s = s .. '[' .. k .. '] = ' .. dump(v) .. ','
end
return s .. '} '
else
return tostring(o)
end
end
function interp(s, tab)
return (s:gsub('($%b{})', function(w) retu... | 25.555556 | 74 | 0.517391 |
98d3629557bf3b37e14d7b0b54269f5add82678a | 1,142 | html | HTML | src/pages/plp/index.html | vitaliysobur/gtm-demo | 7540ef143b8fff68f2e123a6691519cdc8892892 | [
"MIT"
] | null | null | null | src/pages/plp/index.html | vitaliysobur/gtm-demo | 7540ef143b8fff68f2e123a6691519cdc8892892 | [
"MIT"
] | null | null | null | src/pages/plp/index.html | vitaliysobur/gtm-demo | 7540ef143b8fff68f2e123a6691519cdc8892892 | [
"MIT"
] | 1 | 2021-04-02T15:46:33.000Z | 2021-04-02T15:46:33.000Z | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>The Accessible E Store</title>
<link rel="stylesheet" href="../../styles.scss" />
<link rel=... | 31.722222 | 76 | 0.594571 |
2f10385d10a160c1a07839c1f9de4853c8d8781b | 1,868 | php | PHP | tests/Unit/Implementation/Admin/GetTaskTest.php | timint/sveawebpay-php-checkout | ce37af54353e196a123af06b2a26e012f4398741 | [
"Apache-2.0"
] | null | null | null | tests/Unit/Implementation/Admin/GetTaskTest.php | timint/sveawebpay-php-checkout | ce37af54353e196a123af06b2a26e012f4398741 | [
"Apache-2.0"
] | null | null | null | tests/Unit/Implementation/Admin/GetTaskTest.php | timint/sveawebpay-php-checkout | ce37af54353e196a123af06b2a26e012f4398741 | [
"Apache-2.0"
] | null | null | null | <?php
namespace Svea\Checkout\Tests\Unit\Implementation\Admin;
use Svea\Checkout\Implementation\Admin\GetTask;
use Svea\Checkout\Model\Request;
use Svea\Checkout\Tests\Unit\TestCase;
use Svea\Checkout\Validation\Admin\ValidateGetTaskData;
class GetTaskTest extends TestCase
{
/**
* @var ValidateGetTaskData|\PHPUni... | 27.470588 | 113 | 0.718951 |
9340c5b85ebb46cc81e392928f6d388b60c9202a | 5,587 | swift | Swift | Algorithm-Swift/BinaryTreeTraversal/BinaryTreeTraversal.swift | tracy-e/Algorithm-Swift | 896a1faec361cfe057cc37517bbf1c7118f58a1b | [
"MIT"
] | null | null | null | Algorithm-Swift/BinaryTreeTraversal/BinaryTreeTraversal.swift | tracy-e/Algorithm-Swift | 896a1faec361cfe057cc37517bbf1c7118f58a1b | [
"MIT"
] | null | null | null | Algorithm-Swift/BinaryTreeTraversal/BinaryTreeTraversal.swift | tracy-e/Algorithm-Swift | 896a1faec361cfe057cc37517bbf1c7118f58a1b | [
"MIT"
] | null | null | null | //
// BinaryTreeTraversal.swift
// Algorithm-Swift
//
// Created by TracyYih on 2018/6/19.
// Copyright © 2018年 TracyYih. All rights reserved.
//
/***************************************************************************************************
*
* 从上往下打印出二叉树的每个节点,同层节点从左至右打印。
*
******************************... | 31.564972 | 100 | 0.444067 |
2dabe733540de00661a5626fb8609926a67ce3e5 | 80,518 | rs | Rust | shopify/src/events.rs | dholroyd/third-party-api-clients | 9414c4513cb9dc1dbf79843979380d8cc2d8f83b | [
"MIT"
] | 15 | 2021-07-15T18:58:32.000Z | 2022-03-04T06:37:27.000Z | shopify/src/events.rs | dholroyd/third-party-api-clients | 9414c4513cb9dc1dbf79843979380d8cc2d8f83b | [
"MIT"
] | 4 | 2021-09-13T21:47:42.000Z | 2022-03-31T03:30:39.000Z | shopify/src/events.rs | dholroyd/third-party-api-clients | 9414c4513cb9dc1dbf79843979380d8cc2d8f83b | [
"MIT"
] | 10 | 2021-08-21T08:15:41.000Z | 2022-03-26T02:48:30.000Z | use anyhow::Result;
use crate::Client;
pub struct Events {
pub client: Client,
}
impl Events {
#[doc(hidden)]
pub fn new(client: Client) -> Self {
Events { client }
}
/**
* Retrieves a list of events. Note: As of version 2019-07, this endpoint implements pagination by using links th... | 42.024008 | 279 | 0.605231 |
40cd7e1eb82c142d33648fc83e09c14326738da2 | 3,960 | sql | SQL | jhip_patient_info.sql | ZBT-95/-IRIS- | a9901a22f73c10fecf0ef847f9d4def33c1ab0a7 | [
"MIT"
] | 1 | 2021-01-27T10:52:45.000Z | 2021-01-27T10:52:45.000Z | jhip_patient_info.sql | ZBT-95/-IRIS- | a9901a22f73c10fecf0ef847f9d4def33c1ab0a7 | [
"MIT"
] | 1 | 2021-02-26T13:41:47.000Z | 2021-02-26T13:41:47.000Z | jhip_patient_info.sql | ZBT-95/-IRIS- | a9901a22f73c10fecf0ef847f9d4def33c1ab0a7 | [
"MIT"
] | 2 | 2021-01-23T05:32:26.000Z | 2022-01-26T01:48:15.000Z | /*
Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 80021
Source Host : localhost:3306
Source Database : 测试
Target Server Type : MYSQL
Target Server Version : 80021
File Encoding : 65001
Date: 2021-02-26 14:08:01
*/
SET FOREIGN_KEY_CHECKS=0;
-- ------... | 47.142857 | 373 | 0.672222 |
7480ff6075c776c9843ab4dcb44964ab2517b9f7 | 6,702 | rs | Rust | src/tests/request.rs | Estocy/backend | 9dddcfa3f9a202ea7086f90e03562c85f574bef8 | [
"MIT"
] | 1 | 2020-11-23T22:47:23.000Z | 2020-11-23T22:47:23.000Z | src/tests/request.rs | Estocy/backend | 9dddcfa3f9a202ea7086f90e03562c85f574bef8 | [
"MIT"
] | null | null | null | src/tests/request.rs | Estocy/backend | 9dddcfa3f9a202ea7086f90e03562c85f574bef8 | [
"MIT"
] | null | null | null | use chrono::NaiveDate;
use rocket::http::ContentType;
use rocket::http::Status;
use rocket_contrib::json::Json;
use serde_json;
use uuid::Uuid;
use crate::{
get_rocket_instance,
models::client::{Client, NewClient},
models::product::{NewProduct, Product, NewProductReceiver},
models::request::{NewRequest... | 27.809129 | 99 | 0.642644 |
9a9df5929a9a9d17269f26ebf2c870e64ec70435 | 895 | css | CSS | static/jslibs/style.jrac.css | ekorolev/autocard | 7207ace9d8541916c04686e3d1e584d80210923a | [
"MIT"
] | null | null | null | static/jslibs/style.jrac.css | ekorolev/autocard | 7207ace9d8541916c04686e3d1e584d80210923a | [
"MIT"
] | null | null | null | static/jslibs/style.jrac.css | ekorolev/autocard | 7207ace9d8541916c04686e3d1e584d80210923a | [
"MIT"
] | null | null | null | /* jQuery Resize And Crop (jrac) */
.jrac_container {
margin-bottom: 1em;
}
.jrac_viewport {
position: relative;
overflow: hidden;
border:1px solid #ccc;
width:640px;
height:480px;
background-image: url('images/viewport_background.gif');
border: dashed 5px #999;
}
.jrac_loading {
background-image... | 19.888889 | 58 | 0.687151 |
83cee958c434d6d680efc7399ea5307e6a586d87 | 47,086 | kt | Kotlin | src/commonMain/kotlin/com/twelfthmile/kyuga/kYuga.kt | messai-engineering/Kyuga | 308f0f89bdf02424ae236e56b38f722ca47b063d | [
"MIT"
] | null | null | null | src/commonMain/kotlin/com/twelfthmile/kyuga/kYuga.kt | messai-engineering/Kyuga | 308f0f89bdf02424ae236e56b38f722ca47b063d | [
"MIT"
] | 4 | 2020-04-16T08:25:45.000Z | 2021-05-13T10:23:46.000Z | src/commonMain/kotlin/com/twelfthmile/kyuga/kYuga.kt | messai-engineering/Kyuga | 308f0f89bdf02424ae236e56b38f722ca47b063d | [
"MIT"
] | null | null | null | package com.twelfthmile.kyuga
import com.twelfthmile.kyuga.expectations.MultDate
import com.twelfthmile.kyuga.expectations.formatDateDefault
import com.twelfthmile.kyuga.expectations.log
import com.twelfthmile.kyuga.regex.EMAIL_ADDRESS
import com.twelfthmile.kyuga.regex.PHONE
import com.twelfthmile.kyuga.regex.WEB_URL... | 39.30384 | 161 | 0.376503 |
9b886cdcaf3e48d450367daf38c2c337521a2538 | 47 | lua | Lua | entities/entities/npc_headcrab_black.lua | Ifzero-org/zombieMaster | 72932ee1c6955f045566dcd11e13f375431ddbe5 | [
"Apache-2.0"
] | null | null | null | entities/entities/npc_headcrab_black.lua | Ifzero-org/zombieMaster | 72932ee1c6955f045566dcd11e13f375431ddbe5 | [
"Apache-2.0"
] | null | null | null | entities/entities/npc_headcrab_black.lua | Ifzero-org/zombieMaster | 72932ee1c6955f045566dcd11e13f375431ddbe5 | [
"Apache-2.0"
] | null | null | null | ENT.Type = "point"
ENT.Base = "npc_remove_base" | 23.5 | 28 | 0.723404 |
5958d4ea063fb2877fd9520ffa93b9b86eba86bc | 12,885 | h | C | vendors/marvell/WMSDK/mw320/sdk/src/wlan/wifidriver/incl/mlan_sdio.h | cringti/amazon-freertos | c334212b824703a6c5d4069fcc001511e6955c14 | [
"MIT"
] | 3 | 2020-03-18T09:56:10.000Z | 2021-04-23T17:19:01.000Z | vendors/marvell/WMSDK/mw320/sdk/src/wlan/wifidriver/incl/mlan_sdio.h | swhan1610/amazon-freertos | a9b6dafaf09dda6b0762688a99ab68f27657b29e | [
"MIT"
] | null | null | null | vendors/marvell/WMSDK/mw320/sdk/src/wlan/wifidriver/incl/mlan_sdio.h | swhan1610/amazon-freertos | a9b6dafaf09dda6b0762688a99ab68f27657b29e | [
"MIT"
] | 1 | 2022-01-28T07:39:40.000Z | 2022-01-28T07:39:40.000Z | /** @file mlan_sdio.h
*
* @brief This file contains definitions for SDIO interface.
*
* (C) Copyright 2008-2018 Marvell International Ltd. All Rights Reserved
*
* MARVELL CONFIDENTIAL
* The source code contained or described herein and all documents related to
* the source code ("Material") are owned by Ma... | 41.166134 | 135 | 0.636865 |
15a949d885be9c18269de0c46d9fe494fb31604d | 370 | rb | Ruby | app/helpers/courses_helper.rb | sonnguyen9800/RAD19_group_s3634703_s3634132- | 7abe8ad8d4df6efcb85be74c412f3973d0043825 | [
"Unlicense"
] | 1 | 2020-05-09T12:43:42.000Z | 2020-05-09T12:43:42.000Z | app/helpers/courses_helper.rb | sonnguyen9800/RAD19_group_s3634703_s3634132- | 7abe8ad8d4df6efcb85be74c412f3973d0043825 | [
"Unlicense"
] | 6 | 2020-06-25T09:48:01.000Z | 2022-03-31T01:09:12.000Z | app/helpers/courses_helper.rb | sonnguyen9800/RAD19_group_s3634703_s3634132- | 7abe8ad8d4df6efcb85be74c412f3973d0043825 | [
"Unlicense"
] | null | null | null | module CoursesHelper
def current_coordinator_owned?
@course = Course.find(params[:id])
if logged_in? == false
flash[:danger] = 'Error'
redirect_to courses_path
elsif (logged_in? && current_coordinator == @course.coordinator) || current_coordinator.adminflag == true
return true
else
... | 23.125 | 109 | 0.686486 |
e9a34ec123d34c42110dfe3ad5096a6d9d3e070d | 115 | rb | Ruby | app/models/system_access_request_group.rb | hcbl1212/administrative_forms | a9c7e529ff7f30be65597ddbcd88eab0f2110db9 | [
"MIT"
] | null | null | null | app/models/system_access_request_group.rb | hcbl1212/administrative_forms | a9c7e529ff7f30be65597ddbcd88eab0f2110db9 | [
"MIT"
] | null | null | null | app/models/system_access_request_group.rb | hcbl1212/administrative_forms | a9c7e529ff7f30be65597ddbcd88eab0f2110db9 | [
"MIT"
] | null | null | null | class SystemAccessRequestGroup < ApplicationRecord
belongs_to :group
belongs_to :system_access_request
end
| 23 | 50 | 0.826087 |
cb335bbea455cc947098e6ca86ee14a89aad8060 | 1,559 | h | C | swig/classes/include/wxPrintDialogData.h | eumario/wxruby | c348d0dd64f9549f51cbfd22658de42e7ca37194 | [
"MIT"
] | 7 | 2019-02-18T23:54:31.000Z | 2021-12-04T01:06:37.000Z | swig/classes/include/wxPrintDialogData.h | eumario/wxruby | c348d0dd64f9549f51cbfd22658de42e7ca37194 | [
"MIT"
] | null | null | null | swig/classes/include/wxPrintDialogData.h | eumario/wxruby | c348d0dd64f9549f51cbfd22658de42e7ca37194 | [
"MIT"
] | null | null | null | // Copyright 2004-2007, wxRuby development team
// released under the MIT-like wxRuby2 license
#if !defined(_wxPrintDialogData_h_)
#define _wxPrintDialogData_h_
class wxPrintDialogData : public wxObject
{
public:
wxPrintDialogData();
wxPrintDialogData(const wxPrintDialogData& dialogData);
wxPrintDialogD... | 27.839286 | 81 | 0.697883 |
7c1200d4add48a65205e3ae99fd3738aead0f0f3 | 351 | swift | Swift | validation-test/compiler_crashers_fixed/01420-swift-printingdiagnosticconsumer-handlediagnostic.swift | ghostbar/swift-lang.deb | b1a887edd9178a0049a0ef839c4419142781f7a0 | [
"Apache-2.0"
] | 10 | 2015-12-25T02:19:46.000Z | 2021-11-14T15:37:57.000Z | validation-test/compiler_crashers_fixed/01420-swift-printingdiagnosticconsumer-handlediagnostic.swift | ghostbar/swift-lang.deb | b1a887edd9178a0049a0ef839c4419142781f7a0 | [
"Apache-2.0"
] | 2 | 2016-02-01T08:51:00.000Z | 2017-04-07T09:04:30.000Z | validation-test/compiler_crashers_fixed/01420-swift-printingdiagnosticconsumer-handlediagnostic.swift | ghostbar/swift-lang.deb | b1a887edd9178a0049a0ef839c4419142781f7a0 | [
"Apache-2.0"
] | 3 | 2016-04-02T15:05:27.000Z | 2019-08-19T15:25:02.000Z | // RUN: not %target-swift-frontend %s -parse
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
struct X<d where h: T.Element == d
e where g, k : U) -> V {
typealias f = [c, B
class A {
init <T>(x: B(A... | 29.25 | 87 | 0.65812 |
6f31101f39cb53b2e2267912d9f8befd667e97a5 | 8,278 | kt | Kotlin | service/src/test/java/com/tink/service/insight/InsightActionConvertersTest.kt | tink-ab/tink-core-android | 93705434ef983bec8193eae3e9dd28be3cd9a809 | [
"MIT"
] | null | null | null | service/src/test/java/com/tink/service/insight/InsightActionConvertersTest.kt | tink-ab/tink-core-android | 93705434ef983bec8193eae3e9dd28be3cd9a809 | [
"MIT"
] | 4 | 2022-01-19T11:03:51.000Z | 2022-03-31T12:15:55.000Z | service/src/test/java/com/tink/service/insight/InsightActionConvertersTest.kt | tink-ab/tink-core-android | 93705434ef983bec8193eae3e9dd28be3cd9a809 | [
"MIT"
] | 4 | 2020-03-20T08:59:18.000Z | 2021-11-01T08:40:39.000Z | package com.tink.service.insight
import com.tink.model.insights.InsightAction
import com.tink.model.misc.Amount
import com.tink.model.misc.ExactNumber
import com.tink.rest.models.ActionableInsight
import com.tink.rest.models.InsightActionData
import com.tink.rest.tools.GeneratedCodeConverters
import org.assertj.core.a... | 39.798077 | 136 | 0.571636 |
6fec54604380b2d8e3eda38d897bf23bfb74f647 | 981 | sql | SQL | 1GDAW/BBDD/SQL/Equipo base especialistas 1-12-17.sql | Barraguesh/2GDAW | 64ce784973c747c9d7bd23d83206193ae1d98bbc | [
"MIT"
] | null | null | null | 1GDAW/BBDD/SQL/Equipo base especialistas 1-12-17.sql | Barraguesh/2GDAW | 64ce784973c747c9d7bd23d83206193ae1d98bbc | [
"MIT"
] | null | null | null | 1GDAW/BBDD/SQL/Equipo base especialistas 1-12-17.sql | Barraguesh/2GDAW | 64ce784973c747c9d7bd23d83206193ae1d98bbc | [
"MIT"
] | 2 | 2020-09-18T17:13:35.000Z | 2021-04-22T20:12:01.000Z | /*Especialista A: Dani*/
--1--
SELECT APELLIDO,SALARIO,DEPT_NO
FROM EMPLE
WHERE SALARIO > 200000 AND DEPT_NO IN (10,20);
--2--
SELECT APELLIDO,SALARIO
FROM EMPLE
WHERE SALARIO BETWEEN 150000 AND 200000;
--3--
SELECT APELLIDO
FROM EMPLE
WHERE DEPT_NO IN (10, 30);
--4--
SELECT APELLIDO,OFICIO
FROM EMPLE
WHERE ID... | 16.35 | 65 | 0.716616 |
510475c2f797297891a900dc460529caef3dd2f6 | 3,724 | c | C | src/flags.c | nudon/fancierGameEngine | bdba885e6bdbb51826eadc0d348c96bb6c5361b0 | [
"MIT"
] | null | null | null | src/flags.c | nudon/fancierGameEngine | bdba885e6bdbb51826eadc0d348c96bb6c5361b0 | [
"MIT"
] | null | null | null | src/flags.c | nudon/fancierGameEngine | bdba885e6bdbb51826eadc0d348c96bb6c5361b0 | [
"MIT"
] | null | null | null | #include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <math.h>
#include "flags.h"
#define COMP_PREY 0
#define COMP_HUNTER 1
#define COMP_USER 2
#define COMP_TRAVEL 3
#define COMP_HOLDABLE 4
#define BODY_INVULN 0
#define BODY_DAMAGER 1
#define DRAW_OUTLINE 0
#define DRAW_PICTURE 1
#define DRAW_EVENTS 2... | 20.921348 | 82 | 0.686627 |
2104dcb874eed8ac37b05ab6baa6d3b29ec3fd0d | 45 | kt | Kotlin | libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/js-composite-build/src/main/kotlin/Main.kt | Mu-L/kotlin | 5c3ce66e9979d2b3592d06961e181fa27fa88431 | [
"ECL-2.0",
"Apache-2.0"
] | 45,293 | 2015-01-01T06:23:46.000Z | 2022-03-31T21:55:51.000Z | libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/js-composite-build/app/src/main/kotlin/Main.kt | Seantheprogrammer93/kotlin | f7aabf03f89bdd39d9847572cf9e0051ea42c247 | [
"ECL-2.0",
"Apache-2.0"
] | 3,386 | 2015-01-12T13:28:50.000Z | 2022-03-31T17:48:15.000Z | libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/js-composite-build/app/src/main/kotlin/Main.kt | Seantheprogrammer93/kotlin | f7aabf03f89bdd39d9847572cf9e0051ea42c247 | [
"ECL-2.0",
"Apache-2.0"
] | 6,351 | 2015-01-03T12:30:09.000Z | 2022-03-31T20:46:54.000Z | fun main() {
println(Singleton.test())
}
| 11.25 | 29 | 0.6 |
f60f6f78a03f4ab3e69aaf02e249b7cabb3d1321 | 2,117 | swift | Swift | Sources/GraphKit/Components/LineGraph.swift | RMcBrideTaylor/GraphKit | e58b0e1bc2e01529ab00ede32511e39a9f065ea6 | [
"MIT"
] | 17 | 2020-02-29T14:00:45.000Z | 2021-12-03T05:05:47.000Z | Sources/GraphKit/Components/LineGraph.swift | RMcBrideTaylor/GraphKit | e58b0e1bc2e01529ab00ede32511e39a9f065ea6 | [
"MIT"
] | 2 | 2020-03-20T16:09:30.000Z | 2022-02-03T17:21:44.000Z | Sources/GraphKit/Components/LineGraph.swift | RMcBrideTaylor/GraphKit | e58b0e1bc2e01529ab00ede32511e39a9f065ea6 | [
"MIT"
] | 3 | 2020-02-25T00:38:11.000Z | 2022-03-24T17:55:09.000Z | //
// LineGraph.swift
// GraphKit
//
// Created by Reginald McBride-Taylor on 1/25/20.
// Copyright © 2020 Reginald McBride-Taylor. All rights reserved.
//
import SwiftUI
public struct LineGraph<T : ShapeStyle, U: ShapeStyle>: View, Graph {
@State public var data : [Double]
@State public var style : LineG... | 28.608108 | 90 | 0.432215 |
6fd4bd1ae16e23f3dc77183e8f88bb1ce194a5d2 | 1,626 | kt | Kotlin | app/src/main/java/com/example/testbank/repository/local/model/more/BaseMoreModel.kt | aucd29/testbank | 7b82096b854f200928a2c1c528f287c80f1a963f | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/testbank/repository/local/model/more/BaseMoreModel.kt | aucd29/testbank | 7b82096b854f200928a2c1c528f287c80f1a963f | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/testbank/repository/local/model/more/BaseMoreModel.kt | aucd29/testbank | 7b82096b854f200928a2c1c528f287c80f1a963f | [
"Apache-2.0"
] | null | null | null | package com.example.testbank.repository.local.model.more
import com.example.testbank.base.adapter.ListAdapterViewType
open class BaseMoreModel(
var id: Int,
override val viewType: Int
) : ListAdapterViewType<Int> {
override fun diff(): Int =
id
companion object {
const val TYPE_HEADER... | 24.636364 | 60 | 0.675277 |
0db3a3762199b44f2846193a3a3c1bc18f7fe87d | 3,513 | swift | Swift | Extension/ViewController.swift | CepheusSun/TodayExtension | df177c3e67a24ae3ed42e50645821725049da349 | [
"MIT"
] | 2 | 2018-02-08T15:23:09.000Z | 2020-08-05T02:36:48.000Z | Extension/ViewController.swift | CepheusSun/TodayExtension | df177c3e67a24ae3ed42e50645821725049da349 | [
"MIT"
] | null | null | null | Extension/ViewController.swift | CepheusSun/TodayExtension | df177c3e67a24ae3ed42e50645821725049da349 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// Extension
//
// Created by sunny on 2017/6/30.
// Copyright © 2017年 CepheusSun. All rights reserved.
//
import UIKit
import RxSwift
import RxCocoa
class ViewController: UIViewController {
@IBOutlet weak var tableView: UITableView!
let userdefaultKey = "com.sunny.todolist"
... | 34.441176 | 127 | 0.666667 |
b5078fcfea098ac04ddf31fe587d2de467490ad6 | 20,975 | rs | Rust | dolby_vision/src/xml/parser.rs | nekno/dovi_tool | 6673e09e66d46a9e99a5e0bf425d35a4f66515da | [
"MIT"
] | null | null | null | dolby_vision/src/xml/parser.rs | nekno/dovi_tool | 6673e09e66d46a9e99a5e0bf425d35a4f66515da | [
"MIT"
] | null | null | null | dolby_vision/src/xml/parser.rs | nekno/dovi_tool | 6673e09e66d46a9e99a5e0bf425d35a4f66515da | [
"MIT"
] | null | null | null | use anyhow::{bail, ensure, Result};
use roxmltree::{Document, Node};
use std::cmp::min;
use std::collections::HashMap;
use std::fs::File;
use std::io::Read;
use std::path::Path;
use crate::rpu::extension_metadata::blocks::*;
use crate::rpu::generate::{GenerateConfig, ShotFrameEdit, VideoShot};
use crate::rpu::vdr_dm_d... | 32.97956 | 99 | 0.484577 |
b3269965f91d1533715f992a8b342ab01ad114eb | 4,470 | asm | Assembly | TurtleTools/Examples/echo.asm | foxostro/TurtleTTL | 7d2163b11b91ae04ad69d38c0354194b9c306ed0 | [
"MIT"
] | 1 | 2021-08-18T22:30:11.000Z | 2021-08-18T22:30:11.000Z | TurtleTools/Examples/old/echo.asm | foxostro/Turtle16 | 67e6d2afa02f2bc07711f8e8d756e5b891ea8df5 | [
"MIT"
] | null | null | null | TurtleTools/Examples/old/echo.asm | foxostro/Turtle16 | 67e6d2afa02f2bc07711f8e8d756e5b891ea8df5 | [
"MIT"
] | null | null | null | let kSerialInterface = 7
let kDataPort = 1
let kControlPort = 0
let kResetCommand = 0
let kPutCommand = 1
let kGetCommand = 2
let kGetNumberOfBytesCommand = 3
LI A, 0
LI B, 0
LI D, kSerialInterface
LI X, 0
LI Y, 0
LI U, 0
LI V, 0
LXY serial_init
JALR
NOP
NOP
LI A, 'r'
LXY serial_put
JALR
NOP
NOP
LI A, 'e'
LXY seri... | 11.732283 | 77 | 0.707159 |
fe52c33de08577f2c778b83d3c1c5096d08feeec | 2,539 | h | C | Code/Framework/AzCore/AzCore/Memory/AllocatorWrapper.h | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-13T00:01:12.000Z | 2021-09-13T00:01:12.000Z | Code/Framework/AzCore/AzCore/Memory/AllocatorWrapper.h | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | null | null | null | Code/Framework/AzCore/AzCore/Memory/AllocatorWrapper.h | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T11:07:25.000Z | 2021-07-20T11:07:25.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <AzCore/base.h>
#include <AzCore/std/typetraits/alignment_of.h>
#include <AzCo... | 27.301075 | 158 | 0.59039 |
7078fab5fffc4108e077310f43b993e1849ba263 | 967 | h | C | RepWallet/Classes/DocumentPickerCell.h | flosSoftware/repwallet | f255ff5867aab920e05f2046df287e225230d238 | [
"MIT"
] | null | null | null | RepWallet/Classes/DocumentPickerCell.h | flosSoftware/repwallet | f255ff5867aab920e05f2046df287e225230d238 | [
"MIT"
] | null | null | null | RepWallet/Classes/DocumentPickerCell.h | flosSoftware/repwallet | f255ff5867aab920e05f2046df287e225230d238 | [
"MIT"
] | null | null | null | //
// DocumentPickerCell.h
// repWallet
//
// Created by Alberto Fiore on 27/02/13.
// Copyright (c) 2013 Alberto Fiore. All rights reserved.
//
#import "BaseDataEntryCell.h"
#import "DocumentViewController.h"
#define SEE_BUTTON_HEIGHT 40.0
#define SEE_BUTTON_WIDTH 125.0
#define IPAD_SEE_BUTTON_HEIGHT 80.0
#defin... | 27.628571 | 201 | 0.783868 |
a33bc1c60288e5f4f1db36d3e35f7cdb5ff6d5ee | 1,939 | kt | Kotlin | app/src/main/java/com/tjl/lazysdk/HmsAnalyticsActivity.kt | LazyBonesLZ/LazySDK | 26ec43cd3198b4f8342c06b93553b3aeb2be9f41 | [
"Apache-2.0"
] | 2 | 2019-04-18T06:32:07.000Z | 2020-05-08T08:46:30.000Z | app/src/main/java/com/tjl/lazysdk/HmsAnalyticsActivity.kt | LazyBonesLZ/LazySDK | 26ec43cd3198b4f8342c06b93553b3aeb2be9f41 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/tjl/lazysdk/HmsAnalyticsActivity.kt | LazyBonesLZ/LazySDK | 26ec43cd3198b4f8342c06b93553b3aeb2be9f41 | [
"Apache-2.0"
] | 3 | 2019-06-11T01:17:47.000Z | 2019-09-17T09:49:41.000Z | package com.tjl.lazysdk
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.huawei.hms.analytics.HiAnalytics
import com.huawei.hms.analytics.HiAnalyticsInstance
import com.huawei.hms.analytics.HiAnalyticsTools
import kotlinx.android.synthetic.main.activity_hms_analytics.*
import java.te... | 35.254545 | 77 | 0.709128 |
bf80fa9acf61584b7eefb76fd17b103a63e7a090 | 1,046 | swift | Swift | test/stdlib/MixedTypeArithmeticsDiagnostics.swift | YellowChang/Swift | d352652a72c73157d94e5fdc0fb477453da41c94 | [
"Apache-2.0"
] | 394 | 2016-04-05T12:09:40.000Z | 2021-01-24T09:30:54.000Z | test/stdlib/MixedTypeArithmeticsDiagnostics.swift | YellowChang/Swift | d352652a72c73157d94e5fdc0fb477453da41c94 | [
"Apache-2.0"
] | 19 | 2016-07-06T15:01:49.000Z | 2022-02-03T18:11:25.000Z | test/stdlib/MixedTypeArithmeticsDiagnostics.swift | YellowChang/Swift | d352652a72c73157d94e5fdc0fb477453da41c94 | [
"Apache-2.0"
] | 45 | 2016-04-18T12:46:28.000Z | 2021-04-23T16:14:40.000Z | //===--- MixedTypeArithmeticsDiagnostics.swift ----------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | 29.055556 | 80 | 0.56501 |
d316ee073e73026e7ecb3a76eb88b8837d22224f | 305 | sql | SQL | db/procedure.sql | xkoderx/FRESTAPI | 8acf0ac4e06390e2937dee9810b684df8aaf4545 | [
"MIT"
] | null | null | null | db/procedure.sql | xkoderx/FRESTAPI | 8acf0ac4e06390e2937dee9810b684df8aaf4545 | [
"MIT"
] | null | null | null | db/procedure.sql | xkoderx/FRESTAPI | 8acf0ac4e06390e2937dee9810b684df8aaf4545 | [
"MIT"
] | null | null | null | CREATE PROCEDURE empleadoaddoedit (
IN _id INT,
IN _name VARCHAR(45),
IN _salary INT )
BEGIN
IF _id = 0 THEN
INSERT INTO empleados(name,salary)
VALUES (_name, _salary);
SET _id =LAST_INSERT_ID();
ELSE
UPDATE empleados
SET
name= _name,
salary= _salary
WHERE id = _id;
END IF;
SELECT _id AS id;
END
| 15.25 | 35 | 0.734426 |
62aad8803bba796696e7a5b4d8a27133dd43d038 | 1,750 | asm | Assembly | programs/oeis/280/A280321.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/280/A280321.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/280/A280321.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A280321: Number of 2 X 2 matrices with all elements in {0,..,n} having determinant = n*permanent.
; 1,12,25,49,81,121,169,225,289,361,441,529,625,729,841,961,1089,1225,1369,1521,1681,1849,2025,2209,2401,2601,2809,3025,3249,3481,3721,3969,4225,4489,4761,5041,5329,5625,5929,6241,6561,6889,7225,7569,7921,8281,8649,9025,... | 102.941176 | 1,521 | 0.804 |
dff83122bd7a883e7986d9dd211e8b9c21c430c2 | 1,136 | ts | TypeScript | packages/cast/blockchain-driver-eth/src/signer/walletSigner.ts | castframework/gba | 6acbcfc7f6b687bb1e698b613102ade36b5bd4c0 | [
"Apache-2.0"
] | 3 | 2022-02-01T09:07:58.000Z | 2022-02-10T10:08:08.000Z | packages/cast/blockchain-driver-eth/src/signer/walletSigner.ts | castframework/cast | 6acbcfc7f6b687bb1e698b613102ade36b5bd4c0 | [
"Apache-2.0"
] | null | null | null | packages/cast/blockchain-driver-eth/src/signer/walletSigner.ts | castframework/cast | 6acbcfc7f6b687bb1e698b613102ade36b5bd4c0 | [
"Apache-2.0"
] | null | null | null | import { EthereumSignedTx, EthereumTx } from '../types';
import { Signer } from '@castframework/types';
import {
addHexPrefix,
bufferToHex,
privateToAddress,
toBuffer,
} from 'ethereumjs-util';
// eslint-disable-next-line @typescript-eslint/no-var-requires
const Accounts = require('web3-eth-accounts');
export ... | 29.128205 | 79 | 0.713028 |
efde26d18537f60dc11d9a1f3a673a54b12265e3 | 325 | sql | SQL | presto-product-tests/src/main/resources/sql-tests/testcases/window_functions/rowsRangeLeadLag.sql | sreekanth370/presto | 6be1558cfa40e8122eb714ba21e94927b410098b | [
"Apache-2.0"
] | 9,782 | 2016-03-18T15:16:19.000Z | 2022-03-31T07:49:41.000Z | presto-product-tests/src/main/resources/sql-tests/testcases/window_functions/rowsRangeLeadLag.sql | sreekanth370/presto | 6be1558cfa40e8122eb714ba21e94927b410098b | [
"Apache-2.0"
] | 10,310 | 2016-03-18T01:03:00.000Z | 2022-03-31T23:54:08.000Z | presto-product-tests/src/main/resources/sql-tests/testcases/window_functions/rowsRangeLeadLag.sql | sreekanth370/presto | 6be1558cfa40e8122eb714ba21e94927b410098b | [
"Apache-2.0"
] | 3,803 | 2016-03-18T22:54:24.000Z | 2022-03-31T07:49:46.000Z | -- database: presto; groups: window;
select orderkey, suppkey,
discount,
lead(discount) over (partition by suppkey order by orderkey desc) next_discount,
extendedprice,
lag(extendedprice) over (partition by discount order by extendedprice range current row) previous_extendedprice
from tpch.tiny.lineitem where partkey =... | 40.625 | 111 | 0.815385 |
0ba85fbeb42af5350f4ee75ef084944f0049c3d4 | 624 | js | JavaScript | src/pages/editor/Editor.js | lightvdv/AnkiChrome | 391d2dadb399815d2f171c5254e42ec1682f064d | [
"MIT"
] | null | null | null | src/pages/editor/Editor.js | lightvdv/AnkiChrome | 391d2dadb399815d2f171c5254e42ec1682f064d | [
"MIT"
] | 2 | 2021-07-06T13:17:56.000Z | 2021-11-13T18:09:28.000Z | src/pages/editor/Editor.js | lightvdv/AnkiChrome | 391d2dadb399815d2f171c5254e42ec1682f064d | [
"MIT"
] | null | null | null | import {Button, makeStyles} from "@material-ui/core";
import React from "react";
const useStyles = makeStyles({
editor:{
position: "fixed",
zIndex: 10000,
top: "100px",
left: "100px"
}
});
export function Editor(){
const classes = useStyles();
return <div className={cl... | 20.8 | 84 | 0.527244 |
f6a15691a324daf4370a86375d2322bc12febef1 | 169 | sql | SQL | src/main/resources/db/migration/V005__add-columns-cartao.sql | edsonmoreirazup/bootcamp-02-template-proposta | 0b9fd726fe2435a584e25bece3e0867dc8b886bf | [
"Apache-2.0"
] | null | null | null | src/main/resources/db/migration/V005__add-columns-cartao.sql | edsonmoreirazup/bootcamp-02-template-proposta | 0b9fd726fe2435a584e25bece3e0867dc8b886bf | [
"Apache-2.0"
] | null | null | null | src/main/resources/db/migration/V005__add-columns-cartao.sql | edsonmoreirazup/bootcamp-02-template-proposta | 0b9fd726fe2435a584e25bece3e0867dc8b886bf | [
"Apache-2.0"
] | null | null | null | ALTER TABLE cartao
ADD COLUMN data_criacao DATETIME NOT NULL,
ADD COLUMN status_cartao VARCHAR(45) NOT NULL,
ADD COLUMN titular_cartao VARCHAR(60) NOT NULL;
| 33.8 | 51 | 0.763314 |
c42d9d2c0fafe03413ab6ffa882d5c0d59513a53 | 5,620 | h | C | CONTRIB/ExeLoader/include/ExeLoader.h | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | null | null | null | CONTRIB/ExeLoader/include/ExeLoader.h | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | null | null | null | CONTRIB/ExeLoader/include/ExeLoader.h | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | 2 | 2019-09-01T10:38:54.000Z | 2020-06-26T19:57:39.000Z | /* -== ExeLoader ==-
*
* Load .exe / .dll from memory and remap functions
* Run your binaries on any x86 hardware
*
* @autors
* - Maeiky
* - Sebastien FAVIER
*
* Copyright (c) 2020 - V·Liance / SPinti-Software. All rights reserved.
*
* The contents of this file are subject to the Apache License Ver... | 28.241206 | 160 | 0.721174 |
50022a7d10e19b2e6a2a86af2a0b4344be27b9a1 | 345 | js | JavaScript | Web.Client/src/Components/Common/Link.js | naskodaskalov/Bulls-And-Cows | 5d5bd822cde666913fc578e40ffd907e6f1b684a | [
"Apache-2.0"
] | null | null | null | Web.Client/src/Components/Common/Link.js | naskodaskalov/Bulls-And-Cows | 5d5bd822cde666913fc578e40ffd907e6f1b684a | [
"Apache-2.0"
] | null | null | null | Web.Client/src/Components/Common/Link.js | naskodaskalov/Bulls-And-Cows | 5d5bd822cde666913fc578e40ffd907e6f1b684a | [
"Apache-2.0"
] | null | null | null | import React from 'react'
import { NavLink } from 'react-router-dom'
import './Buttons.css'
const Link = (props) => {
var isButton = props.isButton != null ? props.isButton : ''
return (
<NavLink to={props.link} activeClassName='active' className={`nav-link ${isButton}`}>
{props.name}
</NavLink>
... | 20.294118 | 89 | 0.649275 |
0a044eebd416bef85db69550d2e58a505a85dcd1 | 1,779 | kt | Kotlin | app/src/main/java/com/jakelaurie/squadspook/di/module/NetworkModule.kt | jakelaurieNZ/SquadSpook | 46dc4bca860450966db9ddb83b6f329919518a6d | [
"MIT"
] | null | null | null | app/src/main/java/com/jakelaurie/squadspook/di/module/NetworkModule.kt | jakelaurieNZ/SquadSpook | 46dc4bca860450966db9ddb83b6f329919518a6d | [
"MIT"
] | 1 | 2018-07-15T17:53:58.000Z | 2018-07-15T17:53:58.000Z | app/src/main/java/com/jakelaurie/squadspook/di/module/NetworkModule.kt | jakelaurieNZ/SquadSpook | 46dc4bca860450966db9ddb83b6f329919518a6d | [
"MIT"
] | null | null | null | package com.jakelaurie.squadspook.di.module
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import com.jakelaurie.squadspook.annotations.OpenForTesting
import com.jakelaurie.squadspook.data.network.PlayerApi
import com.jakelaurie.squadspook.data.network.ServerApi
import dagger.Module
import dagger.Provi... | 31.767857 | 92 | 0.694772 |
24beb9885d389b811855bfc4c8b08f03faaa0a4c | 266 | kt | Kotlin | app/src/main/java/dev/vaibhav/quizzify/data/models/remote/QuizResponse.kt | Vaibhav2002/Quizzify | 7527d4bc20d86808b2a04c193466273663cff9f0 | [
"MIT"
] | 3 | 2022-03-31T12:47:38.000Z | 2022-03-31T19:02:12.000Z | app/src/main/java/dev/vaibhav/quizzify/data/models/remote/QuizResponse.kt | Vaibhav2002/Quizzify | 7527d4bc20d86808b2a04c193466273663cff9f0 | [
"MIT"
] | null | null | null | app/src/main/java/dev/vaibhav/quizzify/data/models/remote/QuizResponse.kt | Vaibhav2002/Quizzify | 7527d4bc20d86808b2a04c193466273663cff9f0 | [
"MIT"
] | null | null | null | package dev.vaibhav.quizzify.data.models.remote
import com.google.gson.annotations.SerializedName
data class QuizResponse(
@SerializedName("response_code")
val responseCode: Int = 0,
@SerializedName("results")
val results: List<Result> = listOf()
) | 26.6 | 49 | 0.74812 |
b639204f343092fe978f4fc75395cd81f5bc3a40 | 90 | rb | Ruby | app/models/twitter_photo.rb | bringel/tagstream | c9c5dde7baabc34449ad9a1bc4e1890b8ec0b4d1 | [
"MIT"
] | null | null | null | app/models/twitter_photo.rb | bringel/tagstream | c9c5dde7baabc34449ad9a1bc4e1890b8ec0b4d1 | [
"MIT"
] | 2 | 2016-04-28T17:25:23.000Z | 2016-04-28T17:26:05.000Z | app/models/twitter_photo.rb | bringel/spotlens | c9c5dde7baabc34449ad9a1bc4e1890b8ec0b4d1 | [
"MIT"
] | null | null | null | class TwitterPhoto < ActiveRecord::Base
validates(:tweet_id, {:uniqueness => true})
end
| 22.5 | 45 | 0.744444 |
743f4598c2fa18dcb54cf4fe7b880eb3a65db939 | 2,963 | h | C | StresserEngine/GenericHandle.h | AvivShabtay/Stresser | 7182a8ff61e927219415c2068e0874b94c2156b1 | [
"MIT"
] | 7 | 2020-09-04T14:08:07.000Z | 2022-01-20T12:11:04.000Z | StresserEngine/GenericHandle.h | AvivShabtay/Stresser | 7182a8ff61e927219415c2068e0874b94c2156b1 | [
"MIT"
] | 15 | 2021-04-26T08:48:26.000Z | 2021-07-10T14:52:37.000Z | StresserEngine/GenericHandle.h | AvivShabtay/Stresser | 7182a8ff61e927219415c2068e0874b94c2156b1 | [
"MIT"
] | 5 | 2020-10-24T16:21:12.000Z | 2022-01-23T11:20:17.000Z | #pragma once
#include <ntifs.h>
/* Represent the valid traits for using GenericHandle object. */
struct CommonTraits
{
static void close(const HANDLE handle)
{
UNREFERENCED_PARAMETER(handle);
}
static bool isValid(const HANDLE handle)
{
UNREFERENCED_PARAMETER(handle);
return false;
}
static HANDLE inva... | 18.63522 | 86 | 0.685116 |
970e64b662c8b1723f560c17570a471daf0abf4b | 723 | swift | Swift | RevolutTestTests/Stubs/StubURLSessionFetcher.swift | ipavlidakis/RevolutAPI | f5737897aefd39da48131319cb56460cb72230fb | [
"MIT"
] | null | null | null | RevolutTestTests/Stubs/StubURLSessionFetcher.swift | ipavlidakis/RevolutAPI | f5737897aefd39da48131319cb56460cb72230fb | [
"MIT"
] | null | null | null | RevolutTestTests/Stubs/StubURLSessionFetcher.swift | ipavlidakis/RevolutAPI | f5737897aefd39da48131319cb56460cb72230fb | [
"MIT"
] | null | null | null | //
// StubURLSessionFetcher.swift
// RevolutTestTests
//
// Created by Ilias Pavlidakis on 1/16/19.
// Copyright © 2019 Ilias Pavlidakis. All rights reserved.
//
import Foundation
@testable import RevolutTest
final class StubURLSessionFetcher {
private(set) var fetchWasCalled: (request: URLRequest, completi... | 24.1 | 94 | 0.726141 |
157807cc4ac6c5a87d03de96b95c5570e5f53576 | 174 | rb | Ruby | db/migrate/20160916081213_add_admin_user_id_to_application_submission_url.rb | maninderbawavip/pupilfirst | 59d7846d5fe3cd2deb20afcef89b67f06bea325a | [
"MIT"
] | null | null | null | db/migrate/20160916081213_add_admin_user_id_to_application_submission_url.rb | maninderbawavip/pupilfirst | 59d7846d5fe3cd2deb20afcef89b67f06bea325a | [
"MIT"
] | 5 | 2021-03-30T10:35:43.000Z | 2022-02-26T07:59:12.000Z | db/migrate/20160916081213_add_admin_user_id_to_application_submission_url.rb | rkyankya/Uni | 6327fb5e7bdf849e3794bd0da34a63c3bf519408 | [
"MIT"
] | null | null | null | class AddAdminUserIdToApplicationSubmissionUrl < ActiveRecord::Migration[6.0]
def change
add_reference :application_submission_urls, :admin_user, index: true
end
end
| 29 | 77 | 0.816092 |
0b9b80c225b518a078b36396f1fbccc56916e124 | 738 | py | Python | server/waitFramerate.py | mboerwinkle/RingGame | 5a9b6a6ea394c1e88689fa062d4d348383ab406a | [
"MIT"
] | null | null | null | server/waitFramerate.py | mboerwinkle/RingGame | 5a9b6a6ea394c1e88689fa062d4d348383ab406a | [
"MIT"
] | null | null | null | server/waitFramerate.py | mboerwinkle/RingGame | 5a9b6a6ea394c1e88689fa062d4d348383ab406a | [
"MIT"
] | null | null | null | import time
#Timing stuff
lastTime = None
prevFrameTime = 0;
def waitFramerate(T): #TODO if we have enough time, call the garbage collector
global lastTime, prevFrameTime
ctime = time.monotonic()
if lastTime:
frameTime = ctime-lastTime #how long the last frame took
sleepTime = T-frameTime #how much time is rem... | 32.086957 | 114 | 0.720867 |
d5bd266ca2d700f53c71826b11582ae40e5ce3d0 | 2,541 | h | C | src/Utilities/Iterator.h | Otamaa/Antares | 7241a5ff20f4dbf7153cc77e16edca5c9db473d4 | [
"BSD-4-Clause"
] | 4 | 2021-04-24T04:34:06.000Z | 2021-09-19T13:55:33.000Z | src/Utilities/Iterator.h | Otamaa/Antares | 7241a5ff20f4dbf7153cc77e16edca5c9db473d4 | [
"BSD-4-Clause"
] | null | null | null | src/Utilities/Iterator.h | Otamaa/Antares | 7241a5ff20f4dbf7153cc77e16edca5c9db473d4 | [
"BSD-4-Clause"
] | 2 | 2021-08-17T14:44:45.000Z | 2021-09-19T11:02:04.000Z | #pragma once
#include <ArrayClasses.h>
#include <vector>
template<typename T>
class Iterator {
private:
const T* items{ nullptr };
size_t count{ 0 };
public:
Iterator() = default;
Iterator(const T* first, size_t count) : items(first), count(count) {}
Iterator(const std::vector<T> &vec) : items(vec.data()), count... | 23.527778 | 104 | 0.689886 |
fd649e1dcd9774437f0055d4badd67cf9dbce7b3 | 126 | h | C | Engine/Device/DeviceShader.h | RichardUSTC/JyRender | 06107edd8bc3c28732fb70f6a3ae50c924535030 | [
"MIT"
] | 1 | 2018-12-16T15:49:13.000Z | 2018-12-16T15:49:13.000Z | Engine/Device/DeviceShader.h | RichardUSTC/JyRender | 06107edd8bc3c28732fb70f6a3ae50c924535030 | [
"MIT"
] | null | null | null | Engine/Device/DeviceShader.h | RichardUSTC/JyRender | 06107edd8bc3c28732fb70f6a3ae50c924535030 | [
"MIT"
] | null | null | null | #pragma once
#include "Common/Ref.h"
class GraphicShader : public Ref {};
using GraphicShaderPtr = OwnerPtr<GraphicShader>;
| 18 | 49 | 0.761905 |
01cd0f71ab72ff586b4bf4c2a7c0a80d531d5e8b | 2,803 | rs | Rust | bootloader/src/main.rs | carlosdamazio/KalcOS | 262d5bfbc913e1f234f4cbcdea451699cdd944da | [
"MIT"
] | null | null | null | bootloader/src/main.rs | carlosdamazio/KalcOS | 262d5bfbc913e1f234f4cbcdea451699cdd944da | [
"MIT"
] | 2 | 2021-12-08T01:33:05.000Z | 2022-01-17T17:34:35.000Z | bootloader/src/main.rs | carlosdamazio/KalcOS | 262d5bfbc913e1f234f4cbcdea451699cdd944da | [
"MIT"
] | null | null | null | #![no_main]
#![no_std]
extern crate rlibc;
mod elf;
mod file;
use core::cell::UnsafeCell;
use core::mem::{size_of, transmute};
use core::slice::from_raw_parts_mut;
use log::{info, error};
use uefi::prelude::*;
use uefi::proto::media::fs::SimpleFileSystem;
use uefi::proto::media::file::*;
use uefi::table::boot::Memo... | 31.494382 | 111 | 0.64538 |
c47ef6d95b569b0c6578d1afddd80a16938f83ab | 3,186 | h | C | Mocha/Mocha.h | avaidyam/Mocha | c1d7e6721f13e00e90e075a5fceab942901235ee | [
"BSD-3-Clause"
] | 8 | 2016-01-01T14:59:28.000Z | 2021-05-06T00:38:26.000Z | Mocha/Mocha.h | avaidyam/Mocha | c1d7e6721f13e00e90e075a5fceab942901235ee | [
"BSD-3-Clause"
] | null | null | null | Mocha/Mocha.h | avaidyam/Mocha | c1d7e6721f13e00e90e075a5fceab942901235ee | [
"BSD-3-Clause"
] | null | null | null | /*
* Mocha.framework
*
* Copyright (c) 2013 Galaxas0. All rights reserved.
* For more copyright and licensing information, please see LICENSE.md.
*/
// TODO: Add NSAppearance.
// TODO: Add NSEventRecognizer.
// TODO: Add NSUserNotification.
// TODO: Add NSScrollView Live Magnify/Scroll
// TODO: NSScrollView Fl... | 29.229358 | 102 | 0.784055 |
6ee59845ca8e0d696baa80d6c0c16459b9983897 | 595 | html | HTML | public/views/dashboard/exposure.html | arjun-k-r/shocktrade.js | 84fca5ea28839cc5ebdd2b122c930d2aa49da581 | [
"Apache-2.0"
] | null | null | null | public/views/dashboard/exposure.html | arjun-k-r/shocktrade.js | 84fca5ea28839cc5ebdd2b122c930d2aa49da581 | [
"Apache-2.0"
] | null | null | null | public/views/dashboard/exposure.html | arjun-k-r/shocktrade.js | 84fca5ea28839cc5ebdd2b122c930d2aa49da581 | [
"Apache-2.0"
] | null | null | null | <div class="row"
ng-controller="ExposureController" ng-init="exposureChart(getContestID(), getUserID(), selectedExposure)">
<div class="col-md-12" style="padding-bottom: 4px">
<select class="form-control symbol_input_text_field"
ng-model="selectedExposure"
ng-options="e.l... | 45.769231 | 110 | 0.62521 |
f596decb0216a0efba7c1be2716986c462ac5260 | 6,647 | rs | Rust | src/gpio_sd.rs | ForsakenHarmony/esp32c3-pac | 7d9eb9a5b5a51077d1d1eb6c6efd186064b7149b | [
"Apache-2.0",
"MIT"
] | null | null | null | src/gpio_sd.rs | ForsakenHarmony/esp32c3-pac | 7d9eb9a5b5a51077d1d1eb6c6efd186064b7149b | [
"Apache-2.0",
"MIT"
] | null | null | null | src/gpio_sd.rs | ForsakenHarmony/esp32c3-pac | 7d9eb9a5b5a51077d1d1eb6c6efd186064b7149b | [
"Apache-2.0",
"MIT"
] | null | null | null | #[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
#[doc = "0x00 - GPIO_SIGMADELTA0"]
pub sigmadelta0: SIGMADELTA0,
#[doc = "0x04 - GPIO_SIGMADELTA1"]
pub sigmadelta1: SIGMADELTA1,
#[doc = "0x08 - GPIO_SIGMADELTA2"]
pub sigmadelta2: SIGMADELTA2,
#[doc = "0x0c - GPIO_SIGMADELTA3... | 68.525773 | 430 | 0.723033 |
98d9e36d5ca4af3759a18fea125da476d3e20b1a | 4,311 | html | HTML | _includes/nav.html | clarkio/clarkio.github.io | 3613a810609da7d903fc6c95768c048b6b9c14cf | [
"Apache-2.0"
] | 2 | 2018-01-18T05:30:28.000Z | 2022-02-01T01:04:01.000Z | _includes/nav.html | clarkio/clarkio.github.io | 3613a810609da7d903fc6c95768c048b6b9c14cf | [
"Apache-2.0"
] | 5 | 2016-11-03T04:18:11.000Z | 2021-11-20T23:37:25.000Z | _includes/nav.html | clarkio/clarkio.github.io | 3613a810609da7d903fc6c95768c048b6b9c14cf | [
"Apache-2.0"
] | 2 | 2016-11-03T04:06:27.000Z | 2018-05-21T17:10:22.000Z | <!-- Navigation -->
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" ... | 45.861702 | 123 | 0.393876 |
4fe93edd6b3aa62d66ef5e39c77b071e51029b9e | 3,489 | swift | Swift | trifle/trifle/Classes/Home/View/PictrueCollectionView.swift | DD2641817107/trifle | 4dec3c8a3c05c7a67d73fbbc0f9355151d227fbe | [
"Apache-2.0"
] | 1 | 2019-10-26T18:46:06.000Z | 2019-10-26T18:46:06.000Z | trifle/trifle/Classes/Home/View/PictrueCollectionView.swift | DD2641817107/trifle | 4dec3c8a3c05c7a67d73fbbc0f9355151d227fbe | [
"Apache-2.0"
] | null | null | null | trifle/trifle/Classes/Home/View/PictrueCollectionView.swift | DD2641817107/trifle | 4dec3c8a3c05c7a67d73fbbc0f9355151d227fbe | [
"Apache-2.0"
] | null | null | null | //
// PictrueCollectionView.swift
// trifle
//
// Created by TOMY on 2019/4/2.
// Copyright © 2019年 tone. All rights reserved.
//
import UIKit
import SDWebImage
import FLAnimatedImage
class PictrueCollectionView: UICollectionView {
//定义模型数组
var picURLs : [URL] = [URL](){
didSet{
self.re... | 31.432432 | 122 | 0.638578 |
39d6f382c8c3e32f1eeeadaaedd8a0c999759f72 | 4,875 | js | JavaScript | services/api/lib/user.js | developmentseed/pearl-backend | 38b7c9197855c135e522bf8b5a315a10006ef510 | [
"MIT"
] | 28 | 2022-03-28T18:32:47.000Z | 2022-03-31T15:00:29.000Z | services/api/lib/user.js | developmentseed/pearl-backend | 38b7c9197855c135e522bf8b5a315a10006ef510 | [
"MIT"
] | 1 | 2022-03-17T08:38:01.000Z | 2022-03-17T08:38:01.000Z | services/api/lib/user.js | developmentseed/pearl-backend | 38b7c9197855c135e522bf8b5a315a10006ef510 | [
"MIT"
] | null | null | null | 'use strict';
const { Err } = require('@openaddresses/batch-schema');
const Generic = require('@openaddresses/batch-generic');
const { sql } = require('slonik');
/**
* @class
*/
class User extends Generic {
static _table = 'users';
static _patch = require('../schema/req.body.PatchUser.json');
static _res... | 31.050955 | 105 | 0.443897 |
2d863959aa737472bd50c3fab86f5ad152ae3bee | 1,238 | asm | Assembly | programs/oeis/198/A198694.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/198/A198694.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/198/A198694.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A198694: 7*4^n-1.
; 6,27,111,447,1791,7167,28671,114687,458751,1835007,7340031,29360127,117440511,469762047,1879048191,7516192767,30064771071,120259084287,481036337151,1924145348607,7696581394431,30786325577727,123145302310911,492581209243647,1970324836974591,7881299347898367,31525197391593471,126100789566373887,5044... | 137.555556 | 1,169 | 0.924879 |
bccb76303d2023c026e93ceeb95f23785917d1fb | 410 | js | JavaScript | lib/6to5/transformation/transformers/es6/unicode-regex.js | luca-barbieri/5to6 | 5c97c3c342380363378b6241491ea852f9a6087a | [
"MIT"
] | 4 | 2015-04-05T22:38:45.000Z | 2018-06-20T03:36:56.000Z | lib/6to5/transformation/transformers/es6/unicode-regex.js | luca-barbieri/5to6 | 5c97c3c342380363378b6241491ea852f9a6087a | [
"MIT"
] | null | null | null | lib/6to5/transformation/transformers/es6/unicode-regex.js | luca-barbieri/5to6 | 5c97c3c342380363378b6241491ea852f9a6087a | [
"MIT"
] | null | null | null | "use strict";
var rewritePattern = require("regexpu/rewrite-pattern");
var pull = require("lodash/array/pull");
exports.Literal = function (node) {
var regex = node.regex;
if (!regex) return;
var flags = regex.flags.split("");
if (regex.flags.indexOf("u") < 0) return;
pull(flags, "u");
regex.p... | 24.117647 | 61 | 0.64878 |
de68361f4cfd66c87d549ff8552b4a3618c8ebd5 | 43,503 | rs | Rust | sdk/worklink/src/error_meta.rs | DreamStageLive/aws-sdk-rust | 112463db6195c0b8c052495a1794e07bf0e2f274 | [
"Apache-2.0"
] | null | null | null | sdk/worklink/src/error_meta.rs | DreamStageLive/aws-sdk-rust | 112463db6195c0b8c052495a1794e07bf0e2f274 | [
"Apache-2.0"
] | null | null | null | sdk/worklink/src/error_meta.rs | DreamStageLive/aws-sdk-rust | 112463db6195c0b8c052495a1794e07bf0e2f274 | [
"Apache-2.0"
] | null | null | null | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[non_exhaustive]
#[derive(std::fmt::Debug)]
pub enum Error {
InternalServerErrorException(crate::error::InternalServerErrorException),
InvalidRequestException(crate::error::InvalidRequestException),
ResourceAlreadyExistsExcept... | 57.696286 | 167 | 0.644277 |
34f2e8e027076116b54c56383a4a727dda8c7d7a | 324 | sql | SQL | Framework/Tests/GetIntegerValue.dbo.sql | chrisoldwood/SS-Unit | 7f78d94b500157a403d91852721a34ef6b603f7c | [
"MIT"
] | 7 | 2015-07-28T14:17:09.000Z | 2021-11-15T18:10:42.000Z | Framework/Tests/GetIntegerValue.dbo.sql | chrisoldwood/SS-Unit | 7f78d94b500157a403d91852721a34ef6b603f7c | [
"MIT"
] | 6 | 2015-01-18T01:02:26.000Z | 2019-03-26T08:16:26.000Z | Framework/Tests/GetIntegerValue.dbo.sql | chrisoldwood/SS-Unit | 7f78d94b500157a403d91852721a34ef6b603f7c | [
"MIT"
] | null | null | null | /**
* \file
* \brief The GetIntegerValue user-defined function.
* \author Chris Oldwood
*/
if (object_id('dbo.GetIntegerValue') is not null)
drop function dbo.GetIntegerValue;
go
/**
* An example UDF that returns an integer value.
*/
create function dbo.GetIntegerValue()
returns int
as
begin
return 42;
end... | 14.727273 | 53 | 0.719136 |
6ed868f2cb8b18895f1ceb97e656a35863381bc0 | 8,052 | xhtml | HTML | src/epub/text/chapter-1-12.xhtml | standardebooks/francisco-de-quevedo_pablo-de-segovia-the-spanish-sharper_pedro-pineda | 7ec97c4b2746e9d9e279d7202ee8226e2a9cc91e | [
"CC0-1.0"
] | null | null | null | src/epub/text/chapter-1-12.xhtml | standardebooks/francisco-de-quevedo_pablo-de-segovia-the-spanish-sharper_pedro-pineda | 7ec97c4b2746e9d9e279d7202ee8226e2a9cc91e | [
"CC0-1.0"
] | null | null | null | src/epub/text/chapter-1-12.xhtml | standardebooks/francisco-de-quevedo_pablo-de-segovia-the-spanish-sharper_pedro-pineda | 7ec97c4b2746e9d9e279d7202ee8226e2a9cc91e | [
"CC0-1.0"
] | null | null | null | <?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="z3998: http://www.daisy.org/z3998/2012/vocab/structure/, se: https://standardebooks.org/vocab/1.0" xml:lang="en-GB">
<head>
<title>XII</title>
<link href="../css/core.css" rel="s... | 322.08 | 5,857 | 0.754471 |
66e14fb01f8013838d594876a397eb063fc5cc7f | 305 | swift | Swift | SwiftUIX/Color.swift | heartsker/SwiftUIX | 16bdf301ac1ad8c1d78697c4cbeda8d2e7e24c59 | [
"MIT"
] | null | null | null | SwiftUIX/Color.swift | heartsker/SwiftUIX | 16bdf301ac1ad8c1d78697c4cbeda8d2e7e24c59 | [
"MIT"
] | null | null | null | SwiftUIX/Color.swift | heartsker/SwiftUIX | 16bdf301ac1ad8c1d78697c4cbeda8d2e7e24c59 | [
"MIT"
] | null | null | null | //
// Color.swift
// SwiftUIX
//
// Created by Daniel Pustotin on 25.09.2021.
//
import SwiftUI
public extension Color {
static let prettySet: [Color] = [.blue, .orange, .pink, .purple, .white]
static let allBasics: [Color] = [.black, .blue, .gray, .green, .orange, .pink, .purple, .red, .white]
}
| 21.785714 | 102 | 0.645902 |
1faaba84265a270b2794cb1775bd5d1f1ea71af3 | 1,709 | html | HTML | index.html | AcheronandStyx/Coding_Knowledge_Checker | 623448559d8de21490708cfbc3d8f6c1f5efc5dc | [
"ADSL"
] | null | null | null | index.html | AcheronandStyx/Coding_Knowledge_Checker | 623448559d8de21490708cfbc3d8f6c1f5efc5dc | [
"ADSL"
] | null | null | null | index.html | AcheronandStyx/Coding_Knowledge_Checker | 623448559d8de21490708cfbc3d8f6c1f5efc5dc | [
"ADSL"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width+device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Js Knowledge Checker</title>
<link rel="stylesheet" href="./assets/css/style.css">
</head>
<body>
<... | 31.648148 | 124 | 0.516091 |
b16a8072b24210f20f82ac62217938588611d645 | 3,285 | h | C | src/cfg.h | tdunnick/phineas | 9dba7a646cfbb936a76eb60f052bbfc3a629af19 | [
"Apache-2.0"
] | 3 | 2018-06-18T00:55:53.000Z | 2021-09-28T12:57:18.000Z | src/cfg.h | tdunnick/phineas | 9dba7a646cfbb936a76eb60f052bbfc3a629af19 | [
"Apache-2.0"
] | null | null | null | src/cfg.h | tdunnick/phineas | 9dba7a646cfbb936a76eb60f052bbfc3a629af19 | [
"Apache-2.0"
] | null | null | null | /*
* cfg.h
*
* Copyright 2011-2012 Thomas L Dunnick
*
* 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 a... | 30.137615 | 76 | 0.716286 |
e5776a7d7f1cc99a4d749c42a8b2d1ded61305e3 | 9,138 | ts | TypeScript | src/mockLink.test.ts | dpovey/mock-apollo-client | 652109766343e4ae4dad8c95d5a32523d646c22b | [
"MIT"
] | 98 | 2019-05-04T14:18:39.000Z | 2022-03-24T16:28:57.000Z | src/mockLink.test.ts | dpovey/mock-apollo-client | 652109766343e4ae4dad8c95d5a32523d646c22b | [
"MIT"
] | 29 | 2019-12-13T13:21:48.000Z | 2021-12-09T08:54:38.000Z | src/mockLink.test.ts | dpovey/mock-apollo-client | 652109766343e4ae4dad8c95d5a32523d646c22b | [
"MIT"
] | 14 | 2019-10-09T00:12:06.000Z | 2021-12-09T03:45:34.000Z | import { gql, Operation, Observer } from '@apollo/client/core';
import { print } from 'graphql';
import { MockLink } from './mockLink';
import { createMockSubscription } from './mockSubscription';
describe('class MockLink', () => {
let mockLink: MockLink;
const queryOne = gql`query One {one}`;
const queryTwo =... | 37.146341 | 185 | 0.657803 |
d1a1bca50ca4ab5e12c41c21fa0f8cb0fd65f71e | 6,865 | sql | SQL | src/test/regress/sql/query_finish.sql | zhangh43/gpdb | 3e2d569b3d5faacdb5813f5a1d4f967607553498 | [
"PostgreSQL",
"Apache-2.0"
] | 1 | 2017-09-15T06:09:56.000Z | 2017-09-15T06:09:56.000Z | src/test/regress/sql/query_finish.sql | guofengrichard/gpdb | 29bdd6ef38d8d9b9cb04ca31d44e279eb9f640d3 | [
"PostgreSQL",
"Apache-2.0"
] | 6 | 2018-08-04T07:51:37.000Z | 2018-11-26T07:09:44.000Z | src/test/regress/sql/query_finish.sql | guofengrichard/gpdb | 29bdd6ef38d8d9b9cb04ca31d44e279eb9f640d3 | [
"PostgreSQL",
"Apache-2.0"
] | 1 | 2018-12-04T09:13:57.000Z | 2018-12-04T09:13:57.000Z | create schema qf;
-- Create and load common test tables.
CREATE TABLE qf.lineitem (
l_orderkey bigint NOT NULL,
l_partkey integer NOT NULL,
l_suppkey integer NOT NULL,
l_linenumber integer NOT NULL,
l_quantity numeric(15,2) NOT NULL,
l_extendedprice numeric(15,2) NOT NULL,
l_discount numer... | 26.921569 | 263 | 0.742462 |
6df63abc101d733f900c9643b6afb944c2c3afe5 | 352 | sql | SQL | db/seeds.sql | mwturner611/Burger_Quest | 61ec178f8512c4d3ff80b71583aec95d05148699 | [
"MIT"
] | null | null | null | db/seeds.sql | mwturner611/Burger_Quest | 61ec178f8512c4d3ff80b71583aec95d05148699 | [
"MIT"
] | null | null | null | db/seeds.sql | mwturner611/Burger_Quest | 61ec178f8512c4d3ff80b71583aec95d05148699 | [
"MIT"
] | null | null | null | -- starter file for burgers table
USE burgers_db;
INSERT INTO burgers (burger_name,devoured)
VALUES ("Pharmacy Burger",false);
INSERT INTO burgers (burger_name,devoured)
VALUES ("Cheese Burger",false);
INSERT INTO burgers (burger_name,devoured)
VALUES ("Chili Burger",false);
INSERT INTO burgers (burger_name,devoure... | 25.142857 | 42 | 0.778409 |
5c4267499ac76167fbed3dbca148c349887d27b4 | 4,637 | h | C | XDBLESDK.framework/Headers/WMBLETool.h | WangMing1998/XDBLESDK | 1baab264f629454afe740963619749b0b2f2a146 | [
"MIT"
] | null | null | null | XDBLESDK.framework/Headers/WMBLETool.h | WangMing1998/XDBLESDK | 1baab264f629454afe740963619749b0b2f2a146 | [
"MIT"
] | null | null | null | XDBLESDK.framework/Headers/WMBLETool.h | WangMing1998/XDBLESDK | 1baab264f629454afe740963619749b0b2f2a146 | [
"MIT"
] | null | null | null | //
// WMBLETool.h
// WMBluetoothDemo
//
// Created by Heaton on 2017/12/29.
// Copyright © 2017年 WangMingDeveloper. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreBluetooth/CoreBluetooth.h>
#import "WMBLEPeripheral.h"
#import "WMBLEDefine.h"
typedef BOOL (^WMBLEFilterPeripheralsRlueBlock)(N... | 51.522222 | 149 | 0.820142 |
e53529014af6ad9ec58a8f332e350ba160eb7529 | 1,515 | ts | TypeScript | mobile/src/app/services/app-update.service.ts | jabardigitalservice/sapawarga-ionic | 50bf92fcdd0f66ba758375c92e1b094f04c88154 | [
"MIT"
] | null | null | null | mobile/src/app/services/app-update.service.ts | jabardigitalservice/sapawarga-ionic | 50bf92fcdd0f66ba758375c92e1b094f04c88154 | [
"MIT"
] | 1 | 2020-01-21T00:51:36.000Z | 2020-01-21T00:51:36.000Z | mobile/src/app/services/app-update.service.ts | jabardigitalservice/sapawarga-ionic | 50bf92fcdd0f66ba758375c92e1b094f04c88154 | [
"MIT"
] | null | null | null | import { Injectable } from '@angular/core';
// plugin
import { AppVersion } from '@ionic-native/app-version/ngx';
import { environment } from '../../environments/environment';
import { UtilitiesService } from './utilities.service';
import { HTTP } from '@ionic-native/http/ngx';
import * as compareVersions from 'compar... | 29.134615 | 91 | 0.625743 |
71799ccd6ecca0bf22e0385ef51a7eb8a764fa96 | 730 | ts | TypeScript | frontend/src/app/_component/auth.component/auth.component.ts | ssh-user/e-shop-v2 | 3c859083fd472901fe30a1e0bafbd945899acd4c | [
"MIT"
] | 1 | 2021-02-12T12:34:39.000Z | 2021-02-12T12:34:39.000Z | frontend/src/app/_component/auth.component/auth.component.ts | ssh-user/e-shop-v2 | 3c859083fd472901fe30a1e0bafbd945899acd4c | [
"MIT"
] | null | null | null | frontend/src/app/_component/auth.component/auth.component.ts | ssh-user/e-shop-v2 | 3c859083fd472901fe30a1e0bafbd945899acd4c | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import { AuthService } from '../../_service/auth.service';
import { User } from '../../_model/user.model';
@Component({
moduleId: module.id,
selector: 'auth-menu',
templateUrl: 'auth.component.html',
styleUrls: ['auth.component.css']
})
export class ... | 24.333333 | 90 | 0.584932 |
b6f50a0e980b3adc54acaa3b062b0891d698cd82 | 17 | rb | Ruby | lib/ccb.rb | eiffelqiu/ccb | 8a487b2967cb5cf266db1d74182894f393b9ea29 | [
"MIT"
] | null | null | null | lib/ccb.rb | eiffelqiu/ccb | 8a487b2967cb5cf266db1d74182894f393b9ea29 | [
"MIT"
] | null | null | null | lib/ccb.rb | eiffelqiu/ccb | 8a487b2967cb5cf266db1d74182894f393b9ea29 | [
"MIT"
] | null | null | null | require 'ccb/cli' | 17 | 17 | 0.764706 |
0a14d4c54730f4e9cec5f5f0acac85dcac09d651 | 757 | ts | TypeScript | meet_menu_ts/GUI/ActionButtonText.ts | titiceral/meet_menu_gl | ffafc6261a8d667136fc9f5402260c2b4d493423 | [
"MIT"
] | null | null | null | meet_menu_ts/GUI/ActionButtonText.ts | titiceral/meet_menu_gl | ffafc6261a8d667136fc9f5402260c2b4d493423 | [
"MIT"
] | null | null | null | meet_menu_ts/GUI/ActionButtonText.ts | titiceral/meet_menu_gl | ffafc6261a8d667136fc9f5402260c2b4d493423 | [
"MIT"
] | null | null | null | /// <reference path="./IButton.ts" />
class ActionButtonText extends IButton {
// interface redéfinition
eventOnActiveHandler: () => void;
eventOnDesactivateHandler: () => void;
/**
*
*/
constructor(anchorMesh: any, strName: string, strLabel: string) {
super(anchorMesh, strName);
this.guiButt... | 22.264706 | 70 | 0.65786 |
087640c06782c093043a987f3233b87da1b20086 | 813 | go | Go | cmd/auth/internal/infrastructure/persistence/token.go | PeppyHare/go-boilerplate | 7db88b1565e02b7ad1ed840ede7c2ff0a6c3819d | [
"MIT"
] | 1 | 2021-01-06T13:26:37.000Z | 2021-01-06T13:26:37.000Z | cmd/auth/internal/infrastructure/persistence/token.go | PeppyHare/go-boilerplate | 7db88b1565e02b7ad1ed840ede7c2ff0a6c3819d | [
"MIT"
] | null | null | null | cmd/auth/internal/infrastructure/persistence/token.go | PeppyHare/go-boilerplate | 7db88b1565e02b7ad1ed840ede7c2ff0a6c3819d | [
"MIT"
] | null | null | null | /*
Package persistence holds view models and repository interfaces
*/
package persistence
import (
"context"
"encoding/json"
)
// Token the token persistence model interface
type Token interface {
GetID() string
GetClientID() string
GetUserID() string
GetAccess() string
GetRefresh() string
GetScope() string
... | 25.40625 | 77 | 0.768758 |