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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4430316763265d3d00b12bb867411ea6f2cfb360 | 879 | sql | SQL | okapia/assets/config/init.sql | soleverlee/ben | d5ffbf9b4e7387a6b05a624a100c183306fcd872 | [
"BSD-3-Clause"
] | 1 | 2020-09-03T18:15:56.000Z | 2020-09-03T18:15:56.000Z | okapia/assets/config/init.sql | soleverlee/ben | d5ffbf9b4e7387a6b05a624a100c183306fcd872 | [
"BSD-3-Clause"
] | null | null | null | okapia/assets/config/init.sql | soleverlee/ben | d5ffbf9b4e7387a6b05a624a100c183306fcd872 | [
"BSD-3-Clause"
] | null | null | null | create table meta_data(
id int not null primary key,
content BLOB not null
);
create table structured_item(
id TEXT not null primary key,
type int not null,
meta BLOB not null,
content BLOB not null
);
create table album(
id TEXT not null primary key,
content BLOB not null
);
-- https://github.com/te... | 21.975 | 74 | 0.731513 |
a6d11c7e3e4fa41617a8046e576a744344c374d9 | 98 | sql | SQL | src/test/resources/sql/drop_table/89d828f7.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/drop_table/89d828f7.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/drop_table/89d828f7.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:updatable_views.sql ln:637 expect:true
DROP TABLE base_tbl_parent, base_tbl_child CASCADE
| 32.666667 | 50 | 0.836735 |
a54d146d8484063eb7e502c3602ac136b9b39724 | 224 | kt | Kotlin | MaterialExample/app/src/main/java/com/example/materialexample/Sports.kt | sad786/AndroidProjects | b87caf8ac3668f96629677ed5342b89ac151629a | [
"MIT"
] | null | null | null | MaterialExample/app/src/main/java/com/example/materialexample/Sports.kt | sad786/AndroidProjects | b87caf8ac3668f96629677ed5342b89ac151629a | [
"MIT"
] | null | null | null | MaterialExample/app/src/main/java/com/example/materialexample/Sports.kt | sad786/AndroidProjects | b87caf8ac3668f96629677ed5342b89ac151629a | [
"MIT"
] | null | null | null | package com.example.materialexample
class Sports(private val title:String,private val info:String, private val imageResource:Int)
{
fun getResource() = imageResource
fun getTitle() = title
fun getInfo() = info
} | 28 | 93 | 0.745536 |
f74b733b0aaf1091bfa526972af364dcd834a648 | 771 | h | C | System/Library/PrivateFrameworks/CalendarDaemon.framework/CalendarDaemon-Structs.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 2 | 2021-11-02T09:23:27.000Z | 2022-03-28T08:21:57.000Z | System/Library/PrivateFrameworks/CalendarDaemon.framework/CalendarDaemon-Structs.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/CalendarDaemon.framework/CalendarDaemon-Structs.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 1 | 2022-03-28T08:21:59.000Z | 2022-03-28T08:21:59.000Z | /*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:37:00 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/CalendarDae... | 33.521739 | 130 | 0.648508 |
dfb2db6974f5ba710a0d2e12fe8e532944159d73 | 1,563 | ts | TypeScript | src/store/modules/review.ts | Company-Report-Explorer/frontend | af2c4496873d9ab8fe8b34b0c94a73a4131eefe6 | [
"MIT"
] | null | null | null | src/store/modules/review.ts | Company-Report-Explorer/frontend | af2c4496873d9ab8fe8b34b0c94a73a4131eefe6 | [
"MIT"
] | 10 | 2022-01-20T13:10:11.000Z | 2022-02-15T00:52:00.000Z | src/store/modules/review.ts | Company-Report-Explorer/frontend | af2c4496873d9ab8fe8b34b0c94a73a4131eefe6 | [
"MIT"
] | null | null | null | import { Commit } from "vuex";
import { callReviewApi } from "@/api/review";
import { ReviewState, ReviewResult } from "@/models/review";
const state: ReviewState = {
reviews: [],
isEnd: false,
};
const getters = {
allReviews: (state: ReviewState) => state.reviews,
isAllReviews: (state: ReviewState) => state... | 20.84 | 64 | 0.611644 |
50786b59df61cc69d715b38e1f28446640965e57 | 2,056 | go | Go | cmd/info.go | pavelhadzhiev/story-builder | 264c13edc7509f659d5ae4dde2f031ecfc3190a4 | [
"Apache-2.0"
] | null | null | null | cmd/info.go | pavelhadzhiev/story-builder | 264c13edc7509f659d5ae4dde2f031ecfc3190a4 | [
"Apache-2.0"
] | null | null | null | cmd/info.go | pavelhadzhiev/story-builder | 264c13edc7509f659d5ae4dde2f031ecfc3190a4 | [
"Apache-2.0"
] | null | null | null | // Copyright © 2019 Pavel Hadzhiev <p.hadzhiev96@gmail.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... | 25.7 | 84 | 0.700389 |
0bcf4640f16c8a4f10846c3ab69ea83a45d243b9 | 55 | js | JavaScript | node_modules/styled-icons/boxicons-solid/AlarmOff/AlarmOff.esm.js | chs6558/chs6558.github.io | 32dd0275105d1db5b085d3162126b0e847ec9c16 | [
"MIT"
] | null | null | null | node_modules/styled-icons/boxicons-solid/AlarmOff/AlarmOff.esm.js | chs6558/chs6558.github.io | 32dd0275105d1db5b085d3162126b0e847ec9c16 | [
"MIT"
] | null | null | null | node_modules/styled-icons/boxicons-solid/AlarmOff/AlarmOff.esm.js | chs6558/chs6558.github.io | 32dd0275105d1db5b085d3162126b0e847ec9c16 | [
"MIT"
] | null | null | null | export * from '@styled-icons/boxicons-solid/AlarmOff';
| 27.5 | 54 | 0.763636 |
7f78e2557dca18ece493bcf0aae16cdfb201ab4e | 125 | go | Go | go/web/handler/openapi/water.go | ikemoti/F_2002_1 | 8d020af6f092155ec9975f9482ea4c277370520c | [
"MIT"
] | null | null | null | go/web/handler/openapi/water.go | ikemoti/F_2002_1 | 8d020af6f092155ec9975f9482ea4c277370520c | [
"MIT"
] | 34 | 2020-11-01T15:25:59.000Z | 2020-11-19T15:42:08.000Z | go/web/handler/openapi/water.go | ikemoti/F_2002_1 | 8d020af6f092155ec9975f9482ea4c277370520c | [
"MIT"
] | 1 | 2020-11-07T04:07:27.000Z | 2020-11-07T04:07:27.000Z | package openapi
type Water struct {
Id int `json:"id"`
Name string `json:"name"`
Value float32 `json:"value"`
}
| 15.625 | 29 | 0.632 |
7a6f39d1444ad908cac335efed670e3d7b7ecf8b | 2,593 | rb | Ruby | app/models/pb_core_instantiation.rb | WGBH/AAPB2 | 18b0de023d3c09f8f750f53f28a7695ac9dfa8d5 | [
"Apache-2.0"
] | 11 | 2015-03-24T09:37:59.000Z | 2018-09-11T21:19:26.000Z | app/models/pb_core_instantiation.rb | WGBH/AAPB2 | 18b0de023d3c09f8f750f53f28a7695ac9dfa8d5 | [
"Apache-2.0"
] | 1,209 | 2015-01-05T19:51:15.000Z | 2019-07-08T14:48:19.000Z | app/models/pb_core_instantiation.rb | WGBH/AAPB2 | 18b0de023d3c09f8f750f53f28a7695ac9dfa8d5 | [
"Apache-2.0"
] | 6 | 2015-08-18T13:51:33.000Z | 2019-02-09T22:58:55.000Z | class PBCoreInstantiation
def initialize(rexml_or_media_type, duration = nil)
# Not sure why we're using conditional logic on duration, so
# leaving that as-is, but should probably rethink.
if duration
@media_type = rexml_or_media_type
@duration = duration
else
@rexml = rexml_or_medi... | 25.673267 | 155 | 0.709988 |
39bb5facf24ba2a0c9306c173524de18d011d3cf | 281 | asm | Assembly | programs/oeis/173/A173036.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/173/A173036.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/173/A173036.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A173036: a(n) = binomial(n+1, 2) + 13.
; 13,14,16,19,23,28,34,41,49,58,68,79,91,104,118,133,149,166,184,203,223,244,266,289,313,338,364,391,419,448,478,509,541,574,608,643,679,716,754,793,833,874,916,959,1003,1048,1094,1141,1189,1238,1288,1339,1391
sub $1,$0
bin $1,2
add $1,13
| 40.142857 | 209 | 0.686833 |
127c1d7bdc49650a3bb20c2c21ffc7ed569787b0 | 2,413 | h | C | mpc5746r_sdk_demo/mpc5746r_sdk_demo_Z4_1/Sources/can.h | lawdon/NXP_MPC57XX_Demo | e275c57759f382bcc492a4fec29cc25adf6b7feb | [
"MIT"
] | null | null | null | mpc5746r_sdk_demo/mpc5746r_sdk_demo_Z4_1/Sources/can.h | lawdon/NXP_MPC57XX_Demo | e275c57759f382bcc492a4fec29cc25adf6b7feb | [
"MIT"
] | null | null | null | mpc5746r_sdk_demo/mpc5746r_sdk_demo_Z4_1/Sources/can.h | lawdon/NXP_MPC57XX_Demo | e275c57759f382bcc492a4fec29cc25adf6b7feb | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2013 - 2015, Freescale Semiconductor, Inc.
* Copyright 2016-2019 NXP
* All rights reserved.
*
* THIS SOFTWARE IS PROVIDED BY NXP "AS IS" AND ANY EXPRESSED OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AR... | 33.513889 | 85 | 0.501036 |
f75ae24355797d90b755a4e6b0e45ee936406aed | 457 | h | C | NetServer/HttpMethod.h | zsccc/4 | 172f3e019fd338533d0f0ee9cc05cd8f7e545659 | [
"MIT"
] | null | null | null | NetServer/HttpMethod.h | zsccc/4 | 172f3e019fd338533d0f0ee9cc05cd8f7e545659 | [
"MIT"
] | null | null | null | NetServer/HttpMethod.h | zsccc/4 | 172f3e019fd338533d0f0ee9cc05cd8f7e545659 | [
"MIT"
] | null | null | null | #ifndef __HTTPMETHOD_H_
#define __HTTPMETHOD_H_
#include "HttpStruct.h"
#include <string>
void HttpMethodGet(const HttpRequestContext &, std::string &, std::string);
void HttpMethodPost(const HttpRequestContext &, std::string &, std::string);
void readFile(std::string path, std::string &responsecontext);
void execCGI(... | 38.083333 | 79 | 0.765864 |
f0574e6e18439c3b0140a8ed7ddefec8cd1bf416 | 299 | py | Python | tests/core/scenario_finder/file_filters/test_file_filter.py | nikitanovosibirsk/vedro | e975a1c1eb065bc6caa32c41c0d7576ee6d284db | [
"Apache-2.0"
] | 2 | 2021-08-24T12:49:30.000Z | 2022-01-23T07:21:25.000Z | tests/core/scenario_finder/file_filters/test_file_filter.py | nikitanovosibirsk/vedro | e975a1c1eb065bc6caa32c41c0d7576ee6d284db | [
"Apache-2.0"
] | 20 | 2015-12-09T11:04:23.000Z | 2022-03-20T09:18:17.000Z | tests/core/scenario_finder/file_filters/test_file_filter.py | nikitanovosibirsk/vedro | e975a1c1eb065bc6caa32c41c0d7576ee6d284db | [
"Apache-2.0"
] | 3 | 2015-12-09T07:31:23.000Z | 2022-01-28T11:03:24.000Z | from pytest import raises
from vedro._core._scenario_finder._file_filters import FileFilter
def test_file_filter():
with raises(Exception) as exc_info:
FileFilter()
assert exc_info.type is TypeError
assert "Can't instantiate abstract class FileFilter" in str(exc_info.value)
| 24.916667 | 79 | 0.769231 |
91ff5a374ffd3530492654296c0ddf9da2bc3dbe | 1,556 | sql | SQL | user.sql | habibmuhammadthariq/sevice-motor | 1823d3904f678b2fd197a9c6e74cf84128ec3289 | [
"MIT"
] | null | null | null | user.sql | habibmuhammadthariq/sevice-motor | 1823d3904f678b2fd197a9c6e74cf84128ec3289 | [
"MIT"
] | null | null | null | user.sql | habibmuhammadthariq/sevice-motor | 1823d3904f678b2fd197a9c6e74cf84128ec3289 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Nov 02, 2019 at 10:18 AM
-- Server version: 10.3.16-MariaDB
-- PHP Version: 7.3.7
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @O... | 25.508197 | 115 | 0.681877 |
0bc7aaa0d29902e27423f77f3360dbf6f6b04ddb | 128 | sql | SQL | Chapter01/code/data_import_gb_poi.sql | PacktPublishing/Mastering-Postgis | 110e71c2fdd023213792701124f0c8c4c0d051a2 | [
"MIT"
] | null | null | null | Chapter01/code/data_import_gb_poi.sql | PacktPublishing/Mastering-Postgis | 110e71c2fdd023213792701124f0c8c4c0d051a2 | [
"MIT"
] | null | null | null | Chapter01/code/data_import_gb_poi.sql | PacktPublishing/Mastering-Postgis | 110e71c2fdd023213792701124f0c8c4c0d051a2 | [
"MIT"
] | 1 | 2021-05-08T10:17:31.000Z | 2021-05-08T10:17:31.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:93f077196d05561b7c00c725b65e8a0382257a9ad83f811e58dbdd0b27ed016d
size 922
| 32 | 75 | 0.882813 |
24fb08ef1dff6ec685792e40c9835e173b235cfa | 7,607 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1421.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1421.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1421.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 %r10
push %r12
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x11762, %rsi
lea addresses_UC_ht+0x15f62, %rdi
nop
dec %r12
mov $3, %rcx
rep movsq
nop
nop
sub $43772, %r14
lea addresses_A_ht+0x790, %r15
clflush (%r15)
nop
nop
nop
nop
sub ... | 37.658416 | 2,999 | 0.658604 |
b1854cdd0a4c91e59c81112e0eae84102619e0f3 | 96 | css | CSS | src/components/PickupSlot/style.css | Matheuslm10/vending-machine | 2b6aca07f84e538e0645b730d1ab023c632549cc | [
"MIT"
] | null | null | null | src/components/PickupSlot/style.css | Matheuslm10/vending-machine | 2b6aca07f84e538e0645b730d1ab023c632549cc | [
"MIT"
] | null | null | null | src/components/PickupSlot/style.css | Matheuslm10/vending-machine | 2b6aca07f84e538e0645b730d1ab023c632549cc | [
"MIT"
] | null | null | null | .pickup-slot {
border: 2px solid black;
margin-top: 25px;
height: 35%;
padding: 10px;
}
| 13.714286 | 26 | 0.635417 |
5953eb9dfc46fda518f9ec3f286710c5c4048ac8 | 21,466 | c | C | src/microrl.c | mindnever/microrl | e2dbb1e13cbe730fe18bb383f9a69b71e9e12ba3 | [
"Apache-2.0"
] | null | null | null | src/microrl.c | mindnever/microrl | e2dbb1e13cbe730fe18bb383f9a69b71e9e12ba3 | [
"Apache-2.0"
] | null | null | null | src/microrl.c | mindnever/microrl | e2dbb1e13cbe730fe18bb383f9a69b71e9e12ba3 | [
"Apache-2.0"
] | null | null | null | /*
Author: Samoylov Eugene aka Helius (ghelius@gmail.com)
BUGS and TODO:
-- add echo_off feature
-- rewrite history for use more than 256 byte buffer
*/
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include "microrl.h"
#ifdef _USE_LIBC_STDIO
#include <stdio.h>
#endif
// #define DBG(...) fpr... | 29.047361 | 118 | 0.467577 |
b9683bd672e580bb5b04eec8595fab9d7c2e45bf | 649 | h | C | ui/plot/textstyle.h | inet-framework/LIMoSim | d9bdcefe82d41d4c8fd665a268843763fce59363 | [
"MIT"
] | 7 | 2017-07-17T07:13:03.000Z | 2021-10-12T08:39:17.000Z | ui/plot/textstyle.h | tudo-cni/LIMoSim | f0e4c8d964da18dffecea040775f07da3f5a5d46 | [
"MIT"
] | 1 | 2018-03-08T10:28:01.000Z | 2018-03-08T10:28:01.000Z | ui/plot/textstyle.h | tudo-cni/LIMoSim | f0e4c8d964da18dffecea040775f07da3f5a5d46 | [
"MIT"
] | 7 | 2017-09-13T09:05:20.000Z | 2022-01-04T17:20:20.000Z | #ifndef LIMOSIM_TEXTSTYLE_H
#define LIMOSIM_TEXTSTYLE_H
#include <QString>
namespace LIMoSim
{
class TextStyle
{
public:
TextStyle(const QString &_font="Arial", int _fontSize=10, const QString &_color="black", int _rotation=0, int _horizontalAlignment=Qt::AlignHCenter, int _verticalAlignment=Qt::AlignVCenter);
... | 19.666667 | 194 | 0.711864 |
8c0717c6fc030860775b281bab949de2123f47c1 | 5,630 | swift | Swift | NHS-COVID-19/AppTests/Sources/KeychainStoredTests.swift | faberga/covid-19-app-ios-ag-public | ee43e47aa1c082ea0bbfb0a971327dea807e4533 | [
"MIT"
] | 135 | 2020-08-13T12:37:37.000Z | 2021-02-12T06:07:22.000Z | NHS-COVID-19/AppTests/Sources/KeychainStoredTests.swift | faberga/covid-19-app-ios-ag-public | ee43e47aa1c082ea0bbfb0a971327dea807e4533 | [
"MIT"
] | 15 | 2020-09-21T11:47:19.000Z | 2021-01-11T17:08:29.000Z | NHS-COVID-19/AppTests/Sources/KeychainStoredTests.swift | faberga/covid-19-app-ios-ag-public | ee43e47aa1c082ea0bbfb0a971327dea807e4533 | [
"MIT"
] | 17 | 2020-08-13T13:37:38.000Z | 2020-12-25T20:13:20.000Z | //
// Copyright © 2020 NHSX. All rights reserved.
//
import Foundation
import XCTest
@testable import Domain
class KeychainStoredTests: XCTestCase {
private var storage: KeychainStored<Data>!
override func tearDown() {
super.tearDown()
storage.wrappedValue = nil
}
func testCa... | 34.968944 | 97 | 0.620071 |
3bf59c7e8e6f81a6f08884d8996e931665f6833e | 564 | h | C | Game.h | kentaromiura/Hydra | e285cefbb2c1b11635ff66391d85be53c338ee0f | [
"MIT"
] | null | null | null | Game.h | kentaromiura/Hydra | e285cefbb2c1b11635ff66391d85be53c338ee0f | [
"MIT"
] | null | null | null | Game.h | kentaromiura/Hydra | e285cefbb2c1b11635ff66391d85be53c338ee0f | [
"MIT"
] | null | null | null | //
// Created by Kenta on 17/09/2018.
//
#ifndef HYDRA_GAME_H
#define HYDRA_GAME_H
#include <SDL.h>
#include <SDL_main.h>
#include "GameState.h"
#include "Relax.h"
#include "Actions.h"
class Game {
private:
bool isRunning = false;
const Uint32 FPS = 60;
const Uint32 MAX_FRAME_RENDER_TIME = 1000 / FPS; ... | 16.588235 | 64 | 0.675532 |
79b11be15e9fbb348c73de252762157f3ce245ca | 770 | sql | SQL | tests/input/pandoc-codeblock-include/query1.sql | Kristinn-Stefansson/pandocker | a9e7205a187ad0c3134bfd9c704de58ec89539c5 | [
"BSD-3-Clause"
] | 128 | 2017-12-21T13:24:45.000Z | 2022-03-30T13:12:53.000Z | tests/input/pandoc-codeblock-include/query1.sql | Kristinn-Stefansson/pandocker | a9e7205a187ad0c3134bfd9c704de58ec89539c5 | [
"BSD-3-Clause"
] | 141 | 2017-06-16T10:17:19.000Z | 2022-03-25T15:17:21.000Z | tests/input/pandoc-codeblock-include/query1.sql | Kristinn-Stefansson/pandocker | a9e7205a187ad0c3134bfd9c704de58ec89539c5 | [
"BSD-3-Clause"
] | 27 | 2017-12-21T13:26:34.000Z | 2022-03-05T18:38:21.000Z | WITH RECURSIVE
x(i)
AS (
VALUES(0)
UNION ALL
SELECT i + 1 FROM x WHERE i < 101
),
Z(Ix, Iy, Cx, Cy, X, Y, I)
AS (
SELECT Ix, Iy, X::FLOAT, Y::FLOAT, X::FLOAT, Y::FLOAT, 0
FROM
(SELECT -2.2 + 0.031 * i, i FROM x) AS xgen(x,ix)
CROSS JOIN
(SELECT -1.5 + 0.031 * i, i FROM x) AS ygen(y,i... | 20.263158 | 73 | 0.467532 |
f154b261f74ae03d35e83a39c2f5b1bb7b32c42e | 3,482 | rb | Ruby | site-cookbooks/jenkins/recipes/server.rb | haseebalam/cluster_chef | caa1e3b56f4721b192570e82f3d5e1fffdef8ca2 | [
"Apache-2.0"
] | 1 | 2016-11-11T17:54:26.000Z | 2016-11-11T17:54:26.000Z | site-cookbooks/jenkins/recipes/server.rb | haseebalam/cluster_chef | caa1e3b56f4721b192570e82f3d5e1fffdef8ca2 | [
"Apache-2.0"
] | null | null | null | site-cookbooks/jenkins/recipes/server.rb | haseebalam/cluster_chef | caa1e3b56f4721b192570e82f3d5e1fffdef8ca2 | [
"Apache-2.0"
] | 1 | 2015-10-30T12:10:12.000Z | 2015-10-30T12:10:12.000Z | #
# Author:: Doug MacEachern <dougm@vmware.com>
# Cookbook Name:: jenkins
# Recipe:: default
#
# Copyright 2010, VMware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://ww... | 30.278261 | 76 | 0.676335 |
5b28f0946e863f9fd1bb95d09198c4e3b3eb5206 | 471 | h | C | hubo-ach/include/hubo/hubo-socketcan.h | thedancomplex/mds-ach | 95ad7da8c9679134c9db616c378d71fc472c1136 | [
"BSD-3-Clause"
] | null | null | null | hubo-ach/include/hubo/hubo-socketcan.h | thedancomplex/mds-ach | 95ad7da8c9679134c9db616c378d71fc472c1136 | [
"BSD-3-Clause"
] | null | null | null | hubo-ach/include/hubo/hubo-socketcan.h | thedancomplex/mds-ach | 95ad7da8c9679134c9db616c378d71fc472c1136 | [
"BSD-3-Clause"
] | null | null | null | /* -*- indent-tabs-mode:t; tab-width: 8; c-basic-offset: 8 -*- */
#ifndef HUBO_SOCKETCAN_H
#define HUBO_SOCKETCAN_H
#ifdef __cplusplus
extern "C" {
#endif
typedef int hubo_can_t ;
extern hubo_can_t hubo_socket[4];
int sendCan(hubo_can_t, struct can_frame *f);
void openAllCAN(int vCan);
int readCan(hubo_can_t skt, ... | 20.478261 | 66 | 0.749469 |
78b8dba3947e294756d8f59132d0f6f94b44273c | 600 | asm | Assembly | programs/oeis/009/A009965.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/009/A009965.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/009/A009965.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A009965: Powers of 21.
; 1,21,441,9261,194481,4084101,85766121,1801088541,37822859361,794280046581,16679880978201,350277500542221,7355827511386641,154472377739119461,3243919932521508681,68122318582951682301,1430568690241985328321,30041942495081691894741,630880792396715529789561,13248496640331026125580781,278218429446... | 85.714286 | 543 | 0.911667 |
2abb4a60dd5c2a2650e26f00438cd23ebe9ae915 | 589 | swift | Swift | Tests/PredicateFlowTests/Models/Person.swift | excursus/PredicateFlow | 054db4657775701a3b17381a7327f25fe53c0f1a | [
"MIT"
] | 104 | 2018-02-26T21:43:55.000Z | 2022-01-29T18:16:16.000Z | Tests/PredicateFlowTests/Models/Person.swift | excursus/PredicateFlow | 054db4657775701a3b17381a7327f25fe53c0f1a | [
"MIT"
] | 6 | 2019-07-18T17:14:28.000Z | 2020-07-21T13:32:35.000Z | Tests/PredicateFlowTests/Models/Person.swift | excursus/PredicateFlow | 054db4657775701a3b17381a7327f25fe53c0f1a | [
"MIT"
] | 11 | 2018-02-26T22:37:47.000Z | 2022-03-14T01:21:18.000Z | //
// Person.swift
// PredicateFlow_Example
//
// Created by Andrea Del Fante on 19/02/18.
// Copyright © 2018 CocoaPods. All rights reserved.
//
import PredicateFlow
class Person: PredicateSchema {
enum Sex {
case male
case female
}
private var name: String = ""
private var birth: Date?
private var ... | 20.310345 | 79 | 0.687606 |
862d152274f02b3e8efe183a5066a0b52b773872 | 290 | kt | Kotlin | src/main/kotlin/dev/themeinerlp/skinserver/utils/HeadView.kt | TheMeinerLP/SkinServer | df65f32295ab5ccb63e407d7e6912f1c67989928 | [
"MIT"
] | null | null | null | src/main/kotlin/dev/themeinerlp/skinserver/utils/HeadView.kt | TheMeinerLP/SkinServer | df65f32295ab5ccb63e407d7e6912f1c67989928 | [
"MIT"
] | 1 | 2021-11-12T11:12:57.000Z | 2021-11-12T11:12:57.000Z | src/main/kotlin/dev/themeinerlp/skinserver/utils/HeadView.kt | TheMeinerLP/SkinServer | df65f32295ab5ccb63e407d7e6912f1c67989928 | [
"MIT"
] | 1 | 2021-10-03T17:53:45.000Z | 2021-10-03T17:53:45.000Z | package dev.themeinerlp.skinserver.utils
enum class HeadView(val leftHead: Int, val topHead: Int, val overlayLeft: Int, val overlayTop: Int) {
Front(8, 8, 40, 8),
Right(0, 8, 32, 8),
Left(16, 8, 48, 8),
Back(24, 8, 56, 8),
Top(8, 0, 40, 0),
Bottom(16, 0, 48, 0),
} | 26.363636 | 101 | 0.596552 |
a2dcc9e5ad063bf80fba8d8570282b05d8e13f49 | 4,549 | swift | Swift | PhotoFeedDemoTests/UseCases/Feed/UI/UIKit/Feed/FeedViewControllerTests.swift | surakamy/PhotoFeedDemo | 1f9a1cf52d78872f543a75be924430f361802416 | [
"MIT"
] | 5 | 2020-12-29T14:48:02.000Z | 2022-03-20T09:23:07.000Z | PhotoFeedDemoTests/UseCases/Feed/UI/UIKit/Feed/FeedViewControllerTests.swift | surakamy/PhotoFeedDemo | 1f9a1cf52d78872f543a75be924430f361802416 | [
"MIT"
] | null | null | null | PhotoFeedDemoTests/UseCases/Feed/UI/UIKit/Feed/FeedViewControllerTests.swift | surakamy/PhotoFeedDemo | 1f9a1cf52d78872f543a75be924430f361802416 | [
"MIT"
] | null | null | null | //
// FeedViewControllerTests.swift
// PhotoFeedDemoTests
//
// Created by Dmytro Kholodov on 17.12.2020.
//
import XCTest
@testable import PhotoFeedDemo
class FeedViewInteractorTests: XCTestCase {
func test_view_reloadsOnViewDidLoad() {
let (sut, interactor) = makeSUT()
sut.loadViewIfNeeded(... | 31.157534 | 131 | 0.697296 |
0cf19d7af68dc81b523b12d529be9b1094af28ac | 891 | py | Python | setup.py | jjhelmus/break_my_python | 4f8165fa3ae2bbe72b21f49156598387ee18b94a | [
"BSD-3-Clause"
] | null | null | null | setup.py | jjhelmus/break_my_python | 4f8165fa3ae2bbe72b21f49156598387ee18b94a | [
"BSD-3-Clause"
] | null | null | null | setup.py | jjhelmus/break_my_python | 4f8165fa3ae2bbe72b21f49156598387ee18b94a | [
"BSD-3-Clause"
] | null | null | null | from setuptools import setup
with open('README.md') as f:
long_description = f.read()
setup(
name='break_my_python',
version='0.0.2',
description='This package tries to breaks your python interpreter, do not install it',
long_description=long_description,
author='Jonathan J. Helmus',
autho... | 31.821429 | 90 | 0.655443 |
5a093c0f386f900625d577474c4acc7dc6232d00 | 229 | kt | Kotlin | permission-base/src/main/kotlin/com/github/b1412/permission/entity/Rule.kt | b1412/permission-api | e184a5313bab6a1485d6c48d3a8a7573e2ecd310 | [
"Apache-2.0"
] | 2 | 2019-09-05T05:37:08.000Z | 2019-11-12T04:38:55.000Z | permission-base/src/main/kotlin/com/github/b1412/permission/entity/Rule.kt | b1412/permission-api | e184a5313bab6a1485d6c48d3a8a7573e2ecd310 | [
"Apache-2.0"
] | 12 | 2019-09-04T14:24:32.000Z | 2019-10-05T04:12:02.000Z | permission-base/src/main/kotlin/com/github/b1412/permission/entity/Rule.kt | b1412/kotlin-cannon | ee02bf12022ad23b334cb90b3f314be048c3d8eb | [
"Apache-2.0"
] | 2 | 2021-02-22T22:05:06.000Z | 2021-02-23T21:34:14.000Z | package com.github.b1412.permission.entity
import com.github.b1412.api.entity.BaseEntity
import java.io.Serializable
import javax.persistence.Entity
@Entity
data class Rule(
var name: String?
) : BaseEntity(), Serializable
| 20.818182 | 45 | 0.79476 |
f017060fe8d577537062aa07dd5e2ceb544e0cb8 | 1,131 | js | JavaScript | backend/config/index.js | booker1337/booker_mvp | 63213ba47245fb91f86ace7c57007cd660fac154 | [
"MIT"
] | null | null | null | backend/config/index.js | booker1337/booker_mvp | 63213ba47245fb91f86ace7c57007cd660fac154 | [
"MIT"
] | 9 | 2020-08-18T07:32:29.000Z | 2020-09-17T17:21:30.000Z | backend/config/index.js | booker1337/booker_mvp | 63213ba47245fb91f86ace7c57007cd660fac154 | [
"MIT"
] | 3 | 2020-08-18T01:22:04.000Z | 2020-08-19T12:06:16.000Z | require('dotenv').config();
const logger = require('./../util/logger');
const crypto = require('crypto');
const NODE_ENV = process.env.NODE_ENV;
logger.info(`Server started in ${NODE_ENV} mode`);
if (!NODE_ENV) logger.error('No NODE_ENV was set!');
if (!process.env.DB_URI) logger.error('DB_URI was not found!');
if (... | 41.888889 | 172 | 0.737401 |
275ca0c07405b698bdb4edc7bebbfa70cf48d478 | 55 | css | CSS | src/css/ja-fix.css | noyanyan/ja.reactjs.org | 2505a2888acb4c099a6f80a1489a1f2f374282f5 | [
"CC-BY-4.0"
] | 175 | 2019-01-31T00:01:53.000Z | 2022-03-30T00:04:40.000Z | src/css/ja-fix.css | noyanyan/ja.reactjs.org | 2505a2888acb4c099a6f80a1489a1f2f374282f5 | [
"CC-BY-4.0"
] | 459 | 2019-01-31T00:13:53.000Z | 2022-03-31T15:26:45.000Z | src/css/ja-fix.css | noyanyan/ja.reactjs.org | 2505a2888acb4c099a6f80a1489a1f2f374282f5 | [
"CC-BY-4.0"
] | 165 | 2019-01-31T00:04:42.000Z | 2022-03-26T06:25:53.000Z | .em-ja {
font-weight: bolder;
font-style: normal;
} | 13.75 | 22 | 0.636364 |
1f978970a289c0ae40283e6f7e4a7ec72bfc4293 | 449 | css | CSS | src/pages/index.module.css | funnicus/helikuparinen.fi | 9239763ca7d36ea18d59a5e8a4f2dddd3fa89ab8 | [
"MIT"
] | 1 | 2021-12-22T14:51:55.000Z | 2021-12-22T14:51:55.000Z | src/pages/index.module.css | funnicus/helikuparinen.fi | 9239763ca7d36ea18d59a5e8a4f2dddd3fa89ab8 | [
"MIT"
] | null | null | null | src/pages/index.module.css | funnicus/helikuparinen.fi | 9239763ca7d36ea18d59a5e8a4f2dddd3fa89ab8 | [
"MIT"
] | null | null | null | .Header {
text-align: center;
font-family: sans-serif;
height: 100vh;
}
.Header header {
height: 100%;
padding: 35vh 0 0;
color: #000000;
}
.Header h1 {
font-size: 4em;
margin: auto;
color: #000000;
}
.Header h1 {
animation: fadeInHeader 2s ease-in both;
animation-delay: 2s;
}
@keyframes fadeInHeade... | 13.606061 | 42 | 0.625835 |
e75d48becc02acab48c74bf07610eccd711f908c | 745 | js | JavaScript | src/games/.eslintrc.js | siggame/Cerveau | d327d7daa21c74617e74aec8a0dbde867828f22c | [
"MIT"
] | 9 | 2017-04-12T16:06:20.000Z | 2022-02-20T09:50:00.000Z | src/games/.eslintrc.js | siggame/Cerveau | d327d7daa21c74617e74aec8a0dbde867828f22c | [
"MIT"
] | 32 | 2015-10-02T16:45:27.000Z | 2020-11-07T15:08:40.000Z | src/games/.eslintrc.js | siggame/Cerveau | d327d7daa21c74617e74aec8a0dbde867828f22c | [
"MIT"
] | 12 | 2015-11-14T00:36:27.000Z | 2022-03-03T15:29:11.000Z | // @ts-check
/* eslint-env node */
/** @type {import("eslint").Linter.Config} */
const gamesEslintConfig = {
extends: ["../../.eslintrc.js"],
rules: {
// each GameObject file initially has unused variables, and sometimes
// the variables will never be used, but MUST be part of the function
... | 32.391304 | 77 | 0.644295 |
3e870effdb88145a7ad0ec588c3d1fa22e0b1acc | 549 | h | C | include/engine.h | FlorianRossignol/TurnBaseServer | fabe91abdb107539b11f9633fbe463016f359d22 | [
"MIT"
] | null | null | null | include/engine.h | FlorianRossignol/TurnBaseServer | fabe91abdb107539b11f9633fbe463016f359d22 | [
"MIT"
] | null | null | null | include/engine.h | FlorianRossignol/TurnBaseServer | fabe91abdb107539b11f9633fbe463016f359d22 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <system.h>
#include <SFML/Graphics/RenderWindow.hpp>
class Engine
{
public:
Engine();
void AddSystem(System* system);
void AddDrawSystem(DrawInterface* drawSystem);
void AddDrawImGuiSystem(DrawImGuiInterface* drawImGuiSystem);
void Run();
private:
void ... | 21.96 | 65 | 0.704918 |
0b296cbeff42f183e0f9446e0c1d52f582289ecd | 1,129 | py | Python | neuroscout/resources/dataset.py | jdkent/neuroscout | 67aaafdf883988e2048197dc9ce4559a28e3b7b6 | [
"BSD-3-Clause"
] | 5 | 2018-07-16T16:23:21.000Z | 2021-08-20T15:43:23.000Z | neuroscout/resources/dataset.py | jdkent/neuroscout | 67aaafdf883988e2048197dc9ce4559a28e3b7b6 | [
"BSD-3-Clause"
] | 719 | 2018-07-09T17:19:57.000Z | 2022-03-30T15:30:59.000Z | neuroscout/resources/dataset.py | jdkent/neuroscout | 67aaafdf883988e2048197dc9ce4559a28e3b7b6 | [
"BSD-3-Clause"
] | 9 | 2019-07-10T17:45:31.000Z | 2021-08-30T21:51:21.000Z | from flask_apispec import MethodResource, marshal_with, doc, use_kwargs
from webargs import fields
from ..models import Dataset
from ..core import cache
from .utils import first_or_404
from ..schemas.dataset import DatasetSchema
class DatasetResource(MethodResource):
@doc(tags=['dataset'], summary='Get dataset by... | 35.28125 | 75 | 0.680248 |
8efa51a06d21adb3542f47f52a0c0f180044e649 | 76 | rb | Ruby | db/schema.rb | mrfishball/TicTacToeRubyRails | 7b90998a9d7b596421b53297d8a67d7a9528feea | [
"MIT"
] | null | null | null | db/schema.rb | mrfishball/TicTacToeRubyRails | 7b90998a9d7b596421b53297d8a67d7a9528feea | [
"MIT"
] | 2 | 2018-10-31T21:18:11.000Z | 2018-11-12T17:44:52.000Z | db/schema.rb | mrfishball/TicTacToeRubyRails | 7b90998a9d7b596421b53297d8a67d7a9528feea | [
"MIT"
] | null | null | null | ActiveRecord::Schema.define(version: 0) do
enable_extension "plpgsql"
end
| 19 | 42 | 0.789474 |
7081222c9f84594a4873e05924c35b50ad2a8355 | 1,506 | go | Go | pkg/ml/train/intertitle/train.go | liampulles/cabiria | c651f97c98c87e4bcfbadac07b60e5699093df34 | [
"MIT"
] | null | null | null | pkg/ml/train/intertitle/train.go | liampulles/cabiria | c651f97c98c87e4bcfbadac07b60e5699093df34 | [
"MIT"
] | null | null | null | pkg/ml/train/intertitle/train.go | liampulles/cabiria | c651f97c98c87e4bcfbadac07b60e5699093df34 | [
"MIT"
] | null | null | null | package intertitle
import (
"bufio"
"encoding/csv"
"fmt"
"io"
"os"
"strconv"
"github.com/liampulles/cabiria/pkg/ml"
)
// Train loads a list of intensity stats pointed to by csvPath,
// and trains a predictive intertitle model which is saved to modelPath
func Train(csvPath string, modelPath string) error {
//... | 19.815789 | 71 | 0.643426 |
2ffb8b8f4a13b67a4178e98fded02a57b07d99a3 | 2,522 | rs | Rust | src/main.rs | rbieniek/pdns-cli | 427382851aec29ede2d6764535c29dc9a4bac6c4 | [
"Apache-2.0"
] | 1 | 2022-02-05T06:59:45.000Z | 2022-02-05T06:59:45.000Z | src/main.rs | rbieniek/pdns-cli | 427382851aec29ede2d6764535c29dc9a4bac6c4 | [
"Apache-2.0"
] | null | null | null | src/main.rs | rbieniek/pdns-cli | 427382851aec29ede2d6764535c29dc9a4bac6c4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 Cumulus Cloud Software und Consulting GmbH & Co KG
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requ... | 35.027778 | 102 | 0.632831 |
4773cb71d6a0a781ae0c7ad7f5d00898e67a42b6 | 1,079 | html | HTML | manuscript/page-264/body.html | marvindanig/beyond-the-black-waters | 429258f7988abadf1f711c1585538ee9e39f6193 | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | manuscript/page-264/body.html | marvindanig/beyond-the-black-waters | 429258f7988abadf1f711c1585538ee9e39f6193 | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | manuscript/page-264/body.html | marvindanig/beyond-the-black-waters | 429258f7988abadf1f711c1585538ee9e39f6193 | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><p class="no-indent ">gone to see the rajah’s fireworks. No fires were lighted in the compound, no lamp in the dwelling. It was with some difficulty that even the door was opened to receive the master of the house. The furniture was in the holland wrappings in which Io... | 1,079 | 1,079 | 0.764597 |
f7915a332223eeb9ae57424a0a936fde2d8f2303 | 6,018 | h | C | qemu-4.2.0/roms/u-boot-sam460ex/arch/arm/include/asm/arch-at91/at91_pio.h | MisaZhu/qemu_raspi | 50d71ce87bb39470e6725f7428e4b6b9e1ed0359 | [
"Apache-2.0"
] | 8 | 2020-09-06T12:49:00.000Z | 2022-03-09T04:02:06.000Z | src/qemu/src-pmp/roms/u-boot-sam460ex/arch/arm/include/asm/arch-at91/at91_pio.h | newthis/PMP | ef5e05fb4612bb622a9e1039f772c6234b87df7d | [
"MIT"
] | null | null | null | src/qemu/src-pmp/roms/u-boot-sam460ex/arch/arm/include/asm/arch-at91/at91_pio.h | newthis/PMP | ef5e05fb4612bb622a9e1039f772c6234b87df7d | [
"MIT"
] | 7 | 2020-09-08T15:14:34.000Z | 2021-06-24T18:03:49.000Z | /*
* [origin: Linux kernel include/asm-arm/arch-at91/at91_pio.h]
*
* Copyright (C) 2005 Ivan Kokshaysky
* Copyright (C) SAN People
* Copyright (C) 2009 Jens Scharsig (js_at_ng@scharsoft.de)
*
* Parallel I/O Controller (PIO) - System peripherals registers.
* Based on AT91RM9200 datasheet revision E.
*
* This p... | 37.378882 | 71 | 0.745597 |
6ca44d321379702b5059fa6024728213234bafe4 | 1,998 | kt | Kotlin | remote/src/main/java/kr/ohyung/remote/response/CurrentLocationWeatherResponse.kt | androiddevnotesforks/android-mvi-redux | c1567d938af59c3ca09c8dc15675358ba1abc63a | [
"MIT"
] | 33 | 2020-10-26T09:16:17.000Z | 2021-08-17T07:55:00.000Z | remote/src/main/java/kr/ohyung/remote/response/CurrentLocationWeatherResponse.kt | JY-Dev/android-mvi-redux | 501261673ac1ed3fe539df2b8d14a37ee148554c | [
"MIT"
] | null | null | null | remote/src/main/java/kr/ohyung/remote/response/CurrentLocationWeatherResponse.kt | JY-Dev/android-mvi-redux | 501261673ac1ed3fe539df2b8d14a37ee148554c | [
"MIT"
] | 6 | 2020-11-07T21:52:54.000Z | 2021-06-18T05:46:50.000Z | /*
* Created by Lee Oh Hyung on 2020/10/18.
*/
package kr.ohyung.remote.response
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import kr.ohyung.data.model.WeatherDataModel
import kr.ohyung.remote.Response
@JsonClass(generateAdapter = true)
data class CurrentLocationWeatherResponse(
@field:J... | 26.289474 | 68 | 0.60961 |
0a49eefbd8dcc13028ac0a1ebb08346781cec453 | 7,965 | h | C | TDEngine2/include/editor/EditorActions.h | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 1 | 2019-07-15T01:14:15.000Z | 2019-07-15T01:14:15.000Z | TDEngine2/include/editor/EditorActions.h | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 76 | 2018-10-27T16:59:36.000Z | 2022-03-30T17:40:39.000Z | TDEngine2/include/editor/EditorActions.h | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 1 | 2019-07-29T02:02:08.000Z | 2019-07-29T02:02:08.000Z | /*!
\file EditorActions.h
\date 19.04.2020
\authors Kasimov Ildar
*/
#pragma once
#include "../utils/Utils.h"
#include "../utils/Types.h"
#include "../core/IBaseObject.h"
#include "../core/CBaseObject.h"
#include "../math/TMatrix4.h"
#include "../math/TVector3.h"
#include "../math/TQuaternion.h"
#include <string>... | 27.1843 | 148 | 0.736723 |
991c28df4ce7e1c35be3e8be84f8956fe4bb9f15 | 13,888 | c | C | machine_learning/slprj/raccel/fuzzy_simulator_intellihire/fuzzy_simulator_intellihire_data.c | caxenie/intellihire | 3f8e4a6ffc785410c9daada0395075eb4f629bb7 | [
"MIT"
] | null | null | null | machine_learning/slprj/raccel/fuzzy_simulator_intellihire/fuzzy_simulator_intellihire_data.c | caxenie/intellihire | 3f8e4a6ffc785410c9daada0395075eb4f629bb7 | [
"MIT"
] | null | null | null | machine_learning/slprj/raccel/fuzzy_simulator_intellihire/fuzzy_simulator_intellihire_data.c | caxenie/intellihire | 3f8e4a6ffc785410c9daada0395075eb4f629bb7 | [
"MIT"
] | 1 | 2020-01-05T01:20:37.000Z | 2020-01-05T01:20:37.000Z | #include "__cf_fuzzy_simulator_intellihire.h"
#include "fuzzy_simulator_intellihire.h"
#include "fuzzy_simulator_intellihire_private.h"
P rtP = { 1.0 , 1.0 , 2.0 , 0.0 , 0.0 , 0.0 , 2.0 , 0.0 , 1.0 , 2.0 , 1.0 ,
2.0 , 0.0 , 2.0 , 1.0 , 2.0 , 2.0 , 3.0 , 1.0 , 1.0 , 1.0 , 3.0 , 1.0 , 2.0 ,
3.0 , 2.0 , 3.0 , 1.0 , 3.0 , ... | 73.094737 | 77 | 0.495536 |
57772453bb8799ebb810298ecce43f8a0d08d5a6 | 1,393 | h | C | sources/VS/ThirdParty/wxWidgets/tests/asserthelper.h | Sasha7b9Work/S8-53M2 | fdc9cb5e3feb8055fd3f7885a6f6362f62ff6b6e | [
"MIT"
] | 86 | 2015-08-06T11:30:01.000Z | 2022-02-28T04:50:22.000Z | sources/VS/ThirdParty/wxWidgets/tests/asserthelper.h | Sasha7b9Work/S8-53M2 | fdc9cb5e3feb8055fd3f7885a6f6362f62ff6b6e | [
"MIT"
] | 6 | 2016-01-04T19:36:22.000Z | 2021-08-08T02:43:48.000Z | sources/VS/ThirdParty/wxWidgets/tests/asserthelper.h | Sasha7b9Work/S8-53M2 | fdc9cb5e3feb8055fd3f7885a6f6362f62ff6b6e | [
"MIT"
] | 22 | 2015-11-04T04:04:54.000Z | 2022-02-28T04:50:24.000Z | ///////////////////////////////////////////////////////////////////////////////
// Name: tests/asserthelper.h
// Purpose: Helper functions for cppunit
// Author: Steven Lamerton
// Created: 2010-07-23
// Copyright: (c) 2009 Vadim Zeitlin <vadim@wxwidgets.org>
//////////////////////////////////////... | 33.97561 | 79 | 0.622398 |
670fa5b697e5d22f0b1f8b4116ccf7742f8eaff1 | 726 | asm | Assembly | oeis/213/A213791.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/213/A213791.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/213/A213791.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A213791: Expansion of psi(-x)^6 in powers of x where psi() is a Ramanujan theta function.
; Submitted by Christian Krause
; 1,-6,15,-26,45,-66,82,-120,156,-170,231,-276,290,-390,435,-438,561,-630,651,-780,861,-842,1020,-1170,1095,-1326,1431,-1370,1716,-1740,1682,-2016,2145,-2132,2415,-2550,2353,-2850,3120,-2810,3321,... | 80.666667 | 497 | 0.712121 |
d185835c9cd5d3afa84826bcf02369acac7d5baa | 1,275 | lua | Lua | server/Classes/Shop/cDoneasty.lua | StiviiK/iLife | e4b905260d53b5fea47317c48176c77b30f08195 | [
"MIT"
] | null | null | null | server/Classes/Shop/cDoneasty.lua | StiviiK/iLife | e4b905260d53b5fea47317c48176c77b30f08195 | [
"MIT"
] | null | null | null | server/Classes/Shop/cDoneasty.lua | StiviiK/iLife | e4b905260d53b5fea47317c48176c77b30f08195 | [
"MIT"
] | 2 | 2021-02-17T05:19:51.000Z | 2021-02-24T05:31:29.000Z | Doneastys = {}
DoneastyObjects = {}
CDoneasty = inherit(CShop)
function CDoneasty:constructor(iDim)
self.Dim = iDim
self.Ped = createPed(219, 1249, -767.09998, 1084, 220)
setElementInterior(self.Ped, 5)
setElementDimension(self.Ped, self.Dim)
setElementData(self.Ped, "EastereggPed", true)
new(CShopRob, iDim, ... | 25.5 | 117 | 0.752157 |
5b4026b7b65ad5dfdee415d3ad7640a7b4482725 | 311 | h | C | src/viewscale.h | bouldermachinery/DSB | 492b9017cc384f6858341b1338579a6efbcbc1ce | [
"Unlicense"
] | null | null | null | src/viewscale.h | bouldermachinery/DSB | 492b9017cc384f6858341b1338579a6efbcbc1ce | [
"Unlicense"
] | null | null | null | src/viewscale.h | bouldermachinery/DSB | 492b9017cc384f6858341b1338579a6efbcbc1ce | [
"Unlicense"
] | null | null | null | #define V_DVIEW 0x0000
#define V_INVIEW 0x0010
#define V_OUTVIEW 0x0020
#define V_SIDEVIEW 0x0030
#define V_EXTVIEW 0x0040
#define V_ATTVIEW 0x0100
struct animap *do_dynamic_scale(int sm, struct obj_arch *p_arch,
int view, int blocker);
void invalidate_scale_cache(struct obj_arch *p_arch);
| 25.916667 | 64 | 0.771704 |
47e1c4329f0a2516183ed6ef3acf4af9510111b5 | 540 | css | CSS | components/markdown-styles.module.css | veiko/chakra-nextjs-blog-starter | bfc3692e4c8cac076b7dc0889b29251b0b6db33e | [
"MIT"
] | null | null | null | components/markdown-styles.module.css | veiko/chakra-nextjs-blog-starter | bfc3692e4c8cac076b7dc0889b29251b0b6db33e | [
"MIT"
] | null | null | null | components/markdown-styles.module.css | veiko/chakra-nextjs-blog-starter | bfc3692e4c8cac076b7dc0889b29251b0b6db33e | [
"MIT"
] | null | null | null | .markdown {
font-size: var(--chakra-fontSizes-lg);
line-height: 1.625;
}
.markdown p,
.markdown ul,
.markdown ol,
.markdown blockquote {
margin-bottom: var(--chakra-sizes-6);
margin-top: var(--chakra-sizes-6);
}
.markdown h2 {
font-size: var(--chakra-fontSizes-3xl);
line-height: 1.375;
margin-bottom: va... | 20 | 41 | 0.661111 |
663733faedcd7d9b726649592272168623f5b779 | 163 | css | CSS | public/css/footer.css | bogdanlinitskiy/video.test | 1efd049427993f8d1efdd18f23db0e7e524ce61f | [
"MIT"
] | null | null | null | public/css/footer.css | bogdanlinitskiy/video.test | 1efd049427993f8d1efdd18f23db0e7e524ce61f | [
"MIT"
] | null | null | null | public/css/footer.css | bogdanlinitskiy/video.test | 1efd049427993f8d1efdd18f23db0e7e524ce61f | [
"MIT"
] | null | null | null | .logos a img{
width: 25px;
height: 25px;
margin:10px;
}
footer{
background-color: #343a40;
padding-bottom: 25px;
}
span{
font-size: 14px;
} | 13.583333 | 30 | 0.601227 |
1811dc120d22aceeff720adad303154507391285 | 7,949 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1080.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1080.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1080.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 %r14
push %r15
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xef57, %r9
nop
nop
nop
nop
nop
inc %r14
movb $0x61, (%r9)
nop
sub $16388, %r8
lea addresses_D_ht+0x1c757, %rsi
lea addresses_A_ht+0x1c937, %rdi
nop
mfence
mov $125, %rcx
rep mov... | 34.262931 | 2,999 | 0.660712 |
71a6a0514af88d41f37932be614ab0a20acf95c0 | 1,502 | ts | TypeScript | packages/graphql-mocks/test/unit/highlight/highlighter/union.test.ts | graphql-mocks/graphql-mocks | 3681c7b5e809314ced0181e40eef875882d38a48 | [
"MIT"
] | 15 | 2020-12-29T13:37:04.000Z | 2022-03-13T12:09:21.000Z | packages/graphql-mocks/test/unit/highlight/highlighter/union.test.ts | graphql-mocks/graphql-mocks | 3681c7b5e809314ced0181e40eef875882d38a48 | [
"MIT"
] | 28 | 2020-12-30T19:58:19.000Z | 2022-03-08T17:44:05.000Z | packages/graphql-mocks/test/unit/highlight/highlighter/union.test.ts | graphql-mocks/graphql-mocks | 3681c7b5e809314ced0181e40eef875882d38a48 | [
"MIT"
] | 1 | 2021-04-16T07:56:08.000Z | 2021-04-16T07:56:08.000Z | import { buildSchema } from 'graphql';
import { expect } from 'chai';
import { union } from '../../../../src/highlight/highlighter/union';
import { HIGHLIGHT_ALL } from '../../../../src/highlight/highlighter/constants';
const schema = buildSchema(`
schema {
query: Query
}
type Query {
pets: [Pet!]!
}
... | 24.225806 | 115 | 0.624501 |
1c6fd8c0724b8632eb807f1e11cd46cd58cba93c | 333 | kt | Kotlin | wallet-service/src/main/kotlin/it/polito/ap/walletservice/model/Wallet.kt | bobcorn/ecommerce | a4983a24c27a19202e8cdbbf74259ff64bb34d07 | [
"MIT"
] | null | null | null | wallet-service/src/main/kotlin/it/polito/ap/walletservice/model/Wallet.kt | bobcorn/ecommerce | a4983a24c27a19202e8cdbbf74259ff64bb34d07 | [
"MIT"
] | null | null | null | wallet-service/src/main/kotlin/it/polito/ap/walletservice/model/Wallet.kt | bobcorn/ecommerce | a4983a24c27a19202e8cdbbf74259ff64bb34d07 | [
"MIT"
] | null | null | null | package it.polito.ap.walletservice.model
import org.bson.types.ObjectId
import org.springframework.data.annotation.Id
import org.springframework.data.mongodb.core.mapping.Document
@Document
class Wallet(
@Id
val userId: ObjectId
) {
var funds: Double = 0.0
var transactionList: List<Transaction> = muta... | 23.785714 | 61 | 0.765766 |
9c6deae2b8fdfb544b2a534c47a4778c97e04cf0 | 1,804 | js | JavaScript | api/server.js | siratl/NetWorth-BE | f02a89f70762135b12827e966c377953f282eaf1 | [
"MIT"
] | null | null | null | api/server.js | siratl/NetWorth-BE | f02a89f70762135b12827e966c377953f282eaf1 | [
"MIT"
] | 1 | 2021-09-02T12:46:14.000Z | 2021-09-02T12:46:14.000Z | api/server.js | siratl/NetWorth-BE | f02a89f70762135b12827e966c377953f282eaf1 | [
"MIT"
] | null | null | null | // import express
const express = require("express");
const cors = require("cors");
const helmet = require("helmet");
const session = require("express-session");
const KnexStore = require("connect-session-knex")(session);
// ---------------------> Routers <---------------------
const restricted = require("../auth/rest... | 30.576271 | 69 | 0.644124 |
3fa4b7695537608254f1cf9085f946fee6c523e9 | 1,449 | c | C | svn_pod/sw_stm32/trunk/lib/libusartstm32/usartx_txdma_send.c | GliderWinchItems/embed | cc72aa7d8208db3871a15e38185e1e125fa7de47 | [
"MIT"
] | 1 | 2019-07-18T07:22:19.000Z | 2019-07-18T07:22:19.000Z | svn_pod/sw_stm32/trunk/lib/libusartstm32/usartx_txdma_send.c | GliderWinchItems/embed | cc72aa7d8208db3871a15e38185e1e125fa7de47 | [
"MIT"
] | null | null | null | svn_pod/sw_stm32/trunk/lib/libusartstm32/usartx_txdma_send.c | GliderWinchItems/embed | cc72aa7d8208db3871a15e38185e1e125fa7de47 | [
"MIT"
] | 2 | 2019-04-03T01:44:46.000Z | 2020-04-01T07:41:41.000Z | /******************** (C) COPYRIGHT 2010 **************************************
* File Name : usartx_txdma_send.c
* Hackor : deh
* Date First Issued : 10/06/2010
* Description : Step to the next line buffer, thus making this line buffer ready
************************************************... | 39.162162 | 87 | 0.560386 |
9c210022053249d90d6f3e7b43c283854774a037 | 266 | js | JavaScript | src/components/ResultNotFound/ResultNotFound.js | hoangtien1005/animene | e6c1b07ed605e1e3f06da41f053bff147264634b | [
"MIT"
] | 5 | 2022-03-31T14:17:19.000Z | 2022-03-31T20:52:18.000Z | src/components/ResultNotFound/ResultNotFound.js | hoangtien1005/animene | e6c1b07ed605e1e3f06da41f053bff147264634b | [
"MIT"
] | null | null | null | src/components/ResultNotFound/ResultNotFound.js | hoangtien1005/animene | e6c1b07ed605e1e3f06da41f053bff147264634b | [
"MIT"
] | 1 | 2022-03-31T14:49:22.000Z | 2022-03-31T14:49:22.000Z | import styles from "./styles.module.scss"
const ResultNotFound = ({ message = "Something went wrong" }) => {
return (
<div className={styles.container}>
<h3 className={styles.resultNotFound}>{message}</h3>
</div>
)
}
export default ResultNotFound
| 24.181818 | 66 | 0.672932 |
8564a3f6afcee2a22f7b9997c082980722644168 | 1,403 | js | JavaScript | lib/commons/preproc.js | RechInformatica/rech-environment-ide | 28d84665ca4c57eac1155310630ac964eaca318e | [
"MIT"
] | 2 | 2017-07-08T15:40:29.000Z | 2018-06-20T12:45:50.000Z | lib/commons/preproc.js | RechInformatica/rech-environment-ide | 28d84665ca4c57eac1155310630ac964eaca318e | [
"MIT"
] | 2 | 2017-10-30T14:31:51.000Z | 2020-12-26T07:18:56.000Z | lib/commons/preproc.js | RechInformatica/rech-environment-ide | 28d84665ca4c57eac1155310630ac964eaca318e | [
"MIT"
] | 3 | 2017-07-08T18:22:43.000Z | 2021-02-21T19:44:43.000Z | 'use babel';
import Exec from './exec';
import Path from './path';
import WcVersao from './wc-versao';
export default class Preproc {
constructor() {
this.options = [];
}
/**
* Cria uma instância do préproc para atualização da base local
*/
static localDatabaseUpdate() {
let newP... | 20.042857 | 87 | 0.536707 |
01cdda97f1aae91b48945c3b6878026d7f3a6714 | 2,575 | rs | Rust | rust/src/shell_sort.rs | pop/coding-exercises | 9657b3a7d9bef1ae70f801c8a69cfb2c63a4af21 | [
"MIT"
] | null | null | null | rust/src/shell_sort.rs | pop/coding-exercises | 9657b3a7d9bef1ae70f801c8a69cfb2c63a4af21 | [
"MIT"
] | 12 | 2020-12-13T21:40:14.000Z | 2020-12-29T23:19:21.000Z | rust/src/shell_sort.rs | pop/coding-exercises | 9657b3a7d9bef1ae70f801c8a69cfb2c63a4af21 | [
"MIT"
] | null | null | null | ///
/// Shell Sort
///
/// ```
/// # use exercises::shell_sort;
///
/// let mut input = vec![1,3,5,7,9,8,6,4,2];
/// shell_sort::sort(&mut input);
/// assert_eq!(vec![1,2,3,4,5,6,7,8,9], input);
/// ```
///
/// Note: we sort elements of type u8 as a placeholder. We could just as easily sort elements of
/// type T where... | 33.012821 | 99 | 0.631456 |
498e25779b9f38b7bc20da37675cd94d0618abf2 | 508 | asm | Assembly | oeis/004/A004515.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/004/A004515.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/004/A004515.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A004515: Generalized nim sum n + n in base 5.
; Submitted by Christian Krause
; 0,2,4,1,3,10,12,14,11,13,20,22,24,21,23,5,7,9,6,8,15,17,19,16,18,50,52,54,51,53,60,62,64,61,63,70,72,74,71,73,55,57,59,56,58,65,67,69,66,68,100,102,104,101,103,110,112,114,111,113,120,122,124,121,123,105,107,109,106,108,115,117,119,116,11... | 31.75 | 316 | 0.641732 |
70be694a78e0db5f13be738b24153354e9512c2f | 2,212 | go | Go | ai.go | fr3fou/tic-tac-toe-ai | a784c4390a272cb432350ca7608dc2952962e30a | [
"MIT"
] | 4 | 2020-08-02T16:33:17.000Z | 2021-05-10T20:28:40.000Z | ai.go | fr3fou/tic-tac-toe-ai | a784c4390a272cb432350ca7608dc2952962e30a | [
"MIT"
] | null | null | null | ai.go | fr3fou/tic-tac-toe-ai | a784c4390a272cb432350ca7608dc2952962e30a | [
"MIT"
] | null | null | null | package main
import "math"
// value should only be called at leaf / terminal nodes (game MUST be over).
func value(b Board, aiWon bool) int {
spots := b.EmptySpots()
if aiWon {
return max(1, spots)
}
return min(-1, -spots)
}
func minimax(b Board, ai, current Player, alpha, beta float64) int {
... | 17.555556 | 79 | 0.559222 |
5f050d6412a8041aa72fd1ae35255ed807a2974f | 47 | ts | TypeScript | src/constants/Endpoints.ts | arantesxyz/EasyPayPal | 8facbf758fcd503f16b87504fe5e2861c866eb4c | [
"MIT"
] | 1 | 2021-02-04T00:17:22.000Z | 2021-02-04T00:17:22.000Z | src/constants/Endpoints.ts | arantesxyz/EasyPayPal | 8facbf758fcd503f16b87504fe5e2861c866eb4c | [
"MIT"
] | null | null | null | src/constants/Endpoints.ts | arantesxyz/EasyPayPal | 8facbf758fcd503f16b87504fe5e2861c866eb4c | [
"MIT"
] | null | null | null | export default {
OAUTH: "/v1/oauth2/token"
}; | 15.666667 | 27 | 0.659574 |
7a47c73d33be553efbe5f3a5888d04c67138e31a | 32,865 | rs | Rust | src/count_and_sum.rs | laudv/bitboost | 85caa1163a36e2099d0251caa912b28ad5d39f14 | [
"Apache-2.0"
] | 11 | 2019-07-10T12:50:52.000Z | 2021-08-18T03:27:28.000Z | src/count_and_sum.rs | laudv/bitboost | 85caa1163a36e2099d0251caa912b28ad5d39f14 | [
"Apache-2.0"
] | null | null | null | src/count_and_sum.rs | laudv/bitboost | 85caa1163a36e2099d0251caa912b28ad5d39f14 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 DTAI Research Group - KU Leuven.
* License: Apache License 2.0
* Author: Laurens Devos
*/
#[cfg(target_arch = "x86_64")]
use std::arch::x86_64::*;
use crate::bitblock::{BitBlock, BitBlocks};
use crate::bitslice::{BitsliceLayout, BitsliceWithLayout};
use crate::bitslice::{BitsliceLayout1, Bitsli... | 37.346591 | 118 | 0.546478 |
6bc0c8f4f556e40135eae839ccf5127571cc1d33 | 8,782 | rs | Rust | src/lib.rs | 715209/irc_parser | 13e6a784d0ce1ff79034b5dd7d4ba6f08d8c57b0 | [
"MIT"
] | null | null | null | src/lib.rs | 715209/irc_parser | 13e6a784d0ce1ff79034b5dd7d4ba6f08d8c57b0 | [
"MIT"
] | null | null | null | src/lib.rs | 715209/irc_parser | 13e6a784d0ce1ff79034b5dd7d4ba6f08d8c57b0 | [
"MIT"
] | null | null | null | use std::collections::HashMap;
/*
<message> ::= ['@' <tags> <SPACE>] [':' <prefix> <SPACE> ] <command> <params> <crlf>
<tags> ::= <tag> [';' <tag>]*
<tag> ::= <key> ['=' <escaped_value>]
<key> ::= [ <client_prefix> ] [ <vendor> '/' ] <key_name>
<client_prefix> ::= '+'
<key_name> ... | 33.64751 | 328 | 0.511501 |
70e5e9efc65877c5ba4f88c5d9ebc603910cc38a | 1,100 | h | C | RFW/system/src/rfw/texture.h | MeirBon/rendering-fw | dff775c816d19cd9e11eac2c2a2b3c608216ad4c | [
"Apache-2.0"
] | 77 | 2020-01-03T18:32:47.000Z | 2021-08-08T01:06:52.000Z | RFW/system/src/rfw/texture.h | meirbon/rendering-fw | dff775c816d19cd9e11eac2c2a2b3c608216ad4c | [
"Apache-2.0"
] | 1 | 2020-01-09T01:59:27.000Z | 2020-01-09T08:47:28.000Z | RFW/system/src/rfw/texture.h | meirbon/rendering-fw | dff775c816d19cd9e11eac2c2a2b3c608216ad4c | [
"Apache-2.0"
] | 2 | 2022-02-20T01:55:07.000Z | 2022-03-30T03:02:48.000Z | //
// Created by Mèir Noordermeer on 2019-08-20.
//
#ifndef RENDERING_FW_SRC_TEXTURE_HPP
#define RENDERING_FW_SRC_TEXTURE_HPP
#include <string>
#include <vector>
#include <rfw/math.h>
namespace rfw
{
struct texture
{
enum Type
{
FLOAT4,
UNSIGNED_INT
};
enum Flags
{
INVERTED = 1,
LINEARIZED = 2,
FLIP... | 15.492958 | 75 | 0.677273 |
de5ccf09c5923d4ca67331f08f3afc52537c2438 | 4,087 | rs | Rust | src/test/run-pass/try-operator.rs | canaltinova/rust | 7323ac4add33363a4bdee910b70b09ee82fef7bb | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2017-09-15T23:58:12.000Z | 2019-09-24T02:31:48.000Z | src/test/run-pass/try-operator.rs | canaltinova/rust | 7323ac4add33363a4bdee910b70b09ee82fef7bb | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2020-07-16T16:18:48.000Z | 2020-07-16T16:18:48.000Z | src/test/run-pass/try-operator.rs | canaltinova/rust | 7323ac4add33363a4bdee910b70b09ee82fef7bb | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | // Copyright 2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | 20.333333 | 70 | 0.543675 |
5741a052e5089393e9fea6b07266afdf96024d2a | 7,029 | c | C | src/mod/fortinet/fortinet_actions_wtp.c | 7u83/actube | 0f6cfb9eab2843cf8269187d64cc797491d55b02 | [
"BSD-2-Clause"
] | 35 | 2015-01-16T04:33:02.000Z | 2021-04-29T02:22:33.000Z | src/mod/fortinet/fortinet_actions_wtp.c | 7u83/actube | 0f6cfb9eab2843cf8269187d64cc797491d55b02 | [
"BSD-2-Clause"
] | 4 | 2015-05-28T21:59:43.000Z | 2016-03-25T18:34:13.000Z | src/mod/fortinet/fortinet_actions_wtp.c | 7u83/actube | 0f6cfb9eab2843cf8269187d64cc797491d55b02 | [
"BSD-2-Clause"
] | 26 | 2015-01-16T04:32:56.000Z | 2022-02-21T09:14:22.000Z | /*
This file is part of libcapwap.
libcapwap 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.
libcapwap is distribut... | 22.103774 | 81 | 0.667947 |
1e0a5556fbc0cf42d2f8036a3f1641133ea0657a | 440 | css | CSS | public/stylesheets/commerce.css | platinum-otabek/agro | eb7c6af96c98fa823030890c4f3b4e0bf3bb568c | [
"Apache-2.0"
] | null | null | null | public/stylesheets/commerce.css | platinum-otabek/agro | eb7c6af96c98fa823030890c4f3b4e0bf3bb568c | [
"Apache-2.0"
] | 1 | 2022-01-22T13:29:06.000Z | 2022-01-22T13:29:06.000Z | public/stylesheets/commerce.css | platinum-otabek/agro | eb7c6af96c98fa823030890c4f3b4e0bf3bb568c | [
"Apache-2.0"
] | null | null | null | .my-table-scrollbar {
position: relative;
height: 150px;
overflow: auto;
margin-top: 20px;
}
.wrapper-scroll-y {
display: block;
}
.my-item-scrollbar {
position: relative;
height: 140px;
overflow: auto;
margin-top: 10px;
}
.sum{
margin-bottom: 12px;
display: flex;
font-... | 15.714286 | 34 | 0.609091 |
858d180fbdee08540631fde6e1d6012f68f48fe8 | 7,365 | js | JavaScript | lib/es6_global/src/core/utils/engine/job/init/initTransformGizmosJob/rotation/AffectRotationGizmosUtils.js | DreamForeast/Wonder-editor | 44193817c6a0782e5667b4882360c26e6bc4ceb8 | [
"Apache-2.0"
] | 146 | 2018-01-05T16:24:32.000Z | 2022-03-28T06:37:18.000Z | lib/es6_global/src/core/utils/engine/job/init/initTransformGizmosJob/rotation/AffectRotationGizmosUtils.js | DreamForeast/Wonder-editor | 44193817c6a0782e5667b4882360c26e6bc4ceb8 | [
"Apache-2.0"
] | 57 | 2018-03-30T06:38:34.000Z | 2022-01-13T07:13:29.000Z | lib/es6_global/src/core/utils/engine/job/init/initTransformGizmosJob/rotation/AffectRotationGizmosUtils.js | DreamForeast/Wonder-editor | 44193817c6a0782e5667b4882360c26e6bc4ceb8 | [
"Apache-2.0"
] | 35 | 2019-03-11T08:03:43.000Z | 2022-03-19T09:57:22.000Z |
import * as Curry from "../../../../../../../../../../node_modules/bs-platform/lib/es6/curry.js";
import * as RayUtils$WonderEditor from "../../../rayCaster/RayUtils.js";
import * as AngleService$WonderEditor from "../../../../../../../service/primitive/AngleService.js";
import * as CoordinateUtils$WonderEditor from ... | 54.962687 | 296 | 0.71704 |
bbb3a6acdfa31ce7ed65206a82acbba0923bb079 | 3,347 | swift | Swift | Feature/Timer/Sources/Classes/TimerViewController.swift | SunnyDayDev/Rich-Harvest | 4b112eba658aa4f847f2522183444e283b40d9c5 | [
"Apache-2.0"
] | null | null | null | Feature/Timer/Sources/Classes/TimerViewController.swift | SunnyDayDev/Rich-Harvest | 4b112eba658aa4f847f2522183444e283b40d9c5 | [
"Apache-2.0"
] | null | null | null | Feature/Timer/Sources/Classes/TimerViewController.swift | SunnyDayDev/Rich-Harvest | 4b112eba658aa4f847f2522183444e283b40d9c5 | [
"Apache-2.0"
] | null | null | null | //
// Created by Александр Цикин on 2018-11-20.
//
import Foundation
import RxSwift
import RxCocoa
import RichHarvest_Core_Core
public class TimerViewController: NSViewController {
@IBOutlet weak var projectsPopUpButton: NSPopUpButton!
@IBOutlet weak var tasksPopUpButton: NSPopUpButton!
@IBOutlet weak ... | 30.990741 | 79 | 0.606513 |
baae497b1e0867931eb07e4c1e4b909a34055de4 | 1,271 | asm | Assembly | programs/oeis/128/A128470.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/128/A128470.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/128/A128470.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A128470: a(n) = 30*n + 1.
; 1,31,61,91,121,151,181,211,241,271,301,331,361,391,421,451,481,511,541,571,601,631,661,691,721,751,781,811,841,871,901,931,961,991,1021,1051,1081,1111,1141,1171,1201,1231,1261,1291,1321,1351,1381,1411,1441,1471,1501,1531,1561,1591,1621,1651,1681,1711,1741,1771,1801,1831,1861,1891,1921,1951... | 181.571429 | 1,212 | 0.778914 |
3e2ed8f302d349add324bb4b87f25825281d1ba2 | 1,434 | h | C | printscan/wia/core/twcompat/scanerds.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | printscan/wia/core/twcompat/scanerds.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | printscan/wia/core/twcompat/scanerds.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | #ifndef __SCANERDS_H_
#define __SCANERDS_H_
class CWiaScannerDS : public CWiaDataSrc
{
protected:
//
// overridden function definitions
//
virtual TW_UINT16 OpenDS(PTWAIN_MSG ptwMsg);
virtual TW_UINT16 CloseDS(PTWAIN_MSG ptwMsg);
virtual TW_UINT16 EnableDS(TW_USERINTERFACE *pUI);... | 26.555556 | 72 | 0.704324 |
64829cd7818a5b750f896d0c3317b199a7cbc794 | 126 | lua | Lua | scripts/world/bread.lua | flotts/cake | 216774a20d141fda7da554a408ed25cd93210a99 | [
"MIT"
] | null | null | null | scripts/world/bread.lua | flotts/cake | 216774a20d141fda7da554a408ed25cd93210a99 | [
"MIT"
] | null | null | null | scripts/world/bread.lua | flotts/cake | 216774a20d141fda7da554a408ed25cd93210a99 | [
"MIT"
] | null | null | null | bread = {}
function bread:load()
end
function bread:new()
end
function bread:update(dt)
end
function bread:draw()
end
| 7 | 25 | 0.698413 |
9c7a9239d76eeb5e42d5be3e99b0a4ac482f08dc | 39 | js | JavaScript | packages/1981/05/22/index.js | antonmedv/year | ae5d8524f58eaad481c2ba599389c7a9a38c0819 | [
"MIT"
] | 7 | 2017-07-03T19:53:01.000Z | 2021-04-05T18:15:55.000Z | packages/1981/05/22/index.js | antonmedv/year | ae5d8524f58eaad481c2ba599389c7a9a38c0819 | [
"MIT"
] | 1 | 2018-09-05T11:53:41.000Z | 2018-12-16T12:36:21.000Z | packages/1981/05/22/index.js | antonmedv/year | ae5d8524f58eaad481c2ba599389c7a9a38c0819 | [
"MIT"
] | 2 | 2019-01-27T16:57:34.000Z | 2020-10-11T09:30:25.000Z | module.exports = new Date(1981, 4, 22)
| 19.5 | 38 | 0.692308 |
18829b0e17f0c00d663fcc6f7e987c043273b38b | 330 | rb | Ruby | spec/models/user_spec.rb | mosesogwo/Xplore-API | a87066c825114035dbd2e0312541635442062d17 | [
"MIT"
] | 2 | 2020-03-08T10:01:28.000Z | 2020-03-31T12:49:00.000Z | spec/models/user_spec.rb | mosesogwo/Xplore-API | a87066c825114035dbd2e0312541635442062d17 | [
"MIT"
] | 7 | 2020-03-04T21:10:57.000Z | 2022-03-31T00:41:56.000Z | spec/models/user_spec.rb | mosesogwo/Xplore-API | a87066c825114035dbd2e0312541635442062d17 | [
"MIT"
] | null | null | null | require 'rails_helper'
RSpec.describe User, type: :model do
describe 'Validations' do
it { should validate_presence_of(:username) }
it { should validate_uniqueness_of(:username) }
end
describe 'Associations' do
it { should have_many(:wishes) }
it { should have_many(:packages).through(:wishes) }
... | 23.571429 | 55 | 0.709091 |
16105dc96994406bee1d9f0c9e50457583c174a7 | 688 | ts | TypeScript | src/containers/counter-page.ts | pkanal/angular2-test | 4f5f7d03e3a63e7e43dfa9ece2ec7a5822f39145 | [
"MIT"
] | null | null | null | src/containers/counter-page.ts | pkanal/angular2-test | 4f5f7d03e3a63e7e43dfa9ece2ec7a5822f39145 | [
"MIT"
] | null | null | null | src/containers/counter-page.ts | pkanal/angular2-test | 4f5f7d03e3a63e7e43dfa9ece2ec7a5822f39145 | [
"MIT"
] | null | null | null | import { Component} from '@angular/core';
import { RioCounterComponent, RioContainerComponent } from '../components';
import { CounterService } from '../services/counter-service';
@Component({
selector: 'rio-counter-page',
providers: [CounterService],
directives: [RioCounterComponent, RioContainerComponent],
... | 28.666667 | 75 | 0.694767 |
63fab61be0c6b9e9f8c36e330718859beff3a264 | 6,208 | kt | Kotlin | sdk/src/sharedTest/java/co/omise/android/ui/PaymentChooserFragmentTest.kt | ChoCoFire/omise-android | 6d97d990761ba07099e611e2c4699d8d350ddc02 | [
"MIT"
] | null | null | null | sdk/src/sharedTest/java/co/omise/android/ui/PaymentChooserFragmentTest.kt | ChoCoFire/omise-android | 6d97d990761ba07099e611e2c4699d8d350ddc02 | [
"MIT"
] | null | null | null | sdk/src/sharedTest/java/co/omise/android/ui/PaymentChooserFragmentTest.kt | ChoCoFire/omise-android | 6d97d990761ba07099e611e2c4699d8d350ddc02 | [
"MIT"
] | null | null | null | package co.omise.android.ui
import android.app.Activity
import android.app.Instrumentation
import android.content.Intent
import androidx.test.core.app.ActivityScenario
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.assertion.ViewAssert... | 39.044025 | 96 | 0.703608 |
61f86cd128532cb82455937e01a0c5da408e9b41 | 1,908 | swift | Swift | PredictionIOSDKTests/EventTests.swift | minhtule/PredictionIO-Swift-SDK-backup | 38c5f1da127982bb008d22cdd4ce872e30117146 | [
"Apache-2.0"
] | null | null | null | PredictionIOSDKTests/EventTests.swift | minhtule/PredictionIO-Swift-SDK-backup | 38c5f1da127982bb008d22cdd4ce872e30117146 | [
"Apache-2.0"
] | null | null | null | PredictionIOSDKTests/EventTests.swift | minhtule/PredictionIO-Swift-SDK-backup | 38c5f1da127982bb008d22cdd4ce872e30117146 | [
"Apache-2.0"
] | null | null | null | //
// EventTests.swift
// PredictionIOSDK
//
// Created by Minh Tu Le on 3/5/15.
// Copyright (c) 2015 PredictionIO. All rights reserved.
//
import XCTest
import PredictionIOSDK
class EventTests: XCTestCase {
func testInit() {
let event = Event(
event: "rate",
entityType: "cus... | 38.16 | 103 | 0.62369 |
a843f989a6426b48bc8fd2e6fe6156964f1f559e | 725 | rs | Rust | examples/npm/src/lib.rs | g-s-k/rsch | fc16086a7fcf2030beacdad0afe162c5e3b7681a | [
"Apache-2.0",
"MIT"
] | 4 | 2019-01-14T18:17:07.000Z | 2021-09-07T11:08:02.000Z | examples/npm/src/lib.rs | g-s-k/rsch | fc16086a7fcf2030beacdad0afe162c5e3b7681a | [
"Apache-2.0",
"MIT"
] | 15 | 2019-01-02T05:02:14.000Z | 2019-02-12T22:29:12.000Z | examples/npm/src/lib.rs | g-s-k/parsley | fc16086a7fcf2030beacdad0afe162c5e3b7681a | [
"Apache-2.0",
"MIT"
] | null | null | null | use wasm_bindgen::prelude::*;
#[wasm_bindgen]
pub struct Context(parsley::Context);
#[wasm_bindgen]
impl Context {
#[wasm_bindgen(constructor)]
pub fn new() -> Self {
Self(parsley::Context::base().capturing())
}
pub fn run(&mut self, code: &str) -> String {
// do it
let evaled... | 21.323529 | 62 | 0.507586 |
c105c094ce2467dcfc5a09d4f04c8a6b96ebcf55 | 12,413 | rs | Rust | src/operator_construction/operatorargs.rs | busstoptaktik/geodesy | 2718c094001b0a2168deb4fbaaa09c4ab9f78a7c | [
"Apache-2.0",
"MIT"
] | 9 | 2021-09-22T21:38:12.000Z | 2022-03-21T12:34:52.000Z | src/operator_construction/operatorargs.rs | busstoptaktik/geodesy | 2718c094001b0a2168deb4fbaaa09c4ab9f78a7c | [
"Apache-2.0",
"MIT"
] | 15 | 2021-07-29T13:31:18.000Z | 2022-02-05T23:28:50.000Z | src/operator_construction/operatorargs.rs | busstoptaktik/geodesy | 2718c094001b0a2168deb4fbaaa09c4ab9f78a7c | [
"Apache-2.0",
"MIT"
] | null | null | null | use std::collections::HashMap;
use yaml_rust::{Yaml, YamlEmitter, YamlLoader};
use crate::GeodesyError;
#[derive(Debug, Clone, Default, PartialEq)]
pub struct OperatorArgs {
pub name: String,
pub args: HashMap<String, String>,
pub used: HashMap<String, String>,
pub all_used: HashMap<String, String>,
}... | 34.480556 | 91 | 0.520422 |
9943539cccc0da82a82d9627863ddbfc33201dc5 | 879 | c | C | src/free.c | Faudil/malloc | 95229c0295e4d96f50d9b33906a4d561e7b8ea82 | [
"MIT"
] | null | null | null | src/free.c | Faudil/malloc | 95229c0295e4d96f50d9b33906a4d561e7b8ea82 | [
"MIT"
] | null | null | null | src/free.c | Faudil/malloc | 95229c0295e4d96f50d9b33906a4d561e7b8ea82 | [
"MIT"
] | null | null | null | /*
** free.c for malloc in /home/guacamole/Epitech/malloc
**
** Made by guacamole
** Login <faudil.puttilli@epitech.eu>
**
** Started on Thu Sep 7 20:04:49 2017 guacamole
** Last update Tue Sep 26 20:25:40 2017 guacamole
*/
#include "malloc.h"
extern t_info *head;
void free_last()
{
t_header *header;
if ... | 16.584906 | 54 | 0.596132 |
1d904dbfacabcf595924694910cb8fad0f9c8f7f | 384 | kt | Kotlin | src/main/kotlin/dev/lunarcoffee/risako/framework/core/std/idgen/IdGenerator.kt | LunarCoffee/Risako | 8ae6c0fa0f85c90725667055493276116a0c0870 | [
"MIT"
] | null | null | null | src/main/kotlin/dev/lunarcoffee/risako/framework/core/std/idgen/IdGenerator.kt | LunarCoffee/Risako | 8ae6c0fa0f85c90725667055493276116a0c0870 | [
"MIT"
] | null | null | null | src/main/kotlin/dev/lunarcoffee/risako/framework/core/std/idgen/IdGenerator.kt | LunarCoffee/Risako | 8ae6c0fa0f85c90725667055493276116a0c0870 | [
"MIT"
] | null | null | null | package dev.lunarcoffee.risako.framework.core.std.idgen
import kotlin.random.Random
object IdGenerator {
suspend fun generate(): Long {
var id: Long
do {
id = Random.nextLong(Long.MAX_VALUE)
} while (IdDatabase.contains(id))
IdDatabase.register(id)
return id
... | 21.333333 | 56 | 0.635417 |
b90f4ec358b842da67b7c868871cca0292934fbd | 2,023 | c | C | ext/hal/ti/simplelink/source/ti/devices/cc32xx/driverlib/pin.c | dmgerman/zephyrd3 | b6a23cc9c5d534c352e33fd18fff7799ac3c2886 | [
"Apache-2.0"
] | null | null | null | ext/hal/ti/simplelink/source/ti/devices/cc32xx/driverlib/pin.c | dmgerman/zephyrd3 | b6a23cc9c5d534c352e33fd18fff7799ac3c2886 | [
"Apache-2.0"
] | null | null | null | ext/hal/ti/simplelink/source/ti/devices/cc32xx/driverlib/pin.c | dmgerman/zephyrd3 | b6a23cc9c5d534c352e33fd18fff7799ac3c2886 | [
"Apache-2.0"
] | null | null | null | DECL|PAD_CONFIG_BASE|macro|PAD_CONFIG_BASE
DECL|PAD_MODE_MASK|macro|PAD_MODE_MASK
DECL|PAD_STRENGTH_MASK|macro|PAD_STRENGTH_MASK
DECL|PAD_TYPE_MASK|macro|PAD_TYPE_MASK
DECL|PinConfigGet|function|void PinConfigGet(unsigned long ulPin,unsigned long *pulPinStrength, unsigned long *pulPinType)
DECL|PinConfigSet|function|vo... | 74.925926 | 122 | 0.868512 |
3572df1f927526b36b840a90dfbe4e17409c32d2 | 3,155 | lua | Lua | resources/[fivem]/money/server.lua | raag2005/development-vrp | 1f78f2a10fd0cfdd8b470bb263aee8947763beda | [
"MIT"
] | null | null | null | resources/[fivem]/money/server.lua | raag2005/development-vrp | 1f78f2a10fd0cfdd8b470bb263aee8947763beda | [
"MIT"
] | null | null | null | resources/[fivem]/money/server.lua | raag2005/development-vrp | 1f78f2a10fd0cfdd8b470bb263aee8947763beda | [
"MIT"
] | 1 | 2022-01-25T23:01:13.000Z | 2022-01-25T23:01:13.000Z | local playerData = exports['cfx.re/playerData.v1alpha1']
local validMoneyTypes = {
bank = true,
cash = true,
}
local function getMoneyForId(playerId, moneyType)
return GetResourceKvpInt(('money:%s:%s'):format(playerId, moneyType)) / 100.0
end
local function setMoneyForId(playerId, moneyType, m... | 26.512605 | 105 | 0.660222 |
75dd045e1873ddb54db6652bf8182f0f9670eefe | 468 | php | PHP | src/Extension/Workspace/Task/WorkspaceTask.php | dantleech/maestro | 766ca5b69d4cbe42ea6fcffbff70957822fa5f74 | [
"MIT"
] | 21 | 2019-05-16T17:55:27.000Z | 2020-10-01T18:01:14.000Z | src/Extension/Workspace/Task/WorkspaceTask.php | dantleech/maestro | 766ca5b69d4cbe42ea6fcffbff70957822fa5f74 | [
"MIT"
] | 38 | 2019-05-04T10:43:41.000Z | 2019-11-08T13:48:10.000Z | src/Extension/Workspace/Task/WorkspaceTask.php | dantleech/maestro | 766ca5b69d4cbe42ea6fcffbff70957822fa5f74 | [
"MIT"
] | 1 | 2019-05-16T19:25:26.000Z | 2019-05-16T19:25:26.000Z | <?php
namespace Maestro\Extension\Workspace\Task;
use Maestro\Library\Task\Task;
class WorkspaceTask implements Task
{
/**
* @var string
*/
private $name;
public function __construct(string $name)
{
$this->name = $name;
}
public function description(): string
{
... | 16.137931 | 70 | 0.596154 |
f26b60ee22e2844829dcc478e2137803676afc7b | 20,539 | sql | SQL | InvoiceDocuments_Flow.sql | GoogleCloudPlatform/cortex-reporting | ecb745faf6fc1b4b84bc8ab117d6e21712cf8644 | [
"Apache-2.0"
] | 2 | 2022-03-15T02:19:34.000Z | 2022-03-28T18:58:29.000Z | InvoiceDocuments_Flow.sql | GoogleCloudPlatform/cortex-reporting | ecb745faf6fc1b4b84bc8ab117d6e21712cf8644 | [
"Apache-2.0"
] | null | null | null | InvoiceDocuments_Flow.sql | GoogleCloudPlatform/cortex-reporting | ecb745faf6fc1b4b84bc8ab117d6e21712cf8644 | [
"Apache-2.0"
] | null | null | null | #-- Copyright 2022 Google LLC
#--
#-- 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
#--
#-- https://www.apache.org/licenses/LICENSE-2.0
#--
#-- Unless required by applicable law or agre... | 35.72 | 124 | 0.774429 |
eae3a15d2bf31791efb64463530f9ef6fafed5ab | 1,315 | lua | Lua | scripts/endpoints/event.lua | ICESat2-SlideRule/sliderule | 90776d7e174e151c5806077001f5f9c21ef81f48 | [
"BSD-3-Clause"
] | 2 | 2021-05-06T19:56:26.000Z | 2021-05-27T16:41:56.000Z | scripts/endpoints/event.lua | ICESat2-SlideRule/sliderule | 90776d7e174e151c5806077001f5f9c21ef81f48 | [
"BSD-3-Clause"
] | 54 | 2021-03-30T18:45:12.000Z | 2022-03-17T20:13:04.000Z | scripts/endpoints/event.lua | ICESat2-SlideRule/sliderule | 90776d7e174e151c5806077001f5f9c21ef81f48 | [
"BSD-3-Clause"
] | 1 | 2021-05-14T16:34:08.000Z | 2021-05-14T16:34:08.000Z | --
-- ENDPOINT: /source/event
--
-- INPUT: arg[1] -
-- {
-- "type": <core.LOG | core.TRACE | core.METRIC>
-- "level": "<event level string>" -OR- <event level number>
-- "format": <core.FMT_TEXT | core.FMT_JSON>
-- "durat... | 29.222222 | 84 | 0.620532 |
b1a29f6176e2318619b3c99349b036f97c944ee3 | 133,159 | sql | SQL | database/pairquest_db.sql | viacheslavoleshko/laravel-pairquest | 884fa0e4329c95aa02b604dd6fbef6fe9c52ce9b | [
"MIT"
] | null | null | null | database/pairquest_db.sql | viacheslavoleshko/laravel-pairquest | 884fa0e4329c95aa02b604dd6fbef6fe9c52ce9b | [
"MIT"
] | null | null | null | database/pairquest_db.sql | viacheslavoleshko/laravel-pairquest | 884fa0e4329c95aa02b604dd6fbef6fe9c52ce9b | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Хост: 127.0.0.1
-- Время создания: Авг 06 2021 г., 11:01
-- Версия сервера: 10.3.16-MariaDB
-- Версия PHP: 7.3.7
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CH... | 61.278877 | 1,983 | 0.696693 |
277f76c50ab7b940a0f7d5a1174e762391270a23 | 6,488 | css | CSS | assets/styles/global/color.css | ilikescience/moxy | 2c94df187f3454c1bcb50eb00ff578c4d31055ed | [
"MIT"
] | null | null | null | assets/styles/global/color.css | ilikescience/moxy | 2c94df187f3454c1bcb50eb00ff578c4d31055ed | [
"MIT"
] | null | null | null | assets/styles/global/color.css | ilikescience/moxy | 2c94df187f3454c1bcb50eb00ff578c4d31055ed | [
"MIT"
] | null | null | null | :root {
/* black and white */
--c--black: hsl(0, 0%, 15%);
--c--white: hsl(0, 0%, 100%);
/* gray */
--c--gray: hsl(210, 7%, 50%);
/* colors */
--c--blue: hsl(208, 80%, 50%);
--c--green: hsl(131, 50%, 50%);
--c--yellow: hsl(52, 100%, 50%);
--c--orange: hsl(28, 100%, 50%);
--... | 39.321212 | 63 | 0.585543 |
5f1950ac49eb7dc7c7f413783d41ff4050b292f6 | 529 | ts | TypeScript | backend/src/utils/constants.ts | f1lander/prieto-chat | 72c66988ab889e32015e56a22f3b915334407461 | [
"MIT"
] | null | null | null | backend/src/utils/constants.ts | f1lander/prieto-chat | 72c66988ab889e32015e56a22f3b915334407461 | [
"MIT"
] | 8 | 2019-09-15T00:37:01.000Z | 2022-02-26T17:50:50.000Z | backend/src/utils/constants.ts | f1lander/prieto-chat | 72c66988ab889e32015e56a22f3b915334407461 | [
"MIT"
] | 1 | 2020-07-27T01:24:49.000Z | 2020-07-27T01:24:49.000Z | import { ChatMessage } from "./types";
export enum ChatEvent {
CONNECT = "connect",
DISCONNECT = "disconnect",
MESSAGE = "message"
}
export const PRIETO_BOOT_DEFAULT: ChatMessage = {
author: "Prieto Stooq-Bot🤖",
message:
"I can't understand this command, please try something like /stock_quote=<stock_co... | 25.190476 | 91 | 0.705104 |
9a505692489d8e9c3c14c0bbf610f1927f995e1c | 479 | lua | Lua | src/curses.lua | Barocena/unotfm | cf0e59eb08a04818a8bd3d838b04b06378aa6fb6 | [
"MIT"
] | 4 | 2020-07-08T20:04:29.000Z | 2022-02-13T14:19:14.000Z | src/curses.lua | Barocena/unotfm | cf0e59eb08a04818a8bd3d838b04b06378aa6fb6 | [
"MIT"
] | null | null | null | src/curses.lua | Barocena/unotfm | cf0e59eb08a04818a8bd3d838b04b06378aa6fb6 | [
"MIT"
] | 4 | 2021-07-22T05:04:43.000Z | 2022-01-21T20:13:16.000Z | CURSE = {
anvil = {
img = "162598dff2b.png",
desc = "CURSE_ANVIL",
turns = 4,
},
ice = {
img = "162598de0d7.png",
desc = "CURSE_ICE",
turns = 3,
},
shoe = {
img = "162598dc59c.png",
desc = "CURSE_SHOE",
turns = 3,
},
thorn = {
img = "162598d992f.png",
desc = "CURSE_THORN",
turns = 1,
},
... | 14.96875 | 26 | 0.536534 |
c1454ea89bac70de95d22b1b57bf081a9f875670 | 1,148 | rs | Rust | network/src/constants.rs | zekun000/aptos-core | 4fac00575269ce5b77ab6a18ac0a5f75abfe153d | [
"Apache-2.0"
] | 350 | 2022-03-15T14:13:08.000Z | 2022-03-31T14:12:19.000Z | network/src/constants.rs | zekun000/aptos-core | 4fac00575269ce5b77ab6a18ac0a5f75abfe153d | [
"Apache-2.0"
] | 179 | 2022-03-15T15:36:02.000Z | 2022-03-31T23:53:51.000Z | network/src/constants.rs | zekun000/aptos-core | 4fac00575269ce5b77ab6a18ac0a5f75abfe153d | [
"Apache-2.0"
] | 104 | 2022-03-15T13:53:52.000Z | 2022-03-31T05:54:06.000Z | // Copyright (c) Aptos
// SPDX-License-Identifier: Apache-2.0
/// A collection of constants and default values for configuring various network components.
// NB: Almost all of these values are educated guesses, and not determined using any empirical
// data. If you run into a limit and believe that it is unreasonably... | 49.913043 | 94 | 0.773519 |
41145f1872e9e42e83bd02327debd3b3f81b062c | 455 | h | C | YLCleaner/Xcode-RuntimeHeaders/DevToolsCore/XCRoots.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | 1 | 2019-02-15T02:16:35.000Z | 2019-02-15T02:16:35.000Z | YLCleaner/Xcode-RuntimeHeaders/DevToolsCore/XCRoots.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | null | null | null | YLCleaner/Xcode-RuntimeHeaders/DevToolsCore/XCRoots.h | liyong03/YLCleaner | 7453187a884c8e783bda1af82cbbb51655ec41c6 | [
"MIT"
] | null | null | null | /*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "NSObject.h"
@class NSMutableArray, PBXProject;
@interface XCRoots : NSObject
{
PBXProject *_project;
NSMutableArray *_roots;
}
- (id)absolutePathForRoot:(id)a... | 17.5 | 83 | 0.67033 |
a0980e28ce481a9d181a3309c623e64bb09f4d53 | 579 | sql | SQL | bp2/predavanja/pred14_q13_spoljni_kljuc.sql | jasarsoft/fit-src | d9b963be3afbd4494de9d0289c947b0a41ad91d7 | [
"MIT"
] | null | null | null | bp2/predavanja/pred14_q13_spoljni_kljuc.sql | jasarsoft/fit-src | d9b963be3afbd4494de9d0289c947b0a41ad91d7 | [
"MIT"
] | null | null | null | bp2/predavanja/pred14_q13_spoljni_kljuc.sql | jasarsoft/fit-src | d9b963be3afbd4494de9d0289c947b0a41ad91d7 | [
"MIT"
] | null | null | null | --ogranicanja
--foreign key
--spoljni kljuc
USE TestDB;
CREATE TABLE Gradovi
( GradID int IDENTITY(1,1) CONSTRAINT PK_Grad PRIMARY KEY,
Naziv varchar(30) NOT NULL
);
CREATE TABLE Kupci
( KupacID int IDENTITY(1,1) CONSTRAINT PK_Kupac PRIMARY KEY,
Prezime nvarchar(30) NOT NULL,
Ime nvarchar(30) NOT NULL,
Telef... | 27.571429 | 85 | 0.772021 |
3b740612f3a4fe97f675b53cab8227ad581b038c | 748 | h | C | Qlink/Vender/NEO/JS/NEOJSView.h | QlcChainOrg/winq-ios | 21dc93068e2f4bfe14b1fa65a398a049782894c5 | [
"MIT"
] | 8 | 2018-07-11T12:31:20.000Z | 2019-08-14T03:38:45.000Z | Qlink/Vender/NEO/JS/NEOJSView.h | QlcChainOrg/winq-ios | 21dc93068e2f4bfe14b1fa65a398a049782894c5 | [
"MIT"
] | 65 | 2020-03-29T08:17:07.000Z | 2021-01-14T22:41:10.000Z | Qlink/Vender/NEO/JS/NEOJSView.h | QlcChainOrg/winq-ios | 21dc93068e2f4bfe14b1fa65a398a049782894c5 | [
"MIT"
] | 9 | 2018-07-11T10:37:19.000Z | 2019-08-03T10:33:14.000Z | //
// QContractView.h
// Qlink
//
// Created by Jelly Foo on 2019/9/4.
// Copyright © 2019 pan. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
typedef void(^NEOJSResultBlock)(id _Nullable result, BOOL success, NSString * _Nullable message);
@interface NEOJSView : UIView
+ (NEOJSView *... | 24.933333 | 255 | 0.766043 |
cabcd5764da9b9df35249dd4e1e1b5c4dea420b5 | 4,332 | lua | Lua | rz/mods/JingCai.lua | DnoYT/Gteam | 00b3b673232fbd07637ff6530aaa4ee2933d9be0 | [
"Apache-2.0"
] | 1 | 2022-03-18T20:07:21.000Z | 2022-03-18T20:07:21.000Z | rz/mods/JingCai.lua | DnoYT/Gteam | 00b3b673232fbd07637ff6530aaa4ee2933d9be0 | [
"Apache-2.0"
] | null | null | null | rz/mods/JingCai.lua | DnoYT/Gteam | 00b3b673232fbd07637ff6530aaa4ee2933d9be0 | [
"Apache-2.0"
] | null | null | null | function 控件圆角(view,左上,右上,左下,右下,InsideColor)
import "android.graphics.drawable.GradientDrawable"
drawable = GradientDrawable()
drawable.setShape(GradientDrawable.RECTANGLE)
drawable.setColor(InsideColor)
drawable.setCornerRadii({左上,左上,右上,右上,左下,左下,右下,右下});
view.setBackgroundDrawable(drawable)
end
function 沉浸(... | 26.254545 | 176 | 0.689751 |
d01ee6ee09a07440bd8d63fc2855645b4ecb62ad | 185 | rb | Ruby | lib/active_service.rb | chloerei/activeservice | 7c844de7d560e3e8d587f38b310052e94825f385 | [
"MIT"
] | 67 | 2015-03-22T09:17:04.000Z | 2022-01-22T07:10:06.000Z | lib/active_service.rb | chloerei/activeservice | 7c844de7d560e3e8d587f38b310052e94825f385 | [
"MIT"
] | 2 | 2015-03-23T02:15:18.000Z | 2018-03-14T00:37:00.000Z | lib/active_service.rb | chloerei/activeservice | 7c844de7d560e3e8d587f38b310052e94825f385 | [
"MIT"
] | 9 | 2015-03-22T10:26:41.000Z | 2019-05-30T11:44:45.000Z | require "active_service/version"
require "active_service/base"
if defined?(Rails)
require "active_service/test_case"
require "active_service/railtie"
end
module ActiveService
end
| 16.818182 | 36 | 0.810811 |
48f2ff77a938c6df5eb152055e754cd41e58e436 | 12,345 | c | C | examples/axis_remap/axis_remap.c | IvanoBono/BMI090L-Sensor-API | f0e1c9197857a8fbe468149f813cefd1fef07740 | [
"BSD-3-Clause"
] | 6 | 2020-09-30T12:28:34.000Z | 2021-12-16T19:15:34.000Z | examples/axis_remap/axis_remap.c | IvanoBono/BMI090L-Sensor-API | f0e1c9197857a8fbe468149f813cefd1fef07740 | [
"BSD-3-Clause"
] | 3 | 2020-07-03T06:15:22.000Z | 2022-03-23T08:57:51.000Z | examples/axis_remap/axis_remap.c | IvanoBono/BMI090L-Sensor-API | f0e1c9197857a8fbe468149f813cefd1fef07740 | [
"BSD-3-Clause"
] | 2 | 2020-07-03T05:17:51.000Z | 2022-01-11T08:33:01.000Z | /**
* Copyright (C) 2021 Bosch Sensortec GmbH
*
* SPDX-License-Identifier: BSD-3-Clause
*
* @file axis_remap.c
* @brief Test code to demonstrate on axis remap feature
*
*/
#include <stdio.h>
#include <stdlib.h>
#include "bmi090l.h"
#include "common.h"
/****************************************************... | 30.183374 | 119 | 0.59109 |
06cde76e01bbea2fa66e454c48e9b79f68da77da | 138 | swift | Swift | Tests/LinuxMain.swift | TheSwiftEssentials/TheSwiftEssentials | 7b0a7ef75d45d7cf8e5f42cde380d8b217b49a01 | [
"MIT"
] | 1 | 2021-01-31T03:39:44.000Z | 2021-01-31T03:39:44.000Z | Tests/LinuxMain.swift | TheSwiftEssentials/TheSwiftEssentials | 7b0a7ef75d45d7cf8e5f42cde380d8b217b49a01 | [
"MIT"
] | null | null | null | Tests/LinuxMain.swift | TheSwiftEssentials/TheSwiftEssentials | 7b0a7ef75d45d7cf8e5f42cde380d8b217b49a01 | [
"MIT"
] | null | null | null | import XCTest
import TheSwiftEssentialsTests
var tests = [XCTestCaseEntry]()
tests += TheSwiftEssentialsTests.allTests()
XCTMain(tests)
| 17.25 | 43 | 0.811594 |
1826c0f39308b015e0ad4cdf1f98802a58606e90 | 685 | css | CSS | public/css/style.css | eddiegingco971/SemiFinal-Project-Destination | 57fd1aa5a99b987089ad226965b4e67574a20b0b | [
"MIT"
] | null | null | null | public/css/style.css | eddiegingco971/SemiFinal-Project-Destination | 57fd1aa5a99b987089ad226965b4e67574a20b0b | [
"MIT"
] | null | null | null | public/css/style.css | eddiegingco971/SemiFinal-Project-Destination | 57fd1aa5a99b987089ad226965b4e67574a20b0b | [
"MIT"
] | null | null | null | .main-container {
margin-top: 30px;
margin-bottom: 100px;
}
.hero{
color: gray;
}
.add{
margin-top: 5px;
}
h2{
font-size: 100px;
color:blue;
text-shadow: rgb(red, green, blue);
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
footer {
width: 100%;
padding... | 15.222222 | 77 | 0.611679 |
62d635903affcb84508aaede18d528452b20fa3f | 1,091 | swift | Swift | aoc-2021/aoc2021/Day6-Lanternfish/Test/LanternFishTests.swift | bi1zi1/adventofcode-2021 | 50e8e7031551d107d21ec3303427768e362842b3 | [
"MIT"
] | null | null | null | aoc-2021/aoc2021/Day6-Lanternfish/Test/LanternFishTests.swift | bi1zi1/adventofcode-2021 | 50e8e7031551d107d21ec3303427768e362842b3 | [
"MIT"
] | null | null | null | aoc-2021/aoc2021/Day6-Lanternfish/Test/LanternFishTests.swift | bi1zi1/adventofcode-2021 | 50e8e7031551d107d21ec3303427768e362842b3 | [
"MIT"
] | null | null | null | @testable import AOCFramework
import Foundation
import XCTest
class LanternFishTests: XCTestCase {
func testPopulationCount80day() throws {
// given
let lanternFish = LanternFish(measurementsFile: .testLanternfishSpawnData)
// when
let populationCount80day = lanternFish.population... | 27.974359 | 82 | 0.700275 |