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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
20913f67f5c7e98b2f46e32b9bd679205b18fbc1 | 312 | asm | Assembly | programs/oeis/040/A040752.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/040/A040752.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/040/A040752.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A040752: Continued fraction for sqrt(780).
; 27,1,12,1,54,1,12,1,54,1,12,1,54,1,12,1,54,1,12,1,54,1,12,1,54,1,12,1,54,1,12,1,54,1,12,1,54,1,12,1,54,1,12,1,54,1,12,1,54,1,12,1,54,1,12,1,54,1,12,1,54,1,12,1,54,1,12,1,54,1,12,1,54,1,12
mul $0,2
seq $0,40329 ; Continued fraction for sqrt(348).
mul $0,3
div $0,2
| 39 | 189 | 0.634615 |
6b5c2f1c8ad315eaebf314454accf3b794b4106c | 1,038 | hpp | C++ | src/catch2/catch_tag_alias_autoregistrar.hpp | signal-Processor/Catch2 | 2dbe63a6ba949c3f0a2078770f7d12cfe5adc10c | [
"BSL-1.0"
] | 8 | 2021-03-17T19:25:12.000Z | 2022-02-05T02:08:21.000Z | src/catch2/catch_tag_alias_autoregistrar.hpp | signal-Processor/Catch2 | 2dbe63a6ba949c3f0a2078770f7d12cfe5adc10c | [
"BSL-1.0"
] | null | null | null | src/catch2/catch_tag_alias_autoregistrar.hpp | signal-Processor/Catch2 | 2dbe63a6ba949c3f0a2078770f7d12cfe5adc10c | [
"BSL-1.0"
] | 2 | 2021-09-22T14:39:51.000Z | 2021-11-08T09:47:38.000Z |
// Copyright Catch2 Authors
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
// SPDX-License-Identifier: BSL-1.0
#ifndef CATCH_TAG_ALIAS_AUTOREGISTRAR_HPP_INCLUDED
#define CATCH_TAG_ALIAS_... | 35.793103 | 140 | 0.785164 |
bee87113cfde4750d83b8c16ca53c808197d1295 | 158 | ts | TypeScript | node_modules/@lion/localize/src/isLocalizeESModule.d.ts | daKmoR/studies | befe573ee29d18deb5fb3dd45ecd63ad4285ee73 | [
"CC0-1.0"
] | null | null | null | node_modules/@lion/localize/src/isLocalizeESModule.d.ts | daKmoR/studies | befe573ee29d18deb5fb3dd45ecd63ad4285ee73 | [
"CC0-1.0"
] | null | null | null | node_modules/@lion/localize/src/isLocalizeESModule.d.ts | daKmoR/studies | befe573ee29d18deb5fb3dd45ecd63ad4285ee73 | [
"CC0-1.0"
] | null | null | null | /**
* @param {Object.<string, Object>} obj
* @returns {boolean}
*/
export default function isLocalizeESModule(obj: {
[x: string]: Object;
}): boolean;
| 19.75 | 49 | 0.64557 |
dab50cbf33b9fa57b9744cdf839a22bea0ac3582 | 2,776 | php | PHP | vendor/fancyecommerce/fecshop/config/services/Helper.php | solo307/fecshop | a8021fca53efb4e349a8e9f8eb538d2eebf6c6c8 | [
"BSD-3-Clause"
] | null | null | null | vendor/fancyecommerce/fecshop/config/services/Helper.php | solo307/fecshop | a8021fca53efb4e349a8e9f8eb538d2eebf6c6c8 | [
"BSD-3-Clause"
] | null | null | null | vendor/fancyecommerce/fecshop/config/services/Helper.php | solo307/fecshop | a8021fca53efb4e349a8e9f8eb538d2eebf6c6c8 | [
"BSD-3-Clause"
] | null | null | null | <?php
/**
* FecShop file.
* @link http://www.fecshop.com/
* @copyright Copyright (c) 2016 FecShop Software LLC
* @license http://www.fecshop.com/license/
*/
return [
'helper' => [
'class' => 'fecshop\services\Helper',
// 子服务
'childService' => [
'ar' => [
'cla... | 35.589744 | 103 | 0.372839 |
0be0cf20fa2c32b437561def4a37be2112c00286 | 6,213 | hpp | C++ | src/common/low_precision_transformations/include/low_precision/propagate_shared_value.hpp | ytorzuk-altran/openvino | 68d460a3bb578a738ba0e4d0e1f2e321afa73ab0 | [
"Apache-2.0"
] | 1 | 2021-12-10T09:37:20.000Z | 2021-12-10T09:37:20.000Z | src/common/low_precision_transformations/include/low_precision/propagate_shared_value.hpp | ytorzuk-altran/openvino | 68d460a3bb578a738ba0e4d0e1f2e321afa73ab0 | [
"Apache-2.0"
] | 48 | 2020-11-20T10:24:33.000Z | 2022-03-30T17:46:48.000Z | src/common/low_precision_transformations/include/low_precision/propagate_shared_value.hpp | ytorzuk-altran/openvino | 68d460a3bb578a738ba0e4d0e1f2e321afa73ab0 | [
"Apache-2.0"
] | 1 | 2022-03-27T06:37:35.000Z | 2022-03-27T06:37:35.000Z | // Copyright (C) 2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <assert.h>
#include <memory>
#include <vector>
#include <ngraph/node.hpp>
#include <ngraph/variant.hpp>
#include <low_precision/lpt_visibility.hpp>
#include <ngraph/pass/graph_rewrite.hpp>
#include "low_precision... | 39.826923 | 135 | 0.570095 |
e2d3aa4ddd549b8ddfd33eb2f759e06da2d9b154 | 1,649 | py | Python | src/model/synapses/numba_backend/ExpSyn.py | Fassial/pku-intern | 4463e7d5a5844c8002f7e3d01b4fadc3a20e2038 | [
"MIT"
] | null | null | null | src/model/synapses/numba_backend/ExpSyn.py | Fassial/pku-intern | 4463e7d5a5844c8002f7e3d01b4fadc3a20e2038 | [
"MIT"
] | null | null | null | src/model/synapses/numba_backend/ExpSyn.py | Fassial/pku-intern | 4463e7d5a5844c8002f7e3d01b4fadc3a20e2038 | [
"MIT"
] | null | null | null | """
Created on 12:58, June. 4th, 2021
Author: fassial
Filename: ExpSyn.py
"""
import brainpy as bp
__all__ = [
"ExpSyn",
]
class ExpSyn(bp.TwoEndConn):
target_backend = ['numpy', 'numba', 'numba-parallel', 'numba-cuda']
@staticmethod
def derivative(s, t, tau):
dsdt = -s / tau
return d... | 26.174603 | 85 | 0.521528 |
0df8a673b1ab5818059682788e2e3362d7540e08 | 2,401 | rb | Ruby | lib/simplygenius/atmos/commands/terraform.rb | simplygenius/atmos | f98b7ff8297cff46aa5011a1c506aaf7a4b8af56 | [
"Apache-2.0"
] | 93 | 2018-04-13T10:54:20.000Z | 2021-09-14T00:38:01.000Z | lib/simplygenius/atmos/commands/terraform.rb | simplygenius/atmos | f98b7ff8297cff46aa5011a1c506aaf7a4b8af56 | [
"Apache-2.0"
] | 9 | 2018-06-02T02:41:46.000Z | 2022-01-04T21:32:24.000Z | lib/simplygenius/atmos/commands/terraform.rb | simplygenius/atmos | f98b7ff8297cff46aa5011a1c506aaf7a4b8af56 | [
"Apache-2.0"
] | 7 | 2018-04-26T16:51:50.000Z | 2020-11-04T04:02:59.000Z | require_relative 'base_command'
require_relative '../../atmos/terraform_executor'
module SimplyGenius
module Atmos
module Commands
class Terraform < BaseCommand
include FileUtils
attr_accessor :auto_init
def self.description
"Runs terraform"
end
# overr... | 32.013333 | 99 | 0.619325 |
f71d9a47c9fd67ce0ebf36ef589341302f49bef6 | 757 | rb | Ruby | lib/zen/search/updater.rb | elitenomad/zen-search | ce61a2158d31ed09f953219a57355bb5ac33db02 | [
"MIT"
] | null | null | null | lib/zen/search/updater.rb | elitenomad/zen-search | ce61a2158d31ed09f953219a57355bb5ac33db02 | [
"MIT"
] | null | null | null | lib/zen/search/updater.rb | elitenomad/zen-search | ce61a2158d31ed09f953219a57355bb5ac33db02 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
require "json"
# Updating the collection objects to achieve 2 relationships
# - User has many tickets
# - Ticket belongs to a User
module Zen
module Search
class Updater
def self.run(users, tickets)
users.each do |user|
# List all the ticket for a user
... | 23.65625 | 90 | 0.607662 |
da5cadae496631c24099546ee56a9f110775dc89 | 282 | ts | TypeScript | src/main.ts | Zhaocl1997/walnut-admin-client | 5d051af9d2445820f879128e694c5528c86ff43a | [
"MIT"
] | 5 | 2021-02-04T15:45:24.000Z | 2022-02-21T11:38:33.000Z | src/main.ts | Zhaocl1997/walnut-admin-client | 5d051af9d2445820f879128e694c5528c86ff43a | [
"MIT"
] | null | null | null | src/main.ts | Zhaocl1997/walnut-admin-client | 5d051af9d2445820f879128e694c5528c86ff43a | [
"MIT"
] | null | null | null | import 'virtual:windi.css'
import 'virtual:windi-devtools'
import './assets/styles/main.scss'
import 'vfonts/Lato.css'
import 'vfonts/FiraCode.css'
import { App, setupApp } from './App'
;(async () => {
const app = createApp(App)
await setupApp(app)
app.mount('#app')
})()
| 17.625 | 37 | 0.677305 |
c5131b2a93554661298e012a774812273ce56de4 | 1,449 | css | CSS | web/src/pages/Institucional/styles.css | YagoYJ/FESK | a13d3b704823b6af2f87ea2e749e355465b0a757 | [
"MIT"
] | null | null | null | web/src/pages/Institucional/styles.css | YagoYJ/FESK | a13d3b704823b6af2f87ea2e749e355465b0a757 | [
"MIT"
] | null | null | null | web/src/pages/Institucional/styles.css | YagoYJ/FESK | a13d3b704823b6af2f87ea2e749e355465b0a757 | [
"MIT"
] | null | null | null | .institucionalPage .pageTitle {
text-align: center;
margin: 30px auto;
}
.institucionalPage .card .container h2 {
text-align: center;
margin: 30px auto;
}
.institucionalPage .card .container img {
width: 100%;
max-width: 800px;
}
.institucionalPage .card .container p {
text-align: center;
color: #fff... | 19.065789 | 78 | 0.708765 |
799a8e73998fc16bba7c7b39a27d542d0a1bfcd6 | 242 | rb | Ruby | lib/inline_encryption/errors.rb | sybitetechnologies/inline_encryption | 3ffa851aa366b995808b24db62b226bf1264af46 | [
"MIT"
] | null | null | null | lib/inline_encryption/errors.rb | sybitetechnologies/inline_encryption | 3ffa851aa366b995808b24db62b226bf1264af46 | [
"MIT"
] | null | null | null | lib/inline_encryption/errors.rb | sybitetechnologies/inline_encryption | 3ffa851aa366b995808b24db62b226bf1264af46 | [
"MIT"
] | null | null | null | module InlineEncryption
class MissingRequiredVariableError < StandardError; end
class DecryptionFailureError < StandardError; end
class EncryptionFailureError < StandardError; end
class MisconfigurationError < StandardError; end
end | 30.25 | 57 | 0.834711 |
5db210271b7fdf2ef1417d204ad6eba497f79670 | 1,076 | cpp | C++ | codeforces/1254a.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | 1 | 2020-04-04T14:56:12.000Z | 2020-04-04T14:56:12.000Z | codeforces/1254a.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | null | null | null | codeforces/1254a.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
char c[62];
int cnt[62];
// zig-zag
void solve() {
int n,m,k;
cin >> n >> m >> k;
int rice = 0;
vector<string> s(n);
for (int i = 0; i < n; i++) {
cin >> s[i];
if (i&1) reverse(s[i].begin(), s[i].end());
for (char x: s[i]) if (... | 20.692308 | 51 | 0.362454 |
f4146758bd5a7c7e4cc69b50ccc37eb456437a2c | 4,310 | cs | C# | src/Umbraco.Core/Exceptions/DataOperationException.cs | nul800sebastiaan/Umbraco-CMS | dfdb498537a6253c417f4f755283959416608243 | [
"MIT"
] | 3,375 | 2015-01-02T17:21:08.000Z | 2022-03-31T17:56:19.000Z | src/Umbraco.Core/Exceptions/DataOperationException.cs | nul800sebastiaan/Umbraco-CMS | dfdb498537a6253c417f4f755283959416608243 | [
"MIT"
] | 9,473 | 2015-01-02T01:10:10.000Z | 2022-03-31T23:39:34.000Z | src/Umbraco.Core/Exceptions/DataOperationException.cs | nul800sebastiaan/Umbraco-CMS | dfdb498537a6253c417f4f755283959416608243 | [
"MIT"
] | 3,059 | 2015-01-02T04:31:28.000Z | 2022-03-31T05:27:07.000Z | using System;
using System.Runtime.Serialization;
namespace Umbraco.Cms.Core.Exceptions
{
/// <summary>
///
/// </summary>
/// <typeparam name="T"></typeparam>
/// <seealso cref="System.Exception" />
[Serializable]
public class DataOperationException<T> : Exception
where T : Enum
... | 43.535354 | 207 | 0.616009 |
689ce6e5a50b6419b4be25888500a24a98f3c54c | 316 | kt | Kotlin | desktop/gui/src/main/kotlin/com/soyle/stories/soylestories/welcomeScreen/WelcomeScreenPresenter.kt | Soyle-Productions/soyle-stories | 1a110536865250dcd8d29270d003315062f2b032 | [
"Apache-2.0"
] | 7 | 2021-08-10T18:20:25.000Z | 2022-03-31T07:23:18.000Z | desktop/gui/src/main/kotlin/com/soyle/stories/soylestories/welcomeScreen/WelcomeScreenPresenter.kt | Soyle-Productions/soyle-stories | 1a110536865250dcd8d29270d003315062f2b032 | [
"Apache-2.0"
] | 37 | 2021-08-04T22:51:02.000Z | 2022-02-10T21:29:55.000Z | desktop/gui/src/main/kotlin/com/soyle/stories/soylestories/welcomeScreen/WelcomeScreenPresenter.kt | Soyle-Productions/soyle-stories | 1a110536865250dcd8d29270d003315062f2b032 | [
"Apache-2.0"
] | null | null | null | package com.soyle.stories.soylestories.welcomeScreen
class WelcomeScreenPresenter(
private val view: WelcomeScreenView
) {
fun displayWelcomeScreen() {
view.update {
WelcomeScreenViewModel(
"Welcome to Soyle Stories",
"Soyle Stories",
"Create New Project",
"Open Project"
)
}
}
} | 17.555556 | 52 | 0.696203 |
c718cce57df4925cca51bbeefaf8f84b7d29374a | 156 | sh | Shell | tools/build.sh | lammas/devsmtpd | 6d02db4bd0c902d036bd55a558d3fab3a24f4847 | [
"MIT"
] | null | null | null | tools/build.sh | lammas/devsmtpd | 6d02db4bd0c902d036bd55a558d3fab3a24f4847 | [
"MIT"
] | null | null | null | tools/build.sh | lammas/devsmtpd | 6d02db4bd0c902d036bd55a558d3fab3a24f4847 | [
"MIT"
] | null | null | null | #!/bin/sh
REPO_ROOT=$(cd $(dirname "$0")/..; pwd)
cd "${REPO_ROOT}"
set -e
docker build -t lammas/devsmtpd:latest -t lammas/devsmtpd:1.0.3 -f Dockerfile .
| 22.285714 | 79 | 0.660256 |
905bd3e04972018c5bff47d648ce8f0ede7d626c | 2,329 | rs | Rust | hv/crates/hv-yaks/src/resource/cell.rs | lenscas/hv-dev | 7ae07cb889b20f382acd7293d80dfe3319a91123 | [
"Apache-2.0",
"MIT"
] | 11 | 2021-11-03T20:58:13.000Z | 2022-03-18T00:00:48.000Z | hv/crates/hv-yaks/src/resource/cell.rs | lenscas/hv-dev | 7ae07cb889b20f382acd7293d80dfe3319a91123 | [
"Apache-2.0",
"MIT"
] | 2 | 2022-03-18T18:19:48.000Z | 2022-03-22T00:17:14.000Z | hv/crates/hv-yaks/src/resource/cell.rs | lenscas/hv-dev | 7ae07cb889b20f382acd7293d80dfe3319a91123 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-07T17:57:42.000Z | 2022-03-07T17:57:42.000Z | use std::{ptr::NonNull, thread::panicking};
use super::AtomicBorrow;
/// A pointer to a resource, with runtime borrow checking via an `AtomicBorrow`,
/// accessed through a pointer to a cached one in an executor.
pub struct ResourceCell<R0> {
cell: NonNull<R0>,
borrow: NonNull<AtomicBorrow>,
mutable: bool... | 28.402439 | 93 | 0.550021 |
b0973189822407c493fe0388f164f4d546ff4ccb | 13,279 | py | Python | rss_temple/api/migrations/0001_initial.py | murrple-1/rss_temple | 289197923b1e7d1213f1673d164337df17d7269b | [
"MIT"
] | null | null | null | rss_temple/api/migrations/0001_initial.py | murrple-1/rss_temple | 289197923b1e7d1213f1673d164337df17d7269b | [
"MIT"
] | 8 | 2019-12-04T21:58:35.000Z | 2021-12-15T02:29:49.000Z | rss_temple/api/migrations/0001_initial.py | murrple-1/rss_temple | 289197923b1e7d1213f1673d164337df17d7269b | [
"MIT"
] | null | null | null | # Generated by Django 2.1.7 on 2019-03-10 18:32
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import uuid
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
nam... | 40.117825 | 106 | 0.504631 |
da49abbd91cc5ad6775df04af1679a7717ee94b8 | 3,400 | php | PHP | api/config.php | MarkusWb/BasicPHPcrud | 7c1811066cb255259b323efee650b4bd4b3815fd | [
"BSD-3-Clause"
] | null | null | null | api/config.php | MarkusWb/BasicPHPcrud | 7c1811066cb255259b323efee650b4bd4b3815fd | [
"BSD-3-Clause"
] | null | null | null | api/config.php | MarkusWb/BasicPHPcrud | 7c1811066cb255259b323efee650b4bd4b3815fd | [
"BSD-3-Clause"
] | null | null | null | <?php
error_reporting(0);
$jwt_key = 'someatleast256bitlongencryptionkey------------------------------';
// db infos
$host_name = 'dbhost.com';
$database = 'db12345';
$user_name = 'user12345';
$password = '12345';
$auth_header_field = 'REDIRECT_HTTP_AUTHORIZATION'; // could also be 'HTTP_AUTHORIZATION' depending on... | 28.099174 | 118 | 0.578824 |
8081f02599dea897db7abe6cff3883a40c15650d | 1,207 | html | HTML | runs/templates/runs/input_run.html | bitblueprint/RunningCause | 22114cec0a68ba8a2b7a3c143b71a587f273c7f1 | [
"MIT"
] | 3 | 2015-09-29T14:12:34.000Z | 2016-07-29T08:20:16.000Z | runs/templates/runs/input_run.html | bitblueprint/RunningCause | 22114cec0a68ba8a2b7a3c143b71a587f273c7f1 | [
"MIT"
] | 1 | 2016-07-29T10:38:47.000Z | 2016-08-01T08:32:48.000Z | runs/templates/runs/input_run.html | bitblueprint/RunningCause | 22114cec0a68ba8a2b7a3c143b71a587f273c7f1 | [
"MIT"
] | 3 | 2015-07-16T07:52:27.000Z | 2018-01-05T08:03:09.000Z | {% extends "narrow_base.html" %}
{% load staticfiles %}
{% load i18n %}
{% load bootstrap3 %}
{% block title %}
{% blocktrans %}Input a Run{% endblocktrans %}
{% endblock %}
{% block imports %}
<script src="{% static 'js/bootstrap-datepicker.js' %}"></script>
<script type=text/javascript>
$(document).ready(function(... | 24.632653 | 76 | 0.586578 |
79766ff9b73e7db6490d0d7bd25979a1c34df7df | 2,805 | php | PHP | module/Api/src/Service/Document/Bookmark/PhoneNumbers.php | FeatureToggleStudy/olcs-backend | dce3c1aac50fb62842c300208046bccb253b63b9 | [
"MIT"
] | 1 | 2018-10-12T19:16:10.000Z | 2018-10-12T19:16:10.000Z | module/Api/src/Service/Document/Bookmark/PhoneNumbers.php | FeatureToggleStudy/olcs-backend | dce3c1aac50fb62842c300208046bccb253b63b9 | [
"MIT"
] | 1 | 2020-06-24T15:56:58.000Z | 2020-08-28T13:47:46.000Z | module/Api/src/Service/Document/Bookmark/PhoneNumbers.php | FeatureToggleStudy/olcs-backend | dce3c1aac50fb62842c300208046bccb253b63b9 | [
"MIT"
] | 2 | 2019-11-03T18:43:35.000Z | 2021-04-10T22:08:46.000Z | <?php
namespace Dvsa\Olcs\Api\Service\Document\Bookmark;
use Dvsa\Olcs\Api\Entity\ContactDetails\PhoneContact;
use Dvsa\Olcs\Api\Service\Document\Bookmark\Base\DynamicBookmark;
use Dvsa\Olcs\Api\Domain\Query\Bookmark\LicenceBundle as Qry;
/**
* PhoneNumbers bookmark
*
* @author Alex Peshkov <alex.peshkov@valtech.... | 28.622449 | 89 | 0.438859 |
33f06b203676f96e2649b7516d69fdc35148c983 | 2,101 | c | C | games/hack/hack.rip.c | ivadasz/DragonFlyBSD | 460227f342554313be3c7728ff679dd4a556cce9 | [
"BSD-3-Clause"
] | 48 | 2015-04-05T13:47:38.000Z | 2022-01-13T18:32:19.000Z | games/hack/hack.rip.c | jorisgio/DragonFlyBSD | d37cc9027d161f3e36bf2667d32f41f87606b2ac | [
"BSD-3-Clause"
] | 8 | 2015-04-15T19:15:41.000Z | 2021-09-20T16:18:43.000Z | games/hack/hack.rip.c | jorisgio/DragonFlyBSD | d37cc9027d161f3e36bf2667d32f41f87606b2ac | [
"BSD-3-Clause"
] | 13 | 2015-09-05T14:25:18.000Z | 2022-01-30T21:28:27.000Z | /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* hack.rip.c - version 1.0.2 */
/* $FreeBSD: src/games/hack/hack.rip.c,v 1.4 1999/11/16 10:26:37 marcel Exp $ */
/* $DragonFly: src/games/hack/hack.rip.c,v 1.4 2006/08/21 19:45:32 pavalos Exp $ */
#include "hack.h"
static void center(int, const cha... | 23.344444 | 83 | 0.39743 |
beabbb0fde89f554970b79f8eed99175783e7049 | 678 | tsx | TypeScript | src/shared/components/ReviewDetails/ReviewDetails.tsx | ChiranjibNandy/n11-delta-bookshelf-frontend | 0ff79f354c6d3fb588958f1d94f20b75a47e2b2d | [
"MIT"
] | null | null | null | src/shared/components/ReviewDetails/ReviewDetails.tsx | ChiranjibNandy/n11-delta-bookshelf-frontend | 0ff79f354c6d3fb588958f1d94f20b75a47e2b2d | [
"MIT"
] | null | null | null | src/shared/components/ReviewDetails/ReviewDetails.tsx | ChiranjibNandy/n11-delta-bookshelf-frontend | 0ff79f354c6d3fb588958f1d94f20b75a47e2b2d | [
"MIT"
] | null | null | null | import {ReadMore} from "..";
import {Review} from "../../models";
import {MemoizedRatingBox} from "../RatingBox/RatingBox";
import styles from "./ReviewDetails.module.scss";
export const ReviewDetails = ({review}: {review: Partial<Review>}) => {
return (
<div className={styles.reviewLayout}>
<div className... | 33.9 | 78 | 0.640118 |
c0e11c2f11909a26a38d6389dfed485bfde591e1 | 1,013 | ps1 | PowerShell | scripts/opencppcoverage/tools/chocolateyinstall.ps1 | Guekka/bsa | 513ea4f5213635e04cbb9383b3fe7e67261e45dc | [
"MIT"
] | 16 | 2020-02-13T05:46:18.000Z | 2022-01-15T06:25:09.000Z | scripts/opencppcoverage/tools/chocolateyinstall.ps1 | Guekka/bsa | 513ea4f5213635e04cbb9383b3fe7e67261e45dc | [
"MIT"
] | 9 | 2021-08-03T18:51:29.000Z | 2022-03-04T14:23:16.000Z | scripts/opencppcoverage/tools/chocolateyinstall.ps1 | Guekka/bsa | 513ea4f5213635e04cbb9383b3fe7e67261e45dc | [
"MIT"
] | 6 | 2020-07-26T01:15:24.000Z | 2021-12-11T22:04:42.000Z | $ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://github.com/OpenCppCoverage/OpenCppCoverage/releases/download/release-0.9.9.0/OpenCppCoverageSetup-x86-0.9.9.0.exe'
$url64 = 'https://github.com/OpenCppCoverage/OpenCppCoverage/releases/download/relea... | 38.961538 | 132 | 0.753208 |
dbd36e8530252c241298cfe3890650cc12d39d36 | 1,871 | lua | Lua | steamypb.lua | NotQuiteApex/LoveJam21 | a0bca7654a0189521147cd0729a59a2f4792bc61 | [
"Zlib"
] | null | null | null | steamypb.lua | NotQuiteApex/LoveJam21 | a0bca7654a0189521147cd0729a59a2f4792bc61 | [
"Zlib"
] | null | null | null | steamypb.lua | NotQuiteApex/LoveJam21 | a0bca7654a0189521147cd0729a59a2f4792bc61 | [
"Zlib"
] | null | null | null | steamypb = class:new()
steamypbs = {}
local pb_spr = polygon.new("soda/ui_steamypb.soda")
local maxradius = 450
local radiusvel = 1000
function steamypb:init(x, y, dir)
self.x = x
self.y = y
self.yv = -300
self.radius = 1
self.dir = dir
self.state = "throw" -- throw, explode
bumpwrld:add(self, self.x, self... | 20.336957 | 95 | 0.660075 |
5da8da04f30037a3ebffb28d5b021149c11fed2d | 951 | cpp | C++ | 2017-08-19/C.cpp | tangjz/Three-Investigators | 46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52 | [
"MIT"
] | 3 | 2018-04-02T06:00:51.000Z | 2018-05-29T04:46:29.000Z | 2017-08-19/C.cpp | tangjz/Three-Investigators | 46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52 | [
"MIT"
] | 2 | 2018-03-31T17:54:30.000Z | 2018-05-02T11:31:06.000Z | 2017-08-19/C.cpp | tangjz/Three-Investigators | 46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52 | [
"MIT"
] | 2 | 2018-10-07T00:08:06.000Z | 2021-06-28T11:02:59.000Z | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
using namespace std;
const int NMAX = 31;
int T, N;
int adj[NMAX][NMAX];
int main()
{
int i, j, k, t;
bool flag;
scanf("%d", &T);
for(t = 0;t < T;t += 1)
{
flag = true;
scanf("%d", &N);
if(N >= 6)
{
for(i = 1;i <= N;i += 1)... | 14.630769 | 51 | 0.392219 |
e72ca7107a008a3665cde599a2265c16e54d4320 | 2,652 | php | PHP | shuipf/Template/Default/Content/Show/show.php | rentianhua/tsf | 5aa420b063bf8bee20c2954963b7c8bf6f5b846b | [
"MIT"
] | null | null | null | shuipf/Template/Default/Content/Show/show.php | rentianhua/tsf | 5aa420b063bf8bee20c2954963b7c8bf6f5b846b | [
"MIT"
] | 131 | 2017-04-10T06:10:03.000Z | 2017-12-06T10:27:02.000Z | shuipf/Template/Default/Content/Show/show.php | rentianhua/tsf | 5aa420b063bf8bee20c2954963b7c8bf6f5b846b | [
"MIT"
] | null | null | null | <template file="Content/header.php"/>
<template file="Content/nav.php"/>
<style>
.max-wrapper {
/*background-color: #f1f1f1;*/
border-top: 1px solid #f1f1f1;
clear: both;
padding-bottom: 80px;
position: relative;
top: -1px;
}
.max-wrapper .wrapper {
position: relative;
}
.wrapper {
margi... | 21.047619 | 124 | 0.578808 |
c4c097d367481bfdb40a6fdfc522bb94a6b33db3 | 13,071 | cpp | C++ | data/627.cpp | TianyiChen/rdcpp-data | 75c6868c876511e3ce143fdc3c08ddd74c7aa4ea | [
"MIT"
] | null | null | null | data/627.cpp | TianyiChen/rdcpp-data | 75c6868c876511e3ce143fdc3c08ddd74c7aa4ea | [
"MIT"
] | null | null | null | data/627.cpp | TianyiChen/rdcpp-data | 75c6868c876511e3ce143fdc3c08ddd74c7aa4ea | [
"MIT"
] | null | null | null | int AJ,vaBae
,//y38
uvxYkLF , x94ea
, u1, u5//D
,JtNU ,/*Q*/
UR , ajM0,
Fuz
/*bOM*/, A, otxhG,ny ,/*DFb*/wLF /*gk*/,V,Ol ,w2s, Tf
,/**/SI7,
Ae4Z
,kw,
l1, f,aVQR ,WwiI
, md, z3BV8p
,Ko9i//6b
,FBUU9 ,SI2Uo ,//te
CMoBR,B3Jr ,
WKM, GOTsm/**/, Ks2 ,R , //X
Bjd ,Tmd
/*D*/
,
RDy9d ,
Z2eEw
,pJ7
,
ULa3J... | 11.366087 | 66 | 0.461633 |
7f0639448459673c32ebd77a476fc89b653c1ec8 | 1,180 | cs | C# | TestExamples/TestExamples.Api/Controllers/AddressesController.cs | lucashmalcantara/test-examples-dotnet | bd77cf3cb133c7f17df7894ebc444047e00302e7 | [
"MIT"
] | null | null | null | TestExamples/TestExamples.Api/Controllers/AddressesController.cs | lucashmalcantara/test-examples-dotnet | bd77cf3cb133c7f17df7894ebc444047e00302e7 | [
"MIT"
] | null | null | null | TestExamples/TestExamples.Api/Controllers/AddressesController.cs | lucashmalcantara/test-examples-dotnet | bd77cf3cb133c7f17df7894ebc444047e00302e7 | [
"MIT"
] | null | null | null | using Microsoft.AspNetCore.Mvc;
using TestExamples.ViaCep.Domain.Entities;
using TestExamples.ViaCep.Domain.Repositories;
namespace TestExamples.Api.Controllers
{
[ApiController]
[Route("addresses")]
public class AddressesController : ControllerBase
{
[HttpGet("{zipCode}")]
[ProducesRe... | 34.705882 | 118 | 0.645763 |
ffa4032bbac1d72dc701e09deefe78a2de4d4702 | 560 | py | Python | LineSketch/LineSketch.py | avinashkranjan/PraticalPythonProjects | 12c1f7cedae57a843ceb6aba68cca48df505f341 | [
"MIT"
] | 930 | 2020-09-05T22:07:28.000Z | 2022-03-30T07:56:18.000Z | LineSketch/LineSketch.py | maheshdbabar9340/Amazing-Python-Scripts | e2272048cbe49b4bda5072bbdd8479739bb6c18d | [
"MIT"
] | 893 | 2020-09-04T07:57:24.000Z | 2022-02-08T02:12:26.000Z | LineSketch/LineSketch.py | maheshdbabar9340/Amazing-Python-Scripts | e2272048cbe49b4bda5072bbdd8479739bb6c18d | [
"MIT"
] | 497 | 2020-09-05T08:16:24.000Z | 2022-03-31T00:55:57.000Z | import turtle as t
tim = t.Turtle()
scr = t.Screen()
def move_forward():
tim.forward(10)
def move_backward():
tim.backward(10)
def clockwise():
tim.setheading(tim.heading() - 10)
def anticlockwise():
tim.setheading(tim.heading() + 10)
def clear():
tim.clear()
tim.penup()
tim.home(... | 15.135135 | 42 | 0.660714 |
abe032da6b6f51f2fb254e37050bc5e9dd1e15ae | 5,312 | sql | SQL | misc/sql/r_areas-insert.sql | common-good/rCredits | bb046bfe78d32d912766bdd307f0a39c717e90f7 | [
"FSFAP"
] | 4 | 2015-07-01T15:46:37.000Z | 2017-11-17T16:52:27.000Z | misc/sql/r_areas-insert.sql | common-good/rCredits | bb046bfe78d32d912766bdd307f0a39c717e90f7 | [
"FSFAP"
] | null | null | null | misc/sql/r_areas-insert.sql | common-good/rCredits | bb046bfe78d32d912766bdd307f0a39c717e90f7 | [
"FSFAP"
] | 3 | 2015-05-09T21:06:22.000Z | 2016-02-07T22:04:35.000Z | INSERT INTO `r_areas` (`area_code`, `region`) VALUES
('201', 'NJ'),
('202', 'DC'),
('203', 'CT'),
('204', 'MB'),
('205', 'AL'),
('206', 'WA'),
('207', 'ME'),
('208', 'ID'),
('209', 'CA'),
('210', 'TX'),
('212', 'NY'),
('213', 'CA'),
('214', 'TX'),
('215', 'PA'),
('216', 'OH'),
('217', 'IL'),
('218', 'MN'),
('219', 'IN'... | 15.904192 | 52 | 0.366152 |
b1913a55354ed6c7d69d6c355020bf0aec1bf70b | 307 | py | Python | examples/python_only_vcp.py | Lcvette/qtpyvcp | 4143a4a4e1f557f7d0c8998c886b4a254f0be60b | [
"BSD-3-Clause-LBNL",
"MIT"
] | 71 | 2018-12-13T20:31:18.000Z | 2022-03-26T08:44:22.000Z | examples/python_only_vcp.py | adargel/qtpyvcp | 2fcb9c26616ac4effa8d92befa9e1c00a80daafa | [
"BSD-3-Clause-LBNL",
"MIT"
] | 78 | 2019-01-10T18:16:33.000Z | 2022-03-18T19:30:49.000Z | examples/python_only_vcp.py | adargel/qtpyvcp | 2fcb9c26616ac4effa8d92befa9e1c00a80daafa | [
"BSD-3-Clause-LBNL",
"MIT"
] | 38 | 2018-10-10T19:02:26.000Z | 2022-01-30T04:38:14.000Z | from qtpyvcp.widgets.form_widgets.main_window import VCPMainWindow
class PythonOnlyVCP(VCPMainWindow):
"""Main window class for the python only VCP."""
def __init__(self, *args, **kwargs):
super(PythonOnlyVCP, self).__init__(*args, **kwargs)
self.setWindowTitle("Python-only VCP")
| 34.111111 | 66 | 0.71987 |
2ac1850a994ac6facc9d44bbdeacb5c28092e059 | 40 | ps1 | PowerShell | Scripts/Nuget/Push-AspNetCore.Service.ps1 | krzysztofdudek/DecoupleIt | 6783e3c2c265eb223a791fad6c67eeb80d93b6f5 | [
"MIT"
] | null | null | null | Scripts/Nuget/Push-AspNetCore.Service.ps1 | krzysztofdudek/DecoupleIt | 6783e3c2c265eb223a791fad6c67eeb80d93b6f5 | [
"MIT"
] | 8 | 2020-11-26T20:33:11.000Z | 2020-12-03T15:34:17.000Z | Scripts/Nuget/Push-AspNetCore.Service.ps1 | krzysztofdudek/DecoupleIt | 6783e3c2c265eb223a791fad6c67eeb80d93b6f5 | [
"MIT"
] | null | null | null | .\Push-Generic.ps1 "AspNetCore.Service"
| 20 | 39 | 0.775 |
88c8e4df8393f26eb6a2960f32b0890ee24441da | 114 | swift | Swift | Tests/LinuxMain.swift | App-Maker-Software/GitProviders | d15c3ba015616f5660cb057dfc8ff7def65c481f | [
"MIT"
] | 8 | 2021-05-08T19:02:44.000Z | 2022-02-28T17:36:15.000Z | Tests/LinuxMain.swift | App-Maker-Software/GitProviders | d15c3ba015616f5660cb057dfc8ff7def65c481f | [
"MIT"
] | null | null | null | Tests/LinuxMain.swift | App-Maker-Software/GitProviders | d15c3ba015616f5660cb057dfc8ff7def65c481f | [
"MIT"
] | 2 | 2021-05-14T00:11:39.000Z | 2022-02-28T17:36:16.000Z | import XCTest
import GitAPITests
var tests = [XCTestCaseEntry]()
tests += GitAPITests.allTests()
XCTMain(tests)
| 14.25 | 31 | 0.77193 |
ea8b9b57ff5ddb5a4c9869fe0d3fc6960d308887 | 211 | lua | Lua | actx/design/config/export/output/server/prop_local.lua | oathx/myactx | 0a66511f173713d1aab0ef5d60ee0aaec1c8c6da | [
"MIT"
] | null | null | null | actx/design/config/export/output/server/prop_local.lua | oathx/myactx | 0a66511f173713d1aab0ef5d60ee0aaec1c8c6da | [
"MIT"
] | null | null | null | actx/design/config/export/output/server/prop_local.lua | oathx/myactx | 0a66511f173713d1aab0ef5d60ee0aaec1c8c6da | [
"MIT"
] | null | null | null | --
-- $Id$
--
module( "resmng" )
svnnum("$Id$")
propLocal = {
[GAME_LOCAL] = { ID = GAME_LOCAL, IPAddress = "127.0.0.1", Port = 9527, MainLogicScriptPath = "Game/System/SystemPlugin", Version = "0.0.1",},
}
| 17.583333 | 143 | 0.601896 |
923e2affe1af84c8c078916fa33e48738d749655 | 21 | rb | Ruby | lib/lbrt/cli.rb | codenize-tools/lbrt | 7b8468b1165071d7cdd493f2eecd4cbb8f5a9fba | [
"MIT"
] | null | null | null | lib/lbrt/cli.rb | codenize-tools/lbrt | 7b8468b1165071d7cdd493f2eecd4cbb8f5a9fba | [
"MIT"
] | null | null | null | lib/lbrt/cli.rb | codenize-tools/lbrt | 7b8468b1165071d7cdd493f2eecd4cbb8f5a9fba | [
"MIT"
] | null | null | null | module Lbrt::CLI
end
| 7 | 16 | 0.761905 |
fda09a0590cbc31be73881389ad0203bb8e25ee9 | 226 | sql | SQL | 01-intro-spring-hibernate-native-config/sql/book.sql | iproduct/course-hibernate | a51f3b6fe28b3c6d012c9542679ba33d05b98491 | [
"Apache-2.0"
] | null | null | null | 01-intro-spring-hibernate-native-config/sql/book.sql | iproduct/course-hibernate | a51f3b6fe28b3c6d012c9542679ba33d05b98491 | [
"Apache-2.0"
] | null | null | null | 01-intro-spring-hibernate-native-config/sql/book.sql | iproduct/course-hibernate | a51f3b6fe28b3c6d012c9542679ba33d05b98491 | [
"Apache-2.0"
] | 1 | 2022-03-27T17:08:38.000Z | 2022-03-27T17:08:38.000Z | create table Book
(
id bigint not null,
author varchar(255),
publisher_country varchar(255),
publisher_name varchar(255),
title varchar(255),
primary key (id)
)
| 22.6 | 38 | 0.548673 |
25e30472e4efb64746b49d9322b2d80e1dcc5096 | 1,499 | cs | C# | src/CurrentTimestamps/Core/Migrations/20211229135937_InitialMigration.Designer.cs | djek-sweng/blog-change-tracking-efcore | ce1e68d5f2b6b18e53577f0326ad2a6792f748cc | [
"MIT"
] | null | null | null | src/CurrentTimestamps/Core/Migrations/20211229135937_InitialMigration.Designer.cs | djek-sweng/blog-change-tracking-efcore | ce1e68d5f2b6b18e53577f0326ad2a6792f748cc | [
"MIT"
] | null | null | null | src/CurrentTimestamps/Core/Migrations/20211229135937_InitialMigration.Designer.cs | djek-sweng/blog-change-tracking-efcore | ce1e68d5f2b6b18e53577f0326ad2a6792f748cc | [
"MIT"
] | null | null | null | // <auto-generated />
using System;
using Core.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace Core.Migrations
{
[DbContext(t... | 30.591837 | 75 | 0.559039 |
c67c17dae772365779c1d0f21a3813ec49f7d982 | 118 | py | Python | tests/context.py | Sergey190309/211019-JF | 70e6198447181b45f444b3e8a84205e44e4af018 | [
"MIT"
] | null | null | null | tests/context.py | Sergey190309/211019-JF | 70e6198447181b45f444b3e8a84205e44e4af018 | [
"MIT"
] | null | null | null | tests/context.py | Sergey190309/211019-JF | 70e6198447181b45f444b3e8a84205e44e4af018 | [
"MIT"
] | null | null | null | import sys
import os
sys.path.index(0, os.path.abspath(os.path.join((os.path.dirname(__file__), '..'))))
import src
| 16.857143 | 83 | 0.70339 |
08b2522f57992e04f485ea962a2484656c113867 | 4,103 | css | CSS | src/index.css | mellowmorgan/tap-room-react | f09801fe18815a0fe2fd2049a006374985c3e644 | [
"MIT"
] | null | null | null | src/index.css | mellowmorgan/tap-room-react | f09801fe18815a0fe2fd2049a006374985c3e644 | [
"MIT"
] | null | null | null | src/index.css | mellowmorgan/tap-room-react | f09801fe18815a0fe2fd2049a006374985c3e644 | [
"MIT"
] | null | null | null | body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Mona... | 20.933673 | 93 | 0.674628 |
022eae3012eae819fd423e1332a2137f7e7f9179 | 8,905 | lua | Lua | usb_wcid20.lua | teenydt/teenydt.github.io | 4e5651fe12cff8be378d2e5d2a5c91900e22b1b4 | [
"MIT"
] | 11 | 2020-06-16T03:22:40.000Z | 2022-03-27T00:04:08.000Z | usb_wcid20.lua | teenydt/teenydt.github.io | 4e5651fe12cff8be378d2e5d2a5c91900e22b1b4 | [
"MIT"
] | 2 | 2019-12-13T03:16:00.000Z | 2021-02-10T02:38:30.000Z | usb_wcid20.lua | teenydt/teenydt.github.io | 4e5651fe12cff8be378d2e5d2a5c91900e22b1b4 | [
"MIT"
] | 8 | 2019-11-06T06:08:55.000Z | 2022-01-08T04:58:22.000Z | -- usb_wcid20.lua
-- _______ _____ _______
-- |__ __| | __ \__ __|
-- | | ___ ___ _ __ _ _| | | | | |
-- | |/ _ \/ _ \ '_ \| | | | | | | | |
-- | | __/ __/ | | | |_| | |__| | | |
-- |_|\___|\___|_| |_|\__, |_____/ |_|
-- ... | 34.785156 | 85 | 0.536777 |
c6e27c93a6415b10d124089fe446ba4211c77835 | 151 | css | CSS | docs/_template/light-dark-theme/styles/theme-switcher.css | Samrux/Discord.Net | 193f0f0301eb6ceb9755de7992e245ad0255c537 | [
"MIT"
] | 1,762 | 2019-01-29T14:18:55.000Z | 2022-03-31T22:23:36.000Z | docs/_template/light-dark-theme/styles/theme-switcher.css | Samrux/Discord.Net | 193f0f0301eb6ceb9755de7992e245ad0255c537 | [
"MIT"
] | 742 | 2019-01-29T03:48:54.000Z | 2022-03-31T20:35:24.000Z | docs/_template/light-dark-theme/styles/theme-switcher.css | Samrux/Discord.Net | 193f0f0301eb6ceb9755de7992e245ad0255c537 | [
"MIT"
] | 648 | 2019-01-29T20:51:28.000Z | 2022-03-31T02:20:04.000Z | div.theme-switch-field {
padding-left: 10px;
padding-bottom: 15px
}
div.theme-switch-field > p{
font-weight: bold;
font-size: 1.2em;
} | 16.777778 | 27 | 0.642384 |
07065476bc614993f4f7bbbf0949d9b057fbe13e | 1,482 | cpp | C++ | src/asn-one-objects/BooleanAsnOneObject.cpp | gflix/LdapServer | 1865caeec95c0e984cfab70d54976197349457eb | [
"MIT"
] | 1 | 2020-10-04T21:00:42.000Z | 2020-10-04T21:00:42.000Z | src/asn-one-objects/BooleanAsnOneObject.cpp | gflix/LdapServer | 1865caeec95c0e984cfab70d54976197349457eb | [
"MIT"
] | null | null | null | src/asn-one-objects/BooleanAsnOneObject.cpp | gflix/LdapServer | 1865caeec95c0e984cfab70d54976197349457eb | [
"MIT"
] | null | null | null | /*
* BooleanAsnOneObject.cpp
*
* Created on: 14.05.2017
* Author: felix
*/
#include <asn-one-objects/BooleanAsnOneObject.h>
namespace Flix {
BooleanAsnOneObject::BooleanAsnOneObject():
GenericAsnOneObject(AsnOneObjectType::BOOLEAN),
value(false)
{
}
BooleanAsnOneObject::~BooleanAsnOneObject()
{
}... | 20.873239 | 103 | 0.69973 |
bce1b34dfc069de7c8729a8dea43fb12a10a60ce | 7,755 | sql | SQL | microsoft-wpa-framework-code/SQLPoolObjects/SqlPoolDB/Data/Activity.sql | MSUSSolutionAccelerators/Workplace-Intelligence-Solution-Accelerator | 181773ca367a3efc49bcbb05b4e0aa18b30be883 | [
"MIT"
] | null | null | null | microsoft-wpa-framework-code/SQLPoolObjects/SqlPoolDB/Data/Activity.sql | MSUSSolutionAccelerators/Workplace-Intelligence-Solution-Accelerator | 181773ca367a3efc49bcbb05b4e0aa18b30be883 | [
"MIT"
] | null | null | null | microsoft-wpa-framework-code/SQLPoolObjects/SqlPoolDB/Data/Activity.sql | MSUSSolutionAccelerators/Workplace-Intelligence-Solution-Accelerator | 181773ca367a3efc49bcbb05b4e0aa18b30be883 | [
"MIT"
] | null | null | null | /*********************************************************************************************************************
File: Activity.sql
Desc: Data hydration script.
**********************************************************************************************************************/
TRUNCATE TABLE dbo.Acti... | 69.864865 | 119 | 0.823598 |
6de98a6a8f0ab684205337b8e4918f8cbe5e3af7 | 2,881 | c | C | src/emscripten/iupemscripten_progressbar.c | istiak101/iup | c04aecf103c211860b88ab6801376add949ad1d8 | [
"MIT"
] | null | null | null | src/emscripten/iupemscripten_progressbar.c | istiak101/iup | c04aecf103c211860b88ab6801376add949ad1d8 | [
"MIT"
] | null | null | null | src/emscripten/iupemscripten_progressbar.c | istiak101/iup | c04aecf103c211860b88ab6801376add949ad1d8 | [
"MIT"
] | null | null | null | /** \file
* \brief Progress bar Control
*
* See Copyright Notice in "iup.h"
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <memory.h>
#include <stdarg.h>
#include "iup.h"
#include "iup.h"
#include "iupcbs.h"
#include "iup_object.h"
#include "iup_layout.h"
#include "iup_attrib.h"
#include "iu... | 28.81 | 161 | 0.736203 |
70bdb620e0c1bd7f39e9009e7143df61879cf665 | 3,362 | sql | SQL | bonus/database/forum.sql | ericbaranowski/host | e8c1142957a1bc33ba6f2cbea0b9c3d054d71b52 | [
"MIT"
] | null | null | null | bonus/database/forum.sql | ericbaranowski/host | e8c1142957a1bc33ba6f2cbea0b9c3d054d71b52 | [
"MIT"
] | null | null | null | bonus/database/forum.sql | ericbaranowski/host | e8c1142957a1bc33ba6f2cbea0b9c3d054d71b52 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.5.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Oct 31, 2016 at 08:33 AM
-- Server version: 5.7.11
-- PHP Version: 5.6.19
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */... | 24.014286 | 73 | 0.65467 |
b0d8edcd48cd78a814e625923bee834dbed12a92 | 2,135 | dart | Dart | lib/global_providers.dart | LeeMatthewHiggins/FeatureBasedApp | dc80596cd5e8141dfb3607fbb72ab79691d31857 | [
"MIT"
] | null | null | null | lib/global_providers.dart | LeeMatthewHiggins/FeatureBasedApp | dc80596cd5e8141dfb3607fbb72ab79691d31857 | [
"MIT"
] | null | null | null | lib/global_providers.dart | LeeMatthewHiggins/FeatureBasedApp | dc80596cd5e8141dfb3607fbb72ab79691d31857 | [
"MIT"
] | null | null | null | import 'package:feature_based_app/common/repository/imp/json_bundle_repository.dart';
import 'package:feature_based_app/feature/feature_transformer.dart';
import 'package:feature_based_app/features/fork/fork_business_logic.dart';
import 'package:feature_based_app/features/fork/fork_viewmodel.dart';
import 'common/cast_... | 30.942029 | 85 | 0.750351 |
78a2ad6a8d535768494e9cfcc1e9de5d5f9e4623 | 176 | sql | SQL | patches/PRIM-65-before.sql | prime-space/old-marketplace | 6e3150445a72e85d42f99c23d02939091d689533 | [
"Apache-2.0"
] | 1 | 2021-03-09T15:41:36.000Z | 2021-03-09T15:41:36.000Z | patches/PRIM-65-before.sql | prime-space/old-marketplace | 6e3150445a72e85d42f99c23d02939091d689533 | [
"Apache-2.0"
] | null | null | null | patches/PRIM-65-before.sql | prime-space/old-marketplace | 6e3150445a72e85d42f99c23d02939091d689533 | [
"Apache-2.0"
] | 2 | 2021-03-15T15:46:24.000Z | 2021-03-17T04:54:26.000Z | ALTER TABLE `promocode_el` ADD `user_id` INT(10) UNSIGNED NOT NULL AFTER `comment`;
ALTER TABLE `promocode_el` DROP INDEX `code`, ADD UNIQUE `code_user_id` (`code`, `user_id`); | 88 | 92 | 0.744318 |
c0cff3d5eba93ec66f30c662574bc9e7158a7b14 | 2,681 | cpp | C++ | wpa_roam/main.cpp | 9A9A/wpa_supplicant-fork | f33468a35109317ef0ed9cdd6eceb8b068a4278b | [
"Unlicense"
] | null | null | null | wpa_roam/main.cpp | 9A9A/wpa_supplicant-fork | f33468a35109317ef0ed9cdd6eceb8b068a4278b | [
"Unlicense"
] | null | null | null | wpa_roam/main.cpp | 9A9A/wpa_supplicant-fork | f33468a35109317ef0ed9cdd6eceb8b068a4278b | [
"Unlicense"
] | null | null | null | #include "wpa_roam.h"
#include "wpa_application.h"
using namespace std;
using namespace chrono;
void signal_handler(int signum)
{
if(Application::locker()->locked())
{
Application::locker()->unlock();
}
else
{
exit(0);
}
}
int main(int argc,char* argv[])
{
#ifdef DEBUG
Th... | 25.056075 | 141 | 0.464752 |
e3660d7ddacbd7f2ee7310c1de55ad661408b87e | 629 | sql | SQL | apex/application/shared_components/user_interface/shortcuts/delete_confirm_msg.sql | jkvetina/PMP | 7de23d6ab60fb6fbafdf0ba5fb8371a2d58f4eaa | [
"MIT"
] | null | null | null | apex/application/shared_components/user_interface/shortcuts/delete_confirm_msg.sql | jkvetina/PMP | 7de23d6ab60fb6fbafdf0ba5fb8371a2d58f4eaa | [
"MIT"
] | null | null | null | apex/application/shared_components/user_interface/shortcuts/delete_confirm_msg.sql | jkvetina/PMP | 7de23d6ab60fb6fbafdf0ba5fb8371a2d58f4eaa | [
"MIT"
] | null | null | null | prompt --application/shared_components/user_interface/shortcuts/delete_confirm_msg
begin
-- Manifest
-- SHORTCUT: DELETE_CONFIRM_MSG
-- Manifest End
wwv_flow_api.component_begin (
p_version_yyyy_mm_dd=>'2020.10.01'
,p_release=>'20.2.0.00.20'
,p_default_workspace_id=>116577013837797376
,p_default_application_id... | 27.347826 | 82 | 0.807631 |
b8bda05fec7302603a2ca87d709d6c3961b4b5a5 | 1,584 | h | C | src/sconelib/scone/controllers/FeedForwardController.h | tgeijten/scone-core | d435b22f34b7fea71552dcf7d6def71508c39132 | [
"Apache-2.0"
] | 5 | 2021-04-30T14:30:20.000Z | 2022-03-27T09:58:24.000Z | src/sconelib/scone/controllers/FeedForwardController.h | tgeijten/scone-core | d435b22f34b7fea71552dcf7d6def71508c39132 | [
"Apache-2.0"
] | 4 | 2021-06-15T10:52:10.000Z | 2021-12-15T10:25:21.000Z | src/sconelib/scone/controllers/FeedForwardController.h | tgeijten/scone-core | d435b22f34b7fea71552dcf7d6def71508c39132 | [
"Apache-2.0"
] | 2 | 2021-05-02T13:38:19.000Z | 2021-07-22T19:37:07.000Z | /*
** FeedForwardController.h
**
** Copyright (C) 2013-2019 Thomas Geijtenbeek and contributors. All rights reserved.
**
** This file is part of SCONE. For more information, see http://scone.software.
*/
#pragma once
#include "scone/core/types.h"
#include "scone/controllers/Controller.h"
#include "scone/core/PropNode... | 25.967213 | 105 | 0.72601 |
c6c9790762a00723c57b5cfa93ec1ed3bb9ca9aa | 5,500 | css | CSS | files/SaiNudurupati_2018_AGU_iPoster_files/template1.css | saisiddu/saisiddu.github.io | f8ac6891ad14b56a66c7374034d53ed2bb711437 | [
"MIT"
] | null | null | null | files/SaiNudurupati_2018_AGU_iPoster_files/template1.css | saisiddu/saisiddu.github.io | f8ac6891ad14b56a66c7374034d53ed2bb711437 | [
"MIT"
] | null | null | null | files/SaiNudurupati_2018_AGU_iPoster_files/template1.css | saisiddu/saisiddu.github.io | f8ac6891ad14b56a66c7374034d53ed2bb711437 | [
"MIT"
] | null | null | null | /*Christer removed body background color and added overflow: hidden*/
body {
/* background-color: rgba(155,156,157,1) !important;*/
font-family: 'P22JohnstonUndergroundW 945068';
}
/*Christer added overflow: hidden when box open*/
.redactor-open {
overflow: hidden;
}
.visual strong {
font-family: '... | 26.442308 | 164 | 0.603273 |
256dbdf1f9e4dbdd6c575fac52415aee74b7856d | 5,647 | cs | C# | test/xunit.analyzers.tests/AssertEqualShouldNotBeUsedForNullCheckTests.cs | onovotny/xunit.analyzers | 643131ab4dbb35b0db87aead92e5275c20d5c3c3 | [
"Apache-2.0"
] | null | null | null | test/xunit.analyzers.tests/AssertEqualShouldNotBeUsedForNullCheckTests.cs | onovotny/xunit.analyzers | 643131ab4dbb35b0db87aead92e5275c20d5c3c3 | [
"Apache-2.0"
] | null | null | null | test/xunit.analyzers.tests/AssertEqualShouldNotBeUsedForNullCheckTests.cs | onovotny/xunit.analyzers | 643131ab4dbb35b0db87aead92e5275c20d5c3c3 | [
"Apache-2.0"
] | null | null | null | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Xunit.Analyzers
{
public class AssertEqualShouldNotBeUsedForNullCheckTests
{
readonly DiagnosticAnalyzer analyzer = new AssertEqualShouldNotBeUsedForNullCheck();
public static TheoryData<string> Methods = new Th... | 36.668831 | 150 | 0.609881 |
f4c917d6ffdb98a3a99422074624b95a7aa460c4 | 179 | ts | TypeScript | src/testing/constants.ts | jrhee17/exaka-client | 03a3c97dc02ef1b4996f62021f4c2f82b0b3d276 | [
"MIT"
] | null | null | null | src/testing/constants.ts | jrhee17/exaka-client | 03a3c97dc02ef1b4996f62021f4c2f82b0b3d276 | [
"MIT"
] | null | null | null | src/testing/constants.ts | jrhee17/exaka-client | 03a3c97dc02ef1b4996f62021f4c2f82b0b3d276 | [
"MIT"
] | null | null | null | import {Auth} from "../app/auth/service/auth";
/**
* Created by john on 02/10/2017.
*/
export const TEST_CONST = {
AUTH_ID : '1234',
AUTH_OBJ : new Auth({_id: '1234'}),
};
| 17.9 | 46 | 0.608939 |
b5ef38ab68a6f2ca5691355270ef1ae24c94da39 | 2,248 | lua | Lua | BGAnimations/ScreenSelectMusic overlay/SortMenu/InputHandler.lua | xiaowuc1/Simply-Love-SM5 | 7b2b977fbe24fee2486c3617f8c2f403d25ad0a5 | [
"MIT"
] | null | null | null | BGAnimations/ScreenSelectMusic overlay/SortMenu/InputHandler.lua | xiaowuc1/Simply-Love-SM5 | 7b2b977fbe24fee2486c3617f8c2f403d25ad0a5 | [
"MIT"
] | null | null | null | BGAnimations/ScreenSelectMusic overlay/SortMenu/InputHandler.lua | xiaowuc1/Simply-Love-SM5 | 7b2b977fbe24fee2486c3617f8c2f403d25ad0a5 | [
"MIT"
] | null | null | null | local sort_wheel = ...
-- this handles user input
local function input(event)
if not event.PlayerNumber or not event.button then
return false
end
if event.type ~= "InputEventType_Release" then
local overlay = SCREENMAN:GetTopScreen():GetChild("Overlay")
if event.GameButton == "MenuRight" then
sort_wheel:... | 32.114286 | 89 | 0.729093 |
8b5bb5a41a588a4066c2f1eaac1f7060331922d1 | 28,071 | sql | SQL | uni (1).sql | rajaariffs18/e-commerce | dfae82d2f177efc4ade4c113b10d49e38b3af409 | [
"BSD-3-Clause"
] | null | null | null | uni (1).sql | rajaariffs18/e-commerce | dfae82d2f177efc4ade4c113b10d49e38b3af409 | [
"BSD-3-Clause"
] | null | null | null | uni (1).sql | rajaariffs18/e-commerce | dfae82d2f177efc4ade4c113b10d49e38b3af409 | [
"BSD-3-Clause"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Waktu pembuatan: 08 Bulan Mei 2019 pada 23.33
-- Versi server: 8.0.13
-- Versi PHP: 7.1.25
SET FOREIGN_KEY_CHECKS=0;
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
... | 42.791159 | 254 | 0.714474 |
1c32bf0929100a843323806a75bc62781ca884cf | 8,370 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_997.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_997.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_997.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1b59e, %r11
nop
nop
add %rcx, %rcx
mov $0x6162636465666768, %rbx
movq %rbx, (%r11)
nop
nop
nop
nop
cmp %rdi, %rdi
lea addresses_D_ht+0x1d0de, %rsi
lea addresses_normal_h... | 32.695313 | 2,999 | 0.655556 |
b7249ba881fb650412f2237a305df5df7af6d5c2 | 7,139 | cs | C# | FlowSimulation.Core/Service/QueueService.cs | nomoreserious/FlowSimulation | 38eab0e00a457b588181d46c86e394f59d822c3e | [
"MIT"
] | null | null | null | FlowSimulation.Core/Service/QueueService.cs | nomoreserious/FlowSimulation | 38eab0e00a457b588181d46c86e394f59d822c3e | [
"MIT"
] | null | null | null | FlowSimulation.Core/Service/QueueService.cs | nomoreserious/FlowSimulation | 38eab0e00a457b588181d46c86e394f59d822c3e | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using FlowSimulation.Agents;
using FlowSimulation.Map.Model;
namespace FlowSimulation.Service
{
public class QueueService : ServiceBase
{
[XmlIgnore]
private List<List<int>> Ag... | 35.167488 | 141 | 0.441799 |
2e6df0b11361e48c997b9b6abe4a2f3a533ea312 | 832 | rs | Rust | src/tile.rs | iMplode-nZ/bevy_tilemap | 34cf37e6fe0e21fbdf660c1f478757053460f18d | [
"MIT"
] | null | null | null | src/tile.rs | iMplode-nZ/bevy_tilemap | 34cf37e6fe0e21fbdf660c1f478757053460f18d | [
"MIT"
] | null | null | null | src/tile.rs | iMplode-nZ/bevy_tilemap | 34cf37e6fe0e21fbdf660c1f478757053460f18d | [
"MIT"
] | null | null | null | //! Tile traits to implement for a custom tile.
use crate::lib::*;
/// A tile with an index value and color.
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[derive(Copy, Clone, PartialEq, Debug)]
pub struct Tile<P: Into<Point3>> {
/// A point where the tile will exist.
pub point: P,
/// T... | 28.689655 | 79 | 0.609375 |
dbd3b52cb7eb21da672b95564c4f4cd27f910a17 | 526 | php | PHP | app/Users.php | RezaNum1/ticketbox | bc35a0b1f811e69c151457e0a6c987462d8068f6 | [
"Unlicense"
] | 1 | 2019-07-12T09:55:26.000Z | 2019-07-12T09:55:26.000Z | app/Users.php | RezaNum1/ticketbox | bc35a0b1f811e69c151457e0a6c987462d8068f6 | [
"Unlicense"
] | 3 | 2019-07-19T14:09:51.000Z | 2019-07-19T14:13:38.000Z | app/Users.php | RezaNum1/ticketbox | bc35a0b1f811e69c151457e0a6c987462d8068f6 | [
"Unlicense"
] | null | null | null | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Users extends Model
{
protected $table = 'users';
protected $fillable = ['name', 'username', 'password', 'email', 'phone'];
public function eventowners(){
return $this->hasMany('App\EventOwners', 'owner_id');
}
public f... | 20.230769 | 77 | 0.640684 |
458f94508acf24214bf9619115466da8bae13132 | 2,059 | py | Python | Products/BeakerZopeSessionManager/SessionObject.py | gabrielgisoldo/Products.BeakerZopeSessionManager | 8a764933af61bf734b8ee8ca941acb793169f66f | [
"MIT"
] | null | null | null | Products/BeakerZopeSessionManager/SessionObject.py | gabrielgisoldo/Products.BeakerZopeSessionManager | 8a764933af61bf734b8ee8ca941acb793169f66f | [
"MIT"
] | null | null | null | Products/BeakerZopeSessionManager/SessionObject.py | gabrielgisoldo/Products.BeakerZopeSessionManager | 8a764933af61bf734b8ee8ca941acb793169f66f | [
"MIT"
] | 3 | 2021-03-17T19:38:40.000Z | 2021-04-08T17:57:12.000Z | from collections import UserDict
import time
from AccessControl.class_init import InitializeClass
from AccessControl.SecurityInfo import ClassSecurityInfo
# from Acquisition import Implicit
from zope.interface import implementer
from .Interfaces import ISessionDataObject
def session_mutator(func):
"""Decorator ... | 25.419753 | 70 | 0.662458 |
444c276fed8a2f52c4bfc671803cb99f075b3a78 | 171 | py | Python | butter_cms/feed.py | ButterCMS/buttercms-python | 46892eff36f20829b130684a85994e7178eb4ef2 | [
"MIT"
] | 33 | 2017-03-28T03:11:23.000Z | 2020-12-21T16:13:59.000Z | butter_cms/feed.py | skroys/buttercms-python | 6797e2a5f1ded6112e7d2b2f60561798ca4e2731 | [
"MIT"
] | 4 | 2017-09-16T05:08:20.000Z | 2022-03-11T15:19:53.000Z | butter_cms/feed.py | skroys/buttercms-python | 6797e2a5f1ded6112e7d2b2f60561798ca4e2731 | [
"MIT"
] | 9 | 2017-11-03T12:51:48.000Z | 2021-11-09T08:40:13.000Z | from .client import Client
class Feed(Client):
"""Feed"""
def __init__(self, auth_token):
Client.__init__(self, auth_token)
self.path = 'feeds/'
| 19 | 41 | 0.625731 |
a12dbcd63c356d4c937e43e70cb7851c33c28492 | 3,726 | tsx | TypeScript | src/components/Buttons/ModernButton.component.tsx | CasuallyCaffeinated/community-ui | 7f1c3fee03742e9d4ee84c62790922b686a65eaf | [
"MIT"
] | null | null | null | src/components/Buttons/ModernButton.component.tsx | CasuallyCaffeinated/community-ui | 7f1c3fee03742e9d4ee84c62790922b686a65eaf | [
"MIT"
] | null | null | null | src/components/Buttons/ModernButton.component.tsx | CasuallyCaffeinated/community-ui | 7f1c3fee03742e9d4ee84c62790922b686a65eaf | [
"MIT"
] | null | null | null | import React, { FC } from 'react';
import styled from 'styled-components';
import { ButtonVariant, TextButtonProps } from './Button.types';
import { ButtonPadding, DefaultButtonThemes } from './Button.constants';
import { FontSize } from '../../config';
import { Colors } from '../../config';
const StyledButton = styl... | 28.883721 | 80 | 0.609232 |
e236dc101e5a7105782c44c9082cbbb37cc362b0 | 2,722 | py | Python | test/benchmark/parse.py | smehringer/raptor | ac00dbd654e4f2b1eb720eb1ae4587b8d84b8d63 | [
"BSD-3-Clause"
] | 33 | 2020-10-09T07:25:23.000Z | 2022-03-16T13:11:39.000Z | test/benchmark/parse.py | smehringer/raptor | ac00dbd654e4f2b1eb720eb1ae4587b8d84b8d63 | [
"BSD-3-Clause"
] | 122 | 2020-12-04T14:17:43.000Z | 2022-03-10T08:54:06.000Z | test/benchmark/parse.py | smehringer/raptor | ac00dbd654e4f2b1eb720eb1ae4587b8d84b8d63 | [
"BSD-3-Clause"
] | 9 | 2020-10-07T14:17:05.000Z | 2021-09-30T13:06:47.000Z | #!/usr/bin/env python3
# -----------------------------------------------------------------------------------------------------
# Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin
# Copyright (c) 2016-2021, Knut Reinert & MPI für molekulare Genetik
# This file may be used, modified and/or redistributed un... | 57.914894 | 118 | 0.631154 |
e2b5b44759a8d9d391cf0bc89760558fb19f53f2 | 966 | py | Python | duplex.py | honkling/duplex | 807f12f7cd1ea0ab60b78667cbb9aa5c0b805f5a | [
"MIT"
] | null | null | null | duplex.py | honkling/duplex | 807f12f7cd1ea0ab60b78667cbb9aa5c0b805f5a | [
"MIT"
] | null | null | null | duplex.py | honkling/duplex | 807f12f7cd1ea0ab60b78667cbb9aa5c0b805f5a | [
"MIT"
] | null | null | null | from re import sub
from sys import stdout
from readline import get_line_buffer
from time import sleep
class Duplex:
def __init__(self, prefix: str = '> '):
self.ERASE = '\x1b[2K'
if type(prefix) != str:
received_type = sub('(<class\ \'|\'>)', '', str(type(text)))
raise TypeError(f'Expected type \'str\', rec... | 30.1875 | 79 | 0.630435 |
66480f6b2aeee659048bacb1e574758c36517476 | 3,746 | sql | SQL | dbFunctions/res_calculate.sql | uucly/FleetTelematicManagementSystem | 30e44731ad35ea46a7dbef8260416f79fee94896 | [
"Apache-2.0"
] | null | null | null | dbFunctions/res_calculate.sql | uucly/FleetTelematicManagementSystem | 30e44731ad35ea46a7dbef8260416f79fee94896 | [
"Apache-2.0"
] | null | null | null | dbFunctions/res_calculate.sql | uucly/FleetTelematicManagementSystem | 30e44731ad35ea46a7dbef8260416f79fee94896 | [
"Apache-2.0"
] | null | null | null | -- Function: public.res_calculate(integer, point, point)
-- DROP FUNCTION public.res_calculate(integer, point, point);
CREATE OR REPLACE FUNCTION public.res_calculate(
auftragid integer,
sourceneworder point,
targetneworder point)
RETURNS integer AS
$BODY$
DECLARE
vehicleID int[];
choosenVehicleID int... | 31.745763 | 123 | 0.792846 |
c4b3834a3ced9015f6db46be6e6f5fc176787725 | 1,234 | cc | C++ | src/platform/udp_server_test.cc | AnthonyBrunasso/test_games | 31354d2bf95aae9a880e7292bc78ad8577b3f09c | [
"MIT"
] | null | null | null | src/platform/udp_server_test.cc | AnthonyBrunasso/test_games | 31354d2bf95aae9a880e7292bc78ad8577b3f09c | [
"MIT"
] | null | null | null | src/platform/udp_server_test.cc | AnthonyBrunasso/test_games | 31354d2bf95aae9a880e7292bc78ad8577b3f09c | [
"MIT"
] | 2 | 2019-11-12T23:15:18.000Z | 2020-01-15T17:49:27.000Z | #include "platform.cc"
#include <cstdio>
volatile bool running = true;
s32
main(s32 argc, char** argv)
{
const char* ip = "127.0.0.1";
const char* port = "9845";
while (1) {
s32 opt = platform_getopt(argc, argv, "i:p:");
if (opt == -1) break;
switch (opt) {
case 'i':
ip = platform_o... | 19.903226 | 73 | 0.559157 |
1ab6bf5a87b0a5b5f9d8b75194f516683735c80a | 485 | py | Python | app/settings.py | npmmirror/daochain | 303bfb627e68d6cd89b4e4023db85ced32f620cc | [
"Apache-2.0"
] | 92 | 2016-12-17T09:08:24.000Z | 2021-11-12T00:13:04.000Z | app/settings.py | npmmirror/daochain | 303bfb627e68d6cd89b4e4023db85ced32f620cc | [
"Apache-2.0"
] | 10 | 2016-12-13T11:31:07.000Z | 2018-09-25T01:46:00.000Z | app/settings.py | npmmirror/daochain | 303bfb627e68d6cd89b4e4023db85ced32f620cc | [
"Apache-2.0"
] | 27 | 2016-12-20T05:31:57.000Z | 2022-02-12T03:42:49.000Z | import os
ERROR_404_HELP = False
SECRET_KEY = os.getenv('SECRET_KEY') or 'monitor'
HUB_ENDPOINT = os.getenv('HUB_ENDPOINT') or 'http://api.daocloud.io'
ETH_RPC_ENDPOINT = os.getenv('ETH_RPC_ENDPOINT') or 'localhost:8545'
DATA_DIR = os.path.expanduser('~/.daocloud')
RECENT_HASH_TIME_BUCKET_SIZE = 50
if not os.path.e... | 24.25 | 68 | 0.748454 |
dd7aa287d1c1d1aa761ccf0bfdd495c0f968af50 | 1,166 | java | Java | src/main/java/ru/teamrocket/csrsysteamdesktop/Model/ProductProperty.java | team-rocket-trio/csr-system | 3f6aa2778e938984e2c4943a6a7d6ed3df6d4896 | [
"Apache-2.0"
] | null | null | null | src/main/java/ru/teamrocket/csrsysteamdesktop/Model/ProductProperty.java | team-rocket-trio/csr-system | 3f6aa2778e938984e2c4943a6a7d6ed3df6d4896 | [
"Apache-2.0"
] | 1 | 2016-11-08T06:49:15.000Z | 2016-11-08T10:45:03.000Z | src/main/java/ru/teamrocket/csrsysteamdesktop/Model/ProductProperty.java | team-rocket-trio/csr-system-desktop | 3f6aa2778e938984e2c4943a6a7d6ed3df6d4896 | [
"Apache-2.0"
] | null | null | null | package ru.teamrocket.csrsysteamdesktop.Model;
import javafx.beans.property.IntegerProperty;
/**
* Created by Kate on 06.11.2016.
*/
public class ProductProperty {
private final IntegerProperty characteristicsId;
private final IntegerProperty characteristicsValueId;
public ProductProperty(IntegerProp... | 27.116279 | 103 | 0.745283 |
f4b94d42574e7156c87e3bfcd588f4f76d2c2592 | 530 | ts | TypeScript | src/app/core/services/forgot-password.service.ts | lucas-almeida-silva/gama-sports | c287680a645941bc16fc09a350167922171fa30d | [
"MIT"
] | null | null | null | src/app/core/services/forgot-password.service.ts | lucas-almeida-silva/gama-sports | c287680a645941bc16fc09a350167922171fa30d | [
"MIT"
] | null | null | null | src/app/core/services/forgot-password.service.ts | lucas-almeida-silva/gama-sports | c287680a645941bc16fc09a350167922171fa30d | [
"MIT"
] | 1 | 2020-11-28T13:44:45.000Z | 2020-11-28T13:44:45.000Z | import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import ForgotPassword from 'src/app/shared/models/ForgotPassword';
import { environment } from 'src/environments/environment';
@Injectable({
providedIn: 'root'
})
export class ForgotPasswordService {
private baseUrl = `$... | 29.444444 | 66 | 0.754717 |
338ee434769c53fb1d6fe26f7e1d4beabf378962 | 481 | rb | Ruby | report.rb | alexreisner/tennis_stats | bb86379e40222a9d9e3ee5a7aa377375a81da571 | [
"MIT"
] | null | null | null | report.rb | alexreisner/tennis_stats | bb86379e40222a9d9e3ee5a7aa377375a81da571 | [
"MIT"
] | null | null | null | report.rb | alexreisner/tennis_stats | bb86379e40222a9d9e3ee5a7aa377375a81da571 | [
"MIT"
] | 1 | 2019-07-13T07:42:52.000Z | 2019-07-13T07:42:52.000Z | ##
# Tennis Stats: Report
# Extremely simple stat tracking for tennis.
#
# Copyright (c) 2009 Alex Reisner. (MIT license)
#
require 'tennis_stats'
#require 'rubygems'; require 'ruby-debug'; debugger
puts ""
# gather command-line argument
filename = ARGV[0]
# make sure data file specified
if filename.nil?
puts "Usa... | 17.814815 | 51 | 0.721414 |
456998b84bd84d5a945624faab3ed7ce2be13f17 | 891 | py | Python | plot_images.py | awesome-archive/python-utils | 0e130a649faf7297aa67720c69ae7f1cc7d3ffb0 | [
"MIT"
] | null | null | null | plot_images.py | awesome-archive/python-utils | 0e130a649faf7297aa67720c69ae7f1cc7d3ffb0 | [
"MIT"
] | null | null | null | plot_images.py | awesome-archive/python-utils | 0e130a649faf7297aa67720c69ae7f1cc7d3ffb0 | [
"MIT"
] | null | null | null | import numpy as np
def map_range(x, in_min, in_max, out_min, out_max):
return out_min + (out_max - out_min) * (x - in_min) / (in_max - in_min)
def plot_images(images, xy, blend=np.maximum, canvas_shape=(512,512), fill=0):
h,w = images.shape[1:3]
if images.ndim == 4:
canvas_shape = (canvas_shap... | 37.125 | 89 | 0.632997 |
a325d9d9cb4ed0b23be8966398b6557465b1a3e4 | 2,628 | c | C | ch16-thread-synchronization/ExtremeC_examples_chapter16_1_cv.c | Grahame-student/Extreme-C | b5fa8c6575147e095d8e72b829f08d04b9d4e2e2 | [
"MIT"
] | 162 | 2019-07-02T21:58:08.000Z | 2022-03-27T20:53:31.000Z | ch16-thread-synchronization/ExtremeC_examples_chapter16_1_cv.c | Grahame-student/Extreme-C | b5fa8c6575147e095d8e72b829f08d04b9d4e2e2 | [
"MIT"
] | 2 | 2020-09-01T22:00:49.000Z | 2021-09-05T13:57:14.000Z | ch16-thread-synchronization/ExtremeC_examples_chapter16_1_cv.c | Grahame-student/Extreme-C | b5fa8c6575147e095d8e72b829f08d04b9d4e2e2 | [
"MIT"
] | 80 | 2019-01-26T09:51:33.000Z | 2022-03-30T13:53:23.000Z | // File name: ExtremeC_examples_chapter16_1_cv.c
// Description: This example demonstrates how to use a condition
// variable to wait for an event to happen.
#include <stdio.h>
#include <stdlib.h>
// The POSIX standard header for using pthread library
#include <pthread.h>
#define TRUE 1
#define FALSE 0... | 25.764706 | 65 | 0.715373 |
8475affbe0fa565eae39ed6dc2432280d0ee54bc | 483 | cs | C# | src/Exadel.CrazyPrice/Exadel.CrazyPrice.Services/Mail/MailSenderMailKit/IntegrationEvents/CompanyBusParams.cs | ssivazhalezau/exadel_discounts_be | 651b9f346fd24df52ee8573e04d3317538c3644e | [
"BSD-3-Clause"
] | 3 | 2021-01-25T13:22:11.000Z | 2022-03-15T06:31:58.000Z | src/Exadel.CrazyPrice/Exadel.CrazyPrice.Services/Mail/MailSenderMailKit/IntegrationEvents/CompanyBusParams.cs | ssivazhalezau/exadel_discounts_be | 651b9f346fd24df52ee8573e04d3317538c3644e | [
"BSD-3-Clause"
] | 3 | 2021-01-18T10:16:22.000Z | 2021-03-04T20:56:49.000Z | src/Exadel.CrazyPrice/Exadel.CrazyPrice.Services/Mail/MailSenderMailKit/IntegrationEvents/CompanyBusParams.cs | ssivazhalezau/exadel_discounts_be | 651b9f346fd24df52ee8573e04d3317538c3644e | [
"BSD-3-Clause"
] | 2 | 2021-03-14T08:53:17.000Z | 2022-03-15T06:31:35.000Z | using Exadel.CrazyPrice.Services.Bus.EventBus.Events;
using Exadel.CrazyPrice.Services.Common.IntegrationEvents.Events;
using Exadel.CrazyPrice.Services.Common.IntegrationEvents.Models;
namespace Exadel.CrazyPrice.Services.Mail.MailSenderMailKit.IntegrationEvents
{
public record CompanyBusParams : BusParams... | 37.153846 | 99 | 0.768116 |
e21fd88be14bbbe5b8b79413331c165ec4fad8ce | 5,161 | py | Python | benchmark/compute_gt.py | babylonhealth/multiverse | 32e5301ef7910e80d4eac1f27dd6cbcd6be7c975 | [
"MIT"
] | 12 | 2020-02-03T15:38:56.000Z | 2021-08-14T20:53:46.000Z | benchmark/compute_gt.py | babylonhealth/multiverse | 32e5301ef7910e80d4eac1f27dd6cbcd6be7c975 | [
"MIT"
] | null | null | null | benchmark/compute_gt.py | babylonhealth/multiverse | 32e5301ef7910e80d4eac1f27dd6cbcd6be7c975 | [
"MIT"
] | 5 | 2020-02-04T12:07:31.000Z | 2021-03-03T16:46:42.000Z |
"""
We compute the ground truth values of counterfactual queries
using enumeration.
To compute, we enumerate over all possible combinations
of exogenous variables twice:
1. First time we execute the program with each combination
without interventions to calculate the posterior log-probabilities
(incorporating ... | 29.491429 | 86 | 0.665181 |
0afba1a07898524c1ce1cf2e4f9a9d28fb78d07a | 1,710 | cs | C# | DirectN/DirectN/Generated/DD_VIDEOPORTCALLBACKS.cs | riQQ/DirectN | 9f9ec790c317448b0f5ddfeea423959d8227ee1d | [
"MIT"
] | 1 | 2019-11-30T20:41:08.000Z | 2019-11-30T20:41:08.000Z | DirectN/DirectN/Generated/DD_VIDEOPORTCALLBACKS.cs | bbday/DirectN | 5db37386f44078ffa082c6499a29361a50ea11a5 | [
"MIT"
] | null | null | null | DirectN/DirectN/Generated/DD_VIDEOPORTCALLBACKS.cs | bbday/DirectN | 5db37386f44078ffa082c6499a29361a50ea11a5 | [
"MIT"
] | null | null | null | // c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\ddrawint.h(539,9)
using System;
using System.Runtime.InteropServices;
using PDD_VPORTCB_CANCREATEVIDEOPORT = System.IntPtr;
using PDD_VPORTCB_COLORCONTROL = System.IntPtr;
using PDD_VPORTCB_CREATEVIDEOPORT = System.IntPtr;
using PDD_VPORTCB_DESTROYVPORT... | 38 | 84 | 0.771345 |
6b2527414eeaa01092c404438521c2e6baed881b | 1,501 | js | JavaScript | commands/utility/color.js | Naufal-DevVoder/Kaguya-Bot-Discord | a6790d801e2a3c332319036b0842d4bfa34c072b | [
"MIT"
] | 2 | 2021-02-19T01:53:18.000Z | 2021-02-24T08:22:03.000Z | commands/utility/color.js | Naufal-DevVoder/Kaguya-Bot-Discord | a6790d801e2a3c332319036b0842d4bfa34c072b | [
"MIT"
] | null | null | null | commands/utility/color.js | Naufal-DevVoder/Kaguya-Bot-Discord | a6790d801e2a3c332319036b0842d4bfa34c072b | [
"MIT"
] | null | null | null | const Discord = require("discord.js");
module.exports = {
name: "color",
category: "🛠 | Utility",
usage: "color [color tag]",
description: "Send your request color or random color",
run: async (bot, message, args) => {
var color = message.content
.split(/\s+/g)
.slice(1)
.join(" ");
... | 31.93617 | 78 | 0.572285 |
23c7b7e1609bbb7c90c60ef6f88f553645a5f9fe | 6,966 | js | JavaScript | src/views/AddModel/AddModel.js | atomauro/botweb | 40f70e665a1e602c020253b1ec747ceaf27e02ce | [
"MIT"
] | null | null | null | src/views/AddModel/AddModel.js | atomauro/botweb | 40f70e665a1e602c020253b1ec747ceaf27e02ce | [
"MIT"
] | 7 | 2020-11-26T18:03:52.000Z | 2020-11-26T18:06:56.000Z | src/views/AddModel/AddModel.js | atomauro/botweb | 40f70e665a1e602c020253b1ec747ceaf27e02ce | [
"MIT"
] | null | null | null | import React from 'react';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import { makeStyles, withStyles } from '@material-ui/core/styles';
import CloseIcon from '@material-ui/icons/Close';
import GeneralIcon from '@material-ui/icons/Face';
import WebcamIcon from '@material-ui/icons/AddAP... | 22.690554 | 95 | 0.551105 |
833c11fbeba109b856c2940a0c0e0676542bac94 | 2,341 | ts | TypeScript | packages/svg/src/icons/SettingLaptop.ts | bennetfabian/IconPark | ee84059a44b53729b6437eaa42baf8aa1cba47a9 | [
"Apache-2.0"
] | 7 | 2020-08-27T14:47:46.000Z | 2020-08-28T09:48:06.000Z | packages/svg/src/icons/SettingLaptop.ts | bytedance/icons | ee84059a44b53729b6437eaa42baf8aa1cba47a9 | [
"Apache-2.0"
] | null | null | null | packages/svg/src/icons/SettingLaptop.ts | bytedance/icons | ee84059a44b53729b6437eaa42baf8aa1cba47a9 | [
"Apache-2.0"
] | null | null | null | /**
* @file SettingLaptop 笔记本电脑设置
* @author Auto Generated by IconPark
*/
/* tslint:disable: max-line-length */
/* eslint-disable max-len */
import {ISvgIconProps, IconWrapper} from '../runtime';
export default IconWrapper('setting-laptop', (props: ISvgIconProps) => (
'<?xml version="1.0" encoding="UTF-8"?>'
... | 97.541667 | 248 | 0.615976 |
cd48ff49e57d80b9818b5c4e58a363a54663de99 | 6,189 | cs | C# | BNA/src/Import.cs | spaceflint7/bna | f9a8376b939dc7267cc6af50173423653093eb0b | [
"MIT"
] | 3 | 2021-04-02T12:39:20.000Z | 2021-05-21T18:26:52.000Z | BNA/src/Import.cs | spaceflint7/bna | f9a8376b939dc7267cc6af50173423653093eb0b | [
"MIT"
] | null | null | null | BNA/src/Import.cs | spaceflint7/bna | f9a8376b939dc7267cc6af50173423653093eb0b | [
"MIT"
] | null | null | null |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Microsoft.Xna.Framework.Graphics;
#pragma warning disable 0436
namespace Microsoft.Xna.Framework
{
//
// GameWindow
//
[java.attr.Discard] // discard in output
public abstract class GameWindow
{
... | 24.175781 | 111 | 0.629666 |
c302e4c1295d791d51e1fd2a25946aadbabd434f | 16,957 | sql | SQL | Banco/script.sql | saintalex93/notname | c6cb58a592146babb9c6d2f300e23064a99a98a3 | [
"Apache-2.0"
] | null | null | null | Banco/script.sql | saintalex93/notname | c6cb58a592146babb9c6d2f300e23064a99a98a3 | [
"Apache-2.0"
] | null | null | null | Banco/script.sql | saintalex93/notname | c6cb58a592146babb9c6d2f300e23064a99a98a3 | [
"Apache-2.0"
] | 6 | 2018-03-05T14:52:47.000Z | 2020-10-01T02:49:48.000Z | drop database if exists notnamec_db;
create database notnamec_db;
use notnamec_db;
--
-- set global sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
--
-- set session sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FO... | 36.703463 | 202 | 0.739223 |
da58d73bbd66dc52fa0f291c164b267f6af1c098 | 62 | php | PHP | resources/views/components/alert.blade.php | Ivankali2020/learnig_platform_laravel | d956039b74c86182d21f65f5a91cfb35fe105f2e | [
"MIT"
] | null | null | null | resources/views/components/alert.blade.php | Ivankali2020/learnig_platform_laravel | d956039b74c86182d21f65f5a91cfb35fe105f2e | [
"MIT"
] | null | null | null | resources/views/components/alert.blade.php | Ivankali2020/learnig_platform_laravel | d956039b74c86182d21f65f5a91cfb35fe105f2e | [
"MIT"
] | null | null | null |
<div class="alert alert-{{ $css }}" > {{ $error }}</div>
| 10.333333 | 57 | 0.467742 |
a3702b6e856839ef1244adaa3ea3ac550feb126d | 1,847 | ts | TypeScript | server/ImageStore.ts | ivar/epyc | aff916f429edce6e4eaf34b436a25146eafb2cdb | [
"MIT"
] | null | null | null | server/ImageStore.ts | ivar/epyc | aff916f429edce6e4eaf34b436a25146eafb2cdb | [
"MIT"
] | 15 | 2021-02-12T16:50:25.000Z | 2021-09-16T03:10:13.000Z | server/ImageStore.ts | ivar/epyc | aff916f429edce6e4eaf34b436a25146eafb2cdb | [
"MIT"
] | 1 | 2021-04-06T16:27:47.000Z | 2021-04-06T16:27:47.000Z | import AWS from 'aws-sdk';
import { Readable } from 'stream';
import Cfg from './Cfg';
export default class ImageStore {
static getFileUrl(gameName: string, frameId: string) {
const fileName = this.getFileName(gameName, frameId);
return `https://${Cfg.imageStoreAwsBucket}.s3-us-west-2.amazonaws.com... | 28.859375 | 107 | 0.568489 |
2f524c551cdf81075c3f5f47ecf4737b389e9e8a | 704 | js | JavaScript | gatsby-config.js | kenkoii/company-site | bd94024507758c3d6c7e2a9e84bfc29f29f8a3d9 | [
"MIT"
] | null | null | null | gatsby-config.js | kenkoii/company-site | bd94024507758c3d6c7e2a9e84bfc29f29f8a3d9 | [
"MIT"
] | null | null | null | gatsby-config.js | kenkoii/company-site | bd94024507758c3d6c7e2a9e84bfc29f29f8a3d9 | [
"MIT"
] | null | null | null | const languages = require('./src/data/languages');
module.exports = {
siteMetadata: {
title: `Gatsby Default Starter`,
languages
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: 'gatsby-plugin-i18n',
options: {
langKeyForNull: 'any',
langKeyDefault: languages.def... | 25.142857 | 63 | 0.586648 |
1a60d60a752ee290b523b06ce44597e67e4c0e33 | 1,681 | py | Python | src/pymloc/model/optimization/local_optimization.py | dbankmann/python-mloc | 2a29f9ddd96abd77044d091cee6e76fee6773090 | [
"BSD-3-Clause"
] | null | null | null | src/pymloc/model/optimization/local_optimization.py | dbankmann/python-mloc | 2a29f9ddd96abd77044d091cee6e76fee6773090 | [
"BSD-3-Clause"
] | null | null | null | src/pymloc/model/optimization/local_optimization.py | dbankmann/python-mloc | 2a29f9ddd96abd77044d091cee6e76fee6773090 | [
"BSD-3-Clause"
] | null | null | null | #
# Copyright (c) 2019-2020
#
# @author: Daniel Bankmann
# @company: Technische Universität Berlin
#
# This file is part of the python package pymloc
# (see https://gitlab.tubit.tu-berlin.de/bankmann91/python-mloc )
#
# License: 3-clause BSD, see https://opensource.org/licenses/BSD-3-Clause
#
from abc import ABC
from ... | 29.491228 | 73 | 0.716835 |
0ad6d7d0905c4f0cb949f0256ee8dfe433c924cf | 924 | cs | C# | src/MahApps.Metro.IconPacks/PackIconIonicons.cs | JCBurnside/MahApps.Metro.IconPacks | b20d7ed55e3be8febad8ad4b80dc9ce00f7e2d79 | [
"MIT"
] | null | null | null | src/MahApps.Metro.IconPacks/PackIconIonicons.cs | JCBurnside/MahApps.Metro.IconPacks | b20d7ed55e3be8febad8ad4b80dc9ce00f7e2d79 | [
"MIT"
] | null | null | null | src/MahApps.Metro.IconPacks/PackIconIonicons.cs | JCBurnside/MahApps.Metro.IconPacks | b20d7ed55e3be8febad8ad4b80dc9ce00f7e2d79 | [
"MIT"
] | null | null | null |
#if !(NETFX_CORE || WINDOWS_UWP)
using System.Windows;
#endif
namespace MahApps.Metro.IconPacks
{
/// <summary>
/// Ionicons is licensed under the [MIT license](<see><cref>https://github.com/ionic-team/ionicons/blob/master/LICENSE</cref></see>).
/// Contributions, corrections and requests can be made on ... | 33 | 137 | 0.688312 |
2189ee18602e47335dd75470b68db3ea07a59a18 | 1,358 | js | JavaScript | nthNumber.js | mhans003/algorithm-solutions-cs | e92e8b04febb8da328439ff47eef6f5feeaa9942 | [
"MIT"
] | 1 | 2021-09-08T17:44:44.000Z | 2021-09-08T17:44:44.000Z | nthNumber.js | mhans003/algorithm-solutions-cs | e92e8b04febb8da328439ff47eef6f5feeaa9942 | [
"MIT"
] | null | null | null | nthNumber.js | mhans003/algorithm-solutions-cs | e92e8b04febb8da328439ff47eef6f5feeaa9942 | [
"MIT"
] | null | null | null | /*
You are given a string s of characters that contains at least n numbers (here, a number is defined as a consecutive series of digits, where any character immediately to the left and right of the series are not digits). The numbers may contain leading zeros, but it is guaranteed that each number has at least one non-... | 46.827586 | 334 | 0.71134 |
0744f5a61f93613c3213093c3b4585e8a27ebd2a | 426 | css | CSS | data/usercss/20101.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 118 | 2020-08-28T19:59:28.000Z | 2022-03-26T16:28:40.000Z | data/usercss/20101.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 38 | 2020-09-02T01:08:45.000Z | 2022-01-23T02:47:24.000Z | data/usercss/20101.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 21 | 2020-08-19T01:12:43.000Z | 2022-03-15T21:55:17.000Z | /* ==UserStyle==
@name non-padding for ESV
@namespace USO Archive
@author joe jiang
@description `turn off ESV.org bible site's padding for narrow screens`
@version 20090810.8.9
@license NO-REDISTRIBUTION
@preprocessor uso
==/UserStyle== */
@namespace url(http://www.w3.org/1999... | 26.625 | 74 | 0.629108 |
b6867984976accb0ccd4106a9559fd037f29de31 | 1,977 | rs | Rust | src/replace.rs | lucab/cargo-release | e2caea8c1c4f7f8740f7c42c48c5c087f04a823e | [
"Apache-2.0",
"MIT"
] | null | null | null | src/replace.rs | lucab/cargo-release | e2caea8c1c4f7f8740f7c42c48c5c087f04a823e | [
"Apache-2.0",
"MIT"
] | null | null | null | src/replace.rs | lucab/cargo-release | e2caea8c1c4f7f8740f7c42c48c5c087f04a823e | [
"Apache-2.0",
"MIT"
] | null | null | null | use std::io::prelude::*;
use std::io;
use std::fs::File;
use std::path::Path;
use regex::Regex;
use error::FatalError;
use toml::Value;
use chrono::prelude::Local;
fn load_from_file(path: &Path) -> io::Result<String> {
let mut file = try!(File::open(path));
let mut s = String::new();
try!(file.read_to_str... | 30.890625 | 83 | 0.505817 |
c9c3f068965fb1fd33b27d05a2c28bb119cbe3f2 | 533 | ts | TypeScript | BackEnd/API/Routes/oferta.ts | Guldanist/Ecollect-Final | bb68d693577d33ad45bbeae289ebdf9fc506dece | [
"MIT"
] | null | null | null | BackEnd/API/Routes/oferta.ts | Guldanist/Ecollect-Final | bb68d693577d33ad45bbeae289ebdf9fc506dece | [
"MIT"
] | 1 | 2021-05-09T21:52:24.000Z | 2021-05-09T21:52:24.000Z | BackEnd/API/Routes/oferta.ts | Guldanist/Ecollect-Final | bb68d693577d33ad45bbeae289ebdf9fc506dece | [
"MIT"
] | null | null | null | // OFERTA ROUTER
import {OfertaController} from'./../Controllers/oferta';
import {Router} from 'express';
export var OfertaRouter=Router();
/**
* Implementamos las consultas mediante GET
*/
OfertaRouter.get('/oferta/:publi_id',OfertaController.getOfertasByIdPublicacion);
OfertaRouter.get('/oferta/misofertas/:usu_id... | 38.071429 | 108 | 0.804878 |
1ab6b096defc0c59723c7efad322fab83e7c78f4 | 171 | py | Python | task05/task5.py | SimeonHristov99/CodeEveryDay | ffeed48d7d55910be87b40b4113e8073f29a265d | [
"MIT"
] | null | null | null | task05/task5.py | SimeonHristov99/CodeEveryDay | ffeed48d7d55910be87b40b4113e8073f29a265d | [
"MIT"
] | null | null | null | task05/task5.py | SimeonHristov99/CodeEveryDay | ffeed48d7d55910be87b40b4113e8073f29a265d | [
"MIT"
] | null | null | null | def multiplication_table(size):
return [[ x * y for y in range(1, size + 1)] for x in range(1, size + 1)]
print(multiplication_table(3)) # [[1,2,3],[2,4,6],[3,6,9]] | 34.2 | 77 | 0.608187 |
da5ba7644cceabe6282e9f740c600595db49c587 | 479 | php | PHP | lib/HTML/Attr/StartAttr/StartTrait.php | dom-arch/dom-assembly | e9138d823f282679534859f6ee02a97a0ccb8e83 | [
"MIT"
] | null | null | null | lib/HTML/Attr/StartAttr/StartTrait.php | dom-arch/dom-assembly | e9138d823f282679534859f6ee02a97a0ccb8e83 | [
"MIT"
] | null | null | null | lib/HTML/Attr/StartAttr/StartTrait.php | dom-arch/dom-assembly | e9138d823f282679534859f6ee02a97a0ccb8e83 | [
"MIT"
] | null | null | null | <?php
namespace DOMAssembly\HTML\Attr\StartAttr {
use DOMAssembly\HTML\Attr\StartAttr;
trait StartTrait
{
/**
* @param int $value
* @return $this
*/
public function setStart(
int $value
)
{
$value = var_export($value, true... | 19.958333 | 53 | 0.482255 |
d8bda3916a6e51b7e78f54596a5c15c9826dadd5 | 672 | swift | Swift | Pod-Chat-iOS-SDK/Chat/Main/NewChat/Message/DTO/REQ/UnreadMessageCountRequest.swift | FanapSoft/pod-chat-ios-sdk | 3d80685d7b6ecbb2bbba4f186554ca883d3fac9b | [
"MIT"
] | null | null | null | Pod-Chat-iOS-SDK/Chat/Main/NewChat/Message/DTO/REQ/UnreadMessageCountRequest.swift | FanapSoft/pod-chat-ios-sdk | 3d80685d7b6ecbb2bbba4f186554ca883d3fac9b | [
"MIT"
] | null | null | null | Pod-Chat-iOS-SDK/Chat/Main/NewChat/Message/DTO/REQ/UnreadMessageCountRequest.swift | FanapSoft/pod-chat-ios-sdk | 3d80685d7b6ecbb2bbba4f186554ca883d3fac9b | [
"MIT"
] | null | null | null | //
// UnreadMessageCountRequest.swift
// FanapPodChatSDK
//
// Created by Hamed Hosseini on 2/27/21.
//
import Foundation
public class UnreadMessageCountRequest: BaseRequest{
let countMutedThreads:Bool
public init (countMutedThreads:Bool = false,uniqueId:String? = nil , typeCode:String? = nil){
self.countMu... | 24.888889 | 94 | 0.741071 |
c96efc7c4353fddf8723386eecce4f8c849df2ba | 840 | ts | TypeScript | resources/frontend/angular/src/app/services/modal.service.ts | glassShard/lvhang | af87d363b367fc354fe0df3166e7a5e178595a3a | [
"MIT"
] | null | null | null | resources/frontend/angular/src/app/services/modal.service.ts | glassShard/lvhang | af87d363b367fc354fe0df3166e7a5e178595a3a | [
"MIT"
] | 9 | 2021-02-02T19:26:49.000Z | 2022-03-02T10:39:45.000Z | resources/frontend/angular/src/app/services/modal.service.ts | glassShard/lvhang | af87d363b367fc354fe0df3166e7a5e178595a3a | [
"MIT"
] | null | null | null | import {Injectable} from '@angular/core';
import {Subject} from 'rxjs';
@Injectable({
providedIn: 'root'
})
export class ModalService {
private modals: any[] = [];
quillNotifyer = new Subject<{open: boolean, id: number, text: string | null | undefined}>();
modalReadyNotifyer = new Subject<number>();
quillRes... | 22.702703 | 94 | 0.604762 |
fe960b73da55174c941ced49110568c667e355ee | 1,343 | dart | Dart | lib/bloc/recipe_details/recipe_details_state.dart | fiery-flutter/mobile-app | 70f6427105f741775b5ff641840e3f05048a84ab | [
"MIT"
] | 1 | 2021-05-13T23:05:20.000Z | 2021-05-13T23:05:20.000Z | lib/bloc/recipe_details/recipe_details_state.dart | fiery-flutter/mobile-app | 70f6427105f741775b5ff641840e3f05048a84ab | [
"MIT"
] | null | null | null | lib/bloc/recipe_details/recipe_details_state.dart | fiery-flutter/mobile-app | 70f6427105f741775b5ff641840e3f05048a84ab | [
"MIT"
] | null | null | null | import 'package:equatable/equatable.dart';
import 'package:flutter/foundation.dart';
import '../../data/http_client/responses/responses.dart';
import '../../ui/screens/recipe_details/recipe_header/recipe_header_view_model.dart';
class RecipeDetailsState extends Equatable {
final RecipeResponse recipe;
final bool ... | 26.333333 | 85 | 0.673864 |
f590b76b235a202847381fc918657b0462491d88 | 117 | sql | SQL | src/test/resources/sql/create_table/0ad0746b.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/create_table/0ad0746b.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/create_table/0ad0746b.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:tablesample.sql ln:106 expect:true
create table parted_sample_1 partition of parted_sample for values in (1)
| 39 | 73 | 0.811966 |
f77b86b052b422b6d801c52b465a05d004175560 | 85 | sql | SQL | api/src/main/resources/db/migration/mysql/common/V1_0_10__DDL_drop_unique_index_on_variant_id_on_wishlist_items.sql | stsiwo/e-commerce-starter-kits | bd36d5b97eb5f3b844fc1cefaf2e14bf71667d76 | [
"MIT"
] | null | null | null | api/src/main/resources/db/migration/mysql/common/V1_0_10__DDL_drop_unique_index_on_variant_id_on_wishlist_items.sql | stsiwo/e-commerce-starter-kits | bd36d5b97eb5f3b844fc1cefaf2e14bf71667d76 | [
"MIT"
] | null | null | null | api/src/main/resources/db/migration/mysql/common/V1_0_10__DDL_drop_unique_index_on_variant_id_on_wishlist_items.sql | stsiwo/e-commerce-starter-kits | bd36d5b97eb5f3b844fc1cefaf2e14bf71667d76 | [
"MIT"
] | null | null | null | -- drop this index. this is mistake.
DROP INDEX variant_id_UNIQUE ON wishlist_items;
| 28.333333 | 47 | 0.8 |
da995ee5ba15c9dd3c5d01f782d4b67d015cc49d | 2,941 | php | PHP | application/views/quiz/lembar_kerja.php | fitrahizulfalaq/miniquiz | 431662d670af63d26d38e6388ad099afc1460d8d | [
"MIT"
] | null | null | null | application/views/quiz/lembar_kerja.php | fitrahizulfalaq/miniquiz | 431662d670af63d26d38e6388ad099afc1460d8d | [
"MIT"
] | null | null | null | application/views/quiz/lembar_kerja.php | fitrahizulfalaq/miniquiz | 431662d670af63d26d38e6388ad099afc1460d8d | [
"MIT"
] | null | null | null | <section class="content">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<div class="card-header">
<a href="<?= base_url('quiz/menu')?>" class="btn btn-warning float-right btn-sm"><i class="fas fa-backward"></i> Kembali</a>
</div>
<div class=... | 51.596491 | 144 | 0.509011 |
581d73c4c04208143c46215cc7dac21758ca658e | 792 | css | CSS | blog/style.css | bunsenmcdubbs/bunsenmcdubbs.github.io | 45ebb3563c25a13d4a03a22ffb536a615866c8c5 | [
"MIT"
] | 1 | 2017-12-19T08:43:35.000Z | 2017-12-19T08:43:35.000Z | blog/style.css | bunsenmcdubbs/bunsenmcdubbs.github.io | 45ebb3563c25a13d4a03a22ffb536a615866c8c5 | [
"MIT"
] | 8 | 2017-12-19T08:48:09.000Z | 2022-02-26T03:35:53.000Z | blog/style.css | bunsenmcdubbs/bunsenmcdubbs.github.io | 45ebb3563c25a13d4a03a22ffb536a615866c8c5 | [
"MIT"
] | null | null | null | /*.posts-1 > div:nth-of-type(1) > :first-child:before {
content: '[Latest Post]';
display: block;
font-family: Courier, monospace;
margin-bottom: .4em;
}*/
.entry {
margin-top: 1em;
box-sizing: border-box;
}
.quote blockquote:hover {
border-left-color: #357efc;
}
.quote blockquote p {
margin-top: 0;
... | 13.655172 | 55 | 0.633838 |
0dddbcc6eb91b47b923ac75dc61c08db9e1a094c | 1,004 | cs | C# | ICQ.Bot/Types/InputFiles/InputFileStream.cs | idan-rubin/icq.bot | 1b519a51bfb5c528a35aa60f4cbc739ed8c52567 | [
"MIT"
] | null | null | null | ICQ.Bot/Types/InputFiles/InputFileStream.cs | idan-rubin/icq.bot | 1b519a51bfb5c528a35aa60f4cbc739ed8c52567 | [
"MIT"
] | null | null | null | ICQ.Bot/Types/InputFiles/InputFileStream.cs | idan-rubin/icq.bot | 1b519a51bfb5c528a35aa60f4cbc739ed8c52567 | [
"MIT"
] | null | null | null | using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using ICQ.Bot.Converters;
using ICQ.Bot.Types.Enums;
namespace ICQ.Bot.Types.InputFiles
{
[JsonObject(MemberSerialization.OptIn, NamingStrategyType = typeof(CamelCaseNamingStrategy))]
[JsonConverter(typeof(InputFileConverter))]
pu... | 27.888889 | 97 | 0.640438 |
7f51864b58ad8578dc34d92f40aa9f419e1ed22b | 1,935 | rs | Rust | hexe_core/src/misc/extract.rs | nvzqz/Hexe | 632f16518d74c4981147c4726d717c905fa5051e | [
"Apache-2.0",
"MIT"
] | 29 | 2017-10-17T05:16:51.000Z | 2021-09-28T18:26:19.000Z | hexe_core/src/misc/extract.rs | nvzqz/Hexe | 632f16518d74c4981147c4726d717c905fa5051e | [
"Apache-2.0",
"MIT"
] | 6 | 2017-10-24T15:45:40.000Z | 2018-03-25T19:19:55.000Z | hexe_core/src/misc/extract.rs | nvzqz/Hexe | 632f16518d74c4981147c4726d717c905fa5051e | [
"Apache-2.0",
"MIT"
] | null | null | null | /// A type whose instances may be used to extract references from buffers.
///
/// All operations are non-panicking and cannot fail.
///
/// # Examples
///
/// Using tuples preserves the same order as normal indexing:
///
/// ```
/// use hexe_core::prelude::{Extract, Square};
///
/// let mut table: [[[u8; 64]; 64]; 64]... | 25.460526 | 74 | 0.537984 |