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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
39f865ce69c50c1d29448d8b28b7474c53a7f2c8 | 2,798 | java | Java | src/test/java/seedu/weeblingo/model/flashcard/FlashcardTest.java | Cheng20010201/tp | 3ea45d818313460c8e4b26de2f9140eaa1cfa37f | [
"MIT"
] | null | null | null | src/test/java/seedu/weeblingo/model/flashcard/FlashcardTest.java | Cheng20010201/tp | 3ea45d818313460c8e4b26de2f9140eaa1cfa37f | [
"MIT"
] | 143 | 2021-02-17T15:55:19.000Z | 2021-04-11T18:01:55.000Z | src/test/java/seedu/weeblingo/model/flashcard/FlashcardTest.java | Cheng20010201/tp | 3ea45d818313460c8e4b26de2f9140eaa1cfa37f | [
"MIT"
] | 4 | 2021-02-15T11:46:02.000Z | 2021-02-21T09:29:57.000Z | package seedu.weeblingo.model.flashcard;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static seedu.weeblingo.logic.commands.CommandTestUtil.VALID_ANSWER_I;
import static seedu.weeblingo.logic.commands.CommandTestUtil.VALID_QUESTION_I;
imp... | 38.861111 | 112 | 0.72802 |
6ae7e20c202f0ba15c9daee42e86baeccf7476f2 | 3,095 | swift | Swift | Gravity Kit/Gravity Controller/Actions+Particles.swift | moosefactory/MF-Metal-Example | 6227e3760718c91ba3f28c4b9ef139a5bcaae10c | [
"MIT"
] | null | null | null | Gravity Kit/Gravity Controller/Actions+Particles.swift | moosefactory/MF-Metal-Example | 6227e3760718c91ba3f28c4b9ef139a5bcaae10c | [
"MIT"
] | null | null | null | Gravity Kit/Gravity Controller/Actions+Particles.swift | moosefactory/MF-Metal-Example | 6227e3760718c91ba3f28c4b9ef139a5bcaae10c | [
"MIT"
] | null | null | null | //
// Actions+Particles.swift
// MF Metal Example
//
// Created by Tristan Leblanc on 13/12/2020.
//
import MoofFoundation
//protocol ParameterIdentifierProtocol {
//
//}
/// User actions that control World parameters
enum ParticlesParametersIdentifier: Int, CaseIterable {
/// setParticlesGridSi... | 25.162602 | 99 | 0.601292 |
33725cc2887439803269c191d59e5c5bf9049c38 | 1,342 | swift | Swift | MyTabBarController/MyTabBarController/ViewController/MyTabBarController.swift | William-Weng/Swift-5 | 3462085ac8f95014a94937d8fc52588c65d15b91 | [
"MIT"
] | 10 | 2019-09-09T07:30:50.000Z | 2021-12-17T07:56:12.000Z | MyTabBarController/MyTabBarController/ViewController/MyTabBarController.swift | William-Weng/Swift-5 | 3462085ac8f95014a94937d8fc52588c65d15b91 | [
"MIT"
] | null | null | null | MyTabBarController/MyTabBarController/ViewController/MyTabBarController.swift | William-Weng/Swift-5 | 3462085ac8f95014a94937d8fc52588c65d15b91 | [
"MIT"
] | 1 | 2019-09-09T07:30:12.000Z | 2019-09-09T07:30:12.000Z | //
// MyTabBarController.swift
// MyTabBarController
//
// Created by William.Weng on 2021/6/7.
//
import UIKit
// MARK: - 自訂UITabBarController背景
final class MyTabBarController: UITabBarController {
private let stackView = UIStackView()
private let notificationCenter = NotificationCenter.default
over... | 25.807692 | 85 | 0.646796 |
9c32661139c8304ae679463b331421a581004e86 | 279 | js | JavaScript | src/lang/maxWith.js | brianneisler/moltres | eca8abe6cdac9a86172a14fe5f095ec0a780f3be | [
"Apache-2.0"
] | 14 | 2016-09-16T01:47:23.000Z | 2021-07-13T04:04:14.000Z | src/lang/maxWith.js | brianneisler/moltres | eca8abe6cdac9a86172a14fe5f095ec0a780f3be | [
"Apache-2.0"
] | 71 | 2020-08-04T15:37:25.000Z | 2021-09-22T01:18:22.000Z | src/lang/maxWith.js | brianneisler/moltres | eca8abe6cdac9a86172a14fe5f095ec0a780f3be | [
"Apache-2.0"
] | 1 | 2020-04-22T01:17:11.000Z | 2020-04-22T01:17:11.000Z | import curryN from './curryN'
import first from './first'
import reduceRight from './reduceRight'
const maxWith = curryN(2, (func, ...values) => {
if (values.length === 1) {
return values[0]
}
return reduceRight(func, first(values), values)
})
export default maxWith
| 21.461538 | 49 | 0.677419 |
d27624484e85ce8c6469eb7966075088a322b7ee | 2,855 | php | PHP | src/Triv/CoreBundle/Entity/Vote.php | EroStackOverFlow/nippanim | d0f065d4ece8e3d25bb599ead0c5de8978a0285e | [
"MIT"
] | 1 | 2019-11-04T21:33:43.000Z | 2019-11-04T21:33:43.000Z | src/Triv/CoreBundle/Entity/Vote.php | EroStackOverFlow/nippanim | d0f065d4ece8e3d25bb599ead0c5de8978a0285e | [
"MIT"
] | 1 | 2019-12-03T07:39:48.000Z | 2019-12-03T07:39:48.000Z | src/Triv/CoreBundle/Entity/Vote.php | EroStackOverFlow/nippanim | d0f065d4ece8e3d25bb599ead0c5de8978a0285e | [
"MIT"
] | null | null | null | <?php
namespace Triv\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* vote
*
* @ORM\Table()
* @ORM\Entity(repositoryClass="Triv\CoreBundle\Entity\VoteRepository")
*/
class Vote
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(s... | 14.716495 | 71 | 0.463398 |
7f05b425144b29c4157d0ce1c880ceb304abc972 | 2,721 | rs | Rust | compiler/crates/relay-codegen/src/ast.rs | morrys/relay | 30e2a47d21bdc145270f954698aa754a5e925e55 | [
"MIT"
] | 1 | 2020-10-01T22:33:41.000Z | 2020-10-01T22:33:41.000Z | compiler/crates/relay-codegen/src/ast.rs | morrys/relay | 30e2a47d21bdc145270f954698aa754a5e925e55 | [
"MIT"
] | 10 | 2021-01-23T06:54:00.000Z | 2022-02-27T11:08:42.000Z | compiler/crates/relay-codegen/src/ast.rs | morrys/relay | 30e2a47d21bdc145270f954698aa754a5e925e55 | [
"MIT"
] | 1 | 2020-12-31T23:35:43.000Z | 2020-12-31T23:35:43.000Z | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
use fnv::{FnvBuildHasher, FnvHashMap};
use graphql_syntax::FloatValue;
use graphql_syntax::OperationKind;
use indexmap::IndexMap;
u... | 22.487603 | 66 | 0.583976 |
9682e7377247f096f554f9be8ee1324893d39e72 | 1,099 | php | PHP | admin/simpan_setting.php | doc22940/candycbt | dc0bd244efe55adfcd3475093bf855c8daa383b0 | [
"MIT"
] | 3 | 2020-03-31T16:44:36.000Z | 2020-09-22T04:23:27.000Z | admin/simpan_setting.php | doc22940/candycbt | dc0bd244efe55adfcd3475093bf855c8daa383b0 | [
"MIT"
] | 5 | 2020-04-30T14:45:10.000Z | 2022-03-02T07:23:43.000Z | admin/simpan_setting.php | doc22940/candycbt | dc0bd244efe55adfcd3475093bf855c8daa383b0 | [
"MIT"
] | 14 | 2020-03-05T08:38:34.000Z | 2020-11-25T11:34:47.000Z | <?php
require "../config/config.default.php";
$alamat = nl2br($_POST['alamat']);
$header = nl2br($_POST['header']);
$exec = mysqli_query($koneksi, "UPDATE setting SET aplikasi='$_POST[aplikasi]',sekolah='$_POST[sekolah]',kode_sekolah='$_POST[kode]',jenjang='$_POST[jenjang]',kepsek='$_POST[kepsek]',nip='$_POST[nip]',ala... | 45.791667 | 437 | 0.577798 |
1b0be02c8f3b441c49c1f26cd1429b7746f67d1b | 3,223 | swift | Swift | Aerial/Source/Controllers/PWC Tabs/PWC+Displays.swift | aitor/Aerial | 6972c3c1418b6376dd0e9b00f89671a66522b00b | [
"MIT"
] | 1 | 2019-08-20T14:28:03.000Z | 2019-08-20T14:28:03.000Z | Aerial/Source/Controllers/PWC Tabs/PWC+Displays.swift | Ashesove/Aerial | 9fb904d05d9b180ce5af0b5cb617bdf749f0e423 | [
"MIT"
] | null | null | null | Aerial/Source/Controllers/PWC Tabs/PWC+Displays.swift | Ashesove/Aerial | 9fb904d05d9b180ce5af0b5cb617bdf749f0e423 | [
"MIT"
] | null | null | null | //
// PWC+Displays.swift
// Aerial
// This is the controller code for the Displays Tab
//
// Created by Guillaume Louel on 03/06/2019.
// Copyright © 2019 John Coates. All rights reserved.
//
import Cocoa
extension PreferencesWindowController {
func setupDisplaysTab() {
horizontalDisplayMarginTex... | 39.790123 | 114 | 0.714552 |
1651b50cd0979bac7ba807341902b9f97bbc0027 | 102 | h | C | fw/nav/pose.h | Octanis1/Octanis1-Mainboard-Firmware | 71963910e4b835c060a05123e39c4fa4ec40fc22 | [
"MIT"
] | null | null | null | fw/nav/pose.h | Octanis1/Octanis1-Mainboard-Firmware | 71963910e4b835c060a05123e39c4fa4ec40fc22 | [
"MIT"
] | null | null | null | fw/nav/pose.h | Octanis1/Octanis1-Mainboard-Firmware | 71963910e4b835c060a05123e39c4fa4ec40fc22 | [
"MIT"
] | null | null | null | /*
* File: pose.h
* Description: Manupulators for rover body pose (mostly struts)
* Author:
*/
| 17 | 65 | 0.647059 |
92373f48e7117366209d47fc3d4354f8dd0907b2 | 3,396 | sql | SQL | AdventureWorksDW-MySQL-install-script/adventureworksDW-constraints.sql | d-stephenson/PRJ701 | 92bd55a024140ccba2ecb659e1566baa094a7c74 | [
"MIT"
] | 1 | 2021-09-23T09:20:24.000Z | 2021-09-23T09:20:24.000Z | AdventureWorksDW-MySQL-install-script/adventureworksDW-constraints.sql | d-stephenson/PRJ701 | 92bd55a024140ccba2ecb659e1566baa094a7c74 | [
"MIT"
] | null | null | null | AdventureWorksDW-MySQL-install-script/adventureworksDW-constraints.sql | d-stephenson/PRJ701 | 92bd55a024140ccba2ecb659e1566baa094a7c74 | [
"MIT"
] | null | null | null | use aw;
ALTER TABLE DimAccount ADD CONSTRAINT FK_DimAccount_DimAccount FOREIGN KEY(ParentAccountKey)
REFERENCES DimAccount (AccountKey)
;
ALTER TABLE DimCustomer ADD CONSTRAINT FK_DimCustomer_DimGeography FOREIGN KEY(GeographyKey)
REFERENCES DimGeography (GeographyKey)
;
ALTER TABLE DimDepartmentGroup ADD CONSTRA... | 35.010309 | 113 | 0.865135 |
575a6e3b42f69920214c5530915e7222566e81a5 | 1,327 | c | C | src/gbpLib/gbpCalc/calc_mean.c | gbpoole/gbpCode | 5157d2e377edbd4806258d1c16b329373186d43a | [
"MIT"
] | 1 | 2015-10-20T11:39:53.000Z | 2015-10-20T11:39:53.000Z | src/gbpLib/gbpCalc/calc_mean.c | gbpoole/gbpCode | 5157d2e377edbd4806258d1c16b329373186d43a | [
"MIT"
] | 2 | 2017-07-30T11:10:49.000Z | 2019-06-18T00:40:46.000Z | src/gbpLib/gbpCalc/calc_mean.c | gbpoole/gbpCode | 5157d2e377edbd4806258d1c16b329373186d43a | [
"MIT"
] | 4 | 2015-01-23T00:50:40.000Z | 2016-08-01T08:14:24.000Z | #include <gbpSID.h>
#include <gbpCalc.h>
void calc_mean(void *data, void *result, size_t n_data, SID_Datatype type, int mode) {
double temp;
int flag_abs;
if(SID_CHECK_BITFIELD_SWITCH(mode, CALC_MODE_ABS))
flag_abs = CALC_MODE_ABS;
else
flag_abs = GBP_FALSE;
if(n_data < 1) {
... | 35.864865 | 90 | 0.560663 |
4c2a491806ba025da2edbd79228422bd11980d01 | 4,203 | php | PHP | node_modules/elation/components/elation/components/orm/elation_orm.php | aadityavaze/janusweb-prac | 17ffd59d9c2f2b43dfa7a0fd2d077590f6d7dabe | [
"MIT"
] | null | null | null | node_modules/elation/components/elation/components/orm/elation_orm.php | aadityavaze/janusweb-prac | 17ffd59d9c2f2b43dfa7a0fd2d077590f6d7dabe | [
"MIT"
] | null | null | null | node_modules/elation/components/elation/components/orm/elation_orm.php | aadityavaze/janusweb-prac | 17ffd59d9c2f2b43dfa7a0fd2d077590f6d7dabe | [
"MIT"
] | null | null | null | <?php
include_once("include/component_class.php");
include_once("include/ormmanager_class.php");
class Component_elation_orm extends Component {
function controller_orm($args) {
/*
if (!User::authorized("orm"))
throw new Exception("not allowed");
*/
/*
$user = User::singleton();
if (!($user->is... | 34.170732 | 96 | 0.551273 |
f99998b63e26a5580f21527f7c9f69fdfc0054db | 1,126 | go | Go | lib/crypto/zone/algorithms.go | markkurossi/backup | 4f831cf6111a469ee550251901aaf9086710d44b | [
"MIT"
] | null | null | null | lib/crypto/zone/algorithms.go | markkurossi/backup | 4f831cf6111a469ee550251901aaf9086710d44b | [
"MIT"
] | null | null | null | lib/crypto/zone/algorithms.go | markkurossi/backup | 4f831cf6111a469ee550251901aaf9086710d44b | [
"MIT"
] | null | null | null | //
// algorithms.go
//
// Copyright (c) 2018 Markku Rossi
//
// All rights reserved.
//
package zone
import (
"fmt"
)
type Suite byte
func (s Suite) String() string {
name, ok := suites[s]
if ok {
return name
}
return fmt.Sprintf("{Suite %d}", s)
}
func (s Suite) IDHashKeyLen() int {
len, ok := suiteIDHash... | 15.638889 | 60 | 0.671403 |
029489b5d87f4aeb3e288308c4d191601c9274d6 | 857 | kt | Kotlin | backend/mlreef-rest/src/main/kotlin/com/mlreef/rest/external_api/gitlab/dto/GitlabUserInProject.kt | MLReef/mlreef | ec90e000fecde04a8256b0400fe40bc81ebb6f04 | [
"MIT"
] | 1,607 | 2020-08-31T18:15:51.000Z | 2022-03-18T09:13:21.000Z | backend/mlreef-rest/src/main/kotlin/com/mlreef/rest/external_api/gitlab/dto/GitlabUserInProject.kt | Bronmus/mlreef | 4063f937f2f65e87ee24174b2ac89dac5c255854 | [
"MIT"
] | 9 | 2021-07-13T11:10:05.000Z | 2022-01-12T16:48:54.000Z | backend/mlreef-rest/src/main/kotlin/com/mlreef/rest/external_api/gitlab/dto/GitlabUserInProject.kt | Bronmus/mlreef | 4063f937f2f65e87ee24174b2ac89dac5c255854 | [
"MIT"
] | 318 | 2020-11-04T05:33:18.000Z | 2022-03-04T10:05:25.000Z | package com.mlreef.rest.external_api.gitlab.dto
import com.fasterxml.jackson.annotation.JsonAutoDetect
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonInclude
import com.mlreef.rest.external_api.gitlab.GitlabAccessLevel
import com.mlreef.rest.external_api.gitlab... | 37.26087 | 69 | 0.809802 |
7754fee1b7ce65df549e5a45252e9801be5ae2c8 | 635 | html | HTML | src/STAIExtensions/Example Projects/Examples.Client.Angular/src/app/shared/augmented-card/augmented-card.component.html | TrevorMare/STAIExtensions | e5454b6f7d3138479fa159fcfc9474bed76157f8 | [
"MIT"
] | null | null | null | src/STAIExtensions/Example Projects/Examples.Client.Angular/src/app/shared/augmented-card/augmented-card.component.html | TrevorMare/STAIExtensions | e5454b6f7d3138479fa159fcfc9474bed76157f8 | [
"MIT"
] | 5 | 2022-01-22T06:56:34.000Z | 2022-02-21T13:51:54.000Z | src/STAIExtensions/Example Projects/Examples.Client.Angular/src/app/shared/augmented-card/augmented-card.component.html | TrevorMare/STAIExtensions | e5454b6f7d3138479fa159fcfc9474bed76157f8 | [
"MIT"
] | null | null | null | <div class="augmented-glow " [ngClass]="{'selected': selected}" >
<div class="augmented-card {{ cardClass }}" [attr.data-augmented-ui]="GetBorderStyle()" [ngClass]="{'color2': colorStyle == 2, 'color3': colorStyle == 3, 'show-over': showOver}">
<div class="augmented-card-header">
<ng-content sel... | 45.357143 | 182 | 0.577953 |
b397f882e59b13378a096b626cdc1790c4d99f74 | 7,206 | swift | Swift | BitcoinCore/Classes/Network/Peer/PeerGroup.swift | baboaisystem/lib_bitcoin_swift | e7feecdfe9e413426e7afba4c692c21f97acec6e | [
"MIT"
] | 203 | 2018-11-02T08:32:06.000Z | 2022-03-28T06:43:27.000Z | BitcoinCore/Classes/Network/Peer/PeerGroup.swift | baboaisystem/lib_bitcoin_swift | e7feecdfe9e413426e7afba4c692c21f97acec6e | [
"MIT"
] | 198 | 2018-10-17T12:00:39.000Z | 2022-03-31T17:53:20.000Z | BitcoinCore/Classes/Network/Peer/PeerGroup.swift | baboaisystem/lib_bitcoin_swift | e7feecdfe9e413426e7afba4c692c21f97acec6e | [
"MIT"
] | 71 | 2018-12-10T05:44:33.000Z | 2022-03-01T02:07:06.000Z | import Foundation
import RxSwift
import HsToolKit
import NIO
public enum PeerGroupEvent {
case onStart
case onStop
case onPeerCreate(peer: IPeer)
case onPeerConnect(peer: IPeer)
case onPeerDisconnect(peer: IPeer, error: Error?)
case onPeerReady(peer: IPeer)
case onPeerBusy(peer: IPeer)
}
c... | 31.605263 | 160 | 0.650014 |
65c9bbf5fb12e20a5bc145a9b60abf4bad59fe6e | 134 | sql | SQL | C# DB Fundamentals/Databases Basics - MS SQL Server/Data Definition and Data Types - Exercise/17. Backup Database.sql | DanielBankov/SoftUni | 378b55e249cdaa9570b101238c289cf0102ba946 | [
"MIT"
] | null | null | null | C# DB Fundamentals/Databases Basics - MS SQL Server/Data Definition and Data Types - Exercise/17. Backup Database.sql | DanielBankov/SoftUni | 378b55e249cdaa9570b101238c289cf0102ba946 | [
"MIT"
] | null | null | null | C# DB Fundamentals/Databases Basics - MS SQL Server/Data Definition and Data Types - Exercise/17. Backup Database.sql | DanielBankov/SoftUni | 378b55e249cdaa9570b101238c289cf0102ba946 | [
"MIT"
] | null | null | null | BACKUP DATABASE SoftUni
TO DISK = 'D:\SoftUni\SoftUniBackUp.bak'
RESTORE DATABASE SoftUni
FROM DISK = 'D:\SoftUni\SoftUniBackUp.bak' | 26.8 | 42 | 0.783582 |
0bdf92592c1802c1e77430f512d75bb85dfef702 | 286 | js | JavaScript | keys.js | dianachriswhite/node | cdafcc9441ea0c28be4a9c4a7c8de2cf56112f9a | [
"MIT"
] | null | null | null | keys.js | dianachriswhite/node | cdafcc9441ea0c28be4a9c4a7c8de2cf56112f9a | [
"MIT"
] | null | null | null | keys.js | dianachriswhite/node | cdafcc9441ea0c28be4a9c4a7c8de2cf56112f9a | [
"MIT"
] | null | null | null |
exports.twitterKeys = {
consumer_key: 'n0F8QMNK0aGqGl4OcUTNIRYtM',
consumer_secret: 'whwqdvbqbL7aBEnKXoUJZdDgx6Dif5FvMw4sim72Rl9uk17XNW',
access_token_key: '940392819553742848-uA0ps65BiLYU7dyYKvUsDZCcai9iNIc',
access_token_secret: 'IXVEcRxAa7GSSckxVc6w30UxUt6DhnR9xBhM8463QBk30',
} | 26 | 71 | 0.870629 |
7425f53689a13b6db7df6f1b0e1a62ed877649b2 | 872 | h | C | q.h | jcavalieri8619/XINU_emulation | efd9d2632f3993356dd0007646f8e50411677198 | [
"MIT"
] | null | null | null | q.h | jcavalieri8619/XINU_emulation | efd9d2632f3993356dd0007646f8e50411677198 | [
"MIT"
] | null | null | null | q.h | jcavalieri8619/XINU_emulation | efd9d2632f3993356dd0007646f8e50411677198 | [
"MIT"
] | null | null | null | /* q.h - firstid, firstkey, isempty, lastkey, nonempty */
/* q structure declarations, constants, and inline procedures */
#ifndef _Q_H
#define _Q_H
#ifndef NQENT
#define NQENT NPROC + NSEM + NSEM + 4 /* for ready & sleep */
#endif
struct qent
{ /* one for each process plus two for */
/* each list */
in... | 26.424242 | 65 | 0.667431 |
b6a31435f12aae6a664648f7c030945e358ff878 | 510 | rake | Ruby | lib/tasks/change_person_family_member_linkage.rake | bgalloway1/enroll | e69c5af25278dfae17bc3db701e45f4bc9c4c7e1 | [
"Unlicense",
"MIT"
] | 43 | 2015-03-08T18:35:47.000Z | 2020-10-07T18:23:49.000Z | lib/tasks/change_person_family_member_linkage.rake | bgalloway1/enroll | e69c5af25278dfae17bc3db701e45f4bc9c4c7e1 | [
"Unlicense",
"MIT"
] | 911 | 2015-03-18T13:31:04.000Z | 2021-02-25T20:43:22.000Z | lib/tasks/change_person_family_member_linkage.rake | lisyk/enroll-copy-my | 8cf50e9e39a72977ef9002331bea3711e6ac3176 | [
"MIT",
"Unlicense"
] | 55 | 2015-03-06T14:20:53.000Z | 2020-10-27T20:43:04.000Z | require File.join(Rails.root, "app", "data_migrations", "change_person_family_member_linkage")
# This rake task is to change the linkage between a person and a family member.
# RAILS_ENV=production bundle exec rake migrations:change_person_family_member_linkage hbx_id='person hbx id' family_member_id='mongo id of the ... | 63.75 | 158 | 0.829412 |
4da1c02444109d2d54809e0c829057a1aa439a53 | 1,213 | html | HTML | templates/index.html | CDInstitute/cdinstitute.github.io | a5cb7105cb9886ab0241fc156da33b83c53fc4d5 | [
"MIT"
] | 5 | 2020-02-22T20:15:33.000Z | 2021-04-25T14:50:08.000Z | templates/index.html | CDInstitute/cdinstitute.github.io | a5cb7105cb9886ab0241fc156da33b83c53fc4d5 | [
"MIT"
] | 4 | 2020-02-22T20:27:15.000Z | 2020-02-24T14:10:56.000Z | templates/index.html | CDInstitute/cdinstitute.github.io | a5cb7105cb9886ab0241fc156da33b83c53fc4d5 | [
"MIT"
] | 1 | 2020-10-27T23:15:05.000Z | 2020-10-27T23:15:05.000Z | <!DOCTYPE html>
<html>
<head>
<title>CDI</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- add icon link -->
<link rel = "icon" href = "https://media.geeksforgeeks.org/wp-content/cdn-uploads/gfg_200X200.png" type = "image/x-icon">
<link rel... | 34.657143 | 131 | 0.544106 |
11a22bba3ce76a41a9f77d7fdd765257641882c1 | 468 | swift | Swift | Sources/SwiftDocC/Semantics/Redirected.swift | talzag/swift-docc | 41f116f72cd3cf6392c2f82d7b72ed3c5ccb735a | [
"Apache-2.0"
] | 335 | 2021-10-13T20:23:45.000Z | 2022-03-28T05:22:03.000Z | Sources/SwiftDocC/Semantics/Redirected.swift | talzag/swift-docc | 41f116f72cd3cf6392c2f82d7b72ed3c5ccb735a | [
"Apache-2.0"
] | 106 | 2021-10-15T09:20:50.000Z | 2022-03-31T23:59:10.000Z | Sources/SwiftDocC/Semantics/Redirected.swift | talzag/swift-docc | 41f116f72cd3cf6392c2f82d7b72ed3c5ccb735a | [
"Apache-2.0"
] | 45 | 2021-10-14T02:22:06.000Z | 2022-03-29T23:10:27.000Z | /*
This source file is part of the Swift.org open source project
Copyright (c) 2021 Apple Inc. and the Swift project authors
Licensed under Apache License v2.0 with Runtime Library Exception
See https://swift.org/LICENSE.txt for license information
See https://swift.org/CONTRIBUTORS.txt for Swift project authors... | 27.529412 | 66 | 0.730769 |
46462e4b0015662ee29089a9fa52d429d2a87c1f | 10,494 | swift | Swift | InstantGramz/ProfileViewController.swift | oliviaeg2/instantgramz | 0d05f16d32288bcb74fdf87ffe4a976b89642675 | [
"Apache-2.0"
] | null | null | null | InstantGramz/ProfileViewController.swift | oliviaeg2/instantgramz | 0d05f16d32288bcb74fdf87ffe4a976b89642675 | [
"Apache-2.0"
] | 1 | 2016-06-25T03:10:15.000Z | 2016-06-26T01:00:17.000Z | InstantGramz/ProfileViewController.swift | ohliveyeah/instagram | 0d05f16d32288bcb74fdf87ffe4a976b89642675 | [
"Apache-2.0"
] | null | null | null | //
// ProfileViewController.swift
// InstantGramz
//
// Created by Olivia Gregory on 6/22/16.
// Copyright © 2016 Olivia Gregory. All rights reserved.
//
import UIKit
import Parse
import ParseUI
class ProfileViewController: UIViewController, UICollectionViewDataSource, UICollectionViewDelegate, UINavigationContro... | 35.693878 | 166 | 0.589003 |
d5e98b8643f1c7d6b31bf6258aee0867234e2d1b | 2,320 | h | C | src/valve_sdk/interfaces/CClientState.h | cristyanul/Sensum | 8ce42e4095c09ea508eb75e91315a0cf2125e892 | [
"MIT"
] | 259 | 2019-08-25T21:55:00.000Z | 2021-12-18T19:17:12.000Z | src/valve_sdk/interfaces/CClientState.h | cristyanul/Sensum | 8ce42e4095c09ea508eb75e91315a0cf2125e892 | [
"MIT"
] | 184 | 2019-08-25T11:14:48.000Z | 2021-12-20T03:32:17.000Z | src/valve_sdk/interfaces/CClientState.h | cristyanul/Sensum | 8ce42e4095c09ea508eb75e91315a0cf2125e892 | [
"MIT"
] | 105 | 2019-08-31T14:48:09.000Z | 2022-01-05T14:59:59.000Z | #pragma once
#include <cstdint>
// Created with ReClass.NET by KN4CK3R
#pragma pack(push, 1)
class INetChannel
{
public:
char pad_0000[20]; //0x0000
bool m_bProcessingMessages; //0x0014
bool m_bShouldDelete; //0x0015
char pad_0016[2]; //0x0016
int32_t m_nOutSequenceNr; //0x0018 la... | 25.777778 | 110 | 0.759914 |
759f3acc2d5242b3f84135eaa2c4aaeefb1468e9 | 1,865 | h | C | ofdEditor/start/Settings/RecentFileItem.h | mcoder2014/ofdEditor | c241f69447992cacb29d4ddae17fa4d7abd76b21 | [
"MIT"
] | 30 | 2018-09-27T09:26:57.000Z | 2022-03-31T01:45:20.000Z | ofdEditor/start/Settings/RecentFileItem.h | mcoder2014/ofdEditor | c241f69447992cacb29d4ddae17fa4d7abd76b21 | [
"MIT"
] | 1 | 2019-09-06T04:54:16.000Z | 2019-09-06T04:54:16.000Z | ofdEditor/start/Settings/RecentFileItem.h | mcoder2014/ofdEditor | c241f69447992cacb29d4ddae17fa4d7abd76b21 | [
"MIT"
] | 15 | 2018-04-23T02:49:20.000Z | 2021-09-27T03:06:55.000Z | #ifndef RECENTFILEITEM_H
#define RECENTFILEITEM_H
#include <QObject>
#include <QDateTime>
class RecentFileItem
: public QObject
{
Q_OBJECT
public:
explicit RecentFileItem(QObject *parent = 0);
RecentFileItem(
QString fileName,
QString author,
QString recentEditT... | 27.426471 | 66 | 0.646649 |
5eda884c10b4f8f63e2f10e8b350ef82f963bd5d | 1,548 | kt | Kotlin | app/src/main/kotlin/com/awesome/un/data/api/APIClient.kt | stanfit/android-crean-architecture | fa67068d66e6d821a02aa50610a5c6a7bbfc8c43 | [
"MIT"
] | null | null | null | app/src/main/kotlin/com/awesome/un/data/api/APIClient.kt | stanfit/android-crean-architecture | fa67068d66e6d821a02aa50610a5c6a7bbfc8c43 | [
"MIT"
] | null | null | null | app/src/main/kotlin/com/awesome/un/data/api/APIClient.kt | stanfit/android-crean-architecture | fa67068d66e6d821a02aa50610a5c6a7bbfc8c43 | [
"MIT"
] | null | null | null | package com.awesome.un.data.api
import io.ktor.client.HttpClient
import io.ktor.client.features.websocket.wss
import io.ktor.client.request.get
import io.ktor.client.request.post
import io.ktor.http.cio.websocket.Frame
import io.ktor.http.cio.websocket.readBytes
import io.ktor.http.cio.websocket.readText
import io.kto... | 27.642857 | 78 | 0.639535 |
475d0a430fe347074669b3aaf6192be6adb78d92 | 542 | sql | SQL | sql/user.sql | cuo9958/user_center | d43e6dd149380cd4a4ece2c49c5f44995501a3bf | [
"MIT"
] | null | null | null | sql/user.sql | cuo9958/user_center | d43e6dd149380cd4a4ece2c49c5f44995501a3bf | [
"MIT"
] | null | null | null | sql/user.sql | cuo9958/user_center | d43e6dd149380cd4a4ece2c49c5f44995501a3bf | [
"MIT"
] | null | null | null | CREATE TABLE IF NOT EXISTS `t_user` (
`id` INTEGER auto_increment,
`uuid` VARCHAR(40) DEFAULT '' COMMENT '用户的uuid',
`username` VARCHAR(255) DEFAULT '' COMMENT '用户名',
`headimg` VARCHAR(255) DEFAULT '' COMMENT '头像',
`tell` VARCHAR(255) DEFAULT '' COMMENT '手机号',
`openid` VARCHAR(255) DEFAULT '' COMMENT '微信的ope... | 33.875 | 55 | 0.682657 |
40b4bf19fca0a00c615ba2c3e22a3936506e92e5 | 40,097 | py | Python | tests/system_tests_qdstat.py | pwright/qpid-dispatch | 94f523a12631d592503d8e4acbe075b879c8d3bd | [
"Apache-2.0"
] | 1 | 2019-07-16T10:24:40.000Z | 2019-07-16T10:24:40.000Z | tests/system_tests_qdstat.py | finp/qpid-dispatch | 94f523a12631d592503d8e4acbe075b879c8d3bd | [
"Apache-2.0"
] | 101 | 2020-10-15T06:49:34.000Z | 2022-03-31T04:04:25.000Z | tests/system_tests_qdstat.py | pwright/qpid-dispatch | 94f523a12631d592503d8e4acbe075b879c8d3bd | [
"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 may not... | 41.252058 | 137 | 0.57513 |
b9e6ec9227a128604285788b8ce1f1a02982cc48 | 7,256 | lua | Lua | scripts/prefabs/balloon_beefalo.lua | Ophaneom/Balloons-2-Wes | 4f1f0f3c9a291c012dfc56aaca6b1547ba1fba59 | [
"MIT"
] | null | null | null | scripts/prefabs/balloon_beefalo.lua | Ophaneom/Balloons-2-Wes | 4f1f0f3c9a291c012dfc56aaca6b1547ba1fba59 | [
"MIT"
] | null | null | null | scripts/prefabs/balloon_beefalo.lua | Ophaneom/Balloons-2-Wes | 4f1f0f3c9a291c012dfc56aaca6b1547ba1fba59 | [
"MIT"
] | null | null | null | local assets =
{
Asset("ANIM", "anim/balloon.zip"),
Asset("ANIM", "anim/balloon_shapes.zip"),
}
local prefabs =
{
"collapse_small",
}
local colours =
{
{ 198/255, 43/255, 43/255, 1 },
{ 79/255, 153/255, 68/255, 1 },
{ 35/255, 105/255, 235/255, 1 },
{ 233/255, 208/255, 69/255, 1 },
... | 30.616034 | 135 | 0.626516 |
12bcb747cbd918c2a7815245225d6c56ebda427b | 12,775 | lua | Lua | technic/tools/multimeter.lua | mightyjoe781/technic | bc9a7759f3d902d2c72cd2763fe08e0e9fce4340 | [
"DOC"
] | 17 | 2020-02-20T06:32:56.000Z | 2021-11-23T02:10:00.000Z | technic/tools/multimeter.lua | mightyjoe781/technic | bc9a7759f3d902d2c72cd2763fe08e0e9fce4340 | [
"DOC"
] | 193 | 2020-02-18T18:34:20.000Z | 2022-03-30T12:22:03.000Z | technic/tools/multimeter.lua | mightyjoe781/technic | bc9a7759f3d902d2c72cd2763fe08e0e9fce4340 | [
"DOC"
] | 18 | 2020-06-30T11:55:52.000Z | 2022-03-05T17:56:46.000Z | local S = technic.getter
local remote_start_ttl = technic.config:get_int("multimeter_remote_start_ttl")
local max_charge = 50000
local power_usage = 100 -- Normal network reading uses this much energy
local rs_charge_multiplier = 100 -- Remote start energy requirement multiplier
local texture = "technic_multimeter.pn... | 39.067278 | 115 | 0.69456 |
c70a5624f3dfb35a9a3edf199a890b60dd5d21a0 | 246 | sql | SQL | db/migrations/2004190227_add_column_ended_at_into_attempts_table.sql | France-ioi/algorea-backend | 578dccae3254eb8f87b0b163c5bd98d8029a84a7 | [
"MIT"
] | null | null | null | db/migrations/2004190227_add_column_ended_at_into_attempts_table.sql | France-ioi/algorea-backend | 578dccae3254eb8f87b0b163c5bd98d8029a84a7 | [
"MIT"
] | 794 | 2018-11-26T07:31:58.000Z | 2022-03-30T15:25:21.000Z | db/migrations/2004190227_add_column_ended_at_into_attempts_table.sql | France-ioi/algorea-backend | 578dccae3254eb8f87b0b163c5bd98d8029a84a7 | [
"MIT"
] | 4 | 2018-12-20T02:51:08.000Z | 2021-07-02T02:55:22.000Z | -- +migrate Up
ALTER TABLE `attempts` ADD COLUMN `ended_at` DATETIME DEFAULT NULL
COMMENT 'Time at which the attempt was (typically manually) ended'
AFTER `created_at`;
-- +migrate Down
ALTER TABLE `attempts` DROP COLUMN `ended_at`;
| 30.75 | 70 | 0.723577 |
7f4b76e6247f360098416f226d1d903847ff3283 | 114 | go | Go | vendor/src/github.com/juju/utils/filestorage/export_test.go | cmars/oo | b6985945fcf62258a1e153f7e805021a85114cd6 | [
"Apache-2.0"
] | 54 | 2017-06-25T18:58:09.000Z | 2020-07-23T15:23:55.000Z | vendor/src/github.com/juju/utils/filestorage/export_test.go | cmars/oo | b6985945fcf62258a1e153f7e805021a85114cd6 | [
"Apache-2.0"
] | 39 | 2017-07-10T07:06:23.000Z | 2019-03-06T21:08:15.000Z | vendor/src/github.com/juju/utils/filestorage/export_test.go | cmars/oo | b6985945fcf62258a1e153f7e805021a85114cd6 | [
"Apache-2.0"
] | 8 | 2017-07-06T09:53:35.000Z | 2018-11-20T18:21:56.000Z | // Copyright 2014 Canonical Ltd.
// Licensed under the LGPLv3, see LICENCE file for details.
package filestorage
| 22.8 | 59 | 0.780702 |
3c64437e16b4087e3c70475011ffb689c7f1d6f0 | 3,238 | kt | Kotlin | compiler/tests-spec/testData/diagnostics/helpers/classes.kt | AndrewReitz/kotlin | ec6904afd15ba6f9aefafdfa8d5618aab25e334e | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-02-27T19:54:10.000Z | 2021-02-27T19:54:10.000Z | compiler/tests-spec/testData/diagnostics/helpers/classes.kt | AndrewReitz/kotlin | ec6904afd15ba6f9aefafdfa8d5618aab25e334e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | compiler/tests-spec/testData/diagnostics/helpers/classes.kt | AndrewReitz/kotlin | ec6904afd15ba6f9aefafdfa8d5618aab25e334e | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-04-30T12:59:05.000Z | 2021-04-30T12:59:05.000Z | class Class {
val prop_1 = 1
val prop_2 = 2
val prop_3 = 3
val prop_4: Float? = 3f
val prop_5: Float = 3f
val prop_6: String = "..."
val prop_7: Nothing? = null
val prop_8: Class? = null
var prop_9: Boolean = true
val prop_10: Number? = 3f
val prop_11: Int = 10
var prop_1... | 24.345865 | 96 | 0.595738 |
290548ed0a0011616663924ce78ad31d49d08574 | 3,473 | py | Python | org/tradesafe/bt/position.py | shenbai/tradesafe | b6bb843288f535d7d146426fd40750f7484a16e6 | [
"MIT"
] | null | null | null | org/tradesafe/bt/position.py | shenbai/tradesafe | b6bb843288f535d7d146426fd40750f7484a16e6 | [
"MIT"
] | null | null | null | org/tradesafe/bt/position.py | shenbai/tradesafe | b6bb843288f535d7d146426fd40750f7484a16e6 | [
"MIT"
] | 2 | 2021-08-21T17:26:29.000Z | 2022-02-18T21:40:24.000Z | # coding: utf-8
__author__ = 'tack'
class Position(object):
'''
position
'''
def __init__(self, code, num, price, commission, date):
'''
Args:
code: stock code
price: cost price
commission: commission
num: num
date: date
... | 28.702479 | 222 | 0.564354 |
233eac3b98d24498454a9f05750a55bea63a1d9a | 1,583 | swift | Swift | SMABannerView/ViewController.swift | simplymadeapps/SMABannerView | fcfee39b35c3054d20889f61ffc05275345ce5b6 | [
"MIT"
] | 1 | 2016-05-05T16:30:10.000Z | 2016-05-05T16:30:10.000Z | SMABannerView/ViewController.swift | simplymadeapps/SMABannerView | fcfee39b35c3054d20889f61ffc05275345ce5b6 | [
"MIT"
] | null | null | null | SMABannerView/ViewController.swift | simplymadeapps/SMABannerView | fcfee39b35c3054d20889f61ffc05275345ce5b6 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// SMABannerView
//
// Created by Bill Burgess on 5/5/16.
// Copyright © 2016 Simply Made Apps. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
var simpleBannerView: SMABannerView?
override func viewDidLoad() {
super.viewDidLoad()
... | 29.314815 | 125 | 0.646241 |
7d1e2f3299cce350837571f2913eed0bf67e2647 | 4,688 | swift | Swift | iOSExample/Pods/BDNetworking/BDNetworking/Components/Generators/RequestGenerator/BDRequestGenerator.swift | BDogs/BDNetworking | 50c556698ab23aad1f3bdf7876b0970b36f679d9 | [
"MIT"
] | null | null | null | iOSExample/Pods/BDNetworking/BDNetworking/Components/Generators/RequestGenerator/BDRequestGenerator.swift | BDogs/BDNetworking | 50c556698ab23aad1f3bdf7876b0970b36f679d9 | [
"MIT"
] | null | null | null | iOSExample/Pods/BDNetworking/BDNetworking/Components/Generators/RequestGenerator/BDRequestGenerator.swift | BDogs/BDNetworking | 50c556698ab23aad1f3bdf7876b0970b36f679d9 | [
"MIT"
] | null | null | null | //
// BDRequestGenerator.swift
// BDNetworkForSwift
//
// Created by 诸葛游 on 2017/4/13.
// Copyright © 2017年 品驰医疗. All rights reserved.
//
import Foundation
import Alamofire
public enum BDParameterEncoding {
case json
case url
case propertyList
var encoding: ParameterEncoding {
get {
... | 32.783217 | 177 | 0.573166 |
fe50a809a3aafa8d3ad0794167206214dba91995 | 95,502 | c | C | obfs_analysis/test_bins/wc/obfs_9.c | whj0401/RLOBF | 2755eb5e21e4f2445a7791a1159962e80a5739ca | [
"MIT"
] | 3 | 2020-12-11T06:15:17.000Z | 2021-04-24T07:09:03.000Z | obfs_analysis/test_bins/wc/obfs_9.c | whj0401/RLOBF | 2755eb5e21e4f2445a7791a1159962e80a5739ca | [
"MIT"
] | null | null | null | obfs_analysis/test_bins/wc/obfs_9.c | whj0401/RLOBF | 2755eb5e21e4f2445a7791a1159962e80a5739ca | [
"MIT"
] | 2 | 2021-03-10T17:46:33.000Z | 2021-03-31T08:00:27.000Z | /* This file has been generated by the Hex-Rays decompiler.
Copyright (c) 2007-2017 Hex-Rays <info@hex-rays.com>
Detected compiler: GNU C++
*/
#include <defs.h>
#include <stdarg.h>
//-------------------------------------------------------------------------
// Function declarations
void *init_proc();
int sub... | 26.359923 | 273 | 0.493288 |
7766c4a62f6a054c09897e102214f299372fa9a8 | 1,565 | html | HTML | demo-gui/src/main/webapp/angular-1.3.15/docs/examples/example-radio-input-directive/index-debug.html | dc4cities/demo | 1977e78e29bb2b7c4e70a4f86aea4fd38e32e44e | [
"Apache-2.0"
] | 1 | 2018-08-30T20:07:57.000Z | 2018-08-30T20:07:57.000Z | demo-gui/src/main/webapp/angular-1.3.15/docs/examples/example-radio-input-directive/index-debug.html | dc4cities/demo | 1977e78e29bb2b7c4e70a4f86aea4fd38e32e44e | [
"Apache-2.0"
] | null | null | null | demo-gui/src/main/webapp/angular-1.3.15/docs/examples/example-radio-input-directive/index-debug.html | dc4cities/demo | 1977e78e29bb2b7c4e70a4f86aea4fd38e32e44e | [
"Apache-2.0"
] | null | null | null | <!doctype html>
<!--
~ Copyright 2012 The DC4Cities author.
~
~ 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 req... | 31.3 | 102 | 0.650479 |
e504a5443dd96fd5d83284249c474ba0bb4dc55e | 82 | sql | SQL | Impala/Interactive_Query/set-scan.sql | BenchCouncil/BigDataBench_V5.0_BigData_MicroBenchmark | 705d5dacb2bdab0dc2653c1e17768deca62ae784 | [
"Apache-2.0"
] | 2 | 2022-01-06T12:15:55.000Z | 2022-03-29T01:31:05.000Z | Impala/Interactive_Query/set-scan.sql | BenchCouncil/BigDataBench_V5.0_BigData_MicroBenchmark | 705d5dacb2bdab0dc2653c1e17768deca62ae784 | [
"Apache-2.0"
] | null | null | null | Impala/Interactive_Query/set-scan.sql | BenchCouncil/BigDataBench_V5.0_BigData_MicroBenchmark | 705d5dacb2bdab0dc2653c1e17768deca62ae784 | [
"Apache-2.0"
] | 1 | 2021-12-20T02:35:08.000Z | 2021-12-20T02:35:08.000Z | drop table result;
create table result (GOODS_PRICE double,GOODS_AMOUNT double);
| 20.5 | 61 | 0.817073 |
0a32f084e1c98bf90cc76339b9096c5f2a05025c | 2,680 | kt | Kotlin | backend/src/main/kotlin/api/ReviewApi.kt | burger-tuesday/burger-tuesday | 019830d238f9b1c670fc2e1f31e457bd174898a9 | [
"MIT"
] | 8 | 2019-04-16T16:11:51.000Z | 2020-01-08T22:10:29.000Z | backend/src/main/kotlin/api/ReviewApi.kt | burger-tuesday/burger-tuesday | 019830d238f9b1c670fc2e1f31e457bd174898a9 | [
"MIT"
] | 74 | 2019-04-18T17:27:12.000Z | 2022-03-03T22:16:43.000Z | backend/src/main/kotlin/api/ReviewApi.kt | burger-tuesday/burger-tuesday | 019830d238f9b1c670fc2e1f31e457bd174898a9 | [
"MIT"
] | 2 | 2019-04-09T05:30:25.000Z | 2019-06-25T06:07:26.000Z | package com.grosslicht.burgertuesday.api
import com.grosslicht.burgertuesday.domain.Review
import com.grosslicht.burgertuesday.domain.ToplistEntry
import org.springframework.data.domain.Pageable
import org.springframework.http.HttpStatus
import org.springframework.http.MediaType
import org.springframework.http.Respons... | 38.84058 | 89 | 0.766418 |
864ef695c933e93d88547b0f6936b065408d7fc7 | 1,279 | sql | SQL | src/main/webapp/resources/sql/check_double_payments.sql | buddhika75/hims | 2a7822a9c9d6ff18ea435f13175d934136e6cfda | [
"MIT"
] | 71 | 2019-06-12T11:09:11.000Z | 2022-03-26T07:41:48.000Z | src/main/webapp/resources/sql/check_double_payments.sql | lk-gov-health-hiu/pis | 9a544d4c1f1cb32238c228bb8ac67c6e9415d8ba | [
"MIT"
] | 160 | 2015-02-05T11:19:52.000Z | 2015-11-24T11:43:14.000Z | src/main/webapp/resources/sql/check_double_payments.sql | lk-gov-health-hiu/pis | 9a544d4c1f1cb32238c228bb8ac67c6e9415d8ba | [
"MIT"
] | 49 | 2019-10-08T06:07:57.000Z | 2022-03-15T12:50:12.000Z | -- select bill.deptId from billitem join bill on billitem.bill_id = bill.`ID` where billitem.`ID` in
-- (SELECT bi.`ID` FROM billitem bi join bill b on bi.`BILL_ID`=b.`ID` join billfee bf on bi.`PAIDFORBILLFEE_ID`=bf.`ID`
-- WHERE b.`RETIRED`=false and b.`BILLTYPE`='PaymentBill'
-- group by bi.`PAIDFORBILLFEE_ID` , b... | 53.291667 | 182 | 0.724785 |
0e42bd208eea589803186be20308448fe136c16b | 210 | asm | Assembly | src/test/resources/data/searchtests/opt-test3.asm | cpcitor/mdlz80optimizer | 75070d984e1f08474e6d397c7e0eb66d8be0c432 | [
"Apache-2.0"
] | 36 | 2020-06-29T06:52:26.000Z | 2022-02-10T19:41:58.000Z | src/test/resources/data/searchtests/opt-test3.asm | cpcitor/mdlz80optimizer | 75070d984e1f08474e6d397c7e0eb66d8be0c432 | [
"Apache-2.0"
] | 39 | 2020-07-02T18:19:34.000Z | 2022-03-27T18:08:54.000Z | src/test/resources/data/searchtests/opt-test3.asm | cpcitor/mdlz80optimizer | 75070d984e1f08474e6d397c7e0eb66d8be0c432 | [
"Apache-2.0"
] | 7 | 2020-07-02T06:00:05.000Z | 2021-11-28T17:31:13.000Z | org #4000
call f1
loop:
jr loop
f1:
ld a, b
or d
or c
jr nz, label1
ld l, 0
jr label2
label1:
ld a, b
cp c
ret
label2:
ld a, b
or d
or e
ret
| 8.076923 | 17 | 0.438095 |
90987258fcc44fca1973de2b3f1051cafe232361 | 159 | py | Python | exercicios/PythonExercicios/ex007.py | Roberto-Sartore/Python | 98f91f13cf78d761893c4a1f3264ed999244d32b | [
"MIT"
] | null | null | null | exercicios/PythonExercicios/ex007.py | Roberto-Sartore/Python | 98f91f13cf78d761893c4a1f3264ed999244d32b | [
"MIT"
] | null | null | null | exercicios/PythonExercicios/ex007.py | Roberto-Sartore/Python | 98f91f13cf78d761893c4a1f3264ed999244d32b | [
"MIT"
] | null | null | null | n1 = float(input('Digite a primeira nota '))
n2 = float(input('Digite a segunda nota '))
print('A média entre {} e {} é {:.2f}'.format(n1, n2, ((n1 + n2)/2)))
| 39.75 | 69 | 0.603774 |
7ff72c9ae422efea9611cb77462096f66d4f021d | 1,623 | go | Go | address_test.go | engvik/sbanken-go | 4d2661ca04c94021554dc1f8ef6970c4189a55a0 | [
"MIT"
] | null | null | null | address_test.go | engvik/sbanken-go | 4d2661ca04c94021554dc1f8ef6970c4189a55a0 | [
"MIT"
] | 1 | 2021-05-07T21:01:03.000Z | 2021-05-07T21:01:03.000Z | address_test.go | engvik/sbanken-go | 4d2661ca04c94021554dc1f8ef6970c4189a55a0 | [
"MIT"
] | null | null | null | package sbanken
import "testing"
func TestAddressString(t *testing.T) {
tests := []struct {
name string
addr Address
exp string
}{
{
name: "should handle empty address struct",
addr: Address{},
exp: "",
},
{
name: "should handle partly filled address struct",
addr: Address{
AddressL... | 21.932432 | 88 | 0.597659 |
fb451ac2fbade63894a5eee25e6c4d4871eb3827 | 1,916 | h | C | racket/src/racket/gc2/gc2_dump.h | lkh01/racket | 6a1328cd775f1e44180ce5c84244483b5df9ca91 | [
"Apache-2.0"
] | 10 | 2018-07-29T04:13:52.000Z | 2022-02-14T16:11:17.000Z | racket/src/racket/gc2/gc2_dump.h | lkh01/racket | 6a1328cd775f1e44180ce5c84244483b5df9ca91 | [
"Apache-2.0"
] | 15 | 2017-08-25T20:26:37.000Z | 2022-02-26T17:48:40.000Z | racket/src/racket/gc2/gc2_dump.h | lkh01/racket | 6a1328cd775f1e44180ce5c84244483b5df9ca91 | [
"Apache-2.0"
] | 3 | 2016-04-25T11:47:57.000Z | 2017-05-09T14:52:48.000Z |
/* Extra headers for the GC2 tracing interface */
#ifndef __mzscheme_gc_2_dump__
#define __mzscheme_gc_2_dump__
typedef char *(*GC_get_type_name_proc)(short t);
typedef void (*GC_for_each_found_proc)(void *p);
typedef void (*GC_for_each_struct_proc)(void *p, int sz);
typedef int (*GC_record_traced_filter_proc)(void... | 39.916667 | 97 | 0.674322 |
f04d3917118eeab7daa5965475644fcb12277751 | 230 | py | Python | code_examples/projections/cyl.py | ezcitron/BasemapTutorial | 0db9248b430d39518bdfdb25d713145be4eb966a | [
"CC0-1.0"
] | 99 | 2015-01-14T21:20:48.000Z | 2022-01-25T10:38:37.000Z | code_examples/projections/cyl.py | ezcitron/BasemapTutorial | 0db9248b430d39518bdfdb25d713145be4eb966a | [
"CC0-1.0"
] | 1 | 2017-08-31T07:02:20.000Z | 2017-08-31T07:02:20.000Z | code_examples/projections/cyl.py | ezcitron/BasemapTutorial | 0db9248b430d39518bdfdb25d713145be4eb966a | [
"CC0-1.0"
] | 68 | 2015-01-14T21:21:01.000Z | 2022-01-29T14:53:38.000Z | from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
map = Basemap(projection='cyl')
map.drawmapboundary(fill_color='aqua')
map.fillcontinents(color='coral',lake_color='aqua')
map.drawcoastlines()
plt.show() | 23 | 51 | 0.795652 |
1bf9a5c8ffe9987a2e81a7ae90f3d014208ebcd7 | 2,651 | py | Python | tests/integ_tests/test_photofile.py | aaronkollasch/photomanager | fd00ac3edbb440547d2f1af55b0d0f899b9799c5 | [
"MIT"
] | null | null | null | tests/integ_tests/test_photofile.py | aaronkollasch/photomanager | fd00ac3edbb440547d2f1af55b0d0f899b9799c5 | [
"MIT"
] | 16 | 2021-05-31T09:41:09.000Z | 2021-12-07T18:43:50.000Z | tests/integ_tests/test_photofile.py | aaronkollasch/photomanager | fd00ac3edbb440547d2f1af55b0d0f899b9799c5 | [
"MIT"
] | null | null | null | from pathlib import Path
from datetime import timezone, timedelta
import pytest
from photomanager.pyexiftool import ExifTool
from photomanager.photofile import PhotoFile
FIXTURE_DIR = Path(__file__).resolve().parent.parent / "test_files"
ALL_IMG_DIRS = pytest.mark.datafiles(
FIXTURE_DIR / "A",
FIXTURE_DIR / "B... | 28.202128 | 79 | 0.606186 |
bc391d2b35fe6eebb8ff48e65a03d885b28f89ad | 485 | sql | SQL | src/sql/update_2_to_3.sql | SolraBizna/tsong | 01dbf8cff1454766f70fb0042eeecc4efe9b2018 | [
"MIT"
] | null | null | null | src/sql/update_2_to_3.sql | SolraBizna/tsong | 01dbf8cff1454766f70fb0042eeecc4efe9b2018 | [
"MIT"
] | 24 | 2021-02-14T17:14:19.000Z | 2021-06-15T20:23:25.000Z | src/sql/update_2_to_3.sql | SolraBizna/tsong | 01dbf8cff1454766f70fb0042eeecc4efe9b2018 | [
"MIT"
] | null | null | null | BEGIN TRANSACTION;
CREATE TABLE NewPhysicalFiles(
id BINARY(16) PRIMARY KEY,
size INTEGER NOT NULL,
duration INTEGER NOT NULL,
relative_paths BLOB NOT NULL
);
INSERT INTO NewPhysicalFiles(id, size, duration, relative_paths)
SELECT id, size, duration, relative_paths FROM PhysicalFiles;
DROP T... | 32.333333 | 64 | 0.77732 |
6eed63351dcc5b178b85e6ebf93785cc68058915 | 598 | html | HTML | templates/upgrade_landing.html | fwang18/biz_plan | 261609c51118559ee3ce6b45a2bc7b5d9c73b34c | [
"MIT"
] | null | null | null | templates/upgrade_landing.html | fwang18/biz_plan | 261609c51118559ee3ce6b45a2bc7b5d9c73b34c | [
"MIT"
] | null | null | null | templates/upgrade_landing.html | fwang18/biz_plan | 261609c51118559ee3ce6b45a2bc7b5d9c73b34c | [
"MIT"
] | 1 | 2018-04-23T06:02:38.000Z | 2018-04-23T06:02:38.000Z | <head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-118590596-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-118590... | 35.176471 | 97 | 0.657191 |
7d5745c274746b814e94909aeeb9be045f733e79 | 1,368 | html | HTML | Exercicio-09/index.html | FredGuarana/HTML5-CSS | 96f1f5736dee8892c2ecef5e6711d20f1fef5bec | [
"MIT"
] | null | null | null | Exercicio-09/index.html | FredGuarana/HTML5-CSS | 96f1f5736dee8892c2ecef5e6711d20f1fef5bec | [
"MIT"
] | null | null | null | Exercicio-09/index.html | FredGuarana/HTML5-CSS | 96f1f5736dee8892c2ecef5e6711d20f1fef5bec | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Listas</title>
</head>
<body>
<h1>Trabalhando com listas</h1>
<h2>Listas ordenadas</h2>
<ol>
... | 21.375 | 74 | 0.431287 |
5dbe2a08c32c18ba46b830989030e030970e543f | 7,255 | kt | Kotlin | feature-account-impl/src/main/java/io/novafoundation/nova/feature_account_impl/data/mappers/Mappers.kt | nova-wallet/nova-android-app | 5bf5edaf809a016f0fc1cf24787100ef78b97d28 | [
"Apache-2.0"
] | 8 | 2021-11-02T08:58:41.000Z | 2022-03-24T17:59:17.000Z | feature-account-impl/src/main/java/io/novafoundation/nova/feature_account_impl/data/mappers/Mappers.kt | nova-wallet/nova-android-app | 5bf5edaf809a016f0fc1cf24787100ef78b97d28 | [
"Apache-2.0"
] | null | null | null | feature-account-impl/src/main/java/io/novafoundation/nova/feature_account_impl/data/mappers/Mappers.kt | nova-wallet/nova-android-app | 5bf5edaf809a016f0fc1cf24787100ef78b97d28 | [
"Apache-2.0"
] | 1 | 2022-01-17T03:18:30.000Z | 2022-01-17T03:18:30.000Z | package io.novafoundation.nova.feature_account_impl.data.mappers
import io.novafoundation.nova.common.resources.ResourceManager
import io.novafoundation.nova.common.utils.filterNotNull
import io.novafoundation.nova.core.model.CryptoType
import io.novafoundation.nova.core.model.Node
import io.novafoundation.nova.core.m... | 37.984293 | 132 | 0.722812 |
73b1c091d198a73c9694b3dd7dd89b3ae63741e2 | 735 | sql | SQL | migrations/15_update_items_table.up.sql | psalmeight/products-api | ddb411cd6a4df3cd927655988c4cf6ec14b8fa7e | [
"Apache-2.0"
] | null | null | null | migrations/15_update_items_table.up.sql | psalmeight/products-api | ddb411cd6a4df3cd927655988c4cf6ec14b8fa7e | [
"Apache-2.0"
] | null | null | null | migrations/15_update_items_table.up.sql | psalmeight/products-api | ddb411cd6a4df3cd927655988c4cf6ec14b8fa7e | [
"Apache-2.0"
] | null | null | null | ALTER TABLE items
ALTER COLUMN item SET DEFAULT '',
ALTER COLUMN description SET DEFAULT '',
ALTER COLUMN stock_code SET DEFAULT '',
ALTER COLUMN barcode SET DEFAULT '',
ALTER COLUMN "uom" SET DEFAULT '',
ALTER COLUMN "packaging" SET DEFAULT '',
ALTER COLUMN "package_qty" SET DEFAULT 0,
... | 40.833333 | 54 | 0.710204 |
6ef1dae07e4109082ecd7ca66dfde4a1bd9baedc | 1,443 | html | HTML | client/src/app/controls/choiceSlider/controlsChoiceSlider.html | bionikspoon/Annotation-Tool | 0067d55259c02f0d1f1183c9814414f226c7f71f | [
"BSD-3-Clause"
] | null | null | null | client/src/app/controls/choiceSlider/controlsChoiceSlider.html | bionikspoon/Annotation-Tool | 0067d55259c02f0d1f1183c9814414f226c7f71f | [
"BSD-3-Clause"
] | 1 | 2015-10-13T18:32:51.000Z | 2015-10-13T19:11:36.000Z | client/src/app/controls/choiceSlider/controlsChoiceSlider.html | bionikspoon/Annotation-Tool | 0067d55259c02f0d1f1183c9814414f226c7f71f | [
"BSD-3-Clause"
] | null | null | null | <div class=choiceSlider>
<div layout-gt-md=row
layout-align-gt-md="start end"
layout-sm=column>
<md-input-container flex-gt-md=20
flex-sm>
<label for={{::vm.meta.name}}_id
class=md-body-2>{{::vm.meta.label}}
</label>
<input
... | 34.357143 | 92 | 0.510049 |
ddd9d1ae5e56201f6fa7a57194564063ca39b2e9 | 7,132 | php | PHP | maitinh/controllers/ncat.php | frontendvn/luocbao | 645d6461a0de698b2696279938072ea848b64a4c | [
"Apache-2.0"
] | null | null | null | maitinh/controllers/ncat.php | frontendvn/luocbao | 645d6461a0de698b2696279938072ea848b64a4c | [
"Apache-2.0"
] | null | null | null | maitinh/controllers/ncat.php | frontendvn/luocbao | 645d6461a0de698b2696279938072ea848b64a4c | [
"Apache-2.0"
] | null | null | null | <?php
class ncat extends Controller {
var $mod = "ncat";
function ncat()
{
parent::Controller();
$this->config->load('config_'.$this->mod);
// directory of the view, just to reduce number of typed text
$this->view_dir = $this->config->item('view_dir');
// load default page into current view page, for def... | 35.133005 | 111 | 0.617358 |
bc2cc32eb3d4612310a2535836cbcc73e5c6e615 | 1,989 | swift | Swift | Sources/BIKCharts/LineChart/LinePointShape/LinePointShape.swift | ilyadaberdil/BIKCharts | 60e26720ac3df25434e68822689e928e0731e5ca | [
"MIT"
] | 8 | 2021-05-16T05:34:34.000Z | 2022-03-26T11:28:58.000Z | Sources/BIKCharts/LineChart/LinePointShape/LinePointShape.swift | Mrtckr008/BIKCharts | 60e26720ac3df25434e68822689e928e0731e5ca | [
"MIT"
] | null | null | null | Sources/BIKCharts/LineChart/LinePointShape/LinePointShape.swift | Mrtckr008/BIKCharts | 60e26720ac3df25434e68822689e928e0731e5ca | [
"MIT"
] | 1 | 2021-05-16T09:39:28.000Z | 2021-05-16T09:39:28.000Z | //
// PointShape.swift
// Charts
//
// Created by Berdil İlyada Karacam on 15.03.2020.
// Copyright © 2020 Berdil İlyada Karacam. All rights reserved.
//
import SwiftUI
struct LinePointShape: Shape {
// MARK: - Properties
private let viewModel: LinePointShapeModel
init(viewModel: LinePo... | 30.6 | 90 | 0.507793 |
b67f2a12202ba0156eaaaac897bdbd7224787fd6 | 264 | rb | Ruby | lib/income_tax/countries/netherlands.rb | TrimAgency/income-tax | 009357977f62c82ebebe9d7cad4f38abebf0f58c | [
"MIT"
] | 360 | 2015-10-29T23:47:27.000Z | 2022-01-19T08:29:40.000Z | lib/income_tax/countries/netherlands.rb | TrimAgency/income-tax | 009357977f62c82ebebe9d7cad4f38abebf0f58c | [
"MIT"
] | 9 | 2015-10-31T01:09:00.000Z | 2016-12-25T04:30:28.000Z | lib/income_tax/countries/netherlands.rb | TrimAgency/income-tax | 009357977f62c82ebebe9d7cad4f38abebf0f58c | [
"MIT"
] | 33 | 2015-10-30T18:16:34.000Z | 2022-03-30T13:08:53.000Z | module IncomeTax
module Countries
class Netherlands < Models::Progressive
register "Netherlands", "NL", "NLD"
currency "EUR"
level 19645, "5.85%"
level 33363, "10.85%"
level 55991, "42%"
remainder "52%"
end
end
end
| 18.857143 | 43 | 0.594697 |
5c908ba3d23e72308c265e09b92ed06b6f79aa0f | 259 | c | C | lib/libm_dbl/__fpclassify.c | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 13,648 | 2015-01-01T01:34:51.000Z | 2022-03-31T16:19:53.000Z | lib/libm_dbl/__fpclassify.c | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 7,092 | 2015-01-01T07:59:11.000Z | 2022-03-31T23:52:18.000Z | lib/libm_dbl/__fpclassify.c | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 4,942 | 2015-01-02T11:48:50.000Z | 2022-03-31T19:57:10.000Z | #include <math.h>
#include <stdint.h>
int __fpclassifyd(double x)
{
union {double f; uint64_t i;} u = {x};
int e = u.i>>52 & 0x7ff;
if (!e) return u.i<<1 ? FP_SUBNORMAL : FP_ZERO;
if (e==0x7ff) return u.i<<12 ? FP_NAN : FP_INFINITE;
return FP_NORMAL;
}
| 21.583333 | 53 | 0.640927 |
a9c230e841e06ab50c410af321feb063680cb0cc | 1,551 | html | HTML | popup.html | krish1000/Extension_WebBlocker | c28b9319c42f7a49fee8a4c4280b95cd8ae3b188 | [
"MIT"
] | 1 | 2020-07-24T18:04:30.000Z | 2020-07-24T18:04:30.000Z | popup.html | krish1000/Extension_WebBlocker | c28b9319c42f7a49fee8a4c4280b95cd8ae3b188 | [
"MIT"
] | null | null | null | popup.html | krish1000/Extension_WebBlocker | c28b9319c42f7a49fee8a4c4280b95cd8ae3b188 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width = device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Web Blocker Ext.</title>
<link
href="https://fonts.googleapis.com/css2?family=Open+Sans&... | 32.3125 | 199 | 0.614442 |
59aff735a1ae861ed0ee2d94dc63641630342577 | 2,287 | swift | Swift | _Finn-No-iOS-UI-Components-FinniversKit/Demo/Sources/Demo/NavigationController.swift | luannguyen252/my-swift-journey | 788d66f256358dc5aefa2f3093ef74fd572e83b3 | [
"MIT"
] | 14 | 2020-12-09T08:53:39.000Z | 2021-12-07T09:15:44.000Z | _Finn-No-iOS-UI-Components-FinniversKit/Demo/Sources/Demo/NavigationController.swift | luannguyen252/my-swift-journey | 788d66f256358dc5aefa2f3093ef74fd572e83b3 | [
"MIT"
] | 15 | 2021-01-27T12:15:32.000Z | 2022-02-23T12:20:21.000Z | _Finn-No-iOS-UI-Components-FinniversKit/Demo/Sources/Demo/NavigationController.swift | luannguyen252/my-swift-journey | 788d66f256358dc5aefa2f3093ef74fd572e83b3 | [
"MIT"
] | 8 | 2020-12-10T05:59:26.000Z | 2022-01-03T07:49:21.000Z | import UIKit
class NavigationController: UINavigationController {
private var hairlineView: UIView?
var hairlineIsHidden: Bool = false {
didSet {
hairlineView?.isHidden = hairlineIsHidden
if hairlineIsHidden {
navigationBar.shadowImage = UIImage()
}
... | 32.671429 | 151 | 0.626585 |
b860781caaf18cc7f5f7d4292203ae9be6ae8f48 | 327 | rs | Rust | tools/ssp16asm/src/main.rs | jdesiloniz/svpdev | 13438d71c9cd45c8f78f9768732c40ddec2548d9 | [
"MIT"
] | 42 | 2021-02-09T18:15:27.000Z | 2022-03-21T23:51:05.000Z | tools/ssp16asm/src/main.rs | jdesiloniz/ssp16asm | 13438d71c9cd45c8f78f9768732c40ddec2548d9 | [
"MIT"
] | 2 | 2021-02-16T21:07:07.000Z | 2021-02-16T21:08:31.000Z | tools/ssp16asm/src/main.rs | jdesiloniz/ssp16asm | 13438d71c9cd45c8f78f9768732c40ddec2548d9 | [
"MIT"
] | 3 | 2021-02-22T08:08:27.000Z | 2021-12-22T20:21:07.000Z | use ssp16asm::Config;
use std::process;
fn main() {
if let Ok(config) = Config::new_from_args() {
if let Err(e) = ssp16asm::run(config) {
eprintln!("Application error(s): \n\n{}", e);
process::exit(1);
} else {
println!("Assembly process complete.");
};
... | 23.357143 | 57 | 0.513761 |
343b9cfe0ae3ceed130d90365597e30b26507153 | 274 | sql | SQL | src/main/resources/db/migration/V0001__cria-tabela-cliente.sql | dev-vinicius-prado/mergulho-spring-rest | f27214ad5386f3d1d34c7e42be5861a6a939a76c | [
"MIT"
] | null | null | null | src/main/resources/db/migration/V0001__cria-tabela-cliente.sql | dev-vinicius-prado/mergulho-spring-rest | f27214ad5386f3d1d34c7e42be5861a6a939a76c | [
"MIT"
] | null | null | null | src/main/resources/db/migration/V0001__cria-tabela-cliente.sql | dev-vinicius-prado/mergulho-spring-rest | f27214ad5386f3d1d34c7e42be5861a6a939a76c | [
"MIT"
] | null | null | null | CREATE TABLE cliente (
id bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 9223372036854775807 CACHE 1 ),
nome varchar(60) not null,
email varchar(255) not null,
telefone varchar(20) not null,
primary key(id)
); | 34.25 | 128 | 0.718978 |
41fd518c3e5205f2c02880b9a6a1e4b1fc7a5ba9 | 1,411 | c | C | test/strsep.c | guijan/libobsd | aa1419afe7b4daf80d69cb5547b827f2116da38e | [
"Unlicense"
] | null | null | null | test/strsep.c | guijan/libobsd | aa1419afe7b4daf80d69cb5547b827f2116da38e | [
"Unlicense"
] | null | null | null | test/strsep.c | guijan/libobsd | aa1419afe7b4daf80d69cb5547b827f2116da38e | [
"Unlicense"
] | null | null | null | /*
* Copyright (c) 2022 Guilherme Janczak <guilherme.janczak@yandex.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVI... | 32.813953 | 75 | 0.666903 |
34238fb747069daff223cacd69c47953b6b8ff7f | 305 | kt | Kotlin | native_library/android/InAppPurchaseANE/app/src/main/java/com/tuarua/inapppurchaseane/extensions/FreBillingResult.kt | tuarua/InAppPurchases-ANE | 1e4546232601c26d55059d3af32954c86a8c57c9 | [
"Apache-2.0"
] | 11 | 2020-01-11T03:52:47.000Z | 2021-12-18T04:03:27.000Z | native_library/android/InAppPurchaseANE/app/src/main/java/com/tuarua/inapppurchaseane/extensions/FreBillingResult.kt | tuarua/InAppPurchases-ANE | 1e4546232601c26d55059d3af32954c86a8c57c9 | [
"Apache-2.0"
] | null | null | null | native_library/android/InAppPurchaseANE/app/src/main/java/com/tuarua/inapppurchaseane/extensions/FreBillingResult.kt | tuarua/InAppPurchases-ANE | 1e4546232601c26d55059d3af32954c86a8c57c9 | [
"Apache-2.0"
] | 1 | 2021-07-14T08:24:09.000Z | 2021-07-14T08:24:09.000Z | package com.tuarua.inapppurchaseane.extensions
import com.adobe.fre.FREObject
import com.android.billingclient.api.BillingResult
import com.tuarua.frekotlin.FREObject
fun BillingResult.toFREObject(): FREObject? {
return FREObject("com.tuarua.iap.billing.BillingResult", responseCode, debugMessage)
} | 33.888889 | 88 | 0.829508 |
547569137b7892c67341d8472c079dc735b0ed88 | 1,006 | go | Go | cmd/pinkie/main.go | inabagumi/pinkie | 9fdac9d9099209630505a9aa9239a61927fe4af2 | [
"MIT"
] | 1 | 2022-01-17T02:43:13.000Z | 2022-01-17T02:43:13.000Z | cmd/pinkie/main.go | inabagumi/pinkie | 9fdac9d9099209630505a9aa9239a61927fe4af2 | [
"MIT"
] | 179 | 2019-10-30T20:46:11.000Z | 2022-03-30T18:56:59.000Z | cmd/pinkie/main.go | inabagumi/ytc | fece193b81883e67467938eb40b9e61abf3fc397 | [
"MIT"
] | null | null | null | package main
import (
"log"
"os"
"path/filepath"
pinkie "github.com/inabagumi/pinkie/v4/pkg/client"
"github.com/inabagumi/pinkie/v4/pkg/crawler"
"gopkg.in/alecthomas/kingpin.v2"
)
var version = "dev"
func main() {
app := kingpin.New(filepath.Base(os.Args[0]), "The Pinkie is a crawler that uses the YouTube Da... | 20.530612 | 105 | 0.666004 |
3321631f6d51317e5fd544639735a47e50542ab6 | 11,369 | py | Python | AppDB/appscale/datastore/fdb/transactions.py | obino/appscale | be17e5f658d7b42b5aa7eeb7a5ddd4962f3ea82f | [
"Apache-2.0"
] | 1 | 2017-04-07T15:33:35.000Z | 2017-04-07T15:33:35.000Z | AppDB/appscale/datastore/fdb/transactions.py | obino/appscale | be17e5f658d7b42b5aa7eeb7a5ddd4962f3ea82f | [
"Apache-2.0"
] | 1 | 2016-10-27T17:23:54.000Z | 2016-10-27T17:23:54.000Z | AppDB/appscale/datastore/fdb/transactions.py | obino/appscale | be17e5f658d7b42b5aa7eeb7a5ddd4962f3ea82f | [
"Apache-2.0"
] | null | null | null | """
This module stores and retrieves datastore transaction metadata. The
TransactionManager is the main interface that clients can use to interact with
the transaction layer. See its documentation for implementation details.
"""
from __future__ import division
import logging
import math
import random
import sys
from c... | 36.79288 | 79 | 0.723371 |
8ac1309958fba9bbbc21158e66116d57ddc4d9fe | 4,737 | sql | SQL | database vuoto.sql | M9k/TecWeb-TouhouProject-website | e561d643f55f3471f6e911bdf9aee36b614a5483 | [
"BSD-3-Clause"
] | null | null | null | database vuoto.sql | M9k/TecWeb-TouhouProject-website | e561d643f55f3471f6e911bdf9aee36b614a5483 | [
"BSD-3-Clause"
] | null | null | null | database vuoto.sql | M9k/TecWeb-TouhouProject-website | e561d643f55f3471f6e911bdf9aee36b614a5483 | [
"BSD-3-Clause"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.7.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Dec 31, 2017 at 01:51 PM
-- Server version: 10.1.26-MariaDB
-- PHP Version: 7.1.8
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
--
-- Database: `t... | 25.063492 | 132 | 0.666244 |
86faff8b4211f13c9c1701789f7896cffd968317 | 1,299 | kt | Kotlin | app/src/main/java/com/javiermendonca/atomicdropsnotifier/data/repository/AtomicDropRepository.kt | javierjmc/atomic-drops-notifier | dec1947a9e5825330d5c28ccc5be575c596986cb | [
"Apache-2.0"
] | 9 | 2021-02-21T21:37:53.000Z | 2022-03-15T16:28:23.000Z | app/src/main/java/com/javiermendonca/atomicdropsnotifier/data/repository/AtomicDropRepository.kt | javierjmc/atomic-drops-notifier | dec1947a9e5825330d5c28ccc5be575c596986cb | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/javiermendonca/atomicdropsnotifier/data/repository/AtomicDropRepository.kt | javierjmc/atomic-drops-notifier | dec1947a9e5825330d5c28ccc5be575c596986cb | [
"Apache-2.0"
] | 1 | 2022-01-21T06:16:15.000Z | 2022-01-21T06:16:15.000Z | package com.javiermendonca.atomicdropsnotifier.data.repository
import android.content.SharedPreferences
import com.javiermendonca.atomicdropsnotifier.data.api.AtomicAssetsApi
import com.javiermendonca.atomicdropsnotifier.data.api.ChainApi
import com.javiermendonca.atomicdropsnotifier.data.api.TemplateResult
import com... | 36.083333 | 90 | 0.750577 |
82bf35137ba01e7cce758243dc5f5e6bbfb30287 | 487 | asm | Assembly | oeis/194/A194589.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/194/A194589.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/194/A194589.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A194589: a(n) = A194588(n) - A005043(n); complementary Riordan numbers.
; Submitted by Jon Maiga
; 0,0,1,1,5,11,34,92,265,751,2156,6194,17874,51702,149941,435749,1268761,3700391,10808548,31613474,92577784,271407896,796484503,2339561795,6877992334,20236257626,59581937299,175546527727,517538571125,1526679067331,4505996... | 24.35 | 227 | 0.694045 |
c2d1bf63db10687f883274bebb9450997bc5d6c4 | 3,754 | go | Go | pkg/mutate/mutate.go | CaoZhechuan/webhook-demo | 71142d267f621c195a4b187c0e2677c5a4895683 | [
"Apache-2.0"
] | null | null | null | pkg/mutate/mutate.go | CaoZhechuan/webhook-demo | 71142d267f621c195a4b187c0e2677c5a4895683 | [
"Apache-2.0"
] | null | null | null | pkg/mutate/mutate.go | CaoZhechuan/webhook-demo | 71142d267f621c195a4b187c0e2677c5a4895683 | [
"Apache-2.0"
] | null | null | null | // Package mutate deals with AdmissionReview requests and responses, it takes in the request body and returns a readily converted JSON []byte that can be
// returned from a http Handler w/o needing to further convert or modify it, it also makes testing Mutate() kind of easy w/o need for a fake http server, etc.
package... | 28.439394 | 158 | 0.694459 |
b23448128f916eac53613cdf5b9342ffb9aace93 | 844 | lua | Lua | Localization.lua | yannlugrin/WhatsTraining | 7883356f2affbfe3ec66b7e5a1f216e203d53730 | [
"MIT"
] | null | null | null | Localization.lua | yannlugrin/WhatsTraining | 7883356f2affbfe3ec66b7e5a1f216e203d53730 | [
"MIT"
] | null | null | null | Localization.lua | yannlugrin/WhatsTraining | 7883356f2affbfe3ec66b7e5a1f216e203d53730 | [
"MIT"
] | null | null | null | local _, wt = ...
local localeText = {
enUS = {
AVAILABLE_HEADER = "Available Now",
MISSINGREQS_HEADER = "Available but Missing Requirements",
NEXTLEVEL_HEADER = "Coming Soon",
NOTLEVEL_HEADER = "Not Yet Available",
MISSINGTALENT_HEADER = "Missing Required Talents",
... | 29.103448 | 75 | 0.61019 |
20faf22ed980cda6424aa22e669b1edfd3eaed4e | 139 | css | CSS | css/app.css | electron-game-console/electron-game-console | d9955ef9d13f82bb843b73c64f9e1cabd1056257 | [
"CC0-1.0"
] | null | null | null | css/app.css | electron-game-console/electron-game-console | d9955ef9d13f82bb843b73c64f9e1cabd1056257 | [
"CC0-1.0"
] | null | null | null | css/app.css | electron-game-console/electron-game-console | d9955ef9d13f82bb843b73c64f9e1cabd1056257 | [
"CC0-1.0"
] | null | null | null | @import url('nabro/_reset.css');
@import url('nabro/_variables.css');
@import url('nabro/_main.css');
@import url('nabro/_game-menu.css');
| 27.8 | 36 | 0.705036 |
f77fba8b097c2708d527f93cd691b66ada2a7fcc | 1,010 | c | C | core/lb_tcp_secret_seq.c | muziding/jupiter | 1fd7df081f7b459ee5e951ff16ca1741f6c8e021 | [
"MIT"
] | 287 | 2017-12-17T14:48:00.000Z | 2022-03-28T06:12:07.000Z | core/lb_tcp_secret_seq.c | tydhome/jupiter | 6b1206af3303ebd934df969e8894cdd93acfd09f | [
"MIT"
] | 18 | 2017-12-18T15:50:59.000Z | 2020-05-14T09:19:38.000Z | core/lb_tcp_secret_seq.c | tydhome/jupiter | 6b1206af3303ebd934df969e8894cdd93acfd09f | [
"MIT"
] | 109 | 2017-12-19T03:42:09.000Z | 2022-03-25T11:25:39.000Z | /* Copyright (c) 2018. TIG developer. */
#include <rte_cycles.h>
#include <rte_random.h>
#include "lb_md5.h"
#include "lb_tcp_secret_seq.h"
#ifndef __rte_cache_aligned
#define __rte_cache_aligned __rte_aligned(RTE_CACHE_LINE_SIZE)
#endif
static uint32_t seq_secret[MD5_MESSAGE_BYTES / 4] __rte_cache_aligned;
static... | 21.041667 | 79 | 0.651485 |
775a6720577b417b8daaa8c07c5fc70715e38f5a | 1,040 | html | HTML | index.html | AntonioMadureira22/CodeQuiz | 1ff7292a088fc5d1dac707d76e15236dc94fa359 | [
"MIT"
] | null | null | null | index.html | AntonioMadureira22/CodeQuiz | 1ff7292a088fc5d1dac707d76e15236dc94fa359 | [
"MIT"
] | null | null | null | index.html | AntonioMadureira22/CodeQuiz | 1ff7292a088fc5d1dac707d76e15236dc94fa359 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<header>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Code Quiz</title>
<link rel="stylesheet" href="./code-quiz/asset/style.css" />
</header>
</ht... | 30.588235 | 192 | 0.627885 |
3e1e0a89b295d87aa00816367a3a51aa67bafee1 | 264 | sql | SQL | Bundle/CoreBundle/Resources/databases/core/sql/pre_sync/100_auto_auditable_behavior.sql | eulogix/cool-bundle | 5a78c1135226f2367f47a736fa89f23e3c19006f | [
"MIT"
] | 2 | 2017-05-15T16:10:48.000Z | 2018-02-22T07:31:18.000Z | Bundle/CoreBundle/Resources/databases/core/sql/pre_sync/100_auto_auditable_behavior.sql | eulogix/cool-bundle | 5a78c1135226f2367f47a736fa89f23e3c19006f | [
"MIT"
] | null | null | null | Bundle/CoreBundle/Resources/databases/core/sql/pre_sync/100_auto_auditable_behavior.sql | eulogix/cool-bundle | 5a78c1135226f2367f47a736fa89f23e3c19006f | [
"MIT"
] | null | null | null | /* file generation UUID: 5cc2f85170daf */
--
-- Remove Auditing triggers for async_job
--
DROP FUNCTION if EXISTS async_job_audf() CASCADE;
--
-- Remove Auditing triggers for user_notification
--
DROP FUNCTION if EXISTS user_notification_audf() CASCADE;
| 13.2 | 57 | 0.746212 |
dd55f78c4005f894a6ff5ae6272617d974432efe | 497 | go | Go | pkg/database/operations.go | progoci/progo-build | 4f682fbf81b17e477262c65fc9e4edc66276175a | [
"MIT"
] | null | null | null | pkg/database/operations.go | progoci/progo-build | 4f682fbf81b17e477262c65fc9e4edc66276175a | [
"MIT"
] | null | null | null | pkg/database/operations.go | progoci/progo-build | 4f682fbf81b17e477262c65fc9e4edc66276175a | [
"MIT"
] | null | null | null | package database
import (
"context"
"time"
"github.com/pkg/errors"
"github.com/progoci/progo-build/pkg/build"
)
// Create inserts a new build.
func (d *Database) Create(build *build.Build) (string, error) {
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
defer cancel()
result, err :=... | 21.608696 | 73 | 0.702213 |
9c4df254ce00c2bd6b8e5e8d22358b1c3232e72e | 703 | js | JavaScript | src/form/form.index.js | YonatanKra/YOPF | b8df850036d0d08a749f207bc272b290b259f1db | [
"MIT"
] | 2 | 2019-07-27T09:17:24.000Z | 2019-09-17T11:12:19.000Z | src/form/form.index.js | YonatanKra/YOPF | b8df850036d0d08a749f207bc272b290b259f1db | [
"MIT"
] | null | null | null | src/form/form.index.js | YonatanKra/YOPF | b8df850036d0d08a749f207bc272b290b259f1db | [
"MIT"
] | 1 | 2019-01-03T09:17:40.000Z | 2019-01-03T09:17:40.000Z | // get the template
import template from './form.index.html';
// get the styles
import {} from './form.index.css';
class YOPFForm{
constructor(element) {
this._element = element;
this.setTemplate();
}
setTemplate() {
this._element.innerHTML = template;
this._form = this._el... | 21.96875 | 67 | 0.581792 |
d1de3528a1560b440bab4f9a0fb99c3d751d455e | 2,312 | sql | SQL | airflow/migrations/0001-add-execution-report-tables-202002041716.sql | rafaelpezzuto/opac-airflow | 7e73eaacdace5ca9d3dbcf2c5f84019568282485 | [
"BSD-2-Clause"
] | 4 | 2019-03-16T04:05:22.000Z | 2021-09-09T14:27:52.000Z | airflow/migrations/0001-add-execution-report-tables-202002041716.sql | rafaelpezzuto/opac-airflow | 7e73eaacdace5ca9d3dbcf2c5f84019568282485 | [
"BSD-2-Clause"
] | 199 | 2019-03-15T18:18:25.000Z | 2022-03-21T10:38:30.000Z | airflow/migrations/0001-add-execution-report-tables-202002041716.sql | rafaelpezzuto/opac-airflow | 7e73eaacdace5ca9d3dbcf2c5f84019568282485 | [
"BSD-2-Clause"
] | 11 | 2019-03-15T14:49:03.000Z | 2021-07-21T12:29:10.000Z | /*
* A tabela xml_documents guarda o registro de iterações dos xmls que estão dentro
* de um pacote SPS.
*
* Para cada artigo registrado ou deletado durante a sincronização, nós adicionamos
* uma entrada nesta tabela.
*/
CREATE TABLE IF NOT EXISTS xml_documents (
id SERIAL PRIMARY KEY,
pid varchar(23) NULL, ... | 47.183673 | 119 | 0.723183 |
56d08d71ec65813c8852640ec8fd0c2f600ee493 | 250 | kt | Kotlin | app/src/main/kotlin/com/werb/glideman/demo/MyAppGlideModule.kt | werbhelius/GlideMan | 002eb2b3a7650f4a9ac47abd798a1afda67dc7d1 | [
"Apache-2.0"
] | 4 | 2019-02-18T03:42:51.000Z | 2020-03-31T17:41:22.000Z | app/src/main/kotlin/com/werb/glideman/demo/MyAppGlideModule.kt | o0o0oo00/GlideMan | 17560982f0fc4d3637107c6bdb940dcce278ecc4 | [
"Apache-2.0"
] | null | null | null | app/src/main/kotlin/com/werb/glideman/demo/MyAppGlideModule.kt | o0o0oo00/GlideMan | 17560982f0fc4d3637107c6bdb940dcce278ecc4 | [
"Apache-2.0"
] | 3 | 2019-05-22T02:22:42.000Z | 2021-06-28T06:18:00.000Z | package com.werb.glideman.demo
import com.bumptech.glide.annotation.GlideModule
import com.bumptech.glide.module.AppGlideModule
/**
* 修改 Glide 的配置作用
* Created by wanbo on 2018/4/3.
*/
@GlideModule
class MyAppGlideModule : AppGlideModule() {
} | 16.666667 | 48 | 0.764 |
81ba8f041f0bf0f715e539c7408bc63a3787508a | 1,127 | go | Go | test/e2e/runtime_test.go | metacosm/runtime-component-operator | e9635ed54bf7391e6ff5362a22f04c89d8af5960 | [
"Apache-2.0"
] | null | null | null | test/e2e/runtime_test.go | metacosm/runtime-component-operator | e9635ed54bf7391e6ff5362a22f04c89d8af5960 | [
"Apache-2.0"
] | null | null | null | test/e2e/runtime_test.go | metacosm/runtime-component-operator | e9635ed54bf7391e6ff5362a22f04c89d8af5960 | [
"Apache-2.0"
] | null | null | null | package e2e
import (
"testing"
"github.com/application-stacks/runtime-component-operator/pkg/apis"
appstacksv1beta1 "github.com/application-stacks/runtime-component-operator/pkg/apis/appstacks/v1beta1"
framework "github.com/operator-framework/operator-sdk/pkg/test"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)... | 34.151515 | 103 | 0.790594 |
f0543cb40c039abb32fd9a9b28e4199de1619178 | 1,272 | js | JavaScript | src/component/Contact.js | Danomiterock/Lucas-React-Portfolio | 5c7da472a67368d1423bb06f67b9407d31fc35a0 | [
"MIT"
] | null | null | null | src/component/Contact.js | Danomiterock/Lucas-React-Portfolio | 5c7da472a67368d1423bb06f67b9407d31fc35a0 | [
"MIT"
] | null | null | null | src/component/Contact.js | Danomiterock/Lucas-React-Portfolio | 5c7da472a67368d1423bb06f67b9407d31fc35a0 | [
"MIT"
] | null | null | null | import React from "react";
import { Card, Col, Container, Row } from "react-bootstrap";
import data from "../contacts.json";
const styles = {
card: {
width: "100%",
height: "100%",
borderRadius: "5%",
borderShadow: "5px",
textAlign: "center",
},
wrapper: {
background: "#333333",
color:... | 23.127273 | 60 | 0.46305 |
39116ae8a089bcc4f40e78838c546f5488588cf0 | 7,171 | sql | SQL | plantstore_db.sql | naufalmukhbit/plantstore | 877c73e439e7e9945c026b01aa710bbb25df1b67 | [
"MIT"
] | null | null | null | plantstore_db.sql | naufalmukhbit/plantstore | 877c73e439e7e9945c026b01aa710bbb25df1b67 | [
"MIT"
] | null | null | null | plantstore_db.sql | naufalmukhbit/plantstore | 877c73e439e7e9945c026b01aa710bbb25df1b67 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Aug 04, 2019 at 04:12 AM
-- Server version: 10.1.39-MariaDB
-- PHP Version: 7.3.5
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD... | 27.26616 | 104 | 0.634918 |
9d468fb03eeae94ca58deac2d5b6269a3992743d | 6,957 | html | HTML | signup.html | wellrafi/vaya | 3676eea5a3aeb0c276fdd95a3d06b60e2a1b403b | [
"MIT"
] | null | null | null | signup.html | wellrafi/vaya | 3676eea5a3aeb0c276fdd95a3d06b60e2a1b403b | [
"MIT"
] | null | null | null | signup.html | wellrafi/vaya | 3676eea5a3aeb0c276fdd95a3d06b60e2a1b403b | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vaya Message</title>
</head>
<link rel="shortcut icon" href="./images/logo.png" type="image/x-icon">
<link re... | 61.026316 | 271 | 0.428921 |
512cc5078bdbea045b369aa2cfc919e39a6e8d6c | 2,552 | kt | Kotlin | POEHelper/app/src/main/java/com/resdev/poehelper/view/datawrappers/ItemEntityUiWrapper.kt | AlexejSrc/POEHelper | 36f552425743db80cb005b0cc0e46380955b3ac2 | [
"MIT"
] | null | null | null | POEHelper/app/src/main/java/com/resdev/poehelper/view/datawrappers/ItemEntityUiWrapper.kt | AlexejSrc/POEHelper | 36f552425743db80cb005b0cc0e46380955b3ac2 | [
"MIT"
] | null | null | null | POEHelper/app/src/main/java/com/resdev/poehelper/view/datawrappers/ItemEntityUiWrapper.kt | AlexejSrc/POEHelper | 36f552425743db80cb005b0cc0e46380955b3ac2 | [
"MIT"
] | null | null | null | package com.resdev.poehelper.view.datawrappers
import android.content.Context
import android.widget.ImageView
import androidx.databinding.BindingAdapter
import com.resdev.poehelper.MyApplication
import com.resdev.poehelper.R
import com.resdev.poehelper.model.room.ItemEntity
import com.resdev.poehelper.utils.roundPerce... | 27.44086 | 110 | 0.601097 |
564fe16ce650bec82effdccd7cc85c7cfbcd92f5 | 258 | go | Go | example/example.go | vonEdfa/go-pretty-strings | 3ef18bc4b7bff7f4802bcde03d6522b866021730 | [
"MIT"
] | null | null | null | example/example.go | vonEdfa/go-pretty-strings | 3ef18bc4b7bff7f4802bcde03d6522b866021730 | [
"MIT"
] | null | null | null | example/example.go | vonEdfa/go-pretty-strings | 3ef18bc4b7bff7f4802bcde03d6522b866021730 | [
"MIT"
] | null | null | null | package main
import (
"fmt"
pretty "github.com/vonEdfa/go-pretty-strings"
)
func main() {
fmt.Println(pretty.BorderSquare("My example bordered box", "Free Willy!", "Super Silly!\nAlmost like Billy!"))
fmt.Println(pretty.New().Title("Free Willy!"))
}
| 18.428571 | 111 | 0.70155 |
f071622f9590b0b9c9b792c99316fdf9e6d16efe | 3,261 | js | JavaScript | src/Core/CoreGameManager.js | 201flaviosilva/Impacto | e575ac973452af4468a56279ee3d0a797d96e9fa | [
"MIT"
] | 1 | 2022-03-30T09:32:15.000Z | 2022-03-30T09:32:15.000Z | src/Core/CoreGameManager.js | 201flaviosilva/Impacto | e575ac973452af4468a56279ee3d0a797d96e9fa | [
"MIT"
] | 24 | 2021-12-20T16:35:18.000Z | 2022-03-31T17:59:53.000Z | src/Core/CoreGameManager.js | 201flaviosilva/Impacto | e575ac973452af4468a56279ee3d0a797d96e9fa | [
"MIT"
] | 1 | 2022-01-17T15:51:08.000Z | 2022-01-17T15:51:08.000Z | import { GlobalStateManagerInstance } from "../State/GlobalStateManager.js";
import { CanvasStateInstance } from "../State/CanvasState.js";
/**
* @class CoreGameManager
* @description A core class to manage the game cycle.
* @private
*/
export default class CoreGameManager {
constructor() {
if (CoreGameManager.... | 20.770701 | 91 | 0.665747 |
b6be55fce85ffa3f2dba4146d03e3de3905cf6db | 2,268 | rb | Ruby | features/step_definitions/html_steps.rb | thanhlongkt2005/rspec_api_documentation | a8bc884fa985d3efb2758e1a97f2210ddfc2c815 | [
"MIT"
] | 1,038 | 2015-01-04T20:43:10.000Z | 2022-03-24T20:06:15.000Z | features/step_definitions/html_steps.rb | thanhlongkt2005/rspec_api_documentation | a8bc884fa985d3efb2758e1a97f2210ddfc2c815 | [
"MIT"
] | 306 | 2015-01-05T21:59:59.000Z | 2022-03-02T22:59:40.000Z | features/step_definitions/html_steps.rb | thanhlongkt2005/rspec_api_documentation | a8bc884fa985d3efb2758e1a97f2210ddfc2c815 | [
"MIT"
] | 294 | 2015-01-05T21:56:51.000Z | 2022-03-26T19:24:00.000Z | When /^I open the index$/ do
visit "/index.html"
end
When /^I navigate to "([^"]*)"$/ do |example|
click_link example
end
Then /^I should see the following resources:$/ do |table|
expect(all("h2").map(&:text)).to eq(table.raw.flatten)
end
Then /^I should see the following parameters:$/ do |table|
names = all... | 29.842105 | 84 | 0.682981 |
e5e8cee5f29ccaa553693d81183b95b8c69e7d33 | 78 | kt | Kotlin | idea/testData/shortenRefs/this/shortenExtensionThis.kt | qussarah/declare | c83b764c7394efa3364915d973ae79c4ebed2437 | [
"Apache-2.0"
] | 337 | 2020-05-14T00:40:10.000Z | 2022-02-16T23:39:07.000Z | idea/testData/shortenRefs/this/shortenExtensionThis.kt | qussarah/declare | c83b764c7394efa3364915d973ae79c4ebed2437 | [
"Apache-2.0"
] | 92 | 2020-06-10T23:17:42.000Z | 2020-09-25T10:50:13.000Z | idea/testData/shortenRefs/this/shortenExtensionThis.kt | qussarah/declare | c83b764c7394efa3364915d973ae79c4ebed2437 | [
"Apache-2.0"
] | 54 | 2016-02-29T16:27:38.000Z | 2020-12-26T15:02:23.000Z | class A(val n: Int) {
}
fun A.foo(): Int = <selection>this.n + 1</selection> | 15.6 | 52 | 0.602564 |
7537ca563e6f1aa87f9099029f6adddd23418314 | 733 | lua | Lua | spec/02-DOM/13-CDATASection_spec.lua | alerque/expadom | d44fc52c6c1a9e265a3f012dce0fc35ab7da878f | [
"MIT"
] | 1 | 2022-03-17T16:46:29.000Z | 2022-03-17T16:46:29.000Z | spec/02-DOM/13-CDATASection_spec.lua | alerque/expadom | d44fc52c6c1a9e265a3f012dce0fc35ab7da878f | [
"MIT"
] | null | null | null | spec/02-DOM/13-CDATASection_spec.lua | alerque/expadom | d44fc52c6c1a9e265a3f012dce0fc35ab7da878f | [
"MIT"
] | 1 | 2022-03-22T10:49:02.000Z | 2022-03-22T10:49:02.000Z | describe("CDATASection:", function()
local CDATASection = require "expadom.CDATASection"
describe("properties:", function()
it("reports proper nodeName", function()
local cd = CDATASection { data = "hello world" }
assert.equal("#cdata-section", cd.nodeName)
end)
it("reports proper nodeValue", funct... | 16.659091 | 56 | 0.648022 |
396896a1e17e315c15cbca0adec0f3272bb22e48 | 17,484 | html | HTML | application/platform/view/index/mansonglist.html | tzwjt/xcshop | 780d7dbc0893c9db02deb0156281d1bb2c329ab7 | [
"Apache-2.0"
] | null | null | null | application/platform/view/index/mansonglist.html | tzwjt/xcshop | 780d7dbc0893c9db02deb0156281d1bb2c329ab7 | [
"Apache-2.0"
] | null | null | null | application/platform/view/index/mansonglist.html | tzwjt/xcshop | 780d7dbc0893c9db02deb0156281d1bb2c329ab7 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta name="renderer" content="webkit"/>
<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1"/>
<title>{$platformName}</title>
<link rel="stylesheet" type="text/css" href="__STATIC__/blue/bootstrap/css/bootstrap.css"/>
<link rel="stylesheet" type="text/css" hr... | 44.151515 | 142 | 0.387097 |
16c111bc064b6755faf99a842a66efad336faff7 | 226 | ts | TypeScript | projects/web/src/utils/components.ts | raulfdm/medium-blog | d615febfd1792ccd3ba2d9f3ef18d7f1c41d0213 | [
"MIT"
] | 10 | 2020-03-31T23:30:34.000Z | 2022-02-19T05:36:27.000Z | projects/web/src/utils/components.ts | raulfdm/raulmelo.dev | d615febfd1792ccd3ba2d9f3ef18d7f1c41d0213 | [
"MIT"
] | 374 | 2020-03-08T20:47:19.000Z | 2020-11-28T11:47:35.000Z | projects/web/src/utils/components.ts | raulfdm/medium-blog | d615febfd1792ccd3ba2d9f3ef18d7f1c41d0213 | [
"MIT"
] | 3 | 2020-04-03T01:35:20.000Z | 2021-08-13T07:19:50.000Z | import React from 'react';
import { equals } from 'ramda';
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
export const deepMemo = <T>(component: React.SFC<T>) =>
React.memo(component, equals);
| 32.285714 | 76 | 0.734513 |
2a6e50bdd9d44841a471e131b909e1129fdddc51 | 3,373 | java | Java | src/kripto/algs/MyCamellia.java | BNikola/Crypto | 1c15dd9354d1aeb6f1bbe1387c1a78556e51348c | [
"MIT"
] | null | null | null | src/kripto/algs/MyCamellia.java | BNikola/Crypto | 1c15dd9354d1aeb6f1bbe1387c1a78556e51348c | [
"MIT"
] | null | null | null | src/kripto/algs/MyCamellia.java | BNikola/Crypto | 1c15dd9354d1aeb6f1bbe1387c1a78556e51348c | [
"MIT"
] | null | null | null | package kripto.algs;
import org.bouncycastle.crypto.DataLengthException;
import org.bouncycastle.crypto.InvalidCipherTextException;
import org.bouncycastle.crypto.engines.CamelliaEngine;
import org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher;
import org.bouncycastle.crypto.params.KeyParameter;
import javax... | 29.077586 | 93 | 0.627928 |
3ddd68d1f39f783c630afdcf674b0ee4672352be | 509 | swift | Swift | VideoClipAnnotationEditor/VideoClipDelegate.swift | fleurdeswift/video-clip-annotation-editor | e3a4df29748202d9ce146190bb6387b82d0e7fbc | [
"MIT"
] | 2 | 2016-06-22T04:57:55.000Z | 2017-12-02T19:07:56.000Z | VideoClipAnnotationEditor/VideoClipDelegate.swift | fleurdeswift/video-clip-annotation-editor | e3a4df29748202d9ce146190bb6387b82d0e7fbc | [
"MIT"
] | null | null | null | VideoClipAnnotationEditor/VideoClipDelegate.swift | fleurdeswift/video-clip-annotation-editor | e3a4df29748202d9ce146190bb6387b82d0e7fbc | [
"MIT"
] | null | null | null | //
// VideoClipDelegate.swift
// VideoClipAnnotationEditor
//
// Copyright © 2015 Fleur de Swift. All rights reserved.
//
import Foundation
public protocol VideoClipDelegate : class {
func currentTimeChanged(videoClipView: VideoClipView, point: VideoClipPoint?, event: NSEvent?);
func selectionChanged(video... | 26.789474 | 99 | 0.777996 |
5de784ef6dee804ec76e8ceaa9cfc728f505db63 | 294 | go | Go | client/endpoint/input.go | rafaeljesus/go-graylog | 0a0d82ce54044f8f174da034b969744f3180ebf1 | [
"MIT"
] | 1 | 2021-08-03T19:25:45.000Z | 2021-08-03T19:25:45.000Z | client/endpoint/input.go | rafaeljesus/go-graylog | 0a0d82ce54044f8f174da034b969744f3180ebf1 | [
"MIT"
] | null | null | null | client/endpoint/input.go | rafaeljesus/go-graylog | 0a0d82ce54044f8f174da034b969744f3180ebf1 | [
"MIT"
] | null | null | null | package endpoint
import (
"net/url"
)
// Inputs returns an Input API's endpoint url.
func (ep *Endpoints) Inputs() string {
return ep.inputs.String()
}
// Input returns an Input API's endpoint url.
func (ep *Endpoints) Input(id string) (*url.URL, error) {
return urlJoin(ep.inputs, id)
}
| 18.375 | 57 | 0.697279 |
84d8fff1c46e3ff8d9f5c65aaa0723de44012020 | 7,228 | h | C | modules/charge_only_mode/venus2_assets/battery_charge_background.h | namagi/android_device_motorola_qcom-common | 2114ad2edd693c4873e8a2897ea84864395a4c43 | [
"FTL"
] | 2 | 2015-02-16T19:40:17.000Z | 2015-02-17T15:42:35.000Z | modules/charge_only_mode/venus2_assets/battery_charge_background.h | namagi/android_device_motorola_qcom-common | 2114ad2edd693c4873e8a2897ea84864395a4c43 | [
"FTL"
] | null | null | null | modules/charge_only_mode/venus2_assets/battery_charge_background.h | namagi/android_device_motorola_qcom-common | 2114ad2edd693c4873e8a2897ea84864395a4c43 | [
"FTL"
] | 11 | 2017-01-14T22:29:16.000Z | 2019-02-12T22:17:20.000Z | static const unsigned char battery_charge_background_bits[] = {
0x1f,0x8b,0x08,0x00,0xa1,0x23,0x0e,0x4e,0x02,0x03,0xed,0xda,0x31,0x68,0x1a,0x6d,
0x1c,0xc7,0xf1,0x1b,0x3a,0x38,0x38,0x38,0x64,0x70,0xe8,0xa0,0x70,0x01,0x0f,0x32,
0xe4,0xa0,0x43,0x0e,0xb2,0x28,0x38,0x34,0x90,0xa1,0x07,0x19,0x7a,0xd0,0x45,0xf1,
0x85,0x44,0x1... | 77.72043 | 94 | 0.790537 |
5231a1445df344c9e3db3827455d49e6cabc1900 | 634 | asm | Assembly | programs/oeis/085/A085250.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/085/A085250.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/085/A085250.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A085250: 4 times hexagonal numbers: a(n) = 4*n*(2*n-1).
; 0,4,24,60,112,180,264,364,480,612,760,924,1104,1300,1512,1740,1984,2244,2520,2812,3120,3444,3784,4140,4512,4900,5304,5724,6160,6612,7080,7564,8064,8580,9112,9660,10224,10804,11400,12012,12640,13284,13944,14620,15312,16020,16744,17484,18240,19012,19800,20604,21... | 90.571429 | 547 | 0.783912 |
5f268aa61efa807f94615dd4f3c7143ef44b56d0 | 903 | ts | TypeScript | 14/lib.test.ts | rh569/advent-of-code-2021 | 391f81f323d97cd9d7a96e20daa7832cdb87b514 | [
"MIT"
] | null | null | null | 14/lib.test.ts | rh569/advent-of-code-2021 | 391f81f323d97cd9d7a96e20daa7832cdb87b514 | [
"MIT"
] | null | null | null | 14/lib.test.ts | rh569/advent-of-code-2021 | 391f81f323d97cd9d7a96e20daa7832cdb87b514 | [
"MIT"
] | 1 | 2021-12-01T11:31:02.000Z | 2021-12-01T11:31:02.000Z | import { assertEquals } from "https://deno.land/std@0.107.0/testing/asserts.ts";
import { part1, part2 } from "./lib.ts";
const testInput = `NNCB
CH -> B
HH -> N
CB -> H
NH -> C
HB -> C
HC -> B
HN -> C
NN -> C
BH -> H
NC -> B
NB -> B
BN -> B
BB -> N
BC -> B
CC -> N
CN -> C`;
Deno.test("part1", () => {
const want =... | 17.037736 | 80 | 0.611296 |
9fd6b786167b00271df74cc3f1ff8c7f3238aa4f | 2,481 | lua | Lua | Demos/UIFrameworkDemo/sb-sprites.lua | jessefreeman/GameCreator | c8277de37c8e552c14466e5197e38fc119250192 | [
"MS-PL"
] | 1 | 2020-12-10T21:09:52.000Z | 2020-12-10T21:09:52.000Z | Demos/UIFrameworkDemo/sb-sprites.lua | jessefreeman/GameCreator | c8277de37c8e552c14466e5197e38fc119250192 | [
"MS-PL"
] | null | null | null | Demos/UIFrameworkDemo/sb-sprites.lua | jessefreeman/GameCreator | c8277de37c8e552c14466e5197e38fc119250192 | [
"MS-PL"
] | 2 | 2020-01-18T16:39:37.000Z | 2022-02-16T22:36:41.000Z | -- spritelib-start
checkboxdisabled={width=1,unique=1,total=1,spriteIDs={5}}
checkboxover={width=1,unique=1,total=1,spriteIDs={2}}
checkboxselectedover={width=1,unique=1,total=1,spriteIDs={4}}
checkboxselectedup={width=1,unique=1,total=1,spriteIDs={3}}
checkboxup={width=1,unique=1,total=1,spriteIDs={1}}
hsliderhandleov... | 62.025 | 105 | 0.764208 |
2f6c70631b8342caa06a447e1f31211a3fba81ab | 1,286 | php | PHP | app/Imports/UserImport.php | saigowtham48/curdtransformer | d2db16f88180ace828957ccc493a045b115d88d3 | [
"MIT"
] | null | null | null | app/Imports/UserImport.php | saigowtham48/curdtransformer | d2db16f88180ace828957ccc493a045b115d88d3 | [
"MIT"
] | null | null | null | app/Imports/UserImport.php | saigowtham48/curdtransformer | d2db16f88180ace828957ccc493a045b115d88d3 | [
"MIT"
] | null | null | null | <?php
namespace App\Imports;
use App\User;
use Maatwebsite\Excel\Concerns\ToModel;
// use Maatwebsite\Excel\Concerns\withHeadingrow;
use Illuminate\Support\Facades\Hash;
class UserImport implements ToModel
{
/**
* @param array $row
*
* @return \Illuminate\Database\Eloquent\Model|null
*/
publi... | 25.215686 | 81 | 0.446345 |
38a72dc6c2a353a152140bbe4eb1336995809402 | 349 | h | C | DailyKit/DKTypedef.h | grasource-wangpeng/DailyKit | adef5a47179a72e99af704571c2b2bbdf4012815 | [
"MIT"
] | null | null | null | DailyKit/DKTypedef.h | grasource-wangpeng/DailyKit | adef5a47179a72e99af704571c2b2bbdf4012815 | [
"MIT"
] | null | null | null | DailyKit/DKTypedef.h | grasource-wangpeng/DailyKit | adef5a47179a72e99af704571c2b2bbdf4012815 | [
"MIT"
] | null | null | null | //
// DKTypedef.h
// DailyKit
//
// Created by 王鹏 on 2018/1/21.
// Copyright © 2018年 WANGPENG. All rights reserved.
//
#ifndef DKTypedef_h
#define DKTypedef_h
/**
用于传参
@param parameters 参数字典
*/
typedef void(^DKParameterSenderBlock)(NSDictionary *parameters);
/**
PopBlock
*/
typedef void(^DKPopBlock)(void)... | 13.423077 | 64 | 0.681948 |
43c184eb8321d1b153c5b594c3d304b644cf76bb | 634 | go | Go | align/pals/dp/sort.go | csw/biogo | d9fc0704034f216d05d6b2e752cd620a8ddc0041 | [
"BSD-3-Clause"
] | 341 | 2015-01-20T10:28:33.000Z | 2022-03-25T08:43:03.000Z | align/pals/dp/sort.go | csw/biogo | d9fc0704034f216d05d6b2e752cd620a8ddc0041 | [
"BSD-3-Clause"
] | 47 | 2015-01-20T00:38:58.000Z | 2022-01-12T03:29:20.000Z | align/pals/dp/sort.go | csw/biogo | d9fc0704034f216d05d6b2e752cd620a8ddc0041 | [
"BSD-3-Clause"
] | 67 | 2015-01-19T23:01:20.000Z | 2022-02-03T12:38:47.000Z | // Copyright ©2011-2012 The bíogo Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package dp
// Sort DPHits on start position.
type starts Hits
func (s starts) Len() int {
return len(s)
}
func (s starts) Less(i, j int) bool {
re... | 17.611111 | 63 | 0.632492 |