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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
40f81863f30f5deda27ec5317f9b6385ca5abdc6 | 2,951 | py | Python | Machine Learning/Classification with GNN using DGL (MXnet)/sagemaker_graph_fraud_detection/dgl_fraud_detection/graph.py | SherryXDing/wwps-payment-integrity-solutions | 8c46b24b71f1fcfe1985c61b6b410ef32fe9d412 | [
"MIT-0"
] | null | null | null | Machine Learning/Classification with GNN using DGL (MXnet)/sagemaker_graph_fraud_detection/dgl_fraud_detection/graph.py | SherryXDing/wwps-payment-integrity-solutions | 8c46b24b71f1fcfe1985c61b6b410ef32fe9d412 | [
"MIT-0"
] | null | null | null | Machine Learning/Classification with GNN using DGL (MXnet)/sagemaker_graph_fraud_detection/dgl_fraud_detection/graph.py | SherryXDing/wwps-payment-integrity-solutions | 8c46b24b71f1fcfe1985c61b6b410ef32fe9d412 | [
"MIT-0"
] | 1 | 2022-03-04T16:07:08.000Z | 2022-03-04T16:07:08.000Z | import os
import re
import dgl
import numpy as np
from data import *
def get_edgelists(edgelist_expression, directory):
if "," in edgelist_expression:
return edgelist_expression.split(",")
files = os.listdir(directory)
compiled_expression = re.compile(edgelist_expression)
return [filename for... | 40.986111 | 118 | 0.627923 |
b8ac67f64a679141d312605640c84ffef417e5cc | 838 | kt | Kotlin | ktorm-support-sqlserver/src/test/kotlin/org/ktorm/support/sqlserver/BaseSqlServerTest.kt | vincentlauvlwj/KtOrm | 85647c01ed6504ea7a13a9e4ee4b50377dfd8e6a | [
"Apache-2.0"
] | 1 | 2018-12-02T13:13:15.000Z | 2018-12-02T13:13:15.000Z | ktorm-support-sqlserver/src/test/kotlin/org/ktorm/support/sqlserver/BaseSqlServerTest.kt | vincentlauvlwj/KtOrm | 85647c01ed6504ea7a13a9e4ee4b50377dfd8e6a | [
"Apache-2.0"
] | null | null | null | ktorm-support-sqlserver/src/test/kotlin/org/ktorm/support/sqlserver/BaseSqlServerTest.kt | vincentlauvlwj/KtOrm | 85647c01ed6504ea7a13a9e4ee4b50377dfd8e6a | [
"Apache-2.0"
] | null | null | null | package org.ktorm.support.sqlserver
import org.ktorm.BaseTest
import org.ktorm.database.Database
import org.testcontainers.containers.MSSQLServerContainer
import kotlin.concurrent.thread
abstract class BaseSqlServerTest : BaseTest() {
override fun init() {
database = Database.connect(jdbcUrl, driverClass... | 31.037037 | 100 | 0.678998 |
1befd47990c2aabb999d21870c914ec82a69d2d7 | 8,558 | py | Python | aitlas/datasets/eopatch_crops.py | biasvariancelabs/aitlas | e36913c44d5a8393566b7271607ba839f9be0df3 | [
"MIT"
] | 32 | 2020-12-04T19:48:19.000Z | 2022-03-16T18:18:05.000Z | aitlas/datasets/eopatch_crops.py | biasvariancelabs/aitlas | e36913c44d5a8393566b7271607ba839f9be0df3 | [
"MIT"
] | 2 | 2021-04-11T17:09:14.000Z | 2021-05-14T13:22:41.000Z | aitlas/datasets/eopatch_crops.py | biasvariancelabs/aitlas | e36913c44d5a8393566b7271607ba839f9be0df3 | [
"MIT"
] | 8 | 2021-04-06T22:06:27.000Z | 2022-01-30T06:01:39.000Z |
from aitlas.datasets.crops_classification import CropsDataset
import os
import zipfile
import tarfile
import urllib
import numpy as np
import pandas as pd
from tqdm import tqdm
import matplotlib.pyplot as plt
from sklearn.model_selection import train_test_split
import seaborn as sns
import h5py
from ..base import ... | 40.947368 | 222 | 0.60832 |
f144825a0466cece4bc6630c62ca529a41893319 | 396 | asm | Assembly | oeis/099/A099462.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/099/A099462.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/099/A099462.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A099462: Expansion of x/(1 - 4*x^2 - 4*x^3).
; Submitted by Christian Krause
; 0,1,0,4,4,16,32,80,192,448,1088,2560,6144,14592,34816,82944,197632,471040,1122304,2674688,6373376,15187968,36192256,86245376,205520896,489750528,1167065088,2781085696,6627262464,15792603136,37633392640
mov $4,1
lpb $0
sub $0,1
mov $1,... | 24.75 | 203 | 0.694444 |
f0d0e6fd4997b84de5993fc9ccc06505ed3e1808 | 94 | cql | SQL | sunbird-cassandra-migration/cassandra-migration/src/main/resources/db/migration/cassandra/V1.87_cassandra.cql | reshmi-nair/sunbird-utils | e02998d272341d9e5a64df58cf0f026bd7256fbb | [
"MIT"
] | 4 | 2017-09-22T14:13:39.000Z | 2019-03-28T09:09:53.000Z | sunbird-cassandra-migration/cassandra-migration/src/main/resources/db/migration/cassandra/V1.87_cassandra.cql | reshmi-nair/sunbird-utils | e02998d272341d9e5a64df58cf0f026bd7256fbb | [
"MIT"
] | 456 | 2018-04-11T12:14:34.000Z | 2022-03-25T06:17:51.000Z | sunbird-cassandra-migration/cassandra-migration/src/main/resources/db/migration/cassandra/V1.87_cassandra.cql | reshmi-nair/sunbird-utils | e02998d272341d9e5a64df58cf0f026bd7256fbb | [
"MIT"
] | 75 | 2018-05-31T05:09:47.000Z | 2022-03-31T03:11:46.000Z | ALTER TABLE sunbird_courses.course_batch ADD cert_templates map<text,frozen<map<text,text>>>;
| 47 | 93 | 0.829787 |
d0bcb84a0ac2b7e7587088ec345e92aaec1510f7 | 25,831 | css | CSS | web/app/themes/thegem/css/gallery.css | dazlee/rootsiotest2 | 2716bd5fd677ff38335c824a0bc4832eccab3ea2 | [
"MIT"
] | null | null | null | web/app/themes/thegem/css/gallery.css | dazlee/rootsiotest2 | 2716bd5fd677ff38335c824a0bc4832eccab3ea2 | [
"MIT"
] | null | null | null | web/app/themes/thegem/css/gallery.css | dazlee/rootsiotest2 | 2716bd5fd677ff38335c824a0bc4832eccab3ea2 | [
"MIT"
] | null | null | null | .gallery-preloader-wrapper > .row {
margin-left: -10px;
margin-right: -10px;
}
.gem-gallery-grid {
padding: 0 10px;
}
.gem-gallery-grid .gallery-set {
position: relative;
padding: 0;
margin: 0;
list-style: none;
}
.gem-gallery-grid.without-padding .gallery-set {
padding: 0;
}
.gem-galler... | 26.06559 | 130 | 0.684062 |
fb1e251e83bc47d765869c620c4e4a6c6cc5c956 | 10,970 | c | C | src/forkWindows.c | mudesire/snaphu-1.4.2_vc_win | f280931c01a7ae9e8ef3f92c0a758038b593c599 | [
"Unlicense"
] | null | null | null | src/forkWindows.c | mudesire/snaphu-1.4.2_vc_win | f280931c01a7ae9e8ef3f92c0a758038b593c599 | [
"Unlicense"
] | null | null | null | src/forkWindows.c | mudesire/snaphu-1.4.2_vc_win | f280931c01a7ae9e8ef3f92c0a758038b593c599 | [
"Unlicense"
] | null | null | null | /*
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) DIGITEO - 2010 - Allan CORNET
*
* This file must be used under the terms of the CeCILL.
* This source file is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are al... | 44.412955 | 110 | 0.608478 |
47e953edf4e3a054fb7087f89d8754cfa6f2e40e | 581 | swift | Swift | AmazonFreeRTOS/Services/MqttProxy/Puback.swift | mwillbanks/amazon-freertos-ble-ios-sdk | f29f8ffbb0e64c886b833a3eda8d26df9d3a8353 | [
"Apache-2.0"
] | 34 | 2018-12-01T06:36:26.000Z | 2021-12-03T21:13:11.000Z | AmazonFreeRTOS/Services/MqttProxy/Puback.swift | mwillbanks/amazon-freertos-ble-ios-sdk | f29f8ffbb0e64c886b833a3eda8d26df9d3a8353 | [
"Apache-2.0"
] | 15 | 2018-12-03T15:29:55.000Z | 2022-01-15T01:45:53.000Z | AmazonFreeRTOS/Services/MqttProxy/Puback.swift | mwillbanks/amazon-freertos-ble-ios-sdk | f29f8ffbb0e64c886b833a3eda8d26df9d3a8353 | [
"Apache-2.0"
] | 27 | 2019-01-28T02:39:34.000Z | 2022-02-02T05:31:55.000Z | /// Mqtt proxy message of Puback.
/// To reduce the encoded CBOR message size, we maps the variable name with a single character by CodingKey
/// Check the "CborKey" Enum to see the mapping relationship.
public struct Puback: Encodable {
/// Mqtt message type
private var messageType: Int
/// Mqtt message i... | 27.666667 | 107 | 0.662651 |
b07975b5fbaf05982133649318b00bec936ec07d | 1,129 | dart | Dart | test/ui/recorder_page_test.dart | gitter-badger/audiozitos | 82fbd7ef1b538835c91f60e31a773ef3bde621af | [
"BSD-3-Clause"
] | 2 | 2018-07-13T02:39:09.000Z | 2018-07-13T03:19:47.000Z | test/ui/recorder_page_test.dart | gitter-badger/audiozitos | 82fbd7ef1b538835c91f60e31a773ef3bde621af | [
"BSD-3-Clause"
] | 7 | 2018-07-04T23:28:39.000Z | 2018-07-12T02:31:45.000Z | test/ui/recorder_page_test.dart | gitter-badger/audiozitos | 82fbd7ef1b538835c91f60e31a773ef3bde621af | [
"BSD-3-Clause"
] | 1 | 2018-07-12T02:30:14.000Z | 2018-07-12T02:30:14.000Z | import 'package:audiozitos/shared/containers/circle_icon_button.dart';
import 'package:audiozitos/ui/recorder_page.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
group('RecorderPage Tests', () {
runIntegrationTests();
runUnitTests();
});
}
run... | 24.543478 | 75 | 0.639504 |
72f22c69811120fe1424f0b05c273ad51e00381a | 6,981 | lua | Lua | Caocao/Script/control/button.lua | ysm1180/NewJojoGame | d46be6e979642ed3f139ad7905c983ac03356dd2 | [
"MIT"
] | 6 | 2018-10-12T08:06:35.000Z | 2019-01-20T12:53:35.000Z | Caocao/Script/control/button.lua | ysm1180/ThreeKingdoms-Caocao | d46be6e979642ed3f139ad7905c983ac03356dd2 | [
"MIT"
] | 2 | 2018-10-12T08:09:05.000Z | 2019-01-20T12:55:27.000Z | Caocao/Script/control/button.lua | ysm1180/NewJojoGame | d46be6e979642ed3f139ad7905c983ac03356dd2 | [
"MIT"
] | 2 | 2018-05-19T17:49:23.000Z | 2018-10-15T03:10:57.000Z | require "color.lua"
require "child_control.lua"
require "text_control.lua"
---@class ButtonColor @버튼 색을 표현하는 옵션
---@field Normal RGB @기본 색
---@field Focused RGB @버튼이 강조됐을 때의 색
---@field Pushed RGB @버튼이 눌렸을 때의 색
---@class Button : ChildControl, ExtendFontControl @게임 내의 Button 컨트롤을 Wrapping 하는 클래스
---@field control En... | 27.702381 | 92 | 0.641599 |
9b199140845c3be7336867a02204de0a0b77d674 | 603 | sql | SQL | api/db/setup.sql | castletheperson/Territories | 2810fbfb10348f830e4340e3d244647cd7329e5a | [
"MIT"
] | 1 | 2018-03-06T18:39:00.000Z | 2018-03-06T18:39:00.000Z | api/db/setup.sql | castletheperson/Territories | 2810fbfb10348f830e4340e3d244647cd7329e5a | [
"MIT"
] | null | null | null | api/db/setup.sql | castletheperson/Territories | 2810fbfb10348f830e4340e3d244647cd7329e5a | [
"MIT"
] | null | null | null | DROP DATABASE IF EXISTS `territories`;
CREATE DATABASE `territories`;
USE `territories`;
CREATE TABLE `users` (
`id` INT NOT NULL AUTO_INCREMENT,
`name` VARCHAR(255) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE(`name`)
);
CREATE TABLE `territories` (
`id` INT NOT NULL AUTO_INCREMENT,
`userId` INT... | 24.12 | 77 | 0.674959 |
c42b814a202076a313cea6aa36bc900ee156a0e0 | 5,515 | h | C | code/common/pins_basics.h | iocafe/pins | 0d446aee48a4b0dd5b4bbb1eebc8ced14fbe767b | [
"MIT"
] | 2 | 2020-04-28T23:26:41.000Z | 2020-06-08T14:00:55.000Z | code/common/pins_basics.h | iocafe/pins | 0d446aee48a4b0dd5b4bbb1eebc8ced14fbe767b | [
"MIT"
] | null | null | null | code/common/pins_basics.h | iocafe/pins | 0d446aee48a4b0dd5b4bbb1eebc8ced14fbe767b | [
"MIT"
] | null | null | null | /**
@file common/pins_basics.h
@brief Pins library basic functionality.
@author Pekka Lehtikoski
@version 1.0
@date 26.4.2021
Copyright 2020 Pekka Lehtikoski. This file is part of the eosal and shall only be used,
modified, and distributed under the terms of the project licensing. By continuing... | 21.627451 | 108 | 0.676337 |
f5d0fbc8f9f81b9e308f8f72333f0924cbd887d5 | 1,374 | rs | Rust | radicalred/src/shortened_names.rs | RoGryza/rust-pokemon-gen3-save-parser | 71323abdb3f72c317a71f65cf7b19501b16bf6bd | [
"MIT"
] | null | null | null | radicalred/src/shortened_names.rs | RoGryza/rust-pokemon-gen3-save-parser | 71323abdb3f72c317a71f65cf7b19501b16bf6bd | [
"MIT"
] | null | null | null | radicalred/src/shortened_names.rs | RoGryza/rust-pokemon-gen3-save-parser | 71323abdb3f72c317a71f65cf7b19501b16bf6bd | [
"MIT"
] | null | null | null | pub fn expand_name(rom_name: &[u8]) -> Option<&str> {
let hash = name_hash(rom_name);
SHORTENED_NAMES
.iter()
.find_map(|(h, name)| if *h == hash { Some(*name) } else { None })
}
// From https://stackoverflow.com/a/2351171
const fn name_hash(s: &[u8]) -> u32 {
let mut h = 0u32;
const MU... | 38.166667 | 74 | 0.634643 |
18032400dcdfa3c8ebecf883b58f7af0cf9505e1 | 70 | rb | Ruby | lib/version.rb | jaapie/how-many | 8844fe133a714cd8861b3c7505308ac1569ef5a3 | [
"MIT"
] | null | null | null | lib/version.rb | jaapie/how-many | 8844fe133a714cd8861b3c7505308ac1569ef5a3 | [
"MIT"
] | null | null | null | lib/version.rb | jaapie/how-many | 8844fe133a714cd8861b3c7505308ac1569ef5a3 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
module HowMany
VERSION = '0.0.1'
end
| 11.666667 | 29 | 0.728571 |
c4710bc59210542c0d33c102988c55fbd52b5d8a | 127 | h | C | usr/aosh/builtin/echo.h | Liblor/advanced_operating_systems_2020 | 1e9137db8a47d922e22c0a2d78b24a7364b7629a | [
"MIT"
] | 5 | 2020-06-12T11:47:21.000Z | 2022-02-27T14:39:05.000Z | usr/aosh/builtin/echo.h | Liblor/advanced_operating_systems_2020 | 1e9137db8a47d922e22c0a2d78b24a7364b7629a | [
"MIT"
] | 3 | 2020-06-04T20:11:26.000Z | 2020-07-26T23:16:33.000Z | usr/aosh/builtin/echo.h | Liblor/advanced_operating_systems_2020 | 1e9137db8a47d922e22c0a2d78b24a7364b7629a | [
"MIT"
] | 3 | 2020-06-12T18:06:29.000Z | 2022-03-13T17:19:02.000Z | #ifndef BFOS_ECHO_H
#define BFOS_ECHO_H
errval_t builtin_echo(
int argc,
char **argv);
#endif //BFOS_ECHO_H
| 12.7 | 22 | 0.669291 |
9bd6cd9aa0f184b29205962a90d8a656d92994c4 | 3,851 | js | JavaScript | config/webpackConfig.js | liuyinglong/vueSSR | 967eda92d2ea60083a08af9fa0fd75e0d95bc0a8 | [
"MIT"
] | null | null | null | config/webpackConfig.js | liuyinglong/vueSSR | 967eda92d2ea60083a08af9fa0fd75e0d95bc0a8 | [
"MIT"
] | null | null | null | config/webpackConfig.js | liuyinglong/vueSSR | 967eda92d2ea60083a08af9fa0fd75e0d95bc0a8 | [
"MIT"
] | null | null | null | let path = require("path")
const webpack = require('webpack')
const baseConfig = require("./base")
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')
module.exports = {
//开发
development: Object.assign(baseConfig.development, {
... | 31.826446 | 86 | 0.384835 |
eed1bf64b14f733ecdc8210f5df07e3e2b681c90 | 12,233 | sql | SQL | oreciprocas-db/src/main/resources/liquibase/sqlFile/WI/46008/exec/07_insert_configuracion.sql | Artemisa85/OperacionesReciprocas | 4489f8ac9e3ccc78f330e240bf0e0603740c79b3 | [
"MIT"
] | null | null | null | oreciprocas-db/src/main/resources/liquibase/sqlFile/WI/46008/exec/07_insert_configuracion.sql | Artemisa85/OperacionesReciprocas | 4489f8ac9e3ccc78f330e240bf0e0603740c79b3 | [
"MIT"
] | null | null | null | oreciprocas-db/src/main/resources/liquibase/sqlFile/WI/46008/exec/07_insert_configuracion.sql | Artemisa85/OperacionesReciprocas | 4489f8ac9e3ccc78f330e240bf0e0603740c79b3 | [
"MIT"
] | null | null | null | /*****************************************************************************/
/* Archivo: 07_insert_configuracion.sql */
/* Base de datos: oreciprocas */
/* Producto: Operaciones Reciprocas */
... | 85.545455 | 236 | 0.706368 |
cb7f5dac2919eb096a714e58dc34e54f97bc93fd | 19,360 | html | HTML | santa.html | eruffaldi/logowebgl | f75c5b56c715253dcec4eceb4dbeaae213780998 | [
"Apache-2.0"
] | 1 | 2019-06-13T15:50:23.000Z | 2019-06-13T15:50:23.000Z | santa.html | eruffaldi/logowebgl | f75c5b56c715253dcec4eceb4dbeaae213780998 | [
"Apache-2.0"
] | null | null | null | santa.html | eruffaldi/logowebgl | f75c5b56c715253dcec4eceb4dbeaae213780998 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<title>Merry Christimas 2016</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
font-family: Monospace;
background-color: #f0f0f0;
m... | 31.479675 | 137 | 0.441942 |
fc445363cfcf678d4e45af9a51bacf7cf2e9e5d3 | 775 | css | CSS | public/main.css | garthenweb/csscssbeauty | 91cef43477612b9328fa56e63025c9f21042911a | [
"MIT"
] | null | null | null | public/main.css | garthenweb/csscssbeauty | 91cef43477612b9328fa56e63025c9f21042911a | [
"MIT"
] | 1 | 2015-11-29T12:44:01.000Z | 2015-11-29T12:44:01.000Z | public/main.css | garthenweb/csscssbeauty | 91cef43477612b9328fa56e63025c9f21042911a | [
"MIT"
] | null | null | null | body {
font-family: sans-serif;
font-size: 100%;
margin: 0;
padding: 0;
}
.header {
height: 15em;
padding: 1em 1em 4em 2em;
}
.header--error {
background: brown;
}
.header--success {
background: #40B51B;
height: 100%;
display: flex;
box-sizing: border-box;
}
.header--success h1 {
margin: auto;
}
... | 11.231884 | 27 | 0.624516 |
05b2603a03c13363734729e39cdd9e548d10206e | 7,113 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_14712_426.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_14712_426.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_14712_426.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xb249, %rsi
lea addresses_D_ht+0x1781d, %rdi
and %rbx, %rbx
mov $9, %rcx
rep movsl
nop
nop
nop
nop
nop
xor $44868, %r8
lea addresses_UC_ht+0x14832, %rsi
lea addresses_D_ht+0xfc1d, %rdi
c... | 32.930556 | 2,999 | 0.655982 |
5f3508e7526e93a4f7b6bfed8979036452f19d4d | 5,795 | swift | Swift | Tests/CombineXTests/Publishers/FlatMapSpec.swift | cxswift/CombineX | 299bc0f8861f7aa6708780457aeeafab1c51eaa7 | [
"MIT"
] | 383 | 2019-09-08T16:03:21.000Z | 2022-03-25T06:11:43.000Z | Tests/CombineXTests/Publishers/FlatMapSpec.swift | cxswift/CombineX | 299bc0f8861f7aa6708780457aeeafab1c51eaa7 | [
"MIT"
] | 54 | 2019-09-18T13:01:08.000Z | 2021-07-12T21:17:00.000Z | Tests/CombineXTests/Publishers/FlatMapSpec.swift | cxswift/CombineX | 299bc0f8861f7aa6708780457aeeafab1c51eaa7 | [
"MIT"
] | 32 | 2019-09-14T12:35:19.000Z | 2022-03-24T08:42:03.000Z | import CXTestUtility
import Dispatch
import Nimble
import Quick
class FlatMapSpec: QuickSpec {
override func spec() {
// MARK: Send Values
describe("Send Values") {
// MARK: 1.1 should send sub-subscriber's value
it("should send sub-subscriber's va... | 39.691781 | 116 | 0.454357 |
fbba4b741b06d9b9ba4549a72ae9ed8120b5464d | 929 | h | C | src/ValueColor.h | StianAndreOlsen/ColorVario | c10dbf13dcef09121bf1817a6d07606ef5a89da4 | [
"MIT"
] | 1 | 2021-05-05T21:37:55.000Z | 2021-05-05T21:37:55.000Z | src/ValueColor.h | StianAndreOlsen/ColorVario | c10dbf13dcef09121bf1817a6d07606ef5a89da4 | [
"MIT"
] | null | null | null | src/ValueColor.h | StianAndreOlsen/ColorVario | c10dbf13dcef09121bf1817a6d07606ef5a89da4 | [
"MIT"
] | 4 | 2019-11-06T06:25:47.000Z | 2021-05-05T21:39:12.000Z | #ifndef KYSTSOFT_VALUECOLOR_H
#define KYSTSOFT_VALUECOLOR_H
#include "Settings.h"
#include "ValueColorPoint.h"
#include "ValueZones.h"
namespace Kystsoft {
class ValueColor
{
public:
void load(const Settings& settings, const std::string& section);
const ValueZones& valueZones() const { return zones; }... | 29.967742 | 84 | 0.744887 |
268f39b6fb355f4cddc4da6b9a76167165ddb911 | 419 | asm | Assembly | programs/oeis/005/A005358.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/005/A005358.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/005/A005358.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A005358: Number of low discrepancy sequences in base 5.
; 0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,93,96,99,102,105,108,111,114,117,120,123,126,129,132,135,138,141,144,147,150,153,156,159,162
lpb $0
sub $0... | 27.933333 | 245 | 0.625298 |
610f8164a00f8f561f6415c2ade3a8b99f9b263d | 1,319 | css | CSS | assets/css/main.css | jwill/grass | 20ed94f3118031f7d158a381f44e016bbf687c53 | [
"Apache-2.0"
] | 2 | 2018-12-12T01:09:54.000Z | 2020-02-03T21:33:49.000Z | assets/css/main.css | joshareed/grass | be3ba8c3b3ce43e4632d8e61b6f428e423146d59 | [
"Apache-2.0"
] | null | null | null | assets/css/main.css | joshareed/grass | be3ba8c3b3ce43e4632d8e61b6f428e423146d59 | [
"Apache-2.0"
] | null | null | null | a {
text-decoration: none;
}
#sidebar {
position: fixed;
top: 0;
left: 0;
bottom: 0;
width: 30%;
border-right: 1px solid #ccc;
}
#sidebar header {
padding: 1em;
}
#sidebar section {
margin: 1em;
}
#sidebar section h3 {
margin-bottom: 0.5em;
}
#sidebar section ul {
margin-top: 0;
}
#sidebar header h2 {
fon... | 14.494505 | 31 | 0.661107 |
fe098b960ef68e6943504f17299782ecf8a92b0d | 1,042 | kt | Kotlin | app/src/main/java/com/filippoengidashet/spacex/mvvm/vm/CompanyViewModel.kt | filippoengidashet/SpaceX-Android | 775fcbf6e89647a7115fbc01d849ee18a9e4f409 | [
"MIT"
] | 1 | 2021-11-13T02:57:32.000Z | 2021-11-13T02:57:32.000Z | app/src/main/java/com/filippoengidashet/spacex/mvvm/vm/CompanyViewModel.kt | filippoengidashet/SpaceX-Android | 775fcbf6e89647a7115fbc01d849ee18a9e4f409 | [
"MIT"
] | null | null | null | app/src/main/java/com/filippoengidashet/spacex/mvvm/vm/CompanyViewModel.kt | filippoengidashet/SpaceX-Android | 775fcbf6e89647a7115fbc01d849ee18a9e4f409 | [
"MIT"
] | null | null | null | package com.filippoengidashet.spacex.mvvm.vm
import androidx.lifecycle.*
import com.filippoengidashet.spacex.mvvm.model.entity.bean.CompanyData
import com.filippoengidashet.spacex.mvvm.model.entity.bean.ResultBean
import com.filippoengidashet.spacex.mvvm.model.repository.SpaceXRepository
import dagger.hilt.android.lif... | 30.647059 | 78 | 0.739923 |
940e0b2d6b0974dc30305e2ee8f04ebca2413329 | 274 | sql | SQL | src/databases/Query_station_status_for_a_single_station.sql | Biodun/BlueBike-availability-prediction | d60daa2dec269f85c3c38a55338bdabf71a7b6b1 | [
"FTL"
] | null | null | null | src/databases/Query_station_status_for_a_single_station.sql | Biodun/BlueBike-availability-prediction | d60daa2dec269f85c3c38a55338bdabf71a7b6b1 | [
"FTL"
] | null | null | null | src/databases/Query_station_status_for_a_single_station.sql | Biodun/BlueBike-availability-prediction | d60daa2dec269f85c3c38a55338bdabf71a7b6b1 | [
"FTL"
] | null | null | null | select id
,station_id
,num_bikes_available
,num_ebikes_available
,num_bikes_disabled
,num_docks_available
,num_docks_disabled
,is_installed
,is_renting
,is_returning
,last_reported
,timestamp_of_data_read_request
from blue_bikes.raw_station_status
WHERE station_id = '107'; | 19.571429 | 34 | 0.872263 |
265b2e6ca25dfb1f00fc621a4ba7f6f0f0e0268b | 4,230 | java | Java | code/android/src/edu/umbc/cs/ebiquity/mithril/hma/ui/SendAppDataToServerSettingsActivity.java | prajitdas/HeimdallServ | 27e43d13c9ed02abaebb6ec48f9094f92f322f27 | [
"MIT"
] | null | null | null | code/android/src/edu/umbc/cs/ebiquity/mithril/hma/ui/SendAppDataToServerSettingsActivity.java | prajitdas/HeimdallServ | 27e43d13c9ed02abaebb6ec48f9094f92f322f27 | [
"MIT"
] | null | null | null | code/android/src/edu/umbc/cs/ebiquity/mithril/hma/ui/SendAppDataToServerSettingsActivity.java | prajitdas/HeimdallServ | 27e43d13c9ed02abaebb6ec48f9094f92f322f27 | [
"MIT"
] | null | null | null | package edu.umbc.cs.ebiquity.mithril.hma.ui;
import android.app.ActivityManager;
import android.app.ActivityManager.RunningServiceInfo;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import... | 35.25 | 119 | 0.758392 |
de7033136963e99b773b4f1e682e44cdc51dc448 | 18,669 | rs | Rust | implementations/rust/ockam/ockam_node/src/context.rs | jared-s/ockam | a1d482550aeafbc2a6040a5efb3f5effc9974d51 | [
"Apache-2.0"
] | null | null | null | implementations/rust/ockam/ockam_node/src/context.rs | jared-s/ockam | a1d482550aeafbc2a6040a5efb3f5effc9974d51 | [
"Apache-2.0"
] | null | null | null | implementations/rust/ockam/ockam_node/src/context.rs | jared-s/ockam | a1d482550aeafbc2a6040a5efb3f5effc9974d51 | [
"Apache-2.0"
] | null | null | null | use crate::tokio::{
self,
runtime::Runtime,
sync::mpsc::{channel, Receiver, Sender},
time::timeout,
};
use crate::{
error::Error,
parser,
relay::{CtrlSignal, ProcessorRelay, RelayMessage, WorkerRelay},
router::SenderPair,
Cancel, NodeMessage, ShutdownType,
};
use core::time::Duration... | 34.381215 | 102 | 0.580588 |
9991fa105b3afa71f7d618f8dcbb6bb1455e7b95 | 78 | sql | SQL | src/main/resources/db/migration/V20210415044812__add_public_field.sql | EmreKp/haciko | 6bc48fc864c77aff63ee1f7f3a3a264d85b22b36 | [
"MIT"
] | null | null | null | src/main/resources/db/migration/V20210415044812__add_public_field.sql | EmreKp/haciko | 6bc48fc864c77aff63ee1f7f3a3a264d85b22b36 | [
"MIT"
] | null | null | null | src/main/resources/db/migration/V20210415044812__add_public_field.sql | EmreKp/haciko | 6bc48fc864c77aff63ee1f7f3a3a264d85b22b36 | [
"MIT"
] | null | null | null | ALTER TABLE posts ADD COLUMN is_public TINYINT(1) DEFAULT 1 AFTER category_id; | 78 | 78 | 0.833333 |
9d32ef1b1aed8315c124284546f82613eabf79cf | 697 | asm | Assembly | data/pokemon/base_stats/sandshrew.asm | Karkino/KarkCrystal16 | 945dde0354016f9357e9d3798312cc6efa52ff7a | [
"blessing"
] | null | null | null | data/pokemon/base_stats/sandshrew.asm | Karkino/KarkCrystal16 | 945dde0354016f9357e9d3798312cc6efa52ff7a | [
"blessing"
] | null | null | null | data/pokemon/base_stats/sandshrew.asm | Karkino/KarkCrystal16 | 945dde0354016f9357e9d3798312cc6efa52ff7a | [
"blessing"
] | null | null | null | db 0 ; species ID placeholder
db 55, 75, 85, 55, 20, 35
; hp atk def spd sat sdf
db GROUND, GROUND ; type
db 255 ; catch rate
db 93 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/sandshre... | 31.681818 | 228 | 0.710187 |
c7d2567a58c314f17dd27f337b550f87ebab5e66 | 3,301 | py | Python | utils/tester.py | park-sungmoo/odqa_baseline_code | 45954be766e5f987bef18e5b8a2e47f1508742cd | [
"Apache-2.0"
] | 67 | 2021-05-12T15:54:28.000Z | 2022-03-12T15:55:35.000Z | utils/tester.py | park-sungmoo/odqa_baseline_code | 45954be766e5f987bef18e5b8a2e47f1508742cd | [
"Apache-2.0"
] | 71 | 2021-05-01T06:07:37.000Z | 2022-01-28T16:54:46.000Z | utils/tester.py | park-sungmoo/odqa_baseline_code | 45954be766e5f987bef18e5b8a2e47f1508742cd | [
"Apache-2.0"
] | 14 | 2021-05-24T10:57:27.000Z | 2022-02-18T06:34:11.000Z | import random
import unittest
import wandb
from transformers import set_seed, DataCollatorWithPadding
from utils.tools import get_args
from utils.tools import update_args, run_test
from utils.trainer_qa import QuestionAnsweringTrainer
from utils.prepare import prepare_dataset, preprocess_dataset, get_reader_model, co... | 36.274725 | 114 | 0.622539 |
26201f4653125a8120f52c003f8cf3e039a7c34f | 3,904 | java | Java | 2020/src/main/java/org/usfirst/frc/team4488/robot/autonomous/modes/ShootAndGrabTrenchMode.java | shockwave4488/FRC-2020-Public | 908c0c4065ef8f9ec6ec44a79ed3559a91562b5b | [
"MIT"
] | null | null | null | 2020/src/main/java/org/usfirst/frc/team4488/robot/autonomous/modes/ShootAndGrabTrenchMode.java | shockwave4488/FRC-2020-Public | 908c0c4065ef8f9ec6ec44a79ed3559a91562b5b | [
"MIT"
] | null | null | null | 2020/src/main/java/org/usfirst/frc/team4488/robot/autonomous/modes/ShootAndGrabTrenchMode.java | shockwave4488/FRC-2020-Public | 908c0c4065ef8f9ec6ec44a79ed3559a91562b5b | [
"MIT"
] | null | null | null | package org.usfirst.frc.team4488.robot.autonomous.modes;
import java.util.ArrayList;
import org.usfirst.frc.team4488.robot.app.paths.PortStartToStartOfSameTrench;
import org.usfirst.frc.team4488.robot.app.paths.StartOfSameTrenchToControlPanel;
import org.usfirst.frc.team4488.robot.autonomous.AutoModeBase;
import org.u... | 39.434343 | 98 | 0.793033 |
40e4aa767263dbbb1c1c9ba3a37ce738fbbc8394 | 15,873 | py | Python | tests/test_flask.py | shaysw/anyway | 35dec531fd4ac79c99d09e684027df017e989ddc | [
"MIT"
] | 1 | 2022-01-19T18:23:03.000Z | 2022-01-19T18:23:03.000Z | tests/test_flask.py | shaysw/anyway | 35dec531fd4ac79c99d09e684027df017e989ddc | [
"MIT"
] | 2 | 2021-11-02T13:37:23.000Z | 2021-11-23T15:51:06.000Z | tests/test_flask.py | shaysw/anyway | 35dec531fd4ac79c99d09e684027df017e989ddc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# from anyway.utilities import open_utf8
import json
import typing
from collections import Counter
from functools import partial
from http import HTTPStatus
from http import client as http_client
from unittest import mock
from unittest.mock import patch
import pytest
from flask import Response
... | 36.489655 | 480 | 0.663202 |
3448af74c28a16ef2ae1cda2ad955290e200794d | 1,302 | asm | Assembly | sw/552tests/rand_simple/t_3_ld.asm | JPShen-UWM/ThreadKraken | 849c510531f28e36d3469535737b2120bd774935 | [
"MIT"
] | 1 | 2022-02-15T16:03:25.000Z | 2022-02-15T16:03:25.000Z | sw/552tests/rand_simple/t_3_ld.asm | JPShen-UWM/ThreadKraken | 849c510531f28e36d3469535737b2120bd774935 | [
"MIT"
] | null | null | null | sw/552tests/rand_simple/t_3_ld.asm | JPShen-UWM/ThreadKraken | 849c510531f28e36d3469535737b2120bd774935 | [
"MIT"
] | null | null | null | // seed 3
lbi r0, 93 // icount 0
slbi r0, 213 // icount 1
lbi r1, 113 // icount 2
slbi r1, 214 // icount 3
lbi r2, 229 // icount 4
slbi r2, 181 // icount 5
lbi r3, 119 // icount 6
slbi r3, 94 // icount 7
lbi r4, 64 // icount 8
slbi r4, 113 // icount 9
lbi r5, 226 // icount 10
slbi r5, 210 // icount 11
lbi r6, 39 // ico... | 25.529412 | 28 | 0.610599 |
62a68635f3f137ac6f886193b428e22b36d620cc | 539 | swift | Swift | Sources/Apodini/Properties/ObservableObject.swift | ThePuscher/Apodini | 5bfef2a784eab3928b4d1f5b7882c354cce4bb5c | [
"MIT"
] | null | null | null | Sources/Apodini/Properties/ObservableObject.swift | ThePuscher/Apodini | 5bfef2a784eab3928b4d1f5b7882c354cce4bb5c | [
"MIT"
] | null | null | null | Sources/Apodini/Properties/ObservableObject.swift | ThePuscher/Apodini | 5bfef2a784eab3928b4d1f5b7882c354cce4bb5c | [
"MIT"
] | null | null | null | /// An object that publishes changes of `@Published` properties.
/// `ObservableObject`s are used with the property wrapper `@ObservedObject` inside of `Handler`s or `Job`s to re-evaluate them.
///
/// Example of an `ObservableObject` with two `@Published` properties.
/// ```
/// class Bird: ObservableObject {
/// ... | 31.705882 | 128 | 0.625232 |
90f33a5e5a3fa47821a6f5879048d3bd790c1895 | 2,729 | swift | Swift | Example/WizardFlow/WizardViewController.swift | dmanuelcl/WizardFlow | fa6235a22a4ec583c5148168e1c16d0d457c79cb | [
"MIT"
] | null | null | null | Example/WizardFlow/WizardViewController.swift | dmanuelcl/WizardFlow | fa6235a22a4ec583c5148168e1c16d0d457c79cb | [
"MIT"
] | null | null | null | Example/WizardFlow/WizardViewController.swift | dmanuelcl/WizardFlow | fa6235a22a4ec583c5148168e1c16d0d457c79cb | [
"MIT"
] | null | null | null | //
// WizardViewController.swift
// WizardFlow_Example
//
// Created by Dani Manuel Céspedes Lara on 2/20/18.
// Copyright © 2018 Dani Manuel Céspedes Lara. All rights reserved.
//
import UIKit
import WizardFlow
class WizardViewController: UIViewController {
@IBOutlet weak var wizard: Wizard!
var wizardS... | 29.989011 | 116 | 0.640161 |
830c413bf5f831b7ddea8b8a3084ec9f98134c57 | 1,954 | sql | SQL | dog/nodejs/db.sql | chenjieaa/xl | 05cadc27c67c5eeaa17bcc95e89dbef7c87ec3b8 | [
"MIT"
] | null | null | null | dog/nodejs/db.sql | chenjieaa/xl | 05cadc27c67c5eeaa17bcc95e89dbef7c87ec3b8 | [
"MIT"
] | null | null | null | dog/nodejs/db.sql | chenjieaa/xl | 05cadc27c67c5eeaa17bcc95e89dbef7c87ec3b8 | [
"MIT"
] | null | null | null | USE xm;
CREATE TABLE xz_news(
id INT PRIMARY KEY AUTO_INCREMENT,
title VARCHAR(128),
shij VARCHAR(128),
price VARCHAR(10),
img_url VARCHAR(255)
);
INSERT INTO xz_news VALUES(null,'医疗服务','60分钟','60元',"http://127.0.0.1:3000/img/dog.png");
INSERT INTO xz_news VALUES(null,'洗澡服务','60分钟','60元',"http://127.0.0.1:3000... | 39.877551 | 89 | 0.702661 |
53bd4118b16ad89bdf5a68cecc44f9ea28a6a55f | 1,727 | java | Java | modules/kernel/src/org/apache/axis2/transport/mail/MailWorkerManager.java | ASU/rampart | 9a36b6b4102fd39ff62bbd65d8ce0c2c42502e60 | [
"Apache-2.0",
"Plexus"
] | null | null | null | modules/kernel/src/org/apache/axis2/transport/mail/MailWorkerManager.java | ASU/rampart | 9a36b6b4102fd39ff62bbd65d8ce0c2c42502e60 | [
"Apache-2.0",
"Plexus"
] | null | null | null | modules/kernel/src/org/apache/axis2/transport/mail/MailWorkerManager.java | ASU/rampart | 9a36b6b4102fd39ff62bbd65d8ce0c2c42502e60 | [
"Apache-2.0",
"Plexus"
] | null | null | null | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* 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 ap... | 34.54 | 90 | 0.71685 |
2d821db66b6b69624ac30ce41b31e663f97319aa | 282 | html | HTML | manuscript/page-116/body.html | marvindanig/les-fleurs-du-mal | 047dd3ce740988ffe3d172b8890b79046590d9d4 | [
"BlueOak-1.0.0",
"MIT"
] | null | null | null | manuscript/page-116/body.html | marvindanig/les-fleurs-du-mal | 047dd3ce740988ffe3d172b8890b79046590d9d4 | [
"BlueOak-1.0.0",
"MIT"
] | null | null | null | manuscript/page-116/body.html | marvindanig/les-fleurs-du-mal | 047dd3ce740988ffe3d172b8890b79046590d9d4 | [
"BlueOak-1.0.0",
"MIT"
] | null | null | null | <div class="leaf "><div class="inner justify"><pre class="no-indent ">
Elsewhere, far away ... too late, perhaps never more,
For I know not whither you fly, nor you, where I go,
O soul that I would have loved, and _that_ you know!</code></pre><hr class="section"></div> </div> | 56.4 | 98 | 0.680851 |
c1980de2cf1da6ed76a3fd80ecaafe319e85a116 | 1,805 | rs | Rust | src/matrices/strings/iteration.rs | wasml/linalg | d897cf723108e6bd0c2ded0aca3aa61938f0861d | [
"Apache-2.0"
] | 1 | 2022-02-15T10:56:11.000Z | 2022-02-15T10:56:11.000Z | src/matrices/strings/iteration.rs | ml-wasm/linalg | d897cf723108e6bd0c2ded0aca3aa61938f0861d | [
"Apache-2.0"
] | null | null | null | src/matrices/strings/iteration.rs | ml-wasm/linalg | d897cf723108e6bd0c2ded0aca3aa61938f0861d | [
"Apache-2.0"
] | 2 | 2021-06-18T09:56:58.000Z | 2021-06-18T10:56:16.000Z | use crate::vectors::strings::StringsVector;
use super::StringsMatrix;
use js_sys;
use ndarray::Axis;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
impl StringsMatrix {
pub fn map(&self, js_func: js_sys::Function) -> Self {
Self {
data: self.data.map(|x| {
js_func
... | 26.940299 | 69 | 0.444875 |
90b6a578e249041b6ee49792eb49e1fbd3f38b4f | 3,339 | swift | Swift | Codemine/Extensions/UIImage+Utilities.swift | FraDeliro/Codemine | eb6e69ec55919c3bbf86f51a678882d49eb91c51 | [
"MIT"
] | null | null | null | Codemine/Extensions/UIImage+Utilities.swift | FraDeliro/Codemine | eb6e69ec55919c3bbf86f51a678882d49eb91c51 | [
"MIT"
] | null | null | null | Codemine/Extensions/UIImage+Utilities.swift | FraDeliro/Codemine | eb6e69ec55919c3bbf86f51a678882d49eb91c51 | [
"MIT"
] | 1 | 2020-06-15T18:47:42.000Z | 2020-06-15T18:47:42.000Z | //
// UIImage+Utilities.swift
// Codemine
//
// Created by Marius Constantinescu on 18/02/16.
// Copyright © 2016 Nodes. All rights reserved.
//
import Foundation
import UIKit
public extension UIImage {
/**
Create an `UIImage` with specified background color, size and corner radius.
Parameter ... | 35.521277 | 208 | 0.653789 |
3307dce436fdb7329f82703b2fd7a200624c248e | 11,934 | py | Python | apps/steam.py | nestorcalvo/Buencafe_dashboard | e2fbe5dfc5b679ab4d27acea2a23e3dfdeb2699c | [
"MIT"
] | null | null | null | apps/steam.py | nestorcalvo/Buencafe_dashboard | e2fbe5dfc5b679ab4d27acea2a23e3dfdeb2699c | [
"MIT"
] | null | null | null | apps/steam.py | nestorcalvo/Buencafe_dashboard | e2fbe5dfc5b679ab4d27acea2a23e3dfdeb2699c | [
"MIT"
] | null | null | null | import dash
import dash_core_components as dcc
import dash_bootstrap_components as dbc
import dash_html_components as html
import pandas as pd
import plotly.express as px
import plotly.graph_objs as go
from datetime import date
import dash_loading_spinners as dls
from dash.dependencies import Input, Output, ClientsideF... | 35.730539 | 114 | 0.483576 |
d0c5684309c35934e2c9f16c14d27f526eb6995f | 699 | kt | Kotlin | web/src/main/kotlin/com/zeongit/web/core/communal/UserInfoVoAbstract.kt | JunJieFu/beauty | 695043ba1e5f4a7a7ad662817de77758c97f408e | [
"MIT"
] | 1 | 2020-11-20T15:07:08.000Z | 2020-11-20T15:07:08.000Z | web/src/main/kotlin/com/zeongit/web/core/communal/UserInfoVoAbstract.kt | JunJieFu/zeongit-beauty | 695043ba1e5f4a7a7ad662817de77758c97f408e | [
"MIT"
] | 1 | 2020-07-26T03:20:21.000Z | 2020-07-26T03:20:21.000Z | web/src/main/kotlin/com/zeongit/web/core/communal/UserInfoVoAbstract.kt | JunJieFu/beauty | 695043ba1e5f4a7a7ad662817de77758c97f408e | [
"MIT"
] | 2 | 2021-03-08T09:13:07.000Z | 2021-07-18T12:15:34.000Z | package com.zeongit.web.core.communal
import com.zeongit.share.database.account.entity.UserInfo
import com.zeongit.web.service.FollowService
import com.zeongit.web.service.UserInfoService
import com.zeongit.web.vo.UserInfoVo
abstract class UserInfoVoAbstract {
abstract val userInfoService: UserInfoService
ab... | 31.772727 | 68 | 0.742489 |
d0f0fc56dc70eced83212a07c464ea8dd756ab42 | 179 | css | CSS | src/components/Search/SearchAutoComplete/styles.css | FledgeXu/matters-web | c36995426e864101dd56b653150d08389f26c605 | [
"Apache-2.0"
] | 47 | 2020-09-23T13:27:06.000Z | 2022-02-23T16:18:38.000Z | src/components/Search/SearchAutoComplete/styles.css | FledgeXu/matters-web | c36995426e864101dd56b653150d08389f26c605 | [
"Apache-2.0"
] | 492 | 2020-09-23T10:55:47.000Z | 2022-03-29T17:29:27.000Z | src/components/Search/SearchAutoComplete/styles.css | FledgeXu/matters-web | c36995426e864101dd56b653150d08389f26c605 | [
"Apache-2.0"
] | 18 | 2020-09-26T14:28:52.000Z | 2022-02-16T10:37:34.000Z | .key {
@mixin line-clamp;
font-size: var(--font-size-sm);
&.highlight {
color: var(--color-matters-green);
}
&.inPage {
font-size: var(--font-size-md);
}
}
| 12.785714 | 38 | 0.553073 |
2921605405b3945fb53689ec7975f3876770448c | 48 | py | Python | safe/src/ManSite_vseukr/python/scripts/script4.py | Valentyn-coder/Manproject | e2f73fa82f3878ed424e603e0a859969ffa1c308 | [
"MIT"
] | null | null | null | safe/src/ManSite_vseukr/python/scripts/script4.py | Valentyn-coder/Manproject | e2f73fa82f3878ed424e603e0a859969ffa1c308 | [
"MIT"
] | null | null | null | safe/src/ManSite_vseukr/python/scripts/script4.py | Valentyn-coder/Manproject | e2f73fa82f3878ed424e603e0a859969ffa1c308 | [
"MIT"
] | null | null | null | import sys
print(str(sys.argv[1])[::3], end='') | 24 | 36 | 0.604167 |
f4a35eabba5d93eb78f9d13a784dba20e864db98 | 7,709 | kt | Kotlin | bukkit/rpk-moderation-bukkit/src/main/kotlin/com/rpkit/moderation/bukkit/RPKModerationBukkit.kt | TearsOfKhyber/RPKit | f2196a76e0822b2c60e4a551de317ed717bbdc7e | [
"Apache-2.0"
] | null | null | null | bukkit/rpk-moderation-bukkit/src/main/kotlin/com/rpkit/moderation/bukkit/RPKModerationBukkit.kt | TearsOfKhyber/RPKit | f2196a76e0822b2c60e4a551de317ed717bbdc7e | [
"Apache-2.0"
] | null | null | null | bukkit/rpk-moderation-bukkit/src/main/kotlin/com/rpkit/moderation/bukkit/RPKModerationBukkit.kt | TearsOfKhyber/RPKit | f2196a76e0822b2c60e4a551de317ed717bbdc7e | [
"Apache-2.0"
] | 1 | 2020-09-04T10:25:47.000Z | 2020-09-04T10:25:47.000Z | /*
* Copyright 2020 Ren Binden
*
* 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 i... | 62.169355 | 212 | 0.72344 |
516fef3560082ee1022f05f4323fc62890cc4623 | 22 | kt | Kotlin | idea/testData/refactoring/inline/inlineVariableOrProperty/property/multiplePackages.1.kt | qussarah/declare | c83b764c7394efa3364915d973ae79c4ebed2437 | [
"Apache-2.0"
] | 337 | 2020-05-14T00:40:10.000Z | 2022-02-16T23:39:07.000Z | idea/testData/refactoring/inline/inlineVariableOrProperty/property/multiplePackages.1.kt | qussarah/declare | c83b764c7394efa3364915d973ae79c4ebed2437 | [
"Apache-2.0"
] | 92 | 2020-06-10T23:17:42.000Z | 2020-09-25T10:50:13.000Z | idea/testData/refactoring/inline/inlineVariableOrProperty/property/multiplePackages.1.kt | qussarah/declare | c83b764c7394efa3364915d973ae79c4ebed2437 | [
"Apache-2.0"
] | 54 | 2016-02-29T16:27:38.000Z | 2020-12-26T15:02:23.000Z | package bar
val x = 1 | 7.333333 | 11 | 0.681818 |
ad0935e067f24874c9118e6cb7e79205ec466d49 | 1,140 | sql | SQL | Test/Konfidence.TestClasses/Generated.Sql/Test3_RequiredField.sql | a3helmich/Konfidence.BaseClasses | f1545d691917cbd7736fc53114bbc8075fa7e417 | [
"MIT"
] | null | null | null | Test/Konfidence.TestClasses/Generated.Sql/Test3_RequiredField.sql | a3helmich/Konfidence.BaseClasses | f1545d691917cbd7736fc53114bbc8075fa7e417 | [
"MIT"
] | 23 | 2021-05-09T10:45:58.000Z | 2022-02-17T03:09:46.000Z | Test/Konfidence.TestClasses/Generated.Sql/Test3_RequiredField.sql | a3helmich/Konfidence.BaseClasses | f1545d691917cbd7736fc53114bbc8075fa7e417 | [
"MIT"
] | null | null | null |
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
if not exists (SELECT * FROM [sys].[columns] WHERE object_id = OBJECT_ID(N'[dbo].[Test3]') AND name = 'SysInsertTime')
begin
ALTER TABLE [dbo].[Test3] ADD SysInsertTime datetime NOT NULL CONSTRAINT DF_Test3_SysInsertTime DEFAULT (getdate())
end
GO
if not ... | 27.804878 | 119 | 0.710526 |
621913d5b931bc31cfc4aa87e520ea4c20d69d0b | 2,480 | rs | Rust | runng/src/listener.rs | jeikabu/runng | b0a3a285bab9535ae6568c4dc4cac25a75b99dbe | [
"MIT"
] | 24 | 2018-12-06T06:14:23.000Z | 2021-01-11T14:18:25.000Z | runng/src/listener.rs | jeikabu/runng | b0a3a285bab9535ae6568c4dc4cac25a75b99dbe | [
"MIT"
] | 38 | 2018-10-12T09:04:44.000Z | 2021-12-08T20:54:34.000Z | runng/src/listener.rs | jeikabu/runng | b0a3a285bab9535ae6568c4dc4cac25a75b99dbe | [
"MIT"
] | 3 | 2019-01-11T06:10:52.000Z | 2020-01-15T15:38:30.000Z | //! Listeners accept connections from dialers.
use super::*;
use runng_derive::{NngGetOpts, NngSetOpts};
use runng_sys::*;
/// Wraps `nng_listener`. See [nng_listener](https://nng.nanomsg.org/man/v1.2.2/nng_listener.5).
#[derive(Debug, NngGetOpts, NngSetOpts)]
#[prefix = "nng_listener_"]
pub struct NngListener {
... | 31.392405 | 124 | 0.631855 |
ce0af7607c1f9a46140947a6f01b6e193cc8b794 | 20,934 | sql | SQL | sql/yjbb/600725.sql | liangzi4000/grab-share-info | 4dc632442d240c71955bbf927ecf276d570a2292 | [
"MIT"
] | null | null | null | sql/yjbb/600725.sql | liangzi4000/grab-share-info | 4dc632442d240c71955bbf927ecf276d570a2292 | [
"MIT"
] | null | null | null | sql/yjbb/600725.sql | liangzi4000/grab-share-info | 4dc632442d240c71955bbf927ecf276d570a2292 | [
"MIT"
] | null | null | null | EXEC [EST].[Proc_yjbb_Ins] @Code = N'600725',@CutoffDate = N'2017-09-30',@EPS = N'0.0043',@EPSDeduct = N'0',@Revenue = N'3.35亿',@RevenueYoy = N'-75.95',@RevenueQoq = N'-25.39',@Profit = N'534.66万',@ProfitYoy = N'100.54',@ProfiltQoq = N'98.93',@NAVPerUnit = N'0.2212',@ROE = N'2.76',@CashPerUnit = N'-0.1108',@GrossProfit... | 410.470588 | 420 | 0.641922 |
90b7a56e2324e035816d2470501256b883e8bc8e | 987 | py | Python | main/context_processors.py | Shu-Naing/online_shopping | cfa1da276b522ab75aefb6b3fa91ad672212f7f6 | [
"Apache-2.0"
] | null | null | null | main/context_processors.py | Shu-Naing/online_shopping | cfa1da276b522ab75aefb6b3fa91ad672212f7f6 | [
"Apache-2.0"
] | null | null | null | main/context_processors.py | Shu-Naing/online_shopping | cfa1da276b522ab75aefb6b3fa91ad672212f7f6 | [
"Apache-2.0"
] | null | null | null | from .models import Customer, Category
from django.shortcuts import get_object_or_404
def base(request):
category_list = list()
category_name = Category.objects.distinct().values('category_name')
for category in category_name:
lop_list = list()
query1 = Category.objects.filter(category_name... | 44.863636 | 105 | 0.68693 |
d2831bc4a3c6e81047ad0df2741ec4e19bf416cc | 871 | swift | Swift | ConnpassAttendanceChecker/Common/Extension/UserDefaults.extension.swift | marty-suzuki/ConnpassAttendanceChecker | ccf51ca56b6ad2cee2cae734f11a444cab3537a2 | [
"MIT"
] | 13 | 2018-04-14T02:01:08.000Z | 2018-09-21T11:11:33.000Z | ConnpassAttendanceChecker/Common/Extension/UserDefaults.extension.swift | marty-suzuki/ConnpassAttendanceChecker | ccf51ca56b6ad2cee2cae734f11a444cab3537a2 | [
"MIT"
] | null | null | null | ConnpassAttendanceChecker/Common/Extension/UserDefaults.extension.swift | marty-suzuki/ConnpassAttendanceChecker | ccf51ca56b6ad2cee2cae734f11a444cab3537a2 | [
"MIT"
] | null | null | null | //
// UserDefaults.extension.swift
// ConnpassAttendanceChecker
//
// Created by marty-suzuki on 2018/04/10.
// Copyright © 2018年 marty-suzuki. All rights reserved.
//
import Foundation
protocol UserDefaultsType: class {
func set(_ value: Bool, forKey key: String)
func bool(forKey key: String) -> Bool
}
... | 20.738095 | 56 | 0.665901 |
f44f63c890dd2a0234d800ef2fb27b2e43b311ec | 1,845 | go | Go | server/turn.go | IRHM/chat-app-test | 0578fab99b98d3a5f0db476999487ab5c6caf908 | [
"MIT"
] | 3 | 2020-12-10T04:47:36.000Z | 2021-06-29T14:38:43.000Z | server/turn.go | IRHM/chat-app-test | 0578fab99b98d3a5f0db476999487ab5c6caf908 | [
"MIT"
] | 2 | 2020-10-12T07:15:13.000Z | 2020-10-26T20:21:33.000Z | server/turn.go | IRHM/chat-app-test | 0578fab99b98d3a5f0db476999487ab5c6caf908 | [
"MIT"
] | 3 | 2020-10-10T16:12:22.000Z | 2020-12-10T14:39:29.000Z | package main
import (
"log"
"net"
"os"
"os/signal"
"strconv"
"syscall"
"github.com/pion/logging"
"github.com/pion/turn"
)
const (
publicIP = "192.168.0.11"
port = 3478
realm = "chat.app"
)
// Initialize turn server
func startTurnServer() {
log.Println("TURN: Starting server")
// Create UDP list... | 25.273973 | 125 | 0.675339 |
4010331d71babf492d006292ac11a937dcbcc228 | 3,121 | py | Python | api/utils/polyline_en_de_coder.py | hazelement/OneBus | 4950f663a57a02da38bcdb9bbd505a2afd3a50c2 | [
"MIT"
] | null | null | null | api/utils/polyline_en_de_coder.py | hazelement/OneBus | 4950f663a57a02da38bcdb9bbd505a2afd3a50c2 | [
"MIT"
] | null | null | null | api/utils/polyline_en_de_coder.py | hazelement/OneBus | 4950f663a57a02da38bcdb9bbd505a2afd3a50c2 | [
"MIT"
] | null | null | null |
'''
Provides utility functions for encoding and decoding linestrings using the
Google encoded polyline algorithm.
'''
def encode_coords(coords):
'''
Encodes a polyline using Google's polyline algorithm
See http://code.google.com/apis/maps/documentation/polylinealgorithm.html
for more information.
... | 26.008333 | 78 | 0.616149 |
965c6204d7701bf1ac0ad7289c29f616bce2f734 | 1,266 | php | PHP | www/lib/Database/namespace.php | DavidHigueraFerrez/reservaespacios-etsit | 71216ef17ec645de353e89f28fa83e1894f3cb12 | [
"MIT"
] | null | null | null | www/lib/Database/namespace.php | DavidHigueraFerrez/reservaespacios-etsit | 71216ef17ec645de353e89f28fa83e1894f3cb12 | [
"MIT"
] | null | null | null | www/lib/Database/namespace.php | DavidHigueraFerrez/reservaespacios-etsit | 71216ef17ec645de353e89f28fa83e1894f3cb12 | [
"MIT"
] | null | null | null | <?php
/**
Copyright 2011-2019 Nick Korbel
This file is part of Booked Scheduler 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 later version is dis... | 46.888889 | 94 | 0.770142 |
f9c1bbd4baa6275b08f4a0f57a9af8653a461cd4 | 484 | go | Go | cmd/count_test.go | DrJoLe/pufobs | f654a8d0eb0e3d414087ddbf8a4e8b544149e796 | [
"MIT"
] | null | null | null | cmd/count_test.go | DrJoLe/pufobs | f654a8d0eb0e3d414087ddbf8a4e8b544149e796 | [
"MIT"
] | null | null | null | cmd/count_test.go | DrJoLe/pufobs | f654a8d0eb0e3d414087ddbf8a4e8b544149e796 | [
"MIT"
] | null | null | null | package cmd
import (
"bytes"
"io"
"strconv"
"strings"
"testing"
)
func TestNewCountCmd(t *testing.T) {
b := bytes.NewBufferString("")
cmd := NewCountCmd()
cmd.SetOut(b)
if err := cmd.Execute(); err != nil {
t.Fatal(err)
}
out, err := io.ReadAll(b)
if err != nil {
t.Fatal(err)
}
number, err := str... | 14.235294 | 62 | 0.603306 |
041aec007e233f8a9fb0856e14f7c764bebe31d3 | 8,460 | kt | Kotlin | payer/src/test/kotlin/com/lumedic/network/payer/FlowTests.kt | cennest/lumedic-corda-network | d47d49fe643eb00f2c5df5cbfd7fd750ecf43573 | [
"Apache-2.0"
] | null | null | null | payer/src/test/kotlin/com/lumedic/network/payer/FlowTests.kt | cennest/lumedic-corda-network | d47d49fe643eb00f2c5df5cbfd7fd750ecf43573 | [
"Apache-2.0"
] | null | null | null | payer/src/test/kotlin/com/lumedic/network/payer/FlowTests.kt | cennest/lumedic-corda-network | d47d49fe643eb00f2c5df5cbfd7fd750ecf43573 | [
"Apache-2.0"
] | null | null | null | package com.lumedic.network.payer
import com.lumedic.network.base.contract.HARSTATE_CONTRACT_ID
import com.lumedic.network.base.contract.HARStateContract
import com.lumedic.network.base.flow.GetSignedTransaction
import com.lumedic.network.base.flow.QueryAuthCode
import com.lumedic.network.base.model.HARStatus
import c... | 47.26257 | 219 | 0.719858 |
68c47634afa41382b4676c55041ad80e33952a23 | 524 | asm | Assembly | oeis/315/A315847.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/315/A315847.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/315/A315847.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A315847: Coordination sequence Gal.5.232.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by Simon Strandgaard
; 1,6,7,18,19,20,36,32,33,54,45,46,72,58,59,90,71,72,108,84,85,126,97,98,144,110,111,162,123,124,180,136,137,... | 47.636364 | 177 | 0.725191 |
87cd92e0ecba1766f76390d8510c27199ca2937d | 699 | asm | Assembly | oeis/015/A015190.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/015/A015190.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/015/A015190.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A015190: Sum of (Gaussian) q-binomial coefficients for q=-21.
; Submitted by Christian Krause
; 1,2,-18,844,168404,164477928,-687450157352,14105258809884656,1238186812120404030096,533503696576292562518040352,-983466011800819442632186373851168,8898776193390263176983910297292084624064,3444860342793708269477859363573824... | 33.285714 | 438 | 0.812589 |
147c92823bbc1b0bd155b481e7a9f7687fbb3403 | 3,950 | swift | Swift | Sources/Defaults/UserDefaults.swift | daoan1412/Defaults | 7a72b23d3af928bd447f5edb4f8ba78deda4fea9 | [
"MIT"
] | null | null | null | Sources/Defaults/UserDefaults.swift | daoan1412/Defaults | 7a72b23d3af928bd447f5edb4f8ba78deda4fea9 | [
"MIT"
] | null | null | null | Sources/Defaults/UserDefaults.swift | daoan1412/Defaults | 7a72b23d3af928bd447f5edb4f8ba78deda4fea9 | [
"MIT"
] | null | null | null | import Foundation
extension UserDefaults {
private func _get<Value: Codable>(_ key: String) -> Value? {
if UserDefaults.isNativelySupportedType(Value.self) {
return object(forKey: key) as? Value
}
guard
let text = string(forKey: key),
let data = "[\(text)]".data(using: .utf8)
else {
return nil
... | 26.689189 | 188 | 0.694177 |
3896c30a480069deb9ff82c3835f32d6095554f4 | 1,864 | h | C | Sources/Elastos/Frameworks/Droid/Base/Services/Server/inc/elastos/droid/server/ShutdownActivity.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Services/Server/inc/elastos/droid/server/ShutdownActivity.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Services/Server/inc/elastos/droid/server/ShutdownActivity.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// 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
//
// ... | 25.189189 | 75 | 0.622318 |
add71fd3c9791397215820c4f2efd99509869bcb | 426 | rs | Rust | libs/datamodel/parser-database/src/attributes/native_types.rs | GQAdonis/prisma-engines | 803678eb3d9f17fbbb5c4d7e16b0a0a751e1460c | [
"Apache-2.0"
] | 486 | 2020-02-16T10:57:36.000Z | 2022-03-31T16:12:31.000Z | libs/datamodel/parser-database/src/attributes/native_types.rs | GQAdonis/prisma-engines | 803678eb3d9f17fbbb5c4d7e16b0a0a751e1460c | [
"Apache-2.0"
] | 783 | 2020-02-10T12:56:10.000Z | 2022-03-31T14:17:06.000Z | libs/datamodel/parser-database/src/attributes/native_types.rs | GQAdonis/prisma-engines | 803678eb3d9f17fbbb5c4d7e16b0a0a751e1460c | [
"Apache-2.0"
] | 82 | 2020-02-14T15:04:21.000Z | 2022-03-30T08:13:07.000Z | use crate::{ast, types::ScalarField};
pub(super) fn visit_native_type_attribute<'ast>(
datasource_name: &'ast str,
type_name: &'ast str,
attr: &'ast ast::Attribute,
scalar_field: &mut ScalarField<'ast>,
) {
let args = &attr.arguments;
let args: Vec<String> = args.iter().map(|arg| arg.value.to_s... | 30.428571 | 83 | 0.676056 |
8150ee4cb4ced604857db861ec41325032a969c6 | 578 | go | Go | vendor/github.com/spiffe/go-spiffe/v2/logger/std.go | lcarva/chains | 843c6b3477fee1154093d5a8660630f3ebdaef31 | [
"Apache-2.0"
] | 130 | 2020-06-16T14:56:49.000Z | 2022-03-29T12:55:12.000Z | vendor/github.com/spiffe/go-spiffe/v2/logger/std.go | lcarva/chains | 843c6b3477fee1154093d5a8660630f3ebdaef31 | [
"Apache-2.0"
] | 397 | 2020-06-15T12:09:19.000Z | 2022-03-31T23:44:56.000Z | vendor/github.com/spiffe/go-spiffe/v2/logger/std.go | lcarva/chains | 843c6b3477fee1154093d5a8660630f3ebdaef31 | [
"Apache-2.0"
] | 66 | 2020-06-15T12:07:37.000Z | 2022-03-25T07:13:01.000Z | package logger
import "log"
// Std is a logger that uses the Go standard log library.
var Std Logger = stdLogger{}
type stdLogger struct{}
func (stdLogger) Debugf(format string, args ...interface{}) {
log.Printf("[DEBUG] "+format+"\n", args...)
}
func (stdLogger) Infof(format string, args ...interface{}) {
log.P... | 23.12 | 61 | 0.652249 |
d7de16c7ab34aa6fd8e660dd2b916e118240f3a5 | 420 | kt | Kotlin | generator/bin/main/com/laidpack/sourcerer/generator/index/ClassSymbolDescription.kt | dpnolte/sourcerer | 9513bbc54768e9248c450b0aba125b433c447e68 | [
"Apache-2.0"
] | null | null | null | generator/bin/main/com/laidpack/sourcerer/generator/index/ClassSymbolDescription.kt | dpnolte/sourcerer | 9513bbc54768e9248c450b0aba125b433c447e68 | [
"Apache-2.0"
] | 4 | 2020-07-17T05:38:29.000Z | 2021-09-01T06:26:00.000Z | generator/bin/main/com/laidpack/sourcerer/generator/index/ClassSymbolDescription.kt | dpnolte/sourcerer | 9513bbc54768e9248c450b0aba125b433c447e68 | [
"Apache-2.0"
] | 1 | 2020-06-11T02:38:33.000Z | 2020-06-11T02:38:33.000Z | package com.laidpack.sourcerer.generator.index
import com.laidpack.sourcerer.generator.resources.Widget
import com.squareup.kotlinpoet.ClassName
data class ClassSymbolDescription (
val targetClassName: ClassName,
val widget: Widget?,
val classCategory : ClassCategory,
val isViewGroup: ... | 30 | 56 | 0.742857 |
1755e3ae71ff2abd20d9d866edc036d4ab5afb0c | 626 | html | HTML | projects/canopy/src/lib/modal/modal.component.html | Devaney/canopy | 68705df71965460dbc1204aa2b6b8bb6521f9ebc | [
"Apache-2.0"
] | 22 | 2020-09-28T09:00:10.000Z | 2022-02-01T16:16:07.000Z | projects/canopy/src/lib/modal/modal.component.html | Devaney/canopy | 68705df71965460dbc1204aa2b6b8bb6521f9ebc | [
"Apache-2.0"
] | 637 | 2020-09-28T16:24:17.000Z | 2022-03-31T10:30:30.000Z | projects/canopy/src/lib/modal/modal.component.html | markblandford/canopy | b0670cd37d74cce1c76f802e3055f7c01abbb6f3 | [
"Apache-2.0"
] | 42 | 2020-09-28T21:37:50.000Z | 2022-03-08T15:07:08.000Z | <ng-container *ngIf="isOpen">
<div class="lg-modal-overlay" aria-hidden="true"></div>
<lg-card
cdkTrapFocus
class="lg-modal"
role="dialog"
lgPadding="none"
[attr.aria-labelledby]="'lg-modal-header-' + id"
[attr.aria-describedby]="'lg-modal-body-' + id"
aria-modal="true"
tabindex="-1"... | 28.454545 | 57 | 0.618211 |
742cbb491f265754d94e9e17b1150bb3b2094c06 | 373 | h | C | lib/quickflux/qfactioncreator.h | denLaure/DictionaryTrainer | fc6d85e0b755eeca7870312653fd03e62447fffb | [
"MIT"
] | null | null | null | lib/quickflux/qfactioncreator.h | denLaure/DictionaryTrainer | fc6d85e0b755eeca7870312653fd03e62447fffb | [
"MIT"
] | null | null | null | lib/quickflux/qfactioncreator.h | denLaure/DictionaryTrainer | fc6d85e0b755eeca7870312653fd03e62447fffb | [
"MIT"
] | 1 | 2019-07-04T09:24:16.000Z | 2019-07-04T09:24:16.000Z | #ifndef QFACTIONCREATOR_H
#define QFACTIONCREATOR_H
#include <QObject>
#include <QQmlParserStatus>
class QFActionCreator : public QObject, public QQmlParserStatus
{
Q_OBJECT
Q_INTERFACES(QQmlParserStatus)
public:
explicit QFActionCreator(QObject *parent = 0);
protected:
void classBegin();
void c... | 16.954545 | 63 | 0.758713 |
95b2290a94865562380c92dccb847bdba9ce7c52 | 615 | html | HTML | manifests/templates/manifests/delete.html | aysiu/manana | 8af8b57c72f6154affdb5f3a9a3469a49e5818fe | [
"Apache-2.0"
] | 9 | 2016-02-16T23:53:40.000Z | 2020-07-13T16:04:18.000Z | manifests/templates/manifests/delete.html | aysiu/manana | 8af8b57c72f6154affdb5f3a9a3469a49e5818fe | [
"Apache-2.0"
] | null | null | null | manifests/templates/manifests/delete.html | aysiu/manana | 8af8b57c72f6154affdb5f3a9a3469a49e5818fe | [
"Apache-2.0"
] | 4 | 2016-02-16T23:56:13.000Z | 2019-05-20T15:12:14.000Z | {% block content %}
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="newLabel">Delete manifest</h4>
</div>
<div class="modal-body">
<form name='delete_form' action='{% url "manifests.views.delete" manifest_name %}' me... | 36.176471 | 98 | 0.674797 |
1887989bf2cd12b1fa252e8bb702821a1890ee77 | 14,560 | rs | Rust | src/conv.rs | pthariensflame/refraction | 5b74a6ca31658b54b24f7660998d8a22dedd6f09 | [
"Apache-2.0"
] | 28 | 2016-04-18T14:52:55.000Z | 2021-01-09T15:55:21.000Z | src/conv.rs | pthariensflame/refraction | 5b74a6ca31658b54b24f7660998d8a22dedd6f09 | [
"Apache-2.0"
] | 1 | 2017-03-06T03:48:26.000Z | 2017-03-06T03:48:26.000Z | src/conv.rs | pthariensflame/refraction | 5b74a6ca31658b54b24f7660998d8a22dedd6f09 | [
"Apache-2.0"
] | null | null | null | //! These lenticuloids handle lossless conversions via the standard library
//! traits `Into`, `AsRef` and `AsMut`.
use std::fmt::{self, Debug, Formatter};
use std::marker::PhantomData;
use super::{Injector, Iso, Lens, Lenticuloid, PartialLens, Prism, util};
/// An isomorphism family that handles lossless conversions... | 25.633803 | 100 | 0.484684 |
5664529c86b61dd04b283380ca1997076c0e61ff | 321 | go | Go | database/mysql/mysql_helper.go | Anderson-Lu/goscrew | 3e6c4c2da4203fbbfa8dd3333c371f2ef770bbcb | [
"MIT"
] | 1 | 2018-10-21T11:33:03.000Z | 2018-10-21T11:33:03.000Z | database/mysql/mysql_helper.go | Anderson-Lu/gobox | 3e6c4c2da4203fbbfa8dd3333c371f2ef770bbcb | [
"MIT"
] | null | null | null | database/mysql/mysql_helper.go | Anderson-Lu/gobox | 3e6c4c2da4203fbbfa8dd3333c371f2ef770bbcb | [
"MIT"
] | null | null | null | package mysql
import (
"fmt"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/mysql"
)
func NewMysqlClient(host, dbname, user, pwd string) (*gorm.DB, error) {
db, err := gorm.Open("mysql", fmt.Sprintf("%s:%s@tcp(%s)/%s?charset=utf8&parseTime=True&loc=Local", user, pwd, host, dbname))
return db, err
}... | 22.928571 | 126 | 0.685358 |
a9a6a842edb571f1c4321afd3645c77151ca3dde | 27,366 | html | HTML | estimateFIM.html | rhymesg/MC_CRB_nonGaussian | fd7df2f1899965aee68adc1c58ce78a3d5e8d77e | [
"MIT"
] | 1 | 2021-01-12T10:48:21.000Z | 2021-01-12T10:48:21.000Z | estimateFIM.html | rhymesg/MC_CRB_nonGaussian | fd7df2f1899965aee68adc1c58ce78a3d5e8d77e | [
"MIT"
] | 1 | 2020-07-14T12:05:35.000Z | 2020-07-26T22:42:36.000Z | estimateFIM.html | rhymesg/MC_CRB_nonGaussian | fd7df2f1899965aee68adc1c58ce78a3d5e8d77e | [
"MIT"
] | null | null | null |
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--
This HTML was auto-generated from MATLAB code.
To make changes, update the MATLAB code and republish this document.
--><title>estimateFIM</title><meta n... | 47.264249 | 254 | 0.566433 |
dfea2e114ef676cb3a0677d0ec4d61a152e1cc40 | 402 | swift | Swift | Example/Dependency Inversion Principle/Wrong/DataCustomerLogic.swift | rinoarmadiaz/MovieDB-VIPER-iOS | c4a54eb463c5b47fe72083a06f94a26fb77b8b31 | [
"MIT"
] | null | null | null | Example/Dependency Inversion Principle/Wrong/DataCustomerLogic.swift | rinoarmadiaz/MovieDB-VIPER-iOS | c4a54eb463c5b47fe72083a06f94a26fb77b8b31 | [
"MIT"
] | null | null | null | Example/Dependency Inversion Principle/Wrong/DataCustomerLogic.swift | rinoarmadiaz/MovieDB-VIPER-iOS | c4a54eb463c5b47fe72083a06f94a26fb77b8b31 | [
"MIT"
] | null | null | null | //
// DataCustomerLogic.swift
// Viper App Wrong Example
//
// Created by Rino Armadiaz on 09/10/20.
//
class DataCustomerLogic {
init() {
/* Instantiate dataAccess with DataAccessFactory.getDataAccessObject */
let dataAccess = DataAccessFactory.getDataAccessObject()
/* Call dataAccess.... | 23.647059 | 79 | 0.679104 |
169580292a86efd399179f41e8f1c62e36df0679 | 510 | ts | TypeScript | node_modules/@aws-sdk/util-waiter/dist-types/createWaiter.d.ts | aouinaayoub/Ghost-4-di | a8b50c4acba28a382d4328209cc0dffa62014ba9 | [
"MIT"
] | 2 | 2021-11-29T12:48:06.000Z | 2021-11-29T16:30:20.000Z | node_modules/@aws-sdk/util-waiter/dist-types/createWaiter.d.ts | aouinaayoub/Ghost-4-di | a8b50c4acba28a382d4328209cc0dffa62014ba9 | [
"MIT"
] | 9 | 2022-03-12T09:24:04.000Z | 2022-03-27T16:30:29.000Z | node_modules/@aws-sdk/util-waiter/dist-types/createWaiter.d.ts | aouinaayoub/Ghost-4-di | a8b50c4acba28a382d4328209cc0dffa62014ba9 | [
"MIT"
] | 3 | 2021-02-26T00:30:30.000Z | 2021-12-15T20:34:08.000Z | import { WaiterOptions, WaiterResult } from "./waiter";
/**
* Create a waiter promise that only resolves when:
* 1. Abort controller is signaled
* 2. Max wait time is reached
* 3. `acceptorChecks` succeeds, or fails
* Otherwise, it invokes `acceptorChecks` with exponential-backoff delay.
*
* @internal
*/
export... | 42.5 | 195 | 0.737255 |
56b383ab749915cb30d9044d438889a9688bff2e | 620 | go | Go | ClosurePendingStatusReason1.go | fgrid/iso20022 | 1ec3952e565835b0bac076d4b574f88cc7bd0f74 | [
"MIT"
] | 18 | 2016-04-13T22:39:32.000Z | 2020-09-22T11:48:07.000Z | iso20022/ClosurePendingStatusReason1.go | fairxio/finance-messaging | 00ea27edb2cfa113132e8d7a1bdb321e544feed2 | [
"Apache-2.0"
] | 4 | 2016-04-29T21:44:36.000Z | 2016-06-06T21:20:04.000Z | ClosurePendingStatusReason1.go | fgrid/iso20022 | 1ec3952e565835b0bac076d4b574f88cc7bd0f74 | [
"MIT"
] | 11 | 2016-08-29T08:54:09.000Z | 2019-12-17T04:55:33.000Z | package iso20022
// Reason for a closure pending status.
type ClosurePendingStatusReason1 struct {
// Reason for the closure pending status.
Code *ClosurePendingStatusReason2Choice `xml:"Cd"`
// Additional information about the reason for the closure pending status.
AdditionalInformation *Max350Text `xml:"AddtlI... | 29.52381 | 84 | 0.8 |
6ec5c17f6d33af7dee6cdb1cbfad34b26cf4a778 | 1,024 | swift | Swift | Networking/Module/Classes/Protocols/NetworkRoute.swift | vegopunk/VegopunkNetworking | a6502ce1102cbe29a9c76698a69181168560b726 | [
"MIT"
] | null | null | null | Networking/Module/Classes/Protocols/NetworkRoute.swift | vegopunk/VegopunkNetworking | a6502ce1102cbe29a9c76698a69181168560b726 | [
"MIT"
] | null | null | null | Networking/Module/Classes/Protocols/NetworkRoute.swift | vegopunk/VegopunkNetworking | a6502ce1102cbe29a9c76698a69181168560b726 | [
"MIT"
] | null | null | null | import Moya
public protocol NetworkRoute: TargetType, CustomStringConvertible {
associatedtype DecodeType: Decodable
var urlType: BaseUrlType { get }
var responseType: DecodeType.Type { get }
var parameters: [String: Any] { get }
}
extension NetworkRoute {
public var descriptio... | 22.755556 | 67 | 0.611328 |
f983e4b12b14997a9a3deca1877335d02fd19182 | 1,655 | go | Go | modules/userterm/userterm_test.go | herb-go/usersystem | 085aa8477cee7be0270f8226e499676a440683c8 | [
"MIT"
] | null | null | null | modules/userterm/userterm_test.go | herb-go/usersystem | 085aa8477cee7be0270f8226e499676a440683c8 | [
"MIT"
] | null | null | null | modules/userterm/userterm_test.go | herb-go/usersystem | 085aa8477cee7be0270f8226e499676a440683c8 | [
"MIT"
] | null | null | null | package userterm
import (
"testing"
"github.com/herb-go/herbsystem"
"github.com/herb-go/usersystem/usersession"
"github.com/herb-go/herbsecurity/authority"
"github.com/herb-go/usersystem"
)
func testSession(id string) *usersystem.Session {
p := authority.NewPayloads()
p.Set(usersystem.PayloadUID, []byte(id))... | 20.432099 | 76 | 0.720242 |
189d3840454c1e7160b377c59a6abdcd5d08b958 | 5,141 | lua | Lua | game/scripts/vscripts/encounters/wind_harpy/wind_harpy_tornado_damage_modifier.lua | Sniqi/dungeoneer-dota2 | 2296c5241dcf1a8b7cca3e96b24f6acf337caee3 | [
"MIT"
] | null | null | null | game/scripts/vscripts/encounters/wind_harpy/wind_harpy_tornado_damage_modifier.lua | Sniqi/dungeoneer-dota2 | 2296c5241dcf1a8b7cca3e96b24f6acf337caee3 | [
"MIT"
] | null | null | null | game/scripts/vscripts/encounters/wind_harpy/wind_harpy_tornado_damage_modifier.lua | Sniqi/dungeoneer-dota2 | 2296c5241dcf1a8b7cca3e96b24f6acf337caee3 | [
"MIT"
] | null | null | null | wind_harpy_tornado_damage_modifier = class({})
function wind_harpy_tornado_damage_modifier:OnCreated( kv )
self.AoERadius = self:GetAbility():GetSpecialValueFor("AoERadius")
self.damage = self:GetAbility():GetSpecialValueFor("damage")
self.damage_interval = self... | 31.157576 | 192 | 0.788174 |
2a2d529c45913a5b33731324b71513e4348a23aa | 2,012 | swift | Swift | Controller/QRScannerViewController.swift | guorenxi/Bark | 01dbb1e55f676ceba72637b7ec0a57a581c17d8f | [
"MIT"
] | null | null | null | Controller/QRScannerViewController.swift | guorenxi/Bark | 01dbb1e55f676ceba72637b7ec0a57a581c17d8f | [
"MIT"
] | null | null | null | Controller/QRScannerViewController.swift | guorenxi/Bark | 01dbb1e55f676ceba72637b7ec0a57a581c17d8f | [
"MIT"
] | null | null | null | //
// QRScannerViewController.swift
// Bark
//
// Created by huangfeng on 2022/3/10.
// Copyright © 2022 Fin. All rights reserved.
//
import MercariQRScanner
import RxCocoa
import RxSwift
import UIKit
class QRScannerViewController: UIViewController {
var scannerDidSuccess: Observable<String> {
return ... | 30.953846 | 90 | 0.671968 |
12e8117f7b042fcf2550d46bb062b5cb05f800b8 | 6,019 | html | HTML | app/views/universal-credit/claiming-other-benefits.html | quis/notify-public-research-prototype | de76ef89a8705a471e77ca96ef26493f39637d2b | [
"MIT"
] | 1 | 2016-12-16T07:29:44.000Z | 2016-12-16T07:29:44.000Z | app/views/universal-credit/claiming-other-benefits.html | quis/notify-public-research-prototype | de76ef89a8705a471e77ca96ef26493f39637d2b | [
"MIT"
] | 4 | 2016-07-27T14:42:12.000Z | 2016-09-29T10:27:10.000Z | app/views/universal-credit/claiming-other-benefits.html | quis/notify-public-research-prototype | de76ef89a8705a471e77ca96ef26493f39637d2b | [
"MIT"
] | 3 | 2016-08-09T07:40:49.000Z | 2021-04-10T20:01:00.000Z | {% extends "layout.html" %}
{% block head %}
<link href="/public/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/public/stylesheets/static-2016-07-04.css" media="screen" rel="stylesheet" type="text/css" />
{% endblock %}
{% block page_title %}
Universal Credit - GOV.... | 56.252336 | 256 | 0.576175 |
573fc2d577d3e006628701342c375d38e4c6b9d7 | 85 | kt | Kotlin | src/main/kotlin/anissia/domain/account/core/AccountRole.kt | anissia-net/anissia-core | f2af520cace8185f443e0818b311cc567dae367b | [
"CC-BY-4.0"
] | 12 | 2019-11-17T04:20:10.000Z | 2022-03-01T17:02:29.000Z | src/main/kotlin/anissia/domain/account/core/AccountRole.kt | anissia-net/anissia-core | f2af520cace8185f443e0818b311cc567dae367b | [
"CC-BY-4.0"
] | 4 | 2021-04-26T08:40:25.000Z | 2021-05-16T18:41:36.000Z | src/main/kotlin/anissia/domain/account/core/AccountRole.kt | anissia-net/anissia-core | f2af520cace8185f443e0818b311cc567dae367b | [
"CC-BY-4.0"
] | 2 | 2021-03-29T00:08:48.000Z | 2021-03-31T05:53:06.000Z | package anissia.domain.account.core
enum class AccountRole {
TRANSLATOR, ROOT
}
| 14.166667 | 35 | 0.764706 |
30e85a733c609fb92e41390a76668f09858dcde1 | 685 | asm | Assembly | programs/oeis/078/A078734.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/078/A078734.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/078/A078734.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A078734: Start with 1,2, concatenate 2^k previous terms and change last term as follows: 1->2, 2->3, 3->1.
; 1,2,1,3,1,2,1,1,1,2,1,3,1,2,1,2,1,2,1,3,1,2,1,1,1,2,1,3,1,2,1,3,1,2,1,3,1,2,1,1,1,2,1,3,1,2,1,2,1,2,1,3,1,2,1,1,1,2,1,3,1,2,1,1,1,2,1,3,1,2,1,1,1,2,1,3,1,2,1,2,1,2,1,3,1,2,1,1,1,2,1,3,1,2,1,3,1,2,1,3,1,2,1,1,1... | 62.272727 | 501 | 0.540146 |
26a2a30de12da1e3d1f1634170db15368e25b464 | 58,866 | java | Java | app/src/main/java/com/rudolfhladik/rd/disciplines/RepUtilityDescription.java | Terrell6/MCard0.4.4 | 2c5e6635934ba3e5ff0807e40b4883f01282a7d9 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/rudolfhladik/rd/disciplines/RepUtilityDescription.java | Terrell6/MCard0.4.4 | 2c5e6635934ba3e5ff0807e40b4883f01282a7d9 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/rudolfhladik/rd/disciplines/RepUtilityDescription.java | Terrell6/MCard0.4.4 | 2c5e6635934ba3e5ff0807e40b4883f01282a7d9 | [
"Apache-2.0"
] | null | null | null | package com.rudolfhladik.rd.disciplines;
/**
* Created by RD on 27.1.2015.
*/
public class RepUtilityDescription {
String[] desc = new String[2];
int ac;
int utPointPossition;
// f, ac, utility point, title/description
String[][][] allDescriptions = new String[8][21][2];
// REP Advanced cla... | 64.97351 | 404 | 0.732698 |
90d36f66896121a9cb534b32b957815c2c588077 | 39 | dart | Dart | alryne/lib/alryne.dart | goldenercobra/alryne | 3b22d0d23c7a16e32d48479380ff6ac723b50a19 | [
"MIT"
] | null | null | null | alryne/lib/alryne.dart | goldenercobra/alryne | 3b22d0d23c7a16e32d48479380ff6ac723b50a19 | [
"MIT"
] | 7 | 2018-02-22T20:07:37.000Z | 2018-03-09T17:57:28.000Z | alryne/lib/alryne.dart | goldenercobra/alryne | 3b22d0d23c7a16e32d48479380ff6ac723b50a19 | [
"MIT"
] | null | null | null | library alryne;
export 'models.dart';
| 9.75 | 21 | 0.74359 |
84965893de1c8e5bf5e430f97286b33d6e714e0f | 875 | swift | Swift | Sheet Views/Views/AvatarSheetView.swift | Billionapp/alertgridbuilder | a67f1b029e06c19c56975e87887f52c729847479 | [
"MIT"
] | null | null | null | Sheet Views/Views/AvatarSheetView.swift | Billionapp/alertgridbuilder | a67f1b029e06c19c56975e87887f52c729847479 | [
"MIT"
] | null | null | null | Sheet Views/Views/AvatarSheetView.swift | Billionapp/alertgridbuilder | a67f1b029e06c19c56975e87887f52c729847479 | [
"MIT"
] | null | null | null | //
// AvatarSheetView.swift
// BillionWallet
//
// Created by Evolution Group Ltd on 14/09/2017.
// Copyright © 2017 Evolution Group Ltd. All rights reserved.
//
import UIKit
class AvatarSheetView: LoadableFromXibView {
@IBOutlet weak var imageButton: UIButton!
override func xibSetup() {
... | 21.875 | 77 | 0.650286 |
ddd51dfff5f3961af75ab046b1d33db8382068b5 | 211 | php | PHP | app/Helpers/Func.php | dominhquan12121994/localtraining.com | 4cf1be9ca309d8b2ff56bb1d336f467c4115ec11 | [
"MIT"
] | null | null | null | app/Helpers/Func.php | dominhquan12121994/localtraining.com | 4cf1be9ca309d8b2ff56bb1d336f467c4115ec11 | [
"MIT"
] | null | null | null | app/Helpers/Func.php | dominhquan12121994/localtraining.com | 4cf1be9ca309d8b2ff56bb1d336f467c4115ec11 | [
"MIT"
] | null | null | null | <?php
namespace App\Helpers;
class Func
{
public static function getMicroTime(){
return microtime(true) * 1000;
}
public function logError($message){
\Log::error($message);
}
}
| 15.071429 | 42 | 0.616114 |
b2a99cd476c507258bc19da6556cec5bb7279b81 | 392 | rs | Rust | src/types/parameters.rs | tbot-rs/tbot | 6af546982139fffaeb73277cebedcbf7e69ed7bf | [
"MIT"
] | 26 | 2020-05-15T19:53:26.000Z | 2022-01-27T14:17:51.000Z | src/types/parameters.rs | tbot-rs/tbot | 6af546982139fffaeb73277cebedcbf7e69ed7bf | [
"MIT"
] | 2 | 2020-05-15T19:55:05.000Z | 2020-12-26T07:49:19.000Z | src/types/parameters.rs | tbot-rs/tbot | 6af546982139fffaeb73277cebedcbf7e69ed7bf | [
"MIT"
] | 2 | 2020-11-08T16:32:29.000Z | 2020-12-09T14:19:51.000Z | //! Types used as parameters, mainly for methods.
mod allowed_updates;
mod callback_action;
mod chat_id;
mod invoice;
mod photo;
pub mod poll;
mod text;
mod tip;
pub(crate) use text::ParseMode;
pub use {
allowed_updates::AllowedUpdates,
callback_action::CallbackAction,
chat_id::{ChatId, ImplicitChatId},
... | 17.818182 | 49 | 0.706633 |
56cedf68865037cb3bba7462e9e08d7e45af5190 | 16,844 | tsx | TypeScript | src/app/etl/ETLAjax.tsx | DABH/terrain | e938bbdb2a4caf7c05ff33c1cdd0682becadf981 | [
"Apache-2.0",
"CC0-1.0"
] | 7 | 2019-01-07T23:50:08.000Z | 2019-08-29T04:22:52.000Z | src/app/etl/ETLAjax.tsx | DABH/terrain | e938bbdb2a4caf7c05ff33c1cdd0682becadf981 | [
"Apache-2.0",
"CC0-1.0"
] | 12 | 2020-03-17T02:50:51.000Z | 2022-03-08T22:52:18.000Z | src/app/etl/ETLAjax.tsx | DABH/terrain | e938bbdb2a4caf7c05ff33c1cdd0682becadf981 | [
"Apache-2.0",
"CC0-1.0"
] | 1 | 2019-01-08T03:06:29.000Z | 2019-01-08T03:06:29.000Z | /*
University of Illinois/NCSA Open Source License
Copyright (c) 2018 Terrain Data, Inc. and the authors. All rights reserved.
Developed by: Terrain Data, Inc. and
the individuals who committed the code in this file.
https://github.com/terraindata/terrain
Permission is ... | 25.028232 | 131 | 0.568095 |
6fd4bd031d7c477f86c5b06125d7b5bb8a332a86 | 3,216 | lua | Lua | Interface/AddOns/DBM-WorldEvents/Holidays/HeadlessHorseman.lua | liruqi/bigfoot | 813a437268b6c55d9b0dc71ed4578753af6166f2 | [
"MIT"
] | null | null | null | Interface/AddOns/DBM-WorldEvents/Holidays/HeadlessHorseman.lua | liruqi/bigfoot | 813a437268b6c55d9b0dc71ed4578753af6166f2 | [
"MIT"
] | null | null | null | Interface/AddOns/DBM-WorldEvents/Holidays/HeadlessHorseman.lua | liruqi/bigfoot | 813a437268b6c55d9b0dc71ed4578753af6166f2 | [
"MIT"
] | 1 | 2021-06-22T17:25:11.000Z | 2021-06-22T17:25:11.000Z | local mod = DBM:NewMod("d285", "DBM-WorldEvents", 1)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 17257 $"):sub(12, -3))
mod:SetCreatureID(23682, 23775)
--mod:SetModelID(22351)--Model doesn't work/render for some reason.
mod:SetZone()
mod:SetReCombatTime(10)
mod:RegisterCombat("combat")
... | 34.956522 | 132 | 0.722637 |
9635743011a1012c0b2225fd5b85ab69dbe9b68b | 1,750 | php | PHP | application/views/QUEUESYS/current-queue.php | randytrinitylagdaan/trinitysofteng | 90a3881618403ac592c8b06e5e78fcae9b209b7b | [
"MIT"
] | null | null | null | application/views/QUEUESYS/current-queue.php | randytrinitylagdaan/trinitysofteng | 90a3881618403ac592c8b06e5e78fcae9b209b7b | [
"MIT"
] | null | null | null | application/views/QUEUESYS/current-queue.php | randytrinitylagdaan/trinitysofteng | 90a3881618403ac592c8b06e5e78fcae9b209b7b | [
"MIT"
] | 1 | 2018-12-08T14:12:54.000Z | 2018-12-08T14:12:54.000Z | <div class="level2">
<link rel="stylesheet" href="<?php echo base_url();?>assets/stylesheets/infotech/queuesys.css"></link>
<div class="large-list-box-50">
<b> <?php echo $ID; ?> </b>
<b> <?php echo $customerNumber; ?> </b>
<span><a href="javascript:void(0)" class="small-button" oncli... | 29.661017 | 158 | 0.433714 |
17aafe1366a095e6983ced6baf40bf0bb7ed356a | 1,510 | swift | Swift | Example/GotoCoreSwift/controller/AlertController.swift | varadig/GotoCoreSwift | 10122839e8379a663831c79c5d5a97383c0b9fac | [
"MIT"
] | null | null | null | Example/GotoCoreSwift/controller/AlertController.swift | varadig/GotoCoreSwift | 10122839e8379a663831c79c5d5a97383c0b9fac | [
"MIT"
] | null | null | null | Example/GotoCoreSwift/controller/AlertController.swift | varadig/GotoCoreSwift | 10122839e8379a663831c79c5d5a97383c0b9fac | [
"MIT"
] | null | null | null | //
// AlertController.swift
// GotoCoreSwift
//
// Created by Gábor Váradi on 2018. 01. 04..
// Copyright © 2018. CocoaPods. All rights reserved.
//
import UIKit
import GotoCoreSwift
public class AlertController: CoreBaseClass
{
/*SERVICES*/
public static let SHOW_ALERT:String = "alert.controller.show.ale... | 32.12766 | 139 | 0.66755 |
6b666d606cfcedd184716088b49bb6617d145b18 | 199 | h | C | Pod/Classes/PSDIAWSDynamoImporter.h | limey/pod-subspec-dependency-issue | d192e7729b74d30c80d8bcc3738d1d514e8fb1f1 | [
"MIT"
] | null | null | null | Pod/Classes/PSDIAWSDynamoImporter.h | limey/pod-subspec-dependency-issue | d192e7729b74d30c80d8bcc3738d1d514e8fb1f1 | [
"MIT"
] | null | null | null | Pod/Classes/PSDIAWSDynamoImporter.h | limey/pod-subspec-dependency-issue | d192e7729b74d30c80d8bcc3738d1d514e8fb1f1 | [
"MIT"
] | null | null | null | //
// PSDIAWSDynamoImporter.h
// Pods
//
// Created by Robert Clark on 22/12/15.
//
//
#import <Foundation/Foundation.h>
@interface PSDIAWSDynamoImporter : NSObject
+ (void) doSomething;
@end
| 12.4375 | 43 | 0.688442 |
9fef95b13e4741b2112092d761f82175c6df7c33 | 1,454 | rs | Rust | third_party/rust_crates/vendor/difference/examples/underline-words.rs | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 233 | 2015-09-21T22:38:06.000Z | 2022-03-30T22:02:31.000Z | third_party/rust_crates/vendor/difference/examples/underline-words.rs | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | third_party/rust_crates/vendor/difference/examples/underline-words.rs | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | extern crate term;
extern crate difference;
use difference::{Difference, Changeset};
use std::io::Write;
// Screenshot:
// https://raw.githubusercontent.com/johannhof/difference.rs/master/assets/word-underline.png
#[allow(unused_must_use)]
fn main() {
let text1 = "Roses are red, violets are blue.";
let text2 ... | 26.436364 | 93 | 0.450481 |
ea82396757855db2121b0342e3fd0efecce58c3f | 1,109 | kts | Kotlin | buildSrc/src/main/kotlin/profiler.publication.gradle.kts | carstenhag/gradle-profiler | 15f8b5c164571d3ebc6347d6de1feaa90b072a1d | [
"Apache-2.0"
] | null | null | null | buildSrc/src/main/kotlin/profiler.publication.gradle.kts | carstenhag/gradle-profiler | 15f8b5c164571d3ebc6347d6de1feaa90b072a1d | [
"Apache-2.0"
] | 1 | 2021-04-23T14:20:50.000Z | 2021-04-23T14:20:50.000Z | buildSrc/src/main/kotlin/profiler.publication.gradle.kts | carstenhag/gradle-profiler | 15f8b5c164571d3ebc6347d6de1feaa90b072a1d | [
"Apache-2.0"
] | null | null | null | import java.net.URI
plugins {
id("maven-publish")
}
publishing {
publications {
register<MavenPublication>("mavenJava") {
from(components["java"])
pom {
licenses {
license {
name.set("The Apache License, Version 2.0")
... | 27.725 | 82 | 0.546438 |
ca8b785d900edccfda3baf83fa73766786abe6ab | 581 | swift | Swift | SwiftLayaNative/SwiftLayaNative/ViewController.swift | al1020119/LayaNativeSwiftOC | 73ba7624a5f52dff4907a97bb668b0cf0899dcdc | [
"Apache-2.0"
] | 1 | 2019-05-09T07:32:55.000Z | 2019-05-09T07:32:55.000Z | SwiftLayaNative/SwiftLayaNative/ViewController.swift | al1020119/LayaNativeSwiftOC | 73ba7624a5f52dff4907a97bb668b0cf0899dcdc | [
"Apache-2.0"
] | null | null | null | SwiftLayaNative/SwiftLayaNative/ViewController.swift | al1020119/LayaNativeSwiftOC | 73ba7624a5f52dff4907a97bb668b0cf0899dcdc | [
"Apache-2.0"
] | null | null | null | //
// ViewController.swift
// SwiftLayaNative
//
// Created by iCocos on 2019/5/9.
// Copyright © 2019 com.fiction.jmt. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the ... | 22.346154 | 80 | 0.671256 |
996f1486a471da219a32f5a3dab40eafc4c706c2 | 801 | c | C | MOO/Fonctions mission/majcriteremission.c | wahtique/tc02_ifc_moo | 906579a06066afa54f21f8921c510d6842f9d6b7 | [
"MIT"
] | null | null | null | MOO/Fonctions mission/majcriteremission.c | wahtique/tc02_ifc_moo | 906579a06066afa54f21f8921c510d6842f9d6b7 | [
"MIT"
] | null | null | null | MOO/Fonctions mission/majcriteremission.c | wahtique/tc02_ifc_moo | 906579a06066afa54f21f8921c510d6842f9d6b7 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../Critere.h"
#include "../Mission.h"
void MajCritereMission(FlagMission *Liste,unsigned int indexMission)
{
if(Liste->a_DimPonderation>0)
{
int i=0;
GetMission(Liste,indexMission)->a_tPonderation=(float**)malloc(Liste->a_Dim... | 32.04 | 111 | 0.672909 |
c128b9615362afc35b2c7dfea3183c7cdbf83bc2 | 10,780 | rs | Rust | src/lib/diagnostics/inspect/rust/src/reader/snapshot.rs | liexusong/fuchsia | 81897680af92a1848a063e3c20ff3a4892ccff07 | [
"BSD-2-Clause"
] | 3 | 2021-09-02T07:21:06.000Z | 2022-03-12T03:20:10.000Z | src/lib/diagnostics/inspect/rust/src/reader/snapshot.rs | liexusong/fuchsia | 81897680af92a1848a063e3c20ff3a4892ccff07 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | src/lib/diagnostics/inspect/rust/src/reader/snapshot.rs | liexusong/fuchsia | 81897680af92a1848a063e3c20ff3a4892ccff07 | [
"BSD-2-Clause"
] | 2 | 2022-02-25T12:22:49.000Z | 2022-03-12T03:20:10.000Z | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//! A snapshot represents all the loaded blocks of the VMO in a way that we can reconstruct the
//! implicit tree.
use {
crate::{reader::error::Reader... | 33.271605 | 99 | 0.583673 |
74c19a7dcc1e357f0f87b9d3942326466861a939 | 1,445 | kt | Kotlin | app/src/test/java/com/netchar/wallpaperify/ui/di/TestNetworkModule.kt | netchar/Wallpaperify | 2bcccb5a5cc161831a11c7976eb2cb1ba7c90923 | [
"Apache-2.0"
] | 4 | 2020-09-03T08:25:39.000Z | 2021-07-05T06:47:05.000Z | app/src/test/java/com/netchar/wallpaperify/ui/di/TestNetworkModule.kt | netchar/Wallpaperify | 2bcccb5a5cc161831a11c7976eb2cb1ba7c90923 | [
"Apache-2.0"
] | 4 | 2019-10-08T12:26:44.000Z | 2021-07-05T06:56:13.000Z | app/src/test/java/com/netchar/wallpaperify/ui/di/TestNetworkModule.kt | netchar/Wallpaperify | 2bcccb5a5cc161831a11c7976eb2cb1ba7c90923 | [
"Apache-2.0"
] | 3 | 2020-02-22T21:41:38.000Z | 2021-07-05T06:47:08.000Z | package com.netchar.wallpaperify.ui.di
import com.jakewharton.retrofit2.adapter.kotlin.coroutines.CoroutineCallAdapterFactory
import com.netchar.common.di.BaseUrl
import com.netchar.remote.ApplicationJsonAdapterFactory
import com.squareup.moshi.Moshi
import dagger.Module
import dagger.Provides
import okhttp3.OkHttpCli... | 28.9 | 120 | 0.737716 |
1daa5ae419c2af6e49ba7cd90dfcd761495be1f5 | 1,222 | sql | SQL | EdFi.Ods.Utilities.Migration/Scripts/MsSql/02Upgrade/v24_to_v25/11 Create Constraints/41770 InteractivityStyleType [PK, IX, D].sql | Ed-Fi-Alliance-OSS/Ed-Fi-MigrationUtility | 0d990a4d5cec37eec2015ef53e8d9e4fdec8750a | [
"Apache-2.0"
] | null | null | null | EdFi.Ods.Utilities.Migration/Scripts/MsSql/02Upgrade/v24_to_v25/11 Create Constraints/41770 InteractivityStyleType [PK, IX, D].sql | Ed-Fi-Alliance-OSS/Ed-Fi-MigrationUtility | 0d990a4d5cec37eec2015ef53e8d9e4fdec8750a | [
"Apache-2.0"
] | 9 | 2020-06-12T16:07:31.000Z | 2022-01-20T16:13:12.000Z | EdFi.Ods.Utilities.Migration/Scripts/MsSql/02Upgrade/v24_to_v25/11 Create Constraints/41770 InteractivityStyleType [PK, IX, D].sql | Ed-Fi-Alliance-OSS/Ed-Fi-MigrationUtility | 0d990a4d5cec37eec2015ef53e8d9e4fdec8750a | [
"Apache-2.0"
] | 3 | 2020-05-19T13:25:35.000Z | 2022-02-26T01:21:18.000Z | -- SPDX-License-Identifier: Apache-2.0
-- Licensed to the Ed-Fi Alliance under one or more agreements.
-- The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
-- See the LICENSE and NOTICES files in the project root for more information.
PRINT N'Creating primary key [InteractivityStyleTy... | 50.916667 | 146 | 0.807692 |
0a0ddc00ace4ac031416ae0fd5a20cd6cff21338 | 668 | asm | Assembly | oeis/310/A310517.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/310/A310517.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/310/A310517.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A310517: Coordination sequence Gal.6.206.6 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by Christian Krause
; 1,4,10,16,22,26,30,34,40,46,52,56,60,66,72,78,82,86,90,96,102,108,112,116,122,128,134,138,142,146,152,158,16... | 41.75 | 182 | 0.729042 |
e751a3d27fa70b50226f4f68f6b9ee9b9690e93e | 1,078 | js | JavaScript | browser_main.js | barelyhuman/apex | ddde55b0d2955ab6bdd2b4bbf5b615b31eebeed8 | [
"MIT"
] | null | null | null | browser_main.js | barelyhuman/apex | ddde55b0d2955ab6bdd2b4bbf5b615b31eebeed8 | [
"MIT"
] | 8 | 2020-03-31T22:59:25.000Z | 2022-03-27T04:47:24.000Z | browser_main.js | barelyhuman/apex | ddde55b0d2955ab6bdd2b4bbf5b615b31eebeed8 | [
"MIT"
] | null | null | null | (function () {
let currentCode = ''
const fontSizeInput = document.getElementById('font-size-input')
const hightlightCheckbox = document.getElementById('hightlight-checkbox')
let highlight = true
fontSizeInput.addEventListener('change', () => {
refreshEditor()
})
hightlightCheckbox.addEventListener... | 23.434783 | 75 | 0.623377 |
1cef91b4d83ef5209f2468f216fc3efd25ac5c25 | 144 | css | CSS | client/src/containers/EditEpisodes/EditEpisodes.css | toshvelaga/wavvy-clean | e04f196f93562dda001527c648d60ed6f1b76e3e | [
"MIT"
] | 10 | 2021-02-13T11:48:06.000Z | 2021-05-10T03:51:47.000Z | client/src/containers/EditEpisodes/EditEpisodes.css | toshvelaga/wavvy-clean | e04f196f93562dda001527c648d60ed6f1b76e3e | [
"MIT"
] | null | null | null | client/src/containers/EditEpisodes/EditEpisodes.css | toshvelaga/wavvy-clean | e04f196f93562dda001527c648d60ed6f1b76e3e | [
"MIT"
] | 5 | 2021-02-09T09:35:04.000Z | 2022-03-14T03:27:36.000Z | .edit-container {
width: 65%;
margin: 0 auto;
padding: 20px;
background-color: #f6f6f6;
/* box-shadow: 0 0 20px 0 rgb(222, 223, 224); */
}
| 18 | 49 | 0.631944 |