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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6a8b912ec3de1a9374c74515afdf8d709e54863e | 2,126 | dart | Dart | lib/home/widgets/app_bar/app_bar_widget.dart | carlosalexandre3107/dev-quiz-flutter | 5ffa24cd79a14d2389a8a8c827a23b18bb592f08 | [
"MIT"
] | null | null | null | lib/home/widgets/app_bar/app_bar_widget.dart | carlosalexandre3107/dev-quiz-flutter | 5ffa24cd79a14d2389a8a8c827a23b18bb592f08 | [
"MIT"
] | null | null | null | lib/home/widgets/app_bar/app_bar_widget.dart | carlosalexandre3107/dev-quiz-flutter | 5ffa24cd79a14d2389a8a8c827a23b18bb592f08 | [
"MIT"
] | null | null | null | import 'dart:ffi';
import 'package:DevQuiz/core/core.dart';
import 'package:DevQuiz/home/widgets/score_card/score_card_widget.dart';
import 'package:flutter/material.dart';
class AppBarWidget extends PreferredSize {
AppBarWidget()
: super(
preferredSize: Size.fromHeight(260),
child: Contai... | 35.433333 | 88 | 0.389464 |
b78999d63c63e1142df5d31378bd11523c838165 | 3,489 | cs | C# | src/UITesting.ProviderPortal/StepDefinitions/AddCourse_AddDescriptionSteps.cs | usmanzaheerkhan/dfc-providerportal-automatedtests-master | 7b059932c1568c8803e18c9c4ac225948b64a70b | [
"MIT"
] | null | null | null | src/UITesting.ProviderPortal/StepDefinitions/AddCourse_AddDescriptionSteps.cs | usmanzaheerkhan/dfc-providerportal-automatedtests-master | 7b059932c1568c8803e18c9c4ac225948b64a70b | [
"MIT"
] | null | null | null | src/UITesting.ProviderPortal/StepDefinitions/AddCourse_AddDescriptionSteps.cs | usmanzaheerkhan/dfc-providerportal-automatedtests-master | 7b059932c1568c8803e18c9c4ac225948b64a70b | [
"MIT"
] | null | null | null | using System;
using UITesting.Framework.Helpers;
using UITesting.ProviderPortal.Pages.Course_Management;
using UITesting.ProviderPortal.Pages;
using UITesting.ProviderPortal.TestSupport;
using OpenQA.Selenium;
using TechTalk.SpecFlow;
namespace UITesting.ProviderPortal.StepDefinitions
{
[Binding]
public clas... | 35.969072 | 110 | 0.650616 |
6dbff62c2818508191a7474d65ccbd7dd233e050 | 436 | h | C | src/gls.h | jaredhuling/rfunctions | ee118166ce4b31b871e4c1d4e7fc35518098423a | [
"MIT"
] | 19 | 2015-04-07T21:52:41.000Z | 2021-12-08T01:12:53.000Z | src/gls.h | jaredhuling/rfunctions | ee118166ce4b31b871e4c1d4e7fc35518098423a | [
"MIT"
] | 5 | 2016-02-24T20:48:15.000Z | 2020-03-06T05:08:23.000Z | src/gls.h | jaredhuling/rfunctions | ee118166ce4b31b871e4c1d4e7fc35518098423a | [
"MIT"
] | 4 | 2016-04-13T06:47:30.000Z | 2021-12-07T22:20:41.000Z | #ifndef _rfunctions_LINOP_H
#define _rfunctions_LINOP_H
#include <Rcpp.h>
#include <RcppEigen.h>
#include <Eigen/SVD>
#include <vector>
#include <functional>
#include <algorithm>
#include <iostream>
#include <cmath>
using namespace Rcpp;
using namespace RcppEigen;
RcppExport SEXP gls(SEXP, SEXP, SEXP, SEXP, SEXP)... | 19.818182 | 58 | 0.759174 |
c3997e16fa4666a5807f2b4f9a722153c04cce06 | 217 | cs | C# | Cadastro_de_Series/Dio.Series/Interfaces/ISerieRepositorio.cs | mckatoo/localiza-bootcamp-2 | e008f5d009e91666665e9c8f11f7e0af01ffe7d6 | [
"CC0-1.0"
] | null | null | null | Cadastro_de_Series/Dio.Series/Interfaces/ISerieRepositorio.cs | mckatoo/localiza-bootcamp-2 | e008f5d009e91666665e9c8f11f7e0af01ffe7d6 | [
"CC0-1.0"
] | null | null | null | Cadastro_de_Series/Dio.Series/Interfaces/ISerieRepositorio.cs | mckatoo/localiza-bootcamp-2 | e008f5d009e91666665e9c8f11f7e0af01ffe7d6 | [
"CC0-1.0"
] | null | null | null | namespace Dio.Series.Interfaces
{
public interface ISerieRepositorio : IRepositorio<Serie>
{
List<Serie> PorGenero(Genero genero);
List<Serie> ListaContemTitulo(string titulo);
}
}
| 24.111111 | 61 | 0.668203 |
8d6e85adc37ec7f24cfc458137ec51764e0504ca | 6,315 | lua | Lua | yatm_data_logic/tests/data_math_test.lua | IceDragon200/mt-yatm | 7452f2905e1f4121dc9d244d18a23e76b11ebe5d | [
"Apache-2.0"
] | 3 | 2019-03-15T03:17:36.000Z | 2020-02-19T19:50:49.000Z | yatm_data_logic/tests/data_math_test.lua | IceDragon200/mt-yatm | 7452f2905e1f4121dc9d244d18a23e76b11ebe5d | [
"Apache-2.0"
] | 24 | 2019-12-02T06:01:04.000Z | 2021-04-08T04:09:27.000Z | yatm_data_logic/tests/data_math_test.lua | IceDragon200/mt-yatm | 7452f2905e1f4121dc9d244d18a23e76b11ebe5d | [
"Apache-2.0"
] | null | null | null | local Luna = assert(foundation.com.Luna)
local m = yatm_data_logic.data_math
local case = Luna:new("yatm_data_logic.data_math")
local CONFIG = {
-- determines how long a number can be in bytes this affects normal operations
byte_size = 16,
-- the maximum number of elements expected in a vector type
vector_siz... | 42.1 | 119 | 0.666825 |
c9cb4d08816d7064fdce33d4615558ca85ff0399 | 3,468 | tsx | TypeScript | src/pages/users.tsx | sdip15fa/notes | f0db136a548385068aa0969e18b42a0fcbe37767 | [
"MIT"
] | null | null | null | src/pages/users.tsx | sdip15fa/notes | f0db136a548385068aa0969e18b42a0fcbe37767 | [
"MIT"
] | null | null | null | src/pages/users.tsx | sdip15fa/notes | f0db136a548385068aa0969e18b42a0fcbe37767 | [
"MIT"
] | null | null | null | import React from "react";
import axios from "axios";
import hash from "hash.js";
import { testserver } from "../lib/common";
import './users.css';
let url = "https://api-notes.wcyat.me";
class Main extends React.Component {
username = '';
password = '';
state = {
warning : ''
}
... | 33.346154 | 139 | 0.475779 |
d229476abf63b55af1437f68b9b717946f09901d | 4,032 | rs | Rust | src/codegen/memory.rs | geky-test-org/aWsm | ab1bfb69d8bfe1fe8babc8f18ceda7829c457e47 | [
"BSD-3-Clause"
] | 1 | 2021-03-16T01:56:07.000Z | 2021-03-16T01:56:07.000Z | src/codegen/memory.rs | geky-test-org/aWsm | ab1bfb69d8bfe1fe8babc8f18ceda7829c457e47 | [
"BSD-3-Clause"
] | 1 | 2020-08-10T07:46:33.000Z | 2020-08-10T07:46:33.000Z | src/codegen/memory.rs | geky-test-org/aWsm | ab1bfb69d8bfe1fe8babc8f18ceda7829c457e47 | [
"BSD-3-Clause"
] | 2 | 2020-08-10T00:30:12.000Z | 2020-08-10T00:44:11.000Z | use llvm::Builder;
use llvm::Compile;
use llvm::FunctionType;
use llvm::PointerType;
use llvm::Sub;
use llvm::Value;
use wasmparser::ResizableLimits;
use crate::wasm::DataInitializer;
use crate::wasm::ImplementedFunction;
use crate::wasm::Instruction;
use crate::codegen::ModuleCtx;
use crate::codegen::function::comp... | 33.882353 | 97 | 0.65253 |
26911969bce0e8ba5cdf0df9c42ed952fd548255 | 2,077 | swift | Swift | iOS/Example/BeagleDemo/BeagleDemo/Screens/PageViewScreen.swift | BizarreNULL/beagle | e1b0a87f9d1fd8c0c123aac7d5fb98b0bfdb7d2c | [
"Apache-2.0"
] | null | null | null | iOS/Example/BeagleDemo/BeagleDemo/Screens/PageViewScreen.swift | BizarreNULL/beagle | e1b0a87f9d1fd8c0c123aac7d5fb98b0bfdb7d2c | [
"Apache-2.0"
] | 1 | 2020-08-10T15:53:40.000Z | 2020-08-10T15:53:40.000Z | iOS/Example/BeagleDemo/BeagleDemo/Screens/PageViewScreen.swift | BizarreNULL/beagle | e1b0a87f9d1fd8c0c123aac7d5fb98b0bfdb7d2c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
*
* 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... | 38.462963 | 111 | 0.638902 |
a36ea478e94a373f465b441f302f8eceeed1e7b5 | 417 | java | Java | rpc-server/src/main/java/com/hughes/service/MessageSendService.java | HughesLou/GRpcProject | 219cd541988825f64dd9cb10f2c9654ccad19cac | [
"MIT"
] | null | null | null | rpc-server/src/main/java/com/hughes/service/MessageSendService.java | HughesLou/GRpcProject | 219cd541988825f64dd9cb10f2c9654ccad19cac | [
"MIT"
] | 1 | 2022-03-12T14:18:20.000Z | 2022-03-12T14:18:20.000Z | rpc-server/src/main/java/com/hughes/service/MessageSendService.java | HughesLou/gRpc | 219cd541988825f64dd9cb10f2c9654ccad19cac | [
"MIT"
] | null | null | null | package com.hughes.service;
import com.hughes.protobuf.message.SendRequest;
import com.hughes.protobuf.message.SendResponse;
import com.hughes.service.impl.MessageSendServiceImpl;
/**
* @author HughesLou
* Created on 2022-03-09
*/
public interface MessageSendService {
SendResponse send(SendRequest request);
... | 21.947368 | 54 | 0.760192 |
2ccf1fd3136f9d26b667d8944b6768de66393420 | 1,592 | py | Python | album/views.py | 221BBakerSt/django_to_heroku | c9416814a6a79af82755cc415fdd8bd9cbc66343 | [
"MIT"
] | null | null | null | album/views.py | 221BBakerSt/django_to_heroku | c9416814a6a79af82755cc415fdd8bd9cbc66343 | [
"MIT"
] | null | null | null | album/views.py | 221BBakerSt/django_to_heroku | c9416814a6a79af82755cc415fdd8bd9cbc66343 | [
"MIT"
] | null | null | null | from django.shortcuts import render, redirect, get_object_or_404
from django.http import request, HttpResponse
from django.core.paginator import *
from .models import *
# the number of photos shown on every page
NUM_ON_EACH_PAGE = 16
def album(request):
slide_pics = Slide.objects.all()
galleries = Gallery.obj... | 32.489796 | 128 | 0.673995 |
3b5406d83868c251c379ff70628b8f989d917715 | 1,077 | swift | Swift | Samples/iOS-Swift/iOS-Swift/AppDelegate.swift | rcancro/sentry-cocoa | 91da0e5da95d005b5ad8ff0f9d96684a18aaf87a | [
"MIT"
] | null | null | null | Samples/iOS-Swift/iOS-Swift/AppDelegate.swift | rcancro/sentry-cocoa | 91da0e5da95d005b5ad8ff0f9d96684a18aaf87a | [
"MIT"
] | 5 | 2022-01-24T09:22:23.000Z | 2022-03-21T09:39:57.000Z | Samples/iOS-Swift/iOS-Swift/AppDelegate.swift | rcancro/sentry-cocoa | 91da0e5da95d005b5ad8ff0f9d96684a18aaf87a | [
"MIT"
] | null | null | null | import Sentry
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
static let defaultDSN = "https://a92d50327ac74b8b9aa4ea80eccfb267@o447951.ingest.sentry.io/5428557"
func application(_ application: UIApplication, didFinishLaunchingWithOpt... | 34.741935 | 145 | 0.647168 |
f4451e32c553d4924471fe08336aef5ad877b259 | 2,555 | cs | C# | workers/unity/Packages/com.improbable.gdk.core/GameObjectRepresentation/Injection/InjectableStore.cs | filod/gdk-for-unity | 3f16bde43942b3484cd3384be7325e109e6821ec | [
"MIT"
] | null | null | null | workers/unity/Packages/com.improbable.gdk.core/GameObjectRepresentation/Injection/InjectableStore.cs | filod/gdk-for-unity | 3f16bde43942b3484cd3384be7325e109e6821ec | [
"MIT"
] | null | null | null | workers/unity/Packages/com.improbable.gdk.core/GameObjectRepresentation/Injection/InjectableStore.cs | filod/gdk-for-unity | 3f16bde43942b3484cd3384be7325e109e6821ec | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using UnityEngine;
namespace Improbable.Gdk.GameObjectRepresentation
{
/// <summary>
/// Stores IInjectables and provides methods suited for the required access patterns: adding / removing by
/// MonoBehaviour as dictated by the MonoBehaviourActivationManager, and... | 41.209677 | 116 | 0.641096 |
89c69fc93a2e51eca26debc4da70ce1b847f89ff | 6,665 | swift | Swift | CollectionsTests/PriorityQueueTests.swift | massada/swift-collections | 7b0504fe9b19b4a59e2c98fb39a4df99c9457ce4 | [
"Apache-2.0"
] | null | null | null | CollectionsTests/PriorityQueueTests.swift | massada/swift-collections | 7b0504fe9b19b4a59e2c98fb39a4df99c9457ce4 | [
"Apache-2.0"
] | null | null | null | CollectionsTests/PriorityQueueTests.swift | massada/swift-collections | 7b0504fe9b19b4a59e2c98fb39a4df99c9457ce4 | [
"Apache-2.0"
] | null | null | null | //
// PriorityQueueTests.swift
// Collections
//
// Copyright (c) 2016 José Massada <jose.massada@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/li... | 25.438931 | 75 | 0.660765 |
4d82d042a27aeb5f5bfe4bc7b1d4e319eaf2f82f | 2,457 | cs | C# | StackingEntities.Model/Entities/EntityBase.cs | Sidneys1/MinecraftMultitool | 5687d7dd56d3b044fe1d208e9cab1a7d22e8deea | [
"MIT"
] | null | null | null | StackingEntities.Model/Entities/EntityBase.cs | Sidneys1/MinecraftMultitool | 5687d7dd56d3b044fe1d208e9cab1a7d22e8deea | [
"MIT"
] | null | null | null | StackingEntities.Model/Entities/EntityBase.cs | Sidneys1/MinecraftMultitool | 5687d7dd56d3b044fe1d208e9cab1a7d22e8deea | [
"MIT"
] | null | null | null | using System;
using System.Text;
using StackingEntities.Model.Enums;
using StackingEntities.Model.Helpers;
using StackingEntities.Model.Interface;
using StackingEntities.Model.Metadata;
using StackingEntities.Model.Objects.SimpleTypes;
using DoubleList = System.Collections.ObjectModel.ObservableCollection<StackingEnti... | 22.135135 | 184 | 0.662597 |
0a4370a1d3c183d6f8f6125ec785f6a17d28942d | 2,324 | cs | C# | T4-Template-POCO-Example/Export/T_WZList.cs | qq863391602/demo | c640967d9c9d69e85cfc887485de94ce45522e53 | [
"Apache-2.0"
] | null | null | null | T4-Template-POCO-Example/Export/T_WZList.cs | qq863391602/demo | c640967d9c9d69e85cfc887485de94ce45522e53 | [
"Apache-2.0"
] | null | null | null | T4-Template-POCO-Example/Export/T_WZList.cs | qq863391602/demo | c640967d9c9d69e85cfc887485de94ce45522e53 | [
"Apache-2.0"
] | 1 | 2020-06-28T04:11:48.000Z | 2020-06-28T04:11:48.000Z | using System;
using NPoco;
using System.ComponentModel.DataAnnotations;
namespace Electric.Domain.Entities
{
/// <summary>
/// Represents a T_WZList.
/// NOTE: 这个类是从T4模板生成的——你不应该手动修改它。
/// </summary>
[MetadataType(typeof(WZListMetadata))]
[PrimaryKey("CarNo")]
[TableName("[dbo].[T_WZList]")]
pu... | 27.341176 | 94 | 0.623924 |
389268921a5a1276b74f80dc359d69f7578fe21b | 2,101 | php | PHP | resources/views/admin/member_profile_attributes/states/edit.blade.php | fazlur10/mahar | 5004234394473043d22a78eee831d055f059be27 | [
"MIT"
] | null | null | null | resources/views/admin/member_profile_attributes/states/edit.blade.php | fazlur10/mahar | 5004234394473043d22a78eee831d055f059be27 | [
"MIT"
] | null | null | null | resources/views/admin/member_profile_attributes/states/edit.blade.php | fazlur10/mahar | 5004234394473043d22a78eee831d055f059be27 | [
"MIT"
] | null | null | null | @extends('admin.layouts.app')
@section('content')
<div class="row">
<div class="col-lg-6 mx-auto">
<div class="card">
<div class="card-header">
<h5 class="mb-0 h6">{{translate('Edit State Info')}}</h5>
</div>
<div class="card-b... | 47.75 | 154 | 0.39981 |
1abd556125d043fc2f9f315b56110a5e4b8976be | 2,565 | py | Python | webremote.py | GerhardBenkovsky/CharlieOSX | 6db9ba860f57256e1f4141a4538ae16f5db4d91f | [
"MIT"
] | null | null | null | webremote.py | GerhardBenkovsky/CharlieOSX | 6db9ba860f57256e1f4141a4538ae16f5db4d91f | [
"MIT"
] | null | null | null | webremote.py | GerhardBenkovsky/CharlieOSX | 6db9ba860f57256e1f4141a4538ae16f5db4d91f | [
"MIT"
] | null | null | null | import picoweb, _thread, time
class Webremote():
'''Main class for the Webremote'''
def __init__(self, config, robot, brick):
self.__config = config
self.robot = robot
self.brick = brick
self.app = picoweb.WebApp("app")
self.outDict = {'x': 0, 'y': 0, 'a1': 0, 'maxSpee... | 29.825581 | 85 | 0.516179 |
3facb5e2da280e2540cfaf47becc513b0ffa131b | 1,076 | kt | Kotlin | rainbow-cake-channels/src/main/java/co/zsmb/rainbowcake/channels/Produce.kt | marazmarci/rainbowcake | 3e559425e1e5d00ff2fc5aeaae1fb11396573f67 | [
"Apache-2.0"
] | null | null | null | rainbow-cake-channels/src/main/java/co/zsmb/rainbowcake/channels/Produce.kt | marazmarci/rainbowcake | 3e559425e1e5d00ff2fc5aeaae1fb11396573f67 | [
"Apache-2.0"
] | null | null | null | rainbow-cake-channels/src/main/java/co/zsmb/rainbowcake/channels/Produce.kt | marazmarci/rainbowcake | 3e559425e1e5d00ff2fc5aeaae1fb11396573f67 | [
"Apache-2.0"
] | null | null | null | package co.zsmb.rainbowcake.channels
import kotlinx.coroutines.CompletionHandler
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.InternalCoroutinesApi
import kotlinx.coroutines.channels.ProducerScope
import kotlinx.coroutines.channels.ReceiveChannel
import kotlinx.... | 34.709677 | 98 | 0.745353 |
0a267ee9e12a08461aa31dd72bf2ea8b00332e3e | 968 | rs | Rust | examples/idle_behavior.rs | aclysma/small-task | 3d3fdfbdfe9706b34c30da2fc45d870dcedb37c6 | [
"Apache-2.0",
"MIT"
] | 11 | 2020-08-23T19:11:49.000Z | 2021-03-24T11:16:05.000Z | examples/idle_behavior.rs | aclysma/small-task | 3d3fdfbdfe9706b34c30da2fc45d870dcedb37c6 | [
"Apache-2.0",
"MIT"
] | 3 | 2020-08-23T16:54:24.000Z | 2020-08-23T20:15:42.000Z | examples/idle_behavior.rs | aclysma/small-task | 3d3fdfbdfe9706b34c30da2fc45d870dcedb37c6 | [
"Apache-2.0",
"MIT"
] | 2 | 2020-08-24T01:02:22.000Z | 2021-03-24T11:16:06.000Z | use smalltask::TaskPool;
// This sample demonstrates a thread pool with one thread per logical core and only one task
// spinning. Other than the one thread, the system should remain idle, demonstrating good behavior
// for small workloads.
fn main() {
let pool = TaskPool::builder()
.thread_name("Idle Beh... | 30.25 | 98 | 0.515496 |
a00f10e6b775644218edcf214d158cabfdf3e2ee | 94,835 | ts | TypeScript | src/utils/icon.spec.ts | Sidoine/Ovale | dd4da104a8010836dbe2047a4178882ad2590bdd | [
"MIT"
] | 55 | 2016-08-01T00:04:46.000Z | 2021-01-07T07:39:55.000Z | src/utils/icon.spec.ts | Sidoine/Ovale | dd4da104a8010836dbe2047a4178882ad2590bdd | [
"MIT"
] | 791 | 2016-07-31T00:36:45.000Z | 2022-03-24T05:03:33.000Z | src/utils/icon.spec.ts | ultijlam/Ovale | 82bfcfe4f8b53c6a38ffcca10431efaea823ec8f | [
"MIT"
] | 93 | 2016-07-31T19:50:43.000Z | 2022-01-06T22:54:18.000Z | import { test, expect } from "@jest/globals";
import { assertDefined, assertIs } from "../tests/helpers";
import { executeDump } from "./icon";
const dump = `{ "atTime": 317520.842, "serial": 175, "index": 1, "script": "sc_t25_priest_shadow", "nodes": {
"291": {"result": {"type": "none","serial": 175,"timeSpan": [... | 78.44086 | 496 | 0.674519 |
a834307bc6242ba01bd50beee0409b3587681cfc | 1,490 | dart | Dart | lib/home/home_movie_cover_view.dart | apollohero/apollo-video-app | 11f1184b1f0d7c35039a0e72511cc711ffb83e5c | [
"MIT"
] | null | null | null | lib/home/home_movie_cover_view.dart | apollohero/apollo-video-app | 11f1184b1f0d7c35039a0e72511cc711ffb83e5c | [
"MIT"
] | null | null | null | lib/home/home_movie_cover_view.dart | apollohero/apollo-video-app | 11f1184b1f0d7c35039a0e72511cc711ffb83e5c | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:movie_recommend/public.dart';
import '../app/app_color.dart';
class HomeMovieCoverView extends StatelessWidget {
final MovieItem movie;
HomeMovieCoverView(this.movie);
@override
Widget build(BuildContext context) {
// 单个电影的宽度
// 一行放置 3 个 电影
... | 29.215686 | 110 | 0.569799 |
fd96ed25e5c2d9a812ca2a96727d8df322271199 | 2,225 | css | CSS | openbacteria/laboratory/static/laboratory/openbacteria/laboratory/static/laboratory/estilo_laboratorio.css | TheOpenBacteriaProject/webapp | e4ffa08868ef0c059346bc90f43c71b3cd446885 | [
"Apache-2.0"
] | 1 | 2018-06-12T18:00:40.000Z | 2018-06-12T18:00:40.000Z | openbacteria/laboratory/static/laboratory/openbacteria/laboratory/static/laboratory/estilo_laboratorio.css | TheOpenBacteriaProject/webapp | e4ffa08868ef0c059346bc90f43c71b3cd446885 | [
"Apache-2.0"
] | 11 | 2017-12-04T17:59:04.000Z | 2018-04-30T11:05:44.000Z | openbacteria/laboratory/static/laboratory/openbacteria/laboratory/static/laboratory/estilo_laboratorio.css | TheOpenBacteriaProject/webapp | e4ffa08868ef0c059346bc90f43c71b3cd446885 | [
"Apache-2.0"
] | null | null | null |
input[type=text] {padding:0; border:0 solid #ccc;
-webkit-border-radius: 5px;
border-radius: 5px;
}
input[type=text]:focus {border-color:#333; }
input[type=submit] {padding:0; background:#ccc; border:0 none;
cursor:pointer;
-webkit-border-radius: 5px;
border-radius: 5px; }
.parent {
position: relative;
... | 19.347826 | 75 | 0.562247 |
6621d1499ab80ddc6b2cb7b324668bc31890978b | 2,778 | py | Python | hydroDL/app/waterQuality/wqLoad.py | fkwai/geolearn | 30cb4353d22af5020a48100d07ab04f465a315b0 | [
"MIT"
] | null | null | null | hydroDL/app/waterQuality/wqLoad.py | fkwai/geolearn | 30cb4353d22af5020a48100d07ab04f465a315b0 | [
"MIT"
] | null | null | null | hydroDL/app/waterQuality/wqLoad.py | fkwai/geolearn | 30cb4353d22af5020a48100d07ab04f465a315b0 | [
"MIT"
] | 2 | 2021-04-04T02:45:59.000Z | 2022-03-19T09:41:39.000Z | import numpy as np
import os
import pandas as pd
import json
from hydroDL.master import basins
from hydroDL import kPath, utils
from hydroDL.app import waterQuality
# adhoc codes to simplify current scripts
def loadModel(siteNoLst, outNameLSTM, codeLst):
# load all sequence
# LSTM
dictLSTM = dict()
f... | 38.583333 | 72 | 0.584593 |
fa7abda8b5547f98731651bef417a02372a31638 | 17,166 | cpp | C++ | caff-parser/parser.cpp | gurubib/pangolin-webshop | 35e109b355c9824a203f10df1340ec0bec513c44 | [
"MIT"
] | null | null | null | caff-parser/parser.cpp | gurubib/pangolin-webshop | 35e109b355c9824a203f10df1340ec0bec513c44 | [
"MIT"
] | 6 | 2020-09-22T17:05:18.000Z | 2020-11-14T22:29:54.000Z | caff-parser/parser.cpp | gurubib/pangolin-webshop | 35e109b355c9824a203f10df1340ec0bec513c44 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <vector>
#include <regex>
#include <Magick++.h>
// Reasonable upper values
#define MAX_FILE_SIZE 1000000000 // 1 GB
#define MAX_CREATOR_LEN 10001 // 10000 Chars + '\0'
#define MAX_CAPTION_SIZE 10001 // 10000 Chars + '\0'
#define MAX_NUMER_OF_ANIMATIONS 1000000 // Reasona... | 30.382301 | 122 | 0.545322 |
d08eb1945ddc8d67756dd8b46458299a852be90b | 2,772 | sql | SQL | blog.sql | hupozhu/blog | df48757e858ebd5355d231e2ac61ab820ca90c22 | [
"Apache-2.0"
] | null | null | null | blog.sql | hupozhu/blog | df48757e858ebd5355d231e2ac61ab820ca90c22 | [
"Apache-2.0"
] | null | null | null | blog.sql | hupozhu/blog | df48757e858ebd5355d231e2ac61ab820ca90c22 | [
"Apache-2.0"
] | null | null | null | -- SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
-- SET time_zone = "+00:00";
--
-- CREATE TABLE `admin` (
-- `id` INT (10) unsigned NOT NULL COMMENT '用户ID' primary key auto_increment,
-- `group_id` INT (11) NOT NULL DEFAULT '1' COMMENT '用户组id',
-- `username` CHAR (16) NOT NULL COMMENT '用户名',
-- `password` CHAR (32) ... | 46.2 | 115 | 0.68254 |
0d502aabc25447d35ecbb640beaa3c4edba11c09 | 856 | h | C | UITableViewSwipeView.h | MStumpp/UITableViewSwipeView | d1c105b89f0fe9ce61f749c7d9f1db76d2a81f3f | [
"MIT"
] | 1 | 2015-11-20T02:40:02.000Z | 2015-11-20T02:40:02.000Z | UITableViewSwipeView.h | MStumpp/UITableViewSwipeView | d1c105b89f0fe9ce61f749c7d9f1db76d2a81f3f | [
"MIT"
] | null | null | null | UITableViewSwipeView.h | MStumpp/UITableViewSwipeView | d1c105b89f0fe9ce61f749c7d9f1db76d2a81f3f | [
"MIT"
] | null | null | null | //
// UITableViewSwipeView.h
// Ytubeapp
//
// Created by Matthias Stumpp on 31.12.12.
// Copyright (c) 2012 Matthias Stumpp. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol UITableViewSwipeViewDelegate;
@interface UITableViewSwipeView : NSObject
- (id)initWithTableView:(UITableView *)tableV... | 27.612903 | 101 | 0.796729 |
a35c74de6a66a4485839b8d1cd2250e3927e81e4 | 2,926 | h | C | imperative/src/include/megbrain/imperative/transformations/eval.h | bealwang/MegEngine | df4153dc718b4544e720c58e439a0623c018cee2 | [
"Apache-2.0"
] | null | null | null | imperative/src/include/megbrain/imperative/transformations/eval.h | bealwang/MegEngine | df4153dc718b4544e720c58e439a0623c018cee2 | [
"Apache-2.0"
] | null | null | null | imperative/src/include/megbrain/imperative/transformations/eval.h | bealwang/MegEngine | df4153dc718b4544e720c58e439a0623c018cee2 | [
"Apache-2.0"
] | null | null | null | /**
* \file imperative/src/include/megbrain/imperative/eval.h
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distr... | 30.479167 | 89 | 0.672591 |
439d99235bbf1bb61c09dfb93ac9a580f621dd6d | 10,343 | tsx | TypeScript | frontend/src/assets/Dashboard/TimeSeries.tsx | Tazer/signoz | d7fa503f049ecdafd3ff7ae6d16b2dc2d615df20 | [
"MIT"
] | 1 | 2022-02-28T06:41:49.000Z | 2022-02-28T06:41:49.000Z | frontend/src/assets/Dashboard/TimeSeries.tsx | Tazer/signoz | d7fa503f049ecdafd3ff7ae6d16b2dc2d615df20 | [
"MIT"
] | 7 | 2021-10-18T16:19:30.000Z | 2022-03-30T04:14:59.000Z | frontend/src/assets/Dashboard/TimeSeries.tsx | Tazer/signoz | d7fa503f049ecdafd3ff7ae6d16b2dc2d615df20 | [
"MIT"
] | 1 | 2022-03-21T19:47:46.000Z | 2022-03-21T19:47:46.000Z | import React from 'react';
const TimeSeries = (props: TimeSeriesProps): JSX.Element => (
<React.Fragment>
<svg
width="81"
height="46"
viewBox="0 0 81 46"
fill="none"
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
>
<rect width="81" height="46" fill="url(#pattern0... | 240.534884 | 9,547 | 0.941313 |
da4fda602efe31766ef38248b2147afecd9660f2 | 36,969 | php | PHP | resources/views/admin/qualificationsApps/edit.blade.php | reeddyy/sms | 162014d43da3012d41505a7701a67d778d2e3729 | [
"MIT"
] | null | null | null | resources/views/admin/qualificationsApps/edit.blade.php | reeddyy/sms | 162014d43da3012d41505a7701a67d778d2e3729 | [
"MIT"
] | 2 | 2021-11-23T06:45:31.000Z | 2021-12-02T08:12:11.000Z | resources/views/admin/qualificationsApps/edit.blade.php | reeddyy/sms | 162014d43da3012d41505a7701a67d778d2e3729 | [
"MIT"
] | null | null | null | @extends('layouts.admin')
@section('content')
<div class="card">
<div class="card-header">
{{ trans('global.edit') }} {{ trans('cruds.qualificationsApp.title_singular') }}
</div>
<div class="card-body">
<form method="POST" action="{{ route("admin.qualifications-apps.update", [$qualificatio... | 68.208487 | 263 | 0.527442 |
e84b5cc45439a8cae464485cffd5e7f64a6b2c7f | 3,395 | cs | C# | src/Stratis.Bitcoin.Features.SmartContracts.Tests/Lifecycle/SmartContractRestorerTests.cs | zeptin/StratisBitcoinFullNode | 63c52829a3bb6af174a433c6316389ac237c4750 | [
"MIT"
] | null | null | null | src/Stratis.Bitcoin.Features.SmartContracts.Tests/Lifecycle/SmartContractRestorerTests.cs | zeptin/StratisBitcoinFullNode | 63c52829a3bb6af174a433c6316389ac237c4750 | [
"MIT"
] | null | null | null | src/Stratis.Bitcoin.Features.SmartContracts.Tests/Lifecycle/SmartContractRestorerTests.cs | zeptin/StratisBitcoinFullNode | 63c52829a3bb6af174a433c6316389ac237c4750 | [
"MIT"
] | null | null | null | using System.Reflection;
using Microsoft.Extensions.Logging;
using Moq;
using Stratis.SmartContracts;
using Stratis.SmartContracts.Core;
using Stratis.SmartContracts.Executor.Reflection;
using Stratis.SmartContracts.Executor.Reflection.Lifecycle;
using Xunit;
using InternalHashHelper = Stratis.SmartContracts.Core.Hash... | 37.307692 | 123 | 0.559352 |
0a97ed2f802baa77a98eb875821c931461f220cb | 2,064 | kt | Kotlin | auth-service/src/test/kotlin/RevokeRoleTest.kt | icerockdev/auth-service | 24e28f9412677cabe13d5e927574e2f32a524e5c | [
"Apache-2.0"
] | 3 | 2020-02-11T04:55:32.000Z | 2020-04-28T03:03:40.000Z | auth-service/src/test/kotlin/RevokeRoleTest.kt | icerockdev/auth-service | 24e28f9412677cabe13d5e927574e2f32a524e5c | [
"Apache-2.0"
] | 1 | 2022-03-22T04:24:58.000Z | 2022-03-22T04:24:58.000Z | auth-service/src/test/kotlin/RevokeRoleTest.kt | icerockdev/auth-service | 24e28f9412677cabe13d5e927574e2f32a524e5c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
import com.icerockdev.service.auth.revoke.IRevokeTokenService
import com.icerockdev.service.auth.revoke.ITokenDataRepository
import com.icerockdev.service.auth.revoke.RevokeTokenService
import com.icerockdev.service... | 31.272727 | 97 | 0.645349 |
14ed1180045913c79a93430f0ba238ae9afabe3b | 1,427 | hpp | C++ | core/interface/i_math_transform.hpp | auyunli/enhance | ca99530c80b42842e713ed4b62e40d12e56ee24a | [
"BSD-2-Clause"
] | null | null | null | core/interface/i_math_transform.hpp | auyunli/enhance | ca99530c80b42842e713ed4b62e40d12e56ee24a | [
"BSD-2-Clause"
] | null | null | null | core/interface/i_math_transform.hpp | auyunli/enhance | ca99530c80b42842e713ed4b62e40d12e56ee24a | [
"BSD-2-Clause"
] | null | null | null | #ifndef E2_I_MATH_TRANSFORM_HPP
#define E2_I_MATH_TRANSFORM_HPP
#include <cstring>
namespace e2 { namespace interface {
template< class T >
class i_math_transform {
public:
static bool dim( int * d, T * ){ return false; }
static bool magnitude( double * m, T * ){ return false; }
static bool normalize( T ... | 37.552632 | 76 | 0.598458 |
9eaacde8dc047b0aab82b646ce4a101b917d6aa0 | 3,816 | sql | SQL | blog.sql | haryoid/blog | 499867aa437f350ad84f6c5a91214bfebe2ce0be | [
"MIT"
] | null | null | null | blog.sql | haryoid/blog | 499867aa437f350ad84f6c5a91214bfebe2ce0be | [
"MIT"
] | null | null | null | blog.sql | haryoid/blog | 499867aa437f350ad84f6c5a91214bfebe2ce0be | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.6.6deb5
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Dec 31, 2019 at 10:28 AM
-- Server version: 10.1.43-MariaDB-0ubuntu0.18.04.1
-- PHP Version: 7.2.24-0ubuntu0.18.04.1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET... | 26.873239 | 137 | 0.674528 |
a41058417b4cd10f27f9f98aa171318c36895f75 | 1,659 | bash | Shell | e2e/teardown.bash | easyenglishcoding/gitkube | 111107aa7041d6c7ac026a57609c6bb0e2893ddc | [
"Apache-2.0"
] | 3,723 | 2018-03-12T15:19:44.000Z | 2022-03-30T01:33:38.000Z | e2e/teardown.bash | easyenglishcoding/gitkube | 111107aa7041d6c7ac026a57609c6bb0e2893ddc | [
"Apache-2.0"
] | 82 | 2018-03-13T03:36:34.000Z | 2021-10-05T11:51:19.000Z | e2e/teardown.bash | easyenglishcoding/gitkube | 111107aa7041d6c7ac026a57609c6bb0e2893ddc | [
"Apache-2.0"
] | 229 | 2018-03-13T13:54:35.000Z | 2022-03-01T07:45:35.000Z | #!/usr/bin/env bash
# Teardown resources created by test.bash
USAGE="./$(basename "$0") [optional-directory]"
# Some helpful functions
yell() { echo "FAILED> $*" >&2; }
die() { yell "$*"; exit 1; }
try() { "$@" || die "failed executing: $*"; }
log() { echo "--> $*"; }
# set WORDKDIR
# run from project root
WORKDIR... | 26.758065 | 136 | 0.693791 |
467fbbebc7acd5aea86ca53ca61173ed4e7b0d94 | 6,475 | swift | Swift | 20_Basic-App/MatchGame/MatchGame/Controller/MainViewController.swift | nua-schroers/mvvm-frp | 093d9fb128da2cd46b8a2606e21c21580bbc8dc1 | [
"MIT"
] | null | null | null | 20_Basic-App/MatchGame/MatchGame/Controller/MainViewController.swift | nua-schroers/mvvm-frp | 093d9fb128da2cd46b8a2606e21c21580bbc8dc1 | [
"MIT"
] | null | null | null | 20_Basic-App/MatchGame/MatchGame/Controller/MainViewController.swift | nua-schroers/mvvm-frp | 093d9fb128da2cd46b8a2606e21c21580bbc8dc1 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// MatchGame
//
// Created by Dr. Wolfram Schroers on 5/26/16.
// Copyright © 2016 Wolfram Schroers. All rights reserved.
//
import UIKit
/// Accept changes to the data model settings.
protocol CanAcceptSettings: class {
/// Accept the current settings.
func settingsChanged(_ s... | 32.054455 | 108 | 0.583938 |
7964074608ed69bbec819c4a745171351f58673d | 1,210 | php | PHP | libraries/joomla/crypt/cipher.php | zikfrid/lvivbud.dev | 58686f5a0126d6e672363abd81fdba4f60899f33 | [
"PostgreSQL"
] | 1 | 2018-12-26T08:20:06.000Z | 2018-12-26T08:20:06.000Z | libraries/joomla/crypt/cipher.php | zikfrid/lvivbud.dev | 58686f5a0126d6e672363abd81fdba4f60899f33 | [
"PostgreSQL"
] | null | null | null | libraries/joomla/crypt/cipher.php | zikfrid/lvivbud.dev | 58686f5a0126d6e672363abd81fdba4f60899f33 | [
"PostgreSQL"
] | 1 | 2021-08-29T13:17:52.000Z | 2021-08-29T13:17:52.000Z | <?php
/**
* @package Joomla.Platform
* @subpackage Crypt
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* JCrypt cipher interface.
*
* @since 12.... | 22.407407 | 88 | 0.636364 |
23e572ef9d2286ce73d16fee3b01a1170956b3f0 | 256 | js | JavaScript | app/vuex/modules/counter.js | vianvio/babyMoveCounter | b6f52ce42b9abbf352d324ff30c58d4ce98c032b | [
"MIT"
] | 6 | 2016-07-04T08:49:33.000Z | 2020-02-14T07:49:25.000Z | app/vuex/modules/counter.js | vianvio/babyMoveCounter | b6f52ce42b9abbf352d324ff30c58d4ce98c032b | [
"MIT"
] | 1 | 2022-03-07T07:35:26.000Z | 2022-03-07T07:35:26.000Z | app/vuex/modules/counter.js | vianvio/babyMoveCounter | b6f52ce42b9abbf352d324ff30c58d4ce98c032b | [
"MIT"
] | null | null | null | import {
INCREMENT_TOTAL_COUNT
} from '../mutation-types'
// initial state
const state = {
totalMoveCount: 0
}
// mutations
const mutations = {
[INCREMENT_TOTAL_COUNT](state) { state.totalMoveCount += 1 }
}
export default {
state,
mutations
}
| 13.473684 | 62 | 0.691406 |
8e5665af7a53bcabebb35394213d0fb0eb1848aa | 1,017 | js | JavaScript | action.getEnergy.js | colieham76/fantastic-trains-master2 | 9f9eac1de274774d67953fb68ae60b857096fa08 | [
"MIT"
] | null | null | null | action.getEnergy.js | colieham76/fantastic-trains-master2 | 9f9eac1de274774d67953fb68ae60b857096fa08 | [
"MIT"
] | null | null | null | action.getEnergy.js | colieham76/fantastic-trains-master2 | 9f9eac1de274774d67953fb68ae60b857096fa08 | [
"MIT"
] | null | null | null | module.exports = {
run: function(creep) {
var [resourceID, ifDropped] = evaluateEnergyResources(creep, true, true,
true, false); // find energy function in myFunctions
if (resourceID !== undefined) {
energy = Game.getObjectById(resourceID);
if (ifDropped) { // if ... | 29.057143 | 82 | 0.491642 |
3efec316c301cede294498929813b1db3a14b7d0 | 1,494 | js | JavaScript | environment-configs/database.js | punitrathore/live-coding-repos | d2457ba974b7ea731cf61bae68b019aec64f4490 | [
"MIT"
] | null | null | null | environment-configs/database.js | punitrathore/live-coding-repos | d2457ba974b7ea731cf61bae68b019aec64f4490 | [
"MIT"
] | null | null | null | environment-configs/database.js | punitrathore/live-coding-repos | d2457ba974b7ea731cf61bae68b019aec64f4490 | [
"MIT"
] | null | null | null | const pgp = require('pg-promise')()
const {getConfig, getEnv} = require('./config/config');
const config = getConfig(getEnv())
const connectionString = process.env.DATABASE_URL || config.dbUrl
const db = pgp(connectionString)
const createContact = function(contact, callback){
return db.query(`
INSERT INTO
... | 19.153846 | 65 | 0.599732 |
2c83d6c6d98de50292a039b0f0d8c42a9f4bd009 | 1,022 | py | Python | setup.py | giantas/configreader | 9d35b4fc13bb20343d52eeeb1154ac464627d164 | [
"MIT"
] | null | null | null | setup.py | giantas/configreader | 9d35b4fc13bb20343d52eeeb1154ac464627d164 | [
"MIT"
] | null | null | null | setup.py | giantas/configreader | 9d35b4fc13bb20343d52eeeb1154ac464627d164 | [
"MIT"
] | null | null | null | from setuptools import setup
try:
import pypandoc
long_description = pypandoc.convert_file('README.md', 'rst')
except (ImportError, OSError, RuntimeError):
long_description = 'Usage available at http://github.com/giantas/pyconfigreader'
setup(name='pyconfigreader',
version='0.10.0',
descriptio... | 34.066667 | 84 | 0.632094 |
18489c312149ee70d7cf128a71238dca8fd17967 | 3,906 | swift | Swift | navigatAR/navigatAR/Location.swift | samsgates/navigatAR | aebfc30edfd0730c1c173c04af4d561a0b0c1323 | [
"MIT"
] | null | null | null | navigatAR/navigatAR/Location.swift | samsgates/navigatAR | aebfc30edfd0730c1c173c04af4d561a0b0c1323 | [
"MIT"
] | null | null | null | navigatAR/navigatAR/Location.swift | samsgates/navigatAR | aebfc30edfd0730c1c173c04af4d561a0b0c1323 | [
"MIT"
] | 2 | 2019-04-30T13:17:28.000Z | 2020-08-13T06:20:17.000Z | //
// Location.swift
// navigatAR
//
// Created by Nick Clifford on 2/3/18.
// Copyright © 2018 MICDS Programming. All rights reserved.
//
import CoreLocation
import IndoorAtlas
// NOTE: This is used instead of just IALocation because of Codable conformance.
struct Location: Codable {
let latitude: CLLocationDeg... | 39.857143 | 172 | 0.736559 |
2cd1ac3fb25fb98b56eaa28c3651066337683585 | 5,618 | cpp | C++ | Engine/Source/Runtime/Projects/Private/PluginReferenceDescriptor.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Runtime/Projects/Private/PluginReferenceDescriptor.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Runtime/Projects/Private/PluginReferenceDescriptor.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "PluginReferenceDescriptor.h"
#include "Misc/FileHelper.h"
#include "Serialization/JsonReader.h"
#include "Serialization/JsonSerializer.h"
#include "ProjectDescriptor.h"
#define LOCTEXT_NAMESPACE "PluginDescriptor"
FPluginReferenceDescriptor::FPlu... | 23.805085 | 160 | 0.719829 |
ddcee47745756e805909101828d574844ab37c08 | 2,719 | java | Java | mavenbook-coding-parent/test-rocketmq-client/src/main/java/org/jobshen/producers/demo/MutliProducerTest.java | kitdine/some_research | cf0a2969804bdfb588f0ade8284e7eb14ed1df10 | [
"Apache-2.0"
] | null | null | null | mavenbook-coding-parent/test-rocketmq-client/src/main/java/org/jobshen/producers/demo/MutliProducerTest.java | kitdine/some_research | cf0a2969804bdfb588f0ade8284e7eb14ed1df10 | [
"Apache-2.0"
] | null | null | null | mavenbook-coding-parent/test-rocketmq-client/src/main/java/org/jobshen/producers/demo/MutliProducerTest.java | kitdine/some_research | cf0a2969804bdfb588f0ade8284e7eb14ed1df10 | [
"Apache-2.0"
] | null | null | null | /**
* Filename MutliProducerTest.java Create on 2015年6月25日 Copyright 2015 ddsoucai All Rights Reserved.
*/
package org.jobshen.producers.demo;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import com.alibaba.rocketmq.client.producer.DefaultMQProducer;
import com.alibaba.rocketmq.client.producer.Sen... | 36.253333 | 100 | 0.558293 |
5807acc4bcf6f1f7a6caf181540182bd704ce4c9 | 113 | css | CSS | test/fixtures/baz.css | Joris-van-der-Wel/node-module-references | bd900cea921add4230e17847b94d03b1bc970d39 | [
"MIT"
] | null | null | null | test/fixtures/baz.css | Joris-van-der-Wel/node-module-references | bd900cea921add4230e17847b94d03b1bc970d39 | [
"MIT"
] | 1 | 2015-05-26T10:37:22.000Z | 2015-05-26T10:37:22.000Z | test/fixtures/baz.css | Joris-van-der-Wel/node-module-references | bd900cea921add4230e17847b94d03b1bc970d39 | [
"MIT"
] | null | null | null | /* baz.css */
/* This will cause a syntax error if it is included as a node module */
p {
opacity: 0.8;
} | 22.6 | 71 | 0.60177 |
bb575ba0a690a965f09b7e679210545978c65f6c | 590 | cs | C# | MvvmCross/ViewModels/IMvxChildViewModelCache.cs | sm-g/MvvmCross | 1fb5ad71c6b72533c92364ec405936bda8aa8873 | [
"MS-PL"
] | 3 | 2017-08-17T08:31:44.000Z | 2019-09-02T12:58:48.000Z | MvvmCross/ViewModels/IMvxChildViewModelCache.cs | sm-g/MvvmCross | 1fb5ad71c6b72533c92364ec405936bda8aa8873 | [
"MS-PL"
] | 3 | 2020-02-26T00:10:38.000Z | 2021-09-27T22:25:58.000Z | MvvmCross/ViewModels/IMvxChildViewModelCache.cs | sm-g/MvvmCross | 1fb5ad71c6b72533c92364ec405936bda8aa8873 | [
"MS-PL"
] | 5 | 2019-04-29T23:17:25.000Z | 2020-01-16T07:22:10.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MS-PL license.
// See the LICENSE file in the project root for more information.
using System;
using MvvmCross.ViewModels;
namespace MvvmCross.ViewModels
{
public interface IMvxChildViewMod... | 23.6 | 73 | 0.70678 |
a69cfbed8eb4a84c050466cc10e5c8137172682d | 343 | dart | Dart | lib/screen/Home/models/repository.dart | nnecec/fluhub | af29fbb74c6767d37506a0d22a71ad129a71abad | [
"MIT"
] | null | null | null | lib/screen/Home/models/repository.dart | nnecec/fluhub | af29fbb74c6767d37506a0d22a71ad129a71abad | [
"MIT"
] | null | null | null | lib/screen/Home/models/repository.dart | nnecec/fluhub | af29fbb74c6767d37506a0d22a71ad129a71abad | [
"MIT"
] | null | null | null | final String repositoryDocument = '''
query ReadRepositories(\$owner: String!, \$name: String!){
repository(owner: \$owner, name: \$name) {
owner{
login
}
name
primaryLanguage{
color
name
}
description
stargazers{
totalCount
}
u... | 18.052632 | 60 | 0.516035 |
e2a7cccb11aa1d6ab91152275fb7347ced998c4e | 19,207 | sql | SQL | DB/proyecto.sql | codigosanha/proyecto | c3eb990ac18a301b6a68396a2a20b55ef8c73531 | [
"MIT"
] | null | null | null | DB/proyecto.sql | codigosanha/proyecto | c3eb990ac18a301b6a68396a2a20b55ef8c73531 | [
"MIT"
] | null | null | null | DB/proyecto.sql | codigosanha/proyecto | c3eb990ac18a301b6a68396a2a20b55ef8c73531 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 20-07-2019 a las 22:15:02
-- Versión del servidor: 10.1.38-MariaDB
-- Versión de PHP: 7.3.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
... | 26.167575 | 151 | 0.660384 |
79a984e5f456e9d6cbc41cdb5ad3fc4e98c7e884 | 4,708 | php | PHP | resources/views/my_modal_krok_2.blade.php | migdalius/blog | c11183eba35547bd8f4dcd78394641b13458c223 | [
"MIT"
] | null | null | null | resources/views/my_modal_krok_2.blade.php | migdalius/blog | c11183eba35547bd8f4dcd78394641b13458c223 | [
"MIT"
] | null | null | null | resources/views/my_modal_krok_2.blade.php | migdalius/blog | c11183eba35547bd8f4dcd78394641b13458c223 | [
"MIT"
] | null | null | null | <div id="myModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title"></h4>
<button type="button" class="close" data-dismiss="modal">×</button>
... | 40.93913 | 88 | 0.453271 |
3f53c227b7aa7a85a9e0a63479e37809ea6f51a1 | 531 | rb | Ruby | projects/fourier/lib/fourier/services/lint/cocoapods_interactor.rb | erkekin/tuist | 8ee2dd87a6953b4172e766154bc01090c10e3327 | [
"MIT"
] | 2,550 | 2018-07-23T12:22:36.000Z | 2022-03-31T22:30:00.000Z | projects/fourier/lib/fourier/services/lint/cocoapods_interactor.rb | erkekin/tuist | 8ee2dd87a6953b4172e766154bc01090c10e3327 | [
"MIT"
] | 2,445 | 2018-07-24T18:18:02.000Z | 2022-03-31T18:16:47.000Z | projects/fourier/lib/fourier/services/lint/cocoapods_interactor.rb | erkekin/tuist | 8ee2dd87a6953b4172e766154bc01090c10e3327 | [
"MIT"
] | 277 | 2018-07-25T18:25:06.000Z | 2022-03-31T08:33:57.000Z | # frozen_string_literal: true
module Fourier
module Services
module Lint
class CocoapodsInteractor < Base
attr_reader :fix
def initialize(fix:)
@fix = fix
end
def call
directories = [
Constants::COCOAPODS_INTERACTOR_DIRECTORY,
]
... | 19.666667 | 60 | 0.561205 |
b7fcd2f4e2ecfb6f1d5e23e919b6846c8ca73b77 | 424 | cs | C# | CSharp/Syntax/10951/Program.cs | VontineDev/repos | 0e98250a00d3deb0da4907898c3972222f14a5c8 | [
"MIT"
] | null | null | null | CSharp/Syntax/10951/Program.cs | VontineDev/repos | 0e98250a00d3deb0da4907898c3972222f14a5c8 | [
"MIT"
] | null | null | null | CSharp/Syntax/10951/Program.cs | VontineDev/repos | 0e98250a00d3deb0da4907898c3972222f14a5c8 | [
"MIT"
] | null | null | null | using System;
namespace _10952
{
class Program
{
static void Main(string[] args)
{
string str;
while ((str = Console.ReadLine()) != null)
{
string[] arr = str.Split(' ');
int a = int.Parse(arr[0]);
in... | 23.555556 | 54 | 0.389151 |
01918cf877777417e2e2ac4c749cbc75c21c0866 | 1,633 | sql | SQL | database/calendar.sql | medyalivacom/codeigniter-fullcalendar | 4652ebe7195b34290d4380a0f4a6b7ee39aaae25 | [
"MIT"
] | 11 | 2017-01-17T14:31:03.000Z | 2021-11-17T10:59:46.000Z | database/calendar.sql | medyalivacom/codeigniter-fullcalendar | 4652ebe7195b34290d4380a0f4a6b7ee39aaae25 | [
"MIT"
] | 2 | 2018-10-13T22:13:36.000Z | 2019-02-28T14:17:47.000Z | database/calendar.sql | medyalivacom/codeigniter-fullcalendar | 4652ebe7195b34290d4380a0f4a6b7ee39aaae25 | [
"MIT"
] | 10 | 2018-10-06T21:47:52.000Z | 2021-12-07T07:42:07.000Z | /*
Navicat MySQL Data Transfer
Source Server : LOCAL
Source Server Version : 50505
Source Host : localhost:3306
Source Database : maid-chan
Target Server Type : MYSQL
Target Server Version : 50505
File Encoding : 65001
Date: 2017-01-16 23:20:37
*/
SET FOREIGN_KEY_CHECKS=0;
-- ---... | 37.976744 | 181 | 0.620943 |
854356bd45052797b379fc7d094815baa6ae0cde | 396 | cs | C# | WebBlocks/WebBlocks.Interfaces/IBlockViewModel.cs | davidmason100/Web-Blocks | 06ddc1e94ddedbcf4566c429d39ced62974af9ae | [
"MIT"
] | null | null | null | WebBlocks/WebBlocks.Interfaces/IBlockViewModel.cs | davidmason100/Web-Blocks | 06ddc1e94ddedbcf4566c429d39ced62974af9ae | [
"MIT"
] | 8 | 2018-06-02T01:17:00.000Z | 2018-06-22T05:18:23.000Z | WebBlocks/WebBlocks.Interfaces/IBlockViewModel.cs | davidmason100/Web-Blocks | 06ddc1e94ddedbcf4566c429d39ced62974af9ae | [
"MIT"
] | 2 | 2020-02-06T13:45:55.000Z | 2020-07-08T16:02:17.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WebBlocks.Interfaces
{
public interface IBlockViewModel
{
string Tag { get; set; }
string Classes { get; set; }
string Html { get; set; }
bool ShouldRerender { get; set; ... | 23.294118 | 62 | 0.616162 |
a36b1bcdf1339b27e6842c2ff3c21019cb5218b8 | 1,463 | java | Java | src/main/java/edu/kit/ksri/paperfinder/util/FileUtils.java | scheja/paperfinder | 6eebd41bb9df8b261d22a6ba992c3e7d40523a86 | [
"MIT"
] | 1 | 2016-01-22T11:36:10.000Z | 2016-01-22T11:36:10.000Z | src/main/java/edu/kit/ksri/paperfinder/util/FileUtils.java | scheja/paperfinder | 6eebd41bb9df8b261d22a6ba992c3e7d40523a86 | [
"MIT"
] | null | null | null | src/main/java/edu/kit/ksri/paperfinder/util/FileUtils.java | scheja/paperfinder | 6eebd41bb9df8b261d22a6ba992c3e7d40523a86 | [
"MIT"
] | null | null | null | package edu.kit.ksri.paperfinder.util;
/**
* Created by janscheurenbrand on 10.08.14.
*/
import java.io.*;
public class FileUtils {
public static String readFile(String path) {
File myFile = new File(path);
FileInputStream fIn;
try {
if (!myFile.exists()) {
... | 28.686275 | 85 | 0.522898 |
ef84dc00f59ac15f9f70a50b0a708d10fe2f0e2c | 515 | h | C | HWCoreFramework/Utils/Foundation/NSArray+HWAdd.h | parallelWorld/HWCoreFramework | e8a4996d0413eece0186f0ecd52b03dd9ac14d83 | [
"MIT"
] | 1 | 2016-08-23T21:48:19.000Z | 2016-08-23T21:48:19.000Z | HWCoreFramework/Utils/Foundation/NSArray+HWAdd.h | parallelWorld/HWCoreFramework | e8a4996d0413eece0186f0ecd52b03dd9ac14d83 | [
"MIT"
] | null | null | null | HWCoreFramework/Utils/Foundation/NSArray+HWAdd.h | parallelWorld/HWCoreFramework | e8a4996d0413eece0186f0ecd52b03dd9ac14d83 | [
"MIT"
] | null | null | null |
#import <Foundation/Foundation.h>
@interface NSArray (HWAdd)
- (id)hw_objectOrNilAtIndex:(NSUInteger)index;
@end
@interface NSMutableArray (HWAdd)
- (void)hw_insertObject:(id)anObject atIndex:(NSUInteger)index;
- (void)hw_insertObjects:(NSArray *)objects atIndex:(NSUInteger)index;
- (void)hw_reverse;
#pragma m... | 17.758621 | 71 | 0.745631 |
27d212e49b8cd57aace13bd5c6042b827573aabb | 737 | html | HTML | _posts/2009-04-02-twitter.html | tommy-carlier/www.tcx.be | e20889d32158e0a57396136b781a5f6abc5fa958 | [
"MIT"
] | null | null | null | _posts/2009-04-02-twitter.html | tommy-carlier/www.tcx.be | e20889d32158e0a57396136b781a5f6abc5fa958 | [
"MIT"
] | null | null | null | _posts/2009-04-02-twitter.html | tommy-carlier/www.tcx.be | e20889d32158e0a57396136b781a5f6abc5fa958 | [
"MIT"
] | null | null | null | ---
layout: post
title: "Twitter"
---
<p>I’ve been trying out <a href="https://twitter.com/">Twitter</a> for about a week now. I’m still a bit skeptical about it, but I can see at least 1 advantage: there’s a very close contact between followers and followees. It’s a lot easier to write a quick tweet to someone than i... | 92.125 | 601 | 0.744912 |
902d59f4e8be81022c47fb067274ba5c4dae94d5 | 813 | go | Go | app/job/main/activity/dao/bnj/dao.go | 78182648/blibli-go | 7c717cc07073ff3397397fd3c01aa93234b142e3 | [
"MIT"
] | 22 | 2019-04-27T06:44:41.000Z | 2022-02-04T16:54:14.000Z | app/job/main/activity/dao/bnj/dao.go | YouthAge/blibli-go | 7c717cc07073ff3397397fd3c01aa93234b142e3 | [
"MIT"
] | null | null | null | app/job/main/activity/dao/bnj/dao.go | YouthAge/blibli-go | 7c717cc07073ff3397397fd3c01aa93234b142e3 | [
"MIT"
] | 34 | 2019-05-07T08:22:27.000Z | 2022-03-25T08:14:56.000Z | package bnj
import (
"time"
"go-common/app/job/main/activity/conf"
"go-common/library/cache/memcache"
"go-common/library/net/http/blademaster"
)
// Dao .
type Dao struct {
c *conf.Config
client *blademaster.Client
mc *memcache.Pool
broadcastURL string
messageURL ... | 23.228571 | 85 | 0.680197 |
3e890cc8dc9810d17013921e754ae98ac36d305f | 808 | sql | SQL | million-red-roses/src/test/resources/data.sql | pashkazp/red-roses | 6536b7be2b3bdc3d06d2632c78171a25f54eceeb | [
"MIT"
] | null | null | null | million-red-roses/src/test/resources/data.sql | pashkazp/red-roses | 6536b7be2b3bdc3d06d2632c78171a25f54eceeb | [
"MIT"
] | null | null | null | million-red-roses/src/test/resources/data.sql | pashkazp/red-roses | 6536b7be2b3bdc3d06d2632c78171a25f54eceeb | [
"MIT"
] | null | null | null | INSERT INTO contacts (id,name) VALUES (1,'auctor non, feugiat nec,');
INSERT INTO contacts (id,name) VALUES (2,'mi fringilla mi lacinia mattis. Integer');
INSERT INTO contacts (id,name) VALUES (3,'arcu eu odio tristique');
INSERT INTO contacts (id,name) VALUES (4,'eros turpis non enim. Mauris quis turpis vitae purus gr... | 67.333333 | 105 | 0.737624 |
1aae66f1385b85c749d1a8e7e3b4123259c5c707 | 12,216 | py | Python | annotation-cli.py | uclnlp/torch-imle | f595cd8d527466f6b5db79276f6ceee01d100a1c | [
"MIT"
] | 205 | 2021-11-01T11:03:38.000Z | 2022-02-17T07:47:28.000Z | annotation-cli.py | uclnlp/torch-imle | f595cd8d527466f6b5db79276f6ceee01d100a1c | [
"MIT"
] | 1 | 2021-11-28T18:46:04.000Z | 2021-11-28T18:46:04.000Z | annotation-cli.py | uclnlp/torch-imle | f595cd8d527466f6b5db79276f6ceee01d100a1c | [
"MIT"
] | 7 | 2021-11-01T11:58:14.000Z | 2022-02-17T11:19:28.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sys
import numpy as np
import torch
from torch import nn, Tensor
from imle.wrapper import imle
from imle.target import TargetDistribution
from imle.noise import SumOfGammaNoiseDistribution
from solvers.dijkstra import get_solver
import multiprocessing
import r... | 38.536278 | 135 | 0.612066 |
2c36bba0e4d2b7932d1156c8b338dc2c00fc5d4b | 1,575 | py | Python | simulator/parsers/DtnLookupRouterParser.py | seakers/dtnsim | 9ea1da84e0565d97b3ea184facb597302bf4d99e | [
"Apache-2.0"
] | 4 | 2020-03-06T19:39:08.000Z | 2022-02-22T13:12:36.000Z | simulator/parsers/DtnLookupRouterParser.py | seakers/dtnsim | 9ea1da84e0565d97b3ea184facb597302bf4d99e | [
"Apache-2.0"
] | null | null | null | simulator/parsers/DtnLookupRouterParser.py | seakers/dtnsim | 9ea1da84e0565d97b3ea184facb597302bf4d99e | [
"Apache-2.0"
] | 2 | 2021-07-30T14:09:20.000Z | 2022-02-27T10:28:58.000Z | from .DtnAbstractParser import DtnAbstractParser
from enum import Enum
from pydantic import PositiveInt, PositiveFloat
import sys
from typing import List, Optional, Set, Union
class RouterMode(str, Enum):
FAST = 'fast'
SLOW = 'slow'
class RouterAlgorithm(str, Enum):
CGR = 'cgr'
BFS = 'bfs'
class DtnL... | 28.125 | 71 | 0.693968 |
442bacb79b01df544306890f19f6c0819c5a5929 | 1,467 | py | Python | content/migrations/0011_auto_20200224_1318.py | Revibe-Music/core-services | 6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2 | [
"MIT"
] | 2 | 2022-01-24T23:30:18.000Z | 2022-01-26T00:21:22.000Z | content/migrations/0011_auto_20200224_1318.py | Revibe-Music/core-services | 6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2 | [
"MIT"
] | null | null | null | content/migrations/0011_auto_20200224_1318.py | Revibe-Music/core-services | 6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2 | [
"MIT"
] | null | null | null | # Generated by Django 3.0 on 2020-02-24 19:18
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('content', '0010_auto_20200218_1124'),
]
operations = [
migrations.AddField(
model_name='song',
name='streams_last_mont... | 43.147059 | 207 | 0.660532 |
d313cdf9e2239829a4d92416845c26ab54f2ead4 | 1,679 | cs | C# | Hazel.UnitTests/UdpReliabilityTests.cs | Elsensee/Hazel-Networking | 574dee5c11cb1b54936065cbb002a6584411bb61 | [
"MIT"
] | 1 | 2020-12-27T22:11:26.000Z | 2020-12-27T22:11:26.000Z | Hazel.UnitTests/UdpReliabilityTests.cs | Elsensee/Hazel-Networking | 574dee5c11cb1b54936065cbb002a6584411bb61 | [
"MIT"
] | 1 | 2020-11-01T02:34:34.000Z | 2020-11-01T02:34:34.000Z | Hazel.UnitTests/UdpReliabilityTests.cs | Elsensee/Hazel-Networking | 574dee5c11cb1b54936065cbb002a6584411bb61 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using Hazel.Udp;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Hazel.UnitTests
{
[TestClass]
public class UdpReliabilityTests
{
[TestMethod]
public void TestThatAllMessagesAreReceived()
{
List<MessageReader... | 29.45614 | 77 | 0.520548 |
3a88cd3e94d4ab85a58ce416af34be664f421682 | 65 | sql | SQL | packages/server/accounts/prisma/migrations/20210906210506_alter_table_establishments_make_restaurateur_id_as_not_unique/migration.sql | gbartoczevicz/moosic | 003ff5cff628505093cc08ad0fbd273272172a51 | [
"MIT"
] | 3 | 2021-09-30T00:41:31.000Z | 2022-03-15T00:14:23.000Z | packages/server/accounts/prisma/migrations/20210906210506_alter_table_establishments_make_restaurateur_id_as_not_unique/migration.sql | gbartoczevicz/moosic | 003ff5cff628505093cc08ad0fbd273272172a51 | [
"MIT"
] | 13 | 2021-09-20T22:29:52.000Z | 2021-12-05T01:59:34.000Z | packages/server/accounts/prisma/migrations/20210906210506_alter_table_establishments_make_restaurateur_id_as_not_unique/migration.sql | gabrielbartoczevicz/moosic | 003ff5cff628505093cc08ad0fbd273272172a51 | [
"MIT"
] | 1 | 2021-11-10T22:11:55.000Z | 2021-11-10T22:11:55.000Z | -- DropIndex
DROP INDEX "establishments.restaurateur_id_unique";
| 21.666667 | 51 | 0.830769 |
2161bad2d439da2f77d3cdd3f86db2399bb77860 | 11,273 | js | JavaScript | src/bootstrap-periods.js | rinold/bootstrap-periodsChooser | 9eb768a33f726449a4801e0b6f5ad7435518bbbc | [
"MIT"
] | null | null | null | src/bootstrap-periods.js | rinold/bootstrap-periodsChooser | 9eb768a33f726449a4801e0b6f5ad7435518bbbc | [
"MIT"
] | null | null | null | src/bootstrap-periods.js | rinold/bootstrap-periodsChooser | 9eb768a33f726449a4801e0b6f5ad7435518bbbc | [
"MIT"
] | null | null | null | (function ( $ ) {
$.fn.periodsChooser = function (options) {
$container = $(this);
var triggerUpdateEvent = false;
if (!$container.data('periods-opts')) {
var opts = $.extend(true, {}, $.fn.periodsChooser.defaults, options);
$container.attr('data-periods-opts', '');... | 34.160606 | 108 | 0.429167 |
72bfeec458b9af7825d5cfeaf40038659712fa34 | 357 | cs | C# | Basics/HelloWorld/Program.cs | giawa/gameduino4netduino | 37825882037167659ef3e88886bd743e7f690b29 | [
"BSD-3-Clause"
] | 4 | 2015-07-24T17:27:26.000Z | 2020-02-13T20:35:15.000Z | Basics/HelloWorld/Program.cs | giawa/gameduino4netduino | 37825882037167659ef3e88886bd743e7f690b29 | [
"BSD-3-Clause"
] | null | null | null | Basics/HelloWorld/Program.cs | giawa/gameduino4netduino | 37825882037167659ef3e88886bd743e7f690b29 | [
"BSD-3-Clause"
] | null | null | null | using Gameduino;
using System.Threading;
namespace HelloWorld
{
public class Program
{
public static void Main()
{
GD2.Init();
GD2.ClearColorRGB(0x103000);
GD2.Clear();
GD2.DisplayText(240, 136, 31, GD2.Options.Center, "Hello, Netduino!");
... | 18.789474 | 82 | 0.526611 |
c3d67f5949bb9accc916a0019c0672c60daed391 | 8,841 | cs | C# | Hacker Jeopardy!/Assets/Tests/GameEditorTests/GameEditorTests.cs | mahermatrix/HackerJeopardy | f44e2c8574289a0164c13d9cfa23e90b94079656 | [
"MIT"
] | 1 | 2020-04-27T06:05:03.000Z | 2020-04-27T06:05:03.000Z | Hacker Jeopardy!/Assets/Tests/GameEditorTests/GameEditorTests.cs | mahermatrix/HackerJeopardy | f44e2c8574289a0164c13d9cfa23e90b94079656 | [
"MIT"
] | null | null | null | Hacker Jeopardy!/Assets/Tests/GameEditorTests/GameEditorTests.cs | mahermatrix/HackerJeopardy | f44e2c8574289a0164c13d9cfa23e90b94079656 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using NUnit.Framework;
using UnityEngine.UI;
using TMPro;
public class GameEditorTests : MonoBehaviour
{
/*
Some Info About this Test :
Befor running this test you have to comment the start method in the GameEditor Cla... | 33.61597 | 141 | 0.593485 |
8d75d80b57ffb2af0f9f0e12b5380079a499cfa6 | 2,589 | js | JavaScript | 12306/scripts/tool.js | zytomorrow/JSBOX | aa94fb777645741fb0fc847a3b877dc424919127 | [
"MIT"
] | 3 | 2020-03-30T06:08:49.000Z | 2020-05-26T18:18:29.000Z | 12306/scripts/tool.js | zytomorrow/JSBOX | aa94fb777645741fb0fc847a3b877dc424919127 | [
"MIT"
] | null | null | null | 12306/scripts/tool.js | zytomorrow/JSBOX | aa94fb777645741fb0fc847a3b877dc424919127 | [
"MIT"
] | 2 | 2019-05-15T05:30:24.000Z | 2020-05-26T18:18:31.000Z | module.exports = {
currentDate: currentDate(),
currentYear: currentYear(),
currentMonth: currentMonth(),
currentDay: currentDay(),
excessTicket: excessTicket
}
function currentDate() {
// 获取当前日期
var date = new Date();
// 获取当前月份
var nowMonth = date.getMonth() + 1;
// 获取当前是几号
... | 29.758621 | 340 | 0.568173 |
439175b6a9fa90d9f0df7d1e45634133ef0bcbf1 | 1,817 | ts | TypeScript | client/src/app/components/personagem-form/personagem-form.component.ts | ricardohneto/a-wing-personagens | a1c5303d5b08aa112edb71109ef30a83a540c9a3 | [
"Apache-2.0"
] | null | null | null | client/src/app/components/personagem-form/personagem-form.component.ts | ricardohneto/a-wing-personagens | a1c5303d5b08aa112edb71109ef30a83a540c9a3 | [
"Apache-2.0"
] | 4 | 2021-03-09T04:49:55.000Z | 2022-02-26T11:14:49.000Z | client/src/app/components/personagem-form/personagem-form.component.ts | ricardohneto/a-wing-personagens | a1c5303d5b08aa112edb71109ef30a83a540c9a3 | [
"Apache-2.0"
] | null | null | null | import { PersonagemService } from './../../services/personagem.service';
import { Personagem } from './../../models/Personagem';
import { Component, OnInit, HostBinding } from '@angular/core';
import { Router,ActivatedRoute } from '@angular/router';
@Component({
selector: 'app-personagem-form',
templateUrl: './pe... | 25.591549 | 127 | 0.635113 |
a941e269a2e766ed5ff78fbe6fd7c40646f9202d | 10,098 | swift | Swift | Keylogger/Keylogger/Keylogger.swift | Crazy-MT/Swift-Keylogger | c225fda0acee9a7bac3041d20d50715d92fc1289 | [
"MIT"
] | 1 | 2020-09-27T04:40:29.000Z | 2020-09-27T04:40:29.000Z | Keylogger/Keylogger/Keylogger.swift | Crazy-MT/Swift-Keylogger | c225fda0acee9a7bac3041d20d50715d92fc1289 | [
"MIT"
] | null | null | null | Keylogger/Keylogger/Keylogger.swift | Crazy-MT/Swift-Keylogger | c225fda0acee9a7bac3041d20d50715d92fc1289 | [
"MIT"
] | 1 | 2021-06-04T16:46:22.000Z | 2021-06-04T16:46:22.000Z | //
// Keylogger.swift
// Keylogger
//
// Created by Skrew Everything on 14/01/17.
// Copyright © 2017 Skrew Everything. All rights reserved.
//
import Foundation
import IOKit.hid
import Cocoa
class Keylogger
{
var manager: IOHIDManager
var deviceList = NSArray() // Used in multiple matchi... | 38.689655 | 213 | 0.505249 |
b433ca19da023e82ac251f87941ef797ef117f77 | 2,205 | ps1 | PowerShell | TOOL-ConvertTo-StringList/ConvertTo-StringList.ps1 | dbensmith/PowerShell | 170f0405cfca80d6d5ff80753480a9997a5faeb0 | [
"MIT"
] | 1,727 | 2015-01-29T09:09:34.000Z | 2022-03-31T16:54:34.000Z | TOOL-ConvertTo-StringList/ConvertTo-StringList.ps1 | dbensmith/PowerShell | 170f0405cfca80d6d5ff80753480a9997a5faeb0 | [
"MIT"
] | 23 | 2015-07-09T03:45:16.000Z | 2021-10-17T20:28:22.000Z | TOOL-ConvertTo-StringList/ConvertTo-StringList.ps1 | dbensmith/PowerShell | 170f0405cfca80d6d5ff80753480a9997a5faeb0 | [
"MIT"
] | 646 | 2015-01-12T11:42:34.000Z | 2022-03-29T07:06:40.000Z | function ConvertTo-StringList {
<#
.SYNOPSIS
Function to convert an array into a string list with a delimiter.
.DESCRIPTION
Function to convert an array into a string list with a delimiter.
.PARAMETER Array
Specifies the array to process.
.PARAMETER Delimiter
Separ... | 25.639535 | 91 | 0.570975 |
33efbbcd4106fe76343d44096b33f0cec1a04bb3 | 1,108 | h | C | src/acs_parameters.h | RSkinderowicz/AntColonySystemSA | d27f001b4ae9d3adeb34d9f2342cf10d6a00045a | [
"MIT"
] | 2 | 2018-01-16T21:34:49.000Z | 2021-07-22T18:16:08.000Z | src/acs_parameters.h | RSkinderowicz/AntColonySystemSA | d27f001b4ae9d3adeb34d9f2342cf10d6a00045a | [
"MIT"
] | null | null | null | src/acs_parameters.h | RSkinderowicz/AntColonySystemSA | d27f001b4ae9d3adeb34d9f2342cf10d6a00045a | [
"MIT"
] | 3 | 2017-11-03T15:19:20.000Z | 2020-04-04T02:47:09.000Z | #ifndef ACS_PARAMS
#define ACS_PARAMS
#include <cstdint>
/*
* A collection of the standard ACS parameters to simplify passing to functions
* & methods.
*/
struct ACSParameters {
uint32_t ants_count_ = 10;
double beta_ = 3.0;
uint32_t cand_list_size_ = 25;
double rho_ = 0.1; // global evaporation rat... | 24.086957 | 79 | 0.690433 |
58e7db7dd3b058c59bf70c309fca190c7ccaaade | 4,937 | css | CSS | public/css/style.css | padi-dev-khoanx/fastshare | 6b56f29f47852f9c353cbf764a67a0488db8230d | [
"MIT"
] | null | null | null | public/css/style.css | padi-dev-khoanx/fastshare | 6b56f29f47852f9c353cbf764a67a0488db8230d | [
"MIT"
] | null | null | null | public/css/style.css | padi-dev-khoanx/fastshare | 6b56f29f47852f9c353cbf764a67a0488db8230d | [
"MIT"
] | null | null | null | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400);
.frame {
position: absolute;
top: 50%;
left: 50%;
width: 400px;
height: 400px;
margin-top: -200px;
margin-left: -200px;
border-radius: 2px;
box-shadow: 1px 2px 10px 0px rgba(0, 0, 0, 0.3);
background: #3A92AF;
background: -webkit-... | 18.490637 | 118 | 0.6111 |
384f99bfd3727da07d87534b6a82922aea72b413 | 6,243 | php | PHP | src/Persistence/Service/StackDriverLoggerService.php | webravolab/layers | df92d7f902206c94a71179daa01e53c54373de0a | [
"MIT"
] | null | null | null | src/Persistence/Service/StackDriverLoggerService.php | webravolab/layers | df92d7f902206c94a71179daa01e53c54373de0a | [
"MIT"
] | null | null | null | src/Persistence/Service/StackDriverLoggerService.php | webravolab/layers | df92d7f902206c94a71179daa01e53c54373de0a | [
"MIT"
] | null | null | null | <?php
namespace Webravo\Persistence\Service;
use Symfony\Component\Debug\Exception\FatalThrowableError;
use Webravo\Infrastructure\Library\Configuration;
use Psr\Log\LoggerInterface;
use Psr\Log\LogLevel;
use Google\Cloud\Logging\LoggingClient;
use Monolog\Handler\AbstractProcessingHandler;
use Monolog\Logger;
clas... | 36.296512 | 150 | 0.543969 |
d67c6142e0353cdcf8b1251a4a33a1871c224dea | 353 | swift | Swift | validation-test/compiler_crashers_fixed/01097-no-stacktrace.swift | ghostbar/swift-lang.deb | b1a887edd9178a0049a0ef839c4419142781f7a0 | [
"Apache-2.0"
] | 10 | 2015-12-25T02:19:46.000Z | 2021-11-14T15:37:57.000Z | validation-test/compiler_crashers_fixed/01097-no-stacktrace.swift | ghostbar/swift-lang.deb | b1a887edd9178a0049a0ef839c4419142781f7a0 | [
"Apache-2.0"
] | 2 | 2016-02-01T08:51:00.000Z | 2017-04-07T09:04:30.000Z | validation-test/compiler_crashers_fixed/01097-no-stacktrace.swift | ghostbar/swift-lang.deb | b1a887edd9178a0049a0ef839c4419142781f7a0 | [
"Apache-2.0"
] | 3 | 2016-04-02T15:05:27.000Z | 2019-08-19T15:25:02.000Z | // RUN: not %target-swift-frontend %s -parse
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
extension NSSet {
if c == .b {
}
var f = 1
var e: Int -> Int = {
}
}
import Foundation
extension NSSet {
... | 20.764706 | 87 | 0.708215 |
05fb0e4dc08da553fafef34b4e0923fc528a3380 | 8,557 | swift | Swift | Safe Reach/SocialVC.swift | gdelarosa/Safe-Reach | dbdfea6f33d038b1ba7ffb49e02458299919b6ec | [
"MIT"
] | null | null | null | Safe Reach/SocialVC.swift | gdelarosa/Safe-Reach | dbdfea6f33d038b1ba7ffb49e02458299919b6ec | [
"MIT"
] | null | null | null | Safe Reach/SocialVC.swift | gdelarosa/Safe-Reach | dbdfea6f33d038b1ba7ffb49e02458299919b6ec | [
"MIT"
] | null | null | null | //
// SocialVC.swift
// Safe Reach
//
// Created by Gina De La Rosa on 12/11/16.
// Copyright © 2016 Gina De La Rosa. All rights reserved.
//
import UIKit
class SocialVC: UITableViewController {
let imageList = ["bienestar",
"bienestar",
"bienestar",
... | 60.260563 | 308 | 0.645553 |
43b9a0633835340de6b12dd4640cc23c0a87671e | 809 | ts | TypeScript | src/commands/projects/index.ts | fega/turbojira | db202e112d3a7c11222c737a734d630b6d1f931e | [
"MIT"
] | null | null | null | src/commands/projects/index.ts | fega/turbojira | db202e112d3a7c11222c737a734d630b6d1f931e | [
"MIT"
] | 12 | 2022-03-12T18:26:50.000Z | 2022-03-12T18:28:39.000Z | src/commands/projects/index.ts | fega/turbojira | db202e112d3a7c11222c737a734d630b6d1f931e | [
"MIT"
] | null | null | null | import {Command, Flags} from '@oclif/core'
import {JiraService} from '../../services/jira'
import jiraView from '../../services/jira-view'
export default class Projects extends Command {
static description = 'Say hello'
static examples = [
`$ oex hello friend --from oclif
hello friend from oclif! (./src/comma... | 27.896552 | 90 | 0.673671 |
7439565926a41d45e7d12605616c35836e8b7ca5 | 1,615 | css | CSS | assets/css/style.css | morislm/modul-lab | 39d69b9bbf4b1e8c73ec7da2d3297475aa74ef18 | [
"MIT"
] | null | null | null | assets/css/style.css | morislm/modul-lab | 39d69b9bbf4b1e8c73ec7da2d3297475aa74ef18 | [
"MIT"
] | null | null | null | assets/css/style.css | morislm/modul-lab | 39d69b9bbf4b1e8c73ec7da2d3297475aa74ef18 | [
"MIT"
] | null | null | null | body {
background: #FFFFFF;
margin: 0px;
font-family: 'Roboto', sans-serif;
font-size: 14px;
color: #4f5252;
font-weight: 400;
}
.container{
margin-top:50px;
padding: 10px;
}
ul, ol, li {
margin: 0;
padding: 0;
list-style: none;
}
.reorder_link {
color: #3675B4;
border: solid 2px #3675B4;
border-radius: 3... | 15.380952 | 35 | 0.67678 |
45644cce9dd5d973d1fe22e0e33216693d052346 | 2,449 | rs | Rust | src/main.rs | Knights-of-the-Functional-Calculus/rusti | d6bdcdb46ede063eefb3b405ef02679388b6abdd | [
"MIT"
] | null | null | null | src/main.rs | Knights-of-the-Functional-Calculus/rusti | d6bdcdb46ede063eefb3b405ef02679388b6abdd | [
"MIT"
] | null | null | null | src/main.rs | Knights-of-the-Functional-Calculus/rusti | d6bdcdb46ede063eefb3b405ef02679388b6abdd | [
"MIT"
] | null | null | null | extern crate serenity;
use serenity::client::Client;
use serenity::framework::standard::{macros::group, StandardFramework};
use serenity::prelude::EventHandler;
use serenity::prelude::Context;
use serenity::{
framework::standard::{macros::command, CommandResult},
model::{channel::Message, gateway::Ready},
};
... | 24.009804 | 85 | 0.575337 |
c5404c287e27140ec417f05540a1ec41f77e0cda | 7,757 | dart | Dart | lib/generated/google/cloud/dialogflow/v2beta1/session_entity_type.pbjson.dart | balajiks-dev/dialogflow_flutter | 1c7825abd774541628ee31cb9c9910fb0e6e54ec | [
"Apache-2.0"
] | 5 | 2021-04-28T08:25:19.000Z | 2021-09-13T15:22:33.000Z | lib/generated/google/cloud/dialogflow/v2beta1/session_entity_type.pbjson.dart | balajiks-dev/dialogflow_flutter | 1c7825abd774541628ee31cb9c9910fb0e6e54ec | [
"Apache-2.0"
] | 4 | 2021-03-26T12:49:08.000Z | 2022-03-20T06:43:03.000Z | lib/generated/google/cloud/dialogflow/v2beta1/session_entity_type.pbjson.dart | balajiks-dev/dialogflow_flutter | 1c7825abd774541628ee31cb9c9910fb0e6e54ec | [
"Apache-2.0"
] | 6 | 2021-07-16T11:46:22.000Z | 2021-11-17T21:43:28.000Z | ///
// Generated code. Do not modify.
// source: google/cloud/dialogflow/v2beta1/session_entity_type.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this... | 43.335196 | 940 | 0.74668 |
5cfe3834e2c47494716edd8fbcd6e9b39d202368 | 217 | php | PHP | admin/home.php | Analystharsh/Discussion-Forum-based-Web-Application- | a9454bf7550f6cf4ef630fb0d23b9b4001efd91f | [
"MIT"
] | 1 | 2020-01-20T19:24:06.000Z | 2020-01-20T19:24:06.000Z | admin/home.php | Analystharsh/Discussion-Forum-based-Web-Application- | a9454bf7550f6cf4ef630fb0d23b9b4001efd91f | [
"MIT"
] | null | null | null | admin/home.php | Analystharsh/Discussion-Forum-based-Web-Application- | a9454bf7550f6cf4ef630fb0d23b9b4001efd91f | [
"MIT"
] | null | null | null | <?php
session_start();
require("header.php");
require("checkUser.php");
?>
<script type="text/javascript">
document.getElementById("ahome").className="active";
</script>
<?php require("footer.php");?> | 19.727273 | 54 | 0.654378 |
e24619206b283e9471b7d8a704ef5381bd39a7c2 | 1,018 | js | JavaScript | spring-boot-rsocket-client/src/Metadata.js | rajviv95/spring-boot-rsocket-poc | 8af75bbe7a698df1d6f36e7a7fb14f19f12774bb | [
"MIT"
] | null | null | null | spring-boot-rsocket-client/src/Metadata.js | rajviv95/spring-boot-rsocket-poc | 8af75bbe7a698df1d6f36e7a7fb14f19f12774bb | [
"MIT"
] | null | null | null | spring-boot-rsocket-client/src/Metadata.js | rajviv95/spring-boot-rsocket-poc | 8af75bbe7a698df1d6f36e7a7fb14f19f12774bb | [
"MIT"
] | 1 | 2022-01-18T18:09:33.000Z | 2022-01-18T18:09:33.000Z | import {
JsonSerializer,
MESSAGE_RSOCKET_ROUTING,
encodeAndAddCustomMetadata,
encodeAndAddWellKnownMetadata,
} from "rsocket-core";
export class Metadata extends Map {
constructor(json) {
super();
if (json != null) {
for (let [key, value] of json) {
this.set(key, value);
... | 21.208333 | 71 | 0.633595 |
6af2c7579048acf32c4100d0265ab64f41e92f4d | 520 | h | C | include/anki/util/NonCopyable.h | galek/anki-3d-engine | 2b12968d8f2ca44d2aeb7480a4b8e63f7703ae75 | [
"BSD-3-Clause"
] | 1 | 2016-09-29T06:39:41.000Z | 2016-09-29T06:39:41.000Z | include/anki/util/NonCopyable.h | galek/anki-3d-engine | 2b12968d8f2ca44d2aeb7480a4b8e63f7703ae75 | [
"BSD-3-Clause"
] | null | null | null | include/anki/util/NonCopyable.h | galek/anki-3d-engine | 2b12968d8f2ca44d2aeb7480a4b8e63f7703ae75 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (C) 2014, Panagiotis Christopoulos Charitos.
// All rights reserved.
// Code licensed under the BSD License.
// http://www.anki3d.org/LICENSE
#ifndef ANKI_UTIL_NON_COPYABLE_H
#define ANKI_UTIL_NON_COPYABLE_H
namespace anki {
/// @addtogroup util_patterns
/// @{
/// Makes a derived class non copyable
st... | 16.774194 | 57 | 0.719231 |
7def50da4020f67d0b2308bf7a36f1a4ef7c5065 | 413 | css | CSS | css/style.css | motasemodeh/201d13 | 3eb21f3d2e7abab9962990f77829df536b856811 | [
"MIT"
] | null | null | null | css/style.css | motasemodeh/201d13 | 3eb21f3d2e7abab9962990f77829df536b856811 | [
"MIT"
] | null | null | null | css/style.css | motasemodeh/201d13 | 3eb21f3d2e7abab9962990f77829df536b856811 | [
"MIT"
] | null | null | null | h1{
margin: 7px;
padding: 7px;
text-align: center;
font-size: large;
}
.linkes{
text-align: center;
border: 4px solid black;
padding: 4px;
margin: 8px;
}
p{
text-align: center;
}
ul{
text-align: center;
border: 4px solid black;
padding: 4px;
margin: 8px;
}
.top... | 13.766667 | 28 | 0.57385 |
c64c3d48dbd345673de9b0cad243684928d11158 | 776 | rb | Ruby | test/unit/core/shape/basic/test_basic_interface.rb | eitoball/thinreports-generator | 567d7e52bd00fe7852c37b961a43efe85ff5b063 | [
"MIT"
] | null | null | null | test/unit/core/shape/basic/test_basic_interface.rb | eitoball/thinreports-generator | 567d7e52bd00fe7852c37b961a43efe85ff5b063 | [
"MIT"
] | null | null | null | test/unit/core/shape/basic/test_basic_interface.rb | eitoball/thinreports-generator | 567d7e52bd00fe7852c37b961a43efe85ff5b063 | [
"MIT"
] | null | null | null | # coding: utf-8
require 'test/unit/helper'
class ThinReports::Core::Shape::Basic::TestBlockInterface < MiniTest::Unit::TestCase
include ThinReports::TestHelpers
Basic = ThinReports::Core::Shape::Basic
def setup
parent = flexmock('parent')
format = Basic::BlockFormat.new({})
internal = Basic::B... | 28.740741 | 84 | 0.734536 |
d009c3b5bb2a63f16e4ff4d54d0e80df4972d23c | 11,837 | swift | Swift | ios/Classes/SwiftCustomAuthPlugin.swift | torusresearch/customauth-flutter-sdk | cc26ecdc94c4de60e88ae2361a83312f068f8fab | [
"MIT"
] | 3 | 2022-03-22T09:04:38.000Z | 2022-03-22T10:03:07.000Z | ios/Classes/SwiftCustomAuthPlugin.swift | torusresearch/customauth-flutter-sdk | cc26ecdc94c4de60e88ae2361a83312f068f8fab | [
"MIT"
] | 6 | 2021-11-22T06:33:46.000Z | 2022-03-05T01:15:04.000Z | ios/Classes/SwiftCustomAuthPlugin.swift | torusresearch/customauth-flutter-sdk | cc26ecdc94c4de60e88ae2361a83312f068f8fab | [
"MIT"
] | 4 | 2021-07-15T20:01:49.000Z | 2021-11-17T02:26:01.000Z | import Flutter
import UIKit
import CustomAuth
import FetchNodeDetails
struct CustomAuthArgs {
let network: String;
let browserRedirectUri: String;
let redirectUri: String;
var ethereumNetwork: EthereumNetwork {
get {
switch network {
case "mainnet":
... | 43.358974 | 167 | 0.518459 |
4445a771a7e1b6c0a3f26dbec6a8c7aa595fba4b | 9,940 | py | Python | deepcomp/env/entities/user.py | CN-UPB/DeepCoMP | f9f64873184bb53b5687ae62f8ba2b84da423692 | [
"MIT"
] | 19 | 2021-03-17T12:59:48.000Z | 2022-03-24T09:04:32.000Z | deepcomp/env/entities/user.py | CN-UPB/DeepCoMP | f9f64873184bb53b5687ae62f8ba2b84da423692 | [
"MIT"
] | 1 | 2021-03-08T16:27:49.000Z | 2021-03-08T16:27:49.000Z | deepcomp/env/entities/user.py | CN-UPB/DeepCoMP | f9f64873184bb53b5687ae62f8ba2b84da423692 | [
"MIT"
] | 6 | 2021-01-25T19:34:18.000Z | 2022-03-20T05:56:33.000Z | import random
import structlog
from shapely.geometry import Point
import matplotlib.pyplot as plt
from matplotlib import cm
from deepcomp.env.util.utility import log_utility, step_utility, linear_clipped_utility
from deepcomp.util.constants import MIN_UTILITY, MAX_UTILITY, SUPPORTED_UTILITIES
class User:
"""
... | 40.571429 | 119 | 0.623742 |
7aa3b7bdced1c11c1f2cdf2e14680830bbe89b0e | 3,296 | cs | C# | samples/TaxAuthorities/ValuedPartner.TU.BusinessRepository/Menu/TUMenuModuleHelper.cs | DavidFWang/Sage300-SDK | daa5cf0134fd379675a988adbc12a20aeef80934 | [
"MIT"
] | null | null | null | samples/TaxAuthorities/ValuedPartner.TU.BusinessRepository/Menu/TUMenuModuleHelper.cs | DavidFWang/Sage300-SDK | daa5cf0134fd379675a988adbc12a20aeef80934 | [
"MIT"
] | null | null | null | samples/TaxAuthorities/ValuedPartner.TU.BusinessRepository/Menu/TUMenuModuleHelper.cs | DavidFWang/Sage300-SDK | daa5cf0134fd379675a988adbc12a20aeef80934 | [
"MIT"
] | null | null | null |
// The MIT License (MIT)
// Copyright (c) 1994-2017 The Sage Group plc or its licensors. All rights reserved.
//
// 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,... | 36.21978 | 88 | 0.656553 |
d4fff080c2ab84ef5fb9545c688f13482716f85b | 6,283 | ts | TypeScript | primitive.ts | jameswilddev/ayeful | cf7af4845304cd2f8189909264ccc528772f6cd8 | [
"MIT"
] | null | null | null | primitive.ts | jameswilddev/ayeful | cf7af4845304cd2f8189909264ccc528772f6cd8 | [
"MIT"
] | 1 | 2020-09-04T23:02:57.000Z | 2020-09-04T23:02:57.000Z | primitive.ts | jameswilddev/swizzler | cf7af4845304cd2f8189909264ccc528772f6cd8 | [
"MIT"
] | null | null | null | export type FloatPrimitive = `float`;
export type Vec2Primitive = `vec2`;
export type Vec3Primitive = `vec3`;
export type Vec4Primitive = `vec4`;
export type AnyNonMatFloatPrimitive =
| FloatPrimitive
| Vec2Primitive
| Vec3Primitive
| Vec4Primitive;
export type Mat2Primitive = `mat2`;
export type Mat3Primitive ... | 20.873754 | 79 | 0.663218 |
6dfe531eeba924c9a55d4716b3f15408a3d5a1b9 | 8,467 | ts | TypeScript | controls/pdfexport/src/implementation/pages/pdf-page-layer.ts | cxspxr/ej2-javascript-ui-controls | e94214f8e78c7d290241ae5b905e03cdbc96e1a9 | [
"Net-SNMP",
"Xnet"
] | 219 | 2018-10-31T10:53:46.000Z | 2022-03-28T09:31:17.000Z | controls/pdfexport/src/implementation/pages/pdf-page-layer.ts | cxspxr/ej2-javascript-ui-controls | e94214f8e78c7d290241ae5b905e03cdbc96e1a9 | [
"Net-SNMP",
"Xnet"
] | 98 | 2018-10-31T10:53:09.000Z | 2022-03-16T03:52:15.000Z | controls/pdfexport/src/implementation/pages/pdf-page-layer.ts | cxspxr/ej2-javascript-ui-controls | e94214f8e78c7d290241ae5b905e03cdbc96e1a9 | [
"Net-SNMP",
"Xnet"
] | 129 | 2018-11-14T15:48:56.000Z | 2022-03-30T17:59:22.000Z | /**
* PdfPageLayer.ts class for EJ2-PDF
*/
import { IPdfWrapper } from './../../interfaces/i-pdf-wrapper';
import { IPdfPrimitive } from './../../interfaces/i-pdf-primitives';
import { PdfPageBase } from './pdf-page-base';
import { PdfStream } from './../primitives/pdf-stream';
import { PdfDictionary } from './../pri... | 31.243542 | 129 | 0.587103 |
23996e6da229767580da944647d97f82f40c7fa4 | 3,797 | js | JavaScript | packages/cloudform-types/types/greengrassV2/componentVersion.js | sundersc/cloudform | 4754be3e8dcb502136cdc7b605a199590a2e6b2b | [
"MIT"
] | 133 | 2017-11-24T13:43:17.000Z | 2021-12-17T20:26:42.000Z | packages/cloudform-types/types/greengrassV2/componentVersion.js | sundersc/cloudform | 4754be3e8dcb502136cdc7b605a199590a2e6b2b | [
"MIT"
] | 49 | 2017-12-03T20:33:26.000Z | 2022-03-09T19:52:49.000Z | packages/cloudform-types/types/greengrassV2/componentVersion.js | sundersc/cloudform | 4754be3e8dcb502136cdc7b605a199590a2e6b2b | [
"MIT"
] | 27 | 2018-02-05T23:09:00.000Z | 2021-09-17T18:41:05.000Z | "use strict";
/* Generated from:
* ap-northeast-1 (https://d33vqc0rt9ld30.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json), version 39.2.0,
* ap-northeast-2 (https://d1ane3fvebulky.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json), version 39.2.0,
* ap-south-1 (https://d2senues... | 44.151163 | 127 | 0.790361 |
e74d018bee5fc94e9a140e0c82b045d8ee948166 | 1,531 | go | Go | bcs-services/cluster-resources/pkg/i18n/i18n_test.go | jamesgetx/bk-bcs | e4cf72cb3aed409d5ce0d1e10dde61dc63af68b8 | [
"Apache-2.0"
] | null | null | null | bcs-services/cluster-resources/pkg/i18n/i18n_test.go | jamesgetx/bk-bcs | e4cf72cb3aed409d5ce0d1e10dde61dc63af68b8 | [
"Apache-2.0"
] | null | null | null | bcs-services/cluster-resources/pkg/i18n/i18n_test.go | jamesgetx/bk-bcs | e4cf72cb3aed409d5ce0d1e10dde61dc63af68b8 | [
"Apache-2.0"
] | null | null | null | /*
* Tencent is pleased to support the open source community by making Blueking Container Service available.
* Copyright (C) 2022 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except
* in compliance with the License. You may obta... | 28.886792 | 106 | 0.723057 |
c66299cc0aefb64fcf86382f3c251d75897669aa | 758 | py | Python | main.py | ZimnyCat/2bTracker | 9833b1209ac09b134c13f647213a0f53c28d743c | [
"WTFPL"
] | null | null | null | main.py | ZimnyCat/2bTracker | 9833b1209ac09b134c13f647213a0f53c28d743c | [
"WTFPL"
] | 1 | 2022-01-28T21:40:46.000Z | 2022-02-01T16:38:08.000Z | main.py | ZimnyCat/2bTracker | 9833b1209ac09b134c13f647213a0f53c28d743c | [
"WTFPL"
] | null | null | null | # -*- coding: utf-8 -*-
from time import sleep
from requests import get
import utils
print("2bTracker\nuses https://2bqueue.info/\n")
utils.init()
print("Getting 2b2t player lists...")
oldQueuePlayerList = get("https://2bqueue.info/players").json()["queue"]["players"]
oldMainPlayerList = get("https://2bqueue.info/pl... | 30.32 | 95 | 0.724274 |
a349ef0d00e4adb3aaad11aed00ada9e91def2f3 | 6,538 | h | C | gem/include/GEMStruct.h | xbai0624/MPD_GEM_View_SSP | 823740845773c6b938159c40b8c04fb83a3a259f | [
"MIT"
] | null | null | null | gem/include/GEMStruct.h | xbai0624/MPD_GEM_View_SSP | 823740845773c6b938159c40b8c04fb83a3a259f | [
"MIT"
] | null | null | null | gem/include/GEMStruct.h | xbai0624/MPD_GEM_View_SSP | 823740845773c6b938159c40b8c04fb83a3a259f | [
"MIT"
] | null | null | null | #ifndef GEM_STRUCT_H
#define GEM_STRUCT_H
#include <cstdint>
#include <vector>
#include "MPDDataStruct.h"
////////////////////////////////////////////////////////////////
// In mpd apv raw data, the length of one time sample
// in the unit of uint32_t
#define MPD_APV_TS_LEN 129
#define APV_STRIP_SIZE 128
/////////... | 25.243243 | 128 | 0.533038 |
0db41fffc4d437b581d255936fb33e1e56520326 | 4,695 | rb | Ruby | app/helpers/railspress/revision_helper.rb | TrueSoft/railspress | 13a8be2bed2717cadf9ceb54a95ff5a1a0cd4d9b | [
"MIT"
] | 1 | 2021-06-26T13:19:51.000Z | 2021-06-26T13:19:51.000Z | app/helpers/railspress/revision_helper.rb | TrueSoft/railspress | 13a8be2bed2717cadf9ceb54a95ff5a1a0cd4d9b | [
"MIT"
] | 30 | 2019-11-21T12:14:54.000Z | 2022-02-17T16:46:09.000Z | app/helpers/railspress/revision_helper.rb | TrueSoft/railspress | 13a8be2bed2717cadf9ceb54a95ff5a1a0cd4d9b | [
"MIT"
] | null | null | null | =begin
* Post revision functions.
*
* file wp-includes\revision.php
=end
module Railspress::RevisionHelper
# Determines if the specified post is a revision.
#
# @param [int|WP_Post] post Post ID or post object.
# @return [false|int] False if not a revision, ID of revision's parent otherwise.
def wp_is_post_rev... | 31.510067 | 122 | 0.672204 |
c4eabc24d27ea35b73a8be559fea0a51971629d2 | 1,327 | cc | C++ | src/dictionaries/node_webrtc/rtc_offer_options.cc | elofun/node-webrtc | be63c8c007402c25962df9e30c9813ba70b8a17b | [
"Apache-2.0"
] | 1,302 | 2018-11-26T03:29:51.000Z | 2022-03-31T23:38:34.000Z | src/dictionaries/node_webrtc/rtc_offer_options.cc | elofun/node-webrtc | be63c8c007402c25962df9e30c9813ba70b8a17b | [
"Apache-2.0"
] | 311 | 2018-11-26T14:22:19.000Z | 2022-03-28T09:47:38.000Z | src/dictionaries/node_webrtc/rtc_offer_options.cc | elofun/node-webrtc | be63c8c007402c25962df9e30c9813ba70b8a17b | [
"Apache-2.0"
] | 233 | 2018-11-26T18:08:11.000Z | 2022-03-30T01:29:50.000Z | #include "src/dictionaries/node_webrtc/rtc_offer_options.h"
#include "src/functional/maybe.h"
#include "src/functional/validation.h"
namespace node_webrtc {
#define RTC_OFFER_OPTIONS_FN CreateRTCOfferOptions
static Validation<RTC_OFFER_OPTIONS> RTC_OFFER_OPTIONS_FN(
const bool voiceActivityDetection,
const ... | 36.861111 | 90 | 0.788244 |
da40c21ce41d34aa0c547dc1321f46a8c3be726c | 584 | ts | TypeScript | src/moduleResolver/__tests__/module.resolution.test.ts | Kend0r/fuse-box | 0c30c7b1131de2ba8b3289892c199d50539fcc5a | [
"MIT"
] | 4,452 | 2016-10-29T11:50:44.000Z | 2022-03-27T01:49:29.000Z | src/moduleResolver/__tests__/module.resolution.test.ts | Kend0r/fuse-box | 0c30c7b1131de2ba8b3289892c199d50539fcc5a | [
"MIT"
] | 1,614 | 2016-11-14T18:26:33.000Z | 2022-03-23T18:42:48.000Z | src/moduleResolver/__tests__/module.resolution.test.ts | Kend0r/fuse-box | 0c30c7b1131de2ba8b3289892c199d50539fcc5a | [
"MIT"
] | 431 | 2016-11-12T17:43:55.000Z | 2022-03-22T17:22:39.000Z | import { EnvironmentType } from '../../config/EnvironmentType';
import { createIntegrationTest } from '../../testUtils/integrationTest';
describe('Module resolution test', () => {
it('should ', async () => {
// const test = createIntegrationTest({
// config: { entry: 'index.ts', target: 'browser' },
//... | 32.444444 | 72 | 0.568493 |
2cb0c2d2b43f07d1796562d69afb9f6d2b958dbd | 12,925 | py | Python | psdaq/psdaq/pyxpm/surf/protocols/rssi/_RssiCore.py | JBlaschke/lcls2 | 30523ef069e823535475d68fa283c6387bcf817b | [
"BSD-3-Clause-LBNL"
] | null | null | null | psdaq/psdaq/pyxpm/surf/protocols/rssi/_RssiCore.py | JBlaschke/lcls2 | 30523ef069e823535475d68fa283c6387bcf817b | [
"BSD-3-Clause-LBNL"
] | null | null | null | psdaq/psdaq/pyxpm/surf/protocols/rssi/_RssiCore.py | JBlaschke/lcls2 | 30523ef069e823535475d68fa283c6387bcf817b | [
"BSD-3-Clause-LBNL"
] | null | null | null | #!/usr/bin/env python
#-----------------------------------------------------------------------------
# Title : PyRogue RSSI module
#-----------------------------------------------------------------------------
# File : RssiCore.py
# Created : 2017-04-12
#---------------------------------------------------... | 35.314208 | 156 | 0.402863 |
29b4e8040ab0ac933c3a300d2dfcd0a017ae27fb | 121 | rb | Ruby | spec/config/database_cleaner.rb | Progeser/progeser-api | e72324fe2c069de1a7d78ea0c542ed18f315664b | [
"Apache-2.0"
] | 2 | 2019-10-23T19:45:14.000Z | 2019-11-21T00:14:28.000Z | spec/config/database_cleaner.rb | Progeser/progeser-api | e72324fe2c069de1a7d78ea0c542ed18f315664b | [
"Apache-2.0"
] | 7 | 2020-03-13T16:37:34.000Z | 2021-09-14T13:49:08.000Z | spec/config/database_cleaner.rb | ProGeSer/progeser-api | e72324fe2c069de1a7d78ea0c542ed18f315664b | [
"Apache-2.0"
] | null | null | null | # frozen_string_literal: true
require 'database_cleaner'
DatabaseCleaner.strategy = :truncation
DatabaseCleaner.clean
| 15.125 | 38 | 0.834711 |
ff496f83b4a7788c2b58aa26433f8ac171f17b72 | 1,058 | py | Python | IncTrend/tests/test_api.py | AMOOOMA/IncTrend | c16cc1f91530a208122a48539d5a7bb0d3c75305 | [
"MIT"
] | null | null | null | IncTrend/tests/test_api.py | AMOOOMA/IncTrend | c16cc1f91530a208122a48539d5a7bb0d3c75305 | [
"MIT"
] | null | null | null | IncTrend/tests/test_api.py | AMOOOMA/IncTrend | c16cc1f91530a208122a48539d5a7bb0d3c75305 | [
"MIT"
] | null | null | null | import pytest
import json
from django.test import TestCase, Client
from django.urls import reverse
from rest_framework import status
def test_api():
assert True
@pytest.mark.django_db
def test_post_then_get_messages():
client = Client()
test_message = {'id': 1, 'type': 'Test', 'body': 't... | 31.117647 | 80 | 0.674858 |
238126e9ac2477f2a27f3c4d590dae2c2695c6f1 | 311 | js | JavaScript | lib/TaxSystem.js | 63pokupki/komtet-kassa-nodejs-sdk | 78910c16dbbf5d199db6ca61b7988777d4480464 | [
"BSD-3-Clause"
] | 1 | 2019-08-29T04:30:11.000Z | 2019-08-29T04:30:11.000Z | lib/TaxSystem.js | 63pokupki/komtet-kassa-nodejs-sdk | 78910c16dbbf5d199db6ca61b7988777d4480464 | [
"BSD-3-Clause"
] | null | null | null | lib/TaxSystem.js | 63pokupki/komtet-kassa-nodejs-sdk | 78910c16dbbf5d199db6ca61b7988777d4480464 | [
"BSD-3-Clause"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class TaxSystem {
}
TaxSystem.COMMON = 0;
TaxSystem.SIMPLIFIED_IN = 1;
TaxSystem.SIMPLIFIED_IN_OUT = 2;
TaxSystem.UTOII = 3;
TaxSystem.UST = 4;
TaxSystem.PATENT = 5;
exports.TaxSystem = TaxSystem;
//# sourceMappingURL=TaxSystem.js.map | 25.916667 | 62 | 0.752412 |
a35cea11d07db88095dc09238e84d2429b8e0dc3 | 9,758 | c | C | examples/rpl-border-router/webserver/webserver.c | wodishenga/contiki | f6870ceb7051579f7607e9f1df5d93e3d03cb1ee | [
"BSD-3-Clause"
] | null | null | null | examples/rpl-border-router/webserver/webserver.c | wodishenga/contiki | f6870ceb7051579f7607e9f1df5d93e3d03cb1ee | [
"BSD-3-Clause"
] | null | null | null | examples/rpl-border-router/webserver/webserver.c | wodishenga/contiki | f6870ceb7051579f7607e9f1df5d93e3d03cb1ee | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2017, RISE SICS
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of ... | 29.840979 | 99 | 0.541299 |