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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bb7a4883e66680497058e205d42efb7b426633c8 | 5,619 | cs | C# | FairyGUI/Scripts/Core/Mesh/EllipseMesh.cs | fairygui/FairyGUI-monogame | a0e8489ecef6a998395b994f7c05ec7cc95997fb | [
"MIT"
] | 56 | 2018-11-01T04:14:38.000Z | 2022-01-21T10:06:55.000Z | FairyGUI/Scripts/Core/Mesh/EllipseMesh.cs | fairygui/FairyGUI-monogame | a0e8489ecef6a998395b994f7c05ec7cc95997fb | [
"MIT"
] | 11 | 2018-11-01T06:52:59.000Z | 2020-07-28T09:13:49.000Z | FairyGUI/Scripts/Core/Mesh/EllipseMesh.cs | fairygui/FairyGUI-monogame | a0e8489ecef6a998395b994f7c05ec7cc95997fb | [
"MIT"
] | 6 | 2018-11-01T05:43:17.000Z | 2020-05-18T07:50:55.000Z | using System;
using Microsoft.Xna.Framework;
using Rectangle = System.Drawing.RectangleF;
namespace FairyGUI
{
/// <summary>
///
/// </summary>
public class EllipseMesh : IMeshFactory, IHitTest
{
/// <summary>
///
/// </summary>
public Rectangle? drawRect;
/// <summary>
///
/// </summary>
pub... | 27.409756 | 149 | 0.599751 |
6e4b21bb0b5f78b9aef1d44614380bd52019173b | 136,622 | sql | SQL | data/g_huttes.sql | philipperenard/karstnet | 7ffb67c498b75629f75e67b89aa5352c4b65ff74 | [
"MIT"
] | 6 | 2019-03-07T17:33:18.000Z | 2021-01-19T18:50:00.000Z | data/g_huttes.sql | philipperenard/karstnet | 7ffb67c498b75629f75e67b89aa5352c4b65ff74 | [
"MIT"
] | null | null | null | data/g_huttes.sql | philipperenard/karstnet | 7ffb67c498b75629f75e67b89aa5352c4b65ff74 | [
"MIT"
] | 4 | 2018-12-12T16:09:06.000Z | 2021-04-14T08:45:22.000Z | create table SURVEY (ID integer, PARENT_ID integer, NAME varchar(20), FULL_NAME varchar(17), TITLE varchar(19));
create table CENTRELINE (ID integer, SURVEY_ID integer, TITLE varchar(4), TOPO_DATE date, EXPLO_DATE date, LENGTH real, SURFACE_LENGTH real, DUPLICATE_LENGTH real);
create table PERSON (ID integer, NAME varc... | 89.588197 | 236 | 0.63216 |
f450f8d8415ba878e8b0937a7981470c1f825abf | 121 | cs | C# | ProcuretAPI/src/Order.cs | Procuret/procuret-dotnet | 7764d88d22902d6c12581c0a18a55d6d2c905096 | [
"MIT"
] | null | null | null | ProcuretAPI/src/Order.cs | Procuret/procuret-dotnet | 7764d88d22902d6c12581c0a18a55d6d2c905096 | [
"MIT"
] | 2 | 2021-01-24T22:48:45.000Z | 2021-01-25T02:43:48.000Z | ProcuretAPI/src/Order.cs | Procuret/procuret-dotnet | 7764d88d22902d6c12581c0a18a55d6d2c905096 | [
"MIT"
] | null | null | null | using System;
namespace ProcuretAPI
{
public enum Order
{
ASCENDING = 1,
DESCENDING = 2
}
}
| 12.1 | 22 | 0.553719 |
d65a5c935320eee72533f61fdceba5c8fa15df4d | 23,313 | cs | C# | MainWindow.xaml.cs | 0x0042A971/ZTM | 7bd4da57591b1657c50a97c7d8a115f44bc432f7 | [
"Apache-2.0"
] | 1 | 2022-02-23T12:26:10.000Z | 2022-02-23T12:26:10.000Z | MainWindow.xaml.cs | 0x0042A971/ZTM | 7bd4da57591b1657c50a97c7d8a115f44bc432f7 | [
"Apache-2.0"
] | null | null | null | MainWindow.xaml.cs | 0x0042A971/ZTM | 7bd4da57591b1657c50a97c7d8a115f44bc432f7 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System... | 38.855 | 158 | 0.51971 |
1427bbb1dc4e4deed27109c9dc3fd3665718f3cd | 1,137 | ts | TypeScript | src/utils/StreamUtils.ts | tagdynamics-org/osm-extract-tags | bdb8e366de9b35381de070fa136add8d368e58c5 | [
"MIT"
] | 1 | 2019-02-13T14:33:40.000Z | 2019-02-13T14:33:40.000Z | src/utils/StreamUtils.ts | tagdynamics-org/osm-extract-tags | bdb8e366de9b35381de070fa136add8d368e58c5 | [
"MIT"
] | null | null | null | src/utils/StreamUtils.ts | tagdynamics-org/osm-extract-tags | bdb8e366de9b35381de070fa136add8d368e58c5 | [
"MIT"
] | null | null | null | const fs = require("fs");
/** Serialize a Highland stream of objects to a JSONL file */
function writeJSONL<A>(stream: Highland.Stream<A>, outputFilename: string) {
const outputFileStream = fs.createWriteStream(outputFilename);
return stream.map((out) => JSON.stringify(out) + "\n")
.pipe(outputFileS... | 35.53125 | 82 | 0.66051 |
c98c7923d4ec4a5a088bf92d1669ce2de5b219f8 | 790 | ts | TypeScript | test/parseCodeBlock.test.ts | oasis-sh/discord-bot | de154a36bbbbd0348b642a31413e993eb214bb79 | [
"MIT"
] | 2 | 2021-06-05T13:18:26.000Z | 2021-06-06T01:39:41.000Z | test/parseCodeBlock.test.ts | oasis-sh/discord-bot | de154a36bbbbd0348b642a31413e993eb214bb79 | [
"MIT"
] | 1 | 2021-07-17T00:55:10.000Z | 2021-08-02T04:03:44.000Z | test/parseCodeBlock.test.ts | oasis-sh/discord-bot | de154a36bbbbd0348b642a31413e993eb214bb79 | [
"MIT"
] | 3 | 2021-06-06T22:58:10.000Z | 2021-07-12T12:42:35.000Z | import parseCodeBlock from '../src/utils/parseCodeBlock';
describe('test parsing codeblocks', () => {
it('should return the same value', () => {
const base = 'Hello World!';
const parsed = parseCodeBlock(base);
expect(parsed).toEqual({ code: base, lang: null });
});
it('should ret... | 31.6 | 86 | 0.567089 |
be3de1fcd207a270b440d8e24035825bf72f92b3 | 953 | ts | TypeScript | src/app/config/config.module.ts | RhVinuya/FIFICardAdmin | 35b04f2a4d1bb670ad78a4216a42089245838194 | [
"MIT"
] | null | null | null | src/app/config/config.module.ts | RhVinuya/FIFICardAdmin | 35b04f2a4d1bb670ad78a4216a42089245838194 | [
"MIT"
] | null | null | null | src/app/config/config.module.ts | RhVinuya/FIFICardAdmin | 35b04f2a4d1bb670ad78a4216a42089245838194 | [
"MIT"
] | null | null | null | import { ConfigComponent } from './config.component';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { SharedModule } from '../shared/shared.module';
import { ConfigRoutingModule } from './config-routing.module';
import { EventListComponent } from './event-list/event-li... | 31.766667 | 87 | 0.733473 |
831b692fa8f191fb1514f7b988b852b8129ccc1a | 227 | ts | TypeScript | examples/08-vue-3-workbench/packages/app/settings/src/locale/example/types.ts | jjvainav/tool | a574653c26c8574b04be34577efbcf7693ce64e6 | [
"MIT"
] | 1 | 2021-10-13T07:02:11.000Z | 2021-10-13T07:02:11.000Z | examples/08-vue-3-workbench/packages/app/settings/src/locale/example/types.ts | jjvainav/tool | a574653c26c8574b04be34577efbcf7693ce64e6 | [
"MIT"
] | 59 | 2020-05-31T00:41:16.000Z | 2022-02-27T04:54:22.000Z | examples/08-vue-3-workbench/packages/app/settings/src/locale/example/types.ts | jjvainav/tool | a574653c26c8574b04be34577efbcf7693ce64e6 | [
"MIT"
] | null | null | null | import { ILocaleMessageObject } from "@shrub/vue-i18n";
export interface IExampleLocale extends ILocaleMessageObject {
readonly settings: {
readonly example: {
readonly title: string;
}
};
} | 25.222222 | 62 | 0.651982 |
be93b766c6e5d38ecc8502f239fddc5a50d2d7fc | 2,608 | ts | TypeScript | src/app/editor/validator/text/text-validator.directive.ts | streampipes/streampipes-ui | 40d6febdafbfa4a67076fb782267ba29e94f4270 | [
"Apache-2.0"
] | 2 | 2019-10-18T02:31:09.000Z | 2019-11-06T14:33:55.000Z | src/app/editor/validator/text/text-validator.directive.ts | streampipes/streampipes-ui | 40d6febdafbfa4a67076fb782267ba29e94f4270 | [
"Apache-2.0"
] | null | null | null | src/app/editor/validator/text/text-validator.directive.ts | streampipes/streampipes-ui | 40d6febdafbfa4a67076fb782267ba29e94f4270 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 FZI Forschungszentrum Informatik
*
* 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 applicabl... | 40.123077 | 160 | 0.631135 |
bb84d7c8511dbb0161c278f44a25aebe70effe3f | 4,061 | cs | C# | 28.Bootloader/Bootloader/Properties/Settings.Designer.cs | timwuu/Projects | 5077922e518a437711a9dbae6c97ca750fe621b2 | [
"MIT"
] | null | null | null | 28.Bootloader/Bootloader/Properties/Settings.Designer.cs | timwuu/Projects | 5077922e518a437711a9dbae6c97ca750fe621b2 | [
"MIT"
] | null | null | null | 28.Bootloader/Bootloader/Properties/Settings.Designer.cs | timwuu/Projects | 5077922e518a437711a9dbae6c97ca750fe621b2 | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 36.585586 | 151 | 0.550603 |
cd19e4180cdd1a624ac208b5d3b50e8b18a06aa3 | 579 | cs | C# | Core/Repository/DeviceAccountRepository.cs | kyleabrock/Usbacc | 80d612ace97eaaa0c14493f74c04b7975cd6c281 | [
"MIT"
] | null | null | null | Core/Repository/DeviceAccountRepository.cs | kyleabrock/Usbacc | 80d612ace97eaaa0c14493f74c04b7975cd6c281 | [
"MIT"
] | null | null | null | Core/Repository/DeviceAccountRepository.cs | kyleabrock/Usbacc | 80d612ace97eaaa0c14493f74c04b7975cd6c281 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using NHibernate;
using Usbacc.Core.Domain;
namespace Usbacc.Core.Repository
{
public class DeviceAccountRepository : Repository<DeviceAccount>
{
public IList<DeviceAccount> GetAll(bool eagerLoading)
{
using (ISession session = NHibernateHelper.Ope... | 27.571429 | 84 | 0.611399 |
0cc385cf74720ae4bf912e939fd25096f4fdd012 | 12,542 | lua | Lua | utils.lua | s-dismas/TeX-without-TeX-revised | af717c50d45f93e0821085a75785ed29693fad9d | [
"0BSD"
] | 1 | 2021-12-17T13:33:25.000Z | 2021-12-17T13:33:25.000Z | utils.lua | s-dismas/TeX-without-TeX-revised | af717c50d45f93e0821085a75785ed29693fad9d | [
"0BSD"
] | null | null | null | utils.lua | s-dismas/TeX-without-TeX-revised | af717c50d45f93e0821085a75785ed29693fad9d | [
"0BSD"
] | null | null | null |
--- Copyright (c) 2021 by Toadstone Enterprises.
--- ISC-type license, see License.txt for details.
-----------------------------------------------------------------
local reader = require("reader")
local read_value = reader.read_value
-----------------------------------------------------------------
local... | 25.859794 | 76 | 0.563865 |
f1d4f0fd7d3a56ebf54256b7e9dfbdf764fcf23c | 1,195 | rb | Ruby | test/models/list_test.rb | TopRoupi/fec | df193d5cc7e015298d54c86f6f0c95c80f5b00c3 | [
"MIT"
] | null | null | null | test/models/list_test.rb | TopRoupi/fec | df193d5cc7e015298d54c86f6f0c95c80f5b00c3 | [
"MIT"
] | 16 | 2020-03-04T20:03:58.000Z | 2022-03-31T00:24:39.000Z | test/models/list_test.rb | TopRoupi/fec | df193d5cc7e015298d54c86f6f0c95c80f5b00c3 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
require "test_helper"
class ListTest < ActiveSupport::TestCase
setup do
@list = build(:list)
end
# name validations
test "invalid without a name" do
@list.name = nil
@list.valid?
refute_empty @list.errors[:name]
end
test "valid if name have 60 or less chara... | 20.964912 | 74 | 0.679498 |
c93a5495df69079fe3338da2546769adebca370b | 156 | ts | TypeScript | node_modules/expo/build/DocumentPicker.d.ts | nofunjohnny/pcsdone | 8376be2cae657fac0c42887694205ea780135c90 | [
"MIT"
] | 12 | 2019-04-08T17:10:41.000Z | 2021-12-24T18:57:59.000Z | node_modules/expo/build/DocumentPicker.d.ts | nofunjohnny/pcsdone | 8376be2cae657fac0c42887694205ea780135c90 | [
"MIT"
] | 2 | 2019-05-05T21:22:54.000Z | 2021-05-08T11:20:32.000Z | node_modules/expo/build/DocumentPicker.d.ts | nofunjohnny/pcsdone | 8376be2cae657fac0c42887694205ea780135c90 | [
"MIT"
] | 1 | 2019-12-21T00:10:30.000Z | 2019-12-21T00:10:30.000Z | declare type GetDocumentOptions = {
type?: string;
};
export declare function getDocumentAsync({ type }?: GetDocumentOptions): Promise<any>;
export {};
| 26 | 86 | 0.730769 |
4bc568ce9039a120fd6426bcc90cddfe6ace7f29 | 700 | rs | Rust | crates/core/c8y_translator/examples/translate_to_c8yjson.rs | PradeepKiruvale/localworkflow | b5f3c97c835cb36ae87f14b8697bedcca5d22619 | [
"Apache-2.0"
] | 102 | 2021-03-31T08:26:28.000Z | 2022-03-27T14:22:38.000Z | crates/core/c8y_translator/examples/translate_to_c8yjson.rs | PradeepKiruvale/localworkflow | b5f3c97c835cb36ae87f14b8697bedcca5d22619 | [
"Apache-2.0"
] | 560 | 2021-03-31T08:47:54.000Z | 2022-03-31T17:53:15.000Z | crates/core/c8y_translator/examples/translate_to_c8yjson.rs | PradeepKiruvale/localworkflow | b5f3c97c835cb36ae87f14b8697bedcca5d22619 | [
"Apache-2.0"
] | 39 | 2021-03-31T07:38:08.000Z | 2022-03-01T15:43:21.000Z | use c8y_translator::json::from_thin_edge_json;
fn thin_edge_translation_with_type_and_timestamp() {
let single_value_thin_edge_json_with_type_and_time = r#" {
"time" : "2013-06-22T17:03:14.100+02:00",
"temperature": 23,
"pressure": 220
}"#;
println!(
"\nThin_Edge_Json: \n{:#}",
... | 25 | 85 | 0.611429 |
91c1a6ec0701017ed9bb83894555a724ce71ca0e | 709 | kt | Kotlin | persistence/src/main/java/reactivecircus/releaseprobe/persistence/artifactcollection/dao/ArtifactCollectionDao.kt | friederbluemle/release-probe | 21774e2df29778b20cf36248e6baa42320e87428 | [
"MIT"
] | 6 | 2019-12-02T06:56:14.000Z | 2021-06-11T20:54:24.000Z | persistence/src/main/java/reactivecircus/releaseprobe/persistence/artifactcollection/dao/ArtifactCollectionDao.kt | friederbluemle/release-probe | 21774e2df29778b20cf36248e6baa42320e87428 | [
"MIT"
] | 104 | 2019-07-26T17:55:50.000Z | 2021-08-03T05:25:35.000Z | persistence/src/main/java/reactivecircus/releaseprobe/persistence/artifactcollection/dao/ArtifactCollectionDao.kt | friederbluemle/release-probe | 21774e2df29778b20cf36248e6baa42320e87428 | [
"MIT"
] | 4 | 2019-08-03T14:31:25.000Z | 2021-08-01T22:32:20.000Z | package reactivecircus.releaseprobe.persistence.artifactcollection.dao
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import androidx.room.Transaction
import kotlinx.coroutines.flow.Flow
import reactivecircus.releaseprobe.persistence.artifactcoll... | 33.761905 | 103 | 0.842031 |
2d50179a3815fdbeefef107c2ed3f326905a750c | 4,267 | css | CSS | styles/styles.css | devmotheg/5th-frontend-mentor-challenge | 4f07c9cad754935e7381a5cd9c4cdd8cba97c877 | [
"MIT"
] | null | null | null | styles/styles.css | devmotheg/5th-frontend-mentor-challenge | 4f07c9cad754935e7381a5cd9c4cdd8cba97c877 | [
"MIT"
] | null | null | null | styles/styles.css | devmotheg/5th-frontend-mentor-challenge | 4f07c9cad754935e7381a5cd9c4cdd8cba97c877 | [
"MIT"
] | null | null | null | /*!
* @author Mohamed Muntasir
* @link https://github.com/devmotheg
*/
/* General */
@import url("https://fonts.googleapis.com/css2?family=Spartan:wght@400;500;700&display=swap");
body {
font-size: 15px;
font-family: "Spartan", sans-serif;
background: url("../images/bg-pattern-top-mobile.svg"),
url("../... | 16.411538 | 94 | 0.600656 |
b703820131205c28c350e633cd43966778acf971 | 14,801 | sql | SQL | SQL-2014/sqlserver_instance_info.sql | flalemar/MOSL- | 880b5a8c423ec1aa711a9211e92147f223e61d86 | [
"Apache-2.0"
] | 26 | 2016-10-05T15:40:13.000Z | 2022-01-19T15:54:50.000Z | SQL-2014/sqlserver_instance_info.sql | flalemar/MOSL- | 880b5a8c423ec1aa711a9211e92147f223e61d86 | [
"Apache-2.0"
] | null | null | null | SQL-2014/sqlserver_instance_info.sql | flalemar/MOSL- | 880b5a8c423ec1aa711a9211e92147f223e61d86 | [
"Apache-2.0"
] | 10 | 2016-11-16T14:15:47.000Z | 2020-12-18T12:33:29.000Z | /*
Memory Optimised Scripts Library for SQL Server 2014:
SQL Server Instance Information - Provides with the list of the known SQL Server versions that have bugfixes or improvements over your current version + lists currently enabled trace flags on the instance & session
Version: 0.2.0, November 2016
Copyright 20... | 59.923077 | 278 | 0.720019 |
cc2ebad3003e3a2941edc1fa8675572804891b81 | 173 | sql | SQL | ConsoleApp/.NETFramework/HelloWorld/SQLServerLocalDB/sql/dbo.Book.sql | sstian/CSharpFramework | e7262ee5d7d3d08b4fe9fc0ed2f0b8445f5ddc19 | [
"MIT"
] | null | null | null | ConsoleApp/.NETFramework/HelloWorld/SQLServerLocalDB/sql/dbo.Book.sql | sstian/CSharpFramework | e7262ee5d7d3d08b4fe9fc0ed2f0b8445f5ddc19 | [
"MIT"
] | null | null | null | ConsoleApp/.NETFramework/HelloWorld/SQLServerLocalDB/sql/dbo.Book.sql | sstian/CSharpFramework | e7262ee5d7d3d08b4fe9fc0ed2f0b8445f5ddc19 | [
"MIT"
] | null | null | null | CREATE TABLE [dbo].[Book] (
[ID] INT NOT NULL,
[Name] NVARCHAR (200) NULL,
[Price] FLOAT (53) NULL,
PRIMARY KEY CLUSTERED ([ID] ASC)
);
| 21.625 | 36 | 0.514451 |
797fd5548511a2834f19193d2ef22a3b2ae9b50b | 3,000 | php | PHP | app/Model/Invoice.php | dineshkummarc/TimesApp | 93b7cd3d9df56812451da5c7fdae04017427d891 | [
"MIT"
] | null | null | null | app/Model/Invoice.php | dineshkummarc/TimesApp | 93b7cd3d9df56812451da5c7fdae04017427d891 | [
"MIT"
] | null | null | null | app/Model/Invoice.php | dineshkummarc/TimesApp | 93b7cd3d9df56812451da5c7fdae04017427d891 | [
"MIT"
] | null | null | null | <?php
App::uses('AppModel', 'Model');
/**
* Invoice Model
*
* @property Project $Project
* @property Line $Line
* @property Payment $Payment
*/
class Invoice extends AppModel {
/**
* Display field
*
* @var string
*/
public $displayField = 'title';
/**
* Validation rules
*
* @var array
*/
public $valid... | 22.556391 | 108 | 0.547 |
1f4da6d08ca477550d531a8c2859fe3b7f7bf058 | 1,705 | cs | C# | Scraper/VeilleConcurrentielle.Scraper.ConsoleApp/PriceSearcher.cs | d605-upjv/veille-concurrentielle | d5d3434008ba7b4c67577f29d46c35314e9378f9 | [
"MIT"
] | null | null | null | Scraper/VeilleConcurrentielle.Scraper.ConsoleApp/PriceSearcher.cs | d605-upjv/veille-concurrentielle | d5d3434008ba7b4c67577f29d46c35314e9378f9 | [
"MIT"
] | null | null | null | Scraper/VeilleConcurrentielle.Scraper.ConsoleApp/PriceSearcher.cs | d605-upjv/veille-concurrentielle | d5d3434008ba7b4c67577f29d46c35314e9378f9 | [
"MIT"
] | null | null | null | using Microsoft.Extensions.Logging;
namespace VeilleConcurrentielle.Scraper.ConsoleApp
{
public class PriceSearcher : IPriceSearcher
{
private readonly ILogger<PriceSearcher> _logger;
private readonly IHtmlDocumentLoader _htmlDocumentLoader;
public PriceSearcher(ILogger<PriceSearcher> ... | 40.595238 | 143 | 0.529032 |
6d5dee9b48c2c18e82e02812c41580308367db3d | 3,661 | ts | TypeScript | src/widgets/TabContent/index.ts | ccau1/react-page | 942f16f8609279bb67f9e92d358e753ca25247b3 | [
"MIT"
] | null | null | null | src/widgets/TabContent/index.ts | ccau1/react-page | 942f16f8609279bb67f9e92d358e753ca25247b3 | [
"MIT"
] | 25 | 2020-09-04T17:54:42.000Z | 2022-03-08T22:41:38.000Z | src/widgets/TabContent/index.ts | ccau1/react-page | 942f16f8609279bb67f9e92d358e753ca25247b3 | [
"MIT"
] | 1 | 2019-07-01T09:43:59.000Z | 2019-07-01T09:43:59.000Z | import editor from "./editor";
import form from "./form";
import editorControl from "./editorControl";
import display from "./display";
import overview from "./overview";
import { getWidget, newWidget, widgetsTransform, newID } from "../utils";
export type TabContentData = {
tabId: string;
horizontal: boolean;
c... | 26.338129 | 73 | 0.558591 |
6df576bf790628cb65f61a0591fe1a0c8e00b601 | 90 | ts | TypeScript | app/logic/users/index.ts | bargoldi/express-typescript-seed | 441ffc7fd1a0533098393fc07b489d4be1d3c986 | [
"MIT"
] | null | null | null | app/logic/users/index.ts | bargoldi/express-typescript-seed | 441ffc7fd1a0533098393fc07b489d4be1d3c986 | [
"MIT"
] | null | null | null | app/logic/users/index.ts | bargoldi/express-typescript-seed | 441ffc7fd1a0533098393fc07b489d4be1d3c986 | [
"MIT"
] | null | null | null | export { getAllUsers } from './GetAllUsers';
export { getUserById } from './GetUserById';
| 30 | 44 | 0.711111 |
cd9ec864488844c58f90bc2b71982f1a60ebd850 | 528 | cs | C# | test/SamlOida.Test/MessageHandler/Parser/FakeSamlMessageParser.cs | peterwurzinger/SamlOida | 76edda9c5a819c17a435e726aaa478c56730fdc4 | [
"MIT"
] | 5 | 2017-03-06T18:25:28.000Z | 2018-07-11T13:58:09.000Z | test/SamlOida.Test/MessageHandler/Parser/FakeSamlMessageParser.cs | iMarkus/SamlOida | 76edda9c5a819c17a435e726aaa478c56730fdc4 | [
"MIT"
] | null | null | null | test/SamlOida.Test/MessageHandler/Parser/FakeSamlMessageParser.cs | iMarkus/SamlOida | 76edda9c5a819c17a435e726aaa478c56730fdc4 | [
"MIT"
] | 3 | 2018-07-09T14:56:00.000Z | 2018-08-14T14:40:30.000Z | using SamlOida.MessageHandler.Parser;
using SamlOida.Test.Model;
using System.Xml;
namespace SamlOida.Test.MessageHandler.Parser
{
internal class FakeSamlMessageParserBase : ISamlMessageParser<FakeSamlMessage>
{
public bool ParseCalled { get; private set; }
public FakeSamlMessage ParseResult {... | 31.058824 | 82 | 0.691288 |
ef54920cfb53df97272f66e775e0b62681a3943a | 1,984 | php | PHP | views/layouts/tt_main.php | git-test-2/TT_1 | 0583e4f304c2332d0e01baaf737d8e5f981efb0c | [
"BSD-3-Clause"
] | null | null | null | views/layouts/tt_main.php | git-test-2/TT_1 | 0583e4f304c2332d0e01baaf737d8e5f981efb0c | [
"BSD-3-Clause"
] | null | null | null | views/layouts/tt_main.php | git-test-2/TT_1 | 0583e4f304c2332d0e01baaf737d8e5f981efb0c | [
"BSD-3-Clause"
] | null | null | null | <?php
use app\assets\AppAsset;
use yii\helpers\Html;
//подключили комплект ресурсов
AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
<meta charset="<?= Yii::$app->charset ?>">
<?php $this->registerCsrfMetaTags() ?>
<title><?= Html:... | 24.493827 | 90 | 0.5 |
4f173f474a56f895c409136a7e04c99f9e9545d2 | 3,106 | rb | Ruby | spec/whois/server/adapters/arin_spec.rb | sheldonh/whois | e273d11f7a3753bdb1cc8d936eb9e148a0af6606 | [
"MIT"
] | 1 | 2019-04-07T23:14:12.000Z | 2019-04-07T23:14:12.000Z | spec/whois/server/adapters/arin_spec.rb | sheldonh/whois | e273d11f7a3753bdb1cc8d936eb9e148a0af6606 | [
"MIT"
] | null | null | null | spec/whois/server/adapters/arin_spec.rb | sheldonh/whois | e273d11f7a3753bdb1cc8d936eb9e148a0af6606 | [
"MIT"
] | 1 | 2020-04-14T19:40:34.000Z | 2020-04-14T19:40:34.000Z | require 'spec_helper'
describe Whois::Server::Adapters::Arin do
let(:definition) { [:ipv4, "0.0.0.0/1", "whois.arin.net"] }
let(:server) { described_class.new(*definition) }
describe "#lookup" do
context "without referral" do
it "returns the WHOIS record" do
response = "Whois Response"
... | 42.547945 | 108 | 0.616871 |
db9ed78fe211cb4f6b0cf56eee8f6740ae7a933b | 839 | php | PHP | app/Http/Controllers/Api/UserController.php | shcherbakan/newapp | c8650af01e9bb1e932bea9886af887b7d86fe42a | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/UserController.php | shcherbakan/newapp | c8650af01e9bb1e932bea9886af887b7d86fe42a | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/UserController.php | shcherbakan/newapp | c8650af01e9bb1e932bea9886af887b7d86fe42a | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Jobs\DownloadUserApi;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
class UserController extends Controller
{
public function index(Request $request)
{
return User::all();
... | 19.068182 | 60 | 0.553039 |
c6e32620243f16d3b342c64464c37554cdd83f93 | 551 | css | CSS | Desenvolvimento Web/Lab04/menu.css | antuniooh/ExercisesFEI | fea8855178e098713173aceee0f0616a69c438e4 | [
"MIT"
] | 1 | 2021-05-05T22:55:03.000Z | 2021-05-05T22:55:03.000Z | Desenvolvimento Web/Lab04/menu.css | antuniooh/ExercisesFEI | fea8855178e098713173aceee0f0616a69c438e4 | [
"MIT"
] | null | null | null | Desenvolvimento Web/Lab04/menu.css | antuniooh/ExercisesFEI | fea8855178e098713173aceee0f0616a69c438e4 | [
"MIT"
] | 1 | 2021-11-24T06:55:09.000Z | 2021-11-24T06:55:09.000Z |
*{margin:0;
}
.menu {
list-style: none;
width: 100%;
height: 56px;
background: royalblue;
}
.menu img{padding-left: 20%;}
.menu ul{padding-top: 15px;
padding-right: 25%;
float: right;}
.menu ul li{display: inline;
padding-left: 15px;
}
.menu ul li a {
color:... | 15.305556 | 35 | 0.577132 |
b981195c7cdef60f08e006504ae69f30455fec3c | 249 | ps1 | PowerShell | Plugins/Plugin_PSScripts/PSScripts/DO/Install all mandatory updates.ps1 | wanjabachmann/sccmclictr | 22b20bc6c961cd089737a2c70253dd0c76725faf | [
"MS-PL"
] | 251 | 2017-04-21T17:13:57.000Z | 2022-03-24T01:43:40.000Z | Plugins/Plugin_PSScripts/PSScripts/DO/Install all mandatory updates.ps1 | wanjabachmann/sccmclictr | 22b20bc6c961cd089737a2c70253dd0c76725faf | [
"MS-PL"
] | 166 | 2017-04-03T17:48:15.000Z | 2022-03-06T10:17:19.000Z | Plugins/Plugin_PSScripts/PSScripts/DO/Install all mandatory updates.ps1 | wanjabachmann/sccmclictr | 22b20bc6c961cd089737a2c70253dd0c76725faf | [
"MS-PL"
] | 58 | 2017-04-21T15:53:08.000Z | 2022-02-22T08:22:43.000Z | ([wmiclass]'ROOT\ccm\ClientSDK:CCM_SoftwareUpdatesManager').InstallUpdates([System.Management.ManagementObject[]] (get-wmiobject -query 'SELECT * FROM CCM_SoftwareUpdate' -namespace 'ROOT\ccm\ClientSDK')) | out-null; "Install mandatory upddates..." | 249 | 249 | 0.791165 |
f4c946ab3d01cc27fa775be192ad9d5aad1bd5c8 | 2,197 | ts | TypeScript | orders/models/model.ts | aguirrerodrigo/ra-order | 3dc660cf8cd221108a70bc1c36b4586c5ee17c7a | [
"MIT"
] | null | null | null | orders/models/model.ts | aguirrerodrigo/ra-order | 3dc660cf8cd221108a70bc1c36b4586c5ee17c7a | [
"MIT"
] | 2 | 2022-01-22T12:49:42.000Z | 2022-01-22T12:49:48.000Z | orders/models/model.ts | aguirrerodrigo/ra-order | 3dc660cf8cd221108a70bc1c36b4586c5ee17c7a | [
"MIT"
] | null | null | null | import { ModelValidationError } from '../../errors/model-validation-error';
import { PropertyValidationError } from '../../errors/property-validation-error';
import { validateOrReject } from 'class-validator';
import { map } from './map';
export abstract class Model {
map(properties: any, data: any = null): any {
i... | 23.880435 | 81 | 0.60264 |
2fc45af07f820fb4713f679eea018ad858b60a70 | 2,940 | py | Python | portfolio/Python/scrapy/swedishtruckparts/hgvdirect.py | 0--key/lib | ba7a85dda2b208adc290508ca617bdc55a5ded22 | [
"Apache-2.0"
] | null | null | null | portfolio/Python/scrapy/swedishtruckparts/hgvdirect.py | 0--key/lib | ba7a85dda2b208adc290508ca617bdc55a5ded22 | [
"Apache-2.0"
] | null | null | null | portfolio/Python/scrapy/swedishtruckparts/hgvdirect.py | 0--key/lib | ba7a85dda2b208adc290508ca617bdc55a5ded22 | [
"Apache-2.0"
] | 5 | 2016-03-22T07:40:46.000Z | 2021-05-30T16:12:21.000Z | import re
import os
from scrapy.spider import BaseSpider
from scrapy.selector import HtmlXPathSelector
from scrapy.http import Request, HtmlResponse
from scrapy.utils.response import get_base_url
from scrapy.utils.url import urljoin_rfc
import csv
from product_spiders.items import Product, ProductLoader
from product... | 39.2 | 100 | 0.605442 |
a13c89d1bb98b8e83d55b9c33213948a1e103b26 | 867 | ts | TypeScript | src/static/sdk/webrtc/zego.preview.d.ts | moira0916/management | b33e9cc68f29d9183d611c918833d0696ac29bde | [
"MIT"
] | null | null | null | src/static/sdk/webrtc/zego.preview.d.ts | moira0916/management | b33e9cc68f29d9183d611c918833d0696ac29bde | [
"MIT"
] | null | null | null | src/static/sdk/webrtc/zego.preview.d.ts | moira0916/management | b33e9cc68f29d9183d611c918833d0696ac29bde | [
"MIT"
] | null | null | null | import { ERRO } from '../common/zego.entity';
import { Logger } from '../common/zego.logger';
import { ZegoStreamCenter } from '../common/ZegoStreamCenter';
export declare class ZegoPreview {
private log;
logger: Logger;
localStream: MediaStream | null;
videoInfo: any;
mediaStreamConfig: any;
pr... | 43.35 | 110 | 0.723183 |
ff668e037d1fa06670db3785dc0a057c724d5b12 | 596 | py | Python | radixdlt-regression/src/test/api-fuzz-testing/tokenizer/main.py | APshenkin/radixdlt | 05f5c42560a587efe45261fc4adfd1529b90677f | [
"Apache-2.0"
] | null | null | null | radixdlt-regression/src/test/api-fuzz-testing/tokenizer/main.py | APshenkin/radixdlt | 05f5c42560a587efe45261fc4adfd1529b90677f | [
"Apache-2.0"
] | null | null | null | radixdlt-regression/src/test/api-fuzz-testing/tokenizer/main.py | APshenkin/radixdlt | 05f5c42560a587efe45261fc4adfd1529b90677f | [
"Apache-2.0"
] | null | null | null | from tokenizer.quotes import tokenize_double_quotes
from tokenizer.particles import particle_group_to_big_size
TOKENIZER_METHODS = [
# tokenize_method_name
# create_fuzzed_particle_group,
tokenize_double_quotes,
]
def create_tokenized_messages(original_message: str, tokens_to_ignore: list, methods: list ... | 35.058824 | 107 | 0.805369 |
c9cd0a706f2bf2c34c87679ac18e21c14bca4015 | 13,154 | ts | TypeScript | api/ondewo/t2s/custom_phonemizer_grpc_pb.d.ts | ondewo/ondewo-t2s-client-nodejs | 2112708cb935737d857cd279d27b48f41881a4ee | [
"Apache-2.0"
] | null | null | null | api/ondewo/t2s/custom_phonemizer_grpc_pb.d.ts | ondewo/ondewo-t2s-client-nodejs | 2112708cb935737d857cd279d27b48f41881a4ee | [
"Apache-2.0"
] | null | null | null | api/ondewo/t2s/custom_phonemizer_grpc_pb.d.ts | ondewo/ondewo-t2s-client-nodejs | 2112708cb935737d857cd279d27b48f41881a4ee | [
"Apache-2.0"
] | null | null | null | // package: ondewo.t2s
// file: ondewo/t2s/custom_phonemizer.proto
/* tslint:disable */
/* eslint-disable */
import * as grpc from "grpc";
import * as ondewo_t2s_custom_phonemizer_pb from "../../ondewo/t2s/custom_phonemizer_pb";
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
in... | 118.504505 | 310 | 0.85092 |
14787bf068985ed3c23dfd0693b788c4bebbdbd5 | 1,370 | ts | TypeScript | stock-club-console/src/app/dashboard/stocks-card/stocks-card.component.ts | johnisawesome94/new-app | 36e267e6a67695385e3ecdb32ef2cf619e2a3ea9 | [
"MIT"
] | null | null | null | stock-club-console/src/app/dashboard/stocks-card/stocks-card.component.ts | johnisawesome94/new-app | 36e267e6a67695385e3ecdb32ef2cf619e2a3ea9 | [
"MIT"
] | 10 | 2019-12-26T16:53:48.000Z | 2022-03-21T22:16:47.000Z | stock-club-console/src/app/dashboard/stocks-card/stocks-card.component.ts | johnisawesome94/new-app | 36e267e6a67695385e3ecdb32ef2cf619e2a3ea9 | [
"MIT"
] | null | null | null | import { Component, OnInit, ViewChild } from '@angular/core';
import { StocksService } from 'src/app/services/stocks.service';
import { Stock } from 'src/app/common/types';
import { MatAutocompleteTrigger, MatDialog } from '@angular/material';
import { BuySellStockModalComponent } from './buy-sell-stock-modal/buy-sell-... | 27.959184 | 99 | 0.651095 |
2390c149318b7163c2923538e2fef5980deb0985 | 1,119 | js | JavaScript | aula14ex/ex016 - Contador/script.js | TalissonL/cursoemvideo-js | b03c4c3ca6309fe0b129ac64cc2d1eeb14832cdb | [
"MIT"
] | 1 | 2021-08-11T08:42:18.000Z | 2021-08-11T08:42:18.000Z | aula14ex/ex016 - Contador/script.js | TalissonOliveira/cursoemvideo-js | b03c4c3ca6309fe0b129ac64cc2d1eeb14832cdb | [
"MIT"
] | null | null | null | aula14ex/ex016 - Contador/script.js | TalissonOliveira/cursoemvideo-js | b03c4c3ca6309fe0b129ac64cc2d1eeb14832cdb | [
"MIT"
] | null | null | null | function contar() {
let txtinicio = document.querySelector('input#txtnuminicio')
let txtfim = document.querySelector('input#txtnumfim')
let txtpasso = document.querySelector('input#txtpasso')
let res = document.querySelector('div#res')
if (txtinicio.value.length == 0 || txtfim.value.length == 0... | 32.911765 | 83 | 0.520107 |
e0943851d312d4f756d6c7f326eea38857c55fb1 | 947 | h | C | PrivateHeaders/MobileDeviceKit/MDKRestorableDevice.h | fr0l/FBSimulatorControl | db194033f6cf78626c40734eae47bdeeb4dd8f17 | [
"BSD-3-Clause"
] | 21 | 2018-05-20T15:41:35.000Z | 2022-03-14T05:21:20.000Z | PrivateHeaders/MobileDeviceKit/MDKRestorableDevice.h | fr0l/FBSimulatorControl | db194033f6cf78626c40734eae47bdeeb4dd8f17 | [
"BSD-3-Clause"
] | 35 | 2018-05-22T08:47:45.000Z | 2021-05-21T07:15:10.000Z | PrivateHeaders/MobileDeviceKit/MDKRestorableDevice.h | fr0l/FBSimulatorControl | db194033f6cf78626c40734eae47bdeeb4dd8f17 | [
"BSD-3-Clause"
] | 8 | 2018-05-23T22:43:31.000Z | 2022-03-14T05:21:55.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Feb 20 2016 22:04:40).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
@class NSNumber;
@interface MDKRestorableDevice : NSObject
{
struct __AMRestorableDevice *mRestorableDe... | 27.057143 | 90 | 0.745512 |
1ad03bfcd3df758938da81ef3a11ca2b58ef6ea6 | 788 | py | Python | preprocessing.py | Turmac/video_morphing | 8c4caefd51860078a6fe83db84047eef36593a7f | [
"MIT"
] | null | null | null | preprocessing.py | Turmac/video_morphing | 8c4caefd51860078a6fe83db84047eef36593a7f | [
"MIT"
] | null | null | null | preprocessing.py | Turmac/video_morphing | 8c4caefd51860078a6fe83db84047eef36593a7f | [
"MIT"
] | 1 | 2021-02-22T02:17:53.000Z | 2021-02-22T02:17:53.000Z | import numpy as np
import cv2
def crop_video(box=None):
cap = cv2.VideoCapture('dance/sugar1s.mp4')
out = cv2.VideoWriter('dance/sugar1ss.mp4', cv2.VideoWriter_fourcc(*'mp4v'), 24, (1280, 720))
cnt = 0
while True:
_, frame = cap.read()
if not _:
break
h, w = frame.s... | 22.514286 | 97 | 0.519036 |
0eff9c7408589644983cdafa0b3b1966ff3de938 | 133 | sql | SQL | api/internal/adapters/sql/update_product.sql | heikkilamarko/golang-api | 1b08a9196a13ed005142ee092da079d32446465f | [
"MIT"
] | null | null | null | api/internal/adapters/sql/update_product.sql | heikkilamarko/golang-api | 1b08a9196a13ed005142ee092da079d32446465f | [
"MIT"
] | null | null | null | api/internal/adapters/sql/update_product.sql | heikkilamarko/golang-api | 1b08a9196a13ed005142ee092da079d32446465f | [
"MIT"
] | null | null | null | UPDATE
products
SET
name = $1,
description = $2,
price = $3,
comment = $4,
updated_at = $5
WHERE
id = $6
| 12.090909 | 21 | 0.503759 |
5454600724878b84ab14bb9746b79a4188aafa87 | 641 | css | CSS | src/style/order/review.css | DestroNic/react-ecom | 7f66688d3b28bedb5311dfc1d15d00c93be6b998 | [
"MIT"
] | null | null | null | src/style/order/review.css | DestroNic/react-ecom | 7f66688d3b28bedb5311dfc1d15d00c93be6b998 | [
"MIT"
] | null | null | null | src/style/order/review.css | DestroNic/react-ecom | 7f66688d3b28bedb5311dfc1d15d00c93be6b998 | [
"MIT"
] | null | null | null | .review {
grid-row: content-s/conten-e;
grid-column: s/e;
}
.review__form {
display: -ms-grid;
display: grid;
-ms-grid-rows: [legend-s] 30px [legend-e products-s] 400px [products-e line-s] 26px [line-e buttons-s] 38px [buttons-e];
grid-template-rows: [legend-s] 30px [legend-e products-s] 400px [product... | 42.733333 | 131 | 0.673947 |
45b7d550b58fbecfeee1b6058ee9271080701421 | 9,928 | py | Python | manifest_server/iiif/v3/manifests/manifest.py | bodleian/iiif_manifest_server | 551b201b9588f7a3ae3656492c925eeb57dc69de | [
"MIT"
] | 8 | 2019-11-27T12:46:16.000Z | 2021-04-14T05:57:05.000Z | manifest_server/iiif/v3/manifests/manifest.py | bodleian/iiif_manifest_server | 551b201b9588f7a3ae3656492c925eeb57dc69de | [
"MIT"
] | 1 | 2021-06-02T00:46:38.000Z | 2021-06-02T00:46:38.000Z | manifest_server/iiif/v3/manifests/manifest.py | bodleian/iiif_manifest_server | 551b201b9588f7a3ae3656492c925eeb57dc69de | [
"MIT"
] | null | null | null | import logging
from typing import Optional, Dict, List
import pysolr
import serpy
from manifest_server.helpers.fields import StaticField
from manifest_server.helpers.identifiers import get_identifier, IIIF_V3_CONTEXT
from manifest_server.helpers.metadata import v3_metadata_block, get_links
from manifest_server.helper... | 32.765677 | 108 | 0.584508 |
c1f6250909e74b61cfccead652fdd1f8cf48640f | 1,985 | lua | Lua | src/romdisk/application/examples/graphics/dragme/init.lua | dh-linghaibin/xboot | 87a85f7193f6663e94f5d494847e78d4e65d500c | [
"MIT"
] | null | null | null | src/romdisk/application/examples/graphics/dragme/init.lua | dh-linghaibin/xboot | 87a85f7193f6663e94f5d494847e78d4e65d500c | [
"MIT"
] | null | null | null | src/romdisk/application/examples/graphics/dragme/init.lua | dh-linghaibin/xboot | 87a85f7193f6663e94f5d494847e78d4e65d500c | [
"MIT"
] | null | null | null | local Pattern = Pattern
local M = Class(DisplayObject)
function M:init(w, h)
self.super:init()
local assets = assets
self:addChild(DisplayShape.new(w, h)
:setSource(Pattern.image(assets:loadImage("graphics/dragme/bg.png")):setExtend(Pattern.EXTEND_REPEAT))
:paint())
for i = 1, 5 do
local sh... | 21.576087 | 105 | 0.650378 |
44701f3ed1ab060c31e0e937302e5f452238be28 | 286 | py | Python | src/vendor/dhcpgeni3/plugin.py | radomirklacza/C-BAS | 5005cf43f57302dc0f58b9d1b9cf7e4e3ab70e32 | [
"BSD-3-Clause"
] | null | null | null | src/vendor/dhcpgeni3/plugin.py | radomirklacza/C-BAS | 5005cf43f57302dc0f58b9d1b9cf7e4e3ab70e32 | [
"BSD-3-Clause"
] | null | null | null | src/vendor/dhcpgeni3/plugin.py | radomirklacza/C-BAS | 5005cf43f57302dc0f58b9d1b9cf7e4e3ab70e32 | [
"BSD-3-Clause"
] | 2 | 2017-08-07T15:24:05.000Z | 2018-10-11T10:53:23.000Z | import eisoil.core.pluginmanager as pm
from dhcpgenithreedelegate import DHCPGENI3Delegate
def setup():
# setup config keys
# config = pm.getService("config")
delegate = DHCPGENI3Delegate()
handler = pm.getService('geniv3handler')
handler.setDelegate(delegate) | 28.6 | 51 | 0.737762 |
dd9dbbdcd677da1eb5d27ddff39616b0b1f37102 | 110 | java | Java | build/jlinkbase/tmpjars/google.api.services.sheets.v4.rev581/module-info.java | chanproactive/Mahidol-timetable | 60cc550c93a97efc1beec75c912caf43a978a9d6 | [
"MIT",
"Unlicense"
] | null | null | null | build/jlinkbase/tmpjars/google.api.services.sheets.v4.rev581/module-info.java | chanproactive/Mahidol-timetable | 60cc550c93a97efc1beec75c912caf43a978a9d6 | [
"MIT",
"Unlicense"
] | null | null | null | build/jlinkbase/tmpjars/google.api.services.sheets.v4.rev581/module-info.java | chanproactive/Mahidol-timetable | 60cc550c93a97efc1beec75c912caf43a978a9d6 | [
"MIT",
"Unlicense"
] | null | null | null |
open module google.api.services.sheets.v4.rev581 {
requires transitive MahidolTimetable.merged.module;
}
| 22 | 55 | 0.790909 |
621907d597b496280d0b97ff7e5d4b74fc284e96 | 6,026 | py | Python | dw_scraper.py | Jonathan-Bonaguro/petrarch2 | 6cf50c8e802070dc959a5156d745e95d68bfb129 | [
"MIT"
] | null | null | null | dw_scraper.py | Jonathan-Bonaguro/petrarch2 | 6cf50c8e802070dc959a5156d745e95d68bfb129 | [
"MIT"
] | null | null | null | dw_scraper.py | Jonathan-Bonaguro/petrarch2 | 6cf50c8e802070dc959a5156d745e95d68bfb129 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from bs4 import BeautifulSoup
import requests
import json
import re
import datetime
from pymongo import MongoClient
connection = MongoClient()
db = connection.event_scrape
collection = db["dw_test"]
url_list = ["http://www.dw.com/search/?languageCode=en&item=refugees&searchN... | 38.628205 | 152 | 0.627614 |
14a47302e01dc3656a390858418e3c8bbd364572 | 141 | ts | TypeScript | src/lib/error/wrong-alias-key-error.ts | sleep-written/ts-path-mapping | 3db173ebc8cf898fc47f2bb780b49191e15e4939 | [
"MIT"
] | 1 | 2021-03-12T03:11:32.000Z | 2021-03-12T03:11:32.000Z | src/lib/error/wrong-alias-key-error.ts | sleep-written/ts-path-mapping | 3db173ebc8cf898fc47f2bb780b49191e15e4939 | [
"MIT"
] | 1 | 2022-01-11T07:32:20.000Z | 2022-01-28T01:28:38.000Z | src/lib/error/wrong-alias-key-error.ts | sleep-written/ts-path-mapping | 3db173ebc8cf898fc47f2bb780b49191e15e4939 | [
"MIT"
] | null | null | null | export class WrongAliasKeyError extends Error {
constructor() {
super('The alias key must be ended with "\\*" pattern');
}
}
| 23.5 | 64 | 0.638298 |
fd729508e9145b97235b8493996576cc73939b31 | 5,051 | css | CSS | public/css/addPurchases.css | marciosamuel/BEW | dd1d00957e81fbfa26239927a4cf46defcc035b9 | [
"MIT"
] | 1 | 2021-07-13T15:46:04.000Z | 2021-07-13T15:46:04.000Z | public/css/addPurchases.css | marciosamuel/BEW | dd1d00957e81fbfa26239927a4cf46defcc035b9 | [
"MIT"
] | null | null | null | public/css/addPurchases.css | marciosamuel/BEW | dd1d00957e81fbfa26239927a4cf46defcc035b9 | [
"MIT"
] | 1 | 2021-08-23T16:25:15.000Z | 2021-08-23T16:25:15.000Z | @import "./modal.css";
#compras {
background-color: rgba(8, 102, 59, 0.47);
border-left-color: black;
}
#compras a {
color: #fff;
}
main header {
grid-template-columns: 10% 1fr;
}
main header h1 {
justify-self: center;
padding-right: 10vw;
}
main .content {
height: 90%;
margin-top: 1%;
}
button {
... | 16.034921 | 82 | 0.640071 |
038031200dc068ba9434b387c8ce85d63d37c703 | 62 | sql | SQL | updates/sql/ace/00015.sql | ace-ecosystem/ACE | d17b5ef4bccf923ec6be5115fabe40f0627dab2d | [
"Apache-2.0"
] | 24 | 2019-09-21T21:09:45.000Z | 2022-03-15T19:48:13.000Z | updates/sql/ace/00015.sql | ace-ecosystem/ACE | d17b5ef4bccf923ec6be5115fabe40f0627dab2d | [
"Apache-2.0"
] | 54 | 2019-09-16T20:06:30.000Z | 2021-08-18T22:22:08.000Z | updates/sql/ace/00015.sql | ace-ecosystem/ACE | d17b5ef4bccf923ec6be5115fabe40f0627dab2d | [
"Apache-2.0"
] | 9 | 2019-09-08T13:35:55.000Z | 2021-01-03T15:23:37.000Z | ALTER TABLE `observables`
ADD INDEX `i_obs_md5` (`md5` ASC);
| 20.666667 | 34 | 0.709677 |
4771f28132c78eed731f9f0747a2412506fa82bf | 1,332 | rb | Ruby | lib/text_parser.rb | arturcp/text_parser | a4b35fc561e775323088ba7cad2477a31a58f670 | [
"MIT"
] | null | null | null | lib/text_parser.rb | arturcp/text_parser | a4b35fc561e775323088ba7cad2477a31a58f670 | [
"MIT"
] | null | null | null | lib/text_parser.rb | arturcp/text_parser | a4b35fc561e775323088ba7cad2477a31a58f670 | [
"MIT"
] | null | null | null | # -*- encoding : utf-8 -*-
require_relative "text_parser/version"
module TextParser
# Returns a parsed text with the words and its occurrences.
# @param [Hash] [args]
# [args] [Symbol] :dictionary, :order, :order_direction, :negative_dictionary
# @return [Array of Hash]
def parse(args = {})
args.delete_i... | 37 | 171 | 0.656156 |
7ac954644240f3b92c023c47a5f9d0cbbfd6eaa0 | 4,141 | cs | C# | WidgetsTests/TestDefinitions/GrisSelectorTest.cs | rl132/RLToolkit | 5430b99c73a6618d385a76ba5882d00cb8c20ff6 | [
"MIT"
] | null | null | null | WidgetsTests/TestDefinitions/GrisSelectorTest.cs | rl132/RLToolkit | 5430b99c73a6618d385a76ba5882d00cb8c20ff6 | [
"MIT"
] | null | null | null | WidgetsTests/TestDefinitions/GrisSelectorTest.cs | rl132/RLToolkit | 5430b99c73a6618d385a76ba5882d00cb8c20ff6 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using RLToolkit.Widgets;
namespace RLToolkit.WidgetsTests
{
public class GridSelectorTest : TestBase
{
private GridSelector selector1 = new GridSelector();
private Gtk.Button[] selector1Array;
private GridSelector.eState selector1State;
... | 35.698276 | 167 | 0.586332 |
278c91e46b55aca1c46b19c8b03df710955cd2dd | 1,472 | swift | Swift | build/src/Models/ObjectiveZone.swift | MyPureCloud/platform-client-sdk-ios | d69e3deedbbe2f30c3641a5c8b4e66eb5eb6858b | [
"MIT"
] | null | null | null | build/src/Models/ObjectiveZone.swift | MyPureCloud/platform-client-sdk-ios | d69e3deedbbe2f30c3641a5c8b4e66eb5eb6858b | [
"MIT"
] | null | null | null | build/src/Models/ObjectiveZone.swift | MyPureCloud/platform-client-sdk-ios | d69e3deedbbe2f30c3641a5c8b4e66eb5eb6858b | [
"MIT"
] | 1 | 2021-05-11T21:57:38.000Z | 2021-05-11T21:57:38.000Z | //
// ObjectiveZone.swift
//
// Generated by swagger-codegen
// https://github.com/swagger-api/swagger-codegen
//
import Foundation
public class ObjectiveZone: Codable {
public enum DirectionType: String, Codable {
case up = "Up"
case down = "Down"
case flat = "Flat"
}
public e... | 24.131148 | 179 | 0.610054 |
c68a7140dcdeff80c8771b2c475b3db9fcf78eca | 69 | css | CSS | css/acorn-game.css | NeWaffless/newaffless.github.io | b4d53eacfcd7cac09da2120538631b5e4e9f9f2f | [
"MIT"
] | null | null | null | css/acorn-game.css | NeWaffless/newaffless.github.io | b4d53eacfcd7cac09da2120538631b5e4e9f9f2f | [
"MIT"
] | null | null | null | css/acorn-game.css | NeWaffless/newaffless.github.io | b4d53eacfcd7cac09da2120538631b5e4e9f9f2f | [
"MIT"
] | null | null | null | .project-carousel img {
min-width: 150px;
max-width: 400px;
} | 17.25 | 23 | 0.637681 |
5e9600e57b17ae7331469dd3fe09325babd80582 | 7,081 | dart | Dart | pkg/vm/lib/transformations/no_dynamic_invocations_annotator.dart | Alkarar1122/sdk | a00c5c29da1ff24a13cbeb608f90357861e23922 | [
"BSD-Source-Code"
] | 2 | 2021-06-29T14:03:23.000Z | 2021-10-02T12:44:13.000Z | pkg/vm/lib/transformations/no_dynamic_invocations_annotator.dart | Alkarar1122/sdk | a00c5c29da1ff24a13cbeb608f90357861e23922 | [
"BSD-Source-Code"
] | null | null | null | pkg/vm/lib/transformations/no_dynamic_invocations_annotator.dart | Alkarar1122/sdk | a00c5c29da1ff24a13cbeb608f90357861e23922 | [
"BSD-Source-Code"
] | 1 | 2021-07-07T09:05:19.000Z | 2021-07-07T09:05:19.000Z | // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
library vm.transformations.no_dynamic_invocations_annotator;
import 'package:kernel/ast.dart';
import... | 29.877637 | 80 | 0.691851 |
a4895358a0e4110152fde33a42fa3e14dd9862a2 | 4,635 | php | PHP | web/Pager.php | alhimik1986/yii2_crud_module | 3a63b32a40178e71d3f0e242af6212e2fe728147 | [
"MIT"
] | 7 | 2016-11-17T20:54:21.000Z | 2019-01-31T15:51:32.000Z | web/Pager.php | alhimik1986/yii2_crud_module | 3a63b32a40178e71d3f0e242af6212e2fe728147 | [
"MIT"
] | 3 | 2017-07-21T05:25:47.000Z | 2020-01-14T12:18:10.000Z | web/Pager.php | alhimik1986/yii2_crud_module | 3a63b32a40178e71d3f0e242af6212e2fe728147 | [
"MIT"
] | 3 | 2018-02-22T16:09:29.000Z | 2019-10-24T13:32:39.000Z | <?php
/**
* Вспомогательный класс для отображения пейджера.
*
* @author Сидорович Николай <sidorovich21101986@mail.ru>
* @link https://github.com/alhimik1986
* @copyright Copyright © 2016
*
*/
namespace alhimik1986\yii2_crud_module\web;
use Yii;
class Pager
{
/**
* @param array $search Критерии поис... | 36.210938 | 144 | 0.654369 |
989823cb3036c9eccabe7700d93efb24d420c38b | 492 | dart | Dart | lib/observable_state.dart | leocavalcante/observable_state | 5fae7889b7003c5fb2b4abe3a0f2e9a1c937c3d7 | [
"BSD-3-Clause"
] | 46 | 2019-02-14T14:11:48.000Z | 2021-08-19T12:12:12.000Z | lib/observable_state.dart | leocavalcante/observable_state | 5fae7889b7003c5fb2b4abe3a0f2e9a1c937c3d7 | [
"BSD-3-Clause"
] | 4 | 2019-02-18T02:14:31.000Z | 2019-04-27T01:57:17.000Z | lib/observable_state.dart | leocavalcante/observable_state | 5fae7889b7003c5fb2b4abe3a0f2e9a1c937c3d7 | [
"BSD-3-Clause"
] | 9 | 2019-03-04T21:28:05.000Z | 2021-10-16T10:10:48.000Z | /// Flutter's State Manager for Reactive Apps in a Centralized and Predictable container.
library observable_state;
import 'package:flutter/widgets.dart';
part 'src/observable_binds.dart';
part 'src/observable_provider.dart';
part 'src/observable.dart';
part 'src/observer_builder.dart';
part 'src/observer.dart';
part... | 30.75 | 89 | 0.784553 |
53885ba6283c055dddadc82a1898230ac0792930 | 2,934 | dart | Dart | lib/dynamic_url_image_cache.dart | rapidfireworks/dynamic_url_image_cache | d375a28c5560982d8552ce41bc83aa9524f10399 | [
"MIT"
] | null | null | null | lib/dynamic_url_image_cache.dart | rapidfireworks/dynamic_url_image_cache | d375a28c5560982d8552ce41bc83aa9524f10399 | [
"MIT"
] | null | null | null | lib/dynamic_url_image_cache.dart | rapidfireworks/dynamic_url_image_cache | d375a28c5560982d8552ce41bc83aa9524f10399 | [
"MIT"
] | null | null | null | library dynamic_url_image_cache;
import 'dart:typed_data';
import 'dart:ui';
import 'dart:io';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:path_provider/path_provider.dart';
import 'package:transparent_image/transparent_image.dart';
/// Stores your in cache after... | 26.672727 | 76 | 0.661213 |
fd79d26bb10a6abc36fa7bd52bf469bd054bfbac | 160,876 | css | CSS | server/public/spa/static/css/app.6135da752df12683ec483c5c341ab206.css | raodev/adonis-vue | 9b8bec3b53de0368168aec42bc55e119838fc372 | [
"MIT"
] | null | null | null | server/public/spa/static/css/app.6135da752df12683ec483c5c341ab206.css | raodev/adonis-vue | 9b8bec3b53de0368168aec42bc55e119838fc372 | [
"MIT"
] | null | null | null | server/public/spa/static/css/app.6135da752df12683ec483c5c341ab206.css | raodev/adonis-vue | 9b8bec3b53de0368168aec42bc55e119838fc372 | [
"MIT"
] | null | null | null | /*!
* Materialize v1.0.0-rc.2 (http://materializecss.com)
* Copyright 2014-2017 Materialize
* MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE)
*/.materialize-red[data-v-7204039e]{background-color:#e51c23!important}.materialize-red-text[data-v-7204039e]{color:#e51c23!important}.mate... | 10,725.066667 | 71,204 | 0.787401 |
43e0c7957d44f717e4811c333c2c6c8ab8270364 | 233 | ts | TypeScript | projects/ngx-focus-control/src/lib/directives/focus-case.directive.ts | Raiper34/ngx-focus-control | 5eb942522697ea7af8f40099c3559adaef4754a3 | [
"MIT"
] | null | null | null | projects/ngx-focus-control/src/lib/directives/focus-case.directive.ts | Raiper34/ngx-focus-control | 5eb942522697ea7af8f40099c3559adaef4754a3 | [
"MIT"
] | 14 | 2021-10-11T12:31:54.000Z | 2022-01-28T23:49:23.000Z | projects/ngx-focus-control/src/lib/directives/focus-case.directive.ts | Raiper34/ngx-focus-control | 5eb942522697ea7af8f40099c3559adaef4754a3 | [
"MIT"
] | null | null | null | import {Directive, ElementRef, Input} from '@angular/core';
@Directive({
selector: '[fuCase]'
})
export class FocusCaseDirective {
@Input('fuCase') value: string | number;
constructor(public readonly el: ElementRef) {
}
}
| 17.923077 | 59 | 0.695279 |
2c8c8006e3426b2ad34558c27082d4f0fece2be5 | 1,022 | py | Python | app/__main__.py | jaddmn/utilitarios-para-fundacoes-profundas | 749aea0fef6de62d1f18492a47697823ae014ac0 | [
"MIT"
] | null | null | null | app/__main__.py | jaddmn/utilitarios-para-fundacoes-profundas | 749aea0fef6de62d1f18492a47697823ae014ac0 | [
"MIT"
] | null | null | null | app/__main__.py | jaddmn/utilitarios-para-fundacoes-profundas | 749aea0fef6de62d1f18492a47697823ae014ac0 | [
"MIT"
] | null | null | null | import sys
from PyQt5.QtWidgets import QApplication
from gui.Views import (tela_aoki_velloso, cpt_ou_nspt, cpt_conv,
aoki_velloso_resultados, aoki_velloso_ent,
aoki_velloso_ent_cpt)
from gui.MainWindow import mw_initial_control
from controle.processamento import main_contro... | 30.969697 | 70 | 0.625245 |
e6548c7d2b62b55355f5845a57d218e6206dc152 | 550 | ps1 | PowerShell | concord/helpers/win_docker_ts_02.ps1 | aczajkowski/concord-starter | 5bfe903edb23a0afd1104e20a3d51b193e62bdce | [
"Apache-2.0"
] | null | null | null | concord/helpers/win_docker_ts_02.ps1 | aczajkowski/concord-starter | 5bfe903edb23a0afd1104e20a3d51b193e62bdce | [
"Apache-2.0"
] | 7 | 2020-02-07T20:40:42.000Z | 2021-07-26T11:46:50.000Z | concord/helpers/win_docker_ts_02.ps1 | aczajkowski/concord-starter | 5bfe903edb23a0afd1104e20a3d51b193e62bdce | [
"Apache-2.0"
] | 2 | 2020-02-05T10:12:32.000Z | 2020-05-04T01:51:54.000Z | Write-Host -NoNewline "Geting DockerVM ... "
$vm = Get-VM -Name DockerDesktopVM
#Start-Sleep -Seconds 1
Write-Host "Successful"
Write-Host "$vm"
$feature = "Time Synchronization"
Write-Host -NoNewline "DockerVM feature[$feature] disable ... "
Disable-VMIntegrationService -vm $vm -Name $feature
#Start-Sleep ... | 28.947368 | 64 | 0.727273 |
660925528bfbb2f733b2c4cac1a55763dec8a68a | 6,453 | py | Python | examples/ct_reconstruction/example_learning_tensorflow/model/pipeline.py | vbacher/PYRO-NN | e476024a44802b983c6f2ebd6f4444d9fe54120f | [
"Apache-2.0"
] | 95 | 2019-03-12T10:07:59.000Z | 2022-03-25T05:16:38.000Z | examples/ct_reconstruction/example_learning_tensorflow/model/pipeline.py | vbacher/PYRO-NN | e476024a44802b983c6f2ebd6f4444d9fe54120f | [
"Apache-2.0"
] | 24 | 2019-05-03T01:57:55.000Z | 2022-01-10T12:43:48.000Z | examples/ct_reconstruction/example_learning_tensorflow/model/pipeline.py | vbacher/PYRO-NN | e476024a44802b983c6f2ebd6f4444d9fe54120f | [
"Apache-2.0"
] | 35 | 2019-05-02T03:27:00.000Z | 2022-02-10T23:55:51.000Z | # Copyright [2019] [Christopher Syben, Markus Michen]
#
# 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 ... | 41.101911 | 162 | 0.642337 |
5712c9267c41a1943f61a025f99fa5a986cd8857 | 45 | js | JavaScript | src/components/book_package_rollup/index.js | idiomaspuentes/book-package-rcl | f9be15672581e777e7d997d0fd488d896c014f72 | [
"MIT"
] | null | null | null | src/components/book_package_rollup/index.js | idiomaspuentes/book-package-rcl | f9be15672581e777e7d997d0fd488d896c014f72 | [
"MIT"
] | 25 | 2019-11-12T16:06:48.000Z | 2019-12-03T21:28:47.000Z | src/components/book_package_rollup/index.js | idiomaspuentes/book-package-rcl | f9be15672581e777e7d997d0fd488d896c014f72 | [
"MIT"
] | 1 | 2019-11-01T11:01:29.000Z | 2019-11-01T11:01:29.000Z | export {default} from './BookPackageRollup';
| 22.5 | 44 | 0.755556 |
33ea943fdb24afb9c643653c9998e37288216692 | 2,194 | h | C | paddle/fluid/framework/new_executor/new_executor_defs.h | baoachun/Paddle | 751a7942a9be606cf5e2cae22de008d15aec693d | [
"Apache-2.0"
] | null | null | null | paddle/fluid/framework/new_executor/new_executor_defs.h | baoachun/Paddle | 751a7942a9be606cf5e2cae22de008d15aec693d | [
"Apache-2.0"
] | 9 | 2021-08-03T11:39:03.000Z | 2021-09-16T08:03:58.000Z | paddle/fluid/framework/new_executor/new_executor_defs.h | baoachun/Paddle | 751a7942a9be606cf5e2cae22de008d15aec693d | [
"Apache-2.0"
] | 1 | 2021-07-15T09:23:23.000Z | 2021-07-15T09:23:23.000Z | // Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 26.433735 | 78 | 0.753418 |
a33373847246563d6092120579a4cb40de6b1f48 | 2,642 | java | Java | src/main/java/uk/ac/ebi/fg/annotare2/magetabcheck/modelimpl/limpopo/idf/LimpopoBasedInfo.java | arrayexpress/magetabcheck | e799722d9c7f8b15134612b57d28a3ad7eadd728 | [
"Apache-2.0"
] | null | null | null | src/main/java/uk/ac/ebi/fg/annotare2/magetabcheck/modelimpl/limpopo/idf/LimpopoBasedInfo.java | arrayexpress/magetabcheck | e799722d9c7f8b15134612b57d28a3ad7eadd728 | [
"Apache-2.0"
] | null | null | null | src/main/java/uk/ac/ebi/fg/annotare2/magetabcheck/modelimpl/limpopo/idf/LimpopoBasedInfo.java | arrayexpress/magetabcheck | e799722d9c7f8b15134612b57d28a3ad7eadd728 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2012 EMBL - European Bioinformatics Institute
*
* 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 app... | 32.617284 | 94 | 0.671083 |
2e0027490f017ec4d02b08f6cfc05a5e80233547 | 217 | sql | SQL | conf/evolutions/default/4.sql | snt/store | 84eddc9661f5db2b85b0c94750a060d18d73ada1 | [
"Apache-2.0"
] | null | null | null | conf/evolutions/default/4.sql | snt/store | 84eddc9661f5db2b85b0c94750a060d18d73ada1 | [
"Apache-2.0"
] | null | null | null | conf/evolutions/default/4.sql | snt/store | 84eddc9661f5db2b85b0c94750a060d18d73ada1 | [
"Apache-2.0"
] | null | null | null | # ---
# --- !Ups
alter table transaction_shipping add column shipping_date timestamp default timestamp '1970-01-01 00:00:00' not null ;
# --- !Downs
alter table transaction_shipping_user drop column shipping_date;
| 27.125 | 118 | 0.75576 |
ddb1e7536d741ce58ab0a1b9a68076b387cbb6e4 | 1,428 | java | Java | aliyun-demo/test111/src/main/java/PopPubServer.java | yuan50697105/my-admin-test | 62234531ff0913d54783017164382dd85b70e249 | [
"Apache-2.0"
] | null | null | null | aliyun-demo/test111/src/main/java/PopPubServer.java | yuan50697105/my-admin-test | 62234531ff0913d54783017164382dd85b70e249 | [
"Apache-2.0"
] | 14 | 2021-03-10T12:52:37.000Z | 2022-03-02T07:58:12.000Z | aliyun-demo/test111/src/main/java/PopPubServer.java | yuan50697105/my-admin-test | 62234531ff0913d54783017164382dd85b70e249 | [
"Apache-2.0"
] | null | null | null | import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.IAcsClient;
import com.aliyuncs.iot.model.v20180120.PubRequest;
import com.aliyuncs.iot.model.v20180120.PubResponse;
import com.aliyuncs.profile.DefaultProfile;
import org.eclipse.paho.client.mqttv3.internal.websocket.Base64;
public class PopPubServer {
pu... | 39.666667 | 94 | 0.684174 |
90d7832d04a4113b83edbdc484ae621b741f0bad | 488 | dart | Dart | .pub-cache/hosted/pub.flutter-io.cn/node_io-1.1.1/test/bytes_builder_test.dart | TencentCodeDog/common-dart-code-metrics-1.7.1 | a88b3eeeb78d8c899cd425e361ff44a6c643ec41 | [
"MIT"
] | null | null | null | .pub-cache/hosted/pub.flutter-io.cn/node_io-1.1.1/test/bytes_builder_test.dart | TencentCodeDog/common-dart-code-metrics-1.7.1 | a88b3eeeb78d8c899cd425e361ff44a6c643ec41 | [
"MIT"
] | null | null | null | .pub-cache/hosted/pub.flutter-io.cn/node_io-1.1.1/test/bytes_builder_test.dart | TencentCodeDog/common-dart-code-metrics-1.7.1 | a88b3eeeb78d8c899cd425e361ff44a6c643ec41 | [
"MIT"
] | 1 | 2022-01-05T10:06:41.000Z | 2022-01-05T10:06:41.000Z | // Copyright (c) 2017, Anatoly Pulyaevskiy. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.
@TestOn('node')
library bytes_builder_test;
import 'package:node_io/node_io.dart';
import 'package:test/test.dart';
void main() {
group('BytesBuilder... | 25.684211 | 88 | 0.647541 |
dd7b71d74290fc171a846b031ada9bf5d86c23a5 | 5,685 | java | Java | tests/com/oltpbenchmark/benchmarks/seats/util/TestFlightId.java | yelkarama/oltpbench | a4703251ee771efee32326cd4b23342e207273f7 | [
"Apache-2.0"
] | null | null | null | tests/com/oltpbenchmark/benchmarks/seats/util/TestFlightId.java | yelkarama/oltpbench | a4703251ee771efee32326cd4b23342e207273f7 | [
"Apache-2.0"
] | null | null | null | tests/com/oltpbenchmark/benchmarks/seats/util/TestFlightId.java | yelkarama/oltpbench | a4703251ee771efee32326cd4b23342e207273f7 | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
* Copyright 2015 by OLTPBenchmark Project *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); *
... | 51.216216 | 150 | 0.538259 |
72d0dead0bd36282e337833b9467a79d24378057 | 30,713 | sql | SQL | cloudstorage_skripsi.sql | andikac33/tes | 04162d0082c270cd5c4d9586427690c8df7b6d81 | [
"MIT"
] | null | null | null | cloudstorage_skripsi.sql | andikac33/tes | 04162d0082c270cd5c4d9586427690c8df7b6d81 | [
"MIT"
] | null | null | null | cloudstorage_skripsi.sql | andikac33/tes | 04162d0082c270cd5c4d9586427690c8df7b6d81 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.8.0.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Jun 29, 2018 at 12:31 AM
-- Server version: 10.1.32-MariaDB
-- PHP Version: 5.6.36
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @... | 57.193669 | 933 | 0.757041 |
c33cef81ef365c8a216c8186a68db91a53e29029 | 4,595 | rs | Rust | tools/pack-release/src/actions/mod.rs | MustafaSalih1993/sic | f190bda6d0d0c006068a3a07139710ff1eea6159 | [
"Apache-2.0",
"MIT"
] | 87 | 2018-10-26T18:17:09.000Z | 2022-03-31T03:20:16.000Z | tools/pack-release/src/actions/mod.rs | MustafaSalih1993/sic | f190bda6d0d0c006068a3a07139710ff1eea6159 | [
"Apache-2.0",
"MIT"
] | 546 | 2018-08-04T22:33:08.000Z | 2022-03-31T10:07:38.000Z | tools/pack-release/src/actions/mod.rs | foresterre/sic | e40f23570507e9e6006edc04db0d39ff269034e4 | [
"Apache-2.0",
"MIT"
] | 8 | 2019-10-03T20:12:06.000Z | 2022-02-22T03:01:36.000Z | pub mod update_dep_licenses;
use std::fs::File;
use std::io::Write;
use std::path::{Path, PathBuf};
use zip::write::FileOptions;
pub fn cargo_build(toolchain: &str, dep_licenses: impl AsRef<Path>) {
// get current directory, on top of which we'll create an output directory
let path = std::env::current_dir().e... | 30.838926 | 91 | 0.62111 |
0a7a30d71ca810192648e7ec5e124298882a36ea | 2,228 | cs | C# | src/Version1/SmsHttpClientV1.cs | pip-services-infrastructure/pip-clients-sms-dotnet | 7a47f48ff5384ef0aa7927de3a4b5516ff04fd2e | [
"MIT"
] | null | null | null | src/Version1/SmsHttpClientV1.cs | pip-services-infrastructure/pip-clients-sms-dotnet | 7a47f48ff5384ef0aa7927de3a4b5516ff04fd2e | [
"MIT"
] | null | null | null | src/Version1/SmsHttpClientV1.cs | pip-services-infrastructure/pip-clients-sms-dotnet | 7a47f48ff5384ef0aa7927de3a4b5516ff04fd2e | [
"MIT"
] | null | null | null | using System.Threading.Tasks;
using PipServices3.Commons.Config;
using PipServices3.Rpc.Clients;
namespace PipServices.Sms.Client.Version1
{
public class SmsHttpClientV1 : CommandableHttpClient, ISmsClientV1
{
public SmsHttpClientV1() : base("v1/sms")
{ }
public SmsHttpClientV1(object... | 32.289855 | 152 | 0.485637 |
6f4913cff1076a5047d7be860f14f6f31543ae72 | 2,883 | php | PHP | application/models/Supplier_model.php | alexputra2201/alex_ci_project | 67e97ed8ac91341c1d1349be0e203817c11d2b94 | [
"MIT"
] | null | null | null | application/models/Supplier_model.php | alexputra2201/alex_ci_project | 67e97ed8ac91341c1d1349be0e203817c11d2b94 | [
"MIT"
] | null | null | null | application/models/Supplier_model.php | alexputra2201/alex_ci_project | 67e97ed8ac91341c1d1349be0e203817c11d2b94 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') or exit('No direct script access allowed');
use GuzzleHttp\Client;
class Supplier_model extends CI_Model
{
public $table = 'supplier';
public $id = 'supplier.id';
private $_client;
public function __construct()
{
parent::__construct();
$this->_client = new C... | 32.393258 | 77 | 0.489421 |
652bcb460a3977696b5339e62b9880bef48462da | 448 | css | CSS | Hojadevida/CSS/BStyle.css | LuzPalaciosQuenan/Plantilla | 11ee081308b2178fd64fa03f040de76d1faa0fbb | [
"CC-BY-3.0"
] | null | null | null | Hojadevida/CSS/BStyle.css | LuzPalaciosQuenan/Plantilla | 11ee081308b2178fd64fa03f040de76d1faa0fbb | [
"CC-BY-3.0"
] | null | null | null | Hojadevida/CSS/BStyle.css | LuzPalaciosQuenan/Plantilla | 11ee081308b2178fd64fa03f040de76d1faa0fbb | [
"CC-BY-3.0"
] | null | null | null | div{
margin: 2px;
font-size: 20;
font-weight: bold;
text-align: center;
font-family: Trebuchet MS;
}
body{
background-color: #D6CADE;
}
.button{
color: red;
color: #fff;
padding: 10px;
font-size: 20px;
font-weight: 600;
border-radius: 6px;
background-color: #1883ba;
... | 17.92 | 31 | 0.607143 |
0ddb8c60f70315786a5a49803eee64e4e9204456 | 569 | rb | Ruby | ruby/example_code/iam/tests/test_iam-ruby-example-add-managed-policy.rb | iconara/aws-doc-sdk-examples | 52706b31b4fce8fb89468e56743edf5369e69628 | [
"Apache-2.0"
] | 5,166 | 2016-09-02T08:48:38.000Z | 2022-03-31T19:12:43.000Z | ruby/example_code/iam/tests/test_iam-ruby-example-add-managed-policy.rb | iconara/aws-doc-sdk-examples | 52706b31b4fce8fb89468e56743edf5369e69628 | [
"Apache-2.0"
] | 1,186 | 2016-09-28T23:05:19.000Z | 2022-03-31T18:07:47.000Z | ruby/example_code/iam/tests/test_iam-ruby-example-add-managed-policy.rb | iconara/aws-doc-sdk-examples | 52706b31b4fce8fb89468e56743edf5369e69628 | [
"Apache-2.0"
] | 4,003 | 2016-08-29T19:51:40.000Z | 2022-03-31T16:40:02.000Z | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX - License - Identifier: Apache - 2.0
require_relative '../iam-ruby-example-add-managed-policy'
describe '#policy_attached_to_user?' do
let(:user_name) { 'my-user' }
let(:policy_arn) { 'arn:aws:iam::aws:policy/AmazonS3FullAccess' }
let(:... | 27.095238 | 83 | 0.68717 |
a9f61ab29e48159f55f765166d49ad76931e0711 | 727 | php | PHP | Application/Home/Conf/config.php | nanzexu/hicms | 852a4ede12d3b7625bf0fa4559114601a90c1d00 | [
"Apache-2.0"
] | null | null | null | Application/Home/Conf/config.php | nanzexu/hicms | 852a4ede12d3b7625bf0fa4559114601a90c1d00 | [
"Apache-2.0"
] | null | null | null | Application/Home/Conf/config.php | nanzexu/hicms | 852a4ede12d3b7625bf0fa4559114601a90c1d00 | [
"Apache-2.0"
] | null | null | null | <?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 15-12-1
* Time: 下午7:59
*/
return array(
/* 模板相关配置 */
'TMPL_PARSE_STRING' => array(
'__STATIC__' => __ROOT__ . '/Public/static',
'__ADDONS__' => __ROOT__ . '/Public/' . MODULE_NAME . '/Addons',
'__IMG__' => __ROOT__ . ... | 33.045455 | 74 | 0.526823 |
58c80339cab4ddf25b7c345f90675d578cb85894 | 2,300 | rs | Rust | jeep-train-prelude/src/conn.rs | kotone-shiinoha/jeep-train | 872f2ff2c6ee009d026a2cea81e86f444c856049 | [
"MIT"
] | null | null | null | jeep-train-prelude/src/conn.rs | kotone-shiinoha/jeep-train | 872f2ff2c6ee009d026a2cea81e86f444c856049 | [
"MIT"
] | null | null | null | jeep-train-prelude/src/conn.rs | kotone-shiinoha/jeep-train | 872f2ff2c6ee009d026a2cea81e86f444c856049 | [
"MIT"
] | null | null | null | use std::collections::HashMap;
use std::sync::{
MutexGuard,
Mutex,
Arc
};
type Map = HashMap<String, String>;
pub type Conn = Arc<BearConnection>;
pub type Body = String;
#[derive(Default)]
pub struct BearConnection {
// requested host
pub method: Method,
pub path: String,
pub path_info: V... | 19.166667 | 66 | 0.535652 |
5d8b1ef2a7b3daea0e07e0339cec613f8146aaac | 1,043 | cc | C++ | src/graphics/lib/compute/tests/common/vk_sampler_unittest.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | src/graphics/lib/compute/tests/common/vk_sampler_unittest.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | src/graphics/lib/compute/tests/common/vk_sampler_unittest.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "vk_sampler.h"
#include <gtest/gtest.h>
#include "vk_app_state.h"
class VkSamplerTest : public ::testing::Test {
protected:
void
SetUp() o... | 20.86 | 86 | 0.650048 |
daa3dbfdd17b3f2d52b319971a497e97847a4fb9 | 2,283 | php | PHP | modulos/carrucel/src/entity/CarrucelfotosEntity.php | frankyframework/franky-skeleton-application | 423167d2067931617b463f602971fce08b2bbba7 | [
"MIT"
] | null | null | null | modulos/carrucel/src/entity/CarrucelfotosEntity.php | frankyframework/franky-skeleton-application | 423167d2067931617b463f602971fce08b2bbba7 | [
"MIT"
] | null | null | null | modulos/carrucel/src/entity/CarrucelfotosEntity.php | frankyframework/franky-skeleton-application | 423167d2067931617b463f602971fce08b2bbba7 | [
"MIT"
] | null | null | null | <?php
namespace Carrucel\entity;
class CarrucelfotosEntity
{
private $id;
private $id_carrucel;
private $foto;
private $url;
private $orden;
private $status;
private $createdAt;
private $updateAt;
public function __construct($data = null)
{
if (null != $data) {
... | 32.15493 | 151 | 0.577311 |
e6b6c475bf7f49a4512cec36821c55d3778b043e | 7,850 | h | C | Projects/Skylicht/Engine/Source/Material/CMaterial.h | skylicht-engine/skylicht | 5691674bfb82fc5f80c0106ab64d68dfba6fbb40 | [
"MIT"
] | null | null | null | Projects/Skylicht/Engine/Source/Material/CMaterial.h | skylicht-engine/skylicht | 5691674bfb82fc5f80c0106ab64d68dfba6fbb40 | [
"MIT"
] | null | null | null | Projects/Skylicht/Engine/Source/Material/CMaterial.h | skylicht-engine/skylicht | 5691674bfb82fc5f80c0106ab64d68dfba6fbb40 | [
"MIT"
] | null | null | null | /*
!@
MIT License
Copyright (c) 2019 Skylicht Technology CO., LTD
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... | 22.557471 | 141 | 0.724076 |
7b4e84e2509e1fb46247e87b50675b36160689f3 | 1,780 | rb | Ruby | app/searches/certificate_search.rb | steveholmes/trade-tariff-management | e0693f91976116c24cc6513a165a07e27dabc0c5 | [
"MIT"
] | 4 | 2018-11-05T17:33:01.000Z | 2020-12-21T11:38:04.000Z | app/searches/certificate_search.rb | steveholmes/trade-tariff-management | e0693f91976116c24cc6513a165a07e27dabc0c5 | [
"MIT"
] | 97 | 2018-02-19T16:42:16.000Z | 2020-11-06T12:18:26.000Z | app/searches/certificate_search.rb | steveholmes/trade-tariff-management | e0693f91976116c24cc6513a165a07e27dabc0c5 | [
"MIT"
] | 3 | 2019-01-10T09:55:32.000Z | 2019-07-16T11:31:02.000Z | class CertificateSearch
ALLOWED_FILTERS = %w(
q
certificate_type_code
certificate_code
start_date
end_date
).freeze
FIELDS_ALLOWED_FOR_ORDER = %w(
certificate_type_code
certificate_code
description
validity_start_date
validity_end_date
).freeze
SIMPLE_SORTABLE_MODES =... | 21.190476 | 76 | 0.675281 |
b31ef48bf74dd71496aaf009e3c168e7a9146eea | 899 | py | Python | openvisualizer/client/plugins/macstats.py | ftheoleyre/openvisualizer | bddc584ca958ecc12315920de85075a8d0f68f46 | [
"BSD-3-Clause"
] | 6 | 2018-11-11T07:38:18.000Z | 2021-09-27T18:39:01.000Z | openvisualizer/client/plugins/macstats.py | ftheoleyre/openvisualizer | bddc584ca958ecc12315920de85075a8d0f68f46 | [
"BSD-3-Clause"
] | 15 | 2018-09-24T18:49:30.000Z | 2021-06-26T13:26:27.000Z | openvisualizer/client/plugins/macstats.py | ftheoleyre/openvisualizer | bddc584ca958ecc12315920de85075a8d0f68f46 | [
"BSD-3-Clause"
] | 17 | 2018-10-01T15:19:53.000Z | 2021-09-27T18:39:05.000Z | import json
import logging
from openvisualizer.client.plugins.plugin import Plugin
from openvisualizer.client.view import View
from openvisualizer.motehandler.motestate.motestate import MoteState
@Plugin.record_view("macstats")
class MacStats(View):
def __init__(self, proxy, mote_id, refresh_rate):
super... | 33.296296 | 83 | 0.690768 |
b6018fd5c84e183461f1252b7cf9256fb70f1aaa | 578 | rb | Ruby | db/migrate/20170630210604_create_websites.rb | canerdogan/storm-monitoring | 8ae6527b755b4619d1233ef8b5fbd6def2ec830b | [
"MIT"
] | 20 | 2017-07-01T01:59:45.000Z | 2021-08-09T12:36:15.000Z | db/migrate/20170630210604_create_websites.rb | canerdogan/storm-monitoring | 8ae6527b755b4619d1233ef8b5fbd6def2ec830b | [
"MIT"
] | 196 | 2017-09-17T21:50:43.000Z | 2021-09-28T13:49:37.000Z | db/migrate/20170630210604_create_websites.rb | canerdogan/storm-monitoring | 8ae6527b755b4619d1233ef8b5fbd6def2ec830b | [
"MIT"
] | 9 | 2017-07-22T01:37:41.000Z | 2022-02-27T11:40:06.000Z | # frozen_string_literal: true
class CreateWebsites < ActiveRecord::Migration[5.1]
def change
create_table :websites do |t|
t.string :name, index: true, unique: true, default: '', null: false
t.string :url, index: true, unique: true, default: '', null: false
t.boolean :ssl, default: false
... | 28.9 | 73 | 0.66955 |
72f63483dde90e17202955ae86e1f31c00e3b743 | 7,168 | swift | Swift | actor-apps/app-ios/ActorApp/Controllers Support/AAViewController.swift | liruqi/actor-platform-v0.9 | 29724f0028f84b642e935b6381d5effe556b4a24 | [
"MIT"
] | null | null | null | actor-apps/app-ios/ActorApp/Controllers Support/AAViewController.swift | liruqi/actor-platform-v0.9 | 29724f0028f84b642e935b6381d5effe556b4a24 | [
"MIT"
] | null | null | null | actor-apps/app-ios/ActorApp/Controllers Support/AAViewController.swift | liruqi/actor-platform-v0.9 | 29724f0028f84b642e935b6381d5effe556b4a24 | [
"MIT"
] | null | null | null | //
// Copyright (c) 2014-2015 Actor LLC. <https://actor.im>
//
import UIKit
import MobileCoreServices
class AAViewController: UIViewController, UINavigationControllerDelegate {
// MARK: -
// MARK: Public vars
var placeholder = BigPlaceholderView(topOffset: 0)
var pendingPickClosure: ((image... | 35.84 | 186 | 0.645089 |
b1cbc6902031ddfbdeae368cb88193ec4cf31134 | 629 | sql | SQL | src/cats/ddl/updates/sqlite3.12_14.sql | karcaw/bareos-contrib | 5a296ab3edabdb692ebbb4f14c28c6c739d75f21 | [
"MIT"
] | 1 | 2015-01-03T09:59:37.000Z | 2015-01-03T09:59:37.000Z | src/cats/ddl/updates/sqlite3.12_14.sql | credativ/bareos | da9fa2855e29f55498193ddaa44f7a75e3add469 | [
"MIT"
] | null | null | null | src/cats/ddl/updates/sqlite3.12_14.sql | credativ/bareos | da9fa2855e29f55498193ddaa44f7a75e3add469 | [
"MIT"
] | null | null | null | BEGIN;
CREATE TABLE RestoreObject (
RestoreObjectId INTEGER,
ObjectName TEXT DEFAULT '',
RestoreObject TEXT DEFAULT '',
PluginName TEXT DEFAULT '',
ObjectLength INTEGER DEFAULT 0,
ObjectFullLength INTEGER DEFAULT 0,
ObjectIndex INTEGER DEFAULT 0,
ObjectType INTEGER DEFAULT 0,
FileIndex INTEG... | 27.347826 | 56 | 0.767886 |
25fe5a2ccb48b4b926d6f46e3247265fcf169639 | 653 | cs | C# | 10. Finctional Programming - Exercise/03. Custom Min Function/Program.cs | rusenminchev/Softuni-C-Sharp-Programming-Advanced-Module | ae14790d484c8741a76298c98a5da14963614efb | [
"MIT"
] | null | null | null | 10. Finctional Programming - Exercise/03. Custom Min Function/Program.cs | rusenminchev/Softuni-C-Sharp-Programming-Advanced-Module | ae14790d484c8741a76298c98a5da14963614efb | [
"MIT"
] | null | null | null | 10. Finctional Programming - Exercise/03. Custom Min Function/Program.cs | rusenminchev/Softuni-C-Sharp-Programming-Advanced-Module | ae14790d484c8741a76298c98a5da14963614efb | [
"MIT"
] | null | null | null | using System;
using System.Linq;
namespace Exercise_03._Custom_Min_Function_2
{
class Program
{
static void Main(string[] args)
{
int[] numbers = Console.ReadLine().Split().Select(int.Parse).ToArray();
Func<int[], int> minFunc = nums =>
{
i... | 19.205882 | 83 | 0.410413 |
0410662871bc6fab0281c4d2d545783661dd2f02 | 50 | h | C | c-tests/extern.h | RTSYork/picoc | 5b656cea7f24f8958501952561dd945c2f1f3912 | [
"BSD-3-Clause"
] | 6 | 2021-01-04T03:38:04.000Z | 2021-11-25T11:12:54.000Z | c-tests/extern.h | GregorR/picoc-js | 233290d03341bd747cce903dec80585c9c305295 | [
"BSD-3-Clause"
] | null | null | null | c-tests/extern.h | GregorR/picoc-js | 233290d03341bd747cce903dec80585c9c305295 | [
"BSD-3-Clause"
] | 4 | 2020-06-30T22:03:14.000Z | 2021-11-04T13:49:31.000Z | extern int a;
extern long b;
//void decrement();
| 10 | 19 | 0.68 |
c9c9b308a54e3e6cf419e4839f39d1c8dffcdf7e | 289 | ts | TypeScript | src/environment/environment.ts | shiba44/rec0bot | 4c645e11961c808b92b79e33c44a80ea4d55e8b2 | [
"Apache-2.0"
] | 2 | 2020-08-20T08:53:09.000Z | 2022-01-09T05:13:26.000Z | src/environment/environment.ts | shiba44/rec0bot | 4c645e11961c808b92b79e33c44a80ea4d55e8b2 | [
"Apache-2.0"
] | 6 | 2021-01-27T14:30:12.000Z | 2022-03-30T17:54:15.000Z | src/environment/environment.ts | shiba44/rec0bot | 4c645e11961c808b92b79e33c44a80ea4d55e8b2 | [
"Apache-2.0"
] | 1 | 2021-10-05T14:09:17.000Z | 2021-10-05T14:09:17.000Z | import { Environment } from '../interface/environment.interface';
import { environmentDev } from './environment.dev';
import { environmentProd } from './environment.prod';
export const environment: Environment = (process.env.NODE_ENV === 'production') ? environmentProd : environmentDev;
| 48.166667 | 115 | 0.754325 |
172c9d9ea18d9fe8c32c589923fc62cd71b2367c | 396 | sql | SQL | galaxy-demo/galaxy-demo-purchase/src/main/dbscripts/order.sql | stvliu/tcc-transaction | 86c65977aa998f3b7269695ffef7f65731a03270 | [
"Apache-2.0"
] | 18 | 2017-01-15T17:30:25.000Z | 2021-01-10T10:23:28.000Z | galaxy-demo/galaxy-demo-purchase/src/main/dbscripts/order.sql | stvliu/tcc-transaction | 86c65977aa998f3b7269695ffef7f65731a03270 | [
"Apache-2.0"
] | null | null | null | galaxy-demo/galaxy-demo-purchase/src/main/dbscripts/order.sql | stvliu/tcc-transaction | 86c65977aa998f3b7269695ffef7f65731a03270 | [
"Apache-2.0"
] | 13 | 2016-08-15T01:40:11.000Z | 2019-07-04T05:53:49.000Z | CREATE TABLE t_order
(
order_id numeric NOT NULL,
item_id numeric NOT NULL,
user_id numeric NOT NULL,
status character varying(50),
amout numeric NOT NULL,
CONSTRAINT t_order_pkey PRIMARY KEY (order_id)
)
CREATE TABLE t_repository
(
id numeric NOT NULL,
name character varying(50),
stock numeric NOT N... | 22 | 48 | 0.760101 |
e2a92a7cd7477e516b53db766f0b1e8ec28fbb30 | 2,011 | py | Python | starfish/core/image/Filter/test/test_filter.py | kne42/starfish | 78b348c9756f367221dcca725cfa5107e5520b33 | [
"MIT"
] | null | null | null | starfish/core/image/Filter/test/test_filter.py | kne42/starfish | 78b348c9756f367221dcca725cfa5107e5520b33 | [
"MIT"
] | null | null | null | starfish/core/image/Filter/test/test_filter.py | kne42/starfish | 78b348c9756f367221dcca725cfa5107e5520b33 | [
"MIT"
] | null | null | null | from typing import Tuple, Union
import numpy as np
import pytest
import xarray as xr
from starfish.core.image.Filter import element_wise_mult, gaussian_high_pass, mean_high_pass
from starfish.core.imagestack.imagestack import ImageStack
from starfish.core.types import Clip, Number
def random_data_image_stack_factor... | 35.910714 | 92 | 0.710592 |
b061e1568627ba39223550341c9594a791a27bf2 | 2,632 | py | Python | rayonix_detector_XPP_shmem_server.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | null | null | null | rayonix_detector_XPP_shmem_server.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 1 | 2019-10-22T21:28:31.000Z | 2019-10-22T21:39:12.000Z | rayonix_detector_XPP_shmem_server.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 2 | 2019-06-06T15:06:46.000Z | 2020-07-20T02:03:22.000Z | #!/bin/env python
"""
Acquire a series of images using the XPP Rayonix detector with the
LCLS data acquisition system and a server running on a "mond" node.
This script listens to a shared memory server of the DAQ system and resends
images to a client program (Lauecollect) running on "xpp-daq" or "xpp-control".
Setup:... | 29.909091 | 104 | 0.669453 |
e088f8f48a7f49816cf394d59699197472d05a39 | 2,011 | c | C | common/molten_slog.c | h2ero/Molten | d637fc0384758a2a7849217619046a989d692e74 | [
"Apache-2.0"
] | 820 | 2017-07-10T00:17:18.000Z | 2022-03-18T03:50:47.000Z | common/molten_slog.c | h2ero/Molten | d637fc0384758a2a7849217619046a989d692e74 | [
"Apache-2.0"
] | 113 | 2017-08-02T08:41:57.000Z | 2021-12-10T06:01:20.000Z | common/molten_slog.c | h2ero/Molten | d637fc0384758a2a7849217619046a989d692e74 | [
"Apache-2.0"
] | 177 | 2017-07-26T03:05:50.000Z | 2022-01-24T11:35:28.000Z | /**
* Copyright 2017 chuan-yun silkcutKs <silkcutbeta@gmail.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 require... | 30.014925 | 102 | 0.631029 |
8cb70cb9a770107219a068b41705e9ceeee0b7a2 | 12,142 | rb | Ruby | lib/determinator/control.rb | deliveroo/determinator | 094c667711af469f86453599f7aa7fa3ce50243c | [
"MIT"
] | 8 | 2017-09-14T14:10:11.000Z | 2020-02-29T11:42:01.000Z | lib/determinator/control.rb | deliveroo/determinator | 094c667711af469f86453599f7aa7fa3ce50243c | [
"MIT"
] | 29 | 2017-09-07T14:56:15.000Z | 2022-03-30T22:27:59.000Z | lib/determinator/control.rb | deliveroo/determinator | 094c667711af469f86453599f7aa7fa3ce50243c | [
"MIT"
] | 1 | 2022-01-11T11:23:20.000Z | 2022-01-11T11:23:20.000Z | require 'digest/md5'
require 'determinator/actor_control'
require 'semantic'
require 'securerandom'
module Determinator
class Control
attr_reader :retrieval, :explainer
def initialize(retrieval:)
@retrieval = retrieval
@explainer = Determinator::Explainer.new
end
# Creates a new determi... | 37.131498 | 126 | 0.697414 |
b39c3a2aaeec6223d11dd0f89451affd0e0b9670 | 1,031 | swift | Swift | 5.1/HW6.playground/Contents.swift | BanyaKrylov/Learn-Swift | 2a1c057fea25c65dcaae840716a43409ef451203 | [
"Apache-2.0"
] | null | null | null | 5.1/HW6.playground/Contents.swift | BanyaKrylov/Learn-Swift | 2a1c057fea25c65dcaae840716a43409ef451203 | [
"Apache-2.0"
] | null | null | null | 5.1/HW6.playground/Contents.swift | BanyaKrylov/Learn-Swift | 2a1c057fea25c65dcaae840716a43409ef451203 | [
"Apache-2.0"
] | null | null | null | import UIKit
//Homework 6
let statusOk = (200, "OK", true)
let statusNok: (Int, String, Bool) = (500, "Not available", false)
var (code, status, work) = statusOk
print("Server code - \(code)")
print("Server status - \(status)")
print("Server work? - \(work)")
statusNok.1
let statusUnknown = (codes:100, statuses:"... | 26.435897 | 123 | 0.726479 |
497ae7d5842062dcbd1edae5063b137d7b51daba | 30 | dart | Dart | bin/main.dart | Mooibroek/json_to_model | 4c27bbc2fe0c22b98c20dc25f7c302f79afe0322 | [
"MIT"
] | null | null | null | bin/main.dart | Mooibroek/json_to_model | 4c27bbc2fe0c22b98c20dc25f7c302f79afe0322 | [
"MIT"
] | null | null | null | bin/main.dart | Mooibroek/json_to_model | 4c27bbc2fe0c22b98c20dc25f7c302f79afe0322 | [
"MIT"
] | 1 | 2020-08-04T13:05:13.000Z | 2020-08-04T13:05:13.000Z | export 'apn_json2model.dart';
| 15 | 29 | 0.8 |
b92130ffbe1acb1d8eb1ea445e29db1bb21e0b97 | 6,069 | css | CSS | vendor/ember-gantt.css | johanrd/ember-gantt | 2c638e1f36c47d406ecce55a5a026a411626908c | [
"MIT"
] | 19 | 2018-06-06T08:08:16.000Z | 2021-09-17T13:05:46.000Z | vendor/ember-gantt.css | johanrd/ember-gantt | 2c638e1f36c47d406ecce55a5a026a411626908c | [
"MIT"
] | 10 | 2018-08-02T09:18:00.000Z | 2021-12-30T21:02:31.000Z | vendor/ember-gantt.css | johanrd/ember-gantt | 2c638e1f36c47d406ecce55a5a026a411626908c | [
"MIT"
] | 2 | 2018-10-17T23:37:06.000Z | 2022-01-13T21:11:10.000Z | /**
*
* GANTT STYLING: use and adjust this
*
*/
.gantt-chart {
position: relative; }
.gantt-chart-inner {
overflow-x: scroll;
overflow-y: hidden;
padding-bottom: 50px;
background: #fff;
border: 1px solid #ccc; }
.gantt-titles-background {
position: absolute;
top: 1px;
left: 1px;
height: calc... | 24.975309 | 97 | 0.650189 |
4b639900ae2791ec9cd900b466f1dcd8c264baf5 | 23,158 | rs | Rust | bot/src/utils/mod.rs | Jqnxyz/OxidizeBot | 5e29621ef5b49ebba711beaaa8801e205633831e | [
"Apache-2.0",
"MIT"
] | null | null | null | bot/src/utils/mod.rs | Jqnxyz/OxidizeBot | 5e29621ef5b49ebba711beaaa8801e205633831e | [
"Apache-2.0",
"MIT"
] | null | null | null | bot/src/utils/mod.rs | Jqnxyz/OxidizeBot | 5e29621ef5b49ebba711beaaa8801e205633831e | [
"Apache-2.0",
"MIT"
] | null | null | null | use crate::api;
use crate::prelude::*;
use percent_encoding::PercentDecode;
use std::borrow::Cow;
use std::fmt;
use std::mem;
use std::ops;
use std::sync::Arc;
use std::time;
use tokio::sync::Mutex;
mod duration;
pub type Futures =
futures::stream::FuturesUnordered<future::BoxFuture<'static, Result<(), anyhow::Er... | 25.117137 | 97 | 0.493048 |
a3cbd0af250f8f9b661e7815ba4d4c5a5420ffaf | 818 | java | Java | jb-basic/src/main/java/basic/design/creatingpattern/simplefactory02/TestSimpleFactoryPattern.java | ChaojieDZhao/jb-brother | 23c2692a8dbb6ffd1a2b7b03298ddf2b2c622312 | [
"Apache-2.0"
] | null | null | null | jb-basic/src/main/java/basic/design/creatingpattern/simplefactory02/TestSimpleFactoryPattern.java | ChaojieDZhao/jb-brother | 23c2692a8dbb6ffd1a2b7b03298ddf2b2c622312 | [
"Apache-2.0"
] | null | null | null | jb-basic/src/main/java/basic/design/creatingpattern/simplefactory02/TestSimpleFactoryPattern.java | ChaojieDZhao/jb-brother | 23c2692a8dbb6ffd1a2b7b03298ddf2b2c622312 | [
"Apache-2.0"
] | null | null | null | package basic.design.creatingpattern.simplefactory02;
/**
* 抽象产品
*/
interface MeizuPhone
{
/**
* 方法运行
*/
void run();
}
/**
* @describe
*/
public class TestSimpleFactoryPattern
{
public static void main(String[] args)
throws Exception
{
Factory factory = new Factory();
factory.produce("PRO5").run();
... | 13.409836 | 53 | 0.656479 |
c2fa48ae7fb724706ed4e34fb88e4ecf66605b37 | 533 | dart | Dart | lib/config/app_config_dev.dart | themobilecoder/Flutter-Flavors | dc88d117d07312fc5dc49376a5f7ac1060bc73af | [
"MIT"
] | 1 | 2020-05-24T22:12:43.000Z | 2020-05-24T22:12:43.000Z | lib/config/app_config_dev.dart | themobilecoder/Flutter-Flavors | dc88d117d07312fc5dc49376a5f7ac1060bc73af | [
"MIT"
] | null | null | null | lib/config/app_config_dev.dart | themobilecoder/Flutter-Flavors | dc88d117d07312fc5dc49376a5f7ac1060bc73af | [
"MIT"
] | 1 | 2022-03-02T08:45:04.000Z | 2022-03-02T08:45:04.000Z | import 'package:flutter/material.dart';
import 'package:flutter_flavors/config/app_config.dart';
import 'package:flutter_flavors/repository/dog_repository.dart';
import 'package:flutter_flavors/repository/dog_repository_dev.dart';
class AppConfigDev implements AppConfig {
final _dogRepository = DogRepositoryDev();
... | 28.052632 | 68 | 0.786116 |
a31fe995cf31976f40e1b34716ba0eecacc9dcd3 | 203 | java | Java | aksw-commons-lambdas-parent/aksw-commons-lambdas-serializable/src/main/java/org/aksw/commons/lambda/serializable/SerializableCollector.java | SmartDataAnalytics/aksw-commons | 41f635d2350d10f031977cb83906e084ef699ac3 | [
"Apache-1.1"
] | 1 | 2021-02-06T23:49:15.000Z | 2021-02-06T23:49:15.000Z | aksw-commons-lambdas-parent/aksw-commons-lambdas-serializable/src/main/java/org/aksw/commons/lambda/serializable/SerializableCollector.java | SmartDataAnalytics/aksw-commons | 41f635d2350d10f031977cb83906e084ef699ac3 | [
"Apache-1.1"
] | 9 | 2020-11-16T20:29:33.000Z | 2022-03-03T10:26:19.000Z | aksw-commons-lambdas-parent/aksw-commons-lambdas-serializable/src/main/java/org/aksw/commons/lambda/serializable/SerializableCollector.java | SmartDataAnalytics/aksw-commons | 41f635d2350d10f031977cb83906e084ef699ac3 | [
"Apache-1.1"
] | null | null | null | package org.aksw.commons.lambda.serializable;
import java.io.Serializable;
import java.util.stream.Collector;
public interface SerializableCollector<T, A, R> extends Collector<T, A, R>, Serializable {} | 33.833333 | 91 | 0.79803 |
a34a6be3ef7db585ebeade9e3b023df4ae490cb8 | 51,501 | c | C | testsuite/EXP_2/test2180.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 34 | 2017-07-04T14:16:12.000Z | 2021-04-22T21:04:43.000Z | testsuite/EXP_2/test2180.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 1 | 2017-07-06T03:43:44.000Z | 2017-07-06T03:43:44.000Z | testsuite/EXP_2/test2180.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 6 | 2017-07-04T16:30:42.000Z | 2019-10-16T05:37:29.000Z |
/*
CF3
Copyright (c) 2015 ishiura-lab.
Released under the MIT license.
https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md
*/
#include<stdio.h>
#include<stdint.h>
#include<stdlib.h>
#include"test1.h"
volatile int32_t x21 = INT32_MIN;
static int16_t x23 = -1;
volatile int32_t t5 = -41078892;
int32_t x34 = 40;
... | 18.236898 | 54 | 0.576261 |