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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cf2e422102e19550ee40740fce8c1dfc2aad5919 | 1,095 | php | PHP | application/config/app/constants.php | ktsuench/real_update | 4bfbdee25442a4c3ba9a46eb478333d9473118f0 | [
"MIT"
] | null | null | null | application/config/app/constants.php | ktsuench/real_update | 4bfbdee25442a4c3ba9a46eb478333d9473118f0 | [
"MIT"
] | null | null | null | application/config/app/constants.php | ktsuench/real_update | 4bfbdee25442a4c3ba9a46eb478333d9473118f0 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
defined('ENV_DEVELOPMENT') OR define('ENV_DEVELOPMENT' , 'development');
defined('ENV_TESTING') OR define('ENV_TESTING' , 'testing');
defined('ENV_PRODUCTION') OR define('ENV_PRODUCTION' , 'production');
defined('ENV_LOC_LOCAL') OR define('ENV_LO... | 45.625 | 79 | 0.677626 |
5c73f0a3e4480d5a524bb438df7dda5403ea5f78 | 819 | dart | Dart | lib/src/decorators/box_shape_decorator.dart | fauziridwan1709/ristek_material_component | 191a22bbe2116f3f652a0f576061ba7f52313601 | [
"MIT"
] | 1 | 2021-11-11T04:21:47.000Z | 2021-11-11T04:21:47.000Z | lib/src/decorators/box_shape_decorator.dart | fauziridwan1709/ristek_material_component | 191a22bbe2116f3f652a0f576061ba7f52313601 | [
"MIT"
] | null | null | null | lib/src/decorators/box_shape_decorator.dart | fauziridwan1709/ristek_material_component | 191a22bbe2116f3f652a0f576061ba7f52313601 | [
"MIT"
] | null | null | null | // Created by Muhamad Fauzi Ridwan on 07/11/21.
part of '_decorators.dart';
class BoxShapeDecorator {
BoxShapeDecorator() {
_shadowDecorator = BoxShadowDecorator();
_boxDecoration = const BoxDecoration();
}
BoxShapeDecorator.withColor(Color color) {
_shadowDecorator = BoxShadowDecorator();
_boxD... | 26.419355 | 58 | 0.739927 |
a91019437a40fc34ff5892414e956eca9b6cc7fb | 6,754 | css | CSS | css/main.css | madhavsankar/madhavsankar.github.io | 942ff6c4e7c194f7c280a05515fcbe824a19b951 | [
"MIT"
] | 4 | 2015-05-28T17:44:51.000Z | 2020-12-01T19:08:35.000Z | css/main.css | madhavsankar/madhavsankar.github.io | 942ff6c4e7c194f7c280a05515fcbe824a19b951 | [
"MIT"
] | 1 | 2015-01-28T21:36:02.000Z | 2015-01-28T21:36:02.000Z | css/main.css | madhavsankar/madhavsankar.github.io | 942ff6c4e7c194f7c280a05515fcbe824a19b951 | [
"MIT"
] | 4 | 2016-03-16T11:35:36.000Z | 2020-09-25T10:01:13.000Z | * { margin: 0; padding: 0; }
::-moz-selection { color: black; background: lightgray; }
::selection { color: black; background: lightgray; }
html, body { height: 100%; }
body, section, h1, h2, h3, h4 { font-family: Arial, sans-serif; }
body, section, h1, h2, h3, h4, h5, h6 { font-family: 'Open Sans', Arial, Helveti... | 25.877395 | 259 | 0.643619 |
b1952e02093038b8f0cf2e7715525b5d584bb4a5 | 260 | py | Python | python/testData/override/dunderNewPy3k_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/override/dunderNewPy3k_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/override/dunderNewPy3k_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class BaseMeta(type):
def __new__(cls, name, bases, namespace):
return super().__new__(cls, name, bases, namespace)
class MyMeta(BaseMeta):
def __new__(cls, name, bases, namespace):
return super().__new__(cls, name, bases, namespace)
| 28.888889 | 59 | 0.676923 |
a392f3338ee16f0c71c5cd5e05d6abe86e94dc1c | 1,600 | java | Java | src/main/java/com/minerarcana/transfiguration/recipe/json/TagJson.java | Mrbysco/Transfiguration | 7f3dc354cb0a2c06142cd98c6694786af3840319 | [
"MIT"
] | null | null | null | src/main/java/com/minerarcana/transfiguration/recipe/json/TagJson.java | Mrbysco/Transfiguration | 7f3dc354cb0a2c06142cd98c6694786af3840319 | [
"MIT"
] | null | null | null | src/main/java/com/minerarcana/transfiguration/recipe/json/TagJson.java | Mrbysco/Transfiguration | 7f3dc354cb0a2c06142cd98c6694786af3840319 | [
"MIT"
] | 1 | 2022-01-26T21:55:12.000Z | 2022-01-26T21:55:12.000Z | package com.minerarcana.transfiguration.recipe.json;
import com.google.gson.JsonObject;
import com.google.gson.JsonParseException;
import net.minecraft.block.Block;
import net.minecraft.entity.EntityType;
import net.minecraft.tags.ITag;
import net.minecraft.tags.TagCollectionManager;
import net.minecraft.util.JSONUtil... | 39.02439 | 134 | 0.71 |
bb7795595bb3e941b206abb9ba94ab5db5d37a06 | 450 | asm | Assembly | oeis/180/A180146.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/180/A180146.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/180/A180146.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A180146: Eight rooks and one berserker on a 3 X 3 chessboard. G.f.: 1/(1 - 4*x - 3*x^2 + 6*x^3).
; Submitted by Jamie Morken(w4)
; 1,4,19,82,361,1576,6895,30142,131797,576244,2519515,11016010,48165121,210591424,920764999,4025843542,17602120621,76961423116,336496993075,1471259517922,6432760512217,28125838644184,122974... | 26.470588 | 198 | 0.7 |
a3a68029f1eefa6723cd4872fbc28df298d263c9 | 15,652 | ts | TypeScript | src/charting/renderer/YAxisRenderer.ts | rbudnar/ui-chart | 11936d63c63ce20d409e62b0c8fd4660f91d14f0 | [
"Apache-2.0"
] | null | null | null | src/charting/renderer/YAxisRenderer.ts | rbudnar/ui-chart | 11936d63c63ce20d409e62b0c8fd4660f91d14f0 | [
"Apache-2.0"
] | null | null | null | src/charting/renderer/YAxisRenderer.ts | rbudnar/ui-chart | 11936d63c63ce20d409e62b0c8fd4660f91d14f0 | [
"Apache-2.0"
] | null | null | null | import { AxisRenderer, CustomRendererGridLineFunction } from './AxisRenderer';
import { ViewPortHandler } from '../utils/ViewPortHandler';
import { AxisDependency, YAxis, YAxisLabelPosition } from '../components/YAxis';
import { Transformer } from '../utils/Transformer';
import { Align, Canvas, Paint, Path, RectF, Styl... | 37.090047 | 136 | 0.581651 |
5a263c119b42306f9ac12ab3c00ecc2a9e6f9844 | 437 | sql | SQL | src/main/resources/db/migration/V1__Create_Tables.sql | DING-Weibing/crawler | 08bae8ec9fbd7e9f0aa85f2ac72689de8416badd | [
"Apache-2.0"
] | null | null | null | src/main/resources/db/migration/V1__Create_Tables.sql | DING-Weibing/crawler | 08bae8ec9fbd7e9f0aa85f2ac72689de8416badd | [
"Apache-2.0"
] | 2 | 2021-12-10T01:47:59.000Z | 2022-01-21T23:46:35.000Z | src/main/resources/db/migration/V1__Create_Tables.sql | DING-Weibing/crawler | 08bae8ec9fbd7e9f0aa85f2ac72689de8416badd | [
"Apache-2.0"
] | null | null | null | create table IF NOT EXISTS LINKS_TO_BE_PROCESSED
(
LINK VARCHAR(2000)
);
create table IF NOT EXISTS LINKS_ALREADY_PROCESSED
(
LINK VARCHAR(2000)
);
create table IF NOT EXISTS NEWS
(
ID BIGINT auto_increment,
TITLE TEXT,
CONTENT TEXT,
URL VARCHAR(2000),
CREATED_AT ... | 21.85 | 50 | 0.659039 |
0f1d3e4e1e66bf08e614173ccc0975239bd53312 | 8,296 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_1379.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_1379.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_1379.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 %r12
push %r13
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x16791, %r8
nop
sub $59085, %rbx
mov (%r8), %r11
nop
nop
nop
and $637, %r12
lea addresses_A_ht+0x358d, %rcx
nop
nop
nop
nop
nop
xor %r14, %r14
mov (%rcx), %rbx
s... | 29.41844 | 2,999 | 0.650193 |
d6c85baf1c29fff4b06d4c7375c176d565a7533f | 7,145 | dart | Dart | lib/client/elements/map_geo_location.dart | GeReinhart/dart-gex-common-ui-elements | 51331d3a9d33d30401c8db2c73f82558785b5f61 | [
"BSD-3-Clause"
] | null | null | null | lib/client/elements/map_geo_location.dart | GeReinhart/dart-gex-common-ui-elements | 51331d3a9d33d30401c8db2c73f82558785b5f61 | [
"BSD-3-Clause"
] | null | null | null | lib/client/elements/map_geo_location.dart | GeReinhart/dart-gex-common-ui-elements | 51331d3a9d33d30401c8db2c73f82558785b5f61 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2015, Gérald Reinhart. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.
library gex_webapp_kit_client.map_geo_location;
import "dart:html";
import 'package:gex_webapp_kit/webapp_kit_client.dart';
import 'package:gex_webapp_kit/we... | 29.282787 | 98 | 0.639468 |
05e42f315833cab5bc5272cbd2173ea8012ff7f5 | 979 | py | Python | python/paddle/v2/fluid/tests/test_maxout_op.py | QingshuChen/Paddle | 25a92be3e123ed21fd98c7be6bd7e3a6320756a3 | [
"Apache-2.0"
] | null | null | null | python/paddle/v2/fluid/tests/test_maxout_op.py | QingshuChen/Paddle | 25a92be3e123ed21fd98c7be6bd7e3a6320756a3 | [
"Apache-2.0"
] | 9 | 2017-09-13T07:39:31.000Z | 2017-10-18T05:58:23.000Z | python/paddle/v2/fluid/tests/test_maxout_op.py | QingshuChen/Paddle | 25a92be3e123ed21fd98c7be6bd7e3a6320756a3 | [
"Apache-2.0"
] | null | null | null | import unittest
import numpy as np
from op_test import OpTest
def maxout_forward_naive(input, groups):
s0, s1, s2, s3 = input.shape
return np.ndarray([s0, s1 / groups, groups, s2, s3], \
buffer = input, dtype=input.dtype).max(axis=(2))
class TestMaxOutOp(OpTest):
def setUp(self):
self.op... | 24.475 | 80 | 0.630235 |
142b07641780dd9f2beff3cb8573129b0f7993a6 | 505 | ts | TypeScript | src/Services/DataService/Reducers/UnloadAllReducer.ts | Rediker-Software/redux-data-service | 739bd4b3c88a71baa562f83181c42f5b26ef0929 | [
"MIT"
] | 9 | 2018-06-29T17:23:35.000Z | 2021-06-03T13:31:48.000Z | src/Services/DataService/Reducers/UnloadAllReducer.ts | Rediker-Software/redux-data-service | 739bd4b3c88a71baa562f83181c42f5b26ef0929 | [
"MIT"
] | 14 | 2018-08-01T21:39:14.000Z | 2019-03-27T13:57:30.000Z | src/Services/DataService/Reducers/UnloadAllReducer.ts | Rediker-Software/redux-data-service | 739bd4b3c88a71baa562f83181c42f5b26ef0929 | [
"MIT"
] | 4 | 2018-07-31T14:32:11.000Z | 2018-12-11T13:58:54.000Z | import { IModelData } from "../../../Model/IModel";
import { IAction } from "../../IService";
import { DataServiceStateRecord, IDataServiceStateRecord } from "../DataServiceStateRecord";
/** Disconnects all IModel instances from the store and returns a new copy of the store */
export function unloadAllReducer<T extend... | 38.846154 | 114 | 0.730693 |
a491d872e0c64c7a4be24c1ee4d344f3cc1922e5 | 6,312 | php | PHP | locales/japan.php | theblueman42/apcal | 335c04618e005e9aea07e3eeff5e72e94a1d69c9 | [
"OLDAP-2.5",
"OLDAP-2.8"
] | null | null | null | locales/japan.php | theblueman42/apcal | 335c04618e005e9aea07e3eeff5e72e94a1d69c9 | [
"OLDAP-2.5",
"OLDAP-2.8"
] | null | null | null | locales/japan.php | theblueman42/apcal | 335c04618e005e9aea07e3eeff5e72e94a1d69c9 | [
"OLDAP-2.5",
"OLDAP-2.8"
] | null | null | null | <?php
/*
* You may not change or alter any portion of this comment or credits
* of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.
*
* This program is distributed in the hope that it will be useful,
... | 31.247525 | 90 | 0.428074 |
a444f6e30936b7bb754c18e52b2da39944a3af71 | 1,039 | php | PHP | application/Common/Controller/OperatorbaseController.class.php | hafrans/ujn-ujncard-php | 139ea1993e7e6ed5fc0f42c587dd4f903bcd7e47 | [
"Apache-2.0"
] | null | null | null | application/Common/Controller/OperatorbaseController.class.php | hafrans/ujn-ujncard-php | 139ea1993e7e6ed5fc0f42c587dd4f903bcd7e47 | [
"Apache-2.0"
] | null | null | null | application/Common/Controller/OperatorbaseController.class.php | hafrans/ujn-ujncard-php | 139ea1993e7e6ed5fc0f42c587dd4f903bcd7e47 | [
"Apache-2.0"
] | null | null | null | <?php
namespace Common\Controller;
use Common\Controller\HomebaseController;
use Campus\Model\EcardOperatorsModel;
class OperatorbaseController extends HomebaseController{
protected $user_model;
protected $user;
protected $userid;
function _initialize() {
parent::_initialize();
$this->check_login();... | 25.975 | 123 | 0.700674 |
0732e39f94a71d3a6f35063dae48445a945df15f | 225 | css | CSS | src/styles/index.css | Kh-Ol-An/esports | f9e1f9bc611ece56e35c4c1982c74ad828f06ffe | [
"Unlicense"
] | null | null | null | src/styles/index.css | Kh-Ol-An/esports | f9e1f9bc611ece56e35c4c1982c74ad828f06ffe | [
"Unlicense"
] | null | null | null | src/styles/index.css | Kh-Ol-An/esports | f9e1f9bc611ece56e35c4c1982c74ad828f06ffe | [
"Unlicense"
] | null | null | null | html {
font-size: 16px;
box-sizing: border-box;
overflow-x: hidden;
}
body {
background: #141418;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
img {
display: block;
max-width: 100%;
height: auto;
}
| 10.227273 | 25 | 0.595556 |
ff3e7479d936c4d7528161ea01f28f7b8c279b1f | 3,322 | py | Python | test/distributed/fsdp/test_fsdp_param_exec_order_wrap.py | YifanShenSZ/pytorch | b4232f7cbe407909f9d95b91304c73fdc4c66a50 | [
"Intel"
] | null | null | null | test/distributed/fsdp/test_fsdp_param_exec_order_wrap.py | YifanShenSZ/pytorch | b4232f7cbe407909f9d95b91304c73fdc4c66a50 | [
"Intel"
] | null | null | null | test/distributed/fsdp/test_fsdp_param_exec_order_wrap.py | YifanShenSZ/pytorch | b4232f7cbe407909f9d95b91304c73fdc4c66a50 | [
"Intel"
] | null | null | null | # Owner(s): ["oncall: distributed"]
import torch
from torch.testing._internal.common_fsdp import FSDPTest
from torch.testing._internal.common_distributed import skip_if_lt_x_gpu
from torch.distributed.fsdp.wrap import ParamExecOrderWrapPolicy, always_wrap_policy
from torch.distributed.fsdp.fully_sharded_data_parallel ... | 36.911111 | 104 | 0.675196 |
db6b70fadf3a05b484aa88b4d26176945667f2fe | 20,852 | php | PHP | moodledata/lang/es_mx/tool_lp.php | Kvosarkoceles/educacionintegral.net | 2716019e17ac1b306c5294ea8740b6d1c9c170e1 | [
"MIT"
] | 1 | 2020-08-10T18:03:38.000Z | 2020-08-10T18:03:38.000Z | moodledata/lang/es_mx/tool_lp.php | Kvosarkoceles/educacionintegral.net | 2716019e17ac1b306c5294ea8740b6d1c9c170e1 | [
"MIT"
] | null | null | null | moodledata/lang/es_mx/tool_lp.php | Kvosarkoceles/educacionintegral.net | 2716019e17ac1b306c5294ea8740b6d1c9c170e1 | [
"MIT"
] | 1 | 2020-08-09T20:20:50.000Z | 2020-08-09T20:20:50.000Z | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle... | 69.506667 | 268 | 0.75681 |
2c906b8675acf3ad18b366d41cc93f6c756f3ca3 | 2,235 | py | Python | ListaExercicios3/ex1.py | GabrielSouzaGit/PythonStudies | 49ec26d4ae45999695ab32f8e1f27587adb5ca4b | [
"MIT"
] | null | null | null | ListaExercicios3/ex1.py | GabrielSouzaGit/PythonStudies | 49ec26d4ae45999695ab32f8e1f27587adb5ca4b | [
"MIT"
] | null | null | null | ListaExercicios3/ex1.py | GabrielSouzaGit/PythonStudies | 49ec26d4ae45999695ab32f8e1f27587adb5ca4b | [
"MIT"
] | null | null | null | '''Uma empresa decidiu fazer um levantamento em relação aos candidatos que se apresentarem para preenchi- mento de vagas em seu quadro de funcionários. Supondo que você seja o programador dessa empresa, faça um programa que leia, para cada candidato, a idade, o sexo (M ou F), e a experiência no serviço (S ou N). Para e... | 47.553191 | 420 | 0.694407 |
0abc40ef9a088968291395f8bd2e884bd2c9779f | 10,280 | cs | C# | MessageRouter/MessageRouter.Tests/BusinessLogic/DataContractManagerTests.cs | MarcinZiabek/netmq-router | 8ae33c6aee7909231d66d4832f5ce145838b9ead | [
"MIT"
] | 11 | 2019-02-16T18:59:35.000Z | 2021-11-07T20:19:01.000Z | MessageRouter/MessageRouter.Tests/BusinessLogic/DataContractManagerTests.cs | MarcinZiabek/netmq-router | 8ae33c6aee7909231d66d4832f5ce145838b9ead | [
"MIT"
] | 2 | 2018-03-23T20:08:11.000Z | 2018-04-22T19:26:40.000Z | MessageRouter/MessageRouter.Tests/BusinessLogic/DataContractManagerTests.cs | MarcinZiabek/netmq-router | 8ae33c6aee7909231d66d4832f5ce145838b9ead | [
"MIT"
] | 4 | 2018-08-05T11:37:41.000Z | 2021-10-05T15:14:07.000Z | using System.Collections.Generic;
using System.Linq;
using MessageRouter.BusinessLogic;
using MessageRouter.Infrastructure;
using MessageRouter.Models;
using Moq;
using NUnit.Framework;
namespace NetmqRouter.Tests.BusinessLogic
{
[TestFixture]
public class DataContractManagerTests
{
#region Test C... | 35.818815 | 100 | 0.581031 |
891c9fa24766eb1281981e8cb100bbbf29f92dbc | 394 | rs | Rust | src/spinner.rs | uasi/gha-release-experiments | 9498fa1935e6eaea4af4280abc8209b1052bab10 | [
"Apache-2.0"
] | null | null | null | src/spinner.rs | uasi/gha-release-experiments | 9498fa1935e6eaea4af4280abc8209b1052bab10 | [
"Apache-2.0"
] | null | null | null | src/spinner.rs | uasi/gha-release-experiments | 9498fa1935e6eaea4af4280abc8209b1052bab10 | [
"Apache-2.0"
] | null | null | null | use indicatif::{ProgressBar, ProgressStyle};
pub fn new_spinner(msg: &str) -> ProgressBar {
let style = ProgressStyle::default_spinner()
.tick_strings(&["", ".", "..", "...", "....", ".....", "... Done."])
.template("{msg}{spinner}");
let spinner = ProgressBar::new(1).with_style(style);
spi... | 32.833333 | 76 | 0.596447 |
6df19a715028d2447a111bd7965efb5146e32743 | 9,828 | c | C | cyclone_crypto/sha512.c | Velleman/VM204-Firmware | f6836dff40ec70fc2de66a3b2c6f03fa4c36c223 | [
"MIT"
] | 4 | 2016-04-17T00:48:37.000Z | 2020-03-17T01:42:20.000Z | cyclone_crypto/sha512.c | Velleman/VM204-Firmware | f6836dff40ec70fc2de66a3b2c6f03fa4c36c223 | [
"MIT"
] | null | null | null | cyclone_crypto/sha512.c | Velleman/VM204-Firmware | f6836dff40ec70fc2de66a3b2c6f03fa4c36c223 | [
"MIT"
] | 6 | 2016-04-17T00:48:41.000Z | 2022-01-28T13:50:45.000Z | /**
* @file sha512.c
* @brief SHA-512 (Secure Hash Algorithm 512)
*
* @section License
*
* Copyright (C) 2010-2015 Oryx Embedded SARL. All rights reserved.
*
* This file is part of CycloneCrypto Open.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Gen... | 32.76 | 126 | 0.689153 |
437b477f46b42899b53df28c5a2374d8c64e2ebe | 789 | tsx | TypeScript | src/components/svg/MonoIcon/Edit/index.tsx | adam-sv/arc | 5e37bdbfd907f68a90275eba16ad340409e0a17a | [
"MIT"
] | 2 | 2021-04-03T16:30:46.000Z | 2021-08-08T21:13:18.000Z | src/components/svg/MonoIcon/Edit/index.tsx | adam-sv/arc | 5e37bdbfd907f68a90275eba16ad340409e0a17a | [
"MIT"
] | null | null | null | src/components/svg/MonoIcon/Edit/index.tsx | adam-sv/arc | 5e37bdbfd907f68a90275eba16ad340409e0a17a | [
"MIT"
] | 1 | 2022-01-31T03:00:23.000Z | 2022-01-31T03:00:23.000Z | import React from 'react';
import { cn } from '@adam-sv/arc';
import './style.css';
interface IProps {
className?: string;
}
export default ({ className }: IProps) => (
<svg
className={cn('MonoIcon-Edit', className)}
width="24"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
... | 34.304348 | 400 | 0.683143 |
ef78082041a53e2319ffcf9636c78dd430010b06 | 785 | c | C | time/strtime.c | kingJHome/linuxSysCode | dfcecc5a08e957c1e8e2517bea466d08e7bdced0 | [
"MIT"
] | null | null | null | time/strtime.c | kingJHome/linuxSysCode | dfcecc5a08e957c1e8e2517bea466d08e7bdced0 | [
"MIT"
] | null | null | null | time/strtime.c | kingJHome/linuxSysCode | dfcecc5a08e957c1e8e2517bea466d08e7bdced0 | [
"MIT"
] | null | null | null | #define _XOPEN_SOURCE
#include <time.h>
#include <locale.h>
#include "tlpi_hdr.h"
#define SBUF_SIZE 1000
int main(int argc,char *argv[]){
struct tm tm;
char sbuf[SBUF_SIZE];
char *ofmt;
if(argc < 3 || strcmp(argv[1],"--help") == 0){
usageError("%s input-date-time in-format [out-format]\n", argv[0]);
}
if(se... | 21.216216 | 73 | 0.615287 |
2d6ff3bf635a35b3bea1749f92c438fe74b4aedf | 5,130 | css | CSS | public/stylesheets/style.css | EvgenSalyakin/UranTest | ca182b0d27e5184b949a33ea334674757ec324ed | [
"MIT"
] | null | null | null | public/stylesheets/style.css | EvgenSalyakin/UranTest | ca182b0d27e5184b949a33ea334674757ec324ed | [
"MIT"
] | null | null | null | public/stylesheets/style.css | EvgenSalyakin/UranTest | ca182b0d27e5184b949a33ea334674757ec324ed | [
"MIT"
] | null | null | null | /* Base style
========================================================================== */
html {
height: 100%;
box-sizing: border-box;
background: linear-gradient(253deg, #0cc898, #1797d2, #864fe1);
background-size: 1000% 10000%;
-webkit-animation: Background 25s ease infinite;
-moz-animat... | 19.285714 | 85 | 0.549903 |
10b9404634ee8f17064decc71ca4da5e95e3239a | 544 | sql | SQL | Cap13/02-WebApp/sql/sp_createUser.sql | CezarPoeta/Python-Fundamentos | 53972d21bea86fdba90a3fafa487be6959ccebb8 | [
"MIT"
] | 1 | 2020-07-31T20:31:19.000Z | 2020-07-31T20:31:19.000Z | Cap13/02-WebApp/sql/sp_createUser.sql | CezarPoeta/Python-Fundamentos | 53972d21bea86fdba90a3fafa487be6959ccebb8 | [
"MIT"
] | null | null | null | Cap13/02-WebApp/sql/sp_createUser.sql | CezarPoeta/Python-Fundamentos | 53972d21bea86fdba90a3fafa487be6959ccebb8 | [
"MIT"
] | null | null | null | CREATE DEFINER=`appuser`@`localhost` PROCEDURE `sp_createUser`(
IN p_name VARCHAR(45),
IN p_email VARCHAR(45),
IN p_password VARCHAR(45)
)
BEGIN
if ( select exists (select 1 from tbl_user where user_email = p_email) ) THEN
select 'User Existe !!';
ELSE
insert into t... | 20.148148 | 81 | 0.511029 |
9218092aad5037ed6fd07e0ed2677030ad508cb4 | 1,794 | kt | Kotlin | app/src/main/java/com/example/lucknowcityguide/PlaceHolderFragment.kt | shashankmunda/City-Tour-Guide | 40e9132d32e5a76afb2e0e5445b748f07b7c9305 | [
"CC0-1.0"
] | null | null | null | app/src/main/java/com/example/lucknowcityguide/PlaceHolderFragment.kt | shashankmunda/City-Tour-Guide | 40e9132d32e5a76afb2e0e5445b748f07b7c9305 | [
"CC0-1.0"
] | null | null | null | app/src/main/java/com/example/lucknowcityguide/PlaceHolderFragment.kt | shashankmunda/City-Tour-Guide | 40e9132d32e5a76afb2e0e5445b748f07b7c9305 | [
"CC0-1.0"
] | null | null | null | package com.example.lucknowcityguide
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.fragment.app.Fragment
class PlaceHolderFragment : Fragment() {
private var imgView:... | 39 | 102 | 0.702341 |
c9a454f53a892538c50bf713a7dd698d086eab90 | 1,482 | ts | TypeScript | packages/object/src/set-props.test.ts | devdigital/utilz | 6936f55a4d3869184e84e62c9a746f39cbcea172 | [
"MIT"
] | null | null | null | packages/object/src/set-props.test.ts | devdigital/utilz | 6936f55a4d3869184e84e62c9a746f39cbcea172 | [
"MIT"
] | 10 | 2020-09-14T14:45:19.000Z | 2021-08-04T07:21:23.000Z | packages/object/src/set-props.test.ts | devdigital/utilz | 6936f55a4d3869184e84e62c9a746f39cbcea172 | [
"MIT"
] | null | null | null | import { setProps } from './set-props'
describe('setProps', () => {
it('throws exception given undefined object', () => {
expect(setProps()).toThrow('No object specified.')
})
it('returns empty object given empty object', () => {
expect(setProps()({})).toEqual({})
})
it('returns props set to undefi... | 23.903226 | 79 | 0.521592 |
da77c59b6bac0c56a1b4d33d3847e74588434984 | 343 | php | PHP | app/Http/Controllers/Admin/PanelController.php | amirmsj1374/amarket | 294b3124c2ebe950355d8a9cbc0cb63dddd1b751 | [
"MIT"
] | null | null | null | app/Http/Controllers/Admin/PanelController.php | amirmsj1374/amarket | 294b3124c2ebe950355d8a9cbc0cb63dddd1b751 | [
"MIT"
] | 4 | 2021-02-02T19:04:06.000Z | 2022-02-27T05:40:33.000Z | app/Http/Controllers/Admin/PanelController.php | amirmsj1374/amarket | 294b3124c2ebe950355d8a9cbc0cb63dddd1b751 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Carbon\Carbon;
use Illuminate\Http\Request;
class PanelController extends Controller
{
public function index()
{
return view('admin.index');
}
public function UploadImageSubject() {
$year = Carbon:... | 15.590909 | 42 | 0.670554 |
7d9d65eb17e97e5579a1e9e8b1c7479cd04506f4 | 250 | swift | Swift | EditListSample/EditListSampleApp.swift | usk-sample/EditListSample | 26e698b113bfe1a7c6f5f6671f86f33ad108de73 | [
"MIT"
] | null | null | null | EditListSample/EditListSampleApp.swift | usk-sample/EditListSample | 26e698b113bfe1a7c6f5f6671f86f33ad108de73 | [
"MIT"
] | null | null | null | EditListSample/EditListSampleApp.swift | usk-sample/EditListSample | 26e698b113bfe1a7c6f5f6671f86f33ad108de73 | [
"MIT"
] | null | null | null | //
// EditListSampleApp.swift
// EditListSample
//
// Created by Yusuke Hasegawa on 2021/06/10.
//
import SwiftUI
@main
struct EditListSampleApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
| 13.888889 | 45 | 0.6 |
43aa6ad66ac9a1c19676c72a29d9838781420356 | 4,516 | ts | TypeScript | src/engine/dataset_fakes_test.ts | rouismia/tfjs-layers | c8f12d3ae460685a66b9a7df960194a0bd77bf3b | [
"Apache-2.0"
] | null | null | null | src/engine/dataset_fakes_test.ts | rouismia/tfjs-layers | c8f12d3ae460685a66b9a7df960194a0bd77bf3b | [
"Apache-2.0"
] | null | null | null | src/engine/dataset_fakes_test.ts | rouismia/tfjs-layers | c8f12d3ae460685a66b9a7df960194a0bd77bf3b | [
"Apache-2.0"
] | null | null | null | /**
* @license
* Copyright 2018 Google LLC
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
* =============================================================================
*/
import {Tensor} from '@tensorflow/tf... | 35.559055 | 80 | 0.547166 |
d67baa0325bb20fe3127fe952bd69d28a8dcd3e5 | 1,485 | cs | C# | test/CollectionJson.Client.Tests/CollectionJsonContentTest.cs | WebApiContrib/CollectionJson.Net | 03321523e92dce0929902e4ba5ca241946a40afa | [
"Apache-2.0"
] | 36 | 2015-01-13T18:51:12.000Z | 2021-09-08T10:13:26.000Z | test/CollectionJson.Client.Tests/CollectionJsonContentTest.cs | WebApiContrib/CollectionJson.Net | 03321523e92dce0929902e4ba5ca241946a40afa | [
"Apache-2.0"
] | 9 | 2015-01-22T15:29:44.000Z | 2017-04-04T16:36:00.000Z | test/CollectionJson.Client.Tests/CollectionJsonContentTest.cs | WebApiContrib/CollectionJson.Net | 03321523e92dce0929902e4ba5ca241946a40afa | [
"Apache-2.0"
] | 10 | 2015-02-24T23:41:27.000Z | 2017-07-05T20:23:36.000Z | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Should;
using Xunit;
namespace CollectionJson.Client.Tests
{
public class CollectionJsonContentTest
{
[Fact]
public async void WhenCreatingCollectionJsonCo... | 30.306122 | 97 | 0.562963 |
527790b61eb9b7c2b44e2567eadbdf071997073f | 278 | rb | Ruby | db/migrate/20200515182402_create_gigs.rb | mohsinmalik568/Needpedia | 6ccd3e4c391a0545dd56352dd721b4fe0d7542ca | [
"MIT"
] | 1 | 2019-10-25T19:43:58.000Z | 2019-10-25T19:43:58.000Z | db/migrate/20200515182402_create_gigs.rb | mohsinmalik568/Needpedia | 6ccd3e4c391a0545dd56352dd721b4fe0d7542ca | [
"MIT"
] | 19 | 2019-12-31T19:11:09.000Z | 2022-03-31T01:09:58.000Z | db/migrate/20200515182402_create_gigs.rb | mohsinmalik568/Needpedia | 6ccd3e4c391a0545dd56352dd721b4fe0d7542ca | [
"MIT"
] | 5 | 2020-03-04T18:00:31.000Z | 2021-11-22T02:52:48.000Z | class CreateGigs < ActiveRecord::Migration[6.0]
def change
create_table :gigs do |t|
t.references :user, null: false, foreign_key: true
t.string :title
t.string :area_tag
t.string :body
t.integer :amount
t.timestamps
end
end
end
| 19.857143 | 56 | 0.636691 |
e27454bae79faea38e22499b03cecff830227070 | 1,017 | py | Python | taxonomy-to-dot.py | jmccrae/saffron | bcf009f176713ced1d707324043124670827125b | [
"Apache-2.0"
] | 17 | 2019-09-11T10:20:14.000Z | 2022-03-24T16:48:00.000Z | taxonomy-to-dot.py | jmccrae/saffron | bcf009f176713ced1d707324043124670827125b | [
"Apache-2.0"
] | 10 | 2020-09-02T16:20:10.000Z | 2022-03-10T10:50:44.000Z | taxonomy-to-dot.py | jmccrae/saffron | bcf009f176713ced1d707324043124670827125b | [
"Apache-2.0"
] | 3 | 2020-09-18T06:57:18.000Z | 2021-06-14T17:02:58.000Z | import sys
import json
def gen_label(taxo, topic_wts):
if "root" in taxo:
if taxo["root"] in topic_wts:
print(" \"%s\" [ weight=%.4f ];" % (taxo["root"], topic_wts[taxo["root"]]))
else:
print(" \"%s\";" % (taxo["root"]))
if "children" in taxo:
for child in taxo... | 24.214286 | 88 | 0.511308 |
25a9778d8dbe9f498312b8705d65c505dd81f7ee | 2,031 | js | JavaScript | services/tarearoute.js | Amatea/APIDendros | be39349ac0b2dc75a5fb7edcd45d64367c258b84 | [
"MIT"
] | null | null | null | services/tarearoute.js | Amatea/APIDendros | be39349ac0b2dc75a5fb7edcd45d64367c258b84 | [
"MIT"
] | null | null | null | services/tarearoute.js | Amatea/APIDendros | be39349ac0b2dc75a5fb7edcd45d64367c258b84 | [
"MIT"
] | null | null | null | var express = require('express');
var Tarea = require('../dbconnection/tareaconection.js');
var tarearouter = express.Router();
tarearouter.use(function(req,res,next){
console.log('something is happening');
next();
});
tarearouter.route('/tareas')
.get(function(req, res) {
Tarea.find(function(err, tare... | 20.938144 | 65 | 0.537666 |
daea0a2da08dea345382a6a4577d6c7ca409c105 | 1,328 | tsx | TypeScript | packages/preview/src/components/pages/search/search-iconset.tsx | coreyward/meronex-icons | 8412306ee3ef85ad8da3a0fe55181b3a2b7b307b | [
"MIT"
] | 41 | 2020-08-05T22:26:10.000Z | 2022-03-03T04:11:02.000Z | packages/preview/src/components/pages/search/search-iconset.tsx | coreyward/meronex-icons | 8412306ee3ef85ad8da3a0fe55181b3a2b7b307b | [
"MIT"
] | 6 | 2020-07-31T17:23:42.000Z | 2021-11-25T12:19:39.000Z | packages/preview/src/components/pages/search/search-iconset.tsx | coreyward/meronex-icons | 8412306ee3ef85ad8da3a0fe55181b3a2b7b307b | [
"MIT"
] | 4 | 2020-07-31T07:37:59.000Z | 2021-01-21T22:00:11.000Z | import Icon from "@components/@core/icon";
import loadable from "@loadable/component";
import React from "react";
import { getIcons } from "@utils/getIcons";
import SearchPageIconLoading from "./loading";
declare global {
interface Window {
iconSetCache: any;
}
}
export default function SearchIconSet({ icon,... | 26.039216 | 68 | 0.545181 |
02954ff26fce66fce1def1ce92dfbf15a53f08d5 | 135 | sh | Shell | install.sh | lbdm44/.dotfiles | 57bc1b8d388dba461855ddd1fd4457ab0929098f | [
"MIT"
] | null | null | null | install.sh | lbdm44/.dotfiles | 57bc1b8d388dba461855ddd1fd4457ab0929098f | [
"MIT"
] | null | null | null | install.sh | lbdm44/.dotfiles | 57bc1b8d388dba461855ddd1fd4457ab0929098f | [
"MIT"
] | null | null | null | #!/usr/bin/env zsh
pushd $DOTFILES
for folder in $(echo $STOW_FOLDERS | sed "s/,/ /g")
do
stow -t ~ --restow $folder
done
popd
| 12.272727 | 51 | 0.622222 |
e030af503a6d95d1cb474d774ea843b7fcf4ea02 | 570 | h | C | Advanced_Programming/Exercise_Sheet_03/temperatureRegulator.h | BrandnerKasper/AdvancedProgramming | e16d843ba98b1736bc8ed4d72d243d81570bea19 | [
"MIT"
] | null | null | null | Advanced_Programming/Exercise_Sheet_03/temperatureRegulator.h | BrandnerKasper/AdvancedProgramming | e16d843ba98b1736bc8ed4d72d243d81570bea19 | [
"MIT"
] | null | null | null | Advanced_Programming/Exercise_Sheet_03/temperatureRegulator.h | BrandnerKasper/AdvancedProgramming | e16d843ba98b1736bc8ed4d72d243d81570bea19 | [
"MIT"
] | null | null | null | #ifndef A_P_EX_03_TEMPERATUREREGULATOR_H
#define A_P_EX_03_TEMPERATUREREGULATOR_H
#include <iostream>
#include <string>
class TemperatureRegulator {
public:
static TemperatureRegulator& instance();
void setTemperature(int temp) {temperature = temp;}
int getTemperature() {return temperature;}
void pr... | 21.923077 | 111 | 0.733333 |
b3ca764e311bc07612334fcb33bb4344cd61f8ba | 862 | kt | Kotlin | src/main/kotlin/com/eton/ui/feature/notes/util/NoteOrder.kt | V9vek/Eton-Desktop | 8035ec81d9b2f840f8d8e152b1d314c93411db24 | [
"Apache-2.0"
] | 3 | 2022-01-20T13:58:39.000Z | 2022-01-21T04:54:59.000Z | src/main/kotlin/com/eton/ui/feature/notes/util/NoteOrder.kt | V9vek/Eton-Desktop | 8035ec81d9b2f840f8d8e152b1d314c93411db24 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/eton/ui/feature/notes/util/NoteOrder.kt | V9vek/Eton-Desktop | 8035ec81d9b2f840f8d8e152b1d314c93411db24 | [
"Apache-2.0"
] | 1 | 2022-03-02T20:19:37.000Z | 2022-03-02T20:19:37.000Z | package com.eton.util
/**
* Within Title, Date, Color: ASCENDING or DESCENDING type
*/
sealed class OrderType {
object Ascending : OrderType()
object Descending : OrderType()
}
/**
* Sort notes based on TITLE, DATE, COLOR
*/
sealed class NoteOrder(val orderType: OrderType) {
class Title(orderType: Ord... | 21.02439 | 62 | 0.636891 |
4fa957f635ab169788e53dfff1024e1f7a785c3c | 1,649 | rb | Ruby | simple_es.rb | zephraph/peer-learning-event-sourcing | 6f40fc384b627b66903fc0a18c41ff3e323b01a2 | [
"MIT"
] | 1 | 2021-04-07T15:22:01.000Z | 2021-04-07T15:22:01.000Z | simple_es.rb | zephraph/peer-learning-event-sourcing | 6f40fc384b627b66903fc0a18c41ff3e323b01a2 | [
"MIT"
] | 5 | 2021-04-16T13:43:26.000Z | 2021-04-16T16:01:09.000Z | simple_es.rb | zephraph/peer-learning-event-sourcing | 6f40fc384b627b66903fc0a18c41ff3e323b01a2 | [
"MIT"
] | 5 | 2021-04-06T17:24:35.000Z | 2021-04-16T17:03:13.000Z | # rubocop:disable
class AccountAggregate
attr_reader :user, :amount
def initialize(user:, amount:)
raise ArgumentError, 'user must be a string' unless user.instance_of?(String)
raise ArgumentError, 'amount must be a number' unless amount.to_f.instance_of?(Float)
@user = user
@amount = amount.to_f
... | 20.6125 | 89 | 0.699212 |
143c9a5d2a14ba26100ab368e13a454a673a0b74 | 553 | tsx | TypeScript | src/components/JumpDialog.tsx | AhmedSayed77/bewitched | 917d3b2e76346493c23e4e7ccebab9c96d3e1560 | [
"MIT"
] | null | null | null | src/components/JumpDialog.tsx | AhmedSayed77/bewitched | 917d3b2e76346493c23e4e7ccebab9c96d3e1560 | [
"MIT"
] | null | null | null | src/components/JumpDialog.tsx | AhmedSayed77/bewitched | 917d3b2e76346493c23e4e7ccebab9c96d3e1560 | [
"MIT"
] | null | null | null | import React from "react";
import { AppState, SetStateFn } from "../utils";
import { InputField } from "./InputField";
type JumpDialogProps = {
setAppState: SetStateFn<AppState>;
jumpToOffsset: (jumpOffset: number) => void;
}
export const JumpDialog = ({ setAppState, jumpToOffsset }: JumpDialogProps) => {
return... | 27.65 | 80 | 0.650995 |
dd9fd7cea6be6d5519698b1e935a6aaf4783cca8 | 13,325 | java | Java | java/java-impl/src/com/intellij/javadoc/JavadocGeneratorRunProfile.java | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 1 | 2020-05-30T04:49:44.000Z | 2020-05-30T04:49:44.000Z | java/java-impl/src/com/intellij/javadoc/JavadocGeneratorRunProfile.java | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | java/java-impl/src/com/intellij/javadoc/JavadocGeneratorRunProfile.java | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.javadoc;
import com.intellij.analysis.AnalysisScope;
import com.intellij.execution.CantRunException;
import com.intellij.execution.ExecutionException;
import... | 41.126543 | 141 | 0.693659 |
b8f16da7d6ed337d9149f4dbc8e8ff9181270c74 | 11,989 | h | C | engine/src/base/log/logger.h | Oghma/speect | f618e8d651cb9ec4c90cc244af3e7aa993599f6d | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 5 | 2016-01-29T14:39:46.000Z | 2019-04-24T14:45:55.000Z | engine/src/base/log/logger.h | Oghma/speect | f618e8d651cb9ec4c90cc244af3e7aa993599f6d | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | engine/src/base/log/logger.h | Oghma/speect | f618e8d651cb9ec4c90cc244af3e7aa993599f6d | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 7 | 2015-09-17T14:45:05.000Z | 2020-03-30T13:19:29.000Z | /************************************************************************************/
/* Copyright (c) 2008-2011 The Department of Arts and Culture, */
/* The Government of the Republic of South Africa. */
/* ... | 37.003086 | 93 | 0.498791 |
2b7b040e676fd2af611cec607fd19e754f1f48d4 | 2,014 | cs | C# | AegisBot/Implementations/ServiceFactory.cs | thomasonb/AegisBot | 26f46484149e80cb0cab939a86f08ae2120461d9 | [
"MIT"
] | null | null | null | AegisBot/Implementations/ServiceFactory.cs | thomasonb/AegisBot | 26f46484149e80cb0cab939a86f08ae2120461d9 | [
"MIT"
] | 3 | 2017-03-03T21:10:51.000Z | 2017-04-12T17:36:53.000Z | AegisBot/Implementations/ServiceFactory.cs | thomasonb/AegisBot | 26f46484149e80cb0cab939a86f08ae2120461d9 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AegisBot.Interfaces;
using Discord;
using System.IO;
using Newtonsoft.Json;
using System.Reflection;
namespace AegisBot.Implementations
{
public class ServiceFactory
{
private sta... | 32.483871 | 148 | 0.596326 |
6dab9326812d9bdad372f2f07f2c38bf5b88db76 | 4,041 | ts | TypeScript | client/app/signup/signup.component.ts | pontsoleil/wuwei | 54c4997a95fbd3ae8e97a6a73534288c65b34611 | [
"MIT"
] | null | null | null | client/app/signup/signup.component.ts | pontsoleil/wuwei | 54c4997a95fbd3ae8e97a6a73534288c65b34611 | [
"MIT"
] | 4 | 2015-03-12T23:48:09.000Z | 2020-09-01T22:23:27.000Z | client/app/signup/signup.component.ts | pontsoleil/WuWei | 54c4997a95fbd3ae8e97a6a73534288c65b34611 | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';
import { Router } from '@angular/router';
import { CognitoUserService } from '../services';
import { ToastService } from '../mdb-type/pro/alerts';
@Component({
selector: 'app-signup',
... | 30.383459 | 112 | 0.62831 |
0720b50d4639bd9e83ea7973b875bc91dc954636 | 1,094 | lua | Lua | premake5.lua | AlexSierraTI/freetype-gl | 0b48c369f10f73104740bd0f1380aecf1413af9e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | premake5.lua | AlexSierraTI/freetype-gl | 0b48c369f10f73104740bd0f1380aecf1413af9e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | premake5.lua | AlexSierraTI/freetype-gl | 0b48c369f10f73104740bd0f1380aecf1413af9e | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | project "freetype-gl"
kind "StaticLib"
language "C"
staticruntime "on"
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
files
{
"distance-field.h",
"edtaa3func.h",
"font-manager.h",
"freetype-gl.h",
"markup.h",
"opengl.h",
"platform.h",
"tex... | 16.575758 | 51 | 0.630713 |
427e84dda2b18d5c8ad6deae82be9192957ea208 | 91 | sql | SQL | packages/notifications/sql/postgresql/upgrade/upgrade-5.8.1d3-5.8.1d4.sql | iuri/tutortronics | 463ea1535773d06ce34d269136eab3ecaffcb1cf | [
"Info-ZIP",
"ImageMagick"
] | null | null | null | packages/notifications/sql/postgresql/upgrade/upgrade-5.8.1d3-5.8.1d4.sql | iuri/tutortronics | 463ea1535773d06ce34d269136eab3ecaffcb1cf | [
"Info-ZIP",
"ImageMagick"
] | null | null | null | packages/notifications/sql/postgresql/upgrade/upgrade-5.8.1d3-5.8.1d4.sql | iuri/tutortronics | 463ea1535773d06ce34d269136eab3ecaffcb1cf | [
"Info-ZIP",
"ImageMagick"
] | null | null | null | select define_function_args ('notification_delivery_method__delete','delivery_method_id');
| 45.5 | 90 | 0.879121 |
39b054c57e5e13c4f2a2570f32079c3f9d312e67 | 739 | ps1 | PowerShell | data/test/powershell/39b054c57e5e13c4f2a2570f32079c3f9d312e67Invoke-ZapApiRequest.ps1 | aliostad/deep-learning-lang-detection | d6b031f3ebc690cf2ffd0ae1b08ffa8fb3b38a62 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/test/powershell/39b054c57e5e13c4f2a2570f32079c3f9d312e67Invoke-ZapApiRequest.ps1 | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/test/powershell/39b054c57e5e13c4f2a2570f32079c3f9d312e67Invoke-ZapApiRequest.ps1 | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | <#
.Synopsis
This Script will Invoke ZAP API And will be call by various other scripts which needs to access ZAP API
.Example
.\Invoke-ZapApiRequest [URL to attack] [Proxy from ZAP]
.Notes
Author: Mrityunjaya Pathak
Date : March 2015
#>
param(
#Url on which ZAP operation will be ... | 26.392857 | 111 | 0.648173 |
e75283b5518769744a5f20aac9630bbb0da6291f | 1,648 | php | PHP | src/FondOfSpryker/Yves/Contentful/Router/ResourceCreator/BlogTagResourceCreator.php | fond-of/spryker-contentful | e293fb40814805433972dfe2b3a652ba6e07f9c6 | [
"MIT"
] | 4 | 2018-03-06T09:51:23.000Z | 2019-12-17T11:16:39.000Z | src/FondOfSpryker/Yves/Contentful/Router/ResourceCreator/BlogTagResourceCreator.php | fond-of/spryker-contentful | e293fb40814805433972dfe2b3a652ba6e07f9c6 | [
"MIT"
] | null | null | null | src/FondOfSpryker/Yves/Contentful/Router/ResourceCreator/BlogTagResourceCreator.php | fond-of/spryker-contentful | e293fb40814805433972dfe2b3a652ba6e07f9c6 | [
"MIT"
] | null | null | null | <?php
namespace FondOfSpryker\Yves\Contentful\Router\ResourceCreator;
use Silex\Application;
use Spryker\Shared\Application\Communication\ControllerServiceBuilder;
use Spryker\Yves\Kernel\BundleControllerAction;
use Spryker\Yves\Kernel\ClassResolver\Controller\ControllerResolver;
use Spryker\Yves\Kernel\Controller\Bu... | 32.96 | 153 | 0.695388 |
f42a8b5dcd1138bcf55c131a9d2f0c307ce26e3d | 2,836 | cs | C# | LoggerVM.cs | DannyD98/PS-C-WPF-Logger-app | b12956439c80a0062a9d7a3047a5bcc460dabbb8 | [
"MIT"
] | null | null | null | LoggerVM.cs | DannyD98/PS-C-WPF-Logger-app | b12956439c80a0062a9d7a3047a5bcc460dabbb8 | [
"MIT"
] | null | null | null | LoggerVM.cs | DannyD98/PS-C-WPF-Logger-app | b12956439c80a0062a9d7a3047a5bcc460dabbb8 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Runtime.CompilerServices;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
namespace WpfLogg... | 28.36 | 128 | 0.528209 |
7cd24044fb4b6191c30724087c87ddb621625914 | 13,007 | ps1 | PowerShell | function_Get-VtGroup.ps1 | kmsigma/vtPowerShell | b5329057ecb1b8654925a824beecbd2bc3e5fec5 | [
"MIT"
] | 1 | 2021-11-12T14:51:00.000Z | 2021-11-12T14:51:00.000Z | function_Get-VtGroup.ps1 | kmsigma/vtPowerShell | b5329057ecb1b8654925a824beecbd2bc3e5fec5 | [
"MIT"
] | null | null | null | function_Get-VtGroup.ps1 | kmsigma/vtPowerShell | b5329057ecb1b8654925a824beecbd2bc3e5fec5 | [
"MIT"
] | null | null | null | function Get-VtGroup {
<#
.Synopsis
Get groups from Verint / Telligent communities
.DESCRIPTION
Long description
.EXAMPLE
Example of how to use this cmdlet
.EXAMPLE
Another example of how to use this cmdlet
.INPUTS
Inputs to this cmdlet (if any)
.OUTPU... | 45.320557 | 317 | 0.538018 |
de2fe60a06d9d56a145069feaf0f9706adea71ba | 408 | ps1 | PowerShell | Powershell-skriptit/create_admin_groups.ps1 | Sitra-Isaacus/Tilastokeskus-Etakayttojarjestelma | 791f8e5f47503014f559baa360ff5218e4130e2a | [
"MIT"
] | 1 | 2018-08-27T10:12:57.000Z | 2018-08-27T10:12:57.000Z | Powershell-skriptit/create_admin_groups.ps1 | Sitra-Isaacus/Tilastokeskus-Etakayttojarjestelma | 791f8e5f47503014f559baa360ff5218e4130e2a | [
"MIT"
] | null | null | null | Powershell-skriptit/create_admin_groups.ps1 | Sitra-Isaacus/Tilastokeskus-Etakayttojarjestelma | 791f8e5f47503014f559baa360ff5218e4130e2a | [
"MIT"
] | null | null | null | #CREATE ADMIN GROUPS
#Create da-admins group
NEW-ADGroup –name da-admins –groupscope Global –path "OU=da-admins,OU=MgmtUsers,DC=ISAACUS,DC=local”
#Create sa-admins group
NEW-ADGroup –name sa-admins –groupscope Global –path "OU=sa-admins,OU=MgmtUsers,DC=ISAACUS,DC=local”
#Create wa-admins group
NEW-ADGroup ... | 40.8 | 101 | 0.762255 |
4d533e293e73be7b443d113956a9908d05ddfecd | 5,072 | cs | C# | src/ReverseProxy/Abstractions/RouteDiscovery/Contract/ProxyRoute.cs | wenfeifei/reverse-proxy | 1798d3ac3cb409366043945c2fc2104dc13f99cf | [
"MIT"
] | null | null | null | src/ReverseProxy/Abstractions/RouteDiscovery/Contract/ProxyRoute.cs | wenfeifei/reverse-proxy | 1798d3ac3cb409366043945c2fc2104dc13f99cf | [
"MIT"
] | null | null | null | src/ReverseProxy/Abstractions/RouteDiscovery/Contract/ProxyRoute.cs | wenfeifei/reverse-proxy | 1798d3ac3cb409366043945c2fc2104dc13f99cf | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.ReverseProxy.Abstractions
{
/// <summary>
/// Describes a route that matches incoming requests based on a the <see cref="Match"/> criteria
/// a... | 35.71831 | 160 | 0.54377 |
b136c529d4cbf69c79048c639f45c00de790edaa | 952 | sql | SQL | EMS_DB.sql | davidsaulrodriguez/Employee-Management-System | 74934a9f5a3f57bf26c8d7e178e8f7f20c60f6e6 | [
"BSD-2-Clause"
] | null | null | null | EMS_DB.sql | davidsaulrodriguez/Employee-Management-System | 74934a9f5a3f57bf26c8d7e178e8f7f20c60f6e6 | [
"BSD-2-Clause"
] | 10 | 2021-01-25T04:28:21.000Z | 2021-02-02T04:59:48.000Z | EMS_DB.sql | davidsaulrodriguez/employee-management-system | 74934a9f5a3f57bf26c8d7e178e8f7f20c60f6e6 | [
"BSD-2-Clause"
] | null | null | null | -- Drop the ems_db database if it already exists --
DROP DATABASE IF EXISTS ems_db;
-- Create the ems_db database --
CREATE DATABASE IF NOT EXISTS ems_db;
-- Select and use the ems_db to run the CREATE TABLE commands in --
USE ems_db;
-- Create the Department table --
CREATE TABLE department (
id INT AUTO_INCREMEN... | 25.72973 | 67 | 0.728992 |
d044b564532abc14e8ba78ac38bd0ef989c457c2 | 2,084 | dart | Dart | lib/src/model/serializers.g.dart | Andersmholmgren/vcore_ecore | 1c32dcaf7cc7c2740988a7601a9e8a6069bc77c2 | [
"BSD-3-Clause"
] | null | null | null | lib/src/model/serializers.g.dart | Andersmholmgren/vcore_ecore | 1c32dcaf7cc7c2740988a7601a9e8a6069bc77c2 | [
"BSD-3-Clause"
] | null | null | null | lib/src/model/serializers.g.dart | Andersmholmgren/vcore_ecore | 1c32dcaf7cc7c2740988a7601a9e8a6069bc77c2 | [
"BSD-3-Clause"
] | null | null | null | // GENERATED CODE - DO NOT MODIFY BY HAND
// 2016-04-30T07:40:15.897835Z
part of serializers;
// **************************************************************************
// Generator: BuiltJsonGenerator
// Target: library serializers
// **************************************************************************
Ser... | 34.163934 | 77 | 0.618042 |
af8fa17184c5e9719b35ae8c9d312b950f95572e | 484 | py | Python | Code/pixels_count.py | AviTewari/Hydrology-Project | 09a721911a119939cd41158be822ed09feb5cdfa | [
"Apache-2.0"
] | 1 | 2021-12-27T10:02:53.000Z | 2021-12-27T10:02:53.000Z | Code/pixels_count.py | AviTewari/Hydrology-Project | 09a721911a119939cd41158be822ed09feb5cdfa | [
"Apache-2.0"
] | null | null | null | Code/pixels_count.py | AviTewari/Hydrology-Project | 09a721911a119939cd41158be822ed09feb5cdfa | [
"Apache-2.0"
] | 1 | 2021-11-17T10:54:52.000Z | 2021-11-17T10:54:52.000Z | from modules import *
from masks import *
from mask_mapping import *
def bincount_2d(arr, max_int):
counts_full = [0 for n in range(max_int)]
for row in arr:
counts = np.bincount(row).tolist()#get the counts for the row
pad = [0 for n in range(max_int-len(counts))]
counts = counts + pad... | 40.333333 | 94 | 0.67562 |
183ef3a84b931b250f523433c6a4b2b968409ded | 104 | ts | TypeScript | packages/effects/src/index.ts | kevinoneill/wee-events | 27e0e2507afa5cae310ab9c06e0cc7f01a9f1eeb | [
"MIT"
] | 1 | 2018-09-27T16:59:20.000Z | 2018-09-27T16:59:20.000Z | packages/effects/src/index.ts | kevinoneill/wee-events | 27e0e2507afa5cae310ab9c06e0cc7f01a9f1eeb | [
"MIT"
] | 1 | 2017-11-29T03:44:32.000Z | 2017-11-29T03:44:32.000Z | packages/effects/src/index.ts | kevinoneill/wee-events | 27e0e2507afa5cae310ab9c06e0cc7f01a9f1eeb | [
"MIT"
] | null | null | null | export * as aws from "./aws";
export * as env from "./environment";
export * as lambda from "./lambda";
| 26 | 37 | 0.653846 |
07fe40344d5f5f50fd76669fec4fd5214d29bf44 | 893 | sql | SQL | tests/cross_agent/fixtures/sql_obfuscation/escape_string_constants.postgres.sql | newrelic/newrelic-python-agen | 4f292ec1219c0daffc5721a7b3a245b97d0f83ba | [
"Apache-2.0"
] | 92 | 2020-06-12T17:53:23.000Z | 2022-03-01T11:13:21.000Z | tests/cross_agent/fixtures/sql_obfuscation/escape_string_constants.postgres.sql | newrelic/newrelic-python-agen | 4f292ec1219c0daffc5721a7b3a245b97d0f83ba | [
"Apache-2.0"
] | 347 | 2020-07-10T00:10:19.000Z | 2022-03-31T17:58:56.000Z | tests/cross_agent/fixtures/sql_obfuscation/escape_string_constants.postgres.sql | newrelic/newrelic-python-agen | 4f292ec1219c0daffc5721a7b3a245b97d0f83ba | [
"Apache-2.0"
] | 58 | 2020-06-17T13:51:57.000Z | 2022-03-06T14:26:53.000Z | -- Copyright 2010 New Relic, Inc.
--
-- 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 t... | 49.611111 | 98 | 0.74804 |
c239c1d6c797284f1bac9060a4f73a04f053c552 | 8,102 | h | C | libs/NDI/include/Processing.NDI.Send.h | nama-gatsuo/ofxNDI | 7ad704b5520540aca7340411d30dfc99d6329c0b | [
"MIT"
] | 40 | 2022-01-06T22:42:25.000Z | 2022-03-11T23:42:18.000Z | libs/NDI/include/Processing.NDI.Send.h | nama-gatsuo/ofxNDI | 7ad704b5520540aca7340411d30dfc99d6329c0b | [
"MIT"
] | 15 | 2021-03-28T05:37:34.000Z | 2022-02-13T13:04:57.000Z | libs/NDI/include/Processing.NDI.Send.h | nama-gatsuo/ofxNDI | 7ad704b5520540aca7340411d30dfc99d6329c0b | [
"MIT"
] | 4 | 2022-01-07T20:26:15.000Z | 2022-02-10T00:42:43.000Z | #pragma once
// NOTE : The following MIT license applies to this file ONLY and not to the SDK as a whole. Please review
// the SDK documentation for the description of the full license terms, which are also provided in the file
// "NDI License Agreement.pdf" within the SDK or online at http://new.tk/ndisdk_license... | 57.460993 | 137 | 0.76944 |
cdcfc89318cb70e5a2325c9ee89d6c92c01c09c9 | 164 | cs | C# | Hiper.Application.Data.SqlServer.Migrations/Program.cs | ferhen/Hiper.Products | 04559adfdaf8dabb7adea9c5f74433cbdd4d5d41 | [
"MIT"
] | 1 | 2020-10-26T08:26:04.000Z | 2020-10-26T08:26:04.000Z | Hiper.Application.Data.SqlServer.Migrations/Program.cs | ferhen/Hiper.Products | 04559adfdaf8dabb7adea9c5f74433cbdd4d5d41 | [
"MIT"
] | null | null | null | Hiper.Application.Data.SqlServer.Migrations/Program.cs | ferhen/Hiper.Products | 04559adfdaf8dabb7adea9c5f74433cbdd4d5d41 | [
"MIT"
] | null | null | null | using System;
namespace Hiper.Application.Data.SqlServer.Migrations
{
class Program
{
static void Main(string[] args)
{
}
}
}
| 13.666667 | 53 | 0.579268 |
38db6ce18481f9deb4f621076f195d67f5a11093 | 4,052 | php | PHP | app/Http/Controllers/ProductController.php | khairsaeed/record | ba57c3e6f45374213757906f345853ff935664a1 | [
"MIT"
] | null | null | null | app/Http/Controllers/ProductController.php | khairsaeed/record | ba57c3e6f45374213757906f345853ff935664a1 | [
"MIT"
] | null | null | null | app/Http/Controllers/ProductController.php | khairsaeed/record | ba57c3e6f45374213757906f345853ff935664a1 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Models\Product;
use Illuminate\Http\Request;
class ProductController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
function __construct()
{
$this->middleware('p... | 28.138889 | 146 | 0.523445 |
8e7ec0cebfeef99f457b6dacc81c2b71fcdf38c2 | 594 | js | JavaScript | node.js article notes/Section8to10/startup/logging.js | bala-codes/A-Primer-on-Node.js | a70ef215b75faa6bd714cab25709763b12eefba4 | [
"MIT"
] | 3 | 2021-06-13T20:50:22.000Z | 2021-06-30T09:04:23.000Z | node.js article notes/Section8to10/startup/logging.js | bala-codes/A-Primer-on-Node.js | a70ef215b75faa6bd714cab25709763b12eefba4 | [
"MIT"
] | 3 | 2021-08-13T04:35:34.000Z | 2022-02-27T18:29:41.000Z | node.js article notes/Section8to10/startup/logging.js | bala-codes/A-Primer-on-Node.js | a70ef215b75faa6bd714cab25709763b12eefba4 | [
"MIT"
] | 1 | 2021-06-13T20:50:25.000Z | 2021-06-13T20:50:25.000Z | const winston = require('winston');
require('winston-mongodb');
require('express-async-errors');
module.exports = function() {
winston.handleExceptions(
new winston.transports.Console({colorize:true, prettyPrint:true}),
new winston.transports.File({filename: 'uncaughtExceptions.log'}))
p... | 31.263158 | 74 | 0.644781 |
8b933139eb5661560da760b281ab99ed92c70970 | 517 | rb | Ruby | Casks/envconsul@0.8.0.rb | operatehappy/homebrew-hashicorp | df24fe084ec38f08937adcf117540160f6593fbb | [
"Apache-2.0"
] | 4 | 2020-03-13T09:31:29.000Z | 2020-03-24T14:06:57.000Z | Casks/envconsul@0.8.0.rb | operatehappy/homebrew-hashicorp | df24fe084ec38f08937adcf117540160f6593fbb | [
"Apache-2.0"
] | 6 | 2020-03-13T19:58:14.000Z | 2020-10-06T00:07:06.000Z | Casks/envconsul@0.8.0.rb | operatehappy/homebrew-hashicorp | df24fe084ec38f08937adcf117540160f6593fbb | [
"Apache-2.0"
] | null | null | null | cask 'envconsul@0.8.0' do
version '0.8.0'
sha256 '075d132842817e22f7306cbb46e90607c40fe5bea28d05e7eab9ee3a2fe02b76'
# releases.hashicorp.com was verified as official when first introduced to the cask
url 'https://releases.hashicorp.com/envconsul/0.8.0/envconsul_0.8.0_darwin_amd64.zip'
appcast 'https://github... | 32.3125 | 87 | 0.783366 |
43cbd51198c037a42f8bf3ec916a37de2f85bdfc | 470 | ts | TypeScript | src/cli/manifest.ts | kosmita427/potential-robot | b8fc98a4237783a9c97d4162ebdf27e5db260b2a | [
"MIT"
] | 8 | 2020-11-22T02:00:49.000Z | 2022-03-09T05:48:32.000Z | src/cli/manifest.ts | kosmita427/potential-robot | b8fc98a4237783a9c97d4162ebdf27e5db260b2a | [
"MIT"
] | null | null | null | src/cli/manifest.ts | kosmita427/potential-robot | b8fc98a4237783a9c97d4162ebdf27e5db260b2a | [
"MIT"
] | 2 | 2021-07-17T11:46:42.000Z | 2021-11-16T18:22:33.000Z | // NOTE: We can't `import` the package.json file because it's outside of the "src" directory.
// eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-require-imports
export const manifest = require("../../package.json") as Manifest;
/**
* The npm package manifest (package.json)
*/
expor... | 27.647059 | 101 | 0.693617 |
4bdf0df9c2acee3a1641d050328a95411b0d5dac | 166 | h | C | 2015/day11/test.h | alexandru-andronache/adventofcode | ee41d82bae8b705818fda5bd43e9962bb0686fec | [
"Apache-2.0"
] | 3 | 2021-07-01T14:31:06.000Z | 2022-03-29T20:41:21.000Z | 2015/day11/test.h | alexandru-andronache/adventofcode | ee41d82bae8b705818fda5bd43e9962bb0686fec | [
"Apache-2.0"
] | null | null | null | 2015/day11/test.h | alexandru-andronache/adventofcode | ee41d82bae8b705818fda5bd43e9962bb0686fec | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <string>
namespace aoc2015_day11 {
std::string part_1(const std::string& password);
std::string part_2(const std::string& password);
} | 20.75 | 52 | 0.716867 |
c1e2223c329a726c9f34e2d60d1323e1cfc2249a | 7,501 | sql | SQL | src/main/tools/ibeaconl.sql | kedaduck/SSM_server_model | 5dc2d28fdf8d961675794dd8f5197fc481c02371 | [
"Apache-2.0"
] | null | null | null | src/main/tools/ibeaconl.sql | kedaduck/SSM_server_model | 5dc2d28fdf8d961675794dd8f5197fc481c02371 | [
"Apache-2.0"
] | null | null | null | src/main/tools/ibeaconl.sql | kedaduck/SSM_server_model | 5dc2d28fdf8d961675794dd8f5197fc481c02371 | [
"Apache-2.0"
] | null | null | null | /*
SQLyog Ultimate v12.08 (64 bit)
MySQL - 5.6.40-log : Database - ibeacon
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CH... | 58.601563 | 1,182 | 0.72737 |
25a98c91dcf5e2243697f62fa0c529a25514388a | 90 | js | JavaScript | app/page/PageUnderConstruction.js | mrFlick72/mrFlick72.github.io | c984ff5494762cbbdef13694cf271801e7e6f7db | [
"Apache-2.0"
] | 1 | 2018-02-13T15:21:58.000Z | 2018-02-13T15:21:58.000Z | app/page/PageUnderConstruction.js | mrFlick72/mrFlick72.github.io | c984ff5494762cbbdef13694cf271801e7e6f7db | [
"Apache-2.0"
] | null | null | null | app/page/PageUnderConstruction.js | mrFlick72/mrFlick72.github.io | c984ff5494762cbbdef13694cf271801e7e6f7db | [
"Apache-2.0"
] | null | null | null | import React from 'react';
export default () => {return <h1>Page Under Construction</h1>} | 30 | 62 | 0.711111 |
4d84c3c48b430a4f6065d86bdf90e18fbbb36531 | 421 | cs | C# | OOPS.DTO/Employee/EducationDTO.cs | emrecakmak77/OOPS | c0da3d11aca1358762a8551fd9464d705053d66f | [
"MIT"
] | null | null | null | OOPS.DTO/Employee/EducationDTO.cs | emrecakmak77/OOPS | c0da3d11aca1358762a8551fd9464d705053d66f | [
"MIT"
] | null | null | null | OOPS.DTO/Employee/EducationDTO.cs | emrecakmak77/OOPS | c0da3d11aca1358762a8551fd9464d705053d66f | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
namespace OOPS.DTO.Employee
{
public class EducationDTO
{
public string Name { get; set; }
public int EducationsTypeID { get; set; }
public virtual EducationsTypeDTO EducationsType { get; set; }
public DateTime ... | 26.3125 | 69 | 0.667458 |
29c4a1027fb1776982a12f74e59d58af2cf27034 | 775 | kt | Kotlin | src/coop/rchain/lang/psi/RhoElements.kt | AbnerZheng/rholang-idea | b862845796de041af0c123abe90b59a7493acfdf | [
"MIT"
] | 11 | 2018-05-10T05:05:19.000Z | 2021-12-02T11:41:19.000Z | src/coop/rchain/lang/psi/RhoElements.kt | AbnerZheng/rholang-idea | b862845796de041af0c123abe90b59a7493acfdf | [
"MIT"
] | 8 | 2018-01-25T21:29:37.000Z | 2019-02-26T05:56:53.000Z | src/coop/rchain/lang/psi/RhoElements.kt | tgrospic/rholang-idea | 6ffab0cd453e1251c1ff161458862375c59fc676 | [
"MIT"
] | 4 | 2017-11-03T13:37:55.000Z | 2018-09-15T06:34:12.000Z | package coop.rchain.lang.psi
import com.intellij.extapi.psi.ASTWrapperPsiElement
import com.intellij.lang.ASTNode
import com.intellij.psi.PsiElement
import com.intellij.psi.tree.IElementType
import coop.rchain.lang.RhoLanguage
import org.jetbrains.annotations.NonNls
class RhoElementType(@NonNls debugName: String) : I... | 35.227273 | 103 | 0.846452 |
f444ed7a8fea88e1d788b4fa3dd560abce4f276b | 4,504 | rs | Rust | identity-iota/src/chain/document_chain.rs | dancrossley/identity.rs | 21b78841971443d0bf6537b38f3e3e076f29ffdb | [
"Apache-2.0"
] | null | null | null | identity-iota/src/chain/document_chain.rs | dancrossley/identity.rs | 21b78841971443d0bf6537b38f3e3e076f29ffdb | [
"Apache-2.0"
] | null | null | null | identity-iota/src/chain/document_chain.rs | dancrossley/identity.rs | 21b78841971443d0bf6537b38f3e3e076f29ffdb | [
"Apache-2.0"
] | null | null | null | // Copyright 2020-2021 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0
use core::fmt::Display;
use core::fmt::Error as FmtError;
use core::fmt::Formatter;
use core::fmt::Result as FmtResult;
use identity_core::convert::ToJson;
use crate::chain::DiffChain;
use crate::chain::IntegrationChain;
use crate::did::Docum... | 26.494118 | 108 | 0.662744 |
4be5b84d637192d4d438a39df98924e60f78c843 | 437 | rs | Rust | crates/nh_d2_internal/src/shape.rs | f32by/openizual | 59e0a77a5bf5adae80b9f119daa348701f0d9ebd | [
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | crates/nh_d2_internal/src/shape.rs | f32by/openizual | 59e0a77a5bf5adae80b9f119daa348701f0d9ebd | [
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | crates/nh_d2_internal/src/shape.rs | f32by/openizual | 59e0a77a5bf5adae80b9f119daa348701f0d9ebd | [
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | // Copyright (c) 2021 The Lutino Projects
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
pub struct Rectangle {
pub left: i32,
pub top: i32,
pub width: i32,
pub height: i32,
}
impl Rectangle {
... | 23 | 58 | 0.649886 |
1a8acc3057f98a433a613510d41ab255b42d6479 | 1,434 | py | Python | critiquebrainz/frontend/views/profile.py | code-master5/critiquebrainz | a231ef27923f54f8c3abb0c368e871215423546e | [
"Apache-2.0"
] | null | null | null | critiquebrainz/frontend/views/profile.py | code-master5/critiquebrainz | a231ef27923f54f8c3abb0c368e871215423546e | [
"Apache-2.0"
] | null | null | null | critiquebrainz/frontend/views/profile.py | code-master5/critiquebrainz | a231ef27923f54f8c3abb0c368e871215423546e | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint, render_template, request, redirect, url_for
from flask_babel import gettext
from flask_login import login_required, current_user
import critiquebrainz.db.users as db_users
from critiquebrainz.frontend import flash
from critiquebrainz.frontend.forms.profile import ProfileEditForm
profile_b... | 35.85 | 73 | 0.728033 |
07afe73775213fe378af21bc0cc434504c8d9c94 | 1,399 | css | CSS | public/custom.css | gsduong/shopee | fb92660c0cf9acdf7fb600b03c8ae7872313bc62 | [
"MIT"
] | null | null | null | public/custom.css | gsduong/shopee | fb92660c0cf9acdf7fb600b03c8ae7872313bc62 | [
"MIT"
] | null | null | null | public/custom.css | gsduong/shopee | fb92660c0cf9acdf7fb600b03c8ae7872313bc62 | [
"MIT"
] | null | null | null | .dropzone {
border-style: dashed !important;
}
select#colors option[value="1"] {
color: #fff;
background: rgba(0, 0, 0, 1) !important;
}
select#colors option[value="2"] {
color: #fff;
background: rgba(0, 0, 255, 1) !important;
}
select#colors option[value="3"] {
color: #fff;
background: rgb... | 22.206349 | 50 | 0.625447 |
f427d280c1c75d43c2c9e7041d70ffa4f6f7ece5 | 2,887 | cs | C# | Core.Mvvm/Navigation/ViewHandle.cs | toeb/core.common | 2b84c02a0759afea87578763a267a5f0ec0c751f | [
"MIT"
] | 1 | 2021-05-16T06:12:19.000Z | 2021-05-16T06:12:19.000Z | Core.Mvvm/Navigation/ViewHandle.cs | toeb/core.common | 2b84c02a0759afea87578763a267a5f0ec0c751f | [
"MIT"
] | null | null | null | Core.Mvvm/Navigation/ViewHandle.cs | toeb/core.common | 2b84c02a0759afea87578763a267a5f0ec0c751f | [
"MIT"
] | 1 | 2021-02-15T12:46:02.000Z | 2021-02-15T12:46:02.000Z | using Core.Common.MVVM;
using System;
using System.Windows;
using Core.Common.Reflect;
using System.Threading.Tasks;
using System.Windows.Input;
using System.Windows.Controls.Primitives;
using System.Diagnostics;
namespace Core.Common.Wpf
{
[DebuggerDisplay("{DebugString}")]
public class ViewHandle
{
... | 24.058333 | 182 | 0.551437 |
c6ed23295db049571f988398bb3cb2fe3d4d10d0 | 623 | css | CSS | web/admin/footer.css | taviroquai/MapIgniter | 20ba899ee4f19f73b698e41d5a72318ef300dd9e | [
"Apache-2.0"
] | 5 | 2015-03-14T17:10:05.000Z | 2017-06-19T19:02:53.000Z | web/admin/footer.css | taviroquai/MapIgniter | 20ba899ee4f19f73b698e41d5a72318ef300dd9e | [
"Apache-2.0"
] | 4 | 2015-02-27T02:07:40.000Z | 2015-11-06T18:35:44.000Z | web/admin/footer.css | taviroquai/MapIgniter | 20ba899ee4f19f73b698e41d5a72318ef300dd9e | [
"Apache-2.0"
] | 11 | 2015-01-10T14:05:04.000Z | 2019-02-12T18:42:41.000Z | /**
* MapIgniter
*
* An open source GeoCMS application
*
* @package MapIgniter
* @author Marco Afonso
* @copyright Copyright (c) 2012, Marco Afonso
* @license dual license, one of two: Apache v2 or GPL
* @link http://mapigniter.com/
* @since Version 1.0
* @filesource
*/
/* ----------------------------... | 18.878788 | 78 | 0.553772 |
4853b6c45f89201a0b73ca47fab2d9071f7422a5 | 146 | sql | SQL | docker-compose/sql/seed.sql | titagaki/peercast-yayp | de73faa24061123b0ff0b34f99596f6c303f855e | [
"MIT"
] | 1 | 2021-06-22T11:21:08.000Z | 2021-06-22T11:21:08.000Z | docker-compose/sql/seed.sql | titagaki/peercast-yayp | de73faa24061123b0ff0b34f99596f6c303f855e | [
"MIT"
] | null | null | null | docker-compose/sql/seed.sql | titagaki/peercast-yayp | de73faa24061123b0ff0b34f99596f6c303f855e | [
"MIT"
] | null | null | null | INSERT INTO information (
`name`, `description`, `created_at`, `updated_at`, `deleted_at`
) VALUES (
'MP◆Status', '稼働中', NOW(), NOW(), null
); | 29.2 | 65 | 0.636986 |
6d2bd3665aad980c54895c6cb333c30136b75900 | 173 | ts | TypeScript | .history/src/radar/dto/radar_20220303214445.ts | MiguelAngelBadi/droides | 02ffd1a71c620799824790a49c6e46ceccea63be | [
"MIT"
] | null | null | null | .history/src/radar/dto/radar_20220303214445.ts | MiguelAngelBadi/droides | 02ffd1a71c620799824790a49c6e46ceccea63be | [
"MIT"
] | null | null | null | .history/src/radar/dto/radar_20220303214445.ts | MiguelAngelBadi/droides | 02ffd1a71c620799824790a49c6e46ceccea63be | [
"MIT"
] | null | null | null | export class radarDto{
readonly protocols : Array<String>;
readonly scan: Array<Object>;
// readonly coordinates
// readonly enemies
// readonly allies
} | 24.714286 | 39 | 0.682081 |
7cfe753ad2505203fd1195f5deb762869fba9b5e | 4,354 | lua | Lua | nvim/session.lua | LuaDist-testing/nvim-client | c0ff82c80d9bc3024b3ccaae7d96d89ee195a713 | [
"Apache-2.0"
] | null | null | null | nvim/session.lua | LuaDist-testing/nvim-client | c0ff82c80d9bc3024b3ccaae7d96d89ee195a713 | [
"Apache-2.0"
] | null | null | null | nvim/session.lua | LuaDist-testing/nvim-client | c0ff82c80d9bc3024b3ccaae7d96d89ee195a713 | [
"Apache-2.0"
] | null | null | null | require('coxpcall')
local uv = require('luv')
local MsgpackRpcStream = require('nvim.msgpack_rpc_stream')
local Session = {}
Session.__index = Session
local function resume(co, ...)
local status, result = coroutine.resume(co, ...)
if coroutine.status(co) == 'dead' then
if not status then
error(result)... | 23.408602 | 77 | 0.702343 |
cd19aa42ebe4810bd5dbd37bf3fcc3fba32fbbbd | 2,447 | rb | Ruby | factbook-importers/lib/factbook-importers/importer.rb | eUgEntOptIc44/factbook | 5a3894a34ba5273d74282c9703536cab424a5d46 | [
"CC0-1.0"
] | 94 | 2016-11-05T15:51:50.000Z | 2022-02-04T14:48:58.000Z | factbook-importers/lib/factbook-importers/importer.rb | eUgEntOptIc44/factbook | 5a3894a34ba5273d74282c9703536cab424a5d46 | [
"CC0-1.0"
] | 5 | 2021-01-22T14:38:12.000Z | 2022-03-25T16:50:23.000Z | factbook-importers/lib/factbook-importers/importer.rb | eUgEntOptIc44/factbook | 5a3894a34ba5273d74282c9703536cab424a5d46 | [
"CC0-1.0"
] | 15 | 2016-12-14T21:08:42.000Z | 2022-03-31T23:04:51.000Z | # encoding: utf-8
module Factbook
class Importer
def import( page )
## note: assumes active connection
code = page.info.country_code
name = page.info.country_name
attribs = {
name: name,
area: sq_km( page.area ), # e.g. 83,871 sq km
area_land: sq_km( page.area_land ),... | 26.311828 | 117 | 0.575398 |
9e13388f5af684c1e31e4e197290c1070c029e33 | 422 | cs | C# | ACTransit.Training/Web.Business/Infrastructure/Common.cs | actransitorg/ACTransit.Training | c425e2bbf6cb51c0936df37cb1e9cb217852468f | [
"MIT"
] | 7 | 2016-09-16T21:10:42.000Z | 2016-12-16T21:10:10.000Z | ACTransit.Training/Web.Business/Infrastructure/Common.cs | actransitorg/ACTransit.Training | c425e2bbf6cb51c0936df37cb1e9cb217852468f | [
"MIT"
] | null | null | null | ACTransit.Training/Web.Business/Infrastructure/Common.cs | actransitorg/ACTransit.Training | c425e2bbf6cb51c0936df37cb1e9cb217852468f | [
"MIT"
] | null | null | null | using ACTransit.Framework.Caching;
namespace ACTransit.Training.Web.Business.Infrastructure
{
internal static class Common
{
private static ICache _cache;
public static ICache Cache
{
get
{
if (_cache == null)
_cache = new Cac... | 22.210526 | 74 | 0.528436 |
1a6e6884fcef9d2bbe1e15e3daeb48db874cf85d | 7,584 | py | Python | legacy_migration/fix-computes.py | gaurav-dalvi/deployment-support | 9732bb7419897ca27572b55b203fb1b76ecb106b | [
"Apache-2.0"
] | null | null | null | legacy_migration/fix-computes.py | gaurav-dalvi/deployment-support | 9732bb7419897ca27572b55b203fb1b76ecb106b | [
"Apache-2.0"
] | 2 | 2019-05-10T19:13:43.000Z | 2019-05-16T02:21:33.000Z | legacy_migration/fix-computes.py | gaurav-dalvi/deployment-support | 9732bb7419897ca27572b55b203fb1b76ecb106b | [
"Apache-2.0"
] | 1 | 2018-12-11T18:47:42.000Z | 2018-12-11T18:47:42.000Z | #!/usr/bin/python
import paramiko
import subprocess
default_username = 'root'
default_password = 'noir0123'
# for the first compute node:
# 1) edit the /etc/neutron/dhcp-agent.ini configuration file to set "force_metadata = True"
# 2) restart neutron-dhcp-agent
# 3) scp the /etc/neutron/metadata_agent.ini file to a... | 37.731343 | 119 | 0.68394 |
dba03307af7ac8be08c0d699cdd045e39269f222 | 8,774 | php | PHP | controllers/SiteController.php | deahk94/Yii-AngularJS-Learning | dee7c475a4c5f202af5b6eedae53ccbd3d16d4c2 | [
"BSD-3-Clause"
] | null | null | null | controllers/SiteController.php | deahk94/Yii-AngularJS-Learning | dee7c475a4c5f202af5b6eedae53ccbd3d16d4c2 | [
"BSD-3-Clause"
] | null | null | null | controllers/SiteController.php | deahk94/Yii-AngularJS-Learning | dee7c475a4c5f202af5b6eedae53ccbd3d16d4c2 | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace app\controllers;
use Yii;
use yii\filters\AccessControl;
use yii\web\Controller;
use yii\web\Response;
use yii\filters\VerbFilter;
use yii\BaseYii;
use yii\data\ActiveDataProvider;
use app\models\LoginForm;
use app\models\ContactForm;
use app\models\SearchForm;
use app\models\Wallet;
use app\models\Tr... | 28.861842 | 136 | 0.422042 |
cce34812e86a81aa8917bdcf2f99e7fcf23eacbb | 24,781 | rb | Ruby | test/test_url.rb | pablitosanchez/wgit | 0f557b1227877e787c8d2f4001e9c596218f45d1 | [
"MIT"
] | null | null | null | test/test_url.rb | pablitosanchez/wgit | 0f557b1227877e787c8d2f4001e9c596218f45d1 | [
"MIT"
] | null | null | null | test/test_url.rb | pablitosanchez/wgit | 0f557b1227877e787c8d2f4001e9c596218f45d1 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
require_relative 'helpers/test_helper'
# Test class for Url methods.
class TestUrl < TestHelper
# Run non DB tests in parallel for speed.
parallelize_me!
# Runs before every test.
def setup
@url_str = 'http://www.google.co.uk'
@bad_url_str = 'my_server'
@link = '/abo... | 33.487838 | 101 | 0.690085 |
20e7e03488835e9abb074f5ce10f003d92866888 | 12,366 | cs | C# | nanoFramework.Graphics/Presentation/Media/SolidColorBrush.cs | josesimoes/nanoFramework.Graphics | 0478bbc27136d7b562bb1d7f9cfbdf766e737308 | [
"MIT"
] | 3 | 2021-01-04T17:07:43.000Z | 2021-01-21T12:03:43.000Z | nanoFramework.Graphics/Presentation/Media/SolidColorBrush.cs | josesimoes/nanoFramework.Graphics | 0478bbc27136d7b562bb1d7f9cfbdf766e737308 | [
"MIT"
] | 10 | 2020-05-21T06:32:34.000Z | 2020-12-22T09:27:52.000Z | nanoFramework.Graphics/Presentation/Media/SolidColorBrush.cs | josesimoes/nanoFramework.Graphics | 0478bbc27136d7b562bb1d7f9cfbdf766e737308 | [
"MIT"
] | 6 | 2020-05-20T12:33:46.000Z | 2020-10-16T19:20:51.000Z | //
// Copyright (c) .NET Foundation and Contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
using System;
using nanoFramework.UI;
namespace nanoFramework.Presentation.Media
{
/// <summary>
///
/// </s... | 35.331429 | 115 | 0.377406 |
663582017e45ebc25559ce63cde60fefc1b77662 | 5,588 | py | Python | tests/key_params/test_dss.py | FloLie/openssh_key_parser | 44cdc6c2085069e7c2612841de38f581f8ef226c | [
"MIT"
] | null | null | null | tests/key_params/test_dss.py | FloLie/openssh_key_parser | 44cdc6c2085069e7c2612841de38f581f8ef226c | [
"MIT"
] | null | null | null | tests/key_params/test_dss.py | FloLie/openssh_key_parser | 44cdc6c2085069e7c2612841de38f581f8ef226c | [
"MIT"
] | null | null | null | import pytest
from cryptography.hazmat.primitives.asymmetric import dsa
from openssh_key.key_params import DSSPrivateKeyParams, DSSPublicKeyParams
from openssh_key.pascal_style_byte_stream import PascalStyleFormatInstruction
PARAMS_TEST_CASES = [
{
'cls': DSSPublicKeyParams,
'format_instructions_di... | 31.931429 | 77 | 0.656049 |
7be7e3a9791d159ff8ed1d8d403e49dc34097259 | 4,029 | cc | C++ | cc/test-settings-v1.cc | acorg/acmacs-base | a1a6e5b346ea3746f3fc1750ed4b7f29c7c0d049 | [
"MIT"
] | null | null | null | cc/test-settings-v1.cc | acorg/acmacs-base | a1a6e5b346ea3746f3fc1750ed4b7f29c7c0d049 | [
"MIT"
] | null | null | null | cc/test-settings-v1.cc | acorg/acmacs-base | a1a6e5b346ea3746f3fc1750ed4b7f29c7c0d049 | [
"MIT"
] | null | null | null | #include <iostream>
#include "acmacs-base/settings-v1.hh"
// ----------------------------------------------------------------------
struct AAAtPos : public acmacs::settings::v1::object
{
acmacs::settings::v1::field<size_t> diverse_index_threshold{this, "diverse_index_threshold", 3};
acmacs::settings::v1... | 41.96875 | 137 | 0.542318 |
2c78ab5bfbd0e695ccc1569eb21c243db6398254 | 221 | cpp | C++ | filter_ultrasonic.cpp | lchappellet/SignalLamp | a72473e332ea1104d6a321088875e84772dd3cf5 | [
"BSD-2-Clause"
] | null | null | null | filter_ultrasonic.cpp | lchappellet/SignalLamp | a72473e332ea1104d6a321088875e84772dd3cf5 | [
"BSD-2-Clause"
] | null | null | null | filter_ultrasonic.cpp | lchappellet/SignalLamp | a72473e332ea1104d6a321088875e84772dd3cf5 | [
"BSD-2-Clause"
] | null | null | null | #include "filter_ultrasonic.h"
//Filter_ultrasonic::Filter_ultrasonic() {}
double Filter_ultrasonic::average_ping_filter(double sonar_ping) {
ping_value = 0.9 * ping_value + 0.1 * sonar_ping;
return ping_value;
}
| 20.090909 | 66 | 0.755656 |
2c64e014214c8480176c486927ffb9ecd7361629 | 7,558 | py | Python | apps/business/models.py | aspic2/rendermaps | 517905c5f970bbb8bba87e9599be874fc0fd250d | [
"MIT"
] | null | null | null | apps/business/models.py | aspic2/rendermaps | 517905c5f970bbb8bba87e9599be874fc0fd250d | [
"MIT"
] | 24 | 2018-02-21T22:51:24.000Z | 2022-03-11T23:12:25.000Z | apps/business/models.py | aspic2/jobs-by-neighborhood | 517905c5f970bbb8bba87e9599be874fc0fd250d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models
from django.core.exceptions import ObjectDoesNotExist
from django.core.exceptions import ValidationError
from django.core.validators import RegexValidator, EmailValidator, URLValidator
from main.settings_deploy import DOMAIN_NA... | 29.755906 | 90 | 0.632442 |
80fcdc5e9bd67ad198e94fafad5d98aaa402af6d | 8,544 | lua | Lua | lua/mediaplayer/utils.lua | kevinhenschen/gm-mediaplayer | 61636f52349b8ad08acec95f7e24bc69092d10b0 | [
"MIT"
] | null | null | null | lua/mediaplayer/utils.lua | kevinhenschen/gm-mediaplayer | 61636f52349b8ad08acec95f7e24bc69092d10b0 | [
"MIT"
] | null | null | null | lua/mediaplayer/utils.lua | kevinhenschen/gm-mediaplayer | 61636f52349b8ad08acec95f7e24bc69092d10b0 | [
"MIT"
] | null | null | null | if SERVER then AddCSLuaFile() end
local file = file
local math = math
local urllib = url
local ceil = math.ceil
local floor = math.floor
local Round = math.Round
local log = math.log
local pow = math.pow
local format = string.format
local tostring = tostring
local IsValid = IsValid
local utils = {}
---
-- Ceil the ... | 20.839024 | 103 | 0.683052 |
4461c66e66f845a8cf08dff5ed1aaa965d0c416a | 1,466 | py | Python | da_monitor.py | linjin1130/DA_monitor_websocket | d592559a95225d3d8f6d96055918d15162c26c9b | [
"MIT"
] | null | null | null | da_monitor.py | linjin1130/DA_monitor_websocket | d592559a95225d3d8f6d96055918d15162c26c9b | [
"MIT"
] | null | null | null | da_monitor.py | linjin1130/DA_monitor_websocket | d592559a95225d3d8f6d96055918d15162c26c9b | [
"MIT"
] | null | null | null | import time
from socket import *
# from config_util import *
class DAbroaddata(object):
dabroad_host=''
dabroad_port=6789
bufsize = 1024
def __init__(self):
# self.confobj = Config()
# self.dabroad_host = self.confobj.dabroad_host
# self.dabroad_port = self.confobj.dabroad_por... | 23.269841 | 75 | 0.658254 |
dbe51a3fd23c76fb74a8f7270bb354971118b28c | 2,909 | php | PHP | backend/views/administrators/create.php | daifangyun/video | 91ef22a78457af7b708207db8c8f196759f43c7c | [
"BSD-3-Clause"
] | null | null | null | backend/views/administrators/create.php | daifangyun/video | 91ef22a78457af7b708207db8c8f196759f43c7c | [
"BSD-3-Clause"
] | null | null | null | backend/views/administrators/create.php | daifangyun/video | 91ef22a78457af7b708207db8c8f196759f43c7c | [
"BSD-3-Clause"
] | null | null | null | <?php
use yii\helpers\Html;
use yii\helpers\Url;
$this->title = '添加管理员账号 ...';
?>
<div class="site-index">
<div class="body-content">
<?= \backend\widget\FormAlertWidget::widget(); ?>
<div class="row">
<div class="box-body">
<form role="form"
acti... | 49.305085 | 167 | 0.440358 |
934703af53e8e531c0c18021b53fca8ad0fee0d2 | 5,259 | rs | Rust | src/responder.rs | sgasse/infercam_onnx | 393dfae67276fe8cb0082014cf91ddb01af14611 | [
"Apache-2.0"
] | 1 | 2021-11-10T17:25:40.000Z | 2021-11-10T17:25:40.000Z | src/responder.rs | sgasse/infercam_onnx | 393dfae67276fe8cb0082014cf91ddb01af14611 | [
"Apache-2.0"
] | null | null | null | src/responder.rs | sgasse/infercam_onnx | 393dfae67276fe8cb0082014cf91ddb01af14611 | [
"Apache-2.0"
] | null | null | null | //! Objects responding to endpoint calls.
//!
//! There are two main objects, both implement the `futures_core::Stream` trait:
//! - `StreamableCamera` initializes the webcam and captures a new frame in its `poll_next` method.
//! - `InferCamera` initializes both the webcam and a neural network model from an `.onnx` fi... | 31.491018 | 100 | 0.596121 |
0d3a982fd0fb17f25575d0ad5b4189c25ca2facb | 3,930 | cs | C# | Source/DotSpatial.Data/ImageCoverage.cs | eapbokma/DotSpatial | 2ddae0b2db98541771293838c37ba2f7bdcbbb96 | [
"MIT"
] | null | null | null | Source/DotSpatial.Data/ImageCoverage.cs | eapbokma/DotSpatial | 2ddae0b2db98541771293838c37ba2f7bdcbbb96 | [
"MIT"
] | null | null | null | Source/DotSpatial.Data/ImageCoverage.cs | eapbokma/DotSpatial | 2ddae0b2db98541771293838c37ba2f7bdcbbb96 | [
"MIT"
] | null | null | null | // Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System.Collections.Generic;
using System.Drawing;
namespace DotSpatial.Data
{
/// <summary>
/// TiledImage is a class for actually con... | 31.190476 | 151 | 0.519847 |
82e808875da5d8cb965f413e3b1cbe7c08a3cfdb | 2,649 | rs | Rust | src/cargo-tizen/commands/config.rs | Palladinium/cargo-rutin-tizen | c51ee225104a44d797fdc8c60c9cd4aa97c5854b | [
"Apache-2.0"
] | 2 | 2021-04-07T01:07:15.000Z | 2021-05-05T13:57:09.000Z | src/cargo-tizen/commands/config.rs | Palladinium/cargo-rutin-tizen | c51ee225104a44d797fdc8c60c9cd4aa97c5854b | [
"Apache-2.0"
] | 1 | 2021-05-05T14:52:44.000Z | 2021-05-05T22:59:55.000Z | src/cargo-tizen/commands/config.rs | Palladinium/cargo-rutin-tizen | c51ee225104a44d797fdc8c60c9cd4aa97c5854b | [
"Apache-2.0"
] | 1 | 2021-11-22T11:58:27.000Z | 2021-11-22T11:58:27.000Z | use crate::error::TizenError;
use crate::tizen_env::{ConfigFrom, TizenEnv};
use clap::ArgMatches;
use cli_table::{print_stdout, Cell, Table};
use colored::*;
pub fn run(tizen_env: &TizenEnv, args: &ArgMatches) -> Result<i32, TizenError> {
match args.value_of("env_key") {
Some(str_value) => show_detail(tize... | 30.448276 | 82 | 0.505851 |
a22bbf93e75358a1a275c2623a1573e1c697d61d | 53 | dart | Dart | lib/src/utils/firebase_product_type.dart | sanjeevbishnoi/flutter_firebase_chat_core | f04dd5c0d838b3cc7f320618dd1541af7346399f | [
"Apache-2.0"
] | null | null | null | lib/src/utils/firebase_product_type.dart | sanjeevbishnoi/flutter_firebase_chat_core | f04dd5c0d838b3cc7f320618dd1541af7346399f | [
"Apache-2.0"
] | null | null | null | lib/src/utils/firebase_product_type.dart | sanjeevbishnoi/flutter_firebase_chat_core | f04dd5c0d838b3cc7f320618dd1541af7346399f | [
"Apache-2.0"
] | null | null | null | enum FirebaseProductType { fireRealTime, fireStore }
| 26.5 | 52 | 0.830189 |
02776f948c5fa197561eef3d5f575f85a41e012e | 4,281 | cpp | C++ | ModuleProgram.cpp | raulgonzalezupc/FirstAssigment | 9193de31049922787da966695340253d84439bf3 | [
"MIT"
] | null | null | null | ModuleProgram.cpp | raulgonzalezupc/FirstAssigment | 9193de31049922787da966695340253d84439bf3 | [
"MIT"
] | null | null | null | ModuleProgram.cpp | raulgonzalezupc/FirstAssigment | 9193de31049922787da966695340253d84439bf3 | [
"MIT"
] | null | null | null | #include "ModuleProgram.h"
#include "Application.h"
#include "ModuleImgui.h"
#include "Globals.h"
#include "MathGeoLib/include/Math/float4x4.h"
#include "SDL.h"
ModuleProgram::ModuleProgram()
{
}
ModuleProgram::~ModuleProgram()
{
}
bool ModuleProgram::Init()
{
App->imgui->AddLog("\nSHADERS.\n\n");
//init verte... | 24.186441 | 92 | 0.759402 |
75c09a500e272a0c32cd2baccd9a6e420ef7de36 | 430 | css | CSS | src/components/Header/styles.css | Giancarl021/Ow-Scan | badba7c340e42cc227e0f1d75300e0fdfbef73b3 | [
"MIT"
] | null | null | null | src/components/Header/styles.css | Giancarl021/Ow-Scan | badba7c340e42cc227e0f1d75300e0fdfbef73b3 | [
"MIT"
] | null | null | null | src/components/Header/styles.css | Giancarl021/Ow-Scan | badba7c340e42cc227e0f1d75300e0fdfbef73b3 | [
"MIT"
] | null | null | null | .header-nav {
height: 4rem;
box-shadow: 0 0 15px #0004;
}
.navbar-item img.logo {
max-height: unset;
height: 3rem;
width: auto
}
.header-burger {
height: 4rem;
}
.navbar-end.tagger {
justify-content: center;
align-items: center;
}
.navbar-item.tag.sponsor {
display: flex;
fle... | 15.357143 | 31 | 0.606977 |
fac11caa286a6aff7db04d0231457d619d27cd0f | 126 | swift | Swift | Sources/App/Models/User.swift | GYLibrary/SwiftService | 888721b52f0628ee35d11066851f697389359cb3 | [
"Apache-2.0"
] | null | null | null | Sources/App/Models/User.swift | GYLibrary/SwiftService | 888721b52f0628ee35d11066851f697389359cb3 | [
"Apache-2.0"
] | null | null | null | Sources/App/Models/User.swift | GYLibrary/SwiftService | 888721b52f0628ee35d11066851f697389359cb3 | [
"Apache-2.0"
] | null | null | null | //
// User.swift
// App
//
// Created by zgy on 2019/4/12.
//
import Vapor
struct User: Content {
var name: String
}
| 9.692308 | 32 | 0.587302 |
75b1490fc405d341a1da82c5ad28a30184054efb | 585 | css | CSS | public_html/style-carousel.css | IboRakhmonov-debug/laravel_blade_sciencesoft | 31d63707597620da480571c22302f6f8bf8be656 | [
"MIT"
] | null | null | null | public_html/style-carousel.css | IboRakhmonov-debug/laravel_blade_sciencesoft | 31d63707597620da480571c22302f6f8bf8be656 | [
"MIT"
] | null | null | null | public_html/style-carousel.css | IboRakhmonov-debug/laravel_blade_sciencesoft | 31d63707597620da480571c22302f6f8bf8be656 | [
"MIT"
] | null | null | null |
.container {
padding-top: 100px;
}
.slick-slide {
margin: 0 20px;
}
.slick-slide img {
width: 100%;
}
.slick-slider {
position: relative;
display: block;
box-sizing: border-box;
}
.slick-list {
position: relative;
display: block;
overflow: hidden;
margin: 0;
padding: 0;
}
.slick-track {
posit... | 12.717391 | 33 | 0.630769 |
a35279f32c359103c2722df922d7e6b48cc5a764 | 1,175 | java | Java | e2e-tests-activemq-artemis-tests/src/test/java/io/github/tlbueno/e2e_tests/activemq/artemis/tests/journal/retention/Producer.java | tlbueno/e2e-tests | 3456fcce8232101c6a6b4ff5b1c9697a1a761a92 | [
"Apache-2.0"
] | null | null | null | e2e-tests-activemq-artemis-tests/src/test/java/io/github/tlbueno/e2e_tests/activemq/artemis/tests/journal/retention/Producer.java | tlbueno/e2e-tests | 3456fcce8232101c6a6b4ff5b1c9697a1a761a92 | [
"Apache-2.0"
] | null | null | null | e2e-tests-activemq-artemis-tests/src/test/java/io/github/tlbueno/e2e_tests/activemq/artemis/tests/journal/retention/Producer.java | tlbueno/e2e-tests | 3456fcce8232101c6a6b4ff5b1c9697a1a761a92 | [
"Apache-2.0"
] | null | null | null | package io.github.tlbueno.e2e_tests.activemq.artemis.tests.journal.retention;
import io.github.tlbueno.e2e_tests.framework.client.jms.JmsClient;
import io.github.tlbueno.e2e_tests.framework.client.jms.producer.SingleQueueProducer;
import io.github.tlbueno.e2e_tests.framework.client.jms.protocol.amqp.JmsClientAmqpBuild... | 32.638889 | 94 | 0.655319 |
e264712f09a451232a23a846a974cfab9d8b3ba0 | 350 | py | Python | config.py | digigor/matchplicity-jobscrapper | f23a0b0fb803b72f98b95c249806a6da54af6153 | [
"Apache-2.0"
] | null | null | null | config.py | digigor/matchplicity-jobscrapper | f23a0b0fb803b72f98b95c249806a6da54af6153 | [
"Apache-2.0"
] | null | null | null | config.py | digigor/matchplicity-jobscrapper | f23a0b0fb803b72f98b95c249806a6da54af6153 | [
"Apache-2.0"
] | null | null | null | # -*- coding: UTF-8 -*-
PROXYSOCKET = ''
RETRY_TIMES = 5
HEADERS = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36',
'Accept': 'application/json,application/xml'
}
INPUT_FILE = 'dependencies/input.xlsx'
API_DEBUG = True
AP... | 19.444444 | 136 | 0.677143 |