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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
740ee5ff68fc1b396ab6fd9098cc1a43071221ab | 1,718 | c | C | d/standard/old/yard.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/standard/old/yard.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/standard/old/yard.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z | #include <std.h>
inherit VAULT;
void create() {
::create();
set_property("light", 3);
set_property("night light", 2);
set_property("no castle", 1);
set("short", "A small yard");
set("day long",
"In all weathers, daytime makes this beautiful yard at the end "
"of a small alley glow ... | 33.686275 | 79 | 0.625146 |
c6c1755147299b7b9da9177b87bb6c2ed3bcd229 | 873 | rb | Ruby | app/jobs/life_monitor_status_job.rb | ChristophB/seek | 6e988d9c922c15aa6d20ed436f4959b521746428 | [
"BSD-3-Clause"
] | 55 | 2015-08-31T13:15:47.000Z | 2022-02-21T15:03:34.000Z | app/jobs/life_monitor_status_job.rb | ChristophB/seek | 6e988d9c922c15aa6d20ed436f4959b521746428 | [
"BSD-3-Clause"
] | 855 | 2015-09-22T08:05:52.000Z | 2022-03-31T16:50:31.000Z | app/jobs/life_monitor_status_job.rb | knoppiks/n4h-lap-seek | 80668a1bd992a16c89065acb552288410449e3d2 | [
"BSD-3-Clause"
] | 43 | 2015-03-07T19:23:34.000Z | 2022-03-15T12:35:22.000Z | class LifeMonitorStatusJob < ApplicationJob
PERIOD = 1.day.freeze
BATCH_SIZE = 20
def perform(offset = 0)
return unless Seek::Config.life_monitor_enabled
versions = Workflow::Version.where(monitored: true).offset(offset).limit(BATCH_SIZE)
if versions.any?
token = LifeMonitor::Oauth2::Client.ne... | 32.333333 | 117 | 0.713631 |
39dfb35ce6dc60bd96d0fb6434997dc05e3d8efd | 3,628 | java | Java | LineCursor/src/java/example/MainPanel.java | Manudoma/java-swing-tips | f6e9328dd7265728b8fe38ffe1a9b0c6c2a9097e | [
"MIT"
] | 3 | 2021-02-08T13:23:31.000Z | 2021-03-12T22:33:32.000Z | LineCursor/src/java/example/MainPanel.java | Manudoma/java-swing-tips | f6e9328dd7265728b8fe38ffe1a9b0c6c2a9097e | [
"MIT"
] | null | null | null | LineCursor/src/java/example/MainPanel.java | Manudoma/java-swing-tips | f6e9328dd7265728b8fe38ffe1a9b0c6c2a9097e | [
"MIT"
] | 1 | 2021-02-07T20:28:39.000Z | 2021-02-07T20:28:39.000Z | // -*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
// @homepage@
package example;
import java.awt.*;
import java.util.Objects;
import javax.swing.*;
import javax.swing.text.Caret;
import javax.swing.text.DefaultCaret;
import javax.swing.text.Document;
import javax.swing.text.JTextComponent;
public f... | 30.233333 | 125 | 0.678335 |
52ea2ce33da36e4832c7132b9962240541fd7b9e | 202 | sql | SQL | DB/ddl/reports.sql | sandipnahak/QuickFabric | 1010fb40235254c7a5e8d225e7d34d1abd6ec543 | [
"Apache-2.0"
] | 22 | 2020-03-10T20:55:26.000Z | 2022-02-03T04:03:09.000Z | DB/ddl/reports.sql | sandipnahak/QuickFabric | 1010fb40235254c7a5e8d225e7d34d1abd6ec543 | [
"Apache-2.0"
] | 13 | 2020-03-30T09:28:14.000Z | 2021-10-06T05:53:40.000Z | DB/ddl/reports.sql | sandipnahak/QuickFabric | 1010fb40235254c7a5e8d225e7d34d1abd6ec543 | [
"Apache-2.0"
] | 15 | 2020-03-30T09:12:22.000Z | 2022-02-24T08:05:47.000Z | --
-- Table structure for table `reports`
--
CREATE TABLE IF NOT EXISTS `reports` (
`report_id` int(11) NOT NULL AUTO_INCREMENT,
`report_name` varchar(256) NOT NULL,
PRIMARY KEY (`report_id`)
);
| 20.2 | 46 | 0.693069 |
ae4f13de3839863b737c3eb96fcb0a975c657b8c | 891 | rs | Rust | src/main.rs | panickal/rust-tryout | 0b1d7a39a482813f60f5c298cfa2b7dd858b9c00 | [
"Apache-2.0"
] | null | null | null | src/main.rs | panickal/rust-tryout | 0b1d7a39a482813f60f5c298cfa2b7dd858b9c00 | [
"Apache-2.0"
] | null | null | null | src/main.rs | panickal/rust-tryout | 0b1d7a39a482813f60f5c298cfa2b7dd858b9c00 | [
"Apache-2.0"
] | null | null | null | // import loops module which is loops.rs
mod loops;
mod functions;
fn hello_world() {
println!("Hello World!");
}
fn main() {
hello_world();
// call public function loops in loops module
loops::loops();
functions::functions();
// both expressions are valid
// type doesn't have to be ment... | 17.82 | 63 | 0.512907 |
d98ce45a2d1bbd34f1d9b602aa4cc374f005d938 | 338 | swift | Swift | NDTestFrameWorkCalculate/Classes/Calculate.swift | nuwan5454/NDTestFrameWorkCalculate | b97d83e265df21b331ed8b2509f2a00ab73c0b1f | [
"MIT"
] | null | null | null | NDTestFrameWorkCalculate/Classes/Calculate.swift | nuwan5454/NDTestFrameWorkCalculate | b97d83e265df21b331ed8b2509f2a00ab73c0b1f | [
"MIT"
] | null | null | null | NDTestFrameWorkCalculate/Classes/Calculate.swift | nuwan5454/NDTestFrameWorkCalculate | b97d83e265df21b331ed8b2509f2a00ab73c0b1f | [
"MIT"
] | null | null | null | //
// Calculate.swift
// Pods
//
// Created by Nuwan Edirisinghe on 17/11/2016.
//
//
import Foundation
public class Calculate {
public init() {
//Needs to create this as public so other classes can create referance of this
}
public func add(a: Int, b: Int) -> Int {
return (a ... | 15.363636 | 86 | 0.573964 |
964b56bca3cfb2cda755cde841f6a78892aa207a | 2,220 | php | PHP | plugins/box/pages/languages/nl.lang.php | jessicaGithub/portfolio2016 | c066b7cc520597ddfafe62ef0a8fe5233179c97b | [
"MIT"
] | 188 | 2015-10-17T12:29:26.000Z | 2022-01-15T21:17:57.000Z | plugins/box/pages/languages/nl.lang.php | jessicaGithub/portfolio2016 | c066b7cc520597ddfafe62ef0a8fe5233179c97b | [
"MIT"
] | 78 | 2015-10-31T23:29:29.000Z | 2022-01-28T03:28:41.000Z | plugins/box/pages/languages/nl.lang.php | jessicaGithub/portfolio2016 | c066b7cc520597ddfafe62ef0a8fe5233179c97b | [
"MIT"
] | 92 | 2015-10-22T11:49:01.000Z | 2022-01-18T09:18:16.000Z | <?php
return array(
'pages' => array(
'Pages' => 'Pagina\'s',
'Pages manager' => 'Pagina beheer',
'Content' => 'Inhoud',
'Create New Page' => 'Nieuwe pagina',
'New Page' => 'Nieuwe pagina',
'Edit Page' => 'Bewerk pagina',
'... | 39.642857 | 125 | 0.438739 |
406082b1a0eb7c0edeb83793f334bb861a0e79b1 | 870 | py | Python | pykeys.py | palsayantan/PyKeys | b7e42e9a3a61c470a072096227656179440f1497 | [
"MIT"
] | 1 | 2020-03-25T17:55:25.000Z | 2020-03-25T17:55:25.000Z | pykeys.py | palsayantan/PyKeys | b7e42e9a3a61c470a072096227656179440f1497 | [
"MIT"
] | null | null | null | pykeys.py | palsayantan/PyKeys | b7e42e9a3a61c470a072096227656179440f1497 | [
"MIT"
] | null | null | null | import serial #Serial imported for Serial communication
import time #Required to use delay functions
import pyautogui
ArduinoSerial = serial.Serial('COM11',9600) #Create Serial port object called arduinoSerialData
time.sleep(2) #wait for 2 seconds for the communication to get established
# a(2) | ... | 27.1875 | 96 | 0.591954 |
72f04a9f081f3e8e3aa946640080c5653494e206 | 164 | kt | Kotlin | kotlin2js-reflection-api/src/main/kotlin/org/decembrist/model/MethodInfo.kt | decembrist-revolt/decembrist-kotlin2js-reflection | 167548dcd9c5aa27b22d3e6d3135c8d06d56ee7d | [
"Apache-2.0"
] | 21 | 2018-11-06T14:34:28.000Z | 2021-07-09T10:49:55.000Z | kotlin2js-reflection-api/src/main/kotlin/org/decembrist/model/MethodInfo.kt | decembrist-revolt/decembrist-kotlin2js-reflection | 167548dcd9c5aa27b22d3e6d3135c8d06d56ee7d | [
"Apache-2.0"
] | 3 | 2019-03-07T13:27:30.000Z | 2019-05-09T11:29:56.000Z | kotlin2js-reflection-api/src/main/kotlin/org/decembrist/model/MethodInfo.kt | decembrist-revolt/decembrist-kotlin2js-reflection | 167548dcd9c5aa27b22d3e6d3135c8d06d56ee7d | [
"Apache-2.0"
] | 3 | 2019-03-07T13:57:14.000Z | 2019-08-16T06:20:39.000Z | package org.decembrist.model
/**
* Method reflection info
*/
class MethodInfo(val method: FunctionIdentifier,
val annotations: List<Annotation>) | 23.428571 | 51 | 0.70122 |
e5519285a2a1edc0ed1464a03609cc49974268c8 | 279 | ts | TypeScript | src/app/commons/models/role-feature.model.ts | wearperfectnow/wearperfect-web-ui | 5913a8006ca93d0eb959bce7828d7cfc80d71797 | [
"Apache-2.0"
] | null | null | null | src/app/commons/models/role-feature.model.ts | wearperfectnow/wearperfect-web-ui | 5913a8006ca93d0eb959bce7828d7cfc80d71797 | [
"Apache-2.0"
] | null | null | null | src/app/commons/models/role-feature.model.ts | wearperfectnow/wearperfect-web-ui | 5913a8006ca93d0eb959bce7828d7cfc80d71797 | [
"Apache-2.0"
] | null | null | null | import Feature from "./feature.model";
interface RoleFeature {
id: number,
roleId: number,
featureId: number,
createdBy?: number,
createdOn?: number,
lastUpdatedBy?: number,
lastUpdatedOn?: number,
active: boolean,
feature?: Feature
}
export default RoleFeature; | 18.6 | 38 | 0.727599 |
0baf19f452a01f04d8ce602f2eb96049866a20fd | 373 | js | JavaScript | web/tpl/jade/list.js | 17koa/source | d3530de4f38893b7996da6ec3f681f8eed025c54 | [
"MIT"
] | null | null | null | web/tpl/jade/list.js | 17koa/source | d3530de4f38893b7996da6ec3f681f8eed025c54 | [
"MIT"
] | null | null | null | web/tpl/jade/list.js | 17koa/source | d3530de4f38893b7996da6ec3f681f8eed025c54 | [
"MIT"
] | null | null | null | var fs = require('fs')
var pug = require('pug');
// 读取模板文件,放到user_tpl_str变量中
var user_tpl_str = fs.readFileSync('./list.jade').toString();
console.log(user_tpl_str)
// 通过jade的render方法,对user_tpl_str和数据进行编译
var html = pug.render(user_tpl_str, {
users:[
{
name: '朴灵'
}, {
name: 'alsotang'
},{
... | 16.217391 | 61 | 0.616622 |
d02fba8e1e64090aa8b7e5debfe26c5a5b5b7000 | 3,661 | swift | Swift | FaceTube/Shelf/FTTabbarContrller.swift | LongPF/FaceTube | 4965664396de4e91d97f0cea83b03f974414acc2 | [
"MIT"
] | 1 | 2017-06-14T10:03:40.000Z | 2017-06-14T10:03:40.000Z | FaceTube/Shelf/FTTabbarContrller.swift | LongPF/FaceTube | 4965664396de4e91d97f0cea83b03f974414acc2 | [
"MIT"
] | null | null | null | FaceTube/Shelf/FTTabbarContrller.swift | LongPF/FaceTube | 4965664396de4e91d97f0cea83b03f974414acc2 | [
"MIT"
] | null | null | null | //
// FTTabbarContrller.swift
// FaceTube
//
// Created by 龙鹏飞 on 2017/3/1.
// Copyright © 2017年 https://github.com/LongPF/FaceTube. All rights reserved.
//
import UIKit
import AMScrollingNavbar
class FTTabbarContrller: UITabBarController {
//MARK: ************************ life cycle **********************... | 38.536842 | 182 | 0.632887 |
75226b9a635f1e5acd4cf722d1e50d9d1f8ad616 | 21 | h | C | release/src/linux/linux/include/config/net.h | enfoTek/tomato.linksys.e2000.nvram-mod | 2ce3a5217def49d6df7348522e2bfda702b56029 | [
"FSFAP"
] | 80 | 2015-01-02T10:14:04.000Z | 2021-06-07T06:29:49.000Z | release/src/linux/linux/include/config/net.h | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 9 | 2015-05-14T11:03:12.000Z | 2018-01-04T07:12:58.000Z | release/src/linux/linux/include/config/net.h | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 69 | 2015-01-02T10:45:56.000Z | 2021-09-06T07:52:13.000Z | #define CONFIG_NET 1
| 10.5 | 20 | 0.809524 |
56bfe482b3ccbb8fd8b9b4ebe2387c91337e4622 | 1,839 | ts | TypeScript | src/lib/source-utils.spec.ts | Hypercubed/lit-regex | 2a50271545aa735685435a7e77e8a6d4d0ba9d11 | [
"MIT"
] | 3 | 2020-12-07T13:51:00.000Z | 2022-02-05T04:33:53.000Z | src/lib/source-utils.spec.ts | Hypercubed/lit-regex | 2a50271545aa735685435a7e77e8a6d4d0ba9d11 | [
"MIT"
] | null | null | null | src/lib/source-utils.spec.ts | Hypercubed/lit-regex | 2a50271545aa735685435a7e77e8a6d4d0ba9d11 | [
"MIT"
] | null | null | null | import { s_guaranteeAtomic, s_ignoreCase, s_isAtomic } from './source-utils';
test(`atomic`, () => {
expect(s_isAtomic('(what)')).toBe(true);
expect(s_isAtomic('[what]')).toBe(true);
expect(s_isAtomic('(who(what)when)')).toBe(true);
expect(s_isAtomic('([what])')).toBe(true);
expect(s_isAtomic('[(what)]')).to... | 34.698113 | 85 | 0.601958 |
12697e64b8ba220a50bebc67f8aa98fff8e755da | 113 | kts | Kotlin | settings.gradle.kts | callnet/callblog | 8bb73358d952778d6acebd67ed4e054a46a53c43 | [
"MIT"
] | null | null | null | settings.gradle.kts | callnet/callblog | 8bb73358d952778d6acebd67ed4e054a46a53c43 | [
"MIT"
] | 1 | 2021-08-17T07:07:41.000Z | 2021-08-17T07:07:41.000Z | settings.gradle.kts | callnet/callblog | 8bb73358d952778d6acebd67ed4e054a46a53c43 | [
"MIT"
] | null | null | null | rootProject.name = "callblog"
include ("callblog-api")
include ("callblog-domain")
include ("callblog-lostark")
| 18.833333 | 29 | 0.743363 |
93c0c13b51f75dcdca4806a6f2b130c08d521642 | 978 | rs | Rust | components/resource_metering/src/reporter/collector_impl.rs | mapbased/tikv | ed7e1aa945d9ada9dc3ad3bd6420a9879d49ed44 | [
"Apache-2.0"
] | 5 | 2022-01-09T15:02:29.000Z | 2022-01-10T01:08:02.000Z | components/resource_metering/src/reporter/collector_impl.rs | mapbased/tikv | ed7e1aa945d9ada9dc3ad3bd6420a9879d49ed44 | [
"Apache-2.0"
] | 4 | 2021-12-03T04:21:25.000Z | 2022-03-14T04:32:43.000Z | components/resource_metering/src/reporter/collector_impl.rs | mapbased/tikv | ed7e1aa945d9ada9dc3ad3bd6420a9879d49ed44 | [
"Apache-2.0"
] | 2 | 2022-01-20T13:19:31.000Z | 2022-03-14T04:31:49.000Z | // Copyright 2021 TiKV Project Authors. Licensed under Apache-2.0.
use crate::metrics::IGNORED_DATA_COUNTER;
use crate::{Collector, RawRecords, Task};
use std::sync::Arc;
use tikv_util::warn;
use tikv_util::worker::Scheduler;
/// A [Collector] implementation for scheduling [RawRecords].
///
/// See [Collector] for ... | 26.432432 | 75 | 0.646217 |
92b1b2ed7c21aaf71c6f9a6b41a8cfcb0a5ac828 | 1,435 | c | C | test/testarray.c | jix/kissat_extras | 37d68ed29e6c0b12eefc970801a89aee1f86efe2 | [
"MIT"
] | 2 | 2022-02-23T19:34:00.000Z | 2022-02-24T01:48:05.000Z | test/testarray.c | jix/kissat_extras | 37d68ed29e6c0b12eefc970801a89aee1f86efe2 | [
"MIT"
] | null | null | null | test/testarray.c | jix/kissat_extras | 37d68ed29e6c0b12eefc970801a89aee1f86efe2 | [
"MIT"
] | null | null | null | #include "test.h"
#include "../src/array.h"
typedef struct pair pair;
struct pair {
unsigned first;
unsigned second;
};
static void test_array_basic(void) {
DECLARE_AND_INIT_SOLVER(solver);
ARRAY(pair) array;
memset(&array, 0, sizeof array);
assert(EMPTY_ARRAY(array));
size_t size = 0;
unsigned sum ... | 23.52459 | 67 | 0.612544 |
2f3288ce72188c11d401258f1eac0f6bf96941ae | 4,026 | php | PHP | application/views/kepegawaian/kepegawaian.php | henmusta/kepegawaian | 1a32eb7fc6622e256a4d646f3d3cf452bd986fbc | [
"MIT"
] | null | null | null | application/views/kepegawaian/kepegawaian.php | henmusta/kepegawaian | 1a32eb7fc6622e256a4d646f3d3cf452bd986fbc | [
"MIT"
] | null | null | null | application/views/kepegawaian/kepegawaian.php | henmusta/kepegawaian | 1a32eb7fc6622e256a4d646f3d3cf452bd986fbc | [
"MIT"
] | null | null | null | <div class="main-content">
<section class="section">
<div class="section-header">
<h1><?php echo $title; ?></h1>
<div class="section-header-breadcrumb">
<div class="breadcrumb-item active">
<a href="#">Dashboard</a>
</div>
... | 40.666667 | 615 | 0.41232 |
e581920c5536a58e4b9e0861d6d2b9d00eee1ba3 | 1,229 | ts | TypeScript | src/common/middlewares/operator-auth.middleware.ts | Melonorm/promzone-back | 4843d32b4abbc6ade7d45d37242c5636703686b5 | [
"MIT"
] | null | null | null | src/common/middlewares/operator-auth.middleware.ts | Melonorm/promzone-back | 4843d32b4abbc6ade7d45d37242c5636703686b5 | [
"MIT"
] | null | null | null | src/common/middlewares/operator-auth.middleware.ts | Melonorm/promzone-back | 4843d32b4abbc6ade7d45d37242c5636703686b5 | [
"MIT"
] | null | null | null | import { Injectable, NestMiddleware } from "@nestjs/common";
import { NextFunction } from "express";
import { RequestWithOperator } from "../types/requestWithOperator.interface";
import { verify } from "jsonwebtoken";
import { ConfigService } from "@nestjs/config";
import { OperatorEntity } from "../entities/operator.e... | 35.114286 | 86 | 0.687551 |
13595e8cfa8918b866a4d3aa4de0a9f77d4222b6 | 316 | h | C | src/mavlink/mavlink_handler_cmd.h | inu1997/RPilot | 26e79fbe25b1ed7bc42bda57a29d4fdf6a164531 | [
"MIT"
] | 1 | 2021-11-02T03:01:25.000Z | 2021-11-02T03:01:25.000Z | src/mavlink/mavlink_handler_cmd.h | inu1997/raspi-pilot | 26e79fbe25b1ed7bc42bda57a29d4fdf6a164531 | [
"MIT"
] | null | null | null | src/mavlink/mavlink_handler_cmd.h | inu1997/raspi-pilot | 26e79fbe25b1ed7bc42bda57a29d4fdf6a164531 | [
"MIT"
] | null | null | null | /**
* @file mavlink_handler_cmd.h
* @author LIN
* @brief MAVLink CMD_REQUEST_* handler.
*
*
*
* @version 0.1
* @date 2021-09-03
*
* @copyright Copyright (c) 2021
*
*/
#ifndef _MAVLINK_HANDLER_CMD_H_
#define _MAVLINK_HANDLER_CMD_H_
int mavlink_handle_cmd_long();
#endif // _MAVLINK_HANDLER_CMD_H_
| 15.8 | 40 | 0.696203 |
17ea3df4f329e111558b8edc6eb5b6fa74b45f2b | 1,859 | lua | Lua | volume/data/npc/scripts/Maris.lua | patsadow2/Tibia | b3aebbc5aea78cc2a238584c767c5c7315bab4dd | [
"MIT"
] | 2 | 2021-07-16T00:21:26.000Z | 2022-01-28T02:08:22.000Z | volume/data/npc/scripts/Maris.lua | patsadow2/Tibia | b3aebbc5aea78cc2a238584c767c5c7315bab4dd | [
"MIT"
] | 1 | 2019-04-05T18:53:52.000Z | 2019-04-10T10:53:04.000Z | volume/data/npc/scripts/Maris.lua | patsadow2/Tibia | b3aebbc5aea78cc2a238584c767c5c7315bab4dd | [
"MIT"
] | 2 | 2019-12-11T04:13:15.000Z | 2020-02-15T14:42:13.000Z | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg)... | 59.967742 | 194 | 0.756321 |
e453fb3d1f0c7d61c871ec0653cd6062c0edc179 | 377 | asm | Assembly | oeis/086/A086351.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/086/A086351.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/086/A086351.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A086351: T(n,3) of A086350.
; Submitted by Jon Maiga
; 1,4,17,74,325,1432,6317,27878,123049,543148,2397545,10583234,46716589,206216896,910285253,4018193246,17737162705,78295623508,345613602113,1525612248122,6734378273941,29726983906792,131221255523165
lpb $0
sub $0,1
mul $1,3
add $3,2
add $1,$3
add $2,$3
... | 22.176471 | 198 | 0.713528 |
4188bb80fe59f28d8a6294e238473f49897bb2ff | 2,171 | h | C | graph.h | logisticAKB/graph-inspector | e491c5bd6ea5d80b7829e7c676e27caab0ae0ed8 | [
"MIT"
] | null | null | null | graph.h | logisticAKB/graph-inspector | e491c5bd6ea5d80b7829e7c676e27caab0ae0ed8 | [
"MIT"
] | null | null | null | graph.h | logisticAKB/graph-inspector | e491c5bd6ea5d80b7829e7c676e27caab0ae0ed8 | [
"MIT"
] | null | null | null | //
// Created by alexey on 08.02.2020.
//
#ifndef GRAPH_INSPECTOR_GRAPH_H
#define GRAPH_INSPECTOR_GRAPH_H
#include <string>
#include <vector>
#include <set>
#include <map>
class Graph {
public:
Graph();
Graph(int n);
Graph(int n, bool flag);
void read_graph(const std::string& file_name);
void wr... | 31.926471 | 188 | 0.68632 |
41cf4657cf5459d38a914b198657920f30fe2bf7 | 2,115 | h | C | third_party/gst-plugins-bad/sys/winks/gstksclock.h | isabella232/aistreams | 209f4385425405676a581a749bb915e257dbc1c1 | [
"Apache-2.0"
] | 6 | 2020-09-22T18:07:15.000Z | 2021-10-21T01:34:04.000Z | third_party/gst-plugins-bad/sys/winks/gstksclock.h | isabella232/aistreams | 209f4385425405676a581a749bb915e257dbc1c1 | [
"Apache-2.0"
] | 2 | 2020-11-10T13:17:39.000Z | 2022-03-30T11:22:14.000Z | third_party/gst-plugins-bad/sys/winks/gstksclock.h | isabella232/aistreams | 209f4385425405676a581a749bb915e257dbc1c1 | [
"Apache-2.0"
] | 3 | 2020-09-26T08:40:35.000Z | 2021-10-21T01:33:56.000Z | /*
* Copyright (C) 2008 Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your opti... | 28.972603 | 76 | 0.773995 |
4632fec3c72f7d0e182e035733cb4ce1c1b79c1a | 726 | kt | Kotlin | TicketBookingService/src/main/kotlin/com/github/saboteur/ticketbookingsystem/ticketbookingservice/config/properties/AppProperties.kt | 5aboteur/ticket-booking-system | a8ecf2160c3d33a15b4912ad4d8fb5eed677c107 | [
"MIT"
] | null | null | null | TicketBookingService/src/main/kotlin/com/github/saboteur/ticketbookingsystem/ticketbookingservice/config/properties/AppProperties.kt | 5aboteur/ticket-booking-system | a8ecf2160c3d33a15b4912ad4d8fb5eed677c107 | [
"MIT"
] | null | null | null | TicketBookingService/src/main/kotlin/com/github/saboteur/ticketbookingsystem/ticketbookingservice/config/properties/AppProperties.kt | 5aboteur/ticket-booking-system | a8ecf2160c3d33a15b4912ad4d8fb5eed677c107 | [
"MIT"
] | null | null | null | package com.github.saboteur.ticketbookingsystem.ticketbookingservice.config.properties
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.context.annotation.Primary
import org.springframework.stereotype.Component
@Primary
@Component
@ConfigurationProperties(prefix = ... | 36.3 | 86 | 0.786501 |
af542669d4a2e8903a57c8451e4976d1b89d0fe6 | 891 | kt | Kotlin | compiler/testData/codegen/box/callableReference/optimizedSuperclasses_after.kt | Sathawale27/kotlin | 9dd201aaf243cf9198cf129b22d3aa38fcff182c | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-07-07T15:17:43.000Z | 2021-07-07T15:17:43.000Z | compiler/testData/codegen/box/callableReference/optimizedSuperclasses_after.kt | Sathawale27/kotlin | 9dd201aaf243cf9198cf129b22d3aa38fcff182c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | compiler/testData/codegen/box/callableReference/optimizedSuperclasses_after.kt | Sathawale27/kotlin | 9dd201aaf243cf9198cf129b22d3aa38fcff182c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | // TARGET_BACKEND: JVM
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
class A {
fun memberFunction() {}
val memberProperty: String = ""
}
val topLevelProperty: Int = 0
fun check(reference: Any, expected: String, message: String) {
val actual = reference.javaClass.declaredMethods.... | 29.7 | 88 | 0.676768 |
9c7c36aa7be47b16d1e4c6d7d2fc331d550b41cf | 584 | js | JavaScript | examples/basic.js | doowb/logme | c11b21b0471b6f63e2b091b121c5341559a30701 | [
"MIT"
] | null | null | null | examples/basic.js | doowb/logme | c11b21b0471b6f63e2b091b121c5341559a30701 | [
"MIT"
] | null | null | null | examples/basic.js | doowb/logme | c11b21b0471b6f63e2b091b121c5341559a30701 | [
"MIT"
] | null | null | null | /**
* Logme - Minimalistic logging.
*
* Author: Veselin Todorov <hi@vesln.com>
* Licensed under the MIT License.
*/
var logme = require('../');
/**
* Different levels.
*/
logme.debug('Lol, coffescript.');
logme.info('Logme is sexy.');
logme.warning('Danger!');
logme.error('Ooops, something went wrong.');
logm... | 24.333333 | 51 | 0.65411 |
5709111414173c45180aa5531b550bf6f88eea79 | 2,276 | c | C | examples/tiny.c | baagaard-usgs/euclid-etree | 85c3f2fa6cd6a410496183abd03ff17d7dc996b8 | [
"BSD-3-Clause"
] | null | null | null | examples/tiny.c | baagaard-usgs/euclid-etree | 85c3f2fa6cd6a410496183abd03ff17d7dc996b8 | [
"BSD-3-Clause"
] | 2 | 2022-01-06T04:47:45.000Z | 2022-01-06T16:07:24.000Z | examples/tiny.c | baagaard-usgs/euclid-etree | 85c3f2fa6cd6a410496183abd03ff17d7dc996b8 | [
"BSD-3-Clause"
] | null | null | null | /*
* tiny - The first etree program
*/
#include <stdio.h>
#include <stdlib.h>
#include "etree.h"
typedef struct _test_payload_t {
int32_t val;
char tag;
} test_payload_t;
/* main */
int main(int argc, char **argv)
{
etree_t* ep;
etree_addr_t parent, child, res_addr;
etree_tick_t edge_le... | 22.989899 | 70 | 0.569859 |
38c903cde8d0cab037fe9bdf73ba15453a4c515b | 5,522 | h | C | cpi_compare/src/gtsam/JPLNavState.h | JzHuai0108/cpi | 5dbb128fdd182f2b415142f7a0556e6c785b5961 | [
"MIT"
] | null | null | null | cpi_compare/src/gtsam/JPLNavState.h | JzHuai0108/cpi | 5dbb128fdd182f2b415142f7a0556e6c785b5961 | [
"MIT"
] | null | null | null | cpi_compare/src/gtsam/JPLNavState.h | JzHuai0108/cpi | 5dbb128fdd182f2b415142f7a0556e6c785b5961 | [
"MIT"
] | null | null | null | /**
* MIT License
* Copyright (c) 2018 Kevin Eckenhoff
* Copyright (c) 2018 Patrick Geneva
* Copyright (c) 2018 Guoquan Huang
*
* 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... | 35.171975 | 128 | 0.601413 |
406721924c6dbe3e1a2e2b00ea7e7c6730d6fcf7 | 1,196 | py | Python | testpy3/test.py | quchunguang/test | dd1dde14a69d9e8b2c9ed3efbf536df7840f0487 | [
"MIT"
] | 1 | 2021-05-06T02:02:59.000Z | 2021-05-06T02:02:59.000Z | testpy3/test.py | SrikanthParsha14/test | 8cee69e09c8557d53d8d30382cec8ea5c1f82f6e | [
"MIT"
] | null | null | null | testpy3/test.py | SrikanthParsha14/test | 8cee69e09c8557d53d8d30382cec8ea5c1f82f6e | [
"MIT"
] | 1 | 2019-06-17T13:20:39.000Z | 2019-06-17T13:20:39.000Z | #!/usr/bin/env python3
"""
Created on 2012-12-11
@author: qcg
"""
import sys
import warnings
if sys.version_info.major < 3:
warnings.warn("Need Python 3.0 for this program to run",
RuntimeWarning)
else:
print('Proceed as normal')
age = 20
name = 'quchunguang'
print("Hi, {}. You are {} years ... | 20.62069 | 60 | 0.579431 |
16cd738568191c1e8feb8d005c85b6bf338564c5 | 184 | ts | TypeScript | dist/components/Avatar/index.d.ts | RVFractal/Fractal-UI | 6836784a98e55e243b310530e185cb08646410a4 | [
"MIT"
] | null | null | null | dist/components/Avatar/index.d.ts | RVFractal/Fractal-UI | 6836784a98e55e243b310530e185cb08646410a4 | [
"MIT"
] | null | null | null | dist/components/Avatar/index.d.ts | RVFractal/Fractal-UI | 6836784a98e55e243b310530e185cb08646410a4 | [
"MIT"
] | null | null | null | import React from 'react';
import { AvatarProps } from './types';
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<unknown>>;
export { Avatar };
| 36.8 | 98 | 0.771739 |
90b39abb5e0491ca6561d07c8cb85cd1c7d1abea | 1,338 | py | Python | examples/tiago_pnp/run_execute_bt.py | dgerod/behavior_tree_learning | 71da80c91ecd48fd5da377f83604b62112ba9629 | [
"Apache-2.0"
] | 7 | 2022-02-09T12:51:51.000Z | 2022-03-19T14:40:16.000Z | examples/tiago_pnp/run_execute_bt.py | dgerod/bt_learning_using_gp | ac1fb6ba4dbd6d18b5d002c7ad2647771f8b0fb9 | [
"Apache-2.0"
] | 6 | 2021-12-12T15:38:40.000Z | 2022-01-31T11:02:12.000Z | examples/tiago_pnp/run_execute_bt.py | dgerod/bt_learning_using_gp | ac1fb6ba4dbd6d18b5d002c7ad2647771f8b0fb9 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
import paths
paths.add_modules_to_path()
import os
from behavior_tree_learning.sbt import BehaviorNodeFactory, BehaviorTreeExecutor, ExecutionParameters
from tiago_pnp.paths import get_log_directory
from tiago_pnp import bt_collection
from tiago_pnp.execution_nodes import get_behaviors
from tia... | 27.306122 | 101 | 0.674141 |
13a12d1180674958d22b36a2ec70f2947b72f17f | 737 | swift | Swift | ios/Tsuccomu/Sample/sample/AVAudioPlayerUtil.swift | planningdev/tsuccomu | a497c15c9699107975c7754f2919640779b9f9e0 | [
"MIT"
] | null | null | null | ios/Tsuccomu/Sample/sample/AVAudioPlayerUtil.swift | planningdev/tsuccomu | a497c15c9699107975c7754f2919640779b9f9e0 | [
"MIT"
] | null | null | null | ios/Tsuccomu/Sample/sample/AVAudioPlayerUtil.swift | planningdev/tsuccomu | a497c15c9699107975c7754f2919640779b9f9e0 | [
"MIT"
] | null | null | null | //
// AVAudioPlayerUtil.swift
// Tsuccomu
//
// Created by kazuma maekawa on 2015/12/07.
// Copyright © 2015年 speechrec. All rights reserved.
//
import Foundation
import AVFoundation
class AVAudioPlayerUtil:NSObject {
var audioPlayer:AVAudioPlayer = AVAudioPlayer();
var sound_data:NSURL = NSURL();
... | 18.425 | 80 | 0.571235 |
395a3470fdc4076937f2d7c8fd73e44e52419aaa | 68,550 | html | HTML | src/content/engine/devel/apidocs/org/apache/velocity/runtime/class-use/RuntimeServices.html | smoothreggae/velocity-site | 68e894df2ca924044d62793108336eaacb43573d | [
"Apache-2.0"
] | 4 | 2020-12-25T15:32:03.000Z | 2021-11-09T22:18:37.000Z | src/content/engine/devel/apidocs/org/apache/velocity/runtime/class-use/RuntimeServices.html | smoothreggae/velocity-site | 68e894df2ca924044d62793108336eaacb43573d | [
"Apache-2.0"
] | 3 | 2021-01-13T13:48:04.000Z | 2021-01-29T14:01:20.000Z | src/content/engine/devel/apidocs/org/apache/velocity/runtime/class-use/RuntimeServices.html | smoothreggae/velocity-site | 68e894df2ca924044d62793108336eaacb43573d | [
"Apache-2.0"
] | 4 | 2021-01-13T13:26:55.000Z | 2021-12-17T01:24:07.000Z | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_191) on Mon Mar 08 21:10:12 CET 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.apach... | 85.15528 | 573 | 0.712371 |
141a9752d4320fc984bbb44ab2a1200b3a2dc977 | 981 | swift | Swift | PickerButton/Internal/UIPickerViewDelegateProxy.swift | rursache/PickerButton | 4673bc6eb5d20ab45b22c9795bcf5a6ce33a901f | [
"MIT"
] | 1 | 2020-09-27T16:57:38.000Z | 2020-09-27T16:57:38.000Z | PickerButton/Internal/UIPickerViewDelegateProxy.swift | rursache/PickerButton | 4673bc6eb5d20ab45b22c9795bcf5a6ce33a901f | [
"MIT"
] | null | null | null | PickerButton/Internal/UIPickerViewDelegateProxy.swift | rursache/PickerButton | 4673bc6eb5d20ab45b22c9795bcf5a6ce33a901f | [
"MIT"
] | null | null | null | //
// UIPickerViewDelegateProxy.swift
// PickerButton
//
// Created by marty-suzuki on 2019/02/18.
// Copyright © 2019 marty-suzuki. All rights reserved.
//
import Foundation
import UIKit
final class UIPickerViewDelegateProxy: DelegateProxy<UIPickerViewDelegate>, UIPickerViewDelegate {
var titleChanged: ((Ti... | 29.727273 | 101 | 0.64526 |
99f361a8b50496e0e01caaaea43487d91f904168 | 912 | kt | Kotlin | timer/src/main/java/ru/ischenko/roman/focustimer/domain/CreatePomodoroUseCase.kt | djamba/FocusTimer | 48569bb7fbd3be529a8b537e394f2774975c713a | [
"MIT"
] | 3 | 2018-05-28T08:03:03.000Z | 2020-10-27T00:30:21.000Z | timer/src/main/java/ru/ischenko/roman/focustimer/domain/CreatePomodoroUseCase.kt | djamba/FocusTimer | 48569bb7fbd3be529a8b537e394f2774975c713a | [
"MIT"
] | null | null | null | timer/src/main/java/ru/ischenko/roman/focustimer/domain/CreatePomodoroUseCase.kt | djamba/FocusTimer | 48569bb7fbd3be529a8b537e394f2774975c713a | [
"MIT"
] | 1 | 2020-10-27T00:29:19.000Z | 2020-10-27T00:29:19.000Z | package ru.ischenko.roman.focustimer.domain
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import ru.ischenko.roman.focustimer.data.model.Pomodoro
import ru.ischenko.roman.focustimer.data.model.Task
import ru.ischenko.roman.focustimer.data.repository.PomodoroRepository
import ru.ischenko.r... | 38 | 105 | 0.744518 |
3455c69b64fc56cc95022f9e212d8284e297944b | 559 | rs | Rust | src/election.rs | sile/rrsm | 7a055dcbd38cd089c59c43cdbf7983cbd4d3a0a1 | [
"MIT"
] | 9 | 2016-07-20T14:21:36.000Z | 2018-12-23T13:21:00.000Z | src/election.rs | sile/rrsm | 7a055dcbd38cd089c59c43cdbf7983cbd4d3a0a1 | [
"MIT"
] | null | null | null | src/election.rs | sile/rrsm | 7a055dcbd38cd089c59c43cdbf7983cbd4d3a0a1 | [
"MIT"
] | 1 | 2018-12-17T12:33:11.000Z | 2018-12-17T12:33:11.000Z | use super::*;
pub type Term = u64;
pub enum Role {
Follower {
voted_for: Option<NodeId>,
},
Candidate,
Leader,
}
#[derive(Clone)]
pub struct Ballot {
pub term: Term,
pub voted_for: Option<NodeId>,
}
impl Ballot {
pub fn new(term: Term) -> Self {
Ballot {
term: ... | 17.46875 | 54 | 0.54025 |
74e0f3ee5d87982d3dbc8d469add6c7c78f9e1b6 | 441 | swift | Swift | Mage/MaterialComponents/PassThroughStackView.swift | ngageoint/mage-ios | eafce56ac10dc1652a76d9d0d5e08c487eb6c4d9 | [
"Apache-2.0"
] | 40 | 2015-09-11T22:31:02.000Z | 2022-03-10T04:59:25.000Z | Mage/MaterialComponents/PassThroughStackView.swift | ngageoint/mage-ios | eafce56ac10dc1652a76d9d0d5e08c487eb6c4d9 | [
"Apache-2.0"
] | 49 | 2015-09-30T14:16:56.000Z | 2018-08-09T17:05:50.000Z | Mage/MaterialComponents/PassThroughStackView.swift | ngageoint/mage-ios | eafce56ac10dc1652a76d9d0d5e08c487eb6c4d9 | [
"Apache-2.0"
] | 17 | 2015-10-01T22:09:47.000Z | 2021-12-07T05:55:09.000Z | //
// PassThroughStackView.swift
// MAGE
//
// Created by Daniel Barela on 1/25/21.
// Copyright © 2021 National Geospatial Intelligence Agency. All rights reserved.
//
import Foundation
class PassThroughStackView : UIStackView {
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
... | 24.5 | 82 | 0.673469 |
929bad4e2ff1d011905cf2e57c006079f24fcd38 | 251 | h | C | ZXJExtension/SourceEditorExtension.h | MissSword/ZXJSourceEditor | 65cbbc72cf3765c2c2ac6a6a53dca1cf7bcfdb9d | [
"MIT"
] | null | null | null | ZXJExtension/SourceEditorExtension.h | MissSword/ZXJSourceEditor | 65cbbc72cf3765c2c2ac6a6a53dca1cf7bcfdb9d | [
"MIT"
] | null | null | null | ZXJExtension/SourceEditorExtension.h | MissSword/ZXJSourceEditor | 65cbbc72cf3765c2c2ac6a6a53dca1cf7bcfdb9d | [
"MIT"
] | null | null | null | //
// SourceEditorExtension.h
// ZXJExtension
//
// Created by zhuxingjian on 2017/5/26.
// Copyright © 2017年 ZXJ. All rights reserved.
//
#import <XcodeKit/XcodeKit.h>
@interface SourceEditorExtension : NSObject <XCSourceEditorExtension>
@end
| 17.928571 | 69 | 0.733068 |
4080a400eaa59efe73a00bc5143ee8a6b409b6ce | 7,095 | py | Python | staff_manage_sdk/model/container/persistent_volume_claim_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | 5 | 2019-07-31T04:11:05.000Z | 2021-01-07T03:23:20.000Z | webshell_sdk/model/container/persistent_volume_claim_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | webshell_sdk/model/container/persistent_volume_claim_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: persistent_volume_claim.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from goo... | 47.61745 | 673 | 0.745877 |
1295b838ca9435e5991c841b70403559d99560c5 | 23,668 | c | C | include/amio_lib_functions.c | Matthew-McIver/Mars-Lander-game | 3424a51713c440709a8044b7d21c756560271ef8 | [
"MIT"
] | 1 | 2021-02-16T22:10:51.000Z | 2021-02-16T22:10:51.000Z | include/amio_lib_functions.c | Matthew-McIver/Mars-Lander-game | 3424a51713c440709a8044b7d21c756560271ef8 | [
"MIT"
] | null | null | null | include/amio_lib_functions.c | Matthew-McIver/Mars-Lander-game | 3424a51713c440709a8044b7d21c756560271ef8 | [
"MIT"
] | null | null | null | //=============================================================================
// Introduction to C Programming (Audio-MIDI Programming)
//=============================================================================
// amio_lib API Function Implementations
// File: amio_lib.h
// Author: Dimitri Zantalis
/... | 31.431607 | 118 | 0.483607 |
98a7ef38d18ef5142f2d4547635ffee166fd0919 | 130 | html | HTML | index.html | stars-sty/TTPython180 | f1c2945372956170ec7e3a5c73056af6efaf3f47 | [
"Apache-2.0"
] | null | null | null | index.html | stars-sty/TTPython180 | f1c2945372956170ec7e3a5c73056af6efaf3f47 | [
"Apache-2.0"
] | null | null | null | index.html | stars-sty/TTPython180 | f1c2945372956170ec7e3a5c73056af6efaf3f47 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html lang=" en ">
nizhenhao nizhenshige dashadiao
666666666666666666666666666666666666666666666666666
</html> | 14.444444 | 51 | 0.807692 |
fd46a1b67910cbff3eca3a5e42ec0e5e9ed3fc2d | 148 | h | C | Sources/TurboJpegC/include/TurboJpegC.h | meshula/TurboJpegSwift | ef3bc95fc1305fb83ad0bcfed002cb7b3c0a8be6 | [
"BSD-3-Clause"
] | 1 | 2021-07-10T17:04:57.000Z | 2021-07-10T17:04:57.000Z | Sources/TurboJpegC/include/TurboJpegC.h | meshula/TurboJpegSwift | ef3bc95fc1305fb83ad0bcfed002cb7b3c0a8be6 | [
"BSD-3-Clause"
] | null | null | null | Sources/TurboJpegC/include/TurboJpegC.h | meshula/TurboJpegSwift | ef3bc95fc1305fb83ad0bcfed002cb7b3c0a8be6 | [
"BSD-3-Clause"
] | null | null | null |
#include <stdio.h>
#include <stdint.h>
#include "jconfig.h"
#include "jerror.h"
#include "jmorecfg.h"
#include "jpeglib.h"
#include "turbojpeg.h"
| 14.8 | 22 | 0.702703 |
53c91a727a9800704954d7f2529ed8ef8bbe376a | 468 | java | Java | huatuo/src/main/java/com/huatuo/bean/SecKillSpecialListItemBean.java | sophiemarceau/HTJD_Android | 0fdb5ff11cd45cb580a60fce6bc1d2114c115e21 | [
"MIT"
] | null | null | null | huatuo/src/main/java/com/huatuo/bean/SecKillSpecialListItemBean.java | sophiemarceau/HTJD_Android | 0fdb5ff11cd45cb580a60fce6bc1d2114c115e21 | [
"MIT"
] | null | null | null | huatuo/src/main/java/com/huatuo/bean/SecKillSpecialListItemBean.java | sophiemarceau/HTJD_Android | 0fdb5ff11cd45cb580a60fce6bc1d2114c115e21 | [
"MIT"
] | null | null | null | package com.huatuo.bean;
import java.util.ArrayList;
/**
* 获取时间轴内容列表 ,包括秒杀活动,活动专题,广告表,推荐服务
*
*/
public class SecKillSpecialListItemBean {
// ID 专题ID ANS 64 M 专题ID
// name 专题名称 ANS 64 M 专题名称
// icon 专题Icon ANS 256 M 专题图片
// minPrice 最低价格 ANS 64 M 最低价格
// stock 库存 N 64 M 库存
public String ID = "";//专题ID
public Str... | 22.285714 | 45 | 0.675214 |
5ba00e07b847ce81c2ede16b822e88161b717452 | 319 | kt | Kotlin | {{cookiecutter.repo_name}}/networking/src/main/java/{{cookiecutter.package_name_dir}}/networking/services/ApiService.kt | a3mani/A3AndroidTemplate | 41a46070f558710cb595283d4ca78adb7069636a | [
"Unlicense"
] | 13 | 2018-07-17T10:10:31.000Z | 2022-01-18T13:03:31.000Z | {{cookiecutter.repo_name}}/networking/src/main/java/{{cookiecutter.package_name_dir}}/networking/services/ApiService.kt | a3mani/A3AndroidTemplate | 41a46070f558710cb595283d4ca78adb7069636a | [
"Unlicense"
] | 7 | 2019-01-17T17:12:27.000Z | 2020-09-28T09:18:17.000Z | {{cookiecutter.repo_name}}/networking/src/main/java/{{cookiecutter.package_name_dir}}/networking/services/ApiService.kt | a3mani/A3AndroidTemplate | 41a46070f558710cb595283d4ca78adb7069636a | [
"Unlicense"
] | 14 | 2019-04-13T13:09:15.000Z | 2022-03-16T07:58:14.000Z | package {{ cookiecutter.package_name }}.networking.services
import {{ cookiecutter.package_name }}.networking.model.AuthToken
import io.reactivex.rxjava3.core.Single
import retrofit2.http.POST
const val API_VERSION = "v1"
interface ApiService {
@POST("/$API_VERSION/login")
fun login(): Single<AuthToken>
}
| 22.785714 | 65 | 0.761755 |
8148a146c9511b73da95c05666f4d3880fc297fe | 1,702 | kt | Kotlin | src/main/kotlin/com/zup/br/orange/client/bcb/BCBClient.kt | guipernicone/orange-talents-02-template-pix-keymanager-grpc | 645fd0597c42976ec1ac7ee7c43087f52db87ad5 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/zup/br/orange/client/bcb/BCBClient.kt | guipernicone/orange-talents-02-template-pix-keymanager-grpc | 645fd0597c42976ec1ac7ee7c43087f52db87ad5 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/zup/br/orange/client/bcb/BCBClient.kt | guipernicone/orange-talents-02-template-pix-keymanager-grpc | 645fd0597c42976ec1ac7ee7c43087f52db87ad5 | [
"Apache-2.0"
] | 1 | 2021-04-20T19:50:02.000Z | 2021-04-20T19:50:02.000Z | package com.zup.br.orange.client.bcb
import com.zup.br.orange.client.bcb.request.CreatePixClientRequest
import com.zup.br.orange.client.bcb.request.DeletePixClientRequest
import com.zup.br.orange.client.bcb.response.ConsultPixClientResponse
import com.zup.br.orange.client.bcb.response.CreatePixClientResponse
import co... | 40.52381 | 117 | 0.789659 |
5b0208adbc9ae5b0fad83e5899c96297964ad188 | 286 | h | C | src/fuzzer/primitives/int.h | xvenge00/fuzzer-dp | 7e0fbffd181a287722bfd6e47646260ff272eb31 | [
"MIT"
] | 1 | 2021-07-26T12:57:52.000Z | 2021-07-26T12:57:52.000Z | src/fuzzer/primitives/int.h | xvenge00/fuzzer-dp | 7e0fbffd181a287722bfd6e47646260ff272eb31 | [
"MIT"
] | 1 | 2021-08-07T10:01:42.000Z | 2021-08-07T10:01:42.000Z | src/fuzzer/primitives/int.h | xvenge00/fuzzer-dp | 7e0fbffd181a287722bfd6e47646260ff272eb31 | [
"MIT"
] | 1 | 2021-07-21T14:33:19.000Z | 2021-07-21T14:33:19.000Z | /*
* Author: Adam Venger (xvenge00)
* 2021
*/
#ifndef CPP_INT_H
#define CPP_INT_H
#include <cinttypes>
#include <vector>
namespace primitives {
extern std::vector<std::uint16_t> fuzz_uint16;
extern std::vector<std::uint16_t> fuzz_uint16_bigger_complement;
}
#endif //CPP_INT_H
| 14.3 | 64 | 0.741259 |
40ae37e05f48d817df377f48c96d800669a2181b | 2,492 | html | HTML | index.html | DanJFletcher/electronic-calculator | 20cea0657679bde688ab500c867df48238d0d6df | [
"MIT"
] | null | null | null | index.html | DanJFletcher/electronic-calculator | 20cea0657679bde688ab500c867df48238d0d6df | [
"MIT"
] | 2 | 2016-03-16T15:14:42.000Z | 2016-03-17T14:15:21.000Z | index.html | DanJFletcher/electronic-calculator | 20cea0657679bde688ab500c867df48238d0d6df | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<!-- HTML5 Hello world by kirupa - http://www.kirupa.com/html5/getting_your_feet_wet_html5_pg1.htm -->
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width; scale=1">
<title>Electronic Calculator</title>
<link rel="stylesheet" type="text/css" href=... | 20.595041 | 111 | 0.416533 |
7da005b25d0965f502263c502204d5745866f62a | 922 | html | HTML | src/main/resources/templates/login.html | patrotom/corsys | 658e880ff05a8a61eb8da1dbf1e59ade1656483e | [
"MIT"
] | null | null | null | src/main/resources/templates/login.html | patrotom/corsys | 658e880ff05a8a61eb8da1dbf1e59ade1656483e | [
"MIT"
] | null | null | null | src/main/resources/templates/login.html | patrotom/corsys | 658e880ff05a8a61eb8da1dbf1e59ade1656483e | [
"MIT"
] | null | null | null | <!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>Corsys </title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" th:href="@{/css/css.css}" href="../static/css/css.css"/>
<script type="text/javascript" src="../static/js/functions.js" th:... | 32.928571 | 110 | 0.606291 |
70667cd83fca0415014fcb68906a6f0d765d4be2 | 3,726 | go | Go | infra/api/api_auth_impl/redirect.go | SaveTheRbtz/toolbox | 077c3d16303597bfe06a02ce3004dbd1336d5f1c | [
"MIT"
] | null | null | null | infra/api/api_auth_impl/redirect.go | SaveTheRbtz/toolbox | 077c3d16303597bfe06a02ce3004dbd1336d5f1c | [
"MIT"
] | null | null | null | infra/api/api_auth_impl/redirect.go | SaveTheRbtz/toolbox | 077c3d16303597bfe06a02ce3004dbd1336d5f1c | [
"MIT"
] | null | null | null | package api_auth_impl
import (
"context"
"errors"
"github.com/watermint/toolbox/essentials/log/esl"
"github.com/watermint/toolbox/infra/api/api_auth"
"github.com/watermint/toolbox/infra/api/api_callback"
"github.com/watermint/toolbox/infra/app"
"github.com/watermint/toolbox/infra/control/app_control"
"github.c... | 24.513158 | 100 | 0.687332 |
0a2e64c8c94a70409614bd63c96d672b334f4606 | 112 | ts | TypeScript | packages/topic-core/src/common/interfaces/writeable.ts | tbushinger/sequencer | b7fa2b17d84a008611f34a72a3cd9d22743aebe1 | [
"MIT"
] | null | null | null | packages/topic-core/src/common/interfaces/writeable.ts | tbushinger/sequencer | b7fa2b17d84a008611f34a72a3cd9d22743aebe1 | [
"MIT"
] | null | null | null | packages/topic-core/src/common/interfaces/writeable.ts | tbushinger/sequencer | b7fa2b17d84a008611f34a72a3cd9d22743aebe1 | [
"MIT"
] | null | null | null | import { Path } from '../types/path';
export interface Writeable {
set: (path: Path, value: any) => any;
}
| 18.666667 | 41 | 0.616071 |
b93c119ccc5434c37003bf20473059a1b156b226 | 916 | h | C | src/dlcs_macosx.h | deadline-cxn/dlstorm | 4dec81a71af5f4bbf7daf227c5fd662b9c613e9c | [
"BSD-3-Clause"
] | null | null | null | src/dlcs_macosx.h | deadline-cxn/dlstorm | 4dec81a71af5f4bbf7daf227c5fd662b9c613e9c | [
"BSD-3-Clause"
] | null | null | null | src/dlcs_macosx.h | deadline-cxn/dlstorm | 4dec81a71af5f4bbf7daf227c5fd662b9c613e9c | [
"BSD-3-Clause"
] | null | null | null | /***************************************************************
** DLSTORM Deadline's Code Storm Library
** /\
** ---- D/L \----
** \/
** License: BSD
** Copyright: 2020
** File: dlcs_macosx.h
** Description: DL Code Storm Header for MAC OSX
** Author: Set... | 30.533333 | 65 | 0.473799 |
9d44c0c69d6cb2523de98ff96d9ddb68437bed97 | 2,847 | html | HTML | PreferredPlus/templates/base.html | toddwebsite/preffered_p_plus | a774ab34ef614c77b43b1ff1331f4ff26372d61a | [
"MIT"
] | null | null | null | PreferredPlus/templates/base.html | toddwebsite/preffered_p_plus | a774ab34ef614c77b43b1ff1331f4ff26372d61a | [
"MIT"
] | null | null | null | PreferredPlus/templates/base.html | toddwebsite/preffered_p_plus | a774ab34ef614c77b43b1ff1331f4ff26372d61a | [
"MIT"
] | null | null | null | {% load staticfiles %}
<!DOCTYPE html>
<html lang="{{ LANGUAGE_CODE }}">
<head>
<meta charset="utf-8" />
<title>{% block head_title_base %}{% if SITE_NAME %}{{ SITE_NAME }} | {% endif %}{% block head_title %}{% endblock %}{% endblock %}</title>
{% block viewport %}
<meta name="vi... | 39 | 189 | 0.460133 |
6e8e02c0af65c31388fcf13fab6d47fd86cc93a9 | 568 | sql | SQL | Database/MtaDB/MANTA_MTA/Tables/man_evn_bounceEvent.sql | simongh/MantaMTA | 9648b7ef8152aa75984ebd308c8777f2c991f31b | [
"MIT"
] | 21 | 2016-03-21T14:18:57.000Z | 2021-09-07T21:43:02.000Z | Database/MtaDB/MANTA_MTA/Tables/man_evn_bounceEvent.sql | simongh/MantaMTA | 9648b7ef8152aa75984ebd308c8777f2c991f31b | [
"MIT"
] | 3 | 2016-06-27T20:08:48.000Z | 2018-05-01T19:01:00.000Z | Database/MtaDB/MANTA_MTA/Tables/man_evn_bounceEvent.sql | simongh/MantaMTA | 9648b7ef8152aa75984ebd308c8777f2c991f31b | [
"MIT"
] | 13 | 2016-03-21T19:48:47.000Z | 2018-11-16T16:05:17.000Z | CREATE TABLE [dbo].[man_evn_bounceEvent](
[evn_event_id] [int] NOT NULL,
[evn_bounceCode_id] [int] NOT NULL,
[evn_bounceType_id] [int] NOT NULL,
[evn_bounceEvent_message] [nvarchar](max) COLLATE Latin1_General_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[man_evn_bounceEvent] ADD CONSTRAINT [PK_ma... | 35.5 | 174 | 0.737676 |
48fe6ea6ffadcf7725c8840a88a1f2fcd84ff3b3 | 698 | swift | Swift | ORTUS/Modules/Schedule/ScheduleModuleBuilder.swift | ORTUS-Plus/ORTUS-Plus-iOS | dcc52221433b57aa61c673e737031ac5bb94b1e9 | [
"MIT"
] | 2 | 2020-10-01T09:22:23.000Z | 2021-09-01T10:59:39.000Z | ORTUS/Modules/Schedule/ScheduleModuleBuilder.swift | ORTUS-Plus/ORTUS-Plus-iOS | dcc52221433b57aa61c673e737031ac5bb94b1e9 | [
"MIT"
] | null | null | null | ORTUS/Modules/Schedule/ScheduleModuleBuilder.swift | ORTUS-Plus/ORTUS-Plus-iOS | dcc52221433b57aa61c673e737031ac5bb94b1e9 | [
"MIT"
] | 1 | 2020-02-22T12:26:02.000Z | 2020-02-22T12:26:02.000Z | //
// ScheduleModuleBuilder.swift
// ORTUS
//
// Created by Firdavs Khaydarov on 25/03/19.
// Copyright (c) 2019 Firdavs. All rights reserved.
//
class ScheduleModuleBuilder: ModuleBuilder {
typealias M = ScheduleViewController
typealias P = Any?
static func build(with parameter: Any? = nil, custo... | 30.347826 | 125 | 0.696275 |
0bc0252815116754384ea2be1e2c636d3f4a2b1e | 63,067 | js | JavaScript | sdg_info.js | lucageo/sdgs_toolkit2 | db9eaf027cfb10f0f747c1ba05ae935b51d04c9f | [
"CC-BY-4.0"
] | null | null | null | sdg_info.js | lucageo/sdgs_toolkit2 | db9eaf027cfb10f0f747c1ba05ae935b51d04c9f | [
"CC-BY-4.0"
] | null | null | null | sdg_info.js | lucageo/sdgs_toolkit2 | db9eaf027cfb10f0f747c1ba05ae935b51d04c9f | [
"CC-BY-4.0"
] | null | null | null | var groups=[{"id":1,"code":1,"title":"No poverty","name":"End poverty in all its forms everywhere","color":"#E5233D"},{"id":2,"code":2,"title":"Zero hunger","name":"End hunger, achieve food security and improved nutrition and promote sustainable agriculture","color":"#DDA73A"},{"id":3,"code":3,"title":"Good health and... | 73.935522 | 3,112 | 0.699272 |
5c94ab88362401365b85e7980b9aaf841a8eff34 | 1,361 | h | C | aom_dsp/bitreader_buffer.h | jixianghu/aom | 3a53922126c750f0cb4c3fd891db1f2cf2460a1e | [
"BSD-2-Clause"
] | null | null | null | aom_dsp/bitreader_buffer.h | jixianghu/aom | 3a53922126c750f0cb4c3fd891db1f2cf2460a1e | [
"BSD-2-Clause"
] | null | null | null | aom_dsp/bitreader_buffer.h | jixianghu/aom | 3a53922126c750f0cb4c3fd891db1f2cf2460a1e | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2016, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... | 27.77551 | 80 | 0.782513 |
4c2928fbb9015c0d3f1c422c4adce2fddf3962de | 1,520 | php | PHP | browseprocess.php | revlarry/radionaija_old | a25c7e076aa20699e982a2f25ef402658972be58 | [
"Apache-2.0"
] | null | null | null | browseprocess.php | revlarry/radionaija_old | a25c7e076aa20699e982a2f25ef402658972be58 | [
"Apache-2.0"
] | null | null | null | browseprocess.php | revlarry/radionaija_old | a25c7e076aa20699e982a2f25ef402658972be58 | [
"Apache-2.0"
] | null | null | null | <?php session_start(); ?>
<?php include_once("analyticstracking.php") ?>
<?php error_reporting(E_ERROR | E_PARSE); ?>
<!--?php include("header.php") ?-->
<?php include("functions.php") ?>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn... | 29.230769 | 115 | 0.638158 |
07ee314a3478f73ca4afb7d415557f8bad380b2e | 2,816 | rs | Rust | src/taxi.rs | lta-rs/lta-models | 52d90979e718bfe85afdf73dbda48fca8a9a3605 | [
"MIT"
] | null | null | null | src/taxi.rs | lta-rs/lta-models | 52d90979e718bfe85afdf73dbda48fca8a9a3605 | [
"MIT"
] | 4 | 2021-01-14T15:45:11.000Z | 2021-06-30T02:21:23.000Z | src/taxi.rs | lta-rs/lta-models | 52d90979e718bfe85afdf73dbda48fca8a9a3605 | [
"MIT"
] | null | null | null | //! Taxi structs and data structures
pub mod prelude {
pub use {
crate::taxi::{
taxi_avail::TaxiAvailResp,
taxi_stands::{TaxiStand, TaxiStandsResp},
},
crate::utils::Coordinates,
};
}
pub mod taxi_avail {
use crate::utils::Coordinates;
use serde::{Deseri... | 25.369369 | 94 | 0.587713 |
acb008fa50c164f9a3521c9a87deec5bb31d295a | 1,143 | sql | SQL | MagicWorks/BCPTablesFrom SQLToFileOLTP.sql | SQLShark/ASDWPrecon | 28a041afc93e8024c9de8242f26c75d982cacecd | [
"MIT"
] | 8 | 2018-02-21T11:40:21.000Z | 2021-01-01T05:30:50.000Z | MagicWorks/BCPTablesFrom SQLToFileOLTP.sql | Adatis/AzureSQLDataWarehouse-Workshop | 6a15ddd3f074296c24ea2c039a18f0cd91c13751 | [
"MIT"
] | null | null | null | MagicWorks/BCPTablesFrom SQLToFileOLTP.sql | Adatis/AzureSQLDataWarehouse-Workshop | 6a15ddd3f074296c24ea2c039a18f0cd91c13751 | [
"MIT"
] | 6 | 2018-02-21T09:30:08.000Z | 2021-06-10T11:00:53.000Z | use AdventureWorks;
GO
EXEC master.dbo.sp_configure 'show advanced options', 1
RECONFIGURE
EXEC master.dbo.sp_configure 'xp_cmdshell', 1
RECONFIGURE;
BEGIN TRY
DROP VIEW dbo.config
END TRY
BEGIN CATCH
PRINT 'No Need'
END CATCH;
GO
CREATE VIEW dbo.config AS
SELECT
s.Name AS 'SchemaName'
, T.NAme AS 'TableName... | 36.870968 | 320 | 0.727034 |
a1469695d4218056eec0098f8d93113af4d911a5 | 746 | go | Go | library/valid/user.go | yamakiller/magicWeb | 29632072f7494286b7908f7f7dd28c872c884ad3 | [
"MIT"
] | null | null | null | library/valid/user.go | yamakiller/magicWeb | 29632072f7494286b7908f7f7dd28c872c884ad3 | [
"MIT"
] | null | null | null | library/valid/user.go | yamakiller/magicWeb | 29632072f7494286b7908f7f7dd28c872c884ad3 | [
"MIT"
] | 1 | 2020-09-12T02:45:30.000Z | 2020-09-12T02:45:30.000Z | package valid
import (
"strings"
"gopkg.in/go-playground/validator.v9"
)
var (
defaultFilter = [...]string{"admin", "master", "super"}
)
//UserNameValid doc
//Summary validator username is valid
//Method UserNameValid
//Return (bool)
func UserNameValid(fl validator.FieldLevel) bool {
s := strings.ToLower(fl.Fie... | 18.195122 | 56 | 0.686327 |
cbdb2ec143e1a53208fc3758f8e2706ce87d08b1 | 619 | go | Go | go/aoc17/p05/p05.go | shaeberling/euler | 89b77656890a2802972bf53dc75618e93c07fec1 | [
"Apache-2.0"
] | 7 | 2016-01-30T02:57:32.000Z | 2022-01-02T05:24:09.000Z | go/aoc17/p05/p05.go | shaeberling/euler | 89b77656890a2802972bf53dc75618e93c07fec1 | [
"Apache-2.0"
] | 1 | 2017-01-29T18:48:01.000Z | 2017-01-31T21:10:15.000Z | go/aoc17/p05/p05.go | shaeberling/euler | 89b77656890a2802972bf53dc75618e93c07fec1 | [
"Apache-2.0"
] | 1 | 2019-12-08T13:04:03.000Z | 2019-12-08T13:04:03.000Z | package p05
import (
"math"
c "s13g.com/euler/common"
)
// --- Day 5: A Maze of Twisty Trampolines, All Alike ---
// http://adventofcode.com/2017/day/5
func Solve(input string) (string, string) {
inputArr := c.SplitByNewline(input)
return c.ToString(solve(inputArr, math.MaxInt32)), c.ToString(solve(inputArr, 3))... | 22.107143 | 82 | 0.657512 |
cb2705cf6bda25266efc4058da3b0dbe0e800731 | 70,041 | h | C | source/text/brprintf.h | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 115 | 2015-01-18T17:29:30.000Z | 2022-01-30T04:31:48.000Z | source/text/brprintf.h | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-22T04:53:38.000Z | 2015-01-31T13:52:40.000Z | source/text/brprintf.h | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-23T20:06:46.000Z | 2020-05-20T16:06:00.000Z | /***************************************
Matt Pritchard's typesafe & enhanced c++ formatted output function
replacements
Note from Matt Pritchard: mprintf is dedicated to the ones I love: Jennifer,
Nathan and Lauren.
Copyright (c) 2012-2013 by Matt Pritchard <mattp_2006@yahoo.com>
Copyright ... | 39.796023 | 80 | 0.652561 |
5fb2503107746096c7f3cf4ffd1007a99f2a8c49 | 22,067 | h | C | MSR_ECClib/msr_ecclib_priv.h | BryanStarbuck/MSR_ECClib | 5422002e5da3bd5aa1db3662fd47a0ac3507e147 | [
"Apache-2.0"
] | 1 | 2018-05-29T12:14:00.000Z | 2018-05-29T12:14:00.000Z | MSR_ECClib/msr_ecclib_priv.h | BryanStarbuck/MSR_ECClib | 5422002e5da3bd5aa1db3662fd47a0ac3507e147 | [
"Apache-2.0"
] | null | null | null | MSR_ECClib/msr_ecclib_priv.h | BryanStarbuck/MSR_ECClib | 5422002e5da3bd5aa1db3662fd47a0ac3507e147 | [
"Apache-2.0"
] | null | null | null | /**************************************************************************
* MSR ECClib, an efficient and secure elliptic curve cryptographic library
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use these fi... | 68.108025 | 206 | 0.736439 |
18b5079706f4b2156c126d6d5e48caec6ef29d59 | 427 | rb | Ruby | db/migrate/20150217210043_index_pieces_on_unique_piece_head_id.rb | thomasregnet/kleinodien | 638713075dea743093752aba0ee1b8ca5161d065 | [
"MIT"
] | null | null | null | db/migrate/20150217210043_index_pieces_on_unique_piece_head_id.rb | thomasregnet/kleinodien | 638713075dea743093752aba0ee1b8ca5161d065 | [
"MIT"
] | 13 | 2019-12-18T19:59:58.000Z | 2022-02-02T18:07:59.000Z | db/migrate/20150217210043_index_pieces_on_unique_piece_head_id.rb | thomasregnet/kleinodien | 638713075dea743093752aba0ee1b8ca5161d065 | [
"MIT"
] | null | null | null | class IndexPiecesOnUniquePieceHeadId < ActiveRecord::Migration[4.2]
def change
reversible do |idx|
idx.up do
execute <<-DDL
CREATE UNIQUE INDEX index_piece_on_unique_piece_head_id
ON pieces (piece_head_id)
WHERE version IS NULL;
DDL
end
idx.dow... | 25.117647 | 73 | 0.641686 |
f0827a9bc1fab116569d8485fa3cf7975cc20e07 | 1,859 | py | Python | Medium/78.py | Hellofafar/Leetcode | 7a459e9742958e63be8886874904e5ab2489411a | [
"CNRI-Python"
] | 6 | 2017-09-25T18:05:50.000Z | 2019-03-27T00:23:15.000Z | Medium/78.py | Hellofafar/Leetcode | 7a459e9742958e63be8886874904e5ab2489411a | [
"CNRI-Python"
] | 1 | 2017-10-29T12:04:41.000Z | 2018-08-16T18:00:37.000Z | Medium/78.py | Hellofafar/Leetcode | 7a459e9742958e63be8886874904e5ab2489411a | [
"CNRI-Python"
] | null | null | null | # ------------------------------
# 78. Subsets
#
# Description:
# Given a set of distinct integers, nums, return all possible subsets (the power set).
# Note: The solution set must not contain duplicate subsets.
#
# For example,
# If nums = [1,2,3], a solution is:
# [
# [3],
# [1],
# [2],
# [1,2,3],
# [1,3]... | 24.142857 | 96 | 0.483593 |
389de860d103edcde8e9fe01d52459fb65f94e61 | 1,641 | lua | Lua | lua/oauth.lua | heythisisnate/nodemcu-smartthings | 5d7763b7918dc0c2249ba8bd9eecbade16574a09 | [
"MIT"
] | 64 | 2017-04-14T05:08:12.000Z | 2022-01-28T09:28:50.000Z | lua/oauth.lua | rome007/nodemcu-smartthings | 5d7763b7918dc0c2249ba8bd9eecbade16574a09 | [
"MIT"
] | 11 | 2017-04-17T04:50:15.000Z | 2019-12-19T12:57:37.000Z | lua/oauth.lua | rome007/nodemcu-smartthings | 5d7763b7918dc0c2249ba8bd9eecbade16574a09 | [
"MIT"
] | 29 | 2017-04-14T00:58:21.000Z | 2020-05-23T00:10:38.000Z | if not auth_token then
print("**************** Welcome to NodeMCU SmartThings ****************")
print("**** ****")
print("**** To get started, open your browser to: ****")
print("**** http://" .. wifi.sta.getip() .. ":8100/oauth ... | 39.071429 | 161 | 0.586228 |
9062484143d1ade3b70953a265b2792198b34efe | 3,363 | py | Python | credential_test.py | jmuema/password-locker | ba1653e801ca99821a23264b006b19fa00a3b518 | [
"Unlicense"
] | null | null | null | credential_test.py | jmuema/password-locker | ba1653e801ca99821a23264b006b19fa00a3b518 | [
"Unlicense"
] | null | null | null | credential_test.py | jmuema/password-locker | ba1653e801ca99821a23264b006b19fa00a3b518 | [
"Unlicense"
] | null | null | null | import unittest # Importing the unittest module
from credential import Credential # Importing the credential class
class TestCredential(unittest.TestCase):
'''
Test class that defines test cases for the credential class behaviours.
Args:
unittest.TestCase: TestCase class that helps in creating te... | 34.670103 | 104 | 0.680048 |
1758c3b4cc659bbea084a45c425a8db653f49223 | 172,677 | html | HTML | Lab3/Documentation/doxygen/html/_l_c_d_c___p_d_d_8h_source.html | MenkaMehta/48434-embedded-software-Labs | 9fa4257dad9da955c7dd5f6e15a6ac530510d652 | [
"MIT"
] | 1 | 2017-04-14T02:41:17.000Z | 2017-04-14T02:41:17.000Z | Lab3/Documentation/doxygen/html/_l_c_d_c___p_d_d_8h_source.html | MenkaMehta/48434-embedded-software-Labs | 9fa4257dad9da955c7dd5f6e15a6ac530510d652 | [
"MIT"
] | null | null | null | Lab3/Documentation/doxygen/html/_l_c_d_c___p_d_d_8h_source.html | MenkaMehta/48434-embedded-software-Labs | 9fa4257dad9da955c7dd5f6e15a6ac530510d652 | [
"MIT"
] | 1 | 2019-10-16T08:15:35.000Z | 2019-10-16T08:15:35.000Z | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | 149.11658 | 244 | 0.606305 |
e9b3fbf68b1e17533fedb170d1d975fed5d25f9e | 278 | rb | Ruby | lib/esputnik.rb | busfor/esputnik | 7d44def36d6def8805dd0f7bbfdf1f4751cb82c0 | [
"MIT"
] | null | null | null | lib/esputnik.rb | busfor/esputnik | 7d44def36d6def8805dd0f7bbfdf1f4751cb82c0 | [
"MIT"
] | null | null | null | lib/esputnik.rb | busfor/esputnik | 7d44def36d6def8805dd0f7bbfdf1f4751cb82c0 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
require 'json'
require 'faraday'
require 'active_model'
require 'esputnik/version'
require 'esputnik/contact'
require 'esputnik/channel'
require 'esputnik/response'
require 'esputnik/client'
module Esputnik
class Error < StandardError; end
end
| 18.533333 | 34 | 0.798561 |
64334fcc5758c900eb7371ac9a2f4ce51ca68e64 | 10,222 | rs | Rust | native/rustcode/src/controllers/wallet.rs | zarynxyz/zaryn | 5d6cf8b6e43e8cdf2a8d0688fb9c16e4509fc958 | [
"Apache-2.0"
] | 4 | 2021-05-29T11:22:36.000Z | 2022-02-09T11:26:39.000Z | native/rustcode/src/controllers/wallet.rs | zarynxyz/zaryn | 5d6cf8b6e43e8cdf2a8d0688fb9c16e4509fc958 | [
"Apache-2.0"
] | 2 | 2021-06-17T13:32:39.000Z | 2022-02-09T11:26:02.000Z | native/rustcode/src/controllers/wallet.rs | zarynxyz/zaryn | 5d6cf8b6e43e8cdf2a8d0688fb9c16e4509fc958 | [
"Apache-2.0"
] | 1 | 2021-06-04T14:27:20.000Z | 2021-06-04T14:27:20.000Z | use crate::actors::transaction::{CreateTransaction, UpdateTransaction};
use crate::actors::db::DBActor;
use crate::utils::{response::*,crypto::{encode}};
use crate::models::wallet::{WalletInfo, Transfer};
use crate::actors::wallet::{GetAllWallets, GetByWallet,Update, Create, Delete, Get, Detail };
use actix::Addr;
use ... | 38.141791 | 128 | 0.544121 |
95b879f14c44ae0e8d8dfba8dc74a6992e26d6b9 | 183 | css | CSS | src/pages/index.css | jhonatan-fg/imperial-toys | e02389a13c24e763caf7db0dbfe69cbc3a74c4f0 | [
"MIT"
] | null | null | null | src/pages/index.css | jhonatan-fg/imperial-toys | e02389a13c24e763caf7db0dbfe69cbc3a74c4f0 | [
"MIT"
] | null | null | null | src/pages/index.css | jhonatan-fg/imperial-toys | e02389a13c24e763caf7db0dbfe69cbc3a74c4f0 | [
"MIT"
] | null | null | null | h2 {
color: #fff;
}
.card {
background: #000;
color: #fff;
}
.card1{
padding-left: 50px;
}
.cards{
display: flex;
}
.card-title{
text-align: center;
} | 8.714286 | 23 | 0.519126 |
cc84262c58fac4acd13d7e277091c100c48f68eb | 4,167 | kt | Kotlin | app/src/main/java/com/easypick/easypick/fragments/OrderHistoryFragment.kt | UTN-FRBA-Mobile/EasyPick | c31e95f05e78cf9b8bdb6ee82b1269406b43402e | [
"MIT"
] | 1 | 2020-06-01T21:12:52.000Z | 2020-06-01T21:12:52.000Z | app/src/main/java/com/easypick/easypick/fragments/OrderHistoryFragment.kt | UTN-FRBA-Mobile/EasyPick | c31e95f05e78cf9b8bdb6ee82b1269406b43402e | [
"MIT"
] | 23 | 2020-05-03T16:22:17.000Z | 2022-01-22T13:02:43.000Z | app/src/main/java/com/easypick/easypick/fragments/OrderHistoryFragment.kt | UTN-FRBA-Mobile/EasyPick | c31e95f05e78cf9b8bdb6ee82b1269406b43402e | [
"MIT"
] | 4 | 2020-04-30T17:35:51.000Z | 2020-05-03T19:39:19.000Z | package com.easypick.easypick.fragments
import android.content.Context
import android.graphics.Rect
import android.os.Bundle
import android.os.Handler
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.Line... | 35.922414 | 91 | 0.610511 |
71ba562a138f9c18645e2bf58e320bbc07b901cf | 311 | tsx | TypeScript | ui/src/component/common/List/index.tsx | greenmochi/kabedon-electron | 652cce4202dd968f2120d312df446a5dbf72a158 | [
"MIT"
] | 1 | 2021-11-23T06:57:43.000Z | 2021-11-23T06:57:43.000Z | ui/src/component/common/List/index.tsx | greenmochi/kabedon-electron | 652cce4202dd968f2120d312df446a5dbf72a158 | [
"MIT"
] | 13 | 2020-09-06T10:49:41.000Z | 2022-03-25T18:49:20.000Z | ui/src/component/common/List/index.tsx | greenmochi/ultimate | 652cce4202dd968f2120d312df446a5dbf72a158 | [
"MIT"
] | null | null | null | import React from "react";
import styled from "styled-components";
const Wrapper = styled.ul`
`;
export interface ListProps {
}
export default class List extends React.Component<ListProps> {
render() {
return (
<Wrapper {...this.props}>
{this.props.children}
</Wrapper>
);
}
} | 17.277778 | 62 | 0.643087 |
90abb9921d5f884975278a17cac6255c5b2afcb2 | 5,164 | py | Python | examples/environment_features/scim_ideal_grid_simulation.py | RaviPandey33/gym-electric-motor-1 | 999e18dceed709decf43d646fb29dc7602b9a89c | [
"MIT"
] | 179 | 2019-10-21T15:08:05.000Z | 2022-03-29T08:46:13.000Z | examples/environment_features/scim_ideal_grid_simulation.py | RaviPandey33/gym-electric-motor-1 | 999e18dceed709decf43d646fb29dc7602b9a89c | [
"MIT"
] | 149 | 2019-12-16T16:02:00.000Z | 2022-03-18T19:42:33.000Z | examples/environment_features/scim_ideal_grid_simulation.py | RaviPandey33/gym-electric-motor-1 | 999e18dceed709decf43d646fb29dc7602b9a89c | [
"MIT"
] | 36 | 2019-12-10T17:32:02.000Z | 2022-03-16T20:54:18.000Z | """This example simulates the start-up behavior of the squirrel cage induction motor connected to
an ideal three-phase grid. The state and action space is continuous.
Running the example will create a formatted plot that show the motor's angular velocity, the drive torque,
the applied voltage in three-phase abc-coordin... | 35.861111 | 120 | 0.696359 |
1ebc990f1d12b7b90c35c21e0ff9703ea957776b | 1,251 | kt | Kotlin | app/src/main/java/com/tkuhn/recipefinder/ui/main/search/UiRecipe.kt | TomasKuhn/RecipeFinder | d22aa2376bf0cd60663be32dd3ac84cbbbed520b | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/tkuhn/recipefinder/ui/main/search/UiRecipe.kt | TomasKuhn/RecipeFinder | d22aa2376bf0cd60663be32dd3ac84cbbbed520b | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/tkuhn/recipefinder/ui/main/search/UiRecipe.kt | TomasKuhn/RecipeFinder | d22aa2376bf0cd60663be32dd3ac84cbbbed520b | [
"Apache-2.0"
] | null | null | null | package com.tkuhn.recipefinder.ui.main.search
import android.graphics.Color
import android.text.Spanned
import androidx.core.text.buildSpannedString
import androidx.core.text.color
import com.tkuhn.recipefinder.R
import com.tkuhn.recipefinder.domain.Recipe
import com.tkuhn.recipefinder.utils.Identifiable
import com.tk... | 33.810811 | 92 | 0.619504 |
d5bb28fc3ccb30b4086f58a0c365781d9ad58162 | 1,002 | swift | Swift | JSwift/Helpers/PathFinder.swift | ConradoMateu/JSwift | eabd97f3fbd44d835ead62b0f6da5567350f4c84 | [
"MIT"
] | 12 | 2018-05-14T07:36:31.000Z | 2018-07-10T23:56:42.000Z | JSwift/Helpers/PathFinder.swift | mohsinalimat/JSwift | bcd6c52a10fecc06f3f0a81732ff5f5ef3cbd598 | [
"MIT"
] | 1 | 2018-05-15T15:35:58.000Z | 2018-05-16T12:38:33.000Z | JSwift/Helpers/PathFinder.swift | mohsinalimat/JSwift | bcd6c52a10fecc06f3f0a81732ff5f5ef3cbd598 | [
"MIT"
] | 1 | 2018-05-14T09:11:16.000Z | 2018-05-14T09:11:16.000Z | //
// PathFinder.swift
// JSON2SWIFT
//
// Created by Conrado Mateu Gisbert on 12/04/2018.
// Copyright © 2018 conradomateu. All rights reserved.
//
import Foundation
import Cocoa
class PathFinder {
static func execute(withDirectory:Bool) -> URL? {
let dialog = NSOpenPanel()
dialog.title = "C... | 27.081081 | 66 | 0.601796 |
84c92548fc37ce7562e2e5834e18188fea0396b4 | 229 | h | C | Example/BWTrackTools/TestController/TestViewController2.h | bairdweng/BWTrackTools | 48ba075d6467ae43d99e50dd356dce1fe5ac36d2 | [
"MIT"
] | null | null | null | Example/BWTrackTools/TestController/TestViewController2.h | bairdweng/BWTrackTools | 48ba075d6467ae43d99e50dd356dce1fe5ac36d2 | [
"MIT"
] | null | null | null | Example/BWTrackTools/TestController/TestViewController2.h | bairdweng/BWTrackTools | 48ba075d6467ae43d99e50dd356dce1fe5ac36d2 | [
"MIT"
] | null | null | null | //
// TestViewController2.h
// BWAopTestDemo
//
// Created by baird weng on 2020/1/15.
// Copyright © 2020 baird weng. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TestViewController2 : UIViewController
@end
| 16.357143 | 53 | 0.71179 |
0b44a978913b26bbf0d8ab188b6560f82d0fe2d3 | 1,068 | py | Python | core/migrations/0044_auto_20190510_0921.py | raheemazeezabiodun/art-backend | 0bc47f3cf6f403101082f201c7fd1ca8108d5731 | [
"MIT"
] | 4 | 2018-03-12T23:49:01.000Z | 2020-07-06T17:37:29.000Z | core/migrations/0044_auto_20190510_0921.py | raheemazeezabiodun/art-backend | 0bc47f3cf6f403101082f201c7fd1ca8108d5731 | [
"MIT"
] | 259 | 2018-02-06T07:53:07.000Z | 2020-06-05T19:18:32.000Z | core/migrations/0044_auto_20190510_0921.py | raheemazeezabiodun/art-backend | 0bc47f3cf6f403101082f201c7fd1ca8108d5731 | [
"MIT"
] | 22 | 2018-01-25T14:02:05.000Z | 2020-06-24T20:37:01.000Z | # Generated by Django 2.1.7 on 2019-05-10 09:21
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0043_auto_20190424_1029'),
]
operations = [
migrations.RemoveField(
model_name='statetransition',
name='stat... | 38.142857 | 258 | 0.634831 |
dda58846f20dcab5a7a97539e5d31a2952ef93fd | 78 | sql | SQL | src/test/resources/sql/delete/52b21969.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/delete/52b21969.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/delete/52b21969.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:foreign_key.sql ln:306 expect:true
DELETE FROM PKTABLE where ptest1=2
| 26 | 42 | 0.794872 |
2d83839f145f471d34c37f790f0b63e6c5bd787a | 83 | sql | SQL | src/main/resources/db/migration/V2.0.002__STOCK.sql | andreschaefer/medixx | 035c453096943eddcf701c775acc3ed497a399ac | [
"MIT"
] | null | null | null | src/main/resources/db/migration/V2.0.002__STOCK.sql | andreschaefer/medixx | 035c453096943eddcf701c775acc3ed497a399ac | [
"MIT"
] | null | null | null | src/main/resources/db/migration/V2.0.002__STOCK.sql | andreschaefer/medixx | 035c453096943eddcf701c775acc3ed497a399ac | [
"MIT"
] | null | null | null | CREATE TABLE MEDIXX_STOCK (
ID VARCHAR NOT NULL PRIMARY KEY,
STOCK TEXT
);
| 16.6 | 36 | 0.698795 |
c20a13070cc3ec634272c2302dc921fc22a635f5 | 5,587 | sql | SQL | src/subjectAreas/Party/PartyRole/database.sql | jpradocueva/cloudinformationmodel | 30feffc7a159fb9ba2e8554241b6fce491176ae1 | [
"Apache-2.0"
] | 84 | 2019-11-14T16:43:33.000Z | 2022-03-17T18:10:18.000Z | src/subjectAreas/Party/PartyRole/database.sql | jpradocueva/cloudinformationmodel | 30feffc7a159fb9ba2e8554241b6fce491176ae1 | [
"Apache-2.0"
] | 12 | 2019-11-18T14:43:07.000Z | 2022-03-17T21:48:10.000Z | src/subjectAreas/Party/PartyRole/database.sql | jpradocueva/cloudinformationmodel | 30feffc7a159fb9ba2e8554241b6fce491176ae1 | [
"Apache-2.0"
] | 30 | 2019-12-10T10:23:40.000Z | 2022-03-20T03:35:12.000Z | CREATE SCHEMA IF NOT EXISTS PARTY_ROLE_ENTITY_GROUP;
CREATE TABLE PARTY_ROLE_ENTITY_GROUP.SUPPLIER (
SATISFACTION_ETHICS_RANK INTEGER,
CONTRACT_INVOICE_ACCURACY_RATE INTEGER,
SATISFACTION_WEIGHT_PERCENT INTEGER,
CONTRACT_ON_TIME_DELIVERY_RATE INTEGER,
ID VARCHAR(36) UNIQUE NOT NULL,
ACTIVE_FROM_DATE DATE N... | 34.487654 | 105 | 0.827278 |
4338b13c4bef6a749d72f01ef561d17492f65a6f | 14,551 | swift | Swift | DankPod/Screens/PlaybackViewController.swift | Pullerz/DankPod | 0d2ed18b15179095e88098db9f999769cf1ecad9 | [
"MIT"
] | 30 | 2020-06-06T05:08:25.000Z | 2021-10-05T02:25:30.000Z | DankPod/Screens/PlaybackViewController.swift | Pullerz/DankPod | 0d2ed18b15179095e88098db9f999769cf1ecad9 | [
"MIT"
] | 1 | 2020-06-18T14:19:10.000Z | 2020-06-20T08:21:22.000Z | DankPod/Screens/PlaybackViewController.swift | Pullerz/DankPod | 0d2ed18b15179095e88098db9f999769cf1ecad9 | [
"MIT"
] | 5 | 2020-06-18T14:17:17.000Z | 2021-12-18T09:27:52.000Z | //
// PlaybackViewController.swift
// DankPod
//
// Created by Alistair Pullen on 22/05/2020.
// Copyright © 2020 Apullen Developments Ltd. All rights reserved.
//
import UIKit
import MediaPlayer
import AVFoundation
class PlaybackViewController: UIViewController, ClickWheelProtocol {
var songs: [MPMediaI... | 46.787781 | 182 | 0.658718 |
af9bb9981deeef070bd3fef44821a9b5a58b549b | 773 | rb | Ruby | lib/as_range/explicit.rb | aliou/as_range | 9734e98f9dab5ca1166a78b5d35137a049def0c3 | [
"MIT"
] | null | null | null | lib/as_range/explicit.rb | aliou/as_range | 9734e98f9dab5ca1166a78b5d35137a049def0c3 | [
"MIT"
] | 2 | 2020-05-25T06:36:34.000Z | 2020-06-07T12:46:55.000Z | lib/as_range/explicit.rb | aliou/as_range | 9734e98f9dab5ca1166a78b5d35137a049def0c3 | [
"MIT"
] | null | null | null | module AsRange
def self.explicit
self::Explicit
end
module Explicit
DEFAULT_OPTIONS = {
start: :start_date,
end: :end_date,
method_name: :as_range,
include_end: true
}.freeze
def as_range(options = {})
options = DEFAULT_OPTIONS.merge(options)
start_attribute =... | 24.935484 | 80 | 0.668823 |
2f2134b7bee05284459c7accdc9debe2e3633ad8 | 403 | php | PHP | app/Order.php | harutyunyan611/pizza-di-roma-backend | 43f55bcea694ec6ff5ffd6347fc355dffedf5215 | [
"MIT"
] | null | null | null | app/Order.php | harutyunyan611/pizza-di-roma-backend | 43f55bcea694ec6ff5ffd6347fc355dffedf5215 | [
"MIT"
] | null | null | null | app/Order.php | harutyunyan611/pizza-di-roma-backend | 43f55bcea694ec6ff5ffd6347fc355dffedf5215 | [
"MIT"
] | null | null | null | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Order extends Model
{
public $table = 'orders';
protected $casts = [
'created_at' => 'datetime:Y-m-d H:i:s',
'updated_at' => 'datetime:Y-m-d H:i:s',
];
public function pizzas() {
return $this->belongsToMany('... | 20.15 | 111 | 0.60794 |
16093a4190a8a83048542a68b89cb451c78e2101 | 84 | ts | TypeScript | packages/strapi/src/index.ts | Sproff/refine | d15f13362c0ae1085f4fade069a37826f4cf72e0 | [
"MIT"
] | 1,663 | 2021-09-17T14:27:48.000Z | 2022-03-31T23:52:54.000Z | packages/strapi/src/index.ts | ioofy/refine | 179f60d6a6bc69505577b474d9272a465de29d44 | [
"MIT"
] | 476 | 2021-09-17T13:03:33.000Z | 2022-03-31T13:59:46.000Z | packages/strapi/src/index.ts | ioofy/refine | 179f60d6a6bc69505577b474d9272a465de29d44 | [
"MIT"
] | 127 | 2021-09-23T07:32:31.000Z | 2022-03-31T12:45:42.000Z | export * from "./dataProvider";
export * from "./helpers";
export * from "./hooks";
| 21 | 31 | 0.642857 |
967381ff53123670e5a07f2060bd08adedebdb86 | 7,387 | php | PHP | public/statamic/core/View/Modify.php | obventio56/UPCloseRV | 4ad2c041807e735ba5be78af986cc8282c8d0731 | [
"MIT"
] | 1 | 2018-09-01T21:27:14.000Z | 2018-09-01T21:27:14.000Z | public/statamic/core/View/Modify.php | obventio56/UPCloseRV | 4ad2c041807e735ba5be78af986cc8282c8d0731 | [
"MIT"
] | null | null | null | public/statamic/core/View/Modify.php | obventio56/UPCloseRV | 4ad2c041807e735ba5be78af986cc8282c8d0731 | [
"MIT"
] | null | null | null | <?php
namespace Statamic\View;
use Exception;
use ArrayIterator;
use Statamic\API\Str;
use Statamic\API\Helper;
use Statamic\Exceptions\ModifierException;
use Statamic\Extend\Management\ModifierLoader;
class Modify implements \IteratorAggregate
{
/**
* @var mixed
*/
protected $value;
/**
... | 25.040678 | 111 | 0.527955 |
c447a6e70e0eff1f16dcbec59bf8228a16180373 | 4,281 | c | C | week08/semdemo.c | chopchap/apue | 4cbc505a7bf5c1697e5354545211e5dcff577fe5 | [
"MIT"
] | null | null | null | week08/semdemo.c | chopchap/apue | 4cbc505a7bf5c1697e5354545211e5dcff577fe5 | [
"MIT"
] | null | null | null | week08/semdemo.c | chopchap/apue | 4cbc505a7bf5c1697e5354545211e5dcff577fe5 | [
"MIT"
] | null | null | null | /* A simple program to illustrate the use of
* semaphores. Derived from:
* https://www.beej.us/guide/bgipc/html/multi/semaphores.html
*
* Run in parallel in multiple processes to illustrate
* the blocking as another process holds a lock.
*
* Use ipcs(1) to show that semaphores remain in the
* kernel until expl... | 23.016129 | 65 | 0.625321 |
02125264f4e6307aa4be634b749064bcd6a8b8c6 | 257 | kt | Kotlin | applications/bank-account-rest-service/src/main/kotlin/com/vmware/financial/open/banking/account/repository/AccountRepository.kt | Tanzu-Solutions-Engineering/financial-open-banking-showcase | 4ace012ffb090c86302f740a596d44e1ee702897 | [
"Unlicense"
] | 1 | 2021-11-02T22:33:09.000Z | 2021-11-02T22:33:09.000Z | applications/bank-account-rest-service/src/main/kotlin/com/vmware/financial/open/banking/account/repository/AccountRepository.kt | Tanzu-Solutions-Engineering/financial-open-banking-showcase | 4ace012ffb090c86302f740a596d44e1ee702897 | [
"Unlicense"
] | null | null | null | applications/bank-account-rest-service/src/main/kotlin/com/vmware/financial/open/banking/account/repository/AccountRepository.kt | Tanzu-Solutions-Engineering/financial-open-banking-showcase | 4ace012ffb090c86302f740a596d44e1ee702897 | [
"Unlicense"
] | 1 | 2021-11-17T22:25:42.000Z | 2021-11-17T22:25:42.000Z | package com.vmware.financial.open.banking.account.repository
import com.vmware.financial.open.banking.account.domain.BankAccount
import org.springframework.data.repository.CrudRepository
interface AccountRepository : CrudRepository<BankAccount,String> {
} | 36.714286 | 67 | 0.859922 |
d08eef4ab54754e5c028a0790392fae007834ac4 | 1,717 | css | CSS | css/books/hirelingTab.css | Nogarx/Forbidden-Alpha | 18829be63fdf90739b2531772ba435e226e9d169 | [
"MIT"
] | null | null | null | css/books/hirelingTab.css | Nogarx/Forbidden-Alpha | 18829be63fdf90739b2531772ba435e226e9d169 | [
"MIT"
] | null | null | null | css/books/hirelingTab.css | Nogarx/Forbidden-Alpha | 18829be63fdf90739b2531772ba435e226e9d169 | [
"MIT"
] | null | null | null | /* ------------------------------------------------------------------------------- */
/* ------------------------------ CUSTOM ITEMLIST -------------------------------- */
/* ------------------------------------------------------------------------------- */
.forbiddenAlpha.sheet .book .hirelingTab .pageContent .itemLi... | 25.25 | 85 | 0.508445 |
af8de2043512cc4619fe74d1c39dbc2f5ebdeb30 | 245 | kt | Kotlin | src/main/java/Exercise1.kt | cortinico/adventofcode-2020 | a0d980a6253ec210433e2688cfc6df35104aa9df | [
"MIT"
] | 4 | 2020-12-13T18:59:10.000Z | 2021-12-10T00:28:14.000Z | src/main/java/Exercise1.kt | cortinico/adventofcode-2020 | a0d980a6253ec210433e2688cfc6df35104aa9df | [
"MIT"
] | null | null | null | src/main/java/Exercise1.kt | cortinico/adventofcode-2020 | a0d980a6253ec210433e2688cfc6df35104aa9df | [
"MIT"
] | null | null | null | fun main() {
val input = object {}.javaClass.getResource("input-1.txt").readText().split("\n")
val numberSet = input.toSet().map { it.toInt() }
numberSet.first { (2020 - it) in numberSet }.let { it * (2020 - it) }.also(::println)
}
| 35 | 89 | 0.608163 |
a3cb739d1c059721dc457c533739fc963e3b6948 | 1,696 | kt | Kotlin | android/OnFrugal/app/src/main/java/io/makeorbreak/hackohollics/onfrugal/presentation/UserActivity.kt | makeorbreak-io/on-frugal | 0ae91cc48b415187c98e8bfcf334e6ce54e6f7ac | [
"MIT"
] | null | null | null | android/OnFrugal/app/src/main/java/io/makeorbreak/hackohollics/onfrugal/presentation/UserActivity.kt | makeorbreak-io/on-frugal | 0ae91cc48b415187c98e8bfcf334e6ce54e6f7ac | [
"MIT"
] | 3 | 2018-04-14T22:28:05.000Z | 2018-04-14T23:09:10.000Z | android/OnFrugal/app/src/main/java/io/makeorbreak/hackohollics/onfrugal/presentation/UserActivity.kt | makeorbreak-io/on-frugal | 0ae91cc48b415187c98e8bfcf334e6ce54e6f7ac | [
"MIT"
] | null | null | null | package io.makeorbreak.hackohollics.onfrugal.presentation
import android.Manifest
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.support.v4.app.ActivityCompat
import android.support.v4... | 30.836364 | 70 | 0.71816 |
ef4f26f3b66644e5f90a96c99a0548537b1f713c | 785 | sql | SQL | metrics/kubernetes/approvers.sql | mayadata-io/devstats | 705be1308d342ff8ac65533f8ee9e89b2142291e | [
"Apache-2.0"
] | null | null | null | metrics/kubernetes/approvers.sql | mayadata-io/devstats | 705be1308d342ff8ac65533f8ee9e89b2142291e | [
"Apache-2.0"
] | null | null | null | metrics/kubernetes/approvers.sql | mayadata-io/devstats | 705be1308d342ff8ac65533f8ee9e89b2142291e | [
"Apache-2.0"
] | 2 | 2018-01-27T01:17:43.000Z | 2018-07-25T07:43:03.000Z | create temp table matching as
select event_id
from
gha_texts
where
created_at >= '{{from}}'
and created_at < '{{to}}'
and substring(body from '(?i)(?:^|\n|\r)\s*/approve\s*(?:\n|\r|$)') is not null;
select
sub.repo_group,
count(distinct sub.actor) as result
from (
select 'approvers,' || coalesce(ecf.repo... | 18.690476 | 82 | 0.658599 |
0efcc3257f855e8f80a83831f4bca7628548a1f3 | 1,208 | swift | Swift | Sources/DSValidator/ValueValidators/ValueValidator+Number.swift | dmitrysimkin/DSValidator | 73476c1bec4d233c24ccebfbf02f42602bc2fb64 | [
"MIT"
] | null | null | null | Sources/DSValidator/ValueValidators/ValueValidator+Number.swift | dmitrysimkin/DSValidator | 73476c1bec4d233c24ccebfbf02f42602bc2fb64 | [
"MIT"
] | null | null | null | Sources/DSValidator/ValueValidators/ValueValidator+Number.swift | dmitrysimkin/DSValidator | 73476c1bec4d233c24ccebfbf02f42602bc2fb64 | [
"MIT"
] | null | null | null | //
// DSValueValidator+Number.swift
// DSValidator
//
// Created by Dzmitry Simkin on 5/2/20.
// Copyright © 2020 Dzmitry Simkin. All rights reserved.
//
import Foundation
public protocol NumberValueValidator {
@discardableResult func greaterThan(_ limit: DSNumber) -> ValueValidator
@discardableResult fu... | 43.142857 | 98 | 0.780629 |
1c6f350906a1c170a9cc566806f30a4cf753b5c5 | 362 | kt | Kotlin | src/main/kotlin/com/scaledifferent/kdock/response/v124/mapper/ResponseToModelMapper.kt | ScaleDifferentWithKotlin/kdocker-api | d9ae5696c20a9cf77d7f5fe1a879c6848df0aba5 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/scaledifferent/kdock/response/v124/mapper/ResponseToModelMapper.kt | ScaleDifferentWithKotlin/kdocker-api | d9ae5696c20a9cf77d7f5fe1a879c6848df0aba5 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/scaledifferent/kdock/response/v124/mapper/ResponseToModelMapper.kt | ScaleDifferentWithKotlin/kdocker-api | d9ae5696c20a9cf77d7f5fe1a879c6848df0aba5 | [
"Apache-2.0"
] | 1 | 2019-12-26T15:08:07.000Z | 2019-12-26T15:08:07.000Z | /*
* Copyright (c) 2019 Scale different UG (Haftungsbeschränkt) and contributors. Use of this
* source code is governed by the Apache 2.0 license.
*
*/
package com.scaledifferent.kdock.response.v124.mapper
import com.google.gson.JsonElement
interface ResponseToModelMapper {
fun <T: ResponseToModelMapper> ... | 24.133333 | 92 | 0.765193 |
5052f063d78503bc5fd9a3d4e0efc8ca53fba055 | 524 | swift | Swift | UniversalBypass/AppDelegate.swift | hladik-dan/UniversalBypass | 2693abc1ab23f8251a11c4c87f33ef311c16666b | [
"MIT"
] | 2 | 2020-01-10T08:58:02.000Z | 2021-11-20T18:35:26.000Z | UniversalBypass/AppDelegate.swift | hladik-dan/UniversalBypass | 2693abc1ab23f8251a11c4c87f33ef311c16666b | [
"MIT"
] | null | null | null | UniversalBypass/AppDelegate.swift | hladik-dan/UniversalBypass | 2693abc1ab23f8251a11c4c87f33ef311c16666b | [
"MIT"
] | null | null | null | //
// AppDelegate.swift
// UniversalBypass
//
// Created by Daniel Hladík on 06/11/2019.
// Copyright © 2019 Daniel Hladík. All rights reserved.
//
import Cocoa
@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {
func applicationDidFinishLaunching(_ aNotification: Notification) {
... | 22.782609 | 71 | 0.706107 |
9bc9e8b9058ac840193815d714855c5ec395ba00 | 867 | js | JavaScript | config.js | Sanwuthree/qiniugui | 706d134781eeed8c332a514912a737def6c1f650 | [
"MIT"
] | null | null | null | config.js | Sanwuthree/qiniugui | 706d134781eeed8c332a514912a737def6c1f650 | [
"MIT"
] | null | null | null | config.js | Sanwuthree/qiniugui | 706d134781eeed8c332a514912a737def6c1f650 | [
"MIT"
] | null | null | null | const fs=require("fs"),process=require("process")
const path=require("path")
console.log("hello world")
class GConfig{
constructor(){
console.log("gconfig init")
this.cwd=process.cwd();
this.config_path=path.join(this.cwd,"config.cfg");
if(fs.existsSync(this.config_path)){
... | 27.967742 | 104 | 0.590542 |
aba66ebcbb7d6beed4919954a79c4fe3d9c611aa | 273 | rb | Ruby | spec/factories/notebooks.rb | diegotoral/ANN | 00755deea6bf643bb189558fbf621eaf423848b1 | [
"MIT"
] | null | null | null | spec/factories/notebooks.rb | diegotoral/ANN | 00755deea6bf643bb189558fbf621eaf423848b1 | [
"MIT"
] | 11 | 2020-02-29T02:28:51.000Z | 2022-02-26T11:37:15.000Z | spec/factories/notebooks.rb | diegotoral/ANN | 00755deea6bf643bb189558fbf621eaf423848b1 | [
"MIT"
] | null | null | null | FactoryBot.define do
factory :notebook do
user
name { 'Recipes' }
trait :with_notes do
after :create do |notebook|
create_list(:note, 2, notebook: notebook)
end
end
factory :notebook_with_notes, traits: %i[with_notes]
end
end
| 17.0625 | 56 | 0.641026 |
81c2c2e93c403a5427c4f41a9deca39f5e873c39 | 158,630 | html | HTML | doc/html/apiDocs/classXMLErrs.html | ksmyth/xerces-c | 245d0f626041add542ab7deabd6ba9c3e4641f6d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | doc/html/apiDocs/classXMLErrs.html | ksmyth/xerces-c | 245d0f626041add542ab7deabd6ba9c3e4641f6d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | doc/html/apiDocs/classXMLErrs.html | ksmyth/xerces-c | 245d0f626041add542ab7deabd6ba9c3e4641f6d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | <HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>Xerces-C++: XMLErrs Class Reference</TITLE><link href="XercesApi.css" rel="stylesheet" type="text/css"></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="... | 128.96748 | 2,706 | 0.778232 |
714988e5e237ac55b3d1977ee19ae045b77c55f9 | 1,347 | ts | TypeScript | src/gxzjt-angular/src/app/index/index.module.ts | ou1260207429/10-10-2 | 48995704f61e079e1e727ebc7ab832eb6c0d3eb7 | [
"MIT"
] | null | null | null | src/gxzjt-angular/src/app/index/index.module.ts | ou1260207429/10-10-2 | 48995704f61e079e1e727ebc7ab832eb6c0d3eb7 | [
"MIT"
] | null | null | null | src/gxzjt-angular/src/app/index/index.module.ts | ou1260207429/10-10-2 | 48995704f61e079e1e727ebc7ab832eb6c0d3eb7 | [
"MIT"
] | null | null | null | import { NgModule } from '@angular/core';
import { SharedModule } from '@shared/shared.module';
import { IndexRoutingModule } from './index-routing.module';
import { IndexComponent } from './index/index.component';
import { HandlingGuidListComponent } from './handling-guid-list/handling-guid-list.component';
import { A... | 37.416667 | 114 | 0.775056 |