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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3c58c2923df187536af97da1aad18767aadbfcdf | 2,260 | lua | Lua | lua/aerial/layout.lua | eddiebergman/aerial.nvim | 4ce6499dbf92cdce9460c23e9660cdfcb511f5b9 | [
"MIT"
] | null | null | null | lua/aerial/layout.lua | eddiebergman/aerial.nvim | 4ce6499dbf92cdce9460c23e9660cdfcb511f5b9 | [
"MIT"
] | null | null | null | lua/aerial/layout.lua | eddiebergman/aerial.nvim | 4ce6499dbf92cdce9460c23e9660cdfcb511f5b9 | [
"MIT"
] | null | null | null | local M = {}
local function is_float(value)
local _, p = math.modf(value)
return p ~= 0
end
local function calc_float(value, max_value)
if value and is_float(value) then
return math.min(max_value, value * max_value)
else
return value
end
end
local function calc_list(values, max_value, aggregator, l... | 23.061224 | 80 | 0.708407 |
86ef49ac7c89b9f589818f073c8d889e413e088e | 852 | swift | Swift | HappyZoo/HappyZoo/CustomTableViewCell.swift | Donny8028/Swift-Applications | e212d3cafb9b9466ce1a97e3b7d43f2158e7673a | [
"MIT"
] | null | null | null | HappyZoo/HappyZoo/CustomTableViewCell.swift | Donny8028/Swift-Applications | e212d3cafb9b9466ce1a97e3b7d43f2158e7673a | [
"MIT"
] | null | null | null | HappyZoo/HappyZoo/CustomTableViewCell.swift | Donny8028/Swift-Applications | e212d3cafb9b9466ce1a97e3b7d43f2158e7673a | [
"MIT"
] | null | null | null | //
// CustomTableViewCell.swift
// HappyZoo
//
// Created by 賢瑭 何 on 2016/6/13.
// Copyright © 2016年 Donny. All rights reserved.
//
import UIKit
class CustomTableViewCell: UITableViewCell {
@IBOutlet weak var thumbnail: UIImageView!
@IBOutlet weak var chName: UILabel!
@IBOutlet weak var engName: ... | 20.780488 | 63 | 0.577465 |
d057c93496238efb2aa1e600d5f0e4f155840a37 | 1,508 | sql | SQL | src/main/resources/data.sql | theFaustus/employee-locator | a9657cf31f1af0cfc0bf61dea08a1c6776b9615d | [
"MIT"
] | null | null | null | src/main/resources/data.sql | theFaustus/employee-locator | a9657cf31f1af0cfc0bf61dea08a1c6776b9615d | [
"MIT"
] | null | null | null | src/main/resources/data.sql | theFaustus/employee-locator | a9657cf31f1af0cfc0bf61dea08a1c6776b9615d | [
"MIT"
] | 1 | 2022-01-28T14:26:49.000Z | 2022-01-28T14:26:49.000Z | INSERT INTO public.employees (id, email, first_name, job_position, last_name, password, role, username, country, city, street, geo_processed) VALUES
(1,'dtugdar@evil-inc.com','Dorin','MEDIOR','Tugdar','$2a$10UfZidY.e.miCC','USER','dtugdar','USA','Washington','1600 Pennsylvania Ave', false),
(2,'iparagam@evil-inc.com','... | 150.8 | 164 | 0.712865 |
75a807d8029a9531a0d56ecf9feb3d2bf8aede74 | 7,095 | rs | Rust | crates/starlight/src/heap/precise_allocation.rs | RDambrosio016/starlight | 60b8bdc8fa8cb479c3fe66138681f779e3d02701 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | crates/starlight/src/heap/precise_allocation.rs | RDambrosio016/starlight | 60b8bdc8fa8cb479c3fe66138681f779e3d02701 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | crates/starlight/src/heap/precise_allocation.rs | RDambrosio016/starlight | 60b8bdc8fa8cb479c3fe66138681f779e3d02701 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | use super::{addr::Address, cell::*};
use std::alloc::{alloc, dealloc, Layout};
use std::sync::atomic::{AtomicBool, Ordering};
//intrusive_adapter!(pub PreciseAllocationNode = UnsafeRef<PreciseAllocation> : PreciseAllocation {link: LinkedListLink});
/// Precise allocation used for large objects (>= LARGE_CUTOFF).
/// Wa... | 37.539683 | 122 | 0.58957 |
9e871dc3c156ce0db9521c55dd5bdd61eb681327 | 72 | sql | SQL | services/hasura/migrations/1630785352979_alter_table_public_dashboards_alter_column_team_id/up.sql | em3ndez/mlcraft | 4e42bf8ffeace1b09397e4d1a806cefae6800678 | [
"Apache-2.0",
"MIT"
] | 336 | 2021-06-20T19:55:43.000Z | 2022-03-25T14:15:45.000Z | services/hasura/migrations/1630785352979_alter_table_public_dashboards_alter_column_team_id/up.sql | em3ndez/mlcraft | 4e42bf8ffeace1b09397e4d1a806cefae6800678 | [
"Apache-2.0",
"MIT"
] | 13 | 2021-06-21T13:09:50.000Z | 2022-03-07T07:54:58.000Z | services/hasura/migrations/1630785352979_alter_table_public_dashboards_alter_column_team_id/up.sql | em3ndez/mlcraft | 4e42bf8ffeace1b09397e4d1a806cefae6800678 | [
"Apache-2.0",
"MIT"
] | 15 | 2021-06-21T08:41:37.000Z | 2022-01-26T12:52:01.000Z | alter table "public"."dashboards" alter column "team_id" drop not null;
| 36 | 71 | 0.763889 |
743040b45b2ed57c51f5e2390f2106a07a473685 | 58,789 | c | C | VoltammetricBipotentiostatApp_350.c | aidanmurfie/PhD_Thesis | 55d5f80149509ab79e3d1871aa6fbc28496898e4 | [
"MIT"
] | null | null | null | VoltammetricBipotentiostatApp_350.c | aidanmurfie/PhD_Thesis | 55d5f80149509ab79e3d1871aa6fbc28496898e4 | [
"MIT"
] | null | null | null | VoltammetricBipotentiostatApp_350.c | aidanmurfie/PhD_Thesis | 55d5f80149509ab79e3d1871aa6fbc28496898e4 | [
"MIT"
] | null | null | null | /*********************************************************************************
Copyright (c) 2014 Analog Devices, Inc. All Rights Reserved.
This software is proprietary to Analog Devices, Inc. and its licensors. By using
this software you agree to the terms of the associated Analog Devices Software
Licen... | 41.783227 | 191 | 0.47878 |
40b0a1dfb43202165653f8f95ad61ca6a8f8fe82 | 2,136 | py | Python | statsSend/teamCity/teamCityStatisticsSender.py | luigiberrettini/build-deploy-stats | 52a0bf5aeb8d2f8ef62e4e836eb0b9874dea500d | [
"MIT"
] | 2 | 2017-07-04T14:30:35.000Z | 2017-07-04T16:04:53.000Z | statsSend/teamCity/teamCityStatisticsSender.py | luigiberrettini/build-deploy-stats | 52a0bf5aeb8d2f8ef62e4e836eb0b9874dea500d | [
"MIT"
] | null | null | null | statsSend/teamCity/teamCityStatisticsSender.py | luigiberrettini/build-deploy-stats | 52a0bf5aeb8d2f8ef62e4e836eb0b9874dea500d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from dateutil import parser
from statsSend.session import Session
from statsSend.utils import print_exception
from statsSend.urlBuilder import UrlBuilder
from statsSend.teamCity.teamCityProject import TeamCityProject
class TeamCityStatisticsSender:
def __init__(self, settings, reporter):
... | 49.674419 | 141 | 0.644195 |
0a5db0663c34e5537f2666534e394ce3c501400a | 1,832 | kt | Kotlin | Project/app/src/main/java/org/ionproject/android/common/workers/ProgrammeOfferWorker.kt | i-on-project/android | c18e940a10b9bcc4e3511ca7fa2c647be5db9ff2 | [
"Apache-2.0"
] | 7 | 2020-03-05T19:05:27.000Z | 2022-01-25T20:28:55.000Z | Project/app/src/main/java/org/ionproject/android/common/workers/ProgrammeOfferWorker.kt | i-on-project/android | c18e940a10b9bcc4e3511ca7fa2c647be5db9ff2 | [
"Apache-2.0"
] | 54 | 2020-03-05T19:06:31.000Z | 2021-05-24T13:17:26.000Z | Project/app/src/main/java/org/ionproject/android/common/workers/ProgrammeOfferWorker.kt | i-on-project/android | c18e940a10b9bcc4e3511ca7fa2c647be5db9ff2 | [
"Apache-2.0"
] | 1 | 2020-09-11T11:57:47.000Z | 2020-09-11T11:57:47.000Z | package org.ionproject.android.common.workers
import android.content.Context
import androidx.work.WorkerParameters
import org.ionproject.android.common.IonApplication
import org.ionproject.android.common.dto.SirenEntity
import org.ionproject.android.programmes.toProgrammeOffer
import java.net.URI
class ProgrammeOffer... | 35.230769 | 95 | 0.68941 |
f096f12672dc8cc406412f4e784d59f039d3b8f1 | 4,800 | js | JavaScript | flow-types/types/notify_vx.x.x/flow_v0.25.x-/notify.js | goodmind/FlowDefinitelyTyped | 9b2bf8af438bf10f6a375f441301109be02ef876 | [
"MIT"
] | 15 | 2019-02-09T07:05:17.000Z | 2021-04-04T14:30:00.000Z | flow-types/types/notify_vx.x.x/flow_v0.25.x-/notify.js | goodmind/FlowDefinitelyTyped | 9b2bf8af438bf10f6a375f441301109be02ef876 | [
"MIT"
] | 1 | 2021-05-08T04:00:43.000Z | 2021-05-08T04:00:43.000Z | flow-types/types/notify_vx.x.x/flow_v0.25.x-/notify.js | goodmind/FlowDefinitelyTyped | 9b2bf8af438bf10f6a375f441301109be02ef876 | [
"MIT"
] | 4 | 2019-03-21T14:39:18.000Z | 2020-11-04T07:42:28.000Z | declare module "notify" {
declare interface Notify$Options {
/**
* Whether to hide the notification on click. Default is true.
*/
clickToHide?: boolean;
/**
* Whether to auto-hide the notification (after autoHideDelay milliseconds). Default is true.
*/
autoHide?: boolean;
/**... | 30.188679 | 102 | 0.647083 |
27eadd147dcbff915d66cd6d1d6039977ffc4963 | 6,771 | swift | Swift | test/Sema/availability_refinement_contexts.swift | goingreen/swift | 13966657128f4b3e663a9085ea7be5de93cdaa96 | [
"Apache-2.0"
] | null | null | null | test/Sema/availability_refinement_contexts.swift | goingreen/swift | 13966657128f4b3e663a9085ea7be5de93cdaa96 | [
"Apache-2.0"
] | null | null | null | test/Sema/availability_refinement_contexts.swift | goingreen/swift | 13966657128f4b3e663a9085ea7be5de93cdaa96 | [
"Apache-2.0"
] | null | null | null | // RUN: %target-swift-frontend -typecheck -dump-type-refinement-contexts %s > %t.dump 2>&1
// RUN: %FileCheck --strict-whitespace %s < %t.dump
// REQUIRES: OS=macosx
// CHECK: {{^}}(root versions=[10.{{[0-9]+}}.0,+Inf)
// CHECK-NEXT: {{^}} (decl versions=[10.51,+Inf) decl=SomeClass
// CHECK-NEXT: {{^}} (decl ver... | 30.777273 | 108 | 0.615123 |
1f1e5631cae402414c4ad290ad4887e1c32e8e71 | 5,208 | kts | Kotlin | app/build.gradle.kts | WiMank/Playlist-Export-For-Spotify | 8a2b55851849ec639b2dbde64970c4e11a55ec48 | [
"Apache-2.0"
] | 2 | 2020-10-10T11:30:52.000Z | 2021-02-02T14:16:24.000Z | app/build.gradle.kts | WiMank/Playlist-Export-For-Spotify | 8a2b55851849ec639b2dbde64970c4e11a55ec48 | [
"Apache-2.0"
] | null | null | null | app/build.gradle.kts | WiMank/Playlist-Export-For-Spotify | 8a2b55851849ec639b2dbde64970c4e11a55ec48 | [
"Apache-2.0"
] | 1 | 2020-09-13T13:57:57.000Z | 2020-09-13T13:57:57.000Z | import com.android.build.gradle.internal.dsl.BuildType
import java.io.FileInputStream
import java.util.*
plugins {
id(Plugins.androidApplication)
kotlin(Plugins.android)
kotlin(Plugins.androidExtensions)
kotlin(Plugins.kapt)
id(Plugins.hiltPlugin)
id(Plugins.safeargsKotlinPlugin)
id(Plugin... | 27.555556 | 93 | 0.723118 |
313f74a853ff3fef83b97d63570c19607fab4487 | 1,121 | swift | Swift | Sources/Networking/NetworkingClient.swift | clementleroy/EQSNetworking | 3a48ccc00489e4ab915b82b049d265870f3940a7 | [
"MIT"
] | null | null | null | Sources/Networking/NetworkingClient.swift | clementleroy/EQSNetworking | 3a48ccc00489e4ab915b82b049d265870f3940a7 | [
"MIT"
] | null | null | null | Sources/Networking/NetworkingClient.swift | clementleroy/EQSNetworking | 3a48ccc00489e4ab915b82b049d265870f3940a7 | [
"MIT"
] | null | null | null | import Foundation
import Combine
public class NetworkingClient {
/**
Instead of using the same keypath for every call eg: "collection",
this enables to use a default keypath for parsing collections.
This is overidden by the per-request keypath if present.
*/
public var defau... | 27.341463 | 74 | 0.662801 |
e2d300d8e4e121b06dc29366489ac410c8633131 | 120 | kt | Kotlin | cortex-console/src/main/kotlin/com/hileco/cortex/console/graphics/TableColumn.kt | SkPhilipp/cortex | 5e45e4a3659d4fd7167ae31a58bee7785a869993 | [
"MIT"
] | 6 | 2021-11-02T18:28:01.000Z | 2022-02-04T11:18:08.000Z | cortex-console/src/main/kotlin/com/hileco/cortex/console/graphics/TableColumn.kt | SkPhilipp/cortex | 5e45e4a3659d4fd7167ae31a58bee7785a869993 | [
"MIT"
] | null | null | null | cortex-console/src/main/kotlin/com/hileco/cortex/console/graphics/TableColumn.kt | SkPhilipp/cortex | 5e45e4a3659d4fd7167ae31a58bee7785a869993 | [
"MIT"
] | 1 | 2021-11-02T18:33:11.000Z | 2021-11-02T18:33:11.000Z | package com.hileco.cortex.console.graphics
data class TableColumn(
val title: String,
val width: Int
)
| 17.142857 | 42 | 0.683333 |
d9afe57d9052560a17fd4cac6c92b496ea3304fc | 1,821 | rs | Rust | fenris-solid/tests/unit_tests/gravity_source.rs | Andlon/fenris | 297a9e9e09efb1f524cd439c8e88d6248aa500a6 | [
"Apache-2.0",
"MIT"
] | 28 | 2021-10-08T23:42:25.000Z | 2022-03-18T15:50:05.000Z | fenris-solid/tests/unit_tests/gravity_source.rs | Andlon/fenris | 297a9e9e09efb1f524cd439c8e88d6248aa500a6 | [
"Apache-2.0",
"MIT"
] | 3 | 2021-11-03T15:20:21.000Z | 2021-11-15T15:12:16.000Z | fenris-solid/tests/unit_tests/gravity_source.rs | Andlon/fenris | 297a9e9e09efb1f524cd439c8e88d6248aa500a6 | [
"Apache-2.0",
"MIT"
] | 6 | 2021-11-03T15:09:58.000Z | 2022-02-21T17:06:43.000Z | use fenris::assembly::global::{CsrAssembler, VectorAssembler};
use fenris::assembly::local::{Density, ElementMassAssembler, ElementSourceAssemblerBuilder, UniformQuadratureTable};
use fenris::mesh::procedural::create_unit_square_uniform_quad_mesh_2d;
use fenris::mesh::QuadMesh2d;
use fenris::nalgebra;
use fenris::nalge... | 44.414634 | 116 | 0.731466 |
a88a354411ee92ceecd52db21aa75e5c37db8781 | 3,195 | swift | Swift | FZClosureScrollView/Classes/CollectionView/FZCollectionViewManager.swift | FranZhou/FZClosureScrollView | 64b0fea766279b6fe7a93b360b29d1bc5e5906a6 | [
"MIT"
] | null | null | null | FZClosureScrollView/Classes/CollectionView/FZCollectionViewManager.swift | FranZhou/FZClosureScrollView | 64b0fea766279b6fe7a93b360b29d1bc5e5906a6 | [
"MIT"
] | null | null | null | FZClosureScrollView/Classes/CollectionView/FZCollectionViewManager.swift | FranZhou/FZClosureScrollView | 64b0fea766279b6fe7a93b360b29d1bc5e5906a6 | [
"MIT"
] | null | null | null | //
// FZCollectionViewManager.swift
// FZClosureScrollView
//
// Created by Fan Zhou on 2021/7/2.
//
import UIKit
public class FZCollectionViewManager: FZScrollViewManager {
// MARK: - property
/// /// The assignment will override the FZScrollViewManager's delegateDecorator property
public var collec... | 31.323529 | 93 | 0.655086 |
6caf02f0c40a8f69f2c8e9eaac50c13f5959e536 | 3,868 | go | Go | pool/conn.go | santiment/clickhouse_sinker | beb622520db706e26fc6beb519aeeb29b25d3675 | [
"Apache-2.0"
] | null | null | null | pool/conn.go | santiment/clickhouse_sinker | beb622520db706e26fc6beb519aeeb29b25d3675 | [
"Apache-2.0"
] | null | null | null | pool/conn.go | santiment/clickhouse_sinker | beb622520db706e26fc6beb519aeeb29b25d3675 | [
"Apache-2.0"
] | null | null | null | /*
Copyright [2019] housepower
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
dis... | 22.229885 | 99 | 0.682006 |
90c66f306ace4cd14ae1c24b98e171c582f66964 | 459 | py | Python | ML_EVR/common/models.py | IcouldEsmileof/Diplomna | 75f343d38e2352211eb60fcd011d334ac7509da8 | [
"MIT"
] | null | null | null | ML_EVR/common/models.py | IcouldEsmileof/Diplomna | 75f343d38e2352211eb60fcd011d334ac7509da8 | [
"MIT"
] | null | null | null | ML_EVR/common/models.py | IcouldEsmileof/Diplomna | 75f343d38e2352211eb60fcd011d334ac7509da8 | [
"MIT"
] | null | null | null | from tensorflow.keras.layers import Dense, Flatten
from tensorflow.keras.models import Sequential
class SimpleModel(object):
@staticmethod
def build_model(observation, actions, name=None):
return Sequential([
Flatten(input_shape=(1, observation)),
Dense(observation * 8, activat... | 32.785714 | 54 | 0.657952 |
39bd084478222d27821e03e09730508d04e23ba2 | 1,918 | js | JavaScript | server/server.js | frozenfroggie/Nightlife | da50f321aa7b52d4f844459726a03595d84f8ed2 | [
"MIT"
] | 1 | 2019-09-01T00:06:09.000Z | 2019-09-01T00:06:09.000Z | server/server.js | frozenfroggie/Nightlife | da50f321aa7b52d4f844459726a03595d84f8ed2 | [
"MIT"
] | null | null | null | server/server.js | frozenfroggie/Nightlife | da50f321aa7b52d4f844459726a03595d84f8ed2 | [
"MIT"
] | null | null | null | require('./config/config');
const path = require('path');
const express = require('express');
// const morgan = require('morgan');
const bodyParser = require('body-parser');
const mongoose = require('mongoose');
const helmet = require('helmet')
const session = require('express-session');
const MongoStore = require('co... | 25.236842 | 70 | 0.682482 |
f4dd05996828059c2c5a6acfa2ceda1cef8730cd | 1,928 | go | Go | utils/pubsub.go | rudderlabs/rudder-utils | 11847bfa8fd535865fe917c99bc3648c2c9a8b39 | [
"MIT"
] | null | null | null | utils/pubsub.go | rudderlabs/rudder-utils | 11847bfa8fd535865fe917c99bc3648c2c9a8b39 | [
"MIT"
] | null | null | null | utils/pubsub.go | rudderlabs/rudder-utils | 11847bfa8fd535865fe917c99bc3648c2c9a8b39 | [
"MIT"
] | 1 | 2022-03-27T06:56:21.000Z | 2022-03-27T06:56:21.000Z | //go:generate mockgen -destination=../mocks/utils/mock_pubsub.go -package=utils github.com/rudderlabs/rudder-server/utils PublishSubscriber
package utils
import (
"sync"
)
type DataEvent struct {
Data interface{}
Topic string
}
// DataChannel is a channel which can accept an DataEvent
type DataChannel chan Data... | 28.776119 | 139 | 0.731328 |
95de38f0b3691ac4986c095f48e7f29db3057f86 | 16,514 | css | CSS | frontend/web/themes/senluo/css/aboutus.css | ChisWill/Yii2-Origin | bb1964261a923f6d1ad3660c20a0cfb1ccb11ca4 | [
"BSD-3-Clause"
] | 1 | 2021-05-07T13:14:21.000Z | 2021-05-07T13:14:21.000Z | frontend/web/themes/senluo/css/aboutus.css | ChisWill/yii2-origin | bb1964261a923f6d1ad3660c20a0cfb1ccb11ca4 | [
"BSD-3-Clause"
] | null | null | null | frontend/web/themes/senluo/css/aboutus.css | ChisWill/yii2-origin | bb1964261a923f6d1ad3660c20a0cfb1ccb11ca4 | [
"BSD-3-Clause"
] | null | null | null | body {
overflow-x: hidden;
}
.aboutusCenter{
width: 100%;
}
.image-slider {
width: 12rem;
height: 6rem;
margin: 1.3rem auto;
background: url(../images/bg.png) no-repeat;
padding: 14px 16px 0px 16px;
box-sizing: border-box;
position: relative;
}
.image-slider-back, .im... | 21.530639 | 73 | 0.524646 |
868215458d5e330fe6b627bca4f6c97d02b1593d | 951 | kt | Kotlin | app/src/main/java/com/android/amit/instaclone/view/story/AddStoryViewModel.kt | amit7127/Instagram-Clone | 80a94147e538c821db2730ae80a449013d616eb4 | [
"Apache-2.0"
] | 2 | 2020-07-04T04:15:25.000Z | 2020-08-05T08:59:58.000Z | app/src/main/java/com/android/amit/instaclone/view/story/AddStoryViewModel.kt | amit7127/Instagram-Clone | 80a94147e538c821db2730ae80a449013d616eb4 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/android/amit/instaclone/view/story/AddStoryViewModel.kt | amit7127/Instagram-Clone | 80a94147e538c821db2730ae80a449013d616eb4 | [
"Apache-2.0"
] | null | null | null | package com.android.amit.instaclone.view.story
import android.net.Uri
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.android.amit.instaclone.data.Resource
import com.android.amit.instaclone.data.StoryModel
import com.android.amit.instaclone.repo.Repository
import com.android.a... | 30.677419 | 81 | 0.736067 |
40a567b8546ff055f32c27faa0a6a26e1dcbe0b3 | 4,903 | py | Python | src/expositor/cli/host.py | secretuminc/expositor | b68b56433d312d86869be9581d45116be433ee06 | [
"MIT"
] | 1 | 2021-06-23T17:40:39.000Z | 2021-06-23T17:40:39.000Z | src/expositor/cli/host.py | secretuminc/expositor | b68b56433d312d86869be9581d45116be433ee06 | [
"MIT"
] | null | null | null | src/expositor/cli/host.py | secretuminc/expositor | b68b56433d312d86869be9581d45116be433ee06 | [
"MIT"
] | null | null | null | # Helper methods for printing `host` information to the terminal.
import quo
from expositor.helpers import get_ip
def host_print_pretty(host, history=False):
"""Show the host information in a user-friendly way and try to include
as much relevant information as possible."""
# General info
quo.echo(quo... | 39.861789 | 159 | 0.555782 |
6c7d8c4999186a691df5958d7892d1b65bc10a03 | 63 | go | Go | hide_stub.go | 11ib/twitchpipe | caffad99240b6dfbd58c166279a46281cd185605 | [
"MIT"
] | 27 | 2019-11-08T21:17:21.000Z | 2021-08-15T04:52:35.000Z | hide_stub.go | 11ib/twitchpipe | caffad99240b6dfbd58c166279a46281cd185605 | [
"MIT"
] | 16 | 2019-11-12T15:06:34.000Z | 2020-12-24T21:12:36.000Z | hide_stub.go | 11ib/twitchpipe | caffad99240b6dfbd58c166279a46281cd185605 | [
"MIT"
] | 3 | 2019-11-28T20:01:39.000Z | 2021-05-28T12:41:34.000Z | // +build !windows
package main
func hideWindow() {} // Stub
| 10.5 | 28 | 0.650794 |
07fc811d241183b12b05cd7cb522bd5031dc0eee | 231 | sql | SQL | src/main/resources/db/migration/data/R__4_45__OFFENDER_RESTRICTIONS.sql | ministryofjustice/nomis-prisoner-deletion-service | 529aceeec26869234c9629d7074b5a44f0aa5d85 | [
"MIT"
] | 1 | 2022-03-10T13:20:20.000Z | 2022-03-10T13:20:20.000Z | src/main/resources/db/migration/data/R__4_45__OFFENDER_RESTRICTIONS.sql | ministryofjustice/nomis-prisoner-deletion-service | 529aceeec26869234c9629d7074b5a44f0aa5d85 | [
"MIT"
] | 1 | 2022-03-14T09:54:49.000Z | 2022-03-14T09:54:49.000Z | src/main/resources/db/migration/data/R__4_45__OFFENDER_RESTRICTIONS.sql | ministryofjustice/nomis-prisoner-deletion-service | 529aceeec26869234c9629d7074b5a44f0aa5d85 | [
"MIT"
] | null | null | null | INSERT INTO OFFENDER_RESTRICTIONS (OFFENDER_RESTRICTION_ID,OFFENDER_BOOK_ID,RESTRICTION_TYPE,EFFECTIVE_DATE,ENTERED_STAFF_ID,COMMENT_TEXT)
VALUES (-1,-1,'RESTRICTION',TIMESTAMP '2001-01-01 00:00:00.000000',-1,'Some Comment Text');
| 77 | 138 | 0.831169 |
e26d73c55be05185b45abbb4cc2e471a16661fd1 | 2,219 | sql | SQL | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5510759_sys_gh1134webui_AD_Table_Process_more_fields_DDL.sql | dram/metasfresh | a1b881a5b7df8b108d4c4ac03082b72c323873eb | [
"RSA-MD"
] | 1,144 | 2016-02-14T10:29:35.000Z | 2022-03-30T09:50:41.000Z | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5510759_sys_gh1134webui_AD_Table_Process_more_fields_DDL.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 8,283 | 2016-04-28T17:41:34.000Z | 2022-03-30T13:30:12.000Z | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5510759_sys_gh1134webui_AD_Table_Process_more_fields_DDL.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 441 | 2016-04-29T08:06:07.000Z | 2022-03-28T06:09:56.000Z | -- note that our postgres 9.5. does not yet have "ADD COLUMN IF NOT EXISTS"
DO $$
BEGIN
-- 2019-01-25T12:25:13.098
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ ALTER TABLE public.AD_Table_Process ADD COLUMN AD_Tab_ID NUMERIC(10)
;
EXCEPTION WHEN SQLSTATE '42701' THEN
RAISE NOTICE 'At ... | 34.138462 | 160 | 0.749887 |
a7b7a613811deac59917de76d78bce49e20270b5 | 1,596 | kt | Kotlin | src/main/kotlin/me/melijn/melijnbot/commands/administration/SetVerificationPasswordCommand.kt | zeroeightysix/Melijn | acf17564244c0c62fba2b85e143d83c6c00c1a86 | [
"MIT"
] | 87 | 2019-01-09T12:19:50.000Z | 2022-03-30T18:59:21.000Z | src/main/kotlin/me/melijn/melijnbot/commands/administration/SetVerificationPasswordCommand.kt | zeroeightysix/Melijn | acf17564244c0c62fba2b85e143d83c6c00c1a86 | [
"MIT"
] | 51 | 2018-07-27T14:52:29.000Z | 2022-02-15T17:41:36.000Z | src/main/kotlin/me/melijn/melijnbot/commands/administration/SetVerificationPasswordCommand.kt | zeroeightysix/Melijn | acf17564244c0c62fba2b85e143d83c6c00c1a86 | [
"MIT"
] | 31 | 2018-06-16T12:01:49.000Z | 2022-03-19T23:30:11.000Z | package me.melijn.melijnbot.commands.administration
import me.melijn.melijnbot.internals.command.AbstractCommand
import me.melijn.melijnbot.internals.command.CommandCategory
import me.melijn.melijnbot.internals.command.ICommandContext
import me.melijn.melijnbot.internals.translation.PLACEHOLDER_ARG
import me.melijn.me... | 34.695652 | 91 | 0.651629 |
c7ef7543a536a00201fe56bf6826fb52e73e5f45 | 1,137 | java | Java | ses-app/ses-web-delivery/src/main/java/com/redescooter/ses/web/delivery/service/base/impl/CorTenantScooterServiceImpl.java | moutainhigh/ses-server | e1ee6ac34499950ef4b1b97efa0aaf4c4fec67c5 | [
"MIT"
] | null | null | null | ses-app/ses-web-delivery/src/main/java/com/redescooter/ses/web/delivery/service/base/impl/CorTenantScooterServiceImpl.java | moutainhigh/ses-server | e1ee6ac34499950ef4b1b97efa0aaf4c4fec67c5 | [
"MIT"
] | null | null | null | ses-app/ses-web-delivery/src/main/java/com/redescooter/ses/web/delivery/service/base/impl/CorTenantScooterServiceImpl.java | moutainhigh/ses-server | e1ee6ac34499950ef4b1b97efa0aaf4c4fec67c5 | [
"MIT"
] | 2 | 2021-08-31T07:59:28.000Z | 2021-10-16T10:55:44.000Z | package com.redescooter.ses.web.delivery.service.base.impl;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
import com.redescooter.ses.web.delivery.dao.base.CorTenantScoote... | 36.677419 | 138 | 0.78628 |
291a38f780b055b857defa7947a54b1f8d85c16a | 4,241 | py | Python | sklearn/classifiers1.py | gnublet/py_explorations | 328ba7c5340537f8e83b3695c24e1afea284402f | [
"MIT"
] | null | null | null | sklearn/classifiers1.py | gnublet/py_explorations | 328ba7c5340537f8e83b3695c24e1afea284402f | [
"MIT"
] | null | null | null | sklearn/classifiers1.py | gnublet/py_explorations | 328ba7c5340537f8e83b3695c24e1afea284402f | [
"MIT"
] | null | null | null | #AUTHOR: Kevin
## CHALLENGE - create 3 more classifiers...
#1 Random Forest
#2 Multi-layer Perceptron
#3 Support Vector Machine
#comparison
#Try cross validation since we have a small dataset
from sklearn.model_selection import cross_val_score
#enable preprocessing (for MLP) under cross-validation
from sklearn.pipel... | 35.940678 | 143 | 0.719642 |
5df8f6953a74a56f94523fecea68c3d9b40a4a9c | 4,676 | lua | Lua | assets/preload/data/ballistic-(beta-mix)/script.lua | RaidenAlfares13/Psych-Engine-0.4.2-Android-Port | 787adb7558a65fa3eefde2610967e5065368419a | [
"Apache-2.0"
] | null | null | null | assets/preload/data/ballistic-(beta-mix)/script.lua | RaidenAlfares13/Psych-Engine-0.4.2-Android-Port | 787adb7558a65fa3eefde2610967e5065368419a | [
"Apache-2.0"
] | null | null | null | assets/preload/data/ballistic-(beta-mix)/script.lua | RaidenAlfares13/Psych-Engine-0.4.2-Android-Port | 787adb7558a65fa3eefde2610967e5065368419a | [
"Apache-2.0"
] | null | null | null | local resetHideHud = false
function onCreatePost()
if not lowQuality then
addLuaScript('epicScripts/infishake')
addLuaScript('epicScripts/cam')
end
addCharacterToList('bf-jam-car', 'boyfriend');
-- this is probably really bad practice but oh well
resetHideHud = not hideHud;
if resetHideHud then
setPrope... | 30.966887 | 143 | 0.711933 |
a5ee01e42f330735d81e8c7924a988219321f1b8 | 11,735 | kt | Kotlin | mobile/src/main/java/uk/co/appsbystudio/geoshare/base/MainActivity.kt | STUDIO-apps/GeoSharer_Android | f66aa94d7f44c8dbf81a6a67a4e0504bbf7e2d32 | [
"Apache-2.0"
] | 2 | 2016-04-10T01:43:47.000Z | 2017-09-12T01:07:46.000Z | mobile/src/main/java/uk/co/appsbystudio/geoshare/base/MainActivity.kt | STUDIO-apps/GeoSharer_Android | f66aa94d7f44c8dbf81a6a67a4e0504bbf7e2d32 | [
"Apache-2.0"
] | 43 | 2017-09-01T21:39:54.000Z | 2018-07-30T16:11:43.000Z | mobile/src/main/java/uk/co/appsbystudio/geoshare/base/MainActivity.kt | STUDIO-apps/GeoSharer_Android | f66aa94d7f44c8dbf81a6a67a4e0504bbf7e2d32 | [
"Apache-2.0"
] | null | null | null | package uk.co.appsbystudio.geoshare.base
import android.app.Activity
import android.app.DialogFragment
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.preference.PreferenceManager
import android.support.design.widget.Snackbar
import android.support.v4.app.Fragment
i... | 37.018927 | 167 | 0.671069 |
ffa190d119a3cbdef953a58715d809cd57b57927 | 488 | swift | Swift | Mobile Microservices Architecture/ContentView.swift | petros-efthymiou/Mobile-iOS-Microservices-Architecture | 0897521651a49fecd104bea8cad010e074fd5e24 | [
"Apache-2.0"
] | 3 | 2022-02-23T09:08:28.000Z | 2022-03-19T14:03:37.000Z | Mobile Microservices Architecture/ContentView.swift | petros-efthymiou/Mobile-iOS-Microservices-Architecture | 0897521651a49fecd104bea8cad010e074fd5e24 | [
"Apache-2.0"
] | null | null | null | Mobile Microservices Architecture/ContentView.swift | petros-efthymiou/Mobile-iOS-Microservices-Architecture | 0897521651a49fecd104bea8cad010e074fd5e24 | [
"Apache-2.0"
] | null | null | null | //
// ContentView.swift
// Mobile Microservices Architecture
//
// Created by Petros Efthymiou on 26/01/2022.
//
import SwiftUI
import CoreData
import Home
struct ContentView: View {
@Environment(\.managedObjectContext) private var viewContext
@FetchRequest(
sortDescriptors: [NSSortDescriptor(keyP... | 20.333333 | 87 | 0.694672 |
dda42f1211a6a3955cf0f73d4428d0afad96b2ff | 2,281 | php | PHP | src/TqMeter/AsyncApi/Notify.php | topphp/topphp-meter-api | 6f732cc0c362b6a641dc63c4f2621b3925fdaf02 | [
"MIT"
] | 3 | 2021-04-10T02:05:26.000Z | 2021-06-06T16:32:28.000Z | src/TqMeter/AsyncApi/Notify.php | topphp/topphp-meter-api | 6f732cc0c362b6a641dc63c4f2621b3925fdaf02 | [
"MIT"
] | null | null | null | src/TqMeter/AsyncApi/Notify.php | topphp/topphp-meter-api | 6f732cc0c362b6a641dc63c4f2621b3925fdaf02 | [
"MIT"
] | null | null | null | <?php
/**
* 凯拓软件 [临渊羡鱼不如退而结网,凯拓与你一同成长]
* Project: topphp-meter-api
* Date: 2020/10/17 10:00 下午
* Author: sleep <sleep@kaituocn.com>
*/
declare(strict_types=1);
namespace Topphp\TopphpMeterApi\TqMeter\AsyncApi;
use Closure;
use Topphp\TopphpMeterApi\TqMeter\Gateway;
class Notify extends Gateway
{
private $to... | 23.760417 | 81 | 0.519071 |
3dd9561f1e9e4292e7689823d3cd919ec363b2d8 | 20,390 | rs | Rust | compiler/crates/relay-compiler/src/file_source/file_categorizer.rs | irangarcia/relay | 8c2c3aea4b98f422d712f68b7efd49d5e9852e11 | [
"MIT"
] | null | null | null | compiler/crates/relay-compiler/src/file_source/file_categorizer.rs | irangarcia/relay | 8c2c3aea4b98f422d712f68b7efd49d5e9852e11 | [
"MIT"
] | null | null | null | compiler/crates/relay-compiler/src/file_source/file_categorizer.rs | irangarcia/relay | 8c2c3aea4b98f422d712f68b7efd49d5e9852e11 | [
"MIT"
] | null | null | null | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
use super::file_filter::FileFilter;
use super::File;
use super::FileGroup;
use crate::compiler_state::{ProjectName, ProjectSet};
... | 37.689464 | 232 | 0.522511 |
70ec792eec7ffefac5aef93573afd3b5737fcc82 | 2,692 | h | C | include/pre/hidden/math/Converger.h | mgradysaunders/precept | 966eb19d3c8b713e11be0885cabda632cefe9878 | [
"BSD-2-Clause"
] | null | null | null | include/pre/hidden/math/Converger.h | mgradysaunders/precept | 966eb19d3c8b713e11be0885cabda632cefe9878 | [
"BSD-2-Clause"
] | null | null | null | include/pre/hidden/math/Converger.h | mgradysaunders/precept | 966eb19d3c8b713e11be0885cabda632cefe9878 | [
"BSD-2-Clause"
] | null | null | null | /*-*- C++ -*-*/
#pragma once
namespace pre {
template <std::floating_point Float>
struct Converger {
public:
/// Number of iterations used in converger call, for debugging.
mutable int num_iters = 0;
/// Maximum number of iterations.
int max_iters = 100;
/// Target value.
Float target = 0;... | 30.247191 | 73 | 0.491456 |
5b2748a3e3a98193e492042e3fa78620411bd30c | 48,790 | c | C | lsp_shiloh/common/network/apps/sm_job/config/sm_job_dflt_config.c | internaru/Pinetree_P | 1f1525454c8b20c6c589529ff4bc159404611297 | [
"FSFAP"
] | null | null | null | lsp_shiloh/common/network/apps/sm_job/config/sm_job_dflt_config.c | internaru/Pinetree_P | 1f1525454c8b20c6c589529ff4bc159404611297 | [
"FSFAP"
] | null | null | null | lsp_shiloh/common/network/apps/sm_job/config/sm_job_dflt_config.c | internaru/Pinetree_P | 1f1525454c8b20c6c589529ff4bc159404611297 | [
"FSFAP"
] | null | null | null | /******************************************************************************
* Copyright (c) 2012 Marvell International, Ltd. All Rights Reserved
*
* Marvell Confidential
******************************************************************************/
// ***TODO*** move to system header
... | 26.516304 | 130 | 0.53056 |
475c4584f7a57f530aca6b6b96a414d133dba282 | 14,557 | html | HTML | examples.html | wubmeister/columns | 950c7ff8f38006b8ba941ab79a7389029805726e | [
"Apache-2.0"
] | null | null | null | examples.html | wubmeister/columns | 950c7ff8f38006b8ba941ab79a7389029805726e | [
"Apache-2.0"
] | null | null | null | examples.html | wubmeister/columns | 950c7ff8f38006b8ba941ab79a7389029805726e | [
"Apache-2.0"
] | null | null | null | <html>
<head>
<title>Columns!</title>
<style>
body {
font-family: sans-serif;
}
.contentbox {
padding: 10px;
background-color: #fafafa;
border: 1px solid #ebebeb;
}
.container ... | 34.908873 | 562 | 0.448788 |
d2901d5d83bb7d1e22f2cbb56fd5da8f3c06878f | 3,124 | php | PHP | app/Helpers/OnHold/BudgetRule.php | pankaj4red/greek_house | 3470fe433481f6795184d3f87fb470a3f299acd8 | [
"MIT"
] | null | null | null | app/Helpers/OnHold/BudgetRule.php | pankaj4red/greek_house | 3470fe433481f6795184d3f87fb470a3f299acd8 | [
"MIT"
] | null | null | null | app/Helpers/OnHold/BudgetRule.php | pankaj4red/greek_house | 3470fe433481f6795184d3f87fb470a3f299acd8 | [
"MIT"
] | null | null | null | <?php
namespace App\Helpers\OnHold;
use App\Logging\Logger;
use App\Models\Campaign;
use App\Models\User;
use App\Notifications\CampaignOnHold\OnHoldBudgetNotification;
use App\Quotes\ScreenPrinterQuote;
class BudgetRule extends OnHoldRule
{
protected $name = 'budget';
protected $category = 'budget';
p... | 42.216216 | 219 | 0.59507 |
ad620547fd5d510c6aad295fdef0a5552bd1e025 | 599 | asm | Assembly | programs/oeis/020/A020490.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/020/A020490.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/020/A020490.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A020490: Numbers k such that phi(k) <= sigma_0(k).
; 1,2,3,4,6,8,10,12,18,24,30
mov $4,$0
add $4,1
mov $9,$0
lpb $4
mov $0,$9
sub $4,1
sub $0,$4
mov $6,$0
mov $7,0
mov $8,$0
add $8,1
lpb $8
mov $0,$6
mov $2,0
mov $3,0
sub $8,1
sub $0,$8
add $0,8
lpb $0
dif $0,4
... | 16.638889 | 155 | 0.525876 |
f769c7b38b84f91ddc5bff18c1805c200becac08 | 608 | h | C | Log/Sink/logsink.h | Nefertarii/CPP_Server | a1f04dac2cdd6b9959e81ab36584b9a0e38cb7b9 | [
"MIT"
] | null | null | null | Log/Sink/logsink.h | Nefertarii/CPP_Server | a1f04dac2cdd6b9959e81ab36584b9a0e38cb7b9 | [
"MIT"
] | null | null | null | Log/Sink/logsink.h | Nefertarii/CPP_Server | a1f04dac2cdd6b9959e81ab36584b9a0e38cb7b9 | [
"MIT"
] | null | null | null | #ifndef LOG_SINK_H_
#define LOG_SINK_H_
#include <Log/logformatter.h>
#include <atomic>
#include <memory>
#include <mutex>
#include <string>
namespace Wasi {
namespace Log {
class LogMsg;
class LogSink {
protected:
std::unique_ptr<LogFormatter> formatter;
std::atomic<uint> count;
std::string name;
publ... | 19 | 53 | 0.620066 |
17697012bc463f6ec02b82a8270b01618fec9d46 | 292 | html | HTML | JavaScript11.html | amce64/HTML-CSS-JavaScript | 3c3ab88358360b7c6c4c168288f579154e162ac8 | [
"BSD-3-Clause"
] | null | null | null | JavaScript11.html | amce64/HTML-CSS-JavaScript | 3c3ab88358360b7c6c4c168288f579154e162ac8 | [
"BSD-3-Clause"
] | null | null | null | JavaScript11.html | amce64/HTML-CSS-JavaScript | 3c3ab88358360b7c6c4c168288f579154e162ac8 | [
"BSD-3-Clause"
] | null | null | null | <!DOCTYPE html>
<html lang="es" dir="ltr">
<head>
<meta charset="utf-8">
<title>Ejercicio 11</title>
</head>
<body>
<script>
if (1 + 1 === 2) {
console.log('La suma es correcta.');
} else {
console.log('La suma es incorrecta.');
}
</script>
</body>
</html>
| 14.6 | 44 | 0.541096 |
72b091f42cad81c664732d26f0a81a34fdac9f92 | 1,577 | rs | Rust | src/rootless/run.rs | tosone/containerd-rs | fb29818ee7ee73b3e75eb5c40c08312d328be7c2 | [
"MIT"
] | 3 | 2021-12-06T21:39:48.000Z | 2021-12-14T05:32:58.000Z | src/rootless/run.rs | tosone/containerd-rs | fb29818ee7ee73b3e75eb5c40c08312d328be7c2 | [
"MIT"
] | null | null | null | src/rootless/run.rs | tosone/containerd-rs | fb29818ee7ee73b3e75eb5c40c08312d328be7c2 | [
"MIT"
] | null | null | null | use nix::unistd::{execve, getcwd};
use std::ffi::CStr;
pub fn run() -> Result<(), std::io::Error> {
let mut env: Vec<String> = Vec::new();
std::env::vars_os().for_each(|(key, value)| {
env.push(format!(
"{}={}\0",
key.to_str().unwrap(),
value.to_str().unwrap()
... | 32.183673 | 84 | 0.575143 |
85eef2c1086efe49f5a9e52b14c9baa497cc6299 | 4,727 | h | C | include/drivers/vco/driver.h | waviousllc/wav-lpddr-sw | 921e8b03f92c2bacb5630cf7cae4326576aa5aeb | [
"Apache-2.0"
] | 14 | 2021-07-11T07:31:59.000Z | 2021-12-16T23:10:16.000Z | include/drivers/vco/driver.h | waviousllc/wav-lpddr-sw | 921e8b03f92c2bacb5630cf7cae4326576aa5aeb | [
"Apache-2.0"
] | 28 | 2021-07-13T20:34:59.000Z | 2021-12-21T23:58:54.000Z | include/drivers/vco/driver.h | waviousllc/wav-lpddr-sw | 921e8b03f92c2bacb5630cf7cae4326576aa5aeb | [
"Apache-2.0"
] | 8 | 2021-07-09T18:56:57.000Z | 2022-02-10T19:25:18.000Z | /**
* Copyright (c) 2021 Wavious LLC.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _VCO_DRIVER_H_
#define _VCO_DRIVER_H_
#include <stdbool.h>
#include <vco/device.h>
/**
* @brief VCO Initialize Register Interface
*
* @details Initializes VCO device at register interface level.
*
* @param[in] vco ... | 30.301282 | 79 | 0.600381 |
b893c5fda8e03b078fe5759caacbb536dbf7910c | 12,450 | swift | Swift | Azure/ViewController.swift | SomnusLee1988/Azure | a3befe6e050541b787b1f155d6ee87c81b347110 | [
"MIT"
] | null | null | null | Azure/ViewController.swift | SomnusLee1988/Azure | a3befe6e050541b787b1f155d6ee87c81b347110 | [
"MIT"
] | null | null | null | Azure/ViewController.swift | SomnusLee1988/Azure | a3befe6e050541b787b1f155d6ee87c81b347110 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// Azure
//
// Created by Somnus on 16/7/5.
// Copyright © 2016年 Somnus. All rights reserved.
//
import UIKit
import AFNetworking
import MBProgressHUD
import AVFoundation
import AVKit
import Alamofire
import MJRefresh
import SLAlertController
let URL_SUFFIX = "(format=m3u8-aapl)"
privat... | 38.190184 | 226 | 0.587791 |
5f93b07e00eb3f182fd7868a119ec10de29769bd | 1,076 | h | C | game/shared/dmo/weapon_grenade.h | ozxybox/deathmatch-src | b172615ceec461ccf78bff67c45cbc4c0517156d | [
"Unlicense"
] | null | null | null | game/shared/dmo/weapon_grenade.h | ozxybox/deathmatch-src | b172615ceec461ccf78bff67c45cbc4c0517156d | [
"Unlicense"
] | 11 | 2020-07-18T21:14:55.000Z | 2020-07-27T05:38:14.000Z | game/shared/dmo/weapon_grenade.h | ozxybox/deathmatch-src | b172615ceec461ccf78bff67c45cbc4c0517156d | [
"Unlicense"
] | null | null | null | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#ifndef WEAPON_GRENADE_H
#define WEAPON_GRENADE_H
#ifdef _WIN32
#pragma once
#endif
#include "dmo_weapon_basegrenade.h"
#ifdef CLIENT_DLL
... | 21.098039 | 125 | 0.576208 |
c2b9fc3bb56d7666f8f9d02c1d5463bdcfb7514b | 1,145 | go | Go | _vendor/src/github.com/rogpeppe/rog-go/typeapply/typeapply_test.go | lijianying10/myitcvx | 470b16550b72f5c33a66f256298c61e5e7ff9bbd | [
"MIT"
] | 3 | 2018-01-27T16:40:35.000Z | 2020-06-30T03:09:03.000Z | _vendor/src/github.com/rogpeppe/rog-go/typeapply/typeapply_test.go | lijianying10/myitcvx | 470b16550b72f5c33a66f256298c61e5e7ff9bbd | [
"MIT"
] | 1 | 2017-02-28T09:58:01.000Z | 2018-08-26T23:15:46.000Z | _vendor/src/github.com/rogpeppe/rog-go/typeapply/typeapply_test.go | lijianying10/myitcvx | 470b16550b72f5c33a66f256298c61e5e7ff9bbd | [
"MIT"
] | 3 | 2016-10-11T09:03:30.000Z | 2018-01-24T16:49:14.000Z | package typeapply
import (
"testing"
)
type Targ struct {
}
type List struct {
Next *List
Targ *Targ
}
type Other struct {
Targ *Targ
}
type Big struct {
A *Targ
B [2]*Targ
C []*Targ
D map[int]*Targ
E map[*Targ]int
F map[*Targ]*Targ
G ***Targ
H interface{}
I *List
J List
// no instances:
K chan *Ta... | 14.679487 | 61 | 0.517031 |
e99e74fd414edecf2da3e3b321c8310050849528 | 780 | rb | Ruby | spec/support/matchers/be.rb | chargify/zferral | 94c6c2bb839f7bbe01de3afb13ebb1b8906d8944 | [
"MIT"
] | null | null | null | spec/support/matchers/be.rb | chargify/zferral | 94c6c2bb839f7bbe01de3afb13ebb1b8906d8944 | [
"MIT"
] | 2 | 2020-07-28T04:00:59.000Z | 2021-09-02T01:45:58.000Z | spec/support/matchers/be.rb | chargify/zferral | 94c6c2bb839f7bbe01de3afb13ebb1b8906d8944 | [
"MIT"
] | null | null | null | RSpec::Matchers.define :be_an_array_of_campaigns do
match do |actual|
actual.is_a?(Array) && actual.first.is_a?(Hashie::Mash) && actual.first.respond_to?(:campaign_status_id)
end
failure_message_for_should do |actual|
"expected an array of Campaigns, got #{actual.inspect}"
end
failure_message_for_... | 26 | 108 | 0.732051 |
8a396d38f643450f6e90ad3939af4806d0fbdcdc | 4,232 | rs | Rust | src/view/view_line.rs | nickolay/git-interactive-rebase-tool | afcdfb0367a350f74363a8d4ec209a3823dc318f | [
"ISC"
] | null | null | null | src/view/view_line.rs | nickolay/git-interactive-rebase-tool | afcdfb0367a350f74363a8d4ec209a3823dc318f | [
"ISC"
] | null | null | null | src/view/view_line.rs | nickolay/git-interactive-rebase-tool | afcdfb0367a350f74363a8d4ec209a3823dc318f | [
"ISC"
] | null | null | null | use crate::display::display_color::DisplayColor;
use crate::view::line_segment::LineSegment;
pub struct ViewLine {
pinned_segments: usize,
segments: Vec<LineSegment>,
selected: bool,
padding_color: DisplayColor,
padding_dim: bool,
padding_reverse: bool,
padding_underline: bool,
padding_character: String,
}
im... | 25.648485 | 107 | 0.714556 |
1d7ab75276b1c6e2658ea7c4168acb8dfd05f2d1 | 1,490 | kt | Kotlin | src/main/kotlin/enderbox/HumanEnderBoxBlock.kt | juliand665/Ender-Box-Fabric | f0d0320a9637a3db64fcfab856854070f24abe1b | [
"CC0-1.0"
] | null | null | null | src/main/kotlin/enderbox/HumanEnderBoxBlock.kt | juliand665/Ender-Box-Fabric | f0d0320a9637a3db64fcfab856854070f24abe1b | [
"CC0-1.0"
] | null | null | null | src/main/kotlin/enderbox/HumanEnderBoxBlock.kt | juliand665/Ender-Box-Fabric | f0d0320a9637a3db64fcfab856854070f24abe1b | [
"CC0-1.0"
] | null | null | null | package enderbox
import net.minecraft.block.BlockState
import net.minecraft.entity.player.PlayerEntity
import net.minecraft.item.ItemPlacementContext
import net.minecraft.item.ItemStack
import net.minecraft.item.ItemUsageContext
import net.minecraft.util.ActionResult
import net.minecraft.util.Hand
import net.minecraft... | 34.651163 | 149 | 0.781879 |
7eaa19b9808220eeb09541cb76b1ea54fb4d3ce7 | 636 | sql | SQL | migrations/00015_create_release_logs_table.sql | estafette/estafette-ci-db-migrator | a3d7f72a681901e83f5e0308181621e4d8714c00 | [
"MIT"
] | null | null | null | migrations/00015_create_release_logs_table.sql | estafette/estafette-ci-db-migrator | a3d7f72a681901e83f5e0308181621e4d8714c00 | [
"MIT"
] | 2 | 2019-11-24T08:52:40.000Z | 2021-08-13T12:27:33.000Z | migrations/00015_create_release_logs_table.sql | estafette/estafette-ci-db-migrator | a3d7f72a681901e83f5e0308181621e4d8714c00 | [
"MIT"
] | null | null | null | -- +goose Up
-- SQL in this section is executed when the migration is applied.
CREATE TABLE release_logs (
id SERIAL PRIMARY KEY,
repo_source VARCHAR(256),
repo_owner VARCHAR(256),
repo_name VARCHAR(256),
release_id INT,
steps JSONB,
inserted_at TIMESTAMP WITH TIME ZONE DEFAULT now()
);
CREATE UNIQUE INDE... | 37.411765 | 146 | 0.790881 |
85c9d49a4657af5ca503e716150c69fd48ce0bda | 476 | js | JavaScript | index.js | lainlee/singleton-helper | b252c2c676e2f390a84454ddf18e7fa699d53817 | [
"MIT"
] | 1 | 2021-04-26T06:36:19.000Z | 2021-04-26T06:36:19.000Z | index.js | lainlee/singleton-helper | b252c2c676e2f390a84454ddf18e7fa699d53817 | [
"MIT"
] | null | null | null | index.js | lainlee/singleton-helper | b252c2c676e2f390a84454ddf18e7fa699d53817 | [
"MIT"
] | null | null | null | const singletonHelper = (func = Promise.resolve) => {
return (() => {
let single = null
return (...params) => {
if (!single) {
single = Promise.resolve()
.then(() => {
return func(...params)
})
.then((rs) => {
single = null
return... | 20.695652 | 53 | 0.413866 |
4636bb6dd695e6a5dd1ad4ff18ee146c9b5830ab | 1,914 | pks | SQL | 5.2.3/Database/Packages/AFW_12_FAVR_PKG.pks | lgcarrier/AFW | a58ef2a26cb78bb0ff9b4db725df5bd4118e4945 | [
"MIT"
] | 1 | 2017-07-06T14:53:28.000Z | 2017-07-06T14:53:28.000Z | 5.2.3/Database/Packages/AFW_12_FAVR_PKG.pks | lgcarrier/AFW | a58ef2a26cb78bb0ff9b4db725df5bd4118e4945 | [
"MIT"
] | null | null | null | 5.2.3/Database/Packages/AFW_12_FAVR_PKG.pks | lgcarrier/AFW | a58ef2a26cb78bb0ff9b4db725df5bd4118e4945 | [
"MIT"
] | null | null | null | SET DEFINE OFF;
create or replace package afw_12_favr_pkg
as
function obten_favr (pnu_struc_aplic in number
,pnu_seqnc_struc_aplic in number
,pnu_utils in number default null)
return number;
procedure ajout_favr (pnu_struc_aplic in num... | 54.685714 | 99 | 0.516719 |
85d32f688b448bd41be644b30f9dbd11dfdb7918 | 8,063 | js | JavaScript | exercises/exercise-10/node_modules/str-utils/str-utils.js | creanium/typescript-exercises | 4c28e88968fbce88bec00fb35e3036d016b57dd1 | [
"MIT"
] | null | null | null | exercises/exercise-10/node_modules/str-utils/str-utils.js | creanium/typescript-exercises | 4c28e88968fbce88bec00fb35e3036d016b57dd1 | [
"MIT"
] | null | null | null | exercises/exercise-10/node_modules/str-utils/str-utils.js | creanium/typescript-exercises | 4c28e88968fbce88bec00fb35e3036d016b57dd1 | [
"MIT"
] | null | null | null | var strUtils = this;
strUtils.abbreviate = function (string, maxWidth, offset) {
if (strUtils.isEmpty(string)) {
return null;
}
if (offset >= 4) {
return '...' + String(string).substring(offset, maxWidth) + '...';
}
return String(string).substring(0, maxWidth) + '...';
... | 24.809231 | 121 | 0.585762 |
e97dfab850f9f203d1821d52aedbb0015e94fe00 | 1,872 | go | Go | frame.go | guotie/stomp | a9f32faeebdea0a3f04db3e9676da166a92cdfde | [
"Apache-2.0"
] | 10 | 2015-06-01T02:21:01.000Z | 2019-07-09T10:22:24.000Z | frame.go | guotie/stomp | a9f32faeebdea0a3f04db3e9676da166a92cdfde | [
"Apache-2.0"
] | null | null | null | frame.go | guotie/stomp | a9f32faeebdea0a3f04db3e9676da166a92cdfde | [
"Apache-2.0"
] | 4 | 2016-03-22T13:34:30.000Z | 2019-03-05T09:21:54.000Z | package stomp
// A Frame represents a STOMP frame. A frame consists of a command
// followed by a collection of header elements, and then an optional
// body.
//
// Users of this package will not normally need to make use of the Frame
// type directly. It is a lower level type useful for implementing
// STOMP protocol... | 26 | 77 | 0.666132 |
2a67b54b657f632ea1a1d30303ebbd460e5727f2 | 5,137 | java | Java | storage/db/src/main/java/org/artifactory/storage/db/fs/entity/Stat.java | alancnet/artifactory | 7ac3ea76471a00543eaf60e82b554d8edd894c0f | [
"Apache-2.0"
] | 3 | 2016-01-21T11:49:08.000Z | 2018-12-11T21:02:11.000Z | storage/db/src/main/java/org/artifactory/storage/db/fs/entity/Stat.java | alancnet/artifactory | 7ac3ea76471a00543eaf60e82b554d8edd894c0f | [
"Apache-2.0"
] | null | null | null | storage/db/src/main/java/org/artifactory/storage/db/fs/entity/Stat.java | alancnet/artifactory | 7ac3ea76471a00543eaf60e82b554d8edd894c0f | [
"Apache-2.0"
] | 5 | 2015-12-08T10:22:21.000Z | 2021-06-15T16:14:00.000Z | /*
* Artifactory is a binaries repository manager.
* Copyright (C) 2012 JFrog Ltd.
*
* Artifactory 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 3 of the License, or
* (at your o... | 30.040936 | 129 | 0.692038 |
5f0c351c4caa9a1cad3b48524b38b8cfd89a0559 | 1,584 | ts | TypeScript | scripts/build-scenario.ts | Muthaias/swipeforfuture-content | fd21ec04a82546e83a7efba9f9bd86f9d2e8afc1 | [
"MIT"
] | 2 | 2020-10-20T19:04:53.000Z | 2020-11-20T20:29:18.000Z | scripts/build-scenario.ts | Muthaias/swipeforfuture-content | fd21ec04a82546e83a7efba9f9bd86f9d2e8afc1 | [
"MIT"
] | 22 | 2020-10-20T20:28:57.000Z | 2021-08-13T00:20:42.000Z | scripts/build-scenario.ts | Muthaias/swipeforfuture-content | fd21ec04a82546e83a7efba9f9bd86f9d2e8afc1 | [
"MIT"
] | 1 | 2020-10-20T19:06:37.000Z | 2020-10-20T19:06:37.000Z | import { outputFile } from "fs-extra"
import { resolve } from "path"
import { fileURLToPath } from "url"
import scenarios from "./scenarios"
import { Scenario, ScenarioManifest } from "./content-utils"
const MANIFEST_FILENAME = "scenarios.json"
async function buildScenarioManifest(
scenarios: { [id: string]: Sce... | 29.333333 | 77 | 0.619318 |
ddea3603d97defedce31cc562155fd87fc56e1a0 | 2,511 | php | PHP | resources/views/news-zasah.blade.php | abbuyanaa/Laravel-ArkhangaiWeb | 63d15a2c0788e8cf82508a149095bc65ff95708c | [
"MIT"
] | null | null | null | resources/views/news-zasah.blade.php | abbuyanaa/Laravel-ArkhangaiWeb | 63d15a2c0788e8cf82508a149095bc65ff95708c | [
"MIT"
] | null | null | null | resources/views/news-zasah.blade.php | abbuyanaa/Laravel-ArkhangaiWeb | 63d15a2c0788e8cf82508a149095bc65ff95708c | [
"MIT"
] | null | null | null | @extends('layout.master')
@section('content')
<div class="uk-grid">
<div class="uk-width-medium-12 uk-container-center">
<div class="md-card">
<div class="md-card-content large-padding">
<?php
$msg = Session::get('msg');
if (isset($msg)){echo $msg;}
?>
<h2 class="heading_b">Мэдээ нэмэх</h2>... | 31.3875 | 122 | 0.537236 |
8825474c4cda3e5b3d0173a580be9b921d7128a7 | 13,751 | swift | Swift | Sources/Base/SVGColors.swift | romikabi/cggen | 9a510ba908d917c5bd2351a0e1fdb52a01c334ac | [
"Apache-2.0"
] | 16 | 2021-03-23T20:12:59.000Z | 2022-03-08T13:33:54.000Z | Sources/Base/SVGColors.swift | romikabi/cggen | 9a510ba908d917c5bd2351a0e1fdb52a01c334ac | [
"Apache-2.0"
] | 9 | 2021-03-29T08:06:16.000Z | 2021-10-04T14:28:20.000Z | Sources/Base/SVGColors.swift | romikabi/cggen | 9a510ba908d917c5bd2351a0e1fdb52a01c334ac | [
"Apache-2.0"
] | 6 | 2021-03-26T06:38:21.000Z | 2021-07-23T15:12:48.000Z | public enum SVGColorKeyword: String, CaseIterable {
case aliceblue
case antiquewhite
case aqua
case aquamarine
case azure
case beige
case bisque
case black
case blanchedalmond
case blue
case blueviolet
case brown
case burlywood
case cadetblue
case chartreuse
case chocolate
case coral
... | 30.625835 | 55 | 0.644389 |
e3c7796a84fe9acc3bc0042ddf9241e92743f11b | 2,386 | go | Go | components/application-broker/internal/access/provision_mapping_test.go | FWinkler79/kyma | 4ef0055807666cd54c5cbbeecd3aa17918d5d982 | [
"Apache-2.0"
] | 1,351 | 2018-07-04T06:14:20.000Z | 2022-03-31T16:28:47.000Z | components/application-broker/internal/access/provision_mapping_test.go | FWinkler79/kyma | 4ef0055807666cd54c5cbbeecd3aa17918d5d982 | [
"Apache-2.0"
] | 11,211 | 2018-07-24T22:47:33.000Z | 2022-03-31T19:29:15.000Z | components/application-broker/internal/access/provision_mapping_test.go | FWinkler79/kyma | 4ef0055807666cd54c5cbbeecd3aa17918d5d982 | [
"Apache-2.0"
] | 481 | 2018-07-24T14:13:41.000Z | 2022-03-31T15:55:46.000Z | package access_test
import (
"testing"
"time"
"github.com/kyma-project/kyma/components/application-broker/internal"
"github.com/kyma-project/kyma/components/application-broker/internal/access"
"github.com/kyma-project/kyma/components/application-broker/internal/access/automock"
mappingTypes "github.com/kyma-pro... | 30.987013 | 121 | 0.7829 |
39de79826f6095a062e2f06aa7b58912b4b6b1e5 | 5,067 | java | Java | app/src/main/java/com/wenshao/calculator/view/CalculatorEditText.java | wenshaoyan/calculator | 7d0186861081f34b06bec4066cb6d8e5cbcd1947 | [
"MIT"
] | null | null | null | app/src/main/java/com/wenshao/calculator/view/CalculatorEditText.java | wenshaoyan/calculator | 7d0186861081f34b06bec4066cb6d8e5cbcd1947 | [
"MIT"
] | null | null | null | app/src/main/java/com/wenshao/calculator/view/CalculatorEditText.java | wenshaoyan/calculator | 7d0186861081f34b06bec4066cb6d8e5cbcd1947 | [
"MIT"
] | null | null | null | package com.wenshao.calculator.view;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.widget.EditT... | 24.717073 | 93 | 0.561279 |
90f0a7b22504e11eeaf8ed9b65b850cde42fcc46 | 7,066 | py | Python | users.py | ArVID220u/SnallisBot | 43023627472786992284d6a60e4300ffa41d4b84 | [
"MIT"
] | null | null | null | users.py | ArVID220u/SnallisBot | 43023627472786992284d6a60e4300ffa41d4b84 | [
"MIT"
] | null | null | null | users.py | ArVID220u/SnallisBot | 43023627472786992284d6a60e4300ffa41d4b84 | [
"MIT"
] | null | null | null | # import twythonaccess to be able to make twitter requests
from . import twythonaccess
# import apikeys
from . import apikeys
# import twythonstreamer for the SwedishMiner down below
from twython import TwythonStreamer
# import threading
from threading import Thread
# import time
import time
# this class provides Swed... | 42.566265 | 159 | 0.642513 |
cef16886803246a6540de801e30083b307e87bda | 310 | swift | Swift | GateKeeper/UIComponents/Table View Cells/Sections/Account/GKZipCell.swift | ignotusverum/gatekeeper-ios | 8113792178b7bcefdfe2067b29f4c49718eb83d9 | [
"MIT"
] | null | null | null | GateKeeper/UIComponents/Table View Cells/Sections/Account/GKZipCell.swift | ignotusverum/gatekeeper-ios | 8113792178b7bcefdfe2067b29f4c49718eb83d9 | [
"MIT"
] | null | null | null | GateKeeper/UIComponents/Table View Cells/Sections/Account/GKZipCell.swift | ignotusverum/gatekeeper-ios | 8113792178b7bcefdfe2067b29f4c49718eb83d9 | [
"MIT"
] | null | null | null | //
// GKZipCell.swift
// GateKeeper
//
// Created by Vladislav Zagorodnyuk on 10/2/16.
// Copyright © 2016 Vlad Z. All rights reserved.
//
import UIKit
class GKZipCell: GKAccountTableViewCell {
// Override Placeholder
override public var placeholderString: String {
return "Zip"
}
}
| 17.222222 | 51 | 0.677419 |
3cfbb54eb7dcb45a6023518d1d743293321a0f58 | 6,531 | swift | Swift | KKSandboxUI/KKSandboxUI/KKSandboxHelper.swift | onetys/KKSandboxUI | ba8fadcc82b079a994a9d86fc3735c4d1b9413c5 | [
"MIT"
] | null | null | null | KKSandboxUI/KKSandboxUI/KKSandboxHelper.swift | onetys/KKSandboxUI | ba8fadcc82b079a994a9d86fc3735c4d1b9413c5 | [
"MIT"
] | null | null | null | KKSandboxUI/KKSandboxUI/KKSandboxHelper.swift | onetys/KKSandboxUI | ba8fadcc82b079a994a9d86fc3735c4d1b9413c5 | [
"MIT"
] | null | null | null | //
// KKSandboxHelper.swift
// KKSandboxUI
//
// Created by 王铁山 on 2017/8/23.
// Copyright © 2017年 king. All rights reserved.
//
import Foundation
import UIKit
public enum KKSandboxFileType {
case text
case image
case array
case dictionary
case json
case dire... | 28.770925 | 152 | 0.586128 |
a1aea95c6aaa1706dee439a1067573b8f1aab2c4 | 13,626 | h | C | src/kernel/include/sched/posix_signals.h | GrieferAtWork/KOS | 5376a813854b35e3a3532a6e3b8dbb168478b40f | [
"Zlib"
] | 2 | 2017-02-24T17:14:19.000Z | 2017-10-12T19:26:13.000Z | src/kernel/include/sched/posix_signals.h | GrieferAtWork/KOS | 5376a813854b35e3a3532a6e3b8dbb168478b40f | [
"Zlib"
] | 1 | 2019-11-02T10:21:11.000Z | 2019-11-02T10:21:11.000Z | src/kernel/include/sched/posix_signals.h | GabrielRavier/KOSmk3 | 5376a813854b35e3a3532a6e3b8dbb168478b40f | [
"Zlib"
] | 1 | 2019-11-02T10:20:19.000Z | 2019-11-02T10:20:19.000Z | /* Copyright (c) 2018 Griefer@Work *
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors be held liable for any damages *
... | 45.878788 | 113 | 0.685308 |
f4c173a054da5d68575e454952f6fc23bbe48893 | 1,222 | go | Go | tag/loss.go | qibin0506/tml | 58e73a0eb097ed5b9ebdaf5167416c9acc71d621 | [
"Apache-2.0"
] | null | null | null | tag/loss.go | qibin0506/tml | 58e73a0eb097ed5b9ebdaf5167416c9acc71d621 | [
"Apache-2.0"
] | null | null | null | tag/loss.go | qibin0506/tml | 58e73a0eb097ed5b9ebdaf5167416c9acc71d621 | [
"Apache-2.0"
] | null | null | null | package tag
import (
"bufio"
"log"
"github.com/qibin0506/tml/utils"
)
func NewLoss(ctx *TagContext) TagOp {
return &Loss{
Tag: &Tag{
Root: ctx.Prev.Root,
Parent: ctx.Prev.Parent,
Previous: ctx.Prev.Current,
Current: ctx.Cur,
Ext: ctx.Prev.Ext,
},
}
}
type Loss struct {
*Tag
}
func (l *Loss)... | 21.821429 | 80 | 0.682488 |
f70c50f4901a76f82428594c26cd6f80f28e426f | 255 | h | C | src/framework/print-export/Sketch/MSImmutableSymbolInstance.h | skpm/print-export-sketchplugin | 7ad4df2882013e02d9b50b52db05e9a51ec551ba | [
"MIT"
] | 47 | 2019-05-02T11:11:00.000Z | 2019-10-25T06:45:23.000Z | src/framework/print-export/Sketch/MSImmutableSymbolInstance.h | Tafkadasoh/print-export-sketchplugin | 5f2089ba5d2fa3ca1384f3cb51b983c171196774 | [
"MIT"
] | 23 | 2019-10-30T08:01:43.000Z | 2020-08-19T19:51:06.000Z | src/framework/print-export/Sketch/MSImmutableSymbolInstance.h | Tafkadasoh/print-export-sketchplugin | 5f2089ba5d2fa3ca1384f3cb51b983c171196774 | [
"MIT"
] | 4 | 2020-02-14T16:00:47.000Z | 2021-05-06T09:09:30.000Z | //
// MSImmutableSymbolInstance.h
// print-export
//
// Created by Mark Horgan on 29/03/2019.
// Copyright © 2019 Sketch. All rights reserved.
//
#import "MSImmutableStyledLayer.h"
@interface MSImmutableSymbolInstance : MSImmutableStyledLayer
@end
| 18.214286 | 61 | 0.745098 |
863fd459454352459880ad12e96c496ad80a9f1d | 644 | go | Go | sources/set/set_test.go | shoenig/donutdns | 7aa51356fd091d89e29852e48f65ea00dcbc812b | [
"BSD-3-Clause"
] | 11 | 2021-10-30T17:40:26.000Z | 2022-02-27T22:12:34.000Z | sources/set/set_test.go | shoenig/donutdns | 7aa51356fd091d89e29852e48f65ea00dcbc812b | [
"BSD-3-Clause"
] | 1 | 2021-10-20T23:00:33.000Z | 2021-10-20T23:00:33.000Z | sources/set/set_test.go | shoenig/donutdns | 7aa51356fd091d89e29852e48f65ea00dcbc812b | [
"BSD-3-Clause"
] | 1 | 2021-11-18T07:28:20.000Z | 2021-11-18T07:28:20.000Z | package set
import (
"testing"
"github.com/shoenig/test/must"
)
func Test_Add(t *testing.T) {
s := New()
must.EqOp(t, 0, s.Len())
s.Add("foo")
must.EqOp(t, 1, s.Len())
s.Add("bar")
must.EqOp(t, 2, s.Len())
s.Add("foo")
must.EqOp(t, 2, s.Len())
s.Add("")
must.EqOp(t, 2, s.Len())
}
func Test_Union(t *... | 13.142857 | 31 | 0.53882 |
bfea8b93bc81a529fe65ee0edea2c7f053eba3c2 | 2,298 | swift | Swift | Sources/Datagram.swift | phmagic/SwiftIO | 20335a91c7bb6795252cc87121f0f2d9b892ae5c | [
"MIT"
] | null | null | null | Sources/Datagram.swift | phmagic/SwiftIO | 20335a91c7bb6795252cc87121f0f2d9b892ae5c | [
"MIT"
] | null | null | null | Sources/Datagram.swift | phmagic/SwiftIO | 20335a91c7bb6795252cc87121f0f2d9b892ae5c | [
"MIT"
] | 1 | 2020-11-19T10:12:06.000Z | 2020-11-19T10:12:06.000Z | //
// Datagram.swift
// SwiftIO
//
// Created by Jonathan Wight on 8/9/15.
//
// Copyright (c) 2014, Jonathan Wight
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributi... | 31.479452 | 92 | 0.704526 |
f07bfff15edf793c1c8c356f07c2cd48678cf5ed | 3,444 | js | JavaScript | client/store/candles.js | Mighty-mighty-mangoes/Tranquility | cb9304eb648bba1e84ddd5cc6642616669ff8c53 | [
"MIT"
] | null | null | null | client/store/candles.js | Mighty-mighty-mangoes/Tranquility | cb9304eb648bba1e84ddd5cc6642616669ff8c53 | [
"MIT"
] | 40 | 2021-01-11T22:03:13.000Z | 2021-01-21T01:05:05.000Z | client/store/candles.js | Mighty-mighty-mangoes/Tranquility | cb9304eb648bba1e84ddd5cc6642616669ff8c53 | [
"MIT"
] | null | null | null | import axios from 'axios';
const SET_CANDLES = 'SET_CANDLES'; //all candles
const SINGLE_CANDLE = 'SINGLE_CANDLE';
const SET_FOOD_CANDLES = 'SET_FOOD_CANDLES';
const SET_SPICE_CANDLES = 'SET_SPICE_CANDLES';
const SET_FLOWER_CANDLES = 'SET_FLOWER_CANDLES';
const SET_CODER_CANDLES = 'SET_CODER_CANDLES';
export const se... | 24.776978 | 75 | 0.641696 |
95287697c5fa4a8af3fa9863ec29e859573589ea | 867 | asm | Assembly | programs/oeis/088/A088137.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/088/A088137.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/088/A088137.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A088137: Generalized Gaussian Fibonacci integers.
; 0,1,2,1,-4,-11,-10,13,56,73,-22,-263,-460,-131,1118,2629,1904,-4079,-13870,-15503,10604,67717,103622,4093,-302680,-617639,-327238,1198441,3378596,3161869,-3812050,-17109707,-22783264,5762593,79874978,142462177,45299420,-336787691,-809473642,-608584211,1211252504,424... | 43.35 | 656 | 0.778547 |
16c6a99be770afb90266fac34761e2b84dd69d0f | 508 | swift | Swift | Tests/BowGenerators/Transformers/EitherT+Gen.swift | dsabanin/bow | a33173c8a111cbb492fe0ae0f16b58a0adb945d2 | [
"Apache-2.0"
] | 529 | 2018-11-12T10:51:46.000Z | 2022-03-22T18:15:07.000Z | Tests/BowGenerators/Transformers/EitherT+Gen.swift | dsabanin/bow | a33173c8a111cbb492fe0ae0f16b58a0adb945d2 | [
"Apache-2.0"
] | 372 | 2018-11-14T14:14:30.000Z | 2021-10-04T12:56:47.000Z | Tests/BowGenerators/Transformers/EitherT+Gen.swift | dsabanin/bow | a33173c8a111cbb492fe0ae0f16b58a0adb945d2 | [
"Apache-2.0"
] | 33 | 2019-01-11T00:35:52.000Z | 2022-03-17T08:50:53.000Z | import Bow
import SwiftCheck
// MARK: Generator for Property-based Testing
extension EitherT: Arbitrary where F: ArbitraryK, A: Arbitrary, B: Arbitrary {
public static var arbitrary: Gen<EitherT<F, A, B>> {
Gen.from(EitherTPartial.generate >>> EitherT.fix)
}
}
// MARK: Instance of ArbitraryK for Eith... | 26.736842 | 78 | 0.694882 |
95b1cba49554c51c7442d98ae1b441266ad5ac89 | 6,056 | css | CSS | src/styles/header.css | arsengit/xlNet | 17ec369d26cdea5408866b9d79b8cee303895f1b | [
"MIT"
] | null | null | null | src/styles/header.css | arsengit/xlNet | 17ec369d26cdea5408866b9d79b8cee303895f1b | [
"MIT"
] | 6 | 2020-07-19T12:26:42.000Z | 2022-02-26T23:26:26.000Z | src/styles/header.css | arsengit/xlNet | 17ec369d26cdea5408866b9d79b8cee303895f1b | [
"MIT"
] | null | null | null | header {
display: flex;
justify-content: space-between;
align-items: center;
}
header > ul a {
padding-left: 30px;
font-family: "OpenSans Light";
font-size: 18px;
line-height: 2px;
transition: all 0.3s ease-out;
letter-spacing: 0.2px;
color: #fff;
}
header > ul a:hover {
color: #4facfe;
}
.head... | 16.683196 | 101 | 0.677015 |
0bc1b87155af7211f7ef4f7bb261c76723b7c1da | 3,595 | py | Python | src/features/helpers/processing_v4.py | askoki/nfl_dpi_prediction | dc3256f24ddc0b6725eace2081d1fb1a7e5ce805 | [
"MIT"
] | null | null | null | src/features/helpers/processing_v4.py | askoki/nfl_dpi_prediction | dc3256f24ddc0b6725eace2081d1fb1a7e5ce805 | [
"MIT"
] | null | null | null | src/features/helpers/processing_v4.py | askoki/nfl_dpi_prediction | dc3256f24ddc0b6725eace2081d1fb1a7e5ce805 | [
"MIT"
] | null | null | null | import math
import numpy as np
from matplotlib.patches import FancyArrowPatch
def home_has_possession(row):
if row.possessionTeam == row.homeTeamAbbr:
return True
return False
def calculate_team_sitation(row):
ball_string = 'football'
if row.team == ball_string:
return ball_string
... | 27.868217 | 94 | 0.569958 |
daa0f69a3518f3e5319e846f3ee37b5e50c0071e | 4,343 | kt | Kotlin | app/src/main/java/slak/fanfictionstories/data/fetchers/AuthorFetcher.kt | slak44/fanfiction-stories | 86cea40e4ec6a8ff72da2adcb94509b9d2ea1b7c | [
"MIT"
] | 1 | 2019-09-05T03:53:09.000Z | 2019-09-05T03:53:09.000Z | app/src/main/java/slak/fanfictionstories/data/fetchers/AuthorFetcher.kt | slak44/fanfiction-stories | 86cea40e4ec6a8ff72da2adcb94509b9d2ea1b7c | [
"MIT"
] | null | null | null | app/src/main/java/slak/fanfictionstories/data/fetchers/AuthorFetcher.kt | slak44/fanfiction-stories | 86cea40e4ec6a8ff72da2adcb94509b9d2ea1b7c | [
"MIT"
] | null | null | null | package slak.fanfictionstories.data.fetchers
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
import kotlinx.coroutines.CoroutineScope
import org.jsoup.Jsoup
import org.jsoup.nodes.Element
import org.jsoup.select.Elements
import slak.fanfictionstories.Notifications
import slak.fanfictionstories.Not... | 39.481818 | 100 | 0.698595 |
3c331165f35355a22583844a21e6a5996e67e42d | 42 | sql | SQL | oon_db/migrations/2019-10-27-144646_initial/down.sql | justinas/onion-or-news | 6f45de79eeff74ff14559876557334aa356e145b | [
"MIT"
] | 11 | 2019-11-09T18:43:23.000Z | 2021-08-03T07:49:38.000Z | oon_db/migrations/2019-10-27-144646_initial/down.sql | justinas/onion-or-news | 6f45de79eeff74ff14559876557334aa356e145b | [
"MIT"
] | 2 | 2019-11-01T19:02:21.000Z | 2019-11-01T20:21:24.000Z | oon_db/migrations/2019-10-27-144646_initial/down.sql | justinas/onion-or-news | 6f45de79eeff74ff14559876557334aa356e145b | [
"MIT"
] | null | null | null | DROP TABLE answers;
DROP TABLE questions;
| 14 | 21 | 0.809524 |
3f92b8bcd7948b16f297271be9522b1a8e4eedb0 | 243 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/tangible/storyteller/prop/pr_tent_basic.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/tangible/storyteller/prop/pr_tent_basic.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/tangible/storyteller/prop/pr_tent_basic.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_tangible_storyteller_prop_pr_tent_basic = object_tangible_storyteller_prop_shared_pr_tent_basic:new {
}
ObjectTemplates:addTemplate(object_tangible_storyteller_prop_pr_tent_basic, "object/tangible/storyteller/prop/pr_tent_basic.iff")
| 40.5 | 129 | 0.901235 |
38c2da6e4302737b764a0b0f1f040423ad91e23c | 509 | h | C | AwaitSwift/AwaitSwift.h | GlebRadchenko/AwaitSwift | 47a23eae6356877d319d34f468ca2bf5f376ff4b | [
"MIT"
] | null | null | null | AwaitSwift/AwaitSwift.h | GlebRadchenko/AwaitSwift | 47a23eae6356877d319d34f468ca2bf5f376ff4b | [
"MIT"
] | null | null | null | AwaitSwift/AwaitSwift.h | GlebRadchenko/AwaitSwift | 47a23eae6356877d319d34f468ca2bf5f376ff4b | [
"MIT"
] | null | null | null | //
// AwaitSwift.h
// AwaitSwift
//
// Created by Gleb Radchenko on 10/24/18.
// Copyright © 2018 Gleb Radchenko. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for AwaitSwift.
FOUNDATION_EXPORT double AwaitSwiftVersionNumber;
//! Project version string for AwaitSwift.
FOUNDATION_EXPO... | 25.45 | 135 | 0.764244 |
7be2f37f0d2f70faf1316667aa4ef8ac462f60c4 | 2,601 | css | CSS | public/css/chunk-fe6047a4.f07a6d4d.css | wangdachui6bi/- | 52979448f6ed1f2be435ccb18844ae5b23ece7f7 | [
"MIT"
] | null | null | null | public/css/chunk-fe6047a4.f07a6d4d.css | wangdachui6bi/- | 52979448f6ed1f2be435ccb18844ae5b23ece7f7 | [
"MIT"
] | null | null | null | public/css/chunk-fe6047a4.f07a6d4d.css | wangdachui6bi/- | 52979448f6ed1f2be435ccb18844ae5b23ece7f7 | [
"MIT"
] | null | null | null | .MvInfo[data-v-a6169e42]{width:90%;margin:0 auto}.MvInfo h1[data-v-a6169e42]{font-size:16px}.MvInfo .playVideo[data-v-a6169e42]{margin-top:10px;width:370px;height:210px;margin:0 auto}.MvInfo .artistInfo[data-v-a6169e42]{margin:10px auto}.MvInfo .artistInfo img[data-v-a6169e42]{width:40px;height:40px;border-radius:50%;f... | 2,601 | 2,601 | 0.802384 |
4b1f7fd3ae9e435bc48130461ac27ae8fd4e05ae | 6,482 | swift | Swift | PodChat/Classes/PrimaryModels/Participant.swift | Mahyar1990/PodChat | 22c4becdc3ddc58a12aee7d3f0c8dad7a04a3a7c | [
"MIT"
] | null | null | null | PodChat/Classes/PrimaryModels/Participant.swift | Mahyar1990/PodChat | 22c4becdc3ddc58a12aee7d3f0c8dad7a04a3a7c | [
"MIT"
] | null | null | null | PodChat/Classes/PrimaryModels/Participant.swift | Mahyar1990/PodChat | 22c4becdc3ddc58a12aee7d3f0c8dad7a04a3a7c | [
"MIT"
] | null | null | null | //
// Participant.swift
// Chat
//
// Created by Mahyar Zhiani on 7/23/1397 AP.
// Copyright © 1397 Mahyar Zhiani. All rights reserved.
//
import Foundation
import SwiftyJSON
//#######################################################################################
//############################# Participant... | 42.644737 | 89 | 0.459272 |
396957ff67bbeaa876a9e2fa7de1960506b28b99 | 1,836 | html | HTML | VirtualRadar.WebSite/Site/Web/zz-norel-leak.html | neonowy/vrs | 96b129b924ee18f9c1f356d58313e6075994b724 | [
"BSD-3-Clause"
] | 208 | 2016-08-10T20:29:57.000Z | 2022-03-29T04:58:05.000Z | VirtualRadar.WebSite/Site/Web/zz-norel-leak.html | neonowy/vrs | 96b129b924ee18f9c1f356d58313e6075994b724 | [
"BSD-3-Clause"
] | 43 | 2017-07-23T12:24:05.000Z | 2022-01-23T11:33:34.000Z | VirtualRadar.WebSite/Site/Web/zz-norel-leak.html | neonowy/vrs | 96b129b924ee18f9c1f356d58313e6075994b724 | [
"BSD-3-Clause"
] | 47 | 2016-08-10T17:16:16.000Z | 2022-03-05T08:12:21.000Z | <!DOCTYPE html>
<!-- Chrome leaks like a sieve with ajax calls -->
<html>
<head>
<meta charset="utf-8">
<title>Leak</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="XHR.js"></script>
... | 32.210526 | 107 | 0.443355 |
0469420885ceab37d5ca575edda0295f10524ad5 | 996 | swift | Swift | 705.playground/Contents.swift | LispLY/leetcode-resolutions | 840b453e7191db5c171af50ec8bfe9d8923957b9 | [
"WTFPL"
] | 1 | 2022-01-24T05:43:50.000Z | 2022-01-24T05:43:50.000Z | 705.playground/Contents.swift | LispLY/leetcode-solutions | 840b453e7191db5c171af50ec8bfe9d8923957b9 | [
"WTFPL"
] | null | null | null | 705.playground/Contents.swift | LispLY/leetcode-solutions | 840b453e7191db5c171af50ec8bfe9d8923957b9 | [
"WTFPL"
] | null | null | null | // passed
// 更严肃的实现应该用链表来存储
import Cocoa
class MyHashSet {
static let space = 999
var stores: [[Int]]
/** Initialize your data structure here. */
init() {
stores = Array(repeating: [Int](), count: MyHashSet.space)
}
func hashValue(_ num: Int) -> Int {
return num % MyH... | 22.133333 | 66 | 0.570281 |
bb14ed696f852547deabeb069a83bebc08e1dd4c | 79 | rb | Ruby | init.rb | cavneb/lightwindow | 0a4d8524d0b77c131e00ba18bce223cae8420aea | [
"MIT"
] | 1 | 2016-05-08T11:27:02.000Z | 2016-05-08T11:27:02.000Z | init.rb | cavneb/lightwindow | 0a4d8524d0b77c131e00ba18bce223cae8420aea | [
"MIT"
] | null | null | null | init.rb | cavneb/lightwindow | 0a4d8524d0b77c131e00ba18bce223cae8420aea | [
"MIT"
] | null | null | null | require 'lightwindow_helper'
ActionView::Base.send(:include, LightwindowHelper) | 39.5 | 50 | 0.848101 |
dd7c28b324f3a63f444d290ff63e80c006179397 | 9,815 | php | PHP | app/Http/Controllers/Sec/LicensesController.php | mdwikydarmawan/it-asset | 5af801f6bc280c804fe743d5860cb530699b478e | [
"MIT"
] | null | null | null | app/Http/Controllers/Sec/LicensesController.php | mdwikydarmawan/it-asset | 5af801f6bc280c804fe743d5860cb530699b478e | [
"MIT"
] | null | null | null | app/Http/Controllers/Sec/LicensesController.php | mdwikydarmawan/it-asset | 5af801f6bc280c804fe743d5860cb530699b478e | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Sec;
use App\SecLicense;
use Illuminate\Http\Request;
use Illuminate\Contracts\Pagination\Paginator;
use Illuminate\Support\Facades\DB;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Gate;
use App\Http\Requests\Sec\UpdateLicenseRequest;
use DateTime;
class L... | 41.588983 | 151 | 0.429037 |
f35d368dbc1c9feed7842fbccb4536db6d9b23c8 | 9,208 | lua | Lua | AzurLaneData/zh-CN/mgr/timemgr.lua | FlandreCirno/AzurLaneWikiUtilitiesManual | b525fd9086dd716bb65848a8cd0635b261ab6fdf | [
"MIT"
] | null | null | null | AzurLaneData/zh-CN/mgr/timemgr.lua | FlandreCirno/AzurLaneWikiUtilitiesManual | b525fd9086dd716bb65848a8cd0635b261ab6fdf | [
"MIT"
] | null | null | null | AzurLaneData/zh-CN/mgr/timemgr.lua | FlandreCirno/AzurLaneWikiUtilitiesManual | b525fd9086dd716bb65848a8cd0635b261ab6fdf | [
"MIT"
] | null | null | null | pg = pg or {}
pg.TimeMgr = singletonClass("TimeMgr")
pg.TimeMgr._Timer = nil
pg.TimeMgr._BattleTimer = nil
pg.TimeMgr._sAnchorTime = 0
pg.TimeMgr._AnchorDelta = 0
pg.TimeMgr._serverUnitydelta = 0
pg.TimeMgr._isdstClient = false
slot2 = 3600
slot3 = 86400
slot4 = 604800
pg.TimeMgr.Ctor = function (slot0)
slot0._battle... | 22.134615 | 203 | 0.688097 |
f778815ca55937be4b6eb58541c6b788b4e1afeb | 1,911 | h | C | hardware/aw/playready/include/oem/common/inc/bigdecls.h | ghsecuritylab/Android-7.0 | e65af741a5cd5ac6e49e8735b00b456d00f6c0d0 | [
"MIT"
] | 10 | 2020-04-17T04:02:36.000Z | 2021-11-23T11:38:42.000Z | hardware/aw/playready/include/oem/common/inc/bigdecls.h | ghsecuritylab/Android-7.0 | e65af741a5cd5ac6e49e8735b00b456d00f6c0d0 | [
"MIT"
] | 3 | 2020-02-19T16:53:25.000Z | 2021-04-29T07:28:40.000Z | hardware/aw/playready/include/oem/common/inc/bigdecls.h | ghsecuritylab/Android-7.0 | e65af741a5cd5ac6e49e8735b00b456d00f6c0d0 | [
"MIT"
] | 5 | 2019-12-25T04:05:02.000Z | 2022-01-14T16:57:55.000Z | /**@@@+++@@@@******************************************************************
**
** Microsoft (r) PlayReady (r)
** Copyright (c) Microsoft Corporation. All rights reserved.
**
***@@@---@@@@******************************************************************
*/
#ifndef BIGDECLS_H
#define BIGDECLS_H 1
ENTER_PK_NAMESPACE... | 38.22 | 107 | 0.582941 |
2f6d32ab2f6e6de656785e26fd9798b9a520bf2d | 1,890 | rs | Rust | win_ring0/src/winRing0.rs | alex-dow/winRing0-rs | f26aa05277f4989db26f846953285edd8aa3d631 | [
"BSD-2-Clause"
] | null | null | null | win_ring0/src/winRing0.rs | alex-dow/winRing0-rs | f26aa05277f4989db26f846953285edd8aa3d631 | [
"BSD-2-Clause"
] | null | null | null | win_ring0/src/winRing0.rs | alex-dow/winRing0-rs | f26aa05277f4989db26f846953285edd8aa3d631 | [
"BSD-2-Clause"
] | null | null | null | use win_kernel_driver::WinKernelDriver;
use win_kernel_driver::DriverBuilder;
use super::ioctl::IOCTL;
use winapi::shared::minwindef::{DWORD};
/// WinRing0 driver
pub struct WinRing0 {
driver: WinKernelDriver
}
impl<'a> WinRing0 {
pub fn new() -> Self {
let driver_x64 = include_bytes!("../winRing0x64... | 29.53125 | 78 | 0.577778 |
18b7cba04389a8c95916c5bdc348fd1ffb4577b6 | 2,419 | rb | Ruby | app/controllers/admin/regiones_controller.rb | isaac95mendez/enciclovida | 311cd1d492855efa1d56389e26f2b9f29a83071a | [
"MIT"
] | 5 | 2015-02-06T16:29:15.000Z | 2018-09-03T03:34:04.000Z | app/controllers/admin/regiones_controller.rb | isaac95mendez/enciclovida | 311cd1d492855efa1d56389e26f2b9f29a83071a | [
"MIT"
] | 74 | 2015-02-27T17:34:04.000Z | 2018-09-20T16:17:30.000Z | app/controllers/admin/regiones_controller.rb | isaac95mendez/enciclovida | 311cd1d492855efa1d56389e26f2b9f29a83071a | [
"MIT"
] | 14 | 2018-12-15T01:49:02.000Z | 2021-09-08T17:46:43.000Z | class Admin::RegionesController < Admin::AdminController
before_action :set_admin_region, only: [:show, :edit, :update, :destroy]
# GET /admin/regiones
# GET /admin/regiones.json
def index
@admin_regiones = Admin::Region.all
end
# GET /admin/regiones/1
# GET /admin/regiones/1.json
def show
end
... | 29.5 | 112 | 0.68334 |
5e125fd558b11e010aecbc7cd1744c6c930faaa9 | 7,244 | lua | Lua | plugins/3dtext.lua | nykez/helix | 8f64c85dfa1357add397d8b8962680f5d1a28da5 | [
"MIT"
] | 2 | 2019-12-02T18:18:32.000Z | 2019-12-02T18:19:04.000Z | plugins/3dtext.lua | nykez/helix | 8f64c85dfa1357add397d8b8962680f5d1a28da5 | [
"MIT"
] | null | null | null | plugins/3dtext.lua | nykez/helix | 8f64c85dfa1357add397d8b8962680f5d1a28da5 | [
"MIT"
] | 1 | 2019-06-20T22:20:01.000Z | 2019-06-20T22:20:01.000Z |
local PLUGIN = PLUGIN
PLUGIN.name = "3D Text"
PLUGIN.author = "Chessnut"
PLUGIN.description = "Adds text that can be placed on the map."
PLUGIN.list = PLUGIN.list or {}
if (SERVER) then
util.AddNetworkString("ixTextList")
util.AddNetworkString("ixTextAdd")
util.AddNetworkString("ixTextRemove")
ix.log.AddType("... | 23.596091 | 85 | 0.675179 |
16968b7723f2faf91dbcabb12eccd8a562c60c75 | 2,031 | ts | TypeScript | src/routes/admin/health/getHealth.ts | intelkrishi/rps | 2b988db8d81f0527171701871ec4f6abd533ac66 | [
"Apache-2.0"
] | 12 | 2020-06-02T20:54:05.000Z | 2022-01-13T16:21:32.000Z | src/routes/admin/health/getHealth.ts | intelkrishi/rps | 2b988db8d81f0527171701871ec4f6abd533ac66 | [
"Apache-2.0"
] | 455 | 2020-06-09T16:16:58.000Z | 2022-03-31T15:58:00.000Z | src/routes/admin/health/getHealth.ts | intelkrishi/rps | 2b988db8d81f0527171701871ec4f6abd533ac66 | [
"Apache-2.0"
] | 11 | 2020-06-09T14:58:38.000Z | 2022-03-15T17:53:44.000Z | /*********************************************************************
* Copyright (c) Intel Corporation 2021
* SPDX-License-Identifier: Apache-2.0
**********************************************************************/
import Logger from '../../../Logger'
import { Request, Response } from 'express'
import { API_RES... | 38.320755 | 131 | 0.619892 |
af51c0727ad6076e3d5c1ac8221cda3c31fc7498 | 2,976 | rb | Ruby | spec/module_spec.rb | alu0100967111/LPP-Food | c47c2c4c813513c7d8daae40efda21919f1a114f | [
"MIT"
] | null | null | null | spec/module_spec.rb | alu0100967111/LPP-Food | c47c2c4c813513c7d8daae40efda21919f1a114f | [
"MIT"
] | null | null | null | spec/module_spec.rb | alu0100967111/LPP-Food | c47c2c4c813513c7d8daae40efda21919f1a114f | [
"MIT"
] | null | null | null | require "spec_helper"
include FoodGem
include DLLModule
FOOD_DATA_FILENAME = "input/food-data.txt"
SAMPLES_DATA_FILENAME = "input/samples-data.txt"
RSpec.describe Comparable do
before :all do
@food_array = read_data(FOOD_DATA_FILENAME, SAMPLES_DATA_FILENAME)
end
context "Comparando alimentos" do
... | 32.347826 | 97 | 0.675403 |
46e24beb5d5307fb1eaae51a259e604163dc84b9 | 712 | css | CSS | global.css | lukmi15/PrettyHappyPonies_Traffic_Incident_Interface | c8118f6cbee5d75cc09f918174706f1352f22396 | [
"Unlicense"
] | null | null | null | global.css | lukmi15/PrettyHappyPonies_Traffic_Incident_Interface | c8118f6cbee5d75cc09f918174706f1352f22396 | [
"Unlicense"
] | null | null | null | global.css | lukmi15/PrettyHappyPonies_Traffic_Incident_Interface | c8118f6cbee5d75cc09f918174706f1352f22396 | [
"Unlicense"
] | null | null | null | form
{
height: 100%;
font-weight: bold;
}
table.frame
{
width: 100%;
height: 100%;
}
.frame .content
{
width: 100%;
height: 100%;
border-collapse: collapse;
border: 1px solid black;
margin: 0px;
padding: 0px;
}
#logo
{
height: 80px;
}
#header
{
height: 80px;
background: black;
color: white;
vertical-... | 10.787879 | 38 | 0.660112 |
967f788aa8e96ff3a16e877cafd8ec5f088d2516 | 1,068 | php | PHP | app/Http/Controllers/ChatMemberController.php | prokhorenko-vladyslav/laurel-chat-backend | 2daee3ac2707ef283b4f1f556fa23add80bc9158 | [
"MIT"
] | null | null | null | app/Http/Controllers/ChatMemberController.php | prokhorenko-vladyslav/laurel-chat-backend | 2daee3ac2707ef283b4f1f556fa23add80bc9158 | [
"MIT"
] | null | null | null | app/Http/Controllers/ChatMemberController.php | prokhorenko-vladyslav/laurel-chat-backend | 2daee3ac2707ef283b4f1f556fa23add80bc9158 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Actions\Chat\Member\JoinAction;
use App\Actions\Chat\Member\LeaveAction;
use App\Http\Requests\Chat\Member\JoinRequest;
use App\Http\Requests\Chat\Member\LeaveRequest;
use App\Models\Chat;
use App\Models\User;
class ChatMemberController extends Controller
{
public fu... | 28.864865 | 93 | 0.629213 |
994649de2f4a42d6264e49304c581d4a0cde0ae3 | 1,859 | h | C | trolley-interface/include/TCPDrivers.h | g2-field-team/field-hardware-lib | 559052f2c245fc384265d67e7885f13f431ca4b8 | [
"MIT"
] | null | null | null | trolley-interface/include/TCPDrivers.h | g2-field-team/field-hardware-lib | 559052f2c245fc384265d67e7885f13f431ca4b8 | [
"MIT"
] | null | null | null | trolley-interface/include/TCPDrivers.h | g2-field-team/field-hardware-lib | 559052f2c245fc384265d67e7885f13f431ca4b8 | [
"MIT"
] | null | null | null | //==============================================================================
//
// Title: TCPDrivers.h
// Description: This file contains the declarations of TCP functios needed by Device.c
// Author: Ran Hong
//
//=========================================================================... | 32.614035 | 198 | 0.670791 |
2a50c8dcec0ec9f44a2efe4270e92bdb09de42b8 | 527 | java | Java | src/main/java/ch/admin/bag/covidcertificate/client/inapp_delivery/domain/InAppDeliveryRequestDto.java | delixfe/CovidCertificate-Management-Service | c02b1adec17fd745eb160b6b8a2a62b481fee36e | [
"MIT"
] | 17 | 2021-05-31T14:33:39.000Z | 2022-03-28T20:53:59.000Z | src/main/java/ch/admin/bag/covidcertificate/client/inapp_delivery/domain/InAppDeliveryRequestDto.java | delixfe/CovidCertificate-Management-Service | c02b1adec17fd745eb160b6b8a2a62b481fee36e | [
"MIT"
] | 21 | 2021-06-01T10:08:19.000Z | 2022-01-19T16:28:50.000Z | src/main/java/ch/admin/bag/covidcertificate/client/inapp_delivery/domain/InAppDeliveryRequestDto.java | delixfe/CovidCertificate-Management-Service | c02b1adec17fd745eb160b6b8a2a62b481fee36e | [
"MIT"
] | 12 | 2021-05-31T13:58:16.000Z | 2022-02-11T10:30:59.000Z | package ch.admin.bag.covidcertificate.client.inapp_delivery.domain;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;
@Getter
@ToString
@AllArgsConstructor
public class InAppDeliveryRequestDto {
/**
* Code of the App the certificate should be sent to. Must be 9 characters, alpha... | 21.958333 | 108 | 0.686907 |
594e95abec9a0fcdd5039944b9d1b8f6e9146514 | 942 | c | C | sys/src/cda/gnet/conn.c | henesy/plan9-1e | 47575dc4a4638a1ee0d9eed78d88a9f1720a4430 | [
"MIT"
] | null | null | null | sys/src/cda/gnet/conn.c | henesy/plan9-1e | 47575dc4a4638a1ee0d9eed78d88a9f1720a4430 | [
"MIT"
] | null | null | null | sys/src/cda/gnet/conn.c | henesy/plan9-1e | 47575dc4a4638a1ee0d9eed78d88a9f1720a4430 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include "geom.h"
#include "thing.h"
#include "text.h"
#include "wire.h"
#include "conn.h"
void Conn::nets(WireList *w)
{
register i;
register Wire **wp;
for (i = 0, wp = (Wire **) w->a; i < w->n; i++, wp++)
if ((*wp)->contains(pin->p))
/* if (pin->p == (*wp)->P || pin->p == (*wp)->Q) */
n... | 20.042553 | 100 | 0.538217 |
12df024dd36c18e5e0711020299b101aa72be0f9 | 1,479 | html | HTML | form/tag-cloud/index.html | skylight-hq/va-api-landscape | 0a383b764e46c0b3870b2c95af8eaae320bf5a10 | [
"CC0-1.0"
] | 2 | 2019-11-06T18:35:06.000Z | 2019-11-07T14:40:38.000Z | form/tag-cloud/index.html | skylight-hq/va-api-landscape | 0a383b764e46c0b3870b2c95af8eaae320bf5a10 | [
"CC0-1.0"
] | 1 | 2018-06-19T17:02:09.000Z | 2018-06-19T17:09:50.000Z | form/tag-cloud/index.html | department-of-veterans-affairs/va-api-landscape | 0a383b764e46c0b3870b2c95af8eaae320bf5a10 | [
"CC0-1.0"
] | 1 | 2018-06-19T20:50:37.000Z | 2018-06-19T20:50:37.000Z | ---
layout: default
title: Form Tag Cloud
---
<h2 class="mb-4">Form Tag Cloud</h2>
<p class="mb-4">This is a list of forms identified from spidering the VA website.</p>
{% assign topics = site.data.form_tag_cloud %}
<div id="topiccloud" class="pathcloud">
{% for topic in topics %}
{% if topic.word_count > 100... | 29.58 | 85 | 0.571332 |
f6a17cb068e538097d90de9b39fa7b293e4d6298 | 508 | lua | Lua | system/ext/bit.lua | andycai/yi | 1462869a3222e5f04691ab8f7a81a49e77e88b31 | [
"MIT"
] | 8 | 2017-02-07T07:05:37.000Z | 2021-03-23T10:48:26.000Z | system/ext/bit.lua | andycai/yi | 1462869a3222e5f04691ab8f7a81a49e77e88b31 | [
"MIT"
] | null | null | null | system/ext/bit.lua | andycai/yi | 1462869a3222e5f04691ab8f7a81a49e77e88b31 | [
"MIT"
] | 3 | 2016-08-05T08:42:27.000Z | 2021-04-29T02:20:16.000Z | bit = {}
function bit.b(p)
return 2 ^ (p - 1) -- 1-based indexing
end
-- Typical call: if bit.and(x, bit.b(3)) then ...
function bit.band(x, p)
return x % (p + p) >= p
end
function bit.setbit(x, p)
return bit.band(x, p) and x or x + p
end
--[==[
BIT_FRAME_TITLE = 1
BIT_FRAME_CLOSE = 2
... | 20.32 | 52 | 0.602362 |
c4edf6056d1a8e7214b4abdc18e5696efb78be4d | 9,883 | swift | Swift | Swift_SPAlertController/Swift_SPAlertController/ViewController+Sheet.swift | yonfong/SPAlertController | 7df13bc2399627a858a7d5305c9467fcaa4cf8fb | [
"MIT"
] | 10 | 2020-04-12T19:16:49.000Z | 2021-12-27T03:32:22.000Z | Swift_SPAlertController/Swift_SPAlertController/ViewController+Sheet.swift | yonfong/SPAlertController | 7df13bc2399627a858a7d5305c9467fcaa4cf8fb | [
"MIT"
] | null | null | null | Swift_SPAlertController/Swift_SPAlertController/ViewController+Sheet.swift | yonfong/SPAlertController | 7df13bc2399627a858a7d5305c9467fcaa4cf8fb | [
"MIT"
] | 2 | 2020-04-17T06:27:35.000Z | 2021-11-10T06:24:27.000Z | //
// ViewController+Sheet.swift
// Swift_SPAlertController
//
// Created by lidongxi on 2020/1/10.
// Copyright © 2020 lidongxi. All rights reserved.
//
import UIKit
extension ViewController{
// MARK: ======== SPAlertControllerStyleActionSheet样式示例 ========
// 示例1:actionSheet的默认动画样式(从底部弹出,有取消按钮)
... | 43.346491 | 156 | 0.634524 |
1de3ca6a7f62d941924f4a9f7f1e4a0b1a9b5fac | 5,410 | swift | Swift | Wind/Audio/MP3Recoder.swift | ilumanxi/Wind | 24943bce0e808427f68a4e1229d209d371534fc3 | [
"MIT"
] | 2 | 2018-02-24T11:10:14.000Z | 2019-05-20T06:09:41.000Z | Wind/Audio/MP3Recoder.swift | ilumanxi/Wind | 24943bce0e808427f68a4e1229d209d371534fc3 | [
"MIT"
] | null | null | null | Wind/Audio/MP3Recoder.swift | ilumanxi/Wind | 24943bce0e808427f68a4e1229d209d371534fc3 | [
"MIT"
] | null | null | null | //
// MP3Recoder.swift
// Wind
//
// Created by tanfanfan on 2017/2/13.
// Copyright © 2017年 tanfanfan. All rights reserved.
//
import Foundation
import AudioToolbox
import AVFoundation
final public class MP3Bot: NSObject {
fileprivate struct Constant {
public static let bufferByteSize: UInt32 = 10240 ... | 35.359477 | 111 | 0.63549 |
4901c51c1ea8530e44c195ecd1215f420a39da2d | 3,940 | py | Python | okta/models/profile_enrollment_policy_rule_action.py | ander501/okta-sdk-python | 0927dc6a2f6d5ebf7cd1ea806d81065094c92471 | [
"Apache-2.0"
] | null | null | null | okta/models/profile_enrollment_policy_rule_action.py | ander501/okta-sdk-python | 0927dc6a2f6d5ebf7cd1ea806d81065094c92471 | [
"Apache-2.0"
] | null | null | null | okta/models/profile_enrollment_policy_rule_action.py | ander501/okta-sdk-python | 0927dc6a2f6d5ebf7cd1ea806d81065094c92471 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
"""
Copyright 2021 - Present Okta, Inc.
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 ... | 42.826087 | 154 | 0.679949 |
9c4a0c100d2dd98af21e4ee85c13eb20b934ecbe | 1,814 | js | JavaScript | express/rate-a-restaurant/server.js | SashaPatsel/coding-drills | c38414a49f7918f59c2e1535a40ba0986d7df8b1 | [
"MIT"
] | null | null | null | express/rate-a-restaurant/server.js | SashaPatsel/coding-drills | c38414a49f7918f59c2e1535a40ba0986d7df8b1 | [
"MIT"
] | null | null | null | express/rate-a-restaurant/server.js | SashaPatsel/coding-drills | c38414a49f7918f59c2e1535a40ba0986d7df8b1 | [
"MIT"
] | null | null | null | // ======================= NPM ========================
// Require the following packages:
// - express, to create our server and manage our routes
// - body-parser, to read our API returns more easily
// - path, to use HTMl files
// - mysql, to query our db
// ===================================================
... | 26.289855 | 137 | 0.586549 |