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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
df5ddc19c88fc1aac8c90b3728de012dd8b0e721 | 139 | jbuilder | Ruby | evaluationserver/app/views/steps/index.json.jbuilder | Lukasz-kal/Getaviz | 32bfcd44eee3c6e71b11fe2e60927cafd296ad7f | [
"Apache-2.0"
] | 45 | 2018-08-11T17:35:06.000Z | 2022-03-24T17:54:26.000Z | evaluationserver/app/views/steps/index.json.jbuilder | Lukasz-kal/Getaviz | 32bfcd44eee3c6e71b11fe2e60927cafd296ad7f | [
"Apache-2.0"
] | 96 | 2018-07-09T14:17:11.000Z | 2022-03-30T22:30:06.000Z | evaluationserver/app/views/steps/index.json.jbuilder | Lukasz-kal/Getaviz | 32bfcd44eee3c6e71b11fe2e60927cafd296ad7f | [
"Apache-2.0"
] | 57 | 2018-07-06T12:16:17.000Z | 2022-03-30T07:05:05.000Z | json.array!(@scenes) do |scene|
json.extract! scene, :id, :title, :description, :filename
json.url scene_url(scene, format: :json)
end
| 27.8 | 59 | 0.705036 |
419598390c7766fd4f4b8727d8041dac876a7820 | 3,000 | h | C | source/blender/imbuf/intern/IMB_metadata.h | wycivil08/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 30 | 2015-01-29T14:06:05.000Z | 2022-01-10T07:47:29.000Z | source/blender/imbuf/intern/IMB_metadata.h | ttagu99/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 1 | 2017-02-20T20:57:48.000Z | 2018-12-19T23:44:38.000Z | source/blender/imbuf/intern/IMB_metadata.h | ttagu99/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 15 | 2015-04-23T02:38:36.000Z | 2021-03-01T20:09:39.000Z | /*
* $Id: IMB_metadata.h 35239 2011-02-27 20:23:21Z jesterking $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the Licen... | 34.883721 | 95 | 0.715667 |
f05d0a3641c60e67514c1823da24f5eae7e8f916 | 1,282 | js | JavaScript | app/scripts/admin/UI/UIDirective.js | HanSeungHo/pinkpink | 24eed78a9b61ee163d99dc68137f4f40170b0a89 | [
"MIT"
] | null | null | null | app/scripts/admin/UI/UIDirective.js | HanSeungHo/pinkpink | 24eed78a9b61ee163d99dc68137f4f40170b0a89 | [
"MIT"
] | 1 | 2015-07-24T13:36:10.000Z | 2015-07-24T13:36:10.000Z | app/scripts/admin/UI/UIDirective.js | HanSeungHo/pinkpink | 24eed78a9b61ee163d99dc68137f4f40170b0a89 | [
"MIT"
] | null | null | null | (function() {
'use strict';
angular.module('app.ui.directives', []).directive('uiTime', [
function() {
return {
restrict: 'A',
link: function(scope, ele) {
var checkTime, startTime;
startTime = function() {
var h, m, s, t, time, today;
today = ne... | 25.137255 | 63 | 0.418877 |
75ba48948064a9e980787093c2871bb1cadb0143 | 2,412 | sql | SQL | scripts/functions/ppa_fn_verifica_homologacao.sql | evandojunior/urbem3.0 | ba8d54109e51e82b689d1881e582fb0bce4375e0 | [
"MIT"
] | null | null | null | scripts/functions/ppa_fn_verifica_homologacao.sql | evandojunior/urbem3.0 | ba8d54109e51e82b689d1881e582fb0bce4375e0 | [
"MIT"
] | null | null | null | scripts/functions/ppa_fn_verifica_homologacao.sql | evandojunior/urbem3.0 | ba8d54109e51e82b689d1881e582fb0bce4375e0 | [
"MIT"
] | 1 | 2020-01-29T20:35:57.000Z | 2020-01-29T20:35:57.000Z | CREATE OR REPLACE FUNCTION ppa.fn_verifica_homologacao(incodppa integer)
RETURNS boolean
LANGUAGE plpgsql
AS $function$
DECLARE
reRegistro RECORD;
boRetorno BOOLEAN = false;
stSql VARCHAR := '';
tpTimestampPublicacao TIMESTAMP;
tpTimes... | 33.5 | 72 | 0.666252 |
dc3969da86a39d6a77b945e4af8f9269eacb2393 | 986 | asm | Assembly | programs/oeis/099/A099923.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/099/A099923.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/099/A099923.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A099923: Fourth powers of Lucas numbers A000032.
; 16,1,81,256,2401,14641,104976,707281,4879681,33362176,228886641,1568239201,10750371856,73680216481,505022001201,3461445366016,23725169980801,162614549665681,1114577187760656,7639424429247601,52361397313124641,358890347609579776,2459871059916916881,1686020700907293408... | 140.857143 | 860 | 0.91785 |
7c0e77a3afe4949938c422022099e4ad0c142637 | 1,140 | kt | Kotlin | restdoc-web/src/main/kotlin/restdoc/web/model/HttpApiTestLog.kt | Overman-mxf/rest-doc | 3cdf9de7593c78c819b3dadc9b583e736041d55f | [
"Apache-2.0"
] | 2 | 2020-08-05T11:13:30.000Z | 2020-08-08T02:23:12.000Z | restdoc-web/src/main/kotlin/restdoc/web/model/HttpApiTestLog.kt | Overman-mxf/rest-doc | 3cdf9de7593c78c819b3dadc9b583e736041d55f | [
"Apache-2.0"
] | 5 | 2020-08-20T08:22:32.000Z | 2020-09-10T04:45:04.000Z | restdoc-web/src/main/kotlin/restdoc/web/model/HttpApiTestLog.kt | Overman-mxf/rest-doc | 3cdf9de7593c78c819b3dadc9b583e736041d55f | [
"Apache-2.0"
] | 1 | 2020-08-05T11:13:32.000Z | 2020-08-05T11:13:32.000Z | package restdoc.web.model
import org.springframework.data.annotation.Id
import org.springframework.data.mongodb.core.index.HashIndexed
import org.springframework.data.mongodb.core.mapping.Document
import org.springframework.http.HttpMethod
import java.util.*
/**
* WebApiTestLog
*
*
* WebApiTestLog => {HeaderFiel... | 21.923077 | 64 | 0.714912 |
821155d2fd2983f276b7d3fa594f1562ba5d68ba | 4,470 | kt | Kotlin | ZimLX/src/org/zimmob/zimlx/adaptive/IconShapeManager.kt | damoasda/ZimLX | 0a52e0fcb7a068135d938da4d93d5b0ac91d95fa | [
"Apache-2.0"
] | null | null | null | ZimLX/src/org/zimmob/zimlx/adaptive/IconShapeManager.kt | damoasda/ZimLX | 0a52e0fcb7a068135d938da4d93d5b0ac91d95fa | [
"Apache-2.0"
] | null | null | null | ZimLX/src/org/zimmob/zimlx/adaptive/IconShapeManager.kt | damoasda/ZimLX | 0a52e0fcb7a068135d938da4d93d5b0ac91d95fa | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2019 paphonb@xda
*
* This file is part of Lawnchair Launcher.
*
* Lawnchair Launcher is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Licens... | 33.609023 | 89 | 0.650112 |
d9b796d063e2631ece96f46d89ea525cadd4be31 | 34,054 | rs | Rust | src/librustc/traits/structural_impls.rs | byteset/rust | 97fba3ccfc2f1299048342c59c5e9b62cc11ef66 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2021-08-13T16:21:02.000Z | 2021-08-13T16:21:02.000Z | src/librustc/traits/structural_impls.rs | byteset/rust | 97fba3ccfc2f1299048342c59c5e9b62cc11ef66 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | src/librustc/traits/structural_impls.rs | byteset/rust | 97fba3ccfc2f1299048342c59c5e9b62cc11ef66 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | use chalk_engine;
use smallvec::SmallVec;
use crate::traits;
use crate::traits::project::Normalized;
use crate::ty::fold::{TypeFoldable, TypeFolder, TypeVisitor};
use crate::ty::{self, Lift, Ty, TyCtxt};
use syntax::symbol::Symbol;
use std::fmt;
use std::rc::Rc;
use std::collections::{BTreeSet, BTreeMap};
// Structur... | 33.817279 | 99 | 0.533858 |
5826d6bc6312dabc066b2477296473fedf4b7d75 | 796 | h | C | MinimalSinkRenderer/Common/MFCriticSection.h | mofo7777/Stackoverflow | 20aeebb815f6b9c1492abd54127dfe6b9be65b77 | [
"Unlicense"
] | 18 | 2018-10-03T21:49:19.000Z | 2021-12-22T13:10:33.000Z | Common/MFCriticSection.h | mofo7777/MediaFoundationTransform | c247648dd4298b264419d72b1d12fd2af9aa1e49 | [
"Unlicense"
] | 1 | 2020-06-23T21:28:54.000Z | 2020-06-24T18:33:28.000Z | MinimalSinkRenderer/Common/MFCriticSection.h | mofo7777/Stackoverflow | 20aeebb815f6b9c1492abd54127dfe6b9be65b77 | [
"Unlicense"
] | 10 | 2020-01-01T12:09:41.000Z | 2021-12-23T09:21:10.000Z | //----------------------------------------------------------------------------------------------
// MFCriticSection.h
//----------------------------------------------------------------------------------------------
#ifndef MFCRITICSECTION_H
#define MFCRITICSECTION_H
class CriticSection{
private:
CRITICA... | 22.742857 | 97 | 0.526382 |
50e82d6dc007ad89757899ad96fb9adafaaa685e | 16,063 | go | Go | xslice/xslice_test.go | HappyFacade/gokit | 0448a17eb37a301e70ceeac039be84503750f791 | [
"Apache-2.0"
] | null | null | null | xslice/xslice_test.go | HappyFacade/gokit | 0448a17eb37a301e70ceeac039be84503750f791 | [
"Apache-2.0"
] | null | null | null | xslice/xslice_test.go | HappyFacade/gokit | 0448a17eb37a301e70ceeac039be84503750f791 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2012-2020 Li Kexian
*
* 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 ... | 27.364566 | 139 | 0.474195 |
996011f7cbf0e1322f5366967f6790e855637bb3 | 4,863 | h | C | System/Library/Frameworks/ExposureNotification.framework/ENExposureConfiguration.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 2 | 2021-11-02T09:23:27.000Z | 2022-03-28T08:21:57.000Z | System/Library/Frameworks/ExposureNotification.framework/ENExposureConfiguration.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | null | null | null | System/Library/Frameworks/ExposureNotification.framework/ENExposureConfiguration.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 1 | 2022-03-28T08:21:59.000Z | 2022-03-28T08:21:59.000Z | /*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:23:34 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/Frameworks/ExposureNotifi... | 60.037037 | 200 | 0.749332 |
0764590f7d911ba9df9f4374e406422b4e2367f2 | 2,253 | rs | Rust | rs/game.rs | canufeel/kitty-wars-yew-front | 5cea75a73d9b65c24838b606a3b434e7490fdf88 | [
"Apache-2.0",
"MIT"
] | 2 | 2020-02-21T22:39:53.000Z | 2020-04-14T22:12:53.000Z | rs/game.rs | canufeel/kitty-wars-yew-front | 5cea75a73d9b65c24838b606a3b434e7490fdf88 | [
"Apache-2.0",
"MIT"
] | 6 | 2021-05-11T01:33:26.000Z | 2022-02-26T22:52:17.000Z | rs/game.rs | canufeel/kitty-wars-yew-front | 5cea75a73d9b65c24838b606a3b434e7490fdf88 | [
"Apache-2.0",
"MIT"
] | null | null | null | use std::collections::HashMap;
use yew::{Html, html, Callback};
use stdweb::web::event::ClickEvent;
pub enum ItemType {
Weapon,
Armor
}
pub struct Item {
item_type: ItemType,
item_power: String
}
impl Item {
pub fn new(
item_type: ItemType,
item_power: String
) -> Self {
Item {
item_pow... | 20.297297 | 96 | 0.573014 |
9be046494b193a8252bb8698afb4c5be38bde476 | 5,799 | js | JavaScript | JS-Applications/11- Async/02. FISHER-GAME/app.js | DenislavVelichkov/JS-Core-January-2020 | 8503a2de75ac3e67aad043b818a7cd95d607c8c2 | [
"MIT"
] | null | null | null | JS-Applications/11- Async/02. FISHER-GAME/app.js | DenislavVelichkov/JS-Core-January-2020 | 8503a2de75ac3e67aad043b818a7cd95d607c8c2 | [
"MIT"
] | null | null | null | JS-Applications/11- Async/02. FISHER-GAME/app.js | DenislavVelichkov/JS-Core-January-2020 | 8503a2de75ac3e67aad043b818a7cd95d607c8c2 | [
"MIT"
] | null | null | null | import {
fetchData
} from './fetch.js';
const html = {
loadButton: () => document.getElementsByClassName("load")[0],
catchesCollection: () => document.getElementById("catches"),
hr: () => document.createElement("hr"),
addButton: () => document.getElementsByClassName("add")[0],
anglerField: () =... | 35.576687 | 118 | 0.58786 |
129c892c21fef82c4b8282cdda2319d2328f28fe | 2,227 | c | C | src/drivers/xf86-video-guac/composite.c | tkiapril/guacamole-server | d1e287b9fde60457dec71739c6f063129f912c87 | [
"Apache-2.0"
] | null | null | null | src/drivers/xf86-video-guac/composite.c | tkiapril/guacamole-server | d1e287b9fde60457dec71739c6f063129f912c87 | [
"Apache-2.0"
] | null | null | null | src/drivers/xf86-video-guac/composite.c | tkiapril/guacamole-server | d1e287b9fde60457dec71739c6f063129f912c87 | [
"Apache-2.0"
] | null | null | null |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | 32.75 | 78 | 0.685676 |
574565af69c9286e799b2f20b7f5544695d7b857 | 215 | h | C | ALXcommercialCollege/ALXClasses/ALXDatabase/ALXDatabase.h | zhuzhiwen0527/ALXcommercialCollege | d689795edf2a643a0335e8b225c56a8a8fc2e5a0 | [
"MIT"
] | null | null | null | ALXcommercialCollege/ALXClasses/ALXDatabase/ALXDatabase.h | zhuzhiwen0527/ALXcommercialCollege | d689795edf2a643a0335e8b225c56a8a8fc2e5a0 | [
"MIT"
] | null | null | null | ALXcommercialCollege/ALXClasses/ALXDatabase/ALXDatabase.h | zhuzhiwen0527/ALXcommercialCollege | d689795edf2a643a0335e8b225c56a8a8fc2e5a0 | [
"MIT"
] | null | null | null | //
// ALXDatabase.h
// ALXcommercialCollege
//
// Created by macbook pro on 16/7/20.
// Copyright © 2016年 zzw. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ALXDatabase : NSObject
@end
| 15.357143 | 47 | 0.697674 |
501f01a185fa9476528737a802fbf324922d423b | 1,975 | asm | Assembly | programs/oeis/184/A184035.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/184/A184035.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/184/A184035.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A184035: 1/16 the number of (n+1) X 6 0..3 arrays with all 2 X 2 subblocks having the same four values.
; 169,181,202,244,322,478,778,1378,2554,4906,9562,18874,37402,74458,148378,296218,591514,1182106,2362522,4723354,9443482,18883738,37761178,75516058,151019674,302026906,604029082,1208033434,2416017562,4831985818,966... | 116.176471 | 1,741 | 0.900759 |
6403f04334afcb60707f8631b39ad76e21945551 | 273 | rs | Rust | lalr/src/error.rs | Dophin2009/isc | 7f8481f3e6599b0db57472624733464c7286d672 | [
"MIT"
] | 1 | 2021-01-16T19:31:42.000Z | 2021-01-16T19:31:42.000Z | lalr/src/error.rs | Dophin2009/isc | 7f8481f3e6599b0db57472624733464c7286d672 | [
"MIT"
] | null | null | null | lalr/src/error.rs | Dophin2009/isc | 7f8481f3e6599b0db57472624733464c7286d672 | [
"MIT"
] | null | null | null | #[derive(Debug, Clone, thiserror::Error)]
pub enum Error {
#[error("starting nonterminal has no productions")]
NoStartRule,
#[error("nonterminal in right-hand side does not exist")]
InvalidNonterminal,
}
pub type Result<T> = std::result::Result<T, Error>;
| 27.3 | 61 | 0.692308 |
b88f52c8e129571d8d88b52881df7b53519662ac | 413 | html | HTML | src/_includes/header.html | thexdesk/dds.mil | f2116e74d326c48b753d091bed613b5be87296e7 | [
"MIT"
] | null | null | null | src/_includes/header.html | thexdesk/dds.mil | f2116e74d326c48b753d091bed613b5be87296e7 | [
"MIT"
] | null | null | null | src/_includes/header.html | thexdesk/dds.mil | f2116e74d326c48b753d091bed613b5be87296e7 | [
"MIT"
] | 1 | 2020-01-08T16:06:47.000Z | 2020-01-08T16:06:47.000Z | <header id="fixed-header" class="dds-site-header">
<div class="usa-disclaimer-small">
<div class="usa-disclaimer-member">
</div>
</div>
<div class="dds-navbar">
<div class="dds-logo">
<a href="/">
<img alt="The logo of the Defense Digital Service" src="/assets/img/layout/logo-desktop-fu... | 25.8125 | 108 | 0.595642 |
3e4204831b7a1aec4a754ea3548bdbc1b227a478 | 6,209 | h | C | include/linux/platform_data/video-msm_fb.h | CaelestisZ/IrisCore | 6f0397e43335434ee58e418c9d1528833c57aea2 | [
"MIT"
] | 1 | 2020-06-28T00:49:21.000Z | 2020-06-28T00:49:21.000Z | include/linux/platform_data/video-msm_fb.h | CaelestisZ/AetherAura | 1b30acb7e6921042722bc4aff160dc63a975abc2 | [
"MIT"
] | 1 | 2020-05-28T13:06:06.000Z | 2020-05-28T13:13:15.000Z | kernel/lge/msm8226/arch/arm/mach-msm/include/mach/msm_fb.h | Uswer/LineageOS-14.1_jag3gds | 6fe76987fad4fca7b3c08743b067d5e79892e77f | [
"Apache-2.0"
] | 4 | 2020-05-26T12:40:11.000Z | 2021-07-15T06:46:33.000Z | /* arch/arm/mach-msm/include/mach/msm_fb.h
*
* Internal shared definitions for various MSM framebuffer parts.
*
* Copyright (C) 2007 Google Incorporated
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied,... | 31.201005 | 73 | 0.732646 |
5f957c09953cabb17e2d9b8709f27b134cd84e2d | 2,421 | css | CSS | public/css/style.css | adamstaveley/cruddy-todo | c5ec719a7e285394a7d634982346c929a97ffa77 | [
"MIT"
] | null | null | null | public/css/style.css | adamstaveley/cruddy-todo | c5ec719a7e285394a7d634982346c929a97ffa77 | [
"MIT"
] | null | null | null | public/css/style.css | adamstaveley/cruddy-todo | c5ec719a7e285394a7d634982346c929a97ffa77 | [
"MIT"
] | null | null | null | body {
background-color: #26262d; }
.todo-container {
margin: 0 auto;
padding: 20px;
height: 100vh;
width: 800px;
background-color: #26262d; }
@media (max-width: 800px) {
.todo-container {
width: 100vw; } }
@media (max-width: 500px) {
.todo-container {
padding: 10px; } }
.todo-con... | 26.032258 | 69 | 0.58323 |
f5cf221f14fa0f8bbd64144ae597ca0c3efb7b5d | 78 | sql | SQL | binding/owlapi/src/test/resources/iri-decomposition/iri-decomposition.sql | JervenBolleman/ontop | a38627e0f484730587eee45d27848e7911138d54 | [
"Apache-2.0"
] | null | null | null | binding/owlapi/src/test/resources/iri-decomposition/iri-decomposition.sql | JervenBolleman/ontop | a38627e0f484730587eee45d27848e7911138d54 | [
"Apache-2.0"
] | 1 | 2022-02-11T19:37:51.000Z | 2022-02-11T19:37:51.000Z | binding/owlapi/src/test/resources/iri-decomposition/iri-decomposition.sql | JervenBolleman/ontop | a38627e0f484730587eee45d27848e7911138d54 | [
"Apache-2.0"
] | 1 | 2022-01-27T10:09:43.000Z | 2022-01-27T10:09:43.000Z | create table person (
nr integer
);
create table review (
nr integer
); | 11.142857 | 21 | 0.666667 |
f06ae02416b8f8f9bb909dbd1c4d484476e5b8f7 | 4,498 | py | Python | examples/pykey60/code-1.py | lesley-byte/pykey | ce21b5b6c0da938bf24891e5acb196d6779c433a | [
"MIT"
] | null | null | null | examples/pykey60/code-1.py | lesley-byte/pykey | ce21b5b6c0da938bf24891e5acb196d6779c433a | [
"MIT"
] | null | null | null | examples/pykey60/code-1.py | lesley-byte/pykey | ce21b5b6c0da938bf24891e5acb196d6779c433a | [
"MIT"
] | null | null | null | #pylint: disable = line-too-long
import os
import time
import board
import neopixel
import keypad
import usb_hid
import pwmio
import rainbowio
from adafruit_hid.keyboard import Keyboard
from pykey.keycode import KB_Keycode as KC
from adafruit_hid.keyboard_layout_us import KeyboardLayoutUS
# Hardware definition: GPIO... | 28.289308 | 106 | 0.631392 |
b8495de8799d806a34a07d96c003a49ec34f2278 | 903 | rs | Rust | src/rust/engine/client/src/pantsd_tests.rs | yoav-orca/pants | 995448e9add343975844c7a43d5d64618fc4e4d9 | [
"Apache-2.0"
] | 1,806 | 2015-01-05T07:31:00.000Z | 2022-03-31T11:35:41.000Z | src/rust/engine/client/src/pantsd_tests.rs | yoav-orca/pants | 995448e9add343975844c7a43d5d64618fc4e4d9 | [
"Apache-2.0"
] | 9,565 | 2015-01-02T19:01:59.000Z | 2022-03-31T23:25:16.000Z | src/rust/engine/client/src/pantsd_tests.rs | ryanking/pants | e45b00d2eb467b599966bca262405a5d74d27bdd | [
"Apache-2.0"
] | 443 | 2015-01-06T20:17:57.000Z | 2022-03-31T05:28:17.000Z | // Copyright 2021 Pants project contributors (see CONTRIBUTORS.md).
// Licensed under the Apache License, Version 2.0 (see LICENSE).
use std::net::TcpStream;
use crate::pantsd;
use crate::pantsd_testing::launch_pantsd;
fn assert_connect(port: u16) {
assert!(
port >= 1024,
"Pantsd should never be running on... | 25.8 | 79 | 0.708749 |
39e22a08ea893b123c61730e49177bac7c91e8cb | 318 | asm | Assembly | sort.asm | creativcoder/asm8085 | 94eee431aec7e49df6ea8df01cc4c5a370e86df7 | [
"MIT"
] | null | null | null | sort.asm | creativcoder/asm8085 | 94eee431aec7e49df6ea8df01cc4c5a370e86df7 | [
"MIT"
] | null | null | null | sort.asm | creativcoder/asm8085 | 94eee431aec7e49df6ea8df01cc4c5a370e86df7 | [
"MIT"
] | null | null | null | ;Rahul Sharma
;In place sorting of an array of numbers in memory
jmp start
;data
;code
start: lxi h,0000h ;stores array length
mov b,m
dcr b
oloop: mov c,b
lxi h,0001h ; top most data of array
iloop: mov a,m
inx h
cmp m
jz skip
jc skip
mov e,m
mov m,a
dcx h
mov m,e
inx h
skip: dcr c
jnz iloop
dcr b
jnz oloop
hlt
| 10.6 | 50 | 0.716981 |
d5b1085155917a0fe0918af1f225067eeaa85a1c | 4,087 | swift | Swift | MetovaTestKitTests/AsynchronousTestingTests/AsyncTestingTests.swift | bobbyrehm/MetovaTestKit | a0286ae32c179df74da52f6d0dd3429e3f49bf8b | [
"MIT"
] | 26 | 2016-05-08T01:39:14.000Z | 2021-08-29T06:45:08.000Z | MetovaTestKitTests/AsynchronousTestingTests/AsyncTestingTests.swift | bobbyrehm/MetovaTestKit | a0286ae32c179df74da52f6d0dd3429e3f49bf8b | [
"MIT"
] | 31 | 2016-05-08T02:47:26.000Z | 2018-11-29T22:30:48.000Z | MetovaTestKitTests/AsynchronousTestingTests/AsyncTestingTests.swift | bobbyrehm/MetovaTestKit | a0286ae32c179df74da52f6d0dd3429e3f49bf8b | [
"MIT"
] | 3 | 2016-08-09T14:14:39.000Z | 2019-10-15T13:46:08.000Z | //
// AsyncTestingTests.swift
// MetovaTestKit
//
// Created by Logan Gauthier on 5/5/17.
// Copyright © 2017 Metova. All rights reserved.
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software... | 38.556604 | 267 | 0.658429 |
0f537d1b0b72d63004db9e3a39f471d215394335 | 2,831 | sql | SQL | model/SELECT_t___FROM_spoilers_spoilers_t.sql | patm1987/spoilerroulette | 70bb8214dcc7fc2a6e077373d4198d4bef27e3c6 | [
"MIT"
] | null | null | null | model/SELECT_t___FROM_spoilers_spoilers_t.sql | patm1987/spoilerroulette | 70bb8214dcc7fc2a6e077373d4198d4bef27e3c6 | [
"MIT"
] | null | null | null | model/SELECT_t___FROM_spoilers_spoilers_t.sql | patm1987/spoilerroulette | 70bb8214dcc7fc2a6e077373d4198d4bef27e3c6 | [
"MIT"
] | null | null | null | INSERT INTO spoilers.spoilers (title, body, factual) VALUES ('Jar Jar''s Past', 'Jar Jar was one of the original Knights of Ren, establishing not just a pair but a high council of Siths.', 0);
INSERT INTO spoilers.spoilers (title, body, factual) VALUES ('It''s a Trap', 'Admiral Ackbar dies after escaping the First Orde... | 202.214286 | 283 | 0.750971 |
dda0c9f1e2978ccf35dc275eb5383741c0e138e8 | 476 | go | Go | io.go | nutterthanos/splash | cbcacdbd589500c3f5b87c87bcb8e1b44fdffc56 | [
"MIT"
] | 7 | 2020-08-27T21:40:21.000Z | 2021-11-21T06:58:30.000Z | io.go | nutterthanos/splash | cbcacdbd589500c3f5b87c87bcb8e1b44fdffc56 | [
"MIT"
] | 7 | 2020-09-03T09:32:08.000Z | 2022-03-13T06:10:53.000Z | io.go | nutterthanos/splash | cbcacdbd589500c3f5b87c87bcb8e1b44fdffc56 | [
"MIT"
] | 5 | 2020-11-10T02:56:20.000Z | 2021-05-05T00:22:18.000Z | package main
import (
"bytes"
"io"
)
type ReadSeekCloser interface {
io.Reader
io.Seeker
io.Closer
}
type ByteCloser struct {
r *bytes.Reader
}
func (bc ByteCloser) Read(p []byte) (int, error) {
return bc.r.Read(p)
}
func (bc ByteCloser) Seek(offset int64, whence int) (int64, error) {
return bc.r.Seek(offs... | 14.424242 | 68 | 0.69958 |
1fa927409a1886a387721b1f7a7514a801a5a539 | 939 | html | HTML | src/app/components/registration-form/registration-form.component.html | AlexArendsen/nulist-app-angular | 94bd28cba6075abb0296fc96c7e0299fdefb6aa2 | [
"MIT"
] | null | null | null | src/app/components/registration-form/registration-form.component.html | AlexArendsen/nulist-app-angular | 94bd28cba6075abb0296fc96c7e0299fdefb6aa2 | [
"MIT"
] | null | null | null | src/app/components/registration-form/registration-form.component.html | AlexArendsen/nulist-app-angular | 94bd28cba6075abb0296fc96c7e0299fdefb6aa2 | [
"MIT"
] | null | null | null | <form action="javascript:void(0)">
<div class="form-group">
<label for="username-field">Username</label>
<input type="text"
id="username-field"
name="username"
class="form-control"
[(ngModel)]="username"
placeholder="Username" />
</div>
<div class="form-group">
<label f... | 23.475 | 64 | 0.607029 |
f015bf5e2e71b04cd941a3ba7f14c687b44c2b00 | 263 | py | Python | apps/transactions/__init__.py | lsdlab/djshop_toturial | 6d450225cc05e6a1ecd161de2b522e1af0b68cc0 | [
"MIT"
] | null | null | null | apps/transactions/__init__.py | lsdlab/djshop_toturial | 6d450225cc05e6a1ecd161de2b522e1af0b68cc0 | [
"MIT"
] | 6 | 2020-06-07T15:18:58.000Z | 2021-09-22T19:07:33.000Z | apps/transactions/__init__.py | lsdlab/djshop_toturial | 6d450225cc05e6a1ecd161de2b522e1af0b68cc0 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class TransactionsConfig(AppConfig):
name = 'apps.transactions'
verbose_name = "Transactions"
def ready(self):
import apps.transactions.signals
default_app_config = 'apps.transactions.TransactionsConfig'
| 20.230769 | 59 | 0.752852 |
be7a64f77320fd681c829169bf63f1da8ca71b48 | 5,042 | rs | Rust | src/helpers.rs | fewensa/microkv | 89d983721e588dfad1460dcdf1c48c97c1ef7a14 | [
"MIT"
] | null | null | null | src/helpers.rs | fewensa/microkv | 89d983721e588dfad1460dcdf1c48c97c1ef7a14 | [
"MIT"
] | null | null | null | src/helpers.rs | fewensa/microkv | 89d983721e588dfad1460dcdf1c48c97c1ef7a14 | [
"MIT"
] | null | null | null | use std::fs::{File, OpenOptions};
use std::io::{Read, Write};
use std::path::{Path, PathBuf};
use secstr::{SecStr, SecVec};
use serde::de::DeserializeOwned;
use serde::Serialize;
use sodiumoxide::crypto::secretbox::Nonce;
use sodiumoxide::crypto::secretbox::{self, Key};
use crate::errors::{ErrorType, KVError, Result}... | 31.5125 | 97 | 0.592622 |
70bf08d17ee5ecd10f37d4b4449a922a11003387 | 2,522 | swift | Swift | Pods/AWCorePlatformHelpers/AWCorePlatformHelpers/UIColor+Format.swift | bhargavat/AW-iOS-Pods | 8ee6ebd2d273e6166031970f2884d8087c535832 | [
"Apache-2.0"
] | null | null | null | Pods/AWCorePlatformHelpers/AWCorePlatformHelpers/UIColor+Format.swift | bhargavat/AW-iOS-Pods | 8ee6ebd2d273e6166031970f2884d8087c535832 | [
"Apache-2.0"
] | null | null | null | Pods/AWCorePlatformHelpers/AWCorePlatformHelpers/UIColor+Format.swift | bhargavat/AW-iOS-Pods | 8ee6ebd2d273e6166031970f2884d8087c535832 | [
"Apache-2.0"
] | null | null | null | //
// UIColor+Format.swift
// AWCorePlatformHelpers
//
// Copyright © 2016 VMware, Inc. All rights reserved. This product is protected
// by copyright and intellectual property laws in the United States and other
// countries as well as by international treaties. VMware products are covered
// by one or more pate... | 38.212121 | 111 | 0.615781 |
d4dc2fd877b67683141c81f7787ff0a613b6239e | 128 | rs | Rust | src/test/ui/impl-trait/issues/issue-70971.rs | mbc-git/rust | 2c7bc5e33c25e29058cbafefe680da8d5e9220e9 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 66,762 | 2015-01-01T08:32:03.000Z | 2022-03-31T23:26:40.000Z | src/test/ui/impl-trait/issues/issue-70971.rs | Seanpm2001-Mozilla/rust | 2885c474823637ae69c5967327327a337aebedb2 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 76,993 | 2015-01-01T00:06:33.000Z | 2022-03-31T23:59:15.000Z | src/test/ui/impl-trait/issues/issue-70971.rs | Seanpm2001-Mozilla/rust | 2885c474823637ae69c5967327327a337aebedb2 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 11,787 | 2015-01-01T00:01:19.000Z | 2022-03-31T19:03:42.000Z | fn main() {
let x : (impl Copy,) = (true,);
//~^ `impl Trait` not allowed outside of function and method return types
}
| 25.6 | 77 | 0.609375 |
9c61fdf2a3066087d39b9732047a8c5f2d578a08 | 880 | js | JavaScript | src/components/PostsPage/PostsPage.js | JulianMayorga/FullStackBlog | 0989555e070168af7f4ff6094a2e1a1a45474172 | [
"MIT"
] | null | null | null | src/components/PostsPage/PostsPage.js | JulianMayorga/FullStackBlog | 0989555e070168af7f4ff6094a2e1a1a45474172 | [
"MIT"
] | null | null | null | src/components/PostsPage/PostsPage.js | JulianMayorga/FullStackBlog | 0989555e070168af7f4ff6094a2e1a1a45474172 | [
"MIT"
] | null | null | null | import React from 'react';
import { RouteTransition, presets } from 'react-router-transition';
import PostItem from '../PostItem';
import NewPostButton from '../NewPostButton';
import { post as postPropType } from '../propTypes';
export default class PostsPage extends React.Component {
static propTypes = {
loca... | 26.666667 | 82 | 0.653409 |
7ea168bbafb02ad70f1848084a4f33004bcf9a87 | 3,248 | kt | Kotlin | http4k-format/kotlinx-serialization/src/main/kotlin/org/http4k/format/ConfigurableKotlinxSerialization.kt | NersesAM/http4k | 20385465c05b1497b92672e396264988594a295e | [
"Apache-2.0"
] | null | null | null | http4k-format/kotlinx-serialization/src/main/kotlin/org/http4k/format/ConfigurableKotlinxSerialization.kt | NersesAM/http4k | 20385465c05b1497b92672e396264988594a295e | [
"Apache-2.0"
] | null | null | null | http4k-format/kotlinx-serialization/src/main/kotlin/org/http4k/format/ConfigurableKotlinxSerialization.kt | NersesAM/http4k | 20385465c05b1497b92672e396264988594a295e | [
"Apache-2.0"
] | null | null | null | package org.http4k.format
import kotlinx.serialization.json.JsonArray
import kotlinx.serialization.json.JsonBuilder
import kotlinx.serialization.json.JsonElement
import kotlinx.serialization.json.JsonNull
import kotlinx.serialization.json.JsonObject
import kotlinx.serialization.json.JsonPrimitive
import kotlinx.serial... | 36.909091 | 109 | 0.723214 |
0bae145441b5ce60726127f98ed4e7c41acfe8d3 | 490 | js | JavaScript | 014.route.js | qingbing/learn-nodejs | 9e1ee492a8586307d271f59042953841624cca4f | [
"MIT"
] | null | null | null | 014.route.js | qingbing/learn-nodejs | 9e1ee492a8586307d271f59042953841624cca4f | [
"MIT"
] | null | null | null | 014.route.js | qingbing/learn-nodejs | 9e1ee492a8586307d271f59042953841624cca4f | [
"MIT"
] | null | null | null | var http = require('http');
var router = require('./014.route.router');
var handlers = require('./014.handler');
var handlers = {
'/favicon.ico': handlers.favicon,
'/': handlers.home,
'/home': handlers.home,
'/text': handlers.text,
'/api': handlers.api
};
// 响应返回html
var server = http.createServe... | 23.333333 | 61 | 0.653061 |
116f211ce763675b40dd9f96a472e0324c6e8ed7 | 2,591 | rs | Rust | marked/src/logger.rs | joshstoik1/marked | 1010a62cfd57e8ecd0ce505f57a3a4e744b1cba1 | [
"Apache-2.0",
"MIT"
] | 6 | 2020-03-15T19:53:41.000Z | 2022-03-24T08:41:26.000Z | marked/src/logger.rs | joshstoik1/marked | 1010a62cfd57e8ecd0ce505f57a3a4e744b1cba1 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-03-17T04:26:57.000Z | 2020-03-26T14:48:28.000Z | marked/src/logger.rs | joshstoik1/marked | 1010a62cfd57e8ecd0ce505f57a3a4e744b1cba1 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-31T17:47:00.000Z | 2022-03-31T17:47:00.000Z | //! A very simple Log output implementation for testing and any CLIs.
use std::error::Error as StdError;
use std::io::Write;
#[cfg(test)]
use std::sync::Once;
/// Conveniently compact type alias for dyn Trait `std::error::Error`.
type Flaw = Box<dyn StdError + Send + Sync + 'static>;
struct Monolog {
other: log... | 25.15534 | 73 | 0.533385 |
9a24383b74ddd944f517010aa30ef2277854a40e | 407 | css | CSS | css/style.css | bamsi/MicroverseHajiRoberto | e0d589595f8f9e31bcbd36cba47ad90f3c8f45c9 | [
"MIT"
] | null | null | null | css/style.css | bamsi/MicroverseHajiRoberto | e0d589595f8f9e31bcbd36cba47ad90f3c8f45c9 | [
"MIT"
] | null | null | null | css/style.css | bamsi/MicroverseHajiRoberto | e0d589595f8f9e31bcbd36cba47ad90f3c8f45c9 | [
"MIT"
] | null | null | null | #image {
display: block;
max-width: 100%;
height: auto;
margin: 0 auto;
}
#main {
margin-left: 4rem;
margin-right: 4rem;
}
#title {
text-align: center;
font-weight: bold;
font-size: 20px;
}
#img-caption {
text-align: center;
font-size: 12px;
}
#tribute-info {
font-size: 14px;
... | 11.970588 | 23 | 0.565111 |
58150c1d8eeb469541fe11f31383cb8e76a34584 | 1,942 | h | C | uwpapp/mupdfuwplib/mupdfwinrt_app/PrintPage.h | softkannan/komicreader | c61e922a7fd590718fc250ce411edccdc7fb4547 | [
"MIT"
] | 1 | 2020-09-18T06:02:53.000Z | 2020-09-18T06:02:53.000Z | uwpapp/mupdfuwplib/mupdfwinrt_app/PrintPage.h | softkannan/komicreader | c61e922a7fd590718fc250ce411edccdc7fb4547 | [
"MIT"
] | null | null | null | uwpapp/mupdfuwplib/mupdfwinrt_app/PrintPage.h | softkannan/komicreader | c61e922a7fd590718fc250ce411edccdc7fb4547 | [
"MIT"
] | null | null | null | #pragma once
#include <wrl\implements.h>
#include <d2d1.h>
#include <windows.graphics.printing.h>
#include <printpreview.h>
#include <documentsource.h>
#include "MainPage.xaml.h"
using namespace Microsoft::WRL;
using namespace mupdf_cpp;
/* This is the interface to the print thread calls */
class PrintPages : public ... | 32.366667 | 125 | 0.762616 |
7d750637ac849d60ac00034848664c63f5bebc27 | 37,288 | html | HTML | tools/pmd-bin-5.1.1/docs/xref/net/sourceforge/pmd/lang/java/rule/unnecessary/UselessOverridingMethodRule.html | ewiger/MetricsCarpet | b0b22f44f4b6e61e78362390983a3e1bb179ee13 | [
"MIT"
] | 1 | 2019-01-13T13:04:45.000Z | 2019-01-13T13:04:45.000Z | tools/pmd-bin-5.1.1/docs/xref/net/sourceforge/pmd/lang/java/rule/unnecessary/UselessOverridingMethodRule.html | MetricsCarpet/MetricsCarpet | b0b22f44f4b6e61e78362390983a3e1bb179ee13 | [
"MIT"
] | null | null | null | tools/pmd-bin-5.1.1/docs/xref/net/sourceforge/pmd/lang/java/rule/unnecessary/UselessOverridingMethodRule.html | MetricsCarpet/MetricsCarpet | b0b22f44f4b6e61e78362390983a3e1bb179ee13 | [
"MIT"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>UselessOverridingMethodRule xref</title>
<link... | 136.586081 | 490 | 0.666568 |
7b10d2ef4834d3dfb82caaae629961993b2d2920 | 366 | rb | Ruby | lib/roxanne/consumers.rb | servebox/roxanne | 6bf046d776d107261324bac9b514219ac0eac711 | [
"MIT"
] | 1 | 2015-06-15T13:50:55.000Z | 2015-06-15T13:50:55.000Z | lib/roxanne/consumers.rb | servebox/roxanne | 6bf046d776d107261324bac9b514219ac0eac711 | [
"MIT"
] | null | null | null | lib/roxanne/consumers.rb | servebox/roxanne | 6bf046d776d107261324bac9b514219ac0eac711 | [
"MIT"
] | null | null | null | module Roxanne
module Consumers
module Priority
def prioritize(current_status, former_status)
[:red, :orange].each do |status|
return status if status == former_status
end
current_status
end
end
end
end
require 'roxanne/jenkins/consumer'
require 'roxanne/test... | 18.3 | 51 | 0.677596 |
b56b66d1a2c59f68a775b3fc1ff2be71e31a597b | 1,320 | sql | SQL | sl-play/conf/evolutions/default/1.sql | serious-lunch/serious-lunch-services | 0eff3544ae19de7450a9b01b64f8888bc7dd7a40 | [
"MIT"
] | null | null | null | sl-play/conf/evolutions/default/1.sql | serious-lunch/serious-lunch-services | 0eff3544ae19de7450a9b01b64f8888bc7dd7a40 | [
"MIT"
] | null | null | null | sl-play/conf/evolutions/default/1.sql | serious-lunch/serious-lunch-services | 0eff3544ae19de7450a9b01b64f8888bc7dd7a40 | [
"MIT"
] | null | null | null | -- insert development data
-- !Ups
INSERT INTO `accounts` (`account_id`, `account_name`, `email_address`, `password_digest`, `created_at`, `updated_at`) VALUES
(1, 'foo', 'foo@example.com', '$2a$10$W/ddZ.N7db0O8xdljE70F.hhWcxainSDTGbDCV/bJuxv.ku.Mz6nq', '2019-05-26 03:40:57', '2019-05-26 03:40:57'),
(2, 'bar', 'bar@e... | 47.142857 | 140 | 0.683333 |
a580a9753bf9f23df4503d17bec1b3594d93f52d | 1,099 | kt | Kotlin | app/src/main/java/br/com/suellencolangelo/todolist/view/categoryList/CategoryListFragment.kt | SuellenAc/TodoList | a15f53eceeee197bb7cc3da245b927604e6ccce5 | [
"Apache-2.0"
] | 1 | 2021-06-08T07:08:37.000Z | 2021-06-08T07:08:37.000Z | app/src/main/java/br/com/suellencolangelo/todolist/view/categoryList/CategoryListFragment.kt | SuellenAc/TodoList | a15f53eceeee197bb7cc3da245b927604e6ccce5 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/br/com/suellencolangelo/todolist/view/categoryList/CategoryListFragment.kt | SuellenAc/TodoList | a15f53eceeee197bb7cc3da245b927604e6ccce5 | [
"Apache-2.0"
] | null | null | null | package br.com.suellencolangelo.todolist.view.categoryList
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import br.com.suellencolangelo.todolist.databinding.CategoryListFragmentBinding
import br.com.suellencolang... | 30.527778 | 80 | 0.722475 |
cb6bf0ac03e5283424df3784c1603e75f04951d1 | 4,722 | go | Go | netapp/net-ipspace_test.go | britcey/go-netapp | 3c5b98f52cf4d21d5209cd3b78a3f151f02f0c8e | [
"MIT"
] | 16 | 2017-10-04T01:39:57.000Z | 2021-11-14T20:04:28.000Z | netapp/net-ipspace_test.go | britcey/go-netapp | 3c5b98f52cf4d21d5209cd3b78a3f151f02f0c8e | [
"MIT"
] | 38 | 2017-10-30T19:48:18.000Z | 2021-10-04T23:40:25.000Z | netapp/net-ipspace_test.go | britcey/go-netapp | 3c5b98f52cf4d21d5209cd3b78a3f151f02f0c8e | [
"MIT"
] | 26 | 2017-11-01T00:22:45.000Z | 2022-02-05T14:43:59.000Z | package netapp_test
import (
"reflect"
"testing"
"github.com/pepabo/go-netapp/netapp"
)
func TestNet_IPSpaceCreateSuccess(t *testing.T) {
c, teardown := createTestClientWithFixtures(t)
defer teardown()
call, _, err := c.Net.CreateIPSpace("test-ip-space", true)
checkResponseSuccess(&call.Results.SingleResultB... | 28.969325 | 170 | 0.703092 |
9bd1054fd2c63bfeb222b33077a8fb57d25c5357 | 10,593 | js | JavaScript | src/gchart.js | metaphacts/YASGUI.YASR | 962a611205ae6d3e6e3a9651fe639df832092445 | [
"MIT"
] | null | null | null | src/gchart.js | metaphacts/YASGUI.YASR | 962a611205ae6d3e6e3a9651fe639df832092445 | [
"MIT"
] | null | null | null | src/gchart.js | metaphacts/YASGUI.YASR | 962a611205ae6d3e6e3a9651fe639df832092445 | [
"MIT"
] | 1 | 2020-04-07T15:01:14.000Z | 2020-04-07T15:01:14.000Z | "use strict";
/**
* todo: chart height as option
*
*/
var $ = require("jquery"), utils = require("./utils.js"), yUtils = require("yasgui-utils");
var root = module.exports = function(yasr) {
var options = $.extend(true, {}, root.defaults);
var id = yasr.container.closest("[id]").attr("id");
var chartWrapper ... | 32.003021 | 117 | 0.537619 |
5f1bf3cc12deb3a116fd1ca9f728a940bd2e6d1d | 1,432 | tsx | TypeScript | src/components/AuthForm/SignInForm/SignInForm.tsx | VadimKh/stay-on-the-way | 93f562a05474b10bf48966897c4cf4764c9fcc28 | [
"MIT"
] | null | null | null | src/components/AuthForm/SignInForm/SignInForm.tsx | VadimKh/stay-on-the-way | 93f562a05474b10bf48966897c4cf4764c9fcc28 | [
"MIT"
] | null | null | null | src/components/AuthForm/SignInForm/SignInForm.tsx | VadimKh/stay-on-the-way | 93f562a05474b10bf48966897c4cf4764c9fcc28 | [
"MIT"
] | null | null | null | import * as React from 'react';
import SignForm from '../SignForm';
import InputGroup from '../../InputGroup';
import CheckboxGroup from '../../CheckboxGroup';
export default function SignInForm(props: ISignInFormProps) {
return (
<SignForm
title="Sign In"
mainColor="info"
mainButtonContent={'S... | 26.036364 | 70 | 0.662709 |
689624a92755295257a2cd6ed5803e3a347ac558 | 998 | lua | Lua | src/app/controllers/MessageController.lua | a406761488/111 | 646f6dd3495c548c51ae72d54b4f5b949c3b5c90 | [
"Zlib"
] | null | null | null | src/app/controllers/MessageController.lua | a406761488/111 | 646f6dd3495c548c51ae72d54b4f5b949c3b5c90 | [
"Zlib"
] | null | null | null | src/app/controllers/MessageController.lua | a406761488/111 | 646f6dd3495c548c51ae72d54b4f5b949c3b5c90 | [
"Zlib"
] | null | null | null | local class = require('middleclass')
local Controller = require('mvc.Controller')
local HasSignals = require('HasSignals')
local MessageController = class("MessageController", Controller):include(HasSignals)
function MessageController:initialize()
Controller.initialize(self)
HasSignals.initialize(self)
end... | 24.341463 | 85 | 0.725451 |
0698e2c5537ade652b75252bd4bbe52b4c2ac826 | 2,114 | kt | Kotlin | app/src/main/java/com/moneytree/app/common/NSViewModel.kt | Dishantraiyani/moneytree | 093356b039ebef395523a496a45b93a11cc74009 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/moneytree/app/common/NSViewModel.kt | Dishantraiyani/moneytree | 093356b039ebef395523a496a45b93a11cc74009 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/moneytree/app/common/NSViewModel.kt | Dishantraiyani/moneytree | 093356b039ebef395523a496a45b93a11cc74009 | [
"Apache-2.0"
] | null | null | null | package com.moneytree.app.common
import android.app.Application
import android.content.Intent
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.MutableLiveData
import com.moneytree.app.ui.login.NSLoginActivity
/**
* The base class for all view models which holds methods and members common to all v... | 37.087719 | 194 | 0.715705 |
366767ef2a5be8d85526e6309416e9b4da4db81f | 102 | rs | Rust | extern_function_example/src/main.rs | getong/rust_example | 19084811a912119f01a84f0091c716fcc3edf643 | [
"Apache-2.0"
] | null | null | null | extern_function_example/src/main.rs | getong/rust_example | 19084811a912119f01a84f0091c716fcc3edf643 | [
"Apache-2.0"
] | null | null | null | extern_function_example/src/main.rs | getong/rust_example | 19084811a912119f01a84f0091c716fcc3edf643 | [
"Apache-2.0"
] | null | null | null | extern "C" {
fn console_log(a: i32);
}
fn main() {
unsafe {
console_log(42);
}
}
| 10.2 | 27 | 0.480392 |
aeb26fd55f5f3fced4c156c1dc9c896f70f03365 | 2,459 | rs | Rust | leetcode/src/tree/leetcode617.rs | SmiteWindows/leetcode | 010d7e714c5a960dbb23a07f4aba85bba3450aad | [
"MIT"
] | 1 | 2021-05-13T16:15:20.000Z | 2021-05-13T16:15:20.000Z | leetcode/src/tree/leetcode617.rs | SmiteWindows/leetcode | 010d7e714c5a960dbb23a07f4aba85bba3450aad | [
"MIT"
] | null | null | null | leetcode/src/tree/leetcode617.rs | SmiteWindows/leetcode | 010d7e714c5a960dbb23a07f4aba85bba3450aad | [
"MIT"
] | null | null | null | // https://leetcode-cn.com/problems/merge-two-binary-trees/
// Runtime: 4 ms
// Memory Usage: 2.1 MB
use std::{cell::RefCell, rc::Rc};
pub fn merge_trees(
t1: Option<Rc<RefCell<TreeNode>>>,
t2: Option<Rc<RefCell<TreeNode>>>,
) -> Option<Rc<RefCell<TreeNode>>> {
if t1.is_none() {
return t2;
}
... | 29.626506 | 72 | 0.533144 |
7bf593952c2a4c9d327f5ceacccc8ca2f09a2dbc | 596 | swift | Swift | MyCredit/View/EmptyListView.swift | Serasmi/swiftui-mycredit | 9e7a6a2fe5a6e52ae602cc1ff7cfe00c15bf437a | [
"MIT"
] | null | null | null | MyCredit/View/EmptyListView.swift | Serasmi/swiftui-mycredit | 9e7a6a2fe5a6e52ae602cc1ff7cfe00c15bf437a | [
"MIT"
] | null | null | null | MyCredit/View/EmptyListView.swift | Serasmi/swiftui-mycredit | 9e7a6a2fe5a6e52ae602cc1ff7cfe00c15bf437a | [
"MIT"
] | null | null | null | //
// EmptyListView.swift
// MyCredit
//
// Created by Сергей Смирнов on 16.03.2021.
//
import SwiftUI
struct EmptyListView: View {
var body: some View {
VStack(spacing: 10) {
Spacer()
Image(systemName: "icloud.slash")
.foregroundColor(Color(.systemGray))
... | 20.551724 | 52 | 0.557047 |
50f47c80d5ca0aa6be328d464202808d380855ac | 8,327 | go | Go | lib/lure/command/updateDependencies_test.go | coveooss/lure | e02ce066e0894f3454ee0a2c936ee7109842030f | [
"MIT"
] | 3 | 2019-07-25T13:36:49.000Z | 2019-10-28T14:24:43.000Z | lib/lure/command/updateDependencies_test.go | coveo/Lure | 9ce00e0de7fb81a4e32607b9fc061f1af4f274de | [
"MIT"
] | 18 | 2017-09-22T13:24:21.000Z | 2019-06-18T13:56:22.000Z | lib/lure/command/updateDependencies_test.go | coveo/Lure | 9ce00e0de7fb81a4e32607b9fc061f1af4f274de | [
"MIT"
] | 7 | 2017-09-14T14:28:59.000Z | 2019-02-06T20:02:48.000Z | package command_test
import (
"regexp"
"testing"
"github.com/coveooss/lure/lib/lure/versionManager"
"github.com/coveooss/lure/lib/lure/command"
"github.com/coveooss/lure/lib/lure/project"
managementsystem "github.com/coveooss/lure/lib/lure/repositorymanagementsystem"
)
type dummySourceControl struct {
}
func... | 30.726937 | 235 | 0.738681 |
5454faaa41b4408bd157b4f88f60bb746879f2e1 | 4,383 | kt | Kotlin | exam-db/src/main/java/io/github/adven27/concordion/extensions/exam/db/commands/check/CheckParsers.kt | 40baht/Exam | 1ba5fb794fb57aafcbb95f30add529f3d53f0fbe | [
"MIT"
] | null | null | null | exam-db/src/main/java/io/github/adven27/concordion/extensions/exam/db/commands/check/CheckParsers.kt | 40baht/Exam | 1ba5fb794fb57aafcbb95f30add529f3d53f0fbe | [
"MIT"
] | null | null | null | exam-db/src/main/java/io/github/adven27/concordion/extensions/exam/db/commands/check/CheckParsers.kt | 40baht/Exam | 1ba5fb794fb57aafcbb95f30add529f3d53f0fbe | [
"MIT"
] | null | null | null | package io.github.adven27.concordion.extensions.exam.db.commands.check
import io.github.adven27.concordion.extensions.exam.core.commands.SuitableCommandParser
import io.github.adven27.concordion.extensions.exam.core.commands.awaitConfig
import io.github.adven27.concordion.extensions.exam.core.html.DbRowParser
import i... | 46.136842 | 114 | 0.693817 |
cb04128cc7426c2a2c226dc047fb24a3ee65a92c | 274 | go | Go | spacelift/internal/structs/worker_pool.go | alexjurkiewicz/terraform-provider-spacelift | 14d57c5a6be7d7b009e181af8ada24e04b255d6c | [
"MIT"
] | null | null | null | spacelift/internal/structs/worker_pool.go | alexjurkiewicz/terraform-provider-spacelift | 14d57c5a6be7d7b009e181af8ada24e04b255d6c | [
"MIT"
] | null | null | null | spacelift/internal/structs/worker_pool.go | alexjurkiewicz/terraform-provider-spacelift | 14d57c5a6be7d7b009e181af8ada24e04b255d6c | [
"MIT"
] | null | null | null | package structs
// WorkerPool represents the WorkerPool data relevant to the provider.
type WorkerPool struct {
ID string `graphql:"id"`
Config string `graphql:"config"`
Name string `graphql:"name"`
Description *string `graphql:"description"`
}
| 27.4 | 70 | 0.693431 |
5624c87f85e1b3a04db1127a0d92c999b2c5ccda | 443 | kt | Kotlin | mvvm-hilt/src/main/java/com/example/mvvm_hilt/di/FragmentModule.kt | silladus/basiclib | 72ed8f05e9b8cb5b196806ab336e21a6031afa39 | [
"Apache-2.0"
] | null | null | null | mvvm-hilt/src/main/java/com/example/mvvm_hilt/di/FragmentModule.kt | silladus/basiclib | 72ed8f05e9b8cb5b196806ab336e21a6031afa39 | [
"Apache-2.0"
] | null | null | null | mvvm-hilt/src/main/java/com/example/mvvm_hilt/di/FragmentModule.kt | silladus/basiclib | 72ed8f05e9b8cb5b196806ab336e21a6031afa39 | [
"Apache-2.0"
] | null | null | null | package com.example.mvvm_hilt.di
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.components.FragmentComponent
/**
* Created by silladus on 2020/6/21.
* GitHub: https://github.com/silladus
* Description:
*/
@Module
@InstallIn(FragmentComponent::class)
class Fragm... | 21.095238 | 55 | 0.738149 |
3bbc8b0d05c5396c494215048597ce75d93b7457 | 1,037 | h | C | src/pow.h | MyProductsKft/VitalCoin | 492306908ee457362f2ba777cbd235d417f6d3b5 | [
"MIT"
] | null | null | null | src/pow.h | MyProductsKft/VitalCoin | 492306908ee457362f2ba777cbd235d417f6d3b5 | [
"MIT"
] | null | null | null | src/pow.h | MyProductsKft/VitalCoin | 492306908ee457362f2ba777cbd235d417f6d3b5 | [
"MIT"
] | null | null | null | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef VITALCOIN_POW_H
#define VITALCOIN_POW_H
#include "consensus/params.h"
#... | 34.566667 | 80 | 0.663452 |
e9c5a0ffd5e1f48a5bb0cf58f22717fe1cbb5e5f | 340 | rb | Ruby | app/controllers/doorkeeper_controller.rb | ErickMtz/gifts_api | f4cfbefb8ba4925e82d1c09a4ea40a4c9af7f7b5 | [
"Apache-2.0"
] | null | null | null | app/controllers/doorkeeper_controller.rb | ErickMtz/gifts_api | f4cfbefb8ba4925e82d1c09a4ea40a4c9af7f7b5 | [
"Apache-2.0"
] | null | null | null | app/controllers/doorkeeper_controller.rb | ErickMtz/gifts_api | f4cfbefb8ba4925e82d1c09a4ea40a4c9af7f7b5 | [
"Apache-2.0"
] | null | null | null | class DoorkeeperController < ActionController::API
def user
user = User.find_by(email: user_params[:email])
user&.authenticate(user_params[:password]) || head(:unauthorized)
end
private
def user_params
{}.tap do |h|
h[:email] = params.require(:email)
h[:password] = params.require(:passwor... | 24.285714 | 69 | 0.679412 |
0c7a6a41c0a3a1f235803d1783bd66e37bc01cb9 | 217 | py | Python | geoscilabs/gpr/Wiggle.py | jcapriot/geosci-labs | 044a73432b9cb1187924f7761942ab329259d875 | [
"MIT"
] | 2 | 2019-01-15T03:02:28.000Z | 2019-03-20T03:41:12.000Z | geoscilabs/gpr/Wiggle.py | jcapriot/geosci-labs | 044a73432b9cb1187924f7761942ab329259d875 | [
"MIT"
] | 1 | 2018-12-30T20:09:25.000Z | 2018-12-30T20:09:25.000Z | geoscilabs/gpr/Wiggle.py | jcapriot/geosci-labs | 044a73432b9cb1187924f7761942ab329259d875 | [
"MIT"
] | null | null | null | import numpy as np
def PrimaryWave(x, velocity, tinterp):
return tinterp + 1.0 / velocity * x
def ReflectedWave(x, velocity, tinterp):
time = np.sqrt(x ** 2 / velocity ** 2 + tinterp ** 2)
return time
| 19.727273 | 57 | 0.645161 |
ced28f1b41981e46147c54e5f9738ec736b1332c | 6,983 | kt | Kotlin | src/main/kotlin/org/lanternpowered/kt/inject/KotlinBinderImpl.kt | Cybermaxke/KotlinAdapter | 2218e169111c3153d8aab482959ce8445bdde7b7 | [
"MIT"
] | 1 | 2019-05-11T00:39:36.000Z | 2019-05-11T00:39:36.000Z | src/main/kotlin/org/lanternpowered/kt/inject/KotlinBinderImpl.kt | Cybermaxke/KotlinAdapter | 2218e169111c3153d8aab482959ce8445bdde7b7 | [
"MIT"
] | null | null | null | src/main/kotlin/org/lanternpowered/kt/inject/KotlinBinderImpl.kt | Cybermaxke/KotlinAdapter | 2218e169111c3153d8aab482959ce8445bdde7b7 | [
"MIT"
] | null | null | null | /*
* This file is part of KotlinAdapter, licensed under the MIT License (MIT).
*
* Copyright (c) LanternPowered <https://www.lanternpowered.org/>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (th... | 52.503759 | 132 | 0.768438 |
72417af1c809ea92f981f5d53f5a5ceb13ed43be | 19,960 | rs | Rust | src/types_edition.rs | PoignardAzur/venial | b490dd70226cb2b46d63849154bd06a35ee566d3 | [
"MIT"
] | 62 | 2022-03-10T10:45:40.000Z | 2022-03-28T18:44:22.000Z | src/types_edition.rs | PoignardAzur/venial | b490dd70226cb2b46d63849154bd06a35ee566d3 | [
"MIT"
] | 4 | 2022-03-11T09:24:04.000Z | 2022-03-30T15:08:21.000Z | src/types_edition.rs | PoignardAzur/venial | b490dd70226cb2b46d63849154bd06a35ee566d3 | [
"MIT"
] | 2 | 2022-03-11T14:16:19.000Z | 2022-03-18T11:16:34.000Z | pub use crate::types::{
Attribute, AttributeValue, Declaration, Enum, EnumVariant, EnumVariantValue, Function,
GenericBound, GenericParam, GenericParamList, GroupSpan, InlineGenericArgs, NamedField, Struct,
StructFields, TupleField, TyExpr, Union, VisMarker, WhereClause, WhereClauseItem,
};
use proc_macro2:... | 34.413793 | 99 | 0.528557 |
a3dc72f305515de72d1428ce475c4d5c9d326943 | 760 | asm | Assembly | oeis/185/A185369.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/185/A185369.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/185/A185369.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A185369: Number of simple labeled graphs on n nodes of degree 1 or 2 without cycles.
; Submitted by Christian Krause
; 1,0,1,3,15,90,645,5355,50505,532980,6219045,79469775,1103335695,16533226710,265888247625,4566885297975,83422361847825,1614626682669000,33003508539026025,710350201433547675,16057073233633006575,380286... | 38 | 479 | 0.805263 |
9c4772124d69013f40db629785d5755ba6a3e80c | 422 | asm | Assembly | libsrc/_DEVELOPMENT/string/c/sccz80/strrstr_callee.asm | UnivEngineer/z88dk | 9047beba62595b1d88991bc934da75c0e2030d07 | [
"ClArtistic"
] | 1 | 2022-03-08T11:55:58.000Z | 2022-03-08T11:55:58.000Z | libsrc/_DEVELOPMENT/string/c/sccz80/strrstr_callee.asm | UnivEngineer/z88dk | 9047beba62595b1d88991bc934da75c0e2030d07 | [
"ClArtistic"
] | 2 | 2022-03-20T22:17:35.000Z | 2022-03-24T16:10:00.000Z | libsrc/_DEVELOPMENT/string/c/sccz80/strrstr_callee.asm | jorgegv/z88dk | 127130cf11f9ff268ba53e308138b12d2b9be90a | [
"ClArtistic"
] | null | null | null | ; char *strrstr(const char *s, const char *w)
SECTION code_clib
SECTION code_string
PUBLIC strrstr_callee
EXTERN asm_strrstr
strrstr_callee:
IF __CPU_GBZ80__
pop bc
pop de
pop hl
push bc
call asm_strrstr
ld d,h
ld e,l
ret
ELSE
pop hl
pop de
ex (sp),hl
jp asm_strrstr
ENDIF
; SD... | 12.411765 | 45 | 0.725118 |
95c7c1ab14303df9086bb12d8b791903f3675a0d | 338 | sql | SQL | openGaussBase/testcase/SQL/DATATYPE/decimal/bigserial/Opengauss_Function_Datatype_Bigserial_Case0011.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/SQL/DATATYPE/decimal/bigserial/Opengauss_Function_Datatype_Bigserial_Case0011.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/SQL/DATATYPE/decimal/bigserial/Opengauss_Function_Datatype_Bigserial_Case0011.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint: 插入指数形式值
drop table if exists bigserial_11;
create table bigserial_11 (name bigserial);
insert into bigserial_11 values (exp(33));
insert into bigserial_11 values (exp(-15));
insert into bigserial_11 values (exp(12.34));
insert into bigserial_11 values (exp(-99.99999));
select * from bigserial_11;
drop t... | 33.8 | 49 | 0.778107 |
3b3a4999ecd6ac88ea2540589cd7ca93157f0fd1 | 1,696 | c | C | src/helpf.c | just6chill/hdir | 94fabcb109cb6c29888c93b48eb1b0d5219736e3 | [
"Apache-2.0"
] | 9 | 2021-01-01T16:18:27.000Z | 2022-03-20T09:59:00.000Z | src/helpf.c | just6chill/hdir | 94fabcb109cb6c29888c93b48eb1b0d5219736e3 | [
"Apache-2.0"
] | 2 | 2021-01-01T16:20:24.000Z | 2021-01-09T14:44:45.000Z | src/helpf.c | just6chill/hdir | 94fabcb109cb6c29888c93b48eb1b0d5219736e3 | [
"Apache-2.0"
] | 3 | 2021-01-02T16:44:49.000Z | 2021-03-10T07:23:11.000Z | #include "helpf.h"
#include "color.h"
#include <stdio.h>
#include <windows.h>
#define WHITESPACE printf("\n");
int helpf(char *args[]) {
/* start help output */
green("syntax"); printf(": '"); green("hdir "); printf("<"); green("suffix"); printf("> <"); green("parameter1"); printf("> <"); green("pa... | 44.631579 | 168 | 0.614976 |
fe28b50106f7ee4fe230e1fe94ef9f9e210bc2d0 | 1,009 | c | C | jisuanke.com/C2991/A/a.c | jyi2ya/artifacts | c227d170592d1fec94a09b20e2f1f75a46dfdf1f | [
"MIT"
] | null | null | null | jisuanke.com/C2991/A/a.c | jyi2ya/artifacts | c227d170592d1fec94a09b20e2f1f75a46dfdf1f | [
"MIT"
] | null | null | null | jisuanke.com/C2991/A/a.c | jyi2ya/artifacts | c227d170592d1fec94a09b20e2f1f75a46dfdf1f | [
"MIT"
] | null | null | null | #include <stdio.h>
long long gans;
long long cnt;
int stk1[5000009], stk2[5000009];
int tp1, tp2;
void init(void)
{
cnt = 1;
gans = 0;
tp1 = tp2 = 0;
}
void PUSH(int x)
{
stk1[tp1++] = x;
if (tp2 == 0 || x >= stk2[tp2 - 1])
stk2[tp2++] = x;
gans ^= cnt * stk2[tp2 - 1];
++cnt;
}
void POP(void)
{
if (tp1 >... | 13.103896 | 56 | 0.472745 |
cb2eedb0a54cd8132004b51e8c3cb30967e81607 | 706 | h | C | ios/LycamPlus.framework/Versions/A/Headers/LCPQiniuStream.h | lycam/LycamPlusSDK-iOS | 222d0c19a57b7ba697698567b2a1db21e0d8fa71 | [
"MIT"
] | null | null | null | ios/LycamPlus.framework/Versions/A/Headers/LCPQiniuStream.h | lycam/LycamPlusSDK-iOS | 222d0c19a57b7ba697698567b2a1db21e0d8fa71 | [
"MIT"
] | null | null | null | ios/LycamPlus.framework/Versions/A/Headers/LCPQiniuStream.h | lycam/LycamPlusSDK-iOS | 222d0c19a57b7ba697698567b2a1db21e0d8fa71 | [
"MIT"
] | null | null | null | //
// LCPQiniuStream.h
// Pods
//
// Created by no on 15/11/9.
//
//
#import "LCPStream.h"
extern const struct LCPQiniuStreamAttributes {
__unsafe_unretained NSString *bucketName;
__unsafe_unretained NSURL *uploadURLBackup;
__unsafe_unretained NSString *uploadIP;
__unsafe_unretained NSString *upload... | 26.148148 | 55 | 0.773371 |
35788a6109ecfccd5f8f6be8aa7ff6e49d9c41df | 369 | lua | Lua | graphics/hello-world/game/main.lua | TurtleP/lovepotion-examples | c95b9d7ce6c4f0b2df3a08cd8dc3c0e172b3e4f9 | [
"MIT"
] | 2 | 2019-07-10T01:52:13.000Z | 2021-08-07T20:29:47.000Z | graphics/hello-world/game/main.lua | TurtleP/lovepotion-examples | c95b9d7ce6c4f0b2df3a08cd8dc3c0e172b3e4f9 | [
"MIT"
] | null | null | null | graphics/hello-world/game/main.lua | TurtleP/lovepotion-examples | c95b9d7ce6c4f0b2df3a08cd8dc3c0e172b3e4f9 | [
"MIT"
] | 6 | 2019-05-04T17:13:45.000Z | 2022-03-24T18:46:32.000Z | function love.load()
local down, OS = "plus", {love.system.getOS()}
if OS[2] == "3DS" then
down = "start"
end
exitKey = down
end
function love.update(dt)
end
function love.draw()
love.graphics.print("Hello World!", 10, 10)
end
function love.gamepadpressed(joy, button)
if button == ex... | 16.772727 | 50 | 0.623306 |
df855aeaaa0bc2369a8b24c6e2ccad59772b8130 | 229 | ts | TypeScript | src/core/decorators/authUser.decorator.ts | yangheng15/sutdy-nest | d32be021ee4d1f1a21b9a89c1cace52129b47aa6 | [
"MIT"
] | null | null | null | src/core/decorators/authUser.decorator.ts | yangheng15/sutdy-nest | d32be021ee4d1f1a21b9a89c1cace52129b47aa6 | [
"MIT"
] | null | null | null | src/core/decorators/authUser.decorator.ts | yangheng15/sutdy-nest | d32be021ee4d1f1a21b9a89c1cace52129b47aa6 | [
"MIT"
] | null | null | null | import { createParamDecorator } from "@nestjs/common";
export const AuthUser = createParamDecorator((data, ctx) => {
const request = ctx.switchToHttp().getRequest();
const user = request.user;
return user;
})
| 20.818182 | 61 | 0.676856 |
612e7af6131a8fd8741e7eca83b8861562ae0a7a | 5,108 | css | CSS | UI/css/style.css | solomonfrank/PropertyPro-Lite | 89df7e6aa725417c61065eeefdb4483beab71dcd | [
"MIT"
] | null | null | null | UI/css/style.css | solomonfrank/PropertyPro-Lite | 89df7e6aa725417c61065eeefdb4483beab71dcd | [
"MIT"
] | 4 | 2019-08-04T17:22:10.000Z | 2021-05-07T22:56:29.000Z | UI/css/style.css | solomonfrank/PropertyPro-Lite | 89df7e6aa725417c61065eeefdb4483beab71dcd | [
"MIT"
] | null | null | null | body {
margin: 0;
padding: 0;
line-height: 1.5;
background-color: white;
overflow-x: hidden;
}
a {
text-decoration: none;
}
.container {
margin: auto;
overflow: hidden;
width: 80%;
background-color: rgba(0, 0, 0, 0.4);
width: 100vw;
min-height: 300px;
}
ul {
l... | 11.851508 | 61 | 0.542678 |
9f6ff887086cd2d1c8cdbfe0a8e02213ce8efc10 | 1,055 | sql | SQL | DB/dml/workflow.sql | sandipnahak/QuickFabric | 1010fb40235254c7a5e8d225e7d34d1abd6ec543 | [
"Apache-2.0"
] | 22 | 2020-03-10T20:55:26.000Z | 2022-02-03T04:03:09.000Z | DB/dml/workflow.sql | sandipnahak/QuickFabric | 1010fb40235254c7a5e8d225e7d34d1abd6ec543 | [
"Apache-2.0"
] | 13 | 2020-03-30T09:28:14.000Z | 2021-10-06T05:53:40.000Z | DB/dml/workflow.sql | sandipnahak/QuickFabric | 1010fb40235254c7a5e8d225e7d34d1abd6ec543 | [
"Apache-2.0"
] | 15 | 2020-03-30T09:12:22.000Z | 2022-02-24T08:05:47.000Z | INSERT INTO `workflow` (`id`, `workflow_name`, `workflow_step`, `lookup_table`)VALUES
(1,'CreateCluster','create_new_cluster','emr_cluster_metadata'),
(2,'CreateCluster','cluster_bootstraps','cluster_step_request'),
(3,'CreateCluster','cluster_custom_steps','cluster_step_request'),
(4,'CreateCluster','health_check','e... | 70.333333 | 86 | 0.797156 |
181bf2b291175a111661f1eb96203d0d5419d6a9 | 2,284 | rb | Ruby | spec/Enumerable_spec.rb | gcpmendez/prct11 | 51e323d811332daa3468bcccfdca26018bc618ec | [
"MIT"
] | null | null | null | spec/Enumerable_spec.rb | gcpmendez/prct11 | 51e323d811332daa3468bcccfdca26018bc618ec | [
"MIT"
] | null | null | null | spec/Enumerable_spec.rb | gcpmendez/prct11 | 51e323d811332daa3468bcccfdca26018bc618ec | [
"MIT"
] | null | null | null | # http://ruby-doc.org/core-2.2.3/Enumerable.html
describe Enumerable do
before :each do
@ref1=["Programming Ruby 1.9 &2.0: The Pragmatic Programmers Guide","Pragmatic Bookshelf", 4,"07/07/2013",["978-1937785499","1937785491"], ["Dave Thomas","Andy Hunt","Chad Fowler"],"The Facets of Ruby"]
@ref2=["P... | 53.116279 | 282 | 0.632224 |
9bebf9470ea2b216c78748bb6b3b873de58f46d5 | 612 | js | JavaScript | ros/third_party/fast-rtps_x86_64/share/doc/fastrtps/api_reference/classeprosima_1_1fastrtps_1_1rtps_1_1_property_policy_helper.js | numberen/apollo-platform | 8f359c8d00dd4a98f56ec2276c5663cb6c100e47 | [
"Apache-2.0"
] | 742 | 2017-07-05T02:49:36.000Z | 2022-03-30T12:55:43.000Z | ros/third_party/fast-rtps_x86_64/share/doc/fastrtps/api_reference/classeprosima_1_1fastrtps_1_1rtps_1_1_property_policy_helper.js | numberen/apollo-platform | 8f359c8d00dd4a98f56ec2276c5663cb6c100e47 | [
"Apache-2.0"
] | 73 | 2017-07-06T12:50:51.000Z | 2022-03-07T08:07:07.000Z | ros/third_party/fast-rtps_x86_64/share/doc/fastrtps/api_reference/classeprosima_1_1fastrtps_1_1rtps_1_1_property_policy_helper.js | numberen/apollo-platform | 8f359c8d00dd4a98f56ec2276c5663cb6c100e47 | [
"Apache-2.0"
] | 425 | 2017-07-04T22:03:29.000Z | 2022-03-29T06:59:06.000Z | var classeprosima_1_1fastrtps_1_1rtps_1_1_property_policy_helper =
[
[ "find_property", "classeprosima_1_1fastrtps_1_1rtps_1_1_property_policy_helper.html#a46cbf0e79fabdbef38d5887656dee204", null ],
[ "find_property", "classeprosima_1_1fastrtps_1_1rtps_1_1_property_policy_helper.html#a033ab2801f69243e4d5c014934... | 87.428571 | 146 | 0.857843 |
fde31796e5cabcb4f949b9161903051e2d6855a3 | 681 | lua | Lua | init.lua | aw/roomba-nodemcu | be12ea590241c7759a61e5b6000e738cae64f5c9 | [
"MIT"
] | 10 | 2017-07-31T08:31:46.000Z | 2021-02-23T18:29:58.000Z | init.lua | aw/roomba-nodemcu | be12ea590241c7759a61e5b6000e738cae64f5c9 | [
"MIT"
] | null | null | null | init.lua | aw/roomba-nodemcu | be12ea590241c7759a61e5b6000e738cae64f5c9 | [
"MIT"
] | 1 | 2017-10-22T14:10:36.000Z | 2017-10-22T14:10:36.000Z | -- Roomba control library for NodeMCU / ESP8266
--
-- The MIT License (MIT)
-- Copyright (c) 2017 Alexander Williams, Unscramble <license@unscramble.jp>
-- Init
uart.alt(0)
-- timer to ensure we can kill the code if something is busted
tmr.alarm(0, 5000, tmr.ALARM_SINGLE, function()
dofile("roomba.lc")
functio... | 23.482759 | 76 | 0.718062 |
84af55739b9b5f5fb767ddb1beed085374194066 | 2,641 | h | C | MMOCoreORB/src/templates/LootGroupTemplate.h | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/src/templates/LootGroupTemplate.h | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/src/templates/LootGroupTemplate.h | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | /*
* LootGroupTemplate.h
*
* Created on: Jan 30, 2012
* Author: xyborn
*/
#ifndef LOOTGROUPTEMPLATE_H_
#define LOOTGROUPTEMPLATE_H_
#include "system/lang.h"
#include "engine/lua/LuaObject.h"
class LootGroupTemplate : public Object {
String templateName;
VectorMap<String, int> entryMap;
public:
LootGr... | 20.632813 | 71 | 0.676638 |
fed130c87cee81d42b644536e6687e694402b1e7 | 3,435 | html | HTML | com/radityalabs/Python/origin/movie/17353.html | radityagumay/BenchmarkSentimentAnalysis_2 | e509a4e749271da701ce9da1d9f16cdd78dcdf40 | [
"Apache-2.0"
] | 3 | 2017-06-08T01:17:55.000Z | 2019-06-02T10:52:36.000Z | com/radityalabs/Python/origin/movie/17353.html | radityagumay/BenchmarkSentimentAnalysis_2 | e509a4e749271da701ce9da1d9f16cdd78dcdf40 | [
"Apache-2.0"
] | null | null | null | com/radityalabs/Python/origin/movie/17353.html | radityagumay/BenchmarkSentimentAnalysis_2 | e509a4e749271da701ce9da1d9f16cdd78dcdf40 | [
"Apache-2.0"
] | null | null | null | <HTML><HEAD>
<TITLE>Review for Naked Souls (1995)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0113926">Naked Souls (1995)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Justin+Felix">Justin... | 60.263158 | 197 | 0.761572 |
46da271dad3cf99f742429b80382d2210d6c748d | 527 | css | CSS | src/components/layout/index.module.css | wilfriedbarth/wb-blog | 2419cd43d3b12817a02bd4335a8084e5db6302e4 | [
"MIT"
] | null | null | null | src/components/layout/index.module.css | wilfriedbarth/wb-blog | 2419cd43d3b12817a02bd4335a8084e5db6302e4 | [
"MIT"
] | 16 | 2020-11-06T03:50:18.000Z | 2021-08-25T04:47:04.000Z | src/components/layout/index.module.css | wilfriedbarth/wb-blog | 2419cd43d3b12817a02bd4335a8084e5db6302e4 | [
"MIT"
] | null | null | null | .container {
display: flex;
flex-direction: column;
margin: 0 auto;
min-height: 100vh;
padding: 15px;
}
/* Mobile */
@media screen and (min-width: 576px) {
.container {
width: 576px;
}
}
/* Tablet */
@media screen and (min-width: 768px) {
.container {
width: 768px;
}
}
/* Laptop */
@media s... | 12.853659 | 39 | 0.58444 |
9bacf5b5103d09ac638465c5c51d187de5b97b00 | 3,403 | js | JavaScript | server/client/src/components/Landing/Register.js | pectom/Kid-Tracker-For-Parents | d4da70547b2077087aa4594858b753810cd731ef | [
"BSD-2-Clause"
] | null | null | null | server/client/src/components/Landing/Register.js | pectom/Kid-Tracker-For-Parents | d4da70547b2077087aa4594858b753810cd731ef | [
"BSD-2-Clause"
] | null | null | null | server/client/src/components/Landing/Register.js | pectom/Kid-Tracker-For-Parents | d4da70547b2077087aa4594858b753810cd731ef | [
"BSD-2-Clause"
] | null | null | null | import React from 'react';
import RegisterField from './RegisterField';
import { connect } from 'react-redux';
import { reduxForm, Field } from 'redux-form';
import validEmail from './validEmail';
import * as actions from '../../actions';
class Register extends React.Component {
async myRegisterUser(valu... | 35.082474 | 149 | 0.481928 |
f5c0fb7dfb9aef0583644045a861670f6d8d5b38 | 203 | sql | SQL | src/main/java/com/xresch/cfw/features/api/resources/sql_getPermissionMapForTokenID.sql | xresch/CoreFramework | b41c98e79d20991f313c64f43b6a21b53acc8cf8 | [
"MIT",
"BSD-2-Clause",
"CC0-1.0",
"Apache-2.0"
] | 1 | 2020-11-20T10:10:33.000Z | 2020-11-20T10:10:33.000Z | src/main/java/com/xresch/cfw/features/api/resources/sql_getPermissionMapForTokenID.sql | xresch/CoreFramework | b41c98e79d20991f313c64f43b6a21b53acc8cf8 | [
"MIT",
"BSD-2-Clause",
"CC0-1.0",
"Apache-2.0"
] | 7 | 2020-08-26T08:14:40.000Z | 2022-02-24T18:03:45.000Z | src/main/java/com/xresch/cfw/features/api/resources/sql_getPermissionMapForTokenID.sql | xresch/CoreFramework | b41c98e79d20991f313c64f43b6a21b53acc8cf8 | [
"MIT",
"BSD-2-Clause",
"CC0-1.0",
"Apache-2.0"
] | null | null | null | SELECT P.PK_ID, P.ACTION_NAME, P.API_NAME, GP.FK_ID_TOKEN AS TOKEN_ID
FROM CFW_APITOKEN_PERMISSION P
LEFT JOIN CFW_APITOKEN_PERMISSION_MAP AS GP
ON GP.FK_ID_PERMISSION = P.PK_ID
AND GP.FK_ID_TOKEN = ?;
| 33.833333 | 69 | 0.812808 |
c3b51d2df8ab8d471770c5df8c13fe69b3109d0f | 4,872 | rs | Rust | src/lib.rs | DigitalZebra/palette-extract-rs | 1f79b8125ef61d0171ccddedd55716200c2c1763 | [
"MIT"
] | null | null | null | src/lib.rs | DigitalZebra/palette-extract-rs | 1f79b8125ef61d0171ccddedd55716200c2c1763 | [
"MIT"
] | null | null | null | src/lib.rs | DigitalZebra/palette-extract-rs | 1f79b8125ef61d0171ccddedd55716200c2c1763 | [
"MIT"
] | null | null | null | #![warn(missing_docs)]
//! A lib crate for extracting a color palette from an image represented as a `u8` slice.
//!
//! Supports `RGB` and `RGBA`.
//!
//! # Examples
//! See `examples` directory in code repo for a full set of functioning examples!
//!
//! ## Basic
//! ```
//! use palette_extract::get_palette_rgb;
/... | 28.325581 | 231 | 0.627258 |
31f7df3c45cb953b62bfa81480e47907ab025b38 | 953 | asm | Assembly | programs/oeis/017/A017115.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/017/A017115.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/017/A017115.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A017115: a(n) = (8*n + 4)^3.
; 64,1728,8000,21952,46656,85184,140608,216000,314432,438976,592704,778688,1000000,1259712,1560896,1906624,2299968,2744000,3241792,3796416,4410944,5088448,5832000,6644672,7529536,8489664,9528128,10648000,11852352,13144256,14526784,16003008,17576000,19248832,21024576,22906304,24897088,2700... | 136.142857 | 893 | 0.860441 |
f00d8a2ff37a2b007fa4edfda74f6d8657793532 | 3,684 | py | Python | piton/lib/inquirer/questions.py | piton-package-manager/PPM | 19015b76184befe1e2daa63189a13b039787868d | [
"MIT"
] | 19 | 2016-04-08T04:00:07.000Z | 2021-11-12T19:36:56.000Z | piton/lib/inquirer/questions.py | LookLikeAPro/PPM | 19015b76184befe1e2daa63189a13b039787868d | [
"MIT"
] | 9 | 2017-01-03T13:39:47.000Z | 2022-01-15T20:38:20.000Z | piton/lib/inquirer/questions.py | LookLikeAPro/PPM | 19015b76184befe1e2daa63189a13b039787868d | [
"MIT"
] | 6 | 2017-04-01T03:38:45.000Z | 2021-05-06T11:25:31.000Z | # -*- coding: utf-8 -*-
"""
Module that implements the questions types
"""
import json
from . import errors
def question_factory(kind, *args, **kwargs):
for clazz in (Text, Password, Confirm, List, Checkbox):
if clazz.kind == kind:
return clazz(*args, **kwargs)
raise errors.UnknownQuesti... | 24.236842 | 72 | 0.604777 |
650b61eb839964413b4047a7102a2ba07a9d68e0 | 1,518 | py | Python | jake/test/test_audit.py | lvcarlosja/jake | 0ecbcdd89352d27f50e35d1d73b624b86456e568 | [
"Apache-2.0"
] | null | null | null | jake/test/test_audit.py | lvcarlosja/jake | 0ecbcdd89352d27f50e35d1d73b624b86456e568 | [
"Apache-2.0"
] | 4 | 2021-07-29T18:51:06.000Z | 2021-12-13T20:50:20.000Z | jake/test/test_audit.py | lvcarlosja/jake | 0ecbcdd89352d27f50e35d1d73b624b86456e568 | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2019-Present Sonatype Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | 33 | 81 | 0.725296 |
4a40f17d330460d3c3b290eb627c7d22b14fa222 | 911 | js | JavaScript | src/reducer/chatroomModel.js | chumakovvchuma/bridge-game | 38edee8ed005ba792627c0a142ed9e7ab4acb63b | [
"MIT"
] | 1 | 2018-11-05T17:19:15.000Z | 2018-11-05T17:19:15.000Z | src/reducer/chatroomModel.js | chumakovvchuma/bridge-game | 38edee8ed005ba792627c0a142ed9e7ab4acb63b | [
"MIT"
] | 6 | 2020-07-12T02:29:57.000Z | 2020-07-12T02:29:58.000Z | src/reducer/chatroomModel.js | chumakovvchuma/bridge-game | 38edee8ed005ba792627c0a142ed9e7ab4acb63b | [
"MIT"
] | 8 | 2018-11-05T01:08:33.000Z | 2021-12-17T21:56:08.000Z | import Database from "../firebase";
import {dispatch} from "../reducer";
/*
* A chatroom class to handle the communcation with database
* @param linkId, string, a unique path name for a table, is generate from a timeStamp
* @param id, string, a unique key of a table, is generate by firebase when push a new node
*... | 23.973684 | 91 | 0.637761 |
b2e290a686a1065fd69b5d2e7d362f288caf266f | 117 | py | Python | Module01/OOP/FirstClassDef.py | fenglihanxiao/Python | 872baf3a3a5ee42740161152605ca2b1ddf4cd30 | [
"MIT"
] | null | null | null | Module01/OOP/FirstClassDef.py | fenglihanxiao/Python | 872baf3a3a5ee42740161152605ca2b1ddf4cd30 | [
"MIT"
] | null | null | null | Module01/OOP/FirstClassDef.py | fenglihanxiao/Python | 872baf3a3a5ee42740161152605ca2b1ddf4cd30 | [
"MIT"
] | null | null | null | """ First class definition"""
class Cat:
pass
class RaceCar:
pass
cat1 = Cat()
cat2 = Cat()
cat3 = Cat() | 9 | 29 | 0.589744 |
040a0f01eaa0fa8fca299c51d7662d802c5bcf55 | 1,092 | js | JavaScript | src/js/section-feedback.js | dof-dss/nicsdru-nidirect-theme | f64d449955533235e73b2d85f756eed761fad6e0 | [
"MIT"
] | 1 | 2020-11-12T09:19:44.000Z | 2020-11-12T09:19:44.000Z | src/js/section-feedback.js | dof-dss/nicsdru-nidirect-theme | f64d449955533235e73b2d85f756eed761fad6e0 | [
"MIT"
] | 41 | 2019-08-28T14:36:28.000Z | 2022-01-17T11:54:25.000Z | src/js/section-feedback.js | dof-dss/nicsdru-nidirect-theme | f64d449955533235e73b2d85f756eed761fad6e0 | [
"MIT"
] | 2 | 2019-07-26T08:20:23.000Z | 2021-08-06T14:07:16.000Z | /**
* @file
* Provides a script to handle the page feedback form section at the bottom of all pages.
*
*/
/* eslint-disable */
(function ($, Drupal) {
Drupal.behaviors.nicsdruSectionFeedback = {
attach: function attach (context) {
$('#section-feedback', context).once('nicsdruSectionFeedback').each(fun... | 29.513514 | 89 | 0.580586 |
56194e653a6410be882e918c4d0572fa56d2db57 | 446 | asm | Assembly | libsrc/stdio/nascom/fputc_cons.asm | andydansby/z88dk-mk2 | 51c15f1387293809c496f5eaf7b196f8a0e9b66b | [
"ClArtistic"
] | 1 | 2020-09-15T08:35:49.000Z | 2020-09-15T08:35:49.000Z | libsrc/stdio/nascom/fputc_cons.asm | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | null | null | null | libsrc/stdio/nascom/fputc_cons.asm | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | null | null | null | ;
; ROM Console routine for the NASCOM1/2
; By Stefano Bodrato - 19/6/2003
;
; $Id: fputc_cons.asm,v 1.1 2003/06/27 14:04:13 stefano Exp $
;
XLIB fputc_cons
LIB montest
.fputc_cons
ld hl,2
add hl,sp
ld a,(hl)
push af
call montest
jr nz,nassys
; T monitor
pop af
cp 12
jr nz,notcls
ld a,1eh
.notcls
cp 13... | 11.15 | 61 | 0.674888 |
520a0bfa2e2c02676722ad963ab2b23388fc08e3 | 370 | kt | Kotlin | DSLs/kubernetes/dsl/src/main/kotlin-gen/com/fkorotkov/kubernetes/coordination/v1/spec.kt | trietsch/k8s-kotlin-dsl | 3fff8b25f9aff8aa6076f06e5a2e99b13e3655e0 | [
"MIT"
] | 302 | 2017-03-19T21:27:57.000Z | 2022-03-31T09:51:05.000Z | DSLs/kubernetes/dsl/src/main/kotlin-gen/com/fkorotkov/kubernetes/coordination/v1/spec.kt | trietsch/k8s-kotlin-dsl | 3fff8b25f9aff8aa6076f06e5a2e99b13e3655e0 | [
"MIT"
] | 24 | 2017-08-28T17:47:00.000Z | 2022-01-07T20:20:46.000Z | DSLs/kubernetes/dsl/src/main/kotlin-gen/com/fkorotkov/kubernetes/coordination/v1/spec.kt | trietsch/k8s-kotlin-dsl | 3fff8b25f9aff8aa6076f06e5a2e99b13e3655e0 | [
"MIT"
] | 23 | 2017-03-20T00:44:49.000Z | 2022-01-04T10:46:46.000Z | // GENERATED
package com.fkorotkov.kubernetes.coordination.v1
import io.fabric8.kubernetes.api.model.coordination.v1.Lease as v1_Lease
import io.fabric8.kubernetes.api.model.coordination.v1.LeaseSpec as v1_LeaseSpec
fun v1_Lease.`spec`(block: v1_LeaseSpec.() -> Unit = {}) {
if(this.`spec` == null) {
this.`spe... | 23.125 | 80 | 0.721622 |
df0cf7fe3c5f6929b5ba6f9b340dcbd97a42a66d | 174 | kt | Kotlin | src/main/kotlin/io/github/jokoroukwu/zephyrng/http/testcycleupdate/UpdateTestCycleTestResult.kt | jokoroukwu/zephyrng | f06485240153d5c6b6da9ae60208f771698cfa40 | [
"Apache-2.0"
] | 2 | 2021-08-02T07:10:35.000Z | 2021-08-14T07:37:44.000Z | src/main/kotlin/io/github/jokoroukwu/zephyrng/http/testcycleupdate/UpdateTestCycleTestResult.kt | jokoroukwu/zephyrng | f06485240153d5c6b6da9ae60208f771698cfa40 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/io/github/jokoroukwu/zephyrng/http/testcycleupdate/UpdateTestCycleTestResult.kt | jokoroukwu/zephyrng | f06485240153d5c6b6da9ae60208f771698cfa40 | [
"Apache-2.0"
] | null | null | null | package io.github.jokoroukwu.zephyrng.http.testcycleupdate
import kotlinx.serialization.Serializable
@Serializable
class UpdateTestCycleTestResult(val testCaseId: Long) {
} | 24.857143 | 58 | 0.856322 |
547b92ccf00ad69100276753c26a67c062f86746 | 2,634 | swift | Swift | SwiftBluetooth/Classes/Operations/Write/WriteOperation.swift | CatchZeng/SwiftBluetooth | 6b5ae0032ceb8306d6712d89acddd9aee79b672e | [
"MIT"
] | 3 | 2018-02-27T08:59:02.000Z | 2018-07-18T07:21:55.000Z | SwiftBluetooth/Classes/Operations/Write/WriteOperation.swift | CatchZeng/SwiftBluetooth | 6b5ae0032ceb8306d6712d89acddd9aee79b672e | [
"MIT"
] | null | null | null | SwiftBluetooth/Classes/Operations/Write/WriteOperation.swift | CatchZeng/SwiftBluetooth | 6b5ae0032ceb8306d6712d89acddd9aee79b672e | [
"MIT"
] | null | null | null | //
// WriteOperation.swift
// SwiftBluetooth
//
// Created by CatchZeng on 2017/9/5.
// Copyright © 2017年 CatchZeng. All rights reserved.
//
import UIKit
import CoreBluetooth
open class WriteOperation: BLEOperation {
// Maximum 20 bytes in a single ble package
private static let notifyMTU = 20
privat... | 26.34 | 162 | 0.582384 |
546c3542cc1ed68e40274094ec32ef1430900dfe | 2,195 | go | Go | series/interface.go | BearerPipelineTest/lindb | c81e59d8e7a8e3cef22157cdec524ee4aa5892fa | [
"Apache-2.0"
] | 714 | 2019-06-13T02:32:32.000Z | 2019-08-02T03:12:30.000Z | series/interface.go | BearerPipelineTest/lindb | c81e59d8e7a8e3cef22157cdec524ee4aa5892fa | [
"Apache-2.0"
] | 64 | 2019-06-14T03:37:26.000Z | 2019-08-01T01:45:02.000Z | series/interface.go | BearerPipelineTest/lindb | c81e59d8e7a8e3cef22157cdec524ee4aa5892fa | [
"Apache-2.0"
] | 74 | 2019-06-13T05:46:58.000Z | 2019-08-01T05:32:13.000Z | // Licensed to LinDB under one or more contributor
// license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright
// ownership. LinDB licenses this file to you under
// the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compli... | 43.039216 | 100 | 0.784055 |
71576fdf6e4a482279521e3c89a2ec534472d331 | 4,294 | lua | Lua | scene4.lua | M0Rf30/trosh | 61862b65111c12b71cb95ab335a2a7a398372192 | [
"WTFPL"
] | 1 | 2016-12-08T20:51:22.000Z | 2016-12-08T20:51:22.000Z | scene4.lua | M0Rf30/trosh | 61862b65111c12b71cb95ab335a2a7a398372192 | [
"WTFPL"
] | null | null | null | scene4.lua | M0Rf30/trosh | 61862b65111c12b71cb95ab335a2a7a398372192 | [
"WTFPL"
] | null | null | null | function scene4_load()
backgroundwhite = 0
staralpha = 1
asteroids = {}
bullets = {}
love.audio.play(bgmusic)
starttimer = 0
alerttimer = 0
flyingquad = 3
pspeedx = 0
pspeedy = 0
playerx = nil
flyanimationtimer = 0
end
function scene4_update(dt)
if secondtimer then
secondtim... | 24.537143 | 124 | 0.639031 |
c45386f65a0f21a7005f3de535eb084e23f6d9ad | 1,897 | h | C | Filters/FlowPaths/vtkLagrangianThreadedData.h | txwhhny/vtk | 854d9aa87b944bc9079510515996406b98b86f7c | [
"BSD-3-Clause"
] | 2 | 2021-07-07T22:53:19.000Z | 2021-07-31T19:29:35.000Z | Filters/FlowPaths/vtkLagrangianThreadedData.h | txwhhny/vtk | 854d9aa87b944bc9079510515996406b98b86f7c | [
"BSD-3-Clause"
] | 2 | 2020-11-18T16:50:34.000Z | 2022-01-21T13:31:47.000Z | Filters/FlowPaths/vtkLagrangianThreadedData.h | txwhhny/vtk | 854d9aa87b944bc9079510515996406b98b86f7c | [
"BSD-3-Clause"
] | 5 | 2020-10-02T10:14:35.000Z | 2022-03-10T07:50:22.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: vtkLagrangianParticleTracker.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This... | 31.098361 | 75 | 0.723247 |
de7c31ba58e8fcc1e57222b65fd5a52e2ec71801 | 5,598 | rs | Rust | rust/src/stake_credential.rs | tesseract-one/Cardano.swift | 788698fee64669e78e33df7ed87cdff4d3ffb9f0 | [
"Apache-2.0"
] | 7 | 2021-02-23T18:01:59.000Z | 2022-02-05T23:29:09.000Z | rust/src/stake_credential.rs | tesseract-one/Cardano.swift | 788698fee64669e78e33df7ed87cdff4d3ffb9f0 | [
"Apache-2.0"
] | 3 | 2021-09-14T03:07:16.000Z | 2022-03-02T12:02:30.000Z | rust/src/stake_credential.rs | tesseract-one/Cardano.swift | 788698fee64669e78e33df7ed87cdff4d3ffb9f0 | [
"Apache-2.0"
] | 1 | 2021-08-15T11:32:59.000Z | 2021-08-15T11:32:59.000Z | use super::data::CData;
use super::error::CError;
use super::panic::*;
use super::ptr::Ptr;
use crate::array::CArray;
use crate::ptr::Free;
use cardano_serialization_lib::address::{StakeCredKind, StakeCredential as RStakeCredential};
use cardano_serialization_lib::crypto::{
Ed25519KeyHash as REd25519KeyHash, ScriptHa... | 26.657143 | 93 | 0.680957 |
71e50f0560634c2d7efa6fa1b347f5a1107714fd | 7,749 | ts | TypeScript | src/components/utils/helpers.ts | tinybat02/ES-trajectory-v4 | 3e317bd671442b2bb2ff8cc44d65746f530ea1aa | [
"Apache-2.0"
] | null | null | null | src/components/utils/helpers.ts | tinybat02/ES-trajectory-v4 | 3e317bd671442b2bb2ff8cc44d65746f530ea1aa | [
"Apache-2.0"
] | null | null | null | src/components/utils/helpers.ts | tinybat02/ES-trajectory-v4 | 3e317bd671442b2bb2ff8cc44d65746f530ea1aa | [
"Apache-2.0"
] | null | null | null | import Feature from 'ol/Feature';
import Point from 'ol/geom/Point';
import { Coordinate } from 'ol/coordinate';
import LineString from 'ol/geom/LineString';
import Circle from 'ol/geom/Circle';
import { Circle as CircleStyle, Stroke, Style, Fill, Icon, Text } from 'ol/style';
import GeometryType from 'ol/geom/Geometry... | 29.803846 | 119 | 0.597884 |
729130e495f16e6f89883e7675f41c663a06b3e5 | 5,988 | lua | Lua | source/lua/CPPUtilities.lua | Steelcap/NS2_CombatPlusPlus | fa51c126e7bdfba960e4e5c0f3faace42f1a3b39 | [
"MIT"
] | null | null | null | source/lua/CPPUtilities.lua | Steelcap/NS2_CombatPlusPlus | fa51c126e7bdfba960e4e5c0f3faace42f1a3b39 | [
"MIT"
] | null | null | null | source/lua/CPPUtilities.lua | Steelcap/NS2_CombatPlusPlus | fa51c126e7bdfba960e4e5c0f3faace42f1a3b39 | [
"MIT"
] | null | null | null | function CombatPlusPlus_XPRequiredForNextRank(currentXP, rank)
local xpRequired = 0
if rank < kMaxCombatRank then
xpRequired = kXPTable[ rank + 1 ]["XP"]
end
return xpRequired
end
function CombatPlusPlus_GetXPThresholdByRank(rank)
rank = Clamp(rank, 1, kMaxCombatRank)
... | 28.927536 | 109 | 0.69322 |
60593950862831b5a623005dc95ee630176613c4 | 1,220 | html | HTML | blog.html | Chel-Ash/channel-ai | a29a8ea993d8c267f74c1fd1ab47d5919fb94a26 | [
"MIT"
] | 1 | 2020-06-24T03:14:00.000Z | 2020-06-24T03:14:00.000Z | blog.html | Chel-Ash/channel-ai | a29a8ea993d8c267f74c1fd1ab47d5919fb94a26 | [
"MIT"
] | null | null | null | blog.html | Chel-Ash/channel-ai | a29a8ea993d8c267f74c1fd1ab47d5919fb94a26 | [
"MIT"
] | null | null | null | ---
layout: default
title: Blog - Understanding CV & VR | Become an Expert Developer in Computer Vision or Virtual reality - ChannelAI
description: My ChannelAi Blog. All Ai news as we can cover
---
<h1 style="font-family: sans-serif; text-align: center; font-weight: 700; background-color: black; padding: 40px; color: ... | 42.068966 | 177 | 0.636066 |
0eb526c066dc5612042290579e2ed0b33fbf6830 | 4,257 | sql | SQL | database/migrations/20200818103136_create_admin_role_menu_table.sql | Vfuryx/fagin | 2a0a5c4f2611a018a574a0e96db0d94498999a92 | [
"MIT"
] | 5 | 2019-07-23T01:24:47.000Z | 2021-06-20T15:49:09.000Z | database/migrations/20200818103136_create_admin_role_menu_table.sql | Vfuryx/fagin | 2a0a5c4f2611a018a574a0e96db0d94498999a92 | [
"MIT"
] | 9 | 2021-09-21T09:46:10.000Z | 2022-02-19T04:07:53.000Z | database/migrations/20200818103136_create_admin_role_menu_table.sql | Vfuryx/fagin | 2a0a5c4f2611a018a574a0e96db0d94498999a92 | [
"MIT"
] | null | null | null | -- +migrate Up
DROP TABLE IF EXISTS `admin_role_menus`;
-- Create the table in the specified schema
CREATE TABLE `admin_role_menus`
(
`id` int unsigned NOT NULL AUTO_INCREMENT,
`role_id` int unsigned NOT NULL DEFAULT '0' COMMENT '角色id',
`menu_id` int unsigned NOT NULL DEFAULT '0' COMMENT '菜单id',
PR... | 38.7 | 72 | 0.667606 |
3e99ec7b21316d727897e9fa989f01320f344c47 | 6,511 | c | C | src/sp65/vic2sprite.c | mikeakohn/cc65 | ca31e3af1effb268d36235495a11c2580b938682 | [
"Zlib"
] | 6 | 2018-11-28T15:42:20.000Z | 2022-01-05T18:59:11.000Z | src/sp65/vic2sprite.c | mikeakohn/cc65 | ca31e3af1effb268d36235495a11c2580b938682 | [
"Zlib"
] | 1 | 2018-01-06T18:19:29.000Z | 2018-01-06T18:19:29.000Z | src/sp65/vic2sprite.c | mikeakohn/cc65 | ca31e3af1effb268d36235495a11c2580b938682 | [
"Zlib"
] | 1 | 2022-01-05T18:59:16.000Z | 2022-01-05T18:59:16.000Z | /*****************************************************************************/
/* */
/* vic2sprite.c */
/* */
... | 36.172222 | 79 | 0.392413 |
ad64ec0ac1d91cc2b6581713c3c2f7b1fd4086c5 | 6,114 | swift | Swift | BarFinder/App/App.swift | nikolamilovanovic/barfinder | 56cce7e96dbc450f844d8ef9b81d067db859994b | [
"Apache-2.0"
] | null | null | null | BarFinder/App/App.swift | nikolamilovanovic/barfinder | 56cce7e96dbc450f844d8ef9b81d067db859994b | [
"Apache-2.0"
] | null | null | null | BarFinder/App/App.swift | nikolamilovanovic/barfinder | 56cce7e96dbc450f844d8ef9b81d067db859994b | [
"Apache-2.0"
] | null | null | null | //
// App.swift
// BarFinder
//
// Created by Nikola Milovanovic on 5/13/18.
// Copyright © 2018 Nikola Milovanovic. All rights reserved.
//
import Foundation
import RxSwift
/// Model of the application. It is singleton that contains all services and methods needed by Model and View Model layer. It should not be ... | 32.695187 | 281 | 0.74403 |
3fb27b3160b9d585b1c60d2ca075f4a3e3b16eeb | 544 | c | C | find/ifind1.c | pranomostro/algo | 680563dd939f1d5a5624ced90a7bac799895fe25 | [
"MIT"
] | null | null | null | find/ifind1.c | pranomostro/algo | 680563dd939f1d5a5624ced90a7bac799895fe25 | [
"MIT"
] | null | null | null | find/ifind1.c | pranomostro/algo | 680563dd939f1d5a5624ced90a7bac799895fe25 | [
"MIT"
] | null | null | null | #include <stdlib.h>
#include <stdint.h>
#include "findtest.h"
size_t ifind1(uint32_t key, uint32_t* data, size_t len)
{
if(len==0||data[0]>=key)
return 0;
else if(data[len-1]<=key)
return len;
size_t low=0, high=len-1, mid=midcalc(key, data, len-1, 0);
while(low<=high&&data[mid]!=key)
{
if(data[low]>key)... | 15.111111 | 60 | 0.604779 |
86bc5a30da3b110354fa5c248b4ca5120c06cc49 | 7,078 | rs | Rust | base_layer/core/src/covenants/token.rs | zhangcheng/tari | f5a034e19caa5a67ec667c8e971462b19a78c6d8 | [
"BSD-3-Clause"
] | null | null | null | base_layer/core/src/covenants/token.rs | zhangcheng/tari | f5a034e19caa5a67ec667c8e971462b19a78c6d8 | [
"BSD-3-Clause"
] | null | null | null | base_layer/core/src/covenants/token.rs | zhangcheng/tari | f5a034e19caa5a67ec667c8e971462b19a78c6d8 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021, The Tari Project
//
// 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 list of conditions and the following
// di... | 32.027149 | 119 | 0.639587 |