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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9c5d953671c187c9d4d843392bdff8c26dd90020 | 144 | js | JavaScript | config/db.js | aeshaganatra/midterm | f13b30accc61314102fa4a5e650228e884fe3037 | [
"MIT"
] | null | null | null | config/db.js | aeshaganatra/midterm | f13b30accc61314102fa4a5e650228e884fe3037 | [
"MIT"
] | null | null | null | config/db.js | aeshaganatra/midterm | f13b30accc61314102fa4a5e650228e884fe3037 | [
"MIT"
] | null | null | null | module.exports = {
"AtlasDB": "mongodb+srv://root:1oIHb1kzseAT5kMZ@cluster0.2c5cq.mongodb.net/myFirstDatabase?retryWrites=true&w=majority"
} | 48 | 123 | 0.777778 |
d97c4eed83940ece811d2fc4ce1151eeaee5d519 | 2,730 | rs | Rust | src/columns/write_bytes.rs | sorairolake/procs | 01eae490b37037a9c059c2ded04ca0a64a5841a7 | [
"MIT"
] | null | null | null | src/columns/write_bytes.rs | sorairolake/procs | 01eae490b37037a9c059c2ded04ca0a64a5841a7 | [
"MIT"
] | 24 | 2022-01-25T20:30:33.000Z | 2022-03-31T20:40:52.000Z | src/columns/write_bytes.rs | doytsujin/procs | 65fb32c1e879727ba2561bbb1d95617945733517 | [
"MIT"
] | null | null | null | use crate::process::ProcessInfo;
use crate::util::bytify;
use crate::{column_default, Column};
use std::cmp;
use std::collections::HashMap;
pub struct WriteBytes {
header: String,
unit: String,
fmt_contents: HashMap<i32, String>,
raw_contents: HashMap<i32, u64>,
width: usize,
}
impl WriteBytes {
... | 31.022727 | 97 | 0.595971 |
7fce45fb82afbd057f10d7053606a05de0d7902f | 5,494 | go | Go | galley/pkg/runtime/publish/strategy.go | pbohman/istio | 6bade8133aadc2b32382256fc5f60d30f99379f5 | [
"Apache-2.0"
] | 2 | 2021-01-15T09:23:29.000Z | 2021-12-04T13:35:18.000Z | galley/pkg/runtime/publish/strategy.go | pbohman/istio | 6bade8133aadc2b32382256fc5f60d30f99379f5 | [
"Apache-2.0"
] | 7 | 2020-04-08T00:11:35.000Z | 2021-09-21T01:49:26.000Z | galley/pkg/runtime/publish/strategy.go | pbohman/istio | 6bade8133aadc2b32382256fc5f60d30f99379f5 | [
"Apache-2.0"
] | 5 | 2018-01-16T00:38:11.000Z | 2019-07-10T19:04:40.000Z | // Copyright 2018 Istio 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 applicable law or agreed to i... | 28.915789 | 100 | 0.729341 |
3e45c38d3140ca10b80324412d1e37d4634bca24 | 25,517 | h | C | VecGeom/base/BitSet.h | cxwx/VecGeom | c86c00bd7d4db08f4fc20a625020da329784aaac | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-06-27T18:43:36.000Z | 2020-06-27T18:43:36.000Z | VecGeom/base/BitSet.h | cxwx/VecGeom | c86c00bd7d4db08f4fc20a625020da329784aaac | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | VecGeom/base/BitSet.h | cxwx/VecGeom | c86c00bd7d4db08f4fc20a625020da329784aaac | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /// \file VecCore/BitSet.h
/// \author Philippe Canal (pcanal@fnal.gov)
/// \author Exported from the original version in ROOT (root.cern.ch).
#ifndef VECGEOM_BITSET_H
#define VECGEOM_BITSET_H
// This file will eventually move in VecCore.
#include "VecGeom/base/Global.h"
#include "VariableSizeObj.h"
// For memset a... | 29.602088 | 118 | 0.566172 |
f1083f0967e181d35d9971121b31902adde87d74 | 1,764 | rb | Ruby | spec/locale_spec.rb | k3rni/ffi-locale | 374348ad00fdffd45aef484b1349c6e3401d7758 | [
"MIT"
] | 2 | 2016-10-05T06:44:45.000Z | 2018-11-28T23:04:26.000Z | spec/locale_spec.rb | k3rni/ffi-locale | 374348ad00fdffd45aef484b1349c6e3401d7758 | [
"MIT"
] | 3 | 2015-08-03T15:55:44.000Z | 2017-10-29T17:56:35.000Z | spec/locale_spec.rb | k3rni/ffi-locale | 374348ad00fdffd45aef484b1349c6e3401d7758 | [
"MIT"
] | 2 | 2015-08-03T11:15:56.000Z | 2017-10-27T07:40:53.000Z | # encoding: utf-8
# frozen-string-literal: true
require 'spec_helper'
boot_locale = FFILocale.setlocale FFILocale::LC_ALL, nil
describe FFILocale do
# NOTE: not a very useful test suite. All this functionality is provided by glibc and FFI, and it's useless to
# test libraries you depend on.
let(:locale_keys) d... | 33.923077 | 138 | 0.71712 |
596efc9183d44bb15233fe084641866918517f55 | 5,617 | h | C | qqtw/qqheaders7.2/QQPublicAccountFolderViewController.h | onezens/QQTweak | 04b9efd1d93eba8ef8fec5cf9a20276637765777 | [
"MIT"
] | 5 | 2018-02-20T14:24:17.000Z | 2020-08-06T09:31:21.000Z | qqtw/qqheaders7.2/QQPublicAccountFolderViewController.h | onezens/QQTweak | 04b9efd1d93eba8ef8fec5cf9a20276637765777 | [
"MIT"
] | 1 | 2020-06-10T07:49:16.000Z | 2020-06-12T02:08:35.000Z | qqtw/qqheaders7.2/QQPublicAccountFolderViewController.h | onezens/SmartQQ | 04b9efd1d93eba8ef8fec5cf9a20276637765777 | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "QQViewController.h"
#import "QQMoreOptionTableViewCellScrollStateDelegate.h"
#import "QQPubAccMessageFolderCellDelegate.h"
#import "UIGestureRecognizerDelegate.h"
#import ... | 42.877863 | 220 | 0.799181 |
0a2b9481660b531cc3a0f0171cb4c0b490817efb | 4,515 | c | C | test/udpsocket-01.c | SecureIndustries/medusa | 8cdf200d0fe492f3f912820b8b17218b4a35d8cd | [
"BSD-3-Clause"
] | 1 | 2019-07-12T01:54:54.000Z | 2019-07-12T01:54:54.000Z | test/udpsocket-01.c | SecureIndustries/medusa | 8cdf200d0fe492f3f912820b8b17218b4a35d8cd | [
"BSD-3-Clause"
] | null | null | null | test/udpsocket-01.c | SecureIndustries/medusa | 8cdf200d0fe492f3f912820b8b17218b4a35d8cd | [
"BSD-3-Clause"
] | 1 | 2019-06-24T11:03:29.000Z | 2019-06-24T11:03:29.000Z |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <time.h>
#include <signal.h>
#include <errno.h>
#include "medusa/error.h"
#include "medusa/udpsocket.h"
#include "medusa/monitor.h"
static const unsigned int g_polls[] = {
MEDUSA_MONITOR_POLL_DEFAULT,
#if defined(__LINUX_... | 31.573427 | 169 | 0.561683 |
f7565039202ff3dc92fbf144641c15f512eaeda9 | 1,906 | h | C | inc/ftsq/fast_queue.h | after5cst/fast-thread-safe-queue | 1abc40d620afe7b476803577b86a86d70f61bc32 | [
"MIT"
] | 1 | 2016-01-19T19:17:17.000Z | 2016-01-19T19:17:17.000Z | inc/ftsq/fast_queue.h | after5cst/fast-thread-safe-queue | 1abc40d620afe7b476803577b86a86d70f61bc32 | [
"MIT"
] | null | null | null | inc/ftsq/fast_queue.h | after5cst/fast-thread-safe-queue | 1abc40d620afe7b476803577b86a86d70f61bc32 | [
"MIT"
] | null | null | null | #ifndef FTSQ_MUTEX_H
#define FTSQ_MUTEX_H
#include "ftsq/mutex.h"
#include <vector>
#include <deque>
namespace ftsq
{
template <typename T, typename mutex_type=ftsq::mutex>
class queue_pop_one
{
public:
typedef std::deque<T> queue_type;
typedef typename queue_type::size_type size_type;... | 25.413333 | 58 | 0.573977 |
11d44316ee22a87903f0f90069aa4a8a162b7290 | 1,050 | rs | Rust | crates/ui/form/text_field.rs | OneToolsCollection/tangramdotdev-tangram | 666343a87b88a1c1b34a4be2298f6aa54f0fc2eb | [
"MIT"
] | 957 | 2021-07-26T17:13:54.000Z | 2022-03-30T21:38:05.000Z | crates/ui/form/text_field.rs | OneToolsCollection/tangramdotdev-tangram | 666343a87b88a1c1b34a4be2298f6aa54f0fc2eb | [
"MIT"
] | 83 | 2021-07-28T09:08:27.000Z | 2022-03-13T16:36:49.000Z | crates/ui/form/text_field.rs | OneToolsCollection/tangramdotdev-tangram | 666343a87b88a1c1b34a4be2298f6aa54f0fc2eb | [
"MIT"
] | 46 | 2021-07-29T14:46:10.000Z | 2022-03-31T08:43:20.000Z | use super::FieldLabel;
use pinwheel::prelude::*;
#[derive(builder, Default, new)]
#[new(default)]
pub struct TextField {
#[builder]
pub autocomplete: Option<String>,
#[builder]
pub id: Option<String>,
#[builder]
pub disabled: Option<bool>,
#[builder]
pub label: Option<String>,
#[builder]
pub name: Option<Str... | 22.340426 | 50 | 0.660952 |
71714c9553c7a67a2eb5ec44cd307b55cd721b5b | 127 | ts | TypeScript | packages/shared/src/index.ts | dora-projects/dora | bb419a83df4c0f0dad76b2def94934dc2375dfaa | [
"MIT"
] | 13 | 2021-12-06T01:59:30.000Z | 2022-03-22T10:33:48.000Z | packages/shared/src/index.ts | dora-projects/dora | bb419a83df4c0f0dad76b2def94934dc2375dfaa | [
"MIT"
] | null | null | null | packages/shared/src/index.ts | dora-projects/dora | bb419a83df4c0f0dad76b2def94934dc2375dfaa | [
"MIT"
] | 3 | 2021-10-09T09:58:46.000Z | 2021-12-13T10:56:55.000Z | export * from "./dom";
export * from "./utils";
export * from "./logger";
export * from "./tracekit";
export * from "./error";
| 21.166667 | 27 | 0.606299 |
2f1d9c4f3d0c5e91eb0047204389689381bfcbe3 | 4,317 | php | PHP | Features/bootstrap/SpomkyLabs/IpFilterBundle/Features/Context/RequestBuilder.php | Spomky-Labs/SpomkyIpFilterBundle | cb7fad239e1888c0d959cebdbaa15b13b56b7f61 | [
"MIT"
] | null | null | null | Features/bootstrap/SpomkyLabs/IpFilterBundle/Features/Context/RequestBuilder.php | Spomky-Labs/SpomkyIpFilterBundle | cb7fad239e1888c0d959cebdbaa15b13b56b7f61 | [
"MIT"
] | 2 | 2015-03-18T13:39:02.000Z | 2015-03-18T13:44:16.000Z | Features/bootstrap/SpomkyLabs/IpFilterBundle/Features/Context/RequestBuilder.php | Spomky-Labs/SpomkyIpFilterBundle | cb7fad239e1888c0d959cebdbaa15b13b56b7f61 | [
"MIT"
] | null | null | null | <?php
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2015 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
namespace SpomkyLabs\IpFilterBundle\Features\Context;
use Symfony\Component\HttpFoundation\Request;
class Requ... | 22.252577 | 132 | 0.524438 |
3f6238e86b0863465a6220c6a98c119e4b3ef3d0 | 4,218 | swift | Swift | Sources/Constraints/Standard/OptionalConstraint.swift | alexcristea/brick-validator | 9696dfe2d2095c8e4be80eafb582b54348dcb36e | [
"MIT"
] | 32 | 2017-02-26T19:09:43.000Z | 2020-12-07T11:05:53.000Z | Sources/Constraints/Standard/OptionalConstraint.swift | alexcristea/validation-kit | 9696dfe2d2095c8e4be80eafb582b54348dcb36e | [
"MIT"
] | 22 | 2017-02-26T23:22:29.000Z | 2021-03-06T13:12:08.000Z | Sources/Constraints/Standard/OptionalConstraint.swift | alexcristea/validation-kit | 9696dfe2d2095c8e4be80eafb582b54348dcb36e | [
"MIT"
] | 15 | 2017-02-26T19:09:44.000Z | 2021-02-10T08:37:00.000Z | import Foundation
/**
A `Constraint` that accepts an optional input and passes the unwrapped value to an underlying `Constraint`.
```swift
enum Failure: Error {
case required
case invalidEmail
}
```
```swift
let email: String? = "hello@nsagora.com"
let constraint = OptionalConstraint<String, Fail... | 32.697674 | 279 | 0.652916 |
c3381b455906d1a93be8337658e4afc83b2971ff | 2,379 | go | Go | parser/cypruspost_test.go | brunopita/pechkin | e22974c2943d5d9e8eb4b66f410304cba2cc5b40 | [
"MIT"
] | null | null | null | parser/cypruspost_test.go | brunopita/pechkin | e22974c2943d5d9e8eb4b66f410304cba2cc5b40 | [
"MIT"
] | null | null | null | parser/cypruspost_test.go | brunopita/pechkin | e22974c2943d5d9e8eb4b66f410304cba2cc5b40 | [
"MIT"
] | null | null | null | package parser
import (
"github.com/fr05t1k/pechkin/storage"
"net/http"
"net/http/httptest"
"reflect"
"testing"
"time"
)
func Test_cyprusPost_Parse(t *testing.T) {
tests := []struct {
name string
response string
track string
wantEvents []storage.Event
wantErr bool
}{
{
name: "si... | 27.988235 | 112 | 0.604456 |
0ef73038c93549f7ff0d0f3fe3552d7ccc0ec520 | 247 | ts | TypeScript | test/common/fixtures/fixture.app-provider.ts | 0xflotus/nestjsx | 34e363661a26d34ea6513981cfe15442cae4eb43 | [
"MIT"
] | 64 | 2018-10-19T06:40:23.000Z | 2022-03-01T15:15:56.000Z | test/common/fixtures/fixture.app-provider.ts | 0xflotus/nestjsx | 34e363661a26d34ea6513981cfe15442cae4eb43 | [
"MIT"
] | 19 | 2019-01-31T03:39:17.000Z | 2022-02-12T03:42:41.000Z | test/common/fixtures/fixture.app-provider.ts | 0xflotus/nestjsx | 34e363661a26d34ea6513981cfe15442cae4eb43 | [
"MIT"
] | 4 | 2019-07-26T14:03:24.000Z | 2020-06-27T19:58:16.000Z | import { NestjsxAppProvider } from '../../../packages/common/src/interfaces/nestjsx-app-provider.interface';
export const AppFixtureProvider = {
order: 0,
provider: {
provide: 'token',
useValue: 'value',
},
} as NestjsxAppProvider;
| 24.7 | 108 | 0.688259 |
9c1f517b1993ba48425bbe270dde998d118bbc45 | 282 | js | JavaScript | modifying/decorators.js | skylarkutils/skylark-utils-templating | 0ad633582ed23e1c19a12043c57ccaa1cc175dc0 | [
"MIT"
] | null | null | null | modifying/decorators.js | skylarkutils/skylark-utils-templating | 0ad633582ed23e1c19a12043c57ccaa1cc175dc0 | [
"MIT"
] | 1 | 2021-05-11T23:55:32.000Z | 2021-05-11T23:55:32.000Z | modifying/decorators.js | skylarkutils/skylark-utils-templating | 0ad633582ed23e1c19a12043c57ccaa1cc175dc0 | [
"MIT"
] | null | null | null | define([
"../templater",
'./decorators/inline'
], function (templater, _decoratorsInline) {
'use strict';
var decorators = templater.decorators;
decorators.registerDefaultDecorators = function (instance) {
_decoratorsInline(instance);
};
return decorators;
});
| 17.625 | 62 | 0.702128 |
f033bfe2f685281ab92d1e624830759c49f17b27 | 711 | js | JavaScript | plugins/slickdeals.js | Mattwmaster58/hoverzoom | 655e1063494215647015bac3312ab134491cf8b6 | [
"MIT"
] | 627 | 2015-01-14T23:10:26.000Z | 2022-03-29T20:20:48.000Z | plugins/slickdeals.js | Mattwmaster58/hoverzoom | 655e1063494215647015bac3312ab134491cf8b6 | [
"MIT"
] | 550 | 2015-01-22T18:44:37.000Z | 2022-03-30T14:37:08.000Z | plugins/slickdeals.js | Mattwmaster58/hoverzoom | 655e1063494215647015bac3312ab134491cf8b6 | [
"MIT"
] | 179 | 2015-01-12T01:05:53.000Z | 2022-03-20T08:39:24.000Z | var hoverZoomPlugins = hoverZoomPlugins || [];
hoverZoomPlugins.push({
name:'slickdeals',
version:'0.1',
prepareImgLinks:function (callback) {
var res = [];
hoverZoom.urlReplace(res,
'img[src$=".thumb"]',
[/\/\d+x\d+\//, '.thumb'],
['/', '.attach']
... | 28.44 | 95 | 0.479606 |
051cccca28d32b0216814e1200c6fac8226d615d | 1,822 | rb | Ruby | fluentd/vendored_gem_src/async-io/lib/async/io/unix_socket.rb | cahartma/logging-fluentd | a9c2606943f34902dff30601b2ac481a8600fea4 | [
"Apache-2.0"
] | 172 | 2017-05-26T01:45:37.000Z | 2022-03-28T14:01:48.000Z | fluentd/vendored_gem_src/async-io/lib/async/io/unix_socket.rb | cahartma/logging-fluentd | a9c2606943f34902dff30601b2ac481a8600fea4 | [
"Apache-2.0"
] | 51 | 2017-05-26T01:12:32.000Z | 2022-02-18T09:56:49.000Z | fluentd/vendored_gem_src/async-io/lib/async/io/unix_socket.rb | cahartma/logging-fluentd | a9c2606943f34902dff30601b2ac481a8600fea4 | [
"Apache-2.0"
] | 20 | 2017-06-19T16:54:55.000Z | 2021-12-08T01:21:29.000Z | # frozen_string_literal: true
# Copyright, 2017, by Samuel G. D. Williams. <http://www.codeotaku.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 withou... | 33.127273 | 96 | 0.742042 |
3b5ec8836380a1153ec3d120dc8e95e1a8cc0f5d | 1,126 | h | C | Bayes_Sto_IHT.h | LCWN-Lab/Parallel-Sparse-Recovery | b5dd6b98977bcb437164f1c0109bc892f1d7141d | [
"MIT"
] | null | null | null | Bayes_Sto_IHT.h | LCWN-Lab/Parallel-Sparse-Recovery | b5dd6b98977bcb437164f1c0109bc892f1d7141d | [
"MIT"
] | null | null | null | Bayes_Sto_IHT.h | LCWN-Lab/Parallel-Sparse-Recovery | b5dd6b98977bcb437164f1c0109bc892f1d7141d | [
"MIT"
] | 2 | 2017-12-24T04:15:16.000Z | 2022-01-05T17:25:19.000Z | #ifndef BAYES_STO_IHT_H
#define BAYES_STO_IHT_H
/* Description: Parallel Stochastic Iterative Hard Thresholding (StoIHT) algorithm
to approximate the vector x from measurements u = A*x.
A tally score is calculate to represent the probability of each coefficient
being in the support.
The tally score is calculated us... | 41.703704 | 88 | 0.806394 |
ed72c0e34aca8d83564af9687beb659f35f60576 | 521 | sql | SQL | usr/share/roundcube/SQL/mysql/2018021600.sql | jmkristian/mail-server-configuration | 29c9c978931d0f1ab856b830c020a177f346c3aa | [
"Apache-2.0"
] | 1 | 2021-12-30T12:01:33.000Z | 2021-12-30T12:01:33.000Z | usr/share/roundcube/SQL/mysql/2018021600.sql | jmkristian/mail-server-configuration | 29c9c978931d0f1ab856b830c020a177f346c3aa | [
"Apache-2.0"
] | null | null | null | usr/share/roundcube/SQL/mysql/2018021600.sql | jmkristian/mail-server-configuration | 29c9c978931d0f1ab856b830c020a177f346c3aa | [
"Apache-2.0"
] | 3 | 2021-08-24T18:43:11.000Z | 2022-01-03T07:44:01.000Z | CREATE TABLE `filestore` (
`file_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`user_id` int(10) UNSIGNED NOT NULL,
`filename` varchar(128) NOT NULL,
`mtime` int(10) NOT NULL,
`data` longtext NOT NULL,
PRIMARY KEY (`file_id`),
CONSTRAINT `user_id_fk_filestore` FOREIGN KEY (`user_id`)
... | 43.416667 | 83 | 0.683301 |
d003f4c7130ba38263222e6d11505065680073c4 | 961 | css | CSS | styles/pill.css | ameyam9/Medican | 77ff7a91850a611a0f56572062de841049d63fe5 | [
"MIT"
] | null | null | null | styles/pill.css | ameyam9/Medican | 77ff7a91850a611a0f56572062de841049d63fe5 | [
"MIT"
] | null | null | null | styles/pill.css | ameyam9/Medican | 77ff7a91850a611a0f56572062de841049d63fe5 | [
"MIT"
] | null | null | null | body {
text-align: center;
background-color: #123e5b;
font-family: 'Neucha', cursive;
}
img#wrapper {
position: relative;
margin-top: 3vh;
width: 400px;
padding: 0px;
}
p {
margin-block-end: 0;
margin-block-start: 0;
font-size: 40px;
color: #abcdcc;
padding: 0px;
}
.column {
margin-block-en... | 14.560606 | 35 | 0.619147 |
04077cfaea32a3c243873342c4d9ad010b188034 | 1,240 | js | JavaScript | js/api.js | SakuraEvilStore/BotFreeBitco | 7bf95a56d9e1c4630c77f425b9eb35c0b1f30629 | [
"Apache-2.0"
] | 1 | 2017-07-05T15:34:04.000Z | 2017-07-05T15:34:04.000Z | js/api.js | SakuraEvilStore/BotFreeBitco | 7bf95a56d9e1c4630c77f425b9eb35c0b1f30629 | [
"Apache-2.0"
] | null | null | null | js/api.js | SakuraEvilStore/BotFreeBitco | 7bf95a56d9e1c4630c77f425b9eb35c0b1f30629 | [
"Apache-2.0"
] | null | null | null | (function (chrome) {
chrome.extension.onRequest.addListener(function (request, sender, sendResponse) {
var website = location.protocol + '//' + location.host;
switch (request.method) {
case 'setData':
var syncdata = {};
syncdata[website] = request.customjs... | 35.428571 | 85 | 0.435484 |
5a51656f89a2ad7d0edf1573643150e47ab98e91 | 13,067 | rs | Rust | rosomaxa/src/example.rs | PeakBI/ds-reinterpretcat-vrp | 62428fdd5438812ddcf37583a14b9a26bdb43225 | [
"Apache-2.0"
] | null | null | null | rosomaxa/src/example.rs | PeakBI/ds-reinterpretcat-vrp | 62428fdd5438812ddcf37583a14b9a26bdb43225 | [
"Apache-2.0"
] | null | null | null | rosomaxa/src/example.rs | PeakBI/ds-reinterpretcat-vrp | 62428fdd5438812ddcf37583a14b9a26bdb43225 | [
"Apache-2.0"
] | null | null | null | //! This module contains example models and logic to demonstrate practical usage of rosomaxa crate.
#[cfg(test)]
#[path = "../tests/unit/example_test.rs"]
mod example_test;
use crate::evolution::*;
use crate::get_default_population;
use crate::hyper::*;
use crate::population::{DominanceOrder, DominanceOrdered, Rosoma... | 32.424318 | 119 | 0.614296 |
6533cb2d911f06e68a721247deb37def17dac93b | 5,448 | py | Python | kedro/extras/datasets/pandas/appendable_excel_dataset.py | hfwittmann/kedro | b0d4fcd8f19b49a7916d78fd09daeb6209a7b6c6 | [
"Apache-2.0"
] | 1 | 2021-11-25T12:33:13.000Z | 2021-11-25T12:33:13.000Z | kedro/extras/datasets/pandas/appendable_excel_dataset.py | MerelTheisenQB/kedro | 1eaa2e0fa5d80f96e18ea60b9f3d6e6efc161827 | [
"Apache-2.0"
] | null | null | null | kedro/extras/datasets/pandas/appendable_excel_dataset.py | MerelTheisenQB/kedro | 1eaa2e0fa5d80f96e18ea60b9f3d6e6efc161827 | [
"Apache-2.0"
] | null | null | null | """``AppendableExcelDataSet`` loads/saves data from/to a local Excel file opened in append mode.
It uses pandas to handle the Excel file.
"""
from copy import deepcopy
from pathlib import Path, PurePosixPath
from typing import Any, Dict
import pandas as pd
from kedro.io.core import AbstractDataSet, DataSetError
cla... | 39.766423 | 101 | 0.612518 |
544ceb2743dbbb4ce474f25f42d566e60e7e9573 | 3,812 | go | Go | Godeps/_workspace/src/github.com/ThomasRooney/gexpect/gexpect_test.go | maquanyi/rkt | d213d00ad591e9b2e1542c3b1615a79bab03633d | [
"Apache-2.0"
] | null | null | null | Godeps/_workspace/src/github.com/ThomasRooney/gexpect/gexpect_test.go | maquanyi/rkt | d213d00ad591e9b2e1542c3b1615a79bab03633d | [
"Apache-2.0"
] | null | null | null | Godeps/_workspace/src/github.com/ThomasRooney/gexpect/gexpect_test.go | maquanyi/rkt | d213d00ad591e9b2e1542c3b1615a79bab03633d | [
"Apache-2.0"
] | 1 | 2022-03-22T09:16:50.000Z | 2022-03-22T09:16:50.000Z | package gexpect
import (
"strings"
"testing"
)
func TestHelloWorld(t *testing.T) {
t.Logf("Testing Hello World... ")
child, err := Spawn("echo \"Hello World\"")
if err != nil {
t.Fatal(err)
}
err = child.Expect("Hello World")
if err != nil {
t.Fatal(err)
}
}
func TestDoubleHelloWorld(t *testing.T) {
t.... | 22.826347 | 111 | 0.595226 |
858f4fa8742738a7f15e7c3a06f3c8052384d1dd | 1,014 | js | JavaScript | src/index.js | lianwt115/react_s3 | bc571d77b9a44f38fcaf3a2182f583ec24b1cb56 | [
"MIT"
] | 1 | 2018-07-15T06:16:40.000Z | 2018-07-15T06:16:40.000Z | src/index.js | lianwt115/react_s3 | bc571d77b9a44f38fcaf3a2182f583ec24b1cb56 | [
"MIT"
] | null | null | null | src/index.js | lianwt115/react_s3 | bc571d77b9a44f38fcaf3a2182f583ec24b1cb56 | [
"MIT"
] | null | null | null | import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import { Provider } from 'react-redux';
import App from './App';
import store from './store';
import Login from './component/login/Login';
import registerServiceWorker from './registerServiceWorker';
import { Switch , BrowserRouter, Ro... | 30.727273 | 73 | 0.561144 |
a1b79090f803dc3fceff7199a7c24ab6d0e0950a | 3,669 | h | C | rts/game_MC/ai.h | jedirv/ELF-OSU | 98bb2a68bbab5b6ac8925222a82738809db41f7d | [
"BSD-3-Clause"
] | 2 | 2019-07-15T00:18:52.000Z | 2021-02-09T22:12:45.000Z | rts/game_MC/ai.h | GaoFangshu/ELF-example | 8fbe6f0633c13378003282352f23cd08ca7a50f1 | [
"BSD-3-Clause"
] | null | null | null | rts/game_MC/ai.h | GaoFangshu/ELF-example | 8fbe6f0633c13378003282352f23cd08ca7a50f1 | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#pragma once
#in... | 30.831933 | 108 | 0.674571 |
7828db01df90d87ce8957314f72541d2ebdb2520 | 1,260 | swift | Swift | Sources/SATSCore/Extensions/SwiftUI/ViewData/ActionSheetViewData.swift | healthfitnessnordic/SATSCore-iOS | 66ca055876bdc92c5df250d140e916d1575eab13 | [
"MIT"
] | 3 | 2021-05-18T07:31:59.000Z | 2022-03-20T10:07:32.000Z | Sources/SATSCore/Extensions/SwiftUI/ViewData/ActionSheetViewData.swift | healthfitnessnordic/SATSCore-iOS | 66ca055876bdc92c5df250d140e916d1575eab13 | [
"MIT"
] | 12 | 2021-08-02T08:53:22.000Z | 2022-03-23T10:44:28.000Z | Sources/SATSCore/Extensions/SwiftUI/ViewData/ActionSheetViewData.swift | healthfitnessnordic/SATSCore-iOS | 66ca055876bdc92c5df250d140e916d1575eab13 | [
"MIT"
] | null | null | null | import SwiftUI
public struct ActionSheetViewData: Identifiable, Equatable {
public let id: String
public let title: String
public let message: String?
public let actions: [ActionViewData]
public init(id: String? = nil, title: String, message: String?, actions: [ActionViewData]) {
self.id =... | 27.391304 | 96 | 0.577778 |
1f9a0e882c9bceb69a4bc24b717259aa996f2935 | 3,932 | html | HTML | app/templates/objects/course_contents.html | OpenJUB/jCourse | a2b953480b913c3d2cf9774afd5802b0c5364189 | [
"MIT"
] | null | null | null | app/templates/objects/course_contents.html | OpenJUB/jCourse | a2b953480b913c3d2cf9774afd5802b0c5364189 | [
"MIT"
] | null | null | null | app/templates/objects/course_contents.html | OpenJUB/jCourse | a2b953480b913c3d2cf9774afd5802b0c5364189 | [
"MIT"
] | null | null | null | <div class="panel-heading">
<!-- Course Name -->
<div class="course-name">
<a href="{% url 'course_page' course.slug %}">{{ course.name }}</a>
</div>
</div>
<div class="panel-body">
<div class="row">
<!-- Picture here -->
<div class="col-md-4">
<div class="course-ima... | 30.48062 | 136 | 0.431841 |
6b1a61258e7f56c3dd5ef4b5c31a0a46571b74ca | 209 | kt | Kotlin | extender-framework/src/main/kotlin/info/pzss/zomboid/extender/framework/config/ConfigSource.kt | pz-extender/extender | 87c6a98311b0f2198ed40229c0fc4f7817bb426d | [
"Apache-2.0",
"MIT"
] | null | null | null | extender-framework/src/main/kotlin/info/pzss/zomboid/extender/framework/config/ConfigSource.kt | pz-extender/extender | 87c6a98311b0f2198ed40229c0fc4f7817bb426d | [
"Apache-2.0",
"MIT"
] | 1 | 2022-01-08T23:04:24.000Z | 2022-01-08T23:04:24.000Z | extender-framework/src/main/kotlin/info/pzss/zomboid/extender/framework/config/ConfigSource.kt | pz-extender/extender | 87c6a98311b0f2198ed40229c0fc4f7817bb426d | [
"Apache-2.0",
"MIT"
] | null | null | null | package info.pzss.zomboid.extender.framework.config
interface ConfigSource {
fun getOptionValueAsString(name: String): String?
operator fun get(name: String): String? = getOptionValueAsString(name)
} | 29.857143 | 74 | 0.779904 |
2a61f3d84c0b9e4083a60904928201beb3b590f5 | 210 | kt | Kotlin | app/src/main/java/com/luisenricke/localwebpages/common/extension/ViewExt.kt | luisenricke/LocalWebPages | 1bdc0605a55fc3613b8403dd53aa61de59f782f0 | [
"MIT"
] | 3 | 2020-02-22T02:26:59.000Z | 2021-08-05T01:47:43.000Z | app/src/main/java/com/luisenricke/localwebpages/common/extension/ViewExt.kt | luisenricke/LocalWebPages | 1bdc0605a55fc3613b8403dd53aa61de59f782f0 | [
"MIT"
] | null | null | null | app/src/main/java/com/luisenricke/localwebpages/common/extension/ViewExt.kt | luisenricke/LocalWebPages | 1bdc0605a55fc3613b8403dd53aa61de59f782f0 | [
"MIT"
] | null | null | null | package com.luisenricke.localwebpages.common.extension
import android.view.View
import androidx.core.widget.NestedScrollView
@Suppress("unused")
fun NestedScrollView.moveTop() = this.fullScroll(View.FOCUS_UP) | 30 | 63 | 0.838095 |
5f2c23c6e87a17773f9decd12f1aea8a684a464b | 237 | ts | TypeScript | src/app/customDirectives/google-map.directive.spec.ts | gustavo-alarcon/aqpcab-off | eefd7d893cf6442ca6deb7bbf78a157b69e58677 | [
"Apache-2.0"
] | null | null | null | src/app/customDirectives/google-map.directive.spec.ts | gustavo-alarcon/aqpcab-off | eefd7d893cf6442ca6deb7bbf78a157b69e58677 | [
"Apache-2.0"
] | null | null | null | src/app/customDirectives/google-map.directive.spec.ts | gustavo-alarcon/aqpcab-off | eefd7d893cf6442ca6deb7bbf78a157b69e58677 | [
"Apache-2.0"
] | null | null | null | import { GoogleMapDirective } from './google-map.directive';
describe('GoogleMapDirective', () => {
it('should create an instance', () => {
const directive = new GoogleMapDirective();
expect(directive).toBeTruthy();
});
});
| 26.333333 | 60 | 0.658228 |
43cf8f2c4e94f2a6aef434b7756d20fd9ca402bd | 797 | go | Go | unixtime.go | fakeNetflix/indeedeng-repo-libtime | 2cfc5556e8d60b6672adbca5192f2e464be29db1 | [
"BSD-3-Clause"
] | 2 | 2019-07-01T20:41:22.000Z | 2019-12-05T20:21:06.000Z | unixtime.go | fakeNetflix/indeedeng-repo-libtime | 2cfc5556e8d60b6672adbca5192f2e464be29db1 | [
"BSD-3-Clause"
] | 5 | 2019-07-01T20:41:06.000Z | 2022-03-15T03:16:50.000Z | unixtime.go | fakeNetflix/indeedeng-repo-libtime | 2cfc5556e8d60b6672adbca5192f2e464be29db1 | [
"BSD-3-Clause"
] | 2 | 2021-04-01T11:46:18.000Z | 2022-03-13T14:35:12.000Z | package libtime
import (
"time"
)
const nanosToMillisDenominator = int64(time.Millisecond / time.Nanosecond)
const millisToSecsDenominator = int64(time.Second / time.Millisecond)
// ToMilliseconds returns time in milliseconds since epoch
func ToMilliseconds(t time.Time) int64 {
return t.UnixNano() / nanosToMillisD... | 27.482759 | 74 | 0.796738 |
ddf8b0952c4a3d9e8da47e45e9b0347857b18d6d | 639 | php | PHP | database/seeders/RolSeeder.php | Vk-Zea/Api-js | 9485b971545533a8a047822d370a0915bf82c9c8 | [
"MIT"
] | null | null | null | database/seeders/RolSeeder.php | Vk-Zea/Api-js | 9485b971545533a8a047822d370a0915bf82c9c8 | [
"MIT"
] | null | null | null | database/seeders/RolSeeder.php | Vk-Zea/Api-js | 9485b971545533a8a047822d370a0915bf82c9c8 | [
"MIT"
] | null | null | null | <?php
namespace Database\Seeders;
use App\Models\roles;
use Illuminate\Database\Seeder;
class RolSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$arrayData =
[
['name' => 'Administrador', 'status_id' => 1],... | 19.96875 | 58 | 0.467919 |
24aa5574b98df9355db06f65aa76fba2d55645b8 | 4,002 | asm | Assembly | bootdict/x86/rstack.asm | ikysil/ikforth | 165e049fc007003cd05f59332dc856d553d8aac8 | [
"Unlicense"
] | 8 | 2017-08-03T08:49:06.000Z | 2021-12-17T12:02:19.000Z | bootdict/x86/rstack.asm | clstrfsck/ikforth | 165e049fc007003cd05f59332dc856d553d8aac8 | [
"Unlicense"
] | 58 | 2016-04-21T20:03:54.000Z | 2022-01-16T00:40:50.000Z | bootdict/x86/rstack.asm | clstrfsck/ikforth | 165e049fc007003cd05f59332dc856d553d8aac8 | [
"Unlicense"
] | 1 | 2018-07-25T21:07:00.000Z | 2018-07-25T21:07:00.000Z | ;******************************************************************************
;
; rstack.asm
; IKForth
;
; Unlicense since 1999 by Illya Kysil
;
;******************************************************************************
; Return stack manipulation
;************************************************************... | 27.410959 | 79 | 0.348326 |
b19377c655f06bfb382a729bef86d6bd74e0a79f | 459 | h | C | src/html_constant.h | kamiltalipov/simple-http-server | b46876839d8df14bf7ce563b7c25f2d15cda6d63 | [
"MIT"
] | 1 | 2016-10-09T00:39:25.000Z | 2016-10-09T00:39:25.000Z | src/html_constant.h | kamiltalipov/simple-http-server | b46876839d8df14bf7ce563b7c25f2d15cda6d63 | [
"MIT"
] | null | null | null | src/html_constant.h | kamiltalipov/simple-http-server | b46876839d8df14bf7ce563b7c25f2d15cda6d63 | [
"MIT"
] | 2 | 2015-11-07T17:27:38.000Z | 2019-10-12T16:08:55.000Z | #ifndef __HTML_CONSTANT_H__
#define __HTML_CONSTANT_H__
const char* const HTML_BEGIN = "<html><body><h1>Simple http server</h1><table>";
const char* const HTML_END = "</table></body></html>\r\n";
const char* const HTML_TABLE_BEGIN = "<tr><td>";
const char* const HTML_TABLE_END = "</td></tr>";
const char* const HTML_LI... | 38.25 | 80 | 0.699346 |
e78b42e5205c1273e7de7e16157421bb115ce2af | 2,222 | js | JavaScript | files/pixastic/0.1.3/actions/blurfast.js | isaackwan/jsdelivr | 8fd58a1cad97aacc58f9723b81f06ff231ceed60 | [
"MIT"
] | 188 | 2015-01-03T23:49:36.000Z | 2021-06-18T09:16:24.000Z | view/js/pixtastic/actions/blurfast.js | fregaham/KiWi | 04952f928b2cc23555961dbc5988cfcd496f4854 | [
"BSD-3-Clause"
] | 2 | 2015-01-21T08:21:47.000Z | 2018-06-20T12:15:04.000Z | view/js/pixtastic/actions/blurfast.js | fregaham/KiWi | 04952f928b2cc23555961dbc5988cfcd496f4854 | [
"BSD-3-Clause"
] | 51 | 2015-01-07T14:15:25.000Z | 2021-08-06T03:00:59.000Z | /*
* Pixastic Lib - Blur Fast - v0.1.1
* Copyright (c) 2008 Jacob Seidelin, jseidelin@nihilogic.dk, http://blog.nihilogic.dk/
* License: [http://www.pixastic.com/lib/license.txt]
*/
Pixastic.Actions.blurfast = {
process : function(params) {
var amount = parseFloat(params.options.amount)||0;
var cle... | 28.487179 | 113 | 0.633663 |
85b6e55b5fab276805a57d0a72b6237bdc6f3eb6 | 420 | js | JavaScript | lib/selector.js | regularjs/regular-loader | 1e70e5266b1624ab4b3b326d0fec84d02b22bc39 | [
"MIT"
] | 11 | 2016-09-09T15:33:38.000Z | 2019-06-25T07:11:47.000Z | lib/selector.js | regularjs/regular-loader | 1e70e5266b1624ab4b3b326d0fec84d02b22bc39 | [
"MIT"
] | 10 | 2016-08-19T02:40:31.000Z | 2018-11-22T07:04:38.000Z | lib/selector.js | regularjs/regular-loader | 1e70e5266b1624ab4b3b326d0fec84d02b22bc39 | [
"MIT"
] | 8 | 2016-08-20T19:13:59.000Z | 2018-09-26T07:28:15.000Z | const parse = require( './parser' )
const loaderUtils = require( 'loader-utils' )
const path = require( 'path' )
module.exports = function ( content ) {
const options = loaderUtils.getOptions( this )
const filename = path.basename( this.resourcePath )
const parts = parse( content, filename, this.sourceMap )
co... | 35 | 58 | 0.707143 |
d1cbdaedd48c68aa87a65a0fb37e63d995114a4d | 208 | lua | Lua | dev/worldmods/mapserver_emerge/init.lua | PeterNerlich/mapserver | 847c0870260893dda8aab80a279db08e832f5758 | [
"MIT"
] | 56 | 2019-12-13T18:49:43.000Z | 2022-03-15T08:09:58.000Z | dev/worldmods/mapserver_emerge/init.lua | PeterNerlich/mapserver | 847c0870260893dda8aab80a279db08e832f5758 | [
"MIT"
] | 149 | 2019-11-27T05:43:28.000Z | 2022-03-23T07:43:45.000Z | dev/worldmods/mapserver_emerge/init.lua | PeterNerlich/mapserver | 847c0870260893dda8aab80a279db08e832f5758 | [
"MIT"
] | 16 | 2019-12-03T16:42:16.000Z | 2022-02-10T04:05:47.000Z |
minetest.after(5, function()
minetest.log("action", "[mapserver_emerge] emerging area")
local pos1 = { x=0, y=-50, z=0 }
local pos2 = { x=50, y=50, z=0 }
minetest.emerge_area(pos1, pos2)
end) | 29.714286 | 62 | 0.625 |
410aa5cee9cac9a50c2dba28317823f60b93253f | 794 | c | C | LeetCode/0064_minimum-path-sum/0064_minimum-path-sum.c | kenjin/DSAlgo | f4f58d57eebc5d7d1ce78f842e08cec360f403a4 | [
"MIT"
] | 13 | 2020-08-10T08:25:07.000Z | 2022-03-22T07:47:46.000Z | LeetCode/0064_minimum-path-sum/0064_minimum-path-sum.c | kenjin/DSAlgo | f4f58d57eebc5d7d1ce78f842e08cec360f403a4 | [
"MIT"
] | null | null | null | LeetCode/0064_minimum-path-sum/0064_minimum-path-sum.c | kenjin/DSAlgo | f4f58d57eebc5d7d1ce78f842e08cec360f403a4 | [
"MIT"
] | 5 | 2021-01-05T01:58:04.000Z | 2022-03-22T07:47:49.000Z |
#define MIN(a, b) (a < b ? a : b)
int minPathSum(int **grid, int grid_sz, int *grid_col_sz)
{
/* sanity check */
if (grid_sz == 0)
return 0;
int **dp = malloc(sizeof(int *) * grid_sz);
int col_sz = grid_col_sz[0], sum = 0;
for (int i = 0; i < grid_sz; i++) {
dp[i] = malloc(sizeof(... | 23.352941 | 68 | 0.440806 |
a156f27492607c20ef308914ae7fabc19f9facb1 | 91 | go | Go | pingfederate/pingfederateSDK.go | joatmon/pingfederate-sdk-go | 79a26f9b5923c904a99625a82ce58aa8345a10cf | [
"MIT"
] | 4 | 2020-11-06T16:02:55.000Z | 2021-12-14T23:15:02.000Z | pingfederate/pingfederateSDK.go | joatmon/pingfederate-sdk-go | 79a26f9b5923c904a99625a82ce58aa8345a10cf | [
"MIT"
] | 4 | 2021-02-09T01:34:39.000Z | 2021-07-13T21:05:42.000Z | pingfederate/pingfederateSDK.go | joatmon/pingfederate-sdk-go | 79a26f9b5923c904a99625a82ce58aa8345a10cf | [
"MIT"
] | 2 | 2021-02-19T01:51:03.000Z | 2021-04-27T10:46:16.000Z | package pingfederate
const SDKName = "pingfederate-sdk-go"
const SDKVersion = "10.0.2.2"
| 15.166667 | 37 | 0.747253 |
f0fe4b376ffda71de4954690385227f11581a7a1 | 493 | kt | Kotlin | app/src/main/java/io/github/lee0701/lboard/dictionary/Dictionary.kt | Lee0701/LBoard | 2befd2f2b1941dd6e02336a468e4f824c6617974 | [
"Apache-2.0"
] | 6 | 2017-08-11T12:54:58.000Z | 2019-08-30T08:30:34.000Z | app/src/main/java/io/github/lee0701/lboard/dictionary/Dictionary.kt | Lee0701/LBoard | 2befd2f2b1941dd6e02336a468e4f824c6617974 | [
"Apache-2.0"
] | 7 | 2019-06-12T16:40:08.000Z | 2019-09-01T07:10:30.000Z | app/src/main/java/io/github/lee0701/lboard/dictionary/Dictionary.kt | Lee0701/LBoard | 2befd2f2b1941dd6e02336a468e4f824c6617974 | [
"Apache-2.0"
] | null | null | null | package io.github.lee0701.lboard.dictionary
interface Dictionary {
fun search(text: String): Iterable<Word>
fun searchPrefix(prefix: String, length: Int): Iterable<Word>
fun searchSequence(seq: List<Int>, layout: Map<Int, List<Int>>): Iterable<Word>
fun searchSequencePrefix(seqPrefix: List<Int>, layou... | 29 | 108 | 0.659229 |
f78771b68415c006c4f1bd8b9a246bca12e8aeab | 112 | c | C | new/libr/bin/p/bin_dbginfo_elf64.c | benbenwt/lisa_docker | 0b851223dbaecef9b27c418eae05890fea752d49 | [
"Apache-2.0"
] | null | null | null | new/libr/bin/p/bin_dbginfo_elf64.c | benbenwt/lisa_docker | 0b851223dbaecef9b27c418eae05890fea752d49 | [
"Apache-2.0"
] | 1 | 2021-12-17T00:14:27.000Z | 2021-12-17T00:14:27.000Z | new/libr/bin/p/bin_dbginfo_elf64.c | benbenwt/lisa_docker | 0b851223dbaecef9b27c418eae05890fea752d49 | [
"Apache-2.0"
] | null | null | null | /* radare - LGPL - Copyright 2009-2020 - nibble, pancake */
#define R_BIN_ELF64 1
#include "bin_dbginfo_elf.c"
| 22.4 | 59 | 0.723214 |
67e3666a6fe3ebdf137b410e71f6590b330e786f | 233,519 | sql | SQL | data/PlatformLogVirus.sql | escray/SecurityChart | b409a776ddf2ad7c8d1a38311775d76b2bb2de96 | [
"MIT"
] | null | null | null | data/PlatformLogVirus.sql | escray/SecurityChart | b409a776ddf2ad7c8d1a38311775d76b2bb2de96 | [
"MIT"
] | null | null | null | data/PlatformLogVirus.sql | escray/SecurityChart | b409a776ddf2ad7c8d1a38311775d76b2bb2de96 | [
"MIT"
] | null | null | null | INSERT INTO `PlatformLogVirus`(`dwNo`,`guidComputer`,`guidCenter`,`dwIP`,`strProcessName`,`strProcessCreater`,`nUnknownFlag`,`nKnowVirusType`,`strVirusName`,`nUnknowVirusType`,`dwVirusCode`,`nDetector`,`nDiskType`,`nDealResult`,`twFindTime`,`twAddTime`) VALUES (21837,'43303030-3932-3137-4532-463200000000','上海','2.36.36... | 467.038 | 467 | 0.721654 |
64291da675d3060302b39dce0e8095043a52bfe3 | 160 | sql | SQL | L2J_DataPack/sql/updates/20100528update.sql | Vladislav-Zolotaryov/L2J_Levelless_Custom | fb9fd3d22209679258cddc60cec104d740f13b8c | [
"MIT"
] | null | null | null | L2J_DataPack/sql/updates/20100528update.sql | Vladislav-Zolotaryov/L2J_Levelless_Custom | fb9fd3d22209679258cddc60cec104d740f13b8c | [
"MIT"
] | null | null | null | L2J_DataPack/sql/updates/20100528update.sql | Vladislav-Zolotaryov/L2J_Levelless_Custom | fb9fd3d22209679258cddc60cec104d740f13b8c | [
"MIT"
] | null | null | null | ALTER TABLE `custom_teleport` ADD `itemId` decimal(11,0) NOT NULL default '57' AFTER `fornoble`;
UPDATE `custom_teleport` SET itemId = 13722 WHERE fornoble = 1; | 80 | 96 | 0.7625 |
75e239ab28e34de86dd36e8c1b34209e8c662564 | 1,492 | php | PHP | src/Tracing/TracingServiceProvider.php | webard/lighthouse | 27e4e3698af2698dd0574435190d2165fc39bbdf | [
"MIT"
] | 2,893 | 2016-08-19T20:53:01.000Z | 2022-03-30T21:47:56.000Z | src/Tracing/TracingServiceProvider.php | webard/lighthouse | 27e4e3698af2698dd0574435190d2165fc39bbdf | [
"MIT"
] | 1,513 | 2016-08-29T23:59:06.000Z | 2022-03-28T10:39:16.000Z | src/Tracing/TracingServiceProvider.php | webard/lighthouse | 27e4e3698af2698dd0574435190d2165fc39bbdf | [
"MIT"
] | 541 | 2016-08-29T23:47:59.000Z | 2022-03-31T02:17:26.000Z | <?php
namespace Nuwave\Lighthouse\Tracing;
use GraphQL\Language\Parser;
use Illuminate\Contracts\Events\Dispatcher as EventsDispatcher;
use Illuminate\Support\ServiceProvider;
use Nuwave\Lighthouse\Events\BuildExtensionsResponse;
use Nuwave\Lighthouse\Events\ManipulateAST;
use Nuwave\Lighthouse\Events\RegisterDirecti... | 30.44898 | 109 | 0.674263 |
d2a3bee06ed1b91d9f61e87caad9ea1fc367a3ce | 1,865 | php | PHP | app/Http/Controllers/EstadoCuentaReporteController.php | jfrancito/web | 5587dcb9cd29d869c9fc08396f14757551ec81ee | [
"MIT"
] | null | null | null | app/Http/Controllers/EstadoCuentaReporteController.php | jfrancito/web | 5587dcb9cd29d869c9fc08396f14757551ec81ee | [
"MIT"
] | 1 | 2021-01-06T00:54:00.000Z | 2021-01-06T00:54:00.000Z | app/Http/Controllers/EstadoCuentaReporteController.php | jfrancito/web | 5587dcb9cd29d869c9fc08396f14757551ec81ee | [
"MIT"
] | 1 | 2020-03-25T14:08:34.000Z | 2020-03-25T14:08:34.000Z | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Validation\Rule;
use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\Crypt;
use App\WEBListaCliente,App\STDEmpresa;
use View;
use Session;
use PDF;
use Maatwebsite\Excel\Facades\Exc... | 31.083333 | 112 | 0.598928 |
2a7a8c3931217da3411be4229bab2122e91d56b8 | 171 | java | Java | test/resources/csse2002/submission/src/tms/sensors/SpeedCamera.java | UQTools/chalkbox | 20883292ebfbf5c184d0f789afceec666129c352 | [
"MIT"
] | 1 | 2020-09-02T23:16:09.000Z | 2020-09-02T23:16:09.000Z | test/resources/csse2002/submission/src/tms/sensors/SpeedCamera.java | UQTools/chalkbox | 20883292ebfbf5c184d0f789afceec666129c352 | [
"MIT"
] | 2 | 2021-03-29T23:40:31.000Z | 2021-04-04T08:21:05.000Z | test/resources/csse2002/submission/src/tms/sensors/SpeedCamera.java | UQTools/chalkbox | 20883292ebfbf5c184d0f789afceec666129c352 | [
"MIT"
] | null | null | null | package tms.sensors;
public interface SpeedCamera extends Sensor{
int averageSpeed(); // Returns the observed average speed of vehicles travelling past this sensor
}
| 28.5 | 101 | 0.789474 |
3ce2becf1f32314524e24bf314d8c9206b194655 | 11,946 | lua | Lua | resources/[race]/race_random/random_c.lua | AfuSensi/MTA-Resources | e4a0f3981ddc92c8f15c3d93140196c6a8589fa8 | [
"MIT",
"0BSD"
] | null | null | null | resources/[race]/race_random/random_c.lua | AfuSensi/MTA-Resources | e4a0f3981ddc92c8f15c3d93140196c6a8589fa8 | [
"MIT",
"0BSD"
] | null | null | null | resources/[race]/race_random/random_c.lua | AfuSensi/MTA-Resources | e4a0f3981ddc92c8f15c3d93140196c6a8589fa8 | [
"MIT",
"0BSD"
] | null | null | null | --Sweeper
local function playRunSound()
local sound = playSound("files/run.wma")
end
addEvent("playRunSound", true)
addEventHandler("playRunSound", root, playRunSound)
--Launch in air/Send to Heaven
local function playHallelujahSound()
local sound = playSound("files/hallelujah.wma")
end
addEvent("playHallelujahSou... | 31.028571 | 133 | 0.738825 |
3e37e05bb5eca6c42d3e0e26c2b0d3376a645a91 | 272 | c | C | Commons/src/test/resources/test/C/C-1/memoryLimit.c | haribo0915/Judge-Girl | 4e989f7ddb4d7b1072482ed0af93757607e4449b | [
"Apache-2.0"
] | 32 | 2020-12-07T13:39:51.000Z | 2022-02-24T12:06:56.000Z | Commons/src/test/resources/test/C/C-1/memoryLimit.c | minghsu0107/Judge-Girl | cb26fb5441b196089df53b712cccc66b5ee1f377 | [
"Apache-2.0"
] | 216 | 2020-11-20T07:52:17.000Z | 2022-02-07T15:27:14.000Z | Commons/src/test/resources/test/C/C-1/memoryLimit.c | minghsu0107/Judge-Girl | cb26fb5441b196089df53b712cccc66b5ee1f377 | [
"Apache-2.0"
] | 6 | 2021-01-24T07:42:14.000Z | 2021-11-25T16:01:30.000Z | #define CL_USE_DEPRECATED_OPENCL_2_0_APIS
#include <stdio.h>
#include <assert.h>
#include <CL/cl.h>
#define MAXGPU 10
#define MAXK 1024
#define N (1024 * 1024)
int f() {
return f();
}
/* main */
int main(int argc, char *argv[])
{
f();
return 0;
}
/* end */
| 13.6 | 41 | 0.621324 |
18bf297bbf3811b35d80f9a7311224312531d74b | 363 | rb | Ruby | app/controllers/authenticated.rb | mtodd/ramble | ba79dd7ad4d2760a1a6c537b6093f80da66dcba3 | [
"MIT"
] | 1 | 2016-05-08T08:47:18.000Z | 2016-05-08T08:47:18.000Z | app/controllers/authenticated.rb | mtodd/ramble | ba79dd7ad4d2760a1a6c537b6093f80da66dcba3 | [
"MIT"
] | null | null | null | app/controllers/authenticated.rb | mtodd/ramble | ba79dd7ad4d2760a1a6c537b6093f80da66dcba3 | [
"MIT"
] | null | null | null | # = Authenticated Controllers
#
# Helper methods for securing website actions with authentication.
#
class Authenticated < Application
def current_user
@current_user ||= User[session[:authenticated_user_id]] if session[:authenticated_user_id]
end
def authenticated?
if current_user.nil?
redir... | 20.166667 | 94 | 0.730028 |
d9d3b6e02e99f4537b873b5c933ffc23770db56f | 1,808 | kt | Kotlin | src/main/kotlin/com/autonomousapps/model/ProjectVariant.kt | SubhrajyotiSen/dependency-analysis-android-gradle-plugin | dd809d426ae6ac09660ed391ee99f941df313d38 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/autonomousapps/model/ProjectVariant.kt | SubhrajyotiSen/dependency-analysis-android-gradle-plugin | dd809d426ae6ac09660ed391ee99f941df313d38 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/autonomousapps/model/ProjectVariant.kt | SubhrajyotiSen/dependency-analysis-android-gradle-plugin | dd809d426ae6ac09660ed391ee99f941df313d38 | [
"Apache-2.0"
] | null | null | null | package com.autonomousapps.model
import com.autonomousapps.internal.unsafeLazy
import com.autonomousapps.internal.utils.flatMapToOrderedSet
import com.autonomousapps.internal.utils.flatMapToSet
import com.autonomousapps.model.CodeSource.Kind
import com.autonomousapps.model.intermediates.Variant
/**
* Represents a va... | 24.767123 | 68 | 0.727323 |
98b6e0aad467e8cec2b14ba8117b1b56d914eee4 | 557 | html | HTML | webfonts/javascript.html | ConenCompany/Blogger.io | 548466ea155ff0244df6ef88226758e792919f76 | [
"MIT"
] | 1 | 2020-12-12T00:01:19.000Z | 2020-12-12T00:01:19.000Z | webfonts/javascript.html | ConenCompany/Blogger.io | 548466ea155ff0244df6ef88226758e792919f76 | [
"MIT"
] | null | null | null | webfonts/javascript.html | ConenCompany/Blogger.io | 548466ea155ff0244df6ef88226758e792919f76 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Javascript</title>
</head>
<body>
<h2 id="text">Guten Morgen</h2>
<button onclick="alert('welcome Back')">Click Me</button>
<script type="text/javascript... | 27.85 | 98 | 0.671454 |
58101fc461ed79c1abc8ca4635da7ba9b7eda273 | 316 | h | C | docOPD/Drawer/Source/Helper Classes/About/MyApplication.h | mauryabip/DocOPD | 4b8068f1fd73773ef958d77abc4ba266c683be07 | [
"MIT"
] | null | null | null | docOPD/Drawer/Source/Helper Classes/About/MyApplication.h | mauryabip/DocOPD | 4b8068f1fd73773ef958d77abc4ba266c683be07 | [
"MIT"
] | null | null | null | docOPD/Drawer/Source/Helper Classes/About/MyApplication.h | mauryabip/DocOPD | 4b8068f1fd73773ef958d77abc4ba266c683be07 | [
"MIT"
] | null | null | null | //
// MyApplication.h
// Test
//
// Created by Ashu on 24/04/16.
// Copyright © 2016 Apple. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
@interface MyApplication : UIApplication
-(BOOL)openURL:(NSURL *)url;
-(BOOL)openURL:(NSURL *)url forceOpenInSafari:(BOOL)forceOpenInSafari;
@end
| 19.75 | 70 | 0.705696 |
2470627e591a67143338432eda3a0fca6954ad5c | 194 | kt | Kotlin | app/src/main/java/com/vladislawfox/scout/data/network/request/SessionRequest.kt | vladislawfox/Scout | 71357bb78e34164eca518230457a77c64a38b9c3 | [
"MIT"
] | null | null | null | app/src/main/java/com/vladislawfox/scout/data/network/request/SessionRequest.kt | vladislawfox/Scout | 71357bb78e34164eca518230457a77c64a38b9c3 | [
"MIT"
] | null | null | null | app/src/main/java/com/vladislawfox/scout/data/network/request/SessionRequest.kt | vladislawfox/Scout | 71357bb78e34164eca518230457a77c64a38b9c3 | [
"MIT"
] | null | null | null | package com.vladislawfox.scout.data.network.request
import com.google.gson.annotations.SerializedName
data class SessionRequest(
@SerializedName("request_token") val requestToken: String
) | 27.714286 | 61 | 0.824742 |
d75359a4d0c3adea83af74e821f655bb4d5ed827 | 419 | kt | Kotlin | loginmanager/src/main/java/com/base/library/login/common/constants/LoginConstants.kt | wkxjc/LoginManager | 6c5c7e35c28544752beebbf1d7a26c8c75b663f5 | [
"DOC",
"Apache-2.0"
] | 11 | 2019-03-09T00:55:56.000Z | 2022-02-17T02:37:54.000Z | loginmanager/src/main/java/com/base/library/login/common/constants/LoginConstants.kt | wkxjc/LoginManager | 6c5c7e35c28544752beebbf1d7a26c8c75b663f5 | [
"DOC",
"Apache-2.0"
] | 1 | 2019-07-30T01:58:17.000Z | 2021-01-05T09:58:13.000Z | loginmanager/src/main/java/com/base/library/login/common/constants/LoginConstants.kt | wkxjc/LoginManager | 6c5c7e35c28544752beebbf1d7a26c8c75b663f5 | [
"DOC",
"Apache-2.0"
] | 3 | 2019-07-18T10:47:40.000Z | 2020-05-26T13:22:46.000Z | package com.base.library.login.common.constants
/**
* Description:
* 登录常量类
*
* @author Alpinist Wang
* Date: 2018/11/26
*/
object LoginConstants {
/**Google登录RequestCode*/
const val REQUEST_CODE_GOOGLE_SIGN_IN = 9001
const val GOOGLE_CLIENT_ID = "google_web_client_id"
const val TWITTER_CONSUM... | 26.1875 | 65 | 0.742243 |
b063af9621c085fe9d87be3e0f9946a5380e6991 | 1,489 | rs | Rust | src/identity/bin/password_authenticator/src/keys.rs | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 2 | 2022-02-24T16:24:29.000Z | 2022-02-25T22:33:10.000Z | src/identity/bin/password_authenticator/src/keys.rs | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 1 | 2022-03-01T01:12:04.000Z | 2022-03-01T01:17:26.000Z | src/identity/bin/password_authenticator/src/keys.rs | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
use {async_trait::async_trait, fidl_fuchsia_identity_account as faccount, thiserror::Error};
#[derive(Debug, Error)]
pub enum KeyError {
// TODO(zarvo... | 36.317073 | 96 | 0.706514 |
85fc016bb90b75195aa78fa36b37f64a706b3905 | 205 | h | C | protocols/HFCharacteristicValueReader.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 36 | 2016-04-20T04:19:04.000Z | 2018-10-08T04:12:25.000Z | protocols/HFCharacteristicValueReader.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | null | null | null | protocols/HFCharacteristicValueReader.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 10 | 2016-06-16T02:40:44.000Z | 2019-01-15T03:31:45.000Z | /* Generated by RuntimeBrowser.
*/
@protocol HFCharacteristicValueReader <NSObject>
@required
- (HMHome *)hf_home;
- (void)performBatchCharacteristicRequest:(HMCharacteristicBatchRequest *)arg1;
@end
| 17.083333 | 79 | 0.785366 |
f5a4ba587074f47ce4242f73f3a5a070a2be44df | 152 | rs | Rust | src/service/mod.rs | longkai/shadowsocks-rust | 3438a473766bfad133f5b5ad0577f4e88670c75c | [
"MIT"
] | 3,979 | 2017-07-25T00:43:01.000Z | 2022-03-31T23:09:20.000Z | src/service/mod.rs | longkai/shadowsocks-rust | 3438a473766bfad133f5b5ad0577f4e88670c75c | [
"MIT"
] | 539 | 2017-07-24T14:04:17.000Z | 2022-03-31T13:30:30.000Z | src/service/mod.rs | longkai/shadowsocks-rust | 3438a473766bfad133f5b5ad0577f4e88670c75c | [
"MIT"
] | 820 | 2017-07-24T14:11:44.000Z | 2022-03-30T09:59:21.000Z | //! Service launchers
#[cfg(feature = "local")]
pub mod local;
#[cfg(feature = "manager")]
pub mod manager;
#[cfg(feature = "server")]
pub mod server;
| 16.888889 | 27 | 0.657895 |
0ba3c4d7d4d48cd32673696a0d4ce0dedcefcaca | 21,354 | py | Python | pootlestuff/watchables.py | pootle/pootles_utils | bb47103e71ccc4fa01269259b73ca1932184af84 | [
"UPL-1.0"
] | null | null | null | pootlestuff/watchables.py | pootle/pootles_utils | bb47103e71ccc4fa01269259b73ca1932184af84 | [
"UPL-1.0"
] | null | null | null | pootlestuff/watchables.py | pootle/pootles_utils | bb47103e71ccc4fa01269259b73ca1932184af84 | [
"UPL-1.0"
] | null | null | null | """
This module provides classes that support observers, smart value handling and debug functions
All changes to values nominate an agent, and observers nominate the agent making changes they
are interested in.
It supercedes the pvars module
"""
import logging, sys, threading, pathlib, math, json
from enum import Enu... | 38.475676 | 177 | 0.594924 |
7b680ca3195040a91f82a2a86a9a2e9b897c63de | 2,198 | css | CSS | static/my/css/login.css | Stylllzy/Blog-1.0 | 0faee8206ae680793cd0741577efe00058212387 | [
"MIT"
] | 2 | 2022-02-16T15:28:22.000Z | 2022-02-16T15:28:26.000Z | static/my/css/login.css | Stylllzy/blog-1.0 | 0faee8206ae680793cd0741577efe00058212387 | [
"MIT"
] | null | null | null | static/my/css/login.css | Stylllzy/blog-1.0 | 0faee8206ae680793cd0741577efe00058212387 | [
"MIT"
] | null | null | null | body {
width: 100%;
height: 100vh;
}
body #app {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
main {
width: 600px;
min-height: 600px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
position: relative;
border-radius: 5px;
display... | 17.584 | 43 | 0.651956 |
2a7760af27cf4754bfb4e87e975041de3906fc51 | 1,241 | java | Java | entry/src/main/java/com/example/jms/entry/controller/ArticleController.java | qanwi1970/jms | d772e6bcd1973d16610a3bd3106bce6ce922098c | [
"MIT"
] | null | null | null | entry/src/main/java/com/example/jms/entry/controller/ArticleController.java | qanwi1970/jms | d772e6bcd1973d16610a3bd3106bce6ce922098c | [
"MIT"
] | null | null | null | entry/src/main/java/com/example/jms/entry/controller/ArticleController.java | qanwi1970/jms | d772e6bcd1973d16610a3bd3106bce6ce922098c | [
"MIT"
] | null | null | null | package com.example.jms.entry.controller;
import com.example.jms.entry.model.Article;
import com.example.jms.entry.service.ArticleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@Slf4j
@RestController
@Req... | 29.547619 | 115 | 0.714746 |
2671d580716162b4588d4e7ac1647a856f60caf2 | 6,307 | java | Java | snomed/com.b2international.snowowl.snomed.core.rest/src/com/b2international/snowowl/snomed/core/rest/services/SnomedRf2ImportService.java | eranhash/snow-owl | bee466023647e4512e96269f0a380fa1ff3a785a | [
"Apache-2.0"
] | 2 | 2020-02-13T15:51:26.000Z | 2021-09-14T00:44:27.000Z | snomed/com.b2international.snowowl.snomed.core.rest/src/com/b2international/snowowl/snomed/core/rest/services/SnomedRf2ImportService.java | eranhash/snow-owl | bee466023647e4512e96269f0a380fa1ff3a785a | [
"Apache-2.0"
] | 1 | 2020-07-27T14:41:03.000Z | 2020-07-27T14:41:03.000Z | snomed/com.b2international.snowowl.snomed.core.rest/src/com/b2international/snowowl/snomed/core/rest/services/SnomedRf2ImportService.java | eranhash/snow-owl | bee466023647e4512e96269f0a380fa1ff3a785a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2011-2020 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 require... | 40.171975 | 147 | 0.787221 |
16b557a1a541f84d1a3882e9a10cb8376758013b | 1,785 | ts | TypeScript | src/record/record.controller.ts | Jrosado16/ewallet-nestjs | 7b5796ae3122b726c703daf572a0833b108ae456 | [
"MIT"
] | null | null | null | src/record/record.controller.ts | Jrosado16/ewallet-nestjs | 7b5796ae3122b726c703daf572a0833b108ae456 | [
"MIT"
] | null | null | null | src/record/record.controller.ts | Jrosado16/ewallet-nestjs | 7b5796ae3122b726c703daf572a0833b108ae456 | [
"MIT"
] | null | null | null | import { Controller, Post, UseGuards, Request, Get, Body, Response, HttpStatus } from '@nestjs/common';
import { JwtAuthGuard } from 'src/auth/jwt-auth.guard';
import { RecordDTO } from './dto/record.dto';
import { RecordService } from './record.service';
@Controller('record')
export class RecordController {
const... | 28.790323 | 103 | 0.610644 |
0ed1be02ae62c0c32bb3c552adb79ef6fd7667e8 | 1,651 | h | C | Specs/Runner/OCHamcrestIOS.framework/Versions/A/Headers/HCIsDictionaryContainingEntries.h | SinnerSchraderMobileMirrors/RestKit | 076382103698254dab7db832f350a21d3301e45c | [
"Apache-2.0"
] | 2 | 2015-04-18T09:10:49.000Z | 2016-05-30T08:08:14.000Z | iOS App Unit Tests/Frameworks/OCHamcrestIOS.framework/headers/HCIsDictionaryContainingEntries.h | mutualmobile/MagicalRecord | 585eccc0078531a774bbeb28e915889cea9259e3 | [
"MIT"
] | null | null | null | iOS App Unit Tests/Frameworks/OCHamcrestIOS.framework/headers/HCIsDictionaryContainingEntries.h | mutualmobile/MagicalRecord | 585eccc0078531a774bbeb28e915889cea9259e3 | [
"MIT"
] | 2 | 2017-09-06T18:02:48.000Z | 2021-02-20T10:21:23.000Z | //
// OCHamcrest - HCIsDictionaryContainingEntries.h
// Copyright 2011 hamcrest.org. See LICENSE.txt
//
// Created by: Jon Reid
//
#import <OCHamcrestIOS/HCBaseMatcher.h>
/**
Matches dictionaries containing key-value pairs satisfying given lists of keys and value
matchers.
@b Factory: @ref hasEntrie... | 27.983051 | 125 | 0.74682 |
4a67ee91447ce787f0f3b06732979750489cf134 | 826 | js | JavaScript | client/src/js/render/clock.js | yg-0103/pomodoro-clone | 1ce5a0edf42927afea2fa41a9b89cca7b0f88d28 | [
"MIT"
] | 1 | 2021-01-15T08:52:00.000Z | 2021-01-15T08:52:00.000Z | client/src/js/render/clock.js | yg-0103/pomodoro-clone | 1ce5a0edf42927afea2fa41a9b89cca7b0f88d28 | [
"MIT"
] | 58 | 2021-01-18T01:23:33.000Z | 2021-01-26T08:39:34.000Z | client/src/js/render/clock.js | yg-0103/pomodoro-clone | 1ce5a0edf42927afea2fa41a9b89cca7b0f88d28 | [
"MIT"
] | 4 | 2021-01-16T03:03:54.000Z | 2021-01-18T17:28:28.000Z | import Pomodoro from '../time';
import fetch from '../axios/fetch';
export default async function () {
// 서버에서 설정된 시간들을 가져온다.
try {
const { long_interval, auto_start } = await fetch.settings();
// 상태에 따라 어떤시간을 렌더링할지 정한다.
// 설정된 시간이 0분이면 1분을 넣어준다.
const curTime = (await fetch.curClockTime()) || 1;
... | 28.482759 | 70 | 0.631961 |
5f2a82f2ff40b71c5e64a87166d0e96c6521e579 | 931 | tsx | TypeScript | part1/ch05/xnote/tsx/note.tsx | aegomez/react-examples | b209b1df5385e2bda8f89b958fa3507d395aeabc | [
"MIT"
] | null | null | null | part1/ch05/xnote/tsx/note.tsx | aegomez/react-examples | b209b1df5385e2bda8f89b958fa3507d395aeabc | [
"MIT"
] | 2 | 2020-07-20T18:03:41.000Z | 2020-07-20T18:03:41.000Z | part1/ch05/xnote/tsx/note.tsx | aegomez/react-examples | b209b1df5385e2bda8f89b958fa3507d395aeabc | [
"MIT"
] | null | null | null | type NoteProps = {
secondsLeft: number
}
class Note extends React.Component<NoteProps> {
confirmLeave(ev: BeforeUnloadEvent) {
// Cancel the event as stated by the standard
ev.preventDefault();
let confirmationMessage = 'Do you really want to close?';
// Gecko, Trident, Chrome 34+
ev.returnValu... | 29.09375 | 101 | 0.706767 |
1d95a435050cf90a899cf2edaed2d105bc1c0d28 | 8,404 | swift | Swift | MobPushDemoSwift/UI/PushDetailViewController.swift | MobClub/MobPush-For-Swift | 28d12a95d4b058d2f6fca5317cc03ba9e4a9f20d | [
"MIT"
] | 1 | 2020-06-17T19:00:41.000Z | 2020-06-17T19:00:41.000Z | MobPushDemoSwift/UI/PushDetailViewController.swift | MobClub/MobPush-For-Swift | 28d12a95d4b058d2f6fca5317cc03ba9e4a9f20d | [
"MIT"
] | null | null | null | MobPushDemoSwift/UI/PushDetailViewController.swift | MobClub/MobPush-For-Swift | 28d12a95d4b058d2f6fca5317cc03ba9e4a9f20d | [
"MIT"
] | null | null | null | //
// PushDetailViewController.swift
// MobPushDemoSwift
//
// Created by LeeJay on 2019/1/22.
// Copyright © 2019 YouZu. All rights reserved.
//
import UIKit
import MBProgressHUD
enum DetailType: Int {
case inApp = 0, remoteNoti, scheduleNoti, localNoti, urlPage, anyPage
}
class PushDetailViewController: UI... | 33.616 | 173 | 0.511185 |
f01e8e597dc20bba7caf3b9b0fddc57695c216de | 5,316 | py | Python | train.py | ThiruRJST/Deformed-Yolo | c9eb4e8c090dff0e9fc4f8652897ff2c59dce889 | [
"MIT"
] | 1 | 2021-09-10T17:20:09.000Z | 2021-09-10T17:20:09.000Z | train.py | ThiruRJST/Deformed-Yolo | c9eb4e8c090dff0e9fc4f8652897ff2c59dce889 | [
"MIT"
] | 1 | 2021-09-10T17:19:54.000Z | 2021-09-11T08:17:14.000Z | wandb/run-20210904_163431-3lkn6hoe/files/code/train.py | ThiruRJST/Deformed-Yolo | c9eb4e8c090dff0e9fc4f8652897ff2c59dce889 | [
"MIT"
] | null | null | null | from pandas.core.algorithms import mode
import torch
import torch.nn as nn
from albumentations import Compose,Resize,Normalize
from albumentations.pytorch import ToTensorV2
import wandb
import time
import torchvision
import torch.nn.functional as F
import torch.optim as optim
from torch.cuda.amp import autocast,GradSc... | 29.04918 | 133 | 0.659518 |
ddeb8c20773f924e3812ae484df823b3889e845f | 1,311 | php | PHP | app/Http/Resources/BeaconResource.php | nosuchagency/beacon-bacon-api | c56a638217074df7fe7af4b9d35f58b2a475f679 | [
"MIT"
] | null | null | null | app/Http/Resources/BeaconResource.php | nosuchagency/beacon-bacon-api | c56a638217074df7fe7af4b9d35f58b2a475f679 | [
"MIT"
] | null | null | null | app/Http/Resources/BeaconResource.php | nosuchagency/beacon-bacon-api | c56a638217074df7fe7af4b9d35f58b2a475f679 | [
"MIT"
] | 1 | 2020-02-03T23:11:41.000Z | 2020-02-03T23:11:41.000Z | <?php
namespace App\Http\Resources;
use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\JsonResource;
class BeaconResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param Request $request
*
* @return array
*/
public function toArray($req... | 32.775 | 96 | 0.562166 |
0ce58d7de1508c5e2496368e37a432c416830c42 | 2,183 | py | Python | lib_dsp/iir/iir/design/iir.py | PyGears/lib-dsp | a4c80882f5188799233dc9108f91faa4bab0ac57 | [
"MIT"
] | 3 | 2019-08-26T17:32:33.000Z | 2022-03-19T02:05:02.000Z | pygears_dsp/lib/iir.py | bogdanvuk/pygears-dsp | ca107d3f9e8d02023e9ccd27f7bc95f10b5aa995 | [
"MIT"
] | null | null | null | pygears_dsp/lib/iir.py | bogdanvuk/pygears-dsp | ca107d3f9e8d02023e9ccd27f7bc95f10b5aa995 | [
"MIT"
] | 5 | 2019-09-18T18:00:13.000Z | 2022-03-28T11:07:26.000Z | from pygears import gear, Intf
from pygears.lib import dreg, decouple, saturate, qround
@gear
def iir_1dsos(din, *, a, b, gain):
# add input gain and init delayed inputs
zu0 = din * gain
zu1 = zu0 | dreg(init=0)
zu2 = zu1 | dreg(init=0)
# perform b coefficient sum
a1 = (zu1 * b[1]) + (zu2 * ... | 24.255556 | 117 | 0.601466 |
c3850b0d67b8c2d3ad99883e99ff6d7379459326 | 42,135 | rs | Rust | vendor/im-rc/src/nodes/btree.rs | raspbian-packages/cargo | 3b1b88e08c83b03469c9a98c3237317c7eb5c330 | [
"Apache-2.0",
"OpenSSL",
"MIT"
] | null | null | null | vendor/im-rc/src/nodes/btree.rs | raspbian-packages/cargo | 3b1b88e08c83b03469c9a98c3237317c7eb5c330 | [
"Apache-2.0",
"OpenSSL",
"MIT"
] | null | null | null | vendor/im-rc/src/nodes/btree.rs | raspbian-packages/cargo | 3b1b88e08c83b03469c9a98c3237317c7eb5c330 | [
"Apache-2.0",
"OpenSSL",
"MIT"
] | null | null | null | // This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
use std::borrow::Borrow;
use std::cmp::Ordering;
use std::mem;
use std::ops::{Bound, RangeBounds};
use typenum::{Add... | 35.407563 | 106 | 0.431304 |
dd7904937d71f83e59cb809c16b432d3b25db1ed | 6,532 | php | PHP | application/views/paginas/v_inicio.php | bryane117/ZombiWiFi | 534b6d4156295c47872fdd68305986cb91d5b7b8 | [
"MIT"
] | null | null | null | application/views/paginas/v_inicio.php | bryane117/ZombiWiFi | 534b6d4156295c47872fdd68305986cb91d5b7b8 | [
"MIT"
] | null | null | null | application/views/paginas/v_inicio.php | bryane117/ZombiWiFi | 534b6d4156295c47872fdd68305986cb91d5b7b8 | [
"MIT"
] | null | null | null | <?php
include 'application/views/masterpage/v_navbar.php';
include 'application/views/masterpage/v_aside.php'
?>
<div class="page-wrapper">
<!-- ============================================================== -->
<!-- Bread crumb and right sidebar toggle -->
<!-- =====================================================... | 24.836502 | 79 | 0.370943 |
0e75cb992c2d968a07c817cb9541765af3fa5cad | 293 | html | HTML | media_tree/templates/admin/media_tree/filenode/includes/widget_preview.html | samluescher/django-media-tree | 5d027b1388189dcd407d017d823cdc5c67191dbc | [
"BSD-3-Clause"
] | 29 | 2015-02-25T03:42:34.000Z | 2021-04-11T11:18:12.000Z | media_tree/templates/admin/media_tree/filenode/includes/widget_preview.html | samluescher/django-media-tree | 5d027b1388189dcd407d017d823cdc5c67191dbc | [
"BSD-3-Clause"
] | 24 | 2015-01-01T17:41:47.000Z | 2022-03-11T23:12:15.000Z | media_tree/templates/admin/media_tree/filenode/includes/widget_preview.html | samluescher/django-media-tree | 5d027b1388189dcd407d017d823cdc5c67191dbc | [
"BSD-3-Clause"
] | 13 | 2015-01-13T06:44:00.000Z | 2018-11-29T16:31:02.000Z | {% spaceless %}{% load i18n %}
<span class="widget-preview">
{% if node %}{% include "admin/media_tree/filenode/includes/preview.html" %}{% else %}<span class="preview"></span>{% endif %}
<strong><span class="name">{% if node %}{{ node }}{% endif %}</span></strong>
</span>
{% endspaceless %}
| 41.857143 | 126 | 0.624573 |
f741681de60a5ad8e3b84765a5cfabafd5d8dec1 | 1,361 | h | C | molequeue/transport/connectionlistenerfactory.h | cjh1/molequeue | 37dffbfe9cdbd2d18fd2c2c9eab6690006f18074 | [
"BSD-3-Clause"
] | null | null | null | molequeue/transport/connectionlistenerfactory.h | cjh1/molequeue | 37dffbfe9cdbd2d18fd2c2c9eab6690006f18074 | [
"BSD-3-Clause"
] | null | null | null | molequeue/transport/connectionlistenerfactory.h | cjh1/molequeue | 37dffbfe9cdbd2d18fd2c2c9eab6690006f18074 | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
This source file is part of the MoleQueue project.
Copyright 2012 Kitware, Inc.
This source code is released under the New BSD License, (the "License").
Unless required by applicable law or agreed to in writing, software
distribute... | 30.244444 | 85 | 0.663483 |
c3a03ec052b629dc1168b32aa810e9118907172f | 583 | go | Go | internal/services/discover.go | annymsMthd/kafmesh | 67884d2837c649f28669b4f90b902a872b6ddc1d | [
"MIT"
] | 5 | 2020-05-09T04:07:08.000Z | 2022-01-22T22:28:39.000Z | internal/services/discover.go | annymsMthd/kafmesh | 67884d2837c649f28669b4f90b902a872b6ddc1d | [
"MIT"
] | 36 | 2019-12-08T02:15:07.000Z | 2022-01-26T17:28:14.000Z | internal/services/discover.go | annymsMthd/kafmesh | 67884d2837c649f28669b4f90b902a872b6ddc1d | [
"MIT"
] | 1 | 2021-04-30T19:08:32.000Z | 2021-04-30T19:08:32.000Z | package services
import (
"context"
discoveryv1 "github.com/syncromatics/kafmesh/internal/protos/kafmesh/discovery/v1"
)
// DiscoverAPI provides methods for discovering and reporting kafmesh enabled pod info
type DiscoverAPI struct {
DiscoverInfo *discoveryv1.Service
}
// GetServiceInfo is a RPC method that retu... | 27.761905 | 148 | 0.80446 |
cb2b03db75391398c6e6a59a394358511aa6b999 | 95 | go | Go | GetProgrammingWithGo/lesson27/fn.go | YanhaoXu/golang-learning | dca032c560022f92e968f525a9dae9e815b9e1c2 | [
"MIT"
] | 1 | 2021-12-06T15:17:29.000Z | 2021-12-06T15:17:29.000Z | GetProgrammingWithGo/lesson27/fn.go | YanhaoXu/golang-learning | dca032c560022f92e968f525a9dae9e815b9e1c2 | [
"MIT"
] | null | null | null | GetProgrammingWithGo/lesson27/fn.go | YanhaoXu/golang-learning | dca032c560022f92e968f525a9dae9e815b9e1c2 | [
"MIT"
] | null | null | null | package main
import "fmt"
func main() {
var fn func(a, b int) int
fmt.Println(fn == nil)
}
| 10.555556 | 26 | 0.631579 |
72352eac308cfa7475d88b80208a2f269df1b337 | 4,711 | lua | Lua | Light Sword.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 70 | 2021-02-09T17:21:32.000Z | 2022-03-28T12:41:42.000Z | Light Sword.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 4 | 2021-08-19T22:05:58.000Z | 2022-03-19T18:58:01.000Z | Light Sword.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 325 | 2021-02-26T22:23:41.000Z | 2022-03-31T19:36:12.000Z | Player = game:GetService("Players").LocalPlayer
Cha = Player.Character
RShoulder = Cha.Torso['Right Shoulder']
Tool = Instance.new("HopperBin",Player.Backpack)
Tool.Name = "ice sword"
function onKeyDown(key)
key = key:lower()
if key == "e" then
wal = not wal
if wal == true then
wl=Instance.new("Part",worksp... | 15.445902 | 112 | 0.714286 |
e6e78a1c20ab15191ca653a6bf0e408cf0dd3af7 | 1,158 | swift | Swift | TwitterMock/Common/Extensions/String+Util.swift | dabaicaifen/MockTwitter | e1d7b1cee453f262ed6d6bc4bee4613785733a0a | [
"MIT"
] | 1 | 2019-06-09T06:53:38.000Z | 2019-06-09T06:53:38.000Z | TwitterMock/Common/Extensions/String+Util.swift | dabaicaifen/MockTwitter | e1d7b1cee453f262ed6d6bc4bee4613785733a0a | [
"MIT"
] | null | null | null | TwitterMock/Common/Extensions/String+Util.swift | dabaicaifen/MockTwitter | e1d7b1cee453f262ed6d6bc4bee4613785733a0a | [
"MIT"
] | null | null | null | //
// String+Util.swift
// TwitterMock
//
// Created by Tracy Wu on 2019-04-04.
// Copyright © 2019 TW. All rights reserved.
//
import UIKit
extension String {
subscript (bounds: CountableClosedRange<Int>) -> String {
let start = index(startIndex, offsetBy: bounds.lowerBound)
let end = in... | 33.085714 | 97 | 0.594991 |
2a625ee5fe375631e5c88c0086d23220621f35c1 | 1,770 | java | Java | blocks/svg/src/org/kabeja/svg/generators/SVGToleranceGenerator.java | andriybohdan/kabeja-0.4 | 585e3daba931a3eb21cbe2f0083a43d178abe665 | [
"Apache-2.0"
] | 9 | 2016-10-13T20:05:58.000Z | 2020-04-09T16:18:19.000Z | src/main/java/org/kabeja/svg/generators/SVGToleranceGenerator.java | antea/kabeja | 680da7a025b6ed176f598cd4ceb808570ba07364 | [
"Apache-1.1"
] | 3 | 2017-01-07T11:32:25.000Z | 2019-03-29T18:34:01.000Z | src/main/java/org/kabeja/svg/generators/SVGToleranceGenerator.java | antea/kabeja | 680da7a025b6ed176f598cd4ceb808570ba07364 | [
"Apache-1.1"
] | 12 | 2016-05-17T08:36:27.000Z | 2020-06-23T03:11:18.000Z | /*
Copyright 2008 Simon Mieth
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... | 38.478261 | 89 | 0.736158 |
2a563c060ab4fe518af698955bbcf55e00e6d2f5 | 96 | java | Java | src/main/java/br/com/delogic/csa/repository/jpa/JpaSqlCommand.java | celiosilva/csa | a475910ba03d45e755eb376eb4f1bc758f24eb1f | [
"Apache-2.0"
] | null | null | null | src/main/java/br/com/delogic/csa/repository/jpa/JpaSqlCommand.java | celiosilva/csa | a475910ba03d45e755eb376eb4f1bc758f24eb1f | [
"Apache-2.0"
] | null | null | null | src/main/java/br/com/delogic/csa/repository/jpa/JpaSqlCommand.java | celiosilva/csa | a475910ba03d45e755eb376eb4f1bc758f24eb1f | [
"Apache-2.0"
] | null | null | null | package br.com.delogic.csa.repository.jpa;
public enum JpaSqlCommand {
SELECT, DELETE;
}
| 12 | 42 | 0.729167 |
fd98b33c9270d8fae85b12cd7d864f54462ef1e0 | 310 | asm | Assembly | programs/oeis/021/A021562.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/021/A021562.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/021/A021562.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A021562: Decimal expansion of 1/558.
; 0,0,1,7,9,2,1,1,4,6,9,5,3,4,0,5,0,1,7,9,2,1,1,4,6,9,5,3,4,0,5,0,1,7,9,2,1,1,4,6,9,5,3,4,0,5,0,1,7,9,2,1,1,4,6,9,5,3,4,0,5,0,1,7,9,2,1,1,4,6,9,5,3,4,0,5,0,1,7,9,2,1,1,4,6,9,5,3,4,0,5,0,1,7,9,2,1,1,4
add $0,1
mov $1,10
pow $1,$0
mul $1,5
div $1,2790
mod $1,10
mov $0,$1
| 28.181818 | 199 | 0.541935 |
bb0fcb48537b709c2893e5f61563bab144438922 | 1,042 | rb | Ruby | test/command_processor_test.rb | jakewilkins/lottery | 216c56783e418bee08d69fe736397c921a360aff | [
"MIT"
] | null | null | null | test/command_processor_test.rb | jakewilkins/lottery | 216c56783e418bee08d69fe736397c921a360aff | [
"MIT"
] | 1 | 2022-03-31T00:58:27.000Z | 2022-03-31T00:58:27.000Z | test/command_processor_test.rb | jakewilkins/lottery | 216c56783e418bee08d69fe736397c921a360aff | [
"MIT"
] | null | null | null | # frozen_string_literal: true
require_relative "test_helper"
class CommandProcessorTest < Minitest::Test
def setup
@meeting = Meeting.new(id: :test, account: :account)
@meeting.cleanup
@person = Person.new(id: "foo", name: "bar")
@redis = DB.pool.checkout
@subject = CommandProcessor
end
d... | 25.414634 | 60 | 0.697697 |
e73476d9926b5ae3b15b017e0ef8755e89054820 | 378 | js | JavaScript | src/context.js | foraproject/isotropy-koa-in-browser | 94cd8dd07871e378a6c1eb089d66df124d192e47 | [
"MIT"
] | null | null | null | src/context.js | foraproject/isotropy-koa-in-browser | 94cd8dd07871e378a6c1eb089d66df124d192e47 | [
"MIT"
] | null | null | null | src/context.js | foraproject/isotropy-koa-in-browser | 94cd8dd07871e378a6c1eb089d66df124d192e47 | [
"MIT"
] | null | null | null | /* @flow */
/**
* Module dependencies.
*/
import createError from 'http-errors';
import delegate from 'delegates';
import statuses from 'statuses';
import Request from "./request";
import Response from "./response";
class Context {
constructor(request: Request, response: Response) {
this.request = request;
... | 18 | 53 | 0.706349 |
ef824d0a227a9476c25175868010e4065086e9c8 | 495 | swift | Swift | Flavory/Entities/Step+CoreDataProperties.swift | romegab/Flavory-iOS | add258cfb7c1d8b0d9b1f2d25c77c20ee5b464e8 | [
"MIT"
] | null | null | null | Flavory/Entities/Step+CoreDataProperties.swift | romegab/Flavory-iOS | add258cfb7c1d8b0d9b1f2d25c77c20ee5b464e8 | [
"MIT"
] | null | null | null | Flavory/Entities/Step+CoreDataProperties.swift | romegab/Flavory-iOS | add258cfb7c1d8b0d9b1f2d25c77c20ee5b464e8 | [
"MIT"
] | 1 | 2021-10-04T11:46:31.000Z | 2021-10-04T11:46:31.000Z | //
// Step+CoreDataProperties.swift
// Flavory
//
// Created by Ivan Stoilov on 25.10.21.
//
//
import Foundation
import CoreData
extension Step {
@nonobjc public class func fetchRequest() -> NSFetchRequest<Step> {
return NSFetchRequest<Step>(entityName: "Step")
}
@NSManaged public var isChe... | 17.068966 | 71 | 0.688889 |
e7743a77d4b3206b342d3c5f450bd6c0d3218c6d | 1,151 | js | JavaScript | node_modules/@styled-icons/fa-solid/Memory/Memory.esm.js | pome223/pome223.github.io | 1b17fbc68314631808edad773a232be1ed9781ac | [
"MIT"
] | 2 | 2021-10-17T02:32:38.000Z | 2022-01-20T20:04:16.000Z | node_modules/@styled-icons/fa-solid/Memory/Memory.esm.js | pome223/pome223.github.io | 1b17fbc68314631808edad773a232be1ed9781ac | [
"MIT"
] | 1 | 2022-02-15T03:11:23.000Z | 2022-02-15T03:11:23.000Z | node_modules/@styled-icons/fa-solid/Memory/Memory.esm.js | pome223/pome223.github.io | 1b17fbc68314631808edad773a232be1ed9781ac | [
"MIT"
] | 3 | 2021-10-06T13:00:51.000Z | 2021-10-17T06:38:40.000Z | import _extends from "@babel/runtime/helpers/extends";
import * as React from 'react';
import { StyledIconBase } from '@styled-icons/styled-icon';
export var Memory = /*#__PURE__*/React.forwardRef(function (props, ref) {
var attrs = {
"fill": "currentColor",
"xmlns": "http://www.w3.org/2000/svg"
};
return... | 47.958333 | 477 | 0.697654 |
2a898e9ca996780380ac7e002b690ae74c005d3f | 1,462 | java | Java | chapter_007/src/main/java/ru/job4j/nonblockingcache/NonBlockingCache.java | danailKondov/dkondov | 14b3d2940638b2f69072dbdc0a9d7f8ba1b3748b | [
"Apache-2.0"
] | 1 | 2018-05-24T06:36:30.000Z | 2018-05-24T06:36:30.000Z | chapter_007/src/main/java/ru/job4j/nonblockingcache/NonBlockingCache.java | danailKondov/dkondov | 14b3d2940638b2f69072dbdc0a9d7f8ba1b3748b | [
"Apache-2.0"
] | null | null | null | chapter_007/src/main/java/ru/job4j/nonblockingcache/NonBlockingCache.java | danailKondov/dkondov | 14b3d2940638b2f69072dbdc0a9d7f8ba1b3748b | [
"Apache-2.0"
] | 1 | 2018-11-08T23:33:17.000Z | 2018-11-08T23:33:17.000Z | package ru.job4j.nonblockingcache;
import java.util.concurrent.ConcurrentHashMap;
import java.util.function.BiFunction;
/**
* Class for simple DIY non-blocking cache.
*
* @since 11/10/2017
* @version 1
*/
public class NonBlockingCache {
/**
* Task storage.
*/
private ConcurrentHashMap<Integer,... | 25.206897 | 100 | 0.570451 |
5b6627bf71fb740a8a76b1113668ad331918795d | 922 | asm | Assembly | libsrc/_DEVELOPMENT/l/sccz80/crt0_long/l_long_case.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/l/sccz80/crt0_long/l_long_case.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/l/sccz80/crt0_long/l_long_case.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; Small C+ Z80 Run time library
; 13/10/98 The new case statement..maybe things will work now!
; 11/2014 Removed use of ix
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_long_case
l_long_case:
; Case statement for longs
; Enter with dehl = number to check against..
ld c,l
ld b,h
... | 11.382716 | 68 | 0.510846 |
71a0e28f13af39e6c2986de26230d53f69601f31 | 2,442 | ts | TypeScript | src/knockout/koquestionbase.ts | techbuzzz/surveyjs | 5a6870393929cd1d360c83dae4c24b5bc3af719a | [
"MIT"
] | null | null | null | src/knockout/koquestionbase.ts | techbuzzz/surveyjs | 5a6870393929cd1d360c83dae4c24b5bc3af719a | [
"MIT"
] | null | null | null | src/knockout/koquestionbase.ts | techbuzzz/surveyjs | 5a6870393929cd1d360c83dae4c24b5bc3af719a | [
"MIT"
] | 1 | 2020-01-22T12:55:32.000Z | 2020-01-22T12:55:32.000Z | import * as ko from "knockout";
import {QuestionBase} from "../questionbase";
export class QuestionImplementorBase {
koVisible: any; koErrors: any; koPaddingLeft: any; koPaddingRight: any; koRenderWidth: any;
koTemplateName: any; koElementType: any;
constructor(public question: QuestionBase) {
va... | 51.957447 | 97 | 0.691237 |
74cc9381a11b987d7c4dc503b2a4bcef8b009713 | 540 | js | JavaScript | src/RandomWalkDistribution.js | FlySkyPie/time-travel-caused-by-finger-guessing-experiment | e8662e02a6707ea4c6d3d500592070971ee5e1cf | [
"MIT"
] | null | null | null | src/RandomWalkDistribution.js | FlySkyPie/time-travel-caused-by-finger-guessing-experiment | e8662e02a6707ea4c6d3d500592070971ee5e1cf | [
"MIT"
] | null | null | null | src/RandomWalkDistribution.js | FlySkyPie/time-travel-caused-by-finger-guessing-experiment | e8662e02a6707ea4c6d3d500592070971ee5e1cf | [
"MIT"
] | null | null | null | import NormalDistribution from 'normal-distribution';
export class RandomWalkDistribution {
constructor(trialsNumber) {
this.times = trialsNumber;
this.terms = 7;
}
getPDF(x) {
let value = 0;
for (let i = 0; i < this.terms; i++) {
let standardDeviation = Math.sq... | 30 | 82 | 0.594444 |
c3c80a79b861ce9007f26e8463ab326a5ddb90fc | 1,945 | go | Go | portxo/keygen.go | tnakagawa/lit | 57c63ed5cc9584bff083047c8fc0b5be1c4fde2f | [
"MIT"
] | 560 | 2016-11-16T02:10:02.000Z | 2022-03-26T16:28:58.000Z | portxo/keygen.go | tnakagawa/lit | 57c63ed5cc9584bff083047c8fc0b5be1c4fde2f | [
"MIT"
] | 374 | 2016-11-29T21:42:49.000Z | 2021-02-16T13:30:44.000Z | portxo/keygen.go | tnakagawa/lit | 57c63ed5cc9584bff083047c8fc0b5be1c4fde2f | [
"MIT"
] | 126 | 2016-12-15T21:26:19.000Z | 2022-02-22T21:23:03.000Z | package portxo
import (
"bytes"
"encoding/binary"
"fmt"
)
// KeyGen describes how to get to the key from the master / seed.
// it can be used with bip44 or other custom schemes (up to 5 levels deep)
// Depth must be 0 to 5 inclusive. Child indexes of 0 are OK, so we can't just
// terminate at the first 0.
type Ke... | 32.416667 | 96 | 0.677635 |
11d3114207fefd61128b919496aa9b92967a65c9 | 282 | html | HTML | obj/templates/directives/datetime.html | mathCodingClub/mcc-php-backend | 28428eddc0a64ebf6deb333d3896e7393f28c349 | [
"MIT"
] | null | null | null | obj/templates/directives/datetime.html | mathCodingClub/mcc-php-backend | 28428eddc0a64ebf6deb333d3896e7393f28c349 | [
"MIT"
] | null | null | null | obj/templates/directives/datetime.html | mathCodingClub/mcc-php-backend | 28428eddc0a64ebf6deb333d3896e7393f28c349 | [
"MIT"
] | null | null | null | <!-- source: https://github.com/zhaber/angular-js-bootstrap-datetimepicker -->
<datetimepicker
ng-model="timeObject"
starting-day="1"
show-weeks="true"
hour-step="1"
minute-step="10"
show-meridian="false"
date-format="dd.MM.yyyy"
></datetimepicker> | 25.636364 | 78 | 0.652482 |
2ccfab1e77714861637af0f9909c1b0b0c96ed0f | 3,180 | kt | Kotlin | CoughExtractor/app/src/main/java/com/coughextractor/device/CoughDevice.kt | VSU-CS-MCS/CoughRecognition | 5e9236613826cb7bf417704ed238729a9ef0d270 | [
"MIT"
] | 1 | 2020-05-16T08:44:23.000Z | 2020-05-16T08:44:23.000Z | CoughExtractor/app/src/main/java/com/coughextractor/device/CoughDevice.kt | VSU-CS-MCS/CoughRecognition | 5e9236613826cb7bf417704ed238729a9ef0d270 | [
"MIT"
] | null | null | null | CoughExtractor/app/src/main/java/com/coughextractor/device/CoughDevice.kt | VSU-CS-MCS/CoughRecognition | 5e9236613826cb7bf417704ed238729a9ef0d270 | [
"MIT"
] | null | null | null | package com.coughextractor.device
import android.bluetooth.BluetoothAdapter
import android.bluetooth.BluetoothDevice
import android.bluetooth.BluetoothSocket
import android.util.Log
import java.io.IOException
import java.util.*
import javax.inject.Inject
enum class CoughDeviceError {
BluetoothDisabled,
Blueto... | 28.392857 | 90 | 0.569497 |
15f5540da198b543137a52f3a7db35252bb43d49 | 2,638 | swift | Swift | Instagram/Controllers/HomeViewController.swift | Kristine92/Instagram | 99a95d8a767271028fbf963053899cba3b74db27 | [
"Apache-2.0"
] | null | null | null | Instagram/Controllers/HomeViewController.swift | Kristine92/Instagram | 99a95d8a767271028fbf963053899cba3b74db27 | [
"Apache-2.0"
] | 1 | 2018-02-28T12:53:50.000Z | 2018-02-28T12:53:50.000Z | Instagram/Controllers/HomeViewController.swift | Kristine92/Instagram | 99a95d8a767271028fbf963053899cba3b74db27 | [
"Apache-2.0"
] | null | null | null | //
// HomeViewController.swift
// Instagram
//
// Created by Kristine Laranjo on 2/25/18.
// Copyright © 2018 Kristine Laranjo. All rights reserved.
//
import UIKit
import Parse
class HomeViewController: UIViewController, UITableViewDataSource, UITableViewDelegate {
@IBOutlet weak var tableView: UITableV... | 32.975 | 123 | 0.639121 |
85bdbc597d8ba42af73b254481cdc2da2315503d | 1,949 | h | C | source/Fenghui_Zhang_Core/inc/renderable_object.h | 9prady9/duotone | 53d5d8daa9a90ca7ca39698766c267d5b03849cb | [
"BSD-3-Clause"
] | null | null | null | source/Fenghui_Zhang_Core/inc/renderable_object.h | 9prady9/duotone | 53d5d8daa9a90ca7ca39698766c267d5b03849cb | [
"BSD-3-Clause"
] | null | null | null | source/Fenghui_Zhang_Core/inc/renderable_object.h | 9prady9/duotone | 53d5d8daa9a90ca7ca39698766c267d5b03849cb | [
"BSD-3-Clause"
] | null | null | null | #ifndef GEOMETRY_RENDERABLE_OBJECT__
#define GEOMETRY_RENDERABLE_OBJECT__
#include "topology_object.h"
#include <map>
#include <vector>
class Face;
class Vertex;
/**
* For regular rendering, we need
* (1) coordinates of each vertex
* (2) list of faces, each of them has a list of vertices (corners)
* (3) the n... | 29.530303 | 79 | 0.694202 |
bcfd4b5338e2eda6675c2cef42cecf509597940b | 1,649 | kt | Kotlin | src/main/kotlin/io/igx/iot/model/SensorData.kt | viniciusccarvalho/kotlin-ecobee-parser | bc7232f5eaa6c200acb70d4a1e0cebe6faeebe81 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/io/igx/iot/model/SensorData.kt | viniciusccarvalho/kotlin-ecobee-parser | bc7232f5eaa6c200acb70d4a1e0cebe6faeebe81 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/io/igx/iot/model/SensorData.kt | viniciusccarvalho/kotlin-ecobee-parser | bc7232f5eaa6c200acb70d4a1e0cebe6faeebe81 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2017 original author or 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 appli... | 25.765625 | 151 | 0.676774 |
641a300abe70084ff99c26120146518f76f3eb26 | 624 | kt | Kotlin | sdk-base/src/main/java/com/mapbox/maps/plugin/viewport/state/FollowingViewportState.kt | UWDIEYN-NETWORK-DIGITAL-CENTER/mapbox-maps-android | bd11f1a352dd4bcb99dd783cf85fa48252927258 | [
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | sdk-base/src/main/java/com/mapbox/maps/plugin/viewport/state/FollowingViewportState.kt | UWDIEYN-NETWORK-DIGITAL-CENTER/mapbox-maps-android | bd11f1a352dd4bcb99dd783cf85fa48252927258 | [
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | sdk-base/src/main/java/com/mapbox/maps/plugin/viewport/state/FollowingViewportState.kt | UWDIEYN-NETWORK-DIGITAL-CENTER/mapbox-maps-android | bd11f1a352dd4bcb99dd783cf85fa48252927258 | [
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | package com.mapbox.maps.plugin.viewport.state
import com.mapbox.maps.plugin.locationcomponent.LocationComponentPlugin
import com.mapbox.maps.plugin.viewport.data.FollowingViewportStateOptions
/**
* The [ViewportState] that follows user's location.
*
* Note: [LocationComponentPlugin] should be enabled to use this v... | 32.842105 | 95 | 0.788462 |
6298cfef83d50e3c288ccabb25265909198db02e | 1,400 | rs | Rust | rust/robot-name/src/lib.rs | TheTonttu/exercism-solutions | 25420fc86d4b4a12e45f14f7472546f10f8864ea | [
"MIT"
] | null | null | null | rust/robot-name/src/lib.rs | TheTonttu/exercism-solutions | 25420fc86d4b4a12e45f14f7472546f10f8864ea | [
"MIT"
] | null | null | null | rust/robot-name/src/lib.rs | TheTonttu/exercism-solutions | 25420fc86d4b4a12e45f14f7472546f10f8864ea | [
"MIT"
] | null | null | null | use once_cell::sync::Lazy;
use rand::Rng;
use std::collections::HashSet;
use std::sync::Mutex;
static NAME_REGISTRY: Lazy<Mutex<HashSet<String>>> = Lazy::new(|| Mutex::new(HashSet::new()));
#[derive(Default)]
pub struct Robot {
name: String,
}
impl Robot {
pub fn new() -> Self {
Self {
na... | 21.212121 | 94 | 0.580714 |
6134ac0d844ac9974b558b28b509baf7c4869c0f | 107 | css | CSS | webroot/jobs.css | vitaluha/berlinmeasurecampboard | c71d8b3632626d9aed4a6e79bcf54947071c7ee7 | [
"Unlicense"
] | 2 | 2020-06-10T23:07:38.000Z | 2021-02-04T22:02:14.000Z | webroot/jobs.css | vitaluha/berlinmeasurecampboard | c71d8b3632626d9aed4a6e79bcf54947071c7ee7 | [
"Unlicense"
] | 1 | 2020-06-30T18:12:13.000Z | 2020-07-02T11:38:16.000Z | webroot/jobs.css | vitaluha/londonmeasurecampboard | 9d8ca430e43d6cf7d3cac93e3949a4a9791f576a | [
"Unlicense"
] | null | null | null | #demo {
padding-top: 10px;
}
.no-border-table, .no-border-table td {
/* border: none !important; */
}
| 13.375 | 39 | 0.607477 |
f06ab2424ee61abe89041d54314b7a45d992baed | 610 | js | JavaScript | helpers/filter/unitfilter.js | jabardigitalservice/pikobar-pelaporan-backend | 832e7a6b401dc5b42b9075e9bc6112e732a1d4ef | [
"Unlicense"
] | 22 | 2020-03-20T07:34:19.000Z | 2021-04-27T06:21:13.000Z | helpers/filter/unitfilter.js | jabardigitalservice/pikobar-pelaporan-backend | 832e7a6b401dc5b42b9075e9bc6112e732a1d4ef | [
"Unlicense"
] | 494 | 2020-03-24T04:36:46.000Z | 2022-01-26T02:59:48.000Z | helpers/filter/unitfilter.js | jabardigitalservice/pikobar-pelaporan-backend | 832e7a6b401dc5b42b9075e9bc6112e732a1d4ef | [
"Unlicense"
] | 19 | 2020-03-17T03:45:58.000Z | 2021-12-24T05:54:27.000Z | 'use strict'
const filterUnit = (query) => {
let params = {}
if (query.unit_type) {
params.unit_type = query.unit_type
}
if (query.code_district_code) {
params.code_district_code = query.code_district_code
}
return params
}
const filterSearch = (query) => {
let search_params
if (query.search) {... | 21.034483 | 56 | 0.634426 |
4c2d8a57e66c334444fcfe6f60db1ba031f7b3bc | 1,609 | php | PHP | app/Views/user_view.php | KukuhDwiC/tutorial-CI4 | aa274e21683a8499f3ceadb2857dfc51141ad882 | [
"MIT"
] | null | null | null | app/Views/user_view.php | KukuhDwiC/tutorial-CI4 | aa274e21683a8499f3ceadb2857dfc51141ad882 | [
"MIT"
] | 1 | 2020-07-11T15:39:28.000Z | 2020-07-18T07:38:25.000Z | app/Views/user_view.php | KukuhDwiC/tutorial-CI4 | aa274e21683a8499f3ceadb2857dfc51141ad882 | [
"MIT"
] | null | null | null |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<script>
$(function() {
$('#save').click(function() {
$('#myForm').submit()
$('#tambahdata').modal('hide')
... | 26.816667 | 112 | 0.510876 |