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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
791c49a39658695c22ff021fc0fe1c491ae7033e | 9,295 | lua | Lua | Framework/EsoUi/libraries/utility/zo_treecontrol.lua | martin-repo/eso-addon-framework | 5a0873e624abee2b560b47cdd8571bb24b526663 | [
"MIT"
] | 3 | 2021-09-19T00:31:05.000Z | 2021-12-22T07:30:15.000Z | Framework/EsoUi/libraries/utility/zo_treecontrol.lua | martin-repo/eso-addon-framework | 5a0873e624abee2b560b47cdd8571bb24b526663 | [
"MIT"
] | null | null | null | Framework/EsoUi/libraries/utility/zo_treecontrol.lua | martin-repo/eso-addon-framework | 5a0873e624abee2b560b47cdd8571bb24b526663 | [
"MIT"
] | null | null | null | --[[
This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:28' using the latest game version.
NOTE: This file should only be used as IDE support; it should NOT be distributed with addons!
****************************************************************************
CONTENTS OF THIS FILE IS COPYRI... | 27.099125 | 109 | 0.61915 |
145040a66d2db4d717eed0cd57d8dcb62ff4dec6 | 1,166 | ts | TypeScript | src/employees/employees.service.ts | Ievgenii91/horeca-admin-api-server | 688a166a26a2ffda9dc86620e430c11183c67290 | [
"MIT"
] | 1 | 2021-04-16T08:33:27.000Z | 2021-04-16T08:33:27.000Z | src/employees/employees.service.ts | Ievgenii91/horeca-admin-api-server | 688a166a26a2ffda9dc86620e430c11183c67290 | [
"MIT"
] | null | null | null | src/employees/employees.service.ts | Ievgenii91/horeca-admin-api-server | 688a166a26a2ffda9dc86620e430c11183c67290 | [
"MIT"
] | null | null | null | import { Injectable } from '@nestjs/common';
import { InjectModel } from '@nestjs/mongoose';
import { Model, QueryOptions } from 'mongoose';
import { Employee, EmployeeDocument } from 'src/schemas/employee.schema';
import { CreateEmployeeDto } from './dto/create-employee.dto';
import { UpdateEmployeeDto } from './dto/u... | 27.761905 | 79 | 0.702401 |
33cceda2904df13075f06ab26cdb79c0a62de474 | 3,764 | h | C | three/cameras/perspective_camera.h | Graphics-Physics-Libraries/three-cpp-works-imported | 9df305135187c5db9247a44537290e181350e26c | [
"MIT"
] | 4 | 2016-08-09T21:56:43.000Z | 2020-10-16T16:39:53.000Z | three/cameras/perspective_camera.h | Graphics-Physics-Libraries/three-cpp-works-imported | 9df305135187c5db9247a44537290e181350e26c | [
"MIT"
] | 1 | 2017-03-25T08:41:05.000Z | 2017-03-25T08:41:05.000Z | three/cameras/perspective_camera.h | Graphics-Physics-Libraries/three-cpp-works-imported | 9df305135187c5db9247a44537290e181350e26c | [
"MIT"
] | 1 | 2019-09-07T06:45:35.000Z | 2019-09-07T06:45:35.000Z | #ifndef THREE_PERSPECTIVE_CAMERA_H
#define THREE_PERSPECTIVE_CAMERA_H
#include <three/common.h>
#include <three/math/math.h>
#include <three/cameras/camera.h>
namespace three {
class PerspectiveCamera : public Camera {
public:
THREE_IMPL_OBJECT(PerspectiveCamera);
static Ptr create( float fov = 50.f, float a... | 25.605442 | 116 | 0.565887 |
a36e4123c32e0b11f07943aebd017677bcc42efa | 109 | java | Java | src/test/java/lightningtalk/EventSource.java | seerhein-lab/jic | e3a3243ec8640cdfe9ab0c3eee662c260d2485cf | [
"Apache-2.0"
] | 1 | 2020-02-18T23:23:37.000Z | 2020-02-18T23:23:37.000Z | src/test/java/lightningtalk/EventSource.java | seerhein-lab/jic | e3a3243ec8640cdfe9ab0c3eee662c260d2485cf | [
"Apache-2.0"
] | null | null | null | src/test/java/lightningtalk/EventSource.java | seerhein-lab/jic | e3a3243ec8640cdfe9ab0c3eee662c260d2485cf | [
"Apache-2.0"
] | null | null | null | package lightningtalk;
public interface EventSource {
void registerListener(EventListener eventListener);
} | 21.8 | 52 | 0.844037 |
51c78d3118e111dbf9e2e8f907b01270c69200a2 | 5,283 | sql | SQL | test/helpers/type.sql | BlueTreble/variant | 527cb8b2a85bec118de157bcee46d83fa98ec45a | [
"BSD-2-Clause"
] | 3 | 2015-08-04T09:47:09.000Z | 2021-05-09T22:31:19.000Z | test/helpers/type.sql | BlueTreble/variant | 527cb8b2a85bec118de157bcee46d83fa98ec45a | [
"BSD-2-Clause"
] | 6 | 2015-03-20T17:32:36.000Z | 2015-07-15T18:54:23.000Z | test/helpers/type.sql | BlueTreble/variant | 527cb8b2a85bec118de157bcee46d83fa98ec45a | [
"BSD-2-Clause"
] | 2 | 2015-07-15T22:31:08.000Z | 2019-03-20T16:18:44.000Z | \set ECHO none
/*
For each type we want to test:
text_in()
text_out()
type_out()
comparators (variant to variant and variant to original)
Actual storage and retrieval
NULL original data (NULL variants should be tested separately)
Overall plan:
1: Start with an original value in a "big" type (ie: numeric vs other numb... | 31.446429 | 144 | 0.70036 |
2d2c41c29932911d6f46802a6f70f1b51638c79f | 926 | dart | Dart | ferry_test_graphql/lib/queries/variables/reviews.var.gql.dart | iscriptology/ferry | c42c4df363e153c8cd7f4311f398a482d4944509 | [
"MIT"
] | null | null | null | ferry_test_graphql/lib/queries/variables/reviews.var.gql.dart | iscriptology/ferry | c42c4df363e153c8cd7f4311f398a482d4944509 | [
"MIT"
] | null | null | null | ferry_test_graphql/lib/queries/variables/reviews.var.gql.dart | iscriptology/ferry | c42c4df363e153c8cd7f4311f398a482d4944509 | [
"MIT"
] | null | null | null | // GENERATED CODE - DO NOT MODIFY BY HAND
import 'package:built_value/built_value.dart';
import 'package:built_value/serializer.dart';
import 'package:ferry_test_graphql/schema/schema.schema.gql.dart' as _i1;
import 'package:ferry_test_graphql/schema/serializers.gql.dart' as _i2;
part 'reviews.var.gql.g.dart';
abstr... | 31.931034 | 77 | 0.765659 |
b60d32bc44bca25557bbfe7d1d6a09c28698bb87 | 613 | rb | Ruby | app/controllers/application_controller.rb | tollycoast/transcript-editor | 784c98c560a83c9bb9b292ae111ca5c3d7d0e959 | [
"MIT"
] | 2 | 2020-02-21T07:54:34.000Z | 2021-10-04T01:11:54.000Z | app/controllers/application_controller.rb | abdojulari/transcript-editor | 784c98c560a83c9bb9b292ae111ca5c3d7d0e959 | [
"MIT"
] | 1 | 2021-06-14T21:01:23.000Z | 2021-06-14T21:01:23.000Z | app/controllers/application_controller.rb | abdojulari/transcript-editor | 784c98c560a83c9bb9b292ae111ca5c3d7d0e959 | [
"MIT"
] | null | null | null | class ApplicationController < ActionController::API
include DeviseTokenAuth::Concerns::SetUserByToken
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
# protect_from_forgery with: :exception
# Allow us to use JBuilder
include ActionController::Implicit... | 27.863636 | 57 | 0.761827 |
58337cd75eaa3765e0339862fb3e8c1266b61ff8 | 2,571 | css | CSS | data/usercss/126806.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 118 | 2020-08-28T19:59:28.000Z | 2022-03-26T16:28:40.000Z | data/usercss/126806.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 38 | 2020-09-02T01:08:45.000Z | 2022-01-23T02:47:24.000Z | data/usercss/126806.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 21 | 2020-08-19T01:12:43.000Z | 2022-03-15T21:55:17.000Z | /* ==UserStyle==
@name Compact Light For Thunderbird (DevEdition Theme)
@namespace USO Archive
@author Rayquaza01
@description `This style ports Firefox's <strike>Dev Edition</strike> Compact Light theme to Thunderbird.`
@version 20160830.1.57
@license CC0-1.0
@preprocessor uso... | 29.551724 | 109 | 0.692338 |
757b061a17ccd9c7ba4f9c403ebd764c0ca289a3 | 6,654 | swift | Swift | Tests/DJiRDataTests/Decoding/_JSONGenericUnkeyedDecodingContainerTests.swift | drjackyl/DJiRData | 7442d45d9945524950c00153ac1f75dd20502201 | [
"Unlicense"
] | 1 | 2021-03-14T17:11:36.000Z | 2021-03-14T17:11:36.000Z | Tests/DJiRDataTests/Decoding/_JSONGenericUnkeyedDecodingContainerTests.swift | drjackyl/DJiRData | 7442d45d9945524950c00153ac1f75dd20502201 | [
"Unlicense"
] | null | null | null | Tests/DJiRDataTests/Decoding/_JSONGenericUnkeyedDecodingContainerTests.swift | drjackyl/DJiRData | 7442d45d9945524950c00153ac1f75dd20502201 | [
"Unlicense"
] | null | null | null | import XCTest
@testable import DJiRData
class _JSONGenericUnkeyedDecodingContainerTests: XCTestCase {
enum TwoKeys: String, CodingKey {
case aKey = "1"
case notherKey = "2"
}
var emptyModel: JSONGenericModel {
.init(m: [:], d: [])
}
var notSupportedContainer: ... | 31.386792 | 102 | 0.664112 |
dd9b8de9cda3c26001a5dc2c10ca65009ba1e853 | 1,770 | java | Java | src/main/java/info/gianlucacosta/historymark/storage/PinRepository.java | giancosta86/HistoryMark | 58967c63a96cb0168de27838cce74dd0c766fec1 | [
"Apache-2.0"
] | null | null | null | src/main/java/info/gianlucacosta/historymark/storage/PinRepository.java | giancosta86/HistoryMark | 58967c63a96cb0168de27838cce74dd0c766fec1 | [
"Apache-2.0"
] | null | null | null | src/main/java/info/gianlucacosta/historymark/storage/PinRepository.java | giancosta86/HistoryMark | 58967c63a96cb0168de27838cce74dd0c766fec1 | [
"Apache-2.0"
] | null | null | null | /*^
===========================================================================
HistoryMark
===========================================================================
Copyright (C) 2017 Gianluca Costa
===========================================================================
Licensed under the Apache Lice... | 32.777778 | 77 | 0.536158 |
b036cd71a269e078fad0cb3cf80cc057055758e6 | 699 | py | Python | src/ralph/deployment/tests/utils.py | vi4m/ralph | 2af767ee23d89be9e6cec0a537350a1ce8840bd1 | [
"Apache-2.0"
] | 1 | 2018-09-01T14:14:08.000Z | 2018-09-01T14:14:08.000Z | src/ralph/deployment/tests/utils.py | srikanth4372/sample | 127b5742ae464d42909a14d71e3c10c241ec3a23 | [
"Apache-2.0"
] | 1 | 2019-08-14T10:03:45.000Z | 2019-08-14T10:03:45.000Z | src/ralph/deployment/tests/utils.py | srikanth4372/sample | 127b5742ae464d42909a14d71e3c10c241ec3a23 | [
"Apache-2.0"
] | 1 | 2019-08-14T09:59:42.000Z | 2019-08-14T09:59:42.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import factory
from factory.django import DjangoModelFactory
from ralph.deployment.models import MassDeployment, Preboot, ... | 23.3 | 71 | 0.798283 |
5df5298d3186ec5d2e696adea58960b14325d6cb | 19,504 | cpp | C++ | src/mirrage/graphic/src/device_memory.cpp | lowkey42/mirrage | 2527537989a548062d0bbca8370d063fc6b81a18 | [
"MIT"
] | 14 | 2017-10-26T08:45:54.000Z | 2021-04-06T11:44:17.000Z | src/mirrage/graphic/src/device_memory.cpp | lowkey42/mirrage | 2527537989a548062d0bbca8370d063fc6b81a18 | [
"MIT"
] | 17 | 2017-10-09T20:11:58.000Z | 2018-11-08T22:05:14.000Z | src/mirrage/graphic/src/device_memory.cpp | lowkey42/mirrage | 2527537989a548062d0bbca8370d063fc6b81a18 | [
"MIT"
] | 1 | 2018-09-26T23:10:06.000Z | 2018-09-26T23:10:06.000Z | #include <mirrage/graphic/device_memory.hpp>
#include <mirrage/utils/container_utils.hpp>
#include <mirrage/utils/ranges.hpp>
#include <gsl/gsl>
#include <bitset>
#include <cmath>
#include <mutex>
namespace mirrage::graphic {
namespace {
template <typename T>
constexpr T log2(T n)
{
return (n < 2) ? 0 :... | 31.559871 | 104 | 0.622488 |
f462bf81187f852842ba1d95b3d9cf9eafe6d815 | 707 | cshtml | C# | CustomerApp/CustomerApp/Views/Customer/DisplayCustomer.cshtml | yeoweeliat/Capstone-Project-3 | 38b5cd46c92330832fda937fb1252f5d6c8ea559 | [
"MIT"
] | null | null | null | CustomerApp/CustomerApp/Views/Customer/DisplayCustomer.cshtml | yeoweeliat/Capstone-Project-3 | 38b5cd46c92330832fda937fb1252f5d6c8ea559 | [
"MIT"
] | null | null | null | CustomerApp/CustomerApp/Views/Customer/DisplayCustomer.cshtml | yeoweeliat/Capstone-Project-3 | 38b5cd46c92330832fda937fb1252f5d6c8ea559 | [
"MIT"
] | null | null | null |
@model List<CustomerApp.Models.Customer>
@* @model CustomerApp.Models.Customer *@
@* strongly typed tries to catch error during compile time *@
@{
Layout = null;
}
<h2>This is the DisplayCustomer page</h2>
<form action="/Customer/Search" method="get">
Name: <input type="text" name="customerName" value... | 16.068182 | 61 | 0.526167 |
cdd9718ad84e35f74dca59b266c7d29ae676b12a | 11,302 | cs | C# | RavenChangesFailOver/Program.cs | tintoy/raven-changes-fail-over | 976eadc133b80fef82a167945eb255322f239f97 | [
"MIT"
] | null | null | null | RavenChangesFailOver/Program.cs | tintoy/raven-changes-fail-over | 976eadc133b80fef82a167945eb255322f239f97 | [
"MIT"
] | null | null | null | RavenChangesFailOver/Program.cs | tintoy/raven-changes-fail-over | 976eadc133b80fef82a167945eb255322f239f97 | [
"MIT"
] | null | null | null | using Raven.Abstractions.Data;
using Raven.Abstractions.Replication;
using Raven.Client;
using Raven.Client.Changes;
using Raven.Client.Document;
using Raven.Imports.Newtonsoft.Json;
using Raven.Json.Linq;
using Serilog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Disposable... | 31.747191 | 168 | 0.693594 |
059c92934e14ac5d982248a5716e9ff2d16213fa | 343 | py | Python | mrq-config.py | guillermosainz/instareplic | a4fb26269d54be1a140b1802a4d8013a6aa0ec70 | [
"MIT"
] | 53 | 2015-02-15T19:00:33.000Z | 2022-02-08T09:58:54.000Z | mrq-config.py | guillermosainz/instareplic | a4fb26269d54be1a140b1802a4d8013a6aa0ec70 | [
"MIT"
] | 5 | 2016-06-03T13:12:50.000Z | 2018-05-29T08:31:44.000Z | mrq-config.py | guillermosainz/instareplic | a4fb26269d54be1a140b1802a4d8013a6aa0ec70 | [
"MIT"
] | 15 | 2016-05-18T20:09:53.000Z | 2020-06-01T04:06:00.000Z | import os
MONGODB_JOBS = os.getenv("MONGOLAB_URI")
MONGODB_LOGS = os.getenv("MONGOLAB_URI")
MONGODB_LOGS_SIZE = 10 * 1024 * 1024
REDIS = os.getenv("REDISCLOUD_URL")
if os.getenv("MRQ_DASHBOARD_HTTPAUTH"):
DASHBOARD_HTTPAUTH = os.getenv("MRQ_DASHBOARD_HTTPAUTH")
TASKS = {
"mrq.basetasks.utils.JobAction": {"que... | 22.866667 | 62 | 0.740525 |
79a1735239142bc5800442b03fcaffb07abcea8e | 21,849 | php | PHP | app/vendor/soqrate/tcpdf/fonts/freeserifbi.php | tinapc/sortable | 2efa02f069756fbdff27d9bc6ef712db41fb9fd9 | [
"MIT"
] | 216 | 2019-08-23T08:42:36.000Z | 2022-03-12T14:58:57.000Z | app/vendor/soqrate/tcpdf/fonts/freeserifbi.php | tinapc/sortable | 2efa02f069756fbdff27d9bc6ef712db41fb9fd9 | [
"MIT"
] | 117 | 2015-01-13T02:30:52.000Z | 2021-04-21T18:23:07.000Z | app/vendor/soqrate/tcpdf/fonts/freeserifbi.php | tinapc/sortable | 2efa02f069756fbdff27d9bc6ef712db41fb9fd9 | [
"MIT"
] | 93 | 2019-09-06T01:14:29.000Z | 2022-03-27T05:18:27.000Z | <?php
$type='TrueTypeUnicode';
$name='FreeSerifBoldItalic';
$desc=array('Ascent'=>900,'Descent'=>-300,'CapHeight'=>-24,'Flags'=>96,'FontBBox'=>'[-787 -1120 1867 1571]','ItalicAngle'=>-16.3,'StemV'=>120,'MissingWidth'=>600);
$up=-125;
$ut=50;
$dw=600;
$cw=array(
32=>250,33=>389,34=>555,35=>500,36=>500,37=>833,38=>778,39... | 91.802521 | 163 | 0.676644 |
05d35d454a680f011fb0f6d5a66f5ed65ce0ef57 | 1,838 | py | Python | perma_web/perma/migrations/0037_auto_20181004_1709.py | rachelaus/perma | 36c05080520ea3ffce465dbc383795c060fa4112 | [
"MIT",
"Unlicense"
] | 317 | 2015-02-12T16:53:34.000Z | 2022-03-14T23:38:04.000Z | perma_web/perma/migrations/0037_auto_20181004_1709.py | rachelaus/perma | 36c05080520ea3ffce465dbc383795c060fa4112 | [
"MIT",
"Unlicense"
] | 2,069 | 2015-01-06T20:09:24.000Z | 2022-03-31T15:44:36.000Z | perma_web/perma/migrations/0037_auto_20181004_1709.py | rachelaus/perma | 36c05080520ea3ffce465dbc383795c060fa4112 | [
"MIT",
"Unlicense"
] | 69 | 2015-01-12T18:56:07.000Z | 2022-02-22T19:57:10.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.13 on 2018-10-04 17:09
from __future__ import unicode_literals
from django.db import migrations, models
def change_private_reason(apps, schema_editor):
# Links labeled 'Private by policy' created prior to this deployment
# were made private because of an imp... | 47.128205 | 307 | 0.68716 |
b75d5f6b53407b02a3ed08c0106c12f45f591815 | 1,267 | cs | C# | Rhino.Licensing.AdminTool/Dialogs/OpenFileDialog.cs | tpwalke2/rhino-licensing | 27686da8c32e763185f6e0da62d9c3c8be5d434e | [
"BSD-3-Clause"
] | 231 | 2015-01-06T22:10:34.000Z | 2022-02-15T00:13:49.000Z | Rhino.Licensing.AdminTool/Dialogs/OpenFileDialog.cs | tpwalke2/rhino-licensing | 27686da8c32e763185f6e0da62d9c3c8be5d434e | [
"BSD-3-Clause"
] | 14 | 2015-02-10T19:18:26.000Z | 2020-11-27T16:28:41.000Z | Rhino.Licensing.AdminTool/Dialogs/OpenFileDialog.cs | tpwalke2/rhino-licensing | 27686da8c32e763185f6e0da62d9c3c8be5d434e | [
"BSD-3-Clause"
] | 107 | 2015-01-27T19:01:36.000Z | 2022-03-16T18:17:15.000Z | using System.Windows.Forms;
using Rhino.Licensing.AdminTool.ViewModels;
using OpenDialog = System.Windows.Forms.OpenFileDialog;
namespace Rhino.Licensing.AdminTool.Dialogs
{
public class OpenFileDialog : FileDialog<IOpenFileDialogViewModel>
{
private readonly OpenDialog _openFileDialog;
... | 35.194444 | 75 | 0.659826 |
91e2a9953147fc49000488cb7e93008b3ef7705d | 42,668 | html | HTML | lab2/BufMgr/docs/file_8cpp_source.html | Zhang-Qing-Yun/HIT-DB-Lab | 2d0d9773c613e7d2af125012a4071b89f718227b | [
"Apache-2.0"
] | null | null | null | lab2/BufMgr/docs/file_8cpp_source.html | Zhang-Qing-Yun/HIT-DB-Lab | 2d0d9773c613e7d2af125012a4071b89f718227b | [
"Apache-2.0"
] | null | null | null | lab2/BufMgr/docs/file_8cpp_source.html | Zhang-Qing-Yun/HIT-DB-Lab | 2d0d9773c613e7d2af125012a4071b89f718227b | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>BadgerDB: bufmgr/sr... | 105.093596 | 962 | 0.723095 |
8dc220e6ba2c05c3089bdf86cada15d3bfdd0bc2 | 190 | js | JavaScript | src/components/email-popup/email-popup.stories.js | benjamingrobertson/remotefrontend | 905a508631b1e286b65f7668bf8f011c81b4bca7 | [
"MIT"
] | 16 | 2018-07-24T19:06:31.000Z | 2019-11-16T16:09:19.000Z | src/components/email-popup/email-popup.stories.js | benjamingrobertson/remotefrontend | 905a508631b1e286b65f7668bf8f011c81b4bca7 | [
"MIT"
] | 17 | 2021-05-05T17:45:04.000Z | 2022-02-12T05:04:37.000Z | src/components/email-popup/email-popup.stories.js | benrobertsonio/remotefrontend | 905a508631b1e286b65f7668bf8f011c81b4bca7 | [
"MIT"
] | 5 | 2020-01-23T10:36:24.000Z | 2020-10-23T06:36:54.000Z | import React from 'react';
import { storiesOf } from '@storybook/react';
import EmailPopup from './email-popup';
storiesOf('Email Popup', module).add('default', () => <EmailPopup open />);
| 31.666667 | 75 | 0.694737 |
815da0f8e7d3b9eac41fbebc1c10235a5db3fd23 | 7,500 | php | PHP | app/Views/modal/ranting backup.php | oets-man/iass-bkl | 94f0893a739106b7127766a1941a925764f839ee | [
"MIT"
] | null | null | null | app/Views/modal/ranting backup.php | oets-man/iass-bkl | 94f0893a739106b7127766a1941a925764f839ee | [
"MIT"
] | null | null | null | app/Views/modal/ranting backup.php | oets-man/iass-bkl | 94f0893a739106b7127766a1941a925764f839ee | [
"MIT"
] | null | null | null | <?php
echo $this->extend('layout/template');
?>
<?php
echo $this->section('content');
?>
<!-- Modal -->
<script>
$(document).ready(function() {
$("#modalRanting").modal('show');
});
</script>
<div class="modal fade" data-backdrop="static" id="modalRanting" tabindex="-1" role="dialog" aria-labelledby=... | 39.0625 | 163 | 0.375467 |
451797082b49b712bfd105311df289079b0b9cfa | 4,429 | swift | Swift | native_library/apple/WebViewANE/WebViewANE/SwiftController+FreSwift.swift | ylazy/WebViewANE | f37a1c439d0c0ce09601c12ac003b7b0e9ce1398 | [
"Apache-2.0",
"BSD-3-Clause"
] | 199 | 2017-01-07T06:49:35.000Z | 2022-02-17T10:59:01.000Z | native_library/apple/WebViewANE/WebViewANE/SwiftController+FreSwift.swift | ylazy/WebViewANE | f37a1c439d0c0ce09601c12ac003b7b0e9ce1398 | [
"Apache-2.0",
"BSD-3-Clause"
] | 232 | 2017-01-13T02:09:19.000Z | 2022-03-12T21:05:58.000Z | native_library/apple/WebViewANE/WebViewANE/SwiftController+FreSwift.swift | ylazy/WebViewANE | f37a1c439d0c0ce09601c12ac003b7b0e9ce1398 | [
"Apache-2.0",
"BSD-3-Clause"
] | 54 | 2017-01-13T00:33:52.000Z | 2022-03-07T01:44:40.000Z | // Copyright 2018 Tua Rua Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 44.29 | 116 | 0.680063 |
0f75355b64c1ff40496a599aa388a810400b7515 | 3,996 | lua | Lua | spec/lua/tracebundler/doc.lua | notomo/tracebundler.nvim | 64e212dceee49c30ad3e5aff35f8b00c976ba6ee | [
"MIT"
] | 3 | 2022-02-07T18:55:18.000Z | 2022-02-16T08:55:57.000Z | spec/lua/tracebundler/doc.lua | notomo/tracebundler.nvim | 64e212dceee49c30ad3e5aff35f8b00c976ba6ee | [
"MIT"
] | null | null | null | spec/lua/tracebundler/doc.lua | notomo/tracebundler.nvim | 64e212dceee49c30ad3e5aff35f8b00c976ba6ee | [
"MIT"
] | null | null | null | local util = require("genvdoc.util")
local plugin_name = vim.env.PLUGIN_NAME
local full_plugin_name = plugin_name .. ".nvim"
local example_path = ("./spec/lua/%s/example.lua"):format(plugin_name)
vim.o.runtimepath = vim.fn.getcwd() .. "," .. vim.o.runtimepath
dofile(example_path)
local example_lines = vim.api.nvim_buf... | 30.738462 | 100 | 0.60986 |
7970d09281b7a25047540647b2926f5b8146ef43 | 3,034 | php | PHP | resources/views/auth/register.blade.php | ibnushevayanto/learn-laravel | 14f81e6348fc9c9c7c8405dbbb76aa9da28bb406 | [
"MIT"
] | 1 | 2020-05-21T18:49:26.000Z | 2020-05-21T18:49:26.000Z | resources/views/auth/register.blade.php | ibnushevayanto/laravel-news-app | 14f81e6348fc9c9c7c8405dbbb76aa9da28bb406 | [
"MIT"
] | 5 | 2020-06-18T03:59:46.000Z | 2022-02-27T05:14:41.000Z | resources/views/auth/register.blade.php | ibnushevayanto/laravel-news-app | 14f81e6348fc9c9c7c8405dbbb76aa9da28bb406 | [
"MIT"
] | null | null | null | @extends('Layout.default')
@section('title', 'Register Account')
@section('content')
<div class="container mt-4">
<div class="row justify-content-md-center">
<div class="col-md-7">
<div class="bg-white p-3">
<h3 class="text-center">Registering Your Account</h3>
... | 48.15873 | 162 | 0.389914 |
884f155c9ada4b9ce1fed37cf7e91868d6d0e0a8 | 135 | cs | C# | src/Kernel/Contracts/Terra/BPsiTerraTransactionMessage.cs | pylonboard/dotnet-pylonboard-monolith | 9c64bcace110f4e6a1f88b149afa6d6a1ab0338d | [
"MIT"
] | null | null | null | src/Kernel/Contracts/Terra/BPsiTerraTransactionMessage.cs | pylonboard/dotnet-pylonboard-monolith | 9c64bcace110f4e6a1f88b149afa6d6a1ab0338d | [
"MIT"
] | 2 | 2022-02-21T19:57:45.000Z | 2022-02-23T10:30:37.000Z | src/Kernel/Contracts/Terra/BPsiTerraTransactionMessage.cs | pylonboard/dotnet-pylonboard-monolith | 9c64bcace110f4e6a1f88b149afa6d6a1ab0338d | [
"MIT"
] | null | null | null | namespace Pylonboard.Kernel.Contracts.Terra;
public record BPsiTerraTransactionMessage
{
public long TransactionId { get; set; }
} | 22.5 | 44 | 0.792593 |
12f29a89fbce45f40f49d239b3ed3adc7479265b | 8,014 | cs | C# | ConsensusCore.Domain/Services/StateMachine.cs | xucito/consensus-core | 0526dda7acee5fc44f2de882c55e605da53d4e37 | [
"MIT"
] | 3 | 2020-06-11T06:41:06.000Z | 2021-04-23T11:25:33.000Z | ConsensusCore.Domain/Services/StateMachine.cs | xucito/consensus-core | 0526dda7acee5fc44f2de882c55e605da53d4e37 | [
"MIT"
] | 1 | 2019-08-02T20:24:06.000Z | 2019-08-02T20:24:06.000Z | ConsensusCore.Domain/Services/StateMachine.cs | xucito/consensus-core | 0526dda7acee5fc44f2de882c55e605da53d4e37 | [
"MIT"
] | null | null | null | using ConsensusCore.Domain.BaseClasses;
using ConsensusCore.Domain.Interfaces;
using ConsensusCore.Domain.Models;
using ConsensusCore.Domain.Utility;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using ... | 33.115702 | 190 | 0.54592 |
8ec0f7a4c7d3323da09e2db615532b687c06b0ad | 1,402 | rs | Rust | contracts/rust/donatewithfeedback/src/lib.rs | avlo/wasp | fcb0d398625df9cef6899e5789720cd00f995b7e | [
"BSD-2-Clause"
] | null | null | null | contracts/rust/donatewithfeedback/src/lib.rs | avlo/wasp | fcb0d398625df9cef6899e5789720cd00f995b7e | [
"BSD-2-Clause"
] | null | null | null | contracts/rust/donatewithfeedback/src/lib.rs | avlo/wasp | fcb0d398625df9cef6899e5789720cd00f995b7e | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2020 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0
// (Re-)generated by schema tool
//////// DO NOT CHANGE THIS FILE! ////////
// Change the json schema instead
use donatewithfeedback::*;
use schema::*;
use wasmlib::*;
mod donatewithfeedback;
mod schema;
mod types;
#[no_mangle]
fn on_load() {
... | 24.596491 | 77 | 0.701141 |
e2e5e2657cd08bd936fea7d67556029c9477dddd | 2,043 | py | Python | mistral/db/sqlalchemy/migration/alembic_migrations/versions/037_add_namespace_column_to_action_definitions.py | shubhamdang/mistral | 3c83837f6ce1e4ab74fb519a63e82eaae70f9d2d | [
"Apache-2.0"
] | 205 | 2015-06-21T11:51:47.000Z | 2022-03-05T04:00:04.000Z | mistral/db/sqlalchemy/migration/alembic_migrations/versions/037_add_namespace_column_to_action_definitions.py | shubhamdang/mistral | 3c83837f6ce1e4ab74fb519a63e82eaae70f9d2d | [
"Apache-2.0"
] | 8 | 2015-06-23T14:47:58.000Z | 2021-01-28T06:06:44.000Z | mistral/db/sqlalchemy/migration/alembic_migrations/versions/037_add_namespace_column_to_action_definitions.py | shubhamdang/mistral | 3c83837f6ce1e4ab74fb519a63e82eaae70f9d2d | [
"Apache-2.0"
] | 110 | 2015-06-14T03:34:38.000Z | 2021-11-11T12:12:56.000Z | # Copyright 2020 Nokia Software.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 30.044118 | 73 | 0.709741 |
a00e704b1ca4a815e1645d869dbdf5ba0758a7a0 | 869 | ps1 | PowerShell | Set-UPN-FLast.ps1 | AndyFriar/Office-365-Scripts | 4c8b8e8fd4b1ff9f6ba20157f3b91083f8d21afc | [
"MIT"
] | null | null | null | Set-UPN-FLast.ps1 | AndyFriar/Office-365-Scripts | 4c8b8e8fd4b1ff9f6ba20157f3b91083f8d21afc | [
"MIT"
] | null | null | null | Set-UPN-FLast.ps1 | AndyFriar/Office-365-Scripts | 4c8b8e8fd4b1ff9f6ba20157f3b91083f8d21afc | [
"MIT"
] | null | null | null | <#
.SYNOPSIS
Script to change UserPrincipalName to FSurname@domain.com
.DESCRIPTION
Use when not in a hybrid environment as there are better scripts available
Ensure that OU is changed
.EXAMPLE
PS C:\> <example usage>
Explanation of what the example does
.INPUTS
Inputs (if any)
.OUTPUTS
Outp... | 25.558824 | 110 | 0.638665 |
fa5f68bd119be7aae46a424a7fce80d94573cbae | 551 | cpp | C++ | Sources/Pipeline/RenderPass.cpp | IvanPleshkov/RedLiliumEngine | 5e7c14d9c750db8054bde53b772e30e3682c2f1d | [
"Apache-2.0"
] | null | null | null | Sources/Pipeline/RenderPass.cpp | IvanPleshkov/RedLiliumEngine | 5e7c14d9c750db8054bde53b772e30e3682c2f1d | [
"Apache-2.0"
] | 1 | 2019-02-09T09:53:01.000Z | 2019-02-09T09:53:01.000Z | Sources/Pipeline/RenderPass.cpp | IvanPleshkov/RedLiliumEngine | 5e7c14d9c750db8054bde53b772e30e3682c2f1d | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "RenderPass.h"
#include "RenderPipeline.h"
using namespace RED_LILIUM_NAMESPACE;
RenderPass::RenderPass(ptr<RenderPipeline> pipeline)
: RedLiliumObject()
, m_pipeline(pipeline)
{}
ptr<RenderDevice> RenderPass::GetRenderDevice()
{
return m_pipeline->m_renderDevice;
}
const std::vector<pt... | 21.192308 | 86 | 0.787659 |
6b210b4a8e4d21e3f438ba0353b32e93ec568087 | 1,285 | js | JavaScript | website/src/parsers/js/esprima.js | Learn-form-Zakas/astexplorer | a786db682516280ec19a7dac61077ff107304c00 | [
"MIT"
] | 4,526 | 2015-12-08T06:26:24.000Z | 2022-03-31T09:21:39.000Z | website/src/parsers/js/esprima.js | Learn-form-Zakas/astexplorer | a786db682516280ec19a7dac61077ff107304c00 | [
"MIT"
] | 476 | 2015-12-08T06:13:55.000Z | 2022-03-27T08:04:15.000Z | website/src/parsers/js/esprima.js | Learn-form-Zakas/astexplorer | a786db682516280ec19a7dac61077ff107304c00 | [
"MIT"
] | 643 | 2015-12-12T18:38:51.000Z | 2022-03-30T16:17:13.000Z | import defaultParserInterface from './utils/defaultESTreeParserInterface';
import pkg from 'esprima/package.json';
const ID = 'esprima';
export default {
...defaultParserInterface,
id: ID,
displayName: ID,
version: pkg.version,
homepage: pkg.homepage,
locationProps: new Set(['range', 'loc']),
loadPars... | 18.897059 | 74 | 0.532296 |
7d579637a0297b085705b5ee347378b84462c8b2 | 843 | rb | Ruby | lib/abstractor/utility.rb | textractortechnologies/abstractor | 368d0da87abbe8b171280764be273383b46c4a6a | [
"MIT"
] | 1 | 2021-10-06T14:41:52.000Z | 2021-10-06T14:41:52.000Z | lib/abstractor/utility.rb | textractortechnologies/abstractor | 368d0da87abbe8b171280764be273383b46c4a6a | [
"MIT"
] | 107 | 2019-11-09T11:04:05.000Z | 2022-03-31T00:04:13.000Z | lib/abstractor/utility.rb | NUARIG/omop-abstractor | a9ae6fb82a98b0260c5087ef8b195583fe47d880 | [
"MIT"
] | null | null | null | module Abstractor
module Utility
def self.dehumanize(target)
result = target.to_s.dup
result.downcase.gsub(/ +/,'_')
end
def self.uniquify_overlapping_match_values(match_values)
match_values.sort! { |a,b| b.size <=> a.size }
normalized_match_values = []
sub_match_values = [... | 29.068966 | 60 | 0.653618 |
ff7d08e89cea6e49a0894be34a34d52052a38353 | 3,503 | py | Python | leds/jars/effects/holidaycolorwiper.py | FlamingLotusGirls/Serenity | c128182bfacc81ccc3782dc6a813bb30ba339d40 | [
"MIT"
] | 2 | 2019-05-26T03:30:22.000Z | 2019-05-30T21:59:25.000Z | pier14/opc-client/effects/holidaycolorwiper.py | FlamingLotusGirls/soma | df0da411d5b4e1f3a37a09fd4bd3ec3407aec7b5 | [
"Apache-2.0"
] | 10 | 2019-05-27T06:20:04.000Z | 2022-02-26T15:15:08.000Z | leds/jars/effects/holidaycolorwiper.py | FlamingLotusGirls/Serenity | c128182bfacc81ccc3782dc6a813bb30ba339d40 | [
"MIT"
] | 2 | 2019-05-22T16:11:37.000Z | 2019-07-22T18:00:08.000Z | import time
import numpy as np
import random
from util import randomColor, hsvColorAdd
from effectlayer import EffectLayer
from colorsys import hsv_to_rgb, rgb_to_hsv
class HolidayColorWiper(EffectLayer):
"""
Wipes between some number of specific colors.
Without the optional parameters, this behaves identi... | 35.03 | 87 | 0.626606 |
dd7be01c4d4e4fb45c7929a7c6292127af5b17e2 | 1,735 | java | Java | src/com/geeksforgeeks/strings/ImprovedNaivePatternSearchingForDistinct.java | kmestry/PROBLEM_SOLVING_HACKERRANK_LEETCODE | 2332ac6771ab9ebfa568a34104ff171400557503 | [
"MIT"
] | null | null | null | src/com/geeksforgeeks/strings/ImprovedNaivePatternSearchingForDistinct.java | kmestry/PROBLEM_SOLVING_HACKERRANK_LEETCODE | 2332ac6771ab9ebfa568a34104ff171400557503 | [
"MIT"
] | null | null | null | src/com/geeksforgeeks/strings/ImprovedNaivePatternSearchingForDistinct.java | kmestry/PROBLEM_SOLVING_HACKERRANK_LEETCODE | 2332ac6771ab9ebfa568a34104ff171400557503 | [
"MIT"
] | null | null | null | package com.geeksforgeeks.strings;
import java.util.ArrayList;
import java.util.List;
public class ImprovedNaivePatternSearchingForDistinct {
public static void main(String[] args) {
ImprovedNaivePatternSearchingForDistinct imp = new ImprovedNaivePatternSearchingForDistinct();
List<Integer> list... | 29.40678 | 102 | 0.5683 |
f4f78eabc63abc803cb8911af07c1ada84d4d86b | 1,389 | ts | TypeScript | src/http-exception.filter.ts | Troublor/jasmine-restful | 6fbecf6565bcc2e0a9e2a9eb98ab1d1e3a8b7a4e | [
"MIT"
] | null | null | null | src/http-exception.filter.ts | Troublor/jasmine-restful | 6fbecf6565bcc2e0a9e2a9eb98ab1d1e3a8b7a4e | [
"MIT"
] | null | null | null | src/http-exception.filter.ts | Troublor/jasmine-restful | 6fbecf6565bcc2e0a9e2a9eb98ab1d1e3a8b7a4e | [
"MIT"
] | null | null | null | import {ExceptionFilter, Catch, ArgumentsHost, HttpException} from "@nestjs/common";
import {Response} from "express";
import {ResponseGenerator} from "./modules/common/models/response.model";
@Catch(HttpException)
export class HttpExceptionFilter implements ExceptionFilter {
catch(exception: HttpException, host: ... | 39.685714 | 141 | 0.559395 |
3841d0020b469e420815e2faf4a88db38d4fb944 | 306 | php | PHP | app/LimiteAmount.php | valeria2204/backend-sistema-cotizacion | 5e745a81b2b0c2f86c24a6ade66062ef124447b7 | [
"MIT"
] | null | null | null | app/LimiteAmount.php | valeria2204/backend-sistema-cotizacion | 5e745a81b2b0c2f86c24a6ade66062ef124447b7 | [
"MIT"
] | null | null | null | app/LimiteAmount.php | valeria2204/backend-sistema-cotizacion | 5e745a81b2b0c2f86c24a6ade66062ef124447b7 | [
"MIT"
] | 1 | 2021-05-02T20:43:19.000Z | 2021-05-02T20:43:19.000Z | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class LimiteAmount extends Model
{
protected $fillable = [
'monto','dateStamp','steps','administrative_units_id'
];
public function AdministrativeUnit(){
return $this->belongsTo(AdministrativeUnit::class);
}
}
| 19.125 | 61 | 0.689542 |
9353523d2759289ca5211306080949c7e01d8c87 | 8,766 | go | Go | azuredevops/internal/service/core/resource_project_features_test.go | JohannesMoersch/terraform-provider-azuredevops | 6dfca17d91b92e9d101bc6fd2d2d8bbe9de9ca0f | [
"MIT"
] | 352 | 2019-09-30T17:52:18.000Z | 2022-03-24T17:57:40.000Z | azuredevops/internal/service/core/resource_project_features_test.go | JohannesMoersch/terraform-provider-azuredevops | 6dfca17d91b92e9d101bc6fd2d2d8bbe9de9ca0f | [
"MIT"
] | 639 | 2019-09-30T17:03:21.000Z | 2022-03-31T22:16:16.000Z | azuredevops/internal/service/core/resource_project_features_test.go | JohannesMoersch/terraform-provider-azuredevops | 6dfca17d91b92e9d101bc6fd2d2d8bbe9de9ca0f | [
"MIT"
] | 203 | 2019-10-06T14:31:15.000Z | 2022-03-22T08:46:30.000Z | // +build all core resource_project resource_project_features
// +build !exclude_resource_project_features
package core
// The tests in this file use the mock clients in mock_client.go to mock out
// the Azure DevOps client operations.
import (
"context"
"errors"
"fmt"
"testing"
"github.com/microsoft/azure-dev... | 35.064 | 162 | 0.76272 |
db9ba27d2123fb7c871770ca61aab455fdb7b96f | 1,407 | php | PHP | FormFactory/AbstractMessageFormFactory.php | Graceas/GrcsInternalMessagesBundle | 7f46d6e3fa755664e23d197eab73723a76ee0d9f | [
"MIT"
] | 1 | 2015-03-11T03:17:28.000Z | 2015-03-11T03:17:28.000Z | FormFactory/AbstractMessageFormFactory.php | Graceas/GrcsInternalMessagesBundle | 7f46d6e3fa755664e23d197eab73723a76ee0d9f | [
"MIT"
] | null | null | null | FormFactory/AbstractMessageFormFactory.php | Graceas/GrcsInternalMessagesBundle | 7f46d6e3fa755664e23d197eab73723a76ee0d9f | [
"MIT"
] | null | null | null | <?php
/*
* This file is part of the Grcs package.
*
* (c) Alexander Gorelov <grac.ga@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Grcs\InternalMessagesBundle\FormFactory;
use Symfony\Component\Form\Abstra... | 20.1 | 116 | 0.623312 |
6eefc6d6ac6a612fa33ef8ac47c7cf013626ef8d | 1,447 | dart | Dart | api_benchmark/lib/benchmarks/index.dart | jnstahl/protobuf.dart | 25b6a78421fb330e5c02ebb836e3f1ba1ba9610f | [
"BSD-3-Clause"
] | null | null | null | api_benchmark/lib/benchmarks/index.dart | jnstahl/protobuf.dart | 25b6a78421fb330e5c02ebb836e3f1ba1ba9610f | [
"BSD-3-Clause"
] | null | null | null | api_benchmark/lib/benchmarks/index.dart | jnstahl/protobuf.dart | 25b6a78421fb330e5c02ebb836e3f1ba1ba9610f | [
"BSD-3-Clause"
] | 1 | 2021-12-19T08:04:15.000Z | 2021-12-19T08:04:15.000Z | // Copyright (c) 2015, 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.
import '../benchmark.dart';
import '../generated/benchmark.pb.dart' as pb;
import 'get_strings.dart';
i... | 30.145833 | 77 | 0.733932 |
c9d08db4b58546024f41c742668c01661e39248a | 2,457 | ts | TypeScript | test/Arweave.service.test.ts | TheLoneRonin/SolanaArweaveBridge | f1877a0c4a594cc2302623712a6c974828cf8aa0 | [
"MIT"
] | 21 | 2020-07-30T23:51:54.000Z | 2022-02-18T10:07:11.000Z | test/Arweave.service.test.ts | TheLoneRonin/SolanaArweaveBridge | f1877a0c4a594cc2302623712a6c974828cf8aa0 | [
"MIT"
] | 5 | 2021-01-10T19:10:10.000Z | 2021-01-31T18:36:54.000Z | test/Arweave.service.test.ts | TheLoneRonin/SolanaArweaveBridge | f1877a0c4a594cc2302623712a6c974828cf8aa0 | [
"MIT"
] | 7 | 2020-09-16T09:19:24.000Z | 2022-02-27T16:16:43.000Z | import Arweave = require('arweave');
import { equal } from 'assert';
import { SolarweaveConfig } from '../src/Config';
import { ArweaveTransaction } from '../src/interface/Arweave.interface';
import { LoadWallet, GetBalance, SubmitBlocksToArweave } from '../src/service/Arweave.service';
export const arweave = Arweave.... | 31.909091 | 111 | 0.636142 |
df4f32cc70b73aabd878139df004497a6a1527c8 | 276 | rb | Ruby | boy.rb | ymhuang0808/ruby-self-practice | 67ce679669963061824ad41f39b46a6611a6389a | [
"Unlicense"
] | null | null | null | boy.rb | ymhuang0808/ruby-self-practice | 67ce679669963061824ad41f39b46a6611a6389a | [
"Unlicense"
] | null | null | null | boy.rb | ymhuang0808/ruby-self-practice | 67ce679669963061824ad41f39b46a6611a6389a | [
"Unlicense"
] | null | null | null | require_relative "access_control_blog"
class Male < Person
def introduce
super
talk my_sex
end
private
def my_sex
"My sex is male."
end
end
male = Male.new "Johnson", 26
male.introduce
puts male.send :my_age
male.send :talk, "private method is called" | 15.333333 | 43 | 0.713768 |
034e81772048149dbc3154e280b08309433d889b | 1,002 | rb | Ruby | test/test_stacks.rb | sunloverz/iron_worker_ruby_ng | 6c80429096af337c2a560f1c17b35b508a91ec47 | [
"BSD-2-Clause"
] | 22 | 2015-01-17T15:43:46.000Z | 2021-01-06T12:04:37.000Z | test/test_stacks.rb | sunloverz/iron_worker_ruby_ng | 6c80429096af337c2a560f1c17b35b508a91ec47 | [
"BSD-2-Clause"
] | 22 | 2015-01-07T11:21:31.000Z | 2017-03-03T18:56:17.000Z | test/test_stacks.rb | sunloverz/iron_worker_ruby_ng | 6c80429096af337c2a560f1c17b35b508a91ec47 | [
"BSD-2-Clause"
] | 4 | 2015-04-29T08:10:46.000Z | 2020-04-01T16:09:34.000Z | require_relative 'helpers'
class CodeCreateTest < IWNGTest
def self.startup
puts 'Starting stack tests'
puts 'Please, input cluster:'
@@cluster = gets.chomp
@@cluster = 'default' if @@cluster == ''
end
def test_create
stacks_list = client.stacks_list
assert stacks_list.is_a? Array
a... | 26.368421 | 88 | 0.671657 |
a498458162423baa814ac4ea63dda0cc203f6cdc | 1,338 | php | PHP | tests/RegexTests/MatchWithOffsetsTest.php | Seldaek/pcre | 121c9ed9702c96500efb71b6406baae6a5ebdaae | [
"MIT"
] | null | null | null | tests/RegexTests/MatchWithOffsetsTest.php | Seldaek/pcre | 121c9ed9702c96500efb71b6406baae6a5ebdaae | [
"MIT"
] | null | null | null | tests/RegexTests/MatchWithOffsetsTest.php | Seldaek/pcre | 121c9ed9702c96500efb71b6406baae6a5ebdaae | [
"MIT"
] | null | null | null | <?php
/*
* This file is part of composer/pcre.
*
* (c) Composer <https://github.com/composer>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Composer\Pcre\RegexTests;
use Composer\Pcre\BaseTestCase;
use Composer\Pcre\... | 25.730769 | 112 | 0.621076 |
a44328f06bcb905c389302d005c8f745aeb6d2d8 | 1,723 | php | PHP | database/migrations/2019_12_21_104243_create_books_table.php | ibrahimmina/bookmark_et | 0328449b49e4431a51fe54d14fe2ea9b5efb4f87 | [
"MIT"
] | null | null | null | database/migrations/2019_12_21_104243_create_books_table.php | ibrahimmina/bookmark_et | 0328449b49e4431a51fe54d14fe2ea9b5efb4f87 | [
"MIT"
] | null | null | null | database/migrations/2019_12_21_104243_create_books_table.php | ibrahimmina/bookmark_et | 0328449b49e4431a51fe54d14fe2ea9b5efb4f87 | [
"MIT"
] | null | null | null | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBooksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('books', function ... | 26.507692 | 64 | 0.52989 |
6585f64592b7b60ccbdb834fecf444dd4c526872 | 319 | swift | Swift | IDValidationSDK/IDValidationCVCell.swift | indama/validation | 32df1dc2671a270783c45d8a1773fe632c4f910d | [
"MIT"
] | null | null | null | IDValidationSDK/IDValidationCVCell.swift | indama/validation | 32df1dc2671a270783c45d8a1773fe632c4f910d | [
"MIT"
] | null | null | null | IDValidationSDK/IDValidationCVCell.swift | indama/validation | 32df1dc2671a270783c45d8a1773fe632c4f910d | [
"MIT"
] | null | null | null | //
// IDValidationCVCell.swift
// Medyear
//
// Created by Bahrom Abdullaev on 10/17/19.
// Copyright © 2019 Personiform. All rights reserved.
//
import UIKit
class IDValidationCVCell: UICollectionViewCell {
override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
}
}
| 16.789474 | 54 | 0.677116 |
ae00d0ae9d1068b90bd39e67ba825c3f104d283b | 6,343 | swift | Swift | LDMainFramework/Managers/LDImagePicker.swift | lazar89nis/LDFramework | 3f730c9c036bdedfe40902ace9f586d67c314f3e | [
"MIT"
] | null | null | null | LDMainFramework/Managers/LDImagePicker.swift | lazar89nis/LDFramework | 3f730c9c036bdedfe40902ace9f586d67c314f3e | [
"MIT"
] | null | null | null | LDMainFramework/Managers/LDImagePicker.swift | lazar89nis/LDFramework | 3f730c9c036bdedfe40902ace9f586d67c314f3e | [
"MIT"
] | null | null | null | //
// LDImagePicker.swift
// iOSTemplate
//
// Created by Lazar on 10/3/17.
// Copyright © 2017 Lazar. All rights reserved.
//
import UIKit
public typealias CompletionHandler = (_ success:Bool, _ res:AnyObject?) -> Void
// NOTE: Add NSCameraUsageDescription to plist file
open class LDImagePicker: NSObject, UIIm... | 40.14557 | 264 | 0.633139 |
a00c9d5edca192667f1eb578e5b49861911c2dfc | 789 | ts | TypeScript | kenkoooo/src/RustSolver.ts | manarimo/ICFPC2021 | f9a84a2ed312ac843056820db2349f97ac01c72c | [
"MIT"
] | null | null | null | kenkoooo/src/RustSolver.ts | manarimo/ICFPC2021 | f9a84a2ed312ac843056820db2349f97ac01c72c | [
"MIT"
] | null | null | null | kenkoooo/src/RustSolver.ts | manarimo/ICFPC2021 | f9a84a2ed312ac843056820db2349f97ac01c72c | [
"MIT"
] | null | null | null | import { Problem } from "./utils";
export const solveAnnealing = async (problem: Problem) => {
const module = await import("./wasm-rust/build");
const ans = module.solve_annealing(JSON.stringify(problem));
return JSON.parse(ans) as { vertices: [number, number][] };
};
export const solvePartialBruteForce = async... | 29.222222 | 73 | 0.641318 |
d05726041161b0a56f6c0fcaf1a4fb75ec047fea | 571 | cpp | C++ | src/ndhist/stats/mean.cpp | martwo/ndhist | 193cef3585b5d0277f0721bb9c3a1e78cc67cf1f | [
"BSD-2-Clause"
] | null | null | null | src/ndhist/stats/mean.cpp | martwo/ndhist | 193cef3585b5d0277f0721bb9c3a1e78cc67cf1f | [
"BSD-2-Clause"
] | null | null | null | src/ndhist/stats/mean.cpp | martwo/ndhist | 193cef3585b5d0277f0721bb9c3a1e78cc67cf1f | [
"BSD-2-Clause"
] | null | null | null | /**
* $Id$
*
* Copyright (C)
* 2015 - $Date$
* Martin Wolf <ndhist@martin-wolf.org>
*
* This file is distributed under the BSD 2-Clause Open Source License
* (See LICENSE file).
*
*/
#include <boost/python.hpp>
#include <ndhist/stats/expectation.hpp>
#include <ndhist/stats/mean.hpp>
namespace bp = boost... | 17.30303 | 70 | 0.672504 |
cd52eca093940f983c0c27edb637e98be1eeff1d | 2,319 | cs | C# | Texxtoor/Solution/Texxtoor.BaseLibrary.Globalization/Resources/GlobalizationResources.cs | joergkrause/texxtoor | 7fa126a3fcfa5fa783e1b64955c586b7ccb6f9da | [
"Apache-2.0"
] | null | null | null | Texxtoor/Solution/Texxtoor.BaseLibrary.Globalization/Resources/GlobalizationResources.cs | joergkrause/texxtoor | 7fa126a3fcfa5fa783e1b64955c586b7ccb6f9da | [
"Apache-2.0"
] | null | null | null | Texxtoor/Solution/Texxtoor.BaseLibrary.Globalization/Resources/GlobalizationResources.cs | joergkrause/texxtoor | 7fa126a3fcfa5fa783e1b64955c586b7ccb6f9da | [
"Apache-2.0"
] | 1 | 2021-04-09T13:47:39.000Z | 2021-04-09T13:47:39.000Z | using System.Web.UI;
[assembly: WebResource("Texxtoor.BaseLibrary.Globalization.Resources.editresources.png", "image/png")]
[assembly: WebResource("Texxtoor.BaseLibrary.Globalization.Resources.extractresources.png", "image/png")]
[assembly: WebResource("Texxtoor.BaseLibrary.Globalization.Resources.localize.gif", "imag... | 70.272727 | 125 | 0.786977 |
da822f7bccd74223ee3cf4dc66c7e927fc98bb7a | 207 | lua | Lua | lua/NSL/nsl_predict.lua | xToken/NSL | c58bcf857df00339ddd69f23bf8c0b7748ba7dd8 | [
"MIT"
] | 4 | 2016-01-15T10:12:06.000Z | 2022-01-01T15:50:08.000Z | lua/NSL/nsl_predict.lua | xToken/NSL | c58bcf857df00339ddd69f23bf8c0b7748ba7dd8 | [
"MIT"
] | 13 | 2015-10-31T09:03:14.000Z | 2020-09-23T22:10:23.000Z | lua/NSL/nsl_predict.lua | xToken/NSL | c58bcf857df00339ddd69f23bf8c0b7748ba7dd8 | [
"MIT"
] | 12 | 2015-10-30T17:16:54.000Z | 2020-04-17T07:19:41.000Z | -- Natural Selection League Plugin
-- Source located at - https://github.com/xToken/NSL
-- lua/NSL/nsl_predict.lua
-- - Dragon
-- Load shared defs
Script.Load("lua/NSL/nsl_shared.lua")
-- Load predict defs | 23 | 52 | 0.724638 |
972e82050a32f32d65dc2b91704f4dcde079b451 | 257 | sql | SQL | Algo and DSA/LeetCode-Solutions-master/MySQL/project-employees-i.sql | Sourav692/FAANG-Interview-Preparation | f523e5c94d582328b3edc449ea16ac6ab28cdc81 | [
"Unlicense"
] | 3,269 | 2018-10-12T01:29:40.000Z | 2022-03-31T17:58:41.000Z | Algo and DSA/LeetCode-Solutions-master/MySQL/project-employees-i.sql | Sourav692/FAANG-Interview-Preparation | f523e5c94d582328b3edc449ea16ac6ab28cdc81 | [
"Unlicense"
] | 53 | 2018-12-16T22:54:20.000Z | 2022-02-25T08:31:20.000Z | Algo and DSA/LeetCode-Solutions-master/MySQL/project-employees-i.sql | Sourav692/FAANG-Interview-Preparation | f523e5c94d582328b3edc449ea16ac6ab28cdc81 | [
"Unlicense"
] | 1,236 | 2018-10-12T02:51:40.000Z | 2022-03-30T13:30:37.000Z | # Time: O(m + n)
# Space: O(m + n)
SELECT project_id,
Round(Avg(experience_years), 2) AS average_years
FROM project AS p
INNER JOIN employee AS e
ON p.employee_id = e.employee_id
GROUP BY project_id
ORDER BY NULL
| 23.363636 | 56 | 0.618677 |
c6fc2baefa5f72ec18c66ad365899e55c5309157 | 133 | dart | Dart | lib/utils/log/log.dart | kinstugi/formletics_apps | 37337e525aa68ffea63c5105a1b1f2fb3338a51c | [
"MIT"
] | null | null | null | lib/utils/log/log.dart | kinstugi/formletics_apps | 37337e525aa68ffea63c5105a1b1f2fb3338a51c | [
"MIT"
] | null | null | null | lib/utils/log/log.dart | kinstugi/formletics_apps | 37337e525aa68ffea63c5105a1b1f2fb3338a51c | [
"MIT"
] | null | null | null | import 'package:formletics/common/di/di.dart';
import 'package:formletics/utils/log/log_it.dart';
final LogIt log = getIt<LogIt>();
| 26.6 | 50 | 0.759398 |
4416992cc88da492004ed7550dd52bf477adea50 | 5,200 | py | Python | pytorch_blitz/training_classifier.py | franpena-kth/learning-deep-learning | 9cd287b602dee1358672c4189445721a9c24f107 | [
"MIT"
] | null | null | null | pytorch_blitz/training_classifier.py | franpena-kth/learning-deep-learning | 9cd287b602dee1358672c4189445721a9c24f107 | [
"MIT"
] | null | null | null | pytorch_blitz/training_classifier.py | franpena-kth/learning-deep-learning | 9cd287b602dee1358672c4189445721a9c24f107 | [
"MIT"
] | null | null | null | import time
import numpy
import torch
import torchvision
from torchvision import transforms
from matplotlib import pyplot
from torch import nn
from torch.nn import functional
from torch import optim
PATH = './cifar_net.pth'
def load_cifar10():
transform = transforms.Compose([
transforms.ToTensor(),
... | 29.545455 | 106 | 0.596923 |
794eb9f2401789267663ff35cd093e21d5b114d5 | 2,629 | php | PHP | src/Cache/It/ItRedis.php | ti0rafa/sparky7 | 5439ace021b270bf0f94d21dd77ae14b302bbf57 | [
"MIT"
] | null | null | null | src/Cache/It/ItRedis.php | ti0rafa/sparky7 | 5439ace021b270bf0f94d21dd77ae14b302bbf57 | [
"MIT"
] | null | null | null | src/Cache/It/ItRedis.php | ti0rafa/sparky7 | 5439ace021b270bf0f94d21dd77ae14b302bbf57 | [
"MIT"
] | null | null | null | <?php
namespace Sparky7\Cache\It;
use Psr\SimpleCache\CacheInterface;
use Redis;
/**
* Redis Cache Interface.
*/
class ItRedis implements CacheInterface
{
private $Redis;
private $ttl;
/**
* Construct.
*
* @param Redis $Redis Redis connection
* @param int $ttl Time to live
... | 18.913669 | 61 | 0.491061 |
2c4147066ed685fb08b59b9fc4c5102a1aaa763f | 338 | py | Python | madrona/layers/admin.py | movermeyer/madrona | fcdced0a03408754b88a3d88f416e04d500c32d4 | [
"BSD-3-Clause"
] | 9 | 2015-03-09T11:04:21.000Z | 2022-01-16T09:45:36.000Z | madrona/layers/admin.py | movermeyer/madrona | fcdced0a03408754b88a3d88f416e04d500c32d4 | [
"BSD-3-Clause"
] | 1 | 2020-04-24T14:38:43.000Z | 2020-04-24T14:38:43.000Z | madrona/layers/admin.py | movermeyer/madrona | fcdced0a03408754b88a3d88f416e04d500c32d4 | [
"BSD-3-Clause"
] | 2 | 2016-12-06T15:31:35.000Z | 2018-03-04T20:04:44.000Z | from django.contrib import admin
from madrona.layers.models import *
class PublicLayerListAdmin(admin.ModelAdmin):
list_display = ('kml_file', 'active', 'creation_date',)
class PrivateKmlAdmin(admin.ModelAdmin):
pass
admin.site.register(PublicLayerList, PublicLayerListAdmin)
admin.site.register(PrivateKml,... | 26 | 59 | 0.795858 |
f130affcf2f5bc3788d95f829c01ee2066942c49 | 1,808 | rb | Ruby | lib/liebre/actor/rpc/client/core.rb | iadbox/liebre | 252519b8f56c6240869d8a28b3738a9d461ca1ba | [
"MIT"
] | 1 | 2017-03-20T16:30:58.000Z | 2017-03-20T16:30:58.000Z | lib/liebre/actor/rpc/client/core.rb | iadbox/liebre | 252519b8f56c6240869d8a28b3738a9d461ca1ba | [
"MIT"
] | null | null | null | lib/liebre/actor/rpc/client/core.rb | iadbox/liebre | 252519b8f56c6240869d8a28b3738a9d461ca1ba | [
"MIT"
] | null | null | null | module Liebre
module Actor
module RPC
class Client
class Core
OPTS = {:block => false, :manual_ack => false}
EXPIRE_INTERVAL = 60
def initialize client, resources, context, pending, task
@client = client
@resources = resources
... | 23.789474 | 88 | 0.511062 |
b8a991e8f4f5d205f3ad8f7b3fdc9438dd9995f5 | 665 | h | C | Testsuite/Application/Tests.h | stellarpower/new_cast-Implementation | 994f7d0611da4db72fabbeea5b25a33c3e35ef96 | [
"BSL-1.0"
] | 2 | 2018-02-22T05:22:42.000Z | 2018-02-27T18:59:43.000Z | Testsuite/Application/Tests.h | stellarpower/new_cast-Implementation | 994f7d0611da4db72fabbeea5b25a33c3e35ef96 | [
"BSL-1.0"
] | null | null | null | Testsuite/Application/Tests.h | stellarpower/new_cast-Implementation | 994f7d0611da4db72fabbeea5b25a33c3e35ef96 | [
"BSL-1.0"
] | null | null | null | // Copyright Benjamin Southall 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef TESTS_H
#define TESTS_H
#include "TestsShared.h"
void testPolymorphicProperties(Logger &logge... | 19.558824 | 61 | 0.771429 |
f18c23b44ee6d3c6d0fa60e1adc5d0000e8ba8e4 | 1,569 | rb | Ruby | 24_partition.rb | petertseng/adventofcode | 48a6ba4287a5373d70685ac4d58422042156f7d4 | [
"Apache-2.0"
] | 2 | 2017-12-27T15:12:58.000Z | 2020-09-24T13:59:43.000Z | 24_partition.rb | petertseng/adventofcode | 48a6ba4287a5373d70685ac4d58422042156f7d4 | [
"Apache-2.0"
] | null | null | null | 24_partition.rb | petertseng/adventofcode | 48a6ba4287a5373d70685ac4d58422042156f7d4 | [
"Apache-2.0"
] | null | null | null | require_relative 'lib/ckk'
verbose = ARGV.delete('-v')
weights = ARGF.each_line.map(&method(:Integer)).freeze
def min_needed(weights, target)
# This is dodgy - a take_while with state
weight_so_far = 0
weights.sort.reverse.take_while { |n|
weight_so_far += n
weight_so_far < target
}.size + 1
end
mod... | 28.017857 | 75 | 0.671128 |
6b7e0633b06b93abf086cd196cd7fd87ddeaf91b | 766 | js | JavaScript | frontend/src/components/shared/chart/defaults.js | play-log/playlog | ff113930cb26130985d4ef0fcf078ffb5e3a6f30 | [
"MIT"
] | 3 | 2018-08-16T15:53:11.000Z | 2020-02-06T04:12:52.000Z | frontend/src/components/shared/chart/defaults.js | play-log/playlog | ff113930cb26130985d4ef0fcf078ffb5e3a6f30 | [
"MIT"
] | null | null | null | frontend/src/components/shared/chart/defaults.js | play-log/playlog | ff113930cb26130985d4ef0fcf078ffb5e3a6f30 | [
"MIT"
] | 1 | 2021-01-22T19:04:56.000Z | 2021-01-22T19:04:56.000Z | import ChartJS from 'chart.js';
ChartJS.defaults.global.defaultFontColor = '#bbbbbb';
ChartJS.defaults.global.elements.point.backgroundColor = 'rgba(255, 80, 80, 0.9)';
ChartJS.defaults.global.elements.line.backgroundColor = 'rgba(255, 80, 80, 0.4)';
ChartJS.defaults.global.elements.line.borderWidth = 1;
ChartJS.defa... | 47.875 | 86 | 0.754569 |
d03bb81d8ae81df9c7ffa78f6931d124b66881d9 | 1,542 | hpp | C++ | include/Framework/Button.hpp | AdlanSADOU/SDL_Space | b8c72b50942b939be0207d8ecd9c924d1124ceb7 | [
"Unlicense"
] | 1 | 2020-08-20T17:42:11.000Z | 2020-08-20T17:42:11.000Z | include/Framework/Button.hpp | AdlanSADOU/SDL_Space | b8c72b50942b939be0207d8ecd9c924d1124ceb7 | [
"Unlicense"
] | null | null | null | include/Framework/Button.hpp | AdlanSADOU/SDL_Space | b8c72b50942b939be0207d8ecd9c924d1124ceb7 | [
"Unlicense"
] | null | null | null | /*
** EPITECH PROJECT, 2020
** SDL_Space
** File description:
** Button
*/
#ifndef BUTTON_HPP_
#define BUTTON_HPP_
#include "Entity.hpp"
enum buttonState {
IDLE,
HOVER,
CLICKED
};
class Button : public Entity {
public:
Button();
Button(SDL_Renderer *renderer);... | 25.7 | 96 | 0.568093 |
394d7598f1cb01b047b0bbdc5bdb395e57942b61 | 3,673 | py | Python | src/python/marbles/ie/kb/test/spell_test.py | marbles-ai/ie | b3fef462d3418580c827c94bc206bd2991500c1f | [
"MIT"
] | null | null | null | src/python/marbles/ie/kb/test/spell_test.py | marbles-ai/ie | b3fef462d3418580c827c94bc206bd2991500c1f | [
"MIT"
] | null | null | null | src/python/marbles/ie/kb/test/spell_test.py | marbles-ai/ie | b3fef462d3418580c827c94bc206bd2991500c1f | [
"MIT"
] | null | null | null | from __future__ import unicode_literals, print_function
import unittest
import os
import StringIO
from marbles.ie.kb.spell import SymSpell, BEST_SUGGESTION, NBEST_SUGGESTIONS, ALL_SUGGESTIONS
from marbles import PROJDIR
from marbles.test import dprint, DPRINT_ON
class SymSpellTestCase(unittest.TestCase):
def test... | 43.211765 | 111 | 0.656684 |
23ba45ee6668f08b473267ef6f4dc7f0ed7d4b88 | 466 | js | JavaScript | src/entity/Container.js | evrythng/evrythng.js | f60d1c2ae20068954b5f059dfae60f17575eb372 | [
"Apache-2.0"
] | 25 | 2015-02-13T18:05:04.000Z | 2021-12-20T20:51:32.000Z | src/entity/Container.js | evrythng/evrythng.js | f60d1c2ae20068954b5f059dfae60f17575eb372 | [
"Apache-2.0"
] | 11 | 2016-06-09T12:39:27.000Z | 2021-01-28T16:34:51.000Z | src/entity/Container.js | evrythng/evrythng.js | f60d1c2ae20068954b5f059dfae60f17575eb372 | [
"Apache-2.0"
] | 8 | 2015-03-10T16:01:23.000Z | 2021-06-02T18:54:45.000Z | import Entity from './Entity'
import Resource from '../resource/Resource'
const path = '/containers'
/**
* Represents a Container entity object.
*
* @extends Entity
*/
export default class Container extends Entity {
/**
* Return simple resource factory for shipment notice containers.
*
* @static
* @... | 19.416667 | 67 | 0.665236 |
97bba21fc541e1097e8cd706d23ac0a739dc0469 | 531 | ts | TypeScript | api/poker.ts | kevin940726/slack-poker | 4c39d66dc8a0620330306e510231bd4730e7b5aa | [
"MIT"
] | null | null | null | api/poker.ts | kevin940726/slack-poker | 4c39d66dc8a0620330306e510231bd4730e7b5aa | [
"MIT"
] | 5 | 2020-06-08T03:17:53.000Z | 2022-01-22T11:34:19.000Z | api/poker.ts | kevin940726/slack-poker | 4c39d66dc8a0620330306e510231bd4730e7b5aa | [
"MIT"
] | null | null | null | import { NowRequest, NowResponse } from '@now/node';
import NewPokerModal from '../components/NewPokerModal';
import { web } from '../lib/apis';
import verify from '../lib/verify';
export default async (req: NowRequest, res: NowResponse) => {
if (req.method !== 'POST') {
res.status(404);
return;
}
await... | 21.24 | 61 | 0.636535 |
5bf569a8de40780e591582fcc6d515ca0b6ee4fe | 723 | css | CSS | build/out/dark.css | digitalsatori/sketch-n-sketch | d69577e27049059fb6b701d4f71548bc25adb07b | [
"MIT"
] | 565 | 2015-07-18T14:02:34.000Z | 2022-03-27T10:31:18.000Z | build/out/dark.css | digitalsatori/sketch-n-sketch | d69577e27049059fb6b701d4f71548bc25adb07b | [
"MIT"
] | 49 | 2015-07-17T18:11:22.000Z | 2019-07-15T03:05:42.000Z | build/out/dark.css | digitalsatori/sketch-n-sketch | d69577e27049059fb6b701d4f71548bc25adb07b | [
"MIT"
] | 44 | 2015-08-07T16:25:35.000Z | 2021-04-27T01:17:20.000Z | :root {
--main-bg-color: #333333;
--panel-bg-color: #222222;
--prose-code-bg-color: #444444;
--hover-effect-bg-color: rgba(255, 255, 255, 0.1);
--text-color: #CCCCCC;
--subtle-text-color: #888888;
--active-text-color: #FFFFFF;
--disabled-text-color: #555555;
--alert-warning-text-color: #FF3300;
--... | 24.1 | 59 | 0.632089 |
f464e2b870fc3dc0565e4ae4c2e830f092e2045e | 321 | cs | C# | Metrics/Json/JsonMetric.cs | locmxse60602/microdot | bca2724b634a8ac22c47c13230b00b58bbc83e2a | [
"Apache-2.0"
] | 1,452 | 2017-06-04T14:19:24.000Z | 2022-03-30T12:46:53.000Z | Metrics/Json/JsonMetric.cs | locmxse60602/microdot | bca2724b634a8ac22c47c13230b00b58bbc83e2a | [
"Apache-2.0"
] | 33 | 2017-06-06T09:04:40.000Z | 2021-07-05T13:39:29.000Z | Metrics/Json/JsonMetric.cs | locmxse60602/microdot | bca2724b634a8ac22c47c13230b00b58bbc83e2a | [
"Apache-2.0"
] | 251 | 2017-06-04T13:45:19.000Z | 2022-03-11T03:23:15.000Z |
namespace Metrics.Json
{
public class JsonMetric
{
private string[] tags = MetricTags.None.Tags;
public string Name { get; set; }
public string Unit { get; set; }
public string[] Tags { get { return this.tags; } set { this.tags = value ?? new string[0]; } }
}
}
... | 24.692308 | 103 | 0.557632 |
977b7388e6fad7a3f19d3c412cb81b45108900eb | 1,211 | ts | TypeScript | client/src/actions/healthStatus.ts | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | client/src/actions/healthStatus.ts | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | client/src/actions/healthStatus.ts | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | import { Action } from 'redux';
import { BASE_URL } from '../constants/api';
import { handleAuthError } from '../constants/utils';
export enum actionTypes {
FETCH_HEALTH_STATUS = 'FETCH_HEALTH_STATUS',
RECEIVE_HEALTH_STATUS = 'RECEIVE_HEALTH_STATUS',
}
export interface FetchHealthStatusAction extends Action {
... | 28.162791 | 109 | 0.706028 |
a3238dc6f50a47422b7b80be1276722dfc6a242b | 2,809 | java | Java | cave/com.raytheon.uf.viz.gl.triangulated/src/com/raytheon/uf/viz/gl/triangulated/GLTriangulatedImageExtension.java | srcarter3/awips2 | 37f31f5e88516b9fd576eaa49d43bfb762e1d174 | [
"Apache-2.0"
] | null | null | null | cave/com.raytheon.uf.viz.gl.triangulated/src/com/raytheon/uf/viz/gl/triangulated/GLTriangulatedImageExtension.java | srcarter3/awips2 | 37f31f5e88516b9fd576eaa49d43bfb762e1d174 | [
"Apache-2.0"
] | null | null | null | cave/com.raytheon.uf.viz.gl.triangulated/src/com/raytheon/uf/viz/gl/triangulated/GLTriangulatedImageExtension.java | srcarter3/awips2 | 37f31f5e88516b9fd576eaa49d43bfb762e1d174 | [
"Apache-2.0"
] | 1 | 2021-10-30T00:03:05.000Z | 2021-10-30T00:03:05.000Z | /**
* This software was developed and / or modified by Raytheon Company,
* pursuant to Contract DG133W-05-CQ-1067 with the US Government.
*
* U.S. EXPORT CONTROLLED TECHNICAL DATA
* This software product contains export-restricted data whose
* export/transfer/disclosure is restricted by U.S. law. Dissemination
... | 35.1125 | 79 | 0.693129 |
11ab9644a79415a4638ccf663849ce1f07557fef | 6,852 | lua | Lua | src/cosy/server/http/header.lua | idsok/cosyverif-server | e1831252ccbe9078020b3e10f31e8219e597a20b | [
"MIT"
] | null | null | null | src/cosy/server/http/header.lua | idsok/cosyverif-server | e1831252ccbe9078020b3e10f31e8219e597a20b | [
"MIT"
] | null | null | null | src/cosy/server/http/header.lua | idsok/cosyverif-server | e1831252ccbe9078020b3e10f31e8219e597a20b | [
"MIT"
] | null | null | null | -- http://stackoverflow.com/questions/20284515/capitalize-first-letter-of-every-word-in-lua
function string:to_http ()
return self:gsub ("_", "-"):gsub ("(%a)(%a*)", function (letter, r)
return letter:upper() .. r:lower()
end)
end
function string:to_identifier ()
return self:trim ():lower ():gsub ("-", "_")
... | 24.126761 | 91 | 0.67805 |
c9d59375a9c77eba563bbdf9721275ea5f5dddaf | 543 | tsx | TypeScript | src/templates/MyPages/index.tsx | luiizsilverio/my-trips | 05285f97f27e458be3904c805d0006df1b4f21b7 | [
"MIT"
] | null | null | null | src/templates/MyPages/index.tsx | luiizsilverio/my-trips | 05285f97f27e458be3904c805d0006df1b4f21b7 | [
"MIT"
] | null | null | null | src/templates/MyPages/index.tsx | luiizsilverio/my-trips | 05285f97f27e458be3904c805d0006df1b4f21b7 | [
"MIT"
] | null | null | null | import { CloseOutline } from '@styled-icons/evaicons-outline'
import * as S from "./styles"
import LinkWrapper from "@/components/LinkWrapper"
export type PageProps = {
heading: string
body: string
}
const MyPagesTemplate = ({heading, body}: PageProps) => (
<S.Content>
<LinkWrapper href="/">
<CloseOu... | 20.111111 | 61 | 0.640884 |
b76fc7ee7b93c7c139178ce1253a26e2d3bfcd36 | 116 | cs | C# | EntitySynchronization/EntitySynchronizationClient/EntitySynchronizationClient.cs | uDevDE/EntitySynchronization | 799815690ac8bfdb28db6ef82413c33de32f9b71 | [
"MIT"
] | null | null | null | EntitySynchronization/EntitySynchronizationClient/EntitySynchronizationClient.cs | uDevDE/EntitySynchronization | 799815690ac8bfdb28db6ef82413c33de32f9b71 | [
"MIT"
] | null | null | null | EntitySynchronization/EntitySynchronizationClient/EntitySynchronizationClient.cs | uDevDE/EntitySynchronization | 799815690ac8bfdb28db6ef82413c33de32f9b71 | [
"MIT"
] | null | null | null | using System;
namespace EntitySynchronization.Client
{
public class EntitySynchronizationClient
{
}
}
| 12.888889 | 44 | 0.732759 |
f5c959c9c7d4b264ce7853dcd375e1bbe810ed2c | 53 | css | CSS | build/aui-scheduler/assets/aui-scheduler-view-week-core.css | alanzh/alloy-ui | 215606ca485b3594febd88dad85249a4eaf78392 | [
"BSD-3-Clause"
] | null | null | null | build/aui-scheduler/assets/aui-scheduler-view-week-core.css | alanzh/alloy-ui | 215606ca485b3594febd88dad85249a4eaf78392 | [
"BSD-3-Clause"
] | null | null | null | build/aui-scheduler/assets/aui-scheduler-view-week-core.css | alanzh/alloy-ui | 215606ca485b3594febd88dad85249a4eaf78392 | [
"BSD-3-Clause"
] | null | null | null | .aui-scheduler-view-week-hidden {
display: none;
}
| 13.25 | 33 | 0.698113 |
df2e2aa2f2e72c523affc3990fa343095fa13523 | 371 | cs | C# | Util/Stringify.cs | jalbert-dev/mystower | 8a726c9c9670e94e32669bb02614baa18e0fbf9d | [
"MIT"
] | null | null | null | Util/Stringify.cs | jalbert-dev/mystower | 8a726c9c9670e94e32669bb02614baa18e0fbf9d | [
"MIT"
] | null | null | null | Util/Stringify.cs | jalbert-dev/mystower | 8a726c9c9670e94e32669bb02614baa18e0fbf9d | [
"MIT"
] | null | null | null | using Newtonsoft.Json;
namespace Util
{
public static class Stringify
{
public static string ToPrettyJson(this object self)
=> $"{self.GetType().Name} => {JsonConvert.SerializeObject(self, Formatting.Indented)}";
public static string ToJson(this object self)
=> JsonConv... | 30.916667 | 100 | 0.665768 |
90a212564ada09c861326e41c8515d530c157ea3 | 1,027 | kt | Kotlin | 2015/kt/src/test/kotlin/org/adventofcode/Dijkstra.kt | windmaomao/adventofcode | 64362397a7a94c8049a7fe98fe57e73ae1704297 | [
"MIT"
] | null | null | null | 2015/kt/src/test/kotlin/org/adventofcode/Dijkstra.kt | windmaomao/adventofcode | 64362397a7a94c8049a7fe98fe57e73ae1704297 | [
"MIT"
] | null | null | null | 2015/kt/src/test/kotlin/org/adventofcode/Dijkstra.kt | windmaomao/adventofcode | 64362397a7a94c8049a7fe98fe57e73ae1704297 | [
"MIT"
] | null | null | null | package org.adventofcode
data class Dijkstra(val map: Map) {
val breadcrumbs: HashMap<String, Pair<String, Int>> = hashMapOf()
val visited: MutableList<String> = mutableListOf()
private fun goForward(start: String, pcost: Int) {
map.edges[start]?.forEach { node, cost ->
breadcrumbs.put(node, Pair(star... | 23.883721 | 67 | 0.592989 |
0d35626460382dc3be295c5e2d5c368a04415bea | 1,166 | cs | C# | JsonPersistence/AJsonRepository.cs | xfleckx/EventSourcing | 768994ac7e8767bbeae604ee85bc06628b181926 | [
"MIT"
] | null | null | null | JsonPersistence/AJsonRepository.cs | xfleckx/EventSourcing | 768994ac7e8767bbeae604ee85bc06628b181926 | [
"MIT"
] | null | null | null | JsonPersistence/AJsonRepository.cs | xfleckx/EventSourcing | 768994ac7e8767bbeae604ee85bc06628b181926 | [
"MIT"
] | null | null | null | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EventSourcing.JsonPersistence
{
public abstract class AJsonRepository<T> : IDisposable
{
private FileInfo fileInfo;
protected Li... | 25.347826 | 87 | 0.572899 |
742ca4b319011cf87e7534fb8f61c62320f2c12f | 1,987 | ps1 | PowerShell | Public/Set-ConsoleWindow.ps1 | Woznet/WozLab | ebd591ef0f1c93bd5e9aa99ac63cb83014725156 | [
"MIT"
] | 1 | 2021-01-05T21:31:11.000Z | 2021-01-05T21:31:11.000Z | Public/Set-ConsoleWindow.ps1 | Woznet/WozTools | 6e4bde31e93c2d9d668ef8d61a65def6f163b8c5 | [
"MIT"
] | null | null | null | Public/Set-ConsoleWindow.ps1 | Woznet/WozTools | 6e4bde31e93c2d9d668ef8d61a65def6f163b8c5 | [
"MIT"
] | null | null | null | function Set-ConsoleWindow {
param(
[Parameter(ParameterSetName='Hide')]
[switch]$Hide,
[Parameter(ParameterSetName='ShowNormal')]
[switch]$ShowNormal,
[Parameter(ParameterSetName='ShowMinimized')]
[switch]$ShowMinimized,
[Parameter(ParameterSetName='ShowMaximized')]
[switch]$ShowMaxim... | 32.048387 | 85 | 0.651233 |
0bddb74aab6b3b2465e47ff7fb2b6aadb8817285 | 48,248 | cc | C++ | src/mavsdk_server/src/generated/shell/shell.pb.cc | rworrall/MAVSDK | 634f171bb5b492e2d5bd6453f54e7e88c603899e | [
"BSD-3-Clause"
] | 275 | 2019-06-13T17:50:40.000Z | 2022-03-28T01:03:01.000Z | src/mavsdk_server/src/generated/shell/shell.pb.cc | rworrall/MAVSDK | 634f171bb5b492e2d5bd6453f54e7e88c603899e | [
"BSD-3-Clause"
] | 655 | 2019-06-07T13:08:12.000Z | 2022-03-23T04:51:21.000Z | src/mavsdk_server/src/generated/shell/shell.pb.cc | rworrall/MAVSDK | 634f171bb5b492e2d5bd6453f54e7e88c603899e | [
"BSD-3-Clause"
] | 299 | 2019-06-10T06:58:58.000Z | 2022-03-25T04:14:34.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: shell/shell.proto
#include "shell/shell.pb.h"
#include <algorithm>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/descriptor.h>
#incl... | 39.808581 | 178 | 0.748674 |
7f801e21f2a702978879efd584d5751cbd037e77 | 458 | php | PHP | config.default.inc.php | onassar/TurtlePHP-MemcachedSessionPlugin | 716205bd3e69e07cdd305dde4730b16e8d774db0 | [
"MIT"
] | null | null | null | config.default.inc.php | onassar/TurtlePHP-MemcachedSessionPlugin | 716205bd3e69e07cdd305dde4730b16e8d774db0 | [
"MIT"
] | null | null | null | config.default.inc.php | onassar/TurtlePHP-MemcachedSessionPlugin | 716205bd3e69e07cdd305dde4730b16e8d774db0 | [
"MIT"
] | null | null | null | <?php
/**
* Plugin Config Data
*
*/
$expiry = 0;
$host = '.' . ($_SERVER['HTTP_HOST']);
$name = 'session';
$servers = array();
$server = array('127.0.0.1', '11211');
array_push($servers, $server);
$pluginConfigData = compact('expiry', 'host', 'name', 'servers');
/**... | 21.809524 | 69 | 0.528384 |
0ae9632e7a83f776d1376ec2684eb19dce8c074c | 4,668 | cs | C# | Common/HelpViewer.cs | jonnosan/MIDIopsy | 5c0eee2e81e5e1e777c2c72dd359bdba608f730c | [
"MIT"
] | null | null | null | Common/HelpViewer.cs | jonnosan/MIDIopsy | 5c0eee2e81e5e1e777c2c72dd359bdba608f730c | [
"MIT"
] | null | null | null | Common/HelpViewer.cs | jonnosan/MIDIopsy | 5c0eee2e81e5e1e777c2c72dd359bdba608f730c | [
"MIT"
] | null | null | null | /* HelpViewer.cs - Implementation of HelpViewer class, which allows the user to view help for an application.
* Note that this file is shared across applications.
*
* Copyright (c) 2017-9 Jeffrey Paul Bourdier
*
* Licensed under the MIT License. This file may be used only in compliance with this License.
* Soft... | 32.193103 | 112 | 0.613753 |
c3f090a58ddec430acb9cdff304928852d9dd672 | 2,268 | cs | C# | src/EFCore/Infrastructure/IModelCreationDependencies.cs | joaodvargas/efcore | caa4e413e796f13d1afa5fc21fa36e0db1aa0130 | [
"Apache-2.0"
] | null | null | null | src/EFCore/Infrastructure/IModelCreationDependencies.cs | joaodvargas/efcore | caa4e413e796f13d1afa5fc21fa36e0db1aa0130 | [
"Apache-2.0"
] | 45 | 2021-01-13T15:17:34.000Z | 2022-02-14T23:03:33.000Z | src/EFCore/Infrastructure/IModelCreationDependencies.cs | Youssef1313/efcore | ede9db2f9fae681faf21dbac96da7c88f723453b | [
"Apache-2.0"
] | null | null | null | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure;
using Microsoft.Extensions.Dep... | 42 | 113 | 0.648148 |
87a81da32efd667f37c11d3181c6cf7c4807bd94 | 1,907 | dart | Dart | test/simple_test.dart | mikes222/ecache | 2744135a479750959e928495a72aac7c195cc62a | [
"MIT"
] | 2 | 2020-08-17T02:22:58.000Z | 2021-04-10T22:30:54.000Z | test/simple_test.dart | mikes222/ecache | 2744135a479750959e928495a72aac7c195cc62a | [
"MIT"
] | null | null | null | test/simple_test.dart | mikes222/ecache | 2744135a479750959e928495a72aac7c195cc62a | [
"MIT"
] | null | null | null | import 'package:test/test.dart';
import 'dart:io';
import 'package:ecache/ecache.dart';
void main() {
test('Test cache initialization', () {
Cache cache = SimpleCache<int, int>(storage: SimpleStorage(), capacity: 20);
expect(cache, isNotNull);
});
//
test('Test simple insert/get', () {
Cache c = S... | 27.242857 | 86 | 0.560566 |
1cd29b7a08e14dc8c00c2f37c9135850101781b6 | 945 | ps1 | PowerShell | examples/hyperflex/Get-IntersightHyperflexServerFirmwareVersionEntry.ps1 | CiscoDevNet/intersight-powershell | 01e565eab5586e4bc4b9eecde73067e1c3497e6c | [
"Apache-2.0"
] | 6 | 2021-03-24T15:21:12.000Z | 2022-02-22T09:47:16.000Z | examples/hyperflex/Get-IntersightHyperflexServerFirmwareVersionEntry.ps1 | CiscoDevNet/intersight-powershell | 01e565eab5586e4bc4b9eecde73067e1c3497e6c | [
"Apache-2.0"
] | 18 | 2020-08-27T20:54:38.000Z | 2022-03-31T05:53:57.000Z | examples/hyperflex/Get-IntersightHyperflexServerFirmwareVersionEntry.ps1 | CiscoDevNet/intersight-powershell | 01e565eab5586e4bc4b9eecde73067e1c3497e6c | [
"Apache-2.0"
] | 3 | 2020-07-07T14:59:28.000Z | 2021-03-27T14:41:50.000Z | #Get the HyperflexServerFirmwareVersionEntry by Name
$HyperflexServerFirmwareVersionEntryByName = Get-IntersightHyperflexServerFirmwareVersionEntry -Name HyperflexServerFirmwareVersionEntryName
#Get the List of ServerProfiles
$HyperflexServerFirmwareVersionEntryList = Get-IntersightHyperflexServerFirmwareVersionEntry
... | 63 | 156 | 0.884656 |
c5303020c700cda68451762f0ed1e59aa0ecffac | 178 | css | CSS | frontend/src/modules/resourceprogress/components/ProgressChart.css | Tratty/pontoon | ecb903d72f9274f02137b16669cc3c5859f6329c | [
"BSD-3-Clause"
] | 3 | 2020-01-27T12:26:20.000Z | 2022-02-03T09:56:02.000Z | frontend/src/modules/resourceprogress/components/ProgressChart.css | texnoman/pontoon-src | 6b40ac229605e99966c3bdd1510b772c89d4de24 | [
"BSD-3-Clause"
] | 9 | 2021-03-10T21:34:51.000Z | 2022-02-19T03:30:06.000Z | frontend/src/modules/resourceprogress/components/ProgressChart.css | texnoman/pontoon-src | 6b40ac229605e99966c3bdd1510b772c89d4de24 | [
"BSD-3-Clause"
] | 4 | 2020-01-26T21:28:43.000Z | 2021-06-10T15:25:19.000Z | .progress-chart canvas {
border-radius: 100%;
}
.progress-chart:hover .selector canvas {
background: #3F4752;
}
.progress-chart .menu canvas {
margin: 10px auto;
}
| 14.833333 | 40 | 0.668539 |
57c3f565197e48a6b4e65fc69e4863a62afa58a4 | 72 | sh | Shell | apache/setup.sh | WebRockit/webrockit-extras | 822ecad64cacb6474f5453cf8a4e8a8c9b3ef9b6 | [
"MIT"
] | 1 | 2015-02-03T00:38:35.000Z | 2015-02-03T00:38:35.000Z | apache/setup.sh | WebRockit/webrockit-extras | 822ecad64cacb6474f5453cf8a4e8a8c9b3ef9b6 | [
"MIT"
] | null | null | null | apache/setup.sh | WebRockit/webrockit-extras | 822ecad64cacb6474f5453cf8a4e8a8c9b3ef9b6 | [
"MIT"
] | null | null | null | yum -y install httpd mod_ssl
chkconfig httpd on
/etc/init.d/httpd start
| 18 | 28 | 0.791667 |
e727a0c199cc95b00f26aebe0007355823e21f32 | 171 | php | PHP | app/CashInHand.php | justawa/myaccountant_backend | 821323393d885c66edd1375605d78aee0383d5d2 | [
"MIT"
] | null | null | null | app/CashInHand.php | justawa/myaccountant_backend | 821323393d885c66edd1375605d78aee0383d5d2 | [
"MIT"
] | null | null | null | app/CashInHand.php | justawa/myaccountant_backend | 821323393d885c66edd1375605d78aee0383d5d2 | [
"MIT"
] | null | null | null | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class CashInHand extends Model
{
protected $table = 'cash_in_hand';
public $timestamps = false;
}
| 13.153846 | 39 | 0.719298 |
c955722795b07a6a4b280e626107df1cd8a43032 | 6,368 | ts | TypeScript | autonomous-single-access-mode/src/pages/journal/journal.effects.ts | dvsa/mes-beta-sandbox | 6e6a4b0b53dadc4bdfb451bbc1899d8af5b17532 | [
"MIT"
] | null | null | null | autonomous-single-access-mode/src/pages/journal/journal.effects.ts | dvsa/mes-beta-sandbox | 6e6a4b0b53dadc4bdfb451bbc1899d8af5b17532 | [
"MIT"
] | 24 | 2020-09-04T14:35:10.000Z | 2022-03-02T10:00:37.000Z | autonomous-single-access-mode/src/pages/journal/journal.effects.ts | dvsa/mes-beta-sandbox | 6e6a4b0b53dadc4bdfb451bbc1899d8af5b17532 | [
"MIT"
] | 1 | 2021-04-10T22:07:26.000Z | 2021-04-10T22:07:26.000Z | import { Injectable } from '@angular/core';
import { Actions, Effect, ofType } from '@ngrx/effects';
import { switchMap, map, withLatestFrom, takeUntil, mapTo, filter, catchError, startWith } from 'rxjs/operators';
import { of } from 'rxjs/observable/of';
import { interval } from 'rxjs/observable/interval';
import { ... | 36.809249 | 113 | 0.659862 |
0790bec888dc647e0744bfb6470dd5f7bf9430a9 | 29,798 | cc | C++ | INET_EC/networklayer/ipv6/IPv6Datagram_m.cc | LarryNguyen/ECSim- | 0d3f848642e49845ed7e4c7b97dd16bd3d65ede5 | [
"Apache-2.0"
] | null | null | null | INET_EC/networklayer/ipv6/IPv6Datagram_m.cc | LarryNguyen/ECSim- | 0d3f848642e49845ed7e4c7b97dd16bd3d65ede5 | [
"Apache-2.0"
] | null | null | null | INET_EC/networklayer/ipv6/IPv6Datagram_m.cc | LarryNguyen/ECSim- | 0d3f848642e49845ed7e4c7b97dd16bd3d65ede5 | [
"Apache-2.0"
] | 1 | 2018-10-09T05:00:05.000Z | 2018-10-09T05:00:05.000Z | //
// Generated file, do not edit! Created by nedtool 5.1 from inet/networklayer/ipv6/IPv6Datagram.msg.
//
// Disable warnings about unused variables, empty switch stmts, etc:
#ifdef _MSC_VER
# pragma warning(disable:4101)
# pragma warning(disable:4065)
#endif
#if defined(__clang__)
# pragma clang diagnostic ignor... | 33.368421 | 139 | 0.692261 |
7541929ad5a5e6e61c4373bda7a8083214feb224 | 32 | css | CSS | public/css/modules.css | matthill500/gradr2.1 | 07072a5674a79f44b761ca4b01ff6bf641a90c44 | [
"MIT"
] | null | null | null | public/css/modules.css | matthill500/gradr2.1 | 07072a5674a79f44b761ca4b01ff6bf641a90c44 | [
"MIT"
] | 4 | 2021-03-10T05:46:37.000Z | 2022-02-18T19:20:19.000Z | public/css/modules.css | EoinClancy92/gradr2.3 | 4532e7569c6490dac9c97d98482e3eb7e0863726 | [
"MIT"
] | null | null | null | .questions{
margin-top:2em;
}
| 8 | 17 | 0.65625 |
a34835667767291bc9a1271b0261f5a6cd4ff6ee | 595 | java | Java | src/main/java/Application.java | yuwen41200/personal-calendar | 725ce3d4f9d4e6c02ba4f1879c4aec813b4ed59f | [
"MIT"
] | null | null | null | src/main/java/Application.java | yuwen41200/personal-calendar | 725ce3d4f9d4e6c02ba4f1879c4aec813b4ed59f | [
"MIT"
] | null | null | null | src/main/java/Application.java | yuwen41200/personal-calendar | 725ce3d4f9d4e6c02ba4f1879c4aec813b4ed59f | [
"MIT"
] | null | null | null | /**
* The application entry point.
*/
public class Application {
/**
* A String representing the application version.
*/
public static final String version = "v0.99";
/**
* Start the application with MVC objects.
* @param args optional arguments
*/
public static void main(St... | 22.037037 | 53 | 0.588235 |
76ec14e994e4c14304ac1d09d5ce7d30b94a2598 | 1,159 | dart | Dart | frontend-manager/lib/core/redux/connectors/space_info/edit_equipment.dart | UNIZAR-30249-20220-uCampus/frontend | f00a441ba130a09a93e956f51210acab7362ac9c | [
"MIT"
] | null | null | null | frontend-manager/lib/core/redux/connectors/space_info/edit_equipment.dart | UNIZAR-30249-20220-uCampus/frontend | f00a441ba130a09a93e956f51210acab7362ac9c | [
"MIT"
] | null | null | null | frontend-manager/lib/core/redux/connectors/space_info/edit_equipment.dart | UNIZAR-30249-20220-uCampus/frontend | f00a441ba130a09a93e956f51210acab7362ac9c | [
"MIT"
] | null | null | null | import 'package:async_redux/async_redux.dart';
import 'package:flutter/material.dart';
import 'package:ucampus_lib/core/models/equipment.dart';
import 'package:ucampus_lib/core/models/space.dart';
import 'package:ucampus_lib/core/redux/app_state.dart';
import 'package:ucampus_manager/ui/widgets/space_info/edit_equipmen... | 29.717949 | 80 | 0.734254 |
a1480248f870df17b000a83fd769eeae8711aa38 | 6,994 | ts | TypeScript | core/src/utils/common.ts | DiogoVCS/jeep | bc1d6c40ad1d48bb66ba94f066dedcc7645c2071 | [
"MIT"
] | 21 | 2020-01-22T04:33:39.000Z | 2021-11-14T20:21:12.000Z | core/src/utils/common.ts | DiogoVCS/jeep | bc1d6c40ad1d48bb66ba94f066dedcc7645c2071 | [
"MIT"
] | 30 | 2020-01-29T18:46:35.000Z | 2022-03-02T09:46:23.000Z | core/src/utils/common.ts | DiogoVCS/jeep | bc1d6c40ad1d48bb66ba94f066dedcc7645c2071 | [
"MIT"
] | 7 | 2020-03-02T16:51:52.000Z | 2021-06-11T06:00:03.000Z | export function debounce(context,func:Function,wait:number,immediate:boolean) {
let timeout: NodeJS.Timer;
return () => {
const args:IArguments = arguments;
const later = () => {
timeout = null;
if (!immediate) func.apply(context, args);
};
const callNow:boolean = immedi... | 33.951456 | 128 | 0.549328 |
92a5223344c2bb7b2cdc17653b6540ac98feb831 | 2,484 | kt | Kotlin | dsb-gui/src/test/java/com/spectralogic/dsbrowser/gui/util/FileSizeFormatTest.kt | shabtaisharon/ds3_java_browser | 993267e7eb70b052159a23abc7a7789547d33431 | [
"Apache-2.0"
] | null | null | null | dsb-gui/src/test/java/com/spectralogic/dsbrowser/gui/util/FileSizeFormatTest.kt | shabtaisharon/ds3_java_browser | 993267e7eb70b052159a23abc7a7789547d33431 | [
"Apache-2.0"
] | null | null | null | dsb-gui/src/test/java/com/spectralogic/dsbrowser/gui/util/FileSizeFormatTest.kt | shabtaisharon/ds3_java_browser | 993267e7eb70b052159a23abc7a7789547d33431 | [
"Apache-2.0"
] | null | null | null | /*
* ***************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. 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. A copy of the License is l... | 29.571429 | 111 | 0.619968 |
9e14e8502c85165116d9455a70608b2c821f3971 | 2,000 | cs | C# | generator/test/Core/Generator.Core.Application.UnitTest/Products/BrowseProductsUseCaseTest.cs | optivem/optivem-commons-cs | ea1cf2b0a6c951e090bca06efc18904a5cd3d8c2 | [
"MIT"
] | 6 | 2020-11-25T10:57:49.000Z | 2022-03-23T17:14:48.000Z | generator/test/Core/Generator.Core.Application.UnitTest/Products/BrowseProductsUseCaseTest.cs | optivem/optivem-commons-cs | ea1cf2b0a6c951e090bca06efc18904a5cd3d8c2 | [
"MIT"
] | 284 | 2019-05-01T13:19:10.000Z | 2020-01-02T18:43:33.000Z | generator/test/Core/Generator.Core.Application.UnitTest/Products/BrowseProductsUseCaseTest.cs | optivem/platform-dotnetcore | ea1cf2b0a6c951e090bca06efc18904a5cd3d8c2 | [
"MIT"
] | 1 | 2020-10-14T10:00:29.000Z | 2020-10-14T10:00:29.000Z | using Moq;
using Atomiv.Core.Application;
using Atomiv.Core.Application.Mappers;
using Generator.Core.Application.Products.Requests;
using Generator.Core.Application.Products.Responses;
using Generator.Core.Application.Products.UseCases;
using Generator.Core.Domain.Products;
using System.Collections.Generic;
using Sys... | 33.898305 | 111 | 0.633 |
955375cdace3d6ea5bca891a0f8b926a27e77160 | 16,621 | rb | Ruby | vendor/rails/actionpack/test/template/text_helper_test.rb | barak/talks-cam.railsapp | 203bbb138948f408243ce0d8a43e268e07ad4e93 | [
"BSD-3-Clause"
] | 12 | 2016-05-08T06:01:57.000Z | 2021-07-13T19:20:54.000Z | vendor/rails/actionpack/test/template/text_helper_test.rb | barak/talks-cam.railsapp | 203bbb138948f408243ce0d8a43e268e07ad4e93 | [
"BSD-3-Clause"
] | null | null | null | vendor/rails/actionpack/test/template/text_helper_test.rb | barak/talks-cam.railsapp | 203bbb138948f408243ce0d8a43e268e07ad4e93 | [
"BSD-3-Clause"
] | 2 | 2020-10-01T14:31:41.000Z | 2021-07-13T19:17:04.000Z | require File.dirname(__FILE__) + '/../abstract_unit'
require "#{File.dirname(__FILE__)}/../testing_sandbox"
class TextHelperTest < Test::Unit::TestCase
include ActionView::Helpers::TextHelper
include ActionView::Helpers::TagHelper
include TestingSandbox
def setup
# This simulates the fact that instance ... | 47.488571 | 245 | 0.642741 |
955ad6d8347283adceccd50aa85b45bb210e2673 | 707 | rb | Ruby | lib/flipper/types/group.rb | KevinBongart/flipper | bdbee31d5825ecf5a90a9891fa102c653f441d7a | [
"MIT"
] | null | null | null | lib/flipper/types/group.rb | KevinBongart/flipper | bdbee31d5825ecf5a90a9891fa102c653f441d7a | [
"MIT"
] | null | null | null | lib/flipper/types/group.rb | KevinBongart/flipper | bdbee31d5825ecf5a90a9891fa102c653f441d7a | [
"MIT"
] | null | null | null | module Flipper
module Types
class Group < Type
def self.wrap(group_or_name)
return group_or_name if group_or_name.is_a?(self)
Flipper.group(group_or_name)
end
attr_reader :name
def initialize(name, &block)
@name = name.to_sym
@value = @name
if blo... | 20.794118 | 57 | 0.551627 |
209d558237c06ac4e17758c703c48142076b0cc0 | 534 | cs | C# | src/Vts/MonteCarlo/Interfaces/ISource.cs | acs3235/VTS | ec0c30c5b5112a2961682c99d165a58157b2dccc | [
"MIT"
] | 22 | 2017-06-03T22:22:34.000Z | 2021-11-06T06:43:21.000Z | src/Vts/MonteCarlo/Interfaces/ISource.cs | acs3235/VTS | ec0c30c5b5112a2961682c99d165a58157b2dccc | [
"MIT"
] | 26 | 2017-06-12T23:26:47.000Z | 2021-06-18T20:03:34.000Z | src/Vts/MonteCarlo/Interfaces/ISource.cs | acs3235/VTS | ec0c30c5b5112a2961682c99d165a58157b2dccc | [
"MIT"
] | 7 | 2017-06-03T22:24:01.000Z | 2021-07-26T14:49:00.000Z | using System;
namespace Vts.MonteCarlo
{
/// <summary>
/// Defines a contract for Source classes for Monte Carlo simulation.
/// </summary>
public interface ISource
{
/// <summary>
/// Method to initiate new photon.
/// </summary>
/// <param name="tissue"... | 24.272727 | 74 | 0.516854 |
29f2fd50d638e4a3e6a37fc4721fa48b5459219d | 1,130 | rs | Rust | src/store.rs | schell/mogwai-todo | 43ec5d6011c6934b1f0cc1bb1b790ce81b38ba99 | [
"Apache-2.0",
"MIT"
] | 3 | 2019-11-28T13:50:41.000Z | 2019-11-28T16:28:29.000Z | src/store.rs | schell/mogwai-todo | 43ec5d6011c6934b1f0cc1bb1b790ce81b38ba99 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/store.rs | schell/mogwai-todo | 43ec5d6011c6934b1f0cc1bb1b790ce81b38ba99 | [
"Apache-2.0",
"MIT"
] | null | null | null | use wasm_bindgen::JsValue;
use web_sys::Storage;
use serde::{Serialize, Deserialize};
use serde_json;
use mogwai::utils;
#[derive(Serialize, Deserialize)]
pub struct Item {
pub title: String,
pub completed: bool
}
const KEY: &str = "todomvc-mogwai";
pub fn write_items(items: Vec<Item>) -> Result<(), JsValue> {
... | 20.925926 | 61 | 0.633628 |
40d52582758714bab45a437798580d7a00104769 | 199 | rb | Ruby | test/system/relats_test.rb | Alesson-mansur/Projeto-HLA-UERJ | bae96020eb6b5baff22df7a197deac63d749c5ef | [
"MIT"
] | null | null | null | test/system/relats_test.rb | Alesson-mansur/Projeto-HLA-UERJ | bae96020eb6b5baff22df7a197deac63d749c5ef | [
"MIT"
] | null | null | null | test/system/relats_test.rb | Alesson-mansur/Projeto-HLA-UERJ | bae96020eb6b5baff22df7a197deac63d749c5ef | [
"MIT"
] | null | null | null | require "application_system_test_case"
class RelatsTest < ApplicationSystemTestCase
# test "visiting the index" do
# visit relats_url
#
# assert_selector "h1", text: "Relat"
# end
end
| 19.9 | 44 | 0.723618 |
49a105186ee0c5ea4e94d0d52b1d33573cc29b4c | 67,708 | lua | Lua | Holy Knight (Glaive).lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 70 | 2021-02-09T17:21:32.000Z | 2022-03-28T12:41:42.000Z | Holy Knight (Glaive).lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 4 | 2021-08-19T22:05:58.000Z | 2022-03-19T18:58:01.000Z | Holy Knight (Glaive).lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 325 | 2021-02-26T22:23:41.000Z | 2022-03-31T19:36:12.000Z | Player = game:GetService("Players").rigletto
Character = Player.Character
PlayerGui = Player.PlayerGui
Backpack = Player.Backpack
Torso = Character.Torso
Head = Character.Head
LeftArm = Character["Left Arm"]
LeftLeg = Character["Left Leg"]
RightArm = Character["Right Arm"]
RightLeg = Character["Right Leg"]
LS... | 33.353695 | 430 | 0.703078 |
a45ce085f323b039193e078874cd0fea5ebcd106 | 5,086 | php | PHP | application/views/user/atualizar/lista.php | cineasthales/Gifty | 5cc5774ec956b1cdb522d19785e0895c542b099f | [
"MIT"
] | 2 | 2018-04-20T13:38:28.000Z | 2018-12-22T22:13:40.000Z | application/views/user/atualizar/lista.php | cineasthales/Gifty | 5cc5774ec956b1cdb522d19785e0895c542b099f | [
"MIT"
] | 5 | 2018-04-07T13:39:19.000Z | 2018-11-26T00:58:02.000Z | application/views/user/atualizar/lista.php | cineasthales/Gifty | 5cc5774ec956b1cdb522d19785e0895c542b099f | [
"MIT"
] | null | null | null | <main>
<section>
<div class="row">
<div class="col-8">
<h1>Atualizar Lista</h1>
</div>
<div class="col-4">
<br><button id="btFinalizar">
<a href="<?= base_url('usuario/atualizar/finalizar') ?>">Finalizar</a></button>
... | 62.02439 | 199 | 0.372591 |
fdff8f6876b44f86a4ae201385833fb985e0bcd5 | 290 | css | CSS | src/components/card/product-card/product-card.css | hsnice16/react-Inclusive-Mart | 5fad8f488df3416d74fd59ea4366643ad3101085 | [
"MIT"
] | 2 | 2022-03-21T07:24:50.000Z | 2022-03-23T02:13:11.000Z | src/components/card/product-card/product-card.css | hsnice16/react-Inclusive-Mart | 5fad8f488df3416d74fd59ea4366643ad3101085 | [
"MIT"
] | 15 | 2022-03-13T14:40:41.000Z | 2022-03-23T08:16:38.000Z | src/components/card/product-card/product-card.css | hsnice16/react-Inclusive-Mart | 5fad8f488df3416d74fd59ea4366643ad3101085 | [
"MIT"
] | null | null | null | .btn-add-to-cart {
color: var(--COLOR-TEXT-800);
font-weight: bold;
margin: 0;
}
.btn-add-to-cart:hover {
background: var(--COLOR-YELLOW-600);
}
.loading-product-card > span {
background: var(--COLOR-BACKGROUND);
}
.loading-product-card > span:nth-child(4) {
width: 12rem;
}
| 16.111111 | 43 | 0.648276 |