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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ff2729fa783050c4a40122e18de1ad0109897045 | 54,627 | py | Python | tickettool/embassytool.py | DarthNoxix/noxixcog | 7e66e2ee6a059317c64ff3444b102fee85eb83be | [
"MIT"
] | null | null | null | tickettool/embassytool.py | DarthNoxix/noxixcog | 7e66e2ee6a059317c64ff3444b102fee85eb83be | [
"MIT"
] | null | null | null | tickettool/embassytool.py | DarthNoxix/noxixcog | 7e66e2ee6a059317c64ff3444b102fee85eb83be | [
"MIT"
] | null | null | null | import discord
import datetime
import typing
from redbot.core import Config, commands, modlog
from redbot.core.bot import Red
from copy import copy
import io
import chat_exporter
from dislash import ActionRow, Button, ButtonStyle
from .settings import settings
from .utils import utils
# Credits:
# Thanks ... | 51.681173 | 509 | 0.593571 |
e40cbe9f6ef60b46ba56918129f819050b76f422 | 285 | cs | C# | src/OpenTl.Schema/_generated/_Entities/InputChannel/TInputChannelEmpty.cs | zzz8415/OpenTl.Schema | 9fc37541179736508aa1ae85732093dc36223222 | [
"MIT"
] | null | null | null | src/OpenTl.Schema/_generated/_Entities/InputChannel/TInputChannelEmpty.cs | zzz8415/OpenTl.Schema | 9fc37541179736508aa1ae85732093dc36223222 | [
"MIT"
] | null | null | null | src/OpenTl.Schema/_generated/_Entities/InputChannel/TInputChannelEmpty.cs | zzz8415/OpenTl.Schema | 9fc37541179736508aa1ae85732093dc36223222 | [
"MIT"
] | null | null | null | // ReSharper disable All
namespace OpenTl.Schema
{
using System;
using System.Collections;
using System.Text;
using OpenTl.Schema;
using OpenTl.Schema.Serialization.Attributes;
[Serialize(0xee8c1e86)]
public sealed class TInputChannelEmpty : IInputChannel, IEmpty
{
}
}
| 15.833333 | 63 | 0.764912 |
e23fe4a4a72f9249c20acaff36dc75647dfc2d35 | 3,143 | py | Python | cytomine_hms/reader.py | Cytomine-ULiege/Cytomine-HMS | c8ceeae09d7b7e9c5f02abf20933ffe5e928abf0 | [
"Apache-2.0"
] | 1 | 2020-05-14T07:54:21.000Z | 2020-05-14T07:54:21.000Z | cytomine_hms/reader.py | Cytomine-ULiege/Cytomine-HMS | c8ceeae09d7b7e9c5f02abf20933ffe5e928abf0 | [
"Apache-2.0"
] | null | null | null | cytomine_hms/reader.py | Cytomine-ULiege/Cytomine-HMS | c8ceeae09d7b7e9c5f02abf20933ffe5e928abf0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# * Copyright (c) 2009-2020. Authors: see NOTICE file.
# *
# * 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... | 32.071429 | 98 | 0.700605 |
f3313ee8715a59870dbd0e3d753f38008fc7f3a0 | 24,693 | dart | Dart | test/photobooth/view/photobooth_page_test.dart | hjhgitw/photobooth | 5374d6f16fa942acdf80f9b1ba2b58360fc689da | [
"MIT"
] | 3 | 2021-06-02T16:26:18.000Z | 2022-03-30T22:14:33.000Z | test/photobooth/view/photobooth_page_test.dart | hjhgitw/photobooth | 5374d6f16fa942acdf80f9b1ba2b58360fc689da | [
"MIT"
] | null | null | null | test/photobooth/view/photobooth_page_test.dart | hjhgitw/photobooth | 5374d6f16fa942acdf80f9b1ba2b58360fc689da | [
"MIT"
] | 1 | 2021-09-15T01:40:10.000Z | 2021-09-15T01:40:10.000Z | // ignore_for_file: prefer_const_constructors
import 'dart:convert';
import 'dart:ui' as ui;
import 'package:bloc_test/bloc_test.dart';
import 'package:camera/camera.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_test/flutter_test.dart';
import ... | 32.110533 | 80 | 0.63277 |
55eda764ce880519c268d9877244ffcef44b048f | 3,056 | swift | Swift | Pods/AI/AI/src/Requests/QueryRequest.swift | johnnyperdomo/Simple-Ai-App | 35b485d1d041a80c5cb24002cabf08fce7c5ac84 | [
"MIT"
] | 12 | 2018-10-15T15:49:48.000Z | 2020-08-21T07:56:45.000Z | Pods/AI/AI/src/Requests/QueryRequest.swift | mohsinalimat/Simple-Ai-Chat | 021e106fc1dc484e97041f838b44b18c94245045 | [
"MIT"
] | 2 | 2019-01-30T10:33:08.000Z | 2019-11-11T08:25:05.000Z | Pods/AI/AI/src/Requests/QueryRequest.swift | mohsinalimat/Simple-Ai-Chat | 021e106fc1dc484e97041f838b44b18c94245045 | [
"MIT"
] | 4 | 2019-06-19T04:25:14.000Z | 2021-12-08T14:03:20.000Z | //
// QueryRequest.swift
// AI
//
// Created by Kuragin Dmitriy on 13/11/15.
// Copyright © 2015 Kuragin Dmitriy. All rights reserved.
//
import Foundation
public enum Language {
case english
case spanish
case russian
case german
case portuguese
case portuguese_Brazil
case french
c... | 24.253968 | 85 | 0.571335 |
e769b47b2da76a1bf79353e507e183ac74219b0b | 6,001 | php | PHP | tests/unit/App/Service/GithubImportTest.php | lancesiast/OPEN-SALT | 9c80f0fa7a1568ebe4bef18b5e96b6f1325cfbeb | [
"MIT"
] | null | null | null | tests/unit/App/Service/GithubImportTest.php | lancesiast/OPEN-SALT | 9c80f0fa7a1568ebe4bef18b5e96b6f1325cfbeb | [
"MIT"
] | null | null | null | tests/unit/App/Service/GithubImportTest.php | lancesiast/OPEN-SALT | 9c80f0fa7a1568ebe4bef18b5e96b6f1325cfbeb | [
"MIT"
] | null | null | null | <?php
namespace App\Service;
use App\Entity\Framework\LsDoc;
use App\Entity\Framework\LsItem;
use \Codeception\Util\Stub;
use Doctrine\ORM\EntityManager;
use Doctrine\Common\Persistence\ManagerRegistry;
class GithubImportTest extends \Codeception\Test\Unit
{
/**
* @var \UnitTester
*/
protected $tes... | 63.840426 | 310 | 0.685719 |
7889f513ef252419e0bf4e212c960483d4081875 | 101 | lua | Lua | test/src/declare02.lua | trarck/unluac | ca885dbf5a14b7467ce90f1e91b49401c2959138 | [
"MIT"
] | 6 | 2015-10-21T07:14:10.000Z | 2019-10-24T15:38:20.000Z | unluac-hgcode/test/src/declare02.lua | duangsuse/AUnluac | 61c106fe7de0b1d6636f29564ffb1aea89e1643f | [
"MIT"
] | null | null | null | unluac-hgcode/test/src/declare02.lua | duangsuse/AUnluac | 61c106fe7de0b1d6636f29564ffb1aea89e1643f | [
"MIT"
] | 4 | 2016-07-10T00:55:09.000Z | 2021-08-09T07:29:26.000Z | print("begin")
local x, y, z
print("begin")
local a, b, c
c = 4
print(c)
local d, e, f
d = 8
print(d) | 11.222222 | 14 | 0.594059 |
aa5eae41e493119daf5c060e7c8868728088ced5 | 255 | rb | Ruby | lib/msf/core/model/web_template.rb | cbgabriel/metasploit-framework | 0d1ed5c8257ecafceeb1375dda075b32e8ad2996 | [
"OpenSSL",
"Unlicense"
] | 1 | 2021-10-24T00:08:26.000Z | 2021-10-24T00:08:26.000Z | lib/msf/core/model/web_template.rb | cbgabriel/metasploit-framework | 0d1ed5c8257ecafceeb1375dda075b32e8ad2996 | [
"OpenSSL",
"Unlicense"
] | null | null | null | lib/msf/core/model/web_template.rb | cbgabriel/metasploit-framework | 0d1ed5c8257ecafceeb1375dda075b32e8ad2996 | [
"OpenSSL",
"Unlicense"
] | null | null | null | module Msf
class DBManager
class WebTemplate < ActiveRecord::Base
belongs_to :campaign
extend SerializedPrefs
serialize :prefs
serialized_prefs_attr_accessor :exploit_type
serialized_prefs_attr_accessor :exploit_name, :exploit_opts
end
end
end
| 14.166667 | 60 | 0.835294 |
6ddd9fe3deacebce79062d9b6378ae8903b80132 | 5,734 | h | C | src/CUDAlib.h | guimondmm/waifu2x-converter-cpp | 14b5fac5e06190f7c22cd07c9cbd496773886928 | [
"BSD-3-Clause"
] | 380 | 2015-05-31T01:25:40.000Z | 2022-03-19T08:26:24.000Z | src/CUDAlib.h | guimondmm/waifu2x-converter-cpp | 14b5fac5e06190f7c22cd07c9cbd496773886928 | [
"BSD-3-Clause"
] | 26 | 2015-07-28T08:53:35.000Z | 2020-02-21T10:27:07.000Z | src/CUDAlib.h | liangdai/waifu2xcpp | 4e2f21cdeea792de4d8485013ee04c99c8a33e67 | [
"BSD-3-Clause"
] | 66 | 2015-05-31T04:02:36.000Z | 2022-01-27T10:28:02.000Z | #ifndef CUDALIB_H
#define CUDALIB_H
#include <stddef.h>
#include <stdint.h>
#ifdef _WIN32
#define CUDAAPI __stdcall
#else
#define CUDAAPI
#endif
typedef uintptr_t CUdeviceptr;
typedef enum cudaError_enum {
CUDA_SUCCESS = 0
} CUresult;
typedef enum CUjit_option_enum {
CU_JIT_MAX_REGISTERS... | 43.439394 | 131 | 0.629055 |
f1b9cb4e326c110ce0f9f1613d1381fe67ae3c30 | 5,835 | rb | Ruby | ccmixter_download.rb | dohliam/ccmixter-download | 2b1813aa1c354834ca7c7e8c89fae07c6faeed9b | [
"MIT"
] | 2 | 2016-06-14T18:40:27.000Z | 2016-06-16T07:37:52.000Z | ccmixter_download.rb | dohliam/ccmixter-download | 2b1813aa1c354834ca7c7e8c89fae07c6faeed9b | [
"MIT"
] | 1 | 2021-10-09T12:30:38.000Z | 2021-10-10T20:32:18.000Z | ccmixter_download.rb | dohliam/ccmixter-download | 2b1813aa1c354834ca7c7e8c89fae07c6faeed9b | [
"MIT"
] | null | null | null | #!/usr/bin/ruby
require 'fileutils'
require 'open-uri'
require 'optparse'
options = {}
OptionParser.new do |opts|
opts.banner = "\n ==ccmixter-download - a tool for batch downloading and streaming songs from ccMixter==\n Usage: ccmixter_download_artist.rb [OPTIONS]"
opts.on("-c", "--license LICENSE", "Filter t... | 27.139535 | 264 | 0.635818 |
2712308c7df82b6675732bcb39136172d46b68ee | 1,458 | rb | Ruby | dm-adjust/lib/dm-adjust/adapters/data_objects_adapter.rb | spurton/dm-more | fe9e7ca23fbbfb1075c2f28efac3301edff32e9d | [
"MIT"
] | 1 | 2016-05-09T00:16:35.000Z | 2016-05-09T00:16:35.000Z | dm-adjust/lib/dm-adjust/adapters/data_objects_adapter.rb | spurton/dm-more | fe9e7ca23fbbfb1075c2f28efac3301edff32e9d | [
"MIT"
] | null | null | null | dm-adjust/lib/dm-adjust/adapters/data_objects_adapter.rb | spurton/dm-more | fe9e7ca23fbbfb1075c2f28efac3301edff32e9d | [
"MIT"
] | null | null | null | module DataMapper
module Adapters
class DataObjectsAdapter < AbstractAdapter
def adjust(attributes, query)
# TODO: if the query contains any links, a limit or an offset
# use a subselect to get the rows to be updated
properties = []
bind_values = []
# make the orde... | 30.375 | 97 | 0.646776 |
665069919e733a7dfd70a00b75ecdf06fdd55f37 | 1,697 | py | Python | minesweeper/cell.py | jfdion/mine-sweeper | 27b11dc945bb088a72c5b2e45629e8d6473fb787 | [
"MIT"
] | null | null | null | minesweeper/cell.py | jfdion/mine-sweeper | 27b11dc945bb088a72c5b2e45629e8d6473fb787 | [
"MIT"
] | null | null | null | minesweeper/cell.py | jfdion/mine-sweeper | 27b11dc945bb088a72c5b2e45629e8d6473fb787 | [
"MIT"
] | null | null | null | class Cell:
"""
| (-1, -1) | (0, -1) | (1, -1) |
| (-1, 0) | x | (1, 0) |
| (-1, 1) | (0, 1) | (1, 1) |
"""
__positions = [(-1, -1), (0, -1), (1, -1), (-1, 0), (1, 0), (-1, 1), (0, 1), (1, 1)]
"""
| | (0, -1) | |
| (-1, 0) | x | (1, 0) |
| ... | 28.762712 | 88 | 0.476724 |
0648fe9297329fd269e433e73e34f25b72d90701 | 169 | sql | SQL | sql/007_password_reset.sql | acphynix/doctors | 7f9b94e0985b5543c67fa5894c2be828d7c276e8 | [
"Apache-2.0"
] | null | null | null | sql/007_password_reset.sql | acphynix/doctors | 7f9b94e0985b5543c67fa5894c2be828d7c276e8 | [
"Apache-2.0"
] | null | null | null | sql/007_password_reset.sql | acphynix/doctors | 7f9b94e0985b5543c67fa5894c2be828d7c276e8 | [
"Apache-2.0"
] | null | null | null | -- drop table if exists password_reset;
CREATE TABLE `password_reset` (
`user_id` int(10) unsigned NOT NULL,
`reset_code` varchar(24),
PRIMARY KEY (`user_id`)
); | 28.166667 | 39 | 0.704142 |
5de996fa4d288cf20fa94093dc1352dea15f8d33 | 7,167 | cpp | C++ | tests/vu/test_runner.cpp | unknownbrackets/ps2autotests | 97469ffbed8631277b94e28d01dabd702aa97ef3 | [
"0BSD"
] | 25 | 2015-04-07T23:13:49.000Z | 2021-09-27T08:03:53.000Z | tests/vu/test_runner.cpp | unknownbrackets/ps2autotests | 97469ffbed8631277b94e28d01dabd702aa97ef3 | [
"0BSD"
] | 42 | 2015-04-27T03:12:48.000Z | 2018-05-08T13:53:39.000Z | tests/vu/test_runner.cpp | unknownbrackets/ps2autotests | 97469ffbed8631277b94e28d01dabd702aa97ef3 | [
"0BSD"
] | 8 | 2015-04-26T06:29:01.000Z | 2021-05-27T09:50:03.000Z | #include <assert.h>
#include <common-ee.h>
#include <string.h>
#include <timer.h>
#include "test_runner.h"
static const bool DEBUG_TEST_RUNNER = false;
static u32 vu_reg_pos = 0x100;
// 16 integer regs, 32 float regs, 3 status regs.
static u32 vu_reg_size = 16 * (16 + 32 + 3);
static u8 *const vu0_reg_mem = vu0_mem ... | 23.89 | 130 | 0.629273 |
04202ed91f6617459d5a06e05cf8a0160a83bf8d | 2,287 | cc | C++ | third-party/qthread/qthread-src/test/benchmarks/finepoints/partSendPrototype/mpiBaseTest5.cc | jhh67/chapel | f041470e9b88b5fc4914c75aa5a37efcb46aa08f | [
"ECL-2.0",
"Apache-2.0"
] | 1,602 | 2015-01-06T11:26:31.000Z | 2022-03-30T06:17:21.000Z | third-party/qthread/qthread-src/test/benchmarks/finepoints/partSendPrototype/mpiBaseTest5.cc | jhh67/chapel | f041470e9b88b5fc4914c75aa5a37efcb46aa08f | [
"ECL-2.0",
"Apache-2.0"
] | 11,789 | 2015-01-05T04:50:15.000Z | 2022-03-31T23:39:19.000Z | third-party/qthread/qthread-src/test/benchmarks/finepoints/partSendPrototype/mpiBaseTest5.cc | jhh67/chapel | f041470e9b88b5fc4914c75aa5a37efcb46aa08f | [
"ECL-2.0",
"Apache-2.0"
] | 498 | 2015-01-08T18:58:18.000Z | 2022-03-20T15:37:45.000Z | #include <time.h>
#include <qthread/qthread.h>
#include <qthread/barrier.h>
#include <qthread/qloop.h>
#include <mpi.h>
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
typedef struct args {
int rank;
int numIterations;
char* sendBuf;
char* recvBuf;
int numThreads... | 23.10101 | 141 | 0.637079 |
06fdc9a1f105198d36e30385ea61aa831b5f5d77 | 1,239 | py | Python | gslides/__init__.py | michael-gracie/gslides | 6400184454630e05559b20e8c6e6f52f42175d9c | [
"MIT"
] | 17 | 2021-08-12T14:18:18.000Z | 2022-02-20T18:54:35.000Z | gslides/__init__.py | michael-gracie/gslides | 6400184454630e05559b20e8c6e6f52f42175d9c | [
"MIT"
] | 17 | 2021-05-01T02:05:30.000Z | 2022-03-04T06:09:02.000Z | gslides/__init__.py | michael-gracie/gslides | 6400184454630e05559b20e8c6e6f52f42175d9c | [
"MIT"
] | 3 | 2021-08-29T20:23:47.000Z | 2021-12-09T18:36:40.000Z | # -*- coding: utf-8 -*-
"""Top-level package for gslides."""
__author__ = """Michael Gracie"""
__email__ = ""
__version__ = "0.1.1"
from typing import Optional
from google.oauth2.credentials import Credentials
from .config import CHART_PARAMS, Creds, Font, PackagePalette
creds = Creds()
package_font = Font()
pack... | 23.377358 | 71 | 0.716707 |
e952118a45db223ca9422075e248cf877fc4029c | 1,396 | asm | Assembly | samples/a8/games/zilch/rmt_feat.asm | zbyti/Mad-Pascal | 546cae9724828f93047080109488be7d0d07d47e | [
"MIT"
] | 1 | 2021-12-15T23:47:19.000Z | 2021-12-15T23:47:19.000Z | samples/a8/games/zilch/rmt_feat.asm | michalkolodziejski/Mad-Pascal | 0a7a1e2f379e50b0a23878b0d881ff3407269ed6 | [
"MIT"
] | null | null | null | samples/a8/games/zilch/rmt_feat.asm | michalkolodziejski/Mad-Pascal | 0a7a1e2f379e50b0a23878b0d881ff3407269ed6 | [
"MIT"
] | null | null | null | ;* --------BEGIN--------
;* D:\atari\workspaceMadPascal\zilch\assets\zilch.rmt
FEAT_SFX equ 1
FEAT_GLOBALVOLUMEFADE equ 0 ;RMTGLOBALVOLUMEFADE variable
FEAT_NOSTARTINGSONGLINE equ 0
FEAT_INSTRSPEED equ 3
FEAT_CONSTANTSPEED equ 5 ;(0 times)
FEAT_COMMAND1 equ 1 ;(62 times)
FEAT_COMMAND2 equ 0 ;(0 times)
FEAT_COM... | 34.04878 | 58 | 0.714183 |
4bd76e5636d924135ea282fd29a8252b244ba27e | 15,853 | h | C | sdk-6.5.20/src/bcm/dnx/field/map/field_map_local.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/src/bcm/dnx/field/map/field_map_local.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/src/bcm/dnx/field/map/field_map_local.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | /** \file field_map_local.h
* *
* Contains definitions to be used only internally by map module only
*
* Created on: Dec 6, 2017
*/
/*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. Al... | 25.203498 | 134 | 0.704409 |
439d5b09f4c878f46dd0ce09cf442dff591a0c20 | 708 | tsx | TypeScript | packages/icons/src/SketchCircleFilled.tsx | xl-vision/xl-vision | 360ef052a74d38e6674cd5d5d6979c405c53d647 | [
"MIT"
] | 12 | 2019-11-16T03:49:55.000Z | 2022-03-16T11:00:37.000Z | packages/icons/src/SketchCircleFilled.tsx | xl-vision/xl-vision | 360ef052a74d38e6674cd5d5d6979c405c53d647 | [
"MIT"
] | 237 | 2019-04-04T05:11:59.000Z | 2022-03-30T05:25:58.000Z | packages/icons/src/SketchCircleFilled.tsx | xl-vision/xl-vision | 360ef052a74d38e6674cd5d5d6979c405c53d647 | [
"MIT"
] | 4 | 2019-03-03T07:35:49.000Z | 2021-02-16T15:27:32.000Z | /* eslint-disable */
import React from 'react';
import createIcon from './utils/createIcon';
export default createIcon(<svg viewBox="0 0 1024 1024"><path d="m582.3 625.6 147.9-166.3h-63.4zm90-202.3h62.5l-92.1-115.1zm-274.7 36L512 684.5l114.4-225.2zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S75... | 118 | 613 | 0.69209 |
b21df2d494a509fda6a665cf65096ca8341ef469 | 1,612 | kt | Kotlin | bitcoincore/src/test/kotlin/io/horizontalsystems/bitcoincore/utils/NetworkUtilsTest.kt | softskillpro/bitcoin-kit-android | 9b62a7b7869326ff22b43ee6db7ccfff86294303 | [
"MIT"
] | 105 | 2018-10-24T05:02:13.000Z | 2022-03-24T05:47:16.000Z | bitcoincore/src/test/kotlin/io/horizontalsystems/bitcoincore/utils/NetworkUtilsTest.kt | softskillpro/bitcoin-kit-android | 9b62a7b7869326ff22b43ee6db7ccfff86294303 | [
"MIT"
] | 156 | 2018-10-22T09:22:36.000Z | 2022-02-15T05:26:16.000Z | bitcoincore/src/test/kotlin/io/horizontalsystems/bitcoincore/utils/NetworkUtilsTest.kt | softskillpro/bitcoin-kit-android | 9b62a7b7869326ff22b43ee6db7ccfff86294303 | [
"MIT"
] | 66 | 2019-01-07T20:06:36.000Z | 2022-03-29T05:53:44.000Z | package io.horizontalsystems.bitcoincore.utils
import okhttp3.OkHttpClient
import okhttp3.Request
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.Assertions.*
import java.net.URL
import javax.net.ssl.SSLHandshakeException
internal class NetworkUtilsTest {
// System is Unable to find valid certif... | 28.280702 | 84 | 0.616005 |
4fdf6706c300b870a16c494777befac4d07af6d4 | 73 | rb | Ruby | lib/noticent/version.rb | Belibaste/noticent | 1ba2ea320b5ec26b188168008f61538921c0bc2b | [
"Apache-2.0"
] | null | null | null | lib/noticent/version.rb | Belibaste/noticent | 1ba2ea320b5ec26b188168008f61538921c0bc2b | [
"Apache-2.0"
] | null | null | null | lib/noticent/version.rb | Belibaste/noticent | 1ba2ea320b5ec26b188168008f61538921c0bc2b | [
"Apache-2.0"
] | null | null | null | # frozen_string_literal: true
module Noticent
VERSION ||= "0.0.4"
end
| 12.166667 | 29 | 0.712329 |
aebfdf1e66b1b9b03014989e39141c36fd6a7a8e | 1,169 | cs | C# | stellar-dotnet-sdk-xdr/generated/TimeBounds.cs | payshares-labs/dotnet-stellar-sdk | 3a43858b098e516dbb9e5fb9cbbd0512c532cf2d | [
"Apache-2.0"
] | null | null | null | stellar-dotnet-sdk-xdr/generated/TimeBounds.cs | payshares-labs/dotnet-stellar-sdk | 3a43858b098e516dbb9e5fb9cbbd0512c532cf2d | [
"Apache-2.0"
] | null | null | null | stellar-dotnet-sdk-xdr/generated/TimeBounds.cs | payshares-labs/dotnet-stellar-sdk | 3a43858b098e516dbb9e5fb9cbbd0512c532cf2d | [
"Apache-2.0"
] | null | null | null | // Automatically generated by xdrgen
// DO NOT EDIT or your changes may be overwritten
using System;
namespace stellar_dotnet_sdk.xdr
{
// === xdr source ============================================================
// struct TimeBounds
// {
// TimePoint minTime;
// TimePoint maxTime; //... | 34.382353 | 91 | 0.553464 |
442d92e3b892724cd063343a3c14e7e350c1d09d | 1,502 | py | Python | ExercStrings14.py | marcelocmedeiros/ExerciciosComStrings | 1555b3a730394db5a4f7e4183cb617b15d529a09 | [
"MIT"
] | 1 | 2020-05-25T12:52:32.000Z | 2020-05-25T12:52:32.000Z | ExercStrings14.py | marcelocmedeiros/ExerciciosComStrings | 1555b3a730394db5a4f7e4183cb617b15d529a09 | [
"MIT"
] | null | null | null | ExercStrings14.py | marcelocmedeiros/ExerciciosComStrings | 1555b3a730394db5a4f7e4183cb617b15d529a09 | [
"MIT"
] | null | null | null | # Marcelo Campos de Medeiros
# ADS UNIFIP
# Exercicios Com Strings
# https://wiki.python.org.br/ExerciciosComStrings
'''
Leet spek generator. Leet é uma forma de se escrever o alfabeto latino usando outros símbolos em lugar das letras, como números por exemplo. A própria palavra leet admite muitas variações, como l33t... | 26.821429 | 529 | 0.579228 |
fdaa882fc546bef0c2351ef6ae08ae460edc484b | 15,775 | css | CSS | css/stylesheet.css | jakeoid/simple-dark-wanikani | abafe3b41fb8ea6cba402573ca8d185622691a34 | [
"MIT"
] | null | null | null | css/stylesheet.css | jakeoid/simple-dark-wanikani | abafe3b41fb8ea6cba402573ca8d185622691a34 | [
"MIT"
] | null | null | null | css/stylesheet.css | jakeoid/simple-dark-wanikani | abafe3b41fb8ea6cba402573ca8d185622691a34 | [
"MIT"
] | null | null | null | :root { --dark: #424242; --background: #212121; --light: #616161; --lightest: #757575; --body: #FFFFFF; --enabled: #64FFDA; --disabled: #F44336; --radicals: #00A1F1; --kanji: #F100A1; --vocabulary: #A100F1; }
.small-caps { color: inherit !important; }
.dashboard .lattice-single-character { background-image: none !im... | 58.86194 | 751 | 0.7129 |
0afc016cb2ad600d0973d9fe36410b8fa969a4cb | 1,761 | cpp | C++ | src/TE_WeatherShield.cpp | systronix/TE_WeatherShield | 1a0526834fc64f567232da2ffcde968d144e2d66 | [
"MIT"
] | null | null | null | src/TE_WeatherShield.cpp | systronix/TE_WeatherShield | 1a0526834fc64f567232da2ffcde968d144e2d66 | [
"MIT"
] | null | null | null | src/TE_WeatherShield.cpp | systronix/TE_WeatherShield | 1a0526834fc64f567232da2ffcde968d144e2d66 | [
"MIT"
] | null | null | null | #include "TE_WeatherShield.h"
TEWeatherShield::TEWeatherShield(void) {}
void TEWeatherShield::begin(void) {
selectSensor(Sensor_NONE);
HTU21D.begin();
MS5637.begin();
MS8607.begin();
TSYS01.begin();
TSD305.begin();
}
void TEWeatherShield::selectSensor(enum TEWeatherShield_Sensor sensor) {
pinMode(9, O... | 23.797297 | 72 | 0.679727 |
74465c2e3d20236d4a5ce80d9ca2c1ebf709548b | 94 | css | CSS | no-styles/src/App.css | trickypr/Graphics-Library-Perfromance-Test | 04bdf60f6eb51d3938a67aef62dead6614d5aee6 | [
"Unlicense"
] | null | null | null | no-styles/src/App.css | trickypr/Graphics-Library-Perfromance-Test | 04bdf60f6eb51d3938a67aef62dead6614d5aee6 | [
"Unlicense"
] | null | null | null | no-styles/src/App.css | trickypr/Graphics-Library-Perfromance-Test | 04bdf60f6eb51d3938a67aef62dead6614d5aee6 | [
"Unlicense"
] | null | null | null | .card {
background-color: lightgrey;
border-radius: 5px;
padding: 5px;
width: 300px;
} | 15.666667 | 30 | 0.670213 |
6af449cc3cb0f6ca029ecfc0d0eb09ddf2200e2b | 405 | h | C | cocos2dx_playground/Classes/cpg_input_KeyCodeContainer.h | R2Road/cocos2dx_playground | 6e6f349b5c9fc702558fe8720ba9253a8ba00164 | [
"Apache-2.0"
] | 9 | 2020-06-11T17:09:44.000Z | 2021-12-25T00:34:33.000Z | cocos2dx_playground/Classes/cpg_input_KeyCodeContainer.h | R2Road/cocos2dx_playground | 6e6f349b5c9fc702558fe8720ba9253a8ba00164 | [
"Apache-2.0"
] | 9 | 2019-12-21T15:01:01.000Z | 2020-12-05T15:42:43.000Z | cocos2dx_playground/Classes/cpg_input_KeyCodeContainer.h | R2Road/cocos2dx_playground | 6e6f349b5c9fc702558fe8720ba9253a8ba00164 | [
"Apache-2.0"
] | 1 | 2020-09-07T01:32:16.000Z | 2020-09-07T01:32:16.000Z | #pragma once
#include <bitset>
#include "base/CCEventKeyboard.h"
namespace cpg_input
{
const std::size_t KeyCodeContainerFirst = static_cast<std::size_t>( cocos2d::EventKeyboard::KeyCode::KEY_NONE );
const std::size_t KeyCodeContainerSize = static_cast<std::size_t>( static_cast<int>( cocos2d::EventKeyboard::KeyCod... | 31.153846 | 136 | 0.77284 |
791a7f47c2f0b616e5fbd32eb86c877278fbe891 | 105 | sql | SQL | src/test/resources/sql/create_view/94f0ebb3.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/create_view/94f0ebb3.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/create_view/94f0ebb3.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:create_view.sql ln:564 expect:true
create view tt21v as
select * from tt5 natural inner join tt6
| 26.25 | 42 | 0.780952 |
b021e0c4a52e54d910d75d6dd63819df8a4f07bd | 4,830 | py | Python | src/routinghub/tools/simple_api_client.py | routinghub/g-colab-tools | 6dafda1e9a4605154ded69b14531d3f5dad0a248 | [
"MIT"
] | null | null | null | src/routinghub/tools/simple_api_client.py | routinghub/g-colab-tools | 6dafda1e9a4605154ded69b14531d3f5dad0a248 | [
"MIT"
] | null | null | null | src/routinghub/tools/simple_api_client.py | routinghub/g-colab-tools | 6dafda1e9a4605154ded69b14531d3f5dad0a248 | [
"MIT"
] | null | null | null | import requests
from urllib3.util.retry import Retry
from requests.adapters import HTTPAdapter
import json
import time
import sys
import logging
import copy
import subprocess
from concurrent.futures import ThreadPoolExecutor, as_completed
from typing import Dict, Tuple, Generator
def _setup_logger():
logger = lo... | 29.814815 | 111 | 0.636232 |
b34c8254e6a4c5b3bccbe362d148a969042a5295 | 3,403 | py | Python | python/Brunel/_affiliations.py | brunels-network/kiosk | 580b3ed55dc40a7c3427343334bc541f0e5e945e | [
"MIT"
] | 3 | 2020-08-05T11:21:47.000Z | 2020-10-19T12:40:23.000Z | python/Brunel/_affiliations.py | brunels-network/kiosk | 580b3ed55dc40a7c3427343334bc541f0e5e945e | [
"MIT"
] | 8 | 2020-08-17T09:51:23.000Z | 2020-11-30T12:07:11.000Z | python/Brunel/_affiliations.py | brunels-network/kiosk | 580b3ed55dc40a7c3427343334bc541f0e5e945e | [
"MIT"
] | 2 | 2021-03-09T11:05:15.000Z | 2021-04-15T11:25:46.000Z |
from ._affiliation import Affiliation as _Affiliation
__all__ = ["Affiliations"]
def _generate_affiliation_uid():
import uuid as _uuid
uid = _uuid.uuid4()
return "A" + str(uid)[:7]
class Affiliations:
"""This holds a registry of individual
Affiliations
"""
def __init__(self, props=N... | 27.007937 | 75 | 0.560094 |
ece3b375e4b0e0d9f9d7bd50e17c19d3e627f8b8 | 701 | rb | Ruby | app/controllers/gmm_controller.rb | ennder/admin_tools_ennder | 770282b55f0a4dba6c91cd4ae69e47ae3480bf5e | [
"MIT"
] | null | null | null | app/controllers/gmm_controller.rb | ennder/admin_tools_ennder | 770282b55f0a4dba6c91cd4ae69e47ae3480bf5e | [
"MIT"
] | null | null | null | app/controllers/gmm_controller.rb | ennder/admin_tools_ennder | 770282b55f0a4dba6c91cd4ae69e47ae3480bf5e | [
"MIT"
] | null | null | null | class GmmController < ApplicationController
def index
unless defined?(@all_models)
@@all_models = {}
# Load any model classes
Dir[Rails.root.to_s + '/app/models/**/*.rb'].each do |file|
begin
Rails.logger.info "GTM: loading #{file}"
require file
rescue
Rails.logger.error "GTM: Error l... | 25.035714 | 63 | 0.654779 |
6f03985660ba71f02f823c5b39a1aaeecdc54b3c | 587 | prc | SQL | Scripts/SP/SP-GLOBAL_VAR_CHANGE.prc | imbok-pro/IManServer | a42931bfbfab5c480280a7d4371c050e1b0b68b5 | [
"Apache-2.0"
] | null | null | null | Scripts/SP/SP-GLOBAL_VAR_CHANGE.prc | imbok-pro/IManServer | a42931bfbfab5c480280a7d4371c050e1b0b68b5 | [
"Apache-2.0"
] | null | null | null | Scripts/SP/SP-GLOBAL_VAR_CHANGE.prc | imbok-pro/IManServer | a42931bfbfab5c480280a7d4371c050e1b0b68b5 | [
"Apache-2.0"
] | null | null | null | CREATE OR REPLACE PROCEDURE SP.GLOBAL_VAR_CHANGE(pi_name IN VARCHAR2,
pi_value IN VARCHAR2)
AS
--pragma autonomous_transaction;
BEGIN
UPDATE sp.v_globals s SET s.S_VALUE = pi_value WHERE s.name = pi_name;
-- insert into sp.a1 values (pi_name||'; '||pi_value);
-- R... | 32.611111 | 76 | 0.703578 |
8e7dcb58034800b7e390f3a3fa1193e8913cd59b | 1,948 | js | JavaScript | js-aplication 2022/Routing/07. JS-Applications-Routing-Exercise-Resources (1)/01.Furniture/src/app.js | desislava-deneva/SoftUni | 47ef259ad2314f72ad30f470811cef4093b6a743 | [
"MIT"
] | 1 | 2022-02-13T22:20:32.000Z | 2022-02-13T22:20:32.000Z | js-aplication 2022/Routing/07. JS-Applications-Routing-Exercise-Resources (1)/01.Furniture/src/app.js | desislava-deneva/SoftUni | 47ef259ad2314f72ad30f470811cef4093b6a743 | [
"MIT"
] | null | null | null | js-aplication 2022/Routing/07. JS-Applications-Routing-Exercise-Resources (1)/01.Furniture/src/app.js | desislava-deneva/SoftUni | 47ef259ad2314f72ad30f470811cef4093b6a743 | [
"MIT"
] | null | null | null | import page from "../node_modules/page/page.mjs";
import { render } from "../node_modules/lit-html/lit-html.js";
import { createView } from "./pages/create.js";
import { dashboardView, myFurnitureView } from "./pages/dashboard.js";
import { detailsView } from "./pages/details.js";
import { editView } from "./pages/edi... | 27.828571 | 76 | 0.674538 |
72603196d887b2a38e05ce75100789d8c7fae771 | 835 | h | C | Modbus Poll/CVcAxisGrid.h | DHSERVICE56/T3000_Building_Automation_System | 77bd47a356211b1c8ad09fb8d785e9f880d3cd26 | [
"MIT"
] | 1 | 2019-12-11T05:14:08.000Z | 2019-12-11T05:14:08.000Z | Modbus Poll/CVcAxisGrid.h | DHSERVICE56/T3000_Building_Automation_System | 77bd47a356211b1c8ad09fb8d785e9f880d3cd26 | [
"MIT"
] | null | null | null | Modbus Poll/CVcAxisGrid.h | DHSERVICE56/T3000_Building_Automation_System | 77bd47a356211b1c8ad09fb8d785e9f880d3cd26 | [
"MIT"
] | 1 | 2021-05-31T18:56:31.000Z | 2021-05-31T18:56:31.000Z | // CVcAxisGrid.h : Declaration of ActiveX Control wrapper class(es) created by Microsoft Visual C++
#pragma once
/////////////////////////////////////////////////////////////////////////////
// CVcAxisGrid
class CVcAxisGrid : public COleDispatchDriver
{
public:
CVcAxisGrid() {} // Calls COleDispatchDriver default... | 23.194444 | 100 | 0.686228 |
3e2f2b043e8d59058806a3abbfd7670edd2a906d | 686 | lua | Lua | grpc-gateway/polyfill.lua | kmasuda050/lua-resty-grpc-gateway | db0be83cef8a3a9805f673057d1302c90510470f | [
"MIT"
] | 83 | 2019-04-27T06:13:13.000Z | 2022-03-29T11:13:01.000Z | grpc-gateway/polyfill.lua | kmasuda050/lua-resty-grpc-gateway | db0be83cef8a3a9805f673057d1302c90510470f | [
"MIT"
] | 30 | 2019-08-01T12:28:44.000Z | 2022-02-26T10:33:51.000Z | grpc-gateway/polyfill.lua | kmasuda050/lua-resty-grpc-gateway | db0be83cef8a3a9805f673057d1302c90510470f | [
"MIT"
] | 14 | 2019-05-21T10:33:14.000Z | 2021-11-19T09:00:52.000Z | return function()
-- nginx's gRPC proxy supports only grpcweb protocol whose request body accepts only binary proto format.
-- So if user requests with 'Content-Type: application/grpc-web-text', we need to decode request body as binary.
if ngx.req.get_headers()["Content-Type"] == "application/grpc-web-text" then
... | 40.352941 | 114 | 0.723032 |
437b4b2d54951c4fb2080f96534d5a30db321709 | 159 | ts | TypeScript | lib/components/input/file-input/index.d.ts | mowcixo/ontimize-web-ngx-compiled | a100031f3fc1a50171a60e795b35aa1a26de9a99 | [
"Apache-2.0"
] | 27 | 2017-12-13T19:21:26.000Z | 2022-01-06T10:15:13.000Z | lib/components/input/file-input/index.d.ts | mowcixo/ontimize-web-ngx-compiled | a100031f3fc1a50171a60e795b35aa1a26de9a99 | [
"Apache-2.0"
] | 383 | 2017-09-28T14:14:00.000Z | 2022-03-31T19:06:09.000Z | lib/components/input/file-input/index.d.ts | mowcixo/ontimize-web-ngx-compiled | a100031f3fc1a50171a60e795b35aa1a26de9a99 | [
"Apache-2.0"
] | 17 | 2017-09-28T08:46:42.000Z | 2021-02-25T14:46:50.000Z | export * from './o-file-input.component';
export * from './o-file-input.module';
export * from './o-file-item.class';
export * from './o-file-uploader.class';
| 31.8 | 41 | 0.672956 |
2c6af1dce835a72fb2354a5e8c77ab11723b897b | 1,858 | py | Python | app_backend/forms/futures.py | zhanghe06/bearing_project | 78a20fc321f72d3ae05c7ab7e52e01d02904e3fc | [
"MIT"
] | 1 | 2020-06-21T04:08:26.000Z | 2020-06-21T04:08:26.000Z | app_backend/forms/futures.py | zhanghe06/bearing_project | 78a20fc321f72d3ae05c7ab7e52e01d02904e3fc | [
"MIT"
] | 13 | 2019-10-18T17:19:32.000Z | 2022-01-13T00:44:43.000Z | app_backend/forms/futures.py | zhanghe06/bearing_project | 78a20fc321f72d3ae05c7ab7e52e01d02904e3fc | [
"MIT"
] | 5 | 2019-02-07T03:15:16.000Z | 2021-09-04T14:06:28.000Z | #!/usr/bin/env python
# encoding: utf-8
"""
@author: zhanghe
@software: PyCharm
@file: futures.py
@time: 2019-08-13 22:39
"""
from __future__ import unicode_literals
from flask_babel import lazy_gettext as _
from flask_wtf import FlaskForm
from wtforms import StringField, IntegerField, SelectField, DateField
from wt... | 24.773333 | 69 | 0.550592 |
392d93ea655503631517cafb1d414ece592a2aa4 | 1,292 | py | Python | tests/pytests/unit/netapi/saltnado/test_base_handler.py | haodeon/salt | af2964f4ddbf9c5635d1528a495e473996cc7b71 | [
"Apache-2.0"
] | null | null | null | tests/pytests/unit/netapi/saltnado/test_base_handler.py | haodeon/salt | af2964f4ddbf9c5635d1528a495e473996cc7b71 | [
"Apache-2.0"
] | null | null | null | tests/pytests/unit/netapi/saltnado/test_base_handler.py | haodeon/salt | af2964f4ddbf9c5635d1528a495e473996cc7b71 | [
"Apache-2.0"
] | null | null | null | import time
import pytest
import salt.netapi.rest_tornado.saltnado as saltnado_app
from tests.support.mock import MagicMock, patch
@pytest.fixture
def arg_mock():
mock = MagicMock()
mock.opts = {
"syndic_wait": 0.1,
"cachedir": "/tmp/testing/cachedir",
"sock_dir": "/tmp/testing/sock_d... | 30.046512 | 73 | 0.647059 |
dabb0a5d22eeab48a5645e63d3dfe176e49dd004 | 2,140 | dart | Dart | lib/src/models/expression_model.dart | Le127/calculator_app | 604891546cc1632f73e12e9678484bf24e9b3132 | [
"0BSD"
] | null | null | null | lib/src/models/expression_model.dart | Le127/calculator_app | 604891546cc1632f73e12e9678484bf24e9b3132 | [
"0BSD"
] | null | null | null | lib/src/models/expression_model.dart | Le127/calculator_app | 604891546cc1632f73e12e9678484bf24e9b3132 | [
"0BSD"
] | 1 | 2021-12-10T15:39:01.000Z | 2021-12-10T15:39:01.000Z | import 'package:flutter/material.dart';
import 'package:math_expressions/math_expressions.dart' as me;
import 'package:calculator_app/src/helpers/functions.dart';
class ExpressionModel extends ChangeNotifier {
String _expression = "";
bool _expressionError = false;
TextEditingController _controller = TextEditing... | 26.75 | 74 | 0.640654 |
b0fdda3ba1996ccb5054d8fa4862ebad666e12c0 | 1,737 | py | Python | dd/api/workflow/sql.py | octo-technology/ddapi | 08b56016bf59a02c42d79a117a8de1e23e5b4f90 | [
"Apache-2.0"
] | 4 | 2019-06-09T13:15:37.000Z | 2020-12-22T08:37:36.000Z | dd/api/workflow/sql.py | octo-technology/ddapi | 08b56016bf59a02c42d79a117a8de1e23e5b4f90 | [
"Apache-2.0"
] | null | null | null | dd/api/workflow/sql.py | octo-technology/ddapi | 08b56016bf59a02c42d79a117a8de1e23e5b4f90 | [
"Apache-2.0"
] | null | null | null | from dd.api.workflow.actions import Action
from .callables import QueryCallableBuilder, ActionCallableBuilder
class SQLOperator(object):
def __init__(self, context, dataset):
self.context = context
self.parent_dataset = dataset
def query(self, query, output_table=None, create_table=False, if_... | 43.425 | 110 | 0.647093 |
583ce622a92e4f3a706ed81259915285533fe128 | 318 | css | CSS | src/pages/404.module.css | kac2016/opensource | 741a1a1a1358c427ff135e3217ee68ad05878379 | [
"MIT"
] | 1 | 2020-04-18T17:20:48.000Z | 2020-04-18T17:20:48.000Z | src/pages/404.module.css | kac2016/opensource | 741a1a1a1358c427ff135e3217ee68ad05878379 | [
"MIT"
] | null | null | null | src/pages/404.module.css | kac2016/opensource | 741a1a1a1358c427ff135e3217ee68ad05878379 | [
"MIT"
] | 1 | 2021-07-25T06:48:13.000Z | 2021-07-25T06:48:13.000Z | @value small from "../styles/breakpoints.module.css";
.section {
composes: container from '../styles/grid.module.css';
height: 600px;
display: flex;
align-items: center;
}
.hero {
font-weight: 700;
font-size: 48px;
}
.subHero {
font-size: 24px;
}
@media small {
.section {
height: 500px;
}
}
| 13.25 | 55 | 0.632075 |
446024276a116a6e7ab7bf8d18e434086f202925 | 826 | py | Python | examples/practice/students_manager/practice04.py | zhangdapeng520/zdppy_mysql | de3a0d94a87825d60869141893d45cca27c8cedf | [
"MIT"
] | null | null | null | examples/practice/students_manager/practice04.py | zhangdapeng520/zdppy_mysql | de3a0d94a87825d60869141893d45cca27c8cedf | [
"MIT"
] | null | null | null | examples/practice/students_manager/practice04.py | zhangdapeng520/zdppy_mysql | de3a0d94a87825d60869141893d45cca27c8cedf | [
"MIT"
] | 1 | 2022-02-20T23:14:10.000Z | 2022-02-20T23:14:10.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2022/3/7 23:26
# @Author : 张大鹏
# @Site :
# @File : practice01.py
# @Software: PyCharm
from zdppy_mysql import Mysql
import json
m = Mysql(db="test")
# 查询所有同学的学生编号、学生姓名、选课总数、所有课程的总成绩(没成绩的显示为null)
sql = """
select student.SId,student.Sname,t1.sumscore,t... | 22.324324 | 73 | 0.622276 |
018ce0cd2de61b343fe8bcf3cb6669a747541af6 | 79 | rb | Ruby | app/models/spree/promese_order_decorator.rb | peterberkenbosch/spree_promese | 2bf15a1628398a682069d9f3b5bcef46ea50ec4c | [
"BSD-3-Clause"
] | null | null | null | app/models/spree/promese_order_decorator.rb | peterberkenbosch/spree_promese | 2bf15a1628398a682069d9f3b5bcef46ea50ec4c | [
"BSD-3-Clause"
] | null | null | null | app/models/spree/promese_order_decorator.rb | peterberkenbosch/spree_promese | 2bf15a1628398a682069d9f3b5bcef46ea50ec4c | [
"BSD-3-Clause"
] | 1 | 2020-12-22T12:42:52.000Z | 2020-12-22T12:42:52.000Z | module PromeseOrderDecorator
end
Spree::Order.prepend(PromeseOrderDecorator)
| 13.166667 | 43 | 0.860759 |
447d3663a31b1d15fced0d43cf268e47627e1ca7 | 2,504 | py | Python | test/app-client/batch_files/run_application.py | susanwab/elijah-provisioning | 6364f1e6c6c802033df71999435d7f7dc03ad2b6 | [
"Apache-2.0"
] | 19 | 2015-01-18T23:37:18.000Z | 2019-10-16T15:53:29.000Z | test/app-client/batch_files/run_application.py | susanwab/elijah-provisioning | 6364f1e6c6c802033df71999435d7f7dc03ad2b6 | [
"Apache-2.0"
] | 5 | 2016-06-09T15:08:51.000Z | 2018-05-07T17:45:01.000Z | test/app-client/batch_files/run_application.py | susanwab/elijah-provisioning | 6364f1e6c6c802033df71999435d7f7dc03ad2b6 | [
"Apache-2.0"
] | 15 | 2015-02-02T11:08:14.000Z | 2020-03-24T14:22:50.000Z | #!/usr/bin/env python
#
# Cloudlet Infrastructure for Mobile Computing
#
# Author: Kiryong Ha <krha@cmu.edu>
#
# Copyright (C) 2011-2013 Carnegie Mellon University
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may ob... | 31.696203 | 93 | 0.678115 |
d03813c0a96da1a770e70bf10fc0e8e94b666430 | 1,913 | hpp | C++ | C++ Development Root/SourceCode/Domain/Subscription/SubscriptionHandler.hpp | Dpham181/CPSC-462-GROUP-2 | 36f55ec4980e2e98d58f1f0a63ecc5070d7faa47 | [
"MIT"
] | 1 | 2021-05-19T06:35:15.000Z | 2021-05-19T06:35:15.000Z | C++ Development Root/SourceCode/Domain/Subscription/SubscriptionHandler.hpp | Dpham181/CPSC-462-GROUP-2 | 36f55ec4980e2e98d58f1f0a63ecc5070d7faa47 | [
"MIT"
] | null | null | null | C++ Development Root/SourceCode/Domain/Subscription/SubscriptionHandler.hpp | Dpham181/CPSC-462-GROUP-2 | 36f55ec4980e2e98d58f1f0a63ecc5070d7faa47 | [
"MIT"
] | null | null | null | #pragma once
#include <any>
#include <memory> // unique_ptr
#include <stdexcept> // runtime_error
#include <string>
#include <vector> // domain_error, runtime_error
#include "TechnicalServices/Persistence/PersistenceHandler.hpp"
namespace Domain::Subscription
{
using TechnicalServices::Persistence::UserCr... | 39.854167 | 177 | 0.723471 |
a4e810e15236677de32383bb19e5034727725510 | 112 | sql | SQL | skysign-db/remote-communication-db/missions.sql | Tomofiles/skysign_cloud_v2 | acccf3552511d67ddf6284846e762d17c2aebb84 | [
"MIT"
] | 7 | 2020-08-03T02:28:16.000Z | 2022-02-25T11:03:06.000Z | skysign-db/remote-communication-db/missions.sql | Tomofiles/skysign_cloud_v2 | acccf3552511d67ddf6284846e762d17c2aebb84 | [
"MIT"
] | 23 | 2020-07-19T08:38:06.000Z | 2021-09-21T08:19:06.000Z | skysign-db/remote-communication-db/missions.sql | Tomofiles/skysign_cloud_v2 | acccf3552511d67ddf6284846e762d17c2aebb84 | [
"MIT"
] | null | null | null | CREATE TABLE missions (
id character varying(36) NOT NULL,
CONSTRAINT missions_pkey PRIMARY KEY (id)
);
| 22.4 | 45 | 0.723214 |
f47c7434059b16716c1061ea4aa2932da955afb7 | 7,044 | ts | TypeScript | ng-moon/src/share/components/group/group.component.ts | ng-nest/zero-moon | 1bf67a276ab0e2a76990ba1e587d78f0dfe019c0 | [
"MIT"
] | 90 | 2019-02-25T14:30:50.000Z | 2021-11-12T13:13:25.000Z | ng-moon/src/share/components/group/group.component.ts | ng-nest/zero-moon | 1bf67a276ab0e2a76990ba1e587d78f0dfe019c0 | [
"MIT"
] | 9 | 2020-04-19T00:15:40.000Z | 2022-02-12T07:30:43.000Z | ng-moon/src/share/components/group/group.component.ts | isonz/ng-nest-moon | c4625e6b32b672fe81bd102cb76cacd93538b033 | [
"MIT"
] | 21 | 2019-02-14T15:58:48.000Z | 2021-11-05T08:44:04.000Z | import {
Component, OnInit, Inject, ElementRef, Renderer2, ViewChild, TemplateRef, ViewEncapsulation
} from '@angular/core';
import { GROUPOPTION, GroupOption, GroupItem } from './group.type';
import * as _ from 'lodash';
import { CdkDragDrop, moveItemInArray, transferArrayItem } from '@angular/cdk/drag-drop';
impo... | 33.865385 | 128 | 0.49276 |
d4e71210edec147aa7b4074fcf5fe0f994ad52e7 | 3,023 | ts | TypeScript | template-plugin-auth/frontend/tests/authentication.spec.ts | katherine-sussol/create-rust-app | 321b726359d679c64251504cb635ecc045e87ce3 | [
"Apache-2.0",
"MIT"
] | 263 | 2021-05-25T00:41:04.000Z | 2022-03-30T02:41:00.000Z | template-plugin-auth/frontend/tests/authentication.spec.ts | katherine-sussol/create-rust-app | 321b726359d679c64251504cb635ecc045e87ce3 | [
"Apache-2.0",
"MIT"
] | 12 | 2021-10-03T10:11:41.000Z | 2022-03-30T16:27:21.000Z | template-plugin-auth/frontend/tests/authentication.spec.ts | katherine-sussol/create-rust-app | 321b726359d679c64251504cb635ecc045e87ce3 | [
"Apache-2.0",
"MIT"
] | 11 | 2021-10-13T00:55:04.000Z | 2022-02-19T18:26:38.000Z | import { test, expect } from "@playwright/test";
require("dotenv").config();
const test_url = process.env.TEST_URL;
const test_email = process.env.TEST_EMAIL;
const test_password = process.env.TEST_PASSWORD;
const get_ipts = async (page) => {
let emailIpt = page
.locator('[class="Form"]')
.locator('div:has-... | 31.164948 | 75 | 0.631823 |
6916a7302bb116f8b9e91e0f80ca8c162476459e | 4,173 | rb | Ruby | gems/ruby/2.2.0/gems/http-0.7.1/spec/lib/http_spec.rb | rubygem/website | 3ae3a68a42b024f4222fc805af6b14d158f8a132 | [
"MIT"
] | null | null | null | gems/ruby/2.2.0/gems/http-0.7.1/spec/lib/http_spec.rb | rubygem/website | 3ae3a68a42b024f4222fc805af6b14d158f8a132 | [
"MIT"
] | 1 | 2015-07-14T20:27:59.000Z | 2015-07-14T20:27:59.000Z | gems/ruby/2.2.0/gems/http-0.7.1/spec/lib/http_spec.rb | rubygem/website | 3ae3a68a42b024f4222fc805af6b14d158f8a132 | [
"MIT"
] | null | null | null | require 'json'
RSpec.describe HTTP do
let(:test_endpoint) { "http://#{ExampleServer::ADDR}" }
context 'getting resources' do
it 'is easy' do
response = HTTP.get test_endpoint
expect(response.to_s).to match(/<!doctype html>/)
end
context 'with URI instance' do
it 'is easy' do
... | 29.807143 | 99 | 0.634795 |
d02ee38356273fb4595ace4790b221f429c07a1f | 93 | jbuilder | Ruby | app/views/tasks/show.json.jbuilder | victorfeijo/my_radmin | 572ae976186c6fc9ae10d59d3f10904e6aca8729 | [
"MIT"
] | 1 | 2016-06-16T20:52:14.000Z | 2016-06-16T20:52:14.000Z | app/views/tasks/show.json.jbuilder | victorfeijo/my_radmin | 572ae976186c6fc9ae10d59d3f10904e6aca8729 | [
"MIT"
] | null | null | null | app/views/tasks/show.json.jbuilder | victorfeijo/my_radmin | 572ae976186c6fc9ae10d59d3f10904e6aca8729 | [
"MIT"
] | null | null | null | json.extract! @task, :id, :name, :level, :done, :dead_line, :about, :created_at, :updated_at
| 46.5 | 92 | 0.688172 |
2c3f5e87a66a8d64f17c5ecd2e2840b191d0cad4 | 537 | py | Python | UVa-problems/787.py | LeKSuS-04/Competitive-Programming | fbc86a8c6febeef72587a8f94135e92197e1f99e | [
"WTFPL"
] | null | null | null | UVa-problems/787.py | LeKSuS-04/Competitive-Programming | fbc86a8c6febeef72587a8f94135e92197e1f99e | [
"WTFPL"
] | null | null | null | UVa-problems/787.py | LeKSuS-04/Competitive-Programming | fbc86a8c6febeef72587a8f94135e92197e1f99e | [
"WTFPL"
] | null | null | null | ''' UVa 787 - Maximum Sub-sequence Product '''
# https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=649&page=show_problem&problem=728
# Date: 2021-10-04 17:28:52
# Runtime: 0.010
# Verdict: AC
import sys
for line in sys.stdin:
nums = list(map(int, line.split()[:-1]))
minv = nums.copy(... | 24.409091 | 110 | 0.595903 |
24774cce252cf232638c7cce48e9ddca94168a19 | 3,753 | php | PHP | classes/Kohana/Jam/Field/Timestamp.php | despark/jamd | c56f4936d42763d65fe59b916462605c1b49f7ae | [
"BSD-3-Clause"
] | 10 | 2015-01-10T14:40:22.000Z | 2021-03-28T20:38:17.000Z | classes/Kohana/Jam/Field/Timestamp.php | despark/jamd | c56f4936d42763d65fe59b916462605c1b49f7ae | [
"BSD-3-Clause"
] | 24 | 2015-03-17T14:05:08.000Z | 2021-01-07T16:38:04.000Z | classes/Kohana/Jam/Field/Timestamp.php | despark/jamd | c56f4936d42763d65fe59b916462605c1b49f7ae | [
"BSD-3-Clause"
] | 5 | 2015-10-20T11:31:00.000Z | 2017-10-31T09:29:44.000Z | <?php defined('SYSPATH') OR die('No direct script access.');
/**
* Handles timestamps and conversions to and from different formats
*
* All timestamps are represented internally by UNIX timestamps, regardless
* of their format in the database. When the model is saved, the value is
* converted back to the format sp... | 25.882759 | 109 | 0.656808 |
e23dc5f35f215853ae7c41cdd0ac1444b4034c84 | 138 | py | Python | example.py | DennisThomas-25/bq-code | 23313538304b86f15313b5969dbbf2db1632c7b1 | [
"Apache-2.0"
] | null | null | null | example.py | DennisThomas-25/bq-code | 23313538304b86f15313b5969dbbf2db1632c7b1 | [
"Apache-2.0"
] | null | null | null | example.py | DennisThomas-25/bq-code | 23313538304b86f15313b5969dbbf2db1632c7b1 | [
"Apache-2.0"
] | null | null | null | def add(a,b):
return a+b
def substract(a,b):
return a * b
## Imagine I made a valid change
def absolut(a,b):
return np.abs(a,b)
| 11.5 | 32 | 0.630435 |
d61ea08292b692afdc63faa2383f28f737ae2dea | 2,250 | dart | Dart | lib/pages/about/about_page.dart | xinlc/flutter_jiandan | cda0696a3b097fc82ff1d83806ce5cd48bbc446b | [
"MIT"
] | 6 | 2018-09-30T06:09:51.000Z | 2020-11-18T02:19:40.000Z | lib/pages/about/about_page.dart | xinlc/flutter_jiandan | cda0696a3b097fc82ff1d83806ce5cd48bbc446b | [
"MIT"
] | null | null | null | lib/pages/about/about_page.dart | xinlc/flutter_jiandan | cda0696a3b097fc82ff1d83806ce5cd48bbc446b | [
"MIT"
] | null | null | null | import 'dart:async';
import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';
class AboutPage extends StatelessWidget {
TextStyle textStyle = new TextStyle(
color: Colors.blue,
decoration: new TextDecoration.combine([TextDecoration.underline])
);
Future<Null> _launchInBr... | 26.470588 | 72 | 0.541333 |
900700141b1a353fbc14b647305492b9bbe1224e | 130 | sql | SQL | src/test/resources/sql/create_table/33bc08d6.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/create_table/33bc08d6.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/create_table/33bc08d6.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:stats_ext.sql ln:71 expect:true
CREATE TABLE tststats.pt1 PARTITION OF tststats.pt FOR VALUES FROM (-10, -10) TO (10, 10)
| 43.333333 | 89 | 0.738462 |
46524018e72a1eb248fe88f87dbfe8d4f384f1f3 | 1,256 | php | PHP | routes/web.php | HectorEdgar/practicasUnam | 8dca68bad6b0275fd62c09d7de4297cbb01adac7 | [
"MIT"
] | null | null | null | routes/web.php | HectorEdgar/practicasUnam | 8dca68bad6b0275fd62c09d7de4297cbb01adac7 | [
"MIT"
] | null | null | null | routes/web.php | HectorEdgar/practicasUnam | 8dca68bad6b0275fd62c09d7de4297cbb01adac7 | [
"MIT"
] | null | null | null | <?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... | 33.052632 | 91 | 0.628981 |
0043d664d0b87aeece0ffff88bd2245517afb5c0 | 838 | swift | Swift | Sources/SwiftSCAD/Operations/Duplication/Symmetry.swift | tomasf/SwiftSCAD | ed4bd50ae3bd21e4fc295963aba83400ca0d4f43 | [
"MIT"
] | 2 | 2021-09-25T07:52:15.000Z | 2022-01-02T23:37:25.000Z | Sources/SwiftSCAD/Operations/Duplication/Symmetry.swift | tomasf/SwiftSCAD | ed4bd50ae3bd21e4fc295963aba83400ca0d4f43 | [
"MIT"
] | null | null | null | Sources/SwiftSCAD/Operations/Duplication/Symmetry.swift | tomasf/SwiftSCAD | ed4bd50ae3bd21e4fc295963aba83400ca0d4f43 | [
"MIT"
] | null | null | null | import Foundation
public extension Geometry3D {
/// Repeat this geometry mirrored across the provided axes
/// - Parameter axes: The axes to use
@UnionBuilder func symmetry(over axes: Axes3D) -> Geometry3D {
for xs in axes.contains(.x) ? [1.0, -1.0] : [1.0] {
for ys in axes.contains(.y) ? [1.0, -1.0... | 27.933333 | 66 | 0.552506 |
24a81d05038bba44e724274a5114d5a5db37b16d | 9,515 | php | PHP | Test/Unit/Block/GroupedProduct/Product/View/Type/GroupedTest.php | DivanteLtd/magento2-module-groupped-products-manager | ad9217603d3dc04a4ad5a66cba93997d000bde56 | [
"MIT"
] | 19 | 2017-07-20T06:22:43.000Z | 2022-01-19T21:42:40.000Z | Test/Unit/Block/GroupedProduct/Product/View/Type/GroupedTest.php | DivanteLtd/magento2-module-groupped-products-manager | ad9217603d3dc04a4ad5a66cba93997d000bde56 | [
"MIT"
] | 2 | 2018-07-05T15:28:47.000Z | 2020-06-19T09:08:40.000Z | Test/Unit/Block/GroupedProduct/Product/View/Type/GroupedTest.php | DivanteLtd/magento2-module-groupped-products-manager | ad9217603d3dc04a4ad5a66cba93997d000bde56 | [
"MIT"
] | 6 | 2017-07-25T07:10:35.000Z | 2022-02-15T23:14:05.000Z | <?php
/**
* @package Divante\GroupedProductsManager
* @author Marek Mularczyk <mmularczyk@divante.pl>
* @copyright 2017 Divante Sp. z o.o.
* @license See LICENSE_DIVANTE.txt for license details.
*/
namespace Divante\GroupedProductsManager\Test\Unit\Block\GroupedProduct\Product\View\Type;
use Divante\Group... | 30.892857 | 120 | 0.618917 |
12a4c0ecca8f094ef6ec42187ea9311e35c06b67 | 290 | cs | C# | CoCore.Base/Interface/IBroadcast.cs | kvandake/CoCore | 2c390647493f048e48a0fbc22ff0ef231ceac9f6 | [
"Apache-2.0"
] | 1 | 2015-12-31T18:37:04.000Z | 2015-12-31T18:37:04.000Z | CoCore.Base/Interface/IBroadcast.cs | kvandake/CoCore | 2c390647493f048e48a0fbc22ff0ef231ceac9f6 | [
"Apache-2.0"
] | 16 | 2015-12-31T18:37:29.000Z | 2018-01-10T10:57:03.000Z | CoCore.Base/Interface/IBroadcast.cs | kvandake/CoCore | 2c390647493f048e48a0fbc22ff0ef231ceac9f6 | [
"Apache-2.0"
] | null | null | null | using System;
namespace CoCore.Base
{
public interface IBroadcast
{
void SubscribeOnBroadcast();
void UnscribeOnBroadcast();
void Register<T>(Action<T> action, string token = null);
void UnRegister<T>(string token = null);
void Send<T>(T obj, string token = null);
}
}
| 14.5 | 58 | 0.693103 |
05bb92dacd41ea41ab76afe93555fad51feee30d | 8,970 | py | Python | sysdfiles/network_file.py | ghuband/sysdfiles | eb13167b07b27351c3962a42b30dcd50ce551d71 | [
"MIT"
] | null | null | null | sysdfiles/network_file.py | ghuband/sysdfiles | eb13167b07b27351c3962a42b30dcd50ce551d71 | [
"MIT"
] | 1 | 2020-06-05T20:58:05.000Z | 2020-06-05T20:58:05.000Z | sysdfiles/network_file.py | ghuband/sysdfiles | eb13167b07b27351c3962a42b30dcd50ce551d71 | [
"MIT"
] | 1 | 2020-06-09T02:35:35.000Z | 2020-06-09T02:35:35.000Z | from .ini_file import IniFile
# =============================================================================
# NetworkFile
# =============================================================================
class NetworkFile(IniFile):
def __init__(self, file_name=''):
IniFile.__init__(self, file_name)
... | 48.225806 | 79 | 0.273579 |
dde8f485661283dbf4d295bf89282f4726beff37 | 777 | java | Java | src/main/java/com/staten/capstone/service/IUserService.java | mstaten/capstone | e17b27f7e4e51d3a2a51e87a95b2ac7934ca116a | [
"MIT"
] | null | null | null | src/main/java/com/staten/capstone/service/IUserService.java | mstaten/capstone | e17b27f7e4e51d3a2a51e87a95b2ac7934ca116a | [
"MIT"
] | null | null | null | src/main/java/com/staten/capstone/service/IUserService.java | mstaten/capstone | e17b27f7e4e51d3a2a51e87a95b2ac7934ca116a | [
"MIT"
] | null | null | null | package com.staten.capstone.service;
import com.staten.capstone.errors.PasswordsMismatchException;
import com.staten.capstone.errors.UserAlreadyExistsException;
import com.staten.capstone.models.User;
import com.staten.capstone.models.data.UserDto;
public interface IUserService {
User registerNewUser(final UserD... | 27.75 | 110 | 0.795367 |
2a11871db8e679dcf69c6387a69c83108d46d092 | 293 | rs | Rust | src/test/ui/suggestions/const-pat-non-exaustive-let-new-var.rs | Timmmm/rust | e369d87b015a84653343032833d65d0545fd3f26 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 7 | 2020-09-23T01:43:19.000Z | 2022-03-17T09:18:56.000Z | src/test/ui/suggestions/const-pat-non-exaustive-let-new-var.rs | Timmmm/rust | e369d87b015a84653343032833d65d0545fd3f26 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 9 | 2019-08-14T16:32:51.000Z | 2021-07-20T23:38:07.000Z | src/test/ui/suggestions/const-pat-non-exaustive-let-new-var.rs | Timmmm/rust | e369d87b015a84653343032833d65d0545fd3f26 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 10 | 2020-06-03T23:08:12.000Z | 2021-03-23T17:53:42.000Z | fn main() {
let A = 3;
//~^ ERROR refutable pattern in local binding: `std::i32::MIN..=1i32` and
//~| interpreted as a constant pattern, not a new variable
//~| HELP introduce a variable instead
//~| SUGGESTION a_var
const A: i32 = 2;
//~^ constant defined here
}
| 26.636364 | 77 | 0.610922 |
33b80bbff1ea2b470efe39a637234e173b1e3208 | 786 | sql | SQL | src/main/resources/introdb/create-schema.sql | dbflute/dbflute-intro | eba78225cae6c27a36ae70172ae2009123631a7c | [
"ECL-2.0",
"Apache-2.0"
] | 7 | 2016-12-11T14:23:39.000Z | 2022-01-13T08:49:45.000Z | src/main/resources/introdb/create-schema.sql | dbflute/dbflute-intro | eba78225cae6c27a36ae70172ae2009123631a7c | [
"ECL-2.0",
"Apache-2.0"
] | 251 | 2016-04-16T08:41:49.000Z | 2022-03-24T14:42:54.000Z | src/main/resources/introdb/create-schema.sql | dbflute/dbflute-intro | eba78225cae6c27a36ae70172ae2009123631a7c | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2017-07-21T10:26:04.000Z | 2019-12-15T07:15:29.000Z |
create table CLS_TARGET_DATABASE(
DATABASE_CODE VARCHAR(10) NOT NULL PRIMARY KEY,
DATABASE_NAME VARCHAR(100) NOT NULL,
JDBC_DRIVER_FQCN VARCHAR(100) NOT NULL,
URL_TEMPLATE VARCHAR(100) NOT NULL,
DEFAULT_SCHEMA VARCHAR(10),
SCHEMA_REQUIRED_FLG INTEGER NOT NULL,
SCHEMA_UPPER_CASE_FLG INTEGER ... | 30.230769 | 52 | 0.762087 |
4cea66636174c62280f8b10c8fc1bfbd13a8974d | 2,055 | py | Python | views.py | tanminkwan/flask_appBuilder_pjt | 763c02b271288a0db67f1647f605836e98ac450e | [
"Unlicense"
] | null | null | null | views.py | tanminkwan/flask_appBuilder_pjt | 763c02b271288a0db67f1647f605836e98ac450e | [
"Unlicense"
] | null | null | null | views.py | tanminkwan/flask_appBuilder_pjt | 763c02b271288a0db67f1647f605836e98ac450e | [
"Unlicense"
] | null | null | null | from flask import render_template
from flask_appbuilder.models.sqla.interface import SQLAInterface
from flask_appbuilder import ModelView, ModelRestApi
from .models import ContactGroup, Contact
from . import appbuilder, db
"""
Create your Model based REST API::
class MyModelApi(ModelRestApi):
datamode... | 22.833333 | 95 | 0.654015 |
b62234cb05aae8354e0b8047bba699584ff7a583 | 281 | rb | Ruby | spec/utils_spec.rb | ngiger/softcover | 9350a14d1ead3538b6a307dc9cdf60e1f9b2267c | [
"MIT"
] | 331 | 2015-01-03T00:13:26.000Z | 2022-03-27T18:03:00.000Z | spec/utils_spec.rb | ngiger/softcover | 9350a14d1ead3538b6a307dc9cdf60e1f9b2267c | [
"MIT"
] | 111 | 2015-01-04T20:50:31.000Z | 2022-02-21T21:09:32.000Z | spec/utils_spec.rb | ngiger/softcover | 9350a14d1ead3538b6a307dc9cdf60e1f9b2267c | [
"MIT"
] | 49 | 2015-02-10T22:25:35.000Z | 2021-06-30T16:43:46.000Z | require 'spec_helper'
describe Softcover::Utils do
context "book_file_lines" do
let(:raw_lines) { ['foo.md', '# bar.tex'] }
subject { Softcover::Utils.non_comment_lines(raw_lines) }
it { should include 'foo.md' }
it { should_not include 'bar.tex' }
end
end | 28.1 | 61 | 0.66548 |
b734f0cd3f3cc7fa7d4671f172f94cf7d4a471b7 | 2,361 | cpp | C++ | Examples/CPP/WorkingWithResourceAssignments/GetResourceAssignmentOvertimes.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | 1 | 2022-03-16T14:31:36.000Z | 2022-03-16T14:31:36.000Z | Examples/CPP/WorkingWithResourceAssignments/GetResourceAssignmentOvertimes.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | null | null | null | Examples/CPP/WorkingWithResourceAssignments/GetResourceAssignmentOvertimes.cpp | aspose-tasks/Aspose.Tasks-for-C | acb3e2b75685f65cbe34dd739c7eae0dfc285aa1 | [
"MIT"
] | 1 | 2020-07-01T01:26:17.000Z | 2020-07-01T01:26:17.000Z | #include "GetResourceAssignmentOvertimes.h"
#include <system/type_info.h>
#include <system/string.h>
#include <system/shared_ptr.h>
#include <system/reflection/method_base.h>
#include <system/object_ext.h>
#include <system/object.h>
#include <system/decimal.h>
#include <system/console.h>
#include <system/collections/i... | 35.772727 | 164 | 0.725964 |
cd218461b1b742554d230c85d20a8353993d1129 | 4,077 | cs | C# | src/BloomTests/ElementProxyTests.cs | StephenMcConnel/BloomDesktop | ef184acc3fcec5807bd79c4ef8f42ae06f529584 | [
"MIT"
] | null | null | null | src/BloomTests/ElementProxyTests.cs | StephenMcConnel/BloomDesktop | ef184acc3fcec5807bd79c4ef8f42ae06f529584 | [
"MIT"
] | null | null | null | src/BloomTests/ElementProxyTests.cs | StephenMcConnel/BloomDesktop | ef184acc3fcec5807bd79c4ef8f42ae06f529584 | [
"MIT"
] | null | null | null | // Copyright (c) 2015 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System.Xml;
using Bloom;
using NUnit.Framework;
namespace BloomTests
{
[TestFixture]
public class ElementProxyTests
{
/* Note, the whole purpose of the ElementProxy class is to w... | 32.102362 | 127 | 0.70493 |
1683ab3afaec0026a7f91136434007f3e5f136c1 | 310 | swift | Swift | MVVMKit/Base/CollectionItemViewModel.swift | IsaAliev/MVVMKit | dda68f83ace779d13b0238a77b6f2777a3497f61 | [
"MIT"
] | null | null | null | MVVMKit/Base/CollectionItemViewModel.swift | IsaAliev/MVVMKit | dda68f83ace779d13b0238a77b6f2777a3497f61 | [
"MIT"
] | null | null | null | MVVMKit/Base/CollectionItemViewModel.swift | IsaAliev/MVVMKit | dda68f83ace779d13b0238a77b6f2777a3497f61 | [
"MIT"
] | null | null | null | //
// CollectionItemViewModel.swift
//
// Created by Isa Aliev on 17/09/2020.
// Copyright © 2020. All rights reserved.
//
public protocol CollectionItemViewModel: ViewModel {
var identityIdentifier: Any? { get }
}
public extension CollectionItemViewModel {
var identityIdentifier: Any? { nil }
}
| 20.666667 | 52 | 0.719355 |
a3b85560fcfc0293685bde2588bb82ce8f0e2428 | 567 | java | Java | src/main/java/org/snomed/snowstorm/rest/pojo/CreateBranchRequest.java | kparmar1/snowstorm | 651d27bc857ef6ede0be15a09570f0ef370d9bd4 | [
"Apache-2.0"
] | null | null | null | src/main/java/org/snomed/snowstorm/rest/pojo/CreateBranchRequest.java | kparmar1/snowstorm | 651d27bc857ef6ede0be15a09570f0ef370d9bd4 | [
"Apache-2.0"
] | null | null | null | src/main/java/org/snomed/snowstorm/rest/pojo/CreateBranchRequest.java | kparmar1/snowstorm | 651d27bc857ef6ede0be15a09570f0ef370d9bd4 | [
"Apache-2.0"
] | null | null | null | package org.snomed.snowstorm.rest.pojo;
import java.util.Map;
public class CreateBranchRequest {
private String parent;
private String name;
private Map<String, Object> metadata;
public String getParent() {
return parent;
}
public void setParent(String parent) {
this.parent = parent;
}
public String g... | 16.2 | 56 | 0.712522 |
dda1730d97418cd53699e9c9f334f2ac3a4e157b | 2,286 | java | Java | src/main/java/com/blurengine/blur/events/players/BlurPlayerEvent.java | Xorgon/Blur | 0790f54feb039bbc87ffa6f880e03721d5d85041 | [
"Apache-2.0"
] | 35 | 2016-01-01T16:54:58.000Z | 2021-12-25T13:20:25.000Z | src/main/java/com/blurengine/blur/events/players/BlurPlayerEvent.java | Xorgon/Blur | 0790f54feb039bbc87ffa6f880e03721d5d85041 | [
"Apache-2.0"
] | 6 | 2016-01-05T03:22:10.000Z | 2019-08-18T19:59:21.000Z | src/main/java/com/blurengine/blur/events/players/BlurPlayerEvent.java | Xorgon/Blur | 0790f54feb039bbc87ffa6f880e03721d5d85041 | [
"Apache-2.0"
] | 8 | 2016-01-01T13:35:52.000Z | 2021-06-17T21:07:19.000Z | /*
* Copyright 2016 Ali Moghnieh
*
* 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... | 36.285714 | 145 | 0.733596 |
4cd2e490b89c48819e40a2fc1ffbdb417f56c65e | 1,683 | py | Python | nesi/devices/softbox/api/schemas/logport_schemas.py | inexio/NESi | 920b23ccaf293733b4b571e4df27929c036257f7 | [
"BSD-2-Clause"
] | 30 | 2020-09-03T06:02:38.000Z | 2022-03-11T16:34:18.000Z | nesi/devices/softbox/api/schemas/logport_schemas.py | inexio/NESi | 920b23ccaf293733b4b571e4df27929c036257f7 | [
"BSD-2-Clause"
] | 2 | 2021-01-15T10:33:23.000Z | 2021-02-21T21:04:37.000Z | nesi/devices/softbox/api/schemas/logport_schemas.py | inexio/NESi | 920b23ccaf293733b4b571e4df27929c036257f7 | [
"BSD-2-Clause"
] | 3 | 2020-12-19T09:11:19.000Z | 2022-02-07T22:15:34.000Z | # This file is part of the NESi software.
#
# Copyright (c) 2020
# Original Software Design by Ilya Etingof <https://github.com/etingof>.
#
# Software adapted by inexio <https://github.com/inexio>.
# - Janis Groß <https://github.com/unkn0wn-user>
# - Philip Konrath <https://github.com/Connyko65>
# - Alexander Dincher <... | 31.754717 | 112 | 0.619727 |
6daefe3ec9e5b2703e766b14726c8339f68927b3 | 348 | swift | Swift | ReCaptcha/Classes/Rx/SPM_exported.swift | GhostGroup/ReCaptcha | fd8dc565d4a580d989e8b141952fbbd3c1a8ff34 | [
"MIT"
] | 1 | 2021-08-08T14:47:51.000Z | 2021-08-08T14:47:51.000Z | ReCaptcha/Classes/Rx/SPM_exported.swift | GhostGroup/ReCaptcha | fd8dc565d4a580d989e8b141952fbbd3c1a8ff34 | [
"MIT"
] | null | null | null | ReCaptcha/Classes/Rx/SPM_exported.swift | GhostGroup/ReCaptcha | fd8dc565d4a580d989e8b141952fbbd3c1a8ff34 | [
"MIT"
] | 1 | 2021-11-08T19:43:43.000Z | 2021-11-08T19:43:43.000Z | //
// SPM_exported.swift
//
//
// Created by Jakub Mazur on 15/07/2021.
//
/*
Since Swift Package Manager have directory structure and folders cannot override
this module import is needed to use internal dependency in ReCaptcha+Rx.swift file.
This file should NOT be included in Cocoapods and Carthage build
*/
... | 19.333333 | 83 | 0.755747 |
06f8ac08667c65025f52bba5713b804a3c9e426e | 2,079 | py | Python | Gathered CTF writeups/ptr-yudai-writeups/2019/UTCTF_2019/Encryption_Service/solve.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | 1 | 2022-03-27T06:00:41.000Z | 2022-03-27T06:00:41.000Z | Gathered CTF writeups/ptr-yudai-writeups/2019/UTCTF_2019/Encryption_Service/solve.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | null | null | null | Gathered CTF writeups/ptr-yudai-writeups/2019/UTCTF_2019/Encryption_Service/solve.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | 1 | 2022-03-27T06:01:42.000Z | 2022-03-27T06:01:42.000Z | from ptrlib import *
def encrypt_message(mode, size, message):
sock.recvuntil(">")
sock.sendline("1")
sock.recvuntil(">")
sock.sendline(str(mode))
if 1 <= mode <= 2:
sock.recvuntil(">")
sock.sendline(str(size))
sock.recvuntil("message: ")
sock.sendline(message)
... | 24.174419 | 53 | 0.660414 |
1c12e6e221390583c383ab1cdd4564096898af22 | 526 | sql | SQL | javawork/shorturl/src/main/resources/shorturl_sql_init.sql | velnewang/undefined-f3 | 7e18b6214349aa72caee6e4bb52ee6455a4ecacf | [
"Apache-2.0"
] | null | null | null | javawork/shorturl/src/main/resources/shorturl_sql_init.sql | velnewang/undefined-f3 | 7e18b6214349aa72caee6e4bb52ee6455a4ecacf | [
"Apache-2.0"
] | null | null | null | javawork/shorturl/src/main/resources/shorturl_sql_init.sql | velnewang/undefined-f3 | 7e18b6214349aa72caee6e4bb52ee6455a4ecacf | [
"Apache-2.0"
] | null | null | null | -- create table
CREATE TABLE IF NOT EXISTS `shorturl`(
`id` BIGINT(1) UNSIGNED NOT NULL,
`url` VARCHAR(2048) NOT NULL,
`counts` INT(1) NOT NULL,
`create_time` TIMESTAMP(0) NOT NULL,
`last_time` TIMESTAMP(0) NOT NULL,
PRIMARY KEY ( `id` )
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- insert data
INSERT INTO `shorturl`
(id... | 30.941176 | 83 | 0.686312 |
ae2884c50e693ce07fc4d044d51ab1d9d87291c1 | 3,891 | cs | C# | Sources/EPiServer.Reference.Commerce.Site/Features/Cart/Controllers/CartController.cs | barrychampion/Quicksilver-Promotions | 3a684368724bdcf36659c76dbf7779d620f18e46 | [
"Apache-2.0"
] | 96 | 2015-05-06T13:46:51.000Z | 2022-01-18T09:57:59.000Z | Sources/EPiServer.Reference.Commerce.Site/Features/Cart/Controllers/CartController.cs | barrychampion/Quicksilver-Promotions | 3a684368724bdcf36659c76dbf7779d620f18e46 | [
"Apache-2.0"
] | 41 | 2015-05-24T10:35:16.000Z | 2021-08-17T14:39:40.000Z | Sources/EPiServer.Reference.Commerce.Site/Features/Cart/Controllers/CartController.cs | barrychampion/Quicksilver-Promotions | 3a684368724bdcf36659c76dbf7779d620f18e46 | [
"Apache-2.0"
] | 142 | 2015-05-07T17:37:58.000Z | 2022-03-25T15:37:51.000Z | using EPiServer.Commerce.Order;
using EPiServer.Reference.Commerce.Site.Features.Cart.Services;
using EPiServer.Reference.Commerce.Site.Features.Cart.ViewModelFactories;
using EPiServer.Reference.Commerce.Site.Features.Cart.ViewModels;
using EPiServer.Reference.Commerce.Site.Features.Recommendations.Services;
using EPi... | 36.707547 | 150 | 0.655616 |
0ef8d2be0121a5cde9c47ea2ed9a07d1579527ae | 511 | swift | Swift | Demo/SimpleCollectionViewCell.swift | jayway/TableViewCompatible | a5ae1c3696752bcb52df9d5e7d4ebfee2c69483f | [
"Apache-2.0"
] | 36 | 2017-02-23T08:25:10.000Z | 2022-03-29T07:38:45.000Z | Demo/SimpleCollectionViewCell.swift | jayway/TableViewCompatible | a5ae1c3696752bcb52df9d5e7d4ebfee2c69483f | [
"Apache-2.0"
] | 2 | 2017-11-10T04:02:45.000Z | 2018-08-23T09:30:13.000Z | Demo/SimpleCollectionViewCell.swift | jayway/TableViewCompatible | a5ae1c3696752bcb52df9d5e7d4ebfee2c69483f | [
"Apache-2.0"
] | 6 | 2017-05-27T13:04:56.000Z | 2020-05-01T16:23:42.000Z | //
// SimpleCollectionViewCell.swift
// TableViewCompatible
//
// Created by Fredrik Nannestad on 31/01/2017.
// Copyright © 2017 Fredrik Nannestad. All rights reserved.
//
import UIKit
import CollectionAndTableViewCompatible
class SimpleCollectionViewCell: UICollectionViewCell, Configurable {
@IBOutlet ... | 22.217391 | 68 | 0.714286 |
3863c915f4e8d92ff0e449d44dd0856260ce3851 | 1,428 | php | PHP | resources/views/downloadpage40.blade.php | GrayChu/PlayExceller | ac6d5560f16b6e32f4fdb4f4e52c70c535b87fc3 | [
"MIT"
] | null | null | null | resources/views/downloadpage40.blade.php | GrayChu/PlayExceller | ac6d5560f16b6e32f4fdb4f4e52c70c535b87fc3 | [
"MIT"
] | null | null | null | resources/views/downloadpage40.blade.php | GrayChu/PlayExceller | ac6d5560f16b6e32f4fdb4f4e52c70c535b87fc3 | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('content')
<div class="container container-fruid">
<div class="form-group page-header">
<h2>
<label class="control-label">Download</label>
</h2>
</div>
<div class="row">
<div class="col-md-4 mb-3">
<label>Requirement1</label>
<button onclick="wi... | 31.043478 | 106 | 0.607143 |
cc722ae4bb7310f4a0dfad34eb80a8c69b884ff9 | 1,923 | rb | Ruby | spec/ver/undo/record_sanitize.rb | manveru/ver | e3d6d18264686a7321be393435176368e08c9cf0 | [
"MIT"
] | 12 | 2015-01-08T10:59:21.000Z | 2021-07-02T16:59:54.000Z | spec/ver/undo/record_sanitize.rb | manveru/ver | e3d6d18264686a7321be393435176368e08c9cf0 | [
"MIT"
] | 2 | 2016-03-31T03:18:37.000Z | 2017-09-18T21:53:04.000Z | spec/ver/undo/record_sanitize.rb | manveru/ver | e3d6d18264686a7321be393435176368e08c9cf0 | [
"MIT"
] | null | null | null | require_relative '../../../lib/ver/undo'
require 'ffi-tk'
class Text < Tk::Text
class Index < Struct.new(:text, :position)
include Comparable
def <=>(other)
if text.compare(position, '>', other.position)
1
elsif text.compare(position, '<', other.position)
-1
elsif text... | 22.360465 | 73 | 0.599584 |
a3d6d649b9f5649b9a0915c5483bb2462cea7749 | 1,111 | java | Java | java/Atividades/04 - Vetor/src/vetor/exe01ordemInversa.java | Ebony-Full-Stack/Bloco_1 | 06bfbd3d85192b5582c6edda2882810ac2e1e59f | [
"Apache-2.0"
] | 1 | 2021-12-29T01:44:21.000Z | 2021-12-29T01:44:21.000Z | java/Atividades/04 - Vetor/src/vetor/exe01ordemInversa.java | Ebony-Generation/Bloco_1 | 06bfbd3d85192b5582c6edda2882810ac2e1e59f | [
"Apache-2.0"
] | null | null | null | java/Atividades/04 - Vetor/src/vetor/exe01ordemInversa.java | Ebony-Generation/Bloco_1 | 06bfbd3d85192b5582c6edda2882810ac2e1e59f | [
"Apache-2.0"
] | null | null | null | package vetor;
import java.util.Scanner;
/*
Faça um Programa com um vetor de 5 números reais
e mostre-os na ordem inversa.
Autor Leonardo Alves
*/
public class exe01ordemInversa {
public static void main(String[] args) {
try (Scanner ler = new Scanner (System.in)) {
double[] vetor = new double[5];
int cont... | 23.638298 | 62 | 0.578758 |
ccce0647df63c7121dbf446040b68256890a65ee | 3,102 | rb | Ruby | app/controllers/spree/checkout_controller_decorator.rb | przekogo/spree_przelewy24_integration | 9222e4d05ae458092d7fe36e2f2c97e930dbbc65 | [
"MIT"
] | null | null | null | app/controllers/spree/checkout_controller_decorator.rb | przekogo/spree_przelewy24_integration | 9222e4d05ae458092d7fe36e2f2c97e930dbbc65 | [
"MIT"
] | 8 | 2020-06-24T18:43:16.000Z | 2022-03-08T21:42:23.000Z | app/controllers/spree/checkout_controller_decorator.rb | przekogo/spree_przelewy24_integration | 9222e4d05ae458092d7fe36e2f2c97e930dbbc65 | [
"MIT"
] | null | null | null | module Spree
module CheckoutControllerDecorator
def self.prepended(base)
base.before_action :pay_with_przelewy24, only: :update
end
private
def pay_with_przelewy24
begin
return unless params[:state] == 'payment'
return if params[:order].blank? || params[:order][:payme... | 48.46875 | 222 | 0.706963 |
6ddcfd0812abb0d60f50fd0b3a54d4b60ec2617a | 1,076 | ts | TypeScript | features/interfaces.ts | stacyburris/typescript-guide | 6683d4fc4560303ea32c48609d1025200ac5d881 | [
"MIT"
] | null | null | null | features/interfaces.ts | stacyburris/typescript-guide | 6683d4fc4560303ea32c48609d1025200ac5d881 | [
"MIT"
] | null | null | null | features/interfaces.ts | stacyburris/typescript-guide | 6683d4fc4560303ea32c48609d1025200ac5d881 | [
"MIT"
] | null | null | null | const oldCivic = {
name: 'civic',
year: 2000,
broken: true
};
const printVehicle = (vehicle: { name: string; year: number; broken: boolean }): void => { // void equals function returns nothing
console.log(`Name: ${vehicle.name}`);
console.log(`Year: ${vehicle.year}`);
console.log(`Broken? ${vehicle.broken}... | 21.098039 | 130 | 0.6329 |
0d5db206d885a0cda54b29e2b50b61523b5b7034 | 3,326 | h | C | include/GafferScene/Private/IECoreGLPreview/AttributeVisualiser.h | ddesmond/gaffer | 4f25df88103b7893df75865ea919fb035f92bac0 | [
"BSD-3-Clause"
] | 561 | 2016-10-18T04:30:48.000Z | 2022-03-30T06:52:04.000Z | include/GafferScene/Private/IECoreGLPreview/AttributeVisualiser.h | ddesmond/gaffer | 4f25df88103b7893df75865ea919fb035f92bac0 | [
"BSD-3-Clause"
] | 1,828 | 2016-10-14T19:01:46.000Z | 2022-03-30T16:07:19.000Z | include/GafferScene/Private/IECoreGLPreview/AttributeVisualiser.h | ddesmond/gaffer | 4f25df88103b7893df75865ea919fb035f92bac0 | [
"BSD-3-Clause"
] | 120 | 2016-10-18T15:19:13.000Z | 2021-12-20T16:28:23.000Z | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2015, Image Engine. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributi... | 33.59596 | 78 | 0.720385 |
e4035c1c615363b41884972a075eb3cc20b06c3c | 1,426 | cs | C# | NVIDIA.PhysX/Wrapper/PxOverlapHit.cs | zjhlogo/UnityPhysXPlugin | 0a84c892f87a5dedad7a07f8de09580ea4fa8354 | [
"BSD-3-Clause"
] | 62 | 2021-06-15T15:55:21.000Z | 2022-03-26T03:45:18.000Z | NVIDIA.PhysX/Wrapper/PxOverlapHit.cs | zjhlogo/UnityPhysXPlugin | 0a84c892f87a5dedad7a07f8de09580ea4fa8354 | [
"BSD-3-Clause"
] | 3 | 2021-06-18T09:20:09.000Z | 2022-03-26T02:02:03.000Z | NVIDIA.PhysX/Wrapper/PxOverlapHit.cs | zjhlogo/UnityPhysXPlugin | 0a84c892f87a5dedad7a07f8de09580ea4fa8354 | [
"BSD-3-Clause"
] | 15 | 2021-06-17T15:25:56.000Z | 2022-03-27T00:16:55.000Z | //------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.2
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//-----... | 34.780488 | 134 | 0.626227 |
ddaa3855b50d25aabed5bab6e5b0491513e090bf | 5,950 | java | Java | LearningEnhancementSystem/src/java/Database/EvaluationDb.java | vegardalvsaker/BrukerfeilLES | 7efcf44b422752d2ce5d24a691130a8c82a90f32 | [
"MIT"
] | null | null | null | LearningEnhancementSystem/src/java/Database/EvaluationDb.java | vegardalvsaker/BrukerfeilLES | 7efcf44b422752d2ce5d24a691130a8c82a90f32 | [
"MIT"
] | 11 | 2018-08-30T19:40:16.000Z | 2018-11-19T22:07:04.000Z | LearningEnhancementSystem/src/java/Database/EvaluationDb.java | vegardalvsaker/BrukerfeilLES | 7efcf44b422752d2ce5d24a691130a8c82a90f32 | [
"MIT"
] | 3 | 2019-10-08T19:36:16.000Z | 2021-01-18T13:26:01.000Z | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Database;
import java.sql.*;
import Classes.Evaluation;
import Classes.Score;
/**
*
* @author Vegard
*/
public class Evalua... | 35.416667 | 172 | 0.556471 |
91505d32d934ddb528e8fc019e04fdb399aa2753 | 147 | sql | SQL | Exams/Databases MSSQL Server Exam - 20 Oct 2019/06. Reports & Categories.sql | drapperr/Databases-Basics---MS-SQL-Server | e36c3c88d03bdd0a203e33d43e0c24c4bf83f108 | [
"MIT"
] | null | null | null | Exams/Databases MSSQL Server Exam - 20 Oct 2019/06. Reports & Categories.sql | drapperr/Databases-Basics---MS-SQL-Server | e36c3c88d03bdd0a203e33d43e0c24c4bf83f108 | [
"MIT"
] | null | null | null | Exams/Databases MSSQL Server Exam - 20 Oct 2019/06. Reports & Categories.sql | drapperr/Databases-Basics---MS-SQL-Server | e36c3c88d03bdd0a203e33d43e0c24c4bf83f108 | [
"MIT"
] | null | null | null | SELECT [Description], C.[Name] AS [CategoryName] FROM Reports AS R
JOIN Categories AS C ON C.Id = R.CategoryId
ORDER BY [Description], CategoryName | 49 | 66 | 0.768707 |
0265073d7d027ddf6b110e4b666d7335b05f929b | 106 | lua | Lua | InGameAvatarEditor/src/ServerScriptService/AvatarEditorInGameSetup/AvatarEditorInGame/Modules/Packages/Localization/LocalizationKey.lua | MirayXS/avatar | 7c78513fbe9587915700a0a5fd3c15d5f23596d2 | [
"RSA-MD"
] | 41 | 2021-04-30T18:27:45.000Z | 2022-03-23T21:12:57.000Z | InGameAvatarEditor/src/ServerScriptService/AvatarEditorInGameSetup/AvatarEditorInGame/Modules/Packages/Localization/LocalizationKey.lua | MirayXS/avatar | 7c78513fbe9587915700a0a5fd3c15d5f23596d2 | [
"RSA-MD"
] | 3 | 2021-08-24T20:07:47.000Z | 2022-02-15T19:40:13.000Z | InGameAvatarEditor/src/ServerScriptService/AvatarEditorInGameSetup/AvatarEditorInGame/Modules/Packages/Localization/LocalizationKey.lua | MirayXS/avatar | 7c78513fbe9587915700a0a5fd3c15d5f23596d2 | [
"RSA-MD"
] | 25 | 2021-05-02T14:33:04.000Z | 2022-03-17T20:28:07.000Z | local Root = script.Parent.Parent
local Symbol = require(Root.Symbol)
return Symbol.named("Localization") | 26.5 | 35 | 0.792453 |
0a86cf1886b485613463393b9a9b31312fc5e321 | 9,019 | cs | C# | AutoStop/AutoStopSettings.cs | ghotm/HearthbuddyPlugins | f5f03256197db9ccb0113610c55c34a820bf4fd3 | [
"MIT"
] | 2 | 2020-06-16T03:07:32.000Z | 2020-07-06T04:39:21.000Z | AutoStop/AutoStopSettings.cs | ghotm/HearthbuddyPlugins | f5f03256197db9ccb0113610c55c34a820bf4fd3 | [
"MIT"
] | null | null | null | AutoStop/AutoStopSettings.cs | ghotm/HearthbuddyPlugins | f5f03256197db9ccb0113610c55c34a820bf4fd3 | [
"MIT"
] | 2 | 2020-05-21T03:37:26.000Z | 2020-07-11T09:14:59.000Z | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using log4net;
using Newtonsoft.Json;
using Triton.Bot.Logic.Bots.DefaultBot;
using Triton.Bot.Settings;
using Triton.Common;
using Triton.Game;
using Triton.Game.Mapping;
using Triton.Game.Mono;
using Logger = Triton.... | 29.473856 | 128 | 0.475995 |
8ecefaab926f7ad8b6a73799d32d40a1d1aed8ac | 1,077 | js | JavaScript | egg-upload-file/app/public/js/main.js | wuzhengyan2015/egg-common-example | 8b7afbce0cfed0c9fc27e885ae83760b18147e07 | [
"MIT"
] | null | null | null | egg-upload-file/app/public/js/main.js | wuzhengyan2015/egg-common-example | 8b7afbce0cfed0c9fc27e885ae83760b18147e07 | [
"MIT"
] | null | null | null | egg-upload-file/app/public/js/main.js | wuzhengyan2015/egg-common-example | 8b7afbce0cfed0c9fc27e885ae83760b18147e07 | [
"MIT"
] | null | null | null | 'use strict';
const form = document.querySelector('.ajax-form');
form.addEventListener('submit', e => {
e.preventDefault();
const formData = new FormData();
formData.append('file', form.elements.file.files[0]);
const _csrf = form.elements._csrf.value;
// fetch(`/upload?_csrf=${_csrf}`, {
// method: 'POS... | 24.477273 | 59 | 0.612813 |
d1f1ebef8f1ef586625db1ec19820a8ee2264134 | 69 | sql | SQL | db/schema.sql | Chris-Franklin-1701/CAN-Do-Translations | d8d00ed8876e7b14805f0440547762a4400ff5c3 | [
"MIT"
] | null | null | null | db/schema.sql | Chris-Franklin-1701/CAN-Do-Translations | d8d00ed8876e7b14805f0440547762a4400ff5c3 | [
"MIT"
] | 2 | 2021-11-09T16:49:09.000Z | 2021-11-12T02:13:01.000Z | db/schema.sql | Chris-Franklin-1701/CAN-Do-Translations | d8d00ed8876e7b14805f0440547762a4400ff5c3 | [
"MIT"
] | 1 | 2021-11-10T23:11:20.000Z | 2021-11-10T23:11:20.000Z | DROP DATABASE IF EXISTS translator_db;
CREATE DATABASE translator_db; | 34.5 | 38 | 0.869565 |
d302fe811a4bf04d29552f8962316ca60284458a | 469 | cs | C# | MasterDetailsDataEntry.Demo.Database/Model/Client.cs | euklad/MasterDetailsDataEntry | 27643313bbf9758f1dccf41bf5c99648609f4c26 | [
"MIT"
] | 22 | 2020-10-25T18:52:41.000Z | 2021-11-25T09:27:31.000Z | MasterDetailsDataEntry.Demo.Database/Model/Client.cs | evolvencemsm/MasterDetailsDataEntry | 5d2420f4f98965446f486833105ae851623022bc | [
"MIT"
] | 84 | 2020-10-24T07:22:22.000Z | 2021-11-06T04:04:29.000Z | MasterDetailsDataEntry.Demo.Database/Model/Client.cs | euklad/MasterDetailsDataEntry | 27643313bbf9758f1dccf41bf5c99648609f4c26 | [
"MIT"
] | 8 | 2021-01-04T16:05:07.000Z | 2021-12-09T02:25:43.000Z | using System;
using System.Collections.Generic;
namespace MasterDetailsDataEntry.Demo.Database.Model
{
public partial class Client
{
public Client()
{
Order = new HashSet<Order>();
}
public int Id { get; set; }
public string FirstName { get; set; }
... | 22.333333 | 61 | 0.588486 |
f8a688aff91e252eb668f8518c44fa0464bf13dd | 804 | c | C | pyhand/kinematics/hind_arm_middle_inter_bend_3.c | jsupancic/libhand-public | da9b92fa5440d06fdd4ba72c2327c50c88a1d469 | [
"CC-BY-3.0"
] | 19 | 2015-11-28T03:49:10.000Z | 2021-04-12T13:19:26.000Z | pyhand/kinematics/hind_arm_middle_inter_bend_3.c | jsupancic/libhand-public | da9b92fa5440d06fdd4ba72c2327c50c88a1d469 | [
"CC-BY-3.0"
] | 4 | 2015-12-24T08:53:10.000Z | 2017-11-08T10:58:16.000Z | pyhand/kinematics/hind_arm_middle_inter_bend_3.c | jsupancic/libhand-public | da9b92fa5440d06fdd4ba72c2327c50c88a1d469 | [
"CC-BY-3.0"
] | 7 | 2015-12-16T05:27:22.000Z | 2020-08-24T07:59:29.000Z | /******************************************************************************
* Code generated with sympy 0.7.6 *
* *
* See http://www.sympy.org/ for more information. *
... | 44.666667 | 80 | 0.353234 |
74bb8f99e1cea352ef9f39ff7de8fa6af00959b5 | 4,775 | css | CSS | src/assets/css/Animations.css | TitoGrine/Ascoldata | 31aabd3c9da0d2977049ffca998aa7e2afa921b7 | [
"MIT"
] | 13 | 2020-09-22T14:07:57.000Z | 2021-11-04T15:48:58.000Z | src/assets/css/Animations.css | TitoGrine/Ascoldata | 31aabd3c9da0d2977049ffca998aa7e2afa921b7 | [
"MIT"
] | 1 | 2020-09-16T19:23:31.000Z | 2020-09-25T18:48:38.000Z | src/assets/css/Animations.css | TitoGrine/Ascoldata | 31aabd3c9da0d2977049ffca998aa7e2afa921b7 | [
"MIT"
] | null | null | null | /* Animations */
.slide-in-right {
-webkit-animation: slide-in-right 1s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
animation: slide-in-right 1s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
}
.heartbeat {
-webkit-animation: heartbeat 2s cubic-bezier(0.550, 0.085, 0.680, 0.530) infinite both;
animation: heart... | 19.895833 | 88 | 0.639581 |
ecb109f1d93476e3b10b1ac0bcdaac2dc1276997 | 10,251 | swift | Swift | YooKassaPayments/Private/Modules/Sberbank/Presenter/SberbankPresenter.swift | instasergio/yookassa-payments-swift | 31c4e52c2c1b0fd87c239d7ece70a05b74641ac3 | [
"MIT"
] | 14 | 2020-12-17T14:38:16.000Z | 2022-02-18T11:01:50.000Z | YooKassaPayments/Private/Modules/Sberbank/Presenter/SberbankPresenter.swift | instasergio/yookassa-payments-swift | 31c4e52c2c1b0fd87c239d7ece70a05b74641ac3 | [
"MIT"
] | 54 | 2020-12-09T14:52:15.000Z | 2022-03-30T08:16:36.000Z | YooKassaPayments/Private/Modules/Sberbank/Presenter/SberbankPresenter.swift | instasergio/yookassa-payments-swift | 31c4e52c2c1b0fd87c239d7ece70a05b74641ac3 | [
"MIT"
] | 16 | 2021-01-26T09:28:31.000Z | 2022-01-25T01:08:48.000Z | import UIKit
final class SberbankPresenter {
// MARK: - VIPER
weak var moduleOutput: SberbankModuleOutput?
weak var view: SberbankViewInput?
var interactor: SberbankInteractorInput!
var router: SberbankRouterInput!
// MARK: - Module inputs
weak var phoneNumberModuleInput: PhoneNumberInp... | 33.831683 | 108 | 0.648034 |
5808ac4930c51fd090863ec14636e03d78d723c4 | 495 | css | CSS | web/src/styles/pages/confirm.css | marceloambarc/ProjectHabil | d3e36b7db0825bd0422a6c7cea17e3a443ea7cd3 | [
"RSA-MD"
] | null | null | null | web/src/styles/pages/confirm.css | marceloambarc/ProjectHabil | d3e36b7db0825bd0422a6c7cea17e3a443ea7cd3 | [
"RSA-MD"
] | null | null | null | web/src/styles/pages/confirm.css | marceloambarc/ProjectHabil | d3e36b7db0825bd0422a6c7cea17e3a443ea7cd3 | [
"RSA-MD"
] | null | null | null | #confirm-container {
width: 100vw;
max-width: 100%;
background: linear-gradient(329.54deg, #ffff 0%, #ffff 100%);
display: flex;
justify-content: center;
align-items: center;
overflow-y: scroll;
overflow-x: hidden;
padding-top: 10%;
padding-bottom: 10%;
}
#page-landing .content... | 20.625 | 65 | 0.626263 |
12e92102a8f0536d819269347c59eb2197408be6 | 176 | cs | C# | BooLangCompiler/Boo/Lang/Compiler/TypeSystem/Reflection/IAssemblyReference.cs | Spoiledpay/Newboo | bab26f1977d8396f8758eb3cbc4bcf17d6f64203 | [
"MIT"
] | 3 | 2021-08-23T13:21:55.000Z | 2021-11-30T10:34:43.000Z | BooLangCompiler/Boo/Lang/Compiler/TypeSystem/Reflection/IAssemblyReference.cs | Spoiledpay/Newboo | bab26f1977d8396f8758eb3cbc4bcf17d6f64203 | [
"MIT"
] | null | null | null | BooLangCompiler/Boo/Lang/Compiler/TypeSystem/Reflection/IAssemblyReference.cs | Spoiledpay/Newboo | bab26f1977d8396f8758eb3cbc4bcf17d6f64203 | [
"MIT"
] | null | null | null | using System.Reflection;
namespace Boo.Lang.Compiler.TypeSystem.Reflection
{
public interface IAssemblyReference : ICompileUnit, IEntity
{
Assembly Assembly { get; }
}
}
| 17.6 | 60 | 0.772727 |
25a2b0e716fa13443537a143a5ca2fd85b2e94fb | 2,565 | js | JavaScript | SayonaraAdmin/app/scripts/services/adminnotify.js | torch2424/SayonaraJS | 287dd67725cdeca6ce2adbb9a00f6acc7701f4ed | [
"Apache-2.0"
] | 3 | 2017-04-28T00:13:45.000Z | 2019-12-09T04:39:59.000Z | SayonaraAdmin/app/scripts/services/adminnotify.js | torch2424/SayonaraJS | 287dd67725cdeca6ce2adbb9a00f6acc7701f4ed | [
"Apache-2.0"
] | 27 | 2016-10-26T00:48:35.000Z | 2016-12-27T08:16:55.000Z | SayonaraAdmin/app/scripts/services/adminnotify.js | SayonaraJS/SayonaraJS | 287dd67725cdeca6ce2adbb9a00f6acc7701f4ed | [
"Apache-2.0"
] | null | null | null | 'use strict';
angular.module('sayonaraAdminApp')
.service('adminNotify', function($mdToast, $location, sayonaraAuthService) {
//Function to show notifications to the user
var showAlert = function(text, callback) {
//Show the alert in a toast
$mdToast.show(
$mdToast.simple()
.textContent(text)
... | 27.880435 | 153 | 0.639376 |
3147fa37963fd7f029b9de83d655c7e03b61c69f | 246 | rs | Rust | mempool/src/tests/common.rs | novifinancial/research | cc2ec64d8028f2540e70ca9f9e7891c4ba72113f | [
"Apache-2.0",
"CC-BY-4.0"
] | 33 | 2019-09-26T23:11:17.000Z | 2020-05-20T03:46:28.000Z | mempool/src/tests/common.rs | novifinancial/research | cc2ec64d8028f2540e70ca9f9e7891c4ba72113f | [
"Apache-2.0",
"CC-BY-4.0"
] | 5 | 2021-05-19T04:23:18.000Z | 2021-07-14T15:13:55.000Z | mempool/src/tests/common.rs | novifinancial/research | cc2ec64d8028f2540e70ca9f9e7891c4ba72113f | [
"Apache-2.0",
"CC-BY-4.0"
] | 6 | 2020-10-16T15:33:31.000Z | 2021-08-19T23:32:16.000Z | // Copyright (c) Facebook, Inc. and its affiliates.
use crate::batch_maker::{Batch, Transaction};
// Fixture
pub fn transaction() -> Transaction {
vec![0; 100]
}
// Fixture
pub fn batch() -> Batch {
vec![transaction(), transaction()]
}
| 18.923077 | 51 | 0.650407 |
032066bb6e14e080cec06252a9d45fd6f9ce66dc | 2,383 | rb | Ruby | config/routes.rb | edgeryders/annotator_store-gem | 983a49812a9707bc014b6f6d21f4e6ec39f560d2 | [
"MIT"
] | 3 | 2019-06-28T21:32:49.000Z | 2020-05-31T16:35:53.000Z | config/routes.rb | edgeryders/annotator_store-gem | 983a49812a9707bc014b6f6d21f4e6ec39f560d2 | [
"MIT"
] | 216 | 2019-09-04T14:44:08.000Z | 2021-12-15T22:01:37.000Z | config/routes.rb | edgeryders/annotator_store-gem | 983a49812a9707bc014b6f6d21f4e6ec39f560d2 | [
"MIT"
] | null | null | null | require_dependency "annotator_constraint"
Rails.application.routes.draw do
get '/annotator/codes', to: 'annotator/annotator_store/tags#index', format: :json,
constraints: lambda { |req| AnnotatorStore::Setting.instance.public_codes_list_api_endpoint? }
namespace :annotator, constraints: AnnotatorConstra... | 41.086207 | 146 | 0.644146 |
79362a057e2dc8de3fc3ca75fe3379e7164bf3ca | 2,681 | rb | Ruby | app/models/address.rb | fpsvogel/doctorlookup | 63afacf595fda828a8838bf5d9161450f6c3ef08 | [
"PostgreSQL",
"Ruby",
"MIT"
] | null | null | null | app/models/address.rb | fpsvogel/doctorlookup | 63afacf595fda828a8838bf5d9161450f6c3ef08 | [
"PostgreSQL",
"Ruby",
"MIT"
] | null | null | null | app/models/address.rb | fpsvogel/doctorlookup | 63afacf595fda828a8838bf5d9161450f6c3ef08 | [
"PostgreSQL",
"Ruby",
"MIT"
] | null | null | null | # Stores an address taken from an API response.
class Address
include ActiveModel::Model
include ActiveModel::Attributes
include StringAttributes
add_string_attributes(
required: [:line_1,
:city,
:state],
optional: [:line_2])
define_titleizing_setters([:line_1, :line_2, ... | 36.726027 | 94 | 0.695636 |
565c48c6de1d7a171a892b54b0bdf88de0a661c1 | 2,382 | sh | Shell | prepare.sh | ginkgo-project/gitlab-hpc-ci-cb | 2ddd609ffa7244ce84bfde22a4cfbf1e702fb2e9 | [
"BSD-3-Clause"
] | 7 | 2021-11-02T10:56:08.000Z | 2022-03-28T14:39:23.000Z | prepare.sh | ginkgo-project/gitlab-hpc-ci-cb | 2ddd609ffa7244ce84bfde22a4cfbf1e702fb2e9 | [
"BSD-3-Clause"
] | 7 | 2021-10-30T11:28:39.000Z | 2021-12-08T12:31:15.000Z | prepare.sh | ginkgo-project/gitlab-hpc-ci-cb | 2ddd609ffa7244ce84bfde22a4cfbf1e702fb2e9 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/bash
# https://docs.gitlab.com/runner/executors/custom.html#prepare
# shellcheck source=./include.sh
source "${BASH_SOURCE[0]%/*}/include.sh"
ensure_executable_available enroot
ensure_executable_available flock
ensure_executable_available grep
# Create CI WorkSpace paths if they don't exist
if [[ ! -d "... | 30.151899 | 87 | 0.625945 |