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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5b35f92e02d1509bb6e1a0f2082c073762eff558 | 560 | kt | Kotlin | app/app/src/main/java/com/bnsantos/offline/viewmodel/CreateCommentViewModel.kt | bnsantos/android-offline-example | 8fb120535d4b791b1c232e3c80944f88adbfe0d4 | [
"Apache-2.0"
] | null | null | null | app/app/src/main/java/com/bnsantos/offline/viewmodel/CreateCommentViewModel.kt | bnsantos/android-offline-example | 8fb120535d4b791b1c232e3c80944f88adbfe0d4 | [
"Apache-2.0"
] | null | null | null | app/app/src/main/java/com/bnsantos/offline/viewmodel/CreateCommentViewModel.kt | bnsantos/android-offline-example | 8fb120535d4b791b1c232e3c80944f88adbfe0d4 | [
"Apache-2.0"
] | null | null | null | package com.bnsantos.offline.viewmodel
import android.arch.lifecycle.LiveData
import android.arch.lifecycle.ViewModel
import com.bnsantos.offline.Preferences
import com.bnsantos.offline.models.Comment
import com.bnsantos.offline.repository.CommentsRepository
import com.bnsantos.offline.vo.Resource
import javax.inject.... | 40 | 135 | 0.832143 |
2a76664266eaecd15e470c455ccfe57680207c1e | 5,159 | java | Java | src/test/java/be/rufer/swissunihockey/endpoint/GameScheduleServiceTest.java | swissunihockey/swissunihockey-game-schedule-pdf-creator | 1e01c94520737a60eef6074139a4d6870c166eb1 | [
"Apache-2.0"
] | 1 | 2015-09-19T16:03:40.000Z | 2015-09-19T16:03:40.000Z | src/test/java/be/rufer/swissunihockey/endpoint/GameScheduleServiceTest.java | rufer7/swissunihockey-game-schedule-pdf-creator | a0bc1d02df589df20c8243184f36f87e0c379ed4 | [
"Apache-2.0"
] | 42 | 2015-07-08T08:38:13.000Z | 2021-06-19T20:44:50.000Z | src/test/java/be/rufer/swissunihockey/endpoint/GameScheduleServiceTest.java | swissunihockey/swissunihockey-game-schedule-pdf-creator | 1e01c94520737a60eef6074139a4d6870c166eb1 | [
"Apache-2.0"
] | 3 | 2016-08-23T08:30:01.000Z | 2019-05-25T01:07:09.000Z | /*
* Copyright (C) 2015 Marc Rufer (m.rufer@gmx.ch)
*
* 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 appl... | 37.933824 | 134 | 0.741035 |
3334965719b021bbd03119042e95c8563a0cdb7e | 9,233 | py | Python | tests.py | jpchiodini/Grasp-Planning | e31234244b8f934743605ebea59d9d98a258957e | [
"MIT"
] | null | null | null | tests.py | jpchiodini/Grasp-Planning | e31234244b8f934743605ebea59d9d98a258957e | [
"MIT"
] | null | null | null | tests.py | jpchiodini/Grasp-Planning | e31234244b8f934743605ebea59d9d98a258957e | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
tests.py
========
Created by: hbldh <henrik.blidh@nedomkull.com>
Created on: 2016-02-07, 23:50
"""
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
import numpy as np... | 58.069182 | 120 | 0.552475 |
991db8fb2069a61c9b839a0e557994476e23fad7 | 46 | swift | Swift | MyPodTest/Classes/ReplaceMe.swift | lparana/MyPodTest | 03c02a5c830b7a16ade6ac35be3dd2b5adad5d2e | [
"MIT"
] | null | null | null | MyPodTest/Classes/ReplaceMe.swift | lparana/MyPodTest | 03c02a5c830b7a16ade6ac35be3dd2b5adad5d2e | [
"MIT"
] | null | null | null | MyPodTest/Classes/ReplaceMe.swift | lparana/MyPodTest | 03c02a5c830b7a16ade6ac35be3dd2b5adad5d2e | [
"MIT"
] | null | null | null |
//Hacemos changes para probar la version 1.0
| 15.333333 | 44 | 0.76087 |
2657d5a31cdf47a3396963fbbab2c77e82495953 | 8,207 | java | Java | library/src/main/java/com/miu30/common/config/Config.java | mc190diancom/taxi_inspect | 8e07e03006f520c1f33a6c5cad59e14e5eae34dd | [
"Apache-2.0"
] | null | null | null | library/src/main/java/com/miu30/common/config/Config.java | mc190diancom/taxi_inspect | 8e07e03006f520c1f33a6c5cad59e14e5eae34dd | [
"Apache-2.0"
] | null | null | null | library/src/main/java/com/miu30/common/config/Config.java | mc190diancom/taxi_inspect | 8e07e03006f520c1f33a6c5cad59e14e5eae34dd | [
"Apache-2.0"
] | null | null | null | package com.miu30.common.config;
import android.os.Environment;
import com.miu30.common.MiuBaseApp;
import com.miu360.library.BuildConfig;
/**
* Created by Murphy on 2018/10/8.
*/
public class Config {
public final static String DIR_PATH = Environment.getExternalStorageDirectory().getPath() + "/jicha/";
pu... | 56.6 | 118 | 0.74802 |
26b8731267938448accd264efb8d1a0de5861603 | 8,871 | java | Java | src/main/java/org/geoscript/js/filter/Filter.java | geoscript/geoscript-js | f05f29ed074c6c4dd1e840f47b4a03d1d6569b93 | [
"MIT"
] | 37 | 2015-01-12T06:40:07.000Z | 2021-04-21T03:45:03.000Z | src/main/java/org/geoscript/js/filter/Filter.java | geoscript/geoscript-js | f05f29ed074c6c4dd1e840f47b4a03d1d6569b93 | [
"MIT"
] | 17 | 2015-02-11T04:28:00.000Z | 2020-08-06T23:18:54.000Z | src/main/java/org/geoscript/js/filter/Filter.java | geoscript/geoscript-js | f05f29ed074c6c4dd1e840f47b4a03d1d6569b93 | [
"MIT"
] | 12 | 2015-01-14T01:40:19.000Z | 2021-03-27T22:16:44.000Z | package org.geoscript.js.filter;
import org.geoscript.js.GeoObject;
import org.geoscript.js.feature.Feature;
import org.geotools.factory.CommonFactoryFinder;
import org.geotools.util.factory.GeoTools;
import org.geotools.filter.text.cql2.CQL;
import org.geotools.filter.text.cql2.CQLException;
import org.geotools.filte... | 33.602273 | 130 | 0.625183 |
3dbbd19191e48ecd9f1740a330c6175eca70e428 | 1,529 | swift | Swift | Pods/Reductio/Source/Keyword.swift | danielsogl/DHBW-Sentiment-Analyse-App | 05bd4208530b453594398938ffca9d1402a8d031 | [
"MIT"
] | 456 | 2016-03-10T00:50:57.000Z | 2022-03-14T22:03:44.000Z | Pods/Reductio/Source/Keyword.swift | danielsogl/DHBW-Sentiment-Analyse-App | 05bd4208530b453594398938ffca9d1402a8d031 | [
"MIT"
] | 8 | 2016-07-07T12:53:15.000Z | 2020-11-15T15:10:18.000Z | Pods/Reductio/Source/Keyword.swift | danielsogl/DHBW-Sentiment-Analyse-App | 05bd4208530b453594398938ffca9d1402a8d031 | [
"MIT"
] | 39 | 2016-04-29T01:35:17.000Z | 2022-01-05T05:58:24.000Z | /**
This file is part of the Reductio package.
(c) Sergio Fernández <fdz.sergio@gmail.com>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
*/
import Foundation
internal final class Keyword {
private let ngram: Int = 3
private var ... | 24.269841 | 72 | 0.580118 |
2a49d10de87853f41d099eca38360dc7f17f0cd3 | 39 | java | Java | src/test/java/api/TestAPI.java | annashevchenko/TrelloEdu | 94ef2de1869663eb9e0a498f00079c536d9a013c | [
"Apache-2.0"
] | null | null | null | src/test/java/api/TestAPI.java | annashevchenko/TrelloEdu | 94ef2de1869663eb9e0a498f00079c536d9a013c | [
"Apache-2.0"
] | null | null | null | src/test/java/api/TestAPI.java | annashevchenko/TrelloEdu | 94ef2de1869663eb9e0a498f00079c536d9a013c | [
"Apache-2.0"
] | null | null | null | package api;
public class TestAPI {
}
| 7.8 | 22 | 0.717949 |
f06b7dacabf643f015d3254946fb072f70df1f52 | 2,170 | js | JavaScript | src/components/Navigation/index.js | shivamkejriwal/blackbearfinance | dc4817adad25eddc7a964186d343c7bb29f8f932 | [
"MIT"
] | null | null | null | src/components/Navigation/index.js | shivamkejriwal/blackbearfinance | dc4817adad25eddc7a964186d343c7bb29f8f932 | [
"MIT"
] | 2 | 2021-05-11T11:35:28.000Z | 2022-01-22T11:44:54.000Z | src/components/Navigation/index.js | shivamkejriwal/blackbearfinance | dc4817adad25eddc7a964186d343c7bb29f8f932 | [
"MIT"
] | null | null | null | import React from 'react';
import AppBar from '@material-ui/core/AppBar';
import Toolbar from '@material-ui/core/Toolbar';
import Typography from '@material-ui/core/Typography';
import IconButton from '@material-ui/core/IconButton';
import MenuIcon from '@material-ui/icons/Menu';
import Drawer from '@material-ui/core/... | 32.878788 | 63 | 0.578802 |
9dd5df6c28de014877f781fc6a6d8e80b3425585 | 129 | kt | Kotlin | app/src/main/java/com/kylecorry/trail_sense/navigation/paths/domain/PathSimplificationQuality.kt | kylecorry31/Survive | 17bb2fc2efaa8e9041618356e4bcce3583d34866 | [
"MIT"
] | 2 | 2021-04-17T17:34:20.000Z | 2021-04-17T17:34:23.000Z | app/src/main/java/com/kylecorry/trail_sense/navigation/paths/domain/PathSimplificationQuality.kt | qwerty287/Trail-Sense | 52f0335d4bbcbf08243be05b955e6d13ec6ca881 | [
"MIT"
] | 19 | 2019-12-23T16:23:52.000Z | 2019-12-29T01:14:19.000Z | app/src/main/java/com/kylecorry/trail_sense/navigation/paths/domain/PathSimplificationQuality.kt | qwerty287/Trail-Sense | 52f0335d4bbcbf08243be05b955e6d13ec6ca881 | [
"MIT"
] | null | null | null | package com.kylecorry.trail_sense.navigation.paths.domain
enum class PathSimplificationQuality {
Low,
Medium,
High
} | 18.428571 | 57 | 0.75969 |
5f9928ce12f874a31d67ec4ef79a9fa6acb9179a | 249 | h | C | Lesson31/SwiftObjective/ObjcLibrarySecond/ObjcLibrarySecond.h | zardak12/SberSchoolprojects | f2614e4072f85e6f815fa454fb6fd177b990f259 | [
"MIT"
] | null | null | null | Lesson31/SwiftObjective/ObjcLibrarySecond/ObjcLibrarySecond.h | zardak12/SberSchoolprojects | f2614e4072f85e6f815fa454fb6fd177b990f259 | [
"MIT"
] | null | null | null | Lesson31/SwiftObjective/ObjcLibrarySecond/ObjcLibrarySecond.h | zardak12/SberSchoolprojects | f2614e4072f85e6f815fa454fb6fd177b990f259 | [
"MIT"
] | 1 | 2021-05-20T09:13:51.000Z | 2021-05-20T09:13:51.000Z | //
// ObjcLibrarySecond.h
// ObjcLibrarySecond
//
// Created by Марк Шнейдерман on 11.07.2021.
//
#import <Foundation/Foundation.h>
@interface ObjcLibrarySecond : NSObject
@property (strong, nonatomic, readonly) NSString *secondString;
@end
| 15.5625 | 63 | 0.73494 |
f02f263b4792b69303bcdec39c484284dc805802 | 1,221 | py | Python | src/prefect/engine/result_handlers/secret_result_handler.py | trapped/prefect | 128f11570c35e7156d65ba65fdcbc1f4ccd7c2b7 | [
"Apache-2.0"
] | 1 | 2019-12-20T07:43:55.000Z | 2019-12-20T07:43:55.000Z | src/prefect/engine/result_handlers/secret_result_handler.py | trapped/prefect | 128f11570c35e7156d65ba65fdcbc1f4ccd7c2b7 | [
"Apache-2.0"
] | null | null | null | src/prefect/engine/result_handlers/secret_result_handler.py | trapped/prefect | 128f11570c35e7156d65ba65fdcbc1f4ccd7c2b7 | [
"Apache-2.0"
] | null | null | null | import json
from typing import Any
import prefect
from prefect.engine.result_handlers import ResultHandler
class SecretResultHandler(ResultHandler):
"""
Hook for storing and retrieving sensitive task results from a Secret store. Only intended to be used
for Secret tasks.
Args:
- secret_task ... | 27.133333 | 104 | 0.626536 |
9a69220b3c6ddb2ca5b4f27ebc618644640280ca | 4,122 | css | CSS | src/sap.ui.demokit/src/sap/ui/demokit/explored/css/titles.css | xefimx/openui5 | 0243bba136ad14ad63a438f51d95faeee92f4e65 | [
"Apache-2.0"
] | 1 | 2022-02-02T01:39:20.000Z | 2022-02-02T01:39:20.000Z | src/sap.ui.demokit/src/sap/ui/demokit/explored/css/titles.css | Etignis/openui5 | b9ed6bd2f685e669c1fb67d33fe3b9438d674fbf | [
"Apache-2.0"
] | null | null | null | src/sap.ui.demokit/src/sap/ui/demokit/explored/css/titles.css | Etignis/openui5 | b9ed6bd2f685e669c1fb67d33fe3b9438d674fbf | [
"Apache-2.0"
] | 1 | 2022-02-02T01:39:21.000Z | 2022-02-02T01:39:21.000Z | .titlesSpace {
background-image: url(stars.png);
width: 100%;
height: 100%;
}
.titlesSpaceViewport {
-webkit-perspective: 50rem;
-webkit-perspective-origin: center 20rem;
perspective: 50rem;
perspective-origin: center 20rem;
width: 100%;
height: 37.5rem;
overflow: hidden;
}
.titlesNotFound {
position: abso... | 25.924528 | 93 | 0.684377 |
7da3bee7470703f2fcdda85011666ff9fa0daafc | 1,246 | html | HTML | _includes/nav.html | wojciechkorfanty/theme | 418c1b4827889393125c5ff1ef87efbc75390294 | [
"MIT"
] | null | null | null | _includes/nav.html | wojciechkorfanty/theme | 418c1b4827889393125c5ff1ef87efbc75390294 | [
"MIT"
] | 1 | 2022-01-07T15:13:18.000Z | 2022-01-07T15:13:18.000Z | _includes/nav.html | wojciechkorfanty/theme | 418c1b4827889393125c5ff1ef87efbc75390294 | [
"MIT"
] | 6 | 2022-01-07T12:10:30.000Z | 2022-02-09T16:12:58.000Z | <nav>
<h3>Themenfelder</h3>
<ul>
<li><a href="/studies_de_virus.html" target="_self">Virus</a></li>
<li><a href="/studies_de_immunity.html" target="_self">Immunität</a></li>
<li><a href="/studies_de_treatments.html" target="_self">Vorbeugung & Behandlung</a></li>
... | 47.923077 | 153 | 0.571429 |
9c246690d35eaba648573708617530901c6e4eae | 492 | js | JavaScript | seeds/01-events.js | glweems/cheesecake-backend | 423bf772076d0edf3867f3e60493ca8f8a5ab6bf | [
"MIT"
] | null | null | null | seeds/01-events.js | glweems/cheesecake-backend | 423bf772076d0edf3867f3e60493ca8f8a5ab6bf | [
"MIT"
] | 3 | 2020-06-11T11:38:17.000Z | 2021-09-01T19:17:58.000Z | seeds/01-events.js | glweems/cheesecake-backend | 423bf772076d0edf3867f3e60493ca8f8a5ab6bf | [
"MIT"
] | null | null | null | exports.seed = knex =>
knex('events')
.del()
.then(() =>
knex('events').insert([
{
title: 'Truck Round Up',
date: '08/01/2019',
street: 'Main street',
city: 'Denton',
state: 'TX',
zip: 76210
},
{
title: 'Denton... | 20.5 | 36 | 0.386179 |
11d9b4d979963e790cde8427830d61b09ec1cfe8 | 905 | html | HTML | blog.html | nickzuber/nickzuber-v1 | 200f5699fbd96bd2fbcb9979b420b2439d58a4b7 | [
"MIT"
] | null | null | null | blog.html | nickzuber/nickzuber-v1 | 200f5699fbd96bd2fbcb9979b420b2439d58a4b7 | [
"MIT"
] | null | null | null | blog.html | nickzuber/nickzuber-v1 | 200f5699fbd96bd2fbcb9979b420b2439d58a4b7 | [
"MIT"
] | null | null | null | ---
layout: page
permalink: /blog/
---
<div class="home">
<ul class="post-list">
{% for post in site.posts %}
<li>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">
{{ post.title }}
<br />
<div class="post-meta">
{% for tag in post.tags %... | 26.617647 | 119 | 0.441989 |
d32e9bf8f9593fe95e6b8c16aa2bf159204b77ff | 141 | kt | Kotlin | idea/testData/codeInsight/outOfBlock/InFunInProperty.kt | kevin1e100/kotlin | 1762675325c596a9742955c3862f3503cacaaf4a | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-02-05T11:15:45.000Z | 2021-02-05T11:15:45.000Z | idea/testData/codeInsight/outOfBlock/InFunInProperty.kt | kevin1e100/kotlin | 1762675325c596a9742955c3862f3503cacaaf4a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | idea/testData/codeInsight/outOfBlock/InFunInProperty.kt | kevin1e100/kotlin | 1762675325c596a9742955c3862f3503cacaaf4a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | // OUT_OF_CODE_BLOCK: FALSE
fun test() {
val some = if () {
fun other() {
<caret>
}
}
else {
}
} | 12.818182 | 27 | 0.390071 |
1c0c623935b2f86e5daa88fa3e319596d098a539 | 1,857 | kt | Kotlin | app/src/androidTest/java/com/ersiver/newsster/db/RemoteKeyDaoTest.kt | l2hyunwoo/Newsster | b0e11062d62e0661f4c2774df7f45309493c4b83 | [
"Apache-2.0"
] | 153 | 2020-09-09T21:42:27.000Z | 2022-03-21T07:36:56.000Z | app/src/androidTest/java/com/ersiver/newsster/db/RemoteKeyDaoTest.kt | l2hyunwoo/Newsster | b0e11062d62e0661f4c2774df7f45309493c4b83 | [
"Apache-2.0"
] | 1 | 2020-09-13T20:02:00.000Z | 2020-09-13T20:02:00.000Z | app/src/androidTest/java/com/ersiver/newsster/db/RemoteKeyDaoTest.kt | l2hyunwoo/Newsster | b0e11062d62e0661f4c2774df7f45309493c4b83 | [
"Apache-2.0"
] | 35 | 2020-09-13T17:51:35.000Z | 2022-03-30T19:13:28.000Z | package com.ersiver.newsster.db
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.filters.SmallTest
import com.ersiver.newsster.utils.TestUtil
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.test.ru... | 31.474576 | 66 | 0.739903 |
5b2b9232be519d3fb235474cb901a699d6c05dee | 701 | c | C | cpp-pthread/demo25b-atomic.c | thanhit95/multi-threading | 30e745b6a6c52e56a8d8e3826ce7a97b51944caa | [
"BSD-3-Clause"
] | 15 | 2021-06-15T09:27:35.000Z | 2022-03-25T02:01:45.000Z | cpp-pthread/demo25b-atomic.c | thanhit95/multi-threads | 30e745b6a6c52e56a8d8e3826ce7a97b51944caa | [
"BSD-3-Clause"
] | null | null | null | cpp-pthread/demo25b-atomic.c | thanhit95/multi-threads | 30e745b6a6c52e56a8d8e3826ce7a97b51944caa | [
"BSD-3-Clause"
] | 5 | 2021-07-15T14:31:33.000Z | 2022-03-29T06:19:34.000Z | /*
ATOMIC ACCESS
In this demo, I use raw C language (not C++).
*/
#include <stdio.h>
#include <pthread.h>
#include <stdatomic.h> // C11 atomic
#include <unistd.h>
atomic_int counter;
void* doTask(void* arg) {
sleep(1);
atomic_fetch_add(&counter, 1);
pthread_exit(NULL);
return NULL;
}
int ma... | 14.604167 | 61 | 0.569187 |
708c3e7fddba881e5e799aa7476f4a43ca370909 | 3,084 | c | C | sdk_liteos/third_party/u-boot-v2019.07/u-boot-v2019.07/board/bosch/guardian/mux.c | openharmony-gitee-mirror/device_bearpi_bearpi_hm_nano | c463575de065aad080f730ffbd479628eb821105 | [
"BSD-3-Clause"
] | 1 | 2022-02-15T08:51:55.000Z | 2022-02-15T08:51:55.000Z | sdk_liteos/third_party/u-boot-v2019.07/u-boot-v2019.07/board/bosch/guardian/mux.c | openharmony-gitee-mirror/device_bearpi_bearpi_hm_nano | c463575de065aad080f730ffbd479628eb821105 | [
"BSD-3-Clause"
] | null | null | null | sdk_liteos/third_party/u-boot-v2019.07/u-boot-v2019.07/board/bosch/guardian/mux.c | openharmony-gitee-mirror/device_bearpi_bearpi_hm_nano | c463575de065aad080f730ffbd479628eb821105 | [
"BSD-3-Clause"
] | 1 | 2021-12-15T09:54:37.000Z | 2021-12-15T09:54:37.000Z | // SPDX-License-Identifier: GPL-2.0+
/*
* mux.c
*
* Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
* Copyright (C) 2018 Robert Bosch Power Tools GmbH
*/
#include <common.h>
#include <i2c.h>
#include <asm/arch/hardware.h>
#include <asm/arch/mux.h>
#include <asm/arch/sys_proto.h>
#include ... | 30.84 | 75 | 0.673476 |
612b0d02b8478834ed1a34029f5eeb013bb0b3fb | 1,173 | css | CSS | share/kramdownStandalone/css/koyo-markdown.css | koyo922/koyo922.github.io | 3c29354dd02cb508c0b8a893f490bd3144fe296d | [
"Apache-2.0"
] | 2 | 2016-02-05T02:19:21.000Z | 2016-02-05T02:45:54.000Z | share/kramdownStandalone/css/koyo-markdown.css | koyo922/koyo922.github.io | 3c29354dd02cb508c0b8a893f490bd3144fe296d | [
"Apache-2.0"
] | null | null | null | share/kramdownStandalone/css/koyo-markdown.css | koyo922/koyo922.github.io | 3c29354dd02cb508c0b8a893f490bd3144fe296d | [
"Apache-2.0"
] | null | null | null | *{
word-break: break-all;
}
em, strong {
padding: 0.05em 0.2em;
}
em {
color: darkorange;
font-style: normal;
font-weight: bold;
}
strong {
color: #dd3322;
background-color: #ffdff7;
border-radius: 4px;
}
img.emoji {
box-shadow: none;
background-color: transparent;
display: inline-block;
margin: 2px;
}
.fo... | 12.347368 | 61 | 0.642796 |
26532219811d952d02125402c216d089bb477a22 | 3,431 | java | Java | src/java/org/apache/ivy/util/extendable/UnmodifiableExtendableItem.java | Zenika/ivy | 0b2e15575b14d78806c0d848efb4ece96f22ae06 | [
"Apache-2.0"
] | 5 | 2015-08-13T14:15:54.000Z | 2019-02-20T23:23:22.000Z | src/java/org/apache/ivy/util/extendable/UnmodifiableExtendableItem.java | Zenika/ivy | 0b2e15575b14d78806c0d848efb4ece96f22ae06 | [
"Apache-2.0"
] | 22 | 2015-06-25T22:09:38.000Z | 2020-10-08T16:00:20.000Z | src/java/org/apache/ivy/util/extendable/UnmodifiableExtendableItem.java | Zenika/ivy | 0b2e15575b14d78806c0d848efb4ece96f22ae06 | [
"Apache-2.0"
] | 23 | 2015-08-08T14:39:50.000Z | 2022-03-07T12:42:40.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | 34.31 | 100 | 0.675896 |
782fc517ae0e75396286c2f46e0703424936058d | 1,155 | kt | Kotlin | server/src/main/kotlin/com/czf/udp/UDPController.kt | czf0613/TCP-presentation | 7e81e32abb7a922f63ddf684699797666a955c83 | [
"MIT"
] | 1 | 2020-12-03T01:45:42.000Z | 2020-12-03T01:45:42.000Z | server/src/main/kotlin/com/czf/udp/UDPController.kt | czf0613/TCP-presentation | 7e81e32abb7a922f63ddf684699797666a955c83 | [
"MIT"
] | null | null | null | server/src/main/kotlin/com/czf/udp/UDPController.kt | czf0613/TCP-presentation | 7e81e32abb7a922f63ddf684699797666a955c83 | [
"MIT"
] | null | null | null | package com.czf.udp
import com.czf.tcp.UDPCompanion
import com.czf.tcp.UDPMessage
import org.springframework.beans.factory.annotation.Value
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.integration.annotation.ServiceActivator
i... | 33 | 77 | 0.761039 |
f07a7df9283116337443c3a5f4f80b400ad900a1 | 4,848 | py | Python | tests/data/test_make_dataset.py | dnsosa/drug-lit-contradictory-claims | c03faa7269050344b631b12302214a3175384e98 | [
"MIT"
] | null | null | null | tests/data/test_make_dataset.py | dnsosa/drug-lit-contradictory-claims | c03faa7269050344b631b12302214a3175384e98 | [
"MIT"
] | null | null | null | tests/data/test_make_dataset.py | dnsosa/drug-lit-contradictory-claims | c03faa7269050344b631b12302214a3175384e98 | [
"MIT"
] | null | null | null | """Tests for making datasets for contradictory-claims."""
# -*- coding: utf-8 -*-
import os
import unittest
from contradictory_claims.data.make_dataset import load_drug_virus_lexicons, load_mancon_corpus_from_sent_pairs, \
load_med_nli, load_multi_nli
from .constants import drug_lex_path, mancon_sent_pairs, med... | 49.469388 | 114 | 0.697401 |
c12d42bfe8e9ae36bc735910841b66c377403d0c | 150 | kt | Kotlin | lib_core/src/main/java/com/yg/lib_core/bean/UserInfoBean.kt | yang95C/NewsProject | 213d8f8000aaa23c429a347ac5dec1647fb49b69 | [
"Apache-2.0"
] | null | null | null | lib_core/src/main/java/com/yg/lib_core/bean/UserInfoBean.kt | yang95C/NewsProject | 213d8f8000aaa23c429a347ac5dec1647fb49b69 | [
"Apache-2.0"
] | null | null | null | lib_core/src/main/java/com/yg/lib_core/bean/UserInfoBean.kt | yang95C/NewsProject | 213d8f8000aaa23c429a347ac5dec1647fb49b69 | [
"Apache-2.0"
] | null | null | null | package com.yg.lib_core.bean
data class UserInfoBean (val id :String, var nickName:String, var headUrl: String, val mobile:String, val token:String)
| 37.5 | 119 | 0.786667 |
0d03dc0bf47024c5ece8160a24894d4147220a8c | 2,451 | kt | Kotlin | link-ui/src/main/java/com/tink/link/ui/MainViewModel.kt | jrodriguezva/tink-link-android | 9e7ee709cfc26dd8188f230dda05c6a9b64c18b3 | [
"MIT"
] | 4 | 2020-05-11T09:19:32.000Z | 2021-08-11T10:59:31.000Z | link-ui/src/main/java/com/tink/link/ui/MainViewModel.kt | jrodriguezva/tink-link-android | 9e7ee709cfc26dd8188f230dda05c6a9b64c18b3 | [
"MIT"
] | 7 | 2021-04-02T13:43:49.000Z | 2022-01-28T15:24:23.000Z | link-ui/src/main/java/com/tink/link/ui/MainViewModel.kt | jrodriguezva/tink-link-android | 9e7ee709cfc26dd8188f230dda05c6a9b64c18b3 | [
"MIT"
] | 8 | 2020-03-10T12:00:40.000Z | 2022-03-09T10:34:00.000Z | package com.tink.link.ui
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.tink.core.Tink
import com.tink.core.provider.ProviderRepository
import com.tink.link.core.credentials.CredentialsRepository
import com.tink.link.core.user.UserContext
imp... | 39.532258 | 112 | 0.607507 |
59fd2e53ab77246c06d8db1c21f90c4b710321bc | 330 | asm | Assembly | oeis/005/A005856.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/005/A005856.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/005/A005856.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A005856: The coding-theoretic function A(n,10,8).
; 1,1,1,1,1,2,2,3,4,6,9,12,17,21
mov $2,$0
lpb $0
sub $2,5
mov $0,$2
add $1,1
lpb $2
add $1,1
lpb $2
mov $4,$3
cmp $4,0
add $3,$4
sub $0,$3
sub $1,$3
add $1,$0
trn $2,2
lpe
trn $2,8
lpe
lpe
mov $0,$1... | 13.2 | 51 | 0.457576 |
333cbce822c052930f99bc486fefc96119100d08 | 386 | swift | Swift | app/Skyscanner/Views/Search/SearchRouter.swift | rcasanovan/Skyscanner | 3765dfdbc7a6e90bcf1d839fd8f53e3f88c46e4e | [
"Apache-2.0"
] | null | null | null | app/Skyscanner/Views/Search/SearchRouter.swift | rcasanovan/Skyscanner | 3765dfdbc7a6e90bcf1d839fd8f53e3f88c46e4e | [
"Apache-2.0"
] | null | null | null | app/Skyscanner/Views/Search/SearchRouter.swift | rcasanovan/Skyscanner | 3765dfdbc7a6e90bcf1d839fd8f53e3f88c46e4e | [
"Apache-2.0"
] | null | null | null | //
// SearchRouter.swift
// Skyscanner
//
// Created by Ricardo Casanova on 12/12/2018.
// Copyright © 2018 Skyscanner. All rights reserved.
//
import UIKit
class SearchRouter {
public static func setupModule(navigationController: UINavigationController? = nil) -> SearchViewController {
let searc... | 20.315789 | 113 | 0.689119 |
46364e8834db099b942a076e60e45c4d914b79f9 | 1,866 | lua | Lua | BGAnimations/ScreenGameplay underlay/PerPlayer/StepStatistics/SongBackground.lua | Fieoner/Simply-Love-SM5-Horizontal | 051aee51934a2a9865659958d460c9404a0584be | [
"MIT"
] | 1 | 2021-11-19T20:04:34.000Z | 2021-11-19T20:04:34.000Z | BGAnimations/ScreenGameplay underlay/PerPlayer/StepStatistics/SongBackground.lua | Fieoner/Simply-Love-SM5-Horizontal | 051aee51934a2a9865659958d460c9404a0584be | [
"MIT"
] | null | null | null | BGAnimations/ScreenGameplay underlay/PerPlayer/StepStatistics/SongBackground.lua | Fieoner/Simply-Love-SM5-Horizontal | 051aee51934a2a9865659958d460c9404a0584be | [
"MIT"
] | null | null | null | local player = ...
-- AspectRatios is a global table defined in _fallback/Scripts/02 Utilities.lua
-- that lists aspect ratios supported by SM5 as key/value pairs. I am misusing it here to index
-- my own crop_amount table with the numbers it provides so I can look up how much to crop the
-- song's background by. Ind... | 38.875 | 96 | 0.750268 |
0c873f69a18440e8e7c7b2463204d9290fbcbf4a | 6,513 | py | Python | fsmonitor/polling.py | ljmccarthy/fsmonitor | 4d84d9817dce7b274cb4586b5c2091dea96982f9 | [
"MIT"
] | 26 | 2018-03-24T06:38:19.000Z | 2022-02-18T10:22:51.000Z | fsmonitor/polling.py | ljmccarthy/fsmonitor | 4d84d9817dce7b274cb4586b5c2091dea96982f9 | [
"MIT"
] | 5 | 2018-06-19T21:35:00.000Z | 2018-06-26T21:11:38.000Z | fsmonitor/polling.py | ljmccarthy/fsmonitor | 4d84d9817dce7b274cb4586b5c2091dea96982f9 | [
"MIT"
] | 9 | 2018-06-19T21:35:53.000Z | 2022-03-26T17:01:11.000Z | # Copyright (c) 2012 Luke McCarthy <luke@iogopro.co.uk>
#
# This is free software released under the MIT license.
# See COPYING file for details, or visit:
# http://www.opensource.org/licenses/mit-license.php
#
# The file is part of FSMonitor, a file-system monitoring library.
# https://github.com/shaurz/fsmonitor
imp... | 29.876147 | 81 | 0.60172 |
127056aaca10e11000829233184d5396168bf950 | 1,107 | c | C | core/os/spinlock.c | ithinuel/elib | 0d343e62d350708d0a5f1f6b926462a66549437e | [
"Apache-2.0"
] | null | null | null | core/os/spinlock.c | ithinuel/elib | 0d343e62d350708d0a5f1f6b926462a66549437e | [
"Apache-2.0"
] | null | null | null | core/os/spinlock.c | ithinuel/elib | 0d343e62d350708d0a5f1f6b926462a66549437e | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2014 Chauveau Wilfried
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, so... | 27.675 | 80 | 0.693767 |
71456c0d0ea05a87b692c63cfe69862355fb497e | 514 | ts | TypeScript | javascript/builders/src/types.ts | microsoft/showwhy | 19d77a8992aadfd7b265da44aa83f4eb3342dea1 | [
"MIT"
] | 18 | 2021-12-10T15:34:44.000Z | 2022-03-25T11:19:24.000Z | javascript/builders/src/types.ts | microsoft/showwhy | 19d77a8992aadfd7b265da44aa83f4eb3342dea1 | [
"MIT"
] | 2 | 2022-02-10T18:25:03.000Z | 2022-02-16T20:39:37.000Z | javascript/builders/src/types.ts | microsoft/showwhy | 19d77a8992aadfd7b265da44aa83f4eb3342dea1 | [
"MIT"
] | null | null | null | /*!
* Copyright (c) Microsoft. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project.
*/
import type { CausalityLevel } from '@showwhy/types'
export interface Spec {
type: CausalityLevel
label?: string
variable?: string
}
export interface PopulationSpec {
type: CausalityLevel
l... | 21.416667 | 67 | 0.745136 |
24f73f05a886afed57021bb11524f5526c4bb663 | 347 | kt | Kotlin | app/src/main/java/pham/honestbee/videolist/di/ActivityBindingModule.kt | theanh0512/VideoList | b715e1ce13d3fc02a5aa5295a6b0423d038ce20a | [
"Apache-1.1"
] | null | null | null | app/src/main/java/pham/honestbee/videolist/di/ActivityBindingModule.kt | theanh0512/VideoList | b715e1ce13d3fc02a5aa5295a6b0423d038ce20a | [
"Apache-1.1"
] | null | null | null | app/src/main/java/pham/honestbee/videolist/di/ActivityBindingModule.kt | theanh0512/VideoList | b715e1ce13d3fc02a5aa5295a6b0423d038ce20a | [
"Apache-1.1"
] | null | null | null | package pham.honestbee.videolist.di
import dagger.Module
import dagger.android.ContributesAndroidInjector
import pham.honestbee.videolist.videos.MainActivity
/**
* Created by Pham on 25/8/2018.
*/
@Module
abstract class ActivityBindingModule {
@ActivityScoped
@ContributesAndroidInjector
abstract fun mai... | 23.133333 | 51 | 0.798271 |
162158a6414199b000acd1b98fd36108453378d6 | 82 | ts | TypeScript | d.ts | KarstenBuckstegge/karstenbuckstegge-gatsby | f20585eddf8d8f591dbc405cdff16c20e4c912a7 | [
"MIT"
] | 2 | 2021-01-06T12:25:31.000Z | 2022-03-09T08:38:10.000Z | d.ts | KarstenBuckstegge/karstenbuckstegge-gatsby | f20585eddf8d8f591dbc405cdff16c20e4c912a7 | [
"MIT"
] | 8 | 2019-07-09T16:47:27.000Z | 2022-02-17T20:47:28.000Z | d.ts | KarstenBuckstegge/karstenbuckstegge-gatsby | f20585eddf8d8f591dbc405cdff16c20e4c912a7 | [
"MIT"
] | null | null | null | declare module '*.module.scss';
declare module 'react-anchor-link-smooth-scroll';
| 27.333333 | 49 | 0.768293 |
6ae2b4e8ac6b122a25573c9ec6abd9f07fef59af | 9,031 | asm | Assembly | blocks.asm | acmahaja/BLOCKS_Project | c24b17b63931352d6e5f85efe99d0644498f7269 | [
"Apache-2.0"
] | null | null | null | blocks.asm | acmahaja/BLOCKS_Project | c24b17b63931352d6e5f85efe99d0644498f7269 | [
"Apache-2.0"
] | null | null | null | blocks.asm | acmahaja/BLOCKS_Project | c24b17b63931352d6e5f85efe99d0644498f7269 | [
"Apache-2.0"
] | null | null | null | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Programmer: Anjaney Chirag Mahajan
; Class: ECE 109
; Section: 405
;
; blocks.asm
;
; Submitted: 03/28/2017
;
;
; The function of this program is to draw and manipulate the location of a
; box on the screen
;
;;;... | 30.822526 | 80 | 0.454324 |
183671eac5b6fc4416aeb40f94f4a8796644a76e | 293 | css | CSS | field_application/field_application/static/styles/campus_field/table.css | tonylifepix/CryD-r | a38fdb003a44cd2905570424bea722316b923575 | [
"Apache-2.0"
] | null | null | null | field_application/field_application/static/styles/campus_field/table.css | tonylifepix/CryD-r | a38fdb003a44cd2905570424bea722316b923575 | [
"Apache-2.0"
] | null | null | null | field_application/field_application/static/styles/campus_field/table.css | tonylifepix/CryD-r | a38fdb003a44cd2905570424bea722316b923575 | [
"Apache-2.0"
] | null | null | null | .date{
height: 35px;
}
.mor_aft{
height: 30px;
}
.place{
width: 150px;
height: 50px;
}
.bold_border{
border: 5px solid #ffffff;
}
.bold_border_bottom{
border-bottom: 5px solid #ffffff;
}
.bold_border_right{
border-right: 5px solid #ffffff;
}
.nine{
height: 30px;
} | 13.318182 | 35 | 0.638225 |
fb190d792485d905d7bdec5d030233785ed4199c | 516 | go | Go | api/template/search_template.go | cinic0101/go-esconn | 02f470d8f7dfc7b4ccaf2f873390eba928698125 | [
"MIT"
] | null | null | null | api/template/search_template.go | cinic0101/go-esconn | 02f470d8f7dfc7b4ccaf2f873390eba928698125 | [
"MIT"
] | null | null | null | api/template/search_template.go | cinic0101/go-esconn | 02f470d8f7dfc7b4ccaf2f873390eba928698125 | [
"MIT"
] | null | null | null | package template
type SearchTemplate struct {
Body map[string]interface{}
}
func New() *SearchTemplate {
return &SearchTemplate{
Body: make(map[string]interface{}),
}
}
func (s *SearchTemplate) WithFromSize(from int, size int) *SearchTemplate {
s.Body["from"] = from
s.Body["size"] = size
return s
}
func (s... | 18.428571 | 83 | 0.69186 |
1cad611c72790a0d3baa5e22439553ef651011a8 | 1,985 | css | CSS | public/css/message.css | kHasan1999/a7-homecooked | 5fae456df132c2d06e822f4c0a7799c9c2b88436 | [
"MIT"
] | null | null | null | public/css/message.css | kHasan1999/a7-homecooked | 5fae456df132c2d06e822f4c0a7799c9c2b88436 | [
"MIT"
] | null | null | null | public/css/message.css | kHasan1999/a7-homecooked | 5fae456df132c2d06e822f4c0a7799c9c2b88436 | [
"MIT"
] | 4 | 2021-02-23T20:49:52.000Z | 2021-02-25T20:13:26.000Z | .container {
padding: 20px;
}
body { margin:0px; }
.button {
background-color: orange;
border: none;
color: white;
padding: 10px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
.button recipe {border-radius: 8px;}
figure {
border: 1px #... | 16.822034 | 51 | 0.576826 |
b2d418afad092a7839f43f08bf37f5d322277d2e | 392 | py | Python | fehler_auth/migrations/0003_auto_20220416_1626.py | dhavall13/fehler_core | dd27802d5b227a32aebcc8bfde68e78a69a36d66 | [
"MIT"
] | null | null | null | fehler_auth/migrations/0003_auto_20220416_1626.py | dhavall13/fehler_core | dd27802d5b227a32aebcc8bfde68e78a69a36d66 | [
"MIT"
] | null | null | null | fehler_auth/migrations/0003_auto_20220416_1626.py | dhavall13/fehler_core | dd27802d5b227a32aebcc8bfde68e78a69a36d66 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.27 on 2022-04-16 16:26
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('fehler_auth', '0002_auto_20211002_1511'),
]
operations = [
migrations.AlterField(
model_name='invite',
name='email'... | 20.631579 | 52 | 0.604592 |
1665cd156a52fd6633baad6621f5ef7bf5785868 | 3,344 | tsx | TypeScript | packages/cascader/src/popup/search-popup.tsx | illa-family/illa-design | 00f4a50d9bcfe337304f6316e8e86d5c19e60e08 | [
"Apache-2.0"
] | 30 | 2021-11-25T10:49:45.000Z | 2022-03-24T12:47:16.000Z | packages/cascader/src/popup/search-popup.tsx | illa-family/illa-design | 00f4a50d9bcfe337304f6316e8e86d5c19e60e08 | [
"Apache-2.0"
] | 10 | 2021-11-29T11:19:53.000Z | 2022-03-25T07:28:39.000Z | packages/cascader/src/popup/search-popup.tsx | illa-family/illa-design | 00f4a50d9bcfe337304f6316e8e86d5c19e60e08 | [
"Apache-2.0"
] | 5 | 2021-11-24T07:50:39.000Z | 2022-03-02T06:59:03.000Z | import { useEffect, useState, useRef, SyntheticEvent } from "react"
import isEqual from "react-fast-compare"
import { Empty } from "@illa-design/empty"
import { Checkbox } from "@illa-design/checkbox"
import { Node } from "../node"
import { OptionProps, SearchPopupProps } from "../interface"
import {
applyOptionStyle... | 26.539683 | 76 | 0.513457 |
dd9748c7e69dea6d562404bb4852231de4cc4844 | 6,046 | php | PHP | resources/views/website/departments.blade.php | saidabdul80/grandplusFake | a0a4b0b16f4ec1c0227a2361bc9f1a502e5c2128 | [
"MIT"
] | null | null | null | resources/views/website/departments.blade.php | saidabdul80/grandplusFake | a0a4b0b16f4ec1c0227a2361bc9f1a502e5c2128 | [
"MIT"
] | null | null | null | resources/views/website/departments.blade.php | saidabdul80/grandplusFake | a0a4b0b16f4ec1c0227a2361bc9f1a502e5c2128 | [
"MIT"
] | null | null | null |
<?php
$programmes = [
'0' => [
'id' => "1",
'name' => "Community Health",
'courses' => [
['id' =>'1',
'name' => 'Name',
'requirements'=> 'requirements requirements requirements requirements'],
['id' =>'1... | 36.421687 | 199 | 0.477671 |
fb74d6703340262b09e29e2b424f2536d47247ab | 1,068 | h | C | extension/Extension.h | KrokusPokus/krkrz | d5eff37e0335e4756caf0061589893370766f814 | [
"BSD-3-Clause"
] | 572 | 2015-01-02T12:47:44.000Z | 2022-03-28T06:06:02.000Z | extension/Extension.h | KrokusPokus/krkrz | d5eff37e0335e4756caf0061589893370766f814 | [
"BSD-3-Clause"
] | 108 | 2015-02-24T03:06:03.000Z | 2022-01-23T07:28:58.000Z | extension/Extension.h | KrokusPokus/krkrz | d5eff37e0335e4756caf0061589893370766f814 | [
"BSD-3-Clause"
] | 136 | 2015-01-24T01:29:46.000Z | 2022-03-16T17:03:43.000Z |
#ifndef __EXTENSION_H__
#define __EXTENSION_H__
//---------------------------------------------------------------------------
// tTVPAtInstallClass
//---------------------------------------------------------------------------
extern void TVPAddClassHandler( const tjs_char* name, iTJSDispatch2* (*handler)(iTJSDispatch... | 34.451613 | 127 | 0.713483 |
08071c1ac97015018b82ca2476f27d75fff8e6bf | 20,155 | sql | SQL | tulsi_distributor (1).sql | pankaj1920/TD-Api | 30657810a8105bd5b8ac0fabdae4ac93fea73fbd | [
"MIT"
] | null | null | null | tulsi_distributor (1).sql | pankaj1920/TD-Api | 30657810a8105bd5b8ac0fabdae4ac93fea73fbd | [
"MIT"
] | null | null | null | tulsi_distributor (1).sql | pankaj1920/TD-Api | 30657810a8105bd5b8ac0fabdae4ac93fea73fbd | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 31, 2021 at 02:11 PM
-- Server version: 10.4.17-MariaDB
-- PHP Version: 8.0.0
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIEN... | 30.865237 | 313 | 0.65552 |
a10404b4adcdc7713a894e8af91776d55d58d0fa | 2,311 | go | Go | api/play_game.go | darkLord19/ChainReaction | 460cd66386734e789548c35f414e459aa13e5741 | [
"MIT"
] | 3 | 2020-04-13T08:57:23.000Z | 2020-04-14T05:03:15.000Z | api/play_game.go | darkLord19/ChainReaction | 460cd66386734e789548c35f414e459aa13e5741 | [
"MIT"
] | 2 | 2020-04-13T08:59:03.000Z | 2020-05-08T20:51:31.000Z | api/play_game.go | darkLord19/chainreaction | 460cd66386734e789548c35f414e459aa13e5741 | [
"MIT"
] | 1 | 2020-04-14T06:07:28.000Z | 2020-04-14T06:07:28.000Z | package api
import (
"log"
"net/http"
"strings"
"github.com/chainreaction/constants"
"github.com/chainreaction/datastore"
"github.com/chainreaction/helpers"
"github.com/chainreaction/models"
"github.com/chainreaction/simulate"
"github.com/chainreaction/utils"
"github.com/gin-gonic/gin"
)
// StartGamePlay ... | 23.581633 | 90 | 0.720467 |
430336fcba6d30d08495b4406cd6ee58ee5f2bfc | 1,339 | swift | Swift | MarvelChallenge/Networking/Alert.swift | carlosmobile/MarvelChallenge | 904c92542681a04d16dd7dfc79eb28e6b4977306 | [
"MIT"
] | null | null | null | MarvelChallenge/Networking/Alert.swift | carlosmobile/MarvelChallenge | 904c92542681a04d16dd7dfc79eb28e6b4977306 | [
"MIT"
] | null | null | null | MarvelChallenge/Networking/Alert.swift | carlosmobile/MarvelChallenge | 904c92542681a04d16dd7dfc79eb28e6b4977306 | [
"MIT"
] | null | null | null | //
// Alert.swift
// MarvelChallenge
//
// Created by Carlos Butrón on 9/3/22.
//
import UIKit
struct Alert {
static func present(_ message: String, actions: [Alert.Action], from controller: UIViewController) {
let alertTitle = "errorTitle".localized
let alertController = UIAlertController(tit... | 23.910714 | 108 | 0.525019 |
fea08e21a6435bb2fd802945eea5aa9640ac1cbb | 13,109 | sql | SQL | rekrutmen (1).sql | anggakes/rekrutmen | 551a3424b15c989de7a1adedb13ec4d3fc703d6d | [
"MIT"
] | 2 | 2015-06-02T02:05:46.000Z | 2016-01-06T09:05:14.000Z | rekrutmen (1).sql | anggakes/ahplisa | 551a3424b15c989de7a1adedb13ec4d3fc703d6d | [
"MIT"
] | null | null | null | rekrutmen (1).sql | anggakes/ahplisa | 551a3424b15c989de7a1adedb13ec4d3fc703d6d | [
"MIT"
] | 4 | 2017-04-12T10:50:59.000Z | 2021-11-23T10:02:57.000Z | -- phpMyAdmin SQL Dump
-- version 4.2.7.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: 01 Mar 2015 pada 06.40
-- Versi Server: 5.6.20
-- PHP Version: 5.5.15
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*... | 29.326622 | 243 | 0.619651 |
7f3116d26fe54beda87b40098afb90c2903ab3a5 | 1,795 | go | Go | actions/actions_test.go | billyninja/slapchop | 556f726c755341b2a0432174d728ba94bacd5ce1 | [
"MIT"
] | null | null | null | actions/actions_test.go | billyninja/slapchop | 556f726c755341b2a0432174d728ba94bacd5ce1 | [
"MIT"
] | null | null | null | actions/actions_test.go | billyninja/slapchop | 556f726c755341b2a0432174d728ba94bacd5ce1 | [
"MIT"
] | null | null | null | package actions
import (
"github.com/julienschmidt/httprouter"
"net/http"
"testing"
)
type mockResponseWriter struct{}
func (m *mockResponseWriter) Header() (h http.Header) {
return http.Header{}
}
func (m *mockResponseWriter) Write(p []byte) (n int, err error) {
return len(p), nil
}
func (m *mockResponseWrit... | 22.160494 | 89 | 0.671866 |
611d789b52981ee8bdf2e467793931a566601324 | 329 | asm | Assembly | oeis/036/A036909.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/036/A036909.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/036/A036909.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A036909: a(n) = (2/3) * 4^n * binomial(3*n, n).
; 8,160,3584,84480,2050048,50692096,1270087680,32133218304,819082035200,21002987765760,541167892561920,13999778090188800,363391162981023744,9459706464902840320,246865719056498950144,6456334894356662059008
add $0,1
seq $0,6588 ; a(n) = 4^n*(3*n)!/((2*n)!*n!).
div $0,12
... | 41.125 | 204 | 0.741641 |
24143819b43a0771d6c007547d704719244fd2b2 | 922 | kt | Kotlin | app/src/main/kotlin/jp/wasabeef/util/AppError.kt | wasabeef/kotlin-mvvm | 130aa438e5a665f366c1fbd493a82c9b7b926c8c | [
"Apache-2.0"
] | 193 | 2018-03-19T16:39:07.000Z | 2022-03-25T08:52:56.000Z | app/src/main/kotlin/jp/wasabeef/util/AppError.kt | wasabeef/kotlin-mvvm | 130aa438e5a665f366c1fbd493a82c9b7b926c8c | [
"Apache-2.0"
] | 1 | 2019-03-11T11:39:27.000Z | 2019-03-30T14:08:50.000Z | app/src/main/kotlin/jp/wasabeef/util/AppError.kt | wasabeef/kotlin-mvvm | 130aa438e5a665f366c1fbd493a82c9b7b926c8c | [
"Apache-2.0"
] | 58 | 2018-04-16T23:54:36.000Z | 2021-10-31T18:00:18.000Z | package jp.wasabeef.util
import java.lang.RuntimeException
/**
* Created by Wasabeef on 2017/12/04.
*/
open class AppError : RuntimeException {
enum class Cause {
/** ネットワーク未接続 */
UNKNOWN_HOST,
/** ネットワーク通信タイムアウト */
TIMEOUT,
/** ネットワーク全般 */
NETWORK,
/*... | 21.952381 | 103 | 0.558568 |
7981399e6f814edacecec5cc98b6cdd4318361f1 | 4,927 | swift | Swift | Application/FunctionX/FxCloud/Widget/SubmitValidatorKeypair/FxCloudSubmitValidatorKeypairViewController.swift | FunctionX/fx-wallet-ios | d7392cb93c527ba9ba55d324b78f60ad4c980819 | [
"MIT"
] | 3 | 2021-01-26T13:36:03.000Z | 2021-08-30T16:24:35.000Z | Application/FunctionX/FxCloud/Widget/SubmitValidatorKeypair/FxCloudSubmitValidatorKeypairViewController.swift | FunctionX/fx-wallet-ios | d7392cb93c527ba9ba55d324b78f60ad4c980819 | [
"MIT"
] | null | null | null | Application/FunctionX/FxCloud/Widget/SubmitValidatorKeypair/FxCloudSubmitValidatorKeypairViewController.swift | FunctionX/fx-wallet-ios | d7392cb93c527ba9ba55d324b78f60ad4c980819 | [
"MIT"
] | 2 | 2020-12-11T06:19:44.000Z | 2021-01-26T13:36:12.000Z | //
// FxCloudSubmitValidatorKeypairViewController.swift
// XWallet
//
// Created by HeiHuaBaiHua on 2020/5/21.
// Copyright © 2020 Andy.Chan 6K. All rights reserved.
//
import WKKit
import RxCocoa
import FunctionX
import SwiftyJSON
import TrustWalletCore
extension FxCloudSubmitValidatorKeypairViewController {
... | 39.103175 | 133 | 0.632434 |
b6a511f52bf0b0889317e94085300f6555b0fda0 | 844 | lua | Lua | _preload.lua | Geno-IDE/premake-geno | 9a29e440948499463284c5abe595d2c694862d4b | [
"MIT"
] | 2 | 2021-07-17T11:44:54.000Z | 2022-01-13T10:06:32.000Z | _preload.lua | Geno-IDE/premake-geno | 9a29e440948499463284c5abe595d2c694862d4b | [
"MIT"
] | null | null | null | _preload.lua | Geno-IDE/premake-geno | 9a29e440948499463284c5abe595d2c694862d4b | [
"MIT"
] | 1 | 2021-07-03T19:51:17.000Z | 2021-07-03T19:51:17.000Z | local p = premake
p.extensions.geno = { _VERSION = "1.0.0" }
--
-- Create the Geno action
--
newaction {
-- Metadata
trigger = "geno",
shortname = "Geno",
description = "Generate project files for the Geno IDE: https://github.com/Geno-IDE/Geno",
-- Capabilities
valid_kinds = {
"ConsoleApp",
... | 16.88 | 91 | 0.620853 |
e5adb4f13d0c4671534b6387a0fe7a3150d63f71 | 802 | asm | Assembly | oeis/141/A141940.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/141/A141940.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/141/A141940.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A141940: Primes congruent to 17 mod 25.
; Submitted by Jon Maiga
; 17,67,167,317,367,467,617,967,1117,1217,1367,1567,1667,1867,2017,2267,2417,2467,2617,2767,2917,3067,3167,3217,3467,3517,3617,3767,3917,3967,4217,4517,4567,4817,4967,5167,5417,5717,5867,6067,6217,6317,6367,6917,6967,7417,7517,7717,7817,7867,8017,8117,8... | 38.190476 | 500 | 0.72818 |
e8f4b23ed19c18a99bdef84f2585aee923db8769 | 3,306 | py | Python | pyathena/util/rebin.py | changgoo/pyathena-1 | c461ac3390d773537ce52393e3ebf68a3282aa46 | [
"MIT"
] | 1 | 2019-10-03T13:59:14.000Z | 2019-10-03T13:59:14.000Z | pyathena/util/rebin.py | changgoo/pyathena-1 | c461ac3390d773537ce52393e3ebf68a3282aa46 | [
"MIT"
] | 3 | 2020-09-23T23:36:17.000Z | 2022-01-11T06:16:56.000Z | pyathena/util/rebin.py | changgoo/pyathena-1 | c461ac3390d773537ce52393e3ebf68a3282aa46 | [
"MIT"
] | 2 | 2019-06-10T04:26:16.000Z | 2019-12-04T22:27:02.000Z | from __future__ import print_function
import numpy as np
def rebin_xyz(arr, bin_factor, fill_value=None):
"""
Function to rebin masked 3d array.
Parameters
----------
arr : ndarray
Masked or unmasked 3d numpy array. Shape is assumed to be (nz, ny, nx).
bin_factor : int
bin... | 28.747826 | 109 | 0.578947 |
f15740e4503472d8982d83e20726fe0dd4127f1d | 13,239 | rb | Ruby | spec/lib/core_ext/array_spec.rb | Munyola/OpenSplitTime | 20e1e96917fdeee4103c9492b16856d4d734f2bb | [
"MIT"
] | 16 | 2017-04-28T14:58:39.000Z | 2021-12-10T17:18:48.000Z | spec/lib/core_ext/array_spec.rb | Munyola/OpenSplitTime | 20e1e96917fdeee4103c9492b16856d4d734f2bb | [
"MIT"
] | 193 | 2016-01-31T04:39:41.000Z | 2022-03-15T19:15:26.000Z | spec/lib/core_ext/array_spec.rb | Munyola/OpenSplitTime | 20e1e96917fdeee4103c9492b16856d4d734f2bb | [
"MIT"
] | 8 | 2016-05-11T22:57:33.000Z | 2021-10-04T14:42:46.000Z | # frozen_string_literal: true
require_relative '../../../lib/core_ext/array'
RSpec.describe Array do
describe '#average' do
it 'computes the average of elements in the Array' do
array = [1, 2, 3]
expect(array.average).to eq(2)
end
it 'works properly when the answer is not an integer' do
... | 33.263819 | 118 | 0.630032 |
a1e05edb06f7e116547f535c747355ebb160e55d | 681 | h | C | src/Skybox.h | ShirokoSama/ShadingSandbox | b407aea1c018bcb46061f3d165c9671d2cb3c139 | [
"MIT"
] | null | null | null | src/Skybox.h | ShirokoSama/ShadingSandbox | b407aea1c018bcb46061f3d165c9671d2cb3c139 | [
"MIT"
] | null | null | null | src/Skybox.h | ShirokoSama/ShadingSandbox | b407aea1c018bcb46061f3d165c9671d2cb3c139 | [
"MIT"
] | 1 | 2019-12-05T11:50:24.000Z | 2019-12-05T11:50:24.000Z | //
// Created by Srf on 2018/11/14.
//
#ifndef CG_LAB3_SKYBOX_H
#define CG_LAB3_SKYBOX_H
#include <glad/glad.h>
#include <string>
#include <iostream>
#include "../tools/ResourceManager.h"
#include "../tools/Cube.h"
class Skybox {
public:
explicit Skybox (const std::string &environmentMapPath);
~Skybox();
... | 18.916667 | 60 | 0.715125 |
8ad9a68ae6808dfc5b62fab1b143a33282b509c9 | 24,639 | rs | Rust | rpc/src/services/protocol/mod.rs | sebastiencs/tezedge | 567b29acc42e3d7baa3daf5da37d6cc304a880f2 | [
"MIT"
] | 1 | 2021-08-17T00:54:18.000Z | 2021-08-17T00:54:18.000Z | rpc/src/services/protocol/mod.rs | sebastiencs/tezedge | 567b29acc42e3d7baa3daf5da37d6cc304a880f2 | [
"MIT"
] | null | null | null | rpc/src/services/protocol/mod.rs | sebastiencs/tezedge | 567b29acc42e3d7baa3daf5da37d6cc304a880f2 | [
"MIT"
] | null | null | null | // Copyright (c) SimpleStaking, Viable Systems and Tezedge Contributors
// SPDX-License-Identifier: MIT
//! This module exposes protocol rpc services.
//!
//! Rule 1:
//! - if service has different implementation and uses different structs for various protocols, it have to be placed and implemented in correct subp... | 33.386179 | 168 | 0.626486 |
23ab38c4e36a28d8cf8b89c3d5d0210ac8089fd1 | 590 | kt | Kotlin | src/k_10_poo/ejemplo13/Principal.kt | Gusn8/KotlinStudyJam | 1d24b475e84b88099036988402f9e072a8187535 | [
"MIT"
] | null | null | null | src/k_10_poo/ejemplo13/Principal.kt | Gusn8/KotlinStudyJam | 1d24b475e84b88099036988402f9e072a8187535 | [
"MIT"
] | null | null | null | src/k_10_poo/ejemplo13/Principal.kt | Gusn8/KotlinStudyJam | 1d24b475e84b88099036988402f9e072a8187535 | [
"MIT"
] | 2 | 2019-09-19T16:37:19.000Z | 2019-10-01T07:27:58.000Z | package k_10_poo.ejemplo13
/**
* @author Gustavo Lizárraga
* @date 26/09/2019
*
* Plantear una clase llamada Dado. Definir una propiedad llamada valor que
* permita cargar un valor comprendido entre 1 y 6 si llega un valor que no
* está comprendido en este rango se debe cargar un 1.
* Definir dos métodos, uno q... | 29.5 | 96 | 0.711864 |
7d53a8c5be2a4a63c642560355d96f6120753dcb | 195 | html | HTML | flask/app/templates/show_image.html | Vivikar/bMRI_analyzer | 23f362c94c19773a398fca53bf261396b0011b59 | [
"MIT"
] | 1 | 2019-12-09T15:20:54.000Z | 2019-12-09T15:20:54.000Z | flask/app/templates/show_image.html | Vivikar/bMRI_analyzer | 23f362c94c19773a398fca53bf261396b0011b59 | [
"MIT"
] | 2 | 2021-08-25T15:52:45.000Z | 2022-02-10T01:07:45.000Z | flask/app/templates/show_image.html | Vivikar/bMRI_analyzer | 23f362c94c19773a398fca53bf261396b0011b59 | [
"MIT"
] | null | null | null | {% extends "base.html" %} {% block head %}
<link rel="stylesheet" href="{{url_for('static', filename='styles/style.css')}}"> {% endblock %} {% block content %}
<img src={{img}}/> {% endblock %} | 39 | 116 | 0.6 |
9a225ea0ba64acc71eafa3710f1a236e168f856f | 276 | css | CSS | assets/css/style.css | iniryan/cucisepatu | 45360d3c47330c83c4dc3d22487719bf7a4d9569 | [
"MIT"
] | null | null | null | assets/css/style.css | iniryan/cucisepatu | 45360d3c47330c83c4dc3d22487719bf7a4d9569 | [
"MIT"
] | null | null | null | assets/css/style.css | iniryan/cucisepatu | 45360d3c47330c83c4dc3d22487719bf7a4d9569 | [
"MIT"
] | null | null | null | * {
font-family: Montserrat;
}
.float-add {
position: fixed;
width: 60px;
height: 60px;
bottom: 80px;
right: 40px;
background-color: #25d366;
color: #fff;
border-radius: 50px;
text-align: center;
font-size: 30px;
z-index: 100;
}
.my-float {
margin-top: 16px;
}
| 12.545455 | 27 | 0.652174 |
78262f6ebae44ecf2cb3ba221b349daf851deb84 | 397 | kt | Kotlin | frontend/src/main/kotlin/de/uulm/se/couchedit/client/viewmodel/canvas/gef/visual/RootVisual.kt | sp-uulm/CouchEdit | 595266c0bca8f2ee6ff633c4b45b91e5f3132cc4 | [
"Apache-2.0"
] | null | null | null | frontend/src/main/kotlin/de/uulm/se/couchedit/client/viewmodel/canvas/gef/visual/RootVisual.kt | sp-uulm/CouchEdit | 595266c0bca8f2ee6ff633c4b45b91e5f3132cc4 | [
"Apache-2.0"
] | null | null | null | frontend/src/main/kotlin/de/uulm/se/couchedit/client/viewmodel/canvas/gef/visual/RootVisual.kt | sp-uulm/CouchEdit | 595266c0bca8f2ee6ff633c4b45b91e5f3132cc4 | [
"Apache-2.0"
] | null | null | null | package de.uulm.se.couchedit.client.viewmodel.canvas.gef.visual
import javafx.scene.Group
import javafx.scene.Node
class RootVisual: Group(), SupportsChildren {
override fun addChild(visual: Node, index: Int?) {
index?.let { this.children.add(it, visual) } ?: this.children.add(visual)
}
override ... | 26.466667 | 81 | 0.700252 |
d56faf0290e7e1d08d4c22d531621edcbebf3751 | 4,349 | swift | Swift | WWCollapsibleFormExample/WWCollapsibleFormExample/AppDelegate.swift | werewolf2188/WWCollapsibleForm | 85b9f0d29dc230d492b74f47118e2c583e210239 | [
"MIT"
] | null | null | null | WWCollapsibleFormExample/WWCollapsibleFormExample/AppDelegate.swift | werewolf2188/WWCollapsibleForm | 85b9f0d29dc230d492b74f47118e2c583e210239 | [
"MIT"
] | null | null | null | WWCollapsibleFormExample/WWCollapsibleFormExample/AppDelegate.swift | werewolf2188/WWCollapsibleForm | 85b9f0d29dc230d492b74f47118e2c583e210239 | [
"MIT"
] | null | null | null | //
// AppDelegate.swift
// WWCollapsibleFormExample
//
// Created by Enrique Ricalde on 9/12/18.
// Copyright © 2018 werewolf. All rights reserved.
//
import UIKit
import Swinject
import WWCollapsibleForm
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
let... | 46.763441 | 285 | 0.707289 |
54594eae683dbfedf8ff9956e20324e75ddbaebc | 140,865 | go | Go | x/mining/types/query.pb.go | stafihub/stafihub | 0fe11cc2a39cd8ceca66eef89330b5720a8dd973 | [
"Apache-2.0"
] | 2 | 2022-03-19T17:15:02.000Z | 2022-03-20T20:36:10.000Z | x/mining/types/query.pb.go | stafihub/stafihub | 0fe11cc2a39cd8ceca66eef89330b5720a8dd973 | [
"Apache-2.0"
] | null | null | null | x/mining/types/query.pb.go | stafihub/stafihub | 0fe11cc2a39cd8ceca66eef89330b5720a8dd973 | [
"Apache-2.0"
] | null | null | null | // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: mining/query.proto
package types
import (
context "context"
fmt "fmt"
_ "github.com/cosmos/cosmos-sdk/types"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/cosmos-sdk/types/query"
_ "github.com/gogo/proto... | 28.077536 | 176 | 0.684975 |
41ba17cb29657392961525c9fd4d85163a750e1e | 47,481 | c | C | drivers/net/ethernet/marvell/prestera/prestera_hw.c | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | null | null | null | drivers/net/ethernet/marvell/prestera/prestera_hw.c | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | null | null | null | drivers/net/ethernet/marvell/prestera/prestera_hw.c | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | null | null | null | // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
/* Copyright (c) 2019-2020 Marvell International Ltd. All rights reserved */
#include <linux/etherdevice.h>
#include <linux/if_bridge.h>
#include <linux/ethtool.h>
#include <linux/list.h>
#include "prestera.h"
#include "prestera_hw.h"
#include "prestera_acl.h"
#def... | 24.976854 | 81 | 0.749226 |
a16ee1dd951cc829b38a5cb6a102222a143af2d3 | 12,286 | h | C | src/dockapps/libdockapp/src/dockapp.h | kevingnet/fvwm_themed | e6c2aa4526d592d66261ac0579fd74d056d480fb | [
"MIT"
] | 2 | 2020-02-10T11:48:41.000Z | 2020-02-10T12:58:00.000Z | src/dockapps/libdockapp/src/dockapp.h | kevingnet/fvwm_themed | e6c2aa4526d592d66261ac0579fd74d056d480fb | [
"MIT"
] | null | null | null | src/dockapps/libdockapp/src/dockapp.h | kevingnet/fvwm_themed | e6c2aa4526d592d66261ac0579fd74d056d480fb | [
"MIT"
] | null | null | null | /*
* Copyright (c) 1999-2005 Alfredo K. Kojima, Alban Hertroys
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... | 28.840376 | 84 | 0.714553 |
712ad708a35bf55000e8b4aee74bb34740da1e04 | 395 | ts | TypeScript | src/components/SvgIcon/styles.ts | diegoasanch/Estadistica_General | ab9f4a3356c4abeeb410576974cdad88adbbacdb | [
"MIT"
] | 1 | 2021-05-13T21:23:36.000Z | 2021-05-13T21:23:36.000Z | src/components/SvgIcon/styles.ts | diegoasanch/Estadistica_General | ab9f4a3356c4abeeb410576974cdad88adbbacdb | [
"MIT"
] | 3 | 2021-04-26T18:27:13.000Z | 2021-04-28T21:38:01.000Z | src/components/SvgIcon/styles.ts | diegoasanch/Estadistica_General | ab9f4a3356c4abeeb410576974cdad88adbbacdb | [
"MIT"
] | 1 | 2021-06-21T23:53:21.000Z | 2021-06-21T23:53:21.000Z | import styled from 'styled-components'
type InlineProps = {
width?: string
heigth?: string
}
const InlineSvg = styled.svg<InlineProps>`
height: ${(props) => props.height ?? '1.5em'};
vertical-align: text-bottom;
`
const InlineImg = styled.img<InlineProps>`
height: ${(props) => props.height ?? '1.... | 20.789474 | 50 | 0.658228 |
15e425518e13c78d42eb8c945a664eda28a9d2cc | 1,474 | rb | Ruby | app/models/classic.rb | David-P-Molina/classic_literature_yoda_translator | 94da2d3300a6dffea041e0d7e2bf28dbf926a35f | [
"MIT"
] | null | null | null | app/models/classic.rb | David-P-Molina/classic_literature_yoda_translator | 94da2d3300a6dffea041e0d7e2bf28dbf926a35f | [
"MIT"
] | null | null | null | app/models/classic.rb | David-P-Molina/classic_literature_yoda_translator | 94da2d3300a6dffea041e0d7e2bf28dbf926a35f | [
"MIT"
] | null | null | null | class Classic < ApplicationRecord
belongs_to :author
belongs_to :category
belongs_to :user
validates :title, presence: true
validates :release_date, presence: true
validate :classic_must_be_older_than_25_years
#scope methods
scope :sixteen_hundred_classic, -> { where("1600 < release_date... | 30.708333 | 82 | 0.674355 |
f769f68548ee87e059aad3fae1baff4b582407e5 | 1,871 | h | C | PrivateFrameworks/QuickLookThumbnailing/QLThumbnailVersion.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/QuickLookThumbnailing/QLThumbnailVersion.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/QuickLookThumbnailing/QLThumbnailVersion.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "NSSecureCoding.h"
@class NSData, NSDate, NSString;
@interface QLThumbnailVersion : NSObject <NSSecureCoding>
{
NSDate *_modificationDate;
un... | 38.183673 | 148 | 0.773918 |
71bd2e4c7f196cc527de28615ccb772cdef572d6 | 3,306 | kt | Kotlin | nugu-client-kit/src/main/java/com/skt/nugu/sdk/client/channel/DefaultFocusChannel.kt | Taehui/nugu-android | 1a87da453309296864753d6212f8d9ce17ce2bf3 | [
"Apache-2.0"
] | 1 | 2019-10-17T07:24:45.000Z | 2019-10-17T07:24:45.000Z | nugu-client-kit/src/main/java/com/skt/nugu/sdk/client/channel/DefaultFocusChannel.kt | Taehui/nugu-android | 1a87da453309296864753d6212f8d9ce17ce2bf3 | [
"Apache-2.0"
] | null | null | null | nugu-client-kit/src/main/java/com/skt/nugu/sdk/client/channel/DefaultFocusChannel.kt | Taehui/nugu-android | 1a87da453309296864753d6212f8d9ce17ce2bf3 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (c) 2019 SK Telecom Co., Ltd. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 42.384615 | 90 | 0.632184 |
0a097baa41ac337d49e83084a248f6a18260547f | 2,061 | ts | TypeScript | src/lib/critical_path/critical_path.ts | smoogly/tasklauncher | 2264c08f7cd5a8350f060e56008e63de5c044a9d | [
"MIT"
] | 3 | 2021-11-22T09:04:44.000Z | 2022-03-04T07:58:14.000Z | src/lib/critical_path/critical_path.ts | smoogly/tasklauncher | 2264c08f7cd5a8350f060e56008e63de5c044a9d | [
"MIT"
] | null | null | null | src/lib/critical_path/critical_path.ts | smoogly/tasklauncher | 2264c08f7cd5a8350f060e56008e63de5c044a9d | [
"MIT"
] | 1 | 2022-02-14T17:40:10.000Z | 2022-02-14T17:40:10.000Z | import { AnyInput, Task } from "../work_api";
import { Execution } from "../execution";
import { Stats, TaskExecutionStat } from "../parallelize";
import { alignDurations, formatDuration } from "../util/time";
export type CritPathExpectedTaskShape = Task<AnyInput, Execution & { duration: Promise<number | null> }> & { ... | 49.071429 | 146 | 0.683649 |
0302b31e20ba0e4fdf87f314b0520b7847c6eeb1 | 7,258 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/draft_schematic/space/engine/objects.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/object/custom_content/draft_schematic/space/engine/objects.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/object/custom_content/draft_schematic/space/engine/objects.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_draft_schematic_space_engine_shared_collection_reward_engine_01_mk1 = SharedDraftSchematicObjectTemplate:new {
clientTemplateFileName = "object/draft_schematic/space/engine/shared_collection_reward_engine_01_mk1.iff"
}
ObjectTemplates:addClientTemplate(object_draft_schematic_space_engine_shared_collection_rewa... | 64.230088 | 191 | 0.672086 |
9c24f119c0b0aa35beb278c3f7c59c8307b25645 | 1,698 | js | JavaScript | Cosmose Server/src/services/faceapi_service.js | wearespacey/Cosmose | 0863bf2d1eb3fd5f7112d0612a34f7e1e9a3f2d9 | [
"MIT"
] | null | null | null | Cosmose Server/src/services/faceapi_service.js | wearespacey/Cosmose | 0863bf2d1eb3fd5f7112d0612a34f7e1e9a3f2d9 | [
"MIT"
] | null | null | null | Cosmose Server/src/services/faceapi_service.js | wearespacey/Cosmose | 0863bf2d1eb3fd5f7112d0612a34f7e1e9a3f2d9 | [
"MIT"
] | null | null | null | const KEY = "49c7cc03467545c0997f97b765134be4";
const axios = require('axios');
var atob = require('atob');
class FaceApiService{
constructor(){
}
async addFace(base64Image, personGroupId, personId){
// var data = IMAGE_FROM_AZURE.split(',')[1];
// var mimeType = IMAGE_FROM_AZURE.spli... | 29.789474 | 183 | 0.57715 |
16d7091ecb25e94ef09f4bd9be0fc685efc6d176 | 645 | ts | TypeScript | types/emojione/emojione-tests.ts | fes300/DefinitelyTyped | 0ff89f656c5e796284e155524b64c53bb0ee4998 | [
"MIT"
] | 35,620 | 2015-11-04T04:20:38.000Z | 2022-03-31T21:14:58.000Z | types/emojione/emojione-tests.ts | fes300/DefinitelyTyped | 0ff89f656c5e796284e155524b64c53bb0ee4998 | [
"MIT"
] | 49,391 | 2015-11-04T05:15:18.000Z | 2022-03-31T23:44:18.000Z | types/emojione/emojione-tests.ts | fes300/DefinitelyTyped | 0ff89f656c5e796284e155524b64c53bb0ee4998 | [
"MIT"
] | 36,450 | 2015-11-04T04:30:18.000Z | 2022-03-31T23:29:51.000Z | emojione.sprites = true;
emojione.imagePathPNG = 'foobar';
emojione.imagePathSVG = 'foobar';
emojione.imagePathSVGSprites = 'foobar';
emojione.imageType = 'svg';
emojione.unicodeAlt = false;
emojione.ascii = true;
emojione.unicodeRegexp = '123.*';
emojione.cacheBustParam = 'asdf';
emojione.emojioneList = {
':hi:': ... | 29.318182 | 57 | 0.686822 |
3bbea758c7784620aacd7636cf98a167fd38b0b4 | 2,353 | c | C | heclib/heclib_c/src/Utilities/numberBytesInCharArray.c | HydrologicEngineeringCenter/heclib | dd3111ee2a8d0c80b88d21bd529991f154fec40a | [
"MIT"
] | 19 | 2021-03-09T17:42:30.000Z | 2022-03-21T21:46:47.000Z | heclib/heclib_c/src/Utilities/numberBytesInCharArray.c | HydrologicEngineeringCenter/heclib | dd3111ee2a8d0c80b88d21bd529991f154fec40a | [
"MIT"
] | 22 | 2021-06-17T20:01:28.000Z | 2022-03-21T21:33:29.000Z | heclib/heclib_c/src/Utilities/numberBytesInCharArray.c | HydrologicEngineeringCenter/heclib | dd3111ee2a8d0c80b88d21bd529991f154fec40a | [
"MIT"
] | 3 | 2021-06-16T17:48:30.000Z | 2022-01-13T16:44:47.000Z | #include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "heclib7.h"
int numberBytesInDoubleCharArray(const char **charArray, int numberRows, int numberColumns, int *expandedSize)
{
// Counts the number of bytes in numberStrings null terminated strings in charArray.
// Any character less than 0 is cons... | 22.409524 | 118 | 0.666383 |
5bf2d14ccc266c35bf976e67acacece3041afb78 | 143 | h | C | usr/HwVeri/SNRLib/dsp-toolbox/dsptool.h | Bhaskers-Blu-Org2/Sora | 6aa5411db71199e56d5cb24265b01a89f49b40f4 | [
"BSD-2-Clause"
] | 270 | 2015-07-17T15:43:43.000Z | 2019-04-21T12:13:58.000Z | usr/HwVeri/SNRLib/dsp-toolbox/dsptool.h | JamesLinus/Sora | 6aa5411db71199e56d5cb24265b01a89f49b40f4 | [
"BSD-2-Clause"
] | null | null | null | usr/HwVeri/SNRLib/dsp-toolbox/dsptool.h | JamesLinus/Sora | 6aa5411db71199e56d5cb24265b01a89f49b40f4 | [
"BSD-2-Clause"
] | 106 | 2015-07-20T10:40:34.000Z | 2019-04-25T10:02:26.000Z | #pragma once
#include "dspcomm.h"
#include "templtrick.h"
#include "slackq.h"
#include "brick.h"
#include "dsplib.h"
//#include "simplewnd.h"
| 15.888889 | 24 | 0.706294 |
fc92ff33b2efab5d3de492e88e14b09c4dea4c59 | 98 | css | CSS | src/components/_mobile/Measurement/Measurement.css | andy-haynes/zymancer_legacy | 87e11b6c45542e0600d513a2b1010ba9dc1ce6ac | [
"MIT"
] | null | null | null | src/components/_mobile/Measurement/Measurement.css | andy-haynes/zymancer_legacy | 87e11b6c45542e0600d513a2b1010ba9dc1ce6ac | [
"MIT"
] | null | null | null | src/components/_mobile/Measurement/Measurement.css | andy-haynes/zymancer_legacy | 87e11b6c45542e0600d513a2b1010ba9dc1ce6ac | [
"MIT"
] | null | null | null | .measurement {
}
.measurementValue {
position: relative;
bottom: 4px;
}
.measurementUnit {
} | 9.8 | 21 | 0.683673 |
b7461a31a4c74904daa8d8c81e103c60b00a4177 | 1,005 | lua | Lua | spec/web/mixins/authcookie_spec.lua | akornatskyy/lucid | c23d60921cf5037ea2d544ffb42eac3ba2c551b1 | [
"MIT"
] | 10 | 2018-03-26T14:52:41.000Z | 2022-01-27T15:56:31.000Z | spec/web/mixins/authcookie_spec.lua | akornatskyy/lucid | c23d60921cf5037ea2d544ffb42eac3ba2c551b1 | [
"MIT"
] | 1 | 2021-04-28T22:11:54.000Z | 2021-06-25T15:28:56.000Z | spec/web/mixins/authcookie_spec.lua | akornatskyy/lucid | c23d60921cf5037ea2d544ffb42eac3ba2c551b1 | [
"MIT"
] | 1 | 2018-05-03T04:16:51.000Z | 2018-05-03T04:16:51.000Z | local authcookie = require 'web.mixins.authcookie'
local request = require 'http.functional.request'
local writer = require 'http.functional.response'
local describe, it, assert = describe, it, assert
describe('web.mixins.authcookie', function()
it('extends time left', function()
local c = setmetatable({
... | 27.916667 | 66 | 0.541294 |
b2b541552dee04f9e9bcd11e4c109a74ce0c81b7 | 1,697 | py | Python | timesketch/lib/cypher/insertable_string.py | Marwolf/timesketch | 8fbbb3d0a5a50dc0214fc56a9bbec82050908103 | [
"Apache-2.0"
] | null | null | null | timesketch/lib/cypher/insertable_string.py | Marwolf/timesketch | 8fbbb3d0a5a50dc0214fc56a9bbec82050908103 | [
"Apache-2.0"
] | null | null | null | timesketch/lib/cypher/insertable_string.py | Marwolf/timesketch | 8fbbb3d0a5a50dc0214fc56a9bbec82050908103 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 39.465116 | 80 | 0.696523 |
9c6865792d515e378b8ad181b0bbf6aba39ddc16 | 2,231 | js | JavaScript | app_api/controllers/userController.js | Noah-Huff/my-work-spot | a3d80388fbce731f52ef74708ab9b018eb05b0ce | [
"MIT"
] | null | null | null | app_api/controllers/userController.js | Noah-Huff/my-work-spot | a3d80388fbce731f52ef74708ab9b018eb05b0ce | [
"MIT"
] | null | null | null | app_api/controllers/userController.js | Noah-Huff/my-work-spot | a3d80388fbce731f52ef74708ab9b018eb05b0ce | [
"MIT"
] | 1 | 2021-04-23T03:29:51.000Z | 2021-04-23T03:29:51.000Z | const passport = require('passport');
const asyncHandler = require('express-async-handler');
const mongoose = require('mongoose');
const Loc = mongoose.model('Location');
const Admin = mongoose.model('Admin');
/*
const _getAdmin = (req, res, callback) => {
if ( req.payload && req.payload.email ) {
Admin.fi... | 22.535354 | 87 | 0.494845 |
91fc70a646ebab4aeddadd554caf6b5efa111ac9 | 8,532 | rs | Rust | src/lib.rs | dotcypress/st7032i | 2eaf63af371652660b98c12bfb1702b303ef9cf7 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-02-11T22:09:55.000Z | 2020-02-11T22:09:55.000Z | src/lib.rs | dotcypress/st7032i | 2eaf63af371652660b98c12bfb1702b303ef9cf7 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/lib.rs | dotcypress/st7032i | 2eaf63af371652660b98c12bfb1702b303ef9cf7 | [
"Apache-2.0",
"MIT"
] | null | null | null | //! A platform agnostic Rust driver for the ST7032i, based on the
//! [`embedded-hal`](https://github.com/japaric/embedded-hal) traits.
//!
//! ## The Device
//!
//! The Sitronix ST7032i is a dot matrix LCD controller with I²C interface.
//!
//! - [Details and datasheet](http://www.newhavendisplay.com/app_notes/ST7032.... | 26.414861 | 96 | 0.553329 |
70ccf0f200bdee30e0015ae6b23273b69e2e4400 | 3,750 | go | Go | components/application-registry/internal/metadata/specification/download/client.go | FWinkler79/kyma | 4ef0055807666cd54c5cbbeecd3aa17918d5d982 | [
"Apache-2.0"
] | 1,351 | 2018-07-04T06:14:20.000Z | 2022-03-31T16:28:47.000Z | components/application-registry/internal/metadata/specification/download/client.go | FWinkler79/kyma | 4ef0055807666cd54c5cbbeecd3aa17918d5d982 | [
"Apache-2.0"
] | 11,211 | 2018-07-24T22:47:33.000Z | 2022-03-31T19:29:15.000Z | components/application-registry/internal/metadata/specification/download/client.go | FWinkler79/kyma | 4ef0055807666cd54c5cbbeecd3aa17918d5d982 | [
"Apache-2.0"
] | 481 | 2018-07-24T14:13:41.000Z | 2022-03-31T15:55:46.000Z | package download
import (
"io/ioutil"
"net/http"
"net/url"
"github.com/kyma-project/kyma/components/application-gateway/pkg/authorization"
"github.com/kyma-project/kyma/components/application-gateway/pkg/httpconsts"
"github.com/kyma-project/kyma/components/application-registry/internal/apperrors"
"github.com/k... | 27.573529 | 166 | 0.735733 |
9a17f74988dbc4d9b8f7623b947bff8b55881361 | 18,848 | css | CSS | widgets/common/assets/gradients/glassy/glassyAzure/glassyAzure1.css | idutta2007/yiigems | 4278e750db1f19d50615a5acc7a93c8802ff5618 | [
"MIT"
] | 1 | 2015-11-02T14:12:02.000Z | 2015-11-02T14:12:02.000Z | widgets/common/assets/gradients/glassy/glassyAzure/glassyAzure1.css | idutta2007/yiigems | 4278e750db1f19d50615a5acc7a93c8802ff5618 | [
"MIT"
] | 1 | 2015-11-01T08:58:53.000Z | 2016-01-02T09:25:49.000Z | widgets/common/assets/gradients/glassy/glassyAzure/glassyAzure1.css | idutta2007/yiigems | 4278e750db1f19d50615a5acc7a93c8802ff5618 | [
"MIT"
] | null | null | null | .background_glassyAzure1,
.hover_background_glassyAzure1:hover,
.active_background_glassyAzure1:active:hover {
background: #f0ffff;
background-image: -moz-linear-gradient(top, rgb(190, 255, 255) 0%, rgb(141, 255, 255) 50%, rgb(92, 255, 255) 55%, rgb(240, 255, 255) 100%);
background-image: -webkit-gradient(... | 45.199041 | 218 | 0.686227 |
58ba66f88a53df254cc59509280ad86a702539c3 | 83 | rs | Rust | heim-process/src/sys/macos/bindings/mod.rs | sMitea/heim | 6aa21b847cf35dad9622476ad0f70ceaff1ea920 | [
"Apache-2.0",
"MIT"
] | 753 | 2019-05-07T19:42:19.000Z | 2022-03-19T07:27:26.000Z | heim-process/src/sys/macos/bindings/mod.rs | sMitea/heim | 6aa21b847cf35dad9622476ad0f70ceaff1ea920 | [
"Apache-2.0",
"MIT"
] | 336 | 2019-04-11T13:40:19.000Z | 2022-01-24T02:57:14.000Z | heim-process/src/sys/macos/bindings/mod.rs | sMitea/heim | 6aa21b847cf35dad9622476ad0f70ceaff1ea920 | [
"Apache-2.0",
"MIT"
] | 88 | 2019-07-23T06:33:10.000Z | 2022-03-30T07:03:41.000Z | mod proc_args;
mod process;
pub use self::proc_args::*;
pub use self::process::*;
| 13.833333 | 27 | 0.698795 |
73be7168345e78c11f351312af0df288d33e255d | 1,221 | swift | Swift | QuakeX/QuakeX/Extensions/UIView+Ext.swift | FurkanHanciSecond/QuakeX | c3ae1ddef128e5d50f5c80e0f595bc8987108436 | [
"MIT"
] | null | null | null | QuakeX/QuakeX/Extensions/UIView+Ext.swift | FurkanHanciSecond/QuakeX | c3ae1ddef128e5d50f5c80e0f595bc8987108436 | [
"MIT"
] | null | null | null | QuakeX/QuakeX/Extensions/UIView+Ext.swift | FurkanHanciSecond/QuakeX | c3ae1ddef128e5d50f5c80e0f595bc8987108436 | [
"MIT"
] | null | null | null | //
// UIView+Ext.swift
// QuakeX
//
// Created by Furkan Hanci on 2/16/22.
//
import UIKit
extension UIView {
func addSubviews(_ views: UIView...) {
for view in views {
addSubview(view)
}
}
func pinToEdges(of superview: UIView) {
translatesAutoresizingMaskIntoConstraints = ... | 25.4375 | 70 | 0.65602 |
57ad1e2efbbc89d249a71e0f0a2c367ae6712f4f | 1,031 | kt | Kotlin | tools/acornui-build-tasks/src/jvmMain/kotlin/com/acornui/build/BasicMessageCollector.kt | fuzzyweapon/Acorn | a57100f894721ee342d23fe8cacb3fcbcedbe6dc | [
"Apache-2.0"
] | null | null | null | tools/acornui-build-tasks/src/jvmMain/kotlin/com/acornui/build/BasicMessageCollector.kt | fuzzyweapon/Acorn | a57100f894721ee342d23fe8cacb3fcbcedbe6dc | [
"Apache-2.0"
] | null | null | null | tools/acornui-build-tasks/src/jvmMain/kotlin/com/acornui/build/BasicMessageCollector.kt | fuzzyweapon/Acorn | a57100f894721ee342d23fe8cacb3fcbcedbe6dc | [
"Apache-2.0"
] | 1 | 2019-06-07T16:36:33.000Z | 2019-06-07T16:36:33.000Z | package com.acornui.build
import org.jetbrains.kotlin.cli.common.messages.CompilerMessageLocation
import org.jetbrains.kotlin.cli.common.messages.CompilerMessageSeverity
import org.jetbrains.kotlin.cli.common.messages.MessageCollector
import org.jetbrains.kotlin.cli.common.messages.MessageRenderer
/**
* BasicMessage... | 34.366667 | 110 | 0.790495 |
3c8aab3552e9808936241ccd37730806779f695d | 1,256 | sql | SQL | db.sql | muratyaman/compare-database-structures | d320a60bd861572654372c3d93e090908842eea1 | [
"MIT"
] | 2 | 2017-10-05T22:54:02.000Z | 2018-04-27T09:15:53.000Z | db.sql | muratyaman/compare-database-structures | d320a60bd861572654372c3d93e090908842eea1 | [
"MIT"
] | null | null | null | db.sql | muratyaman/compare-database-structures | d320a60bd861572654372c3d93e090908842eea1 | [
"MIT"
] | null | null | null | CREATE TABLE my_hosts (
id INTEGER PRIMARY KEY,
host_ref TEXT NOT NULL,
last_connected DATETIME
);
CREATE INDEX idx_my_hosts_connected ON my_hosts (last_connected);
CREATE UNIQUE INDEX unq_my_hosts_ref ON my_hosts (host_ref);
CREATE TABLE my_databases (
id INTEGER PRIMARY KE... | 34.888889 | 114 | 0.743631 |
ab9dadb331dc58062aee010cb589b96e52d94737 | 42 | rb | Ruby | app/models/advancement.rb | kosen-robocon-db/kosen-robocon-db | 47b438059639213e0c737dc36cf5b79cb72526a0 | [
"MIT"
] | 2 | 2016-12-10T12:09:33.000Z | 2017-01-09T12:20:44.000Z | app/models/advancement.rb | kosen-robocon-db/kosen-robocon-db | 47b438059639213e0c737dc36cf5b79cb72526a0 | [
"MIT"
] | 84 | 2016-12-08T15:20:12.000Z | 2019-01-08T09:05:13.000Z | app/models/advancement.rb | kosen-robocon-db/kosen-robocon-db | 47b438059639213e0c737dc36cf5b79cb72526a0 | [
"MIT"
] | null | null | null | class Advancement < ApplicationRecord
end
| 14 | 37 | 0.857143 |
56949acc22aff33bb3dd24f326bbc4d841b95b4b | 1,688 | ts | TypeScript | src/main/main.ts | thenewboston-developers/Wallet | 2aa3d75c0031f382edeaed3cae5856123bcb77b6 | [
"MIT"
] | 8 | 2021-09-01T06:05:56.000Z | 2022-01-10T19:20:22.000Z | src/main/main.ts | thenewboston-developers/Wallet | 2aa3d75c0031f382edeaed3cae5856123bcb77b6 | [
"MIT"
] | 9 | 2021-08-22T12:59:46.000Z | 2021-11-01T01:10:35.000Z | src/main/main.ts | thenewboston-developers/Wallet | 2aa3d75c0031f382edeaed3cae5856123bcb77b6 | [
"MIT"
] | 1 | 2021-09-26T07:21:28.000Z | 2021-09-26T07:21:28.000Z | /* eslint global-require: off, no-console: off, @typescript-eslint/no-var-requires: off */
/**
* This module executes inside of electron's main process. You can start
* electron renderer process from here and communicate with the other processes
* through IPC.
*
* When running `npm run build` or `npm run build:ma... | 28.133333 | 90 | 0.675948 |
5f45b82d7cf62b018b640ed4ffc0f41bca711e4a | 294 | ts | TypeScript | src/DirectionEnumType.ts | jean-leonco/graphql-mongo-helpers | bc4a4ead5f7c940d3f99e155096938e922f1a243 | [
"MIT"
] | 67 | 2018-10-01T08:52:45.000Z | 2022-02-16T17:22:35.000Z | src/DirectionEnumType.ts | jean-leonco/graphql-mongo-helpers | bc4a4ead5f7c940d3f99e155096938e922f1a243 | [
"MIT"
] | 180 | 2019-01-17T19:20:02.000Z | 2022-03-18T01:02:05.000Z | src/DirectionEnumType.ts | jean-leonco/graphql-mongo-helpers | bc4a4ead5f7c940d3f99e155096938e922f1a243 | [
"MIT"
] | 8 | 2019-07-03T19:41:53.000Z | 2022-01-17T12:49:48.000Z | import { GraphQLEnumType } from 'graphql';
export const DirectionEnumType = new GraphQLEnumType({
name: 'DirectionEnum',
values: {
ASC: {
value: 1,
},
DESC: {
value: -1,
},
},
});
export const DirectionEnum = `
enum DirectionEnum {
ASC
DESC
}
`;
| 14 | 54 | 0.571429 |
a35f0bb4674f8d9b57373ad32980024a4004d632 | 8,405 | kt | Kotlin | openrndr-ktessellation/src/commonMain/kotlin/Normal.kt | reinvdwoerd/openrndr | 83d7ce4b53b205b54a0cbcae57f60c7a6280d34d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | openrndr-ktessellation/src/commonMain/kotlin/Normal.kt | reinvdwoerd/openrndr | 83d7ce4b53b205b54a0cbcae57f60c7a6280d34d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | openrndr-ktessellation/src/commonMain/kotlin/Normal.kt | reinvdwoerd/openrndr | 83d7ce4b53b205b54a0cbcae57f60c7a6280d34d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | package org.openrndr.ktessellation
import kotlin.math.abs
import kotlin.math.sqrt
internal object Normal {
var SLANTED_SWEEP = false
var S_UNIT_X /* Pre-normalized */ = 0.0
var S_UNIT_Y = 0.0
private const val TRUE_PROJECT = false
private fun Dot(u: DoubleArray, v: DoubleArray): Double {
r... | 33.486056 | 89 | 0.491136 |
b216cae21e8fcc23f6453ee146e2e674b7ef641e | 2,615 | kt | Kotlin | androidApp/src/main/java/com/prof18/moneyflow/features/categories/CategoriesScreen.kt | snijsure/MoneyFlow | 65666f4ffa8758feebd37fd72386eba0c2cfb9fb | [
"Apache-2.0"
] | 1 | 2021-03-18T23:19:27.000Z | 2021-03-18T23:19:27.000Z | androidApp/src/main/java/com/prof18/moneyflow/features/categories/CategoriesScreen.kt | snijsure/MoneyFlow | 65666f4ffa8758feebd37fd72386eba0c2cfb9fb | [
"Apache-2.0"
] | null | null | null | androidApp/src/main/java/com/prof18/moneyflow/features/categories/CategoriesScreen.kt | snijsure/MoneyFlow | 65666f4ffa8758feebd37fd72386eba0c2cfb9fb | [
"Apache-2.0"
] | null | null | null | package com.prof18.moneyflow.features.categories
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.material.Divider
import androidx.compose.material.Scaffold
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import an... | 35.821918 | 100 | 0.531549 |
bbb98f7ad00b31a77bc102036bef510609d27255 | 5,424 | rs | Rust | msgpacker/tests/pack_unpack.rs | codx-dev/msgpacker | b1b7476df8019ba3020be1afc40e801b53668484 | [
"Apache-2.0",
"MIT"
] | null | null | null | msgpacker/tests/pack_unpack.rs | codx-dev/msgpacker | b1b7476df8019ba3020be1afc40e801b53668484 | [
"Apache-2.0",
"MIT"
] | null | null | null | msgpacker/tests/pack_unpack.rs | codx-dev/msgpacker | b1b7476df8019ba3020be1afc40e801b53668484 | [
"Apache-2.0",
"MIT"
] | null | null | null | use msgpacker::prelude::*;
use std::io::{self, Cursor, Seek};
use std::time::Duration;
#[test]
fn pack_unpack() -> io::Result<()> {
let buffer = vec![0u8; 4096];
let mut cursor = Cursor::new(buffer);
let mut cases = vec![
Message::Nil,
Message::Boolean(true),
Message::Boolean(fals... | 43.047619 | 100 | 0.58868 |
b64d1a4de5b749e0d1cb4aadd8564d8fa0a183df | 798 | rb | Ruby | lib/rscons/builders/library.rb | holtrop/rscons | 117df43f649e7a133e47668cd801a27900f2fd39 | [
"MIT"
] | null | null | null | lib/rscons/builders/library.rb | holtrop/rscons | 117df43f649e7a133e47668cd801a27900f2fd39 | [
"MIT"
] | 133 | 2015-01-20T18:52:09.000Z | 2022-03-14T04:34:55.000Z | lib/rscons/builders/library.rb | holtrop/rscons | 117df43f649e7a133e47668cd801a27900f2fd39 | [
"MIT"
] | 3 | 2017-06-04T16:03:11.000Z | 2020-03-03T22:32:08.000Z | module Rscons
module Builders
# A default Rscons builder that produces a static library archive.
class Library < Builder
include Mixins::ObjectDeps
# Create an instance of the Builder to build a target.
def initialize(options)
super(options)
@objects = register_object_deps(... | 26.6 | 115 | 0.615288 |
040e026a7f38e68736f132f11880419c8fda63fb | 3,160 | js | JavaScript | tests/notes.test.js | xo-energy/action-get-or-create-release | f69bec6b109f38b86fa652f4ae2968f4d09a7cbd | [
"0BSD"
] | null | null | null | tests/notes.test.js | xo-energy/action-get-or-create-release | f69bec6b109f38b86fa652f4ae2968f4d09a7cbd | [
"0BSD"
] | 5 | 2020-11-16T20:24:31.000Z | 2021-08-03T20:14:59.000Z | tests/notes.test.js | xo-energy/action-get-or-create-release | f69bec6b109f38b86fa652f4ae2968f4d09a7cbd | [
"0BSD"
] | null | null | null | jest.mock("@actions/github", () => {
return {
context: {
repo: {
owner: "org",
repo: "project",
},
},
};
});
jest.unmock("../src/notes");
const notes = require("../src/notes");
const issue57 = {
action: "Fixes",
slug: undefined,
prefix: "#",
issue: "57",
raw: "fixes #... | 22.898551 | 106 | 0.560127 |
a0e070bdc046ba4043e813b268b5a7aac38668a0 | 240 | swift | Swift | Sources/HeaderTransitionKit/Internal/Protocols/HTStatusBarUpdating.swift | Pomanks/header-transition-kit | 69639f36d673bb7fcfee39bece18055492897594 | [
"MIT"
] | null | null | null | Sources/HeaderTransitionKit/Internal/Protocols/HTStatusBarUpdating.swift | Pomanks/header-transition-kit | 69639f36d673bb7fcfee39bece18055492897594 | [
"MIT"
] | null | null | null | Sources/HeaderTransitionKit/Internal/Protocols/HTStatusBarUpdating.swift | Pomanks/header-transition-kit | 69639f36d673bb7fcfee39bece18055492897594 | [
"MIT"
] | null | null | null | //
// HTStatusBarUpdating.swift
//
//
// Created by Antoine Barré on 3/31/21.
//
import UIKit
protocol HTStatusBarUpdating: UIViewController {
var statusBarStyle: UIStatusBarStyle { get }
var barStyle: UIBarStyle { get set }
}
| 16 | 48 | 0.704167 |
2f32be49a57f26a087b07093e7fafe7d94a93d89 | 545 | php | PHP | components/RecentComments.php | belyash23/internship-blog | f383439e81352aeabbee332d4dc80e9df589c6dd | [
"BSD-3-Clause"
] | null | null | null | components/RecentComments.php | belyash23/internship-blog | f383439e81352aeabbee332d4dc80e9df589c6dd | [
"BSD-3-Clause"
] | null | null | null | components/RecentComments.php | belyash23/internship-blog | f383439e81352aeabbee332d4dc80e9df589c6dd | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace app\components;
use app\models\Comment;
use yii\base\Widget;
class RecentComments extends Widget
{
public $title = 'Recent Comments';
public $maxComments = 10;
public function getRecentComments()
{
return Comment::findRecentComments($this->maxComments);
}
public fu... | 18.166667 | 63 | 0.561468 |
267376348893a7dde0ebf678160ad69f6af9a339 | 1,314 | java | Java | jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/askforleave/rule/AskForLeaveCodeRule.java | Razer1911/e-school | 5522c38521eb5431ac9fa3065761da33288c39f4 | [
"Apache-2.0"
] | 1 | 2021-01-30T14:13:13.000Z | 2021-01-30T14:13:13.000Z | jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/askforleave/rule/AskForLeaveCodeRule.java | Razer1911/e-school | 5522c38521eb5431ac9fa3065761da33288c39f4 | [
"Apache-2.0"
] | 6 | 2020-08-11T15:22:18.000Z | 2022-02-27T03:48:58.000Z | jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/askforleave/rule/AskForLeaveCodeRule.java | Razer1911/e-school | 5522c38521eb5431ac9fa3065761da33288c39f4 | [
"Apache-2.0"
] | null | null | null | package org.jeecg.modules.demo.askforleave.rule;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.text.StrFormatter;
import cn.hutool.core.util.NumberUtil;
import com.alibaba.fastjson.JSONObject;
import org.jeecg.common.handler.IFillRuleHandler;
import org.jeecg.common.util.SpringContextUtils;
import org.spr... | 35.513514 | 141 | 0.744292 |
6684f1fda2ce018ea8695807679057517156f801 | 2,290 | kt | Kotlin | plugins/groovy/src/org/jetbrains/plugins/groovy/console/GroovyConsoleStateService.kt | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 1 | 2019-08-02T21:11:19.000Z | 2019-08-02T21:11:19.000Z | plugins/groovy/src/org/jetbrains/plugins/groovy/console/GroovyConsoleStateService.kt | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | null | null | null | plugins/groovy/src/org/jetbrains/plugins/groovy/console/GroovyConsoleStateService.kt | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 1 | 2019-09-13T08:16:15.000Z | 2019-09-13T08:16:15.000Z | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.groovy.console
import com.intellij.openapi.components.*
import com.intellij.openapi.module.Module
import com.intellij.openapi.module.ModulePointer
i... | 32.253521 | 140 | 0.731878 |
0d1c77507b560a44dffaf295a2343f8cc5ff5e9c | 878 | asm | Assembly | data/pokemon/base_stats/groudon.asm | TastySnax12/pokecrystal16-493-plus | 9de36c8803c9bdf4b8564ed547f988b0b66f0c41 | [
"blessing"
] | 2 | 2021-07-31T07:05:06.000Z | 2021-10-16T03:32:26.000Z | data/pokemon/base_stats/groudon.asm | TastySnax12/pokecrystal16-493-plus | 9de36c8803c9bdf4b8564ed547f988b0b66f0c41 | [
"blessing"
] | null | null | null | data/pokemon/base_stats/groudon.asm | TastySnax12/pokecrystal16-493-plus | 9de36c8803c9bdf4b8564ed547f988b0b66f0c41 | [
"blessing"
] | 3 | 2021-01-15T18:45:40.000Z | 2021-10-16T03:35:27.000Z | db 0 ; species ID placeholder
db 100, 150, 140, 90, 100, 90
; hp atk def spd sat sdf
db GROUND, GROUND ; type
db 5 ; catch rate
db 218 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_UNKNOWN ; gender ratio
db 100 ; unknown 1
db 120 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/grou... | 39.909091 | 418 | 0.738041 |
87619598ba75608b5048515d67a821aa08934721 | 59 | asm | Assembly | audio/sfx/snare8_2.asm | etdv-thevoid/pokemon-rgb-enhanced | 5b244c1cf46aab98b9c820d1b7888814eb7fa53f | [
"MIT"
] | 1 | 2022-01-09T05:28:52.000Z | 2022-01-09T05:28:52.000Z | audio/sfx/snare8_2.asm | ETDV-TheVoid/pokemon-rgb-enhanced | 5b244c1cf46aab98b9c820d1b7888814eb7fa53f | [
"MIT"
] | null | null | null | audio/sfx/snare8_2.asm | ETDV-TheVoid/pokemon-rgb-enhanced | 5b244c1cf46aab98b9c820d1b7888814eb7fa53f | [
"MIT"
] | null | null | null | SFX_Snare8_2_Ch7:
unknownnoise0x20 0, 130, 37
endchannel
| 14.75 | 28 | 0.813559 |
3eacaa1b75f48b9611c8a2b86cd5595b4c7049fb | 212 | swift | Swift | ShipTests/Mocks/DependencyMock.swift | taoshotaro/Ship | 62f13a017df17ec5c098d5ca5d483df740f8cab0 | [
"MIT"
] | 29 | 2019-04-24T08:16:41.000Z | 2021-02-16T11:02:52.000Z | ShipTests/Mocks/DependencyMock.swift | taoshotaro/Ship | 62f13a017df17ec5c098d5ca5d483df740f8cab0 | [
"MIT"
] | 2 | 2019-05-13T05:12:44.000Z | 2021-02-17T01:05:32.000Z | ShipTests/Mocks/DependencyMock.swift | taoshotaro/Ship | 62f13a017df17ec5c098d5ca5d483df740f8cab0 | [
"MIT"
] | 3 | 2019-10-06T02:17:55.000Z | 2021-02-16T09:40:22.000Z | import Ship
import Foundation
final class DependencyMock: Dependency {
var baseURL = URL(string: "http://test.test")!
func buildBaseURL<R: Request>(_ request: R) -> URL {
return baseURL
}
}
| 19.272727 | 56 | 0.660377 |