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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8bcd3de5d1a086bde09de037d4fec0c125397afc | 4,423 | podspec | Ruby | CJComplexUIKit.podspec | luohuihui520/CJUIKit | 3c1d3c3e0615294d5d9182fb3b6931e8fbae30a0 | [
"MIT"
] | null | null | null | CJComplexUIKit.podspec | luohuihui520/CJUIKit | 3c1d3c3e0615294d5d9182fb3b6931e8fbae30a0 | [
"MIT"
] | null | null | null | CJComplexUIKit.podspec | luohuihui520/CJUIKit | 3c1d3c3e0615294d5d9182fb3b6931e8fbae30a0 | [
"MIT"
] | 1 | 2019-10-28T09:51:12.000Z | 2019-10-28T09:51:12.000Z | Pod::Spec.new do |s|
#验证方法:pod lib lint CJComplexUIKit.podspec --allow-warnings --use-libraries --verbose
s.name = "CJComplexUIKit"
s.version = "0.2.3"
s.summary = "自定义的稍微复杂的UI"
s.homepage = "https://github.com/dvlproad/CJUIKit"
s.description = <<-DESC
- CJDataScroll... | 33.763359 | 158 | 0.673751 |
da6f7a1975060814f5cb6085243614bf18dc24f6 | 7,836 | php | PHP | resources/views/frontEnd/service_download.blade.php | sarapis/larable | ede2d074e5a14e7b168c3dd04fdbb8fd3efa467f | [
"MIT"
] | 1 | 2021-04-02T16:29:07.000Z | 2021-04-02T16:29:07.000Z | resources/views/frontEnd/service_download.blade.php | sarapis/larable | ede2d074e5a14e7b168c3dd04fdbb8fd3efa467f | [
"MIT"
] | null | null | null | resources/views/frontEnd/service_download.blade.php | sarapis/larable | ede2d074e5a14e7b168c3dd04fdbb8fd3efa467f | [
"MIT"
] | null | null | null |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<style type="text/css">
.table a{
text-decoration:none !important;
color: rgba(40,53,147,.9);
white-space: normal;
}
.footable.breakpoint > tbody > tr > td > span.footable-toggle{
position: abso... | 47.780488 | 236 | 0.421771 |
f4737356c6eac03944a75e5a3b420d369ca76aa1 | 2,970 | ts | TypeScript | packages/next/src/migrations/update-13-1-1/enable-swc.spec.ts | rohankumardubey/nx | e54e5a2496b63a33c0f31ad8c45bf2b34c8ce466 | [
"MIT"
] | 2 | 2021-08-12T14:13:28.000Z | 2021-11-08T23:50:26.000Z | packages/next/src/migrations/update-13-1-1/enable-swc.spec.ts | rohankumardubey/nx | e54e5a2496b63a33c0f31ad8c45bf2b34c8ce466 | [
"MIT"
] | 5 | 2021-06-01T18:27:12.000Z | 2022-03-02T12:19:22.000Z | packages/next/src/migrations/update-13-1-1/enable-swc.spec.ts | AgentEnder/nx | d6307181abae9538f83224565907c7c99e3b9d6e | [
"MIT"
] | 1 | 2020-05-08T14:59:56.000Z | 2020-05-08T14:59:56.000Z | import { Tree } from '@nrwl/devkit';
import { createTreeWithEmptyWorkspace } from '@nrwl/devkit/testing';
import { applicationGenerator } from '../../generators/application/application';
import { update } from './enable-swc';
describe('Migration: enable SWC', () => {
let tree: Tree;
beforeEach(async () => {
... | 23.571429 | 80 | 0.56734 |
0dee28927ae620e4de5bdb2e8d15f9b902666832 | 5,333 | cs | C# | src/Adaptive.ReactiveTrader.Server.GUI/MainViewModel.cs | gitter-badger/ReactiveTrader | c4840831080794f2c840479c9af04aebd23dbbd8 | [
"Apache-2.0"
] | 1 | 2018-06-26T19:06:41.000Z | 2018-06-26T19:06:41.000Z | src/Adaptive.ReactiveTrader.Server.GUI/MainViewModel.cs | gitter-badger/ReactiveTrader | c4840831080794f2c840479c9af04aebd23dbbd8 | [
"Apache-2.0"
] | null | null | null | src/Adaptive.ReactiveTrader.Server.GUI/MainViewModel.cs | gitter-badger/ReactiveTrader | c4840831080794f2c840479c9af04aebd23dbbd8 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.ObjectModel;
using System.Windows.Input;
using System.Windows.Threading;
using Adaptive.ReactiveTrader.Server.Pricing;
using Adaptive.ReactiveTrader.Server.ReferenceData;
using Adaptive.ReactiveTrader.Shared.Extensions;
using Adaptive.ReactiveTrader.Shared.UI;
using log4net;
usin... | 32.518293 | 110 | 0.567785 |
7d8aa24b2599099aa567b32c08633e275f396ca8 | 2,074 | css | CSS | public/assets/css/styles.css | silentx09/opinio-rails | f38bbb3448d93678bd9c677c681e541baaadbd22 | [
"MIT"
] | null | null | null | public/assets/css/styles.css | silentx09/opinio-rails | f38bbb3448d93678bd9c677c681e541baaadbd22 | [
"MIT"
] | 2 | 2020-02-25T03:07:45.000Z | 2021-05-18T13:28:13.000Z | public/assets/css/styles.css | silentx09/opinio-rails | f38bbb3448d93678bd9c677c681e541baaadbd22 | [
"MIT"
] | null | null | null | body{
background-image: url("../images/van.png");
background-position: center;
background-attachment: fixed;
font-family: 'Raleway'
}
.header-tabs{
background:black;
}
.nav-pills > li > a {
border-radius: 0px !important;
color : white;
}
.nav-pills > li > a:hover {
background: brown !important;
}
.... | 15.138686 | 83 | 0.657666 |
a45908ef184493f48a3d1b19b33d48f6b88e016b | 773 | sql | SQL | apitestbase-upgrade/src/main/resources/io/apitestbase/upgrade/db/SystemDB_0_18_3_To_0_18_4.sql | IndikaQAGit/testmtapi | 592aba767b94bbfb5f9b5066e8bd9d32e728380a | [
"Apache-2.0"
] | 2 | 2021-08-12T03:10:40.000Z | 2021-09-30T07:34:17.000Z | apitestbase-upgrade/src/main/resources/io/apitestbase/upgrade/db/SystemDB_0_18_3_To_0_18_4.sql | IndikaQAGit/testmtapi | 592aba767b94bbfb5f9b5066e8bd9d32e728380a | [
"Apache-2.0"
] | null | null | null | apitestbase-upgrade/src/main/resources/io/apitestbase/upgrade/db/SystemDB_0_18_3_To_0_18_4.sql | IndikaQAGit/testmtapi | 592aba767b94bbfb5f9b5066e8bd9d32e728380a | [
"Apache-2.0"
] | 1 | 2021-10-31T00:14:10.000Z | 2021-10-31T00:14:10.000Z | update teststep set api_request = '{"minClassName":".HTTPRequest",' ||
replace(replace(substring(other_properties from 2 for length(other_properties) - 2), '"httpMethod":', '"method":'), '"httpHeaders":', '"headers":') ||
',"body":"' || STRINGENCODE(UTF8TOSTRING(COALESCE(request, ''))) || '"}'
where type = 'HTT... | 59.461538 | 154 | 0.673997 |
6aedc65717b53576ff29aafca316baf49244e015 | 1,057 | c | C | ListaPonteiros/LP-04.c | mbcsoares/Programacao_Avancada | 0aedf8fc97a1a10c272ac4d1fd5142d5496c834c | [
"Apache-2.0"
] | null | null | null | ListaPonteiros/LP-04.c | mbcsoares/Programacao_Avancada | 0aedf8fc97a1a10c272ac4d1fd5142d5496c834c | [
"Apache-2.0"
] | null | null | null | ListaPonteiros/LP-04.c | mbcsoares/Programacao_Avancada | 0aedf8fc97a1a10c272ac4d1fd5142d5496c834c | [
"Apache-2.0"
] | null | null | null | #include<stdio.h>
#include<stdlib.h>
void main(void) {
int i = 5, j = 10;
int *p, *q;
printf("LISTA DE EXERCICOS (PONTEIROS) - QUESTAO 04 \n\n");
printf("CONSIDERACOES: int i = 5, j = 10; &i = %p, &j = %p; int *p, *q \n\n", &i, &j);
printf("A) p = &i -> %p => Ok! \n", p = &i);
printf("B) *q = &j => Nao Ok! (O p... | 52.85 | 181 | 0.53264 |
0706a6e197cde498c6e6e12223f3b8c233797f54 | 195 | cpp | C++ | src/scene/SceneNode.t.cpp | stevefortier/llamas | 4e7480e66ee62d3fd87f9e2f55b90414985ed934 | [
"MIT"
] | null | null | null | src/scene/SceneNode.t.cpp | stevefortier/llamas | 4e7480e66ee62d3fd87f9e2f55b90414985ed934 | [
"MIT"
] | null | null | null | src/scene/SceneNode.t.cpp | stevefortier/llamas | 4e7480e66ee62d3fd87f9e2f55b90414985ed934 | [
"MIT"
] | null | null | null | #include "SceneNode.hpp"
#include <catch2/catch.hpp>
using namespace llama;
TEST_CASE("Single Node") {
auto node = SceneNode("single");
CHECK(node.getName().compare("single") == 0);
}
| 17.727273 | 49 | 0.671795 |
ddceeb4694efd2b826a52b475e9ca0ea60212d94 | 17,858 | java | Java | src/main/java/uk/gov/hmcts/ethos/replacement/docmosis/reports/sessiondays/SessionDaysReport.java | banderous/et-ccd-callbacks | 8af6e73a6b4f7eb2d79be0c47752a88edfcc67b7 | [
"MIT"
] | null | null | null | src/main/java/uk/gov/hmcts/ethos/replacement/docmosis/reports/sessiondays/SessionDaysReport.java | banderous/et-ccd-callbacks | 8af6e73a6b4f7eb2d79be0c47752a88edfcc67b7 | [
"MIT"
] | null | null | null | src/main/java/uk/gov/hmcts/ethos/replacement/docmosis/reports/sessiondays/SessionDaysReport.java | banderous/et-ccd-callbacks | 8af6e73a6b4f7eb2d79be0c47752a88edfcc67b7 | [
"MIT"
] | null | null | null | package uk.gov.hmcts.ethos.replacement.docmosis.reports.sessiondays;
import com.microsoft.azure.servicebus.primitives.StringUtil;
import org.apache.commons.collections4.CollectionUtils;
import org.elasticsearch.common.Strings;
import uk.gov.hmcts.ecm.common.model.bulk.types.DynamicFixedListType;
import uk.gov.hmcts.ec... | 52.06414 | 120 | 0.631594 |
23f1bb2bff8f394bc178cf24dea585d7e6b5e2ff | 1,230 | js | JavaScript | commands/loop.js | Khalil-Balde1212/Sencha | f292fa96268ea26276d04e1066c9a7957c5002e1 | [
"MIT"
] | 1 | 2021-10-01T01:27:29.000Z | 2021-10-01T01:27:29.000Z | commands/loop.js | Khalil-Balde1212/Sencha | f292fa96268ea26276d04e1066c9a7957c5002e1 | [
"MIT"
] | null | null | null | commands/loop.js | Khalil-Balde1212/Sencha | f292fa96268ea26276d04e1066c9a7957c5002e1 | [
"MIT"
] | null | null | null | const {SlashCommandBuilder} = require('@discordjs/builders');
const { QueueRepeatMode } = require('discord-player');
module.exports = {
data: new SlashCommandBuilder()
.setName('loop')
.setDescription('Set loop mode.')
.addIntegerOption(option =>
option.setName('mode')
... | 51.25 | 126 | 0.621951 |
55a1d1808911ecc8da4be58b55d57b8ad1a51721 | 3,220 | cs | C# | Controllers/DriverController.cs | YusupFayzrahmanov/WebApp_TransportCompany | 355975bd0f73c9ec984facfff0ab44da5f2d6129 | [
"MIT"
] | null | null | null | Controllers/DriverController.cs | YusupFayzrahmanov/WebApp_TransportCompany | 355975bd0f73c9ec984facfff0ab44da5f2d6129 | [
"MIT"
] | null | null | null | Controllers/DriverController.cs | YusupFayzrahmanov/WebApp_TransportCompany | 355975bd0f73c9ec984facfff0ab44da5f2d6129 | [
"MIT"
] | null | null | null | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApp_TransportCompany.Data;
using WebApp_TransportCompany.Models;
using WebApp_T... | 34.255319 | 103 | 0.66087 |
8e6ba4f0b080ce7f3b538ea268264a125f55dd40 | 3,006 | js | JavaScript | middlewares/passport.js | huynhdieutuong/MERN_BookGiveaway | 89e14c6cc0ffc24121368d7f2214b969e6bed8b1 | [
"MIT"
] | null | null | null | middlewares/passport.js | huynhdieutuong/MERN_BookGiveaway | 89e14c6cc0ffc24121368d7f2214b969e6bed8b1 | [
"MIT"
] | 2 | 2020-08-06T07:14:31.000Z | 2020-08-20T14:15:45.000Z | middlewares/passport.js | huynhdieutuong/MERN_BookGiveaway | 89e14c6cc0ffc24121368d7f2214b969e6bed8b1 | [
"MIT"
] | null | null | null | const passport = require('passport');
const JwtStrategy = require('passport-jwt').Strategy;
const { ExtractJwt } = require('passport-jwt');
const LocalStrategy = require('passport-local').Strategy;
const GoogleStrategy = require('passport-google-oauth20').Strategy;
const FacebookStrategy = require('passport-facebook').... | 24.241935 | 136 | 0.554558 |
b31f81845434d0fd36fd45a38fa1af84404bd392 | 895 | py | Python | Better4Industry/luigi_pipeline1/Feature_Generation/generate_features.py | hanhanwu/Hanhan_Data_Science_Practice | ac48401121062d03f9983f6a8c7f7adb0ab9b616 | [
"MIT"
] | 24 | 2016-05-20T00:50:57.000Z | 2020-10-01T15:42:16.000Z | Better4Industry/luigi_pipeline1/Feature_Generation/generate_features.py | hanhanwu/Hanhan_Data_Science_Practice | ac48401121062d03f9983f6a8c7f7adb0ab9b616 | [
"MIT"
] | null | null | null | Better4Industry/luigi_pipeline1/Feature_Generation/generate_features.py | hanhanwu/Hanhan_Data_Science_Practice | ac48401121062d03f9983f6a8c7f7adb0ab9b616 | [
"MIT"
] | 14 | 2018-01-29T06:08:59.000Z | 2020-10-03T08:08:31.000Z | import luigi
import pandas as pd
from Data_Prep.generate_base_data import GenerateBase
# Generate Features
class GenerateFeatures(luigi.Task):
current_dir = luigi.Parameter()
config = luigi.DictParameter()
def requires(self):
return GenerateBase(self.current_dir, self.config)
def ... | 30.862069 | 93 | 0.632402 |
0a030a8bb0041cfb5bd8fb73b4154e53ad76f172 | 1,110 | c | C | src/timer.c | SoftwareStartups/vftasks | 4f112f8388b1b1803704d64653aef15e1cd96275 | [
"MIT"
] | null | null | null | src/timer.c | SoftwareStartups/vftasks | 4f112f8388b1b1803704d64653aef15e1cd96275 | [
"MIT"
] | null | null | null | src/timer.c | SoftwareStartups/vftasks | 4f112f8388b1b1803704d64653aef15e1cd96275 | [
"MIT"
] | null | null | null | #include "vftasks.h"
#include "platform.h"
#include <stdint.h>
#include <assert.h>
#ifdef _POSIX_SOURCE
#include <time.h>
void vftasks_timer_start(uint64_t *start)
{
struct timespec tp;
clock_gettime(CLOCK_REALTIME, &tp);
*start = tp.tv_sec * ((uint64_t) 1000000000) + tp.tv_nsec;
}
uint64_t vftasks_timer_sto... | 18.196721 | 60 | 0.709009 |
0d49ac547d82dfbf09af40920082f049ff6985fb | 1,349 | rb | Ruby | spec/lib/insights/api/common/rbac/roles_spec.rb | syncrou/insights-api-common-rails | d0575c9490455d79ec8a07f34a0165adedbde005 | [
"Apache-2.0"
] | 1 | 2019-05-04T23:08:39.000Z | 2019-05-04T23:08:39.000Z | spec/lib/insights/api/common/rbac/roles_spec.rb | syncrou/insights-api-common-rails | d0575c9490455d79ec8a07f34a0165adedbde005 | [
"Apache-2.0"
] | 126 | 2018-12-12T23:15:30.000Z | 2019-11-13T21:19:12.000Z | spec/lib/insights/api/common/rbac/roles_spec.rb | syncrou/insights-api-common-rails | d0575c9490455d79ec8a07f34a0165adedbde005 | [
"Apache-2.0"
] | 20 | 2018-12-12T21:35:52.000Z | 2019-10-21T18:54:50.000Z | describe Insights::API::Common::RBAC::Roles do
let(:response_headers) { {"Content-Type" => 'application/json'} }
let(:catalog_admin) do
{ :data => data, :meta => { :count => count } }
end
around do |example|
Insights::API::Common::Request.with_request(default_request) { example.call }
end
before d... | 29.326087 | 124 | 0.616753 |
c26a791e1d81edf5d6730d868cc04a6feda45ac2 | 1,547 | h | C | usr/libexec/CallHistorySyncHelper/AWDCallHistoryDatabaseSaveError.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 2 | 2021-11-02T09:23:27.000Z | 2022-03-28T08:21:57.000Z | usr/libexec/CallHistorySyncHelper/AWDCallHistoryDatabaseSaveError.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | null | null | null | usr/libexec/CallHistorySyncHelper/AWDCallHistoryDatabaseSaveError.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 1 | 2022-03-28T08:21:59.000Z | 2022-03-28T08:21:59.000Z | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <ProtocolBuffer/PBCodable.h>
#import "NSCopying-Protocol.h"
@class NSString;
@interface AWDCallHistoryDatabaseSaveError : PBCodable <NSC... | 35.976744 | 120 | 0.740142 |
93b84935b158695060fc5c979f1272107b494a62 | 376 | cs | C# | src/NexusUploader/Nexus/NexusFilesResponse.cs | halgari/nexus-uploader | f4f0bfc0b21ac71c2da5093769fbaba07605b626 | [
"MIT"
] | 14 | 2020-09-11T09:13:25.000Z | 2021-09-06T17:08:03.000Z | src/NexusUploader/Nexus/NexusFilesResponse.cs | halgari/nexus-uploader | f4f0bfc0b21ac71c2da5093769fbaba07605b626 | [
"MIT"
] | 2 | 2021-06-18T01:38:07.000Z | 2021-09-20T00:18:30.000Z | src/NexusUploader/Nexus/NexusFilesResponse.cs | halgari/nexus-uploader | f4f0bfc0b21ac71c2da5093769fbaba07605b626 | [
"MIT"
] | 3 | 2020-11-04T08:09:19.000Z | 2021-11-18T18:44:31.000Z | using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace NexusUploader.Nexus
{
public class NexusFilesResponse
{
[JsonPropertyName("files")]
public List<NexusFile> Files {get;set;} = new List<NexusFile>();
[JsonPropertyName("file_updated")]
public List<... | 26.857143 | 72 | 0.675532 |
0a86801a992d0bbe3638815c240a412353ae6ca0 | 1,229 | cs | C# | src/Goliath.Utilities/Security/HmacSha512Provider.cs | malweka/GoliathUtilities | 58f33f6f52e1ff0bcd03455d6a46ded5c07cccee | [
"Apache-2.0"
] | null | null | null | src/Goliath.Utilities/Security/HmacSha512Provider.cs | malweka/GoliathUtilities | 58f33f6f52e1ff0bcd03455d6a46ded5c07cccee | [
"Apache-2.0"
] | null | null | null | src/Goliath.Utilities/Security/HmacSha512Provider.cs | malweka/GoliathUtilities | 58f33f6f52e1ff0bcd03455d6a46ded5c07cccee | [
"Apache-2.0"
] | null | null | null | using System;
using System.Security.Cryptography;
namespace Goliath.Security
{
/// <summary>
///
/// </summary>
public class HmacSha512Provider : IHmacProvider
{
/// <summary>
/// Computes the hash.
/// </summary>
/// <param name="secret">The secret.<... | 29.261905 | 82 | 0.491456 |
db7391a7412813cdea2e4e7890af30e28a5b0b69 | 227 | php | PHP | vendor/endroid/qr-code/src/Logo/LogoInterface.php | webshunter/indowebs | 68ea059e819ab636cbd9eb8c9dcd8dddf4a99742 | [
"MIT"
] | 1 | 2021-05-19T19:52:06.000Z | 2021-05-19T19:52:06.000Z | vendor/endroid/qr-code/src/Logo/LogoInterface.php | webshunter/indowebs | 68ea059e819ab636cbd9eb8c9dcd8dddf4a99742 | [
"MIT"
] | null | null | null | vendor/endroid/qr-code/src/Logo/LogoInterface.php | webshunter/indowebs | 68ea059e819ab636cbd9eb8c9dcd8dddf4a99742 | [
"MIT"
] | null | null | null | <?php
declare(strict_types=1);
namespace Endroid\QrCode\Logo;
interface LogoInterface
{
public function getPath(): string;
public function getResizeToWidth(): ?int;
public function getResizeToHeight(): ?int;
}
| 15.133333 | 46 | 0.726872 |
43bada0ef09f48bc1fb02f5b363d632ab8f97ef2 | 610 | ts | TypeScript | tests/underscore-any.ts | danvk/typings-checker | c0170a941a8951a5c580c1908727fdbbc34a5d22 | [
"Apache-2.0"
] | 42 | 2017-02-26T11:59:14.000Z | 2020-02-14T12:08:01.000Z | tests/underscore-any.ts | danvk/typings-checker | c0170a941a8951a5c580c1908727fdbbc34a5d22 | [
"Apache-2.0"
] | 20 | 2017-01-17T16:13:24.000Z | 2021-05-09T10:50:12.000Z | tests/underscore-any.ts | danvk/typings-checker | c0170a941a8951a5c580c1908727fdbbc34a5d22 | [
"Apache-2.0"
] | 5 | 2017-01-20T06:33:42.000Z | 2017-08-07T23:10:15.000Z | // This test assigns an opaque type to lodash/underscore.
// This means that it will pass TypeScript's static analysis.
// But it won't pass the typings-checker, which doesn't allow 'any'.
let _: any;
// $ExpectType number
_.find([1, 2, 3], x => x * 1 == 3);
// $ExpectError Operator '==' cannot be applied to types 'nu... | 38.125 | 79 | 0.591803 |
fdfc4b0fa4b4a1ebd91834fd75212563c7e4d9ab | 1,755 | sql | SQL | DW/9 Create SQL Agent Jobs/Daily_Update_DW_DimCustomer.sql | jy-julianyang/gym-mssqlserver | a0115c6425420aa0ded79021b532e70cb30296b4 | [
"MIT"
] | null | null | null | DW/9 Create SQL Agent Jobs/Daily_Update_DW_DimCustomer.sql | jy-julianyang/gym-mssqlserver | a0115c6425420aa0ded79021b532e70cb30296b4 | [
"MIT"
] | null | null | null | DW/9 Create SQL Agent Jobs/Daily_Update_DW_DimCustomer.sql | jy-julianyang/gym-mssqlserver | a0115c6425420aa0ded79021b532e70cb30296b4 | [
"MIT"
] | null | null | null | USE [msdb]
GO
DECLARE @jobId BINARY(16)
EXEC msdb.dbo.sp_add_job @job_name=N'Daily Update DW DimCustomer',
@enabled=1,
@notify_level_eventlog=0,
@notify_level_email=2,
@notify_level_page=2,
@delete_level=0,
@description=N'Daily Update DW DimCustomer',
@category_name=N'REPL-Merge',
@owner_login_... | 26.590909 | 108 | 0.737322 |
07350915d7974f6a3a81b5906a44500ef1ebdcc7 | 1,450 | h | C | ZDOpenSourceOCDemo/Pods/Headers/Private/ZIKRouter/ZIKViewRoutePrivate.h | faimin/ZDOpenSourceDemo | 6c9fb073131b70db1beb3604dfd937d05a5a5932 | [
"MIT"
] | null | null | null | ZDOpenSourceOCDemo/Pods/Headers/Private/ZIKRouter/ZIKViewRoutePrivate.h | faimin/ZDOpenSourceDemo | 6c9fb073131b70db1beb3604dfd937d05a5a5932 | [
"MIT"
] | null | null | null | ZDOpenSourceOCDemo/Pods/Headers/Private/ZIKRouter/ZIKViewRoutePrivate.h | faimin/ZDOpenSourceDemo | 6c9fb073131b70db1beb3604dfd937d05a5a5932 | [
"MIT"
] | null | null | null | //
// ZIKViewRoutePrivate.h
// ZIKRouter
//
// Created by zuik on 2018/4/7.
// Copyright © 2018 zuik. All rights reserved.
//
// This source code is licensed under the MIT-style license found in the
// LICENSE file in the root directory of this source tree.
//
#import "ZIKViewRoute.h"
NS_ASSUME_NONNULL_BEGIN
@... | 48.333333 | 209 | 0.803448 |
4cf5d55dfbd4be367a6ce7ae865af11c7c4d0ce0 | 1,781 | py | Python | cb_scripts/coffee_repo_master.py | christopher-burke/python-scripts | bdbea2456130e0958b6a6ab8d138f4f19b39b934 | [
"MIT"
] | 1 | 2022-02-05T06:39:05.000Z | 2022-02-05T06:39:05.000Z | cb_scripts/coffee_repo_master.py | christopher-burke/python-scripts | bdbea2456130e0958b6a6ab8d138f4f19b39b934 | [
"MIT"
] | null | null | null | cb_scripts/coffee_repo_master.py | christopher-burke/python-scripts | bdbea2456130e0958b6a6ab8d138f4f19b39b934 | [
"MIT"
] | 1 | 2021-06-10T22:04:35.000Z | 2021-06-10T22:04:35.000Z | #!/usr/bin/env python3
"""Create Coffee-Repo Master list."""
import re
import os
from calendar import month_name
from pathlib import Path
# Set a environment variable to the coffee-repo directory path.
COFFEE_REPO_DIR = os.environ.get('COFFEE_REPO')
settings = {
'LINKS_REGEX': r'\* \[.*\]\(.*\)',
'archive... | 22.2625 | 65 | 0.622684 |
06d025212182a7b0a0bb95f1841678c29714c459 | 810 | py | Python | flaskr/build_database.py | MatheusXCH/Python-Server | 08f9dcfdba659fa8eba2ebb33b2dc60a375f54f6 | [
"MIT"
] | null | null | null | flaskr/build_database.py | MatheusXCH/Python-Server | 08f9dcfdba659fa8eba2ebb33b2dc60a375f54f6 | [
"MIT"
] | null | null | null | flaskr/build_database.py | MatheusXCH/Python-Server | 08f9dcfdba659fa8eba2ebb33b2dc60a375f54f6 | [
"MIT"
] | null | null | null | import os
from config import db
from models import Product
# # Objetos iniciados ao criar o database
PRODUCTS = [
{"name": "Samsung Galaxy S11", "brand": "Samsung", "price": 3400.00, "stock": 150},
{"name": "Samsung Galaxy M21s", "brand": "Samsung", "price": 1400.00, "stock": 1150},
{"name": "Redmi Note 10... | 28.928571 | 89 | 0.638272 |
408e4b64e4f4aea7b969a270a3947ba5a1a7fac2 | 203 | sql | SQL | src/queries/get-genres.sql | URAmiRBin/steamdb | bc2588fd91b306651da7e4cc775fed922be8f1c6 | [
"MIT"
] | null | null | null | src/queries/get-genres.sql | URAmiRBin/steamdb | bc2588fd91b306651da7e4cc775fed922be8f1c6 | [
"MIT"
] | null | null | null | src/queries/get-genres.sql | URAmiRBin/steamdb | bc2588fd91b306651da7e4cc775fed922be8f1c6 | [
"MIT"
] | null | null | null | -- gets genres of a game
-- the where clause filters which games to show
SELECT
game_genres.genre_id
FROM
games
INNER JOIN game_genres ON games.game_id = game_genres.game_id
WHERE
games.game_id = 1 | 22.555556 | 63 | 0.778325 |
20cce51e935c8bdc2deb55560ebb64555f1a562f | 6,800 | py | Python | src/utils/utils.py | rmjacobson/privacy-crawler-parser-tokenizer | 73d4cf884000ed20341ea15458834022360d22c5 | [
"MIT"
] | null | null | null | src/utils/utils.py | rmjacobson/privacy-crawler-parser-tokenizer | 73d4cf884000ed20341ea15458834022360d22c5 | [
"MIT"
] | null | null | null | src/utils/utils.py | rmjacobson/privacy-crawler-parser-tokenizer | 73d4cf884000ed20341ea15458834022360d22c5 | [
"MIT"
] | null | null | null | import argparse, os, requests
from urllib3.exceptions import NewConnectionError
from requests.adapters import HTTPAdapter
from requests.packages.urllib3.util.retry import Retry
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from time import sleep
class VerifyJsonExtension(argparse... | 37.362637 | 125 | 0.607206 |
5478cb98b336625b0692e732ab082b28174ebbd7 | 772 | h | C | src_blockchain/flash/MinerSignature.h | alinous-core/codablecash | 04ca04c9bc179aa81d4277ed34320b4340628bd1 | [
"MIT"
] | 6 | 2019-01-06T05:02:39.000Z | 2020-10-01T11:45:32.000Z | src_blockchain/flash/MinerSignature.h | Codablecash/codablecash | 8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9 | [
"MIT"
] | 209 | 2018-05-18T03:07:02.000Z | 2022-03-26T11:42:41.000Z | src_blockchain/flash/MinerSignature.h | Codablecash/codablecash | 8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9 | [
"MIT"
] | 3 | 2019-07-06T09:16:36.000Z | 2020-10-15T08:23:28.000Z | /*
* MinerSignature.h
*
* Created on: 2019/01/25
* Author: iizuka
*/
#ifndef FLASH_MINERSIGNATURE_H_
#define FLASH_MINERSIGNATURE_H_
#include "filestore_block/IBlockObject.h"
namespace codablecash {
using namespace alinous;
class NodeIdentifier;
class MinerSignature : public alinous::IBlockObject {
priv... | 19.794872 | 55 | 0.766839 |
0d248dae19f3fdb468b0a95398efa293faf6e0d3 | 408 | cs | C# | winphone/csharp/System/ApplicationException.cs | JianYT/mobile-sdk | 1835603e6cb7994222fea681928dc90055816628 | [
"BSD-3-Clause"
] | 155 | 2016-10-20T08:39:13.000Z | 2022-02-27T14:08:32.000Z | winphone/csharp/System/ApplicationException.cs | JianYT/mobile-sdk | 1835603e6cb7994222fea681928dc90055816628 | [
"BSD-3-Clause"
] | 448 | 2016-10-20T12:33:06.000Z | 2022-03-22T14:42:58.000Z | winphone/csharp/System/ApplicationException.cs | JianYT/mobile-sdk | 1835603e6cb7994222fea681928dc90055816628 | [
"BSD-3-Clause"
] | 64 | 2016-12-05T16:04:31.000Z | 2022-02-07T09:36:22.000Z | namespace System {
// Class for compatibility between Swig-generated wrappers and WP8
internal class ApplicationException : Exception {
public ApplicationException() {
}
public ApplicationException(string message) : base(message) {
}
public ApplicationException(strin... | 27.2 | 111 | 0.67402 |
0c27929c9c8fd3a9a1230fbe3c4624e53b049679 | 2,068 | lua | Lua | lcore/graphics/ui/container.lua | LPGhatguy/lcore | 9ff456f8949f0e950c626ff74214e935dbd5a91f | [
"Zlib"
] | 2 | 2015-12-31T05:57:51.000Z | 2018-05-20T14:10:57.000Z | lcore/graphics/ui/container.lua | LPGhatguy/lcore | 9ff456f8949f0e950c626ff74214e935dbd5a91f | [
"Zlib"
] | null | null | null | lcore/graphics/ui/container.lua | LPGhatguy/lcore | 9ff456f8949f0e950c626ff74214e935dbd5a91f | [
"Zlib"
] | null | null | null | local L, this = ...
this.title = "UI Container"
this.version = "1.1"
this.status = "production"
this.desc = "Holds other UI items and passes draw calls to them."
this.todo = {
}
local lcore = L.lcore
local oop = lcore.utility.oop
local event = lcore.service.event
local element = lcore.graphics.ui.element
local gcore =... | 18.972477 | 75 | 0.639265 |
40bf755284902e83a58bff91a4af70dade9319e4 | 1,938 | tsx | TypeScript | src/components/search/search-header/search-header.tsx | QRFAQRFA/local-music-pwa | b32c72c9cbf10e4cff90254fa4957d921bd6f372 | [
"MIT"
] | 29 | 2020-07-12T13:01:08.000Z | 2022-02-20T05:21:08.000Z | src/components/search/search-header/search-header.tsx | QRFAQRFA/local-music-pwa | b32c72c9cbf10e4cff90254fa4957d921bd6f372 | [
"MIT"
] | 14 | 2019-09-04T05:38:34.000Z | 2022-03-30T05:46:19.000Z | src/components/search/search-header/search-header.tsx | QRFAQRFA/local-music-pwa | b32c72c9cbf10e4cff90254fa4957d921bd6f372 | [
"MIT"
] | 5 | 2019-09-04T05:23:27.000Z | 2021-11-06T13:34:29.000Z | import { Component, createEffect } from 'solid-js'
import { useRouter } from '@rturnq/solid-router'
import { IconButton } from '../../icon-button/icon-button'
import { IconType } from '../../icon/icon'
import { debounce, doesElementContainFocus } from '../../../utils'
import { Toolbar } from '../../toolbar/toolbar'
imp... | 28.086957 | 76 | 0.625387 |
0db15ee03b9f189c232bfe626452a1c08b2cef8b | 242 | cs | C# | WhatToWear/WhatToWear.Logic/JSON/IParser.cs | Git-LocalCode/what-to-wear | 9af807301f118b1ed8e66a532b8a9c1ef0a23823 | [
"MIT"
] | 1 | 2021-10-08T09:17:54.000Z | 2021-10-08T09:17:54.000Z | WhatToWear/WhatToWear.Logic/JSON/IParser.cs | Git-LocalCode/what-to-wear | 9af807301f118b1ed8e66a532b8a9c1ef0a23823 | [
"MIT"
] | null | null | null | WhatToWear/WhatToWear.Logic/JSON/IParser.cs | Git-LocalCode/what-to-wear | 9af807301f118b1ed8e66a532b8a9c1ef0a23823 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
using WhatToWear.Data.Forecast;
namespace WhatToWear.Logic.JSON
{
public interface IParser
{
WeatherForecast ParseToWeatherForecast(string content);
}
}
| 18.615385 | 63 | 0.752066 |
afe68b62fc7e4ef9698026107dc52f4815db294b | 7,999 | rs | Rust | src/connectors/impls/ws/client.rs | scrabsha/tremor-runtime | 8361e2facafb49a73ac553a9bf7f52d65af1bc63 | [
"Apache-2.0"
] | null | null | null | src/connectors/impls/ws/client.rs | scrabsha/tremor-runtime | 8361e2facafb49a73ac553a9bf7f52d65af1bc63 | [
"Apache-2.0"
] | null | null | null | src/connectors/impls/ws/client.rs | scrabsha/tremor-runtime | 8361e2facafb49a73ac553a9bf7f52d65af1bc63 | [
"Apache-2.0"
] | null | null | null | // Copyright 2021, The Tremor Team
//
// 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... | 36.359091 | 107 | 0.589574 |
596363c581d0c7fabb33562fe8026779fd18663a | 137 | dart | Dart | example/lib/scenario_session.dart | nightscape/Ogurets | 24510eb0ab392aff6f7abd04b451b0613d7c2991 | [
"BSD-2-Clause"
] | 8 | 2019-07-05T17:16:07.000Z | 2022-02-24T00:26:49.000Z | example/lib/scenario_session.dart | nightscape/Ogurets | 24510eb0ab392aff6f7abd04b451b0613d7c2991 | [
"BSD-2-Clause"
] | 15 | 2019-07-27T23:35:07.000Z | 2021-05-17T06:52:43.000Z | example/lib/scenario_session.dart | nightscape/Ogurets | 24510eb0ab392aff6f7abd04b451b0613d7c2991 | [
"BSD-2-Clause"
] | 6 | 2019-05-27T08:22:55.000Z | 2021-05-16T00:11:51.000Z |
class ScenarioSession {
ScenarioSession() {
print("created scenario session");
}
Map<String, Object> sharedStepData = {};
} | 13.7 | 42 | 0.664234 |
456a915f9a8a99e8d44f0da04b2fd5cea6f30ea0 | 9,109 | py | Python | backend/models/tribe.py | msoltysik/innovativeproject-health-care | 972000b3d3de79ced19e76cc7a15bc8c2136db0f | [
"MIT"
] | null | null | null | backend/models/tribe.py | msoltysik/innovativeproject-health-care | 972000b3d3de79ced19e76cc7a15bc8c2136db0f | [
"MIT"
] | null | null | null | backend/models/tribe.py | msoltysik/innovativeproject-health-care | 972000b3d3de79ced19e76cc7a15bc8c2136db0f | [
"MIT"
] | null | null | null | from datetime import date, datetime
from dateutil.relativedelta import relativedelta
from flask import abort
from backend.app import db
from backend.models import Survey, Period, Team, Answer
class Tribe(db.Model):
__tablename__ = 'tribes'
id = db.Column(db.Integer, primary_key=True)
name = db.Column(d... | 28.825949 | 78 | 0.516632 |
4ccd5bafda00358b31ed81736bd695b199f29aff | 54 | py | Python | 2413.py | Brincando-de-codigo/urionlinejudge | 9bba8ba7c714494231c4979487c9efce55901342 | [
"MIT"
] | null | null | null | 2413.py | Brincando-de-codigo/urionlinejudge | 9bba8ba7c714494231c4979487c9efce55901342 | [
"MIT"
] | null | null | null | 2413.py | Brincando-de-codigo/urionlinejudge | 9bba8ba7c714494231c4979487c9efce55901342 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
t = int(input())
print(t * 4) | 13.5 | 23 | 0.481481 |
14d0b8e0a99479f6508921419ad3a3e63e47fd9b | 385 | ts | TypeScript | dev/contacts/contact.service.ts | j620656786206/Angular-2 | 20a8f5660848de4351ed54b680d95d35aca66377 | [
"MIT"
] | 1 | 2016-07-25T21:41:46.000Z | 2016-07-25T21:41:46.000Z | dev/contacts/contact.service.ts | j620656786206/Angular-2 | 20a8f5660848de4351ed54b680d95d35aca66377 | [
"MIT"
] | null | null | null | dev/contacts/contact.service.ts | j620656786206/Angular-2 | 20a8f5660848de4351ed54b680d95d35aca66377 | [
"MIT"
] | null | null | null | /**
* Created by j on 2016/7/14.
*/
import {Injectable} from "angular2/core";
import {CONTACT} from "./mock-contact";
import {Contact} from "./contact";
@Injectable()
export class ContactService {
getContacts() {
return Promise.resolve(CONTACT);
}
insertContact(contact: Contact){
Promise.resolve(CONTA... | 21.388889 | 83 | 0.680519 |
1896d6c01b80e78a95fcce41bcccbd33fc625a81 | 914 | swift | Swift | Sources/Classes/Extensions/UnfairLock.swift | nik3212/SwiftySynchronized | 128219266d02d23dab03be7dbb4ad4f9c55bb3c8 | [
"MIT"
] | null | null | null | Sources/Classes/Extensions/UnfairLock.swift | nik3212/SwiftySynchronized | 128219266d02d23dab03be7dbb4ad4f9c55bb3c8 | [
"MIT"
] | null | null | null | Sources/Classes/Extensions/UnfairLock.swift | nik3212/SwiftySynchronized | 128219266d02d23dab03be7dbb4ad4f9c55bb3c8 | [
"MIT"
] | null | null | null | //
// UnfairLock.swift
// SwiftySynchronized
//
// Created by Никита Васильев on 05.06.2020.
// Copyright © 2020 Никита Васильев. All rights reserved.
//
import Foundation
@available (iOS 10.0, macOS 10.12, tvOS 10.0, watchOS 3.0, *)
public class UnfairLock {
// MARK: Private Properties
private var lock:... | 24.052632 | 65 | 0.625821 |
e2615aca9a605a8f0f65a9dc5ea0baf398dcd04b | 3,160 | py | Python | setup.py | dzonerzy/Fridafy | cafa149b20e5a58b6a5e30f57cae5682eb9326bd | [
"MIT"
] | 2 | 2017-06-12T08:46:42.000Z | 2017-06-12T10:40:07.000Z | setup.py | dzonerzy/Fridafy | cafa149b20e5a58b6a5e30f57cae5682eb9326bd | [
"MIT"
] | null | null | null | setup.py | dzonerzy/Fridafy | cafa149b20e5a58b6a5e30f57cae5682eb9326bd | [
"MIT"
] | null | null | null | """
MIT License
Copyright (c) 2017 Daniele Linguaglossa
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, modify, merge, p... | 37.176471 | 126 | 0.701582 |
c5700ce913746d0ee778be08e353252e90c10fcd | 800 | css | CSS | src/app/components/admin/dynamic/fase-reacciones/fase-reacciones.component.css | JuanDavid31/inv-frontend | 71a4f64c6c01fa68b6876da98c2a3bbe35cbdf69 | [
"MIT"
] | null | null | null | src/app/components/admin/dynamic/fase-reacciones/fase-reacciones.component.css | JuanDavid31/inv-frontend | 71a4f64c6c01fa68b6876da98c2a3bbe35cbdf69 | [
"MIT"
] | 6 | 2021-01-11T14:37:57.000Z | 2022-01-22T08:15:58.000Z | src/app/components/admin/dynamic/fase-reacciones/fase-reacciones.component.css | JuanDavid31/inv-frontend | 71a4f64c6c01fa68b6876da98c2a3bbe35cbdf69 | [
"MIT"
] | null | null | null | @media (max-width: 576px){
#modal-visualizacion-imagen-nodo div.modal-body{
width: initial;
}
}
.main-content{
display: flex;
flex-direction: column;
padding: 0px 15px;
}
.ctrl{
padding: 8px 6px;
display: flex;
flex-wrap: wrap;
}
#cy{
background-color: white;
display: block;
flex-grow: 1;
hei... | 14.035088 | 49 | 0.67 |
e08ae1df07be20922df85d060498f2ea01c7ea45 | 951 | h | C | FluidFrameworkIOS/FluidFrameworkIOS/FluidFramework/src/com/sponberg/fluid/datastore/SQLInsert.h | nphkh/fluid-framework | f7ee944d0df257695a0172e55f81d366fd9eca67 | [
"MIT"
] | 1 | 2021-02-22T21:15:28.000Z | 2021-02-22T21:15:28.000Z | FluidFrameworkIOS/FluidFrameworkIOS/FluidFramework/src/com/sponberg/fluid/datastore/SQLInsert.h | nphkh/fluid-framework | f7ee944d0df257695a0172e55f81d366fd9eca67 | [
"MIT"
] | null | null | null | FluidFrameworkIOS/FluidFrameworkIOS/FluidFramework/src/com/sponberg/fluid/datastore/SQLInsert.h | nphkh/fluid-framework | f7ee944d0df257695a0172e55f81d366fd9eca67 | [
"MIT"
] | 2 | 2015-03-09T04:23:59.000Z | 2015-03-30T00:23:17.000Z | //
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: src-delomboked/com/sponberg/fluid/datastore/SQLInsert.java
//
#ifndef _FFTSQLInsert_H_
#define _FFTSQLInsert_H_
@class FFTSQLParameterizedStatement;
@protocol FFTSQLDataInput;
@protocol FFTSQLTable;
#import "JreEmulation.h"
#include "com/sponberg/f... | 21.613636 | 70 | 0.783386 |
ae2812900614845e2ef78b3eb60e53d45e16e57d | 49,332 | cs | C# | src/CSharp/CSharp/SyntaxInfo.cs | tinoji/Roslynator | c6db692b543ba8afc047765aa0f8fccabf4f9520 | [
"Apache-2.0"
] | 1 | 2021-02-14T06:57:33.000Z | 2021-02-14T06:57:33.000Z | src/CSharp/CSharp/SyntaxInfo.cs | ADIX7/Roslynator.Unity | 6f89c3cccf185bd72e5ea703723024bb9e488de4 | [
"Apache-2.0"
] | null | null | null | src/CSharp/CSharp/SyntaxInfo.cs | ADIX7/Roslynator.Unity | 6f89c3cccf185bd72e5ea703723024bb9e488de4 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Roslynator.CSharp.Syntax;
namespace Roslynator.CSharp... | 41.94898 | 160 | 0.623287 |
3ed1fc4937f46e09ee03fe6aaf64320c121f3f09 | 283 | kt | Kotlin | tmp/arrays/youTrackTests/2388.kt | vitekkor/bbfgradle | b4ec701a7a3b7523db97631fa0ed6484149ca9cd | [
"Apache-2.0"
] | 1 | 2021-04-06T16:59:24.000Z | 2021-04-06T16:59:24.000Z | tmp/arrays/youTrackTests/2388.kt | vitekkor/bbfgradle | b4ec701a7a3b7523db97631fa0ed6484149ca9cd | [
"Apache-2.0"
] | null | null | null | tmp/arrays/youTrackTests/2388.kt | vitekkor/bbfgradle | b4ec701a7a3b7523db97631fa0ed6484149ca9cd | [
"Apache-2.0"
] | 11 | 2020-03-23T08:28:36.000Z | 2022-03-22T07:04:42.000Z | // Original bug: KT-26761
interface A {
fun a() {}
}
open class B : A {
fun b() {}
}
interface C : A {
fun c() {}
}
fun test() {
val vb = B()
if (vb !is C) {
return
}
vb.run {//this: A
a()
c() //unresolved reference: c
}
}
| 11.791667 | 38 | 0.424028 |
76ef17d825718789f36df7180e81423daac9baf5 | 7,561 | h | C | externals/IBK/src/IBK_memory_usage.h | Arombolosh/PVTool | 043f4c94b1f473e6e26b2ee0da8e6a064d9343c5 | [
"BSD-3-Clause"
] | 2 | 2020-06-03T08:22:25.000Z | 2020-06-04T13:05:19.000Z | externals/IBK/src/IBK_memory_usage.h | Arombolosh/PVTool | 043f4c94b1f473e6e26b2ee0da8e6a064d9343c5 | [
"BSD-3-Clause"
] | null | null | null | externals/IBK/src/IBK_memory_usage.h | Arombolosh/PVTool | 043f4c94b1f473e6e26b2ee0da8e6a064d9343c5 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2001-2017, Institut für Bauklimatik, TU Dresden, Germany
Written by A. Nicolai, H. Fechner, St. Vogelsang, A. Paepcke, J. Grunewald
All rights reserved.
This file is part of the IBK Library.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided ... | 26.529825 | 98 | 0.717894 |
7be5ca31c547b2059ef8f156e08e43282260911a | 2,197 | cpp | C++ | src/main.cpp | cppvoid/i3diashow | 103cfe6fc69a862cadd1930e99890d6aaab87aff | [
"MIT"
] | null | null | null | src/main.cpp | cppvoid/i3diashow | 103cfe6fc69a862cadd1930e99890d6aaab87aff | [
"MIT"
] | null | null | null | src/main.cpp | cppvoid/i3diashow | 103cfe6fc69a862cadd1930e99890d6aaab87aff | [
"MIT"
] | null | null | null | #include <boost/program_options.hpp>
#include <iostream>
#include <typeinfo>
#include <stdexcept>
#include <string>
#include <cstdint>
#include "diashow.h"
#include "single_instance.h"
extern "C"
{
#include "daemon.h"
#include <syslog.h>
#include <sys/types.h>
}
int main(int argc, char** argv) try
{
boost::program... | 18.462185 | 87 | 0.613109 |
835425ca4cf42e56b733dd5a2d21a0677ad11253 | 638 | ts | TypeScript | api/types.ts | DaeronAlagos/warcry-statshammer | 7afccf074bc98b700c4b04e315576901b98c86ad | [
"MIT"
] | 7 | 2020-02-16T11:48:14.000Z | 2022-03-24T04:05:05.000Z | api/types.ts | DaeronAlagos/warcry-statshammer | 7afccf074bc98b700c4b04e315576901b98c86ad | [
"MIT"
] | 14 | 2020-02-03T07:33:14.000Z | 2021-09-02T06:02:47.000Z | api/types.ts | DaeronAlagos/warcry-statshammer | 7afccf074bc98b700c4b04e315576901b98c86ad | [
"MIT"
] | 2 | 2020-08-26T08:42:16.000Z | 2021-04-04T14:29:14.000Z | export interface IDamage {
hit: number;
crit: number;
}
export interface ITarget {
toughness: number;
}
export interface IProfile {
attacks: number;
strength: number;
damage: IDamage;
}
export interface IFighter {
name: string;
profile: IProfile;
}
export type TVector = number[];
export type TMatrix... | 15.560976 | 40 | 0.69279 |
f7e592368882d58b60b245d8875ec0fb154ad8cf | 386 | rb | Ruby | spec/fixtures/controllers/with_except_parameter_controller.rb | chubarovNick/expose_query | d9843f8f74557c1c41bc0e393c28723f3c5d5643 | [
"MIT"
] | null | null | null | spec/fixtures/controllers/with_except_parameter_controller.rb | chubarovNick/expose_query | d9843f8f74557c1c41bc0e393c28723f3c5d5643 | [
"MIT"
] | null | null | null | spec/fixtures/controllers/with_except_parameter_controller.rb | chubarovNick/expose_query | d9843f8f74557c1c41bc0e393c28723f3c5d5643 | [
"MIT"
] | null | null | null | require 'action_controller'
require 'decent_exposure/expose'
class Controllers::WithExceptParameterController < ActionController::Base
expose(:birds)
expose(:another_birds, model: :bird)
expose_query DummyQuery
expose_query NewDummyQuery, except: :another_birds
decent_configuration do
strategy DecentEx... | 20.315789 | 73 | 0.787565 |
e830bbccb55485c8e07e01ff5bc4e82b16467a4d | 2,494 | cs | C# | IGDB.DotNet.Models/Company.cs | Kuchulem/IGDB.DotNet | 4f1649b851a2087ba170240a943dd72621baad94 | [
"MIT"
] | null | null | null | IGDB.DotNet.Models/Company.cs | Kuchulem/IGDB.DotNet | 4f1649b851a2087ba170240a943dd72621baad94 | [
"MIT"
] | null | null | null | IGDB.DotNet.Models/Company.cs | Kuchulem/IGDB.DotNet | 4f1649b851a2087ba170240a943dd72621baad94 | [
"MIT"
] | 1 | 2021-03-16T10:32:33.000Z | 2021-03-16T10:32:33.000Z | using IGDB.DotNet.Models.Enums;
using System;
using System.Collections.Generic;
namespace IGDB.DotNet.Models
{
///<summary>
/// Model description for Company
///</summary>
public class Company : IEndpoint
{
/// <summary>
/// Id
/// </summary>
public ulong Id { get;... | 22.672727 | 80 | 0.477947 |
7af60196150a709c54d5e548c72c02b460e4c735 | 6,453 | nse | Lua | app/src/main/assets/nmap/share/nmap/scripts/sslv2.nse | gsingh93/ipscanner | 82f454a6c23fa94c79f0ad9bcac5aae7a6fc4f09 | [
"MIT"
] | 7 | 2015-01-22T00:15:01.000Z | 2019-02-24T08:26:45.000Z | app/src/main/assets/nmap/share/nmap/scripts/sslv2.nse | gsingh93/ipscanner | 82f454a6c23fa94c79f0ad9bcac5aae7a6fc4f09 | [
"MIT"
] | 1 | 2015-07-01T17:22:07.000Z | 2015-07-01T17:22:07.000Z | app/src/main/assets/nmap/share/nmap/scripts/sslv2.nse | gsingh93/ipscanner | 82f454a6c23fa94c79f0ad9bcac5aae7a6fc4f09 | [
"MIT"
] | 7 | 2015-01-22T12:07:05.000Z | 2019-02-19T22:53:01.000Z | description = [[
Determines whether the server supports obsolete and less secure SSLv2, and discovers which ciphers it
supports.
]]
---
--@output
-- 443/tcp open https syn-ack
-- | sslv2: server still supports SSLv2
-- | SSL2_RC4_128_WITH_MD5
-- | SSL2_DES_192_EDE3_CBC_WITH_MD5
-- | SSL2_RC2_CBC... | 27.935065 | 101 | 0.704943 |
d35235bca40327474a07f6d75dbcafb1affcb9c2 | 592 | rs | Rust | implementations/rust/ockam/ockam_core/src/vault/asymmetric_vault.rs | 0x00A5/ockam | 9710804e20606e70057d65c70d1af7236194aeeb | [
"Apache-2.0"
] | null | null | null | implementations/rust/ockam/ockam_core/src/vault/asymmetric_vault.rs | 0x00A5/ockam | 9710804e20606e70057d65c70d1af7236194aeeb | [
"Apache-2.0"
] | null | null | null | implementations/rust/ockam/ockam_core/src/vault/asymmetric_vault.rs | 0x00A5/ockam | 9710804e20606e70057d65c70d1af7236194aeeb | [
"Apache-2.0"
] | null | null | null | use crate::vault::{KeyId, PublicKey};
use crate::Result;
use crate::{async_trait, compat::boxed::Box};
/// Defines the Vault interface for asymmetric encryption.
#[async_trait]
pub trait AsymmetricVault {
/// Compute Elliptic-Curve Diffie-Hellman using this secret key
/// and the specified uncompressed public ... | 37 | 91 | 0.722973 |
da6dd85ac09da0258c31329d989a97d485eae1db | 420 | php | PHP | web/admin/admin-header.php | Michaelbest1/ojnju | 73ddc4f993366efe3f7f9b5fc82e0c682ee84283 | [
"Apache-2.0"
] | null | null | null | web/admin/admin-header.php | Michaelbest1/ojnju | 73ddc4f993366efe3f7f9b5fc82e0c682ee84283 | [
"Apache-2.0"
] | null | null | null | web/admin/admin-header.php | Michaelbest1/ojnju | 73ddc4f993366efe3f7f9b5fc82e0c682ee84283 | [
"Apache-2.0"
] | null | null | null | <?php @session_start();?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel=stylesheet href='../include/hoj.css' type='text/css'>
<?php if (!(isset($_SESSION['administrator'])||
isset($_SESSION['contest_creator'])||
isset($_SESSION['problem_editor']))){
echo "<a href='../loginpa... | 32.307692 | 68 | 0.647619 |
1a39bcb025695ed8101e191b47f63b71b2fe49cf | 3,028 | lua | Lua | premake5.lua | thomasw04/Phys75 | 55866da5da469f3552e3bb7c5bc9b7adc2581b44 | [
"Apache-2.0"
] | 1 | 2021-12-31T17:28:06.000Z | 2021-12-31T17:28:06.000Z | premake5.lua | thomasw04/Phys75 | 55866da5da469f3552e3bb7c5bc9b7adc2581b44 | [
"Apache-2.0"
] | null | null | null | premake5.lua | thomasw04/Phys75 | 55866da5da469f3552e3bb7c5bc9b7adc2581b44 | [
"Apache-2.0"
] | null | null | null | workspace "Phys75"
architecture "x64"
startproject "Phys75-Example"
configurations
{
"Debug",
"Release"
}
outputdirTarget = "bin/%{cfg.buildcfg}/%{cfg.system}"
outputdirObject = "bin-int/%{cfg.buildcfg}/%{cfg.system}"
include "ThirdParty/glad"
include "ThirdParty/g... | 18.925 | 61 | 0.518164 |
3fa06678f9571918b4bd2f717a47dafe38c3058f | 1,057 | rb | Ruby | Src/Interps/Ruby/ruby-1.8.6/lib/ruby/1.8/wx/classes/toolbar.rb | blueantst/Script.NET | 6214e00371b3c983ec68e0660b0c708a6d8b81e8 | [
"MIT"
] | 68 | 2015-02-01T10:42:09.000Z | 2021-08-05T06:30:35.000Z | Src/Interps/Ruby/ruby-1.8.6/lib/ruby/1.8/wx/classes/toolbar.rb | H1N2/Script.NET | 6214e00371b3c983ec68e0660b0c708a6d8b81e8 | [
"MIT"
] | 1 | 2016-10-11T15:47:35.000Z | 2016-10-28T12:32:00.000Z | Src/Interps/Ruby/ruby-1.8.6/lib/ruby/1.8/wx/classes/toolbar.rb | H1N2/Script.NET | 6214e00371b3c983ec68e0660b0c708a6d8b81e8 | [
"MIT"
] | 39 | 2015-03-03T15:11:24.000Z | 2022-03-20T05:31:57.000Z | # A set of buttons and controls attached to one edge of a Wx::Frame
class Wx::ToolBar
# Generic method to add items, supporting positional and named
# arguments
ADD_ITEM_PARAMS = [ Wx::Parameter[ :position, -1 ],
Wx::Parameter[ :id, -1 ],
Wx::Parameter[ :label, "" ],
... | 35.233333 | 70 | 0.550615 |
4fc98c34e89069603b47fc287f4a1c666a6db573 | 431 | rb | Ruby | lib/artist.rb | wdrougas/module-one-final-project-guidelines-dc-web-102819 | 4ca6ac9fa73eecb5499a79a40eef724652b80546 | [
"MIT"
] | null | null | null | lib/artist.rb | wdrougas/module-one-final-project-guidelines-dc-web-102819 | 4ca6ac9fa73eecb5499a79a40eef724652b80546 | [
"MIT"
] | null | null | null | lib/artist.rb | wdrougas/module-one-final-project-guidelines-dc-web-102819 | 4ca6ac9fa73eecb5499a79a40eef724652b80546 | [
"MIT"
] | null | null | null | class Artist < ActiveRecord::Base
has_many :concert_artists
has_many :concerts, through: :concert_artists
def venues
self.concerts.map do |concert|
concert.venue
end
end
def artist_number_of_concerts
self.concerts.count
end
def Artist.most_concerts... | 18.73913 | 49 | 0.62645 |
a397dcc1a6f9e20afc64fa69d4dbfd528491a1f4 | 6,833 | java | Java | editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/field/MultipleTextFieldWidget.java | woshi114/hippo-cms | baf4516e800202468f71892e9b82d72dd22f2056 | [
"Apache-2.0"
] | null | null | null | editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/field/MultipleTextFieldWidget.java | woshi114/hippo-cms | baf4516e800202468f71892e9b82d72dd22f2056 | [
"Apache-2.0"
] | null | null | null | editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/field/MultipleTextFieldWidget.java | woshi114/hippo-cms | baf4516e800202468f71892e9b82d72dd22f2056 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2008-2016 Hippo B.V. (http://www.onehippo.com)
*
* 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 req... | 37.13587 | 155 | 0.618908 |
da84f9f51879098f2fa340db37b9583664420fdd | 959 | php | PHP | tests/LanguagesTest.php | snippetify/programming-languages | e7acf276f3b6a708397a9b6de30473419eeda4f3 | [
"MIT"
] | null | null | null | tests/LanguagesTest.php | snippetify/programming-languages | e7acf276f3b6a708397a9b6de30473419eeda4f3 | [
"MIT"
] | null | null | null | tests/LanguagesTest.php | snippetify/programming-languages | e7acf276f3b6a708397a9b6de30473419eeda4f3 | [
"MIT"
] | null | null | null | <?php
/*
* This file is part of the snippetify package.
*
* (c) Evens Pierre <evenspierre@snippetify.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Snippetify\ProgrammingLanguages\Tests;
use PHPUnit\Framework\Tes... | 19.979167 | 74 | 0.655892 |
0e71d2b186419375869d1eb92c86aa887191071c | 879 | dart | Dart | examples_archive/site_tests/code/die.dart | teresy/site-www | 1b5ee2b7e99197458a6c9e0b2adb8548ebadb18b | [
"CC-BY-3.0"
] | 12 | 2018-05-17T08:16:11.000Z | 2019-10-18T15:50:48.000Z | examples_archive/site_tests/code/die.dart | teresy/site-www | 1b5ee2b7e99197458a6c9e0b2adb8548ebadb18b | [
"CC-BY-3.0"
] | 3 | 2021-05-06T10:40:49.000Z | 2021-09-28T05:36:44.000Z | examples_archive/site_tests/code/die.dart | teresy/site-www | 1b5ee2b7e99197458a6c9e0b2adb8548ebadb18b | [
"CC-BY-3.0"
] | 7 | 2018-06-25T09:51:09.000Z | 2019-11-10T06:47:52.000Z | import 'dart:math' show Random; // Import a class from a library.
void main() { // This is where the app starts executing.
print(new Die(n: 12).roll()); // Print a new object's value. Chain method calls.
}
class Die { // Define a class.
static Ran... | 36.625 | 90 | 0.52901 |
a6afc041636829a0e78ffbeb179c0d6e0df3f3c5 | 4,186 | rb | Ruby | db/schema.rb | marcusSimon12082015/ReactReduxProject_Comic_Book_Review_Corner | b558a86a7e6d0213cc0d642e89065fc0e21c1c49 | [
"MIT"
] | null | null | null | db/schema.rb | marcusSimon12082015/ReactReduxProject_Comic_Book_Review_Corner | b558a86a7e6d0213cc0d642e89065fc0e21c1c49 | [
"MIT"
] | null | null | null | db/schema.rb | marcusSimon12082015/ReactReduxProject_Comic_Book_Review_Corner | b558a86a7e6d0213cc0d642e89065fc0e21c1c49 | [
"MIT"
] | null | null | null | # This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# dat... | 35.777778 | 86 | 0.666269 |
4d91f750563bb28daec235eb1c129cac4a90584f | 4,051 | cs | C# | src/Standard.Runtime.Win32API/Source/Standard/Win32/NativeMethods.OSInfo.cs | SilviaHyde/standard | e746321044e269b5972adac9459de9ebd7384810 | [
"Apache-2.0",
"MIT"
] | 3 | 2018-02-18T17:48:58.000Z | 2021-07-27T11:12:26.000Z | src/Standard.Runtime.Win32API/Source/Standard/Win32/NativeMethods.OSInfo.cs | SilviaHyde/standard | e746321044e269b5972adac9459de9ebd7384810 | [
"Apache-2.0",
"MIT"
] | 1 | 2018-12-01T07:09:00.000Z | 2018-12-01T07:09:00.000Z | src/Standard.Runtime.Win32API/Source/Standard/Win32/NativeMethods.OSInfo.cs | SilviaHyde/standard | e746321044e269b5972adac9459de9ebd7384810 | [
"Apache-2.0",
"MIT"
] | 1 | 2019-02-16T08:13:58.000Z | 2019-02-16T08:13:58.000Z | using System;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Security;
namespace Standard.Win32
{
partial class NativeMethods
{
public const short VER_NT_WORKSTATION = 1;
public const short VER_NT_DOMAIN_CONTROLLER = 2;
public const short VER_NT_SERVER = 3;
... | 52.61039 | 149 | 0.692915 |
57faa7e097998fc0a3eeff0db7050def064a9f00 | 4,079 | php | PHP | DiffsResponse.php | spacedealer/factual-php-driver | 647366561986dc6ccbba560b80f9ed90fec62bb6 | [
"Apache-2.0"
] | 1 | 2021-12-26T01:09:08.000Z | 2021-12-26T01:09:08.000Z | DiffsResponse.php | spacedealer/factual-php-driver | 647366561986dc6ccbba560b80f9ed90fec62bb6 | [
"Apache-2.0"
] | null | null | null | DiffsResponse.php | spacedealer/factual-php-driver | 647366561986dc6ccbba560b80f9ed90fec62bb6 | [
"Apache-2.0"
] | null | null | null | <?php
/**
* The response from running a Diffs query
* @author Tyler
* @package Factual
* @license Apache 2.0
*/
class DiffsResponse extends FactualResponse {
protected $diffStart = null; //Start time. Unix timestamp in milliseconds
protected $diffEnd = null; //Optional end time. Unix timestamp in milliseconds... | 23.994118 | 97 | 0.629076 |
9e2f365b535bbe74d0475d5fdd88c4baacfe8bfe | 9,214 | cs | C# | MoreFactionInteraction/MoreFactionWar/IncidentWorker_SettlementBaseAttack.cs | Proxyer/MoreFactionInteraction | d8fa3d3ee5e04d689dd43c47f45f472237613722 | [
"MIT"
] | 1 | 2018-12-19T16:18:32.000Z | 2018-12-19T16:18:32.000Z | MoreFactionInteraction/MoreFactionWar/IncidentWorker_SettlementBaseAttack.cs | Proxyer/MoreFactionInteraction | d8fa3d3ee5e04d689dd43c47f45f472237613722 | [
"MIT"
] | null | null | null | MoreFactionInteraction/MoreFactionWar/IncidentWorker_SettlementBaseAttack.cs | Proxyer/MoreFactionInteraction | d8fa3d3ee5e04d689dd43c47f45f472237613722 | [
"MIT"
] | null | null | null | using System.Linq;
using System.Text;
using RimWorld;
using Verse;
using RimWorld.Planet;
namespace MoreFactionInteraction.MoreFactionWar
{
using General;
using JetBrains.Annotations;
[UsedImplicitly]
public class IncidentWorker_SettlementBaseAttack : IncidentWorker
{
public override floa... | 59.445161 | 323 | 0.667788 |
1b4307c2904400d50156faa03d688b15eb50a8cc | 368 | rb | Ruby | test/models/test_line_item_test.rb | sawdustofmind/rus_eng_dictionary | 33181c1d9c75557aebdb1e3cef10a16102cceb33 | [
"MIT"
] | null | null | null | test/models/test_line_item_test.rb | sawdustofmind/rus_eng_dictionary | 33181c1d9c75557aebdb1e3cef10a16102cceb33 | [
"MIT"
] | null | null | null | test/models/test_line_item_test.rb | sawdustofmind/rus_eng_dictionary | 33181c1d9c75557aebdb1e3cef10a16102cceb33 | [
"MIT"
] | null | null | null | require 'test_helper'
class TestLineItemTest < ActiveSupport::TestCase
fixtures :vocabulary_tests, :eng_words
test "uniqueness" do
vocabulary_tests(:one).test_line_items.build eng_word: eng_words(:move_noun)
assert_difference('TestLineItem.count', 0) do
vocabulary_tests(:one).test_line_items.build en... | 30.666667 | 82 | 0.774457 |
25887153fbb30e6c933657e4fcd15ab0173184cd | 144 | js | JavaScript | src/featuretype.js | kevinbeaty/storyturtle | bd8da2de25316d103fefe0c1021b99f61d74e35d | [
"MIT"
] | 1 | 2015-05-13T23:25:17.000Z | 2015-05-13T23:25:17.000Z | src/featuretype.js | kevinbeaty/storyturtle | bd8da2de25316d103fefe0c1021b99f61d74e35d | [
"MIT"
] | null | null | null | src/featuretype.js | kevinbeaty/storyturtle | bd8da2de25316d103fefe0c1021b99f61d74e35d | [
"MIT"
] | null | null | null | exports.FeatureType = FeatureType
function FeatureType(name, canvas){
this.name = name
this.canvas = canvas
}
var P = FeatureType.prototype
| 20.571429 | 35 | 0.763889 |
b0cd47b6ce2fe81cf9e9fd1a6bffd6b3bbd8fa34 | 4,717 | py | Python | examples/models/lorenz.py | martingu11/endas | e58be74e844efa14cbd86aba5e76dbc44fe690de | [
"MIT"
] | 1 | 2020-05-13T13:14:09.000Z | 2020-05-13T13:14:09.000Z | examples/models/lorenz.py | martingu11/endas | e58be74e844efa14cbd86aba5e76dbc44fe690de | [
"MIT"
] | 16 | 2020-07-13T14:51:01.000Z | 2020-07-14T08:59:16.000Z | examples/models/lorenz.py | martingu11/endas | e58be74e844efa14cbd86aba5e76dbc44fe690de | [
"MIT"
] | 1 | 2020-03-18T10:37:45.000Z | 2020-03-18T10:37:45.000Z | """
Toy models used for testing the data assimilation algorithms.
"""
import numpy as np
__all__ = [ 'Lorenz95' ]
# Used by the Lorenz95 evolution operator to represent model trajectory.
class L95Trajectory:
__slots__ = ['dt', 'k', 'x']
class Lorenz95:
"""
Lorenz 95 evolution operator.
The Lorenz... | 34.430657 | 112 | 0.515794 |
14690426c316a3b885186a84e876dc9bb0963d6c | 735 | ts | TypeScript | packages/core/src/utils/variantGroup.ts | xmsz/unocss | 9f1b4373c1aa54660431fdb1b79c7bbb267decec | [
"MIT"
] | null | null | null | packages/core/src/utils/variantGroup.ts | xmsz/unocss | 9f1b4373c1aa54660431fdb1b79c7bbb267decec | [
"MIT"
] | null | null | null | packages/core/src/utils/variantGroup.ts | xmsz/unocss | 9f1b4373c1aa54660431fdb1b79c7bbb267decec | [
"MIT"
] | null | null | null | export const regexClassGroup = /([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm
export function expandVariantGroup(str: string): string {
const replaces: [number, number, string][] = []
let match
// eslint-disable-next-line no-cond-assign
while ((match = regexClassGroup.exec(str))) {
const sta... | 36.75 | 104 | 0.597279 |
a131ade34e1cca09f4eb86b877a5b78bd5dde4a6 | 5,199 | tsx | TypeScript | src/Components/SearchBar/SearchBar.tsx | stump26/GGMapPay-frontend | 1e55f0e71c075331479be349a0d997860323959f | [
"MIT"
] | null | null | null | src/Components/SearchBar/SearchBar.tsx | stump26/GGMapPay-frontend | 1e55f0e71c075331479be349a0d997860323959f | [
"MIT"
] | 3 | 2021-03-10T16:36:14.000Z | 2022-02-27T03:58:22.000Z | src/Components/SearchBar/SearchBar.tsx | stump26/GGMapPay-frontend | 1e55f0e71c075331479be349a0d997860323959f | [
"MIT"
] | null | null | null | import React, { useContext, useState } from 'react';
import Dropdown from '~/Components/Dropdown';
import { GET_SEARCH_STORE_QUERY } from '~/graphql/querys';
import { IC_SEARCH } from '~/utils/icon';
import { LoadingContext } from '~/Context/LoadingContext';
import { ModalContext } from '~/Context/ModalContext';
impor... | 24.875598 | 100 | 0.624158 |
2540c3bb370f9ed9735bf4fd0b9dad7d4548238e | 314 | css | CSS | client/src/components/navigation/NavBar/NavBar.css | romedu/Todos-Desktop | 7893db287b13cfccac67481fabf5020af6c9c3d3 | [
"MIT"
] | 1 | 2019-04-22T22:53:37.000Z | 2019-04-22T22:53:37.000Z | client/src/components/navigation/NavBar/NavBar.css | romedu/Todos-Desktop | 7893db287b13cfccac67481fabf5020af6c9c3d3 | [
"MIT"
] | 14 | 2020-09-04T11:15:33.000Z | 2022-03-08T22:15:13.000Z | client/src/components/navigation/NavBar/NavBar.css | romedu/Todos-Desktop | 7893db287b13cfccac67481fabf5020af6c9c3d3 | [
"MIT"
] | null | null | null | .NavBar {
position: fixed;
top: 0;
left: 0;
display: flex;
justify-content: space-between;
width: 97.6vw;
height: 10vh;
padding: 0 1.2vw;
z-index: 2;
background-color: #7FD1B9;
box-shadow: 0.5px 0.5px 5px black;
}
@media(max-width: 599px){
.NavBar {
display: none;
}
} | 16.526316 | 37 | 0.589172 |
1994a6cf7c1074e87b2aece2182d3c7595675541 | 558 | css | CSS | AccDC Technical Style Guide/Coding Arena/ARIA Listboxes/Standard Shell/css/customize.css | dontgoplastic/tsg | 31115e27eb01a3d1bc1c1bf1b6d1fdff78d32666 | [
"MIT"
] | 39 | 2015-01-14T18:02:29.000Z | 2018-01-24T23:52:00.000Z | AccDC Technical Style Guide/Coding Arena/ARIA Listboxes/Standard Shell/css/customize.css | dontgoplastic/tsg | 31115e27eb01a3d1bc1c1bf1b6d1fdff78d32666 | [
"MIT"
] | 11 | 2015-06-15T10:47:05.000Z | 2017-09-27T16:53:47.000Z | AccDC Technical Style Guide/Coding Arena/ARIA Listboxes/Standard Shell/css/customize.css | dontgoplastic/tsg | 31115e27eb01a3d1bc1c1bf1b6d1fdff78d32666 | [
"MIT"
] | 23 | 2015-01-30T05:27:51.000Z | 2018-01-25T16:42:16.000Z | /* The wrapper Div tag surrounding the listbox container */
.standardWrapper {
}
/* The list container element with role="listbox" */
#standardLB {
}
/* The childNodes of the list container element with role="listbox" */
#standardLB > li {
}
/* The listbox option elements with role="option" */
#standardLB > li > a {... | 19.928571 | 70 | 0.68638 |
e270a4ea692ce0bd236dcb8a612d6a871de5120c | 847 | js | JavaScript | mobile/src/routes.js | vetorazo/BeTheHero | 4e6003dd9111a32189ad774a2dd9ac83789c3dc4 | [
"MIT"
] | 1 | 2020-03-27T06:34:52.000Z | 2020-03-27T06:34:52.000Z | mobile/src/routes.js | vetorazo/BeTheHero | 4e6003dd9111a32189ad774a2dd9ac83789c3dc4 | [
"MIT"
] | 4 | 2021-05-11T08:13:38.000Z | 2022-02-18T23:46:44.000Z | mobile/src/routes.js | vetorazo/BeTheHero | 4e6003dd9111a32189ad774a2dd9ac83789c3dc4 | [
"MIT"
] | null | null | null | import React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator} from '@react-navigation/stack';
import Incidents from './pages/Incidents'
import Detail from './pages/Detail'
const AppStack = createStackNavigator();
//created two pages (Incident and Detail) wi... | 38.5 | 109 | 0.697757 |
25b923cc25635f6c40200be02f2ee38165618ff1 | 4,979 | cs | C# | Funeral.Core/Controllers/Ach/AchVdrController.cs | 15958105063/FuneralVue | f0a840718e60d6b1a9c7dcdcf08b6eadb8254a68 | [
"Apache-2.0"
] | 1 | 2021-02-22T18:00:05.000Z | 2021-02-22T18:00:05.000Z | Funeral.Core/Controllers/Ach/AchVdrController.cs | 15958105063/FuneralVue | f0a840718e60d6b1a9c7dcdcf08b6eadb8254a68 | [
"Apache-2.0"
] | null | null | null | Funeral.Core/Controllers/Ach/AchVdrController.cs | 15958105063/FuneralVue | f0a840718e60d6b1a9c7dcdcf08b6eadb8254a68 | [
"Apache-2.0"
] | null | null | null |
using AutoMapper;
using Funeral.Core.Common.HttpContextUser;
using Funeral.Core.IServices;
using Funeral.Core.Model;
using Funeral.Core.Model.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
... | 31.512658 | 173 | 0.519783 |
0aa54899e024c7562001658d862acffd3027c6c8 | 1,983 | cs | C# | PopOptBox.Optimisers.StructuredSearch.Test/NelderMeadSimplexOperationsManagerTests.cs | Clymsw/PopOptBox | 291eb06dcb7cd0879cf230a353972066608b7426 | [
"MIT"
] | 1 | 2019-09-11T14:02:43.000Z | 2019-09-11T14:02:43.000Z | PopOptBox.Optimisers.StructuredSearch.Test/NelderMeadSimplexOperationsManagerTests.cs | Clymsw/PopOptBox | 291eb06dcb7cd0879cf230a353972066608b7426 | [
"MIT"
] | 1 | 2019-09-23T08:29:13.000Z | 2019-09-23T08:29:13.000Z | PopOptBox.Optimisers.StructuredSearch.Test/NelderMeadSimplexOperationsManagerTests.cs | Clymsw/PopOptBox | 291eb06dcb7cd0879cf230a353972066608b7426 | [
"MIT"
] | 1 | 2020-06-23T21:07:58.000Z | 2020-06-23T21:07:58.000Z | using System;
using Xunit;
namespace PopOptBox.Optimisers.StructuredSearch.Test
{
public class NelderMeadSimplexOperationsManagerTests
{
[Theory]
[InlineData(1, 2, 0.5, 0.5, false)]
[InlineData(0.1, 1.1, 0.1, 0.1, false)]
[InlineData(-0.1, 1.1, 0.1, 0.1, true)]
[InlineDa... | 38.134615 | 110 | 0.540091 |
72191342d85ef99ce7e76fa5d36bace9d1b1d570 | 3,950 | dart | Dart | lib/main.dart | mtjsoft/wanandroid_flutter | 090fe4f9a998d9620f2c5eebc80150b65d881824 | [
"Apache-2.0"
] | 5 | 2020-07-22T03:03:24.000Z | 2020-10-27T10:08:33.000Z | lib/main.dart | mtjsoft/wanandroid_flutter | 090fe4f9a998d9620f2c5eebc80150b65d881824 | [
"Apache-2.0"
] | null | null | null | lib/main.dart | mtjsoft/wanandroid_flutter | 090fe4f9a998d9620f2c5eebc80150b65d881824 | [
"Apache-2.0"
] | 3 | 2020-07-27T06:18:29.000Z | 2021-08-03T12:21:00.000Z | import 'dart:convert';
import 'package:firstflutterapp/UnknownPage.dart';
import 'package:firstflutterapp/browser.dart';
import 'package:firstflutterapp/chapters/chapters_list.dart';
import 'package:firstflutterapp/chapters/wxarticle_chapters.dart';
import 'package:firstflutterapp/config/GlobalConfig.dart';
import 'pa... | 35.585586 | 109 | 0.704304 |
06f51f63cefa9a304eaaa5cfdae5223210b37837 | 7,240 | py | Python | morello/search_cache.py | samkaufman/morello | 20984494c39c0eba657254690b19a9265aa6cfcf | [
"BSD-2-Clause-Patent"
] | 2 | 2021-11-16T18:40:37.000Z | 2022-03-29T20:28:56.000Z | morello/search_cache.py | samkaufman/morello | 20984494c39c0eba657254690b19a9265aa6cfcf | [
"BSD-2-Clause-Patent"
] | null | null | null | morello/search_cache.py | samkaufman/morello | 20984494c39c0eba657254690b19a9265aa6cfcf | [
"BSD-2-Clause-Patent"
] | 1 | 2021-10-16T22:41:54.000Z | 2021-10-16T22:41:54.000Z | import contextlib
import math
import pathlib
import pickle
import warnings
from typing import Iterable, Iterator, NamedTuple, Optional, Tuple, Union
import atomicwrites
from frozendict import frozendict
from . import pruning
from .impl import Impl
from .specs import Spec
from .utils import next_power_of_two, zip_dict... | 33.364055 | 85 | 0.536878 |
5df2eff03c132fbed6173c40e486cf9e62cca2cd | 30 | hpp | C++ | oxygine/src/ox/json.hpp | savegame/oxygine-framework | bf49a097a86a2b99690a4fdc97efa73f2dfb70e4 | [
"MIT"
] | 803 | 2015-01-03T13:11:43.000Z | 2022-03-15T17:38:58.000Z | oxygine/src/ox/json.hpp | savegame/oxygine-framework | bf49a097a86a2b99690a4fdc97efa73f2dfb70e4 | [
"MIT"
] | 100 | 2015-01-07T17:07:56.000Z | 2021-12-21T20:09:20.000Z | oxygine/src/ox/json.hpp | savegame/oxygine-framework | bf49a097a86a2b99690a4fdc97efa73f2dfb70e4 | [
"MIT"
] | 265 | 2015-01-03T13:11:43.000Z | 2022-03-01T04:37:15.000Z | #include "oxygine/json/json.h" | 30 | 30 | 0.766667 |
bd7b0fa46f475e4afc2914fddf7a07551b5fa574 | 396 | sql | SQL | client/server/src/main/resources/install/config/init_users.sql | llh-exercise/angboot | eaadc7272303d830759444f0f72c03b86887f07f | [
"Apache-2.0"
] | 5 | 2019-04-07T16:28:30.000Z | 2020-07-19T08:13:43.000Z | client/server/src/main/resources/install/config/init_users.sql | llh-exercise/angboot | eaadc7272303d830759444f0f72c03b86887f07f | [
"Apache-2.0"
] | 18 | 2019-05-11T07:32:25.000Z | 2020-04-23T07:48:20.000Z | client/server/src/main/resources/install/config/init_users.sql | llh-exercise/angboot | eaadc7272303d830759444f0f72c03b86887f07f | [
"Apache-2.0"
] | 4 | 2019-08-07T08:13:08.000Z | 2021-03-01T10:21:05.000Z | CREATE TABLE t_users (
id int PRIMARY KEY auto_increment,
username VARCHAR(30) NOT NULL,
password VARCHAR(255) NOT NULL,
enabled BOOLEAN default TRUE,
isAdmin BOOLEAN DEFAULT FALSE
);
INSERT INTO t_users(username, password) VALUES
('admin', '$2a$10$WN.yYybAqz0PXrz5PHVoMes2XgmgnheanMqs6HZWroTDb1lgb7Lh2')... | 36 | 74 | 0.777778 |
2f19d98aa5aa364bc20fcae6866b1607c06bd950 | 203 | js | JavaScript | JavaScript Advanced/02.Unit Testing/Lab/Demo.js | svetlimladenov/JavaScript-Core | a2932ec9380f9ab6b6014b3f7a0214642e3ed09a | [
"MIT"
] | null | null | null | JavaScript Advanced/02.Unit Testing/Lab/Demo.js | svetlimladenov/JavaScript-Core | a2932ec9380f9ab6b6014b3f7a0214642e3ed09a | [
"MIT"
] | 10 | 2020-09-04T19:19:58.000Z | 2022-02-27T10:06:01.000Z | JavaScript Advanced/02.Unit Testing/Lab/Demo.js | svetlimladenov/JavaScript-Core | a2932ec9380f9ab6b6014b3f7a0214642e3ed09a | [
"MIT"
] | null | null | null | function solve(number) {
if (number <= 0)
{
throw new Error('Zaebi grumnah');
}
return number * 2;
}
try
{
console.log(solve(-2));
}catch (e) {
console.log(e.message);
}
| 13.533333 | 41 | 0.536946 |
a4956fd03900e90f7fbdb7a392e33dee9f8c5223 | 695 | php | PHP | content-agenda.php | brasadesign/alianca-residuos-zero-theme | dc3e75d287b8534b046fbda9f57eb70ca44bd075 | [
"MIT"
] | null | null | null | content-agenda.php | brasadesign/alianca-residuos-zero-theme | dc3e75d287b8534b046fbda9f57eb70ca44bd075 | [
"MIT"
] | 32 | 2015-05-04T10:10:54.000Z | 2015-09-18T02:02:02.000Z | content-agenda.php | brasadesign/alianca-residuos-zero-theme | dc3e75d287b8534b046fbda9f57eb70ca44bd075 | [
"MIT"
] | null | null | null | <?php
/* content agenda */
$date = DateTime::createFromFormat( 'Ymd', get_post_meta( get_the_ID(), 'agenda_data', true ) );
?>
<a href="<?php the_permalink();?>" class="col-sm-12 each">
<div class="data">
<span>
<?php echo $date->format('d');?>
</span>
<span>
<?php echo date_i18n( 'M', $date->getTimestamp(... | 28.958333 | 108 | 0.576978 |
74afa42d857b65def542583693ce81eed84137ef | 1,796 | sh | Shell | bin/test-env-scripts/setup-users.sh | uk-gov-mirror/hmcts.ia-docker | ec317a224fb9f22938a695487740ec1d815634a4 | [
"MIT"
] | 1 | 2020-02-26T12:01:10.000Z | 2020-02-26T12:01:10.000Z | bin/test-env-scripts/setup-users.sh | uk-gov-mirror/hmcts.ia-docker | ec317a224fb9f22938a695487740ec1d815634a4 | [
"MIT"
] | 34 | 2019-07-08T14:02:14.000Z | 2021-09-15T11:09:05.000Z | bin/test-env-scripts/setup-users.sh | uk-gov-mirror/hmcts.ia-docker | ec317a224fb9f22938a695487740ec1d815634a4 | [
"MIT"
] | 1 | 2021-04-10T22:37:44.000Z | 2021-04-10T22:37:44.000Z | #!/usr/bin/env bash
# Usage: ./setup-users.sh [csv file with user emails] [environment]
#
# Helper script to delete users from an input file with given email addresses.
#
USERS_FILE=$1
ENV=$2
if [ $# != 2 ]; then
echo "Usage: ./setup-users.sh <csv file to read the user records from> <environment - demo/ithc/aat/per... | 24.27027 | 157 | 0.618597 |
7732938c5a0dc04a8be1eca31e7f261c69cc2ef9 | 11,733 | py | Python | src/h3DQN_FR2/Agent.py | fgwy/uavSim | a58dc3149a52fc407c288c281eedb176738bd558 | [
"BSD-3-Clause"
] | 30 | 2020-11-16T10:23:33.000Z | 2022-03-17T15:57:25.000Z | src/h3DQN_FR2/Agent.py | fgwy/uavSim | a58dc3149a52fc407c288c281eedb176738bd558 | [
"BSD-3-Clause"
] | 4 | 2021-11-17T14:51:56.000Z | 2022-01-27T02:59:39.000Z | src/h3DQN_FR2/Agent.py | fgwy/uavSim | a58dc3149a52fc407c288c281eedb176738bd558 | [
"BSD-3-Clause"
] | 9 | 2020-11-27T08:29:52.000Z | 2022-01-17T18:30:58.000Z | import tensorflow as tf
from tensorflow.keras import Model
from tensorflow.keras.layers import Conv2D, Dense, Flatten, Concatenate, Input, AvgPool2D
import numpy as np
def print_node(x):
print(x)
return x
class DDQNAgentParams:
def __init__(self):
# Convolutional part config
self.conv_... | 43.779851 | 120 | 0.653371 |
f4930c8817e6625711586519db1458b493c9cba5 | 107 | ts | TypeScript | src/app/hero.ts | jinglejohn/myapp | 761b241c9241a302a3615ad71da4ba0ce1a2badc | [
"MIT"
] | null | null | null | src/app/hero.ts | jinglejohn/myapp | 761b241c9241a302a3615ad71da4ba0ce1a2badc | [
"MIT"
] | null | null | null | src/app/hero.ts | jinglejohn/myapp | 761b241c9241a302a3615ad71da4ba0ce1a2badc | [
"MIT"
] | null | null | null | export class Hero {
constructor (
public id: number,
public name: string) {
this.name = name;
}
} | 15.285714 | 25 | 0.635514 |
3f6bb7bc394f86db38881fb1540958fefe02c9b0 | 14,837 | php | PHP | resources/views/layouts/details.blade.php | sai556/Sample | 1742288096ad8c3a9f2771e8716a8e22a4e86f3e | [
"MIT"
] | null | null | null | resources/views/layouts/details.blade.php | sai556/Sample | 1742288096ad8c3a9f2771e8716a8e22a4e86f3e | [
"MIT"
] | null | null | null | resources/views/layouts/details.blade.php | sai556/Sample | 1742288096ad8c3a9f2771e8716a8e22a4e86f3e | [
"MIT"
] | null | null | null | <div class="col-sm-12 emp-div">
<div class="">
<form id="edit-employee-details" method="post" enctype="multipart/form-data">
<h4 style="margin-left: 10px;font-weight: bold;border-bottom: 2px solid #2e6da4;">New Employee Details</h4>
<div class="col-sm-6">
<div class... | 62.340336 | 227 | 0.442003 |
662402b678170cd94e10093be0e081ee006f4a55 | 1,186 | py | Python | app/static/hindi-dependency-parser-2.0/hindi-pos-tagger/bin/normalize_bojar_lrec_2010.py | griimx/feature-mlsite | a66201c6b165d306d81110a05ee89d283f9b5e1e | [
"MIT"
] | null | null | null | app/static/hindi-dependency-parser-2.0/hindi-pos-tagger/bin/normalize_bojar_lrec_2010.py | griimx/feature-mlsite | a66201c6b165d306d81110a05ee89d283f9b5e1e | [
"MIT"
] | 1 | 2019-12-16T20:48:36.000Z | 2019-12-16T20:48:36.000Z | app/static/hindi-dependency-parser-2.0/hindi-pos-tagger/bin/normalize_bojar_lrec_2010.py | griimick/feature-mlsite | 27e98c39f750708c5ded7f75483205b77267a988 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import sys
vowels_to_be_replaced= {}
def replace_null(from_chr_num, to_chr_num):
for x in range(from_chr_num, to_chr_num):
vowels_to_be_replaced[chr(x)]= ""
#replace_null(0x0900, 0x0904)
#replace_null(0x093A, 0x0950)
#replace_null(0x0951, 0x0958)
#replace_null(0x0962, 0x0964)
#rep... | 26.355556 | 47 | 0.683811 |
38a6a60acd408990b689f7059f4eb56310a0f9c4 | 14,078 | php | PHP | app/Http/Controllers/CustomerController.php | KlutzyBubbles/FrameworksAssignment | d11027e21e749776710ae25b3e52267610cbecdf | [
"Apache-2.0"
] | null | null | null | app/Http/Controllers/CustomerController.php | KlutzyBubbles/FrameworksAssignment | d11027e21e749776710ae25b3e52267610cbecdf | [
"Apache-2.0"
] | null | null | null | app/Http/Controllers/CustomerController.php | KlutzyBubbles/FrameworksAssignment | d11027e21e749776710ae25b3e52267610cbecdf | [
"Apache-2.0"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Customer;
use Illuminate\Http\Request;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\Session;
class CustomerControlle... | 52.334572 | 167 | 0.524648 |
b32a083225e910ddf453810fb037c41e1ebbe92f | 1,039 | py | Python | pokemongo_bot/event_handlers/telegram_handler.py | lythien/pokemongo | 802245edfc02083f97dbd984b93aaa8b8cd4b0a8 | [
"MIT"
] | null | null | null | pokemongo_bot/event_handlers/telegram_handler.py | lythien/pokemongo | 802245edfc02083f97dbd984b93aaa8b8cd4b0a8 | [
"MIT"
] | null | null | null | pokemongo_bot/event_handlers/telegram_handler.py | lythien/pokemongo | 802245edfc02083f97dbd984b93aaa8b8cd4b0a8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from pokemongo_bot.event_manager import EventHandler
import thread
import re
DEBUG_ON = False
class TelegramHandler(EventHandler):
def __init__(self, tbot,master,pokemons):
self.tbot = tbot
self.master=master
self.pokemons=pokemons
self.whoami="TelegramHandl... | 31.484848 | 98 | 0.556304 |
ef5cc610425da8d75764144eec2995bd5fc36f86 | 1,278 | h | C | lib/ogss.common.cpp/ogss/internal/ParseException.h | serialization/ogssView2 | 2ceb3e6c7ba116ab64584f148715d74c827ecdbe | [
"Apache-2.0"
] | 1 | 2019-10-26T07:31:58.000Z | 2019-10-26T07:31:58.000Z | jar-extras/deps/ogss.common.cpp/ogss/internal/ParseException.h | flyx/ogss | 4ebb65a29ca60978898c31172aff9b0156bdaf66 | [
"Apache-2.0"
] | 3 | 2019-10-28T09:42:27.000Z | 2021-08-24T15:29:42.000Z | jar-extras/deps/ogss.common.cpp/ogss/internal/ParseException.h | flyx/ogss | 4ebb65a29ca60978898c31172aff9b0156bdaf66 | [
"Apache-2.0"
] | 1 | 2019-10-28T08:51:01.000Z | 2019-10-28T08:51:01.000Z | //
// Created by Timm Felden on 27.11.15.
//
#ifndef SKILL_CPP_COMMON_PARSEEXCEPTION_H
#define SKILL_CPP_COMMON_PARSEEXCEPTION_H
#include "../api/Exception.h"
#include "../streams/FileInputStream.h"
namespace ogss {
namespace internal {
/**
* creates a parse exception
*/
inline... | 32.769231 | 111 | 0.553208 |
3f55d6f822c75c837af6b2b42306fa3ac8850b51 | 29,114 | php | PHP | src/core/DataStore.php | DERYKO/kool | 4493de548021b89a8688c84dd25880391ed7fbde | [
"MIT"
] | null | null | null | src/core/DataStore.php | DERYKO/kool | 4493de548021b89a8688c84dd25880391ed7fbde | [
"MIT"
] | null | null | null | src/core/DataStore.php | DERYKO/kool | 4493de548021b89a8688c84dd25880391ed7fbde | [
"MIT"
] | null | null | null | <?php
/**
* This file contains foundation class for datastore
*
* @author KoolPHP Inc (support@koolphp.net)
* @link https://www.koolphp.net
* @copyright KoolPHP Inc
* @license https://www.koolreport.com/license#mit-license
*/
namespace koolreport\core;
use IteratorAggregate;
use ArrayIterator;
use ... | 22.97869 | 113 | 0.58556 |
e8beaa53bc6121817f1c751d490019480a438881 | 670 | lua | Lua | system/vfs.lua | bhodgins/trotwood | 3d965002279a92c970ee2e108c032493b8a8473b | [
"BSD-3-Clause"
] | 2 | 2018-06-15T22:56:08.000Z | 2018-07-23T10:39:38.000Z | system/vfs.lua | bhodgins/trotwood | 3d965002279a92c970ee2e108c032493b8a8473b | [
"BSD-3-Clause"
] | null | null | null | system/vfs.lua | bhodgins/trotwood | 3d965002279a92c970ee2e108c032493b8a8473b | [
"BSD-3-Clause"
] | null | null | null | -- vfs.lua - Virtual Filesystem for Trotwood
local cb = require('lib/cb.lua')
local file = require('lib/file.lua')
cb.map ':open' (function(state, pid, uri, options)
-- TODO
end)
cb.map ':mount' (function(state, pid, namespace, pid) -- Map namespace to process PID
if state.mount[namespace] ~= nil then ... | 20.30303 | 86 | 0.614925 |
f03917a9787de1ca0789bc3d04de6d8d1f90bab2 | 7,461 | rs | Rust | src/backends/mos6502/parser/mod.rs | ncatelli/spasm | 89617149edf7198721d8b937b793b7418ff4ff55 | [
"Apache-2.0"
] | 3 | 2020-09-02T23:41:29.000Z | 2021-12-02T18:42:03.000Z | src/backends/mos6502/parser/mod.rs | ncatelli/spasm | 89617149edf7198721d8b937b793b7418ff4ff55 | [
"Apache-2.0"
] | 72 | 2020-07-19T13:37:27.000Z | 2022-03-11T02:30:19.000Z | src/backends/mos6502/parser/mod.rs | ncatelli/spasm | 89617149edf7198721d8b937b793b7418ff4ff55 | [
"Apache-2.0"
] | null | null | null | use crate::backends::mos6502::instruction_set::addressing_mode::{
AddressingModeOrReference, Symbol,
};
use crate::backends::mos6502::instruction_set::Instruction;
use isa_mos6502::{
addressing_mode::{AddressingMode, AddressingModeType},
mnemonic::Mnemonic,
};
use parcel::parsers::character::*;
use parcel::... | 33.308036 | 98 | 0.586517 |
d164cbf97cdfced2c9d742047650635792c28a31 | 106 | rs | Rust | src/shlwapi/ffi.rs | y15un/winsafe | a37bd0fbbeb9f51f27a9ab6dffab7cf2fe2feae2 | [
"MIT"
] | null | null | null | src/shlwapi/ffi.rs | y15un/winsafe | a37bd0fbbeb9f51f27a9ab6dffab7cf2fe2feae2 | [
"MIT"
] | null | null | null | src/shlwapi/ffi.rs | y15un/winsafe | a37bd0fbbeb9f51f27a9ab6dffab7cf2fe2feae2 | [
"MIT"
] | null | null | null | use crate::ffi_types::PVOID;
extern_sys! { "shlwapi";
SHCreateMemStream(*const u8, u32) -> PVOID
}
| 17.666667 | 44 | 0.669811 |
fdc665b44729fc429d49529c9fb70ab21116e214 | 2,972 | css | CSS | frontend/src/Components/Common/Button/Button.module.css | itsomkathe/voicey | ed2674a8b05963ecc697bca4c28e725f6c449266 | [
"MIT"
] | null | null | null | frontend/src/Components/Common/Button/Button.module.css | itsomkathe/voicey | ed2674a8b05963ecc697bca4c28e725f6c449266 | [
"MIT"
] | null | null | null | frontend/src/Components/Common/Button/Button.module.css | itsomkathe/voicey | ed2674a8b05963ecc697bca4c28e725f6c449266 | [
"MIT"
] | null | null | null | #buttonBlue {
background-color: #00a5f8;
box-shadow: -6px -6px 14px rgba(255, 255, 255, 0.7),
-6px -6px 10px rgba(255, 255, 255, 0.5),
6px 6px 8px rgba(255, 255, 255, 0.075), 6px 6px 10px rgba(0, 0, 0, 0.15),
inset -7px -7px 20px 0px hsl(200, 100%, 53%),
inset -4px -4px 5px 0px #... | 28.576923 | 81 | 0.610027 |
d63888524f4a2f2dc6e2092a27be0b9bc08877fd | 539 | cs | C# | src/Machete.HL7Schema/Generated/V26/Components/Maps/WVIMap.cs | amccool/Machete | 7bb8db195f22e1420287d2e146d50725a9d06a2a | [
"Apache-2.0"
] | 47 | 2017-04-26T12:07:48.000Z | 2021-02-18T22:03:41.000Z | src/Machete.HL7Schema/Generated/V26/Components/Maps/WVIMap.cs | amccool/Machete | 7bb8db195f22e1420287d2e146d50725a9d06a2a | [
"Apache-2.0"
] | 71 | 2017-05-01T00:50:03.000Z | 2020-08-30T18:57:15.000Z | src/Machete.HL7Schema/Generated/V26/Components/Maps/WVIMap.cs | amccool/Machete | 7bb8db195f22e1420287d2e146d50725a9d06a2a | [
"Apache-2.0"
] | 16 | 2017-05-01T15:42:53.000Z | 2022-01-20T03:02:17.000Z | // This file was automatically generated and may be regenerated at any
// time. To ensure any changes are retained, modify the tool with any segment/component/group/field name
// or type changes.
namespace Machete.HL7Schema.V26.Maps
{
using V26;
/// <summary>
/// WVI (ComponentMap) - Channel Identifier
... | 26.95 | 105 | 0.61039 |
a9676b871d4dea6c539e1d6173617888bf42f71c | 1,044 | psm1 | PowerShell | setup-script.psm1 | keyansheng/setup-script | 2fc033ad00cbc46bf634b08fc830f5fa3a53dab0 | [
"MIT"
] | null | null | null | setup-script.psm1 | keyansheng/setup-script | 2fc033ad00cbc46bf634b08fc830f5fa3a53dab0 | [
"MIT"
] | null | null | null | setup-script.psm1 | keyansheng/setup-script | 2fc033ad00cbc46bf634b08fc830f5fa3a53dab0 | [
"MIT"
] | null | null | null | function Install-Scoop {
Invoke-WebRequest -UseBasicParsing get.scoop.sh | Invoke-Expression
}
function Install-ScoopApps {
scoop install aria2
scoop install 7zip
scoop install git
scoop install gsudo
}
function Add-ScoopBuckets {
scoop bucket add extras
scoop bucket add nerd-fonts
sco... | 26.1 | 71 | 0.741379 |
fb51dd4116bffdbff5b4464104a04720f0a0e9ba | 4,462 | swift | Swift | Sources/PermissionsSwiftUI/Model/PermissionStore.swift | fnazarios/PermissionsSwiftUI | 79e36a4c76850cd90598f22d6a2fb80d0004841e | [
"MIT"
] | null | null | null | Sources/PermissionsSwiftUI/Model/PermissionStore.swift | fnazarios/PermissionsSwiftUI | 79e36a4c76850cd90598f22d6a2fb80d0004841e | [
"MIT"
] | null | null | null | Sources/PermissionsSwiftUI/Model/PermissionStore.swift | fnazarios/PermissionsSwiftUI | 79e36a4c76850cd90598f22d6a2fb80d0004841e | [
"MIT"
] | null | null | null | //
// PermissionModelSet.swift
//
//
// Created by Jevon Mao on 2/6/21.
//
import Foundation
import SwiftUI
//MARK: Storage
struct PermissionStore {
private init(){}
fileprivate static var mutableShared = PermissionStore()
static var shared:PermissionStore{
get{
mutableShared
... | 39.140351 | 180 | 0.628194 |
93ab8ef3df0d0d4dc05f45b401416eccee712d76 | 2,042 | cs | C# | test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/internal/XamlBinding/TSAlertArguments.cs | lavataste/TizenFX | 3fc9512605edf181efeaabfece170fe97fe51e9e | [
"Apache-2.0",
"MIT"
] | 149 | 2018-01-01T19:10:14.000Z | 2022-03-03T07:38:55.000Z | test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/internal/XamlBinding/TSAlertArguments.cs | lavataste/TizenFX | 3fc9512605edf181efeaabfece170fe97fe51e9e | [
"Apache-2.0",
"MIT"
] | 2,078 | 2017-12-27T05:26:36.000Z | 2022-03-31T10:49:53.000Z | test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/internal/XamlBinding/TSAlertArguments.cs | lavataste/TizenFX | 3fc9512605edf181efeaabfece170fe97fe51e9e | [
"Apache-2.0",
"MIT"
] | 394 | 2017-12-26T06:29:51.000Z | 2022-03-29T03:16:35.000Z | using global::System;
using NUnit.Framework;
using NUnit.Framework.TUnit;
using Tizen.NUI.Components;
using Tizen.NUI.BaseComponents;
using System.Reflection;
using System.Collections.Generic;
using Tizen.NUI.Binding;
namespace Tizen.NUI.Devel.Tests
{
using tlog = Tizen.Log;
[TestFixture]
[Description("i... | 30.939394 | 107 | 0.5857 |
dc16e876aaf0de5f0c0d68e4eb66bbcb3f77a246 | 722,631 | sql | SQL | sql/dbolplus.sql | ujangsuryana80/klikon | 70b805ecada4263d63edb426d6addde1c475f192 | [
"MIT"
] | null | null | null | sql/dbolplus.sql | ujangsuryana80/klikon | 70b805ecada4263d63edb426d6addde1c475f192 | [
"MIT"
] | null | null | null | sql/dbolplus.sql | ujangsuryana80/klikon | 70b805ecada4263d63edb426d6addde1c475f192 | [
"MIT"
] | null | null | null | /*
SQLyog Community Edition- MySQL GUI v6.14
MySQL - 5.6.16 : Database - dbolplus
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
create database if not exists `dbolplus`;
USE `dbolplus`;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIG... | 2,973.790123 | 623,188 | 0.717129 |
a36a78e5429466fb3abb213a3e0801be7b264c00 | 1,406 | ts | TypeScript | web-console/frontend/app-angular/components/form-field/error.component.ts | junphine/ignite | 716d1b06c55a277c11e093155c369daf23da22e2 | [
"CC0-1.0"
] | null | null | null | web-console/frontend/app-angular/components/form-field/error.component.ts | junphine/ignite | 716d1b06c55a277c11e093155c369daf23da22e2 | [
"CC0-1.0"
] | null | null | null | web-console/frontend/app-angular/components/form-field/error.component.ts | junphine/ignite | 716d1b06c55a277c11e093155c369daf23da22e2 | [
"CC0-1.0"
] | null | null | null | /*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gridgain.com/products/software/community-editi... | 36.051282 | 106 | 0.731152 |
cd9d49c52d72d520a29c7d627298a6577144171c | 479 | cs | C# | src/USchedule.Models/DTO/LocatorParameter.cs | stenvix/uschedule-api | e434d82f919272155e18f65b03bb0ed476000258 | [
"MIT"
] | 2 | 2021-02-07T10:03:25.000Z | 2021-02-22T17:12:00.000Z | src/USchedule.Models/DTO/LocatorParameter.cs | stenvix/uschedule-api | e434d82f919272155e18f65b03bb0ed476000258 | [
"MIT"
] | null | null | null | src/USchedule.Models/DTO/LocatorParameter.cs | stenvix/uschedule-api | e434d82f919272155e18f65b03bb0ed476000258 | [
"MIT"
] | null | null | null | using System;
namespace USchedule.Models.DTO
{
public class LocatorParameter
{
public LocatorParameter(string name, object value)
{
Name = name;
Value = value;
}
public LocatorParameter(Type type, object value)
{
Type = type;
... | 21.772727 | 58 | 0.521921 |
8ed240cc99ca6a685868b922be41a50326fcbb07 | 510 | js | JavaScript | src/server/graphql/modules/clinic/Query.js | MichaelSopko/medCRM | 1fb11c6522531dbc167eb8cfd1eba292d868271e | [
"MIT"
] | null | null | null | src/server/graphql/modules/clinic/Query.js | MichaelSopko/medCRM | 1fb11c6522531dbc167eb8cfd1eba292d868271e | [
"MIT"
] | null | null | null | src/server/graphql/modules/clinic/Query.js | MichaelSopko/medCRM | 1fb11c6522531dbc167eb8cfd1eba292d868271e | [
"MIT"
] | null | null | null | import ROLES from '../../../../helpers/constants/roles';
import { roleOnly } from '../../utils/decorators';
export default {
@roleOnly(ROLES.SYSTEM_ADMIN)
clinics(ignored1, ignored2, {Clinic}) {
return Clinic.query();
},
@roleOnly(ROLES.CLINIC_ADMIN)
administrators(ignored1, ignored2, context) {
return contex... | 28.333333 | 62 | 0.719608 |
1484844893dd43282036703844a522b23879c933 | 3,743 | kt | Kotlin | libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/ir/buildsystem/gradle/GradleIR.kt | Sathawale27/kotlin | 9dd201aaf243cf9198cf129b22d3aa38fcff182c | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-07-06T00:50:41.000Z | 2021-02-10T17:19:26.000Z | libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/ir/buildsystem/gradle/GradleIR.kt | Sathawale27/kotlin | 9dd201aaf243cf9198cf129b22d3aa38fcff182c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/ir/buildsystem/gradle/GradleIR.kt | Sathawale27/kotlin | 9dd201aaf243cf9198cf129b22d3aa38fcff182c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | package org.jetbrains.kotlin.tools.projectWizard.ir.buildsystem.gradle
import org.jetbrains.kotlin.tools.projectWizard.ir.buildsystem.*
import org.jetbrains.kotlin.tools.projectWizard.plugins.printer.BuildFilePrinter
import org.jetbrains.kotlin.tools.projectWizard.plugins.printer.GradlePrinter
interface GradleIR : Bu... | 26.928058 | 113 | 0.640663 |
7e447359ec097074ed45bc1c997ac71c0ab63e24 | 711 | rs | Rust | leetcode/src/heap/mod.rs | SmiteWindows/leetcode | 010d7e714c5a960dbb23a07f4aba85bba3450aad | [
"MIT"
] | 1 | 2021-05-13T16:15:20.000Z | 2021-05-13T16:15:20.000Z | leetcode/src/heap/mod.rs | SmiteWindows/leetcode | 010d7e714c5a960dbb23a07f4aba85bba3450aad | [
"MIT"
] | null | null | null | leetcode/src/heap/mod.rs | SmiteWindows/leetcode | 010d7e714c5a960dbb23a07f4aba85bba3450aad | [
"MIT"
] | null | null | null | // https://leetcode-cn.com/tag/heap/
pub mod leetcode1046;
pub mod leetcode1054;
pub mod leetcode1439;
pub mod leetcode215;
pub mod leetcode218;
pub mod leetcode23;
pub mod leetcode239;
pub mod leetcode264;
pub mod leetcode295;
pub mod leetcode313;
pub mod leetcode347;
pub mod leetcode355;
pub mod leetcode373;
pub mod ... | 20.911765 | 36 | 0.803094 |
b0bb7a14dd9d44636e1eee9c25e2ca6fd930c76b | 1,594 | py | Python | aidants_connect_web/mail.py | betagouv/Aidants_Connect | 2329d41545912460c4a43b5b41c892189fc1df11 | [
"MIT"
] | 16 | 2019-05-13T08:32:40.000Z | 2022-03-22T13:40:57.000Z | aidants_connect_web/mail.py | betagouv/Aidants_Connect | 2329d41545912460c4a43b5b41c892189fc1df11 | [
"MIT"
] | 207 | 2019-05-15T16:30:52.000Z | 2022-03-31T15:26:25.000Z | aidants_connect_web/mail.py | betagouv/Aidants_Connect | 2329d41545912460c4a43b5b41c892189fc1df11 | [
"MIT"
] | 12 | 2019-11-08T13:44:35.000Z | 2022-02-14T15:38:37.000Z | import json
from smtplib import SMTPException
from django.conf import settings
from django.core.mail.backends.smtp import EmailBackend
from django.core.mail.message import EmailMessage, sanitize_address
class ForceSpecificSenderBackend(EmailBackend):
"""
An email backend which forces sender email to setting... | 36.227273 | 87 | 0.671267 |