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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e2daf77df1f75d5141d89bd65cb19f9294a828d8 | 3,259 | py | Python | graph_db/types.py | josegomezr/graph_db | 1ef286c9afdd4fd18559cccee9456dbc72ba7a8d | [
"Apache-2.0"
] | 4 | 2015-11-19T01:22:19.000Z | 2020-09-05T03:03:24.000Z | graph_db/types.py | josegomezr/graph_db | 1ef286c9afdd4fd18559cccee9456dbc72ba7a8d | [
"Apache-2.0"
] | 1 | 2016-03-10T01:11:03.000Z | 2016-03-10T01:11:03.000Z | graph_db/types.py | josegomezr/graph_db | 1ef286c9afdd4fd18559cccee9456dbc72ba7a8d | [
"Apache-2.0"
] | 1 | 2016-03-08T00:03:18.000Z | 2016-03-08T00:03:18.000Z |
class BaseDBDriver():
"""
This will stub the most basic methods that a GraphDB driver must have.
"""
_connected = False
_settings = {}
def __init__(self, dbapi):
self.dbapi = dbapi
def _debug(self, *args):
if self.debug:
print ("[GraphDB #%x]:" % id(self)... | 25.865079 | 74 | 0.562136 |
46b7fbdd1a3de1bb05f491238af4d135d617ecb1 | 3,913 | py | Python | attribution/authorship_pipeline/data_loading/PathMinerDataset.py | yangzhou6666/authorship-detection | f28701dea256da70eb8ba216c2572e1975c99b54 | [
"MIT"
] | 14 | 2020-10-26T06:05:55.000Z | 2022-03-08T08:32:17.000Z | attribution/authorship_pipeline/data_loading/PathMinerDataset.py | yangzhou6666/authorship-detection | f28701dea256da70eb8ba216c2572e1975c99b54 | [
"MIT"
] | 10 | 2020-02-29T16:55:20.000Z | 2021-11-06T10:40:32.000Z | attribution/authorship_pipeline/data_loading/PathMinerDataset.py | yangzhou6666/authorship-detection | f28701dea256da70eb8ba216c2572e1975c99b54 | [
"MIT"
] | 4 | 2021-07-28T12:27:46.000Z | 2021-10-04T18:12:33.000Z | from typing import Union, Tuple, List
import numpy as np
import torch
import torch.nn.functional as F
from torch.utils.data import Dataset
from data_loading.PathMinerLoader import PathMinerLoader
from data_loading.PathMinerSnapshotLoader import PathMinerSnapshotLoader
from data_loading.UtilityEntities import PathCont... | 40.340206 | 134 | 0.577562 |
3899eb38f956bef36ae9cc71c15b20f2c04d6d4e | 1,206 | php | PHP | resources/lang/en/emails.php | jeremykenedy/jeremykenedy.com | 3db6bc93f41c3f79230aac793d56d67e3fb735d8 | [
"MIT"
] | 2 | 2020-04-30T18:29:33.000Z | 2021-08-16T07:44:10.000Z | resources/lang/en/emails.php | jeremykenedy/jeremykenedy.com | 3db6bc93f41c3f79230aac793d56d67e3fb735d8 | [
"MIT"
] | null | null | null | resources/lang/en/emails.php | jeremykenedy/jeremykenedy.com | 3db6bc93f41c3f79230aac793d56d67e3fb735d8 | [
"MIT"
] | 2 | 2019-08-08T04:02:27.000Z | 2020-04-30T18:29:40.000Z | <?php
return [
/*
|--------------------------------------------------------------------------
| Lara(b)log Emails language lines
|--------------------------------------------------------------------------
|
*/
'contact' => [
'intro' => 'You have received a new message from you... | 28.714286 | 99 | 0.306799 |
b076765b64dbb0f3a42e016d5a8c9588944e4176 | 9,296 | py | Python | src/QueueTest.py | fuzziqersoftware/sharedstructures | 23471fc24484b472e4b2399d7c64c1071d12c641 | [
"MIT"
] | 21 | 2016-11-30T06:40:04.000Z | 2022-03-23T13:16:53.000Z | src/QueueTest.py | fuzziqersoftware/sharedstructures | 23471fc24484b472e4b2399d7c64c1071d12c641 | [
"MIT"
] | null | null | null | src/QueueTest.py | fuzziqersoftware/sharedstructures | 23471fc24484b472e4b2399d7c64c1071d12c641 | [
"MIT"
] | 3 | 2018-02-21T12:25:08.000Z | 2021-12-16T06:14:05.000Z | import os
import subprocess
import sys
import time
import sharedstructures
POOL_NAME_PREFIX = "QueueTest-py-pool-"
ALLOCATOR_TYPES = ('simple', 'logarithmic')
def get_current_process_lsof():
return subprocess.check_output(['lsof', '-p', str(os.getpid())])
def q_push(q, front, item, raw=False):
... | 28.869565 | 98 | 0.610047 |
ae92693e17836c2059ffcf614c94346ea02db32e | 1,426 | cs | C# | Application/ExperimentTemplates/BatchExperimentTemplate.cs | bartoszkp/dotrl | 56b7b184c177987a005d862ef667b0efc819b1bd | [
"BSD-4-Clause",
"BSD-3-Clause"
] | 5 | 2016-10-15T15:18:48.000Z | 2021-09-05T22:49:42.000Z | Application/ExperimentTemplates/BatchExperimentTemplate.cs | bartoszkp/dotrl | 56b7b184c177987a005d862ef667b0efc819b1bd | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | Application/ExperimentTemplates/BatchExperimentTemplate.cs | bartoszkp/dotrl | 56b7b184c177987a005d862ef667b0efc819b1bd | [
"BSD-4-Clause",
"BSD-3-Clause"
] | 2 | 2016-10-16T12:59:52.000Z | 2018-03-13T17:33:53.000Z | using System.Collections.Generic;
using System.Linq;
namespace Application.ExperimentTemplates
{
public class BatchExperimentTemplate
{
public static BatchExperimentTemplate Create(BatchMode batchMode)
{
return new BatchExperimentTemplate()
{
... | 31.688889 | 116 | 0.587658 |
718eebc48351cbe454873a66eb6f761551ccdcf4 | 1,056 | sh | Shell | builder/build.sh | cockscomb/api-gateway-swift | e5f8239749a4214e68731cea45b52db6f8b1d57f | [
"MIT"
] | null | null | null | builder/build.sh | cockscomb/api-gateway-swift | e5f8239749a4214e68731cea45b52db6f8b1d57f | [
"MIT"
] | null | null | null | builder/build.sh | cockscomb/api-gateway-swift | e5f8239749a4214e68731cea45b52db6f8b1d57f | [
"MIT"
] | null | null | null | #!/bin/bash
set -eu
executable=$1
swift build --product $executable -c release
target=.build/lambda/$executable
rm -rf "$target"
mkdir -p "$target"
cp ".build/release/$executable" "$target/"
cp -Pv \
/usr/lib/swift/linux/libBlocksRuntime.so \
/usr/lib/swift/linux/libFoundation.so \
/usr/lib/swift/linux/libFo... | 29.333333 | 51 | 0.726326 |
b2c2cd4009dc2c051c24e964137cf6516088270a | 805 | css | CSS | app/src/main/assets/www/css/styles.css | TobiCode/Pos_system_2 | ecc6479a7800ab29272221fa02a2a34e9ba9cf8a | [
"MIT"
] | null | null | null | app/src/main/assets/www/css/styles.css | TobiCode/Pos_system_2 | ecc6479a7800ab29272221fa02a2a34e9ba9cf8a | [
"MIT"
] | null | null | null | app/src/main/assets/www/css/styles.css | TobiCode/Pos_system_2 | ecc6479a7800ab29272221fa02a2a34e9ba9cf8a | [
"MIT"
] | null | null | null | table {
margin: 0 auto;
text-align: center;
border-collapse: collapse;
border: 1px solid #d4d4d4;
}
tr:nth-child(even) {
background: #d4d4d4;
}
th, td {
padding: 10px 30px;
}
th {
border-bottom: 1px solid #d4d4d4;
}
h1 {
color: blue;
}
#search {
background-image: url('searchicon2.png');
/* Add ... | 16.770833 | 43 | 0.63354 |
cf315ffc4d6e495f814c33c49e8f3969745bb388 | 4,608 | php | PHP | resources/views/welcome.blade.php | suryakindi66/lindingi-dirimu-withapi-v2 | 98cf76236793d733b73675964d90a98984bc8d92 | [
"MIT"
] | null | null | null | resources/views/welcome.blade.php | suryakindi66/lindingi-dirimu-withapi-v2 | 98cf76236793d733b73675964d90a98984bc8d92 | [
"MIT"
] | null | null | null | resources/views/welcome.blade.php | suryakindi66/lindingi-dirimu-withapi-v2 | 98cf76236793d733b73675964d90a98984bc8d92 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="pr... | 33.391304 | 173 | 0.550998 |
9850b53cc74210a1ae61d1b6224d3ed70af0ddc2 | 860 | cs | C# | QX.NodeParty.Runtime/Registry/Services/ServiceContainerNode.cs | alexrster/QX.NodeParty | b1949de988cf1ff0cc566fbf0a2754a93716eb96 | [
"MIT"
] | 1 | 2016-03-22T23:02:16.000Z | 2016-03-22T23:02:16.000Z | QX.NodeParty.Runtime/Registry/Services/ServiceContainerNode.cs | alexrster/QX.NodeParty | b1949de988cf1ff0cc566fbf0a2754a93716eb96 | [
"MIT"
] | null | null | null | QX.NodeParty.Runtime/Registry/Services/ServiceContainerNode.cs | alexrster/QX.NodeParty | b1949de988cf1ff0cc566fbf0a2754a93716eb96 | [
"MIT"
] | null | null | null | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using QX.NodeParty.Services;
namespace QX.NodeParty.Runtime.Registry.Services
{
public class ServiceContainerNode<TService> : Composition.Base.Node, IServiceContainerNode<TService>
where TService : class
{
private readonly IServiceLocato... | 31.851852 | 146 | 0.743023 |
e0574d72952de7df32a7bf59c640be547bcdd101 | 3,703 | h | C | src/shogun/classifier/svm/GNPPLib.h | srgnuclear/shogun | 33c04f77a642416376521b0cd1eed29b3256ac13 | [
"Ruby",
"MIT"
] | 1 | 2015-11-05T18:31:14.000Z | 2015-11-05T18:31:14.000Z | src/shogun/classifier/svm/GNPPLib.h | waderly/shogun | 9288b6fa38e001d63c32188f7f847dadea66e2ae | [
"Ruby",
"MIT"
] | null | null | null | src/shogun/classifier/svm/GNPPLib.h | waderly/shogun | 9288b6fa38e001d63c32188f7f847dadea66e2ae | [
"Ruby",
"MIT"
] | null | null | null | /*-----------------------------------------------------------------------
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any l... | 30.105691 | 89 | 0.520659 |
df2529866c2da9575494ea6a4c906083c0fbde09 | 1,107 | cs | C# | Code/Enum/MouseButton.cs | MichaelMcGlothlin/unity-doodles | 8645a1944621d840503a5d203160c660e563008d | [
"MIT"
] | 1 | 2019-04-29T23:04:58.000Z | 2019-04-29T23:04:58.000Z | Code/Enum/MouseButton.cs | MichaelMcGlothlin/unity-doodles | 8645a1944621d840503a5d203160c660e563008d | [
"MIT"
] | null | null | null | Code/Enum/MouseButton.cs | MichaelMcGlothlin/unity-doodles | 8645a1944621d840503a5d203160c660e563008d | [
"MIT"
] | 1 | 2020-02-06T10:02:18.000Z | 2020-02-06T10:02:18.000Z | namespace Kavlon {
public enum MouseButton {
Primary = 0, // UnityEngine.KeyCode.Mouse0
Secondary, // UnityEngine.KeyCode.Mouse1
Middle, // UnityEngine.KeyCode.Mouse2
Button4, // UnityEngine.KeyCode.Mouse3
Button5, // UnityEngine.KeyCode.Mouse4
Button6, // UnityEngine.KeyCode.Mouse5
Button7 // UnityEngi... | 27 | 80 | 0.693767 |
81da9396254d410338ff05a9008469e406db8560 | 3,912 | php | PHP | resources/views/site/filter.blade.php | younginnovations/resourcecontracts-rc-subsite | a1af9efb72eef85e0ecf3994a2a385d2d7129e78 | [
"MIT"
] | 3 | 2016-03-21T15:43:40.000Z | 2019-11-12T05:50:25.000Z | resources/views/site/filter.blade.php | younginnovations/resourcecontracts-rc-subsite | a1af9efb72eef85e0ecf3994a2a385d2d7129e78 | [
"MIT"
] | 13 | 2016-12-08T22:35:22.000Z | 2021-04-16T20:52:43.000Z | resources/views/site/filter.blade.php | younginnovations/resourcecontracts-rc-subsite | a1af9efb72eef85e0ecf3994a2a385d2d7129e78 | [
"MIT"
] | 5 | 2015-09-29T17:29:29.000Z | 2019-04-30T14:16:43.000Z | <?php
header("Status: 301 Moved Permanently");
header("Location:./search/group?". $_SERVER['QUERY_STRING']);
die();
?>
@extends('layout.app-full')
@section('content')
<div class="row">
<div class="col-lg-12 panel-top-wrapper search-top-wrapper attached-top-wrapper">
<div class="panel-top-content">
... | 34.619469 | 253 | 0.606084 |
2ca7d5a766386b8acd33397e6800e2896350a71f | 1,900 | cpp | C++ | C++/ServerProject/main.cpp | AlexanderArgyriou/TCP-Sever-Client | ad621f94afda08b3d03cb760faf148b4348ed401 | [
"MIT"
] | null | null | null | C++/ServerProject/main.cpp | AlexanderArgyriou/TCP-Sever-Client | ad621f94afda08b3d03cb760faf148b4348ed401 | [
"MIT"
] | null | null | null | C++/ServerProject/main.cpp | AlexanderArgyriou/TCP-Sever-Client | ad621f94afda08b3d03cb760faf148b4348ed401 | [
"MIT"
] | null | null | null | #include "pch.h"
#define _WIN32_WINNT 0x0501
#include "Server.h"
int main()
{
cout << "Server is Running..." << endl << endl;
for (;;)
{
Server newServer;
boost::asio::io_service NewService;
tcp::acceptor NewAcceptor(NewService, tcp::endpoint(tcp::v4(), 4523)); //listen to new Connection
tcp:... | 30.15873 | 106 | 0.625263 |
1ab7ba474d7b7f20ed8522d8830554523e2786a0 | 5,228 | py | Python | neuropy/utility/validator.py | TheBuoys/neuropy | 387a5eaa31629c726b5de1e71090b0d644f675b2 | [
"Apache-2.0"
] | 1 | 2019-09-29T20:35:34.000Z | 2019-09-29T20:35:34.000Z | neuropy/utility/validator.py | TheBuoys/neuropy | 387a5eaa31629c726b5de1e71090b0d644f675b2 | [
"Apache-2.0"
] | null | null | null | neuropy/utility/validator.py | TheBuoys/neuropy | 387a5eaa31629c726b5de1e71090b0d644f675b2 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 The NeuroPy Authors
#
# 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 w... | 37.884058 | 129 | 0.632938 |
dfc908a1488f5757087da59d62fe6f5ddbd4f0f7 | 2,189 | dart | Dart | lib/src/basic/basicAuthApi.dart | luismiguelduque/simple_auth | 04bd4736ddb8db84a41e5f0d9c36303320cda8da | [
"MIT"
] | 1 | 2020-09-15T06:10:20.000Z | 2020-09-15T06:10:20.000Z | simple_auth/lib/src/basic/basicAuthApi.dart | Vjex/simple_auth | 54f048ad8470ee1d1a001794eb0286fe51b591fa | [
"MIT"
] | null | null | null | simple_auth/lib/src/basic/basicAuthApi.dart | Vjex/simple_auth | 54f048ad8470ee1d1a001794eb0286fe51b591fa | [
"MIT"
] | null | null | null | import "dart:async";
import "package:simple_auth/simple_auth.dart";
import "package:http/http.dart" as http;
typedef void ShowBasicAuthenticator(BasicAuthAuthenticator authenticator);
class BasicAuthApi extends AuthenticatedApi {
String loginUrl;
BasicAuthAuthenticator currentAuthenticator;
static ShowBasicAuth... | 33.676923 | 119 | 0.737323 |
43b26955f00f519fa841a40e5eedb1d288d14242 | 843 | tsx | TypeScript | src/components/register/RegisterRoomPhoto/styles.tsx | devho813/land-bnb-front | 29a6c070017ba4398928196dca60af43ea9765bb | [
"MIT"
] | null | null | null | src/components/register/RegisterRoomPhoto/styles.tsx | devho813/land-bnb-front | 29a6c070017ba4398928196dca60af43ea9765bb | [
"MIT"
] | null | null | null | src/components/register/RegisterRoomPhoto/styles.tsx | devho813/land-bnb-front | 29a6c070017ba4398928196dca60af43ea9765bb | [
"MIT"
] | null | null | null | import { css } from "@emotion/react";
import palette from "../../../styles/palette";
export const container = css`
padding: 62px 30px 100px;
h2 {
font-size: 19px;
font-weight: 800;
margin-bottom: 56px;
}
h3 {
font-weight: bold;
color: ${palette.gray_76};
margin-bottom: 6px;
}
`;
ex... | 16.86 | 50 | 0.628707 |
b914a12c1e3034e755dcdaa51963388fe0b62598 | 120 | cpp | C++ | src/common/BatchDeleteSql.cpp | luhouxiang/batch-database-demo | 9669a7cb831d13c845c762333e65f1538c0d4bd2 | [
"Apache-2.0"
] | 1 | 2021-06-21T07:44:09.000Z | 2021-06-21T07:44:09.000Z | src/common/BatchDeleteSql.cpp | luhouxiang/batch-database-demo | 9669a7cb831d13c845c762333e65f1538c0d4bd2 | [
"Apache-2.0"
] | null | null | null | src/common/BatchDeleteSql.cpp | luhouxiang/batch-database-demo | 9669a7cb831d13c845c762333e65f1538c0d4bd2 | [
"Apache-2.0"
] | null | null | null | #include "BatchDeleteSql.h"
BatchDeleteSql::BatchDeleteSql(void)
{
}
BatchDeleteSql::~BatchDeleteSql(void)
{
} | 13.333333 | 38 | 0.716667 |
c6c15e89ccf4daa866adbebc113c115338ca36e1 | 538 | py | Python | va_explorer/va_analytics/migrations/0003_auto_20210805_2354.py | VA-Explorer/va_explorer | e43cfbff0ce5209c12134b7ac4ce439db6fc87a2 | [
"Apache-2.0"
] | null | null | null | va_explorer/va_analytics/migrations/0003_auto_20210805_2354.py | VA-Explorer/va_explorer | e43cfbff0ce5209c12134b7ac4ce439db6fc87a2 | [
"Apache-2.0"
] | 125 | 2020-10-07T12:00:15.000Z | 2022-03-31T21:29:21.000Z | va_explorer/va_analytics/migrations/0003_auto_20210805_2354.py | VA-Explorer/va_explorer | e43cfbff0ce5209c12134b7ac4ce439db6fc87a2 | [
"Apache-2.0"
] | 2 | 2020-10-29T16:08:42.000Z | 2020-12-08T19:03:41.000Z | # Generated by Django 3.1.5 on 2021-08-05 23:54
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('va_analytics', '0002_update_dashboard_permissions'),
]
operations = [
migrations.AlterModelOptions(
name='dashboard',
option... | 29.888889 | 218 | 0.639405 |
5d7c098b2c29bc5c4548848c198e47fd3d847a75 | 2,573 | cc | C++ | linux/flutter_jscore_plugin.cc | xuelongqy/flutter_jscore | dd8bf1153c7a8bfc78adfd24accb129740b8aa29 | [
"MIT"
] | 122 | 2020-02-26T06:27:46.000Z | 2022-03-25T08:37:54.000Z | linux/flutter_jscore_plugin.cc | xuelongqy/flutter_jscore | dd8bf1153c7a8bfc78adfd24accb129740b8aa29 | [
"MIT"
] | 11 | 2020-03-15T10:36:57.000Z | 2022-01-19T06:28:08.000Z | linux/flutter_jscore_plugin.cc | xuelongqy/flutter_jscore | dd8bf1153c7a8bfc78adfd24accb129740b8aa29 | [
"MIT"
] | 19 | 2020-03-10T15:30:13.000Z | 2021-11-23T14:52:25.000Z | #include "include/flutter_jscore/flutter_jscore_plugin.h"
#include <flutter_linux/flutter_linux.h>
#include <gtk/gtk.h>
#include <sys/utsname.h>
#include <cstring>
#define FLUTTER_JSCORE_PLUGIN(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj), flutter_jscore_plugin_get_type(), \
FlutterJscore... | 36.239437 | 82 | 0.743101 |
14d52346c97b21c926fd56d2d52940cdd49280f9 | 259 | ts | TypeScript | apps/bettafish/src/app/pages/settings/index.ts | TheMajorTechie/pulp-fiction | 19019ab3f2c888def4e54adabe6cb837731d6d8f | [
"Apache-2.0"
] | null | null | null | apps/bettafish/src/app/pages/settings/index.ts | TheMajorTechie/pulp-fiction | 19019ab3f2c888def4e54adabe6cb837731d6d8f | [
"Apache-2.0"
] | null | null | null | apps/bettafish/src/app/pages/settings/index.ts | TheMajorTechie/pulp-fiction | 19019ab3f2c888def4e54adabe6cb837731d6d8f | [
"Apache-2.0"
] | null | null | null | import { Routes } from '@angular/router';
import { SettingsComponent } from './settings.component';
export const SettingsPages = [
SettingsComponent,
];
export const SettingsRoutes: Routes = [
{ path: 'settings', component: SettingsComponent },
];
| 21.583333 | 57 | 0.706564 |
8e65f9c45f339162eb81b19c005de387f2a6642e | 2,224 | rs | Rust | src/ch03/type_size.rs | jony-lee/tao-of-rust-codes | 49e64085a65673918b56d35ba681fda370e8bb13 | [
"MIT"
] | 1,124 | 2018-03-22T09:00:58.000Z | 2022-03-31T10:41:39.000Z | src/ch03/type_size.rs | jony-lee/tao-of-rust-codes | 49e64085a65673918b56d35ba681fda370e8bb13 | [
"MIT"
] | 323 | 2018-10-11T07:32:56.000Z | 2022-01-19T12:35:19.000Z | src/ch03/type_size.rs | jony-lee/tao-of-rust-codes | 49e64085a65673918b56d35ba681fda370e8bb13 | [
"MIT"
] | 155 | 2018-10-11T06:29:42.000Z | 2022-03-30T09:09:43.000Z | /// # 动态大小类型:str
/// ### 探索&str的组成
///
/// Basic usage:
///
/// ```
/// fn str_compose(){
/// let str = "Hello Rust";
/// let ptr = str.as_ptr();
/// let len = str.len();
/// println!("{:p}", ptr); // 0x555db4b96c00
/// println!("{:?}", len); // 10
/// }
/// str_compose();
/// ```
pub fn str_compose... | 21.180952 | 73 | 0.430755 |
5de9ebb1b258d1e6ae6c5592bbc939400e6b58e2 | 9,930 | hpp | C++ | include/lvr2/attrmaps/StableVector.hpp | jtpils/lvr2 | b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce | [
"BSD-3-Clause"
] | 1 | 2019-08-07T03:55:27.000Z | 2019-08-07T03:55:27.000Z | include/lvr2/attrmaps/StableVector.hpp | jtpils/lvr2 | b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce | [
"BSD-3-Clause"
] | null | null | null | include/lvr2/attrmaps/StableVector.hpp | jtpils/lvr2 | b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2018, University Osnabrück
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this li... | 33.661017 | 92 | 0.679557 |
7051439212bf1d7f8ab063d41c7c1be3ee4f2329 | 183 | sql | SQL | src/test/resources/results/scriptCommand/testScriptCommandToGenerateScripts/Employee/create-stage.sql | granthenke/streamliner | f3b70574bc414f991239079dee1ffb9e2ed3c2eb | [
"Apache-2.0"
] | 4 | 2020-10-05T10:24:19.000Z | 2021-12-15T05:20:07.000Z | src/test/resources/results/scriptCommand/testScriptCommandToGenerateScripts/Employee/create-stage.sql | granthenke/streamliner | f3b70574bc414f991239079dee1ffb9e2ed3c2eb | [
"Apache-2.0"
] | 34 | 2020-09-22T19:56:52.000Z | 2022-03-23T11:39:13.000Z | src/test/resources/results/scriptCommand/testScriptCommandToGenerateScripts/Employee/create-stage.sql | granthenke/streamliner | f3b70574bc414f991239079dee1ffb9e2ed3c2eb | [
"Apache-2.0"
] | 3 | 2021-03-23T05:34:30.000Z | 2022-01-25T06:48:02.000Z |
CREATE STAGE IF NOT EXISTS SANDBOX_POC1.EMPLOYEES.STREAMLINER_QUICKSTART_1_stage
URL = 's3://streamliner-quickstart-1/employees/'
STORAGE_INTEGRATION = STREAMLINER_QUICKSTART_1; | 26.142857 | 80 | 0.830601 |
4f7ea88169c75990663b21d9243621edea3d9d13 | 23,755 | rb | Ruby | actionview/test/template/form_collections_helper_test.rb | bronson/rails | a4ef62279d69d901b99fe0e71338b5aaebab01c0 | [
"Ruby",
"MIT"
] | 6 | 2018-11-21T12:57:37.000Z | 2021-11-14T19:40:15.000Z | actionview/test/template/form_collections_helper_test.rb | bronson/rails | a4ef62279d69d901b99fe0e71338b5aaebab01c0 | [
"Ruby",
"MIT"
] | null | null | null | actionview/test/template/form_collections_helper_test.rb | bronson/rails | a4ef62279d69d901b99fe0e71338b5aaebab01c0 | [
"Ruby",
"MIT"
] | 1 | 2016-02-27T15:23:22.000Z | 2016-02-27T15:23:22.000Z | require 'abstract_unit'
class Category < Struct.new(:id, :name)
end
class FormCollectionsHelperTest < ActionView::TestCase
def assert_no_select(selector, value = nil)
assert_select(selector, :text => value, :count => 0)
end
def with_collection_radio_buttons(*args, &block)
@output_buffer = collection_ra... | 46.306043 | 180 | 0.717154 |
afd776336383ec74bd5f79922023bb8741517218 | 1,188 | py | Python | LeetCode/1604_Alert_Using_Same_Key_Card_Three_or_More_Times_in_a_One_Hour_Period.py | Achyut-sudo/PythonAlgorithms | 21fb6522510fde7a0877b19a8cedd4665938a4df | [
"MIT"
] | 144 | 2020-09-13T22:54:57.000Z | 2022-02-24T21:54:25.000Z | LeetCode/1604_Alert_Using_Same_Key_Card_Three_or_More_Times_in_a_One_Hour_Period.py | Achyut-sudo/PythonAlgorithms | 21fb6522510fde7a0877b19a8cedd4665938a4df | [
"MIT"
] | 587 | 2020-05-06T18:55:07.000Z | 2021-09-20T13:14:53.000Z | LeetCode/1604_Alert_Using_Same_Key_Card_Three_or_More_Times_in_a_One_Hour_Period.py | Achyut-sudo/PythonAlgorithms | 21fb6522510fde7a0877b19a8cedd4665938a4df | [
"MIT"
] | 523 | 2020-09-09T12:07:13.000Z | 2022-02-24T21:54:31.000Z | class Solution(object):
def alertNames(self, keyName, keyTime):
"""
:type keyName: List[str]
:type keyTime: List[str]
:rtype: List[str]
"""
mapp = {}
for i in range(len(keyName)):
name = keyName[i]
if(name not in mapp):
... | 33 | 76 | 0.388047 |
1ccb6c1cb449cf1cde05d3184f976a3e87482d14 | 92 | lua | Lua | client/src/network/headers.lua | carabalonepaulo/mirage-lua | 78fffe09b8a0f1697e2cf25550d02d700a9374d1 | [
"MIT"
] | null | null | null | client/src/network/headers.lua | carabalonepaulo/mirage-lua | 78fffe09b8a0f1697e2cf25550d02d700a9374d1 | [
"MIT"
] | null | null | null | client/src/network/headers.lua | carabalonepaulo/mirage-lua | 78fffe09b8a0f1697e2cf25550d02d700a9374d1 | [
"MIT"
] | null | null | null | local enum = require('lib.enum').enum
return enum [[
Login,
AddPlayer,
RemovePlayer
]] | 15.333333 | 37 | 0.684783 |
6b3223121f6c8430296b6b065ef0763cf4a46273 | 734 | js | JavaScript | src/openI18nFile.js | liub-work/vue-swift-i18n | 8a46388eb3a28550b836f4ea7383c6e97b0d8bdb | [
"MIT"
] | 35 | 2019-07-23T10:27:17.000Z | 2022-03-11T08:38:38.000Z | src/openI18nFile.js | liub-work/vue-swift-i18n | 8a46388eb3a28550b836f4ea7383c6e97b0d8bdb | [
"MIT"
] | 6 | 2020-04-20T12:37:48.000Z | 2022-03-02T08:56:10.000Z | src/openI18nFile.js | liub-work/vue-swift-i18n | 8a46388eb3a28550b836f4ea7383c6e97b0d8bdb | [
"MIT"
] | 12 | 2019-07-24T11:12:32.000Z | 2022-02-11T14:00:41.000Z | const {
registerCommand,
window,
Range,
Position,
} = require('./utils/vs');
const { operation } = require('./utils/constant');
const { openFileByPath } = require('./utils');
const scrollTo = require('./lib/scroll');
module.exports = context => {
context.subscriptions.push(
registerCommand(operation.openI18nFile... | 25.310345 | 65 | 0.644414 |
b300b8069a759a4c33c0e1f442dc7c9290118408 | 971 | py | Python | pupy/cheese.py | jessekrubin/pup | 2cab5da7b1b39453c44be556b691db83442b0565 | [
"BSD-2-Clause"
] | 2 | 2019-03-07T09:26:36.000Z | 2019-07-31T17:24:23.000Z | pupy/cheese.py | jessekrubin/pup | 2cab5da7b1b39453c44be556b691db83442b0565 | [
"BSD-2-Clause"
] | 2 | 2019-10-26T02:29:54.000Z | 2021-06-25T15:28:12.000Z | pupy/cheese.py | jessekrubin/pup | 2cab5da7b1b39453c44be556b691db83442b0565 | [
"BSD-2-Clause"
] | 1 | 2019-07-31T17:24:32.000Z | 2019-07-31T17:24:32.000Z | # -*- coding: utf-8 -*-
# Pretty ~ Useful ~ Python
"""
String Methods
"""
def string_score(strang: str) -> int:
"""Sum of letter values where a==1 and z == 26
:param strang: string to be scored
:type strang: str
:returns: -> score of the string
:rtype: int
.. doctest:: python
>>> st... | 19.039216 | 81 | 0.569516 |
c6add104299bf43e66ba4f8f818416f54ad3c488 | 604 | rb | Ruby | test.rb | koki-h/atnd_listing | 172e2536ca789a7c0c7867613384346cd0e6289a | [
"MIT"
] | null | null | null | test.rb | koki-h/atnd_listing | 172e2536ca789a7c0c7867613384346cd0e6289a | [
"MIT"
] | null | null | null | test.rb | koki-h/atnd_listing | 172e2536ca789a7c0c7867613384346cd0e6289a | [
"MIT"
] | null | null | null | require './lib/atnd.rb'
require './lib/twitter.rb'
require 'pp'
def get_token(source)
consumer_credential(source)
end
def consumer_credential(source)
auth = []
open(source) do |f|
while (line = f.gets) do
auth << line.chomp
end
end
pp auth
auth
end
consumer_key, consumer_secret, access_tok... | 23.230769 | 89 | 0.730132 |
9731388ec19cb257dbb2b85cfb00b9dc6337f553 | 2,313 | ts | TypeScript | src/extension.ts | diamantdev/temporary-typescript-sandbox | 0ee7822413c971d8169d0f146778f2824d577f03 | [
"MIT"
] | null | null | null | src/extension.ts | diamantdev/temporary-typescript-sandbox | 0ee7822413c971d8169d0f146778f2824d577f03 | [
"MIT"
] | null | null | null | src/extension.ts | diamantdev/temporary-typescript-sandbox | 0ee7822413c971d8169d0f146778f2824d577f03 | [
"MIT"
] | null | null | null | import * as vscode from 'vscode';
import { tmpdir } from 'os';
import * as fs from 'fs';
import * as randomstring from 'randomstring';
import { exec } from 'child_process';
export function activate(context: vscode.ExtensionContext) {
// The command has been defined in the package.json file
// Now provide the imple... | 34.014706 | 114 | 0.582361 |
3f82c03a817e1ffb21446932f7811590a5ae0b7c | 6,977 | php | PHP | src/Bfxmpl/Bundle/BudgetBundle/Controller/EcritureController.php | bfxfr/NotreBudget | 552af53c8d354a460d49dc747d9c163ee990652a | [
"MIT"
] | null | null | null | src/Bfxmpl/Bundle/BudgetBundle/Controller/EcritureController.php | bfxfr/NotreBudget | 552af53c8d354a460d49dc747d9c163ee990652a | [
"MIT"
] | null | null | null | src/Bfxmpl/Bundle/BudgetBundle/Controller/EcritureController.php | bfxfr/NotreBudget | 552af53c8d354a460d49dc747d9c163ee990652a | [
"MIT"
] | null | null | null | <?php
namespace Bfxmpl\Bundle\BudgetBundle\Controller;
use Bfxmpl\Bundle\BudgetBundle\Entity\CompteBancaire;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Confi... | 27.796813 | 105 | 0.553533 |
4d9a59da3b7c606ea28ce3093981242d7afa9211 | 421 | cs | C# | Source/Web/OnlineStore.Web/Extensions/ByteExtensions.cs | PlamenHP/OnlineStore | 40a38b4bbbaaf5fd1b69e0ad465e50e04d858c61 | [
"MIT"
] | 3 | 2018-11-18T12:39:23.000Z | 2021-04-17T00:04:55.000Z | Source/Web/OnlineStore.Web/Extensions/ByteExtensions.cs | PlamenHP/OnlineStore | 40a38b4bbbaaf5fd1b69e0ad465e50e04d858c61 | [
"MIT"
] | null | null | null | Source/Web/OnlineStore.Web/Extensions/ByteExtensions.cs | PlamenHP/OnlineStore | 40a38b4bbbaaf5fd1b69e0ad465e50e04d858c61 | [
"MIT"
] | null | null | null | namespace OnlineStore.Web.Extensions
{
using System;
public static class ByteExtensions
{
public static string ToStringImage(this byte[] imageData)
{
if (imageData == null)
{
return null;
}
var base64 = Convert.ToBase64String... | 23.388889 | 70 | 0.546318 |
e030e42c5180e682a1ba63b6398c424d2088dd70 | 620 | c | C | njucs17-ps-tutorial/1-1-io/printf.c | hengxin/learning-c | 8cadae4784875c5b333359f1f20f4d60d12d56b4 | [
"MIT"
] | 1 | 2018-10-17T13:04:55.000Z | 2018-10-17T13:04:55.000Z | njucs17-ps-tutorial/1-1-io/printf.c | hengxin/learning-c | 8cadae4784875c5b333359f1f20f4d60d12d56b4 | [
"MIT"
] | 1 | 2017-11-03T12:09:42.000Z | 2017-11-03T12:09:42.000Z | njucs17-ps-tutorial/1-1-io/printf.c | hengxin/learning-c-cplusplus | 8cadae4784875c5b333359f1f20f4d60d12d56b4 | [
"MIT"
] | 3 | 2017-10-26T00:56:19.000Z | 2017-11-03T12:51:31.000Z | // File: printf.c
// Created by hengxin on 17-10-18.
/**
* From cplusplus.com: http://www.cplusplus.com/reference/cstdio/printf/
*/
#include <stdio.h>
int main(void) {
printf ("Characters: %c %c \n", 'a', 65);
printf ("Decimals: %d %ld\n", 1977, 650000L);
printf ("Preceding with blanks: %10d \n", 1977)... | 28.181818 | 84 | 0.574194 |
d1ca6cb3299b8e305d7bcb3e3e01ff225d34818e | 839 | ps1 | PowerShell | source/Module/Rule.WindowsFeature/Convert/Data.ps1 | JakeDean3631/PowerStig | 6eaf02d7b7bae910ec8cefc8cd1f2caee8e5955e | [
"MIT"
] | 304 | 2019-05-07T19:29:43.000Z | 2022-03-27T12:58:07.000Z | source/Module/Rule.WindowsFeature/Convert/Data.ps1 | JakeDean3631/PowerStig | 6eaf02d7b7bae910ec8cefc8cd1f2caee8e5955e | [
"MIT"
] | 536 | 2019-05-07T02:56:27.000Z | 2022-03-24T17:02:07.000Z | source/Module/Rule.WindowsFeature/Convert/Data.ps1 | JakeDean3631/PowerStig | 6eaf02d7b7bae910ec8cefc8cd1f2caee8e5955e | [
"MIT"
] | 82 | 2019-05-10T03:35:55.000Z | 2022-01-11T19:04:04.000Z | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# This is used to centralize the regEx patterns
data regularExpression
{
ConvertFrom-StringData -StringData @'
WindowsFeatureName = Get-Windows(?:Optional)?Feature\\s*(?:-Online\\s*)?(?:-Name|\\|\\s*Where\\s*(?:F... | 44.157895 | 160 | 0.669845 |
6d0bbde15c2ac0d9975c70c5a3bb6b71e1999534 | 360 | ts | TypeScript | src/models/album-day.ts | deanmoses/tacocat-gallery-redux | 322eaf0264e69e20640d9fe6ec379dfb92d5fd1a | [
"MIT"
] | null | null | null | src/models/album-day.ts | deanmoses/tacocat-gallery-redux | 322eaf0264e69e20640d9fe6ec379dfb92d5fd1a | [
"MIT"
] | 8 | 2020-11-26T22:26:22.000Z | 2022-02-26T02:19:06.000Z | src/models/album-day.ts | deanmoses/tacocat-gallery-redux | 322eaf0264e69e20640d9fe6ec379dfb92d5fd1a | [
"MIT"
] | null | null | null | import DateBasedAlbum from '@src/models/album-datebased';
import * as DateUtils from '@src/utils/date-utils';
/**
* Overrides the default album class with behavior specific to year albums.
*/
export default class DayAlbum extends DateBasedAlbum {
/**
* Friendly title of page
*/
get pageTitle(): string {
ret... | 24 | 76 | 0.725 |
447f1b3d29dfc34af858d449462868ae8893e701 | 798 | py | Python | equip/visitors/blocks.py | neuroo/equip | 470c168cf26d1d8340aa5ab37a5364d999a0b2f4 | [
"Apache-2.0"
] | 102 | 2015-01-03T13:51:03.000Z | 2022-02-28T03:56:26.000Z | equip/visitors/blocks.py | neuroo/equip | 470c168cf26d1d8340aa5ab37a5364d999a0b2f4 | [
"Apache-2.0"
] | 4 | 2016-12-09T00:31:39.000Z | 2019-07-28T09:48:18.000Z | equip/visitors/blocks.py | neuroo/equip | 470c168cf26d1d8340aa5ab37a5364d999a0b2f4 | [
"Apache-2.0"
] | 9 | 2015-05-08T12:17:28.000Z | 2020-12-17T08:20:00.000Z | # -*- coding: utf-8 -*-
"""
equip.visitors.blocks
~~~~~~~~~~~~~~~~~~~~~
Callback the visit basic blocks in the program.
:copyright: (c) 2014 by Romain Gaucher (@rgaucher)
:license: Apache 2, see LICENSE for more details.
"""
class BlockVisitor(object):
"""
A basic block visitor. It first receives the... | 21.567568 | 71 | 0.661654 |
200fa896cac442d778b85723a3bd49165a4cf9b8 | 2,814 | py | Python | test/fstrings/prefixes3.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 1,482 | 2015-10-16T21:59:32.000Z | 2022-03-30T11:44:40.000Z | test/fstrings/prefixes3.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 226 | 2015-10-15T15:53:44.000Z | 2022-03-25T03:08:27.000Z | test/fstrings/prefixes3.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 129 | 2015-10-20T02:41:49.000Z | 2022-03-22T01:44:36.000Z | fr'some {obj}'
Fr'some {obj}'
fR'some {obj}'
FR'some {obj}'
fr : source.python, storage.type.string.python, string.interpolated.python, string.regexp.quoted.single.python
' : punctuation.definition.string.begin.python, source.python, string.interpolated.python, string.regexp.quoted.single.pyt... | 85.272727 | 153 | 0.734186 |
2febe828324595b72252acdfcd42dc8ab022af2d | 1,156 | py | Python | scraper/storage_spiders/huyhoangvn.py | chongiadung/choinho | d2a216fe7a5064d73cdee3e928a7beef7f511fd1 | [
"MIT"
] | null | null | null | scraper/storage_spiders/huyhoangvn.py | chongiadung/choinho | d2a216fe7a5064d73cdee3e928a7beef7f511fd1 | [
"MIT"
] | 10 | 2020-02-11T23:34:28.000Z | 2022-03-11T23:16:12.000Z | scraper/storage_spiders/huyhoangvn.py | chongiadung/choinho | d2a216fe7a5064d73cdee3e928a7beef7f511fd1 | [
"MIT"
] | 3 | 2018-08-05T14:54:25.000Z | 2021-06-07T01:49:59.000Z | # Auto generated by generator.py. Delete this line if you make modification.
from scrapy.spiders import Rule
from scrapy.linkextractors import LinkExtractor
XPATH = {
'name' : "//div[@class='main-full-content']/div[@class='content-center fl']/div[@class='content-main']/h1",
'price' : "//div[@class='info-detail... | 42.814815 | 136 | 0.636678 |
66fe3acbd6cf872f091d1986b8bc590fbab1d4a0 | 779 | asm | Assembly | oeis/005/A005913.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/005/A005913.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/005/A005913.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A005913: a(n) = [ tau*a(n-1) ] + [ tau*a(n-2) ].
; Submitted by Christian Krause
; 1,3,5,12,27,62,143,331,766,1774,4109,9518,22048,51074,118313,274073,634893,1470737,3406980,7892311,18282636,42351953,98108825,227270312,526474502,1219584727,2825183178,6544571946,15160582256,35119677229,81355168809,188460259723,4365705... | 31.16 | 484 | 0.743261 |
2c9fc944ffbcce02cc36a48cf7f568ac2cb822f2 | 6,843 | py | Python | ScoreBehavioralStudy.py | NCMlab/ScoringCognitiveTasks | 7170a97dab0c0feba682e1bdad1f78c6390c97fc | [
"MIT"
] | null | null | null | ScoreBehavioralStudy.py | NCMlab/ScoringCognitiveTasks | 7170a97dab0c0feba682e1bdad1f78c6390c97fc | [
"MIT"
] | 1 | 2020-01-30T03:49:45.000Z | 2020-01-30T03:49:45.000Z | ScoreBehavioralStudy.py | NCMlab/ScoringCognitiveTasks | 7170a97dab0c0feba682e1bdad1f78c6390c97fc | [
"MIT"
] | null | null | null | import os
import importlib
import sys
import pandas as pd
import csv
import datetime
import NCMPartv2
import ScoreNIHToolbox
import glob
import numpy as np
importlib.reload(ScoreNIHToolbox)
# importlib.reload(NCMPartv2)
BaseDir = '/home/jsteffen'
BaseDir = '/Users/jasonsteffener'
sys.path.append(os.path.join(BaseDir,'... | 34.560606 | 168 | 0.620634 |
ff26c312523709e53089aa1aa00da19ba8277e01 | 5,409 | py | Python | source/simulation.py | svaigen/DTMZ | 10420094bbedfd0398ee0ef40fc1bc43bf1e4f98 | [
"MIT"
] | null | null | null | source/simulation.py | svaigen/DTMZ | 10420094bbedfd0398ee0ef40fc1bc43bf1e4f98 | [
"MIT"
] | null | null | null | source/simulation.py | svaigen/DTMZ | 10420094bbedfd0398ee0ef40fc1bc43bf1e4f98 | [
"MIT"
] | 2 | 2021-05-01T11:09:16.000Z | 2021-09-07T09:13:06.000Z | import mobileEntity as me
import mixZone as mz
import datetime as dt
import dtmzUtils as utils
import pandas as pd
import graphOperations as graphOp
import os
def simulation(G, n_mixzones, k_anonymity, mobile_entities_path,sim_file,mixzones_path, days, intervals, radius_mixzone, metric):
print("Simulation begins a... | 50.551402 | 135 | 0.63117 |
a173a7b1c1e25e7dd3031d6f010aa7f8cc3ed3e3 | 1,281 | ps1 | PowerShell | VenafiPS/Public/Test-ModuleHash.ps1 | tonyjameshart/VenafiPS | 6607201a3683c3ca3251d9ec9b9e453883cb18c5 | [
"Apache-2.0"
] | 7 | 2021-07-31T14:30:19.000Z | 2021-12-14T17:11:00.000Z | VenafiPS/Public/Test-ModuleHash.ps1 | tonyjameshart/VenafiPS | 6607201a3683c3ca3251d9ec9b9e453883cb18c5 | [
"Apache-2.0"
] | 36 | 2021-05-06T00:02:07.000Z | 2021-12-19T14:07:34.000Z | VenafiPS/Public/Test-ModuleHash.ps1 | tonyjameshart/VenafiPS | 6607201a3683c3ca3251d9ec9b9e453883cb18c5 | [
"Apache-2.0"
] | 4 | 2021-07-09T15:45:52.000Z | 2021-12-09T20:59:50.000Z | <#
.SYNOPSIS
Validate module files
.DESCRIPTION
Validate all module files against the cryptographic hash created when the module was published.
A file containing all hashes will be downloaded from the GitHub release and compared to the module files currently in use.
.EXAMPLE
Test-ModuleHash
.INPUTS
... | 27.847826 | 168 | 0.629196 |
e54afcd1a987dd7ee991aeede30c0195a4f660f8 | 2,913 | sql | SQL | src/maw_database_pg/010/funcs/photo.get_categories.sql | AerisG222/mikeandwan.us | d93c8317aa00035a9035cc903a60de2d5aeb4428 | [
"MIT"
] | null | null | null | src/maw_database_pg/010/funcs/photo.get_categories.sql | AerisG222/mikeandwan.us | d93c8317aa00035a9035cc903a60de2d5aeb4428 | [
"MIT"
] | 74 | 2020-02-09T12:58:49.000Z | 2022-03-16T17:52:04.000Z | src/maw_database_pg/010/funcs/photo.get_categories.sql | AerisG222/mikeandwan.us | d93c8317aa00035a9035cc903a60de2d5aeb4428 | [
"MIT"
] | null | null | null | DROP FUNCTION photo.get_categories(BOOLEAN, SMALLINT, SMALLINT, SMALLINT);
CREATE OR REPLACE FUNCTION photo.get_categories
(
_allow_private BOOLEAN,
_year SMALLINT DEFAULT NULL,
_id SMALLINT DEFAULT NULL,
_since_id SMALLINT DEFAULT NULL
)
RETURNS TABLE
(
id SMALLINT,
year SMALLINT,
name VAR... | 28.841584 | 74 | 0.615173 |
3923ce88882b388b86bbe9aa2e890b6089d784bb | 264 | py | Python | examples/print_type_info.py | josephmckenna/2021_June_IOP_CAPS_2021 | d3c2e1d661d5fffa7233bf831b76ceccd2a69d63 | [
"MIT"
] | null | null | null | examples/print_type_info.py | josephmckenna/2021_June_IOP_CAPS_2021 | d3c2e1d661d5fffa7233bf831b76ceccd2a69d63 | [
"MIT"
] | null | null | null | examples/print_type_info.py | josephmckenna/2021_June_IOP_CAPS_2021 | d3c2e1d661d5fffa7233bf831b76ceccd2a69d63 | [
"MIT"
] | null | null | null | import sys
def PrintTypeInfoTitle():
print("Name\tBytes\tmin\tmax\n")
def PrintTypeInfo(T):
print((type(T).__name__) + "\t" + str(sys.getsizeof(T)))
PrintTypeInfo(True)
PrintTypeInfo('a')
PrintTypeInfo(123)
PrintTypeInfo(12345)
PrintTypeInfo(2* 10**307) | 20.307692 | 60 | 0.719697 |
4b856d7e96ae70293b35b9834d70ecd8f9fee9f8 | 21,225 | sql | SQL | security-admin/db/sqlserver/patches/016-updated-schema-for-tag-based-policy.sql | lizhi16080910/ranger | 23ab435f15a7e14cba45d47ecd6dbd5669421fd4 | [
"Apache-2.0"
] | 4 | 2019-04-20T03:35:03.000Z | 2022-03-29T03:26:32.000Z | security-admin/db/sqlserver/patches/016-updated-schema-for-tag-based-policy.sql | lizhi16080910/ranger | 23ab435f15a7e14cba45d47ecd6dbd5669421fd4 | [
"Apache-2.0"
] | 20 | 2018-10-17T19:48:21.000Z | 2019-02-04T11:47:20.000Z | security-admin/db/sqlserver/patches/016-updated-schema-for-tag-based-policy.sql | lizhi16080910/ranger | 23ab435f15a7e14cba45d47ecd6dbd5669421fd4 | [
"Apache-2.0"
] | 2 | 2018-01-23T21:46:29.000Z | 2019-05-03T20:18:08.000Z | -- 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... | 36.785095 | 267 | 0.770789 |
c289376fe56ad4b5dfa6d6e30fa848e89aa3407d | 543 | h | C | BoostTest/Watch.h | SharpSnake/BoostTest | 39452bdf0da5d1c0767d70521c2aa2e0863a2a9a | [
"MIT"
] | null | null | null | BoostTest/Watch.h | SharpSnake/BoostTest | 39452bdf0da5d1c0767d70521c2aa2e0863a2a9a | [
"MIT"
] | null | null | null | BoostTest/Watch.h | SharpSnake/BoostTest | 39452bdf0da5d1c0767d70521c2aa2e0863a2a9a | [
"MIT"
] | null | null | null | #ifndef WATCH_H
#define WATCH_H
#include <chrono>
class MWatch
{
typedef std::chrono::high_resolution_clock clock_type;
public:
MWatch() noexcept { Tic(); }
void Tic() noexcept { t1 = clock_type::now(); }
template< typename Dura = std::chrono::milliseconds, typename Rep = double >
auto Toc() noexcept
{
t2 ... | 20.111111 | 110 | 0.692449 |
f4c37bb290f0dfb147186f3b7b60e50aa4898255 | 3,439 | tsx | TypeScript | src/pages/bigData/aiGrope/CityDynamic/useLeftLogicHook.tsx | liyujian3225/SZmediacube | 2178d466af4966f244780b1077bb439f12836c75 | [
"MIT"
] | null | null | null | src/pages/bigData/aiGrope/CityDynamic/useLeftLogicHook.tsx | liyujian3225/SZmediacube | 2178d466af4966f244780b1077bb439f12836c75 | [
"MIT"
] | null | null | null | src/pages/bigData/aiGrope/CityDynamic/useLeftLogicHook.tsx | liyujian3225/SZmediacube | 2178d466af4966f244780b1077bb439f12836c75 | [
"MIT"
] | null | null | null | import { useCallback, useEffect, useState } from 'react'
import { usePage, useExtrackRes } from '@/utils/hook/business'
import { queryShenzhenInformation, queryShenzhenTotalNews } from './server'
function formatDate(date: any[]) {
let obj
if (Array.isArray(date)) {
obj = date.map(item => item.format('Y... | 30.166667 | 76 | 0.544635 |
2c9e250ef4f241eb48bdbaea5a8fa09f53924a8e | 1,214 | py | Python | cli.py | gconnell/knocker | 823d3706953e2ced060f7aa2087a468514ccdb50 | [
"Apache-2.0"
] | 4 | 2015-01-15T00:25:33.000Z | 2021-07-19T21:34:03.000Z | cli.py | gconnell/knocker | 823d3706953e2ced060f7aa2087a468514ccdb50 | [
"Apache-2.0"
] | null | null | null | cli.py | gconnell/knocker | 823d3706953e2ced060f7aa2087a468514ccdb50 | [
"Apache-2.0"
] | 2 | 2015-11-01T02:15:04.000Z | 2016-05-30T16:54:45.000Z | #!/usr/bin/python
#
# Copyright 2012 Graeme Connell
#
# 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... | 26.391304 | 74 | 0.709226 |
cfbbe92619beb46733659503ddaecabca2e37cca | 538 | sh | Shell | Docker/__test_run_Singularity.sh | ycl6/STAR-Fusion | 0439b3105c66a95f4cd19525f0377da67abf8ed9 | [
"BSD-3-Clause"
] | 172 | 2015-04-13T18:27:25.000Z | 2022-03-31T05:39:13.000Z | Docker/__test_run_Singularity.sh | ycl6/STAR-Fusion | 0439b3105c66a95f4cd19525f0377da67abf8ed9 | [
"BSD-3-Clause"
] | 300 | 2015-04-23T04:24:08.000Z | 2022-03-16T21:51:56.000Z | Docker/__test_run_Singularity.sh | ycl6/STAR-Fusion | 0439b3105c66a95f4cd19525f0377da67abf8ed9 | [
"BSD-3-Clause"
] | 80 | 2015-07-14T15:39:32.000Z | 2022-03-23T09:11:49.000Z | #!/bin/bash
set -ve
if [ -z ${CTAT_GENOME_LIB} ]; then
echo "Error, must have CTAT_GENOME_LIB env var set"
exit 1
fi
VERSION=`cat VERSION.txt`
# run STAR-Fusion
cd ../ && singularity exec -e -B ${CTAT_GENOME_LIB}:/ctat_genome_lib Docker/star-fusion.v${VERSION}.simg /usr/local/src/STAR-Fusion/STAR-Fusion --... | 35.866667 | 363 | 0.758364 |
5340c5fee4ff1fb245521acb90cd6f29f37984c4 | 1,104 | html | HTML | _includes/footer.html | godaddy/gasket-blog | 85b80bef6eeb0be3b9e645880bcffdfdea185f33 | [
"X11",
"MIT"
] | null | null | null | _includes/footer.html | godaddy/gasket-blog | 85b80bef6eeb0be3b9e645880bcffdfdea185f33 | [
"X11",
"MIT"
] | null | null | null | _includes/footer.html | godaddy/gasket-blog | 85b80bef6eeb0be3b9e645880bcffdfdea185f33 | [
"X11",
"MIT"
] | null | null | null | <footer>
<article>
<div class="footer-links">
<h4>Docs</h4>
<a href="/#/docs/quick-start">Get Started</a>
<a href="/#/README">Overview</a>
<a href="/#/README?id=guides">Guides</a>
</div>
<div class="footer-links">
<h4>Channel</h4>
<a target="_blank" href="https://godaddy-oss-s... | 35.612903 | 100 | 0.594203 |
1abd21b725a2067bbeeb7d4d62b7b3c11490499c | 7,180 | py | Python | models/education_class.py | MIchaelMainer/msgraph-v10-models-python | adad66363ebe151be2332f3ef74a664584385748 | [
"MIT"
] | 1 | 2021-03-07T07:02:22.000Z | 2021-03-07T07:02:22.000Z | models/education_class.py | MIchaelMainer/msgraph-v10-models-python | adad66363ebe151be2332f3ef74a664584385748 | [
"MIT"
] | null | null | null | models/education_class.py | MIchaelMainer/msgraph-v10-models-python | adad66363ebe151be2332f3ef74a664584385748 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
'''
# Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
#
# This file was generated and any changes will be overwritten.
'''
from __future__ import unicode_literals
from ..model.identity_set i... | 27.829457 | 151 | 0.578134 |
b94fcc1016efed435684bb35704fe55507361ac5 | 421 | css | CSS | src/_styles/Chart.css | guzmonne/conapps-charts | b4f21920ca54200c9aebf93e79d73080df228bf7 | [
"MIT"
] | null | null | null | src/_styles/Chart.css | guzmonne/conapps-charts | b4f21920ca54200c9aebf93e79d73080df228bf7 | [
"MIT"
] | null | null | null | src/_styles/Chart.css | guzmonne/conapps-charts | b4f21920ca54200c9aebf93e79d73080df228bf7 | [
"MIT"
] | null | null | null | .ChartContainer {
position: relative;
}
g.xAxis g.tick text {
text-anchor: end;
transform: rotate(-45deg) translate(-1em);
}
g.Rects rect {
/*fill: #5B5F97;*/
opacity: 0.6;
}
g.Rects rect:hover {
opacity: 0.8;
stroke: whitesmoke;
stroke-width: 0.5px;
}
g.xGrid line,
g.yGrid line {
stroke: lightgrey;... | 13.580645 | 44 | 0.643705 |
7fa771c4fb932c65aa3eeabd87945256eb87b74d | 301 | php | PHP | module/POS/src/POS/V1/Rest/InkooporderRegel/InkooporderRegelResourceFactory.php | Profilan/apibasiclabel | 34bd07b16964bb33ae2da2efa46795dee4327a70 | [
"BSD-3-Clause"
] | null | null | null | module/POS/src/POS/V1/Rest/InkooporderRegel/InkooporderRegelResourceFactory.php | Profilan/apibasiclabel | 34bd07b16964bb33ae2da2efa46795dee4327a70 | [
"BSD-3-Clause"
] | null | null | null | module/POS/src/POS/V1/Rest/InkooporderRegel/InkooporderRegelResourceFactory.php | Profilan/apibasiclabel | 34bd07b16964bb33ae2da2efa46795dee4327a70 | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace POS\V1\Rest\InkooporderRegel;
class InkooporderRegelResourceFactory
{
public function __invoke($services)
{
$resource = new InkooporderRegelResource();
$resource->setMapper($services->get('InkooporderRegel\Mapper'));
return $resource;
}
}
| 21.5 | 72 | 0.671096 |
daa28774faee62116d3f5ee5c78db340bfc65839 | 887 | php | PHP | resources/views/view_fonts/index.blade.php | withlovee/f0nt | 727994ee61771d56d5b0717bbb8ca1188d69569a | [
"MIT"
] | null | null | null | resources/views/view_fonts/index.blade.php | withlovee/f0nt | 727994ee61771d56d5b0717bbb8ca1188d69569a | [
"MIT"
] | null | null | null | resources/views/view_fonts/index.blade.php | withlovee/f0nt | 727994ee61771d56d5b0717bbb8ca1188d69569a | [
"MIT"
] | null | null | null | @extends('app')
@section('content')
<div class="container">
<div id="app"></div>
<div id="url" class="hidex">{{ action('ViewFontController@index') }}</div>
</div>
@endsection
@section('js-components')
<script type="text/jsx;harmony=true" src="{{ asset('js/components/Font.js') }}"></script>
<script type="text/jsx;ha... | 49.277778 | 101 | 0.682074 |
da6c85b39af06c830a6a8bee0d481a865a43717f | 4,321 | php | PHP | inc/Login.class.php | s3inlc/cineast-evaluator | dae36023e74d2ab3ce4266fa552544f962ed8826 | [
"MIT"
] | 2 | 2017-05-13T12:30:52.000Z | 2017-05-30T13:52:01.000Z | inc/Login.class.php | s3inlc/cineast-evaluator | dae36023e74d2ab3ce4266fa552544f962ed8826 | [
"MIT"
] | 14 | 2017-05-12T08:49:26.000Z | 2017-08-14T11:27:23.000Z | inc/Login.class.php | s3inlc/cineast-evaluator | dae36023e74d2ab3ce4266fa552544f962ed8826 | [
"MIT"
] | 1 | 2020-03-19T02:11:22.000Z | 2020-03-19T02:11:22.000Z | <?php
use DBA\QueryFilter;
use DBA\Session;
use DBA\User;
/**
* Handles the login sessions
*
* @author Sein
*/
class Login {
private $user = null;
private $valid = false;
private $session = null;
/**
* Creates a Login-Instance and checks automatically if there is a session
* running. It updat... | 29 | 121 | 0.59315 |
0a4edfeaa2ac7105e66860ebfb5bef708fee76a4 | 2,885 | cs | C# | src/WowChat.DAL/MSSQLAide.cs | yiyungent/WowChat | 4e0e6067653ac8bb1367f6e0663b040107dd41c7 | [
"MIT"
] | null | null | null | src/WowChat.DAL/MSSQLAide.cs | yiyungent/WowChat | 4e0e6067653ac8bb1367f6e0663b040107dd41c7 | [
"MIT"
] | null | null | null | src/WowChat.DAL/MSSQLAide.cs | yiyungent/WowChat | 4e0e6067653ac8bb1367f6e0663b040107dd41c7 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
namespace WowChat.DAL
{
public class MSSQLAide
{
private static readonly string conStr = ConfigurationManager... | 32.055556 | 115 | 0.501906 |
25a43266bf6dca257fe6cf8c22518bf72dbb4e9c | 2,110 | cs | C# | ErrorCode/PaddingBinding.cs | StevenThuriot/ErrorCode | 849e4223f92943bf29045fd0d9699bde37378714 | [
"MIT"
] | 1 | 2016-10-30T21:26:23.000Z | 2016-10-30T21:26:23.000Z | ErrorCode/PaddingBinding.cs | StevenThuriot/ErrorCode | 849e4223f92943bf29045fd0d9699bde37378714 | [
"MIT"
] | null | null | null | ErrorCode/PaddingBinding.cs | StevenThuriot/ErrorCode | 849e4223f92943bf29045fd0d9699bde37378714 | [
"MIT"
] | null | null | null | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Markup;
namespace ErrorCode
{
public class PaddingBinding : MarkupExtension
{
public override sealed object ProvideValue(IServiceProvider serviceProvider)
{
var target... | 44.893617 | 217 | 0.665403 |
a32f9b96ad29e295f9c1701b0db19ef2b6380b8c | 2,815 | java | Java | sp2-security-jwt/src/main/java/com/zgy/learn/springsecurity/config/SecurityHandlerConfig.java | prayjourney/boot-mybatis-mbplus-shiro-es-quartz | e8e1f2de53e3486344871e32c17102a6c3b8f3b3 | [
"BSD-3-Clause"
] | 6 | 2020-10-21T02:37:49.000Z | 2021-12-05T13:08:48.000Z | sp2-security-jwt/src/main/java/com/zgy/learn/springsecurity/config/SecurityHandlerConfig.java | prayjourney/boot-mybatis-mbplus-shiro-es-quartz | e8e1f2de53e3486344871e32c17102a6c3b8f3b3 | [
"BSD-3-Clause"
] | 4 | 2020-08-18T07:12:47.000Z | 2021-02-23T14:12:14.000Z | sp2-security-jwt/src/main/java/com/zgy/learn/springsecurity/config/SecurityHandlerConfig.java | prayjourney/boot-mybatis-mbplus-shiro-es-quartz | e8e1f2de53e3486344871e32c17102a6c3b8f3b3 | [
"BSD-3-Clause"
] | 5 | 2020-10-21T02:37:53.000Z | 2021-05-09T04:23:30.000Z | package com.zgy.learn.springsecurity.config;
import com.zgy.learn.springsecurity.utils.JwtTokenUtil;
import com.zgy.learn.springsecurity.utils.ResponseUtil;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpStatus;
impor... | 37.039474 | 117 | 0.697691 |
2d4522b24eb0144ca150d80ffece1e680711fd5e | 1,701 | css | CSS | src/containers/Toolbar.module.css | Krad23/petmate | 29cafeec8087fd46180012bd75d95a807fc4ea1d | [
"MIT"
] | 147 | 2018-07-30T14:32:07.000Z | 2022-02-22T03:24:46.000Z | src/containers/Toolbar.module.css | Krad23/petmate | 29cafeec8087fd46180012bd75d95a807fc4ea1d | [
"MIT"
] | 206 | 2018-07-25T19:07:29.000Z | 2022-01-26T22:46:55.000Z | src/containers/Toolbar.module.css | Krad23/petmate | 29cafeec8087fd46180012bd75d95a807fc4ea1d | [
"MIT"
] | 15 | 2018-08-02T19:36:04.000Z | 2021-11-06T19:26:10.000Z |
.toolbar {
display: flex;
flex-direction: column;
align-items: center;
padding-top: 10px;
height: 100%;
}
.end {
margin-top: auto;
margin-bottom: 20px;
}
.tooltip {
color: rgb(173,173,173);
position: relative;
display: inline-block;
display: flex;
justify-content: center;
width: 80%;
bord... | 16.04717 | 57 | 0.636096 |
b56dc832bc83da7bc93b0596c6f05c69265382ab | 1,853 | rb | Ruby | app/models/caching_simple_datastream.rb | cwant/avalon | b77e0d49ee410b51c97abfe9d1b343a28e53a158 | [
"Apache-2.0"
] | 1 | 2018-05-01T22:38:14.000Z | 2018-05-01T22:38:14.000Z | app/models/caching_simple_datastream.rb | cwant/avalon | b77e0d49ee410b51c97abfe9d1b343a28e53a158 | [
"Apache-2.0"
] | null | null | null | app/models/caching_simple_datastream.rb | cwant/avalon | b77e0d49ee410b51c97abfe9d1b343a28e53a158 | [
"Apache-2.0"
] | 1 | 2016-04-21T18:45:30.000Z | 2016-04-21T18:45:30.000Z | # Copyright 2011-2015, The Trustees of Indiana University and Northwestern
# University. 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
# ... | 31.948276 | 99 | 0.67674 |
a435523a3ca1bb46c8ea731e7bfbf16f4688c486 | 6,079 | php | PHP | database/migrations/2019_06_16_092835_create_banks_table.php | mehran-mrn/ashraf_new | 40b48b625b0fbb34213ea41f18c7050f5734b0f8 | [
"MIT"
] | null | null | null | database/migrations/2019_06_16_092835_create_banks_table.php | mehran-mrn/ashraf_new | 40b48b625b0fbb34213ea41f18c7050f5734b0f8 | [
"MIT"
] | 4 | 2019-11-06T13:41:59.000Z | 2022-02-18T02:43:56.000Z | database/migrations/2019_06_16_092835_create_banks_table.php | mehran-mrn/ashraf_new | 40b48b625b0fbb34213ea41f18c7050f5734b0f8 | [
"MIT"
] | null | null | null | <?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateBanksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('banks', function ... | 70.686047 | 131 | 0.537753 |
a8ffd1cc37afb72a4e0a38f0d39f1e0f82fe2731 | 456 | sh | Shell | script/travis-publish-sonar.sh | wizzardo/bt | 77a40b93145035f63bda4b48ece82cafdca1d765 | [
"Apache-2.0"
] | 2,199 | 2016-08-11T18:02:48.000Z | 2022-03-31T11:02:54.000Z | script/travis-publish-sonar.sh | wizzardo/bt | 77a40b93145035f63bda4b48ece82cafdca1d765 | [
"Apache-2.0"
] | 179 | 2016-09-01T22:42:54.000Z | 2022-01-28T06:18:30.000Z | script/travis-publish-sonar.sh | wizzardo/bt | 77a40b93145035f63bda4b48ece82cafdca1d765 | [
"Apache-2.0"
] | 380 | 2016-11-03T14:39:10.000Z | 2022-03-26T08:31:48.000Z | #!/bin/bash
if [ "$TRAVIS_REPO_SLUG" == "atomashpolskiy/bt" ] && [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ] && [ "$MAIN_BUILD" == "true" ]; then
# prevent showing the token in travis logs
#mvn sonar:sonar -Dsonar.login=${SONAR_TOKEN} -Psonar ... | 32.571429 | 199 | 0.625 |
c389624fe7d5a220a5fb92268b496da511af5d25 | 909 | cs | C# | src/Orleans/Client.Web/TemperatureController.cs | chunk1ty/FrameworkPlayground | f8e15d12c3998380bd76be1569e611a1b292c9de | [
"MIT"
] | null | null | null | src/Orleans/Client.Web/TemperatureController.cs | chunk1ty/FrameworkPlayground | f8e15d12c3998380bd76be1569e611a1b292c9de | [
"MIT"
] | null | null | null | src/Orleans/Client.Web/TemperatureController.cs | chunk1ty/FrameworkPlayground | f8e15d12c3998380bd76be1569e611a1b292c9de | [
"MIT"
] | null | null | null | using System.Threading.Tasks;
using Grains.Contracts;
using Microsoft.AspNetCore.Mvc;
using Orleans;
namespace Client.Web
{
[ApiController]
public class TemperatureController : ControllerBase
{
private readonly IClusterClient _client;
public TemperatureController(IClusterClient client)
... | 25.25 | 75 | 0.632563 |
20d6c364ac14a56c853247814f1fe511b00a7e34 | 584 | cs | C# | PokeAbilities/Passives/PassiveAbility_2270004.cs | TanaUmbreon/PokeAbilities | 0f5077bc081ededfb4288fe5e8a02fea5ab9a12e | [
"MIT"
] | null | null | null | PokeAbilities/Passives/PassiveAbility_2270004.cs | TanaUmbreon/PokeAbilities | 0f5077bc081ededfb4288fe5e8a02fea5ab9a12e | [
"MIT"
] | null | null | null | PokeAbilities/Passives/PassiveAbility_2270004.cs | TanaUmbreon/PokeAbilities | 0f5077bc081ededfb4288fe5e8a02fea5ab9a12e | [
"MIT"
] | 1 | 2021-07-07T09:48:52.000Z | 2021-07-07T09:48:52.000Z | using System;
using System.Linq;
using LOR_DiceSystem;
namespace PokeAbilities.Passives
{
/// <summary>
/// パッシブ「てきおうりょく」
/// タイプ一致のとき、更に与えるダメージ・混乱ダメージ量+1
/// </summary>
public class PassiveAbility_2270004 : PassiveAbilityBase
{
public override void BeforeGiveDamage(BattleD... | 26.545455 | 88 | 0.619863 |
20f142762611e460290d5c3c4b16092fcfc72124 | 2,566 | py | Python | api/resources/market.py | NathanBMcNamara/Speculator | e74aff778d6657a8c4993c62f264008c9be99e78 | [
"MIT"
] | 106 | 2017-11-09T13:58:45.000Z | 2021-12-20T03:11:19.000Z | api/resources/market.py | NathanBMcNamara/Speculator | e74aff778d6657a8c4993c62f264008c9be99e78 | [
"MIT"
] | 6 | 2017-10-30T13:29:49.000Z | 2021-09-13T12:06:59.000Z | api/resources/market.py | NathanBMcNamara/Speculator | e74aff778d6657a8c4993c62f264008c9be99e78 | [
"MIT"
] | 39 | 2017-10-30T16:35:01.000Z | 2021-10-31T10:32:48.000Z | # TODO: Only require market stats that are being used by ML models
# TODO: Allow storage/retrieval of multiple markets
""" Allows storage/retrieval for custom market data instead of automatic gathering """
from api import api, db
from api.helpers import HTTP_CODES, query_to_dict, validate_db
from api.models.market impo... | 35.150685 | 86 | 0.615744 |
c57d37d7fdd1468838a1ff3da8d1f61dd2194bf3 | 267 | css | CSS | stylesheets/style.css | emchang3/reanimation | b2734ad543e652d61f78b5bf2446d01a17979fc6 | [
"MIT"
] | null | null | null | stylesheets/style.css | emchang3/reanimation | b2734ad543e652d61f78b5bf2446d01a17979fc6 | [
"MIT"
] | null | null | null | stylesheets/style.css | emchang3/reanimation | b2734ad543e652d61f78b5bf2446d01a17979fc6 | [
"MIT"
] | null | null | null | html, body {
width: 100%;
height: 100%;
margin: 0px; }
#test-container {
position: absolute; }
#inside {
position: absolute;
left: 100px;
top: 100px;
width: 200px;
height: 200px;
border: 1px solid black; }
/*# sourceMappingURL=style.css.map */
| 14.833333 | 37 | 0.632959 |
ddce7e98166b732071044bae78c25e443efd3fab | 321 | lua | Lua | MMOCoreORB/bin/scripts/object/building/military/mun_all_military_tower_impl_guard_s01_pvp.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/object/building/military/mun_all_military_tower_impl_guard_s01_pvp.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/object/building/military/mun_all_military_tower_impl_guard_s01_pvp.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_building_military_mun_all_military_tower_impl_guard_s01_pvp = object_building_military_shared_mun_all_military_tower_impl_guard_s01_pvp:new {
}
ObjectTemplates:addTemplate(object_building_military_mun_all_military_tower_impl_guard_s01_pvp, "object/building/military/mun_all_military_tower_impl_guard_s01_pvp.iff")... | 80.25 | 169 | 0.934579 |
3cd3b245e7c3721231d1d113189563f0bf169b21 | 144 | sh | Shell | .travis/travis-run.sh | PoojaChandak/repairnator | 056e61ca522e64a14a376d5360a1f4ae0e50c46c | [
"MIT"
] | null | null | null | .travis/travis-run.sh | PoojaChandak/repairnator | 056e61ca522e64a14a376d5360a1f4ae0e50c46c | [
"MIT"
] | null | null | null | .travis/travis-run.sh | PoojaChandak/repairnator | 056e61ca522e64a14a376d5360a1f4ae0e50c46c | [
"MIT"
] | null | null | null | #!/usr/bin/env bash
# running the Java tests of Repairnator on Travis
set -e
export M2_HOME=/usr/local/maven
mvn clean test -B -f $TEST_PATH
| 16 | 49 | 0.736111 |
25b10f934a4e440ea27ef19dc5e40467a1146208 | 5,778 | cs | C# | sdk/dotnet/ServiceCatalog/GetPortfolioConstraints.cs | RafalSumislawski/pulumi-aws | 7c8a335d327c173aa32c8b3d98816e760db329fa | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-11-10T16:33:40.000Z | 2021-11-10T16:33:40.000Z | sdk/dotnet/ServiceCatalog/GetPortfolioConstraints.cs | RafalSumislawski/pulumi-aws | 7c8a335d327c173aa32c8b3d98816e760db329fa | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/dotnet/ServiceCatalog/GetPortfolioConstraints.cs | RafalSumislawski/pulumi-aws | 7c8a335d327c173aa32c8b3d98816e760db329fa | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using ... | 34.189349 | 222 | 0.567844 |
23e4081080aa1ec95d866dddd62dedfe112b63c3 | 1,079 | js | JavaScript | pm4js/objects/petri_net/util/reachable_visible_transitions.js | pm4js/pm4js-core | ce8b8bc6a18be8caa4587cef5b39e0aef6f7ec72 | [
"BSD-3-Clause"
] | 12 | 2021-08-14T21:50:36.000Z | 2022-03-04T07:47:34.000Z | pm4js/objects/petri_net/util/reachable_visible_transitions.js | pm4js/pm4js-core | ce8b8bc6a18be8caa4587cef5b39e0aef6f7ec72 | [
"BSD-3-Clause"
] | 1 | 2021-11-30T14:57:39.000Z | 2021-11-30T14:57:39.000Z | pm4js/objects/petri_net/util/reachable_visible_transitions.js | pm4js/pm4js-core | ce8b8bc6a18be8caa4587cef5b39e0aef6f7ec72 | [
"BSD-3-Clause"
] | 1 | 2022-03-04T07:32:51.000Z | 2022-03-04T07:32:51.000Z | class PetriNetReachableVisibleTransitions {
static apply(net, marking) {
let reachableVisibleTransitions = {};
let visited = {};
let toVisit = [];
toVisit.push(marking);
while (toVisit.length > 0) {
//console.log(reachableVisibleTransitions);
let currMarking = toVisit.shift();
if (currMarking in vis... | 26.317073 | 93 | 0.692308 |
7da8492cafc15eabadb73839edf0956581777fe6 | 1,568 | css | CSS | resources/assets/css/extra.css | GCharalampidis/HLVF | ae95d3ba5846b17ab9d03432b7d0a805a39295fe | [
"MIT"
] | null | null | null | resources/assets/css/extra.css | GCharalampidis/HLVF | ae95d3ba5846b17ab9d03432b7d0a805a39295fe | [
"MIT"
] | null | null | null | resources/assets/css/extra.css | GCharalampidis/HLVF | ae95d3ba5846b17ab9d03432b7d0a805a39295fe | [
"MIT"
] | null | null | null | #face {
width: 100px;
height: 100px;
position: relative;
border-radius: 100px;
margin: 20px auto;
box-shadow: 5px 3px 15px #888888;
background: #ffc806; /* For browsers that do not support gradients */
background: -webkit-radial-gradient(circle, #ffff73, #ffd904, #ff8600); /* Safari */
... | 18.891566 | 96 | 0.610332 |
447aa1b2d685da588ba836de6504301945400662 | 1,383 | py | Python | project3/solutions/problem4_dutch_national_flag_problem.py | ebitsdev/data-structures-algo-udacity | df0db1a93f01ace5e10f77947775f161d1531b15 | [
"MIT"
] | null | null | null | project3/solutions/problem4_dutch_national_flag_problem.py | ebitsdev/data-structures-algo-udacity | df0db1a93f01ace5e10f77947775f161d1531b15 | [
"MIT"
] | null | null | null | project3/solutions/problem4_dutch_national_flag_problem.py | ebitsdev/data-structures-algo-udacity | df0db1a93f01ace5e10f77947775f161d1531b15 | [
"MIT"
] | null | null | null | # Problem 4: Dutch National Flag Problem
def sort_zero_one_two(input_list):
# We define 4 variables for the low, middle, high, and temporary values
lo_end = 0
hi_end = len(input_list) - 1
mid = 0
tmp = None
if len(input_list) <= 0 or input_list[mid] < 0:
return "The list is either empty... | 30.733333 | 93 | 0.527115 |
966073ca3fc1c68642ef8f658f735a06ec2ae90d | 13,879 | rs | Rust | src/apb_saradc/arb_ctrl.rs | bjoernQ/esp32c3 | 5c798e9b20f7c8370b782a4cdc5e6d3ef013cf14 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/apb_saradc/arb_ctrl.rs | bjoernQ/esp32c3 | 5c798e9b20f7c8370b782a4cdc5e6d3ef013cf14 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/apb_saradc/arb_ctrl.rs | bjoernQ/esp32c3 | 5c798e9b20f7c8370b782a4cdc5e6d3ef013cf14 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-01-05T12:39:38.000Z | 2022-01-05T12:39:38.000Z | #[doc = "Register `ARB_CTRL` reader"]
pub struct R(crate::R<ARB_CTRL_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<ARB_CTRL_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<ARB_CTRL_SPEC>> for R {
#[inline(always)]
fn from(reader: ... | 33.605327 | 422 | 0.620722 |
9fd4bd546525a5670feec8ec8284cbbeafa0fed6 | 5,454 | py | Python | tests/ti_deps/deps/test_not_previously_skipped_dep.py | npodewitz/airflow | 511ea702d5f732582d018dad79754b54d5e53f9d | [
"Apache-2.0"
] | 8,092 | 2016-04-27T20:32:29.000Z | 2019-01-05T07:39:33.000Z | tests/ti_deps/deps/test_not_previously_skipped_dep.py | npodewitz/airflow | 511ea702d5f732582d018dad79754b54d5e53f9d | [
"Apache-2.0"
] | 2,961 | 2016-05-05T07:16:16.000Z | 2019-01-05T08:47:59.000Z | tests/ti_deps/deps/test_not_previously_skipped_dep.py | npodewitz/airflow | 511ea702d5f732582d018dad79754b54d5e53f9d | [
"Apache-2.0"
] | 3,546 | 2016-05-04T20:33:16.000Z | 2019-01-05T05:14:26.000Z | #
# 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... | 33.875776 | 106 | 0.702054 |
2d606a13b9e7ab4cd01fc8aed2a83b5a21c56269 | 815 | css | CSS | src/components/tracks-table/TableRepostButton.module.css | ppak10/audius-client | 95fd1db3867825158fc87b7b5516bc67904c247a | [
"Apache-2.0"
] | 136 | 2020-08-17T23:51:51.000Z | 2022-03-30T06:31:58.000Z | src/components/tracks-table/TableRepostButton.module.css | ppak10/audius-client | 95fd1db3867825158fc87b7b5516bc67904c247a | [
"Apache-2.0"
] | 907 | 2020-08-18T14:34:26.000Z | 2022-03-31T21:40:46.000Z | src/components/tracks-table/TableRepostButton.module.css | ppak10/audius-client | 95fd1db3867825158fc87b7b5516bc67904c247a | [
"Apache-2.0"
] | 39 | 2020-08-29T03:43:48.000Z | 2022-03-27T09:16:18.000Z | .tableRepostButton {
display: flex;
align-items: center;
cursor: pointer;
user-select: none;
padding: 4px;
}
.tableRepostButton > div {
display: flex;
align-items: center;
}
.icon {
width: 16px;
height: 16px;
position: relative;
transition: all .07s ease-in-out !important;
}
.icon.notReposted {
... | 18.111111 | 73 | 0.669939 |
7f1cae9ff9f20a9c7f95decc3dc18e661c42ee25 | 693 | cs | C# | HTMLWorker.cs | iKrax/webscraperSD | 15d5b669db29ae9c645aae21ae3bf789406bd4e9 | [
"MIT"
] | 1 | 2018-05-31T12:12:23.000Z | 2018-05-31T12:12:23.000Z | HTMLWorker.cs | iKrax/webscraperSD | 15d5b669db29ae9c645aae21ae3bf789406bd4e9 | [
"MIT"
] | null | null | null | HTMLWorker.cs | iKrax/webscraperSD | 15d5b669db29ae9c645aae21ae3bf789406bd4e9 | [
"MIT"
] | null | null | null | using System.IO;
using System.Net;
namespace SDWebScraper
{
class HTMLWorker
{
public static string getSource(string url)
{
//Create Request
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
//Get Response
HttpWebResponse... | 22.354839 | 74 | 0.526696 |
b2811c7d40e79e4029d1312d878e71261c3f2348 | 245 | css | CSS | app/book-search.component.css | omarslvd/angular2-books | b530b37f3e0807184707e71ad5e48f08226486a8 | [
"MIT"
] | null | null | null | app/book-search.component.css | omarslvd/angular2-books | b530b37f3e0807184707e71ad5e48f08226486a8 | [
"MIT"
] | null | null | null | app/book-search.component.css | omarslvd/angular2-books | b530b37f3e0807184707e71ad5e48f08226486a8 | [
"MIT"
] | null | null | null | .demo-card-container {
display: flex;
flex-flow: row wrap;
}
.demo-card-container md-card {
margin: 0 16px 16px 0;
width: 400px;
background-color: #FFF;
/*flex: 1 0 auto;*/
}
.demo-card-container img {
background-color: gray;
}
| 14.411765 | 30 | 0.64898 |
a399e5e848f9dae767ee240d56a1b7a3a34b7cf1 | 5,999 | java | Java | Blog-Core/src/main/java/site/btsearch/core/tools/HttpUtil.java | TakeaHeader/OpenBlog | 1f74e33c1d2c4e9ce3bb50c8be699d70fbf1e1e8 | [
"Apache-2.0"
] | null | null | null | Blog-Core/src/main/java/site/btsearch/core/tools/HttpUtil.java | TakeaHeader/OpenBlog | 1f74e33c1d2c4e9ce3bb50c8be699d70fbf1e1e8 | [
"Apache-2.0"
] | null | null | null | Blog-Core/src/main/java/site/btsearch/core/tools/HttpUtil.java | TakeaHeader/OpenBlog | 1f74e33c1d2c4e9ce3bb50c8be699d70fbf1e1e8 | [
"Apache-2.0"
] | null | null | null | package site.btsearch.core.tools;
import com.alibaba.fastjson.JSONObject;
import okhttp3.*;
import java.io.IOException;
import java.io.InputStream;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.TimeUnit;
public final class HttpUtil {
private static final OkH... | 31.082902 | 107 | 0.558926 |
0d62b793af66a61ba71aa5e42076fbdc33be8f69 | 288 | cs | C# | src/DotVVM.Samples.Common/ViewModels/ControlSamples/Repeater/RequiredResourceViewModel.cs | vnwonah/dotvvm | d9e141790af6fd05fab4d42aecbe5683030d2706 | [
"Apache-2.0"
] | 641 | 2015-06-13T06:24:47.000Z | 2022-03-18T20:06:06.000Z | src/DotVVM.Samples.Common/ViewModels/ControlSamples/Repeater/RequiredResourceViewModel.cs | vnwonah/dotvvm | d9e141790af6fd05fab4d42aecbe5683030d2706 | [
"Apache-2.0"
] | 879 | 2015-06-13T16:10:46.000Z | 2022-03-28T14:42:37.000Z | src/DotVVM.Samples.Common/ViewModels/ControlSamples/Repeater/RequiredResourceViewModel.cs | vnwonah/dotvvm | d9e141790af6fd05fab4d42aecbe5683030d2706 | [
"Apache-2.0"
] | 128 | 2015-07-14T15:00:59.000Z | 2022-03-02T17:39:24.000Z | using System.Collections.Generic;
using DotVVM.Framework.ViewModel;
namespace DotVVM.Samples.Common.ViewModels.ControlSamples.Repeater
{
public class RequiredResourceViewModel : DotvvmViewModelBase
{
public List<string> Items { get; set; } = new List<string>(0);
}
}
| 26.181818 | 70 | 0.743056 |
38d7ad74a04060029a254fa7f533ec0b5b3fd819 | 1,019 | php | PHP | app/Http/Middleware/Authenticate.php | Aibram/aibram-adv | 22d4372d4a7d7f0fef6b0006c94e01e23ff82ee8 | [
"MIT"
] | null | null | null | app/Http/Middleware/Authenticate.php | Aibram/aibram-adv | 22d4372d4a7d7f0fef6b0006c94e01e23ff82ee8 | [
"MIT"
] | null | null | null | app/Http/Middleware/Authenticate.php | Aibram/aibram-adv | 22d4372d4a7d7f0fef6b0006c94e01e23ff82ee8 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Middleware;
use App\Exceptions\AuthenticationException;
use Illuminate\Auth\Middleware\Authenticate as Middleware;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Route;
use Laravel\Passport\Exceptions\MissingScopeException;
class Authenticate extends Middleware
{
/**... | 28.305556 | 100 | 0.598626 |
b2d474596936169c18a025807bca0fea1cba3cbc | 1,031 | rb | Ruby | test/mr_test_case.rb | csail/tem_mr_search | 7923b39a290103384f71465fe8eaabac74d3120e | [
"MIT"
] | 1 | 2021-10-12T03:57:28.000Z | 2021-10-12T03:57:28.000Z | test/mr_test_case.rb | csail/tem_mr_search | 7923b39a290103384f71465fe8eaabac74d3120e | [
"MIT"
] | null | null | null | test/mr_test_case.rb | csail/tem_mr_search | 7923b39a290103384f71465fe8eaabac74d3120e | [
"MIT"
] | 1 | 2021-10-12T03:57:15.000Z | 2021-10-12T03:57:15.000Z | require 'test/unit'
require 'tem_mr_search'
class MrTestCase < Test::Unit::TestCase
include Tem::Mr::Search
def setup
super
Thread.abort_on_exception = true
@db_path = File.join File.dirname(__FILE__), "..", "testdata", "fares8.yml"
@cluster_file = File.join File.dirname(__FILE__), "..... | 27.864865 | 79 | 0.552861 |
ffba36abaf60231b391f430437b61a59903fd571 | 22 | sql | SQL | tests/data/commands/mock_command.sql | CalgaryMichael/branchdb-python | 77b467105cdcaa7346c19c3882f05d85bc238268 | [
"MIT"
] | null | null | null | tests/data/commands/mock_command.sql | CalgaryMichael/branchdb-python | 77b467105cdcaa7346c19c3882f05d85bc238268 | [
"MIT"
] | null | null | null | tests/data/commands/mock_command.sql | CalgaryMichael/branchdb-python | 77b467105cdcaa7346c19c3882f05d85bc238268 | [
"MIT"
] | null | null | null | SELECT {} FROM {arg2}
| 11 | 21 | 0.636364 |
1a8d7c12d4d3972bf3177a6b78a75b332ee4ce3c | 4,059 | cs | C# | EditorControls/FileControl.xaml.cs | DPS2004/quest | a369f92f25dd790ca2f664438f6570870f3fd84e | [
"MIT"
] | 282 | 2015-01-12T17:35:36.000Z | 2022-03-19T15:56:21.000Z | EditorControls/FileControl.xaml.cs | DPS2004/quest | a369f92f25dd790ca2f664438f6570870f3fd84e | [
"MIT"
] | 391 | 2015-01-11T23:18:49.000Z | 2022-03-15T16:27:29.000Z | EditorControls/FileControl.xaml.cs | DPS2004/quest | a369f92f25dd790ca2f664438f6570870f3fd84e | [
"MIT"
] | 112 | 2015-01-02T02:30:33.000Z | 2022-03-01T21:47:48.000Z | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using MessageBox = System.Windows.Forms.MessageBox;
namespace TextAdventures.Quest.EditorControls
{
[ControlType("file")]
public partial class FileControl : UserC... | 31.223077 | 134 | 0.558758 |
9d7599b6e28f472bd2710d46e9988330cc01be2f | 6,917 | swift | Swift | Examples/iOS/SequencerDemo/SequencerDemo/Conductor.swift | laurentVeliscek/AudioKit | 3d88e8b2405ab32632ed410405dc914dc6a82833 | [
"MIT"
] | null | null | null | Examples/iOS/SequencerDemo/SequencerDemo/Conductor.swift | laurentVeliscek/AudioKit | 3d88e8b2405ab32632ed410405dc914dc6a82833 | [
"MIT"
] | null | null | null | Examples/iOS/SequencerDemo/SequencerDemo/Conductor.swift | laurentVeliscek/AudioKit | 3d88e8b2405ab32632ed410405dc914dc6a82833 | [
"MIT"
] | null | null | null | //
// Conductor.swift
// SequencerDemo
//
// Created by Kanstantsin Linou on 6/30/16.
// Copyright © 2016 AudioKit. All rights reserved.
//
import AudioKit
class Conductor {
let midi = AKMIDI()
var fmOscillator = AKFMOscillatorBank()
var melodicSound: AKMIDINode?
var verb: AKReverb2?
... | 36.989305 | 125 | 0.57496 |
e418b799d4f8d06dfdffb0b2ca110ea4cd1240ac | 3,967 | swift | Swift | MyHabits/MyHabits/Detail screen scene/Controllers/HabitDetailsViewController.swift | firetrace/iOS_networking | b02644ba8658616204eae0162ef72756ce73b509 | [
"MIT"
] | null | null | null | MyHabits/MyHabits/Detail screen scene/Controllers/HabitDetailsViewController.swift | firetrace/iOS_networking | b02644ba8658616204eae0162ef72756ce73b509 | [
"MIT"
] | 1 | 2021-02-16T13:09:31.000Z | 2021-02-16T13:09:31.000Z | MyHabits/MyHabits/Detail screen scene/Controllers/HabitDetailsViewController.swift | firetrace/iOS_industrial_dev | 1334a81bd308117cb933767fa0521fca816f5aec | [
"MIT"
] | null | null | null | //
// HabitDetailsViewController.swift
// MyHabits
//
// Created by Admin on 19.01.2021.
//
import UIKit
class HabitDetailsViewController: UIViewController {
weak var thisDelegate: HabitDelegate?
private var data: HabitModel
private lazy var editButton: UIBarButtonItem = {
var button... | 35.738739 | 123 | 0.661709 |
0d45cafeb51301c494dccfd03cc635de28f2d6b9 | 3,149 | h | C | myy/helpers/hitbox_action.h | Miouyouyou/QuickProtoGL | 90e12b5179b0b69292772b42745c76251985d232 | [
"MIT"
] | null | null | null | myy/helpers/hitbox_action.h | Miouyouyou/QuickProtoGL | 90e12b5179b0b69292772b42745c76251985d232 | [
"MIT"
] | null | null | null | myy/helpers/hitbox_action.h | Miouyouyou/QuickProtoGL | 90e12b5179b0b69292772b42745c76251985d232 | [
"MIT"
] | null | null | null | #ifndef MYY_HELPERS_HITBOX_ACTION_H
#define MYY_HELPERS_HITBOX_ACTION_H 1
#include <stdint.h>
struct box_coords_S { int16_t left, right, top, bottom; };
typedef struct box_coords_S box_coords_S_t;
#include <myy/helpers/position.h>
inline static uint8_t box_coords_S_pos_S_inside_window_coords
(box_coords_S_t cons... | 25.811475 | 71 | 0.775484 |
44787291fd9418de72796898a5095cdb9ef32be3 | 367 | swift | Swift | Sources/Sio/Optional+Utils.swift | buscarini/sio | 0c02f5b2651094372da1483675406dc3c6afc272 | [
"MIT"
] | 1 | 2020-06-03T04:53:38.000Z | 2020-06-03T04:53:38.000Z | Sources/Sio/Optional+Utils.swift | buscarini/sio | 0c02f5b2651094372da1483675406dc3c6afc272 | [
"MIT"
] | null | null | null | Sources/Sio/Optional+Utils.swift | buscarini/sio | 0c02f5b2651094372da1483675406dc3c6afc272 | [
"MIT"
] | null | null | null | //
// Optional+Utils.swift
// Sio
//
// Created by José Manuel Sánchez Peñarroja on 23/03/2020.
//
import Foundation
public extension Array {
func traverse<A>(_ f: @escaping (Element) -> A?) -> [A]? {
var result: [A] = []
for item in self {
guard let current = f(item) else {
return nil
}
resu... | 15.291667 | 59 | 0.60218 |
daa2f7d89b9fd973d73893bb8989e05b80bcd576 | 985 | php | PHP | application/home/widget/CategoryWidget.class.php | huangjinnan/aa | bfdda9c9410190bb359fd1c65c3885a3991194b5 | [
"Apache-2.0"
] | 288 | 2018-12-01T06:47:40.000Z | 2022-02-23T08:04:26.000Z | application/home/widget/CategoryWidget.class.php | huangjinnan/aa | bfdda9c9410190bb359fd1c65c3885a3991194b5 | [
"Apache-2.0"
] | 6 | 2020-07-17T01:54:46.000Z | 2022-02-26T10:53:43.000Z | application/home/widget/CategoryWidget.class.php | huangjinnan/aa | bfdda9c9410190bb359fd1c65c3885a3991194b5 | [
"Apache-2.0"
] | 78 | 2018-12-01T06:58:36.000Z | 2021-04-26T15:20:41.000Z | <?php
// +----------------------------------------------------------------------
// | WeiPHP [ 公众号和小程序运营管理系统 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017 http://www.weiphp.cn All rights reserved.
// +----------------------------------------------------------------... | 28.142857 | 74 | 0.448731 |
3f3a73d4686f1d30597d2fee31efd61af5f30b60 | 6,574 | php | PHP | book-an-appointment.php | princemanku/clinicupdated | 77c5b5ac03f061320e9ce4f78bc94919b47f518c | [
"MIT"
] | null | null | null | book-an-appointment.php | princemanku/clinicupdated | 77c5b5ac03f061320e9ce4f78bc94919b47f518c | [
"MIT"
] | null | null | null | book-an-appointment.php | princemanku/clinicupdated | 77c5b5ac03f061320e9ce4f78bc94919b47f518c | [
"MIT"
] | null | null | null | <?php include 'header.php';?>
<head>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<!-- Web Fonts -->
<link href='http://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500,500italic,700,700italic' rel='stylesheet' type='text/css'>
<link href='http://... | 45.027397 | 150 | 0.591573 |
9379b1b1897a204a702a1e36277c016df2e45469 | 4,920 | cs | C# | VKHotkeys/Splasher.xaml.cs | pavlexander/VKHotkeys | fdc80335c09429e8c7e2f32c7320941343634110 | [
"MIT"
] | null | null | null | VKHotkeys/Splasher.xaml.cs | pavlexander/VKHotkeys | fdc80335c09429e8c7e2f32c7320941343634110 | [
"MIT"
] | null | null | null | VKHotkeys/Splasher.xaml.cs | pavlexander/VKHotkeys | fdc80335c09429e8c7e2f32c7320941343634110 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
... | 33.469388 | 149 | 0.564837 |
a3310dab8a1146468c271f117ce4df9a361fdcf4 | 7,160 | java | Java | jasperreports-5.6.0/src/net/sf/jasperreports/components/iconlabel/IconLabelComponent.java | Tatetaylor/kbplumbapp | 3caa9b3695b1f5978adca0980afb47f0895ca652 | [
"Apache-2.0"
] | null | null | null | jasperreports-5.6.0/src/net/sf/jasperreports/components/iconlabel/IconLabelComponent.java | Tatetaylor/kbplumbapp | 3caa9b3695b1f5978adca0980afb47f0895ca652 | [
"Apache-2.0"
] | 6 | 2020-03-04T21:44:08.000Z | 2022-03-31T18:50:46.000Z | jasperreports-5.6.0/src/net/sf/jasperreports/components/iconlabel/IconLabelComponent.java | Tatetaylor/kbplumbapp | 3caa9b3695b1f5978adca0980afb47f0895ca652 | [
"Apache-2.0"
] | 1 | 2018-06-08T19:38:47.000Z | 2018-06-08T19:38:47.000Z | /*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2011 Jaspersoft Corporation. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
... | 24.604811 | 131 | 0.760475 |
7acbdc810c71bd8e6fb52b8dfc498d2dfcdf428a | 980 | cs | C# | src/Cosmos.Business.Extensions.Holiday/Cosmos/Business/Extensions/Holiday/Definitions/Europe/Belgium/Commemoration/SaintNicholas.cs | cosmos-open/cosmos-holiday | ced7df073e703e1ecc116c82e2a9efcda1457de3 | [
"Apache-2.0"
] | null | null | null | src/Cosmos.Business.Extensions.Holiday/Cosmos/Business/Extensions/Holiday/Definitions/Europe/Belgium/Commemoration/SaintNicholas.cs | cosmos-open/cosmos-holiday | ced7df073e703e1ecc116c82e2a9efcda1457de3 | [
"Apache-2.0"
] | 2 | 2019-09-16T08:53:07.000Z | 2019-11-25T09:15:50.000Z | src/Cosmos.Business.Extensions.Holiday/Cosmos/Business/Extensions/Holiday/Definitions/Europe/Belgium/Commemoration/SaintNicholas.cs | cosmos-open/Holiday | ced7df073e703e1ecc116c82e2a9efcda1457de3 | [
"Apache-2.0"
] | null | null | null | using Cosmos.Business.Extensions.Holiday.Core;
using Cosmos.I18N.Countries;
namespace Cosmos.Business.Extensions.Holiday.Definitions.Europe.Belgium.Commemoration
{
/// <summary>
/// Saint Nicholas
/// </summary>
public class SaintNicholas : BaseFixedHolidayFunc
{
/// <inheritdoc />
... | 30.625 | 90 | 0.619388 |
8526633b3d1187fcc111f5155de14266420df385 | 8,423 | cs | C# | sdk/src/Services/AutoScaling/Generated/Model/InstancesDistribution.cs | PureKrome/aws-sdk-net | e62bda0394a18c40d82a7990650b0714db57397c | [
"Apache-2.0"
] | 1 | 2020-12-21T09:21:28.000Z | 2020-12-21T09:21:28.000Z | sdk/src/Services/AutoScaling/Generated/Model/InstancesDistribution.cs | PureKrome/aws-sdk-net | e62bda0394a18c40d82a7990650b0714db57397c | [
"Apache-2.0"
] | 1 | 2020-12-22T00:42:26.000Z | 2021-02-06T22:03:13.000Z | sdk/src/Services/AutoScaling/Generated/Model/InstancesDistribution.cs | PureKrome/aws-sdk-net | e62bda0394a18c40d82a7990650b0714db57397c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 43.194872 | 114 | 0.652618 |
db72156b84b132cfa9f8d0e373f1e64af18dde77 | 2,719 | php | PHP | src/AppBundle/Action/GameReport/Update/GameReportUpdateView.php | cerad/ng2016 | 4cb7640184f7f4e22e8453cd783446d8ff5920fe | [
"MIT"
] | 4 | 2016-03-25T23:24:17.000Z | 2020-03-09T14:10:13.000Z | src/AppBundle/Action/GameReport/Update/GameReportUpdateView.php | cerad/ng2016 | 4cb7640184f7f4e22e8453cd783446d8ff5920fe | [
"MIT"
] | 144 | 2016-03-25T21:29:38.000Z | 2019-07-07T23:57:33.000Z | src/AppBundle/Action/GameReport/Update/GameReportUpdateView.php | cerad/ng2016 | 4cb7640184f7f4e22e8453cd783446d8ff5920fe | [
"MIT"
] | null | null | null | <?php
namespace AppBundle\Action\GameReport\Update;
use AppBundle\Action\AbstractView2;
use Symfony\Component\HttpFoundation\Request;
class GameReportUpdateView extends AbstractView2
{
/** @var GameReportUpdateForm */
private $form;
private $project;
public function __construct(GameReportUpdateFor... | 33.158537 | 246 | 0.588452 |
1a38e0b3cdd1ed4c39d704e4d95f4f19cd4da050 | 226 | py | Python | homeassistant/components/xbox/const.py | tbarbette/core | 8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | homeassistant/components/xbox/const.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | homeassistant/components/xbox/const.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Constants for the xbox integration."""
DOMAIN = "xbox"
OAUTH2_AUTHORIZE = "https://login.live.com/oauth20_authorize.srf"
OAUTH2_TOKEN = "https://login.live.com/oauth20_token.srf"
EVENT_NEW_FAVORITE = "xbox/new_favorite"
| 25.111111 | 65 | 0.761062 |
b1403378ea26bfc5476a7691f342e1382acebcea | 1,703 | sql | SQL | database_scripts/install/090_docker_compose.sql | guoci/limelight-core | 6ce269903ebc5948dd844047d5a2b5580fdc5432 | [
"Apache-2.0"
] | 3 | 2019-02-21T21:23:04.000Z | 2021-07-12T18:30:03.000Z | database_scripts/install/090_docker_compose.sql | guoci/limelight-core | 6ce269903ebc5948dd844047d5a2b5580fdc5432 | [
"Apache-2.0"
] | 5 | 2020-11-13T01:30:36.000Z | 2021-11-24T22:18:53.000Z | database_scripts/install/090_docker_compose.sql | guoci/limelight-core | 6ce269903ebc5948dd844047d5a2b5580fdc5432 | [
"Apache-2.0"
] | 3 | 2021-01-31T18:42:54.000Z | 2021-07-11T20:33:07.000Z | USE limelight ;
-- Some initial system config for running inside docker via official docker compose file
INSERT INTO config_system_tbl (config_key, config_value) VALUES ('spectral_storage_service_accept_import_base_url', 'http://spectr:8080/spectral_storage_accept_import');
INSERT INTO config_system_tbl (config_key, ... | 100.176471 | 208 | 0.828538 |
20d1ada5c6848f5fbfc12465134bbcba224b4704 | 1,393 | dart | Dart | lib/src/go_router_cupertino.dart | peerwaya/go_router | 24e30d898627d79a82492fdff622aa0c07abdbed | [
"BSD-3-Clause"
] | null | null | null | lib/src/go_router_cupertino.dart | peerwaya/go_router | 24e30d898627d79a82492fdff622aa0c07abdbed | [
"BSD-3-Clause"
] | null | null | null | lib/src/go_router_cupertino.dart | peerwaya/go_router | 24e30d898627d79a82492fdff622aa0c07abdbed | [
"BSD-3-Clause"
] | null | null | null | // ignore_for_file: diagnostic_describe_all_properties
import 'package:flutter/cupertino.dart';
import '../go_router.dart';
/// Checks for CupertinoApp in the widget tree.
bool isCupertinoApp(Element elem) =>
elem.findAncestorWidgetOfExactType<CupertinoApp>() != null;
/// Builds a Cupertino page.
CupertinoPage<v... | 29.020833 | 79 | 0.642498 |
20c0b4e5babb472e0da06de4c115227a275cc54e | 997 | py | Python | python/get_reg_area_avg_rmse.py | E3SM-Project/a-prime | a8c084ab6f727904a2b38d8a93b9c83e2f978e3f | [
"BSD-3-Clause"
] | 1 | 2017-06-07T13:13:32.000Z | 2017-06-07T13:13:32.000Z | python/get_reg_area_avg_rmse.py | ACME-Climate/a-prime | a8c084ab6f727904a2b38d8a93b9c83e2f978e3f | [
"BSD-3-Clause"
] | 31 | 2017-06-07T00:26:58.000Z | 2018-04-09T17:03:15.000Z | python/get_reg_area_avg_rmse.py | ACME-Climate/a-prime | a8c084ab6f727904a2b38d8a93b9c83e2f978e3f | [
"BSD-3-Clause"
] | 1 | 2018-08-05T23:43:59.000Z | 2018-08-05T23:43:59.000Z | #
# Copyright (c) 2017, UT-BATTELLE, LLC
# All rights reserved.
#
# This software is released under the BSD license detailed
# in the LICENSE file in the top level a-prime directory
#
import numpy
def get_reg_area_avg_rmse(field, lat, lon, area_wgts, debug = False):
nlon = lon.shape[0]
nlat = lat.shape[0]
... | 29.323529 | 129 | 0.652959 |
c794a3eea5a5a34740123c01e3f91d819e82ccde | 487 | sql | SQL | common/from_reiwa.sql | ujnak/JPCOVIT19ETL | e8e76a77070051c76bfc171b95abf561e2ac1b6f | [
"MIT"
] | 1 | 2020-07-19T08:20:56.000Z | 2020-07-19T08:20:56.000Z | common/from_reiwa.sql | ujnak/JPCOVIT19ETL | e8e76a77070051c76bfc171b95abf561e2ac1b6f | [
"MIT"
] | null | null | null | common/from_reiwa.sql | ujnak/JPCOVIT19ETL | e8e76a77070051c76bfc171b95abf561e2ac1b6f | [
"MIT"
] | null | null | null | /*
* 令和による年月日表示からDATEに変換する
* データベースに令和の対応がないケースに対応。
*/
create or replace function "FROM_REIWA"
(p_string_date in VARCHAR2)
return DATE
is
l_date varchar2(80);
begin
l_date :=
to_char
(
to_number
(
substr
(
p_string_date,
3,
instr(p_stri... | 16.233333 | 53 | 0.558522 |
33df70fea7a3202969d67525456461d0870df6c8 | 1,332 | h | C | IfcPlusPlus/src/ifcpp/IFC4/include/IfcPileConstructionEnum.h | skrat/ifcplusplus | 1e65d8e0d5e3365d4d1da399081ffaa78fd8a486 | [
"MIT"
] | 7 | 2018-03-07T06:51:41.000Z | 2020-05-22T08:32:54.000Z | IfcPlusPlus/src/ifcpp/IFC4/include/IfcPileConstructionEnum.h | skrat/ifcplusplus | 1e65d8e0d5e3365d4d1da399081ffaa78fd8a486 | [
"MIT"
] | 1 | 2019-03-06T08:59:24.000Z | 2019-03-06T08:59:24.000Z | IfcPlusPlus/src/ifcpp/IFC4/include/IfcPileConstructionEnum.h | skrat/ifcplusplus | 1e65d8e0d5e3365d4d1da399081ffaa78fd8a486 | [
"MIT"
] | 8 | 2018-05-02T20:16:07.000Z | 2021-06-10T03:06:04.000Z | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include <string>
#include "ifcpp/model/GlobalDefines.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingObject.h"
// TYPE IfcPileConstructionEnum = ENUMER... | 36 | 147 | 0.773273 |