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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
281f601c6c31c196d65d3e8165a59367c3cadb3e | 4,499 | rb | Ruby | features/step_definitions/biblio_steps.rb | Loic1204/MGL7460-Biblio | 6d188e7510b65a75c8d1aab7f9a098eb9e80eee9 | [
"MIT"
] | null | null | null | features/step_definitions/biblio_steps.rb | Loic1204/MGL7460-Biblio | 6d188e7510b65a75c8d1aab7f9a098eb9e80eee9 | [
"MIT"
] | null | null | null | features/step_definitions/biblio_steps.rb | Loic1204/MGL7460-Biblio | 6d188e7510b65a75c8d1aab7f9a098eb9e80eee9 | [
"MIT"
] | null | null | null | require 'fileutils'
require_relative 'assertions'
require 'biblio'
#####################################################
# Preconditions.
#####################################################
# Voir support/hooks.rb
Given(/^il n'existe pas de fichier "([^"]*)"$/) do |fichier|
FileUtils.rm_f fichier
end
Given(/^il... | 28.839744 | 162 | 0.597911 |
3dd010ff9d5c5d6eb368bebd2405d356bf8017f6 | 3,608 | rs | Rust | qlib/kernel/kernel/waiter/mod.rs | abel-von/Quark | 7bbba67ee1105e3b7df751a278cbad9b2af666a1 | [
"Apache-2.0"
] | null | null | null | qlib/kernel/kernel/waiter/mod.rs | abel-von/Quark | 7bbba67ee1105e3b7df751a278cbad9b2af666a1 | [
"Apache-2.0"
] | null | null | null | qlib/kernel/kernel/waiter/mod.rs | abel-von/Quark | 7bbba67ee1105e3b7df751a278cbad9b2af666a1 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2021 Quark Container Authors / 2018 The gVisor 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 ... | 31.649123 | 100 | 0.633592 |
6a13f2163cc9072a13bab551574457bfd692d19d | 148 | lua | Lua | util/apply-plugin/config.lua | btatarov/moai-plugin-mgr | 132f1fba89d0568edb8bd17ff9a3a50019dc4f84 | [
"MIT"
] | null | null | null | util/apply-plugin/config.lua | btatarov/moai-plugin-mgr | 132f1fba89d0568edb8bd17ff9a3a50019dc4f84 | [
"MIT"
] | null | null | null | util/apply-plugin/config.lua | btatarov/moai-plugin-mgr | 132f1fba89d0568edb8bd17ff9a3a50019dc4f84 | [
"MIT"
] | null | null | null | PLUGINS = {
-- put plugin definitions here like so:
-- 'moai-plugin',
-- 'moai-other-plugin',
-- ...
'moai-android-facebook',
}
| 18.5 | 43 | 0.547297 |
866b7aab0150142f4fdf1597ea89b97a81c8a266 | 502 | sql | SQL | sql/dropobj.sql | connormcd/misc-scripts | 7c4ccd44dd45df9f538666a2b4db367afe51dc51 | [
"Apache-2.0"
] | 24 | 2019-11-05T03:00:05.000Z | 2022-03-31T12:56:42.000Z | sql/dropobj.sql | connormcd/misc-scripts | 7c4ccd44dd45df9f538666a2b4db367afe51dc51 | [
"Apache-2.0"
] | 1 | 2020-12-24T05:35:49.000Z | 2020-12-24T15:47:19.000Z | sql/dropobj.sql | connormcd/misc-scripts | 7c4ccd44dd45df9f538666a2b4db367afe51dc51 | [
"Apache-2.0"
] | 17 | 2020-01-24T18:05:50.000Z | 2022-03-19T13:54:59.000Z | -------------------------------------------------------------------------------
--
-- PLEASE NOTE
--
-- No warranty, no liability, no support.
--
-- This script is 100% at your own risk to use.
--
-------------------------------------------------------------------------------
select 'drop table '||table_name||' cascad... | 31.375 | 79 | 0.474104 |
69c39233f7fe07cea58ba20b3a8ba5dbb969d7bb | 12,808 | swift | Swift | Tests/Model/Transient/TransactionFilter+Tests.swift | frollous/frollo-swift-sdk | 603acb8523b46a924bedf0307d9bc41fd9b89ff5 | [
"Apache-2.0"
] | 1 | 2021-02-24T14:08:04.000Z | 2021-02-24T14:08:04.000Z | Tests/Model/Transient/TransactionFilter+Tests.swift | frollous/frollo-swift-sdk | 603acb8523b46a924bedf0307d9bc41fd9b89ff5 | [
"Apache-2.0"
] | 23 | 2020-06-30T05:56:31.000Z | 2022-03-22T02:48:33.000Z | Tests/Model/Transient/TransactionFilter+Tests.swift | frollous/frollo-swift-sdk | 603acb8523b46a924bedf0307d9bc41fd9b89ff5 | [
"Apache-2.0"
] | null | null | null | //
// Copyright © 2019 Frollo. 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 by a... | 51.027888 | 873 | 0.630153 |
a1a6cf56c78ce242de3be9a964be2f1ff6b74f8a | 2,736 | go | Go | cmd/ports.go | rmohr/cli | a95a4b96a0c93899e2e6c3f1ef0ce911b118a382 | [
"Apache-2.0"
] | null | null | null | cmd/ports.go | rmohr/cli | a95a4b96a0c93899e2e6c3f1ef0ce911b118a382 | [
"Apache-2.0"
] | null | null | null | cmd/ports.go | rmohr/cli | a95a4b96a0c93899e2e6c3f1ef0ce911b118a382 | [
"Apache-2.0"
] | null | null | null | package cmd
import (
"fmt"
"github.com/docker/docker/api/types"
"github.com/docker/docker/client"
"github.com/docker/go-connections/nat"
"github.com/rmohr/cli/docker"
"github.com/spf13/cobra"
"strconv"
)
const (
PORT_SSH = 2201
PORT_REGISTRY = 5000
PORT_OCP = 8443
PORT_K8S = 6443
PORT_VNC ... | 20.571429 | 88 | 0.654971 |
f064510352f9025b4d799da86b5d394101356eaa | 2,040 | js | JavaScript | stories/useFullscreen.stories.js | niqingyang/vue-next-use | b2303d01d05a15ff35f01ca23de95bb7317242f2 | [
"MIT"
] | 5 | 2021-03-15T13:14:56.000Z | 2021-11-16T05:45:06.000Z | stories/useFullscreen.stories.js | niqingyang/vue-next-use | b2303d01d05a15ff35f01ca23de95bb7317242f2 | [
"MIT"
] | 1 | 2021-03-12T02:38:41.000Z | 2021-03-15T09:29:04.000Z | stories/useFullscreen.stories.js | niqingyang/vue-next-use | b2303d01d05a15ff35f01ca23de95bb7317242f2 | [
"MIT"
] | 1 | 2021-06-09T02:12:57.000Z | 2021-06-09T02:12:57.000Z | import {useFullscreen, useRef, useToggle} from "../src/index";
import {ShowDemo, ShowDocs} from './util/index';
export default {
title: 'UI/useFullscreen',
argTypes: {},
};
export const Docs = ShowDocs(require('../docs/useFullscreen.md'));
export const Demo = ShowDemo({
setup(props) {
const [sho... | 32.903226 | 90 | 0.401471 |
0efea2b74eccde0423c2b00f8d372ccb92e47bff | 600 | ts | TypeScript | packages/wasmvm/wasmlib/ts/wasmlib/wasmtypes/index.ts | Dr-Electron/wasp | 40e3da13cd7c5d076a89a986c3ea78bd65551052 | [
"BSD-2-Clause"
] | 1 | 2021-11-07T15:43:51.000Z | 2021-11-07T15:43:51.000Z | packages/wasmvm/wasmlib/ts/wasmlib/wasmtypes/index.ts | Dr-Electron/wasp | 40e3da13cd7c5d076a89a986c3ea78bd65551052 | [
"BSD-2-Clause"
] | null | null | null | packages/wasmvm/wasmlib/ts/wasmlib/wasmtypes/index.ts | Dr-Electron/wasp | 40e3da13cd7c5d076a89a986c3ea78bd65551052 | [
"BSD-2-Clause"
] | 1 | 2022-02-28T08:36:18.000Z | 2022-02-28T08:36:18.000Z | // Copyright 2020 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0
export * from "./codec"
export * from "./proxy"
export * from "./scaddress"
export * from "./scagentid"
export * from "./scbool"
export * from "./scbytes"
export * from "./scchainid"
export * from "./sccolor"
export * from "./schash"
export * from... | 24 | 38 | 0.668333 |
fe66a8159fcd4d87e3c401afa5b6cd3e2b9edd99 | 514 | h | C | GYEasyForm/Classes/Rows/GYSingleImageRow.h | zhugezhaofang/GYEasyForm | dbe27d11047c26f56acfd69dc19aa0165d1eb128 | [
"MIT"
] | 16 | 2018-12-28T09:20:32.000Z | 2019-11-28T04:05:44.000Z | GYEasyForm/Classes/Rows/GYSingleImageRow.h | gaoyuexit/GYEasyForm | dbe27d11047c26f56acfd69dc19aa0165d1eb128 | [
"MIT"
] | 1 | 2019-01-28T10:00:49.000Z | 2019-01-28T10:14:27.000Z | GYEasyForm/Classes/Rows/GYSingleImageRow.h | gaoyuexit/GYEasyForm | dbe27d11047c26f56acfd69dc19aa0165d1eb128 | [
"MIT"
] | null | null | null | //
// GYSingleImageRow.h
// ZGSellHouseModule
//
// Created by apple on 2018/12/18.
//
#import "GYEasyRow.h"
#import "GYEasyCell.h"
NS_ASSUME_NONNULL_BEGIN
@interface GYSingleImageCell : GYEasyCell
@property (nonatomic, strong) UIImageView *iconView;
@end
@interface GYSingleImageRow : GYEasyRow <GYSingleImageCel... | 21.416667 | 61 | 0.77821 |
c3aa011799e9c8113119a1c474e56f523ae43f2d | 540 | go | Go | src/initialize/cache.go | lzw5399/tumbleweed | 5cec804c1ba54d9caca95f157147720df95f305f | [
"MIT"
] | 22 | 2021-03-31T05:32:11.000Z | 2022-02-28T05:57:19.000Z | src/initialize/cache.go | lzw5399/gwfe | 5cec804c1ba54d9caca95f157147720df95f305f | [
"MIT"
] | 1 | 2021-08-20T15:33:38.000Z | 2021-08-23T01:06:58.000Z | src/initialize/cache.go | lzw5399/tumbleweed | 5cec804c1ba54d9caca95f157147720df95f305f | [
"MIT"
] | 6 | 2021-03-31T05:40:05.000Z | 2022-01-06T16:11:52.000Z | /**
* @Author: lzw5399
* @Date: 2021/3/20 15:44
* @Desc: 初始化内存缓存 并 加载租户信息到缓存
*/
package initialize
import (
"log"
"github.com/patrickmn/go-cache"
"workflow/src/global"
"workflow/src/model"
)
func setupCache() {
c := cache.New(-1, -1)
global.BankCache = c
var tenants []model.Tenant
err := global.BankDb.... | 16.363636 | 64 | 0.625926 |
746b1f36e847e583aa754899c618f3f5a388f505 | 853 | c | C | src/window.c | turboMaCk/asteroids | e67526a3f72e9a05e932574319b0ce1a8b915a7c | [
"Unlicense"
] | 1 | 2020-04-05T14:05:07.000Z | 2020-04-05T14:05:07.000Z | src/window.c | turboMaCk/asteroids | e67526a3f72e9a05e932574319b0ce1a8b915a7c | [
"Unlicense"
] | null | null | null | src/window.c | turboMaCk/asteroids | e67526a3f72e9a05e932574319b0ce1a8b915a7c | [
"Unlicense"
] | null | null | null | #include <SDL2/SDL.h>
#include "window.h"
Window Window_init(SDL_Window* win)
{
int width, height;
SDL_GetWindowSize(win, &width, &height);
Window res = {width, height, width/WIN_WIDTH, win};
return res;
}
void Window_event_handler(Window* win, SDL_Event* event, SDL_Renderer* ren)
{
// Event type must be w... | 23.694444 | 75 | 0.649472 |
41e26c2895caf76cccdb01c9bb453fb2043ca216 | 1,995 | h | C | _midynet/include/FastMIDyNet/proposer/movetypes.h | charlesmurphy1/fast-midynet | 22071d49077fce9d5f99a4664f36767b27edea64 | [
"MIT"
] | null | null | null | _midynet/include/FastMIDyNet/proposer/movetypes.h | charlesmurphy1/fast-midynet | 22071d49077fce9d5f99a4664f36767b27edea64 | [
"MIT"
] | null | null | null | _midynet/include/FastMIDyNet/proposer/movetypes.h | charlesmurphy1/fast-midynet | 22071d49077fce9d5f99a4664f36767b27edea64 | [
"MIT"
] | null | null | null | #ifndef FAST_MIDYNET_MOVETYPES_H
#define FAST_MIDYNET_MOVETYPES_H
#include <vector>
#include <iostream>
#include "BaseGraph/types.h"
#include "FastMIDyNet/types.h"
namespace FastMIDyNet {
struct GraphMove{
GraphMove(std::vector<BaseGraph::Edge> removedEdges, std::vector<BaseGraph::Edge> addedEdges):
re... | 30.227273 | 117 | 0.638596 |
56c4dcded21b39d3cd31ec4aec5ec11cca806ab1 | 732 | ts | TypeScript | dist/core/varietal.d.ts | clinfc/m-observer | b2f3e701579b1889b00b9ad3f344795c2699ac89 | [
"MIT"
] | null | null | null | dist/core/varietal.d.ts | clinfc/m-observer | b2f3e701579b1889b00b9ad3f344795c2699ac89 | [
"MIT"
] | null | null | null | dist/core/varietal.d.ts | clinfc/m-observer | b2f3e701579b1889b00b9ad3f344795c2699ac89 | [
"MIT"
] | null | null | null | import { Selecter } from "../util/dom-query";
import { EachCallback } from "../util/data";
export declare function eobserve(target: Selecter, eachcall: EachCallback, option: MutationObserverInit): void;
export declare function eobserveAll(target: Selecter, eachcall: EachCallback, filter?: string[]): void;
export de... | 81.333333 | 127 | 0.780055 |
9cf27349ec7443d358a132a6a058b53fe0d92e6c | 26,163 | css | CSS | jikexueyuan/css/index.css | zyzxykf/mission4 | a722a96d0e49b5f1a989a45a885a94b957dc6c59 | [
"Apache-2.0"
] | null | null | null | jikexueyuan/css/index.css | zyzxykf/mission4 | a722a96d0e49b5f1a989a45a885a94b957dc6c59 | [
"Apache-2.0"
] | null | null | null | jikexueyuan/css/index.css | zyzxykf/mission4 | a722a96d0e49b5f1a989a45a885a94b957dc6c59 | [
"Apache-2.0"
] | null | null | null | body {
margin: 0;
padding: 0;
background-color: #f5f5f5;
}
div, nav, ul, li, i, a{
margin: 0;
padding: 0;
box-sizing: border-box;
vertical-align: middle;
}
.header ul, .header nav{
margin: 0;
padding: 0;
text-decoration: none;
}
.header a {
white-space: nowrap;
text-decoration:... | 18.621352 | 232 | 0.637618 |
27fd17312166d1ebb3e73760d291c760fdd4f9ee | 1,719 | css | CSS | public/css/all_home.css | NaingHtet1997/firstTest | 839498a3211fac20d5db481db441952a23c59012 | [
"MIT"
] | 1 | 2020-03-04T04:03:22.000Z | 2020-03-04T04:03:22.000Z | public/css/all_home.css | NaingHtet1997/firstTest | 839498a3211fac20d5db481db441952a23c59012 | [
"MIT"
] | null | null | null | public/css/all_home.css | NaingHtet1997/firstTest | 839498a3211fac20d5db481db441952a23c59012 | [
"MIT"
] | null | null | null | #myModal{
position: relative;
width: 50%;
background: #fff;
padding: 50px 15px;
}
.card-body{
background-color: #fff;
padding: 20px !important;
}
label{
margin-top: 5px;
}
.saleItem{
margin: 25px 0px 0px 0px;
}
.all_total{
margin-top: 10px;
}
.content{
margin-left: 275px !important;
}
.fo... | 18.483871 | 95 | 0.688191 |
ee47c31f00043e39cbcc8341610596dd40861c29 | 1,629 | swift | Swift | NHS-COVID-19/Core/Sources/Domain/SelfDiagnosis/SelfDiagnosisManager.swift | NicholasG04/covid-19-app-ios-ag-public | afd44bc18d6b90865a03d9e171370eeea543c955 | [
"MIT"
] | null | null | null | NHS-COVID-19/Core/Sources/Domain/SelfDiagnosis/SelfDiagnosisManager.swift | NicholasG04/covid-19-app-ios-ag-public | afd44bc18d6b90865a03d9e171370eeea543c955 | [
"MIT"
] | null | null | null | NHS-COVID-19/Core/Sources/Domain/SelfDiagnosis/SelfDiagnosisManager.swift | NicholasG04/covid-19-app-ios-ag-public | afd44bc18d6b90865a03d9e171370eeea543c955 | [
"MIT"
] | null | null | null | //
// Copyright © 2020 NHSX. All rights reserved.
//
import Combine
import Common
import Foundation
public class SelfDiagnosisManager {
private let httpClient: HTTPClient
private let calculateIsolationState: (GregorianDay?) -> IsolationState
public var threshold: Double?
init(httpClient... | 33.244898 | 126 | 0.671578 |
91d329d27348b701629d0f4541adbbb575a39a6e | 1,783 | kt | Kotlin | app/src/main/java/tool/xfy9326/schedule/ui/dialog/ImportCourseConflictDialog.kt | Winter-is-comingXK/Schedule | 63149a2becb26addc670747c3dab709259408d9a | [
"Apache-2.0"
] | 3 | 2021-04-09T09:57:29.000Z | 2022-01-21T14:49:17.000Z | app/src/main/java/tool/xfy9326/schedule/ui/dialog/ImportCourseConflictDialog.kt | Winter-is-comingXK/Schedule | 63149a2becb26addc670747c3dab709259408d9a | [
"Apache-2.0"
] | 4 | 2022-01-14T10:36:04.000Z | 2022-02-20T10:55:58.000Z | app/src/main/java/tool/xfy9326/schedule/ui/dialog/ImportCourseConflictDialog.kt | Winter-is-comingXK/Schedule | 63149a2becb26addc670747c3dab709259408d9a | [
"Apache-2.0"
] | 1 | 2022-01-15T04:58:39.000Z | 2022-01-15T04:58:39.000Z | package tool.xfy9326.schedule.ui.dialog
import android.content.DialogInterface
import android.os.Bundle
import androidx.appcompat.app.AppCompatDialogFragment
import androidx.fragment.app.FragmentManager
import androidx.fragment.app.setFragmentResult
import androidx.lifecycle.LifecycleOwner
import com.google.android.ma... | 38.76087 | 143 | 0.7235 |
bd3a662fb349989868d51eb2243cb72e1eac5b28 | 2,124 | rs | Rust | web-server/sgx-wallet-impl/src/schema/types.rs | ntls-io/nautilus-wallet | 31a6a534c920d58548a8ac5869b3cb918d3b7c11 | [
"Apache-2.0"
] | 1 | 2022-01-30T03:54:55.000Z | 2022-01-30T03:54:55.000Z | web-server/sgx-wallet-impl/src/schema/types.rs | ntls-io/nautilus-wallet | 31a6a534c920d58548a8ac5869b3cb918d3b7c11 | [
"Apache-2.0"
] | 32 | 2021-11-15T08:43:10.000Z | 2022-03-20T22:35:56.000Z | web-server/sgx-wallet-impl/src/schema/types.rs | ntls-io/nautilus-wallet | 31a6a534c920d58548a8ac5869b3cb918d3b7c11 | [
"Apache-2.0"
] | 2 | 2021-11-21T19:19:08.000Z | 2021-11-22T09:17:01.000Z | //! Supporting data types.
use std::boxed::Box;
use std::prelude::v1::String;
use ripple_keypairs::{Algorithm, EntropyArray};
use serde::{Deserialize, Serialize};
pub type Bytes = Box<[u8]>;
/// Nautilus Wallet ID.
pub type WalletId = String;
/// A wallet owner's authenticating PIN.
pub type WalletPin = String;
/... | 27.230769 | 83 | 0.682203 |
71e66700a5a0d05fcd0ed4aaaf77057973cd19d0 | 3,215 | ts | TypeScript | src/types/AwsCodePipeline.d.ts | quicken/aws-meerkat | 7f01f390e0f32619bfa706f5e351a90998d18879 | [
"Apache-2.0"
] | null | null | null | src/types/AwsCodePipeline.d.ts | quicken/aws-meerkat | 7f01f390e0f32619bfa706f5e351a90998d18879 | [
"Apache-2.0"
] | null | null | null | src/types/AwsCodePipeline.d.ts | quicken/aws-meerkat | 7f01f390e0f32619bfa706f5e351a90998d18879 | [
"Apache-2.0"
] | null | null | null | /**
* The CodePipelineEvent describes the properties available by all events that are generated during the life-cycle of
* a code pipeline execution.
*
* https://docs.aws.amazon.com/codepipeline/latest/userguide/detect-state-changes-cloudwatch-events.html
*/
export type CodePipelineEvent = {
detail: {
pipeli... | 27.715517 | 117 | 0.702022 |
e7177c0d7d23ea51f698586f3300fa7e4ca4c082 | 687 | js | JavaScript | src/redux/actions/mainActions.js | b1tn3r/fuller-stack-boilerplate | 0d660a8c6d6f7a088c89994962c0e54579c2a7fc | [
"MIT"
] | 2 | 2018-11-14T10:15:46.000Z | 2018-11-14T10:16:16.000Z | src/redux/actions/mainActions.js | b1tn3r/fuller-stack-starter-app | 0d660a8c6d6f7a088c89994962c0e54579c2a7fc | [
"MIT"
] | 1 | 2018-12-03T11:38:53.000Z | 2018-12-03T11:38:53.000Z | src/redux/actions/mainActions.js | b1tn3r/fuller-stack-starter-app | 0d660a8c6d6f7a088c89994962c0e54579c2a7fc | [
"MIT"
] | null | null | null | import api from '../../api';
function sayHello(message) {
return {
type: "SAY_HELLO",
payload: message
}
}
function fetchContests() {
return function(dispatch) {
dispatch({type: "FETCH_CONTESTS_PENDING"});
api.fetchContests().then(contests => {
dispatch({
... | 19.628571 | 51 | 0.47016 |
f03057b3821748f5e13d3a717a4220542b4bbcb5 | 594 | js | JavaScript | src/main.js | angelorc/Almerico | 5b51405a2f7b84106e93b9e629bfe81820a7bc30 | [
"MIT"
] | null | null | null | src/main.js | angelorc/Almerico | 5b51405a2f7b84106e93b9e629bfe81820a7bc30 | [
"MIT"
] | null | null | null | src/main.js | angelorc/Almerico | 5b51405a2f7b84106e93b9e629bfe81820a7bc30 | [
"MIT"
] | null | null | null | import Vue from "vue";
import App from "./App.vue";
import router from "Setup/router";
import store from "Setup/store";
import i18n from "Setup/i18n";
import directives from "Setup/directives";
import "bootstrap";
import "Setup/navigationGuard";
const result = require('dotenv').config({ debug: process.env.DEBUG });
if... | 22.846154 | 70 | 0.713805 |
fea16c1ff5bb0f64169733667c7e5ce160107aa1 | 305 | sql | SQL | sample/sample-nullif.sql | nminoru/pg_plan_tree_dot | 13eff984a59ccfeb332685e870195885db02a8e3 | [
"BSD-3-Clause"
] | 9 | 2016-09-14T06:49:50.000Z | 2021-12-17T08:41:56.000Z | sample/sample-nullif.sql | nminoru/pg_plan_tree_dot | 13eff984a59ccfeb332685e870195885db02a8e3 | [
"BSD-3-Clause"
] | 2 | 2016-09-14T07:03:30.000Z | 2017-06-03T11:00:02.000Z | sample/sample-nullif.sql | nminoru/pg_plan_tree_dot | 13eff984a59ccfeb332685e870195885db02a8e3 | [
"BSD-3-Clause"
] | 3 | 2017-08-02T23:41:04.000Z | 2021-12-17T08:58:04.000Z | CREATE EXTENSION IF NOT EXISTS pg_plan_tree_dot;
DROP TABLE IF EXISTS test;
CREATE TABLE test (id1 INTEGER, id2 INTEGER);
INSERT INTO test VALUES (11, 10);
-- SELECT NULLIF(id1, id2) FROM test
SELECT generate_plan_tree_dot('SELECT NULLIF(id1, id2) FROM test', 'sample-nullif.dot');
DROP TABLE test;
| 21.785714 | 88 | 0.754098 |
dd474b9c47259ad792fe5a421ffe440573f915fb | 5,038 | go | Go | syncgroup_test.go | c1982/sgsync | 2e86bffc5cabea23b8859abe92c959ecfe18e6c4 | [
"MIT"
] | 12 | 2020-01-09T13:05:29.000Z | 2021-05-09T13:26:25.000Z | syncgroup_test.go | c1982/sgsync | 2e86bffc5cabea23b8859abe92c959ecfe18e6c4 | [
"MIT"
] | null | null | null | syncgroup_test.go | c1982/sgsync | 2e86bffc5cabea23b8859abe92c959ecfe18e6c4 | [
"MIT"
] | null | null | null | package main
import (
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/ec2"
)
var sourceGroup = []*ec2.SecurityGroup{
(&ec2.SecurityGroup{
Description: aws.String("source"),
GroupId: aws.String("gs-001"),
GroupName: aws.String("source group"),
OwnerId: aws.String("o... | 23.876777 | 84 | 0.589718 |
136e5910e6b1fde97d89c7e5df78bc6bf3788b2a | 11,507 | c | C | kernel/drivers/dual_ccci/ccci_fs_main.c | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | 1 | 2022-01-07T01:53:19.000Z | 2022-01-07T01:53:19.000Z | kernel/drivers/dual_ccci/ccci_fs_main.c | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | null | null | null | kernel/drivers/dual_ccci/ccci_fs_main.c | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | 1 | 2020-02-28T02:48:42.000Z | 2020-02-28T02:48:42.000Z | /*****************************************************************************
*
* Filename:
* ---------
* ccci_fs.c
*
* Project:
* --------
* ALPS
*
* Description:
* ------------
* MT65XX CCCI FS Proxy Driver
*
****************************************************************************/
#include ... | 25.514412 | 120 | 0.691927 |
28e666e189c0efe319df790c4309cb9e7daa8096 | 1,076 | asm | Assembly | src/input.asm | gltchitm/tic-tac-toe-asm | 84d2112397218f770e9c573744504078afbdbf8f | [
"MIT"
] | null | null | null | src/input.asm | gltchitm/tic-tac-toe-asm | 84d2112397218f770e9c573744504078afbdbf8f | [
"MIT"
] | null | null | null | src/input.asm | gltchitm/tic-tac-toe-asm | 84d2112397218f770e9c573744504078afbdbf8f | [
"MIT"
] | null | null | null | %define ICANON 2
%define ECHO 8
%macro input 2
%1:
mov rax, 0
push rax
push rbp
mov rbp, rsp
sub rsp, 56
push r11
push rbx
push rdx
push rcx
push rdi
push rsi
mov rsi, rax
mov rsi, 21505
lea rdx, [rbp... | 15.823529 | 44 | 0.464684 |
0a158691c0e0f94d7a41e3d17c9941c140b198bb | 761 | h | C | AVFoundationDemo/KYAVAssetResourceContentInfo.h | cuidayang/AVFoundationDemo | e7dbce6de340f667caee84b09dd364d60f8224b1 | [
"MIT"
] | 1 | 2018-05-25T11:32:07.000Z | 2018-05-25T11:32:07.000Z | AVFoundationDemo/KYAVAssetResourceContentInfo.h | cuidayang/AVFoundationDemo | e7dbce6de340f667caee84b09dd364d60f8224b1 | [
"MIT"
] | null | null | null | AVFoundationDemo/KYAVAssetResourceContentInfo.h | cuidayang/AVFoundationDemo | e7dbce6de340f667caee84b09dd364d60f8224b1 | [
"MIT"
] | 1 | 2018-09-27T22:35:29.000Z | 2018-09-27T22:35:29.000Z | //
// KYAVAssetResourceContentInfo.h
// AVFoundationDemo
//
// Created by leoking870 on 2018/5/9.
// Copyright © 2018年 leoking870. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface KYAVAssetResourceContentInfo : NSObject
- (instancetype) init NS_UNAVAILABLE;
// make content info from http resp... | 31.708333 | 93 | 0.793693 |
39808166b3a7613d4daa01e653c5958c82328840 | 890 | kt | Kotlin | app/src/main/java/com/kshitijpatil/elementaryeditor/ui/imagepicker/TempFileUriProvider.kt | Kshitij09/Elementary-Editor | 67aa2f2cc0f60e9c64f6b9ad40e5a971f2fbe446 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/kshitijpatil/elementaryeditor/ui/imagepicker/TempFileUriProvider.kt | Kshitij09/Elementary-Editor | 67aa2f2cc0f60e9c64f6b9ad40e5a971f2fbe446 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/kshitijpatil/elementaryeditor/ui/imagepicker/TempFileUriProvider.kt | Kshitij09/Elementary-Editor | 67aa2f2cc0f60e9c64f6b9ad40e5a971f2fbe446 | [
"Apache-2.0"
] | null | null | null | package com.kshitijpatil.elementaryeditor.ui.imagepicker
import android.content.Context
import android.net.Uri
import androidx.core.content.FileProvider
import com.kshitijpatil.elementaryeditor.BuildConfig
import java.io.File
import java.lang.ref.WeakReference
fun interface TempFileUriProvider {
fun get(): Uri?
}... | 29.666667 | 83 | 0.698876 |
0ee5a0994211469c1ad344fb82bb49fbb2b5d307 | 49 | ts | TypeScript | src/command/index.ts | AlexRogalskiy/typescript-patterns | 5066795a1a6d2b0199e3e17a9d284c2056d30834 | [
"MIT"
] | null | null | null | src/command/index.ts | AlexRogalskiy/typescript-patterns | 5066795a1a6d2b0199e3e17a9d284c2056d30834 | [
"MIT"
] | 75 | 2021-09-06T14:07:17.000Z | 2022-03-30T13:20:13.000Z | src/command/index.ts | AlexRogalskiy/typescript-patterns | 5066795a1a6d2b0199e3e17a9d284c2056d30834 | [
"MIT"
] | null | null | null | export * from './command'
export * from './demo'
| 16.333333 | 25 | 0.632653 |
653e59fcbdd6ab10a8f9cfbeb5d59f5f53315a37 | 6,114 | py | Python | src/trainer/transformations.py | tiborkubik/Robust-Teeth-Detection-in-3D-Dental-Scans-by-Automated-Multi-View-Landmarking | c7d9fa29b3b94ea786da5f4ec11a11520c1b882a | [
"MIT"
] | 2 | 2022-02-20T23:45:47.000Z | 2022-03-14T07:36:53.000Z | src/trainer/transformations.py | tiborkubik/Robust-Teeth-Detection-in-3D-Dental-Scans-by-Automated-Multi-View-Landmarking | c7d9fa29b3b94ea786da5f4ec11a11520c1b882a | [
"MIT"
] | null | null | null | src/trainer/transformations.py | tiborkubik/Robust-Teeth-Detection-in-3D-Dental-Scans-by-Automated-Multi-View-Landmarking | c7d9fa29b3b94ea786da5f4ec11a11520c1b882a | [
"MIT"
] | null | null | null | """
:filename transformations.py
:author Tibor Kubik
:email xkubik34@stud.fit.vutbr.cz
from
Classes of custom transformations that are applied during the training as additional augmentation of the depth maps.
"""
import torch
import random
import numpy as np
import torch.nn.functional as F
from random... | 31.678756 | 129 | 0.596663 |
46e95b87f3e97540c50f1d6869a71db4857774fe | 468 | kt | Kotlin | src/main/kotlin/com/projectcitybuild/entities/migrations/20220114_first_time_run.kt | andyksaw/PCBridge | bd146b31bab402789efd8edaee6addba1b8b33da | [
"MIT"
] | 3 | 2016-06-16T06:08:32.000Z | 2017-02-03T03:23:32.000Z | src/main/kotlin/com/projectcitybuild/entities/migrations/20220114_first_time_run.kt | andimage/PCBridge | bd146b31bab402789efd8edaee6addba1b8b33da | [
"MIT"
] | 5 | 2015-10-02T16:44:36.000Z | 2017-02-05T04:46:13.000Z | src/main/kotlin/com/projectcitybuild/entities/migrations/20220114_first_time_run.kt | andimage/PCBridge | bd146b31bab402789efd8edaee6addba1b8b33da | [
"MIT"
] | 3 | 2016-06-20T04:42:28.000Z | 2017-02-02T03:15:23.000Z | package com.projectcitybuild.entities.migrations
import co.aikar.idb.HikariPooledDatabase
import com.projectcitybuild.core.database.DatabaseMigration
class `20220114_first_time_run` : DatabaseMigration {
override val description = "First-time run"
override fun execute(database: HikariPooledDatabase) {
... | 33.428571 | 83 | 0.769231 |
ff6c16961abed824365560e9bc19dad70086e690 | 251,378 | asm | Assembly | win32/VC10/Win32/libxml2_Debug/xinclude.asm | txwizard/libxml2_x64_and_ARM | bc19a931370a09ee379d641a7c9a862fecebff3b | [
"MIT"
] | null | null | null | win32/VC10/Win32/libxml2_Debug/xinclude.asm | txwizard/libxml2_x64_and_ARM | bc19a931370a09ee379d641a7c9a862fecebff3b | [
"MIT"
] | null | null | null | win32/VC10/Win32/libxml2_Debug/xinclude.asm | txwizard/libxml2_x64_and_ARM | bc19a931370a09ee379d641a7c9a862fecebff3b | [
"MIT"
] | null | null | null | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1
TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\xinclude.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM _xmlMalloc:DWORD
CO... | 22.366581 | 112 | 0.654528 |
f07f197c27b7ad864308c5332ee3a30042155d95 | 15,797 | py | Python | tempest/cmd/run.py | Juniper/tempest | f8316c9c28e029063c036e1cf83947af068e7703 | [
"Apache-2.0"
] | null | null | null | tempest/cmd/run.py | Juniper/tempest | f8316c9c28e029063c036e1cf83947af068e7703 | [
"Apache-2.0"
] | null | null | null | tempest/cmd/run.py | Juniper/tempest | f8316c9c28e029063c036e1cf83947af068e7703 | [
"Apache-2.0"
] | 5 | 2016-06-24T20:03:52.000Z | 2020-02-05T10:14:54.000Z | # 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 writing, software
# distrib... | 43.043597 | 79 | 0.599734 |
7bc7fc90d308a25fd34d4c214628670851e0093c | 389 | rb | Ruby | config/routes.rb | SHUBV92/RPI-Security-Sensor | 579fdb6deb543d1af6e22f3b859ba6031cdd6f1a | [
"MIT"
] | 1 | 2020-01-07T09:56:28.000Z | 2020-01-07T09:56:28.000Z | config/routes.rb | mattfreeman-london/RPI-Security-Sensor | 579fdb6deb543d1af6e22f3b859ba6031cdd6f1a | [
"MIT"
] | 6 | 2020-01-07T09:50:04.000Z | 2022-03-31T00:28:58.000Z | config/routes.rb | mattfreeman-london/RPI-Security-Sensor | 579fdb6deb543d1af6e22f3b859ba6031cdd6f1a | [
"MIT"
] | 4 | 2020-01-07T09:48:49.000Z | 2020-01-20T11:46:42.000Z | Rails.application.routes.draw do
authenticated :user do
root to: 'feed#show'
end
get 'feed/images', to: 'feed#show'
get "/pages/:page" => "pages#show"
post "/", to: 'feed#create' # Method in controller
root :to => redirect("/users/sign_in")
devise_for :users
# For details on the DSL available ... | 21.611111 | 101 | 0.681234 |
fe0db513a9c4cd643da1c8513582252ff8ac3ca1 | 4,529 | c | C | generated/gtriangul1_res.c | ahrnbom/guts | 9134e7f6568a24b435841e5934a640bdbe329a68 | [
"MIT"
] | null | null | null | generated/gtriangul1_res.c | ahrnbom/guts | 9134e7f6568a24b435841e5934a640bdbe329a68 | [
"MIT"
] | null | null | null | generated/gtriangul1_res.c | ahrnbom/guts | 9134e7f6568a24b435841e5934a640bdbe329a68 | [
"MIT"
] | null | null | null | #include <math.h>
void generated_function(double* A0, const double x3D, const double y3D, const double P11_1, const double P11_2, const double P11_3, const double P11_4, const double P12_1, const double P12_2, const double P12_3, const double P12_4, const double P13_1, const double P13_2, const double P13_3, const dou... | 44.401961 | 855 | 0.65467 |
9be3a5b33d46c6ab60330eab43e93451a365bebf | 828 | js | JavaScript | benchmarks/generated/lia/8/5.js | BillHallahan/Lava | 512729ea951681418aebe68c041dd935b66be0e2 | [
"BSD-3-Clause"
] | null | null | null | benchmarks/generated/lia/8/5.js | BillHallahan/Lava | 512729ea951681418aebe68c041dd935b66be0e2 | [
"BSD-3-Clause"
] | 2 | 2019-05-28T18:44:59.000Z | 2019-05-28T18:58:56.000Z | benchmarks/generated/lia/8/5.js | BillHallahan/Lava | 512729ea951681418aebe68c041dd935b66be0e2 | [
"BSD-3-Clause"
] | null | null | null | function add(x_0, x_1)
{
return x_0 + x_1;
}
function mult(x_0, x_1)
{
return x_0 * x_1;
}
function increment(x_0)
{
return x_0 + 1;
}
function decrement(x_0)
{
return x_0 - 1;
}
function subtract(x_0, x_1)
{
return x_0 - x_1;
}
function double(x_0)
{
return x_0 * 2;
}
function f131f(x_0, x_1, x_2)
{
retur... | 14.033898 | 50 | 0.626812 |
05061dc325631bab1ff36cf95bf50ba8670f2991 | 314 | kt | Kotlin | app/src/main/java/com/example/tangoapp/data/ApiService.kt | ispam/tango_app | 5ab3fd745ffe8cfdf389c9f5422643100a358668 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/tangoapp/data/ApiService.kt | ispam/tango_app | 5ab3fd745ffe8cfdf389c9f5422643100a358668 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/tangoapp/data/ApiService.kt | ispam/tango_app | 5ab3fd745ffe8cfdf389c9f5422643100a358668 | [
"Apache-2.0"
] | null | null | null | package com.example.tangoapp.data
import com.example.tangoapp.data.entities.News
import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.Headers
interface ApiService {
@Headers("Content-Type: application/json")
@GET("/v3/articles")
suspend fun getArticles(): Response<List<News>>
} | 24.153846 | 51 | 0.770701 |
9be2296671e5683e4cb70788c8a7e1f9e82de3df | 477 | js | JavaScript | src/reducers/createFetchReducers.js | just-paja/improtresk-web | 446e31bbc6a72514dfdc79650c11c340b826d8c0 | [
"MIT"
] | 1 | 2017-01-04T16:12:44.000Z | 2017-01-04T16:12:44.000Z | src/reducers/createFetchReducers.js | just-paja/improtresk-web | 446e31bbc6a72514dfdc79650c11c340b826d8c0 | [
"MIT"
] | 8 | 2017-01-30T08:49:13.000Z | 2017-03-16T13:02:52.000Z | src/reducers/createFetchReducers.js | just-paja/improtresk-web | 446e31bbc6a72514dfdc79650c11c340b826d8c0 | [
"MIT"
] | 2 | 2017-03-16T12:31:36.000Z | 2017-05-01T15:10:27.000Z | import {
fetchFailure,
fetchStart,
fetchStop,
fetchSuccess,
invalidateOnResourceChange
} from 'react-saga-rest'
export { defaultResourceState as initialState } from 'react-saga-rest'
export default ({
routine,
identAttr
}) => ({
[routine.TRIGGER]: identAttr ? invalidateOnResourceChange(identAttr, 'pay... | 22.714286 | 94 | 0.735849 |
388b2ec7862ad524a5514654bd4fb2543e18b0d0 | 7,763 | c | C | src/tools/gt_condenseq_info.c | satta/genometools | 3955d63c95e142c2475e1436206fddf0eb29185d | [
"BSD-2-Clause"
] | 202 | 2015-01-08T10:09:57.000Z | 2022-03-31T09:45:44.000Z | src/tools/gt_condenseq_info.c | satta/genometools | 3955d63c95e142c2475e1436206fddf0eb29185d | [
"BSD-2-Clause"
] | 286 | 2015-01-05T16:29:27.000Z | 2022-03-30T21:19:03.000Z | src/tools/gt_condenseq_info.c | satta/genometools | 3955d63c95e142c2475e1436206fddf0eb29185d | [
"BSD-2-Clause"
] | 56 | 2015-01-19T11:33:22.000Z | 2022-03-21T21:47:05.000Z | /*
Copyright (c) 2014 Florian Markowsky <1markows@informatik.uni-hamburg.de>
Copyright (c) 2014 Dirk Willrodt <willrodt@zbh.uni-hamburg.de>
Copyright (c) 2014 Center for Bioinformatics, University of Hamburg
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is ... | 36.106977 | 80 | 0.653227 |
1762358a31d9fc8e6abfe83a0aadde3afcb75d7e | 1,751 | html | HTML | docs/index.html | Luismcplopes/slack-webhook | e056d9a51f33f6c64f598563e742f96c81d269d7 | [
"MIT"
] | null | null | null | docs/index.html | Luismcplopes/slack-webhook | e056d9a51f33f6c64f598563e742f96c81d269d7 | [
"MIT"
] | 1 | 2019-07-18T15:18:55.000Z | 2019-07-18T15:18:55.000Z | docs/index.html | Luismcplopes/slack-webhook | e056d9a51f33f6c64f598563e742f96c81d269d7 | [
"MIT"
] | null | null | null | <h1 id="slack-webhooks">Slack-Webhooks</h1>
<p>This package leet you send messages in to a Slack Channel and can be activated as a service for when server with Ubuntu was turned off or on we received a notification on the slack channel</p>
<div class="figure">
<img src="https://github.com/Luismcplopes/slack-webhook/raw... | 56.483871 | 307 | 0.731582 |
6b8f539357afedb5d52724963057c4c64ec652bc | 52 | c | C | test cases/unit/67 static link/lib/func2.c | kira78/meson | 0ae840656c5b87f30872072aa8694667c63c96d2 | [
"Apache-2.0"
] | 4,047 | 2015-06-18T10:36:48.000Z | 2022-03-31T09:47:02.000Z | test cases/unit/67 static link/lib/func2.c | kira78/meson | 0ae840656c5b87f30872072aa8694667c63c96d2 | [
"Apache-2.0"
] | 8,206 | 2015-06-14T12:20:48.000Z | 2022-03-31T22:50:37.000Z | test cases/unit/67 static link/lib/func2.c | kira78/meson | 0ae840656c5b87f30872072aa8694667c63c96d2 | [
"Apache-2.0"
] | 1,489 | 2015-06-27T04:06:38.000Z | 2022-03-29T10:14:48.000Z | int func1();
int func2()
{
return func1() + 1;
}
| 7.428571 | 21 | 0.538462 |
07f27947e51b93af560c4d4e57349c5e19e410ee | 436 | c | C | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.dg/volatile2.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 7 | 2020-05-02T17:34:05.000Z | 2021-10-17T10:15:18.000Z | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.dg/volatile2.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | null | null | null | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.dg/volatile2.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 2 | 2020-07-27T00:22:36.000Z | 2021-04-01T09:41:02.000Z | /* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
struct GTeth_desc
{
unsigned ed_cmdsts;
};
struct GTeth_softc
{
struct GTeth_desc txq_desc[32];
};
void foo(struct GTeth_softc *sc)
{
/* Verify that we retain the volatileness on the
store until after optimization. */
volatile stru... | 19.818182 | 55 | 0.649083 |
3b67250089d2f0a498076bc14efe1d72dd18832e | 7,023 | sql | SQL | backend/de.metas.fresh/de.metas.fresh.base/src/main/sql/postgresql/ddl/functions/Docs_Sales_Order_Details.sql | metas-fresh/fresh | 265b6e00fbbf154d6a7bbb9aaf9cf7135f9d6a27 | [
"RSA-MD"
] | 1 | 2015-11-09T07:13:14.000Z | 2015-11-09T07:13:14.000Z | backend/de.metas.fresh/de.metas.fresh.base/src/main/sql/postgresql/ddl/functions/Docs_Sales_Order_Details.sql | metas-fresh/fresh | 265b6e00fbbf154d6a7bbb9aaf9cf7135f9d6a27 | [
"RSA-MD"
] | null | null | null | backend/de.metas.fresh/de.metas.fresh.base/src/main/sql/postgresql/ddl/functions/Docs_Sales_Order_Details.sql | metas-fresh/fresh | 265b6e00fbbf154d6a7bbb9aaf9cf7135f9d6a27 | [
"RSA-MD"
] | null | null | null | DROP FUNCTION IF EXISTS de_metas_endcustomer_fresh_reports.Docs_Sales_Order_Details(IN p_record_id numeric,
IN p_ad_language Character Varying(6))
;
CREATE OR REPLACE FUNCTION de_metas_endcustomer_fresh_reports.Docs_Sales_Order_Detai... | 53.610687 | 159 | 0.543358 |
72d7408bc56f45dd7d7d7b02fd666547e0b8196d | 200 | kt | Kotlin | recipe-api/src/main/kotlin/io/bwvolleyball/recipe/domain/Category.kt | Bwvolleyball/recipe-organizr | fa173a4d2d331c443861ebe07e0f8419f0a8fe67 | [
"Apache-2.0"
] | null | null | null | recipe-api/src/main/kotlin/io/bwvolleyball/recipe/domain/Category.kt | Bwvolleyball/recipe-organizr | fa173a4d2d331c443861ebe07e0f8419f0a8fe67 | [
"Apache-2.0"
] | 10 | 2019-07-13T18:29:09.000Z | 2022-03-02T04:02:45.000Z | recipe-api/src/main/kotlin/io/bwvolleyball/recipe/domain/Category.kt | Bwvolleyball/recipe-organizr | fa173a4d2d331c443861ebe07e0f8419f0a8fe67 | [
"Apache-2.0"
] | null | null | null | package io.bwvolleyball.recipe.domain
data class Category(val id: Long,
val name: String,
val thumbnail: String,
val description: String){} | 33.333333 | 46 | 0.55 |
94c5fb8f431d0c8f95820cc2a5676e28d2c96e3c | 1,837 | swift | Swift | QXUIKitExtension/QXUIKitExtension/QXMessageView.swift | labi3285/QXUIKitExtension | 40294565179b63b99eb56164128f0bb56a95a5e3 | [
"MIT"
] | 4 | 2019-11-08T03:06:26.000Z | 2021-08-06T03:14:45.000Z | QXUIKitExtension/QXUIKitExtension/QXMessageView.swift | labi3285/QXUIKitExtension | 40294565179b63b99eb56164128f0bb56a95a5e3 | [
"MIT"
] | null | null | null | QXUIKitExtension/QXUIKitExtension/QXMessageView.swift | labi3285/QXUIKitExtension | 40294565179b63b99eb56164128f0bb56a95a5e3 | [
"MIT"
] | null | null | null | //
// QXMessageView.swift
// QXUIKitExtension
//
// Created by labi3285 on 2019/7/22.
// Copyright © 2019 labi3285_lab. All rights reserved.
//
import UIKit
import QXMessageView
extension UIViewController {
open func showLoading(msg: String?) {
_ = QXMessageView.demoLoading(msg: msg, superview: view)
... | 31.672414 | 80 | 0.608057 |
7b6fb30294d4065ab74d86ed81cd3052400c68ad | 468 | asm | Assembly | programs/oeis/006/A006579.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/006/A006579.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/006/A006579.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A006579: Sum of gcd(n,k) for k = 1 to n-1.
; 0,1,2,4,4,9,6,12,12,17,10,28,12,25,30,32,16,45,18,52,44,41,22,76,40,49,54,76,28,105,30,80,72,65,82,132,36,73,86,140,40,153,42,124,144,89,46,192,84,145,114,148,52,189,134,204,128,113,58,300,60,121,210,192,160,249,66,196,156,281,70,348,72,145,250,220,196,297,78,352,216,161,8... | 39 | 342 | 0.649573 |
6b4530cbdedacf29af3710b3ec835ded4645f5a6 | 2,059 | kt | Kotlin | buildSrc/src/main/kotlin/JmhPlugin.kt | kennethshackleton/selekt | 2da36da1916381b1406f360031a4ff76fcbdee9d | [
"ECL-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | 24 | 2020-07-24T20:33:07.000Z | 2022-03-16T13:40:14.000Z | buildSrc/src/main/kotlin/JmhPlugin.kt | kennethshackleton/selekt | 2da36da1916381b1406f360031a4ff76fcbdee9d | [
"ECL-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | 166 | 2021-01-02T18:27:16.000Z | 2022-03-25T22:01:29.000Z | buildSrc/src/main/kotlin/JmhPlugin.kt | kennethshackleton/selekt | 2da36da1916381b1406f360031a4ff76fcbdee9d | [
"ECL-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | 9 | 2020-07-28T07:18:43.000Z | 2022-02-26T08:46:28.000Z | /*
* Copyright 2021 Bloomberg Finance L.P.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 35.5 | 105 | 0.619233 |
585347f12540af3ae76898dfd35cce373bfff284 | 3,336 | h | C | bishrpg/Source/bishrpg/Battle/BattleCommandQueue.h | myumoon/bishrpg | 5c2d2b731315f4c1ac4a4f71523c7d75b0b3dd5e | [
"Apache-2.0"
] | null | null | null | bishrpg/Source/bishrpg/Battle/BattleCommandQueue.h | myumoon/bishrpg | 5c2d2b731315f4c1ac4a4f71523c7d75b0b3dd5e | [
"Apache-2.0"
] | null | null | null | bishrpg/Source/bishrpg/Battle/BattleCommandQueue.h | myumoon/bishrpg | 5c2d2b731315f4c1ac4a4f71523c7d75b0b3dd5e | [
"Apache-2.0"
] | null | null | null | // Copyright © 2018 nekoatsume_atsuko. All rights reserved.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "SharedPointer.h"
#include "System/CharacterStatus.h"
#include "GameData/SkillData.h"
#include "BattleDataType.h"
#include "BattleData.h"
#include "BattleObjectH... | 26.267717 | 83 | 0.731715 |
c7f93d1ded9da87304f5856add07eb386f773f40 | 2,284 | java | Java | libraries/gffs-structure/trunk/src/edu/virginia/vcgr/genii/security/axis/AxisTrustCredential.java | genesis-2/trunk | 9a6b34e8531ef0a1614ee48802b037df6e4fa2d7 | [
"Apache-2.0"
] | 1 | 2022-03-16T16:36:00.000Z | 2022-03-16T16:36:00.000Z | libraries/gffs-structure/trunk/src/edu/virginia/vcgr/genii/security/axis/AxisTrustCredential.java | lancium/GenesisII-public | b8fbdf2881fa125a73ff7d5799bf33e1b5076d6e | [
"Apache-2.0"
] | 1 | 2021-06-04T02:05:42.000Z | 2021-06-04T02:05:42.000Z | libraries/gffs-structure/trunk/src/edu/virginia/vcgr/genii/security/axis/AxisTrustCredential.java | lancium/GenesisII-Stale-DO-NOT-USE | d0cd1b4502145ef94527459d3d3055800f482250 | [
"Apache-2.0"
] | null | null | null | package edu.virginia.vcgr.genii.security.axis;
import java.security.GeneralSecurityException;
import javax.xml.soap.SOAPException;
import org.apache.axis.message.MessageElement;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.ws.security.message.token.BinarySecu... | 32.628571 | 130 | 0.795534 |
502a2b47deb023cea34ad38ac69751e525d6a81d | 979 | go | Go | acct.go | woodada/woow | 6f5f5d2911cb812d4f636520fe9b081125da9ae7 | [
"MIT"
] | null | null | null | acct.go | woodada/woow | 6f5f5d2911cb812d4f636520fe9b081125da9ae7 | [
"MIT"
] | null | null | null | acct.go | woodada/woow | 6f5f5d2911cb812d4f636520fe9b081125da9ae7 | [
"MIT"
] | null | null | null | package woow
import (
"sync"
)
var _ sync.Locker = (*AccountStore)(nil) // nocopy
func (this AccountStore) Lock() {} // nocopy
func (this AccountStore) Unlock() {} // nocopy
// 线程安全的账号/密码
type AccountStore struct {
d map[string]string
m sync.RWMutex
}
func NewAccountStore(accts map[string]... | 18.826923 | 64 | 0.599591 |
b2c14d3bb32a9d0a97a9d773d034e8784a7e69a4 | 5,641 | py | Python | lljs.py | Peter9192/wind_analytics | 604136be1c2ef1155bdb7579c7d123525dbe10d8 | [
"Apache-2.0"
] | null | null | null | lljs.py | Peter9192/wind_analytics | 604136be1c2ef1155bdb7579c7d123525dbe10d8 | [
"Apache-2.0"
] | null | null | null | lljs.py | Peter9192/wind_analytics | 604136be1c2ef1155bdb7579c7d123525dbe10d8 | [
"Apache-2.0"
] | null | null | null | """ Identify low-level jets in wind profile data.
Peter Kalverla
December 2020
"""
import numpy as np
import xarray as xr
def detect_llj(x, axis=None, falloff=0, output='strength', inverse=False):
""" Identify maxima in wind profiles.
args:
- x : ndarray with wind profile data
-... | 34.820988 | 80 | 0.591916 |
3bd8b4d4ca9fbeac20642d83b943c8b2fd059fef | 2,489 | h | C | samples/_opengl/NVidiaComputeParticles/include/Ssbo.h | rsh/Cinder-Emscripten | 4a08250c56656865c7c3a52fb9380980908b1439 | [
"BSD-2-Clause"
] | 3,494 | 2015-01-02T08:42:09.000Z | 2022-03-31T14:16:23.000Z | samples/_opengl/NVidiaComputeParticles/include/Ssbo.h | rsh/Cinder-Emscripten | 4a08250c56656865c7c3a52fb9380980908b1439 | [
"BSD-2-Clause"
] | 1,284 | 2015-01-02T07:31:47.000Z | 2022-03-30T02:06:43.000Z | samples/_opengl/NVidiaComputeParticles/include/Ssbo.h | rsh/Cinder-Emscripten | 4a08250c56656865c7c3a52fb9380980908b1439 | [
"BSD-2-Clause"
] | 780 | 2015-01-02T22:14:29.000Z | 2022-03-30T00:16:56.000Z | #pragma once
#include "cinder/gl/BufferObj.h"
#if defined( CINDER_MSW ) || defined( CINDER_LINUX )
class Ssbo;
typedef std::shared_ptr<Ssbo> SsboRef;
class Ssbo : public ci::gl::BufferObj {
public:
//! Creates a shader storage buffer object with storage for \a allocationSize bytes, and filled with data \a data if ... | 36.072464 | 161 | 0.705504 |
3d36ec6dac466dc5beb3503b08a591e7990b7aa8 | 526 | go | Go | doc.go | tkrishnaviant/dsunit | debe38410fb68d5fcc7c9a4cee5d889f98110e57 | [
"Apache-2.0"
] | 49 | 2016-09-03T05:12:32.000Z | 2021-10-17T19:42:26.000Z | doc.go | tkrishnaviant/dsunit | debe38410fb68d5fcc7c9a4cee5d889f98110e57 | [
"Apache-2.0"
] | 6 | 2017-02-10T17:04:59.000Z | 2019-07-04T10:27:52.000Z | doc.go | tkrishnaviant/dsunit | debe38410fb68d5fcc7c9a4cee5d889f98110e57 | [
"Apache-2.0"
] | 9 | 2017-02-08T02:28:54.000Z | 2021-12-04T13:37:38.000Z | // Package dsunit - Datastore testing library.
package dsunit
/*
DsUnit provides ability to build integration tests with the final datastore used by your application/ETL process.
No mocking, but actual test against various datastores likes sql RDBMS, Aerospike, BigQuery and structured transaction/log files.
Usage:... | 22.869565 | 129 | 0.754753 |
08963ea78b7a7c8e6fdbd6c088271a84b9c0754d | 5,743 | go | Go | pkg/langserver/diagnostics.go | lizelive/yodk | dc37d204598e1ff39ccbbd3bec5ba897486c2df6 | [
"MIT"
] | 59 | 2019-11-19T08:58:08.000Z | 2021-10-02T20:23:48.000Z | pkg/langserver/diagnostics.go | lizelive/yodk | dc37d204598e1ff39ccbbd3bec5ba897486c2df6 | [
"MIT"
] | 114 | 2019-11-05T08:15:53.000Z | 2021-12-27T21:20:52.000Z | pkg/langserver/diagnostics.go | lizelive/yodk | dc37d204598e1ff39ccbbd3bec5ba897486c2df6 | [
"MIT"
] | 14 | 2020-08-01T17:42:41.000Z | 2021-10-21T04:24:45.000Z | package langserver
import (
"context"
"log"
"net/url"
"path/filepath"
"strings"
"github.com/dbaumgarten/yodk/pkg/lsp"
"github.com/dbaumgarten/yodk/pkg/nolol"
"github.com/dbaumgarten/yodk/pkg/nolol/nast"
"github.com/dbaumgarten/yodk/pkg/optimizers"
"github.com/dbaumgarten/yodk/pkg/parser"
"github.com/dbaumg... | 27.218009 | 118 | 0.705032 |
39f6f969a3f8d7cc74240837ebf66d2fe87f7126 | 3,616 | java | Java | backend/SpringJWT/src/main/java/com/codingdojo/springjwt/security/SecurityConfig.java | renatogm24/enelmarket_fs | 64bc82b6694c7355b7ed791cae4f536f34c67977 | [
"OLDAP-2.6"
] | null | null | null | backend/SpringJWT/src/main/java/com/codingdojo/springjwt/security/SecurityConfig.java | renatogm24/enelmarket_fs | 64bc82b6694c7355b7ed791cae4f536f34c67977 | [
"OLDAP-2.6"
] | null | null | null | backend/SpringJWT/src/main/java/com/codingdojo/springjwt/security/SecurityConfig.java | renatogm24/enelmarket_fs | 64bc82b6694c7355b7ed791cae4f536f34c67977 | [
"OLDAP-2.6"
] | null | null | null | package com.codingdojo.springjwt.security;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpMethod;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.config.an... | 50.929577 | 272 | 0.826604 |
62725e36e9c4383385bbd866c1009e735beeb419 | 2,979 | rs | Rust | lexical-core/src/itoa/naive.rs | ignatenkobrain/rust-lexical | fefe81850e5678450ec0f001f562b182694caadf | [
"Apache-2.0",
"MIT"
] | null | null | null | lexical-core/src/itoa/naive.rs | ignatenkobrain/rust-lexical | fefe81850e5678450ec0f001f562b182694caadf | [
"Apache-2.0",
"MIT"
] | null | null | null | lexical-core/src/itoa/naive.rs | ignatenkobrain/rust-lexical | fefe81850e5678450ec0f001f562b182694caadf | [
"Apache-2.0",
"MIT"
] | null | null | null | //! Slow, simple lexical integer-to-string conversion routine.
use util::*;
// Naive itoa algorithm.
macro_rules! naive_algorithm {
($value:ident, $radix:ident, $buffer:ident, $index:ident) => ({
while $value >= $radix {
let r = ($value % $radix).as_usize();
$value /= $radix;
... | 30.090909 | 75 | 0.598187 |
5b1f06553c29aa06cb030c9a1aef72fc1dd58138 | 3,204 | h | C | Engine/Source/Editor/UnrealEd/Public/MatineeExporter.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | Engine/Source/Editor/UnrealEd/Public/MatineeExporter.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | Engine/Source/Editor/UnrealEd/Public/MatineeExporter.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
Matinee exporter for Unreal Engine 3.
=============================================================================*/
#ifndef __MATINEEEXPORTER_H__
#define __MATINEEEXPORTER_H_... | 26.92437 | 126 | 0.69382 |
330e71b3b4bc8bea5b484ce2931ef4411a75120b | 2,311 | py | Python | 2d-lin_sep.py | rzepinskip/optimization-svm | 9682980e19d5fc9f09353aa1284e86874e954aec | [
"MIT"
] | null | null | null | 2d-lin_sep.py | rzepinskip/optimization-svm | 9682980e19d5fc9f09353aa1284e86874e954aec | [
"MIT"
] | 2 | 2020-01-16T21:35:43.000Z | 2020-03-24T18:02:41.000Z | 2d-lin_sep.py | rzepinskip/optimization-svm | 9682980e19d5fc9f09353aa1284e86874e954aec | [
"MIT"
] | null | null | null | import numpy as np
from matplotlib import pyplot as plt
from optsvm.svm import SVM
x_neg = np.array([[3, 4], [1, 4], [2, 3]])
y_neg = np.array([-1, -1, -1])
x_pos = np.array([[6, -1], [7, -1], [5, -3]])
y_pos = np.array([1, 1, 1])
x1 = np.linspace(-10, 10)
x = np.vstack((np.linspace(-10, 10), np.linspace(-10, 10)))
#... | 30.012987 | 85 | 0.568585 |
26940166a9ca6443227b0ee06f77f5a4332612b9 | 413 | java | Java | johnson-codegen/src/main/java/com/github/johnson/codegen/visitors/ContainsObjectType.java | ewanld/johnson-runtime | 897af704b11453ce7c2608fadabdd00723487da2 | [
"MIT"
] | null | null | null | johnson-codegen/src/main/java/com/github/johnson/codegen/visitors/ContainsObjectType.java | ewanld/johnson-runtime | 897af704b11453ce7c2608fadabdd00723487da2 | [
"MIT"
] | null | null | null | johnson-codegen/src/main/java/com/github/johnson/codegen/visitors/ContainsObjectType.java | ewanld/johnson-runtime | 897af704b11453ce7c2608fadabdd00723487da2 | [
"MIT"
] | null | null | null | package com.github.johnson.codegen.visitors;
import com.github.johnson.codegen.JohnsonTypeVisitor;
import com.github.johnson.codegen.types.ObjectType;
public class ContainsObjectType extends JohnsonTypeVisitor {
private boolean result = false;
@Override
public boolean enterObject(ObjectType type) {
re... | 21.736842 | 61 | 0.748184 |
c4188b2bee9792b7bd57e327e0a521e263541b3e | 872 | h | C | src/saiga/vulkan/window/SDLWindow.h | SimonMederer/saiga | ff167e60c50b1cead4d19eb5ab2e93acce8c42a3 | [
"MIT"
] | null | null | null | src/saiga/vulkan/window/SDLWindow.h | SimonMederer/saiga | ff167e60c50b1cead4d19eb5ab2e93acce8c42a3 | [
"MIT"
] | null | null | null | src/saiga/vulkan/window/SDLWindow.h | SimonMederer/saiga | ff167e60c50b1cead4d19eb5ab2e93acce8c42a3 | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2017 Darius Rückert
* Licensed under the MIT License.
* See LICENSE file for more information.
*/
#pragma once
#include "saiga/vulkan/window/Window.h"
#ifndef SAIGA_USE_SDL
# error Saiga was compiled without SDL2.
#endif
typedef struct SDL_Window SDL_Window;
namespace Saiga
{
namespac... | 20.27907 | 89 | 0.739679 |
4155a6bab7f219fc24011b64f03620b6c9756b3b | 757 | c | C | bsp/mini2440/drivers/led.c | Davidfind/rt-thread | 56f1a8af4f9e8bad0a0fdc5cea7112767267b243 | [
"Apache-2.0"
] | 10 | 2019-12-23T07:18:27.000Z | 2020-12-19T04:35:43.000Z | bsp/mini2440/drivers/led.c | zlzerg/rt-thread | c0a400ccbee720fc0e9ee904298f09bd07a21382 | [
"Apache-2.0"
] | 5 | 2019-02-28T10:07:03.000Z | 2019-03-11T10:40:20.000Z | bsp/mini2440/drivers/led.c | zlzerg/rt-thread | c0a400ccbee720fc0e9ee904298f09bd07a21382 | [
"Apache-2.0"
] | 7 | 2019-07-01T02:50:47.000Z | 2020-12-11T10:01:07.000Z | /*
* File : led.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Develop Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
*
* Change Logs:
* Date Author ... | 18.02381 | 58 | 0.603699 |
cb422790ff0ec8ad2a11af8baeb1ef73f0570744 | 354 | h | C | ShenShengYi/platform/School/generate/STLGenerateScore.h | shenshengyi/ShenShengYi | 0b16b555d498c0bd17dd16f830343a5f2a1fd4e1 | [
"MIT"
] | null | null | null | ShenShengYi/platform/School/generate/STLGenerateScore.h | shenshengyi/ShenShengYi | 0b16b555d498c0bd17dd16f830343a5f2a1fd4e1 | [
"MIT"
] | null | null | null | ShenShengYi/platform/School/generate/STLGenerateScore.h | shenshengyi/ShenShengYi | 0b16b555d498c0bd17dd16f830343a5f2a1fd4e1 | [
"MIT"
] | null | null | null | #pragma once
#include <random>
#include "GenerateScore.h"
namespace STU
{
class STLGenerateScore:public GenerateScore
{
public:
STLGenerateScore(void);
int GenerateLanguage(void)override;
int GenerateMath(void)override;
int GenerateComprehensive(void)override;
int GenerateEnglish(void)override;
private:
... | 18.631579 | 44 | 0.774011 |
44a9e0833d46f9f911eea2f0e43396b6408e3ba6 | 377 | kt | Kotlin | src/main/kotlin/ui/util/Color.kt | wooodenleg/TwitchWheelOfFortune | 49e87426209fca31099879c579325a75ed70c4f4 | [
"MIT"
] | null | null | null | src/main/kotlin/ui/util/Color.kt | wooodenleg/TwitchWheelOfFortune | 49e87426209fca31099879c579325a75ed70c4f4 | [
"MIT"
] | null | null | null | src/main/kotlin/ui/util/Color.kt | wooodenleg/TwitchWheelOfFortune | 49e87426209fca31099879c579325a75ed70c4f4 | [
"MIT"
] | null | null | null | package ui.util
import androidx.compose.ui.graphics.Color
import kotlin.random.Random
fun getColorFromHexString(colorString: String): Color? =
if (colorString.isBlank()) null
else Color(colorString.removePrefix("#").toInt(16))
.copy(alpha = 1f)
fun randomColor() = Color(
Random.nextInt(0, 255),
... | 23.5625 | 56 | 0.697613 |
3d3926670b7280098200bc859d21ea9a5a85355b | 4,863 | go | Go | gen3-client/mocks/mock_gen3interface.go | uc-cdis/cdis-data-client | c53fa53f70b9abb6d0224309feaecded72c91065 | [
"Apache-2.0"
] | 5 | 2019-10-04T15:10:01.000Z | 2021-12-08T17:57:55.000Z | gen3-client/mocks/mock_gen3interface.go | uc-cdis/cdis-data-client | c53fa53f70b9abb6d0224309feaecded72c91065 | [
"Apache-2.0"
] | 23 | 2018-04-30T18:44:36.000Z | 2021-07-15T20:52:01.000Z | gen3-client/mocks/mock_gen3interface.go | uc-cdis/cdis-data-client | c53fa53f70b9abb6d0224309feaecded72c91065 | [
"Apache-2.0"
] | 6 | 2018-10-04T17:15:53.000Z | 2022-03-08T18:00:05.000Z | // Code generated by MockGen. DO NOT EDIT.
// Source: github.com/uc-cdis/gen3-client/gen3-client/g3cmd (interfaces: Gen3Interface)
// Package mocks is a generated GoMock package.
package mocks
import (
bytes "bytes"
gomock "github.com/golang/mock/gomock"
jwt "github.com/uc-cdis/gen3-client/gen3-client/jwt"
http "... | 41.211864 | 176 | 0.754473 |
156ea1e592dc84cedc6b646197a06aa5573e56d1 | 1,366 | rb | Ruby | spec/key_config_spec.rb | hortoncd/rubikey | a62595a2d68da7716127f171daa8e6d138a469a5 | [
"MIT"
] | 2 | 2015-03-18T19:12:20.000Z | 2015-03-30T03:36:37.000Z | spec/key_config_spec.rb | hortoncd/rubikey | a62595a2d68da7716127f171daa8e6d138a469a5 | [
"MIT"
] | null | null | null | spec/key_config_spec.rb | hortoncd/rubikey | a62595a2d68da7716127f171daa8e6d138a469a5 | [
"MIT"
] | 1 | 2022-03-03T19:34:45.000Z | 2022-03-03T19:34:45.000Z | require 'spec_helper'
describe "KeyConfig" do
context 'when initialization succeeded' do
let(:key_config) { Rubikey::KeyConfig.new('enrlucvketdlfeknvrdggingjvrggeffenhevendbvgd', '4013a2c719c4e9734bbc63048b00e16b') }
it "has the expected public yubikey id" do
expect(key_config.public_id)... | 32.52381 | 131 | 0.698389 |
95a092f82d2ee6e4f00899a239aa1b203d18bbff | 4,032 | css | CSS | assets/style.css | cabadam/stfc-galaxy-map | 27230ff82d451672ee09764ae74725fb9b3aeb6b | [
"MIT"
] | null | null | null | assets/style.css | cabadam/stfc-galaxy-map | 27230ff82d451672ee09764ae74725fb9b3aeb6b | [
"MIT"
] | null | null | null | assets/style.css | cabadam/stfc-galaxy-map | 27230ff82d451672ee09764ae74725fb9b3aeb6b | [
"MIT"
] | null | null | null |
.leaflet-container {
background-color:rgba(0,0,0,0);
}
body {
padding: 0;
margin: 0;
background: #000;
}
body > #map-wrapper {
position: fixed;
top: calc(50px + 1em);
bottom: 0.1em;
right: 0;
left: 0;
vertical-align: top;
}
#map {
height: 100%;
width: 100%;
float:... | 18.410959 | 86 | 0.619048 |
c373b5a0fd5c1679ebc54c5afb641d96088e1c47 | 294 | swift | Swift | Swift/RemainingWork/WeatherForecast/WeatherForecast/Source/Helper/Extension/StringExtension.swift | JoongChangYang/TIL | b2a773dc31af54620fd83da9e487495099febcf5 | [
"MIT"
] | null | null | null | Swift/RemainingWork/WeatherForecast/WeatherForecast/Source/Helper/Extension/StringExtension.swift | JoongChangYang/TIL | b2a773dc31af54620fd83da9e487495099febcf5 | [
"MIT"
] | null | null | null | Swift/RemainingWork/WeatherForecast/WeatherForecast/Source/Helper/Extension/StringExtension.swift | JoongChangYang/TIL | b2a773dc31af54620fd83da9e487495099febcf5 | [
"MIT"
] | null | null | null | //
// StringExtension.swift
// WeatherForecast
//
// Created by Giftbot on 2020/02/22.
// Copyright © 2020 Giftbot. All rights reserved.
//
import UIKit
extension String {
func size(with font: UIFont) -> CGSize {
return (self as NSString).size(withAttributes: [.font : font])
}
}
| 18.375 | 66 | 0.673469 |
7c318cbf3ec8e34e91c19e67c122ca33d8a33b8c | 1,086 | rs | Rust | src/bench/simplex.rs | lfdoherty/noise | 015981c9fd16a4f8e167109afca0d1add926d39f | [
"Unlicense"
] | null | null | null | src/bench/simplex.rs | lfdoherty/noise | 015981c9fd16a4f8e167109afca0d1add926d39f | [
"Unlicense"
] | null | null | null | src/bench/simplex.rs | lfdoherty/noise | 015981c9fd16a4f8e167109afca0d1add926d39f | [
"Unlicense"
] | null | null | null | use std::rand::{ weak_rng, Rng, XorShiftRng };
use test::Bencher;
use gen::{ NoiseGen, Simplex };
#[bench]
fn bench_simplex_new(b: &mut Bencher) {
b.iter(|| {
Simplex::new();
})
}
#[bench]
fn bench_simplex_from_rng(b: &mut Bencher) {
let mut rng: XorShiftRng = weak_rng();
b.iter(|| {
... | 20.111111 | 46 | 0.550645 |
5004763133dad6b2d6fbf190fa6fc406650742ac | 431 | js | JavaScript | src/constants/about.js | joni43/Jonathan-Gatsby-Portfolio | 9ad70c63b2742b5efdf9d687c5a12805e1e44f7d | [
"MIT"
] | null | null | null | src/constants/about.js | joni43/Jonathan-Gatsby-Portfolio | 9ad70c63b2742b5efdf9d687c5a12805e1e44f7d | [
"MIT"
] | null | null | null | src/constants/about.js | joni43/Jonathan-Gatsby-Portfolio | 9ad70c63b2742b5efdf9d687c5a12805e1e44f7d | [
"MIT"
] | null | null | null | import React from 'react';
export default [
{
id:1,
title:'About me',
info:'Newly graduated Front-end Developer. The technologies I work with are JavaScript, HTML and CSS with a focus on the frameworks like React.js, Gatsby, Node and Express.',
skills:[ { id:1,title:'HTML' }, { id:2, title:'CSS' },{ id... | 39.181818 | 178 | 0.635731 |
936e79a4889ff962a789caa1412d40592d771ae5 | 2,926 | kt | Kotlin | src/main/kotlin/au/org/ala/cas/password/AlaPasswordEncoder.kt | bioatlas/ala-cas-5 | f185be0f27495d24350d94d1593e93ea5d9e4f1d | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/au/org/ala/cas/password/AlaPasswordEncoder.kt | bioatlas/ala-cas-5 | f185be0f27495d24350d94d1593e93ea5d9e4f1d | [
"Apache-2.0"
] | 33 | 2017-07-27T01:29:52.000Z | 2022-01-04T16:56:41.000Z | src/main/kotlin/au/org/ala/cas/password/AlaPasswordEncoder.kt | bioatlas/ala-cas-5 | f185be0f27495d24350d94d1593e93ea5d9e4f1d | [
"Apache-2.0"
] | 6 | 2019-05-10T07:37:33.000Z | 2020-11-26T11:14:38.000Z | package au.org.ala.cas.password
import au.org.ala.utils.*
import org.springframework.security.crypto.password.PasswordEncoder
import java.io.File
import java.io.FileNotFoundException
import java.util.*
/**
* Load the password encoding properties from a property source and use those properties to
* configure the ALA... | 47.193548 | 213 | 0.639098 |
0e27d6f63c054fd3eb97081c7bb8cfdedfe1db55 | 264 | sql | SQL | db/migrations/postgres/000012_create_commands.down.sql | vicky-demansol/mattermost-server | 770f7a8e5ad2694fda349a9c48339594df8f21fe | [
"Apache-2.0"
] | 1 | 2022-03-14T07:07:43.000Z | 2022-03-14T07:07:43.000Z | db/migrations/postgres/000012_create_commands.down.sql | vicky-demansol/mattermost-server | 770f7a8e5ad2694fda349a9c48339594df8f21fe | [
"Apache-2.0"
] | 2 | 2022-02-13T03:34:57.000Z | 2022-03-01T03:39:21.000Z | db/migrations/postgres/000012_create_commands.down.sql | vicky-demansol/mattermost-server | 770f7a8e5ad2694fda349a9c48339594df8f21fe | [
"Apache-2.0"
] | 1 | 2022-01-02T00:37:14.000Z | 2022-01-02T00:37:14.000Z | DROP INDEX IF EXISTS idx_commands_team_id;
DROP INDEX IF EXISTS idx_commands_update_at;
DROP INDEX IF EXISTS idx_commands_create_at;
DROP INDEX IF EXISTS idx_commands_delete_at;
ALTER TABLE commands DROP COLUMN IF EXISTS pluginid;
DROP TABLE IF EXISTS commands;
| 29.333333 | 52 | 0.844697 |
46b0264abb682d3a90ed2756ac161cbfb4df3889 | 265 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/building/mustafar/terrain/must_rock_smooth_05.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/object/custom_content/building/mustafar/terrain/must_rock_smooth_05.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/object/custom_content/building/mustafar/terrain/must_rock_smooth_05.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_building_mustafar_terrain_must_rock_smooth_05 = object_building_mustafar_terrain_shared_must_rock_smooth_05:new {
}
ObjectTemplates:addTemplate(object_building_mustafar_terrain_must_rock_smooth_05, "object/building/mustafar/terrain/must_rock_smooth_05.iff")
| 265 | 265 | 0.916981 |
396af061a2ad00461a778949e60dfa7b1a1f3e19 | 11,742 | html | HTML | docs/changelog.html | terrorizer1980/rest-api-client-ng | 883ce38c5f85e1114157f7c00dcd44aa2c3de061 | [
"Apache-2.0"
] | null | null | null | docs/changelog.html | terrorizer1980/rest-api-client-ng | 883ce38c5f85e1114157f7c00dcd44aa2c3de061 | [
"Apache-2.0"
] | null | null | null | docs/changelog.html | terrorizer1980/rest-api-client-ng | 883ce38c5f85e1114157f7c00dcd44aa2c3de061 | [
"Apache-2.0"
] | null | null | null | <!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>@senzing/rest-api-client-ng documentation</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, in... | 56.724638 | 251 | 0.716914 |
74c423b0615a787b16928792d3cd3d5a510ff816 | 597 | kt | Kotlin | tf-data/src/test/kotlin/edu/wpi/inndie/tfdata/loss/LossTest.kt | wpilibsuite/INNDiE | bf16091c29f3ba94a96e536a3872f1c87e023ddb | [
"BSD-3-Clause"
] | null | null | null | tf-data/src/test/kotlin/edu/wpi/inndie/tfdata/loss/LossTest.kt | wpilibsuite/INNDiE | bf16091c29f3ba94a96e536a3872f1c87e023ddb | [
"BSD-3-Clause"
] | 1 | 2020-05-09T19:55:05.000Z | 2020-05-09T19:55:17.000Z | tf-data/src/test/kotlin/edu/wpi/inndie/tfdata/loss/LossTest.kt | wpilibsuite/INNDiE | bf16091c29f3ba94a96e536a3872f1c87e023ddb | [
"BSD-3-Clause"
] | null | null | null | package edu.wpi.inndie.tfdata.loss
import io.kotlintest.shouldBe
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.provider.Arguments
import org.junit.jupiter.params.provider.MethodSource
internal class LossTest {
@ParameterizedTest
@MethodSource("lossSource")
fun `test se... | 23.88 | 60 | 0.701843 |
aef7e7c2a975620456846d7b4b268a42a96b390e | 1,501 | sql | SQL | sql/error_info.sql | pllua/pllua-deprecated | 942388ac518b6890063e8158c7f5eb52712a67f2 | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | sql/error_info.sql | pllua/pllua-deprecated | 942388ac518b6890063e8158c7f5eb52712a67f2 | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | sql/error_info.sql | pllua/pllua-deprecated | 942388ac518b6890063e8158c7f5eb52712a67f2 | [
"PostgreSQL",
"Unlicense",
"MIT"
] | 1 | 2021-06-24T02:03:18.000Z | 2021-06-24T02:03:18.000Z | do $$
local testfunc = function () error("my error") end
local f = function()
local status, err = pcall(testfunc)
if (err) then
error(err)
end
end
f()
$$language pllua;
create or replace function pg_temp.function_with_error() returns integer as $$
local testfunc = function () error("my error") end
local f = fu... | 18.530864 | 96 | 0.690207 |
2a6c1e4a87f00ccc33a6f86d1eef0950312e3c6a | 7,614 | java | Java | src/test/java/uk/ac/man/cs/eventlite/controllers/VenuesControllerWebTest.java | wuwenyuu/Explanatory_Web_Document | 230b7135aae814e1683052d776dc208c944644d3 | [
"BSD-3-Clause"
] | null | null | null | src/test/java/uk/ac/man/cs/eventlite/controllers/VenuesControllerWebTest.java | wuwenyuu/Explanatory_Web_Document | 230b7135aae814e1683052d776dc208c944644d3 | [
"BSD-3-Clause"
] | null | null | null | src/test/java/uk/ac/man/cs/eventlite/controllers/VenuesControllerWebTest.java | wuwenyuu/Explanatory_Web_Document | 230b7135aae814e1683052d776dc208c944644d3 | [
"BSD-3-Clause"
] | null | null | null | package uk.ac.man.cs.eventlite.controllers;
import static org.mockito.Mockito.*;
import static org.junit.Assert.assertEquals;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
import static org.s... | 32.126582 | 135 | 0.741003 |
6364a84db8d9c16cc598090ab621288ec02090e2 | 8,303 | kt | Kotlin | snakebroadcast/src/main/java/com/uiza/sdkbroadcast/helpers/ICameraHelper.kt | uizaio/snake.android.sdk | 681adca006f61e38151cf73cf711a951f05c57dc | [
"BSD-2-Clause"
] | null | null | null | snakebroadcast/src/main/java/com/uiza/sdkbroadcast/helpers/ICameraHelper.kt | uizaio/snake.android.sdk | 681adca006f61e38151cf73cf711a951f05c57dc | [
"BSD-2-Clause"
] | null | null | null | snakebroadcast/src/main/java/com/uiza/sdkbroadcast/helpers/ICameraHelper.kt | uizaio/snake.android.sdk | 681adca006f61e38151cf73cf711a951f05c57dc | [
"BSD-2-Clause"
] | null | null | null | package com.uiza.sdkbroadcast.helpers
import android.content.Context
import android.view.MotionEvent
import com.pedro.encoder.input.gl.render.filters.BaseFilterRender
import com.pedro.encoder.input.video.CameraHelper.Facing
import com.pedro.rtplibrary.view.OpenGlView
import com.uiza.sdkbroadcast.interfaces.UZCameraCha... | 28.829861 | 111 | 0.657473 |
12036287e7a0adbc31ddb66322788b5aeb5f2aed | 1,607 | swift | Swift | iOS/Model/MarkerFileDatabase.swift | huwr/Marker | 078a53323126764b54e5b069c487355cec584963 | [
"MIT"
] | 2 | 2017-11-18T03:52:21.000Z | 2021-05-21T06:36:33.000Z | iOS/Model/MarkerFileDatabase.swift | huwr/Marker | 078a53323126764b54e5b069c487355cec584963 | [
"MIT"
] | null | null | null | iOS/Model/MarkerFileDatabase.swift | huwr/Marker | 078a53323126764b54e5b069c487355cec584963 | [
"MIT"
] | null | null | null | //
// FileMarkerDatabase.swift
// Emergency Markers
//
// Created by Huw Rowlands on 15/8/18.
// Copyright © 2018 Huw Rowlands. All rights reserved.
//
import Foundation
import CoreLocation
private func loadFromFile() -> Data? {
guard let path = Bundle.main.path(forResource: "Marker", ofType: "json"),
... | 23.985075 | 101 | 0.559428 |
3e9acd35a30bd0635fcc0f37a98830a349777439 | 3,079 | kt | Kotlin | shared/src/main/java/com/elbehiry/shared/di/LocationModule.kt | Elbehiry/DiningFinder | 67f78b6fd9ea75195f4aafd418ef8f03c3f8b120 | [
"Apache-2.0"
] | null | null | null | shared/src/main/java/com/elbehiry/shared/di/LocationModule.kt | Elbehiry/DiningFinder | 67f78b6fd9ea75195f4aafd418ef8f03c3f8b120 | [
"Apache-2.0"
] | null | null | null | shared/src/main/java/com/elbehiry/shared/di/LocationModule.kt | Elbehiry/DiningFinder | 67f78b6fd9ea75195f4aafd418ef8f03c3f8b120 | [
"Apache-2.0"
] | 2 | 2021-07-24T20:56:00.000Z | 2022-03-07T20:56:49.000Z | /*
* Copyright 2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 33.107527 | 90 | 0.772004 |
1a69af1059bc0bbffaaccd4dcaea3321ab0d1ea4 | 157 | rs | Rust | src/game_data/types/game_data.rs | Shfty/quarchitect | 3d491bb52b9789641d8a441c3b416f0572215e4a | [
"MIT"
] | 5 | 2021-04-21T10:43:44.000Z | 2021-08-03T13:40:15.000Z | src/game_data/types/game_data.rs | QodotPlugin/quarchitect | 3d491bb52b9789641d8a441c3b416f0572215e4a | [
"MIT"
] | 1 | 2021-06-23T18:31:28.000Z | 2021-06-23T18:31:28.000Z | src/game_data/types/game_data.rs | QodotPlugin/quarchitect | 3d491bb52b9789641d8a441c3b416f0572215e4a | [
"MIT"
] | 1 | 2021-04-22T10:11:49.000Z | 2021-04-22T10:11:49.000Z | #[derive(Debug)]
pub struct GameData {
pub entities: Vec<crate::game_data::Entity>,
pub worldspawn_layers: Vec<crate::game_data::WorldspawnLayer>,
}
| 26.166667 | 66 | 0.726115 |
53c89f3d56263451c8685a7925104ff9e5104248 | 2,680 | java | Java | jetty-quic/quic-quiche/quic-quiche-foreign-incubator/src/main/java/org/eclipse/jetty/quic/quiche/foreign/incubator/ForeignIncubatorQuicheBinding.java | joschi/jetty.project | ce0d3c7b8d3943720f7d55b8d36e7035af0dab02 | [
"Apache-2.0"
] | null | null | null | jetty-quic/quic-quiche/quic-quiche-foreign-incubator/src/main/java/org/eclipse/jetty/quic/quiche/foreign/incubator/ForeignIncubatorQuicheBinding.java | joschi/jetty.project | ce0d3c7b8d3943720f7d55b8d36e7035af0dab02 | [
"Apache-2.0"
] | 32 | 2022-02-15T04:33:42.000Z | 2022-03-31T04:39:24.000Z | jetty-quic/quic-quiche/quic-quiche-foreign-incubator/src/main/java/org/eclipse/jetty/quic/quiche/foreign/incubator/ForeignIncubatorQuicheBinding.java | joschi/jetty.project | ce0d3c7b8d3943720f7d55b8d36e7035af0dab02 | [
"Apache-2.0"
] | 1 | 2022-03-03T05:49:59.000Z | 2022-03-03T05:49:59.000Z | //
// ========================================================================
// Copyright (c) 1995-2022 Mort Bay Consulting Pty Ltd and others.
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License v. 2.0 which is available at
// https://www.eclipse.org/... | 32.289157 | 174 | 0.673507 |
df8b7b2c3a4ff09ac53b438a33fe392728410706 | 729 | kt | Kotlin | src/jvmMain/kotlin/com/bkahlert/kommons/text/CodePoints.kt | bkahlert/koodies | 35e2ac1c4246decdf7e7a1160bfdd5c9e28fd066 | [
"MIT"
] | 7 | 2020-12-20T10:47:06.000Z | 2021-08-03T14:21:57.000Z | src/jvmMain/kotlin/com/bkahlert/kommons/text/CodePoints.kt | bkahlert/koodies | 35e2ac1c4246decdf7e7a1160bfdd5c9e28fd066 | [
"MIT"
] | 42 | 2021-08-25T16:22:09.000Z | 2022-03-21T16:22:37.000Z | src/jvmMain/kotlin/com/bkahlert/kommons/text/CodePoints.kt | bkahlert/koodies | 35e2ac1c4246decdf7e7a1160bfdd5c9e28fd066 | [
"MIT"
] | null | null | null | package com.bkahlert.kommons.text
/**
* Contains the name of this code point
*/
public val CodePoint.unicodeName: String get() = Unicode[codePoint.toLong()]
/**
* The Unicode name, e.g. `LINE SEPARATOR`
*/
public val CodePoint.formattedName: String get() = "❲$unicodeName❳"
/**
* Contains the character pointed ... | 28.038462 | 81 | 0.725652 |
9bdc2389a97d98de9e70e5fa8bcf8517bf517c7a | 353 | js | JavaScript | src/loops/prender-viewers.js | omarkdev/levxyca-pandadomalbot | a19e8975edfdb03acd258526082923c07eafb12d | [
"MIT"
] | null | null | null | src/loops/prender-viewers.js | omarkdev/levxyca-pandadomalbot | a19e8975edfdb03acd258526082923c07eafb12d | [
"MIT"
] | null | null | null | src/loops/prender-viewers.js | omarkdev/levxyca-pandadomalbot | a19e8975edfdb03acd258526082923c07eafb12d | [
"MIT"
] | null | null | null | const { client } = require('../core/twitch_client');
const { jail } = require('../queues/jail');
module.exports = {
interval: 600000, // 10min
async execute() {
await jail(async (j) => {
const username = await j.arrest();
if (username) {
await client.say(process.env.CHANNEL, `Prendeu ${user... | 23.533333 | 69 | 0.569405 |
f8bcbe5a7e01fbc3a9aec6396fb6cc735f5c8955 | 3,839 | swift | Swift | NMBasic/Classes/BasicManagers/BasicSQLiteDBManager.swift | nahlam/NMBasic | f8f492934e4cd195757edc4866bef0c0f49fde8e | [
"MIT"
] | null | null | null | NMBasic/Classes/BasicManagers/BasicSQLiteDBManager.swift | nahlam/NMBasic | f8f492934e4cd195757edc4866bef0c0f49fde8e | [
"MIT"
] | null | null | null | NMBasic/Classes/BasicManagers/BasicSQLiteDBManager.swift | nahlam/NMBasic | f8f492934e4cd195757edc4866bef0c0f49fde8e | [
"MIT"
] | 1 | 2018-10-10T12:05:04.000Z | 2018-10-10T12:05:04.000Z | //
// BasicSQLiteDBManager.swift
// BasicFramework
//
// Created by Nahla Mortada on 7/5/17.
// Copyright © 2017 Nahla Mortada. All rights reserved.
//
import Foundation
import FMDB
open class BasicSQLiteDBManager: BasicManager {
// MARK: - DB File Methods
public class func copyDatabaseInto... | 36.561905 | 121 | 0.593123 |
75dec5d8ea01ed3df0200e2ca02c2673ca5f5cb2 | 939 | php | PHP | tests/Unit/Responses/LogoutResponseTest.php | vsemak/ewus-php | eacb912a33c2f83a0c1e8b7ba6f2c4c97866802f | [
"MIT"
] | 1 | 2020-10-02T11:26:23.000Z | 2020-10-02T11:26:23.000Z | tests/Unit/Responses/LogoutResponseTest.php | vsemak/ewus-php | eacb912a33c2f83a0c1e8b7ba6f2c4c97866802f | [
"MIT"
] | 2 | 2020-10-09T13:17:04.000Z | 2020-10-09T13:17:17.000Z | tests/Unit/Responses/LogoutResponseTest.php | etermed/ewus-php | 9ac3151f1fe5b4bc782a12b0bd16a70a0f8c912d | [
"MIT"
] | 1 | 2020-10-23T10:28:15.000Z | 2020-10-23T10:28:15.000Z | <?php
declare(strict_types=1);
namespace Tests\Unit\Responses;
use NGT\Ewus\Requests\LogoutRequest;
use NGT\Ewus\Responses\LogoutResponse;
use Tests\TestCase;
class LogoutResponseTest extends TestCase
{
/**
* The response instance.
*
* @var \NGT\Ewus\Responses\LogoutResponse
*/
private $... | 23.475 | 86 | 0.652822 |
b7896f67979e9832c3b6a13c309dbb8be4fc49cd | 356 | kt | Kotlin | platform-core/src/androidMain/kotlin/platform/Platform.kt | aSoft-Ltd/platform | 1b0e2a0d761ab96f4e4ea00205649681118a7212 | [
"MIT"
] | null | null | null | platform-core/src/androidMain/kotlin/platform/Platform.kt | aSoft-Ltd/platform | 1b0e2a0d761ab96f4e4ea00205649681118a7212 | [
"MIT"
] | null | null | null | platform-core/src/androidMain/kotlin/platform/Platform.kt | aSoft-Ltd/platform | 1b0e2a0d761ab96f4e4ea00205649681118a7212 | [
"MIT"
] | null | null | null | package platform
import android.os.Build
actual object Platform : ExecutionEnvironment(
name = Name.Android.name,
runner = Runner(
name = "ART",
version = Build.VERSION.RELEASE
),
os = OperatingSystem(
family = Name.Android.name,
version = Build.VERSION.RELEASE
),
... | 22.25 | 46 | 0.643258 |
8afcec773cd1bc7ce47947e7ceac95f3a045db30 | 7,662 | swift | Swift | CotEditor/Sources/Theme.swift | GetToSet/CotEditor | 95ccf52c22ae243f9bc9a5291062ba7cf1d298ce | [
"Apache-2.0"
] | 1 | 2021-12-24T02:55:33.000Z | 2021-12-24T02:55:33.000Z | CotEditor/Sources/Theme.swift | GetToSet/CotEditor | 95ccf52c22ae243f9bc9a5291062ba7cf1d298ce | [
"Apache-2.0"
] | null | null | null | CotEditor/Sources/Theme.swift | GetToSet/CotEditor | 95ccf52c22ae243f9bc9a5291062ba7cf1d298ce | [
"Apache-2.0"
] | null | null | null | //
// Theme.swift
//
// CotEditor
// https://coteditor.com
//
// Created by 1024jp on 2014-04-12.
//
// ---------------------------------------------------------------------------
//
// © 2014-2021 1024jp
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except i... | 26.884211 | 114 | 0.597494 |
f14ffd020b17c8f1a5a89a1bc7cc4ba4f22a988b | 38,965 | rb | Ruby | lib/orm_asciidoctor.rb | gvaish/orm_asciidoctor | f9b2fc999d4c620007462ee7b4bbe71beaf45de6 | [
"MIT"
] | 1 | 2017-01-16T06:06:53.000Z | 2017-01-16T06:06:53.000Z | lib/orm_asciidoctor.rb | gvaish/orm_asciidoctor | f9b2fc999d4c620007462ee7b4bbe71beaf45de6 | [
"MIT"
] | null | null | null | lib/orm_asciidoctor.rb | gvaish/orm_asciidoctor | f9b2fc999d4c620007462ee7b4bbe71beaf45de6 | [
"MIT"
] | null | null | null | RUBY_ENGINE = 'unknown' unless defined? RUBY_ENGINE
require 'strscan'
require 'set'
$:.unshift(File.dirname(__FILE__))
# Public: Methods for parsing Asciidoc input files and rendering documents
# using eRuby templates.
#
# Asciidoc documents comprise a header followed by zero or more sections.
# Sections are composed... | 36.759434 | 210 | 0.564943 |
cb804fc625cc6d1a8cbd566ee93fadc9ff267c81 | 2,875 | html | HTML | doc/goog.i18n.GraphemeBreak.property.html | buntarb/zz.ide | 3412613512fdf37f3657d6028662be3103e13f27 | [
"Apache-2.0"
] | null | null | null | doc/goog.i18n.GraphemeBreak.property.html | buntarb/zz.ide | 3412613512fdf37f3657d6028662be3103e13f27 | [
"Apache-2.0"
] | null | null | null | doc/goog.i18n.GraphemeBreak.property.html | buntarb/zz.ide | 3412613512fdf37f3657d6028662be3103e13f27 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"><meta http-equiv="Content-Language" content="en"><meta http-equiv="X-UA-Compatible" content="IE=edge"><link href="https://fonts.googleapis.com/icon?family=Material... | 410.714286 | 1,327 | 0.719304 |
16c71682f154cb16c6aea28122b678fc14940da9 | 310 | swift | Swift | exercises/practice/hello-world/Tests/HelloWorldTests/HelloWorldTests.swift | sanderploegsma/swift | fb6a55c2c07ef4d74b1ef2bf6cb93165df8dca49 | [
"MIT"
] | 60 | 2017-06-26T16:08:48.000Z | 2022-02-26T15:16:04.000Z | exercises/practice/hello-world/Tests/HelloWorldTests/HelloWorldTests.swift | sanderploegsma/swift | fb6a55c2c07ef4d74b1ef2bf6cb93165df8dca49 | [
"MIT"
] | 171 | 2017-06-18T19:14:55.000Z | 2022-03-23T08:00:47.000Z | exercises/practice/hello-world/Tests/HelloWorldTests/HelloWorldTests.swift | sanderploegsma/swift | fb6a55c2c07ef4d74b1ef2bf6cb93165df8dca49 | [
"MIT"
] | 92 | 2017-06-30T12:52:39.000Z | 2022-03-26T04:28:38.000Z | import XCTest
@testable import HelloWorld
class HelloWorldTests: XCTestCase {
func testHello() {
XCTAssertEqual(hello(), "Hello, World!")
}
static var allTests: [(String, (HelloWorldTests) -> () throws -> Void)] {
return [
("testHello", testHello),
]
}
}
| 19.375 | 77 | 0.580645 |
60c7ca41d7e76cfd557e8e1672fc983d162bf04c | 534 | sql | SQL | Develop/db/seeds.sql | RekhaLeelara/SQL_Challenger | 4aa10df117aaa8be5fdf94b6dfa3d11bc7dcc607 | [
"FTL"
] | null | null | null | Develop/db/seeds.sql | RekhaLeelara/SQL_Challenger | 4aa10df117aaa8be5fdf94b6dfa3d11bc7dcc607 | [
"FTL"
] | null | null | null | Develop/db/seeds.sql | RekhaLeelara/SQL_Challenger | 4aa10df117aaa8be5fdf94b6dfa3d11bc7dcc607 | [
"FTL"
] | null | null | null | INSERT INTO department (names)
VALUES
('IT'),
('Security'),
('Housecleaning'),
('Cafeteria'),
('Business'),
('Sales');
INSERT INTO roles (title, salary)
VALUES
('Manager', '90000'),
('Cleaning', '60000'),
('SalesRep', '80000'),
('SecurityGuard', '70000');
INSERT INTO employee (first_name, last... | 20.538462 | 69 | 0.614232 |
41568861c3bf7ef2c27f9cb48d580ec01f4f14bf | 614 | h | C | PrivateFrameworks/OfficeImport.framework/OCFont.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 36 | 2016-04-20T04:19:04.000Z | 2018-10-08T04:12:25.000Z | PrivateFrameworks/OfficeImport.framework/OCFont.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | null | null | null | PrivateFrameworks/OfficeImport.framework/OCFont.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 10 | 2016-06-16T02:40:44.000Z | 2019-01-15T03:31:45.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/OfficeImport.framework/OfficeImport
*/
@interface OCFont : NSObject {
bool _bold;
bool _italic;
OCFontSubfamily * _subfamily;
}
@property (nonatomic) bool bold;
@property (nonatomic) bool italic;
@property (nonatomic, readonly) ... | 23.615385 | 79 | 0.728013 |
74742b93c7de7495d4034dca7ff60b85193798b3 | 1,294 | h | C | python/pyUITextBitmap.h | indigames/igeScene | caf6e5c7575ac9fb4d7e887764707d4faa5d168e | [
"MIT"
] | null | null | null | python/pyUITextBitmap.h | indigames/igeScene | caf6e5c7575ac9fb4d7e887764707d4faa5d168e | [
"MIT"
] | null | null | null | python/pyUITextBitmap.h | indigames/igeScene | caf6e5c7575ac9fb4d7e887764707d4faa5d168e | [
"MIT"
] | null | null | null | #pragma once
#include <Python.h>
#include "components/Component.h"
#include "components/gui/UITextBitmap.h"
#include "python/pySpriteComponent.h"
#include "python/pyUIText.h"
namespace ige::scene
{
struct PyObject_UITextBitmap
{
PyObject_UIText super;
UITextBitmap* component;
};
// ... | 24.415094 | 79 | 0.732612 |
2da2c9fec65a6de33a09f33cac3ca23fc4c249f5 | 926 | html | HTML | Labs/09 - Lab/09_02/02_Task.html | sherali801/web_engineering | a179b86b67a25947b6403c81510693b3d1e87088 | [
"MIT"
] | null | null | null | Labs/09 - Lab/09_02/02_Task.html | sherali801/web_engineering | a179b86b67a25947b6403c81510693b3d1e87088 | [
"MIT"
] | null | null | null | Labs/09 - Lab/09_02/02_Task.html | sherali801/web_engineering | a179b86b67a25947b6403c81510693b3d1e87088 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<title>02 - Task</title>
</head>
<body>
<h1>String Demo</h1>
<table>
<tr>
<td><label for="inputString">Enter a String:</label></td>
<td><input type="text" name="inputString" id="inputString"></td>
</tr>
<tr>
<td><label for="result">Result:</label></t... | 29.870968 | 131 | 0.582073 |
b16d4ef54b6d58c0b719db02ca699414d58035fb | 6,165 | h | C | llvm/3.4.2/llvm-3.4.2.src/lib/Target/ARM/ARMBuildAttrs.h | tangyibin/goblin-core | 1940db6e95908c81687b2b22ddd9afbc8db9cdfe | [
"BSD-3-Clause"
] | 36 | 2015-01-13T19:34:04.000Z | 2022-03-07T22:22:15.000Z | llvm/3.4.2/llvm-3.4.2.src/lib/Target/ARM/ARMBuildAttrs.h | tangyibin/goblin-core | 1940db6e95908c81687b2b22ddd9afbc8db9cdfe | [
"BSD-3-Clause"
] | 7 | 2015-10-20T19:05:01.000Z | 2021-11-13T14:55:47.000Z | llvm/3.4.2/llvm-3.4.2.src/lib/Target/ARM/ARMBuildAttrs.h | tangyibin/goblin-core | 1940db6e95908c81687b2b22ddd9afbc8db9cdfe | [
"BSD-3-Clause"
] | 18 | 2015-04-23T20:59:52.000Z | 2021-11-18T20:06:39.000Z | //===-- ARMBuildAttrs.h - ARM Build Attributes ------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 36.052632 | 91 | 0.569181 |
c7e69669fbecf97882bb4557712e17e4f1bd3fb9 | 3,459 | java | Java | app/examples/json/util/UrlDemo.java | WilsonHo/play_examples | 3627c43b543776d20729e487b7a35d6ad3f7dd7e | [
"Apache-2.0"
] | null | null | null | app/examples/json/util/UrlDemo.java | WilsonHo/play_examples | 3627c43b543776d20729e487b7a35d6ad3f7dd7e | [
"Apache-2.0"
] | null | null | null | app/examples/json/util/UrlDemo.java | WilsonHo/play_examples | 3627c43b543776d20729e487b7a35d6ad3f7dd7e | [
"Apache-2.0"
] | null | null | null | package examples.json.util;
import org.apache.commons.lang3.StringUtils;
import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import ... | 33.911765 | 128 | 0.589188 |
ffda6cf7e1b43045a7414cd61c98c7f3bb90166f | 122 | html | HTML | pa1-skeleton/pa1-data/4/pangea.stanford.edu_courses_EESS146Bweb_Lab2pics.html | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | pa1-skeleton/pa1-data/4/pangea.stanford.edu_courses_EESS146Bweb_Lab2pics.html | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | pa1-skeleton/pa1-data/4/pangea.stanford.edu_courses_EESS146Bweb_Lab2pics.html | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | ocean circulation lab cylinder collapse 1 cylinder collapse 2 thermal wind 1 thermal wind 2 thermal wind 3 thermal wind 4
| 61 | 121 | 0.827869 |
5c7718ae7927b3f8f6bdf5343c1c185850689d84 | 2,257 | h | C | ulibdns/UMDnsResourceRecord.h | andreasfink/ulibdns | d94047e8ee554ed6266d60113214bd45e3dc882a | [
"MIT"
] | null | null | null | ulibdns/UMDnsResourceRecord.h | andreasfink/ulibdns | d94047e8ee554ed6266d60113214bd45e3dc882a | [
"MIT"
] | null | null | null | ulibdns/UMDnsResourceRecord.h | andreasfink/ulibdns | d94047e8ee554ed6266d60113214bd45e3dc882a | [
"MIT"
] | 1 | 2016-11-04T07:42:02.000Z | 2016-11-04T07:42:02.000Z | //
// UMDnsResourceRecord.h
// ulibdns
//
// Created by Andreas Fink on 31/08/15.
// Copyright © 2017 Andreas Fink (andreas@fink.org). All rights reserved.
//
#import <Foundation/Foundation.h>
#import <ulib/ulib.h>
#import "ulibdns_types.h"
#import "UMDnsName.h"
/*
All RRs have the same top level format shown bel... | 34.723077 | 108 | 0.410279 |
8c87108a7d058f5561659aef9c00226e47862c70 | 329 | asm | Assembly | programs/oeis/080/A080674.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/080/A080674.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/080/A080674.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A080674: a(n) = (4/3)*(4^n - 1).
; 0,4,20,84,340,1364,5460,21844,87380,349524,1398100,5592404,22369620,89478484,357913940,1431655764,5726623060,22906492244,91625968980,366503875924,1466015503700,5864062014804,23456248059220,93824992236884,375299968947540,1501199875790164,6004799503160660
mov $1,4
pow $1,$0
div $1,3
... | 41.125 | 255 | 0.793313 |
774984401bad7cd0a3205c7d006703a4db2f4295 | 5,572 | html | HTML | tutorials/react/class-siglos-vida.html | Rick-torrellas/tutorials-vanilla | c93a0a79918ce890063a17241185e3d3f57f7309 | [
"MIT"
] | null | null | null | tutorials/react/class-siglos-vida.html | Rick-torrellas/tutorials-vanilla | c93a0a79918ce890063a17241185e3d3f57f7309 | [
"MIT"
] | null | null | null | tutorials/react/class-siglos-vida.html | Rick-torrellas/tutorials-vanilla | c93a0a79918ce890063a17241185e3d3f57f7309 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Siglos de vida en classes</h1>
<pre><code>
class Clock ex... | 56.282828 | 651 | 0.647882 |
d0d5d666b88ea49fab85a7373d82742d94d51c39 | 541 | css | CSS | src/main/webapp/resources/css/heroku.css | anilmitsyd/trailhead | 2b3a19c8fd9e4a5f5389a799a7193997c58ffba7 | [
"BSD-3-Clause"
] | 142 | 2015-01-23T16:55:11.000Z | 2022-03-11T17:02:53.000Z | src/main/webapp/resources/css/heroku.css | anilmitsyd/trailhead | 2b3a19c8fd9e4a5f5389a799a7193997c58ffba7 | [
"BSD-3-Clause"
] | 46 | 2015-04-15T12:16:03.000Z | 2022-03-09T22:25:22.000Z | src/main/webapp/resources/css/heroku.css | anilmitsyd/trailhead | 2b3a19c8fd9e4a5f5389a799a7193997c58ffba7 | [
"BSD-3-Clause"
] | 109 | 2015-03-11T08:52:56.000Z | 2022-03-09T11:58:11.000Z | @import url("https://statics.herokuapp.com/fonts/fonts.css");
#heroku {
color: black;
float: right;
text-shadow: 0 1px 0 rgba(255, 255, 255, .1), 0 0 30px rgba(255, 255, 255, .125)
}
#heroku strong {
font-family: HybreaLight, "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
}
#getting-started ... | 17.451613 | 85 | 0.597043 |