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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0ecd708202f060e28b6debe25cb1fa143feb06e8 | 1,016 | tsx | TypeScript | docs/src/routes/Layout/index.tsx | 7coil/react-uwp | d4326d0f0b2d6e425a4a495c0c8474e31fb86179 | [
"MIT"
] | 1,282 | 2017-01-29T23:00:55.000Z | 2022-03-30T12:15:53.000Z | docs/src/routes/Layout/index.tsx | 7coil/react-uwp | d4326d0f0b2d6e425a4a495c0c8474e31fb86179 | [
"MIT"
] | 97 | 2017-05-31T15:29:55.000Z | 2022-02-26T01:33:19.000Z | docs/src/routes/Layout/index.tsx | 7coil/react-uwp | d4326d0f0b2d6e425a4a495c0c8474e31fb86179 | [
"MIT"
] | 113 | 2017-06-19T12:34:12.000Z | 2022-03-23T03:58:09.000Z | import * as React from "react";
import * as PropTypes from "prop-types";
import MarkdownRender from "react-uwp/MarkdownRender";
import * as README from "!raw!./README.md";
export interface DataProps {}
export interface LayoutProps extends DataProps, React.HTMLAttributes<HTMLDivElement> {}
export default class Layou... | 20.32 | 87 | 0.620079 |
2644797f4cc1e29a89f4f035ae0ce15025e66e96 | 1,961 | java | Java | src/test/java/com/binance/dex/api/client/examples/TransactionExample.java | far2away/java-sdk | 96132d40154ccf9ffb04aae6c3b5793c41b0ab40 | [
"Apache-2.0"
] | 102 | 2019-02-10T16:34:38.000Z | 2022-01-23T21:35:30.000Z | src/test/java/com/binance/dex/api/client/examples/TransactionExample.java | far2away/java-sdk | 96132d40154ccf9ffb04aae6c3b5793c41b0ab40 | [
"Apache-2.0"
] | 47 | 2019-03-04T05:55:49.000Z | 2022-02-14T02:58:56.000Z | src/test/java/com/binance/dex/api/client/examples/TransactionExample.java | far2away/java-sdk | 96132d40154ccf9ffb04aae6c3b5793c41b0ab40 | [
"Apache-2.0"
] | 70 | 2019-02-10T16:34:29.000Z | 2022-01-05T07:10:58.000Z | package com.binance.dex.api.client.examples;
import com.binance.dex.api.client.BinanceDexApiClientFactory;
import com.binance.dex.api.client.BinanceDexApiRestClient;
import com.binance.dex.api.client.BinanceDexEnvironment;
import com.binance.dex.api.client.domain.TransactionPage;
import com.binance.dex.api.client.doma... | 45.604651 | 116 | 0.751147 |
7b781563da823b784002ce0c6adc10411a6939cc | 276 | css | CSS | fonts/google/noto-emoji/variable.css | DecliningLotus/fontsource | 8a859a1334272304004bae0cde7e1b375215b517 | [
"MIT"
] | 80 | 2020-05-16T18:15:12.000Z | 2020-07-21T22:00:50.000Z | fonts/google/noto-emoji/variable.css | DecliningLotus/fontsource | 8a859a1334272304004bae0cde7e1b375215b517 | [
"MIT"
] | 3 | 2020-06-16T09:07:11.000Z | 2020-07-22T11:51:42.000Z | fonts/google/noto-emoji/variable.css | DecliningLotus/fontsource | 8a859a1334272304004bae0cde7e1b375215b517 | [
"MIT"
] | 2 | 2020-07-10T17:31:01.000Z | 2020-07-21T19:15:54.000Z | /* noto-emoji-emoji-variable-wghtOnly-normal */
@font-face {
font-family: 'Noto EmojiVariable';
font-style: normal;
font-display: swap;
font-weight: 300 700;
src: url('./files/noto-emoji-emoji-variable-wghtOnly-normal.woff2') format('woff2');
unicode-range: ;
}
| 27.6 | 86 | 0.695652 |
c7f21f0fd706f0700d98cb762296bf88e0dee2d0 | 182 | py | Python | home/urls.py | xeddmc/pastebin-django | 5e38637e5a417ab907a353af8544f64a0ad2b127 | [
"Unlicense"
] | 11 | 2016-11-27T06:26:33.000Z | 2021-05-30T05:28:51.000Z | home/urls.py | xeddmc/pastebin-django | 5e38637e5a417ab907a353af8544f64a0ad2b127 | [
"Unlicense"
] | 1 | 2015-04-16T15:00:28.000Z | 2015-10-28T19:49:09.000Z | home/urls.py | xeddmc/pastebin-django | 5e38637e5a417ab907a353af8544f64a0ad2b127 | [
"Unlicense"
] | 12 | 2015-08-20T05:08:38.000Z | 2021-09-14T04:32:26.000Z | from django.conf.urls import patterns, include, url
from django.views.generic import TemplateView
from home import views
urlpatterns = [
url(r'^$', views.home, name="home"),
]
| 20.222222 | 51 | 0.730769 |
2f0331e034c23798593b91414a57b353d74e9531 | 1,183 | php | PHP | src/CompilerPass/EntityRepositoryCompilerPass.php | LYDIC-GROUP/rapid-api-crud-bundle | da33c753b36f4e218a174614607e629e64ae994d | [
"MIT"
] | 3 | 2021-04-29T21:07:12.000Z | 2021-07-05T16:04:21.000Z | src/CompilerPass/EntityRepositoryCompilerPass.php | LYDIC-GROUP/rapid-api-crud-bundle | da33c753b36f4e218a174614607e629e64ae994d | [
"MIT"
] | 15 | 2021-04-29T21:11:12.000Z | 2021-07-27T18:01:39.000Z | src/CompilerPass/EntityRepositoryCompilerPass.php | LYDIC-GROUP/rapid-api-crud-bundle | da33c753b36f4e218a174614607e629e64ae994d | [
"MIT"
] | null | null | null | <?php
/**
* Created by PhpStorm.
* User: Willem Turkstra
* Date: 6/24/2021
* Time: 11:32 PM
*/
namespace LydicGroup\RapidApiCrudBundle\CompilerPass;
use LydicGroup\RapidApiCrudBundle\Factory\CriteriaFactory;
use LydicGroup\RapidApiCrudBundle\Factory\EntityRepositoryFactory;
use LydicGroup\RapidApiCrudBundle\Fac... | 34.794118 | 122 | 0.78191 |
09b4ca7f6a97e39c6ea06dd2935b42f1e46ca2a2 | 2,517 | swift | Swift | Navigation/AppDelegate.swift | odrowonz/IndustrialDevelopment | 6dada57e8fe4cfbe5f4de98d70b22cd026abf30e | [
"MIT"
] | null | null | null | Navigation/AppDelegate.swift | odrowonz/IndustrialDevelopment | 6dada57e8fe4cfbe5f4de98d70b22cd026abf30e | [
"MIT"
] | 1 | 2021-05-05T12:30:13.000Z | 2021-05-05T14:34:55.000Z | Navigation/AppDelegate.swift | odrowonz/IndustrialDevelopment | 6dada57e8fe4cfbe5f4de98d70b22cd026abf30e | [
"MIT"
] | null | null | null | //
// AppDelegate.swift
// Navigation
//
// Created by Andrey Antipov on 18.10.2020.
// Copyright © 2020 Andrey Antipov. All rights reserved.
//
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
var mainCoordinator: MainCoordinator?
lazy var ... | 37.014706 | 115 | 0.672626 |
b93afee81455db9a81598f07dd57ca997cd0eb23 | 5,734 | swift | Swift | TwitterDemo/TweetsViewController.swift | javierbustillo/Twitter-Client | 4747147564cd7aa126ae6875a36fac1a21ecd8d5 | [
"Apache-2.0"
] | null | null | null | TwitterDemo/TweetsViewController.swift | javierbustillo/Twitter-Client | 4747147564cd7aa126ae6875a36fac1a21ecd8d5 | [
"Apache-2.0"
] | 2 | 2016-02-21T19:17:44.000Z | 2016-03-02T17:07:09.000Z | TwitterDemo/TweetsViewController.swift | javierbustillo/Twitter-Client | 4747147564cd7aa126ae6875a36fac1a21ecd8d5 | [
"Apache-2.0"
] | null | null | null | //
// TweetsViewController.swift
// TwitterDemo
//
// Created by Javier Bustillo on 2/19/16.
// Copyright © 2016 Javier Bustillo. All rights reserved.
//
import UIKit
import MBProgressHUD
class TweetsViewController: UIViewController, UITableViewDataSource, UITableViewDelegate {
@IBOutlet weak va... | 33.532164 | 117 | 0.595221 |
3935470ecf11daf13792e99bcda01ff1be92451b | 16,665 | html | HTML | risky/geo-analyzer/cobertura/au.gov.amsa.geo.OperatorCellValuesToBytes.html | amsa-code/amsa-code.github.io | 1a8f63784bf292c98b4dcb369590b3f11a0229fe | [
"Apache-2.0"
] | 1 | 2020-12-14T22:24:32.000Z | 2020-12-14T22:24:32.000Z | risky/geo-analyzer/cobertura/au.gov.amsa.geo.OperatorCellValuesToBytes.html | amsa-code/amsa-code.github.io | 1a8f63784bf292c98b4dcb369590b3f11a0229fe | [
"Apache-2.0"
] | null | null | null | risky/geo-analyzer/cobertura/au.gov.amsa.geo.OperatorCellValuesToBytes.html | amsa-code/amsa-code.github.io | 1a8f63784bf292c98b4dcb369590b3f11a0229fe | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Coverage Report</title>
<link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/... | 122.536765 | 966 | 0.60372 |
5f4ad402313ed483c1b4e91da4d796fb8017885a | 172 | ts | TypeScript | lib/pipes/data-grid-pipe.pipe.d.ts | amn31/ma-data-grid | c2a94e6a31bc6de32f9a96c0b7b9e3d3ae4fb2dd | [
"MIT"
] | 1 | 2021-12-24T13:01:44.000Z | 2021-12-24T13:01:44.000Z | lib/pipes/data-grid-pipe.pipe.d.ts | amn31/ma-data-grid | c2a94e6a31bc6de32f9a96c0b7b9e3d3ae4fb2dd | [
"MIT"
] | null | null | null | lib/pipes/data-grid-pipe.pipe.d.ts | amn31/ma-data-grid | c2a94e6a31bc6de32f9a96c0b7b9e3d3ae4fb2dd | [
"MIT"
] | null | null | null | import { PipeTransform } from '@angular/core';
export declare class DataGridPipePipe implements PipeTransform {
transform(value: any, row?: any, col?: any): unknown;
}
| 34.4 | 64 | 0.738372 |
b5b2b258a19560e48daf3769d7385cc726ea1d7f | 819 | kt | Kotlin | core-kotlin-modules/core-kotlin-lang-oop-2/src/main/kotlin/com/baeldung/sealedclasses/vs/enums/OsEnum.kt | harihar/kotlin-tutorials | 634db45ae3450b2cb5b2ad17670ae6d9a7ad4503 | [
"MIT"
] | 204 | 2020-05-01T15:19:24.000Z | 2022-03-27T17:35:58.000Z | core-kotlin-modules/core-kotlin-lang-oop-2/src/main/kotlin/com/baeldung/sealedclasses/vs/enums/OsEnum.kt | harihar/kotlin-tutorials | 634db45ae3450b2cb5b2ad17670ae6d9a7ad4503 | [
"MIT"
] | 18 | 2020-05-13T12:06:31.000Z | 2022-02-11T09:46:15.000Z | core-kotlin-modules/core-kotlin-lang-oop-2/src/main/kotlin/com/baeldung/sealedclasses/vs/enums/OsEnum.kt | harihar/kotlin-tutorials | 634db45ae3450b2cb5b2ad17670ae6d9a7ad4503 | [
"MIT"
] | 189 | 2020-05-07T12:04:42.000Z | 2022-03-31T22:43:31.000Z | package com.baeldung.sealedclasses.vs.enums
enum class OsEnum(val releaseYear: Int = 0, val company: String = "") {
Linux(0, "Open-Source") {
override fun getText(value: Int): String {
return "Linux by $company - value=$value"
}
},
Windows(0, "Microsoft") {
override fun ... | 27.3 | 71 | 0.56044 |
cdba227e25aca6724756f8b8c91a4bc1b866441e | 557 | rs | Rust | server/src/systems.rs | svenstaro/zombenum | f5f04a5de19481a0dc7bc42031923149f149e3a9 | [
"MIT"
] | null | null | null | server/src/systems.rs | svenstaro/zombenum | f5f04a5de19481a0dc7bc42031923149f149e3a9 | [
"MIT"
] | 5 | 2017-07-12T14:30:11.000Z | 2021-03-19T18:23:46.000Z | server/src/systems.rs | svenstaro/zombenum | f5f04a5de19481a0dc7bc42031923149f149e3a9 | [
"MIT"
] | 1 | 2019-07-16T00:39:59.000Z | 2019-07-16T00:39:59.000Z | use legion::*;
use rand::prelude::*;
use zombenum_shared::components::*;
use crate::ScheduledUpdates;
#[system(for_each)]
pub fn movement(
id: &GameEntityId,
pos: &mut Position,
#[resource] scheduled_updates: &mut ScheduledUpdates,
) {
pos.0.x = thread_rng().gen_range(-10.0..10.0);
pos.0.y = thre... | 23.208333 | 57 | 0.653501 |
39c06be70d694b2fb2fe38934728ef22a3b58f27 | 186 | js | JavaScript | test.js | yoshuawuyts/playground-wercker | 69d465d99f26c9bcb33af7da6fafd9e5e0c9b3eb | [
"MIT"
] | 1 | 2015-07-16T22:16:17.000Z | 2015-07-16T22:16:17.000Z | test.js | yoshuawuyts/playground-wercker | 69d465d99f26c9bcb33af7da6fafd9e5e0c9b3eb | [
"MIT"
] | null | null | null | test.js | yoshuawuyts/playground-wercker | 69d465d99f26c9bcb33af7da6fafd9e5e0c9b3eb | [
"MIT"
] | null | null | null | /*eslint no-unused-expressions: 0*/
/**
* Module dependencies
*/
var wercker-neo4j = require('./index');
/**
* Test
*/
describe('', function() {
it('', function() {
});
});
| 10.333333 | 39 | 0.543011 |
410afc298618d3bb46c79d88e0bcc1c4e61f72f0 | 538 | h | C | RXVerifyExample/RXVerifyExample/RXPersonal/RXAFNetworking/NSURLSession/RXAFCompatibilityMacros.h | Explorer1092/RXVerifyExample | 344f954c155457c34d52db6831f928b5ac400bbc | [
"MIT"
] | null | null | null | RXVerifyExample/RXVerifyExample/RXPersonal/RXAFNetworking/NSURLSession/RXAFCompatibilityMacros.h | Explorer1092/RXVerifyExample | 344f954c155457c34d52db6831f928b5ac400bbc | [
"MIT"
] | null | null | null | RXVerifyExample/RXVerifyExample/RXPersonal/RXAFNetworking/NSURLSession/RXAFCompatibilityMacros.h | Explorer1092/RXVerifyExample | 344f954c155457c34d52db6831f928b5ac400bbc | [
"MIT"
] | null | null | null | //
// RXAFCompatibilityMacros.h
// RXVerifyExample
//
// Created by Rush.D.Xzj on 2018/12/22.
// Copyright © 2018 Rush.D.Xzj. All rights reserved.
//
#ifndef RXAFCompatibilityMacros_h
#define RXAFCompatibilityMacros_h
#ifdef API_UNAVAILABLE
#define RXAF_API_UNAVAILABLE(x) API_UNAVAILABLE(x)
#else
#define RXAF_API... | 21.52 | 53 | 0.786245 |
7055358a16ea58250798aef48e142e33ff724aab | 43 | go | Go | ydboss/src/github.com/cweill/gotests/testdata/invalidtest/invalid_test.go | XianCreationAndToBeSuccessfulCompany/Boss-System | 0021da5242af4eac5fa91ed1d8f8499cf9e2ce28 | [
"Apache-2.0"
] | 21 | 2017-09-05T07:13:12.000Z | 2021-11-07T20:25:35.000Z | ydboss/src/github.com/cweill/gotests/testdata/invalidtest/invalid_test.go | yellowFarLu/Boss-System | 0021da5242af4eac5fa91ed1d8f8499cf9e2ce28 | [
"Apache-2.0"
] | null | null | null | ydboss/src/github.com/cweill/gotests/testdata/invalidtest/invalid_test.go | yellowFarLu/Boss-System | 0021da5242af4eac5fa91ed1d8f8499cf9e2ce28 | [
"Apache-2.0"
] | 13 | 2017-10-30T11:58:53.000Z | 2021-05-05T13:12:38.000Z | package invalidtest
This is not Go code. | 14.333333 | 20 | 0.767442 |
f5ce610f1711dc236915adfa02734091e205a975 | 11,898 | kt | Kotlin | view/src/main/java/com/example/view/bezier/ThreeView.kt | yudengwei/Demo | d6d644e330f5f2b3d43e2451933a30987a5d373e | [
"Apache-2.0"
] | null | null | null | view/src/main/java/com/example/view/bezier/ThreeView.kt | yudengwei/Demo | d6d644e330f5f2b3d43e2451933a30987a5d373e | [
"Apache-2.0"
] | null | null | null | view/src/main/java/com/example/view/bezier/ThreeView.kt | yudengwei/Demo | d6d644e330f5f2b3d43e2451933a30987a5d373e | [
"Apache-2.0"
] | null | null | null | package com.example.view.bezier
import android.animation.Animator
import android.animation.TypeEvaluator
import android.animation.ValueAnimator
import android.content.Context
import android.graphics.*
import android.util.AttributeSet
import android.view.View
class ThreeView @JvmOverloads constructor(context: Context,... | 35.622754 | 173 | 0.499328 |
f038aecec6086a490e6f5aeaa3b33d1f7b60af51 | 488 | js | JavaScript | app/wordseer/static/wordseer_app/view/search/SentenceSetsComboBox.js | Wordseer/wordseer | a45102c1848c93360d3815187783756dc5e16156 | [
"Unlicense"
] | 38 | 2015-02-26T02:21:04.000Z | 2022-02-03T16:29:00.000Z | app/wordseer/static/wordseer_app/view/search/SentenceSetsComboBox.js | Wordseer/wordseer | a45102c1848c93360d3815187783756dc5e16156 | [
"Unlicense"
] | 106 | 2015-03-06T20:23:32.000Z | 2016-10-04T21:46:51.000Z | app/wordseer/static/wordseer_app/view/search/SentenceSetsComboBox.js | Wordseer/wordseer | a45102c1848c93360d3815187783756dc5e16156 | [
"Unlicense"
] | 18 | 2015-08-17T02:29:57.000Z | 2022-02-03T16:29:30.000Z | /* Copyright 2012 Aditi Muralidharan. See the file "LICENSE" for the full license governing this code. */
Ext.define('WordSeer.view.search.SentenceSetComboBox',{
requires: [ 'WordSeer.view.search.DocumentSetsComboBox' ],
extend:'WordSeer.view.search.DocumentSetsComboBox',
alias:'widget.sentence-collections-... | 40.666667 | 105 | 0.719262 |
a1f97f9b31085f53189e89c7eeea27137a90393d | 724 | asm | Assembly | src/dlls/mscoree/i386/handlers.asm | CyberSys/coreclr-mono | 83b2cb83b32faa45b4f790237b5c5e259692294a | [
"MIT"
] | 10 | 2015-11-03T16:35:25.000Z | 2021-07-31T16:36:29.000Z | src/dlls/mscoree/i386/handlers.asm | CyberSys/coreclr-mono | 83b2cb83b32faa45b4f790237b5c5e259692294a | [
"MIT"
] | 1 | 2019-03-05T18:50:09.000Z | 2019-03-05T18:50:09.000Z | src/dlls/mscoree/i386/handlers.asm | CyberSys/coreclr-mono | 83b2cb83b32faa45b4f790237b5c5e259692294a | [
"MIT"
] | 4 | 2015-10-28T12:26:26.000Z | 2021-09-04T11:36:04.000Z | ;
; Copyright (c) Microsoft. All rights reserved.
; Licensed under the MIT license. See LICENSE file in the project root for full license information.
;
; ==++==
;
;
; ==--==
;
; This file contains definitions for each CLR exception handler.
; The assembler marks all functions in this file as safe-exception
; ... | 18.564103 | 101 | 0.794199 |
f082f97017dd469928617efda67490dacef988de | 1,135 | js | JavaScript | assets/js/rotation.js | boardingschool/boardingschool.github.io | 7c8aee829b294bf8ab9f1f02fb7efee5859b0382 | [
"CC-BY-3.0"
] | null | null | null | assets/js/rotation.js | boardingschool/boardingschool.github.io | 7c8aee829b294bf8ab9f1f02fb7efee5859b0382 | [
"CC-BY-3.0"
] | null | null | null | assets/js/rotation.js | boardingschool/boardingschool.github.io | 7c8aee829b294bf8ab9f1f02fb7efee5859b0382 | [
"CC-BY-3.0"
] | null | null | null | $(window).load(function() { //start after HTML, images have loaded
var InfiniteRotator =
{
init: function()
{
//initial fade-in time (in milliseconds)
var initialFadeIn = 0;
//interval between items (in milliseconds)
var itemInterval = 5000;
... | 27.02381 | 66 | 0.489868 |
0bdce382402fcedf20f03783e06ed8e6a1898b6c | 1,843 | js | JavaScript | src/commands/__tests__/init.test.js | Bloodb0ne/bolt | 3e2c9d85afad78d8f8e420d81716a990b7ed9024 | [
"MIT"
] | 2,182 | 2017-09-26T05:58:52.000Z | 2022-03-31T19:11:16.000Z | src/commands/__tests__/init.test.js | Bloodb0ne/bolt | 3e2c9d85afad78d8f8e420d81716a990b7ed9024 | [
"MIT"
] | 191 | 2017-09-26T09:29:58.000Z | 2022-03-21T07:35:21.000Z | src/commands/__tests__/init.test.js | agrublev/bolt-ag | f61c659e88960088411c6df868f559e448355933 | [
"MIT"
] | 113 | 2017-10-10T19:49:51.000Z | 2022-03-25T01:43:28.000Z | // @flow
import { init, toInitOptions } from '../init';
import * as yarn from '../../utils/yarn';
import * as prompts from '../../utils/prompts';
import Package from '../../Package';
jest.mock('../../utils/yarn');
jest.mock('../../utils/prompts');
const dummyPath = '/dummyPattern/dummyPath';
describe('bolt init', () ... | 31.775862 | 104 | 0.601194 |
3b9b909a7e5b41dd4fe29b380ff508bf34e9701c | 698 | h | C | nimbro_apc/control/apc_control/include/apc_control/states/picking/retract.h | warehouse-picking-automation-challenges/nimbro_picking | 857eee602beea9eebee45bbb67fce423b28f9db6 | [
"BSD-3-Clause"
] | 19 | 2017-11-02T03:05:51.000Z | 2020-12-02T19:40:15.000Z | nimbro_apc/control/apc_control/include/apc_control/states/picking/retract.h | warehouse-picking-automation-challenges/nimbro_picking | 857eee602beea9eebee45bbb67fce423b28f9db6 | [
"BSD-3-Clause"
] | null | null | null | nimbro_apc/control/apc_control/include/apc_control/states/picking/retract.h | warehouse-picking-automation-challenges/nimbro_picking | 857eee602beea9eebee45bbb67fce423b28f9db6 | [
"BSD-3-Clause"
] | 9 | 2017-09-16T02:20:39.000Z | 2020-05-24T14:06:35.000Z | // Retract state for APC
// Author: Christian Lenz <chrislenz@uni-bonn.de>
#ifndef APC_RETRACT_STATE_H
#define APC_RETRACT_STATE_H
#include <apc_control/states/move_arm.h>
#include <nimbro_fsm/fsm_ros.h>
namespace apc_control
{
class Retract : public MoveArm
{
public:
explicit Retract(bool retry = true);
ni... | 20.529412 | 115 | 0.769341 |
5ff6de56801abd152f3729dbdc7e3b95ee1c1426 | 790 | css | CSS | src/app/forms/salesForm/sales-form.component.css | romarionelson/Prootype | 4cee8b4e4e2c76446b529487fce345efddd2d3a5 | [
"MIT"
] | null | null | null | src/app/forms/salesForm/sales-form.component.css | romarionelson/Prootype | 4cee8b4e4e2c76446b529487fce345efddd2d3a5 | [
"MIT"
] | null | null | null | src/app/forms/salesForm/sales-form.component.css | romarionelson/Prootype | 4cee8b4e4e2c76446b529487fce345efddd2d3a5 | [
"MIT"
] | null | null | null |
div.flex{
display: flex;
}
div.flex > md-input-container, div.flex > md-select{
flex: 1;
margin: 0 7px;
font-size: 15px;
}
div.flex > md-select{
margin-bottom: 7px;
}
/*.DivHeader{
position: relative;
display: block;
width: 100%;
background-color: lightblue;
}*/
.DivLogo{
backg... | 14.107143 | 67 | 0.58481 |
2071c20c7a05a49756591816498d8f49c810e7e7 | 3,127 | css | CSS | assets/css/footer.css | Lameck1/jivinjari | b2a7ff6f32c53fcd1fb39aff1c2a50d185637659 | [
"MIT"
] | 8 | 2020-10-19T08:39:24.000Z | 2021-08-07T06:02:45.000Z | assets/css/footer.css | Lameck1/jivinjari | b2a7ff6f32c53fcd1fb39aff1c2a50d185637659 | [
"MIT"
] | 1 | 2020-10-26T16:02:45.000Z | 2020-10-26T16:02:45.000Z | assets/css/footer.css | Lameck1/jivinjari | b2a7ff6f32c53fcd1fb39aff1c2a50d185637659 | [
"MIT"
] | 1 | 2021-08-07T06:02:50.000Z | 2021-08-07T06:02:50.000Z | footer {
background-color: var(--color-black);
font-family: var(--font-family-secondary);
padding: 2em 0 10px;
}
/* footer-top */
.footer-links {
flex-direction: column;
justify-content: space-between;
border-top: 2px solid var(--color-darkergray);
border-bottom: 2px solid var(--color-darkergray);
marg... | 15.635 | 51 | 0.590662 |
4553e7fad0f97a06c9baa4052d08628ea3a6f478 | 3,080 | sql | SQL | sig (1).sql | aknanta/sig | e6f514e1eaff8d86a6fd42cae331472f9241dc98 | [
"MIT"
] | null | null | null | sig (1).sql | aknanta/sig | e6f514e1eaff8d86a6fd42cae331472f9241dc98 | [
"MIT"
] | null | null | null | sig (1).sql | aknanta/sig | e6f514e1eaff8d86a6fd42cae331472f9241dc98 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 27 Jul 2021 pada 20.10
-- Versi server: 10.4.17-MariaDB
-- Versi PHP: 7.3.27
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@C... | 39.487179 | 172 | 0.703896 |
e75062653272dcc2e6825a1cd35c04a78851a822 | 870 | js | JavaScript | models/mongodb/FHIRDataTypesSchema/Account_Guarantor.js | Chinlinlee/Burni | f5ba4faa77bafcc266d929ad72c7a6184c6da620 | [
"Apache-2.0"
] | 10 | 2021-11-19T09:14:52.000Z | 2022-03-09T16:28:28.000Z | models/mongodb/FHIRDataTypesSchema/Account_Guarantor.js | cylab-tw/Burni | f5ba4faa77bafcc266d929ad72c7a6184c6da620 | [
"Apache-2.0"
] | 1 | 2022-02-20T20:23:04.000Z | 2022-02-21T13:31:48.000Z | models/mongodb/FHIRDataTypesSchema/Account_Guarantor.js | cylab-tw/Burni | f5ba4faa77bafcc266d929ad72c7a6184c6da620 | [
"Apache-2.0"
] | 2 | 2021-09-29T01:44:57.000Z | 2021-09-29T11:31:49.000Z | const mongoose = require('mongoose');
const {
Extension
} = require('../FHIRDataTypesSchemaExport/allTypeSchemaTopDef');
const {
Reference
} = require('../FHIRDataTypesSchemaExport/allTypeSchemaTopDef');
const boolean = require('../FHIRDataTypesSchema/boolean');
const {
Period
} = require('../FHIRDataTypesS... | 24.166667 | 64 | 0.648276 |
d272b67bfa1137eb6c3871e24aadb62b6fb72ffa | 12,498 | php | PHP | parser.php | hylandry/opensimstuff | 18f5fc5d2399b14d464066b1754b096ce8db9c2d | [
"MIT"
] | null | null | null | parser.php | hylandry/opensimstuff | 18f5fc5d2399b14d464066b1754b096ce8db9c2d | [
"MIT"
] | 1 | 2020-06-09T17:27:35.000Z | 2020-06-09T17:27:35.000Z | parser.php | hylandry/opensimstuff | 18f5fc5d2399b14d464066b1754b096ce8db9c2d | [
"MIT"
] | null | null | null | <?php
//
// Modified for PHP7 and MySQLi
//
// This needs php-curl installed
//
include("databaseinfo.php");
//Supress all Warnings/Errors
//error_reporting(0);
$now = time();
//
// Search DB
//
//
//mysqli_select_db ($db, $DB_NAME);
if (!isset($db)) $db=mysqli_connect ($DB_HOST, $DB_USER, $DB_PASS, $DB_NAME... | 36.976331 | 97 | 0.552088 |
16231a97aaf6f24631b1e649919585efdeb9e02b | 1,139 | ts | TypeScript | node_modules/svelte-native/dom/basicdom/ViewNode.d.ts | ikoc4562/svelte_ShopApp | ef1a34016604fdbb98257c78ce352e6873c24e66 | [
"Apache-2.0"
] | null | null | null | node_modules/svelte-native/dom/basicdom/ViewNode.d.ts | ikoc4562/svelte_ShopApp | ef1a34016604fdbb98257c78ce352e6873c24e66 | [
"Apache-2.0"
] | null | null | null | node_modules/svelte-native/dom/basicdom/ViewNode.d.ts | ikoc4562/svelte_ShopApp | ef1a34016604fdbb98257c78ce352e6873c24e66 | [
"Apache-2.0"
] | null | null | null | import DocumentNode from './DocumentNode';
export declare function normalizeElementName(elementName: string): string;
export declare function elementIterator(el: ViewNode): Iterable<ViewNode>;
export default class ViewNode {
nodeType: number;
_tagName: string;
parentNode: ViewNode;
childNodes: ViewNode[... | 34.515152 | 74 | 0.714662 |
f6e87f6a796bf357f86a7c4f276060b5ec057383 | 575 | sql | SQL | analytics-box/weblog-analytics/queries/proc_2711_update_mst_tduid_device_step1.sql | ryanmaclean/treasure-boxes | 034270a5184094fe086315da4b79225c4ffce027 | [
"MIT"
] | 52 | 2019-07-27T07:59:29.000Z | 2022-02-20T16:32:35.000Z | analytics-box/weblog-analytics/queries/proc_2711_update_mst_tduid_device_step1.sql | nomuryo7159/treasure-boxes | e6797f9855d588aac7803c95601eef7f5da2ccaa | [
"MIT"
] | 62 | 2019-07-23T08:18:32.000Z | 2022-02-10T01:48:24.000Z | analytics-box/weblog-analytics/queries/proc_2711_update_mst_tduid_device_step1.sql | nomuryo7159/treasure-boxes | e6797f9855d588aac7803c95601eef7f5da2ccaa | [
"MIT"
] | 54 | 2019-07-23T14:22:09.000Z | 2022-01-19T21:28:21.000Z | WITH log AS (
SELECT
td_uid
, MIN_BY(td_user_agent, IF(td_user_agent IS NULL, 99999999999, access_time)) AS td_user_agent
FROM
tmp_incr_trs_session
GROUP BY
td_uid
)
SELECT
td_uid
, REGEXP_REPLACE(COALESCE(TD_PARSE_AGENT(td_user_agent)['category'], 'unknown'), 'UNKNOWN', 'unknown') AS device_... | 31.944444 | 123 | 0.74087 |
7a396a507b1594708d62b4b98b364b736ceffd40 | 1,794 | kt | Kotlin | Android_Zone_Test/src/com/example/mylib_test/activity/touch/ViewDragStudyActivity2.kt | luhaoaimama1/ZoneStudio24444 | 420b2bac6c7272997a0d95fe1ffcba7b957f7a19 | [
"MIT"
] | 69 | 2016-10-01T16:12:01.000Z | 2021-11-08T11:50:21.000Z | Android_Zone_Test/src/com/example/mylib_test/activity/touch/ViewDragStudyActivity2.kt | luhaoaimama1/ZoneStudio24444 | 420b2bac6c7272997a0d95fe1ffcba7b957f7a19 | [
"MIT"
] | 2 | 2017-01-18T08:09:31.000Z | 2017-01-23T02:33:25.000Z | Android_Zone_Test/src/com/example/mylib_test/activity/touch/ViewDragStudyActivity2.kt | luhaoaimama1/ZoneStudio24444 | 420b2bac6c7272997a0d95fe1ffcba7b957f7a19 | [
"MIT"
] | 18 | 2017-01-20T04:37:39.000Z | 2021-06-13T09:27:05.000Z | package com.example.mylib_test.activity.touch
import android.view.View
import com.example.mylib_test.R
import com.zone.lib.utils.activity_fragment_ui.ToastUtils
import androidx.customview.widget.ViewDragHelper
import com.zone.lib.base.controller.activity.BaseFeatureActivity
import com.zone.lib.base.controller.activit... | 32.035714 | 98 | 0.645485 |
70ba56dd3bbfdee11e69d29bc32bdfd1cb247ff4 | 842 | h | C | include/Integrators/VolPathIntegrator.h | Jerry-Shen0527/SimpleRayTracer | a016c33ad456dcbd2dde633e616874bf9e5ee19a | [
"Apache-2.0"
] | null | null | null | include/Integrators/VolPathIntegrator.h | Jerry-Shen0527/SimpleRayTracer | a016c33ad456dcbd2dde633e616874bf9e5ee19a | [
"Apache-2.0"
] | null | null | null | include/Integrators/VolPathIntegrator.h | Jerry-Shen0527/SimpleRayTracer | a016c33ad456dcbd2dde633e616874bf9e5ee19a | [
"Apache-2.0"
] | null | null | null | //#pragma once
//
//#include "SamplerIntegrator.h"
//
//class VolPathIntegrator :public SamplerIntegrator
//{
//public:
// VolPathIntegrator(int maxDepth, std::shared_ptr<const Camera> camera,
// std::shared_ptr<Sampler> sampler,
// const Bounds2i& pixelBounds, Float rrThreshold = 1,
// const std::string& lightSampl... | 31.185185 | 100 | 0.736342 |
3c8f5b4df116e459e6fd3ec3ee2092ea9be986df | 2,357 | rs | Rust | socksx/examples/client.rs | onnovalkering/socksx | b7241cdbc9bd029f31a3f4fce33baf4d4e79e54f | [
"MIT"
] | 2 | 2021-07-24T10:11:38.000Z | 2021-08-19T08:03:21.000Z | socksx/examples/client.rs | onnovalkering/socksx | b7241cdbc9bd029f31a3f4fce33baf4d4e79e54f | [
"MIT"
] | null | null | null | socksx/examples/client.rs | onnovalkering/socksx | b7241cdbc9bd029f31a3f4fce33baf4d4e79e54f | [
"MIT"
] | 1 | 2021-08-17T09:28:46.000Z | 2021-08-17T09:28:46.000Z | use anyhow::Result;
use clap::{App, Arg};
use socksx::{Socks5Client, Socks6Client};
use tokio::io::AsyncWriteExt;
#[tokio::main]
async fn main() -> Result<()> {
let args = App::new("Client")
.arg(
Arg::new("VERSION")
.short('s')
.long("socks")
.he... | 28.059524 | 73 | 0.538821 |
d1ee41abb4ad4aef263bbf3933995013a39448e0 | 851 | swift | Swift | JSONConverter/Classes/Macros/Enums.swift | JmoVxia/JSONConverter | e35273379c8492da3f3378a06bb7cbdc8932a3e4 | [
"MIT"
] | 269 | 2020-09-02T06:53:28.000Z | 2022-03-01T02:18:46.000Z | JSONConverter/Classes/Macros/Enums.swift | JmoVxia/JSONConverter | e35273379c8492da3f3378a06bb7cbdc8932a3e4 | [
"MIT"
] | 18 | 2020-09-05T05:49:27.000Z | 2022-03-02T03:10:28.000Z | JSONConverter/Classes/Macros/Enums.swift | JmoVxia/JSONConverter | e35273379c8492da3f3378a06bb7cbdc8932a3e4 | [
"MIT"
] | 47 | 2020-09-04T01:58:26.000Z | 2022-02-15T05:56:29.000Z | //
// Enums.swift
// JSONConverter
//
// Created by DevYao on 2020/9/9.
// Copyright © 2020 DevYao. All rights reserved.
//
import Foundation
enum LangType: Int {
case Swift = 0
case HandyJSON
case SwiftyJSON
case ObjectMapper
case ObjC
case Flutter
case Codable
var language: ... | 18.5 | 70 | 0.59342 |
c7cfca04a6d46c8657fca251fdef016d7c180a06 | 7,637 | py | Python | src/main.py | FranciscoCharles/doom-fire-simulator | fccd45e5c96d37de00a6979ec00a5e13a668d4d9 | [
"MIT"
] | 1 | 2021-05-19T16:12:37.000Z | 2021-05-19T16:12:37.000Z | src/main.py | FranciscoCharles/doom-fire-simulator | fccd45e5c96d37de00a6979ec00a5e13a668d4d9 | [
"MIT"
] | null | null | null | src/main.py | FranciscoCharles/doom-fire-simulator | fccd45e5c96d37de00a6979ec00a5e13a668d4d9 | [
"MIT"
] | null | null | null | #_*_coding:utf-8_*_
#created by FranciscoCharles in april,2021.
from os import environ
if 'PYGAME_HIDE_SUPPORT_PROMPT' not in environ:
environ['PYGAME_HIDE_SUPPORT_PROMPT'] = 'hidden'
del environ
import pygame
import colorsys
import numpy as np
from menu import Menu, HslColor
from fire import FireColorArray
f... | 35.52093 | 118 | 0.552573 |
b1676af4281c36f8f0dabaa1553902603df72ed8 | 5,593 | h | C | NeoMathEngine/src/CPU/x86/avx/src/JitDebug.h | FedyuninV/neoml | b77bbd8d188ca3830d6c2dd5d54e79936b4a7a90 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | NeoMathEngine/src/CPU/x86/avx/src/JitDebug.h | FedyuninV/neoml | b77bbd8d188ca3830d6c2dd5d54e79936b4a7a90 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | NeoMathEngine/src/CPU/x86/avx/src/JitDebug.h | FedyuninV/neoml | b77bbd8d188ca3830d6c2dd5d54e79936b4a7a90 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /* Copyright © 2017-2020 ABBYY Production 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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writi... | 33.094675 | 122 | 0.562846 |
c15a6e9e5bf48fae118e367c551d05a9e44796ea | 33,563 | rs | Rust | src/libcollections/trie.rs | renato-zannon/rust | 61d65cd56e5a6563161b373d10be7501548a52f1 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | src/libcollections/trie.rs | renato-zannon/rust | 61d65cd56e5a6563161b373d10be7501548a52f1 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | src/libcollections/trie.rs | renato-zannon/rust | 61d65cd56e5a6563161b373d10be7501548a52f1 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | // Copyright 2013-2014 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-MI... | 31.484991 | 100 | 0.481602 |
332ec3ad83ab42693d9db460bc909a8573da26d4 | 1,210 | py | Python | src/model/synapses/numba_backend/VoltageJump.py | Fassial/pku-intern | 4463e7d5a5844c8002f7e3d01b4fadc3a20e2038 | [
"MIT"
] | null | null | null | src/model/synapses/numba_backend/VoltageJump.py | Fassial/pku-intern | 4463e7d5a5844c8002f7e3d01b4fadc3a20e2038 | [
"MIT"
] | null | null | null | src/model/synapses/numba_backend/VoltageJump.py | Fassial/pku-intern | 4463e7d5a5844c8002f7e3d01b4fadc3a20e2038 | [
"MIT"
] | null | null | null | """
Created on 12:39, June. 4th, 2021
Author: fassial
Filename: VoltageJump.py
"""
import brainpy as bp
__all__ = [
"VoltageJump",
]
class VoltageJump(bp.TwoEndConn):
target_backend = ['numpy', 'numba', 'numba-parallel', 'numba-cuda']
def __init__(self, pre, post, conn,
weight = 1., delay = 0., *... | 26.304348 | 79 | 0.566116 |
cb1d9e1b42e4dbd9abc96049d184c399b42660a8 | 5,049 | go | Go | controllers/syncbinding_controller.go | arikkfir/syncer | 2181fdcf1fdead71fc017456ef3e2f0c290c26dd | [
"Unlicense"
] | null | null | null | controllers/syncbinding_controller.go | arikkfir/syncer | 2181fdcf1fdead71fc017456ef3e2f0c290c26dd | [
"Unlicense"
] | null | null | null | controllers/syncbinding_controller.go | arikkfir/syncer | 2181fdcf1fdead71fc017456ef3e2f0c290c26dd | [
"Unlicense"
] | null | null | null | /*
Copyright 2021.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed un... | 33.217105 | 118 | 0.728659 |
264fb4fae5668d5018ebd3d6295b9a9a8cc53e54 | 451 | java | Java | src/main/java/com/example/demo/DbSeeder.java | oussama-zaoui/MiniAPI | a93219696ed9dad4f57eca05005d616e0d401552 | [
"MIT"
] | 9 | 2019-01-03T23:30:35.000Z | 2019-04-22T15:23:03.000Z | src/main/java/com/example/demo/DbSeeder.java | oussama-zaoui/MiniAPI | a93219696ed9dad4f57eca05005d616e0d401552 | [
"MIT"
] | null | null | null | src/main/java/com/example/demo/DbSeeder.java | oussama-zaoui/MiniAPI | a93219696ed9dad4f57eca05005d616e0d401552 | [
"MIT"
] | 1 | 2019-01-29T11:54:40.000Z | 2019-01-29T11:54:40.000Z | package com.example.demo;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;
import java.util.Arrays;
import java.util.List;
@Component
public class DbSeeder implements CommandLineRunner
{
private UserRepository userRepository;
public DbSeeder(UserRepository use... | 14.548387 | 50 | 0.791574 |
fb4d89f2b3dd7c8cafd155c3bbf65b4ade0786cb | 301 | h | C | checkbox.h | Radnyx/GEM | 020419bdd986a1a50ed52ddabe0955af8dffb0e8 | [
"MIT"
] | null | null | null | checkbox.h | Radnyx/GEM | 020419bdd986a1a50ed52ddabe0955af8dffb0e8 | [
"MIT"
] | null | null | null | checkbox.h | Radnyx/GEM | 020419bdd986a1a50ed52ddabe0955af8dffb0e8 | [
"MIT"
] | null | null | null | #ifndef CHECKBOX_H
#define CHECKBOX_H
#include "component.h"
class CheckBox : public Component
{
public:
bool* check = nullptr;
CheckBox(int32_t x, int32_t y);
void (*oncheck)(Debugger*);
void update(Debugger*);
void draw(Debugger*);
};
#endif // CHECKBOX_H
| 15.842105 | 36 | 0.634551 |
03bb5ca6fe03a4bbdfcc4e65f46110556a6f7c72 | 141 | kt | Kotlin | http4k-cloudevents/src/main/kotlin/io/cloudevents/core/format/cloudEventsExtensions.kt | kiyadotdev/http4k | 01ce07a94f30bcca93cea63c89090642810dc416 | [
"Apache-2.0"
] | 2,134 | 2017-05-08T14:21:10.000Z | 2022-03-31T22:57:07.000Z | http4k-cloudevents/src/main/kotlin/io/cloudevents/core/format/cloudEventsExtensions.kt | kiyadotdev/http4k | 01ce07a94f30bcca93cea63c89090642810dc416 | [
"Apache-2.0"
] | 490 | 2017-05-19T07:49:00.000Z | 2022-03-24T15:31:29.000Z | http4k-cloudevents/src/main/kotlin/io/cloudevents/core/format/cloudEventsExtensions.kt | kiyadotdev/http4k | 01ce07a94f30bcca93cea63c89090642810dc416 | [
"Apache-2.0"
] | 241 | 2017-05-10T15:00:33.000Z | 2022-03-26T18:13:29.000Z | package io.cloudevents.core.format
import org.http4k.core.ContentType
fun EventFormat.contentType() = ContentType(serializedContentType())
| 23.5 | 68 | 0.829787 |
22e04f14b65b4703af921a217be825f2cb32eafc | 453 | lua | Lua | Themes/_fallback/BGAnimations/ScreenTestInput underlay.lua | kangalioo/etterna | 11630aa1c23bad46b2da993602b06f8b659a4961 | [
"MIT"
] | 1 | 2020-11-09T21:58:28.000Z | 2020-11-09T21:58:28.000Z | Themes/_fallback/BGAnimations/ScreenTestInput underlay.lua | kangalioo/etterna | 11630aa1c23bad46b2da993602b06f8b659a4961 | [
"MIT"
] | null | null | null | Themes/_fallback/BGAnimations/ScreenTestInput underlay.lua | kangalioo/etterna | 11630aa1c23bad46b2da993602b06f8b659a4961 | [
"MIT"
] | null | null | null | return Def.ActorFrame {
--Def.ControllerStateDisplay {
-- InitCommand=function(self)
-- self:LoadGameController()
--end,
--};
Def.DeviceList {
Font = "Common Normal",
InitCommand = function(self)
self:x(SCREEN_LEFT + 20):y(SCREEN_TOP + 80):zoom(0.8):halign(0)
end
},
Def.InputList {
Font = "Common Nor... | 22.65 | 84 | 0.679912 |
6e49233eed70cb896f438af705be430861bfd735 | 2,862 | html | HTML | admin.html | dannyswat/adi | eae931cddd939d5defd01a4e7973532b5466f5d2 | [
"MIT"
] | null | null | null | admin.html | dannyswat/adi | eae931cddd939d5defd01a4e7973532b5466f5d2 | [
"MIT"
] | null | null | null | admin.html | dannyswat/adi | eae931cddd939d5defd01a4e7973532b5466f5d2 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Admin Panel</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" type="text/css" />
<link rel="stylesheet" href="css/admin.css" type="text/css" ... | 42.716418 | 156 | 0.417191 |
d281f3a1c6bd67efd356604f280a4c201fc1996a | 3,108 | php | PHP | src/Controller/InfoAdminClientController.php | Anthony5997/luxury-services | 6fae2877b27c5ac0db7229aebc7c333a0b46094d | [
"MIT"
] | null | null | null | src/Controller/InfoAdminClientController.php | Anthony5997/luxury-services | 6fae2877b27c5ac0db7229aebc7c333a0b46094d | [
"MIT"
] | null | null | null | src/Controller/InfoAdminClientController.php | Anthony5997/luxury-services | 6fae2877b27c5ac0db7229aebc7c333a0b46094d | [
"MIT"
] | null | null | null | <?php
namespace App\Controller;
use App\Entity\InfoAdminClient;
use App\Form\InfoAdminClientType;
use App\Repository\ClientRepository;
use App\Repository\InfoAdminClientRepository;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Htt... | 32.715789 | 89 | 0.625161 |
933b8cf1f4dec391694145449d9199fbc3eee24a | 735 | sql | SQL | employee.sql | PierreParienteDimitrov/employee_tracker | c70256c8ac94d5b9d22d3fa71027b96ebfdc4cf9 | [
"MIT"
] | null | null | null | employee.sql | PierreParienteDimitrov/employee_tracker | c70256c8ac94d5b9d22d3fa71027b96ebfdc4cf9 | [
"MIT"
] | null | null | null | employee.sql | PierreParienteDimitrov/employee_tracker | c70256c8ac94d5b9d22d3fa71027b96ebfdc4cf9 | [
"MIT"
] | null | null | null | DROP DATABASE IF EXISTS employee_db;
CREATE DATABASE employee_db;
USE employee_db;
CREATE TABLE department(
id INTEGER AUTO_INCREMENT NOT NULL,
department_name VARCHAR(30) NULL,
PRIMARY KEY (id)
);
CREATE TABLE role(
id INTEGER AUTO_INCREMENT NOT NULL,
title VARCHAR(30) NULL,
salary DECIMAL (1... | 21 | 39 | 0.707483 |
bcd3a542c8f496b0409aa02968b1858fece07b03 | 1,279 | js | JavaScript | src/components/links/CtaLink/index.js | AliFrank608-TMW/RacingReact | 8044d418964934c92acb96425881efee2c1180a7 | [
"Apache-2.0"
] | 2 | 2021-05-17T18:07:37.000Z | 2021-05-17T18:15:58.000Z | src/components/links/CtaLink/index.js | AliFrank608-TMW/RacingReact | 8044d418964934c92acb96425881efee2c1180a7 | [
"Apache-2.0"
] | null | null | null | src/components/links/CtaLink/index.js | AliFrank608-TMW/RacingReact | 8044d418964934c92acb96425881efee2c1180a7 | [
"Apache-2.0"
] | null | null | null | import React from 'react'
import PropTypes from 'prop-types'
import classNames from 'utils/classnames'
import { Link } from 'react-router-dom'
import { HashLink } from 'react-router-hash-link'
const CtaLink = props => {
const {
className,
modifier,
href,
children,
nativeLink,
hashLink,
... | 18.536232 | 68 | 0.627834 |
fb62ace929471e9bd8e0676dcf771eaa382781da | 302 | c | C | src/loader/event_loader.c | Mikatech/my_rpg | 89d4d8ee362aeb247ad328cada032b01cb83f782 | [
"MIT"
] | 7 | 2021-07-05T20:19:50.000Z | 2021-10-15T12:29:49.000Z | src/loader/event_loader.c | Davphla/my_rpg | 89d4d8ee362aeb247ad328cada032b01cb83f782 | [
"MIT"
] | null | null | null | src/loader/event_loader.c | Davphla/my_rpg | 89d4d8ee362aeb247ad328cada032b01cb83f782 | [
"MIT"
] | 1 | 2021-07-05T20:46:04.000Z | 2021-07-05T20:46:04.000Z | /*
** EPITECH PROJECT, 2021
** B-MUL-200-LYN-2-1-myrpg-david.gozlan
** File description:
** main_2_loader
*/
#include "rpg.h"
event_t *event_initialize(void)
{
event_t *event = malloc(sizeof(event_t));
event->key_input = 0;
event->mouse_coords = (sfVector2f){0, 0};
return (event);
} | 17.764706 | 45 | 0.655629 |
fea027e63c8ec137410b07cae121edd763bbcdf7 | 1,270 | kt | Kotlin | buildSrc/src/main/kotlin/MarkdownUtil.kt | StanleyProjects/AndroidExtension.UserInterface | 245a7c3c8f7518ddcf17f02629b01404800852da | [
"Apache-2.0"
] | null | null | null | buildSrc/src/main/kotlin/MarkdownUtil.kt | StanleyProjects/AndroidExtension.UserInterface | 245a7c3c8f7518ddcf17f02629b01404800852da | [
"Apache-2.0"
] | 11 | 2021-12-19T13:37:00.000Z | 2022-01-13T16:00:59.000Z | buildSrc/src/main/kotlin/MarkdownUtil.kt | StanleyProjects/AndroidExtension.UserInterface | 245a7c3c8f7518ddcf17f02629b01404800852da | [
"Apache-2.0"
] | null | null | null | object MarkdownUtil {
fun url(
text: String,
value: String
): String {
return "[$text]($value)"
}
fun image(
text: String,
url: String
): String {
return "!" + url(text = text, value = url)
}
fun table(
heads: List<String>,
di... | 29.534884 | 72 | 0.531496 |
4e0cf10ba62a61bbde206ff0ae503fbef4c0c6dc | 1,953 | asm | Assembly | Microcontroller_Lab/Lab_6/Lab_6/Read_Code_With_Comments.asm | MuhammadAlBarham/pic16f778_projects | c12e15e48a62cd16f869cbe9411728a4eea8f499 | [
"MIT"
] | null | null | null | Microcontroller_Lab/Lab_6/Lab_6/Read_Code_With_Comments.asm | MuhammadAlBarham/pic16f778_projects | c12e15e48a62cd16f869cbe9411728a4eea8f499 | [
"MIT"
] | null | null | null | Microcontroller_Lab/Lab_6/Lab_6/Read_Code_With_Comments.asm | MuhammadAlBarham/pic16f778_projects | c12e15e48a62cd16f869cbe9411728a4eea8f499 | [
"MIT"
] | null | null | null | Include "p16F84A.inc"
; ----------------------------------------------------------
; General Purpose RAM Assignments
; ----------------------------------------------------------
cblock 0x0C
Counter
Endc
; ----------------------------------------------------------
; Macro Definitions
; -------------------------------... | 29.149254 | 61 | 0.410138 |
11db6035616a9cf473737119e0811732c0ab3de3 | 2,885 | html | HTML | committee.html | intaset/enfht | 56b2d5418d7df323a10306d518dce23e459980a0 | [
"MIT"
] | null | null | null | committee.html | intaset/enfht | 56b2d5418d7df323a10306d518dce23e459980a0 | [
"MIT"
] | null | null | null | committee.html | intaset/enfht | 56b2d5418d7df323a10306d518dce23e459980a0 | [
"MIT"
] | null | null | null | ---
layout: default
title: ENFHT'18 - Scientific Committee
meta: The scientific committee members of ENFHT'18.
keyword: experimental flow conference, expiremental heat transfer conference, numerical heat transfer conference, numerical flow conference, cfd conference, heat transfer enhancement, porous media conference, ... | 67.093023 | 809 | 0.692201 |
fdaf633a2d6691a5cac79970a134936e25b5c10c | 3,480 | lua | Lua | src/scripts/client/gameplay/viz_handlers/flash_units.lua | Psimage/Lovely-Camera-Mod | 7ecb1c354c3e00091ef6005d53eb19d0fcf7f56e | [
"MIT"
] | null | null | null | src/scripts/client/gameplay/viz_handlers/flash_units.lua | Psimage/Lovely-Camera-Mod | 7ecb1c354c3e00091ef6005d53eb19d0fcf7f56e | [
"MIT"
] | null | null | null | src/scripts/client/gameplay/viz_handlers/flash_units.lua | Psimage/Lovely-Camera-Mod | 7ecb1c354c3e00091ef6005d53eb19d0fcf7f56e | [
"MIT"
] | null | null | null | ----------------------------------------------------------------
-- Copyright (c) 2012 Klei Entertainment Inc.
-- All Rights Reserved.
-- SPY SOCIETY.
----------------------------------------------------------------
local viz_thread = include( "gameplay/viz_thread" )
local array = include( "modules/array" )
local cdef... | 31.926606 | 109 | 0.641092 |
f4df560444f8ac8d34f4994237282dc2be0c8aea | 1,087 | swift | Swift | Sources/BaseSwift/Mutex.swift | nallick/BaseSwift | b7d11109ab44382fbb8bf6562eebc6ff866c3c95 | [
"MIT"
] | null | null | null | Sources/BaseSwift/Mutex.swift | nallick/BaseSwift | b7d11109ab44382fbb8bf6562eebc6ff866c3c95 | [
"MIT"
] | null | null | null | Sources/BaseSwift/Mutex.swift | nallick/BaseSwift | b7d11109ab44382fbb8bf6562eebc6ff866c3c95 | [
"MIT"
] | null | null | null | //
// Mutex.swift
//
// Copyright © 2018-2020 Purgatory Design. Licensed under the MIT License.
//
import Foundation
public final class Mutex {
@inlinable public func lock() {
pthread_mutex_lock(&self.mutex)
}
@inlinable public func unlock() {
pthread_mutex_unlock(&self.mutex)
}
... | 23.12766 | 82 | 0.634775 |
90c3e100ca4a5b963f60e1642e99e286ff9f15e0 | 4,187 | kt | Kotlin | educational-core/src/com/jetbrains/edu/learning/stepik/course/StartStepikCourseAction.kt | varsy/edu-for-kotlin | c92a4519275344e8dfa31fa6df0c6e4b060bef31 | [
"Apache-2.0"
] | 3 | 2016-01-13T14:08:13.000Z | 2016-04-06T20:01:42.000Z | educational-core/src/com/jetbrains/edu/learning/stepik/course/StartStepikCourseAction.kt | varsy/edu-for-kotlin | c92a4519275344e8dfa31fa6df0c6e4b060bef31 | [
"Apache-2.0"
] | 13 | 2015-10-13T11:53:55.000Z | 2016-02-05T12:17:32.000Z | educational-core/src/com/jetbrains/edu/learning/stepik/course/StartStepikCourseAction.kt | varsy/edu-for-kotlin | c92a4519275344e8dfa31fa6df0c6e4b060bef31 | [
"Apache-2.0"
] | null | null | null | package com.jetbrains.edu.learning.stepik.course
import com.intellij.openapi.progress.ProgressManager
import com.intellij.openapi.ui.Messages
import com.jetbrains.edu.learning.*
import com.jetbrains.edu.learning.compatibility.CourseCompatibility.Companion.validateLanguage
import com.jetbrains.edu.learning.compatibilit... | 39.5 | 130 | 0.736327 |
40ae558bc2a066a470320b7d80dcfa41f2b9f3a9 | 165 | py | Python | problem0090.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0090.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0090.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #90 Cube digit pairs - Project Euler
# https://projecteuler.net/problem=90
#
# Code by Kevin Marciniak
#
###########################
| 18.333333 | 38 | 0.466667 |
3ac6fdda39effd934cad9c3b2f626c3e2273a439 | 5,494 | asm | Assembly | Transynther/x86/_processed/NC/_ht_/i9-9900K_12_0xa0.log_21829_1401.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NC/_ht_/i9-9900K_12_0xa0.log_21829_1401.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NC/_ht_/i9-9900K_12_0xa0.log_21829_1401.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 %r13
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x41f5, %rsi
lea addresses_WC_ht+0xe207, %rdi
nop
nop
and %r8, %r8
mov $106, %rcx
rep movsq
cmp %r13, %r13
lea addresses_WC_ht+0x1a813, %rcx
inc %r9
mov $0x6162636465666768, %rsi
movq %rsi... | 46.559322 | 2,999 | 0.655624 |
412d2a52ec2d5259851869c80c946d85ee15d44f | 1,937 | swift | Swift | COVID-19/Views/Statistics views/Pickers/GlobalCountryPicker.swift | miladgolchinpour/Covid-19 | 6efdd5137473a9b98313c4d33ebeb32dcfb8950d | [
"MIT"
] | 1 | 2021-08-08T18:28:57.000Z | 2021-08-08T18:28:57.000Z | COVID-19/Views/Statistics views/Pickers/GlobalCountryPicker.swift | miladgolchinpour/Covid-19 | 6efdd5137473a9b98313c4d33ebeb32dcfb8950d | [
"MIT"
] | null | null | null | COVID-19/Views/Statistics views/Pickers/GlobalCountryPicker.swift | miladgolchinpour/Covid-19 | 6efdd5137473a9b98313c4d33ebeb32dcfb8950d | [
"MIT"
] | null | null | null | //
// GlobalCountryPicker.swift
// COVID-19
//
// Created by Milad Golchinpour on 7/1/21.
// Copyright © 2021 Milad Golchinpour. All rights reserved.
//
import SwiftUI
enum GlobalCountryPickerSelection: String, CaseIterable {
case global = "Global"
case country = "My Country"
}
struct GlobalCountryPicker... | 28.910448 | 89 | 0.505421 |
da1f4b82540846bf3b10497980830f102e02fe01 | 2,018 | lua | Lua | resources/[scripts]/[hoppe]/[jobs]/hpp_cet/towtruck.lua | HoppeDevz/bclrp | acc33ae5032fb2488dacfa49046470feb8cac32e | [
"MIT"
] | 4 | 2020-09-15T17:43:21.000Z | 2022-01-14T16:49:16.000Z | resources/[scripts]/[hoppe]/[jobs]/hpp_cet/towtruck.lua | kFxDaKing/bclrp | acc33ae5032fb2488dacfa49046470feb8cac32e | [
"MIT"
] | null | null | null | resources/[scripts]/[hoppe]/[jobs]/hpp_cet/towtruck.lua | kFxDaKing/bclrp | acc33ae5032fb2488dacfa49046470feb8cac32e | [
"MIT"
] | 4 | 2020-09-14T11:47:50.000Z | 2021-02-15T20:39:45.000Z |
RegisterCommand("towtruck", function()
vehicle = GetVehiclePedIsUsing(GetPlayerPed(-1))
vehicletow = GetDisplayNameFromVehicleModel(GetEntityModel(GetVehiclePedIsUsing(GetPlayerPed(-1))))
end)
local reboque = nil
local rebocado = nil
RegisterCommand("tow",function(source,args)
--local vehicle = GetPlayersLastVehic... | 29.246377 | 128 | 0.730426 |
fb1d5c4ea3afb1fa2a7d6ae0aa425f2f79006f5d | 207 | c | C | opcode/opcode13.c | 1847123212/fppa-pdk-tools | 670e7bc9c1b33469fe8c80cd4c1eeb053d20c191 | [
"MIT"
] | 35 | 2018-11-27T11:48:29.000Z | 2021-09-22T22:46:41.000Z | opcode/opcode13.c | 1847123212/fppa-pdk-tools | 670e7bc9c1b33469fe8c80cd4c1eeb053d20c191 | [
"MIT"
] | 6 | 2019-01-06T23:19:25.000Z | 2021-02-07T10:35:12.000Z | opcode/opcode13.c | 1847123212/fppa-pdk-tools | 670e7bc9c1b33469fe8c80cd4c1eeb053d20c191 | [
"MIT"
] | 4 | 2019-10-18T12:04:24.000Z | 2020-03-05T19:05:33.000Z | #include <stdint.h>
#include <stdbool.h>
#include "emucpu.h"
//execute next 13 bit opcode and advanced PC
int opcode13(struct emuCPU *cpu)
{
emuCPUexception(cpu,EXCEPTION_ILLEGAL_OPCODE);
return -1;
}
| 17.25 | 48 | 0.73913 |
b89f9543ecb27486610847a26f0dea237fce7656 | 3,804 | rs | Rust | days/day25/src/lib.rs | dfm/adventofcode | ab2c4228229988d79ba7a9034069961650830031 | [
"Apache-2.0"
] | 2 | 2020-12-05T23:14:48.000Z | 2021-12-27T04:39:33.000Z | days/day25/src/lib.rs | dfm/adventofcode | ab2c4228229988d79ba7a9034069961650830031 | [
"Apache-2.0"
] | null | null | null | days/day25/src/lib.rs | dfm/adventofcode | ab2c4228229988d79ba7a9034069961650830031 | [
"Apache-2.0"
] | 1 | 2019-12-24T04:56:27.000Z | 2019-12-24T04:56:27.000Z | use aoc::solver::Solver;
pub struct Day25;
#[derive(Copy, Clone)]
enum Cell {
Empty,
East,
South,
}
struct Grid {
width: usize,
height: usize,
value: Vec<Cell>,
}
impl Grid {
fn new(data: &str) -> Self {
let width = data.lines().next().unwrap().trim().len();
let mut grid ... | 22.508876 | 68 | 0.398002 |
5f471a3686be88dd0ba9218962260cc738a05c40 | 5,216 | ts | TypeScript | mock/data/ledereMock.ts | navikt/syfomodiaperson | 5d99a9a618779284f813c66fb1a479be02305c15 | [
"MIT"
] | null | null | null | mock/data/ledereMock.ts | navikt/syfomodiaperson | 5d99a9a618779284f813c66fb1a479be02305c15 | [
"MIT"
] | 111 | 2020-02-26T15:17:37.000Z | 2022-03-30T11:34:02.000Z | mock/data/ledereMock.ts | navikt/syfomodiaperson | 5d99a9a618779284f813c66fb1a479be02305c15 | [
"MIT"
] | null | null | null | export enum NarmesteLederRelasjonStatus {
INNMELDT_AKTIV = "INNMELDT_AKTIV",
DEAKTIVERT = "DEAKTIVERT",
DEAKTIVERT_ARBEIDSTAKER = "DEAKTIVERT_ARBEIDSTAKER",
DEAKTIVERT_ARBEIDSTAKER_INNSENDT_SYKMELDING = "DEAKTIVERT_ARBEIDSTAKER_INNSENDT_SYKMELDING",
DEAKTIVERT_LEDER = "DEAKTIVERT_LEDER",
DEAKTIVERT_ARBEIDSF... | 35.243243 | 94 | 0.724693 |
b156345f812e80c4199551982bf4bc47bc72fad8 | 1,984 | h | C | sorce/mikey/Opera/Grass.h | montoyamoraga/shbobo | 3469747603dfead376111f38b455af1250365848 | [
"MIT"
] | 16 | 2020-12-21T04:52:20.000Z | 2022-02-28T10:15:34.000Z | sorce/mikey/Opera/Grass.h | montoyamoraga/shbobo | 3469747603dfead376111f38b455af1250365848 | [
"MIT"
] | 8 | 2021-01-02T01:01:26.000Z | 2021-12-19T01:40:34.000Z | sorce/mikey/Opera/Grass.h | montoyamoraga/shbobo | 3469747603dfead376111f38b455af1250365848 | [
"MIT"
] | 4 | 2021-01-01T15:27:43.000Z | 2021-08-10T21:14:29.000Z |
struct BistaTranz {
float squl, squr;
bool state;
BistaTranz (){squl=squr=0;}
float calx(float fmm, float den) {
if (state) {
squl += fmm;
if (squl >= den) {
squr = -den;
state = !state;
}
} else {
squr += fmm;
if (squr >= den) {
squl = -den;
state = !state;
}
} return squl;... | 22.545455 | 52 | 0.583669 |
98a35d420bd8a7b85bf17238ab1dd281c15701ea | 926 | html | HTML | manuscript/page-39/body.html | marvindanig/the-people-of-the-abyss | ddcf467f42bf295a0171f041c0d3992782a28701 | [
"CECILL-B"
] | null | null | null | manuscript/page-39/body.html | marvindanig/the-people-of-the-abyss | ddcf467f42bf295a0171f041c0d3992782a28701 | [
"CECILL-B"
] | null | null | null | manuscript/page-39/body.html | marvindanig/the-people-of-the-abyss | ddcf467f42bf295a0171f041c0d3992782a28701 | [
"CECILL-B"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><p>I shall not give you the address of Johnny Upright. Let it suffice that he lives in the most respectable street in the East End—a street that would be considered very mean in America, but a veritable oasis in the desert of East London. It is surroun... | 926 | 926 | 0.772138 |
5dfb1bace744182036361c4426647afc69aa2b48 | 373 | asm | Assembly | programs/oeis/070/A070383.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/070/A070383.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/070/A070383.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A070383: a(n) = 5^n mod 36.
; 1,5,25,17,13,29,1,5,25,17,13,29,1,5,25,17,13,29,1,5,25,17,13,29,1,5,25,17,13,29,1,5,25,17,13,29,1,5,25,17,13,29,1,5,25,17,13,29,1,5,25,17,13,29,1,5,25,17,13,29,1,5,25,17,13,29,1,5,25,17,13,29,1,5,25,17,13,29,1,5,25,17,13,29,1,5,25,17,13,29,1,5,25,17,13,29,1,5,25,17
mov $1,1
mov $2,$0
lp... | 31.083333 | 267 | 0.589812 |
ef53113206ffe662ae977a2dee15a9f65785ecd4 | 1,950 | pls | SQL | home/lib/python/exemple/plgrader/one.pls | PremierLangage/premierlangage | 7134a2aadffee2bf264abee6c4b23ea33f1b390b | [
"CECILL-B"
] | 8 | 2019-01-30T13:51:59.000Z | 2022-01-08T03:26:53.000Z | apps/misc_tests/resources/lib/python/exemple/plgrader/one.pls | PremierLangage/premierlangage | 7134a2aadffee2bf264abee6c4b23ea33f1b390b | [
"CECILL-B"
] | 286 | 2019-01-18T21:35:51.000Z | 2022-03-24T18:53:59.000Z | apps/misc_tests/resources/lib/python/exemple/plgrader/one.pls | PremierLangage/premierlangage | 7134a2aadffee2bf264abee6c4b23ea33f1b390b | [
"CECILL-B"
] | 4 | 2019-02-11T13:38:30.000Z | 2021-03-02T20:59:00.000Z | from playexo.strategy import StrategyAPI
def get_last_answered_index(request, activity):
strat = StrategyAPI(activity)
pls = strat.get_pl_list()
i = 0
for pl in pls:
if not strat.get_last_good_answer(pl, request):
return i
i += 1
return 0
def strategy(request, activity)... | 38.235294 | 104 | 0.640513 |
e78125a9eed85a9d56f890e7edbb48bc14b0eef4 | 1,461 | js | JavaScript | lambda/park/GET/index.js | marklise/bcparks-ar-api | 7313adb4696c6ffe5c6f7db5d834c465cc16b324 | [
"Apache-2.0"
] | null | null | null | lambda/park/GET/index.js | marklise/bcparks-ar-api | 7313adb4696c6ffe5c6f7db5d834c465cc16b324 | [
"Apache-2.0"
] | null | null | null | lambda/park/GET/index.js | marklise/bcparks-ar-api | 7313adb4696c6ffe5c6f7db5d834c465cc16b324 | [
"Apache-2.0"
] | null | null | null | const AWS = require('aws-sdk');
const { runQuery, TABLE_NAME } = require('../../dynamoUtil');
const { sendResponse } = require('../../responseUtil');
exports.handler = async (event, context) => {
console.log('GET: Park', event);
let queryObj = {
TableName: TABLE_NAME
};
try {
if (!event.queryStringPa... | 36.525 | 105 | 0.652977 |
8c1cd1193490b6043dceafbc312e302e08e02328 | 1,496 | kt | Kotlin | java-time/src/main/kotlin/com/github/debop/javatimes/PeriodExtensions.kt | debop/joda-time-kotlin | cbb0efedaa53bdf9d77b230d8477cb0ae0d7abd7 | [
"ECL-2.0",
"Apache-2.0"
] | 91 | 2016-07-15T03:06:17.000Z | 2021-12-07T11:16:44.000Z | java-time/src/main/kotlin/com/github/debop/javatimes/PeriodExtensions.kt | debop/joda-time-kotlin | cbb0efedaa53bdf9d77b230d8477cb0ae0d7abd7 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-11-23T11:04:30.000Z | 2021-05-18T13:07:11.000Z | java-time/src/main/kotlin/com/github/debop/javatimes/PeriodExtensions.kt | debop/joda-time-kotlin | cbb0efedaa53bdf9d77b230d8477cb0ae0d7abd7 | [
"ECL-2.0",
"Apache-2.0"
] | 9 | 2017-01-23T13:35:25.000Z | 2020-06-08T06:26:48.000Z | package com.github.debop.javatimes
import java.time.Period
import java.time.temporal.Temporal
operator fun Period.unaryMinus(): Period = this.negated()
@Suppress("UNCHECKED_CAST")
operator fun <T : Temporal> Period.plus(instant: T): T = addTo(instant) as T
@Suppress("UNCHECKED_CAST")
operator fun <T : Temporal> Per... | 22.666667 | 97 | 0.57754 |
5f7a69cbbbb8ee7c899422ea37bef9ab9122e016 | 1,207 | swift | Swift | Sources/Additions/Inactive/WeakAny.swift | MutatingFunc/Additions | da23bcc0ac650af6081a910cd3d203fd332d55c6 | [
"MIT"
] | null | null | null | Sources/Additions/Inactive/WeakAny.swift | MutatingFunc/Additions | da23bcc0ac650af6081a910cd3d203fd332d55c6 | [
"MIT"
] | null | null | null | Sources/Additions/Inactive/WeakAny.swift | MutatingFunc/Additions | da23bcc0ac650af6081a910cd3d203fd332d55c6 | [
"MIT"
] | null | null | null | //
// WeakAny.swift
// Additions
//
// Created by James Froggatt on 22.09.2016.
//
//
/*
inactive - no valid use found
*/
//private, to avoid explicit case access
private enum _WeakAny<Type> {
case valueType(Type?)
case referenceType(Weak<AnyObject>)
init(target: Type?) {
//this cast will succeed only if th... | 22.351852 | 150 | 0.68517 |
ddb15c7ec1b8fe1e7ef296f7b340a217ed323ff3 | 1,376 | php | PHP | src/Support/Helpers/Json.php | movoin/one-swoole | b9b175963ead91416cc50902a04e05ff3ef571de | [
"Apache-2.0"
] | null | null | null | src/Support/Helpers/Json.php | movoin/one-swoole | b9b175963ead91416cc50902a04e05ff3ef571de | [
"Apache-2.0"
] | null | null | null | src/Support/Helpers/Json.php | movoin/one-swoole | b9b175963ead91416cc50902a04e05ff3ef571de | [
"Apache-2.0"
] | null | null | null | <?php
/**
* This file is part of the One package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @package One\Support\Helpers
* @author Allen Luo <movoin@gmail.com>
* @since 0.1
*/
namespace One\Support\Helpers;... | 22.933333 | 89 | 0.603198 |
0802da7ea8466fcaef8aac84e2e1797171251f03 | 54,026 | html | HTML | docs/E04011561/index.html | digital-land/parish | d10189d218f6ab8a28551fd4a41eb159387d222b | [
"MIT"
] | null | null | null | docs/E04011561/index.html | digital-land/parish | d10189d218f6ab8a28551fd4a41eb159387d222b | [
"MIT"
] | 2 | 2021-06-03T16:03:09.000Z | 2021-06-03T16:03:10.000Z | docs/E04011561/index.html | digital-land/parish | d10189d218f6ab8a28551fd4a41eb159387d222b | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en" class="govuk-template ">
<head>
<meta charset="utf-8">
<title>St. Keverne | Parish | Digital Land</title>
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="theme-color" content="#0b0c0c"> <meta http-equiv="X-UA-Comp... | 140.327273 | 35,882 | 0.707548 |
ce591bfd00ce1f8e69e7ff1a852d148911ab6939 | 1,702 | sql | SQL | apps/memberships/models/tables/structures/sql/tbl_membership.sql | wvanheemstra/core | 8461e49e392b73f841058514414dd0cf74e55033 | [
"Unlicense",
"MIT"
] | 1 | 2018-03-15T15:01:39.000Z | 2018-03-15T15:01:39.000Z | apps/memberships/models/tables/structures/sql/tbl_membership.sql | wvanheemstra/core | 8461e49e392b73f841058514414dd0cf74e55033 | [
"Unlicense",
"MIT"
] | null | null | null | apps/memberships/models/tables/structures/sql/tbl_membership.sql | wvanheemstra/core | 8461e49e392b73f841058514414dd0cf74e55033 | [
"Unlicense",
"MIT"
] | null | null | null | /*
Navicat MySQL Data Transfer
Source Server : wvanheem_core_local
Source Server Version : 50509
Source Host : 127.0.0.1
Source Database : core
Target Server Version : 50509
File Encoding : utf-8
Date: 06/29/2012 12:38:37 PM
*/
SET NAMES utf8;
SET FOREIGN_KEY_CHECKS = 0;
-- ... | 34.734694 | 91 | 0.716804 |
718b41734b04ae8851880511446c1a6a9eff24c1 | 428 | ts | TypeScript | src/metas/metas.module.ts | EquilibrioApp/Equilibrio-BackEnd | 36b9d07db923a499ed75a36448f5e1b785d516f0 | [
"MIT"
] | null | null | null | src/metas/metas.module.ts | EquilibrioApp/Equilibrio-BackEnd | 36b9d07db923a499ed75a36448f5e1b785d516f0 | [
"MIT"
] | null | null | null | src/metas/metas.module.ts | EquilibrioApp/Equilibrio-BackEnd | 36b9d07db923a499ed75a36448f5e1b785d516f0 | [
"MIT"
] | null | null | null | import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MetaEntity } from './meta.entity';
import { MetasController } from './metas.controller';
import { MetasService } from './metas.service';
@Module({
imports:[
TypeOrmModule.forFeature([MetaEntity]),
],
exports: [... | 26.75 | 53 | 0.705607 |
3fc4bb0354f563eff7271dc381883e49ef0a9610 | 5,913 | h | C | CS301/LCD/Inc/user_setting.h | Wycers/Codelib | 86d83787aa577b8f2d66b5410e73102411c45e46 | [
"MIT"
] | 22 | 2018-08-07T06:55:10.000Z | 2021-06-12T02:12:19.000Z | CS301/LCD/Inc/user_setting.h | Wycers/Codelib | 86d83787aa577b8f2d66b5410e73102411c45e46 | [
"MIT"
] | 28 | 2020-03-04T23:47:22.000Z | 2022-02-26T18:50:00.000Z | CS301/LCD/Inc/user_setting.h | Wycers/Codelib | 86d83787aa577b8f2d66b5410e73102411c45e46 | [
"MIT"
] | 4 | 2019-11-09T15:41:26.000Z | 2021-10-10T08:56:57.000Z | /*
* user_setting.h
*
* Created on: 02-Jul-2019
* Author: poe
*/
#ifndef USER_SETTING_H_
#define USER_SETTING_H_
#define RD_PORT GPIOC
#define RD_PIN GPIO_PIN_6
#define WR_PORT GPIOC
#define WR_PIN GPIO_PIN_7
#define CD_PORT GPIOC // RS PORT
#define CD_PIN GPIO_PIN_10 // RS PIN
#define CS_... | 34.377907 | 139 | 0.559784 |
27e0e1bdc49eab4fdb1dfb4431fe18bd1c9bc125 | 6,115 | kt | Kotlin | app/src/main/java/com/starline/hamsteradoption/HamsterDetailActivity.kt | MaxNeverSleep/HamsterAdoption | 38416348921b78c2f51933ddbc287f234fd0ac5c | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/starline/hamsteradoption/HamsterDetailActivity.kt | MaxNeverSleep/HamsterAdoption | 38416348921b78c2f51933ddbc287f234fd0ac5c | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/starline/hamsteradoption/HamsterDetailActivity.kt | MaxNeverSleep/HamsterAdoption | 38416348921b78c2f51933ddbc287f234fd0ac5c | [
"Apache-2.0"
] | null | null | null | package com.starline.hamsteradoption
import android.graphics.Paint
import android.os.Bundle
import android.util.Log
import androidx.activity.compose.setContent
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.*
import androidx.compose.ma... | 33.598901 | 345 | 0.521668 |
1a69c2c3ce002394f59350a2471f4915c0d2cc57 | 14,676 | kt | Kotlin | src/commonMain/kotlin/com/jeffpdavidson/kotwords/formats/unidecode/xe1.kt | jpd236/kotwords | ff3f29b7178afa2b774ee06bdf37a3a7899ff03a | [
"Apache-2.0"
] | 9 | 2021-06-11T21:19:09.000Z | 2021-12-09T14:18:55.000Z | src/commonMain/kotlin/com/jeffpdavidson/kotwords/formats/unidecode/xe1.kt | jpd236/kotwords | ff3f29b7178afa2b774ee06bdf37a3a7899ff03a | [
"Apache-2.0"
] | 29 | 2018-08-06T00:28:04.000Z | 2022-03-29T03:08:44.000Z | src/commonMain/kotlin/com/jeffpdavidson/kotwords/formats/unidecode/xe1.kt | jpd236/kotwords | ff3f29b7178afa2b774ee06bdf37a3a7899ff03a | [
"Apache-2.0"
] | 2 | 2020-09-25T17:12:24.000Z | 2021-06-12T05:40:07.000Z | package com.jeffpdavidson.kotwords.formats.unidecode
internal val xe1 = arrayOf(
// 0xe100: => [?]
"\u005b\u003f\u005d\u0020",
// 0xe101: => [?]
"\u005b\u003f\u005d\u0020",
// 0xe102: => [?]
"\u005b\u003f\u005d\u0020",
// 0xe103: => [?]
"\u005b\u003f\u005d\u0020",
// 0xe... | 28.386847 | 52 | 0.458163 |
2616f6e5e467598844793334135f8b3ba7292f7c | 2,251 | java | Java | gradoop-flink/src/main/java/org/gradoop/flink/model/impl/operators/sampling/functions/AddPageRankScoresToVertexCrossFunction.java | hr73vexy/gradoop | 9d8e9afc776919c1856773b220df19783478f332 | [
"Apache-2.0"
] | null | null | null | gradoop-flink/src/main/java/org/gradoop/flink/model/impl/operators/sampling/functions/AddPageRankScoresToVertexCrossFunction.java | hr73vexy/gradoop | 9d8e9afc776919c1856773b220df19783478f332 | [
"Apache-2.0"
] | 2 | 2018-12-18T14:54:02.000Z | 2019-01-21T15:33:23.000Z | gradoop-flink/src/main/java/org/gradoop/flink/model/impl/operators/sampling/functions/AddPageRankScoresToVertexCrossFunction.java | hr73vexy/gradoop | 9d8e9afc776919c1856773b220df19783478f332 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright © 2014 - 2018 Leipzig University (Database Research Group)
*
* 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
*
* Unles... | 40.196429 | 92 | 0.766326 |
adc3f17b365103baa048d1ec5cd7c469e851a53f | 1,623 | kt | Kotlin | app/src/main/java/com/team8/moviecatalog/ScreenActivity.kt | naufalirfani/PAPB-Tugas-1 | 62e48dc0a76c8d994e8c23a29813a4905ef04d17 | [
"MIT"
] | null | null | null | app/src/main/java/com/team8/moviecatalog/ScreenActivity.kt | naufalirfani/PAPB-Tugas-1 | 62e48dc0a76c8d994e8c23a29813a4905ef04d17 | [
"MIT"
] | 1 | 2021-05-02T05:02:03.000Z | 2021-05-02T05:07:26.000Z | app/src/main/java/com/team8/moviecatalog/ScreenActivity.kt | naufalirfani/papb-team8 | 62e48dc0a76c8d994e8c23a29813a4905ef04d17 | [
"MIT"
] | null | null | null | package com.team8.moviecatalog
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import androidx.appcompat.app.AppCompatDelegate
import com.team8.moviecatalog.databinding.ActivityScreenBinding
import java.util.*
cl... | 36.066667 | 92 | 0.727665 |
8e447720674c91b173384fcd9c06cc17164dc87b | 3,122 | rb | Ruby | lib/fastly_nsq/manager.rb | fastly/fastly_nsq | e05d3972ebcfb25f7a42eb0268d482e5142d4658 | [
"MIT"
] | 11 | 2016-01-30T00:59:26.000Z | 2022-03-04T21:48:06.000Z | lib/fastly_nsq/manager.rb | fastly/fastly_nsq | e05d3972ebcfb25f7a42eb0268d482e5142d4658 | [
"MIT"
] | 65 | 2016-02-02T23:27:41.000Z | 2022-02-23T14:32:01.000Z | lib/fastly_nsq/manager.rb | fastly/fastly_nsq | e05d3972ebcfb25f7a42eb0268d482e5142d4658 | [
"MIT"
] | 2 | 2016-04-18T15:36:09.000Z | 2022-03-23T08:17:47.000Z | # frozen_string_literal: true
##
# Interface for tracking listeners and managing the processing pool.
class FastlyNsq::Manager
DEADLINE = 30
# @return [Boolean] Set true when all listeners are stopped
attr_reader :done
# @return [FastlyNsq::PriorityThreadPool]
attr_reader :pool
# @return [Logger]
attr... | 25.382114 | 110 | 0.704997 |
05d9017169eb2de1df854b62c5c7d74059731e94 | 88 | rb | Ruby | lib/tinderfields_user_impersonate.rb | tinderfields/user_impersonate2 | e796cdc0d4b0e557128037ff6b162b91c4562b3c | [
"MIT"
] | null | null | null | lib/tinderfields_user_impersonate.rb | tinderfields/user_impersonate2 | e796cdc0d4b0e557128037ff6b162b91c4562b3c | [
"MIT"
] | null | null | null | lib/tinderfields_user_impersonate.rb | tinderfields/user_impersonate2 | e796cdc0d4b0e557128037ff6b162b91c4562b3c | [
"MIT"
] | null | null | null | require "tinderfields_user_impersonate/engine"
module TinderfieldsUserImpersonate
end
| 14.666667 | 46 | 0.886364 |
d10b9f91b727abcddaf49a53b06f4619229ff877 | 358 | sql | SQL | openGaussBase/testcase/KEYWORDS/Index/Opengauss_Function_Keyword_Index_Case0031.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/Index/Opengauss_Function_Keyword_Index_Case0031.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/Index/Opengauss_Function_Keyword_Index_Case0031.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint:opengauss关键字Index(非保留),作为字段数据类型(合理报错)
--前置条件
drop table if exists explain_test cascade;
--关键字不带引号-合理报错
create table explain_test(id int,name Index);
--关键字带双引号-合理报错
create table explain_test(id int,name "Index");
--关键字带单引号-合理报错
create table explain_test(id int,name 'Index');
--关键字带反引号-合理报错
create tab... | 21.058824 | 52 | 0.76257 |
a1c36d4488e70952da83751b055e431af1e779f6 | 1,148 | h | C | src/backends/cuda/cuda_texture.h | shiinamiyuki/LuisaCompute | f8358f8ec138950a84f570c0ede24cc76fc159de | [
"BSD-3-Clause"
] | 31 | 2020-11-21T08:16:53.000Z | 2021-09-05T13:46:32.000Z | src/backends/cuda/cuda_texture.h | shiinamiyuki/LuisaCompute | f8358f8ec138950a84f570c0ede24cc76fc159de | [
"BSD-3-Clause"
] | 1 | 2021-03-08T04:15:26.000Z | 2021-03-19T04:40:02.000Z | src/backends/cuda/cuda_texture.h | shiinamiyuki/LuisaCompute | f8358f8ec138950a84f570c0ede24cc76fc159de | [
"BSD-3-Clause"
] | 4 | 2020-12-02T09:41:22.000Z | 2021-03-06T06:36:40.000Z | //
// Created by Mike on 8/1/2021.
//
#pragma once
#include <cuda.h>
#include <core/basic_types.h>
namespace luisa::compute::cuda {
class CUDAHeap;
class CUDATexture {
private:
union {
CUtexObject _handle;
size_t _index;
};
union {
CUarray _array;
CUmipmappedArray _mip_... | 27.333333 | 101 | 0.670732 |
15933d6f213fc14f81a0c518961c903744345ae8 | 1,777 | kt | Kotlin | app/src/main/java/com/example/android/politicalpreparedness/data/PoliticalPreparednessProvider.kt | jesstoselli/UdacityNanodegree-PoliticalPreparedness | e18fd827473ffd8bb4ced69d775975a13497fa9a | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/android/politicalpreparedness/data/PoliticalPreparednessProvider.kt | jesstoselli/UdacityNanodegree-PoliticalPreparedness | e18fd827473ffd8bb4ced69d775975a13497fa9a | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/android/politicalpreparedness/data/PoliticalPreparednessProvider.kt | jesstoselli/UdacityNanodegree-PoliticalPreparedness | e18fd827473ffd8bb4ced69d775975a13497fa9a | [
"Apache-2.0"
] | null | null | null | package com.example.android.politicalpreparedness.data
import com.example.android.politicalpreparedness.data.network.CivicsApiService
import com.example.android.politicalpreparedness.data.network.dataadapters.toDomainModel
import com.example.android.politicalpreparedness.data.network.models.Election
import com.example... | 34.173077 | 91 | 0.767023 |
8e737ae56570242a3f766ef3d3cb9f907e9d7dab | 52 | rb | Ruby | config/routes.rb | jameskropp/activity-log | 094bdb9909e4c7639d3a2e6ba29a2dfae239feed | [
"MIT"
] | null | null | null | config/routes.rb | jameskropp/activity-log | 094bdb9909e4c7639d3a2e6ba29a2dfae239feed | [
"MIT"
] | null | null | null | config/routes.rb | jameskropp/activity-log | 094bdb9909e4c7639d3a2e6ba29a2dfae239feed | [
"MIT"
] | null | null | null | Activity::Engine.routes.draw do
# Routes here
end
| 13 | 31 | 0.75 |
6e3870ab06c06913873f24d360407608f81817c4 | 3,632 | html | HTML | src/app/page/landing-layout/form-pages/sign-up-page/sign-up-page.component.html | dutt447utt447/TECHVIEW | b7d6e1f34b692567b1442e503953fa06297eae81 | [
"MIT"
] | 5 | 2021-08-15T15:49:36.000Z | 2022-01-29T21:40:29.000Z | src/app/page/landing-layout/form-pages/sign-up-page/sign-up-page.component.html | dutt447utt447/TECHVIEW | b7d6e1f34b692567b1442e503953fa06297eae81 | [
"MIT"
] | 110 | 2021-02-12T14:47:37.000Z | 2022-03-28T14:33:56.000Z | src/app/page/landing-layout/form-pages/sign-up-page/sign-up-page.component.html | dutt447utt447/TECHVIEW | b7d6e1f34b692567b1442e503953fa06297eae81 | [
"MIT"
] | 1 | 2021-12-06T21:26:37.000Z | 2021-12-06T21:26:37.000Z | <div class="form-page-layout">
<!-- Register -->
<app-hero [contents]="appHeroContents"></app-hero>
<app-card [bodyTemplate]="bodyTemplate">
<!-- Body -->
<ng-template #bodyTemplate>
<div class="body">
<div class="flex-layout-row-wrap flex-center-center auth-social-login-wrapper">
... | 53.411765 | 170 | 0.581222 |
5462bab9ccc7c88f3c0788fa6b386a99df375523 | 4,939 | go | Go | service/save_daily_info_service.go | myloft/MiniProgram-server-Golang | 43a68a6d189a925ad4a3495204711455d04e12c2 | [
"Apache-2.0"
] | 30 | 2020-03-07T14:15:38.000Z | 2022-03-11T08:22:55.000Z | service/save_daily_info_service.go | myloft/MiniProgram-server-Golang | 43a68a6d189a925ad4a3495204711455d04e12c2 | [
"Apache-2.0"
] | 43 | 2020-03-08T14:59:57.000Z | 2020-04-03T08:56:28.000Z | service/save_daily_info_service.go | myloft/MiniProgram-server-Golang | 43a68a6d189a925ad4a3495204711455d04e12c2 | [
"Apache-2.0"
] | 20 | 2020-03-07T14:13:20.000Z | 2021-02-13T14:22:27.000Z | package service
import (
"Miniprogram-server-Golang/model"
"Miniprogram-server-Golang/serializer"
"database/sql"
"github.com/gin-gonic/gin"
"time"
)
//SaveDailyInfoService 管理每日上传信息服务
type data struct {
IsReturnSchool string `form:"data.is_return_school" json:"is_return_school"`
ReturnTime ... | 48.90099 | 140 | 0.736991 |
bab164ca09e3a1b884571aae19d0443f55df8a86 | 4,186 | swift | Swift | Week 6-7 Multipeer Connectivity/ML_MusicalChairs-master/musicalChairs/IntroCollectionViewFlowLayout.swift | ada10086/Mobile-Lab | 743ca7e7cfd054e3a47e6900a399c6d5aa5baf40 | [
"MIT"
] | null | null | null | Week 6-7 Multipeer Connectivity/ML_MusicalChairs-master/musicalChairs/IntroCollectionViewFlowLayout.swift | ada10086/Mobile-Lab | 743ca7e7cfd054e3a47e6900a399c6d5aa5baf40 | [
"MIT"
] | null | null | null | Week 6-7 Multipeer Connectivity/ML_MusicalChairs-master/musicalChairs/IntroCollectionViewFlowLayout.swift | ada10086/Mobile-Lab | 743ca7e7cfd054e3a47e6900a399c6d5aa5baf40 | [
"MIT"
] | null | null | null | //
// IntroCollectionViewFlowLayout.swift
// musicalChairs
//
// Created by Eva Philips on 3/17/19.
// Copyright © 2019 eva&ada. All rights reserved.
//
import UIKit
class IntroCollectionViewFlowLayout: UICollectionViewFlowLayout {
let activeDistance: CGFloat = 200
let zoomFactor: CGFloat = 0.3
... | 45.010753 | 182 | 0.698519 |
dddeb93a2d13885e9520b8ec95b51b16c8564a7f | 781 | phpt | PHP | tests/parallel/functional/004.phpt | symplely/coroutine | 59a8c92599cdf1c35627d9295b12aaaa5739499f | [
"MIT"
] | 37 | 2019-06-02T04:42:58.000Z | 2022-03-28T12:50:03.000Z | tests/parallel/functional/004.phpt | uppes/coroutine | 5b00387985a58b6252eb70af17cfa79937aedadf | [
"MIT"
] | 4 | 2019-09-30T07:39:44.000Z | 2021-12-17T04:18:32.000Z | tests/parallel/functional/004.phpt | symplely/coroutine | 59a8c92599cdf1c35627d9295b12aaaa5739499f | [
"MIT"
] | 5 | 2019-06-02T04:43:01.000Z | 2022-03-04T16:42:58.000Z | --TEST--
Check functional reuse
--SKIPIF--
<?php
if (!extension_loaded('uv')) {
echo 'skip';
}
if (!version_compare(PHP_VERSION, "7.4", ">=")) {
die("skip php 7.4 required");
}?>
--FILE--
<?php
include 'vendor/autoload.php';
$future = \parallel\run(function() {
global $var;
$var = 42;
});
$future->value(... | 21.108108 | 80 | 0.572343 |
5b6a14d810693d7a16b4bec97845a11fde6f1b4c | 850 | lua | Lua | vim/.config/nvim/lua/highlights.lua | simonhughcom/dotfiles | 11a46f064fb2d2d9bc7a8fb4da87b1dfd6e619c9 | [
"MIT"
] | 2 | 2020-10-03T14:05:58.000Z | 2020-11-13T03:46:55.000Z | vim/.config/nvim/lua/highlights.lua | simonhughxyz/dotfiles | d00caa64a32d1468bb4984613ab29ca7c082b752 | [
"MIT"
] | null | null | null | vim/.config/nvim/lua/highlights.lua | simonhughxyz/dotfiles | d00caa64a32d1468bb4984613ab29ca7c082b752 | [
"MIT"
] | null | null | null | -- highlight.lua
hl = require('utils').highlight
-- Make background transparent
hl('Normal', 'NONE', nil, 'NONE', nil, true)
hl('NonText', 'NONE', nil, 'NONE', nil, true)
-- -- -- set color of 80 char width column
hl('ColorColumn', '#303030', nil, '0', nil, true)
-- -- -- change color of cursor line
hl('CursorLine',... | 35.416667 | 56 | 0.58 |
2a6c9282d5e95039e9c6621b94a96fcb4e04992f | 255 | java | Java | src/main/java/libraryejb/exception/UnknownCountryException.java | aleksey-lukyanets/library-ejb | 5641b77b2d760254f25ad5ffebcc741bbdacca38 | [
"MIT"
] | null | null | null | src/main/java/libraryejb/exception/UnknownCountryException.java | aleksey-lukyanets/library-ejb | 5641b77b2d760254f25ad5ffebcc741bbdacca38 | [
"MIT"
] | null | null | null | src/main/java/libraryejb/exception/UnknownCountryException.java | aleksey-lukyanets/library-ejb | 5641b77b2d760254f25ad5ffebcc741bbdacca38 | [
"MIT"
] | null | null | null | package libraryejb.exception;
/**
*
*/
public class UnknownCountryException extends Exception {
public UnknownCountryException() {
super("");
}
public UnknownCountryException(String message) {
super(message);
}
}
| 15.9375 | 56 | 0.643137 |
16a74999cdb1907a816f2014fe92c750394bc36b | 359 | c | C | lec04/returnval1.c | gechoe/class-examples | d7804109b227a322d746df6bc09f5f2c047f21fd | [
"MIT"
] | 1 | 2022-01-20T18:10:51.000Z | 2022-01-20T18:10:51.000Z | lec04/returnval1.c | gechoe/class-examples | d7804109b227a322d746df6bc09f5f2c047f21fd | [
"MIT"
] | null | null | null | lec04/returnval1.c | gechoe/class-examples | d7804109b227a322d746df6bc09f5f2c047f21fd | [
"MIT"
] | 22 | 2022-01-20T18:02:39.000Z | 2022-01-25T18:14:48.000Z | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
char* code(int v) {
char msg[16];
if (v == 0) strcpy(msg, "val0");
else if (v == 1) strcpy(msg, "val1");
else if (v == 2) strcpy(msg, "val2");
return msg;
}
int main() {
srand(time(0));
int val = rand() % 3;
char* m = code(va... | 17.095238 | 39 | 0.551532 |
402fab453bb9e2ac59ef1604d2cf41a8d383046e | 1,270 | py | Python | move.py | Nexowned/SnakeAI | 95b5d4a9d20df124040ff9335ad09409ca9ff607 | [
"Apache-2.0"
] | null | null | null | move.py | Nexowned/SnakeAI | 95b5d4a9d20df124040ff9335ad09409ca9ff607 | [
"Apache-2.0"
] | null | null | null | move.py | Nexowned/SnakeAI | 95b5d4a9d20df124040ff9335ad09409ca9ff607 | [
"Apache-2.0"
] | null | null | null | from enum import Enum
class Move(Enum):
LEFT = -1
STRAIGHT = 0
RIGHT = 1
class Direction(Enum):
NORTH = 0
EAST = 1
SOUTH = 2
WEST = 3
def get_new_direction(self, move):
return Direction(self.value + move.value) % 4
def get_xy_manipulation(self):
m = {
... | 30.238095 | 106 | 0.573228 |
0c7d87c2d7143decedcd6ade00a74af0379219d4 | 902 | py | Python | src/lib/libpasteurize/fixes/fix_newstyle.py | thonkify/thonkify | 2cb4493d796746cb46c8519a100ef3ef128a761a | [
"MIT"
] | 17 | 2017-08-04T15:41:05.000Z | 2020-10-16T18:02:41.000Z | src/lib/libpasteurize/fixes/fix_newstyle.py | thonkify/thonkify | 2cb4493d796746cb46c8519a100ef3ef128a761a | [
"MIT"
] | 3 | 2017-08-04T23:37:37.000Z | 2017-08-04T23:38:34.000Z | src/lib/libpasteurize/fixes/fix_newstyle.py | thonkify/thonkify | 2cb4493d796746cb46c8519a100ef3ef128a761a | [
"MIT"
] | 3 | 2017-12-07T16:30:59.000Z | 2019-06-16T02:48:28.000Z | u"""
Fixer for "class Foo: ..." -> "class Foo(object): ..."
"""
from lib2to3 import fixer_base
from lib2to3.fixer_util import LParen, RParen, Name
from libfuturize.fixer_util import touch_import_top
def insert_object(node, idx):
node.insert_child(idx, RParen())
node.insert_child(idx, Name(u"object"))
no... | 26.529412 | 65 | 0.599778 |
dda83b2c35d62055796e4e123db761f5ab14e3a9 | 5,711 | go | Go | vendor/github.com/joomcode/redispipe/redis/request_writer.go | anuragprafulla/components-contrib | 91be9ad2a0767526049e0c95225b5afb3791e353 | [
"MIT"
] | 229 | 2018-12-20T09:36:33.000Z | 2022-03-31T18:39:26.000Z | vendor/github.com/joomcode/redispipe/redis/request_writer.go | anuragprafulla/components-contrib | 91be9ad2a0767526049e0c95225b5afb3791e353 | [
"MIT"
] | 12 | 2019-09-27T14:14:19.000Z | 2022-03-10T00:06:20.000Z | vendor/github.com/joomcode/redispipe/redis/request_writer.go | anuragprafulla/components-contrib | 91be9ad2a0767526049e0c95225b5afb3791e353 | [
"MIT"
] | 17 | 2018-12-21T17:34:47.000Z | 2022-02-09T19:07:44.000Z | package redis
import (
"strconv"
"github.com/joomcode/errorx"
)
// AppendRequest appends request to byte slice as RESP request (ie as array of strings).
//
// It could fail if some request value is not nil, integer, float, string or byte slice.
// In case of error it still returns modified buffer, but truncated to... | 24.097046 | 121 | 0.596393 |
402ca108a9c3f098029d64faeab25fe9ff44caf8 | 2,763 | py | Python | Mesh/System/Entity/Function/Powered.py | ys-warble/Mesh | 115e7391d19ea09db3c627d8b8ed90b3e3bef9b5 | [
"MIT"
] | null | null | null | Mesh/System/Entity/Function/Powered.py | ys-warble/Mesh | 115e7391d19ea09db3c627d8b8ed90b3e3bef9b5 | [
"MIT"
] | 2 | 2019-02-25T00:10:15.000Z | 2019-03-22T20:13:32.000Z | Mesh/System/Entity/Function/Powered.py | ys-warble/Mesh | 115e7391d19ea09db3c627d8b8ed90b3e3bef9b5 | [
"MIT"
] | null | null | null | from enum import Enum
from Mesh.System.Entity.Channel.PowerWire import PowerWire
from Mesh.System.Entity.Function import BaseFunction, Function
from Mesh.System.Entity.Function.Tasked import TaskName, SystemTask
from Mesh.util.TypeList import TypeList
class PowerType(Enum):
ELECTRIC = 101
class Power:
def ... | 26.314286 | 94 | 0.642056 |
2a6bdce1cf2f3b55115579f68963b1a71c7ca905 | 6,015 | java | Java | src/net/java/sip/communicator/impl/gui/main/chat/ChatContact.java | wcicola/jitsi | 8258aa5ae060ae1320d98977b9241002d428b7d6 | [
"Apache-2.0"
] | 3,442 | 2015-01-08T09:51:28.000Z | 2022-03-31T02:48:33.000Z | src/net/java/sip/communicator/impl/gui/main/chat/ChatContact.java | wcicola/jitsi | 8258aa5ae060ae1320d98977b9241002d428b7d6 | [
"Apache-2.0"
] | 577 | 2015-01-27T20:50:12.000Z | 2022-03-11T13:08:45.000Z | src/net/java/sip/communicator/impl/gui/main/chat/ChatContact.java | wcicola/jitsi | 8258aa5ae060ae1320d98977b9241002d428b7d6 | [
"Apache-2.0"
] | 953 | 2015-01-04T05:20:14.000Z | 2022-03-31T14:04:14.000Z | /*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Copyright @ 2015 Atlassian Pty Ltd
*
* 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.or... | 29.199029 | 80 | 0.622444 |
3933424e6e39797e2cb53abce943d0c0f5f1037c | 1,627 | html | HTML | src/index.html | Jmagero/to-dos-list | 91ccaac2ec01cced82ed47ccc01b7f78b120926f | [
"MIT"
] | 1 | 2021-08-03T17:33:46.000Z | 2021-08-03T17:33:46.000Z | src/index.html | Jmagero/to-dos-list | 91ccaac2ec01cced82ed47ccc01b7f78b120926f | [
"MIT"
] | 2 | 2021-07-13T21:30:29.000Z | 2021-07-16T12:51:25.000Z | src/index.html | Jmagero/to-dos-list | 91ccaac2ec01cced82ed47ccc01b7f78b120926f | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha... | 54.233333 | 214 | 0.651506 |
0bd6b22abe73ce370e2df769db300c6c8603758b | 5,737 | js | JavaScript | client/src/components/Nav/Nav.js | teodorsova/Express-react-webapp | 92d3a29e9425659c0a05e3c06fc839abd8b574b7 | [
"MIT"
] | null | null | null | client/src/components/Nav/Nav.js | teodorsova/Express-react-webapp | 92d3a29e9425659c0a05e3c06fc839abd8b574b7 | [
"MIT"
] | null | null | null | client/src/components/Nav/Nav.js | teodorsova/Express-react-webapp | 92d3a29e9425659c0a05e3c06fc839abd8b574b7 | [
"MIT"
] | null | null | null | import './Nav.css';
import React, { useState, useEffect, useRef } from "react";
import { Link } from 'react-router-dom';
import Form from "react-bootstrap/Form";
import { useNavigate } from "react-router-dom";
import notificationImg from "../../notification.png"
import Axios from 'axios'
function Nav(props) {
cons... | 32.230337 | 147 | 0.487014 |
b0c17de3777c79065b9d41b281b353d09c785a63 | 1,215 | kt | Kotlin | network/src/main/kotlin/rs/dusk/network/rs/codec/game/encode/message/ContainerItemsMessage.kt | dusk-rs/server-old | 4af70ecb731d9ce292d086c81c21eda66bfaa040 | [
"CC-BY-3.0"
] | 52 | 2020-12-09T06:46:47.000Z | 2022-03-19T19:53:53.000Z | network/src/main/kotlin/rs/dusk/network/rs/codec/game/encode/message/ContainerItemsMessage.kt | dusk-rs/server-old | 4af70ecb731d9ce292d086c81c21eda66bfaa040 | [
"CC-BY-3.0"
] | 114 | 2020-12-10T23:02:59.000Z | 2021-06-02T03:02:00.000Z | network/src/main/kotlin/rs/dusk/network/rs/codec/game/encode/message/ContainerItemsMessage.kt | dusk-rs/server-old | 4af70ecb731d9ce292d086c81c21eda66bfaa040 | [
"CC-BY-3.0"
] | 9 | 2020-12-13T21:45:34.000Z | 2022-01-26T18:23:59.000Z | package rs.dusk.network.rs.codec.game.encode.message
import rs.dusk.core.network.model.message.Message
/**
* Sends a list of items to display on a interface item group component
* @param key The id of the container
* @param items List of the item ids to display
* @param amounts List of the item amounts to display... | 35.735294 | 126 | 0.678189 |
20c084d4b133ed57042b2f90d8091f1ed85cc35b | 52 | css | CSS | public/mycss/site.css | fozoholiver1/customer-system | 46c499ac5c555b3a7e7d051113e2adb6596cb6a2 | [
"MIT"
] | null | null | null | public/mycss/site.css | fozoholiver1/customer-system | 46c499ac5c555b3a7e7d051113e2adb6596cb6a2 | [
"MIT"
] | 4 | 2021-03-09T21:15:23.000Z | 2022-02-26T19:19:55.000Z | public/mycss/site.css | fozoholiver1/customer-system | 46c499ac5c555b3a7e7d051113e2adb6596cb6a2 | [
"MIT"
] | null | null | null | body {
background-image: url('drawing-1.svg');
} | 17.333333 | 43 | 0.634615 |
98cf42f5dcdfd030fb131e8ea22bfc02dd1925aa | 8,365 | kt | Kotlin | app/src/main/java/com/flamyoad/tsukiviewer/ui/search/SearchResultViewModel.kt | androiddevnotesforks/TsukiViewer | 2ad5060d52b758c5c60ab133f1cc7aed49ccca9b | [
"Apache-2.0"
] | 6 | 2020-10-23T16:43:42.000Z | 2021-11-12T12:03:08.000Z | app/src/main/java/com/flamyoad/tsukiviewer/ui/search/SearchResultViewModel.kt | androiddevnotesforks/TsukiViewer | 2ad5060d52b758c5c60ab133f1cc7aed49ccca9b | [
"Apache-2.0"
] | 3 | 2021-05-29T15:45:41.000Z | 2021-06-29T04:30:21.000Z | app/src/main/java/com/flamyoad/tsukiviewer/ui/search/SearchResultViewModel.kt | androiddevnotesforks/TsukiViewer | 2ad5060d52b758c5c60ab133f1cc7aed49ccca9b | [
"Apache-2.0"
] | 1 | 2021-04-02T17:09:47.000Z | 2021-04-02T17:09:47.000Z | package com.flamyoad.tsukiviewer.ui.search
import android.app.Application
import android.content.Context
import androidx.lifecycle.*
import com.flamyoad.tsukiviewer.db.AppDatabase
import com.flamyoad.tsukiviewer.db.dao.IncludedPathDao
import com.flamyoad.tsukiviewer.model.BookmarkGroup
import com.flamyoad.tsukiviewer.... | 33.594378 | 103 | 0.634668 |
1bef23af1d1e1885b3fbe2f77c7b1a3aa023161b | 2,703 | py | Python | tests/test_subscription.py | avito-tech/alert-autoconf | 73d9270c6f9f0655cfc68ae3dac4e7406acf10ae | [
"MIT"
] | null | null | null | tests/test_subscription.py | avito-tech/alert-autoconf | 73d9270c6f9f0655cfc68ae3dac4e7406acf10ae | [
"MIT"
] | null | null | null | tests/test_subscription.py | avito-tech/alert-autoconf | 73d9270c6f9f0655cfc68ae3dac4e7406acf10ae | [
"MIT"
] | null | null | null | from unittest import TestCase
from alert_autoconf.moira import MoiraAlert
def _make_sub(**kwargs):
sub = {
'tags': [],
'contacts': [],
'escalations': [],
'sched': {'startOffset': 0, 'endOffset': 1439, 'tzOffset': 0, 'days': []},
}
sub.update(**kwargs)
return sub
def ... | 33.37037 | 82 | 0.623381 |
874c3175b3f173d2cffd8838baf2dd3726496259 | 10,103 | html | HTML | lucene/demo/data/wiki-small/en/articles/d/e/c/Decision_analysis_cycle.html | sydneymiyashiro/LuceneCourseProject | 24eb9de02c6cfdde48b13ad74d61e5758d89c770 | [
"Apache-2.0"
] | 1 | 2019-02-28T04:00:39.000Z | 2019-02-28T04:00:39.000Z | lucene/demo/data/wiki-small/en/articles/d/e/c/Decision_analysis_cycle.html | sydneymiyashiro/LuceneCourseProject | 24eb9de02c6cfdde48b13ad74d61e5758d89c770 | [
"Apache-2.0"
] | null | null | null | lucene/demo/data/wiki-small/en/articles/d/e/c/Decision_analysis_cycle.html | sydneymiyashiro/LuceneCourseProject | 24eb9de02c6cfdde48b13ad74d61e5758d89c770 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- headlinks removed -->
<link re... | 80.824 | 2,032 | 0.641196 |
401a38dd9f28d8e3414417c5cde77d6bbee5ea48 | 820 | py | Python | tools/sandbox/c7n_autodoc/setup.py | al3pht/cloud-custodian | ce6613d1b716f336384c5e308eee300389e6bf50 | [
"Apache-2.0"
] | 2,415 | 2018-12-04T00:37:58.000Z | 2022-03-31T12:28:56.000Z | tools/sandbox/c7n_autodoc/setup.py | al3pht/cloud-custodian | ce6613d1b716f336384c5e308eee300389e6bf50 | [
"Apache-2.0"
] | 3,272 | 2018-12-03T23:58:17.000Z | 2022-03-31T21:15:32.000Z | tools/sandbox/c7n_autodoc/setup.py | al3pht/cloud-custodian | ce6613d1b716f336384c5e308eee300389e6bf50 | [
"Apache-2.0"
] | 773 | 2018-12-06T09:43:23.000Z | 2022-03-30T20:44:43.000Z | # Copyright The Cloud Custodian Authors.
# SPDX-License-Identifier: Apache-2.0
from setuptools import setup
import os
description = ""
if os.path.exists('README.md'):
description = open('README.md', 'r').read()
setup(
name="c7n_autodoc",
version='0.3',
description="Cloud Custodian - Automated Policy ... | 29.285714 | 86 | 0.676829 |