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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1bf32b197365408c8c29824b8698e507ddfe93b6 | 792 | dart | Dart | lib/src/key_widget.dart | de-men/piano_widget | 290e1f039f9a88b53cf94b9585005c080f5b3aff | [
"BSD-3-Clause"
] | 1 | 2022-01-03T11:11:18.000Z | 2022-01-03T11:11:18.000Z | lib/src/key_widget.dart | de-men/piano_widget | 290e1f039f9a88b53cf94b9585005c080f5b3aff | [
"BSD-3-Clause"
] | null | null | null | lib/src/key_widget.dart | de-men/piano_widget | 290e1f039f9a88b53cf94b9585005c080f5b3aff | [
"BSD-3-Clause"
] | null | null | null | import 'package:flutter/material.dart';
class KeyWidget extends StatelessWidget {
final double width;
final double height;
final MapEntry<String, int> pitch;
const KeyWidget({
required this.width,
required this.height,
required this.pitch,
Key? key,
}) : super(key: key);
@override
Widge... | 22 | 71 | 0.646465 |
59b8179eeade35e18323d44b93de9172eb5c66e3 | 3,045 | ps1 | PowerShell | tests/Update-AgreementVisibility.tests.ps1 | telstrapurple/PwshAdobeSign | 03a6ac10c7e7a4cf6de3a29d2ac02495afc4ee06 | [
"MIT"
] | null | null | null | tests/Update-AgreementVisibility.tests.ps1 | telstrapurple/PwshAdobeSign | 03a6ac10c7e7a4cf6de3a29d2ac02495afc4ee06 | [
"MIT"
] | null | null | null | tests/Update-AgreementVisibility.tests.ps1 | telstrapurple/PwshAdobeSign | 03a6ac10c7e7a4cf6de3a29d2ac02495afc4ee06 | [
"MIT"
] | 1 | 2021-12-14T03:10:07.000Z | 2021-12-14T03:10:07.000Z | [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', '')]
Param()
$IsInteractive = [Environment]::GetCommandLineArgs() -join ' ' -notmatch '-NonI'
Describe 'Update-AgreementVisibility' {
BeforeAll {
. $PSCommandPath.Replace('.tests.ps1', '.ps1').Replace('tests', 'fun... | 43.5 | 572 | 0.700821 |
529ff30e7504d9d5c7e5662f6469654b421a58a3 | 523 | swift | Swift | Animate Table/Animate Table/DetailItemCell.swift | tandinhlee/iOS-Tutorials | a9bc217917264297b0ce6f0191e273a627554935 | [
"MIT"
] | null | null | null | Animate Table/Animate Table/DetailItemCell.swift | tandinhlee/iOS-Tutorials | a9bc217917264297b0ce6f0191e273a627554935 | [
"MIT"
] | null | null | null | Animate Table/Animate Table/DetailItemCell.swift | tandinhlee/iOS-Tutorials | a9bc217917264297b0ce6f0191e273a627554935 | [
"MIT"
] | null | null | null | //
// DetailItemCell.swift
// Animate Table
//
// Created by Dinh Le on 13/03/16.
// Copyright © 2016 Dinh Le. All rights reserved.
//
import UIKit
class DetailItemCell: UITableViewCell {
@IBOutlet weak var priceLabel: UILabel!
override func awakeFromNib() {
super.awakeFromNib()
// Initia... | 20.92 | 63 | 0.665392 |
ff2b4b12ae677ccbc8b5de94a62fa566d119d307 | 2,936 | py | Python | setup.py | sparkur/python-sasl3 | 19f930e312a69fcaeb90bc28aeb9e4b1e5e7f900 | [
"Apache-2.0"
] | 1 | 2019-11-29T20:13:14.000Z | 2019-11-29T20:13:14.000Z | setup.py | sparkur/python-sasl | 19f930e312a69fcaeb90bc28aeb9e4b1e5e7f900 | [
"Apache-2.0"
] | null | null | null | setup.py | sparkur/python-sasl | 19f930e312a69fcaeb90bc28aeb9e4b1e5e7f900 | [
"Apache-2.0"
] | 2 | 2020-09-09T13:04:12.000Z | 2021-05-10T13:39:43.000Z | #
# 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 writing, software
# distributed under ... | 38.12987 | 96 | 0.669959 |
aa30ee34086ced3bab6540a06ff680a3c982682c | 9,852 | rb | Ruby | spec/functional/licensing_spec.rb | strangelittlemonkey/omnibus | a36e70caedceadfcf0d85e2adef44ba0218a60a6 | [
"Apache-2.0"
] | 1 | 2016-05-23T23:28:25.000Z | 2016-05-23T23:28:25.000Z | spec/functional/licensing_spec.rb | strangelittlemonkey/omnibus | a36e70caedceadfcf0d85e2adef44ba0218a60a6 | [
"Apache-2.0"
] | null | null | null | spec/functional/licensing_spec.rb | strangelittlemonkey/omnibus | a36e70caedceadfcf0d85e2adef44ba0218a60a6 | [
"Apache-2.0"
] | null | null | null | require "spec_helper"
module Omnibus
describe Licensing do
let(:license) { nil }
let(:license_file_path) { nil }
let(:license_file) { nil }
let(:zlib_version_override) { nil }
let(:install_dir) { File.join(tmp_path, "install_dir") }
let(:software_project_dir) { File.join(tmp_path, "software_... | 35.695652 | 209 | 0.667885 |
46e2a4d681e3d62649b1d536fee6518ba44724ff | 27,502 | py | Python | documentation/Example_Scripts/DCE_Database.py | QTIM-Lab/qtim_tools | 92bd15ec7a81c5eda70d11a015f74538f3c41e22 | [
"Apache-2.0"
] | 12 | 2017-03-29T18:17:24.000Z | 2020-03-19T05:28:56.000Z | documentation/Example_Scripts/DCE_Database.py | QTIM-Lab/qtim_tools | 92bd15ec7a81c5eda70d11a015f74538f3c41e22 | [
"Apache-2.0"
] | 7 | 2017-03-08T21:06:01.000Z | 2017-06-21T19:01:58.000Z | documentation/Example_Scripts/DCE_Database.py | QTIM-Lab/qtim_tools | 92bd15ec7a81c5eda70d11a015f74538f3c41e22 | [
"Apache-2.0"
] | 5 | 2017-03-02T09:08:21.000Z | 2019-10-26T05:37:39.000Z | import numpy as np
import os
import glob
import csv
from shutil import copy, move
from sklearn.metrics import r2_score
from qtim_tools.qtim_utilities.format_util import convert_input_2_numpy
from qtim_tools.qtim_utilities.file_util import replace_suffix
from qtim_tools.qtim_utilities.nifti_util import nifti_resave, s... | 39.514368 | 221 | 0.609847 |
7dd256a671115946ca74e129839a60ef269b97b9 | 101 | css | CSS | app/javascript/stocks/src/css/components/stocks/index.css | michael-software-engr/demo | f5b9c43b066e56b9fdc80a88628706357771f971 | [
"MIT"
] | null | null | null | app/javascript/stocks/src/css/components/stocks/index.css | michael-software-engr/demo | f5b9c43b066e56b9fdc80a88628706357771f971 | [
"MIT"
] | null | null | null | app/javascript/stocks/src/css/components/stocks/index.css | michael-software-engr/demo | f5b9c43b066e56b9fdc80a88628706357771f971 | [
"MIT"
] | null | null | null | .App--Stocks--StocksTable {
border: 1px solid red;
background-color: red;
margin-top: 10rem; }
| 20.2 | 27 | 0.683168 |
195c983497588efbac1b76a0fdd03eb9786d04cb | 463 | swift | Swift | Pod/Classes/Views/Polygon/PolygonButton.swift | ipraba/EPShapes | 43cc0948095db8666be30dad590588d74e9758be | [
"MIT"
] | 432 | 2016-02-08T11:14:42.000Z | 2021-07-09T15:32:38.000Z | Pod/Classes/Views/Polygon/PolygonButton.swift | ipraba/EPShapes | 43cc0948095db8666be30dad590588d74e9758be | [
"MIT"
] | 3 | 2016-02-11T07:47:03.000Z | 2019-05-27T05:17:54.000Z | Pod/Classes/Views/Polygon/PolygonButton.swift | ipraba/EPShapes | 43cc0948095db8666be30dad590588d74e9758be | [
"MIT"
] | 36 | 2016-02-09T15:35:18.000Z | 2020-04-02T15:21:51.000Z | //
// PolygonButton.swift
// Pods
//
// Created by Prabaharan Elangovan on 08/02/16.
//
//
import Foundation
@IBDesignable open class PolygonButton: ShapeButton, PolygonDesignable {
@IBInspectable open var sides: Int = 4
@IBInspectable open var shapeMask: Bool = false
@IBInspectable open var fil... | 17.807692 | 72 | 0.63067 |
60a1afaf71f4c62d1894dd718626be7dd858a8d4 | 2,162 | h | C | exportNF/release/windows/obj/include/flixel/util/FlxUnicodeUtil.h | theblobscp/NekoFreakMod-FridayNightFunkin | 232bcb08234cfe881fd6d52b13e6ae443e105fd1 | [
"BSD-3-Clause"
] | null | null | null | exportNF/release/windows/obj/include/flixel/util/FlxUnicodeUtil.h | theblobscp/NekoFreakMod-FridayNightFunkin | 232bcb08234cfe881fd6d52b13e6ae443e105fd1 | [
"BSD-3-Clause"
] | null | null | null | exportNF/release/windows/obj/include/flixel/util/FlxUnicodeUtil.h | theblobscp/NekoFreakMod-FridayNightFunkin | 232bcb08234cfe881fd6d52b13e6ae443e105fd1 | [
"BSD-3-Clause"
] | null | null | null | // Generated by Haxe 4.2.1+bf9ff69
#ifndef INCLUDED_flixel_util_FlxUnicodeUtil
#define INCLUDED_flixel_util_FlxUnicodeUtil
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(flixel,util,FlxUnicodeUtil)
namespace flixel{
namespace util{
class HXCPP_CLASS_ATTRIBUTES FlxUnicodeUtil_obj : public ::hx::Object
... | 30.027778 | 146 | 0.734043 |
3937a770d6f53cb773d66f26b02d452ab8a97ac2 | 4,008 | py | Python | mirage/libs/ble_utils/scapy_hci_layers.py | epablosensei/mirage | 3c0d2fb0f0e570356e7126c999e83e0256920420 | [
"MIT"
] | null | null | null | mirage/libs/ble_utils/scapy_hci_layers.py | epablosensei/mirage | 3c0d2fb0f0e570356e7126c999e83e0256920420 | [
"MIT"
] | null | null | null | mirage/libs/ble_utils/scapy_hci_layers.py | epablosensei/mirage | 3c0d2fb0f0e570356e7126c999e83e0256920420 | [
"MIT"
] | 1 | 2020-06-08T15:50:31.000Z | 2020-06-08T15:50:31.000Z | from scapy.all import *
'''
This module contains some scapy definitions for communicating with an HCI device.
'''
#split_layers(HCI_Command_Hdr, HCI_Cmd_LE_Set_Advertising_Data)
#split_layers(HCI_Command_Hdr, HCI_Cmd_LE_Set_Scan_Response_Data)
class HCI_Cmd_LE_Rand(Packet):
name = "HCI Command LE Rand"
fields_desc ... | 35.469027 | 85 | 0.698852 |
a3c9ff9c0eeae09df18e532e2bf98b04ede1267f | 917 | java | Java | src/main/java/com/bymarcin/openglasses/proxy/ClientProxy.java | Florexiz/OCGlasses | 1a04e08ddf103106ef50bc3fdf91683fad235712 | [
"Zlib"
] | 1 | 2022-02-07T04:53:50.000Z | 2022-02-07T04:53:50.000Z | src/main/java/com/bymarcin/openglasses/proxy/ClientProxy.java | Florexiz/OCGlasses | 1a04e08ddf103106ef50bc3fdf91683fad235712 | [
"Zlib"
] | 1 | 2022-02-10T22:35:27.000Z | 2022-02-10T22:36:04.000Z | src/main/java/com/bymarcin/openglasses/proxy/ClientProxy.java | Florexiz/OCGlasses | 1a04e08ddf103106ef50bc3fdf91683fad235712 | [
"Zlib"
] | 3 | 2020-10-27T12:44:20.000Z | 2021-11-11T06:42:54.000Z | package com.bymarcin.openglasses.proxy;
import net.minecraft.client.Minecraft;
import net.minecraft.world.World;
import net.minecraftforge.common.MinecraftForge;
import com.bymarcin.openglasses.event.ClientEventHandler;
import com.bymarcin.openglasses.surface.ClientSurface;
import cpw.mods.fml.common.FMLCommonHandle... | 26.2 | 64 | 0.790622 |
e2224f78c868079aa509a1242a35ba53751e3021 | 4,019 | py | Python | integer_to_roman.py | SBHKoda/Integer_to_Roman | 2e52c1a92402edad17f87a36f5dd133e026ee9e8 | [
"Apache-2.0"
] | null | null | null | integer_to_roman.py | SBHKoda/Integer_to_Roman | 2e52c1a92402edad17f87a36f5dd133e026ee9e8 | [
"Apache-2.0"
] | null | null | null | integer_to_roman.py | SBHKoda/Integer_to_Roman | 2e52c1a92402edad17f87a36f5dd133e026ee9e8 | [
"Apache-2.0"
] | null | null | null | """
Author: Alberto Marci
"""
class DecimalToRoman:
# convert number from 0 to 9
def __zero_to_nine(self, number):
if number == '0':
return ''
if number == '1':
return 'I'
if number == '2':
return 'II'
if number == '3':
... | 31.645669 | 121 | 0.424484 |
43aea9bab0a18fe6d11737c84ef1f5009c1e71bb | 1,467 | ts | TypeScript | chat-app-client/src/app/main/ui/cards/cards.module.ts | md-rubel-mia/chat-app-MEAN-stack | 3f9e0e19e3cc2962013e890289bfd7009ce1e3d1 | [
"Apache-2.0"
] | 1 | 2021-12-10T01:30:49.000Z | 2021-12-10T01:30:49.000Z | chat-app-client/src/app/main/ui/cards/cards.module.ts | md-rubel-mia/chat-app-MEAN-stack | 3f9e0e19e3cc2962013e890289bfd7009ce1e3d1 | [
"Apache-2.0"
] | null | null | null | chat-app-client/src/app/main/ui/cards/cards.module.ts | md-rubel-mia/chat-app-MEAN-stack | 3f9e0e19e3cc2962013e890289bfd7009ce1e3d1 | [
"Apache-2.0"
] | null | null | null | import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { MatButtonModule } from '@angular/material/button';
import { MatButtonToggleModule } from '@angular/material/button-toggle';
import { MatIconModule } from '@angular/material/icon';
import { MatListModule } from '@a... | 28.211538 | 72 | 0.683027 |
fe157ab1964d6fa5c7becfea444b24917c74a0bd | 11,607 | dart | Dart | spdorm/lib/mainHomeFragment.dart | spdorm/spdorm.github.io | 4b81b0878c2a09af6a7a49f14d17dad8223a6e54 | [
"MIT"
] | null | null | null | spdorm/lib/mainHomeFragment.dart | spdorm/spdorm.github.io | 4b81b0878c2a09af6a7a49f14d17dad8223a6e54 | [
"MIT"
] | 14 | 2019-08-13T02:50:33.000Z | 2019-11-21T09:40:02.000Z | spdorm/lib/mainHomeFragment.dart | spdorm/spdorm.github.io | 4b81b0878c2a09af6a7a49f14d17dad8223a6e54 | [
"MIT"
] | 3 | 2019-09-02T19:04:37.000Z | 2021-07-14T05:12:03.000Z | import 'package:flutter/material.dart';
import 'package:flutter/material.dart' as prefix0;
import 'package:shared_preferences/shared_preferences.dart';
import 'AddDormpage.dart';
import 'VendingHome.dart';
import 'Add_AccountIncome.dart';
import 'Datadorm_fragment.dart';
import 'InfromAlert.dart';
import 'firstPage.dar... | 32.788136 | 87 | 0.463341 |
b00709cfcd2390ee9d65927e10fce5a3163fcad2 | 2,732 | py | Python | mydb/mydb_setup.py | dappsunilabs/DB4SCI | 54bdd03aaa12957e622c921b263e187740a8b2ae | [
"Apache-2.0"
] | 7 | 2018-12-05T19:18:20.000Z | 2020-11-21T07:27:54.000Z | mydb/mydb_setup.py | dappsunilabs/DB4SCI | 54bdd03aaa12957e622c921b263e187740a8b2ae | [
"Apache-2.0"
] | 8 | 2018-04-25T06:02:41.000Z | 2020-09-08T21:55:56.000Z | mydb/mydb_setup.py | FredHutch/DB4SCI | cc950a36b6b678fe16c1c91925ec402581636fc0 | [
"Apache-2.0"
] | 2 | 2019-11-14T02:09:09.000Z | 2021-12-28T19:05:51.000Z | #!/usr/bin/python
import os
import time
import postgres_util
import container_util
import admin_db
from send_mail import send_mail
from config import Config
"""
import mydb_setup
mydb_setup.mydb_setup()
"""
def mydb_setup():
"""Create mydb_admin database if it does not exist.
DB4SCI depends on mydb_admin dat... | 33.728395 | 74 | 0.572474 |
c81ac0a63b1cfbd4a5899221057d1cd5c33bd1b0 | 1,080 | dart | Dart | lib/services/dialog-handler.dart | LeonardoBerlatto/flutter-todo-list | fffa2de72c102190959e3d12e4aaa8e3611b7d64 | [
"MIT"
] | 2 | 2020-03-04T16:38:43.000Z | 2020-03-05T03:19:00.000Z | lib/services/dialog-handler.dart | LeonardoBerlatto/flutter-todo-list | fffa2de72c102190959e3d12e4aaa8e3611b7d64 | [
"MIT"
] | null | null | null | lib/services/dialog-handler.dart | LeonardoBerlatto/flutter-todo-list | fffa2de72c102190959e3d12e4aaa8e3611b7d64 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:todo_list/components/dialog/add-todo-dialog.dart';
import 'package:todo_list/components/dialog/error-dialog.dart';
import 'package:todo_list/models/todo.dart';
class DialogHandler {
Future<void> _displayDialog(BuildContext context, Widget dialog) {
return s... | 32.727273 | 82 | 0.693519 |
14f33929387a0754bea0214b7adc149b782a6ccb | 284 | ts | TypeScript | src/entities/user-detail/user-detail.module.ts | ctorresm96/appnout-backend | 94a7c66f5d57edfe2c576021a743e87b44517e2c | [
"MIT"
] | null | null | null | src/entities/user-detail/user-detail.module.ts | ctorresm96/appnout-backend | 94a7c66f5d57edfe2c576021a743e87b44517e2c | [
"MIT"
] | null | null | null | src/entities/user-detail/user-detail.module.ts | ctorresm96/appnout-backend | 94a7c66f5d57edfe2c576021a743e87b44517e2c | [
"MIT"
] | null | null | null | import { Module } from '@nestjs/common';
import { UserDetailService } from './user-detail.service';
import { UserDetailController } from './user-detail.controller';
@Module({
controllers: [UserDetailController],
providers: [UserDetailService]
})
export class UserDetailModule {}
| 28.4 | 64 | 0.746479 |
0dc9ad1b07f5a392f5b4ff6cdac3ea2a21b154b8 | 2,050 | cs | C# | src/SFA.DAS.AssessorService.Web.UnitTests/StandardControllerTests/When_ConfirmStandard_Is_Posted_To_With_Specific_Version.cs | SkillsFundingAgency/das-assessor-service | c2587b4055d45024a02ea24d85323980383f2cd7 | [
"MIT"
] | 6 | 2018-07-17T15:53:24.000Z | 2022-02-20T13:14:31.000Z | src/SFA.DAS.AssessorService.Web.UnitTests/StandardControllerTests/When_ConfirmStandard_Is_Posted_To_With_Specific_Version.cs | SkillsFundingAgency/das-assessor-service | c2587b4055d45024a02ea24d85323980383f2cd7 | [
"MIT"
] | 503 | 2018-02-27T20:05:09.000Z | 2022-03-09T11:31:00.000Z | src/SFA.DAS.AssessorService.Web.UnitTests/StandardControllerTests/When_ConfirmStandard_Is_Posted_To_With_Specific_Version.cs | SkillsFundingAgency/das-assessor-service | c2587b4055d45024a02ea24d85323980383f2cd7 | [
"MIT"
] | 3 | 2020-01-20T13:55:38.000Z | 2021-04-11T08:33:04.000Z | using Moq;
using NUnit.Framework;
using SFA.DAS.AssessorService.Api.Types.Models.AO;
using SFA.DAS.AssessorService.ApplyTypes;
using SFA.DAS.AssessorService.Domain.Consts;
using SFA.DAS.AssessorService.Web.ViewModels.Apply;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SFA.DA... | 47.674419 | 198 | 0.659024 |
1a5a8ab21d287d7d763ab7108f93e48bc1c7d53e | 237 | py | Python | Validation/HGCalValidation/python/hgcalDigiValidationEE_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Validation/HGCalValidation/python/hgcalDigiValidationEE_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Validation/HGCalValidation/python/hgcalDigiValidationEE_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from Validation.HGCalValidation.hgcalDigiValidationEEDefault_cfi import hgcalDigiValidationEEDefault as _hgcalDigiValidationEEDefault
hgcalDigiValidationEE = _hgcalDigiValidationEEDefault.clone()
| 59.25 | 133 | 0.911392 |
c39ba5f7951b5a475336fadfa8314c94350f61c4 | 1,674 | cs | C# | src/Gwi.OpenGL/Gwi.OpenGL/generated/enums/ProgramPropertyArb.cs | odalet/Gwi | 5761e1465ed307eabc068f031e09a6e484f6128e | [
"MIT"
] | null | null | null | src/Gwi.OpenGL/Gwi.OpenGL/generated/enums/ProgramPropertyArb.cs | odalet/Gwi | 5761e1465ed307eabc068f031e09a6e484f6128e | [
"MIT"
] | null | null | null | src/Gwi.OpenGL/Gwi.OpenGL/generated/enums/ProgramPropertyArb.cs | odalet/Gwi | 5761e1465ed307eabc068f031e09a6e484f6128e | [
"MIT"
] | null | null | null | // This file is auto generated, do not edit.
using System;
#pragma warning disable CA1069 // Enums values should not be duplicated
namespace Gwi.OpenGL
{
public enum ProgramPropertyArb : uint
{
ComputeWorkGroupSize = GLConstants.GL_COMPUTE_WORK_GROUP_SIZE,
ProgramBinaryLength = GLConstants.GL_P... | 52.3125 | 97 | 0.789128 |
dd9ca03a9a403aca3dfb6b455551d8a683f75886 | 12,245 | java | Java | DroidDLNA/src/main/java/org/fourthline/cling/android/AndroidRouter.java | guibiaoguo/TVRemotePlay | ecb909457769905285cdf720298171c9e51d6081 | [
"MIT"
] | 23 | 2018-07-05T09:14:32.000Z | 2022-02-23T03:14:16.000Z | DroidDLNA/src/main/java/org/fourthline/cling/android/AndroidRouter.java | guibiaoguo/TVRemotePlay | ecb909457769905285cdf720298171c9e51d6081 | [
"MIT"
] | 4 | 2019-04-12T09:13:22.000Z | 2022-01-26T15:50:46.000Z | DroidDLNA/src/main/java/org/fourthline/cling/android/AndroidRouter.java | guibiaoguo/TVRemotePlay | ecb909457769905285cdf720298171c9e51d6081 | [
"MIT"
] | 24 | 2018-08-22T12:09:00.000Z | 2022-03-21T07:34:42.000Z | /*
* Copyright (C) 2013 4th Line GmbH, Switzerland
*
* The contents of this file are subject to the terms of either the GNU
* Lesser General Public License Version 2 or later ("LGPL") or the
* Common Development and Distribution License Version 1 or later
* ("CDDL") (collectively, the "License"). You may not use ... | 37.446483 | 129 | 0.611433 |
0cbc4b7ce5b4fde8324026ccc299428535d554fa | 2,855 | lua | Lua | src/tools/conf2conv/bak/__tpfestival_bingtest_endlesstower.lua | neyu/excel_tool | 6f511ea3de8d1a3ef4a61b0ef5d51ac809d4d5b7 | [
"MIT"
] | null | null | null | src/tools/conf2conv/bak/__tpfestival_bingtest_endlesstower.lua | neyu/excel_tool | 6f511ea3de8d1a3ef4a61b0ef5d51ac809d4d5b7 | [
"MIT"
] | null | null | null | src/tools/conf2conv/bak/__tpfestival_bingtest_endlesstower.lua | neyu/excel_tool | 6f511ea3de8d1a3ef4a61b0ef5d51ac809d4d5b7 | [
"MIT"
] | null | null | null | local Festival_BingTest_EndlessTower = {
[1] = {ID = 1, Stage = 1, FLOOR = 1, BOUNS = "0:2:5;", },
[2] = {ID = 2, Stage = 1, FLOOR = 2, BOUNS = "0:2:5;", },
[3] = {ID = 3, Stage = 1, FLOOR = 3, BOUNS = "0:2:5;", },
[4] = {ID = 4, Stage = 1, FLOOR = 4, BOUNS = "0:2:5;", },
[5] = {ID = 5, Stage = 1, FLOOR = 5, BOUNS ... | 66.395349 | 77 | 0.475306 |
bafb6bd92e2447aec3212abdb445adc3c52064f7 | 295 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/tangible/furniture/all/frn_all_technical_console_s02.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/furniture/all/frn_all_technical_console_s02.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/furniture/all/frn_all_technical_console_s02.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_tangible_furniture_all_frn_all_technical_console_s02 = object_tangible_furniture_all_shared_frn_all_technical_console_s02:new {
}
ObjectTemplates:addTemplate(object_tangible_furniture_all_frn_all_technical_console_s02, "object/tangible/furniture/all/frn_all_technical_console_s02.iff")
| 49.166667 | 155 | 0.918644 |
53ec618edacbc0bea23f8506d889fa5e08b35ade | 11,942 | swift | Swift | Sources/STU3/BackboneElement/CapabilityStatementRestResource.swift | samanthaerachelb/alexandria | 4bd7eb87c0719a28e11057e03eb7c77287ff1556 | [
"Apache-2.0"
] | null | null | null | Sources/STU3/BackboneElement/CapabilityStatementRestResource.swift | samanthaerachelb/alexandria | 4bd7eb87c0719a28e11057e03eb7c77287ff1556 | [
"Apache-2.0"
] | null | null | null | Sources/STU3/BackboneElement/CapabilityStatementRestResource.swift | samanthaerachelb/alexandria | 4bd7eb87c0719a28e11057e03eb7c77287ff1556 | [
"Apache-2.0"
] | null | null | null | //
// CapabilityStatementRestResource.swift
// Asclepius
// Module: STU3
//
// Copyright (c) 2022 Bitmatic 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://ww... | 49.966527 | 168 | 0.768883 |
08b3b3990163f51ebac4d6093590206576a24f5b | 11,606 | css | CSS | src/main/webapp/resources/cmmnty/english/css/contents.css | tenbirds/OPENWORKS-3.0 | d9ea72589854380d7ad95a1df7e5397ad6d726a6 | [
"Apache-2.0"
] | null | null | null | src/main/webapp/resources/cmmnty/english/css/contents.css | tenbirds/OPENWORKS-3.0 | d9ea72589854380d7ad95a1df7e5397ad6d726a6 | [
"Apache-2.0"
] | null | null | null | src/main/webapp/resources/cmmnty/english/css/contents.css | tenbirds/OPENWORKS-3.0 | d9ea72589854380d7ad95a1df7e5397ad6d726a6 | [
"Apache-2.0"
] | null | null | null | @charset "utf-8";
/* =============================================================================
contents.css는 1depth까지만 주석으로 되어있습니다. (중요부분 예외처리)
========================================================================== */
/* ------------------------------------------------------------------
* 커뮤니티 메인
* ... | 76.355263 | 232 | 0.721868 |
cdeecf9abeaecf68db493f828e78bf94a01782be | 222 | cs | C# | firstDuplicateNumber.cs | JackieG19/codesignal | 270216414208b660c3c4e440315248decd6456a9 | [
"MIT"
] | null | null | null | firstDuplicateNumber.cs | JackieG19/codesignal | 270216414208b660c3c4e440315248decd6456a9 | [
"MIT"
] | null | null | null | firstDuplicateNumber.cs | JackieG19/codesignal | 270216414208b660c3c4e440315248decd6456a9 | [
"MIT"
] | null | null | null | int firstDuplicateNumber(int[] array) {
for(int i = 0; i < array.length; i++)
{
for(int j = 0; j < i; j++)
{
if(array[i] == array[j])
{
return array[i];
}
}
return -1;
}
}
| 15.857143 | 39 | 0.432432 |
b1394faad06d2bd397916fde81036a497628f87c | 1,479 | py | Python | setup.py | CWE0/rainflow | 7048f1c637f4fd40302c517e54deb3d6eddd6b21 | [
"MIT"
] | null | null | null | setup.py | CWE0/rainflow | 7048f1c637f4fd40302c517e54deb3d6eddd6b21 | [
"MIT"
] | null | null | null | setup.py | CWE0/rainflow | 7048f1c637f4fd40302c517e54deb3d6eddd6b21 | [
"MIT"
] | null | null | null | from setuptools import setup
import os
this_dir = os.path.dirname(__file__)
with open(os.path.join(this_dir, "README.md"), "rb") as fo:
long_description = fo.read().decode("utf8")
setup(
name='rainflow',
package_dir={"": "src"},
py_modules=['rainflow'],
description='Implementation of ASTM E1049-... | 36.073171 | 84 | 0.628127 |
d05a883ddf9c9707c89ad87fd2660c45d3b9ae24 | 10,981 | cc | C++ | src/tools/detector_repeatability.cc | jackyspeed/libmv | aae2e0b825b1c933d6e8ec796b8bb0214a508a84 | [
"MIT"
] | 160 | 2015-01-16T19:35:28.000Z | 2022-03-16T02:55:30.000Z | src/tools/detector_repeatability.cc | rgkoo/libmv-blender | cdf65edbb80d8904e2df9a20116d02546df93a81 | [
"MIT"
] | 3 | 2015-04-04T17:54:35.000Z | 2015-12-15T18:09:03.000Z | src/tools/detector_repeatability.cc | rgkoo/libmv-blender | cdf65edbb80d8904e2df9a20116d02546df93a81 | [
"MIT"
] | 51 | 2015-01-12T08:38:12.000Z | 2022-02-19T06:37:25.000Z | // Copyright (c) 2010 libmv authors.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish... | 34.315625 | 79 | 0.63282 |
1284361b84cfd8f1c0ffe9a9f76987caf4f50d32 | 548 | swift | Swift | Sources/SmartLights/UserSubsystem/Handler/UserRegistrationHandler.swift | Supereg/Apodini-REST-SmartLights | d4dd2c3681406b550db33ab1fada710a35837453 | [
"MIT"
] | 2 | 2021-02-06T22:54:43.000Z | 2021-02-12T15:18:26.000Z | Sources/SmartLights/UserSubsystem/Handler/UserRegistrationHandler.swift | Supereg/Apodini-REST-SmartLights | d4dd2c3681406b550db33ab1fada710a35837453 | [
"MIT"
] | null | null | null | Sources/SmartLights/UserSubsystem/Handler/UserRegistrationHandler.swift | Supereg/Apodini-REST-SmartLights | d4dd2c3681406b550db33ab1fada710a35837453 | [
"MIT"
] | null | null | null | //
// Created by Andreas Bauer on 06.02.21.
//
import Foundation
import Apodini
import NIO
import FluentKit
struct UserRegistrationHandler: Handler {
@Parameter
var registration: UserRegistration
@Environment(\.database)
var database: Database
func handle() -> EventLoopFuture<User> {
let... | 17.677419 | 48 | 0.60219 |
6b60661a5bcceb05eefe7759c2635c541994b19c | 670 | js | JavaScript | src/copy-entries-to-dir.js | ForbesLindesay/run-on-ssh | 3378798dd224d881fd316d6a87faf89d62bdfde2 | [
"MIT"
] | 1 | 2016-08-24T14:34:59.000Z | 2016-08-24T14:34:59.000Z | src/copy-entries-to-dir.js | ForbesLindesay/run-on-ssh | 3378798dd224d881fd316d6a87faf89d62bdfde2 | [
"MIT"
] | null | null | null | src/copy-entries-to-dir.js | ForbesLindesay/run-on-ssh | 3378798dd224d881fd316d6a87faf89d62bdfde2 | [
"MIT"
] | null | null | null | import Promise from 'promise';
export default function copy(ssh, entries, destinationDirectory) {
return ssh.exec('mkdir ' + destinationDirectory).then(
() => new Promise((resolve, reject) => {
function next(i) {
if (i >= entries.length) {
return resolve();
}
const entry =... | 30.454545 | 100 | 0.553731 |
5891956d1c92d8f094a84bc0f034f9f5133a5952 | 15,207 | css | CSS | public/Home/css/index/eight/eightService.css | mengzhaolis/zhongyan | b3ab4656c59db489be95e74b70dbb1231713b554 | [
"MIT"
] | null | null | null | public/Home/css/index/eight/eightService.css | mengzhaolis/zhongyan | b3ab4656c59db489be95e74b70dbb1231713b554 | [
"MIT"
] | null | null | null | public/Home/css/index/eight/eightService.css | mengzhaolis/zhongyan | b3ab4656c59db489be95e74b70dbb1231713b554 | [
"MIT"
] | null | null | null | html,
body {
height: 100%;
overflow: hidden;
}
body {
min-width: 1200px;
}
.positionRight {
height: 390px;
position: fixed;
right: 20px;
top: 50%;
margin-top: -193px;
z-index: 100;
}
.positionRight p {
margin-left: 54px;
cursor: pointer;
}
.positionRight ul {
margin: ... | 16.710989 | 90 | 0.605116 |
8c82bf9b8a888cdc50456b434c275cce92c2cd3d | 1,208 | go | Go | queue.go | duomi520/utils | e4523ecaadbf0e6a6b70b52f0bcdcd8eeb88a3df | [
"MIT"
] | null | null | null | queue.go | duomi520/utils | e4523ecaadbf0e6a6b70b52f0bcdcd8eeb88a3df | [
"MIT"
] | null | null | null | queue.go | duomi520/utils | e4523ecaadbf0e6a6b70b52f0bcdcd8eeb88a3df | [
"MIT"
] | null | null | null | package utils
import (
"runtime"
"sync/atomic"
)
//LockList 加锁读写数组,适用不频繁写的场景
//修改时新数据原子替换旧数据地址,旧数据由GC回收。
type LockList struct {
//0-unlock 1-lock
mutex int64
slice atomic.Value
}
//NewLockList 新
func NewLockList() *LockList {
l := LockList{}
var data []any
l.slice.Store(data)
return &l
}
//Add 增加
func (l *... | 17.764706 | 49 | 0.620033 |
c646a42aeb680e0760fcb61b72a099e0d199b1a5 | 2,584 | dart | Dart | lib/src/data/extensions/document_snapshot_extensions.dart | HeyKos/train-beers | f96e8edc7ed6da5811815bf49a73c2e95458f837 | [
"MIT"
] | 2 | 2020-03-17T14:17:56.000Z | 2020-03-19T14:39:25.000Z | lib/src/data/extensions/document_snapshot_extensions.dart | HeyKos/train-beers | f96e8edc7ed6da5811815bf49a73c2e95458f837 | [
"MIT"
] | 4 | 2020-10-15T01:13:57.000Z | 2022-01-22T11:17:26.000Z | lib/src/data/extensions/document_snapshot_extensions.dart | HeyKos/train_beers | f96e8edc7ed6da5811815bf49a73c2e95458f837 | [
"MIT"
] | null | null | null | import 'package:cloud_firestore/cloud_firestore.dart';
import '../../domain/entities/event_entity.dart';
import '../../domain/entities/event_participant_entity.dart';
import '../../domain/entities/user_entity.dart';
import '../validators/document_snapshot_validator.dart';
extension Extensions on DocumentSnapshot {
... | 30.4 | 79 | 0.669118 |
9746f1a56f848efb1081505d5a1083399989fb83 | 317 | go | Go | 12_if-statements/04_init-statement_error/main.go | Botozord/GolangTraining | d14ea3be81f8c5af3ba3b98e6ed5292eb22379b4 | [
"Apache-2.0"
] | null | null | null | 12_if-statements/04_init-statement_error/main.go | Botozord/GolangTraining | d14ea3be81f8c5af3ba3b98e6ed5292eb22379b4 | [
"Apache-2.0"
] | null | null | null | 12_if-statements/04_init-statement_error/main.go | Botozord/GolangTraining | d14ea3be81f8c5af3ba3b98e6ed5292eb22379b4 | [
"Apache-2.0"
] | null | null | null | package main
import "fmt"
func main() {
b := true
if food := "Chocolate"; b {
fmt.Println(food)
}
// so um exemplo contrario do exercicio anterior (03)
// tentando acessar a variavel food fora de sua declaracao, scope
fmt.Println(food)
// # command-line-arguments
// ./main.go:15: undefined: food
}
| 15.095238 | 67 | 0.665615 |
af1ca8cf7f62921d8a59f843069b0cb700470035 | 16,506 | py | Python | fire/helputils.py | bitshares-dex/python-fire | c13d87beee605565a6aece6b7464baa9fc552518 | [
"Apache-2.0"
] | 2 | 2019-02-18T01:57:24.000Z | 2019-02-18T03:08:58.000Z | fire/helputils.py | bitshares-dex/python-fire | c13d87beee605565a6aece6b7464baa9fc552518 | [
"Apache-2.0"
] | null | null | null | fire/helputils.py | bitshares-dex/python-fire | c13d87beee605565a6aece6b7464baa9fc552518 | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2018 Google Inc.
#
# 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 writing, ... | 30.623377 | 87 | 0.70544 |
ea02e6b053ef58284d02af6155755ffead87b3b0 | 24,414 | sql | SQL | ecourse.sql | febiolaputri01/ecourse | 2171b820e3714e5bbe6bc9ea7f3f496559c39e69 | [
"MIT"
] | null | null | null | ecourse.sql | febiolaputri01/ecourse | 2171b820e3714e5bbe6bc9ea7f3f496559c39e69 | [
"MIT"
] | null | null | null | ecourse.sql | febiolaputri01/ecourse | 2171b820e3714e5bbe6bc9ea7f3f496559c39e69 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 19 Okt 2021 pada 15.04
-- Versi server: 10.4.20-MariaDB
-- Versi PHP: 7.3.29
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@C... | 32.552 | 1,125 | 0.66167 |
2047ea8bcafc43be024bd3264c0530a7c29badde | 491 | swift | Swift | Sources/FaviconFinder/Classes/Types/Favicon.swift | francisfeng/FaviconFinder | 1b454ad7f69038b04d9f287ed78128324146ac8f | [
"MIT"
] | null | null | null | Sources/FaviconFinder/Classes/Types/Favicon.swift | francisfeng/FaviconFinder | 1b454ad7f69038b04d9f287ed78128324146ac8f | [
"MIT"
] | null | null | null | Sources/FaviconFinder/Classes/Types/Favicon.swift | francisfeng/FaviconFinder | 1b454ad7f69038b04d9f287ed78128324146ac8f | [
"MIT"
] | null | null | null | //
// Favicon.swift
// Pods
//
// Created by William Lumley on 26/5/21.
//
import Foundation
public struct Favicon {
/// The actual image
public let image: FaviconImage
public let data: Data
/// The url of the .ico or HTML page, of where the favicon was found
public let url: URL
/// T... | 18.884615 | 72 | 0.672098 |
51bda34ce7657e9dc3963f7f8904134cc72194d2 | 2,417 | dart | Dart | lib/src/services/isochrones.dart | TheGreatRefrigerator/open_route_service | f42960f89c878d996d519af0a78e1b5e87413308 | [
"MIT"
] | null | null | null | lib/src/services/isochrones.dart | TheGreatRefrigerator/open_route_service | f42960f89c878d996d519af0a78e1b5e87413308 | [
"MIT"
] | null | null | null | lib/src/services/isochrones.dart | TheGreatRefrigerator/open_route_service | f42960f89c878d996d519af0a78e1b5e87413308 | [
"MIT"
] | null | null | null | part of 'package:open_route_service/src/open_route_service_base.dart';
extension ORServiceIsochrones on OpenRouteService {
static const String _isochronesEndpointURL =
'${OpenRouteService._baseURL}/v2/isochrones';
/// Obtain Isochrone (areas of reachability) Datas for the [locations] given
/// as a [List]... | 34.528571 | 86 | 0.667356 |
e2e7afbd25e5cfa22e6611b125f12af3de1be88c | 8,422 | py | Python | tests/test_registration.py | berpress/shop_tests | c07329b93902a84f30043a38ec68f4e9d1576d94 | [
"Apache-2.0"
] | null | null | null | tests/test_registration.py | berpress/shop_tests | c07329b93902a84f30043a38ec68f4e9d1576d94 | [
"Apache-2.0"
] | 44 | 2021-02-03T18:19:31.000Z | 2021-02-10T15:20:54.000Z | tests/test_registration.py | berpress/shop_tests | c07329b93902a84f30043a38ec68f4e9d1576d94 | [
"Apache-2.0"
] | null | null | null | from models.fake_data import PersonalInformationData, Address
from common.constants import Users, Registration as reg, RandomData as rand
import allure
import pytest
from models.regdata import RegData
class TestRegistration:
@allure.story("Регистрация")
@allure.severity("critical")
@pytest.mark.skip(
... | 37.101322 | 89 | 0.56958 |
af54bd42d587209f4bc971b57f924918e09b2dac | 2,356 | py | Python | pkg/extractor.py | sveatlo/detektilo | d4a2f4abb90be5238ab537e648f35a2e4dc703a5 | [
"MIT"
] | null | null | null | pkg/extractor.py | sveatlo/detektilo | d4a2f4abb90be5238ab537e648f35a2e4dc703a5 | [
"MIT"
] | null | null | null | pkg/extractor.py | sveatlo/detektilo | d4a2f4abb90be5238ab537e648f35a2e4dc703a5 | [
"MIT"
] | null | null | null | import cv2
import imagehash
import xml.etree.ElementTree
import sys
from PIL import Image
from pathlib import Path
hashes = {}
class Extractor():
def __init__(self, root_path, video_file_path, images_dir, skipped_frames=1000, interactive=False):
self.video_file = str(video_file_path)
event_name... | 29.45 | 103 | 0.490662 |
e259d5ff4ebe225e42e3cbf53453ce418267529a | 467 | rb | Ruby | lib/crude_mutant/json_result_printer.rb | kellysutton/crude-mutant | 462bf718fd139fdb43c28ef60b21571a0a9a1e89 | [
"MIT"
] | 12 | 2018-12-27T03:03:42.000Z | 2021-03-02T17:55:56.000Z | lib/crude_mutant/json_result_printer.rb | kellysutton/crude-mutant | 462bf718fd139fdb43c28ef60b21571a0a9a1e89 | [
"MIT"
] | 3 | 2018-12-27T17:46:30.000Z | 2018-12-28T02:38:38.000Z | lib/crude_mutant/json_result_printer.rb | kellysutton/crude-mutant | 462bf718fd139fdb43c28ef60b21571a0a9a1e89 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
require "json"
module CrudeMutant
class JsonResultPrinter
class << self
def call(result, stream = $stdout)
stream.print(
JSON.dump({
result.file_path => {
passed_lines: result.run_results.reject(&:success?).map(&:line_number),
... | 22.238095 | 85 | 0.571734 |
14a979d6438d02f9b253615d0c571d529352ffaa | 796 | dart | Dart | lib/parser/components/epitest/subResults.dart | EpitechUtils/EpiMobile | a64140f404835f9b0c544493fe27b97acf810ea7 | [
"MIT"
] | 2 | 2019-05-18T13:18:06.000Z | 2019-06-11T11:59:25.000Z | lib/parser/components/epitest/subResults.dart | EpitechUtils/IntraMobile_Flutter | a64140f404835f9b0c544493fe27b97acf810ea7 | [
"MIT"
] | null | null | null | lib/parser/components/epitest/subResults.dart | EpitechUtils/IntraMobile_Flutter | a64140f404835f9b0c544493fe27b97acf810ea7 | [
"MIT"
] | null | null | null | import 'package:json_annotation/json_annotation.dart';
import 'package:mobile_intranet/parser/components/epitest/resultsSkill.dart';
import 'package:mobile_intranet/parser/components/epitest/resultsExternalItems.dart';
part 'subResults.g.dart';
@JsonSerializable()
class SubResults
{
List<String> logins;
doubl... | 33.166667 | 130 | 0.768844 |
c9357bb53846e809a9beb9054e0a0ffa1dc3fd53 | 1,371 | ts | TypeScript | test/function.test.ts | nullabletypo/atomic | 6493d1e247d4674a2cc0ec5ad39443e370c334eb | [
"MIT"
] | null | null | null | test/function.test.ts | nullabletypo/atomic | 6493d1e247d4674a2cc0ec5ad39443e370c334eb | [
"MIT"
] | 8 | 2020-03-22T02:34:36.000Z | 2021-09-23T02:26:14.000Z | test/function.test.ts | nullabletypo/atomic | 6493d1e247d4674a2cc0ec5ad39443e370c334eb | [
"MIT"
] | null | null | null | import { after, before, compose, delayed, once } from '../src/function'
test('once', () => {
const origin = (a: number, b: number) => a + b
const mock = jest.fn(origin)
const fn = once(mock)
expect(fn(1, 1)).toBe(2)
expect(fn(1, 1)).toBe(2)
expect(mock).toBeCalledTimes(1)
})
test('before', () => {
const... | 23.637931 | 71 | 0.585704 |
54724d1938e51a0dfaf04b1e6b86ff8101b1a9c6 | 172 | css | CSS | HTML-CSS/aulas-web/box shadow/style.css | DavidRusyckiUnidavi/aula_css | 678f48eed11ffd05f0895e8a0e9d3639e4102b5b | [
"Apache-2.0"
] | null | null | null | HTML-CSS/aulas-web/box shadow/style.css | DavidRusyckiUnidavi/aula_css | 678f48eed11ffd05f0895e8a0e9d3639e4102b5b | [
"Apache-2.0"
] | null | null | null | HTML-CSS/aulas-web/box shadow/style.css | DavidRusyckiUnidavi/aula_css | 678f48eed11ffd05f0895e8a0e9d3639e4102b5b | [
"Apache-2.0"
] | null | null | null | .teste {
width: 200px;
height: 100px;
background-color: #f1efe6;
border: 1px solid #d3cdae;
position: relative;
box-shadow: 3px 3px 10px #aaa;
}
| 14.333333 | 34 | 0.610465 |
4d7b6d21da8d3a832937e2c4d8693f5a9192911c | 1,367 | cs | C# | XUCore.Template.Ddd/Content/XUCore.Template.Ddd/XUCore.Template.Ddd.Persistence/Mappings/User/UserLoginRecordMapping.cs | xuyiazl/XUCore.Template | d92a05349d03c8c8aea2b9b94875f79a51768aec | [
"MIT"
] | 2 | 2021-08-29T06:53:05.000Z | 2021-12-13T05:02:03.000Z | XUCore.Template.Ddd/Content/XUCore.Template.Ddd/XUCore.Template.Ddd.Persistence/Mappings/User/UserLoginRecordMapping.cs | xuyiazl/XUCore.Template | d92a05349d03c8c8aea2b9b94875f79a51768aec | [
"MIT"
] | null | null | null | XUCore.Template.Ddd/Content/XUCore.Template.Ddd/XUCore.Template.Ddd.Persistence/Mappings/User/UserLoginRecordMapping.cs | xuyiazl/XUCore.Template | d92a05349d03c8c8aea2b9b94875f79a51768aec | [
"MIT"
] | null | null | null | using XUCore.Template.Ddd.Domain.Core.Entities.User;
namespace XUCore.Template.Ddd.Persistence.Mappings.User
{
public class UserLoginRecordMapping : BaseKeyMapping<UserLoginRecordEntity>
{
public UserLoginRecordMapping() : base("t_user_loginrecord", t => t.Id)
{
}
public over... | 31.068182 | 88 | 0.55523 |
cd3e9a309bfa00b2e94e41919641e5a988fce461 | 367 | cs | C# | Hyperion.SiteManagement/ISiteManager.cs | n3rd/Hyperion | 03d83e3c618b186e86b50d6ba56dae2c05d91204 | [
"MIT"
] | null | null | null | Hyperion.SiteManagement/ISiteManager.cs | n3rd/Hyperion | 03d83e3c618b186e86b50d6ba56dae2c05d91204 | [
"MIT"
] | null | null | null | Hyperion.SiteManagement/ISiteManager.cs | n3rd/Hyperion | 03d83e3c618b186e86b50d6ba56dae2c05d91204 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hyperion.SiteManagement
{
public interface ISiteManager
{
IEnumerable<Site> GetSites();
Task StartAsync(string siteName);
Task StopAsync(string siteName);
... | 21.588235 | 43 | 0.711172 |
5f198fca151cc9a9cd709aaf8ded9e8ba31cda86 | 1,668 | css | CSS | style/main/tablet.css | augustobor/myWebsite | d266465a20bd8d5a54d42271aa36ba3ea3fe4f61 | [
"Apache-2.0"
] | 1 | 2022-03-03T00:43:14.000Z | 2022-03-03T00:43:14.000Z | style/main/tablet.css | augustobor/myWebsite | d266465a20bd8d5a54d42271aa36ba3ea3fe4f61 | [
"Apache-2.0"
] | null | null | null | style/main/tablet.css | augustobor/myWebsite | d266465a20bd8d5a54d42271aa36ba3ea3fe4f61 | [
"Apache-2.0"
] | null | null | null | @import url('../config/menu-desktop.css');
/*Menu*/
.menu-mobile {
display: none;
}
.menu-desktop {
display: block;
background-color: var(--black);
}
/*Profile*/
.website-profile--mobile {
transform: scale(1.3);
}
.website-profile > div .website-profile--article p, .website-portfolio p {
font... | 16.352941 | 92 | 0.63729 |
b8836e564dad9d15c1875b2df875b8a69f8052db | 350 | h | C | UdpProcessor.h | zulhilmizainuddin/nettomon | da5b6c6a99edea0315c19e4c88a7548a16d108ac | [
"MIT"
] | 2 | 2016-01-30T23:45:49.000Z | 2019-03-25T01:04:29.000Z | UdpProcessor.h | zulhilmizainuddin/nettomon | da5b6c6a99edea0315c19e4c88a7548a16d108ac | [
"MIT"
] | null | null | null | UdpProcessor.h | zulhilmizainuddin/nettomon | da5b6c6a99edea0315c19e4c88a7548a16d108ac | [
"MIT"
] | null | null | null | #ifndef NETTOMON_UDPPROCESSOR_H
#define NETTOMON_UDPPROCESSOR_H
#include <netinet/udp.h>
#include "TransportLayerProcessor.h"
class UdpProcessor : public TransportLayerProcessor {
public:
virtual uint16_t getSourcePort(const u_char *header);
virtual uint16_t getDestinationPort(const u_char *header);
};
#en... | 21.875 | 62 | 0.805714 |
cc5fa243a5534b8c432ec36f3e65b3fc750aa87a | 1,849 | dart | Dart | test/iron_behavior_disabled_state_test.dart | bwu-dart-playground/polymer_elements_parent | ac9a5c9198561022455e8b7160fdd0b40489bca9 | [
"BSD-3-Clause"
] | null | null | null | test/iron_behavior_disabled_state_test.dart | bwu-dart-playground/polymer_elements_parent | ac9a5c9198561022455e8b7160fdd0b40489bca9 | [
"BSD-3-Clause"
] | null | null | null | test/iron_behavior_disabled_state_test.dart | bwu-dart-playground/polymer_elements_parent | ac9a5c9198561022455e8b7160fdd0b40489bca9 | [
"BSD-3-Clause"
] | null | null | null | @TestOn('browser')
library polymer_elements.test.iron_behavior_disabled_state_test;
import 'dart:async';
import 'dart:convert';
import 'dart:html';
import 'dart:js';
import 'package:polymer_interop/polymer_interop.dart';
import 'package:test/test.dart';
import 'package:web_components/web_components.dart';
import 'fixt... | 29.349206 | 70 | 0.630611 |
dbbb80a1984ff48cf7bdb2d46f750340d13a7985 | 330 | php | PHP | app/Models/Tank.php | mubahood/nawec | 108c8f942d93c28db1573a62246eab4a57a51348 | [
"MIT"
] | null | null | null | app/Models/Tank.php | mubahood/nawec | 108c8f942d93c28db1573a62246eab4a57a51348 | [
"MIT"
] | null | null | null | app/Models/Tank.php | mubahood/nawec | 108c8f942d93c28db1573a62246eab4a57a51348 | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Encore\Admin\Form\Field\BelongsTo;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Tank extends Model
{
use HasFactory;
public function power_station(){
return $this->belongsTo(PowerStation::class,'power_station_id')... | 20.625 | 72 | 0.751515 |
a468196994949ae8598fe215461dbce80248af7b | 767 | php | PHP | src/vendor/magento/framework/Event/Config.php | tuliodemelo/fulcrum | eae18d5d449d257ab9d9f1a2c1cd0901ee659229 | [
"MIT"
] | 1 | 2018-11-28T08:11:17.000Z | 2018-11-28T08:11:17.000Z | src/vendor/magento/framework/Event/Config.php | tuliodemelo/fulcrum | eae18d5d449d257ab9d9f1a2c1cd0901ee659229 | [
"MIT"
] | 12 | 2018-11-22T05:03:24.000Z | 2018-11-27T06:30:53.000Z | src/vendor/magento/framework/Event/Config.php | tuliodemelo/fulcrum | eae18d5d449d257ab9d9f1a2c1cd0901ee659229 | [
"MIT"
] | 5 | 2018-11-29T00:36:49.000Z | 2020-11-06T07:37:19.000Z | <?php
/**
* Event configuration model
*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\Event;
use Magento\Framework\Event\Config\Data;
class Config implements ConfigInterface
{
/**
* Modules configuration model
*
* @var Da... | 19.175 | 58 | 0.6206 |
55f9a6c215b3346244cc13eeafbf040dab0ee9ef | 1,281 | sql | SQL | SistemaUniversidad.BackEnd.BD/Stored Procedures/SP_CursosEnMatricula_Actualizar.sql | estibent10/SistemaUniversidad.BackEnd | bf80b401bd40178383c7c033f8cc8fb4ea418ce7 | [
"MIT"
] | null | null | null | SistemaUniversidad.BackEnd.BD/Stored Procedures/SP_CursosEnMatricula_Actualizar.sql | estibent10/SistemaUniversidad.BackEnd | bf80b401bd40178383c7c033f8cc8fb4ea418ce7 | [
"MIT"
] | null | null | null | SistemaUniversidad.BackEnd.BD/Stored Procedures/SP_CursosEnMatricula_Actualizar.sql | estibent10/SistemaUniversidad.BackEnd | bf80b401bd40178383c7c033f8cc8fb4ea418ce7 | [
"MIT"
] | 1 | 2021-12-20T07:03:59.000Z | 2021-12-20T07:03:59.000Z | CREATE PROCEDURE SP_CursosEnMatricula_Actualizar
@CodigoMatricula INT,
@CodigoCurso INT,
@FechaModificacion DATE= GETDATE,
@ModificadoPor VARCHAR (60),
@ExisteError BIT OUTPUT,
@DetalleError VARCHAR(60) OUTPUT
AS
BEGIN TRY
BEGIN TRANSACTION
DECLARE @ExisteCursoEnMatricula BIT
SET @ExisteCursoEnM... | 28.466667 | 149 | 0.71975 |
751aa1a48e95c7af450e4d74c1bb9bb7a5eab240 | 540 | swift | Swift | HeroesNet/EamCoreUtils/EamCoreUtils/Source/String/StringExtension.swift | Genar/HeroesNet | 7613237cda0ca162bc2560d76a102cd0aef1a402 | [
"MIT"
] | null | null | null | HeroesNet/EamCoreUtils/EamCoreUtils/Source/String/StringExtension.swift | Genar/HeroesNet | 7613237cda0ca162bc2560d76a102cd0aef1a402 | [
"MIT"
] | null | null | null | HeroesNet/EamCoreUtils/EamCoreUtils/Source/String/StringExtension.swift | Genar/HeroesNet | 7613237cda0ca162bc2560d76a102cd0aef1a402 | [
"MIT"
] | 1 | 2021-11-19T10:32:01.000Z | 2021-11-19T10:32:01.000Z | //
// StringExtension.swift
// EamCoreUtils
//
// Created by Genar Codina on 11/11/21.
//
import Foundation
extension String {
public var localized: String {
return NSLocalizedString(self, comment: "\(self)_comment")
}
public func localized(_ args: CVarArg...) -> String {
... | 18 | 66 | 0.616667 |
40aa36175547927e0e42858621c63cf39bf37ebe | 918 | ts | TypeScript | src/helpers/error.ts | YGT-cxy/ts-axios | 2785d934b25122908cb5a0a2cbcf67d5afa1357c | [
"MIT"
] | null | null | null | src/helpers/error.ts | YGT-cxy/ts-axios | 2785d934b25122908cb5a0a2cbcf67d5afa1357c | [
"MIT"
] | null | null | null | src/helpers/error.ts | YGT-cxy/ts-axios | 2785d934b25122908cb5a0a2cbcf67d5afa1357c | [
"MIT"
] | null | null | null | import { AxiosRequestConfig, AxiosResponse } from './../types'
// AxiosError参数集合接口
interface AxiosErrorArgs {
message: string // Error的报错信息
config: AxiosRequestConfig // request的config配置项
code?: string | null // 状态码
request?: any // request实例本身
response?: AxiosResponse // 响应体
}
// request请求响应出错类
class Axios... | 22.95 | 62 | 0.711329 |
9e8ed98e2ce92f1d1df99c1601cafa956112fdec | 3,027 | kts | Kotlin | build.gradle.kts | cobaltinc/vortex | 5ea999530372814ff0429dfe99805d6260c524ac | [
"MIT"
] | null | null | null | build.gradle.kts | cobaltinc/vortex | 5ea999530372814ff0429dfe99805d6260c524ac | [
"MIT"
] | null | null | null | build.gradle.kts | cobaltinc/vortex | 5ea999530372814ff0429dfe99805d6260c524ac | [
"MIT"
] | null | null | null | plugins {
kotlin("jvm") version "1.6.0"
id("io.spring.dependency-management") version "1.0.11.RELEASE"
`maven-publish`
signing
}
group = "run.cobalt"
version = "0.0.2"
java.sourceCompatibility = JavaVersion.VERSION_11
repositories {
maven(url = "https://plugins.gradle.org/m2/")
mavenCentral()
}
tasks {
... | 23.834646 | 100 | 0.631318 |
72e96b69c37b3b53666a8fc1d0efa40c6146bf7e | 6,941 | cs | C# | SecureFolderFS.WinUI/Dialogs/VaultWizardDialog.xaml.cs | securefolderfs-community/SecureFolderFS | f1e7411dcc50c742478ffb04759edc2d7e54c763 | [
"MIT"
] | 17 | 2022-02-08T09:26:20.000Z | 2022-03-30T18:42:28.000Z | SecureFolderFS.WinUI/Dialogs/VaultWizardDialog.xaml.cs | securefolderfs-community/SecureFolderFS | f1e7411dcc50c742478ffb04759edc2d7e54c763 | [
"MIT"
] | null | null | null | SecureFolderFS.WinUI/Dialogs/VaultWizardDialog.xaml.cs | securefolderfs-community/SecureFolderFS | f1e7411dcc50c742478ffb04759edc2d7e54c763 | [
"MIT"
] | null | null | null | using System;
using System.Threading.Tasks;
using CommunityToolkit.Mvvm.Messaging;
using CommunityToolkit.WinUI.UI.Animations;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Media.Animation;
using SecureFolderFS.Backend.Dialogs;
using SecureFolderFS.Backend.Enums;
using SecureFolder... | 38.137363 | 153 | 0.618787 |
48836c4594633244cd497ef4dc7af5d44574060c | 533 | lua | Lua | killfeed/server/killfeed.lua | Jokler/JC2MP-Scripts | d6a2a2534851142b08fa244294367c93bcfca977 | [
"MIT"
] | 1 | 2015-02-19T14:56:50.000Z | 2015-02-19T14:56:50.000Z | killfeed/server/killfeed.lua | Jokler/JC2MP-Scripts | d6a2a2534851142b08fa244294367c93bcfca977 | [
"MIT"
] | null | null | null | killfeed/server/killfeed.lua | Jokler/JC2MP-Scripts | d6a2a2534851142b08fa244294367c93bcfca977 | [
"MIT"
] | 2 | 2015-04-17T22:17:20.000Z | 2021-12-08T16:06:55.000Z | class 'Killfeed'
function Killfeed:__init()
Events:Subscribe("PlayerDeath", self, self.PlayerDeath)
end
function Killfeed:PlayerDeath(args)
t = {["player"] = args.player,
["reason"] = args.reason}
if args.killer and args.killer:GetName() ~= args.player:GetName() then
t.killer ... | 24.227273 | 74 | 0.63227 |
377ad4d231bebca342a7f26e0b631a5a8e63be66 | 135 | sh | Shell | rootdir/enableswap.sh | mhdzumair/android_device_e4 | 86c80b9f766520ea522ce75cd637ab4b729b5550 | [
"FTL"
] | null | null | null | rootdir/enableswap.sh | mhdzumair/android_device_e4 | 86c80b9f766520ea522ce75cd637ab4b729b5550 | [
"FTL"
] | null | null | null | rootdir/enableswap.sh | mhdzumair/android_device_e4 | 86c80b9f766520ea522ce75cd637ab4b729b5550 | [
"FTL"
] | null | null | null | #!/bin/sh
echo 536870912 > /sys/block/zram0/disksize
/system/bin/tiny_mkswap /dev/block/zram0
/system/bin/tiny_swapon /dev/block/zram0
| 27 | 42 | 0.777778 |
f446875680da34f8b609887249d68d7af32d29d7 | 2,360 | ts | TypeScript | src/range.ts | zangfenziang/vscode-open | ecfbe085b7aea4e23bf06b9280b0e6b701c5b53f | [
"MIT"
] | null | null | null | src/range.ts | zangfenziang/vscode-open | ecfbe085b7aea4e23bf06b9280b0e6b701c5b53f | [
"MIT"
] | null | null | null | src/range.ts | zangfenziang/vscode-open | ecfbe085b7aea4e23bf06b9280b0e6b701c5b53f | [
"MIT"
] | null | null | null | import * as regex from './regex';
// TODO (ayu): docstrings
class RangeRegex {
lineRegex: string;
linePrefix: string;
constructor(lineRegex: string, linePrefix: string) {
this.lineRegex = lineRegex;
this.linePrefix = linePrefix || '';
}
toRegex(lineSeparator: string, captureGroup... | 27.764706 | 107 | 0.555508 |
d30693d1f98b82ed05e0f5a3e812119d62227c06 | 31 | lua | Lua | resources/words/aty.lua | terrabythia/alfabeter | da422481ba223ebc6c4ded63fed8f75605193d44 | [
"MIT"
] | null | null | null | resources/words/aty.lua | terrabythia/alfabeter | da422481ba223ebc6c4ded63fed8f75605193d44 | [
"MIT"
] | null | null | null | resources/words/aty.lua | terrabythia/alfabeter | da422481ba223ebc6c4ded63fed8f75605193d44 | [
"MIT"
] | null | null | null | return {'atypisch','atypische'} | 31 | 31 | 0.741935 |
4704a75ddd875239d096bc6ef2677edd7e5bded7 | 48,711 | rb | Ruby | lib/adwords_api/v201101/DataServiceMappingRegistry.rb | Luckyplanet/google-adwords-api | 64c8df1c7fca9c0933945d7657981dec78463075 | [
"Apache-2.0"
] | 2 | 2015-10-20T18:18:14.000Z | 2017-02-16T01:39:57.000Z | lib/adwords_api/v201101/DataServiceMappingRegistry.rb | chromeragnarok/adwords_api | b9563ad2729ec98c814b294cf5bcb38c8ce22751 | [
"Apache-2.0"
] | null | null | null | lib/adwords_api/v201101/DataServiceMappingRegistry.rb | chromeragnarok/adwords_api | b9563ad2729ec98c814b294cf5bcb38c8ce22751 | [
"Apache-2.0"
] | 1 | 2020-09-30T21:13:51.000Z | 2020-09-30T21:13:51.000Z | require 'adwords_api/v201101/DataService'
require 'soap/mapping'
module AdwordsApi; module V201101; module DataService
module DefaultMappingRegistry
EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
NsV201101 = "https://adwords.google.com/api/adwords/c... | 41.350594 | 122 | 0.642011 |
a469c217cb2965333cb4a18d108a5d813b205666 | 2,421 | php | PHP | app/Http/Controllers/API/BookController.php | ThuHtetDev/Rentook_02 | 7e5f09bc3ada3020a1be17102cdc9a4484f89058 | [
"MIT"
] | null | null | null | app/Http/Controllers/API/BookController.php | ThuHtetDev/Rentook_02 | 7e5f09bc3ada3020a1be17102cdc9a4484f89058 | [
"MIT"
] | null | null | null | app/Http/Controllers/API/BookController.php | ThuHtetDev/Rentook_02 | 7e5f09bc3ada3020a1be17102cdc9a4484f89058 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\API;
use Illuminate\Http\Request;
use App\Http\Controllers\API\BaseController as BaseController;
use App\Http\Resources\BookResource;
use App\Http\Resources\BookResourceCollection;
use App\Book;
use Validator;
class BookController extends BaseController
{
public function inde... | 29.168675 | 93 | 0.567534 |
71a7eb306ae3a8fe7053737ba8c9f7115ebbb2d3 | 1,462 | rs | Rust | src/main.rs | marti1125/terminal_utils | b685a43aa93368d27c89ed98fca9021584b7801c | [
"MIT"
] | null | null | null | src/main.rs | marti1125/terminal_utils | b685a43aa93368d27c89ed98fca9021584b7801c | [
"MIT"
] | null | null | null | src/main.rs | marti1125/terminal_utils | b685a43aa93368d27c89ed98fca9021584b7801c | [
"MIT"
] | null | null | null | use std::env;
use std::process::Command;
fn main() {
for argument in env::args() {
if argument.len() >= 10 {
// To list any process listening to the port
let open_port = &argument[..10];
if open_port == "open_port=" {
let port = &argument[10..argumen... | 24.366667 | 84 | 0.413133 |
e221e4cf1a1a49eecc5cd539c9206bec02d704c1 | 1,976 | py | Python | network.py | xaggi/OGNet | bb9741c6ef698366544d01b849f329cc1187c917 | [
"MIT"
] | 64 | 2020-06-19T00:02:00.000Z | 2022-03-27T07:39:24.000Z | network.py | xaggi/OGNet | bb9741c6ef698366544d01b849f329cc1187c917 | [
"MIT"
] | 8 | 2020-07-09T01:54:09.000Z | 2022-01-05T23:16:54.000Z | network.py | xaggi/OGNet | bb9741c6ef698366544d01b849f329cc1187c917 | [
"MIT"
] | 19 | 2020-08-03T07:45:53.000Z | 2022-02-12T02:52:22.000Z |
from torch import nn
class g_net(nn.Module):
def __init__(self):
super(g_net, self).__init__()
self.encoder = nn.Sequential(
nn.Conv2d(1, 64, 5, stride=1),
nn.BatchNorm2d(64),
nn.ReLU(True),
nn.Conv2d(64, 128, 5, stride=1),
nn.BatchNorm... | 27.830986 | 56 | 0.494939 |
7d646405c05e09a23443942682d89e5d469ab6a9 | 381 | rs | Rust | cli/src/code_generate/project/gitignore_file.rs | Tak-Iwamoto/rusty-gql | 8244d844f827a524cd91ba815fe5d113f3499927 | [
"MIT"
] | 53 | 2022-01-30T23:34:36.000Z | 2022-03-22T08:24:24.000Z | cli/src/code_generate/project/gitignore_file.rs | Tak-Iwamoto/rusty-gql | 8244d844f827a524cd91ba815fe5d113f3499927 | [
"MIT"
] | 1 | 2022-02-15T02:58:56.000Z | 2022-02-19T06:58:50.000Z | cli/src/code_generate/project/gitignore_file.rs | Tak-Iwamoto/rusty-gql | 8244d844f827a524cd91ba815fe5d113f3499927 | [
"MIT"
] | null | null | null | use crate::code_generate::FileDefinition;
pub struct GitignoreFile<'a> {
pub app_name: &'a str,
}
impl<'a> FileDefinition for GitignoreFile<'a> {
fn name(&self) -> String {
".gitignore".to_string()
}
fn path(&self) -> String {
format!("{}/.gitignore", self.app_name)
}
fn cont... | 19.05 | 47 | 0.577428 |
2e19df720889ecb59071f601964d50a4f5c21e9b | 3,381 | lua | Lua | swsfawse_ai/data/Scripts/Ai/Landmode/Buildstructureland.lua | Silvakilla/sci-fi-at-war | cdf9b834b4af365878416a7adc17585cf37a7508 | [
"Apache-2.0"
] | null | null | null | swsfawse_ai/data/Scripts/Ai/Landmode/Buildstructureland.lua | Silvakilla/sci-fi-at-war | cdf9b834b4af365878416a7adc17585cf37a7508 | [
"Apache-2.0"
] | null | null | null | swsfawse_ai/data/Scripts/Ai/Landmode/Buildstructureland.lua | Silvakilla/sci-fi-at-war | cdf9b834b4af365878416a7adc17585cf37a7508 | [
"Apache-2.0"
] | null | null | null | -- $Id: //depot/Projects/StarWars_Expansion/Run/Data/Scripts/AI/LandMode/BuildStructureLand.lua#4 $
--/////////////////////////////////////////////////////////////////////////////////////////////////
--
-- (C) Petroglyph Games, Inc.
--
--
-- ***** ** * *
-- * ** ... | 47.619718 | 375 | 0.422064 |
516f8e78cfa9ea7faffecccae203142338540438 | 592 | lua | Lua | lib/trace.lua | poga/docker-microservice-dep | 9812a50a8d01e02305cfd796fd79f235d4caadd6 | [
"MIT"
] | 55 | 2015-09-18T05:38:32.000Z | 2021-03-11T04:55:12.000Z | lib/trace.lua | poga/docker-microservice-dep | 9812a50a8d01e02305cfd796fd79f235d4caadd6 | [
"MIT"
] | 2 | 2017-12-02T21:31:43.000Z | 2018-04-15T21:33:18.000Z | lib/trace.lua | poga/docker-microservice-dep | 9812a50a8d01e02305cfd796fd79f235d4caadd6 | [
"MIT"
] | 3 | 2018-04-15T16:17:45.000Z | 2021-01-21T22:33:35.000Z | -- generate trace ID if there's none
-- trace-id == root-span-id
if not ngx.var.HTTP_X_SPACER_TRACE_ID then
-- use request_id so we don't have to generate unique id by ourself
ngx.req.set_header('X-SPACER-TRACE-ID', ngx.var.request_id)
end
-- We are a child span if there's already a SPAN_ID
-- in this case, mo... | 37 | 87 | 0.756757 |
1dfdb976f14f223165e9d55e08398025ec34d1e1 | 636 | kt | Kotlin | android_app/app/src/main/java/com/pwr/sailapp/ui/generic/ScopedActivity.kt | PGliw/SailApp | 8d87679ef94f44071f12a2ea3fa9b84834ea60b2 | [
"MIT"
] | null | null | null | android_app/app/src/main/java/com/pwr/sailapp/ui/generic/ScopedActivity.kt | PGliw/SailApp | 8d87679ef94f44071f12a2ea3fa9b84834ea60b2 | [
"MIT"
] | 42 | 2019-04-01T13:35:45.000Z | 2022-02-26T10:32:51.000Z | android_app/app/src/main/java/com/pwr/sailapp/ui/generic/ScopedActivity.kt | PGliw/SailApp | 8d87679ef94f44071f12a2ea3fa9b84834ea60b2 | [
"MIT"
] | 3 | 2019-05-12T00:32:46.000Z | 2019-11-25T20:11:17.000Z | package com.pwr.sailapp.ui.generic
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Job
import kotlin.coroutines.CoroutineContext
abstract class ScopedActivity : AppCompatActivity(), Cor... | 27.652174 | 93 | 0.756289 |
42f67bb8ada877e33dda59c127a0cf639ae96f0e | 307 | sql | SQL | DB-with-C#/Labs-And-Homeworks/Databases Basics - MS SQL Server/06. Built-in functions - Exercise/10RankEmployeesBySalary.sql | veloman86/SoftUni-Software-Engineering | 20348f2335dc4256a5fe5622569104eaa28b2131 | [
"MIT"
] | 1 | 2020-02-05T23:22:02.000Z | 2020-02-05T23:22:02.000Z | DB-with-C#/Labs-And-Homeworks/Databases Basics - MS SQL Server/06. Built-in functions - Exercise/10RankEmployeesBySalary.sql | veloman86/SoftUni-Software-Engineering | 20348f2335dc4256a5fe5622569104eaa28b2131 | [
"MIT"
] | null | null | null | DB-with-C#/Labs-And-Homeworks/Databases Basics - MS SQL Server/06. Built-in functions - Exercise/10RankEmployeesBySalary.sql | veloman86/SoftUni-Software-Engineering | 20348f2335dc4256a5fe5622569104eaa28b2131 | [
"MIT"
] | 7 | 2019-07-09T12:53:25.000Z | 2021-01-05T16:07:54.000Z | SELECT EmployeeID,
FirstName,
LastName,
Salary,
DENSE_RANK() OVER (
PARTITION BY Salary
ORDER BY EmployeeID
)
[Rank]
FROM Employees
WHERE Salary BETWEEN 10000 AND 50000
ORDER BY Salary
DESC | 23.615385 | 39 | 0.495114 |
a18de011cbec759e513c042fe3df579d5d494d39 | 592 | ts | TypeScript | front/src/app/models/UserPublic.model.ts | jdakata/concours-photo | 568f00ac8e989c86d943211155ea32a73fc1b9f3 | [
"MIT"
] | null | null | null | front/src/app/models/UserPublic.model.ts | jdakata/concours-photo | 568f00ac8e989c86d943211155ea32a73fc1b9f3 | [
"MIT"
] | null | null | null | front/src/app/models/UserPublic.model.ts | jdakata/concours-photo | 568f00ac8e989c86d943211155ea32a73fc1b9f3 | [
"MIT"
] | null | null | null | import {User} from './User.model';
export class UserPublic {
constructor(
public id,
public username,
public victories,
public score,
public theme_score,
public participations,
public rank,
public photo
) {
}
static fromUser(user: User): ... | 20.413793 | 45 | 0.510135 |
46d24ac092cabd253e49c905af0cfa7be6439b99 | 174 | py | Python | web/settings/production.py | beniaminonobile/www.albertifra.it | 721b6125bbe56e806cf3abd5270d9c5cd85034be | [
"MIT"
] | null | null | null | web/settings/production.py | beniaminonobile/www.albertifra.it | 721b6125bbe56e806cf3abd5270d9c5cd85034be | [
"MIT"
] | null | null | null | web/settings/production.py | beniaminonobile/www.albertifra.it | 721b6125bbe56e806cf3abd5270d9c5cd85034be | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Put here your production specific settings
ADMINS = [
('Francesca Alberti', 'francydark91@gmail.com'),
]
EMAIL_SUBJECT_PREFIX = '[ALBERTIFRA]' | 21.75 | 52 | 0.683908 |
eb3bd839caf81564045ef2b7c8902380ec1554ab | 1,007 | css | CSS | static/style.css | gbv/coli-rich | 94393d40329d038cdf69a1ab0466aed82961c974 | [
"MIT"
] | 1 | 2021-09-30T07:07:51.000Z | 2021-09-30T07:07:51.000Z | static/style.css | gbv/coli-rich | 94393d40329d038cdf69a1ab0466aed82961c974 | [
"MIT"
] | 22 | 2020-08-14T09:02:33.000Z | 2021-08-23T07:45:33.000Z | static/style.css | gbv/coli-rich | 94393d40329d038cdf69a1ab0466aed82961c974 | [
"MIT"
] | null | null | null | body {
font-family: Sans-Serif;
}
main {
margin: 1em;
}
h2 {
font-size: large;
}
.table {
border-collapse: collapse;
}
.table thead, tfoot {
background: #eee;
}
.table th {
text-align: left;
}
.table > tbody > tr > td, th {
padding: 0.2em 0.5em;
border: 1px solid #ddd;
}
a {
text-decoration: none; ... | 13.794521 | 32 | 0.612711 |
4561ec0c7487642899455ccc3ff726120ddf3e2e | 4,761 | py | Python | tests/test_adb.py | RakhithJK/andriller | be94bc5aff84069395c333bdf472f39b550bdba7 | [
"MIT"
] | 883 | 2019-12-14T10:47:48.000Z | 2022-03-30T12:35:19.000Z | tests/test_adb.py | RakhithJK/andriller | be94bc5aff84069395c333bdf472f39b550bdba7 | [
"MIT"
] | 40 | 2019-12-18T03:04:28.000Z | 2022-03-30T03:07:05.000Z | tests/test_adb.py | RakhithJK/andriller | be94bc5aff84069395c333bdf472f39b550bdba7 | [
"MIT"
] | 169 | 2019-12-15T17:08:41.000Z | 2022-03-25T12:52:12.000Z | import sys
import pytest
import tempfile
import subprocess
from unittest import mock
from andriller import adb_conn
fake_adb = tempfile.NamedTemporaryFile()
@pytest.fixture
def ADB(mocker):
mocker.patch('andriller.adb_conn.ADBConn.kill')
mocker.patch('andriller.adb_conn.ADBConn._opt_use_capture', return_valu... | 36.623077 | 95 | 0.710775 |
06d17e1327456ea7fc2376a7520afea4aafbb72d | 740 | py | Python | src/zumanji/admin.py | disqus/zumanji | c68bbae5381f6ab4733256ab0af0ca21af34abcf | [
"Apache-2.0"
] | 8 | 2015-07-14T16:07:22.000Z | 2021-07-05T02:06:31.000Z | src/zumanji/admin.py | disqus/zumanji | c68bbae5381f6ab4733256ab0af0ca21af34abcf | [
"Apache-2.0"
] | null | null | null | src/zumanji/admin.py | disqus/zumanji | c68bbae5381f6ab4733256ab0af0ca21af34abcf | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from zumanji.models import Project, Revision, Build
class ProjectAdmin(admin.ModelAdmin):
list_display = ('label',)
search_fields = ('label',)
admin.site.register(Project, ProjectAdmin)
class RevisionAdmin(admin.ModelAdmin):
list_display = ('label', 'project')
list_... | 27.407407 | 72 | 0.710811 |
39308b78fd66d3b216155fa729174e751b15f79d | 3,038 | py | Python | SnP500/ARMA.py | tillaczel/LSTM-GRU-RF-predicting-SP500 | 165bda67dbd613181a52e73d014996a6035762fc | [
"MIT"
] | null | null | null | SnP500/ARMA.py | tillaczel/LSTM-GRU-RF-predicting-SP500 | 165bda67dbd613181a52e73d014996a6035762fc | [
"MIT"
] | null | null | null | SnP500/ARMA.py | tillaczel/LSTM-GRU-RF-predicting-SP500 | 165bda67dbd613181a52e73d014996a6035762fc | [
"MIT"
] | null | null | null | from pandas import read_csv
from pandas import datetime
from pandas import DataFrame
from pmdarima.arima import auto_arima
import matplotlib.pyplot as plt
import numpy as np
import time
import pandas as pd
from manipulate_data import *
def predict(coef, history):
yhat = 0.0
for i in range(1, len(coef)+1):
... | 46.738462 | 125 | 0.64944 |
2d62b6a963638ceafe8d682fc0ace60546709d3b | 385 | css | CSS | kxEditor/wvbrowser_ui/content_ui/styles.css | kxkx5150/KXEditor | d131cc6312b5cbff0c297bd269a253c0c7c6380a | [
"MIT"
] | 61 | 2019-12-17T15:22:47.000Z | 2022-01-17T08:51:02.000Z | kxEditor/wvbrowser_ui/content_ui/styles.css | kxkx5150/KXEditor | d131cc6312b5cbff0c297bd269a253c0c7c6380a | [
"MIT"
] | 16 | 2019-11-16T00:21:53.000Z | 2021-06-22T18:10:54.000Z | kxEditor/wvbrowser_ui/content_ui/styles.css | kxkx5150/KXEditor | d131cc6312b5cbff0c297bd269a253c0c7c6380a | [
"MIT"
] | 16 | 2019-12-17T15:41:19.000Z | 2022-03-29T12:54:22.000Z | html, body {
margin: 0;
border: none;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
background-color: rgb(240, 240, 242);
}
p {
margin: 0;
}
body {
padding: 32px 50px;
font-family: 'system-ui', sans-serif;
}
.main-title {
display: block;
margin-bottom: 18px;
font... | 14.807692 | 46 | 0.579221 |
af281b71d5dc8b4b89c8f774c158725a97dff5f4 | 1,072 | py | Python | setup.py | mverleg/django_tex_response | fbc3c260ddb9409909c0324759bbd16e037d1a8b | [
"BSD-3-Clause"
] | null | null | null | setup.py | mverleg/django_tex_response | fbc3c260ddb9409909c0324759bbd16e037d1a8b | [
"BSD-3-Clause"
] | 1 | 2019-09-11T06:48:59.000Z | 2019-09-11T06:48:59.000Z | setup.py | mverleg/django_tex_response | fbc3c260ddb9409909c0324759bbd16e037d1a8b | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
For installing with pip
"""
from distutils.core import setup
import setuptools # keep!
setup(
name='tex-response',
version='1.2.2',
author=u'Mark V',
author_email='markv.nl.dev@gmail.com',
packages=['tex_response'],
include_package_data=True,
url='https://gith... | 29.777778 | 136 | 0.627799 |
387ff08929c80865ea0e20557106a86b46e21256 | 1,529 | php | PHP | app/Exports/StudentsCourseExport.php | mvdcreativo/on_api_v1 | 976686de5a4e81c2138332e01a2cc40b2b8e9243 | [
"MIT"
] | null | null | null | app/Exports/StudentsCourseExport.php | mvdcreativo/on_api_v1 | 976686de5a4e81c2138332e01a2cc40b2b8e9243 | [
"MIT"
] | null | null | null | app/Exports/StudentsCourseExport.php | mvdcreativo/on_api_v1 | 976686de5a4e81c2138332e01a2cc40b2b8e9243 | [
"MIT"
] | null | null | null | <?php
namespace App\Exports;
use App\Models\Order;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Builder;
use Maatwebsite\Excel\Concerns\Exportable;
use Maatwebsite\Excel\Concerns\FromQuery;
use Maatwebsite\Excel\Concerns\WithMapping;
use Maatwebsite\Excel\Concerns\WithHeadings;
class StudentsCourseExport ... | 20.662162 | 113 | 0.564421 |
aff9e119ceb4f243b5b223b3904876dce1405cd0 | 9,697 | py | Python | misc/migrate_signoffs/migrate_signoffs.py | nova-labs/wild_apricot_python_flask_utils | f3f79dff8a23b4d82385fe6453803fe3d994b93c | [
"MIT"
] | 1 | 2021-07-30T13:09:28.000Z | 2021-07-30T13:09:28.000Z | misc/migrate_signoffs/migrate_signoffs.py | nova-labs/wild_apricot_python_flask_utils | f3f79dff8a23b4d82385fe6453803fe3d994b93c | [
"MIT"
] | 8 | 2021-04-03T12:38:50.000Z | 2021-06-17T22:52:00.000Z | misc/migrate_signoffs/migrate_signoffs.py | nova-labs/wild_apricot_python_flask_utils | f3f79dff8a23b4d82385fe6453803fe3d994b93c | [
"MIT"
] | 1 | 2021-04-07T21:00:12.000Z | 2021-04-07T21:00:12.000Z | #!/usr/bin/env python3
"""
migrate_signoffs.py
Copies nova-labs signoffs from spaceman to wild apricot
adapted from spaceman2apricot.py by https://github.com/azagh
"""
import argparse
import datetime
import pandas as pd
import numpy as np
import os
import sys
import traceback
import urllib.parse
import signoffs
fro... | 34.265018 | 130 | 0.54883 |
3f0aed5ee7011888708962a16c1b8c2294b6fc21 | 338 | lua | Lua | DxP - Server-V3/data/talkactions/scripts/correr.lua | Renanziinz/Otziinz | 64c5594592e5e44f5d939d95ecdd4c63fcc4281a | [
"MIT"
] | null | null | null | DxP - Server-V3/data/talkactions/scripts/correr.lua | Renanziinz/Otziinz | 64c5594592e5e44f5d939d95ecdd4c63fcc4281a | [
"MIT"
] | 4 | 2018-12-17T22:47:53.000Z | 2018-12-19T05:18:48.000Z | DxP - Server-V3/data/talkactions/scripts/correr.lua | Renanziinz/Otziinz | 64c5594592e5e44f5d939d95ecdd4c63fcc4281a | [
"MIT"
] | null | null | null | function onSay(cid, words, param)
if exhaustion.get(cid, 500) then
doPlayerSendCancel(cid, 'You can use this command only once per 10 seconds.')
return true
end
doCreatureSay(cid, "correr", TALKTYPE_ORANGE_1)
doChangeSpeed(cid, 1 * 500)
doSendMagicEffect(getPlayerPosition(cid), 40)
exhaustion.set(cid, 501, 10)
... | 30.727273 | 78 | 0.760355 |
38cae50c5a4758c285bf70cfc0d296b3686e0fbd | 1,532 | php | PHP | src/ChatSDK/Channels/Product/Builder/Options.php | jawabapp/chat-sdk | 9f251bccec4d081f3f9a065d249f33582e0920de | [
"Apache-2.0"
] | null | null | null | src/ChatSDK/Channels/Product/Builder/Options.php | jawabapp/chat-sdk | 9f251bccec4d081f3f9a065d249f33582e0920de | [
"Apache-2.0"
] | null | null | null | src/ChatSDK/Channels/Product/Builder/Options.php | jawabapp/chat-sdk | 9f251bccec4d081f3f9a065d249f33582e0920de | [
"Apache-2.0"
] | 4 | 2018-11-26T09:52:34.000Z | 2019-03-25T13:08:22.000Z | <?php
/**
* Created by PhpStorm.
* User: ibraheemqanah
* Date: 2019-03-26
* Time: 17:58
*/
namespace ChatSDK\Channels\Product\Builder;
class Options
{
private $options = array();
private $orders = array();
private function add($value, $label, $order) {
$this->options[$value] = $label;
... | 20.426667 | 63 | 0.465405 |
d151f0476d53c348586d7e577e7e90068b0afc6a | 2,767 | cs | C# | runtime/CSharp/Antlr4.Tool/Codegen/OutputModelFactory.cs | kaby76/antlr4cs | bc7fb74f3cf64f656cf2c9c1e05d71386e580a41 | [
"BSD-3-Clause"
] | 321 | 2015-01-01T02:40:35.000Z | 2022-03-15T20:55:47.000Z | runtime/CSharp/Antlr4.Tool/Codegen/OutputModelFactory.cs | kaby76/antlr4cs | bc7fb74f3cf64f656cf2c9c1e05d71386e580a41 | [
"BSD-3-Clause"
] | 192 | 2015-01-01T00:49:58.000Z | 2022-02-25T17:14:53.000Z | runtime/CSharp/Antlr4.Tool/Codegen/OutputModelFactory.cs | kaby76/antlr4cs | bc7fb74f3cf64f656cf2c9c1e05d71386e580a41 | [
"BSD-3-Clause"
] | 83 | 2015-01-03T04:12:29.000Z | 2022-02-17T04:09:58.000Z | // Copyright (c) Terence Parr, Sam Harwell. All Rights Reserved.
// Licensed under the BSD License. See LICENSE.txt in the project root for license information.
namespace Antlr4.Codegen
{
using System.Collections.Generic;
using Antlr4.Codegen.Model;
using Antlr4.Codegen.Model.Decl;
using Antlr4.Tool;
... | 29.126316 | 95 | 0.70618 |
06d1b64a7b0d99a72bcf178d62a14abc124266de | 1,075 | py | Python | Basic_Python_Programs/march27.py | Techme2911/HacktoberFest19-Algo | 1ca4007cc014b9d9131be92f362f4d2f846cdbc4 | [
"MIT"
] | null | null | null | Basic_Python_Programs/march27.py | Techme2911/HacktoberFest19-Algo | 1ca4007cc014b9d9131be92f362f4d2f846cdbc4 | [
"MIT"
] | null | null | null | Basic_Python_Programs/march27.py | Techme2911/HacktoberFest19-Algo | 1ca4007cc014b9d9131be92f362f4d2f846cdbc4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Mar 27 09:09:36 2019
@author: Dell
"""
import math as m
m.pow(2,6)#returns 2^6
m.factorial(6)#returns 6!
m.floor(23.4)#returns an integer lower than the real number
#in this case 23
m.floor(23)#here also 23
m.fmod(6,4)#returns remainder when first ... | 19.907407 | 78 | 0.687442 |
ff64bb59b460b0cdf0f109dac57e797cdbbace77 | 10,038 | py | Python | physipy/quantity/dimension.py | mocquin/physipy | a44805dbf4e68544c987e07564dd4a8d50be8b4c | [
"MIT"
] | 5 | 2021-01-23T11:23:07.000Z | 2022-02-28T15:38:58.000Z | physipy/quantity/dimension.py | mocquin/physipy | a44805dbf4e68544c987e07564dd4a8d50be8b4c | [
"MIT"
] | null | null | null | physipy/quantity/dimension.py | mocquin/physipy | a44805dbf4e68544c987e07564dd4a8d50be8b4c | [
"MIT"
] | 2 | 2020-11-07T20:08:08.000Z | 2021-06-09T02:58:04.000Z | # !/usr/bin/env python
# -*- coding: utf-8 -*-
"""allows manipulating physical Dimension objects.
PROPOSITIONS:
* method to return a latex-formated str ?
* change the str/repr style to a table-view of the dimension content ?
* should sr be just a unit with dimension rad**2 ?
* add a full-named repr ? (ex: "length... | 38.45977 | 125 | 0.595138 |
df2951e9be3b89be0802af9122bf4ca5c3f206b0 | 789 | swift | Swift | CoreTesting/Classes/Extensions/UIStackView+Testing.swift | gsoti/core-testing | 61b51113b9e46ea9c668a3cba2dfdf83f5765e91 | [
"MIT"
] | null | null | null | CoreTesting/Classes/Extensions/UIStackView+Testing.swift | gsoti/core-testing | 61b51113b9e46ea9c668a3cba2dfdf83f5765e91 | [
"MIT"
] | null | null | null | CoreTesting/Classes/Extensions/UIStackView+Testing.swift | gsoti/core-testing | 61b51113b9e46ea9c668a3cba2dfdf83f5765e91 | [
"MIT"
] | 1 | 2020-11-25T12:18:02.000Z | 2020-11-25T12:18:02.000Z | import UIKit
extension UIStackView {
func setBackgroundColor(_ color: UIColor) {
let backgroundView = UIView()
backgroundView.backgroundColor = color
backgroundView.translatesAutoresizingMaskIntoConstraints = false
// put background view as the most background subviews of stack vi... | 35.863636 | 78 | 0.704689 |
6da79188b6b686f0ae849b8ffb97fe3b02299f0f | 437 | ts | TypeScript | crates/swc_bundler/tests/.cache/deno/f82565dd05871e7fa0d0a36120ce2822e4470f74.ts | mengxy/swc | bcc3ae86ae0732979f9fbfef370ae729ba9af080 | [
"Apache-2.0"
] | 21,008 | 2017-04-01T04:06:55.000Z | 2022-03-31T23:11:05.000Z | bundler/tests/.cache/deno/f82565dd05871e7fa0d0a36120ce2822e4470f74.ts | sventschui/swc | cd2a2777d9459ba0f67774ed8a37e2b070b51e81 | [
"Apache-2.0",
"MIT"
] | 2,309 | 2018-01-14T05:54:44.000Z | 2022-03-31T15:48:40.000Z | bundler/tests/.cache/deno/f82565dd05871e7fa0d0a36120ce2822e4470f74.ts | sventschui/swc | cd2a2777d9459ba0f67774ed8a37e2b070b51e81 | [
"Apache-2.0",
"MIT"
] | 768 | 2018-01-14T05:15:43.000Z | 2022-03-30T11:29:42.000Z | // Loaded from https://deno.land/x/cliffy@v0.12.1/packages/command/types/number.ts
import { IFlagArgument, IFlagOptions } from '../../flags/lib/types.ts';
import { number } from '../../flags/lib/types/number.ts';
import { Type } from './type.ts';
export class NumberType extends Type<number> {
public parse( opti... | 31.214286 | 85 | 0.677346 |
0c50c17c3c2d76d2398654f4bf028e54723a64e1 | 204 | rb | Ruby | db/migrate/20141018001557_create_topic.rb | kamilbielawski/knowledge_base | acf7f3b0b36211d779f477af8b5f3e1597d57a7a | [
"MIT"
] | null | null | null | db/migrate/20141018001557_create_topic.rb | kamilbielawski/knowledge_base | acf7f3b0b36211d779f477af8b5f3e1597d57a7a | [
"MIT"
] | null | null | null | db/migrate/20141018001557_create_topic.rb | kamilbielawski/knowledge_base | acf7f3b0b36211d779f477af8b5f3e1597d57a7a | [
"MIT"
] | null | null | null | class CreateTopic < ActiveRecord::Migration
def change
create_table :topics do |t|
t.string :name, nil: false
t.timestamps
end
add_index :topics, :name, unique: true
end
end
| 17 | 43 | 0.661765 |
18cf94884b52017af80f19ef29ae0308eb1c73c4 | 1,164 | ps1 | PowerShell | SecretManagement.PasswordState/SecretManagement.PasswordState.Extension/Public/Remove-Secret.ps1 | taalmahret/SecretManagement.PasswordState | 24fa1d1f800351416e52c1aafb0b961cf2021eed | [
"Apache-2.0"
] | null | null | null | SecretManagement.PasswordState/SecretManagement.PasswordState.Extension/Public/Remove-Secret.ps1 | taalmahret/SecretManagement.PasswordState | 24fa1d1f800351416e52c1aafb0b961cf2021eed | [
"Apache-2.0"
] | 2 | 2021-08-05T22:36:26.000Z | 2021-08-15T23:09:35.000Z | SecretManagement.PasswordState/SecretManagement.PasswordState.Extension/Public/Remove-Secret.ps1 | taalmahret/SecretManagement.PasswordState | 24fa1d1f800351416e52c1aafb0b961cf2021eed | [
"Apache-2.0"
] | null | null | null | function Remove-Secret {
[CmdletBinding()]
param (
[ValidateNotNullOrEmpty()][string]$Name,
[Alias('Vault')][string]$VaultName,
[Alias('VaultParameters')][hashtable]$AdditionalParameters = (Get-SecretVault -Name $VaultName).VaultParameters
)
trap {
VaultError $PSItem
... | 37.548387 | 119 | 0.681271 |
7043abc1a4cce86a5309ef82c416f026b6adfc85 | 4,297 | dart | Dart | lib/screens/Login/login_screen.dart | LacErnest/just_audio | eea277caa084415d1ed60415660508ddacda1724 | [
"Apache-2.0"
] | null | null | null | lib/screens/Login/login_screen.dart | LacErnest/just_audio | eea277caa084415d1ed60415660508ddacda1724 | [
"Apache-2.0"
] | null | null | null | lib/screens/Login/login_screen.dart | LacErnest/just_audio | eea277caa084415d1ed60415660508ddacda1724 | [
"Apache-2.0"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:filex/screens/Signup/signup_screen.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:filex/api/databasehelper.dart';
import 'package:filex/screens/Login/components/background.dart';
import 'package:filex/components/already_have_an... | 28.646667 | 80 | 0.554573 |
c57664a5ec151935a07af34ef2834ba343892d6f | 2,650 | css | CSS | wcms-admin.min.css | StephanStanisic/wondercms-cdn-files | 5fa5a7b8fa4d7e181490a9d142fd3bdae73770ff | [
"MIT"
] | null | null | null | wcms-admin.min.css | StephanStanisic/wondercms-cdn-files | 5fa5a7b8fa4d7e181490a9d142fd3bdae73770ff | [
"MIT"
] | null | null | null | wcms-admin.min.css | StephanStanisic/wondercms-cdn-files | 5fa5a7b8fa4d7e181490a9d142fd3bdae73770ff | [
"MIT"
] | null | null | null | .alert{margin-bottom:0}div.editText{word-wrap:break-word;border:2px dashed #ccc;display:block}div.editText textarea{outline:0;border:none;width:100%;resize:none;color:inherit;font-size:inherit;font-family:inherit;background-color:transparent;overflow:hidden;box-sizing:content-box}div.editText:empty{min-height:20px}#sav... | 2,650 | 2,650 | 0.796981 |
b30fe42f8cca7219a213d2592238401b41e2044f | 2,184 | py | Python | pysal/contrib/network/weights.py | cubensys/pysal | 8d50990f6e6603ba79ae1a887a20a1e3a0734e51 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | pysal/contrib/network/weights.py | cubensys/pysal | 8d50990f6e6603ba79ae1a887a20a1e3a0734e51 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | pysal/contrib/network/weights.py | cubensys/pysal | 8d50990f6e6603ba79ae1a887a20a1e3a0734e51 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2021-07-19T01:46:17.000Z | 2021-07-19T01:46:17.000Z | """
A library of spatial network functions.
Not to be used without permission.
Contact:
Andrew Winslow
GeoDa Center for Geospatial Analysis
Arizona State University
Tempe, AZ
Andrew.Winslow@asu.edu
"""
import csv
import numpy as np
from pysal import W
import unittest
import test
def dist_weights(distfile, weight_t... | 26.962963 | 88 | 0.59478 |
2fae7e4116b3e891f16aa1005ab88792f91968dc | 3,033 | py | Python | crichtonweb/core/httpshelpers.py | bpluly/crichton | a2fa09c181ba1e44ee1aae7a57769e1778de7f3a | [
"Apache-2.0"
] | null | null | null | crichtonweb/core/httpshelpers.py | bpluly/crichton | a2fa09c181ba1e44ee1aae7a57769e1778de7f3a | [
"Apache-2.0"
] | null | null | null | crichtonweb/core/httpshelpers.py | bpluly/crichton | a2fa09c181ba1e44ee1aae7a57769e1778de7f3a | [
"Apache-2.0"
] | null | null | null | # Crichton, Admirable Source Configuration Management
# Copyright 2012 British Broadcasting Corporation
#
# 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/licens... | 34.465909 | 96 | 0.672931 |
386bf15a496f8ca5264012ff4b83264c30392b06 | 4,352 | php | PHP | resources/views/admin/categories/index.blade.php | jndantas/cms | 660d6d314886a5665be4eb019e6c835d7b083d88 | [
"MIT"
] | 1 | 2021-07-30T22:28:41.000Z | 2021-07-30T22:28:41.000Z | resources/views/admin/categories/index.blade.php | jndantas/cms | 660d6d314886a5665be4eb019e6c835d7b083d88 | [
"MIT"
] | 3 | 2021-05-11T02:08:52.000Z | 2022-02-26T23:09:17.000Z | resources/views/admin/categories/index.blade.php | jndantas/cms | 660d6d314886a5665be4eb019e6c835d7b083d88 | [
"MIT"
] | null | null | null | @extends('layouts.admin.master')
@section('title')
Categorias
@endsection
@section('content')
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">Categor... | 37.843478 | 168 | 0.417739 |
fc3d8d768f3edfcd5fc8993494a32b6d927f9546 | 2,420 | asm | Assembly | src/app/midi.asm | neri/osz | d1766e2f5daabd5914a80b838c0219f330a0d0af | [
"MIT"
] | 7 | 2017-01-11T17:13:10.000Z | 2022-02-17T06:40:50.000Z | src/app/midi.asm | neri/osz | d1766e2f5daabd5914a80b838c0219f330a0d0af | [
"MIT"
] | null | null | null | src/app/midi.asm | neri/osz | d1766e2f5daabd5914a80b838c0219f330a0d0af | [
"MIT"
] | 1 | 2019-06-24T09:49:43.000Z | 2019-06-24T09:49:43.000Z | ;; MIDI Sample Application for OSZ
;; Copyright (c) 2019 MEG-OS project All rights reserved.
%include "osz.inc"
%define PORT_MPU 0x0330
[BITS 16]
[ORG 0x0100]
xor bp, bp
jmp _init
alignb 2
__bdos resw 1
_call_bdos:
jmp word [cs:__bdos]
; --------------------------------------------------------... | 14.069767 | 71 | 0.540909 |
72c8154d936593da1dea593e6a3c592564c73b83 | 2,297 | cs | C# | src/Tests/Nest.Tests.Integration/Search/Filter/RangeFilterTests.cs | rlugojr/elasticsearch-net | 3f4dbaa050fc007e4544da6c3afeee6b52b45705 | [
"Apache-2.0"
] | 2 | 2019-05-01T01:42:54.000Z | 2019-11-23T03:36:13.000Z | src/Tests/Nest.Tests.Integration/Search/Filter/RangeFilterTests.cs | funnelfire/elasticsearch-net | 49940f04ef8014b01fb15e1697beae316797bb56 | [
"Apache-2.0"
] | null | null | null | src/Tests/Nest.Tests.Integration/Search/Filter/RangeFilterTests.cs | funnelfire/elasticsearch-net | 49940f04ef8014b01fb15e1697beae316797bb56 | [
"Apache-2.0"
] | 12 | 2016-10-09T11:52:34.000Z | 2021-09-13T08:59:51.000Z | using System.Linq;
using Elasticsearch.Net;
using NUnit.Framework;
using Nest.Tests.MockData;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Integration.Search.Filter
{
/// <summary>
/// Integrated tests of RangeFilter with elasticsearch.
/// </summary>
[TestFixture]
public class RangeFilterTests : Integ... | 32.352113 | 132 | 0.691772 |
daa8fbe2f95969c18f05ed9f293d48d9b0e4da84 | 1,201 | tsx | TypeScript | src/component/reply-input.component.tsx | Laterality/primitive-renew-web | 5329c3d0813b9d4b32f08a39c64340e971f60873 | [
"MIT"
] | null | null | null | src/component/reply-input.component.tsx | Laterality/primitive-renew-web | 5329c3d0813b9d4b32f08a39c64340e971f60873 | [
"MIT"
] | null | null | null | src/component/reply-input.component.tsx | Laterality/primitive-renew-web | 5329c3d0813b9d4b32f08a39c64340e971f60873 | [
"MIT"
] | null | null | null | /**
* Reply input box component
*
* author: Jinwoo Shin
* date: 2018-05-14
*/
import * as jquery from "jquery";
import * as React from "react";
import TextField from "@material-ui/core/TextField";
import { withStyles, WithStyles } from "@material-ui/core";
import { MyButton as Button } from "./button.component... | 22.660377 | 107 | 0.686095 |
f168a25f8e78ca7c202d2c16178ab5698d8a88b6 | 8,392 | rb | Ruby | spp-master/app/mailers/user_mailer.rb | Room-to-read/StoryWeaver | 68b451c797cedd2771a366011bf2a54b69b6511c | [
"Apache-2.0"
] | null | null | null | spp-master/app/mailers/user_mailer.rb | Room-to-read/StoryWeaver | 68b451c797cedd2771a366011bf2a54b69b6511c | [
"Apache-2.0"
] | null | null | null | spp-master/app/mailers/user_mailer.rb | Room-to-read/StoryWeaver | 68b451c797cedd2771a366011bf2a54b69b6511c | [
"Apache-2.0"
] | null | null | null | class UserMailer < ActionMailer::Base
default from: "no-reply@prathambooks.org"
def pulled_down_story_mail(user,story,reasons)
@reasons = reasons
@user = user
@story = story
mail(:to => @user.email, :subject => "StoryWeaver: your story has been pulled down") do |format|
format.html { render :pa... | 40.936585 | 137 | 0.699595 |
da6f14a839626849b9482b61a35cfbac425aa6b5 | 303 | php | PHP | modules/titles/Module.php | kaganov-iliya/yii2-titles | e7bcadb188da3436b896adf11755509eb46baeac | [
"BSD-3-Clause"
] | null | null | null | modules/titles/Module.php | kaganov-iliya/yii2-titles | e7bcadb188da3436b896adf11755509eb46baeac | [
"BSD-3-Clause"
] | null | null | null | modules/titles/Module.php | kaganov-iliya/yii2-titles | e7bcadb188da3436b896adf11755509eb46baeac | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace app\modules\titles;
use Yii;
use app\modules\titles\web\Asset;
class Module extends \yii\base\Module
{
public $controllerNamespace = 'app\modules\titles\controllers';
public function init()
{
parent::init();
Asset::register(Yii::$app->getView());
}
}
| 16.833333 | 67 | 0.653465 |
6610a72cf8b8fcefb80e39b2c2beba514082c125 | 2,374 | py | Python | projeto-escolaCurso/aula.py | HugoItaloMC/MySQL_estudo | 4468ebe14d51405867cea9c842822ad43e98f5b4 | [
"MIT"
] | null | null | null | projeto-escolaCurso/aula.py | HugoItaloMC/MySQL_estudo | 4468ebe14d51405867cea9c842822ad43e98f5b4 | [
"MIT"
] | null | null | null | projeto-escolaCurso/aula.py | HugoItaloMC/MySQL_estudo | 4468ebe14d51405867cea9c842822ad43e98f5b4 | [
"MIT"
] | null | null | null | """
Markers
# Atributo marker = ""
character description
'.' -------- point marker
',' -------- pixel marker
'o' -------- circle Marker
'v' -------- riangle_down marker
'^' -------- triangle_up marker
'<' -------- triangle_left marker
'>' -------- triangle_right marker
'1' -------- tri_down marker
'2' ---... | 16.601399 | 142 | 0.540438 |
7f18ab624137a33dd155824897092d1f4a94e572 | 150 | cs | C# | csharp/ProgressMonitor/MaxThroughputProgressMonitor.cs | pescuma/progressmonitor | 3f930164c16e6e0a94e5ddac7c96d79b15085e21 | [
"MIT"
] | 1 | 2020-06-21T12:08:24.000Z | 2020-06-21T12:08:24.000Z | csharp/ProgressMonitor/MaxThroughputProgressMonitor.cs | pescuma/progressmonitor | 3f930164c16e6e0a94e5ddac7c96d79b15085e21 | [
"MIT"
] | 1 | 2015-06-10T21:48:02.000Z | 2015-06-10T21:48:02.000Z | csharp/ProgressMonitor/MaxThroughputProgressMonitor.cs | pescuma/progressmonitor | 3f930164c16e6e0a94e5ddac7c96d79b15085e21 | [
"MIT"
] | null | null | null | namespace org.pescuma.progressmonitor
{
public interface MaxThroughputProgressMonitor
{
int MinOutupWaitInMs { get; }
}
}
| 18.75 | 50 | 0.66 |