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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5ff815177c0837e379628551f1c2000289956020 | 1,028 | asm | Assembly | ASM/src/link_anim.asm | Triaphlax/OoT-Randomizer | d6755f8e4b1c6b5d5612e583f8f91fa303f1669b | [
"MIT"
] | 344 | 2018-07-07T07:36:26.000Z | 2022-03-27T22:48:10.000Z | ASM/src/link_anim.asm | Triaphlax/OoT-Randomizer | d6755f8e4b1c6b5d5612e583f8f91fa303f1669b | [
"MIT"
] | 1,076 | 2018-07-09T04:01:39.000Z | 2022-03-31T17:18:22.000Z | ASM/src/link_anim.asm | Triaphlax/OoT-Randomizer | d6755f8e4b1c6b5d5612e583f8f91fa303f1669b | [
"MIT"
] | 320 | 2018-07-02T01:19:41.000Z | 2022-03-25T01:28:30.000Z | override_changelinkanimdefaultstop:
addiu sp, sp, -0x28
sw ra, 0x0024(sp)
sw a0, 0x0028(sp)
sw a1, 0x002C(sp)
sw a2, 0x0030(sp)
jal 0x8008A194 ;SkelAnime_GetFrameCount
lw a0, 0x0030(sp)
mtc1 v... | 32.125 | 82 | 0.442607 |
8c17475acd62d08b2a86a9fc9cd9023eada76373 | 232 | swift | Swift | Connect4/Connect4/Connect4App.swift | markpc17/connect4-swiftui-mac | 1f67426644a08a1bfaebc09358b2e5c10de58444 | [
"MIT"
] | null | null | null | Connect4/Connect4/Connect4App.swift | markpc17/connect4-swiftui-mac | 1f67426644a08a1bfaebc09358b2e5c10de58444 | [
"MIT"
] | null | null | null | Connect4/Connect4/Connect4App.swift | markpc17/connect4-swiftui-mac | 1f67426644a08a1bfaebc09358b2e5c10de58444 | [
"MIT"
] | null | null | null | //
// Connect4App.swift
// Connect4
//
// Created by Mark Carruthers on 05/04/2021.
//
import SwiftUI
@main
struct Connect4App: App {
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
| 12.888889 | 45 | 0.568966 |
5d63262becca760d28efa30038147faed57303f6 | 992 | sql | SQL | sql/create/companies.sql | nassan/Newbidder | 6d3530d95fd8080f41882f016125bde19814e1b5 | [
"Apache-2.0"
] | 9 | 2020-12-24T18:26:51.000Z | 2022-01-02T22:01:52.000Z | sql/create/companies.sql | nassan/Newbidder | 6d3530d95fd8080f41882f016125bde19814e1b5 | [
"Apache-2.0"
] | 5 | 2021-01-06T22:03:05.000Z | 2021-01-06T22:03:07.000Z | sql/create/companies.sql | nassan/Newbidder | 6d3530d95fd8080f41882f016125bde19814e1b5 | [
"Apache-2.0"
] | 21 | 2020-12-24T21:37:44.000Z | 2022-02-16T06:46:36.000Z | CREATE TABLE IF NOT EXISTS companies (
id serial,
customer_id text NOT NULL,
customer_name text NOT NULL,
email text NOT NULL,
telephone text NOT NULL,
firstname text NOT NULL,
lastname text NOT NULL,
address text NOT NULL,
citystate text NOT NULL,
country text NOT NULL,
postalcode text NOT NULL,
... | 43.130435 | 154 | 0.714718 |
fc0bf3ca6086261236ffd1fa6a9fb85df717a841 | 816 | lua | Lua | ConsolePortKeyboard/Core/Update.lua | waldnercharles/ConsolePort | f685151cfa1dfeeab338a9c4ffa7e4fb440c935b | [
"Artistic-2.0"
] | null | null | null | ConsolePortKeyboard/Core/Update.lua | waldnercharles/ConsolePort | f685151cfa1dfeeab338a9c4ffa7e4fb440c935b | [
"Artistic-2.0"
] | null | null | null | ConsolePortKeyboard/Core/Update.lua | waldnercharles/ConsolePort | f685151cfa1dfeeab338a9c4ffa7e4fb440c935b | [
"Artistic-2.0"
] | null | null | null | ---------------------------------------------------------------
-- Update handler to grab the current keyboard focus
---------------------------------------------------------------
local Keyboard = ConsolePortKeyboard
local GetFocus = GetCurrentKeyBoardFocus
local isEnabled = true
local focus
local function UpdateKeyb... | 27.2 | 77 | 0.667892 |
fb9559a6f5d92ad12bbc76d92cffbdf12810a8d3 | 6,719 | java | Java | src/main/java/com/alicloud/openservices/tablestore/model/filter/SingleColumnValueFilter.java | aliyun/aliyun-tablestore-java-sdk | ed2568f2b53af016e328eb4f4c6b6823d8dc9f2b | [
"Apache-2.0"
] | 50 | 2016-05-20T11:23:14.000Z | 2021-11-02T07:04:45.000Z | src/main/java/com/alicloud/openservices/tablestore/model/filter/SingleColumnValueFilter.java | aliyun/aliyun-tablestore-java-sdk | ed2568f2b53af016e328eb4f4c6b6823d8dc9f2b | [
"Apache-2.0"
] | 24 | 2016-06-04T05:41:58.000Z | 2022-03-22T12:03:27.000Z | src/main/java/com/alicloud/openservices/tablestore/model/filter/SingleColumnValueFilter.java | aliyun/aliyun-tablestore-java-sdk | ed2568f2b53af016e328eb4f4c6b6823d8dc9f2b | [
"Apache-2.0"
] | 21 | 2016-06-23T05:56:54.000Z | 2022-02-27T03:25:06.000Z | package com.alicloud.openservices.tablestore.model.filter;
import com.alicloud.openservices.tablestore.ClientException;
import com.alicloud.openservices.tablestore.model.ColumnValue;
import com.alicloud.openservices.tablestore.core.protocol.OTSProtocolBuilder;
import com.alicloud.openservices.tablestore.core.utils.Pre... | 33.595 | 136 | 0.689091 |
a28d1eebc9e30db6ecbb7586380fdefbb5f09878 | 8,708 | swift | Swift | PennMobile/Auth/TOTPFetcher.swift | pennlabs/penn-mobile-ios | e0a18c86826b73f1e4668c78ed1f923ece7a5bb4 | [
"MIT"
] | 35 | 2015-09-10T12:28:09.000Z | 2021-04-08T00:30:15.000Z | PennMobile/Auth/TOTPFetcher.swift | pennlabs/penn-mobile-ios | e0a18c86826b73f1e4668c78ed1f923ece7a5bb4 | [
"MIT"
] | 167 | 2015-09-11T21:28:51.000Z | 2022-02-13T21:57:42.000Z | PennMobile/Auth/TOTPFetcher.swift | pennlabs/penn-mobile-ios | e0a18c86826b73f1e4668c78ed1f923ece7a5bb4 | [
"MIT"
] | 5 | 2018-07-09T04:30:13.000Z | 2020-10-23T23:28:35.000Z | //
// TOTPFetcher.swift
// PennMobile
//
// Created by Josh Doman on 10/5/19.
// Copyright © 2019 PennLabs. All rights reserved.
//
import Foundation
//import WKZombie
import WebKit
class TOTPFetcher: NSObject {
static let instance = TOTPFetcher()
public var isFetching = false
private override in... | 41.865385 | 132 | 0.481167 |
41cf71c161c1a1911b3362c0e9910ef502cc9f56 | 1,039 | h | C | Headers/Frameworks/Flexo/FFColorSelectionOSCDelegate-Protocol.h | CommandPost/FinalCutProFrameworks | d98b00ff0c84af80942d71514e9238d624aca50a | [
"MIT"
] | 3 | 2020-11-19T10:04:02.000Z | 2021-10-02T17:25:21.000Z | Headers/Frameworks/Flexo/FFColorSelectionOSCDelegate-Protocol.h | CommandPost/FinalCutProFrameworks | d98b00ff0c84af80942d71514e9238d624aca50a | [
"MIT"
] | null | null | null | Headers/Frameworks/Flexo/FFColorSelectionOSCDelegate-Protocol.h | CommandPost/FinalCutProFrameworks | d98b00ff0c84af80942d71514e9238d624aca50a | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 11 2021 20:53:35).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <Flexo/NSObject-Protocol.h>
@class FFColorSelectionOSC, FFEffect, FFEffectStack;
@protocol FFColorSelectionOSCDelegate <NSObject>
- (FFEffect *)effect;
- (long long)ef... | 41.56 | 189 | 0.795958 |
dd6aca665a8d70d5beea8f0643ebd211ff53950d | 354 | php | PHP | app/Claims.php | webexpert786/creditooLaravel | 3eebce980b3381991d9913ed5d6442a2027f681f | [
"MIT"
] | null | null | null | app/Claims.php | webexpert786/creditooLaravel | 3eebce980b3381991d9913ed5d6442a2027f681f | [
"MIT"
] | null | null | null | app/Claims.php | webexpert786/creditooLaravel | 3eebce980b3381991d9913ed5d6442a2027f681f | [
"MIT"
] | null | null | null | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Claims extends Model
{
protected $table = 'claims';
protected $primaryKey = 'id';
protected $fillable = [
'id','company_id', 'status', 'paid_status'
];
public function companyClaim()
{
return $this->hasO... | 14.16 | 51 | 0.612994 |
8d6d070a83825f359fb05470a49be4ed92d74809 | 531 | kt | Kotlin | api/src/main/kotlin/command/Commands.kt | jangalinski/axon-giftcard-samples | 1111f88fb9a286cd442382fd319765065003cd0c | [
"BSD-3-Clause"
] | null | null | null | api/src/main/kotlin/command/Commands.kt | jangalinski/axon-giftcard-samples | 1111f88fb9a286cd442382fd319765065003cd0c | [
"BSD-3-Clause"
] | null | null | null | api/src/main/kotlin/command/Commands.kt | jangalinski/axon-giftcard-samples | 1111f88fb9a286cd442382fd319765065003cd0c | [
"BSD-3-Clause"
] | null | null | null | package io.github.jangalinski.axon.giftcard.api.command
import org.axonframework.modelling.command.TargetAggregateIdentifier
import org.axonframework.serialization.Revision
sealed class Command(@TargetAggregateIdentifier open val id: String)
@Revision("1")
data class IssueCmd(
override val id: String,
val am... | 22.125 | 68 | 0.753296 |
85877ad165914d8c93f188a87b449ea696b7caec | 4,106 | js | JavaScript | oldpage/js/data.js | damnever/Damnever.github.io | 419d65060b4c8917bf1ab7a5be21ff30d1f6a680 | [
"Apache-2.0"
] | 3 | 2015-03-15T15:42:06.000Z | 2015-07-11T03:59:23.000Z | oldpage/js/data.js | damnever/Damnever.github.io | 419d65060b4c8917bf1ab7a5be21ff30d1f6a680 | [
"Apache-2.0"
] | 1 | 2015-12-16T09:53:27.000Z | 2015-12-16T09:53:33.000Z | oldpage/js/data.js | damnever/Damnever.github.io | 419d65060b4c8917bf1ab7a5be21ff30d1f6a680 | [
"Apache-2.0"
] | null | null | null | var data = new Array();
data.push({
'date' : '1994/11/06',
'title' : 'Hello world!',
'intro' : '顶着<a href="http://baike.baidu.com/view/32644.htm#8" target="_blank">法律</a>的约束来到这个世界!',
'summary' : '在天朝非法逗留。',
});
data.push({
'date' : '2012/04/04',
'title' : '高三某日',
'intro' : '<a href="http... | 40.254902 | 552 | 0.643205 |
ca13e79f7b134e09444724444daf83c33c953fc9 | 1,687 | dart | Dart | lib/domain/service/impl/fake/fake_user_service.dart | yeshu-cn/MockApp | 7e72794c2c57477c0d07e45091699b74d6ab1503 | [
"MIT"
] | 9 | 2022-01-17T02:29:57.000Z | 2022-02-08T07:03:46.000Z | lib/domain/service/impl/fake/fake_user_service.dart | yeshu-cn/MockApp | 7e72794c2c57477c0d07e45091699b74d6ab1503 | [
"MIT"
] | null | null | null | lib/domain/service/impl/fake/fake_user_service.dart | yeshu-cn/MockApp | 7e72794c2c57477c0d07e45091699b74d6ab1503 | [
"MIT"
] | 4 | 2022-01-23T07:58:27.000Z | 2022-02-08T07:03:41.000Z | import 'package:lushan/domain/model/user.dart';
import 'package:lushan/domain/repository/user_repository.dart';
import 'package:lushan/domain/service/dto/user_dto.dart';
import 'package:lushan/domain/service/user_service.dart';
import 'package:uuid/uuid.dart';
class FakeUserService extends UserService {
UserReposito... | 26.777778 | 63 | 0.690575 |
2cc61f489e5189b884686bca7a192e1ee8e36866 | 2,344 | swift | Swift | BTTTouchBarPluginSampleCustomString/SamplePluginCustomString.swift | kant/BetterTouchToolPlugins | 424702f41ee7f2c4dafaff45e6a4864c804fae64 | [
"MIT"
] | 48 | 2019-06-23T01:55:34.000Z | 2021-10-30T22:18:51.000Z | BTTTouchBarPluginSampleCustomString/SamplePluginCustomString.swift | kant/BetterTouchToolPlugins | 424702f41ee7f2c4dafaff45e6a4864c804fae64 | [
"MIT"
] | 1 | 2020-02-10T03:30:02.000Z | 2020-02-10T22:16:33.000Z | BTTTouchBarPluginSampleCustomString/SamplePluginCustomString.swift | kant/BetterTouchToolPlugins | 424702f41ee7f2c4dafaff45e6a4864c804fae64 | [
"MIT"
] | 3 | 2019-07-08T20:55:29.000Z | 2020-11-13T00:49:42.000Z | import Foundation
import AppKit
@objc class SamplePluginCustomString : NSObject, BTTPluginInterface
{
// the delegate will be set automatically after this plugin is loaded in BTT
var delegate : BTTTouchBarPluginDelegate?
var configurationValues: Dictionary<AnyHashable, Any> = [:];
ov... | 33.485714 | 100 | 0.646758 |
bad9bb49d78153e7319e831a7d7914c289ce836e | 455 | swift | Swift | AppliveryBehaviorTests/Mocks/ConfigPersisterMock.swift | applivery/applivery-ios-sdk | b3bd55bee38fc2d97e3273c5c4c89032430ed713 | [
"MIT"
] | 32 | 2016-01-31T22:40:18.000Z | 2022-02-07T17:54:57.000Z | AppliveryBehaviorTests/Mocks/ConfigPersisterMock.swift | applivery/applivery-ios-sdk | b3bd55bee38fc2d97e3273c5c4c89032430ed713 | [
"MIT"
] | 43 | 2016-02-16T22:58:52.000Z | 2021-11-19T18:49:58.000Z | AppliveryBehaviorTests/Mocks/ConfigPersisterMock.swift | applivery/applivery-ios-sdk | b3bd55bee38fc2d97e3273c5c4c89032430ed713 | [
"MIT"
] | 6 | 2018-03-22T02:40:46.000Z | 2022-02-04T14:01:53.000Z | //
// ConfigPersisterMock.swift
// AppliverySDK
//
// Created by Alejandro Jiménez on 5/10/15.
// Copyright © 2015 Applivery S.L. All rights reserved.
//
import UIKit
@testable import Applivery
class ConfigPersisterMock: ConfigPersister {
// INPUT
var config: Config?
// OUTPUT
var saveCalled = false
overr... | 16.25 | 56 | 0.707692 |
e0d5b91c0b5c349a22ebbb9f30c8b6a6879bf9af | 18,066 | asm | Assembly | fiat-amd64/96.86_ratio12000_seed3346530064135123_square_p224.asm | dderjoel/fiat-crypto | 57a9612577d766a0ae83169ea9517bfa7f01ea4e | [
"BSD-1-Clause",
"Apache-2.0",
"MIT-0",
"MIT"
] | 491 | 2015-11-25T23:44:39.000Z | 2022-03-29T17:31:21.000Z | fiat-amd64/96.86_ratio12000_seed3346530064135123_square_p224.asm | dderjoel/fiat-crypto | 57a9612577d766a0ae83169ea9517bfa7f01ea4e | [
"BSD-1-Clause",
"Apache-2.0",
"MIT-0",
"MIT"
] | 755 | 2016-02-02T14:03:05.000Z | 2022-03-31T16:47:23.000Z | fiat-amd64/96.86_ratio12000_seed3346530064135123_square_p224.asm | dderjoel/fiat-crypto | 57a9612577d766a0ae83169ea9517bfa7f01ea4e | [
"BSD-1-Clause",
"Apache-2.0",
"MIT-0",
"MIT"
] | 117 | 2015-10-25T16:28:15.000Z | 2022-02-08T23:01:09.000Z | SECTION .text
GLOBAL square_p224
square_p224:
sub rsp, 0x130 ; last 0x30 (6) for Caller - save regs
mov [ rsp + 0x100 ], rbx; saving to stack
mov [ rsp + 0x108 ], rbp; saving to stack
mov [ rsp + 0x110 ], r12; saving to stack
mov [ rsp + 0x118 ], r13; saving to stack
mov [ rsp + 0x120 ], r14; saving to stack
mov [ rs... | 40.965986 | 150 | 0.689029 |
dbcfd3576ffa68ef4586ac1fd1e8fdd8cd6bd87b | 3,981 | kt | Kotlin | Chapter07/src/main/kotlin/com/packtpub/functionalkotlin/chapter07/dispatchers.kt | appleDev20/Functional-Kotlin | 3b605e238113ac85465407717fceaacd1e5f40c7 | [
"MIT"
] | 50 | 2018-02-20T14:14:29.000Z | 2022-02-18T02:28:25.000Z | Chapter07/src/main/kotlin/com/packtpub/functionalkotlin/chapter07/dispatchers.kt | MarioAriasC/FunctionalKotlin | e5b1ac5afb43a8e9c247087cbbb4c4399d2a2839 | [
"Apache-2.0"
] | null | null | null | Chapter07/src/main/kotlin/com/packtpub/functionalkotlin/chapter07/dispatchers.kt | MarioAriasC/FunctionalKotlin | e5b1ac5afb43a8e9c247087cbbb4c4399d2a2839 | [
"Apache-2.0"
] | 23 | 2018-03-15T01:32:42.000Z | 2022-01-09T15:13:58.000Z | package com.packtpub.functionalkotlin.chapter07
fun workingOn() = "I'm working in thread ${Thread.currentThread().name}"
fun log(msg: String) = println("[${Thread.currentThread().name}] $msg")
fun log(msg: Any) = log(msg.toString())
/*fun main(args: Array<String>) = runBlocking<Unit> {
val jobs = listOf(
launch... | 22.87931 | 88 | 0.64632 |
fb050060b57fbca53af5e3c690cb26dade953a9e | 13,698 | h | C | test/fixtures/cpp-root/external/SQLAPI/include/sl3API.h | Pivotal-Field-Engineering/cpp-buildpack | 17f03c5c5019073397cdb6aba5b9d630c85e33ea | [
"Apache-2.0"
] | 1 | 2019-05-29T01:20:58.000Z | 2019-05-29T01:20:58.000Z | test/fixtures/cpp-root/external/SQLAPI/include/sl3API.h | Pivotal-Field-Engineering/cpp-buildpack | 17f03c5c5019073397cdb6aba5b9d630c85e33ea | [
"Apache-2.0"
] | null | null | null | test/fixtures/cpp-root/external/SQLAPI/include/sl3API.h | Pivotal-Field-Engineering/cpp-buildpack | 17f03c5c5019073397cdb6aba5b9d630c85e33ea | [
"Apache-2.0"
] | null | null | null | //////////////////////////////////////////////////////////////////////
// slAPI.h
//////////////////////////////////////////////////////////////////////
#if !defined(__SLAPI_H__)
#define __SLAPI_H__
#include <SQLAPI.h>
#include <sqlite3.h>
extern void AddSQLite3Support(const SAConnection * pCon);
extern v... | 49.273381 | 101 | 0.749233 |
e836fdc55f05f83cafb761490a05bdec10ae3ec3 | 6,502 | cpp | C++ | client/src/bindings/Audio.cpp | xxshady/altv-js-module | 64f5b23ff417b25a65d56e92fd39f28fb23dead7 | [
"MIT"
] | 1 | 2021-09-27T19:23:39.000Z | 2021-09-27T19:23:39.000Z | client/src/bindings/Audio.cpp | xxshady/altv-js-module | 64f5b23ff417b25a65d56e92fd39f28fb23dead7 | [
"MIT"
] | null | null | null | client/src/bindings/Audio.cpp | xxshady/altv-js-module | 64f5b23ff417b25a65d56e92fd39f28fb23dead7 | [
"MIT"
] | null | null | null | #include "V8Helpers.h"
#include "V8BindHelpers.h"
#include "V8ResourceImpl.h"
#include "V8Class.h"
#include "../CV8ScriptRuntime.h"
#include "cpp-sdk/script-objects/IAudio.h"
static void Constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
{
V8_GET_ISOLATE_CONTEXT_RESOURCE();
V8_CHECK_CONSTRUCTOR();
... | 30.961905 | 134 | 0.657182 |
9a84217cf71b4c82d995d2a35d85cc6725f6839b | 4,690 | swift | Swift | PetWalk/PetWalk/View/Walk/WalkControl.swift | wydryd125/Let-s-mung | 2bd7a3227b72f84d5927c54915313068e66a149a | [
"MIT"
] | null | null | null | PetWalk/PetWalk/View/Walk/WalkControl.swift | wydryd125/Let-s-mung | 2bd7a3227b72f84d5927c54915313068e66a149a | [
"MIT"
] | null | null | null | PetWalk/PetWalk/View/Walk/WalkControl.swift | wydryd125/Let-s-mung | 2bd7a3227b72f84d5927c54915313068e66a149a | [
"MIT"
] | null | null | null | //
// BottomView.swift
// Temp
//
// Created by 정유경 on 2020/01/15.
// Copyright © 2020 정유경. All rights reserved.
//
import UIKit
import MobileCoreServices
protocol BottomViewDelegate: class {
func playButtonAction(_ sender: UIButton)
}
protocol BottomViewImagePickerDelegate: class {
func cameraButtonAction()
... | 32.797203 | 114 | 0.714286 |
26440c68b8eaa4b310f0c19e08c625906a669320 | 1,009 | java | Java | httpserver-auth/src/main/java/com/stulsoft/pvertx/httpserverauth/MainAuth.java | ysden123/pvertx | a310f7141310f4981f739aa05675affed5e0fa99 | [
"MIT"
] | null | null | null | httpserver-auth/src/main/java/com/stulsoft/pvertx/httpserverauth/MainAuth.java | ysden123/pvertx | a310f7141310f4981f739aa05675affed5e0fa99 | [
"MIT"
] | null | null | null | httpserver-auth/src/main/java/com/stulsoft/pvertx/httpserverauth/MainAuth.java | ysden123/pvertx | a310f7141310f4981f739aa05675affed5e0fa99 | [
"MIT"
] | null | null | null | package com.stulsoft.pvertx.httpserverauth;
import com.stulsoft.pvertx.common.Terminator;
import com.stulsoft.pvertx.httpserverauth.auth.AuthorizationProvider;
import com.stulsoft.pvertx.httpserverauth.auth.LdapAuth;
import com.stulsoft.pvertx.httpserverauth.verticles.HttpServer2;
import io.vertx.core.Verticle;
import... | 29.676471 | 81 | 0.729435 |
fbad75c83c91b0e30389326f0464bb55ebbf9b05 | 757 | java | Java | lua-commons-web/lua-commons-web-core/src/main/java/org/lua/commons/webapi/json/JsonTools.java | mrkosterix/lua-commons | 20b573728562d24c1b1904e9d07b963aafc0789c | [
"MIT"
] | 1 | 2020-07-31T06:40:24.000Z | 2020-07-31T06:40:24.000Z | lua-commons-web/lua-commons-web-core/src/main/java/org/lua/commons/webapi/json/JsonTools.java | mrkosterix/lua-commons | 20b573728562d24c1b1904e9d07b963aafc0789c | [
"MIT"
] | null | null | null | lua-commons-web/lua-commons-web-core/src/main/java/org/lua/commons/webapi/json/JsonTools.java | mrkosterix/lua-commons | 20b573728562d24c1b1904e9d07b963aafc0789c | [
"MIT"
] | null | null | null | package org.lua.commons.webapi.json;
import org.lua.commons.baseapi.LuaThread;
import org.lua.commons.baseapi.types.LuaObject;
public class JsonTools {
public static String toJson(LuaThread thread, LuaObject object) {
return thread.lua.getExtension(JsonTypeCastManager.class).toJson(
thread, object);
}
publ... | 24.419355 | 73 | 0.712021 |
d2e7d53125a3131c7f22620b27bc0e7f0e49a9d0 | 1,552 | php | PHP | src/Darryldecode/Backend/Components/User/routes.php | digideskio/backckendlara | 2ef8fe396aaaa110cf0f6445f0e87281c6bdf275 | [
"Apache-2.0"
] | null | null | null | src/Darryldecode/Backend/Components/User/routes.php | digideskio/backckendlara | 2ef8fe396aaaa110cf0f6445f0e87281c6bdf275 | [
"Apache-2.0"
] | null | null | null | src/Darryldecode/Backend/Components/User/routes.php | digideskio/backckendlara | 2ef8fe396aaaa110cf0f6445f0e87281c6bdf275 | [
"Apache-2.0"
] | null | null | null | <?php
Route::group(array('prefix'=> 'users'), function()
{
Route::get('/', array(
'before' => array(),
'as' => 'backend.users',
'uses' => 'UserController@index'
));
Route::get('/available_permissions', array(
'before' => array(),
'as' => 'backend.users.getAvailablePe... | 28.740741 | 58 | 0.511598 |
f7328a361e8d57ccccacd0eb273547db770bdae7 | 2,533 | swift | Swift | iRemeber/Pods/Bits/Sources/Bits/Byte+Alphabet.swift | cclovett/iRemeberM | ca7ecf9aa2a20156c638e23e4859e10d9bd2bb54 | [
"MIT"
] | 32 | 2019-06-27T03:31:30.000Z | 2022-02-26T23:03:05.000Z | iRemeber/Pods/Bits/Sources/Bits/Byte+Alphabet.swift | cclovett/iRemeberM | ca7ecf9aa2a20156c638e23e4859e10d9bd2bb54 | [
"MIT"
] | 8 | 2017-02-08T12:28:11.000Z | 2018-02-01T18:46:22.000Z | iRemeber/Pods/Bits/Sources/Bits/Byte+Alphabet.swift | cclovett/iRemeberM | ca7ecf9aa2a20156c638e23e4859e10d9bd2bb54 | [
"MIT"
] | 8 | 2017-04-24T09:36:19.000Z | 2017-11-18T15:12:06.000Z | extension Byte {
/// A
public static let A: Byte = 0x41
/// B
public static let B: Byte = 0x42
/// C
public static let C: Byte = 0x43
/// D
public static let D: Byte = 0x44
/// E
public static let E: Byte = 0x45
/// F
public static let F: Byte = 0x46
/// F
p... | 15.83125 | 36 | 0.52349 |
52ce12768412721d6738d2add13fb3fc64425deb | 284 | sql | SQL | tests/suites/0_stateless/06_0002_show_create_database.sql | l1ch40/databend | 9694155616bfce8d685937f608447688917fe802 | [
"Apache-2.0"
] | 1,788 | 2021-03-23T12:44:33.000Z | 2021-09-13T06:53:37.000Z | tests/suites/0_stateless/06_0002_show_create_database.sql | l1ch40/databend | 9694155616bfce8d685937f608447688917fe802 | [
"Apache-2.0"
] | 1,438 | 2021-03-23T06:59:13.000Z | 2021-09-13T06:48:06.000Z | tests/suites/0_stateless/06_0002_show_create_database.sql | l1ch40/databend | 9694155616bfce8d685937f608447688917fe802 | [
"Apache-2.0"
] | 156 | 2021-03-23T08:52:45.000Z | 2021-09-12T07:19:02.000Z | SHOW CREATE DATABASE `system`;
DROP DATABASE IF EXISTS `test`;
CREATE DATABASE `test`;
SHOW CREATE DATABASE `test`;
DROP DATABASE `test`;
CREATE DATABASE `datafuselabs` ENGINE=github(token='xxx'); -- {ErrorCode 9001}
SHOW CREATE DATABASE `datafuselabs`;
DROP DATABASE `datafuselabs`;
| 31.555556 | 78 | 0.764085 |
09aad2c50835529cc9b5a40411b9b3200c954463 | 1,279 | swift | Swift | CryptoTick/Classes/Networking/CoinCapAPI.swift | jimmya/CryptoTick | 3fb7ec687d133ff1e7112273a5386d7cfab3bdf2 | [
"MIT"
] | null | null | null | CryptoTick/Classes/Networking/CoinCapAPI.swift | jimmya/CryptoTick | 3fb7ec687d133ff1e7112273a5386d7cfab3bdf2 | [
"MIT"
] | null | null | null | CryptoTick/Classes/Networking/CoinCapAPI.swift | jimmya/CryptoTick | 3fb7ec687d133ff1e7112273a5386d7cfab3bdf2 | [
"MIT"
] | null | null | null | //
// CoinCapAPI.swift
// CryptoTick
//
// Created by Jimmy Arts on 29/05/2017.
// Copyright © 2017 Jimmy Arts. All rights reserved.
//
import Foundation
import Moya
import RxSwift
let coincapProvider = RxMoyaProvider<CoinCap>()
public enum CoinCap {
case getGlobal
case getCoins
case getFront
cas... | 20.301587 | 76 | 0.590305 |
01644dbc37591c3280891978fdf50fc9872c129d | 40,478 | psm1 | PowerShell | PISecurityAudit/Scripts/PISYSAUDIT/PISYSAUDITCHECKLIB2.psm1 | JeromeLefebvre/PI-Security-Audit-Tools | 0b430b0e5c873cfda8594fe90fa4bad5998878d9 | [
"Apache-2.0"
] | null | null | null | PISecurityAudit/Scripts/PISYSAUDIT/PISYSAUDITCHECKLIB2.psm1 | JeromeLefebvre/PI-Security-Audit-Tools | 0b430b0e5c873cfda8594fe90fa4bad5998878d9 | [
"Apache-2.0"
] | null | null | null | PISecurityAudit/Scripts/PISYSAUDIT/PISYSAUDITCHECKLIB2.psm1 | JeromeLefebvre/PI-Security-Audit-Tools | 0b430b0e5c873cfda8594fe90fa4bad5998878d9 | [
"Apache-2.0"
] | 1 | 2020-04-28T09:02:03.000Z | 2020-04-28T09:02:03.000Z | # ***********************************************************************
# Validation library
# ***********************************************************************
# * Modulename: PISYSAUDIT
# * Filename: PISYSAUDITCHECKLIB2.psm1
# * Description: Validation rules for PI Data Archive.
# *
# * Copyright 2016 ... | 32.908943 | 229 | 0.635827 |
034b8aca49165fa5b43d2ea4d62333af760cac00 | 370 | kt | Kotlin | app/src/test/java/com/hewking/develop/basics/TestStaticFunc.kt | hewking/AndroidDeveloper | 1c562a7d9cb97b93990353e13ee8ba33ca2f4d33 | [
"MIT"
] | null | null | null | app/src/test/java/com/hewking/develop/basics/TestStaticFunc.kt | hewking/AndroidDeveloper | 1c562a7d9cb97b93990353e13ee8ba33ca2f4d33 | [
"MIT"
] | 1 | 2020-03-06T08:29:53.000Z | 2020-03-06T08:29:53.000Z | app/src/test/java/com/hewking/develop/basics/TestStaticFunc.kt | hewking/AndroidDeveloper | 1c562a7d9cb97b93990353e13ee8ba33ca2f4d33 | [
"MIT"
] | null | null | null | package com.hewking.develop.basics
/**
* @author: jianhao
* @create: 2020/7/8
* @description:
*/
class TestStaticFunc {
companion object{
/**
* 会使用静态方法
*/
@JvmStatic
fun test(){
}
/**
* 被静态初始化的Companion对象的 方法
*... | 12.333333 | 35 | 0.405405 |
39f8c8276569a966a58f5e28c21e7f0006f4721f | 793 | java | Java | src/ContaPoupanca.java | andersonlop/Herancas | e7ad4087375d684aa82179a7c0cac9cb72ef609b | [
"MIT"
] | null | null | null | src/ContaPoupanca.java | andersonlop/Herancas | e7ad4087375d684aa82179a7c0cac9cb72ef609b | [
"MIT"
] | null | null | null | src/ContaPoupanca.java | andersonlop/Herancas | e7ad4087375d684aa82179a7c0cac9cb72ef609b | [
"MIT"
] | null | null | null | public class ContaPoupanca extends Conta{
private int diaAniversario;
private double taxaDejuros;
public ContaPoupanca(int numero, int agencia, String banco, double saldo, int diaAniversario, double taxaDejuros) {
super(numero, agencia, banco, saldo);
this.diaAniversario = diaAniversario;
... | 27.344828 | 119 | 0.617907 |
fb8feb24e2f87fa4b4b9472ff1b1a1e86d88199a | 17,170 | java | Java | org.afplib/src/main/java/org/afplib/base/impl/BasePackageImpl.java | moritzfl/afplib | 7f36a87a07707d90becfc5d54500652d0fcf9afb | [
"Apache-2.0"
] | 36 | 2016-07-11T16:09:36.000Z | 2022-02-09T15:35:59.000Z | org.afplib/src/main/java/org/afplib/base/impl/BasePackageImpl.java | moritzfl/afplib | 7f36a87a07707d90becfc5d54500652d0fcf9afb | [
"Apache-2.0"
] | 55 | 2017-01-17T14:30:42.000Z | 2022-03-24T11:02:17.000Z | org.afplib/src/main/java/org/afplib/base/impl/BasePackageImpl.java | moritzfl/afplib | 7f36a87a07707d90becfc5d54500652d0fcf9afb | [
"Apache-2.0"
] | 22 | 2016-03-03T09:28:27.000Z | 2022-02-24T12:31:17.000Z | /**
*/
package org.afplib.base.impl;
import java.nio.charset.Charset;
import org.afplib.afplib.AfplibPackage;
import org.afplib.afplib.impl.AfplibPackageImpl;
import org.afplib.base.BaseFactory;
import org.afplib.base.BasePackage;
import org.afplib.base.SFGrouper;
import org.afplib.base.Triplet;
import org.afplib... | 29.809028 | 254 | 0.689575 |
15d93fd6c77e1e815dfbcd20ae3a733b5fa3c28f | 1,121 | rb | Ruby | lib/naive_bayes.rb | sisodiaa/naive_bayes | cb0c771afd74a57f12266f3d879733dcbd978e39 | [
"MIT"
] | null | null | null | lib/naive_bayes.rb | sisodiaa/naive_bayes | cb0c771afd74a57f12266f3d879733dcbd978e39 | [
"MIT"
] | null | null | null | lib/naive_bayes.rb | sisodiaa/naive_bayes | cb0c771afd74a57f12266f3d879733dcbd978e39 | [
"MIT"
] | null | null | null | require 'naive_bayes/version'
require 'naive_bayes/dataset'
require 'naive_bayes/text_classifier'
# Classifier
module NaiveBayes
def self.classifier(dataset:, delimiter:, percent:, categories:, text:)
# Load data from CSV and split it into training and testing dataset
data = Dataset.load_data(dataset, delimi... | 32.970588 | 73 | 0.743979 |
e9d23e4b83ce58a89a67fde0a11c04df75470c79 | 5,086 | go | Go | geopattern/pattern/pattern.go | mrcook/svgtoolkit | a5570de81bc304ac6218156fc0c9c56259bf3474 | [
"MIT"
] | null | null | null | geopattern/pattern/pattern.go | mrcook/svgtoolkit | a5570de81bc304ac6218156fc0c9c56259bf3474 | [
"MIT"
] | null | null | null | geopattern/pattern/pattern.go | mrcook/svgtoolkit | a5570de81bc304ac6218156fc0c9c56259bf3474 | [
"MIT"
] | null | null | null | // Package pattern is used to generate various geo patterns.
//
// pat := pattern.New(400, 400, "The Pattern Package", canvas)
// pat.Generate()
//
// Then add additional elements to the svg.Canvas as needed.
package pattern
import (
"fmt"
"io"
"github.com/mrcook/svgtoolkit/geopattern/colour"
"github.com/mrcook... | 25.557789 | 109 | 0.720606 |
e8f21b2851b4e9689c28bcfb704675efc7d4cf9e | 1,087 | cpp | C++ | Online Judges/CodeForces/1157CIncreasingSubsequence.cpp | NelsonGomesNeto/ProgramC | e743b1b869f58f7f3022d18bac00c5e0b078562e | [
"MIT"
] | 3 | 2018-12-18T13:39:42.000Z | 2021-06-23T18:05:18.000Z | Online Judges/CodeForces/1157CIncreasingSubsequence.cpp | NelsonGomesNeto/ProgramC | e743b1b869f58f7f3022d18bac00c5e0b078562e | [
"MIT"
] | 1 | 2018-11-02T21:32:40.000Z | 2018-11-02T22:47:12.000Z | Online Judges/CodeForces/1157CIncreasingSubsequence.cpp | NelsonGomesNeto/ProgramC | e743b1b869f58f7f3022d18bac00c5e0b078562e | [
"MIT"
] | 6 | 2018-10-27T14:07:52.000Z | 2019-11-14T13:49:29.000Z | #include <bits/stdc++.h>
#define lli long long int
using namespace std;
const int maxN = 2e5; int n;
lli a[maxN];
char movements[maxN + 1];
int main()
{
scanf("%d", &n);
for (int i = 0; i < n; i ++) scanf("%lld", &a[i]);
int ans = 0, lo = 0, hi = n - 1, prv = 0;
for (; ans < n; ans ++)
{
if (a[lo] > pr... | 27.871795 | 84 | 0.469181 |
afb28d589a37d83f8c64d9ea66d3317523e99ef3 | 480 | asm | Assembly | programs/oeis/112/A112751.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/112/A112751.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/112/A112751.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A112751: Number of numbers less than or equal to n of the form 3^i*5^j.
; 1,1,2,2,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10
mov $2,$0
mov $4,$0
add $4,1
lpb... | 21.818182 | 212 | 0.535417 |
c465b0546ef316ed35ab45876be9336ab017e0c9 | 822 | h | C | driver/src/runtime/icd/CLCommandQueue.h | okayvlev/red-o-lator | a94cd05b647aa40c5e5a97650df6bcce9bed90f9 | [
"MIT"
] | null | null | null | driver/src/runtime/icd/CLCommandQueue.h | okayvlev/red-o-lator | a94cd05b647aa40c5e5a97650df6bcce9bed90f9 | [
"MIT"
] | null | null | null | driver/src/runtime/icd/CLCommandQueue.h | okayvlev/red-o-lator | a94cd05b647aa40c5e5a97650df6bcce9bed90f9 | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
#include <memory>
#include <queue>
#include "IcdDispatchTable.h"
#include "runtime/command/Command.h"
#include "runtime/icd/CLContext.h"
class Command;
class CLCommandQueue {
public:
explicit CLCommandQueue(IcdDispatchTable* dispatchTable,
CLContex... | 22.216216 | 68 | 0.678832 |
39e69a177fd7c1f4f8c6892209a6af612a42b408 | 1,178 | dart | Dart | lib/app/modules/splash/splash_page.dart | Hellyson-Ferreira/flutter_go_fast | 66a72fc7f3ae537af07672467d9e24462ed88e4f | [
"MIT"
] | null | null | null | lib/app/modules/splash/splash_page.dart | Hellyson-Ferreira/flutter_go_fast | 66a72fc7f3ae537af07672467d9e24462ed88e4f | [
"MIT"
] | null | null | null | lib/app/modules/splash/splash_page.dart | Hellyson-Ferreira/flutter_go_fast | 66a72fc7f3ae537af07672467d9e24462ed88e4f | [
"MIT"
] | null | null | null | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:flutter_go_fast/app/app_controller.dart';
import 'package:flutter_modular/flutter_modular.dart';
class SplashPage extends StatefulWidget {
@override
_SplashPageState createState() => _SplashPageState();
}... | 28.731707 | 90 | 0.611205 |
cb61984b1eef855dc0333eff9e36fefd009fbf96 | 30,552 | html | HTML | mbls/330f0e49_9020291_0.html | notus629/notus629.github.io | f834e9390431de69f80ea2e1145e0c5876a07652 | [
"MIT"
] | 1 | 2017-06-02T07:57:10.000Z | 2017-06-02T07:57:10.000Z | mbls/330f0e49_9020291_0.html | notus629/notus629.github.io | f834e9390431de69f80ea2e1145e0c5876a07652 | [
"MIT"
] | null | null | null | mbls/330f0e49_9020291_0.html | notus629/notus629.github.io | f834e9390431de69f80ea2e1145e0c5876a07652 | [
"MIT"
] | null | null | null | <html><head></head>
<body>
<div><br></div><div><div><font class="Apple-style-span" face="Consolas"><br></font></div><div><font class="Apple-style-span" face="Consolas"><b>phpize</b> [1]</font></div><div><font class="Apple-style-span" face="Consolas"><br></font></div><div><font class="Apple-style-span" face="Consolas"... | 7,638 | 30,523 | 0.753044 |
fb91e5836bed0433389e7aca0d13b5117d089f21 | 3,642 | java | Java | src/android/tests/src/com/google/android/inputmethod/japanese/userdictionary/UserDictionaryUtilTest.java | sousuke0422/crIME | abc711e0c2cad19950703d59ed4d1ffe4bd76953 | [
"BSD-3-Clause"
] | 1 | 2018-09-14T09:11:39.000Z | 2018-09-14T09:11:39.000Z | src/android/tests/src/com/google/android/inputmethod/japanese/userdictionary/UserDictionaryUtilTest.java | sousuke0422/crIME | abc711e0c2cad19950703d59ed4d1ffe4bd76953 | [
"BSD-3-Clause"
] | 108 | 2018-05-29T17:33:53.000Z | 2019-07-22T00:01:54.000Z | src/android/tests/src/com/google/android/inputmethod/japanese/userdictionary/UserDictionaryUtilTest.java | sousuke0422/crIME | abc711e0c2cad19950703d59ed4d1ffe4bd76953 | [
"BSD-3-Clause"
] | 1 | 2021-12-29T08:15:14.000Z | 2021-12-29T08:15:14.000Z | // Copyright 2010-2018, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | 39.16129 | 92 | 0.688083 |
0c65da84089329c25641612fa70d2bc7761e3149 | 3,289 | html | HTML | material/code/visionbook/matlab_code/stprtool/doc/manual/probab/list/sigmoid.html | xiaohaijin/ComputerVision | 0be6f619d81f07e0c39bd4623a1792395b7d3b29 | [
"MIT"
] | 3 | 2018-12-24T19:36:04.000Z | 2022-02-12T16:31:08.000Z | material/code/visionbook/matlab_code/stprtool/doc/manual/probab/list/sigmoid.html | xiaohaijin/ComputerVision | 0be6f619d81f07e0c39bd4623a1792395b7d3b29 | [
"MIT"
] | null | null | null | material/code/visionbook/matlab_code/stprtool/doc/manual/probab/list/sigmoid.html | xiaohaijin/ComputerVision | 0be6f619d81f07e0c39bd4623a1792395b7d3b29 | [
"MIT"
] | null | null | null | <html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=ISO-8859-1">
<title>sigmoid.m</title>
<link rel="stylesheet" type="text/css" href="../../m-syntax.css">
</head>
<body>
<code>
<span class=defun_kw>function</span> <span class=defun_out>y</span>=<span class=defun_name>sigmoid</span>(<span ... | 58.732143 | 170 | 0.696868 |
715787ae3a97af5f6f91b246461b6874bbd2742e | 1,188 | kt | Kotlin | kotlin/structures/FenwickTree3D.kt | igarash1/codelibrary | 4566f3145be72827d72cb93abca8bfd93f1c58df | [
"Unlicense"
] | null | null | null | kotlin/structures/FenwickTree3D.kt | igarash1/codelibrary | 4566f3145be72827d72cb93abca8bfd93f1c58df | [
"Unlicense"
] | 1 | 2021-01-13T08:37:20.000Z | 2021-01-13T08:37:20.000Z | kotlin/structures/FenwickTree3D.kt | igarash1/codelibrary | 4566f3145be72827d72cb93abca8bfd93f1c58df | [
"Unlicense"
] | null | null | null | package structures
object FenwickTree3D {
fun add(t: Array<Array<IntArray>>, x: Int, y: Int, z: Int, value: Int) {
var i = x
while (i < t.size) {
var j = y
while (j < t[0].length) {
var k = z
while (k < t[0][0].length) {
t[... | 25.826087 | 76 | 0.327441 |
fbe5517252b6123caa01ca43c145b644af6d1c3c | 4,272 | java | Java | rt/security/src/main/java/org/apache/cxf/rt/security/crypto/MessageDigestUtils.java | sho25/cxf | 4e2e93d8335f22575bf366df2a1b6cde681ad0ec | [
"Apache-2.0"
] | null | null | null | rt/security/src/main/java/org/apache/cxf/rt/security/crypto/MessageDigestUtils.java | sho25/cxf | 4e2e93d8335f22575bf366df2a1b6cde681ad0ec | [
"Apache-2.0"
] | 5 | 2021-02-03T19:35:39.000Z | 2022-03-31T20:59:21.000Z | rt/security/src/main/java/org/apache/cxf/rt/security/crypto/MessageDigestUtils.java | sho25/cxf | 4e2e93d8335f22575bf366df2a1b6cde681ad0ec | [
"Apache-2.0"
] | null | null | null | begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses ... | 16.243346 | 810 | 0.799625 |
4a88b7d7ecaf49e59bf2b45c931cc249940c280b | 1,042 | html | HTML | src/index.html | melvins1234/electron-crud | 54457f92012d4c9957c1925c2949d0053cdfc9e8 | [
"CC0-1.0"
] | null | null | null | src/index.html | melvins1234/electron-crud | 54457f92012d4c9957c1925c2949d0053cdfc9e8 | [
"CC0-1.0"
] | 34 | 2021-10-04T13:25:31.000Z | 2022-03-31T13:26:49.000Z | src/index.html | melvins1234/electron-crud | 54457f92012d4c9957c1925c2949d0053cdfc9e8 | [
"CC0-1.0"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<link rel="stylesheet" href="../assets/css/preset.css" />
<link rel="stylesheet" href="../assets/css/style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/l... | 28.162162 | 111 | 0.570058 |
e8ce1b1746a12033e16447addf9918797d31ffd6 | 323 | cpp | C++ | Layer.cpp | MoNazar/DeepLearning-Backpropagation | eab59664f2b2d79f8d4e83ea7de038ebd7924747 | [
"MIT"
] | 4 | 2017-02-02T19:23:36.000Z | 2022-02-16T12:28:47.000Z | Layer.cpp | MoNazar/DeepLearning-Backpropagation | eab59664f2b2d79f8d4e83ea7de038ebd7924747 | [
"MIT"
] | null | null | null | Layer.cpp | MoNazar/DeepLearning-Backpropagation | eab59664f2b2d79f8d4e83ea7de038ebd7924747 | [
"MIT"
] | 1 | 2019-10-07T01:19:31.000Z | 2019-10-07T01:19:31.000Z | #include "Layer.h"
Layer::Layer()
{
}
Layer::~Layer()
{
if (NULL != neurons_){
delete[] neurons_;
neurons_ = NULL;
}
if (NULL != neurons_){
delete[] neurons_;
neurons_ = NULL;
}
}
Layer::Layer(int neurons_num) : neurons_num_(neurons_num)
{
neurons_ = new Neuron[neurons_num_];
... | 12.423077 | 58 | 0.585139 |
ca363f7557c9e9d629b9aedb422a192d880ef370 | 1,683 | lua | Lua | ESP8266/Programs/paginaHtmlConf.lua | giulianofiorotto/IoT-Framework-ESP8266 | 40dd21e3f3d627c0eb92b37294a24c7816355fd8 | [
"Apache-2.0"
] | 8 | 2016-02-01T14:05:13.000Z | 2019-04-13T12:33:42.000Z | ESP8266/Programs/paginaHtmlConf.lua | giulianofiorotto/IoT-Framework-ESP8266 | 40dd21e3f3d627c0eb92b37294a24c7816355fd8 | [
"Apache-2.0"
] | null | null | null | ESP8266/Programs/paginaHtmlConf.lua | giulianofiorotto/IoT-Framework-ESP8266 | 40dd21e3f3d627c0eb92b37294a24c7816355fd8 | [
"Apache-2.0"
] | 3 | 2017-03-24T16:39:25.000Z | 2018-11-21T01:44:00.000Z | file.remove("configPage.lua")
file.open("configPage.lua","w")
file.writeline([[
<!DOCTYPE html>
<html>
<head>
<title>ESP8266-12 conf</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn... | 49.5 | 119 | 0.548425 |
eaef7e05e4755df0140f8fb7f7a7ac75cf24c7e2 | 619 | sql | SQL | sql_stats/stats_complete_mapping.sql | thehyve/ohdsi-drug-mapping | 90b441b210983c15acca1588d10bf2be91e2b842 | [
"Apache-2.0"
] | 3 | 2017-07-25T22:10:07.000Z | 2018-05-31T01:35:48.000Z | sql_stats/stats_complete_mapping.sql | thehyve/ohdsi-drug-mapping | 90b441b210983c15acca1588d10bf2be91e2b842 | [
"Apache-2.0"
] | null | null | null | sql_stats/stats_complete_mapping.sql | thehyve/ohdsi-drug-mapping | 90b441b210983c15acca1588d10bf2be91e2b842 | [
"Apache-2.0"
] | null | null | null | SELECT concept_class_id,
COUNT(DISTINCT vnr),
ROUND( COUNT(DISTINCT vnr)*100/4754::decimal, 1) AS "Percentage based on Count",
SUM(frequency),
ROUND( SUM(frequency)*100/1093056::decimal, 1) AS "Percentage based on Frequency"
-- Frequency is met dubbele tellingen voor drug component en drug form.
FRO... | 30.95 | 85 | 0.765751 |
572eed8b7aeb9aa7b29c33eec4747bfa32339596 | 451 | h | C | include/sprites.h | hxhieu/32blit-hello | a44aa10291b54d9b0211f41e9a314b2f11235ac2 | [
"MIT"
] | null | null | null | include/sprites.h | hxhieu/32blit-hello | a44aa10291b54d9b0211f41e9a314b2f11235ac2 | [
"MIT"
] | null | null | null | include/sprites.h | hxhieu/32blit-hello | a44aa10291b54d9b0211f41e9a314b2f11235ac2 | [
"MIT"
] | null | null | null | #pragma once
#include <stdint.h>
namespace mitmeo
{
namespace blit_invaders
{
namespace sprites
{
const uint8_t player_idle = 0;
const uint8_t player_left = 1;
const uint8_t player_right = 2;
const uint8_t vulcan_1 = 16;
const uint8_t... | 21.47619 | 48 | 0.560976 |
12b876750472c51f6c398301dc97cd1896990e51 | 1,456 | tab | SQL | FR-12x12-CMR/all/8-32-ES-12STATES-60CMR00.tab | bidlom/Mendel2019-ES | 24632a8582e2b18bd8367ecb599c9d4b58e7d7da | [
"BSD-3-Clause"
] | null | null | null | FR-12x12-CMR/all/8-32-ES-12STATES-60CMR00.tab | bidlom/Mendel2019-ES | 24632a8582e2b18bd8367ecb599c9d4b58e7d7da | [
"BSD-3-Clause"
] | null | null | null | FR-12x12-CMR/all/8-32-ES-12STATES-60CMR00.tab | bidlom/Mendel2019-ES | 24632a8582e2b18bd8367ecb599c9d4b58e7d7da | [
"BSD-3-Clause"
] | null | null | null | 2 12
0 0 0 0 8 8
0 0 0 0 9 8
0 0 0 1 1 1
0 0 0 1 4 1
0 0 0 1 5 1
0 0 0 3 1 1
0 0 0 3 2 1
0 0 0 3 5 1
0 0 0 5 0 4
0 0 0 5 1 1
0 0 0 5 4 1
0 0 0 6 0 5
0 0 0 8 5 5
0 0 0 9 0 5
0 0 1 0 0 9
0 0 1 0 1 0
0 0 1 0 2 0
0 0 1 3 3 3
0 0 1 3 6 3
0 0 3 0 1 0
0 0 3 0 2 0
0 0 3 0 3 0
0 0 4 3 0 6
0 0 4 6 0 6
0 0 4 9 0 3
0 0 5 0 0 9
0 0... | 12.033058 | 13 | 0.508242 |
291450a80030f23d6de0ca41ad1801ed787388f4 | 465 | py | Python | stock/views.py | shrionit/invoicegen_backend | 88d7f670f2d74aab3fb7f4922bdf8711a24bd40f | [
"MIT"
] | null | null | null | stock/views.py | shrionit/invoicegen_backend | 88d7f670f2d74aab3fb7f4922bdf8711a24bd40f | [
"MIT"
] | null | null | null | stock/views.py | shrionit/invoicegen_backend | 88d7f670f2d74aab3fb7f4922bdf8711a24bd40f | [
"MIT"
] | null | null | null | from api.views import *
from stock.serializers import *
class StockViewSet(viewsets.ModelViewSet):
queryset = Stock.objects.all()
serializer_class = StockSerializer
class RawMaterialViewSet(viewsets.ModelViewSet):
queryset = RawMaterial.objects.all()
serializer_class = RawMaterialSerializer
class ... | 24.473684 | 53 | 0.791398 |
4b42af6cb5bedb3ec68f173853c500da5265038e | 234 | html | HTML | eventtools/templates/eventtools/month_calendar.html | atkinson/glamkit-eventtools | ed0b06c22ca3390506f4fac327493f871b0b4520 | [
"BSD-3-Clause"
] | 1 | 2015-11-05T10:26:49.000Z | 2015-11-05T10:26:49.000Z | eventtools/templates/eventtools/month_calendar.html | atkinson/glamkit-eventtools | ed0b06c22ca3390506f4fac327493f871b0b4520 | [
"BSD-3-Clause"
] | null | null | null | eventtools/templates/eventtools/month_calendar.html | atkinson/glamkit-eventtools | ed0b06c22ca3390506f4fac327493f871b0b4520 | [
"BSD-3-Clause"
] | null | null | null | {% include 'eventtools/month_header.html' %}
{% load month_calendar %}
<tbody>
{% for week in month_calendar %}
<tr>
{% for day in week %}
{% annotated_day day day.classes day.events %}
{% endfor %}
</tr>
{% endfor %}
</tbody>
| 18 | 46 | 0.628205 |
8ed4388cb6ab71768b824f1868f1db41037be655 | 19,050 | lua | Lua | app/src/main/assets/Files/games/default/files/stairs/init.lua | sergcomp/mobilecraft-v-1.0 | b42d56cb0a24dabe32676a9b7c401b5e2ef1eaed | [
"Apache-2.0"
] | null | null | null | app/src/main/assets/Files/games/default/files/stairs/init.lua | sergcomp/mobilecraft-v-1.0 | b42d56cb0a24dabe32676a9b7c401b5e2ef1eaed | [
"Apache-2.0"
] | null | null | null | app/src/main/assets/Files/games/default/files/stairs/init.lua | sergcomp/mobilecraft-v-1.0 | b42d56cb0a24dabe32676a9b7c401b5e2ef1eaed | [
"Apache-2.0"
] | null | null | null | stairs = {}
stairs.mod = "redo"
function default.node_sound_wool_defaults(table)
table = table or {}
table.footstep = table.footstep or
{name = "wool_coat_movement", gain = 1.0}
table.dug = table.dug or
{name = "wool_coat_movement", gain = 0.25}
table.place = table.place or
{name = "default_place_node", g... | 23.576733 | 93 | 0.715066 |
5533ec1b362b580ec1bcd0dddce78ce7533b4708 | 1,269 | sql | SQL | queries/Stream Analytics - SQL Queries/archive/conversations_view.sql | traceyt/cdchealthbot | 36af074d1d8ee04d63c5cc070f311ad6dacfdbf9 | [
"MIT"
] | null | null | null | queries/Stream Analytics - SQL Queries/archive/conversations_view.sql | traceyt/cdchealthbot | 36af074d1d8ee04d63c5cc070f311ad6dacfdbf9 | [
"MIT"
] | 3 | 2020-04-09T12:56:00.000Z | 2021-05-11T10:08:37.000Z | queries/Stream Analytics - SQL Queries/archive/conversations_view.sql | traceyt/cdchealthbot | 36af074d1d8ee04d63c5cc070f311ad6dacfdbf9 | [
"MIT"
] | null | null | null | drop view Conversations_View
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE VIEW [dbo].[Conversations_View]
AS
SELECT *
From
(
select [dbo].[Steps].convid,
FORMAT ([Messages].[eventtime], 'yyyy-MM-dd') as [date],
FORMAT ([Messages].[eventtime], 'HH') as [hour],
[dbo].[... | 42.3 | 145 | 0.617809 |
acf39c8f42463bca096458f30087454f0d14bc41 | 3,831 | hpp | C++ | src/greenlet/greenlet_thread_state_dict_cleanup.hpp | SouvikGhosh05/greenlet | 3e534d6b7b758d07880e3fef6678fffde4d30b2f | [
"PSF-2.0",
"MIT"
] | 1,089 | 2015-01-03T11:02:54.000Z | 2022-03-31T04:37:57.000Z | src/greenlet/greenlet_thread_state_dict_cleanup.hpp | SouvikGhosh05/greenlet | 3e534d6b7b758d07880e3fef6678fffde4d30b2f | [
"PSF-2.0",
"MIT"
] | 195 | 2015-01-22T21:54:22.000Z | 2022-03-29T06:00:20.000Z | src/greenlet/greenlet_thread_state_dict_cleanup.hpp | SouvikGhosh05/greenlet | 3e534d6b7b758d07880e3fef6678fffde4d30b2f | [
"PSF-2.0",
"MIT"
] | 205 | 2015-01-03T01:59:52.000Z | 2022-03-15T08:32:24.000Z | #ifndef GREENLET_THREAD_STATE_DICT_CLEANUP_HPP
#define GREENLET_THREAD_STATE_DICT_CLEANUP_HPP
#include "greenlet_internal.hpp"
#include "greenlet_thread_state.hpp"
#ifdef __clang__
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wmissing-field-initializers"
#endif
#ifndef G_THREAD_STATE_DICT... | 32.193277 | 69 | 0.536674 |
e825d5d087e774c063b3c2f3ca42ef51544fa843 | 223 | asm | Assembly | util/system/context_x86.asm | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | util/system/context_x86.asm | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | util/system/context_x86.asm | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | %macro EXPORT 1
%ifdef DARWIN
global _%1
_%1:
%else
global %1
%1:
%endif
%endmacro
%ifdef _x86_64_
%include "context_x86_64.asm"
%else
%include "context_i686.asm"
%endif
| 13.9375 | 33 | 0.565022 |
04f5de8a52bebd27c9a22e006643b4be41d02931 | 654 | java | Java | storage/db/src/main/java/org/artifactory/storage/db/aql/sql/builder/query/sql/type/BuildModuleSqlGenerator.java | alancnet/artifactory | 7ac3ea76471a00543eaf60e82b554d8edd894c0f | [
"Apache-2.0"
] | 3 | 2016-01-21T11:49:08.000Z | 2018-12-11T21:02:11.000Z | storage/db/src/main/java/org/artifactory/storage/db/aql/sql/builder/query/sql/type/BuildModuleSqlGenerator.java | alancnet/artifactory | 7ac3ea76471a00543eaf60e82b554d8edd894c0f | [
"Apache-2.0"
] | null | null | null | storage/db/src/main/java/org/artifactory/storage/db/aql/sql/builder/query/sql/type/BuildModuleSqlGenerator.java | alancnet/artifactory | 7ac3ea76471a00543eaf60e82b554d8edd894c0f | [
"Apache-2.0"
] | 5 | 2015-12-08T10:22:21.000Z | 2021-06-15T16:14:00.000Z | package org.artifactory.storage.db.aql.sql.builder.query.sql.type;
import com.google.common.collect.Lists;
import org.artifactory.storage.db.aql.sql.builder.links.TableLink;
import org.artifactory.storage.db.aql.sql.model.SqlTableEnum;
import java.util.List;
/**
* The class contains tweaking information and optimiz... | 25.153846 | 79 | 0.746177 |
8fbe019827f7ac4f32fbd0a998bd94f4840430cb | 526 | sql | SQL | toolchain/db/0008-add-features.sql | bokesan/icfpcontest2021.github.io | ee54acf7d3cadaf4e5e027cbf7d8023c94250a0a | [
"BSD-3-Clause"
] | 8 | 2021-06-24T17:42:02.000Z | 2021-08-11T16:24:29.000Z | toolchain/db/0008-add-features.sql | bokesan/icfpcontest2021.github.io | ee54acf7d3cadaf4e5e027cbf7d8023c94250a0a | [
"BSD-3-Clause"
] | 5 | 2021-06-15T07:23:21.000Z | 2021-08-03T12:56:53.000Z | toolchain/db/0008-add-features.sql | bokesan/icfpcontest2021.github.io | ee54acf7d3cadaf4e5e027cbf7d8023c94250a0a | [
"BSD-3-Clause"
] | 4 | 2021-07-12T11:51:02.000Z | 2021-08-03T12:20:16.000Z | DO
$do$
DECLARE
_version INT := 8;
BEGIN
IF EXISTS (SELECT version FROM db_version WHERE version < _version) THEN
CREATE TABLE features (
id BOOL PRIMARY KEY DEFAULT TRUE,
bonuses BOOL NOT NULL DEFAULT FALSE,
-- Only allow a single row.
CONSTRAINT features... | 27.684211 | 76 | 0.631179 |
9357427919e263b0388c54c586b1d5d7f236a291 | 40 | psm1 | PowerShell | modules/AWSPowerShell/Cmdlets/AppMesh/AWS.Tools.AppMesh.Aliases.psm1 | ajsing/aws-tools-for-powershell | 25372542f23afd465fc419c4ec1f6175d7f3dee2 | [
"Apache-2.0"
] | 181 | 2019-03-29T16:45:16.000Z | 2022-03-24T22:46:45.000Z | modules/AWSPowerShell/Cmdlets/AppMesh/AWS.Tools.AppMesh.Aliases.psm1 | lukeenterprise/aws-tools-for-powershell | acc809bc80d092fc1fb2c21780ff9ea06f3d104c | [
"Apache-2.0"
] | 233 | 2019-03-29T12:22:54.000Z | 2022-03-30T08:14:56.000Z | modules/AWSPowerShell/Cmdlets/AppMesh/AWS.Tools.AppMesh.Aliases.psm1 | lukeenterprise/aws-tools-for-powershell | acc809bc80d092fc1fb2c21780ff9ea06f3d104c | [
"Apache-2.0"
] | 70 | 2019-05-09T05:43:10.000Z | 2022-02-22T15:09:32.000Z | # AppMesh
Export-ModuleMember -Alias * | 13.333333 | 28 | 0.75 |
90e62ba00894ce3da4d2bdf065f0a727caee38db | 14,498 | py | Python | source/repositories/create_config.py | stackArmor/compliant-framework-for-federal-and-dod-workloads-in-aws-govcloud-us | 8d2aa7426e352242bbded64e3c6da88199aef025 | [
"Apache-2.0"
] | 36 | 2020-12-22T18:40:50.000Z | 2022-03-23T03:48:13.000Z | source/repositories/create_config.py | stackArmor/compliant-framework-for-federal-and-dod-workloads-in-aws-govcloud-us | 8d2aa7426e352242bbded64e3c6da88199aef025 | [
"Apache-2.0"
] | 10 | 2021-03-01T20:29:10.000Z | 2022-02-15T23:28:58.000Z | source/repositories/create_config.py | stackArmor/compliant-framework-for-federal-and-dod-workloads-in-aws-govcloud-us | 8d2aa7426e352242bbded64e3c6da88199aef025 | [
"Apache-2.0"
] | 17 | 2020-12-18T15:23:15.000Z | 2022-03-20T17:47:39.000Z | ######################################################################################################################
# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. #
# ... | 66.504587 | 190 | 0.628156 |
fbb269e134b451857998f65232a03f87280b6cd5 | 1,620 | java | Java | Software Testing, JUnit, Selenium/HOP/Module 9/startUsingSeleniumWebDriver/src/test/java/com/eviltester/webdriver/MyFirstSafariTest.java | Michael-Wittmann/Other-programs | 7781893a231e2b3af1d80adf19f12d89cf6212a1 | [
"MIT"
] | null | null | null | Software Testing, JUnit, Selenium/HOP/Module 9/startUsingSeleniumWebDriver/src/test/java/com/eviltester/webdriver/MyFirstSafariTest.java | Michael-Wittmann/Other-programs | 7781893a231e2b3af1d80adf19f12d89cf6212a1 | [
"MIT"
] | null | null | null | Software Testing, JUnit, Selenium/HOP/Module 9/startUsingSeleniumWebDriver/src/test/java/com/eviltester/webdriver/MyFirstSafariTest.java | Michael-Wittmann/Other-programs | 7781893a231e2b3af1d80adf19f12d89cf6212a1 | [
"MIT"
] | null | null | null | package com.eviltester.webdriver;
import org.junit.Assert;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.safari.SafariDriver;
public class MyFirstSafariTest {
/**
The following code is for the Safari Driver.
This will only work on a Mac operating system.
... | 26.129032 | 103 | 0.685802 |
2a40b2c13764a53f7eb04f34af3734198e572c22 | 6,011 | java | Java | src/com/jlj/action/VcoreAction.java | dspjlj/wsp | 544c9d263a418458951fffe5c32a8e2fd98f7aeb | [
"Apache-2.0"
] | 1 | 2016-01-06T01:55:01.000Z | 2016-01-06T01:55:01.000Z | src/com/jlj/action/VcoreAction.java | dspjlj/wsp | 544c9d263a418458951fffe5c32a8e2fd98f7aeb | [
"Apache-2.0"
] | null | null | null | src/com/jlj/action/VcoreAction.java | dspjlj/wsp | 544c9d263a418458951fffe5c32a8e2fd98f7aeb | [
"Apache-2.0"
] | null | null | null | package com.jlj.action;
import java.io.PrintWriter;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts2.interceptor.RequestAware;
import org.apache.struts2.interceptor.Ser... | 28.353774 | 86 | 0.745966 |
1814b510be112b4b0fb4c063c56ffb91b401056b | 827 | rb | Ruby | lib/video_cache.rb | vokythoai/funny_movie | 083644f2f9b8375ebaa775a32b9b919b37b38b85 | [
"MIT"
] | 1 | 2022-03-28T11:51:42.000Z | 2022-03-28T11:51:42.000Z | lib/video_cache.rb | vokythoai/funny_movie | 083644f2f9b8375ebaa775a32b9b919b37b38b85 | [
"MIT"
] | null | null | null | lib/video_cache.rb | vokythoai/funny_movie | 083644f2f9b8375ebaa775a32b9b919b37b38b85 | [
"MIT"
] | null | null | null | # VideoCache
module VideoCache
def self.get(key)
json_str = Rails.cache.read(key)
parse_string(json_str)
end
def self.set(key, value)
json_str = to_json(value)
Rails.cache.write(key, value)
rescue => _
nil
end
def self.del(key)
Rails.cache.delete(key)
end
def self.is_numeric?(... | 17.229167 | 81 | 0.662636 |
fb3c76a5c8ece3d27cb18eda800d044997491482 | 3,100 | java | Java | modules/core/src/test/java/be/wegenenverkeer/integration/jdbdc/postgres/AbstractIntegrationTest.java | kwark/atomium | 9e7a5550a6cfe2c2a9edb2c20d4e7eeda88f01a0 | [
"MIT"
] | null | null | null | modules/core/src/test/java/be/wegenenverkeer/integration/jdbdc/postgres/AbstractIntegrationTest.java | kwark/atomium | 9e7a5550a6cfe2c2a9edb2c20d4e7eeda88f01a0 | [
"MIT"
] | null | null | null | modules/core/src/test/java/be/wegenenverkeer/integration/jdbdc/postgres/AbstractIntegrationTest.java | kwark/atomium | 9e7a5550a6cfe2c2a9edb2c20d4e7eeda88f01a0 | [
"MIT"
] | null | null | null | package be.wegenenverkeer.integration.jdbdc.postgres;
import be.wegenenverkeer.atomium.store.CreateEventTableOp;
import be.wegenenverkeer.atomium.store.JdbcDialect;
import be.wegenenverkeer.atomium.store.JdbcEventStoreMetadata;
import be.wegenenverkeer.atomium.store.PostgresDialect;
import org.junit.After;
import org.... | 31.313131 | 134 | 0.662903 |
0bbb2f57dce3a68a0bde786aea5504fe310d9581 | 1,568 | js | JavaScript | bin/system.js | ghosthamlet/lumen | 43e07eac751337aae6c5a378ca7331101489f985 | [
"BSD-2-Clause"
] | 1 | 2019-10-15T18:32:17.000Z | 2019-10-15T18:32:17.000Z | bin/system.js | ghosthamlet/lumen | 43e07eac751337aae6c5a378ca7331101489f985 | [
"BSD-2-Clause"
] | null | null | null | bin/system.js | ghosthamlet/lumen | 43e07eac751337aae6c5a378ca7331101489f985 | [
"BSD-2-Clause"
] | 1 | 2018-07-27T18:36:04.000Z | 2018-07-27T18:36:04.000Z | var fs = require("fs");
var child_process = require("child_process");
var read_file = function (path) {
return fs.readFileSync(path, "utf8");
};
var write_file = function (path, data) {
return fs.writeFileSync(path, data, "utf8");
};
var file_exists63 = function (path) {
return fs.existsSync(path, "utf8") && fs.s... | 30.153846 | 72 | 0.703444 |
4b42014a8cb4e1d877b9bceea8972a24a846db37 | 1,227 | html | HTML | public/index.html | StreamBoard98/WaveformServiceProxy | b10e88813ad2c9ec28e4fd6bd038e7c5b31b877c | [
"MIT"
] | null | null | null | public/index.html | StreamBoard98/WaveformServiceProxy | b10e88813ad2c9ec28e4fd6bd038e7c5b31b877c | [
"MIT"
] | null | null | null | public/index.html | StreamBoard98/WaveformServiceProxy | b10e88813ad2c9ec28e4fd6bd038e7c5b31b877c | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<title>StreamBoardProxy</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ"
crossorigin="anonymous">
<link hre... | 36.088235 | 171 | 0.675632 |
655ca6de4b9e5fb283e7decb9dbeb94ee4dfd662 | 1,872 | rs | Rust | src/geometry/vector.rs | keyvank/pbrusty | e8ee7780eaacaa3da64502a3a63689dd6dac12d4 | [
"MIT"
] | 2 | 2021-11-28T13:06:53.000Z | 2021-11-28T20:51:50.000Z | src/geometry/vector.rs | keyvank/pbrusty | e8ee7780eaacaa3da64502a3a63689dd6dac12d4 | [
"MIT"
] | null | null | null | src/geometry/vector.rs | keyvank/pbrusty | e8ee7780eaacaa3da64502a3a63689dd6dac12d4 | [
"MIT"
] | null | null | null | use std::ops::{Add, Div, Mul, Neg, Sub};
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct Vector {
pub x: f32,
pub y: f32,
pub z: f32,
}
impl Vector {
pub fn new(x: f32, y: f32, z: f32) -> Vector {
Vector { x: x, y: y, z: z }
}
pub fn dot(a: Self, b: Self) -> f32 {
a.x * b.... | 18.72 | 50 | 0.426816 |
46c35895f2b1576cb090406659b6ed8d49fd116a | 983 | html | HTML | src/app/pages/home/featured-courses/featured-courses.component.html | renansigolo/devacademy-website | 88609da1a85a46ea2b96afeb8e5c11917de30af6 | [
"Apache-2.0"
] | null | null | null | src/app/pages/home/featured-courses/featured-courses.component.html | renansigolo/devacademy-website | 88609da1a85a46ea2b96afeb8e5c11917de30af6 | [
"Apache-2.0"
] | null | null | null | src/app/pages/home/featured-courses/featured-courses.component.html | renansigolo/devacademy-website | 88609da1a85a46ea2b96afeb8e5c11917de30af6 | [
"Apache-2.0"
] | null | null | null | <section class="featured-courses">
<h2>Upcoming Courses</h2>
<div class="featured-courses__container">
<ng-container *ngIf="courses; else noCourses">
<mat-card class="card" *ngFor="let course of courses">
<img mat-card-image [src]="course.imageUrl" alt="Course Image" />
<mat-card-title-gr... | 29.787879 | 73 | 0.550356 |
df22c710467c7376560ab1482d7f010cc1967942 | 593 | swift | Swift | iSstp/WindowController.swift | axot/isstp | c4d9ac57b0d3d5b6291371f5909eb1dda2b017d5 | [
"MIT"
] | 40 | 2017-04-26T22:05:35.000Z | 2022-03-27T14:31:10.000Z | iSstp/WindowController.swift | axot/isstp | c4d9ac57b0d3d5b6291371f5909eb1dda2b017d5 | [
"MIT"
] | 18 | 2017-04-27T05:27:45.000Z | 2022-01-20T12:14:50.000Z | iSstp/WindowController.swift | axot/isstp | c4d9ac57b0d3d5b6291371f5909eb1dda2b017d5 | [
"MIT"
] | 11 | 2017-07-30T09:45:37.000Z | 2022-03-09T20:50:43.000Z | //
// WindowController.swift
// iSstp
//
// Created by Zheng Shao on 2/26/15.
// Copyright (c) 2015 axot. All rights reserved.
//
import Cocoa
class WindowController: NSWindowController {
override func awakeFromNib() {
window!.collectionBehavior = NSWindow.CollectionBehavior.canJoinAllSpaces
... | 25.782609 | 163 | 0.703204 |
59b9c43d71a11523a6f4903c429d2a490bfeea4a | 43,579 | hpp | C++ | src/SFML/Graphics/GLLoader.hpp | BlueCobold/SFML | 4add6faf06ca0335ac6d66475c1375c25254ae43 | [
"Zlib"
] | null | null | null | src/SFML/Graphics/GLLoader.hpp | BlueCobold/SFML | 4add6faf06ca0335ac6d66475c1375c25254ae43 | [
"Zlib"
] | null | null | null | src/SFML/Graphics/GLLoader.hpp | BlueCobold/SFML | 4add6faf06ca0335ac6d66475c1375c25254ae43 | [
"Zlib"
] | null | null | null | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages a... | 39.509519 | 152 | 0.851534 |
d784bf6a57ff77916116d7de97f48dccb3c4ef2c | 1,593 | sql | SQL | databasepi.sql | LucasGaldinno/crud-produtos | 4fe392efdc64a1f1c60861eff8b207e75909989d | [
"MIT"
] | null | null | null | databasepi.sql | LucasGaldinno/crud-produtos | 4fe392efdc64a1f1c60861eff8b207e75909989d | [
"MIT"
] | null | null | null | databasepi.sql | LucasGaldinno/crud-produtos | 4fe392efdc64a1f1c60861eff8b207e75909989d | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Tempo de geração: 14-Fev-2022 às 02:22
-- Versão do servidor: 10.4.21-MariaDB
-- versão do PHP: 8.0.12
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_C... | 23.086957 | 67 | 0.666667 |
c32d49f6433035f647d62fa70ce5319e717b7eec | 469 | dart | Dart | lib/services/apis/bookmarks/bookmark_remove_multiple_places_api.dart | juniorise/cambodia_geography_mobile | bb0e9ccee03cd133416bfab306fdeeb4c52b1e13 | [
"MIT"
] | 11 | 2021-07-30T05:38:43.000Z | 2022-02-18T17:35:13.000Z | lib/services/apis/bookmarks/bookmark_remove_multiple_places_api.dart | theacheng/cambodia_geography | bb0e9ccee03cd133416bfab306fdeeb4c52b1e13 | [
"MIT"
] | 75 | 2021-07-23T16:35:20.000Z | 2021-12-09T18:12:42.000Z | lib/services/apis/bookmarks/bookmark_remove_multiple_places_api.dart | juniorise/cambodia_geography_mobile | bb0e9ccee03cd133416bfab306fdeeb4c52b1e13 | [
"MIT"
] | 4 | 2021-09-04T10:21:02.000Z | 2021-12-08T13:19:24.000Z | import 'package:cambodia_geography/services/apis/base_resource_owner_api.dart';
class BookmarkRemoveMultiplePlacesApi extends BaseResourceOwnerApi {
@override
String get nameInUrl => "bookmark/remove_places";
Future<void> removeMultiplePlaces({
required List<String> placeIds,
}) {
return super.delete(... | 21.318182 | 79 | 0.697228 |
a55bdf63ebb53fd4585663a7f98fada793d4d76d | 1,767 | ps1 | PowerShell | PsXLDeploy/Private/Add-Tag.ps1 | Plork/PSXLDeploy | bcc0195466cf9ee922ed979fe0bf0b124f160f66 | [
"Apache-2.0"
] | 1 | 2017-12-12T13:59:32.000Z | 2017-12-12T13:59:32.000Z | PsXLDeploy/Private/Add-Tag.ps1 | Plork/PsXLDeploy | bcc0195466cf9ee922ed979fe0bf0b124f160f66 | [
"Apache-2.0"
] | null | null | null | PsXLDeploy/Private/Add-Tag.ps1 | Plork/PsXLDeploy | bcc0195466cf9ee922ed979fe0bf0b124f160f66 | [
"Apache-2.0"
] | null | null | null | function Add-Tag {
<#
.SYNOPSIS
Add tags to an configuration item.
.DESCRIPTION
Add tags to an configuration item xml.
.PARAMETER ConfigurationItem
The XML body of the configuration item.
.PARAMETER Tags
The XML body ... | 31.553571 | 100 | 0.543294 |
9bc69dd0d7431cc305d757ee7b0623ec8eb205e5 | 1,750 | sql | SQL | src/test/resources/sql-schema.sql | saifr96/New-IMS | 948d1716542b95eced3018143cfa60dc5f3e70e6 | [
"MIT"
] | null | null | null | src/test/resources/sql-schema.sql | saifr96/New-IMS | 948d1716542b95eced3018143cfa60dc5f3e70e6 | [
"MIT"
] | null | null | null | src/test/resources/sql-schema.sql | saifr96/New-IMS | 948d1716542b95eced3018143cfa60dc5f3e70e6 | [
"MIT"
] | null | null | null | DROP TABLE IF EXISTS `customers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `customers` (
`id` int(20) NOT NULL AUTO_INCREMENT,
`first_name` varchar(45) CHARACTER SET latin1 NOT NULL,
`surname` varchar(45) CHARACTER SET latin1 NOT NULL... | 37.234043 | 75 | 0.724571 |
2b730a97f626852b8e0eee8ed4511c56b712cf56 | 30,717 | lua | Lua | src/core/init.lua | richardhundt/shine | c86d1c329c60cf77f413d2b192142dee73fec55c | [
"MIT"
] | 133 | 2015-01-20T15:36:48.000Z | 2022-03-23T06:35:48.000Z | src/core/init.lua | richardhundt/shine | c86d1c329c60cf77f413d2b192142dee73fec55c | [
"MIT"
] | 14 | 2015-01-05T21:02:33.000Z | 2019-11-14T18:05:32.000Z | src/core/init.lua | richardhundt/shine | c86d1c329c60cf77f413d2b192142dee73fec55c | [
"MIT"
] | 16 | 2015-02-09T09:07:22.000Z | 2022-03-06T18:40:32.000Z | --[=[
Copyright (C) 2013-2018 Richard Hundt and contributors.
See Copyright Notice in shine
]=]
local loader = require("shine.lang.loader").loader
table.insert(package.loaders, 1, loader)
local ffi = require('ffi')
local lpeg = require('lpeg')
local null = ffi.cast('void*', 0x0)
local Class
local Range
local Object... | 24.320665 | 90 | 0.577498 |
b1ff5bb10b2d3d2bda51c94ccc3a0cb149f61158 | 4,550 | asm | Assembly | src/tools.asm | drwuro/teleporter64 | aba1ab46fb190441b1dc553c8336267646f8a76d | [
"Unlicense"
] | 3 | 2020-07-01T08:14:52.000Z | 2021-04-19T21:30:34.000Z | src/tools.asm | drwuro/teleporter64 | aba1ab46fb190441b1dc553c8336267646f8a76d | [
"Unlicense"
] | null | null | null | src/tools.asm | drwuro/teleporter64 | aba1ab46fb190441b1dc553c8336267646f8a76d | [
"Unlicense"
] | null | null | null |
;-------------------------------
!zone
;-- clear screen using space characters
;--
clear_screen
lda #$20 ;-- space character
ldx #$00
.loop
sta SCR_BASE, x
sta SCR_BASE + $100, x
sta SCR_BASE + $200, x
sta SCR_BASE + $300, x
dex
bne .loop
rts
;----------------------------... | 15.371622 | 82 | 0.492967 |
680c60814ab5c97b1efc6474ef0e42d3dc7092a7 | 1,282 | hpp | C++ | ServerPipe.hpp | chrisoldwood/NCL | d57e50ffecddee5c422b6d4cbbadeeb6c65411e9 | [
"MIT"
] | 8 | 2015-02-12T00:41:19.000Z | 2020-09-11T13:14:05.000Z | ServerPipe.hpp | chrisoldwood/NCL | d57e50ffecddee5c422b6d4cbbadeeb6c65411e9 | [
"MIT"
] | null | null | null | ServerPipe.hpp | chrisoldwood/NCL | d57e50ffecddee5c422b6d4cbbadeeb6c65411e9 | [
"MIT"
] | 4 | 2017-04-27T14:25:06.000Z | 2020-07-23T10:54:29.000Z | /******************************************************************************
** (C) Chris Oldwood
**
** MODULE: SERVERPIPE.HPP
** COMPONENT: Network & Comms Library
** DESCRIPTION: The CServerPipe class declaration.
**
*******************************************************************************
*/
// Check for ... | 19.424242 | 79 | 0.427457 |
941b6ea731581eb7dae5d7b409af5672bb25c64e | 1,933 | cpp | C++ | examples/server.cpp | gridem/Synca | 8ae652c8b57f0bb2d4a3145d47a76e1d10498974 | [
"Apache-2.0"
] | 116 | 2015-02-27T11:30:56.000Z | 2021-05-26T20:35:56.000Z | examples/server.cpp | gridem/Synca | 8ae652c8b57f0bb2d4a3145d47a76e1d10498974 | [
"Apache-2.0"
] | 3 | 2016-09-11T11:08:49.000Z | 2018-03-19T10:38:57.000Z | examples/server.cpp | gridem/Synca | 8ae652c8b57f0bb2d4a3145d47a76e1d10498974 | [
"Apache-2.0"
] | 17 | 2015-09-06T07:00:50.000Z | 2019-06-01T08:13:16.000Z | /*
* Copyright 2014 Grigory Demchenko (aka gridem)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | 24.468354 | 75 | 0.527677 |
c5bb62ef2c29e42a964be5fda2febc9314ad2549 | 1,120 | cpp | C++ | src/CoreLib/Components/ScriptComponent.cpp | demacedius/BurgWar | 4749db9d7037031d164ae6320bf17179d6167a69 | [
"MIT"
] | 45 | 2018-09-29T14:16:04.000Z | 2022-03-10T18:53:58.000Z | src/CoreLib/Components/ScriptComponent.cpp | demacedius/BurgWar | 4749db9d7037031d164ae6320bf17179d6167a69 | [
"MIT"
] | 46 | 2019-12-22T17:29:41.000Z | 2022-03-20T14:15:06.000Z | src/CoreLib/Components/ScriptComponent.cpp | demacedius/BurgWar | 4749db9d7037031d164ae6320bf17179d6167a69 | [
"MIT"
] | 19 | 2018-09-29T11:53:25.000Z | 2022-01-14T17:00:07.000Z | // Copyright (C) 2020 Jérôme Leclercq
// This file is part of the "Burgwar" project
// For conditions of distribution and use, see copyright notice in LICENSE
#include <CoreLib/Components/ScriptComponent.hpp>
namespace bw
{
ScriptComponent::ScriptComponent(const Logger& logger, std::shared_ptr<const ScriptedElement>... | 29.473684 | 201 | 0.780357 |
8a35b36d46d64f49d0a3aeafe1e3aa0d042d5711 | 615 | rs | Rust | src/test/ui/issues/issue-53675-a-test-called-panic.rs | komaeda/rust | b2c6b8c29f13f8d1f242da89e587960b95337819 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 518 | 2015-08-13T08:50:23.000Z | 2020-07-23T19:52:51.000Z | src/test/ui/issues/issue-53675-a-test-called-panic.rs | komaeda/rust | b2c6b8c29f13f8d1f242da89e587960b95337819 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 157 | 2015-08-09T12:52:55.000Z | 2020-07-19T20:02:52.000Z | src/test/ui/issues/issue-53675-a-test-called-panic.rs | komaeda/rust | b2c6b8c29f13f8d1f242da89e587960b95337819 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 29 | 2015-09-06T00:03:53.000Z | 2020-04-05T10:05:38.000Z | // rust-lang/rust#53675: At one point the compiler errored when a test
// named `panic` used the `assert!` macro in expression position.
// compile-pass
// compile-flags: --test
mod in_expression_position {
#[test]
fn panic() {
assert!(true)
}
}
mod in_statement_position {
#[test]
fn pani... | 16.621622 | 70 | 0.598374 |
a5c0f214b341dcd0bc9a29c2c1f50f12b7fddc92 | 544 | lua | Lua | mainHost/SublarmsOS/utils/OpenRednet.lua | enlim/SublarmsOS | 9875db311c247b9926fe954d9357138985a00b69 | [
"MIT"
] | null | null | null | mainHost/SublarmsOS/utils/OpenRednet.lua | enlim/SublarmsOS | 9875db311c247b9926fe954d9357138985a00b69 | [
"MIT"
] | null | null | null | mainHost/SublarmsOS/utils/OpenRednet.lua | enlim/SublarmsOS | 9875db311c247b9926fe954d9357138985a00b69 | [
"MIT"
] | null | null | null | function openRednet()
local listOfSides = rs.getSides()
local listOfPoss = {}
local count = 0
while true do
count = count + 1
if peripheral.isPresent(tostring(listOfSides[count])) and peripheral.getType(listOfSides[count]) == "modem" then
table.insert(listOfPoss, tostring(listOfSides[count]))
... | 23.652174 | 116 | 0.659926 |
281a73113e5ee6c38a240698a1a55fdaa6c181aa | 683 | go | Go | dns/question_test.go | jordanabderrachid/dns | 6b83c9fad65a49a13516277f02b26bca50dd9311 | [
"MIT"
] | 1 | 2017-10-08T09:45:19.000Z | 2017-10-08T09:45:19.000Z | dns/question_test.go | jordanabderrachid/dns | 6b83c9fad65a49a13516277f02b26bca50dd9311 | [
"MIT"
] | null | null | null | dns/question_test.go | jordanabderrachid/dns | 6b83c9fad65a49a13516277f02b26bca50dd9311 | [
"MIT"
] | null | null | null | package dns_test
import "testing"
import "github.com/jordanabderrachid/dns/dns"
import "bytes"
func TestQuestionToBytes(t *testing.T) {
n := dns.Name{}
n.SetName("foo")
var cases = []struct {
q dns.Question
expected []byte
}{
{
dns.Question{Name: n},
[]byte{3, 102, 111, 111, 0, 0, 0, 0, 0},
... | 20.088235 | 93 | 0.61347 |
f2cb7983e83e6f06c9413bf9880a390b7774db59 | 1,949 | swift | Swift | SwipeTest/CardView.swift | AleksandrTsvetkov/SwipeAnimations | de163c6f6c028fe6b8b003a1c0b4440fc4b48744 | [
"MIT"
] | null | null | null | SwipeTest/CardView.swift | AleksandrTsvetkov/SwipeAnimations | de163c6f6c028fe6b8b003a1c0b4440fc4b48744 | [
"MIT"
] | null | null | null | SwipeTest/CardView.swift | AleksandrTsvetkov/SwipeAnimations | de163c6f6c028fe6b8b003a1c0b4440fc4b48744 | [
"MIT"
] | null | null | null | //
// CardView.swift
// SwipeTest
//
// Created by Александр Цветков on 05.06.2020.
// Copyright © 2020 Александр Цветков. All rights reserved.
//
import UIKit
class CardView: UIView {
private let shadowView: UIView = {
let view = UIView()
view.backgroundColor = .systemTeal
view.l... | 33.033898 | 79 | 0.652129 |
c7f2ecac43c70a76efbb09f6948b0e0742fe69c3 | 2,803 | py | Python | fedml_api/distributed/fedavg_robust/FedAvgRobustAPI.py | GabriJP/FedML | 9ccf52baddc065bf9cf3ca8ae2eeaadbc338e988 | [
"Apache-2.0"
] | null | null | null | fedml_api/distributed/fedavg_robust/FedAvgRobustAPI.py | GabriJP/FedML | 9ccf52baddc065bf9cf3ca8ae2eeaadbc338e988 | [
"Apache-2.0"
] | null | null | null | fedml_api/distributed/fedavg_robust/FedAvgRobustAPI.py | GabriJP/FedML | 9ccf52baddc065bf9cf3ca8ae2eeaadbc338e988 | [
"Apache-2.0"
] | null | null | null | from mpi4py import MPI
from fedml_api.distributed.fedavg_robust.FedAvgRobustAggregator import FedAvgRobustAggregator
from fedml_api.distributed.fedavg_robust.FedAvgRobustClientManager import FedAvgRobustClientManager
from fedml_api.distributed.fedavg_robust.FedAvgRobustServerManager import FedAvgRobustServerManager
fr... | 53.903846 | 117 | 0.738851 |
6caa1bf18cdefac6a7e1e0bd4f706b84639a0b64 | 468 | go | Go | 434-number-of-segments-in-a-string/number-of-segments-in-a-string.go | robotLJW/leetcode-golang | 5361c620f72cc66c98ce3546c328f6f189700dbc | [
"Apache-2.0"
] | null | null | null | 434-number-of-segments-in-a-string/number-of-segments-in-a-string.go | robotLJW/leetcode-golang | 5361c620f72cc66c98ce3546c328f6f189700dbc | [
"Apache-2.0"
] | null | null | null | 434-number-of-segments-in-a-string/number-of-segments-in-a-string.go | robotLJW/leetcode-golang | 5361c620f72cc66c98ce3546c328f6f189700dbc | [
"Apache-2.0"
] | null | null | null | package _34_number_of_segments_in_a_string
func countSegments(s string) int {
count := 0
isBlank, isWord := false, false
for i := 0; i < len(s); i++ {
if s[i] == ' ' {
if isBlank == true {
continue
} else {
if isWord == true {
count++
isWord = false
}
isBlank = true
}
} else {... | 15.096774 | 42 | 0.542735 |
65380b922221efe3ab83a1ce124526460a9adeeb | 10,392 | py | Python | lewansoul-lx16a/lewansoul_lx16a.py | christophschnabl/lewansoul-lx16a | fc92dc3470bc12353576bae00f6bc0873c753a7a | [
"MIT"
] | 2 | 2019-10-22T10:37:56.000Z | 2020-01-19T20:43:45.000Z | lewansoul-lx16a/lewansoul_lx16a.py | christophschnabl/lewansoul-lx16a | fc92dc3470bc12353576bae00f6bc0873c753a7a | [
"MIT"
] | null | null | null | lewansoul-lx16a/lewansoul_lx16a.py | christophschnabl/lewansoul-lx16a | fc92dc3470bc12353576bae00f6bc0873c753a7a | [
"MIT"
] | 1 | 2022-01-05T08:20:38.000Z | 2022-01-05T08:20:38.000Z | __all__ = [
'ServoController',
'TimeoutError',
'SERVO_ERROR_OVER_TEMPERATURE',
'SERVO_ERROR_OVER_VOLTAGE',
'SERVO_ERROR_LOCKED_ROTOR',
]
from serial.serialutil import *
from functools import partial
import threading
import logging
SERVO_ID_ALL = 0xfe
SERVO_MOVE_TIME_WRITE = 1
SERVO_MOVE_TIME_R... | 32.373832 | 84 | 0.647998 |
fecdd319d6b72fdd1bc454d49da3927ef521f390 | 58,493 | html | HTML | dotNET/pdfclown.lib/build/docs/api/a00418.html | XoriantOpenSource/PDFClown | ed4eb7b74c7b6702ae13f1fc4891c9fff73b877c | [
"Apache-2.0"
] | 2 | 2020-11-18T12:41:50.000Z | 2021-12-01T18:10:45.000Z | dotNET/pdfclown.lib/build/docs/api/a00418.html | XoriantOpenSource/PDFClown | ed4eb7b74c7b6702ae13f1fc4891c9fff73b877c | [
"Apache-2.0"
] | null | null | null | dotNET/pdfclown.lib/build/docs/api/a00418.html | XoriantOpenSource/PDFClown | ed4eb7b74c7b6702ae13f1fc4891c9fff73b877c | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>PDF Clown 0.1.2: org.pdfclown.tokens.XRefStream Class Reference</title>... | 56.78932 | 1,850 | 0.666199 |
4b3e03dd9fd72941bee2e30af4b3fca990bf4c6e | 1,073 | html | HTML | angular/src/app/components/nav/nav.component.html | MrCerealKiller/agros_gui | 83406c7b2f0c331f0513df853e7b78e3a45c4625 | [
"MIT"
] | 6 | 2019-07-30T01:40:45.000Z | 2021-08-03T14:45:36.000Z | angular/src/app/components/nav/nav.component.html | MrCerealKiller/agros_gui | 83406c7b2f0c331f0513df853e7b78e3a45c4625 | [
"MIT"
] | 6 | 2019-06-05T07:03:20.000Z | 2022-02-17T21:44:04.000Z | angular/src/app/components/nav/nav.component.html | MrCerealKiller/agros_gui | 83406c7b2f0c331f0513df853e7b78e3a45c4625 | [
"MIT"
] | 2 | 2020-11-20T07:17:16.000Z | 2021-05-28T13:15:23.000Z | <!-- Navbar -->
<nav class="px-4 navbar navbar-expand-lg navbar-light bg-light sticky-top">
<a class="navbar-brand" href="/">
<img src="/assets/brandmark_name.png" height="40" width="160" class="d-inline-block align-top" alt="">
</a>
<form class="navbar-form mx-auto form-inline mx-1" (submit)=connect() style... | 39.740741 | 150 | 0.629077 |
ffdc3dcf0b7cb234dad3eb45d0973457bc49a133 | 4,100 | html | HTML | src/options.html | rinepoyo/youtube-moderator-watcher | db3574cc2e28c7fb1058071bf40da273c8c4463e | [
"MIT"
] | null | null | null | src/options.html | rinepoyo/youtube-moderator-watcher | db3574cc2e28c7fb1058071bf40da273c8c4463e | [
"MIT"
] | null | null | null | src/options.html | rinepoyo/youtube-moderator-watcher | db3574cc2e28c7fb1058071bf40da273c8c4463e | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="options.css">
<link rel="stylesheet" href="lib/materialize.min.css">
</head>
<body>
<div class="container">
<div class="row">
<form class="col s12">
<div class="row">
... | 49.39759 | 117 | 0.362683 |
9698b6761dda54bee44fd47386ebe878c74c69e5 | 204 | cpp | C++ | src/codec_image_transport/src/manifest.cpp | new2me321/tello_ws | 4bece3c027cbdbac036a202891380c9937f3320a | [
"Apache-2.0"
] | null | null | null | src/codec_image_transport/src/manifest.cpp | new2me321/tello_ws | 4bece3c027cbdbac036a202891380c9937f3320a | [
"Apache-2.0"
] | null | null | null | src/codec_image_transport/src/manifest.cpp | new2me321/tello_ws | 4bece3c027cbdbac036a202891380c9937f3320a | [
"Apache-2.0"
] | null | null | null | #include <decoding_image_transport/decoding_subscribers.hpp>
#include <pluginlib/class_list_macros.h>
PLUGINLIB_EXPORT_CLASS(decoding_image_transport::H264Subscriber, image_transport::SubscriberPlugin);
| 40.8 | 100 | 0.877451 |
48839428acbedd6ca081d4c2c8528cfd513731aa | 1,114 | kt | Kotlin | app/src/main/java/com/qm/cleanmodule/ui/fragment/home/HomeRepository.kt | Qenawi/youtube | 1ed75a280f652d8cc63f625da2b30649317308ac | [
"MIT"
] | null | null | null | app/src/main/java/com/qm/cleanmodule/ui/fragment/home/HomeRepository.kt | Qenawi/youtube | 1ed75a280f652d8cc63f625da2b30649317308ac | [
"MIT"
] | null | null | null | app/src/main/java/com/qm/cleanmodule/ui/fragment/home/HomeRepository.kt | Qenawi/youtube | 1ed75a280f652d8cc63f625da2b30649317308ac | [
"MIT"
] | null | null | null | package com.qm.cleanmodule.ui.fragment.home
import androidx.lifecycle.LiveDataReactiveStreams
import androidx.lifecycle.MediatorLiveData
import com.google.gson.annotations.SerializedName
import com.qm.cleanmodule.base.network.HandleResponseData
import com.qm.cleanmodule.base.network.IsRepo
import com.qm.cleanmodule.ba... | 35.935484 | 87 | 0.839318 |
7b202a8c9fb3509a45a82c2a97f6d0e2af0cb903 | 883 | sql | SQL | migrations/020.create-recipes_ingredients.sql | Modern-Knowledge/serious-game-backend | b1c55d7951c0b416401076dc87843a24a096f971 | [
"MIT"
] | null | null | null | migrations/020.create-recipes_ingredients.sql | Modern-Knowledge/serious-game-backend | b1c55d7951c0b416401076dc87843a24a096f971 | [
"MIT"
] | null | null | null | migrations/020.create-recipes_ingredients.sql | Modern-Knowledge/serious-game-backend | b1c55d7951c0b416401076dc87843a24a096f971 | [
"MIT"
] | null | null | null | CREATE TABLE IF NOT EXISTS `recipes_ingredients`
(
`recipe_id` INT(11) NOT NULL,
`ingredient_id` INT(11) NOT NULL,
`created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
`modified_at` TIMESTAMP NULL,
PRIMARY KEY (`recipe_id`, `ingredient_id`),
INDEX `fk_recipes_has_ingredients_i... | 40.136364 | 78 | 0.670442 |
943ec3f5cca818ba7e545474798368bce897b2e5 | 2,342 | cc | C++ | chrome/browser/media_galleries/fileapi/picasa/pmp_table_reader.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-02-03T05:19:48.000Z | 2021-11-15T15:07:21.000Z | chrome/browser/media_galleries/fileapi/picasa/pmp_table_reader.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/media_galleries/fileapi/picasa/pmp_table_reader.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/media_galleries/fileapi/picasa/pmp_table_reader.h"
#include <algorithm>
#include "base/file_util.h"
#include "base/logging.h"
#... | 29.64557 | 79 | 0.743382 |
e982538c38711f1278ddf5b77920223b78debfa1 | 3,996 | rs | Rust | src/materialized/src/http.rs | benLogN/materialize | 944d0e7c3b3268c5232d3b060be986cbd09c6afd | [
"MIT"
] | 1 | 2021-06-10T18:35:27.000Z | 2021-06-10T18:35:27.000Z | src/materialized/src/http.rs | benLogN/materialize | 944d0e7c3b3268c5232d3b060be986cbd09c6afd | [
"MIT"
] | null | null | null | src/materialized/src/http.rs | benLogN/materialize | 944d0e7c3b3268c5232d3b060be986cbd09c6afd | [
"MIT"
] | null | null | null | // Copyright Materialize, Inc. All rights reserved.
//
// Use of this software is governed by the Business Source License
// included in the LICENSE file.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License... | 32.487805 | 97 | 0.594094 |
0a50e8c0a5e6e49291842317c00dc170f7c849fe | 42,046 | sql | SQL | common/config/dump.sql | YegorSS/nedesign | 47fb130874043fd07fd095eb8c81096890d46a97 | [
"BSD-3-Clause"
] | null | null | null | common/config/dump.sql | YegorSS/nedesign | 47fb130874043fd07fd095eb8c81096890d46a97 | [
"BSD-3-Clause"
] | null | null | null | common/config/dump.sql | YegorSS/nedesign | 47fb130874043fd07fd095eb8c81096890d46a97 | [
"BSD-3-Clause"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.0.10deb1
-- http://www.phpmyadmin.net
--
-- Хост: localhost
-- Время создания: Сен 25 2015 г., 09:39
-- Версия сервера: 5.5.44-0ubuntu0.14.04.1
-- Версия PHP: 5.5.9-1ubuntu4.11
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT... | 60.41092 | 5,287 | 0.720901 |
b40fdd656aad5d5bfe7795e1a34f65446e3cfd89 | 2,035 | swift | Swift | cocktailMaker/Model/CocktailResults.swift | clc80/clc_80-yahoo.com | 80392360c3869e160a4cbac4adfbe6d27c1bd5d8 | [
"MIT"
] | 1 | 2020-12-05T21:53:45.000Z | 2020-12-05T21:53:45.000Z | cocktailMaker/Model/CocktailResults.swift | clc80/clc_80-yahoo.com | 80392360c3869e160a4cbac4adfbe6d27c1bd5d8 | [
"MIT"
] | null | null | null | cocktailMaker/Model/CocktailResults.swift | clc80/clc_80-yahoo.com | 80392360c3869e160a4cbac4adfbe6d27c1bd5d8 | [
"MIT"
] | 1 | 2020-11-22T06:38:09.000Z | 2020-11-22T06:38:09.000Z | //
// CocktailResults.swift
// cocktailMaker
//
// Created by Claudia Contreras on 3/25/20.
// Copyright © 2020 thecoderpilot. All rights reserved.
//
import Foundation
struct CocktailResults: Codable {
let drinkName: String
let imageString: String
let ingredient1: String?
let ingredient2: St... | 28.263889 | 56 | 0.661425 |
877c73442b3e712483bcf94d2052aeefc91639c4 | 456 | html | HTML | postfix/help/opt_relocated_maps.nl.html | GalaxyGFX/webmin | 134311032e3e69a6f7386648733a3a65c9a3ba1d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1,863 | 2015-01-04T21:45:45.000Z | 2022-03-30T09:10:50.000Z | postfix/help/opt_relocated_maps.nl.html | GalaxyGFX/webmin | 134311032e3e69a6f7386648733a3a65c9a3ba1d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1,233 | 2015-01-03T12:45:51.000Z | 2022-03-31T02:39:58.000Z | postfix/help/opt_relocated_maps.nl.html | GalaxyGFX/webmin | 134311032e3e69a6f7386648733a3a65c9a3ba1d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 546 | 2015-01-05T13:07:28.000Z | 2022-03-25T21:47:51.000Z | <header>"Gebruiker is verplaatst naar de nieuwe locatie" tabellen</header>
<center><tt>relocated_maps</tt></center>
<hr>
Deze parameter specificeert de optionele tabellen met contact informatie van
gebruikers, hosts of domeinen die niet langer bestaan.
Bekijk de <a href=relocated>Verplaatste Mapping</a> voo... | 24 | 84 | 0.776316 |
af40c186fa956e02fd53ceb4b8bc41f0d09a5cb6 | 619 | swift | Swift | Day 14/Optional chaining.playground/Contents.swift | PetroOnishchuk/100-Days-Of-SwiftUI | 21d16e893bedc3b1bfa87bd61d54e10b0eaea0ef | [
"MIT"
] | 55 | 2020-01-13T13:34:06.000Z | 2022-03-14T22:01:33.000Z | Day 14/Optional chaining.playground/Contents.swift | PetroOnishchuk/100-Days-Of-SwiftUI | 21d16e893bedc3b1bfa87bd61d54e10b0eaea0ef | [
"MIT"
] | 1 | 2020-04-09T12:24:04.000Z | 2020-04-09T12:25:33.000Z | Day 14/Optional chaining.playground/Contents.swift | PetroOnishchuk/100-Days-Of-SwiftUI | 21d16e893bedc3b1bfa87bd61d54e10b0eaea0ef | [
"MIT"
] | 7 | 2020-06-29T11:07:45.000Z | 2022-03-18T17:14:24.000Z | import UIKit
// Optional chaining
func albumReleased(year: Int) -> String? {
switch year {
case 2006: return "Taylor Swift"
case 2008: return "Fearless"
case 2010: return "Speak Now"
case 2012: return "Red"
case 2014: return "1989"
default: return nil
}
}
let album = albumReleased(y... | 17.194444 | 52 | 0.667205 |
90ad0bad03dd29d5860d4c5c328b1ce5090025fc | 12,304 | py | Python | PipePyper/PipePyper.py | HongYuzhuang/PipePyper | 4da40855b88ce8b8e3b6f97ea639f2e26cf97b50 | [
"MIT"
] | null | null | null | PipePyper/PipePyper.py | HongYuzhuang/PipePyper | 4da40855b88ce8b8e3b6f97ea639f2e26cf97b50 | [
"MIT"
] | null | null | null | PipePyper/PipePyper.py | HongYuzhuang/PipePyper | 4da40855b88ce8b8e3b6f97ea639f2e26cf97b50 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on 2019-04-04 15:19:40.729834
@author: 洪宇庄
"""
import sys
import time
import random
from functools import partial,reduce
from .mytools import parseDate,timeAJ,logger,chainElements
import multiprocessing
from multiprocessing import Process,Queue,Manager
class ... | 23.525813 | 176 | 0.648244 |
9e80c7100ef750945ba7d9168a27ac7d69dbebb9 | 2,599 | rs | Rust | src/keys/x25519.rs | fossabot/crypto.rs | 58b4fd50b32e6e2f929530d03fbb1b5f6d4d87e3 | [
"Apache-2.0"
] | null | null | null | src/keys/x25519.rs | fossabot/crypto.rs | 58b4fd50b32e6e2f929530d03fbb1b5f6d4d87e3 | [
"Apache-2.0"
] | null | null | null | src/keys/x25519.rs | fossabot/crypto.rs | 58b4fd50b32e6e2f929530d03fbb1b5f6d4d87e3 | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0
// https://tools.ietf.org/html/rfc7748
// https://cr.yp.to/ecdh/curve25519-20060209.pdf
// nomenclature compromise:
// RFC7748 Bernstein's 2006 paper
// scalar/u secret/public
// X25519 Curve25519
use core::convert::TryInto;
pub const PUBL... | 29.873563 | 104 | 0.619469 |
8791d9ab2bf4d9f1c11497719fc233b77c410c7b | 86,232 | html | HTML | mutation_results-DEFAULTS/empire-db/empire-db-org.apache.empire.db.DBCommandTest/202008121241/org.apache.empire.db.expr.column/DBAliasExpr.java.html | dormaayan/mutation-analysis | cf57477e45a4e51a528eae0de9facd181577f087 | [
"MIT"
] | null | null | null | mutation_results-DEFAULTS/empire-db/empire-db-org.apache.empire.db.DBCommandTest/202008121241/org.apache.empire.db.expr.column/DBAliasExpr.java.html | dormaayan/mutation-analysis | cf57477e45a4e51a528eae0de9facd181577f087 | [
"MIT"
] | null | null | null | mutation_results-DEFAULTS/empire-db/empire-db-org.apache.empire.db.DBCommandTest/202008121241/org.apache.empire.db.expr.column/DBAliasExpr.java.html | dormaayan/mutation-analysis | cf57477e45a4e51a528eae0de9facd181577f087 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<h1>DBAliasExpr.java</h1>
<table class="src">
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@c9a71ac_1'/>
1
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mu... | 24.120839 | 507 | 0.6648 |
2da95b725a07b7eb835799dd74690ff87dde62d7 | 664 | html | HTML | WebGUI/templates/about.html | soum-io/hackillinois2018 | 231787c6ac08b80e88ead96894a33fadfabaeae7 | [
"Unlicense"
] | 1 | 2019-10-29T07:16:18.000Z | 2019-10-29T07:16:18.000Z | WebGUI/templates/about.html | soum-io/hackillinois2018 | 231787c6ac08b80e88ead96894a33fadfabaeae7 | [
"Unlicense"
] | null | null | null | WebGUI/templates/about.html | soum-io/hackillinois2018 | 231787c6ac08b80e88ead96894a33fadfabaeae7 | [
"Unlicense"
] | null | null | null | {% extends "layout.html" %}
{% block content %}
<main class="about-section">
<div class="container">
<div class="topnav" id="myTopnav">
<a href="{{ url_for('login') }}">Login</a>
<a href="{{ url_for('signup') }}">Sign up</a>
<a class="active" href="{{ url_for('about') }}">About</a... | 34.947368 | 140 | 0.599398 |
32cea0b548408d43aa0b12e57c701ed07dd26c89 | 2,055 | ps1 | PowerShell | Examples/Example31-NestedTabs/Example31-Tabbing.ps1 | RussPitcher/PSWriteHTML | 3b4b60a7bf2814cbc4dc6265a569de164ef055a9 | [
"MIT"
] | 508 | 2018-12-18T15:53:09.000Z | 2022-03-31T00:55:53.000Z | Examples/Example31-NestedTabs/Example31-Tabbing.ps1 | RussPitcher/PSWriteHTML | 3b4b60a7bf2814cbc4dc6265a569de164ef055a9 | [
"MIT"
] | 230 | 2018-12-17T16:50:38.000Z | 2022-03-04T18:30:02.000Z | Examples/Example31-NestedTabs/Example31-Tabbing.ps1 | RussPitcher/PSWriteHTML | 3b4b60a7bf2814cbc4dc6265a569de164ef055a9 | [
"MIT"
] | 100 | 2018-12-17T10:37:51.000Z | 2022-03-24T16:44:45.000Z | Import-Module .\PSWriteHTML.psd1 -Force
$Forest = Get-ADForest
New-HTML -TitleText 'My Title' -FilePath $PSScriptRoot\Example31-Tabbing.html -ShowHTML {
New-HTMLTabStyle -SelectorColor Grey
foreach ($Domain in $Forest.Domains) {
$Objects = @(
Get-ADComputer -Server $Domain -Filter * -Prop... | 58.714286 | 276 | 0.627737 |
ba81f771bba0cf7352dcc4ff33b18ba20c3cae06 | 1,755 | kt | Kotlin | src/main/kotlin/de/tweerlei/plumber/worker/jdbc/JdbcTemplateFactory.kt | tweerlei/plumber | 35611a1c4ce10cf28aa19fba7e8ee0cb076b4c9e | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/de/tweerlei/plumber/worker/jdbc/JdbcTemplateFactory.kt | tweerlei/plumber | 35611a1c4ce10cf28aa19fba7e8ee0cb076b4c9e | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/de/tweerlei/plumber/worker/jdbc/JdbcTemplateFactory.kt | tweerlei/plumber | 35611a1c4ce10cf28aa19fba7e8ee0cb076b4c9e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2022 tweerlei Wruck + Buchmeier GbR - http://www.tweerlei.de/
*
* 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
*
* Unl... | 35.1 | 75 | 0.690598 |
f9c78ebc51130d53d84bef152cbfb3ea35eb5dad | 2,875 | sql | SQL | sql/delete_pk_test.sql | pjungwir/time_for_keys | d63e5d2884bb91151bcd28cf36c57c199086544b | [
"MIT"
] | 12 | 2018-07-10T09:57:11.000Z | 2022-02-05T13:49:31.000Z | sql/delete_pk_test.sql | pjungwir/time_for_keys | d63e5d2884bb91151bcd28cf36c57c199086544b | [
"MIT"
] | null | null | null | sql/delete_pk_test.sql | pjungwir/time_for_keys | d63e5d2884bb91151bcd28cf36c57c199086544b | [
"MIT"
] | null | null | null | INSERT INTO houses VALUES
(1, 150000, tstzrange('2015-01-01', '2016-01-01')),
(1, 200000, tstzrange('2016-01-01', '2017-01-01')),
(2, 300000, tstzrange('2015-01-01', '2016-01-01')),
(3, 100000, tstzrange('2014-01-01', '2015-01-01')),
(3, 200000, tstzrange('2015-01-01', null))
;
-- ON DELETE RESTRICT
SELEC... | 38.333333 | 116 | 0.711304 |