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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dfcd55bc957fca5ef90262ee5eef33232228baff | 762 | ts | TypeScript | src/repositories/mysql/authentication.mysql.repository.ts | ithai5/StockManagmentAPI | 99895e91fabd24846b87ec7d05f47bc21bb360a1 | [
"MIT"
] | null | null | null | src/repositories/mysql/authentication.mysql.repository.ts | ithai5/StockManagmentAPI | 99895e91fabd24846b87ec7d05f47bc21bb360a1 | [
"MIT"
] | null | null | null | src/repositories/mysql/authentication.mysql.repository.ts | ithai5/StockManagmentAPI | 99895e91fabd24846b87ec7d05f47bc21bb360a1 | [
"MIT"
] | null | null | null | import { InterfaceAuthentication } from "../interface-authentication.repository";
import { PlayerDto } from "../../models/dto/player.dto";
import { prismaMySql } from "../../database-connection/mysql.database-connection";
import { SignupDto } from "../../models/dto/signup.dto";
export const authenticationMySql: Interf... | 31.75 | 82 | 0.639108 |
e51e96650379da19d23b73ca6b7e943b66e5d48a | 2,592 | ts | TypeScript | src/chat/api/chat.gateway.ts | ArmNem/fullstackDev2021-Backend-master | ba6287756af8510b5b431ab5d7d6ae3ed04cfa77 | [
"MIT"
] | null | null | null | src/chat/api/chat.gateway.ts | ArmNem/fullstackDev2021-Backend-master | ba6287756af8510b5b431ab5d7d6ae3ed04cfa77 | [
"MIT"
] | null | null | null | src/chat/api/chat.gateway.ts | ArmNem/fullstackDev2021-Backend-master | ba6287756af8510b5b431ab5d7d6ae3ed04cfa77 | [
"MIT"
] | null | null | null | import {
ConnectedSocket,
MessageBody,
OnGatewayConnection,
OnGatewayDisconnect,
SubscribeMessage,
WebSocketGateway,
WebSocketServer,
} from '@nestjs/websockets';
import { Socket } from 'socket.io';
import { ChatService } from '../core/services/chat.service';
import { WelcomeDto } from './dto/welcome.dto'... | 30.857143 | 78 | 0.697531 |
c2c5f61434c2d54f75d71d33466c7cfc20c009f0 | 312 | sql | SQL | www/html/app/addons/affiliate/database/demo_groups_ru.sql | YotpoLtd/vagrant-cscart | 26b74900c77e79b6dfe2d02133d4c3093b558781 | [
"MIT"
] | null | null | null | www/html/app/addons/affiliate/database/demo_groups_ru.sql | YotpoLtd/vagrant-cscart | 26b74900c77e79b6dfe2d02133d4c3093b558781 | [
"MIT"
] | null | null | null | www/html/app/addons/affiliate/database/demo_groups_ru.sql | YotpoLtd/vagrant-cscart | 26b74900c77e79b6dfe2d02133d4c3093b558781 | [
"MIT"
] | null | null | null | REPLACE INTO ?:aff_group_descriptions (group_id, name, lang_code) VALUES ('1', 'Группа категории', 'ru');
REPLACE INTO ?:aff_group_descriptions (group_id, name, lang_code) VALUES ('2', 'Группа продукта', 'ru');
REPLACE INTO ?:aff_group_descriptions (group_id, name, lang_code) VALUES ('3', 'url группа 2', 'ru'); | 104 | 105 | 0.730769 |
1ce61a5405731d664cc5b3678dba17549caad538 | 3,022 | swift | Swift | GitIt/Modules/Support/Search/Search Coordinator/Model/SearchCoordinatorExtensions.swift | loay-ashraf/GitIt | 9ea99b24e80537b99ee41f4ae6b5f6f898828b1e | [
"MIT"
] | 2,292 | 2021-12-18T22:33:53.000Z | 2022-03-01T13:50:25.000Z | GitIt/Modules/Support/Search/Search Coordinator/Model/SearchCoordinatorExtensions.swift | loay-ashraf/GitIt | 9ea99b24e80537b99ee41f4ae6b5f6f898828b1e | [
"MIT"
] | 14 | 2021-12-10T11:51:05.000Z | 2022-02-28T15:45:12.000Z | GitIt/Modules/Support/Search/Search Coordinator/Model/SearchCoordinatorExtensions.swift | loay-ashraf/GitIt | 9ea99b24e80537b99ee41f4ae6b5f6f898828b1e | [
"MIT"
] | null | null | null | //
// SearchCoordinatorExtensions.swift
// GitIt
//
// Created by Loay Ashraf on 01/01/2022.
//
import UIKit
extension SearchCoordinator {
// MARK: - View Helper Methods
func render(_ state: SearchViewState) {
switch state {
case .searching: showResults()
... | 27.981481 | 125 | 0.66049 |
25648e5dbf5e12b5db6d5a7fec163e25baa3ff25 | 5,870 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_un_/i9-9900K_12_0xa0.log_1_463.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_un_/i9-9900K_12_0xa0.log_1_463.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_un_/i9-9900K_12_0xa0.log_1_463.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r9
push %rax
push %rbp
push %rcx
lea addresses_WT_ht+0x52cc, %rcx
nop
nop
nop
cmp %r9, %r9
movups (%rcx), %xmm0
vpextrq $0, %xmm0, %r12
nop
nop
nop
and $16032, %rcx
lea addresses_UC_ht+0xb3ec, %r11
nop
nop
nop
and %rbp, %rbp
mov (%r11), %a... | 19.501661 | 129 | 0.63833 |
b9753292b0dbf21a2de32b994e5c10ab32e8e271 | 1,175 | c | C | src/lib9/mingw/time.c | aks2161989/pf9 | d738ecdcbbed54ddf6cfebcb3cf76b1a2ac8fadc | [
"LPL-1.02"
] | 17 | 2019-08-08T18:00:37.000Z | 2021-01-07T11:00:03.000Z | src/lib9/mingw/time.c | aks2161989/pf9 | d738ecdcbbed54ddf6cfebcb3cf76b1a2ac8fadc | [
"LPL-1.02"
] | null | null | null | src/lib9/mingw/time.c | aks2161989/pf9 | d738ecdcbbed54ddf6cfebcb3cf76b1a2ac8fadc | [
"LPL-1.02"
] | 5 | 2019-08-08T17:37:49.000Z | 2019-12-13T10:35:48.000Z | #include <u.h>
#include <mingw32.h>
#include <time.h>
#define NOPLAN9DEFINES
#include <libc.h>
/*
* Definition of gettimeofday by Wu Yongwei, taken from
* see http://mywebpage.netscape.com/yongweiwu/timeval.h.txt
* In the public domain.
*/
#define EPOCHFILETIME (116444736000000000LL)
static int
gettimeofday(s... | 14.506173 | 60 | 0.645106 |
75e46f8926a7f127c69eeb2025144abdd7ce0d36 | 1,147 | php | PHP | backend/views/shows-download-queue/index.php | golden283219/lm-backoffice | 85ffdc37207e7f34d2915c51ed7349dc6b890de8 | [
"BSD-3-Clause"
] | null | null | null | backend/views/shows-download-queue/index.php | golden283219/lm-backoffice | 85ffdc37207e7f34d2915c51ed7349dc6b890de8 | [
"BSD-3-Clause"
] | null | null | null | backend/views/shows-download-queue/index.php | golden283219/lm-backoffice | 85ffdc37207e7f34d2915c51ed7349dc6b890de8 | [
"BSD-3-Clause"
] | null | null | null | <?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel common\models\queue\ShowsSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Shows';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="shows-index">
<?php // echo $this->r... | 24.404255 | 89 | 0.489974 |
7feadbfa81660307abf786f8203e5feb0dbaef98 | 3,640 | go | Go | gaehttpjsonrpc/gaehttpjsonrpcServer.go | ThePiachu/Go-HTTP-JSON-RPC | 8c3d5d9c928b9551d7080863414185352067af16 | [
"BSD-3-Clause"
] | 26 | 2015-03-15T08:43:36.000Z | 2019-11-08T00:12:55.000Z | gaehttpjsonrpc/gaehttpjsonrpcServer.go | ThePiachu/Go-HTTP-JSON-RPC | 8c3d5d9c928b9551d7080863414185352067af16 | [
"BSD-3-Clause"
] | 1 | 2019-05-15T11:45:59.000Z | 2019-05-15T11:45:59.000Z | gaehttpjsonrpc/gaehttpjsonrpcServer.go | ThePiachu/Go-HTTP-JSON-RPC | 8c3d5d9c928b9551d7080863414185352067af16 | [
"BSD-3-Clause"
] | 12 | 2015-04-01T09:25:44.000Z | 2019-05-29T12:15:48.000Z | package gaehttpjsonrpc
// Copyright 2011-2014 ThePiachu. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
import (
"appengine"
"encoding/json"
"github.com/ThePiachu/Go/Log"
"io/ioutil"
"net/http"
)
func init() {
mainMux.m = map[string]... | 29.354839 | 130 | 0.671703 |
746803f23bb46cb207ebbe480b3affd98259db0a | 117,871 | h | C | thirdparty/moab/itaps/imesh/iMeshP.h | yumin/SMTK | d280f10c5b70953b2a0196f71832955c7fc75e7f | [
"BSD-3-Clause-Clear"
] | null | null | null | thirdparty/moab/itaps/imesh/iMeshP.h | yumin/SMTK | d280f10c5b70953b2a0196f71832955c7fc75e7f | [
"BSD-3-Clause-Clear"
] | 4 | 2016-11-10T15:49:51.000Z | 2017-02-06T23:24:16.000Z | thirdparty/moab/itaps/imesh/iMeshP.h | yumin/SMTK | d280f10c5b70953b2a0196f71832955c7fc75e7f | [
"BSD-3-Clause-Clear"
] | null | null | null |
#ifndef _ITAPS_iMeshP
#define _ITAPS_iMeshP
#include "imesh_export.h"
#include "iMesh.h"
#include "iMeshP_protos.h"
#include "moab_mpi.h"
#ifdef __cplusplus
extern "C" {
#endif
/** Handles needed in iMeshP */
typedef struct iMeshP_PartitionHandle_Private* iMeshP_PartitionHandle;
typedef struct iMeshP_RequestHandle... | 44.279113 | 95 | 0.595957 |
07d68cc8511f05b2fe3ee4e7ccd0a5574bd8e1cc | 720 | kt | Kotlin | smart-starter/log-spring-boot-starter/src/main/kotlin/com/smart/starter/log/SmartLogAutoConfiguration.kt | ming4762/smart_boot | 399b48a5e40b080c1fa1591102c0e2562f9d9ac3 | [
"MIT"
] | 5 | 2019-08-22T10:29:28.000Z | 2021-01-12T10:46:04.000Z | smart-starter/log-spring-boot-starter/src/main/kotlin/com/smart/starter/log/SmartLogAutoConfiguration.kt | ming4762/smart_boot | 399b48a5e40b080c1fa1591102c0e2562f9d9ac3 | [
"MIT"
] | null | null | null | smart-starter/log-spring-boot-starter/src/main/kotlin/com/smart/starter/log/SmartLogAutoConfiguration.kt | ming4762/smart_boot | 399b48a5e40b080c1fa1591102c0e2562f9d9ac3 | [
"MIT"
] | null | null | null | package com.smart.starter.log
import com.smart.starter.log.aspect.LogAspect
import org.mybatis.spring.annotation.MapperScan
import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.ComponentScan
imp... | 27.692308 | 93 | 0.793056 |
92dd06906ef65327125bf092407b23de79edbe3c | 365 | h | C | PrivateFrameworks/CorePDF.framework/UIPDFPopupAnnotationView.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 36 | 2016-04-20T04:19:04.000Z | 2018-10-08T04:12:25.000Z | PrivateFrameworks/CorePDF.framework/UIPDFPopupAnnotationView.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | null | null | null | PrivateFrameworks/CorePDF.framework/UIPDFPopupAnnotationView.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 10 | 2016-06-16T02:40:44.000Z | 2019-01-15T03:31:45.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/CorePDF.framework/CorePDF
*/
@interface UIPDFPopupAnnotationView : UIPDFAnnotationView {
UIImage * _image;
}
- (void)dealloc;
- (void)drawRect:(struct CGRect { struct CGPoint { double x_1_1_1; double x_1_1_2; } x1; struct CGSize { double ... | 28.076923 | 150 | 0.742466 |
65489ab1059af5d3af74f3912af4a5da4c39124a | 383 | py | Python | las1.2.py | Theskill19/sweetpotato | 7cb46c412f400bcd51838db365038a766cf593cd | [
"CC0-1.0"
] | null | null | null | las1.2.py | Theskill19/sweetpotato | 7cb46c412f400bcd51838db365038a766cf593cd | [
"CC0-1.0"
] | null | null | null | las1.2.py | Theskill19/sweetpotato | 7cb46c412f400bcd51838db365038a766cf593cd | [
"CC0-1.0"
] | null | null | null | #2. Пользователь вводит время в секундах.
# Переведите время в часы, минуты и секунды и выведите в формате чч:мм:сс.
# Используйте форматирование строк.
time = int(input("Введите время в секундах "))
hours = time // 3600
minutes = (time - hours * 3600) // 60
seconds = time - (hours * 3600 + minutes * 60)
print... | 42.555556 | 75 | 0.681462 |
122193135cc10e4aec11ef8099bd14d369d6285f | 2,316 | h | C | chrome/browser/tab_contents/web_contents_collection.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | chrome/browser/tab_contents/web_contents_collection.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chrome/browser/tab_contents/web_contents_collection.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_COLLECTION_H_
#define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_COLLECTION_H_
#include <memory>
#include... | 35.630769 | 80 | 0.760794 |
3e892c6dba30e1347170e037942418546539585d | 1,232 | h | C | chrome/browser/net/explicitly_allowed_network_ports_policy_handler.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/net/explicitly_allowed_network_ports_policy_handler.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chrome/browser/net/explicitly_allowed_network_ports_policy_handler.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_NET_EXPLICITLY_ALLOWED_NETWORK_PORTS_POLICY_HANDLER_H_
#define CHROME_BROWSER_NET_EXPLICITLY_ALLOWED_NETWORK_PORTS_POLICY_HANDLER_H... | 36.235294 | 80 | 0.809253 |
331608bfaa1bbeecfc3dd18a2fde05596fb4e203 | 2,754 | py | Python | medios/diarios/diario.py | miglesias91/dicenlosmedios | 1f8867cd09689006f35447ad8540359d9429b518 | [
"MIT"
] | 1 | 2020-10-20T20:50:51.000Z | 2020-10-20T20:50:51.000Z | medios/diarios/diario.py | miglesias91/dicenlosmedios | 1f8867cd09689006f35447ad8540359d9429b518 | [
"MIT"
] | 8 | 2021-03-19T01:17:28.000Z | 2022-03-02T14:57:48.000Z | medios/diarios/diario.py | miglesias91/dicenlosmedios | 1f8867cd09689006f35447ad8540359d9429b518 | [
"MIT"
] | null | null | null | import dateutil
import yaml
import feedparser as fp
import newspaper as np
from medios.medio import Medio
from medios.diarios.noticia import Noticia
from bd.entidades import Kiosco
class Diario(Medio):
def __init__(self, etiqueta):
Medio.__init__(self, etiqueta)
self.noticias = []
self.f... | 34.860759 | 160 | 0.579521 |
1c45c12a3a030e96ca65ccd9aaa300d1505c26ff | 237 | css | CSS | frontend/PaymentApp/assets/css/insurance.css | LaudaDev/sep-acquirer-web-app | 7bc4735dbb2e9f2e5c13f3f314e7f083ba4fb763 | [
"MIT"
] | null | null | null | frontend/PaymentApp/assets/css/insurance.css | LaudaDev/sep-acquirer-web-app | 7bc4735dbb2e9f2e5c13f3f314e7f083ba4fb763 | [
"MIT"
] | null | null | null | frontend/PaymentApp/assets/css/insurance.css | LaudaDev/sep-acquirer-web-app | 7bc4735dbb2e9f2e5c13f3f314e7f083ba4fb763 | [
"MIT"
] | null | null | null | .form-control:focus {
border-color: #DED9D9;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.6);
}
input[type="text"] {
border: 1px solid #007fff
}
input[type="password"] {
border: 1px solid #007fff
}
| 21.545455 | 81 | 0.637131 |
1f57cc210dc80a7f07f3fbf0e80656f6a2eb84ee | 5,305 | css | CSS | css/progressbar.css | Hache07/Proyecto_CICC | 0d648fe3866d8b816a02c88b5f01f691995acc6d | [
"MIT"
] | 2 | 2018-11-06T22:57:57.000Z | 2018-11-06T22:57:58.000Z | css/progressbar.css | Hache07/Proyecto_CICC | 0d648fe3866d8b816a02c88b5f01f691995acc6d | [
"MIT"
] | null | null | null | css/progressbar.css | Hache07/Proyecto_CICC | 0d648fe3866d8b816a02c88b5f01f691995acc6d | [
"MIT"
] | null | null | null | @-moz-keyframes pulse {
/* line 4, /Users/Mikasa/Projects/progressBarJS/source/stylesheets/jquery.progressbar.css.scss */
30% {
opacity: .6; }
/* line 5, /Users/Mikasa/Projects/progressBarJS/source/stylesheets/jquery.progressbar.css.scss */
60% {
opacity: 0; }
/* line 6, /Users/Mik... | 35.844595 | 103 | 0.658058 |
55ea031db24b817064bdf6c26483fef316eca0e8 | 524 | swift | Swift | Agenda/Componentes/LigacaoTelefonica.swift | ianpab/agenda | 4fa8c18768fac477fb1c4776700eb9cedddc5463 | [
"MIT"
] | null | null | null | Agenda/Componentes/LigacaoTelefonica.swift | ianpab/agenda | 4fa8c18768fac477fb1c4776700eb9cedddc5463 | [
"MIT"
] | null | null | null | Agenda/Componentes/LigacaoTelefonica.swift | ianpab/agenda | 4fa8c18768fac477fb1c4776700eb9cedddc5463 | [
"MIT"
] | null | null | null | //
// LigacaoTelefonica.swift
// Agenda
//
// Created by Ian Pablo on 02/11/19.
// Copyright © 2019 Alura. All rights reserved.
//
import UIKit
class LigacaoTelefonica: NSObject {
func fazLigacao(_ alunoSelecionado:Aluno){
guard let numeroAluno = alunoSelecionado.telefone else { return }
... | 24.952381 | 99 | 0.637405 |
9c063a4f361c5416fe91447c82dbf5dcb2ef04a5 | 3,157 | js | JavaScript | src/components/BlobViewer/Repo/useFindRepo.js | mpan-wework/github | 4bffbb1ffadb4684365d1521be992a9dd2c4f45b | [
"MIT"
] | null | null | null | src/components/BlobViewer/Repo/useFindRepo.js | mpan-wework/github | 4bffbb1ffadb4684365d1521be992a9dd2c4f45b | [
"MIT"
] | 6 | 2021-05-11T01:45:56.000Z | 2022-02-26T22:58:31.000Z | src/components/BlobViewer/Repo/useFindRepo.js | mpan-wework/github | 4bffbb1ffadb4684365d1521be992a9dd2c4f45b | [
"MIT"
] | null | null | null | import { useCallback, useEffect, useState } from 'react';
import githubClient from '../../../service/api/github';
import useAsyncMemo from '../../shared/useAsyncMemo';
import useAsyncDebouncedCallback from '../../shared/useAsyncDebounceCallback';
const useFindRepo = (props) => {
const { user } = props;
const [own... | 23.043796 | 78 | 0.568578 |
ba2f628893b06040a5c72814ed49f302107d2bfd | 4,146 | kt | Kotlin | plugin-gradle/src/test/java/com/github/autostyle/gradle/ErrorShouldRethrowTest.kt | weisJ/autostyle | 85f539da6d6228517e300b72dd254ff61474b877 | [
"Apache-2.0"
] | 14 | 2019-11-13T05:32:58.000Z | 2021-12-16T09:10:26.000Z | plugin-gradle/src/test/java/com/github/autostyle/gradle/ErrorShouldRethrowTest.kt | weisJ/autostyle | 85f539da6d6228517e300b72dd254ff61474b877 | [
"Apache-2.0"
] | 29 | 2019-11-12T19:44:36.000Z | 2021-12-08T17:56:46.000Z | plugin-gradle/src/test/java/com/github/autostyle/gradle/ErrorShouldRethrowTest.kt | weisJ/autostyle | 85f539da6d6228517e300b72dd254ff61474b877 | [
"Apache-2.0"
] | 1 | 2020-12-11T21:01:35.000Z | 2020-12-11T21:01:35.000Z | /*
* Copyright 2019 Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
*
* 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 requ... | 39.485714 | 119 | 0.613603 |
adc3790417cc77be10fb9149b06c5b94c024e19b | 304 | rs | Rust | client-core/src/types.rs | calvinlauco/chain | ef40ea2c44f8e1aca8a36e50ff10172879df3491 | [
"Apache-2.0"
] | 2 | 2020-06-22T17:52:07.000Z | 2020-10-02T14:05:14.000Z | client-core/src/types.rs | chatch/chain | 9ef4e2914688a80bb91c954f27bd2e4aeaede293 | [
"Apache-2.0"
] | 1 | 2021-05-10T18:58:59.000Z | 2021-05-10T18:58:59.000Z | client-core/src/types.rs | tomtau/chain | 52d04727e32d896a61af08afa86763779508ca3a | [
"Apache-2.0"
] | null | null | null | //! Types used in `client-core`
mod address_type;
mod wallet_type;
pub mod transaction_change;
pub use self::address_type::AddressType;
#[doc(inline)]
pub use self::transaction_change::{
BalanceChange, TransactionChange, TransactionInput, TransactionType,
};
pub use self::wallet_type::WalletKind;
| 23.384615 | 72 | 0.776316 |
5b2fdd374e48850b49696ab2f661529fe9b394cc | 82,257 | c | C | sys/geom/journal/g_journal.c | dcui/FreeBSD-9.3_kernel | 39d9caaa6ba320e2f8e910b1f5f01efc24ca4a92 | [
"BSD-3-Clause"
] | 3 | 2015-12-15T00:56:39.000Z | 2018-01-11T01:01:38.000Z | sys/geom/journal/g_journal.c | dcui/FreeBSD-9.3_kernel | 39d9caaa6ba320e2f8e910b1f5f01efc24ca4a92 | [
"BSD-3-Clause"
] | null | null | null | sys/geom/journal/g_journal.c | dcui/FreeBSD-9.3_kernel | 39d9caaa6ba320e2f8e910b1f5f01efc24ca4a92 | [
"BSD-3-Clause"
] | 2 | 2018-01-11T01:01:12.000Z | 2020-11-19T03:07:29.000Z | /*-
* Copyright (c) 2005-2006 Pawel Jakub Dawidek <pjd@FreeBSD.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* ... | 26.898954 | 96 | 0.656418 |
ddb4e0b3b0f8248805aa06b8212ef44631776af6 | 711 | php | PHP | web_api/app.php | cerad/users | 6f8dec1e8ce49efacc6ff1903aa2af53804f804f | [
"MIT"
] | null | null | null | web_api/app.php | cerad/users | 6f8dec1e8ce49efacc6ff1903aa2af53804f804f | [
"MIT"
] | null | null | null | web_api/app.php | cerad/users | 6f8dec1e8ce49efacc6ff1903aa2af53804f804f | [
"MIT"
] | null | null | null | <?php
error_reporting(E_ALL);
require __DIR__ . '/../vendor/autoload.php';
use Cerad\Component\HttpKernel\KernelApp;
use Cerad\Component\HttpMessage\Request;
use Cerad\Component\DependencyInjection\Container;
use Cerad\Module\UserModule\UserParameters;
use Cerad\Module\UserModule\UserServices;
use Cerad\Module\Use... | 21.545455 | 59 | 0.749648 |
d59fae290c476eb321269bf0d4f1884811db5e56 | 352 | lua | Lua | premake5.lua | dfnzhc/Hola | d0fd46e9966baafd03c994e49efaa3dd8057309e | [
"MIT"
] | null | null | null | premake5.lua | dfnzhc/Hola | d0fd46e9966baafd03c994e49efaa3dd8057309e | [
"MIT"
] | null | null | null | premake5.lua | dfnzhc/Hola | d0fd46e9966baafd03c994e49efaa3dd8057309e | [
"MIT"
] | null | null | null | include "Dependencies.lua"
workspace "Hola"
configurations { "Debug", "Release" }
architecture "x64"
outputDir = "%{cfg.buildcfg}/%{prj.name}"
-- group "Dependencies"
-- include "Ciao/Deps/glad"
-- include "Ciao/Deps/imgui"
-- group ""
include "src/Hola_Common"
include "src/Hola_DX12"
include "src/... | 19.555556 | 41 | 0.681818 |
16e0fe3c4eeb82844d3c8ad045573e2d3b11d913 | 882 | ts | TypeScript | src/app/shared/condition.ts | Serverchip/serverchip-web-app | f77a14165fb85e6d72cbe0598fcd68c2c9e3c7f0 | [
"Apache-2.0"
] | null | null | null | src/app/shared/condition.ts | Serverchip/serverchip-web-app | f77a14165fb85e6d72cbe0598fcd68c2c9e3c7f0 | [
"Apache-2.0"
] | null | null | null | src/app/shared/condition.ts | Serverchip/serverchip-web-app | f77a14165fb85e6d72cbe0598fcd68c2c9e3c7f0 | [
"Apache-2.0"
] | null | null | null | export abstract class Condition {
name: string;
conditionType: string;
constructor(name: string, type: string) {
this.name = name;
this.conditionType = type;
}
}
export class DayHourCondition extends Condition {
day_hour: {
days: string,
hour: {
start: ... | 23.210526 | 120 | 0.599773 |
fd62a26e70c295a9ea845774772736fa8119f444 | 3,541 | h | C | include/iris/sensor-api/iris/dist500/DoorState.h | LESA-RPI/irma_ground_truth | 94037de5c7877544738d3569f11f900ba919227e | [
"BSL-1.0"
] | 1 | 2018-06-18T18:08:38.000Z | 2018-06-18T18:08:38.000Z | include/iris/sensor-api/iris/dist500/DoorState.h | duffym4/tof_control | 418714fb29900ce7fdd4ba0bed9105b0c3d623a7 | [
"BSL-1.0"
] | null | null | null | include/iris/sensor-api/iris/dist500/DoorState.h | duffym4/tof_control | 418714fb29900ce7fdd4ba0bed9105b0c3d623a7 | [
"BSL-1.0"
] | 2 | 2018-11-21T17:15:24.000Z | 2019-09-29T02:46:30.000Z | // ***************************************************************************
// * _ _ ____ _ ____ ___ *
// * (_)_ __(_)___ / ___| ___ _ __ ___ ___ _ __ / \ | _ \_ _| *
// * | | '__| / __| \___ \ / _ \ '_ \/ __|/ _ \| '__| / _ \ | |_) | | *
... | 25.65942 | 165 | 0.473313 |
56efa75f5030d44c588bb78e078e1b30aad06c25 | 2,993 | ts | TypeScript | src/app/manager/manager-list-item/manager-list-item.component.ts | makimenko/vect | 93ce5c59b830cde4c49b824b70ddb61fbac76ec8 | [
"MIT"
] | 10 | 2021-02-23T08:42:00.000Z | 2022-02-28T01:30:17.000Z | src/app/manager/manager-list-item/manager-list-item.component.ts | makimenko/vect | 93ce5c59b830cde4c49b824b70ddb61fbac76ec8 | [
"MIT"
] | 2 | 2021-02-26T20:50:17.000Z | 2021-08-15T17:46:44.000Z | src/app/manager/manager-list-item/manager-list-item.component.ts | makimenko/vect | 93ce5c59b830cde4c49b824b70ddb61fbac76ec8 | [
"MIT"
] | 2 | 2021-02-24T13:34:23.000Z | 2021-03-06T11:33:35.000Z | import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';
import {DiagramItem} from '../../data-access/model/diagram-item.model';
import {DiagramService} from '../../data-access/service/diagram.service';
import {MatDialog} from '@angular/material/dialog';
import {ConfirmDialogComponent} from '../../... | 27.971963 | 93 | 0.615102 |
dd540f79ba514c8330c098b284a6473469eed5ba | 2,285 | go | Go | deepfence_agent/tools/apache/scope/probe/process/walker_darwin.go | tuapuikia/ThreatMapper | 22c473e133e2a57a402f27a12d44e1787a2895cc | [
"Apache-2.0"
] | 1,281 | 2020-04-08T17:07:21.000Z | 2022-03-31T11:22:16.000Z | deepfence_agent/tools/apache/scope/probe/process/walker_darwin.go | tuapuikia/ThreatMapper | 22c473e133e2a57a402f27a12d44e1787a2895cc | [
"Apache-2.0"
] | 180 | 2020-04-06T15:40:16.000Z | 2022-03-31T02:19:34.000Z | probe/process/walker_darwin.go | Pradeepkumarbk/scope11 | 0d87f2b54fe8f291fec0d13ccda5d9db3c91c273 | [
"Apache-2.0"
] | 148 | 2020-04-08T21:38:39.000Z | 2022-03-30T18:04:50.000Z | package process
import (
"fmt"
"os/exec"
"strconv"
"strings"
)
// NewWalker returns a Darwin (lsof-based) walker.
func NewWalker(_ string, _ bool) Walker {
return &walker{}
}
type walker struct{}
const (
lsofBinary = "lsof"
lsofFields = "cn" // parseLSOF() depends on the order
netstatBinary = "netstat... | 21.35514 | 83 | 0.629322 |
b0c7c8dce6c70d8ff2dee0d4d341ee24189b8fc0 | 1,339 | rs | Rust | benchmarking/benches/my_benchmark.rs | RenWild/FabChess | f86e9e23663e923144d04da962bc8edbc43e5e76 | [
"BSD-3-Clause"
] | 29 | 2019-08-06T15:08:28.000Z | 2022-01-29T19:42:40.000Z | benchmarking/benches/my_benchmark.rs | RenWild/FabChess | f86e9e23663e923144d04da962bc8edbc43e5e76 | [
"BSD-3-Clause"
] | 11 | 2019-07-26T12:16:03.000Z | 2020-08-04T09:18:19.000Z | benchmarking/benches/my_benchmark.rs | RenWild/FabChess | f86e9e23663e923144d04da962bc8edbc43e5e76 | [
"BSD-3-Clause"
] | 4 | 2020-03-28T17:38:37.000Z | 2020-09-26T19:04:50.000Z | use benchmarking::*;
use core_sdk::evaluation::eval_game_state;
use core_sdk::move_generation::makemove::make_move;
use core_sdk::move_generation::movegen::{self, MoveList};
use criterion::{criterion_group, criterion_main, Criterion};
pub fn evaluation_bench(c: &mut Criterion) {
let states = load_benchmarking_posi... | 33.475 | 74 | 0.583271 |
172b9d768d27a335511c2d65fc595b960244dd90 | 252 | kt | Kotlin | src/main/kotlin/org/webscene/server/template/HtmlTemplate.kt | webscene/webscene-server | 59a047c5d098ef8bb031eb5b94a9a4fe3e39149c | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/org/webscene/server/template/HtmlTemplate.kt | webscene/webscene-server | 59a047c5d098ef8bb031eb5b94a9a4fe3e39149c | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/org/webscene/server/template/HtmlTemplate.kt | webscene/webscene-server | 59a047c5d098ef8bb031eb5b94a9a4fe3e39149c | [
"Apache-2.0"
] | null | null | null | package org.webscene.server.template
import org.webscene.server.html.HtmlTag
/**
* Base for an HTML template.
* @author Nick Apperley
*/
interface HtmlTemplate {
/** The root HTML element to use for the template. */
var content: HtmlTag?
} | 21 | 57 | 0.714286 |
3ee9c2fc255fdba09c8ef09b00947ddd3ea2f2f3 | 10,407 | h | C | WickedEngine/wiGraphicsDevice_DX11.h | Athomield/WickedEngine | 92d58b8e0834df480b91d31d2558897a4e2a8b0e | [
"Zlib",
"MIT"
] | 1 | 2019-10-22T09:25:16.000Z | 2019-10-22T09:25:16.000Z | WickedEngine/wiGraphicsDevice_DX11.h | vfx-fuhao/WickedEngine | c2b6f443e913918753464fc6686f8c6da2de034f | [
"Zlib",
"MIT"
] | null | null | null | WickedEngine/wiGraphicsDevice_DX11.h | vfx-fuhao/WickedEngine | c2b6f443e913918753464fc6686f8c6da2de034f | [
"Zlib",
"MIT"
] | 1 | 2019-11-07T13:54:15.000Z | 2019-11-07T13:54:15.000Z | #pragma once
#include "CommonInclude.h"
#include "wiGraphicsDevice.h"
#include "wiWindowRegistration.h"
#include "wiContainers.h"
#include <d3d11_3.h>
#include <DXGI1_3.h>
#include <atomic>
namespace wiGraphics
{
class GraphicsDevice_DX11 : public GraphicsDevice
{
private:
ID3D11Device* device = nullptr;
... | 60.505814 | 169 | 0.806476 |
43a8d6036b56ba83b16a3ad4607d0bea9fe513bf | 4,532 | swift | Swift | jHelper GUI/Utils/ManageControls.swift | kennethdean2010/jHelper-GUI | 5b71446769cc8fd97ddf0bf3f2c6125e9c3cc151 | [
"BSD-3-Clause"
] | 1 | 2022-02-21T05:13:02.000Z | 2022-02-21T05:13:02.000Z | jHelper GUI/Utils/ManageControls.swift | meshyamsundar/jHelper-GUI | 5b71446769cc8fd97ddf0bf3f2c6125e9c3cc151 | [
"BSD-3-Clause"
] | null | null | null | jHelper GUI/Utils/ManageControls.swift | meshyamsundar/jHelper-GUI | 5b71446769cc8fd97ddf0bf3f2c6125e9c3cc151 | [
"BSD-3-Clause"
] | 1 | 2019-12-11T16:33:58.000Z | 2019-12-11T16:33:58.000Z | //
// ManageControls.swift
// JAMF Helper GUI
//
// Created by Jordan Wisniewski on 9/29/15.
//
// Copyright (C) 2016, JAMF Software, LLC All rights reserved.
//
// THIS SOFTWARE IS PROVIDED BY JAMF SOFTWARE, LLC "AS IS" AND ANY EXPRESS OR IMPLIED
// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTI... | 40.106195 | 158 | 0.651809 |
2f68f5cced4c13c6a838fe879e7b5050f1c47b7b | 934 | php | PHP | resources/views/layout/layout.blade.php | IKetutMahaWiragawa/Project01 | 5d65ec0440e2c19a85b65fd1bae0f710f0a99d4f | [
"MIT"
] | null | null | null | resources/views/layout/layout.blade.php | IKetutMahaWiragawa/Project01 | 5d65ec0440e2c19a85b65fd1bae0f710f0a99d4f | [
"MIT"
] | null | null | null | resources/views/layout/layout.blade.php | IKetutMahaWiragawa/Project01 | 5d65ec0440e2c19a85b65fd1bae0f710f0a99d4f | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html >
<head>
<title>Latihan View 04</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
... | 32.206897 | 117 | 0.514989 |
bcaf2407ef57a2b64424a92f3623c4a8595c387b | 1,678 | js | JavaScript | static/js/mainpageCtrl.js | pulpocoders/pulpoforms-django | 60d268faa492ba8256cc32b3108d6a27dabcd40f | [
"Apache-2.0"
] | 45 | 2015-07-30T21:52:00.000Z | 2020-03-25T16:53:34.000Z | static/js/mainpageCtrl.js | pulpocoders/pulpo-forms-django | 60d268faa492ba8256cc32b3108d6a27dabcd40f | [
"Apache-2.0"
] | 5 | 2016-10-18T12:17:54.000Z | 2017-11-09T10:39:34.000Z | static/js/mainpageCtrl.js | pulpocoders/pulpo-forms-django | 60d268faa492ba8256cc32b3108d6a27dabcd40f | [
"Apache-2.0"
] | 13 | 2015-08-01T01:57:35.000Z | 2022-03-28T21:14:02.000Z | 'use strict';
(function () {
var app = angular.module('dynamicFormsFrameworkAdmin');
/*
* This controller handles the logic to display the list of forms
*/
app.controller('MainPageCtrl', ['$scope','$http','$location',
function ($scope, $http, $location) {
var mainPage = t... | 28.931034 | 70 | 0.494041 |
c2d80ddc442868b858c4c9897a832a0b45a4bc70 | 1,293 | sql | SQL | migrations/20211113195822_updated_blockchain_project_relation/migration.sql | andresg747/baldur-app | 93406c2f5b89067e6fd2aab3f0d68f413076b8d2 | [
"0BSD"
] | null | null | null | migrations/20211113195822_updated_blockchain_project_relation/migration.sql | andresg747/baldur-app | 93406c2f5b89067e6fd2aab3f0d68f413076b8d2 | [
"0BSD"
] | null | null | null | migrations/20211113195822_updated_blockchain_project_relation/migration.sql | andresg747/baldur-app | 93406c2f5b89067e6fd2aab3f0d68f413076b8d2 | [
"0BSD"
] | null | null | null | /*
Warnings:
- You are about to drop the column `projectId` on the `Blockchain` table. All the data in the column will be lost.
- Added the required column `tokenId` to the `Blockchain` table without a default value. This is not possible if the table is not empty.
*/
-- DropForeignKey
ALTER TABLE `Blockchain` D... | 36.942857 | 152 | 0.74942 |
490301996f235103083f9f733d639e25da1a8a52 | 1,478 | py | Python | test/test_compression.py | Peter42/iasi | fc799d542c2bb80c3f559bc2f9e833ac330a5506 | [
"MIT"
] | null | null | null | test/test_compression.py | Peter42/iasi | fc799d542c2bb80c3f559bc2f9e833ac330a5506 | [
"MIT"
] | 3 | 2019-05-02T12:49:21.000Z | 2019-06-12T09:11:00.000Z | test/test_compression.py | Peter42/iasi | fc799d542c2bb80c3f559bc2f9e833ac330a5506 | [
"MIT"
] | 1 | 2019-10-18T21:33:33.000Z | 2019-10-18T21:33:33.000Z | import datetime
import unittest
import luigi
import numpy as np
from netCDF4 import Dataset
from iasi.compression import (CompressDataset, CompressDateRange,
DecompressDataset)
class TestCompression(unittest.TestCase):
def test_dataset_compression(self):
task = CompressDat... | 30.791667 | 95 | 0.614344 |
4eea2154a162f9a0d00415dea97ed6890cd3846b | 5,474 | kt | Kotlin | src/main/kotlin/se/raneland/ffbe/ui/MainWindow.kt | Raniz85/ffbe-grinder | f20288bfd0ac3b148508b35f56747446c7acbaa9 | [
"MIT"
] | 1 | 2017-10-04T13:56:05.000Z | 2017-10-04T13:56:05.000Z | src/main/kotlin/se/raneland/ffbe/ui/MainWindow.kt | Raniz85/ffbe-grinder | f20288bfd0ac3b148508b35f56747446c7acbaa9 | [
"MIT"
] | 5 | 2017-05-09T13:15:22.000Z | 2017-05-09T13:39:36.000Z | src/main/kotlin/se/raneland/ffbe/ui/MainWindow.kt | Raniz85/ffbe-grinder | f20288bfd0ac3b148508b35f56747446c7acbaa9 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2017, Daniel Raniz Raneland
*/
package se.raneland.ffbe.ui
import ch.qos.logback.classic.Logger
import net.miginfocom.swing.MigLayout
import org.slf4j.LoggerFactory
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.context.ConfigurableApplicationContext
impo... | 32.011696 | 155 | 0.607234 |
4b841fb18595e15d819be19191d7c5af5e199372 | 149 | sql | SQL | src/test/resources/test_data/seed-approved-licences.sql | ministryofjustice/create-and-vary-a-licence-api | 95b546f6e62e6abe76ac342ea6bb3f2f76a144b0 | [
"MIT"
] | 1 | 2021-08-09T13:08:38.000Z | 2021-08-09T13:08:38.000Z | src/test/resources/test_data/seed-approved-licences.sql | ministryofjustice/create-and-vary-a-licence-api | 95b546f6e62e6abe76ac342ea6bb3f2f76a144b0 | [
"MIT"
] | 15 | 2021-07-27T12:46:38.000Z | 2022-02-24T07:30:59.000Z | src/test/resources/test_data/seed-approved-licences.sql | ministryofjustice/create-and-vary-a-licence-api | 95b546f6e62e6abe76ac342ea6bb3f2f76a144b0 | [
"MIT"
] | null | null | null | insert into licence (
id,
com_staff_id,
type_code,
status_code
) values
(1,1,'AP','APPROVED'),
(2,1,'AP','APPROVED'),
(3,1,'AP','APPROVED');
| 14.9 | 22 | 0.624161 |
26313df65297b72e49b40e9880f48d2ccb3cf734 | 1,572 | java | Java | src/ua/org/slovo/securesms/contacts/avatars/GeneratedContactPhoto.java | varkon/MilChat | c68b8046f8767ffc7aea48e3801188bfde2501e6 | [
"Apache-2.0"
] | 1 | 2018-04-15T13:30:15.000Z | 2018-04-15T13:30:15.000Z | src/ua/org/slovo/securesms/contacts/avatars/GeneratedContactPhoto.java | varkon/MilChat | c68b8046f8767ffc7aea48e3801188bfde2501e6 | [
"Apache-2.0"
] | null | null | null | src/ua/org/slovo/securesms/contacts/avatars/GeneratedContactPhoto.java | varkon/MilChat | c68b8046f8767ffc7aea48e3801188bfde2501e6 | [
"Apache-2.0"
] | null | null | null | package ua.org.slovo.securesms.contacts.avatars;
import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.support.annotation.NonNull;
import android.support.v4.content.ContextCompat;
import com.amulyakhare.textdrawable.TextDrawable;
import ua.org.slovo.... | 29.111111 | 101 | 0.676209 |
53ae3d723c75d0781ac84df992e37a7cc926aeb3 | 3,186 | java | Java | DataMining/src/salp/Individual.java | HadiAwad/TestCasePrioritization | b00fe953c57087c896f24c15531685e0063ea96d | [
"Apache-2.0"
] | null | null | null | DataMining/src/salp/Individual.java | HadiAwad/TestCasePrioritization | b00fe953c57087c896f24c15531685e0063ea96d | [
"Apache-2.0"
] | null | null | null | DataMining/src/salp/Individual.java | HadiAwad/TestCasePrioritization | b00fe953c57087c896f24c15531685e0063ea96d | [
"Apache-2.0"
] | null | null | null | package salp;
import Catalano.Core.IntRange;
import utils.IObjectiveFunction;
import java.util.*;
/**
* Represents individual in the population.
* @author Diego Catalano
*/
public class Individual implements Comparable<Individual>, Cloneable {
private int[] location;
private double fitness;
public ... | 24.697674 | 134 | 0.596359 |
28ef6fb11bb68bb25bf2b834ce2aea31f0e01743 | 3,426 | sql | SQL | imgsmlr--1.0.sql | BlosmLLC/imgsmlr | c484a15cc4ad254b0cc6cd7dc4820ad6472fcfac | [
"PostgreSQL"
] | 207 | 2015-08-08T07:09:47.000Z | 2022-03-11T07:59:36.000Z | imgsmlr--1.0.sql | RekGRpth/imgsmlr | c484a15cc4ad254b0cc6cd7dc4820ad6472fcfac | [
"PostgreSQL"
] | 12 | 2017-02-23T07:38:09.000Z | 2021-12-09T02:06:00.000Z | imgsmlr--1.0.sql | RekGRpth/imgsmlr | c484a15cc4ad254b0cc6cd7dc4820ad6472fcfac | [
"PostgreSQL"
] | 40 | 2015-11-30T08:15:02.000Z | 2021-12-17T04:39:20.000Z | /* imgsmlr/imgsmlr--1.0.sql */
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION imgsmlr" to load this file. \quit
--
-- PostgreSQL code for IMGSMLR.
--
CREATE FUNCTION pattern_in(cstring)
RETURNS pattern
AS 'MODULE_PATHNAME'
LANGUAGE C IMMUTABLE STRICT;
CREATE ... | 23.958042 | 75 | 0.807647 |
fd84a9e96d6b74b816ea2fc8dcd41e5011a31c8a | 8,662 | c | C | iothub_client/src/iothubtransportmqtt_websockets.c | sinipelto/azure-iot-sdk-c | 3854b643cac5943f4b2950a435369460c3371285 | [
"MIT"
] | 1 | 2019-09-25T19:46:07.000Z | 2019-09-25T19:46:07.000Z | iothub_client/src/iothubtransportmqtt_websockets.c | sinipelto/azure-iot-sdk-c | 3854b643cac5943f4b2950a435369460c3371285 | [
"MIT"
] | 2 | 2021-07-22T08:56:51.000Z | 2021-07-30T19:07:30.000Z | iothub_client/src/iothubtransportmqtt_websockets.c | sinipelto/azure-iot-sdk-c | 3854b643cac5943f4b2950a435369460c3371285 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include <stdlib.h>
#include "azure_c_shared_utility/xio.h"
#include "azure_c_shared_utility/wsio.h"
#include "azure_c_shared_utility/tlsio.h"
#include "azure_c_shared_... | 37.991228 | 185 | 0.796814 |
f5488435d64262c7dd9f44906615d66334d279d8 | 634 | css | CSS | data/usercss/83072.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 118 | 2020-08-28T19:59:28.000Z | 2022-03-26T16:28:40.000Z | data/usercss/83072.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 38 | 2020-09-02T01:08:45.000Z | 2022-01-23T02:47:24.000Z | data/usercss/83072.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 21 | 2020-08-19T01:12:43.000Z | 2022-03-15T21:55:17.000Z | /* ==UserStyle==
@name Hoechboners Likes Button
@namespace USO Archive
@author baxtersaurus
@description `A likes button for the discriminating Tyler Hoechlin fan.`
@version 20130214.9.6
@license NO-REDISTRIBUTION
@preprocessor uso
==/UserStyle== */
.controls_section li .likes:... | 25.36 | 75 | 0.682965 |
b2df4c7100c8722718818621cd9edd2daa3814a9 | 20,300 | rs | Rust | src/join.rs | Darksonn/pasts | a4a86f6959f8323da17faecdd6fbd377cd04a168 | [
"Zlib",
"Apache-2.0"
] | 1 | 2021-06-19T00:53:04.000Z | 2021-06-19T00:53:04.000Z | src/join.rs | Darksonn/pasts | a4a86f6959f8323da17faecdd6fbd377cd04a168 | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/join.rs | Darksonn/pasts | a4a86f6959f8323da17faecdd6fbd377cd04a168 | [
"Zlib",
"Apache-2.0"
] | null | null | null | // Pasts
//
// Copyright (c) 2019-2020 Jeron Aldaron Lau
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// https://apache.org/licenses/LICENSE-2.0>, or the Zlib License, <LICENSE-ZLIB
// or http://opensource.org/licenses/Zlib>, at your option. This file may not be
// copied, modified, or distr... | 33.169935 | 82 | 0.383153 |
e75593e53b4c6077f8214bf85889bd132d94752b | 1,336 | js | JavaScript | server.js | devtsp/crud-clubs-API | fe5417eadfcc9f78a6e0e496b8788778f9f90222 | [
"MIT"
] | null | null | null | server.js | devtsp/crud-clubs-API | fe5417eadfcc9f78a6e0e496b8788778f9f90222 | [
"MIT"
] | null | null | null | server.js | devtsp/crud-clubs-API | fe5417eadfcc9f78a6e0e496b8788778f9f90222 | [
"MIT"
] | null | null | null | const {
createClub,
deleteClub,
getAllClubs,
getClub,
editClub,
} = require('./club_controller.js');
const fs = require('fs');
const cors = require('cors');
const express = require('express');
const PORT = 8080;
const app = express();
const multer = require('multer');
const upload = multer({ dest: 'public/uploa... | 21.206349 | 68 | 0.631737 |
5c3879984695b3dc1d069ad6c00021e30de44eee | 1,344 | h | C | Source/Utility/utility.h | nanhasa/Blocker | e34ce35ea02468a0bf6bb65900c9209b2fe54df0 | [
"MIT"
] | null | null | null | Source/Utility/utility.h | nanhasa/Blocker | e34ce35ea02468a0bf6bb65900c9209b2fe54df0 | [
"MIT"
] | null | null | null | Source/Utility/utility.h | nanhasa/Blocker | e34ce35ea02468a0bf6bb65900c9209b2fe54df0 | [
"MIT"
] | null | null | null | #pragma once
#include <sstream>
#include <string>
namespace utility {
/**
* \brief timeSinceEpoch
* \return
*/
long timeSinceEpoch();
/**
* \brief Used to get timestamp in milliseconds, thread safe
* \return Current time in milliseconds
*/
int timestampMs();
/**
* \brief deltaTimeSec
* \param ... | 21.333333 | 71 | 0.677083 |
70dd4d84b5974f144f5cf81041af6de668bf6474 | 221 | h | C | Runtime/RuntimeOverview/ViewController.h | onzxgway/ZXGSeniorKit | 9cea3eb2cfb7970473bd8d359b137e53683688ad | [
"MIT"
] | null | null | null | Runtime/RuntimeOverview/ViewController.h | onzxgway/ZXGSeniorKit | 9cea3eb2cfb7970473bd8d359b137e53683688ad | [
"MIT"
] | null | null | null | Runtime/RuntimeOverview/ViewController.h | onzxgway/ZXGSeniorKit | 9cea3eb2cfb7970473bd8d359b137e53683688ad | [
"MIT"
] | null | null | null | //
// ViewController.h
// RuntimeOverview
//
// Created by 朱献国 on 2019/5/24.
// Copyright © 2019年 朱献国. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface RuntimeOverviewController : UIViewController
@end
| 13.8125 | 55 | 0.701357 |
d41f48c7508e3487c012340a8cead55b670753ea | 181 | rs | Rust | src/components/local_player.rs | olefasting/amethyst-2d-platformer | 3212712e26a8d36ac05e4a086588a88a6f8f53d7 | [
"MIT"
] | 2 | 2020-05-10T12:26:35.000Z | 2022-03-10T08:02:57.000Z | src/components/local_player.rs | olefasting/amethyst-2d-platformer | 3212712e26a8d36ac05e4a086588a88a6f8f53d7 | [
"MIT"
] | null | null | null | src/components/local_player.rs | olefasting/amethyst-2d-platformer | 3212712e26a8d36ac05e4a086588a88a6f8f53d7 | [
"MIT"
] | null | null | null | use amethyst::ecs::{Component, NullStorage};
#[derive(Debug, Default, Copy, Clone)]
pub struct LocalPlayer;
impl Component for LocalPlayer {
type Storage = NullStorage<Self>;
}
| 20.111111 | 44 | 0.740331 |
d8a7ee3434f152da916caa303ee37c4fb17a99ac | 5,043 | swift | Swift | sync-ios-app/SignatureViewController.swift | yaalisri/RHMAP | a220e44d48a00bc9ff2243bb58102161097e7f21 | [
"Apache-2.0"
] | null | null | null | sync-ios-app/SignatureViewController.swift | yaalisri/RHMAP | a220e44d48a00bc9ff2243bb58102161097e7f21 | [
"Apache-2.0"
] | null | null | null | sync-ios-app/SignatureViewController.swift | yaalisri/RHMAP | a220e44d48a00bc9ff2243bb58102161097e7f21 | [
"Apache-2.0"
] | null | null | null | //
// SignatureViewController.swift
// sync-ios-app
//
// Created by Vidhya Sri on 11/25/16.
// Copyright © 2016 FeedHenry. All rights reserved.
//
import UIKit
import SwiftSignatureView
public class SignatureViewController: UIViewController, UIAlertViewDelegate, SwiftSignatureViewDelegate {
public var item: ... | 40.344 | 211 | 0.673805 |
01068bb8b711c2abe138200e335c20cad0063c7f | 2,496 | lua | Lua | prods/wtf-atabimp/heightmap.lua | GitoriousLispBackup/praxis | a5c1a806c00c6589a3603a29cc9773a704821ebd | [
"MIT"
] | 103 | 2015-01-08T14:04:30.000Z | 2022-02-04T02:57:14.000Z | prods/wtf-atabimp/heightmap.lua | GitoriousLispBackup/praxis | a5c1a806c00c6589a3603a29cc9773a704821ebd | [
"MIT"
] | 6 | 2015-03-01T13:42:32.000Z | 2020-06-28T18:39:41.000Z | prods/wtf-atabimp/heightmap.lua | GitoriousLispBackup/praxis | a5c1a806c00c6589a3603a29cc9773a704821ebd | [
"MIT"
] | 10 | 2015-03-03T00:09:55.000Z | 2021-08-31T19:10:01.000Z | -- Name: heightmap.lua
--heit = {}
t = 0
t_spd = 0.02
heightmap = {}
cellsize = 10
camCellPosI = 5
camCellPosJ = 5
camAngle = 0
camAngleSpeed = 4
camOrbitCenter = { x = 5 * cellsize, y = 5 * cellsize }
camOrbitRadius = 50
camOrbitHeight = 10
-- make a guy that runs and jumps over these platforms
function heit.in... | 23.327103 | 135 | 0.598157 |
e521504b2eaedb8dc65a4e8248e700b11a38bc4d | 770 | kt | Kotlin | app/src/main/java/com/vikasmaurya/corona/api/ApiClient.kt | vikas972/CoronaApp | fb49f837c53a6d3b8640b15f02b17cdba0f3e2ee | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/vikasmaurya/corona/api/ApiClient.kt | vikas972/CoronaApp | fb49f837c53a6d3b8640b15f02b17cdba0f3e2ee | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/vikasmaurya/corona/api/ApiClient.kt | vikas972/CoronaApp | fb49f837c53a6d3b8640b15f02b17cdba0f3e2ee | [
"Apache-2.0"
] | null | null | null | package com.appdid.topautocare.api
import com.google.gson.GsonBuilder
import okhttp3.OkHttpClient
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
object ApiClient {
private val BASE_URL = "https://corona.lmao.ninja/v2/"
private var retrofit: Retrofit? = null
var client = ... | 22.647059 | 75 | 0.585714 |
5deb4db9d7b01d629f7e49074993945cecd58ebf | 393 | h | C | Other/Headers/MMEmoticonEncryptUtil.h | XWJACK/WeChatPlugin-MacOS | 4241ddb10ccce9484fcf6d5bd51a6afa3b446632 | [
"MIT"
] | 2 | 2019-01-11T02:02:55.000Z | 2020-04-23T02:42:01.000Z | Other/Headers/MMEmoticonEncryptUtil.h | XWJACK/WeChatPlugin-MacOS | 4241ddb10ccce9484fcf6d5bd51a6afa3b446632 | [
"MIT"
] | null | null | null | Other/Headers/MMEmoticonEncryptUtil.h | XWJACK/WeChatPlugin-MacOS | 4241ddb10ccce9484fcf6d5bd51a6afa3b446632 | [
"MIT"
] | 1 | 2021-01-09T14:54:27.000Z | 2021-01-09T14:54:27.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
@interface MMEmoticonEncryptUtil : NSObject
{
}
+ (unsigned char)isEncryptWithHeadbyte:(int)arg1;
+ (id)emo... | 20.684211 | 90 | 0.70229 |
418b3ffcbb7cc0d4dffd580930fee706e9c1290f | 13,031 | c | C | src/io.c | MikeLankamp/osldr | 34c2620d924a1a9cd774d6d924d5f004a3611b97 | [
"MIT"
] | 4 | 2020-06-01T06:45:49.000Z | 2022-01-06T17:35:45.000Z | src/io.c | MikeLankamp/osldr | 34c2620d924a1a9cd774d6d924d5f004a3611b97 | [
"MIT"
] | 1 | 2021-05-13T01:13:14.000Z | 2021-05-13T21:08:14.000Z | src/io.c | MikeLankamp/osldr | 34c2620d924a1a9cd774d6d924d5f004a3611b97 | [
"MIT"
] | null | null | null | #include <drive.h>
#include <errno.h>
#include <io.h>
#include <stdlib.h>
#include <string.h>
#define MAX_READ_TRY 8 /* Try to a read a sector this many times at most */
/* Registered Filesystems */
BOOL FatMount( DEVICE* Device );
BOOL RawMount( DEVICE* Device ); /* Do not add this in the list */
typedef BO... | 23.954044 | 101 | 0.44632 |
0f7c52ff5a25811625fdc8e1860f6280f964fb52 | 1,100 | kt | Kotlin | LottieSample/src/main/kotlin/com/airbnb/lottie/samples/ViewPagerDemoActivity.kt | zicen/lottie-android | 7a44df1de7652e6007a0cad5457d5be8dc6950be | [
"Apache-2.0"
] | null | null | null | LottieSample/src/main/kotlin/com/airbnb/lottie/samples/ViewPagerDemoActivity.kt | zicen/lottie-android | 7a44df1de7652e6007a0cad5457d5be8dc6950be | [
"Apache-2.0"
] | null | null | null | LottieSample/src/main/kotlin/com/airbnb/lottie/samples/ViewPagerDemoActivity.kt | zicen/lottie-android | 7a44df1de7652e6007a0cad5457d5be8dc6950be | [
"Apache-2.0"
] | null | null | null | package com.airbnb.lottie.samples
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.os.Bundle
import android.util.Log
import android.view.View
import android.view.ViewGroup
import android.widget.LinearLayout
import androidx.appcompat.app.AppCompatActivity
import ... | 30.555556 | 69 | 0.785455 |
16d19fe97bf65f58b14ea80187cae528ac32a9d9 | 97 | ts | TypeScript | projects/dvl-fw-core/src/lib/util/index.ts | cns-iu/make-a-vis | c79cff26c908a667f8c137291bbce488780bd8dd | [
"MIT"
] | 6 | 2019-02-12T23:37:36.000Z | 2021-07-24T03:22:49.000Z | projects/dvl-fw-core/src/lib/util/index.ts | cns-iu/make-a-vis | c79cff26c908a667f8c137291bbce488780bd8dd | [
"MIT"
] | 242 | 2018-07-27T16:44:03.000Z | 2022-02-02T18:11:56.000Z | projects/dvl-fw-core/src/lib/util/index.ts | cns-iu/make-a-vis | c79cff26c908a667f8c137291bbce488780bd8dd | [
"MIT"
] | null | null | null | export * from './graphic-symbol-data';
export { ProjectSerializer } from './project-serializer';
| 32.333333 | 57 | 0.731959 |
39f869bb7a2cdb153b0201322348cc713d7adb4f | 878 | java | Java | HelloWorldSpringGRPC/src/main/java/com/hashimati/grpc/hello/HelloServiceChannel.java | hashimati/GRPC-Spring | 8258f16812829541bcefd996d2f9c1a56cd34cdc | [
"Unlicense"
] | null | null | null | HelloWorldSpringGRPC/src/main/java/com/hashimati/grpc/hello/HelloServiceChannel.java | hashimati/GRPC-Spring | 8258f16812829541bcefd996d2f9c1a56cd34cdc | [
"Unlicense"
] | null | null | null | HelloWorldSpringGRPC/src/main/java/com/hashimati/grpc/hello/HelloServiceChannel.java | hashimati/GRPC-Spring | 8258f16812829541bcefd996d2f9c1a56cd34cdc | [
"Unlicense"
] | null | null | null | package com.hashimati.grpc.hello;
import com.hashimati.io.HelloRequest;
import com.hashimati.io.HelloResponse;
import com.hashimati.io.HelloServiceGrpc;
import io.grpc.ManagedChannel;
import io.grpc.ManagedChannelBuilder;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereo... | 30.275862 | 61 | 0.710706 |
ddf557eaf74ce52748f0c54f05c2765d90852f83 | 667 | h | C | plugins/lua/src/lua_lib.h | IllidanS4/YALP-MTA | f7f898c2fac01548bfdbec80f14cdd156b6e9965 | [
"MIT"
] | 1 | 2020-11-08T02:00:26.000Z | 2020-11-08T02:00:26.000Z | plugins/lua/src/lua_lib.h | IllidanS4/YALP-MTA | f7f898c2fac01548bfdbec80f14cdd156b6e9965 | [
"MIT"
] | null | null | null | plugins/lua/src/lua_lib.h | IllidanS4/YALP-MTA | f7f898c2fac01548bfdbec80f14cdd156b6e9965 | [
"MIT"
] | null | null | null | #ifndef LUA_LIB_H_INCLUDED
#define LUA_LIB_H_INCLUDED
#include "lua_api.h"
#include <type_traits>
#if defined(_WIN32) || defined(__CYGWIN__)
#ifdef __GNUC__
#define LUA_EXPORT extern "C" __attribute__ ((dllexport))
#else
#define LUA_EXPORT extern "C" __declspec(dllexport)
#endif
#else
#if __GNUC__ >= 4
#define LUA_E... | 24.703704 | 78 | 0.790105 |
290ae5aa7a3251d1428add1b795c463d0cf72c1c | 336 | kt | Kotlin | domain/src/main/java/com.ihorvitruk.telegramclient.domain/interactor/NetworkInteractor.kt | ihorvitruk/Telegram-Client | 0e80cc5706ef6921b2594d5de25f9ea8a04f406b | [
"Apache-2.0"
] | 26 | 2018-01-31T20:33:35.000Z | 2022-03-02T02:37:33.000Z | domain/src/main/java/com.ihorvitruk.telegramclient.domain/interactor/NetworkInteractor.kt | ihorvitruk/Telegram-Client | 0e80cc5706ef6921b2594d5de25f9ea8a04f406b | [
"Apache-2.0"
] | null | null | null | domain/src/main/java/com.ihorvitruk.telegramclient.domain/interactor/NetworkInteractor.kt | ihorvitruk/Telegram-Client | 0e80cc5706ef6921b2594d5de25f9ea8a04f406b | [
"Apache-2.0"
] | 12 | 2018-01-05T18:36:15.000Z | 2021-04-19T14:53:08.000Z | package com.ihorvitruk.telegramclient.domain.interactor
import com.ihorvitruk.telegramclient.domain.repository.INetworkRepository
import javax.inject.Inject
class NetworkInteractor @Inject constructor(private val networkRepository: INetworkRepository) {
fun checkNetworkConnection() = networkRepository.checkNetwo... | 37.333333 | 96 | 0.857143 |
187b0c8f99116d43f82b206b996b6f879bc9588f | 193 | sql | SQL | Store.Infra/Scripts/Procedures/spReturnCustomer.sql | douglasrg1/Store | 9e0d09fd629882659082bd8b23becb0e76d935c3 | [
"MIT"
] | null | null | null | Store.Infra/Scripts/Procedures/spReturnCustomer.sql | douglasrg1/Store | 9e0d09fd629882659082bd8b23becb0e76d935c3 | [
"MIT"
] | null | null | null | Store.Infra/Scripts/Procedures/spReturnCustomer.sql | douglasrg1/Store | 9e0d09fd629882659082bd8b23becb0e76d935c3 | [
"MIT"
] | null | null | null | create procedure spReturnCustomer
@Id UNIQUEIDENTIFIER
as
select
[Id],
concat([FirstName],' ',[LastName]) AS [Name],
[Document],
[Email]
from
[Customer]
where
@Id = [Id] | 16.083333 | 49 | 0.632124 |
71eeffb8dfff0bcdcd74b62536f5647bf4e8691c | 9,390 | swift | Swift | Teste1/TripCaptureModules/DetectActivityModule.swift | motiv-woorti-app/woorti-ios | 10ccd7a09f0b0272e8fad7031d87db38ca96c3cb | [
"Apache-2.0"
] | null | null | null | Teste1/TripCaptureModules/DetectActivityModule.swift | motiv-woorti-app/woorti-ios | 10ccd7a09f0b0272e8fad7031d87db38ca96c3cb | [
"Apache-2.0"
] | null | null | null | Teste1/TripCaptureModules/DetectActivityModule.swift | motiv-woorti-app/woorti-ios | 10ccd7a09f0b0272e8fad7031d87db38ca96c3cb | [
"Apache-2.0"
] | null | null | null | // (C) 2017-2020 - The Woorti app is a research (non-commercial) application that was
// developed in the context of the European research project MoTiV (motivproject.eu). The
// code was developed by partner INESC-ID with contributions in graphics design by partner
// TIS. The Woorti app development was one of the out... | 38.641975 | 205 | 0.640043 |
5fa8591bcd4e78196ec292c82b37247aa09e7ce1 | 2,536 | c | C | Plugins/Nektar/Veclib/math/xvrand.c | mathstuf/ParaView | e867e280545ada10c4ed137f6a966d9d2f3db4cb | [
"Apache-2.0"
] | 1 | 2020-05-21T20:20:59.000Z | 2020-05-21T20:20:59.000Z | Plugins/Nektar/Veclib/math/xvrand.c | mathstuf/ParaView | e867e280545ada10c4ed137f6a966d9d2f3db4cb | [
"Apache-2.0"
] | null | null | null | Plugins/Nektar/Veclib/math/xvrand.c | mathstuf/ParaView | e867e280545ada10c4ed137f6a966d9d2f3db4cb | [
"Apache-2.0"
] | 5 | 2016-04-14T13:42:37.000Z | 2021-05-22T04:59:42.000Z | /*
* Random number generation
*/
#include <stdio.h>
#include <math.h>
#include <assert.h>
#ifndef NULL
#define NULL (0L)
#endif
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
static int iseed;
/* Prototypes */
void InitializeRandom (int);
double Random (double, double);
double GetGaussi... | 17.489655 | 76 | 0.556782 |
38b03905216996ea22ad40561dc1b68493b52a31 | 2,009 | c | C | atividades/at02/mini-calculadora.c | studTon/inf029-evertondasilva | 901b90fb9c52b9659a05bd399aa219cf3869b333 | [
"MIT"
] | 1 | 2021-02-24T23:54:06.000Z | 2021-02-24T23:54:06.000Z | atividades/at02/mini-calculadora.c | studTon/INF029-EvertondaSilva | 901b90fb9c52b9659a05bd399aa219cf3869b333 | [
"MIT"
] | 16 | 2021-04-15T14:05:17.000Z | 2021-07-02T19:17:35.000Z | atividades/at02/mini-calculadora.c | studTon/inf029-evertondasilva | 901b90fb9c52b9659a05bd399aa219cf3869b333 | [
"MIT"
] | null | null | null | #include <stdio.h>
//Funções para as operações da calculadora
float somar(float numA, float numB)
{
return numA + numB;
}
float subtrair(float numA, float numB)
{
return numA - numB;
}
float multiplicar(float numA, float numB)
{
return numA * numB;
}
float dividir(float numA, float numB)
{
return n... | 23.360465 | 86 | 0.467894 |
50fe3fdc5b3b6c9c6750ef53f2b8e18bb7e2e47b | 3,652 | go | Go | ws/broker.go | aurawing/auramq-ws | 071a6e872d30fc4998f8f934a5fdec294543833d | [
"Apache-2.0"
] | null | null | null | ws/broker.go | aurawing/auramq-ws | 071a6e872d30fc4998f8f934a5fdec294543833d | [
"Apache-2.0"
] | null | null | null | ws/broker.go | aurawing/auramq-ws | 071a6e872d30fc4998f8f934a5fdec294543833d | [
"Apache-2.0"
] | null | null | null | package ws
import (
"log"
"net/http"
"github.com/aurawing/auramq"
"github.com/aurawing/auramq/msg"
"github.com/golang/protobuf/proto"
"github.com/gorilla/websocket"
)
//Broker websocket broker
type Broker struct {
server *http.Server
router *auramq.Router
addr str... | 25.538462 | 195 | 0.650329 |
908dff4d2569e28ef9e0402585297af47fa5a697 | 685 | kt | Kotlin | src/main/kotlin/com/opt2code/core/obj/PrevV_.kt | alexn0/core | faed6269e08a35a521b8a1c631f4cd3d30b1ec95 | [
"BSD-2-Clause"
] | null | null | null | src/main/kotlin/com/opt2code/core/obj/PrevV_.kt | alexn0/core | faed6269e08a35a521b8a1c631f4cd3d30b1ec95 | [
"BSD-2-Clause"
] | null | null | null | src/main/kotlin/com/opt2code/core/obj/PrevV_.kt | alexn0/core | faed6269e08a35a521b8a1c631f4cd3d30b1ec95 | [
"BSD-2-Clause"
] | null | null | null | /**
* Copyright (C) 2019-present alexn0
* All rights reserved.
*/
package com.opt2code.core.obj
open class PrevV_<S: ObjectV, T: ObjectV> private constructor(
override val s: S,
override val t: T,
data: Data,
o: PreObjectV = PreObjectV_.preObjectV(data)
): PreObjectV by o, PrevV<S, T... | 29.782609 | 135 | 0.620438 |
c267bccd3a5bb25f9459721aefc4b4d576cebb0f | 2,467 | kt | Kotlin | common/src/main/java/co/railgun/common/StringUtil.kt | ProjectRailgun/Spica | 394f3303fc261289a82e7a39dd77a9e413ca27ed | [
"MIT"
] | null | null | null | common/src/main/java/co/railgun/common/StringUtil.kt | ProjectRailgun/Spica | 394f3303fc261289a82e7a39dd77a9e413ca27ed | [
"MIT"
] | null | null | null | common/src/main/java/co/railgun/common/StringUtil.kt | ProjectRailgun/Spica | 394f3303fc261289a82e7a39dd77a9e413ca27ed | [
"MIT"
] | null | null | null | package co.railgun.common
import co.railgun.common.model.Bangumi
import co.railgun.common.model.Episode
import co.railgun.common.model.EpisodeDetail
import java.text.SimpleDateFormat
import java.util.*
import java.util.concurrent.TimeUnit
/**
* Created by roya on 2017/7/20.
*/
object StringUtil {
private var d... | 30.45679 | 92 | 0.593028 |
df9507808c840025d31a6e46207ab4b626e715be | 146 | ts | TypeScript | src/ts/util/anyWindow.ts | kkysen/Polybius | ee63653fbaafa6719413b04020e678e8f6be6963 | [
"MIT"
] | 1 | 2018-07-17T16:26:17.000Z | 2018-07-17T16:26:17.000Z | src/ts/util/anyWindow.ts | kkhan01/Polybius | ee63653fbaafa6719413b04020e678e8f6be6963 | [
"MIT"
] | null | null | null | src/ts/util/anyWindow.ts | kkhan01/Polybius | ee63653fbaafa6719413b04020e678e8f6be6963 | [
"MIT"
] | 2 | 2018-11-15T23:33:05.000Z | 2019-02-16T01:54:04.000Z | export const anyWindow: any = window;
export const globals = function(o: Object): void {
Object.assign(anyWindow, o);
};
globals({globals}); | 20.857143 | 50 | 0.69863 |
3e95318e93734e49f717343482776d7b3ffbf97f | 607 | h | C | YJGoogleMapDemo/Pods/YJUIKit/YJUIKit/YJWebViewController/ViewModels/YJWebViewViewModel/YJWebViewViewModel.h | MOyejin/YJGoogleMap | abb78f4ba8e0b6d99c2fa030aa476935ce4f0a1e | [
"MIT"
] | 1 | 2020-12-01T05:08:38.000Z | 2020-12-01T05:08:38.000Z | YJGoogleMapDemo/Pods/YJUIKit/YJUIKit/YJWebViewController/ViewModels/YJWebViewViewModel/YJWebViewViewModel.h | MOyejin/YJGoogleMap | abb78f4ba8e0b6d99c2fa030aa476935ce4f0a1e | [
"MIT"
] | null | null | null | YJGoogleMapDemo/Pods/YJUIKit/YJUIKit/YJWebViewController/ViewModels/YJWebViewViewModel/YJWebViewViewModel.h | MOyejin/YJGoogleMap | abb78f4ba8e0b6d99c2fa030aa476935ce4f0a1e | [
"MIT"
] | null | null | null | //
// YJWebViewViewModel.h
// YJFoundationDemo
//
// Created by Moyejin668 on 2020/1/16.
// Copyright © 2020 Moyejin. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "YJWebViewController.h"
NS_ASSUME_NONNULL_BEGIN
@interface YJWebViewViewModel : NSObject
/**
只读的YJWebViewController
*/
@proper... | 18.393939 | 81 | 0.782537 |
12afa6e9b367d151876d3528075930f48af99b06 | 2,181 | h | C | Source/VTKExtensions/Client/vtkSMSceneContourSourceProxy.h | developkits/cmb | caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb | [
"BSD-3-Clause"
] | null | null | null | Source/VTKExtensions/Client/vtkSMSceneContourSourceProxy.h | developkits/cmb | caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb | [
"BSD-3-Clause"
] | null | null | null | Source/VTKExtensions/Client/vtkSMSceneContourSourceProxy.h | developkits/cmb | caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb | [
"BSD-3-Clause"
] | null | null | null | //=========================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... | 36.35 | 87 | 0.731316 |
f072f90f05851bf118abac79a95ef4ec1e8b1416 | 614 | js | JavaScript | test/polyfill.js | zoubin/tick-node | 739a74bf8e600fb2a56682bece3d5e9f29ce691f | [
"MIT"
] | 16 | 2016-01-08T14:56:38.000Z | 2022-02-10T11:57:57.000Z | test/polyfill.js | zoubin/debug-nexttick | 739a74bf8e600fb2a56682bece3d5e9f29ce691f | [
"MIT"
] | null | null | null | test/polyfill.js | zoubin/debug-nexttick | 739a74bf8e600fb2a56682bece3d5e9f29ce691f | [
"MIT"
] | 2 | 2017-05-23T07:51:29.000Z | 2017-05-23T15:58:25.000Z | var test = require('tap').test
var debugNextTick = require('..')
function polyfill() {
debugNextTick.polyfill({ log: false })
}
test('polyfill', function (t) {
t.plan(4)
polyfill()
t.equal(process.nextTick._tick, undefined, 'no debug')
process.nextTick(function () {
process.env.NODE_DEBUG = 'nexttick'... | 20.466667 | 59 | 0.648208 |
bcbd1ba80f48975fa39944d102632a469ade212b | 10,298 | js | JavaScript | server/src/main/resources/eclairjs/ml/classification/DecisionTreeClassifier.js | ckadner/eclairjs | e354253af9a92cb868783060feb6fb7a6ee12403 | [
"Apache-2.0"
] | 138 | 2016-10-10T22:18:46.000Z | 2022-01-20T18:47:52.000Z | server/src/main/resources/eclairjs/ml/classification/DecisionTreeClassifier.js | ckadner/eclairjs | e354253af9a92cb868783060feb6fb7a6ee12403 | [
"Apache-2.0"
] | 27 | 2016-10-12T19:58:45.000Z | 2022-02-16T13:55:39.000Z | server/src/main/resources/eclairjs/ml/classification/DecisionTreeClassifier.js | ckadner/eclairjs | e354253af9a92cb868783060feb6fb7a6ee12403 | [
"Apache-2.0"
] | 25 | 2016-09-30T18:08:58.000Z | 2020-07-07T03:05:53.000Z | /*
* Copyright 2016 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not us... | 35.510345 | 114 | 0.637308 |
15f995974c06eba5637d7f77bf679de3b45bef89 | 2,011 | rb | Ruby | lib/jekyll/zettel/tags.rb | mgerzabek/jekyll-zettel | 7f3b47ba382cb51c3dca81c4af89efd615bf3615 | [
"MIT"
] | 1 | 2022-01-19T09:42:53.000Z | 2022-01-19T09:42:53.000Z | lib/jekyll/zettel/tags.rb | mgerzabek/jekyll-zettel | 7f3b47ba382cb51c3dca81c4af89efd615bf3615 | [
"MIT"
] | null | null | null | lib/jekyll/zettel/tags.rb | mgerzabek/jekyll-zettel | 7f3b47ba382cb51c3dca81c4af89efd615bf3615 | [
"MIT"
] | null | null | null | module Jekyll
module Zettel
# Generate tags.json from page front matter
class Tags < Jekyll::Generator
include Jekyll::Zettel
SLUG_FORMAT = %r{glosse/(?<slug>.*)/index.(?<ext>html|md)}i.freeze
attr_reader :site
def generate(site)
@site = site
@site.data['aliases'] =... | 26.460526 | 86 | 0.521631 |
5fe2f4d04dfcb1cf2f2a1787fd8dbfe8e90eaf05 | 912 | h | C | include/pressswitch.h | chris-hunt-98/sokoban-3D | a27b1678b02566d19287b2aee080feb3f1ae66e9 | [
"MIT"
] | null | null | null | include/pressswitch.h | chris-hunt-98/sokoban-3D | a27b1678b02566d19287b2aee080feb3f1ae66e9 | [
"MIT"
] | null | null | null | include/pressswitch.h | chris-hunt-98/sokoban-3D | a27b1678b02566d19287b2aee080feb3f1ae66e9 | [
"MIT"
] | null | null | null | #ifndef PRESSSWITCH_H
#define PRESSSWITCH_H
#include "objectmodifier.h"
#include "switch.h"
class MapFileI;
class MapFileO;
class RoomMap;
class DeltaFrame;
class GraphicsManager;
class PressSwitch: public Switch {
public:
PressSwitch(GameObject* parent, int color, bool persistent, bool active);
virtual ~Pr... | 21.209302 | 82 | 0.726974 |
e2dabd1f4b52550e7949b855cf6d5ab24213540d | 989 | kt | Kotlin | app/src/main/java/com/github/satoshun/example/main/ViewPropertyAnimatorFragment.kt | satoshun-android-example/DependencyTracker | ecf829f817ac033ae065dc579303ffc52faa1417 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/github/satoshun/example/main/ViewPropertyAnimatorFragment.kt | satoshun-android-example/DependencyTracker | ecf829f817ac033ae065dc579303ffc52faa1417 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/github/satoshun/example/main/ViewPropertyAnimatorFragment.kt | satoshun-android-example/DependencyTracker | ecf829f817ac033ae065dc579303ffc52faa1417 | [
"Apache-2.0"
] | null | null | null | package com.github.satoshun.example.main
import android.os.Bundle
import android.view.View
import android.view.animation.OvershootInterpolator
import androidx.fragment.app.Fragment
import androidx.lifecycle.lifecycleScope
import com.github.satoshun.example.R
import com.github.satoshun.example.databinding.PropertyValue... | 29.969697 | 85 | 0.763397 |
6b6bec13459e1b3f4d16f78f85d285650d38eac0 | 586 | h | C | nrf51-marine-display/src/config.h | chacal/arduino | 6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd | [
"Apache-2.0"
] | 4 | 2016-12-10T13:20:52.000Z | 2019-10-25T19:47:44.000Z | nrf51-marine-display/src/config.h | chacal/arduino | 6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd | [
"Apache-2.0"
] | null | null | null | nrf51-marine-display/src/config.h | chacal/arduino | 6b77e59138a36d0627ab6f529e6f2ea7e65bcdfd | [
"Apache-2.0"
] | 1 | 2019-05-03T17:31:38.000Z | 2019-05-03T17:31:38.000Z | #pragma once
#define PB_CMD_MAX_SIZE 35 // Enough to transfer 20 character string
#define PB_CMD_SEQ_MAX_LENGTH 5
#define MAX_BLE_MESSAGE_SIZE (PB_CMD_MAX_SIZE * PB_CMD_SEQ_MAX_LENGTH)
#define APP_SCHEDULER_QUEUE_SIZE (PB_CMD_SEQ_MAX_LENGTH + 1)
#define APP_SCHEDULER_EVENT_SIZE sizeof(D... | 34.470588 | 81 | 0.745734 |
8581b12a1ade18f5f071e59e20aa535bd5eacf89 | 403 | js | JavaScript | jsonp/320581.js | c-tsy/data_location | f7db57bf8cfec889b7d90f5d30b3a062490b2125 | [
"MIT"
] | null | null | null | jsonp/320581.js | c-tsy/data_location | f7db57bf8cfec889b7d90f5d30b3a062490b2125 | [
"MIT"
] | null | null | null | jsonp/320581.js | c-tsy/data_location | f7db57bf8cfec889b7d90f5d30b3a062490b2125 | [
"MIT"
] | null | null | null | if(_area_jsonp_320581){_area_jsonp_320581({"320581001":"虞山街道","320581002":"常福街道","320581003":"琴川街道","320581004":"莫城街道","320581005":"碧溪街道","320581006":"东南街道","320581101":"梅李镇","320581102":"海虞镇","320581104":"古里镇","320581105":"沙家浜镇","320581106":"支塘镇","320581107":"董浜镇","320581110":"辛庄镇","320581111":"尚湖镇","320581401":"常熟经济技... | 403 | 403 | 0.71464 |
228aae4223ab38c1f780ec6b9758909108f360ea | 272 | asm | Assembly | dev_os/boot_simpleos_print.asm | sdtm66/OS_dev | 947bed3dead0f59e3e71811c57f46f05ae5b0db9 | [
"MIT"
] | null | null | null | dev_os/boot_simpleos_print.asm | sdtm66/OS_dev | 947bed3dead0f59e3e71811c57f46f05ae5b0db9 | [
"MIT"
] | null | null | null | dev_os/boot_simpleos_print.asm | sdtm66/OS_dev | 947bed3dead0f59e3e71811c57f46f05ae5b0db9 | [
"MIT"
] | null | null | null | print:
pusha
start:
mov al,[bx]
cmp al,0
je done
mov ah,0x0e
int 0x10
add bx,1
jmp start
done:
popa
ret
print_nl:
pusha
mov ah,0x0e
mov al,0x0a;huan hang
int 0x10
mov al,0x0d;hui che
int 0x10
popa
ret | 12.363636 | 25 | 0.551471 |
77c9858e01db8c858985bb8fef70f77803afc0e8 | 1,859 | kt | Kotlin | android/src/main/kotlin/com/tomasznajda/ktx/android/LogExt.kt | tomasznajda/useful-ktx | 5efbd11492dbcc634c34990d8dcb90e9fd07ce17 | [
"Apache-2.0"
] | 19 | 2018-10-29T20:02:17.000Z | 2020-10-22T08:42:40.000Z | android/src/main/kotlin/com/tomasznajda/ktx/android/LogExt.kt | tomasznajda/useful-ktx | 5efbd11492dbcc634c34990d8dcb90e9fd07ce17 | [
"Apache-2.0"
] | 1 | 2019-02-20T03:15:14.000Z | 2019-02-28T08:05:57.000Z | android/src/main/kotlin/com/tomasznajda/ktx/android/LogExt.kt | tomasznajda/useful-ktx | 5efbd11492dbcc634c34990d8dcb90e9fd07ce17 | [
"Apache-2.0"
] | 3 | 2019-02-03T14:55:54.000Z | 2021-01-17T19:48:38.000Z | package com.tomasznajda.ktx.android
import android.util.Log
fun logwtf(tag: String, msg: String = "", e: Throwable? = null) =
e?.let { Log.wtf(tag, msg, e) } ?: Log.wtf(tag, msg)
fun loge(tag: String, msg: String = "", e: Throwable? = null) =
e?.let { Log.e(tag, msg, e) } ?: Log.e(tag, msg)
fun logw... | 39.553191 | 102 | 0.604088 |
1252a4556b72ded51698ac1683a59518d00e4724 | 1,438 | h | C | Zhirnov/HW_6/format.h | mtrempoltsev/msu_cpp_autumn_2018 | 9272511ddfaa78332cfabda071b5fa3a9aee79cf | [
"MIT"
] | 16 | 2018-09-27T13:59:59.000Z | 2019-10-01T21:33:40.000Z | Zhirnov/HW_6/format.h | mtrempoltsev/msu_cpp_autumn_2018 | 9272511ddfaa78332cfabda071b5fa3a9aee79cf | [
"MIT"
] | 2 | 2018-10-17T20:56:15.000Z | 2018-10-24T00:02:42.000Z | Zhirnov/HW_6/format.h | mtrempoltsev/msu_cpp_autumn_2018 | 9272511ddfaa78332cfabda071b5fa3a9aee79cf | [
"MIT"
] | 22 | 2018-09-27T14:00:16.000Z | 2019-12-17T19:44:33.000Z | #pragma once
#include <string>
#include <sstream>
#include <vector>
#include <stdexcept>
#include <stdlib.h>
template <class T>
std::string to_string(T&& arg) {
std::ostringstream os;
os << arg;
return os.str();
}
template<class... ArgsT>
std::string format(const std::string& str, ArgsT&&... args) {
... | 23.966667 | 78 | 0.40751 |
8561862c7fc79d6ad2020ae37a5cf870e0e07686 | 744 | js | JavaScript | routes/api/thought-routes.js | davidjaguilar104/nosql-social-network-api | 90a0725b55abe1ef7d36e9f23dbe41dd9a1566d4 | [
"MIT"
] | null | null | null | routes/api/thought-routes.js | davidjaguilar104/nosql-social-network-api | 90a0725b55abe1ef7d36e9f23dbe41dd9a1566d4 | [
"MIT"
] | null | null | null | routes/api/thought-routes.js | davidjaguilar104/nosql-social-network-api | 90a0725b55abe1ef7d36e9f23dbe41dd9a1566d4 | [
"MIT"
] | null | null | null | const router = require("express").Router();
const {
getAllThoughts,
getThoughtById,
createThought,
updateThought,
deleteThought,
addReaction,
deleteReaction
} = require("../../controllers/thought-controller");
// get all thoughts
router.route("/").get(getAllThoughts);
// post a thought
ro... | 27.555556 | 82 | 0.728495 |
ef6bf844941c26f00f6ff37a215778dbe073f503 | 436 | asm | Assembly | oeis/101/A101563.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/101/A101563.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/101/A101563.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A101563: a(n)=(-1)^n*coefficient of x^n in sum{k>=1,x^(k-1)/(1+10x^k)}.
; Submitted by Christian Krause
; 1,9,101,1009,10001,99909,1000001,10001009,100000101,999990009,10000000001,100000100909,1000000000001,9999999000009,100000000010101,1000000010001009,10000000000000001,99999999900099909
add $0,1
mov $2,$0
lpb $0
... | 22.947368 | 185 | 0.690367 |
c369b39bf440c0c7a46955a79d1ae62aa7a7399f | 435 | go | Go | models/person.go | cy422396350/cygin | b7f4a67eddbc8292b3c21efd270c209b5ae0af26 | [
"Apache-2.0"
] | null | null | null | models/person.go | cy422396350/cygin | b7f4a67eddbc8292b3c21efd270c209b5ae0af26 | [
"Apache-2.0"
] | null | null | null | models/person.go | cy422396350/cygin | b7f4a67eddbc8292b3c21efd270c209b5ae0af26 | [
"Apache-2.0"
] | null | null | null | package models
import (
redis2 "github.com/chasex/redis-go-cluster"
"github.com/cy422396350/cygin/redis"
"log"
)
type HandlePerson interface {
GetKey(key string) (name string, err error)
}
type Person struct {
Id int
Name string
Password string
}
func (p *Person) GetKey(key string) (name string, er... | 16.730769 | 62 | 0.685057 |
d1d882cf21a5d2c9d2f5c9a91883eba10adaeee7 | 2,465 | kt | Kotlin | app/src/main/java/com/czech/muvies/models/PersonMovies.kt | IkemNwodo/Muvies | 7f1af79d5da40fe3cc608dd45bb70226887e1922 | [
"MIT"
] | 4 | 2020-05-18T19:06:13.000Z | 2021-06-02T20:25:24.000Z | app/src/main/java/com/czech/muvies/models/PersonMovies.kt | segunfrancis/Muvies | 82c9a919ce8f7558f69beea01676dc8e48ccd36e | [
"MIT"
] | null | null | null | app/src/main/java/com/czech/muvies/models/PersonMovies.kt | segunfrancis/Muvies | 82c9a919ce8f7558f69beea01676dc8e48ccd36e | [
"MIT"
] | 3 | 2021-05-22T07:27:06.000Z | 2021-09-23T19:41:20.000Z | package com.czech.muvies.models
import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.android.parcel.Parcelize
import kotlinx.android.parcel.RawValue
@Parcelize
data class PersonMovies(
val cast: List<Cast?>? = null,
val crew: List<Crew?>? = null,
val id: Int? = nu... | 33.310811 | 49 | 0.612982 |
dd6d8b8225f453f48e1ac18fa9388f74aed8a058 | 160 | php | PHP | src/RPC/Tunnel/Context.php | Sirius-social/sirius-sdk-php | 611322a340033f78d5a4460b5f67a68e489cf677 | [
"Apache-2.0"
] | 2 | 2020-10-13T14:06:44.000Z | 2021-11-25T13:03:17.000Z | src/RPC/Tunnel/Context.php | Sirius-social/sirius-sdk-php | 611322a340033f78d5a4460b5f67a68e489cf677 | [
"Apache-2.0"
] | 10 | 2021-09-17T15:09:19.000Z | 2021-10-04T11:28:08.000Z | src/RPC/Tunnel/Context.php | Sirius-social/sirius-sdk-php | 611322a340033f78d5a4460b5f67a68e489cf677 | [
"Apache-2.0"
] | 2 | 2021-11-26T16:25:09.000Z | 2022-03-27T12:20:45.000Z | <?php
namespace Siruis\RPC\Tunnel;
class Context
{
public $encrypted;
public function __construct()
{
$this->encrypted = false;
}
} | 10.666667 | 33 | 0.60625 |
98d6db5bf4892ee9c331f32ec11193a7eccd6b74 | 2,898 | lua | Lua | scripts/screenhelper.lua | 58115310/isaac-mod-config-menu | 612071c448e29095917a3902f73031a4a5722feb | [
"MIT"
] | 2 | 2021-12-27T23:01:49.000Z | 2022-03-20T22:55:39.000Z | scripts/screenhelper.lua | 58115310/isaac-mod-config-menu | 612071c448e29095917a3902f73031a4a5722feb | [
"MIT"
] | 5 | 2021-12-14T15:43:26.000Z | 2022-01-29T04:49:05.000Z | scripts/screenhelper.lua | 58115310/isaac-mod-config-menu | 612071c448e29095917a3902f73031a4a5722feb | [
"MIT"
] | 4 | 2021-12-14T15:39:45.000Z | 2022-01-29T04:12:11.000Z | ------------------------------------------------------------------------------
-- IMPORTANT: DO NOT EDIT THIS FILE!!! --
------------------------------------------------------------------------------
-- This file relies on other versions of itself being the same. --
-- I... | 21.466667 | 104 | 0.632505 |
21167907bf4261e027631a865df7583b69d3fca3 | 6,622 | lua | Lua | src/wesenGemaMod/GemaScoreManager/ScoreContextProvider.lua | wesen1/wesenGemaMod | 15a4b44cce7f1e5c18ce6fea9242562f15ecce93 | [
"MIT"
] | 1 | 2020-11-05T05:45:36.000Z | 2020-11-05T05:45:36.000Z | src/wesenGemaMod/GemaScoreManager/ScoreContextProvider.lua | wesen1/wesenGemaMod | 15a4b44cce7f1e5c18ce6fea9242562f15ecce93 | [
"MIT"
] | 64 | 2018-03-24T16:31:56.000Z | 2021-12-31T19:18:40.000Z | src/wesenGemaMod/GemaScoreManager/ScoreContextProvider.lua | wesen1/wesenGemaMod | 15a4b44cce7f1e5c18ce6fea9242562f15ecce93 | [
"MIT"
] | 2 | 2021-01-05T00:05:46.000Z | 2021-06-25T04:39:08.000Z | ---
-- @author wesen
-- @copyright 2021 wesen <wesen-ac@web.de>
-- @release 0.1
-- @license MIT
--
local LuaServerApi = require "AC-LuaServer.Core.LuaServerApi"
local Object = require "classic"
---
-- Provides the score contexts for the map tops and server tops.
-- At the moment it provides a "main" context (fastest ... | 31.990338 | 120 | 0.792812 |
57609f7a52e38824da2f35c302daf4d5af9f4d97 | 1,972 | h | C | BlocksEngine/include/BlocksEngine/Core/Dispatch/BaseDispatchQueue.h | jorgeparavicini/Blocks | dd1654d5643ca3707d39ae6ef21667e9b72130ef | [
"Apache-2.0"
] | null | null | null | BlocksEngine/include/BlocksEngine/Core/Dispatch/BaseDispatchQueue.h | jorgeparavicini/Blocks | dd1654d5643ca3707d39ae6ef21667e9b72130ef | [
"Apache-2.0"
] | 3 | 2022-01-02T10:10:49.000Z | 2022-01-02T10:25:53.000Z | BlocksEngine/include/BlocksEngine/Core/Dispatch/BaseDispatchQueue.h | jorgeparavicini/Blocks | dd1654d5643ca3707d39ae6ef21667e9b72130ef | [
"Apache-2.0"
] | null | null | null | //
// Copyright (c) 2021, Severin Goddon & Jorge Paravicini
// All rights reserved.
//
// This source code is licensed under the MIT-style license found in LICENSE file in the root directory of this source tree.
//
// Author: Jorge Paravicini
// File: BaseDispatchQueue.h
#pragma once
#include <mutex>
#include <qu... | 32.327869 | 124 | 0.411258 |
41316c011f5ad5a0460fdb2073507d9f0dd2c28d | 1,401 | h | C | stheno/src/org/cracs/stheno/common/UID.h | rolandomar/stheno | 6b41f56f25be1e7d56c8be4973203bf943e4f041 | [
"Apache-2.0"
] | 7 | 2015-08-17T16:24:22.000Z | 2022-03-16T15:54:19.000Z | stheno/src/org/cracs/stheno/common/UID.h | rolandomar/stheno | 6b41f56f25be1e7d56c8be4973203bf943e4f041 | [
"Apache-2.0"
] | null | null | null | stheno/src/org/cracs/stheno/common/UID.h | rolandomar/stheno | 6b41f56f25be1e7d56c8be4973203bf943e4f041 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2012 Rolando Martins, CRACS & INESC-TEC, DCC/FCUP
*
* 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
*
* Unle... | 25.472727 | 87 | 0.695218 |
24c8638f678402a484cfdc1ee90ae2b67ff78427 | 3,832 | go | Go | internal/cli/atlas_clusters_update.go | p-mongo/mongocli | 7c0010167ae649910b0da2581aab031dc862b661 | [
"Apache-2.0"
] | null | null | null | internal/cli/atlas_clusters_update.go | p-mongo/mongocli | 7c0010167ae649910b0da2581aab031dc862b661 | [
"Apache-2.0"
] | null | null | null | internal/cli/atlas_clusters_update.go | p-mongo/mongocli | 7c0010167ae649910b0da2581aab031dc862b661 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 MongoDB 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 in... | 27.970803 | 119 | 0.708246 |
c17859710fb4b83d390a60cce1c8cc1f320726af | 655 | kt | Kotlin | core/src/main/java/gr/blackswamp/core/data/Response.kt | JMavrelos/RatingsDiary | 9bf2635582fbb6c5ce82860241cf5f206f995729 | [
"Apache-2.0"
] | null | null | null | core/src/main/java/gr/blackswamp/core/data/Response.kt | JMavrelos/RatingsDiary | 9bf2635582fbb6c5ce82860241cf5f206f995729 | [
"Apache-2.0"
] | null | null | null | core/src/main/java/gr/blackswamp/core/data/Response.kt | JMavrelos/RatingsDiary | 9bf2635582fbb6c5ce82860241cf5f206f995729 | [
"Apache-2.0"
] | null | null | null | package gr.blackswamp.core.data
class Response<T : Any?>(private val value: Any?) {
companion object {
fun <T> success(value: T): Response<T> = Response(value)
fun <T> failure(exception: Throwable): Response<T> = Response(Failure(exception))
fun <T> failure(message: String, cause: Throwable... | 31.190476 | 126 | 0.653435 |
7f914907f07730305b1155ab6af25e9b2bd81143 | 46 | go | Go | model/public_endpoint.go | prachidamle/v2-api | 097a723c797f1bbb096576b74cbea04f2f90abd2 | [
"Apache-2.0"
] | 1 | 2016-03-06T15:55:50.000Z | 2016-03-06T15:55:50.000Z | model/public_endpoint.go | prachidamle/v2-api | 097a723c797f1bbb096576b74cbea04f2f90abd2 | [
"Apache-2.0"
] | 5 | 2016-02-24T19:16:07.000Z | 2020-07-31T16:03:29.000Z | model/public_endpoint.go | prachidamle/v2-api | 097a723c797f1bbb096576b74cbea04f2f90abd2 | [
"Apache-2.0"
] | 4 | 2016-02-23T17:49:05.000Z | 2021-01-24T11:55:58.000Z | package model
type PublicEndpoint struct {
}
| 9.2 | 28 | 0.782609 |
0a43ca243356a7ea274695b1faa5559ac7dcd5c1 | 263 | ts | TypeScript | src/dto/country-dto.ts | dannystyleart/country-data | f426f73ce2ff25f131a925f9642abd8de76e6f7b | [
"MIT"
] | null | null | null | src/dto/country-dto.ts | dannystyleart/country-data | f426f73ce2ff25f131a925f9642abd8de76e6f7b | [
"MIT"
] | 38 | 2022-01-02T23:53:40.000Z | 2022-03-28T14:23:00.000Z | src/dto/country-dto.ts | dannystyleart/country-data | f426f73ce2ff25f131a925f9642abd8de76e6f7b | [
"MIT"
] | null | null | null | import { ApiResponseProperty } from '@nestjs/swagger';
export class CountryDto {
@ApiResponseProperty({ type: 'string' })
name: string;
@ApiResponseProperty({ type: 'string' })
iso2: string;
@ApiResponseProperty({ type: 'string' })
iso3: string;
}
| 20.230769 | 54 | 0.684411 |
04fe67c3a90f4a52aa7d7059b769c0472cbd1196 | 145 | sql | SQL | sql-install/mssql/create_schemas.sql | OsmiumKZ/DormServer | 89fbec2d5ba7f8d7155cad001e3c91fe2acef3be | [
"MIT"
] | 1 | 2020-02-22T16:07:13.000Z | 2020-02-22T16:07:13.000Z | sql-install/mssql/create_schemas.sql | OsmiumKZ/DormServer | 89fbec2d5ba7f8d7155cad001e3c91fe2acef3be | [
"MIT"
] | null | null | null | sql-install/mssql/create_schemas.sql | OsmiumKZ/DormServer | 89fbec2d5ba7f8d7155cad001e3c91fe2acef3be | [
"MIT"
] | null | null | null | -- --------------------------------------------------------
--
-- Создание БД Dorm
--
CREATE DATABASE [dorm]
COLLATE Cyrillic_General_CI_AS
GO
| 16.111111 | 60 | 0.434483 |
f070bbe66c4decee4e36b1b70a73e837c4da647e | 8,179 | kt | Kotlin | app/src/main/java/admin/mealbuffet/com/mealnbuffetadmin/nav/buffet/EditBuffetFragment.kt | Laxmanbalu/MealNBuffetAdmin | 48d307aaf717b8dc92d033991be4bb7bd165fdec | [
"Apache-2.0"
] | null | null | null | app/src/main/java/admin/mealbuffet/com/mealnbuffetadmin/nav/buffet/EditBuffetFragment.kt | Laxmanbalu/MealNBuffetAdmin | 48d307aaf717b8dc92d033991be4bb7bd165fdec | [
"Apache-2.0"
] | null | null | null | app/src/main/java/admin/mealbuffet/com/mealnbuffetadmin/nav/buffet/EditBuffetFragment.kt | Laxmanbalu/MealNBuffetAdmin | 48d307aaf717b8dc92d033991be4bb7bd165fdec | [
"Apache-2.0"
] | null | null | null | package admin.mealbuffet.com.mealnbuffetadmin.nav.buffet
import admin.mealbuffet.com.mealnbuffetadmin.R
import admin.mealbuffet.com.mealnbuffetadmin.custom.InfoDialog
import admin.mealbuffet.com.mealnbuffetadmin.model.BuffetBasicData
import admin.mealbuffet.com.mealnbuffetadmin.model.BuffetItem
import admin.mealbuffet... | 47.277457 | 175 | 0.667563 |
0cb88d9738f070179ad3791e8725e49dddde3cbd | 45 | py | Python | Weltantschauung/__init__.py | area42/Weltanschauung- | 85694740f149aa741f69a67bf234b447ba11fb22 | [
"MIT"
] | null | null | null | Weltantschauung/__init__.py | area42/Weltanschauung- | 85694740f149aa741f69a67bf234b447ba11fb22 | [
"MIT"
] | null | null | null | Weltantschauung/__init__.py | area42/Weltanschauung- | 85694740f149aa741f69a67bf234b447ba11fb22 | [
"MIT"
] | null | null | null | from .Weltantschauung import Weltantschauung
| 22.5 | 44 | 0.888889 |
9f50a3c009089b3216e6367c3e92a38ce35c1802 | 1,295 | sql | SQL | mockup-interface/sophos.sql | naumazeredo/cp-platform-proto | 3612f6b6e41835742f2ee791a09bf624960379c9 | [
"MIT"
] | null | null | null | mockup-interface/sophos.sql | naumazeredo/cp-platform-proto | 3612f6b6e41835742f2ee791a09bf624960379c9 | [
"MIT"
] | null | null | null | mockup-interface/sophos.sql | naumazeredo/cp-platform-proto | 3612f6b6e41835742f2ee791a09bf624960379c9 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.1.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: 02-Maio-2016 às 17:58
-- Versão do servidor: 5.6.17
-- PHP Version: 5.5.12
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */... | 25.392157 | 67 | 0.646332 |
2a475442ec3f71b5be581fbb8c5a3790342433be | 1,026 | java | Java | MerlionFlightReservationSystem-ejb/src/java/ejb/session/stateless/UserSessionBean.java | BikJeun/MerlionFlightReservationSystem | 95364c5fab027938d3f4f75f6d62d32167c39986 | [
"MIT"
] | null | null | null | MerlionFlightReservationSystem-ejb/src/java/ejb/session/stateless/UserSessionBean.java | BikJeun/MerlionFlightReservationSystem | 95364c5fab027938d3f4f75f6d62d32167c39986 | [
"MIT"
] | null | null | null | MerlionFlightReservationSystem-ejb/src/java/ejb/session/stateless/UserSessionBean.java | BikJeun/MerlionFlightReservationSystem | 95364c5fab027938d3f4f75f6d62d32167c39986 | [
"MIT"
] | 1 | 2020-11-21T17:22:31.000Z | 2020-11-21T17:22:31.000Z | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ejb.session.stateless;
import entity.UserEntity;
import exceptions.UserNotFoundException;
import javax.ejb.Stateless;
import j... | 24.428571 | 88 | 0.704678 |
4874ced9a998440880d95e1b20db5581515786c1 | 3,227 | swift | Swift | Sources/KeyboardReactable/KeyboardReactable.swift | mobilee/fastlee | 77f73a1123ced814cdb27ca3bfdd04878e75428e | [
"MIT"
] | null | null | null | Sources/KeyboardReactable/KeyboardReactable.swift | mobilee/fastlee | 77f73a1123ced814cdb27ca3bfdd04878e75428e | [
"MIT"
] | null | null | null | Sources/KeyboardReactable/KeyboardReactable.swift | mobilee/fastlee | 77f73a1123ced814cdb27ca3bfdd04878e75428e | [
"MIT"
] | null | null | null | //
// KeyboardReactable.swift
// Fastlee
//
// Created by Lukasz Szarkowicz on 11/02/2022.
// Copyright © 2022 Mobilee. All rights reserved.
//
import UIKit
public protocol KeyboardReactable {
var scrollView: UIScrollView { get }
}
public extension KeyboardReactable where Self: UIView {
/**
Def... | 33.968421 | 138 | 0.630307 |
dd955d6af2c80951df0d217b92ca889a3f0da04a | 2,596 | go | Go | examples/autocert/autocert.go | cpu/acme-2 | bab39d3b6fce2e6bbc29f272d6ca97cfb708fdd3 | [
"MIT"
] | null | null | null | examples/autocert/autocert.go | cpu/acme-2 | bab39d3b6fce2e6bbc29f272d6ca97cfb708fdd3 | [
"MIT"
] | null | null | null | examples/autocert/autocert.go | cpu/acme-2 | bab39d3b6fce2e6bbc29f272d6ca97cfb708fdd3 | [
"MIT"
] | null | null | null | package main
// An example which uses autocert to issue certificates for connecting hosts
// Uses the Let's Encrypt staging environment and fake root certificate
//
// Can be tested like the following,
// - go run autocert.go
// - ngrok http 80
// - openssl s_client -connect localhost:443 -servername [NGROK FORWARDING... | 36.56338 | 84 | 0.861325 |
84ed9354a09873744ff5ac2aa384005a2651d37c | 814 | h | C | Term2/Lab2_01/Calculator.h | TheLeonelus/SGN_Labs | 8e979947c0e6ca714957203944cdd5fce69cad5f | [
"MIT"
] | 1 | 2022-02-10T09:20:42.000Z | 2022-02-10T09:20:42.000Z | Term2/Lab2_01/Calculator.h | TheLeonelus/SGN3_Labs | 8e979947c0e6ca714957203944cdd5fce69cad5f | [
"MIT"
] | null | null | null | Term2/Lab2_01/Calculator.h | TheLeonelus/SGN3_Labs | 8e979947c0e6ca714957203944cdd5fce69cad5f | [
"MIT"
] | null | null | null | #pragma once
#include <QtCore>
#include <QObject>
#include <QWidget>
#include <QPushButton>
#include <QGridLayout>
#include <QApplication>
#include <QLCDNumber>
#include <QtMath>
#include <QColorDialog>
#define PRECISION 0.000000001
class QLCDNumber;
class QPushButton;
class Calculator : public QWidget
{
Q_OBJE... | 20.871795 | 83 | 0.732187 |
a7b04629c531a6306af7beb412671aeb6acc57b2 | 277 | kt | Kotlin | kotlin-mui/src/main/generated/muix/pickers/MobileDateTimePicker.kt | stefanthaler/kotlin-wrappers | 9cc5be239d16defa23ccbc89c86527418d625fe4 | [
"Apache-2.0"
] | 14 | 2021-11-22T17:50:52.000Z | 2022-03-16T14:15:54.000Z | mui-kotlin/src/main/kotlin/muix/pickers/MobileDateTimePicker.kt | garagum/mui-kotlin | 02e8cad0091c51567d3d9f9bcf261afd3cb25c30 | [
"Apache-2.0"
] | null | null | null | mui-kotlin/src/main/kotlin/muix/pickers/MobileDateTimePicker.kt | garagum/mui-kotlin | 02e8cad0091c51567d3d9f9bcf261afd3cb25c30 | [
"Apache-2.0"
] | 2 | 2021-11-22T17:50:55.000Z | 2022-02-28T18:51:07.000Z | // Automatically generated - do not modify!
@file:JsModule("@mui/x-date-pickers/MobileDateTimePicker")
@file:JsNonModule
package muix.pickers
external interface MobileDateTimePickerProps : react.Props
external val MobileDateTimePicker: react.FC<MobileDateTimePickerProps>
| 23.083333 | 70 | 0.823105 |