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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
71c02be02c7b5bea67599e1c2c0585905de82f22 | 254 | sql | SQL | spesialist-felles/src/main/resources/db/migration/V161__fjern_carriage_returns_fra_fagsystemid_i_endimensjonale_kolonner.sql | navikt/helse-spesialist | e221266ef6c7edfd3335717925094aea11385c60 | [
"MIT"
] | null | null | null | spesialist-felles/src/main/resources/db/migration/V161__fjern_carriage_returns_fra_fagsystemid_i_endimensjonale_kolonner.sql | navikt/helse-spesialist | e221266ef6c7edfd3335717925094aea11385c60 | [
"MIT"
] | 10 | 2021-05-06T06:26:33.000Z | 2022-03-15T18:25:58.000Z | spesialist-felles/src/main/resources/db/migration/V161__fjern_carriage_returns_fra_fagsystemid_i_endimensjonale_kolonner.sql | navikt/helse-spesialist | e221266ef6c7edfd3335717925094aea11385c60 | [
"MIT"
] | null | null | null | UPDATE oppdrag SET fagsystem_id=regexp_replace(fagsystem_id, E'[\\r\\n]+', '', 'g' ) WHERE fagsystem_id LIKE E'%\r\n';
UPDATE utbetalingslinje SET reffagsystemid=regexp_replace(reffagsystemid, E'[\\r\\n]+', '', 'g' ) WHERE reffagsystemid LIKE E'%\r\n';
| 63.5 | 133 | 0.704724 |
789040d5eb9f5d7b212759156b660ef1c05415cb | 411 | swift | Swift | TestCells/ViewController/Data/Forms/CellModels/ICellModel.swift | drrost/SwiftForms | 970f0cde8b62cc1c62a900cbf43b9a6b7c175239 | [
"MIT"
] | null | null | null | TestCells/ViewController/Data/Forms/CellModels/ICellModel.swift | drrost/SwiftForms | 970f0cde8b62cc1c62a900cbf43b9a6b7c175239 | [
"MIT"
] | null | null | null | TestCells/ViewController/Data/Forms/CellModels/ICellModel.swift | drrost/SwiftForms | 970f0cde8b62cc1c62a900cbf43b9a6b7c175239 | [
"MIT"
] | null | null | null | //
// ICellModel.swift
// TestCells
//
// Created by Rostyslav Druzhchenko on 05.04.2020.
// Copyright © 2020 Rostyslav Druzhchenko. All rights reserved.
//
import Foundation
protocol ICellModel {
var type: CellType { get }
var title: String { get }
var isValid: Bool { get }
var validator: IValid... | 16.44 | 64 | 0.664234 |
fb44f9e52f502dd2f82bfc5c42af3df960e7d829 | 2,517 | h | C | Source/WalkSimulator/Public/Walker.h | hl1282456555/WalkSimulator | 7cae6c6b160659aee42968ad4d243b8deec25b3e | [
"MIT"
] | null | null | null | Source/WalkSimulator/Public/Walker.h | hl1282456555/WalkSimulator | 7cae6c6b160659aee42968ad4d243b8deec25b3e | [
"MIT"
] | null | null | null | Source/WalkSimulator/Public/Walker.h | hl1282456555/WalkSimulator | 7cae6c6b160659aee42968ad4d243b8deec25b3e | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "WalkSimulatorStructures.h"
#include "VaRestJsonObject.h"
#include "Walker.generated.h"
UCLASS()
class WALKSIMULATOR_API AWalker : public AActor
{
GENERATED_... | 24.920792 | 90 | 0.816051 |
9936f00e94c18b83fe2633558adf23964e4a912a | 6,297 | h | C | hw/drivers/sensors/lsm6dsl/src/lsm6dsl_priv.h | WildflowerSchools/mynewt-dw1000-core | dd8e62594cf138aca51a5ce0f716bd2f964b994a | [
"Apache-2.0"
] | 55 | 2018-09-17T22:55:36.000Z | 2021-12-23T05:51:08.000Z | hw/drivers/sensors/lsm6dsl/src/lsm6dsl_priv.h | WildflowerSchools/mynewt-dw1000-core | dd8e62594cf138aca51a5ce0f716bd2f964b994a | [
"Apache-2.0"
] | 21 | 2018-09-29T01:56:08.000Z | 2020-11-20T18:26:03.000Z | hw/drivers/sensors/lsm6dsl/src/lsm6dsl_priv.h | WildflowerSchools/mynewt-dw1000-core | dd8e62594cf138aca51a5ce0f716bd2f964b994a | [
"Apache-2.0"
] | 36 | 2018-09-04T16:35:42.000Z | 2021-12-26T10:44:27.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 43.729167 | 172 | 0.559314 |
b83907cde11105028d96a7760e7cfdfa9f9d2916 | 3,327 | lua | Lua | apioak/sys/admin.lua | Jacktom520/apioak | eefbc4513b0e66dc1ff0bf5881d7fa5ca0df9ce1 | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | 409 | 2019-11-14T06:58:24.000Z | 2022-03-25T01:16:36.000Z | apioak/sys/admin.lua | Jacktom520/apioak | eefbc4513b0e66dc1ff0bf5881d7fa5ca0df9ce1 | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | 30 | 2019-11-14T07:20:01.000Z | 2020-08-05T09:29:28.000Z | apioak/sys/admin.lua | Jacktom520/apioak | eefbc4513b0e66dc1ff0bf5881d7fa5ca0df9ce1 | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | 60 | 2019-11-01T10:50:14.000Z | 2022-01-09T13:40:09.000Z | local oakrouting = require("resty.oakrouting")
local admin = require("apioak.admin")
local router
local _M = {}
function _M.init_worker()
router = oakrouting.new()
-- Common Service Related APIs
router:get("/apioak/admin/plugins", admin.common.plugins)
router:get("/apioak/admin/users", admin.c... | 32.940594 | 104 | 0.725579 |
2632c1fc5a8a4f7c3a50cf3dd7050943b6a21c22 | 943 | java | Java | redis/redis-proxy/src/main/java/com/ctrip/xpipe/redis/proxy/config/ProxyConfig.java | z131031231/x-pipe | b175922e3cd4fb77bad4f821c9cf7f7c4e67731e | [
"Apache-2.0"
] | 1,652 | 2016-04-18T10:34:30.000Z | 2022-03-30T06:15:35.000Z | redis/redis-proxy/src/main/java/com/ctrip/xpipe/redis/proxy/config/ProxyConfig.java | z131031231/x-pipe | b175922e3cd4fb77bad4f821c9cf7f7c4e67731e | [
"Apache-2.0"
] | 342 | 2016-07-27T10:38:01.000Z | 2022-03-31T11:11:46.000Z | redis/redis-proxy/src/main/java/com/ctrip/xpipe/redis/proxy/config/ProxyConfig.java | z131031231/x-pipe | b175922e3cd4fb77bad4f821c9cf7f7c4e67731e | [
"Apache-2.0"
] | 492 | 2016-04-25T05:14:10.000Z | 2022-03-16T01:40:38.000Z | package com.ctrip.xpipe.redis.proxy.config;
import com.ctrip.xpipe.api.proxy.CompressAlgorithm;
import com.ctrip.xpipe.redis.core.config.TLSConfig;
import io.netty.buffer.ByteBuf;
import io.netty.handler.codec.ByteToMessageDecoder;
import io.netty.handler.codec.MessageToByteEncoder;
/**
* @author chen.zhu
* <p>
*... | 20.955556 | 55 | 0.751856 |
907f5609f97575fe175cfd0912511527477a113e | 8,914 | py | Python | src/display/calendar/calendar2events.py | digsim/ePaperDisplay | 1c4897158e3767ee274ade93ede8ef9924811363 | [
"Apache-2.0"
] | null | null | null | src/display/calendar/calendar2events.py | digsim/ePaperDisplay | 1c4897158e3767ee274ade93ede8ef9924811363 | [
"Apache-2.0"
] | null | null | null | src/display/calendar/calendar2events.py | digsim/ePaperDisplay | 1c4897158e3767ee274ade93ede8ef9924811363 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import logging
import requests
import tempfile
import pytz
import datetime
import codecs
import sys
import itertools
import operator
from .calendarEvent import CalendarEvent
from dateutil import rrule
from icalendar import Calendar
from pprint import pprin... | 41.268519 | 158 | 0.615549 |
130a2d68bd8e8a091c5fa01a6fb3f018c14c1825 | 1,392 | h | C | inc/napa/stl/string.h | localh0rzd/napajs | b3f5e67dd20caef5d96ea8c3e3d4c542fcb9a431 | [
"MIT"
] | 9,088 | 2017-08-08T22:28:16.000Z | 2019-05-05T14:57:12.000Z | inc/napa/stl/string.h | localh0rzd/napajs | b3f5e67dd20caef5d96ea8c3e3d4c542fcb9a431 | [
"MIT"
] | 172 | 2017-08-09T21:32:15.000Z | 2019-05-03T21:21:05.000Z | inc/napa/stl/string.h | localh0rzd/napajs | b3f5e67dd20caef5d96ea8c3e3d4c542fcb9a431 | [
"MIT"
] | 370 | 2017-08-09T04:58:14.000Z | 2019-04-13T18:59:29.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#pragma once
#include <napa/stl/allocator.h>
#include <string>
namespace napa {
namespace stl {
template <typename CharT, typename Traits = std::char_traits<CharT>>
using BasicString = std::basic_strin... | 29 | 90 | 0.646552 |
24fcc0b555be7215228fe556299f027d26426d2b | 18,496 | go | Go | api/network/certificates_api_mocked.go | ingrammicro/cio | fc90708cf1e8c29c2198cc805d35f3a58b25e645 | [
"Apache-2.0"
] | 1 | 2020-09-09T21:29:52.000Z | 2020-09-09T21:29:52.000Z | api/network/certificates_api_mocked.go | ingrammicro/cio | fc90708cf1e8c29c2198cc805d35f3a58b25e645 | [
"Apache-2.0"
] | 51 | 2019-07-03T09:57:25.000Z | 2022-02-15T16:47:03.000Z | api/network/certificates_api_mocked.go | ingrammicro/cio | fc90708cf1e8c29c2198cc805d35f3a58b25e645 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2017-2021 Ingram Micro Inc.
package network
import (
"encoding/json"
"fmt"
"testing"
"github.com/ingrammicro/cio/api/types"
"github.com/ingrammicro/cio/utils"
"github.com/stretchr/testify/assert"
)
// ListCertificatesMocked test mocked function
func ListCertificatesMocked(
t *testing.T,
loa... | 31.50937 | 120 | 0.7613 |
2a173275a9b8209961d6e096909f0fddcb1c2333 | 1,124 | java | Java | src/test/java/com/liferay/faces/osgi/weaver/internal/TestCheckClassAdapter.java | stiemannkj1/liferay-faces-osgi-weaver | 5bd3968f6386fb4fe53d58958084349a33be4f0c | [
"Apache-2.0"
] | 1 | 2019-01-18T14:50:19.000Z | 2019-01-18T14:50:19.000Z | src/test/java/com/liferay/faces/osgi/weaver/internal/TestCheckClassAdapter.java | stiemannkj1/liferay-faces-osgi-weaver | 5bd3968f6386fb4fe53d58958084349a33be4f0c | [
"Apache-2.0"
] | null | null | null | src/test/java/com/liferay/faces/osgi/weaver/internal/TestCheckClassAdapter.java | stiemannkj1/liferay-faces-osgi-weaver | 5bd3968f6386fb4fe53d58958084349a33be4f0c | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (c) 2000-2018 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later... | 30.378378 | 80 | 0.762456 |
577d7abe3647e772ba3229ff8a6fa9f558dc11db | 1,433 | h | C | src/http_server/HttpServer.h | rlong/osx.app.McRemote | 393a8fc62f411af3198973d5cda9ad12a48e2edd | [
"MIT"
] | 1 | 2018-02-25T12:16:18.000Z | 2018-02-25T12:16:18.000Z | src/http_server/HttpServer.h | rlong/osx.app.McRemote | 393a8fc62f411af3198973d5cda9ad12a48e2edd | [
"MIT"
] | null | null | null | src/http_server/HttpServer.h | rlong/osx.app.McRemote | 393a8fc62f411af3198973d5cda9ad12a48e2edd | [
"MIT"
] | null | null | null | // Copyright (c) 2017 Richard Long
//
// Released under the MIT license ( http://opensource.org/licenses/MIT )
//
#import <Foundation/Foundation.h>
#import "HttpServerContext.h"
#import "HLHttpSecurityJanitor.h"
#import "HLHttpSecurityManager.h"
#import "HLRootRequestHandler.h"
#import "HLSecurityConfiguration.h"
#... | 22.046154 | 158 | 0.764131 |
702599af5fd15eee2a3eacb56f4b3ec4763e0b1e | 5,298 | lua | Lua | .config/awesome/module/exit-screen/init.lua | Jeremie1001/awesome-dotfiles | b0f67d04f95daa1af89f233cda73665b5ddbe992 | [
"MIT"
] | 22 | 2021-02-03T00:00:25.000Z | 2022-02-25T01:49:29.000Z | .config/awesome/module/exit-screen/init.lua | Jeremie1001/awesome-dotfiles | b0f67d04f95daa1af89f233cda73665b5ddbe992 | [
"MIT"
] | null | null | null | .config/awesome/module/exit-screen/init.lua | Jeremie1001/awesome-dotfiles | b0f67d04f95daa1af89f233cda73665b5ddbe992 | [
"MIT"
] | 6 | 2021-02-05T18:02:48.000Z | 2022-02-17T15:03:17.000Z | --DEPENDENCIES
--i3lock-fancy
local awful = require('awful')
local gears = require('gears')
local wibox = require('wibox')
local icons = require('themes.icons')
local clickable_container = require('widget.clickable-container')
local colors = require('themes.dracula.colors')
local apps = require('config.apps')
local d... | 21.10757 | 69 | 0.624198 |
2859c409c9ed88ff8fc202660eea3ae943c69b6f | 1,246 | rb | Ruby | config/routes.rb | MarcusLee143/CS169_Great_Course_Guide | 24fbadaa93833941b80c0db0d7fac8d2d4b8d5bd | [
"MIT"
] | 2 | 2017-11-04T10:18:43.000Z | 2017-11-18T07:06:11.000Z | config/routes.rb | MarcusLee143/CS169_Great_Course_Guide | 24fbadaa93833941b80c0db0d7fac8d2d4b8d5bd | [
"MIT"
] | 24 | 2017-11-04T05:37:53.000Z | 2017-12-04T07:29:28.000Z | config/routes.rb | MarcusLee143/CS169_Great_Course_Guide | 24fbadaa93833941b80c0db0d7fac8d2d4b8d5bd | [
"MIT"
] | 2 | 2017-10-11T04:45:03.000Z | 2017-10-19T23:36:45.000Z | Rails.application.routes.draw do
mount JasmineRails::Engine => '/specs' if defined?(JasmineRails)
# The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes".
# You can have the root of your site routed with "root"
root 'login#index'... | 31.948718 | 84 | 0.661316 |
0782bee3e9cc52bce067adc00ffcfef84bf7da8f | 2,564 | sql | SQL | sql/_23_apricot_qa/_02_performance/_02_function_based_index/cases/function_based_index_function_SIN.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 9 | 2016-03-24T09:51:52.000Z | 2022-03-23T10:49:47.000Z | sql/_23_apricot_qa/_02_performance/_02_function_based_index/cases/function_based_index_function_SIN.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 173 | 2016-04-13T01:16:54.000Z | 2022-03-16T07:50:58.000Z | sql/_23_apricot_qa/_02_performance/_02_function_based_index/cases/function_based_index_function_SIN.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 38 | 2016-03-24T17:10:31.000Z | 2021-10-30T22:55:45.000Z | --+ holdcas on;
set system parameters 'dont_reuse_heap_file=yes';
create table t1( a char(1200), b varchar(1200), c nchar(1200), d NCHAR VARYING(1200), e BIT(1200), f BIT VARYING(1200), g int, h SMALLINT, i BIGINT, j NUMERIC, k FLOAT, l DOUBLE, m MONETARY, n DATE, o TIME, p TIMESTAMP, q DATETIME);
i... | 31.268293 | 250 | 0.700468 |
de54457357cff574752610f743d66329da628915 | 2,294 | rs | Rust | src/transform/helper_or.rs | mpdatx/hogan | 2639133009658878fc8faf171aceb6e753971ff4 | [
"Apache-2.0"
] | null | null | null | src/transform/helper_or.rs | mpdatx/hogan | 2639133009658878fc8faf171aceb6e753971ff4 | [
"Apache-2.0"
] | null | null | null | src/transform/helper_or.rs | mpdatx/hogan | 2639133009658878fc8faf171aceb6e753971ff4 | [
"Apache-2.0"
] | null | null | null | use handlebars::*;
#[derive(Clone, Copy)]
pub struct OrHelper;
impl HelperDef for OrHelper {
fn call<'reg: 'rc, 'rc>(
&self,
h: &Helper<'reg, 'rc>,
r: &'reg Handlebars,
ctx: &Context,
rc: &mut RenderContext<'reg>,
out: &mut Output,
) -> HelperResult {
le... | 27.309524 | 94 | 0.441587 |
56e44c40b3424d3235e00b96bb4e5c28c937d9f2 | 1,855 | tsx | TypeScript | src/components/inner-components/st-datepicker-inner/st-datepicker-inner.tsx | k1laba/st-datepicker | 714cd0bdc0dc6f710fcfde8baf2c1b466ecb5d1b | [
"MIT"
] | null | null | null | src/components/inner-components/st-datepicker-inner/st-datepicker-inner.tsx | k1laba/st-datepicker | 714cd0bdc0dc6f710fcfde8baf2c1b466ecb5d1b | [
"MIT"
] | null | null | null | src/components/inner-components/st-datepicker-inner/st-datepicker-inner.tsx | k1laba/st-datepicker | 714cd0bdc0dc6f710fcfde8baf2c1b466ecb5d1b | [
"MIT"
] | null | null | null | import { Component, h, Prop } from '@stencil/core';
import { DateHelper } from '../../../utils/date.helper';
import { IDatePickerModel } from '../../../models/date-picker.model';
@Component({
tag: 'st-datepicker-inner',
styleUrl: 'st-datepicker-inner.scss'
})
export class StDatePickerInner {
@Prop() itemS... | 37.1 | 86 | 0.508356 |
10b388d497546e795b5cde9d0760c83be1fb2c81 | 1,975 | lua | Lua | resources/[esx]/esx_extendedjail/locales/fi.lua | Pskaf-Moost/FiveM-Serveur-City | bf5375d25a385b7ddba628f9f71a794513ee4c6f | [
"Xnet",
"X11"
] | 2 | 2021-05-03T11:35:55.000Z | 2021-05-17T19:25:48.000Z | resources/[esx]/esx_extendedjail/locales/fi.lua | Pskaf-Moost/FiveM-Serveur-City | bf5375d25a385b7ddba628f9f71a794513ee4c6f | [
"Xnet",
"X11"
] | null | null | null | resources/[esx]/esx_extendedjail/locales/fi.lua | Pskaf-Moost/FiveM-Serveur-City | bf5375d25a385b7ddba628f9f71a794513ee4c6f | [
"Xnet",
"X11"
] | null | null | null | Locales ['fi'] = {
['not_found'] = 'Tapahtui virhe. Tarkista, että olet määrittänyt oikean pelaajan, oikean ajan ja syyn.',
['jailed'] = 'Sinut on laitettu vankilaan. \nAika: %s',
['pjailed'] = 'Sinut on laitettu putkaan. \nAika: %s',
['already_jailed'] = 'Olet vielä vankilassa. Jatketaan tuomiota tästä!',
['... | 59.848485 | 121 | 0.684051 |
7f797d0298c165ecf83acab2aa3304387f11148e | 472 | go | Go | models/points_internal_test.go | adinesh10/influxdb | b4b122345ec2504c4fa5a0753771e4fe75203bb5 | [
"MIT"
] | null | null | null | models/points_internal_test.go | adinesh10/influxdb | b4b122345ec2504c4fa5a0753771e4fe75203bb5 | [
"MIT"
] | null | null | null | models/points_internal_test.go | adinesh10/influxdb | b4b122345ec2504c4fa5a0753771e4fe75203bb5 | [
"MIT"
] | null | null | null | package models
import "testing"
func TestMarshalPointNoFields(t *testing.T) {
points, err := ParsePointsString("m,k=v f=0i")
if err != nil {
t.Fatal(err)
}
// It's unclear how this can ever happen, but we've observed points that were marshalled without any fields.
points[0].(*point).fields = []byte... | 26.222222 | 110 | 0.667373 |
6b5260437dcb1e98c7a6896be8dfb4a6a43e375f | 2,812 | c | C | chrom-test.c | neatniets/binpacking-genetic-algorithm | a140f354afbffbaa6a214907fa9eddb812a7fa85 | [
"MIT"
] | null | null | null | chrom-test.c | neatniets/binpacking-genetic-algorithm | a140f354afbffbaa6a214907fa9eddb812a7fa85 | [
"MIT"
] | null | null | null | chrom-test.c | neatniets/binpacking-genetic-algorithm | a140f354afbffbaa6a214907fa9eddb812a7fa85 | [
"MIT"
] | null | null | null | #include "chromosome.h"
#include <stdio.h>
#include <stdlib.h>
#define ARR_SZ 20
#define TEST_CAP 1000
#define MUT_RATE (0.75)
static void print_bin(const bin_t *bin,
const long double *item_sizes, size_t num_items);
static void print_chrom(const chrom_t *chrom,
... | 33.47619 | 74 | 0.514225 |
d40cbf9a2a583c85c5300ae14ea9892aad68b541 | 4,492 | kt | Kotlin | src/main/kotlin/dev/north/fortyone/besu/commands/ReplicationExportCommand.kt | 41north/besu-storage-replication | 49d9ab04b901128aaa329f32fc7c4d6e6e68e0c6 | [
"Apache-2.0"
] | 1 | 2020-09-24T04:42:59.000Z | 2020-09-24T04:42:59.000Z | src/main/kotlin/dev/north/fortyone/besu/commands/ReplicationExportCommand.kt | 41north/besu-storage-replication | 49d9ab04b901128aaa329f32fc7c4d6e6e68e0c6 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/dev/north/fortyone/besu/commands/ReplicationExportCommand.kt | 41north/besu-storage-replication | 49d9ab04b901128aaa329f32fc7c4d6e6e68e0c6 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020 41North.
*
* 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... | 32.085714 | 117 | 0.697017 |
7e4e75194b7b2c626893c87b75884b816ab1fc3a | 255 | swift | Swift | EBook/Models/SearchHeat.swift | QiuDaniel/Book | df3afac6999ef2e958c0195a0aa7af4cfbd2a960 | [
"Apache-2.0"
] | 1 | 2021-12-03T08:46:56.000Z | 2021-12-03T08:46:56.000Z | EBook/Models/SearchHeat.swift | QiuDaniel/Book | df3afac6999ef2e958c0195a0aa7af4cfbd2a960 | [
"Apache-2.0"
] | null | null | null | EBook/Models/SearchHeat.swift | QiuDaniel/Book | df3afac6999ef2e958c0195a0aa7af4cfbd2a960 | [
"Apache-2.0"
] | null | null | null | //
// SearchHeat.swift
// EBook
//
// Created by SPARK-Daniel on 2021/9/5.
//
import Foundation
struct SearchHeat: Codable {
let id: Int
let name: String
enum CodingKeys: String, CodingKey {
case id
case name
}
}
| 13.421053 | 40 | 0.592157 |
4a2b30ec9995595c09e4585a50af096004bf52aa | 176 | js | JavaScript | src/components/PageBreak.js | bazk/resume | 850ff1478b3ccde8366670c3b71ed3a99ca38da1 | [
"MIT"
] | null | null | null | src/components/PageBreak.js | bazk/resume | 850ff1478b3ccde8366670c3b71ed3a99ca38da1 | [
"MIT"
] | 8 | 2021-03-09T07:55:48.000Z | 2022-02-26T11:37:36.000Z | src/components/PageBreak.js | bazk/resume | 850ff1478b3ccde8366670c3b71ed3a99ca38da1 | [
"MIT"
] | null | null | null | import styled from "styled-components"
const PageBreak = styled.div`
position: relative;
page-break-after: always;
page-break-inside: avoid;
`;
export default PageBreak | 19.555556 | 38 | 0.755682 |
0cb26210fdbce5c2de9ff66cfbeec89817eff49b | 267 | py | Python | tests/test_utils.py | yehzhang/dscraper | 6fd1a4238795e9eb01b9dd8329a84495a70979d1 | [
"Apache-2.0"
] | 1 | 2017-08-13T09:50:06.000Z | 2017-08-13T09:50:06.000Z | tests/test_utils.py | yehzhang/dscraper | 6fd1a4238795e9eb01b9dd8329a84495a70979d1 | [
"Apache-2.0"
] | null | null | null | tests/test_utils.py | yehzhang/dscraper | 6fd1a4238795e9eb01b9dd8329a84495a70979d1 | [
"Apache-2.0"
] | null | null | null | import unittest
import logging
import xml.etree.ElementTree as et
import dscraper.utils as utils
logger = logging.getLogger(__name__)
class TestUtils(unittest.TestCase):
XML_FILES = (
'tests/resources/1.xml',
)
def setUp(self):
pass
| 14.833333 | 36 | 0.692884 |
da4768da8ca6ba3876276baa89736b71e5d20c7b | 101 | sql | SQL | src/test/resources/sql/select/987022cf.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/select/987022cf.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/select/987022cf.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:select.sql ln:197 expect:true
select * from onek2 where unique2 = 11 and stringu1 = 'ATAAAA'
| 33.666667 | 62 | 0.732673 |
bee67d3821c6d0b052802c5a7bb3c80cef7e0856 | 1,147 | html | HTML | index.html | I-School-Class-i190-dvw/12-geospatial-viz-part2-ConorEdwardKelly | 7361f3cb3d37223dc77e602668ba21e5cb5c2c5d | [
"MIT"
] | null | null | null | index.html | I-School-Class-i190-dvw/12-geospatial-viz-part2-ConorEdwardKelly | 7361f3cb3d37223dc77e602668ba21e5cb5c2c5d | [
"MIT"
] | null | null | null | index.html | I-School-Class-i190-dvw/12-geospatial-viz-part2-ConorEdwardKelly | 7361f3cb3d37223dc77e602668ba21e5cb5c2c5d | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>12: Part 2 of Geospatial Viz with D3</title>
<meta name="author" content="Conor Kelly">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- load the d3 library locally, along with some additions for working with geospatial da... | 24.934783 | 99 | 0.574542 |
da39417a2e4939b94a2c2c1695d0305ea8949438 | 107 | swift | Swift | Tests/SwagGenKitTests/XCTest.swift | rocketnik/SwagGen | ab8cebc86a225f918bdce2d858371aa1cb47d205 | [
"MIT"
] | null | null | null | Tests/SwagGenKitTests/XCTest.swift | rocketnik/SwagGen | ab8cebc86a225f918bdce2d858371aa1cb47d205 | [
"MIT"
] | null | null | null | Tests/SwagGenKitTests/XCTest.swift | rocketnik/SwagGen | ab8cebc86a225f918bdce2d858371aa1cb47d205 | [
"MIT"
] | null | null | null | import XCTest
class SwagGenTests: XCTestCase {
func testRunSwagGenTests() {
specTests()
}
}
| 13.375 | 32 | 0.663551 |
cb63f1a73c191e7a7156028f9e877a80ff531d25 | 7,886 | html | HTML | 02-mgt-person/index.html | sebastienlevert/mgt-sandbox | a087555eb33bdcb1ff4c9968f6d67f428319df04 | [
"MIT"
] | 7 | 2022-01-25T16:53:56.000Z | 2022-03-09T17:37:40.000Z | 02-mgt-person/index.html | sebastienlevert/mgt-sandbox | a087555eb33bdcb1ff4c9968f6d67f428319df04 | [
"MIT"
] | 1 | 2022-03-09T08:38:11.000Z | 2022-03-09T08:38:11.000Z | 02-mgt-person/index.html | sebastienlevert/mgt-sandbox | a087555eb33bdcb1ff4c9968f6d67f428319df04 | [
"MIT"
] | 1 | 2022-02-03T14:42:08.000Z | 2022-02-03T14:42:08.000Z | <!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/@microsoft/mgt@next/dist/bundle/mgt-loader.js"></script>
<style>
#isSignedIn {
display: none;
}
.example {
font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI",
-apple-system, BlinkMacSyst... | 30.684825 | 151 | 0.571646 |
1732ec3d7b0921efa91b3f1833d35225fd1bac99 | 489 | sql | SQL | snprc_ehr/resources/queries/snprc_ehr/ExportPkgCategories.sql | LabKey/snprcEHRModules | 93fab5f8a3ced8f6449a4ed99ae96f513494823f | [
"Apache-2.0"
] | 2 | 2018-11-13T17:29:20.000Z | 2018-11-13T17:29:25.000Z | snprc_ehr/resources/queries/snprc_ehr/ExportPkgCategories.sql | LabKey/snprcEHRModules | 93fab5f8a3ced8f6449a4ed99ae96f513494823f | [
"Apache-2.0"
] | 36 | 2019-02-27T18:02:47.000Z | 2022-03-30T22:16:03.000Z | snprc_ehr/resources/queries/snprc_ehr/ExportPkgCategories.sql | LabKey/snprcEHRModules | 93fab5f8a3ced8f6449a4ed99ae96f513494823f | [
"Apache-2.0"
] | 1 | 2019-12-04T16:29:52.000Z | 2019-12-04T16:29:52.000Z | /********************************************************
Query will feed the export ETL back to CAMP.
02.24.21 srr
straight pull from snd.PkgCategories table
********************************************************/
SELECT pc.CategoryId,
pc.Description,
pc.Comment,
pc.Active,
pc.SortO... | 23.285714 | 58 | 0.472393 |
f8fbd9271f2ca74d17bd8dace9a4aab59f7cdb8f | 3,071 | swift | Swift | Sources/KafkaNIO/Messages/DeleteTopicsResponse.swift | tbartelmess/kafka-nio | 02abe225ff9f6a19d37fe9753fb84534ee8025bc | [
"Apache-2.0"
] | 7 | 2020-09-27T05:03:54.000Z | 2021-03-16T15:05:12.000Z | Sources/KafkaNIO/Messages/DeleteTopicsResponse.swift | tbartelmess/kafka-nio | 02abe225ff9f6a19d37fe9753fb84534ee8025bc | [
"Apache-2.0"
] | 3 | 2020-09-27T02:47:51.000Z | 2020-10-02T23:42:42.000Z | Sources/KafkaNIO/Messages/DeleteTopicsResponse.swift | tbartelmess/kafka-nio | 02abe225ff9f6a19d37fe9753fb84534ee8025bc | [
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// This source file is part of the KafkaNIO open source project
//
// Copyright © 2020 Thomas Bartelmess.
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
//
// SPDX-License-Identifier: Apache-2.0
//
/... | 35.298851 | 148 | 0.594269 |
cf714586a956b14ff9784b54d35a8af184fac7f6 | 1,996 | lua | Lua | src/csv.lua | dinamech/duo | 0a4d3569afeef15c3c21d67d7834b2766cc5b720 | [
"BSD-2-Clause"
] | 1 | 2020-05-18T12:00:13.000Z | 2020-05-18T12:00:13.000Z | src/csv.lua | dinamech/duo | 0a4d3569afeef15c3c21d67d7834b2766cc5b720 | [
"BSD-2-Clause"
] | 3 | 2020-05-19T20:51:52.000Z | 2020-05-22T06:15:45.000Z | src/csv.lua | dinamech/duo | 0a4d3569afeef15c3c21d67d7834b2766cc5b720 | [
"BSD-2-Clause"
] | null | null | null | local the = require "the"
local csv, csvWant, csvTake, select
-- Return an iterator that returns all non-blank
-- lines, divided into cells (coerced to numbers,
-- if need be), with all white space and comments removed.
-- Also,
-- skip over any column whose name starts with `the.ch.skip`
-- character (which defau... | 24.048193 | 68 | 0.596192 |
5a192f75c4de232164f28c91d4d28921a53a4852 | 67 | rs | Rust | api_helix/src/constants.rs | alecsavvy/twitch.rs | dd47d85c2da1bb0599ee42db7032f5b22a83d13c | [
"MIT"
] | null | null | null | api_helix/src/constants.rs | alecsavvy/twitch.rs | dd47d85c2da1bb0599ee42db7032f5b22a83d13c | [
"MIT"
] | null | null | null | api_helix/src/constants.rs | alecsavvy/twitch.rs | dd47d85c2da1bb0599ee42db7032f5b22a83d13c | [
"MIT"
] | null | null | null | pub const HELIX_URL: &'static str = "https://api.twitch.tv/helix";
| 33.5 | 66 | 0.701493 |
39fa4599e17a3985f525f9351d6f9dc9505f9a8b | 1,883 | java | Java | Components/LearningCore/Source/gov/sandia/cognition/statistics/UnivariateDistribution.java | Markoy8/Foundry | c3ec00a8efe08a25dd5eae7150b788e4486c0e6e | [
"BSD-3-Clause"
] | 122 | 2015-01-19T17:36:40.000Z | 2022-02-25T20:22:22.000Z | Components/LearningCore/Source/gov/sandia/cognition/statistics/UnivariateDistribution.java | jbasilico/Foundry | 232e0f91a8f31aa92e20bb36a208f3624d595ee5 | [
"BSD-3-Clause"
] | 45 | 2015-01-23T06:28:33.000Z | 2021-05-18T19:11:29.000Z | Components/LearningCore/Source/gov/sandia/cognition/statistics/UnivariateDistribution.java | jbasilico/Foundry | 232e0f91a8f31aa92e20bb36a208f3624d595ee5 | [
"BSD-3-Clause"
] | 42 | 2015-01-20T03:07:17.000Z | 2021-08-18T08:51:55.000Z | /*
* File: UnivariateDistribution.java
* Authors: Kevin R. Dixon
* Company: Sandia National Laboratories
* Project: Cognitive Foundry
*
* Copyright Jan 27, 2009, Sandia Corporation.
* Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
* li... | 28.530303 | 81 | 0.655868 |
398e6bbfb12dfb67e58137e1178b183b1ee9f02b | 6,010 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2078.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2078.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2078.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %rax
push %rbx
push %rdx
lea addresses_WC_ht+0x1a85e, %r13
nop
xor $45889, %rdx
mov $0x6162636465666768, %r14
movq %r14, (%r13)
nop
nop
nop
nop
nop
inc %r13
lea addresses_UC_ht+0xbec2, %rdx
nop
nop
nop
nop
nop
sub %rax, %rax
movw ... | 38.280255 | 2,999 | 0.654742 |
0a21adb1ec8937cf245b6cfbe50e182348cc1b5c | 53,004 | c | C | release/src/router/samba/source/nmbd/nmbd_winsserver.c | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 278 | 2015-11-03T03:01:20.000Z | 2022-01-20T18:21:05.000Z | release/src/router/samba/source/nmbd/nmbd_winsserver.c | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 374 | 2015-11-03T12:37:22.000Z | 2021-12-17T14:18:08.000Z | release/src/router/samba/source/nmbd/nmbd_winsserver.c | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 96 | 2015-11-22T07:47:26.000Z | 2022-01-20T19:52:19.000Z | /*
Unix SMB/Netbios implementation.
Version 1.9.
NBT netbios routines and daemon - version 2
Copyright (C) Jeremy Allison 1994-1998
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundati... | 31.738922 | 108 | 0.576258 |
57373d942896a64f9fe778ce7e983adb3a12599e | 2,824 | h | C | Furiosity/Graphics/3D/ModelMesh3D.h | enci/Furiosity | 0f823b31ba369a6f20a69ca079627dccd4b4549a | [
"MIT"
] | 7 | 2015-05-14T18:36:18.000Z | 2020-08-30T19:09:33.000Z | Furiosity/Graphics/3D/ModelMesh3D.h | enci/Furiosity | 0f823b31ba369a6f20a69ca079627dccd4b4549a | [
"MIT"
] | 1 | 2015-10-23T14:24:08.000Z | 2015-10-23T14:24:08.000Z | Furiosity/Graphics/3D/ModelMesh3D.h | enci/Furiosity | 0f823b31ba369a6f20a69ca079627dccd4b4549a | [
"MIT"
] | 1 | 2020-07-31T23:34:49.000Z | 2020-07-31T23:34:49.000Z | ////////////////////////////////////////////////////////////////////////////////
// ModelMesh3D.h
// Furiosity
//
// Created by Bojan Endrovski on 9/5/13.
// Copyright (c) 2013 Game Oven. All rights reserved.
////////////////////////////////////////////////////////////////////////////////
#pragma once
// STL
#inc... | 28.525253 | 80 | 0.541076 |
4c0f6f678c797ff196573f2636e3f9a2b9237c8c | 2,909 | php | PHP | application/views/admin/produk_old.php | anggiatm/sistem-informasi-penjualan-crd | 1645289755b43108f6e76a141ad3dad1805c5afb | [
"MIT"
] | null | null | null | application/views/admin/produk_old.php | anggiatm/sistem-informasi-penjualan-crd | 1645289755b43108f6e76a141ad3dad1805c5afb | [
"MIT"
] | null | null | null | application/views/admin/produk_old.php | anggiatm/sistem-informasi-penjualan-crd | 1645289755b43108f6e76a141ad3dad1805c5afb | [
"MIT"
] | null | null | null | <?php $this->load->view('template/header'); ?>
<div class="container-fluid">
<div class="row">
<!-- SIDE BAR -->
<?php $this->load->view('template/sidebar'); ?>
<!-- CONTENT -->
<main role="main" class="col-md-9 ml-sm-auto col-lg-10 px-md-4">
<div class="row mt-4">
... | 34.630952 | 142 | 0.420419 |
e3fe6463b8354d3882846abd0051db76a9d39553 | 568 | go | Go | services/swr/v2/model/model_create_repo_domains_request_body.go | orangedeng/huaweicloud-sdk-go-v3 | e50208a9b9c30c2751789ee265d0210959dd4b87 | [
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | services/swr/v2/model/model_create_repo_domains_request_body.go | orangedeng/huaweicloud-sdk-go-v3 | e50208a9b9c30c2751789ee265d0210959dd4b87 | [
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | services/swr/v2/model/model_create_repo_domains_request_body.go | orangedeng/huaweicloud-sdk-go-v3 | e50208a9b9c30c2751789ee265d0210959dd4b87 | [
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | package model
import (
"encoding/json"
"strings"
)
type CreateRepoDomainsRequestBody struct {
// 共享租户名称
AccessDomain string `json:"access_domain"`
// 当前只支持read权限
Permit string `json:"permit"`
// 截止时间,UTC时间格式。永久有效为forever
Deadline string `json:"deadline"`
// 描述
Description *string `json:"description,omitemp... | 20.285714 | 81 | 0.728873 |
85d49c9d354e3163a40e4089a97cc754bfbf649d | 1,524 | js | JavaScript | app/components/Common/constants.js | packagewjx/Coding-Cloud-Frontend | cb7c12ddd2fbe29e015719224637f053c4e51ef1 | [
"MIT"
] | null | null | null | app/components/Common/constants.js | packagewjx/Coding-Cloud-Frontend | cb7c12ddd2fbe29e015719224637f053c4e51ef1 | [
"MIT"
] | 1 | 2018-02-05T01:19:43.000Z | 2018-02-07T02:38:20.000Z | app/components/Common/constants.js | packagewjx/Coding-Cloud-Frontend | cb7c12ddd2fbe29e015719224637f053c4e51ef1 | [
"MIT"
] | null | null | null | // GLOBAL CONSTANTS
// -----------------------------------
export const APP_COLORS = {
'primary': '#5d9cec',
'success': '#27c24c',
'info': '#23b7e5',
'warning': '#ff902b',
'danger': '#f05050',
'inverse': '#131e26',
'green': '#37bc9b',
'pink': '#f532e5',
'purple': '#7266ba',
'dar... | 25.4 | 78 | 0.571522 |
97edc2e9a7b1ca8cfc739c4b53499792f0d369b4 | 929 | lua | Lua | lib/table.lua | Brusalk/AddonToolkit | 433329d3e0d1b265664eb0806f48efd989e30578 | [
"MIT"
] | 2 | 2018-06-01T04:40:14.000Z | 2020-11-14T20:22:38.000Z | lib/table.lua | Brusalk/AddonToolkit | 433329d3e0d1b265664eb0806f48efd989e30578 | [
"MIT"
] | 7 | 2018-06-03T06:37:37.000Z | 2020-09-11T06:26:28.000Z | lib/table.lua | Brusalk/AddonToolkit | 433329d3e0d1b265664eb0806f48efd989e30578 | [
"MIT"
] | null | null | null | -- local _, EventHorizon = ...
-- EventHorizon:file_preload()
-- function EventHorizon.deep_copy(object)
-- if type(object) == "table" then
-- local copy = {}
-- -- Don't improperly use the __pairs metamethod in Lua 5.2
-- for key, value in next, object do
-- copy[deep_copy(key)] = deep_copy(value... | 26.542857 | 64 | 0.624327 |
1652dc6d5baf5bb62a1d8a3ed9a3fd8d19f6cd9f | 792 | ts | TypeScript | dist/modules/director/director.model.d.ts | devlargs/movie-graphql-api | fecfb539aea8492aaad3eaf00009896f39b70f33 | [
"MIT"
] | null | null | null | dist/modules/director/director.model.d.ts | devlargs/movie-graphql-api | fecfb539aea8492aaad3eaf00009896f39b70f33 | [
"MIT"
] | 6 | 2022-03-21T09:04:55.000Z | 2022-03-21T14:33:02.000Z | dist/modules/director/director.model.d.ts | devlargs/movie-graphql-api | fecfb539aea8492aaad3eaf00009896f39b70f33 | [
"MIT"
] | null | null | null | /// <reference types="mongoose/types/pipelinestage" />
/// <reference types="mongoose/types/connection" />
/// <reference types="mongoose/types/cursor" />
/// <reference types="mongoose/types/document" />
/// <reference types="mongoose/types/error" />
/// <reference types="mongoose/types/mongooseoptions" />
/// <refere... | 46.588235 | 163 | 0.731061 |
1493a137fa45efff2545fd98f1a212677693e283 | 6,622 | kt | Kotlin | stocks/src/main/java/com/pyamsoft/tickertape/stocks/StockModule.kt | pyamsoft/tickertape | bcca4b32e1229f2c8f0e30e6c18ac938968c59a1 | [
"Apache-2.0"
] | 1 | 2021-07-09T19:16:10.000Z | 2021-07-09T19:16:10.000Z | stocks/src/main/java/com/pyamsoft/tickertape/stocks/StockModule.kt | pyamsoft/tickertape | bcca4b32e1229f2c8f0e30e6c18ac938968c59a1 | [
"Apache-2.0"
] | 14 | 2021-08-10T21:37:45.000Z | 2022-03-30T10:23:51.000Z | stocks/src/main/java/com/pyamsoft/tickertape/stocks/StockModule.kt | pyamsoft/tickertape | bcca4b32e1229f2c8f0e30e6c18ac938968c59a1 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2021 Peter Kenji Yamanaka
*
* 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 a... | 30.516129 | 99 | 0.752945 |
5f956e9385b8478c2210414a42f3dca3236903fc | 202 | css | CSS | src/app/navbar/navbar.component.css | juru-juliette/GitSearch | 59d2dd6a2db3460008ec9dbf48dfe9924735949c | [
"MIT"
] | null | null | null | src/app/navbar/navbar.component.css | juru-juliette/GitSearch | 59d2dd6a2db3460008ec9dbf48dfe9924735949c | [
"MIT"
] | 7 | 2020-09-07T01:57:51.000Z | 2022-02-18T08:41:41.000Z | src/app/navbar/navbar.component.css | juru-juliette/GitSearch | 59d2dd6a2db3460008ec9dbf48dfe9924735949c | [
"MIT"
] | null | null | null | /* .form-group{
margin-top: 7%;
width: 130%;
height: 15%;
background-color: rgb(70, 68, 68);
border: none;
color: ghostwhite;
} */
#logo{
width:50px;
height: 30px;
} | 16.833333 | 39 | 0.529703 |
40fc1655d5c35cb79b5b01990ab01b3df88e9327 | 529 | swift | Swift | test/SourceKit/DocSupport/Inputs/cake.swift | ackyshake/swift | 226a8258078bd4a9987fd5e2485ab72d956deda6 | [
"Apache-2.0"
] | 4 | 2016-01-06T22:53:32.000Z | 2021-09-11T23:50:05.000Z | test/SourceKit/DocSupport/Inputs/cake.swift | ackyshake/swift | 226a8258078bd4a9987fd5e2485ab72d956deda6 | [
"Apache-2.0"
] | null | null | null | test/SourceKit/DocSupport/Inputs/cake.swift | ackyshake/swift | 226a8258078bd4a9987fd5e2485ab72d956deda6 | [
"Apache-2.0"
] | 2 | 2016-11-04T10:07:52.000Z | 2018-04-14T21:55:55.000Z | public protocol Prot {
typealias Element
var p : Int { get }
func foo()
}
public class C1 : Prot {
public typealias Element = Int
public var p : Int = 0
public func foo() {}
public subscript(index: Int) -> Int { return 0 }
public subscript(index i: Float) -> Int { return 0 }
}
public func genfoo<T1 :... | 21.16 | 111 | 0.642722 |
90d9f1786c550ed506168753d0e4390bd86b8f15 | 1,596 | swift | Swift | HTTeaPot/HTTeaPotTests/Test Controllers/StatusCodeViewControllerTest.swift | juliaYamamoto/App_httpStatusCode | d3f0fb361aa74db45a4d142e3c8a5183fb023a5a | [
"MIT"
] | 2 | 2020-12-11T21:52:13.000Z | 2021-01-08T00:16:48.000Z | HTTeaPot/HTTeaPotTests/Test Controllers/StatusCodeViewControllerTest.swift | juliaYamamoto/HoTTeaPot | d3f0fb361aa74db45a4d142e3c8a5183fb023a5a | [
"MIT"
] | null | null | null | HTTeaPot/HTTeaPotTests/Test Controllers/StatusCodeViewControllerTest.swift | juliaYamamoto/HoTTeaPot | d3f0fb361aa74db45a4d142e3c8a5183fb023a5a | [
"MIT"
] | null | null | null | //
// StatusCodeViewControllerTest.swift
// HTTeaPotTests
//
// Created by Júlia Yamamoto on 2020-12-20.
//
import XCTest
@testable import HTTeaPot
class StatusCodeViewControllerTest: XCTestCase {
// MARK: - Properties
var sut: StatusCodeViewController!
// MARK: - Test Properties
... | 23.470588 | 105 | 0.662907 |
167cd05af17ad13d559eef015e954aced843ca17 | 834 | asm | Assembly | oeis/142/A142439.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/142/A142439.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/142/A142439.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A142439: Primes congruent to 30 mod 49.
; Submitted by Simon Strandgaard
; 79,373,569,863,1451,1549,2039,2137,2333,3019,3313,3607,3803,4391,4783,5077,5273,5861,6449,6547,6841,7331,7723,7919,8017,8311,9781,10271,10369,10663,10859,10957,11251,11447,11839,12329,12721,12917,13309,13799,14387,14779,15073,15269,15661,16249... | 34.75 | 497 | 0.732614 |
cb0bc40f2e76b6d4969fa67d1ede0526fab0334f | 1,642 | h | C | src/magic.h | DouglasRMiles/QuProlog | 798d86f87fb4372b8918ef582ef2f0fc0181af2d | [
"Apache-2.0"
] | 5 | 2019-11-20T02:05:31.000Z | 2022-01-06T18:59:16.000Z | src/magic.h | logicmoo/QuProlog | 798d86f87fb4372b8918ef582ef2f0fc0181af2d | [
"Apache-2.0"
] | null | null | null | src/magic.h | logicmoo/QuProlog | 798d86f87fb4372b8918ef582ef2f0fc0181af2d | [
"Apache-2.0"
] | 2 | 2022-01-08T13:52:24.000Z | 2022-03-07T17:41:37.000Z | // magic.h - Magic numbers for files.
//
// ##Copyright##
//
// Copyright 2000-2016 Peter Robinson (pjr@itee.uq.edu.au)
//
// 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://w... | 29.321429 | 75 | 0.719854 |
85be2b32adece228556b09ab4f7a600db1bab7ba | 2,607 | h | C | MdePkg/Include/Library/PalLib.h | heibaifu/UEFI-EDK-II | 1a734ed85fda71630c795832e6d24ea560caf739 | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | 1 | 2019-04-18T02:11:51.000Z | 2019-04-18T02:11:51.000Z | MdePkg/Include/Library/PalLib.h | oukei123/edk2 | d43056888790f987169c54a5c2895758b85dff72 | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | null | null | null | MdePkg/Include/Library/PalLib.h | oukei123/edk2 | d43056888790f987169c54a5c2895758b85dff72 | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | 1 | 2019-05-09T05:44:37.000Z | 2019-05-09T05:44:37.000Z | /** @file
Provides library services to make PAL Calls.
The PAL Library provides a service to make a PAL CALL. This service is identical
in functionality to AsmPalCall() in the functions of the Base Library specific to Intel Itanium architecture.
The only difference is that the PAL Entry Point is not pass... | 44.948276 | 112 | 0.739547 |
e71ab0c33fa8f4e515e24fd42c2ae1f35c783329 | 46 | js | JavaScript | ALS.Glance.Web/Scripts/_references.min.js | smeegoan/als-glance | 92f7cb88747f742ef7672346a169e669b702b967 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-12-26T13:01:07.000Z | 2018-01-06T19:02:31.000Z | ALS.Glance.Web/Scripts/_references.min.js | smeegoan/als-glance-lite | 72a117e284ecfa9e56f8a61c45b9dbc271b93431 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | ALS.Glance.Web/Scripts/_references.min.js | smeegoan/als-glance-lite | 72a117e284ecfa9e56f8a61c45b9dbc271b93431 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
//# sourceMappingURL=_references.min.js.map
| 15.333333 | 43 | 0.76087 |
57d81c2be76d948ee839afd08dde5cfcd99e63ec | 39 | sql | SQL | spindb-core/container/try.sql | Lalit-Vikram-Singh/spinnaker-plugins | 86193e9b4d537b9e6495f09634e2ba00b38e03e0 | [
"Apache-2.0"
] | null | null | null | spindb-core/container/try.sql | Lalit-Vikram-Singh/spinnaker-plugins | 86193e9b4d537b9e6495f09634e2ba00b38e03e0 | [
"Apache-2.0"
] | null | null | null | spindb-core/container/try.sql | Lalit-Vikram-Singh/spinnaker-plugins | 86193e9b4d537b9e6495f09634e2ba00b38e03e0 | [
"Apache-2.0"
] | null | null | null | create table timepass3 (name VARCHAR);
| 19.5 | 38 | 0.794872 |
740339173703bdd024c22c46e18f2697f6fd7e5d | 33,931 | rs | Rust | circuit/src/execution-delivery/src/lib.rs | Thang83473361/t3rn | 82db86c3a62754888c7571cd6098ce4f2b319320 | [
"Apache-2.0"
] | 1 | 2021-09-25T18:46:28.000Z | 2021-09-25T18:46:28.000Z | circuit/src/execution-delivery/src/lib.rs | Thang83473361/t3rn | 82db86c3a62754888c7571cd6098ce4f2b319320 | [
"Apache-2.0"
] | null | null | null | circuit/src/execution-delivery/src/lib.rs | Thang83473361/t3rn | 82db86c3a62754888c7571cd6098ce4f2b319320 | [
"Apache-2.0"
] | null | null | null | // This file is part of Substrate.
// Copyright (C) 2020-2021 Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: Apache-2.0
// 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
//
// htt... | 37.954139 | 131 | 0.606171 |
e9f6c5781783c590bf072cda53ca0aa9d4a5ca73 | 3,983 | swift | Swift | Sources/Animations/PhotoInfoAnimation.swift | Parallaxer/PhotoBook | d0f8fe2a0ad7b56c8b3eba3535cea508f1c6f0a9 | [
"MIT"
] | 2 | 2016-08-02T03:18:11.000Z | 2018-02-25T02:04:00.000Z | Sources/Animations/PhotoInfoAnimation.swift | Parallaxer/PhotoBook | d0f8fe2a0ad7b56c8b3eba3535cea508f1c6f0a9 | [
"MIT"
] | null | null | null | Sources/Animations/PhotoInfoAnimation.swift | Parallaxer/PhotoBook | d0f8fe2a0ad7b56c8b3eba3535cea508f1c6f0a9 | [
"MIT"
] | null | null | null | import Parallaxer
import RxCocoa
import RxSwift
import UIKit
/// Animate photo info transition on and off screen, and lock photo book interaction while info is displayed.
final class PhotoInfoAnimation {
/// Whether the photo book can receive input.
var photoBookInteractionEnabled: Signal<Bool> {
... | 38.669903 | 109 | 0.662315 |
a3d0e45e02b1d2b09a1f139d5d261bd60f9f3a0a | 29 | kts | Kotlin | basic-example/product/settings.gradle.kts | cebartling/saga-pattern-examples | 2687b751e3eb3d2482c9548791dc14df75330a70 | [
"MIT"
] | null | null | null | basic-example/product/settings.gradle.kts | cebartling/saga-pattern-examples | 2687b751e3eb3d2482c9548791dc14df75330a70 | [
"MIT"
] | null | null | null | basic-example/product/settings.gradle.kts | cebartling/saga-pattern-examples | 2687b751e3eb3d2482c9548791dc14df75330a70 | [
"MIT"
] | null | null | null | rootProject.name = "product"
| 14.5 | 28 | 0.758621 |
3b1f9b0e69588d04f46c9d66caf82d49a19bd0a8 | 339 | asm | Assembly | programs/oeis/004/A004960.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/004/A004960.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/004/A004960.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A004960: a(n) = ceiling(n*phi^5), where phi is the golden ratio, A001622.
; 0,12,23,34,45,56,67,78,89,100,111,122,134,145,156,167,178,189,200,211,222,233,244,256,267,278,289,300,311,322,333,344,355,366,378,389,400,411,422,433,444,455,466,477
mov $1,$0
add $0,1
mul $1,$0
mul $0,11
lpb $1
sub $1,$0
add $0,1
trn ... | 24.214286 | 167 | 0.657817 |
2f1a029f833ef9a4c919a4664962b8496cf5c9dc | 7,227 | lua | Lua | after/plugin/lspconfig.lua | zouzonghua/.nvim | 1cff36a872ac024c704021dad7dc20f521afd9b0 | [
"MIT"
] | 1 | 2021-08-31T04:12:43.000Z | 2021-08-31T04:12:43.000Z | after/plugin/lspconfig.lua | zouzonghua/nvim | 1cff36a872ac024c704021dad7dc20f521afd9b0 | [
"MIT"
] | null | null | null | after/plugin/lspconfig.lua | zouzonghua/nvim | 1cff36a872ac024c704021dad7dc20f521afd9b0 | [
"MIT"
] | null | null | null | local status, nvim_lsp = pcall(require, 'lspconfig')
if not status then
return
end
-- need install `npm i -g typescript typescript-language-server vscode-langservers-extracted diagnostic-languageserver eslint_d prettier stylelint`
local nvim_lsp = require 'lspconfig'
local protocol = require 'vim.lsp.protocol'
-... | 35.600985 | 147 | 0.517227 |
7422297a6350b6bf5f7d782b8707e968fabb78e6 | 54,864 | h | C | Examples/include/asposecpplib/system/smart_ptr.h | kashifiqb/Aspose.PDF-for-C | 13d49bba591c5704685820185741e64a462a5bdc | [
"MIT"
] | null | null | null | Examples/include/asposecpplib/system/smart_ptr.h | kashifiqb/Aspose.PDF-for-C | 13d49bba591c5704685820185741e64a462a5bdc | [
"MIT"
] | null | null | null | Examples/include/asposecpplib/system/smart_ptr.h | kashifiqb/Aspose.PDF-for-C | 13d49bba591c5704685820185741e64a462a5bdc | [
"MIT"
] | null | null | null | /// @file system/smart_ptr.h
#ifndef _aspose_system_smart_ptr_h_
#define _aspose_system_smart_ptr_h_
#include "smart_ptr_counter.h"
#include "detail.h"
#include "select_type.h"
#include <utility>
#include <cassert>
#include <type_traits>
namespace System {
class TypeInfo;
class SmartPtrInfo;
template <typename T... | 39.670282 | 180 | 0.633166 |
27d198346f69ea33d429793519e2c93558f1be1e | 1,206 | swift | Swift | Sources/AtomicModels/AtomicCollection.swift | serhii-londar/GraphiteClient | 61cce9639b777ac105ec69b45146c8fb0466e3a6 | [
"MIT"
] | 4 | 2019-05-31T10:59:41.000Z | 2020-11-12T23:23:46.000Z | Sources/AtomicModels/AtomicCollection.swift | serhii-londar/GraphiteClient | 61cce9639b777ac105ec69b45146c8fb0466e3a6 | [
"MIT"
] | null | null | null | Sources/AtomicModels/AtomicCollection.swift | serhii-londar/GraphiteClient | 61cce9639b777ac105ec69b45146c8fb0466e3a6 | [
"MIT"
] | 1 | 2021-10-30T21:56:11.000Z | 2021-10-30T21:56:11.000Z | import Foundation
public class AtomicCollection<T: Collection>: AtomicValue<T> {
private let conditionLock: ConditionLock
override public init(_ value: T) {
self.conditionLock = ConditionLock(condition: value.count)
super.init(value)
}
override func didUpdateValue() {
... | 40.2 | 116 | 0.674959 |
d248fc0eee318a6e301800ba9f132b23b65bb95b | 2,146 | php | PHP | resources/views/welcome.blade.php | naime-hossain/Larashop | 07e1f1c2f5b82b82ee407671751d4857854a563f | [
"MIT"
] | 1 | 2021-03-10T05:00:02.000Z | 2021-03-10T05:00:02.000Z | resources/views/welcome.blade.php | naime-hossain/Larashop | 07e1f1c2f5b82b82ee407671751d4857854a563f | [
"MIT"
] | null | null | null | resources/views/welcome.blade.php | naime-hossain/Larashop | 07e1f1c2f5b82b82ee407671751d4857854a563f | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('heading')
{{-- expr --}}
@if ($GeneralSetting)
<h1>{{ $GeneralSetting->site_title }}</h1>
<p>{{ $GeneralSetting->site_slogan }}</p>
@else
<h1>welcome to Larashop</h1>
<p>shop like there is no tommorow</p>
@endif
@endsection
@section('content'... | 25.547619 | 163 | 0.430568 |
6e4907a8d84e2ffe810ff47d8a6e113667bc8e34 | 427 | html | HTML | 02 Writing Algorithms/03 Securities/99 Asset Classes/01 US Equity/01 Requesting Data/08 Supported Markets.html | LouisSzeto/Documentation | 8f2e1881bad0d3c0a0c0fc2e613c73d8f3d1e0d7 | [
"Apache-2.0"
] | 1 | 2022-03-15T12:16:05.000Z | 2022-03-15T12:16:05.000Z | 02 Writing Algorithms/03 Securities/99 Asset Classes/01 US Equity/01 Requesting Data/08 Supported Markets.html | LouisSzeto/Documentation | 8f2e1881bad0d3c0a0c0fc2e613c73d8f3d1e0d7 | [
"Apache-2.0"
] | null | null | null | 02 Writing Algorithms/03 Securities/99 Asset Classes/01 US Equity/01 Requesting Data/08 Supported Markets.html | LouisSzeto/Documentation | 8f2e1881bad0d3c0a0c0fc2e613c73d8f3d1e0d7 | [
"Apache-2.0"
] | null | null | null | <div>What markets are supported:<br></div><div>-Market.USA <br></div><div><br></div><div>Why do I need to set specific a market?</div><div>- Each brokerage model has a default market for asset classes. If you set a brokerage model, you may not need to specify the market to use.<br></div><div><br></div><div>How do I dec... | 427 | 427 | 0.725995 |
132ccfc15fd1135bde97cce034de477f317b575f | 8,027 | c | C | HAP/HAPAccessorySetup.c | Raspberry-Pi-4-MCU/apple_homekit_example | 22970d352d064108a1f86e199be91952fff91ec8 | [
"Apache-2.0"
] | 2,443 | 2019-12-18T13:21:14.000Z | 2022-03-28T07:41:17.000Z | HAP/HAPAccessorySetup.c | Raspberry-Pi-4-MCU/apple_homekit_example | 22970d352d064108a1f86e199be91952fff91ec8 | [
"Apache-2.0"
] | 86 | 2019-12-19T15:11:09.000Z | 2022-03-14T06:04:31.000Z | HAP/HAPAccessorySetup.c | Raspberry-Pi-4-MCU/apple_homekit_example | 22970d352d064108a1f86e199be91952fff91ec8 | [
"Apache-2.0"
] | 266 | 2019-12-18T17:54:09.000Z | 2022-03-27T13:41:45.000Z | // Copyright (c) 2015-2019 The HomeKit ADK Contributors
//
// Licensed under the Apache License, Version 2.0 (the “License”);
// you may not use this file except in compliance with the License.
// See [CONTRIBUTORS.md] for the list of HomeKit ADK project authors.
#include "HAP+Internal.h"
HAP_RESULT_USE_CHECK
bool HA... | 36.652968 | 120 | 0.574312 |
efeafbe96abe6d7feec4eca7e54348b78d8c1aa6 | 567 | kt | Kotlin | nbrk_currency_rates/src/main/java/com/nbrk/rates/data/local/sharedpref/AppSettings.kt | rpagyc/nbrk-currency-rates | 7b9170035075b382c2747d2968ddda37f475e242 | [
"Apache-2.0"
] | null | null | null | nbrk_currency_rates/src/main/java/com/nbrk/rates/data/local/sharedpref/AppSettings.kt | rpagyc/nbrk-currency-rates | 7b9170035075b382c2747d2968ddda37f475e242 | [
"Apache-2.0"
] | null | null | null | nbrk_currency_rates/src/main/java/com/nbrk/rates/data/local/sharedpref/AppSettings.kt | rpagyc/nbrk-currency-rates | 7b9170035075b382c2747d2968ddda37f475e242 | [
"Apache-2.0"
] | 1 | 2021-01-20T08:00:45.000Z | 2021-01-20T08:00:45.000Z | package com.nbrk.rates.data.local.sharedpref
import android.content.Context
import org.jetbrains.anko.defaultSharedPreferences
/**
* Created by Roman Shakirov on 29-Oct-17.
* DigitTonic Studio
* support@digittonic.com
*/
class AppSettings(context: Context) {
private val sharedPref = context.defaultSharedPref... | 25.772727 | 62 | 0.783069 |
ffd57290da22f8c6815d24faff6d33a147ccbe7e | 3,610 | swift | Swift | AVPlayer/Controller/MovieListViewController.swift | rexjamesg/AVPlayerProject | 463d956d70b19c816990752cd8a350ecc85b456b | [
"MIT"
] | null | null | null | AVPlayer/Controller/MovieListViewController.swift | rexjamesg/AVPlayerProject | 463d956d70b19c816990752cd8a350ecc85b456b | [
"MIT"
] | null | null | null | AVPlayer/Controller/MovieListViewController.swift | rexjamesg/AVPlayerProject | 463d956d70b19c816990752cd8a350ecc85b456b | [
"MIT"
] | null | null | null | //
// MovieListViewController.swift
// AVPlayer
//
// Created by Yu Li Lin on 2019/9/4.
// Copyright © 2019 Yu Li Lin. All rights reserved.
//
import UIKit
class MovieListViewController: BaseViewController {
@IBOutlet weak var listCollectionView: UICollectionView!
@IBOutlet weak var flowLayout: U... | 31.12069 | 129 | 0.642382 |
2670fbd0adc96f81847b4477319230de6c33517c | 2,425 | java | Java | src/main/java/org/pageseeder/berlioz/util/Versions.java | clauret/wo-berlioz | 9b4c5695a8f406e1acea48de2bbcc8ce0c1a4bc9 | [
"Apache-2.0"
] | 1 | 2021-07-28T21:12:18.000Z | 2021-07-28T21:12:18.000Z | src/main/java/org/pageseeder/berlioz/util/Versions.java | clauret/wo-berlioz | 9b4c5695a8f406e1acea48de2bbcc8ce0c1a4bc9 | [
"Apache-2.0"
] | null | null | null | src/main/java/org/pageseeder/berlioz/util/Versions.java | clauret/wo-berlioz | 9b4c5695a8f406e1acea48de2bbcc8ce0c1a4bc9 | [
"Apache-2.0"
] | 2 | 2015-09-11T01:52:16.000Z | 2019-05-31T05:10:27.000Z | /*
* Copyright 2015 Allette Systems (Australia)
* http://www.allette.com.au
*
* 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
*
... | 33.219178 | 92 | 0.624742 |
e7ecc557e33faf2b68bd5445272a43c0e0419ea1 | 445 | py | Python | change_file_name.py | Guzhongren/picuture2thumbnail | 15d58c2e53652e5c5af9ff1bf89883b9038bfa03 | [
"MIT"
] | 1 | 2019-07-07T17:51:37.000Z | 2019-07-07T17:51:37.000Z | change_file_name.py | Guzhongren/picuture2thumbnail | 15d58c2e53652e5c5af9ff1bf89883b9038bfa03 | [
"MIT"
] | null | null | null | change_file_name.py | Guzhongren/picuture2thumbnail | 15d58c2e53652e5c5af9ff1bf89883b9038bfa03 | [
"MIT"
] | 1 | 2020-01-19T08:27:10.000Z | 2020-01-19T08:27:10.000Z | # -*- coding: utf-8 -*-
# Author:Guzhongren
# created: 2017-05-08
import os
path = 'C:\\geoconFailed\\willfix\\'
for file in os.listdir(path):
if os.path.isfile(os.path.join(path,file))==True:
_file= file.split(".")
_file_name=_file[0]
_file_type=_file[1]
new_file_name=_file_name[:-... | 27.8125 | 77 | 0.624719 |
f16f7991fccc9454ab41e3a46eeba8f20cef75e2 | 309 | kt | Kotlin | app/src/main/java/com/rolandvitezhu/todocloud/app/Constant.kt | rolandvitezhu/TodoCloud | 4cd43cb7b8ea3b2b93c4a682fd23efead1742393 | [
"MIT"
] | null | null | null | app/src/main/java/com/rolandvitezhu/todocloud/app/Constant.kt | rolandvitezhu/TodoCloud | 4cd43cb7b8ea3b2b93c4a682fd23efead1742393 | [
"MIT"
] | 1 | 2017-07-25T20:12:53.000Z | 2017-07-26T13:06:15.000Z | app/src/main/java/com/rolandvitezhu/todocloud/app/Constant.kt | rolandvitezhu/TodoCloud | 4cd43cb7b8ea3b2b93c4a682fd23efead1742393 | [
"MIT"
] | null | null | null | package com.rolandvitezhu.todocloud.app
/**
* Store app-wide used constants
*/
class Constant {
companion object {
const val DUE_DATE = "dueDate"
const val REMINDER_DATE_TIME = "reminderDateTime"
const val NOTIFICATION_CHANNEL_REMINDER = "NOTIFICATION_CHANNEL_REMINDER"
}
} | 23.769231 | 81 | 0.708738 |
201f5717b05496bce7986a7e2f5d34c58a5acea2 | 82 | css | CSS | less/variables.css | cmply/bootstrap | 1fb89907834af6e1a31baf53725137a6db243aa2 | [
"MIT"
] | null | null | null | less/variables.css | cmply/bootstrap | 1fb89907834af6e1a31baf53725137a6db243aa2 | [
"MIT"
] | null | null | null | less/variables.css | cmply/bootstrap | 1fb89907834af6e1a31baf53725137a6db243aa2 | [
"MIT"
] | null | null | null | @import url('https://fonts.googleapis.com/css?family=Open+Sans:700,600,400,300');
| 41 | 81 | 0.743902 |
9bfd830a7152b77206acc757116f85a31cd77c4e | 25 | js | JavaScript | src/scenes/ReactD3/services/api/index.js | marksauter/reactd3 | 10961213403db7ea25229305c017507e9ca2174b | [
"MIT"
] | null | null | null | src/scenes/ReactD3/services/api/index.js | marksauter/reactd3 | 10961213403db7ea25229305c017507e9ca2174b | [
"MIT"
] | null | null | null | src/scenes/ReactD3/services/api/index.js | marksauter/reactd3 | 10961213403db7ea25229305c017507e9ca2174b | [
"MIT"
] | null | null | null | export * from './data';
| 8.333333 | 23 | 0.56 |
9bb33f8984d239ff34355c6c0ab9b0f42a2c0206 | 14,916 | js | JavaScript | nerdlets/nr1-rssreader-nerdlet/index.js | newrelic/nr1-rssreader | 7e2b7c1a75589b113bc4b989650b8d129fe524e7 | [
"Apache-2.0"
] | null | null | null | nerdlets/nr1-rssreader-nerdlet/index.js | newrelic/nr1-rssreader | 7e2b7c1a75589b113bc4b989650b8d129fe524e7 | [
"Apache-2.0"
] | null | null | null | nerdlets/nr1-rssreader-nerdlet/index.js | newrelic/nr1-rssreader | 7e2b7c1a75589b113bc4b989650b8d129fe524e7 | [
"Apache-2.0"
] | null | null | null | import React from 'react';
import axios from 'axios';
import * as Parser from 'rss-parser';
import { Container, Grid, Image, Card, Icon, List, Modal, Button, Header } from 'semantic-ui-react'
import _ from 'lodash'
import { UserStorageMutation, UserStorageQuery, Toast } from 'nr1';
import EditModal from './editmodal'
... | 51.791667 | 3,507 | 0.734916 |
9653eb4f70ee3eb95a60cbc32de0d5ef2cbce997 | 546 | php | PHP | database/seeders/UserSeeder.php | laurensclaas/short-url | f933edeb25afbf0aa61087698f8e06ab06bdf34a | [
"MIT"
] | null | null | null | database/seeders/UserSeeder.php | laurensclaas/short-url | f933edeb25afbf0aa61087698f8e06ab06bdf34a | [
"MIT"
] | null | null | null | database/seeders/UserSeeder.php | laurensclaas/short-url | f933edeb25afbf0aa61087698f8e06ab06bdf34a | [
"MIT"
] | null | null | null | <?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\User;
class UserSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
if(User::all()->where('email','admin@test.com')->isEmpty()) {
$admin =... | 20.222222 | 69 | 0.532967 |
d2a1c927894ec6ec03d7fc1292b51fa656c04208 | 2,481 | php | PHP | src/Git/GitoliteClient.php | Rouji/gitlist | 32724a3765626d0b7bf18f00e0144967c9a721fa | [
"BSD-3-Clause"
] | null | null | null | src/Git/GitoliteClient.php | Rouji/gitlist | 32724a3765626d0b7bf18f00e0144967c9a721fa | [
"BSD-3-Clause"
] | null | null | null | src/Git/GitoliteClient.php | Rouji/gitlist | 32724a3765626d0b7bf18f00e0144967c9a721fa | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace GitList\Git;
use GitList\Git\Client as BaseClient;
use GitList\Exception\NoRepositoryException;
class GitoliteClient extends BaseClient
{
protected $gitoliteWrapperPath;
protected $username;
public function __construct($options = null)
{
parent::__construct($options);
... | 29.188235 | 179 | 0.559452 |
864a0df431c0e2f0efd8b9554691d00db6713974 | 1,768 | rs | Rust | plugins/sf_player/src/spawn_player.rs | will-hart/ld48 | 05626d3b59840c5dce0a772cbe00d16af72064bb | [
"Apache-2.0",
"MIT"
] | 1 | 2021-04-27T00:51:07.000Z | 2021-04-27T00:51:07.000Z | plugins/sf_player/src/spawn_player.rs | will-hart/ld48 | 05626d3b59840c5dce0a772cbe00d16af72064bb | [
"Apache-2.0",
"MIT"
] | null | null | null | plugins/sf_player/src/spawn_player.rs | will-hart/ld48 | 05626d3b59840c5dce0a772cbe00d16af72064bb | [
"Apache-2.0",
"MIT"
] | null | null | null | use bevy::prelude::*;
use sf_core::{dims::Dims, LightingTarget, Player, Position};
pub fn spawn_player(
mut commands: Commands,
asset_server: Res<AssetServer>,
mut texture_atlases: ResMut<Assets<TextureAtlas>>,
dims: Res<Dims>,
) {
let texture_handle = asset_server.load("character.png");
let te... | 32.740741 | 95 | 0.587104 |
4b9467f71b9a2905e55bf9fc0989a0228fb5fb4a | 12,998 | swift | Swift | Tests/RxGRDBTests/ValueObservationTests.swift | spottraceability/RxGRDB | c220ba065cdacecda95313417a5f5331f1f840c2 | [
"MIT"
] | 199 | 2017-04-06T16:07:08.000Z | 2022-03-04T08:13:13.000Z | Tests/RxGRDBTests/ValueObservationTests.swift | spottraceability/RxGRDB | c220ba065cdacecda95313417a5f5331f1f840c2 | [
"MIT"
] | 52 | 2017-04-06T11:59:27.000Z | 2021-11-25T12:24:10.000Z | Tests/RxGRDBTests/ValueObservationTests.swift | spottraceability/RxGRDB | c220ba065cdacecda95313417a5f5331f1f840c2 | [
"MIT"
] | 45 | 2017-04-06T11:41:52.000Z | 2022-02-03T21:44:17.000Z | import XCTest
import GRDB
import RxSwift
import RxGRDB
private struct Player: Codable, FetchableRecord, PersistableRecord {
var id: Int64
var name: String
var score: Int?
static func createTable(_ db: Database) throws {
try db.create(table: "player") { t in
t.autoIncrementedPri... | 39.749235 | 117 | 0.539929 |
90ca5ff9989f68933ec0da0818b11f06a0b594d9 | 1,224 | py | Python | locustfile_view_order.py | Ashutosh-Kaushik/ss-load-test-locust | 286e3cecad39f5ce991717e117392332a9810d64 | [
"Apache-2.0"
] | 1 | 2022-03-31T05:34:33.000Z | 2022-03-31T05:34:33.000Z | locustfile_view_order.py | Ashutosh-Kaushik/ss-load-test-locust | 286e3cecad39f5ce991717e117392332a9810d64 | [
"Apache-2.0"
] | null | null | null | locustfile_view_order.py | Ashutosh-Kaushik/ss-load-test-locust | 286e3cecad39f5ce991717e117392332a9810d64 | [
"Apache-2.0"
] | null | null | null | import csv
import random
import warnings
import os
from locust import HttpUser, task, between
body = {
"RequestHeader": {
"AppType": "N",
"AppVersion": "4.0.4",
"AppVersionCode": "109",
"DeviceId": "81653dce-0dd2-4201-8916-4aecbdd89269",
"DeviceDensity": "320",
"DeviceDensityType": "xhdpi",
... | 24.48 | 114 | 0.63317 |
1922254d47853adfe3088a5d6344ed4c19f1fcbb | 2,412 | sql | SQL | softApp/accounts.sql | nnamdimykel/Simple-Login-Page | f6e0e588f662e1743e798176ab01d80db4b463b9 | [
"Apache-2.0"
] | null | null | null | softApp/accounts.sql | nnamdimykel/Simple-Login-Page | f6e0e588f662e1743e798176ab01d80db4b463b9 | [
"Apache-2.0"
] | null | null | null | softApp/accounts.sql | nnamdimykel/Simple-Login-Page | f6e0e588f662e1743e798176ab01d80db4b463b9 | [
"Apache-2.0"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.8.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jul 24, 2018 at 07:54 PM
-- Server version: 10.1.34-MariaDB
-- PHP Version: 7.2.7
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD... | 30.531646 | 149 | 0.673715 |
16b566b8146c8d68b931b4d53463cf39ce662642 | 140 | ts | TypeScript | client/src/geometry/index.ts | gelzis/atlantis-economy-adivsor | 5aebc77fa84ebf581fd27306d37ab61ed1733322 | [
"MIT"
] | 1 | 2020-10-28T18:54:44.000Z | 2020-10-28T18:54:44.000Z | client/src/geometry/index.ts | gelzis/atlantis-economy-adivsor | 5aebc77fa84ebf581fd27306d37ab61ed1733322 | [
"MIT"
] | 21 | 2020-01-02T22:25:53.000Z | 2021-09-20T22:25:20.000Z | client/src/geometry/index.ts | valdisz/atlantis-economy-advisor | d0fc57827857e350ff5a11b216925b774ea2bbbc | [
"MIT"
] | 2 | 2020-02-21T10:44:11.000Z | 2021-07-04T10:24:53.000Z | export * from './doubled-coord'
export * from './offset-coord'
export * from './hex'
export * from './layout'
export * from './orientation'
| 23.333333 | 31 | 0.664286 |
395ea0487ffe5d75ebd3ed4940810f86066973f9 | 85 | html | HTML | packages/govtnz-ds-upstream/src/upstream/govuk/2.12.0/button__with-active-state.html | NZTA/govtnz-design-system | 0828a29cec93da0d43045b422d830e4064e6ad1a | [
"MIT"
] | 1 | 2020-09-28T00:56:23.000Z | 2020-09-28T00:56:23.000Z | packages/govtnz-ds-upstream/src/upstream/govuk/2.12.0/button__with-active-state.html | NZTA/govtnz-design-system | 0828a29cec93da0d43045b422d830e4064e6ad1a | [
"MIT"
] | 2 | 2022-02-14T22:41:39.000Z | 2022-02-27T22:06:39.000Z | packages/govtnz-ds-upstream/src/upstream/govuk/2.7.0/button__with-active-state.html | NZTA/govtnz-design-system | 0828a29cec93da0d43045b422d830e4064e6ad1a | [
"MIT"
] | null | null | null | <button class="govuk-button :active" name="active" type="submit">
Active
</button>
| 21.25 | 65 | 0.705882 |
000212b93b72053f6f4b9bb49f7b2ee984d28fff | 1,241 | kt | Kotlin | app/src/main/java/com/feechan/footballapps/presenter/teams/teamdetail/player/playerdetail/PlayerDetailPresenter.kt | feechanz/FootballApps | d83b5a3c00ab005d7daaa061f12dd8fb59a76941 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/feechan/footballapps/presenter/teams/teamdetail/player/playerdetail/PlayerDetailPresenter.kt | feechanz/FootballApps | d83b5a3c00ab005d7daaa061f12dd8fb59a76941 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/feechan/footballapps/presenter/teams/teamdetail/player/playerdetail/PlayerDetailPresenter.kt | feechanz/FootballApps | d83b5a3c00ab005d7daaa061f12dd8fb59a76941 | [
"Apache-2.0"
] | null | null | null | package com.feechan.footballapps.presenter.teams.teamdetail.player.playerdetail
import com.feechan.footballapps.data.SportApiDB
import com.feechan.footballapps.data.network.response.PlayerDetailResponse
import com.feechan.footballapps.data.repository.ApiRepository
import com.feechan.footballapps.utils.CoroutineContext... | 40.032258 | 159 | 0.691378 |
8edd3f90163a5aaa82c95a14211e272a417de14a | 928 | rb | Ruby | app/controllers/groups_controller.rb | SVRourke/quizzical | 11b3d54f187a4f9e5df7df033af48fdf917e02ed | [
"MIT"
] | 4 | 2021-07-18T16:47:26.000Z | 2022-02-02T22:35:31.000Z | app/controllers/groups_controller.rb | SVRourke/quizzical | 11b3d54f187a4f9e5df7df033af48fdf917e02ed | [
"MIT"
] | null | null | null | app/controllers/groups_controller.rb | SVRourke/quizzical | 11b3d54f187a4f9e5df7df033af48fdf917e02ed | [
"MIT"
] | 2 | 2022-02-02T22:35:49.000Z | 2022-02-06T01:53:55.000Z | class GroupsController < ApplicationController
before_action :unauthorized_redirect
after_action :verify_authorized
def index
authorize Group, :index?
@groups = Group.all
end
def show
@group= Group.find(params[:id])
authorize @group, :show?
render :teacher_v... | 22.634146 | 71 | 0.622845 |
4eab26d7a27d0ea2d3981dded8f831a869176cae | 1,446 | lua | Lua | Player/BodyFSM/RoboCup/bodyRobocupKickOld.lua | ToyotaResearchInstitute/rad-robot | 9a47e4d88382719ab9bf142932fbcc83dcbcd665 | [
"MIT"
] | null | null | null | Player/BodyFSM/RoboCup/bodyRobocupKickOld.lua | ToyotaResearchInstitute/rad-robot | 9a47e4d88382719ab9bf142932fbcc83dcbcd665 | [
"MIT"
] | null | null | null | Player/BodyFSM/RoboCup/bodyRobocupKickOld.lua | ToyotaResearchInstitute/rad-robot | 9a47e4d88382719ab9bf142932fbcc83dcbcd665 | [
"MIT"
] | 2 | 2018-06-04T12:38:54.000Z | 2018-09-22T10:31:27.000Z | local state = {}
state._NAME = ...
local Body = require'Body'
local util = require'util'
local vector = require'vector'
local libStep = require'libStep'
-- FSM coordination
local simple_ipc = require'simple_ipc'
local motion_ch = simple_ipc.new_publisher('MotionFSM!')
-- Get the human guided approach
require'hcm'... | 21.909091 | 78 | 0.688105 |
85d7b17b65ba3d59043c8f14a8103579c99dd4eb | 935 | js | JavaScript | src/client/js/formHandler.js | AlvaWebDeveloper/ProjectFour | f0a89608204f35ded9fdf5a261ff84a0c67db523 | [
"MIT"
] | null | null | null | src/client/js/formHandler.js | AlvaWebDeveloper/ProjectFour | f0a89608204f35ded9fdf5a261ff84a0c67db523 | [
"MIT"
] | 4 | 2021-05-11T10:57:04.000Z | 2022-02-27T03:15:10.000Z | src/client/js/formHandler.js | AlvaWebDeveloper/ProjectFour | f0a89608204f35ded9fdf5a261ff84a0c67db523 | [
"MIT"
] | null | null | null | import {getHandler} from './getHandler.js'
const entry = document.querySelector('#results');
function handleSubmit(event) {
event.preventDefault()
// check what text was put into the form field
let formText = document.getElementById('sentences').value
const postData = async ( url = '', data = {})=>... | 22.261905 | 63 | 0.588235 |
c7f41c0ddb320dab2b4d6996225bd87f090ca912 | 2,137 | java | Java | app/src/main/java/com/example/floralboutique/data/dao/OrderDao.java | roris/TheFloralBoutique | 01e51bc011cbf65fb37c8f7ed93d085b628e3e48 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/floralboutique/data/dao/OrderDao.java | roris/TheFloralBoutique | 01e51bc011cbf65fb37c8f7ed93d085b628e3e48 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/floralboutique/data/dao/OrderDao.java | roris/TheFloralBoutique | 01e51bc011cbf65fb37c8f7ed93d085b628e3e48 | [
"Apache-2.0"
] | null | null | null | package com.example.floralboutique.data.dao;
import android.arch.lifecycle.LiveData;
import android.arch.persistence.room.Dao;
import android.arch.persistence.room.Insert;
import android.arch.persistence.room.Query;
import android.arch.persistence.room.Transaction;
import android.support.annotation.WorkerThread;
impo... | 36.844828 | 122 | 0.743566 |
4e7b33e125c1d8a83577ddae9431f263ae1669c2 | 115 | sql | SQL | src/test/resources/sql/alter_operator_class/583095ad.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/alter_operator_class/583095ad.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/alter_operator_class/583095ad.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:alter_generic.sql ln:237 expect:true
ALTER OPERATOR CLASS alt_opc2 USING hash OWNER TO regress_alter_user2
| 38.333333 | 69 | 0.834783 |
265d60ebc5b8458d8a3d849894b71905d2d4ebc0 | 11,910 | java | Java | pinot-core/src/main/java/com/linkedin/pinot/core/startree/DefaultStarTreeBuilder.java | jzmq/pinot | b1f71cd5dc6fd69bef99f7990ee67de8ebd11296 | [
"Apache-2.0"
] | null | null | null | pinot-core/src/main/java/com/linkedin/pinot/core/startree/DefaultStarTreeBuilder.java | jzmq/pinot | b1f71cd5dc6fd69bef99f7990ee67de8ebd11296 | [
"Apache-2.0"
] | null | null | null | pinot-core/src/main/java/com/linkedin/pinot/core/startree/DefaultStarTreeBuilder.java | jzmq/pinot | b1f71cd5dc6fd69bef99f7990ee67de8ebd11296 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.com)
*
* 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
*
* Unle... | 36.090909 | 120 | 0.705542 |
3fa1da3a4930ccd51511f66fb987631e8f7bb0b1 | 6,903 | h | C | tensorflow/lite/kernels/internal/optimized/depthwiseconv_multithread.h | PaulWang1905/tensorflow | ebf12d22b4801fb8dab5034cc94562bf7cc33fa0 | [
"Apache-2.0"
] | 9 | 2019-12-29T01:47:37.000Z | 2021-12-21T13:47:41.000Z | tensorflow/lite/kernels/internal/optimized/depthwiseconv_multithread.h | PaulWang1905/tensorflow | ebf12d22b4801fb8dab5034cc94562bf7cc33fa0 | [
"Apache-2.0"
] | 1 | 2019-06-18T07:56:15.000Z | 2019-06-18T07:56:15.000Z | tensorflow/lite/kernels/internal/optimized/depthwiseconv_multithread.h | PaulWang1905/tensorflow | ebf12d22b4801fb8dab5034cc94562bf7cc33fa0 | [
"Apache-2.0"
] | 3 | 2020-05-11T07:48:52.000Z | 2021-05-05T10:26:16.000Z | /* Copyright 2019 The TensorFlow Authors. 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 applicable law or a... | 43.14375 | 82 | 0.689121 |
0cde6e9d59bff904867397a498cf0cce96687bf3 | 3,194 | py | Python | default-approach/data-collection/harpers-data/scraper_scripts/get-harpers-links.py | the-browser/recommending-interesting-writing | 9ff4771d3f437d33c26d2f306e393b5a90a04878 | [
"MIT"
] | 5 | 2020-09-17T17:56:21.000Z | 2021-11-03T02:40:27.000Z | default-approach/data-collection/harpers-data/scraper_scripts/get-harpers-links.py | the-browser/recommending-interesting-writing | 9ff4771d3f437d33c26d2f306e393b5a90a04878 | [
"MIT"
] | null | null | null | default-approach/data-collection/harpers-data/scraper_scripts/get-harpers-links.py | the-browser/recommending-interesting-writing | 9ff4771d3f437d33c26d2f306e393b5a90a04878 | [
"MIT"
] | 1 | 2020-11-01T11:37:38.000Z | 2020-11-01T11:37:38.000Z | BASE_URL="https://harpers.org/sections/readings/page/"
N_ARTICLE_LINK_PAGES = 50
OUTPUT_FILE = 'harpers-later-urls.json'
WORKER_THREADS = 32
import json
import datetime
import dateutil.parser
from dataclasses import dataclass
from dataclasses_json import dataclass_json
from datetime import datetime
from newspaper imp... | 31.313725 | 114 | 0.60551 |
40a213e666e8f70d96034aaeb0fbac73e94570db | 12,469 | html | HTML | docs/projects/codecheck/index.html | shubhamnishad97/shubhamnishad.com | b31f7ad03993fa4cf186e864d69f1d51a3d09a6f | [
"MIT"
] | 3 | 2018-02-16T14:46:09.000Z | 2019-11-26T17:27:17.000Z | docs/projects/codecheck/index.html | shubhamnishad97/shubhamnishad.com | b31f7ad03993fa4cf186e864d69f1d51a3d09a6f | [
"MIT"
] | null | null | null | docs/projects/codecheck/index.html | shubhamnishad97/shubhamnishad.com | b31f7ad03993fa4cf186e864d69f1d51a3d09a6f | [
"MIT"
] | null | null | null | <!doctype html>
<html ⚡ lang="en">
<head>
<meta name="keywords" content="Hackerrank,Django,jQuery,online judge">
<meta name="description" content=" CodeCheck is a Django based online judge made using the Hackerrank API. https://code-check-csi.herokuapp.com/
Features Supports 54 languages Contests can be... | 37.899696 | 768 | 0.537573 |
71d6378c988fc34172a335abf35229552c148b0a | 791 | ts | TypeScript | src/models/fhir/interfaces/ISubstanceNucleicAcid.ts | MeasureAuthoringTool/fhir-typescript-models | e32cd39a0d450c89a6c52702d3267133d44fa399 | [
"CC0-1.0"
] | 3 | 2021-03-02T19:04:49.000Z | 2021-12-28T21:55:16.000Z | src/models/fhir/interfaces/ISubstanceNucleicAcid.ts | MeasureAuthoringTool/fhir-typescript-models | e32cd39a0d450c89a6c52702d3267133d44fa399 | [
"CC0-1.0"
] | 178 | 2020-08-27T17:57:30.000Z | 2022-03-27T00:11:06.000Z | src/models/fhir/interfaces/ISubstanceNucleicAcid.ts | MeasureAuthoringTool/fhir-typescript-models | e32cd39a0d450c89a6c52702d3267133d44fa399 | [
"CC0-1.0"
] | 1 | 2021-12-19T22:07:07.000Z | 2021-12-19T22:07:07.000Z | /* eslint-disable import/prefer-default-export, import/no-cycle, @typescript-eslint/naming-convention, @typescript-eslint/no-empty-interface */
import {
ICodeableConcept,
IDomainResource,
IElement,
IPrimitiveInteger,
IPrimitiveString,
ISubstanceNucleicAcidSubunit,
} from "../internal";
export interface IS... | 30.423077 | 143 | 0.795196 |
4a524424b8a5fa1c4d2d1be25d736deeef1cf73e | 653 | js | JavaScript | frontend/src/pages/NewSimulation.js | georgeepta/BGP-Simulator | 3fba8e19da5940b9af5638b3b9109c9473ba9e99 | [
"BSD-3-Clause"
] | null | null | null | frontend/src/pages/NewSimulation.js | georgeepta/BGP-Simulator | 3fba8e19da5940b9af5638b3b9109c9473ba9e99 | [
"BSD-3-Clause"
] | null | null | null | frontend/src/pages/NewSimulation.js | georgeepta/BGP-Simulator | 3fba8e19da5940b9af5638b3b9109c9473ba9e99 | [
"BSD-3-Clause"
] | 1 | 2021-07-05T00:42:37.000Z | 2021-07-05T00:42:37.000Z | import React from 'react';
import '../App.css';
import { Button } from '../components/Button';
export default function NewSimulation() {
return (
<div className='new-simulation'>
<div className='simulation-type'>
<h1 className='h1'>Select Simulation Type</h1>
<div className="line-bre... | 26.12 | 56 | 0.532925 |
b1ba15d95cf9124bb919c0e070d089ae3ef97b4c | 1,731 | h | C | src/commlib/zcelib/zce_share_mem_mmap.h | sailzeng/zcelib | 88e14ab436f1b40e8071e15ef6d9fae396efc3b4 | [
"Apache-2.0"
] | 72 | 2015-01-08T05:01:48.000Z | 2021-12-28T06:13:03.000Z | src/commlib/zcelib/zce_share_mem_mmap.h | sailzeng/zcelib | 88e14ab436f1b40e8071e15ef6d9fae396efc3b4 | [
"Apache-2.0"
] | 4 | 2016-01-18T12:24:59.000Z | 2019-10-12T07:19:15.000Z | src/commlib/zcelib/zce_share_mem_mmap.h | sailzeng/zcelib | 88e14ab436f1b40e8071e15ef6d9fae396efc3b4 | [
"Apache-2.0"
] | 40 | 2015-01-26T06:49:18.000Z | 2021-07-20T08:11:48.000Z | #ifndef ZCE_LIB_SHARE_MEMORY_MMAP_H_
#define ZCE_LIB_SHARE_MEMORY_MMAP_H_
#include "zce_os_adapt_predefine.h"
#include "zce_boost_non_copyable.h"
/*********************************************************************************
class ZCE_ShareMem_Mmap 封装MMAP共享内存映射文件函数
************************************************... | 22.776316 | 82 | 0.53264 |
ad8e1594aeab390f713270f55851d61afd14f065 | 578 | rs | Rust | src/lib.rs | erikjohnston/rust-signed-json | 4f0539852a355e5b6bb394579ca461586a04d59b | [
"Apache-2.0"
] | null | null | null | src/lib.rs | erikjohnston/rust-signed-json | 4f0539852a355e5b6bb394579ca461586a04d59b | [
"Apache-2.0"
] | null | null | null | src/lib.rs | erikjohnston/rust-signed-json | 4f0539852a355e5b6bb394579ca461586a04d59b | [
"Apache-2.0"
] | null | null | null | mod canonical;
pub mod json;
#[cfg(feature = "signed")]
pub mod signed;
use anyhow::Error;
pub use canonical::Canonical;
#[doc(inline)]
pub use json::{to_string_canonical, to_vec_canonical};
#[doc(inline)]
#[cfg(feature = "signed")]
pub use signed::Signed;
pub use ed25519_dalek::{Keypair, PublicKey, SecretKey};
/// ... | 25.130435 | 74 | 0.698962 |
48b650a179b9986c597fa72ed0a0941c01be7f59 | 1,453 | kt | Kotlin | mobile-ui/src/main/java/org/dukecon/android/ui/features/speakerdetail/SpeakerDetailActivity.kt | dukecon/dukecon_android | 9f3deaf245a953d089fa7666c5f10cb442ea4080 | [
"Apache-2.0"
] | 2 | 2018-12-11T21:41:49.000Z | 2018-12-12T06:55:46.000Z | mobile-ui/src/main/java/org/dukecon/android/ui/features/speakerdetail/SpeakerDetailActivity.kt | dukecon/dukecon_android | 9f3deaf245a953d089fa7666c5f10cb442ea4080 | [
"Apache-2.0"
] | 43 | 2017-07-30T11:55:43.000Z | 2019-03-21T09:18:50.000Z | mobile-ui/src/main/java/org/dukecon/android/ui/features/speakerdetail/SpeakerDetailActivity.kt | dukecon/dukecon_android | 9f3deaf245a953d089fa7666c5f10cb442ea4080 | [
"Apache-2.0"
] | 1 | 2018-05-18T10:31:17.000Z | 2018-05-18T10:31:17.000Z | package org.dukecon.android.ui.features.speakerdetail
import android.app.Activity
import android.content.Intent
import android.os.Build.VERSION
import android.os.Build.VERSION_CODES
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_speaker_detail.*
... | 30.914894 | 76 | 0.708878 |
7cb67578b114823eacfbc8d33bfef2685dd6d098 | 578 | rs | Rust | day_10_a/src/main.rs | torkeldanielsson/aoc2020 | d2c1de52a4e1d9e1c8bfa2461d18f8316669bbbf | [
"MIT"
] | null | null | null | day_10_a/src/main.rs | torkeldanielsson/aoc2020 | d2c1de52a4e1d9e1c8bfa2461d18f8316669bbbf | [
"MIT"
] | null | null | null | day_10_a/src/main.rs | torkeldanielsson/aoc2020 | d2c1de52a4e1d9e1c8bfa2461d18f8316669bbbf | [
"MIT"
] | null | null | null | use std::error::Error;
use std::fs;
fn main() -> Result<(), Box<dyn Error>> {
let input = fs::read_to_string("input")?;
let mut numbers: Vec<i64> = input.lines().map(|s| s.parse::<i64>().unwrap()).collect();
numbers.push(0);
numbers.sort();
let mut counts = vec![0; 4];
counts[3] += 1;
... | 19.931034 | 91 | 0.49308 |
31bc1cecdd9728a87898117d1c850ac3c8353864 | 9,441 | swift | Swift | EmbeddedSocial/Sources/Modules/PostDetail/Presenter/PostDetailPresenter.swift | LDaneliukas/EmbeddedSocial-iOS-SDK | c1de4c64b9d744020d10bde8411db03968f24965 | [
"MIT"
] | 10 | 2017-10-20T05:39:40.000Z | 2019-04-28T16:06:12.000Z | EmbeddedSocial/Sources/Modules/PostDetail/Presenter/PostDetailPresenter.swift | LDaneliukas/EmbeddedSocial-iOS-SDK | c1de4c64b9d744020d10bde8411db03968f24965 | [
"MIT"
] | 365 | 2017-09-29T07:31:05.000Z | 2018-10-18T16:27:48.000Z | EmbeddedSocial/Sources/Modules/PostDetail/Presenter/PostDetailPresenter.swift | LDaneliukas/EmbeddedSocial-iOS-SDK | c1de4c64b9d744020d10bde8411db03968f24965 | [
"MIT"
] | 8 | 2019-08-07T07:13:30.000Z | 2021-11-10T10:11:30.000Z | //
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
//
import UIKit
class PostDetailPresenter: PostDetailViewOutput, PostDetailInteractorOutput, PostDetailModuleInput {
weak var view: PostDetailViewInput!
... | 28.783537 | 113 | 0.615401 |
753871f8b5e525aa12fb97010294084a18e5bf27 | 320 | rs | Rust | gtk4/src/subclass/fixed.rs | melix99/gtk4-rs | c382c0536e995584a789a90605a0120ee1aa24eb | [
"MIT-0",
"MIT"
] | 62 | 2019-08-15T14:33:24.000Z | 2020-11-04T10:24:58.000Z | gtk4/src/subclass/fixed.rs | melix99/gtk4-rs | c382c0536e995584a789a90605a0120ee1aa24eb | [
"MIT-0",
"MIT"
] | 32 | 2019-08-13T19:50:27.000Z | 2020-11-05T09:54:52.000Z | gtk4/src/subclass/fixed.rs | melix99/gtk4-rs | c382c0536e995584a789a90605a0120ee1aa24eb | [
"MIT-0",
"MIT"
] | 7 | 2019-08-13T16:47:07.000Z | 2020-10-23T19:42:31.000Z | // Take a look at the license at the top of the repository in the LICENSE file.
// rustdoc-stripper-ignore-next
//! Traits intended for subclassing [`Fixed`](crate::Fixed).
use crate::subclass::prelude::*;
use crate::Fixed;
pub trait FixedImpl: WidgetImpl {}
unsafe impl<T: FixedImpl> IsSubclassable<T> for Fixed {}
| 26.666667 | 79 | 0.73125 |
40dfe64789b33f8b883de5c47dfe32eb03cfa7e7 | 37,626 | py | Python | mars/dataframe/align.py | wjsi/mars | a69fb19edfe748d4393b90ff2c4941a76c084596 | [
"Apache-2.0"
] | 1 | 2022-02-02T03:03:48.000Z | 2022-02-02T03:03:48.000Z | mars/dataframe/align.py | wjsi/mars | a69fb19edfe748d4393b90ff2c4941a76c084596 | [
"Apache-2.0"
] | null | null | null | mars/dataframe/align.py | wjsi/mars | a69fb19edfe748d4393b90ff2c4941a76c084596 | [
"Apache-2.0"
] | null | null | null | # Copyright 1999-2021 Alibaba Group Holding Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 38.006061 | 88 | 0.593552 |
544a529716cb448b90096dbc95ed4208acf6db92 | 1,437 | go | Go | bloomfilter.go | UncleKing/bloom-go | 11ea284d407b33bd1921122141513ec7c72dddba | [
"MIT"
] | null | null | null | bloomfilter.go | UncleKing/bloom-go | 11ea284d407b33bd1921122141513ec7c72dddba | [
"MIT"
] | null | null | null | bloomfilter.go | UncleKing/bloom-go | 11ea284d407b33bd1921122141513ec7c72dddba | [
"MIT"
] | null | null | null | package bloomfilter
type BloomFilter struct {
bitBuffer []uint64
size uint64
hash1 Hasher
hash2 Hasher
mask []uint64
}
func (bf *BloomFilter) Default() {
bf.init(defaultSize)
bf.hash1 = &SimpleHasher{prefix: randomString1}
bf.hash2 = &SimpleHasher{prefix: randomString2}
}
func (bf *Bloo... | 18.907895 | 80 | 0.63048 |
40c7af7ff227f068191e59bc73e1c83bccc2a1cb | 538 | html | HTML | _includes/java-jvm-zhouzhiming.html | jiafangtao/lesss.is.more | b8b0243d72e8b0636eed2a4ab908a9a5a0380485 | [
"MIT"
] | null | null | null | _includes/java-jvm-zhouzhiming.html | jiafangtao/lesss.is.more | b8b0243d72e8b0636eed2a4ab908a9a5a0380485 | [
"MIT"
] | 5 | 2016-12-20T08:43:55.000Z | 2022-02-26T05:55:39.000Z | _includes/java-jvm-zhouzhiming.html | jiafangtao/jiafangtao.github.io | 1aa8cf0d2fe80310a59aa0dde7ae745fb3e6c624 | [
"MIT"
] | null | null | null | <script type="text/javascript">
< !--
dd_ad_output="html";
dd_ad_width = 180;
dd_ad_height = 282;
dd_ad_client = "P-314444";
dd_ad_format = 20;
dd_ad_id = 0;
dd_product_id = 23259731;
dd_img_size = 150;
dd_display_style = 0;
dd_text_url = "";
dd_color_text = "";
dd_co... | 26.9 | 95 | 0.611524 |
810060d54cc593d090bf2f45200c4adeb0c5fe23 | 3,070 | rs | Rust | rg3d-ui/src/inspector/editors/vec.rs | vigdail/rg3d | b65bfdab350f8c1d48bcc288a8449cc74653ef51 | [
"MIT"
] | null | null | null | rg3d-ui/src/inspector/editors/vec.rs | vigdail/rg3d | b65bfdab350f8c1d48bcc288a8449cc74653ef51 | [
"MIT"
] | null | null | null | rg3d-ui/src/inspector/editors/vec.rs | vigdail/rg3d | b65bfdab350f8c1d48bcc288a8449cc74653ef51 | [
"MIT"
] | null | null | null | use crate::{
core::{
algebra::{Vector2, Vector3, Vector4},
inspect::PropertyInfo,
pool::Handle,
},
inspector::{
editors::{Layout, PropertyEditorBuildContext, PropertyEditorDefinition},
InspectorError,
},
message::{
FieldKind, MessageDirection, Property... | 29.238095 | 99 | 0.515309 |
262fef5d54452580f40cfb6e1ecc4a4fbcbecf96 | 1,801 | java | Java | chapter_005/src/main/java/exam/Switcher.java | hedg-r52/job4j | 890496986de8b8f402d50dc0603fea916b2f4b70 | [
"Apache-2.0"
] | null | null | null | chapter_005/src/main/java/exam/Switcher.java | hedg-r52/job4j | 890496986de8b8f402d50dc0603fea916b2f4b70 | [
"Apache-2.0"
] | 7 | 2019-11-13T10:48:36.000Z | 2021-04-26T19:15:42.000Z | chapter_005/src/main/java/exam/Switcher.java | hedg-r52/job4j | 890496986de8b8f402d50dc0603fea916b2f4b70 | [
"Apache-2.0"
] | null | null | null | package exam;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;
public class Switcher {
private StringBuilder sb;
public static final int SEQUENCE_LENGTH = 10;
final Semaphore sem1 = new Semaphore(1);
final Semaphore sem2 = new ... | 26.485294 | 99 | 0.601333 |
af1396c032be86fccacbfa90a2e2730d011170e0 | 644 | rb | Ruby | lib/mongoid/matcher/in.rb | tstaetter/mongoid | ec8d4850a6c610cdf984c65bad095cc921a05b8b | [
"MIT"
] | 999 | 2015-07-27T18:40:22.000Z | 2022-03-31T02:58:17.000Z | lib/mongoid/matcher/in.rb | tstaetter/mongoid | ec8d4850a6c610cdf984c65bad095cc921a05b8b | [
"MIT"
] | 549 | 2015-08-14T08:02:43.000Z | 2022-03-31T18:39:23.000Z | lib/mongoid/matcher/in.rb | tstaetter/mongoid | ec8d4850a6c610cdf984c65bad095cc921a05b8b | [
"MIT"
] | 551 | 2015-07-27T12:13:48.000Z | 2022-03-26T08:19:10.000Z | module Mongoid
module Matcher
# @api private
module In
module_function def matches?(exists, value, condition)
unless Array === condition
raise Errors::InvalidQuery, "$in argument must be an array: #{Errors::InvalidQuery.truncate_expr(condition)}"
end
if Array === value... | 24.769231 | 119 | 0.53882 |
f000f73c7ff791dd3f202fae2e9cd2cdf7773f23 | 8,046 | py | Python | hera_cc_utils/catalog.py | pagano-michael/hera_cc_utils | 2d61f8ab0bb4d75b9a2e5891450256195851db08 | [
"MIT"
] | null | null | null | hera_cc_utils/catalog.py | pagano-michael/hera_cc_utils | 2d61f8ab0bb4d75b9a2e5891450256195851db08 | [
"MIT"
] | 6 | 2021-09-08T21:28:12.000Z | 2021-09-15T18:18:33.000Z | hera_cc_utils/catalog.py | pagano-michael/hera_cc_utils | 2d61f8ab0bb4d75b9a2e5891450256195851db08 | [
"MIT"
] | 1 | 2021-12-01T15:29:55.000Z | 2021-12-01T15:29:55.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2021 The HERA Collaboration
# Licensed under the MIT License
"""Utilities for dealing with galaxy/QSO catalogs."""
import numpy as np
import matplotlib.pyplot as plt
from astropy.coordinates import SkyCoord
from .util import deg_per_hr
_xshooter_ref = "https://ui.adsabs.harva... | 28.83871 | 88 | 0.527716 |