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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
359c7530e18bb41404a4f57790f6e33bfd2f66d5 | 550 | sql | SQL | Log4Net/DAL/VS2012DatabaseProject/Pre Deployment/PreDeployment.sql | ntierontime/Log4Net | 913953147a1f311f6adc3b1ed9534184fd93fe86 | [
"MIT"
] | 3 | 2016-06-13T02:21:56.000Z | 2018-08-24T19:54:06.000Z | Log4Net/DAL/VS2012DatabaseProject/Pre Deployment/PreDeployment.sql | ntierontime/Log4Net | 913953147a1f311f6adc3b1ed9534184fd93fe86 | [
"MIT"
] | null | null | null | Log4Net/DAL/VS2012DatabaseProject/Pre Deployment/PreDeployment.sql | ntierontime/Log4Net | 913953147a1f311f6adc3b1ed9534184fd93fe86 | [
"MIT"
] | null | null | null | --Delete all data in all tables
EXEC sp_MSForEachTable 'ALTER TABLE ? NOCHECK CONSTRAINT ALL'
EXEC sp_MSForEachTable 'DELETE FROM ?'
EXEC sp_MSForEachTable 'ALTER TABLE ? CHECK CONSTRAINT ALL'
--reseed all tables with identity columns
declare @reseedsql nvarchar(MAX) = N'';
SELECT @reseedsql += N'
DBCC CHECKID... | 25 | 70 | 0.745455 |
d8a71f4e2d485b4e2f2e6f930a72e83dcd7d1c82 | 579 | sql | SQL | SQL/SQLServer/Strings/string-agg.sql | James-McNeill/Medium | 696a41456a979c64a15553f6e770dfd2c86f7471 | [
"MIT"
] | null | null | null | SQL/SQLServer/Strings/string-agg.sql | James-McNeill/Medium | 696a41456a979c64a15553f6e770dfd2c86f7471 | [
"MIT"
] | null | null | null | SQL/SQLServer/Strings/string-agg.sql | James-McNeill/Medium | 696a41456a979c64a15553f6e770dfd2c86f7471 | [
"MIT"
] | null | null | null | SELECT
company,
- Create a list with all bean origins
STRING_AGG(bean_origin, ',') AS bean_origins
FROM ratings
WHERE company IN ('Bar Au Chocolat', 'Chocolate Con Amor', 'East Van Roasters')
- Specify the columns used for grouping your data
GROUP BY company;
SELECT
company,
- Create a list with all bean origins ordere... | 34.058824 | 80 | 0.777202 |
90b2136a2ff5c6e0094f2c78d11a380011337765 | 4,457 | py | Python | malcolm/modules/adUtil/parts/reframepluginpart.py | thomascobb/pymalcolm | 801f8fe6217c0c028b5edc87fa0aef9d60b91d9d | [
"Apache-2.0"
] | null | null | null | malcolm/modules/adUtil/parts/reframepluginpart.py | thomascobb/pymalcolm | 801f8fe6217c0c028b5edc87fa0aef9d60b91d9d | [
"Apache-2.0"
] | null | null | null | malcolm/modules/adUtil/parts/reframepluginpart.py | thomascobb/pymalcolm | 801f8fe6217c0c028b5edc87fa0aef9d60b91d9d | [
"Apache-2.0"
] | null | null | null | from typing import Any
from annotypes import Anno, add_call_types
from scanpointgenerator import CompoundGenerator
from malcolm.core import Context, PartRegistrar
from malcolm.modules import ADCore, builtin, scanning
with Anno("Sample frequency of ADC signal in Hz"):
ASampleFreq = float
with Anno("Is the input ... | 37.453782 | 88 | 0.637424 |
47425c728bcd19f7ec3f581243971ce646102180 | 1,337 | kt | Kotlin | Service/src/main/java/uk/co/armedpineapple/innoextract/service/SpeedCalculator.kt | alanwoolley/innoextract-android | 0c195c2b037f16495ad96d402d5eb49912c26b50 | [
"Apache-2.0"
] | 16 | 2015-04-27T00:12:56.000Z | 2022-01-05T01:52:56.000Z | Service/src/main/java/uk/co/armedpineapple/innoextract/service/SpeedCalculator.kt | alanwoolley/innoextract-android | 0c195c2b037f16495ad96d402d5eb49912c26b50 | [
"Apache-2.0"
] | 1 | 2021-12-11T00:36:35.000Z | 2022-01-11T15:39:01.000Z | Service/src/main/java/uk/co/armedpineapple/innoextract/service/SpeedCalculator.kt | alanwoolley/innoextract-android | 0c195c2b037f16495ad96d402d5eb49912c26b50 | [
"Apache-2.0"
] | 7 | 2015-02-28T01:38:22.000Z | 2019-07-13T13:36:36.000Z | package uk.co.armedpineapple.innoextract.service
class SpeedCalculator {
private var lastTime: Long = 0
private var buffer: LongArray = LongArray(size=3)
private var bufferIdx: Int = 0
private var lastValue: Long = 0
private var lastAverage: Long = -1
private var bufferFilled = fals... | 25.711538 | 76 | 0.515333 |
b5ebf3035987572906734ba59a7a1e226e261cef | 639 | kt | Kotlin | solve-streams/src/commonMain/kotlin/it/unibo/tuprolog/solve/solver/fsm/State.kt | zakski/thunderjaw | bbd63f9ba2091651f22eca7b0d3c7f1edee1e8ea | [
"Apache-2.0"
] | null | null | null | solve-streams/src/commonMain/kotlin/it/unibo/tuprolog/solve/solver/fsm/State.kt | zakski/thunderjaw | bbd63f9ba2091651f22eca7b0d3c7f1edee1e8ea | [
"Apache-2.0"
] | null | null | null | solve-streams/src/commonMain/kotlin/it/unibo/tuprolog/solve/solver/fsm/State.kt | zakski/thunderjaw | bbd63f9ba2091651f22eca7b0d3c7f1edee1e8ea | [
"Apache-2.0"
] | null | null | null | package it.unibo.tuprolog.solve.solver.fsm
import it.unibo.tuprolog.solve.ExecutionContext
import it.unibo.tuprolog.solve.primitive.Solve
/**
* Represents a State of Prolog solver state-machine
*
* @author Enrico
*/
interface State {
/** The [Solve.Request] or [Solve.Response] that this state carries with it... | 25.56 | 82 | 0.710485 |
bcd4f39e466351e3db9c8c9b5233acee51d12f89 | 716 | swift | Swift | goTapAPI/Native Sources/Extensions/ComparisonResult+Additions.swift | Tap-Payments/goTapAPI_iOSV2 | 10252251fa32fdcb8b97064272e1049bcf932f00 | [
"MIT"
] | null | null | null | goTapAPI/Native Sources/Extensions/ComparisonResult+Additions.swift | Tap-Payments/goTapAPI_iOSV2 | 10252251fa32fdcb8b97064272e1049bcf932f00 | [
"MIT"
] | null | null | null | goTapAPI/Native Sources/Extensions/ComparisonResult+Additions.swift | Tap-Payments/goTapAPI_iOSV2 | 10252251fa32fdcb8b97064272e1049bcf932f00 | [
"MIT"
] | null | null | null | //
// ComparisonResult+Additions.swift
// Pods
//
// Created by Dennis Pashkov on 10/18/16.
//
//
import Foundation
/** Additions Extends ComparisonResult
*/
public extension ComparisonResult {
public var foundationValue: Foundation.ComparisonResult {
switch self {
c... | 18.842105 | 61 | 0.548883 |
82ddf3cefebd86dc73ad5943518acd95f17fbce5 | 297 | sql | SQL | init.sql | sunpipi/data-collect | 693bb7fe6f5ac998a5063a1a70bec3ad7e1da07e | [
"Apache-2.0"
] | null | null | null | init.sql | sunpipi/data-collect | 693bb7fe6f5ac998a5063a1a70bec3ad7e1da07e | [
"Apache-2.0"
] | null | null | null | init.sql | sunpipi/data-collect | 693bb7fe6f5ac998a5063a1a70bec3ad7e1da07e | [
"Apache-2.0"
] | null | null | null | DROP database IF EXISTS `topic`;
CREATE DATABASE `topic`;
USE `topic`;
DROP TABLE IF EXISTS `time_series_data`;
CREATE TABLE time_series_data (
item_id char(36),
trading_date date,
stock_code varchar(100),
item_value double,
PRIMARY KEY (item_id, trading_date, stock_code)
); | 24.75 | 51 | 0.727273 |
d8382898219575ac8825335640031604a405a6a3 | 671 | sql | SQL | LinkedinWebPage/SQLScripts/dbo.Users.data.sql | tugba-aydin/LinkedinUpdateWebPage | 6c2a6e6c7243275da33ccb9d35ed72ad6ad4b100 | [
"MIT"
] | null | null | null | LinkedinWebPage/SQLScripts/dbo.Users.data.sql | tugba-aydin/LinkedinUpdateWebPage | 6c2a6e6c7243275da33ccb9d35ed72ad6ad4b100 | [
"MIT"
] | null | null | null | LinkedinWebPage/SQLScripts/dbo.Users.data.sql | tugba-aydin/LinkedinUpdateWebPage | 6c2a6e6c7243275da33ccb9d35ed72ad6ad4b100 | [
"MIT"
] | null | null | null | SET IDENTITY_INSERT [dbo].[Users] ON
INSERT INTO [dbo].[Users] ([Id], [Photo], [Name], [Surname], [EmailAddress], [Password], [Position], [Country], [City]) VALUES (1, N'https://localhost:44346/Resources\Images\profile.jpg', N'Tuğba', N'Aydın', N'tugba.aydinn.94@gmail.com', NULL, N'Junior Software Developer', N'Türkiye... | 134.2 | 299 | 0.698957 |
dda6aec22cdba68a88b95f8dc1c541875295232c | 9,679 | go | Go | go1.5/src/cmd/doc/main.go | cf-unik/gorump | 5f96e96f295a526e61c1accfb41a8f9e641ff96c | [
"MIT"
] | 342 | 2015-12-11T18:31:44.000Z | 2019-06-07T04:21:34.000Z | go1.5/src/cmd/doc/main.go | cf-unik/gorump | 5f96e96f295a526e61c1accfb41a8f9e641ff96c | [
"MIT"
] | 31 | 2015-12-12T14:13:46.000Z | 2017-11-11T19:14:32.000Z | go1.5/src/cmd/doc/main.go | cf-unik/gorump | 5f96e96f295a526e61c1accfb41a8f9e641ff96c | [
"MIT"
] | 20 | 2015-12-11T19:43:13.000Z | 2018-08-21T19:11:59.000Z | // Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Doc (usually run as go doc) accepts zero, one or two arguments.
//
// Zero arguments:
// go doc
// Show the documentation for the package in the current dire... | 27.264789 | 103 | 0.676826 |
c1640c2e0f0eb4849a32fbc4effc2a7c36ab2c50 | 2,497 | rs | Rust | src/test/instruction_tests/instr_vperm2f128.rs | ftilde/rust-x86asm | f6584b8cfe8e75d978bf7b83a67c69444fd3f161 | [
"MIT"
] | null | null | null | src/test/instruction_tests/instr_vperm2f128.rs | ftilde/rust-x86asm | f6584b8cfe8e75d978bf7b83a67c69444fd3f161 | [
"MIT"
] | null | null | null | src/test/instruction_tests/instr_vperm2f128.rs | ftilde/rust-x86asm | f6584b8cfe8e75d978bf7b83a67c69444fd3f161 | [
"MIT"
] | null | null | null | use instruction_def::*;
use test::run_test;
use Operand::*;
use Reg::*;
use RegScale::*;
use RegType::*;
use {BroadcastMode, Instruction, MaskReg, MergeMode, Mnemonic, OperandSize, Reg, RoundingMode};
#[test]
fn vperm2f128_1() {
run_test(
&Instruction {
mnemonic: Mnemonic::VPERM2F128,
... | 25.742268 | 95 | 0.492591 |
69fee4b0b22a16175d27d6c08e8b9c302fbfb3d2 | 735 | sql | SQL | database/setup.sql | zeljkobekcic/covid19-ampel | 6bce39229f9c79879c297275829006da6c5e67d1 | [
"MIT"
] | null | null | null | database/setup.sql | zeljkobekcic/covid19-ampel | 6bce39229f9c79879c297275829006da6c5e67d1 | [
"MIT"
] | null | null | null | database/setup.sql | zeljkobekcic/covid19-ampel | 6bce39229f9c79879c297275829006da6c5e67d1 | [
"MIT"
] | 1 | 2020-03-23T18:21:57.000Z | 2020-03-23T18:21:57.000Z | create table results
(
plz VARCHAR(80) NOT NULL,
einwohner_plz INTEGER NOT NULL,
landkreis VARCHAR(255) NOT NULL,
anzahl_fall_aktiv_landkreis INTEGER NOT NULL,
anzahl_fall_immun_landkreis INTEGER NOT NULL,
anzahl_tode_landkr... | 43.235294 | 54 | 0.538776 |
1bf85c0291f5897e3bb159145ca9ab09b5a8ce44 | 39 | py | Python | bob/db/swan/config_protocol_licit_p1_face_f4.py | bioidiap/bob.db.swan | 676510d47cb08b65be04f51d45746127c36bf2ce | [
"BSD-3-Clause"
] | null | null | null | bob/db/swan/config_protocol_licit_p1_face_f4.py | bioidiap/bob.db.swan | 676510d47cb08b65be04f51d45746127c36bf2ce | [
"BSD-3-Clause"
] | null | null | null | bob/db/swan/config_protocol_licit_p1_face_f4.py | bioidiap/bob.db.swan | 676510d47cb08b65be04f51d45746127c36bf2ce | [
"BSD-3-Clause"
] | null | null | null | database.protocol = 'licit_p1_face_f4'
| 19.5 | 38 | 0.820513 |
a77da4f108716e36160bc5999912c7dc353279a6 | 2,421 | swift | Swift | SpriteKitGameProgrammatically/Controller/Game Scenes/MainMenuScene.swift | IlijaMihajlovic/Sweet-Sweets-Mania-SpriteKit-Game | 48b4652751bafbc7d781ffdb573fab63663f6f09 | [
"MIT"
] | null | null | null | SpriteKitGameProgrammatically/Controller/Game Scenes/MainMenuScene.swift | IlijaMihajlovic/Sweet-Sweets-Mania-SpriteKit-Game | 48b4652751bafbc7d781ffdb573fab63663f6f09 | [
"MIT"
] | null | null | null | SpriteKitGameProgrammatically/Controller/Game Scenes/MainMenuScene.swift | IlijaMihajlovic/Sweet-Sweets-Mania-SpriteKit-Game | 48b4652751bafbc7d781ffdb573fab63663f6f09 | [
"MIT"
] | null | null | null | //
// MainMenuScene.swift
// Sweet Sweets Mania
//
// Created by Ilija Mihajlovic on 4/18/19.
// Copyright © 2019 Ilija Mihajlovic. All rights reserved.
//
import SpriteKit
import UIKit
class MainMenuScene: SKScene {
var background: SKSpriteNode = {
var sprite = SKSpriteNode(imageNamed: "MainMenu... | 23.970297 | 124 | 0.579513 |
65054cfd998e3e6858fee00ff01c36b5dddea1ff | 383 | py | Python | models.py | collingreen/yaib_plugin_leavemessage | c1e7254edee5255167c2015ee2566f9770b35412 | [
"MIT"
] | null | null | null | models.py | collingreen/yaib_plugin_leavemessage | c1e7254edee5255167c2015ee2566f9770b35412 | [
"MIT"
] | 1 | 2015-06-06T06:28:45.000Z | 2015-06-06T06:28:45.000Z | models.py | collingreen/yaib_plugin_leavemessage | c1e7254edee5255167c2015ee2566f9770b35412 | [
"MIT"
] | null | null | null | from sqlalchemy import Table, Column, String, DateTime, Text
from modules.persistence import Base, getModelBase
CustomBase = getModelBase('leavemessage')
class Message(Base, CustomBase):
user = Column(String(200))
nick = Column(String(100))
message_time = Column(DateTime)
to_nick = Column(String(100... | 25.533333 | 60 | 0.723238 |
b176519a7ac518a4d893f0ad5f9aaa4d90ea9929 | 589 | css | CSS | src/app/resume/resume.component.css | BuddhaTheChef/angular-portfolio | 580f729254a6b37f5d4692c33731b9bf02d7fd1b | [
"Apache-2.0"
] | null | null | null | src/app/resume/resume.component.css | BuddhaTheChef/angular-portfolio | 580f729254a6b37f5d4692c33731b9bf02d7fd1b | [
"Apache-2.0"
] | 4 | 2021-09-02T03:22:05.000Z | 2022-02-18T16:15:35.000Z | src/app/resume/resume.component.css | BuddhaTheChef/angular-portfolio | 580f729254a6b37f5d4692c33731b9bf02d7fd1b | [
"Apache-2.0"
] | null | null | null | .main-div {
background-color: rgb(37,37,37);
height: 100vh;
}
.main-footer {
text-align: center;
background-color: salmon;
padding-top: 30px;
}
.icon-div {
background: rgb(37,37,37);
display: block;
padding: 10px;
border-radius: 50%;
... | 19 | 36 | 0.500849 |
7771a21f9ff8ca1c3105afe7d9f6d1d5c414b1b4 | 33,473 | html | HTML | tornado/c06/s01.html | kwshare/html | 1b4d2549f3d2a155f7cebd97089e407c1595c44f | [
"MIT"
] | null | null | null | tornado/c06/s01.html | kwshare/html | 1b4d2549f3d2a155f7cebd97089e407c1595c44f | [
"MIT"
] | null | null | null | tornado/c06/s01.html | kwshare/html | 1b4d2549f3d2a155f7cebd97089e407c1595c44f | [
"MIT"
] | 1 | 2020-06-03T02:03:34.000Z | 2020-06-03T02:03:34.000Z | <!DOCTYPE HTML>
<html lang="en" >
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>6.1 Cookie | 引言</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="description" content="">
... | 39.19555 | 1,101 | 0.440923 |
953139a8f7b2ba28ed1c59da7dc691b69c570c73 | 784 | asm | Assembly | oeis/235/A235892.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/235/A235892.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/235/A235892.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A235892: Number of (n+1) X (7+1) 0..3 arrays with the minimum plus the upper median equal to the lower median plus the maximum in every 2 X 2 subblock.
; Submitted by Jon Maiga
; 67072,70168,76456,89416,116872,177928,324616,716296,1892872,5818888,19962376,73415176,280984072,1098775048,4344969736,17279810056,689192944... | 49 | 493 | 0.829082 |
cd9ce8bc18a303239548988651d4deda8168ea2f | 11,846 | swift | Swift | NewsApp/Helper/Extensions/UIViewExtension.swift | bestiosdeveloper/NewsApp | 4383e725324d75c644ae701deca809f1e3cb08f4 | [
"MIT"
] | 17 | 2019-06-21T12:48:42.000Z | 2021-11-12T09:07:42.000Z | NewsApp/Helper/Extensions/UIViewExtension.swift | bestiosdeveloper/NewsApp | 4383e725324d75c644ae701deca809f1e3cb08f4 | [
"MIT"
] | 1 | 2019-10-19T20:11:28.000Z | 2020-03-25T15:31:42.000Z | NewsApp/Helper/Extensions/UIViewExtension.swift | bestiosdeveloper/NewsApp | 4383e725324d75c644ae701deca809f1e3cb08f4 | [
"MIT"
] | 8 | 2019-06-23T05:13:51.000Z | 2022-02-10T23:24:00.000Z | //
// UIViewExtension.swift
//
// Created by Pramod Kumar on 5/17/17.
// Copyright © 2017 Pramod Kumar. All rights reserved.
//
import Foundation
import UIKit
// MARK: - UIView
extension UIView {
public var autoResizingActive: Bool {
get {
return self.translatesAutoresizingMaskIntoConstra... | 31.589333 | 178 | 0.562637 |
fd7c120410e21a5b31be3c6c5f2b214784eedf09 | 1,657 | h | C | quic_io/src/wrapper/quic_raw_lib.h | GaoMingKai/owt-deps-quic | 2da1476f6445dd3b8705a7b847c295b2844e0e9a | [
"BSD-3-Clause"
] | 37 | 2019-04-26T02:46:53.000Z | 2021-05-18T05:58:16.000Z | quic_io/src/wrapper/quic_raw_lib.h | GaoMingKai/owt-deps-quic | 2da1476f6445dd3b8705a7b847c295b2844e0e9a | [
"BSD-3-Clause"
] | 13 | 2021-06-07T02:45:15.000Z | 2021-12-23T01:36:38.000Z | quic_io/src/wrapper/quic_raw_lib.h | GaoMingKai/owt-deps-quic | 2da1476f6445dd3b8705a7b847c295b2844e0e9a | [
"BSD-3-Clause"
] | 24 | 2019-04-28T02:59:39.000Z | 2021-01-29T09:46:48.000Z | #ifndef NET_TOOLS_QUIC_RAW_WRAPPER_QUIC_RAW_LIB_H_
#define NET_TOOLS_QUIC_RAW_WRAPPER_QUIC_RAW_LIB_H_
#include <memory>
namespace net {
class RQuicListener {
public:
RQuicListener() {}
virtual ~RQuicListener() {}
virtual void onReady() = 0;
// The session_id will not be used for client
virtual void onData... | 28.568966 | 76 | 0.695836 |
4a2d760a43d82ec58c7a24223d3a9aefac240d8e | 656 | js | JavaScript | app/scripts/components/wheel_controller.js | lucaspiller/all-the-timezones | ba44c5c96584d51867aeecdca9c05824943c37a4 | [
"MIT"
] | null | null | null | app/scripts/components/wheel_controller.js | lucaspiller/all-the-timezones | ba44c5c96584d51867aeecdca9c05824943c37a4 | [
"MIT"
] | null | null | null | app/scripts/components/wheel_controller.js | lucaspiller/all-the-timezones | ba44c5c96584d51867aeecdca9c05824943c37a4 | [
"MIT"
] | null | null | null | import React from 'react';
import Actions from '../actions/actions'
import moment from 'moment';
export default React.createClass({
getDefaultProps(): any {
return {
date: new Date()
}
},
componentDidMount(): any {
document.addEventListener('mousewheel', this.scrollEvent);
},
component... | 21.16129 | 87 | 0.653963 |
1641c26e04ac1d87e4da844cf291d1db38e85c31 | 221 | ts | TypeScript | frontend/src/function/swimlane-issues-compare/get-children-issues-from-redmine-issue-data.ts | pavel-g/redmine-kanban | 1dedf115b7b5147a4cb4ad2002b21e71997390b2 | [
"MIT"
] | 4 | 2020-10-11T16:00:16.000Z | 2022-02-21T15:29:06.000Z | frontend/src/function/swimlane-issues-compare/get-children-issues-from-redmine-issue-data.ts | pavel-g/redmine-kanban | 1dedf115b7b5147a4cb4ad2002b21e71997390b2 | [
"MIT"
] | null | null | null | frontend/src/function/swimlane-issues-compare/get-children-issues-from-redmine-issue-data.ts | pavel-g/redmine-kanban | 1dedf115b7b5147a4cb4ad2002b21e71997390b2 | [
"MIT"
] | null | null | null | import {RedmineIssueData} from "../../models/redmine-issue-data";
export function GetChildrenIssuesFromRedmineIssueData(issueData: RedmineIssueData): number[] {
return issueData.children?.map(child => child.id) || []
} | 44.2 | 94 | 0.760181 |
81f3129ea2735d58a75b7aa9cc5bf8f6645c743f | 2,581 | go | Go | token_filter_pattern_capture.go | junwen-k/estemplate | 79dc8c9a8845c49481eac3a47ed5e484b7b2f330 | [
"MIT"
] | 2 | 2020-02-01T06:01:47.000Z | 2020-03-12T01:46:45.000Z | token_filter_pattern_capture.go | junwen-k/estemplate | 79dc8c9a8845c49481eac3a47ed5e484b7b2f330 | [
"MIT"
] | null | null | null | token_filter_pattern_capture.go | junwen-k/estemplate | 79dc8c9a8845c49481eac3a47ed5e484b7b2f330 | [
"MIT"
] | null | null | null | // Copyright (c) KwanJunWen
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
package estemplate
import "fmt"
// TokenFilterPatternCapture token filter that emits a oktne for every capture
// group in the regular expression. Patterns are not... | 28.677778 | 108 | 0.729562 |
74130a327e5c4666b10c75d2935fdd60d0310a63 | 984 | h | C | modules/task_3/stepanov_a_convex_hull_binary_image/convex_hull_binary_image.h | Oskg/pp_2021_autumn | c05d35f4d4b324cc13e58188b4a0c0174f891976 | [
"BSD-3-Clause"
] | 1 | 2021-12-09T17:20:25.000Z | 2021-12-09T17:20:25.000Z | modules/task_3/stepanov_a_convex_hull_binary_image/convex_hull_binary_image.h | Oskg/pp_2021_autumn | c05d35f4d4b324cc13e58188b4a0c0174f891976 | [
"BSD-3-Clause"
] | null | null | null | modules/task_3/stepanov_a_convex_hull_binary_image/convex_hull_binary_image.h | Oskg/pp_2021_autumn | c05d35f4d4b324cc13e58188b4a0c0174f891976 | [
"BSD-3-Clause"
] | 3 | 2022-02-23T14:20:50.000Z | 2022-03-30T09:00:02.000Z | // Copyright 2021 Stepanov Alexander
#ifndef MODULES_TASK_3_STEPANOV_A_CONVEX_HULL_BINARY_IMAGE_CONVEX_HULL_BINARY_IMAGE_H_
#define MODULES_TASK_3_STEPANOV_A_CONVEX_HULL_BINARY_IMAGE_CONVEX_HULL_BINARY_IMAGE_H_
#include <vector>
void generateBinaryImage(std::vector<int>* image,
std::size_t size_image);
std::vecto... | 46.857143 | 89 | 0.801829 |
90b9135efe40fb1211769eead4dae5ab0ea2b104 | 2,548 | py | Python | tests/test_inheritance_routers.py | kmlee78/django-ninja | ae543f2d43ff4fbc0aa22713942be77d25e1bca3 | [
"MIT"
] | 2,809 | 2020-06-21T08:48:40.000Z | 2022-03-30T16:42:11.000Z | tests/test_inheritance_routers.py | kmlee78/django-ninja | ae543f2d43ff4fbc0aa22713942be77d25e1bca3 | [
"MIT"
] | 311 | 2020-06-22T07:59:27.000Z | 2022-03-31T18:01:23.000Z | tests/test_inheritance_routers.py | kmlee78/django-ninja | ae543f2d43ff4fbc0aa22713942be77d25e1bca3 | [
"MIT"
] | 178 | 2020-07-08T00:40:43.000Z | 2022-03-29T02:05:20.000Z | import pytest
from ninja import NinjaAPI, Router
from ninja.testing import TestClient
api = NinjaAPI()
@api.get("/endpoint")
# view->api
def global_op(request):
return "global"
first_router = Router()
@first_router.get("/endpoint_1")
# view->router, router->api
def router_op1(request):
return "first 1"
... | 24.737864 | 74 | 0.685243 |
53bbc53ff5f68439c29a64a1fd0ce058540090b9 | 1,443 | java | Java | src/main/java/com/jeecms/cms/entity/back/base/BaseCmsConstraints.java | zhim/jeecms | df2856502e30e1dde3077f283f82cabff91766b4 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/jeecms/cms/entity/back/base/BaseCmsConstraints.java | zhim/jeecms | df2856502e30e1dde3077f283f82cabff91766b4 | [
"Apache-2.0"
] | 1 | 2021-06-04T02:32:06.000Z | 2021-06-04T02:32:06.000Z | src/main/java/com/jeecms/cms/entity/back/base/BaseCmsConstraints.java | zhim/jeecms | df2856502e30e1dde3077f283f82cabff91766b4 | [
"Apache-2.0"
] | 1 | 2021-01-31T14:46:54.000Z | 2021-01-31T14:46:54.000Z | package com.jeecms.cms.entity.back.base;
import java.io.Serializable;
public abstract class BaseCmsConstraints implements Serializable {
// constructors
public BaseCmsConstraints() {
initialize();
}
protected void initialize() {
}
private int hashCode = Integer.MIN_VALUE;
// fields
private java.lang.Str... | 21.220588 | 77 | 0.76438 |
56e04ce901ae417f2d90097dc282548d5d13bd87 | 1,028 | ts | TypeScript | src/languages/minimal/domain-object-model/global-info.ts | tom-weatherhead/thaw-grammar | 3ab3d0c528ee01e6e01b448c99d62d6fd3dd6630 | [
"MIT"
] | null | null | null | src/languages/minimal/domain-object-model/global-info.ts | tom-weatherhead/thaw-grammar | 3ab3d0c528ee01e6e01b448c99d62d6fd3dd6630 | [
"MIT"
] | 8 | 2020-08-17T21:13:10.000Z | 2021-07-07T23:19:45.000Z | src/languages/minimal/domain-object-model/global-info.ts | tom-weatherhead/thaw-grammar | 3ab3d0c528ee01e6e01b448c99d62d6fd3dd6630 | [
"MIT"
] | null | null | null | // tom-weatherhead/thaw-grammar/src/languages/minimal/domain-object-model/global-info.ts
import { IParser, ITokenizer } from 'thaw-interpreter-types';
import { GlobalInfoBase } from '../../../common/domain-object-model/global-info-base';
export class MinimalLanguageGlobalInfo extends GlobalInfoBase<number> {
privat... | 22.844444 | 88 | 0.730545 |
403b595766d2fb4e4bbfbec543c06f9a594c67f5 | 1,658 | dart | Dart | lib/src/utils/designColor.dart | Ginkgo-App/ginkgo-mobile | 2e380448dd31c05d03c797d6b14a970263098e93 | [
"MIT"
] | 2 | 2021-06-07T01:59:35.000Z | 2021-06-07T03:35:14.000Z | lib/src/utils/designColor.dart | Ginkgo-App/ginkgo-mobile | 2e380448dd31c05d03c797d6b14a970263098e93 | [
"MIT"
] | 26 | 2020-04-11T13:20:10.000Z | 2020-07-07T13:59:23.000Z | lib/src/utils/designColor.dart | Ginkgo-App/ginkgo-mobile | 2e380448dd31c05d03c797d6b14a970263098e93 | [
"MIT"
] | 1 | 2021-06-06T09:41:27.000Z | 2021-06-06T09:41:27.000Z | import 'package:flutter/material.dart';
class DesignColor {
static Color blockHeader = Color(0xffBD1700);
static Color cta = Color(0xff0DAEE1);
static Color darkerWhite = Color(0xffE4D8D8);
static Color darkestWhite = Color(0xffD7C6C6);
static Color tinyItems = Color(0xff747576);
static Color darkRed = Col... | 28.586207 | 52 | 0.693004 |
4ddb22022739d7dec9b211ab5ed6763c8080963b | 409 | sql | SQL | src/DataBase/Database/dbo/Tables/Model.sql | pabloandrei/eFolding-GridProtein | f2d9c312c4451c0370f99b3e2ee602c21d5bb3a8 | [
"Apache-2.0"
] | null | null | null | src/DataBase/Database/dbo/Tables/Model.sql | pabloandrei/eFolding-GridProtein | f2d9c312c4451c0370f99b3e2ee602c21d5bb3a8 | [
"Apache-2.0"
] | null | null | null | src/DataBase/Database/dbo/Tables/Model.sql | pabloandrei/eFolding-GridProtein | f2d9c312c4451c0370f99b3e2ee602c21d5bb3a8 | [
"Apache-2.0"
] | null | null | null | CREATE TABLE [dbo].[Model] (
[process_guid] UNIQUEIDENTIFIER NOT NULL,
[monomero] TINYINT NOT NULL,
[value] FLOAT (53) NOT NULL,
CONSTRAINT [PK_Model] PRIMARY KEY CLUSTERED ([process_guid] ASC, [monomero] ASC),
CONSTRAINT [FK_Model_Process] FOREIGN KEY ([process_guid]... | 31.461538 | 135 | 0.635697 |
d1be70cb1d1b5530d3ac49c2d9bccf2bcdd54767 | 29,935 | sql | SQL | public/database/learning_academy.sql | ezzatmalak/learning-acadimy | f5d62cbe07c2ba03a61b753765c6d54c87b32a96 | [
"MIT"
] | null | null | null | public/database/learning_academy.sql | ezzatmalak/learning-acadimy | f5d62cbe07c2ba03a61b753765c6d54c87b32a96 | [
"MIT"
] | null | null | null | public/database/learning_academy.sql | ezzatmalak/learning-acadimy | f5d62cbe07c2ba03a61b753765c6d54c87b32a96 | [
"MIT"
] | null | null | null | -- MySQL dump 10.13 Distrib 8.0.26, for Linux (x86_64)
--
-- Host: localhost Database: learning_academy
-- ------------------------------------------------------
-- Server version 8.0.26-0ubuntu0.20.04.2
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHA... | 78.569554 | 6,266 | 0.735226 |
a50f9e6c83e309bf6e226ee421bca2eb84b2f24a | 941 | kt | Kotlin | app/src/main/java/com/greylabsdev/pexwalls/data/ext/Prefs.kt | Badalsinh/PexWalls | bcc2fa605e8efc86ef9724ca2576b5798e85b6aa | [
"MIT"
] | 31 | 2019-11-26T05:52:34.000Z | 2022-01-30T19:05:59.000Z | app/src/main/java/com/greylabsdev/pexwalls/data/ext/Prefs.kt | Badalsinh/PexWalls | bcc2fa605e8efc86ef9724ca2576b5798e85b6aa | [
"MIT"
] | 2 | 2020-06-27T17:44:23.000Z | 2021-07-27T12:51:46.000Z | app/src/main/java/com/greylabsdev/pexwalls/data/ext/Prefs.kt | Badalsinh/PexWalls | bcc2fa605e8efc86ef9724ca2576b5798e85b6aa | [
"MIT"
] | 10 | 2020-02-23T17:24:45.000Z | 2021-09-14T19:46:20.000Z | package com.greylabsdev.pexwalls.data.ext
import android.content.SharedPreferences
/**
* Put one of few prmitive types of values to SharedPreferences. Always using to reduce repeating code
* Returns false if your value is not one of supported primtves
*
* @property key
* @property value
*/
fun SharedPreferences... | 25.432432 | 102 | 0.54729 |
a01f5dcc9be7304e4aa7b0972e9fdce861884952 | 38 | sql | SQL | sql/category_attribute_option.sql | pacificnm/pacificnm-category-attribute-option | 602871e8b8f4f9b75815c5e67bb1f9d5f47fad98 | [
"BSD-3-Clause"
] | 1 | 2018-02-05T20:57:58.000Z | 2018-02-05T20:57:58.000Z | sql/category_attribute_option.sql | pacificnm/pacificnm-category-attribute-option | 602871e8b8f4f9b75815c5e67bb1f9d5f47fad98 | [
"BSD-3-Clause"
] | null | null | null | sql/category_attribute_option.sql | pacificnm/pacificnm-category-attribute-option | 602871e8b8f4f9b75815c5e67bb1f9d5f47fad98 | [
"BSD-3-Clause"
] | null | null | null | -- category-attribute-option sql file
| 19 | 37 | 0.789474 |
5c4bb28e4d8e6e8c3f04ebd5a09c63c014b1947f | 1,001 | h | C | eagleeye/ui/ButtonView.h | MirrorYu/eagleeye | c251e7b3bc919673b41360212c38d5fda85bbe2f | [
"Apache-2.0"
] | 12 | 2020-09-21T02:24:11.000Z | 2022-03-10T03:02:03.000Z | eagleeye/ui/ButtonView.h | MirrorYu/eagleeye | c251e7b3bc919673b41360212c38d5fda85bbe2f | [
"Apache-2.0"
] | 1 | 2020-11-30T08:22:50.000Z | 2020-11-30T08:22:50.000Z | eagleeye/ui/ButtonView.h | MirrorYu/eagleeye | c251e7b3bc919673b41360212c38d5fda85bbe2f | [
"Apache-2.0"
] | 3 | 2020-03-16T12:10:55.000Z | 2021-07-20T09:58:15.000Z | #ifndef _EAGLEEYE_BUTTONVIEW_H_
#define _EAGLEEYE_BUTTONVIEW_H_
#include "eagleeye/common/EagleeyeMacro.h"
#include "eagleeye/framework/pipeline/AnyNode.h"
#include "eagleeye/render/RenderNode.h"
#include "eagleeye/basic/Array.h"
#include "eagleeye/basic/Matrix.h"
#include "eagleeye/framework/pipeline/SignalFactory.h"
... | 21.76087 | 54 | 0.687313 |
2c6edf1b113f91ba7807c45be5222d56d1ae8478 | 8,986 | kt | Kotlin | kotlin-source/src/test/kotlin/net/corda/training/state/EstadoTDBOTests.kt | cgalfaro/corda-training-solutions-spa | 8c4f2c0aa44d130845d71d381a47c24ecbd92b6c | [
"Apache-2.0"
] | null | null | null | kotlin-source/src/test/kotlin/net/corda/training/state/EstadoTDBOTests.kt | cgalfaro/corda-training-solutions-spa | 8c4f2c0aa44d130845d71d381a47c24ecbd92b6c | [
"Apache-2.0"
] | null | null | null | kotlin-source/src/test/kotlin/net/corda/training/state/EstadoTDBOTests.kt | cgalfaro/corda-training-solutions-spa | 8c4f2c0aa44d130845d71d381a47c24ecbd92b6c | [
"Apache-2.0"
] | null | null | null | package net.corda.training.state
import net.corda.core.contracts.*
import net.corda.core.identity.Party
import net.corda.finance.*
import net.corda.training.ALICE
import net.corda.training.BOB
import net.corda.training.MEGACORP
import net.corda.training.MINICORP
import org.junit.Test
import java.util.*
import kotlin.t... | 47.04712 | 137 | 0.701981 |
17b03c0d5b4bc68305d008d1cb9af6adba753657 | 1,837 | swift | Swift | JustPeek/Classes/PeekView.swift | FroeMic/JustPeek | de96e8572661de199fdd1ec248e0a31bf106d4fb | [
"Apache-2.0"
] | null | null | null | JustPeek/Classes/PeekView.swift | FroeMic/JustPeek | de96e8572661de199fdd1ec248e0a31bf106d4fb | [
"Apache-2.0"
] | null | null | null | JustPeek/Classes/PeekView.swift | FroeMic/JustPeek | de96e8572661de199fdd1ec248e0a31bf106d4fb | [
"Apache-2.0"
] | null | null | null | //
// PeekView.swift
// JustPeek
//
// Copyright 2016 Just Eat Holdings Ltd.
//
import UIKit
@objcMembers internal class PeekView: UIView {
init(frame: CGRect, contentView: UIView) {
super.init(frame: frame)
addSubview(contentView)
contentView.frame = bounds
contentView.aut... | 34.660377 | 135 | 0.655416 |
fd937e72f546c773de0ac51f1da7cf73c6b2c22c | 1,711 | h | C | functionwrapper.h | LingyanYin/lockfree_work_stealing_queue | d59a11416435ecd7d6ba37655e44bc76b83e9440 | [
"MIT"
] | null | null | null | functionwrapper.h | LingyanYin/lockfree_work_stealing_queue | d59a11416435ecd7d6ba37655e44bc76b83e9440 | [
"MIT"
] | null | null | null | functionwrapper.h | LingyanYin/lockfree_work_stealing_queue | d59a11416435ecd7d6ba37655e44bc76b83e9440 | [
"MIT"
] | null | null | null | #include <memory>
#include <tuple>
#include <utility>
/**
* previously used a function<void()> as member
* but it cannot use packaged_task since function is copy-constructed
* however packaged_task is move-only, changed it to type-erasure class
*/
class FunctionWrapper {
private:
class ImplBase {
public:
... | 31.685185 | 114 | 0.62069 |
e582cd1c6eecdbb77f0a3302d255a4629cbb39a7 | 5,507 | swift | Swift | MediastreamPlatformSDKiOS/Classes/MediastreamPlayerConfig.swift | mediastream/PodMediastreamPlatformSDKiOS | 07717f124fbb35163ee37a445b6ebc05c19211a4 | [
"MIT"
] | null | null | null | MediastreamPlatformSDKiOS/Classes/MediastreamPlayerConfig.swift | mediastream/PodMediastreamPlatformSDKiOS | 07717f124fbb35163ee37a445b6ebc05c19211a4 | [
"MIT"
] | null | null | null | MediastreamPlatformSDKiOS/Classes/MediastreamPlayerConfig.swift | mediastream/PodMediastreamPlatformSDKiOS | 07717f124fbb35163ee37a445b6ebc05c19211a4 | [
"MIT"
] | null | null | null | //
// MediastreamPlayerConfig.swift
// Pods
//
// Created by Adler Oliveira on 6/8/16.
//
//
open class MediastreamPlayerConfig {
public init () {}
public enum VideoTypes: String {
case LIVE = "live-stream"
case VOD = "video"
}
public enum Environments: String {
cas... | 26.863415 | 90 | 0.573634 |
7de4f59528f8800328d3bf8aac3739ce93d78498 | 476 | swift | Swift | 1stop/Models/RoutePoint.swift | lozy219/1stop | 8f7cab977f63737c878c095a8d0babf642a30b77 | [
"MIT"
] | null | null | null | 1stop/Models/RoutePoint.swift | lozy219/1stop | 8f7cab977f63737c878c095a8d0babf642a30b77 | [
"MIT"
] | 1 | 2016-03-18T04:06:13.000Z | 2016-03-18T08:43:53.000Z | 1stop/Models/RoutePoint.swift | lozy219/1stop | 8f7cab977f63737c878c095a8d0babf642a30b77 | [
"MIT"
] | null | null | null | //
// RoutePoint.swift
// 1stop
//
// Created by Long Pan on 12/12/15.
// Copyright © 2015 golearn. All rights reserved.
//
import Foundation
import MapKit
class RoutePoint: NSObject, MKAnnotation {
let coordinate: CLLocationCoordinate2D
let title: String?
let identifier: String
init(c: CLLoc... | 20.695652 | 72 | 0.670168 |
34cd003eb0e5d527b39271c49e7877cf1bad5962 | 22,810 | kt | Kotlin | src/main/kotlin/saarland/cispa/frontmatter/CallchainWalker.kt | uds-se/Frontmatter | 2ce4b52fc84e4c837749a205c9b32d48b9423c4c | [
"MIT"
] | 1 | 2022-02-28T16:00:22.000Z | 2022-02-28T16:00:22.000Z | src/main/kotlin/saarland/cispa/frontmatter/CallchainWalker.kt | uds-se/Frontmatter | 2ce4b52fc84e4c837749a205c9b32d48b9423c4c | [
"MIT"
] | 1 | 2022-02-02T00:24:45.000Z | 2022-02-02T00:24:45.000Z | src/main/kotlin/saarland/cispa/frontmatter/CallchainWalker.kt | uds-se/Frontmatter | 2ce4b52fc84e4c837749a205c9b32d48b9423c4c | [
"MIT"
] | null | null | null | package saarland.cispa.frontmatter
import mu.KLogging
import saarland.cispa.frontmatter.Utils.implements
import saarland.cispa.frontmatter.Utils.isAndroidMethod
import saarland.cispa.frontmatter.Utils.isDummy
import saarland.cispa.frontmatter.data.Dialog
import saarland.cispa.frontmatter.data.Menu
import saarland.cisp... | 42.956685 | 177 | 0.622929 |
90d55c04409fd8bb54bab60449f3eeb23ddc540d | 3,719 | py | Python | src/Models/load.py | eladwass/Dynamic-Deep | 14c0af2012ebaebb7f12d6d4db859c79f4b57b4d | [
"MIT"
] | 1 | 2022-01-09T17:47:41.000Z | 2022-01-09T17:47:41.000Z | src/Models/load.py | eladwass/Dynamic-Deep | 14c0af2012ebaebb7f12d6d4db859c79f4b57b4d | [
"MIT"
] | null | null | null | src/Models/load.py | eladwass/Dynamic-Deep | 14c0af2012ebaebb7f12d6d4db859c79f4b57b4d | [
"MIT"
] | null | null | null | from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
import json
# import tensorflow.keras
from tensorflow.keras.utils import to_categorical
import numpy as np
import os
import random
import scipy.io as sio
import tqdm
STEP = 256
def data_generator(batch_size, ... | 32.060345 | 142 | 0.597204 |
c1b34ccbecd574cf024c5e687efd4cda3977d2ce | 2,307 | sql | SQL | share-memo-common/src/main/resources/sql/schema.sql | ya850805/share-memo | 0d36fdfab5b66a70babc79fb445ccc006dd9ebdf | [
"Apache-2.0"
] | null | null | null | share-memo-common/src/main/resources/sql/schema.sql | ya850805/share-memo | 0d36fdfab5b66a70babc79fb445ccc006dd9ebdf | [
"Apache-2.0"
] | 1 | 2022-01-26T13:54:46.000Z | 2022-02-11T11:02:25.000Z | share-memo-common/src/main/resources/sql/schema.sql | ya850805/share-memo | 0d36fdfab5b66a70babc79fb445ccc006dd9ebdf | [
"Apache-2.0"
] | null | null | null | USE `share-memo`;
DROP TABLE IF EXISTS member_notification;
DROP TABLE IF EXISTS quartz_member_notification;
DROP TABLE IF EXISTS notification;
DROP TABLE IF EXISTS quartz_notification;
DROP TABLE IF EXISTS member;
CREATE TABLE member
(
id int(6) AUTO_INCREMENT PRIMARY KEY,
name varc... | 31.60274 | 76 | 0.653663 |
605b05284d7bca0513ee57af56f6162b82158b45 | 345 | swift | Swift | FitnessApp/FitnessApp/Routing/Coordinators/Actions/StartingRoutine.swift | ChristianSlanzi/FitnessApp | 1fd8c1cc516552c422d6ca0432867869280b38fd | [
"MIT"
] | null | null | null | FitnessApp/FitnessApp/Routing/Coordinators/Actions/StartingRoutine.swift | ChristianSlanzi/FitnessApp | 1fd8c1cc516552c422d6ca0432867869280b38fd | [
"MIT"
] | null | null | null | FitnessApp/FitnessApp/Routing/Coordinators/Actions/StartingRoutine.swift | ChristianSlanzi/FitnessApp | 1fd8c1cc516552c422d6ca0432867869280b38fd | [
"MIT"
] | null | null | null | //
// StartingRoutine.swift
// FitnessApp
//
// Created by Christian Slanzi on 31.10.20.
//
import Foundation
protocol StartingRoutine: AnyObject {
func startRoutineCountdown(with routine: RoutineDTO)//TODO: (with routine: Routine)
func startRoutinePlay(with routine: RoutineDTO)
func stopRoutine()
... | 21.5625 | 87 | 0.733333 |
84d93b3466323d8157e38811ebca2919487fd84e | 4,973 | c | C | src/runtime/c/pgf/parseval.c | danshaub/GF | b2739fe14364e18880c12cfca35c24e45c06a2b3 | [
"BSD-3-Clause"
] | null | null | null | src/runtime/c/pgf/parseval.c | danshaub/GF | b2739fe14364e18880c12cfca35c24e45c06a2b3 | [
"BSD-3-Clause"
] | null | null | null | src/runtime/c/pgf/parseval.c | danshaub/GF | b2739fe14364e18880c12cfca35c24e45c06a2b3 | [
"BSD-3-Clause"
] | null | null | null | #include <pgf/pgf.h>
#include <pgf/linearizer.h>
#include <pgf/parser.h>
typedef struct {
int start, end;
PgfCId cat;
int lin_idx;
} PgfPhrase;
typedef struct {
PgfLinFuncs* funcs;
PgfParseState* ps;
int pos;
GuBuf* marks;
GuBuf* phrases;
int found, matches;
GuPool* pool;
} PgfMetricsLznState;
static void
... | 24.741294 | 97 | 0.693344 |
04a6dfb1064de694ca46fe9d4e4543acc49ca320 | 439 | html | HTML | site/partials/api/index.html | decipherinc/angular-envoy | caae6b35d12f589fbc58b292cf1dd8f8c5cb7c60 | [
"MIT"
] | null | null | null | site/partials/api/index.html | decipherinc/angular-envoy | caae6b35d12f589fbc58b292cf1dd8f8c5cb7c60 | [
"MIT"
] | null | null | null | site/partials/api/index.html | decipherinc/angular-envoy | caae6b35d12f589fbc58b292cf1dd8f8c5cb7c60 | [
"MIT"
] | null | null | null | <a href="https://github.com/decipherinc/angular-envoy.git/blob/e1fe4cb/docs/api/index.ngdoc#L2" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable=""></code>
<div><span class="hint"></span>
</div>
</h1>
<div><div class="api-information-page"><h2 id="api-information">API Informati... | 48.777778 | 197 | 0.699317 |
d26eb014872c05e362d6df27699bf7454dd5f47b | 14,728 | php | PHP | app/Http/Controllers/Finance/RekapBudgetController.php | MuhammadSuryono/management-b2 | 47258ab55fc7b005f7bf7a1912bb713647f04906 | [
"MIT"
] | null | null | null | app/Http/Controllers/Finance/RekapBudgetController.php | MuhammadSuryono/management-b2 | 47258ab55fc7b005f7bf7a1912bb713647f04906 | [
"MIT"
] | null | null | null | app/Http/Controllers/Finance/RekapBudgetController.php | MuhammadSuryono/management-b2 | 47258ab55fc7b005f7bf7a1912bb713647f04906 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Finance;
use App\Http\Controllers\Controller;
use App\Project;
use App\Kota;
use App\Pembayaran_interviewer;
use App\Pembayaran_tl;
use App\Project_imported;
use App\Project_team;
use App\Respondent;
use App\Respondent_gift;
use App\Status_pembayaran;
use Carbon\Carbon;
use Illumi... | 42.566474 | 221 | 0.543115 |
ddd1c09f11d4e969d9de5fd025d9c19e256692f2 | 474 | php | PHP | app/Http/Controllers/welcomeController.php | hasanakashhstu/laravel_basic | 080f60a8faea18cea058e9dbcfba739619b1d99f | [
"MIT"
] | null | null | null | app/Http/Controllers/welcomeController.php | hasanakashhstu/laravel_basic | 080f60a8faea18cea058e9dbcfba739619b1d99f | [
"MIT"
] | null | null | null | app/Http/Controllers/welcomeController.php | hasanakashhstu/laravel_basic | 080f60a8faea18cea058e9dbcfba739619b1d99f | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class welcomeController extends Controller
{
public function index(){
return view('master.home.home');
}
public function about(){
return view('master.about.about');
}
public function blog(){
return view('master.blog.blog');
}
... | 18.96 | 42 | 0.685654 |
41452c3e92c3296a3cdfd6c07b6f2e34a4c49240 | 866 | h | C | source/rendercore/include/rendercore/scene/Scene.h | sbusch42/rendercore | 8d0bd316ff23f8f6596a07d8a3ce568049ad08d2 | [
"MIT"
] | 1 | 2019-02-12T16:00:45.000Z | 2019-02-12T16:00:45.000Z | source/rendercore/include/rendercore/scene/Scene.h | sbusch42/rendercore | 8d0bd316ff23f8f6596a07d8a3ce568049ad08d2 | [
"MIT"
] | null | null | null | source/rendercore/include/rendercore/scene/Scene.h | sbusch42/rendercore | 8d0bd316ff23f8f6596a07d8a3ce568049ad08d2 | [
"MIT"
] | null | null | null |
#pragma once
#include <rendercore/scene/SceneNode.h>
namespace rendercore
{
/**
* @brief
* Represents a virtual 3D scene
*/
class RENDERCORE_API Scene
{
public:
/**
* @brief
* Constructor
*/
Scene();
/**
* @brief
* Destructor
*/
virtual ~Scene();
/**
... | 13.53125 | 66 | 0.513857 |
2293a0fd4272125c2bb805cceb48eb097d6658e8 | 1,070 | html | HTML | Website/html_css/listen/listen.html | Kreijeck/learning | eaffee08e61f2a34e01eb8f9f04519aac633f48c | [
"MIT"
] | null | null | null | Website/html_css/listen/listen.html | Kreijeck/learning | eaffee08e61f2a34e01eb8f9f04519aac633f48c | [
"MIT"
] | null | null | null | Website/html_css/listen/listen.html | Kreijeck/learning | eaffee08e61f2a34e01eb8f9f04519aac633f48c | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>Listen in HTML</title>
<link rel="stylesheet" type="text/css" href="listen.css">
</head>
<body>
<ul>
<li>Äpfel</li>
<li>Birnen</li>
<li>Kokusnuss</li>
<li>Pizza</li>
<li>Salami</li>
<li>Abendessen
... | 16.984127 | 59 | 0.446729 |
deacb78a342b80828b26a2486506c29562c770b2 | 1,809 | rs | Rust | src/percent_formatter.rs | foldu/iv | 5fcd836130bcdd268765f5080755b576a7d6908f | [
"MIT"
] | null | null | null | src/percent_formatter.rs | foldu/iv | 5fcd836130bcdd268765f5080755b576a7d6908f | [
"MIT"
] | null | null | null | src/percent_formatter.rs | foldu/iv | 5fcd836130bcdd268765f5080755b576a7d6908f | [
"MIT"
] | null | null | null | use std::fmt;
#[derive(Debug, Clone, Copy)]
enum State {
GotPercent,
Normal,
Skip(usize),
}
pub trait PercentFormatable<W: fmt::Write> {
fn try_parse(&self, rest: &str, writer: &mut W) -> Result<Option<usize>, fmt::Error>;
}
pub fn percent_format<W, P>(fmt: &str, mut w: &mut W, p: &P) -> Result<(), f... | 23.802632 | 89 | 0.450525 |
f9949b9ef8ac76a42bd780d06d2344efc84d4944 | 2,437 | go | Go | store/drivers/dsn_test.go | jrapoport/gothic | de86be384e009eb34addf48c671f37cd8210809b | [
"MIT"
] | 62 | 2021-03-14T10:17:09.000Z | 2022-03-25T19:37:08.000Z | store/drivers/dsn_test.go | jrapoport/gotrue | 90241243e461956eb848e47918f605e0579fd0a0 | [
"MIT"
] | 9 | 2021-03-19T05:16:11.000Z | 2022-03-24T07:37:38.000Z | store/drivers/dsn_test.go | jrapoport/gotrue | 90241243e461956eb848e47918f605e0579fd0a0 | [
"MIT"
] | 5 | 2021-03-21T18:13:41.000Z | 2022-03-18T14:52:55.000Z | package drivers
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestNormalizeDSN(t *testing.T) {
const (
myDSN = "root@tcp(0.0.0.0:3306)/test?parseTime=true"
pgDSN = "postgres://root:password@0.0.0.0:5432/test"
msDSN = "sqlserver://sa:password@0.0.0.0:5432?database=test"
)
var dir = t.TempD... | 18.462121 | 63 | 0.515798 |
c2a55a208e8ef50065cfe9930dd63b5585f0f617 | 8,036 | go | Go | cache/cache.go | domgoer/drone-cache | db62862d69d0282dccd0d87d1d3e737d3bf6398a | [
"Apache-2.0"
] | null | null | null | cache/cache.go | domgoer/drone-cache | db62862d69d0282dccd0d87d1d3e737d3bf6398a | [
"Apache-2.0"
] | null | null | null | cache/cache.go | domgoer/drone-cache | db62862d69d0282dccd0d87d1d3e737d3bf6398a | [
"Apache-2.0"
] | null | null | null | // Package cache provides functionality for cache storage
package cache
import (
"archive/tar"
"compress/gzip"
"fmt"
"io"
"io/ioutil"
"os"
"path/filepath"
"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
)
// Backend implements operations for caching files
type Backend interface {
Get(string) ... | 22.894587 | 107 | 0.651319 |
865403bf25fc6437a89e8089aaeea936ef6b34e6 | 4,494 | go | Go | pkg/types/traverser.go | sergenyalcin/typewriter | 80e49fe1eb320ef802ef12d55940669796458397 | [
"Apache-2.0"
] | 5 | 2021-04-12T20:44:39.000Z | 2022-01-31T20:59:07.000Z | pkg/types/traverser.go | sergenyalcin/typewriter | 80e49fe1eb320ef802ef12d55940669796458397 | [
"Apache-2.0"
] | 4 | 2021-06-12T21:09:51.000Z | 2022-01-31T20:16:32.000Z | pkg/types/traverser.go | sergenyalcin/typewriter | 80e49fe1eb320ef802ef12d55940669796458397 | [
"Apache-2.0"
] | 1 | 2022-01-27T14:55:35.000Z | 2022-01-27T14:55:35.000Z | // Copyright 2021 Muvaffak Onus
//
// 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 ... | 33.288889 | 115 | 0.656431 |
1363bb9e74a83f7103f3f1169012b67dfa4b1bff | 2,974 | h | C | chrome/browser/views/options/content_page_view.h | bluebellzhy/chromium | 008c4fef2676506869a0404239da31e83fd6ccc7 | [
"BSD-3-Clause"
] | 1 | 2016-05-08T15:35:17.000Z | 2016-05-08T15:35:17.000Z | chrome/browser/views/options/content_page_view.h | bluebellzhy/chromium | 008c4fef2676506869a0404239da31e83fd6ccc7 | [
"BSD-3-Clause"
] | null | null | null | chrome/browser/views/options/content_page_view.h | bluebellzhy/chromium | 008c4fef2676506869a0404239da31e83fd6ccc7 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2006-2008 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.
#ifndef CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_PAGE_VIEW_H__
#define CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_PAGE_VIEW_H__
#include "chrome/browser/v... | 32.681319 | 80 | 0.770007 |
7b34666c1dfa9edac471de00cd987c86f422dc71 | 1,277 | rb | Ruby | lib/alki/execution/context_class_builder.rb | medlefsen/alki | 121c78dda7427490d574496ec3de2d928caed552 | [
"MIT"
] | 23 | 2016-12-03T04:26:04.000Z | 2022-01-16T15:02:22.000Z | lib/alki/execution/context_class_builder.rb | medlefsen/alki | 121c78dda7427490d574496ec3de2d928caed552 | [
"MIT"
] | 1 | 2018-11-09T03:39:09.000Z | 2018-11-21T23:43:53.000Z | lib/alki/execution/context_class_builder.rb | medlefsen/alki | 121c78dda7427490d574496ec3de2d928caed552 | [
"MIT"
] | 1 | 2020-09-22T17:10:09.000Z | 2020-09-22T17:10:09.000Z | require 'alki/class_builder'
require 'alki/execution/context'
module Alki
module Execution
module ContextClassBuilder
def self.build(config)
if config[:body]
methods = {
__call__: {body: (config[:body])},
meta: {body: ->{@__meta__}}
}
else
... | 25.039216 | 73 | 0.469851 |
670033164ac024ba764e2090e6fe51b89227b1cd | 6,797 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_967.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_967.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_967.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x92f2, %r14
clflush (%r14)
nop
and $48226, %r9
movl $0x61626364, (%r14)
cmp $11626, %rdi
lea addresses_D_ht+0xf672, %rdx
nop
nop
inc %r15
mov (%rdx), %r10
nop
nop
nop... | 35.586387 | 2,999 | 0.656907 |
ad82bb0658102fb8183a7a03a656923735a9dc52 | 2,197 | swift | Swift | BettasLiveSwiftTest/BettasLiveSwiftTest/Classes/Home/View/RecommendGameView.swift | cuilinhao/DouYuTDemo | d5ae8c728c0e18216581075a92420cc988baa97a | [
"Apache-2.0"
] | 1 | 2020-06-18T03:19:56.000Z | 2020-06-18T03:19:56.000Z | BettasLiveSwiftTest/BettasLiveSwiftTest/Classes/Home/View/RecommendGameView.swift | cuilinhao/DouYuTDemo | d5ae8c728c0e18216581075a92420cc988baa97a | [
"Apache-2.0"
] | null | null | null | BettasLiveSwiftTest/BettasLiveSwiftTest/Classes/Home/View/RecommendGameView.swift | cuilinhao/DouYuTDemo | d5ae8c728c0e18216581075a92420cc988baa97a | [
"Apache-2.0"
] | null | null | null | //
// RecommendGameView.swift
// BettasLiveSwiftTest
//
// Created by 崔林豪 on 2018/9/10.
// Copyright © 2018年 崔林豪. All rights reserved.
//
import UIKit
private let kGameCell = "kGameCell"
class RecommendGameView: UIView {
@IBOutlet weak var collectionView: UICollectionView!
var gameGroup : [AnchorGr... | 28.166667 | 128 | 0.669549 |
7dba159622a448596321ca4d2cdb554aaad138b4 | 34 | tab | SQL | www/bases-examples_Windows/rda/def/en/100-ind1.tab | mdama003/ABCD2 | b5f93be122791ab690a4d5954a3ec866196413a5 | [
"Unlicense"
] | null | null | null | www/bases-examples_Windows/rda/def/en/100-ind1.tab | mdama003/ABCD2 | b5f93be122791ab690a4d5954a3ec866196413a5 | [
"Unlicense"
] | null | null | null | www/bases-examples_Windows/rda/def/en/100-ind1.tab | mdama003/ABCD2 | b5f93be122791ab690a4d5954a3ec866196413a5 | [
"Unlicense"
] | null | null | null | 0|Forename
1|Surname
3|Family name | 11.333333 | 13 | 0.823529 |
b7c2c446163a62ab3300a6b2bf9977d56c5f707d | 2,915 | dart | Dart | lib/widget/platform/platform_app_layout.dart | Njima1572/flutter_masamune | 98b4fea749fb5310a9f5482582a3e69d7ff5e639 | [
"BSD-3-Clause"
] | null | null | null | lib/widget/platform/platform_app_layout.dart | Njima1572/flutter_masamune | 98b4fea749fb5310a9f5482582a3e69d7ff5e639 | [
"BSD-3-Clause"
] | 1 | 2022-01-21T19:45:12.000Z | 2022-01-22T23:35:50.000Z | lib/widget/platform/platform_app_layout.dart | Njima1572/flutter_masamune | 98b4fea749fb5310a9f5482582a3e69d7ff5e639 | [
"BSD-3-Clause"
] | 1 | 2022-01-21T19:44:50.000Z | 2022-01-21T19:44:50.000Z | part of masamune;
class PlatformAppLayout extends StatefulWidget {
const PlatformAppLayout({
required this.initialPath,
required this.builder,
this.futures = const [],
this.loading,
this.indicatorColor,
this.appBar,
});
/// Loading indicator color.
final Color? indicatorColor;
/// B... | 23.508065 | 78 | 0.656261 |
ddbf3abb695a1b57c72a8f34634d79a83fa36081 | 1,762 | php | PHP | resources/views/book/create.blade.php | Belendor/biblioteka | 687f92f19e6ef699ccbfba3c33e9eb69123006f9 | [
"MIT"
] | null | null | null | resources/views/book/create.blade.php | Belendor/biblioteka | 687f92f19e6ef699ccbfba3c33e9eb69123006f9 | [
"MIT"
] | 1 | 2021-10-06T20:10:10.000Z | 2021-10-06T20:10:10.000Z | resources/views/book/create.blade.php | Belendor/biblioteka | 687f92f19e6ef699ccbfba3c33e9eb69123006f9 | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Prideti nauja knyga:</div>
<div class="card-body">
<form metho... | 36.708333 | 111 | 0.389898 |
84dd5d8163f9f456c686e999e45ae7ead60e6104 | 2,247 | sql | SQL | 2. Database_Initialisation_Insert_Scripts.sql | hanuseew/MCBAssignment | 31eebad3825684cfc7203916ae0827b4477eb344 | [
"Apache-2.0"
] | null | null | null | 2. Database_Initialisation_Insert_Scripts.sql | hanuseew/MCBAssignment | 31eebad3825684cfc7203916ae0827b4477eb344 | [
"Apache-2.0"
] | null | null | null | 2. Database_Initialisation_Insert_Scripts.sql | hanuseew/MCBAssignment | 31eebad3825684cfc7203916ae0827b4477eb344 | [
"Apache-2.0"
] | null | null | null |
-- define list of KPIs for reporting
INSERT INTO REF_KPILIST(KPINUMBER, KPICODE, KPIDESCRIPTION, DBCOLUMNNAME, FORMULA)
VALUES(1, 'ER.FSH.PROD.MT','Total fisheries production (metric tons)','ER_FSH_PROD_MT','ER_FSH_PROD_MT');
INSERT INTO REF_KPILIST(KPINUMBER, KPICODE, KPIDESCRIPTION, DBCOLUMNNAME, FOR... | 72.483871 | 150 | 0.749444 |
dc160245dbde18467131a7fbfeafe75ac88d44c1 | 137 | lua | Lua | extensions/usb/init.lua | degbug/hammerspoon | 3351062c8f7dc47fc97e8208da344c9185150487 | [
"MIT"
] | 9,367 | 2015-01-02T10:17:23.000Z | 2022-03-31T11:11:44.000Z | extensions/usb/init.lua | degbug/hammerspoon | 3351062c8f7dc47fc97e8208da344c9185150487 | [
"MIT"
] | 2,771 | 2015-01-01T09:20:42.000Z | 2022-03-31T11:33:09.000Z | extensions/usb/init.lua | degbug/hammerspoon | 3351062c8f7dc47fc97e8208da344c9185150487 | [
"MIT"
] | 571 | 2015-01-02T04:02:50.000Z | 2022-03-28T20:29:19.000Z | --- === hs.usb ===
---
--- Inspect USB devices
local usb = require "hs.usb.internal"
usb.watcher = require "hs.usb.watcher"
return usb
| 15.222222 | 38 | 0.642336 |
397143164e29002fcd28adddca62314d72234900 | 14,376 | html | HTML | canovadoc/org/canova/cli/csv/schema/CSVInputSchema.html | YeewenTan/YeewenTan.github.io | 6b6e1f551f4a150d0e7170d8503a74e02beef220 | [
"Apache-2.0"
] | 1 | 2017-05-06T10:52:55.000Z | 2017-05-06T10:52:55.000Z | canovadoc/org/canova/cli/csv/schema/CSVInputSchema.html | YeewenTan/YeewenTan.github.io | 6b6e1f551f4a150d0e7170d8503a74e02beef220 | [
"Apache-2.0"
] | null | null | null | canovadoc/org/canova/cli/csv/schema/CSVInputSchema.html | YeewenTan/YeewenTan.github.io | 6b6e1f551f4a150d0e7170d8503a74e02beef220 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_60) on Sun Jun 19 15:23:06 PDT 2016 -->
<title>CSVInputSchema</title>
<meta name="date" content="2016-06-19">
<link rel="stylesheet" ty... | 35.235294 | 230 | 0.648929 |
a6510d7b24c3189f8022a76a2e004b80c2ed0517 | 11,776 | asm | Assembly | src/scoreboard.asm | tina-hoeflich/pong | 2420f504c323582e7f0bf6f51753d062a0674c92 | [
"MIT"
] | null | null | null | src/scoreboard.asm | tina-hoeflich/pong | 2420f504c323582e7f0bf6f51753d062a0674c92 | [
"MIT"
] | null | null | null | src/scoreboard.asm | tina-hoeflich/pong | 2420f504c323582e7f0bf6f51753d062a0674c92 | [
"MIT"
] | null | null | null | # Authors: Miriam Penger, Lena Gerken, Tina Höflich
# function draws the scoreboard of the pong game pixel by pixel using the draw pixel function
# gets:
# a2: the decimal number between 0 and 11 that then are displayed on the bitmap display
# returns:
# -
.text
# Funktion to draw dots that separate the numbers on... | 15.175258 | 93 | 0.553244 |
c2bc1495c3a0c24cd344c4d8f8af97389cec3134 | 774 | go | Go | plugin/kemper.com.br.plugin.mongodb.user/funcGetByEmail.go | helmutkemper/sitePessoal | 7cabb4185af0faed52c0078fc2695a0f2072201c | [
"Apache-2.0"
] | null | null | null | plugin/kemper.com.br.plugin.mongodb.user/funcGetByEmail.go | helmutkemper/sitePessoal | 7cabb4185af0faed52c0078fc2695a0f2072201c | [
"Apache-2.0"
] | null | null | null | plugin/kemper.com.br.plugin.mongodb.user/funcGetByEmail.go | helmutkemper/sitePessoal | 7cabb4185af0faed52c0078fc2695a0f2072201c | [
"Apache-2.0"
] | null | null | null | package main
import (
"github.com/helmutkemper/kemper.com.br.module.dataformat"
"github.com/helmutkemper/kemper.com.br.plugin.dataaccess.constants"
"github.com/helmutkemper/util"
"go.mongodb.org/mongo-driver/mongo"
)
func (e *MongoDBUser) GetByEmail(mail string) (user dataformat.User, err error) {
var cursor *mo... | 22.764706 | 106 | 0.732558 |
dc6d53e69a233c266c5f1339179e5f29460faefa | 1,645 | swift | Swift | Triggers/Class/Controller/sdmGameController.swift | PJCSpencer/TriggerNode | 2692647a0e58f0426551ebe883dd7beb874ba98b | [
"MIT"
] | null | null | null | Triggers/Class/Controller/sdmGameController.swift | PJCSpencer/TriggerNode | 2692647a0e58f0426551ebe883dd7beb874ba98b | [
"MIT"
] | null | null | null | Triggers/Class/Controller/sdmGameController.swift | PJCSpencer/TriggerNode | 2692647a0e58f0426551ebe883dd7beb874ba98b | [
"MIT"
] | 1 | 2020-04-04T20:10:53.000Z | 2020-04-04T20:10:53.000Z | //
// sdmGameController.swift
// Triggers
//
// Created by Peter Spencer on 22/10/2018.
// Copyright © 2018 Peter Spencer. All rights reserved.
//
import UIKit
import SceneKit
class GameController: UIViewController
{
// MARK: - Property(s)
var game: Game?
private var observation: NSKeyValue... | 22.847222 | 121 | 0.6 |
e5545a65a6a3f4d8b82301d25a6d54f01f3d7fa5 | 1,104 | ts | TypeScript | src/app/shared/components/event/event.component.spec.ts | jkevingutierrez/angularcolombia.com | 6e4b1b0a7d743b76684ea438bf21ed5ab18284da | [
"MIT"
] | null | null | null | src/app/shared/components/event/event.component.spec.ts | jkevingutierrez/angularcolombia.com | 6e4b1b0a7d743b76684ea438bf21ed5ab18284da | [
"MIT"
] | null | null | null | src/app/shared/components/event/event.component.spec.ts | jkevingutierrez/angularcolombia.com | 6e4b1b0a7d743b76684ea438bf21ed5ab18284da | [
"MIT"
] | null | null | null | import { AngularFireDatabase } from 'angularfire2/database';
import { AuthenticationService } from './../../../core/services/authentication.service';
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { EventComponent } from './event.compo... | 30.666667 | 88 | 0.699275 |
8a5c2afb2c2db7e04a13ce34055fd88ebafbc4e5 | 196 | dart | Dart | lib/models/color.dart | taher-fawaz/flutter_ecommerce_app | ad5c07ae5c82f23ca1704a7e87c942c93be10ced | [
"MIT"
] | null | null | null | lib/models/color.dart | taher-fawaz/flutter_ecommerce_app | ad5c07ae5c82f23ca1704a7e87c942c93be10ced | [
"MIT"
] | null | null | null | lib/models/color.dart | taher-fawaz/flutter_ecommerce_app | ad5c07ae5c82f23ca1704a7e87c942c93be10ced | [
"MIT"
] | null | null | null |
import 'package:flutter/cupertino.dart';
Color mainColor =Color(0xffEDF0FF);
Color mainColorDark =Color(0xff99ADFF);
Color mainBlue =Color(0xff365EFF);
Color mainWhiteDark =Color(0xffFDFDFD);
| 19.6 | 40 | 0.795918 |
81e1082c02c84d688f97eb502ca3ee773526ad3c | 1,829 | go | Go | common/util.go | cg-/go-hello-bench | d67a4c284f6194acc07200b1b1dee33be56784a6 | [
"MIT"
] | null | null | null | common/util.go | cg-/go-hello-bench | d67a4c284f6194acc07200b1b1dee33be56784a6 | [
"MIT"
] | null | null | null | common/util.go | cg-/go-hello-bench | d67a4c284f6194acc07200b1b1dee33be56784a6 | [
"MIT"
] | null | null | null | /*
Random utility functions used in various packages
*/
package common
import (
"bytes"
"os"
"os/exec"
"github.com/op/go-logging"
)
var log = logging.MustGetLogger("go-hello-bench")
/*
CheckIfSuperuser returns true if the user is running as Superuser, otherwise
it will return false.
*/
func CheckIfSuperuser() ... | 21.267442 | 111 | 0.674139 |
393037434373289c91d7e1480ffef506f2a090ea | 456 | html | HTML | Backend/static/default_index.html | introlab/opentera-webportal-service | 9db6a5a4d657630232a3a08d0c9f3360e78785d0 | [
"Apache-2.0"
] | null | null | null | Backend/static/default_index.html | introlab/opentera-webportal-service | 9db6a5a4d657630232a3a08d0c9f3360e78785d0 | [
"Apache-2.0"
] | null | null | null | Backend/static/default_index.html | introlab/opentera-webportal-service | 9db6a5a4d657630232a3a08d0c9f3360e78785d0 | [
"Apache-2.0"
] | null | null | null | <html>
<head>
<title>WebPortalService - Fallback page</title>
</head>
<body>
<h1>Web Portal - Default page</h1>
<p>If you see this, the Web Portal service is working properly... almost!</p>
<p>The website files are missing, probably because they were not generated and moved to the appropriate place.</p>
<p>Please s... | 41.454545 | 131 | 0.739035 |
260f4eec8ea81f3c34bfdce5cbba8cf4b4fcd00d | 446 | java | Java | starter/critter/src/main/java/com/udacity/jdnd/course3/critter/pet/PetRepository.java | nxdf2015/critter | 285dfb9c5b173a19468e1627b3c699e3ae6cd3bb | [
"MIT"
] | null | null | null | starter/critter/src/main/java/com/udacity/jdnd/course3/critter/pet/PetRepository.java | nxdf2015/critter | 285dfb9c5b173a19468e1627b3c699e3ae6cd3bb | [
"MIT"
] | null | null | null | starter/critter/src/main/java/com/udacity/jdnd/course3/critter/pet/PetRepository.java | nxdf2015/critter | 285dfb9c5b173a19468e1627b3c699e3ae6cd3bb | [
"MIT"
] | null | null | null | package com.udacity.jdnd.course3.critter.pet;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface PetRepository extends JpaRepository<PetEntity,Long> ... | 29.733333 | 71 | 0.795964 |
277d06fbfde394119a885e697d4a1f89cc8da0ea | 2,861 | dart | Dart | test/pages/calculator_page_test.dart | nikkijuk/flutter-bmi-calculator-app | 2dcdfe85555568b3f4f6a0580bbecb83c4319f92 | [
"Apache-2.0"
] | null | null | null | test/pages/calculator_page_test.dart | nikkijuk/flutter-bmi-calculator-app | 2dcdfe85555568b3f4f6a0580bbecb83c4319f92 | [
"Apache-2.0"
] | null | null | null | test/pages/calculator_page_test.dart | nikkijuk/flutter-bmi-calculator-app | 2dcdfe85555568b3f4f6a0580bbecb83c4319f92 | [
"Apache-2.0"
] | null | null | null | //@Skip('currently failing (reason: FILL HERE)')
// Left skip annotation here to wait next time when test lifecycle has problems
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility that Flutter provides. For example, you can send tap and s... | 39.736111 | 80 | 0.707095 |
86313c2c0439b868b16b02758f3077883e520892 | 632 | asm | Assembly | oeis/271/A271494.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/271/A271494.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/271/A271494.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A271494: Expansion of (1+16*x)/((1+4*x)*(1-8*x)).
; Submitted by Jamie Morken(s1.)
; 1,20,112,1088,7936,66560,520192,4210688,33488896,268697600,2146435072,17184063488,137422176256,1099578736640,8795824586752,70369817919488,562945658454016,4503616807239680,36028728299487232,288230651029618688,2305841909702066176,18446... | 52.666667 | 477 | 0.841772 |
d061e3b024c45cd5fd28eae279f54c31a17cebdb | 1,034 | swift | Swift | Volume/Supporting/AppDelegate.swift | cuappdev/volume-ios | 1eb19d0a9d66966ff41595a48e6c34929e5cf263 | [
"MIT"
] | 5 | 2020-11-09T19:46:30.000Z | 2022-01-28T04:00:03.000Z | Volume/Supporting/AppDelegate.swift | cuappdev/volume-ios | 1eb19d0a9d66966ff41595a48e6c34929e5cf263 | [
"MIT"
] | 31 | 2020-10-29T18:42:06.000Z | 2022-03-31T17:10:26.000Z | Volume/Supporting/AppDelegate.swift | cuappdev/volume-ios | 1eb19d0a9d66966ff41595a48e6c34929e5cf263 | [
"MIT"
] | null | null | null | //
// AppDelegate.swift
// Volume
//
// Created by Hanzheng Li on 9/29/21.
// Copyright © 2021 Cornell AppDev. All rights reserved.
//
import UIKit
import UserNotifications
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions laun... | 38.296296 | 152 | 0.746615 |
0a0d35188f40413527f57491186877753e7f1c5a | 262 | h | C | SuperSaaSObjCSDK/Classes/Api/SSSBaseApi.h | TertiumQuid/supersaas-objc-sdk | fb873f5fc3e3b98d232c2f54eb0a1cd6862067a4 | [
"MIT"
] | null | null | null | SuperSaaSObjCSDK/Classes/Api/SSSBaseApi.h | TertiumQuid/supersaas-objc-sdk | fb873f5fc3e3b98d232c2f54eb0a1cd6862067a4 | [
"MIT"
] | null | null | null | SuperSaaSObjCSDK/Classes/Api/SSSBaseApi.h | TertiumQuid/supersaas-objc-sdk | fb873f5fc3e3b98d232c2f54eb0a1cd6862067a4 | [
"MIT"
] | null | null | null | #import <Foundation/Foundation.h>
@class SSSClient;
@interface SSSBaseApi : NSObject
- (id)initWithClient:(SSSClient*)client;
- (NSString *)formatDateString:(NSDate *)date;
- (NSString *)formatIntString:(NSInteger)integer;
@property SSSClient *client;
@end
| 18.714286 | 49 | 0.755725 |
cb1f1c5e33e9ed81048d18ba196e24b6f6f7c185 | 6,445 | go | Go | core/connector/protobuf.go | sutaakar/rhpam-kogito-operator | b6f011523122cfe6306efdaed46335d89f1ea24c | [
"Apache-2.0"
] | null | null | null | core/connector/protobuf.go | sutaakar/rhpam-kogito-operator | b6f011523122cfe6306efdaed46335d89f1ea24c | [
"Apache-2.0"
] | null | null | null | core/connector/protobuf.go | sutaakar/rhpam-kogito-operator | b6f011523122cfe6306efdaed46335d89f1ea24c | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 Red Hat, Inc. and/or its affiliates
//
// 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 applic... | 39.29878 | 158 | 0.780915 |
86f87b9307246101d53c6b8b048115cec178ac18 | 48,548 | rs | Rust | fyrox-core/src/pool.rs | jackos/Fyrox | 4b293733bda8e1a0a774aaf82554ac8930afdd8b | [
"MIT"
] | 1 | 2021-12-14T20:01:33.000Z | 2021-12-14T20:01:33.000Z | fyrox-core/src/pool.rs | jackos/Fyrox | 4b293733bda8e1a0a774aaf82554ac8930afdd8b | [
"MIT"
] | null | null | null | fyrox-core/src/pool.rs | jackos/Fyrox | 4b293733bda8e1a0a774aaf82554ac8930afdd8b | [
"MIT"
] | null | null | null | //! A generational arena - a contiguous growable array type which allows removing
//! from the middle without shifting and therefore without invalidating other indices.
//!
//! Pool is a contiguous block of memory with fixed-size entries, each entry can be
//! either vacant or occupied. When you put an object into the ... | 31.080666 | 160 | 0.54682 |
4d66463786d945c93a29db78547c3336b7f2b5ae | 1,223 | lua | Lua | events/thunderstorm.lua | kcaze/rags_to_riches | 6484737b3a172563be4e42d8293823b44d6ede5f | [
"CC-BY-4.0"
] | 1 | 2019-10-14T02:18:08.000Z | 2019-10-14T02:18:08.000Z | events/thunderstorm.lua | kcaze/rags_to_riches | 6484737b3a172563be4e42d8293823b44d6ede5f | [
"CC-BY-4.0"
] | null | null | null | events/thunderstorm.lua | kcaze/rags_to_riches | 6484737b3a172563be4e42d8293823b44d6ede5f | [
"CC-BY-4.0"
] | null | null | null | local item = require("../item");
local image = require("../image")
return {
name = "Stormy weather",
amount = 5,
weight = 0.25,
condition = function(state)
return state.coins >= 10 and state.hp >= 10
end,
description = "Dark clouds are looming above you.",
heads = {
effectDescription = "+1 red fi... | 27.177778 | 110 | 0.600164 |
11dae520c3e089f640c0d3176aa4820767ba9c9d | 381 | asm | Assembly | P5/P5_TestCode/P5_L1_testcase8/mips8.asm | alxzzhou/BUAA_CO_2020 | b54bf367081a5a11701ebc3fc78a23494aecca9e | [
"Apache-2.0"
] | 1 | 2022-01-23T09:24:47.000Z | 2022-01-23T09:24:47.000Z | P5/P5_TestCode/P5_L1_testcase8/mips8.asm | alxzzhou/BUAA_CO_2020 | b54bf367081a5a11701ebc3fc78a23494aecca9e | [
"Apache-2.0"
] | null | null | null | P5/P5_TestCode/P5_L1_testcase8/mips8.asm | alxzzhou/BUAA_CO_2020 | b54bf367081a5a11701ebc3fc78a23494aecca9e | [
"Apache-2.0"
] | null | null | null | .data
nums: .space 4096
.text
ori $s1, $s1, 0x3000
ori $s0, $0, 15
sw $s0, nums+0x30
ori $s0, $0, 16
sw $s0, nums+0x40
ori $s0, $0, 17
sw $s0, nums+0x54
jal loop
subu $t1, $ra, $s1
ori $t0, $0, 1
loop:
lw $s3, nums($t1)
jal loop2
subu $t1, $ra, $s1
ori $t0, $0, 1
loop2:
nop
lw $s4, nums($t1)
jal loop3
subu $t1,... | 13.607143 | 20 | 0.580052 |
04e019b345856f3077a7a4b08eec5c8c0b8bd900 | 2,228 | swift | Swift | Sources/AlertController.swift | usecanvas/ios-v1 | c740206a294c775ebc48894b8b36ce477c5cec82 | [
"Apache-2.0"
] | 135 | 2017-04-04T21:09:22.000Z | 2020-07-03T06:28:48.000Z | Sources/AlertController.swift | usecanvas/ios-v1 | c740206a294c775ebc48894b8b36ce477c5cec82 | [
"Apache-2.0"
] | 1 | 2017-04-07T20:44:17.000Z | 2017-04-07T20:44:17.000Z | Sources/AlertController.swift | usecanvas/ios-v1 | c740206a294c775ebc48894b8b36ce477c5cec82 | [
"Apache-2.0"
] | 18 | 2017-04-04T21:07:25.000Z | 2018-10-04T10:55:41.000Z | //
// AlertController.swift
// Canvas
//
// Created by Sam Soffes on 11/27/15.
// Copyright © 2015 Canvas Labs, Inc. All rights reserved.
//
import UIKit
import CanvasCore
final class AlertController: UIAlertController {
// MARK: - Properties
/// Used when return is pressed while the controller is showing
va... | 22.969072 | 87 | 0.690754 |
05d2a3e39b44dc78fae7ca4ab357e4939890ba45 | 519 | sql | SQL | SQL/Working_SearchProceduralCode.sql | ColbyLithyouvong/PortfolioReferences | 59def33676a5bc9696e270cf9135b4b08908f943 | [
"MIT"
] | 1 | 2021-01-12T23:37:18.000Z | 2021-01-12T23:37:18.000Z | SQL/Working_SearchProceduralCode.sql | ColbyLithyouvong/PortfolioReferences | 59def33676a5bc9696e270cf9135b4b08908f943 | [
"MIT"
] | 2 | 2021-01-28T20:26:59.000Z | 2021-12-08T20:03:19.000Z | SQL/Working_SearchProceduralCode.sql | ColbyLithyouvong/PortfolioReferences | 59def33676a5bc9696e270cf9135b4b08908f943 | [
"MIT"
] | 1 | 2022-03-16T19:10:45.000Z | 2022-03-16T19:10:45.000Z | /*
This code is a working file used for everyday references.
This code searches SQL to identify any Procedure, View, Trigger, or Function based on Text.
The following code demonstrates SQL interpretations used in SQL Azure 2016.
This is not a copy of any current implementation of any company.
*/
SELE... | 30.529412 | 94 | 0.720617 |
16f6c540919bba17aa19030173c414780e06a8cf | 8,066 | swift | Swift | macos/FluentUIUnitTest/AvatarViewTests.swift | jasonLiu-jiacli/fluentui-apple | 28a65636589d3a0c0b02742999b74d545bf144e1 | [
"MIT"
] | 1 | 2020-08-30T09:52:39.000Z | 2020-08-30T09:52:39.000Z | macos/FluentUIUnitTest/AvatarViewTests.swift | jasonLiu-jiacli/fluentui-apple | 28a65636589d3a0c0b02742999b74d545bf144e1 | [
"MIT"
] | null | null | null | macos/FluentUIUnitTest/AvatarViewTests.swift | jasonLiu-jiacli/fluentui-apple | 28a65636589d3a0c0b02742999b74d545bf144e1 | [
"MIT"
] | null | null | null | //
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
import XCTest
@testable import FluentUI
class AvatarViewTests: XCTestCase {
func testValidInitialsCharacter () {
XCTAssertTrue(Character("A").isValidInitialsCharacter)
XCTAssertTrue(Character("Æ").isValidIniti... | 59.748148 | 138 | 0.758244 |
b9a136fadaa3d6880ac8574fb353997a2bc6c998 | 250 | c | C | musicplayer/plugins/viceplugin/overrides/monitor/monitor_network.c | Osmose/moseamp | 8357daf2c93bc903c8041cc82bf3567e8d085a60 | [
"MIT"
] | 6 | 2017-04-19T19:06:03.000Z | 2022-01-11T14:44:14.000Z | plugins/viceplugin/overrides/monitor/monitor_network.c | sasq64/musicplayer | 372852c2f4e3231a09db2628fc4b7e7c2bfeec67 | [
"MIT"
] | 4 | 2018-04-04T20:27:32.000Z | 2020-04-25T10:46:21.000Z | musicplayer/plugins/viceplugin/overrides/monitor/monitor_network.c | Osmose/moseamp | 8357daf2c93bc903c8041cc82bf3567e8d085a60 | [
"MIT"
] | 2 | 2018-06-08T15:20:48.000Z | 2020-08-19T14:24:21.000Z | #include "vice.h"
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include "ui.h"
#include "uiapi.h"
int monitor_is_remote(void)
{
return 0;
}
ui_jam_action_t monitor_network_ui_jam_dialog(const char *format, ...)
{
return 0;
} | 14.705882 | 70 | 0.696 |
ac26591853c1c3fea3c6a58a6392b6b15a239326 | 2,689 | asm | Assembly | src/ports.asm | Codesmith512/Apex | c230c53ab8f32a5371dcf7b40d25fa9fbb85ac6b | [
"MIT"
] | 1 | 2021-04-01T09:34:26.000Z | 2021-04-01T09:34:26.000Z | src/ports.asm | Codesmith512/Apex | c230c53ab8f32a5371dcf7b40d25fa9fbb85ac6b | [
"MIT"
] | null | null | null | src/ports.asm | Codesmith512/Apex | c230c53ab8f32a5371dcf7b40d25fa9fbb85ac6b | [
"MIT"
] | null | null | null | ; ##################################
; Low-level assembly port functions
; ##################################
[bits 32]
section .text
; @function void out_8(uint16_t port, uint8_t b)
; Writes the byte to the given port
global out_8
out_8:
; standard frame setup
push ebp
mov ebp, esp
; al is used for the byte ... | 15.633721 | 75 | 0.651543 |
ea0f49086172ef601f48f0d46e315c0f7fd1d096 | 1,781 | sql | SQL | Speckoz.BukkitDev/BukkitDev.Desktop/dados.sql | Speckoz/BukkitDev-Desktop | a4e2aa70099cb8e4d9f669512c396ec40478ba4b | [
"MIT"
] | 3 | 2020-01-03T23:26:08.000Z | 2021-11-08T09:10:42.000Z | Speckoz.BukkitDev/BukkitDev.Desktop/dados.sql | Speckoz/BukkitDev-Desktop | a4e2aa70099cb8e4d9f669512c396ec40478ba4b | [
"MIT"
] | 3 | 2019-08-19T19:29:55.000Z | 2019-08-21T16:38:46.000Z | Speckoz.BukkitDev/BukkitDev.Desktop/dados.sql | Speckoz/BukkitDev-Desktop | a4e2aa70099cb8e4d9f669512c396ec40478ba4b | [
"MIT"
] | 1 | 2021-01-13T07:09:12.000Z | 2021-01-13T07:09:12.000Z | create database if not exists BukkitDev;
drop database if exists BukkitDev;
use BukkitDev;
##########################
######### testes #########
##########################
#====================================================================================
show tables;
select * from PluginList;# where NomePlugin li... | 34.921569 | 137 | 0.633352 |
f4e6f8ad519456c743388a34919b6be984b30789 | 4,457 | kt | Kotlin | libs/docker-client/src/main/kotlin/batect/docker/build/buildkit/services/FileSyncScope.kt | exustash/batect | 2248da4cf569980b2a443e8b5cf72b9c011be837 | [
"Apache-2.0"
] | 1 | 2021-08-08T11:08:27.000Z | 2021-08-08T11:08:27.000Z | libs/docker-client/src/main/kotlin/batect/docker/build/buildkit/services/FileSyncScope.kt | exustash/batect | 2248da4cf569980b2a443e8b5cf72b9c011be837 | [
"Apache-2.0"
] | null | null | null | libs/docker-client/src/main/kotlin/batect/docker/build/buildkit/services/FileSyncScope.kt | exustash/batect | 2248da4cf569980b2a443e8b5cf72b9c011be837 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2017-2021 Charles Korn.
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... | 39.442478 | 208 | 0.694413 |
e571f614e4ac8b22fda2a4de938bfe61f2612be4 | 5,077 | swift | Swift | Pods/Yams/Sources/Yams/Representer.swift | Snagajob/Sourcery | ddc70f3eed66d9bacf71874f5ca893f1b2f30cbb | [
"MIT"
] | 17 | 2017-02-19T21:30:02.000Z | 2021-01-18T14:24:08.000Z | Pods/Yams/Sources/Yams/Representer.swift | Snagajob/Sourcery | ddc70f3eed66d9bacf71874f5ca893f1b2f30cbb | [
"MIT"
] | null | null | null | Pods/Yams/Sources/Yams/Representer.swift | Snagajob/Sourcery | ddc70f3eed66d9bacf71874f5ca893f1b2f30cbb | [
"MIT"
] | null | null | null | //
// Representer.swift
// Yams
//
// Created by Norio Nomura on 1/8/17.
// Copyright (c) 2017 Yams. All rights reserved.
//
#if SWIFT_PACKAGE
import CYaml
#endif
import Foundation
public extension Node {
/// initialize `Node` with instance of `NodeRepresentable`
/// - Parameter representable: instanc... | 30.220238 | 110 | 0.672247 |
92ae10a187521645aa3e4404ed0657232a105439 | 413,424 | c | C | stage0/stdlib/Init/Lean/Compiler/IR/EmitC.c | mhuisi/lean4 | dda44bc47f3e5d024508060dac2bcb59fd12e4c0 | [
"Apache-2.0"
] | null | null | null | stage0/stdlib/Init/Lean/Compiler/IR/EmitC.c | mhuisi/lean4 | dda44bc47f3e5d024508060dac2bcb59fd12e4c0 | [
"Apache-2.0"
] | 2 | 2020-10-11T19:06:55.000Z | 2020-10-11T19:06:59.000Z | stage0/stdlib/Init/Lean/Compiler/IR/EmitC.c | mhuisi/lean4 | dda44bc47f3e5d024508060dac2bcb59fd12e4c0 | [
"Apache-2.0"
] | 2 | 2020-07-07T14:51:27.000Z | 2020-07-08T10:37:07.000Z | // Lean compiler output
// Module: Init.Lean.Compiler.IR.EmitC
// Imports: Init.Control.Conditional Init.Lean.Runtime Init.Lean.Compiler.NameMangling Init.Lean.Compiler.ExportAttr Init.Lean.Compiler.InitAttr Init.Lean.Compiler.IR.CompilerM Init.Lean.Compiler.IR.EmitUtil Init.Lean.Compiler.IR.NormIds Init.Lean.Compiler.... | 30.254226 | 599 | 0.789033 |
685394b0c4cdccde6303a04869b430d0e0cf77f4 | 791 | sql | SQL | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5428601_sys_09342_AddPaymentWriteOff_make_it_mandatory.sql | dram/metasfresh | a1b881a5b7df8b108d4c4ac03082b72c323873eb | [
"RSA-MD"
] | 1,144 | 2016-02-14T10:29:35.000Z | 2022-03-30T09:50:41.000Z | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5428601_sys_09342_AddPaymentWriteOff_make_it_mandatory.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 8,283 | 2016-04-28T17:41:34.000Z | 2022-03-30T13:30:12.000Z | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5428601_sys_09342_AddPaymentWriteOff_make_it_mandatory.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 441 | 2016-04-29T08:06:07.000Z | 2022-03-28T06:09:56.000Z | -- 29.09.2015 10:23
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET IsMandatory='Y', IsUpdateable='Y',Updated=TO_TIMESTAMP('2015-09-29 10:23:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=552756
;
-- 29.09.2015 10:23
-- I forgot to set the DICTIONARY_ID_COMMENTS Sy... | 37.666667 | 162 | 0.787611 |
16bfec54ccd4dcb7b790f61b1daa995b04978a8e | 205 | ts | TypeScript | extensions/slack/src/connections/slackConnection.ts | r2m1/Extensions | 289679a5336e5fe4793ddf25c073fba80b7f6a71 | [
"MIT"
] | 10 | 2020-10-10T18:10:58.000Z | 2021-12-02T14:54:42.000Z | extensions/slack/src/connections/slackConnection.ts | r2m1/Extensions | 289679a5336e5fe4793ddf25c073fba80b7f6a71 | [
"MIT"
] | 21 | 2020-09-01T09:49:23.000Z | 2022-03-16T10:45:08.000Z | extensions/slack/src/connections/slackConnection.ts | r2m1/Extensions | 289679a5336e5fe4793ddf25c073fba80b7f6a71 | [
"MIT"
] | 18 | 2020-12-02T12:01:23.000Z | 2022-03-14T11:47:12.000Z | import { IConnectionSchema } from "@cognigy/extension-tools";
export const slackConnection: IConnectionSchema = {
type: "slack",
label: "Slack Connection",
fields: [
{ fieldName: "webhookUrl" }
]
}; | 22.777778 | 61 | 0.707317 |
40b87655016cd1560189bafcde94f86f065f3a01 | 932 | py | Python | harness.py | todrzywolek/word-learner | 87d290991357e26d40e44b06a50ce78d7a4c1f59 | [
"MIT"
] | null | null | null | harness.py | todrzywolek/word-learner | 87d290991357e26d40e44b06a50ce78d7a4c1f59 | [
"MIT"
] | null | null | null | harness.py | todrzywolek/word-learner | 87d290991357e26d40e44b06a50ce78d7a4c1f59 | [
"MIT"
] | null | null | null | from logic import Logic
import hints
from gui import open_file
class Harness:
FILE_OPEN_OPTIONS = dict(defaultextension='.txt',
filetypes=[('text files', '*.txt')],
title='Wybierz plik z listą słówek')
def __init__(self):
self._logic = Logic(... | 23.3 | 82 | 0.550429 |
6ba37f8f79ecd20a22bc077d99026b2c22804415 | 38,147 | h | C | src/Molecule_Lib/rxn_file.h | michaelweiss092/LillyMol | a2b7d1d8a07ef338c754a0a2e3b2624aac694cc9 | [
"Apache-2.0"
] | 53 | 2018-06-01T13:16:15.000Z | 2022-02-23T21:04:28.000Z | src/Molecule_Lib/rxn_file.h | michaelweiss092/LillyMol | a2b7d1d8a07ef338c754a0a2e3b2624aac694cc9 | [
"Apache-2.0"
] | 19 | 2018-08-14T13:43:18.000Z | 2021-09-24T12:53:11.000Z | src/Molecule_Lib/rxn_file.h | michaelweiss092/LillyMol | a2b7d1d8a07ef338c754a0a2e3b2624aac694cc9 | [
"Apache-2.0"
] | 19 | 2018-10-23T19:41:01.000Z | 2022-02-17T08:14:00.000Z | #ifndef IWRXN_FILE_H
#define IWRXN_FILE_H
#include "sparse_fp_creator.h"
#include "iw_stl_hash_map.h"
#include "iwreaction.h"
#include <iostream>
#include <iomanip>
#include <fstream>
#include "mdl_molecule.h"
class Atom_Typing_Specification;
class ISIS_RXN_FILE_Molecule;
class Product_Atom_Types;
/*
When creati... | 41.827851 | 172 | 0.709414 |
6dea5eac771508774777fc4cb4623c3ca1def088 | 969 | asm | Assembly | u7si/conversationKeys.asm | JohnGlassmyer/UltimaHacks | f9a114e00c4a1edf1ac7792b465feff2c9b88ced | [
"MIT"
] | 68 | 2018-03-04T22:34:22.000Z | 2022-03-10T15:18:32.000Z | u7si/conversationKeys.asm | ptrie/UltimaHacks | 2c3557a86d94ad8b54b26bc395b9aed1604f8be1 | [
"MIT"
] | 19 | 2018-11-20T04:06:49.000Z | 2021-11-08T16:37:10.000Z | u7si/conversationKeys.asm | ptrie/UltimaHacks | 2c3557a86d94ad8b54b26bc395b9aed1604f8be1 | [
"MIT"
] | 4 | 2020-09-01T17:57:36.000Z | 2022-01-04T20:51:11.000Z | %include "include/u7si-all-includes.asm"
defineAddress 323, 0x05C2, prepareConversationGump
defineAddress 323, 0x0C88, textLoop_procStart
defineAddress 323, 0x0CDD, textLoop_procEnd
defineAddress 323, 0x0C10, optionsLoop_beforeLoop
defineAddress 323, 0x0C65, optionsLoop_loopEnd
defineAddress 323, 0x0DC7, signLoop_s... | 32.3 | 59 | 0.864809 |
6c0b60f309590b65808b4c98654c55786a788278 | 7,752 | go | Go | server/source.go | mikedewar/st-core | 7211c25e6c543987c38f9a7c0efe55c24c9ee58d | [
"Apache-2.0"
] | 42 | 2015-01-07T14:01:06.000Z | 2021-06-12T07:14:32.000Z | server/source.go | mikedewar/st-core | 7211c25e6c543987c38f9a7c0efe55c24c9ee58d | [
"Apache-2.0"
] | 198 | 2015-01-02T15:47:49.000Z | 2016-06-09T19:11:40.000Z | server/source.go | mikedewar/st-core | 7211c25e6c543987c38f9a7c0efe55c24c9ee58d | [
"Apache-2.0"
] | 9 | 2015-04-13T14:48:08.000Z | 2021-07-25T11:43:19.000Z | package server
import (
"encoding/json"
"errors"
"io/ioutil"
"net/http"
"github.com/gorilla/mux"
"github.com/nytlabs/st-core/core"
"github.com/thejerf/suture"
)
type SourceLedger struct {
Label string `json:"label"`
Type string `json:"type"`
Id int ... | 21.065217 | 101 | 0.659701 |
f3ccd5c22afef10b26083e3d85656a947b73db25 | 1,256 | asm | Assembly | programs/oeis/168/A168014.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/168/A168014.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/168/A168014.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A168014: Sum of all parts of all partitions of n into equal parts that do not contain 1 as a part.
; 0,0,2,3,8,5,18,7,24,18,30,11,60,13,42,45,64,17,90,19,100,63,66,23,168,50,78,81,140,29,210,31,160,99,102,105,288,37,114,117,280,41,294,43,220,225,138,47,432,98,250,153,260,53,378,165,392,171,174,59,660,61,186,315,384,1... | 104.666667 | 1,004 | 0.730096 |
d944a5f70dbe111995e4efe2c6bc1f79cfe47b55 | 722 | swift | Swift | Sources/TDLibKit/Generated/Models/ToggleSupergroupSignMessages.swift | Swiftgram/TDLibKit | e78aef926cdd92323755bcb72309aa5afed1f02a | [
"MIT"
] | 7 | 2021-09-05T13:16:45.000Z | 2021-12-23T17:45:30.000Z | Sources/TDLibKit/Generated/Models/ToggleSupergroupSignMessages.swift | Swiftgram/TDLibKit | e78aef926cdd92323755bcb72309aa5afed1f02a | [
"MIT"
] | 4 | 2021-09-18T11:01:12.000Z | 2022-03-13T16:00:46.000Z | Sources/TDLibKit/Generated/Models/ToggleSupergroupSignMessages.swift | Swiftgram/TDLibKit | e78aef926cdd92323755bcb72309aa5afed1f02a | [
"MIT"
] | 1 | 2022-02-01T07:10:17.000Z | 2022-02-01T07:10:17.000Z | //
// ToggleSupergroupSignMessages.swift
// tl2swift
//
// Generated automatically. Any changes will be lost!
// Based on TDLib 1.8.0-fa8feefe
// https://github.com/tdlib/td/tree/fa8feefe
//
import Foundation
/// Toggles whether sender signature is added to sent messages in a channel; requires can_change_info a... | 22.5625 | 121 | 0.702216 |
f9d3c84ea329a805270da6b575d0ab4b7c4d695b | 325 | go | Go | engine/constants/economy.go | dadleyy/charlestown | 2d400ac51431efdc8e379a5e026f278dd0219545 | [
"MIT"
] | 1 | 2019-08-03T21:04:22.000Z | 2019-08-03T21:04:22.000Z | engine/constants/economy.go | dadleyy/charlestown | 2d400ac51431efdc8e379a5e026f278dd0219545 | [
"MIT"
] | null | null | null | engine/constants/economy.go | dadleyy/charlestown | 2d400ac51431efdc8e379a5e026f278dd0219545 | [
"MIT"
] | null | null | null | package constants
import "time"
const (
// EconomyMultiplier offsets building costs and income to make more sense.
EconomyMultiplier = 1000
// BaseTurnCardinality the amount of turns offered regardless of pop.
BaseTurnCardinality = 4
// TurnDuration is how many seconds turns are.
TurnDuration = time.Second * ... | 21.666667 | 75 | 0.769231 |
fb65b26f17432cb7a33f9c6f0cc1d052f8055742 | 397 | c | C | library/usergroup/setgrent.c | sodero/clib2-1 | f1f328909735c88ec2e1d4059d1b941ba859ba91 | [
"Unlicense",
"BSD-3-Clause"
] | null | null | null | library/usergroup/setgrent.c | sodero/clib2-1 | f1f328909735c88ec2e1d4059d1b941ba859ba91 | [
"Unlicense",
"BSD-3-Clause"
] | null | null | null | library/usergroup/setgrent.c | sodero/clib2-1 | f1f328909735c88ec2e1d4059d1b941ba859ba91 | [
"Unlicense",
"BSD-3-Clause"
] | null | null | null | /*
* $Id: usergroup_setgrent.c,v 1.3 2006-01-08 12:04:27 clib2devs Exp $
*/
#ifndef _USERGROUP_HEADERS_H
#include "usergroup_headers.h"
#endif /* _USERGROUP_HEADERS_H */
/****************************************************************************/
void setgrent(void)
{
ENTER();
assert(__UserGroupBase != NULL);
... | 16.541667 | 78 | 0.561713 |
0eda470dfb490e80d33bebd993f5d3d3e07a354c | 4,337 | c | C | sdk/sdk/codec/amrcodec/decode/lsp_avg.c | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | 1 | 2021-10-09T08:05:50.000Z | 2021-10-09T08:05:50.000Z | sdk/sdk/codec/amrcodec/decode/lsp_avg.c | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | null | null | null | sdk/sdk/codec/amrcodec/decode/lsp_avg.c | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | null | null | null | /* OK
*****************************************************************************
*
* GSM AMR-NB speech codec R98 Version 7.6.0 December 12, 2001
* R99 Version 3.3.0
* REL-4 Version 4.1.0
*
****************************************************... | 27.27673 | 89 | 0.346092 |
6edf2338eafa31eb5303c681bde1a27ab3912a8c | 42,214 | tab | SQL | jet-hypothesis/src/test/f/lrc-02-4.tab | maurotalevi/jet | f24e96b45051e4f15f6a4959fcce1c12e6de4619 | [
"Apache-2.0"
] | 1 | 2017-11-06T23:10:47.000Z | 2017-11-06T23:10:47.000Z | jet-hypothesis/src/test/f/lrc-02-4.tab | codehaus/jet | 42423f56b955129258cf175153fbd7430e1df167 | [
"Apache-2.0"
] | null | null | null | jet-hypothesis/src/test/f/lrc-02-4.tab | codehaus/jet | 42423f56b955129258cf175153fbd7430e1df167 | [
"Apache-2.0"
] | null | null | null | Copyright (C) 1998 James G. MacKinnon, Alfred A. Haug, and Leo Michelis.
lm0-02-4 3 1
3.3474 0.021724
3.6605 0.017614
4.1236 0.012234
4.5152 0.009656
4.9651 0.007820
5.2584 0.007137
5.4765 0.006376
5.6553 0.006109
5.8124 0.005620
5.9494 0.005347
6.0705 0.005282
6.1797 0.005072
6... | 18.9982 | 73 | 0.681077 |
fbb378382c2719d1710bc0873713d2d8b8552bc4 | 3,639 | h | C | include/multiverso/table/matrix.h | yesme/Multiverso | e45369e1d07277f656b0900beb2709d86679fa53 | [
"MIT"
] | 445 | 2015-11-10T04:00:17.000Z | 2016-10-21T01:10:27.000Z | include/multiverso/table/matrix.h | yesme/Multiverso | e45369e1d07277f656b0900beb2709d86679fa53 | [
"MIT"
] | 57 | 2015-11-10T14:54:29.000Z | 2016-08-11T05:48:13.000Z | include/multiverso/table/matrix.h | yesme/Multiverso | e45369e1d07277f656b0900beb2709d86679fa53 | [
"MIT"
] | 156 | 2015-11-10T05:21:49.000Z | 2016-10-19T15:25:38.000Z | #ifndef MULTIVERSO_MATRIX_H_
#define MULTIVERSO_MATRIX_H_
#include "multiverso/multiverso.h"
#include "multiverso/table_interface.h"
#include <vector>
namespace multiverso {
template <typename T>
struct MatrixOption;
template <typename T>
class MatrixWorker : public WorkerTable {
public:
explicit Mat... | 28.429688 | 88 | 0.674636 |
da93f4838d06aa176a414fb8e7b2206dbba8803f | 1,614 | dart | Dart | lib/bloc/feature/daily_update_bloc.dart | Vellutia/covid19_monitor | 29edffd19e05f65a620156f0f071f3950b19efa1 | [
"Apache-2.0"
] | 7 | 2020-03-27T22:42:02.000Z | 2021-02-21T16:34:59.000Z | lib/bloc/feature/daily_update_bloc.dart | Vellutia/covid19_monitor | 29edffd19e05f65a620156f0f071f3950b19efa1 | [
"Apache-2.0"
] | null | null | null | lib/bloc/feature/daily_update_bloc.dart | Vellutia/covid19_monitor | 29edffd19e05f65a620156f0f071f3950b19efa1 | [
"Apache-2.0"
] | 3 | 2020-04-14T16:40:14.000Z | 2020-11-16T05:51:39.000Z | import 'dart:async';
import 'package:equatable/equatable.dart';
import 'package:flutter/foundation.dart';
import 'package:hydrated_bloc/hydrated_bloc.dart';
import '../../model/daily_update_model.dart';
import '../../repository/daily_update_repository.dart';
part 'daily_update_event.dart';
part 'daily_update_state.d... | 24.089552 | 80 | 0.673482 |