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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b0518d75fb6c1539ec406a12c1c23f326937ba27 | 489 | py | Python | Data Structures/Queue.py | Royals-Aeo-Gamer/MyPyMods | be3a521e9f823ce0b704f925b19f6f34dcb5405d | [
"MIT"
] | null | null | null | Data Structures/Queue.py | Royals-Aeo-Gamer/MyPyMods | be3a521e9f823ce0b704f925b19f6f34dcb5405d | [
"MIT"
] | null | null | null | Data Structures/Queue.py | Royals-Aeo-Gamer/MyPyMods | be3a521e9f823ce0b704f925b19f6f34dcb5405d | [
"MIT"
] | null | null | null | class queue:
def __init__(self):
self.main = []
self.max_c = 10
def deque(self):
del self.main[-1]
def enque(self,val):
if len(self.main) == self.max_c:
self.deque()
self.main.insert(0,val)
else:
self.main.insert(0,val)
def show(self):
return self.main
def __getitem__(self,index):
retu... | 18.111111 | 62 | 0.678937 |
25bdbc78ad2451a51a1ab5d92e88260c2452555e | 428 | rb | Ruby | spec/parser/input_set_spec.rb | ministryofjustice/smartdown | 4e5ef4e0020cf083b081e1d667f0bd27d6e6567e | [
"MIT"
] | 6 | 2015-01-08T15:35:25.000Z | 2015-08-21T17:40:31.000Z | spec/parser/input_set_spec.rb | ministryofjustice/smartdown | 4e5ef4e0020cf083b081e1d667f0bd27d6e6567e | [
"MIT"
] | 12 | 2015-01-08T10:14:06.000Z | 2015-09-22T10:16:01.000Z | spec/parser/input_set_spec.rb | ministryofjustice/smartdown | 4e5ef4e0020cf083b081e1d667f0bd27d6e6567e | [
"MIT"
] | 2 | 2019-08-29T11:36:15.000Z | 2021-04-10T20:02:31.000Z | require 'smartdown/parser/input_set'
require 'support/flow_input_interface'
describe Smartdown::Parser::InputSet do
it_should_behave_like "flow input interface"
end
describe Smartdown::Parser::InputData do
let(:name) { 'a name' }
let(:data) { 'some smartdown' }
subject { Smartdown::Parser::InputData.new(name,... | 26.75 | 58 | 0.740654 |
c38365e1d91124b9d94b179afc2828d174b2bb81 | 3,175 | cs | C# | XFOidcClient2Demo/XFOidcClient2Demo.iOS/OidcClient2Helper/BrowserImpl.cs | paoneJP/XFOidcClient2Demo | 287830eaaad35aaa43034246eef15ea3f5863e6d | [
"MIT"
] | null | null | null | XFOidcClient2Demo/XFOidcClient2Demo.iOS/OidcClient2Helper/BrowserImpl.cs | paoneJP/XFOidcClient2Demo | 287830eaaad35aaa43034246eef15ea3f5863e6d | [
"MIT"
] | null | null | null | XFOidcClient2Demo/XFOidcClient2Demo.iOS/OidcClient2Helper/BrowserImpl.cs | paoneJP/XFOidcClient2Demo | 287830eaaad35aaa43034246eef15ea3f5863e6d | [
"MIT"
] | null | null | null | /*
* IdendityModel.OidcClient2 Helper Library for Xamarin.Forms
* Author: Takashi Yahata (@paoneJP)
* Copyright: (c) 2018 Takashi Yahata
* License: MIT License
*/
using Foundation;
using IdentityModel.OidcClient.Browser;
using paoneJP.OidcClient2Helper.iOS;
using SafariServices;
using System;
using Sys... | 41.233766 | 120 | 0.63685 |
db83cabd1ff91f80477347dd51f8aafe9f7d8f86 | 2,358 | php | PHP | module/UserRegister/src/Controller/SearchController.php | tora0091/user_register_zf2 | 285296b8bf80967a5b4d9b272d4743e6086b38ad | [
"BSD-3-Clause"
] | null | null | null | module/UserRegister/src/Controller/SearchController.php | tora0091/user_register_zf2 | 285296b8bf80967a5b4d9b272d4743e6086b38ad | [
"BSD-3-Clause"
] | null | null | null | module/UserRegister/src/Controller/SearchController.php | tora0091/user_register_zf2 | 285296b8bf80967a5b4d9b272d4743e6086b38ad | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace UserRegister\Controller;
use UserRegister\Common\Exception\FileNotFoundException;
use Zend\View\Model\ViewModel;
class SearchController extends AbstractController
{
const TAMPLATE_INDEX = 'user-register/search/index';
const TAMPLATE_USER = 'user-register/search/user';
public function ind... | 35.19403 | 109 | 0.579304 |
14e5a970cdc49d6c2da2c2df2cc4908e8bcb35ba | 603 | ts | TypeScript | src/pages/entities/trainingday/trainingday-dialog.module.ts | f-hermes/hello-world | 60fb2d9c59390f6c47795a4e096f23a837ef3362 | [
"Apache-2.0"
] | null | null | null | src/pages/entities/trainingday/trainingday-dialog.module.ts | f-hermes/hello-world | 60fb2d9c59390f6c47795a4e096f23a837ef3362 | [
"Apache-2.0"
] | null | null | null | src/pages/entities/trainingday/trainingday-dialog.module.ts | f-hermes/hello-world | 60fb2d9c59390f6c47795a4e096f23a837ef3362 | [
"Apache-2.0"
] | null | null | null | import { NgModule } from '@angular/core';
import { TranslateModule } from '@ngx-translate/core';
import { IonicPageModule } from 'ionic-angular';
import { TrainingdayDialogPage } from './trainingday-dialog';
import { TrainingdayService } from './trainingday.provider';
@NgModule({
declarations: [
Trainingda... | 25.125 | 61 | 0.679934 |
90f235d810ab68c213b0cd272aebfb5d881ff288 | 482 | rs | Rust | libbit/src/cmd/bit_branch.rs | andyyu2004/bit | 4041637b56445b3857a256c8f552a79cdac307d2 | [
"MIT"
] | 2 | 2021-04-29T01:34:09.000Z | 2021-05-19T11:55:29.000Z | libbit/src/cmd/bit_branch.rs | andyyu2004/bit | 4041637b56445b3857a256c8f552a79cdac307d2 | [
"MIT"
] | 1 | 2021-05-28T07:34:19.000Z | 2021-05-28T07:34:19.000Z | libbit/src/cmd/bit_branch.rs | andyyu2004/bit | 4041637b56445b3857a256c8f552a79cdac307d2 | [
"MIT"
] | null | null | null | use crate::error::BitResult;
use crate::refs::{self, SymbolicRef};
use crate::repo::BitRepo;
use crate::rev::Revspec;
impl<'rcx> BitRepo<'rcx> {
pub fn bit_create_branch(self, name: &str, from: &Revspec) -> BitResult<SymbolicRef> {
ensure!(refs::is_valid_name(name), "invalid branch name `{}`", name);
... | 32.133333 | 90 | 0.645228 |
b7754f8a24f2eec03b0a4eb5550898756d22483f | 2,368 | cc | C++ | Alignment/ReferenceTrajectories/src/DualBzeroReferenceTrajectory.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-08-09T08:42:11.000Z | 2019-08-09T08:42:11.000Z | Alignment/ReferenceTrajectories/src/DualBzeroReferenceTrajectory.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | Alignment/ReferenceTrajectories/src/DualBzeroReferenceTrajectory.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-04-03T19:23:27.000Z | 2019-04-03T19:23:27.000Z |
#include "Alignment/ReferenceTrajectories/interface/DualBzeroReferenceTrajectory.h"
#include "TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h"
#include "DataFormats/CLHEP/interface/AlgebraicObjects.h"
#include "DataFormats/TrajectoryState/interface/LocalTrajectoryParameters.h"
#include "Alignme... | 43.851852 | 107 | 0.697213 |
725081f6d7dc1244d958441cdeb53cd0f823bafd | 2,477 | kt | Kotlin | src/main/java/de/hpi/tdgt/test/story/atom/assertion/ContentType.kt | hpides/Request-Generator | 40d7d8b02a74ea7fde840ed3d50e0563514bc9fe | [
"Apache-2.0"
] | null | null | null | src/main/java/de/hpi/tdgt/test/story/atom/assertion/ContentType.kt | hpides/Request-Generator | 40d7d8b02a74ea7fde840ed3d50e0563514bc9fe | [
"Apache-2.0"
] | null | null | null | src/main/java/de/hpi/tdgt/test/story/atom/assertion/ContentType.kt | hpides/Request-Generator | 40d7d8b02a74ea7fde840ed3d50e0563514bc9fe | [
"Apache-2.0"
] | null | null | null | /*
* WALT - A realistic load generator for web applications.
*
* Copyright 2020 Eric Ackermann <eric.ackermann@student.hpi.de>, Hendrik Bomhardt
* <hendrik.bomhardt@student.hpi.de>, Benito Buchheim
* <benito.buchheim@student.hpi.de>, Juergen Schlossbauer
* <juergen.schlossbauer@student.hpi.de>
*
* Licensed unde... | 39.31746 | 156 | 0.677432 |
358dbac3c2fe67bb7e7c65e440481557390039dd | 410 | sql | SQL | src/login/db.sql | mikeludemann/php-helpful-source-code | 90dc20d195007371947571a4fb8cd99f42b2d38b | [
"MIT"
] | null | null | null | src/login/db.sql | mikeludemann/php-helpful-source-code | 90dc20d195007371947571a4fb8cd99f42b2d38b | [
"MIT"
] | null | null | null | src/login/db.sql | mikeludemann/php-helpful-source-code | 90dc20d195007371947571a4fb8cd99f42b2d38b | [
"MIT"
] | null | null | null | CREATE TABLE `user` (
`id` INT( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`username` VARCHAR( 100 ) NOT NULL ,
`email` VARCHAR( 255 ) NOT NULL ,
`password` VARCHAR( 32 ) NOT NULL ,
UNIQUE (`username`)
);
INSERT INTO `user` (
`id` ,
`username` ,
`email` ,
`password`
) VALUES(
NULL , 'John Doe',... | 20.5 | 74 | 0.62439 |
7b56fe6b9e7bc30c1bb41a87f237c7c27360fc87 | 3,661 | rb | Ruby | spec/lib/memorable_spec.rb | zvkemp/memorable | ca3630cc72fa5ea6c4d85649a3add0687eb2a9ef | [
"MIT"
] | null | null | null | spec/lib/memorable_spec.rb | zvkemp/memorable | ca3630cc72fa5ea6c4d85649a3add0687eb2a9ef | [
"MIT"
] | null | null | null | spec/lib/memorable_spec.rb | zvkemp/memorable | ca3630cc72fa5ea6c4d85649a3add0687eb2a9ef | [
"MIT"
] | null | null | null | require_relative '../spec_helper'
require 'securerandom'
describe Memorable do
class DumDum
include Memorable
def uuid
memoize { SecureRandom.uuid }
end
def uuid=(str)
memoize!(:uuid) { str }
end
def guid
memoize(:some_key) { SecureRandom.guid }
end
end
specify {... | 24.245033 | 100 | 0.648184 |
1ab9dcd5dc715e8540317c8375031f6fd62b309f | 3,713 | py | Python | tests/wings_test.py | TuxEatPi/tuxdroid | 99bad3362621d93f640082e594f90368edb53f58 | [
"Apache-2.0"
] | 1 | 2019-04-30T15:57:05.000Z | 2019-04-30T15:57:05.000Z | tests/wings_test.py | TuxEatPi/tuxdroid | 99bad3362621d93f640082e594f90368edb53f58 | [
"Apache-2.0"
] | null | null | null | tests/wings_test.py | TuxEatPi/tuxdroid | 99bad3362621d93f640082e594f90368edb53f58 | [
"Apache-2.0"
] | null | null | null | import time
import pytest
from tuxdroid.wings import Wings
from tuxdroid.gpio import GPIO
from tuxdroid.errors import TuxDroidWingsError
class TestWings(object):
def test_wings_01(self):
# Defining callbacks
def left_callback():
self.left_pressed = True
def right_callback():... | 34.06422 | 64 | 0.607595 |
a4607b12221b07d39ccfc23c9641d3640db0bcf0 | 257 | php | PHP | src/Models/Metadata/CommunityThemeLayoutType.php | cnsdose/salesforce-php | 1ea252340ddc80a6eab6a82cbf52b1cb7b837729 | [
"MIT"
] | null | null | null | src/Models/Metadata/CommunityThemeLayoutType.php | cnsdose/salesforce-php | 1ea252340ddc80a6eab6a82cbf52b1cb7b837729 | [
"MIT"
] | null | null | null | src/Models/Metadata/CommunityThemeLayoutType.php | cnsdose/salesforce-php | 1ea252340ddc80a6eab6a82cbf52b1cb7b837729 | [
"MIT"
] | null | null | null | <?php
/**
* Created automatically by salesforce-sdk.
*/
namespace CNSDose\Salesforce\Models\Metadata;
use MyCLabs\Enum\Enum;
class CommunityThemeLayoutType extends Enum
{
const LOGIN = 'Login';
const HOME = 'Home';
const INNER = 'Inner';
}
| 16.0625 | 45 | 0.696498 |
8d6ff562bacb4ab4e34df4ed36e7e2f7a07e1da1 | 503 | es6 | JavaScript | open/error.es6 | DannyMcwaves/oo-fs | 8029ad84d229e5e767cea3c5800419ea20f22845 | [
"MIT"
] | 5 | 2016-12-31T16:09:18.000Z | 2021-07-07T07:33:51.000Z | open/error.es6 | DannyMcwaves/fs-util | 8029ad84d229e5e767cea3c5800419ea20f22845 | [
"MIT"
] | null | null | null | open/error.es6 | DannyMcwaves/fs-util | 8029ad84d229e5e767cea3c5800419ea20f22845 | [
"MIT"
] | null | null | null | // #! /usr/bin/env node
// this is the base error class from which all other errors within the package are raised.
// this error class inherits from the builtin error class.
class FSError extends Error{
constructor(message) {
super(message);
this.name = "FSError";
}
}
/*
try {
throw new... | 19.346154 | 91 | 0.658052 |
a3bed832493b71379755046d8828458d31538ab7 | 9,490 | java | Java | apps/bfd-pipeline/bfd-pipeline-rda-grpc/src/main/java/gov/cms/bfd/pipeline/rda/grpc/RdaServerJob.java | mjburling/beneficiary-fhir-data | 1ff4a55ab8cffbcc7a2e32eae1bf940cbc38a052 | [
"CC0-1.0"
] | null | null | null | apps/bfd-pipeline/bfd-pipeline-rda-grpc/src/main/java/gov/cms/bfd/pipeline/rda/grpc/RdaServerJob.java | mjburling/beneficiary-fhir-data | 1ff4a55ab8cffbcc7a2e32eae1bf940cbc38a052 | [
"CC0-1.0"
] | null | null | null | apps/bfd-pipeline/bfd-pipeline-rda-grpc/src/main/java/gov/cms/bfd/pipeline/rda/grpc/RdaServerJob.java | mjburling/beneficiary-fhir-data | 1ff4a55ab8cffbcc7a2e32eae1bf940cbc38a052 | [
"CC0-1.0"
] | null | null | null | package gov.cms.bfd.pipeline.rda.grpc;
import static gov.cms.bfd.pipeline.rda.grpc.server.RdaService.RDA_PROTO_VERSION;
import static java.lang.String.format;
import com.amazonaws.regions.Regions;
import com.amazonaws.services.s3.AmazonS3;
import com.google.common.annotations.VisibleForTesting;
import com.google.comm... | 39.053498 | 100 | 0.70137 |
784843e9222d3ea4f30ca29e8791539af8189fe4 | 41 | swift | Swift | Project Templates/Custom/Good Project.xctemplate/Extensions/Foundation/String+Extensions.swift | GoodRequest/Temple | 117abb4adc4a372ffc220c28effa2bca6d24d689 | [
"MIT"
] | null | null | null | Project Templates/Custom/Good Project.xctemplate/Extensions/Foundation/String+Extensions.swift | GoodRequest/Temple | 117abb4adc4a372ffc220c28effa2bca6d24d689 | [
"MIT"
] | 1 | 2021-06-09T07:04:13.000Z | 2021-08-10T09:29:09.000Z | Project Templates/Custom/Good Project.xctemplate/Extensions/Foundation/String+Extensions.swift | GoodRequest/Temple | 117abb4adc4a372ffc220c28effa2bca6d24d689 | [
"MIT"
] | null | null | null | // ___FILEHEADER___
extension String {}
| 10.25 | 19 | 0.756098 |
d63aac9fd3278b9b482d6447bf5e060b525e694a | 568 | cs | C# | Fancy/Fancy.Web/App_Start/NinjectModules/CommonNinjectModule.cs | Telerik-Fancy/Project | 4c6581a413fd598f235bb733efee4758bd476d91 | [
"MIT"
] | null | null | null | Fancy/Fancy.Web/App_Start/NinjectModules/CommonNinjectModule.cs | Telerik-Fancy/Project | 4c6581a413fd598f235bb733efee4758bd476d91 | [
"MIT"
] | null | null | null | Fancy/Fancy.Web/App_Start/NinjectModules/CommonNinjectModule.cs | Telerik-Fancy/Project | 4c6581a413fd598f235bb733efee4758bd476d91 | [
"MIT"
] | null | null | null | using Ninject.Modules;
using Ninject.Extensions.Conventions;
using Ninject.Extensions.Conventions.Syntax;
namespace Fancy.Web.App_Start.NinjectModules
{
public class CommonNinjectModule : NinjectModule
{
public override void Load()
{
this.Bind(this.BindAllClassesByConvention);
... | 25.818182 | 65 | 0.623239 |
3a2a0c29beb94c176bb0c2f72c61ff2d46afe59a | 727 | asm | Assembly | oeis/146/A146086.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/146/A146086.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/146/A146086.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A146086: Number of n-digit numbers with each digit odd where the digits 1 and 3 occur an even number of times.
; 3,11,45,197,903,4271,20625,100937,498123,2470931,12295605,61300877,305972943,1528270391,7636568985,38168496017,190799433363,953868026651,4768952712765,23843601302357,119214519727383,596062138283711,2980279... | 45.4375 | 500 | 0.839065 |
9398ceb80a3be5a69ce12348c6c6df67f321c3bd | 2,487 | cs | C# | Web/WebTool.cs | Euynac/Koubot.Tool | 4955ad4422d240b5bd08c817f22fed436aec0b18 | [
"MIT"
] | 5 | 2021-02-09T03:20:39.000Z | 2022-01-04T01:49:56.000Z | Web/WebTool.cs | Euynac/Koubot.Tool | 4955ad4422d240b5bd08c817f22fed436aec0b18 | [
"MIT"
] | null | null | null | Web/WebTool.cs | Euynac/Koubot.Tool | 4955ad4422d240b5bd08c817f22fed436aec0b18 | [
"MIT"
] | 1 | 2021-02-09T03:20:47.000Z | 2021-02-09T03:20:47.000Z | using System;
using System.Security.Cryptography;
using System.Text;
namespace Koubot.Tool.Web
{
/// <summary>
/// 网络/安全方向工具
/// </summary>
public class WebTool
{
/// <summary>
/// Base64加密,出错将返回原文,默认按UTF8加密
/// </summary>
/// <param name="source">原文</param>
... | 27.633333 | 82 | 0.461198 |
61d05b88e25b2d3e1657930379b5bc9b32c604e3 | 2,583 | lua | Lua | lua/bsu/defines.lua | ANormalTwig/BSU | 192871db7747a6eddc595033c864f0bffa244a55 | [
"MIT"
] | null | null | null | lua/bsu/defines.lua | ANormalTwig/BSU | 192871db7747a6eddc595033c864f0bffa244a55 | [
"MIT"
] | null | null | null | lua/bsu/defines.lua | ANormalTwig/BSU | 192871db7747a6eddc595033c864f0bffa244a55 | [
"MIT"
] | null | null | null | -- bsu/defines.lua
-- defines some values on both the server and client
BSU = BSU or {}
-- some info
BSU.TITLE = "Beans Server Utilities"
BSU.VERSION = "0.0.1-dev"
-- directory paths
BSU.DIR = "bsu/"
BSU.DIR_BASE = BSU.DIR .. "base/"
BSU.DIR_LIB = BSU.DIR .. "lib/"
BSU.DIR_MODULES = BSU.DIR .. "modules/"
-- privile... | 30.388235 | 139 | 0.638405 |
8e9e4acdb43aa22504ccbddfc5170e41bd4d2482 | 790 | js | JavaScript | src/components/SummaryItem/index.js | EduardoAlphonse/lolquiz | 7b2cbffda4d243e3c928491700cf78ec95e269cc | [
"MIT"
] | null | null | null | src/components/SummaryItem/index.js | EduardoAlphonse/lolquiz | 7b2cbffda4d243e3c928491700cf78ec95e269cc | [
"MIT"
] | 2 | 2021-02-15T15:02:20.000Z | 2021-02-17T13:28:12.000Z | src/components/SummaryItem/index.js | EduardoAlphonse/lolquiz | 7b2cbffda4d243e3c928491700cf78ec95e269cc | [
"MIT"
] | null | null | null | import styled, { css } from 'styled-components';
const StyledSummaryItem = styled.div`
padding: 5px 10px;
margin-bottom: 20px;
border: 0px;
border-left-width: 4px;
border-style: solid;
background-color: #FFFFFF;
p {
margin: 0;
font-size: 1rem;
}
p:first-child {
margin-bottom: 3px;
}
... | 18.809524 | 55 | 0.588608 |
da71225aabfc78eb9de6ef558a97ec2f2eefa3ab | 5,390 | php | PHP | database/seeds/MenuItemsTableSeederCustom.php | Assimzer/comerce2 | 616d18f2b7e6190ec07337c9891c00c413cdc735 | [
"MIT"
] | 80 | 2020-07-20T13:03:46.000Z | 2021-07-11T14:27:03.000Z | database/seeds/MenuItemsTableSeederCustom.php | Assimzer/comerce2 | 616d18f2b7e6190ec07337c9891c00c413cdc735 | [
"MIT"
] | 4 | 2021-08-12T03:21:31.000Z | 2022-03-24T12:49:52.000Z | database/seeds/MenuItemsTableSeederCustom.php | Assimzer/comerce2 | 616d18f2b7e6190ec07337c9891c00c413cdc735 | [
"MIT"
] | 23 | 2020-07-20T13:03:56.000Z | 2021-07-10T08:40:13.000Z | <?php
use Illuminate\Database\Seeder;
use TCG\Voyager\Models\Menu;
use TCG\Voyager\Models\MenuItem;
class MenuItemsTableSeederCustom extends Seeder
{
/**
* Auto generated seed file.
*
* @return void
*/
public function run()
{
$menu = Menu::where('name', 'main')->firstOrFail();
... | 29.135135 | 60 | 0.350835 |
4cd93e10694ba9b9a5521bb1f56cc97f709b6c3e | 1,900 | py | Python | sindy/lorenz-pysindy/src/1_generate_data.py | bstollnitz/sindy | 213d6836795fdf6535437acde57d68f1c6a3c272 | [
"MIT"
] | null | null | null | sindy/lorenz-pysindy/src/1_generate_data.py | bstollnitz/sindy | 213d6836795fdf6535437acde57d68f1c6a3c272 | [
"MIT"
] | null | null | null | sindy/lorenz-pysindy/src/1_generate_data.py | bstollnitz/sindy | 213d6836795fdf6535437acde57d68f1c6a3c272 | [
"MIT"
] | null | null | null | """Data generation step."""
import argparse
import logging
from pathlib import Path
from typing import Tuple
import h5py
import numpy as np
from scipy.integrate import solve_ivp
from common import BETA, DATA_DIR, RHO, SIGMA
def lorenz(_: float, u: np.ndarray, sigma: float, rho: float,
beta: float) -> np... | 25.333333 | 78 | 0.61 |
60f461f46905761865904a346abe8528eb072dd3 | 109 | kt | Kotlin | app/src/main/java/ds/litvinov/DriveOk/model/BtDevice.kt | DSLitvinov/okcheck | f157890e64bc1fc3728fc07cda2b4993f22620a0 | [
"Unlicense"
] | null | null | null | app/src/main/java/ds/litvinov/DriveOk/model/BtDevice.kt | DSLitvinov/okcheck | f157890e64bc1fc3728fc07cda2b4993f22620a0 | [
"Unlicense"
] | null | null | null | app/src/main/java/ds/litvinov/DriveOk/model/BtDevice.kt | DSLitvinov/okcheck | f157890e64bc1fc3728fc07cda2b4993f22620a0 | [
"Unlicense"
] | null | null | null | package ds.litvinov.DriveOk.model
class BtDevice(
var bt_name:String = "",
val bt_mac:String = ""
) | 18.166667 | 33 | 0.669725 |
394643f8524d1b4b2d5959a7eae928017e0059c5 | 4,628 | py | Python | TAPI_RI/flask_server/tapi_server/models/validation_mechanism.py | bartoszm/Snowmass-ONFOpenTransport | 874e7a3f311d915d692b27fcbd24032c89064f00 | [
"Apache-2.0"
] | null | null | null | TAPI_RI/flask_server/tapi_server/models/validation_mechanism.py | bartoszm/Snowmass-ONFOpenTransport | 874e7a3f311d915d692b27fcbd24032c89064f00 | [
"Apache-2.0"
] | null | null | null | TAPI_RI/flask_server/tapi_server/models/validation_mechanism.py | bartoszm/Snowmass-ONFOpenTransport | 874e7a3f311d915d692b27fcbd24032c89064f00 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
from __future__ import absolute_import
from datetime import date, datetime # noqa: F401
from typing import List, Dict # noqa: F401
from tapi_server.models.base_model_ import Model
from tapi_server import util
class ValidationMechanism(Model):
"""NOTE: This class is auto generated by the swagg... | 37.626016 | 148 | 0.71586 |
4a306bbf21aabac99b9a212cd1469bf8ab39f93c | 30,469 | sql | SQL | db_sejarahbkl.sql | bernatdsitumeang/Sistem-Informasi-Sejarah-Bengkulu | 6ddd8230b1b760bc0d73275650678aa285567c7e | [
"MIT"
] | null | null | null | db_sejarahbkl.sql | bernatdsitumeang/Sistem-Informasi-Sejarah-Bengkulu | 6ddd8230b1b760bc0d73275650678aa285567c7e | [
"MIT"
] | null | null | null | db_sejarahbkl.sql | bernatdsitumeang/Sistem-Informasi-Sejarah-Bengkulu | 6ddd8230b1b760bc0d73275650678aa285567c7e | [
"MIT"
] | 1 | 2022-01-16T02:00:23.000Z | 2022-01-16T02:00:23.000Z | -- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Nov 09, 2021 at 07:07 PM
-- Server version: 10.4.14-MariaDB
-- PHP Version: 7.2.33
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIE... | 47.907233 | 2,831 | 0.69592 |
f658eb874ea759e96055caee9956cd764bbd35c7 | 3,889 | cpp | C++ | Libraries/xcassets/Sources/Asset/CubeTextureSet.cpp | djgalloway/xcbuild | 936df10e59e5f5d531efca8bd48e445d88e78e0c | [
"BSD-2-Clause-NetBSD"
] | 9 | 2018-04-30T23:18:27.000Z | 2021-06-20T15:13:38.000Z | Libraries/xcassets/Sources/Asset/CubeTextureSet.cpp | djgalloway/xcbuild | 936df10e59e5f5d531efca8bd48e445d88e78e0c | [
"BSD-2-Clause-NetBSD"
] | null | null | null | Libraries/xcassets/Sources/Asset/CubeTextureSet.cpp | djgalloway/xcbuild | 936df10e59e5f5d531efca8bd48e445d88e78e0c | [
"BSD-2-Clause-NetBSD"
] | 4 | 2018-10-10T19:44:17.000Z | 2020-01-12T11:56:31.000Z | /**
Copyright (c) 2015-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.
*/
#include <xcassets/Ass... | 28.807407 | 87 | 0.568527 |
0de343b829c37ed2a16c73fee9bd3ae940f68822 | 4,488 | cs | C# | src/services/ESTHost.Core/Colleaction/CollectionServerFactory.cs | easteng/MonitorPlatform | 4c476d78f4f94ff07ac726007883d92b09694d37 | [
"MIT"
] | null | null | null | src/services/ESTHost.Core/Colleaction/CollectionServerFactory.cs | easteng/MonitorPlatform | 4c476d78f4f94ff07ac726007883d92b09694d37 | [
"MIT"
] | null | null | null | src/services/ESTHost.Core/Colleaction/CollectionServerFactory.cs | easteng/MonitorPlatform | 4c476d78f4f94ff07ac726007883d92b09694d37 | [
"MIT"
] | 1 | 2021-09-18T00:42:49.000Z | 2021-09-18T00:42:49.000Z | /**********************************************************************
*******命名空间: ESTHost.Core.Colleaction
*******类 名 称: CollectionServerFactory
*******类 说 明: 采集服务工厂,用来创建采集服务
*******作 者: Easten
*******机器名称: EASTEN
*******CLR 版本: 4.0.30319.42000
*******创建时间: 7/27/2021 10:48:35 AM
*******联系方式: 1301485237@qq.com
**... | 33.244444 | 100 | 0.505125 |
ef17fb72fffb882829556e0c89bba22ed2e6c3a3 | 4,176 | h | C | Benchmarks/GPU_code/CoMD-CUDA/src-mpi/neighborList.h | HPCCS/XAPR | 0dbd0c064ca1b858be065aef00a5260d46a60d06 | [
"MIT"
] | 33 | 2018-09-06T04:52:44.000Z | 2022-02-18T20:47:45.000Z | Benchmarks/GPU_code/CoMD-CUDA/src-mpi/neighborList.h | HPCCS/XAPR | 0dbd0c064ca1b858be065aef00a5260d46a60d06 | [
"MIT"
] | 2 | 2019-11-13T18:38:33.000Z | 2022-03-05T06:31:36.000Z | Benchmarks/GPU_code/CoMD-CUDA/src-mpi/neighborList.h | HPCCS/XAPR | 0dbd0c064ca1b858be065aef00a5260d46a60d06 | [
"MIT"
] | 10 | 2018-10-09T02:43:22.000Z | 2022-01-04T02:06:38.000Z | /*************************************************************************
* Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of s... | 53.538462 | 183 | 0.735632 |
740d470d0214080feae8f427406f64677e606927 | 124 | c | C | drivers/ptphnd.c | jguillaumes/muxx | 2b9e20dcef9d42e6abfe0024fef16ad98b78facf | [
"BSD-2-Clause"
] | 3 | 2018-07-18T19:41:50.000Z | 2021-03-08T23:00:04.000Z | drivers/ptphnd.c | jguillaumes/muxx | 2b9e20dcef9d42e6abfe0024fef16ad98b78facf | [
"BSD-2-Clause"
] | null | null | null | drivers/ptphnd.c | jguillaumes/muxx | 2b9e20dcef9d42e6abfe0024fef16ad98b78facf | [
"BSD-2-Clause"
] | null | null | null | #include "muxxlib.h"
#include "muxxdef.h"
/*
** Paper tape handler task
*/
void ptphnd() {
for(;;) {
yield();
}
}
| 9.538462 | 26 | 0.548387 |
46aedf0206ea4fdce878bda0a8acb7e3159788b8 | 304 | sql | SQL | openGaussBase/testcase/SQL/FULL_TEXT_SEARCH/text_search_configuration/Opengauss_Function_Text_Search_Configuration_Case0003.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/SQL/FULL_TEXT_SEARCH/text_search_configuration/Opengauss_Function_Text_Search_Configuration_Case0003.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/SQL/FULL_TEXT_SEARCH/text_search_configuration/Opengauss_Function_Text_Search_Configuration_Case0003.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint:创建文本搜索配置语法,PARSER参数测试(无效性测试)
--指定解析器为ngrams,合理报错
DROP TEXT SEARCH CONFIGURATION if exists ngram2;
CREATE TEXT SEARCH CONFIGURATION ngram2 (parser=ngrams);
--指定解析器为defaults,合理报错
DROP TEXT SEARCH CONFIGURATION if exists default2;
CREATE TEXT SEARCH CONFIGURATION default2 (parser=defaults);
| 38 | 60 | 0.822368 |
7958facc86462e70eebf4b02ccdfeba364a9bea8 | 6,611 | php | PHP | application/views/v_HasilSearchGeneral.php | MaxelITSolution/hb_wakasa | 27eb5a290990d006a175e9b2ddbb27b99a0a075d | [
"MIT"
] | null | null | null | application/views/v_HasilSearchGeneral.php | MaxelITSolution/hb_wakasa | 27eb5a290990d006a175e9b2ddbb27b99a0a075d | [
"MIT"
] | null | null | null | application/views/v_HasilSearchGeneral.php | MaxelITSolution/hb_wakasa | 27eb5a290990d006a175e9b2ddbb27b99a0a075d | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" type="text/css" href="<?php echo base_url("asset/bootstrap/css/bootstrap.css")?>">
<link rel="stylesheet" type="text/css" href="<?php echo base_url("asset/css/font.css")?>">
<link rel="stylesheet... | 60.1 | 313 | 0.674028 |
92d2da2869b4fefb76cb624e50a2323cfa072e3e | 256 | h | C | MQTTDemo/MQTT1ViewController.h | Nandaballabh/MQTT-Client-Sample-with-two-libraries | f70779dc0eb2ef26463ba16f79f32bfbd60da24e | [
"MIT"
] | null | null | null | MQTTDemo/MQTT1ViewController.h | Nandaballabh/MQTT-Client-Sample-with-two-libraries | f70779dc0eb2ef26463ba16f79f32bfbd60da24e | [
"MIT"
] | null | null | null | MQTTDemo/MQTT1ViewController.h | Nandaballabh/MQTT-Client-Sample-with-two-libraries | f70779dc0eb2ef26463ba16f79f32bfbd60da24e | [
"MIT"
] | null | null | null | //
// MQTT1ViewController.h
// MQTTDemo
//
// Created by Nanda Ballabh on 4/15/15.
// Copyright (c) 2015 Nanda Ballabh. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
@interface MQTT1ViewController : UIViewController
@end
| 15.058824 | 58 | 0.707031 |
9c4819252afbe6854fb7b4ea55bc62d24c799e48 | 3,910 | rs | Rust | src/history.rs | bartenbach/taskwarrior-tui | 3cb54b1700ec812ac4eb6e3c2d5484116c282644 | [
"MIT"
] | 716 | 2020-07-28T11:50:31.000Z | 2022-03-30T19:56:50.000Z | src/history.rs | bartenbach/taskwarrior-tui | 3cb54b1700ec812ac4eb6e3c2d5484116c282644 | [
"MIT"
] | 358 | 2020-07-31T07:17:50.000Z | 2022-03-29T20:00:19.000Z | src/history.rs | bartenbach/taskwarrior-tui | 3cb54b1700ec812ac4eb6e3c2d5484116c282644 | [
"MIT"
] | 52 | 2020-08-05T05:33:37.000Z | 2022-03-30T19:56:53.000Z | use anyhow::{anyhow, Result};
use rustyline::error::ReadlineError;
use rustyline::history::History;
use rustyline::history::SearchDirection;
use std::fs::File;
use std::path::{Path, PathBuf};
pub struct HistoryContext {
history: History,
history_index: Option<usize>,
config_path: PathBuf,
}
impl HistoryCo... | 30.787402 | 108 | 0.544246 |
ff2ae55b00e19ef0939fe7c2b7534111ada81b34 | 713 | py | Python | tests/test_integrational/test_global_context_update.py | best-doctor/Mario | a6c83b9f7e7558a4e71d8acb00b8d164fe8eec6f | [
"MIT"
] | 12 | 2020-01-30T02:19:16.000Z | 2022-01-20T04:00:43.000Z | tests/test_integrational/test_global_context_update.py | best-doctor/Mario | a6c83b9f7e7558a4e71d8acb00b8d164fe8eec6f | [
"MIT"
] | 32 | 2019-12-07T14:06:05.000Z | 2020-06-26T07:12:03.000Z | tests/test_integrational/test_global_context_update.py | best-doctor/Mario | a6c83b9f7e7558a4e71d8acb00b8d164fe8eec6f | [
"MIT"
] | 3 | 2020-08-21T07:54:53.000Z | 2021-01-11T12:05:48.000Z | import pytest
from super_mario.base_pipeline import BasePipeline
from super_mario.decorators import process_pipe
from super_mario.exceptions import GlobalContextUpdateException
@pytest.fixture
def simple_pipeline():
class SimplePipeline(BasePipeline):
pipeline = [
'sum_numbers',
'... | 23.766667 | 63 | 0.670407 |
05bd89bc2faa856a1dcdea63f443e42ea9700c22 | 3,270 | py | Python | venv/Foundation/While.py | AnatoleZho/Python3 | 3d3d32b5ad0affef76287b89bc87267fc551127d | [
"MIT"
] | null | null | null | venv/Foundation/While.py | AnatoleZho/Python3 | 3d3d32b5ad0affef76287b89bc87267fc551127d | [
"MIT"
] | null | null | null | venv/Foundation/While.py | AnatoleZho/Python3 | 3d3d32b5ad0affef76287b89bc87267fc551127d | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# 用户输入和 while 循环
# 1. 函数 input() 的工作原理
# 下面的程序让用户输入一些文本,再将这些文本呈现给用户:
'''
message = raw_input("Tell me something, and I will repeat it back to you:")
print str(message)
'''
# 1.1. 编写清晰的程序
'''
name = raw_input('Please enter your name:')
print 'Hello, ' + name.title() + '!'
''... | 20.185185 | 82 | 0.660245 |
eb20d4f82963c7138aa4c83d7b2f1509aaddbf44 | 130 | css | CSS | css/doggystyle.css | JocyNava/Hackatoncito-DoggyJeans | 0639fe3afd751213742ff8f238b474228cedccdc | [
"Apache-2.0"
] | null | null | null | css/doggystyle.css | JocyNava/Hackatoncito-DoggyJeans | 0639fe3afd751213742ff8f238b474228cedccdc | [
"Apache-2.0"
] | null | null | null | css/doggystyle.css | JocyNava/Hackatoncito-DoggyJeans | 0639fe3afd751213742ff8f238b474228cedccdc | [
"Apache-2.0"
] | null | null | null | .header-fondoperro{
background-image: url(../img/fondoperro.jpg);
background-repeat: no-repeat;
background-size: cover;
} | 26 | 46 | 0.715385 |
af274f080dd0552424ca2f83d7fbf530ac3ac3b3 | 4,623 | py | Python | final_homework/prim/prim.py | ufpa-organization-repositories/computer-theory-2 | c61e2c887d2820aeb09f581bbfa2bb89d1f541e6 | [
"MIT"
] | null | null | null | final_homework/prim/prim.py | ufpa-organization-repositories/computer-theory-2 | c61e2c887d2820aeb09f581bbfa2bb89d1f541e6 | [
"MIT"
] | null | null | null | final_homework/prim/prim.py | ufpa-organization-repositories/computer-theory-2 | c61e2c887d2820aeb09f581bbfa2bb89d1f541e6 | [
"MIT"
] | null | null | null | import random
def choose_pivot(nos):
i = random.randrange(0, len(nos))
pivo = nos[i]
return pivo
def get_min_weight_in_not_processed_adjacent_arrows(adjacencias):
menor_peso = None
for aresta, peso in adjacencias.items():
if menor_peso == None:
menor_peso = peso
elif p... | 33.992647 | 149 | 0.663206 |
663ad936aa0baebb1bd38740ecf90fe2f34a0d56 | 2,636 | py | Python | server/scanners/scan_php.py | tnvo/strelka | a66fd4e6efd745086a1694840e08f64b12be3987 | [
"Apache-2.0"
] | 2 | 2019-09-23T18:46:26.000Z | 2020-01-13T18:39:39.000Z | server/scanners/scan_php.py | tnvo/strelka | a66fd4e6efd745086a1694840e08f64b12be3987 | [
"Apache-2.0"
] | null | null | null | server/scanners/scan_php.py | tnvo/strelka | a66fd4e6efd745086a1694840e08f64b12be3987 | [
"Apache-2.0"
] | 2 | 2020-01-06T13:27:13.000Z | 2020-02-28T06:42:00.000Z | import pygments
from pygments import formatters
from pygments import lexers
from server import objects
class ScanPhp(objects.StrelkaScanner):
"""Collects metadata from PHP files.
Pygments is used as a lexer and the tokenized data is appended as metadata.
Attributes:
lexer: Pygments lexer ("php"... | 41.84127 | 79 | 0.555008 |
1ca0b97aae984dd7e0ae5ca16ae20610d057f8f6 | 79 | lua | Lua | manual_start.lua | neuhalje/nodemcu-bootstrap | 60ef221b268f0cc945b363cb1f275588c8d228c3 | [
"WTFPL",
"Unlicense"
] | 2 | 2016-11-26T15:03:42.000Z | 2017-02-01T18:32:47.000Z | manual_start.lua | neuhalje/nodemcu-bootstrap | 60ef221b268f0cc945b363cb1f275588c8d228c3 | [
"WTFPL",
"Unlicense"
] | null | null | null | manual_start.lua | neuhalje/nodemcu-bootstrap | 60ef221b268f0cc945b363cb1f275588c8d228c3 | [
"WTFPL",
"Unlicense"
] | null | null | null | -- manual start ´. mimics init.lua
startup = require("startup")
startup.go()
| 19.75 | 34 | 0.683544 |
e033ef9cd091dc8fa84a46cc59a9383bf9be4044 | 3,633 | asm | Assembly | dd/rd/fdrv.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | dd/rd/fdrv.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | dd/rd/fdrv.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | ; RAM disk driver FORMAT V2.02 1989 Tony Tebby QJUMP
section rd
xdef rd_fdrv ; format drive
xref rd_remv ; remove ram disk
xref rd_emul ; check device emulation
xref rd_alfs ; allocate first sector
xref gu_ach... | 32.72973 | 74 | 0.458574 |
f487b26313f2ed51ee9665940621908c561d210b | 613 | ts | TypeScript | src/ui/components/FemaleInfoPanelState.ts | hozuki/kk-save-edit | 3442093fc1cf15ca303a2cc43c36f5ab8003e6e6 | [
"WTFPL"
] | 1 | 2020-03-03T10:26:53.000Z | 2020-03-03T10:26:53.000Z | src/ui/components/FemaleInfoPanelState.ts | hozuki/kk-save-edit | 3442093fc1cf15ca303a2cc43c36f5ab8003e6e6 | [
"WTFPL"
] | null | null | null | src/ui/components/FemaleInfoPanelState.ts | hozuki/kk-save-edit | 3442093fc1cf15ca303a2cc43c36f5ab8003e6e6 | [
"WTFPL"
] | null | null | null | import FreeDict from "../../common/FreeDict";
export default interface FemaleInfoPanelState {
values: FieldValues;
errors: FieldErrors;
}
interface Fields<T> extends FreeDict<T | undefined> {
firstName?: T;
lastName?: T;
nickname?: T;
personality?: T;
weakPoint?: T;
answers?: T;
... | 15.717949 | 53 | 0.619902 |
fd65b9233763aefac5ca17121c406534d7999927 | 1,916 | css | CSS | src/assets/fonts/fonts.css | mvpyb/cms | fa55ebd0c14347db6201bf55cd470cf6f54ea7a2 | [
"MIT"
] | 1 | 2021-07-07T01:58:03.000Z | 2021-07-07T01:58:03.000Z | src/assets/fonts/fonts.css | mvpyb/cms | fa55ebd0c14347db6201bf55cd470cf6f54ea7a2 | [
"MIT"
] | null | null | null | src/assets/fonts/fonts.css | mvpyb/cms | fa55ebd0c14347db6201bf55cd470cf6f54ea7a2 | [
"MIT"
] | null | null | null |
@font-face{
font-family: 'syHeavy';
src: url('SourceHanSansCN-Heavy.otf');
}
@font-face{
font-family: 'syNormal';
src: url('SourceHanSansCN-Normal.otf');
}
@font-face{
font-family: 'syRegular';
src: url('SourceHanSansCN-Regular.otf');
}
@font-face{
font-family: 'syLight';
src: url('SourceHanSansCN-Ligh... | 24.564103 | 125 | 0.69572 |
eb04261ad95f59d660c0fbe5b6778c269b4d5308 | 1,004 | css | CSS | public/css/1024.css | aivarasvain/atraskvr-2 | dd453f75a44ae8bc2a49ae830ff30c724fb825db | [
"Apache-2.0"
] | null | null | null | public/css/1024.css | aivarasvain/atraskvr-2 | dd453f75a44ae8bc2a49ae830ff30c724fb825db | [
"Apache-2.0"
] | null | null | null | public/css/1024.css | aivarasvain/atraskvr-2 | dd453f75a44ae8bc2a49ae830ff30c724fb825db | [
"Apache-2.0"
] | null | null | null | @media (max-width: 1024px) {
#part-1 {
height: 1048px;
}
#mainTitleDescription {
margin-top: 60%;
width: 50%;
font-size: 14px;
}
#mainTitle {
transform: scale(1.7, 1.7);
}
#apie p {
font-size: 14px;
}
#apie {
width: 70%;
... | 12.395062 | 35 | 0.417331 |
f8edeae255fff14b9f0966d36e1073dda2588938 | 1,347 | cpp | C++ | option.cpp | tttamaki/featureMatching | cb58b3432cf05c786cf2fd206e119a0d5567cc61 | [
"MIT"
] | 1 | 2018-04-14T07:34:30.000Z | 2018-04-14T07:34:30.000Z | option.cpp | tttamaki/featureMatching | cb58b3432cf05c786cf2fd206e119a0d5567cc61 | [
"MIT"
] | null | null | null | option.cpp | tttamaki/featureMatching | cb58b3432cf05c786cf2fd206e119a0d5567cc61 | [
"MIT"
] | null | null | null |
#include "option.hxx"
using namespace std;
options parseOptions( int argc, char **argv ) {
namespace po = boost::program_options;
po::options_description desc("Options");
desc.add_options()
("help", "This help message.")
("input", po::value<string>(), "Input filename.")
("startframe... | 23.631579 | 80 | 0.52487 |
a3cfeb33752f281fd14e3066d4d2fd47cc192310 | 12,654 | java | Java | src/main/java/org/earthtime/Tripoli/rawDataFiles/handlers/Thermo/MemUnivNewfoundlandElementIIFileHandler.java | bowring/ET_Redux | ca80dcd76b6529b2cab82027f80a179be39f720c | [
"Apache-2.0"
] | 15 | 2015-03-25T14:16:24.000Z | 2022-03-05T02:17:00.000Z | src/main/java/org/earthtime/Tripoli/rawDataFiles/handlers/Thermo/MemUnivNewfoundlandElementIIFileHandler.java | bowring/ET_Redux | ca80dcd76b6529b2cab82027f80a179be39f720c | [
"Apache-2.0"
] | 104 | 2015-01-22T23:41:19.000Z | 2022-02-20T12:46:03.000Z | src/main/java/org/earthtime/Tripoli/rawDataFiles/handlers/Thermo/MemUnivNewfoundlandElementIIFileHandler.java | CIRDLES/ET_Redux | 1f045fd39cf3dd76d5172b63355753bb8bacebc3 | [
"Apache-2.0"
] | 24 | 2015-01-23T15:30:35.000Z | 2020-11-23T16:14:27.000Z | /*
* MemUnivNewfoundlandElementIIFileHandler
*
* Copyright 2006-2018 James F. Bowring, CIRDLES.org, and Earth-Time.org
*
* 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
*
* htt... | 42.039867 | 170 | 0.628655 |
ba01a3d6ee52e8f70fc51f3eda87fc9eace798ac | 217 | dart | Dart | ch03/ex21_cascade_method_invocation/bin/ex21_cascade_method_invocation.dart | rustkas/Mastering-Dart-Sergey-Akopkokhyants-R-D | 6eeebd75309aeeb2621eff8454362e27aecc465e | [
"MIT"
] | null | null | null | ch03/ex21_cascade_method_invocation/bin/ex21_cascade_method_invocation.dart | rustkas/Mastering-Dart-Sergey-Akopkokhyants-R-D | 6eeebd75309aeeb2621eff8454362e27aecc465e | [
"MIT"
] | null | null | null | ch03/ex21_cascade_method_invocation/bin/ex21_cascade_method_invocation.dart | rustkas/Mastering-Dart-Sergey-Akopkokhyants-R-D | 6eeebd75309aeeb2621eff8454362e27aecc465e | [
"MIT"
] | 1 | 2020-09-16T08:21:54.000Z | 2020-09-16T08:21:54.000Z | void main() {
SomeClass some;
some = SomeClass()
..name = 'John'
..id = 1;
print(some);
}
class SomeClass {
String name;
int id;
@override
String toString() {
return '$id $name';
}
}
| 12.055556 | 23 | 0.539171 |
ef48801f15fd4dd1298021e8145eea16db03b118 | 1,204 | js | JavaScript | node_modules/webpacker/tests/plugins/stats.test.js | denisepen/InsideVagrant_Rails_App | 85296c07b1d4cd15256b34c346df16b073d2123a | [
"MIT"
] | 20 | 2018-02-16T09:18:16.000Z | 2022-02-04T23:42:03.000Z | node_modules/webpacker/tests/plugins/stats.test.js | denisepen/InsideVagrant_Rails_App | 85296c07b1d4cd15256b34c346df16b073d2123a | [
"MIT"
] | 70 | 2018-02-12T14:30:22.000Z | 2021-06-07T10:39:38.000Z | node_modules/webpacker/tests/plugins/stats.test.js | denisepen/InsideVagrant_Rails_App | 85296c07b1d4cd15256b34c346df16b073d2123a | [
"MIT"
] | 1 | 2019-05-22T12:12:10.000Z | 2019-05-22T12:12:10.000Z | const {BundleAnalyzerPlugin} = require('webpack-bundle-analyzer');
const {stats} = require('../../plugins');
describe('STATS plugin', () => {
it('should return the defaults if no options are provided', () => {
expect(stats({})).toBe(null);
});
describe('receives an options object to customize the config', (... | 29.365854 | 80 | 0.547342 |
b8f5d8a2e8a8fbd56d0b8cd8196e59a823d6ff5d | 5,930 | h | C | esp32/pycom_config.h | DvdGiessen/pycom-micropython-sigfox | 69dd8b5d6be5561742aed088ab8f5677668ad3a0 | [
"MIT"
] | 1 | 2020-05-13T08:20:28.000Z | 2020-05-13T08:20:28.000Z | esp32/pycom_config.h | DvdGiessen/pycom-micropython-sigfox | 69dd8b5d6be5561742aed088ab8f5677668ad3a0 | [
"MIT"
] | null | null | null | esp32/pycom_config.h | DvdGiessen/pycom-micropython-sigfox | 69dd8b5d6be5561742aed088ab8f5677668ad3a0 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2019, Pycom Limited.
*
* This software is licensed under the GNU GPL version 3 or any
* later version, with permitted additional terms. For more information
* see the Pycom Licence v1.0 document supplied with this file, or
* available at https://www.pycom.io/opensource/licensing
*/
#ifndef PY... | 26.591928 | 94 | 0.739798 |
33ad82d598a74af4553107f3fedd26ad48034ec8 | 698 | h | C | macOS/10.12/CoreServices.framework/_UTTypeQueryWithParentIdentifier.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | 30 | 2016-10-09T20:13:00.000Z | 2022-01-24T04:14:57.000Z | macOS/10.12/CoreServices.framework/_UTTypeQueryWithParentIdentifier.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | null | null | null | macOS/10.12/CoreServices.framework/_UTTypeQueryWithParentIdentifier.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | 7 | 2017-08-29T14:41:25.000Z | 2022-01-19T17:14:54.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
*/
@interface _UTTypeQueryWithParentIdentifier : _UTTypeQuery {
NSString * _parentIdentifier;
}
+ (BOOL)supportsSecureCoding;
- (BOOL)_canResolveLoc... | 26.846154 | 132 | 0.7851 |
cd6c911223a648c71dbc350eba2b5302ddb972fc | 1,654 | cs | C# | Examples/BasicManagement/ZhuoFan.Wb.BasicService.Infrastructure/BasicManagementDbContext.cs | girvs/Girvs | a4f81629abd978ed2d0fe45ce81bc5804c190402 | [
"Apache-2.0"
] | 6 | 2020-07-21T02:50:51.000Z | 2022-03-23T07:51:59.000Z | Examples/BasicManagement/ZhuoFan.Wb.BasicService.Infrastructure/BasicManagementDbContext.cs | girvs/Girvs | a4f81629abd978ed2d0fe45ce81bc5804c190402 | [
"Apache-2.0"
] | 1 | 2021-12-23T08:59:28.000Z | 2021-12-23T08:59:28.000Z | Examples/BasicManagement/ZhuoFan.Wb.BasicService.Infrastructure/BasicManagementDbContext.cs | girvs/Girvs | a4f81629abd978ed2d0fe45ce81bc5804c190402 | [
"Apache-2.0"
] | 1 | 2021-08-12T03:00:11.000Z | 2021-08-12T03:00:11.000Z | using Girvs.EntityFrameworkCore.Context;
using Microsoft.EntityFrameworkCore;
using ZhuoFan.Wb.BasicService.Domain.Models;
using ZhuoFan.Wb.BasicService.Infrastructure.EntityConfigurations;
namespace ZhuoFan.Wb.BasicService.Infrastructure
{
public class BasicManagementDbContext : GirvsDbContext
{
publ... | 40.341463 | 107 | 0.720073 |
f5bb7b57098863971d49950158d62a0774a825b7 | 8,194 | css | CSS | web/css/base.css | 8xenon8/ezh-yii | d2bc51779d157c4e19ddc0328dbb63dfd8cae6af | [
"BSD-3-Clause"
] | null | null | null | web/css/base.css | 8xenon8/ezh-yii | d2bc51779d157c4e19ddc0328dbb63dfd8cae6af | [
"BSD-3-Clause"
] | null | null | null | web/css/base.css | 8xenon8/ezh-yii | d2bc51779d157c4e19ddc0328dbb63dfd8cae6af | [
"BSD-3-Clause"
] | null | null | null | /*BASE*/
html,
body {
overflow: auto;
height: 100%;
}
body {
position: relative;
display: table;
width: 100%;
padding-bottom: 0;
table-layout: fixed;
color: #2c2b2b;
}
body .container.content-container {
padding-bottom: 40px;
}
.site-header .navbar {
border-radius: 0 !importan... | 16.790984 | 102 | 0.647547 |
2a890bb3b472c03d507423381c66ba80b76af67c | 34 | sql | SQL | scripts/create_database.sql | Duelist/adamant-weasel | ac879cb7fee06a7ed09fa8bbd7d05034ee80671e | [
"MIT"
] | null | null | null | scripts/create_database.sql | Duelist/adamant-weasel | ac879cb7fee06a7ed09fa8bbd7d05034ee80671e | [
"MIT"
] | null | null | null | scripts/create_database.sql | Duelist/adamant-weasel | ac879cb7fee06a7ed09fa8bbd7d05034ee80671e | [
"MIT"
] | null | null | null | CREATE DATABASE "adamant-weasel";
| 17 | 33 | 0.794118 |
d5aa2814bc9c237bbb5e91d33e8f21723532bdaf | 115 | sql | SQL | exampleSqlProject/example/tables/File/BigFile.sql | microsoft/Spark-SQL-Deployment-Manager | 6fc9cc8c0dd263d68b56ec863d375ba57cc99e2b | [
"MIT"
] | 3 | 2021-02-28T15:44:22.000Z | 2021-12-28T04:43:34.000Z | exampleSqlProject/example/tables/File/BigFile.sql | microsoft/Spark-SQL-Deployment-Manager | 6fc9cc8c0dd263d68b56ec863d375ba57cc99e2b | [
"MIT"
] | 1 | 2021-02-15T11:41:00.000Z | 2021-02-15T11:41:00.000Z | exampleSqlProject/example/tables/File/BigFile.sql | microsoft/Spark-SQL-Deployment-Manager | 6fc9cc8c0dd263d68b56ec863d375ba57cc99e2b | [
"MIT"
] | 4 | 2021-02-14T18:00:32.000Z | 2021-02-28T15:44:24.000Z | create table File.BigFile
(
id int,
filename string,
fileSize long
)
using delta
location '$LAKE_PATH/file/bigfile' | 14.375 | 34 | 0.791304 |
e24758e75e23316ba4de6aaf5826895817394561 | 4,780 | kt | Kotlin | app/src/main/java/live/hms/app2/ui/meeting/pinnedvideo/VideoListAdapter.kt | ygit/100ms-android | 47a737ae78a65fb6371cae09e24d5f5aa8b735de | [
"MIT"
] | null | null | null | app/src/main/java/live/hms/app2/ui/meeting/pinnedvideo/VideoListAdapter.kt | ygit/100ms-android | 47a737ae78a65fb6371cae09e24d5f5aa8b735de | [
"MIT"
] | null | null | null | app/src/main/java/live/hms/app2/ui/meeting/pinnedvideo/VideoListAdapter.kt | ygit/100ms-android | 47a737ae78a65fb6371cae09e24d5f5aa8b735de | [
"MIT"
] | null | null | null | package live.hms.app2.ui.meeting.pinnedvideo
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.MainThread
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerView
import live.hms.app2.databin... | 30.062893 | 100 | 0.69728 |
42e703de94492c0780a07c670251adbec48ba9c3 | 543 | sql | SQL | data/test/sql/e736927edc0a031640fb22be61844943f89f7410euler1_2.sql | aliostad/deep-learning-lang-detection | d6b031f3ebc690cf2ffd0ae1b08ffa8fb3b38a62 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/test/sql/e736927edc0a031640fb22be61844943f89f7410euler1_2.sql | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/test/sql/e736927edc0a031640fb22be61844943f89f7410euler1_2.sql | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | #!/usr/bin/sq
// Euler1 in Squirrel
// generate a list of ints
function genInts (i, acc=[]) {
acc.append(i);
if (i == 0) {
return acc;
} else {
return genInts(i-1, acc);
}
};
function Euler1(size) {
local ints = genInts(size)
local mapped = ::map(ints, function(val) {return val} )
... | 21.72 | 110 | 0.607735 |
c08dcfd9e0d47d5f5546cb249eb68eff45a1be02 | 601 | sql | SQL | openGaussBase/testcase/KEYWORDS/current_time/Opengauss_Function_Keyword_Current_time_Case0025.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/current_time/Opengauss_Function_Keyword_Current_time_Case0025.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/current_time/Opengauss_Function_Keyword_Current_time_Case0025.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint:opengauss关键字current_time(保留),作为角色名
--关键字不带引号-合理报错
drop role if exists current_time;
create role current_time with password 'gauss@123' valid until '2020-12-31';
--关键字带双引号-成功
drop role if exists "current_time";
create role "current_time" with password 'gauss@123' valid until '2020-12-31';
--清理环境
drop r... | 30.05 | 78 | 0.762063 |
e2a21dbc265bf9558b49a45e8fa037e19dde4402 | 327 | js | JavaScript | components/general/FormGroup/index.js | ahmedmusawir/dc-nexti18n-broken | f480337184e96a9087030d6ab79baf84f38b2f1c | [
"MIT"
] | null | null | null | components/general/FormGroup/index.js | ahmedmusawir/dc-nexti18n-broken | f480337184e96a9087030d6ab79baf84f38b2f1c | [
"MIT"
] | null | null | null | components/general/FormGroup/index.js | ahmedmusawir/dc-nexti18n-broken | f480337184e96a9087030d6ab79baf84f38b2f1c | [
"MIT"
] | 1 | 2019-08-08T12:35:18.000Z | 2019-08-08T12:35:18.000Z | /**
*
* <FormGroup />
*
* A FormGroup Container with Props
* Props: fluid etc.
*/
import React from 'react';
import { FormGroup as RSFormGroup } from 'reactstrap';
export const FormGroup = props => {
const { children } = props;
return <RSFormGroup {...props}>{children}</RSFormGroup>;
};
export default Form... | 18.166667 | 58 | 0.666667 |
754feffb0d5561453e513a1014e372b60c738fbf | 389 | css | CSS | assets/front/css/main.css | gaji-asif/uk_feedback | d7f71692216956af46e7b6bb0c095fdbe4f134f2 | [
"MIT"
] | null | null | null | assets/front/css/main.css | gaji-asif/uk_feedback | d7f71692216956af46e7b6bb0c095fdbe4f134f2 | [
"MIT"
] | null | null | null | assets/front/css/main.css | gaji-asif/uk_feedback | d7f71692216956af46e7b6bb0c095fdbe4f134f2 | [
"MIT"
] | null | null | null | @import url("bootstrap.css");
@import url("bootstrap-select.css");
@import url("custom_animation.css");
@import url("font-awesome.css");
@import url("../js/plugins/slider/owl.carousel.min.css");
@import url("../js/plugins/gallery/magnific-popup.css");
@import url("../js/plugins/jqueryui/jquery-ui.css");
@import url("fo... | 29.923077 | 57 | 0.701799 |
cd19c5bc7135c5667a3198feb79820fe4a63910d | 1,565 | cs | C# | Homeworks/Sets and Dictionaries - Exercise/7. Fix Emails/FixEmails.cs | DimitarIvanov8/software-university | 6e94bb14764a576df0a65c67f8c8d32cae9011a1 | [
"MIT"
] | null | null | null | Homeworks/Sets and Dictionaries - Exercise/7. Fix Emails/FixEmails.cs | DimitarIvanov8/software-university | 6e94bb14764a576df0a65c67f8c8d32cae9011a1 | [
"MIT"
] | null | null | null | Homeworks/Sets and Dictionaries - Exercise/7. Fix Emails/FixEmails.cs | DimitarIvanov8/software-university | 6e94bb14764a576df0a65c67f8c8d32cae9011a1 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7.Fix_Emails
{
class FixEmails
{
static void Main(string[] args)
{
// You are given a sequence of strings, each on a new line,
// unitll you r... | 31.3 | 105 | 0.463898 |
cd3c4204ebe925fdeed012fe21c1f68e6542bdff | 2,553 | lua | Lua | lua/vfiler/extensions/bookmark/action.lua | obaland/vfiler.vim | f6b76e05a94c23badc447de0bda1f89a0d67fcbe | [
"MIT"
] | 39 | 2018-04-28T05:59:28.000Z | 2022-03-31T16:06:25.000Z | lua/vfiler/extensions/bookmark/action.lua | obaland/vfiler.vim | f6b76e05a94c23badc447de0bda1f89a0d67fcbe | [
"MIT"
] | 2 | 2018-04-24T12:10:45.000Z | 2022-01-25T00:36:10.000Z | lua/vfiler/extensions/bookmark/action.lua | obaland/vfiler.vim | f6b76e05a94c23badc447de0bda1f89a0d67fcbe | [
"MIT"
] | 1 | 2021-12-28T09:58:47.000Z | 2021-12-28T09:58:47.000Z | local action = require('vfiler/extensions/action')
local cmdline = require('vfiler/libs/cmdline')
local core = require('vfiler/libs/core')
local vim = require('vfiler/libs/vim')
local function select(extension, layout)
layout = layout or 'none'
local item = extension:get_item()
if item.type == 'category' or not ... | 24.314286 | 69 | 0.717979 |
9302071b43d835f574aedc76e653bbb87f94539e | 1,336 | asm | Assembly | Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_1_256.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_1_256.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_1_256.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x148ca, %rcx
nop
nop
nop
nop
sub %r14, %r14
movl $0x61626364, (%rcx)
nop
nop
nop
xor %r9, %r9
lea addresses_WT_ht+0xb98a, %rsi
lea addresses_D_ht+0x9d4a, %rdi
sub %r14, %r14
mov $67, %rcx
rep movs... | 17.813333 | 147 | 0.651946 |
2d2123a36ed36884156414d63e6f90efe884cd2b | 821 | css | CSS | renderer/default.css | jtvberg/Moby | 36b3f6c7d55ec550ab98068421fb374c28fedd42 | [
"MIT"
] | 2 | 2020-07-16T21:48:22.000Z | 2020-09-05T08:05:50.000Z | renderer/default.css | jtvberg/Moby | 36b3f6c7d55ec550ab98068421fb374c28fedd42 | [
"MIT"
] | 15 | 2020-03-26T20:01:20.000Z | 2021-02-06T22:01:23.000Z | renderer/default.css | jtvberg/Moby | 36b3f6c7d55ec550ab98068421fb374c28fedd42 | [
"MIT"
] | 1 | 2020-02-09T20:28:47.000Z | 2020-02-09T20:28:47.000Z | :root {
--red: #e74c3c;
--blue: #2980b9;
--orange: #e67e22;
--purple: #9b59b6;
--green: #27ae60;
--secondary: #383838;
--primary: #e7e7e7;
--menu-primary: #ffffff2c;
--card-primary: #e7e7e7;
--muted: #b9b9b9;
--trans: #00000000;
--opaque: #ffffff15;
--opaque-card: #ffffff15;
--new-highlight:... | 24.878788 | 36 | 0.62363 |
b311266d18257e334be798593bb7cf2011a43b16 | 157 | py | Python | webactivities/default_settings.py | lukegb/ehacktivities | bc04d02eaf36a106b943ce0cb8395e85a780f6fc | [
"MIT"
] | 1 | 2016-04-30T00:19:13.000Z | 2016-04-30T00:19:13.000Z | webactivities/default_settings.py | lukegb/ehacktivities | bc04d02eaf36a106b943ce0cb8395e85a780f6fc | [
"MIT"
] | null | null | null | webactivities/default_settings.py | lukegb/ehacktivities | bc04d02eaf36a106b943ce0cb8395e85a780f6fc | [
"MIT"
] | null | null | null | FERNET_KEY = 'uyflUICClYw0n7OVjtyEsGDiiyLqzsSqaLQJZtGigf0='
SECRET_KEY = "=8wGX26:{mKZVRo0@0`i<RLMq(eHt~Nh8P6|LX'WHlN5S6n/eZ52>s4182G6$f1"
FERNET_TTL = 3600
| 39.25 | 78 | 0.808917 |
aa3e2defc7f86af873277be7203b9bcb622b4633 | 823 | rb | Ruby | spec/icl_e2_spec.rb | Origen-SDK/ijtag | 134a5e084b7929342bc77a707a438329c3dbf3c3 | [
"MIT"
] | 3 | 2019-01-24T11:32:29.000Z | 2019-11-11T20:32:42.000Z | spec/icl_e2_spec.rb | Origen-SDK/ijtag | 134a5e084b7929342bc77a707a438329c3dbf3c3 | [
"MIT"
] | 1 | 2021-05-17T23:16:26.000Z | 2021-05-17T23:16:26.000Z | spec/icl_e2_spec.rb | Origen-SDK/ijtag | 134a5e084b7929342bc77a707a438329c3dbf3c3 | [
"MIT"
] | null | null | null | require "spec_helper"
describe "ICL Example 2 from the 1687 spec" do
def file
"#{Origen.root}/examples/e2.icl"
end
it "can be parsed to an ast" do
icl = File.read(file)
ast = icl_parser.parse(icl).to_ast
end
it 'instantiates the top level instrument' do
defn = IJTAG.import(file: file)
... | 25.71875 | 64 | 0.682868 |
16d1b679b51b43a9055444b852b794e16198ddea | 408 | dart | Dart | packages/leaders_api/test/leaders_api_test.dart | githubmonkey/sliderpuzzle_flutter | da7271bc6bb66c6662baed224278ff59664e3ce5 | [
"MIT"
] | null | null | null | packages/leaders_api/test/leaders_api_test.dart | githubmonkey/sliderpuzzle_flutter | da7271bc6bb66c6662baed224278ff59664e3ce5 | [
"MIT"
] | 1 | 2022-03-30T16:05:47.000Z | 2022-03-30T16:05:47.000Z | packages/leaders_api/test/leaders_api_test.dart | githubmonkey/sliderpuzzle_flutter | da7271bc6bb66c6662baed224278ff59664e3ce5 | [
"MIT"
] | null | null | null | import 'package:leaders_api/leaders_api.dart';
import 'package:test/test.dart';
class TestLeadersApi extends LeadersApi {
TestLeadersApi() : super();
@override
dynamic noSuchMethod(Invocation invocation) {
return super.noSuchMethod(invocation);
}
}
void main() {
group('LeadersApi', () {
test('can b... | 20.4 | 50 | 0.686275 |
2400849402d66c1ac0455bd0b949ca749aa6bcda | 93 | sql | SQL | dhis-2/dhis-support/dhis-support-db-migration/src/main/resources/org/hisp/dhis/db/migration/2.36/V2_36_41__Add_index_on_reservedvalue.sql | abyot/eotcnor | c2edc835bf3db5d97618f19855b6890181df07af | [
"BSD-3-Clause"
] | null | null | null | dhis-2/dhis-support/dhis-support-db-migration/src/main/resources/org/hisp/dhis/db/migration/2.36/V2_36_41__Add_index_on_reservedvalue.sql | abyot/eotcnor | c2edc835bf3db5d97618f19855b6890181df07af | [
"BSD-3-Clause"
] | null | null | null | dhis-2/dhis-support/dhis-support-db-migration/src/main/resources/org/hisp/dhis/db/migration/2.36/V2_36_41__Add_index_on_reservedvalue.sql | abyot/eotcnor | c2edc835bf3db5d97618f19855b6890181df07af | [
"BSD-3-Clause"
] | null | null | null | create index if not exists in_reservedvalue_owneruid_value on reservedvalue (owneruid,value); | 93 | 93 | 0.870968 |
cc9b160e0e780c26a4b0c0d4d73892c4e045541c | 228 | rb | Ruby | rails/db/migrate/20090524183918_add_gse_key_to_grade_span_expectation.rb | concord-consortium/rigse | 254df816c6e46ef9706dcbaf71922706ddbf7e91 | [
"MIT"
] | 6 | 2017-01-18T20:31:28.000Z | 2020-09-17T13:14:30.000Z | rails/db/migrate/20090524183918_add_gse_key_to_grade_span_expectation.rb | concord-consortium/rigse | 254df816c6e46ef9706dcbaf71922706ddbf7e91 | [
"MIT"
] | 587 | 2015-01-13T11:59:25.000Z | 2021-12-13T16:40:37.000Z | rails/db/migrate/20090524183918_add_gse_key_to_grade_span_expectation.rb | concord-consortium/rigse | 254df816c6e46ef9706dcbaf71922706ddbf7e91 | [
"MIT"
] | 8 | 2015-03-04T11:10:40.000Z | 2022-02-02T00:52:04.000Z | class AddGseKeyToGradeSpanExpectation < ActiveRecord::Migration[5.1]
def self.up
add_column :grade_span_expectations, :gse_key, :string
end
def self.down
remove_column :grade_span_expectations, :gse_key
end
end
| 22.8 | 68 | 0.776316 |
db7a3da5837f20c480ea1bf7e3d9d2774ecc0498 | 1,054 | php | PHP | api/app/page/template/editpass.php | jasonhzy/wxfx | 0a9b244bb4addda75616b07aa974b48ca58a62e5 | [
"Apache-2.0"
] | null | null | null | api/app/page/template/editpass.php | jasonhzy/wxfx | 0a9b244bb4addda75616b07aa974b48ca58a62e5 | [
"Apache-2.0"
] | null | null | null | api/app/page/template/editpass.php | jasonhzy/wxfx | 0a9b244bb4addda75616b07aa974b48ca58a62e5 | [
"Apache-2.0"
] | null | null | null | <style type="text/css">
.gototype a{ padding:2px; border-bottom:2px solid #ccc; border-right:2px solid #ccc;}
.tx{ width:350px; border:1px solid #ccc; height:28px; line-height:28px}
.tx2{ width:120px; border:1px solid #ccc; height:28px; line-height:28px}
</style>
<div class="contentbox">
<h2 class="con_title">修改密... | 32.9375 | 178 | 0.594877 |
0d751a46f6ef769d0f3611092acc94f9f15482a1 | 1,070 | cs | C# | src/Condition/OnMissingBean.cs | yuzd/Autofac.Annotation | 9caad26e0641e0c0772a13f4d9f6fd0fbe880da7 | [
"MIT"
] | 203 | 2018-12-04T12:58:02.000Z | 2022-03-25T03:48:10.000Z | src/Condition/OnMissingBean.cs | yuzd/Autofac.Annotation | 9caad26e0641e0c0772a13f4d9f6fd0fbe880da7 | [
"MIT"
] | 22 | 2019-10-01T12:51:46.000Z | 2022-01-21T14:45:13.000Z | src/Condition/OnMissingBean.cs | yuzd/Autofac.Annotation | 9caad26e0641e0c0772a13f4d9f6fd0fbe880da7 | [
"MIT"
] | 43 | 2019-01-17T03:10:17.000Z | 2022-02-27T13:52:18.000Z | using Autofac.Core;
using Autofac.Core.Registration;
namespace Autofac.Annotation.Condition
{
/// <summary>
/// 条件里面配置的 没有被注册过才要添加到容器
/// </summary>
internal class OnMissingBean : ICondition
{
/// <summary>
/// true代表要过滤
/// </summary>
/// <param name="context"></par... | 28.157895 | 96 | 0.530841 |
1bca04ed98b241c887daff86d5ab8b73cde37f8d | 391 | rb | Ruby | app/lib/service_provider.rb | weenhanceit/autism-funding | a170fbd9e5fa6c594935c56faefc846cd504d398 | [
"MIT"
] | null | null | null | app/lib/service_provider.rb | weenhanceit/autism-funding | a170fbd9e5fa6c594935c56faefc846cd504d398 | [
"MIT"
] | 79 | 2016-06-17T05:01:03.000Z | 2018-06-03T14:55:48.000Z | app/lib/service_provider.rb | weenhanceit/autism-funding | a170fbd9e5fa6c594935c56faefc846cd504d398 | [
"MIT"
] | null | null | null | ##
# RTP when being used to pay for an agency or service provider invoice
module ServiceProvider
def display_start_date
cf0925.service_provider_service_start
end
def display_end_date
cf0925.service_provider_service_end
end
def payee
cf0925.service_provider_name || cf0925.agency_name
end
def... | 19.55 | 70 | 0.792839 |
5d9fab6a54e7d2c6017976ec01cdc88f65ce58df | 638 | cpp | C++ | examples/wx/full_demo.cpp | JiveHelix/pex | d3cbe0e437e803fb4af6fe153de0cf3f61a3a6d6 | [
"MIT"
] | null | null | null | examples/wx/full_demo.cpp | JiveHelix/pex | d3cbe0e437e803fb4af6fe153de0cf3f61a3a6d6 | [
"MIT"
] | null | null | null | examples/wx/full_demo.cpp | JiveHelix/pex | d3cbe0e437e803fb4af6fe153de0cf3f61a3a6d6 | [
"MIT"
] | null | null | null |
#include <iostream>
#include <string>
#include <bitset>
#include <array>
#include "tau/angles.h"
#include "fields/fields.h"
#include "pex/signal.h"
#include "pex/value.h"
#include "pex/initialize.h"
#include "pex/range.h"
#include "pex/chooser.h"
#include "pex/converter.h"
#include "pex/wx/wxshim.h"
#include "pex/... | 20.580645 | 39 | 0.721003 |
79905d5c48d070b8eb44dd0e6710557a3c57e0a3 | 1,083 | php | PHP | database/migrations/2016_03_25_094538_create_vacaciones_table.php | danienrikke/cuartel | ab93b42e968f3846e7fece91bba98a5b1e845821 | [
"MIT"
] | null | null | null | database/migrations/2016_03_25_094538_create_vacaciones_table.php | danienrikke/cuartel | ab93b42e968f3846e7fece91bba98a5b1e845821 | [
"MIT"
] | null | null | null | database/migrations/2016_03_25_094538_create_vacaciones_table.php | danienrikke/cuartel | ab93b42e968f3846e7fece91bba98a5b1e845821 | [
"MIT"
] | null | null | null | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateVacacionesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('vacaciones', function (Blueprint $table) {
... | 26.414634 | 107 | 0.56048 |
0d49355677068f8156db710e265eb2ae81893c95 | 348 | cs | C# | reactive-extensions-test/maybe/MaybeEmptyTest.cs | akarnokd/reactive-extensions | 16bf654486b9edfeb359f9330076828a05e5efb6 | [
"Apache-2.0"
] | 50 | 2018-05-10T10:07:45.000Z | 2022-03-18T20:17:28.000Z | reactive-extensions-test/maybe/MaybeEmptyTest.cs | akarnokd/reactive-extensions | 16bf654486b9edfeb359f9330076828a05e5efb6 | [
"Apache-2.0"
] | 29 | 2018-05-10T20:51:37.000Z | 2022-02-17T04:12:31.000Z | reactive-extensions-test/maybe/MaybeEmptyTest.cs | akarnokd/reactive-extensions | 16bf654486b9edfeb359f9330076828a05e5efb6 | [
"Apache-2.0"
] | 2 | 2018-05-24T14:09:31.000Z | 2018-08-01T21:41:52.000Z | using NUnit.Framework;
using System;
using akarnokd.reactive_extensions;
namespace akarnokd.reactive_extensions_test.maybe
{
[TestFixture]
public class MaybeEmptyTest
{
[Test]
public void Basic()
{
MaybeSource.Empty<int>()
.Test()
.Assert... | 18.315789 | 49 | 0.568966 |
24e03bb9628b689baa164bfcbcb0de80bda0eb3b | 349 | cql | SQL | spec/support/files/cypher/typed-attributes.cql | beechnut/aspen | 0207f70ebd236682d47879156f8041e9b3edf6ea | [
"MIT"
] | 21 | 2020-03-07T14:03:02.000Z | 2020-10-26T13:13:34.000Z | spec/support/files/cypher/typed-attributes.cql | thepeergroup/aspen | 0207f70ebd236682d47879156f8041e9b3edf6ea | [
"MIT"
] | 21 | 2020-12-10T14:42:54.000Z | 2022-02-18T02:34:35.000Z | spec/support/files/cypher/typed-attributes.cql | beechnut/aspen | 0207f70ebd236682d47879156f8041e9b3edf6ea | [
"MIT"
] | 4 | 2020-03-24T19:46:26.000Z | 2020-10-15T11:12:02.000Z | MERGE (postoffice_02111:PostOffice { zipcode: "02111" })
MERGE (shipment_4aec5d:Shipment { tracking_number: "4aec5d" })
MERGE (postoffice_05443:PostOffice { zipcode: "05443" })
MERGE (shipment_001091:Shipment { tracking_number: "001091" })
MERGE (postoffice_02111)-[:SENT]->(shipment_4aec5d)
MERGE (postoffice_05443)-[:... | 43.625 | 62 | 0.767908 |
af78511e23c1e8f82ced0b39b89a68be8e1d4da1 | 994 | py | Python | python/pyqt/pyqt5/widget_QCheckBox.py | jeremiedecock/snippets | 4bd4e7f459eee610d5cf19f845299ca942ff4b64 | [
"MIT"
] | 23 | 2015-06-08T13:01:00.000Z | 2021-12-30T08:20:04.000Z | python/pyqt/pyqt5/widget_QCheckBox.py | jeremiedecock/snippets | 4bd4e7f459eee610d5cf19f845299ca942ff4b64 | [
"MIT"
] | 1 | 2020-10-22T02:36:10.000Z | 2020-10-22T02:36:10.000Z | python/pyqt/pyqt5/widget_QCheckBox.py | jeremiedecock/snippets | 4bd4e7f459eee610d5cf19f845299ca942ff4b64 | [
"MIT"
] | 7 | 2017-10-31T09:48:14.000Z | 2022-01-04T15:59:45.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# See http://doc.qt.io/qt-5/qcheckbox.html#details
# http://zetcode.com/gui/pyqt5/widgets/
import sys
from PyQt5.QtWidgets import QApplication, QMainWindow, QCheckBox
from PyQt5.QtCore import Qt
def cb_callback(state):
if state == Qt.Checked:
print('Chec... | 26.157895 | 120 | 0.72334 |
c8228bd10b06407749e48866dcaf008c30162f3a | 285,160 | lua | Lua | Armored Titan.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 70 | 2021-02-09T17:21:32.000Z | 2022-03-28T12:41:42.000Z | Armored Titan.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 4 | 2021-08-19T22:05:58.000Z | 2022-03-19T18:58:01.000Z | Armored Titan.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 325 | 2021-02-26T22:23:41.000Z | 2022-03-31T19:36:12.000Z | local p = game.Players.LocalPlayer
local char = p.Character
local mouse = p:GetMouse()
local larm = char["Left Arm"]
local rarm = char["Right Arm"]
local lleg = char["Left Leg"]
local rleg = char["Right Leg"]
local hed = char.Head
local torso = char.Torso
local hum = char.Humanoid
local cam = game.Workspace.CurrentCame... | 52.313337 | 301 | 0.625649 |
bd0ae0bab2709826468ff05788d2dfb277d3e55c | 317 | rb | Ruby | app/controllers/verifications_controller.rb | kddnewton/wm-memories | 644ad535da0ed1ace0c7adfc988b4b075d7c844b | [
"MIT"
] | 1 | 2017-04-04T23:38:31.000Z | 2017-04-04T23:38:31.000Z | app/controllers/verifications_controller.rb | kddeisz/wm-memories | 3e465fc9530a333166186a89d785d9b60a7e9cda | [
"MIT"
] | 279 | 2016-03-26T21:10:23.000Z | 2021-03-29T12:47:38.000Z | app/controllers/verifications_controller.rb | kddnewton/wm-memories | 644ad535da0ed1ace0c7adfc988b4b075d7c844b | [
"MIT"
] | null | null | null | # frozen_string_literal: true
class VerificationsController < ApplicationController
# GET /subscriptions/:subscription_id/verification
# This needs to be a GET action as it's being linked from emails.
def show
@subscription = Subscription.find(params[:subscription_id])
@subscription.verify!
end
end
| 28.818182 | 67 | 0.776025 |
128fc4a900a7b158491c7e331005da7d55e6a029 | 182 | cs | C# | Assets/Scripts/Platformer/Components/ScaleComponent.cs | tanis2000/binocle-unity-seed | 17b5bc51b777b1734fcdc8fd07d5f73f4952f3bf | [
"MIT",
"Unlicense"
] | 6 | 2016-12-20T14:02:44.000Z | 2021-02-06T03:55:43.000Z | Assets/Scripts/Platformer/Components/ScaleComponent.cs | tanis2000/binocle-unity-seed | 17b5bc51b777b1734fcdc8fd07d5f73f4952f3bf | [
"MIT",
"Unlicense"
] | null | null | null | Assets/Scripts/Platformer/Components/ScaleComponent.cs | tanis2000/binocle-unity-seed | 17b5bc51b777b1734fcdc8fd07d5f73f4952f3bf | [
"MIT",
"Unlicense"
] | null | null | null | using Binocle.Components;
using UnityEngine;
namespace App.Platformer
{
public class ScaleComponent : BaseMonoBehaviour
{
public Vector2 Scale = Vector2.one;
}
} | 18.2 | 51 | 0.714286 |
14613994f6d8899321e5650ce7b22039bc96fc86 | 767 | ts | TypeScript | Webclient/src/app/module/account/module.ts | Geigerkind/Jaylapp | 1dbdb65da201cc1a093899600dc333b5775165b9 | [
"MIT"
] | 3 | 2020-03-24T17:01:10.000Z | 2020-09-20T14:48:29.000Z | Webclient/src/app/module/account/module.ts | Geigerkind/Jaylapp | 1dbdb65da201cc1a093899600dc333b5775165b9 | [
"MIT"
] | 1 | 2021-06-04T12:33:00.000Z | 2021-06-04T12:33:00.000Z | Webclient/src/app/module/account/module.ts | Geigerkind/Jaylapp | 1dbdb65da201cc1a093899600dc333b5775165b9 | [
"MIT"
] | 1 | 2020-01-05T23:28:44.000Z | 2020-01-05T23:28:44.000Z | import {NgModule} from "@angular/core";
import {TranslateModule} from "@ngx-translate/core";
import {AccountComponent} from "./component/account/account";
import {NavigationBarComponent} from "./component/navigation_bar/navigation_bar";
import {AccountRouting} from "./routing";
import {CommonModule} from "@angular/comm... | 29.5 | 81 | 0.709257 |
88b05b740302be8ccfd63b4392ab77e223729a10 | 3,488 | swift | Swift | final/PandemicReport/Services/ReportService.swift | grahamConnolly/TestingCoreDataRwSample | dddd200f4aeb20ebc6d2f10d3412f3aaf8144ab6 | [
"Unlicense"
] | 1 | 2021-02-20T12:30:46.000Z | 2021-02-20T12:30:46.000Z | final/PandemicReport/Services/ReportService.swift | grahamConnolly/TestingCoreDataRwSample | dddd200f4aeb20ebc6d2f10d3412f3aaf8144ab6 | [
"Unlicense"
] | null | null | null | final/PandemicReport/Services/ReportService.swift | grahamConnolly/TestingCoreDataRwSample | dddd200f4aeb20ebc6d2f10d3412f3aaf8144ab6 | [
"Unlicense"
] | null | null | null | /// Copyright (c) 2020 Razeware LLC
///
/// 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, pu... | 40.55814 | 124 | 0.752867 |
f1385c1254f93e118b7e55d019992214218a6e67 | 97 | rb | Ruby | lib/postgres_ext/arel/nodes.rb | bithium/postgres_ext | 41e3a8e84185239314e9c0bb47901a879f5e240e | [
"MIT"
] | 113 | 2015-01-02T22:17:38.000Z | 2016-02-04T10:55:51.000Z | lib/postgres_ext/arel/nodes.rb | bithium/postgres_ext | 41e3a8e84185239314e9c0bb47901a879f5e240e | [
"MIT"
] | 31 | 2015-01-02T18:34:13.000Z | 2016-02-02T23:51:31.000Z | lib/postgres_ext/arel/nodes.rb | bithium/postgres_ext | 41e3a8e84185239314e9c0bb47901a879f5e240e | [
"MIT"
] | 32 | 2017-09-11T08:02:58.000Z | 2022-03-15T16:45:30.000Z | require 'postgres_ext/arel/nodes/array_nodes'
require 'postgres_ext/arel/nodes/contained_within'
| 32.333333 | 50 | 0.85567 |
a3dcda836308f65b71208cabb95e918890c99ec5 | 4,784 | java | Java | src/main/java/tv/dyndns/kishibe/qmaclone/client/statistics/PanelStatisticsRatingDistribution.java | nodchip/QMAClone | 6f8ac083b069d233f0c9bcb722431117128a9cf1 | [
"MIT"
] | 13 | 2015-03-06T10:57:51.000Z | 2022-03-19T13:14:45.000Z | src/main/java/tv/dyndns/kishibe/qmaclone/client/statistics/PanelStatisticsRatingDistribution.java | nodchip/QMAClone | 6f8ac083b069d233f0c9bcb722431117128a9cf1 | [
"MIT"
] | 1,093 | 2020-04-26T05:30:36.000Z | 2022-02-07T01:33:40.000Z | src/main/java/tv/dyndns/kishibe/qmaclone/client/statistics/PanelStatisticsRatingDistribution.java | nodchip/QMAClone | 6f8ac083b069d233f0c9bcb722431117128a9cf1 | [
"MIT"
] | 4 | 2015-03-20T03:44:05.000Z | 2020-12-31T13:31:10.000Z | //The MIT License
//
//Copyright (c) 2009 nodchip
//
//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... | 37.375 | 189 | 0.760242 |
b76dcf1ae86150c7d6fbe200281b2d2d37c82711 | 526 | cpp | C++ | Source/UTagsEd/Private/UTreeViewItem.cpp | SysOverdrive/UUtils | c6fde6b1ef9988c662b21c4135a3d3af42176fe1 | [
"BSD-3-Clause"
] | null | null | null | Source/UTagsEd/Private/UTreeViewItem.cpp | SysOverdrive/UUtils | c6fde6b1ef9988c662b21c4135a3d3af42176fe1 | [
"BSD-3-Clause"
] | null | null | null | Source/UTagsEd/Private/UTreeViewItem.cpp | SysOverdrive/UUtils | c6fde6b1ef9988c662b21c4135a3d3af42176fe1 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2018, Institute for Artificial Intelligence - University of Bremen
// Author: Chifor Tudor
#pragma once
#include "UTreeViewItem.h"
void FTreeViewItemData::AddChild(FTreeViewItemDataPtrType InChildNodePtr)
{
//Ensure the node is not already parented elsewhere
//Todo: This should not be a problem though... | 30.941176 | 79 | 0.779468 |
d62177d3dbff759f6d2113e84b666e6815ed5fc4 | 2,927 | cs | C# | aiof.messaging.data/AutoMappingProfile.cs | kamacharovs/aiof-messaging | 75cb3d605f981c3be4353e7990537c77c25e8862 | [
"MIT"
] | 2 | 2021-01-28T00:39:15.000Z | 2021-02-22T12:01:31.000Z | aiof.messaging.data/AutoMappingProfile.cs | kamacharovs/aiof-messaging | 75cb3d605f981c3be4353e7990537c77c25e8862 | [
"MIT"
] | 1 | 2021-01-27T03:31:03.000Z | 2021-01-27T03:31:03.000Z | aiof.messaging.data/AutoMappingProfile.cs | kamacharovs/aiof-messaging | 75cb3d605f981c3be4353e7990537c77c25e8862 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text;
using AutoMapper;
using Newtonsoft.Json;
namespace aiof.messaging.data
{
public class AutoMappingProfile : Profile
{
public AutoMappingProfile()
{
CreateMap<IMessage, IEmailMessage>()
.ForMember(x =... | 52.267857 | 105 | 0.511787 |
441c113733e1aeb832085b14729dc40ccaa8e221 | 1,783 | py | Python | fractals/pytorch/loss_train_data.py | NeilBostian/ML | df487db8755ad074cdd42f1094747815ae555896 | [
"Unlicense"
] | 1 | 2019-10-11T21:36:06.000Z | 2019-10-11T21:36:06.000Z | fractals/pytorch/loss_train_data.py | NeilBostian/ML | df487db8755ad074cdd42f1094747815ae555896 | [
"Unlicense"
] | null | null | null | fractals/pytorch/loss_train_data.py | NeilBostian/ML | df487db8755ad074cdd42f1094747815ae555896 | [
"Unlicense"
] | null | null | null | import os
import random
import numpy as np
from PIL import Image
def get_loss_train_data():
if not os.path.exists('.data/DIV2K'):
# DIV2K Home Page: https://data.vision.ee.ethz.ch/cvl/DIV2K/
# DIV2K Training Set: http://data.vision.ee.ethz.ch/cvl/DIV2K/DIV2K_train_HR.zip
raise os.error('No... | 33.018519 | 147 | 0.581604 |
653f5fe53feddd38d5633e3b0003905eef43a309 | 15,775 | css | CSS | public/assets/css/preloader_miabartAfrik.min.css | Richejoy/miabartafrik-website-v2 | 47ea25b70eb97b9562a5597afcc7b126cc891a0b | [
"MIT"
] | null | null | null | public/assets/css/preloader_miabartAfrik.min.css | Richejoy/miabartafrik-website-v2 | 47ea25b70eb97b9562a5597afcc7b126cc891a0b | [
"MIT"
] | null | null | null | public/assets/css/preloader_miabartAfrik.min.css | Richejoy/miabartafrik-website-v2 | 47ea25b70eb97b9562a5597afcc7b126cc891a0b | [
"MIT"
] | null | null | null | .miabartafrik_preloader_page{top:0;left:0;z-index:99999;position:fixed;height:100%;width:100%;text-align:center;background-image:linear-gradient(161deg,rgba(121,121,121,.02) 0,rgba(121,121,121,.02) 16.667%,rgba(193,193,193,.02) 16.667%,rgba(193,193,193,.02) 33.334%,rgba(177,177,177,.02) 33.334%,rgba(177,177,177,.02) 50... | 15,775 | 15,775 | 0.763423 |
ff73f9177c9f2dd2b1e19e713669fdd3ecf27baf | 316 | py | Python | Aulas/Mundo 1/030.py | JoaoEmanuell/Meus-Estudos-Python | f6f6eeb6016919e594613785ffe7136d74241ada | [
"MIT"
] | 2 | 2021-07-29T18:58:02.000Z | 2021-10-29T21:11:22.000Z | Aulas/Mundo 1/030.py | JoaoEmanuell/Meus-Estudos-Python | f6f6eeb6016919e594613785ffe7136d74241ada | [
"MIT"
] | null | null | null | Aulas/Mundo 1/030.py | JoaoEmanuell/Meus-Estudos-Python | f6f6eeb6016919e594613785ffe7136d74241ada | [
"MIT"
] | null | null | null | num = int(input('\033[1;31mMe diga um número \033[m'))
resultado = num % 2
par = (0)
impar = (1)
if resultado == impar:
print('\033[1;32mO número\033[m \033[1;31m{}\033[m \033[1;34mé impar\033[m'.format(num))
else:
print('\033[1;33mO número\033[m \033[1;31m{}\033[m \033[1;34mé par\033[m'.format(num)) | 39.5 | 93 | 0.623418 |
8c87014a913dc2a5357e0f4707a0106d782d36a8 | 4,118 | go | Go | pkg/azure/cli.go | martyni/rovergo | 15519f05fd424be1d69ed00613a8517ec5d1347b | [
"MIT"
] | 12 | 2021-05-28T22:39:07.000Z | 2022-03-17T23:31:25.000Z | pkg/azure/cli.go | martyni/rovergo | 15519f05fd424be1d69ed00613a8517ec5d1347b | [
"MIT"
] | 80 | 2021-05-27T15:43:57.000Z | 2022-02-08T14:31:05.000Z | pkg/azure/cli.go | martyni/rovergo | 15519f05fd424be1d69ed00613a8517ec5d1347b | [
"MIT"
] | 6 | 2021-06-17T04:59:36.000Z | 2022-03-09T12:45:47.000Z | //
// Rover - Azure CLI
// * Interactions with the Azure CLI
// * Ben C, May 2021
//
package azure
import (
"encoding/json"
"fmt"
"strings"
"github.com/aztfmod/rover/pkg/command"
"github.com/aztfmod/rover/pkg/console"
)
// AccountUser holds details of the signed in user, might be a managed identity
// populate... | 26.915033 | 122 | 0.687712 |
0d500192fe5d34813d49c8fa9bd1680e85963c36 | 2,206 | cs | C# | C05/NET6/Data Transfer Object/Controllers/CustomersController.cs | wagnerhsu/packt-An-Atypical-ASP.NET-Core-6-Design-Patterns-Guide | 4d9b2402bd0b58635a9c6cd15bcc7bcb9c01aa45 | [
"MIT"
] | null | null | null | C05/NET6/Data Transfer Object/Controllers/CustomersController.cs | wagnerhsu/packt-An-Atypical-ASP.NET-Core-6-Design-Patterns-Guide | 4d9b2402bd0b58635a9c6cd15bcc7bcb9c01aa45 | [
"MIT"
] | null | null | null | C05/NET6/Data Transfer Object/Controllers/CustomersController.cs | wagnerhsu/packt-An-Atypical-ASP.NET-Core-6-Design-Patterns-Guide | 4d9b2402bd0b58635a9c6cd15bcc7bcb9c01aa45 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApi.Models;
using WebApi.Services;
using Microsoft.AspNetCore.Mvc;
namespace WebApi.Controllers
{
[Route("[controller]")]
[ApiController]
public class CustomersController : ControllerBase
{
... | 33.424242 | 106 | 0.554397 |
e28300e9cd13a25594ef218075078f5d00374093 | 10,856 | py | Python | model/metric.py | NLP-Discourse-SoochowU/sota_end2end_parser | fc3fde603b12fb41eb1cc40df79495569318bd88 | [
"Apache-2.0"
] | 1 | 2021-12-20T07:56:13.000Z | 2021-12-20T07:56:13.000Z | model/metric.py | NLP-Discourse-SoochowU/sota_end2end_parser | fc3fde603b12fb41eb1cc40df79495569318bd88 | [
"Apache-2.0"
] | null | null | null | model/metric.py | NLP-Discourse-SoochowU/sota_end2end_parser | fc3fde603b12fb41eb1cc40df79495569318bd88 | [
"Apache-2.0"
] | 1 | 2021-08-16T07:27:02.000Z | 2021-08-16T07:27:02.000Z | # -*- coding: utf-8 -*-
"""
@Author: Lyzhang
@Date: 2019.7.16
@Description: micro + standard parseval
"""
import numpy as np
import torch
from config import *
from path_config import MODELS2SAVE
class Metrics(object):
def __init__(self, log_file=None):
self.log_file = log_file
self.true_all = [0.... | 52.699029 | 117 | 0.558401 |
ef4e746a0517e2ca7acfa2852db342f2694edb9d | 2,514 | js | JavaScript | packages/zoe/test/unitTests/test-rightsConservation.js | TerryvanWalen/agoric-sdk | c655939a268417ba49ab68e603eb5b02faf202d3 | [
"Apache-2.0"
] | null | null | null | packages/zoe/test/unitTests/test-rightsConservation.js | TerryvanWalen/agoric-sdk | c655939a268417ba49ab68e603eb5b02faf202d3 | [
"Apache-2.0"
] | null | null | null | packages/zoe/test/unitTests/test-rightsConservation.js | TerryvanWalen/agoric-sdk | c655939a268417ba49ab68e603eb5b02faf202d3 | [
"Apache-2.0"
] | null | null | null | // eslint-disable-next-line import/no-extraneous-dependencies
import { test } from 'tape-promise/tape';
import produceIssuer from '@agoric/ertp';
import { areRightsConserved, transpose } from '../../src/rightsConservation';
const setupAmountMaths = () => {
const moolaIssuerResults = produceIssuer('moola');
const ... | 24.173077 | 78 | 0.603421 |
456ad6c0a5b44e0f401c7be08cd12c4630cec348 | 6,355 | lua | Lua | model/GRU.lua | yoosan/deepmind_qa | d28172b29f85a82371cfd7d9103a507e8ebd5d85 | [
"MIT"
] | 5 | 2016-03-26T05:51:56.000Z | 2016-05-14T16:19:11.000Z | model/GRU.lua | yoosan/deepmind_qa | d28172b29f85a82371cfd7d9103a507e8ebd5d85 | [
"MIT"
] | null | null | null | model/GRU.lua | yoosan/deepmind_qa | d28172b29f85a82371cfd7d9103a507e8ebd5d85 | [
"MIT"
] | null | null | null | --[[
- Author: yoosan, SYSUDNLP Group
- Date: 16/3/22, 2016.
- Licence MIT
--]]
--[[
Gated Recurrent Unit. (http://arxiv.org/pdf/1412.3555v1.pdf)
--]]
local GRU, parent = torch.class('nn.GRU', 'nn.Module')
function GRU:__init(config)
parent.__init(self)
self.in_dim = config.in_dim or 300
self.mem_... | 32.927461 | 90 | 0.618883 |
7ae75dfc14e8813c67119521f61dbb83ddb16b12 | 259 | swift | Swift | iChat/User.swift | likhitgarimella/iChat-App | ffa256e017fb016ceb0b9419d3214624cafb39b6 | [
"MIT"
] | 1 | 2021-07-28T17:26:18.000Z | 2021-07-28T17:26:18.000Z | iChat/User.swift | likhitgarimella/iChat-App | ffa256e017fb016ceb0b9419d3214624cafb39b6 | [
"MIT"
] | null | null | null | iChat/User.swift | likhitgarimella/iChat-App | ffa256e017fb016ceb0b9419d3214624cafb39b6 | [
"MIT"
] | null | null | null | //
// User.swift
// iChat
//
// Created by Likhit Garimella on 24/05/20.
// Copyright © 2020 Likhit Garimella. All rights reserved.
//
import UIKit
import Firebase
class User: NSObject {
var name: String?
var email: String?
} // #18
| 14.388889 | 59 | 0.625483 |
051bcbd3c65e1d48f32e95f5fed2e8c7efb6ee4b | 3,205 | rb | Ruby | lib/ass_maintainer/info_base/interfaces.rb | leoniv/ass_maintainer-info_base | 1cc9212fc240dafb058faae1e122eb9c8ece1cf7 | [
"MIT"
] | 3 | 2017-07-10T16:23:46.000Z | 2018-11-12T20:52:00.000Z | lib/ass_maintainer/info_base/interfaces.rb | leoniv/ass_maintainer-info_base | 1cc9212fc240dafb058faae1e122eb9c8ece1cf7 | [
"MIT"
] | 3 | 2016-12-02T09:56:26.000Z | 2017-12-21T07:18:23.000Z | lib/ass_maintainer/info_base/interfaces.rb | leoniv/ass_maintainer-info_base | 1cc9212fc240dafb058faae1e122eb9c8ece1cf7 | [
"MIT"
] | 1 | 2018-11-12T20:52:02.000Z | 2018-11-12T20:52:02.000Z | module AssMaintainer
class InfoBase
# Riseses when infobase already locked and +InfoBase#unlock_code+
# does not macth +PermissionCode+ on server
class UnlockError < StandardError; end
# Raises when +InfoBase#unlock_code+ not setted
class LockError < StandardError; end
# Define absract Inter... | 29.675926 | 73 | 0.615289 |
f206c47f392e55176ed6e6d6daa1da23e72fe2ee | 67,074 | cpp | C++ | Object_Recognition/src/pnp/signature.cpp | EricCJoyce/The-Recognitions | 05aafbcd124988d58b1cc60070b9ad17d49322d7 | [
"MIT"
] | 1 | 2021-06-29T20:53:18.000Z | 2021-06-29T20:53:18.000Z | Object_Recognition/src/pnp/signature.cpp | EricCJoyce/The-Recognitions | 05aafbcd124988d58b1cc60070b9ad17d49322d7 | [
"MIT"
] | null | null | null | Object_Recognition/src/pnp/signature.cpp | EricCJoyce/The-Recognitions | 05aafbcd124988d58b1cc60070b9ad17d49322d7 | [
"MIT"
] | 1 | 2021-09-26T03:14:49.000Z | 2021-09-26T03:14:49.000Z | #ifndef __SIGNATURE_CPP
#define __SIGNATURE_CPP
#include "signature.h"
/**************************************************************************************************
Constructors */
/* Signature constructor, no data given */
Signature::Signature()
{
unsigned int i;
#ifdef __SIGNATURE_DEBUG
cout... | 36.793198 | 141 | 0.451606 |
167eb4423ad1ef0335b6313fd3767260e5cdbd81 | 6,749 | lua | Lua | action_map.lua | thehunmonkgroup/jester | 3ef650956b0b4eed7746a07800401528b113a8e0 | [
"MIT"
] | 37 | 2015-01-23T11:01:10.000Z | 2021-11-20T14:44:34.000Z | action_map.lua | thehunmonkgroup/jester | 3ef650956b0b4eed7746a07800401528b113a8e0 | [
"MIT"
] | 1 | 2021-04-08T10:47:31.000Z | 2021-04-08T15:02:07.000Z | action_map.lua | thehunmonkgroup/jester | 3ef650956b0b4eed7746a07800401528b113a8e0 | [
"MIT"
] | 9 | 2015-04-01T07:59:28.000Z | 2021-08-21T17:50:15.000Z | -- TODO: What is this for?
--- Table of Jester actions as extracted from Jester using ldoc.
--
-- It is a simple map of all actions, their parameters (minus the action
-- itself), and what value type the parameter accepts.
--
-- @script action_map.lua
-- @author Chad Phillips
-- @copyright 2011-2015 Chad Phillips
retu... | 20.328313 | 72 | 0.552378 |
7b1701e0f9c55e57a5ef67cc4a5c3924a48d0e72 | 2,014 | gemspec | Ruby | opds.gemspec | zetaben/opds | bd81bc90a3915f41fc802078f0cb1144f53e0426 | [
"MIT"
] | 1 | 2021-04-14T22:46:11.000Z | 2021-04-14T22:46:11.000Z | opds.gemspec | zetaben/opds | bd81bc90a3915f41fc802078f0cb1144f53e0426 | [
"MIT"
] | null | null | null | opds.gemspec | zetaben/opds | bd81bc90a3915f41fc802078f0cb1144f53e0426 | [
"MIT"
] | 1 | 2018-01-28T01:05:37.000Z | 2018-01-28T01:05:37.000Z | # Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{opds}
s.version = "0.4.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_... | 28.771429 | 105 | 0.637041 |
e760860988af67eb317e883192658dfb9db09f9b | 329 | php | PHP | app/Models/Information.php | tiennm54/voucher | daae4064cb157f30a6a89c24cf8efba32280118f | [
"MIT"
] | null | null | null | app/Models/Information.php | tiennm54/voucher | daae4064cb157f30a6a89c24cf8efba32280118f | [
"MIT"
] | null | null | null | app/Models/Information.php | tiennm54/voucher | daae4064cb157f30a6a89c24cf8efba32280118f | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use URL;
class Information extends Model{
protected $table = 'information';
public $timestamps = false;
public function getUrl(){
return URL::route('frontend.information.view',['id'=>$this->id,'url'=>$this->url_title.'.html'])... | 25.307692 | 105 | 0.668693 |
e75e280952d234931ed84b0fbc444ebad2984b7f | 645 | php | PHP | resources/views/client/app.blade.php | jeeckr/Ogi | 2841a9af0e2c255b64fcec60741aedb6d33e2efc | [
"MIT"
] | null | null | null | resources/views/client/app.blade.php | jeeckr/Ogi | 2841a9af0e2c255b64fcec60741aedb6d33e2efc | [
"MIT"
] | null | null | null | resources/views/client/app.blade.php | jeeckr/Ogi | 2841a9af0e2c255b64fcec60741aedb6d33e2efc | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="">
<head>
@include('client.component.css')
@yield('style_css')
<style>
body {
overflow-x: hidden;
}
</style>
</head>
<body>
@include('client.component.navbar')
<div class="container">
<section id="topbar" class="">
... | 16.125 | 74 | 0.482171 |
32c0ac2363e5aaca58cf8989a07928a76732abe2 | 2,191 | dart | Dart | lib/widgets/animationAndMotionWidgets/AMAnimatedOpacityScreen.dart | Bina-man/flutter_prokit_customization | 51c00f4540fd30dcc045f2916c0bd28998ba6940 | [
"Unlicense",
"MIT"
] | null | null | null | lib/widgets/animationAndMotionWidgets/AMAnimatedOpacityScreen.dart | Bina-man/flutter_prokit_customization | 51c00f4540fd30dcc045f2916c0bd28998ba6940 | [
"Unlicense",
"MIT"
] | null | null | null | lib/widgets/animationAndMotionWidgets/AMAnimatedOpacityScreen.dart | Bina-man/flutter_prokit_customization | 51c00f4540fd30dcc045f2916c0bd28998ba6940 | [
"Unlicense",
"MIT"
] | null | null | null | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:nb_utils/nb_utils.dart';
import 'package:prokit_flutter/main/utils/AppWidget.dart';
import '../../main.dart';
class AMAnimatedOpacityScreen extends StatefulWidget {
static String tag = '/AMAnimatedOpacityScreen';
@ov... | 26.39759 | 79 | 0.549521 |