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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
98ddd3db70b6c270908d068a988e1733d6f3b094 | 1,111 | html | HTML | index.html | SedueRey/palettes | 3caaf9c70f6febc0669ac3da33dddf2e7b6aafb0 | [
"Unlicense"
] | null | null | null | index.html | SedueRey/palettes | 3caaf9c70f6febc0669ac3da33dddf2e7b6aafb0 | [
"Unlicense"
] | null | null | null | index.html | SedueRey/palettes | 3caaf9c70f6febc0669ac3da33dddf2e7b6aafb0 | [
"Unlicense"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0">
<title>Palettes</title>
<link rel="stylesheet" href="sass/stylesheets/screen.css">
</head>
<body>
<section id="container">
<h1>Palettes</h1>
<p>All palettes are orde... | 38.310345 | 105 | 0.583258 |
f233a08c027ae4f7a43523a02e3b289f0a9679ad | 1,218 | swift | Swift | LYSegmentController/Example/LYSegmentController/ViewController.swift | NSObject-Y/LYSegmentController | c701f776543dc470993f96491553d1f710606f3b | [
"MIT"
] | null | null | null | LYSegmentController/Example/LYSegmentController/ViewController.swift | NSObject-Y/LYSegmentController | c701f776543dc470993f96491553d1f710606f3b | [
"MIT"
] | null | null | null | LYSegmentController/Example/LYSegmentController/ViewController.swift | NSObject-Y/LYSegmentController | c701f776543dc470993f96491553d1f710606f3b | [
"MIT"
] | null | null | null | //
// ViewController.swift
// LYSegmentController
//
// Created by NSObject_Y on 01/10/2019.
// Copyright (c) 2019 NSObject_Y. All rights reserved.
//
import UIKit
import LYSegmentController
class ViewController: UIViewController {
private var segmentPageNav: SegmentSliderController?
override func viewDid... | 24.857143 | 113 | 0.651888 |
76e5ed55ac62913a4a6bde1607a066de4721e3db | 672 | h | C | src/circuits/decoding.h | Alan-Robertson/qecode | fc01e6f66a7fbe4f6b2bda6b3874fd6e5b10c628 | [
"MIT"
] | 4 | 2018-03-07T06:15:32.000Z | 2021-11-17T10:50:15.000Z | src/circuits/decoding.h | Alan-Robertson/qecode | fc01e6f66a7fbe4f6b2bda6b3874fd6e5b10c628 | [
"MIT"
] | null | null | null | src/circuits/decoding.h | Alan-Robertson/qecode | fc01e6f66a7fbe4f6b2bda6b3874fd6e5b10c628 | [
"MIT"
] | null | null | null | #ifndef CIRCUIT_DECODING
#define CIRCUIT_DECODING
#include "circuit.h"
#include "unitary.h"
/*
* decoding_circuit_from_encoding
* Given the encoding circuit, reverses it to get the decoding circuit
* :: circuit* encode :: The circuit to create the unitary from
* Returns the decoding circuit
*/
circuit* decoding... | 24.888889 | 70 | 0.769345 |
060073b43a9d64601be32fcf5c10650b2b219b1c | 442 | rs | Rust | examples/hello_world_upsert_sync.rs | ApolloCrawler/gauc | 9faca45fdfd13a5ffb65c0f75f8748a83a271a81 | [
"MIT"
] | 3 | 2016-11-13T15:00:06.000Z | 2018-05-01T15:51:38.000Z | examples/hello_world_upsert_sync.rs | ApolloCrawler/gauc | 9faca45fdfd13a5ffb65c0f75f8748a83a271a81 | [
"MIT"
] | 18 | 2016-11-02T01:13:07.000Z | 2017-04-01T00:06:11.000Z | examples/hello_world_upsert_sync.rs | ApolloCrawler/gauc | 9faca45fdfd13a5ffb65c0f75f8748a83a271a81 | [
"MIT"
] | 3 | 2016-10-19T23:30:43.000Z | 2018-12-06T22:07:50.000Z | extern crate gauc;
extern crate env_logger;
use gauc::client::*;
fn main() {
env_logger::init().unwrap();
if let Ok(mut client) = Client::connect("couchbase://korczis.com/default") {
let res = client.upsert_sync("hello_world_upsert_sync", "{{\"msg\": \"This is sync upsert!\"}}", 0, 0);
printl... | 26 | 111 | 0.590498 |
699d613d2fddf6861123c679debe540856f77136 | 2,519 | swift | Swift | AssistantV1.playground/Pages/Synonyms.xcplaygroundpage/Contents.swift | JessieTW2019/watson-developer-cloud | 37f73e620f3624b4d828704e5a27511a97efe9e7 | [
"Apache-2.0"
] | null | null | null | AssistantV1.playground/Pages/Synonyms.xcplaygroundpage/Contents.swift | JessieTW2019/watson-developer-cloud | 37f73e620f3624b4d828704e5a27511a97efe9e7 | [
"Apache-2.0"
] | null | null | null | AssistantV1.playground/Pages/Synonyms.xcplaygroundpage/Contents.swift | JessieTW2019/watson-developer-cloud | 37f73e620f3624b4d828704e5a27511a97efe9e7 | [
"Apache-2.0"
] | null | null | null | //:## Synonyms
import PlaygroundSupport
// Enable support for asynchronous completion handlers
PlaygroundPage.current.needsIndefiniteExecution = true
import AssistantV1
let assistant = setupAssistantV1()
let workspaceID = WatsonCredentials.AssistantV1Workspace
// Setup
assistant.createEntity(
workspaceID: wor... | 19.679688 | 85 | 0.646288 |
8bf3eb96659ff81ce4cb62ffc66d204cd3921ca7 | 2,249 | kt | Kotlin | src/main/kotlin/com/github/martinsucha/idedynamicsecrets/DynamicSecretsGoRunConfigurationExtension.kt | martin-sucha/ide-dynamic-secrets | 539bbe2f51d657d38771e4349c67e9ae8fe83e3b | [
"Apache-2.0"
] | 9 | 2021-01-11T09:10:59.000Z | 2021-07-28T05:06:33.000Z | src/main/kotlin/com/github/martinsucha/idedynamicsecrets/DynamicSecretsGoRunConfigurationExtension.kt | martin-sucha/ide-dynamic-secrets | 539bbe2f51d657d38771e4349c67e9ae8fe83e3b | [
"Apache-2.0"
] | 2 | 2021-01-17T11:23:47.000Z | 2021-09-28T15:19:28.000Z | src/main/kotlin/com/github/martinsucha/idedynamicsecrets/DynamicSecretsGoRunConfigurationExtension.kt | martin-sucha/ide-dynamic-secrets | 539bbe2f51d657d38771e4349c67e9ae8fe83e3b | [
"Apache-2.0"
] | null | null | null | package com.github.martinsucha.idedynamicsecrets
import com.goide.execution.GoRunConfigurationBase
import com.goide.execution.GoRunningState
import com.goide.execution.extension.GoRunConfigurationExtension
import com.intellij.execution.configurations.RunnerSettings
import com.intellij.execution.target.TargetedCommandL... | 41.648148 | 100 | 0.75189 |
ebb322c0fad0e913734ddab6783dfed00391dc8d | 9,085 | rs | Rust | src/character_list.rs | jnichols-pdx/raspberry-tracker | b4c9799c63a8612d528c7af82e6f9ddf5e330f62 | [
"Apache-2.0"
] | null | null | null | src/character_list.rs | jnichols-pdx/raspberry-tracker | b4c9799c63a8612d528c7af82e6f9ddf5e330f62 | [
"Apache-2.0"
] | 2 | 2022-03-31T03:39:31.000Z | 2022-03-31T04:29:18.000Z | src/character_list.rs | jnichols-pdx/raspberry-tracker | b4c9799c63a8612d528c7af82e6f9ddf5e330f62 | [
"Apache-2.0"
] | null | null | null | use crate::character::*;
use crate::common::*;
use crate::db::DatabaseSync;
use crate::session::Session;
use crate::session_list::SessionList;
use egui::{Color32, ScrollArea};
use std::sync::Arc;
use time::OffsetDateTime;
use tokio::sync::{mpsc, RwLock};
use tokio_tungstenite::tungstenite::protocol::Message;
pub struc... | 43.261905 | 157 | 0.417832 |
5c795ecf5ecfad281de41307c53135b44dc17a88 | 2,651 | h | C | searchcore/src/vespa/searchcore/proton/server/transactionlogmanagerbase.h | Anlon-Burke/vespa | 5ecd989b36cc61716bf68f032a3482bf01fab726 | [
"Apache-2.0"
] | 4,054 | 2017-08-11T07:58:38.000Z | 2022-03-31T22:32:15.000Z | searchcore/src/vespa/searchcore/proton/server/transactionlogmanagerbase.h | Anlon-Burke/vespa | 5ecd989b36cc61716bf68f032a3482bf01fab726 | [
"Apache-2.0"
] | 4,854 | 2017-08-10T20:19:25.000Z | 2022-03-31T19:04:23.000Z | searchcore/src/vespa/searchcore/proton/server/transactionlogmanagerbase.h | Anlon-Burke/vespa | 5ecd989b36cc61716bf68f032a3482bf01fab726 | [
"Apache-2.0"
] | 541 | 2017-08-10T18:51:18.000Z | 2022-03-11T03:18:56.000Z | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/searchlib/common/serialnum.h>
#include <vespa/vespalib/util/time.h>
#include <mutex>
#include <condition_variable>
namespace search::transactionlog::client {
class TransLogClient;... | 32.728395 | 115 | 0.685402 |
1d6399d528a0e2405cc3fb76bbd6414c2f15aad7 | 2,311 | sql | SQL | Script/cloud_order.sql | ez1215/spring-cloud-study | 1ee89e03362376ab5c5e21c2d718812281b8c201 | [
"Apache-2.0"
] | null | null | null | Script/cloud_order.sql | ez1215/spring-cloud-study | 1ee89e03362376ab5c5e21c2d718812281b8c201 | [
"Apache-2.0"
] | null | null | null | Script/cloud_order.sql | ez1215/spring-cloud-study | 1ee89e03362376ab5c5e21c2d718812281b8c201 | [
"Apache-2.0"
] | null | null | null | /*
Navicat MySQL Data Transfer
Source Server : 120.24.163.146
Source Server Version : 80018
Source Host : 120.24.163.146:3306
Source Database : cloud_order
Target Server Type : MYSQL
Target Server Version : 80018
File Encoding : 65001
Date: 2020-04-18 18:43:42
*/
SET FOREIGN_KEY_C... | 35.553846 | 170 | 0.628732 |
789b09639d0e8ad156157f3926193458d138dc74 | 71,021 | lua | Lua | Assets/sgk/Lua/utils/SGKTools.lua | freeGamePerson/dev_update | 80f75ff1ba6fd0d008e6a4989c2ba09e48129c38 | [
"BSD-3-Clause"
] | 1 | 2019-12-30T06:54:48.000Z | 2019-12-30T06:54:48.000Z | Assets/sgk/Lua/utils/SGKTools.lua | freeGamePerson/dev_update | 80f75ff1ba6fd0d008e6a4989c2ba09e48129c38 | [
"BSD-3-Clause"
] | null | null | null | Assets/sgk/Lua/utils/SGKTools.lua | freeGamePerson/dev_update | 80f75ff1ba6fd0d008e6a4989c2ba09e48129c38 | [
"BSD-3-Clause"
] | 3 | 2019-12-30T06:54:52.000Z | 2020-12-31T10:04:10.000Z | local SmallTeamDungeonConf = require "config.SmallTeamDungeonConf"
local battleCfg = require "config.battle"
local skill = require "config.skill"
local ActivityTeamlist = require "config.activityConfig"
local openLevel = require "config.openLevel"
local SGKTools = {}
local LockMapObj = nil
local LockMapObj_count = 0;
... | 38.745772 | 250 | 0.628011 |
999eb96c2b9ca7a7abe031e064e0d30adc68c7e6 | 307 | kt | Kotlin | KotlinDemo/app/src/main/java/com/tgw/myapplication/AboutMeActivity.kt | tangaowei/AndroidAccelerate | ccb8edddd76847bcaaf070680e39b2b1d5a67d27 | [
"Apache-2.0"
] | null | null | null | KotlinDemo/app/src/main/java/com/tgw/myapplication/AboutMeActivity.kt | tangaowei/AndroidAccelerate | ccb8edddd76847bcaaf070680e39b2b1d5a67d27 | [
"Apache-2.0"
] | null | null | null | KotlinDemo/app/src/main/java/com/tgw/myapplication/AboutMeActivity.kt | tangaowei/AndroidAccelerate | ccb8edddd76847bcaaf070680e39b2b1d5a67d27 | [
"Apache-2.0"
] | null | null | null | package com.tgw.myapplication
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
class AboutMeActivity: AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_aboutme)
}
} | 27.909091 | 56 | 0.775244 |
2a5444df2d0e396316ed90162685672afe89c764 | 2,321 | java | Java | kie-wb-common-ala/kie-wb-common-ala-ui/kie-wb-common-ala-ui-client/src/main/java/org/guvnor/ala/ui/client/widget/item/SelectableCardItemBase.java | etirelli/kie-wb-common | 367cc780c11f445edef621a32484e235f8a753b2 | [
"Apache-2.0"
] | 34 | 2017-05-21T11:28:40.000Z | 2021-07-03T13:15:03.000Z | kie-wb-common-ala/kie-wb-common-ala-ui/kie-wb-common-ala-ui-client/src/main/java/org/guvnor/ala/ui/client/widget/item/SelectableCardItemBase.java | etirelli/kie-wb-common | 367cc780c11f445edef621a32484e235f8a753b2 | [
"Apache-2.0"
] | 2,576 | 2017-03-14T00:57:07.000Z | 2022-03-29T07:52:38.000Z | kie-wb-common-ala/kie-wb-common-ala-ui/kie-wb-common-ala-ui-client/src/main/java/org/guvnor/ala/ui/client/widget/item/SelectableCardItemBase.java | etirelli/kie-wb-common | 367cc780c11f445edef621a32484e235f8a753b2 | [
"Apache-2.0"
] | 158 | 2017-03-15T08:55:40.000Z | 2021-11-19T14:07:17.000Z | /*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* 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 ap... | 30.946667 | 75 | 0.672124 |
3e7643e1364e9e74fe90ac1623ada077173d3118 | 535 | lua | Lua | src/SharpLang.Compiler/premake4.lua | xen2/SharpLang | 07902915970ace70c4ee0430a672d25187a75d3a | [
"BSD-2-Clause-FreeBSD"
] | 277 | 2015-01-04T20:42:36.000Z | 2022-03-21T06:52:03.000Z | src/SharpLang.Compiler/premake4.lua | xen2/SharpLang | 07902915970ace70c4ee0430a672d25187a75d3a | [
"BSD-2-Clause-FreeBSD"
] | 31 | 2015-01-05T08:00:38.000Z | 2016-01-05T01:18:59.000Z | src/SharpLang.Compiler/premake4.lua | xen2/SharpLang | 07902915970ace70c4ee0430a672d25187a75d3a | [
"BSD-2-Clause-FreeBSD"
] | 46 | 2015-01-21T00:41:59.000Z | 2021-03-23T07:00:01.000Z | project "SharpLang.Compiler"
kind "ConsoleApp"
language "C#"
flags { "Unsafe"}
SetupManagedProject()
files { "**.cs" }
excludes { "obj/**" }
dependson { "SharpLang.Runtime" }
links
{
"System",
"System.Core",
"SharpLLVM",
"Mono.Cecil",
"Mono.Cecil.Pdb",
"Mono.Cecil.Rocks",
... | 20.576923 | 74 | 0.628037 |
4c11083c2803a4ebc3540566de7a42c6a11bd62a | 2,438 | php | PHP | application/views/home/laporan.php | ronisky/sipor | 17148f0d6915e9b13935fb1a34141b0f4c3e3b6b | [
"MIT"
] | null | null | null | application/views/home/laporan.php | ronisky/sipor | 17148f0d6915e9b13935fb1a34141b0f4c3e3b6b | [
"MIT"
] | null | null | null | application/views/home/laporan.php | ronisky/sipor | 17148f0d6915e9b13935fb1a34141b0f4c3e3b6b | [
"MIT"
] | 2 | 2020-09-12T03:19:14.000Z | 2020-11-17T22:07:36.000Z | <!-- header -->
<?php include '_partials/header.php' ?>
<section class="ftco-section-parallax ftco-degree-bg">
<div class="parallax-img d-flex align-items-center">
<div class="container mt-5">
<h2 class="mb-4" style="color: white;">Data laporan
<strong class="typewrite" data-pe... | 49.755102 | 123 | 0.38064 |
4eb7dde95a6cdb816551028f287cdbaac696cc57 | 3,845 | asm | Assembly | apps/breakfast/pde_fw/toast/examples/Assembly (CCE)/msp430x24x_uscib1_spi_10.asm | tp-freeforall/breakfast | 0399619cdb7a81b3c3cc4c5a1b7d69f5c32b8c65 | [
"BSD-3-Clause"
] | 1 | 2020-05-15T18:08:48.000Z | 2020-05-15T18:08:48.000Z | apps/breakfast/toast/msp430-code-examples/Assembly (CCE)/msp430x24x_uscib1_spi_10.asm | tp-freeforall/breakfast | 0399619cdb7a81b3c3cc4c5a1b7d69f5c32b8c65 | [
"BSD-3-Clause"
] | null | null | null | apps/breakfast/toast/msp430-code-examples/Assembly (CCE)/msp430x24x_uscib1_spi_10.asm | tp-freeforall/breakfast | 0399619cdb7a81b3c3cc4c5a1b7d69f5c32b8c65 | [
"BSD-3-Clause"
] | null | null | null | ;*******************************************************************************
; msp430x24x Demo - USCI_B1, SPI 3-Wire Slave Data Echo
;
; Description: SPI slave talks to SPI master using 3-wire mode. Data received
; from master is echoed back. USCI RX ISR is used to handle communication,
; CPU normally... | 50.592105 | 91 | 0.394278 |
71d9907d7942df5393711c78429e4e5dd7c76c74 | 409 | ts | TypeScript | mobile-v2/src/components/index.ts | guardian-app/guardian-app | db8d63bbc8314a0b015a8446fc551b03bc681e43 | [
"MIT"
] | null | null | null | mobile-v2/src/components/index.ts | guardian-app/guardian-app | db8d63bbc8314a0b015a8446fc551b03bc681e43 | [
"MIT"
] | null | null | null | mobile-v2/src/components/index.ts | guardian-app/guardian-app | db8d63bbc8314a0b015a8446fc551b03bc681e43 | [
"MIT"
] | null | null | null | export { default as Background } from './Background';
export { default as Logo } from './Logo';
export { default as Header } from './Header';
export { default as Paragraph } from './Paragraph';
export { default as Button } from './Button';
export { default as TextInput } from './TextInput';
export { default as BackButt... | 51.125 | 63 | 0.709046 |
230cc324ade1aba607790db12ca34af6249671e4 | 1,490 | rs | Rust | services/wfbp_processor/src/controllers/commands.rs | TehPers/wf-butler-of-prices | 5b67509fc47f9c0e9eb10dca4513bc4365a25915 | [
"MIT"
] | null | null | null | services/wfbp_processor/src/controllers/commands.rs | TehPers/wf-butler-of-prices | 5b67509fc47f9c0e9eb10dca4513bc4365a25915 | [
"MIT"
] | null | null | null | services/wfbp_processor/src/controllers/commands.rs | TehPers/wf-butler-of-prices | 5b67509fc47f9c0e9eb10dca4513bc4365a25915 | [
"MIT"
] | null | null | null | use crate::models::{AdminCommand, Config};
use actix_web::{
dev::HttpServiceFactory,
error::ErrorInternalServerError,
http::StatusCode,
post,
web::{scope, Data, Json},
};
use serde::Deserialize;
use std::collections::HashMap;
use tracing::instrument;
use wfbp_azure::functions::{
FunctionsInput, ... | 28.653846 | 74 | 0.67651 |
71816cc120ef5f7b57a20d7ecda50f6e9a6774bf | 3,206 | ts | TypeScript | stencil.config.ts | milottit/stencil | 861fceeee877a9b614142428941f45151aad4de1 | [
"MIT"
] | null | null | null | stencil.config.ts | milottit/stencil | 861fceeee877a9b614142428941f45151aad4de1 | [
"MIT"
] | null | null | null | stencil.config.ts | milottit/stencil | 861fceeee877a9b614142428941f45151aad4de1 | [
"MIT"
] | null | null | null | import { Config } from '@stencil/core';
import { sass } from '@stencil/sass';
import { postcss } from '@stencil/postcss';
import autoprefixer from 'autoprefixer';
import { OutputTargetCopy } from '@stencil/core/internal';
/* import includePaths from 'rollup-plugin-includepaths';
const includePathOptions = {
inclu... | 36.022472 | 160 | 0.543356 |
84bbb9757006a907b855ad3c255308d24c261303 | 1,052 | c | C | sources/common/index_of.c | Vicest/push_swap | f4b374e6a459eddafa353463e266b7d672b89c61 | [
"BSD-3-Clause"
] | null | null | null | sources/common/index_of.c | Vicest/push_swap | f4b374e6a459eddafa353463e266b7d672b89c61 | [
"BSD-3-Clause"
] | null | null | null | sources/common/index_of.c | Vicest/push_swap | f4b374e6a459eddafa353463e266b7d672b89c61 | [
"BSD-3-Clause"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* index_of.c :+: :+: :+: ... | 43.833333 | 80 | 0.19962 |
7fa284824513a77c9040fb7f6167cf271cdc7933 | 508 | rs | Rust | Rust/Algorithms/1394.rs | DimitrisJim/leetcode_solutions | 765ea578748f8c9b21243dec9dc8a16163e85c0c | [
"Unlicense"
] | 2 | 2021-01-15T17:22:54.000Z | 2021-05-16T19:58:02.000Z | Rust/Algorithms/1394.rs | DimitrisJim/leetcode_solutions | 765ea578748f8c9b21243dec9dc8a16163e85c0c | [
"Unlicense"
] | null | null | null | Rust/Algorithms/1394.rs | DimitrisJim/leetcode_solutions | 765ea578748f8c9b21243dec9dc8a16163e85c0c | [
"Unlicense"
] | null | null | null | use std::collections::HashMap;
impl Solution {
pub fn find_lucky(arr: Vec<i32>) -> i32 {
let mut Counter = HashMap::new();
for x in arr.into_iter() {
let value = Counter.get(&x).cloned().unwrap_or(0);
Counter.insert(x, if value == 0 { 1 } else { value + 1 });
}
... | 25.4 | 70 | 0.464567 |
ba5404735e29cd6e43e502cae4d6ed638306c594 | 220 | sql | SQL | projects/db/third_party/tests/createUerDocMapTable.sql | wiarlawd/database.v3 | 302fa10e0d03960fe3387b73b48ff229feb7c305 | [
"Apache-1.1"
] | 3 | 2015-07-30T16:54:11.000Z | 2017-09-01T06:30:54.000Z | projects/db/third_party/tests/createUerDocMapTable.sql | wiarlawd/database.v3 | 302fa10e0d03960fe3387b73b48ff229feb7c305 | [
"Apache-1.1"
] | null | null | null | projects/db/third_party/tests/createUerDocMapTable.sql | wiarlawd/database.v3 | 302fa10e0d03960fe3387b73b48ff229feb7c305 | [
"Apache-1.1"
] | 5 | 2015-04-24T20:09:21.000Z | 2020-02-04T02:49:50.000Z | -- Creating Tables – Double hyphens are comment lines
DROP TABLE IF EXISTS user_doc_map ;
CREATE TABLE user_doc_map(
id int NOT NULL,
ReportId int NOT NULL ,
username varchar(45) NOT NULL,
PRIMARY KEY (id)
);
| 24.444444 | 53 | 0.727273 |
9a0c8982c0d7852945c038f0f51adfe212f8ee28 | 638 | sql | SQL | test_schema/test_schema.sql | bkaznowski/GimmePG | 73fa9553decb63e5d6276fc01d44c7b51b716fe4 | [
"MIT"
] | 4 | 2022-01-05T19:31:27.000Z | 2022-02-10T11:26:19.000Z | test_schema/test_schema.sql | bkaznowski/GimmePG | 73fa9553decb63e5d6276fc01d44c7b51b716fe4 | [
"MIT"
] | null | null | null | test_schema/test_schema.sql | bkaznowski/GimmePG | 73fa9553decb63e5d6276fc01d44c7b51b716fe4 | [
"MIT"
] | 1 | 2022-02-03T15:16:54.000Z | 2022-02-03T15:16:54.000Z | DROP TABLE users;
DROP TABLE user_groups;
DROP TABLE user_group_associations;
DROP TABLE user_statuses;
DROP TABLE otherdb;
CREATE TABLE users (
id TEXT PRIMARY KEY,
create_timestamp TIMESTAMPTZ,
update_id TEXT
);
CREATE INDEX users_update_id_idx ON users (update_id);
CREATE TABLE user_groups (
i... | 17.243243 | 54 | 0.749216 |
77156586b30ad8debe9639a36c9301b1dd3c0340 | 3,409 | rs | Rust | Rust/Fork/math_expr_parser/src/tokenizer.rs | TK4E/some | 48f97e6d660135627fde9c5b564ca83785d5aab4 | [
"MIT"
] | null | null | null | Rust/Fork/math_expr_parser/src/tokenizer.rs | TK4E/some | 48f97e6d660135627fde9c5b564ca83785d5aab4 | [
"MIT"
] | 4 | 2021-11-04T02:48:04.000Z | 2021-11-04T03:33:12.000Z | Rust/Fork/math_expr_parser/src/tokenizer.rs | TK4E/some | 48f97e6d660135627fde9c5b564ca83785d5aab4 | [
"MIT"
] | null | null | null | use std::collections::VecDeque;
use std::fmt;
#[derive(Debug,Clone,Copy,PartialEq,Eq)]
pub enum Op {
Mul,
Div,
Sub,
Add,
Pow,
}
impl fmt::Display for Op {
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(),fmt::Error> {
let s = match self {
Op::Mul => "*",
Op::Div => "/",
Op::Sub =>... | 22.281046 | 95 | 0.503667 |
2240c4cae53ec6bcb5fbcde66683323b7ed1d3e6 | 689 | lua | Lua | config/nvim/pack/benferse/opt/host-nvim/lua/features/editor.lua | benferse/dotfiles | da500616ad755f391bde6b99087b0d925b728aa4 | [
"MIT"
] | 4 | 2020-07-10T17:50:47.000Z | 2021-08-12T23:55:38.000Z | config/nvim/pack/benferse/opt/host-nvim/lua/features/editor.lua | benferse/dotfiles | da500616ad755f391bde6b99087b0d925b728aa4 | [
"MIT"
] | null | null | null | config/nvim/pack/benferse/opt/host-nvim/lua/features/editor.lua | benferse/dotfiles | da500616ad755f391bde6b99087b0d925b728aa4 | [
"MIT"
] | null | null | null | -- Plugins and modifications to the core text editing
-- experience, and isn't that really why we're here in
-- the first place?
local function setup()
vim.cmd([[
packadd nvim-autopairs
packadd nvim-comment
]])
require('nvim_comment').setup {
marker_padding = true,
comment_... | 24.607143 | 80 | 0.638607 |
0a08fcab66bb8b99077df060f05cd120771a79fa | 141 | c | C | Practice/2.c | Jlobblet/px390 | d9dc7e2c8718537d0ed6d11d95101f63316462f3 | [
"Unlicense"
] | 2 | 2021-11-12T20:16:43.000Z | 2021-12-20T18:42:03.000Z | Practice/2.c | Jlobblet/px390 | d9dc7e2c8718537d0ed6d11d95101f63316462f3 | [
"Unlicense"
] | null | null | null | Practice/2.c | Jlobblet/px390 | d9dc7e2c8718537d0ed6d11d95101f63316462f3 | [
"Unlicense"
] | null | null | null | // Write a c program that outputs the word "hello" to standard output.
#include <stdio.h>
int main() {
printf("hello");
return 0;
}
| 17.625 | 70 | 0.64539 |
38de4c6d926ce3f517d0ff92042d87e20fff398b | 3,031 | swift | Swift | StructsAndClasses/Roguelike/Roguelike/ViewController.swift | alfredcc/SwiftPlayground | d23034f2b1881bac65d1d8cc028b4f8c434e299c | [
"MIT"
] | null | null | null | StructsAndClasses/Roguelike/Roguelike/ViewController.swift | alfredcc/SwiftPlayground | d23034f2b1881bac65d1d8cc028b4f8c434e299c | [
"MIT"
] | null | null | null | StructsAndClasses/Roguelike/Roguelike/ViewController.swift | alfredcc/SwiftPlayground | d23034f2b1881bac65d1d8cc028b4f8c434e299c | [
"MIT"
] | null | null | null | //
// ViewController.swift
// Roguelike
//
// Created by race on 16/3/15.
// Copyright © 2016年 race. All rights reserved.
//
import UIKit
protocol Serializer {
subscript(name: String) -> AnyObject? { get set }
}
typealias PropertyList = [String: AnyObject]
extension NSUserDefaults: Serializer {
subscrip... | 24.055556 | 83 | 0.615308 |
4a3aed688e265dff5d0158b755088cb7b48890c8 | 454 | js | JavaScript | src/routes/v1/auth.route.js | aaarafat/Chato-Back-End | f1d620689828ea8559af2a9dc067ee155be5336f | [
"MIT"
] | 2 | 2021-04-25T23:33:53.000Z | 2021-04-26T00:41:09.000Z | src/routes/v1/auth.route.js | aaarafat/Chato-Back-End | f1d620689828ea8559af2a9dc067ee155be5336f | [
"MIT"
] | 1 | 2021-09-02T20:44:31.000Z | 2021-09-02T20:44:31.000Z | src/routes/v1/auth.route.js | aaarafat/Chato-Back-End | f1d620689828ea8559af2a9dc067ee155be5336f | [
"MIT"
] | 1 | 2021-04-26T02:03:56.000Z | 2021-04-26T02:03:56.000Z | const express = require('express');
const validate = require('../../middlewares/validate');
const { authValidation } = require('../../validations/');
const { authController } = require('../../controllers');
const catchAsync = require('../../utils/catchAsync');
const router = new express.Router();
router
.route('/')... | 26.705882 | 57 | 0.685022 |
92ef6397496dd0010280682e0f0ad657e1998c10 | 3,820 | c | C | etc/PowerClipper/PowerClipper/C Language/Background Programs/capp1/capp1.c | waynelewis/pmac | 71a0917e49083003f303805ef8b799f0c6d91165 | [
"Apache-2.0"
] | 14 | 2016-08-24T11:18:59.000Z | 2022-03-04T02:14:11.000Z | etc/PowerClipper/PowerClipper/C Language/Background Programs/capp1/capp1.c | waynelewis/pmac | 71a0917e49083003f303805ef8b799f0c6d91165 | [
"Apache-2.0"
] | 26 | 2016-12-08T13:17:05.000Z | 2022-02-01T16:39:40.000Z | etc/PowerClipper/PowerClipper/C Language/Background Programs/capp1/capp1.c | waynelewis/pmac | 71a0917e49083003f303805ef8b799f0c6d91165 | [
"Apache-2.0"
] | 8 | 2016-10-07T12:55:38.000Z | 2020-10-20T15:58:23.000Z | #include <gplib.h> // Global Gp Shared memory pointer
//----------------------------------------------------------------------------------
// pp_proj.h is the C header for accessing PMAC Global, CSGlobal, Ptr vars
// _PPScriptMode_ for Pmac Script like access global & csglobal
// global Mypvar - access with "Mypv... | 43.908046 | 142 | 0.56623 |
43c9c25a6fa6b6f7922e7cf9e1cd1c5d9194542c | 6,224 | go | Go | enum4k8s.go | bbhunter/harpoon | 1dd98abc62da2cda9a3aaec6a624a4c06a6916e5 | [
"MIT"
] | 109 | 2018-11-09T22:52:18.000Z | 2022-03-24T12:37:46.000Z | enum4k8s.go | bbhunter/harpoon | 1dd98abc62da2cda9a3aaec6a624a4c06a6916e5 | [
"MIT"
] | 8 | 2018-10-20T18:12:47.000Z | 2019-10-19T01:21:37.000Z | enum4k8s.go | bbhunter/harpoon | 1dd98abc62da2cda9a3aaec6a624a4c06a6916e5 | [
"MIT"
] | 25 | 2018-11-09T22:52:33.000Z | 2022-03-24T12:37:50.000Z | package main
import (
//"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
"flag"
"crypto/tls"
"strconv"
"strings"
)
func get(url string, headers *map[string]string) (*http.Response, error) {
client := &http.Client{}
req, err := http.NewRequest("GET", url, nil)
if err != nil {
return nil... | 26.041841 | 97 | 0.584512 |
81ae97a80cc170cbd66acc3f0c6cc77ec4e92b85 | 80,138 | rs | Rust | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | wihobbs/rust | 97cde9fe08804a3a5208d77f6870ad7d43f8c9c3 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | wihobbs/rust | 97cde9fe08804a3a5208d77f6870ad7d43f8c9c3 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | wihobbs/rust | 97cde9fe08804a3a5208d77f6870ad7d43f8c9c3 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | #![allow(non_camel_case_types)]
#![allow(non_upper_case_globals)]
use rustc_codegen_ssa::coverageinfo::map as coverage_map;
use super::debuginfo::{
DIArray, DIBasicType, DIBuilder, DICompositeType, DIDerivedType, DIDescriptor, DIEnumerator,
DIFile, DIFlags, DIGlobalVariableExpression, DILexicalBlock, DILocati... | 31.463683 | 207 | 0.603072 |
6e0ffcd508f3b9a69c28c7e92559892bdc512246 | 5,308 | html | HTML | lists.whatwg.org/pipermail/whatwg-whatwg.org/2004-June/042820.html | zcorpan/whatwg.org | 3374e69f013e5939abc5f3fffaae50bb6eaf0bd3 | [
"CC-BY-4.0"
] | 1 | 2022-02-14T23:44:51.000Z | 2022-02-14T23:44:51.000Z | lists.whatwg.org/pipermail/whatwg-whatwg.org/2004-June/042820.html | Seanpm2001-Google/whatwg.org | 33ad837c0dc53b68865f4a35ccdc1c68dc07fce6 | [
"BSD-3-Clause"
] | 1 | 2021-01-31T11:51:12.000Z | 2021-01-31T11:51:12.000Z | lists.whatwg.org/pipermail/whatwg-whatwg.org/2004-June/042820.html | Seanpm2001-Google/whatwg.org | 33ad837c0dc53b68865f4a35ccdc1c68dc07fce6 | [
"BSD-3-Clause"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE> [whatwg] repetition model
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20repetition%20model&In-Reply-To=%3CPine.LNX.4.58.0406251637290... | 42.806452 | 186 | 0.65844 |
0caedcb03495a9332700a86dd6b9b7674d0e59ac | 32 | py | Python | gaia-sdk-python/conftest.py | leftshiftone/gaia-sdk | 7e0d1ce054fada8ae154da70b71e8a90347c9f97 | [
"MIT"
] | null | null | null | gaia-sdk-python/conftest.py | leftshiftone/gaia-sdk | 7e0d1ce054fada8ae154da70b71e8a90347c9f97 | [
"MIT"
] | 10 | 2019-11-14T07:55:47.000Z | 2022-02-26T19:36:45.000Z | gaia-sdk-python/conftest.py | leftshiftone/gaia-sdk | 7e0d1ce054fada8ae154da70b71e8a90347c9f97 | [
"MIT"
] | 2 | 2020-05-12T11:09:53.000Z | 2020-12-25T14:03:04.000Z | # enabled testing relative paths | 32 | 32 | 0.84375 |
61a8d896ba048e2cec008504acdd5391d5e77624 | 2,549 | swift | Swift | HDCP/HDCP/HDRequestManager.swift | AlbertXYZ/MyProject | df4231d38cc04eb39ba0d2d6160cff93bc3b2f73 | [
"MIT"
] | 96 | 2016-01-20T03:23:28.000Z | 2019-07-16T06:57:37.000Z | HDCP/HDCP/HDRequestManager.swift | AlbertXYZ/MyProject | df4231d38cc04eb39ba0d2d6160cff93bc3b2f73 | [
"MIT"
] | 1 | 2018-07-28T01:52:53.000Z | 2018-07-28T01:52:53.000Z | HDCP/HDCP/HDRequestManager.swift | AlbertXYZ/MyProject | df4231d38cc04eb39ba0d2d6160cff93bc3b2f73 | [
"MIT"
] | 42 | 2016-02-17T07:13:51.000Z | 2019-08-20T01:54:10.000Z | //
// HDRequestManager.swift
// HDCP
//
// Created by 徐琰璋 on 16/1/5.
// Copyright © 2016年 batonsoft. All rights reserved.
//
import Foundation
import Alamofire
open class HDRequestManager: NSObject {
/**
服务器数据请求:GET方式
*
* parameter url: URL地址
* parameter block: 返回结果集
*/
stati... | 28.322222 | 140 | 0.522558 |
0efb8658afbeb1b98d1fda502edd599526aaba94 | 2,140 | tsx | TypeScript | packages/ssg-i18n-routing/pages/index.tsx | emmanuelgautier/nextjs-showcase | 54198fb3e24573b75ba5a72cf76bd36ed613fe7c | [
"MIT"
] | 2 | 2021-02-27T09:20:23.000Z | 2022-01-27T10:55:38.000Z | packages/ssg-i18n-routing/pages/index.tsx | emmanuelgautier/nextjs-showcase | 54198fb3e24573b75ba5a72cf76bd36ed613fe7c | [
"MIT"
] | 65 | 2021-02-21T12:06:26.000Z | 2022-03-26T00:07:19.000Z | packages/ssg-i18n-routing/pages/index.tsx | emmanuelgautier/nextjs-showcase | 54198fb3e24573b75ba5a72cf76bd36ed613fe7c | [
"MIT"
] | 2 | 2021-06-05T06:58:11.000Z | 2022-02-15T19:08:01.000Z | import * as React from 'react'
import { FormattedMessage, useIntl } from 'react-intl'
import Layout from '../components/Layout'
export default function Home() {
const intl = useIntl();
return (
<Layout
title={intl.formatMessage({
defaultMessage: 'Home',
})}
>
<main className="fl... | 38.214286 | 182 | 0.58785 |
250765026873bcc5526a405c0d9b215f88ed04ee | 1,136 | kt | Kotlin | src/test/kotlin/com/octawizard/domain/model/EmailTest.kt | octawizard/padles-api | a1d58d6fe35dda02a8cff27b52d2693ef4881fa4 | [
"Apache-2.0"
] | null | null | null | src/test/kotlin/com/octawizard/domain/model/EmailTest.kt | octawizard/padles-api | a1d58d6fe35dda02a8cff27b52d2693ef4881fa4 | [
"Apache-2.0"
] | 73 | 2020-12-06T23:20:42.000Z | 2022-03-22T11:44:20.000Z | src/test/kotlin/com/octawizard/domain/model/EmailTest.kt | octawizard/padles-api | a1d58d6fe35dda02a8cff27b52d2693ef4881fa4 | [
"Apache-2.0"
] | null | null | null | package com.octawizard.domain.model
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertFalse
import org.junit.jupiter.api.Assertions.assertThrows
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.TestInstanc... | 28.4 | 81 | 0.689261 |
3b1b9244f468d4a4d54808b61d5e655e54c1bcb3 | 1,692 | c | C | kernels/linux-2.6.24/arch/um/os-Linux/skas/trap.c | liuhaozzu/linux | bdf9758cd23e34b5f53e8e6339d9b29348615e14 | [
"Apache-2.0"
] | null | null | null | kernels/linux-2.6.24/arch/um/os-Linux/skas/trap.c | liuhaozzu/linux | bdf9758cd23e34b5f53e8e6339d9b29348615e14 | [
"Apache-2.0"
] | 1 | 2021-04-09T09:24:44.000Z | 2021-04-09T09:24:44.000Z | arch/um/os-Linux/skas/trap.c | KylinskyChen/linuxCore_2.6.24 | 11e90b14386491cc80477d4015e0c8f673f6d020 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL
*/
#if 0
#include "kern_util.h"
#include "skas.h"
#include "ptrace_user.h"
#include "sysdep/ptrace_user.h"
#endif
#include <errno.h>
#include <signal.h>
#include "sysdep/ptrace.h"
#include "kern_constants.h"
#includ... | 24.171429 | 72 | 0.670213 |
99527e8bb7f4fb8bc8feb6e769ef47130d944edf | 2,948 | h | C | Ui/Drawing/praticalarraydrawingwidget.h | xubenhao/VisualAlgorithm | 5fc45d9a4fc58569953fe3d880517adcd2fb0881 | [
"Apache-2.0"
] | 1 | 2021-01-29T02:12:53.000Z | 2021-01-29T02:12:53.000Z | Ui/Drawing/praticalarraydrawingwidget.h | xubenhao/VisualAlgorithm | 5fc45d9a4fc58569953fe3d880517adcd2fb0881 | [
"Apache-2.0"
] | null | null | null | Ui/Drawing/praticalarraydrawingwidget.h | xubenhao/VisualAlgorithm | 5fc45d9a4fc58569953fe3d880517adcd2fb0881 | [
"Apache-2.0"
] | null | null | null | // Author : XuBenHao
// Version : 1.0.0
// Mail : xbh370970843@163.com
// Copyright : XuBenHao 2020 - 2030
#ifndef APP_UI_PRATICALARRAYDRAWINGWIDGET_H
#define APP_UI_PRATICALARRAYDRAWINGWIDGET_H
#include "Ui/header.h"
class PraticalArrayDrawingWidget : public QWidget
{
Q_OBJECT
public:
... | 30.391753 | 72 | 0.683853 |
a1a02d10d7b08de4eef96cb3a6933fa8e088b71d | 1,415 | c | C | Class-2/Process.C/process-file/main.c | Phoebus-Ma/C-Helper | 14455116e1762dba12698e3d21bf0c28b4f90558 | [
"MIT"
] | null | null | null | Class-2/Process.C/process-file/main.c | Phoebus-Ma/C-Helper | 14455116e1762dba12698e3d21bf0c28b4f90558 | [
"MIT"
] | null | null | null | Class-2/Process.C/process-file/main.c | Phoebus-Ma/C-Helper | 14455116e1762dba12698e3d21bf0c28b4f90558 | [
"MIT"
] | null | null | null | /**
* C process use file communication example.
*
* License - MIT.
*/
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <sys/types.h>
#define TEMP_FILE_NAME "communication.tmp"
/**
* child_process_function - Rea... | 14.894737 | 60 | 0.540636 |
03ff9d260cfbcb25ef93ec02175e7cbb352f625c | 4,136 | kt | Kotlin | src/test/kotlin/proguard/classfile/editor/LibraryClassEditorTest.kt | md-5/proguard-core | 6cd532a03c82eb27b14920e38b44130500acdf5d | [
"Apache-2.0"
] | 169 | 2020-06-02T10:20:06.000Z | 2022-03-22T11:33:08.000Z | src/test/kotlin/proguard/classfile/editor/LibraryClassEditorTest.kt | md-5/proguard-core | 6cd532a03c82eb27b14920e38b44130500acdf5d | [
"Apache-2.0"
] | 23 | 2020-06-02T20:21:00.000Z | 2022-01-14T16:47:48.000Z | src/test/kotlin/proguard/classfile/editor/LibraryClassEditorTest.kt | md-5/proguard-core | 6cd532a03c82eb27b14920e38b44130500acdf5d | [
"Apache-2.0"
] | 25 | 2020-06-16T12:53:56.000Z | 2022-01-16T08:34:26.000Z | /*
* ProGuardCORE -- library to process Java bytecode.
*
* Copyright (c) 2002-2021 Guardsquare NV
*
* 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/licen... | 40.950495 | 106 | 0.652563 |
d242e59c752d62c28486d3c7ce1faf672b0b625d | 1,404 | php | PHP | resources/views/dashboard/nginx/vhost80.blade.php | moxyrus/laravel-forge-free | 1625c77ca821da1febcf10808dfcc2d226548db1 | [
"MIT"
] | 1 | 2021-03-03T23:33:53.000Z | 2021-03-03T23:33:53.000Z | resources/views/dashboard/nginx/vhost80.blade.php | moxyrus/laravel-forge-free | 1625c77ca821da1febcf10808dfcc2d226548db1 | [
"MIT"
] | 3 | 2021-06-17T15:29:23.000Z | 2022-01-08T19:05:51.000Z | resources/views/dashboard/nginx/vhost80.blade.php | moxyrus/laravel-forge-free | 1625c77ca821da1febcf10808dfcc2d226548db1 | [
"MIT"
] | 1 | 2022-01-22T23:40:01.000Z | 2022-01-22T23:40:01.000Z | <?php
/** @var \App\Models\Site $site */
?>
server {
listen 80;
listen [::]:80;
server_name {{ $site->getUrl() }} www.{{ $site->getUrl() }};
server_tokens off;
root {{ $site->getSiteDir() }}/public;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
ad... | 24.631579 | 73 | 0.619658 |
328409121b511b8d70e154a4364ff13a4eb23404 | 1,595 | kt | Kotlin | app/src/main/java/app/frankenstein/atmlocator/data/RepositoryImpl.kt | pablopatarca/Crypto-ATM-Locator | ac3dd08be1fedff759217e3f30d11b4f876ac287 | [
"MIT"
] | null | null | null | app/src/main/java/app/frankenstein/atmlocator/data/RepositoryImpl.kt | pablopatarca/Crypto-ATM-Locator | ac3dd08be1fedff759217e3f30d11b4f876ac287 | [
"MIT"
] | null | null | null | app/src/main/java/app/frankenstein/atmlocator/data/RepositoryImpl.kt | pablopatarca/Crypto-ATM-Locator | ac3dd08be1fedff759217e3f30d11b4f876ac287 | [
"MIT"
] | null | null | null | package app.frankenstein.atmlocator.data
import app.frankenstein.atmlocator.domain.*
import app.frankenstein.atmlocator.utils.CoroutineDispatchers
import kotlinx.coroutines.withContext
import javax.inject.Inject
class RepositoryImpl @Inject constructor(
private val poiDataSource: PoiApi,
private val dispatche... | 29 | 67 | 0.471473 |
04f873836f05feb785301c63c970bec935606b98 | 1,373 | sql | SQL | SummerNoteApi&S3/sql/summernote.sql | nob0dj/springWebAPI | f43546dcd102cdecd326ea8bf34b407a4d134004 | [
"BSD-3-Clause"
] | null | null | null | SummerNoteApi&S3/sql/summernote.sql | nob0dj/springWebAPI | f43546dcd102cdecd326ea8bf34b407a4d134004 | [
"BSD-3-Clause"
] | 14 | 2020-03-04T21:44:27.000Z | 2021-12-09T20:50:57.000Z | SummerNoteApi&S3/sql/summernote.sql | nob0dj/springWebAPI | f43546dcd102cdecd326ea8bf34b407a4d134004 | [
"BSD-3-Clause"
] | 1 | 2019-08-05T01:06:58.000Z | 2019-08-05T01:06:58.000Z | --==============================================================
-- summernote테이블 생성
--==============================================================
create table summernote(
id number,
writer varchar2(256), --글쓴이: not null처리 안함
contents clob, --내용: not null처... | 26.921569 | 65 | 0.530226 |
eb391e6c3d9ff880baa1f3b5d8b6ba2b9df98c4c | 8,696 | rs | Rust | src/commands/new.rs | temrix/godot-rust-cli | ecfd59007d11ad1461d0669b7f7acb442849a94f | [
"MIT"
] | 13 | 2021-03-17T15:52:31.000Z | 2021-12-10T19:58:32.000Z | src/commands/new.rs | temrix/godot-rust-cli | ecfd59007d11ad1461d0669b7f7acb442849a94f | [
"MIT"
] | 25 | 2021-03-18T23:13:58.000Z | 2021-08-23T18:43:04.000Z | src/commands/new.rs | temrix/godot-rust-cli | ecfd59007d11ad1461d0669b7f7acb442849a94f | [
"MIT"
] | 4 | 2021-06-06T01:00:56.000Z | 2021-10-30T16:43:35.000Z | use std::env::set_current_dir;
use std::fs::{create_dir_all, read_to_string, write};
use std::path::PathBuf;
use std::process::{exit, Command};
use convert_case::{Case, Casing};
use crate::command_build::build_library;
use crate::command_create::create_module;
use crate::config_utils::{create_initial_config, Config};... | 37.162393 | 112 | 0.691697 |
968828cf7192766357f85730fc361cea8a2f80c0 | 1,435 | php | PHP | old/html/backup.php | nicearma/cuf | 20c5e3b3727c41a55ad87a6204f81edd58afa490 | [
"Apache-2.0"
] | 1 | 2017-08-28T12:19:48.000Z | 2017-08-28T12:19:48.000Z | old/html/backup.php | nicearma/cuf | 20c5e3b3727c41a55ad87a6204f81edd58afa490 | [
"Apache-2.0"
] | null | null | null | old/html/backup.php | nicearma/cuf | 20c5e3b3727c41a55ad87a6204f81edd58afa490 | [
"Apache-2.0"
] | null | null | null | <script type="text/template" id="cuf_table_backup">
<thead>
<tr>
<th><?php _e('Restore','cuf') ?></th>
<th><?php _e('ID','cuf') ?></th>
<th><?php _e('File','cuf') ?></th>
</tr>
</thead>
</script>
<script type="text/template" id="cuf_tbody_backup">
<% var src; %>
<tr>
<t... | 29.895833 | 124 | 0.490592 |
c6a048abfaa30b1fa23b7a24aef4ff21df2beddc | 3,233 | rb | Ruby | app/controllers/assignments_controller.rb | fitzgebt/Teacher_Student_Assignments_db | 4bfbf5eee100ddfe37a92a514ad0277ba6844c3c | [
"CC0-1.0"
] | null | null | null | app/controllers/assignments_controller.rb | fitzgebt/Teacher_Student_Assignments_db | 4bfbf5eee100ddfe37a92a514ad0277ba6844c3c | [
"CC0-1.0"
] | null | null | null | app/controllers/assignments_controller.rb | fitzgebt/Teacher_Student_Assignments_db | 4bfbf5eee100ddfe37a92a514ad0277ba6844c3c | [
"CC0-1.0"
] | null | null | null | class AssignmentsController < ApplicationController
get '/assignments' do
if !logged_in?
redirect '/login'
end
@assignments = Assignment.all
erb :'/assignments/index'
end
get '/assignments/new' do
if !logged_in?
redirect '/login... | 32.989796 | 115 | 0.569749 |
c46eafabe2a7efb2e1cce40c52729ecce573f197 | 78 | h | C | src/dll/hook.h | elizagamedev/rpglauncher | fbf2f636ac88843e256a588b07327d6dc0ad6f3c | [
"MIT"
] | 4 | 2017-10-11T17:28:26.000Z | 2019-05-25T14:43:16.000Z | src/dll/hook.h | mathewv/rpglauncher | fbf2f636ac88843e256a588b07327d6dc0ad6f3c | [
"MIT"
] | null | null | null | src/dll/hook.h | mathewv/rpglauncher | fbf2f636ac88843e256a588b07327d6dc0ad6f3c | [
"MIT"
] | null | null | null | #ifndef HOOK_H
#define HOOK_H
#include "common.h"
BOOL hook_init();
#endif
| 8.666667 | 19 | 0.717949 |
668bdb509174662fce8d68b2cb05afae0f2c3f11 | 1,250 | swift | Swift | UnstoppableWallet/UnstoppableWallet/Modules/CreateWallet/CreateWalletModule.swift | Roller-Wallet/rollerwallet-ios | cf439a3d4b42865f8f19f7f3bb4ddae19e208638 | [
"MIT"
] | 1 | 2021-03-02T00:08:02.000Z | 2021-03-02T00:08:02.000Z | UnstoppableWallet/UnstoppableWallet/Modules/CreateWallet/CreateWalletModule.swift | RollerWallet/rollerwallet-ios | cf439a3d4b42865f8f19f7f3bb4ddae19e208638 | [
"MIT"
] | null | null | null | UnstoppableWallet/UnstoppableWallet/Modules/CreateWallet/CreateWalletModule.swift | RollerWallet/rollerwallet-ios | cf439a3d4b42865f8f19f7f3bb4ddae19e208638 | [
"MIT"
] | null | null | null | import UIKit
import ThemeKit
struct CreateWalletModule {
static func start(mode: ModuleStartMode, predefinedAccountType: PredefinedAccountType? = nil, onComplete: (() -> ())? = nil) {
let service = CreateWalletService(
predefinedAccountType: predefinedAccountType,
coinManag... | 43.103448 | 130 | 0.6864 |
202da85a21340602649d991b0a83020e6e2a8e13 | 21,852 | asm | Assembly | dist/vale/curve25519-x86_64-msvc.asm | santtu/hacl-star | ade5ee577b26bb4e1fc67c3a207d0982e6a02222 | [
"Apache-2.0"
] | 1,332 | 2018-06-25T18:44:25.000Z | 2022-03-24T11:54:21.000Z | dist/vale/curve25519-x86_64-msvc.asm | santtu/hacl-star | ade5ee577b26bb4e1fc67c3a207d0982e6a02222 | [
"Apache-2.0"
] | 311 | 2018-06-23T20:30:19.000Z | 2022-03-31T16:52:05.000Z | dist/vale/curve25519-x86_64-msvc.asm | santtu/hacl-star | ade5ee577b26bb4e1fc67c3a207d0982e6a02222 | [
"Apache-2.0"
] | 143 | 2018-08-23T11:43:58.000Z | 2022-03-09T11:07:13.000Z | .code
ALIGN 16
add_scalar_e proc
push rdi
push rsi
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
;# Clear registers to propagate the carry bit
xor r8d, r8d
xor r9d, r9d
xor r10d, r10d
xor r11d, r11d
xor eax, eax
;# Begin addition chain
add rdx, qword ptr [rsi + 0]
mov qword ptr [rdi + 0], rdx
a... | 20.971209 | 78 | 0.594911 |
2a3a6a96bf78f31928778743515b597ad0e548ea | 3,402 | java | Java | Program source code/Receive_server_ web_page_request_server_source_code/web03/src/handle/NewOldHandler.java | rainmaple/WIFI_BussinessBigDataAnalyseSystem | c65e1bd467bc43ef608d3913de60f11f7779b63d | [
"MIT"
] | 36 | 2018-05-17T06:35:07.000Z | 2021-11-17T11:29:53.000Z | Program source code/Receive_server_ web_page_request_server_source_code/web03/src/handle/NewOldHandler.java | SunWenBiao/WIFI_BussinessBigDataAnalyseSystem | d732f48b894fa0242e817e449896290dca4ea5e6 | [
"MIT"
] | 2 | 2018-08-03T09:30:53.000Z | 2019-09-16T01:52:44.000Z | Program source code/Receive_server_ web_page_request_server_source_code/web03/src/handle/NewOldHandler.java | SunWenBiao/WIFI_BussinessBigDataAnalyseSystem | d732f48b894fa0242e817e449896290dca4ea5e6 | [
"MIT"
] | 21 | 2018-06-12T07:50:55.000Z | 2021-01-14T09:09:58.000Z | package handle;
import dao.DaoUtil;
public class NewOldHandler {
private static String TABLE_NAME="new_old";
public static String GetRate(){
String[] qua={"1"};
String New=DaoUtil.getValueByFamily(TABLE_NAME,"1","new",qua)[0];
String Old=DaoUtil.getValueByFamily(TABLE_NAME,"1","old",qua)[0];
return String.f... | 28.115702 | 97 | 0.649618 |
19873dc99063690ea43f524313dbed8c4fa91234 | 7,061 | kt | Kotlin | core/native/src/UtcOffset.kt | AdamMc331/kotlinx-datetime | 5a920eaee7d640f4f5f7c956eb6706f7b333de81 | [
"Apache-2.0"
] | 1,291 | 2020-08-13T15:18:17.000Z | 2022-03-31T16:39:43.000Z | core/native/src/UtcOffset.kt | swankjesse/kotlinx-datetime | 44b8ee3caad84919f539fd1a44e124965e975877 | [
"Apache-2.0"
] | 132 | 2020-08-14T04:40:48.000Z | 2022-03-31T07:49:22.000Z | core/native/src/UtcOffset.kt | swankjesse/kotlinx-datetime | 44b8ee3caad84919f539fd1a44e124965e975877 | [
"Apache-2.0"
] | 67 | 2020-08-14T18:09:17.000Z | 2022-03-10T11:30:56.000Z | /*
* Copyright 2019-2021 JetBrains s.r.o.
* Use of this source code is governed by the Apache 2.0 License that can be found in the LICENSE.txt file.
*/
package kotlinx.datetime
import kotlinx.datetime.serializers.UtcOffsetSerializer
import kotlinx.serialization.Serializable
import kotlin.math.abs
import kotlin.nat... | 43.58642 | 128 | 0.551055 |
057f598f827f199e8468c10c0a0e96dcf34f1245 | 53 | sql | SQL | tests/templates/147-float-is-null.sql | taiste/sqlite-parquet-vtable | e3a28375992e897720d0697b3aa873eeaffc1823 | [
"Apache-2.0"
] | 189 | 2018-03-25T15:37:59.000Z | 2022-02-03T13:55:59.000Z | tests/templates/147-float-is-null.sql | taiste/sqlite-parquet-vtable | e3a28375992e897720d0697b3aa873eeaffc1823 | [
"Apache-2.0"
] | 45 | 2018-03-10T16:35:43.000Z | 2021-04-30T20:06:13.000Z | tests/templates/147-float-is-null.sql | taiste/sqlite-parquet-vtable | e3a28375992e897720d0697b3aa873eeaffc1823 | [
"Apache-2.0"
] | 29 | 2018-06-25T17:21:10.000Z | 2022-02-21T12:27:23.000Z | select count(*) from nulls where float_11 is null
49
| 17.666667 | 49 | 0.773585 |
9d19364eebd67544a06bc88e6314ad7fe09bf431 | 1,481 | html | HTML | app/templates/competition_detail.html | skizser/stud_projects | 96a299513417d7dae5bbae0758485e541fa31f14 | [
"MIT"
] | null | null | null | app/templates/competition_detail.html | skizser/stud_projects | 96a299513417d7dae5bbae0758485e541fa31f14 | [
"MIT"
] | null | null | null | app/templates/competition_detail.html | skizser/stud_projects | 96a299513417d7dae5bbae0758485e541fa31f14 | [
"MIT"
] | null | null | null | {% extends 'base.html' %}
{% block title %}
{{ competition.name }}
{% endblock %}
{% block body %}
<main>
<div class="jumbotron jumbotron3">
<div class="container p-3 p-md-5 m-md-3">
<h1 class="display-4 color-white">Информация о <br> соревновании: <b>{{ competition.name }}</b></h1>
<p... | 30.854167 | 112 | 0.478055 |
266aa822f1e1da56bc73421a161657cf9983af5e | 6,749 | java | Java | aCis_gameserver/java/net/sf/l2j/gameserver/model/vehicles/BoatInnadrilTour.java | naustagic/L2JNetwork_Interlude | 62cf8dabb032f1d4529e3877f2f724ebc5060ad7 | [
"MIT"
] | null | null | null | aCis_gameserver/java/net/sf/l2j/gameserver/model/vehicles/BoatInnadrilTour.java | naustagic/L2JNetwork_Interlude | 62cf8dabb032f1d4529e3877f2f724ebc5060ad7 | [
"MIT"
] | null | null | null | aCis_gameserver/java/net/sf/l2j/gameserver/model/vehicles/BoatInnadrilTour.java | naustagic/L2JNetwork_Interlude | 62cf8dabb032f1d4529e3877f2f724ebc5060ad7 | [
"MIT"
] | null | null | null | package net.sf.l2j.gameserver.model.vehicles;
import java.util.logging.Level;
import java.util.logging.Logger;
import net.sf.l2j.commons.concurrent.ThreadPool;
import net.sf.l2j.gameserver.instancemanager.BoatManager;
import net.sf.l2j.gameserver.model.actor.Vehicle;
import net.sf.l2j.gameserver.model.location.Locat... | 38.565714 | 108 | 0.745147 |
d7e8dc2bbaf758556b9e17aa3ca13fe4728dd367 | 3,242 | swift | Swift | MojioSDK/Models/Trip.swift | stepanrazin/mojio-ios-sdk | d127ff083c45d420ee25f29a4c1355ead64f70d2 | [
"MIT"
] | null | null | null | MojioSDK/Models/Trip.swift | stepanrazin/mojio-ios-sdk | d127ff083c45d420ee25f29a4c1355ead64f70d2 | [
"MIT"
] | null | null | null | MojioSDK/Models/Trip.swift | stepanrazin/mojio-ios-sdk | d127ff083c45d420ee25f29a4c1355ead64f70d2 | [
"MIT"
] | 3 | 2018-07-05T21:37:42.000Z | 2018-09-20T19:37:46.000Z | //
// Trip.swift
// MojioSDK
//
// Created by Ashish Agarwal on 2016-02-10.
// Copyright © 2016 Mojio. All rights reserved.
//
import UIKit
import Foundation
import ObjectMapper
public class Trip: Mappable {
public dynamic var VehicleId : String? = nil
public dynamic var Name : String? = nil
public va... | 34.126316 | 120 | 0.624614 |
7d57093e3e06907628a95d4ed9ec966f807b3711 | 24,784 | html | HTML | deploy/App-uncompressed.html | cookra/CA-Agile-Central---User-Stories-Missing-Feature | 054e423d4515f65010ffd4f6699a7208db577fb7 | [
"MIT"
] | null | null | null | deploy/App-uncompressed.html | cookra/CA-Agile-Central---User-Stories-Missing-Feature | 054e423d4515f65010ffd4f6699a7208db577fb7 | [
"MIT"
] | null | null | null | deploy/App-uncompressed.html | cookra/CA-Agile-Central---User-Stories-Missing-Feature | 054e423d4515f65010ffd4f6699a7208db577fb7 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<title>Agile Central Viewport Template</title>
<script type="text/javascript" src="/apps/2.1/sdk.js"></script>
<script type="text/javascript">
Rally.onReady(function () {
// R Cook
// v1.0.1
// 2017-03-02
// Template script to load a viewport with 5 pa... | 35.558106 | 216 | 0.435362 |
c7fc8a18d7052c16c3bc61afe9d0615cbc1043e2 | 2,635 | java | Java | net.solarnetwork.node.dao.jdbc/src/net/solarnetwork/node/dao/jdbc/JdbcPreparedStatementCsvReader.java | Tsvetelin98/Solar | 350341d4f6a32d53efd48778ee7a8ba89a591978 | [
"Apache-2.0"
] | null | null | null | net.solarnetwork.node.dao.jdbc/src/net/solarnetwork/node/dao/jdbc/JdbcPreparedStatementCsvReader.java | Tsvetelin98/Solar | 350341d4f6a32d53efd48778ee7a8ba89a591978 | [
"Apache-2.0"
] | null | null | null | net.solarnetwork.node.dao.jdbc/src/net/solarnetwork/node/dao/jdbc/JdbcPreparedStatementCsvReader.java | Tsvetelin98/Solar | 350341d4f6a32d53efd48778ee7a8ba89a591978 | [
"Apache-2.0"
] | null | null | null | /* ==================================================================
* JdbcPreparedStatementCsvReader.java - 6/10/2016 10:18:45 AM
*
* Copyright 2007-2016 SolarNetwork.net Dev Team
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License a... | 38.75 | 102 | 0.67704 |
71be48596c17dab775d3dc9c4092707fcf1ea7fa | 1,762 | ts | TypeScript | core/clientLaya/game/src/shine/net/httpRequest/SimpleHttpRequest.ts | hw233/home3 | a15a63694918483b2e4853edab197b5cdddca560 | [
"Apache-2.0"
] | 8 | 2020-08-17T09:54:20.000Z | 2021-02-08T05:25:02.000Z | core/clientLaya/game/src/shine/net/httpRequest/SimpleHttpRequest.ts | shineTeam7/home3 | a15a63694918483b2e4853edab197b5cdddca560 | [
"Apache-2.0"
] | null | null | null | core/clientLaya/game/src/shine/net/httpRequest/SimpleHttpRequest.ts | shineTeam7/home3 | a15a63694918483b2e4853edab197b5cdddca560 | [
"Apache-2.0"
] | 5 | 2020-07-24T03:07:08.000Z | 2021-11-17T14:20:15.000Z | namespace Shine
{
export class SimpleHttpRequest extends BaseHttpRequest
{
private _completeFunc: Function;
private _errorFunc: Function;
private _postData: string;
private _resultData: string;
constructor()
{
super();
this._method = HttpMethodType.Ge... | 25.536232 | 168 | 0.546538 |
15ba21adc02d8067961bfcbfcafc37fff97c6bfb | 2,011 | rb | Ruby | lib/ngp_van/configuration.rb | jamesthacher/ngp_van | 30efb66fb8995adc9b311ad1818189f5451eff70 | [
"MIT"
] | 9 | 2017-06-28T19:51:51.000Z | 2020-09-10T02:19:39.000Z | lib/ngp_van/configuration.rb | jamesthacher/ngp_van | 30efb66fb8995adc9b311ad1818189f5451eff70 | [
"MIT"
] | 26 | 2018-05-01T16:07:07.000Z | 2021-09-28T19:56:54.000Z | lib/ngp_van/configuration.rb | jamesthacher/ngp_van | 30efb66fb8995adc9b311ad1818189f5451eff70 | [
"MIT"
] | 5 | 2018-04-30T23:49:03.000Z | 2020-11-25T20:14:36.000Z | # frozen_string_literal: true
require 'ngp_van/default'
require 'ngp_van/version'
module NgpVan
class Configuration
# The Application Name in the NGP VAN system. A short string that identifies
# your application (e.g., acmeCrmProduct)
#
# The `application_name` setting is used for authenticating req... | 26.813333 | 80 | 0.682745 |
bce59419d269cd989e7c891696106e02ee483c32 | 5,254 | sql | SQL | SQL/gazguzzler.sql | alexkeramidas/Guzzlerproject | 0d04358b752c0cb7af6b8364108ae748b2071bc1 | [
"MIT"
] | null | null | null | SQL/gazguzzler.sql | alexkeramidas/Guzzlerproject | 0d04358b752c0cb7af6b8364108ae748b2071bc1 | [
"MIT"
] | null | null | null | SQL/gazguzzler.sql | alexkeramidas/Guzzlerproject | 0d04358b752c0cb7af6b8364108ae748b2071bc1 | [
"MIT"
] | null | null | null | -- MySQL Script generated by MySQL Workbench
-- 03/04/15 20:42:31
-- Model: New Model Version: 1.0
-- MySQL Workbench Forward Engineering
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITION... | 31.27381 | 85 | 0.586791 |
fb32d0c6c89d8bde2acf0b42bb413f05db1c207d | 659 | go | Go | tai64n/tai64n.go | dshynkev/wireguard-go | da9d300cf8b50d1cf629b7fa4423d122a74a6871 | [
"MIT"
] | null | null | null | tai64n/tai64n.go | dshynkev/wireguard-go | da9d300cf8b50d1cf629b7fa4423d122a74a6871 | [
"MIT"
] | null | null | null | tai64n/tai64n.go | dshynkev/wireguard-go | da9d300cf8b50d1cf629b7fa4423d122a74a6871 | [
"MIT"
] | null | null | null | /* SPDX-License-Identifier: MIT
*
* Copyright (C) 2017-2020 WireGuard LLC. All Rights Reserved.
*/
package tai64n
import (
"bytes"
"encoding/binary"
"time"
)
const TimestampSize = 12
const base = uint64(0x400000000000000a)
const whitenerMask = uint32(0x1000000 - 1)
type Timestamp [TimestampSize]byte
func Now... | 19.969697 | 62 | 0.710167 |
fb41d767ec9ac3a14599e66a987d942e1f329cc5 | 7,243 | go | Go | main_test.go | andrzejressel/ResumeFodder | d9a0dafec775c1a2cbce451703b63b7d36e9306b | [
"MIT"
] | 1 | 2021-11-25T13:29:43.000Z | 2021-11-25T13:29:43.000Z | main_test.go | andrzejressel/ResumeFodder | d9a0dafec775c1a2cbce451703b63b7d36e9306b | [
"MIT"
] | null | null | null | main_test.go | andrzejressel/ResumeFodder | d9a0dafec775c1a2cbce451703b63b7d36e9306b | [
"MIT"
] | null | null | null | package main
import (
"errors"
"os"
"path/filepath"
"testing"
"github.com/andrzejressel/ResumeFodder/command"
"github.com/andrzejressel/ResumeFodder/data"
"github.com/andrzejressel/ResumeFodder/testutils"
)
func TestNoArgs(t *testing.T) {
_, _, err := ParseArgs([]string{"resume.exe"})
if err == nil || err.E... | 42.110465 | 183 | 0.666022 |
ad17f74b5345e3ba17a7cba5f5fcf91f8b17dcf8 | 6,254 | rs | Rust | rhojvm/src/eval/internal_repl/system_class_loader.rs | MinusGix/RhoJVM | 8238f01a61775b218fb0ed17ae03a9710d926212 | [
"MIT"
] | null | null | null | rhojvm/src/eval/internal_repl/system_class_loader.rs | MinusGix/RhoJVM | 8238f01a61775b218fb0ed17ae03a9710d926212 | [
"MIT"
] | null | null | null | rhojvm/src/eval/internal_repl/system_class_loader.rs | MinusGix/RhoJVM | 8238f01a61775b218fb0ed17ae03a9710d926212 | [
"MIT"
] | null | null | null | use classfile_parser::field_info::FieldAccessFlags;
use either::Either;
use rhojvm_base::{
code::method::{DescriptorType, DescriptorTypeBasic, MethodDescriptor},
data::class_file_loader::Resource::Buffer,
};
use crate::{
class_instance::{ClassInstance, Fields},
eval::{eval_method, instances::make_field... | 33.805405 | 99 | 0.582667 |
92ddaee39ff4be23969f40d5aa49a30ef3e61ebc | 691 | h | C | mwc/romana/relic/a/usr/man/COHERENT/stddef.h | gspu/Coherent | 299bea1bb52a4dcc42a06eabd5b476fce77013ef | [
"BSD-3-Clause"
] | 20 | 2019-10-10T14:14:56.000Z | 2022-02-24T02:54:38.000Z | mwc/romana/relic/a/usr/man/COHERENT/stddef.h | gspu/Coherent | 299bea1bb52a4dcc42a06eabd5b476fce77013ef | [
"BSD-3-Clause"
] | null | null | null | mwc/romana/relic/a/usr/man/COHERENT/stddef.h | gspu/Coherent | 299bea1bb52a4dcc42a06eabd5b476fce77013ef | [
"BSD-3-Clause"
] | 1 | 2022-03-25T18:38:37.000Z | 2022-03-25T18:38:37.000Z |
stddef.h Header File stddef.h
Header for standard definitions
#include <stddef.h>
stddef.h defines three types and two macros that are used through
the library. They are as follows:
NNUULLLL Null pointer
ooffffsseettooff()Offset of a field... | 10.313433 | 73 | 0.552822 |
dd7342cc1aa559f9fba5df282f5aceae1a912a23 | 293 | php | PHP | app/Transactions.php | brucealbuquerque/recyclegram | 48c287078397e59e5271774193d45cb23fb28f2d | [
"MIT"
] | null | null | null | app/Transactions.php | brucealbuquerque/recyclegram | 48c287078397e59e5271774193d45cb23fb28f2d | [
"MIT"
] | null | null | null | app/Transactions.php | brucealbuquerque/recyclegram | 48c287078397e59e5271774193d45cb23fb28f2d | [
"MIT"
] | null | null | null | <?php
namespace recyclegram;
use Illuminate\Database\Eloquent\Model;
class Transactions extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'created_at', 'idUser', 'idResidues',
'dtEnding', 'qtdTotal',
];
}
| 15.421053 | 45 | 0.638225 |
4172142ce55c3de81346a53c16ba02c880b6d15e | 494 | kt | Kotlin | src/test/kotlin/io/openapiprocessor/core/support/TestParameterAnnotationWriter.kt | Tucos/openapi-processor-core | c810c7b03c5f6fab590065f95f72dae5ce1eb7fe | [
"Apache-2.0"
] | 6 | 2020-09-16T13:12:22.000Z | 2022-02-05T08:17:25.000Z | src/test/kotlin/io/openapiprocessor/core/support/TestParameterAnnotationWriter.kt | Tucos/openapi-processor-core | c810c7b03c5f6fab590065f95f72dae5ce1eb7fe | [
"Apache-2.0"
] | 66 | 2020-06-13T16:56:07.000Z | 2022-03-25T07:51:47.000Z | src/test/kotlin/io/openapiprocessor/core/support/TestParameterAnnotationWriter.kt | hauner/openapi-processor-core | de1f30c5926b699bdc9e22ec99eb47218c0c3dfe | [
"Apache-2.0"
] | 4 | 2020-09-16T13:12:27.000Z | 2021-06-18T20:25:54.000Z | /*
* Copyright © 2019 https://github.com/openapi-processor/openapi-processor-core
* PDX-License-Identifier: Apache-2.0
*/
package io.openapiprocessor.core.support
import io.openapiprocessor.core.model.parameters.Parameter
import io.openapiprocessor.core.writer.java.ParameterAnnotationWriter
import java.io.Writer
... | 26 | 79 | 0.779352 |
50d0c27ebe0e777bd0e2fda0343f4db766696898 | 909 | go | Go | stargazers.go | kevwan/stargazers | 443be7038e09258b9ae21c61544b8b7f3bd1cca6 | [
"MIT"
] | 10 | 2020-12-26T14:40:17.000Z | 2021-12-25T02:00:01.000Z | stargazers.go | kevwan/stargazers | 443be7038e09258b9ae21c61544b8b7f3bd1cca6 | [
"MIT"
] | 2 | 2021-11-30T14:14:32.000Z | 2021-11-30T15:53:11.000Z | stargazers.go | kevwan/stargazers | 443be7038e09258b9ae21c61544b8b7f3bd1cca6 | [
"MIT"
] | 3 | 2020-12-29T07:49:41.000Z | 2021-12-25T02:00:03.000Z | package main
import (
"flag"
"log"
"time"
"stargazers/feishu"
"stargazers/gh"
"github.com/tal-tech/go-zero/core/conf"
)
var configFile = flag.String("f", "config.yaml", "the config file")
type (
Feishu struct {
AppId string `json:"appId"`
AppSecret string `json:"appSecret"`
Receiver s... | 21.139535 | 105 | 0.660066 |
de5ec926e540e9b612aabac579d339b60d326c1b | 236 | kt | Kotlin | app/src/main/java/com/alwan/googlebooksapp/data/BookDataSource.kt | alwanfauzy/google-books-app | dc69c50be0bc5ed1b05d675f07ba8e26e2e31d32 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/alwan/googlebooksapp/data/BookDataSource.kt | alwanfauzy/google-books-app | dc69c50be0bc5ed1b05d675f07ba8e26e2e31d32 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/alwan/googlebooksapp/data/BookDataSource.kt | alwanfauzy/google-books-app | dc69c50be0bc5ed1b05d675f07ba8e26e2e31d32 | [
"Apache-2.0"
] | null | null | null | package com.alwan.googlebooksapp.data
import androidx.lifecycle.LiveData
import com.alwan.googlebooksapp.data.source.local.entity.BookEntity
interface BookDataSource {
fun getBooks(query: String): LiveData<ArrayList<BookEntity>>
} | 29.5 | 67 | 0.826271 |
62bd4fc1127fff41ad17f17e29783ba1e312deac | 5,271 | swift | Swift | Sources/Pipable/Pipable.swift | ColdGrub1384/Pipable | 657043e43cec85552590ad10cca4fd2b2bebcc86 | [
"MIT"
] | 3 | 2021-11-17T05:01:34.000Z | 2022-02-24T05:22:01.000Z | Sources/Pipable/Pipable.swift | ColdGrub1384/Pipable | 657043e43cec85552590ad10cca4fd2b2bebcc86 | [
"MIT"
] | null | null | null | Sources/Pipable/Pipable.swift | ColdGrub1384/Pipable | 657043e43cec85552590ad10cca4fd2b2bebcc86 | [
"MIT"
] | 2 | 2021-11-17T05:01:34.000Z | 2021-11-19T01:03:12.000Z | import UIKit
import AVKit
/// A protocol for implementing Picture in Picture in a`UIView`.
///
/// If a view conforms to this protocol, it is automatically compatible with Picture in Picture.
/// An instance of `AVPictureInPictureController` is automatically created for the view, which allows entering and exiting PIP.... | 33.788462 | 240 | 0.641055 |
6b5f0fefc1167de9a71e7fee906ac413f1c2f509 | 958 | h | C | Modules/planning/local_planner/include/local_planning_alg.h | 473867143/Prometheus | df1e1b0d861490223ac8b94d8cc4796537172292 | [
"BSD-3-Clause"
] | 1,217 | 2020-07-02T13:15:18.000Z | 2022-03-31T06:17:44.000Z | Modules/planning/local_planner/include/local_planning_alg.h | 473867143/Prometheus | df1e1b0d861490223ac8b94d8cc4796537172292 | [
"BSD-3-Clause"
] | 167 | 2020-07-12T15:35:43.000Z | 2022-03-31T11:57:40.000Z | Modules/planning/local_planner/include/local_planning_alg.h | 473867143/Prometheus | df1e1b0d861490223ac8b94d8cc4796537172292 | [
"BSD-3-Clause"
] | 270 | 2020-07-02T13:28:00.000Z | 2022-03-28T05:43:08.000Z | #ifndef LOCAL_PLANNING_ALG
#define LOCAL_PLANNING_ALG
#include <Eigen/Eigen>
#include <iostream>
#include <ros/ros.h>
#include <visualization_msgs/Marker.h>
#include <geometry_msgs/PoseStamped.h>
#include <std_msgs/Empty.h>
#include <sensor_msgs/PointCloud2.h>
#include <nav_msgs/Odometry.h>
#include <pcl/point_cloud... | 25.891892 | 85 | 0.76618 |
a47c17822757cfd2bdcd40d68cb15e67922902d6 | 2,901 | swift | Swift | Hipstapaper/Datum/Controllers/Query.swift | jeffreybergier/Hipstapaper | 7c7a38b71450017273337700513c043835bfe2c6 | [
"MIT"
] | 40 | 2016-12-21T15:42:50.000Z | 2022-03-29T16:15:45.000Z | Hipstapaper/Datum/Controllers/Query.swift | jeffreybergier/Hipstapaper | 7c7a38b71450017273337700513c043835bfe2c6 | [
"MIT"
] | 9 | 2018-07-07T06:01:27.000Z | 2021-03-20T02:55:59.000Z | Hipstapaper/Datum/Controllers/Query.swift | jeffreybergier/Hipstapaper | 7c7a38b71450017273337700513c043835bfe2c6 | [
"MIT"
] | 4 | 2019-08-17T11:02:59.000Z | 2022-03-22T18:01:44.000Z | //
// Created by Jeffrey Bergier on 2020/11/28.
//
// MIT License
//
// Copyright (c) 2021 Jeffrey Bergier
//
// 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, inc... | 35.378049 | 82 | 0.647363 |
46eff0e50a287a2326e48493813e15ee539c7d6c | 19,376 | css | CSS | EventManagement.Portal/EventManagement.Portal.Web/wwwroot/portal/portal.css | atanas-georgiev/EventManagement | 552f20a3d0d4ed776a82e3015af65801df096b93 | [
"MIT"
] | null | null | null | EventManagement.Portal/EventManagement.Portal.Web/wwwroot/portal/portal.css | atanas-georgiev/EventManagement | 552f20a3d0d4ed776a82e3015af65801df096b93 | [
"MIT"
] | 1 | 2022-03-02T02:36:28.000Z | 2022-03-02T02:36:28.000Z | EventManagement.Portal/EventManagement.Portal.Web/wwwroot/portal/portal.css | atanas-georgiev/EventManagement | 552f20a3d0d4ed776a82e3015af65801df096b93 | [
"MIT"
] | 1 | 2019-10-15T02:07:07.000Z | 2019-10-15T02:07:07.000Z | @font-face {
font-family: 'roboto_condensedregular';
src: url("../kpmg/fonts/RobotoCondensed-Regular-webfont.eot");
src: url("../kpmg/fonts/RobotoCondensed-Regular-webfont.eot?#iefix") format("embedded-opentype"), url("../kpmg/fonts/RobotoCondensed-Regular-webfont.woff") format("woff"), url("../kpmg/fonts/Roboto... | 22.635514 | 346 | 0.615091 |
b2e0de9c060c5c18b08f58d054b60642948a19ab | 13,975 | py | Python | SViTE/backup/sparselearning/snip.py | VITA-Group/SViTE | b0c62fd153c8b0b99917ab935ee76925c9de1149 | [
"MIT"
] | 50 | 2021-05-29T00:52:45.000Z | 2022-03-17T11:39:47.000Z | SViTE/backup/sparselearning/snip.py | VITA-Group/SViTE | b0c62fd153c8b0b99917ab935ee76925c9de1149 | [
"MIT"
] | 2 | 2022-01-16T07:24:52.000Z | 2022-03-29T01:56:24.000Z | SViTE/backup/sparselearning/snip.py | VITA-Group/SViTE | b0c62fd153c8b0b99917ab935ee76925c9de1149 | [
"MIT"
] | 6 | 2021-06-27T22:24:16.000Z | 2022-01-17T02:45:32.000Z | import torch
import torch.autograd as autograd
import torch.nn as nn
import torch.nn.functional as F
import math
import copy
import types
def fgsm_attack(image, epsilon, data_grad):
print('Attacking...')
# Collect the element-wise sign of the data gradient
sign_data_grad = data_grad.sign()
# Create th... | 34.506173 | 129 | 0.606082 |
f5252da36d97c31db0395f1f67312811ace048f8 | 54 | rs | Rust | src/http_api_v3/data/exchange_info/get/mod.rs | stefco/binance-client | dbaec74cc8f77e00d687749d98342467ac285d5c | [
"MIT"
] | 5 | 2020-11-08T22:57:14.000Z | 2021-06-25T16:46:52.000Z | src/http_api_v3/data/exchange_info/get/mod.rs | stefco/binance-client | dbaec74cc8f77e00d687749d98342467ac285d5c | [
"MIT"
] | 1 | 2021-09-07T06:47:44.000Z | 2021-09-07T06:47:44.000Z | src/http_api_v3/data/exchange_info/get/mod.rs | stefco/binance-client | dbaec74cc8f77e00d687749d98342467ac285d5c | [
"MIT"
] | 1 | 2021-03-12T13:50:01.000Z | 2021-03-12T13:50:01.000Z | //!
//! The exchange info GET.
//!
pub mod response;
| 9 | 26 | 0.592593 |
ddff147ed8edc0cfffbfc650ab00d20324718046 | 977 | php | PHP | app/Models/PermutaAdscripcion.php | XXAI/X11 | cbfe630e7dcc38fa1d334c7ac0a857ad4f478f21 | [
"MIT"
] | null | null | null | app/Models/PermutaAdscripcion.php | XXAI/X11 | cbfe630e7dcc38fa1d334c7ac0a857ad4f478f21 | [
"MIT"
] | 19 | 2021-03-08T16:58:03.000Z | 2022-02-26T18:59:35.000Z | app/Models/PermutaAdscripcion.php | XXAI/X11 | cbfe630e7dcc38fa1d334c7ac0a857ad4f478f21 | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class PermutaAdscripcion extends Model
{
use SoftDeletes;
protected $fillable = ['empleado_id', 'user_origen_id', 'clues_origen', 'cr_origen_id', 'user_destino_id', 'clues_destino', 'cr_destino_i... | 28.735294 | 182 | 0.666325 |
8f1fc6dc8e35723c33819934cb7f0a9ec4c4ae78 | 469 | lua | Lua | src/ServerScriptService/FunctionalDomains/LightManager.lua | gtraines/romox-ts | 79c2f15431ea399a52155c0d3345e94e403125c1 | [
"MIT"
] | 2 | 2020-02-10T02:20:27.000Z | 2021-05-27T14:16:16.000Z | src/ServerScriptService/FunctionalDomains/LightManager.lua | gtraines/romox-ts | 79c2f15431ea399a52155c0d3345e94e403125c1 | [
"MIT"
] | 2 | 2019-09-30T07:46:41.000Z | 2019-10-15T05:38:54.000Z | src/ServerScriptService/FunctionalDomains/LightManager.lua | gtraines/romox-ts | 79c2f15431ea399a52155c0d3345e94e403125c1 | [
"MIT"
] | null | null | null | -- Dictionary
local module = {}
function module.addSurfaceLighting(part, surfaces, range, color)
-- Type of Face is "NormalId"
-- Conversions:
-- Right: 0
-- Top: 1
-- Back: 2
-- Left: 3
-- Bottom: 4
-- Front: 5
for _, surface in pairs(surfaces) do
local lightObj = Instance.new('SurfaceLight', part)
l... | 18.76 | 64 | 0.678038 |
26337df625fa197eecc82b52da90cf8e36ab844a | 3,573 | java | Java | plugins/sh/src/com/intellij/sh/run/ShTerminalRunner.java | lusinga/intellij-community | 618fd69dd6aa061408c3128de8f1f82078ddf1fc | [
"Apache-2.0"
] | null | null | null | plugins/sh/src/com/intellij/sh/run/ShTerminalRunner.java | lusinga/intellij-community | 618fd69dd6aa061408c3128de8f1f82078ddf1fc | [
"Apache-2.0"
] | null | null | null | plugins/sh/src/com/intellij/sh/run/ShTerminalRunner.java | lusinga/intellij-community | 618fd69dd6aa061408c3128de8f1f82078ddf1fc | [
"Apache-2.0"
] | null | null | null | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.sh.run;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.Pair;
import com.intellij.openapi.vfs.CharsetToolkit;
import com.intell... | 41.546512 | 140 | 0.72768 |
b996afde982ad31326cbb97fb8216c7a55b3d3b7 | 10,966 | c | C | src/render/map.c | RAttab/legion | 79c1d6dd76db31c8d765fefd034df911dc414e83 | [
"BSD-2-Clause",
"MIT"
] | 4 | 2021-09-09T16:54:38.000Z | 2021-12-01T20:21:19.000Z | src/render/map.c | RAttab/legion | 79c1d6dd76db31c8d765fefd034df911dc414e83 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | src/render/map.c | RAttab/legion | 79c1d6dd76db31c8d765fefd034df911dc414e83 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | /* map.c
Rémi Attab (remi.attab@gmail.com), 14 Nov 2020
FreeBSD-style copyright and disclaimer apply
*/
#include "render/ui.h"
#include "render/core.h"
#include "game/world.h"
#include "utils/color.h"
#include "utils/hset.h"
// -----------------------------------------------------------------------------
// st... | 29.798913 | 87 | 0.545504 |
b9dd181f2d0fe9f9ca6c8aa5c586f03a140872fa | 3,359 | h | C | src/shared/offload.h | LinjianMa/ctf | 06a50b6ea4be2eeb7f3d6c43f05a0befae94f08e | [
"BSD-2-Clause"
] | 108 | 2018-01-01T21:29:15.000Z | 2022-02-24T17:51:15.000Z | src/shared/offload.h | LinjianMa/ctf | 06a50b6ea4be2eeb7f3d6c43f05a0befae94f08e | [
"BSD-2-Clause"
] | 91 | 2017-12-27T04:28:09.000Z | 2022-03-10T09:14:43.000Z | src/shared/offload.h | LinjianMa/ctf | 06a50b6ea4be2eeb7f3d6c43f05a0befae94f08e | [
"BSD-2-Clause"
] | 45 | 2017-12-26T21:15:21.000Z | 2022-02-10T11:16:40.000Z | /*Copyright (c) 2014, Edgar Solomonik, all rights reserved.*/
#ifndef __OFFLOAD_H__
#define __OFFLOAD_H__
//#include "../interface/common.h"
namespace CTF_int{
class algstrct;
/** \brief initialize offloading, e.g. create cublas */
void offload_init();
/** \brief exit offloading, e.g. destroy cublas */
... | 27.760331 | 61 | 0.478118 |
040b0be233cca00bc7df20a442addcce24543098 | 105,052 | js | JavaScript | _js/src/posts/2016/11/29/animated-icon-demos.js | MaTriXy/AndroidDesignPatterns | 25dc839bf9581919f6f3da16c68c30e7010caad7 | [
"MIT"
] | 67 | 2017-01-31T20:38:34.000Z | 2021-03-01T11:15:56.000Z | _js/src/posts/2016/11/29/animated-icon-demos.js | MaTriXy/AndroidDesignPatterns | 25dc839bf9581919f6f3da16c68c30e7010caad7 | [
"MIT"
] | 5 | 2015-03-22T19:29:36.000Z | 2016-12-07T05:47:18.000Z | _js/src/posts/2016/11/29/animated-icon-demos.js | MaTriXy/AndroidDesignPatterns | 25dc839bf9581919f6f3da16c68c30e7010caad7 | [
"MIT"
] | 18 | 2015-03-21T23:23:40.000Z | 2016-10-20T18:26:07.000Z | 'use strict';
// TODO(alockwood): fix this hack...
if (document.getElementById("playTransformScaleCheckbox") !== null) {
var bezierEasing = require('bezier-easing');
var webAnimationsJs = require('web-animations-js');
var pathDataPolyfill = require('path-data-polyfill');
// ===========================================... | 51.445642 | 1,868 | 0.659131 |
18ddb0679508797c59b1967cab0edc3e33d931f2 | 3,002 | css | CSS | bitrix/modules/intranet/install/components/bitrix/intranet.system.person/templates/.default/style.css | BuildingBridge/biznet | 0e9e864be99e01bd35f4321a04736866937897b0 | [
"Unlicense"
] | 1 | 2020-10-05T04:28:40.000Z | 2020-10-05T04:28:40.000Z | bitrix/modules/intranet/install/components/bitrix/intranet.system.person/templates/.default/style.css | shuchitamathur28/bitrix24 | fafc179382f028989a4ee4a5f97422e49b1526b4 | [
"Unlicense"
] | null | null | null | bitrix/modules/intranet/install/components/bitrix/intranet.system.person/templates/.default/style.css | shuchitamathur28/bitrix24 | fafc179382f028989a4ee4a5f97422e49b1526b4 | [
"Unlicense"
] | null | null | null | .bx-user-info-big {border: solid 1px #C4C4C4; margin: 0px 0px 10px 0px;}
.bx-user-info-inner-big {padding: 15px; border-top: solid 3px #D8E3E8;}
.bx-user-info-inner-big .bx-user-text {margin-left: 120px; margin-right: 200px;}
.bx-user-info-inner-big .bx-user-text.no-photo {margin-left: 0px;}
.bx-user-info-inner-big .b... | 46.184615 | 148 | 0.733511 |
9fc43f5bc86d40d0a1590c8d24d3ee09d34112fc | 1,052 | kt | Kotlin | feature_wallet_impl/src/main/java/jp/co/soramitsu/feature_wallet_impl/presentation/send/error/EthereumAccountErrorBottomSheetDialog.kt | metrocoindev/Sora-Android | a942cf4fc0534b8c9a37d4bdf8a17334aadaa001 | [
"Apache-2.0"
] | 11 | 2019-10-08T06:26:55.000Z | 2021-07-26T07:33:08.000Z | feature_wallet_impl/src/main/java/jp/co/soramitsu/feature_wallet_impl/presentation/send/error/EthereumAccountErrorBottomSheetDialog.kt | metrocoindev/Sora-Android | a942cf4fc0534b8c9a37d4bdf8a17334aadaa001 | [
"Apache-2.0"
] | 2 | 2020-11-26T01:55:22.000Z | 2021-08-18T21:27:56.000Z | feature_wallet_impl/src/main/java/jp/co/soramitsu/feature_wallet_impl/presentation/send/error/EthereumAccountErrorBottomSheetDialog.kt | metrocoindev/Sora-Android | a942cf4fc0534b8c9a37d4bdf8a17334aadaa001 | [
"Apache-2.0"
] | 9 | 2019-10-24T16:05:17.000Z | 2022-03-10T14:31:04.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0
*/
package jp.co.soramitsu.feature_wallet_impl.presentation.send.error
import android.content.Context
import android.view.LayoutInflater
import com.google.android.material.bottomsheet.BottomSheetDialog
import jp.co.soramitsu.c... | 35.066667 | 107 | 0.789924 |
96926cc7e482ff87829e6f523c89f33d33463d0e | 2,932 | html | HTML | web/index.html | RTradeLtd/host | 115156bc1f4df3f69de2c1b57386999b2dc8a1a6 | [
"MIT"
] | 2 | 2019-07-29T18:51:30.000Z | 2019-08-10T02:05:08.000Z | web/index.html | RTradeLtd/host | 115156bc1f4df3f69de2c1b57386999b2dc8a1a6 | [
"MIT"
] | 4 | 2019-07-26T16:03:00.000Z | 2019-08-13T02:32:13.000Z | web/index.html | Permaweb/host | 115156bc1f4df3f69de2c1b57386999b2dc8a1a6 | [
"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">
<!-- Bootstrap -->
<link href="https://permaweb.io/ipfs/bafybeidxhhjkylkzpudswjbbixwzohrmx4fa5cs35xe7ntxskpgtpaszlm/bootstrap... | 34.494118 | 242 | 0.700205 |
1ebc6b1f05fe19cd5daf780313c6319fd1ce8a3d | 1,310 | lua | Lua | lua/nvim-lsp-installer/servers/bicep/init.lua | sarmong/nvim-lsp-installer | b6ee5b2ed77bd50c0681769a5ee41f5f0558fe88 | [
"Apache-2.0"
] | null | null | null | lua/nvim-lsp-installer/servers/bicep/init.lua | sarmong/nvim-lsp-installer | b6ee5b2ed77bd50c0681769a5ee41f5f0558fe88 | [
"Apache-2.0"
] | null | null | null | lua/nvim-lsp-installer/servers/bicep/init.lua | sarmong/nvim-lsp-installer | b6ee5b2ed77bd50c0681769a5ee41f5f0558fe88 | [
"Apache-2.0"
] | null | null | null | local server = require "nvim-lsp-installer.server"
local path = require "nvim-lsp-installer.path"
local std = require "nvim-lsp-installer.installers.std"
local context = require "nvim-lsp-installer.installers.context"
return function(name, root_dir)
return server.Server:new {
name = name,
root_dir ... | 42.258065 | 120 | 0.610687 |
39e09ce424f16dce30c9f44d377077833ace3067 | 189 | java | Java | src/main/java/vorquel/mod/toolsonthego/item/ItemTotGAxe.java | Vorquel/Tools-On-The-Go | 0f9ce4b1041d4ce140668082e474ebb41680257f | [
"Zlib"
] | null | null | null | src/main/java/vorquel/mod/toolsonthego/item/ItemTotGAxe.java | Vorquel/Tools-On-The-Go | 0f9ce4b1041d4ce140668082e474ebb41680257f | [
"Zlib"
] | null | null | null | src/main/java/vorquel/mod/toolsonthego/item/ItemTotGAxe.java | Vorquel/Tools-On-The-Go | 0f9ce4b1041d4ce140668082e474ebb41680257f | [
"Zlib"
] | null | null | null | package vorquel.mod.toolsonthego.item;
import net.minecraft.item.ItemAxe;
public class ItemTotGAxe extends ItemAxe {
public ItemTotGAxe() {
super(ToolMaterial.STONE);
}
}
| 18.9 | 42 | 0.724868 |
161effd57acb4fc5ebb4579a4c2782a8020b2d37 | 64 | ts | TypeScript | es/RvHookup.d.ts | eugeneilyin/mdi-norm | e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4 | [
"MIT"
] | 3 | 2018-11-11T01:48:20.000Z | 2019-12-02T06:13:14.000Z | es/RvHookup.d.ts | eugeneilyin/mdi-norm | e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4 | [
"MIT"
] | 1 | 2019-02-21T05:59:35.000Z | 2019-02-21T21:57:57.000Z | src/RvHookup.d.ts | eugeneilyin/mdi-norm | e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4 | [
"MIT"
] | null | null | null | export { default as RvHookup } from './utils/createThemedIcon';
| 32 | 63 | 0.75 |
fed7ae6775a739157759d546b5968732f068d045 | 446 | html | HTML | build/templates/template.html | dzervoudakes/react-party | 792f709c356b14399ec1dbdb7dff74c8c5fbb019 | [
"MIT"
] | 1 | 2020-08-07T19:20:51.000Z | 2020-08-07T19:20:51.000Z | build/templates/template.html | dzervoudakes/react-party | 792f709c356b14399ec1dbdb7dff74c8c5fbb019 | [
"MIT"
] | 4 | 2017-10-05T04:14:11.000Z | 2018-03-20T03:33:58.000Z | build/templates/template.html | dzervoudakes/react-party | 792f709c356b14399ec1dbdb7dff74c8c5fbb019 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en-US">
<head>
<title><%= htmlWebpackPlugin.options.title %></title>
<base href="/">
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Questrial:400,700">
</head>... | 31.857143 | 100 | 0.672646 |
43ece11ca541d04a6001c2bdcf37f34146a18208 | 1,672 | go | Go | deployment/template/deployment_template_test.go | mboldt/bosh-cli | 8366c6fd5cd98b7c9051dc9481f67c88fb8606f9 | [
"Apache-2.0"
] | 172 | 2016-09-01T06:20:07.000Z | 2022-02-20T10:52:38.000Z | deployment/template/deployment_template_test.go | mboldt/bosh-cli | 8366c6fd5cd98b7c9051dc9481f67c88fb8606f9 | [
"Apache-2.0"
] | 588 | 2016-08-30T18:06:28.000Z | 2022-03-31T09:49:03.000Z | deployment/template/deployment_template_test.go | mboldt/bosh-cli | 8366c6fd5cd98b7c9051dc9481f67c88fb8606f9 | [
"Apache-2.0"
] | 173 | 2016-09-01T09:31:22.000Z | 2022-01-27T09:47:35.000Z | package template_test
import (
"github.com/cppforlife/go-patch/patch"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
. "github.com/cloudfoundry/bosh-cli/deployment/template"
boshtpl "github.com/cloudfoundry/bosh-cli/director/template"
)
var _ = Describe("DeploymentTemplate", func() {
It("can template va... | 34.122449 | 160 | 0.717105 |
9bfea95b368a34ed9117ba53196a9e56ec98c726 | 1,080 | js | JavaScript | plugins/github.js | wiox/hash.js | c1de06ed81326fc83753fcb72fd356bc1f10e1db | [
"CC0-1.0"
] | 10 | 2015-04-06T17:43:30.000Z | 2015-09-04T19:47:38.000Z | plugins/github.js | meepen/hash.js | 9fe94b946fd1d6cf86ec06362deaa370ec884e89 | [
"CC0-1.0"
] | 45 | 2015-04-06T19:51:45.000Z | 2015-09-28T09:54:30.000Z | plugins/github.js | meepen/hash.js | 9fe94b946fd1d6cf86ec06362deaa370ec884e89 | [
"CC0-1.0"
] | 34 | 2015-04-06T19:56:19.000Z | 2015-10-04T00:46:52.000Z | var config = require( "../config" );
var github = require( "../lib/github" )( config.GitHub );
var gitio = require( "../lib/gitio" );
var request = require( "request" );
var last = null;
github.on( "data", function( notification ) {
github.markAsRead();
var notificationTime = new Date( notification.updated_at ... | 19.285714 | 75 | 0.633333 |
85822bca1dd9230a7e76b14d951c40276e5feaee | 9,602 | js | JavaScript | public/js/ajax.js | alexrodri99/ideas-ajax | 76166c916b61e853be041347cee70286e99835f1 | [
"MIT"
] | null | null | null | public/js/ajax.js | alexrodri99/ideas-ajax | 76166c916b61e853be041347cee70286e99835f1 | [
"MIT"
] | null | null | null | public/js/ajax.js | alexrodri99/ideas-ajax | 76166c916b61e853be041347cee70286e99835f1 | [
"MIT"
] | null | null | null | window.onload = function() {
modal = document.getElementById("myModal");
read();
}
function objetoAjax() {
var xmlhttp = false;
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (E) ... | 38.103175 | 402 | 0.595189 |
b6fa3f44b306e7c858d5dfa5405b46e027f58252 | 3,704 | kt | Kotlin | reboot-core/src/main/kotlin/nl/thanus/reboot/ReBoot.kt | Keso-Rupert/reboot | c0e45d0401d02de55c37c1cf4e8dfd40f4fb39fb | [
"Apache-2.0"
] | 64 | 2019-10-18T08:04:53.000Z | 2022-03-08T03:14:38.000Z | reboot-core/src/main/kotlin/nl/thanus/reboot/ReBoot.kt | thanus/rewriting | c0e45d0401d02de55c37c1cf4e8dfd40f4fb39fb | [
"Apache-2.0"
] | 6 | 2020-02-20T23:12:38.000Z | 2020-04-01T14:19:40.000Z | reboot-core/src/main/kotlin/nl/thanus/reboot/ReBoot.kt | thanus/rewriting | c0e45d0401d02de55c37c1cf4e8dfd40f4fb39fb | [
"Apache-2.0"
] | 3 | 2020-02-18T08:05:25.000Z | 2020-11-20T01:42:56.000Z | package nl.thanus.reboot
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.parameters.arguments.argument
import com.github.ajalt.clikt.parameters.options.multiple
import com.github.ajalt.clikt.parameters.options.option
import com.github.ajalt.clikt.parameters.types.enum
import com.github.ja... | 41.617978 | 122 | 0.731371 |
b1b636f69ad450e458aa8a0155c9f596efccc01c | 888 | c | C | A.S. 2017-2018/Compiti 24:03:2018/Analizzatore di nomi inseriti/main.c | MarcoBuster/ITIS | 1c5f627f4f48898a5dd05746a71372a425cd6bc0 | [
"MIT"
] | 5 | 2017-10-12T20:32:37.000Z | 2018-01-22T16:42:29.000Z | A.S. 2017-2018/Compiti 24:03:2018/Analizzatore di nomi inseriti/main.c | MarcoBuster/ITIS | 1c5f627f4f48898a5dd05746a71372a425cd6bc0 | [
"MIT"
] | null | null | null | A.S. 2017-2018/Compiti 24:03:2018/Analizzatore di nomi inseriti/main.c | MarcoBuster/ITIS | 1c5f627f4f48898a5dd05746a71372a425cd6bc0 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <string.h>
/*
* TODO:
* quanti nomi
* nome più lungo
* ordine alfabetico
*/
int main() {
char input[100][100];
int i;
int count, longest = 0, longest_index = 0;
for (i=0; i<100 && input[i - 1][0] != '*'; i++) {
printf("\nInserisci nome (dio porco): ");
... | 20.651163 | 53 | 0.48536 |
fb3c425f6c920fa1f759c6f19927f1791f6b1dcc | 1,561 | h | C | optickscore/OpticksPhoton.h | seriksen/opticks | 2173ea282bdae0bbd1abf4a3535bede334413ec1 | [
"Apache-2.0"
] | 1 | 2020-05-13T06:55:49.000Z | 2020-05-13T06:55:49.000Z | optickscore/OpticksPhoton.h | seriksen/opticks | 2173ea282bdae0bbd1abf4a3535bede334413ec1 | [
"Apache-2.0"
] | null | null | null | optickscore/OpticksPhoton.h | seriksen/opticks | 2173ea282bdae0bbd1abf4a3535bede334413ec1 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019 Opticks Team. All Rights Reserved.
*
* This file is part of Opticks
* (see https://bitbucket.org/simoncblyth/opticks).
*
* 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 ... | 30.019231 | 77 | 0.585522 |
b24ce946cba71078529160208ddab441710b6c2d | 6,884 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_501.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_501.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_501.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xca91, %rsi
lea addresses_A_ht+0x1c241, %rdi
add %rbp, %rbp
mov $24, %rcx
rep movsq
nop
nop
nop
nop
nop
cmp %rbp, %rbp
lea addresses_D_ht+0x141e9, %r11
nop
nop
nop
nop
nop
inc... | 36.617021 | 2,999 | 0.661534 |
dda18707b174bf35d646f30590c4df82fc378209 | 26,202 | go | Go | cf/terminal/terminalfakes/fake_ui.go | heyjcollins/cli | a9dc02860cef013b7c373613416f25800926ce3b | [
"Apache-2.0"
] | 1,624 | 2015-01-03T00:52:09.000Z | 2022-03-29T18:39:10.000Z | cf/terminal/terminalfakes/fake_ui.go | heyjcollins/cli | a9dc02860cef013b7c373613416f25800926ce3b | [
"Apache-2.0"
] | 1,946 | 2015-01-04T03:22:41.000Z | 2022-03-29T17:26:43.000Z | cf/terminal/terminalfakes/fake_ui.go | heyjcollins/cli | a9dc02860cef013b7c373613416f25800926ce3b | [
"Apache-2.0"
] | 869 | 2015-01-05T12:58:38.000Z | 2022-03-12T07:50:53.000Z | // Code generated by counterfeiter. DO NOT EDIT.
package terminalfakes
import (
"io"
"sync"
"code.cloudfoundry.org/cli/cf/configuration/coreconfig"
"code.cloudfoundry.org/cli/cf/terminal"
)
type FakeUI struct {
AskStub func(string) string
askMutex sync.RWMutex
askArgsForCall []struct {
arg1 str... | 28.326486 | 123 | 0.764598 |
89b38ed0ed2945401eb09a3b6f38fc7bcd53b4a5 | 10,337 | sql | SQL | extras/loinc/Postgresql/loinc_comment.sql | thewileylab/mimic-omop | fa5113c3f0777e74d2a6b302322477e6fe666910 | [
"MIT"
] | 84 | 2018-01-26T12:02:32.000Z | 2022-03-28T23:50:14.000Z | extras/loinc/Postgresql/loinc_comment.sql | thewileylab/mimic-omop | fa5113c3f0777e74d2a6b302322477e6fe666910 | [
"MIT"
] | 55 | 2018-01-23T15:00:02.000Z | 2022-03-25T15:36:58.000Z | extras/loinc/Postgresql/loinc_comment.sql | thewileylab/mimic-omop | fa5113c3f0777e74d2a6b302322477e6fe666910 | [
"MIT"
] | 40 | 2018-02-07T17:14:08.000Z | 2022-03-08T02:59:43.000Z | 1. LOINC_NUM,Text,10 The unique LOINC Code is a string in the format of nnnnnnnn-n.
2. COMPONENT,Text,255 First major axis-component or analyte
3. PROPERTY,Text,"30 Second major axis-property observed (e.g., mass vs. substance)"
"Third major axis-timing of the measurement (e.g., point in time vs 24 4. TIME_ASPCT",Text,... | 59.068571 | 111 | 0.74867 |
d262fa8efd84ae6ab3519b1ebee074672de033db | 1,388 | php | PHP | tests/Unit/Mapping/Validation/VaccinationMappingTest.php | chubbyphp/chubbyphp | 41efda927e259b9dcc8185c50dd6f9c6ee555aa4 | [
"MIT"
] | 34 | 2018-10-11T08:29:05.000Z | 2022-01-08T05:07:00.000Z | tests/Unit/Mapping/Validation/VaccinationMappingTest.php | chubbyphp/chubbyphp | 41efda927e259b9dcc8185c50dd6f9c6ee555aa4 | [
"MIT"
] | 16 | 2018-10-12T14:14:22.000Z | 2021-03-04T16:39:34.000Z | tests/Unit/Mapping/Validation/VaccinationMappingTest.php | chubbyphp/chubbyphp | 41efda927e259b9dcc8185c50dd6f9c6ee555aa4 | [
"MIT"
] | 6 | 2018-10-03T19:38:14.000Z | 2021-11-08T03:08:19.000Z | <?php
declare(strict_types=1);
namespace App\Tests\Unit\Mapping\Validation;
use App\Mapping\Validation\VaccinationMapping;
use App\Model\Vaccination;
use Chubbyphp\Validation\Constraint\NotBlankConstraint;
use Chubbyphp\Validation\Constraint\NotNullConstraint;
use Chubbyphp\Validation\Constraint\TypeConstraint;
use ... | 27.215686 | 77 | 0.696686 |
dfe4dbc462ef04f0ab027d99080521bbfb5a88f9 | 169 | ts | TypeScript | src/utils/string-utils.d.ts | teisanutudor/module-generator-plugin | a5b7e787408d555930fb5d606e1a2d61db46f09f | [
"MIT"
] | null | null | null | src/utils/string-utils.d.ts | teisanutudor/module-generator-plugin | a5b7e787408d555930fb5d606e1a2d61db46f09f | [
"MIT"
] | null | null | null | src/utils/string-utils.d.ts | teisanutudor/module-generator-plugin | a5b7e787408d555930fb5d606e1a2d61db46f09f | [
"MIT"
] | null | null | null | export declare function lowerCase(str: string): string;
export declare function upperCase(str: string): string;
export declare function dashToUnderscore(str: any): any;
| 42.25 | 56 | 0.804734 |
0ed5ca349c15d3cb9f428844c855fdd9fdb9ff96 | 1,526 | h | C | RiscVPkg/Universal/Sec/SecMain.h | HewlettPackard/RiscVEdk2 | 7f65b0faea1f531a67ac07a4acb94e34770a1a03 | [
"BSD-2-Clause"
] | 9 | 2018-02-13T02:36:50.000Z | 2021-12-05T18:37:25.000Z | RiscVPkg/Universal/Sec/SecMain.h | HewlettPackard/RiscVEdk2 | 7f65b0faea1f531a67ac07a4acb94e34770a1a03 | [
"BSD-2-Clause"
] | null | null | null | RiscVPkg/Universal/Sec/SecMain.h | HewlettPackard/RiscVEdk2 | 7f65b0faea1f531a67ac07a4acb94e34770a1a03 | [
"BSD-2-Clause"
] | null | null | null | /** @file
RISC-V SEC phase module definitions..
Copyright (c) 2016, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full ... | 26.77193 | 89 | 0.753604 |
41e9ac87b4d5d47a7fb2878e0b5f24b3eddf8b61 | 262 | h | C | source/VehicleDAO/VehicleDAOMacros.h | VincentPT/vschk | f8f40a7666d80224a9a24c097a4d52f5507d03de | [
"MIT"
] | null | null | null | source/VehicleDAO/VehicleDAOMacros.h | VincentPT/vschk | f8f40a7666d80224a9a24c097a4d52f5507d03de | [
"MIT"
] | null | null | null | source/VehicleDAO/VehicleDAOMacros.h | VincentPT/vschk | f8f40a7666d80224a9a24c097a4d52f5507d03de | [
"MIT"
] | null | null | null | #pragma once
#ifdef _WIN32
#ifdef VEHICLEDAO_EXPORTS
#define VEHICLEDAO_API __declspec(dllexport)
#else
#define VEHICLEDAO_API __declspec(dllimport)
#endif //VEHICLEDAO_EXPORTS
#else //_WIN32
#define VEHICLEDAO_API
#endif //_WIN32 | 26.2 | 52 | 0.725191 |
de6f70039e38789f75590e83c6cab0602af4f204 | 17,665 | rs | Rust | src/mutf8.rs | Radviger/noak | 3686701dcbb1ea00f777e1ecdd0d07062e17da95 | [
"MIT"
] | 15 | 2020-06-03T14:10:41.000Z | 2022-03-24T07:14:28.000Z | src/mutf8.rs | Radviger/noak | 3686701dcbb1ea00f777e1ecdd0d07062e17da95 | [
"MIT"
] | null | null | null | src/mutf8.rs | Radviger/noak | 3686701dcbb1ea00f777e1ecdd0d07062e17da95 | [
"MIT"
] | 2 | 2021-02-03T20:21:57.000Z | 2021-10-01T05:35:11.000Z | //! Modified UTF-8 string handling
use crate::error::*;
use std::{
borrow::{Borrow, ToOwned},
char,
fmt::{self, Write},
iter::{DoubleEndedIterator, FromIterator},
ops::{self, Deref},
str,
};
/// A Modified UTF-8 string slice, like [prim@str].
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash)]
#[r... | 28.584142 | 120 | 0.501444 |