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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
58956a62894f74fed10913e3d0d31a2035ab8fd8 | 1,146 | css | CSS | Tanahashi/calculator/main.css | tes-inc/internship-20190204 | f57cad12c7ddbd06005fb541eaa41b2cf6aa3cc9 | [
"MIT"
] | null | null | null | Tanahashi/calculator/main.css | tes-inc/internship-20190204 | f57cad12c7ddbd06005fb541eaa41b2cf6aa3cc9 | [
"MIT"
] | 6 | 2019-02-13T05:57:45.000Z | 2019-03-15T06:24:37.000Z | Tanahashi/calculator/main.css | tes-inc/internship-20190204 | f57cad12c7ddbd06005fb541eaa41b2cf6aa3cc9 | [
"MIT"
] | null | null | null | .container {
display: flex;
justify-content: center;
align-items: center;
}
button {
width: 80px;
height: 80px;
font-size: 2rem;
text-align: center;
border-collapse: collapse;
display: inline-block;
padding: 0.5em 1em;
text-decoration: none;
border-radius: 3px;
}
*:focus {
outlin... | 15.69863 | 44 | 0.652705 |
d6857aa26394f68f4969a8c975c7a893766bda61 | 79 | sql | SQL | prisma/migrations/20210503124908_/migration.sql | PedroPovedaQ/fleet-suite-server | 6bb6a948aa042fb764e8672329fbf79a1d6d483a | [
"MIT"
] | null | null | null | prisma/migrations/20210503124908_/migration.sql | PedroPovedaQ/fleet-suite-server | 6bb6a948aa042fb764e8672329fbf79a1d6d483a | [
"MIT"
] | null | null | null | prisma/migrations/20210503124908_/migration.sql | PedroPovedaQ/fleet-suite-server | 6bb6a948aa042fb764e8672329fbf79a1d6d483a | [
"MIT"
] | null | null | null | -- AlterTable
ALTER TABLE "Truck" ALTER COLUMN "status" SET DEFAULT E'active';
| 26.333333 | 64 | 0.746835 |
e7059c3b3e8fcc5be6cd679a5287605021b5fc1b | 232 | dart | Dart | tool/templates/code/other_code.dart | upperxcode/shelf_plus | d570fded28cbef3803ac1f3097973f2e41add08a | [
"MIT"
] | null | null | null | tool/templates/code/other_code.dart | upperxcode/shelf_plus | d570fded28cbef3803ac1f3097973f2e41add08a | [
"MIT"
] | null | null | null | tool/templates/code/other_code.dart | upperxcode/shelf_plus | d570fded28cbef3803ac1f3097973f2e41add08a | [
"MIT"
] | null | null | null | class Person {
final String name;
final int age;
Person({required this.name, required this.age});
// created with tools like @jsonSerializable
Map<String, dynamic> toJson() {
return {'name': name, 'age': age};
}
}
| 19.333333 | 50 | 0.655172 |
071043d821b4412ff9fdfd932577d8e2d751af72 | 10,932 | cpp | C++ | interfaces/innerkits/native_cpp/framework/test/unittest/gatt/gatt_client_test.cpp | openharmony-gitee-mirror/communication_bluetooth | 444309918cd00a65a10b8d798a0f5a78f8cf13be | [
"Apache-2.0"
] | null | null | null | interfaces/innerkits/native_cpp/framework/test/unittest/gatt/gatt_client_test.cpp | openharmony-gitee-mirror/communication_bluetooth | 444309918cd00a65a10b8d798a0f5a78f8cf13be | [
"Apache-2.0"
] | null | null | null | interfaces/innerkits/native_cpp/framework/test/unittest/gatt/gatt_client_test.cpp | openharmony-gitee-mirror/communication_bluetooth | 444309918cd00a65a10b8d798a0f5a78f8cf13be | [
"Apache-2.0"
] | 1 | 2021-09-13T11:16:33.000Z | 2021-09-13T11:16:33.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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 ... | 35.151125 | 91 | 0.751372 |
799f0f2a1670d15729de6a4701c8b93dfce5c270 | 928 | php | PHP | application/views/toko/cemilan.php | nurarifin256/pariwisata_situ_singabangsa | cac40c8d76eb12c5fa291cdfb82438897353d183 | [
"MIT"
] | null | null | null | application/views/toko/cemilan.php | nurarifin256/pariwisata_situ_singabangsa | cac40c8d76eb12c5fa291cdfb82438897353d183 | [
"MIT"
] | null | null | null | application/views/toko/cemilan.php | nurarifin256/pariwisata_situ_singabangsa | cac40c8d76eb12c5fa291cdfb82438897353d183 | [
"MIT"
] | null | null | null | <br>
<div class="container mt-5">
<h3 class="text-center mb-3">Laporan Cemilan</h3>
<form action="<?= base_url() ?>Toko2/laporanCemilan" method="get">
<div class="row justify-content-center">
<div class="col-sm-4">
<div class="form-group">
<label for="tan... | 32 | 106 | 0.47306 |
a34a1610614cf3f211f6364369c273696e59a83e | 3,647 | java | Java | antioch-java-client/src/main/java/nl/knaw/huygens/antioch/client/model/SubResourceList.java | HuygensING/antioch | dfa6af02ed964075054ba2b949310296c98b9f75 | [
"Apache-2.0"
] | null | null | null | antioch-java-client/src/main/java/nl/knaw/huygens/antioch/client/model/SubResourceList.java | HuygensING/antioch | dfa6af02ed964075054ba2b949310296c98b9f75 | [
"Apache-2.0"
] | null | null | null | antioch-java-client/src/main/java/nl/knaw/huygens/antioch/client/model/SubResourceList.java | HuygensING/antioch | dfa6af02ed964075054ba2b949310296c98b9f75 | [
"Apache-2.0"
] | null | null | null | package nl.knaw.huygens.antioch.client.model;
/*
* #%L
* antioch-java-client
* =======
* Copyright (C) 2015 - 2017 Huygens ING (KNAW)
* =======
* 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 Lic... | 21.96988 | 89 | 0.703318 |
eb696d64c655e84e24f3a1bc90c517da07d73057 | 3,433 | css | CSS | doc/doc.css | christopheparisse/trjs | ffd9a14bf2ee0f5769ccca18d84ab3617c68d72e | [
"CC0-1.0"
] | 1 | 2021-11-25T10:39:50.000Z | 2021-11-25T10:39:50.000Z | doc/doc.css | christopheparisse/trjs | ffd9a14bf2ee0f5769ccca18d84ab3617c68d72e | [
"CC0-1.0"
] | 20 | 2018-10-04T15:02:42.000Z | 2022-03-25T19:27:00.000Z | doc/doc.css | christopheparisse/trjs | ffd9a14bf2ee0f5769ccca18d84ab3617c68d72e | [
"CC0-1.0"
] | 1 | 2018-11-23T15:06:53.000Z | 2018-11-23T15:06:53.000Z | body {
font:13px Helvetica, sans-serif;
counter-reset: h1counter;
}
h1:before {
content: counter(h1counter) ".\0000a0\0000a0";
counter-increment: h1counter;
}
h1 {
counter-reset: h2counter;
}
h2:before {
content: counter(h1counter) "." counter(h2counter) ".\0000a0\0000a0";
counter-increment: h2counter;
}
h2 {
c... | 17.338384 | 94 | 0.664142 |
c67b1887e025ab82c4c68cf6bb98cdde205968d7 | 3,217 | py | Python | fabfile/common/lib/template.py | hnakamur/my-fabfiles | 3b5ac68ebaa185f06a5dffc27533b2906b599c27 | [
"MIT"
] | 1 | 2015-06-12T02:05:02.000Z | 2015-06-12T02:05:02.000Z | fabfile/common/lib/template.py | hnakamur/my-fabfiles | 3b5ac68ebaa185f06a5dffc27533b2906b599c27 | [
"MIT"
] | null | null | null | fabfile/common/lib/template.py | hnakamur/my-fabfiles | 3b5ac68ebaa185f06a5dffc27533b2906b599c27 | [
"MIT"
] | null | null | null | from datetime import datetime
import hashlib
import os
from StringIO import StringIO
from fabric.api import env, hide, put, settings
from fabric.contrib import files
from fabric.utils import apply_lcwd
from fabfile.common.lib.operations import run_or_sudo
from fabfile.common.lib import file
FABRIC_MANAGED_DEFAULT_FOR... | 37.847059 | 194 | 0.707181 |
c972d7f16a50fed78142f84281b2e5e4e4b11ae6 | 2,611 | ts | TypeScript | packages/collection-agent/src/messages/xApiEncoder.test.ts | learningtapestry/ssdn | a358d46276cd64d15fe2ed16a3c3cf045a53101d | [
"Apache-2.0"
] | null | null | null | packages/collection-agent/src/messages/xApiEncoder.test.ts | learningtapestry/ssdn | a358d46276cd64d15fe2ed16a3c3cf045a53101d | [
"Apache-2.0"
] | 1 | 2022-03-24T07:45:09.000Z | 2022-03-24T07:45:09.000Z | packages/collection-agent/src/messages/xApiEncoder.test.ts | learningtapestry/ssdn | a358d46276cd64d15fe2ed16a3c3cf045a53101d | [
"Apache-2.0"
] | null | null | null | import { HeartbeatMessage } from "./heartbeatMessage";
import { VideoMessage } from "./videoMessage";
import { XApiEncoder } from "./xApiEncoder";
describe("XApiEncoder", () => {
describe("encode", () => {
it("encodes a hearbeat message", () => {
const message = new HeartbeatMessage(
{
ex... | 30.011494 | 101 | 0.518958 |
5afcc53d94ddafd99444f27b10eed3741d0d7941 | 262 | cs | C# | MundoBalloonApi.infrastructure/Data/Models/VerificationRequest.cs | interactivelabsmx/mundoballoonapi | c461ae1c49f32080430bf8b7304a743e2e76bd8e | [
"MIT"
] | null | null | null | MundoBalloonApi.infrastructure/Data/Models/VerificationRequest.cs | interactivelabsmx/mundoballoonapi | c461ae1c49f32080430bf8b7304a743e2e76bd8e | [
"MIT"
] | null | null | null | MundoBalloonApi.infrastructure/Data/Models/VerificationRequest.cs | interactivelabsmx/mundoballoonapi | c461ae1c49f32080430bf8b7304a743e2e76bd8e | [
"MIT"
] | null | null | null | namespace MundoBalloonApi.infrastructure.Data.Models;
public class VerificationRequest : BaseEntity
{
public int Id { get; set; }
public string? Identifier { get; set; }
public string? Token { get; set; }
public DateTime Expires { get; set; }
} | 29.111111 | 54 | 0.698473 |
200dad3241641847194bc595f851a82f6aed6048 | 709 | py | Python | pgapp/inversiones/doctype/sil_obra/sil_obra.py | edwinorlando83/pgapp | fcc5c6d879d904e825bf0a2cf5390ba7eafb3a7b | [
"MIT"
] | null | null | null | pgapp/inversiones/doctype/sil_obra/sil_obra.py | edwinorlando83/pgapp | fcc5c6d879d904e825bf0a2cf5390ba7eafb3a7b | [
"MIT"
] | null | null | null | pgapp/inversiones/doctype/sil_obra/sil_obra.py | edwinorlando83/pgapp | fcc5c6d879d904e825bf0a2cf5390ba7eafb3a7b | [
"MIT"
] | null | null | null | # Copyright (c) 2021, orlando and contributors
# For license information, please see license.txt
import frappe
from frappe.model.document import Document
class sil_obra(Document):
@frappe.whitelist()
def getCantones(self):
return get_cantones()
@frappe.whitelist()
def getParroquias(self, canton):
return g... | 27.269231 | 147 | 0.7433 |
84fff96cf36cf3aac317b6166212908818a2c9c2 | 3,331 | kt | Kotlin | GudiCafeteria_a/app/src/main/java/com/duzi/gudicafeteria_a/repository/AppRepository.kt | pennya/GudiCafeteria | e44d2a01574cd0e2d086d6bad936137056374b75 | [
"MIT"
] | null | null | null | GudiCafeteria_a/app/src/main/java/com/duzi/gudicafeteria_a/repository/AppRepository.kt | pennya/GudiCafeteria | e44d2a01574cd0e2d086d6bad936137056374b75 | [
"MIT"
] | null | null | null | GudiCafeteria_a/app/src/main/java/com/duzi/gudicafeteria_a/repository/AppRepository.kt | pennya/GudiCafeteria | e44d2a01574cd0e2d086d6bad936137056374b75 | [
"MIT"
] | 2 | 2018-10-14T02:14:22.000Z | 2018-12-16T04:32:58.000Z | package com.duzi.gudicafeteria_a.repository
import com.duzi.gudicafeteria_a.data.*
import io.reactivex.Observable
import io.reactivex.Single
import retrofit2.Call
import java.util.*
class AppRepository(
private val localDataSource: LocalAppDataSource,
private val remoteDataSource: RemoteAppDataSource)... | 32.980198 | 121 | 0.667667 |
ebafa298e540c569eedada8b724d2e8ae1512aaf | 27,105 | css | CSS | frontend/css/swarm.css | awenandy/crane_note | 0beeab483b40f71a0f38b0b21a3d6194fb410eff | [
"Apache-2.0"
] | 1 | 2018-01-01T16:28:16.000Z | 2018-01-01T16:28:16.000Z | frontend/css/swarm.css | swe-zzf/docker-crane | f83cd3069d3a44e9efe4d4b27c3a9cdcba440fa5 | [
"Apache-2.0"
] | null | null | null | frontend/css/swarm.css | swe-zzf/docker-crane | f83cd3069d3a44e9efe4d4b27c3a9cdcba440fa5 | [
"Apache-2.0"
] | null | null | null | /* 重置 */
body {
font-family: 'Helvetica Neue', 'Helvetica', 'PingHei', 'PingFang SC', 'STHeitiSC-Light', 'Arial', sans-serif;
font-size: 14px;
font-weight: normal;
height: 100%;
color: #354052;
background-color: #252D31;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antia... | 20.898227 | 1,264 | 0.638148 |
38667fba33633dcaddfb8e589f6d20e011c91645 | 9,532 | php | PHP | src/ThreadAndMirror/ProductsBundle/Parser/MatchesParser.php | ScragLabs/ThreadAndMirror | 85a8733d1a3cc81a3c88e3a04bab3f67e65afd6a | [
"MIT"
] | 2 | 2016-03-15T11:18:33.000Z | 2019-01-20T21:30:48.000Z | src/ThreadAndMirror/ProductsBundle/Parser/MatchesParser.php | ScragLabs/ThreadAndMirror | 85a8733d1a3cc81a3c88e3a04bab3f67e65afd6a | [
"MIT"
] | null | null | null | src/ThreadAndMirror/ProductsBundle/Parser/MatchesParser.php | ScragLabs/ThreadAndMirror | 85a8733d1a3cc81a3c88e3a04bab3f67e65afd6a | [
"MIT"
] | null | null | null | <?php
namespace ThreadAndMirror\ProductsBundle\Parser;
use ThreadAndMirror\ProductsBundle\Parser\BaseParser,
Symfony\Component\DomCrawler\Crawler;
class MatchesParser extends BaseParser
{
protected $shop = 3;
protected $selector = 'div.products > div.product';
protected $urlSale = 'http://www.matc... | 26.186813 | 169 | 0.597776 |
a37e7d518841de44bcfef115bb4231a6128b6e7d | 4,582 | java | Java | platforms/android/app-components/alexa-auto-navigation/src/test/java/com/amazon/alexa/auto/navigation/receiver/LocalSearchTemplateRuntimeReceiverTest.java | krishnaprasad/alexa-auto-sdk | 2fb8d28a9c4138111f9b19c2527478562acc4643 | [
"Apache-2.0"
] | null | null | null | platforms/android/app-components/alexa-auto-navigation/src/test/java/com/amazon/alexa/auto/navigation/receiver/LocalSearchTemplateRuntimeReceiverTest.java | krishnaprasad/alexa-auto-sdk | 2fb8d28a9c4138111f9b19c2527478562acc4643 | [
"Apache-2.0"
] | null | null | null | platforms/android/app-components/alexa-auto-navigation/src/test/java/com/amazon/alexa/auto/navigation/receiver/LocalSearchTemplateRuntimeReceiverTest.java | krishnaprasad/alexa-auto-sdk | 2fb8d28a9c4138111f9b19c2527478562acc4643 | [
"Apache-2.0"
] | null | null | null | package com.amazon.alexa.auto.navigation.receiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import com.amazon.aacsconstants.Action;
import com.amazon.aacsconstants.Topic;
import com.amazon.alexa.auto.aacs.common.AACSMessage;
import com.amazon.alexa.auto.navigation.handl... | 47.237113 | 117 | 0.753601 |
7699e0c30c731708bb059fe633eb23f3bf78638a | 7,139 | dart | Dart | lib/src/rest_clients/rest_client.dart | pcrady/coinbase_exchange | b09835abdb7423fe097b77789834280d5f32b532 | [
"MIT"
] | 1 | 2021-11-06T16:00:17.000Z | 2021-11-06T16:00:17.000Z | lib/src/rest_clients/rest_client.dart | pcrady/coinbase_exchange | b09835abdb7423fe097b77789834280d5f32b532 | [
"MIT"
] | 4 | 2021-11-05T02:48:15.000Z | 2022-01-14T13:25:06.000Z | lib/src/rest_clients/rest_client.dart | pcrady/coinbase_exchange | b09835abdb7423fe097b77789834280d5f32b532 | [
"MIT"
] | null | null | null | import 'dart:convert';
import 'package:crypto/crypto.dart';
import 'package:http/http.dart' as http;
/// An abstract class for clients which return http.Response objects
abstract class RestClient {
static const String defaultProductId = 'BTC-USD';
static const String defaultCurrencyId = 'BTC';
static const Strin... | 27.35249 | 79 | 0.621796 |
7d92af93e7490bd2a4f4827194753262a1d8d104 | 2,535 | css | CSS | css/style.css | getcreate/Form-validation | e6cee8d507e398e9e8305761070b5f3431ee370a | [
"MIT"
] | null | null | null | css/style.css | getcreate/Form-validation | e6cee8d507e398e9e8305761070b5f3431ee370a | [
"MIT"
] | null | null | null | css/style.css | getcreate/Form-validation | e6cee8d507e398e9e8305761070b5f3431ee370a | [
"MIT"
] | null | null | null | * {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #fff;
color: #3B3D43;
font-family: 'Roboto', sans-serif;
}
.form-wrapper {
height: 100vh;
width: 100%;
}
.form-box {
background: #F7F5F9;
border-radius: 12px;
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.25);
box-sizing... | 18.50365 | 61 | 0.651677 |
f75129bfb9303b276710dce702a473237203460d | 3,855 | dart | Dart | lib/src/log_record_formatter.dart | ltackmann/log4dart | 05d576095bf6d156bf9c6d7f23d0dae4369e426d | [
"Apache-2.0"
] | 7 | 2015-02-17T16:05:32.000Z | 2021-08-15T14:12:45.000Z | lib/src/log_record_formatter.dart | ltackmann/log4dart | 05d576095bf6d156bf9c6d7f23d0dae4369e426d | [
"Apache-2.0"
] | 1 | 2015-08-05T09:21:35.000Z | 2015-08-05T09:21:35.000Z | lib/src/log_record_formatter.dart | ltackmann/log4dart | 05d576095bf6d156bf9c6d7f23d0dae4369e426d | [
"Apache-2.0"
] | 1 | 2018-08-13T07:32:00.000Z | 2018-08-13T07:32:00.000Z | // Copyright (c) 2013, the project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed
// by a Apache license that can be found in the LICENSE file.
part of log4dart;
/**
* A log record formatter for the given log format
*/
class LogRecordFormatter {
LogRe... | 25.032468 | 101 | 0.626978 |
dc6aa9e03f7ff1204df43c99076af2e6efa2b223 | 814 | gemspec | Ruby | i18n-debug.gemspec | ozzyaaron/i18n-debug | 632cc46a60fe80cfb8ef61caa1656ad2dc9add70 | [
"MIT"
] | 148 | 2015-01-11T20:13:51.000Z | 2022-02-20T17:24:12.000Z | i18n-debug.gemspec | ozzyaaron/i18n-debug | 632cc46a60fe80cfb8ef61caa1656ad2dc9add70 | [
"MIT"
] | 10 | 2015-04-11T19:26:51.000Z | 2021-03-25T18:28:22.000Z | i18n-debug.gemspec | ozzyaaron/i18n-debug | 632cc46a60fe80cfb8ef61caa1656ad2dc9add70 | [
"MIT"
] | 14 | 2015-01-01T13:09:59.000Z | 2021-07-17T21:27:26.000Z | require File.expand_path('../lib/i18n/debug/version', __FILE__)
Gem::Specification.new do |spec|
spec.name = 'i18n-debug'
spec.version = I18n::Debug::VERSION
spec.author = 'Philipe Fatio'
spec.email = 'me@phili.pe'
spec.homepage = 'https://github.com/fphilipe/i18n-debug'
spec.licen... | 40.7 | 130 | 0.664619 |
6b8fac1ba5aec86dd18c2d6bc1a2e71ccf8ce3f0 | 964 | js | JavaScript | dist/tiny-data-safe.min.js | orianda/tiny-data-safe | d9ca4f6bfc31226672ce54a1e9101bbcf743468e | [
"MIT"
] | null | null | null | dist/tiny-data-safe.min.js | orianda/tiny-data-safe | d9ca4f6bfc31226672ce54a1e9101bbcf743468e | [
"MIT"
] | null | null | null | dist/tiny-data-safe.min.js | orianda/tiny-data-safe | d9ca4f6bfc31226672ce54a1e9101bbcf743468e | [
"MIT"
] | null | null | null | /*!
* tiny-data-safe
* Store data in safe and prevent them from being accessed without the valid key.
*
* @version v1.0.0
* @link https://github.com/orianda/tiny-data-safe
* @author Orianda <orianda@paan.de>
* @license MIT
*/
!function(t){"use strict";var n=t();if("object"==typeof module&&module instanceof Obje... | 80.333333 | 682 | 0.684647 |
b897e76ea5e6b99745d4879876e6eb4c976cdcba | 544 | h | C | include/ntt1536.h | vincentvbh/NTRUPrime-PolyMul | d755e16086dd66ad62f3a7465f6c90e2cf12cc78 | [
"CC0-1.0"
] | 4 | 2021-03-31T22:08:28.000Z | 2022-03-08T11:41:20.000Z | include/ntt1536.h | vincentvbh/NTRUPrime-PolyMul | d755e16086dd66ad62f3a7465f6c90e2cf12cc78 | [
"CC0-1.0"
] | null | null | null | include/ntt1536.h | vincentvbh/NTRUPrime-PolyMul | d755e16086dd66ad62f3a7465f6c90e2cf12cc78 | [
"CC0-1.0"
] | null | null | null | #ifndef NTT1536_H
#define NTT1536_H
#include <stdint.h>
void NTT_forward_8(const signed char* g, const int32_t*, int, int, int32_t *);
void NTT_forward_16(const short* g, const int32_t*, int, int, int32_t *);
void __asm_my_mul(int32_t*, int32_t*, int, int);
void __asm_NTT_inv_1_2_3(int32_t*, const int32_t*, int, int... | 38.857143 | 89 | 0.746324 |
ea59d38554f8ddbd9db89e2b643e4d7084526950 | 959 | sql | SQL | Check progress of database commands.sql | NotTheDBAYoureLookingFor/Resources | 005dd6745a2f4b98b18e0aee5e84839cca81e33a | [
"MIT"
] | null | null | null | Check progress of database commands.sql | NotTheDBAYoureLookingFor/Resources | 005dd6745a2f4b98b18e0aee5e84839cca81e33a | [
"MIT"
] | null | null | null | Check progress of database commands.sql | NotTheDBAYoureLookingFor/Resources | 005dd6745a2f4b98b18e0aee5e84839cca81e33a | [
"MIT"
] | null | null | null | SET NOCOUNT ON
DECLARE @Midnight AS DATETIME = '00:00:00'
SELECT ER.session_id AS SPID,
CAST( DB_NAME(ER.database_id) AS VARCHAR) AS 'Database Name',
ER.command AS 'Database Command',
LEFT(CAST(ER.start_time AS TIME), 8) AS 'Time Command Executed',
LEFT(CAST(DATEADD(MILLISECOND, ER.estimated_... | 38.36 | 117 | 0.672576 |
4d3624c902d228fcd29ae6c67edc0fbce9bbb3ce | 812 | cs | C# | PropertyManagerMyApp/PropertyManagerMyApp/Controllers/MailAFOController.cs | isabella232/Property-Inspection-Code-Sample | 2ae69961a31bb85c14a9a345a7313d0ac482a3c7 | [
"Apache-2.0"
] | 40 | 2015-02-10T13:22:40.000Z | 2020-05-28T12:50:30.000Z | PropertyManagerMyApp/PropertyManagerMyApp/Controllers/MailAFOController.cs | 1010101012101/Property-Inspection-Code-Sample | 47a429fc3cb8b9b7588aac330d529e4057be631a | [
"Apache-2.0"
] | 4 | 2015-03-02T15:17:07.000Z | 2019-06-04T19:32:36.000Z | PropertyManagerMyApp/PropertyManagerMyApp/Controllers/MailAFOController.cs | 1010101012101/Property-Inspection-Code-Sample | 47a429fc3cb8b9b7588aac330d529e4057be631a | [
"Apache-2.0"
] | 50 | 2015-01-28T21:32:30.000Z | 2020-12-06T12:22:25.000Z | using SuiteLevelWebApp.Models;
using SuiteLevelWebApp.Utils;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace SuiteLevelWebApp.Controllers
{
[Authorize, HandleAdalException]
public class MailAFOController : Controller
{
public async Task<ActionResult> Index(int Id)
{
... | 27.066667 | 110 | 0.626847 |
a9351605d2836b285b12dc205dabff99cb162863 | 239 | css | CSS | frontend/src/homePage/NavBar.css | googleinterns/step197-2020 | 299e78e824cf6a5b235cfc96cc5c143c7788367c | [
"Apache-2.0"
] | null | null | null | frontend/src/homePage/NavBar.css | googleinterns/step197-2020 | 299e78e824cf6a5b235cfc96cc5c143c7788367c | [
"Apache-2.0"
] | 8 | 2020-07-31T16:47:51.000Z | 2022-02-27T09:32:37.000Z | frontend/src/homePage/NavBar.css | googleinterns/step197-2020 | 299e78e824cf6a5b235cfc96cc5c143c7788367c | [
"Apache-2.0"
] | null | null | null | /* Add a black background color to the top navigation */
.navBar {
background-color: #5A90A1;
overflow: hidden;
display:flex;
justify-content:flex-end;
padding:10px 0;
position: fixed;
top:0;
width:100%;
} | 21.727273 | 56 | 0.635983 |
7f496f0c95313520a40847b68ea05e251fac79a9 | 5,810 | dart | Dart | test/tokeniser_test.dart | oreal-solutions/night-script | fde7fe7e1aa9792246d1b52b0ee43f5ca669e25f | [
"MIT"
] | 1 | 2022-01-03T11:55:23.000Z | 2022-01-03T11:55:23.000Z | test/tokeniser_test.dart | oreal-solutions/night-script | fde7fe7e1aa9792246d1b52b0ee43f5ca669e25f | [
"MIT"
] | null | null | null | test/tokeniser_test.dart | oreal-solutions/night-script | fde7fe7e1aa9792246d1b52b0ee43f5ca669e25f | [
"MIT"
] | 1 | 2021-12-12T11:05:29.000Z | 2021-12-12T11:05:29.000Z | import 'package:night_script/night_script.dart';
import 'package:test/test.dart';
void main() {
group('Tokeniser Test', () {
group('tokenise(source)', () {
late Tokeniser instance;
setUp(() {
instance = Tokeniser();
});
test('Should return an empty list when given an empty source... | 31.923077 | 96 | 0.56506 |
9f85c006b9ad59f2490d777f5e8cb1ffe7acd4a3 | 121 | lua | Lua | fxmanifest.lua | MOXHAFOREVA/mx-vehiclekey | 42a737c732846b3d1add9bb1f45808c75da015b7 | [
"MIT"
] | 1 | 2021-09-07T21:41:44.000Z | 2021-09-07T21:41:44.000Z | fxmanifest.lua | MOXHAFOREVA/mx-vehiclekey | 42a737c732846b3d1add9bb1f45808c75da015b7 | [
"MIT"
] | null | null | null | fxmanifest.lua | MOXHAFOREVA/mx-vehiclekey | 42a737c732846b3d1add9bb1f45808c75da015b7 | [
"MIT"
] | 3 | 2021-09-19T23:57:02.000Z | 2022-01-08T23:00:07.000Z | fx_version 'cerulean'
games { 'gta5' }
author 'MOXHA'
client_script 'debug/C_main.js'
server_script 'debug/S_main.js' | 24.2 | 32 | 0.743802 |
e41b06e6fe97ffbd9472421ba92d27507858e10f | 335 | cs | C# | Programming/3.ObjectOrientedProgramming/3.ExtensionMethodsDelegatesLambdaLINQ/1.StringBuilderExtensions/Program.cs | trinityimma/TelerikAcademy | 92c48a177a24c1bc91b9b2673ff31837f0f64bf5 | [
"MIT"
] | null | null | null | Programming/3.ObjectOrientedProgramming/3.ExtensionMethodsDelegatesLambdaLINQ/1.StringBuilderExtensions/Program.cs | trinityimma/TelerikAcademy | 92c48a177a24c1bc91b9b2673ff31837f0f64bf5 | [
"MIT"
] | null | null | null | Programming/3.ObjectOrientedProgramming/3.ExtensionMethodsDelegatesLambdaLINQ/1.StringBuilderExtensions/Program.cs | trinityimma/TelerikAcademy | 92c48a177a24c1bc91b9b2673ff31837f0f64bf5 | [
"MIT"
] | null | null | null | using System;
using System.Text;
static class Program
{
static StringBuilder Substring(this StringBuilder str, int startIndex, int length)
{
return new StringBuilder(str.ToString(startIndex, length));
}
static void Main()
{
Console.WriteLine(new StringBuilder("0123456").Substring(4... | 20.9375 | 86 | 0.677612 |
afe2ca84f733537d17ce881cb5c58e568bbb9eca | 3,256 | py | Python | src/learning/train.py | mari-linhares/deep-audio | a3074a5977710e70d836130f23316c6fd660633d | [
"Apache-2.0"
] | null | null | null | src/learning/train.py | mari-linhares/deep-audio | a3074a5977710e70d836130f23316c6fd660633d | [
"Apache-2.0"
] | null | null | null | src/learning/train.py | mari-linhares/deep-audio | a3074a5977710e70d836130f23316c6fd660633d | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
tf.enable_eager_execution()
import tensorflowjs as tfjs
import numpy as np
from data_sources.data_source import DataSource
from optimizers.optimizer import Optimizer
import models.model_factory as mf
import utilities.utils as utils
from tensorflow.python.client import device_lib
print(device... | 45.222222 | 156 | 0.693182 |
c8d37aa70581964ddd0e13c82c7a6c433a258a0d | 720 | css | CSS | 7-assets/past-student-repos/HTTP-AJAX-master/friends/src/components/AddFriend.css | eengineergz/Lambda | 1fe511f7ef550aed998b75c18a432abf6ab41c5f | [
"MIT"
] | null | null | null | 7-assets/past-student-repos/HTTP-AJAX-master/friends/src/components/AddFriend.css | eengineergz/Lambda | 1fe511f7ef550aed998b75c18a432abf6ab41c5f | [
"MIT"
] | null | null | null | 7-assets/past-student-repos/HTTP-AJAX-master/friends/src/components/AddFriend.css | eengineergz/Lambda | 1fe511f7ef550aed998b75c18a432abf6ab41c5f | [
"MIT"
] | null | null | null | .input-wrapper {
margin: 10px 0 150px 0;
position: relative;
left: 50%;
transform: translate(-50%);
width: 600px;
}
span.add-a-friend {
background-color: #fff;
color: #333;
font-size: 1.2em;
font-style: italic;
font-weight: 100;
vertical-align: middle;
}
input {
border: none;
height: 18px;
b... | 16.363636 | 38 | 0.643056 |
db1623e0399cc932910a53ed077911c853ff44e9 | 972 | rs | Rust | tests/run.rs | salewski/ketos | 011287590ebeb6e6a199e34c8b9da14e2daeb1ce | [
"Apache-2.0",
"MIT"
] | 813 | 2016-02-08T22:19:04.000Z | 2022-03-25T21:12:46.000Z | tests/run.rs | salewski/ketos | 011287590ebeb6e6a199e34c8b9da14e2daeb1ce | [
"Apache-2.0",
"MIT"
] | 60 | 2016-02-09T11:07:50.000Z | 2021-05-18T17:52:33.000Z | tests/run.rs | salewski/ketos | 011287590ebeb6e6a199e34c8b9da14e2daeb1ce | [
"Apache-2.0",
"MIT"
] | 61 | 2016-02-08T22:31:52.000Z | 2022-01-28T19:38:26.000Z | extern crate ketos;
use ketos::{
BuiltinModuleLoader, FileModuleLoader, ModuleLoader,
Error, Interpreter,
};
use std::fs::read_dir;
use std::path::{Path, PathBuf};
fn run_file(path: &Path) -> Result<(), Error> {
let mut loader = FileModuleLoader::with_search_paths(vec![PathBuf::from("lib")]);
loader... | 25.578947 | 85 | 0.638889 |
14f429fe6deb0a7e454a9e34d5f94c0f5058f2f9 | 1,498 | ts | TypeScript | src/app/system-configuration/backup-storage/disk-storage/shared/storage-stat.model.ts | svullupala/Learn-angular | 7bc3efa5b6d37ad131f08ff6409a1e433141e2d8 | [
"MIT"
] | null | null | null | src/app/system-configuration/backup-storage/disk-storage/shared/storage-stat.model.ts | svullupala/Learn-angular | 7bc3efa5b6d37ad131f08ff6409a1e433141e2d8 | [
"MIT"
] | null | null | null | src/app/system-configuration/backup-storage/disk-storage/shared/storage-stat.model.ts | svullupala/Learn-angular | 7bc3efa5b6d37ad131f08ff6409a1e433141e2d8 | [
"MIT"
] | null | null | null | import {JsonObject, JsonProperty} from 'json2typescript';
import {BaseModel} from 'shared/models/base.model';
@JsonObject
export class StorageStatModel extends BaseModel {
@JsonProperty('storageId', String, true)
public storageId: string = undefined;
@JsonProperty('sizeTotal', Number, true)
public sizeTotal:... | 26.75 | 61 | 0.720961 |
96c5986749a8ae5fa6d0ef5c43c8ab5aa502f594 | 768 | cs | C# | src/libraries/System.Text.Json/tests/System.Text.Json.Tests/TrimmingTests/EnumConverterTest.cs | pyracanda/runtime | 72bee25ab532a4d0636118ec2ed3eabf3fd55245 | [
"MIT"
] | 9,402 | 2019-11-25T23:26:24.000Z | 2022-03-31T23:19:41.000Z | src/libraries/System.Text.Json/tests/System.Text.Json.Tests/TrimmingTests/EnumConverterTest.cs | pyracanda/runtime | 72bee25ab532a4d0636118ec2ed3eabf3fd55245 | [
"MIT"
] | 37,522 | 2019-11-25T23:30:32.000Z | 2022-03-31T23:58:30.000Z | src/libraries/System.Text.Json/tests/System.Text.Json.Tests/TrimmingTests/EnumConverterTest.cs | pyracanda/runtime | 72bee25ab532a4d0636118ec2ed3eabf3fd55245 | [
"MIT"
] | 3,629 | 2019-11-25T23:29:16.000Z | 2022-03-31T21:52:28.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Diagnostics.CodeAnalysis;
using System.Text.Json;
namespace SerializerTrimmingTest
{
/// <summary>
/// Tests that the enum converter factory works... | 27.428571 | 98 | 0.653646 |
01a780e7b61f6c11051406d656c1c6f9891b1061 | 7,344 | rs | Rust | src/boot.rs | dwbrite/teensy-k20dx256 | f56e111c7d1088fa4a9745634c76bb0cf0e6f0f4 | [
"Unlicense"
] | 10 | 2019-08-03T09:26:49.000Z | 2022-03-31T17:05:00.000Z | src/boot.rs | dwbrite/teensy-k20dx256 | f56e111c7d1088fa4a9745634c76bb0cf0e6f0f4 | [
"Unlicense"
] | null | null | null | src/boot.rs | dwbrite/teensy-k20dx256 | f56e111c7d1088fa4a9745634c76bb0cf0e6f0f4 | [
"Unlicense"
] | 1 | 2019-08-07T05:52:13.000Z | 2019-08-07T05:52:13.000Z | //! Here is the most important file of this crate.
//! When you add this crate as a dependency it will move the bootloader to the good section. Enable
//! **all** the port, the clock at 72MHz and disable the watchdog and **then** call your `main`.
//! Right now if you don't want something you'll need to either disable ... | 36.537313 | 99 | 0.703023 |
247713d5d42453e05e3061573e28351cbf171845 | 56,359 | php | PHP | resources/views/layouts/spacedcustomlayout.blade.php | frankcodedKing/laravelinvestmentscript | f04904cd65cba8b98b3a32d1b54cf5f491d0d3ac | [
"MIT"
] | 1 | 2021-07-24T13:41:15.000Z | 2021-07-24T13:41:15.000Z | resources/views/layouts/spacedcustomlayout.blade.php | frankcodedKing/laravelinvestmentscript | f04904cd65cba8b98b3a32d1b54cf5f491d0d3ac | [
"MIT"
] | null | null | null | resources/views/layouts/spacedcustomlayout.blade.php | frankcodedKing/laravelinvestmentscript | f04904cd65cba8b98b3a32d1b54cf5f491d0d3ac | [
"MIT"
] | 2 | 2021-07-24T13:32:10.000Z | 2021-08-28T08:09:13.000Z | <!DOCTYPE html>
<html class="html" lang="en-US" itemscope itemtype="http://schema.org/WebPage">
<head>
<meta charset="UTF-8">
<link rel="profile" href="http://gmpg.org/xfn/11">
<title>Penultimate Finance – Simplifying complex finance</title>
<meta name="viewport" content="width=device-width, initial-scale=1... | 64.190205 | 9,958 | 0.608403 |
6dbc73138d45366434dce034e08214304ccb671b | 8,018 | rs | Rust | libcerberus/src/runner.rs | CPSSD/cerberus | 7368332255984c02de930d4590b681100d6ba401 | [
"MIT"
] | null | null | null | libcerberus/src/runner.rs | CPSSD/cerberus | 7368332255984c02de930d4590b681100d6ba401 | [
"MIT"
] | null | null | null | libcerberus/src/runner.rs | CPSSD/cerberus | 7368332255984c02de930d4590b681100d6ba401 | [
"MIT"
] | null | null | null | use std::collections::HashMap;
use std::io::{stdin, stdout};
use chrono::prelude::*;
use clap::{App, ArgMatches, SubCommand};
use serde::de::DeserializeOwned;
use serde::Serialize;
use serde_json;
use uuid::Uuid;
use super::VERSION;
use combiner::Combine;
use emitter::IntermediateVecEmitter;
use errors::*;
use interm... | 32.200803 | 99 | 0.603392 |
21bc1b67fe3f0d9605eae639a2def8f6df614ce7 | 1,534 | js | JavaScript | controllers/credit.js | nicholasmullikin/fresh-start | c69a3949cf44372afb64a8d73edfba55a8534038 | [
"MIT"
] | null | null | null | controllers/credit.js | nicholasmullikin/fresh-start | c69a3949cf44372afb64a8d73edfba55a8534038 | [
"MIT"
] | null | null | null | controllers/credit.js | nicholasmullikin/fresh-start | c69a3949cf44372afb64a8d73edfba55a8534038 | [
"MIT"
] | null | null | null | const Loan = require('../models/Loan');
const User = require('../models/User');
/**
* GET /credit
* Login page.
*/
exports.getCredit = (req, res) => {
if (!req.user) {
return res.redirect('/');
}
User.findById(req.user._id, (err) => {
if (err) {
console.log(err);
}
})
.then((user) => {... | 20.72973 | 81 | 0.535854 |
797946c1be47d28be4298f7983f602ae94f7d040 | 3,528 | php | PHP | app/Http/Controllers/OwnerController.php | popeJohnPakart/ams | 25829422beb66db6d5432115166cba36f52bf765 | [
"MIT"
] | null | null | null | app/Http/Controllers/OwnerController.php | popeJohnPakart/ams | 25829422beb66db6d5432115166cba36f52bf765 | [
"MIT"
] | null | null | null | app/Http/Controllers/OwnerController.php | popeJohnPakart/ams | 25829422beb66db6d5432115166cba36f52bf765 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
// use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Owner;
use Redirect;
use Request;
use Input;
use Validator;
class OwnerController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Ill... | 24 | 82 | 0.524093 |
b0102d9c4c9d7a5a8296de027bde65c54af8d482 | 2,092 | py | Python | domino.py | trisberg/domino | 051bbdc139e88b69b7f6b694b8c02a2d22439c41 | [
"Apache-2.0"
] | null | null | null | domino.py | trisberg/domino | 051bbdc139e88b69b7f6b694b8c02a2d22439c41 | [
"Apache-2.0"
] | 1 | 2019-07-22T22:30:55.000Z | 2019-07-22T22:30:55.000Z | domino.py | trisberg/domino | 051bbdc139e88b69b7f6b694b8c02a2d22439c41 | [
"Apache-2.0"
] | 1 | 2019-03-20T01:55:50.000Z | 2019-03-20T01:55:50.000Z | import sys
import time
import argparse
import util
if __name__ == "__main__":
start_time = time.time()
print("riff is for functions")
print("Domino is FaaS Acceptance Test Suite for riff and PFS on Windows\n")
parser = argparse.ArgumentParser()
parser.add_argument("--pfs", help="test ... | 38.740741 | 116 | 0.64914 |
ef3fef71735c29508e7bc364aaf5bfa652d4f28f | 87 | sh | Shell | 1.import.sh | culebron/nskparks | 7ab5a5b69ad426527aa8e1692862c231768a083d | [
"CC0-1.0"
] | 1 | 2019-01-11T15:00:15.000Z | 2019-01-11T15:00:15.000Z | 1.import.sh | culebron/nskparks | 7ab5a5b69ad426527aa8e1692862c231768a083d | [
"CC0-1.0"
] | null | null | null | 1.import.sh | culebron/nskparks | 7ab5a5b69ad426527aa8e1692862c231768a083d | [
"CC0-1.0"
] | null | null | null | osm2pgsql --slim --style 1.parks.style -d nskparks 1.parks.osm -p osm --multi-geometry
| 43.5 | 86 | 0.735632 |
8435eb258ffa83584c61ae99135ade127c36586b | 969 | ps1 | PowerShell | images/win/scripts/Installers/Install-WindowsFeatures.ps1 | Toughee/virtual-environments | df27520b1f223f23188191ec1a3fdce76f5cddd8 | [
"MIT"
] | 5,673 | 2019-09-27T23:08:40.000Z | 2022-03-31T23:57:06.000Z | images/win/scripts/Installers/Install-WindowsFeatures.ps1 | Toughee/virtual-environments | df27520b1f223f23188191ec1a3fdce76f5cddd8 | [
"MIT"
] | 3,368 | 2019-09-30T04:59:16.000Z | 2022-03-31T20:16:26.000Z | images/win/scripts/Installers/Install-WindowsFeatures.ps1 | Toughee/virtual-environments | df27520b1f223f23188191ec1a3fdce76f5cddd8 | [
"MIT"
] | 2,247 | 2019-09-29T13:59:05.000Z | 2022-03-31T21:46:45.000Z | $windowsFeatures = (Get-ToolsetContent).windowsFeatures
foreach ($feature in $windowsFeatures) {
if ($feature.optionalFeature) {
Write-Host "Activating Windows Optional Feature '$($feature.name)'..."
Enable-WindowsOptionalFeature -Online -FeatureName $feature.name -NoRestart
$resultSuccess... | 37.269231 | 97 | 0.652219 |
d317340d9128c54c7422833d31ef0558ab569d6d | 2,198 | cs | C# | VkNet.Tests/Categories/StreamingCategoryTests.cs | slay9090/vk | 1fea63e75989f78434c083a2051bae62f4fb3811 | [
"MIT"
] | null | null | null | VkNet.Tests/Categories/StreamingCategoryTests.cs | slay9090/vk | 1fea63e75989f78434c083a2051bae62f4fb3811 | [
"MIT"
] | null | null | null | VkNet.Tests/Categories/StreamingCategoryTests.cs | slay9090/vk | 1fea63e75989f78434c083a2051bae62f4fb3811 | [
"MIT"
] | null | null | null | using System;
using System.Linq;
using NUnit.Framework;
using VkNet.Enums.SafetyEnums;
namespace VkNet.Tests.Categories
{
public class StreamingCategoryTests : BaseTest
{
[Test]
public void GetServerUrl()
{
Url = "https://api.vk.com/method/streaming.getServerUrl";
Json =
@"{
""response"": {
... | 21.134615 | 93 | 0.605096 |
b0f421213a87668cd2537c284e6cd254612111ec | 1,105 | py | Python | tests/unit/transformations/test_poinstToHist.py | gnafit/gna | c1a58dac11783342c97a2da1b19c97b85bce0394 | [
"MIT"
] | 5 | 2019-10-14T01:06:57.000Z | 2021-02-02T16:33:06.000Z | tests/unit/transformations/test_poinstToHist.py | gnafit/gna | c1a58dac11783342c97a2da1b19c97b85bce0394 | [
"MIT"
] | null | null | null | tests/unit/transformations/test_poinstToHist.py | gnafit/gna | c1a58dac11783342c97a2da1b19c97b85bce0394 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""Check PointsToHist adapter class
"""
from load import ROOT as R
from matplotlib import pyplot as plt
import numpy as N
from matplotlib.ticker import MaxNLocator
import gna.constructors as C
from gna.bindings import DataType
from gna.unittest import *
# Create the matrix
def test_points_to_hi... | 26.309524 | 75 | 0.699548 |
8e56dd2f88a81961801d4ac4368b94b7ae06d600 | 508 | js | JavaScript | front/src/hooks/Socket/useInitSocket.js | Einere/2019-15 | ad0c504cbbd9a1393a11acb3a84dd63246eb6e63 | [
"MIT"
] | 21 | 2019-11-07T05:14:02.000Z | 2021-11-12T11:45:48.000Z | front/src/hooks/Socket/useInitSocket.js | eminem54/2019-15 | f552af6eaa3e6a797264b6bceef58852921fb6be | [
"MIT"
] | 133 | 2019-11-07T05:15:05.000Z | 2022-02-19T00:19:24.000Z | front/src/hooks/Socket/useInitSocket.js | Einere/2019-15 | ad0c504cbbd9a1393a11acb3a84dd63246eb6e63 | [
"MIT"
] | 24 | 2019-11-05T01:53:46.000Z | 2021-09-14T15:51:17.000Z | import { useEffect, useState } from 'react';
import socketIo from 'socket.io-client';
import APP_URI from 'constants/uri';
import socketOptions from 'config/socket';
export default function useInitSocket(path) {
const [onlineSocket, setOnlineSocket] = useState(null);
useEffect(() => {
const newOnlineSocket = ... | 26.736842 | 57 | 0.712598 |
6f2e7a9b09905808b94b8c1a93544f88a7972401 | 585 | php | PHP | database/seeds/PrioritasSeeder.php | fuadtanjung/talayanan | 0a4859137468af9c2742bfc0b7e611247950e8bf | [
"MIT"
] | null | null | null | database/seeds/PrioritasSeeder.php | fuadtanjung/talayanan | 0a4859137468af9c2742bfc0b7e611247950e8bf | [
"MIT"
] | null | null | null | database/seeds/PrioritasSeeder.php | fuadtanjung/talayanan | 0a4859137468af9c2742bfc0b7e611247950e8bf | [
"MIT"
] | null | null | null | <?php
use Illuminate\Database\Seeder;
class PrioritasSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('prioritas')->insert([
'id_prioritas' => 'T',
'nama_prioritas' => 'Tinggi',
]);
... | 20.892857 | 43 | 0.471795 |
66c537a2ced3853b6f8d83db5f264f10d8b5e8e4 | 69 | css | CSS | src/core/client/admin/routes/Configure/sections/WebhookEndpoints/ConfigureWebhookEndpointForm/EventsSelectField.css | maybesmurf/talk | 37978d5c829d6d4641722bb52654d68d95c71e23 | [
"Apache-2.0"
] | 1,877 | 2016-10-29T15:57:15.000Z | 2022-03-31T03:53:11.000Z | src/core/client/admin/routes/Configure/sections/WebhookEndpoints/ConfigureWebhookEndpointForm/EventsSelectField.css | maybesmurf/talk | 37978d5c829d6d4641722bb52654d68d95c71e23 | [
"Apache-2.0"
] | 1,635 | 2016-10-27T14:45:46.000Z | 2022-03-30T15:09:17.000Z | src/core/client/admin/routes/Configure/sections/WebhookEndpoints/ConfigureWebhookEndpointForm/EventsSelectField.css | maybesmurf/talk | 37978d5c829d6d4641722bb52654d68d95c71e23 | [
"Apache-2.0"
] | 464 | 2016-10-24T21:23:12.000Z | 2022-03-30T12:11:45.000Z | .list {
max-height: 295px;
}
.event {
font-family: monospace;
}
| 8.625 | 25 | 0.608696 |
1487e292b38920f23be345583024be922dfdf8ef | 944 | ts | TypeScript | typings/SequenceJoin.d.ts | Sutarodo/Sequence | 8e394dfe16b0196804ea0803a3242e69e374ab2a | [
"MIT"
] | null | null | null | typings/SequenceJoin.d.ts | Sutarodo/Sequence | 8e394dfe16b0196804ea0803a3242e69e374ab2a | [
"MIT"
] | 4 | 2020-03-24T18:33:32.000Z | 2020-03-24T18:33:33.000Z | typings/SequenceJoin.d.ts | InsertBeforeFlight/Sequence | 8e394dfe16b0196804ea0803a3242e69e374ab2a | [
"MIT"
] | null | null | null | import { SequencePart } from "./SequencePart";
import { ISequenceJoin } from "./interfaces/ISequenceJoin";
import { Join } from "./enums/Join";
import { SequenceCondition } from "./conditions/SequenceCondition";
import { ISequenceColumn } from "./interfaces/ISequenceColumn";
import { LogicalOperator } from "./enums/Log... | 47.2 | 94 | 0.742585 |
97e2db52e5079dd6325cd2e261f1c8fab9395063 | 290 | ts | TypeScript | api/src/floodtest/dtos/test-result.dto.ts | proishere1/FloodRunner | 6987500919ed6a7cc7a3195dedcc9963ba3b6382 | [
"MIT"
] | 14 | 2020-07-15T10:53:04.000Z | 2022-01-19T10:18:48.000Z | api/src/floodtest/dtos/test-result.dto.ts | proishere1/FloodRunner | 6987500919ed6a7cc7a3195dedcc9963ba3b6382 | [
"MIT"
] | 1 | 2020-10-04T16:07:32.000Z | 2020-12-25T06:46:32.000Z | api/src/floodtest/dtos/test-result.dto.ts | proishere1/FloodRunner | 6987500919ed6a7cc7a3195dedcc9963ba3b6382 | [
"MIT"
] | 4 | 2020-07-19T13:17:56.000Z | 2022-02-25T05:46:53.000Z | /**
* Dto used by SandboxRunner to share information of test runs
*/
export interface TestResultDto {
testId: string;
testRunName: string;
isSuccessful: boolean;
numberTimesExecuted: number;
executionTimeInSeconds: number;
systemLogs: string[];
applicationLogs: string[];
}
| 22.307692 | 62 | 0.744828 |
c3f0734f295c9a15414bc7821c06b42d03792fc6 | 14,272 | cs | C# | TravellerTools/Grauenwolf.TravellerTools.TradeCalculator/TradeEngineMGT.cs | TedTschopp/TravellerTools | aeaec3b0e42ef264648b9d1ef7cc4440d66c6f93 | [
"MIT"
] | 29 | 2017-01-14T09:18:50.000Z | 2022-02-08T06:22:30.000Z | TravellerTools/Grauenwolf.TravellerTools.TradeCalculator/TradeEngineMGT.cs | TedTschopp/TravellerTools | aeaec3b0e42ef264648b9d1ef7cc4440d66c6f93 | [
"MIT"
] | 94 | 2016-06-23T08:53:35.000Z | 2022-01-04T05:00:44.000Z | TravellerTools/Grauenwolf.TravellerTools.TradeCalculator/TradeEngineMGT.cs | TedTschopp/TravellerTools | aeaec3b0e42ef264648b9d1ef7cc4440d66c6f93 | [
"MIT"
] | 14 | 2017-01-14T09:18:53.000Z | 2022-01-02T21:38:09.000Z | using Grauenwolf.TravellerTools.Maps;
using Grauenwolf.TravellerTools.Names;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Grauenwolf.TravellerTools.TradeCalculator
{
public class TradeEngineMgt : TradeEngine
{
public TradeEngineMgt(MapServ... | 44.461059 | 141 | 0.518288 |
db4ed96a7f5f91f44d6fd7c337d0d68a13c63af9 | 4,099 | rs | Rust | src/client/codec/gemtext.rs | rabbitinspace/shikai-rs | 3f1a015200f0c8c1feade222fbc5adacf39221d3 | [
"MIT"
] | null | null | null | src/client/codec/gemtext.rs | rabbitinspace/shikai-rs | 3f1a015200f0c8c1feade222fbc5adacf39221d3 | [
"MIT"
] | null | null | null | src/client/codec/gemtext.rs | rabbitinspace/shikai-rs | 3f1a015200f0c8c1feade222fbc5adacf39221d3 | [
"MIT"
] | null | null | null | use bstr::ByteSlice;
use bytes::Bytes;
use super::ByteSliceExt;
pub enum Block {
Empty,
Text(TextBlock),
Link(LinkBlock),
Preformatted(PreformattedBlock),
Header(HeaderBlock),
List(ListBlock),
Quote(QuoteBlock),
}
pub trait ContentBlock<'b>: From<&'b mut Bytes> {
fn matches(buf: &Byte... | 23.02809 | 82 | 0.505977 |
5bfdd6279e2d3ec18bbabfa37fd0c941974940b9 | 128 | css | CSS | style.css | hpnrep6/Time_Safari_inc. | dd34f8f8547348397839750c8c0209943193005a | [
"MIT"
] | null | null | null | style.css | hpnrep6/Time_Safari_inc. | dd34f8f8547348397839750c8c0209943193005a | [
"MIT"
] | null | null | null | style.css | hpnrep6/Time_Safari_inc. | dd34f8f8547348397839750c8c0209943193005a | [
"MIT"
] | null | null | null | .main canvas{
margin-right: auto;
margin-left: auto;
display: block;
}
body {
background-color: rgb(0,20,40);
} | 14.222222 | 35 | 0.609375 |
a36ceef15c32ba9667f7cf5629d983e9dd5f3fa6 | 926 | sql | SQL | SqlWatch.Monitor/Project.SqlWatch.Database/dbo/Procedures/usp_sqlwatch_internal_broker_dialog_new.sql | sozezzo/sqlwatch | 2daf681a86b28612822f5f4af2513b7e2ad86320 | [
"MIT"
] | null | null | null | SqlWatch.Monitor/Project.SqlWatch.Database/dbo/Procedures/usp_sqlwatch_internal_broker_dialog_new.sql | sozezzo/sqlwatch | 2daf681a86b28612822f5f4af2513b7e2ad86320 | [
"MIT"
] | null | null | null | SqlWatch.Monitor/Project.SqlWatch.Database/dbo/Procedures/usp_sqlwatch_internal_broker_dialog_new.sql | sozezzo/sqlwatch | 2daf681a86b28612822f5f4af2513b7e2ad86320 | [
"MIT"
] | null | null | null | CREATE PROCEDURE [dbo].[usp_sqlwatch_internal_broker_dialog_new]
@cid uniqueidentifier output,
@lifetime int = 3600,
@from_service nvarchar(128) = 'sqlwatch_collector',
@to_service nvarchar(128) = 'sqlwatch_collector',
@contract nvarchar(128) = 'sqlwatch_collector'
AS
begin
declare @process_messa... | 30.866667 | 75 | 0.698704 |
f23fb3cefbd09d38d3520f2b00f3e10d17b6bda3 | 2,281 | php | PHP | index.php | fengchang/readhub-rss | b8a4a64924c360644cad63e27dc7ee98202e2801 | [
"MIT"
] | 34 | 2017-06-15T12:30:11.000Z | 2021-11-05T12:06:23.000Z | index.php | fengchang/readhub-rss | b8a4a64924c360644cad63e27dc7ee98202e2801 | [
"MIT"
] | 1 | 2018-08-09T01:19:27.000Z | 2018-08-09T11:00:45.000Z | index.php | fengchang/readhub-rss | b8a4a64924c360644cad63e27dc7ee98202e2801 | [
"MIT"
] | 7 | 2017-08-23T14:44:36.000Z | 2020-01-10T14:17:16.000Z | <?php
/**
* Created by PhpStorm.
* User: fengchang
* Date: 2017/6/9
* Time: 下午10:08
*/
require 'config.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Readhub RSS</title>
</head>
<body>
<div style="width: 600px; margin: 100px auto 0px">
<p>这是一个通过 RSS 订阅 Readhub 的站点,您可以自... | 32.126761 | 130 | 0.572556 |
0d20e22a3aaf9b1b72977ebb160bd54badb4e164 | 2,298 | dart | Dart | LibTest/io/RawDatagramSocket/takeWhile_A03_t01.dart | tvolkert/co19 | 435727789062a45da3d20da09024651fdeb8cafe | [
"BSD-3-Clause"
] | null | null | null | LibTest/io/RawDatagramSocket/takeWhile_A03_t01.dart | tvolkert/co19 | 435727789062a45da3d20da09024651fdeb8cafe | [
"BSD-3-Clause"
] | null | null | null | LibTest/io/RawDatagramSocket/takeWhile_A03_t01.dart | tvolkert/co19 | 435727789062a45da3d20da09024651fdeb8cafe | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*/
/**
* @assertion Stream<RawSocketEvent> takeWhile(bool test(T element))
* Forwards data events ... | 30.64 | 79 | 0.645344 |
dfac70af49b1544245a851d4f71ec3f8f99fbbac | 2,049 | cs | C# | Project03/Project03/JoesAuto.cs | cljernigan/CProject03 | 2e37ad70358be4e8343ca1887c2a3ac5ba30c8da | [
"MIT"
] | null | null | null | Project03/Project03/JoesAuto.cs | cljernigan/CProject03 | 2e37ad70358be4e8343ca1887c2a3ac5ba30c8da | [
"MIT"
] | null | null | null | Project03/Project03/JoesAuto.cs | cljernigan/CProject03 | 2e37ad70358be4e8343ca1887c2a3ac5ba30c8da | [
"MIT"
] | null | null | null | /*Christopher Jernigan
* 9/23/2016
* Project 3 ITE 136 HP86
* Starting out with Visual C# 4E Gaddis pg 391 Joes Automotive
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Th... | 28.458333 | 84 | 0.550024 |
46d86e206dd5926bdc0a0885814ea377dc5ba997 | 112 | py | Python | autocord/error.py | qweme32/autocord | 7bf141acf9bc9e3f9ef5a5c90a2ed24c28b3e045 | [
"MIT"
] | null | null | null | autocord/error.py | qweme32/autocord | 7bf141acf9bc9e3f9ef5a5c90a2ed24c28b3e045 | [
"MIT"
] | null | null | null | autocord/error.py | qweme32/autocord | 7bf141acf9bc9e3f9ef5a5c90a2ed24c28b3e045 | [
"MIT"
] | null | null | null | # autocord
# package for simple automation with discord client
#
# m: error
class ApiError(Exception):
pass | 16 | 51 | 0.741071 |
e8ce63a67c6629f03d9c56d7d244677f93bc6087 | 6,422 | go | Go | cli/command/stack/kubernetes/convert_test.go | RJPercival/cli | 237bdbf5f660e8ac0e93225bf9ac67d947ed3241 | [
"Apache-2.0"
] | null | null | null | cli/command/stack/kubernetes/convert_test.go | RJPercival/cli | 237bdbf5f660e8ac0e93225bf9ac67d947ed3241 | [
"Apache-2.0"
] | 1 | 2021-02-24T03:47:00.000Z | 2021-02-24T03:47:00.000Z | cli/command/stack/kubernetes/convert_test.go | RJPercival/cli | 237bdbf5f660e8ac0e93225bf9ac67d947ed3241 | [
"Apache-2.0"
] | 2 | 2020-11-19T19:31:56.000Z | 2021-01-23T09:46:22.000Z | package kubernetes
import (
"fmt"
"io/ioutil"
"path/filepath"
"testing"
"github.com/docker/cli/cli/compose/loader"
composetypes "github.com/docker/cli/cli/compose/types"
"github.com/docker/compose-on-kubernetes/api/compose/v1alpha3"
"github.com/docker/compose-on-kubernetes/api/compose/v1beta1"
"github.com/do... | 26.983193 | 151 | 0.668016 |
b0474c9a99b7624e6cd88b46bd3108c452151feb | 720 | asm | Assembly | oeis/178/A178972.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/178/A178972.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/178/A178972.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A178972: Number of ways to place 2 nonattacking amazons (superqueens) on an n X n toroidal board.
; Submitted by Jon Maiga
; 0,0,0,0,0,144,392,896,1620,2800,4356,6624,9464,13328,18000,24064,31212,40176,50540,63200,77616,94864,114264,137088,162500,191984,224532,261856,302760,349200,399776,456704,518364,587248,661500,7... | 48 | 500 | 0.794444 |
8c0b217b16ba961bc54bb25b2d6eded7938a785c | 131 | cs | C# | tests/Tests/build/AssemblyInfo.cs | Ed-Pavlov/Armature | 418df44fe6f40c0efa9f72ab0271b206805c17e8 | [
"Apache-2.0"
] | 1 | 2021-01-04T08:28:22.000Z | 2021-01-04T08:28:22.000Z | tests/Tests/build/AssemblyInfo.cs | Ed-Pavlov/Armature | 418df44fe6f40c0efa9f72ab0271b206805c17e8 | [
"Apache-2.0"
] | 4 | 2021-03-21T11:33:39.000Z | 2022-01-30T04:15:40.000Z | tests/Tests/build/AssemblyInfo.cs | Ed-Pavlov/Armature | 418df44fe6f40c0efa9f72ab0271b206805c17e8 | [
"Apache-2.0"
] | null | null | null | using JetBrains.dotMemoryUnit;
[assembly: DotMemoryUnit(FailIfRunWithoutSupport = false, SavingStrategy = SavingStrategy.Never)]
| 32.75 | 97 | 0.832061 |
7f75173e924066419a487a21d06d4b978f8a57cd | 2,028 | php | PHP | application/controllers/Notification.php | Sitiindrianem/perpustakaanindri | a64819bc7797b587712397e0748fb0880bebbdca | [
"MIT"
] | 6 | 2017-07-19T03:49:02.000Z | 2022-03-18T04:37:09.000Z | application/controllers/Notification.php | Sitiindrianem/perpustakaanindri | a64819bc7797b587712397e0748fb0880bebbdca | [
"MIT"
] | null | null | null | application/controllers/Notification.php | Sitiindrianem/perpustakaanindri | a64819bc7797b587712397e0748fb0880bebbdca | [
"MIT"
] | 22 | 2017-07-17T09:18:41.000Z | 2022-02-15T03:20:18.000Z | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Notification extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->model('Notif_model');
if($this->session->userdata('logged_in') == false){
redirect('welcome');
}
}
public function index(){... | 28.971429 | 74 | 0.645957 |
dec3cd47da8a2b544306bf90e26cb4cf2699e0a6 | 618 | css | CSS | src/app/resources/app.css | spgar/MTGLandCalc | ff1875cc641b34f2503625774580ec793503ee2b | [
"MIT"
] | null | null | null | src/app/resources/app.css | spgar/MTGLandCalc | ff1875cc641b34f2503625774580ec793503ee2b | [
"MIT"
] | null | null | null | src/app/resources/app.css | spgar/MTGLandCalc | ff1875cc641b34f2503625774580ec793503ee2b | [
"MIT"
] | null | null | null | /**
* If you are developing a project that makes use of Dijit widgets, you will probably want to include the two files
* below; otherwise, you can remove them. When building for release, Dojo will automatically combine all of your
* @imported CSS files into a single file.
*
* It is highly, highly recommended that ... | 29.428571 | 115 | 0.697411 |
a49b6bcb0177680ee9e42254e35999aab062190d | 341 | php | PHP | resources/views/pokecentre/release.blade.php | np-patel/pokedex | c3d5193cc61932dc05a4218095dc4cae7e52a0c4 | [
"MIT"
] | null | null | null | resources/views/pokecentre/release.blade.php | np-patel/pokedex | c3d5193cc61932dc05a4218095dc4cae7e52a0c4 | [
"MIT"
] | null | null | null | resources/views/pokecentre/release.blade.php | np-patel/pokedex | c3d5193cc61932dc05a4218095dc4cae7e52a0c4 | [
"MIT"
] | null | null | null | @extends('master')
@section('content')
<div class="row">
<div class="columns">
<h1><small>Release Your {{$capture->pokemon->name}}</h1>
<a href="/pokecentre/captures/{{$capture->id}}/doRelease" class="tiny alert button">Yes</a>
<a href="/pokecentre/captures" class="tiny button">No</a>
</div>... | 17.947368 | 94 | 0.624633 |
6df63de611c2d060d2f4d16bd141d6d80631d8ca | 718 | h | C | V5ClientSDK/V5MediaMessage.h | Chyrain/V5ClientWithFramework | 7fedca4d5c0057fbe63b52079143d4ab3fad318b | [
"MIT"
] | 7 | 2016-05-23T07:27:13.000Z | 2020-01-14T02:43:17.000Z | V5ClientSDK/V5MediaMessage.h | Chyrain/V5ClientWithFramework | 7fedca4d5c0057fbe63b52079143d4ab3fad318b | [
"MIT"
] | 3 | 2016-06-27T14:32:23.000Z | 2017-09-22T06:52:45.000Z | V5ClientSDK/V5MediaMessage.h | Chyrain/V5ClientWithFramework | 7fedca4d5c0057fbe63b52079143d4ab3fad318b | [
"MIT"
] | 4 | 2017-04-07T04:23:26.000Z | 2021-07-02T16:24:46.000Z | //
// V5MediaMessage.h
// mcss
//
// Created by chyrain on 16/8/19.
// Copyright © 2016年 V5KF. All rights reserved.
//
#import "V5Message.h"
@class V5MediaMessage;
typedef void (^V5MediaLoadSuccessBlock)(V5MediaMessage *message);
typedef void (^V5MediaLoadFailureBlock)(V5MediaMessage *message, NSString *reason);
... | 24.758621 | 83 | 0.721448 |
b3caf04c50492d566b5073bbfb213d97843169c3 | 789 | swift | Swift | ios/Src/Extensions+Init/UIReturnKeyType+Init.swift | dominicstop/react-native-ios-navigator | 1597610f87b2ec6a1430a0a3822cc42f1016e9ad | [
"MIT"
] | 12 | 2021-01-07T23:18:22.000Z | 2022-02-23T15:47:43.000Z | ios/Src/Extensions+Init/UIReturnKeyType+Init.swift | dominicstop/react-native-ios-navigator | 1597610f87b2ec6a1430a0a3822cc42f1016e9ad | [
"MIT"
] | null | null | null | ios/Src/Extensions+Init/UIReturnKeyType+Init.swift | dominicstop/react-native-ios-navigator | 1597610f87b2ec6a1430a0a3822cc42f1016e9ad | [
"MIT"
] | null | null | null | //
// UIReturnKeyType+Init.swift
// react-native-ios-navigator
//
// Created by Dominic Go on 5/21/21.
//
import Foundation
extension UIReturnKeyType {
public init?(string: String) {
switch string {
case "default" : self = .`default`;
case "go" : self = .go;
case "google" ... | 26.3 | 50 | 0.499366 |
9700a8258c6280a8b5f0977162829ba4195bcc83 | 356 | ts | TypeScript | src/types/configuration.d.ts | laggingreflex/html5sortable | e8da2be1b7f571bcabfda4e1ffc32618c81c0240 | [
"MIT"
] | null | null | null | src/types/configuration.d.ts | laggingreflex/html5sortable | e8da2be1b7f571bcabfda4e1ffc32618c81c0240 | [
"MIT"
] | null | null | null | src/types/configuration.d.ts | laggingreflex/html5sortable | e8da2be1b7f571bcabfda4e1ffc32618c81c0240 | [
"MIT"
] | null | null | null | interface configuration {
connectWith?: string,
acceptFrom?: void,
copy?: boolean,
placeholder?: void,
disableIEFix?: boolean,
placeholderClass?: string,
draggingClass?: string,
hoverClass?: string,
debounce?: number,
throttleTime?: number,
maxItems?: number,
itemSerializer?: void,
containerSe... | 20.941176 | 29 | 0.710674 |
641081af4bdafa1ec5ff97703b7c7bc6ce439430 | 3,165 | py | Python | get_archive.py | DarkElement75/object-detection-experiments | fc638f361f76d7bbb6e5cde9a3480c656b486ad6 | [
"MIT"
] | null | null | null | get_archive.py | DarkElement75/object-detection-experiments | fc638f361f76d7bbb6e5cde9a3480c656b486ad6 | [
"MIT"
] | null | null | null | get_archive.py | DarkElement75/object-detection-experiments | fc638f361f76d7bbb6e5cde9a3480c656b486ad6 | [
"MIT"
] | null | null | null | """
Generate an h5py file for our X and Y labelled data to use for training, and testing.
(not doing validation dataset due to the small number of optimizations on hyperparameters)
We do this by looping through our negative and positive dirs, and setting the Y label as 0 if negative, and 1 if positive
This is a re... | 26.596639 | 122 | 0.68278 |
dd774f57078b9b26e81719c74a2b1547d5a0708f | 3,698 | java | Java | src/core/src/tonkadur/wyrd/v1/compiler/fate/v1/computation/generic/AddElementAtComputationCompiler.java | nsensfel/tonkadur | 784341f1fa9eb276bb8afbf1c2fe8420f5ea6209 | [
"Apache-2.0"
] | 2 | 2020-08-28T13:34:52.000Z | 2021-08-22T02:54:09.000Z | src/core/src/tonkadur/wyrd/v1/compiler/fate/v1/computation/generic/AddElementAtComputationCompiler.java | nsensfel/tonkadur | 784341f1fa9eb276bb8afbf1c2fe8420f5ea6209 | [
"Apache-2.0"
] | 42 | 2020-07-19T15:57:14.000Z | 2022-01-31T17:18:46.000Z | src/core/src/tonkadur/wyrd/v1/compiler/fate/v1/computation/generic/AddElementAtComputationCompiler.java | nsensfel/tonkadur | 784341f1fa9eb276bb8afbf1c2fe8420f5ea6209 | [
"Apache-2.0"
] | null | null | null | package tonkadur.wyrd.v1.compiler.fate.v1.computation.generic;
import tonkadur.fate.v1.lang.computation.generic.AddElementAtComputation;
import tonkadur.wyrd.v1.lang.instruction.SetValue;
import tonkadur.wyrd.v1.lang.computation.Constant;
import tonkadur.wyrd.v1.lang.computation.IfElseComputation;
import tonkadur.wy... | 28.229008 | 80 | 0.650892 |
97750d1cc35e68d6d4c9d9894671d6b9ade8055b | 913 | ts | TypeScript | src/app/lang-selector/lang-selector.component.ts | wearelucid/passwortcheck | 0c0919aa88a00e949ccfac8bed9e29840896c6cb | [
"BSD-2-Clause"
] | 8 | 2017-02-25T15:15:57.000Z | 2022-02-01T10:44:43.000Z | src/app/lang-selector/lang-selector.component.ts | wearelucid/passwortcheck | 0c0919aa88a00e949ccfac8bed9e29840896c6cb | [
"BSD-2-Clause"
] | 2 | 2018-05-02T08:35:24.000Z | 2022-03-02T12:58:23.000Z | src/app/lang-selector/lang-selector.component.ts | wearelucid/passwortcheck | 0c0919aa88a00e949ccfac8bed9e29840896c6cb | [
"BSD-2-Clause"
] | 1 | 2022-01-05T17:38:30.000Z | 2022-01-05T17:38:30.000Z | import {Component, EventEmitter, OnDestroy, OnInit, Output} from '@angular/core';
import {TranslateService} from '@ngx-translate/core';
@Component({
selector: 'app-lang-selector',
templateUrl: './lang-selector.component.html',
styleUrls: ['./lang-selector.component.css']
})
export class LangSelectorComponent imp... | 25.361111 | 81 | 0.707558 |
d91885f8aa99654553af5c6eacdff68cf0818038 | 5,863 | lua | Lua | src.lua | VariableV/cheatworkslol | 9d113b2d06ddf052bfe4b9ad78beb26680c5310f | [
"MIT"
] | null | null | null | src.lua | VariableV/cheatworkslol | 9d113b2d06ddf052bfe4b9ad78beb26680c5310f | [
"MIT"
] | null | null | null | src.lua | VariableV/cheatworkslol | 9d113b2d06ddf052bfe4b9ad78beb26680c5310f | [
"MIT"
] | null | null | null | -- cheat-works by variable
-- includes:
-- chams, aim-assist, esp, full brightness, snapline/wiring
local plr = game.Players.LocalPlayer
local camera = workspace.CurrentCamera
-- toggling bools
local botting = false
local esp = false
local chamstog = false
local brightness = false
local wire = false
-- util
functi... | 22.377863 | 106 | 0.685656 |
cd2bb2b1caf2634472615236f9221eeed340583a | 1,729 | cs | C# | src/Microsoft.Health.Dicom.Api/Web/AspNetCoreMultipartReaderFactory.cs | rohankhera/dicom-server | 9ce5d79e0f88bad2e54e7a1ebb21ec5234daa0d1 | [
"MIT"
] | 205 | 2020-09-22T16:23:29.000Z | 2022-03-25T10:25:26.000Z | src/Microsoft.Health.Dicom.Api/Web/AspNetCoreMultipartReaderFactory.cs | rohankhera/dicom-server | 9ce5d79e0f88bad2e54e7a1ebb21ec5234daa0d1 | [
"MIT"
] | 350 | 2020-09-22T02:12:16.000Z | 2022-03-31T16:27:28.000Z | src/Microsoft.Health.Dicom.Api/Web/AspNetCoreMultipartReaderFactory.cs | KnicKnic/dicom-server | dcc067d7b2628e68cca9bebfbd98fe8aa5505746 | [
"MIT"
] | 82 | 2020-09-22T17:05:50.000Z | 2022-03-14T18:18:10.000Z | // -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 39.295455 | 101 | 0.61712 |
05c8b0309daea1698b31f3a467d97533a5f75968 | 1,953 | py | Python | main/node_codes/main/SensorNode.py | mouryarahul/USMART-IOT | f712f40ec5df6dbb97e083a7fd21f6cb4ac95c86 | [
"MIT"
] | null | null | null | main/node_codes/main/SensorNode.py | mouryarahul/USMART-IOT | f712f40ec5df6dbb97e083a7fd21f6cb4ac95c86 | [
"MIT"
] | null | null | null | main/node_codes/main/SensorNode.py | mouryarahul/USMART-IOT | f712f40ec5df6dbb97e083a7fd21f6cb4ac95c86 | [
"MIT"
] | null | null | null | import micropython
import pyb
import utime
from machine import UART
from machine import Pin
from unm3driver import MessagePacket
from unm3driver import Nm3
micropython.alloc_emergency_exception_buf(100)
# ==================== Global Variable ========================== #
packet_arrival_bflag = False
packet_arrival_ti... | 32.016393 | 98 | 0.700973 |
31204b89f75a2fdfe8efb7f0c18352e96075848b | 6,125 | rb | Ruby | lib/loaders/spree/spree_loading.rb | prashanthiremath/datashift_spree_new | 674f420cb8bdbb2e8e4c32394b87e181334561e5 | [
"MIT"
] | null | null | null | lib/loaders/spree/spree_loading.rb | prashanthiremath/datashift_spree_new | 674f420cb8bdbb2e8e4c32394b87e181334561e5 | [
"MIT"
] | null | null | null | lib/loaders/spree/spree_loading.rb | prashanthiremath/datashift_spree_new | 674f420cb8bdbb2e8e4c32394b87e181334561e5 | [
"MIT"
] | null | null | null | # Copyright:: (c) Autotelik Media Ltd 2016
# Author :: Tom Statter
# Date :: Aug 2010
# License:: MIT ?
#
# Details:: Specific support for Loading Spree data
#
require 'loaders/paperclip/image_loading'
module DataShift
module SpreeLoading
include DataShift::ImageLoading
include DataShift::Delimi... | 31.901042 | 124 | 0.618776 |
9e5cad7b3cf36498592640c602bdf22a35c0d589 | 409 | kt | Kotlin | app/src/main/java/org/xm/app/translator/opensource/mvvm/repository/db/entity/History.kt | devallever/Translator-MVVM-Jetpack-OpenSource | e45837e2134bbde2cff6c00e46c47ee6e0a3c244 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/org/xm/app/translator/opensource/mvvm/repository/db/entity/History.kt | devallever/Translator-MVVM-Jetpack-OpenSource | e45837e2134bbde2cff6c00e46c47ee6e0a3c244 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/org/xm/app/translator/opensource/mvvm/repository/db/entity/History.kt | devallever/Translator-MVVM-Jetpack-OpenSource | e45837e2134bbde2cff6c00e46c47ee6e0a3c244 | [
"Apache-2.0"
] | null | null | null | package org.xm.app.translator.opensource.mvvm.repository.db.entity
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity
class History {
@PrimaryKey(autoGenerate = true)
var id: Long = 0L
var srcText: String = ""
var sl: String = "en"
var tl: String = "en"
var time: Long = 0
... | 20.45 | 66 | 0.645477 |
ae852686f389aaa8fa8ef899bea51cc811f3ab6d | 184 | dart | Dart | lib/models/usermodel.dart | ashishs07/car_market | 2dc3e2d7f8048cc6855231420cab85b402967891 | [
"MIT"
] | null | null | null | lib/models/usermodel.dart | ashishs07/car_market | 2dc3e2d7f8048cc6855231420cab85b402967891 | [
"MIT"
] | null | null | null | lib/models/usermodel.dart | ashishs07/car_market | 2dc3e2d7f8048cc6855231420cab85b402967891 | [
"MIT"
] | 1 | 2019-10-02T13:21:46.000Z | 2019-10-02T13:21:46.000Z | import 'package:flutter/material.dart';
class UserModel {
final String email;
final String password;
UserModel({
@required this.email,
@required this.password,
});
}
| 15.333333 | 39 | 0.690217 |
2c3458f8dc872f38847de6978483ebc3f803b37f | 1,087 | py | Python | PySe/driver.py | dichen2013/XJL-UIAutoTest | b51d26e1396027e7b09d4153d8beb71ddbd0154d | [
"Apache-2.0"
] | 10 | 2019-07-31T14:28:32.000Z | 2020-11-24T02:11:34.000Z | PySe/driver.py | DDDDanny/S-UIAutoTest | 6426e66760c4addae4447a2c9847ebd53f95e16c | [
"Apache-2.0"
] | null | null | null | PySe/driver.py | DDDDanny/S-UIAutoTest | 6426e66760c4addae4447a2c9847ebd53f95e16c | [
"Apache-2.0"
] | 1 | 2020-02-19T01:18:06.000Z | 2020-02-19T01:18:06.000Z | # -*- coding: utf-8 -*-
# @Time : 2019/6/12 13:26
# @Author : DannyDong
# @File : driver.py
# @describe: 浏览器Driver
from selenium import webdriver
class SelectBrowser(object):
def __init__(self):
self.browser_dict = {
'chrome': webdriver.Chrome,
'firefox': webdriver.Firefox,... | 27.871795 | 67 | 0.540018 |
6e3edb58339153fd0abf8972e8cd75e54102e9b8 | 8,755 | lua | Lua | nvim/plugin/packer_compiled.lua | hwlearner/dotfiles | 1c04888eade2a668d3cf229eedf0a58d28d74e69 | [
"MIT"
] | null | null | null | nvim/plugin/packer_compiled.lua | hwlearner/dotfiles | 1c04888eade2a668d3cf229eedf0a58d28d74e69 | [
"MIT"
] | null | null | null | nvim/plugin/packer_compiled.lua | hwlearner/dotfiles | 1c04888eade2a668d3cf229eedf0a58d28d74e69 | [
"MIT"
] | null | null | null | -- Automatically generated packer.nvim plugin loader code
if vim.api.nvim_call_function('has', {'nvim-0.5'}) ~= 1 then
vim.api.nvim_command('echohl WarningMsg | echom "Invalid Neovim version for packer.nvim! | echohl None"')
return
end
vim.api.nvim_command('packadd packer.nvim')
local no_errors = pcall(function(... | 32.306273 | 334 | 0.647287 |
b92575d579fc2ca773599e14c5f26481ef8ecd70 | 875 | asm | Assembly | programs/oeis/266/A266659.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/266/A266659.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/266/A266659.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A266659: Triangle read by rows giving successive states of cellular automaton generated by "Rule 47" initiated with a single ON (black) cell.
; 1,1,1,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,... | 32.407407 | 501 | 0.541714 |
041b6658329c2d1caaa88c681eaf823f59bc5c16 | 976 | cpp | C++ | include/hydro/vm/services/FireService.cpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | include/hydro/vm/services/FireService.cpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | include/hydro/vm/services/FireService.cpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | //
// __ __ __
// / / / /__ __ ____/ /_____ ____
// / /_/ // / / // __ // ___// __ \
// / __ // /_/ // /_/ // / / /_/ /
// /_/ /_/ \__, / \__,_//_/ \____/
// /____/
//
// ... | 18.074074 | 97 | 0.517418 |
ff892c5dcb7148d25479d8a30760f8643a6b60a1 | 11,849 | py | Python | _broken/preproc_feat.py | SU-ECE-17-7/ibeis | b12a45b06d8ce8f52585494c15f6776f5889ed67 | [
"Apache-2.0"
] | null | null | null | _broken/preproc_feat.py | SU-ECE-17-7/ibeis | b12a45b06d8ce8f52585494c15f6776f5889ed67 | [
"Apache-2.0"
] | null | null | null | _broken/preproc_feat.py | SU-ECE-17-7/ibeis | b12a45b06d8ce8f52585494c15f6776f5889ed67 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
r"""
Computes patch based features based on Hesaff, SIFT, or convnets.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
from six.moves import zip, range
import pyhesaff
import utool
import utool as ut
#ut.noinject('[preproc_feat]')
(print, print_, printDBG, ... | 39.761745 | 164 | 0.647734 |
c537647d687eee1743250757f73379513484df2e | 822 | css | CSS | src/containers/Profile/style.css | sinapinto/ricewars | ec1e2cc230a3e190087dff0906561e805d729d1e | [
"MIT"
] | 1 | 2015-11-10T21:05:28.000Z | 2015-11-10T21:05:28.000Z | src/containers/Profile/style.css | sinapinto/ricewars | ec1e2cc230a3e190087dff0906561e805d729d1e | [
"MIT"
] | null | null | null | src/containers/Profile/style.css | sinapinto/ricewars | ec1e2cc230a3e190087dff0906561e805d729d1e | [
"MIT"
] | null | null | null | @import "../../style/variables.css";
.root {
width: 100%;
}
.bioWrapper {
margin: 0 auto;
}
.bio {
margin: 4em 0;
text-align: center;
}
.avatar {
border-radius: 50%;
}
.username {
margin: 10px 0;
font-size: 40px;
font-weight: 700;
& a {
color: var(--font-color);
}
}
.joined {
margin: 0;... | 11.742857 | 36 | 0.57056 |
128931ef9e0d498f1fe6c26d2d0d8abd435e5168 | 12,159 | dart | Dart | lib/src/aztec/encoder/high_level_encoder.dart | winterdl/zxing-dart | 5455eb20b9cdca122897dadcbe4fead2e321c42d | [
"Apache-2.0"
] | 13 | 2021-05-30T10:12:46.000Z | 2022-02-08T08:36:42.000Z | lib/src/aztec/encoder/high_level_encoder.dart | winterdl/zxing-dart | 5455eb20b9cdca122897dadcbe4fead2e321c42d | [
"Apache-2.0"
] | 3 | 2021-06-15T18:58:55.000Z | 2021-11-10T02:29:08.000Z | lib/src/aztec/encoder/high_level_encoder.dart | winterdl/zxing-dart | 5455eb20b9cdca122897dadcbe4fead2e321c42d | [
"Apache-2.0"
] | 4 | 2021-06-27T19:21:15.000Z | 2021-11-01T12:41:18.000Z | /*
* Copyright 2013 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 37.643963 | 84 | 0.581709 |
e20eefdd2815d5bfbc0c12e883b0b863f1a50004 | 98 | htm | HTML | dist/gameserver/data/html-en/quests/_008_AnAdventureBegins/harne_q0008_0302.htm | Arodev76/L2Advanced | 12625a32ea7114b9d1d1ac0238da8422d714fc17 | [
"MIT"
] | 7 | 2018-02-05T10:28:56.000Z | 2020-08-06T06:35:54.000Z | dist/gameserver/data/html-en/quests/_008_AnAdventureBegins/harne_q0008_0302.htm | Kryspo/L2jRamsheart | 98c39d754f5aba1806f92acc9e8e63b3b827be49 | [
"MIT"
] | 3 | 2020-02-26T06:49:17.000Z | 2020-03-05T05:11:05.000Z | dist/gameserver/data/html-en/quests/_008_AnAdventureBegins/harne_q0008_0302.htm | Kryspo/L2jRamsheart | 98c39d754f5aba1806f92acc9e8e63b3b827be49 | [
"MIT"
] | 12 | 2018-02-12T20:58:07.000Z | 2020-06-07T02:44:42.000Z | !MagisterHarne:
What note?
If you don't have any business with me, don't waste my time. Go away! | 19.6 | 69 | 0.734694 |
93f67c73e567a2ed110880a603c6703520193054 | 150 | cs | C# | DFC.ServiceTaxonomy.VersionComparison/Models/Parts/HtmlBodyPart.cs | SkillsFundingAgency/dfc-servicetaxonomy-editor | 2b652f44726777af6423295786042fb1f1ec9c74 | [
"MIT"
] | 5 | 2020-11-26T20:48:23.000Z | 2022-01-12T09:31:53.000Z | DFC.ServiceTaxonomy.VersionComparison/Models/Parts/HtmlBodyPart.cs | SkillsFundingAgency/dfc-servicetaxonomy-editor | 2b652f44726777af6423295786042fb1f1ec9c74 | [
"MIT"
] | 62 | 2020-02-26T13:33:54.000Z | 2022-03-08T12:06:30.000Z | DFC.ServiceTaxonomy.VersionComparison/Models/Parts/HtmlBodyPart.cs | SkillsFundingAgency/dfc-servicetaxonomy-editor | 2b652f44726777af6423295786042fb1f1ec9c74 | [
"MIT"
] | 3 | 2021-01-12T13:29:17.000Z | 2021-04-11T08:33:01.000Z | namespace DFC.ServiceTaxonomy.VersionComparison.Models.Parts
{
public class HtmlBodyPart
{
public string? Html { get; set; }
}
}
| 18.75 | 61 | 0.666667 |
72e464449e0853962f069238924b5136b36a2de0 | 1,039 | cs | C# | EnableGPlayWithPC/Permissions.cs | shiosefine/EnableGPlayWithPC | 4f2472005497f9d67c072a7320a3dfbb8ea70312 | [
"MIT"
] | null | null | null | EnableGPlayWithPC/Permissions.cs | shiosefine/EnableGPlayWithPC | 4f2472005497f9d67c072a7320a3dfbb8ea70312 | [
"MIT"
] | null | null | null | EnableGPlayWithPC/Permissions.cs | shiosefine/EnableGPlayWithPC | 4f2472005497f9d67c072a7320a3dfbb8ea70312 | [
"MIT"
] | null | null | null | namespace EnableGPlayWithPC
{
internal static class Permissions
{
internal static string Prefix = "android.permission.";
internal static string[] Vending = new string[]
{
"BATTERY_STATS",
"DUMP",
"GET_APP_OPS_STATS",
"WRITE_SECURE_SETTIN... | 26.641026 | 62 | 0.520693 |
4427b4eb4260da30921c2e45029b52a169e0c1f3 | 319 | py | Python | oi_ghostwriter/management/commands/delete_printouts.py | olimpiada/oi-bus | c61805e6f51e933ceb9efdf556f6d5f229610707 | [
"MIT"
] | 2 | 2020-06-05T07:49:55.000Z | 2020-06-05T07:55:00.000Z | oi_ghostwriter/management/commands/delete_printouts.py | olimpiada/oi-bus | c61805e6f51e933ceb9efdf556f6d5f229610707 | [
"MIT"
] | null | null | null | oi_ghostwriter/management/commands/delete_printouts.py | olimpiada/oi-bus | c61805e6f51e933ceb9efdf556f6d5f229610707 | [
"MIT"
] | null | null | null | from django.core.management.base import BaseCommand, CommandError
from django.db.utils import IntegrityError
from oi_ghostwriter.models import Backup
import json
class Command(BaseCommand):
help = 'Deletes all computers from database'
def handle(self, *args, **options):
Backup.objects.all().delete()
| 29 | 65 | 0.76489 |
cc7a3dcb702367ff1b3b9204b9d5c088a6c836a0 | 259 | rb | Ruby | db/migrate/20201205191150_add_otp_secret_key_otp_module_to_users.rb | tactilenews/100eyes | a6d2af3713ae840ee9acc19fb655dc3e92b17da9 | [
"MIT"
] | 8 | 2020-09-20T14:03:31.000Z | 2021-10-04T07:17:59.000Z | db/migrate/20201205191150_add_otp_secret_key_otp_module_to_users.rb | prototypefund/100eyes | 955da0afac850c208348ec0257614c2fe726872b | [
"MIT"
] | 514 | 2020-03-24T15:23:59.000Z | 2022-03-30T10:24:23.000Z | db/migrate/20201205191150_add_otp_secret_key_otp_module_to_users.rb | prototypefund/100eyes | 955da0afac850c208348ec0257614c2fe726872b | [
"MIT"
] | 3 | 2020-05-20T13:50:41.000Z | 2021-04-27T12:56:09.000Z | # frozen_string_literal: true
class AddOtpSecretKeyOtpModuleToUsers < ActiveRecord::Migration[6.0]
def change
change_table :users, bulk: true do |t|
t.string :otp_secret_key
t.column :otp_enabled, :boolean, default: false
end
end
end
| 23.545455 | 68 | 0.725869 |
b34a6bc4b020c394a058921234bd8e51a4b6c163 | 1,617 | py | Python | app/lib/modules/image_loader.py | kosuke1701/character-reid | 5b7d1d01a1a046f3f25a863d24022bf21f95ff9d | [
"MIT"
] | 1 | 2021-06-22T04:06:40.000Z | 2021-06-22T04:06:40.000Z | app/lib/modules/image_loader.py | kosuke1701/character-reid | 5b7d1d01a1a046f3f25a863d24022bf21f95ff9d | [
"MIT"
] | null | null | null | app/lib/modules/image_loader.py | kosuke1701/character-reid | 5b7d1d01a1a046f3f25a863d24022bf21f95ff9d | [
"MIT"
] | 2 | 2020-03-03T14:29:33.000Z | 2020-03-10T04:49:49.000Z | from PIL import Image
import numpy as np
import torch
from torchvision import transforms
def _load_image(filename):
try:
with open(filename, "rb") as f:
image = Image.open(f)
return image.convert("RGB")
except UserWarning as e:
print(filename)
input("Something ... | 29.4 | 92 | 0.560915 |
e70f9ed9cffdc2bf650a412151c36d2bb5b0ef73 | 1,583 | php | PHP | src/portpontrieuxBundle/Entity/Emplacement.php | ALFantoine22/protpontrieux | dc1e9e2d5a8c578145113b491e7f10d5514c1c8f | [
"MIT"
] | null | null | null | src/portpontrieuxBundle/Entity/Emplacement.php | ALFantoine22/protpontrieux | dc1e9e2d5a8c578145113b491e7f10d5514c1c8f | [
"MIT"
] | null | null | null | src/portpontrieuxBundle/Entity/Emplacement.php | ALFantoine22/protpontrieux | dc1e9e2d5a8c578145113b491e7f10d5514c1c8f | [
"MIT"
] | null | null | null | <?php
namespace portpontrieuxBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Emplacement
*
* @ORM\Table(name="emplacement")
* @ORM\Entity(repositoryClass="portpontrieuxBundle\Repository\EmplacementRepository")
*/
class Emplacement
{
/**
* @var int
*
* @ORM\Column(name="id", type="intege... | 16.663158 | 86 | 0.545167 |
b31842f8525c09538321140388d4561f4b266935 | 1,588 | py | Python | bin/local-align.py | UdoGi/dark-matter | 3d49e89fa5e81f83144119f6216c5774176d203b | [
"MIT"
] | 10 | 2016-03-09T09:43:14.000Z | 2021-04-03T21:46:12.000Z | bin/local-align.py | terrycojones/dark-matter | 67d16f870db6b4239e17e542bc6e3f072dc29c75 | [
"MIT"
] | 332 | 2015-01-07T12:37:30.000Z | 2022-01-20T15:48:11.000Z | bin/local-align.py | terrycojones/dark-matter | 67d16f870db6b4239e17e542bc6e3f072dc29c75 | [
"MIT"
] | 4 | 2016-03-08T14:56:39.000Z | 2021-01-27T08:11:27.000Z | #!/usr/bin/env python
"""
Aligns each FASTA sequence in one file to each sequence in another.
"""
from __future__ import print_function
import argparse
from dark.fasta import FastaReads
from dark.local_align import LocalAlignment
parser = argparse.ArgumentParser(
formatter_class=argparse.ArgumentDefaultsHelpF... | 28.872727 | 78 | 0.702771 |
0d48a3272e450ecd6d89ccb5044782fb7daee2c0 | 409 | h | C | src/game/Sys_Globals.h | oldlaptop/ja2-stracciatella | a29e729dfec564c3ef7f7990ed7d5cd6c2e1c2a8 | [
"BSD-Source-Code"
] | null | null | null | src/game/Sys_Globals.h | oldlaptop/ja2-stracciatella | a29e729dfec564c3ef7f7990ed7d5cd6c2e1c2a8 | [
"BSD-Source-Code"
] | null | null | null | src/game/Sys_Globals.h | oldlaptop/ja2-stracciatella | a29e729dfec564c3ef7f7990ed7d5cd6c2e1c2a8 | [
"BSD-Source-Code"
] | null | null | null | #ifndef __SYS_GLOBALS_H
#define __SYS_GLOBALS_H
#define SHOW_MIN_FPS 0
#define SHOW_FULL_FPS 1
extern char gubErrorText[200];
extern BOOLEAN gfAniEditMode;
extern BOOLEAN gfEditMode;
extern BOOLEAN fFirstTimeInGameScreen;
extern INT8 gbFPSDisplay;
extern BOOLEAN gfGlobalError;
extern UINT32 guiGameCycleCounte... | 19.47619 | 46 | 0.806846 |
850ac73d5ec0e411c76b7a3d31c3d36e07b399ed | 3,233 | cs | C# | src/JoinRpg.WebPortal.Models/ClaimList/ClaimListItemViewModelBase.cs | leotsarev/joinrpg-net | 88df35fedc5cee73067e9fec9e850cb02826c576 | [
"MIT"
] | 1 | 2018-01-24T18:44:33.000Z | 2018-01-24T18:44:33.000Z | src/JoinRpg.WebPortal.Models/ClaimList/ClaimListItemViewModelBase.cs | leotsarev/joinrpg-net | 88df35fedc5cee73067e9fec9e850cb02826c576 | [
"MIT"
] | null | null | null | src/JoinRpg.WebPortal.Models/ClaimList/ClaimListItemViewModelBase.cs | leotsarev/joinrpg-net | 88df35fedc5cee73067e9fec9e850cb02826c576 | [
"MIT"
] | null | null | null | using System;
using System.ComponentModel.DataAnnotations;
using JetBrains.Annotations;
using JoinRpg.DataModel;
using JoinRpg.Domain;
namespace JoinRpg.Web.Models.ClaimList
{
public abstract class ClaimListItemViewModelBase : ILinkable
{
[Display(Name = "Имя")]
public string Name { get; set; }... | 32.989796 | 136 | 0.60099 |
256511bb13d7f2b67c9c9c7d061284beed29de5a | 7,572 | js | JavaScript | test/test-push-client.js | JohnSmithDr/node-umeng-push | 97f3a9f44295a16044b3c59d2f471910327b222e | [
"MIT"
] | null | null | null | test/test-push-client.js | JohnSmithDr/node-umeng-push | 97f3a9f44295a16044b3c59d2f471910327b222e | [
"MIT"
] | null | null | null | test/test-push-client.js | JohnSmithDr/node-umeng-push | 97f3a9f44295a16044b3c59d2f471910327b222e | [
"MIT"
] | null | null | null | 'use strict';
const expect = require('chai').expect;
const UmengPushClient = require('..').UmengPushClient;
const UmengPushArgs = require('..').UmengPushArgs;
const keys = require('./keys');
const logger = require('./test-logger');
describe('UmengPushClient', function() {
let androidClient = UmengPushClient.creat... | 25.931507 | 92 | 0.503698 |
501d7770d9c889792736059363536f7a903c6983 | 84 | sql | SQL | database/src/main/resources/db/migration/V81__revurdering_forhåndsvarsling.sql | navikt/su-se-bakover | 38437fc2dad711702922bdf05ef7d010a8ce90d2 | [
"MIT"
] | null | null | null | database/src/main/resources/db/migration/V81__revurdering_forhåndsvarsling.sql | navikt/su-se-bakover | 38437fc2dad711702922bdf05ef7d010a8ce90d2 | [
"MIT"
] | 108 | 2020-06-29T08:58:16.000Z | 2022-03-28T15:41:38.000Z | database/src/main/resources/db/migration/V81__revurdering_forhåndsvarsling.sql | navikt/su-se-bakover | 38437fc2dad711702922bdf05ef7d010a8ce90d2 | [
"MIT"
] | null | null | null | alter table revurdering add column if not exists forhåndsvarsel jsonb default null;
| 42 | 83 | 0.845238 |
40fe8ecd5b265e8e5467907729f792b4ff2fcd42 | 2,526 | ts | TypeScript | packages/db/src/books/books.ts | adjerbetian/alexandre-djerbetian | 797378228f5d4ec3c22ab82189ecfefac7d0af3c | [
"MIT"
] | null | null | null | packages/db/src/books/books.ts | adjerbetian/alexandre-djerbetian | 797378228f5d4ec3c22ab82189ecfefac7d0af3c | [
"MIT"
] | 124 | 2020-04-13T17:14:17.000Z | 2021-07-30T03:56:57.000Z | packages/db/src/books/books.ts | adjerbetian/alexandre-djerbetian | 797378228f5d4ec3c22ab82189ecfefac7d0af3c | [
"MIT"
] | null | null | null | import { BookDBModel } from "./dbModel";
import { cleanCode } from "./clean-code";
import { javascriptTheGoodPart } from "./javascript-the-good-parts";
import { decouvrirDevops } from "./decouvrir-devops";
import { designPatterns } from "./design-patterns";
import { masteringModularJavascript } from "./mastering-modula... | 31.185185 | 90 | 0.618765 |
b0df79b6bb2a6ccc0002c8726493fa73df74dc18 | 3,382 | py | Python | src/protocols/BLE/ble_replay_attack.py | QWERTSKIHACK/peniot | 8b5c5c4dddb5adf53977c3e2e99e645a086f1f0b | [
"MIT"
] | 143 | 2019-12-31T08:12:36.000Z | 2022-03-31T15:59:51.000Z | src/protocols/BLE/ble_replay_attack.py | QWERTSKIHACK/peniot | 8b5c5c4dddb5adf53977c3e2e99e645a086f1f0b | [
"MIT"
] | 5 | 2020-01-28T15:47:23.000Z | 2022-02-23T11:18:55.000Z | src/protocols/BLE/ble_replay_attack.py | QWERTSKIHACK/peniot | 8b5c5c4dddb5adf53977c3e2e99e645a086f1f0b | [
"MIT"
] | 39 | 2019-12-30T22:19:38.000Z | 2022-03-17T10:24:37.000Z | import os
from protocols.BLE.ble_device import BLEDevice
class BLEReplayAttackHelper:
"""
This is the helper class which is used to perform BLE Replay attack.
"""
def __init__(self, file_path):
self.file_path = file_path
self.write_requests = {}
self.run()
def run(self):
... | 35.6 | 97 | 0.542578 |
e3dc6c9e33bc52a597a131fafdab34e4d0a08bc4 | 114 | sql | SQL | applications/credhub-api/src/main/resources/db/migration/mysql/V20__add_uuid_to_named_canary.sql | ystros/credhub | a6f91ee204225b76e4101b9c141e29c92ffee9d1 | [
"Apache-2.0"
] | 178 | 2017-03-09T18:17:26.000Z | 2021-09-01T17:07:24.000Z | applications/credhub-api/src/main/resources/db/migration/mysql/V20__add_uuid_to_named_canary.sql | ystros/credhub | a6f91ee204225b76e4101b9c141e29c92ffee9d1 | [
"Apache-2.0"
] | 198 | 2017-02-21T22:38:32.000Z | 2021-10-11T21:55:48.000Z | applications/credhub-api/src/main/resources/db/migration/mysql/V20__add_uuid_to_named_canary.sql | ystros/credhub | a6f91ee204225b76e4101b9c141e29c92ffee9d1 | [
"Apache-2.0"
] | 64 | 2017-02-22T01:09:18.000Z | 2021-08-20T19:24:19.000Z | RENAME TABLE named_canary TO encryption_key_canary;
ALTER TABLE encryption_key_canary ADD COLUMN uuid BINARY(16);
| 38 | 61 | 0.859649 |
c9c73e55a321c7c93f25d1285ce5858d3a29fb3e | 324 | ts | TypeScript | src/app/components/input-demo/input-demo-example-03/input-demo-example-03.component.ts | gitter-badger/Alyle-UI | f779d64e39716a446b130f54dd44f9cbe3c2e625 | [
"MIT"
] | null | null | null | src/app/components/input-demo/input-demo-example-03/input-demo-example-03.component.ts | gitter-badger/Alyle-UI | f779d64e39716a446b130f54dd44f9cbe3c2e625 | [
"MIT"
] | null | null | null | src/app/components/input-demo/input-demo-example-03/input-demo-example-03.component.ts | gitter-badger/Alyle-UI | f779d64e39716a446b130f54dd44f9cbe3c2e625 | [
"MIT"
] | null | null | null | import { Component } from '@angular/core';
@Component({
selector: 'input-demo-example-03',
templateUrl: './input-demo-example-03.component.html',
styleUrls: ['./input-demo-example-03.component.css']
})
export class InputDemoExample03Component {
github = 'A-l-y-l-e/Alyle-UI';
mobile: string;
message: string... | 24.923077 | 56 | 0.700617 |
54198ffad420216bf191b27730ed40e82a6c55d9 | 169,348 | css | CSS | crepelatier2/static/css/main.min.css | Felexus/crepelatier2 | 7690578c18fdaaac12a2576c18e18a1b53d34f49 | [
"MIT"
] | null | null | null | crepelatier2/static/css/main.min.css | Felexus/crepelatier2 | 7690578c18fdaaac12a2576c18e18a1b53d34f49 | [
"MIT"
] | null | null | null | crepelatier2/static/css/main.min.css | Felexus/crepelatier2 | 7690578c18fdaaac12a2576c18e18a1b53d34f49 | [
"MIT"
] | null | null | null | /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-bloc... | 14,112.333333 | 113,857 | 0.800712 |
2153f0a374158d657707d85bece64f6724d70cf8 | 506 | sql | SQL | openGaussBase/testcase/SQL/DDL/name/Opengauss_Function_DDL_Name_Case0009.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/SQL/DDL/name/Opengauss_Function_DDL_Name_Case0009.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/SQL/DDL/name/Opengauss_Function_DDL_Name_Case0009.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint: 约束名为64位(opengauss中没有明确长度限制,所以现在超出长度会截断并不会报错)
DROP TABLE IF EXISTS tal_09;
CREATE TABLE tal_09( C_CHAR20 CHAR(20) not null, C_INT INT);
ALTER TABLE tal_09 ADD CONSTRAINT BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBB64 UNIQUE(C_INT);
INSERT INTO tal_09 VALUES('2020-07-06',53);
INSERT INT... | 42.166667 | 120 | 0.83004 |
b024472508455ec4629c56f86163c48ec1864f01 | 5,546 | py | Python | board/utils.py | devunt/hydrocarbon | 3e13f03f8375533c422a6e609742b3d2f4c38c0f | [
"MIT"
] | 8 | 2015-04-14T00:36:08.000Z | 2017-06-02T06:08:51.000Z | board/utils.py | devunt/hydrocarbon | 3e13f03f8375533c422a6e609742b3d2f4c38c0f | [
"MIT"
] | 10 | 2020-03-24T15:33:11.000Z | 2022-03-11T23:16:05.000Z | board/utils.py | devunt/hydrocarbon | 3e13f03f8375533c422a6e609742b3d2f4c38c0f | [
"MIT"
] | 2 | 2016-08-04T23:58:29.000Z | 2016-09-22T10:20:05.000Z | import bleach
import os
import re
from collections import defaultdict
from hashlib import md5
from urllib.parse import quote_plus, urlparse
from django.conf import settings
from django.http import QueryDict
from django.utils.encoding import iri_to_uri
from django.utils.html import strip_tags
from django.utils.text im... | 30.306011 | 158 | 0.591417 |
6dac4d61ba507a4d68b5ecbaf0629d76ae80df39 | 575 | c | C | baskara.c | DariaMachado/Algoritmos_em_C | fc2ad56d9589ae13f4672d712f3c8f29223caa63 | [
"MIT"
] | null | null | null | baskara.c | DariaMachado/Algoritmos_em_C | fc2ad56d9589ae13f4672d712f3c8f29223caa63 | [
"MIT"
] | null | null | null | baskara.c | DariaMachado/Algoritmos_em_C | fc2ad56d9589ae13f4672d712f3c8f29223caa63 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <math.h>
int main() {
double a, b, c, x1, x2, delta;
printf("Coeficiente a: ");
scanf("%lf", &a);
printf("Coeficiente b: ");
scanf("%lf", &b);
printf("Coeficiente c: ");
scanf("%lf", &c);
delta = pow(b, 2) - 4.0 * a * c;
if((a != 0) && (delta > 0)) {
... | 20.535714 | 57 | 0.450435 |