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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c7b9733b060cc9b37fca779e60d6b2175becba75 | 2,113 | py | Python | Week03/Assignment/gmorbioli.py | annap84/SkillsWorkshop2018 | 19cc76abd9b0ea15ee2823dd36698475b08b0217 | [
"BSD-3-Clause"
] | 1 | 2020-04-18T03:30:46.000Z | 2020-04-18T03:30:46.000Z | Week03/Assignment/gmorbioli.py | annap84/SkillsWorkshop2018 | 19cc76abd9b0ea15ee2823dd36698475b08b0217 | [
"BSD-3-Clause"
] | 21 | 2018-07-12T19:12:23.000Z | 2018-08-10T13:52:45.000Z | Week03/Assignment/gmorbioli.py | annap84/SkillsWorkshop2018 | 19cc76abd9b0ea15ee2823dd36698475b08b0217 | [
"BSD-3-Clause"
] | 60 | 2018-05-08T16:59:20.000Z | 2018-08-01T14:28:28.000Z | # -*- coding: utf-8 -*-
"""
Created on Sat Jul 28 16:46:29 2018
@author: morbi
"""
#importing the libraries
import pandas as pd
import matplotlib.pyplot as plt, matplotlib,numpy as np
#creating the dataframes - MAKE SURE YOU'RE IN THE SAME DIRECTORY OF THE FILES
surveys_df = pd.read_csv("surveys.csv",
... | 38.418182 | 115 | 0.703739 |
5f558d0fb0a62b79b43a2372c0b6ab2fdfd13ef7 | 2,270 | ts | TypeScript | src/app.ts | jasonhaxstuff/chat | aa03883a976d65e07cf3c14c4a4a1e7725c02536 | [
"MIT"
] | null | null | null | src/app.ts | jasonhaxstuff/chat | aa03883a976d65e07cf3c14c4a4a1e7725c02536 | [
"MIT"
] | null | null | null | src/app.ts | jasonhaxstuff/chat | aa03883a976d65e07cf3c14c4a4a1e7725c02536 | [
"MIT"
] | null | null | null | import { remote } from 'electron'
import * as jetpack from 'fs-jetpack'
import * as WebSocket from 'ws'
import env from './env'
import * as M from 'materialize-css'
const ws = new WebSocket('wss://www.macho.ninja/chat/')
console.log('Loaded environment variables:', env)
let app = remote.app
let appDir = jetpack.cwd(... | 28.734177 | 105 | 0.678414 |
d2db0a61eaaf90f67deec68ec9f9e4181404aa9b | 916 | php | PHP | console/migrations/m170925_134823_page_translate.php | justyork/cms | 707ba6b0eccca1b9502ace6804e4579b3f0974bc | [
"MIT"
] | null | null | null | console/migrations/m170925_134823_page_translate.php | justyork/cms | 707ba6b0eccca1b9502ace6804e4579b3f0974bc | [
"MIT"
] | null | null | null | console/migrations/m170925_134823_page_translate.php | justyork/cms | 707ba6b0eccca1b9502ace6804e4579b3f0974bc | [
"MIT"
] | null | null | null | <?php
use yii\db\Migration;
class m170925_134823_page_translate extends Migration
{
public function safeUp()
{
$this->createTable('page_translate', [
'id' => $this->primaryKey(),
'parent_id' => $this->integer(),
'language' => $this->string(6),
'title' =>... | 20.355556 | 67 | 0.509825 |
1222f1506979c915e36c0719a6e3861d290b6e07 | 1,074 | h | C | src/engine_core/wme_base/UIMarkup.h | segafan/wme1_jankavan_tlc_edition-repo | 72163931f348d5a2132577930362d297cc375a26 | [
"MIT"
] | 3 | 2021-03-28T00:11:48.000Z | 2022-01-12T13:10:52.000Z | src/engine_core/wme_base/UIMarkup.h | segafan/wme1_jankavan_tlc_edition-repo | 72163931f348d5a2132577930362d297cc375a26 | [
"MIT"
] | null | null | null | src/engine_core/wme_base/UIMarkup.h | segafan/wme1_jankavan_tlc_edition-repo | 72163931f348d5a2132577930362d297cc375a26 | [
"MIT"
] | null | null | null | // This file is part of Wintermute Engine
// For conditions of distribution and use, see copyright notice in license.txt
// http://dead-code.org/redir.php?target=wme
#if !defined(AFX_UIMARKUP_H__FAE8DFBB_1FBE_49D2_B600_378D8DC59EB2__INCLUDED_)
#define AFX_UIMARKUP_H__FAE8DFBB_1FBE_49D2_B600_378D8DC59EB2__INCLUD... | 30.685714 | 100 | 0.766294 |
e17d008bbe4b92b47366dde79a228f77ee32b06c | 1,493 | kt | Kotlin | domain/src/main/java/com/foobarust/domain/models/order/OrderDetail.kt | foobar-UST/foobar-android | b4358ef0323a0b7a95483223496164e616a01da5 | [
"MIT"
] | 2 | 2021-06-07T11:04:24.000Z | 2021-08-24T11:50:08.000Z | domain/src/main/java/com/foobarust/domain/models/order/OrderDetail.kt | foobar-UST/foobar-android | b4358ef0323a0b7a95483223496164e616a01da5 | [
"MIT"
] | null | null | null | domain/src/main/java/com/foobarust/domain/models/order/OrderDetail.kt | foobar-UST/foobar-android | b4358ef0323a0b7a95483223496164e616a01da5 | [
"MIT"
] | 3 | 2021-08-02T19:20:15.000Z | 2021-08-28T14:06:57.000Z | package com.foobarust.domain.models.order
import com.foobarust.domain.models.common.Geolocation
import com.foobarust.domain.models.common.GeolocationPoint
import com.foobarust.domain.models.map.TravelMode
import java.util.*
/**
* Created by kevin on 1/28/21
*/
data class OrderDetail(
val id: String,
val ti... | 28.169811 | 80 | 0.720697 |
5f2b08d692ba0eb3045d2235898321ce61dbc56d | 205 | ts | TypeScript | src/controller/helpers/getState.ts | BiosBoy/carradar-staging | 55e5cf60d503fd273a979499f302267578cf3ff1 | [
"MIT"
] | null | null | null | src/controller/helpers/getState.ts | BiosBoy/carradar-staging | 55e5cf60d503fd273a979499f302267578cf3ff1 | [
"MIT"
] | null | null | null | src/controller/helpers/getState.ts | BiosBoy/carradar-staging | 55e5cf60d503fd273a979499f302267578cf3ff1 | [
"MIT"
] | null | null | null | import { select } from 'redux-saga/effects';
import { IStore } from '../../interfaces/IStore';
function* getState() {
const state: IStore = yield select();
return state;
}
export default getState;
| 17.083333 | 49 | 0.678049 |
c2032acde9b3c8bd603ed2d4cdd73bc84921029d | 4,057 | go | Go | services/customerdb/client/reseller_management/get_reseller_responses.go | Cyclops-Labs/cyclops-4-hpc | 0ea0435502e8908dd85294241585e88b1a074a90 | [
"Apache-2.0"
] | null | null | null | services/customerdb/client/reseller_management/get_reseller_responses.go | Cyclops-Labs/cyclops-4-hpc | 0ea0435502e8908dd85294241585e88b1a074a90 | [
"Apache-2.0"
] | null | null | null | services/customerdb/client/reseller_management/get_reseller_responses.go | Cyclops-Labs/cyclops-4-hpc | 0ea0435502e8908dd85294241585e88b1a074a90 | [
"Apache-2.0"
] | null | null | null | // Code generated by go-swagger; DO NOT EDIT.
package reseller_management
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"fmt"
"io"
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/Cyclops-... | 27.412162 | 146 | 0.754991 |
9bb78e5dd56c4ecf3e874bf0e8eae7acb49eac3f | 6,162 | js | JavaScript | test/exists.spec.js | lykmapipo/mongoose-exists | 49524ec0aa66421fa7930d398306a12d25e43d4d | [
"MIT"
] | 9 | 2017-07-06T14:29:19.000Z | 2020-07-17T08:17:26.000Z | test/exists.spec.js | lykmapipo/mongoose-exists | 49524ec0aa66421fa7930d398306a12d25e43d4d | [
"MIT"
] | 15 | 2018-05-03T13:49:31.000Z | 2021-11-12T04:56:55.000Z | test/exists.spec.js | lykmapipo/mongoose-exists | 49524ec0aa66421fa7930d398306a12d25e43d4d | [
"MIT"
] | 3 | 2018-03-31T13:46:44.000Z | 2019-04-27T10:23:53.000Z | import _ from 'lodash';
import { Schema, ObjectId } from '@lykmapipo/mongoose-common';
import {
create,
clear,
expect,
faker,
createTestModel,
} from '@lykmapipo/mongoose-test-helpers';
import exists from '../src';
const Friend = new Schema({
type: { type: String },
person: { type: ObjectId, ref: 'Person... | 28.929577 | 87 | 0.588121 |
8f301c88652762ed60ac49fe9d21355622830a68 | 1,748 | swift | Swift | recoveryservicessiterecovery/resource-manager/Sources/recoveryservicessiterecovery/protocols/HyperVReplicaAzureReplicationDetailsProtocol.swift | Azure/azure-libraries-for-swift | b7321f3c719c381894e3ee96c5808dbcc97629d7 | [
"MIT"
] | 9 | 2018-03-13T00:10:01.000Z | 2021-02-04T16:16:48.000Z | recoveryservicessiterecovery/resource-manager/Sources/recoveryservicessiterecovery/protocols/HyperVReplicaAzureReplicationDetailsProtocol.swift | Azure/azure-libraries-for-swift | b7321f3c719c381894e3ee96c5808dbcc97629d7 | [
"MIT"
] | 1 | 2018-03-31T05:08:07.000Z | 2018-04-09T19:54:43.000Z | recoveryservicessiterecovery/resource-manager/Sources/recoveryservicessiterecovery/protocols/HyperVReplicaAzureReplicationDetailsProtocol.swift | Azure/azure-libraries-for-swift | b7321f3c719c381894e3ee96c5808dbcc97629d7 | [
"MIT"
] | 5 | 2018-03-13T00:27:36.000Z | 2021-01-10T11:17:48.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
import Foundation
// HyperVReplicaAzureReplicationDetailsProtocol is hyper V Replica Azure prov... | 52.969697 | 109 | 0.715103 |
3edbb803daa05c8e3e68569e04d9276b6fe888ce | 13,668 | c | C | drivers/net/wireless/bcmdhd_1_77/wl_roam.c | CaelestisZ/HeraQ | 2804afc99bf59c43740038833077ef7b14993592 | [
"MIT"
] | null | null | null | drivers/net/wireless/bcmdhd_1_77/wl_roam.c | CaelestisZ/HeraQ | 2804afc99bf59c43740038833077ef7b14993592 | [
"MIT"
] | null | null | null | drivers/net/wireless/bcmdhd_1_77/wl_roam.c | CaelestisZ/HeraQ | 2804afc99bf59c43740038833077ef7b14993592 | [
"MIT"
] | null | null | null | /*
* Linux roam cache
*
* Copyright (C) 1999-2018, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to you
* under the terms of the GNU General Public License version 2 (the "GPL"),
* availabl... | 27.227092 | 93 | 0.688396 |
b1776641aca067963e62a6c27628ae3d50aaa47d | 397 | kt | Kotlin | src/test/kotlin/ch/veehait/devicecheck/appattest/KotestConfig.kt | veehaitch/devicecheck-appattest | 6c0cdadc5e381e46eb19fc1692062b0289d81315 | [
"Apache-2.0"
] | 40 | 2020-09-19T13:10:07.000Z | 2022-03-22T08:13:55.000Z | src/test/kotlin/ch/veehait/devicecheck/appattest/KotestConfig.kt | veehaitch/devicecheck-appattest | 6c0cdadc5e381e46eb19fc1692062b0289d81315 | [
"Apache-2.0"
] | 18 | 2021-04-24T20:27:53.000Z | 2022-01-04T15:30:20.000Z | src/test/kotlin/ch/veehait/devicecheck/appattest/KotestConfig.kt | veehaitch/devicecheck-appattest | 6c0cdadc5e381e46eb19fc1692062b0289d81315 | [
"Apache-2.0"
] | 5 | 2021-07-12T15:07:57.000Z | 2021-12-15T14:53:54.000Z | package ch.veehait.devicecheck.appattest
import io.kotest.core.config.AbstractProjectConfig
import org.bouncycastle.jce.provider.BouncyCastleProvider
import java.security.Security
@Suppress("unused")
object KotestConfig : AbstractProjectConfig() {
override val parallelism = Runtime.getRuntime().availableProcessor... | 26.466667 | 73 | 0.788413 |
a0a502ed87049b5420fa43c6bdf0266492e12e00 | 880 | kt | Kotlin | day21/Part2.kt | anthaas/Advent-of-Code-2020 | aba452e0f6dd207e34d17b29e2c91ee21c1f3e41 | [
"MIT"
] | null | null | null | day21/Part2.kt | anthaas/Advent-of-Code-2020 | aba452e0f6dd207e34d17b29e2c91ee21c1f3e41 | [
"MIT"
] | null | null | null | day21/Part2.kt | anthaas/Advent-of-Code-2020 | aba452e0f6dd207e34d17b29e2c91ee21c1f3e41 | [
"MIT"
] | null | null | null | import java.io.File
fun main(args: Array<String>) {
val input = File("input.txt").readLines().map {
it.split(" (contains ").let { (ingredients, allergens) ->
ingredients.split(" ") to allergens.replace(")", "").split(", ")
}
}
val translator = input.map { it.second.toSet() }.re... | 41.904762 | 108 | 0.593182 |
39e67f9da1b3975473f115312196b8e15a8e3d0a | 1,448 | java | Java | src/main/java/com/emarte/regurgitator/extensions/FreemarkerBuilderJsonLoader.java | talmeym/regurgitator-extensions-json | 223eef09f472c61771ca3b1db4dd5adb33138819 | [
"MIT"
] | null | null | null | src/main/java/com/emarte/regurgitator/extensions/FreemarkerBuilderJsonLoader.java | talmeym/regurgitator-extensions-json | 223eef09f472c61771ca3b1db4dd5adb33138819 | [
"MIT"
] | null | null | null | src/main/java/com/emarte/regurgitator/extensions/FreemarkerBuilderJsonLoader.java | talmeym/regurgitator-extensions-json | 223eef09f472c61771ca3b1db4dd5adb33138819 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2017 Miles Talmey.
* Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
*/
package com.emarte.regurgitator.extensions;
import com.emarte.regurgitator.core.JsonLoader;
import com.emarte.regurgitator.core.Log;
import com.emarte.regurgitator.core.Regurgitato... | 43.878788 | 110 | 0.800414 |
458987d6a1ce6569b3c98abedfb75af4c5241eed | 620 | kt | Kotlin | src/main/kotlin/net/lomeli/minewell/potion/PotionSkyTouch.kt | Lomeli12/Minewell | 4378a86bba82ac8772dd9bbc7c28f3964a964630 | [
"MIT"
] | null | null | null | src/main/kotlin/net/lomeli/minewell/potion/PotionSkyTouch.kt | Lomeli12/Minewell | 4378a86bba82ac8772dd9bbc7c28f3964a964630 | [
"MIT"
] | null | null | null | src/main/kotlin/net/lomeli/minewell/potion/PotionSkyTouch.kt | Lomeli12/Minewell | 4378a86bba82ac8772dd9bbc7c28f3964a964630 | [
"MIT"
] | null | null | null | package net.lomeli.minewell.potion
import net.lomeli.minewell.Minewell
import net.minecraft.entity.EntityLivingBase
class PotionSkyTouch : PotionBase(false, 0x630063) {
init {
setIconIndex(0, 0)
setPotionName("potion.${Minewell.MOD_ID}.sky_touch")
setRegName("sky_touch")
}
overri... | 31 | 86 | 0.732258 |
16a11e0a7b5644bcf363fc603d3beace6628eee0 | 818 | ts | TypeScript | packages/site-api/__test__/util/snapshot.ts | guanghechen/static-site-api | 654fb7bc8dffd21a0c44816625638559b9f84b74 | [
"MIT"
] | null | null | null | packages/site-api/__test__/util/snapshot.ts | guanghechen/static-site-api | 654fb7bc8dffd21a0c44816625638559b9f84b74 | [
"MIT"
] | null | null | null | packages/site-api/__test__/util/snapshot.ts | guanghechen/static-site-api | 654fb7bc8dffd21a0c44816625638559b9f84b74 | [
"MIT"
] | null | null | null | import path from 'path'
import stripAnsi from 'strip-ansi'
const WORKSPACE_ROOT_DIR = path.resolve(__dirname, '../..')
/**
*
* @param key
* @param value
*/
export const assetDataReplacer = (
key: string,
value: unknown,
): unknown | undefined => {
if (['createAt', 'lastModifiedTime', 'updateAt'].includes(ke... | 22.722222 | 67 | 0.655257 |
b7666a2d4c5613636e8a9b713548b3ebbf5be5e2 | 7,665 | swift | Swift | Classes/LuTopAlertView.swift | RamboLouis/LuKit | b84afd85d2cd10b71a4390aecbe9158d902cd60a | [
"MIT"
] | null | null | null | Classes/LuTopAlertView.swift | RamboLouis/LuKit | b84afd85d2cd10b71a4390aecbe9158d902cd60a | [
"MIT"
] | null | null | null | Classes/LuTopAlertView.swift | RamboLouis/LuKit | b84afd85d2cd10b71a4390aecbe9158d902cd60a | [
"MIT"
] | null | null | null | //
// LuTopAlertView.swift
// LuDemo
//
// Created by 路政浩 on 2017/3/23.
// Copyright © 2017年 RamboLu. All rights reserved.
//
import UIKit
let SCREENW = UIScreen.main.bounds.width
let SCREENH = UIScreen.main.bounds.height
let SCREEN_SCALE_WIDTH = UIScreen.main.bound... | 37.758621 | 174 | 0.649315 |
39f8fddaf3eb234edf04c9e4071079b044803f7c | 3,053 | swift | Swift | tests/box_convert2abq.swift | parallelworks/welding | eb1fe04e9f1be1d374782f7476767dcf2197fe36 | [
"MIT"
] | null | null | null | tests/box_convert2abq.swift | parallelworks/welding | eb1fe04e9f1be1d374782f7476767dcf2197fe36 | [
"MIT"
] | null | null | null | tests/box_convert2abq.swift | parallelworks/welding | eb1fe04e9f1be1d374782f7476767dcf2197fe36 | [
"MIT"
] | null | null | null | import "stdlib.v2";
type file;
# ------ INPUT / OUTPUT DEFINITIONS -------#
string geomFileName = arg("geomFile", "box.step");
string meshFileName = arg("meshFile", "box_mesh");
string simParamsFileName = arg("simParamsFile", "boxSimFile");
string sweepParamsFileName = arg("sweepParamFile", "sweepParams.run");
file... | 39.649351 | 118 | 0.700622 |
cb636f070c49662252a2d93d33e2ab7fb769d34b | 2,405 | go | Go | core/peer/msp/mgmt.go | memoutng/BlockchainTesteo | d40e10cb07ae76b823785690ee01767d86469b00 | [
"Apache-2.0"
] | null | null | null | core/peer/msp/mgmt.go | memoutng/BlockchainTesteo | d40e10cb07ae76b823785690ee01767d86469b00 | [
"Apache-2.0"
] | null | null | null | core/peer/msp/mgmt.go | memoutng/BlockchainTesteo | d40e10cb07ae76b823785690ee01767d86469b00 | [
"Apache-2.0"
] | null | null | null | /*
Copyright IBM Corp. 2017 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 agreed to in wri... | 24.292929 | 76 | 0.731393 |
4ab8ec4e885cdfb1ae6bcd0d834d62d7359cdcba | 294 | swift | Swift | FlickrSlideShow/Classes/Services/NetworkProvider.swift | hsleedevelop/FlickrSlideShowDemo | e88e092577551cc75414e1c0a8b33f8c83879f4f | [
"MIT"
] | null | null | null | FlickrSlideShow/Classes/Services/NetworkProvider.swift | hsleedevelop/FlickrSlideShowDemo | e88e092577551cc75414e1c0a8b33f8c83879f4f | [
"MIT"
] | null | null | null | FlickrSlideShow/Classes/Services/NetworkProvider.swift | hsleedevelop/FlickrSlideShowDemo | e88e092577551cc75414e1c0a8b33f8c83879f4f | [
"MIT"
] | null | null | null | //
// NetworkProvider.swift
// FlickrSlideShow
//
// Created by HS Lee on 01/05/2019.
// Copyright © 2019 HS Lee. All rights reserved.
//
import Foundation
///API 프로바이더 관리 목적
final class NetworkProvider {
static let shared = NetworkProvider()
let flickr = FlickrProvider()
}
| 17.294118 | 49 | 0.680272 |
12d0c7c50ce364bef988c1a79252d13aeede67f8 | 398 | swift | Swift | Pods/Loggie/Loggie/Classes/Utility/URLSessionConfiguration+Loggie.swift | Anteo95/iOS-Nuts-And-Bolts | dc8412e1fb60cbfde06c06026c5f15d1d56c4296 | [
"MIT"
] | 185 | 2019-10-07T18:06:43.000Z | 2022-03-30T23:12:22.000Z | Pods/Loggie/Loggie/Classes/Utility/URLSessionConfiguration+Loggie.swift | Anteo95/iOS-Nuts-And-Bolts | dc8412e1fb60cbfde06c06026c5f15d1d56c4296 | [
"MIT"
] | 9 | 2017-03-27T17:47:18.000Z | 2022-03-08T10:57:21.000Z | Pods/Loggie/Loggie/Classes/Utility/URLSessionConfiguration+Loggie.swift | Anteo95/iOS-Nuts-And-Bolts | dc8412e1fb60cbfde06c06026c5f15d1d56c4296 | [
"MIT"
] | 12 | 2019-10-10T20:12:19.000Z | 2021-11-10T17:28:12.000Z | //
// Loggie.swift
// Pods
//
// Created by Filip Bec on 14/03/2017.
//
//
import UIKit
public extension URLSessionConfiguration {
@objc(loggieSessionConfiguration)
static var loggie: URLSessionConfiguration {
let configuration = URLSessionConfiguration.default
configuration.protocolClasse... | 19.9 | 76 | 0.708543 |
6bae85cb6a9e2b5bffcc3808552ffcebbde8db5a | 470 | swift | Swift | Sources/MovieDB/Media/TV/Season/SeasonData.swift | JCofman/tmdb | bca1233a70cd2b615e769ab70139eda7d3cecb71 | [
"MIT"
] | 16 | 2020-04-03T05:39:47.000Z | 2021-12-10T11:26:33.000Z | Sources/MovieDB/Media/TV/Season/SeasonData.swift | JCofman/tmdb | bca1233a70cd2b615e769ab70139eda7d3cecb71 | [
"MIT"
] | 8 | 2020-12-07T19:10:46.000Z | 2022-01-02T21:48:09.000Z | Sources/MovieDB/Media/TV/Season/SeasonData.swift | JCofman/tmdb | bca1233a70cd2b615e769ab70139eda7d3cecb71 | [
"MIT"
] | 1 | 2020-11-13T08:53:33.000Z | 2020-11-13T08:53:33.000Z |
import Foundation
import GraphZahl
import ContextKit
import NIO
class SeasonData: Decodable, GraphQLObject {
let airDate: OptionalDate?
let id: Int
let name: String
let overview: String?
let poster: Image<PosterSize>?
let seasonNumber: Int
private enum CodingKeys: String, CodingKey {
... | 21.363636 | 48 | 0.676596 |
2f4119be2b5c29ff0a1583c0cd60a2ea5084b318 | 2,423 | php | PHP | src/CMSBundle/Entity/HotelAcc.php | kamoun/etourisme | a9772c945cfc64cc5c8090f851c2cbee4730248f | [
"MIT"
] | null | null | null | src/CMSBundle/Entity/HotelAcc.php | kamoun/etourisme | a9772c945cfc64cc5c8090f851c2cbee4730248f | [
"MIT"
] | null | null | null | src/CMSBundle/Entity/HotelAcc.php | kamoun/etourisme | a9772c945cfc64cc5c8090f851c2cbee4730248f | [
"MIT"
] | null | null | null | <?php
namespace CMSBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* HotelAcc
*
* @ORM\Table(name="hotelacc")
* @ORM\Entity(repositoryClass="CMSBundle\Repository\HotelAccRepository")
*/
class HotelAcc
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\G... | 15.14375 | 75 | 0.47792 |
7f6fd929fe43fee99cb914b87b5d45cf0094ad10 | 1,032 | go | Go | internal/pkg/archer/workspace.go | gitter-badger/amazon-ecs-cli-v2 | ec3efdaf5b11977cfe7d37e085351ea175bcb525 | [
"Apache-2.0"
] | 2 | 2020-02-06T15:21:29.000Z | 2020-06-08T16:35:19.000Z | internal/pkg/archer/workspace.go | datadotworld/amazon-ecs-cli-v2 | 14bf9cf87dcf534cb0945b26fb449135b8cf99d8 | [
"Apache-2.0"
] | 139 | 2019-12-16T02:38:55.000Z | 2021-08-02T02:43:45.000Z | internal/pkg/archer/workspace.go | datadotworld/amazon-ecs-cli-v2 | 14bf9cf87dcf534cb0945b26fb449135b8cf99d8 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package archer
// WorkspaceSummary is a description of what's associated with this workspace.
type WorkspaceSummary struct {
ProjectName string `yaml:"project"`
}
// Workspace can bootstrap a workspace ... | 31.272727 | 110 | 0.780039 |
2694e893395eb5fb2e7ec7d00774dfdf8c965352 | 2,315 | java | Java | src/main/java/com/amazon/opendistroforelasticsearch/ad/ml/ThresholdingResult.java | weicongs-amazon/anomaly-detection | 48ac4f78fdea29cd3a8ba6797eb37e6882f679be | [
"Apache-2.0"
] | 82 | 2019-11-26T22:55:03.000Z | 2022-01-20T12:44:10.000Z | src/main/java/com/amazon/opendistroforelasticsearch/ad/ml/ThresholdingResult.java | weicongs-amazon/anomaly-detection | 48ac4f78fdea29cd3a8ba6797eb37e6882f679be | [
"Apache-2.0"
] | 284 | 2019-12-03T18:59:27.000Z | 2022-03-25T20:50:26.000Z | src/main/java/com/amazon/opendistroforelasticsearch/ad/ml/ThresholdingResult.java | weicongs-amazon/anomaly-detection | 48ac4f78fdea29cd3a8ba6797eb37e6882f679be | [
"Apache-2.0"
] | 41 | 2019-12-03T18:46:10.000Z | 2022-03-28T15:49:30.000Z | /*
* Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in ... | 27.891566 | 81 | 0.64838 |
f0fa60fe6b260f4517c86f0883c1e46a33ae1bbe | 886 | sql | SQL | custom/icds_reports/migrations/sql_templates/update_tables21.sql | rochakchauhan/commcare-hq | aa7ab3c2d0c51fe10f2b51b08101bb4b5a376236 | [
"BSD-3-Clause"
] | 1 | 2020-05-05T13:10:01.000Z | 2020-05-05T13:10:01.000Z | custom/icds_reports/migrations/sql_templates/update_tables21.sql | rochakchauhan/commcare-hq | aa7ab3c2d0c51fe10f2b51b08101bb4b5a376236 | [
"BSD-3-Clause"
] | 1 | 2021-06-02T04:45:16.000Z | 2021-06-02T04:45:16.000Z | custom/icds_reports/migrations/sql_templates/update_tables21.sql | rochakchauhan/commcare-hq | aa7ab3c2d0c51fe10f2b51b08101bb4b5a376236 | [
"BSD-3-Clause"
] | 5 | 2015-11-30T13:12:45.000Z | 2019-07-01T19:27:07.000Z | ALTER TABLE child_health_monthly ADD COLUMN zscore_grading_hfa smallint;
ALTER TABLE child_health_monthly ADD COLUMN zscore_grading_hfa_recorded_in_month smallint;
ALTER TABLE child_health_monthly ADD COLUMN zscore_grading_wfh smallint;
ALTER TABLE child_health_monthly ADD COLUMN zscore_grading_wfh_recorded_in_month sm... | 68.153846 | 90 | 0.891648 |
ad2f0a27a212f67d351beb9b003e05aa6a6c588e | 1,833 | swift | Swift | Tests/ModelTests/EvidenceVariableTests.swift | mariusom/Swift-FHIR | 96afcb7b5dfcad33a75857d4e081098089e481ef | [
"Apache-2.0"
] | null | null | null | Tests/ModelTests/EvidenceVariableTests.swift | mariusom/Swift-FHIR | 96afcb7b5dfcad33a75857d4e081098089e481ef | [
"Apache-2.0"
] | null | null | null | Tests/ModelTests/EvidenceVariableTests.swift | mariusom/Swift-FHIR | 96afcb7b5dfcad33a75857d4e081098089e481ef | [
"Apache-2.0"
] | null | null | null | //
// EvidenceVariableTests.swift
// SwiftFHIR
//
// Generated from FHIR 4.0.1-9346c8cc45 on 2019-11-19.
// 2019, SMART Health IT.
//
import XCTest
#if !NO_MODEL_IMPORT
import Models
typealias SwiftFHIREvidenceVariable = Models.EvidenceVariable
#else
import SwiftFHIR
typealias SwiftFHIREvidenceVariable = SwiftFHIR... | 33.327273 | 126 | 0.75341 |
90d5b40949b70e1cee69eb5a88184ce2de96aaca | 5,324 | py | Python | tests/test_testing.py | RioAtHome/falcon | edd9352e630dbbb6272370281fc5fa6d792df057 | [
"Apache-2.0"
] | null | null | null | tests/test_testing.py | RioAtHome/falcon | edd9352e630dbbb6272370281fc5fa6d792df057 | [
"Apache-2.0"
] | null | null | null | tests/test_testing.py | RioAtHome/falcon | edd9352e630dbbb6272370281fc5fa6d792df057 | [
"Apache-2.0"
] | null | null | null | import pytest
import falcon
from falcon import App, status_codes, testing
from _util import create_app # NOQA: I100
class CustomCookies:
def items(self):
return [('foo', 'bar'), ('baz', 'foo')]
def another_dummy_wsgi_app(environ, start_response):
start_response(status_codes.HTTP_OK, [('Content-Ty... | 27.585492 | 85 | 0.6358 |
6b0034421d9283ccefe66ebb88983f8adc31a3b0 | 221 | sql | SQL | database/dbchangelog_005.sql | dwp/ClaimCapture | 95a19496d20923e04e80d5a766cf5fba112fcbd9 | [
"MIT"
] | 2 | 2015-11-26T15:31:49.000Z | 2016-10-10T12:57:17.000Z | database/dbchangelog_005.sql | Department-for-Work-and-Pensions/ClaimCapture | 95a19496d20923e04e80d5a766cf5fba112fcbd9 | [
"MIT"
] | null | null | null | database/dbchangelog_005.sql | Department-for-Work-and-Pensions/ClaimCapture | 95a19496d20923e04e80d5a766cf5fba112fcbd9 | [
"MIT"
] | 1 | 2021-04-10T22:26:05.000Z | 2021-04-10T22:26:05.000Z | --liquibase formatted sql
--changeset pwhitehead:005_1
ALTER TABLE public.transactionstatus ADD COLUMN saveforlateremail INTEGER;
--rollback ALTER TABLE public.transactionstatus DROP COLUMN IF EXISTS saveforlateremail;
| 31.571429 | 88 | 0.846154 |
ab05a65587fccc027fc17c378b0ccf39596fa6c5 | 4,810 | sql | SQL | db/procedures/PROC_CUSTOMER_PAYMENT.sql | maidulTech/ukshop | 19b86d5283ca688796dd35de510e432dea4c0e26 | [
"MIT"
] | null | null | null | db/procedures/PROC_CUSTOMER_PAYMENT.sql | maidulTech/ukshop | 19b86d5283ca688796dd35de510e432dea4c0e26 | [
"MIT"
] | null | null | null | db/procedures/PROC_CUSTOMER_PAYMENT.sql | maidulTech/ukshop | 19b86d5283ca688796dd35de510e432dea4c0e26 | [
"MIT"
] | null | null | null | CREATE PROCEDURE PROC_CUSTOMER_PAYMENT(IN_PK_NO Integer(11), IN_TYPE VarChar(20))
NO SQL
BEGIN
-- INSET A NEW ENTRY IN ACC_BANK_TXN
-- UPDATE ACC_PAYMENT_BANK_ACC BALACNE_BUFFER (INCREMENT)
-- UPDATE SLS_CUSTOMERS CUSTOMER_BALANCE_BUFFER (INCREMENT)
DECLARE VAR_ACC_CUSTOMER_PAYMENTS_PK_NO INT DE... | 45.377358 | 307 | 0.704782 |
b16becfef23ae06874654d7c2daf5f3dbface31d | 51,892 | h | C | head/sys/contrib/octeon-sdk/cvmx-l2t-defs.h | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | 91 | 2018-11-24T05:33:58.000Z | 2022-03-16T05:58:05.000Z | head/sys/contrib/octeon-sdk/cvmx-l2t-defs.h | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | 21 | 2016-08-11T09:43:43.000Z | 2017-01-29T12:52:56.000Z | head/sys/contrib/octeon-sdk/cvmx-l2t-defs.h | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | 18 | 2018-11-24T10:35:29.000Z | 2021-04-22T07:22:10.000Z | /***********************license start***************
* Copyright (c) 2003-2012 Cavium Inc. (support@cavium.com). All rights
* reserved.
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributio... | 79.833846 | 114 | 0.393953 |
1e4fbd711187ef389f5f555798a3bfb8beb74425 | 3,320 | css | CSS | resources/assets/css/small.css | lcmjr/clinica-personnalite | 0c3a589dcbf967603ee4385c480f47dd9fb662a5 | [
"MIT"
] | 1 | 2016-11-04T16:09:28.000Z | 2016-11-04T16:09:28.000Z | resources/assets/css/small.css | lcmjr/clinica-personnalite | 0c3a589dcbf967603ee4385c480f47dd9fb662a5 | [
"MIT"
] | null | null | null | resources/assets/css/small.css | lcmjr/clinica-personnalite | 0c3a589dcbf967603ee4385c480f47dd9fb662a5 | [
"MIT"
] | null | null | null | body{
margin:0;
font:16px/1.2 'Raleway', sans-serif;
color: #414042;
}
a {
color: #414042;
}
a:hover {
color: #6C1E3E;
}
b{
font-weight: 500;
}
h1{
font-size: 30px;
}
h2{
font-size: 23px;
}
h3{
font-size: 18px;
font-weight: 500;
}
h1, h2{
font-weight: 400;
}
.clear{
clear... | 19.529412 | 222 | 0.636747 |
1659f994a4a2409a7ce04e65bbacc554e55b0b69 | 745 | ts | TypeScript | src/redux/Events/hooks/useFetchUserParticipateEvents.ts | EnMarche/Coalitions | e638383b9f81ac7da6d50993589f8523cab50d71 | [
"Apache-2.0"
] | 3 | 2021-04-03T20:15:29.000Z | 2021-09-20T16:18:11.000Z | src/redux/Events/hooks/useFetchUserParticipateEvents.ts | EnMarche/Coalitions | e638383b9f81ac7da6d50993589f8523cab50d71 | [
"Apache-2.0"
] | 54 | 2021-02-22T17:45:48.000Z | 2022-03-30T19:17:19.000Z | src/redux/Events/hooks/useFetchUserParticipateEvents.ts | EnMarche/Coalitions | e638383b9f81ac7da6d50993589f8523cab50d71 | [
"Apache-2.0"
] | 2 | 2021-03-26T14:40:23.000Z | 2021-09-20T16:18:04.000Z | import { isUserLogged } from 'redux/Login';
import useSelector from 'redux/useSelector';
import { useTypedAsyncFn } from 'redux/useTypedAsyncFn';
import { authenticatedApiClient } from 'services/networking/client';
export const useFetchUserParticipateEvents = () => {
const isUserLoggedIn = Boolean(useSelector(isUser... | 29.8 | 84 | 0.665772 |
83e8e891cb7c97aedebb582961cc670c49cb3665 | 773 | go | Go | testcases/testcases_test.go | Blockdaemon/metadata-registry-tools | dc511b52494fd8678c562f0cbbc0a4045b9323ec | [
"Apache-2.0"
] | null | null | null | testcases/testcases_test.go | Blockdaemon/metadata-registry-tools | dc511b52494fd8678c562f0cbbc0a4045b9323ec | [
"Apache-2.0"
] | 95 | 2020-09-24T08:31:27.000Z | 2022-03-29T07:06:17.000Z | testcases/testcases_test.go | Blockdaemon/metadata-registry-tools | dc511b52494fd8678c562f0cbbc0a4045b9323ec | [
"Apache-2.0"
] | 7 | 2020-10-13T15:13:38.000Z | 2021-11-26T16:08:48.000Z | package testcases
import (
"testing"
"github.com/stretchr/testify/require"
)
func entityMetadataValidateBasic(require *require.Assertions, tc EntityMetadataTestCase) {
err := tc.EntityMeta.ValidateBasic()
switch tc.Valid {
case true:
require.NoError(err, "ValidateBasic should not fail on %s", tc.Name)
case f... | 22.735294 | 90 | 0.754204 |
58612d9e1ca8317bc5ca858e3c02c140493c1c35 | 382 | kt | Kotlin | src/main/kotlin/com/example/happybaby/dao/CatergoryDao.kt | feilongjiang/babyappadmin | 22d344089fffc9c724c894709a7ff6c3c9ff5660 | [
"MIT"
] | null | null | null | src/main/kotlin/com/example/happybaby/dao/CatergoryDao.kt | feilongjiang/babyappadmin | 22d344089fffc9c724c894709a7ff6c3c9ff5660 | [
"MIT"
] | null | null | null | src/main/kotlin/com/example/happybaby/dao/CatergoryDao.kt | feilongjiang/babyappadmin | 22d344089fffc9c724c894709a7ff6c3c9ff5660 | [
"MIT"
] | null | null | null | package com.example.happybaby.dao
import org.springframework.stereotype.Repository
import org.hibernate.SessionFactory
import com.example.happybaby.entity.Catergory;
@Repository("CatergoryDao")
open class CatergoryDao(sessionFactory: SessionFactory) :BaseDao<Catergory>(sessionFactory){
override fun getTable(): Cl... | 25.466667 | 92 | 0.793194 |
46d582a27125e6aff8d163d4a0e36799face617a | 415 | css | CSS | Site/HTMLCSS/Hotel/css/hotel.css | geovanasimaosousa/htmlbasico | 581185150945ad6d05cf8cab9cd25be71239e361 | [
"MIT"
] | null | null | null | Site/HTMLCSS/Hotel/css/hotel.css | geovanasimaosousa/htmlbasico | 581185150945ad6d05cf8cab9cd25be71239e361 | [
"MIT"
] | null | null | null | Site/HTMLCSS/Hotel/css/hotel.css | geovanasimaosousa/htmlbasico | 581185150945ad6d05cf8cab9cd25be71239e361 | [
"MIT"
] | null | null | null | a{
color:white;
}
a:hover{
color:black
}
.fundonav{
background-color:#263238;
}
.imgLogo img{
width:100px;
height:100px;
}
.imgLogo{
text-align: center
}
.linkcentro{
margin:0 auto;
}
#redes li a{
color:white;
}
ul{
list-style: none;/*retirar os marcadores da lista*/
}
#redes li... | 12.205882 | 55 | 0.616867 |
2f5911e6769606a41443dd515119f38f0c2f4817 | 1,967 | php | PHP | resources/views/mypricingtable.blade.php | Germangalia/solid_laravel | 8de4bcc6fc33449134569024c2878735936b5c52 | [
"MIT"
] | 2 | 2020-11-15T20:54:41.000Z | 2021-09-24T16:40:17.000Z | resources/views/mypricingtable.blade.php | Germangalia/solid_laravel | 8de4bcc6fc33449134569024c2878735936b5c52 | [
"MIT"
] | null | null | null | resources/views/mypricingtable.blade.php | Germangalia/solid_laravel | 8de4bcc6fc33449134569024c2878735936b5c52 | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('htmlheader_title')
My Pricing Table
@endsection
@section('main-content')
<div class="pricing pricing--sonam">
<div class="pricing__item">
<h3 class="pricing__title">Startup</h3>
<div class="pricing__price"><span class="pricing__currency">€</span>9.90</div>
<p class="pri... | 39.34 | 82 | 0.712761 |
1a8cd12284dc46f8107f6b3645ceb459e06e8698 | 736 | sql | SQL | models/stg_lever__user.sql | fivetran-chloe/dbt_lever_source | 47cb949859c4756b0f88c752f046f23e391c3dd1 | [
"Apache-2.0"
] | null | null | null | models/stg_lever__user.sql | fivetran-chloe/dbt_lever_source | 47cb949859c4756b0f88c752f046f23e391c3dd1 | [
"Apache-2.0"
] | 2 | 2021-02-28T17:08:36.000Z | 2021-03-17T02:55:20.000Z | models/stg_lever__user.sql | fivetran-chloe/dbt_lever_source | 47cb949859c4756b0f88c752f046f23e391c3dd1 | [
"Apache-2.0"
] | 3 | 2021-01-28T22:21:45.000Z | 2022-03-29T11:33:48.000Z |
with base as (
select *
from {{ ref('stg_lever__user_tmp') }}
),
fields as (
select
{{
fivetran_utils.fill_staging_columns(
source_columns=adapter.get_columns_in_relation(ref('stg_lever__user_tmp')),
staging_columns=get_user_columns()
)
... | 17.95122 | 91 | 0.588315 |
57b82cb44f583f26df5db109de2af2661a34c96c | 499 | swift | Swift | Bank/Managers/API/Responses/ErrorResponse.swift | ayisiaddo4/Bank | 2e2471677ce5a7df33528f45266f11e322a6465d | [
"MIT"
] | 2 | 2019-02-27T06:00:11.000Z | 2021-07-10T05:58:46.000Z | Bank/Managers/API/Responses/ErrorResponse.swift | jesuasir007/Bank | 2e2471677ce5a7df33528f45266f11e322a6465d | [
"MIT"
] | null | null | null | Bank/Managers/API/Responses/ErrorResponse.swift | jesuasir007/Bank | 2e2471677ce5a7df33528f45266f11e322a6465d | [
"MIT"
] | 1 | 2019-06-02T10:58:43.000Z | 2019-06-02T10:58:43.000Z | //
// ErrorResponse.swift
// Bank
//
// Created by Ayden Panhuyzen on 2017-12-02.
// Copyright © 2017 Ayden Panhuyzen. All rights reserved.
//
import Foundation
struct ErrorResponse: PlaidResponse {
let errorType: String, code: String, message: String, displayMessage: String?
enum CodingKeys: String,... | 23.761905 | 81 | 0.671343 |
40a00df064f201cb7890e1e014e3e9d43600f0d4 | 4,311 | py | Python | tutorials/model_parallelism/step_5_tp_zdp_training.py | Mehrad0711/oslo | 873d771a68bc380903947010da0b66f58f60e496 | [
"Apache-2.0"
] | null | null | null | tutorials/model_parallelism/step_5_tp_zdp_training.py | Mehrad0711/oslo | 873d771a68bc380903947010da0b66f58f60e496 | [
"Apache-2.0"
] | null | null | null | tutorials/model_parallelism/step_5_tp_zdp_training.py | Mehrad0711/oslo | 873d771a68bc380903947010da0b66f58f60e496 | [
"Apache-2.0"
] | null | null | null | """
Model parallelism tutorial step 5:
How to use the tensor + ZeRO data parallelism for training?
"""
import deepspeed
import torch
from datasets import load_dataset
from torch.utils.data import DataLoader, DistributedSampler
from transformers import AutoModelForCausalLM, AutoTokenizer
import oslo
# NOTE: This scrip... | 32.659091 | 101 | 0.660868 |
53c2f93b8311770468967ad12fdaae924c89f274 | 1,917 | java | Java | src/org/enemies/Lava.java | Koen-Moore/RangerHale | 1be000f2f808118804f314e67fc684879fc311a7 | [
"Apache-2.0"
] | null | null | null | src/org/enemies/Lava.java | Koen-Moore/RangerHale | 1be000f2f808118804f314e67fc684879fc311a7 | [
"Apache-2.0"
] | null | null | null | src/org/enemies/Lava.java | Koen-Moore/RangerHale | 1be000f2f808118804f314e67fc684879fc311a7 | [
"Apache-2.0"
] | null | null | null | package org.enemies;
import java.awt.Color;
import static java.lang.System.*;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import org.items.Health;
import org.players.Player;
import org.resources.Collisions;
import org.resources.ImagePack;
import static java.lang.Math.*;
public class Lava extends E... | 30.428571 | 125 | 0.610329 |
271c1f4d4fe4cf34288efe4870612f7b8a4cfc7e | 854 | h | C | src/render.h | VVingerfly/Toucan | 3ca3cd9c7152905ba8b75eadb110e9d2dcb0f4b1 | [
"MIT"
] | 12 | 2020-12-14T10:07:18.000Z | 2022-01-12T04:32:56.000Z | src/render.h | VVingerfly/Toucan | 3ca3cd9c7152905ba8b75eadb110e9d2dcb0f4b1 | [
"MIT"
] | 1 | 2021-06-21T12:13:06.000Z | 2021-06-21T12:13:06.000Z | src/render.h | VVingerfly/Toucan | 3ca3cd9c7152905ba8b75eadb110e9d2dcb0f4b1 | [
"MIT"
] | 1 | 2021-04-02T16:19:38.000Z | 2021-04-02T16:19:38.000Z | #pragma once
#include "internal.h"
namespace Toucan {
bool update_framebuffer_2d(Figure2D& figure_2d, Toucan::Vector2i size);
void draw_element_2d(Element2D& element_2d, const Matrix4f& model_to_world_matrix, const Matrix4f& world_to_camera_matrix, ToucanContext* context);
bool update_framebuffer_3d(Figure3D& figur... | 50.235294 | 216 | 0.816159 |
4c9b4eed62d305b1ea8224429e8a6596303986fa | 4,167 | lua | Lua | Assets/LuaScript/graphic/camera/GCamera.lua | luxiaodong/Game | b5ec2b7b3506c9b9f8cf048aee894c308c29e491 | [
"MIT"
] | 1 | 2021-07-05T05:42:47.000Z | 2021-07-05T05:42:47.000Z | Assets/LuaScript/graphic/camera/GCamera.lua | luxiaodong/Game | b5ec2b7b3506c9b9f8cf048aee894c308c29e491 | [
"MIT"
] | 3 | 2021-08-09T02:50:00.000Z | 2021-08-09T05:48:26.000Z | Assets/LuaScript/graphic/camera/GCamera.lua | luxiaodong/Game | b5ec2b7b3506c9b9f8cf048aee894c308c29e491 | [
"MIT"
] | null | null | null | local GObject = require("graphic.core.GObject")
local GCamera = class("GCamera", GObject)
-- ui相机用Gamma空间, 场景相机用Linear空间是否可行
function GCamera:ctor()
self._testInstanceId = nil
self._type = nil -- 相机类型 enum.camera.ui or enum.camera.main
self._material = nil -- 后处理所用的材质
self._camera = nil -- 相机组件, se... | 28.541096 | 110 | 0.715143 |
9d281d72072b5c6565b48a3f40fc2b08a715b77a | 4,726 | htm | HTML | _data/Vol12_Ch0501-0588/HRS0514B/HRS_0514B-0153.htm | bronsonavila/hrsscraper | ecbb1048ab284af361fae78adb481eff554b067a | [
"MIT"
] | 1 | 2019-02-22T10:35:29.000Z | 2019-02-22T10:35:29.000Z | _data/Vol12_Ch0501-0588/HRS0514B/HRS_0514B-0153.htm | bronsonavila/hrsscraper | ecbb1048ab284af361fae78adb481eff554b067a | [
"MIT"
] | null | null | null | _data/Vol12_Ch0501-0588/HRS0514B/HRS_0514B-0153.htm | bronsonavila/hrsscraper | ecbb1048ab284af361fae78adb481eff554b067a | [
"MIT"
] | null | null | null | <div class="WordSection1">
<p class="RegularParagraphs"><b><span style="layout-grid-mode:line"> §514B-153 Association records; records to be maintained.</span></b><span style="layout-grid-mode:line"> (a) An accurate copy of the declaration, bylaws, house rules, if any, master lease, if any, a sample original conveyance... | 295.375 | 718 | 0.781634 |
40c08275e15f612812944c4fabec4db0b61dac4c | 3,231 | py | Python | tests/module/module_formatdetect_test.py | codacy-badger/graphit | 7fcfed114875466179ed3d4848dd9098fa3e60fb | [
"Apache-2.0"
] | null | null | null | tests/module/module_formatdetect_test.py | codacy-badger/graphit | 7fcfed114875466179ed3d4848dd9098fa3e60fb | [
"Apache-2.0"
] | null | null | null | tests/module/module_formatdetect_test.py | codacy-badger/graphit | 7fcfed114875466179ed3d4848dd9098fa3e60fb | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
file: module_formatdetect_test.py
Unit tests for the FormatDetect class
"""
import sys
import unittest
from unittest_baseclass import UnittestPythonCompatibility
from graphit.graph_io.io_helpers import FormatDetect
MAJOR_PY_VERSION = sys.version_info[0]
class TestFormatDetect(Unittest... | 29.642202 | 112 | 0.564841 |
b3c3ea1e61d85b07117c4764756c0d7825651385 | 180 | lua | Lua | __resource.lua | undergroundrp/ugrp-uptime | e0e72c1493b007b255ddeaa84f411dcbc205ecd8 | [
"Unlicense"
] | null | null | null | __resource.lua | undergroundrp/ugrp-uptime | e0e72c1493b007b255ddeaa84f411dcbc205ecd8 | [
"Unlicense"
] | null | null | null | __resource.lua | undergroundrp/ugrp-uptime | e0e72c1493b007b255ddeaa84f411dcbc205ecd8 | [
"Unlicense"
] | 1 | 2019-12-15T16:16:31.000Z | 2019-12-15T16:16:31.000Z | resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'
description 'Display server uptime on the FiveM server browser'
version '1.0.0'
server_script 'server/main.lua'
| 22.5 | 64 | 0.811111 |
15a11114b6dd2efcfc41f409e969224e030d51eb | 149 | jbuilder | Ruby | app/views/attendances/_attendance.json.jbuilder | elberthcorniell/private-events | 95d8f07f4b57ca8a8e2bf464daba8bb2ca61c392 | [
"MIT"
] | 2 | 2021-01-03T17:11:14.000Z | 2021-01-15T19:26:24.000Z | app/views/attendances/_attendance.json.jbuilder | elberthcorniell/private-events | 95d8f07f4b57ca8a8e2bf464daba8bb2ca61c392 | [
"MIT"
] | 1 | 2020-12-10T00:26:22.000Z | 2020-12-10T00:26:22.000Z | app/views/attendances/_attendance.json.jbuilder | elberthcorniell/private-events | 95d8f07f4b57ca8a8e2bf464daba8bb2ca61c392 | [
"MIT"
] | null | null | null | json.extract! attandance, :id, :attendee_id, :users, :attended_event_id, :created_at, :updated_at
json.url attandance_url(attandance, format: :json)
| 49.666667 | 97 | 0.785235 |
3b52883f2b7b2d6c2c1ca910bde5a6d3427267f6 | 794 | h | C | src/main/c/include/obp2_cesmi.h | plug-obp/obp2-divine | a8ae9027ddedc22cc446597bc8671ff60d4ea992 | [
"MIT"
] | null | null | null | src/main/c/include/obp2_cesmi.h | plug-obp/obp2-divine | a8ae9027ddedc22cc446597bc8671ff60d4ea992 | [
"MIT"
] | null | null | null | src/main/c/include/obp2_cesmi.h | plug-obp/obp2-divine | a8ae9027ddedc22cc446597bc8671ff60d4ea992 | [
"MIT"
] | null | null | null | //
// Created by Ciprian TEODOROV on 22/12/2021.
//
#ifndef C_OBP2_CESMI_H
#define C_OBP2_CESMI_H
#include "obp2_cesmi_loader.h"
struct obp2_cesmi_context_s {
cesmi_library_t* m_library;
cesmi_setup m_setup;
};
typedef struct obp2_cesmi_context_s obp2_cesmi_context_t;
obp2_cesmi_context_t* obp2_cesmi_c... | 31.76 | 117 | 0.823678 |
f006fbe45b51ef1385646726c0bcb4e13e4e3fe2 | 974 | kt | Kotlin | app/src/main/java/com/urmwsk/core/android/BaseFragmentActivity.kt | usura-software-industries/ShoppingListExample | 79cbb81242836fc6d8a174429a96291a4fef7579 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/urmwsk/core/android/BaseFragmentActivity.kt | usura-software-industries/ShoppingListExample | 79cbb81242836fc6d8a174429a96291a4fef7579 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/urmwsk/core/android/BaseFragmentActivity.kt | usura-software-industries/ShoppingListExample | 79cbb81242836fc6d8a174429a96291a4fef7579 | [
"Apache-2.0"
] | null | null | null | package com.urmwsk.core.android
import android.os.Bundle
import android.support.v4.app.Fragment
import com.urmwsk.core.R
abstract class BaseFragmentActivity : BaseActivity() {
private val fragmentKey = "fragmentKey"
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceSta... | 32.466667 | 122 | 0.714579 |
31eba9042d99c25fd75049289fa9856b7c60ce0a | 2,731 | lua | Lua | resources/[PSZMTA]/[obiekty]/psz-burdel/burdel.lua | XJMLN/Project | 123cf0313acdcf0c45fa878fe9d6c988a5d012b2 | [
"MIT"
] | 7 | 2017-09-05T20:18:07.000Z | 2020-05-10T09:57:22.000Z | resources/[PSZMTA]/[obiekty]/psz-burdel/burdel.lua | XJMLN/Project | 123cf0313acdcf0c45fa878fe9d6c988a5d012b2 | [
"MIT"
] | null | null | null | resources/[PSZMTA]/[obiekty]/psz-burdel/burdel.lua | XJMLN/Project | 123cf0313acdcf0c45fa878fe9d6c988a5d012b2 | [
"MIT"
] | 2 | 2019-09-30T18:07:51.000Z | 2020-02-16T17:00:24.000Z | local marker = createMarker(2410.87,-1205.33,2000,"cylinder",1,255,0,0,100)
setElementInterior(marker,2)
setElementDimension(marker,6)
local zajete = false
local skiny_dziwek = { 63, 64, 87, 92, 138, 140, 145, 178, 199 }
function burdelAkcja(plr, matchingDimension)
if (not matchingDimension) then return end
if... | 37.410959 | 95 | 0.635665 |
2647fb750b67b74686719436e5d36fafdc30f75a | 1,543 | java | Java | live/src/main/java/com/sky/live/cam/cams/CameraInterface.java | SkyZhang007/Sky-Base | aba207f335e4577bbe52b9c6ef9f3ee3590da811 | [
"Apache-2.0"
] | null | null | null | live/src/main/java/com/sky/live/cam/cams/CameraInterface.java | SkyZhang007/Sky-Base | aba207f335e4577bbe52b9c6ef9f3ee3590da811 | [
"Apache-2.0"
] | null | null | null | live/src/main/java/com/sky/live/cam/cams/CameraInterface.java | SkyZhang007/Sky-Base | aba207f335e4577bbe52b9c6ef9f3ee3590da811 | [
"Apache-2.0"
] | null | null | null | package com.sky.live.cam.cams;
import android.content.Context;
import android.graphics.SurfaceTexture;
import android.hardware.Camera;
import android.view.SurfaceView;
import android.view.View;
import java.util.List;
public interface CameraInterface {
int CAMERA_BACK = Camera.CameraInfo.CAMERA_FACING_BACK;
... | 23.738462 | 74 | 0.714193 |
6e0786bb84133e06369d98b8adbe38069361ef34 | 14,837 | html | HTML | index.html | BurlingtonCodeAcademy/remock-CoffeeScript1 | 5e883bb7a1174745dab569f42d8eeae6bec03088 | [
"CC-BY-3.0"
] | null | null | null | index.html | BurlingtonCodeAcademy/remock-CoffeeScript1 | 5e883bb7a1174745dab569f42d8eeae6bec03088 | [
"CC-BY-3.0"
] | null | null | null | index.html | BurlingtonCodeAcademy/remock-CoffeeScript1 | 5e883bb7a1174745dab569f42d8eeae6bec03088 | [
"CC-BY-3.0"
] | 1 | 2020-11-06T23:06:12.000Z | 2020-11-06T23:06:12.000Z | <!DOCTYPE html>
<html>
<head>
<title>Mockup Home</title>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, user-scalable=no"
/>
<link rel="stylesheet" type="text/css" href="./remockstyle.css" />
<style>
@import url("https:... | 43.005797 | 118 | 0.564265 |
641ff2b0a406ef4469d0c1bd5d2ac35c2c3a80d6 | 966 | kt | Kotlin | api/src/main/kotlin/hr/from/josipantolis/seriouscallersonly/api/Blocks.kt | Antolius/serious-callers-only | 49bca9f3edb7d386fae77a6404babc6ace18a87f | [
"MIT"
] | 4 | 2020-04-21T07:18:17.000Z | 2020-07-15T06:40:16.000Z | api/src/main/kotlin/hr/from/josipantolis/seriouscallersonly/api/Blocks.kt | Antolius/serious-callers-only | 49bca9f3edb7d386fae77a6404babc6ace18a87f | [
"MIT"
] | null | null | null | api/src/main/kotlin/hr/from/josipantolis/seriouscallersonly/api/Blocks.kt | Antolius/serious-callers-only | 49bca9f3edb7d386fae77a6404babc6ace18a87f | [
"MIT"
] | null | null | null | package hr.from.josipantolis.seriouscallersonly.api
import java.net.URL
interface MessageBlock
interface ModalBlock
interface HomeTabBlock
interface UniversalBlock : MessageBlock, ModalBlock, HomeTabBlock
sealed class Block {
class Actions(val elements: List<ActionElement>) : Block(), UniversalBlock
class Co... | 26.833333 | 79 | 0.680124 |
5f09d46c6d09e2a607ae4b4a46cc30af1eef2248 | 2,440 | ts | TypeScript | src/user/user.dto.ts | MSU-Students/mbaling-project-server | 0bdc239577f6d685139c0a2ba175bf9aa3fcf6c2 | [
"MIT"
] | null | null | null | src/user/user.dto.ts | MSU-Students/mbaling-project-server | 0bdc239577f6d685139c0a2ba175bf9aa3fcf6c2 | [
"MIT"
] | 1 | 2022-01-25T07:47:23.000Z | 2022-01-25T07:47:23.000Z | src/user/user.dto.ts | MSU-Students/mbaling-project-server | 0bdc239577f6d685139c0a2ba175bf9aa3fcf6c2 | [
"MIT"
] | null | null | null | import { ApiProperty } from '@nestjs/swagger';
import { Column, PrimaryGeneratedColumn } from 'typeorm';
export interface IUser {
id?: number;
username?: string;
password?: string;
fName: string;
mName?: string;
lName: string;
isStudent: boolean;
email: string;
birthdate: string;
... | 20 | 65 | 0.636066 |
bcc6d7597b5922f8103d49faff3377300271d38a | 1,475 | js | JavaScript | tailwind.config.js | ashcolor/score-share-front | e47a9d594c02d18e81530e845fcb3081927860e9 | [
"MIT"
] | null | null | null | tailwind.config.js | ashcolor/score-share-front | e47a9d594c02d18e81530e845fcb3081927860e9 | [
"MIT"
] | null | null | null | tailwind.config.js | ashcolor/score-share-front | e47a9d594c02d18e81530e845fcb3081927860e9 | [
"MIT"
] | null | null | null | module.exports = {
content: ["./components/**/*.{vue,js}", "./layouts/**/*.vue", "./pages/**/*.vue", "./plugins/**/*.{js,ts}", "./nuxt.config.{js,ts}"],
plugins: [require("@tailwindcss/typography"), require("daisyui")],
theme: {
fontFamily: {
sans: ["ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "... | 43.382353 | 135 | 0.562034 |
fb8be038534d48442d1652eb907d7fa9456be9f2 | 4,369 | h | C | thirdparty/spark/spark/include/Core/IO/SPK_IO_Buffer.h | elix22/GPlayEngine | 5b73da393ddfc30905dcaca678a62d642b7d8912 | [
"Apache-2.0"
] | 175 | 2018-06-26T04:40:00.000Z | 2022-03-31T11:15:57.000Z | thirdparty/spark/spark/include/Core/IO/SPK_IO_Buffer.h | elix22/GPlayEngine | 5b73da393ddfc30905dcaca678a62d642b7d8912 | [
"Apache-2.0"
] | 51 | 2018-11-01T12:46:25.000Z | 2021-12-14T15:16:15.000Z | thirdparty/spark/spark/include/Core/IO/SPK_IO_Buffer.h | elix22/GPlayEngine | 5b73da393ddfc30905dcaca678a62d642b7d8912 | [
"Apache-2.0"
] | 72 | 2018-10-31T13:50:02.000Z | 2022-03-14T09:10:35.000Z | //
// SPARK particle engine
//
// Copyright (C) 2008-2011 - Julien Fryer - julienfryer@gmail.com
// Copyright (C) 2017 - Frederic Martin - fredakilla@gmail.com
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising fro... | 28.933775 | 111 | 0.617762 |
1ea7b20c0c0baaa7e15f5424e0005debeb138eb6 | 214 | kt | Kotlin | src/main/kotlin/de/claudioaltamura/kotlin/examples/ddd/Foo.kt | claudioaltamura/kotlin-examples | 1ec4be095fbba9b238f9b2c52884a136ff1775fd | [
"MIT"
] | null | null | null | src/main/kotlin/de/claudioaltamura/kotlin/examples/ddd/Foo.kt | claudioaltamura/kotlin-examples | 1ec4be095fbba9b238f9b2c52884a136ff1775fd | [
"MIT"
] | null | null | null | src/main/kotlin/de/claudioaltamura/kotlin/examples/ddd/Foo.kt | claudioaltamura/kotlin-examples | 1ec4be095fbba9b238f9b2c52884a136ff1775fd | [
"MIT"
] | null | null | null | package de.claudioaltamura.kotlin.examples.ddd
class Foo (val functionalId: FunctionalId, val someValue : String) {
override fun toString(): String {
return "Foo(id='$functionalId', value=$someValue)"
}
}
| 26.75 | 68 | 0.728972 |
4669232be51bbd7d96ba1b12b1d0cbadea9e635d | 172 | kt | Kotlin | src/main/kotlin/com/max/contactbyweather/domain/DateToOutreachMap.kt | ZeusAndHisBeard/contact-by-weather | d3f32a3f865458a994700c1ae199f73d6fc766df | [
"MIT"
] | null | null | null | src/main/kotlin/com/max/contactbyweather/domain/DateToOutreachMap.kt | ZeusAndHisBeard/contact-by-weather | d3f32a3f865458a994700c1ae199f73d6fc766df | [
"MIT"
] | null | null | null | src/main/kotlin/com/max/contactbyweather/domain/DateToOutreachMap.kt | ZeusAndHisBeard/contact-by-weather | d3f32a3f865458a994700c1ae199f73d6fc766df | [
"MIT"
] | null | null | null | package com.max.contactbyweather.domain
import java.time.LocalDate
data class DateToOutreachMap(
internal val dateToOutreachMethod: Map<LocalDate, OutreachMethod>?
)
| 21.5 | 70 | 0.819767 |
928326d6324f22747b874c3bd27718778d864596 | 904 | h | C | Savanna/SVApp.h | yang2507366/Savanna | ad1b03acdbe4ff433253f8f1465aad00cb450b9d | [
"Apache-2.0"
] | null | null | null | Savanna/SVApp.h | yang2507366/Savanna | ad1b03acdbe4ff433253f8f1465aad00cb450b9d | [
"Apache-2.0"
] | null | null | null | Savanna/SVApp.h | yang2507366/Savanna | ad1b03acdbe4ff433253f8f1465aad00cb450b9d | [
"Apache-2.0"
] | null | null | null | //
// LuaApp.h
// Queries
//
// Created by yangzexin on 11/2/12.
// Copyright (c) 2012 yangzexin. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "SVScriptBundle.h"
#import "SVScriptInteraction.h"
@interface SVApp : NSObject
@property(nonatomic, readonly)id<SVScriptBundle> scriptBundle;
@proper... | 33.481481 | 124 | 0.793142 |
d5c1cca8e1b2a4cb56e60b4c9acb5c0247b5a9dc | 466 | sql | SQL | queries/stackoverflow/q11/638d2025ac6368bda6945538deda7f544fc1dd96.sql | christophanneser/Bao-for-Presto | b1d93689025d51cdea1a2e81edb8f077df8afcc1 | [
"MIT"
] | null | null | null | queries/stackoverflow/q11/638d2025ac6368bda6945538deda7f544fc1dd96.sql | christophanneser/Bao-for-Presto | b1d93689025d51cdea1a2e81edb8f077df8afcc1 | [
"MIT"
] | null | null | null | queries/stackoverflow/q11/638d2025ac6368bda6945538deda7f544fc1dd96.sql | christophanneser/Bao-for-Presto | b1d93689025d51cdea1a2e81edb8f077df8afcc1 | [
"MIT"
] | null | null | null | SELECT COUNT(*)
FROM
tag as t,
site as s,
question as q,
tag_question as tq
WHERE
t.site_id = s.site_id
AND q.site_id = s.site_id
AND tq.site_id = s.site_id
AND tq.question_id = q.id
AND tq.tag_id = t.id
AND (s.site_name in ('stackoverflow'))
AND (t.name in ('amazon-s3','async-await','clojure','concurrency','configurat... | 27.411765 | 180 | 0.693133 |
53c8d43e05d8eb6001f5d64f37725d64597ae7c2 | 145 | java | Java | src/jsortie/quicksort/selector/SinglePivotSelector.java | JamesBarbetti/jsortie | 8086675235a598f6b081a4edd591012bf5408abf | [
"MIT"
] | null | null | null | src/jsortie/quicksort/selector/SinglePivotSelector.java | JamesBarbetti/jsortie | 8086675235a598f6b081a4edd591012bf5408abf | [
"MIT"
] | null | null | null | src/jsortie/quicksort/selector/SinglePivotSelector.java | JamesBarbetti/jsortie | 8086675235a598f6b081a4edd591012bf5408abf | [
"MIT"
] | null | null | null | package jsortie.quicksort.selector;
public interface SinglePivotSelector
{
public int selectPivotIndex(int [] vArray, int start, int stop);
}
| 20.714286 | 65 | 0.786207 |
c920c81aba2bf60d42554e7548497931d7dfd89e | 73 | swift | Swift | swift-101/03_random.swift | liona24/lets-get-swifty | aa07c9491eb72202ca8daba12340ad5f278a89f7 | [
"MIT"
] | null | null | null | swift-101/03_random.swift | liona24/lets-get-swifty | aa07c9491eb72202ca8daba12340ad5f278a89f7 | [
"MIT"
] | null | null | null | swift-101/03_random.swift | liona24/lets-get-swifty | aa07c9491eb72202ca8daba12340ad5f278a89f7 | [
"MIT"
] | null | null | null | for _ in 0..<5 {
let r = Int.random(in: 0...10)
print("\(r)")
}
| 12.166667 | 34 | 0.438356 |
e949b237892e4fcc888fff03720b23ada0d9fa6d | 231 | swift | Swift | MVVMC/Extensions/UIKit/Button+SetTitle.swift | hiromina72/RxSwift-MVVMC-Demo | b44b3c0f5e256f36a5ce89128eb77aebaf9f8169 | [
"MIT"
] | null | null | null | MVVMC/Extensions/UIKit/Button+SetTitle.swift | hiromina72/RxSwift-MVVMC-Demo | b44b3c0f5e256f36a5ce89128eb77aebaf9f8169 | [
"MIT"
] | null | null | null | MVVMC/Extensions/UIKit/Button+SetTitle.swift | hiromina72/RxSwift-MVVMC-Demo | b44b3c0f5e256f36a5ce89128eb77aebaf9f8169 | [
"MIT"
] | null | null | null | import Foundation
import UIKit
extension UIButton {
func setTitle(_ title: String?) {
UIView.performWithoutAnimation {
self.setTitle(title, for: .normal)
self.layoutIfNeeded()
}
}
}
| 19.25 | 46 | 0.61039 |
104f2b628f78c202e34b529ef40ac11034f0294a | 76 | sql | SQL | db/Querries.sql | ncastaldi/template-full_stack | 5ef782ee1a57fc3772a6c05ec8580a9d911b87c3 | [
"MIT"
] | null | null | null | db/Querries.sql | ncastaldi/template-full_stack | 5ef782ee1a57fc3772a6c05ec8580a9d911b87c3 | [
"MIT"
] | null | null | null | db/Querries.sql | ncastaldi/template-full_stack | 5ef782ee1a57fc3772a6c05ec8580a9d911b87c3 | [
"MIT"
] | null | null | null | -- Create querries
-- Read querries
-- Update querries
-- Delete querries | 10.857143 | 18 | 0.710526 |
c91cfd2f507fe5dfee613df337f3e304377021b2 | 2,011 | swift | Swift | Self-Sizing-Hell-Square/Classes/TableViewController.swift | danmunoz/self-sizing-hell | 4df5ef88a170f3c51ce20cb295d71896eb9364a9 | [
"MIT"
] | 13 | 2019-11-04T07:36:07.000Z | 2022-03-14T11:14:36.000Z | Self-Sizing-Hell-Square/Classes/TableViewController.swift | danmunoz/self-sizing-hell | 4df5ef88a170f3c51ce20cb295d71896eb9364a9 | [
"MIT"
] | null | null | null | Self-Sizing-Hell-Square/Classes/TableViewController.swift | danmunoz/self-sizing-hell | 4df5ef88a170f3c51ce20cb295d71896eb9364a9 | [
"MIT"
] | 2 | 2019-11-16T00:57:49.000Z | 2019-12-27T22:52:39.000Z | //
// TableViewController.swift
// Self-Sizing-Hell-Square
//
// Created by Daniel Munoz on 22.10.19.
// Copyright © 2019 Daniel Munoz. All rights reserved.
//
import UIKit
class TableViewController: UIViewController {
private lazy var tableView: UITableView = {
let tableView = UITableView(fr... | 34.672414 | 142 | 0.687718 |
46750cccc86af09943d6899284c02c64de691d22 | 2,333 | swift | Swift | MetalSwiftUI/Sources/{{PACKAGE}}/Renderers/RenderCoordinator.swift | stackotter/swift-bundler-templates | 8ada6d4676c0bd3caf692b6b2abb59c2dc0d3439 | [
"MTLL"
] | null | null | null | MetalSwiftUI/Sources/{{PACKAGE}}/Renderers/RenderCoordinator.swift | stackotter/swift-bundler-templates | 8ada6d4676c0bd3caf692b6b2abb59c2dc0d3439 | [
"MTLL"
] | null | null | null | MetalSwiftUI/Sources/{{PACKAGE}}/Renderers/RenderCoordinator.swift | stackotter/swift-bundler-templates | 8ada6d4676c0bd3caf692b6b2abb59c2dc0d3439 | [
"MTLL"
] | null | null | null | import Foundation
import MetalKit
enum RenderCoordinatorError: LocalizedError {
case failedToGetMetalDevice
case failedToCreateRenderCommandQueue
var errorDescription: String? {
switch self {
case .failedToGetMetalDevice:
return "Failed to get Metal device"
case .failedToCreateRenderCommandQueue:
retur... | 26.213483 | 107 | 0.748393 |
f796f0aa251566be9f0c4af747effe5c2d34da39 | 11,523 | h | C | aws-cpp-sdk-ec2/include/aws/ec2/model/ImageDiskContainer.h | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 1 | 2020-03-11T05:36:20.000Z | 2020-03-11T05:36:20.000Z | aws-cpp-sdk-ec2/include/aws/ec2/model/ImageDiskContainer.h | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-ec2/include/aws/ec2/model/ImageDiskContainer.h | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 35.024316 | 121 | 0.644624 |
cb9181c87017400be32f25e2395282c1fca01304 | 110 | sql | SQL | sql/update6.sql | aalextok/summit_test | 50b422df30f35b366a94599966da52ebb845bbf1 | [
"BSD-3-Clause"
] | null | null | null | sql/update6.sql | aalextok/summit_test | 50b422df30f35b366a94599966da52ebb845bbf1 | [
"BSD-3-Clause"
] | null | null | null | sql/update6.sql | aalextok/summit_test | 50b422df30f35b366a94599966da52ebb845bbf1 | [
"BSD-3-Clause"
] | null | null | null | ALTER TABLE `image`
ADD `name` VARCHAR(255) NULL AFTER `location`,
ADD `description` TEXT NULL AFTER `name`; | 36.666667 | 47 | 0.727273 |
16bf463d25244c91afca87f0f570deb22293ac3e | 830 | c | C | luogu.com.cn/P2436/a.c | jyi2ya/artifacts | c227d170592d1fec94a09b20e2f1f75a46dfdf1f | [
"MIT"
] | null | null | null | luogu.com.cn/P2436/a.c | jyi2ya/artifacts | c227d170592d1fec94a09b20e2f1f75a46dfdf1f | [
"MIT"
] | null | null | null | luogu.com.cn/P2436/a.c | jyi2ya/artifacts | c227d170592d1fec94a09b20e2f1f75a46dfdf1f | [
"MIT"
] | null | null | null | #include <stdio.h>
int min(int a, int b);
int max(int a, int b);
int N, M, s[1009], j[1009];
int main(void)
{
while (scanf("%d%d", &N, &M) == 2) {
int i, sum, a, b, limit = (N + M + 1) * 10;
for (i = 0; i < N; ++i) {
scanf("%d", s + i);
--s[i];
}
for (i = 0; i < M; ++i) {
scanf("%d", j + i);
--j... | 15.660377 | 45 | 0.426506 |
133bc06fd6a262b8639fba9135c69429c1b59eeb | 2,111 | h | C | libmqtt/src/samples/pubsub_opts.h | cypernex/location | 7e124ca6fb18a3461f5d1bfc6bccf1670d6ca11f | [
"Apache-2.0"
] | null | null | null | libmqtt/src/samples/pubsub_opts.h | cypernex/location | 7e124ca6fb18a3461f5d1bfc6bccf1670d6ca11f | [
"Apache-2.0"
] | null | null | null | libmqtt/src/samples/pubsub_opts.h | cypernex/location | 7e124ca6fb18a3461f5d1bfc6bccf1670d6ca11f | [
"Apache-2.0"
] | 2 | 2020-11-18T08:29:20.000Z | 2021-07-30T07:14:34.000Z | /*******************************************************************************
* Copyright (c) 2012, 2018 IBM Corp.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* and Eclipse Distribution License v1.0 which accompany ... | 23.719101 | 99 | 0.670298 |
f70f20269678252e95ab8d65236cf90630719847 | 369 | kt | Kotlin | src/main/kotlin/com/realworld/springmongo/article/Tag.kt | revfactory/realworld-spring-webflux-kt | a9b3701d847fd92c55716ce2f1dacb85a851562c | [
"MIT"
] | 15 | 2021-10-18T06:21:35.000Z | 2022-03-16T20:01:21.000Z | src/main/kotlin/com/realworld/springmongo/article/Tag.kt | revfactory/realworld-spring-webflux-kt | a9b3701d847fd92c55716ce2f1dacb85a851562c | [
"MIT"
] | 1 | 2021-10-30T09:09:54.000Z | 2021-10-30T09:09:54.000Z | src/main/kotlin/com/realworld/springmongo/article/Tag.kt | revfactory/realworld-spring-webflux-kt | a9b3701d847fd92c55716ce2f1dacb85a851562c | [
"MIT"
] | 3 | 2021-10-30T05:53:46.000Z | 2022-03-16T16:38:52.000Z | package com.realworld.springmongo.article
import org.springframework.data.annotation.Id
import org.springframework.data.mongodb.core.index.Indexed
import org.springframework.data.mongodb.core.mapping.Document
@Document
data class Tag(
@Id
val id: String? = null,
@Indexed(unique = true)
val tagName: St... | 24.6 | 61 | 0.758808 |
c9100b1f4eef88301e9e91df7c70d992960d82bc | 92 | sql | SQL | src/test/resources/sql/delete/7093c32d.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/delete/7093c32d.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/delete/7093c32d.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:updatable_views.sql ln:907 expect:true
DELETE FROM rw_view1 WHERE NOT snoop(person)
| 30.666667 | 46 | 0.804348 |
b95687e9ec8879b05eb586bc082a67a0eaa56595 | 2,218 | h | C | Meniga/Meniga-ios-sdk/External/LifeGoals/MNFLifeGoalHistory.h | meniga/mobile-sdk-ios | 3c4a4de13868b9129920cab2ce5d0e6f2de8d1d6 | [
"MIT"
] | 3 | 2017-04-12T08:51:24.000Z | 2018-01-30T18:15:55.000Z | Meniga/Meniga-ios-sdk/External/LifeGoals/MNFLifeGoalHistory.h | meniga/mobile-sdk-ios | 3c4a4de13868b9129920cab2ce5d0e6f2de8d1d6 | [
"MIT"
] | 75 | 2018-04-11T14:28:41.000Z | 2022-03-24T13:09:50.000Z | Meniga/Meniga-ios-sdk/External/LifeGoals/MNFLifeGoalHistory.h | meniga/mobile-sdk-ios | 3c4a4de13868b9129920cab2ce5d0e6f2de8d1d6 | [
"MIT"
] | 1 | 2019-05-22T14:04:11.000Z | 2019-05-22T14:04:11.000Z | //
// MNFLifeGoalHistory.h
// Meniga-ios-sdk
//
// Created by Haukur Ísfeld on 15/03/2018.
// Copyright © 2018 Meniga. All rights reserved.
//
#import "MNFObject.h"
NS_ASSUME_NONNULL_BEGIN
@interface MNFLifeGoalHistory : MNFObject
/**
The id of the life goal.
*/
@property (nonatomic, strong, readonly) NSNumbe... | 23.849462 | 76 | 0.72633 |
28657f842476ae652a7b226effdf3382c068da6c | 367 | swift | Swift | Meditation Warrior/Views/AboutView.swift | pedantix/vet-meditation-app-ios | 068b8fb171059a516367af2dd5f6ccb0c4c4245f | [
"MIT"
] | null | null | null | Meditation Warrior/Views/AboutView.swift | pedantix/vet-meditation-app-ios | 068b8fb171059a516367af2dd5f6ccb0c4c4245f | [
"MIT"
] | 3 | 2020-01-20T16:51:44.000Z | 2020-01-28T02:14:43.000Z | Meditation Warrior/Views/AboutView.swift | pedantix/vet-meditation-app-ios | 068b8fb171059a516367af2dd5f6ccb0c4c4245f | [
"MIT"
] | null | null | null | //
// AboutView.swift
// Meditation Warrior
//
// Created by Shaun Hubbard on 1/20/20.
// Copyright © 2020 Adept Apps. All rights reserved.
//
import SwiftUI
struct AboutView: View {
var body: some View {
Text("About").font(.title)
}
}
struct AboutView_Previews: PreviewProvider {
static var pre... | 16.681818 | 53 | 0.643052 |
45643f065c91127dae1c14f8795568e9e2cb4f0a | 155 | swift | Swift | Tests/Modules/Foo/FooStyle.swift | locationlabs/Cobra | b60e8f6fd842e71acecb822694fd3a7d70948097 | [
"Apache-2.0"
] | 12 | 2016-10-12T04:16:18.000Z | 2019-11-01T15:24:02.000Z | Tests/Modules/Foo/FooStyle.swift | locationlabs/Cobra | b60e8f6fd842e71acecb822694fd3a7d70948097 | [
"Apache-2.0"
] | null | null | null | Tests/Modules/Foo/FooStyle.swift | locationlabs/Cobra | b60e8f6fd842e71acecb822694fd3a7d70948097 | [
"Apache-2.0"
] | 5 | 2016-12-17T00:51:15.000Z | 2021-09-08T09:33:33.000Z | import UIKit
public class FooStyle {
}
public protocol FooStyleType: class {
}
// MARK: - FooStyleType
extension FooStyle: FooStyleType {
}
| 9.6875 | 37 | 0.683871 |
7e8ba1c8c5e4a57aa849a00c9a252d525330f6f3 | 415 | swift | Swift | TestMusic/Application/Main/MainRouter.swift | GlisboaDev/Youtube-Facebook_test | 858fdac323c6088501f2df6014a93255d23afe71 | [
"MIT"
] | null | null | null | TestMusic/Application/Main/MainRouter.swift | GlisboaDev/Youtube-Facebook_test | 858fdac323c6088501f2df6014a93255d23afe71 | [
"MIT"
] | null | null | null | TestMusic/Application/Main/MainRouter.swift | GlisboaDev/Youtube-Facebook_test | 858fdac323c6088501f2df6014a93255d23afe71 | [
"MIT"
] | null | null | null | //
// LoginRouter.swift
// TestMusic
//
// Created by Guilherme Lisboa on 09/04/17.
// Copyright © 2017 LDevelopment. All rights reserved.
//
import Foundation
class MainScreenRouter: Router {
override init(parent: Router) {
super.init(parent: parent)
let dataManager = MainScreenDataManager()
... | 23.055556 | 86 | 0.693976 |
84bf78502f5963b9b5b88a4fa67a464ef2ab78bf | 654 | c | C | findpat/test/test_interv.c | kapow-argentina/findpat | 6975efb4414197bf91babd7775bb8c48d2befd0f | [
"MIT"
] | null | null | null | findpat/test/test_interv.c | kapow-argentina/findpat | 6975efb4414197bf91babd7775bb8c48d2befd0f | [
"MIT"
] | null | null | null | findpat/test/test_interv.c | kapow-argentina/findpat | 6975efb4414197bf91babd7775bb8c48d2befd0f | [
"MIT"
] | 1 | 2021-12-13T03:01:32.000Z | 2021-12-13T03:01:32.000Z | #include <stdio.h>
#include <stdlib.h>
#include "interv.h"
void print_interval(uint start, uint end) {
printf("%i\t%i\n", start, end);
}
int main(int argc, char **argv) {
if (argc != 2) {
fprintf(stderr, "Usage: %s <max>\n", argv[0]);
fprintf(stderr, " reads intervals from stdin in the range [0, <max>)\n");
... | 21.8 | 75 | 0.617737 |
7139a6957eab412a0d3510d3e97aea34c0e242d8 | 1,062 | tsx | TypeScript | components/g/UI/SearchBox.tsx | eudpna/chord-search | cca7cd4bb3e9ac02fc178dd6fd08563ec1571baa | [
"MIT"
] | null | null | null | components/g/UI/SearchBox.tsx | eudpna/chord-search | cca7cd4bb3e9ac02fc178dd6fd08563ec1571baa | [
"MIT"
] | null | null | null | components/g/UI/SearchBox.tsx | eudpna/chord-search | cca7cd4bb3e9ac02fc178dd6fd08563ec1571baa | [
"MIT"
] | null | null | null | import { useEffect } from "react"
import { GCtx } from "../../../g/GCtx"
import { guitarChords, ukuleleChords } from "../../../lib/chords"
const getChords = (instrument: 'guitar' | 'ukulele') => instrument === 'guitar' ? guitarChords : ukuleleChords
export const SearchBox: React.FC<{
gctx: GCtx
}> = (props) => {
... | 28.702703 | 110 | 0.53484 |
96115cb8cd033b0666f11a8a7fe5a992dc4e32a7 | 1,568 | swift | Swift | SwiftI18n/Polyglot/PolyglotSwiftI18Extensions.swift | infinum/iOS-SwiftI18n | 8db47dbfe0075000cb1a60004aa0b1843f82dd69 | [
"MIT"
] | null | null | null | SwiftI18n/Polyglot/PolyglotSwiftI18Extensions.swift | infinum/iOS-SwiftI18n | 8db47dbfe0075000cb1a60004aa0b1843f82dd69 | [
"MIT"
] | 1 | 2021-05-11T17:27:13.000Z | 2021-05-11T17:27:13.000Z | SwiftI18n/Polyglot/PolyglotSwiftI18Extensions.swift | infinum/iOS-SwiftI18n | 8db47dbfe0075000cb1a60004aa0b1843f82dd69 | [
"MIT"
] | null | null | null | //
// I18n.swift
// SwiftI18n
//
// Created by Vlaho Poluta on 17/04/18.
// Copyright © 2016 Infinum. All rights reserved.
//
import UIKit
import SwiftI18n
extension String {
public var localized: String {
return localised
}
public func localizedFormat(with args: CVarArg...) -> Strin... | 23.757576 | 79 | 0.640944 |
04b5fe8a6f3f42bbcec8a313a6b41a99a6da3948 | 2,944 | html | HTML | src/main/resources/html/treeview.html | NormanDunbar/asciidoc-antlr | cb00e6cb3619b2f6a79324d196b5edf6751a17e5 | [
"MIT"
] | 10 | 2017-09-01T11:08:11.000Z | 2021-06-26T11:40:36.000Z | src/main/resources/html/treeview.html | NormanDunbar/asciidoc-antlr | cb00e6cb3619b2f6a79324d196b5edf6751a17e5 | [
"MIT"
] | 3 | 2018-07-24T22:38:15.000Z | 2020-06-14T15:47:29.000Z | src/main/resources/html/treeview.html | venkatperi/asciidoc-antlr | cb00e6cb3619b2f6a79324d196b5edf6751a17e5 | [
"MIT"
] | 5 | 2018-08-29T10:16:08.000Z | 2021-01-19T12:59:24.000Z | <html>
<head>
</head>
<body>
<script src="lodash.core.min.js"></script>
<script src="inspire-tree.min.js"></script>
<script>
new InspireTree( {
target: "#tree",
data: [
{ "text": asciidoc, "children": [{ "text": doc_header, "children": [{ "text": doc_title_line, "children": [{ "text": [H0] = ... | 154.947368 | 2,679 | 0.617527 |
013d6ac1e7179824c9095d2f7723761519f96a39 | 901 | rs | Rust | relayer-cli/src/commands/create.rs | yihuang/ibc-rs | 5ea7e84647c69795c169d8cce0b798ea1e925c27 | [
"Apache-2.0"
] | 191 | 2020-02-24T21:12:13.000Z | 2022-03-30T02:10:46.000Z | relayer-cli/src/commands/create.rs | yihuang/ibc-rs | 5ea7e84647c69795c169d8cce0b798ea1e925c27 | [
"Apache-2.0"
] | 1,523 | 2020-02-26T16:37:42.000Z | 2022-03-31T20:27:23.000Z | relayer-cli/src/commands/create.rs | yihuang/ibc-rs | 5ea7e84647c69795c169d8cce0b798ea1e925c27 | [
"Apache-2.0"
] | 88 | 2020-03-04T00:48:22.000Z | 2022-03-20T12:35:33.000Z | //! `create` subcommand
use abscissa_core::{Command, Help, Options, Runnable};
use crate::commands::create::channel::CreateChannelCommand;
use crate::commands::create::connection::CreateConnectionCommand;
use crate::commands::tx::client::TxCreateClientCmd;
mod channel;
mod connection;
/// `create` subcommands
#[deri... | 30.033333 | 67 | 0.709212 |
e6299a9ce7702a7caad8dd5fd69c0f7c6549beed | 14,195 | go | Go | pkg/cfg/repository_test.go | whiteboxio/msgrelay | 508d75d68a2c1932fdbb240b72a1a48880d18ed5 | [
"MIT"
] | 10 | 2019-01-14T10:00:48.000Z | 2021-08-25T03:27:02.000Z | pkg/cfg/repository_test.go | whiteboxio/msgrelay | 508d75d68a2c1932fdbb240b72a1a48880d18ed5 | [
"MIT"
] | 30 | 2019-01-14T13:06:35.000Z | 2019-09-07T15:22:28.000Z | pkg/cfg/repository_test.go | whiteboxio/flow | 508d75d68a2c1932fdbb240b72a1a48880d18ed5 | [
"MIT"
] | 4 | 2019-01-14T09:23:46.000Z | 2019-02-23T17:48:53.000Z | package cfg
import (
"fmt"
"reflect"
"testing"
"github.com/awesome-flow/flow/pkg/cast"
"github.com/awesome-flow/flow/pkg/types"
)
func strptr(v string) *string { return &v }
func boolptr(v bool) *bool { return &v }
func intptr(v int) *int { return &v }
func flushMappers() {
mappersMx.Lock()
defer ma... | 22.784912 | 112 | 0.60472 |
dde046743f9ba0d4c1bb7edddebb0c5154f84f69 | 372 | h | C | include/pirate/http.h | lmjohns3/lib8266 | c8400d2061ae1ceb5054b5f4cea512a7e09a6ddb | [
"MIT"
] | null | null | null | include/pirate/http.h | lmjohns3/lib8266 | c8400d2061ae1ceb5054b5f4cea512a7e09a6ddb | [
"MIT"
] | null | null | null | include/pirate/http.h | lmjohns3/lib8266 | c8400d2061ae1ceb5054b5f4cea512a7e09a6ddb | [
"MIT"
] | null | null | null | #ifndef PIRATE__HTTP__H__
#define PIRATE__HTTP__H__
#include "esp_http_client.h"
#include "pirate/base.h"
typedef void (* ahoy_http_poll_cb)(esp_http_client_config_t *, esp_http_client_handle_t);
void ahoy_http_poll(uint32_t period_ms,
const char *url,
const char *cert,
... | 23.25 | 89 | 0.680108 |
71d3c131468671f4e521f5e58d48ba3a5c493838 | 253 | ts | TypeScript | src/app/core/interfaces/customer.ts | jackoschoonderwoerd/stripe-course-two | 01eb06a33f3d864257a9583ad149b60abc0e9f2b | [
"MIT"
] | null | null | null | src/app/core/interfaces/customer.ts | jackoschoonderwoerd/stripe-course-two | 01eb06a33f3d864257a9583ad149b60abc0e9f2b | [
"MIT"
] | null | null | null | src/app/core/interfaces/customer.ts | jackoschoonderwoerd/stripe-course-two | 01eb06a33f3d864257a9583ad149b60abc0e9f2b | [
"MIT"
] | null | null | null | import { Order } from './order'
export interface Customer {
firstName: string;
lastName: string;
email: string;
street: string;
houseNumber: number;
addition: string;
zipCode: string;
city: string;
country: string
orders: Order[]
} | 18.071429 | 31 | 0.683794 |
7535638ddcb363dd242cfbf9b14e90427e2bfcbf | 1,645 | h | C | XInternetTest/_IncludeClient/PhoneDevice.h | kirainstorm/InternetofthingsServer | 3a18ccb337c5556b01ce9fb51dac35ba16182257 | [
"Apache-2.0"
] | null | null | null | XInternetTest/_IncludeClient/PhoneDevice.h | kirainstorm/InternetofthingsServer | 3a18ccb337c5556b01ce9fb51dac35ba16182257 | [
"Apache-2.0"
] | null | null | null | XInternetTest/_IncludeClient/PhoneDevice.h | kirainstorm/InternetofthingsServer | 3a18ccb337c5556b01ce9fb51dac35ba16182257 | [
"Apache-2.0"
] | 1 | 2020-05-28T08:32:11.000Z | 2020-05-28T08:32:11.000Z | #ifndef PHONE_DEVICE_X_456W34324
#define PHONE_DEVICE_X_456W34324
#include <stdio.h>
#include <stdlib.h>
#include "PlatformDefine.h"
#include "XStream.hpp"
#include <boost/shared_ptr.hpp>
#include <boost/shared_array.hpp>
#include <boost/pool/pool.hpp>
#include "XDefineMediaChannelStruct.h"
#define MAX_... | 22.534247 | 104 | 0.716109 |
8e34c15098b9b5acab40892eb01ed8b02ef7f250 | 7,246 | swift | Swift | Tests/TripKitTests/polygon/ASPolygonKitTests.swift | skedgo/tripkit-ios | c25d9af9df42e69b4fbbd56069701b0c1844988e | [
"Apache-2.0"
] | 4 | 2018-10-22T22:16:24.000Z | 2019-10-30T23:32:30.000Z | Tests/TripKitTests/polygon/ASPolygonKitTests.swift | skedgo/tripkit-ios | c25d9af9df42e69b4fbbd56069701b0c1844988e | [
"Apache-2.0"
] | 23 | 2017-09-18T10:26:45.000Z | 2022-01-25T03:01:00.000Z | Tests/TripKitTests/polygon/ASPolygonKitTests.swift | skedgo/tripkit-ios | c25d9af9df42e69b4fbbd56069701b0c1844988e | [
"Apache-2.0"
] | 1 | 2019-06-14T13:17:31.000Z | 2019-06-14T13:17:31.000Z | //
// ASPolygonKitTests.swift
// ASPolygonKitExampleTests
//
// Created by Adrian Schoenig on 18/2/17.
// Copyright © 2017 Adrian Schönig. All rights reserved.
//
import XCTest
import MapKit
@testable import TripKit
class ASPolygonKitTests: XCTestCase {
func testAll() throws {
let polygons = try poly... | 33.238532 | 403 | 0.669749 |
3fa4d637696a022d618ae6a84a245f5fba82a16e | 1,321 | h | C | src/mqtt-core/src/dxl/SetConnectionLimitRunner.h | chrissmith-mcafee/opendxl-broker | a3f985fc19699ab8fcff726bbd1974290eb6e044 | [
"Apache-2.0",
"MIT"
] | 13 | 2017-10-15T14:32:34.000Z | 2022-02-17T08:25:26.000Z | src/mqtt-core/src/dxl/SetConnectionLimitRunner.h | vkrish-mcafee/opendxl-broker | 39c5d06c233dbe01146f0db781eccfd67bbaafbf | [
"Apache-2.0",
"MIT"
] | 14 | 2017-10-17T18:23:50.000Z | 2021-12-10T22:05:25.000Z | src/mqtt-core/src/dxl/SetConnectionLimitRunner.h | vkrish-mcafee/opendxl-broker | 39c5d06c233dbe01146f0db781eccfd67bbaafbf | [
"Apache-2.0",
"MIT"
] | 26 | 2017-10-27T00:27:29.000Z | 2021-09-02T16:57:55.000Z | /******************************************************************************
* Copyright (c) 2018 McAfee, LLC - All Rights Reserved.
*****************************************************************************/
#ifndef SETCONNECTIONLIMITRUNNER_H_
#define SETCONNECTIONLIMITRUNNER_H_
#include "MqttWorkQueue.h"
#i... | 24.462963 | 119 | 0.583649 |
17160caa7a16051a910c524b35c396b390565526 | 646 | swift | Swift | Example/Git/Sources/Git/Commit.swift | atsushi130/Commandy | 7f2af91c2bee54c626cb6fdb70c1320df26699d8 | [
"MIT"
] | 1 | 2018-07-29T13:32:27.000Z | 2018-07-29T13:32:27.000Z | Example/Git/Sources/Git/Commit.swift | atsushi130/Commandy | 7f2af91c2bee54c626cb6fdb70c1320df26699d8 | [
"MIT"
] | 4 | 2018-07-29T09:33:36.000Z | 2019-03-24T10:20:58.000Z | Example/Git/Sources/Git/Commit.swift | atsushi130/Commandy | 7f2af91c2bee54c626cb6fdb70c1320df26699d8 | [
"MIT"
] | null | null | null | //
// Commit.swift
// Commandy
//
// Created by Atsushi Miyake on 2018/07/28.
//
import Commandy
enum Commit: String, Command {
case message
case allowEmpty
var shortOption: String? {
switch self {
case .message: return "m"
default: return nil
}
}
static... | 19.575758 | 57 | 0.568111 |
266a624b4372c25b0037020d3881bd8405eb69c4 | 1,048 | java | Java | src/main/java/com/github/et118/El_Macho/Events/MusicEvent.java | et118/El_Macho | 856481af6ca1f6312f2c51bf705a4360cb33fa08 | [
"MIT"
] | 1 | 2022-01-30T00:01:33.000Z | 2022-01-30T00:01:33.000Z | src/main/java/com/github/et118/El_Macho/Events/MusicEvent.java | et118/El_Macho | 856481af6ca1f6312f2c51bf705a4360cb33fa08 | [
"MIT"
] | null | null | null | src/main/java/com/github/et118/El_Macho/Events/MusicEvent.java | et118/El_Macho | 856481af6ca1f6312f2c51bf705a4360cb33fa08 | [
"MIT"
] | null | null | null | package com.github.et118.El_Macho.Events;
import com.github.et118.El_Macho.Commands.Music.MusicManager;
import discord4j.core.event.domain.guild.GuildCreateEvent;
import discord4j.core.event.domain.guild.GuildDeleteEvent;
import reactor.core.publisher.Mono;
public class MusicEvent extends Event{
public MusicEvent... | 36.137931 | 136 | 0.723282 |
95b4b217cf914f8bab011aba04ef2d557d42dfec | 2,797 | html | HTML | blogs/others/fortnite-building-quick-reference.html | JackRBlack/JackRBlack.github.io | 546c4e1beff1eb0f79edbc20e24ed13f8754ba13 | [
"MIT"
] | 2 | 2018-10-17T14:31:31.000Z | 2019-03-27T10:45:22.000Z | blogs/others/fortnite-building-quick-reference.html | JackRBlack/JackRBlack.github.io | 546c4e1beff1eb0f79edbc20e24ed13f8754ba13 | [
"MIT"
] | 2 | 2018-06-12T07:40:19.000Z | 2018-06-22T01:11:56.000Z | blogs/others/fortnite-building-quick-reference.html | JackRBlack/JackRBlack.github.io | 546c4e1beff1eb0f79edbc20e24ed13f8754ba13 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Blogs - Others - FortNite Building Quick Reference</title>
<!-- Bo... | 32.523256 | 167 | 0.504469 |
66a2c62fc893ad23ca9cc4e3ed9113f744b0a9d8 | 2,486 | swift | Swift | cmd-eikana/ExclusionAppsController.swift | ryanmoongit/cmd-eikana | baba7d5b0f390fc62d785ddde588f627df2b737e | [
"MIT"
] | null | null | null | cmd-eikana/ExclusionAppsController.swift | ryanmoongit/cmd-eikana | baba7d5b0f390fc62d785ddde588f627df2b737e | [
"MIT"
] | null | null | null | cmd-eikana/ExclusionAppsController.swift | ryanmoongit/cmd-eikana | baba7d5b0f390fc62d785ddde588f627df2b737e | [
"MIT"
] | null | null | null | //
// ExclusionAppsController.swift
// ⌘英かな
//
// MIT License
// Copyright (c) 2016 iMasanari
//
import Cocoa
class ExclusionAppsController: NSViewController, NSTableViewDataSource, NSTableViewDelegate {
@IBOutlet weak var tableView: NSTableView!
override func viewDidLoad() {
super.viewDidLo... | 29.595238 | 118 | 0.567578 |
c46e04f073e0a3d874850b6406522afee40943ab | 199 | c | C | Exercicios do URI Online Judge/media_2.c | TheMath123/exerciciosemc | 3894f0ed81ed8be4de2e2e66f012db646e6e2523 | [
"MIT"
] | null | null | null | Exercicios do URI Online Judge/media_2.c | TheMath123/exerciciosemc | 3894f0ed81ed8be4de2e2e66f012db646e6e2523 | [
"MIT"
] | null | null | null | Exercicios do URI Online Judge/media_2.c | TheMath123/exerciciosemc | 3894f0ed81ed8be4de2e2e66f012db646e6e2523 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main(){
float n1,n2,n3,media;
scanf("%f %f %f",&n1,&n2,&n3);
n1=n1*2;
n2=n2*3;
n3=n3*5;
media=(n1+n2+n3)/10;
printf("MEDIA = %.1f\n",media);
return 0;
}
| 14.214286 | 33 | 0.522613 |
db5d14edaef487a6d3029eff1722332a996ebbab | 37 | sql | SQL | migrations/mysql/000003_flavor_stash.down.sql | jeradM/everyflavor-api | 185313c0d32e30e8556260c98d20453aa20e7802 | [
"MIT"
] | null | null | null | migrations/mysql/000003_flavor_stash.down.sql | jeradM/everyflavor-api | 185313c0d32e30e8556260c98d20453aa20e7802 | [
"MIT"
] | null | null | null | migrations/mysql/000003_flavor_stash.down.sql | jeradM/everyflavor-api | 185313c0d32e30e8556260c98d20453aa20e7802 | [
"MIT"
] | null | null | null | DROP TABLE IF EXISTS flavor_stashes;
| 18.5 | 36 | 0.837838 |
16942960c2bf97a65eaebb940e0f1b128faba8d5 | 1,981 | h | C | engines/ep/src/conflict_resolution.h | BenHuddleston/kv_engine | 78123c9aa2c2feb24b7c31eecc862bf2ed6325e4 | [
"MIT",
"BSD-3-Clause"
] | 104 | 2017-05-22T20:41:57.000Z | 2022-03-24T00:18:34.000Z | engines/ep/src/conflict_resolution.h | BenHuddleston/kv_engine | 78123c9aa2c2feb24b7c31eecc862bf2ed6325e4 | [
"MIT",
"BSD-3-Clause"
] | 3 | 2017-11-14T08:12:46.000Z | 2022-03-03T11:14:17.000Z | engines/ep/src/conflict_resolution.h | BenHuddleston/kv_engine | 78123c9aa2c2feb24b7c31eecc862bf2ed6325e4 | [
"MIT",
"BSD-3-Clause"
] | 71 | 2017-05-22T20:41:59.000Z | 2022-03-29T10:34:32.000Z | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2013-Present Couchbase, Inc.
*
* Use of this software is governed by the Business Source License included
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
* in that file, in accordance... | 33.016667 | 79 | 0.661787 |
43735adc9bc043caa07fa1409330312c1b79ce5d | 324 | go | Go | pkg/yogoa/unit.go | lovefcaaa/yogoa | 78796720fd6a1a642f66e87be20e2afe0b7f0b17 | [
"Apache-2.0"
] | 4 | 2018-10-03T22:13:45.000Z | 2021-02-01T13:37:35.000Z | pkg/yogoa/unit.go | lovefcaaa/yogoa | 78796720fd6a1a642f66e87be20e2afe0b7f0b17 | [
"Apache-2.0"
] | 2 | 2020-12-02T01:29:30.000Z | 2021-05-20T20:54:24.000Z | pkg/yogoa/unit.go | lovefcaaa/yogoa | 78796720fd6a1a642f66e87be20e2afe0b7f0b17 | [
"Apache-2.0"
] | 1 | 2020-10-16T07:34:54.000Z | 2020-10-16T07:34:54.000Z | package yogoa
import "github.com/jackwakefield/yogoa/pkg/yoga"
type Unit int32
const (
UnitUndefined = Unit(yoga.UnitUndefined)
UnitPoint = Unit(yoga.UnitPoint)
UnitPercent = Unit(yoga.UnitPercent)
UnitAuto = Unit(yoga.UnitAuto)
)
func (u Unit) String() string {
return yoga.UnitToString(yoga.Unit(u)... | 19.058824 | 48 | 0.728395 |
4123b942dd780e90d455276d52e288bd2a00f62a | 848 | h | C | filterdesigner.h | aliihsancengiz/FirFilterDesigner | 64aec54ae19e86df099f225805cbc68da3163d47 | [
"MIT"
] | 1 | 2020-12-10T13:35:42.000Z | 2020-12-10T13:35:42.000Z | filterdesigner.h | aliihsancengiz/FirFilterDesigner | 64aec54ae19e86df099f225805cbc68da3163d47 | [
"MIT"
] | null | null | null | filterdesigner.h | aliihsancengiz/FirFilterDesigner | 64aec54ae19e86df099f225805cbc68da3163d47 | [
"MIT"
] | null | null | null | #ifndef FILTERDESIGNER_H
#define FILTERDESIGNER_H
#include <QMainWindow>
#include <QDebug>
#include <QtMath>
#include <QFileDialog>
#include <algorithm>
#include <numeric>
#include <fstream>
#include "fft/FFTReal.h"
#include "qcustomplot.h"
#include "windowfunction.h"
#include "filtercoeffgenrator.h"
QT_BEGIN_N... | 18.042553 | 46 | 0.753538 |
c67324734cd5d142015db9699493c89da4c7d43b | 526 | kt | Kotlin | app/src/main/java/com/roverdream/kothub/ui/list/RepoViewModel.kt | ngominhtrint/Kothub | 25a2012cad7fcdd693e03eedf29a26df04c52126 | [
"Apache-2.0"
] | 1 | 2020-05-16T20:29:40.000Z | 2020-05-16T20:29:40.000Z | app/src/main/java/com/roverdream/kothub/ui/list/RepoViewModel.kt | ngominhtrint/Kothub | 25a2012cad7fcdd693e03eedf29a26df04c52126 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/roverdream/kothub/ui/list/RepoViewModel.kt | ngominhtrint/Kothub | 25a2012cad7fcdd693e03eedf29a26df04c52126 | [
"Apache-2.0"
] | null | null | null | package com.roverdream.kothub.ui.list
import com.roverdream.kothub.data.remote.model.Repo
import com.roverdream.kothub.ui.base.AbstractViewModel
import io.reactivex.Observable
import io.reactivex.subjects.PublishSubject
class RepoViewModel(val repo: Repo) : AbstractViewModel() {
private val clicks = PublishSubje... | 25.047619 | 59 | 0.739544 |
a18a4208f71fcefc82ac638e91668bd33143aa65 | 5,943 | h | C | linux/libs/common/var.h | cassioberni/Inex_linux | 12eca26304ac5e57cf75a59d29412782b868bd04 | [
"MIT"
] | null | null | null | linux/libs/common/var.h | cassioberni/Inex_linux | 12eca26304ac5e57cf75a59d29412782b868bd04 | [
"MIT"
] | null | null | null | linux/libs/common/var.h | cassioberni/Inex_linux | 12eca26304ac5e57cf75a59d29412782b868bd04 | [
"MIT"
] | null | null | null | #ifndef VAR_H_
#define VAR_H_
//****************************************
union unsigned_char
{
struct //char_1
{
unsigned char bit0:1;
unsigned char bit1:1;
unsigned char bit2:1;
unsigned char bit3:1;
unsigned char bit4:1;
unsigned char bit5:1;
unsigned char bit6:1;
unsigned char bit7:... | 17.377193 | 43 | 0.594313 |
9f00bccc6fea05455c64011efea96e762b4d1fd4 | 1,921 | go | Go | internal/databases/postgres/pg_control_data.go | igorwwwwwwwwwwwwwwwwwwww/wal-g | 5292dd8cf6c1eb504f9a7152bc5a1b1efb87cc51 | [
"Apache-2.0"
] | null | null | null | internal/databases/postgres/pg_control_data.go | igorwwwwwwwwwwwwwwwwwwww/wal-g | 5292dd8cf6c1eb504f9a7152bc5a1b1efb87cc51 | [
"Apache-2.0"
] | 3 | 2017-07-19T22:42:10.000Z | 2017-08-10T21:42:18.000Z | internal/databases/postgres/pg_control_data.go | igorwwwwwwwwwwwwwwwwwwww/wal-g | 5292dd8cf6c1eb504f9a7152bc5a1b1efb87cc51 | [
"Apache-2.0"
] | null | null | null | package postgres
import (
"encoding/binary"
"io"
"os"
"path"
"github.com/wal-g/tracelog"
)
const pgControlSize = 8192
// PgControlData represents data contained in pg_control file
type PgControlData struct {
systemIdentifier uint64 // systemIdentifier represents system ID of PG cluster (f.e. [0-8] bytes in pg... | 25.613333 | 129 | 0.744925 |
9d3a456c6da094b63549d8b5cd87e415a27671d5 | 5,758 | html | HTML | user_guide/installation/upgrade_b11.html | virgenherrera/DescubreTapalpa1 | 06e590e87b00cb9837501f55e6fa343f1cf29fa3 | [
"MIT"
] | null | null | null | user_guide/installation/upgrade_b11.html | virgenherrera/DescubreTapalpa1 | 06e590e87b00cb9837501f55e6fa343f1cf29fa3 | [
"MIT"
] | 1 | 2019-06-02T10:56:16.000Z | 2019-06-02T10:56:16.000Z | user_guide/installation/upgrade_b11.html | virgenherrera/DescubreTapalpa1 | 06e590e87b00cb9837501f55e6fa343f1cf29fa3 | [
"MIT"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Guía de Usuario del CodeIgniter</title... | 48.79661 | 406 | 0.678361 |
2871b5f025e8df7416eb25327d482022d3425faa | 3,046 | swift | Swift | Aurora/AppDelegate.swift | barrymcandrews/aurora-ios | 7b472dbb739bc995664ef82944ee5af6c4abe2fe | [
"BSD-2-Clause"
] | null | null | null | Aurora/AppDelegate.swift | barrymcandrews/aurora-ios | 7b472dbb739bc995664ef82944ee5af6c4abe2fe | [
"BSD-2-Clause"
] | null | null | null | Aurora/AppDelegate.swift | barrymcandrews/aurora-ios | 7b472dbb739bc995664ef82944ee5af6c4abe2fe | [
"BSD-2-Clause"
] | null | null | null | //
// AppDelegate.swift
// Aurora
//
// Created by Barry McAndrews on 3/23/17.
// Copyright © 2017 Barry McAndrews. All rights reserved.
//
let DEBUG = false
import UIKit
import AuroraCore
import Alamofire
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
... | 44.144928 | 285 | 0.714051 |