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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4126a73bd1f05adfd9228711d6ea30428568ca70 | 540 | kt | Kotlin | src/test/kotlin/ru/jetbrains/testenvrunner/utils/DateTest.kt | mkuzmin/stamper | f3f6e926a73202122d4d8a2e31cec9917acb4d02 | [
"Apache-2.0"
] | 2 | 2017-07-30T14:24:49.000Z | 2017-07-30T14:24:50.000Z | src/test/kotlin/ru/jetbrains/testenvrunner/utils/DateTest.kt | mkuzmin/stamper | f3f6e926a73202122d4d8a2e31cec9917acb4d02 | [
"Apache-2.0"
] | 13 | 2017-07-05T09:44:26.000Z | 2017-07-30T14:12:34.000Z | src/test/kotlin/ru/jetbrains/testenvrunner/utils/DateTest.kt | mkuzmin/stamper | f3f6e926a73202122d4d8a2e31cec9917acb4d02 | [
"Apache-2.0"
] | null | null | null | package ru.jetbrains.testenvrunner.utils
import org.junit.Assert
import org.junit.Test
import java.text.SimpleDateFormat
class DateTest : Assert() {
private val dateUtil = DateUtils()
private val dateFormat = SimpleDateFormat("HH:mm dd/MM/yy")
@Test
fun getCurrentDateTest() {
val curDateString... | 28.421053 | 88 | 0.718519 |
74de1e3591e91960cd3a8be15619b9e4afb1c2da | 10,302 | js | JavaScript | app/repositories/ReportsRepository.js | noms-digital-studio/nomis-reports | 090a7998c42d0fe8d51f2b6b1bf06f36d86b0d90 | [
"MIT"
] | 2 | 2019-06-03T14:34:56.000Z | 2020-04-16T16:43:58.000Z | app/repositories/ReportsRepository.js | noms-digital-studio/nomis-reports | 090a7998c42d0fe8d51f2b6b1bf06f36d86b0d90 | [
"MIT"
] | 5 | 2022-01-24T17:20:28.000Z | 2022-02-12T02:43:15.000Z | app/repositories/ReportsRepository.js | noms-digital-studio/nomis-reports | 090a7998c42d0fe8d51f2b6b1bf06f36d86b0d90 | [
"MIT"
] | 1 | 2021-04-11T06:35:15.000Z | 2021-04-11T06:35:15.000Z | const custodyApiAgent = require('../helpers/custodyApiAgent');
const helpers = require('../helpers');
function ReportsRepository(config, agent) {
this.config = Object.assign({ limit: 2000 }, config);
this.agent = custodyApiAgent(agent, undefined, this.config.custody);
let root = this.config.custody.apiUrl;
... | 50.748768 | 123 | 0.76888 |
d41c64f36082456ae4883c154cbb63bf28bf057d | 2,099 | kt | Kotlin | app/src/main/java/com/rifqimfahmi/foorballapps/features/playerdetail/PlayerDetailActivity.kt | lazybearkid261/mvvm-clone | 1014693a7faf49c2fc4cf50934d2cc1790935c69 | [
"MIT"
] | 132 | 2019-03-05T22:24:37.000Z | 2022-03-09T15:13:31.000Z | app/src/main/java/com/rifqimfahmi/foorballapps/features/playerdetail/PlayerDetailActivity.kt | lazybearkid261/mvvm-clone | 1014693a7faf49c2fc4cf50934d2cc1790935c69 | [
"MIT"
] | 4 | 2019-06-13T18:25:41.000Z | 2019-08-29T21:20:11.000Z | app/src/main/java/com/rifqimfahmi/foorballapps/features/playerdetail/PlayerDetailActivity.kt | lazybearkid261/mvvm-clone | 1014693a7faf49c2fc4cf50934d2cc1790935c69 | [
"MIT"
] | 42 | 2019-03-05T22:24:37.000Z | 2022-03-01T10:18:33.000Z | package com.rifqimfahmi.foorballapps.features.playerdetail
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.Observer
import com.rifqimfahmi.foorballapps.R
import com.rifqimfahmi.foorba... | 31.80303 | 97 | 0.707003 |
c08b1795bdfd5ec88aa9f0ec6e675aa8455fb324 | 1,035 | sql | SQL | src/Resources/NumericIdGeneratorStoredProcedure.sql | satano/Kros.Utils | 1f7de934cc68819862c48ea669dd1484d22618f2 | [
"MIT"
] | 3 | 2019-03-01T11:13:44.000Z | 2022-02-04T08:58:03.000Z | src/Resources/NumericIdGeneratorStoredProcedure.sql | satano/Kros.Utils | 1f7de934cc68819862c48ea669dd1484d22618f2 | [
"MIT"
] | 9 | 2019-03-22T08:17:34.000Z | 2021-04-14T07:39:30.000Z | src/Resources/NumericIdGeneratorStoredProcedure.sql | satano/Kros.Utils | 1f7de934cc68819862c48ea669dd1484d22618f2 | [
"MIT"
] | 7 | 2019-04-25T12:39:18.000Z | 2022-03-23T07:07:36.000Z | CREATE PROCEDURE [{{StoredProcedureName}}]
(
@TableName nvarchar(100) = '',
@NumberOfItems int = 1
)
AS
BEGIN
set nocount on
begin transaction
save transaction transSavePoint
begin try
declare @lastId {{DataType}}
SELECT @lastId = LastId FROM [{{TableName}}] WITH (XLOCK) WHERE (TableName = @TableName)
... | 19.166667 | 94 | 0.708213 |
53ba3dc260930eb5ec0352073fcdd06667bde1e1 | 676 | lua | Lua | TurtleLog.lua | mikk809h/TurtleMiner | 760a98ac3ed2b53a26e598023401b393196f4fe8 | [
"MIT"
] | null | null | null | TurtleLog.lua | mikk809h/TurtleMiner | 760a98ac3ed2b53a26e598023401b393196f4fe8 | [
"MIT"
] | null | null | null | TurtleLog.lua | mikk809h/TurtleMiner | 760a98ac3ed2b53a26e598023401b393196f4fe8 | [
"MIT"
] | null | null | null | local TurtleLog = {}
TurtleLog.RawLog = {}
function TurtleLog:Set(tbl)
self.RawLog = tbl
end
function TurtleLog:Add(tbl)
local newLog = {}
newLog[1] = tbl
for i = 1, #self.RawLog do
newLog[i+1] = self.RawLog[i]
end
newLog[256] = nil
self.RawLog = newLog
end
--[[ Remove: Removes fi... | 18.27027 | 55 | 0.634615 |
18a707435ba0018eb5b0e406f1818579d0180028 | 3,258 | css | CSS | assets/css/__productDesc.css | MahdiMhqq/e-commerce-digistyle | 5e7d1efe38e7fefb73e479971956c98beb3c328d | [
"MIT"
] | 3 | 2022-02-19T13:27:44.000Z | 2022-02-20T14:41:30.000Z | assets/css/__productDesc.css | MahdiMhqq/e-commerce-digistyle | 5e7d1efe38e7fefb73e479971956c98beb3c328d | [
"MIT"
] | null | null | null | assets/css/__productDesc.css | MahdiMhqq/e-commerce-digistyle | 5e7d1efe38e7fefb73e479971956c98beb3c328d | [
"MIT"
] | null | null | null | .p-bread-main-sec a.digikala-seller::after {
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
font-family: "Font Awesome 5 Free";
font-weight: 900;
content: "\f54f";
margin: 0 9px;
font-size: 13px;
}
.product-desc .icons {
... | 21.019355 | 49 | 0.652548 |
28e16643a7b2451d931ebc2e9c71355ba5f470c0 | 887 | podspec | Ruby | packages/core/RNAicactus.podspec | aicactus/aicactus-sdk-reactnative-lib | 9c90583e505d73bce53014dcfd1f0ee7c0956a40 | [
"MIT"
] | 1 | 2020-11-20T19:13:23.000Z | 2020-11-20T19:13:23.000Z | packages/core/RNAicactus.podspec | aicactus/aicactus-sdk-reactnative-lib | 9c90583e505d73bce53014dcfd1f0ee7c0956a40 | [
"MIT"
] | null | null | null | packages/core/RNAicactus.podspec | aicactus/aicactus-sdk-reactnative-lib | 9c90583e505d73bce53014dcfd1f0ee7c0956a40 | [
"MIT"
] | null | null | null | require 'json'
package = JSON.parse(File.read('./package.json'))
Pod::Spec.new do |s|
s.name = 'RNAicactus'
s.version = package['version']
s.summary = package['description']
s.description = <<-DESC
AicactusSDK is a client side module for AiCactus platform.
... | 34.115385 | 124 | 0.532131 |
5d7dbc425cdeff14b42c2f4126d8aa92bdc5c1e0 | 165 | kt | Kotlin | src/main/kotlin/org/dfreer/designpatterns/intro/designpuzzle/weapons/AxeBehavior.kt | Ysoko/design-patterns | 9bf40dc50e61b50cf3472703c7b62e7a1d378c2a | [
"MIT"
] | null | null | null | src/main/kotlin/org/dfreer/designpatterns/intro/designpuzzle/weapons/AxeBehavior.kt | Ysoko/design-patterns | 9bf40dc50e61b50cf3472703c7b62e7a1d378c2a | [
"MIT"
] | 3 | 2018-09-03T21:40:46.000Z | 2018-09-04T02:26:37.000Z | src/main/kotlin/org/dfreer/designpatterns/intro/designpuzzle/weapons/AxeBehavior.kt | Ysoko/design-patterns | 9bf40dc50e61b50cf3472703c7b62e7a1d378c2a | [
"MIT"
] | null | null | null | package org.dfreer.designpatterns.intro.designpuzzle.weapons
class AxeBehavior : WeaponBehavior {
override fun useWeapon() = println("Chopping with an axe!")
}
| 27.5 | 63 | 0.775758 |
98d1c59d8bf2e265f7c7ea52b7e8e6495a04bedf | 1,229 | html | HTML | SemanticChangeGraphMiner/output/patterns/OUTPUT-hybrid/supermine/6/3954/sampleChange.html | maldil/CPATMiner2.0 | 743aa8a5b638a1963e621f59f63d794728ab0c79 | [
"Apache-2.0"
] | 4 | 2021-11-04T02:47:31.000Z | 2022-01-25T02:04:05.000Z | SemanticChangeGraphMiner/output/patterns/OUTPUT-hybrid/supermine/6/3954/sampleChange.html | maldil/R-CPATMiner | 88b96a5af438a9c2ea2dab351cb8b210119132a2 | [
"Apache-2.0"
] | null | null | null | SemanticChangeGraphMiner/output/patterns/OUTPUT-hybrid/supermine/6/3954/sampleChange.html | maldil/R-CPATMiner | 88b96a5af438a9c2ea2dab351cb8b210119132a2 | [
"Apache-2.0"
] | 1 | 2021-09-11T06:52:39.000Z | 2021-09-11T06:52:39.000Z | <link rel="stylesheet" href="../../../../default.css">
<script src="../../../../highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<html><h3></h3><h3>Before Change</h3><pre><code class='java'>
else:
timepoints = None
depth = simple_itk_image.GetDepth()
<a i... | 43.892857 | 79 | 0.602116 |
0bb33e48ab4d6a272b6bde36a4ebf8cdf058801b | 1,309 | js | JavaScript | src/components/renderer/renderer.js | boopathi/vega-editor | f063acdef80872900f0bb66830aee7c2ceab7e0a | [
"BSD-3-Clause"
] | null | null | null | src/components/renderer/renderer.js | boopathi/vega-editor | f063acdef80872900f0bb66830aee7c2ceab7e0a | [
"BSD-3-Clause"
] | null | null | null | src/components/renderer/renderer.js | boopathi/vega-editor | f063acdef80872900f0bb66830aee7c2ceab7e0a | [
"BSD-3-Clause"
] | null | null | null | import './index.css';
import 'vega-tooltip/build/vega-tooltip.css';
import PropTypes from 'prop-types';
import React from 'react';
import * as vega from 'vega';
import * as vegaTooltip from 'vega-tooltip';
import {MODES} from '../../constants';
export default class Editor extends React.Component {
static propTypes... | 21.112903 | 87 | 0.637892 |
f97e9686f02110ac2c18e416e95d5fa35acde8be | 65 | sql | SQL | application/use.sql | s-oravec/tapir | a3ce8e0ab72e973f1461c20925cfa52c3093d69b | [
"MIT"
] | 1 | 2015-05-28T20:21:49.000Z | 2015-05-28T20:21:49.000Z | application/use.sql | s-oravec/tapir | a3ce8e0ab72e973f1461c20925cfa52c3093d69b | [
"MIT"
] | null | null | null | application/use.sql | s-oravec/tapir | a3ce8e0ab72e973f1461c20925cfa52c3093d69b | [
"MIT"
] | null | null | null | @&&run_dir_begin
@&&run_script api/synonyms.sql
@&&run_dir_end
| 10.833333 | 30 | 0.738462 |
d008dec26a225082780a1fd7df09925caf81809f | 173 | swift | Swift | test/SILOptimizer/Inputs/cross-module/default-submodule.swift | xjc90s/swift | cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49 | [
"Apache-2.0"
] | 2 | 2022-01-23T20:41:02.000Z | 2022-01-23T20:41:12.000Z | test/SILOptimizer/Inputs/cross-module/default-submodule.swift | xjc90s/swift | cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49 | [
"Apache-2.0"
] | 1 | 2018-08-23T19:35:25.000Z | 2018-08-23T19:35:25.000Z | test/SILOptimizer/Inputs/cross-module/default-submodule.swift | xjc90s/swift | cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49 | [
"Apache-2.0"
] | null | null | null |
public func incrementByOne(_ x: Int) -> Int {
return x + 1
}
@_semantics("optimize.no.crossmodule")
public func incrementByOneNoCMO(_ x: Int) -> Int {
return x + 1
}
| 15.727273 | 50 | 0.67052 |
993f14f4dfe7468270241544400861d0ce9152af | 305 | kt | Kotlin | app/src/main/java/com/adityakamble49/wordlist/ui/common/BaseContract.kt | rahulraopune/word-list | 12414daf546c2dcf6c390b48a4d952eca6340659 | [
"Apache-2.0"
] | 9 | 2018-04-28T05:51:56.000Z | 2021-06-11T04:01:01.000Z | app/src/main/java/com/adityakamble49/wordlist/ui/common/BaseContract.kt | rahulraopune/word-list | 12414daf546c2dcf6c390b48a4d952eca6340659 | [
"Apache-2.0"
] | 4 | 2018-06-10T14:52:38.000Z | 2018-12-20T14:07:55.000Z | app/src/main/java/com/adityakamble49/wordlist/ui/common/BaseContract.kt | adityakamble49/word-list | ea1f7cf58574b4a87dbe689cbf9ce69610b1718d | [
"Apache-2.0"
] | null | null | null | package com.adityakamble49.wordlist.ui.common
import android.arch.lifecycle.LifecycleOwner
/**
* BaseContract
*
* @author Aditya Kamble
* @since 7/4/2018
*/
interface BaseContract {
interface View : LifecycleOwner
interface Presenter {
fun initialize()
fun onStop()
}
} | 16.944444 | 45 | 0.685246 |
b986da1e7cf0c547094db3b1cfea4f2f7f7ec770 | 4,479 | h | C | SourceCode/Classes/BookManagement.h | wuwei211x/LibraryManagementByQt | ee26bb80ed80898a839cabb23635f0fff872c457 | [
"MIT"
] | 8 | 2020-07-05T07:32:11.000Z | 2021-12-24T13:50:31.000Z | SourceCode/Classes/BookManagement.h | wuwei211x/LibraryManagementByQt | ee26bb80ed80898a839cabb23635f0fff872c457 | [
"MIT"
] | 1 | 2021-11-09T14:53:34.000Z | 2021-11-25T15:43:57.000Z | SourceCode/Classes/BookManagement.h | wuwei211x/LibraryManagementByQt | ee26bb80ed80898a839cabb23635f0fff872c457 | [
"MIT"
] | 2 | 2020-12-28T12:27:02.000Z | 2021-05-29T07:37:58.000Z | #pragma once
#include <fstream>
#include "Book.h"
#include <list>
#include "QFile"
#include "QTextStream"
using namespace std;
class BookManagement
{
list<Book> BookMgm;
int BookNums;
public:
BookManagement() {
InputBooksFromFile();
BookNums=static_cast<int>(BookMgm.size());
}
int... | 30.060403 | 214 | 0.433132 |
d719785b581e829200638d8d20cc1a9f4f0e93f0 | 960 | kt | Kotlin | android-mvi-example/app/src/main/java/com/servicetitan/mviexample/ui/fragment/MovieDetailFragment.kt | julkwiec/mvi-examples | 01b2baf079c49a5e5f6ed4bc93078855eaad7eb3 | [
"MIT"
] | 1 | 2020-09-18T02:35:43.000Z | 2020-09-18T02:35:43.000Z | android-mvi-example/app/src/main/java/com/servicetitan/mviexample/ui/fragment/MovieDetailFragment.kt | julkwiec/mvi-examples | 01b2baf079c49a5e5f6ed4bc93078855eaad7eb3 | [
"MIT"
] | 3 | 2022-02-13T19:46:31.000Z | 2022-02-27T09:55:52.000Z | android-mvi-example/app/src/main/java/com/servicetitan/mviexample/ui/fragment/MovieDetailFragment.kt | julkwiec/mvi-examples | 01b2baf079c49a5e5f6ed4bc93078855eaad7eb3 | [
"MIT"
] | null | null | null | package com.servicetitan.mviexample.ui.fragment
import android.view.View
import androidx.compose.ui.platform.ComposeView
import androidx.navigation.fragment.navArgs
import com.servicetitan.mviexample.events.MovieDetailEvent
import com.servicetitan.mviexample.state.MovieDetailState
import com.servicetitan.mviexample.ui... | 34.285714 | 89 | 0.767708 |
70b743f28bd6ef5c1b73732a89114f794bae3ca4 | 24,284 | go | Go | x/vote/exported/mock/types.go | axelarnetwork/axelar-core | 3286430a37b0706726974eadb95f04d0e1a3fc95 | [
"Apache-2.0"
] | 18 | 2021-12-16T21:24:40.000Z | 2022-03-06T14:12:38.000Z | x/vote/exported/mock/types.go | axelarnetwork/axelar-core | 3286430a37b0706726974eadb95f04d0e1a3fc95 | [
"Apache-2.0"
] | 185 | 2021-11-22T18:23:31.000Z | 2022-03-30T20:28:41.000Z | x/vote/exported/mock/types.go | axelarnetwork/axelar-core | 3286430a37b0706726974eadb95f04d0e1a3fc95 | [
"Apache-2.0"
] | 11 | 2021-11-22T21:38:52.000Z | 2022-03-25T00:05:14.000Z | // Code generated by moq; DO NOT EDIT.
// github.com/matryer/moq
package mock
import (
"github.com/axelarnetwork/axelar-core/x/vote/exported"
"github.com/cosmos/cosmos-sdk/codec"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
"sync"
)
// Ensure, that PollMock does implement exported.Poll... | 31.910644 | 163 | 0.753953 |
6b69546208e569d29a60ba75ea0dd09edc7fff88 | 6,322 | c | C | tests/gl_vertex_buffer.c | apportable/emscripten | 6960d2296299e96d43e694806f5d35799ef8d39c | [
"MIT"
] | 2 | 2015-06-26T22:32:16.000Z | 2020-01-14T13:30:18.000Z | tests/gl_vertex_buffer.c | firasdib/emscripten | df11c6f1fd1636a355b83a1c48b3a890596e6a32 | [
"MIT"
] | null | null | null | tests/gl_vertex_buffer.c | firasdib/emscripten | df11c6f1fd1636a355b83a1c48b3a890596e6a32 | [
"MIT"
] | 1 | 2018-11-17T14:39:42.000Z | 2018-11-17T14:39:42.000Z | /*******************************************************************
* *
* Using SDL With OpenGL *
* *
* Tutorial by Kyle Foley... | 32.255102 | 122 | 0.54255 |
5c511ccbc8c61be155752f4524fb6f49cafed401 | 5,341 | h | C | mentos/inc/klib/hashmap.h | zfd-progetti-univr-2021-2022/MentOS | fc4a9456520a9a79a2c3875aff0f527de51bc6e3 | [
"MIT"
] | null | null | null | mentos/inc/klib/hashmap.h | zfd-progetti-univr-2021-2022/MentOS | fc4a9456520a9a79a2c3875aff0f527de51bc6e3 | [
"MIT"
] | null | null | null | mentos/inc/klib/hashmap.h | zfd-progetti-univr-2021-2022/MentOS | fc4a9456520a9a79a2c3875aff0f527de51bc6e3 | [
"MIT"
] | null | null | null | /// MentOS, The Mentoring Operating system project
/// @file hashmap.h
/// @brief Functions for managing a structure that can map keys to values.
/// @copyright (c) 2014-2021 This file is distributed under the MIT License.
/// See LICENSE.md for details.
#pragma once
#include "klib/list.h"
// == OPAQU... | 38.985401 | 84 | 0.679835 |
d28e9a4df5b8c75ba0765e5b65de95a2071f47e3 | 175 | swift | Swift | Mobile/iOS/Hunter/Hunter/Utils/UI/Extensions/CGSize+Extensions.swift | UTN-FRBA-Mobile/Hunter | 9531a0a1d263fc0af1c168e55e3d4b2a2f32d1d1 | [
"MIT"
] | null | null | null | Mobile/iOS/Hunter/Hunter/Utils/UI/Extensions/CGSize+Extensions.swift | UTN-FRBA-Mobile/Hunter | 9531a0a1d263fc0af1c168e55e3d4b2a2f32d1d1 | [
"MIT"
] | 2 | 2020-09-25T21:04:33.000Z | 2020-11-01T23:24:50.000Z | Mobile/iOS/Hunter/Hunter/Utils/UI/Extensions/CGSize+Extensions.swift | UTN-FRBA-Mobile/Hunter | 9531a0a1d263fc0af1c168e55e3d4b2a2f32d1d1 | [
"MIT"
] | null | null | null | import Foundation
import UIKit
extension CGSize {
func adding(_ size: CGSize) -> CGSize {
CGSize(width: width + size.width, height: height + size.height)
}
}
| 19.444444 | 71 | 0.662857 |
1848806a5241a93770e6cc05579d18e4cbf13ae4 | 1,052 | rb | Ruby | lib/civu.rb | kenglxn/civu | b1c5a5709abee0685e78e090512509e2840b5fac | [
"MIT"
] | 1 | 2019-01-28T16:39:47.000Z | 2019-01-28T16:39:47.000Z | lib/civu.rb | kenglxn/civu | b1c5a5709abee0685e78e090512509e2840b5fac | [
"MIT"
] | null | null | null | lib/civu.rb | kenglxn/civu | b1c5a5709abee0685e78e090512509e2840b5fac | [
"MIT"
] | null | null | null | require "civu/version"
require 'jenkins_api_client'
module Civu
class Client
attr_reader :executor
def initialize(host, uname = nil, pass = nil, debug = false)
@client = JenkinsApi::Client.new(
:server_url => host,
:username => uname,
:password => pass,
:log_leve... | 23.909091 | 98 | 0.596958 |
21b665056af677fafa257e2da299e56a1d5807dd | 4,218 | rs | Rust | rustls/src/msgs/fragmenter.rs | franziskuskiefer/rustls | f87a8483c17a144ff02cdf019e4420031b0dda38 | [
"Apache-2.0",
"MIT"
] | null | null | null | rustls/src/msgs/fragmenter.rs | franziskuskiefer/rustls | f87a8483c17a144ff02cdf019e4420031b0dda38 | [
"Apache-2.0",
"MIT"
] | null | null | null | rustls/src/msgs/fragmenter.rs | franziskuskiefer/rustls | f87a8483c17a144ff02cdf019e4420031b0dda38 | [
"Apache-2.0",
"MIT"
] | null | null | null | use crate::msgs::base::Payload;
use crate::msgs::enums::{ContentType, ProtocolVersion};
use crate::msgs::message::{BorrowedOpaqueMessage, OpaqueMessage};
use std::collections::VecDeque;
pub const MAX_FRAGMENT_LEN: usize = 16384;
pub const PACKET_OVERHEAD: usize = 1 + 2 + 2;
pub struct MessageFragmenter {
max_frag... | 28.5 | 83 | 0.541489 |
a7b148cce37b2c94a21b39f5b1c36bb1e109ae30 | 45 | sql | SQL | packages/backend/migrations/0014_user_avatar.up.sql | baumandm/insights-explorer | 3fe346807ebd4808b3234045d1d9a29f81981e33 | [
"Apache-2.0"
] | 8 | 2021-11-30T17:09:02.000Z | 2022-03-02T17:14:30.000Z | packages/backend/migrations/0014_user_avatar.up.sql | baumandm/insights-explorer | 3fe346807ebd4808b3234045d1d9a29f81981e33 | [
"Apache-2.0"
] | 576 | 2021-12-01T17:18:52.000Z | 2022-03-31T20:54:32.000Z | packages/backend/migrations/0014_user_avatar.up.sql | baumandm/insights-explorer | 3fe346807ebd4808b3234045d1d9a29f81981e33 | [
"Apache-2.0"
] | 2 | 2021-12-02T21:19:46.000Z | 2021-12-16T10:59:16.000Z | ALTER TABLE iex.user ADD "avatar" text NULL;
| 22.5 | 44 | 0.755556 |
d905956e2de03511d61b24690ebd2c318a02c1dd | 404 | swift | Swift | SwiftYNAB/SwiftYNAB/models/BudgetSettings.swift | michaeldmueller/swiftynab | 14c8bc98709a02c763148e3acbbb4b74852a5d50 | [
"MIT"
] | 24 | 2019-05-09T19:51:00.000Z | 2022-03-21T16:09:54.000Z | SwiftYNAB/SwiftYNAB/models/BudgetSettings.swift | michaeldmueller/swiftynab | 14c8bc98709a02c763148e3acbbb4b74852a5d50 | [
"MIT"
] | 6 | 2019-06-07T12:24:28.000Z | 2021-10-22T04:09:43.000Z | SwiftYNAB/SwiftYNAB/models/BudgetSettings.swift | michaeldmueller/swiftynab | 14c8bc98709a02c763148e3acbbb4b74852a5d50 | [
"MIT"
] | 14 | 2019-05-11T08:37:35.000Z | 2022-03-21T21:37:37.000Z | //
// BudgetSettings.swift
// SwiftYNAB
//
// Created by Andre Bocchini on 5/4/19.
// Copyright © 2019 Andre Bocchini. All rights reserved.
//
import Foundation
/// Budget settings model
public struct BudgetSettings: Codable {
/// Date formatting settings
public let dateFormat: DateFormat
//... | 19.238095 | 57 | 0.695545 |
75c337dac5d7a82724d3e74d49a9ac79b10ae817 | 44 | rs | Rust | src/imp/analyzer/mod.rs | dochy-ksti/ninja_rpg_simulator | 60a880371d485c760df9a058b8b410e9c227fc88 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/imp/analyzer/mod.rs | dochy-ksti/ninja_rpg_simulator | 60a880371d485c760df9a058b8b410e9c227fc88 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/imp/analyzer/mod.rs | dochy-ksti/ninja_rpg_simulator | 60a880371d485c760df9a058b8b410e9c227fc88 | [
"Apache-2.0",
"MIT"
] | null | null | null | mod analyze_source;
mod rs_val;
mod rs_item; | 14.666667 | 19 | 0.818182 |
5435938b596c18462aecc165cf03ad3a6786c693 | 23,546 | go | Go | nodes/assets/b0xfile_assets_azure_compute_vm.png.go | nikolaymatrosov/go-diagrams | 3804c0009b1265c1d34ac0a63850787c749d5037 | [
"MIT"
] | null | null | null | nodes/assets/b0xfile_assets_azure_compute_vm.png.go | nikolaymatrosov/go-diagrams | 3804c0009b1265c1d34ac0a63850787c749d5037 | [
"MIT"
] | null | null | null | nodes/assets/b0xfile_assets_azure_compute_vm.png.go | nikolaymatrosov/go-diagrams | 3804c0009b1265c1d34ac0a63850787c749d5037 | [
"MIT"
] | null | null | null | // Code generaTed by fileb0x at "2020-09-25 22:38:52.719788 +0300 MSK m=+3.964945872" from config file "b0x.yml" DO NOT EDIT.
// modified(2020-09-25 20:02:03.902126597 +0300 MSK)
// original path: ../../assets/azure/compute/vm.png
package assets
import (
"bytes"
"compress/gzip"
"io"
"os"
)
// FileAssetsAzureCom... | 511.869565 | 22,756 | 0.746411 |
9692c1f7812eea253d5cfa58f29dd990699fc9fe | 333 | html | HTML | app/index.html | GuilhermeSanches/Babel-ES6 | 0eff6cf01c1fe62c06683d67b0936266f97af8f6 | [
"MIT"
] | null | null | null | app/index.html | GuilhermeSanches/Babel-ES6 | 0eff6cf01c1fe62c06683d67b0936266f97af8f6 | [
"MIT"
] | null | null | null | app/index.html | GuilhermeSanches/Babel-ES6 | 0eff6cf01c1fe62c06683d67b0936266f97af8f6 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test Page</title>
</head>
<body>
<div>Hello ...</div>
<form action="">
<label for="" id="label"></label>
</form>
<div class="users"></div>
<script src="./lib/main.js"></script>
</... | 19.588235 | 45 | 0.477477 |
7b9be8167bbd38a414d0fb8d61aeac17ab05ee84 | 314 | rb | Ruby | app/controllers/recommends_controller.rb | mitixx/abilitysheet | c44111aa64eeeb4fe2a34f007c332e4190d45362 | [
"MIT"
] | 45 | 2015-04-09T06:42:11.000Z | 2020-11-21T08:16:40.000Z | app/controllers/recommends_controller.rb | mitixx/abilitysheet | c44111aa64eeeb4fe2a34f007c332e4190d45362 | [
"MIT"
] | 353 | 2015-01-13T13:05:18.000Z | 2019-12-11T14:01:42.000Z | app/controllers/recommends_controller.rb | mitixx/abilitysheet | c44111aa64eeeb4fe2a34f007c332e4190d45362 | [
"MIT"
] | 7 | 2015-05-02T08:57:35.000Z | 2021-10-30T05:22:19.000Z | # frozen_string_literal: true
class RecommendsController < ApplicationController
before_action :load_color
before_action :load_sheets
def index
@title = '地力値表'
end
private
def load_sheets
@sheets = Sheet.active.preload(:ability)
end
def load_color
@color = Static::COLOR
end
end
| 14.952381 | 50 | 0.726115 |
7f6bdbf192ffe62fdf4c5367c9e4f0d00b48ae9d | 129 | html | HTML | bin/hadoop-3.3.0/share/doc/hadoop/hadoop-auth/apidocs/org/apache/hadoop/security/authentication/util/package-frame.html | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | bin/hadoop-3.3.0/share/doc/hadoop/hadoop-auth/apidocs/org/apache/hadoop/security/authentication/util/package-frame.html | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | bin/hadoop-3.3.0/share/doc/hadoop/hadoop-auth/apidocs/org/apache/hadoop/security/authentication/util/package-frame.html | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:4833b9a07a4bfa1b60831fc6dcef979116ea92abb073408d1657e6f166c763a3
size 3136
| 32.25 | 75 | 0.883721 |
df982ce5f84604aff9095d795d72a835e5a97cf9 | 1,183 | swift | Swift | LampUI/LampUI/View/CustomShape.swift | recherst/kavsoft-swiftui-animations | d60b9c19767c4e5635c9a0fd6cc0ddc09d91e360 | [
"MIT"
] | 101 | 2021-08-20T09:51:39.000Z | 2022-03-28T11:15:09.000Z | LampUI/LampUI/View/CustomShape.swift | stavroschios/kavsoft-swiftui-animations | d60b9c19767c4e5635c9a0fd6cc0ddc09d91e360 | [
"MIT"
] | null | null | null | LampUI/LampUI/View/CustomShape.swift | stavroschios/kavsoft-swiftui-animations | d60b9c19767c4e5635c9a0fd6cc0ddc09d91e360 | [
"MIT"
] | 12 | 2021-08-20T03:45:34.000Z | 2022-02-23T01:41:40.000Z | //
// CustomShape.swift
// LampUI
//
// Created by recherst on 2021/9/12.
//
import SwiftUI
struct CustomShape: Shape {
func path(in rect: CGRect) -> Path {
return Path { path in
path.move(to: CGPoint(x: 0, y: 0))
path.addLine(to: CGPoint(x: rect.width, y: 0))
path.... | 28.853659 | 88 | 0.553677 |
b2b9128938a7476610fbf31df937ff94978048ae | 1,514 | py | Python | tests/TestMetrics.py | gr33ndata/irlib | 4a518fec994b1a89cdc7d09a8170efec3d7e6615 | [
"MIT"
] | 80 | 2015-02-16T18:33:57.000Z | 2021-05-06T02:03:22.000Z | tests/TestMetrics.py | gr33ndata/irlib | 4a518fec994b1a89cdc7d09a8170efec3d7e6615 | [
"MIT"
] | 2 | 2016-02-05T06:30:21.000Z | 2017-09-24T17:42:58.000Z | tests/TestMetrics.py | gr33ndata/irlib | 4a518fec994b1a89cdc7d09a8170efec3d7e6615 | [
"MIT"
] | 25 | 2015-05-13T17:35:41.000Z | 2020-06-04T01:52:11.000Z | from unittest import TestCase
from irlib.metrics import Metrics
class TestMetrics(TestCase):
def setUp(self):
self.m = Metrics()
def test_jaccard_same_len(self):
with self.assertRaises(ValueError):
self.m.jaccard_vectors(
[0, 1],
[0, 1, 2, 3]
... | 24.819672 | 47 | 0.515192 |
6b3c71bc33432483f4880c250fbdc66a3ef7ea8d | 635 | kt | Kotlin | myDropDownBox/src/main/java/test/myDropDownBox/recycler_adapter.kt | xkdwby/DropdownBox | 54113087d9fe6b4152a861a6c03d6d923906e9a6 | [
"Apache-2.0"
] | 1 | 2017-08-25T11:19:10.000Z | 2017-08-25T11:19:10.000Z | myDropDownBox/src/main/java/test/myDropDownBox/recycler_adapter.kt | xkdwby/DropdownBox | 54113087d9fe6b4152a861a6c03d6d923906e9a6 | [
"Apache-2.0"
] | null | null | null | myDropDownBox/src/main/java/test/myDropDownBox/recycler_adapter.kt | xkdwby/DropdownBox | 54113087d9fe6b4152a861a6c03d6d923906e9a6 | [
"Apache-2.0"
] | null | null | null | package test.myDropDownBox
import android.content.Context
import android.view.ViewGroup
import com.jude.easyrecyclerview.adapter.BaseViewHolder
import com.jude.easyrecyclerview.adapter.RecyclerArrayAdapter
/**
* Created by wby on 2017/8/21.
*/
internal class recycler_adapter(internal var type: Int, con: Context?,he... | 30.238095 | 116 | 0.707087 |
c321ec094c30bad57a94193ea93c8bb3ec9b4011 | 326 | go | Go | _content/talks/2014/hammers/importpath.go | dengqz/website | 24816dea196a889c0dc9dc2fdad71d04c116082f | [
"BSD-3-Clause"
] | 263 | 2019-01-02T22:03:26.000Z | 2022-03-31T12:58:57.000Z | _content/talks/2014/hammers/importpath.go | dengqz/website | 24816dea196a889c0dc9dc2fdad71d04c116082f | [
"BSD-3-Clause"
] | 144 | 2019-02-26T17:32:37.000Z | 2022-03-31T21:48:22.000Z | _content/talks/2014/hammers/importpath.go | dengqz/website | 24816dea196a889c0dc9dc2fdad71d04c116082f | [
"BSD-3-Clause"
] | 232 | 2019-01-05T11:48:19.000Z | 2022-03-29T01:39:45.000Z | // +build ignore
package main
import (
"fmt"
"golang.org/x/tools/imports"
)
func main() {
iface := "http.Handler"
src := "package hack; var i " + iface // HL
fmt.Println(src, "\n---")
imp, _ := imports.Process("", []byte(src), nil) // HL
// ignoring errors throughout this presentation
fmt.Println(string(im... | 16.3 | 54 | 0.628834 |
0cde5c372756830b141e6816281e99f572d9eff3 | 3,463 | py | Python | tests/required_with_test.py | roypeters/spotlight | f23818cf7b49aa7a31200c1945ebc2d91656156e | [
"MIT"
] | 9 | 2019-03-26T13:21:16.000Z | 2021-03-21T08:55:49.000Z | tests/required_with_test.py | roypeters/spotlight | f23818cf7b49aa7a31200c1945ebc2d91656156e | [
"MIT"
] | 7 | 2019-03-28T17:32:03.000Z | 2021-09-24T13:17:32.000Z | tests/required_with_test.py | roypeters/spotlight | f23818cf7b49aa7a31200c1945ebc2d91656156e | [
"MIT"
] | 4 | 2019-03-30T13:28:22.000Z | 2020-06-15T13:15:44.000Z | from src.spotlight.errors import REQUIRED_WITH_ERROR
from .validator_test import ValidatorTest
class RequiredWithTest(ValidatorTest):
def setUp(self):
self.other_field = "test1"
self.field = "test2"
self.required_with_error = REQUIRED_WITH_ERROR.format(
field=self.field, other=... | 32.064815 | 86 | 0.626047 |
5b4e0c1e012b667fdd45c88cf276a5cf21297332 | 4,741 | h | C | core/include/tee/tee_svc_cryp.h | CoasiaNexell/secure_optee_optee-os | 1243cb51ca265731086106cb7b0d89b3d5a446c9 | [
"BSD-2-Clause"
] | null | null | null | core/include/tee/tee_svc_cryp.h | CoasiaNexell/secure_optee_optee-os | 1243cb51ca265731086106cb7b0d89b3d5a446c9 | [
"BSD-2-Clause"
] | null | null | null | core/include/tee/tee_svc_cryp.h | CoasiaNexell/secure_optee_optee-os | 1243cb51ca265731086106cb7b0d89b3d5a446c9 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2014, STMicroelectronics International N.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this ... | 44.726415 | 78 | 0.801308 |
84b9f51c06237e8b0178c1d845a2b7d9038cded7 | 414 | h | C | MachiavelliGame/MachiavelliServer/SocketManager.h | RMARomero/Machiavelli | 9be6d5239a0a6a44e37d90d3b5143482427392bb | [
"MIT"
] | null | null | null | MachiavelliGame/MachiavelliServer/SocketManager.h | RMARomero/Machiavelli | 9be6d5239a0a6a44e37d90d3b5143482427392bb | [
"MIT"
] | null | null | null | MachiavelliGame/MachiavelliServer/SocketManager.h | RMARomero/Machiavelli | 9be6d5239a0a6a44e37d90d3b5143482427392bb | [
"MIT"
] | null | null | null | #pragma once
#include "Socket.h"
#include "Sync_queue.h"
#include "ClientCommand.h"
using std::unique_ptr;
class SocketManager
{
private:
int m_Port;
void getServerInformation();
SocketManager(){}
SocketManager(const SocketManager&);
SocketManager& operator=(const SocketManager&);
public:
Sync_queue<ClientComma... | 19.714286 | 48 | 0.76087 |
6bfd18cec0507db4e34ec9a6e1c75d6a0182ed7d | 28,526 | rs | Rust | src/backend/metal/src/command.rs | scoopr/gfx | c71fe15c1f93a3c0171414aa58ddb1f14b2eb376 | [
"Apache-2.0"
] | 1 | 2017-11-30T12:52:03.000Z | 2017-11-30T12:52:03.000Z | src/backend/metal/src/command.rs | scoopr/gfx | c71fe15c1f93a3c0171414aa58ddb1f14b2eb376 | [
"Apache-2.0"
] | null | null | null | src/backend/metal/src/command.rs | scoopr/gfx | c71fe15c1f93a3c0171414aa58ddb1f14b2eb376 | [
"Apache-2.0"
] | null | null | null | use {Backend};
use native;
use std::ops::{Deref, Range};
use std::sync::{Arc};
use std::cell::UnsafeCell;
use hal::{memory, pool, pso};
use hal::{VertexCount, VertexOffset, InstanceCount, IndexCount};
use hal::buffer::{IndexBufferView};
use hal::image::{ImageLayout, SubresourceRange};
use hal::command::{
Attachme... | 34.958333 | 157 | 0.529762 |
7a76c35dcf7ce79fe63ecb0001244a9e1ed8b62c | 793 | rs | Rust | third_party/rust_crates/vendor/test-case/tests/acceptance_tests.rs | casey/fuchsia | 2b965e9a1e8f2ea346db540f3611a5be16bb4d6b | [
"BSD-3-Clause"
] | 14 | 2020-10-25T05:48:36.000Z | 2021-09-20T02:46:20.000Z | third_party/rust_crates/vendor/test-case/tests/acceptance_tests.rs | DamieFC/fuchsia | f78a4a1326f4a4bb5834500918756173c01bab4f | [
"BSD-2-Clause"
] | 1 | 2022-01-14T23:38:40.000Z | 2022-01-14T23:38:40.000Z | third_party/rust_crates/vendor/test-case/tests/acceptance_tests.rs | DamieFC/fuchsia | f78a4a1326f4a4bb5834500918756173c01bab4f | [
"BSD-2-Clause"
] | 4 | 2020-12-28T17:04:45.000Z | 2022-03-12T03:20:44.000Z | #![cfg(test)]
#[macro_use]
extern crate lazy_static;
mod acceptance {
use std::process::{Command, Output};
fn run_tests() -> Output {
Command::new("cargo")
.args(&["test", "test_cases"])
.output()
.expect("cargo command failed to start")
}
lazy_static! {
... | 21.432432 | 57 | 0.523329 |
dd58e0171189d17189ac9f868fbf0e5b2bafc9ba | 1,012 | go | Go | struct.go | chenguofan1999/iniReader | 51619206d581bc565ca2827719167217b174e70f | [
"MIT"
] | null | null | null | struct.go | chenguofan1999/iniReader | 51619206d581bc565ca2827719167217b174e70f | [
"MIT"
] | null | null | null | struct.go | chenguofan1999/iniReader | 51619206d581bc565ca2827719167217b174e70f | [
"MIT"
] | 2 | 2020-10-19T14:37:03.000Z | 2020-10-26T15:44:06.000Z | package inireader
var commentSymbol byte
// Cfg : The struct of configuration
type Cfg struct {
Map map[string]*Sec
LastDescription string
UnusedDescription bool
Cur *Sec
}
// Sec : The struct of configuration Section
type Sec struct {
Name string
Descriptio... | 23 | 93 | 0.660079 |
5016096f67877f45061db26ecb09e777de47c19e | 4,489 | go | Go | server/api/handler.go | dpb587/ssoca | a7d83d85b30b2d39de31e3859f075b2230cd6bae | [
"MIT"
] | 13 | 2017-02-27T06:02:55.000Z | 2021-04-06T10:24:01.000Z | server/api/handler.go | dpb587/ssoca | a7d83d85b30b2d39de31e3859f075b2230cd6bae | [
"MIT"
] | 15 | 2017-03-07T18:17:48.000Z | 2019-10-04T15:36:30.000Z | server/api/handler.go | dpb587/ssoca | a7d83d85b30b2d39de31e3859f075b2230cd6bae | [
"MIT"
] | 3 | 2017-08-03T05:08:29.000Z | 2019-06-07T09:39:48.000Z | package api
import (
"net/http"
"github.com/dpb587/ssoca/auth"
"github.com/dpb587/ssoca/auth/authn"
"github.com/dpb587/ssoca/auth/authz"
apierr "github.com/dpb587/ssoca/server/api/errors"
"github.com/dpb587/ssoca/server/requtil"
"github.com/dpb587/ssoca/server/service"
"github.com/dpb587/ssoca/server/service/... | 26.56213 | 127 | 0.707062 |
7024732140d5618e7a550fb1a433b2d231dcf87a | 10,867 | go | Go | lars.go | go-experimental/lcars | 4dc376e72ef7f96a295a328f06e83e2b9ab85422 | [
"MIT"
] | 438 | 2016-01-30T01:10:06.000Z | 2022-03-23T02:09:18.000Z | lars.go | go-experimental/lcars | 4dc376e72ef7f96a295a328f06e83e2b9ab85422 | [
"MIT"
] | 11 | 2016-04-03T15:19:31.000Z | 2021-08-20T23:50:53.000Z | lars.go | go-experimental/lcars | 4dc376e72ef7f96a295a328f06e83e2b9ab85422 | [
"MIT"
] | 29 | 2016-03-30T07:02:33.000Z | 2022-01-24T10:00:52.000Z | package lars
import (
"fmt"
"net/http"
"reflect"
"strings"
"sync"
"github.com/go-playground/form"
)
// HTTP Constant Terms and Variables
const (
// CONNECT HTTP method
CONNECT = http.MethodConnect
// DELETE HTTP method
DELETE = http.MethodDelete
// GET HTTP method
GET = http.MethodGet
// HEAD HTTP metho... | 25.390187 | 104 | 0.681329 |
24da8362d7250e284272fe057bc67d492c9fc9d0 | 2,016 | go | Go | lib/api/intern.go | SmartEnergyPlatform/iot-device-repository | c94490ffe20b555c7f6a7a1f611a2341691a8542 | [
"Apache-2.0"
] | null | null | null | lib/api/intern.go | SmartEnergyPlatform/iot-device-repository | c94490ffe20b555c7f6a7a1f611a2341691a8542 | [
"Apache-2.0"
] | null | null | null | lib/api/intern.go | SmartEnergyPlatform/iot-device-repository | c94490ffe20b555c7f6a7a1f611a2341691a8542 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018 InfAI (CC SES)
*
* 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 t... | 30.089552 | 144 | 0.701885 |
c91dfddda90f18257fc7a1e51fb39b4c2db55f0a | 3,999 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_929.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_929.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_929.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 %r12
push %r14
push %r15
push %rdi
lea addresses_UC_ht+0x18133, %r14
nop
nop
nop
nop
sub %rdi, %rdi
mov (%r14), %r12
cmp $14757, %r15
pop %rdi
pop %r15
pop %r14
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r14
push %rbx
push %rdi
push... | 67.779661 | 2,999 | 0.661665 |
a1bb09e5813486d61aecf91aaea95364e01d651b | 2,818 | go | Go | slices/flatten_test.go | golodash/godash | 59b0c987536624be4521ffc645cde92cee5ada64 | [
"MIT"
] | null | null | null | slices/flatten_test.go | golodash/godash | 59b0c987536624be4521ffc645cde92cee5ada64 | [
"MIT"
] | 8 | 2022-01-20T07:54:27.000Z | 2022-03-07T15:55:32.000Z | slices/flatten_test.go | gotorn/godash | 59b0c987536624be4521ffc645cde92cee5ada64 | [
"MIT"
] | 2 | 2022-01-04T11:42:52.000Z | 2022-01-04T14:47:14.000Z | package slices
import (
"fmt"
"reflect"
"strconv"
"testing"
)
type TFlatten struct {
name string
arr []interface{}
want []interface{}
}
var tFlattenBenchs = []TFlatten{
{
name: "10",
arr: []interface{}{},
},
{
name: "100",
arr: []interface{}{},
},
{
name: "1000",
arr: []interface{}{},
},... | 21.51145 | 133 | 0.518453 |
a88920777b05fe94ed1ce125e7cf9f5e9c5a2003 | 3,097 | rs | Rust | src/flash/fcfg_b6_start.rs | jeandudey/cc13x2-rs | 215918099301ec75e9dfad531f5cf46e13077a39 | [
"MIT"
] | null | null | null | src/flash/fcfg_b6_start.rs | jeandudey/cc13x2-rs | 215918099301ec75e9dfad531f5cf46e13077a39 | [
"MIT"
] | null | null | null | src/flash/fcfg_b6_start.rs | jeandudey/cc13x2-rs | 215918099301ec75e9dfad531f5cf46e13077a39 | [
"MIT"
] | null | null | null | #[doc = "Reader of register FCFG_B6_START"]
pub type R = crate::R<u32, super::FCFG_B6_START>;
#[doc = "Writer for register FCFG_B6_START"]
pub type W = crate::W<u32, super::FCFG_B6_START>;
#[doc = "Register FCFG_B6_START `reset()`'s with value 0"]
impl crate::ResetValue for super::FCFG_B6_START {
type Type = u32;
... | 32.6 | 86 | 0.604456 |
4905009d57cff19e66575a7bfdba66a5dbebafe6 | 6,310 | py | Python | bird_classify.py | google-coral/project-birdfeeder | 3bcb9bfd4123a0c6f16a09087a8ccdfe0c6dd80e | [
"Apache-2.0"
] | 26 | 2019-07-23T22:32:08.000Z | 2022-01-09T15:15:50.000Z | bird_classify.py | hjonnala/project-birdfeeder | 4375a9370d7567b756b6cc68f4dfcb4c8183b118 | [
"Apache-2.0"
] | 13 | 2019-07-26T17:10:48.000Z | 2022-03-01T04:11:48.000Z | bird_classify.py | hjonnala/project-birdfeeder | 4375a9370d7567b756b6cc68f4dfcb4c8183b118 | [
"Apache-2.0"
] | 19 | 2019-11-05T03:01:31.000Z | 2022-03-29T01:13:46.000Z | # Copyright 2019 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 38.711656 | 94 | 0.666878 |
cdc9e84e192df932418e3644f89fa0cc47800599 | 1,426 | swift | Swift | SubscMemo/UI/SubscCategoryPickerView.swift | yyokii/SubscMemo | 673cac56fe6998828b89958bd82b72d5a1175abb | [
"MIT"
] | null | null | null | SubscMemo/UI/SubscCategoryPickerView.swift | yyokii/SubscMemo | 673cac56fe6998828b89958bd82b72d5a1175abb | [
"MIT"
] | 5 | 2021-08-29T16:12:47.000Z | 2021-09-24T13:03:11.000Z | SubscMemo/UI/SubscCategoryPickerView.swift | yyokii/SubscMemo | 673cac56fe6998828b89958bd82b72d5a1175abb | [
"MIT"
] | null | null | null | //
// SubscCategoryPickerView.swift
// SubscMemo
//
// Created by Higashihara Yoki on 2021/05/23.
//
import SwiftUI
struct SubscCategoryPickerView: View {
let datas: [SubscCategory]
@Binding var selectedData: SubscCategory
let title: String
var body: some View {
VStack {
Picker... | 22.634921 | 60 | 0.518233 |
caf766cf50d7f179d91a1718a0e0862d5ac3fb2a | 5,562 | swift | Swift | Example/AndesUI/TextFieldsCode/Views/TextFieldsCodeViewController.swift | oesierra/fury_andesui-ios | ea26f816ac1f4346c590613f766d4d07b3a0bd03 | [
"MIT"
] | 2 | 2020-12-16T20:57:41.000Z | 2021-02-19T02:42:31.000Z | Example/AndesUI/TextFieldsCode/Views/TextFieldsCodeViewController.swift | javff/fury_andesui-ios | e82858d00691133b42c080c4397adcb687f23041 | [
"MIT"
] | 3 | 2020-10-01T12:23:43.000Z | 2020-10-19T14:11:13.000Z | Example/AndesUI/TextFieldsCode/Views/TextFieldsCodeViewController.swift | javff/fury_andesui-ios | e82858d00691133b42c080c4397adcb687f23041 | [
"MIT"
] | null | null | null | //
// TextFieldsCodeViewController.swift
// AndesUI-demoapp
//
// Created by Esteban Adrian Boffa on 16/09/2020.
// Copyright © 2020 MercadoLibre. All rights reserved.
//
import Foundation
import AndesUI
final class TextFieldsCodeViewController: UIViewController {
// MARK: IBOutlets
@IBOutlet weak var an... | 34.981132 | 111 | 0.67242 |
1586cd5f87afe4b813004f24665563c6c0455eb6 | 689 | rb | Ruby | db/migrate/20150818144913_create_roles.rb | JamesGlover/event_warehouse | 628b3b3be94e574db6868f73177fac4ffe7ce7ad | [
"MIT"
] | 1 | 2017-09-08T08:04:35.000Z | 2017-09-08T08:04:35.000Z | db/migrate/20150818144913_create_roles.rb | JamesGlover/event_warehouse | 628b3b3be94e574db6868f73177fac4ffe7ce7ad | [
"MIT"
] | 184 | 2019-06-04T12:14:52.000Z | 2022-03-30T21:56:50.000Z | db/migrate/20150818144913_create_roles.rb | sanger/event_warehouse | 39cab66290e6df98e52131c9c4c8db9744c0912f | [
"MIT"
] | 4 | 2015-11-02T11:18:46.000Z | 2018-11-14T09:16:14.000Z | # frozen_string_literal: true
# Add the roles table to associated subjects with events
class CreateRoles < ActiveRecord::Migration
def change
create_table :roles do |t|
t.integer :event_id,
null: false,
comment: 'Associate with the event (what happened)',
ind... | 31.318182 | 96 | 0.593614 |
c19d4293a873176baef1718c3739e552e38a293f | 332 | sql | SQL | Tests/materials/pl-sql/jrxml2pdf-release/install/upgrade_0700_to_0800.sql | RomanBelkov/YaccConstructor | f3422cf5d152a63ceff13609c5bfd271958bf345 | [
"Apache-2.0"
] | null | null | null | Tests/materials/pl-sql/jrxml2pdf-release/install/upgrade_0700_to_0800.sql | RomanBelkov/YaccConstructor | f3422cf5d152a63ceff13609c5bfd271958bf345 | [
"Apache-2.0"
] | null | null | null | Tests/materials/pl-sql/jrxml2pdf-release/install/upgrade_0700_to_0800.sql | RomanBelkov/YaccConstructor | f3422cf5d152a63ceff13609c5bfd271958bf345 | [
"Apache-2.0"
] | 1 | 2020-01-21T17:39:33.000Z | 2020-01-21T17:39:33.000Z | SET SCAN OFF
SET TIMING ON
PROMPT install tables
@JRXML_RESOURCE_FILES.sql
@JRXML_RESOURCE_ENTRIES.sql
@JRXML_NLS_PARAMETERS.sql
PROMPT install packages
@AS_PDF3_MOD.pls
@PK_JRXML2PDF_LOG.pls
@PK_JRXML2PDF_UTIL.pls
@PK_JRXML2PDF_REPGEN.pls
PROMPT install NLS-seed-data
@INSERT_NLS_DATA.sql
PROMPT ... | 15.809524 | 29 | 0.792169 |
c463f4d1763ce831c43ebcb925886fa7ed8399cf | 4,734 | c | C | main/c_sysinfo/sysinfo.c | SteversJE/OSSILE | 43858871c0c2149a9d98a9be304a40c8a46ebff1 | [
"MIT"
] | 66 | 2016-10-10T12:52:11.000Z | 2022-02-20T22:18:03.000Z | main/c_sysinfo/sysinfo.c | SteversJE/OSSILE | 43858871c0c2149a9d98a9be304a40c8a46ebff1 | [
"MIT"
] | 52 | 2016-10-10T09:48:44.000Z | 2021-09-25T19:22:17.000Z | main/c_sysinfo/sysinfo.c | SteversJE/OSSILE | 43858871c0c2149a9d98a9be304a40c8a46ebff1 | [
"MIT"
] | 54 | 2016-10-10T08:05:03.000Z | 2022-03-09T03:28:03.000Z | #include <stdio.h> // Standard I/O
#include <stdlib.h> // Standard Lib
#include <recio.h> // File Record level access
#include <xxcvt.h> // Conversion of int etc to zoned/packed
#include <decimal.h> ... | 49.831579 | 121 | 0.677229 |
dc3576c0bb76034dc8e4bc5846d8bee950e47e0b | 678 | lua | Lua | config.lua | kibradev/kibra-kokain | 7e02cf36b3b380ce6a927b90750a918a65868eaa | [
"MIT"
] | null | null | null | config.lua | kibradev/kibra-kokain | 7e02cf36b3b380ce6a927b90750a918a65868eaa | [
"MIT"
] | null | null | null | config.lua | kibradev/kibra-kokain | 7e02cf36b3b380ce6a927b90750a918a65868eaa | [
"MIT"
] | null | null | null | Config = {}
-- Kordinat
Config.KokainTopla = {x = 1125.38, y= -1231.3, z = 16.4185}
Config.KokainAyristir = {x = 1120.95, y = -1234.8, z = 16.4185}
Config.KokainKurutma = {x = 1119.92, y = -1233.4, z = 16.4185}
Config.KokainPaketleme = {x = 1116.89, y = -1239.5, z = 16.4185}
--Satıcı
Config.Satici = {x = ... | 29.478261 | 92 | 0.654867 |
9bfde1ef2987bbe2e1a1f4205370fa7a6db8e5f8 | 2,093 | js | JavaScript | js/main.js | stauffenbits/warp-wars | 91d0ee54022531355bb3e3d4a366533cd72db43e | [
"MIT"
] | null | null | null | js/main.js | stauffenbits/warp-wars | 91d0ee54022531355bb3e3d4a366533cd72db43e | [
"MIT"
] | null | null | null | js/main.js | stauffenbits/warp-wars | 91d0ee54022531355bb3e3d4a366533cd72db43e | [
"MIT"
] | null | null | null |
import * as Game from '/js/Universe.js';
import * as $ from 'jquery';
var universe = new Game.Universe(20, 50);
universe.draw();
var CURRENT_STAR = null;
var CURRENT_PLANET = null;
var CURRENT_BUILDING = null;
Game.$fourd.make_resolve_click(function(vertex){
if(!vertex){
return;
}
if(vertex.game_object i... | 22.505376 | 82 | 0.707597 |
22ab71ce8b36061ea30f3ddb8ba338a8c9e1e7cd | 437 | swift | Swift | macOS/Launcher/MainApplication/ViewController.swift | DuongToBSV/tutorials | 4908cc11b641de3e219d66ef61c1b61e6d63d10c | [
"WTFPL"
] | 122 | 2019-09-05T14:27:42.000Z | 2022-03-29T19:49:05.000Z | macOS/Launcher/MainApplication/ViewController.swift | DuongToBSV/tutorials | 4908cc11b641de3e219d66ef61c1b61e6d63d10c | [
"WTFPL"
] | 1 | 2019-09-30T11:21:58.000Z | 2019-09-30T11:21:58.000Z | macOS/Launcher/MainApplication/ViewController.swift | DuongToBSV/tutorials | 4908cc11b641de3e219d66ef61c1b61e6d63d10c | [
"WTFPL"
] | 32 | 2019-11-14T11:50:08.000Z | 2022-03-02T16:09:19.000Z | //
// ViewController.swift
// MainApplication
//
// Created by Tibor Bodecs on 2015. 09. 17..
// Copyright © 2015. Tibor Bodecs. All rights reserved.
//
import Cocoa
class ViewController: NSViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.... | 16.807692 | 56 | 0.672769 |
b2cacff06725bd2d9718bd414438fed14a74ef43 | 589 | py | Python | src/django_version_checks/apps.py | adamchainz/django-version-checks | 94f6d696f5279a7bb579c7d2a177a231d6b61e45 | [
"MIT"
] | 33 | 2020-12-13T23:02:39.000Z | 2022-03-28T06:19:09.000Z | src/django_version_checks/apps.py | adamchainz/django-version-checks | 94f6d696f5279a7bb579c7d2a177a231d6b61e45 | [
"MIT"
] | 47 | 2020-12-14T01:33:56.000Z | 2021-11-06T09:17:38.000Z | src/django_version_checks/apps.py | adamchainz/django-version-checks | 94f6d696f5279a7bb579c7d2a177a231d6b61e45 | [
"MIT"
] | 2 | 2021-11-13T22:56:21.000Z | 2022-02-15T14:24:53.000Z | from django.apps import AppConfig
from django.core.checks import Tags, register
from django_version_checks import checks
class DjangoVersionChecksAppConfig(AppConfig):
name = "django_version_checks"
verbose_name = "django-version-checks"
def ready(self) -> None:
register(Tags.compatibility)(chec... | 34.647059 | 65 | 0.7691 |
993caf5ec5f3bfb69ed5f2ced47cced0ed573acc | 502 | h | C | VBSample/oee_sammple.h | teamprodev/MYOE | 2f36c1a3e631f385154b4e94873416f2b24439a1 | [
"Apache-2.0"
] | null | null | null | VBSample/oee_sammple.h | teamprodev/MYOE | 2f36c1a3e631f385154b4e94873416f2b24439a1 | [
"Apache-2.0"
] | null | null | null | VBSample/oee_sammple.h | teamprodev/MYOE | 2f36c1a3e631f385154b4e94873416f2b24439a1 | [
"Apache-2.0"
] | null | null | null | // oee_sammple.h : main header file for the PROJECT_NAME application
//
#pragma once
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
// Coee_sammpleApp:
// See oee_sammple.cpp for the implementation of this class
//
class Coee_sammpl... | 16.193548 | 68 | 0.752988 |
fb0979427417b09321f505f3227d7251e05283b1 | 565 | swift | Swift | ITEventsTests/FullEventPresenterTests/FullEventViewMock.swift | SRozhina/Meetuper | 5145b27a33b4e9f5cb965659c31ce9c83f075d26 | [
"MIT"
] | 2 | 2018-04-06T20:16:28.000Z | 2018-06-08T20:03:14.000Z | ITEventsTests/FullEventPresenterTests/FullEventViewMock.swift | SRozhina/Meetuper | 5145b27a33b4e9f5cb965659c31ce9c83f075d26 | [
"MIT"
] | 51 | 2018-01-27T22:21:26.000Z | 2018-07-01T15:36:21.000Z | ITEventsTests/FullEventPresenterTests/FullEventViewMock.swift | SRozhina/Meetuper | 5145b27a33b4e9f5cb965659c31ce9c83f075d26 | [
"MIT"
] | 1 | 2018-03-04T23:02:08.000Z | 2018-03-04T23:02:08.000Z | @testable import ITEvents
class FullEventViewMock: IFullEventView {
var showMoreEventsButtonCount = 0
var similarEventsViewsCount = 0
var createdViewsCount = 0
var eventViewModel: EventViewModel!
func createEventView(with event: EventViewModel, isSimilar: Bool) {
if isSimilar {
... | 25.681818 | 71 | 0.654867 |
fe54ca8db2c833029675e18ef0a7d1ec22fc6cbd | 7,282 | c | C | src/FWlib/peripheral_pinctrl.c | ingchips/ING918XX_SDK_SOURCE | 32a87c3809bb4218abe3b75ca8b5a29d702eb325 | [
"Apache-2.0"
] | 9 | 2020-01-15T07:42:08.000Z | 2021-12-06T06:56:09.000Z | src/FWlib/peripheral_pinctrl.c | ingchips/ING918XX_SDK_SOURCE | 32a87c3809bb4218abe3b75ca8b5a29d702eb325 | [
"Apache-2.0"
] | null | null | null | src/FWlib/peripheral_pinctrl.c | ingchips/ING918XX_SDK_SOURCE | 32a87c3809bb4218abe3b75ca8b5a29d702eb325 | [
"Apache-2.0"
] | null | null | null | #include "peripheral_pinctrl.h"
#define bsPINCTRL_PULL_UP 0
#define bwPINCTRL_PULL_UP 1
#define bsPINCTRL_PULL_DOWN 1
#define bwPINCTRL_PULL_DOWN 1
#define bsPINCTRL_SCHMITT_TRIGGER 2
#define bwPINCTRL_SCHMITT_TRIGGER 1
#define bsPINCTRL... | 29.481781 | 107 | 0.602307 |
fe092d76da6dcd230746083ffff46c0f6f95e782 | 6,819 | h | C | velox/dwio/dwrf/reader/SelectiveIntegerColumnReader.h | amitkdutta/velox | fc63e45bab6deda1d3ef5a77e743acd7d10ec79c | [
"Apache-2.0"
] | null | null | null | velox/dwio/dwrf/reader/SelectiveIntegerColumnReader.h | amitkdutta/velox | fc63e45bab6deda1d3ef5a77e743acd7d10ec79c | [
"Apache-2.0"
] | null | null | null | velox/dwio/dwrf/reader/SelectiveIntegerColumnReader.h | amitkdutta/velox | fc63e45bab6deda1d3ef5a77e743acd7d10ec79c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and 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... | 32.942029 | 79 | 0.675319 |
38e497d2eb8646f57a55aa37d5ea05d9496ed955 | 3,348 | h | C | HLPWebView/HLPWebView.h | hulop/HLPWebView | 6d1e0715ff9968f4da24c0fb7d60143c3aaf4da5 | [
"MIT"
] | null | null | null | HLPWebView/HLPWebView.h | hulop/HLPWebView | 6d1e0715ff9968f4da24c0fb7d60143c3aaf4da5 | [
"MIT"
] | null | null | null | HLPWebView/HLPWebView.h | hulop/HLPWebView | 6d1e0715ff9968f4da24c0fb7d60143c3aaf4da5 | [
"MIT"
] | 3 | 2019-08-20T15:41:47.000Z | 2019-09-17T11:29:27.000Z | /*******************************************************************************
* Copyright (c) 2014, 2016 IBM Corporation, Carnegie Mellon University and others
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"),... | 44.64 | 173 | 0.755078 |
7ab0604e0de21280d69773e061e6b7540e2dbf53 | 93 | rb | Ruby | spec/models/api_user_spec.rb | BrycenGit/Dinder | 06337d766fa781f2b61a100e31f8ce802fedc0a4 | [
"Unlicense"
] | null | null | null | spec/models/api_user_spec.rb | BrycenGit/Dinder | 06337d766fa781f2b61a100e31f8ce802fedc0a4 | [
"Unlicense"
] | null | null | null | spec/models/api_user_spec.rb | BrycenGit/Dinder | 06337d766fa781f2b61a100e31f8ce802fedc0a4 | [
"Unlicense"
] | null | null | null | require 'rails_helper'
describe ApiUser do
it { should validate_presence_of :user_id }
end | 18.6 | 45 | 0.795699 |
1624310ed265b7f1d8eaeb31fa8dbc01289b419a | 1,318 | c | C | Labs/Lab1/1.03.c | ZamaPower/Algorithms-ProgrammingLabs | c32c6571aa3bfc256d9c1251c93f4a9a589d12be | [
"Unlicense"
] | null | null | null | Labs/Lab1/1.03.c | ZamaPower/Algorithms-ProgrammingLabs | c32c6571aa3bfc256d9c1251c93f4a9a589d12be | [
"Unlicense"
] | null | null | null | Labs/Lab1/1.03.c | ZamaPower/Algorithms-ProgrammingLabs | c32c6571aa3bfc256d9c1251c93f4a9a589d12be | [
"Unlicense"
] | null | null | null |
/* Exercise 03
-----------
Write a C program able to:
- Read a matrix m1 of R rows and C columns of integer values
- Compute a matrix m2 of R rows and C columns such that
- m2[i][j] is equal to zero
if m1[i][j] is equal to zero.
- m2[i][j] is the factorial number of -m1[i][j]
if m1[i][j] is a negative nu... | 19.671642 | 61 | 0.49393 |
9690547d0923cf3ec9e74827cfc4eba238c12a0d | 101 | htm | HTML | index.htm | jhuamani/jhuamani.github.io | 9d768ded0e0591a7de9a42be73c7d1aae7ca1032 | [
"MIT"
] | null | null | null | index.htm | jhuamani/jhuamani.github.io | 9d768ded0e0591a7de9a42be73c7d1aae7ca1032 | [
"MIT"
] | null | null | null | index.htm | jhuamani/jhuamani.github.io | 9d768ded0e0591a7de9a42be73c7d1aae7ca1032 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<title>Hello!</title>
</head>
<body>
<h1>Anays!</h1>
</body>
</html>
| 8.416667 | 21 | 0.584158 |
2c21e63708545cfabfcaf25bf85f9fd9ce49c0b5 | 2,242 | swift | Swift | Assignment II_More Memorize/Memorize/EmojiMemoryGame.swift | Qxt-circle/CS193p-Developing-Apps-for-iOS-Spring-2020 | 52c8477bbbd8434458bb3df5d95b054003f9f95c | [
"MIT"
] | null | null | null | Assignment II_More Memorize/Memorize/EmojiMemoryGame.swift | Qxt-circle/CS193p-Developing-Apps-for-iOS-Spring-2020 | 52c8477bbbd8434458bb3df5d95b054003f9f95c | [
"MIT"
] | null | null | null | Assignment II_More Memorize/Memorize/EmojiMemoryGame.swift | Qxt-circle/CS193p-Developing-Apps-for-iOS-Spring-2020 | 52c8477bbbd8434458bb3df5d95b054003f9f95c | [
"MIT"
] | null | null | null | //
// EmojiMemorryGame.swift
// Memorize
//
// Created by Qxt_circle on 2020/9/25.
//
import SwiftUI
class EmojiMemoryGame: ObservableObject {
@Published private var model: MemoryGame<String> = createMemoryGame()
//MARK: - 6 different themes
static let themeOfHalloween = Theme<String>(themeName: "... | 40.763636 | 183 | 0.636931 |
26ee712dc242bc79e427a2f02a9a30b162387c43 | 3,688 | kt | Kotlin | tflservice/src/test/kotlin/com/tiago/tflcodingchallenge/service/RoadStatusServiceImplTest.kt | tiagoalmeida92/TFLCodingChallenge | 1c81ad27b8c576b76058c7e764d941f85d2cfb1d | [
"MIT"
] | null | null | null | tflservice/src/test/kotlin/com/tiago/tflcodingchallenge/service/RoadStatusServiceImplTest.kt | tiagoalmeida92/TFLCodingChallenge | 1c81ad27b8c576b76058c7e764d941f85d2cfb1d | [
"MIT"
] | null | null | null | tflservice/src/test/kotlin/com/tiago/tflcodingchallenge/service/RoadStatusServiceImplTest.kt | tiagoalmeida92/TFLCodingChallenge | 1c81ad27b8c576b76058c7e764d941f85d2cfb1d | [
"MIT"
] | null | null | null | package com.tiago.tflcodingchallenge.service
import com.nhaarman.mockitokotlin2.any
import com.nhaarman.mockitokotlin2.given
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.verify
import com.tiago.tflcodingchallenge.service.responses.RawRoadStatusSuccessResponse
import com.tiago.tflcodingcha... | 35.805825 | 97 | 0.730477 |
74c1d9735d74ac6eba2668e462928bb5c72c2c61 | 414 | js | JavaScript | public/js/custom.js | jhonchristian/contosouniversity | 8a5791d75030f86f20a8734187629d77d1eeda4f | [
"MIT"
] | null | null | null | public/js/custom.js | jhonchristian/contosouniversity | 8a5791d75030f86f20a8734187629d77d1eeda4f | [
"MIT"
] | null | null | null | public/js/custom.js | jhonchristian/contosouniversity | 8a5791d75030f86f20a8734187629d77d1eeda4f | [
"MIT"
] | null | null | null | function hideSuffix()
{
var gender = document.getElementById('gender');
var divSuffix = document.getElementById('forSuffix');
var suffix = document.getElementById('suffix');
var classname = "hidden";
if(gender.value == "Female")
{
divSuffix.classList.add(classname);
suffix.s... | 25.875 | 57 | 0.625604 |
7bc199dfb73ccaa782c38411c77329f2781107d3 | 232 | asm | Assembly | 03-hybrid/f.asm | MKuranowski/STUD-ARKO | 24398315221203bd917f4b0005359d063423bbf8 | [
"MIT"
] | null | null | null | 03-hybrid/f.asm | MKuranowski/STUD-ARKO | 24398315221203bd917f4b0005359d063423bbf8 | [
"MIT"
] | null | null | null | 03-hybrid/f.asm | MKuranowski/STUD-ARKO | 24398315221203bd917f4b0005359d063423bbf8 | [
"MIT"
] | null | null | null | section .text
global f
f:
push ebp
mov ebp, esp
mov eax, [ebp+8] ; eax contains the first argument (char*)
begin: mov cl, [eax]
cmp cl, 0
jz end
add cl, 1
mov [eax], cl
inc eax
jmp begin
end: mov esp, ebp
pop ebp
ret
| 11.047619 | 59 | 0.642241 |
58df4a8f7249d0de4c7999b0a4f14b4b2049c703 | 2,403 | lua | Lua | user_libraries/cf_chain_flow/appScripts/publishSubscribe.lua | glenn-edgar/lua_frame_work | 417b72fe254a4359f89f77570733aead2552dfaf | [
"MIT"
] | null | null | null | user_libraries/cf_chain_flow/appScripts/publishSubscribe.lua | glenn-edgar/lua_frame_work | 417b72fe254a4359f89f77570733aead2552dfaf | [
"MIT"
] | null | null | null | user_libraries/cf_chain_flow/appScripts/publishSubscribe.lua | glenn-edgar/lua_frame_work | 417b72fe254a4359f89f77570733aead2552dfaf | [
"MIT"
] | null | null | null | ---
--- File: publishSubscribe.lua
--- Lua Publish Subscribe.lua
---
---
---
publishSubscribe = {}
publishSubscribe.queue = {}
function publishSubscribe.initializePublishSubscribe()
-- null function right now
end
function publishSubscribe.flush( event )
publishSubscribe.queue[event] = {}
end
function publi... | 21.455357 | 79 | 0.668747 |
7ba10a1ede9082a1c232f68acc0e9d8140d5be62 | 8,975 | css | CSS | public/dist/ionic/rivvbutlfcti.css | jthoms1/react-ionic-conference-app | a643d704c208c3f1cd5687c7670880561d3bbba0 | [
"MIT"
] | 1 | 2018-07-20T16:41:39.000Z | 2018-07-20T16:41:39.000Z | public/dist/ionic/rivvbutlfcti.css | jthoms1/react-ionic-conference-app | a643d704c208c3f1cd5687c7670880561d3bbba0 | [
"MIT"
] | null | null | null | public/dist/ionic/rivvbutlfcti.css | jthoms1/react-ionic-conference-app | a643d704c208c3f1cd5687c7670880561d3bbba0 | [
"MIT"
] | null | null | null | /*!
* (C) Ionic http://ionicframework.com - MIT License
* Built with http://stenciljs.com
*/
ion-card{display:block;overflow:hidden}ion-card img{display:block;width:100%}.card-md{margin:10px;border-radius:2px;width:calc(100% - 20px);font-size:1.4rem;background:#fff;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2... | 1,795 | 8,879 | 0.762563 |
fe419b3fb741808459dc64b3c0b5df01321c3878 | 335 | h | C | XCCuke/XCCuke.h | sshrpe/XCCuke | 036e2e5725e7a0f6ede13187537f0ce9e4e8b6a9 | [
"Apache-2.0"
] | 4 | 2016-02-01T19:54:54.000Z | 2016-03-14T12:02:45.000Z | XCCuke/XCCuke.h | sshrpe/XCCuke | 036e2e5725e7a0f6ede13187537f0ce9e4e8b6a9 | [
"Apache-2.0"
] | null | null | null | XCCuke/XCCuke.h | sshrpe/XCCuke | 036e2e5725e7a0f6ede13187537f0ce9e4e8b6a9 | [
"Apache-2.0"
] | null | null | null | //
// XCCuke.h
// XCCuke
//
// Created by Stuart Sharpe on 14/02/2015.
// Copyright (c) 2015 initWithStyle. All rights reserved.
//
#import <XCCuke/XCQTestSuite.h>
#import <XCCuke/XCQScenarioTestSuite.h>
#import <XCCuke/XCQFeature.h>
#import <XCCuke/XCQScenario.h>
#import <XCCuke/XCQStep.h>
#import <XCCuke/XCQStep... | 20.9375 | 58 | 0.725373 |
116c31e417de255dd31b9fbb524723d94d783bcc | 1,778 | rs | Rust | src/dio/peout.rs | klanmiko/msp432p401r | f21410cf79fa268fe78714b7e8a367c10374055a | [
"MIT"
] | null | null | null | src/dio/peout.rs | klanmiko/msp432p401r | f21410cf79fa268fe78714b7e8a367c10374055a | [
"MIT"
] | null | null | null | src/dio/peout.rs | klanmiko/msp432p401r | f21410cf79fa268fe78714b7e8a367c10374055a | [
"MIT"
] | null | null | null | #[doc = "Reader of register PEOUT"]
pub type R = crate::R<u16, super::PEOUT>;
#[doc = "Writer for register PEOUT"]
pub type W = crate::W<u16, super::PEOUT>;
#[doc = "Register PEOUT `reset()`'s with value 0"]
impl crate::ResetValue for super::PEOUT {
type Type = u16;
#[inline(always)]
fn reset_value() -> Sel... | 27.353846 | 84 | 0.545557 |
6b724022497479505a15c7eb9e91734e01e1fb91 | 292 | h | C | Lamp/src/Lamp/AssetSystem/RenderGraphLoader.h | ChunkTreasure1/Lamp | 65be1544322949d6640e1fd108ed5a018387d0eb | [
"MIT"
] | 2 | 2021-09-13T17:37:34.000Z | 2021-11-17T18:52:42.000Z | Lamp/src/Lamp/AssetSystem/RenderGraphLoader.h | ChunkTreasure1/Lamp | 65be1544322949d6640e1fd108ed5a018387d0eb | [
"MIT"
] | 20 | 2020-09-30T13:44:46.000Z | 2021-12-03T14:30:04.000Z | Lamp/src/Lamp/AssetSystem/RenderGraphLoader.h | ChunkTreasure1/Lamp | 65be1544322949d6640e1fd108ed5a018387d0eb | [
"MIT"
] | null | null | null | #pragma once
#include "AssetLoader.h"
namespace Lamp
{
class RenderNode;
class RenderGraphLoader : public AssetLoader
{
public:
virtual void Save(const Ref<Asset>& asset) const override;
virtual bool Load(const std::filesystem::path& path, Ref<Asset>& asset) const override;
};
} | 18.25 | 89 | 0.736301 |
9cf8636648858de15c2c1b51d5e8d151c6bf9d10 | 4,404 | swift | Swift | musli/Classes/StepItem.swift | CommonSenseDTU/musli | 0dfaac1e5fc4f2385340c3baf79b0029c891b9ed | [
"MIT"
] | null | null | null | musli/Classes/StepItem.swift | CommonSenseDTU/musli | 0dfaac1e5fc4f2385340c3baf79b0029c891b9ed | [
"MIT"
] | null | null | null | musli/Classes/StepItem.swift | CommonSenseDTU/musli | 0dfaac1e5fc4f2385340c3baf79b0029c891b9ed | [
"MIT"
] | null | null | null | //
// StepItem.swift
// Pods
//
// Created by Anders Borch on 4/20/17.
//
//
import Foundation
import ResearchKit
import RestKit
open class StepItem: NSObject {
public var id = ""
public var format = ""
public var question = ""
public var imageUrls = [URL]()
public var selectedImageUrls = [URL]... | 37.008403 | 174 | 0.527929 |
eb0a4e3cc6d05d8bd2c78a6142f1d20756c235ea | 125 | asm | Assembly | libsrc/_DEVELOPMENT/font/fzx/fonts/dkud2/Bold/_ff_dkud2_UltraBold.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/font/fzx/fonts/dkud2/Bold/_ff_dkud2_UltraBold.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/font/fzx/fonts/dkud2/Bold/_ff_dkud2_UltraBold.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null |
SECTION rodata_font_fzx
PUBLIC _ff_dkud2_UltraBold
_ff_dkud2_UltraBold:
BINARY "font/fzx/fonts/dkud2/Bold/ultrabold.fzx"
| 13.888889 | 48 | 0.84 |
ebf80312d223d289afa10a7538c1449adfecbde1 | 638 | kt | Kotlin | app/src/main/java/io/aethibo/fireshare/usecases/FeedAddLike.kt | primepixel/Fireshare | 137d534bccba6e24073de7f01dd0a8aa9e569cba | [
"Apache-2.0"
] | 1 | 2021-04-06T16:29:55.000Z | 2021-04-06T16:29:55.000Z | app/src/main/java/io/aethibo/fireshare/usecases/FeedAddLike.kt | primepixel/Fireshare | 137d534bccba6e24073de7f01dd0a8aa9e569cba | [
"Apache-2.0"
] | 2 | 2021-04-17T09:18:56.000Z | 2021-04-17T09:22:01.000Z | app/src/main/java/io/aethibo/fireshare/usecases/FeedAddLike.kt | primepixel/Fireshare | 137d534bccba6e24073de7f01dd0a8aa9e569cba | [
"Apache-2.0"
] | 1 | 2021-05-26T16:02:06.000Z | 2021-05-26T16:02:06.000Z | /*
* Created by Karic Kenan on 21.3.2021
* Copyright (c) 2021 . All rights reserved.
*/
package io.aethibo.fireshare.usecases
import io.aethibo.fireshare.data.remote.main.MainRepository
import io.aethibo.fireshare.framework.utils.Resource
interface FeedAddLikeUseCase {
suspend operator fun invoke(ownerId: Str... | 33.578947 | 100 | 0.769592 |
56f4e5dc454e9e31512ccd489868af846b08d2dc | 561 | sql | SQL | cat-server/src/main/resources/db/migration/V20200923110000__add_view_for_code_text.sql | baloise/cut | d38479b9957f680ea67b436c3395b255f16e4bb4 | [
"Apache-2.0"
] | 4 | 2019-10-14T09:41:50.000Z | 2020-09-28T08:19:25.000Z | cat-server/src/main/resources/db/migration/V20200923110000__add_view_for_code_text.sql | baloise/cut | d38479b9957f680ea67b436c3395b255f16e4bb4 | [
"Apache-2.0"
] | 37 | 2019-10-25T20:20:34.000Z | 2022-02-19T00:13:43.000Z | cat-server/src/main/resources/db/migration/V20200923110000__add_view_for_code_text.sql | baloise/cut | d38479b9957f680ea67b436c3395b255f16e4bb4 | [
"Apache-2.0"
] | null | null | null | CREATE VIEW CodeText (id, type_id, value, name, text_nr, text_d, text_f, text_i, text_e, creator, created) As
SELECT concat_ws(':', cw.codetyp_nr, cw.wert), cw.codetyp_nr, cw.wert, cw.name, ct.text_nr, t.wert_d, t.wert_f, t.wert_i, t.wert_e, ct.erfasser, ct.erfassungszeit
FROM tbti_codetext AS ct
INNER JOIN tb... | 70.125 | 162 | 0.679144 |
c4b69c47fe7bf668f329721f8de80cf1896efe43 | 200 | swift | Swift | Code/SwiftObserver/Variable/Variable+Comparable.swift | flowtoolz/SwiftObserver | 37e56842fbdde40e5f42528cf7c02010156fcf38 | [
"MIT"
] | 15 | 2018-05-15T09:07:42.000Z | 2022-01-10T11:49:44.000Z | Code/SwiftObserver/Variable/Variable+Comparable.swift | flowtoolz/SwiftObserver | 37e56842fbdde40e5f42528cf7c02010156fcf38 | [
"MIT"
] | 2 | 2019-01-15T09:30:57.000Z | 2019-12-14T18:02:41.000Z | Code/SwiftObserver/Variable/Variable+Comparable.swift | flowtoolz/SwiftObserver | 37e56842fbdde40e5f42528cf7c02010156fcf38 | [
"MIT"
] | 1 | 2018-12-19T12:12:24.000Z | 2018-12-19T12:12:24.000Z | extension Var: Comparable where Value: Comparable
{
public static func < (lhs: Variable<Value>,
rhs: Variable<Value>) -> Bool
{
lhs.value < rhs.value
}
}
| 22.222222 | 55 | 0.55 |
2fb312bcf8f3a207d2a7c744014823b84323d945 | 217 | rs | Rust | cdc-mysql/src/messages/mod.rs | warycat/fluvio-demo-apps-rust | 0591c9b765474cf3954def0fb432dae2d00844d3 | [
"Apache-2.0"
] | 5 | 2020-10-09T19:24:15.000Z | 2022-03-17T13:10:34.000Z | cdc-mysql/src/messages/mod.rs | warycat/fluvio-demo-apps-rust | 0591c9b765474cf3954def0fb432dae2d00844d3 | [
"Apache-2.0"
] | 5 | 2020-10-13T15:18:33.000Z | 2021-03-31T14:32:22.000Z | cdc-mysql/src/messages/mod.rs | warycat/fluvio-demo-apps-rust | 0591c9b765474cf3954def0fb432dae2d00844d3 | [
"Apache-2.0"
] | 4 | 2021-02-09T13:01:14.000Z | 2021-03-31T14:12:19.000Z | mod bn_file;
mod bn_message;
mod flv_message;
mod operations;
mod row_ops;
mod values;
pub use bn_file::*;
pub use bn_message::*;
pub use flv_message::*;
pub use operations::*;
pub use row_ops::*;
pub use values::*;
| 15.5 | 23 | 0.718894 |
9aae0f2375eefaac88c4d9957a049731ab4c7179 | 338 | css | CSS | css/base/_variables.css | BrianQMclaren/Real-Estate-App | 3948925ac34ccf575d126ce1199837b743e59d6d | [
"MIT"
] | 9 | 2018-01-25T20:49:32.000Z | 2020-06-26T23:12:30.000Z | css/base/_variables.css | BrianQMclaren/Real-Estate-App | 3948925ac34ccf575d126ce1199837b743e59d6d | [
"MIT"
] | null | null | null | css/base/_variables.css | BrianQMclaren/Real-Estate-App | 3948925ac34ccf575d126ce1199837b743e59d6d | [
"MIT"
] | 15 | 2018-01-25T20:49:43.000Z | 2021-01-09T22:57:02.000Z | $pink: #ff718e;
$purple: #0c002b;
$blue: #4dc0f9;
$offwhite: #fffeff;
$offgray: #f9f8f4;
$gray: #faf7f5;
$lightgray: #dadde2;
$darkgray: #828d9d;
$boldgray: #50555c;
// Grid
$g-col-width: 65px;
$g-gutter-width: 20px;
$g-col-count: 12;
$g-cont-max-w: 1050px;
// Breakpoints
$brkpoint-sm: 1px;
$brkpoint-md: 768px;
$brk... | 15.363636 | 22 | 0.668639 |
b99f782a725a2e23ff540b06fe3051f2cd0e6191 | 700 | h | C | Sources/ViewModels_ObjC/ViewModels.h | hiep-nd/nd-mvvm | 91a8e9d43bce21900f473a4ff537bbcd3baab71c | [
"MIT"
] | null | null | null | Sources/ViewModels_ObjC/ViewModels.h | hiep-nd/nd-mvvm | 91a8e9d43bce21900f473a4ff537bbcd3baab71c | [
"MIT"
] | null | null | null | Sources/ViewModels_ObjC/ViewModels.h | hiep-nd/nd-mvvm | 91a8e9d43bce21900f473a4ff537bbcd3baab71c | [
"MIT"
] | null | null | null | //
// ViewModels.h
// NDMVVM
//
// Created by Nguyen Duc Hiep on 11/5/20.
//
#import <NDMVVM/ViewModels_NDAppearableItemViewModel.h>
#import <NDMVVM/ViewModels_NDContentHeightAdjustableItemViewModel.h>
#import <NDMVVM/ViewModels_NDContentHeightAdjustableViewModel.h>
#import <NDMVVM/ViewModels_NDItemViewModel.h>
#im... | 36.842105 | 78 | 0.84 |
e73836a517d4626add1c3eee3c61f3898d7d8796 | 1,351 | js | JavaScript | HttpServer/routes/register/asGuest.js | yasintuncel/BTO-Server-Node | 3b06957b1639da92f9c2e2f76426e9060a38d8c8 | [
"MIT"
] | null | null | null | HttpServer/routes/register/asGuest.js | yasintuncel/BTO-Server-Node | 3b06957b1639da92f9c2e2f76426e9060a38d8c8 | [
"MIT"
] | 34 | 2022-01-02T18:12:23.000Z | 2022-02-21T05:43:32.000Z | HttpServer/routes/register/asGuest.js | yasintuncel/BTO-Server-Node | 3b06957b1639da92f9c2e2f76426e9060a38d8c8 | [
"MIT"
] | null | null | null | const config = require('../../config');
const createNewGuestUser = require('common/database/functions/createNewGuestUser');
const { User } = require('common/database/models/user');
const tokenGenerator = require('common/utils/tokenGenerator');
const asGuest = async function (req, res) {
const { nickName } = req.b... | 36.513514 | 114 | 0.595855 |
9bee341f317ef6e3a40ff878d1f30c8fe9d513ca | 355 | js | JavaScript | src/index.js | DanielSilva33/API_saveUsers | ba014a8512793a4113a2b5ddb365ea041ebbf921 | [
"MIT"
] | null | null | null | src/index.js | DanielSilva33/API_saveUsers | ba014a8512793a4113a2b5ddb365ea041ebbf921 | [
"MIT"
] | null | null | null | src/index.js | DanielSilva33/API_saveUsers | ba014a8512793a4113a2b5ddb365ea041ebbf921 | [
"MIT"
] | null | null | null | const express = require('express');
const enderecoRoutes = require('./routes/enderecoUsuarios.routes');
const usuariosRoutes = require('./routes/usuarios.routes');
const app = express();
app.use(express.json());
app.use(enderecoRoutes);
app.use(usuariosRoutes);
app.listen(3333, () => {
console.log("Server is ru... | 25.357143 | 67 | 0.712676 |
9c06f598ae50df2d9516b023910297e29948b6f7 | 794 | js | JavaScript | src/Tests/Common/UI/Card/CardHeader.test.js | protofire/livepeer-alerts | ce5275d4d5cedaf718052df32f8fceb373839e43 | [
"MIT"
] | 4 | 2019-01-29T20:56:34.000Z | 2021-05-13T08:42:57.000Z | src/Tests/Common/UI/Card/CardHeader.test.js | protofire/livepeer-alerts-frontend | ce5275d4d5cedaf718052df32f8fceb373839e43 | [
"MIT"
] | 63 | 2018-12-18T13:34:21.000Z | 2022-01-20T17:04:27.000Z | src/Tests/Common/UI/Card/CardHeader.test.js | protofire/livepeer-alerts | ce5275d4d5cedaf718052df32f8fceb373839e43 | [
"MIT"
] | 2 | 2018-12-19T14:05:58.000Z | 2019-01-21T20:38:35.000Z | import React from 'react'
import Adapter from 'enzyme-adapter-react-16'
import { configure, mount } from 'enzyme'
import CardHeader from '../../../../Components/Common/UI/Card/CardHeader'
import render from 'react-test-renderer'
configure({ adapter: new Adapter() })
describe('CardHeader test', () => {
it(`Should re... | 22.055556 | 73 | 0.623426 |
d5f1c976667830f29cd9dc55013bb29989458265 | 274 | h | C | iOSProject/AllInCode/iOSTech/UI/UINavigationController/CustomNavigationBar/CPActivityController.h | RiverYangZiJiang/iOSAllInCode | cf174deb0332ad3899150afbfc35e87de104ca9a | [
"MIT"
] | 2 | 2019-03-09T09:19:55.000Z | 2019-03-25T02:43:48.000Z | iOSProject/AllInCode/iOSTech/UI/UINavigationController/CustomNavigationBar/CPActivityController.h | RiverYangZiJiang/iOSAllInCode | cf174deb0332ad3899150afbfc35e87de104ca9a | [
"MIT"
] | null | null | null | iOSProject/AllInCode/iOSTech/UI/UINavigationController/CustomNavigationBar/CPActivityController.h | RiverYangZiJiang/iOSAllInCode | cf174deb0332ad3899150afbfc35e87de104ca9a | [
"MIT"
] | 1 | 2019-03-25T02:43:54.000Z | 2019-03-25T02:43:54.000Z | //
// CPActivityController.h
// ChargePlatform
//
// Created by HMDS on 2021/1/5.
// Copyright © 2021 EverGrande. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface CPActivityController : UIViewController
@end
NS_ASSUME_NONNULL_END
| 14.421053 | 53 | 0.748175 |
f944d8038d041ae292ce2b3a4ba68d3870e2d45e | 334 | kt | Kotlin | FinFamily/src/main/java/com/bandtec/finfamily/utils/DateValidation.kt | Thiago-Kuhl/FinFamily | 13b5d44e5cff959d3551db6fec6cf08a42ee422d | [
"MIT"
] | 1 | 2021-04-19T13:54:13.000Z | 2021-04-19T13:54:13.000Z | FinFamily/src/main/java/com/bandtec/finfamily/utils/DateValidation.kt | Thiago-Kuhl/FinFamily | 13b5d44e5cff959d3551db6fec6cf08a42ee422d | [
"MIT"
] | 1 | 2020-06-20T02:01:12.000Z | 2020-06-20T02:01:12.000Z | FinFamily/src/main/java/com/bandtec/finfamily/utils/DateValidation.kt | Thiago-Kuhl/FinFamily | 13b5d44e5cff959d3551db6fec6cf08a42ee422d | [
"MIT"
] | 1 | 2020-06-24T23:13:37.000Z | 2020-06-24T23:13:37.000Z | package com.bandtec.finfamily.utils
import java.text.SimpleDateFormat
import java.util.*
object DateValidation {
fun isValid(birthday : String) : Boolean{
val sdf = SimpleDateFormat("dd/MM/yyyy")
val date = sdf.parse(birthday)
val currentDate = Date()
return !currentDate.before(... | 19.647059 | 48 | 0.670659 |
6b7e9bee0f8686f77c1680a2060f3234786421bd | 1,709 | c | C | srcs/pars/check_rotation.c | alexbayc/rtsept | f993bf22e348262dfec5ef1f7e6279c7909623db | [
"Apache-2.0"
] | null | null | null | srcs/pars/check_rotation.c | alexbayc/rtsept | f993bf22e348262dfec5ef1f7e6279c7909623db | [
"Apache-2.0"
] | null | null | null | srcs/pars/check_rotation.c | alexbayc/rtsept | f993bf22e348262dfec5ef1f7e6279c7909623db | [
"Apache-2.0"
] | 1 | 2019-09-28T11:47:23.000Z | 2019-09-28T11:47:23.000Z | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* check_rotation.c :+: :+: :+: ... | 34.877551 | 80 | 0.325336 |
07383124c7c12e1af62f09c4e6b08a56f0ea5e12 | 347 | sql | SQL | BD/Laborator/lab04/12.sql | mihai-constantin/ACS | 098c99d82dad8fb5d0e909da930c72f1185a99e2 | [
"Apache-2.0"
] | null | null | null | BD/Laborator/lab04/12.sql | mihai-constantin/ACS | 098c99d82dad8fb5d0e909da930c72f1185a99e2 | [
"Apache-2.0"
] | null | null | null | BD/Laborator/lab04/12.sql | mihai-constantin/ACS | 098c99d82dad8fb5d0e909da930c72f1185a99e2 | [
"Apache-2.0"
] | null | null | null | -- SELECT
-- id_ang AS ecuson,
-- nume,
-- functie,
-- salariu + nvl(comision, 0) AS "Venit lunar"
-- FROM angajati
-- WHERE id_ang IN (7499, 7902, 7876)
-- ORDER BY nume;
SELECT
id_ang AS ecuson,
nume,
functie,
salariu + nvl(comision, 0) AS "Venit lunar"
FROM angajati
WHERE id_ang = 7499 OR id_ang = 7902 OR i... | 20.411765 | 53 | 0.674352 |
0b4772665a5a43688e79771eafbcfa9e4db57a1a | 6,661 | py | Python | postgres_connector/splitters.py | sandboxws/beam-postgres-connector | d08ed08e96991704fc234dd1e4d2ddf13f1885c1 | [
"MIT"
] | null | null | null | postgres_connector/splitters.py | sandboxws/beam-postgres-connector | d08ed08e96991704fc234dd1e4d2ddf13f1885c1 | [
"MIT"
] | null | null | null | postgres_connector/splitters.py | sandboxws/beam-postgres-connector | d08ed08e96991704fc234dd1e4d2ddf13f1885c1 | [
"MIT"
] | null | null | null | import re
from abc import ABCMeta, abstractmethod
from datetime import datetime
from typing import Callable, Iterator
from apache_beam.io import iobase
from apache_beam.io.range_trackers import (LexicographicKeyRangeTracker,
OffsetRangeTracker,
... | 37.632768 | 118 | 0.664465 |
69d6491df6eafe1d0efe76ec188898aa0d3315a4 | 23,720 | asm | Assembly | ugbc/src/hw/gtia/plot.asm | Samuel-DEVULDER/ugbasic | 61971d500d2290512fbdd3d7e487806bc34f617d | [
"Apache-2.0"
] | null | null | null | ugbc/src/hw/gtia/plot.asm | Samuel-DEVULDER/ugbasic | 61971d500d2290512fbdd3d7e487806bc34f617d | [
"Apache-2.0"
] | 3 | 2021-11-27T14:19:16.000Z | 2021-12-21T14:44:50.000Z | ugbc/src/hw/gtia/plot.asm | Samuel-DEVULDER/ugbasic | 61971d500d2290512fbdd3d7e487806bc34f617d | [
"Apache-2.0"
] | null | null | null | ; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021 Marco Spedaletti (asimov@mclink.it)
; *
; * Licensed un... | 22.085661 | 123 | 0.532715 |
1e9fe497a6c0f205d71a14721f3a9454dcf3be1b | 822 | kts | Kotlin | simplebenchmark/build.gradle.kts | lesterw1/RoaringBitmap | e7ccc39d20073366bf7e9f08cf9fd51311877634 | [
"Apache-2.0"
] | 2,350 | 2016-01-10T20:55:19.000Z | 2022-03-31T13:17:16.000Z | simplebenchmark/build.gradle.kts | liuyonggen/RoaringBitmap | ab5398126f7aed1e85ba3831e9d0f05372738c28 | [
"Apache-2.0"
] | 471 | 2016-01-12T00:25:49.000Z | 2022-03-29T13:28:50.000Z | simplebenchmark/build.gradle.kts | liuyonggen/RoaringBitmap | ab5398126f7aed1e85ba3831e9d0f05372738c28 | [
"Apache-2.0"
] | 401 | 2016-01-21T14:00:28.000Z | 2022-03-22T08:53:42.000Z | dependencies {
implementation(project(":RoaringBitmap"))
}
tasks {
val runAll by registering {}
val rootDir = File(rootProject.projectDir, "/real-roaring-dataset/src/main/resources/real-roaring-dataset/")
rootDir.list()
.sorted()
.filter { it.endsWith(".zip") }
.for... | 34.25 | 112 | 0.553528 |
7bcf0135a194a847b1ca5c5ed7691be3b1ce2c4d | 1,304 | rb | Ruby | app/presenters/topico_presenter.rb | rakeshrajwar/cidadedemocratica | 83bce9e30830a7d23d5c4941f856d21f42eae1af | [
"MIT"
] | 2 | 2015-09-09T16:46:26.000Z | 2018-10-02T00:19:15.000Z | app/presenters/topico_presenter.rb | prefeiturasp/controladoriacidada | efbfb4c0639c50c24c0028b87ff00408359d0bfc | [
"MIT"
] | null | null | null | app/presenters/topico_presenter.rb | prefeiturasp/controladoriacidada | efbfb4c0639c50c24c0028b87ff00408359d0bfc | [
"MIT"
] | 1 | 2018-11-26T02:11:56.000Z | 2018-11-26T02:11:56.000Z | module TopicoPresenter
def display_location
locais.collect { |l| l.descricao }.join(', ')
end
def keywords
keywords = display_name.downcase
keywords += ",#{tags.collect{|t| t.name}.join(',')}" if tags
end
def nome_do_tipo(options = {})
str = ""
my_options = {
:artigo => false, # po... | 24.603774 | 64 | 0.595859 |
3ef6252d3ca0cd842a8d0bd8dc422c00d1acd388 | 1,559 | kt | Kotlin | app/src/main/java/com/chhemsronglong/together/Common/BaseFragement.kt | sronglongchhem/Together | 56fd2f99fbe2e8d010180acd84eaf36a8d47a8b2 | [
"MIT"
] | null | null | null | app/src/main/java/com/chhemsronglong/together/Common/BaseFragement.kt | sronglongchhem/Together | 56fd2f99fbe2e8d010180acd84eaf36a8d47a8b2 | [
"MIT"
] | null | null | null | app/src/main/java/com/chhemsronglong/together/Common/BaseFragement.kt | sronglongchhem/Together | 56fd2f99fbe2e8d010180acd84eaf36a8d47a8b2 | [
"MIT"
] | null | null | null | package com.chhemsronglong.together.Common
import android.arch.lifecycle.ViewModelProviders
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.View
import android.widget.ProgressBar
import com.chhemsronglong.together.ViewLayout.TogetherApp
import com.chhemsronglong.together.Common.View... | 29.415094 | 86 | 0.680564 |
753160af1e541cff7044049850ee7e593bcf7745 | 558 | h | C | bTraits.h | raduteo/framespaces | 18a9d7621634ee59546629faba598c989096c4ab | [
"Apache-2.0"
] | null | null | null | bTraits.h | raduteo/framespaces | 18a9d7621634ee59546629faba598c989096c4ab | [
"Apache-2.0"
] | null | null | null | bTraits.h | raduteo/framespaces | 18a9d7621634ee59546629faba598c989096c4ab | [
"Apache-2.0"
] | null | null | null | #ifndef EXPERIMENTS_BTRAITS_H
#define EXPERIMENTS_BTRAITS_H
template<template<typename...> class, typename>
struct is_template_instance : std::false_type {
};
template<template<typename...> class T, class... ARGS>
struct is_template_instance<T, T<ARGS...>> : std::true_type {
};
template<class T>
constexpr bool is_un... | 27.9 | 102 | 0.77957 |
16879bf47e6bfb2180abdd20126019af2b066ebb | 154 | c | C | tests/clds_sorted_list_int/nothing.c | anporumb/clds | 35c51b89265bd6389e3e07369351149f7b7ed501 | [
"MIT"
] | 1 | 2018-03-09T08:22:29.000Z | 2018-03-09T08:22:29.000Z | tests/clds_sorted_list_int/nothing.c | anporumb/clds | 35c51b89265bd6389e3e07369351149f7b7ed501 | [
"MIT"
] | 11 | 2018-04-04T05:35:33.000Z | 2020-05-06T22:12:53.000Z | tests/clds_sorted_list_int/nothing.c | anporumb/clds | 35c51b89265bd6389e3e07369351149f7b7ed501 | [
"MIT"
] | 2 | 2018-04-10T16:33:37.000Z | 2019-03-08T21:35:20.000Z | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
int nothing4C553292_5C39_4118_8AC6_62EEB4E366C9 = 0; | 77 | 101 | 0.831169 |
bcc5fce7f6a724cc43e76a6a7bc70918e0ebf652 | 3,391 | js | JavaScript | app/controller/v1/lovemail.js | Love-mail/love-mail | 01ca1beed24843dc26d9434d7a2a61ad686f8aec | [
"Apache-2.0"
] | 2 | 2018-03-24T02:24:11.000Z | 2018-03-26T04:59:27.000Z | app/controller/v1/lovemail.js | Love-mail/Lovemail-Server | 01ca1beed24843dc26d9434d7a2a61ad686f8aec | [
"Apache-2.0"
] | null | null | null | app/controller/v1/lovemail.js | Love-mail/Lovemail-Server | 01ca1beed24843dc26d9434d7a2a61ad686f8aec | [
"Apache-2.0"
] | null | null | null | 'use strict';
const Controller = require('egg').Controller;
class LovemailController extends Controller {
// 保存用户 Lovemail 设置
async save() {
const { ctx, app } = this;
const model = ctx.request.body;
const rule = {
nickname: {
type: 'string',
max: 20,
required: false,
... | 23.226027 | 92 | 0.534651 |
36e207171341cb25840f6f3bf10c10ba42adaace | 342 | swift | Swift | Sources/ResponseParser.swift | JuanjoArreola/Apic | 0ac166aace6d08c4d2ec9012b82f0b1b09795978 | [
"MIT"
] | 1 | 2016-07-09T19:31:55.000Z | 2016-07-09T19:31:55.000Z | Sources/ResponseParser.swift | JuanjoArreola/Apic | 0ac166aace6d08c4d2ec9012b82f0b1b09795978 | [
"MIT"
] | 1 | 2021-11-07T16:57:23.000Z | 2021-11-07T16:57:23.000Z | Sources/ResponseParser.swift | JuanjoArreola/Apic | 0ac166aace6d08c4d2ec9012b82f0b1b09795978 | [
"MIT"
] | 2 | 2019-02-13T21:04:36.000Z | 2021-11-07T16:57:38.000Z | import Foundation
public protocol ResponseParser {
func success(from data: Data?, response: URLResponse?, error: Error?) throws -> Bool
func object<T: Decodable>(from data: Data?, response: URLResponse?, error: Error?) throws -> T
func array<T: Decodable>(from data: Data?, response: URLResponse?, error: Er... | 42.75 | 99 | 0.704678 |
e764ccb2cf08326465c02b30461f7788531c3641 | 2,269 | js | JavaScript | packages/server/usecase/application/node-generator/templates/cleanCode/utils/messages.js | shubhamkhunt04/dhiwise-nodejs | d04262a8a82441e23026f5b49dd0ce397edd587c | [
"Apache-2.0"
] | null | null | null | packages/server/usecase/application/node-generator/templates/cleanCode/utils/messages.js | shubhamkhunt04/dhiwise-nodejs | d04262a8a82441e23026f5b49dd0ce397edd587c | [
"Apache-2.0"
] | null | null | null | packages/server/usecase/application/node-generator/templates/cleanCode/utils/messages.js | shubhamkhunt04/dhiwise-nodejs | d04262a8a82441e23026f5b49dd0ce397edd587c | [
"Apache-2.0"
] | null | null | null | // eslint-disable-next-line no-multi-assign
const messages = module.exports = {};
messages.successResponse = (headers, statusCode, data) => ({
headers,
statusCode,
data: {
status: 'SUCCESS',
message: 'Your request is successfully executed',
data,
},
});
messages.failureResponse = (headers, statusCod... | 19.730435 | 65 | 0.613486 |
5000afd31c169b913cb04bcea45a2e49a2cdebe7 | 1,112 | js | JavaScript | wrappers/md.js | florapdx/gatsby-bloggy-starter | 35abd3a40ba3dca5068cc14a5905efe90e9ac051 | [
"MIT"
] | 6 | 2016-11-03T01:26:11.000Z | 2019-08-15T04:44:17.000Z | wrappers/md.js | florapdx/gatsby-bloggy-starter | 35abd3a40ba3dca5068cc14a5905efe90e9ac051 | [
"MIT"
] | 1 | 2018-04-13T10:52:44.000Z | 2018-04-13T10:52:44.000Z | wrappers/md.js | florapdx/gatsby-bloggy-starter | 35abd3a40ba3dca5068cc14a5905efe90e9ac051 | [
"MIT"
] | 3 | 2016-11-13T19:39:42.000Z | 2020-12-26T20:37:22.000Z | import React, { PropTypes, Component } from 'react';
import Helmet from 'react-helmet';
import { config } from 'config';
import DisqusThread from '../components/shared/disqus-threads';
import Post from '../components/blog/post';
import 'stylesheets/markdown-styles.css';
class MarkdownWrapper extends Component {
con... | 24.711111 | 69 | 0.58723 |
33299ffe9a3bcae73b7f087adb90f942699dff82 | 466 | py | Python | ABC/abc051-abc100/abc093/b.py | KATO-Hiro/AtCoder | cbbdb18e95110b604728a54aed83a6ed6b993fde | [
"CC0-1.0"
] | 2 | 2020-06-12T09:54:23.000Z | 2021-05-04T01:34:07.000Z | ABC/abc051-abc100/abc093/b.py | KATO-Hiro/AtCoder | cbbdb18e95110b604728a54aed83a6ed6b993fde | [
"CC0-1.0"
] | 961 | 2020-06-23T07:26:22.000Z | 2022-03-31T21:34:52.000Z | ABC/abc051-abc100/abc093/b.py | KATO-Hiro/AtCoder | cbbdb18e95110b604728a54aed83a6ed6b993fde | [
"CC0-1.0"
] | null | null | null | '''input
4 8 3
4
5
6
7
8
3 8 2
3
4
7
8
2 9 100
2
3
4
5
6
7
8
9
'''
# -*- coding: utf-8 -*-
# AtCoder Beginner Contest
# Problem B
if __name__ == '__main__':
a, b, k = list(map(int, input().split()))
if (b - a + 1) <= 2 * k:
for i in range(a, b + 1):
... | 10.590909 | 46 | 0.401288 |
c2d7883445592654dd685a93a3e6cca892201a60 | 2,654 | sql | SQL | web/db/mysql/filemanager.sql | JxcChen/JeeSite4 | 5ce16994f446535d94524df00c0b125a1203dc0e | [
"Apache-2.0"
] | 10 | 2020-10-11T08:16:46.000Z | 2022-01-25T07:56:18.000Z | web/db/mysql/filemanager.sql | JxcChen/JeeSite4 | 5ce16994f446535d94524df00c0b125a1203dc0e | [
"Apache-2.0"
] | null | null | null | web/db/mysql/filemanager.sql | JxcChen/JeeSite4 | 5ce16994f446535d94524df00c0b125a1203dc0e | [
"Apache-2.0"
] | 70 | 2020-07-03T23:01:45.000Z | 2022-02-27T13:57:51.000Z | SET SESSION FOREIGN_KEY_CHECKS=0;
/* Drop Tables */
DROP TABLE IF EXISTS js_filemanager_shared;
DROP TABLE IF EXISTS js_filemanager_folder;
/* Create Tables */
-- 文件管理文件夹
CREATE TABLE js_filemanager_folder
(
id varchar(64) NOT NULL COMMENT '编号',
parent_code varchar(64) NOT NULL COMMENT '父级编号',
... | 36.356164 | 86 | 0.756217 |
20b54f616b3da0eda4fceb74783daaa4ad7238fd | 2,861 | css | CSS | data/usercss/148557.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 118 | 2020-08-28T19:59:28.000Z | 2022-03-26T16:28:40.000Z | data/usercss/148557.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 38 | 2020-09-02T01:08:45.000Z | 2022-01-23T02:47:24.000Z | data/usercss/148557.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 21 | 2020-08-19T01:12:43.000Z | 2022-03-15T21:55:17.000Z | /* ==UserStyle==
@name SupportXMR Dark
@namespace USO Archive
@author Techjar
@description `Relatively quickly whipped up dark theme for SupportXMR. Enjoy!<br><br><b>Suggestions? Issues? Did I miss something?</b> Contact me via one of a few methods, found on my contact page: <a href="https://w... | 33.267442 | 715 | 0.682978 |