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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
26b7778db10ef296ab3ff8ebad69887b946bdc91 | 233 | java | Java | citiies-api/src/test/java/com/github/jeffersonklamas/citiiesapi/CitiiesApiApplicationTests.java | jeffersonklamas/api-rest-consulta-cidades | d5e085bde0ab5e4328412ad8b4cd057e66ca4cb4 | [
"MIT"
] | null | null | null | citiies-api/src/test/java/com/github/jeffersonklamas/citiiesapi/CitiiesApiApplicationTests.java | jeffersonklamas/api-rest-consulta-cidades | d5e085bde0ab5e4328412ad8b4cd057e66ca4cb4 | [
"MIT"
] | null | null | null | citiies-api/src/test/java/com/github/jeffersonklamas/citiiesapi/CitiiesApiApplicationTests.java | jeffersonklamas/api-rest-consulta-cidades | d5e085bde0ab5e4328412ad8b4cd057e66ca4cb4 | [
"MIT"
] | null | null | null | package com.github.jeffersonklamas.citiiesapi;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class CitiiesApiApplicationTests {
@Test
void contextLoads() {
}
}
| 16.642857 | 60 | 0.802575 |
0a1a559dcefd33545297d5fc4cd6717afc63a205 | 441 | ts | TypeScript | src/index.ts | henrythasler/alexa-skill-tutorial | bb625073c153675ba21396a571fc2e82379fc0ac | [
"MIT"
] | null | null | null | src/index.ts | henrythasler/alexa-skill-tutorial | bb625073c153675ba21396a571fc2e82379fc0ac | [
"MIT"
] | null | null | null | src/index.ts | henrythasler/alexa-skill-tutorial | bb625073c153675ba21396a571fc2e82379fc0ac | [
"MIT"
] | null | null | null | import { SkillBuilders } from 'ask-sdk-core';
import { TutorialSkill } from './tutorial-skill';
const tutorialSkill = new TutorialSkill();
export const handler = SkillBuilders.custom()
.addRequestHandlers(
tutorialSkill.LaunchRequestHandler,
tutorialSkill.HelpIntentHandler,
tutorialSkill.C... | 29.4 | 49 | 0.727891 |
c9aafb670ecd808905b22b631c00b8b09fdcb9dd | 2,212 | swift | Swift | FirebaseAuthentication/ViewController.swift | publicvoidgeek/FirebaseAuthenticationP1 | dba34f1ed7ab6710e1e4fc94b19cb3e75697b52c | [
"MIT"
] | null | null | null | FirebaseAuthentication/ViewController.swift | publicvoidgeek/FirebaseAuthenticationP1 | dba34f1ed7ab6710e1e4fc94b19cb3e75697b52c | [
"MIT"
] | null | null | null | FirebaseAuthentication/ViewController.swift | publicvoidgeek/FirebaseAuthenticationP1 | dba34f1ed7ab6710e1e4fc94b19cb3e75697b52c | [
"MIT"
] | null | null | null | //
// ViewController.swift
// FirebaseAuthentication
//
// Created by sanamsuri on 12/08/18.
// Copyright © 2018 sanamsuri. All rights reserved.
//
import UIKit
import Firebase
class ViewController: UIViewController {
// Outlets
@IBOutlet weak var emailOu: UITextField!
@IBOutlet weak var password... | 23.784946 | 90 | 0.547016 |
952e79905313efa6099434c1a2aa8c4550001a4a | 108 | css | CSS | src/styles.css | yasu-s/overlay-sample | a67e028353ac5ed21c1bdb19528738a5b21f2cd3 | [
"MIT"
] | null | null | null | src/styles.css | yasu-s/overlay-sample | a67e028353ac5ed21c1bdb19528738a5b21f2cd3 | [
"MIT"
] | null | null | null | src/styles.css | yasu-s/overlay-sample | a67e028353ac5ed21c1bdb19528738a5b21f2cd3 | [
"MIT"
] | null | null | null | @import "~@angular/cdk/overlay-prebuilt.css";
@import "~@angular/material/prebuilt-themes/indigo-pink.css";
| 36 | 61 | 0.759259 |
38904f68b3fad133229a985db24c3bf0dbf068c0 | 3,098 | sql | SQL | src/main/resources/conf/oracleScript.sql | sumantrai/ShoppingMart | f746d52578716ec0b59bccc1aa7942147db085a9 | [
"Apache-2.0"
] | null | null | null | src/main/resources/conf/oracleScript.sql | sumantrai/ShoppingMart | f746d52578716ec0b59bccc1aa7942147db085a9 | [
"Apache-2.0"
] | 1 | 2017-09-04T16:56:03.000Z | 2017-09-04T16:56:03.000Z | src/main/resources/conf/oracleScript.sql | sumantrai/ShoppingMart | f746d52578716ec0b59bccc1aa7942147db085a9 | [
"Apache-2.0"
] | null | null | null | create sequence t1_seq start with 1 increment by 1 nomaxvalue;
create sequence t2_seq start with 1 increment by 1 nomaxvalue;
INSERT INTO USER_PROFILE(ID,type)
VALUES (t1_seq.nextval, 'USER');
INSERT INTO USER_PROFILE(ID,type)
VALUES (t1_seq.nextval,'DBA');
INSERT INTO APP_USERS(id,sso_id, password, first_name,... | 34.422222 | 132 | 0.721433 |
5d1347d971cd2691ad3213e281a5909776a73885 | 140 | kt | Kotlin | basic_apps/task_schedule/app/src/main/java/com/example/taskschedule/entities/UserEntity.kt | LucasGeek/Android-Native-APPS | c4885d49adbd0cd6af461ca5a954bf9f28ce002e | [
"MIT"
] | null | null | null | basic_apps/task_schedule/app/src/main/java/com/example/taskschedule/entities/UserEntity.kt | LucasGeek/Android-Native-APPS | c4885d49adbd0cd6af461ca5a954bf9f28ce002e | [
"MIT"
] | null | null | null | basic_apps/task_schedule/app/src/main/java/com/example/taskschedule/entities/UserEntity.kt | LucasGeek/Android-Native-APPS | c4885d49adbd0cd6af461ca5a954bf9f28ce002e | [
"MIT"
] | null | null | null | package com.example.taskschedule.entities
class UserEntity (val id: Int, val name: String, val email: String, val password: String = "") {} | 46.666667 | 97 | 0.742857 |
bd408506a73ff41c77de6d850103e68027810c08 | 1,093 | rs | Rust | src/main.rs | faraaz-baig/olloor | 70f45b48b6dfb054b1f51ab55842dfcb182fc325 | [
"MIT"
] | null | null | null | src/main.rs | faraaz-baig/olloor | 70f45b48b6dfb054b1f51ab55842dfcb182fc325 | [
"MIT"
] | null | null | null | src/main.rs | faraaz-baig/olloor | 70f45b48b6dfb054b1f51ab55842dfcb182fc325 | [
"MIT"
] | null | null | null | #![feature(proc_macro_hygiene, decl_macro)]
#[macro_use]
extern crate rocket;
use rocket::response::Redirect;
mod utils;
#[get("/")]
fn index() -> &'static str {
"Welcome to olloor!"
}
#[get("/search?<cmd>")]
fn search(cmd: String) -> Redirect {
println!("You typed in {}", cmd);
let command = utils::ge... | 28.763158 | 70 | 0.638609 |
c7ea9f7b62d0694b1b4217e06daa638d87b66891 | 239 | java | Java | src/main/java/io/github/vampirestudios/obsidian/api/obsidian/TextureAndModelInformation.java | vampire-studios/Obsidian | a1d43a78c14272807954111aec3e6f1dc3acd5fb | [
"CC0-1.0"
] | 3 | 2021-03-03T18:27:08.000Z | 2021-10-18T07:30:53.000Z | src/main/java/io/github/vampirestudios/obsidian/api/obsidian/TextureAndModelInformation.java | vampire-studios/Obsidian | a1d43a78c14272807954111aec3e6f1dc3acd5fb | [
"CC0-1.0"
] | 4 | 2021-08-02T07:48:34.000Z | 2021-08-03T17:03:16.000Z | src/main/java/io/github/vampirestudios/obsidian/api/obsidian/TextureAndModelInformation.java | vampire-studios/Obsidian | a1d43a78c14272807954111aec3e6f1dc3acd5fb | [
"CC0-1.0"
] | 2 | 2020-12-04T18:47:14.000Z | 2021-01-09T00:03:22.000Z | package io.github.vampirestudios.obsidian.api.obsidian;
import net.minecraft.util.Identifier;
import java.util.Map;
public class TextureAndModelInformation {
public Map<String, Identifier> textures;
public Identifier parent;
} | 19.916667 | 55 | 0.790795 |
437bedebb256fe41023d70a8b4d2313d4a24d111 | 11,383 | go | Go | service/endpoint.go | jirenius/rest2res | 9a64fa84fea1eb741368be5875aea096f59ce32a | [
"MIT"
] | 12 | 2019-05-07T01:30:30.000Z | 2021-12-12T14:57:06.000Z | service/endpoint.go | jirenius/rest2res | 9a64fa84fea1eb741368be5875aea096f59ce32a | [
"MIT"
] | null | null | null | service/endpoint.go | jirenius/rest2res | 9a64fa84fea1eb741368be5875aea096f59ce32a | [
"MIT"
] | null | null | null | package service
import (
"encoding/json"
"errors"
"fmt"
"io/ioutil"
"net/http"
"reflect"
"strconv"
"strings"
"sync"
"time"
res "github.com/jirenius/go-res"
"github.com/jirenius/timerqueue"
)
type endpoint struct {
s *Service
url string
urlParams []string
refreshCount int
c... | 21.118738 | 152 | 0.612844 |
77d7b261ad1febba3308206e114ebff010e09836 | 6,061 | rs | Rust | src/lib.rs | y-fujii/nanore | e9ee360de11c49109a45829cb85d4c21db270e22 | [
"MIT"
] | null | null | null | src/lib.rs | y-fujii/nanore | e9ee360de11c49109a45829cb85d4c21db270e22 | [
"MIT"
] | null | null | null | src/lib.rs | y-fujii/nanore | e9ee360de11c49109a45829cb85d4c21db270e22 | [
"MIT"
] | null | null | null | // (c) Yasuhiro Fujii <http://mimosa-pudica.net>, under MIT License.
use std::*;
pub enum RegEx<'a, T, U: Copy = ()> {
Eps,
Atom( Box<dyn 'a + Fn( usize, &T ) -> bool> ),
Alt( Box<RegEx<'a, T, U>>, Box<RegEx<'a, T, U>> ),
Seq( Box<RegEx<'a, T, U>>, Box<RegEx<'a, T, U>>, usize ),
Repeat( Box<RegEx<'a, T, U>>, usi... | 25.791489 | 95 | 0.519881 |
e5243bcaf71ccb5aaa825244f3d85a3ec0bf22aa | 1,540 | ts | TypeScript | src/services/input.ts | petli-full/awk-vscode | 849f40f8b6ad81a5472817688b702d15f916c477 | [
"MIT"
] | 2 | 2021-03-26T15:36:14.000Z | 2021-07-28T05:48:07.000Z | src/services/input.ts | petli-full/awk-vscode | 849f40f8b6ad81a5472817688b702d15f916c477 | [
"MIT"
] | 1 | 2021-07-28T05:50:13.000Z | 2021-08-09T02:03:48.000Z | src/services/input.ts | petli-full/awk-vscode | 849f40f8b6ad81a5472817688b702d15f916c477 | [
"MIT"
] | 1 | 2021-03-26T15:36:17.000Z | 2021-03-26T15:36:17.000Z | import * as vscode from 'vscode';
interface Input {
load: () => void;
reset: () => void;
ready: (text: string) => Thenable<vscode.TextEditor>;
get: () => string;
getFilename: () => string;
};
let _input = '';
let _filename = '';
const load = () => {
const doc = vscode.window.activeTextEditor... | 23.333333 | 105 | 0.54026 |
9bcfbdba03c390d467d143b80aeb1358f0fb9694 | 1,881 | js | JavaScript | ForumArchive/acc/post_34226_page_1.js | doc22940/Extensions | d8dbc9be08e0b8c0bd6b72e068ef73223d2799a8 | [
"Apache-2.0"
] | 136 | 2015-01-01T17:33:35.000Z | 2022-02-26T16:38:08.000Z | ForumArchive/acc/post_34226_page_1.js | doc22940/Extensions | d8dbc9be08e0b8c0bd6b72e068ef73223d2799a8 | [
"Apache-2.0"
] | 60 | 2015-06-20T00:39:16.000Z | 2021-09-02T22:55:27.000Z | ForumArchive/acc/post_34226_page_1.js | doc22940/Extensions | d8dbc9be08e0b8c0bd6b72e068ef73223d2799a8 | [
"Apache-2.0"
] | 141 | 2015-04-29T09:50:11.000Z | 2022-03-18T09:20:44.000Z | [{"Owner":"JackFalcon","Date":"2017-11-26T22:09:00Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tHello_co_\n_lt_/p_gt_\n\n_lt_p_gt_\n\t _lt_em_gt_What is the simplest OR best way to_lt_/em_gt_ _lt_em_gt_get a cube to copy a footIK bone transforms (location/rotation) AND export successfully?_... | 1,881 | 1,881 | 0.805423 |
39ee5187e73b27be3e9e31c5b2137c0557963a1e | 2,741 | java | Java | odps-console-basic/src/test/java/com/aliyun/openservices/odps/console/commands/UseProjectCommandTest.java | aliyun/aliyun-odps-console | c67d38afd8d8cae493e806f92083e783b2b4c930 | [
"Apache-2.0"
] | 75 | 2015-12-07T07:40:09.000Z | 2022-02-05T09:37:35.000Z | odps-console-basic/src/test/java/com/aliyun/openservices/odps/console/commands/UseProjectCommandTest.java | aliyun/aliyun-odps-console | c67d38afd8d8cae493e806f92083e783b2b4c930 | [
"Apache-2.0"
] | 22 | 2016-09-01T16:25:34.000Z | 2021-12-09T22:03:38.000Z | odps-console-basic/src/test/java/com/aliyun/openservices/odps/console/commands/UseProjectCommandTest.java | aliyun/aliyun-odps-console | c67d38afd8d8cae493e806f92083e783b2b4c930 | [
"Apache-2.0"
] | 25 | 2016-06-02T05:27:51.000Z | 2021-07-14T07:31:11.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 ... | 41.530303 | 142 | 0.756658 |
e8da2871c87cf2076690059ef9b906d674072b5a | 846 | py | Python | setup.py | stshrive/pycense | 5bfd1b7b6b326a5592f58d621ee596c6c1d8a490 | [
"MIT"
] | null | null | null | setup.py | stshrive/pycense | 5bfd1b7b6b326a5592f58d621ee596c6c1d8a490 | [
"MIT"
] | 5 | 2018-09-15T23:40:11.000Z | 2018-10-05T22:57:13.000Z | setup.py | stshrive/pycense | 5bfd1b7b6b326a5592f58d621ee596c6c1d8a490 | [
"MIT"
] | 1 | 2018-10-04T23:43:42.000Z | 2018-10-04T23:43:42.000Z | import os
import setuptools
VERSION = "1.0.0a1+dev"
INSTALL_REQUIRES = [
'pip-licenses',
]
CLASSIFIERS = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research'
]
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).... | 24.171429 | 78 | 0.682033 |
85c53ce72352eb5ab455b7e5f441dcce40e527de | 1,525 | js | JavaScript | IzendaHours/Resources/js/charts.js | shaheinm/IzendaHours | a9ba1f99b07f4e0958d28ea5c963b4a82adf6482 | [
"MIT"
] | null | null | null | IzendaHours/Resources/js/charts.js | shaheinm/IzendaHours | a9ba1f99b07f4e0958d28ea5c963b4a82adf6482 | [
"MIT"
] | null | null | null | IzendaHours/Resources/js/charts.js | shaheinm/IzendaHours | a9ba1f99b07f4e0958d28ea5c963b4a82adf6482 | [
"MIT"
] | 2 | 2015-04-16T19:00:09.000Z | 2016-10-17T22:23:05.000Z | // Copyright (c) 2005-2013 Izenda, L.L.C. - ALL RIGHTS RESERVED
// Add new chart
jq$(function () {
jq$('#add_chart').dialog({
autoOpen: true,
width: 960,
height: "auto", height: 640,
modal: true,
buttons: {
"Continue": function () {
jq$(this).dialog("close");
}
},
show: {
... | 21.180556 | 89 | 0.552787 |
94934d1dfca33a45aef8251c83df70e450e389fb | 636 | asm | Assembly | oeis/028/A028403.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/028/A028403.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/028/A028403.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A028403: Number of types of Boolean functions of n variables under a certain group.
; 4,12,40,144,544,2112,8320,33024,131584,525312,2099200,8392704,33562624,134234112,536903680,2147549184,8590065664,34360000512,137439477760,549756862464,2199025352704,8796097216512,35184380477440,140737505132544,562949986975744,225179... | 63.6 | 492 | 0.866352 |
16a12c8c14d9b48388a320989435b95228d455a2 | 165 | h | C | src/KFEnums.h | DrData/ukf | 75770bbf92e7fc90ea007a9512e7b23d784ccf5c | [
"MIT"
] | null | null | null | src/KFEnums.h | DrData/ukf | 75770bbf92e7fc90ea007a9512e7b23d784ccf5c | [
"MIT"
] | 1 | 2019-04-26T02:15:22.000Z | 2019-04-26T02:15:35.000Z | src/KFEnums.h | DrData/ukf | 75770bbf92e7fc90ea007a9512e7b23d784ccf5c | [
"MIT"
] | 1 | 2019-04-26T02:09:01.000Z | 2019-04-26T02:09:01.000Z | #pragma once
namespace KF
{
// Define sensor type enumeration
enum SensorType
{
eLaser,
eRadar,
};
enum KFType
{
eKF,
eUKF,
};
} | 8.684211 | 35 | 0.551515 |
9db2705c26523b9e73483ba0de6ad0a2cb675224 | 2,051 | swift | Swift | Sources/Intermodular/Extensions/SwiftUI/KeyboardShortcut++.swift | n41l/SwiftUIX | 6840dc104acbb1c840faad7a3a1b4385d03066cf | [
"MIT"
] | 33 | 2019-06-04T21:17:27.000Z | 2019-08-01T16:00:35.000Z | Sources/Intermodular/Extensions/SwiftUI/KeyboardShortcut++.swift | n41l/SwiftUIX | 6840dc104acbb1c840faad7a3a1b4385d03066cf | [
"MIT"
] | null | null | null | Sources/Intermodular/Extensions/SwiftUI/KeyboardShortcut++.swift | n41l/SwiftUIX | 6840dc104acbb1c840faad7a3a1b4385d03066cf | [
"MIT"
] | null | null | null | //
// Copyright (c) Vatsal Manot
//
import Swift
import SwiftUI
#if os(macOS)
@available(iOS 14.0, macOS 11.0, *)
@available(tvOS, unavailable)
@available(watchOS, unavailable)
extension KeyboardShortcut {
public var appKitKeyEquivalent: (key: Character, modifiers: NSEvent.ModifierFlags) {
return (key.ch... | 24.129412 | 91 | 0.569966 |
19c468bc357500232b521c27997820d2fc92dcfd | 874 | asm | Assembly | programs/oeis/317/A317538.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/317/A317538.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/317/A317538.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A317538: Indices m for which A317413(m) = 1.
; 1,4,6,9,12,16,19,21,24,28,30,33,37,40,43,45,48,52,54,57,60,64,67,69,73,76,78,81,85,88,91,93,96,100,102,105,108,112,115,117,120,124,126,129,133,136,139,141,145,148,150,153,156,160,163,165,169,172,174,177,181,184,187,189,192,196,198,201,204
mov $14,$0
mov $16,2
mov $18,$0... | 15.890909 | 240 | 0.528604 |
5b54bba23d8872a6a1aa1be7ecab55af4023bde3 | 1,522 | h | C | GeometryReaders/XMLIdealGeometryESSource/interface/XMLIdealGeometryESSource.h | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | GeometryReaders/XMLIdealGeometryESSource/interface/XMLIdealGeometryESSource.h | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | GeometryReaders/XMLIdealGeometryESSource/interface/XMLIdealGeometryESSource.h | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | #ifndef GeometryReaders_XMLIdealGeometryESSource_XMLIdealGeometryESSource_H
#define GeometryReaders_XMLIdealGeometryESSource_XMLIdealGeometryESSource_H
#include "FWCore/Framework/interface/ESProducer.h"
#include "FWCore/Framework/interface/EventSetupRecordIntervalFinder.h"
#include "FWCore/ParameterSet/interface/Param... | 39.025641 | 90 | 0.799606 |
969abe60fd78b5b95139ae61841b16cb5b23f4fa | 8,553 | kt | Kotlin | app/src/main/java/com/kou/seekmake/data/retrofit/SeekMakeRepository.kt | itzkou/seekmake-android | aee05bcf921efe59b0fa263cc932a5daf3b9a3e0 | [
"MIT"
] | null | null | null | app/src/main/java/com/kou/seekmake/data/retrofit/SeekMakeRepository.kt | itzkou/seekmake-android | aee05bcf921efe59b0fa263cc932a5daf3b9a3e0 | [
"MIT"
] | null | null | null | app/src/main/java/com/kou/seekmake/data/retrofit/SeekMakeRepository.kt | itzkou/seekmake-android | aee05bcf921efe59b0fa263cc932a5daf3b9a3e0 | [
"MIT"
] | null | null | null | package com.kou.seekmake.data.retrofit
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.google.gson.JsonSyntaxException
import com.kou.seekmake.models.SeekMake.*
import okhttp3.MultipartBody
import org.json.JSONObject
import retrofit2.Call
import retrofit2... | 38.527027 | 120 | 0.589968 |
170e74cacb0a2413004a5d16eb1164f178c172eb | 2,594 | h | C | JaraffeEngine_ComponentSystem/Jaraffe/Engine/Source/D3D11/Vertex.h | Jaraffe-github/Old_Engines | 0586d383af99cfcf076b18dace49e779a55b88e8 | [
"BSD-3-Clause"
] | null | null | null | JaraffeEngine_ComponentSystem/Jaraffe/Engine/Source/D3D11/Vertex.h | Jaraffe-github/Old_Engines | 0586d383af99cfcf076b18dace49e779a55b88e8 | [
"BSD-3-Clause"
] | null | null | null | JaraffeEngine_ComponentSystem/Jaraffe/Engine/Source/D3D11/Vertex.h | Jaraffe-github/Old_Engines | 0586d383af99cfcf076b18dace49e779a55b88e8 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
namespace JF
{
namespace Vertex
{
enum class VertexType
{
Position,
PosColor,
PosNormalTex,
PosNormalTexTan,
};
struct BasicVertex
{
BasicVertex(){}
};
struct Position : BasicVertex
{
Position() : BasicVertex() {}
Position(XMFLOAT3 pos)
: BasicVertex(), Pos(pos) {}
Position(fl... | 22.955752 | 80 | 0.684657 |
331719a2a5a244761348d8660d5c741b1f74d90f | 2,921 | py | Python | tests/test1.py | pedroramaciotti/Cloudtropy | bce1cc1cd6c5217ac20cf5a98491d10c6a8905b2 | [
"MIT"
] | null | null | null | tests/test1.py | pedroramaciotti/Cloudtropy | bce1cc1cd6c5217ac20cf5a98491d10c6a8905b2 | [
"MIT"
] | null | null | null | tests/test1.py | pedroramaciotti/Cloudtropy | bce1cc1cd6c5217ac20cf5a98491d10c6a8905b2 | [
"MIT"
] | 1 | 2021-03-10T14:04:04.000Z | 2021-03-10T14:04:04.000Z | import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits import mplot3d
# from scipy.stats import entropy
import sys
sys.path.append('../')
import cloudtropy
# data
gen_dim = 2
gen_N = 300
lims = (-2,6)
scale = 0.2
X = np.random.uniform(low=lims[0],high=lims[1],size=(10000,2)) # background
X = np.co... | 27.819048 | 94 | 0.680589 |
0defed50f029759823c8afb6f3a7a77f7d333c78 | 65 | kt | Kotlin | kotest-core/src/jvmMain/kotlin/io/kotlintest/aliases.kt | xiaodongw/kotest | 94e9fe43199c5d6e0dfca8bdf8b2f09a2ff036bd | [
"Apache-2.0"
] | null | null | null | kotest-core/src/jvmMain/kotlin/io/kotlintest/aliases.kt | xiaodongw/kotest | 94e9fe43199c5d6e0dfca8bdf8b2f09a2ff036bd | [
"Apache-2.0"
] | null | null | null | kotest-core/src/jvmMain/kotlin/io/kotlintest/aliases.kt | xiaodongw/kotest | 94e9fe43199c5d6e0dfca8bdf8b2f09a2ff036bd | [
"Apache-2.0"
] | null | null | null | package io.kotlintest
typealias Spec = io.kotest.core.spec.Spec
| 16.25 | 41 | 0.8 |
feeec2795332733b680736bb62058568a3f880b9 | 1,088 | html | HTML | app/views/pages/catalogo/_item_182.html | pulibrary/cicognara-rails | d47e8868b35dd4db5f3a28b623735d3be519b71d | [
"Apache-2.0"
] | 3 | 2017-02-22T20:03:52.000Z | 2019-05-24T21:57:59.000Z | app/views/pages/catalogo/_item_182.html | pulibrary/cicognara-rails | d47e8868b35dd4db5f3a28b623735d3be519b71d | [
"Apache-2.0"
] | 343 | 2016-04-26T15:12:00.000Z | 2022-03-21T16:29:22.000Z | app/views/pages/catalogo/_item_182.html | pulibrary/cicognara-rails | d47e8868b35dd4db5f3a28b623735d3be519b71d | [
"Apache-2.0"
] | 2 | 2016-04-26T14:56:50.000Z | 2016-04-26T22:03:09.000Z | <section xmlns="http://www.w3.org/1999/xhtml" class="catalogo-item" id="182">
<span class="catalogo-item-label">182.</span>
<span class="catalogo-bibl">
<span class="catalogo-author">PILES (de)</span>,
<span class="catalogo-title"><a class="... | 98.909091 | 380 | 0.630515 |
5bec423783e44b30a76f0e6f11e19788897c5536 | 8,774 | c | C | INFLO-PRO/Arada/external/locomate-2.0-mips_2.0.0.7/src/can-utils/isotpsniffer.c | OSADP/INFLO | 19964445fe79a1f9334516fa0f51fa9dfc735f6c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | INFLO-PRO/Arada/external/locomate-2.0-mips_2.0.0.7/src/can-utils/isotpsniffer.c | OSADP/INFLO | 19964445fe79a1f9334516fa0f51fa9dfc735f6c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | INFLO-PRO/Arada/external/locomate-2.0-mips_2.0.0.7/src/can-utils/isotpsniffer.c | OSADP/INFLO | 19964445fe79a1f9334516fa0f51fa9dfc735f6c | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-02-02T18:12:32.000Z | 2020-11-04T04:35:58.000Z | /*
* $Id: isotpsniffer.c 898 2009-01-13 09:32:45Z hartkopp $
*/
/*
* isotpsniffer.c - dump ISO15765-2 datagrams using PF_CAN isotp protocol
*
* Copyright (c) 2008 Volkswagen Group Electronic Research
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification... | 25.805882 | 111 | 0.634374 |
139d599e8721a3b64c4118415493dd41224b7325 | 2,935 | kt | Kotlin | app/src/main/java/com/yaroslavgamayunov/stockviewer/repository/StockApiRepository.kt | EtsTest-AndroidApps/StockViewer | 9f177cc718767bfaea3d6154f75821829dd5355b | [
"MIT"
] | 47 | 2021-07-22T15:43:50.000Z | 2022-01-19T13:01:23.000Z | app/src/main/java/com/yaroslavgamayunov/stockviewer/repository/StockApiRepository.kt | EtsTest-AndroidApps/StockViewer | 9f177cc718767bfaea3d6154f75821829dd5355b | [
"MIT"
] | null | null | null | app/src/main/java/com/yaroslavgamayunov/stockviewer/repository/StockApiRepository.kt | EtsTest-AndroidApps/StockViewer | 9f177cc718767bfaea3d6154f75821829dd5355b | [
"MIT"
] | 8 | 2021-07-21T12:25:29.000Z | 2022-02-11T00:44:52.000Z | package com.yaroslavgamayunov.stockviewer.repository
import com.yaroslavgamayunov.stockviewer.network.FinHubApiService
import com.yaroslavgamayunov.stockviewer.network.IexCloudApiService
import com.yaroslavgamayunov.stockviewer.utils.CallResult
import com.yaroslavgamayunov.stockviewer.utils.safeApiCall
import com.yaro... | 31.223404 | 89 | 0.619421 |
98514289e13a57eae7c461c4912553020d0945d1 | 4,934 | kt | Kotlin | app/src/main/java/com/jobs/assignment/presentation/ui/list/ListFragment.kt | SanushRadalage/ComposeSamples | 46a48e46b5c1dd96477319639db9d13a9275524a | [
"MIT"
] | null | null | null | app/src/main/java/com/jobs/assignment/presentation/ui/list/ListFragment.kt | SanushRadalage/ComposeSamples | 46a48e46b5c1dd96477319639db9d13a9275524a | [
"MIT"
] | null | null | null | app/src/main/java/com/jobs/assignment/presentation/ui/list/ListFragment.kt | SanushRadalage/ComposeSamples | 46a48e46b5c1dd96477319639db9d13a9275524a | [
"MIT"
] | null | null | null | package com.jobs.assignment.presentation.ui.list
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.activity.OnBackPressedCallback
import androidx.appcompat.widget.Toolbar
import androidx.compose.foundation.ExperimentalFoundationApi
import... | 36.548148 | 95 | 0.530199 |
9bd21b0a0645626b2270758effb332d3ec926934 | 2,395 | js | JavaScript | api/controllers/expenseController.js | SebastianDochia/budget-app | 7b03c3bf03866f30756eaa0dbf7669fc74767aac | [
"MIT"
] | null | null | null | api/controllers/expenseController.js | SebastianDochia/budget-app | 7b03c3bf03866f30756eaa0dbf7669fc74767aac | [
"MIT"
] | null | null | null | api/controllers/expenseController.js | SebastianDochia/budget-app | 7b03c3bf03866f30756eaa0dbf7669fc74767aac | [
"MIT"
] | null | null | null | 'use strict';
const firebase = require('../db');
const Expense = require('../models/expense');
const firestore = firebase.firestore();
const addExpense = async (req, res, next) => {
try {
const data = req.body;
await firestore.collection('expenses').doc().set(data);
res.send('Expense saved... | 28.176471 | 72 | 0.54238 |
91c34433df5535bce8da3570c85766d60d298a4c | 54 | sql | SQL | chapter_004/src/main/java/ru/job4j/sql/filters_second/4.sql | Massimilian/Vasily-Maslov | c741c19831fcb9eabd6d83ba0450e931925f48de | [
"Apache-2.0"
] | null | null | null | chapter_004/src/main/java/ru/job4j/sql/filters_second/4.sql | Massimilian/Vasily-Maslov | c741c19831fcb9eabd6d83ba0450e931925f48de | [
"Apache-2.0"
] | null | null | null | chapter_004/src/main/java/ru/job4j/sql/filters_second/4.sql | Massimilian/Vasily-Maslov | c741c19831fcb9eabd6d83ba0450e931925f48de | [
"Apache-2.0"
] | 1 | 2018-07-14T14:13:05.000Z | 2018-07-14T14:13:05.000Z | select * from product order by price desc limit 1;
| 27 | 52 | 0.722222 |
d27f6b0628307b99dfacd7085c3cd8f26eb84355 | 541 | php | PHP | app/Models/Language.php | Darktroy/old_mine | 7ea6cd1564a9d011314d9b86dc5cf7782a5e7d78 | [
"MIT"
] | null | null | null | app/Models/Language.php | Darktroy/old_mine | 7ea6cd1564a9d011314d9b86dc5cf7782a5e7d78 | [
"MIT"
] | null | null | null | app/Models/Language.php | Darktroy/old_mine | 7ea6cd1564a9d011314d9b86dc5cf7782a5e7d78 | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Language extends Model
{
//
protected $table = 'change_maker_languages';
protected $fillable = ['maker_id','lang_name','level'];
public static function storeLanguages($request,$user_id)
{
// $data = $request
... | 21.64 | 60 | 0.560074 |
92efa1bd85eeef6ea491db31d27dbb968aee2fae | 447 | kt | Kotlin | idea/idea-completion/testData/basic/common/boldOrGrayed/TwoReceivers.kt | masfian77/kotlin | fe855d09d847dac8e79b2620033c3a953fdf686a | [
"ECL-2.0",
"Apache-2.0"
] | 71 | 2020-10-12T14:18:06.000Z | 2022-02-25T07:57:06.000Z | idea/idea-completion/testData/basic/common/boldOrGrayed/TwoReceivers.kt | masfian77/kotlin | fe855d09d847dac8e79b2620033c3a953fdf686a | [
"ECL-2.0",
"Apache-2.0"
] | 76 | 2020-11-13T12:30:25.000Z | 2021-09-17T15:32:57.000Z | idea/idea-completion/testData/basic/common/boldOrGrayed/TwoReceivers.kt | masfian77/kotlin | fe855d09d847dac8e79b2620033c3a953fdf686a | [
"ECL-2.0",
"Apache-2.0"
] | 36 | 2020-10-12T14:04:32.000Z | 2022-01-29T20:35:30.000Z | // FIR_COMPARISON
interface Base {
fun inBase()
}
interface I1 : Base {
fun inI1()
}
interface I2 : I1 {
fun inI2()
}
fun foo(i1: I1, i2: I2) {
with(i1) {
with(i2) {
<caret>
}
}
}
// EXIST: { lookupString: "inI1", attributes: "bold" }
// EXIST: { lookupString: "inI2", ... | 17.88 | 54 | 0.548098 |
cb5ad11dfe0eb5fad65464c1d6d54e76704fafa8 | 130,208 | html | HTML | RFC-docs/html-inline-errata/rfc3165.html | matcdac/IETF_RFCs | c73caa411e90949c468478d1b3fb094260e4506e | [
"ADSL"
] | null | null | null | RFC-docs/html-inline-errata/rfc3165.html | matcdac/IETF_RFCs | c73caa411e90949c468478d1b3fb094260e4506e | [
"ADSL"
] | null | null | null | RFC-docs/html-inline-errata/rfc3165.html | matcdac/IETF_RFCs | c73caa411e90949c468478d1b3fb094260e4506e | [
"ADSL"
] | 1 | 2021-12-09T08:28:12.000Z | 2021-12-09T08:28:12.000Z | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://dublincore.org/documents/2008/08/04/dc-html/">
<meta http-equiv="Content-Type" content="text/h... | 42.663172 | 199 | 0.661204 |
369fa64ebc77cae1df42bea6460e705c18ab2ee7 | 2,988 | rs | Rust | src/chess/moves/rook.rs | bloatoo/zchess | e7cacb4e36d4646b6ef086c1e634a8c314223744 | [
"MIT"
] | 2 | 2021-12-28T22:41:51.000Z | 2021-12-29T10:02:33.000Z | src/chess/moves/rook.rs | bloatoo/zchess | e7cacb4e36d4646b6ef086c1e634a8c314223744 | [
"MIT"
] | null | null | null | src/chess/moves/rook.rs | bloatoo/zchess | e7cacb4e36d4646b6ef086c1e634a8c314223744 | [
"MIT"
] | null | null | null | use crate::chess::utils::calculate_squares_to_edge;
use crate::chess::{board::Edge, Board, Move, Piece};
pub const ROOK_MOVES: &[Move] = &[
Move {
x: 8,
y: 0,
constraints: &[],
},
Move {
x: 0,
y: 8,
constraints: &[],
},
];
pub fn generate_rook_moves(boar... | 27.925234 | 83 | 0.358434 |
404cb8362bcfdd803cb1b26c1c5bdcf7eb8586c2 | 1,977 | kt | Kotlin | kotlin/src/test/kotlin/nonamedb/test/specs/unit/storage/engines/MemoryEngineSpec.kt | sndnv/nonamedb | e229ea19df94a89ddd135cf9e2b5bce5f1aa0f6f | [
"Apache-2.0"
] | 1 | 2019-04-21T05:29:54.000Z | 2019-04-21T05:29:54.000Z | kotlin/src/test/kotlin/nonamedb/test/specs/unit/storage/engines/MemoryEngineSpec.kt | sndnv/nonamedb | e229ea19df94a89ddd135cf9e2b5bce5f1aa0f6f | [
"Apache-2.0"
] | null | null | null | kotlin/src/test/kotlin/nonamedb/test/specs/unit/storage/engines/MemoryEngineSpec.kt | sndnv/nonamedb | e229ea19df94a89ddd135cf9e2b5bce5f1aa0f6f | [
"Apache-2.0"
] | null | null | null | package nonamedb.test.specs.unit.storage.engines
import io.kotlintest.*
import io.kotlintest.specs.StringSpec
import nonamedb.storage.Done
import nonamedb.storage.engines.MemoryEngine
class MemoryEngineSpec : StringSpec(){
init {
val timeout = 5.seconds
val testKey = "some key"
val testVal... | 29.954545 | 66 | 0.56955 |
150d2f00044ad50acb6790dd788d4befcfcf0564 | 931 | kt | Kotlin | library/src/material/java/androidx/appcompat/app/RialtoViewInflater.kt | ubuntudroid/Rialto | cd86cc260aa84e03816ab0566fdd3892bdaf489f | [
"Apache-2.0"
] | 256 | 2018-11-30T10:59:15.000Z | 2020-08-03T07:25:12.000Z | library/src/material/java/androidx/appcompat/app/RialtoViewInflater.kt | ubuntudroid/Rialto | cd86cc260aa84e03816ab0566fdd3892bdaf489f | [
"Apache-2.0"
] | 6 | 2018-12-08T17:12:02.000Z | 2020-09-29T10:42:44.000Z | library/src/material/java/androidx/appcompat/app/RialtoViewInflater.kt | ubuntudroid/Rialto | cd86cc260aa84e03816ab0566fdd3892bdaf489f | [
"Apache-2.0"
] | 11 | 2018-12-02T18:55:10.000Z | 2020-02-08T17:51:52.000Z | package androidx.appcompat.app
import android.content.Context
import android.util.AttributeSet
import androidx.appcompat.widget.AppCompatButton
import androidx.appcompat.widget.AppCompatEditText
import androidx.appcompat.widget.AppCompatTextView
import com.google.android.material.button.MaterialButton
import com.styli... | 34.481481 | 92 | 0.801289 |
d58f4ed9860a0002dad107290ab7f007322216a7 | 4,443 | swift | Swift | Sources/SwiftInspectorCommands/InitializerCommand.swift | thedrick/SwiftInspector | 71018af70ec680c0f55927a7452b2a6a6c2fe39f | [
"MIT"
] | null | null | null | Sources/SwiftInspectorCommands/InitializerCommand.swift | thedrick/SwiftInspector | 71018af70ec680c0f55927a7452b2a6a6c2fe39f | [
"MIT"
] | null | null | null | Sources/SwiftInspectorCommands/InitializerCommand.swift | thedrick/SwiftInspector | 71018af70ec680c0f55927a7452b2a6a6c2fe39f | [
"MIT"
] | null | null | null | // Created by Francisco Diaz on 3/27/20.
//
// Copyright (c) 2020 Francisco Diaz
//
// Distributed under the MIT License
//
// 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 restrict... | 41.915094 | 195 | 0.698402 |
1a342e6b5cd39c48ab80118ead23965a563e728f | 1,097 | rs | Rust | quic/s2n-quic-core/src/transmission/mode.rs | sthagen/aws-s2n-quic | 3096e046adee004fe1cab835b4e0066977ab0c10 | [
"Apache-2.0"
] | 1 | 2022-02-28T16:53:06.000Z | 2022-02-28T16:53:06.000Z | quic/s2n-quic-core/src/transmission/mode.rs | sthagen/aws-s2n-quic | 3096e046adee004fe1cab835b4e0066977ab0c10 | [
"Apache-2.0"
] | null | null | null | quic/s2n-quic-core/src/transmission/mode.rs | sthagen/aws-s2n-quic | 3096e046adee004fe1cab835b4e0066977ab0c10 | [
"Apache-2.0"
] | null | null | null | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
pub enum Mode {
/// Loss recovery probing to detect lost packets
LossRecoveryProbing,
/// Maximum transmission unit probing to determine the path M... | 29.648649 | 80 | 0.672744 |
167028314029adf2d4372d4ab2a9e2d37b67f9f1 | 871 | h | C | Code/RDGeneral/RDThreads.h | Mike575/rdkit | 373a89021e478f878c6011a201e3fb8f4a122093 | [
"PostgreSQL"
] | 1 | 2019-01-23T06:02:24.000Z | 2019-01-23T06:02:24.000Z | Code/RDGeneral/RDThreads.h | Mike575/rdkit | 373a89021e478f878c6011a201e3fb8f4a122093 | [
"PostgreSQL"
] | null | null | null | Code/RDGeneral/RDThreads.h | Mike575/rdkit | 373a89021e478f878c6011a201e3fb8f4a122093 | [
"PostgreSQL"
] | null | null | null | //
// Copyright (C) 2015-2018 Greg Landrum
//
// @@ All Rights Reserved @@
// This file is part of the RDKit.
// The contents are covered by the terms of the BSD license
// which is included in the file license.txt, found at the root
// of the RDKit source tree.
//
#include <RDGeneral/export.h>
#ifndef RDTHREADS_... | 19.355556 | 64 | 0.700344 |
7f1610e61fe4d126e2a9d2e38f0b4661c65c9e03 | 993 | go | Go | cmd/util/pool_test.go | pop/wash | 16e54fa159f28802fadef1d0d5632d32b07c6f86 | [
"Apache-2.0"
] | 180 | 2019-03-19T16:54:48.000Z | 2022-03-21T01:20:21.000Z | cmd/util/pool_test.go | pop/wash | 16e54fa159f28802fadef1d0d5632d32b07c6f86 | [
"Apache-2.0"
] | 413 | 2019-03-19T17:05:50.000Z | 2021-07-01T16:45:26.000Z | cmd/util/pool_test.go | pop/wash | 16e54fa159f28802fadef1d0d5632d32b07c6f86 | [
"Apache-2.0"
] | 39 | 2019-03-19T16:55:47.000Z | 2022-01-28T10:57:23.000Z | package cmdutil
import (
"sync"
"testing"
"github.com/stretchr/testify/assert"
)
// Test that a pool with a single worker finishes.
func TestPool1(t *testing.T) {
p := NewPool(1)
val := 0
p.Submit(func() {
val++
p.Done()
})
p.Finish()
assert.Equal(t, 1, val)
}
// Test that a pool with two workers exe... | 17.421053 | 93 | 0.650554 |
7191168772c96698f982661d242a1d3d4f5176b5 | 369 | ts | TypeScript | services/auth/src/index.ts | PabloSzx/lear-model-tutor | d38fccbaf0e93eedb0acef3db2391312ee043a5b | [
"MIT"
] | null | null | null | services/auth/src/index.ts | PabloSzx/lear-model-tutor | d38fccbaf0e93eedb0acef3db2391312ee043a5b | [
"MIT"
] | null | null | null | services/auth/src/index.ts | PabloSzx/lear-model-tutor | d38fccbaf0e93eedb0acef3db2391312ee043a5b | [
"MIT"
] | 1 | 2021-06-11T02:31:50.000Z | 2021-06-11T02:31:50.000Z | import Fastify from "fastify";
import { Auth0Verify } from "common";
import { buildApp } from "./app";
const app = Fastify({
logger: true,
});
(async () => {
await app.register(Auth0Verify);
const EnvelopApp = buildApp({
async prepare() {
await import("./modules");
},
});
await app.registe... | 15.375 | 40 | 0.615176 |
2687741456a098c37afc8bf69e80796b3b034052 | 19,878 | java | Java | backend/resource-microservice/src/main/java/io/vertx/armysystem/microservice/resource/impl/OrganizationServiceImpl.java | derek518/VertxSample | c62aec54820829adbd55c52d12d40028f220f0df | [
"Apache-2.0"
] | null | null | null | backend/resource-microservice/src/main/java/io/vertx/armysystem/microservice/resource/impl/OrganizationServiceImpl.java | derek518/VertxSample | c62aec54820829adbd55c52d12d40028f220f0df | [
"Apache-2.0"
] | 1 | 2021-12-14T20:41:59.000Z | 2021-12-14T20:41:59.000Z | backend/resource-microservice/src/main/java/io/vertx/armysystem/microservice/resource/impl/OrganizationServiceImpl.java | derek518/VertxSample | c62aec54820829adbd55c52d12d40028f220f0df | [
"Apache-2.0"
] | null | null | null | package io.vertx.armysystem.microservice.resource.impl;
import io.vertx.armysystem.business.common.QueryCondition;
import io.vertx.armysystem.business.common.ServiceBase;
import io.vertx.armysystem.business.common.enums.OrgSequence;
import io.vertx.armysystem.business.common.enums.OrgType;
import io.vertx.armysystem.b... | 39.59761 | 152 | 0.625063 |
2a2da11e2fc4828a0cde601c4d49ed717b057d03 | 4,661 | java | Java | rtmap/src/com/rtmap/core/action/IndexController.java | fushenghua/rtmap_blog | fc5f5244f2a59ad3e505bdd37a83503d24d71642 | [
"Unlicense"
] | null | null | null | rtmap/src/com/rtmap/core/action/IndexController.java | fushenghua/rtmap_blog | fc5f5244f2a59ad3e505bdd37a83503d24d71642 | [
"Unlicense"
] | 1 | 2015-09-15T07:46:52.000Z | 2015-09-15T07:46:52.000Z | rtmap/src/com/rtmap/core/action/IndexController.java | fushenghua/rtmap_blog | fc5f5244f2a59ad3e505bdd37a83503d24d71642 | [
"Unlicense"
] | null | null | null | package com.rtmap.core.action;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframewor... | 28.595092 | 96 | 0.750268 |
9c441c73c53afacd8c937cc8bf74254e59ace5d6 | 65 | js | JavaScript | src/config.js | knair7/SAPCAI | ac082a58c4512aeeef17a514e5ea0af654d77082 | [
"MIT"
] | 1 | 2021-12-22T05:26:57.000Z | 2021-12-22T05:26:57.000Z | src/config.js | UsulPro/Webchat | 85e079ef8318601336f340835af7fc0f41c27332 | [
"MIT"
] | 1 | 2018-02-12T10:37:19.000Z | 2018-02-12T10:37:19.000Z | src/config.js | UsulPro/Webchat | 85e079ef8318601336f340835af7fc0f41c27332 | [
"MIT"
] | 1 | 2018-12-14T10:19:34.000Z | 2018-12-14T10:19:34.000Z | export default {
apiUrl: 'https://api.recast.ai/connect/v1',
}
| 16.25 | 45 | 0.676923 |
7433581b613967a33a367537548b58227e266647 | 565 | c | C | test_counters.c | Gopal-Dahale/xv6-public | 468430afb899fbec535202aa67bedf6c53f0c856 | [
"MIT-0"
] | 3 | 2021-06-09T05:08:43.000Z | 2021-06-29T06:42:04.000Z | test_counters.c | Gopal-Dahale/xv6-public | 468430afb899fbec535202aa67bedf6c53f0c856 | [
"MIT-0"
] | null | null | null | test_counters.c | Gopal-Dahale/xv6-public | 468430afb899fbec535202aa67bedf6c53f0c856 | [
"MIT-0"
] | null | null | null | #include "types.h"
#include "stat.h"
#include "user.h"
#include "uspinlock.h"
int main()
{
int ret;
int i;
// Initialize locks and counters
ucounter_init();
uspinlock_init();
ret = fork();
//both parent and child increment the same counter 10000 times each
for (i = 0; i < 10000; i++)
{
uspinloc... | 15.694444 | 69 | 0.59115 |
0ee10fa68de4de1804c29cac7d89ea5ea5b613ca | 175 | ts | TypeScript | src/app/data/model/cutting-fish.spec.ts | ajessikafernandes/estancia-restaurant | aec222557857d6757d94c5474fc7b90830d2c8eb | [
"MIT"
] | 1 | 2021-05-22T23:58:42.000Z | 2021-05-22T23:58:42.000Z | src/app/data/model/cutting-fish.spec.ts | ajessikafernandes/estancia-restaurant | aec222557857d6757d94c5474fc7b90830d2c8eb | [
"MIT"
] | null | null | null | src/app/data/model/cutting-fish.spec.ts | ajessikafernandes/estancia-restaurant | aec222557857d6757d94c5474fc7b90830d2c8eb | [
"MIT"
] | null | null | null | import { CuttingFish } from './cutting-fish';
describe('CuttingFish', () => {
it('should create an instance', () => {
expect(new CuttingFish()).toBeTruthy();
});
});
| 21.875 | 45 | 0.6 |
b6529f603c5da791b72540da54ed09872f0d75fd | 115 | rb | Ruby | test/ruby/hooks/on_worker_boot.rb | afxcn/unit | a336928e1027af92d0c9bb2ccb369a3f9b53abae | [
"Apache-2.0"
] | 2,633 | 2017-09-06T16:10:12.000Z | 2022-03-24T07:18:45.000Z | test/ruby/hooks/on_worker_boot.rb | afxcn/unit | a336928e1027af92d0c9bb2ccb369a3f9b53abae | [
"Apache-2.0"
] | 637 | 2017-09-06T23:43:11.000Z | 2022-03-31T19:28:46.000Z | test/ruby/hooks/on_worker_boot.rb | afxcn/unit | a336928e1027af92d0c9bb2ccb369a3f9b53abae | [
"Apache-2.0"
] | 365 | 2017-09-06T22:39:55.000Z | 2022-03-29T13:06:38.000Z | require 'securerandom'
on_worker_boot do
File.write("./cookie_worker_boot.#{SecureRandom.hex}", "booted")
end
| 19.166667 | 68 | 0.747826 |
163cb1f31edd68ddeb04262d9340a46c1ae5fcee | 3,812 | c | C | C_EXAMPLES/ESEMPI_DEL_LIBRO/cap16/cap16_heapsort.c | lsoffi/EsperienzeDiLaboratorioDiCalcolo201920 | 7a2a821b37cc8dfca527e9afb639a86a8e6c759b | [
"MIT"
] | 1 | 2019-10-18T10:03:58.000Z | 2019-10-18T10:03:58.000Z | C_EXAMPLES/ESEMPI_DEL_LIBRO/cap16/cap16_heapsort.c | lsoffi/EsperienzeDiLaboratorioDiCalcolo201920 | 7a2a821b37cc8dfca527e9afb639a86a8e6c759b | [
"MIT"
] | null | null | null | C_EXAMPLES/ESEMPI_DEL_LIBRO/cap16/cap16_heapsort.c | lsoffi/EsperienzeDiLaboratorioDiCalcolo201920 | 7a2a821b37cc8dfca527e9afb639a86a8e6c759b | [
"MIT"
] | null | null | null | /*
cap16_heapsort.c: Heapsort algorithm for data ordering.
Copyright (C) 2006 Federico Ricci-Tersenghi (Federico.Ricci@roma1.infn.it)
This program 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 ... | 27.824818 | 81 | 0.650315 |
7ae375b8e187bc5179298e4bdc0a00fbb1f87995 | 464 | rs | Rust | kani-compiler/src/codegen_cprover_gotoc/codegen/mod.rs | celinval/kani-dev | 677bacdb9ad7ce74dd20bbf6ba3cc6b87a6d7d16 | [
"Apache-2.0",
"MIT"
] | 111 | 2022-01-27T17:58:27.000Z | 2022-03-30T02:59:48.000Z | kani-compiler/src/codegen_cprover_gotoc/codegen/mod.rs | celinval/kani-dev | 677bacdb9ad7ce74dd20bbf6ba3cc6b87a6d7d16 | [
"Apache-2.0",
"MIT"
] | 228 | 2022-01-25T19:55:02.000Z | 2022-03-31T17:32:09.000Z | kani-compiler/src/codegen_cprover_gotoc/codegen/mod.rs | celinval/kani-dev | 677bacdb9ad7ce74dd20bbf6ba3cc6b87a6d7d16 | [
"Apache-2.0",
"MIT"
] | 7 | 2022-01-27T21:20:56.000Z | 2022-03-29T02:27:28.000Z | // Copyright Kani Contributors
// SPDX-License-Identifier: Apache-2.0 OR MIT
//! This module does that actual translation of MIR constructs to goto constructs.
//! Each subfile is named for the MIR construct it translates.
mod assert;
mod block;
mod function;
mod intrinsic;
mod operand;
mod place;
mod rvalue;
mod spa... | 20.173913 | 82 | 0.760776 |
ff7efb71e1e9742b5fa86086f195aa61321efb46 | 33,108 | sql | SQL | zjxm.sql | kingweiang/zjxm | c8b3d11dc324107e465d84cb87b0ff8f3c788d93 | [
"BSD-2-Clause"
] | null | null | null | zjxm.sql | kingweiang/zjxm | c8b3d11dc324107e465d84cb87b0ff8f3c788d93 | [
"BSD-2-Clause"
] | null | null | null | zjxm.sql | kingweiang/zjxm | c8b3d11dc324107e465d84cb87b0ff8f3c788d93 | [
"BSD-2-Clause"
] | null | null | null | /*
Navicat MySQL Data Transfer
Source Server : 111
Source Server Version : 50709
Source Host : localhost:3306
Source Database : zjxm
Target Server Type : MYSQL
Target Server Version : 50709
File Encoding : 65001
Date: 2017-05-23 09:17:18
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------... | 64.664063 | 568 | 0.624683 |
5c3c7545a1ad243a4ba9a2a802bf39a887b24c3d | 289 | h | C | ios/ReactNativeCountries.h | danceconvention/react-native-countries | 8bf5fb14cd96ed436f0810f2cb803da8adf001d2 | [
"MIT"
] | 16 | 2019-01-13T21:43:52.000Z | 2022-01-29T12:10:56.000Z | ios/ReactNativeCountries.h | danceconvention/react-native-countries | 8bf5fb14cd96ed436f0810f2cb803da8adf001d2 | [
"MIT"
] | 2 | 2020-01-16T23:10:16.000Z | 2020-01-20T08:09:43.000Z | ios/ReactNativeCountries.h | danceconvention/react-native-countries | 8bf5fb14cd96ed436f0810f2cb803da8adf001d2 | [
"MIT"
] | 4 | 2019-10-02T07:12:46.000Z | 2021-06-12T21:55:04.000Z | //
// ReactNativeCountries.h
// ReactNativeCountries
//
// Created by Talut TASGIRAN on 24.12.2018.
//
#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#else
#import <React/RCTBridgeModule.h>
#endif
@interface ReactNativeCountries : NSObject <RCTBridgeModule>
@end
| 17 | 60 | 0.750865 |
5f3a11ff0a84e6d64226bcaf918e020ff37958f6 | 504 | ts | TypeScript | dist/lib/createClassName.d.ts | DmitriVanGuard/svelte-preprocess-cssmodules | 3b24f22c1bed4ebfb1fd18e22c3588917b917a33 | [
"MIT"
] | null | null | null | dist/lib/createClassName.d.ts | DmitriVanGuard/svelte-preprocess-cssmodules | 3b24f22c1bed4ebfb1fd18e22c3588917b917a33 | [
"MIT"
] | null | null | null | dist/lib/createClassName.d.ts | DmitriVanGuard/svelte-preprocess-cssmodules | 3b24f22c1bed4ebfb1fd18e22c3588917b917a33 | [
"MIT"
] | null | null | null | import { PluginOptions } from '../types';
/**
* Create the interpolated name
* @param filename tthe resource filename
* @param markup Markup content
* @param style Stylesheet content
* @param className the className
* @param pluginOptions preprocess-cssmodules options
* @return the interpolated name
*/
declare ... | 38.769231 | 149 | 0.78373 |
d6a9963aab9f173b583fd272ba1457e76c00cd6e | 5,074 | swift | Swift | EmbeddedSocial/Sources/Modules/Activity/Entities/ActivityViewModels.swift | LDaneliukas/EmbeddedSocial-iOS-SDK | c1de4c64b9d744020d10bde8411db03968f24965 | [
"MIT"
] | 10 | 2019-07-05T19:35:10.000Z | 2021-07-12T18:02:33.000Z | EmbeddedSocial/Sources/Modules/Activity/Entities/ActivityViewModels.swift | LDaneliukas/EmbeddedSocial-iOS-SDK | c1de4c64b9d744020d10bde8411db03968f24965 | [
"MIT"
] | 365 | 2017-09-29T07:31:05.000Z | 2018-10-18T16:27:48.000Z | EmbeddedSocial/Sources/Modules/Activity/Entities/ActivityViewModels.swift | LDaneliukas/EmbeddedSocial-iOS-SDK | c1de4c64b9d744020d10bde8411db03968f24965 | [
"MIT"
] | 8 | 2019-08-07T07:13:30.000Z | 2021-11-10T10:11:30.000Z | //
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
//
import UIKit
protocol ActivityItemViewModel {
var cellID: String { get set }
var cellClass: UITableViewCell.Type { get set }
}
struct PendingRequestVi... | 36.503597 | 125 | 0.60268 |
007fb8d55bde628d5dee90865f5de781caca55fd | 10,042 | kt | Kotlin | src/backend/ci/core/image/biz-image/src/main/kotlin/com/tencent/devops/image/service/PushImageService.kt | Kinway050/bk-ci | 86fa21d345d9c06b3f6857ba38d8d8d0d96ca7e3 | [
"MIT"
] | 1,939 | 2019-05-29T05:15:45.000Z | 2022-03-29T11:49:16.000Z | src/backend/ci/core/image/biz-image/src/main/kotlin/com/tencent/devops/image/service/PushImageService.kt | Kinway050/bk-ci | 86fa21d345d9c06b3f6857ba38d8d8d0d96ca7e3 | [
"MIT"
] | 3,608 | 2019-06-05T07:55:23.000Z | 2022-03-31T15:03:41.000Z | src/backend/ci/core/image/biz-image/src/main/kotlin/com/tencent/devops/image/service/PushImageService.kt | Kinway050/bk-ci | 86fa21d345d9c06b3f6857ba38d8d8d0d96ca7e3 | [
"MIT"
] | 561 | 2019-05-29T07:15:10.000Z | 2022-03-29T09:32:15.000Z | /*
* Tencent is pleased to support the open source community by making BK-CI 蓝鲸持续集成平台 available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
*
* BK-CI 蓝鲸持续集成平台 is licensed under the MIT license.
*
* A copy of the MIT License is included in this file.
*
*
* Terms of the MIT... | 45.853881 | 119 | 0.674268 |
f054faecd1c3afb1400bddfe418fe3516e6092a0 | 4,489 | js | JavaScript | packages/wp-story-editor/src/api/test/media.js | igordanchenko/web-stories-wp | 2d71fc965a317b06b280ed65448d705d1d892eb7 | [
"Apache-2.0"
] | 24 | 2022-01-21T22:55:25.000Z | 2022-03-18T08:12:39.000Z | packages/wp-story-editor/src/api/test/media.js | igordanchenko/web-stories-wp | 2d71fc965a317b06b280ed65448d705d1d892eb7 | [
"Apache-2.0"
] | 796 | 2022-01-21T20:38:25.000Z | 2022-03-31T21:51:54.000Z | packages/wp-story-editor/src/api/test/media.js | igordanchenko/web-stories-wp | 2d71fc965a317b06b280ed65448d705d1d892eb7 | [
"Apache-2.0"
] | 8 | 2022-02-08T12:51:11.000Z | 2022-03-23T17:51:05.000Z | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 28.05625 | 82 | 0.652261 |
9671d678b496b5bd1714a0e06a8fe25b3fbd9372 | 2,769 | php | PHP | app/Http/Controllers/LabelsResourceController.php | austin-dudzik/spark | 4f2014121473ffe1a1f5929636b85272ff2ef421 | [
"MIT"
] | null | null | null | app/Http/Controllers/LabelsResourceController.php | austin-dudzik/spark | 4f2014121473ffe1a1f5929636b85272ff2ef421 | [
"MIT"
] | null | null | null | app/Http/Controllers/LabelsResourceController.php | austin-dudzik/spark | 4f2014121473ffe1a1f5929636b85272ff2ef421 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Traits\ViewSorter;
use App\Models\Label;
use App\Models\Task;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class LabelsResourceController extends Controller
{
use ViewSorter;
/**
* Display a list of all labels
*
*/
public... | 23.87069 | 82 | 0.506681 |
85bc51703c4a5daaf7e1a2b4105aaadec3f2acf7 | 1,238 | js | JavaScript | packages/app/src/containers/ServiceAntenneEdit/mutations.js | SocialGouv/emjpm | 935ad9a80af4e6481edc433dba11b7f4e2d37c77 | [
"Apache-2.0"
] | 16 | 2019-06-12T13:22:02.000Z | 2022-02-28T03:14:14.000Z | packages/app/src/containers/ServiceAntenneEdit/mutations.js | SocialGouv/emjpm | 935ad9a80af4e6481edc433dba11b7f4e2d37c77 | [
"Apache-2.0"
] | 1,568 | 2019-02-04T09:18:35.000Z | 2022-03-28T18:54:22.000Z | packages/app/src/containers/ServiceAntenneEdit/mutations.js | SocialGouv/emjpm | 935ad9a80af4e6481edc433dba11b7f4e2d37c77 | [
"Apache-2.0"
] | 9 | 2019-02-15T17:20:12.000Z | 2021-05-19T08:54:56.000Z | import gql from "graphql-tag";
export const EDIT_ANTENNE = gql`
mutation editAntenne(
$antenne_id: Int
$user_id: Int
$name: String
$mesures_max: Int
$contact_phone: String
$contact_lastname: String
$contact_firstname: String
$contact_email: String
$code_postal: String
$departe... | 22.107143 | 45 | 0.601777 |
a17ff841d70dc876059b3590bbe2359c33235ec6 | 4,076 | kt | Kotlin | gallery/src/main/java/com/worldsnas/gallery/adapter/ImageViewerAdapter.kt | worldsnas/AIO | c7d084d2cf2c4f9486337fe347d5d6b8b5806e0a | [
"Apache-2.0"
] | 58 | 2019-07-05T06:49:17.000Z | 2021-11-29T00:35:36.000Z | gallery/src/main/java/com/worldsnas/gallery/adapter/ImageViewerAdapter.kt | seyedjafariy/AIO | c7d084d2cf2c4f9486337fe347d5d6b8b5806e0a | [
"Apache-2.0"
] | 1 | 2019-06-24T17:55:19.000Z | 2019-06-24T17:55:19.000Z | gallery/src/main/java/com/worldsnas/gallery/adapter/ImageViewerAdapter.kt | seyedjafariy/AIO | c7d084d2cf2c4f9486337fe347d5d6b8b5806e0a | [
"Apache-2.0"
] | 12 | 2019-07-04T15:09:37.000Z | 2021-07-27T14:17:23.000Z | package com.worldsnas.gallery.adapter
import android.content.Context
import android.graphics.drawable.Animatable
import android.net.Uri
import android.view.View
import android.view.ViewGroup
import com.facebook.drawee.backends.pipeline.Fresco
import com.facebook.drawee.controller.BaseControllerListener
import com.face... | 32.870968 | 108 | 0.659961 |
087760c8fe2e402c7962071306b00683c64d544a | 1,870 | swift | Swift | Rocket.Chat/API/Requests/UserInfoRequest.swift | ichat-intelizign/iOSIchatOldCode | e6d303a68644d90cda43ef69beb8d4619ea5a9d6 | [
"MIT"
] | null | null | null | Rocket.Chat/API/Requests/UserInfoRequest.swift | ichat-intelizign/iOSIchatOldCode | e6d303a68644d90cda43ef69beb8d4619ea5a9d6 | [
"MIT"
] | null | null | null | Rocket.Chat/API/Requests/UserInfoRequest.swift | ichat-intelizign/iOSIchatOldCode | e6d303a68644d90cda43ef69beb8d4619ea5a9d6 | [
"MIT"
] | null | null | null | //
// UserInfoRequest.swift
// Rocket.Chat
//
// Created by Matheus Cardoso on 9/19/17.
// Copyright © 2017 Rocket.Chat. All rights reserved.
//
// DOCS: https://rocket.chat/docs/developer-guides/rest-api/users/info
import SwiftyJSON
typealias UserInfoResult = APIResult<UserInfoRequest>
class UserInfoRequest: A... | 21.25 | 71 | 0.575936 |
2f11dc1af2a03ebe590b1c5caf66b115a1e6e2ee | 803 | php | PHP | app/Models/Chat.php | Group5-HCMUS/Back-end-Php | a20f6755bd0df942dbce9cdd76cd76231b39c2c0 | [
"MIT"
] | null | null | null | app/Models/Chat.php | Group5-HCMUS/Back-end-Php | a20f6755bd0df942dbce9cdd76cd76231b39c2c0 | [
"MIT"
] | 1 | 2021-02-02T16:24:50.000Z | 2021-02-02T16:24:50.000Z | app/Models/Chat.php | Group5-HCMUS/Back-end-Php | a20f6755bd0df942dbce9cdd76cd76231b39c2c0 | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Illuminate\Support\Arr;
use Laravel\Scout\Searchable;
class Chat extends Model
{
use Searchable;
protected $table = 'chats';
/**
* @return array
*/
public function toSearchableArray()
{
return Arr::only(Arr::dot($this->toArray()), [
... | 18.674419 | 64 | 0.562889 |
e3bc83dc4e73ac7d2bd9123447cf917d8998cad2 | 14,036 | kt | Kotlin | stately-collections/src/commonTest/kotlin/co/touchlab/stately/collections/SharedLinkedListTest.kt | rafaeltoledo/Stately | 2091d59fc30a10b06b11f9550f18aac4e2df0953 | [
"Apache-2.0"
] | null | null | null | stately-collections/src/commonTest/kotlin/co/touchlab/stately/collections/SharedLinkedListTest.kt | rafaeltoledo/Stately | 2091d59fc30a10b06b11f9550f18aac4e2df0953 | [
"Apache-2.0"
] | null | null | null | stately-collections/src/commonTest/kotlin/co/touchlab/stately/collections/SharedLinkedListTest.kt | rafaeltoledo/Stately | 2091d59fc30a10b06b11f9550f18aac4e2df0953 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2018 Touchlab, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 23.749577 | 120 | 0.599031 |
6f2ef73c368f2d643e55977e78ee6a43d4b11403 | 512 | swift | Swift | SpherumiOS/Spherum/Models/Api/PresignMediaFileURL.swift | SquoES/iOSPointCloudIntegration | 353dd74f8e103310291ec8f9f7702aa21c221987 | [
"MIT"
] | null | null | null | SpherumiOS/Spherum/Models/Api/PresignMediaFileURL.swift | SquoES/iOSPointCloudIntegration | 353dd74f8e103310291ec8f9f7702aa21c221987 | [
"MIT"
] | null | null | null | SpherumiOS/Spherum/Models/Api/PresignMediaFileURL.swift | SquoES/iOSPointCloudIntegration | 353dd74f8e103310291ec8f9f7702aa21c221987 | [
"MIT"
] | null | null | null | struct PresignMediaFileURL {
private let content: [String: Any]
init(content: [String: Any]) {
self.content = content
}
private var sourceFields: [String: Any] {
content["source_fields"] as! [String: Any]
}
var id: Int {
content["id"] as! Int
}
... | 19.692308 | 51 | 0.537109 |
dfc241b546ce6fc34d95c9501a42c70cbfe19b81 | 621 | ts | TypeScript | src/types.ts | optionfactory/category-heatmap | f36d5901db0539b3904d4a5e6e4f9557d3f9d962 | [
"Apache-2.0"
] | null | null | null | src/types.ts | optionfactory/category-heatmap | f36d5901db0539b3904d4a5e6e4f9557d3f9d962 | [
"Apache-2.0"
] | null | null | null | src/types.ts | optionfactory/category-heatmap | f36d5901db0539b3904d4a5e6e4f9557d3f9d962 | [
"Apache-2.0"
] | null | null | null | import { ColorScale } from 'plotly.js';
export interface HeatmapOptions {
xAxisField: string;
xSorterType: 'text' | 'number' | 'version';
yAxisField: string;
ySorterType: 'text' | 'number' | 'version';
valuesField: string;
showInPercentage: boolean;
colorscale: ColorScale;
nullValuesAsZero: boolean;
... | 23.884615 | 45 | 0.714976 |
bb5aaaa0d3fef3dd42668c8ddbae4e10b7bd7081 | 1,111 | html | HTML | Quizify-FrontEnd/src/app/quizify/components/login/login.component.html | vingu121/Quizify_final | 3d943c4c1e5fe4c369f794715747049adf633e90 | [
"Apache-2.0"
] | null | null | null | Quizify-FrontEnd/src/app/quizify/components/login/login.component.html | vingu121/Quizify_final | 3d943c4c1e5fe4c369f794715747049adf633e90 | [
"Apache-2.0"
] | null | null | null | Quizify-FrontEnd/src/app/quizify/components/login/login.component.html | vingu121/Quizify_final | 3d943c4c1e5fe4c369f794715747049adf633e90 | [
"Apache-2.0"
] | null | null | null | <app-header></app-header>
<div class="container">
<!-- <div class="pics"> -->
<mat-card >
<h2>Login</h2>
<form [formGroup]="user" (ngSubmit)="login()">
<mat-form-field appearance="outline" class="id">
<mat-label>Username</mat-label>
<input matInput placeholder="Enter your username"... | 30.027027 | 125 | 0.60216 |
7f205813f587d05efa32bc687d44a6c607134491 | 6,857 | go | Go | api/v1alpha1/zz_generated.deepcopy.go | JamesLaverack/minecraft-operator | dc2d1bf5eb3bc6002917a487b176eb53144a4380 | [
"Apache-2.0"
] | 4 | 2022-01-24T07:43:12.000Z | 2022-02-02T22:54:18.000Z | api/v1alpha1/zz_generated.deepcopy.go | JamesLaverack/minecraft-operator | dc2d1bf5eb3bc6002917a487b176eb53144a4380 | [
"Apache-2.0"
] | 15 | 2022-02-06T05:24:00.000Z | 2022-03-31T01:07:47.000Z | api/v1alpha1/zz_generated.deepcopy.go | JamesLaverack/minecraft-operator | dc2d1bf5eb3bc6002917a487b176eb53144a4380 | [
"Apache-2.0"
] | null | null | null | //go:build !ignore_autogenerated
// +build !ignore_autogenerated
/*
Copyright 2022.
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 ... | 28.334711 | 114 | 0.708181 |
fb3f23f5016f62fe3a0bf6a3287072efb85bdede | 2,498 | h | C | src/core/models/inputs/utxo_input.h | bernardoaraujor/iota.c | 482e0806a4f5933307f82371772e5476a47190af | [
"Apache-2.0"
] | null | null | null | src/core/models/inputs/utxo_input.h | bernardoaraujor/iota.c | 482e0806a4f5933307f82371772e5476a47190af | [
"Apache-2.0"
] | null | null | null | src/core/models/inputs/utxo_input.h | bernardoaraujor/iota.c | 482e0806a4f5933307f82371772e5476a47190af | [
"Apache-2.0"
] | null | null | null | #ifndef __CORE_MODELS_INPUTS_UTXO_INPUT_H__
#define __CORE_MODELS_INPUTS_UTXO_INPUT_H__
#include <stdint.h>
#include "core/types.h"
#include "utarray.h"
#define TRANSACTION_ID_BYTES 32
typedef struct {
input_t type; // Set to value 0 to denote a UTXO Input.
byte_t tx_id[TRANSACTION_ID_BYT... | 25.232323 | 117 | 0.720977 |
21dd8aac1d024af36da34b8f9dd1472fa2550abf | 19,106 | html | HTML | react/sectionlist.html | SKsakibul125/symmetrical-system | cb21d7a76d4821cc66dee6d41d12c1e0ef3a7335 | [
"Unlicense"
] | 7 | 2021-08-20T00:30:13.000Z | 2022-02-17T17:28:46.000Z | react/sectionlist.html | SKsakibul125/symmetrical-system | cb21d7a76d4821cc66dee6d41d12c1e0ef3a7335 | [
"Unlicense"
] | 15 | 2021-07-30T18:48:20.000Z | 2022-03-26T12:42:22.000Z | react/sectionlist.html | SKsakibul125/symmetrical-system | cb21d7a76d4821cc66dee6d41d12c1e0ef3a7335 | [
"Unlicense"
] | 3 | 2021-08-31T00:50:25.000Z | 2022-01-25T16:38:20.000Z | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>SectionList</title>
<style type="text/css">
code{w... | 39.312757 | 916 | 0.694808 |
70dc725ccf32e9d60106d386ebd957e8de6b19cd | 2,342 | c | C | Array/wuchao/other/7-16 c实现string函数/StringUtils.c | JessonYue/LeetCodeLearning | 3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79 | [
"MIT"
] | 39 | 2020-05-31T06:14:39.000Z | 2021-01-09T11:06:39.000Z | Array/wuchao/other/7-16 c实现string函数/StringUtils.c | JessonYue/LeetCodeLearning | 3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79 | [
"MIT"
] | 7 | 2020-06-02T11:04:14.000Z | 2020-06-11T14:11:58.000Z | Array/wuchao/other/7-16 c实现string函数/StringUtils.c | JessonYue/LeetCodeLearning | 3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79 | [
"MIT"
] | 20 | 2020-05-31T06:21:57.000Z | 2020-10-01T04:48:38.000Z | //
// Created by 吴超 on 2020/7/16.
//
#include <stdlib.h>
#include <stdio.h>
/**
* C语言实现strcpy(字符串复制)、strcat(字符串链接)、strstr(字符串包含)、strchr(字符出现位置)、memcpy(拷贝)
*/
char *strcpy(char *source);
char *strcat(char *dest, char *source);
int strstr(char *dest, char *source);
int strchr(char *source, char target);
void* memc... | 20.54386 | 75 | 0.521349 |
2a606ec966f9c6ffd02986f770872de48ddff63c | 2,891 | java | Java | SimpleGame/world/Callout.java | aristocrates/javagames | 2ddd263c335dd01d9840c5b64c91925dfd2e574d | [
"BSD-2-Clause"
] | 1 | 2019-06-03T18:38:12.000Z | 2019-06-03T18:38:12.000Z | SimpleGame/world/Callout.java | aristocrates/javagames | 2ddd263c335dd01d9840c5b64c91925dfd2e574d | [
"BSD-2-Clause"
] | null | null | null | SimpleGame/world/Callout.java | aristocrates/javagames | 2ddd263c335dd01d9840c5b64c91925dfd2e574d | [
"BSD-2-Clause"
] | null | null | null | package world;
import java.awt.*;
import java.awt.image.*;
import otherStuff.*;
/**
* Write a description of class Callout here.
*
* @author Aristocrates, barbecue chef / j̶a̶r̶g̶o̶n̶ ̶s̶p̶o̶u̶t̶i̶n̶g̶ ̶m̶a̶n̶i̶a̶c̶
* part time philosopher
* @version sin(π/2)
*/
public class Callout extends GameCom... | 26.045045 | 106 | 0.547907 |
cb1e6d79beeacfa592ba44e3a0da4cbf5d7ead2e | 3,281 | h | C | raspberry/nfc_deamon/SW369321/Platform/DAL/inc/phDriver.h | ccruzp/drs-netatmo | 87d178364dbc8c1e7259a9d7d202c9f1c86b6d2f | [
"MIT"
] | 2 | 2019-11-08T12:45:38.000Z | 2019-11-09T16:31:12.000Z | raspberry/nfc_deamon/SW369321/Platform/DAL/inc/phDriver.h | ccruzp/drs-netatmo | 87d178364dbc8c1e7259a9d7d202c9f1c86b6d2f | [
"MIT"
] | null | null | null | raspberry/nfc_deamon/SW369321/Platform/DAL/inc/phDriver.h | ccruzp/drs-netatmo | 87d178364dbc8c1e7259a9d7d202c9f1c86b6d2f | [
"MIT"
] | 2 | 2019-11-07T21:56:59.000Z | 2019-11-08T02:20:59.000Z | /*
* Copyright (c), NXP Semiconductors Bangalore / India
*
* (C)NXP Semiconductors
* All rights are reserved. Reproduction in whole or in part is
* prohibited without the written consent of the copyright owner.
* NXP reserves the right to make changes without notice at any ... | 26.893443 | 124 | 0.657422 |
0be3afb3dae0c132a420748fa1f1f5bb6ccbc5e8 | 3,738 | js | JavaScript | gulpfile.js | MediaComem/biosentiers-landing-page | cceb1d46185a481cc1c898ed8856062a8aad7056 | [
"MIT"
] | null | null | null | gulpfile.js | MediaComem/biosentiers-landing-page | cceb1d46185a481cc1c898ed8856062a8aad7056 | [
"MIT"
] | null | null | null | gulpfile.js | MediaComem/biosentiers-landing-page | cceb1d46185a481cc1c898ed8856062a8aad7056 | [
"MIT"
] | null | null | null | var gulp = require('gulp');
var less = require('gulp-less');
var sass = require('gulp-sass');
var browserSync = require('browser-sync').create();
var header = require('gulp-header');
var cleanCSS = require('gulp-clean-css');
var proxy = require('proxy-middleware');
var rename = require("gulp-rename");
var uglify = requ... | 27.485294 | 117 | 0.605136 |
dab22665201a165519e48436ede801e845252ef7 | 1,939 | kt | Kotlin | paymen-channel/src/main/java/it/barusu/paymen/channel/AbstractConverter.kt | barusu-it/paymen | 8a4033387099273d1fed60dfabfa761b425f7a8d | [
"Apache-2.0"
] | null | null | null | paymen-channel/src/main/java/it/barusu/paymen/channel/AbstractConverter.kt | barusu-it/paymen | 8a4033387099273d1fed60dfabfa761b425f7a8d | [
"Apache-2.0"
] | null | null | null | paymen-channel/src/main/java/it/barusu/paymen/channel/AbstractConverter.kt | barusu-it/paymen | 8a4033387099273d1fed60dfabfa761b425f7a8d | [
"Apache-2.0"
] | null | null | null | package it.barusu.paymen.channel
import it.barusu.paymen.channel.process.*
import it.barusu.paymen.common.RequestType
import it.barusu.paymen.util.ApiException
abstract class AbstractConverter : Converter {
override fun writeTo(request: Request): String =
when (request.type) {
Request... | 47.292683 | 116 | 0.71377 |
e9b8c2ce44a488f1397678a706f15f33861f3edf | 4,469 | rs | Rust | ffxiv-act-linux-host/src/net/mod.rs | CerulanLumina/ffxiv-act-linux-interface | ed7feff350e0a4303461d49f1fab278157a46b53 | [
"Apache-2.0"
] | 9 | 2019-08-21T01:07:46.000Z | 2021-06-29T19:54:54.000Z | ffxiv-act-linux-host/src/net/mod.rs | CerulanLumina/ffxiv-act-linux-interface | ed7feff350e0a4303461d49f1fab278157a46b53 | [
"Apache-2.0"
] | 9 | 2019-08-20T21:58:43.000Z | 2020-09-18T21:29:11.000Z | ffxiv-act-linux-host/src/net/mod.rs | CerulanLumina/ffxiv-act-linux-interface | ed7feff350e0a4303461d49f1fab278157a46b53 | [
"Apache-2.0"
] | null | null | null | use std::io::prelude::*;
use std::net::{TcpListener};
use std::sync::mpsc;
use std::thread;
use crate::pcap;
use pcap::{Device, Capture};
use etherparse::SlicedPacket;
use crate::NetConfig;
use std::process::Command;
pub fn start_packet_redirection(net_config: NetConfig, ffxiv: i32) -> bool {
let interface = ... | 34.914063 | 143 | 0.511971 |
e757ab8ea0f6be3a3b225ad848b211f183430871 | 1,682 | sql | SQL | src/main/resources/data-h2.sql | edoardo-liotta/Backend-for-Beginners-Group-project | 3024b7e92912de56503578fd4749a068cf98790f | [
"MIT"
] | null | null | null | src/main/resources/data-h2.sql | edoardo-liotta/Backend-for-Beginners-Group-project | 3024b7e92912de56503578fd4749a068cf98790f | [
"MIT"
] | null | null | null | src/main/resources/data-h2.sql | edoardo-liotta/Backend-for-Beginners-Group-project | 3024b7e92912de56503578fd4749a068cf98790f | [
"MIT"
] | null | null | null | INSERT INTO article (id, title, image, content, tag, approve) VALUES (1, 'Article Title 1', 'https://placeimg.com/640/480/tech?1','Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris cond... | 336.4 | 390 | 0.763377 |
c7fc96de64f4d8112068caf481a1a1034ef75524 | 3,137 | java | Java | Ghidra/Debug/Debugger-agent-dbgmodel/src/main/java/agent/dbgmodel/jna/dbgmodel/datamodel/script/debug/WrapIDataModelScriptDebug.java | sigurasg/ghidra | ee268dea09d8f2632d73b0d00cdda3a377a744e1 | [
"Apache-2.0"
] | 17 | 2022-01-15T03:52:37.000Z | 2022-03-30T18:12:17.000Z | Ghidra/Debug/Debugger-agent-dbgmodel/src/main/java/agent/dbgmodel/jna/dbgmodel/datamodel/script/debug/WrapIDataModelScriptDebug.java | sigurasg/ghidra | ee268dea09d8f2632d73b0d00cdda3a377a744e1 | [
"Apache-2.0"
] | 9 | 2022-01-15T03:58:02.000Z | 2022-02-21T10:22:49.000Z | Ghidra/Debug/Debugger-agent-dbgmodel/src/main/java/agent/dbgmodel/jna/dbgmodel/datamodel/script/debug/WrapIDataModelScriptDebug.java | sigurasg/ghidra | ee268dea09d8f2632d73b0d00cdda3a377a744e1 | [
"Apache-2.0"
] | 1 | 2021-10-02T01:25:14.000Z | 2021-10-02T01:25:14.000Z | /* ###
* IP: GHIDRA
*
* 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 writin... | 31.686869 | 98 | 0.790245 |
d81e764d04c6b1415ce486053b287a79261f5bc4 | 780 | swift | Swift | Radio/Interfaces/UI/Modules/NewsListView/NewsListView.swift | Daedren/radio-ios | f8559a43f34eefc12a6d28cffa0fa7bad015e8d5 | [
"MIT"
] | 2 | 2021-01-20T21:48:38.000Z | 2021-08-31T20:57:45.000Z | Radio/Interfaces/UI/Modules/NewsListView/NewsListView.swift | Daedren/radio-ios | f8559a43f34eefc12a6d28cffa0fa7bad015e8d5 | [
"MIT"
] | 5 | 2020-01-04T14:42:01.000Z | 2020-04-20T17:12:18.000Z | Radio/Interfaces/UI/Modules/NewsListView/NewsListView.swift | Daedren/radio-ios | f8559a43f34eefc12a6d28cffa0fa7bad015e8d5 | [
"MIT"
] | null | null | null | import SwiftUI
struct NewsListView<P: NewsListPresenter>: View {
@ObservedObject var presenter: P
var properties: NewsListProperties
init(presenter: P, properties: NewsListProperties) {
self.presenter = presenter
self.properties = properties
}
var body: some View {
... | 26 | 56 | 0.629487 |
dd7c7dc5571c09c2ecac5442f27ce2495f8e641b | 278 | php | PHP | environment/owncloud_releases/OC60/apps/files/ajax/getstoragestats.php | gorootde/owncloud | 565f1a3d28ba36c18f640cc9ca4faf71b9ff5f27 | [
"Apache-2.0"
] | 1 | 2020-05-25T22:18:25.000Z | 2020-05-25T22:18:25.000Z | apps/owncloud/htdocs/apps/files/ajax/getstoragestats.php | ArcherCraftStore/ArcherVMPeridot | a34cc477ba078e1609de42fab258ca0c1691f999 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | null | null | null | apps/owncloud/htdocs/apps/files/ajax/getstoragestats.php | ArcherCraftStore/ArcherVMPeridot | a34cc477ba078e1609de42fab258ca0c1691f999 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | null | null | null | <?php
// only need filesystem apps
$RUNTIME_APPTYPES = array('filesystem');
$dir = '/';
if (isset($_GET['dir'])) {
$dir = $_GET['dir'];
}
OCP\JSON::checkLoggedIn();
// send back json
OCP\JSON::success(array('data' => \OCA\Files\Helper::buildFileStorageStatistics($dir)));
| 17.375 | 88 | 0.651079 |
0e82eb52d009f2ad587c8f7478aa82c78847125c | 139 | html | HTML | client/static/templates/mobile/overlay-sheet.html | rybon/Remocial | 324107c2471513c9b28729c1d5ac8a2a2c1cb034 | [
"MIT"
] | null | null | null | client/static/templates/mobile/overlay-sheet.html | rybon/Remocial | 324107c2471513c9b28729c1d5ac8a2a2c1cb034 | [
"MIT"
] | null | null | null | client/static/templates/mobile/overlay-sheet.html | rybon/Remocial | 324107c2471513c9b28729c1d5ac8a2a2c1cb034 | [
"MIT"
] | null | null | null | <div class="overlay" ng-show="isShown" overlay>
<alert-box></alert-box>
<confirm-box></confirm-box>
<prompt-box></prompt-box>
</div>
| 23.166667 | 47 | 0.661871 |
e618e2b0f0751a626f7d192bdb83b88372201cbe | 494 | asm | Assembly | programs/oeis/007/A007667.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/007/A007667.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/007/A007667.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A007667: The sum of both two and three consecutive squares.
; 5,365,35645,3492725,342251285,33537133085,3286296790925,322023548377445,31555021444198565,3092070077983081805,302991312620897818205,29690056566770003102165,2909322552230839406193845,285083920062055491803894525,27935314843529207357375469485,2737375770745800... | 54.888889 | 343 | 0.856275 |
df947e31cb421d616ea0a0a99bb610e36a876113 | 2,148 | ts | TypeScript | wallet-server-ui-proxy/middleware/backup.ts | user411/bitcoin-s-ts | 4f5bfb586a47103e606ef8d1d4eb913f51103a29 | [
"MIT"
] | 11 | 2021-09-14T20:59:22.000Z | 2022-03-09T09:01:49.000Z | wallet-server-ui-proxy/middleware/backup.ts | user411/bitcoin-s-ts | 4f5bfb586a47103e606ef8d1d4eb913f51103a29 | [
"MIT"
] | 64 | 2021-08-30T15:24:52.000Z | 2022-03-23T14:21:21.000Z | wallet-server-ui-proxy/middleware/backup.ts | user411/bitcoin-s-ts | 4f5bfb586a47103e606ef8d1d4eb913f51103a29 | [
"MIT"
] | 4 | 2021-09-10T13:30:18.000Z | 2022-03-28T12:38:57.000Z | import fs from 'fs'
import path from 'path'
import { Request, Response } from 'express'
import * as WalletServer from 'wallet-ts/lib/index'
import { RunConfig } from '../type/run-config'
const Config = <RunConfig>require('../type/run-config')
const logger = require('../middleware/logger')
WalletServer.ConfigureSe... | 32.059701 | 94 | 0.664339 |
55a4bf267de2c5b2fdbb751d58e6014f220e9218 | 941 | sql | SQL | ontrack-backend/src/main/resources/META-INF/db/update.24.sql | joansmith1/ontrack | ef31174d0310a35cbb011a950e1a7d81552cf216 | [
"MIT"
] | null | null | null | ontrack-backend/src/main/resources/META-INF/db/update.24.sql | joansmith1/ontrack | ef31174d0310a35cbb011a950e1a7d81552cf216 | [
"MIT"
] | null | null | null | ontrack-backend/src/main/resources/META-INF/db/update.24.sql | joansmith1/ontrack | ef31174d0310a35cbb011a950e1a7d81552cf216 | [
"MIT"
] | null | null | null | -- Build clean-up configuration
CREATE TABLE BUILD_CLEANUP (
ID INTEGER NOT NULL AUTO_INCREMENT,
BRANCH INTEGER NOT NULL,
RETENTION INTEGER NOT NULL,
CONSTRAINT PK_BUILD_CLEANUP PRIMARY KEY (ID),
CONSTRAINT UQ_BUILD_CLEANUP UNIQUE (BRANCH),
CONSTRAINT FK_BUILD_CLEANUP_BRANCH FOREIGN KEY (BRANCH) REFERENCES... | 36.192308 | 132 | 0.816153 |
85b0cec480ecde17c4381ae390cadcb69ed2d9d6 | 2,319 | js | JavaScript | config.js | pghayad/phase-3-syllabus-gatsby | fde1d63cace352736f7963933c310d0d0c2b4850 | [
"MIT"
] | null | null | null | config.js | pghayad/phase-3-syllabus-gatsby | fde1d63cace352736f7963933c310d0d0c2b4850 | [
"MIT"
] | null | null | null | config.js | pghayad/phase-3-syllabus-gatsby | fde1d63cace352736f7963933c310d0d0c2b4850 | [
"MIT"
] | 1 | 2021-07-29T19:24:12.000Z | 2021-07-29T19:24:12.000Z | const config = {
gatsby: {
pathPrefix: '/',
siteUrl: 'https://flatiron-phase-3.netlify.app',
gaTrackingId: null,
trailingSlash: false,
},
header: {
logo:
'https://instructure-uploads.s3.amazonaws.com/account_158020000000000001/attachments/43742/logo-primary.svg',
logoLink: 'https://f... | 29.35443 | 119 | 0.612333 |
c6d25c4f72141f03ee058e94885ee553877d91e6 | 930 | rb | Ruby | spec/controllers/admin/choices_controller_spec.rb | ianfleeton/zmey | d533ea22a6bbc051d6743aafb63beb3d69d8825c | [
"MIT"
] | null | null | null | spec/controllers/admin/choices_controller_spec.rb | ianfleeton/zmey | d533ea22a6bbc051d6743aafb63beb3d69d8825c | [
"MIT"
] | 8 | 2015-03-19T13:05:58.000Z | 2021-08-10T18:34:30.000Z | spec/controllers/admin/choices_controller_spec.rb | ianfleeton/zmey | d533ea22a6bbc051d6743aafb63beb3d69d8825c | [
"MIT"
] | null | null | null | require "rails_helper"
module Admin
RSpec.describe ChoicesController, type: :controller do
before do
logged_in_as_admin
end
describe "GET new" do
it "instantiates a new Choice" do
allow(controller).to receive(:feature_valid?)
expect(Choice).to receive(:new).and_return(double(... | 28.181818 | 81 | 0.649462 |
707f0ce9400530dd6011d12fa7f035d8111e1ea8 | 1,026 | swift | Swift | SwiftUILocalNoti/DataService/ReminderMessageDataStore.swift | ketyung/SwiftUILocalNoti | 0a95fee3e5d7114dadd48cd116443e109af7c4b6 | [
"Unlicense"
] | 4 | 2021-04-04T23:40:43.000Z | 2022-02-02T16:58:26.000Z | SwiftUILocalNoti/DataService/ReminderMessageDataStore.swift | ketyung/SwiftUILocalNoti | 0a95fee3e5d7114dadd48cd116443e109af7c4b6 | [
"Unlicense"
] | null | null | null | SwiftUILocalNoti/DataService/ReminderMessageDataStore.swift | ketyung/SwiftUILocalNoti | 0a95fee3e5d7114dadd48cd116443e109af7c4b6 | [
"Unlicense"
] | null | null | null | //
// MessageDataStore.swift
// SwiftUILocalNoti
//
// Created by Chee Ket Yung on 15/03/2021.
//
import Foundation
typealias DS = ReminderMessageDataStore
struct ReminderMessageDataStore {
static let shared = ReminderMessageDataStore()
private let key = "com.techchee.savedReminderMessage"
... | 22.8 | 98 | 0.590643 |
dde2ed2c56369f4b209b0d63500c208121d334d2 | 1,562 | h | C | libdrm/tests/util/kms.h | Keneral/ae1 | e5bbf05e3a01b449f33cca14c5ce8048df45624b | [
"Unlicense"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | libdrm/tests/util/kms.h | Keneral/ae1 | e5bbf05e3a01b449f33cca14c5ce8048df45624b | [
"Unlicense"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | libdrm/tests/util/kms.h | Keneral/ae1 | e5bbf05e3a01b449f33cca14c5ce8048df45624b | [
"Unlicense"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | /*
* Copyright 2008 Tungsten Graphics
* Jakob Bornecrantz <jakob@tungstengraphics.com>
* Copyright 2008 Intel Corporation
* Jesse Barnes <jesse.barnes@intel.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Softwa... | 43.388889 | 79 | 0.773367 |
86e47bb5e2ce2c884d0167457bd0767b8e00e018 | 5,568 | sql | SQL | ipbkostdb.sql | muhamadshb/IPB-Kost | 31f4c20539e2a364f040c5b7d702ab6e22dbad86 | [
"Apache-2.0"
] | 1 | 2021-03-06T16:55:27.000Z | 2021-03-06T16:55:27.000Z | ipbkostdb.sql | muhamadshb/IPB-Kost | 31f4c20539e2a364f040c5b7d702ab6e22dbad86 | [
"Apache-2.0"
] | null | null | null | ipbkostdb.sql | muhamadshb/IPB-Kost | 31f4c20539e2a364f040c5b7d702ab6e22dbad86 | [
"Apache-2.0"
] | 2 | 2020-07-07T04:12:32.000Z | 2020-10-20T23:34:58.000Z | -- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server version: 10.1.16-MariaDB - mariadb.org binary distribution
-- Server OS: Win32
-- HeidiSQL Version: 9.4.0.5125
-- ------------------------------------------------... | 40.941176 | 177 | 0.669899 |
22a688b908f3c37e4557079ac3b345cd31e82621 | 536 | lua | Lua | lua/duckbones/init.lua | thuanpham2311/zenbones.nvim | 6e36feccb3554a743ef0720abd13fea7bd8bc9dd | [
"MIT"
] | 166 | 2021-08-23T08:18:47.000Z | 2022-03-30T02:40:53.000Z | lua/duckbones/init.lua | thuanpham2311/zenbones.nvim | 6e36feccb3554a743ef0720abd13fea7bd8bc9dd | [
"MIT"
] | 29 | 2021-08-25T05:35:32.000Z | 2022-03-12T06:37:53.000Z | lua/duckbones/init.lua | thuanpham2311/zenbones.nvim | 6e36feccb3554a743ef0720abd13fea7bd8bc9dd | [
"MIT"
] | 10 | 2021-08-31T16:43:27.000Z | 2022-03-03T17:22:30.000Z | local lush = require "lush"
local generator = require "zenbones.specs"
local p = require("duckbones.palette").dark
local specs = generator.generate(p, "dark", generator.get_global_config("duckbones", "dark"))
return lush.extends({ specs }).with(function()
---@diagnostic disable: undefined-global
-- selene: allow(un... | 29.777778 | 93 | 0.710821 |
cc533564239dcc395c66b1c67f91aaf1df7426eb | 3,772 | sql | SQL | apgdiff.tests/src/main/resources/cz/startnet/utils/pgdiff/depcies/move_obj_to_schema_new.sql | cb-deepak/pgcodekeeper | 71611194f163d37b456a6f377d97111f1cb23d65 | [
"Apache-2.0"
] | 96 | 2017-12-12T09:35:34.000Z | 2022-03-29T16:56:02.000Z | apgdiff.tests/src/main/resources/cz/startnet/utils/pgdiff/depcies/move_obj_to_schema_new.sql | cb-deepak/pgcodekeeper | 71611194f163d37b456a6f377d97111f1cb23d65 | [
"Apache-2.0"
] | 81 | 2017-12-13T08:03:47.000Z | 2022-03-16T08:57:23.000Z | apgdiff.tests/src/main/resources/cz/startnet/utils/pgdiff/depcies/move_obj_to_schema_new.sql | cb-deepak/pgcodekeeper | 71611194f163d37b456a6f377d97111f1cb23d65 | [
"Apache-2.0"
] | 16 | 2018-04-23T12:11:22.000Z | 2022-01-12T08:03:11.000Z | --
-- PostgreSQL database dump
--
-- Dumped from database version 9.6.3
-- Dumped by pg_dump version 9.6.3
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min... | 19.957672 | 109 | 0.681336 |
170ab76ea8a1f8e700657ff2bde2e70b5f42af03 | 1,159 | h | C | version/Core/Public/IHooks.h | K07H/ARK-Server-API | 4136c039dfefa9d1acbe94aaf14c2bd998e2f3d7 | [
"MIT"
] | 61 | 2018-03-31T16:51:44.000Z | 2022-03-19T17:09:01.000Z | version/Core/Public/IHooks.h | WETBATMAN/ARK-Server-API | f040d87a258f5185e204a49c9f49455dca0e7503 | [
"MIT"
] | 14 | 2018-02-05T19:24:13.000Z | 2022-01-08T05:02:28.000Z | version/Core/Public/IHooks.h | WETBATMAN/ARK-Server-API | f040d87a258f5185e204a49c9f49455dca0e7503 | [
"MIT"
] | 74 | 2018-01-28T10:34:42.000Z | 2022-03-26T14:38:13.000Z | #pragma once
#include <API/Base.h>
namespace ArkApi
{
class ARK_API IHooks
{
public:
virtual ~IHooks() = default;
/**
* \brief Hooks a function. Hooks are called in the reverse order.
* \param func_name Function full name
* \param detour A pointer to the detour function, which will override the target f... | 28.975 | 113 | 0.701467 |
0e506af1db552dba422e58d92ce4213bc2c0db52 | 293 | html | HTML | index.html | farahat80/react-weather | 30ec22d1f6c7c5974bc094c259cf007a504b1819 | [
"MIT"
] | 56 | 2017-11-07T11:20:10.000Z | 2022-03-07T15:57:11.000Z | index.html | farahat80/react-weather | 30ec22d1f6c7c5974bc094c259cf007a504b1819 | [
"MIT"
] | 63 | 2017-06-08T14:34:46.000Z | 2022-03-26T09:58:49.000Z | index.html | farahat80/react-weather | 30ec22d1f6c7c5974bc094c259cf007a504b1819 | [
"MIT"
] | 60 | 2018-03-24T12:43:19.000Z | 2022-02-21T15:59:13.000Z | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>React Open Weather</title>
</head>
<body style="background-color:#666">
<div style="margin:0 auto;width:500px">
<div id="root"></div>
</div>
<script src="dist/js/main.js"></script>
</body>
</html>
| 20.928571 | 43 | 0.580205 |
a181f90a990d65ba22716a78b7cdd0f20bfab382 | 13,829 | h | C | src/ace_segment/scanning/ScanningModule.h | bxparks/AceSegment | 732df1bf4e22ab214010e9e4b534b338896ffedc | [
"MIT"
] | 4 | 2021-04-19T16:47:34.000Z | 2022-02-06T03:48:17.000Z | src/ace_segment/scanning/ScanningModule.h | bxparks/AceSegment | 732df1bf4e22ab214010e9e4b534b338896ffedc | [
"MIT"
] | 9 | 2018-04-03T23:28:56.000Z | 2021-05-14T21:44:04.000Z | src/ace_segment/scanning/ScanningModule.h | bxparks/AceSegment | 732df1bf4e22ab214010e9e4b534b338896ffedc | [
"MIT"
] | 1 | 2021-08-18T22:03:51.000Z | 2021-08-18T22:03:51.000Z | /*
MIT License
Copyright (c) 2018 Brian T. Park
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, copy, modify, merge, publish, ... | 38.307479 | 80 | 0.663461 |
4009b06c7f2a79a55036a8541e8d8b3d6f9a817d | 19,880 | py | Python | ost/s1/grd_batch.py | KBodolai/OpenSarToolkit | 29af1df36f10f28a17b56f39ad67f0c7f530b93a | [
"MIT"
] | null | null | null | ost/s1/grd_batch.py | KBodolai/OpenSarToolkit | 29af1df36f10f28a17b56f39ad67f0c7f530b93a | [
"MIT"
] | null | null | null | ost/s1/grd_batch.py | KBodolai/OpenSarToolkit | 29af1df36f10f28a17b56f39ad67f0c7f530b93a | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# -*- coding: utf-8 -*-
"""Batch processing for GRD products
"""
import os
import json
import itertools
import logging
import pandas as pd
from pathlib import Path
from godale._concurrent import Executor
from ost import Sentinel1Scene
from ost.s1 import grd_to_ard
from ost.helpers import ras... | 31.307087 | 88 | 0.624748 |
c6139dd399bbdb223942cf94ed2fa055cff41779 | 41,031 | lua | Lua | scripts/flax_auto.lua | Rune-Christensen/Automato-ATITD | 5b156f48294f19c6b1432664850627294aefeb54 | [
"MIT"
] | 1 | 2021-04-09T19:01:54.000Z | 2021-04-09T19:01:54.000Z | scripts/flax_auto.lua | Bemazed/Automato-ATITD | 3380bfe28128d3aead93813632c2984f12004fc1 | [
"MIT"
] | null | null | null | scripts/flax_auto.lua | Bemazed/Automato-ATITD | 3380bfe28128d3aead93813632c2984f12004fc1 | [
"MIT"
] | null | null | null | -- flax_auto.lua v1.2 -- by Jimbly, tweaked by Cegaiel and
-- KasumiGhia, revised by Tallow, revised by Tripps
--
-- Plant and harvest seeds then plant and harvest flax, repeat
-- Draws water when needed, optionally rots flax, optionally
-- stores products
--
-- Works Reliably: 2x2, 3x3, 4x4, 5x5
-- May Work (depend... | 30.438427 | 152 | 0.554215 |
2a1887f45fadc5146c79d80355d11b44f1727198 | 347 | java | Java | design-patterns/src/main/java/pattern/behavioral/template/course/BigDataCourse.java | leishiguang/design-patterns | 052e0a8d81967ea15d4427fbed770ebedab152d6 | [
"MIT"
] | 1 | 2019-03-27T01:04:54.000Z | 2019-03-27T01:04:54.000Z | design-patterns/src/main/java/pattern/behavioral/template/course/BigDataCourse.java | LeiShiGuang/HeadFirstDesignPatterns | 052e0a8d81967ea15d4427fbed770ebedab152d6 | [
"MIT"
] | null | null | null | design-patterns/src/main/java/pattern/behavioral/template/course/BigDataCourse.java | LeiShiGuang/HeadFirstDesignPatterns | 052e0a8d81967ea15d4427fbed770ebedab152d6 | [
"MIT"
] | 2 | 2019-08-28T09:44:09.000Z | 2021-01-28T14:44:24.000Z | package pattern.behavioral.template.course;
/**
* 大数据课程
*
* @author leishiguang
* @version v1.0.0
* @since v1.0
*/
public class BigDataCourse extends BaseNetworkCourse {
@Override
void checkHomework() {
System.out.println("检查大数据课程");
}
@Override
protected boolean needHomework() {
... | 15.772727 | 54 | 0.636888 |
3f876e3985a3469b995deb567999496ac5071a3b | 2,629 | kt | Kotlin | radixdlt-kotlin/src/test/kotlin/com/radixdlt/client/application/translate/TransferTokensActionTranslatorTest.kt | radixdlt/radixdlt-kotlin | 37d86b43bd5e9e5c24c85a8f2d7865b51cd24a7b | [
"MIT"
] | 7 | 2018-09-04T15:45:27.000Z | 2020-09-16T10:31:19.000Z | radixdlt-kotlin/src/test/kotlin/com/radixdlt/client/application/translate/TransferTokensActionTranslatorTest.kt | radixdlt/radixdlt-kotlin | 37d86b43bd5e9e5c24c85a8f2d7865b51cd24a7b | [
"MIT"
] | 3 | 2018-11-23T08:49:54.000Z | 2019-03-13T16:23:37.000Z | radixdlt-kotlin/src/test/kotlin/com/radixdlt/client/application/translate/TransferTokensActionTranslatorTest.kt | radixdlt/radixdlt-kotlin | 37d86b43bd5e9e5c24c85a8f2d7865b51cd24a7b | [
"MIT"
] | 2 | 2018-09-07T07:37:31.000Z | 2022-03-07T18:36:18.000Z | package com.radixdlt.client.application.translate
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.whenever
import com.radixdlt.client.application.actions.TransferTokensAction
import com.radixdlt.client.application.objects.TokenTransfer
import com.radixdlt.client.assets.Asset
import com.radix... | 41.730159 | 103 | 0.738684 |
7d94acf5f1d4ca8b378aad4e215024fcad80408c | 1,037 | swift | Swift | Tests/SwiftagramTests/Shared/Reflection/Comment.swift | beedgtl/Swiftagram | c4e87a5e2db018f8be9f40a44b8ce9b5df8e257f | [
"Apache-2.0"
] | 190 | 2020-03-10T22:28:10.000Z | 2022-03-30T21:56:03.000Z | Tests/SwiftagramTests/Shared/Reflection/Comment.swift | beedgtl/Swiftagram | c4e87a5e2db018f8be9f40a44b8ce9b5df8e257f | [
"Apache-2.0"
] | 150 | 2020-03-15T23:59:25.000Z | 2022-03-29T17:20:37.000Z | Tests/SwiftagramTests/Shared/Reflection/Comment.swift | beedgtl/Swiftagram | c4e87a5e2db018f8be9f40a44b8ce9b5df8e257f | [
"Apache-2.0"
] | 34 | 2020-04-16T13:24:51.000Z | 2022-03-16T21:25:26.000Z | //
// Comment.swift
// SwiftagramTests
//
// Created by Stefano Bertagno on 20/03/21.
//
import Foundation
import Swiftagram
extension Comment: Reflected {
/// The debug description prefix.
public static let debugDescriptionPrefix: String = ""
/// A list of to-be-reflected properties.
public stati... | 35.758621 | 99 | 0.513018 |
7a4e4aac6fc0d952ed7050738a5dfee7647d6df5 | 677 | rb | Ruby | spec/models/message_spec.rb | osaris/sp-gestion | 1c32df0c59238852330137884a757c7a551930e3 | [
"MIT"
] | 1 | 2015-02-18T22:25:30.000Z | 2015-02-18T22:25:30.000Z | spec/models/message_spec.rb | osaris/sp-gestion | 1c32df0c59238852330137884a757c7a551930e3 | [
"MIT"
] | 6 | 2016-08-02T15:08:43.000Z | 2021-09-27T21:01:20.000Z | spec/models/message_spec.rb | osaris/sp-gestion | 1c32df0c59238852330137884a757c7a551930e3 | [
"MIT"
] | 3 | 2015-02-19T01:22:35.000Z | 2018-10-07T17:51:58.000Z | require 'rails_helper'
describe Message do
it { should belong_to(:user) }
let(:message) { build(:message, :title => "test", :body => "test content", :user => build(:user)) }
describe "#read?" do
subject { message.read? }
context "and message not read" do
it { should be_falsey }
end
c... | 15.744186 | 101 | 0.598227 |
85690b88d249ef85c767f15d6cf33be58d4d2907 | 321 | js | JavaScript | aula15/ambiente.js | jpsantoss/Js | e4951a6ac5b8aa4277ec8907448f2d55cf5aae95 | [
"MIT"
] | null | null | null | aula15/ambiente.js | jpsantoss/Js | e4951a6ac5b8aa4277ec8907448f2d55cf5aae95 | [
"MIT"
] | null | null | null | aula15/ambiente.js | jpsantoss/Js | e4951a6ac5b8aa4277ec8907448f2d55cf5aae95 | [
"MIT"
] | null | null | null | let num = [5,8,2,9,3]
num[3] = 6
num.push(7)
num.length
num.sort()
console.log(`O vetor tem ${num.length} posilções`)
console.log(`O primeiro valor do vetor é ${num[0]}`)
let pos = num.indexOf(8)
if (pos == -1 ){
console.log('O valor n foi encontrado!')
} else {
console.log(`O valor 8 está na posição ${pos}`)
}... | 22.928571 | 52 | 0.632399 |
52c8fd84db8d5b8731ab298d6010168c48a40057 | 644 | sql | SQL | queries/tournament_hint_dist_pct.sql | mracsys/ootr-stats | 564758e677483bd6aba6e3824360ee5694fc32a8 | [
"MIT"
] | 1 | 2020-09-04T03:42:57.000Z | 2020-09-04T03:42:57.000Z | queries/tournament_hint_dist_pct.sql | mracsys/ootr-stats | 564758e677483bd6aba6e3824360ee5694fc32a8 | [
"MIT"
] | null | null | null | queries/tournament_hint_dist_pct.sql | mracsys/ootr-stats | 564758e677483bd6aba6e3824360ee5694fc32a8 | [
"MIT"
] | null | null | null | SELECT ispheres.seed, ispheres.item, (CASE WHEN ispheres.sphere = 0 THEN 'Yes' WHEN obvious_areas.area IS NULL THEN 'No' ELSE 'Yes' END) AS obvious
FROM ispheres
LEFT JOIN locations ON ispheres.loc = locations.loc
LEFT JOIN obvious_areas ON (obvious_areas.area = locations.area AND obvious_areas.seed = ispheres.seed)
WH... | 49.538462 | 147 | 0.754658 |
41a77c900cb743ff1192409fa16dbca51e834164 | 1,141 | h | C | TMuffin/TMuffin.h | thirty30/Muffin | 06db87761be740408457728a40d95cdc8ec05108 | [
"MIT"
] | 5 | 2019-10-06T02:41:59.000Z | 2020-10-10T13:07:26.000Z | TMuffin/TMuffin.h | thirty30/Muffin | 06db87761be740408457728a40d95cdc8ec05108 | [
"MIT"
] | null | null | null | TMuffin/TMuffin.h | thirty30/Muffin | 06db87761be740408457728a40d95cdc8ec05108 | [
"MIT"
] | null | null | null | #pragma once
#include "./CommonDefine.h"
#include "./Component/CComponentBase.h"
#include "./Utility/CGUIDMaker.h"
#include "./Utility/Utility.h"
#include "AssetsLoader/AssetsInclude.h"
#include "./Light/CLight.h"
#include "./Light/CLightManager.h"
#include "./GameObject/CGameObject.h"
#include "./GameObject/CGameO... | 25.931818 | 49 | 0.750219 |