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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
85560ab7a3bab86dbff7c83de896fd90f477c6d2 | 242 | js | JavaScript | node_modules/detective/test/yield.js | justinsunho/react-p5-wrapper-2 | ee88e3ffaca20fa0a019fee657fcafcf51aa850b | [
"MIT"
] | 20,505 | 2015-01-01T02:58:22.000Z | 2022-03-31T10:23:13.000Z | node_modules/detective/test/yield.js | justinsunho/react-p5-wrapper-2 | ee88e3ffaca20fa0a019fee657fcafcf51aa850b | [
"MIT"
] | 912 | 2015-01-02T19:13:11.000Z | 2022-03-30T12:23:42.000Z | node_modules/detective/test/yield.js | justinsunho/react-p5-wrapper-2 | ee88e3ffaca20fa0a019fee657fcafcf51aa850b | [
"MIT"
] | 14,165 | 2015-01-01T13:17:19.000Z | 2022-03-31T00:44:00.000Z | var test = require('tap').test;
var detective = require('../');
var fs = require('fs');
var src = fs.readFileSync(__dirname + '/files/yield.js');
test('yield', function (t) {
t.plan(1);
t.deepEqual(detective(src), [ 'a', 'c' ]);
});
| 24.2 | 57 | 0.590909 |
20911f9e804397151711c1cb1e0f4fc282f4d28e | 1,767 | kt | Kotlin | example/android/src/main/java/com/splendo/kaluga/example/keyboard/KeyboardManagerActivity.kt | OutOfInception/kaluga | 88bfb62da8851157e6ff9ad626d77360464fd60c | [
"Apache-2.0"
] | null | null | null | example/android/src/main/java/com/splendo/kaluga/example/keyboard/KeyboardManagerActivity.kt | OutOfInception/kaluga | 88bfb62da8851157e6ff9ad626d77360464fd60c | [
"Apache-2.0"
] | 17 | 2019-09-03T14:13:28.000Z | 2019-09-30T13:08:22.000Z | example/android/src/main/java/com/splendo/kaluga/example/keyboard/KeyboardManagerActivity.kt | OutOfInception/kaluga | 88bfb62da8851157e6ff9ad626d77360464fd60c | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2019 Splendo Consulting B.V. The Netherlands
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... | 37.595745 | 112 | 0.780985 |
d27c19bd581d8608a55f79d87e50d0caf9477d38 | 890 | php | PHP | cuisine.php | unvercanunlu/izmir-website | bd99beb3f5ece121b17875a4940ad4270b1f7c53 | [
"MIT"
] | null | null | null | cuisine.php | unvercanunlu/izmir-website | bd99beb3f5ece121b17875a4940ad4270b1f7c53 | [
"MIT"
] | null | null | null | cuisine.php | unvercanunlu/izmir-website | bd99beb3f5ece121b17875a4940ad4270b1f7c53 | [
"MIT"
] | null | null | null | <h2 id="sectionTitle">Cuisine</h2>
<p id="sectionContent">Izmir's cuisine has largely been affected by its multicultural history. Therefore, the large
variety of food originating from the Aegean and Mediterranean regions. Population movement from Eastern and South
East Anatolia regions has enriched the loc... | 31.785714 | 120 | 0.669663 |
7b9b7a7fabfb5a63094f5ba5257f4155541d5b48 | 780 | kt | Kotlin | app/src/main/java/ru/cherryperry/instavideo/data/media/conversion/VideoConverter.kt | CherryPerry/video-crop | d09c0eb9f6c4423178939f9047fcc355a8675765 | [
"WTFPL"
] | 45 | 2018-11-21T10:16:40.000Z | 2022-03-30T09:35:38.000Z | app/src/main/java/ru/cherryperry/instavideo/data/media/conversion/VideoConverter.kt | CherryPerry/video-crop | d09c0eb9f6c4423178939f9047fcc355a8675765 | [
"WTFPL"
] | 6 | 2019-01-17T11:02:45.000Z | 2020-03-02T22:00:22.000Z | app/src/main/java/ru/cherryperry/instavideo/data/media/conversion/VideoConverter.kt | CherryPerry/video-crop | d09c0eb9f6c4423178939f9047fcc355a8675765 | [
"WTFPL"
] | 7 | 2019-03-22T16:52:03.000Z | 2020-08-09T10:18:48.000Z | package ru.cherryperry.instavideo.data.media.conversion
import android.graphics.RectF
import androidx.annotation.FloatRange
import java.io.Closeable
/**
* Converter from one video file to another.
* Should be provided as [javax.inject.Provider] in non-closable classes to close it correctly.
*/
interface VideoConve... | 26.896552 | 95 | 0.684615 |
ddc0c25a5b249e75bcb4bc733108ca8fb729b9d1 | 4,002 | php | PHP | page-testimonials.php | creativeautomaton/asrealty | dd97c88009914bfaac5b8fe40160c058b2b3c1fa | [
"MIT"
] | null | null | null | page-testimonials.php | creativeautomaton/asrealty | dd97c88009914bfaac5b8fe40160c058b2b3c1fa | [
"MIT"
] | null | null | null | page-testimonials.php | creativeautomaton/asrealty | dd97c88009914bfaac5b8fe40160c058b2b3c1fa | [
"MIT"
] | null | null | null | <?php
/* Template Name: Testimonials Template */
/**
* The front page template file
*
* If the user has selected a static page for their homepage, this is what will
* appear.
* Learn more: https://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Twenty_Seventeen
* @since 1.0
* @ver... | 34.5 | 195 | 0.548226 |
16739e9fb2bfdbc580b6b5adbb370d0bc8e8c662 | 4,174 | swift | Swift | Mr-Ride/Mr-Ride/Controller/MapViewController.swift | howardhsien/Mr-Ride-iOS | 76c72090ea10829d6b3bb9a84672888a5e65e88f | [
"MIT"
] | 3 | 2016-06-29T10:01:30.000Z | 2016-06-30T02:26:06.000Z | Mr-Ride/Mr-Ride/Controller/MapViewController.swift | howardhsien/Mr-Ride-iOS | 76c72090ea10829d6b3bb9a84672888a5e65e88f | [
"MIT"
] | null | null | null | Mr-Ride/Mr-Ride/Controller/MapViewController.swift | howardhsien/Mr-Ride-iOS | 76c72090ea10829d6b3bb9a84672888a5e65e88f | [
"MIT"
] | null | null | null | //
// MapViewController.swift
// Mr-Ride
//
// Created by howard hsien on 2016/5/31.
// Copyright © 2016年 AppWorks School Hsien. All rights reserved.
//
import UIKit
import MapKit
class MapViewController: UIViewController, MKMapViewDelegate {
@IBOutlet weak var mapView: MKMapView!
var regionBoundingRect :... | 33.934959 | 124 | 0.658361 |
746d672dcc8e250d231a2335a3a668a3eb219e0b | 629 | h | C | src/comm/crc32.h | chengyongyuan/yanetlib | 5bfda7a04ddbc922998c9067c2f26939bf052d8e | [
"MIT"
] | 1 | 2019-07-29T09:26:12.000Z | 2019-07-29T09:26:12.000Z | src/comm/crc32.h | chengyongyuan/yanetlib | 5bfda7a04ddbc922998c9067c2f26939bf052d8e | [
"MIT"
] | null | null | null | src/comm/crc32.h | chengyongyuan/yanetlib | 5bfda7a04ddbc922998c9067c2f26939bf052d8e | [
"MIT"
] | null | null | null | #ifndef YANETLIB_COMM_CRC32_H
#define YANETLIB_COMM_CRC32_
#include <stdint.h>
namespace yanetlib {
namespace comm {
//open source code from:
//http://www.opensource.apple.com/source/xnu/xnu-1456.1.26/bsd/libkern/crc32.c
//This is code is beautiful, so I dont want put it in a C++ class wrapper...
//NOTE: CRC32 have... | 27.347826 | 78 | 0.748808 |
fb8ef83325d631383360c1adf5cff235fb28d90c | 2,710 | c | C | src/pal/tests/palsuite/threading/SwitchToThread/test1/test1.c | CyberSys/coreclr-mono | 83b2cb83b32faa45b4f790237b5c5e259692294a | [
"MIT"
] | 277 | 2015-01-04T20:42:36.000Z | 2022-03-21T06:52:03.000Z | src/pal/tests/palsuite/threading/SwitchToThread/test1/test1.c | CyberSys/coreclr-mono | 83b2cb83b32faa45b4f790237b5c5e259692294a | [
"MIT"
] | 31 | 2015-01-05T08:00:38.000Z | 2016-01-05T01:18:59.000Z | src/pal/tests/palsuite/threading/SwitchToThread/test1/test1.c | CyberSys/coreclr-mono | 83b2cb83b32faa45b4f790237b5c5e259692294a | [
"MIT"
] | 46 | 2015-01-21T00:41:59.000Z | 2021-03-23T07:00:01.000Z | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/*=============================================================================
**
** Source: test1.c
**
** Purpose: Test to ensure SwitchToThread works, without... | 27.373737 | 146 | 0.482657 |
c7fc4d2fa9a915523d0b095d86cf483aa3ce830e | 6,321 | java | Java | commcare/src/test/java/org/motechproject/commcare/util/ResponseXML.java | piopawel/modules | c4a38304d1483bc701cc8617b08f47c94089bd53 | [
"BSD-3-Clause"
] | 1 | 2018-07-14T20:38:19.000Z | 2018-07-14T20:38:19.000Z | commcare/src/test/java/org/motechproject/commcare/util/ResponseXML.java | mkwiatkowskisoldevelo/modules | a07b903c8aa774caf29b5bcf6889681baff83f7b | [
"BSD-3-Clause"
] | null | null | null | commcare/src/test/java/org/motechproject/commcare/util/ResponseXML.java | mkwiatkowskisoldevelo/modules | a07b903c8aa774caf29b5bcf6889681baff83f7b | [
"BSD-3-Clause"
] | null | null | null | package org.motechproject.commcare.util;
public final class ResponseXML {
public static final String FORM_NAME = "form1";
public static final String CASE_TYPE = "pregnancy";
public static final String ATTR1 = "pregnant";
public static final String ATTR1_VALUE = "true";
public static final String... | 54.025641 | 198 | 0.4947 |
4d44bf9f2fe61911dac0d509d464ecc0cf84e7ca | 2,214 | kt | Kotlin | src/main/kotlin/io/georocket/ogcapifeatures/OgcApiFeaturesEndpoint.kt | georocket/georocket | 68f7d6f69381b4cb38fee9669976a2688453beec | [
"Apache-2.0"
] | 65 | 2016-06-14T07:15:33.000Z | 2022-01-11T09:30:13.000Z | src/main/kotlin/io/georocket/ogcapifeatures/OgcApiFeaturesEndpoint.kt | georocket/georocket | 68f7d6f69381b4cb38fee9669976a2688453beec | [
"Apache-2.0"
] | 149 | 2016-05-23T13:37:33.000Z | 2022-03-31T19:48:12.000Z | src/main/kotlin/io/georocket/ogcapifeatures/OgcApiFeaturesEndpoint.kt | georocket/georocket | 68f7d6f69381b4cb38fee9669976a2688453beec | [
"Apache-2.0"
] | 30 | 2016-05-09T15:35:28.000Z | 2022-01-27T09:50:54.000Z | package io.georocket.ogcapifeatures
import io.georocket.http.Endpoint
import io.georocket.util.PathUtils
import io.vertx.core.Vertx
import io.vertx.ext.web.Router
import io.vertx.ext.web.RoutingContext
import io.vertx.kotlin.core.json.jsonArrayOf
import io.vertx.kotlin.core.json.jsonObjectOf
import kotlinx.coroutines.... | 29.52 | 77 | 0.669828 |
15b1bd569f5f103bf58c3e319ea2f77c1372ccb0 | 2,783 | kt | Kotlin | lib/src/main/kotlin/com/amarland/iconvector/lib/Utils.kt | amarland/iconvector | e05c63280dc922ce6bd3ea961c53ce1f9a415213 | [
"Apache-2.0"
] | null | null | null | lib/src/main/kotlin/com/amarland/iconvector/lib/Utils.kt | amarland/iconvector | e05c63280dc922ce6bd3ea961c53ce1f9a415213 | [
"Apache-2.0"
] | null | null | null | lib/src/main/kotlin/com/amarland/iconvector/lib/Utils.kt | amarland/iconvector | e05c63280dc922ce6bd3ea961c53ce1f9a415213 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2021 Anthony Marland
*
* 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 agree... | 34.7875 | 94 | 0.588933 |
3ba23347ab2b079e637a4669e4e7f4207f079c1d | 2,145 | c | C | tilemaps/alphabet.c | Sedictious/Cyphermind | e5213b0091983dc1497295fa0c87a78737309c85 | [
"MIT"
] | null | null | null | tilemaps/alphabet.c | Sedictious/Cyphermind | e5213b0091983dc1497295fa0c87a78737309c85 | [
"MIT"
] | null | null | null | tilemaps/alphabet.c | Sedictious/Cyphermind | e5213b0091983dc1497295fa0c87a78737309c85 | [
"MIT"
] | null | null | null | /*
ALPHABET.C
Tile Source File.
Info:
Form : All tiles as one unit.
Format : Gameboy 4 color.
Compression : None.
Counter : None.
Tile size : 8 x 8
Tiles : 0 to 18
Palette colors : None.
SGB Palette : Non... | 31.086957 | 47 | 0.687179 |
cb1eb9649d94792ce0313c59d636a51baf4ff2f0 | 824 | go | Go | adapters/pharmacy_adapter.go | jake-hansen/hyvee-vaccine-tracker | d9f9d5ce10b43698f286e14e21393ec4153dad87 | [
"MIT"
] | 1 | 2021-04-09T00:33:48.000Z | 2021-04-09T00:33:48.000Z | adapters/pharmacy_adapter.go | jake-hansen/hyvee-vaccine-tracker | d9f9d5ce10b43698f286e14e21393ec4153dad87 | [
"MIT"
] | 1 | 2021-04-09T05:17:25.000Z | 2021-04-09T05:17:25.000Z | adapters/pharmacy_adapter.go | jake-hansen/hyvee-vaccine-tracker | d9f9d5ce10b43698f286e14e21393ec4153dad87 | [
"MIT"
] | null | null | null | package adapters
import (
"github.com/jake-hansen/hyvee-vaccine-search/api"
"github.com/jake-hansen/hyvee-vaccine-search/domain"
"strconv"
)
func HyVeePharmacyToDomainPharmacy(pharmacy api.Pharmacy) domain.Pharmacy {
dPharmacy := domain.Pharmacy{
Name: pharmacy.Location.Nickname,
Address: ... | 26.580645 | 80 | 0.737864 |
38c804c900fb9b755e95cc2af3264b732578692c | 1,442 | h | C | KRender/Internal/Scene/KOctreeSceneManager.h | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | 13 | 2019-10-19T17:41:19.000Z | 2021-11-04T18:50:03.000Z | KRender/Internal/Scene/KOctreeSceneManager.h | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | 3 | 2019-12-09T06:22:43.000Z | 2020-05-28T09:33:44.000Z | KRender/Internal/Scene/KOctreeSceneManager.h | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | null | null | null | #pragma once
#include "KBase/Publish/KConfig.h"
#include "KOctreeNode.h"
#include "KSceneManagerBase.h"
class KOctreeSceneManager : public KSceneManagerBase
{
protected:
// Root node of the octree
KOctreeNode* m_Root;
// Should be a value between 1 and 2. A multiplier for the base size of a node.
// 1.0 is a "norm... | 37.947368 | 108 | 0.777393 |
453197895e7eca468113a36ad70cd45be6225598 | 503 | kt | Kotlin | app/src/main/java/com/ijays/koinsample/MainContract.kt | ijays7/KoinSample | 7db52dca32820e14e2c9bd5ea6b2e62a6c5daa65 | [
"MIT"
] | null | null | null | app/src/main/java/com/ijays/koinsample/MainContract.kt | ijays7/KoinSample | 7db52dca32820e14e2c9bd5ea6b2e62a6c5daa65 | [
"MIT"
] | null | null | null | app/src/main/java/com/ijays/koinsample/MainContract.kt | ijays7/KoinSample | 7db52dca32820e14e2c9bd5ea6b2e62a6c5daa65 | [
"MIT"
] | null | null | null | package com.ijays.koinsample
/**
* Created by ijays on 2020/1/29.
*/
interface MainContract {
interface View {
/**
* 显示存入 DB 中的数据
*/
fun displayDBList(list: MutableList<String>)
/**
* 读取 DB 错误
*/
fun queryDBError(str: String)
}
inter... | 15.71875 | 52 | 0.455268 |
6b7f7ac6bf703357d9841a51830db3992b299916 | 4,600 | h | C | build/msvc9/data/draggerDefaults/scale2UniformDragger.h | montylab3d/coin | 46dec7c01e553815dc6903475116444a1a6e78f5 | [
"BSD-3-Clause"
] | 158 | 2019-12-27T16:39:35.000Z | 2022-03-28T19:04:39.000Z | build/msvc9/data/draggerDefaults/scale2UniformDragger.h | jfb3615/coin | 071069d61fb06e823cad99a65e258221ae50bac9 | [
"BSD-3-Clause"
] | 261 | 2019-12-23T19:23:28.000Z | 2022-03-23T10:11:01.000Z | build/msvc9/data/draggerDefaults/scale2UniformDragger.h | jfb3615/coin | 071069d61fb06e823cad99a65e258221ae50bac9 | [
"BSD-3-Clause"
] | 63 | 2019-12-27T21:18:29.000Z | 2022-03-16T02:11:16.000Z | /**************************************************************************\
* Copyright (c) Kongsberg Oil & Gas Technologies AS
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* Red... | 38.655462 | 106 | 0.651087 |
64a61e9b942169af242617855320846e0ba542ef | 1,237 | rs | Rust | cooperative/src/dijkstra/model.rs | nils-we97/rust_road_router-fork | ca887f2dceb6d7081787e7a1c74d3991264aa637 | [
"BSD-3-Clause"
] | null | null | null | cooperative/src/dijkstra/model.rs | nils-we97/rust_road_router-fork | ca887f2dceb6d7081787e7a1c74d3991264aa637 | [
"BSD-3-Clause"
] | null | null | null | cooperative/src/dijkstra/model.rs | nils-we97/rust_road_router-fork | ca887f2dceb6d7081787e7a1c74d3991264aa637 | [
"BSD-3-Clause"
] | null | null | null | use rust_road_router::datastr::graph::time_dependent::Timestamp;
use rust_road_router::datastr::graph::{EdgeId, NodeId, Weight};
use std::time::Duration;
#[derive(Clone, Debug)]
pub struct CapacityQueryResult {
pub distance: Weight,
pub path: PathResult,
}
impl CapacityQueryResult {
pub fn new(distance: W... | 24.254902 | 99 | 0.675829 |
2a26619ad8a76141702d8a81d01a6de2b6037544 | 4,315 | html | HTML | java/tutorials-tutorial-www-gailer-net.de/tutorials/java/Notes/chap53B/ch53B_18.html | rasmusdvz/lba | 047e263db970a7a0cf9b3bda858d75cc47d3f456 | [
"MIT"
] | null | null | null | java/tutorials-tutorial-www-gailer-net.de/tutorials/java/Notes/chap53B/ch53B_18.html | rasmusdvz/lba | 047e263db970a7a0cf9b3bda858d75cc47d3f456 | [
"MIT"
] | null | null | null | java/tutorials-tutorial-www-gailer-net.de/tutorials/java/Notes/chap53B/ch53B_18.html | rasmusdvz/lba | 047e263db970a7a0cf9b3bda858d75cc47d3f456 | [
"MIT"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<meta name="author" content="kjell at ieee dot org ">
<meta name="copyright" content="2010">
<meta name="germantranslation" conte... | 29.758621 | 103 | 0.65562 |
c178cfc2d7ceba270732aaacf6a805fcb9d8f54b | 333 | rs | Rust | gifski-api/src/error.rs | rjlafazan/Gifski | 171422dc7332333a4051d318a614174a8d76259a | [
"MIT"
] | 4 | 2019-10-31T12:39:27.000Z | 2019-10-31T16:45:42.000Z | gifski-api/src/error.rs | sb15utah/Gifski | 0ec0224e6eddcaa2a6fac2d270ed50b709dbad14 | [
"MIT"
] | null | null | null | gifski-api/src/error.rs | sb15utah/Gifski | 0ec0224e6eddcaa2a6fac2d270ed50b709dbad14 | [
"MIT"
] | null | null | null | #![allow(deprecated)]
use std::io;
use imagequant;
use gif_dispose;
error_chain! {
types {
Error, ErrorKind, ResultExt, CatResult;
}
errors {
ThreadSend {}
Aborted {}
}
foreign_links {
Io(io::Error);
Quant(imagequant::liq_error);
Pal(gif_dispose::Err... | 15.857143 | 47 | 0.558559 |
8b3a210b3f3d0419212b30e76d6284a67666cab9 | 29,216 | swift | Swift | Pod/Classes/Font.swift | abeyuya/GoogleMaterialIconFont | 47e37026e471167de959fa95a4560d2939380c1d | [
"MIT"
] | null | null | null | Pod/Classes/Font.swift | abeyuya/GoogleMaterialIconFont | 47e37026e471167de959fa95a4560d2939380c1d | [
"MIT"
] | null | null | null | Pod/Classes/Font.swift | abeyuya/GoogleMaterialIconFont | 47e37026e471167de959fa95a4560d2939380c1d | [
"MIT"
] | null | null | null | //
// THIS FILE IS GENERATED, DO NOT MODIFY BY HAND
//
// Use generate.rb to generate when codepoints.txt is updated
//
// Generated on 2016-01-24 19:17:28 +0100
//
@objc public enum MaterialIconFont: Int {
case ThreeDRotation
case AcUnit
case AccessAlarm
case AccessAlarms
case AccessTime
case ... | 32.176211 | 10,698 | 0.600288 |
a555611bc3e935577c00ca7ffab85795ec2661a1 | 290 | kt | Kotlin | app/src/main/java/dev/farouk/takara/data/model/Event.kt | sabiou/Takara | 33fcdf8968ba3875fd1ac10f3edff543c21096e1 | [
"MIT"
] | 3 | 2021-02-06T08:42:22.000Z | 2021-11-15T13:51:07.000Z | app/src/main/java/dev/farouk/takara/data/model/Event.kt | sabiou/Takara | 33fcdf8968ba3875fd1ac10f3edff543c21096e1 | [
"MIT"
] | 9 | 2020-12-25T00:55:11.000Z | 2022-03-28T23:55:01.000Z | app/src/main/java/dev/farouk/takara/data/model/Event.kt | sabiou/Takara | 33fcdf8968ba3875fd1ac10f3edff543c21096e1 | [
"MIT"
] | 1 | 2021-03-01T15:52:35.000Z | 2021-03-01T15:52:35.000Z | package dev.farouk.takara.data.model
import androidx.room.Entity
import androidx.room.PrimaryKey
/**
* Created by Farouk on 20/12/2020.
*/
@Entity(tableName = "events")
data class Event(
@PrimaryKey(autoGenerate = true)
val id: Int,
val date: String,
val title: String
) | 19.333333 | 36 | 0.703448 |
75db86daae336d7d8ddb10ce896efcb8a0639dd2 | 4,356 | php | PHP | apps/moodle/moodledata/lang/de/block_demostudent.php | Light2027/OnlineCampusSandbox | 8dcaaf62af1342470f9e7be6d42bd0f16eb910b8 | [
"Apache-2.0"
] | null | null | null | apps/moodle/moodledata/lang/de/block_demostudent.php | Light2027/OnlineCampusSandbox | 8dcaaf62af1342470f9e7be6d42bd0f16eb910b8 | [
"Apache-2.0"
] | null | null | null | apps/moodle/moodledata/lang/de/block_demostudent.php | Light2027/OnlineCampusSandbox | 8dcaaf62af1342470f9e7be6d42bd0f16eb910b8 | [
"Apache-2.0"
] | null | null | null | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle... | 66 | 232 | 0.753214 |
c31ccb3e8d88caca4f62a9c0287b13d9e4f8824e | 320 | rs | Rust | velcro/examples/fibonacci.rs | peterjoel/velcro | be583ad043b49ffe80493d6c24567db9050c93ed | [
"MIT"
] | 48 | 2020-11-25T16:21:01.000Z | 2022-03-18T10:40:01.000Z | velcro/examples/fibonacci.rs | peterjoel/velcro | be583ad043b49ffe80493d6c24567db9050c93ed | [
"MIT"
] | 12 | 2020-12-09T10:59:11.000Z | 2021-01-15T20:51:44.000Z | velcro/examples/fibonacci.rs | peterjoel/velcro | be583ad043b49ffe80493d6c24567db9050c93ed | [
"MIT"
] | 2 | 2020-12-10T21:15:26.000Z | 2020-12-19T03:28:05.000Z | use velcro::vec;
// A (very!) inefficient implementation of Fibonacci sequence
fn fib(a: u64, b: u64, len: usize) -> Vec<u64> {
if len == 0 {
vec![]
} else {
vec![a, ..fib(b, a + b, len - 1)]
}
}
fn main() {
let fibs = fib(1, 1, 7);
assert_eq!(fibs, vec![1, 1, 2, 3, 5, 8, 13]);
}
| 18.823529 | 61 | 0.49375 |
8588ad3fb52fe92ae1e82e6a5e5390afc41987b0 | 3,088 | js | JavaScript | rollup.config.js | icesjs/theme | cac4488165bc1379d26d948cc8b448d6ef03c53c | [
"MIT"
] | null | null | null | rollup.config.js | icesjs/theme | cac4488165bc1379d26d948cc8b448d6ef03c53c | [
"MIT"
] | null | null | null | rollup.config.js | icesjs/theme | cac4488165bc1379d26d948cc8b448d6ef03c53c | [
"MIT"
] | null | null | null | import * as path from 'path'
import * as fs from 'fs'
import cp from 'child_process'
import typescript from '@rollup/plugin-typescript'
import externals from 'rollup-plugin-node-externals'
import pkg from './package.json'
const isEnvDevelopment = process.env.NODE_ENV === 'development'
const input = 'src/index.ts'
cons... | 23.393939 | 99 | 0.591321 |
579e73259cdf2916a04b2a871cbbbbd1330df700 | 4,149 | c | C | rina-stack/kernel/rds/robjects.c | kr1stj0n/pep-dna | 17136ca8c16238423bf1ca1ab4302d51d2fc8e57 | [
"RSA-MD",
"Linux-OpenIB",
"FTL",
"TCP-wrappers",
"CECILL-B"
] | 3 | 2021-11-12T13:01:51.000Z | 2022-02-19T09:06:23.000Z | rina-stack/kernel/rds/robjects.c | kr1stj0n/pep-dna | 17136ca8c16238423bf1ca1ab4302d51d2fc8e57 | [
"RSA-MD",
"Linux-OpenIB",
"FTL",
"TCP-wrappers",
"CECILL-B"
] | null | null | null | rina-stack/kernel/rds/robjects.c | kr1stj0n/pep-dna | 17136ca8c16238423bf1ca1ab4302d51d2fc8e57 | [
"RSA-MD",
"Linux-OpenIB",
"FTL",
"TCP-wrappers",
"CECILL-B"
] | null | null | null | /*
* Robjects and sysfs utils
*
* Robjects wrap those kobjects API that are interesting for IRATI.
* sysfs utils set of macros speed up the creation and assigment of ktyes,
* attributes and so on to the kobjects.
*
* Leonardo Bergesio <leonardo.bergesio@i2cat.net>
*
* This program is free software; you can ... | 28.22449 | 79 | 0.728609 |
84f1dee26d15936d8271fee287b8af4e41cae9b5 | 32,633 | c | C | unit_test/test_core.c | highmobility/hmkit-core | 4107846cc45855188d80da4bb6ef09abec78441a | [
"MIT"
] | 2 | 2020-01-22T08:13:12.000Z | 2020-06-09T14:59:31.000Z | unit_test/test_core.c | highmobility/hmkit-core | 4107846cc45855188d80da4bb6ef09abec78441a | [
"MIT"
] | null | null | null | unit_test/test_core.c | highmobility/hmkit-core | 4107846cc45855188d80da4bb6ef09abec78441a | [
"MIT"
] | 1 | 2020-01-20T05:24:46.000Z | 2020-01-20T05:24:46.000Z | //
// Created by Maidu Ule on 05/10/2017.
//
#include "test_core.h"
#define TEST_NO_MAIN
#include "acutest.h"
#include "hmkit_core.h"
#include "test_common_vars.h"
#include "hmkit_core_log.h"
//Connectivity hal
extern uint8_t unit_test_character;
extern uint8_t unit_test_mac[6];
extern uint64_t unit_test_context;
e... | 53.584565 | 167 | 0.833757 |
a9cd70856260a447376ce1c53692c7ef64c5be57 | 79,581 | html | HTML | index.html | streamball/bootstrap-responsive-web-application-template | 90c33fe0ffc139c6416d60dbaae9e5190c3ddb6e | [
"Apache-2.0"
] | 10 | 2020-04-14T22:09:58.000Z | 2022-02-15T07:06:52.000Z | index.html | streamball/bootstrap-responsive-web-application-template | 90c33fe0ffc139c6416d60dbaae9e5190c3ddb6e | [
"Apache-2.0"
] | null | null | null | index.html | streamball/bootstrap-responsive-web-application-template | 90c33fe0ffc139c6416d60dbaae9e5190c3ddb6e | [
"Apache-2.0"
] | 9 | 2020-10-02T02:31:42.000Z | 2022-01-10T20:43:18.000Z | <!DOCTYPE html>
<!------------------------------------------------------------------
* Bootstrap Responsive Web Application Template
* Email: heyalexluna@gmail.com
* Version: 1.1
* Last change: 2020-03-02
* Author: Alexis Luna
* Copyright 2019 Alexis Luna
* Website: https://github.com/mralexisluna/bootstrap-res... | 67.38442 | 228 | 0.241314 |
773784a2e350a8126327542da589f194c5b37c0f | 1,833 | kt | Kotlin | remote/src/main/kotlin/io/github/gmvalentino8/github/sample/remote/models/EnterpriseApiModel.kt | gmvalentino8/github-sample | 81bc30956ccd533ab33c8ea8e4b614dfd1c79362 | [
"Apache-2.0"
] | null | null | null | remote/src/main/kotlin/io/github/gmvalentino8/github/sample/remote/models/EnterpriseApiModel.kt | gmvalentino8/github-sample | 81bc30956ccd533ab33c8ea8e4b614dfd1c79362 | [
"Apache-2.0"
] | 205 | 2022-02-22T15:58:59.000Z | 2022-03-02T04:57:26.000Z | remote/src/main/kotlin/io/github/gmvalentino8/github/sample/remote/models/EnterpriseApiModel.kt | gmvalentino8/github-sample-project | 2194a2504bde08427ad461d92586497c7187fb40 | [
"Apache-2.0"
] | null | null | null | /**
* GitHub v3 REST API
*
* GitHub's v3 REST API.
*
* The version of the OpenAPI document: 1.1.4
*
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"R... | 26.185714 | 86 | 0.67976 |
c437fb739fa2ec1eeb14b4e76c652e1bfbfd8d34 | 790 | swift | Swift | CollectionShowcase/CollectionShowcase/ViewController.swift | dedeexe/SImpleVerticalMenu | b360d30092daf8929501f385168981923fd3a578 | [
"MIT"
] | null | null | null | CollectionShowcase/CollectionShowcase/ViewController.swift | dedeexe/SImpleVerticalMenu | b360d30092daf8929501f385168981923fd3a578 | [
"MIT"
] | null | null | null | CollectionShowcase/CollectionShowcase/ViewController.swift | dedeexe/SImpleVerticalMenu | b360d30092daf8929501f385168981923fd3a578 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// CollectionShowcase
//
// Created by dede.exe on 13/02/19.
// Copyright © 2019 dede.exe. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var menuCollection : MenuCollectionView!
let items : [String] = ["Item 1", "Item 2", ... | 24.6875 | 139 | 0.651899 |
c3eba42495c476bf2fab8d64d5473e3e30660fc4 | 1,038 | rs | Rust | src/lib.rs | wvwwvwwv/scalable-concurrent-containers | 3e7a3357cacbc5ee1540369d4ec42d4385e841b2 | [
"Apache-2.0"
] | 26 | 2021-02-21T20:44:55.000Z | 2022-03-18T16:26:27.000Z | src/lib.rs | wvwwvwwv/scalable-concurrent-containers | 3e7a3357cacbc5ee1540369d4ec42d4385e841b2 | [
"Apache-2.0"
] | 43 | 2021-02-04T13:27:02.000Z | 2022-03-05T07:29:22.000Z | src/lib.rs | wvwwvwwv/scalable-concurrent-containers | 3e7a3357cacbc5ee1540369d4ec42d4385e841b2 | [
"Apache-2.0"
] | 2 | 2021-02-25T09:54:53.000Z | 2021-11-05T03:53:29.000Z | #![deny(missing_docs, warnings, clippy::all, clippy::pedantic)]
//! Scalable concurrent containers.
//!
//! # [`EBR`](ebr)
//!
//! The [`ebr`] module implements epoch-based reclamation for [`LinkedList`], [`HashMap`],
//! [`HashIndex`], and [`TreeIndex`].
//!
//! # [`LinkedList`]
//! [`LinkedList`] is a type trait tha... | 23.590909 | 93 | 0.689788 |
32dec545de11f6d56bde4fefa0124203b39903c5 | 503 | swift | Swift | Sources/switchblade/Core/protocols/SwitchbladeInterface.swift | sharksync/switchblade | 9bb8b2005bde3bb470b721c58aa966bc9f1e2615 | [
"MIT"
] | 2 | 2019-12-24T03:51:34.000Z | 2020-02-09T10:08:10.000Z | Sources/switchblade/Core/protocols/SwitchbladeInterface.swift | sharksync/switchblade | 9bb8b2005bde3bb470b721c58aa966bc9f1e2615 | [
"MIT"
] | null | null | null | Sources/switchblade/Core/protocols/SwitchbladeInterface.swift | sharksync/switchblade | 9bb8b2005bde3bb470b721c58aa966bc9f1e2615 | [
"MIT"
] | null | null | null | //
// SwitchbladeInterface.swift
// Switchblade
//
// Created by Adrian Herridge on 21/09/2020.
//
import Foundation
public protocol SwitchbladeInterface {
init(provider: DataProvider, configuration: SwitchbladeConfig?) throws
init(provider: DataProvider, configuration: SwitchbladeConfig?, completion:((_ s... | 29.588235 | 158 | 0.73161 |
682354204e8448817be9c9b44039adb445609775 | 786 | kt | Kotlin | src/main/kotlin/graal/micronaut/rest/example/UserRepositoryImpl.kt | wojciech-zurek/kotlin-graal-native-image-micronaut-rest-example | f229a65e47da48ed578413e6ec103844528955f8 | [
"MIT"
] | 1 | 2020-02-06T16:45:35.000Z | 2020-02-06T16:45:35.000Z | src/main/kotlin/graal/micronaut/rest/example/UserRepositoryImpl.kt | wojciech-zurek/kotlin-graal-native-image-micronaut-rest-example | f229a65e47da48ed578413e6ec103844528955f8 | [
"MIT"
] | null | null | null | src/main/kotlin/graal/micronaut/rest/example/UserRepositoryImpl.kt | wojciech-zurek/kotlin-graal-native-image-micronaut-rest-example | f229a65e47da48ed578413e6ec103844528955f8 | [
"MIT"
] | 1 | 2020-02-06T16:45:51.000Z | 2020-02-06T16:45:51.000Z | package graal.micronaut.rest.example
import io.micronaut.context.event.StartupEvent
import io.micronaut.runtime.event.annotation.EventListener
import java.util.*
import java.util.concurrent.ConcurrentHashMap
import javax.inject.Singleton
@Singleton
class UserRepositoryImpl : UserRepository {
private val db = Con... | 26.2 | 59 | 0.692112 |
2a604bb35ce29f2688c0de8c5440ab9a3af3f1e0 | 862 | java | Java | src/main/java/Leetcode3.java | LiuQ1ang/leetcode | 90df283bf08e6ad64b10eceec0ba03f5155298ee | [
"Apache-2.0"
] | null | null | null | src/main/java/Leetcode3.java | LiuQ1ang/leetcode | 90df283bf08e6ad64b10eceec0ba03f5155298ee | [
"Apache-2.0"
] | null | null | null | src/main/java/Leetcode3.java | LiuQ1ang/leetcode | 90df283bf08e6ad64b10eceec0ba03f5155298ee | [
"Apache-2.0"
] | null | null | null | import java.util.HashSet;
import java.util.Set;
/**
* @author: liuqiang
* @create: 2019-09-16 19:52
*
* 给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。
*
* 示例 1:
*
* 输入: "abcabcbb"
* 输出: 3
* 解释: 因为无重复字符的最长子串是 "abc",所以其长度为 3。
* 示例 2:
*
* 输入: "bbbbb"
* 输出: 1
* 解释: 因为无重复字符的最长子串是 "b",所以其长度为 1。
* 示例 3:
*
* 输入: "pwwkew"
... | 20.046512 | 85 | 0.602088 |
a101f6805c4eee7efe596729930038f01c347ba2 | 2,914 | asm | Assembly | Mips/fizzbuzz.asm | Mystic-Developer/FizzBuzz-EVERYTHING | 2daed09d9d7b5e25e1027b7a740c179e653f74af | [
"MIT"
] | null | null | null | Mips/fizzbuzz.asm | Mystic-Developer/FizzBuzz-EVERYTHING | 2daed09d9d7b5e25e1027b7a740c179e653f74af | [
"MIT"
] | null | null | null | Mips/fizzbuzz.asm | Mystic-Developer/FizzBuzz-EVERYTHING | 2daed09d9d7b5e25e1027b7a740c179e653f74af | [
"MIT"
] | null | null | null | .data
fizz: .asciiz "Fizz"
buzz: .asciiz "Buzz"
fizzbuzz: .asciiz "FizzBuzz"
new_line: .asciiz "\n"
prompt: .asciiz "Please enter the highest number you want to go for FizzBuzz: "
.text
addi $s0, $zero, 5 # s0 = 5;
addi $s1, $zero, 3 # s1 = 3;
addi $t0, $zero, 1 # t0 = 1; This will... | 23.691057 | 151 | 0.56383 |
96605a5cd01a8524088f469bcd873d6764e8f9a3 | 3,058 | php | PHP | application/controllers/ss.php | Gagendra-Ghalley/alumni_management_system | e8d02c6b7acb124e011b18992e74d79c2beb1e27 | [
"MIT"
] | null | null | null | application/controllers/ss.php | Gagendra-Ghalley/alumni_management_system | e8d02c6b7acb124e011b18992e74d79c2beb1e27 | [
"MIT"
] | null | null | null | application/controllers/ss.php | Gagendra-Ghalley/alumni_management_system | e8d02c6b7acb124e011b18992e74d79c2beb1e27 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Sendemail extends CI_Controller {
public function index()
{
$this->load->view('template/includeheader',$this->dataheader);
$this->load->view('sendemail');
$this->load->view('template/includefooter');
}
public function __construc... | 27.8 | 87 | 0.571288 |
a9bc00855ae3c6884de15ba60e821684a6936724 | 573 | html | HTML | pkg/template/pages/register.html | davidmc24/drone | c0adf459f9d0e441f4203e6b0365838dab7304fc | [
"Apache-2.0"
] | 1 | 2015-01-18T23:11:25.000Z | 2015-01-18T23:11:25.000Z | pkg/template/pages/register.html | phusion/drone | 7806a23b6f03458d03bb37573e5c2a3bf1ca5acb | [
"Apache-2.0"
] | null | null | null | pkg/template/pages/register.html | phusion/drone | 7806a23b6f03458d03bb37573e5c2a3bf1ca5acb | [
"Apache-2.0"
] | null | null | null | {{ define "title" }}Register · drone.io{{ end }}
{{ define "content" }}
<h1>Registration</h1>
{{ if .Error }}
<div class="alert alert-danger">{{.Error}}</div>
{{ end }}
<div>
<input class="form-control" type="text" name="name" placeholder="Full Name (e.g. John Smith)" autocomplete="off" spellcheck="off" />
<i... | 27.285714 | 134 | 0.61082 |
85ca4109f430b039e8042dde1bd18275ce635a72 | 1,180 | js | JavaScript | sdk/doc/html/group__itu__widget__shadow.js | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | 1 | 2021-10-09T08:05:50.000Z | 2021-10-09T08:05:50.000Z | sdk/doc/html/group__itu__widget__shadow.js | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | null | null | null | sdk/doc/html/group__itu__widget__shadow.js | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | null | null | null | var group__itu__widget__shadow =
[
[ "ITUShadowTag", "struct_i_t_u_shadow_tag.html", [
[ "maskSurf", "struct_i_t_u_shadow_tag.html#adea1e39fece2d620edf2cbc975b054dc", null ],
[ "target", "struct_i_t_u_shadow_tag.html#a594133e9a169b6c8ee1cf0a2f8e3c48c", null ],
[ "targetName", "struct_i_t_u_shadow_... | 73.75 | 101 | 0.779661 |
877fd5b32a102a21a4510e0b7e9ad8ff1e35c8e9 | 2,347 | html | HTML | FrontEnd/src/app/components/posts/post-create/post-create.component.html | MXSH-Dev/MEAN-STACK-APP | c2c6689c5212405134ae57c4b4a14f6656b8dc13 | [
"MIT"
] | null | null | null | FrontEnd/src/app/components/posts/post-create/post-create.component.html | MXSH-Dev/MEAN-STACK-APP | c2c6689c5212405134ae57c4b4a14f6656b8dc13 | [
"MIT"
] | null | null | null | FrontEnd/src/app/components/posts/post-create/post-create.component.html | MXSH-Dev/MEAN-STACK-APP | c2c6689c5212405134ae57c4b4a14f6656b8dc13 | [
"MIT"
] | null | null | null | <br />
<mat-card>
<app-spinner *ngIf="isLoading"></app-spinner>
<form
*ngIf="!isLoading"
[formGroup]="postFormGroup"
(ngSubmit)="onSavePost()"
>
<mat-form-field>
<!-- <mat-label>Title</mat-label> -->
<input matInput placeholder="Title" type="text" formControlName="title" />
</mat-f... | 24.968085 | 80 | 0.489987 |
a1ee80d5b71a9d86bd97a00d9f6897074da09863 | 96 | h | C | src/rlog.h | YifangMeng/IVT-Assignment | 5f9a4aafc1515a118dbff9936fd265cd9e45a543 | [
"BSD-2-Clause"
] | null | null | null | src/rlog.h | YifangMeng/IVT-Assignment | 5f9a4aafc1515a118dbff9936fd265cd9e45a543 | [
"BSD-2-Clause"
] | 7 | 2021-05-15T07:51:21.000Z | 2021-05-18T09:38:35.000Z | src/rlog.h | YifangMeng/IVT-Assignment | 5f9a4aafc1515a118dbff9936fd265cd9e45a543 | [
"BSD-2-Clause"
] | 1 | 2021-05-14T02:58:25.000Z | 2021-05-14T02:58:25.000Z | #ifndef RLOG_H
#define RLOG_H
#include <stdarg.h>
void RLog(const char *format, ...);
#endif
| 10.666667 | 35 | 0.6875 |
c66d5e86eb89406d313f783d0e39d62144cc148c | 144 | rb | Ruby | spec/factories/steps.rb | wrburgess/recipe-server | 16323284307c625e1b559e7d0d12370f115134cc | [
"MIT"
] | null | null | null | spec/factories/steps.rb | wrburgess/recipe-server | 16323284307c625e1b559e7d0d12370f115134cc | [
"MIT"
] | null | null | null | spec/factories/steps.rb | wrburgess/recipe-server | 16323284307c625e1b559e7d0d12370f115134cc | [
"MIT"
] | 1 | 2020-06-02T14:43:23.000Z | 2020-06-02T14:43:23.000Z | FactoryGirl.define do
factory :step do
name "First step"
description "Lay out two pieces of bread"
weight 1
recipe
end
end | 14.4 | 45 | 0.673611 |
6bb66cae2b35cdafa2248fa3aa3e2c4b8108e572 | 19,462 | c | C | core/src/common/coap_abstraction_contiki.c | francois-berder/AwaLWM2M | 40f30cd4c18ace0b82f64983ac1e28537fbcaae6 | [
"BSD-3-Clause"
] | null | null | null | core/src/common/coap_abstraction_contiki.c | francois-berder/AwaLWM2M | 40f30cd4c18ace0b82f64983ac1e28537fbcaae6 | [
"BSD-3-Clause"
] | null | null | null | core/src/common/coap_abstraction_contiki.c | francois-berder/AwaLWM2M | 40f30cd4c18ace0b82f64983ac1e28537fbcaae6 | [
"BSD-3-Clause"
] | null | null | null | /************************************************************************************************************************
Copyright (c) 2016, Imagination Technologies Limited and/or its affiliated group companies.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, ... | 32.986441 | 460 | 0.587196 |
0b6ffbf766a563164a019a52f34be9e1263ae173 | 4,197 | py | Python | core/env.py | ayyuriss/EigenFunctions | 8cb6c22871fcddb633392c0a12691e960dad5143 | [
"MIT"
] | null | null | null | core/env.py | ayyuriss/EigenFunctions | 8cb6c22871fcddb633392c0a12691e960dad5143 | [
"MIT"
] | null | null | null | core/env.py | ayyuriss/EigenFunctions | 8cb6c22871fcddb633392c0a12691e960dad5143 | [
"MIT"
] | null | null | null | import xxhash
import numpy as np
from base.grid import SimpleGRID
import scipy.sparse as SP
h = xxhash.xxh64()
s_to_i = lambda x,size : size*x[0]+x[1]
i_to_s = lambda x,size : (x%size,x//size)
def hash(x):
h.reset()
h.update(x)
return h.digest()
class Indexer(object):
def __init__(self):
... | 26.732484 | 109 | 0.510841 |
76c1fcccfb87547bb05aac32e5f061aa5dde0c83 | 1,286 | h | C | game.h | guptashark/othello | 660e01701da456aca9060627975e0abdacdaed65 | [
"MIT"
] | null | null | null | game.h | guptashark/othello | 660e01701da456aca9060627975e0abdacdaed65 | [
"MIT"
] | null | null | null | game.h | guptashark/othello | 660e01701da456aca9060627975e0abdacdaed65 | [
"MIT"
] | null | null | null | #ifndef GAME_H
#define GAME_H
class game {
private:
char board[8][8];
bool marking_enabled;
// tile validations.
// check that the tile exists on the board.
bool is_valid_tile(int row, int col);
// check that the tile is unoccupied.
// Assumption: the tile indicated is valid.
bool is_unoccupied_til... | 20.09375 | 49 | 0.68818 |
2d895da0e719093a697c42c1adfc80518bdcccac | 630 | html | HTML | JS75.html | manmanv/Web | b1f3d727bf7e9e166cdbdc7a3c66662eb21d1903 | [
"MIT"
] | null | null | null | JS75.html | manmanv/Web | b1f3d727bf7e9e166cdbdc7a3c66662eb21d1903 | [
"MIT"
] | null | null | null | JS75.html | manmanv/Web | b1f3d727bf7e9e166cdbdc7a3c66662eb21d1903 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script>
//创建对象的三种方式
//对象字面量创建对象
var obj = {
uname:'张三疯',
age:18,
sex:'男',... | 21 | 75 | 0.428571 |
c445ee881b259ff67683b26c9bd9d3cc676c8761 | 484 | h | C | src/OpenLoco/Input/ShortcutManager.h | trebla64/OpenLoco | 35efb49706f26c2ab1fc6cd3f83e5af3be65bfa6 | [
"MIT"
] | 585 | 2019-02-20T18:32:39.000Z | 2022-03-31T10:59:57.000Z | src/OpenLoco/Input/ShortcutManager.h | trebla64/OpenLoco | 35efb49706f26c2ab1fc6cd3f83e5af3be65bfa6 | [
"MIT"
] | 643 | 2019-02-19T19:54:32.000Z | 2022-03-31T12:34:37.000Z | src/OpenLoco/Input/ShortcutManager.h | trebla64/OpenLoco | 35efb49706f26c2ab1fc6cd3f83e5af3be65bfa6 | [
"MIT"
] | 84 | 2019-02-19T15:03:14.000Z | 2022-03-30T01:27:02.000Z | #pragma once
#include "../Types.hpp"
#include "Shortcut.h"
#include <array>
#include <cstddef>
namespace OpenLoco::Input::ShortcutManager
{
static constexpr size_t count = 44;
void execute(Shortcut s);
string_id getName(Shortcut s);
struct KeyboardShortcut
{
void (*function)();
s... | 19.36 | 63 | 0.659091 |
392b12e4aae02ae577026ab0f01ad7a554becbd7 | 2,067 | html | HTML | var/www/smartcan/www/html/local/fr/musiquesdb.html | theonlyzby/SmartCAN-RaspberryPi4-BalenaIO | 1df9f2b587f624c22f77e468ff8fb8af6c4cf86a | [
"Apache-2.0"
] | null | null | null | var/www/smartcan/www/html/local/fr/musiquesdb.html | theonlyzby/SmartCAN-RaspberryPi4-BalenaIO | 1df9f2b587f624c22f77e468ff8fb8af6c4cf86a | [
"Apache-2.0"
] | 6 | 2019-12-25T19:03:21.000Z | 2020-12-28T13:19:00.000Z | var/www/smartcan/www/html/tablet/fr/musiquesdb.html | theonlyzby/SmartCAN-RaspberryPi4-BalenaIO | 1df9f2b587f624c22f77e468ff8fb8af6c4cf86a | [
"Apache-2.0"
] | null | null | null | <div style="font-size: 12px; width: 270px; float: left; text-align: center; margin-top: 7px; font-weight: bold;">
<img style="margin-top: 5px;" onClick="traitement(); xajax_action('precedent');" src="./images/precedent.png" />
<img src="./images/stop.png" onClick="traitement(); xajax_action('stop');" />
<img src=... | 76.555556 | 212 | 0.672956 |
1c90ee06789c2a3eb0ad9eb3195ece4c907b43d7 | 24,402 | sql | SQL | spec/sql/expected/Insurance.sql | DanielHeath/activefacts-compositions | f42812bb0614b83634a1b0c890cb075031018f88 | [
"MIT"
] | 1 | 2022-01-05T14:28:40.000Z | 2022-01-05T14:28:40.000Z | spec/sql/expected/Insurance.sql | DanielHeath/activefacts-compositions | f42812bb0614b83634a1b0c890cb075031018f88 | [
"MIT"
] | 14 | 2016-08-01T12:31:37.000Z | 2020-10-11T08:59:57.000Z | spec/sql/expected/Insurance.sql | DanielHeath/activefacts-compositions | f42812bb0614b83634a1b0c890cb075031018f88 | [
"MIT"
] | 4 | 2015-10-27T10:53:02.000Z | 2018-11-02T02:49:32.000Z | CREATE TABLE Asset (
-- Asset has Asset ID
AssetID BIGINT NOT NULL GENERATED ALWAYS AS IDENTITY,
-- Primary index to Asset(Asset ID in "Asset has Asset ID")
PRIMARY KEY(AssetID)
);
CREATE TABLE Claim (
-- Claim has Claim ID
ClaimID BIGINT NOT NULL ... | 53.047826 | 203 | 0.68142 |
74584917d02610226123a51884d5491c57452004 | 339 | c | C | source/switch/vfs_sdcard.c | p-sam/xftpd | 6e71d36546551ca6d6f62038894583c2b8cb8569 | [
"Unlicense"
] | null | null | null | source/switch/vfs_sdcard.c | p-sam/xftpd | 6e71d36546551ca6d6f62038894583c2b8cb8569 | [
"Unlicense"
] | null | null | null | source/switch/vfs_sdcard.c | p-sam/xftpd | 6e71d36546551ca6d6f62038894583c2b8cb8569 | [
"Unlicense"
] | null | null | null | #include "switch/vfs_sdcard.h"
bool vfsMapSdcardPath(const char* path, VfsPath* out_vpath) {
const char* mappedPath = vfsPathPrefix(path, VFS_SDCARD_PREFIX);
if(!mappedPath) {
return false;
}
snprintf(out_vpath->mapped, sizeof(out_vpath->mapped), "sdmc:/%s", mappedPath);
out_vpath->type = VfsPathType_Physical... | 22.6 | 80 | 0.740413 |
75fa226984fbcdd80ef17b3cf8f789eb7acd979e | 440 | php | PHP | examples/caps-sub-paths.php | mhertsch/cairo | c0d4489ac168161ff3cc41b8b16d79c227ea7903 | [
"PHP-3.01"
] | 14 | 2015-04-13T21:18:04.000Z | 2021-11-05T17:44:31.000Z | examples/caps-sub-paths.php | scorninpc/php_cairo | 87fdc545b3bc91e25ea1a2d3be4e15916d77e487 | [
"PHP-3.01"
] | 27 | 2015-01-07T10:33:08.000Z | 2021-12-22T22:17:38.000Z | examples/caps-sub-paths.php | scorninpc/php_cairo | 87fdc545b3bc91e25ea1a2d3be4e15916d77e487 | [
"PHP-3.01"
] | 17 | 2015-02-05T18:40:45.000Z | 2021-03-05T09:17:52.000Z | <?php
$sur = new CairoImageSurface(CairoFormat::ARGB32, 20, 20);
$con = new CairoContext($sur);
$con->save();
$con->setSourceRgb(1,1,1);
$con->paint();
$con->restore();
$con->setLineWidth(4);
$con->setLineCap(CairoLineCap::ROUND);
$con->moveTo(4,4);
$con->lineTo(4,16);
$con->moveTo(10,4);
$con->lineTo(10,16);
$con->m... | 20 | 65 | 0.647727 |
18906cc9d2671a3d0f1afcb3fb8677654c4e2f04 | 912 | lua | Lua | user/programs/neovim/config/lua/lsp.lua | nkpvk/nix-config | 3b460828bbf92bf552e1d336e0496aa59ca00a3a | [
"Unlicense"
] | null | null | null | user/programs/neovim/config/lua/lsp.lua | nkpvk/nix-config | 3b460828bbf92bf552e1d336e0496aa59ca00a3a | [
"Unlicense"
] | null | null | null | user/programs/neovim/config/lua/lsp.lua | nkpvk/nix-config | 3b460828bbf92bf552e1d336e0496aa59ca00a3a | [
"Unlicense"
] | null | null | null | local lsp_config = require('lspconfig')
local function on_attach(client, bufnr)
local function buffer_map(...)
vim.api.nvim_buf_set_keymap(bufnr, ...)
end
local opts = {silent = true, noremap = true}
buffer_map('n', '<Leader>D', '<Cmd>lua vim.lsp.buf.declaration()<CR>', opts)
buffer_map('n', '<Leader>d... | 30.4 | 82 | 0.64693 |
324803ec5c6d9b6082b956f5818760fd206e1e4a | 659 | kt | Kotlin | app/src/main/java/com/github/florent37/kotlin/pleaseanimate/sample/AnimSetNowActivity.kt | florent37/PleaseKotlinAnim | e546fe4308b08e6394bdb56d3d595dcf4d412bb0 | [
"Apache-2.0"
] | 570 | 2018-03-13T13:14:30.000Z | 2022-02-20T06:40:22.000Z | app/src/main/java/com/github/florent37/kotlin/pleaseanimate/sample/AnimSetNowActivity.kt | florent37/PleaseKotlinAnim | e546fe4308b08e6394bdb56d3d595dcf4d412bb0 | [
"Apache-2.0"
] | 11 | 2018-03-14T19:44:56.000Z | 2019-08-23T16:03:23.000Z | app/src/main/java/com/github/florent37/kotlin/pleaseanimate/sample/AnimSetNowActivity.kt | florent37/PleaseKotlinAnim | e546fe4308b08e6394bdb56d3d595dcf4d412bb0 | [
"Apache-2.0"
] | 46 | 2018-03-13T19:14:27.000Z | 2022-02-20T06:40:23.000Z | package com.github.florent37.kotlin.pleaseanimate.sample
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.github.florent37.kotlin.pleaseanimate.please
import kotlinx.android.synthetic.main.activity_set_now.*
class AnimSetNowActivity : AppCompatActivity() {
override fun onCreat... | 24.407407 | 56 | 0.664643 |
46fcba5b6489ba8450884490ba5da2815c921a5b | 1,199 | swift | Swift | Parser/ParserWrapper.swift | katariaaakash/CustomTagsToNsAttributedString | f7d3c36da0cfce731ec053912a953688f050de2f | [
"Apache-2.0"
] | null | null | null | Parser/ParserWrapper.swift | katariaaakash/CustomTagsToNsAttributedString | f7d3c36da0cfce731ec053912a953688f050de2f | [
"Apache-2.0"
] | null | null | null | Parser/ParserWrapper.swift | katariaaakash/CustomTagsToNsAttributedString | f7d3c36da0cfce731ec053912a953688f050de2f | [
"Apache-2.0"
] | null | null | null | //
// ParserWrapper.swift
// CustomTagsToNSAttributedString
//
// Created by Aakash Kataria on 29/12/18.
// Copyright © 2018 Aakash Kataria. All rights reserved.
//
import Foundation
extension String {
func markupstringToNSAttributedString(initialFeatureContainer:FeatureContainer) -> NSAttributedString? {
... | 27.25 | 117 | 0.698916 |
5ff286b024a74b8e4a8b423a1b6e1fd7c6ede6cb | 5,209 | css | CSS | styles/style.css | ProjectImplicit/jsIAT | 064f8915d4716a5a3df89fb5b04b52537032462c | [
"Apache-2.0"
] | null | null | null | styles/style.css | ProjectImplicit/jsIAT | 064f8915d4716a5a3df89fb5b04b52537032462c | [
"Apache-2.0"
] | null | null | null | styles/style.css | ProjectImplicit/jsIAT | 064f8915d4716a5a3df89fb5b04b52537032462c | [
"Apache-2.0"
] | null | null | null | /*
Document : style
Created on : Apr 10, 2011, 12:10:00 PM
Author : master
Description:
Purpose of the stylesheet follows.
*/
/*
Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/
h1, h2, h3 {
margin: 0px;
}
html {
/* behavior */
-webkit-user-select: none; /*... | 15.549254 | 126 | 0.615857 |
84ebe48032d55089e15f0185541e14ecb86833d2 | 628 | h | C | runtime/binding/generated/PairCellMembers.h | etaoins/llambda | a2a5c212ebb56701fa28649c377d0ddd8b67da0b | [
"Apache-2.0"
] | 68 | 2015-01-17T10:42:00.000Z | 2021-11-18T02:48:01.000Z | runtime/binding/generated/PairCellMembers.h | etaoins/llambda | a2a5c212ebb56701fa28649c377d0ddd8b67da0b | [
"Apache-2.0"
] | 15 | 2015-01-05T07:59:33.000Z | 2018-01-05T02:58:10.000Z | runtime/binding/generated/PairCellMembers.h | etaoins/llambda | a2a5c212ebb56701fa28649c377d0ddd8b67da0b | [
"Apache-2.0"
] | 7 | 2015-04-22T06:21:47.000Z | 2021-08-23T07:15:13.000Z | /************************************************************
* This file is generated by typegen. Do not edit manually. *
************************************************************/
public:
std::uint32_t listLength() const
{
return m_listLength;
}
AnyCell* car() const
{
return m_car;
}
AnyCell* cdr()... | 17.444444 | 62 | 0.562102 |
74ce3b5be9953524c3073710ed5b10cd78110ff4 | 566 | js | JavaScript | client/routes/namespace/workflow-archival/helpers/get-status-value.spec.js | rhyselsmore/web | b54c997a34c21424b1c0678c7980b12ff70e140d | [
"MIT"
] | 54 | 2020-08-20T08:58:17.000Z | 2022-03-16T13:16:27.000Z | client/routes/namespace/workflow-archival/helpers/get-status-value.spec.js | rhyselsmore/web | b54c997a34c21424b1c0678c7980b12ff70e140d | [
"MIT"
] | 163 | 2020-07-09T23:08:29.000Z | 2022-03-26T13:29:37.000Z | client/routes/namespace/workflow-archival/helpers/get-status-value.spec.js | rhyselsmore/web | b54c997a34c21424b1c0678c7980b12ff70e140d | [
"MIT"
] | 43 | 2020-07-14T11:38:49.000Z | 2022-03-14T19:41:30.000Z | import getStatusValue from './get-status-value';
describe('getStatusValue', () => {
describe('When status = { value: 5 }', () => {
it('should return 5.', () => {
const status = { value: 5 };
const output = getStatusValue({ status });
expect(output).toEqual(5);
});
});
describe('When s... | 25.727273 | 61 | 0.540636 |
431d70f16b0afdd14ed2483f351ba74bcf098bd9 | 1,322 | kt | Kotlin | src/main/kotlin/com/vk/admstorm/configuration/kbench/KBenchConfigurationRunner.kt | VKCOM/admstorm | deb61a03f6d0ff8a58cf745c40d651c6484db221 | [
"MIT"
] | 2 | 2022-02-08T11:09:24.000Z | 2022-02-16T00:50:51.000Z | src/main/kotlin/com/vk/admstorm/configuration/kbench/KBenchConfigurationRunner.kt | VKCOM/admstorm | deb61a03f6d0ff8a58cf745c40d651c6484db221 | [
"MIT"
] | 25 | 2022-02-08T17:11:22.000Z | 2022-02-27T15:33:51.000Z | src/main/kotlin/com/vk/admstorm/configuration/kbench/KBenchConfigurationRunner.kt | VKCOM/admstorm | deb61a03f6d0ff8a58cf745c40d651c6484db221 | [
"MIT"
] | 2 | 2022-02-17T12:10:52.000Z | 2022-02-22T12:03:50.000Z | package com.vk.admstorm.configuration.kbench
import com.intellij.execution.ExecutionManager
import com.intellij.execution.ExecutionResult
import com.intellij.execution.runners.ExecutionEnvironment
import com.intellij.execution.ui.ExecutionUiService
import com.intellij.execution.ui.RunContentDescriptor
import com.intel... | 36.722222 | 99 | 0.766263 |
653e20753803cf3d8c774a1a90f5c5407a146bd4 | 3,463 | py | Python | pnet/measure.py | changshuowang/PersistenceNetwork | 519aa3b4a123091ae6cc3cf619182b5be54fcac3 | [
"ISC"
] | 1 | 2020-01-20T06:44:14.000Z | 2020-01-20T06:44:14.000Z | pnet/measure.py | changshuowang/PersistenceNetwork | 519aa3b4a123091ae6cc3cf619182b5be54fcac3 | [
"ISC"
] | null | null | null | pnet/measure.py | changshuowang/PersistenceNetwork | 519aa3b4a123091ae6cc3cf619182b5be54fcac3 | [
"ISC"
] | null | null | null | import numpy as np
from sklearn.metrics import average_precision_score as ap
from sklearn.metrics import roc_auc_score
"""
each row is an instance
each column is the prediction of a class
"""
def _score_to_rank(score_list):
rank_array = np.zeros([len(score_list)])
score_array = np.array(score_list)
idx_so... | 24.913669 | 74 | 0.636442 |
c7bc93c63e1abb41516d98d57fc445aaae29ec84 | 566 | py | Python | backend/party/views.py | sudipbhujel/election | fae1cd97e93e18d96d26e46ed57649160b0e4335 | [
"MIT"
] | 3 | 2021-04-07T08:33:39.000Z | 2021-07-29T03:28:24.000Z | backend/party/views.py | sudipbhujel/election | fae1cd97e93e18d96d26e46ed57649160b0e4335 | [
"MIT"
] | null | null | null | backend/party/views.py | sudipbhujel/election | fae1cd97e93e18d96d26e46ed57649160b0e4335 | [
"MIT"
] | 4 | 2021-04-11T14:07:52.000Z | 2021-07-29T03:28:26.000Z | from core.models import Party
from rest_framework import generics
from .serializers import PartySerializer
class PartyListView(generics.ListAPIView):
"""
Party list view.
"""
serializer_class = PartySerializer
# permission_classes = (permissions.IsAuthenticated,)
queryset = Party.objects.all(... | 23.583333 | 57 | 0.722615 |
5fad3be99c18a31af3756d36af123c4940054f7c | 5,066 | c | C | src/sys/riscv/riscv/sbi.c | lastweek/source-freebsd | 0821950b0c40cbc891a27964b342e0202a3859ec | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/sys/riscv/riscv/sbi.c | lastweek/source-freebsd | 0821950b0c40cbc891a27964b342e0202a3859ec | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/sys/riscv/riscv/sbi.c | lastweek/source-freebsd | 0821950b0c40cbc891a27964b342e0202a3859ec | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | /*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2019 Mitchell Horne <mhorne@FreeBSD.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain th... | 30.70303 | 77 | 0.75148 |
9462bac465208154db2a619831b9424bb9a835f1 | 214 | rs | Rust | src/lib.rs | Sectoid/gfx_debug_draw | 25dc91ea5df3fe5adcf4dd3b8116365014351d34 | [
"MIT"
] | 3 | 2016-11-02T18:47:27.000Z | 2021-03-16T11:43:10.000Z | src/lib.rs | Sectoid/gfx_debug_draw | 25dc91ea5df3fe5adcf4dd3b8116365014351d34 | [
"MIT"
] | 13 | 2015-10-23T11:39:55.000Z | 2019-10-17T18:14:17.000Z | src/lib.rs | Sectoid/gfx_debug_draw | 25dc91ea5df3fe5adcf4dd3b8116365014351d34 | [
"MIT"
] | 3 | 2015-10-26T11:32:02.000Z | 2018-07-22T18:32:52.000Z | #[macro_use]
extern crate gfx;
extern crate gfx_text;
extern crate vecmath;
mod debug_renderer;
mod line_renderer;
mod utils;
pub use debug_renderer::{DebugRenderer,
DebugRendererError};
| 17.833333 | 45 | 0.71028 |
fbccb20294e79467bd022cce872d0829a12155ed | 1,881 | h | C | RecoEcal/EgammaClusterAlgos/interface/PreshowerClusterAlgo.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoEcal/EgammaClusterAlgos/interface/PreshowerClusterAlgo.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoEcal/EgammaClusterAlgos/interface/PreshowerClusterAlgo.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #ifndef RecoEcal_EgammaClusterAlgos_PreshowerClusterAlgo_h
#define RecoEcal_EgammaClusterAlgos_PreshowerClusterAlgo_h
//
//
//#include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
#include "DataFormats/EgammaReco/interface/PreshowerCluster.h"
#include "DataFormats/EcalRecHit/interface/EcalRecHit.h"
#incl... | 31.35 | 118 | 0.735247 |
8da80a4bd6428c39480a09b8589e923f1bcf43cb | 8,456 | swift | Swift | Sources/Agora-UIKit/AgoraSettings.swift | AgoraIO-Community/iOS-UIK | fd0c03d911adcde54593e0da864eace2ddbdaeb1 | [
"MIT"
] | 37 | 2020-06-25T15:07:51.000Z | 2022-03-15T03:32:38.000Z | Sources/Agora-UIKit/AgoraSettings.swift | MHamayun/iOS-UIKit | 51a16fe370ce021714ed9c628bae7704df0f0533 | [
"MIT"
] | 13 | 2020-11-04T11:41:17.000Z | 2022-03-30T09:28:32.000Z | Sources/Agora-UIKit/AgoraSettings.swift | MHamayun/iOS-UIKit | 51a16fe370ce021714ed9c628bae7704df0f0533 | [
"MIT"
] | 7 | 2021-01-25T20:11:12.000Z | 2022-03-10T11:06:04.000Z | //
// MPButton+Extensions.swift
// Agora-UIKit
//
// Created by Max Cobb on 25/11/2020.
//
import AgoraRtcKit
import AgoraRtmKit
/// Settings used for the display and behaviour of AgoraVideoViewer
public struct AgoraSettings {
/// Delegate for Agora Rtc Engine callbacks
public weak var rtcDelegate: AgoraR... | 44.272251 | 122 | 0.688978 |
22dcc6c87e3e69a9f35867408039e89f090b61ab | 2,799 | h | C | Tools/VisualStudioSDK/2013.RTM/VisualStudioIntegration/Common/Source/CPP/VSL/MockInterfaces/VSLMockIConnectionPointContainer.h | sarvex/StyleCop | 5fc066910d1c648b35d5b10484666c6a42249f29 | [
"MS-PL"
] | null | null | null | Tools/VisualStudioSDK/2013.RTM/VisualStudioIntegration/Common/Source/CPP/VSL/MockInterfaces/VSLMockIConnectionPointContainer.h | sarvex/StyleCop | 5fc066910d1c648b35d5b10484666c6a42249f29 | [
"MS-PL"
] | null | null | null | Tools/VisualStudioSDK/2013.RTM/VisualStudioIntegration/Common/Source/CPP/VSL/MockInterfaces/VSLMockIConnectionPointContainer.h | sarvex/StyleCop | 5fc066910d1c648b35d5b10484666c6a42249f29 | [
"MS-PL"
] | null | null | null | /***************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
This code is licensed under the Visual Studio SDK license terms.
THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
IMPLIED WARR... | 26.913462 | 129 | 0.723115 |
dfe7872eca28b5a45f2dcfe0d8b6eff301974230 | 4,858 | ts | TypeScript | packages/@glimmer/syntax/lib/traversal/traverse.ts | cyk/glimmer-vm | e30b3d64232a0972365c8cbb1dd8e236a0f33dcf | [
"MIT"
] | null | null | null | packages/@glimmer/syntax/lib/traversal/traverse.ts | cyk/glimmer-vm | e30b3d64232a0972365c8cbb1dd8e236a0f33dcf | [
"MIT"
] | null | null | null | packages/@glimmer/syntax/lib/traversal/traverse.ts | cyk/glimmer-vm | e30b3d64232a0972365c8cbb1dd8e236a0f33dcf | [
"MIT"
] | null | null | null | import visitorKeys from '../types/visitor-keys';
import {
cannotRemoveNode,
cannotReplaceNode,
cannotReplaceOrRemoveInKeyHandlerYet,
} from './errors';
import { Node, NodeType, ParentNode, ChildKey } from '../types/nodes';
import { NodeVisitor, NodeFunction, NodeHandler, KeyFunction, KeyHandler } from '../types/v... | 27.91954 | 99 | 0.656649 |
f04422d2ac94f3225baf51c6adc62d54d1588ade | 4,904 | py | Python | notebooks/KJIO/kapi_io.py | Eclasik/kinetica-jupyterlab | c94b7e2e182e500e1c34ccef3af146a9c0a21bd6 | [
"Xnet",
"X11",
"CECILL-B"
] | 2 | 2019-11-24T23:49:20.000Z | 2021-09-19T23:05:01.000Z | notebooks/KJIO/kapi_io.py | Eclasik/kinetica-jupyterlab | c94b7e2e182e500e1c34ccef3af146a9c0a21bd6 | [
"Xnet",
"X11",
"CECILL-B"
] | null | null | null | notebooks/KJIO/kapi_io.py | Eclasik/kinetica-jupyterlab | c94b7e2e182e500e1c34ccef3af146a9c0a21bd6 | [
"Xnet",
"X11",
"CECILL-B"
] | 3 | 2019-11-24T23:49:39.000Z | 2021-02-10T17:49:16.000Z | # File: kapi_io.py
# Purpose: I/O of between dataframes and Kinetica with native API.
# Author: Chad Juliano
# Date: 07/20/2018
###############################################################################
import numpy as np
import pandas as pd
import gpudb
import sys
KDBC = gpudb.GPUdb(encoding='BINARY', host='127... | 35.79562 | 115 | 0.636419 |
43eecead7434bb59a0407e707a260cd2dc8933be | 346 | asm | Assembly | programs/oeis/138/A138955.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/138/A138955.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/138/A138955.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A138955: a(n) = 8^n mod 3^n.
; 0,2,1,26,46,206,433,2006,739,19034,53857,76562,435349,1357028,1290286,5539319,1267831,96236090,124187905,993503240,974457118,4308872543,13550273938,45640072286,176834220634,567385155629,1149926807260,6657548629751,22757999098060
mov $1,$0
min $0,1
mov $2,3
pow $2,$1
lpb $1
mul $0,8
... | 26.615385 | 230 | 0.745665 |
cd427c07f289d55af091d06a71e176c8981457cd | 38,958 | rs | Rust | onion_lib/src/p2p_protocol/onion_tunnel/fsm/mod.rs | leonbeckmann/voip-onion-routing | 06e86d957c01cf83e7095ff966c24a0fd99a2ff0 | [
"Apache-2.0"
] | null | null | null | onion_lib/src/p2p_protocol/onion_tunnel/fsm/mod.rs | leonbeckmann/voip-onion-routing | 06e86d957c01cf83e7095ff966c24a0fd99a2ff0 | [
"Apache-2.0"
] | null | null | null | onion_lib/src/p2p_protocol/onion_tunnel/fsm/mod.rs | leonbeckmann/voip-onion-routing | 06e86d957c01cf83e7095ff966c24a0fd99a2ff0 | [
"Apache-2.0"
] | null | null | null | mod handshake_fsm;
use crate::p2p_protocol::dtls_connections::DtlsSocketLayer;
use crate::p2p_protocol::messages::p2p_messages::HandshakeData_oneof_message;
use crate::p2p_protocol::onion_tunnel::crypto::HandshakeCryptoConfig;
use crate::p2p_protocol::onion_tunnel::frame_id_manager::FrameIdManager;
use crate::p2p_prot... | 39.753061 | 179 | 0.474357 |
b93b108a85a62ecd55e8a20bfa94203f291ef64e | 372 | h | C | DataVault/DataVault/Helpers/FriendlyNames.h | TheArchitect123/Xcode-Portfolio-Projects | 4040dad2b7c982016fe2485a5998f8cd548a3210 | [
"MIT"
] | null | null | null | DataVault/DataVault/Helpers/FriendlyNames.h | TheArchitect123/Xcode-Portfolio-Projects | 4040dad2b7c982016fe2485a5998f8cd548a3210 | [
"MIT"
] | null | null | null | DataVault/DataVault/Helpers/FriendlyNames.h | TheArchitect123/Xcode-Portfolio-Projects | 4040dad2b7c982016fe2485a5998f8cd548a3210 | [
"MIT"
] | null | null | null | //
// FriendlyNames.h
// DataVault
//
// Created by Assassin on 5/6/20.
// Copyright © 2020 Dan Gerchcovich. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Enums.h"
@interface FriendlyNames : NSObject
+(NSString*) getCategoryNameForOption: (CategoriesOptions)options;
+(NSString*) getCategoryBa... | 23.25 | 72 | 0.752688 |
5fd079e268cab24345384ed9ba9ee72244fb5795 | 114 | css | CSS | css/colors.css | nsagames/nsagames.github.io | 8d48bfe6c30830ca12346bfef6bbc5a32a3943ab | [
"MIT"
] | null | null | null | css/colors.css | nsagames/nsagames.github.io | 8d48bfe6c30830ca12346bfef6bbc5a32a3943ab | [
"MIT"
] | null | null | null | css/colors.css | nsagames/nsagames.github.io | 8d48bfe6c30830ca12346bfef6bbc5a32a3943ab | [
"MIT"
] | null | null | null | .blueTxtColor{
color:#016bc5 !important;
}
.blueBgColor{
background-color: #016bc5 !important;
}
| 14.25 | 43 | 0.640351 |
b1096339814daff2be44229133df453c3590f52b | 87 | css | CSS | dist/parceljs-helloworld.css | baltazarparra/parceljs-helloworld | 8233173615de5230948ca163c246d0136677f529 | [
"MIT"
] | null | null | null | dist/parceljs-helloworld.css | baltazarparra/parceljs-helloworld | 8233173615de5230948ca163c246d0136677f529 | [
"MIT"
] | null | null | null | dist/parceljs-helloworld.css | baltazarparra/parceljs-helloworld | 8233173615de5230948ca163c246d0136677f529 | [
"MIT"
] | null | null | null | .main {
background: url('99f7c5005521956e18fc6b7d5ea7f9b4.png');
color: #ebebeb;
}
| 17.4 | 58 | 0.724138 |
c7c27923a18682460902be99071b94603df6272e | 1,466 | py | Python | pgdumplib/__init__.py | whtsky/pgdumplib | 842b914fe36cb62ce9e6f529fdd23244ce0dde14 | [
"BSD-3-Clause"
] | 15 | 2018-06-15T16:36:49.000Z | 2022-03-31T17:42:21.000Z | pgdumplib/__init__.py | whtsky/pgdumplib | 842b914fe36cb62ce9e6f529fdd23244ce0dde14 | [
"BSD-3-Clause"
] | 10 | 2019-12-06T18:16:09.000Z | 2021-09-23T06:36:53.000Z | pgdumplib/__init__.py | whtsky/pgdumplib | 842b914fe36cb62ce9e6f529fdd23244ce0dde14 | [
"BSD-3-Clause"
] | 3 | 2019-07-28T22:26:11.000Z | 2021-12-26T22:57:00.000Z | """
pgdumplib exposes a load method to create a :py:class:`~pgdumplib.dump.Dump`
instance from a :command:`pg_dump` file created in the `custom` format.
See the :doc:`examples` page to see how to read a dump or create one.
"""
version = '3.1.0'
def load(filepath, converter=None):
"""Load a pg_dump file created ... | 33.318182 | 76 | 0.695089 |
16b6b647bce35637533048e08ab1529ce2dca7a2 | 523 | tsx | TypeScript | games/baccarat/src/containers/SideMenuMobileContainer/MenuButton.tsx | ag-sbogd/mono-changelog | a0a7e5f15695fc5254c68a9d455f431015dabb19 | [
"MIT"
] | null | null | null | games/baccarat/src/containers/SideMenuMobileContainer/MenuButton.tsx | ag-sbogd/mono-changelog | a0a7e5f15695fc5254c68a9d455f431015dabb19 | [
"MIT"
] | null | null | null | games/baccarat/src/containers/SideMenuMobileContainer/MenuButton.tsx | ag-sbogd/mono-changelog | a0a7e5f15695fc5254c68a9d455f431015dabb19 | [
"MIT"
] | null | null | null | import classnames from 'classnames';
import React from 'react';
import { Button, TButtonProps } from '@ag/core';
import { EIcon } from '@definitions';
import { Icon } from '@components/Icon';
type TMenuButtonProps = {
open: boolean;
} & TButtonProps;
export const MenuButton = ( { open, className, ...rest }: TMen... | 27.526316 | 103 | 0.671128 |
6f03aa282221ff9a27788f349459cda1f790278b | 312 | lua | Lua | rtklua/Accepted/Spells/NPCs/resurrect.lua | The-Kingdom-of-The-Winds/RTK-Server | b306c3411af42ea54c6ecaa785cea9ab4e97ff28 | [
"Xnet",
"X11"
] | 1 | 2021-03-08T06:33:34.000Z | 2021-03-08T06:33:34.000Z | rtklua/Accepted/Spells/NPCs/resurrect.lua | The-Kingdom-of-The-Winds/RTK-Server | b306c3411af42ea54c6ecaa785cea9ab4e97ff28 | [
"Xnet",
"X11"
] | null | null | null | rtklua/Accepted/Spells/NPCs/resurrect.lua | The-Kingdom-of-The-Winds/RTK-Server | b306c3411af42ea54c6ecaa785cea9ab4e97ff28 | [
"Xnet",
"X11"
] | 3 | 2020-11-19T22:01:46.000Z | 2021-03-16T21:05:37.000Z | resurrect = {
cast = function(target)
if target == nil then
return
end
if target.state == 1 then
target.state = 0
target.health = target.maxHealth
target.magic = target.maxMagic
target:sendAnimation(427)
target:playSound(112)
target:updateState()
target:sendStatus()
end
end
}
| 17.333333 | 35 | 0.679487 |
7580041e7c048208db8cfe65857b272e5ab0164c | 459 | h | C | KBFormSheetController/KBFormSheetController/KBFormSheetBackgroundWindow.h | bajiejiedian/KBFormSheetController | c4fe3916b366d769558b523526174aa2669643d9 | [
"MIT"
] | null | null | null | KBFormSheetController/KBFormSheetController/KBFormSheetBackgroundWindow.h | bajiejiedian/KBFormSheetController | c4fe3916b366d769558b523526174aa2669643d9 | [
"MIT"
] | null | null | null | KBFormSheetController/KBFormSheetController/KBFormSheetBackgroundWindow.h | bajiejiedian/KBFormSheetController | c4fe3916b366d769558b523526174aa2669643d9 | [
"MIT"
] | null | null | null | //
// KBFormSheetBackgroundWindow.h
// KBFormSheetController
//
// Created by 赵海亭 on 2018/3/3.
// Copyright © 2018年 赵海亭. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "KBAppearance.h"
NS_ASSUME_NONNULL_BEGIN
extern UIWindowLevel const KBFormSheetBackgroundWindowLevelBelowStatusBar;
@interface KBFormSh... | 19.956522 | 74 | 0.79085 |
16b7512b11bf197d8a97456fb0175e50565b85ad | 2,218 | ts | TypeScript | src/core/virtual-node.ts | xyzingh/EvNet | fbc14dd4ef10b237a322dd54763d25f160f4aa82 | [
"MIT"
] | 1 | 2020-09-10T07:23:30.000Z | 2020-09-10T07:23:30.000Z | src/core/virtual-node.ts | xyzingh/EvNet | fbc14dd4ef10b237a322dd54763d25f160f4aa82 | [
"MIT"
] | null | null | null | src/core/virtual-node.ts | xyzingh/EvNet | fbc14dd4ef10b237a322dd54763d25f160f4aa82 | [
"MIT"
] | null | null | null | import {
VirtualNodeAction,
VirtualNode,
Node,
VirtualNodeActionTypes,
Port,
ElementType,
} from 'core/types';
import { isVirtualPort } from 'core/utilities';
import { PortSet } from 'core/portset';
import { VirtualPort } from 'core/virtual-port';
/**
* Record the actions taking place on VirtualNode... | 27.382716 | 74 | 0.582507 |
26600deffbdb47ecf785be04440da3a5cb94755c | 218 | java | Java | src/main/java/net/optifine/util/TickableTexture.java | grialion/Modern-Utility | 4f1f75748ca83b8ccde5ed79bf3816c52ff425ec | [
"MIT"
] | null | null | null | src/main/java/net/optifine/util/TickableTexture.java | grialion/Modern-Utility | 4f1f75748ca83b8ccde5ed79bf3816c52ff425ec | [
"MIT"
] | null | null | null | src/main/java/net/optifine/util/TickableTexture.java | grialion/Modern-Utility | 4f1f75748ca83b8ccde5ed79bf3816c52ff425ec | [
"MIT"
] | null | null | null | package net.optifine.util;
import net.minecraft.client.renderer.texture.ITickable;
import net.minecraft.client.renderer.texture.Texture;
public abstract class TickableTexture extends Texture implements ITickable
{
}
| 24.222222 | 74 | 0.83945 |
0ce058cd8a6d65a8bc31474a1e02dc8c29923fe6 | 338 | py | Python | test/receive_message.py | unknown-admin/easymq | e29b8f63402e385059ff8c263b0e7bb8e9fbd24b | [
"Apache-2.0"
] | 1 | 2020-04-20T14:01:34.000Z | 2020-04-20T14:01:34.000Z | test/receive_message.py | unknown-admin/easymq | e29b8f63402e385059ff8c263b0e7bb8e9fbd24b | [
"Apache-2.0"
] | null | null | null | test/receive_message.py | unknown-admin/easymq | e29b8f63402e385059ff8c263b0e7bb8e9fbd24b | [
"Apache-2.0"
] | 1 | 2022-02-18T08:18:08.000Z | 2022-02-18T08:18:08.000Z | import os
from easymq.mq import MQ
def receive(headers, body):
print("---->", body)
mq = MQ(
mq_user=os.environ.get("mq_user"),
password=os.environ.get("password"),
host_and_ports=[
(os.environ.get("host"), os.environ.get("port")),
],
func=receive,
queue_name="/queue/test_queue"... | 16.095238 | 57 | 0.612426 |
b2de089e75f188f3482c29fc33bcbb7a91997599 | 27,975 | py | Python | src/app.py | chunyuyuan/NEWS_2019_network-master | 0eec84b383156c82fbd64d900dce578700575d99 | [
"MIT"
] | null | null | null | src/app.py | chunyuyuan/NEWS_2019_network-master | 0eec84b383156c82fbd64d900dce578700575d99 | [
"MIT"
] | null | null | null | src/app.py | chunyuyuan/NEWS_2019_network-master | 0eec84b383156c82fbd64d900dce578700575d99 | [
"MIT"
] | null | null | null | from flask import Flask, request, render_template, send_file, Response
import io
import base64
import csv
import json
import time
from collections import OrderedDict
import numpy
import pandas as pd
from numpy import genfromtxt
from flask import jsonify
from flask_cors import CORS
from LoadingNetwork import... | 16.913543 | 360 | 0.43378 |
c2cbbfb62789c26b5128082be46ad5a8f56c67f5 | 201 | kt | Kotlin | src/main/kotlin/dev/rhovas/interpreter/parser/rhovas/RhovasTokenType.kt | Rhovas/Compiler | 9fee0a6d148625c58c51223e1146533d05aef85e | [
"MIT"
] | 5 | 2020-04-04T05:37:56.000Z | 2021-06-06T04:26:21.000Z | src/main/kotlin/dev/rhovas/interpreter/parser/rhovas/RhovasTokenType.kt | Rhovas/Interpreter | 0735c9d91cb648d40e416018c1b2eda5294d287a | [
"MIT"
] | null | null | null | src/main/kotlin/dev/rhovas/interpreter/parser/rhovas/RhovasTokenType.kt | Rhovas/Interpreter | 0735c9d91cb648d40e416018c1b2eda5294d287a | [
"MIT"
] | null | null | null | package dev.rhovas.interpreter.parser.rhovas
import dev.rhovas.interpreter.parser.Token
enum class RhovasTokenType: Token.Type {
IDENTIFIER,
INTEGER,
DECIMAL,
STRING,
OPERATOR,
}
| 16.75 | 44 | 0.731343 |
7e0bbb221633865be514a261c7b2aa76680e1ff1 | 160 | css | CSS | components/MDX/StyledAnchor/style.module.css | aayushmau5/portfolio-blog-template | b1284064d9719855daf57fd592f17d936baa1009 | [
"MIT"
] | 2 | 2022-01-11T14:10:21.000Z | 2022-01-12T06:31:22.000Z | components/MDX/StyledAnchor/style.module.css | aayushmau5/portfolio-blog-template | b1284064d9719855daf57fd592f17d936baa1009 | [
"MIT"
] | 39 | 2021-11-29T19:17:22.000Z | 2022-03-28T18:34:38.000Z | components/MDX/StyledAnchor/style.module.css | aayushmau5/portfolio-blog-template | b1284064d9719855daf57fd592f17d936baa1009 | [
"MIT"
] | 2 | 2022-01-09T18:33:19.000Z | 2022-01-15T14:36:28.000Z | .anchor {
position: relative;
color: rgb(83, 188, 240);
}
.anchor:hover {
text-decoration: underline;
}
.anchor:focus {
text-decoration: underline;
}
| 12.307692 | 29 | 0.6625 |
9f4597b5ab9d39eb4fe7467de021b085f424ac3b | 189 | kt | Kotlin | src/main/kotlin/dev/twelveoclock/supernovae/config/TableConfig.kt | camdenorrb/SuperNovae | 86701a02f86cf9cc359dc40bbdea7a1dfe8b81ac | [
"MIT"
] | null | null | null | src/main/kotlin/dev/twelveoclock/supernovae/config/TableConfig.kt | camdenorrb/SuperNovae | 86701a02f86cf9cc359dc40bbdea7a1dfe8b81ac | [
"MIT"
] | null | null | null | src/main/kotlin/dev/twelveoclock/supernovae/config/TableConfig.kt | camdenorrb/SuperNovae | 86701a02f86cf9cc359dc40bbdea7a1dfe8b81ac | [
"MIT"
] | null | null | null | package dev.twelveoclock.supernovae.config
import kotlinx.serialization.Serializable
@Serializable
data class TableConfig(
val keyColumnName: String,
val shouldCacheAll: Boolean
) | 21 | 42 | 0.814815 |
d2d04b9dbf901bd82067afb7c51a83c482cc9062 | 407 | php | PHP | public/report.php | sigsto14/herz | 2c5dea49c2c78cf9a4e3f732a3b28370b3e076f7 | [
"MIT"
] | null | null | null | public/report.php | sigsto14/herz | 2c5dea49c2c78cf9a4e3f732a3b28370b3e076f7 | [
"MIT"
] | null | null | null | public/report.php | sigsto14/herz | 2c5dea49c2c78cf9a4e3f732a3b28370b3e076f7 | [
"MIT"
] | null | null | null | <?php
if(isset($_POST))
{
$sound = $_POST['soundID'];
$user = $_POST['user'];
$message = $_POST['msg'];
$to = "sigsto14@student.hh.se";
$subject = utf8_decode("Anmälan olämpligt innehåll");
$msg = $user . ' anmäler ljud med id: ' . $sound . ' med motiveringen "' . $message . '"';
$headers = "From: {$user}";
mail($to... | 23.941176 | 90 | 0.624079 |
e94e8ff6073b1c7449aedab13404e3786ca8dc94 | 1,291 | rb | Ruby | higher_order_functions/higher_order_function.rb | tk-notes/functional-programming-article-source-code | 981a2e65956fb9ab4841a63d90d7892c980ecbd5 | [
"MIT"
] | 4 | 2018-12-02T14:01:20.000Z | 2020-05-28T01:27:50.000Z | higher_order_functions/higher_order_function.rb | LeandroTk/functional-programming-article-source-code | 981a2e65956fb9ab4841a63d90d7892c980ecbd5 | [
"MIT"
] | 1 | 2019-06-03T20:18:21.000Z | 2019-06-03T20:18:21.000Z | higher_order_functions/higher_order_function.rb | LeandroTk/functional-programming-article-source-code | 981a2e65956fb9ab4841a63d90d7892c980ecbd5 | [
"MIT"
] | 2 | 2018-12-02T14:01:29.000Z | 2018-12-23T11:51:46.000Z | list = [1, 2, 3, 4, 5]
def inc(value)
value + 1
end
list.map { |value| inc(value) }
list.map(&method(:inc))
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
even_numbers = []
numbers.each do |num|
even_numbers << num if num.even?
end
even_numbers # [2, 4, 6, 8, 10]
numbers.select { |num| num.even? }
numbers.select(... | 16.766234 | 77 | 0.611929 |
7774cab09b42ad7065c600ba1e744eff11f701ea | 57,847 | html | HTML | docs/fit_and_predict.html | csinva/covid-19-analysis | e7b1e82cb6b25d62a868ff61025d88e17452de28 | [
"MIT"
] | 2 | 2020-03-24T16:50:02.000Z | 2020-03-24T17:00:50.000Z | docs/fit_and_predict.html | Yu-Group/covid-19-ventillator-demand-prediction | e7b1e82cb6b25d62a868ff61025d88e17452de28 | [
"MIT"
] | 1 | 2020-03-28T15:34:28.000Z | 2020-03-28T19:22:27.000Z | docs/fit_and_predict.html | Yu-Group/covid-19-ventilator-demand-prediction | e7b1e82cb6b25d62a868ff61025d88e17452de28 | [
"MIT"
] | null | null | null | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
<meta name="generator" content="pdoc 0.7.2" />
<title>modeling.fit_and_predict API documentation</title>
<meta name="description" content="" />
<link href='https://cdnjs... | 50.127383 | 2,991 | 0.593427 |
6258e7cac035ff5032a4dc4fb89f6ad9410679a1 | 1,386 | swift | Swift | Example/UITests/ExampleAppUITests.swift | hexedbits/AboutThisApp | 9405d23d071461eeb06dcb24508fedc621d5c70e | [
"MIT"
] | 76 | 2020-02-17T23:08:23.000Z | 2022-01-16T21:50:49.000Z | Example/UITests/ExampleAppUITests.swift | hexedbits/AboutThisApp | 9405d23d071461eeb06dcb24508fedc621d5c70e | [
"MIT"
] | 18 | 2020-02-17T23:33:24.000Z | 2022-03-21T18:38:17.000Z | Example/UITests/ExampleAppUITests.swift | hexedbits/AboutThisApp | 9405d23d071461eeb06dcb24508fedc621d5c70e | [
"MIT"
] | 2 | 2020-02-19T23:34:05.000Z | 2020-12-18T21:08:55.000Z | //
// Created by Jesse Squires
// https://www.jessesquires.com
//
// Documentation
// https://hexedbits.github.io/AboutThisApp
//
// GitHub
// https://github.com/hexedbits/AboutThisApp
//
// Copyright © 2020-present Jesse Squires, Hexed Bits
// https://www.hexedbits.com
//
import XCTest
final class ExampleAp... | 27.176471 | 98 | 0.651515 |
9c020bdfab26369bb4ddbf23a3fdf699439480a6 | 414 | ts | TypeScript | src/helpers/get-domain.ts | axelra-ag/gatsby-starter-gnonce | d8d5ed6ed593d569d9855376b9dc817bcf7fbdf7 | [
"MIT"
] | null | null | null | src/helpers/get-domain.ts | axelra-ag/gatsby-starter-gnonce | d8d5ed6ed593d569d9855376b9dc817bcf7fbdf7 | [
"MIT"
] | null | null | null | src/helpers/get-domain.ts | axelra-ag/gatsby-starter-gnonce | d8d5ed6ed593d569d9855376b9dc817bcf7fbdf7 | [
"MIT"
] | null | null | null | export const getDomain = () => {
if (isProduction()) {
// eslint-disable-next-line no-warning-comments
// TODO: insert prod url
return "https://jsonplaceholder.typicode.com";
}
// eslint-disable-next-line no-warning-comments
// TODO: change this with localhost
return "https://jsonplaceholder.typic... | 27.6 | 51 | 0.673913 |
99575607b2f4f9d0b7d379bb8e882bfbe2ae036f | 2,103 | h | C | include/Mqpp.h | bendelec/mqpp | 86b525c8a0cabf78172c116d14fede62947760f5 | [
"Apache-2.0"
] | 2 | 2017-03-17T07:23:05.000Z | 2021-12-31T02:24:26.000Z | include/Mqpp.h | bendelec/mqpp | 86b525c8a0cabf78172c116d14fede62947760f5 | [
"Apache-2.0"
] | null | null | null | include/Mqpp.h | bendelec/mqpp | 86b525c8a0cabf78172c116d14fede62947760f5 | [
"Apache-2.0"
] | 2 | 2017-06-27T09:02:22.000Z | 2020-03-07T16:20:50.000Z | /**
* Implementation class (pimpl idiom) declaration for a native
* C++ mqtt client
*
* This contains the queue handling and state machines and is the
* central part of the client library.
*
* Copyright 2017 Christian Bendele
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not us... | 27.671053 | 111 | 0.682834 |
4fa23fd3f31e838c0a1393d43d68be5972f843e6 | 1,391 | swift | Swift | Sources/NativeKit/$Custom/NKMediaRecorder/NKMediaRecorder.OperationError.swift | eligat/NativeKit | d6baf36e5ecb786fb4215e89ad8ff45fec734276 | [
"Unlicense"
] | null | null | null | Sources/NativeKit/$Custom/NKMediaRecorder/NKMediaRecorder.OperationError.swift | eligat/NativeKit | d6baf36e5ecb786fb4215e89ad8ff45fec734276 | [
"Unlicense"
] | null | null | null | Sources/NativeKit/$Custom/NKMediaRecorder/NKMediaRecorder.OperationError.swift | eligat/NativeKit | d6baf36e5ecb786fb4215e89ad8ff45fec734276 | [
"Unlicense"
] | 1 | 2020-05-12T10:30:57.000Z | 2020-05-12T10:30:57.000Z | //
// Introductory information can be found in the `README.md` file located in the root directory of this repository.
// Licensing information can be found in the `LICENSE` file located in the root directory of this repository.
//
#if os(macOS) || os(iOS)
// Exposed
extension NKMediaRecorder {
// Exp... | 30.23913 | 114 | 0.643422 |
8011bf11535487a391f2dbd706f36dc70f571ae7 | 19,155 | kt | Kotlin | src/main/kotlin/Configuration.kt | skolson/sqlcipher-openssl-build | 363ff411d829a8b180d6ec98e374ceb9a9249934 | [
"Apache-2.0"
] | 3 | 2020-10-07T10:40:13.000Z | 2021-04-11T05:34:16.000Z | src/main/kotlin/Configuration.kt | skolson/sqlcipher-openssl-build | 363ff411d829a8b180d6ec98e374ceb9a9249934 | [
"Apache-2.0"
] | 2 | 2021-08-13T15:51:38.000Z | 2021-08-17T23:10:45.000Z | src/main/kotlin/Configuration.kt | skolson/sqlcipher-openssl-build | 363ff411d829a8b180d6ec98e374ceb9a9249934 | [
"Apache-2.0"
] | 1 | 2022-03-29T06:22:50.000Z | 2022-03-29T06:22:50.000Z | package com.oldguy.gradle
import org.gradle.api.GradleException
import org.gradle.api.Project
import org.gradle.api.plugins.ExtensionAware
import java.io.File
enum class HostOs {
LINUX, WINDOWS, MAC;
companion object {
fun query(): HostOs {
val target = System.getProperty("os.name").lower... | 41.550976 | 143 | 0.652989 |
d2ae8245aee4cebeb24b8026769cd4debf610f1f | 5,062 | php | PHP | resources/views/admin/absen/rekap.blade.php | MaudyMeilisa/PKL | c37d75bd76b17780296608c3bfe74be97c821ffe | [
"MIT"
] | null | null | null | resources/views/admin/absen/rekap.blade.php | MaudyMeilisa/PKL | c37d75bd76b17780296608c3bfe74be97c821ffe | [
"MIT"
] | null | null | null | resources/views/admin/absen/rekap.blade.php | MaudyMeilisa/PKL | c37d75bd76b17780296608c3bfe74be97c821ffe | [
"MIT"
] | null | null | null | {{-- <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie-edge">
<title>Document</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" ... | 34.202703 | 210 | 0.442315 |
969df26a76f0fcc8f3eadfb1317a1e9aad373d02 | 749 | html | HTML | src/infos/contact_en.html | shevekk/QueryGraph | d4d1039ca4daa5133b9e6149d2d37ee260fca200 | [
"MIT"
] | 9 | 2020-11-14T16:33:33.000Z | 2022-03-29T08:42:47.000Z | src/infos/contact_en.html | shevekk/QueryGraph | d4d1039ca4daa5133b9e6149d2d37ee260fca200 | [
"MIT"
] | 3 | 2022-02-12T13:59:28.000Z | 2022-02-15T21:00:40.000Z | src/infos/contact_en.html | shevekk/QueryGraph | d4d1039ca4daa5133b9e6149d2d37ee260fca200 | [
"MIT"
] | 2 | 2021-01-05T18:11:19.000Z | 2022-02-12T17:06:03.000Z | <!DOCTYPE html>
<html>
<head>
<title>QueryGraph - Contact</title>
<link rel="icon" type="image/png" href="../img/icon.png" />
</head>
<body>
<h2>Contact</h2>
<p>To report a bug, ask for an improvement, make a suggestion or simply ask a question, contact me at the following email address : <a hre... | 39.421053 | 220 | 0.692924 |
8394ca8b7c8e6363b5aadbbb081d83bde9698b47 | 22,482 | rs | Rust | src/lib.rs | Tamschi/lignin-html | 471bb158f1348840947a8c81ec1acf1594c88b1a | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2021-01-29T18:02:53.000Z | 2021-01-29T18:02:53.000Z | src/lib.rs | Tamschi/lignin-html | 471bb158f1348840947a8c81ec1acf1594c88b1a | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 18 | 2020-10-02T18:13:11.000Z | 2022-03-30T11:05:04.000Z | src/lib.rs | Tamschi/lignin-html | 471bb158f1348840947a8c81ec1acf1594c88b1a | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | //! An HTML renderer for [`lignin`](https://github.com/Tamschi/lignin) that does *some* syntactic and *no* semantic validation.
//!
//! Escaping is performed automatically where necessary, but the output isn't guaranteed to be minimal.
//!
//! **`lignin-html` is not round-trip-safe regarding any HTML parser implementat... | 30.839506 | 221 | 0.635175 |
b1782bc3180c46865894ea417d30a04dd40b1d22 | 7,082 | kt | Kotlin | app/src/main/java/org/radarcns/detail/MainActivityViewImpl.kt | RADAR-CNS/radar-prmt-android | 6d3cb0fc365c08e8d436e3bc5478f0f25ef308fe | [
"Apache-2.0"
] | 5 | 2018-02-27T17:17:52.000Z | 2021-09-18T17:38:25.000Z | app/src/main/java/org/radarcns/detail/MainActivityViewImpl.kt | RADAR-base/radar-prmt-android | 8f788219cb0d715307ee7c76ca53497d128ea444 | [
"Apache-2.0"
] | 52 | 2018-01-30T08:32:23.000Z | 2021-03-17T15:50:06.000Z | app/src/main/java/org/radarcns/detail/MainActivityViewImpl.kt | RADAR-base/radar-prmt-android | 8f788219cb0d715307ee7c76ca53497d128ea444 | [
"Apache-2.0"
] | 11 | 2018-08-25T19:44:46.000Z | 2022-03-24T11:15:45.000Z | /*
* Copyright 2017 The Hyve
*
* 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 writ... | 35.767677 | 112 | 0.588252 |
f691a53c921b8b3c4ceeb3bca719714a76538ae7 | 130 | lua | Lua | nutscript/plugins/area/cl_plugin.lua | 10sa/Advanced-Nutscript | 24dfa1a9b5348c26657b749eca3e046d67421a1a | [
"MIT"
] | 13 | 2017-02-18T07:51:56.000Z | 2022-02-01T22:16:35.000Z | nutscript/plugins/area/cl_plugin.lua | 10sa/Advanced-Nutscript | 24dfa1a9b5348c26657b749eca3e046d67421a1a | [
"MIT"
] | 19 | 2017-02-24T02:45:54.000Z | 2020-09-05T00:52:24.000Z | nutscript/plugins/area/cl_plugin.lua | 10sa/Advanced-Nutscript | 24dfa1a9b5348c26657b749eca3e046d67421a1a | [
"MIT"
] | 8 | 2017-02-18T07:52:25.000Z | 2020-07-21T15:51:51.000Z | local PLUGIN = PLUGIN or { };
netstream.Hook("nut_PlayerEnterArea", function(data)
AdvNut.hook.Run("PlayerEnterArea", data)
end) | 26 | 52 | 0.753846 |
c3287250567e060b2d3bca35fb8ff9b952dc9bbb | 2,412 | rs | Rust | bls12_381/src/curves/g1.rs | daira/curves | 23e87bf224c23be5c5bccc6084aae31fff8bb83f | [
"Apache-2.0",
"MIT"
] | null | null | null | bls12_381/src/curves/g1.rs | daira/curves | 23e87bf224c23be5c5bccc6084aae31fff8bb83f | [
"Apache-2.0",
"MIT"
] | null | null | null | bls12_381/src/curves/g1.rs | daira/curves | 23e87bf224c23be5c5bccc6084aae31fff8bb83f | [
"Apache-2.0",
"MIT"
] | null | null | null | use crate::*;
use ark_ec::{
bls12,
models::{ModelParameters, SWModelParameters},
};
use ark_ff::{
biginteger::{BigInteger256, BigInteger384},
field_new, Zero,
};
pub type G1Affine = bls12::G1Affine<crate::Parameters>;
pub type G1Projective = bls12::G1Projective<crate::Parameters>;
#[derive(Clone, Defa... | 29.060241 | 119 | 0.710614 |
86e33513f290e63d51583f2ca5ac73a189e48d90 | 266 | rs | Rust | src/libos/crates/host-socket/src/ioctl/mod.rs | tatetian/ngo | e84f18679c3e02448decee7fb1ae7197b97fff3f | [
"BSD-3-Clause-Clear"
] | 1 | 2021-11-11T02:55:45.000Z | 2021-11-11T02:55:45.000Z | src/libos/crates/host-socket/src/ioctl/mod.rs | guzongmin/ngo | 188fd8a641bac0601a855192b4ec12b5091fd47a | [
"BSD-3-Clause-Clear"
] | null | null | null | src/libos/crates/host-socket/src/ioctl/mod.rs | guzongmin/ngo | 188fd8a641bac0601a855192b4ec12b5091fd47a | [
"BSD-3-Clause-Clear"
] | null | null | null | mod get_ifconf;
mod get_ifreq;
mod get_readbuflen;
mod set_nonblocking;
pub use self::get_ifconf::{GetIfConf, IfConf};
pub use self::get_ifreq::{GetIfReqWithRawCmd, IfReq};
pub use self::get_readbuflen::GetReadBufLen;
pub use self::set_nonblocking::SetNonBlocking;
| 26.6 | 53 | 0.800752 |
59056051c397f1c26656435fa0ae215b594a9558 | 82 | sql | SQL | books/sql/widen_pressmark.sql | MLGB3/mysite | 433f245918cfc85f3d42b51e7405ae101160d3cd | [
"Apache-2.0"
] | null | null | null | books/sql/widen_pressmark.sql | MLGB3/mysite | 433f245918cfc85f3d42b51e7405ae101160d3cd | [
"Apache-2.0"
] | null | null | null | books/sql/widen_pressmark.sql | MLGB3/mysite | 433f245918cfc85f3d42b51e7405ae101160d3cd | [
"Apache-2.0"
] | null | null | null | alter table books_book
modify column pressmark longtext not null default '';
| 20.5 | 56 | 0.768293 |
61cc232dfb2cf77278f5fe670dfdaf4dc3d28366 | 1,881 | swift | Swift | SReader/Class/Module/Protocol/SRBookDownload.swift | ShenYj/SRBook | 5608bfbf7fb2f994f4b41464c5d0a8ee60e8f3c5 | [
"MIT"
] | 8 | 2021-10-19T08:06:48.000Z | 2021-12-22T14:35:26.000Z | SReader/Class/Module/Protocol/SRBookDownload.swift | songjk/SRBook | 043704564e14fd9976bb75ab02d4dde51d088895 | [
"MIT"
] | null | null | null | SReader/Class/Module/Protocol/SRBookDownload.swift | songjk/SRBook | 043704564e14fd9976bb75ab02d4dde51d088895 | [
"MIT"
] | 4 | 2021-10-19T07:58:48.000Z | 2021-10-20T05:04:57.000Z | //
// SRBookDownload.swift
// SReader
//
// Created by JunMing on 2021/6/15.
//
import Foundation
import ZJMKit
import ZJMAlertView
// MARK: -- 下载图书
protocol SRBookDownload { }
extension SRBookDownload {
/// 下载权限
func downloadRight(_ superView: UIView) -> Bool {
let count = JMUserDefault.readIntege... | 31.881356 | 118 | 0.56672 |
9191a42341dc0b9ed44b349ab7eb717cd5915fd1 | 544 | html | HTML | app/test/frontend/golden/consent_package_uploader_anonymous.html | dart-lang/pub-dartlang-dart | ecddf216fbe8f75a73551c2811383d79bd4b9c04 | [
"BSD-3-Clause"
] | 96 | 2015-02-11T16:35:53.000Z | 2019-05-14T14:08:45.000Z | app/test/frontend/golden/consent_package_uploader_anonymous.html | dart-lang/pub-dartlang-dart | ecddf216fbe8f75a73551c2811383d79bd4b9c04 | [
"BSD-3-Clause"
] | 1,238 | 2015-03-19T00:11:37.000Z | 2019-05-20T10:42:26.000Z | app/test/frontend/golden/consent_package_uploader_anonymous.html | dart-lang/pub-dartlang-dart | ecddf216fbe8f75a73551c2811383d79bd4b9c04 | [
"BSD-3-Clause"
] | 24 | 2015-06-27T15:58:49.000Z | 2019-05-14T19:51:18.000Z | <fragment>
<p>
<code>admin@pub.dev</code>
has invited you to be an uploader of the package
<a href="/packages/example_pkg" rel="noopener noreferrer" target="_blank">
<code>example_pkg</code>
</a>
.
</p>
<p>Accepting a package uploader invitation means:</p>
<ul>
<li>
you will ... | 22.666667 | 78 | 0.602941 |
72f9fc176daf81b162c5ec53bea88a356359d881 | 578,778 | html | HTML | rendering_stream/html/pasteur.fr.html | seclab-ucr/A4 | 1cb3fec31d9e5e9eb2fb448e28b11ce3641b72cc | [
"MIT"
] | 3 | 2021-12-25T02:29:24.000Z | 2022-02-22T02:12:30.000Z | rendering_stream/html/pasteur.fr.html | seclab-ucr/A4 | 1cb3fec31d9e5e9eb2fb448e28b11ce3641b72cc | [
"MIT"
] | null | null | null | rendering_stream/html/pasteur.fr.html | seclab-ucr/A4 | 1cb3fec31d9e5e9eb2fb448e28b11ce3641b72cc | [
"MIT"
] | 1 | 2022-02-01T07:12:57.000Z | 2022-02-01T07:12:57.000Z | <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" lang="fr" style="" class="js flexbox flexboxlegacy no-touch draganddrop rgba backgroundsize borderimage textshadow cssanimations csstransforms csstransforms3d csstransitions generatedcontent video audio boxsizing mediaqueries tablesaw-enhanced"><head><script src... | 143.61737 | 14,231 | 0.770278 |