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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
df017d7dd402e851ddd14351e50b1183f6d6ac3b | 3,078 | sql | SQL | scorewater-minimum-viable-iot-agent/scorewater-turbinator/src/main/resources/sql/03_create_views.sql | CivityNL/SCOREwater-Java | 355a591454335acaae275f5845a7464225cf84c4 | [
"BSD-3-Clause"
] | null | null | null | scorewater-minimum-viable-iot-agent/scorewater-turbinator/src/main/resources/sql/03_create_views.sql | CivityNL/SCOREwater-Java | 355a591454335acaae275f5845a7464225cf84c4 | [
"BSD-3-Clause"
] | null | null | null | scorewater-minimum-viable-iot-agent/scorewater-turbinator/src/main/resources/sql/03_create_views.sql | CivityNL/SCOREwater-Java | 355a591454335acaae275f5845a7464225cf84c4 | [
"BSD-3-Clause"
] | null | null | null | /*
* Create views
* Usage: PGPASSWORD=password psql -U turbinator -h host.docker.internal -d turbinator -p 5432 -f 03_create_views.sql
*/
BEGIN;
CREATE OR REPLACE VIEW water_quality_observed_wipawoik AS (
SELECT
a.entity_id,
DATE(a.recording_timestamp) AS recording_date,
ROW_NUMBER() OV... | 40.5 | 178 | 0.67024 |
fd85e269a25b6a485e101c3c0d878a96afc93327 | 4,607 | h | C | zircon/kernel/arch/x86/include/arch/x86/pv.h | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | zircon/kernel/arch/x86/include/arch/x86/pv.h | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | zircon/kernel/arch/x86/include/arch/x86/pv.h | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2020 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#ifndef ZIRCON_KERNEL_ARCH_X86_INCLUDE_ARCH_X86_PV_H_
#define ZIRCON_KERNEL_ARCH_X86_INCLUDE_ARCH_X86_PV_H_
#include <zircon/type... | 34.901515 | 98 | 0.746907 |
2f4e9e6a2989d1e2ed3b65ea96cfc21be4d1f63e | 1,123 | php | PHP | application/modules/front/controllers/Dashboard.php | dnspace/e-logistic | f3547d7baee4a5ea6bd22b3b72da2a0bb7c4ef45 | [
"Apache-2.0"
] | null | null | null | application/modules/front/controllers/Dashboard.php | dnspace/e-logistic | f3547d7baee4a5ea6bd22b3b72da2a0bb7c4ef45 | [
"Apache-2.0"
] | null | null | null | application/modules/front/controllers/Dashboard.php | dnspace/e-logistic | f3547d7baee4a5ea6bd22b3b72da2a0bb7c4ef45 | [
"Apache-2.0"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
require APPPATH . '/libraries/BaseController.php';
/**
* Class : Dashboard (DashboardController)
* Dashboard Class to control Dashboard.
* @author : Sigit Prayitno
* @version : 1.0
* @since : Mei 2017
*/
class Dashboard extends BaseController... | 27.390244 | 74 | 0.586821 |
41c2411339e8d55ffcaa144f5ab1daefb82d6122 | 2,742 | h | C | tools/math/inc/shape-sphere.h | TankleL/liblight | 77e14df6c0b0345b0f1e8d69d7bb21d190833a56 | [
"MIT"
] | 3 | 2018-08-28T12:30:56.000Z | 2021-02-22T10:17:56.000Z | tools/math/inc/shape-sphere.h | TankleL/liblight | 77e14df6c0b0345b0f1e8d69d7bb21d190833a56 | [
"MIT"
] | null | null | null | tools/math/inc/shape-sphere.h | TankleL/liblight | 77e14df6c0b0345b0f1e8d69d7bb21d190833a56 | [
"MIT"
] | null | null | null | /* ****************************************************************************
shape-sphere.h
-------------------------------------------------------------------------------
Copyright (c) 2018, Tain L.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted... | 29.483871 | 92 | 0.64442 |
8eb48b63013a7bc775267fdfdba79b7c90d2c3a8 | 3,670 | kt | Kotlin | app/src/main/java/space/narrate/waylan/android/ui/list/ListItemViewHolder.kt | narrate-co/waylan_android | c5640fb3bab994fd2c78cabd83fa962fbff75911 | [
"Apache-2.0"
] | 13 | 2019-08-12T02:42:41.000Z | 2021-02-07T11:26:29.000Z | app/src/main/java/space/narrate/waylan/android/ui/list/ListItemViewHolder.kt | narrate-co/words_android | c5640fb3bab994fd2c78cabd83fa962fbff75911 | [
"Apache-2.0"
] | 41 | 2019-09-28T20:53:00.000Z | 2021-01-27T15:46:01.000Z | app/src/main/java/space/narrate/waylan/android/ui/list/ListItemViewHolder.kt | narrate-co/waylan_android | c5640fb3bab994fd2c78cabd83fa962fbff75911 | [
"Apache-2.0"
] | null | null | null | package space.narrate.waylan.android.ui.list
import android.view.View
import android.view.ViewGroup
import android.widget.LinearLayout
import androidx.appcompat.widget.AppCompatTextView
import androidx.recyclerview.widget.RecyclerView
import com.google.android.material.chip.ChipGroup
import org.threeten.bp.OffsetDateT... | 32.477876 | 99 | 0.698093 |
bd5e0fd1da6a8c96b81a6e57d55b533733ede540 | 4,251 | swift | Swift | SwiftGit2/Experimental/Struct/Options/RemoteCallbacks.swift | serg-vinnie/SwiftGit2 | c590501f77bfdc2ef8e8ba8404fc1d5194c58073 | [
"MIT"
] | 1 | 2020-01-25T04:47:11.000Z | 2020-01-25T04:47:11.000Z | SwiftGit2/Experimental/Struct/Options/RemoteCallbacks.swift | serg-vinnie/SwiftGit2 | c590501f77bfdc2ef8e8ba8404fc1d5194c58073 | [
"MIT"
] | null | null | null | SwiftGit2/Experimental/Struct/Options/RemoteCallbacks.swift | serg-vinnie/SwiftGit2 | c590501f77bfdc2ef8e8ba8404fc1d5194c58073 | [
"MIT"
] | 1 | 2019-11-27T13:19:40.000Z | 2019-11-27T13:19:40.000Z | //
// RemoteCallbacks.swift
// SwiftGit2-OSX
//
// Created by loki on 25.04.2021.
// Copyright © 2021 GitHub, Inc. All rights reserved.
//
import Clibgit2
import Foundation
public typealias TransferProgressCB = (git_indexer_progress) -> (Bool) // return false to cancel progree
public typealias AuthCB = (_ url: St... | 32.953488 | 120 | 0.679134 |
868a9bbcd92a59bf3b83edc19484be4ecf1ffc17 | 34,401 | rs | Rust | core/src/progress_map.rs | leonardgee/solana | 559d3d8f49e114e9da0cbd27f898a6c4487846c8 | [
"Apache-2.0"
] | 1 | 2021-04-28T01:50:20.000Z | 2021-04-28T01:50:20.000Z | core/src/progress_map.rs | leonardgee/solana | 559d3d8f49e114e9da0cbd27f898a6c4487846c8 | [
"Apache-2.0"
] | 30 | 2021-11-01T08:28:05.000Z | 2022-03-30T08:39:09.000Z | core/src/progress_map.rs | joeaba/solana-new | 2c1493a63834f6631210e43caca4e4b71b70395b | [
"Apache-2.0"
] | 1 | 2022-02-26T06:44:22.000Z | 2022-02-26T06:44:22.000Z | use crate::{
cluster_info_vote_listener::SlotVoteTracker,
cluster_slots::SlotPubkeys,
replay_stage::SUPERMINORITY_THRESHOLD,
{consensus::Stake, consensus::VotedStakes},
};
use solana_ledger::blockstore_processor::{ConfirmationProgress, ConfirmationTiming};
use solana_runtime::{bank::Bank, bank_forks::Ba... | 35.174847 | 98 | 0.570943 |
0ce1ead7fccfec4e0bc42fdbdc128b022ce3b62a | 9,982 | py | Python | test/adb_test.py | bugobliterator/python-adb | 2f4f5bcdf5dab5ccf8bf58ff9e91cde4d134f1c0 | [
"Apache-2.0"
] | 1,549 | 2015-01-04T04:45:48.000Z | 2022-03-31T08:01:59.000Z | test/adb_test.py | bugobliterator/python-adb | 2f4f5bcdf5dab5ccf8bf58ff9e91cde4d134f1c0 | [
"Apache-2.0"
] | 174 | 2015-01-04T04:47:39.000Z | 2022-03-24T10:42:12.000Z | test/adb_test.py | bugobliterator/python-adb | 2f4f5bcdf5dab5ccf8bf58ff9e91cde4d134f1c0 | [
"Apache-2.0"
] | 356 | 2015-01-09T10:10:33.000Z | 2022-03-27T19:25:01.000Z | #!/usr/bin/env python
# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required ... | 31.588608 | 102 | 0.696053 |
2f0674f696153906c025195063f1c35df441bd48 | 4,736 | php | PHP | application/views/header.php | olatiferreira/denunciae-frontend-admin | 1641b66589ff9a60aea1b5a2219248246857503c | [
"MIT"
] | null | null | null | application/views/header.php | olatiferreira/denunciae-frontend-admin | 1641b66589ff9a60aea1b5a2219248246857503c | [
"MIT"
] | null | null | null | application/views/header.php | olatiferreira/denunciae-frontend-admin | 1641b66589ff9a60aea1b5a2219248246857503c | [
"MIT"
] | null | null | null | <?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>DenunciAê!</title>
<!-- Favi... | 59.2 | 134 | 0.654139 |
2719e9ac57fbb0698f90a1fd225d523b74ae4de5 | 4,782 | h | C | backends/cpu/lib/kernels/fused_matmul_kernel.h | Nexuscompute/runtime | 805afefc84acea69a552507ab6d167b956d21a62 | [
"Apache-2.0"
] | null | null | null | backends/cpu/lib/kernels/fused_matmul_kernel.h | Nexuscompute/runtime | 805afefc84acea69a552507ab6d167b956d21a62 | [
"Apache-2.0"
] | 20 | 2021-12-29T09:53:18.000Z | 2022-01-21T03:24:40.000Z | backends/cpu/lib/kernels/fused_matmul_kernel.h | Nexuscompute/runtime | 805afefc84acea69a552507ab6d167b956d21a62 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 The TensorFlow Runtime Authors
*
* 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 applicab... | 38.878049 | 80 | 0.707235 |
cb5b218ca932a786da47b1393d253a271601c5fc | 4,616 | h | C | unittest/UnitTest.h | iotivity/iotivity-alljoyn-bridge | 997fa14a85d6827180753a511570c4421a84f221 | [
"Apache-2.0"
] | 3 | 2017-08-24T08:02:53.000Z | 2020-01-19T15:00:37.000Z | unittest/UnitTest.h | iotivity/iotivity-alljoyn-bridge | 997fa14a85d6827180753a511570c4421a84f221 | [
"Apache-2.0"
] | null | null | null | unittest/UnitTest.h | iotivity/iotivity-alljoyn-bridge | 997fa14a85d6827180753a511570c4421a84f221 | [
"Apache-2.0"
] | 4 | 2017-03-21T11:59:53.000Z | 2022-03-07T14:50:06.000Z | //******************************************************************
//
// Copyright 2017 Intel Corporation All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance w... | 30.169935 | 108 | 0.680676 |
5bec53a7e3bdbb9d9c0856220fb43f75deac7d43 | 6,020 | c | C | ftt/ftt_lib/ftt_find.c | moibenko/enstore | 6f2ff5b67ff73872a9e68f2a68b0bdaa70cef9b9 | [
"Intel",
"Unlicense"
] | 4 | 2021-10-17T11:17:59.000Z | 2022-02-28T16:58:40.000Z | ftt/ftt_lib/ftt_find.c | moibenko/enstore | 6f2ff5b67ff73872a9e68f2a68b0bdaa70cef9b9 | [
"Intel",
"Unlicense"
] | 17 | 2021-10-05T21:44:06.000Z | 2022-03-31T16:58:40.000Z | ftt/ftt_lib/ftt_find.c | moibenko/enstore | 6f2ff5b67ff73872a9e68f2a68b0bdaa70cef9b9 | [
"Intel",
"Unlicense"
] | 8 | 2021-09-02T18:55:49.000Z | 2022-03-09T21:05:28.000Z | static char rcsid[] = "@(#)$Id$";
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <ftt_private.h>
#ifdef WIN32 /* this is Windows */
#include <process.h>
#include <windows.h>
#define geteuid() -1
#define popen _popen
#define pclose _pclose
char * ftt_get_os() {
char ver[20],rel[20];
ch... | 23.515625 | 97 | 0.572757 |
2a884014ec51d7119c337bb206e75e6504752643 | 6,242 | java | Java | jdo/jibx/build/maven/jibx-bind/src/main/java/org/jibx/util/ChainedMap.java | sergiomt/judal | bda7f8a34b6811e979edd988ec87d89f4c84450e | [
"Apache-2.0"
] | null | null | null | jdo/jibx/build/maven/jibx-bind/src/main/java/org/jibx/util/ChainedMap.java | sergiomt/judal | bda7f8a34b6811e979edd988ec87d89f4c84450e | [
"Apache-2.0"
] | 5 | 2020-03-04T21:41:43.000Z | 2021-11-06T23:33:41.000Z | jdo/jibx/build/maven/jibx-bind/src/main/java/org/jibx/util/ChainedMap.java | sergiomt/judal | bda7f8a34b6811e979edd988ec87d89f4c84450e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2009, Dennis M. Sosnoski. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of condition... | 33.55914 | 120 | 0.646748 |
71c93cb15243802170fe3df03855d238e9ee1949 | 3,557 | kt | Kotlin | http4k-aws/src/test/kotlin/org/http4k/aws/AwsRealChunkKeyContentsIfRequiredTest.kt | savagematt/http4k | 9cc8ef11121bfbe10a1cd0ca58a17885c297af52 | [
"Apache-2.0"
] | null | null | null | http4k-aws/src/test/kotlin/org/http4k/aws/AwsRealChunkKeyContentsIfRequiredTest.kt | savagematt/http4k | 9cc8ef11121bfbe10a1cd0ca58a17885c297af52 | [
"Apache-2.0"
] | null | null | null | http4k-aws/src/test/kotlin/org/http4k/aws/AwsRealChunkKeyContentsIfRequiredTest.kt | savagematt/http4k | 9cc8ef11121bfbe10a1cd0ca58a17885c297af52 | [
"Apache-2.0"
] | null | null | null | package org.http4k.aws
import com.natpryce.hamkrest.assertion.assertThat
import com.natpryce.hamkrest.containsSubstring
import com.natpryce.hamkrest.equalTo
import org.http4k.client.ApacheClient
import org.http4k.core.BodyMode
import org.http4k.core.HttpHandler
import org.http4k.core.Method.DELETE
import org.http4k.co... | 37.442105 | 99 | 0.66826 |
ee43b94ab9b98da9d4368955ab05dd92010720e7 | 955 | lua | Lua | Ladder.lua | MangoSister/Grabbit | 7c45963c06aaddd9c8370e3a57d260fcb1a6bafb | [
"MIT"
] | null | null | null | Ladder.lua | MangoSister/Grabbit | 7c45963c06aaddd9c8370e3a57d260fcb1a6bafb | [
"MIT"
] | null | null | null | Ladder.lua | MangoSister/Grabbit | 7c45963c06aaddd9c8370e3a57d260fcb1a6bafb | [
"MIT"
] | null | null | null |
local CLASS = require('Class')
local Assets = require('Assets')
local Audio = require('Audio')
local Entity = require('Entity')
local World = require('World')
local Ladder = CLASS(Entity)
Ladder.class = "Ladder"
Ladder.type = "kinematic"
Ladder.nogravity = true
Ladder.shape = love.physics.newEdgeShape(0, 250, 0,... | 22.209302 | 66 | 0.685864 |
5c92d7747a4d099720c114cde8e1d7de8f44ab0b | 747 | c | C | STM32F103/209_RTT/user/main.c | xqt2010a/GD32F450 | d98fbc8b09b129681a2c5667491cc9daf0d34b0b | [
"MIT"
] | 1 | 2019-07-30T08:06:40.000Z | 2019-07-30T08:06:40.000Z | STM32F103/209_RTT/user/main.c | xqt2010a/GD32F450 | d98fbc8b09b129681a2c5667491cc9daf0d34b0b | [
"MIT"
] | null | null | null | STM32F103/209_RTT/user/main.c | xqt2010a/GD32F450 | d98fbc8b09b129681a2c5667491cc9daf0d34b0b | [
"MIT"
] | 1 | 2019-07-30T08:06:44.000Z | 2019-07-30T08:06:44.000Z | #include "SEGGER_RTT.h"
#include "string.h"
#include "stdio.h"
#include "stdint.h"
#define BUF_LEN 64
#define PRT(...) SEGGER_RTT_printf(0, __VA_ARGS__)
uint8_t Rx_size;
uint8_t Rx_buf[BUF_LEN];
void Delay(void)
{
uint32_t i;
for(i=0; i<0xFFFF; i++);
}
void main(void)
{
SEGGER_RTT_ConfigUpBuffer(0, N... | 21.970588 | 79 | 0.61178 |
e3fb8c4782ceeaf0c535ec8ecc6763532a6b7539 | 3,898 | go | Go | formactions.go | aosfather/bingo | 16c039860bbaa215a5a5cc2fb51d5a9ae7b6f700 | [
"Apache-2.0"
] | 51 | 2018-04-04T13:46:42.000Z | 2022-03-14T02:15:29.000Z | formactions.go | aosfather/bingo | 16c039860bbaa215a5a5cc2fb51d5a9ae7b6f700 | [
"Apache-2.0"
] | null | null | null | formactions.go | aosfather/bingo | 16c039860bbaa215a5a5cc2fb51d5a9ae7b6f700 | [
"Apache-2.0"
] | 11 | 2018-10-19T07:09:09.000Z | 2021-12-06T14:34:38.000Z | package main
import (
"bytes"
"github.com/aosfather/bingo_mvc/sqltemplate"
"github.com/aosfather/bingo_utils/lua"
l "github.com/yuin/gopher-lua"
"io"
"net/http"
"strings"
"text/template"
"time"
)
/**
表单action
支持的类型:SQL、GET、POST、LUA
*/
//表单action
type FormActions struct {
DB *sqltemplate.DataSource `... | 23.768293 | 122 | 0.679836 |
d9cacdd06056b03fb88c670cbbe4115e03300189 | 10,083 | rs | Rust | crates/holochain_types/src/dht_op/tests.rs | mhuesch/holochain | 8cade151329117c40e47533449a2f842187c373a | [
"Linux-OpenIB"
] | 619 | 2020-09-15T16:19:12.000Z | 2022-03-31T10:56:45.000Z | crates/holochain_types/src/dht_op/tests.rs | mhuesch/holochain | 8cade151329117c40e47533449a2f842187c373a | [
"Linux-OpenIB"
] | 332 | 2020-09-16T09:57:39.000Z | 2022-03-30T22:31:37.000Z | crates/holochain_types/src/dht_op/tests.rs | mhuesch/holochain | 8cade151329117c40e47533449a2f842187c373a | [
"Linux-OpenIB"
] | 87 | 2020-09-18T01:25:53.000Z | 2022-03-23T14:01:21.000Z | use crate::fixt::AgentValidationPkgFixturator;
use crate::fixt::CloseChainFixturator;
use crate::fixt::CreateFixturator;
use crate::fixt::CreateLinkFixturator;
use crate::fixt::DeleteLinkFixturator;
use crate::fixt::DnaFixturator;
use crate::fixt::EntryFixturator;
use crate::fixt::EntryHashFixturator;
use crate::fixt::... | 36.665455 | 93 | 0.613805 |
df971cb7f86de38ee4e25e3e47bf4158c7fece5a | 1,723 | ts | TypeScript | src/commands/takeoff/destroy-project.ts | Takeoff-Env/takeoff | 5cfac571159c3ee7815582c6888096422460a015 | [
"MIT"
] | 101 | 2017-09-26T03:23:23.000Z | 2022-01-23T05:06:49.000Z | src/commands/takeoff/destroy-project.ts | Takeoff-Env/takeoff | 5cfac571159c3ee7815582c6888096422460a015 | [
"MIT"
] | 18 | 2017-09-27T17:02:01.000Z | 2018-12-24T11:02:37.000Z | src/commands/takeoff/destroy-project.ts | Takeoff-Env/takeoff | 5cfac571159c3ee7815582c6888096422460a015 | [
"MIT"
] | 12 | 2017-10-11T16:59:19.000Z | 2018-05-16T12:46:33.000Z | import { CommandResult, TakeoffCommand } from 'commands';
import { TakeoffCmdParameters } from 'takeoff';
import { ExitCode } from 'task';
/**
* Destroys an project in a non-reversable way
*/
export = ({
shell,
args,
opts,
rcFile,
pathExists,
printMessage,
runCommand,
}: TakeoffCmdParameters): TakeoffC... | 30.22807 | 126 | 0.639582 |
7d9304bcb5274c738a552fcc4b9e587ae3cfc878 | 28 | html | HTML | src/app/components/comp-3073/comp-3073.component.html | angular/angular-cli-stress-test | 4c4df522fbbd0989068810c3d77dd0563f87b58b | [
"MIT"
] | 4 | 2017-06-08T06:44:29.000Z | 2021-10-30T02:37:50.000Z | src/app/components/comp-3073/comp-3073.component.html | angular/angular-cli-stress-test | 4c4df522fbbd0989068810c3d77dd0563f87b58b | [
"MIT"
] | null | null | null | src/app/components/comp-3073/comp-3073.component.html | angular/angular-cli-stress-test | 4c4df522fbbd0989068810c3d77dd0563f87b58b | [
"MIT"
] | 5 | 2017-07-15T23:26:24.000Z | 2021-05-14T15:47:04.000Z | <p>
comp-3073 works!
</p>
| 7 | 18 | 0.535714 |
95e50168b1d4ab6401c125f8af435ebdb528c53c | 1,278 | css | CSS | data/usercss/150865.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 118 | 2020-08-28T19:59:28.000Z | 2022-03-26T16:28:40.000Z | data/usercss/150865.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 38 | 2020-09-02T01:08:45.000Z | 2022-01-23T02:47:24.000Z | data/usercss/150865.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 21 | 2020-08-19T01:12:43.000Z | 2022-03-15T21:55:17.000Z | /* ==UserStyle==
@name getpocket.com - MayaDark
@namespace USO Archive
@author nostrenz
@description `Just a realy simple dark theme for getpocket.com`
@version 20171108.22.28
@license NO-REDISTRIBUTION
@preprocessor uso
==/UserStyle== */
@-moz-document url-prefix("https://getp... | 20.285714 | 66 | 0.661189 |
c7ee74f718e9c03369bf61d1f159bfb87fbdf316 | 4,364 | java | Java | engine/src/test/java/org/teiid/query/processor/TestArrayTable.java | GavinRay97/teiid | f7ae9acdc372718e15aa9f5827b267dfd68db5a5 | [
"Apache-2.0"
] | 249 | 2015-01-04T12:32:56.000Z | 2022-03-22T07:00:46.000Z | engine/src/test/java/org/teiid/query/processor/TestArrayTable.java | GavinRay97/teiid | f7ae9acdc372718e15aa9f5827b267dfd68db5a5 | [
"Apache-2.0"
] | 312 | 2015-01-06T19:01:51.000Z | 2022-03-10T17:49:37.000Z | engine/src/test/java/org/teiid/query/processor/TestArrayTable.java | GavinRay97/teiid | f7ae9acdc372718e15aa9f5827b267dfd68db5a5 | [
"Apache-2.0"
] | 256 | 2015-01-06T18:14:39.000Z | 2022-03-23T17:55:42.000Z | /*
* Copyright Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags and
* the COPYRIGHT.txt file distributed with this work.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... | 38.964286 | 232 | 0.663611 |
752c59408df602ac6da29eb178cbb99d466f7523 | 347 | h | C | sources/MachIncludes/_ToolCabinet.h | mariusl/step2mach | 3ac7ff6c3b29a25f4520e4325e7922f2d34c547a | [
"MIT"
] | 6 | 2019-05-22T03:18:38.000Z | 2022-02-07T20:54:38.000Z | sources/MachIncludes/_ToolCabinet.h | mariusl/step2mach | 3ac7ff6c3b29a25f4520e4325e7922f2d34c547a | [
"MIT"
] | 1 | 2019-11-10T05:57:09.000Z | 2020-07-01T05:50:49.000Z | sources/MachIncludes/_ToolCabinet.h | mariusl/step2mach | 3ac7ff6c3b29a25f4520e4325e7922f2d34c547a | [
"MIT"
] | 9 | 2019-05-20T06:03:55.000Z | 2022-02-01T10:16:41.000Z | // _ToolCabinet - replacement for class based header
//
#pragma once
struct _Tool
{
short tiptype;
double diameter;
double direction;
TCHAR * description;
double xoffset;
double zoffset;
double xWear;
double zWear;
double turretang;
double toolradius;
int id;
bool front;
};
struct _ToolCabinet... | 13.346154 | 52 | 0.70317 |
2a03da48f61dbfd21377faea85f2508c1578bae3 | 542 | java | Java | Program.java | phucnm/compiler-course | 459e9daccb5e5a1feff2b5656864eaab93e3988f | [
"MIT"
] | null | null | null | Program.java | phucnm/compiler-course | 459e9daccb5e5a1feff2b5656864eaab93e3988f | [
"MIT"
] | null | null | null | Program.java | phucnm/compiler-course | 459e9daccb5e5a1feff2b5656864eaab93e3988f | [
"MIT"
] | null | null | null | import java.util.Vector;
public class Program implements ASTNode {
Vector<Function> functions;
public Program()
{
functions = new Vector<Function>();
}
public void addFunction(Function s)
{
functions.add(s);
}
public Function getFunction(int index)
{
retur... | 17.483871 | 43 | 0.605166 |
d29a64249662933eed11e9ead4c0a07c4caae362 | 1,040 | php | PHP | app/Role.php | apurv4193/RYEC-Backend | 8682463777afad323d30f832693d5802f00c1dcd | [
"MIT"
] | null | null | null | app/Role.php | apurv4193/RYEC-Backend | 8682463777afad323d30f832693d5802f00c1dcd | [
"MIT"
] | null | null | null | app/Role.php | apurv4193/RYEC-Backend | 8682463777afad323d30f832693d5802f00c1dcd | [
"MIT"
] | null | null | null | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Auth;
use DB;
use Config;
class Role extends Model
{
protected $table = 'roles';
protected $fillable = ['id', 'slug', 'name', 'created_by', 'updated_by', 'status'];
public function insertUpdate($role)
{
if (isset($data['id']) &... | 25.365854 | 90 | 0.493269 |
9cd8960e7fa0ed1792d1b9fe84ef85aa1dd1c2fa | 1,422 | lua | Lua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/WorldClock.lua | TshineZheng/DragonbonesCocos2dx | cf5e251092d23161dd4876353fa26dfe6425ff18 | [
"MIT"
] | 6 | 2016-12-28T08:38:00.000Z | 2019-03-28T04:51:54.000Z | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/WorldClock.lua | TshineZheng/DragonbonesCocos2dx | cf5e251092d23161dd4876353fa26dfe6425ff18 | [
"MIT"
] | 2 | 2017-02-10T03:48:11.000Z | 2017-03-03T10:14:35.000Z | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/WorldClock.lua | TshineZheng/DragonbonesCocos2dx | cf5e251092d23161dd4876353fa26dfe6425ff18 | [
"MIT"
] | 5 | 2017-04-20T07:31:39.000Z | 2022-01-16T15:38:14.000Z |
--------------------------------
-- @module WorldClock
-- @extend IAnimateble
-- @parent_module db
--------------------------------
--
-- @function [parent=#WorldClock] clear
-- @param self
-- @return WorldClock#WorldClock self (return value: db.WorldClock)
--------------------------------
--
-- @function... | 26.333333 | 67 | 0.548523 |
6521d6a54b4f63498690134ed41a4f7c9285231c | 2,936 | rs | Rust | tests/simple.rs | RustRome/dot-http | f4c7c7b754f53fc42e3c267ab95027dab631a561 | [
"Apache-2.0"
] | 116 | 2020-01-21T00:42:24.000Z | 2022-03-02T20:49:05.000Z | tests/simple.rs | RustRome/dot-http | f4c7c7b754f53fc42e3c267ab95027dab631a561 | [
"Apache-2.0"
] | 25 | 2020-01-20T22:09:29.000Z | 2022-01-14T02:59:56.000Z | tests/simple.rs | RustRome/dot-http | f4c7c7b754f53fc42e3c267ab95027dab631a561 | [
"Apache-2.0"
] | 6 | 2020-02-01T19:29:47.000Z | 2022-01-08T00:12:24.000Z | use crate::common::{create_file, DebugWriter};
use dot_http::output::parse_format;
use dot_http::output::print::FormattedOutputter;
use dot_http::{ClientConfig, Runtime};
use httpmock::{Mock, MockServer};
use std::borrow::BorrowMut;
mod common;
#[test]
fn simple_get() {
let server = MockServer::start();
Mock:... | 23.11811 | 60 | 0.56812 |
5801b03c13ef3f52a81a86b0887eca78abce588e | 952 | c | C | release/src-ra-4300/linux/linux-2.6.36.x/arch/tile/lib/delay.c | zhoutao0712/rtn11pb1 | 09e6b6c7ef4b91be0a9374daeacc3ac9f2fa3a05 | [
"Apache-2.0"
] | 1 | 2022-03-19T06:38:01.000Z | 2022-03-19T06:38:01.000Z | release/src-ra-4300/linux/linux-2.6.36.x/arch/tile/lib/delay.c | zhoutao0712/rtn11pb1 | 09e6b6c7ef4b91be0a9374daeacc3ac9f2fa3a05 | [
"Apache-2.0"
] | null | null | null | release/src-ra-4300/linux/linux-2.6.36.x/arch/tile/lib/delay.c | zhoutao0712/rtn11pb1 | 09e6b6c7ef4b91be0a9374daeacc3ac9f2fa3a05 | [
"Apache-2.0"
] | 1 | 2022-03-19T06:38:03.000Z | 2022-03-19T06:38:03.000Z | /*
* Copyright 2010 Tilera Corporation. All Rights Reserved.
*
* 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, version 2.
*
* This program is distributed in the hope that it will ... | 27.2 | 72 | 0.739496 |
5765c733af6ba1cea0b8111d75ad3c206f1e1092 | 30,592 | h | C | 3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-elasticache/include/aws/elasticache/model/CopySnapshotRequest.h | prateek-s/mesos | 4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8 | [
"Apache-2.0"
] | 2 | 2019-02-08T21:29:57.000Z | 2021-07-27T06:59:19.000Z | 3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-elasticache/include/aws/elasticache/model/CopySnapshotRequest.h | prateek-s/mesos | 4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8 | [
"Apache-2.0"
] | null | null | null | 3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-elasticache/include/aws/elasticache/model/CopySnapshotRequest.h | prateek-s/mesos | 4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | 69.527273 | 155 | 0.681747 |
a1baef8ae5894d585e6fa5ef690710b66f025a24 | 1,940 | go | Go | lint/internal/astwalk/type_expr_walker.go | olshevskiy87/go-critic | a453eb79bfc744eb7abf2c41ebeca0c2ec2ed0f3 | [
"MIT"
] | null | null | null | lint/internal/astwalk/type_expr_walker.go | olshevskiy87/go-critic | a453eb79bfc744eb7abf2c41ebeca0c2ec2ed0f3 | [
"MIT"
] | null | null | null | lint/internal/astwalk/type_expr_walker.go | olshevskiy87/go-critic | a453eb79bfc744eb7abf2c41ebeca0c2ec2ed0f3 | [
"MIT"
] | 1 | 2018-07-01T22:51:23.000Z | 2018-07-01T22:51:23.000Z | package astwalk
import (
"go/ast"
"go/token"
"go/types"
)
type typeExprWalker struct {
visitor TypeExprVisitor
info *types.Info
}
func (w *typeExprWalker) WalkFile(f *ast.File) {
for _, decl := range f.Decls {
if decl, ok := decl.(*ast.FuncDecl); ok {
if !w.visitor.EnterFunc(decl) {
continue
}
... | 19.207921 | 87 | 0.644845 |
dd168901399a8fd9c0d4fc790ee7a41d0662aafa | 1,876 | go | Go | exec/client.go | lyr885/chaosblade-exec-cri | 18677916e3fd152f35b96ad87edec79ba2ae04ee | [
"Apache-2.0"
] | null | null | null | exec/client.go | lyr885/chaosblade-exec-cri | 18677916e3fd152f35b96ad87edec79ba2ae04ee | [
"Apache-2.0"
] | null | null | null | exec/client.go | lyr885/chaosblade-exec-cri | 18677916e3fd152f35b96ad87edec79ba2ae04ee | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 1999-2019 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 25.69863 | 99 | 0.727612 |
f74656d53e59f485a4012a6ffd70e221e290ffd9 | 6,090 | h | C | src/hammer/ToolSelection.h | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/hammer/ToolSelection.h | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/hammer/ToolSelection.h | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
// $NoKeywords: $
//===========================================================================//
#ifndef SELECTION3D_H
#define SELECTION3D_H
#ifdef _WIN32
#pragma once
#endif
#include "Box3D.h"
#includ... | 31.071429 | 101 | 0.682759 |
deef3dda9620658fb4a36b2d4c1f835e36b7c8d2 | 172 | rs | Rust | workout_plan/src/bin/bin2.rs | tshrpl/rust_learn | d50b27fcf9f04b791a053357b0bac56088820f9d | [
"MIT"
] | null | null | null | workout_plan/src/bin/bin2.rs | tshrpl/rust_learn | d50b27fcf9f04b791a053357b0bac56088820f9d | [
"MIT"
] | null | null | null | workout_plan/src/bin/bin2.rs | tshrpl/rust_learn | d50b27fcf9f04b791a053357b0bac56088820f9d | [
"MIT"
] | null | null | null |
fn main() {
let x = vec![1, 2, 3];
let equal_to_x = move |z| z == x;
// println!("Cant use x here: {:?}", x);
let y = vec![1, 2, 3];
assert!(equal_to_x(y));
}
| 10.75 | 41 | 0.482558 |
f06e2cbdbcd2679f16c4731459ef5b92bd76ef69 | 1,108 | js | JavaScript | docs/src/components/Footer/index.js | kumarharsh/storybook | 9d4438ba495d361acf635b836fe3e8dceaffc9c0 | [
"MIT"
] | 1 | 2019-04-16T01:01:50.000Z | 2019-04-16T01:01:50.000Z | docs/src/components/Footer/index.js | kumarharsh/storybook | 9d4438ba495d361acf635b836fe3e8dceaffc9c0 | [
"MIT"
] | 7 | 2020-07-21T11:41:38.000Z | 2022-01-15T02:35:21.000Z | docs/src/components/Footer/index.js | kumarharsh/storybook | 9d4438ba495d361acf635b836fe3e8dceaffc9c0 | [
"MIT"
] | 1 | 2021-05-20T18:00:46.000Z | 2021-05-20T18:00:46.000Z | import React from 'react';
import Link from 'gatsby-link';
import slackIcon from './images/slack-icon.png';
import githubIcon from './images/github-icon.png';
import './style.css';
const Footer = () => (
<div id="footer" className="row">
<div className="col-md-12">
<div className="row logos">
<div ... | 28.410256 | 88 | 0.513538 |
0cf20d68ff93bb50029ab4621417fc5c929819f7 | 11,612 | py | Python | mpas_analysis/ocean/time_series_sst.py | alicebarthel/MPAS-Analysis | a8c568180abf96879e890a73e848db58642cfdb6 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | mpas_analysis/ocean/time_series_sst.py | alicebarthel/MPAS-Analysis | a8c568180abf96879e890a73e848db58642cfdb6 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | mpas_analysis/ocean/time_series_sst.py | alicebarthel/MPAS-Analysis | a8c568180abf96879e890a73e848db58642cfdb6 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | # This software is open source software available under the BSD-3 license.
#
# Copyright (c) 2020 Triad National Security, LLC. All rights reserved.
# Copyright (c) 2020 Lawrence Livermore National Security, LLC. All rights
# reserved.
# Copyright (c) 2020 UT-Battelle, LLC. All rights reserved.
#
# Additional copyright... | 38.072131 | 79 | 0.577678 |
16b799ac2f6f0695cf6c952dac5bc9594dc7924b | 11,203 | c | C | gpio/gpio_json_api.c | daanpape/stumon-breakout-server | d202c722266e41c24410a2a209ac0db050d0b4d8 | [
"BSD-2-Clause"
] | 2 | 2015-06-04T00:35:05.000Z | 2016-07-20T06:35:22.000Z | gpio/gpio_json_api.c | dptechnics/DPT-Board-SERV | 3323ab8418bf3977efd54516578d49955d5ed271 | [
"BSD-2-Clause"
] | 1 | 2016-08-17T13:01:01.000Z | 2016-09-08T08:11:05.000Z | gpio/gpio_json_api.c | daanpape/stumon-breakout-server | d202c722266e41c24410a2a209ac0db050d0b4d8 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2014, Daan Pape
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list ... | 30.777473 | 102 | 0.647505 |
3321f706d02f1fdbc011b2d0a28c18fa45d4fe4b | 810 | py | Python | Line_chart.py | sanabasangare/data-visualization | 09a03d0414941d28e312037ccaa0b283dbb2ec06 | [
"MIT"
] | null | null | null | Line_chart.py | sanabasangare/data-visualization | 09a03d0414941d28e312037ccaa0b283dbb2ec06 | [
"MIT"
] | null | null | null | Line_chart.py | sanabasangare/data-visualization | 09a03d0414941d28e312037ccaa0b283dbb2ec06 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
from collections import Counter
def line_graph(plt):
# years observed since 2000
years = [2000, 2002, 2005, 2007, 2010, 2012, 2014, 2015]
# total number of websites on the world wide web
# (source: Internet Live Stats)
websites = [17, 38, 64, 121, 206, 697, 968, 8... | 24.545455 | 79 | 0.650617 |
9d84bf32c2b80a5f28d98f3e880852db8d2e82e4 | 1,611 | swift | Swift | SwiftBooster/Classes/Extension/Helpers/JSON.swift | 3pehrbehroozi/SwiftBooster | 33651a5718fb2d8334ba6551facd1d02c3cf2001 | [
"Apache-2.0"
] | null | null | null | SwiftBooster/Classes/Extension/Helpers/JSON.swift | 3pehrbehroozi/SwiftBooster | 33651a5718fb2d8334ba6551facd1d02c3cf2001 | [
"Apache-2.0"
] | null | null | null | SwiftBooster/Classes/Extension/Helpers/JSON.swift | 3pehrbehroozi/SwiftBooster | 33651a5718fb2d8334ba6551facd1d02c3cf2001 | [
"Apache-2.0"
] | null | null | null | //
// JSON.swift
// SwiftBooster
//
// Created by Sepehr Behroozi on 4/17/19.
// Copyright © 2019 ayantech.ir. All rights reserved.
//
import Foundation
/// Typealias for [String: Any]
public typealias JSONObject = [String: Any]
/// Typealias for [Any]
public typealias JSONArray = [Any]
public func getValue<T>(... | 28.767857 | 132 | 0.58473 |
a1bdbef83a6f87d5571c1f8db58aaf15b7fe7210 | 1,599 | h | C | include/history.h | tyounkin/gitr-1-intermediate | 4a57364594223fdc3831c07a3c36ec3a8268f7cf | [
"MIT"
] | null | null | null | include/history.h | tyounkin/gitr-1-intermediate | 4a57364594223fdc3831c07a3c36ec3a8268f7cf | [
"MIT"
] | null | null | null | include/history.h | tyounkin/gitr-1-intermediate | 4a57364594223fdc3831c07a3c36ec3a8268f7cf | [
"MIT"
] | null | null | null | #ifndef _HISTORY_
#define _HISTORY_
#ifdef __CUDACC__
#define CUDA_CALLABLE_MEMBER_DEVICE __device__
#else
#define CUDA_CALLABLE_MEMBER_DEVICE
#endif
#include "Particles.h"
#include "Boundary.h"
#include <math.h>
#include <vector>
struct history {
Particles *particlesPointer;
int tt;
int subSampleFac;
... | 31.352941 | 125 | 0.673546 |
d0a82c20d83e32466167e271c75c3ea5316636b5 | 2,088 | css | CSS | data/usercss/120494.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 118 | 2020-08-28T19:59:28.000Z | 2022-03-26T16:28:40.000Z | data/usercss/120494.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 38 | 2020-09-02T01:08:45.000Z | 2022-01-23T02:47:24.000Z | data/usercss/120494.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 21 | 2020-08-19T01:12:43.000Z | 2022-03-15T21:55:17.000Z | /* ==UserStyle==
@name Twitter Heart 2 Star
@namespace USO Archive
@author fricolicious
@description `Replaces Twitter's new red hearts with orange stars.`
@version 20151106.16.2
@license CC0-1.0
@preprocessor uso
==/UserStyle== */
@-moz-document domain("twitter.com") {
.Icon-... | 37.285714 | 88 | 0.742337 |
816a3c4ccc004e1ff1e9e713ed4c5443e0728a13 | 134 | rs | Rust | src/test/ui/macros/macro-path-prelude-fail-2.rs | Eric-Arellano/rust | 0f6f2d681b39c5f95459cd09cb936b6ceb27cd82 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 66,762 | 2015-01-01T08:32:03.000Z | 2022-03-31T23:26:40.000Z | src/test/ui/macros/macro-path-prelude-fail-2.rs | Eric-Arellano/rust | 0f6f2d681b39c5f95459cd09cb936b6ceb27cd82 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 76,993 | 2015-01-01T00:06:33.000Z | 2022-03-31T23:59:15.000Z | src/test/ui/macros/macro-path-prelude-fail-2.rs | Eric-Arellano/rust | 0f6f2d681b39c5f95459cd09cb936b6ceb27cd82 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 11,787 | 2015-01-01T00:01:19.000Z | 2022-03-31T19:03:42.000Z | mod m {
fn check() {
Result::Ok!(); //~ ERROR failed to resolve: partially resolved path in a macro
}
}
fn main() {}
| 16.75 | 86 | 0.552239 |
f087b664ea69f7444bd6a9b4b78ad51a9b5acf37 | 494 | js | JavaScript | src/1979.find-greatest-common-divisor-of-array.2106/1979.find-greatest-common-divisor-of-array.2106.js | jiangshanmeta/meta | 8f9d084cda91988d42208ac7a029612e9edc693b | [
"MIT"
] | 221 | 2018-10-26T07:05:12.000Z | 2022-03-30T03:23:10.000Z | src/1979.find-greatest-common-divisor-of-array.2106/1979.find-greatest-common-divisor-of-array.2106.js | ralap18/meta | 82d660a6eabb15e398a7dcc2a0fa99342143bb12 | [
"MIT"
] | 23 | 2018-09-24T14:50:58.000Z | 2020-09-17T14:23:45.000Z | src/1979.find-greatest-common-divisor-of-array.2106/1979.find-greatest-common-divisor-of-array.2106.js | ralap18/meta | 82d660a6eabb15e398a7dcc2a0fa99342143bb12 | [
"MIT"
] | 45 | 2019-03-29T03:36:19.000Z | 2022-03-25T20:57:13.000Z | /**
* @param {number[]} nums
* @return {number}
*/
var findGCD = function (nums) {
let max = -Infinity;
let min = Infinity;
for (let i = 0; i < nums.length; i++) {
max = Math.max(nums[i], max);
min = Math.min(nums[i], min);
}
return gcd(max, min);
};
function gcd (a, b) {
if ... | 17.642857 | 43 | 0.425101 |
4762c7b7fd994117749ebface27ab878c54587e2 | 1,379 | html | HTML | openstack_dashboard/dashboards/admin/projects/templates/projects/_update_members.html | dreamhost/horizon | 55569d540e6c1a6957d5127f9bae6a699ed60823 | [
"Apache-2.0"
] | 3 | 2017-02-13T15:11:01.000Z | 2021-07-28T08:28:09.000Z | openstack_dashboard/dashboards/admin/projects/templates/projects/_update_members.html | dreamhost/horizon | 55569d540e6c1a6957d5127f9bae6a699ed60823 | [
"Apache-2.0"
] | null | null | null | openstack_dashboard/dashboards/admin/projects/templates/projects/_update_members.html | dreamhost/horizon | 55569d540e6c1a6957d5127f9bae6a699ed60823 | [
"Apache-2.0"
] | 2 | 2018-08-29T10:56:04.000Z | 2019-11-11T11:45:20.000Z | {% load i18n %}
<noscript><h3>{{ step }}</h3></noscript>
<div class="project_membership">
<div class="header">
<div class="help_text">{% trans "From here you can add and remove members to this project from the list of all available users." %}</div>
<div class="left">
<div class="fake_table fake_table_... | 34.475 | 141 | 0.629442 |
f413999a599202ad40175b7bccd66b01bd537e18 | 1,259 | kt | Kotlin | android/src/main/java/au/com/crazybean/mobilex/kurir/modules/auth/verify/VerifyActivity.kt | crazybeanstudio/kurir-x | 7b4e96434246eb1ddae81a6e8688ffc182cf17ce | [
"Apache-2.0"
] | null | null | null | android/src/main/java/au/com/crazybean/mobilex/kurir/modules/auth/verify/VerifyActivity.kt | crazybeanstudio/kurir-x | 7b4e96434246eb1ddae81a6e8688ffc182cf17ce | [
"Apache-2.0"
] | null | null | null | android/src/main/java/au/com/crazybean/mobilex/kurir/modules/auth/verify/VerifyActivity.kt | crazybeanstudio/kurir-x | 7b4e96434246eb1ddae81a6e8688ffc182cf17ce | [
"Apache-2.0"
] | null | null | null | package au.com.crazybean.mobilex.kurir.modules.auth.verify
import android.view.View
import android.widget.EditText
import au.com.crazybean.mobilex.kurir.R
import au.com.crazybean.mobilex.kurir.data.model.User
import au.com.crazybean.mobilex.kurir.modules.base.BaseActivity
import org.koin.android.ext.android.inject
imp... | 27.369565 | 107 | 0.691819 |
6534588d4ecf52898349353cb160282e5abd6d54 | 3,360 | py | Python | graalpython/benchmarks/src/meso/euler31.py | muellren/graalpython | 9104425805f1d38ad7a521c75e53798a3b79b4f0 | [
"UPL-1.0",
"Apache-2.0",
"OpenSSL"
] | 1 | 2019-05-28T13:04:32.000Z | 2019-05-28T13:04:32.000Z | graalpython/benchmarks/src/meso/euler31.py | muellren/graalpython | 9104425805f1d38ad7a521c75e53798a3b79b4f0 | [
"UPL-1.0",
"Apache-2.0",
"OpenSSL"
] | null | null | null | graalpython/benchmarks/src/meso/euler31.py | muellren/graalpython | 9104425805f1d38ad7a521c75e53798a3b79b4f0 | [
"UPL-1.0",
"Apache-2.0",
"OpenSSL"
] | null | null | null | #!/usr/bin/env python
# Copyright 2008-2010 Isaac Gouy
# Copyright (c) 2013, 2014, Regents of the University of California
# Copyright (c) 2017, 2018, Oracle and/or its affiliates.
# All rights reserved.
#
# Revised BSD license
#
# This is a specific instance of the Open Source Initiative (OSI) BSD license
# template h... | 34.639175 | 115 | 0.698214 |
8140d895c5819dfb77454f3bfe78bc8e30085b14 | 5,479 | kt | Kotlin | lbmlib/src/main/kotlin/com/alekseyzhelo/lbm/boundary/SlidingBoundary.kt | AlekseyZhelo/LBM | 09f583fd6bdf9ee196c3b2d0e569fe1cfc9ba8bb | [
"Apache-2.0"
] | null | null | null | lbmlib/src/main/kotlin/com/alekseyzhelo/lbm/boundary/SlidingBoundary.kt | AlekseyZhelo/LBM | 09f583fd6bdf9ee196c3b2d0e569fe1cfc9ba8bb | [
"Apache-2.0"
] | null | null | null | lbmlib/src/main/kotlin/com/alekseyzhelo/lbm/boundary/SlidingBoundary.kt | AlekseyZhelo/LBM | 09f583fd6bdf9ee196c3b2d0e569fe1cfc9ba8bb | [
"Apache-2.0"
] | null | null | null | package com.alekseyzhelo.lbm.boundary
import com.alekseyzhelo.lbm.core.lattice.LatticeD2
class SlidingBoundary(
position: BoundaryPosition, lattice: LatticeD2<*>,
x0: Int, x1: Int, y0: Int, y1: Int,
val slideVelocity: DoubleArray
) : BoundaryCondition(position, lattice, x0, x1, y0, y1) {
override fun... | 41.195489 | 161 | 0.469246 |
53ac6825d1f293f3458feb35487365dacd9c68f4 | 234 | java | Java | location-tracker/src/test/java/com/rsakin/getaxi/locationtracker/LocationTrackerApplicationTests.java | ramazansakin/GeTaxiApp2 | 5ded3802597c8f1eb211a03a809dc159aef5982d | [
"MIT"
] | 10 | 2021-05-01T01:02:35.000Z | 2021-12-21T06:41:40.000Z | location-tracker/src/test/java/com/rsakin/getaxi/locationtracker/LocationTrackerApplicationTests.java | My-Organization-Sample-Test-Usage/GeTaxiApp2 | 5ded3802597c8f1eb211a03a809dc159aef5982d | [
"MIT"
] | 77 | 2020-12-28T17:27:01.000Z | 2021-09-20T06:48:43.000Z | location-tracker/src/test/java/com/rsakin/getaxi/locationtracker/LocationTrackerApplicationTests.java | My-Organization-Sample-Test-Usage/GeTaxiApp2 | 5ded3802597c8f1eb211a03a809dc159aef5982d | [
"MIT"
] | 6 | 2021-02-04T15:26:51.000Z | 2021-09-21T06:39:41.000Z | package com.rsakin.getaxi.locationtracker;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class LocationTrackerApplicationTests {
@Test
void contextLoads() {
}
}
| 16.714286 | 60 | 0.803419 |
cb3588a2e72ccb867d78d6cc9cec6b4fa7e3ab33 | 398 | go | Go | pkg/csv/csv.go | mchirico/zcovid | 0561f03a907c27089366053a24edb215bb8f10fb | [
"Apache-2.0"
] | null | null | null | pkg/csv/csv.go | mchirico/zcovid | 0561f03a907c27089366053a24edb215bb8f10fb | [
"Apache-2.0"
] | 3 | 2020-11-11T18:52:36.000Z | 2020-11-12T21:53:31.000Z | pkg/csv/csv.go | mchirico/zcovid | 0561f03a907c27089366053a24edb215bb8f10fb | [
"Apache-2.0"
] | null | null | null | package csv
import (
"encoding/csv"
"github.com/mchirico/zcovid/pkg/httputils"
"log"
"strings"
)
func GetCSVRecords(url string) (records [][]string, err error) {
h := httputils.NewHTTP()
r, err := h.Get(url)
if err != nil {
return nil, nil
}
rr := csv.NewReader(strings.NewReader(string(r)))
records, err... | 14.740741 | 64 | 0.648241 |
61365f4d60179aec725208d1c8603ff8875acce3 | 85 | kt | Kotlin | j2k/testData/fileOrElement/classExpression/complexExample.kt | errandir/kotlin | 09435ad0e305b6630146dae426c88952ec5e532d | [
"Apache-2.0"
] | 1 | 2017-09-10T07:15:28.000Z | 2017-09-10T07:15:28.000Z | j2k/tests/testData/ast/classExpression/complexExample.kt | hhariri/kotlin | d150bfbce0e2e47d687f39e2fd233ea55b2ccd26 | [
"Apache-2.0"
] | null | null | null | j2k/tests/testData/ast/classExpression/complexExample.kt | hhariri/kotlin | d150bfbce0e2e47d687f39e2fd233ea55b2ccd26 | [
"Apache-2.0"
] | null | null | null | val constrArgTypes = array<Class<*>>(javaClass<Array<String>>(), javaClass<String>()) | 85 | 85 | 0.729412 |
bcb9c62a24b30a8ab2cab649824b3f79ac4400a8 | 819 | js | JavaScript | src/control/selection/RadioButton.js | skylark-integration/skylark-zebra | 8455099bf05c2255328738f38c97445c59a945ae | [
"MIT"
] | null | null | null | src/control/selection/RadioButton.js | skylark-integration/skylark-zebra | 8455099bf05c2255328738f38c97445c59a945ae | [
"MIT"
] | null | null | null | src/control/selection/RadioButton.js | skylark-integration/skylark-zebra | 8455099bf05c2255328738f38c97445c59a945ae | [
"MIT"
] | null | null | null | define([
"qscript/lang/Class",
"qfacex/windows/control/primitives/selection/RadioButtonBoxView"
], function(Class, DjtRadioButton,){
pkg.RadioView = Class(View, [
function() {
this.$this("rgb(15, 81, 205)", "rgb(65, 131, 255)");
},
function(col1, col2) {
this.color1 = col1;
this.c... | 24.088235 | 68 | 0.490842 |
446d194104b3d762a597d152208b5266b6ef5e93 | 2,188 | swift | Swift | ofo_2/ofo_2/RightButtonsView.swift | yanmingLiu/swift-ofo | 9d2fee82d43a84600649b1ec0e8b206502696421 | [
"MIT"
] | null | null | null | ofo_2/ofo_2/RightButtonsView.swift | yanmingLiu/swift-ofo | 9d2fee82d43a84600649b1ec0e8b206502696421 | [
"MIT"
] | null | null | null | ofo_2/ofo_2/RightButtonsView.swift | yanmingLiu/swift-ofo | 9d2fee82d43a84600649b1ec0e8b206502696421 | [
"MIT"
] | null | null | null | //
// RightButtonsView.swift
// ofo_2
//
// Created by lym on 2017/12/27.
// Copyright © 2017年 liuyanming. All rights reserved.
//
import UIKit
class RightButtonsView: UIView {
var loctionBtn = UIButton()
override init(frame: CGRect) {
super.init(frame: frame)
setupSubvi... | 28.415584 | 152 | 0.628428 |
135e2fd945367f7cf6610fb8f44ff25c4239b6c3 | 914 | h | C | Modules/zcb_sign.h | bodhix/Python | cb2d7e29d34eefa99206ea2b7f762a39453821b1 | [
"PSF-2.0"
] | null | null | null | Modules/zcb_sign.h | bodhix/Python | cb2d7e29d34eefa99206ea2b7f762a39453821b1 | [
"PSF-2.0"
] | null | null | null | Modules/zcb_sign.h | bodhix/Python | cb2d7e29d34eefa99206ea2b7f762a39453821b1 | [
"PSF-2.0"
] | null | null | null | #define SIGN_CBZHANG_L1 " _____ _____ ______ _ _ ___ __ _ _____ "
#define SIGN_CBZHANG_L2 " / ___| | _ \\ |___ / | | | | / | | \\ | | / ___| "
#define SIGN_CBZHANG_L3 " | | | |_| | / / | |_| | / /| | | \\| | | | "
#define SIGN_CBZHANG_L4 " | | | _ { ... | 48.105263 | 92 | 0.432166 |
1fb3fc18865894e0091022e6f1f1dc00e66f25b6 | 108 | css | CSS | projects/profile.print.css | towbi/towbi.github.io | 1d19c69999b45b11d19f62e79bde25537036974d | [
"MIT"
] | null | null | null | projects/profile.print.css | towbi/towbi.github.io | 1d19c69999b45b11d19f62e79bde25537036974d | [
"MIT"
] | null | null | null | projects/profile.print.css | towbi/towbi.github.io | 1d19c69999b45b11d19f62e79bde25537036974d | [
"MIT"
] | null | null | null | .cell {
page-break-inside: avoid; }
.cell.head .inner a, .cell.head .inner input {
display: none; }
| 21.6 | 48 | 0.62037 |
f721480ebd35278f7cb6182c74b8c25c849a355c | 928 | h | C | peerd/constants.h | doitmovin/chromiumos-platform2 | 6462aaf43072307b5a40eb045a89e473381b5fda | [
"BSD-3-Clause"
] | 5 | 2019-01-19T15:38:48.000Z | 2021-10-06T03:59:46.000Z | peerd/constants.h | doitmovin/chromiumos-platform2 | 6462aaf43072307b5a40eb045a89e473381b5fda | [
"BSD-3-Clause"
] | null | null | null | peerd/constants.h | doitmovin/chromiumos-platform2 | 6462aaf43072307b5a40eb045a89e473381b5fda | [
"BSD-3-Clause"
] | 2 | 2021-01-26T12:37:19.000Z | 2021-05-18T13:37:57.000Z | // Copyright 2014 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PEERD_CONSTANTS_H_
#define PEERD_CONSTANTS_H_
namespace peerd {
namespace constants {
extern const char kSerbusServiceId[];
namespace mdns ... | 20.622222 | 73 | 0.761853 |
5cf0c98dfe684391a1a3174cd33ef373ab627e2a | 631 | css | CSS | src/components/Search/Search.module.css | kaoru-nk/nextjs-microcms-blog | c729966953c6e80d72efd8d0314aa6e9d024ee1d | [
"Apache-2.0"
] | 42 | 2021-05-10T04:11:31.000Z | 2022-03-29T16:09:28.000Z | src/components/Search/Search.module.css | kaoru-nk/nextjs-microcms-blog | c729966953c6e80d72efd8d0314aa6e9d024ee1d | [
"Apache-2.0"
] | 8 | 2021-08-30T08:46:24.000Z | 2022-02-17T21:50:23.000Z | src/components/Search/Search.module.css | kaoru-nk/nextjs-microcms-blog | c729966953c6e80d72efd8d0314aa6e9d024ee1d | [
"Apache-2.0"
] | 5 | 2021-09-14T13:52:34.000Z | 2022-03-19T00:23:33.000Z | .label {
display: block;
font-size: 14px;
font-weight: bold;
color: var(--color-text-sub);
}
.input {
border: 1px solid var(--color-border);
width: 100%;
box-sizing: border-box;
margin-top: 5px;
border-radius: 5px;
height: 40px;
font-size: 16px;
background: url('/images/icon_search.svg') no-repe... | 21.033333 | 97 | 0.630745 |
74385d4bc8e8b060f952b9e64ee8c117c8d63b33 | 220 | h | C | src/OGFrp.Linux.Common/libs.h | OldGodShen/OGFrp | 58458f622c9a6b3e93b1ac6c62e8118fc6b787ac | [
"Apache-2.0"
] | 5 | 2021-08-09T06:49:24.000Z | 2022-01-17T08:24:40.000Z | src/OGFrp.Linux.Common/libs.h | OldGodShen/OGFrp | 58458f622c9a6b3e93b1ac6c62e8118fc6b787ac | [
"Apache-2.0"
] | null | null | null | src/OGFrp.Linux.Common/libs.h | OldGodShen/OGFrp | 58458f622c9a6b3e93b1ac6c62e8118fc6b787ac | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <stdio.h>
#include <string.h>
#include <sys/statfs.h>
#include <limits.h>
#include <unistd.h>
#include <iostream>
#include <string>
/// get executable path
std::string get_cur_executable_path_(); | 16.923077 | 39 | 0.727273 |
945f4d8e6ab03fb74b43b38ebba90b9ccfb0885b | 196 | rs | Rust | pipelined/bevy_render2/src/renderer/mod.rs | bch29/bevy | c53efeed6fb8b1e41737ea4502051fa4cf535784 | [
"MIT"
] | null | null | null | pipelined/bevy_render2/src/renderer/mod.rs | bch29/bevy | c53efeed6fb8b1e41737ea4502051fa4cf535784 | [
"MIT"
] | null | null | null | pipelined/bevy_render2/src/renderer/mod.rs | bch29/bevy | c53efeed6fb8b1e41737ea4502051fa4cf535784 | [
"MIT"
] | null | null | null | mod headless_render_resource_context;
mod render_context;
mod render_resource_context;
pub use headless_render_resource_context::*;
pub use render_context::*;
pub use render_resource_context::*;
| 24.5 | 44 | 0.841837 |
f2233743688c41c69e95f729bf297587f9267a58 | 7,209 | lua | Lua | libs/ffi.lua | LoveBabyForeve/cgmsv-lua | f7a1756237f4180acf5ee03be03e32263f7e381c | [
"Apache-2.0"
] | null | null | null | libs/ffi.lua | LoveBabyForeve/cgmsv-lua | f7a1756237f4180acf5ee03be03e32263f7e381c | [
"Apache-2.0"
] | null | null | null | libs/ffi.lua | LoveBabyForeve/cgmsv-lua | f7a1756237f4180acf5ee03be03e32263f7e381c | [
"Apache-2.0"
] | null | null | null | local ffi = require "ffi";
ffi.cdef [[
void Sleep(int ms);
char *strstr(const char *str1, const char *str2);
]];
function ffi.readMemoryDWORD(addr)
if addr == 0 then
return nil;
end
return ffi.cast("uint32_t*", addr)[0]
end
function ffi.readMemoryInt32(addr)
if addr == 0 then
return... | 32.768182 | 197 | 0.649466 |
ddd585d85eb71e885e09e9fa706b7ad1e098c048 | 572 | php | PHP | components/Test.php | 20100204/shopping | af3c6b5190d298d7d2b34211a192062764d9e78d | [
"BSD-3-Clause"
] | null | null | null | components/Test.php | 20100204/shopping | af3c6b5190d298d7d2b34211a192062764d9e78d | [
"BSD-3-Clause"
] | null | null | null | components/Test.php | 20100204/shopping | af3c6b5190d298d7d2b34211a192062764d9e78d | [
"BSD-3-Clause"
] | null | null | null | <?php
/**
* Created by PhpStorm.
* User: jason
* Date: 2016/9/9
* Time: 17:25
*/
namespace app\components;
class Test
{
public $db;
public function __construct(Db $db)
{
$this->db = $db;
}
public function getList(){
return $this->db->getList();
}
}
interface Db{
pub... | 14.3 | 45 | 0.568182 |
7aa9663068d9ab9c036dd5f364cf7759769698da | 1,305 | sql | SQL | employeedbschema.sql | akirillychev/Employee-Tracker | 1d189b209c24fa188486dfa6e80eef76856b09d1 | [
"MIT"
] | null | null | null | employeedbschema.sql | akirillychev/Employee-Tracker | 1d189b209c24fa188486dfa6e80eef76856b09d1 | [
"MIT"
] | null | null | null | employeedbschema.sql | akirillychev/Employee-Tracker | 1d189b209c24fa188486dfa6e80eef76856b09d1 | [
"MIT"
] | null | null | null | --CREATE DATABASE employee_db;
USE employees_db;
CREATE TABLE department (
id INT AUTO_INCREMENT NOT NULL,
name VARCHAR(30),
PRIMARY KEY (id)
);
CREATE TABLE role (
id INT AUTO_INCREMENT NOT NULL,
title VARCHAR(30),
salary DECIMAL,
department_id INT,
PRIMARY KEY (id),
FOREIGN KEY (department_id) REFERENCES dep... | 31.829268 | 93 | 0.744828 |
3fceced9affbb7c8cf58f2e378460fa74e31e7e1 | 13,751 | c | C | freebsd5/sys/dev/mii/mii_physubr.c | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 91 | 2015-01-05T15:18:31.000Z | 2022-03-11T16:43:28.000Z | freebsd5/sys/dev/mii/mii_physubr.c | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 1 | 2016-02-25T15:57:55.000Z | 2016-02-25T16:01:02.000Z | freebsd5/sys/dev/mii/mii_physubr.c | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 21 | 2015-02-07T08:23:07.000Z | 2021-12-14T06:01:49.000Z | /* $NetBSD: mii_physubr.c,v 1.5 1999/08/03 19:41:49 drochner Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
* NA... | 25.13894 | 81 | 0.688095 |
413cfa0ac10d5e5f978c921ba2e93899837fb6f0 | 1,478 | asm | Assembly | binutils-2.21.1/gcc-4.5.1/gcc/config/xtensa/crtn.asm | cberner12/xv6 | 53c4dfef0d48287ca0d0f9d27eab7a6ed7fee845 | [
"MIT-0"
] | 51 | 2015-01-31T01:51:39.000Z | 2022-02-18T02:01:50.000Z | binutils-2.21.1/gcc-4.5.1/gcc/config/xtensa/crtn.asm | cberner12/xv6 | 53c4dfef0d48287ca0d0f9d27eab7a6ed7fee845 | [
"MIT-0"
] | 7 | 2017-05-29T09:29:00.000Z | 2019-03-11T16:01:39.000Z | binutils-2.21.1/gcc-4.5.1/gcc/config/xtensa/crtn.asm | cberner12/xv6 | 53c4dfef0d48287ca0d0f9d27eab7a6ed7fee845 | [
"MIT-0"
] | 12 | 2015-03-26T08:05:38.000Z | 2022-02-18T02:01:51.000Z | # End of .init and .fini sections.
# Copyright (C) 2003, 2009 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later ver... | 31.446809 | 73 | 0.752368 |
0ba1fd63450f9018e6ce074ff65e67d347246466 | 124 | js | JavaScript | search/classes_a.js | jvegh/TimeAwareComputing.github.io | 8fde9932c6db662851095db2f0b40e6473f30e12 | [
"CC0-1.0"
] | 2 | 2021-03-19T20:24:46.000Z | 2021-03-19T20:24:50.000Z | search/classes_a.js | jvegh/TimeAwareComputing.github.io | 8fde9932c6db662851095db2f0b40e6473f30e12 | [
"CC0-1.0"
] | null | null | null | search/classes_a.js | jvegh/TimeAwareComputing.github.io | 8fde9932c6db662851095db2f0b40e6473f30e12 | [
"CC0-1.0"
] | null | null | null | var searchData=
[
['timedigpmessage_5ftype_489',['TimedIGPMessage_type',['../structTimedIGPMessage__type.html',1,'']]]
];
| 24.8 | 102 | 0.733871 |
98d5fed8190bb0bcbc29d4f583a300db071b54bf | 407 | html | HTML | javawebparts/WEB-INF/src/javawebparts/taglib/uiwidgets/package.html | fzammetti/java-web-parts | 1422b90430c996f8eda26805b3f3d4a69be5a15c | [
"Apache-2.0"
] | 2 | 2019-09-06T23:28:01.000Z | 2020-02-17T20:26:45.000Z | javawebparts/WEB-INF/src/javawebparts/taglib/uiwidgets/package.html | fzammetti/java-web-parts | 1422b90430c996f8eda26805b3f3d4a69be5a15c | [
"Apache-2.0"
] | null | null | null | javawebparts/WEB-INF/src/javawebparts/taglib/uiwidgets/package.html | fzammetti/java-web-parts | 1422b90430c996f8eda26805b3f3d4a69be5a15c | [
"Apache-2.0"
] | null | null | null | <body>
This package contains the UIWidgets taglib. This taglib
is capable of rendering various user interface elements (widgets) to
provide higher levels of UI functionality without any extra work for the
developer to create them. Here you will find things like the Swapper
widget, among others.
<br><br>
... | 45.222222 | 80 | 0.771499 |
bdf799adf795743a9820388615f174e48d7f9552 | 38,048 | rs | Rust | src/int_blocks.rs | FCG-LLC/hyena | 5354ed498675aee6ed517c75e13b15849cea5c42 | [
"Apache-2.0"
] | null | null | null | src/int_blocks.rs | FCG-LLC/hyena | 5354ed498675aee6ed517c75e13b15849cea5c42 | [
"Apache-2.0"
] | null | null | null | src/int_blocks.rs | FCG-LLC/hyena | 5354ed498675aee6ed517c75e13b15849cea5c42 | [
"Apache-2.0"
] | 2 | 2019-11-12T09:20:35.000Z | 2019-12-16T09:50:53.000Z | use bincode::{serialize, deserialize, Infinite};
use api::ScanComparison;
use scan::BlockScanConsumer;
use catalog::BlockType;
use std::cmp;
// Sorry for this copypasta, it took me bit more time to make templates work and still had some issues, so consider this just a mock
pub trait Scannable<T> {
fn scan(&self,... | 34.810613 | 166 | 0.566495 |
d23f8f69f33213a32321f930b3c673a50162d387 | 2,001 | php | PHP | app/Http/Controllers/Auth/AuthController.php | DMK-Innovations/BusinessModelToolkit | 5c3706bcc609fbbec0c14b2cfbb1b1718ae446fd | [
"MIT"
] | null | null | null | app/Http/Controllers/Auth/AuthController.php | DMK-Innovations/BusinessModelToolkit | 5c3706bcc609fbbec0c14b2cfbb1b1718ae446fd | [
"MIT"
] | 1 | 2017-04-15T08:11:41.000Z | 2017-04-15T08:11:41.000Z | app/Http/Controllers/Auth/AuthController.php | DMK-INNOVATIONS/BusinessModelToolkit | 5c3706bcc609fbbec0c14b2cfbb1b1718ae446fd | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Contracts\Auth\Guard;
use Illuminate\Contracts\Auth\Registrar;
use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers;
use Illuminate\Http\Request;
use Mail;
class AuthController extends Controller {
/*
* |----... | 31.265625 | 401 | 0.618691 |
d3bbf78c213e4cecf5fe1674415c41ebcc0c8580 | 1,079 | lua | Lua | csv.lua | prototux/haproxy-summary | db04e6d9416388c1c0f4b386288111cf2b23764b | [
"BSD-2-Clause"
] | 1 | 2017-01-28T17:19:03.000Z | 2017-01-28T17:19:03.000Z | csv.lua | prototux/haproxy-summary | db04e6d9416388c1c0f4b386288111cf2b23764b | [
"BSD-2-Clause"
] | null | null | null | csv.lua | prototux/haproxy-summary | db04e6d9416388c1c0f4b386288111cf2b23764b | [
"BSD-2-Clause"
] | null | null | null | -- Small CSV helper
-- Source: http://lua-users.org/wiki/LuaCsv
local csv = {}
function csv.parse(line, sep)
local res = {}
local pos = 1
sep = sep or ','
while true do
local c = string.sub(line,pos,pos)
if (c == "") then break end
if (c == '"') then
local txt = ""
... | 27.666667 | 65 | 0.453197 |
81eb4a4916543a1ff893bba612beebe9fcf055de | 4,380 | kt | Kotlin | android-lang/testSrc/com/android/tools/idea/lang/multiDexKeep/MultiDexKeepParserTest.kt | qq1056779951/android | b9677e7537be580437756b17bfca83a907f18598 | [
"Apache-2.0"
] | 831 | 2016-06-09T06:55:34.000Z | 2022-03-30T11:17:10.000Z | android-lang/testSrc/com/android/tools/idea/lang/multiDexKeep/MultiDexKeepParserTest.kt | qq1056779951/android | b9677e7537be580437756b17bfca83a907f18598 | [
"Apache-2.0"
] | 19 | 2017-10-27T00:36:35.000Z | 2021-02-04T13:59:45.000Z | android-lang/testSrc/com/android/tools/idea/lang/multiDexKeep/MultiDexKeepParserTest.kt | qq1056779951/android | b9677e7537be580437756b17bfca83a907f18598 | [
"Apache-2.0"
] | 210 | 2016-07-05T12:22:36.000Z | 2022-03-19T09:07:15.000Z | /*
* Copyright (C) 2019 The Android Open Source Project
*
* 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 app... | 31.285714 | 135 | 0.674201 |
df8d1ae2242076bdf69f9fa487f491b863946bc4 | 6,998 | tsx | TypeScript | app/components/zaposleni/components/zaposleniModal/zaposleniModal.tsx | BogMil/racunovodja | 1ba95eafb2a04056ea279f7a93fb1b034564060a | [
"MIT"
] | 1 | 2020-09-19T19:21:58.000Z | 2020-09-19T19:21:58.000Z | app/components/zaposleni/components/zaposleniModal/zaposleniModal.tsx | BogMil/racunovodja | 1ba95eafb2a04056ea279f7a93fb1b034564060a | [
"MIT"
] | 3 | 2021-01-28T21:01:59.000Z | 2022-02-08T17:50:37.000Z | app/components/zaposleni/components/zaposleniModal/zaposleniModal.tsx | BogMil/racunovodja | 1ba95eafb2a04056ea279f7a93fb1b034564060a | [
"MIT"
] | null | null | null | import React from 'react';
import { Button, Modal, Form, Row, Col } from 'react-bootstrap';
import { useSelector, useDispatch } from 'react-redux';
import {
close,
updateZaposleniState,
setErrors
} from './zaposleniModal.actions';
import { AppStore } from '../../../../reducers';
import { reloadEmployees } from '.... | 30.294372 | 74 | 0.438697 |
d8d02339b668d288a2c120877157fe869cbd3ed5 | 7,623 | lua | Lua | soccar/gamestates/lobby.lua | Dummiesman/KissMP-Soccar | 07eec8951a117daac4f74ecf596ff8f537f78ac9 | [
"MIT"
] | 2 | 2021-04-25T20:01:14.000Z | 2021-04-26T02:31:40.000Z | soccar/gamestates/lobby.lua | Dummiesman/KissMP-Soccar | 07eec8951a117daac4f74ecf596ff8f537f78ac9 | [
"MIT"
] | null | null | null | soccar/gamestates/lobby.lua | Dummiesman/KissMP-Soccar | 07eec8951a117daac4f74ecf596ff8f537f78ac9 | [
"MIT"
] | null | null | null | local M = {}
M.name = "Lobby"
local readyTimer = 0
local lobbyTeamMap = {}
-- team related stuff
local function getFirstIdOnTeam(team)
for client_id, team2 in pairs(lobbyTeamMap) do
if team2 == team then return client_id end
end
return nil
end
local function getTeamMemberCount(team)
local c = 0
for _,t... | 30.987805 | 150 | 0.685819 |
3ad035d48c553ac0ad6305088be65627cb060760 | 1,114 | sql | SQL | taskana-adapter-camunda-spring-boot-test/src/main/resources/sql/clear-camunda-db.sql | sofie29/TaskanaAdapter | 1d442605b6348dcbad6d46e87ffe0e8e6500b4f4 | [
"Apache-2.0"
] | null | null | null | taskana-adapter-camunda-spring-boot-test/src/main/resources/sql/clear-camunda-db.sql | sofie29/TaskanaAdapter | 1d442605b6348dcbad6d46e87ffe0e8e6500b4f4 | [
"Apache-2.0"
] | null | null | null | taskana-adapter-camunda-spring-boot-test/src/main/resources/sql/clear-camunda-db.sql | sofie29/TaskanaAdapter | 1d442605b6348dcbad6d46e87ffe0e8e6500b4f4 | [
"Apache-2.0"
] | null | null | null | -- ENGINE BPMN --
-- Dont clear ByteArray and procdef! --
DELETE FROM ACT_GE_PROPERTY;
DELETE FROM ACT_RU_JOB;
DELETE FROM ACT_RU_JOBDEF;
DELETE FROM ACT_RU_TASK;
DELETE FROM ACT_RU_VARIABLE;
DELETE FROM ACT_RU_EXECUTION;
DELETE FROM ACT_RU_EVENT_SUBSCR;
DELETE FROM ACT_RU_IDENTITYLINK;
DELETE FROM ACT_RU_EVENT_SUBSCR;... | 25.906977 | 39 | 0.841113 |
937f7a346b5c8fd8dc08a7c0e0dce54c9897fa80 | 525 | kt | Kotlin | ansi/src/main/kotlin/uk/tvidal/ansi/AnsiMove.kt | tvidal-net/tvidal-lib | 02b10c64c0dfbf69320d5a798ee165f4ddf10767 | [
"MIT"
] | null | null | null | ansi/src/main/kotlin/uk/tvidal/ansi/AnsiMove.kt | tvidal-net/tvidal-lib | 02b10c64c0dfbf69320d5a798ee165f4ddf10767 | [
"MIT"
] | null | null | null | ansi/src/main/kotlin/uk/tvidal/ansi/AnsiMove.kt | tvidal-net/tvidal-lib | 02b10c64c0dfbf69320d5a798ee165f4ddf10767 | [
"MIT"
] | null | null | null | package uk.tvidal.ansi
import java.lang.System.lineSeparator
enum class AnsiMove(val direction: Char) {
UP('A'),
DOWN('B'),
RIGHT('C'),
LEFT('D'),
NEXT('E'),
PREV('F'),
COL('G'),
POS('H'),
CLEAR_DISPLAY('J'),
CLEAR_LINE('K'),
SCROLL_UP('S'),
SCROLL_DOWN('T'),
SAVE_C... | 21 | 72 | 0.573333 |
fb031942defd4bee2474e2992265fdec3f9f400d | 354 | php | PHP | src/Exceptions/InvalidHttpVerbException.php | angelxmoreno/copyleaks | 0e6f1a2a93598bf796677361047404a0d2d50207 | [
"MIT"
] | null | null | null | src/Exceptions/InvalidHttpVerbException.php | angelxmoreno/copyleaks | 0e6f1a2a93598bf796677361047404a0d2d50207 | [
"MIT"
] | 2 | 2018-05-18T04:31:41.000Z | 2018-05-19T22:47:03.000Z | src/Exceptions/InvalidHttpVerbException.php | angelxmoreno/copyleaks | 0e6f1a2a93598bf796677361047404a0d2d50207 | [
"MIT"
] | null | null | null | <?php
namespace Axm\CopyLeaks\Exceptions;
use Axm\CopyLeaks\Constants;
/**
* Class InvalidHttpVerbException
* @package Axm\CopyLeaks\Exceptions
*/
class InvalidHttpVerbException extends ExceptionBase
{
/**
* @var string
*/
protected $msg_tpl = '%s is not valid. please use ' . Constants::HTTP_POST... | 22.125 | 110 | 0.69774 |
c6d7a8763e708add2c984976e84271ca6ca539ba | 2,705 | rb | Ruby | werd.rb | rk/werd | eaf2b101ee648df1e95b6d41215215f881b5814f | [
"Ruby"
] | 5 | 2015-11-05T03:15:19.000Z | 2021-09-13T21:48:53.000Z | werd.rb | rk/werd | eaf2b101ee648df1e95b6d41215215f881b5814f | [
"Ruby"
] | null | null | null | werd.rb | rk/werd | eaf2b101ee648df1e95b6d41215215f881b5814f | [
"Ruby"
] | null | null | null | #encoding:utf-8
# Random Word Generator with simple rules (see datafiles); recursive;
# details on datafile format can be found in the English ruleset;
# by Robert Kosek, robert.kosek@thewickedflea.com.
#
# Based on the Perl version by Chris Pound (pound@rice.edu), which was
# based on Mark Rosenfelder's Pascal implem... | 27.886598 | 92 | 0.692791 |
39e65af1f7ab91d02e4c66b0913193fa51653d41 | 2,263 | java | Java | src/net/sf/l2j/gameserver/network/GameCrypt.java | abramsba/arc-server | 231db555a3322a9060414297658350ca10925536 | [
"MIT"
] | 3 | 2020-03-25T10:13:52.000Z | 2021-11-27T16:51:36.000Z | src/net/sf/l2j/gameserver/network/GameCrypt.java | abramsba/arc-server | 231db555a3322a9060414297658350ca10925536 | [
"MIT"
] | null | null | null | src/net/sf/l2j/gameserver/network/GameCrypt.java | abramsba/arc-server | 231db555a3322a9060414297658350ca10925536 | [
"MIT"
] | 3 | 2020-03-18T16:00:10.000Z | 2021-11-27T16:51:51.000Z | /*
* 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 version 3 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be us... | 26.011494 | 80 | 0.615555 |
e2e78a5daaa6857dcfda56300079eae65c0627b8 | 12,968 | kt | Kotlin | app/src/main/java/com/alwaystinkering/sandbot/repo/SandbotRepository.kt | grammesm/SandBot-Android | db392f967076e31f27f2e5d90b483e97c259e789 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/alwaystinkering/sandbot/repo/SandbotRepository.kt | grammesm/SandBot-Android | db392f967076e31f27f2e5d90b483e97c259e789 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/alwaystinkering/sandbot/repo/SandbotRepository.kt | grammesm/SandBot-Android | db392f967076e31f27f2e5d90b483e97c259e789 | [
"Apache-2.0"
] | null | null | null | package com.alwaystinkering.sandbot.repo
import android.util.Log
import androidx.core.util.Consumer
import androidx.lifecycle.MutableLiveData
import com.alwaystinkering.sandbot.api.*
import com.alwaystinkering.sandbot.model.LedState
import com.alwaystinkering.sandbot.model.pattern.*
import com.alwaystinkering.sandbot.... | 35.823204 | 113 | 0.513726 |
0a209224c11e646b5549e6e059bd1190ee224706 | 7,218 | h | C | Firmware/roboticwristcode/catkin_ws/src/ros_tivac/TUhand/include/spi_AMIS_30543_stepper.h | Biological-Robotics-at-Tulsa/The-TU-Hand | c12c3875572e88ec821000cd2640d4d5f6f9017b | [
"MIT"
] | null | null | null | Firmware/roboticwristcode/catkin_ws/src/ros_tivac/TUhand/include/spi_AMIS_30543_stepper.h | Biological-Robotics-at-Tulsa/The-TU-Hand | c12c3875572e88ec821000cd2640d4d5f6f9017b | [
"MIT"
] | null | null | null | Firmware/roboticwristcode/catkin_ws/src/ros_tivac/TUhand/include/spi_AMIS_30543_stepper.h | Biological-Robotics-at-Tulsa/The-TU-Hand | c12c3875572e88ec821000cd2640d4d5f6f9017b | [
"MIT"
] | null | null | null | #include <stdbool.h>
#include <stdint.h>
#include <algorithm>
#include <queue>
#include <string>
// TivaC specific includes
extern "C"
{
#include <driverlib/interrupt.h>
#include <driverlib/sysctl.h>
#include <driverlib/gpio.h>
#include <driverlib/adc.h>
#include "inc/hw_ints.h"
#include "driverlib/pin_map... | 31.657895 | 106 | 0.658908 |
e7f06cecae55d479e6604b53a295b76a9bdf0276 | 5,005 | py | Python | backend/tests/unit/protocols/application/test_lists.py | pez-globo/pufferfish-software | b42fecd652731dd80fbe366e95983503fced37a4 | [
"Apache-2.0"
] | 1 | 2020-10-20T23:47:23.000Z | 2020-10-20T23:47:23.000Z | backend/tests/unit/protocols/application/test_lists.py | pez-globo/pufferfish-software | b42fecd652731dd80fbe366e95983503fced37a4 | [
"Apache-2.0"
] | 242 | 2020-10-23T06:44:01.000Z | 2022-01-28T05:50:45.000Z | backend/tests/unit/protocols/application/test_lists.py | pez-globo/pufferfish-vent-software | f1e5e47acf1941e7c729adb750b85bf26c38b274 | [
"Apache-2.0"
] | 1 | 2021-04-12T02:10:18.000Z | 2021-04-12T02:10:18.000Z | """Test the functionality of protocols.application.states classes."""
from ventserver.protocols.application import lists
from ventserver.protocols.protobuf import mcu_pb as pb
def test_send_new_elements() -> None:
"""Test adding new elements to a list for sending."""
example_sequence = [
lists.Update... | 36.532847 | 77 | 0.675524 |
5766a2be31ee4e5aaaea618cb6fae88f9b96bb81 | 2,621 | h | C | src/SimpleMath/SimpleMathLU.h | ORB-HD/MeshUp | 17a59b52436946caa99357a6042091fe898596a6 | [
"MIT"
] | 4 | 2019-01-08T00:56:41.000Z | 2021-06-11T10:05:39.000Z | src/SimpleMath/SimpleMathLU.h | ORB-HD/MeshUp | 17a59b52436946caa99357a6042091fe898596a6 | [
"MIT"
] | 8 | 2018-10-25T08:51:03.000Z | 2019-03-28T11:41:39.000Z | src/SimpleMath/SimpleMathLU.h | ORB-HD/MeshUp | 17a59b52436946caa99357a6042091fe898596a6 | [
"MIT"
] | 2 | 2019-03-28T17:35:43.000Z | 2019-05-06T12:51:46.000Z | #ifndef _SIMPLE_MATH_LU_H
#define _SIMPLE_MATH_LU_H
#include <iostream>
#include <limits>
#include "SimpleMathFixed.h"
#include "SimpleMathDynamic.h"
#include "SimpleMathBlock.h"
namespace SimpleMath {
template <typename matrix_type>
class PartialPivLU {
public:
typedef typename matrix_type::value_type value... | 24.268519 | 80 | 0.548264 |
94308bc13d20e0efa4d6589cc2632cfaa6d94a09 | 413 | asm | Assembly | programs/oeis/279/A279077.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/279/A279077.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/279/A279077.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A279077: Maximum starting value of X such that repeated replacement of X with X-ceiling(X/7) requires n steps to reach 0.
; 0,1,2,3,4,5,6,8,10,12,15,18,22,26,31,37,44,52,61,72,85,100,117,137,160,187,219,256,299,349,408,477,557,650,759,886,1034,1207,1409,1644,1919,2239,2613,3049,3558,4152,4845,5653,6596,7696,8979,1047... | 34.416667 | 209 | 0.694915 |
6e38590f35cfd0744e60e86b54b8291c21a65ac0 | 31 | kt | Kotlin | src/Email.kt | waterlink/SignInExample | b4571b468f7c9122b5713a3fe0f7ba4359b68b71 | [
"MIT"
] | null | null | null | src/Email.kt | waterlink/SignInExample | b4571b468f7c9122b5713a3fe0f7ba4359b68b71 | [
"MIT"
] | null | null | null | src/Email.kt | waterlink/SignInExample | b4571b468f7c9122b5713a3fe0f7ba4359b68b71 | [
"MIT"
] | null | null | null | class Email(email: String) {
} | 10.333333 | 28 | 0.677419 |
ddfed4466070467deaf2c545a2032e16833f67db | 1,125 | c | C | snippets/linux/getrlimit.c | qeedquan/misc_utilities | 94c6363388662ac8ebbf075b9c853ce6defbb5b3 | [
"MIT"
] | 8 | 2018-10-17T18:17:25.000Z | 2022-03-18T09:02:53.000Z | snippets/linux/getrlimit.c | qeedquan/misc_utilities | 94c6363388662ac8ebbf075b9c853ce6defbb5b3 | [
"MIT"
] | null | null | null | snippets/linux/getrlimit.c | qeedquan/misc_utilities | 94c6363388662ac8ebbf075b9c853ce6defbb5b3 | [
"MIT"
] | 3 | 2020-07-01T13:52:42.000Z | 2022-03-18T09:10:59.000Z | #include <stdio.h>
#include <string.h>
#include <errno.h>
#include <sys/time.h>
#include <sys/resource.h>
#define nelem(x) (sizeof(x) / sizeof(x[0]))
int
main(void)
{
static const struct {
int resource;
char str[256];
} tab[] = {
{RLIMIT_AS, "RLIMIT_AS"},
{RLIMIT_CORE, "RLIMIT_CORE"},
{RLIMIT_CPU... | 24.456522 | 93 | 0.631111 |
2f402b0a4158484d3a44afef47bad31ee0f2703b | 147 | php | PHP | config/constants.php | ziggyou8/msas_backend | dd9f13f12ac2502cd07e8dd3317f60f3c70cf1e2 | [
"MIT"
] | null | null | null | config/constants.php | ziggyou8/msas_backend | dd9f13f12ac2502cd07e8dd3317f60f3c70cf1e2 | [
"MIT"
] | null | null | null | config/constants.php | ziggyou8/msas_backend | dd9f13f12ac2502cd07e8dd3317f60f3c70cf1e2 | [
"MIT"
] | null | null | null | <?php
return [
'frontend' => [
'url' => env('URL_FRONTEND', 'http://msas-frontend.herokuapp.com')
],
'password' => 'passer'
];
| 18.375 | 74 | 0.52381 |
e754832dab77d8c61522e8d0299d1eb2b720fed1 | 22,157 | js | JavaScript | source/actions.js | RahavLussato/redux-react-firebase | f66b2ca8b0b39b5a51e0538e7e2ca43ab25d1556 | [
"MIT"
] | 287 | 2016-01-13T12:20:08.000Z | 2022-02-21T03:15:31.000Z | source/actions.js | enkuush-ca/redux-react-firebase | 004bfd20d60e6ac8c5793c7aa66b161ae6fc9f03 | [
"MIT"
] | 60 | 2016-01-26T15:01:45.000Z | 2018-10-18T22:34:14.000Z | source/actions.js | enkuush-ca/redux-react-firebase | 004bfd20d60e6ac8c5793c7aa66b161ae6fc9f03 | [
"MIT"
] | 48 | 2016-01-18T17:38:37.000Z | 2021-03-23T23:46:45.000Z |
import {
SET,
SET_REQUESTED,
SET_PROFILE,
LOGIN,
LOGOUT,
LOGIN_ERROR,
PERMISSION_DENIED_ERROR,
START,
INIT_BY_PATH
// NO_VALUE
} from './constants'
import { Promise } from 'es6-promise'
import _ from 'lodash'
const getWatchPath = (event, path) => event + ':' + ((getCleanPath(pa... | 38.33391 | 175 | 0.463104 |
c3edaa2fd78a8dc0ca30ded213b4654916154891 | 249 | go | Go | main.go | amaro0/uuid | f7e8d5e115d694d58103abb6c0cf33ee307af326 | [
"MIT"
] | null | null | null | main.go | amaro0/uuid | f7e8d5e115d694d58103abb6c0cf33ee307af326 | [
"MIT"
] | null | null | null | main.go | amaro0/uuid | f7e8d5e115d694d58103abb6c0cf33ee307af326 | [
"MIT"
] | null | null | null | package main
import (
"fmt"
"github.com/google/uuid"
)
import "github.com/atotto/clipboard"
func main() {
uuid, err := uuid.NewRandom()
if err != nil {
panic(err)
}
clipboard.WriteAll(uuid.String())
fmt.Println("UUID ready to paste")
}
| 13.105263 | 36 | 0.666667 |
fd6e50c9578fd720829607749ebde510502104b1 | 136 | sql | SQL | src/test/resources/loadext.test_1.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 131 | 2015-03-31T18:59:14.000Z | 2022-03-09T09:51:06.000Z | src/test/resources/loadext.test_1.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 20 | 2015-03-31T21:35:38.000Z | 2018-07-02T16:15:51.000Z | src/test/resources/loadext.test_1.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 43 | 2015-04-28T02:01:55.000Z | 2021-06-06T09:33:38.000Z | -- loadext.test
--
-- db eval {
-- SELECT sqlite3_status('MEMORY_USED') AS mused
-- }
SELECT sqlite3_status('MEMORY_USED') AS mused | 22.666667 | 52 | 0.683824 |
571f35f00deb9ce1c8a0a96fc4f3f361e59ca68a | 647 | h | C | Headers/CoreMaterial/MTColor.h | Shade-Zepheri/Borealis | c427fec52eb5189c96c0b1a293cae15171c80131 | [
"MIT"
] | 4 | 2020-06-29T08:01:31.000Z | 2021-06-08T18:25:59.000Z | Headers/CoreMaterial/MTColor.h | Mighel881/Borealis | 5971492de31d939275804722ef352300ffd782cb | [
"MIT"
] | null | null | null | Headers/CoreMaterial/MTColor.h | Mighel881/Borealis | 5971492de31d939275804722ef352300ffd782cb | [
"MIT"
] | 3 | 2020-06-29T08:12:59.000Z | 2021-07-08T15:07:36.000Z | #import <Foundation/Foundation.h>
#import "CoreMaterial+Structs.h"
@interface MTColor : NSObject
+ (instancetype)blackColor;
+ (instancetype)whiteColor;
+ (instancetype)pinkColor;
+ (instancetype)colorWithWhite:(CGFloat)white alpha:(CGFloat)alpha;
+ (instancetype)colorWithRed:(CGFloat)red green:(CGFloat)green blue:(C... | 32.35 | 103 | 0.79289 |
3ee91217e36ba3da44eafc2396e12d047512ff5a | 13,196 | c | C | acados/ocp_qp/ocp_qp_full_condensing_solver.c | besticka/acados1 | e2fd3e9ca6f02b78b936b269c1d711880e84b4db | [
"BSD-2-Clause"
] | null | null | null | acados/ocp_qp/ocp_qp_full_condensing_solver.c | besticka/acados1 | e2fd3e9ca6f02b78b936b269c1d711880e84b4db | [
"BSD-2-Clause"
] | null | null | null | acados/ocp_qp/ocp_qp_full_condensing_solver.c | besticka/acados1 | e2fd3e9ca6f02b78b936b269c1d711880e84b4db | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright 2019 Gianluca Frison, Dimitris Kouzoupis, Robin Verschueren, Andrea Zanelli, Niels van Duijkeren, Jonathan Frey, Tommaso Sartor, Branimir Novoselnik, Rien Quirynen, Rezart Qelibari, Dang Doan, Jonas Koenemann, Yutao Chen, Tobias Schöls, Jonas Schlagenhauf, Moritz Diehl
*
* This file is part of acados.... | 37.067416 | 758 | 0.701576 |
d086a98323abca978eeca0e646afdca9d98a887b | 273 | css | CSS | public/css/foundation/single/dashboard.css | HaraDev001/eg-okeicom | 910db1d89694c83b5d3eb286a7ffed72e4988536 | [
"MIT"
] | null | null | null | public/css/foundation/single/dashboard.css | HaraDev001/eg-okeicom | 910db1d89694c83b5d3eb286a7ffed72e4988536 | [
"MIT"
] | null | null | null | public/css/foundation/single/dashboard.css | HaraDev001/eg-okeicom | 910db1d89694c83b5d3eb286a7ffed72e4988536 | [
"MIT"
] | null | null | null | .dashboard{padding:0 20px}.dashboard-content{background:#fff}.dashboard-content:not(:last-child){margin-bottom:20px}.dashboard-content-list{border-bottom:1px solid #F5F5F5}.dashboard-content-list a{display:block;padding:15px 20px}
/*# sourceMappingURL=dashboard.css.map */
| 91 | 230 | 0.802198 |
f16a4c0abcbe9f3811a1d34fd2b925a33028ae43 | 2,477 | rb | Ruby | app/controllers/metrics_controller.rb | tkowark/repmine | 6d358e1178892fb715ece18e5bc5722c6eb882c9 | [
"MIT"
] | 3 | 2017-10-24T18:49:46.000Z | 2020-12-22T17:35:32.000Z | app/controllers/metrics_controller.rb | tkowark/repmine | 6d358e1178892fb715ece18e5bc5722c6eb882c9 | [
"MIT"
] | 7 | 2016-05-02T14:26:41.000Z | 2016-05-03T13:52:31.000Z | app/controllers/metrics_controller.rb | tkowark/repmine | 6d358e1178892fb715ece18e5bc5722c6eb882c9 | [
"MIT"
] | 1 | 2020-05-09T13:48:43.000Z | 2020-05-09T13:48:43.000Z | class MetricsController < ApplicationController
autocomplete :tag, :name, :class_name => 'ActsAsTaggableOn::Tag'
def create
@metric = Metric.new
@metric.save(validate: false)
redirect_to metric_path(@metric)
end
def show
@metric = Metric.find(params[:id])
@measurable_groups = Metric.groupe... | 32.592105 | 107 | 0.664514 |
baed4476a0c7c49062aafb9c1c04e48380d82166 | 1,209 | asm | Assembly | programs/oeis/189/A189894.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/189/A189894.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/189/A189894.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A189894: Number of isosceles right triangles on a 2nX(n+1) grid
; 4,50,208,582,1308,2556,4528,7460,11620,17310,24864,34650,47068,62552,81568,104616,132228,164970,203440,248270,300124,359700,427728,504972,592228,690326,800128,922530,1058460,1208880,1374784,1557200,1757188,1975842,2214288,2473686,2755228,3060140,338968... | 24.673469 | 531 | 0.61373 |
39d4c0caba0db8b9bba352c95a835e126feb5441 | 1,948 | swift | Swift | ProjectSwiftDemo/Pods/CocoaChainKit/CocoaChainKit/Classes/UIButton+Chain.swift | ZSMHup/ProjectSwiftDemo | 1df8c733ee016eb325dad4e8fa4311f4bba1e804 | [
"Apache-2.0"
] | 1 | 2018-08-25T03:11:30.000Z | 2018-08-25T03:11:30.000Z | SwiftTool/Pods/CocoaChainKit/CocoaChainKit/Classes/UIButton+Chain.swift | ZSMHup/SwiftTool | c13251bfd9a0a54c479cb0c13ed3f0634a86cb53 | [
"Apache-2.0"
] | null | null | null | SwiftTool/Pods/CocoaChainKit/CocoaChainKit/Classes/UIButton+Chain.swift | ZSMHup/SwiftTool | c13251bfd9a0a54c479cb0c13ed3f0634a86cb53 | [
"Apache-2.0"
] | 1 | 2018-11-20T18:59:19.000Z | 2018-11-20T18:59:19.000Z | //
// UIButton+Chain.swift
// CocoaChainKit
//
// Created by GorXion on 2018/5/8.
//
public extension Chain where Base: UIButton {
@discardableResult
func title(_ title: String?, for state: ControlState...) -> Chain {
state.forEach { base.setTitle(title, for: $0) }
return self
}
... | 30.4375 | 103 | 0.637064 |
2a344605a96e2aa9208fb816713bfa628ca5e669 | 175 | java | Java | src/main/java/com/hamusuke/twitter4mc/utils/LinkFinder.java | hamusuke0323/TwitterForMinecraftFabric | 3578d94b3993bf3658274093aca841352b70ec74 | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 9 | 2021-04-05T05:00:08.000Z | 2021-12-18T22:58:17.000Z | src/main/java/com/hamusuke/twitter4mc/utils/LinkFinder.java | hamusuke0323/TwitterForMinecraftFabric | 3578d94b3993bf3658274093aca841352b70ec74 | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | null | null | null | src/main/java/com/hamusuke/twitter4mc/utils/LinkFinder.java | hamusuke0323/TwitterForMinecraftFabric | 3578d94b3993bf3658274093aca841352b70ec74 | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | null | null | null | package com.hamusuke.twitter4mc.utils;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
//TODO
@Environment(EnvType.CLIENT)
public class LinkFinder {
}
| 17.5 | 38 | 0.8 |
755e2debe8d6b2c7bac6230a47392fd5f5df1922 | 9,725 | lua | Lua | command.lua | AntumMT/mod-server_shop | 76f1874323bd042a1d3741b4de5f498a2a5dcc16 | [
"MIT"
] | null | null | null | command.lua | AntumMT/mod-server_shop | 76f1874323bd042a1d3741b4de5f498a2a5dcc16 | [
"MIT"
] | null | null | null | command.lua | AntumMT/mod-server_shop | 76f1874323bd042a1d3741b4de5f498a2a5dcc16 | [
"MIT"
] | null | null | null |
--- Server Shops Chat Commands
--
-- @topic commands
local ss = server_shop
local S = core.get_translator(ss.modname)
local commands = {
{
cmd = "help",
params = "[" .. S("command") .. "]",
desc = S("Shows usage info."),
},
{
cmd = "list",
desc = S("Lists all registered shop IDs."),
},
{
cmd = "i... | 25.795756 | 91 | 0.595373 |
2f75efd361693eddbbfce6344fb39427c47ea9a9 | 526 | php | PHP | resources/views/book/index.blade.php | alexandr-vasiliev-sv/book | f5d29cfacf1ca25709edebfc999128b0d2e4a510 | [
"MIT"
] | null | null | null | resources/views/book/index.blade.php | alexandr-vasiliev-sv/book | f5d29cfacf1ca25709edebfc999128b0d2e4a510 | [
"MIT"
] | null | null | null | resources/views/book/index.blade.php | alexandr-vasiliev-sv/book | f5d29cfacf1ca25709edebfc999128b0d2e4a510 | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('breadcrumbs')
<li class="active">Books</li>
@stop
@section('content')
<div class="row">
<div class="col-md-12">
<h1>
Books
<a href="{{ route('books.create') }}" class="btn btn-default pull-right">Create</a>
</h1... | 21.04 | 99 | 0.45057 |
2615fb7b5687656a411150c55990c304a0d68b84 | 184 | java | Java | src/main/java/com/baibai/rush/db/dao/RushCommodityDao.java | xinnywinne/rush | a5e4bb3141bfb8e97f3d5ba968c6eb9309a0ff77 | [
"Apache-2.0"
] | 1 | 2021-02-27T23:13:27.000Z | 2021-02-27T23:13:27.000Z | src/main/java/com/baibai/rush/db/dao/RushCommodityDao.java | xinnywinne/rush | a5e4bb3141bfb8e97f3d5ba968c6eb9309a0ff77 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/baibai/rush/db/dao/RushCommodityDao.java | xinnywinne/rush | a5e4bb3141bfb8e97f3d5ba968c6eb9309a0ff77 | [
"Apache-2.0"
] | null | null | null | package com.baibai.rush.db.dao;
import com.baibai.rush.db.po.RushCommodity;
public interface RushCommodityDao {
public RushCommodity queryRushCommodityById(long commodityId);
}
| 20.444444 | 66 | 0.804348 |
262a75992dfe0757641787cc1c4f260bade78c02 | 210 | java | Java | src/main/java/us/ihmc/simulationconstructionset/gui/BookmarkedVariableAddedListener.java | ihmcrobotics/simulation-construction-set | 98d7bb859164025aad1a7ce5d1a021051c8c2537 | [
"Apache-2.0"
] | 11 | 2018-11-03T02:51:24.000Z | 2022-01-08T03:11:31.000Z | src/main/java/us/ihmc/simulationconstructionset/gui/BookmarkedVariableAddedListener.java | ihmcrobotics/simulation-construction-set | 98d7bb859164025aad1a7ce5d1a021051c8c2537 | [
"Apache-2.0"
] | 28 | 2018-08-13T21:01:10.000Z | 2022-03-01T19:45:50.000Z | src/main/java/us/ihmc/simulationconstructionset/gui/BookmarkedVariableAddedListener.java | ihmcrobotics/simulation-construction-set | 98d7bb859164025aad1a7ce5d1a021051c8c2537 | [
"Apache-2.0"
] | 3 | 2018-06-22T19:06:27.000Z | 2022-01-06T23:00:57.000Z | package us.ihmc.simulationconstructionset.gui;
import us.ihmc.yoVariables.variable.YoVariable;
public interface BookmarkedVariableAddedListener
{
public abstract void bookmarkAdded(YoVariable variable);
}
| 23.333333 | 59 | 0.842857 |
2847402368c67c7d5da6df0cd5871aa90c8b8f51 | 1,581 | rb | Ruby | spec/fcom/git_helpers_spec.rb | davidrunger/fcom | 3990caeaf1848169af3f133198c4aa7c0acc07aa | [
"MIT"
] | 3 | 2019-12-29T13:16:51.000Z | 2020-06-20T22:06:47.000Z | spec/fcom/git_helpers_spec.rb | davidrunger/fcom | 3990caeaf1848169af3f133198c4aa7c0acc07aa | [
"MIT"
] | 29 | 2020-05-21T15:11:29.000Z | 2022-02-14T23:40:40.000Z | spec/fcom/git_helpers_spec.rb | davidrunger/fcom | 3990caeaf1848169af3f133198c4aa7c0acc07aa | [
"MIT"
] | null | null | null | # frozen_string_literal: true
RSpec.describe Fcom::GitHelpers do
subject(:git_helper) { Fcom::GitHelpers.new }
describe '#repo' do
subject(:repo) { git_helper.repo }
context 'when Fcom::GitHelpers#repo is not stubbed' do
# rubocop:disable RSpec/AnyInstance
before { allow_any_instance_of(Fcom:... | 35.931818 | 92 | 0.59456 |
18320a5035ac3defa5d061eb02e83a5f05fbf867 | 8,406 | swift | Swift | NKTimeIntervalTextTransformation/Classes/Extensions/NKTextTimeIntervalConfiguration+DefaultValues.swift | nkopilovskii/NKTimeIntervalTextTransformation | 2b658019d015833d33f3b55e3b343c4f37f570b7 | [
"MIT"
] | null | null | null | NKTimeIntervalTextTransformation/Classes/Extensions/NKTextTimeIntervalConfiguration+DefaultValues.swift | nkopilovskii/NKTimeIntervalTextTransformation | 2b658019d015833d33f3b55e3b343c4f37f570b7 | [
"MIT"
] | 2 | 2019-07-16T09:30:42.000Z | 2019-07-16T10:32:20.000Z | NKTimeIntervalTextTransformation/Classes/Extensions/NKTextTimeIntervalConfiguration+DefaultValues.swift | nkopilovskii/NKTimeIntervalTextTransformation | 2b658019d015833d33f3b55e3b343c4f37f570b7 | [
"MIT"
] | null | null | null | //
//Copyright (c) 2019 nkopilovskii <nkopilovskii@gmail.com>
//
//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, m... | 39.650943 | 163 | 0.620628 |
39bbc23b09ce3a74a9fc444f4b0ffe5eced02149 | 1,958 | js | JavaScript | src/__tests__/rockets.test.js | Ntwali-Josue/space-travelers-hub | 7898960ed4c671dfe0bbdb13934e9b977e587f88 | [
"MIT"
] | 4 | 2021-12-13T17:00:30.000Z | 2021-12-22T19:54:41.000Z | src/__tests__/rockets.test.js | Ntwali-Josue/space-travelers-hub | 7898960ed4c671dfe0bbdb13934e9b977e587f88 | [
"MIT"
] | 26 | 2021-10-04T14:48:25.000Z | 2021-10-08T15:53:41.000Z | src/__tests__/rockets.test.js | Ntwali-Josue/space-travelers-hub | 7898960ed4c671dfe0bbdb13934e9b977e587f88 | [
"MIT"
] | 1 | 2021-12-13T17:00:12.000Z | 2021-12-13T17:00:12.000Z | import { render, screen } from '@testing-library/react';
import { Provider } from 'react-redux';
import store from '../redux/configureStore';
import rocketsReducer from '../redux/rockets/rocketsReducer';
import App from '../App';
import fetchAPI from '../redux/fetchAPI';
import Rocket from '../components/rockets/Rocket... | 26.459459 | 79 | 0.580184 |