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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
26ec32f2c21ea1a786f7d3145e51d8f437d0a65b | 5,837 | sql | SQL | kontaktor_db.sql | vivina333/SIMKU | b24b265a8ca99fcb2a380e031e16211bfda6cdbf | [
"MIT"
] | null | null | null | kontaktor_db.sql | vivina333/SIMKU | b24b265a8ca99fcb2a380e031e16211bfda6cdbf | [
"MIT"
] | null | null | null | kontaktor_db.sql | vivina333/SIMKU | b24b265a8ca99fcb2a380e031e16211bfda6cdbf | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 13 Jan 2020 pada 14.49
-- Versi server: 10.4.6-MariaDB
-- Versi PHP: 7.3.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHAR... | 25.051502 | 137 | 0.661813 |
3f63d09ac63c53e46da7eaef4ec3f9cd32e43127 | 73 | rb | Ruby | test/helpers/review_helper_test.rb | AddJam/glasgow-cycling-api | e17dbcee8de16a71b40bc008671c16f92fdef913 | [
"MIT"
] | null | null | null | test/helpers/review_helper_test.rb | AddJam/glasgow-cycling-api | e17dbcee8de16a71b40bc008671c16f92fdef913 | [
"MIT"
] | null | null | null | test/helpers/review_helper_test.rb | AddJam/glasgow-cycling-api | e17dbcee8de16a71b40bc008671c16f92fdef913 | [
"MIT"
] | 1 | 2021-04-11T08:25:31.000Z | 2021-04-11T08:25:31.000Z | require 'test_helper'
class ReviewHelperTest < ActionView::TestCase
end
| 14.6 | 45 | 0.821918 |
e776b388a9da58c59dc7d18e1bdc9dd8902ba5e8 | 7,402 | php | PHP | resources/views/frontend/deposit.blade.php | farahnaz-a/beehive | f752e1a2f7b696622d13fc82fbb5cd3dc21f8d39 | [
"MIT"
] | null | null | null | resources/views/frontend/deposit.blade.php | farahnaz-a/beehive | f752e1a2f7b696622d13fc82fbb5cd3dc21f8d39 | [
"MIT"
] | null | null | null | resources/views/frontend/deposit.blade.php | farahnaz-a/beehive | f752e1a2f7b696622d13fc82fbb5cd3dc21f8d39 | [
"MIT"
] | null | null | null | @extends('layouts.logindash')
@section('content')
<div class="hero">
<div class="container">
<div class="w-row">
<div class="column-80 w-col w-col-8">
<div class="div-block-6433">
<div class="div-block-6434">
<h5 class="heading-193">Balance totale<span class="t... | 54.426471 | 611 | 0.493785 |
cd1b44a44f251320debc189a16946a37b0342541 | 4,403 | cs | C# | Public/Src/Utilities/Utilities/LineInfo.cs | miniksa/BuildXL | 4dc257a82a6126fe7516f15fa6f505c14c122ffb | [
"MIT"
] | 448 | 2018-11-07T21:00:58.000Z | 2019-05-06T17:29:34.000Z | Public/Src/Utilities/Utilities/LineInfo.cs | miniksa/BuildXL | 4dc257a82a6126fe7516f15fa6f505c14c122ffb | [
"MIT"
] | 496 | 2019-05-06T21:38:22.000Z | 2022-03-14T18:17:14.000Z | Public/Src/Utilities/Utilities/LineInfo.cs | miniksa/BuildXL | 4dc257a82a6126fe7516f15fa6f505c14c122ffb | [
"MIT"
] | 88 | 2019-05-08T08:28:45.000Z | 2022-03-24T23:43:21.000Z | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.ContractsLight;
using static BuildXL.Utilities.FormattableStringEx;
namespace BuildXL.Utilities
{
/// <summary>
/// The... | 31.22695 | 98 | 0.553259 |
2f51ff291ce1d87bab56a5a193a8c2e37ed8c6f3 | 56 | js | JavaScript | dist/server/modules/machine-news/aggregates/shop/interfaces/ShopRepository.js | thinhnguyen1105/excado | 19ecb8f05fda70e73670ecea8a9f0526a2ec0280 | [
"MIT"
] | null | null | null | dist/server/modules/machine-news/aggregates/shop/interfaces/ShopRepository.js | thinhnguyen1105/excado | 19ecb8f05fda70e73670ecea8a9f0526a2ec0280 | [
"MIT"
] | 3 | 2020-07-18T10:45:49.000Z | 2021-08-13T02:26:22.000Z | dist/server/modules/machine-news/aggregates/shop/interfaces/ShopRepository.js | thinhnguyen1105/excado_project | 19ecb8f05fda70e73670ecea8a9f0526a2ec0280 | [
"MIT"
] | null | null | null | "use strict";
//# sourceMappingURL=ShopRepository.js.map | 28 | 42 | 0.785714 |
a10f7e527973ffb89923d78f63266e0aca33a706 | 116 | sql | SQL | sf.sql | Fansion/sharefun | 1e6bf742f5921d8dd464ba6074d6c18859118714 | [
"MIT"
] | 1 | 2015-01-17T03:17:48.000Z | 2015-01-17T03:17:48.000Z | sf.sql | Fansion/sharefun | 1e6bf742f5921d8dd464ba6074d6c18859118714 | [
"MIT"
] | null | null | null | sf.sql | Fansion/sharefun | 1e6bf742f5921d8dd464ba6074d6c18859118714 | [
"MIT"
] | null | null | null | --
-- 数据库: `sf`
--
CREATE DATABASE IF NOT EXISTS `sf` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
USE `sf`;
| 19.333333 | 86 | 0.706897 |
6695d2e060a8fbbe940fafa785be5175ebdbb58a | 2,234 | lua | Lua | Modules/lua-cofsm/test_cofsm.lua | ToyotaResearchInstitute/rad-robot | 9a47e4d88382719ab9bf142932fbcc83dcbcd665 | [
"MIT"
] | null | null | null | Modules/lua-cofsm/test_cofsm.lua | ToyotaResearchInstitute/rad-robot | 9a47e4d88382719ab9bf142932fbcc83dcbcd665 | [
"MIT"
] | null | null | null | Modules/lua-cofsm/test_cofsm.lua | ToyotaResearchInstitute/rad-robot | 9a47e4d88382719ab9bf142932fbcc83dcbcd665 | [
"MIT"
] | 2 | 2018-06-04T12:38:54.000Z | 2018-09-22T10:31:27.000Z | #!/usr/bin/env lua5.1
local fsm = require'cofsm'
local function botGo()
print('Entry', 'ok')
local distance = 0
local evt = false
while coroutine.yield(evt) do
print('Update', 'go', distance)
distance = distance + 1
-- error('oops')
evt = distance > 3 and 'stop'
end
print('Exit', 'woo')
r... | 23.765957 | 53 | 0.653536 |
389152de284df761b93554f635788b9abc521a41 | 1,828 | php | PHP | tests/TestCase/Domain/User/Service/UserReaderTest.php | edgd1er/slim4api | 56d44083ccc1f5e5f5d90964a2c441225a42b7d3 | [
"MIT"
] | 2 | 2021-02-13T13:45:28.000Z | 2021-02-16T20:23:18.000Z | tests/TestCase/Domain/User/Service/UserReaderTest.php | edgd1er/slim4api | 56d44083ccc1f5e5f5d90964a2c441225a42b7d3 | [
"MIT"
] | null | null | null | tests/TestCase/Domain/User/Service/UserReaderTest.php | edgd1er/slim4api | 56d44083ccc1f5e5f5d90964a2c441225a42b7d3 | [
"MIT"
] | 4 | 2020-08-27T20:13:12.000Z | 2021-06-01T15:50:27.000Z | <?php
namespace Tests\TestCase\Domain\User\Service;
use App\Domain\User\Data\UserData;
use App\Domain\User\Repository\UserReaderRepository;
use App\Domain\User\Service\UserReader;
use App\Exception\ValidationException;
use PHPUnit\Framework\TestCase;
use Tests\AppTestTrait;
class UserReaderTest extends TestCase
{
... | 29.015873 | 100 | 0.667943 |
f859ff86e6bbd31312c1bf0374cb4b5a12d177c0 | 597 | bats | Shell | tests/make/ec_lint_success.bats | dwc0011/tardigrade-ci | d0d5095f8b339ce1d4803e6b8625edb0e272f1a1 | [
"Apache-2.0"
] | 2 | 2021-12-11T00:32:08.000Z | 2021-12-11T00:32:11.000Z | tests/make/ec_lint_success.bats | dwc0011/tardigrade-ci | d0d5095f8b339ce1d4803e6b8625edb0e272f1a1 | [
"Apache-2.0"
] | 273 | 2020-08-18T14:47:43.000Z | 2022-03-31T23:01:41.000Z | tests/make/ec_lint_success.bats | dwc0011/tardigrade-ci | d0d5095f8b339ce1d4803e6b8625edb0e272f1a1 | [
"Apache-2.0"
] | 10 | 2020-01-17T15:25:59.000Z | 2022-02-09T13:47:51.000Z | #!/usr/bin/env bats
TEST_DIR="$(pwd)/ec_lint_success"
# generate a test terraform project with a nested project
function setup() {
rm -rf "$TEST_DIR"
working_dirs=("$TEST_DIR" "$TEST_DIR/nested")
for working_dir in "${working_dirs[@]}"
do
mkdir -p "$working_dir"
cat > "$working_dir/Makefile" <<"EOF"
echo "foo"
E... | 19.258065 | 57 | 0.670017 |
e2f47f0f6b2eb1930b72f4aa8c314033d4a6ad7a | 325 | py | Python | Easy/number_of_lines_to_write_stirng.py | BrynjarGeir/LeetCode | dbd57e645c5398dec538b6466215b61491c8d1d9 | [
"MIT"
] | null | null | null | Easy/number_of_lines_to_write_stirng.py | BrynjarGeir/LeetCode | dbd57e645c5398dec538b6466215b61491c8d1d9 | [
"MIT"
] | null | null | null | Easy/number_of_lines_to_write_stirng.py | BrynjarGeir/LeetCode | dbd57e645c5398dec538b6466215b61491c8d1d9 | [
"MIT"
] | null | null | null | class Solution:
def numberOfLines(self, widths: List[int], s: str) -> List[int]:
s = list(s); lines = 1; line = 0
while s:
if line + widths[ord(s[0])-97] > 100:
lines += 1; line = 0
else:
line += widths[ord(s.pop(0))-97]
return [lines, ... | 36.111111 | 68 | 0.467692 |
a08dd5fdba3ed087139250fca1777299d3eb3940 | 444 | rs | Rust | src/lib.rs | MaulingMonkey/winstr | fc18ad15498695b86379aed89b55bcff9a58cd2b | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | src/lib.rs | MaulingMonkey/winstr | fc18ad15498695b86379aed89b55bcff9a58cd2b | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | src/lib.rs | MaulingMonkey/winstr | fc18ad15498695b86379aed89b55bcff9a58cd2b | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2021-10-09T08:55:13.000Z | 2021-10-09T08:55:13.000Z | #![deny(unsafe_code)]
#![cfg_attr(not(feature = "display"), allow(unused_imports))]
#[doc(hidden)] pub extern crate winstr_macros;
#[cfg(doc)] pub use doc::*;
#[cfg(doc)] mod doc {
pub mod _alternatives;
pub mod _features;
}
#[cfg(windows)] mod utf16ish;
#[cfg(windows)] use utf16ish::*;
#[cfg(windows)] #[cfg... | 27.75 | 83 | 0.653153 |
a1256505555161f9a3269c0d6543c2dabf1acc92 | 1,528 | ts | TypeScript | src/utils/admin.verify.ts | koppalanaveenkumar/tracking | 16417a562f24dafe6b338037f675ec13f4b3a86c | [
"MIT"
] | null | null | null | src/utils/admin.verify.ts | koppalanaveenkumar/tracking | 16417a562f24dafe6b338037f675ec13f4b3a86c | [
"MIT"
] | null | null | null | src/utils/admin.verify.ts | koppalanaveenkumar/tracking | 16417a562f24dafe6b338037f675ec13f4b3a86c | [
"MIT"
] | null | null | null | import { verify, decode } from 'jsonwebtoken';
import { Request, Response, NextFunction } from 'express';
import config from '../config';
import adminModel from '../models/admin.model';
const adminScret = async (req: any, res: Response, next: NextFunction) => {
try {
const reqToken: any = req.headers && r... | 38.2 | 117 | 0.447644 |
14fe068d268988917d8f834a156bed371dbf1fa7 | 3,767 | cpp | C++ | oneflow/core/primitive/cpu/elementwise_unary.cpp | shihan-ma/oneflow | 1705ec0859aefb4ff07a29ae4255fab70c67464b | [
"Apache-2.0"
] | null | null | null | oneflow/core/primitive/cpu/elementwise_unary.cpp | shihan-ma/oneflow | 1705ec0859aefb4ff07a29ae4255fab70c67464b | [
"Apache-2.0"
] | null | null | null | oneflow/core/primitive/cpu/elementwise_unary.cpp | shihan-ma/oneflow | 1705ec0859aefb4ff07a29ae4255fab70c67464b | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2020 The OneFlow Authors. All rights reserved.
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 agre... | 40.074468 | 100 | 0.734537 |
da63ca5f70d9631b01b1e4e2a1705b6d9abaa8a7 | 4,296 | php | PHP | tests/Unit/UserData/Extractor/FacebookTest.php | logical-and/php-oauth | 700b769807affc1c5d04ec5a77be69a10a12e52b | [
"MIT"
] | 51 | 2015-03-07T14:20:20.000Z | 2021-01-26T14:55:00.000Z | tests/Unit/UserData/Extractor/FacebookTest.php | teknomavi/php-oauth | 8274a7f3b4d8ab267274e8cc094ee0849419c6b9 | [
"MIT"
] | 54 | 2015-02-11T22:29:33.000Z | 2021-08-13T16:48:52.000Z | tests/Unit/UserData/Extractor/FacebookTest.php | logical-and/php-oauth | 700b769807affc1c5d04ec5a77be69a10a12e52b | [
"MIT"
] | 24 | 2015-02-21T23:36:49.000Z | 2020-12-07T18:56:54.000Z | <?php
namespace OAuth\Unit\UserData\Extractor;
use OAuth\UserData\Extractor\Facebook;
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-02-07 at 22:32:44.
*/
class FacebookTest extends \PHPUnit_Framework_TestCase
{
const RESPONSE_PROFILE =
'{
"id": "012345678",
"name": "John Doe",
"firs... | 26.68323 | 117 | 0.584963 |
c1b195e590946df21307f0a5266cc09d2bd17026 | 899 | lua | Lua | root/usr/share/vssr/genconfig_hysteria.lua | v03413/luci-app-vssr | 122a7b54f9363ff23b318fb10452ce920dd2bac0 | [
"MIT"
] | null | null | null | root/usr/share/vssr/genconfig_hysteria.lua | v03413/luci-app-vssr | 122a7b54f9363ff23b318fb10452ce920dd2bac0 | [
"MIT"
] | null | null | null | root/usr/share/vssr/genconfig_hysteria.lua | v03413/luci-app-vssr | 122a7b54f9363ff23b318fb10452ce920dd2bac0 | [
"MIT"
] | null | null | null | local ucursor = require 'luci.model.uci'.cursor()
local json = require 'luci.jsonc'
local server_section = arg[1]
local proto = arg[2]
local local_port = arg[3]
local server = ucursor:get_all('vssr', server_section)
local hysteria = {
server = server.server .. ":" .. tonumber(server.server_port),
obfs = server... | 25.685714 | 66 | 0.651835 |
e23b22558ab0ab410322123b21d1add756845f1e | 3,166 | js | JavaScript | src/client/app/movcaixa/movcaixa.controller.js | jasati/ecold | f5090e387692a0aa82d1342324f428cd476f2c41 | [
"MIT"
] | null | null | null | src/client/app/movcaixa/movcaixa.controller.js | jasati/ecold | f5090e387692a0aa82d1342324f428cd476f2c41 | [
"MIT"
] | null | null | null | src/client/app/movcaixa/movcaixa.controller.js | jasati/ecold | f5090e387692a0aa82d1342324f428cd476f2c41 | [
"MIT"
] | null | null | null | (function () {
'use strict';
angular
.module('app.movcaixa')
.controller('MovCaixaController', MovCaixaController);
MovCaixaController.$inject = ['$q', '$modal', 'logger', 'MovCaixaService', 'routerHelper', 'DataserviseProvider'];
/* @ngInject */
function MovCaixaController($q, $mo... | 31.346535 | 118 | 0.478206 |
b0dc2211643d9d6be639fdbda1f95b1ab485240f | 81 | dart | Dart | frontend/base/app/packages/object_storage_repository/lib/object_storage_repository.dart | nicelogic/warmth | e60bfd0f183c3d5971be6eceb26f24cff8284fb6 | [
"Apache-2.0"
] | null | null | null | frontend/base/app/packages/object_storage_repository/lib/object_storage_repository.dart | nicelogic/warmth | e60bfd0f183c3d5971be6eceb26f24cff8284fb6 | [
"Apache-2.0"
] | null | null | null | frontend/base/app/packages/object_storage_repository/lib/object_storage_repository.dart | nicelogic/warmth | e60bfd0f183c3d5971be6eceb26f24cff8284fb6 | [
"Apache-2.0"
] | null | null | null | library object_storage_repository;
export 'src/object_storage_repository.dart';
| 20.25 | 44 | 0.864198 |
e414b2a1b2a703370050c901c1b6dcd62faef9ad | 18,002 | cs | C# | sdk/identity/Azure.Identity/tests/VisualStudioCodeCredentialLiveTests.cs | zbecknell/azure-sdk-for-net | 023cee99e6dfaa084647adc9899254956af1fbb9 | [
"MIT"
] | 1 | 2020-04-01T09:55:10.000Z | 2020-04-01T09:55:10.000Z | sdk/identity/Azure.Identity/tests/VisualStudioCodeCredentialLiveTests.cs | zbecknell/azure-sdk-for-net | 023cee99e6dfaa084647adc9899254956af1fbb9 | [
"MIT"
] | 154 | 2019-09-27T03:14:59.000Z | 2019-10-14T23:22:19.000Z | sdk/identity/Azure.Identity/tests/VisualStudioCodeCredentialLiveTests.cs | zbecknell/azure-sdk-for-net | 023cee99e6dfaa084647adc9899254956af1fbb9 | [
"MIT"
] | 3 | 2019-10-07T23:32:16.000Z | 2019-10-08T22:28:40.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure... | 43.483092 | 242 | 0.627764 |
bea1ae9e464df2f7a29419c5741de69aecb0caa3 | 1,800 | ts | TypeScript | packages/types/src/interfaces/contracts/definitions.ts | JamesLefrere/api | 229fd7252637cf033909389ba611bc5a2a48ccf3 | [
"Apache-2.0"
] | null | null | null | packages/types/src/interfaces/contracts/definitions.ts | JamesLefrere/api | 229fd7252637cf033909389ba611bc5a2a48ccf3 | [
"Apache-2.0"
] | null | null | null | packages/types/src/interfaces/contracts/definitions.ts | JamesLefrere/api | 229fd7252637cf033909389ba611bc5a2a48ccf3 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017-2019 @polkadot/types authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
export default {
types: {
AliveContractInfo: {
trieId: 'TrieId',
storageSize: 'u32',
codeHash: 'CodeHash... | 25.352113 | 64 | 0.594444 |
b95233bbffaf64f8b5d4367f8c9c9c472dab5be0 | 795 | css | CSS | assets/css/downupPopup.css | asrulcahyadiputra/pa-hpp | 4b468dcc2b02b1c0fdf3f2cf623617fab3955c37 | [
"MIT"
] | 1 | 2021-07-28T04:05:29.000Z | 2021-07-28T04:05:29.000Z | assets/css/downupPopup.css | asrulcahyadiputra/pa-hpp | 4b468dcc2b02b1c0fdf3f2cf623617fab3955c37 | [
"MIT"
] | null | null | null | assets/css/downupPopup.css | asrulcahyadiputra/pa-hpp | 4b468dcc2b02b1c0fdf3f2cf623617fab3955c37 | [
"MIT"
] | null | null | null | .downupPopup {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
z-index: 1050;
will-change: transform;
background-color: #fff;
height: 100%;
left: 50%;
right: 50%;
overflow-x: hidden;
overflow-y: auto;
}
.downupPopup.no-act {
transform: translate(-50%, 100vh) !i... | 15.9 | 47 | 0.627673 |
15a11c26f297025d81448591b24fb1e7f379990d | 10,467 | dart | Dart | pkg/test_runner/bin/compare_results.dart | TheRakeshPurohit/sdk | 2885ecc42664e4972343addeb73beb892f4737ea | [
"BSD-3-Clause"
] | null | null | null | pkg/test_runner/bin/compare_results.dart | TheRakeshPurohit/sdk | 2885ecc42664e4972343addeb73beb892f4737ea | [
"BSD-3-Clause"
] | null | null | null | pkg/test_runner/bin/compare_results.dart | TheRakeshPurohit/sdk | 2885ecc42664e4972343addeb73beb892f4737ea | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env dart
// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// Compare the old and new test results and list tests that pass the filters.
// Th... | 31.718182 | 80 | 0.620235 |
796997ba4e9771d91b683ae0228d382e492d537b | 4,603 | php | PHP | tests/EnumTest.php | palshin/enum | 4d794214accb1fa428356811cfb416fb42d4a73c | [
"MIT"
] | 4 | 2020-11-10T05:31:59.000Z | 2020-11-13T17:11:07.000Z | tests/EnumTest.php | palshin/enum | 4d794214accb1fa428356811cfb416fb42d4a73c | [
"MIT"
] | null | null | null | tests/EnumTest.php | palshin/enum | 4d794214accb1fa428356811cfb416fb42d4a73c | [
"MIT"
] | null | null | null | <?php
namespace Palshin\Enum\Tests;
use Palshin\Enum\Exceptions\UndefinedPropertyEnumException;
use Palshin\Enum\Exceptions\WritingToReadOnlyPropertyEnumException;
use Palshin\Enum\Tests\Enums\AutoIncrementEnum;
use Palshin\Enum\Tests\Enums\ConstEnum;
use Palshin\Enum\Tests\Enums\DocCommentEnum;
use Palshin\Enum\Test... | 22.563725 | 80 | 0.643711 |
22c4ca6675241200efc23f0d5bddbf077dc0fd6e | 7,602 | rs | Rust | src/concat.rs | hhandika/fastq-merger | 7f6caeec0b73c712076689c58079482a5b75a844 | [
"MIT"
] | null | null | null | src/concat.rs | hhandika/fastq-merger | 7f6caeec0b73c712076689c58079482a5b75a844 | [
"MIT"
] | null | null | null | src/concat.rs | hhandika/fastq-merger | 7f6caeec0b73c712076689c58079482a5b75a844 | [
"MIT"
] | null | null | null | use std::collections::HashMap;
use std::fs::{self, File};
use std::io::prelude::*;
use std::io::{self, BufReader, Result, Write};
use std::path::PathBuf;
use flate2::bufread::MultiGzDecoder;
use flate2::write::GzEncoder;
use flate2::Compression;
use glob::{self, MatchOptions};
use indicatif::{ProgressBar, ProgressStyl... | 30.166667 | 95 | 0.558143 |
1a8f704880b581c9b8f42adb4ee8b6de011833f7 | 9,764 | py | Python | coreml/modules/classification.py | core-ml/coreml | c983b919ec9041a9a8d71c03829158ed41da7890 | [
"MIT"
] | 11 | 2020-08-28T08:15:24.000Z | 2021-08-13T04:50:03.000Z | coreml/modules/classification.py | core-ml/coreml | c983b919ec9041a9a8d71c03829158ed41da7890 | [
"MIT"
] | 9 | 2020-12-21T18:03:55.000Z | 2022-03-29T22:15:54.000Z | coreml/modules/classification.py | core-ml/coreml | c983b919ec9041a9a8d71c03829158ed41da7890 | [
"MIT"
] | 2 | 2020-08-05T16:49:27.000Z | 2020-08-20T01:40:07.000Z | """Defines the class for feed-forward LightningModule."""
from typing import Dict, Tuple, Any, List
import torch
import numpy as np
from pytorch_lightning.metrics.classification import Accuracy, Precision,\
Recall, AUROC, PrecisionRecall, ROC
import matplotlib.pyplot as plt
import wandb
from coreml.modules.nn impor... | 37.992218 | 74 | 0.628636 |
bb6d05d80e9f40fe2523e43bc38496ae01cde212 | 5,269 | cs | C# | src/MassTransit.Interop.NServiceBus/Serialization/NServiceBusXmlMessageSerializer.cs | tanquetav/MassTransit | 180620a59d69063985e7b7c20d13ec98aa246ce0 | [
"ECL-2.0",
"Apache-2.0"
] | 4,222 | 2015-01-03T20:54:46.000Z | 2022-03-31T19:38:05.000Z | src/MassTransit.Interop.NServiceBus/Serialization/NServiceBusXmlMessageSerializer.cs | tanquetav/MassTransit | 180620a59d69063985e7b7c20d13ec98aa246ce0 | [
"ECL-2.0",
"Apache-2.0"
] | 1,756 | 2015-01-07T15:58:40.000Z | 2022-03-31T07:18:21.000Z | src/MassTransit.Interop.NServiceBus/Serialization/NServiceBusXmlMessageSerializer.cs | tanquetav/MassTransit | 180620a59d69063985e7b7c20d13ec98aa246ce0 | [
"ECL-2.0",
"Apache-2.0"
] | 1,352 | 2015-01-07T17:18:36.000Z | 2022-03-29T14:32:55.000Z | namespace MassTransit.Interop.NServiceBus.Serialization
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net.Mime;
using System.Runtime.Serialization;
using System.Text;
using System.Threading;
using System.Xml;
using Sys... | 40.844961 | 158 | 0.629721 |
12d2f4d790de886d62ec68b6ed92540293254c15 | 2,740 | cs | C# | Lyyneheym/YuriPlatform/PlatformCore/Evaluator/PolishItem.cs | rinkako/Slyvia | c6ca24f070174daf48eb918d38321b7c956bc2a6 | [
"MS-PL"
] | 103 | 2017-04-21T16:46:34.000Z | 2022-02-21T13:25:13.000Z | Lyyneheym/YuriPlatform/PlatformCore/Evaluator/PolishItem.cs | rinkako/Slyvia | c6ca24f070174daf48eb918d38321b7c956bc2a6 | [
"MS-PL"
] | 8 | 2017-08-04T09:22:53.000Z | 2019-09-16T17:07:37.000Z | Lyyneheym/YuriPlatform/PlatformCore/Evaluator/PolishItem.cs | rinkako/Slyvia | c6ca24f070174daf48eb918d38321b7c956bc2a6 | [
"MS-PL"
] | 18 | 2017-07-06T15:17:50.000Z | 2022-02-05T23:39:37.000Z | namespace Yuri.PlatformCore.Evaluator
{
/// <summary>
/// 运算栈项目
/// </summary>
internal sealed class PolishItem
{
/// <summary>
/// 获取或设置Polish项的类型
/// </summary>
public PolishItemType ItemType
{
get;
set;
}
/// <summa... | 29.782609 | 130 | 0.521533 |
9e41a32e225814178bda882a475b5e5901b105e7 | 469 | lua | Lua | docs/MomoKit/Loading.lua | lizhizhuanshu/autolua | 5440d26bd0198519520cf9ce6e639141b0baf088 | [
"MIT"
] | 27 | 2021-03-04T12:24:58.000Z | 2022-03-22T03:15:44.000Z | docs/MomoKit/Loading.lua | lizhizhuanshu/autolua | 5440d26bd0198519520cf9ce6e639141b0baf088 | [
"MIT"
] | 1 | 2022-02-04T06:29:43.000Z | 2022-02-25T14:17:59.000Z | docs/MomoKit/Loading.lua | lizhizhuanshu/autolua | 5440d26bd0198519520cf9ce6e639141b0baf088 | [
"MIT"
] | 9 | 2021-03-04T15:39:55.000Z | 2022-03-22T03:15:46.000Z | ---
--- Generated by MLN Team (https://www.immomo.com)
--- Created by MLN Team.
--- DateTime: 15-01-2020 17:35
---
---
--- 加载指示器
---
---@note 对应iOS原生UIActivityIndicatorView控件
---@class Loading @parent class
---@public field name string
---@type Loading
Loading= {
_priveta_class_name = "Loading"}
---
--- 显示加载指示器
... | 14.212121 | 50 | 0.648188 |
2e9425787762106c76f00ae8fe7eb4c54166369f | 357 | rs | Rust | src/scene/environment.rs | TomCrypto/equinox | 915d40238f2b6d8258727b74a68ed2d4cd2702d4 | [
"MIT"
] | 8 | 2020-01-21T14:56:34.000Z | 2020-08-17T02:01:24.000Z | src/scene/environment.rs | TomCrypto/equinox | 915d40238f2b6d8258727b74a68ed2d4cd2702d4 | [
"MIT"
] | 6 | 2020-03-26T06:55:59.000Z | 2022-02-26T22:40:57.000Z | src/scene/environment.rs | TomCrypto/equinox | 915d40238f2b6d8258727b74a68ed2d4cd2702d4 | [
"MIT"
] | null | null | null | use serde::{Deserialize, Serialize};
#[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)]
#[serde(tag = "type", rename_all = "kebab-case")]
pub enum Environment {
Solid { tint: [f32; 3] },
Map { tint: [f32; 3], rotation: f32 },
}
impl Default for Environment {
fn default() -> Self {
Se... | 23.8 | 64 | 0.602241 |
a48665edccf7d49c1ceb37c4c87db8b9c03f5b77 | 10,085 | php | PHP | application/views/home.php | baysptr/walawalawalawala | e2cfcd9803bc10b880fd591c3f6f80a15be23d77 | [
"MIT"
] | null | null | null | application/views/home.php | baysptr/walawalawalawala | e2cfcd9803bc10b880fd591c3f6f80a15be23d77 | [
"MIT"
] | null | null | null | application/views/home.php | baysptr/walawalawalawala | e2cfcd9803bc10b880fd591c3f6f80a15be23d77 | [
"MIT"
] | 1 | 2019-08-08T15:26:05.000Z | 2019-08-08T15:26:05.000Z | <html lang="en">
<head>
<title>SPKSKETSA</title>
<link href="<?= base_url() ?>assets/vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?famil... | 33.283828 | 271 | 0.622509 |
5bf7ee9e09ed59e0272a467d11ebe0387126f023 | 5,400 | dart | Dart | packages/flame/test/effects/opacity_effect_test.dart | anderlli0053/flame | fa2eabad65e06d09128439be4adfe435e12ac168 | [
"MIT"
] | 2 | 2020-06-07T20:37:01.000Z | 2020-06-08T21:16:46.000Z | packages/flame/test/effects/opacity_effect_test.dart | anderlli0053/flame | fa2eabad65e06d09128439be4adfe435e12ac168 | [
"MIT"
] | null | null | null | packages/flame/test/effects/opacity_effect_test.dart | anderlli0053/flame | fa2eabad65e06d09128439be4adfe435e12ac168 | [
"MIT"
] | 1 | 2022-02-26T13:05:48.000Z | 2022-02-26T13:05:48.000Z | import 'dart:math';
import 'package:flame/components.dart';
import 'package:flame/game.dart';
import 'package:flame/src/effects/controllers/effect_controller.dart';
import 'package:flame/src/effects/opacity_effect.dart';
import 'package:flame_test/flame_test.dart';
import 'package:flutter_test/flutter_test.dart';
cla... | 31.034483 | 80 | 0.600926 |
99533689925775db7144e8c869f4488fb771cf1b | 404 | swift | Swift | ARWorld/2DUtilities/Autolayout/NibView.swift | sudo-world/sudo-world | ec34af675abfaa2dd2db2b502288d8a1ec9b5344 | [
"MIT"
] | null | null | null | ARWorld/2DUtilities/Autolayout/NibView.swift | sudo-world/sudo-world | ec34af675abfaa2dd2db2b502288d8a1ec9b5344 | [
"MIT"
] | null | null | null | ARWorld/2DUtilities/Autolayout/NibView.swift | sudo-world/sudo-world | ec34af675abfaa2dd2db2b502288d8a1ec9b5344 | [
"MIT"
] | 2 | 2018-02-14T15:29:31.000Z | 2018-03-03T16:34:43.000Z | //
// NibView.swift
// A$AP UI Components
//
// Created by TSD040 on 2018-02-13.
// Copyright © 2018 TSD040. All rights reserved.
//
import UIKit
protocol NibView {}
extension NibView where Self: UIView {
static func instanceFromNib() -> Self? {
let nibName = String(describing: self)
return B... | 21.263158 | 91 | 0.665842 |
4fe8165e183de793228b61ea2162a026e53decc3 | 444 | rb | Ruby | Casks/gtkwave.rb | Argus9/homebrew-cask | 40feb5727825ee8b6b4f7b00ff00e5b530e73e47 | [
"BSD-2-Clause"
] | null | null | null | Casks/gtkwave.rb | Argus9/homebrew-cask | 40feb5727825ee8b6b4f7b00ff00e5b530e73e47 | [
"BSD-2-Clause"
] | null | null | null | Casks/gtkwave.rb | Argus9/homebrew-cask | 40feb5727825ee8b6b4f7b00ff00e5b530e73e47 | [
"BSD-2-Clause"
] | null | null | null | cask 'gtkwave' do
version '3.3.96'
sha256 'a74998b974c552939f69f4221a11fbdb74e1595dc87ed76aa1a11e0816e24d6f'
# downloads.sourceforge.net/gtkwave was verified as official when first introduced to the cask
url "https://downloads.sourceforge.net/gtkwave/gtkwave-#{version}-osx-app/gtkwave.zip"
appcast 'https://s... | 34.153846 | 96 | 0.777027 |
dba2f17e24b17eb6c95ad93571dc2244168998df | 2,332 | php | PHP | migrations/Version20200706071923.php | caba94/eco | c8c28fb78c0d692f3340bbd064bb96fdda2acf45 | [
"MIT"
] | null | null | null | migrations/Version20200706071923.php | caba94/eco | c8c28fb78c0d692f3340bbd064bb96fdda2acf45 | [
"MIT"
] | null | null | null | migrations/Version20200706071923.php | caba94/eco | c8c28fb78c0d692f3340bbd064bb96fdda2acf45 | [
"MIT"
] | null | null | null | <?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200706071923 extends AbstractMigration
{
public function getDescription() : string
{... | 58.3 | 514 | 0.733705 |
7aa7115388cfbd84f552db15414ce0baf6f80c5a | 1,325 | cs | C# | DataBrowser/DataBrowser.WebRole/Reports/Reports.aspx.cs | openlab/OGDI-DataLab | 22cb80be26f15e913ac5f1b32f4ada2627620646 | [
"MS-PL"
] | 18 | 2015-02-09T13:08:19.000Z | 2021-05-12T18:38:08.000Z | DataBrowser/DataBrowser.WebRole/Reports/Reports.aspx.cs | openlab/OGDI-DataLab | 22cb80be26f15e913ac5f1b32f4ada2627620646 | [
"MS-PL"
] | null | null | null | DataBrowser/DataBrowser.WebRole/Reports/Reports.aspx.cs | openlab/OGDI-DataLab | 22cb80be26f15e913ac5f1b32f4ada2627620646 | [
"MS-PL"
] | 7 | 2015-05-01T00:50:47.000Z | 2018-02-16T01:56:48.000Z | using System;
using Ogdi.InteractiveSdk.Mvc.Models.Reports;
namespace Ogdi.InteractiveSdk.Reports
{
public partial class Reports : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
var list = ReportDataSource.Select();
if(!IsPostBack)
... | 33.125 | 118 | 0.617358 |
75aa29be1984184e283b5af9ec274cf05406bbe6 | 94 | css | CSS | src/components/Toast/Toast.css | IEEE-VIT/palette-21-frontend | 982894a65bd318011b3a53b25144e621785a2966 | [
"MIT"
] | 14 | 2021-06-09T08:17:34.000Z | 2021-07-15T15:51:39.000Z | src/components/Toast/Toast.css | IEEE-VIT/palette-21-frontend | 982894a65bd318011b3a53b25144e621785a2966 | [
"MIT"
] | null | null | null | src/components/Toast/Toast.css | IEEE-VIT/palette-21-frontend | 982894a65bd318011b3a53b25144e621785a2966 | [
"MIT"
] | 1 | 2021-06-10T06:21:54.000Z | 2021-06-10T06:21:54.000Z | .Toastify__toast--default {
color : black;
}
.Toastify__toast-body {
padding: 10px;
} | 13.428571 | 27 | 0.659574 |
a9dcc5d0aa87d3873594a722e0660f6fe79209f7 | 521 | php | PHP | prestashop/analytics/plugins/Referrers/Categories/ReferrersCategory.php | andresmundoweb/prueba | 4eac89def7f08b5e551e695edf030a42501266bc | [
"Apache-2.0"
] | null | null | null | prestashop/analytics/plugins/Referrers/Categories/ReferrersCategory.php | andresmundoweb/prueba | 4eac89def7f08b5e551e695edf030a42501266bc | [
"Apache-2.0"
] | null | null | null | prestashop/analytics/plugins/Referrers/Categories/ReferrersCategory.php | andresmundoweb/prueba | 4eac89def7f08b5e551e695edf030a42501266bc | [
"Apache-2.0"
] | null | null | null | <?php
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
*/
namespace Piwik\Plugins\Referrers\Categories;
use Piwik\Category\Category;
use Piwik\Piwik;
class ReferrersCategory extends Category
{
protected $id = 'Referr... | 20.84 | 68 | 0.692898 |
f6222e3913c0936eaf112edcfd46a875e8e1abc1 | 934 | swift | Swift | Smack/Smack/Utilities/Constants.swift | mischarouleaux/Smack | 8756ccfc04add0c0a32f4fe87ca2ced785c80579 | [
"MIT"
] | null | null | null | Smack/Smack/Utilities/Constants.swift | mischarouleaux/Smack | 8756ccfc04add0c0a32f4fe87ca2ced785c80579 | [
"MIT"
] | null | null | null | Smack/Smack/Utilities/Constants.swift | mischarouleaux/Smack | 8756ccfc04add0c0a32f4fe87ca2ced785c80579 | [
"MIT"
] | null | null | null | //
// Constants.swift
// Smack
//
// Created by Mischa Rouleaux on 14-08-17.
// Copyright © 2017 Jonny B. All rights reserved.
//
import Foundation
typealias CompletionHandler = (_ Succes: Bool) -> ()
//URL Constants
let BASE_URL = "https://devlopeschatapp.herokuapp.com/v1/"
let URL_REGISTER = "\(BASE_URL)accoun... | 24.578947 | 90 | 0.739829 |
7960885623d9039bf6780960850121ef503d0132 | 8,427 | php | PHP | admin/functions/left_nav.php | doodersrage/CheapLocalDeals.com | 3260648fdf2f70e5df4191447ed20e3a5fbe307f | [
"MIT"
] | 1 | 2015-11-06T00:08:22.000Z | 2015-11-06T00:08:22.000Z | admin/functions/left_nav.php | doodersrage/CheapLocalDeals.com | 3260648fdf2f70e5df4191447ed20e3a5fbe307f | [
"MIT"
] | 1 | 2015-10-18T00:19:05.000Z | 2016-06-25T16:40:57.000Z | admin/functions/left_nav.php | doodersrage/CheapLocalDeals.com | 3260648fdf2f70e5df4191447ed20e3a5fbe307f | [
"MIT"
] | null | null | null | <?PHP
function prnt_left_nav() {
global $dbh;
// added to allow user lockout
if ($_SESSION['allowed_access']['Advertisers'] == 1) {
$section_link = array('title' => 'Advertisers',
'links' => array(array('name' => 'Existing',
'link' => '?sect=retcustomer&mode=view'),
array('name' => 'A... | 31.44403 | 138 | 0.572446 |
b7ec2ded9ede0c10e1a74a00dbea85b3736245d2 | 329 | cs | C# | src/Services/Account/Account.API/Models/ConfigCalendarAccount.cs | lefevbre-organization/eShopOnContainers | 857dca95cfd44b7ca6551a7c9ec0531e4e4a7d0b | [
"MIT"
] | null | null | null | src/Services/Account/Account.API/Models/ConfigCalendarAccount.cs | lefevbre-organization/eShopOnContainers | 857dca95cfd44b7ca6551a7c9ec0531e4e4a7d0b | [
"MIT"
] | 3 | 2021-02-25T17:45:17.000Z | 2021-04-05T12:12:52.000Z | src/Services/Account/Account.API/Models/ConfigCalendarAccount.cs | lefevbre-organization/eShopOnContainers | 857dca95cfd44b7ca6551a7c9ec0531e4e4a7d0b | [
"MIT"
] | null | null | null | namespace Lefebvre.eLefebvreOnContainers.Services.Account.API.Models
{
/// <summary>
/// Clase para configurar los datos por defecto de un proveeddor de imap
/// </summary>
public class ConfigCalendarAccount
{
public string provider { get; set; }
public string account { get; set; ... | 25.307692 | 76 | 0.656535 |
73db44fc3536eceb341be223f3812d262f2fc9d0 | 1,108 | kt | Kotlin | app/src/main/java/ir/yaddasht/yaddasht/view/behaviour/SearchBarBehaviour.kt | hamooo90/Yaddasht_java | 369884a3cc0c807e403712a8f974c72ee8968706 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/ir/yaddasht/yaddasht/view/behaviour/SearchBarBehaviour.kt | hamooo90/Yaddasht_java | 369884a3cc0c807e403712a8f974c72ee8968706 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/ir/yaddasht/yaddasht/view/behaviour/SearchBarBehaviour.kt | hamooo90/Yaddasht_java | 369884a3cc0c807e403712a8f974c72ee8968706 | [
"Apache-2.0"
] | null | null | null | package ir.yaddasht.yaddasht.view.behaviour
import android.content.Context
import android.util.AttributeSet
import android.view.View
import androidx.coordinatorlayout.widget.CoordinatorLayout
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout
import com.google.android.material.appbar.AppBarLayout
class Sear... | 30.777778 | 87 | 0.690433 |
e02edceceb219f0cf4c73876b5ee073059e208a9 | 604 | cs | C# | AspNetCore22Mvc/Models/CustomModels/Admin_Settings.cs | gillsontechnologies/aspcore22 | 5aee3d6bdde54071eae8f91c362ccd17177acfd5 | [
"MIT"
] | null | null | null | AspNetCore22Mvc/Models/CustomModels/Admin_Settings.cs | gillsontechnologies/aspcore22 | 5aee3d6bdde54071eae8f91c362ccd17177acfd5 | [
"MIT"
] | null | null | null | AspNetCore22Mvc/Models/CustomModels/Admin_Settings.cs | gillsontechnologies/aspcore22 | 5aee3d6bdde54071eae8f91c362ccd17177acfd5 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AspNetCore22Mvc.Models.CustomModels
{
public class Admin_Settings
{
[Key]
public int Id { get; set; }
public string AdminEmailId { get... | 27.454545 | 57 | 0.675497 |
6ac7b324a9b7ac830bb1f36a0f712aee3c11ba90 | 3,420 | go | Go | DataModeling/05-BasicFriendFinding/main.go | verdverm/neo4j-tutorials | a96d7aa23f0298dd3517992d29837c634688b1bf | [
"MIT"
] | 12 | 2015-01-14T19:05:53.000Z | 2019-12-19T23:17:22.000Z | DataModeling/05-BasicFriendFinding/main.go | verdverm/neo4j-tutorials | a96d7aa23f0298dd3517992d29837c634688b1bf | [
"MIT"
] | 1 | 2015-01-16T01:02:09.000Z | 2015-01-16T01:51:08.000Z | DataModeling/05-BasicFriendFinding/main.go | verdverm/neo4j-tutorials | a96d7aa23f0298dd3517992d29837c634688b1bf | [
"MIT"
] | 3 | 2015-09-05T13:31:55.000Z | 2020-04-24T03:46:15.000Z | package main
import (
"fmt"
"github.com/jmcvetta/neoism"
"github.com/verdverm/neo4j-tutorials/common/reset"
)
var (
db *neoism.Database
)
func panicErr(err error) {
if err != nil {
panic(err)
}
}
func init() {
resetDB()
var err error
db, err = neoism.Connect("http://localhost:7474/db/data")
if err != n... | 17.44898 | 81 | 0.615497 |
c93ddf7f891de1c11b32ec9e03f8e7e805b0e01f | 41 | ts | TypeScript | src/rajasekhar/groupPeople/index.ts | unifystockx/code_compete | 65f5ab16b85995e071e14d3ea2d6ead474517d6a | [
"MIT"
] | null | null | null | src/rajasekhar/groupPeople/index.ts | unifystockx/code_compete | 65f5ab16b85995e071e14d3ea2d6ead474517d6a | [
"MIT"
] | 18 | 2020-09-10T06:46:53.000Z | 2020-09-21T09:21:03.000Z | src/rajasekhar/groupPeople/index.ts | unifystockx/code_compete | 65f5ab16b85995e071e14d3ea2d6ead474517d6a | [
"MIT"
] | 2 | 2020-09-11T05:59:57.000Z | 2020-09-22T08:10:08.000Z | export { default } from './groupPeople';
| 20.5 | 40 | 0.682927 |
5ec16b2243394594f80954dcb5e8f67ec4b0af9d | 360 | rb | Ruby | spec/support/config_helper.rb | shadabahmed/multi_config | f090c038aaa9ec948c94727c93ccb9918617e4c2 | [
"MIT"
] | null | null | null | spec/support/config_helper.rb | shadabahmed/multi_config | f090c038aaa9ec948c94727c93ccb9918617e4c2 | [
"MIT"
] | null | null | null | spec/support/config_helper.rb | shadabahmed/multi_config | f090c038aaa9ec948c94727c93ccb9918617e4c2 | [
"MIT"
] | null | null | null | # Loads a namespaced config. Similar to the load method in MultiConfig::ORMs::ActiveRecord::Config.path method
def load_namespaced_config(file)
namespace = File.basename(file, File.extname(file))
config = YAML.load(ERB.new(IO.read(File.expand_path("../config/#{file}", __FILE__))).result)
config.inject({}) { |h, (... | 60 | 110 | 0.708333 |
ef06f56a301ba4ad07d12e3f66300a4df2fa92e2 | 3,493 | go | Go | email/mailer.go | wuyrush/pin | 49538589c4bf0536eebb48dff5ede4e5a475ad3d | [
"MIT"
] | null | null | null | email/mailer.go | wuyrush/pin | 49538589c4bf0536eebb48dff5ede4e5a475ad3d | [
"MIT"
] | null | null | null | email/mailer.go | wuyrush/pin | 49538589c4bf0536eebb48dff5ede4e5a475ad3d | [
"MIT"
] | null | null | null | package email
import (
"crypto/tls"
"fmt"
"net"
"net/mail"
"net/smtp"
"strings"
)
// Mailer vends email dispatch logic via SSL/TLS only.
type Mailer struct {
skipTLSVerify bool // NOTE only set to true during testing
}
// Mail encapsulates email details necessary for dispatch
// When provide sender's authenti... | 31.1875 | 134 | 0.649299 |
fed541acee90f3dbae44df1ccb5939675db3ee15 | 13,021 | rs | Rust | src/image.rs | lobau/image-roll | 8505b9f22abb5cce1747282b8cbd9a12c4c2376d | [
"MIT"
] | 114 | 2021-06-11T15:59:57.000Z | 2022-03-16T21:42:04.000Z | src/image.rs | lobau/image-roll | 8505b9f22abb5cce1747282b8cbd9a12c4c2376d | [
"MIT"
] | 39 | 2021-06-11T20:48:07.000Z | 2022-03-16T23:20:27.000Z | src/image.rs | lobau/image-roll | 8505b9f22abb5cce1747282b8cbd9a12c4c2376d | [
"MIT"
] | 14 | 2021-06-12T00:39:48.000Z | 2022-03-16T01:59:12.000Z | use std::path::Path;
use anyhow::{anyhow, Result};
use gtk::gdk_pixbuf::{InterpType, Pixbuf};
use crate::image_operation::{ApplyImageOperation, ImageOperation};
pub type Coordinates = (u32, u32);
pub type CoordinatesPair = (Coordinates, Coordinates);
pub struct Image {
original_image_buffer: Option<Pixbuf>,
... | 38.752976 | 100 | 0.57269 |
afeaa00c02e4ffc8d5fd4b255c6a2dfaae61fdbf | 5,955 | py | Python | transform/views/test_views.py | ONSdigital/sdx-transform-cora | 4f4536a6a4f9f12e6e1c5667d16e9746bd4d85db | [
"MIT"
] | null | null | null | transform/views/test_views.py | ONSdigital/sdx-transform-cora | 4f4536a6a4f9f12e6e1c5667d16e9746bd4d85db | [
"MIT"
] | 42 | 2017-03-15T11:46:44.000Z | 2018-11-13T11:52:10.000Z | transform/views/test_views.py | ONSdigital/sdx-transform-cora | 4f4536a6a4f9f12e6e1c5667d16e9746bd4d85db | [
"MIT"
] | 1 | 2021-04-11T08:11:49.000Z | 2021-04-11T08:11:49.000Z | from transform.transformers.pdf_transformer import PDFTransformer
from transform.transformers.pdf_transformer_style_cora import CoraPdfTransformerStyle
from transform.transformers.image_transformer import ImageTransformer
from transform import app
from jinja2 import Environment, PackageLoader
from flask import make_re... | 25.126582 | 103 | 0.451889 |
2d43a11f0e4f049caa1b57f6dc75ec43c2c3bec4 | 1,007 | css | CSS | 37/styles.css | andyjakubowski/visual-explorations | 02500fdbc652aa65043bd00764a6f3dfc22fab53 | [
"MIT"
] | 2 | 2021-12-23T11:11:33.000Z | 2022-03-07T03:19:20.000Z | 37/styles.css | andyjakubowski/visual-explorations | 02500fdbc652aa65043bd00764a6f3dfc22fab53 | [
"MIT"
] | 3 | 2022-02-14T02:02:17.000Z | 2022-02-19T07:16:44.000Z | 38/styles.css | andyjakubowski/visual-explorations | 02500fdbc652aa65043bd00764a6f3dfc22fab53 | [
"MIT"
] | null | null | null | * {
outline: 1px solid hsla(0, 0%, 50%, 50%);
}
:root {
height: 100vh;
background: thistle;
}
body {
margin: 0;
height: 100%;
/* background: white; */
}
.container {
width: 800px;
height: 300px;
background: white;
}
.v-stack {
min-width: 0;
min-height: 0;
align-self: stretch;
display: flex... | 13.426667 | 52 | 0.599801 |
5e766266da7802d4f39bb401a477d23cc6e5b454 | 430 | rb | Ruby | spec/target_spec.rb | ifreecarve/vivisector | 67f5530c86647c9d6e49a67ff74f579b1e83c5fd | [
"Apache-2.0"
] | null | null | null | spec/target_spec.rb | ifreecarve/vivisector | 67f5530c86647c9d6e49a67ff74f579b1e83c5fd | [
"Apache-2.0"
] | null | null | null | spec/target_spec.rb | ifreecarve/vivisector | 67f5530c86647c9d6e49a67ff74f579b1e83c5fd | [
"Apache-2.0"
] | null | null | null | require 'prism_qa'
RSpec.describe PrismQA::Target, "#init" do
context "when initialized and populated" do
it "retains values" do
target = PrismQA::Target.new
expect(target.name).to eq nil
expect(target.attribute).to eq nil
target.name = "my_name"
target.attribute = "my attribute"
... | 26.875 | 51 | 0.669767 |
ff4320db5bd1ccf8a20540f20fece0a392103ce4 | 203 | py | Python | exo2/test_file.py | natoutatou/seatech-poo-python-robotics | 711988b3a0affcf9aa1234e97a35654d563b18d1 | [
"MIT"
] | null | null | null | exo2/test_file.py | natoutatou/seatech-poo-python-robotics | 711988b3a0affcf9aa1234e97a35654d563b18d1 | [
"MIT"
] | null | null | null | exo2/test_file.py | natoutatou/seatech-poo-python-robotics | 711988b3a0affcf9aa1234e97a35654d563b18d1 | [
"MIT"
] | null | null | null | from exo2_starter_template import Cyborg
from robot import Robot
from human import Human
h = Human('femme')
h.eat(['banane', 'chocolaaat', 'petit ecolier'])
print(h.estomac)
h.eat(['pizza', 'pizza']) | 22.555556 | 48 | 0.724138 |
6f2ff837cade58a32d5c6055db6f6bc0f7dc7cad | 1,560 | sql | SQL | examples/minitwit/minitwit/population.sql | SwatiSah00/flask_2 | cc1c1d81c49effb5f3b67590d25295320b867ab5 | [
"BSD-3-Clause"
] | null | null | null | examples/minitwit/minitwit/population.sql | SwatiSah00/flask_2 | cc1c1d81c49effb5f3b67590d25295320b867ab5 | [
"BSD-3-Clause"
] | null | null | null | examples/minitwit/minitwit/population.sql | SwatiSah00/flask_2 | cc1c1d81c49effb5f3b67590d25295320b867ab5 | [
"BSD-3-Clause"
] | null | null | null | INSERT INTO user (username, email, pw_hash)
VALUES ('swati', 'swati@gmail.com', 'pbkdf2:sha256:50000$K44zojNm$aad044ee1a5c1be1eb3bfdf4af2f370717519669c5cb8e5e48e7131229553c2b');
INSERT INTO user (username, email, pw_hash)
VALUES ('sachin', 'sachin@gmail.com', 'pbkdf2:sha256:50000$K44zojNm$aad044ee1a5c1be1eb3bfdf4af2f3... | 33.913043 | 135 | 0.784615 |
7f93b87d3963fdfc8bf888e83c5ec3a2a4a52754 | 439 | kt | Kotlin | seouling/src/main/java/mobile/seouling/com/application/data/db/PlanDao.kt | thisishoonlee/seouling-android | 7c7cfbf3170856546d5b0b804a37b642c222214a | [
"Apache-2.0"
] | null | null | null | seouling/src/main/java/mobile/seouling/com/application/data/db/PlanDao.kt | thisishoonlee/seouling-android | 7c7cfbf3170856546d5b0b804a37b642c222214a | [
"Apache-2.0"
] | null | null | null | seouling/src/main/java/mobile/seouling/com/application/data/db/PlanDao.kt | thisishoonlee/seouling-android | 7c7cfbf3170856546d5b0b804a37b642c222214a | [
"Apache-2.0"
] | null | null | null | package mobile.seouling.com.application.data.db
import androidx.paging.DataSource
import androidx.room.Dao
import androidx.room.Query
import io.reactivex.Flowable
import mobile.seouling.com.application.data.vo.Plan
@Dao
interface PlanDao : BaseDao<Plan>
{
@Query("SELECT * FROM plans")
fun getPlans() : Flowabl... | 25.823529 | 68 | 0.763098 |
406a7c0fea3b0b594e1ee02917eb5c53ba3b19d4 | 915 | ts | TypeScript | src/app/@core/stores/user.store.ts | akania93/RecruitmentApp-Properly | 4b8b473701b4d046d5ac8ae67535c4f7487b6e6a | [
"MIT"
] | null | null | null | src/app/@core/stores/user.store.ts | akania93/RecruitmentApp-Properly | 4b8b473701b4d046d5ac8ae67535c4f7487b6e6a | [
"MIT"
] | null | null | null | src/app/@core/stores/user.store.ts | akania93/RecruitmentApp-Properly | 4b8b473701b4d046d5ac8ae67535c4f7487b6e6a | [
"MIT"
] | null | null | null | import { Injectable } from '@angular/core';
import { BehaviorSubject } from 'rxjs';
import { share } from 'rxjs/operators';
import { User } from '../interfaces/common/users';
@Injectable({
providedIn: 'root',
})
export class UserStore {
private user: User;
protected userState$ = new BehaviorSubject<User>(undefin... | 20.795455 | 62 | 0.642623 |
44b950fa188899bd4b68fab53897592ede577865 | 647 | sh | Shell | bin/check_sync_gspan_class.sh | asangphukieo/GraphProt | 1ce3db40e30ebd9442203dbf8c05aa0e72ffe170 | [
"MIT"
] | 11 | 2017-09-27T16:05:06.000Z | 2022-01-18T09:07:16.000Z | bin/check_sync_gspan_class.sh | asangphukieo/GraphProt | 1ce3db40e30ebd9442203dbf8c05aa0e72ffe170 | [
"MIT"
] | 6 | 2018-11-22T15:52:50.000Z | 2022-01-15T07:50:58.000Z | bin/check_sync_gspan_class.sh | asangphukieo/GraphProt | 1ce3db40e30ebd9442203dbf8c05aa0e72ffe170 | [
"MIT"
] | 3 | 2019-09-04T10:09:58.000Z | 2020-11-15T20:52:43.000Z | #!/usr/bin/env bash
[ $# -ne 2 ] && echo "Usage: $(basename $0) GSPAN.gz class" && echo "Instead of: $(basename $0) $*" && exit 1
# this skript will check if the class file and the (gzipped) gspan are in sync
# iE if the number of lines in the class file matches the number of graphs
# (regexp '^t') in the gspan fil... | 32.35 | 131 | 0.658423 |
2555654a477c0292f3e134726c6e8e3986f3c5fc | 4,102 | cs | C# | unittest-ddd/Dataset/BaseDataSet.cs | mapdojo/SQLServerSpatialTools | 9bdfcddae1baacef91905b898b2e8a2334aa2f20 | [
"MS-PL"
] | 39 | 2019-06-27T07:44:24.000Z | 2022-03-29T09:14:59.000Z | unittest-ddd/Dataset/BaseDataSet.cs | mapdojo/SQLServerSpatialTools | 9bdfcddae1baacef91905b898b2e8a2334aa2f20 | [
"MS-PL"
] | 7 | 2019-06-27T16:05:14.000Z | 2022-03-24T18:25:39.000Z | unittest-ddd/Dataset/BaseDataSet.cs | mapdojo/SQLServerSpatialTools | 9bdfcddae1baacef91905b898b2e8a2334aa2f20 | [
"MS-PL"
] | 19 | 2019-05-21T22:37:18.000Z | 2022-02-16T00:31:16.000Z | //------------------------------------------------------------------------------
// Copyright (c) 2019 Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
using System;
using System.Globalization;
namespace SQLSpatialTools.UnitTests.DDD
{
p... | 40.613861 | 136 | 0.587518 |
2faab8a47f14e1e80ef9778047cb061953ec9fa6 | 357 | py | Python | Meus_dessafios/Exercicios2021/ex109/testes.py | DiegoSilvaHoffmann/Curso-de-Python | 62824bbd3ed42b256fda77acd49536ec7cf23b29 | [
"MIT"
] | null | null | null | Meus_dessafios/Exercicios2021/ex109/testes.py | DiegoSilvaHoffmann/Curso-de-Python | 62824bbd3ed42b256fda77acd49536ec7cf23b29 | [
"MIT"
] | null | null | null | Meus_dessafios/Exercicios2021/ex109/testes.py | DiegoSilvaHoffmann/Curso-de-Python | 62824bbd3ed42b256fda77acd49536ec7cf23b29 | [
"MIT"
] | null | null | null | from ex109 import moeda
valor = float(input('Informe um valor: R$'))
print(f'A metade de {moeda.moeda(valor)}, é {moeda.metade(valor, True)}.')
print(f'O dobro de {moeda.moeda(valor)}, é {moeda.dobro(valor, True)}.')
print(f'Com aumento de 10%, fica {moeda.aumentar(valor, 10, True)}.')
print(f'Com 15% de desconto, fica... | 51 | 74 | 0.691877 |
da687d2f635648bc6da19f5fe42253e28eaf854a | 780 | php | PHP | console/controllers/JdController.php | jellywen2017/jelly | 79ba05f895417862fddf32f3abdb817399a1363c | [
"BSD-3-Clause"
] | null | null | null | console/controllers/JdController.php | jellywen2017/jelly | 79ba05f895417862fddf32f3abdb817399a1363c | [
"BSD-3-Clause"
] | null | null | null | console/controllers/JdController.php | jellywen2017/jelly | 79ba05f895417862fddf32f3abdb817399a1363c | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace console\controllers;
use Yii;
use common\helpers\AppAlarmHelper;
use Curl\Curl;
class JdController extends BaseMongoController {
public function actionDegree(){
$params = [
'source'=>'smartH5',
];
$curl = new Curl();
$curl->post('https://ms.jr.jd.co... | 25.16129 | 88 | 0.571795 |
2c5f7ea4c68c24ffc532cde965d12f210b74f55e | 144 | py | Python | LearningPython/MOOC's/generator.py | bk211/fac | 9d74875561f60978d2c39af3d5e97605d21c0cc9 | [
"MIT"
] | 1 | 2018-11-21T10:56:09.000Z | 2018-11-21T10:56:09.000Z | LearningPython/MOOC's/generator.py | bk211/fac | 9d74875561f60978d2c39af3d5e97605d21c0cc9 | [
"MIT"
] | null | null | null | LearningPython/MOOC's/generator.py | bk211/fac | 9d74875561f60978d2c39af3d5e97605d21c0cc9 | [
"MIT"
] | 1 | 2021-12-04T20:31:36.000Z | 2021-12-04T20:31:36.000Z | import os
L1=['Hello','World',18,'Apple',None]
L2=[]
for elem in L1:
if isinstance(elem,str):
elem=elem.lower()
L2.append(elem)
print(L2) | 18 | 36 | 0.659722 |
446ad1725a02f39cea3544cd2cc7cb25830461aa | 543 | py | Python | algorithms/word-pattern.py | Chronoviser/leetcode-1 | 65ee0504d64c345f822f216fef6e54dd62b8f858 | [
"MIT"
] | 41 | 2018-07-03T07:35:30.000Z | 2021-09-25T09:33:43.000Z | algorithms/word-pattern.py | Chronoviser/leetcode-1 | 65ee0504d64c345f822f216fef6e54dd62b8f858 | [
"MIT"
] | 2 | 2018-07-23T10:50:11.000Z | 2020-10-06T07:34:29.000Z | algorithms/word-pattern.py | Chronoviser/leetcode-1 | 65ee0504d64c345f822f216fef6e54dd62b8f858 | [
"MIT"
] | 7 | 2018-07-06T13:43:18.000Z | 2020-10-06T02:29:57.000Z | class Solution:
def wordPattern(self, pattern, str):
"""
:type pattern: str
:type str: str
:rtype: bool
"""
words = str.split(' ')
if len(pattern) != len(words) or len(set(pattern)) != len(set(words)):
return False
d = dict()
for i... | 25.857143 | 78 | 0.464088 |
23e7c9bffd30375a030689f6a3a17b4d1cdf1c0d | 896 | js | JavaScript | src/Storefront/Resources/app/administration/src/modules/sw-settings-storefront/index.js | michielkalle/platform | 72987304b01c1c666c7ac2896ac4157f2e1468c1 | [
"MIT"
] | null | null | null | src/Storefront/Resources/app/administration/src/modules/sw-settings-storefront/index.js | michielkalle/platform | 72987304b01c1c666c7ac2896ac4157f2e1468c1 | [
"MIT"
] | null | null | null | src/Storefront/Resources/app/administration/src/modules/sw-settings-storefront/index.js | michielkalle/platform | 72987304b01c1c666c7ac2896ac4157f2e1468c1 | [
"MIT"
] | null | null | null | import './page/sw-settings-storefront-index';
import './component/sw-settings-storefront-configuration';
Shopware.Module.register('sw-settings-storefront', {
type: 'core',
name: 'sw-settings-storefront',
title: 'sw-settings-storefront.general.mainMenuItemGeneral',
description: 'sw-settings-storefront.g... | 28.903226 | 64 | 0.59933 |
b0d7ce4547ac5598b413cb9d8a37795fb0c37c78 | 6,618 | py | Python | contrail-openstack/hooks/contrail_openstack_hooks.py | hashnfv/hashnfv-ovno | 12a817571140fcb2531112b894ad37fbfffd44c6 | [
"Apache-2.0"
] | null | null | null | contrail-openstack/hooks/contrail_openstack_hooks.py | hashnfv/hashnfv-ovno | 12a817571140fcb2531112b894ad37fbfffd44c6 | [
"Apache-2.0"
] | null | null | null | contrail-openstack/hooks/contrail_openstack_hooks.py | hashnfv/hashnfv-ovno | 12a817571140fcb2531112b894ad37fbfffd44c6 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import json
from subprocess import CalledProcessError, check_output
import sys
import uuid
from charmhelpers.core.hookenv import (
Hooks,
UnregisteredHookError,
config,
log,
related_units,
relation_get,
relation_ids,
relation_set,
status_set,
leader_get,
... | 27.347107 | 78 | 0.654125 |
7486ae77cc25109730041763b5de0e775f715b65 | 1,027 | h | C | include/jet/points_to_implicit3.h | PavelBlend/fluid-engine-dev | 45b4bdbdb4c6d8c0beebc682180469198203b0ef | [
"MIT"
] | 1,355 | 2016-05-08T07:29:22.000Z | 2022-03-30T13:59:35.000Z | include/jet/points_to_implicit3.h | Taiyuan-Zhang/fluid-engine-dev | 45b4bdbdb4c6d8c0beebc682180469198203b0ef | [
"MIT"
] | 208 | 2016-05-25T19:47:27.000Z | 2022-01-17T04:18:29.000Z | include/jet/points_to_implicit3.h | Taiyuan-Zhang/fluid-engine-dev | 45b4bdbdb4c6d8c0beebc682180469198203b0ef | [
"MIT"
] | 218 | 2016-08-23T16:51:10.000Z | 2022-03-31T03:55:48.000Z | // Copyright (c) 2018 Doyub Kim
//
// I am making my contributions/submissions to this project solely in my
// personal capacity and am not conveying any rights to any intellectual
// property of any third parties.
#ifndef INCLUDE_JET_POINTS_TO_IMPLICIT3_H_
#define INCLUDE_JET_POINTS_TO_IMPLICIT3_H_
#include <jet/arr... | 27.026316 | 72 | 0.744888 |
6d91cacb9a23cd502a916b5f4866bdd83e062f9c | 46 | ts | TypeScript | js/solid/cis-alarm-snooze.d.ts | reesretuta/dropshipping-icons | c4b4f40959b1e44abaacd86981b9a896b121f419 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | js/solid/cis-alarm-snooze.d.ts | reesretuta/dropshipping-icons | c4b4f40959b1e44abaacd86981b9a896b121f419 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | js/solid/cis-alarm-snooze.d.ts | reesretuta/dropshipping-icons | c4b4f40959b1e44abaacd86981b9a896b121f419 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | export declare const cisAlarmSnooze: string[]; | 46 | 46 | 0.826087 |
a378a10d3ccc7ef2c2627979d317633e43226955 | 690 | ts | TypeScript | node_modules/@types/gulp-protractor/index.d.ts | daliyajohn/Angular-2-EventEmitter- | c453ebfe43ac1d93a7e4befb4fea0576c2830f7b | [
"MIT"
] | 1 | 2019-02-21T16:29:27.000Z | 2019-02-21T16:29:27.000Z | node_modules/@types/gulp-protractor/index.d.ts | daliyajohn/Angular-2-EventEmitter- | c453ebfe43ac1d93a7e4befb4fea0576c2830f7b | [
"MIT"
] | null | null | null | node_modules/@types/gulp-protractor/index.d.ts | daliyajohn/Angular-2-EventEmitter- | c453ebfe43ac1d93a7e4befb4fea0576c2830f7b | [
"MIT"
] | null | null | null | // Type definitions for gulp-protractor v1.0.0
// Project: https://github.com/mllrsohn/gulp-protractor
// Definitions by: Tanguy Krotoff <https://github.com/tkrotoff>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
import gulp = require('gulp');
interface IO... | 27.6 | 67 | 0.713043 |
a350ec52e8c952d6262bea3b3c264d8eb613ec46 | 232 | sql | SQL | migrations/selection.sql | NYCPlanning/labs-factfinder-api | 6270ec2001df79b3903adcdd8388d3f04e434c65 | [
"CC0-1.0"
] | 5 | 2018-02-25T14:22:37.000Z | 2021-12-13T19:17:51.000Z | migrations/selection.sql | NYCPlanning/labs-factfinder-api | 6270ec2001df79b3903adcdd8388d3f04e434c65 | [
"CC0-1.0"
] | 65 | 2018-02-07T00:28:29.000Z | 2021-09-29T19:38:17.000Z | migrations/selection.sql | NYCPlanning/labs-factfinder-api | 6270ec2001df79b3903adcdd8388d3f04e434c65 | [
"CC0-1.0"
] | 1 | 2018-02-09T02:43:34.000Z | 2018-02-09T02:43:34.000Z | /*
This will be used to store custom geography selections
*/
CREATE TABLE IF NOT EXISTS selection (
geotype text CHECK(geotype IN ('blocks','tracts','ntas','cdtas','boroughs','districts')),
geoids text[],
hash text PRIMARY KEY
); | 29 | 90 | 0.724138 |
445c41d4d16acaed9fc0c9b7806c12251a2a36a6 | 4,262 | py | Python | generateReport.py | ravdeep9530/MB_bathroom_v0.2 | 6051e0ea567acba6f3a6bca0ae405504cce67c1b | [
"MIT"
] | null | null | null | generateReport.py | ravdeep9530/MB_bathroom_v0.2 | 6051e0ea567acba6f3a6bca0ae405504cce67c1b | [
"MIT"
] | 2 | 2021-05-08T21:02:22.000Z | 2021-09-01T05:24:40.000Z | generateReport.py | ravdeep9530/MB_bathroom_v0.2 | 6051e0ea567acba6f3a6bca0ae405504cce67c1b | [
"MIT"
] | null | null | null | import sched, time
import os
import datetime
import smtplib
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.mime.base import MIMEBase
from email import encoders
from sqlConn import con
import asyncio
import pymysql
email_template = []
def send_report(filename=""):
... | 30.22695 | 122 | 0.566635 |
be463d334d2dfc8524e2ca604c0ab33e1fa71d4f | 166 | ts | TypeScript | styles/chakra-override/foundations/breakpoints.ts | elliehamilton3/commerce | 176823abbeb03e659c877f3009193b4e32fe72a6 | [
"MIT"
] | null | null | null | styles/chakra-override/foundations/breakpoints.ts | elliehamilton3/commerce | 176823abbeb03e659c877f3009193b4e32fe72a6 | [
"MIT"
] | null | null | null | styles/chakra-override/foundations/breakpoints.ts | elliehamilton3/commerce | 176823abbeb03e659c877f3009193b4e32fe72a6 | [
"MIT"
] | null | null | null | import { createBreakpoints } from '@chakra-ui/theme-tools'
export const breakpoints = createBreakpoints({
sm: '30em',
md: '48em',
lg: '62em',
xl: '75em',
})
| 18.444444 | 58 | 0.650602 |
20094c47e74b93f6f603fe2bb16d0d6763b59087 | 4,871 | py | Python | examples/lib/code.py | tmontes/ppytty | 2c4e4965c8e9914fc9a17017457cdbf428d6b6e7 | [
"MIT"
] | 1 | 2018-05-23T19:39:47.000Z | 2018-05-23T19:39:47.000Z | examples/lib/code.py | tmontes/ppytty | 2c4e4965c8e9914fc9a17017457cdbf428d6b6e7 | [
"MIT"
] | 85 | 2018-06-23T17:28:14.000Z | 2018-08-14T13:48:38.000Z | examples/lib/code.py | tmontes/ppytty | 2c4e4965c8e9914fc9a17017457cdbf428d6b6e7 | [
"MIT"
] | null | null | null |
import os
from ppytty import SlideDeck, Slide, SlideTemplate, Text, Code
Text.padding = Code.padding = (1, 2)
SlideTemplate.widgets = [
Text(
text='Code Widget Test {slide_number}/{slide_count} | {slide_title}',
use_context=True,
geometry=dict(x=0, y=0, w=1.0, h=3),
)
]
SlideTempla... | 24.852041 | 93 | 0.551632 |
2cbf9f2ebfef40a0d2877d965b5d8e83b2bb34fd | 114 | sh | Shell | sources/Scripts/and.sh | alexeyhripunov/SurfCustomCalabash | 770c0aead62ae627b8f0ca37d98915292cfaf105 | [
"MIT"
] | 5 | 2019-03-01T12:09:23.000Z | 2020-07-09T10:37:36.000Z | sources/Scripts/and.sh | alexeyhripunov/SurfCustomCalabash | 770c0aead62ae627b8f0ca37d98915292cfaf105 | [
"MIT"
] | 1 | 2020-05-14T14:57:12.000Z | 2020-07-29T09:26:38.000Z | sources/Scripts/and.sh | alexeyhripunov/SurfCustomCalabash | 770c0aead62ae627b8f0ca37d98915292cfaf105 | [
"MIT"
] | 1 | 2020-02-19T10:25:39.000Z | 2020-02-19T10:25:39.000Z | #!/bin/bash
echo "===== RUNNING TEST SUITE ANDROID====================="
calabash-android run L.apk -p android
| 19 | 60 | 0.561404 |
5485ed87203045e4f7c4dda593a17114f4f29142 | 315 | h | C | src/kits/debugger/private/ids/LocalVariableID.h | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | 3 | 2018-05-21T15:32:32.000Z | 2019-03-21T13:34:55.000Z | src/kits/debugger/private/ids/LocalVariableID.h | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | null | null | null | src/kits/debugger/private/ids/LocalVariableID.h | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | null | null | null | /*
* Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
* Distributed under the terms of the MIT License.
*/
#ifndef LOCAL_VARIABLE_ID_H
#define LOCAL_VARIABLE_ID_H
#include <ObjectID.h>
class LocalVariableID : public ObjectID {
public:
virtual ~LocalVariableID();
};
#endif // LOCAL_VARIABLE_ID_H
| 16.578947 | 55 | 0.742857 |
8ec01d4b6eb5a03c3e0fc6ac3346ea3df35449cd | 92 | js | JavaScript | jspm_packages/github/eligrey/FileSaver.js@master.js | jsdelivrbot/project-cms | 4a203b9b0317443a92fcdc52afe00afacc2a80ad | [
"MIT"
] | null | null | null | jspm_packages/github/eligrey/FileSaver.js@master.js | jsdelivrbot/project-cms | 4a203b9b0317443a92fcdc52afe00afacc2a80ad | [
"MIT"
] | null | null | null | jspm_packages/github/eligrey/FileSaver.js@master.js | jsdelivrbot/project-cms | 4a203b9b0317443a92fcdc52afe00afacc2a80ad | [
"MIT"
] | 1 | 2018-12-09T15:14:03.000Z | 2018-12-09T15:14:03.000Z | define(["github:eligrey/FileSaver.js@master/FileSaver"], function(main) {
return main;
}); | 30.666667 | 73 | 0.728261 |
e0445041cc825d76335ebbb832dc77cb1d6497d9 | 2,278 | c | C | src/tanh.c | adimehta03/cDNN | 75425e01d7948c51b9dcae0524a80d6e3ccdd424 | [
"MIT"
] | 12 | 2021-04-17T06:29:03.000Z | 2021-12-14T04:51:12.000Z | src/tanh.c | adimehta03/cDNN | 75425e01d7948c51b9dcae0524a80d6e3ccdd424 | [
"MIT"
] | null | null | null | src/tanh.c | adimehta03/cDNN | 75425e01d7948c51b9dcae0524a80d6e3ccdd424 | [
"MIT"
] | 4 | 2021-04-17T06:38:42.000Z | 2021-08-15T12:46:42.000Z | #include <cdnn/activations.h>
#include <cdnn/model.h>
extern __Model__ * m;
dARRAY * forward_pass_tanh(){
dARRAY * tanh_out = (dARRAY*)malloc(sizeof(dARRAY));
tanh_out->matrix = (float*)calloc(m->current_layer->DENSE->cache->shape[0]*m->current_layer->DENSE->cache->shape[1],sizeof(float));
omp_set_num_threads(8... | 39.964912 | 133 | 0.678227 |
b02e8d705f4433a8a8c345556bf727f88bf3da10 | 715 | py | Python | django_attachments/fields.py | mireq/django-attachments | 53060499e931723ac510a42dd7ac72addbbdf653 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2020-02-08T02:43:15.000Z | 2020-02-08T02:43:15.000Z | django_attachments/fields.py | mireq/django-attachments | 53060499e931723ac510a42dd7ac72addbbdf653 | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2020-06-05T17:38:51.000Z | 2021-04-30T08:28:39.000Z | django_attachments/fields.py | mireq/django-attachments | 53060499e931723ac510a42dd7ac72addbbdf653 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | # -*- coding: utf-8 -*-
from django import forms
from django.db import models
class LibraryFormField(forms.ModelChoiceField):
pass
class GalleryFormField(LibraryFormField):
pass
class LibraryField(models.ForeignKey):
description = "Attachments"
def __init__(self, to='django_attachments.Library', *args, **kwa... | 21.666667 | 70 | 0.73986 |
a1988502dd0d56010e5d2a01c9e60cd0fd2b09ed | 7,670 | ts | TypeScript | src/pages/everydaymeal/everydaymeal.ts | mlesterdampios/diet_plan | 14597d605cda830ae2949c22310371d2600b141f | [
"MIT"
] | null | null | null | src/pages/everydaymeal/everydaymeal.ts | mlesterdampios/diet_plan | 14597d605cda830ae2949c22310371d2600b141f | [
"MIT"
] | 1 | 2021-03-09T11:45:17.000Z | 2021-03-09T11:45:17.000Z | src/pages/everydaymeal/everydaymeal.ts | mlesterdampios/diet_plan | 14597d605cda830ae2949c22310371d2600b141f | [
"MIT"
] | null | null | null | import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams, LoadingController, ToastController } from 'ionic-angular';
import { Http } from '@angular/http';
import { Storage } from '@ionic/storage';
/**
* Generated class for the EverydaymealPage page.
*
* See https://ionicframework.com/d... | 33.060345 | 192 | 0.5206 |
641c27704ffafbc884aa012bc64dffbb6ef084ca | 1,417 | py | Python | pymento_meg/version.py | adswa/pymento | 17182124a9b917365b181bf7936f290f16a9105c | [
"MIT"
] | null | null | null | pymento_meg/version.py | adswa/pymento | 17182124a9b917365b181bf7936f290f16a9105c | [
"MIT"
] | null | null | null | pymento_meg/version.py | adswa/pymento | 17182124a9b917365b181bf7936f290f16a9105c | [
"MIT"
] | null | null | null | import sys
from os.path import lexists, dirname, join as opj, curdir
__version__ = "0.0.12"
__hardcoded_version__ = __version__
__full_version__ = __version__
moddir = dirname(__file__)
projdir = curdir if moddir == "datalad" else dirname(moddir)
if lexists(opj(projdir, ".git")):
# If under git -- attempt to ded... | 36.333333 | 85 | 0.622442 |
6ac24d812a713c337d7a3a186cfe81e7bd83bb1c | 266 | sh | Shell | av_library/init-ffmpeg.sh | JeffMony/JianYing | 4e7dba98a29987a4118ac9a5bebcae7c5dba2f2f | [
"Apache-2.0"
] | 12 | 2021-08-06T01:19:08.000Z | 2022-03-28T10:38:45.000Z | av_library/init-ffmpeg.sh | JeffMony/JianYing | 4e7dba98a29987a4118ac9a5bebcae7c5dba2f2f | [
"Apache-2.0"
] | null | null | null | av_library/init-ffmpeg.sh | JeffMony/JianYing | 4e7dba98a29987a4118ac9a5bebcae7c5dba2f2f | [
"Apache-2.0"
] | 2 | 2021-08-23T07:11:03.000Z | 2021-12-19T14:20:51.000Z | #!/bin/bash
# download ffmpeg source
FFMPEG_UPSTREAM=https://github.com/FFmpeg/FFmpeg
TAG_NAME=n4.0.3
CUR_DIR=$(pwd)
SOURCE_DIR=${CUR_DIR}/sources/ffmpeg
git clone ${FFMPEG_UPSTREAM} ${SOURCE_DIR}
cd ${SOURCE_DIR}
git checkout -b ${TAG_NAME} ${TAG_NAME}
cd - | 14.777778 | 48 | 0.733083 |
f3d2972690b5dc32e76fd3038e0b011b6fd70127 | 4,889 | swift | Swift | Sources/PCBasicCurrentUser.swift | sharezieapp/chatkit-swift | c8708eb98c146abf57112b1fa8a5737ab1dc8bad | [
"MIT"
] | 43 | 2017-09-18T15:34:49.000Z | 2021-03-26T06:26:34.000Z | Sources/PCBasicCurrentUser.swift | sharezieapp/chatkit-swift | c8708eb98c146abf57112b1fa8a5737ab1dc8bad | [
"MIT"
] | 150 | 2017-09-15T14:33:43.000Z | 2020-04-02T14:37:57.000Z | Sources/PCBasicCurrentUser.swift | sharezieapp/chatkit-swift | c8708eb98c146abf57112b1fa8a5737ab1dc8bad | [
"MIT"
] | 21 | 2017-11-27T05:55:54.000Z | 2021-11-11T03:17:21.000Z | import Foundation
import PusherPlatform
public final class PCBasicCurrentUser {
public let id: String
public let pathFriendlyID: String
let userStore: PCGlobalUserStore
let roomStore: PCRoomStore
let cursorStore: PCCursorStore
public internal(set) var userSubscription: PCUserSubscription?
... | 36.214815 | 148 | 0.644304 |
4391db2ff8c1938806efcac5825d5100b16bb8e7 | 28,062 | ts | TypeScript | src/application-bot.ts | ashdoesdev/ApplicationBot | d8bf37a835f4a06956179b5e50ee2d59fb4b2277 | [
"MIT"
] | null | null | null | src/application-bot.ts | ashdoesdev/ApplicationBot | d8bf37a835f4a06956179b5e50ee2d59fb4b2277 | [
"MIT"
] | null | null | null | src/application-bot.ts | ashdoesdev/ApplicationBot | d8bf37a835f4a06956179b5e50ee2d59fb4b2277 | [
"MIT"
] | null | null | null | import { Client, Collection, GuildMember, Message, RichEmbed, TextChannel } from 'discord.js';
import * as fs from 'fs';
import { setTimeout } from 'timers';
import { AlreadyAppliedEmbed } from './Embeds/already-applied.embed';
import { ApplicationAcceptedEmbed } from './Embeds/application-accepted.embed';
import { Ap... | 53.147727 | 334 | 0.638443 |
93d5342b9cd805103ef4b6b3b360c0da891401de | 638 | cs | C# | Src/Modules/Users/Divstack.Company.Estimation.Tool.Users.Api/UsersModule.cs | kamilbaczek/estimation-tool | d4a2c2b112c2b830ba067dc69776deaccf752435 | [
"MIT"
] | 1 | 2021-06-24T15:13:21.000Z | 2021-06-24T15:13:21.000Z | Src/Modules/Users/Divstack.Company.Estimation.Tool.Users.Api/UsersModule.cs | kamilbaczek/estimations-tool | d4a2c2b112c2b830ba067dc69776deaccf752435 | [
"MIT"
] | null | null | null | Src/Modules/Users/Divstack.Company.Estimation.Tool.Users.Api/UsersModule.cs | kamilbaczek/estimations-tool | d4a2c2b112c2b830ba067dc69776deaccf752435 | [
"MIT"
] | null | null | null | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Divstack.Company.Estimation.Tool.Bootstrapper")]
namespace Divstack.Company.Estimation.Tool.Users.Api;
using Application.Authentication;
using Infrastructure;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjectio... | 29 | 115 | 0.804075 |
20238cc7e7763b6f125cdf027c53c3faa0730e46 | 35,908 | swift | Swift | GNImageCollection/GNImageCollection.swift | nicolaouG/GNImageCollection | d587649a2bc723c074d151abd8b9b2f727fcc1b0 | [
"MIT"
] | null | null | null | GNImageCollection/GNImageCollection.swift | nicolaouG/GNImageCollection | d587649a2bc723c074d151abd8b9b2f727fcc1b0 | [
"MIT"
] | null | null | null | GNImageCollection/GNImageCollection.swift | nicolaouG/GNImageCollection | d587649a2bc723c074d151abd8b9b2f727fcc1b0 | [
"MIT"
] | null | null | null | //
// GNImageCollection.swift
// GNImageCollection
//
// Created by george on 08/04/2020.
// Copyright © 2020 George Nicolaou. All rights reserved.
//
import UIKit
public class GNImageCollection: UICollectionViewController, UICollectionViewDelegateFlowLayout {
enum Identifiers: String {
case cell = "I... | 37.997884 | 259 | 0.630528 |
dba3dfaf6ef77c97cb2f145544a9b415b4811c52 | 92 | php | PHP | hphp/test/zend/good/ext/iconv/tests/iconv_mime_decode_headers-charset-length-cve-2007-4840.php | radford/hhvm | a7cd6754d14742b40528c847b607a1608cfcfe98 | [
"PHP-3.01",
"Zend-2.0"
] | 344 | 2015-01-07T16:28:24.000Z | 2022-03-25T14:48:56.000Z | hphp/test/zend/good/ext/iconv/tests/iconv_mime_decode_headers-charset-length-cve-2007-4840.php | radford/hhvm | a7cd6754d14742b40528c847b607a1608cfcfe98 | [
"PHP-3.01",
"Zend-2.0"
] | 21 | 2015-02-02T22:50:45.000Z | 2017-09-24T21:22:30.000Z | hphp/test/zend/good/ext/iconv/tests/iconv_mime_decode_headers-charset-length-cve-2007-4840.php | radford/hhvm | a7cd6754d14742b40528c847b607a1608cfcfe98 | [
"PHP-3.01",
"Zend-2.0"
] | 95 | 2015-01-01T00:06:47.000Z | 2021-06-15T07:03:42.000Z | <?php
$a = str_repeat("/", 9000000);
var_dump(iconv_mime_decode_headers("a", null, $a));
?>
| 18.4 | 51 | 0.652174 |
180f391f15593202ca762b51b1975e63629487bb | 1,093 | swift | Swift | BeautifulLunaSmile/TypesAndExtensions/NetworkError.swift | Mosquito1123/BeautifulMoonSmile | 37e863c9a09e1b8a1ac9ded863cfa54682da4593 | [
"BSD-2-Clause"
] | null | null | null | BeautifulLunaSmile/TypesAndExtensions/NetworkError.swift | Mosquito1123/BeautifulMoonSmile | 37e863c9a09e1b8a1ac9ded863cfa54682da4593 | [
"BSD-2-Clause"
] | null | null | null | BeautifulLunaSmile/TypesAndExtensions/NetworkError.swift | Mosquito1123/BeautifulMoonSmile | 37e863c9a09e1b8a1ac9ded863cfa54682da4593 | [
"BSD-2-Clause"
] | null | null | null | //
// NetworkError.swift
// BeautifulLunaSmile
//
// Created by Mosquito1123 on 13/07/2019.
// Copyright © 2019 Cranberry. All rights reserved.
//
import Foundation
public enum NetworkError: Error {
case badStatusCode(statusCode: Int)
case badResponse
case badJSON
case noData
case offline
... | 28.763158 | 88 | 0.645014 |
41d03cf2cc6773dccea1d58423b3057b473c57b9 | 847 | lua | Lua | model/data/spells/Makarakarn.lua | Zaltu/personax-lua-src | 190fc200ee978892cfc0a21e816839910064ccfa | [
"MIT"
] | 1 | 2019-02-08T22:13:37.000Z | 2019-02-08T22:13:37.000Z | model/data/spells/Makarakarn.lua | Zaltu/personax-lua-src | 190fc200ee978892cfc0a21e816839910064ccfa | [
"MIT"
] | null | null | null | model/data/spells/Makarakarn.lua | Zaltu/personax-lua-src | 190fc200ee978892cfc0a21e816839910064ccfa | [
"MIT"
] | null | null | null | local spell = {}
spell["element"] = [[Support]]
spell["cost"] = 55
spell["desc"] = [[Repels the next magical attack back towards the enemy]]
spell["target"] = [[One Ally]]
spell["name"] = [[Makarakarn]]
spell["costtype"] = [[SP]]
spell["blurb"] = [[ has a magical shield!]]
function spell.activate()
state.context.c... | 32.576923 | 146 | 0.689492 |
8344b7bec5f3201aad7dc58b3e06b9b6b3262638 | 6,592 | ts | TypeScript | test/controllers/userController.test.ts | PRIV00/boilerplate-api | 2875c72756964a05ce6121316697f14d5acb0072 | [
"MIT"
] | null | null | null | test/controllers/userController.test.ts | PRIV00/boilerplate-api | 2875c72756964a05ce6121316697f14d5acb0072 | [
"MIT"
] | null | null | null | test/controllers/userController.test.ts | PRIV00/boilerplate-api | 2875c72756964a05ce6121316697f14d5acb0072 | [
"MIT"
] | null | null | null | import { expect } from "chai";
import { Request, Response } from "express";
import { createUser, updateUser, getUser, deleteUser } from "../../src/controllers/userController";
import User, { IUser } from "../../src/models/User";
import { mockExpressObjects } from "../helpers";
import msg from '../../src/constants/mess... | 37.033708 | 103 | 0.44736 |
96139d235f257e7ddc479b08e3f66db102962012 | 5,606 | swift | Swift | Spider/Web/Web+Vibration.swift | AndreasLS/spider | b1bfbdcf1e4aef3ff73999ffa313233b5be32d9b | [
"MIT"
] | 2 | 2022-02-26T14:15:11.000Z | 2022-03-30T18:36:26.000Z | Spider/Web/Web+Vibration.swift | AndreasLS/spider | b1bfbdcf1e4aef3ff73999ffa313233b5be32d9b | [
"MIT"
] | null | null | null | Spider/Web/Web+Vibration.swift | AndreasLS/spider | b1bfbdcf1e4aef3ff73999ffa313233b5be32d9b | [
"MIT"
] | null | null | null | //
// Web+Vibration.swift
// Spider
//
// Created by Andre Luiz Salla on 18/08/20.
// Copyright © 2020 Andre Luiz Salla. All rights reserved.
//
import Foundation
import Flies
import UIKit
extension FlyBaseFlow where Self: FlyValidable {
func validate() {
try? self.validate(parameters: nil)
}
}
e... | 37.373333 | 94 | 0.543703 |
255290198b62c1ea8c5c04c6118ffbc6d11b42d0 | 2,226 | cs | C# | src/Cadenza/Test/Cadenza/NaturalStringComparerTest.cs | cadenza/cadenza | 498b91f8700fa39f90847c8c9b5079af210dbd53 | [
"MIT"
] | 13 | 2015-01-28T18:03:31.000Z | 2021-09-29T09:22:46.000Z | src/Cadenza/Test/Cadenza/NaturalStringComparerTest.cs | wickedshimmy/cadenza | bab49af78420d164e79dacd49f476f8b7104f0ed | [
"MIT"
] | null | null | null | src/Cadenza/Test/Cadenza/NaturalStringComparerTest.cs | wickedshimmy/cadenza | bab49af78420d164e79dacd49f476f8b7104f0ed | [
"MIT"
] | 2 | 2021-04-15T09:48:42.000Z | 2021-08-10T05:52:08.000Z | //
// NaturalStringComparerTest.cs
//
// Author:
// Jonathan Pryor <jpryor@novell.com>
//
// Copyright (c) 2008 Novell, Inc. (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal i... | 25.586207 | 73 | 0.655885 |
01f1683c00312e3b7a2becc419e111bed23f9bf5 | 2,657 | rs | Rust | rust/src/main.rs | iamlouk/pythagoras-tree | 8469de0648e12321f82ba6baa7d62cd4564072f9 | [
"MIT"
] | null | null | null | rust/src/main.rs | iamlouk/pythagoras-tree | 8469de0648e12321f82ba6baa7d62cd4564072f9 | [
"MIT"
] | null | null | null | rust/src/main.rs | iamlouk/pythagoras-tree | 8469de0648e12321f82ba6baa7d62cd4564072f9 | [
"MIT"
] | null | null | null | extern crate sdl2;
use sdl2::event::Event;
use sdl2::keyboard::Keycode;
use sdl2::pixels::Color;
use std::time::{Duration, SystemTime};
use std::io::prelude::*;
static WINDOW_WIDTH:u32 = 1000;
static WINDOW_HEIGHT:u32 = 650;
static MS_PER_FRAME:u64 = (1000 / 60);
mod geometry;
use geometry::*;
fn draw_pythagoras_t... | 25.066038 | 110 | 0.659767 |
5dbcae02d407603e7f865047be88aab1147ddfeb | 669 | sql | SQL | controleacesso/controleacesso-mysql-create.sql | erosvitor/mysql-templates | 12dedeae3889c2a97b17269a08df535914fc4d82 | [
"MIT"
] | null | null | null | controleacesso/controleacesso-mysql-create.sql | erosvitor/mysql-templates | 12dedeae3889c2a97b17269a08df535914fc4d82 | [
"MIT"
] | null | null | null | controleacesso/controleacesso-mysql-create.sql | erosvitor/mysql-templates | 12dedeae3889c2a97b17269a08df535914fc4d82 | [
"MIT"
] | null | null | null |
CREATE DATABASE controleacesso DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
USE controleacesso;
CREATE TABLE usuarios
(
codigo INTEGER NOT NULL AUTO_INCREMENT,
nome VARCHAR(60) NOT NULL,
login VARCHAR(15) NOT NULL,
senha VARCHAR(128) NOT NULL,
PRIMARY KEY (codigo)
);
CREATE TABLE perfis
(
codigo INTEGER... | 21.580645 | 75 | 0.766816 |
b02dcaa3cd188599c5ffa1101d042b78052d8e85 | 1,400 | py | Python | ucf_sub_catkin_ros/src/sub_utils/src/linefinder.py | RoboticsClubatUCF/RoboSub | 47304c620f963a8762db57a7ed248d1df90190fb | [
"MIT"
] | null | null | null | ucf_sub_catkin_ros/src/sub_utils/src/linefinder.py | RoboticsClubatUCF/RoboSub | 47304c620f963a8762db57a7ed248d1df90190fb | [
"MIT"
] | 19 | 2016-09-16T19:52:57.000Z | 2018-04-14T18:16:17.000Z | ucf_sub_catkin_ros/src/sub_utils/src/linefinder.py | RoboticsClubatUCF/RoboSub | 47304c620f963a8762db57a7ed248d1df90190fb | [
"MIT"
] | 8 | 2016-01-06T20:56:45.000Z | 2017-02-26T02:49:17.000Z | import cv2
import numpy as np
import time
image = cv2.imread('test.png')
image = cv2.flip(image,2)
rows, cols,_ = image.shape
M = cv2.getRotationMatrix2D((cols/2,rows/2),40,1)
image = cv2.warpAffine(image,M,(cols,rows))
mask=cv2.inRange(image, np.array([0, 180, 255],dtype='uint8'),np.array([0, 180, 255],dtype='uint8'... | 24.561404 | 101 | 0.636429 |
25eab1876aab70b56db06fc2935158518e66f837 | 1,110 | cs | C# | Assets/Scripts/Old/Tiles/CanGetHurtTile.cs | martindzejky/ld44 | 51c4fb97381f998658ce6b2565682439961f91e6 | [
"BlueOak-1.0.0"
] | 1 | 2019-05-01T12:16:31.000Z | 2019-05-01T12:16:31.000Z | Assets/Scripts/Old/Tiles/CanGetHurtTile.cs | martindzejky/ld44 | 51c4fb97381f998658ce6b2565682439961f91e6 | [
"BlueOak-1.0.0"
] | null | null | null | Assets/Scripts/Old/Tiles/CanGetHurtTile.cs | martindzejky/ld44 | 51c4fb97381f998658ce6b2565682439961f91e6 | [
"BlueOak-1.0.0"
] | null | null | null | using UnityEngine;
public class CanGetHurtTile : MonoBehaviour {
public float maxLife = 100f;
public float life = 100f;
public bool isGoal = false;
private SpriteRenderer spriteRenderer;
private Color goalColor = new Color(.5f, 0, 0);
public void Start() {
this.spriteRenderer = this.... | 30 | 102 | 0.610811 |
421580dc50f212aaf5e8bd1e570efcca4e62a0b4 | 371 | cs | C# | LNF/Reporting/IReportingClient.cs | lurienanofab/lnf | bdbe3042b33751d7f88a86a5aa5e2b33059bb475 | [
"MIT"
] | 1 | 2019-02-19T18:02:22.000Z | 2019-02-19T18:02:22.000Z | LNF/Reporting/IReportingClient.cs | lurienanofab/lnf | bdbe3042b33751d7f88a86a5aa5e2b33059bb475 | [
"MIT"
] | null | null | null | LNF/Reporting/IReportingClient.cs | lurienanofab/lnf | bdbe3042b33751d7f88a86a5aa5e2b33059bb475 | [
"MIT"
] | null | null | null | namespace LNF.Reporting
{
public interface IReportingClient
{
int ClientID { get; set; }
string Email { get; set; }
string FName { get; set; }
bool IsFinManager { get; set; }
bool IsInternal { get; set; }
bool IsManager { get; set; }
string LName { get; s... | 26.5 | 39 | 0.541779 |
24d8c91554b58206fff645e758374daa1392cc08 | 311,682 | sql | SQL | temp/sql/phpce.sql | chenguanyong/lnbei | 70a4a1dff8a1a3cced6b48351aeef540efc60c43 | [
"Apache-2.0"
] | 1 | 2018-08-09T01:33:44.000Z | 2018-08-09T01:33:44.000Z | temp/sql/phpce.sql | chenguanyong/lnbei | 70a4a1dff8a1a3cced6b48351aeef540efc60c43 | [
"Apache-2.0"
] | null | null | null | temp/sql/phpce.sql | chenguanyong/lnbei | 70a4a1dff8a1a3cced6b48351aeef540efc60c43 | [
"Apache-2.0"
] | 1 | 2018-08-09T01:33:52.000Z | 2018-08-09T01:33:52.000Z | /*
Navicat MySQL Data Transfer
Source Server : hy
Source Server Version : 50715
Source Host : localhost:3306
Source Database : phpce
Target Server Type : MYSQL
Target Server Version : 50715
File Encoding : 65001
Date: 2018-01-06 11:24:24
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------... | 61.5 | 300 | 0.604379 |
a32f546a2f36dcf1cad66ea814288cbcde6a96bf | 4,128 | kt | Kotlin | app/src/main/java/io/horizontalsystems/bankwallet/modules/settings/security/SecuritySettingsActivity.kt | HashEngineering/unstoppable-wallet-android | 1c6c180e192ba621359519d03434299e0bdcc6a1 | [
"MIT"
] | 1 | 2022-01-06T03:28:25.000Z | 2022-01-06T03:28:25.000Z | app/src/main/java/io/horizontalsystems/bankwallet/modules/settings/security/SecuritySettingsActivity.kt | HashEngineering/unstoppable-wallet-android | 1c6c180e192ba621359519d03434299e0bdcc6a1 | [
"MIT"
] | null | null | null | app/src/main/java/io/horizontalsystems/bankwallet/modules/settings/security/SecuritySettingsActivity.kt | HashEngineering/unstoppable-wallet-android | 1c6c180e192ba621359519d03434299e0bdcc6a1 | [
"MIT"
] | 1 | 2022-01-27T23:33:02.000Z | 2022-01-27T23:33:02.000Z | package io.horizontalsystems.bankwallet.modules.settings.security
import android.content.Intent
import android.os.Bundle
import android.widget.CompoundButton
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProvider
import io.horizontalsystems.bankwallet.R
import io.horizontalsystems.bankwallet.co... | 36.530973 | 139 | 0.69937 |
795c3bb3836f36b7a6dd50aaee5586e840cb3f1f | 6,537 | php | PHP | home-template.php | mristic505/storystudio | ca438c83ba8106f5cbfa24808e63b07865c6d871 | [
"MIT"
] | null | null | null | home-template.php | mristic505/storystudio | ca438c83ba8106f5cbfa24808e63b07865c6d871 | [
"MIT"
] | null | null | null | home-template.php | mristic505/storystudio | ca438c83ba8106f5cbfa24808e63b07865c6d871 | [
"MIT"
] | null | null | null | <?php /* Template Name: Home Page */
get_header(); ?>
<main role="main">
<!-- section -->
<section>
<?php if (have_posts()): while (have_posts()) : the_post(); ?>
<!-- article -->
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="home_hero">
<div class="h1">Prom... | 45.082759 | 316 | 0.5784 |
a9162baf24de0becddfdc30a35571f972100c0c5 | 796 | css | CSS | src/css/header-images.css | markuseckstein/urlaub-im-muellerhaus.de | befb3ba8dbe7aed32070eadd69825b42625925bb | [
"MIT"
] | null | null | null | src/css/header-images.css | markuseckstein/urlaub-im-muellerhaus.de | befb3ba8dbe7aed32070eadd69825b42625925bb | [
"MIT"
] | null | null | null | src/css/header-images.css | markuseckstein/urlaub-im-muellerhaus.de | befb3ba8dbe7aed32070eadd69825b42625925bb | [
"MIT"
] | null | null | null | .header-image {
height: 50vmin;
background-size: cover;
}
.header-image--index {
background-image: url('../img/index_header.jpg');
background-position: 91% 69%;
height: 65vmin;
}
.header-image--wohnungen {
background-image: url('../img/wohnungen_header.jpg');
background-position: 50% 61%;... | 22.111111 | 57 | 0.658291 |
e0187db067d958aad909dccaca3749cdc387a8c6 | 873 | cs | C# | Web/StrumskaSlava.Web.ViewModels/Receipt/Details/ReceiptDetailsViewModel.cs | DanailY/StrumskaSlava | 1b1810cf159085b5a9f3ebdc5ece1804e3cb0921 | [
"MIT"
] | null | null | null | Web/StrumskaSlava.Web.ViewModels/Receipt/Details/ReceiptDetailsViewModel.cs | DanailY/StrumskaSlava | 1b1810cf159085b5a9f3ebdc5ece1804e3cb0921 | [
"MIT"
] | null | null | null | Web/StrumskaSlava.Web.ViewModels/Receipt/Details/ReceiptDetailsViewModel.cs | DanailY/StrumskaSlava | 1b1810cf159085b5a9f3ebdc5ece1804e3cb0921 | [
"MIT"
] | null | null | null | namespace StrumskaSlava.Web.ViewModels.Receipt.Details
{
using System;
using System.Collections.Generic;
using System.Text;
using AutoMapper;
using StrumskaSlava.Services.Data;
using StrumskaSlava.Services.Mapping;
public class ReceiptDetailsViewModel : IMapFrom<ReceiptServiceModel>, IHav... | 30.103448 | 124 | 0.676976 |
25eb777fc865645a5808682aa45146d188479a66 | 1,244 | cs | C# | Validation/MVVMUtopia/Validation/Validation.cs | ProbynData/IAB330GroupAssignment | 189b51ccc7a74a4b1d69ace976d52be4dbc5233c | [
"MIT"
] | 151 | 2016-01-25T07:23:10.000Z | 2022-03-28T15:46:05.000Z | Validation/MVVMUtopia/Validation/Validation.cs | juergenanton/xamarin-forms | e3f6aaf9ad97acf4898522f9708b6349f903cbcb | [
"MIT"
] | 7 | 2017-08-31T08:03:40.000Z | 2022-03-18T00:01:37.000Z | Validation/MVVMUtopia/Validation/Validation.cs | juergenanton/xamarin-forms | e3f6aaf9ad97acf4898522f9708b6349f903cbcb | [
"MIT"
] | 128 | 2016-01-29T15:02:33.000Z | 2022-02-23T12:19:01.000Z | using System.Collections.ObjectModel;
using System.Linq;
using Xamarin.Forms;
namespace MVVMUtopia
{
public static class Validation
{
public static readonly BindableProperty ErrorsProperty =
BindableProperty.CreateAttached(
"Errors",
typeof(ReadOnlyCollection<string>),
typeof(Validation),
Valid... | 24.392157 | 95 | 0.721061 |
a001782720c31b749c3b8515fcaeac2f5717ac68 | 1,854 | lua | Lua | LoveUIView/TextLabel.lua | LexLoki/LoveUIView | 246a6d481d2a151ef3919be3a18216e8d828f95a | [
"MIT"
] | 3 | 2017-10-06T04:14:55.000Z | 2022-03-25T07:12:07.000Z | LoveUIView/TextLabel.lua | LexLoki/LoveUIView | 246a6d481d2a151ef3919be3a18216e8d828f95a | [
"MIT"
] | null | null | null | LoveUIView/TextLabel.lua | LexLoki/LoveUIView | 246a6d481d2a151ef3919be3a18216e8d828f95a | [
"MIT"
] | null | null | null | -- The MIT License (MIT)
-- Copyright © 2016 Pietro Ribeiro Pepe.
-- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, m... | 52.971429 | 464 | 0.731392 |
0d282521050219681932945aa4e60de9b337635c | 3,847 | cs | C# | DeusaldPhysics2D/Box2dNative/Generated/b2DistanceJoint.cs | Deusald/DeusaldPhysics2D | 137e69d85b3e670a4e93cbc573e53d9abe800270 | [
"MIT"
] | 1 | 2021-10-30T08:12:36.000Z | 2021-10-30T08:12:36.000Z | DeusaldPhysics2D/Box2dNative/Generated/b2DistanceJoint.cs | Deusald/DeusaldPhysics2D | 137e69d85b3e670a4e93cbc573e53d9abe800270 | [
"MIT"
] | null | null | null | DeusaldPhysics2D/Box2dNative/Generated/b2DistanceJoint.cs | Deusald/DeusaldPhysics2D | 137e69d85b3e670a4e93cbc573e53d9abe800270 | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.2
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
... | 31.276423 | 140 | 0.676111 |
a13ee59de4c65c2d1f451fb1d2be8ae60ac2b02e | 1,580 | ts | TypeScript | src/components/tilePane/view/Provider/hook/useMove/index.ts | xcfox/react-tile-pane | 02cd1e28b3b724dd31db52b4e968825beac8ae11 | [
"MIT"
] | 5 | 2021-03-17T03:56:36.000Z | 2022-02-07T21:22:37.000Z | src/components/tilePane/view/Provider/hook/useMove/index.ts | xcfox/react-tile-pane | 02cd1e28b3b724dd31db52b4e968825beac8ae11 | [
"MIT"
] | null | null | null | src/components/tilePane/view/Provider/hook/useMove/index.ts | xcfox/react-tile-pane | 02cd1e28b3b724dd31db52b4e968825beac8ae11 | [
"MIT"
] | null | null | null | import { useContext, useMemo } from 'react'
import {
TileBranchesContext,
TileLeavesContext,
TabsBarContext,
TitleRectsContext,
TileDispatchContext,
} from '../..'
import { PaneName } from '../../../../util'
import {
calcLeafWithTitleRect,
calcPreBox,
} from '../../../DraggableTitle/components/PreBox/util... | 29.259259 | 130 | 0.686076 |