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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dc18f1ee07a5c61296acc97ab83c792001ab120a | 3,293 | lua | Lua | core/modules/menugen/init.lua | mak-alex/awesome-multicolor | e1966abd8223fa458b847a43d885af6c4b4eae34 | [
"MIT"
] | 1 | 2020-09-23T14:28:41.000Z | 2020-09-23T14:28:41.000Z | core/modules/menugen/init.lua | mak-alex/awesome-multicolor | e1966abd8223fa458b847a43d885af6c4b4eae34 | [
"MIT"
] | null | null | null | core/modules/menugen/init.lua | mak-alex/awesome-multicolor | e1966abd8223fa458b847a43d885af6c4b4eae34 | [
"MIT"
] | null | null | null | local FHMenuGen = {
_NAME = "FH-MenuGen",
_VERSION = 'FH-MenuGen v0.1.0-rc1',
_URL = 'https://bitbucket.org/enlab/menugen',
_MAIL = 'flashhacker1988@gmail.com',
_LICENSE = [[
MIT LICENSE
Copyright (c) 2015 Mikhailenko Alexandr Konstantinovich (a.k.a) Alex M.A.K
Permission is hereby granted, free o... | 40.158537 | 89 | 0.682053 |
e697a1fb4985679bea105bd73c484b8573415f9d | 469 | tab | SQL | www/bases-examples_Linux/unimarc/def/en/charset.tab | mdama003/ABCD2 | b5f93be122791ab690a4d5954a3ec866196413a5 | [
"Unlicense"
] | null | null | null | www/bases-examples_Linux/unimarc/def/en/charset.tab | mdama003/ABCD2 | b5f93be122791ab690a4d5954a3ec866196413a5 | [
"Unlicense"
] | null | null | null | www/bases-examples_Linux/unimarc/def/en/charset.tab | mdama003/ABCD2 | b5f93be122791ab690a4d5954a3ec866196413a5 | [
"Unlicense"
] | null | null | null | 01|ISO 646, IRV version (basic Latin set)
02|ISO Registration # 37 (basic Cyrillic set)
03|ISO 5426 (extended Latin set)
04|ISO 5427 (extended Cyrillic set)
05|ISO 5428 (Greek set)
06|ISO 6438 (African coded character set)
07|ISO 10586 (Georgian set)
08|ISO 8957 (Hebrew set) Table 1
09|ISO 8957 (Hebrew set) Tab... | 39.083333 | 90 | 0.744136 |
d9cd06cd6694469fef701dbffdc3da0d4444dae5 | 1,413 | rs | Rust | tests/all/import_indexes.rs | PLSysSec/wasmtime | 8082aeaa5f593d8f343c9e6f1cca111802732724 | [
"Apache-2.0"
] | 2 | 2020-07-09T12:09:23.000Z | 2020-10-22T15:43:15.000Z | tests/all/import_indexes.rs | PLSysSec/wasmtime | 8082aeaa5f593d8f343c9e6f1cca111802732724 | [
"Apache-2.0"
] | 4 | 2020-03-12T17:50:05.000Z | 2022-02-15T01:43:05.000Z | tests/all/import_indexes.rs | PLSysSec/wasmtime | 8082aeaa5f593d8f343c9e6f1cca111802732724 | [
"Apache-2.0"
] | 1 | 2022-03-20T18:43:00.000Z | 2022-03-20T18:43:00.000Z | use wasmtime::*;
#[test]
fn same_import_names_still_distinct() -> anyhow::Result<()> {
const WAT: &str = r#"
(module
(import "" "" (func $a (result i32)))
(import "" "" (func $b (result f32)))
(func (export "foo") (result i32)
call $a
call $b
i32.trunc_f32_u
i32.add)
)
"#;
let store ... | 25.690909 | 66 | 0.457891 |
71bd4a22c82a7fb2b13a5486b117161537012867 | 203 | ts | TypeScript | example/functions/src/firebase_functions/models/addtion_request.model.ts | gpfister/firebase-emulator-unit-test | 1f120dbcf2c1b09e558df24bc059dc8bd12a335d | [
"MIT"
] | null | null | null | example/functions/src/firebase_functions/models/addtion_request.model.ts | gpfister/firebase-emulator-unit-test | 1f120dbcf2c1b09e558df24bc059dc8bd12a335d | [
"MIT"
] | 1 | 2021-12-28T17:21:39.000Z | 2021-12-28T17:21:39.000Z | example/functions/src/firebase_functions/models/addtion_request.model.ts | gpfister/firebase-emulator-unit-test | 1f120dbcf2c1b09e558df24bc059dc8bd12a335d | [
"MIT"
] | null | null | null | /**
* gp-firebase-emulator-unit-test/example/functions
*
* @author Greg PFISTER
* @license MIT
* @copyright (C) 2021, Greg PFISTER
*/
export type GPAdditionRequest = {
a: number;
b: number;
}
| 15.615385 | 51 | 0.665025 |
c3ddef5a6b161e1102aadc7eebd83d9d14e64105 | 274 | kt | Kotlin | src/main/kotlin/me/steven/indrev/items/tools/IRBasicSword.kt | shartte/Industrial-Revolution | 30788828c27fed357555ec8caa92612f9bf1cbd4 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/me/steven/indrev/items/tools/IRBasicSword.kt | shartte/Industrial-Revolution | 30788828c27fed357555ec8caa92612f9bf1cbd4 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/me/steven/indrev/items/tools/IRBasicSword.kt | shartte/Industrial-Revolution | 30788828c27fed357555ec8caa92612f9bf1cbd4 | [
"Apache-2.0"
] | null | null | null | package me.steven.indrev.items.tools
import net.minecraft.item.SwordItem
import net.minecraft.item.ToolMaterial
class IRBasicSword(material: ToolMaterial, attackDamage: Int, attackSpeed: Float, settings: Settings) : SwordItem(material, attackDamage, attackSpeed, settings) | 45.666667 | 160 | 0.832117 |
296bfafad9ff8c7a18b0d6faac1d434f8d555762 | 11,080 | asm | Assembly | 2.asm | AsadKhalil/Assembly_x86 | 48aa2a0ab93fd359f5f20369bb9064052c2f2884 | [
"MIT"
] | null | null | null | 2.asm | AsadKhalil/Assembly_x86 | 48aa2a0ab93fd359f5f20369bb9064052c2f2884 | [
"MIT"
] | null | null | null | 2.asm | AsadKhalil/Assembly_x86 | 48aa2a0ab93fd359f5f20369bb9064052c2f2884 | [
"MIT"
] | null | null | null | [org 0x0100]
jmp start
;each queue has a size of 32 words = 64 bytes = 512 bits
Queue: times 512 dw 0
flag: dw 0 ;each bit of the flag is used to represent the state
;of the corresponding flag
;=========================================
;qcreate function returns the queue number
;if it finds a ... | 13.628536 | 76 | 0.562906 |
0ee622d8634aeb9000e2c294eac997e0191113bc | 1,017 | ts | TypeScript | src/modules/articles/useCases/createArticle/CreateArticleUseCase.ts | joao96/space-flight-news-challenge | 077a47c4ee73cdde6ef7f38f7bee1a5a6d4b8f00 | [
"MIT"
] | 1 | 2022-01-30T23:33:37.000Z | 2022-01-30T23:33:37.000Z | src/modules/articles/useCases/createArticle/CreateArticleUseCase.ts | joao96/space-flight-news-challenge | 077a47c4ee73cdde6ef7f38f7bee1a5a6d4b8f00 | [
"MIT"
] | null | null | null | src/modules/articles/useCases/createArticle/CreateArticleUseCase.ts | joao96/space-flight-news-challenge | 077a47c4ee73cdde6ef7f38f7bee1a5a6d4b8f00 | [
"MIT"
] | null | null | null | import { Article } from '@prisma/client';
import { AppError } from '../../../../errors/AppError';
import { ArticlesRepository } from '../../repositories/implementations/ArticlesRepository';
class CreateArticleUseCase {
private articlesRepository: ArticlesRepository;
constructor() {
this.articlesRepository = ... | 24.804878 | 91 | 0.695182 |
738b966c76b284259b7a5374a96806ec9f0e9678 | 1,807 | rs | Rust | src/policy/expiration.rs | florianeichin/aerospike-client-rust | 5c47d46ad30fe17955ee880eb113b01a7aadb4b7 | [
"Apache-2.0"
] | null | null | null | src/policy/expiration.rs | florianeichin/aerospike-client-rust | 5c47d46ad30fe17955ee880eb113b01a7aadb4b7 | [
"Apache-2.0"
] | null | null | null | src/policy/expiration.rs | florianeichin/aerospike-client-rust | 5c47d46ad30fe17955ee880eb113b01a7aadb4b7 | [
"Apache-2.0"
] | null | null | null | // Copyright 2015-2018 Aerospike, Inc.
//
// Portions may be licensed to Aerospike, Inc. under one or more contributor
// license agreements.
//
// 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 ... | 36.14 | 98 | 0.696735 |
20e8768eb01ece26dbcdd8a6181de3f4950e34a8 | 7,243 | css | CSS | docs/css/common.css | iongion/podman-desktop-companion | be572969d801e30d4d28f5953b29d792ba130b28 | [
"MIT"
] | 309 | 2021-12-06T16:04:59.000Z | 2022-03-31T22:14:15.000Z | docs/css/common.css | iongion/podman-desktop-companion | be572969d801e30d4d28f5953b29d792ba130b28 | [
"MIT"
] | 7 | 2021-12-10T14:03:25.000Z | 2022-03-28T14:20:45.000Z | docs/css/common.css | iongion/podman-desktop-companion | be572969d801e30d4d28f5953b29d792ba130b28 | [
"MIT"
] | 12 | 2021-12-06T16:19:49.000Z | 2022-02-18T18:44:39.000Z | html,
body {
margin: 0;
padding: 0;
}
.navbar {
padding-top: 30px;
display: flex;
justify-content: space-between;
text-align: center;
}
.logo {
height: 70px;
margin-left: 30px;
}
.header-buttons {
margin-right: 30px;
display: flex;
align-items: center;
}
.header-buttons .github-button-containe... | 15.026971 | 42 | 0.658567 |
84f684cd53164418c3333105cab0f82d1eb3f1fb | 3,885 | swift | Swift | Tests/SUSpotlightImporterTest.swift | alfwatt/Sparkle | 3a5c620b60f483b71f8c28573ac29bf85fda6193 | [
"BSD-2-Clause"
] | 1 | 2016-09-19T18:29:58.000Z | 2016-09-19T18:29:58.000Z | Tests/SUSpotlightImporterTest.swift | alfwatt/Sparkle | 3a5c620b60f483b71f8c28573ac29bf85fda6193 | [
"BSD-2-Clause"
] | null | null | null | Tests/SUSpotlightImporterTest.swift | alfwatt/Sparkle | 3a5c620b60f483b71f8c28573ac29bf85fda6193 | [
"BSD-2-Clause"
] | null | null | null | //
// SUSpotlightImporterTest.swift
// Sparkle
//
// Created by Mayur Pawashe on 8/27/16.
// Copyright © 2016 Sparkle Project. All rights reserved.
//
import XCTest
class SUSpotlightImporterTest: XCTestCase
{
func testUpdatingSpotlightBundles()
{
let fileManager = SUFileManager.defaultManager()
... | 63.688525 | 184 | 0.772201 |
c10be6166c599b50506c57e4f78d2ade88791ebe | 4,772 | rs | Rust | src/lib.rs | chrislearn/stripe-rs | 3a80928395e1deb3c57dfd55082a0e43ee5d22e0 | [
"Apache-2.0",
"MIT"
] | 203 | 2018-09-26T21:17:53.000Z | 2022-03-29T11:30:22.000Z | src/lib.rs | chrislearn/stripe-rs | 3a80928395e1deb3c57dfd55082a0e43ee5d22e0 | [
"Apache-2.0",
"MIT"
] | 136 | 2018-09-26T21:37:06.000Z | 2022-02-27T19:48:56.000Z | src/lib.rs | chrislearn/stripe-rs | 3a80928395e1deb3c57dfd55082a0e43ee5d22e0 | [
"Apache-2.0",
"MIT"
] | 99 | 2018-09-27T18:16:25.000Z | 2022-03-26T22:46:03.000Z | // Copyright 2019 Wyyerd Group, LLC.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except accord... | 36.151515 | 104 | 0.665339 |
84edefe29c4aee1d848afb14ee56a569f612c606 | 7,526 | h | C | MineSweeper/Helpers/WLNetworking/Request/WLRequest.h | liuwu/MineSweeper | 3e3cecda376d14bbbfc600e9f5d98744b960e3b8 | [
"MIT"
] | 1 | 2021-06-19T14:59:18.000Z | 2021-06-19T14:59:18.000Z | MineSweeper/Helpers/WLNetworking/Request/WLRequest.h | liuwu/MineSweeper | 3e3cecda376d14bbbfc600e9f5d98744b960e3b8 | [
"MIT"
] | null | null | null | MineSweeper/Helpers/WLNetworking/Request/WLRequest.h | liuwu/MineSweeper | 3e3cecda376d14bbbfc600e9f5d98744b960e3b8 | [
"MIT"
] | null | null | null | //
// WLRequest.h
// Welian_MVP
//
// Created by weLian on 16/7/2.
// Copyright © 2016年 杭州传送门网络科技有限公司. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "WLNetworkingConfiguration.h"
#import "WLRequestCriteria.h"
/// 接口返回状态类型
typedef NS_ENUM(NSUInteger, WLNetWorkingResultStateType) {
/// -----... | 26.97491 | 119 | 0.698645 |
3fad05f02cc2f8efeb8e7912c8b6da761beb0468 | 105 | c | C | src/mul_two_ints.c | ztaye3/cython_catkin_example-master | 728e91d7977f929c09929bf05a9c3f9a9b5898d6 | [
"MIT"
] | 10 | 2016-06-26T07:47:12.000Z | 2022-03-25T01:28:27.000Z | src/mul_two_ints.c | ztaye3/cython_catkin_example-master | 728e91d7977f929c09929bf05a9c3f9a9b5898d6 | [
"MIT"
] | 3 | 2019-01-26T03:33:37.000Z | 2020-06-19T10:44:12.000Z | src/mul_two_ints.c | ztaye3/cython_catkin_example-master | 728e91d7977f929c09929bf05a9c3f9a9b5898d6 | [
"MIT"
] | 2 | 2018-08-24T01:15:43.000Z | 2020-09-16T21:26:02.000Z | #include <stdio.h>
int c_mul_two_ints(int a, int b)
{
printf("This is C version.\n");
return a*b;
}
| 13.125 | 33 | 0.638095 |
0ee0b5af07ec54165443fb1c7b8ca38f12457362 | 265 | ts | TypeScript | core/lib/node/globals.ts | fossabot/DeskGap | 5906c469cb1e1a0002ae0089bf75bb51fe5f1115 | [
"MIT"
] | null | null | null | core/lib/node/globals.ts | fossabot/DeskGap | 5906c469cb1e1a0002ae0089bf75bb51fe5f1115 | [
"MIT"
] | null | null | null | core/lib/node/globals.ts | fossabot/DeskGap | 5906c469cb1e1a0002ae0089bf75bb51fe5f1115 | [
"MIT"
] | null | null | null | import { BrowserWindow } from './browser-window';
import { WebView } from './webview';
export default {
browserWindowsById: new Map<number, BrowserWindow>(),
webViewsById: new Map<number, WebView>(),
focusedBrowserWindow: <BrowserWindow | null>null
};
| 29.444444 | 57 | 0.709434 |
744a8c38ca6732190cb1805aa545933999eb1dc4 | 15,150 | h | C | c/include/libsbp/v4/settings/MSG_SETTINGS_READ_BY_INDEX_RESP.h | Patrick-Luo-THR/libsbp | d42e4a1e3cedf6a82b1d993b82e0da148401f80d | [
"MIT"
] | 65 | 2015-03-25T10:28:10.000Z | 2022-02-24T12:36:49.000Z | c/include/libsbp/v4/settings/MSG_SETTINGS_READ_BY_INDEX_RESP.h | Patrick-Luo-THR/libsbp | d42e4a1e3cedf6a82b1d993b82e0da148401f80d | [
"MIT"
] | 654 | 2015-03-24T17:43:55.000Z | 2022-03-31T21:42:49.000Z | c/include/libsbp/v4/settings/MSG_SETTINGS_READ_BY_INDEX_RESP.h | Patrick-Luo-THR/libsbp | d42e4a1e3cedf6a82b1d993b82e0da148401f80d | [
"MIT"
] | 110 | 2015-03-24T17:38:35.000Z | 2022-03-21T02:05:19.000Z | /*
* Copyright (C) 2015-2021 Swift Navigation Inc.
* Contact: https://support.swiftnav.com
*
* This source is subject to the license found in the file 'LICENSE' which must
* be be distributed together with this source. All other rights reserved.
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY ... | 37.5 | 80 | 0.771221 |
f77ed317e9b700c9b9cd21a15a0ddf343319bc44 | 222 | h | C | ProfessionalC++/MilesEstimator/MilesEstimator.h | zzragida/CppExamples | d627b097efc04209aa4012f7b7f9d82858da3f2d | [
"Apache-2.0"
] | null | null | null | ProfessionalC++/MilesEstimator/MilesEstimator.h | zzragida/CppExamples | d627b097efc04209aa4012f7b7f9d82858da3f2d | [
"Apache-2.0"
] | null | null | null | ProfessionalC++/MilesEstimator/MilesEstimator.h | zzragida/CppExamples | d627b097efc04209aa4012f7b7f9d82858da3f2d | [
"Apache-2.0"
] | null | null | null | #include <iostream>
class MilesEstimator
{
public:
virtual int getMilesLeft();
virtual void setGallonsLeft(int inValue);
virtual int getGallonsLeft();
private:
int mGallonsLeft;
virtual int getMilesPerGallon();
};
| 14.8 | 42 | 0.765766 |
09fc53982532bfcccedd06b5731efb63d599009d | 409 | kt | Kotlin | 11-exceptions/src/com/jjh/android/lib/Genre.kt | johnehunt/kotlin-custom-course | 9ea100a20c37a3e102d6ee2a7cc3c6c5b1cffafb | [
"Apache-2.0"
] | 1 | 2021-05-16T10:24:32.000Z | 2021-05-16T10:24:32.000Z | 11-exceptions/src/com/jjh/android/lib/Genre.kt | johnehunt/kotlin-custom-course | 9ea100a20c37a3e102d6ee2a7cc3c6c5b1cffafb | [
"Apache-2.0"
] | null | null | null | 11-exceptions/src/com/jjh/android/lib/Genre.kt | johnehunt/kotlin-custom-course | 9ea100a20c37a3e102d6ee2a7cc3c6c5b1cffafb | [
"Apache-2.0"
] | null | null | null | package com.jjh.android.lib
sealed class Genre
object Fiction : Genre() {
override fun toString() = "Fiction"
}
object Technical : Genre() {
override fun toString() = "Technical"
}
object History : Genre() {
override fun toString() = "History"
}
object Detective : Genre() {
override fun toString() ... | 17.782609 | 41 | 0.662592 |
534cf1bfc92a5308416c721d422f0e934abaf364 | 360 | kt | Kotlin | app/src/main/java/com/kroraina/easyreader/modules/rank/detail/RankDetailContract.kt | xincubate/EasyReader | 10d5dd563dfb1010c7c6a3e8d9c893de7b20c1cb | [
"MIT"
] | 6 | 2018-11-14T16:49:12.000Z | 2021-01-06T11:33:22.000Z | app/src/main/java/com/kroraina/easyreader/modules/rank/detail/RankDetailContract.kt | xincubate/EasyReader | 10d5dd563dfb1010c7c6a3e8d9c893de7b20c1cb | [
"MIT"
] | null | null | null | app/src/main/java/com/kroraina/easyreader/modules/rank/detail/RankDetailContract.kt | xincubate/EasyReader | 10d5dd563dfb1010c7c6a3e8d9c893de7b20c1cb | [
"MIT"
] | null | null | null | package com.kroraina.easyreader.modules.rank.detail
import com.kroraina.easyreader.base.mvp.BaseContract
interface RankDetailContract {
interface View : BaseContract.BaseView {
fun finishRefresh(beans: List<RankDetailBean>)
}
interface Presenter : BaseContract.BasePresenter<View> {
fun r... | 24 | 60 | 0.744444 |
560560dcd759b32c2f509da2d00f057262f3a888 | 409 | lua | Lua | scripts/level/seafarer.lua | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | 60 | 2019-08-21T04:08:41.000Z | 2022-03-10T13:48:04.000Z | scripts/level/seafarer.lua | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 3 | 2021-03-18T15:11:14.000Z | 2021-10-20T12:13:07.000Z | scripts/level/seafarer.lua | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 8 | 2019-11-16T06:29:05.000Z | 2022-01-23T17:33:43.000Z | require('level')
-- Hardy men and women of the sea, they are able to weather storms better
-- than most.
local function seafarer_stat_gain_fn(creature_id, level)
if level % 5 == 0 then
incr_hea(creature_id, is_player(creature_id))
end
end
-- Set up the seafarer functions.
local seafarer_class_stat_fn = seafar... | 25.5625 | 73 | 0.782396 |
cb2f42f878a7958daa1c5c1d3eb043accdccdc02 | 105 | h | C | src/oglTools.h | DinosaurBlanket/GlPersistentMapTest | 049bd95a26f8d1b7fcbfe7aeff1276e9ac9e9bed | [
"MIT"
] | null | null | null | src/oglTools.h | DinosaurBlanket/GlPersistentMapTest | 049bd95a26f8d1b7fcbfe7aeff1276e9ac9e9bed | [
"MIT"
] | null | null | null | src/oglTools.h | DinosaurBlanket/GlPersistentMapTest | 049bd95a26f8d1b7fcbfe7aeff1276e9ac9e9bed | [
"MIT"
] | null | null | null |
GLuint createShaderProgram(
const char *vertPath,
const char *fragPath,
const char *progName
);
| 15 | 27 | 0.72381 |
41803308bb1a2eb2795fa1dd6a63783f84773555 | 221 | h | C | base/mvdm/softpc.new/base/ccpu386/bound.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | base/mvdm/softpc.new/base/ccpu386/bound.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | base/mvdm/softpc.new/base/ccpu386/bound.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*
bound.h
Define all BOUND CPU functions.
*/
/*
static char SccsID[]="@(#)bound.h 1.4 02/09/94";
*/
IMPORT VOID BOUND
IPT3(
IU32, op1,
IU32, op2[2],
IUM8, op_sz
);
| 11.631579 | 52 | 0.475113 |
357e2075c1ba2bc376295cdd8f8bff7b151585d1 | 1,391 | lua | Lua | modules/Mutex/Mutex.lua | Anaminus/roblox-library | 64fb523224fd72fefadd572d252b867254b1872a | [
"Unlicense"
] | 31 | 2020-03-30T05:44:17.000Z | 2022-02-07T06:57:16.000Z | modules/Mutex/Mutex.lua | Anaminus/roblox-library | 64fb523224fd72fefadd572d252b867254b1872a | [
"Unlicense"
] | 2 | 2020-08-17T11:29:11.000Z | 2021-12-13T18:04:13.000Z | modules/Mutex/Mutex.lua | Anaminus/roblox-library | 64fb523224fd72fefadd572d252b867254b1872a | [
"Unlicense"
] | 6 | 2020-07-29T21:04:01.000Z | 2021-09-09T03:01:40.000Z | --@sec: Mutex
--@def: function Mutex(): Mutex
--@doc: Mutex is a mutual exclusion lock.
local Mutex = {__index={}}
--@sec: Mutex.Lock
--@def: function Mutex:Lock()
--@doc: Lock locks the mutex. If the lock is already in use, then the calling
-- thread is blocked until the lock is available.
function Mutex.__index:Lock... | 27.82 | 80 | 0.700935 |
4d4ba4467fd38bde6c822c8665523d4cccde4749 | 129 | sql | SQL | db/seeds.sql | m-fiks/burger | 34f6583d07b945f2ce47f32a77a616053c6abf32 | [
"MIT"
] | null | null | null | db/seeds.sql | m-fiks/burger | 34f6583d07b945f2ce47f32a77a616053c6abf32 | [
"MIT"
] | null | null | null | db/seeds.sql | m-fiks/burger | 34f6583d07b945f2ce47f32a77a616053c6abf32 | [
"MIT"
] | null | null | null | INSERT INTO burgers (burger_name, devoured)
VALUES ("Basic", true),
("Cheesy", true),
("Hamsterdam", false),
("Baconator", false) | 25.8 | 43 | 0.697674 |
01aa2a8d6b22dd42a8752159f27724ba399a2d34 | 39,059 | sql | SQL | storage/database/geonames/countries/kp.sql | longtime55/5on6.pl | 6d107f48862bd565b41bbc50c6b60b21e4121b5d | [
"MIT"
] | null | null | null | storage/database/geonames/countries/kp.sql | longtime55/5on6.pl | 6d107f48862bd565b41bbc50c6b60b21e4121b5d | [
"MIT"
] | null | null | null | storage/database/geonames/countries/kp.sql | longtime55/5on6.pl | 6d107f48862bd565b41bbc50c6b60b21e4121b5d | [
"MIT"
] | null | null | null | -- MySQL dump 10.13 Distrib 5.6.35, for osx10.9 (x86_64)
--
-- Host: localhost Database: laraclassified
-- ------------------------------------------------------
-- Server version 5.6.35
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULT... | 116.247024 | 218 | 0.672009 |
65192f76bf69dd1b91580c7c3d8c5be7720e2e54 | 410 | py | Python | peerplays/blockchainobject.py | farisshajahan/python-peerplays | 260e43d39307554f5c35574fe7a6f5451a51697f | [
"MIT"
] | 10 | 2019-03-14T03:09:42.000Z | 2021-03-17T10:20:05.000Z | peerplays/blockchainobject.py | farisshajahan/python-peerplays | 260e43d39307554f5c35574fe7a6f5451a51697f | [
"MIT"
] | 8 | 2019-04-02T17:07:20.000Z | 2020-04-30T08:24:01.000Z | peerplays/blockchainobject.py | farisshajahan/python-peerplays | 260e43d39307554f5c35574fe7a6f5451a51697f | [
"MIT"
] | 4 | 2019-04-02T17:00:22.000Z | 2021-08-09T11:28:20.000Z | # -*- coding: utf-8 -*-
from .instance import BlockchainInstance
from graphenecommon.blockchainobject import (
BlockchainObject as GrapheneBlockchainObject,
BlockchainObjects as GrapheneBlockchainObjects,
ObjectCache,
)
@BlockchainInstance.inject
class BlockchainObject(GrapheneBlockchainObject):
pass
... | 22.777778 | 51 | 0.807317 |
cbbc09eb52ee7284bfb474e794a9731810c0db62 | 1,211 | go | Go | device/edison_posix.go | xshellinc/iotit | 42f4cdaafd3fdc378c6e4461889ae1cf2575f57e | [
"Apache-2.0"
] | 33 | 2017-03-04T05:15:20.000Z | 2022-03-26T06:20:58.000Z | device/edison_posix.go | xshellinc/iotit | 42f4cdaafd3fdc378c6e4461889ae1cf2575f57e | [
"Apache-2.0"
] | 88 | 2017-02-07T05:57:42.000Z | 2021-07-26T22:59:42.000Z | device/edison_posix.go | xshellinc/iotit | 42f4cdaafd3fdc378c6e4461889ae1cf2575f57e | [
"Apache-2.0"
] | 1 | 2017-10-17T06:57:28.000Z | 2017-10-17T06:57:28.000Z | // +build !windows
package device
import (
"fmt"
"os"
"time"
log "github.com/sirupsen/logrus"
"github.com/xshellinc/iotit/device/config"
"github.com/xshellinc/iotit/vbox"
"github.com/xshellinc/tools/dialogs"
"github.com/xshellinc/tools/lib/help"
)
func (d *edison) Prepare() error {
if err := d.flasher.Prep... | 19.852459 | 87 | 0.646573 |
8aecda61a11ff3fe2f5c3869da0d5b466a2cbe59 | 2,424 | kt | Kotlin | src/main/kotlin/cn/authing/core/mgmt/WhitelistManagementClient.kt | leacode/authing-java-sdk | 1f070aa067029bfd421bbb1a197cf37bde81a39f | [
"MIT"
] | 9 | 2020-03-28T18:47:25.000Z | 2022-03-10T07:46:49.000Z | src/main/kotlin/cn/authing/core/mgmt/WhitelistManagementClient.kt | leacode/authing-java-sdk | 1f070aa067029bfd421bbb1a197cf37bde81a39f | [
"MIT"
] | 12 | 2019-06-24T13:41:27.000Z | 2022-03-11T10:59:10.000Z | src/main/kotlin/cn/authing/core/mgmt/WhitelistManagementClient.kt | leacode/authing-java-sdk | 1f070aa067029bfd421bbb1a197cf37bde81a39f | [
"MIT"
] | 11 | 2018-07-14T06:12:00.000Z | 2022-03-03T08:30:25.000Z | package cn.authing.core.mgmt
import cn.authing.core.graphql.GraphQLCall
import cn.authing.core.graphql.GraphQLException
import cn.authing.core.graphql.GraphQLResponse
import cn.authing.core.types.*
import com.google.gson.reflect.TypeToken
/**
* 管理注册白名单
*/
class WhitelistManagementClient(private val client: Manageme... | 31.076923 | 118 | 0.643564 |
412f188dbc1b90d1d89641fad3a83d475ace69c7 | 1,338 | c | C | Project/C/project/public/tools/src/t_a2b/t_a2b_date.c | renwei-release/dave | 773301edd3bee6e7526e0d5587ff8af9f01e288f | [
"MIT"
] | null | null | null | Project/C/project/public/tools/src/t_a2b/t_a2b_date.c | renwei-release/dave | 773301edd3bee6e7526e0d5587ff8af9f01e288f | [
"MIT"
] | null | null | null | Project/C/project/public/tools/src/t_a2b/t_a2b_date.c | renwei-release/dave | 773301edd3bee6e7526e0d5587ff8af9f01e288f | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2022 Renwei
*
* This is a free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include "dave_base.h"
#include "dave_tools.h"
static s8 *
_t_a2b_date_str(s8 *date_str, ub date_len, DateStruct *pDate)
{
dave_snprintf(date_str... | 18.84507 | 72 | 0.690583 |
adbb7ab0739cb52283d1aa1f22a6e40d1e40f022 | 839 | rs | Rust | tools/changelog/src/stdout_tag_description_changelog.rs | lostinspiration/yew | e68060afa7421149f2d6aacace67c65c33e81fe5 | [
"Apache-2.0",
"MIT"
] | 8,292 | 2017-12-24T12:34:44.000Z | 2019-08-04T03:56:11.000Z | tools/changelog/src/stdout_tag_description_changelog.rs | lostinspiration/yew | e68060afa7421149f2d6aacace67c65c33e81fe5 | [
"Apache-2.0",
"MIT"
] | 504 | 2017-12-24T20:53:56.000Z | 2019-08-04T03:30:44.000Z | tools/changelog/src/stdout_tag_description_changelog.rs | lostinspiration/yew | e68060afa7421149f2d6aacace67c65c33e81fe5 | [
"Apache-2.0",
"MIT"
] | 349 | 2017-12-24T23:37:30.000Z | 2019-08-03T03:12:50.000Z | use std::io::{stdout, Write};
use anyhow::Result;
pub fn stdout_tag_description_changelog(fixes_logs: &[u8], features_logs: &[u8]) -> Result<()> {
let mut tag_changelog = Vec::new();
writeln!(tag_changelog, "# Changelog")?;
writeln!(tag_changelog)?;
if fixes_logs.is_empty() && features_logs.is_empty... | 25.424242 | 96 | 0.613826 |
6cdc253ebc5f5593dce8a5e239038e7723349db8 | 2,241 | sql | SQL | test.sql | Sabotage123/testYii2 | 6dcae435589353adafd05570876feed34647b888 | [
"BSD-3-Clause"
] | null | null | null | test.sql | Sabotage123/testYii2 | 6dcae435589353adafd05570876feed34647b888 | [
"BSD-3-Clause"
] | null | null | null | test.sql | Sabotage123/testYii2 | 6dcae435589353adafd05570876feed34647b888 | [
"BSD-3-Clause"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.0.10.10
-- http://www.phpmyadmin.net
--
-- Хост: 127.0.0.1:3306
-- Время создания: Дек 19 2016 г., 01:52
-- Версия сервера: 5.5.45
-- Версия PHP: 5.5.28
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT ... | 26.05814 | 117 | 0.65685 |
839861736ebaa7bd1564aa6b68d16b921df7b93e | 752 | swift | Swift | Sources/TraktSwift/Private classes/Resources/AuthResources.swift | martinpucik/TraktSwift | 5b9915d3869db0aed4cdbbf8d99dea62eb2c1377 | [
"MIT"
] | 1 | 2020-05-02T09:44:29.000Z | 2020-05-02T09:44:29.000Z | Sources/TraktSwift/Private classes/Resources/AuthResources.swift | martinpucik/TraktSwift | 5b9915d3869db0aed4cdbbf8d99dea62eb2c1377 | [
"MIT"
] | null | null | null | Sources/TraktSwift/Private classes/Resources/AuthResources.swift | martinpucik/TraktSwift | 5b9915d3869db0aed4cdbbf8d99dea62eb2c1377 | [
"MIT"
] | null | null | null | //
// AuthResources.swift
// TraktSwift
//
// Created by Martin Púčik on 24/05/2020.
//
import Foundation
extension Resource {
enum Auth {}
}
extension Resource.Auth {
static func generateDeviceCode(clientID: String) -> Resource {
Resource(path: "/oauth/device/code", method: .POST, parameters: ["c... | 27.851852 | 140 | 0.670213 |
74b5eb1be73800ead324953450343473c3236628 | 336 | js | JavaScript | src/lib/snapshot-processors/010_parser-alerts.js | saiyam1814/kubevious | b11b3ca49a30febc46920b83c876dcd56ee439f1 | [
"Apache-2.0"
] | null | null | null | src/lib/snapshot-processors/010_parser-alerts.js | saiyam1814/kubevious | b11b3ca49a30febc46920b83c876dcd56ee439f1 | [
"Apache-2.0"
] | null | null | null | src/lib/snapshot-processors/010_parser-alerts.js | saiyam1814/kubevious | b11b3ca49a30febc46920b83c876dcd56ee439f1 | [
"Apache-2.0"
] | null | null | null | module.exports = {
order: 10,
handler: ({logger, state}) => {
state.traverseNodes((dn, node) => {
var alerts = state.getAlerts(dn);
for(var alert of alerts)
{
alert.source = {
kind: 'parser'
};
}
... | 16.8 | 45 | 0.377976 |
0027c87fd47cc5026784618c1c25b10546379955 | 2,483 | lua | Lua | lua-client/spec/time_api_spec.lua | dowoge/strafes-net-clients | 3c5ba0b5e54501712e8f9121e818b5b80f9eab5b | [
"Unlicense"
] | null | null | null | lua-client/spec/time_api_spec.lua | dowoge/strafes-net-clients | 3c5ba0b5e54501712e8f9121e818b5b80f9eab5b | [
"Unlicense"
] | null | null | null | lua-client/spec/time_api_spec.lua | dowoge/strafes-net-clients | 3c5ba0b5e54501712e8f9121e818b5b80f9eab5b | [
"Unlicense"
] | null | null | null | --[[
StrafesNET Public API
### How to use To request an api key open a support request in the [issue tracker](https://issues.strafes.net/client/index.php#/types/3/issues). ### Default API request rate limits are as follows * 100 requests per minute * 3000 requests per hour ### Game IDs ``` 1 Bhop 2 Surf ``` ###... | 33.106667 | 384 | 0.703182 |
4154c1d7849b2da752e89f5b237532935106fdc4 | 1,849 | c | C | DSA/revAsingleLL.c | atig05/HACKTOBERFEST-2021 | a13b4a72c3c13760643f0f2aa4d5dcd8bf2c79dc | [
"MIT"
] | 2 | 2021-10-02T16:48:56.000Z | 2021-10-02T17:14:26.000Z | DSA/revAsingleLL.c | atig05/HACKTOBERFEST-2021 | a13b4a72c3c13760643f0f2aa4d5dcd8bf2c79dc | [
"MIT"
] | 3 | 2021-10-30T17:35:27.000Z | 2021-10-31T13:43:04.000Z | DSA/revAsingleLL.c | atig05/HACKTOBERFEST-2021 | a13b4a72c3c13760643f0f2aa4d5dcd8bf2c79dc | [
"MIT"
] | 4 | 2021-10-30T08:55:42.000Z | 2021-11-10T04:37:51.000Z | #include<stdio.h>
#include<stdlib.h>
struct Node
{
char data;
struct Node * link;
};
struct Node * head = NULL;
void Create()
{
int n;
struct Node *ptr, *Cptr;
printf("Enter the number of nodes: ");
scanf("%d",&n);
if(n == 0)
return;
ptr = (struct Node *)calloc(1,sizeof(struct... | 19.061856 | 75 | 0.541374 |
0ee1a5366ddfd02ca971942550aaa4db1357e45e | 8,856 | swift | Swift | CSRefresh/CSRefresh/CSRefreshHeaderView.swift | crash-wu/CSRefresher | 34ac1cf3f1632942f0dfd9a9d56d79eee3fdaa9a | [
"MIT"
] | null | null | null | CSRefresh/CSRefresh/CSRefreshHeaderView.swift | crash-wu/CSRefresher | 34ac1cf3f1632942f0dfd9a9d56d79eee3fdaa9a | [
"MIT"
] | null | null | null | CSRefresh/CSRefresh/CSRefreshHeaderView.swift | crash-wu/CSRefresher | 34ac1cf3f1632942f0dfd9a9d56d79eee3fdaa9a | [
"MIT"
] | null | null | null | //
// CSRefreshHeaderView.swift
// CSRefresh
//
// Created by 吴小星 on 16/6/3.
// Copyright © 2016年 crash. All rights reserved.
//
import UIKit
class CSRefreshHeaderView: CSRefreshBaseView {
//.=======================================//
// MARK: 最后更新时间 //
//==========================... | 31.971119 | 157 | 0.523035 |
8cb5ca9673700d888be3756b535271891c2f8b92 | 1,471 | sql | SQL | SQL/Lab1.sql | andrei-micuda/teme-fmi | d31c032c45e0e910d75fc05faab3681d421aac7c | [
"MIT"
] | 1 | 2020-06-07T09:45:17.000Z | 2020-06-07T09:45:17.000Z | SQL/Lab1.sql | micu01/teme-fmi | d31c032c45e0e910d75fc05faab3681d421aac7c | [
"MIT"
] | null | null | null | SQL/Lab1.sql | micu01/teme-fmi | d31c032c45e0e910d75fc05faab3681d421aac7c | [
"MIT"
] | 2 | 2020-04-09T19:27:36.000Z | 2020-06-28T17:45:14.000Z | --LAB 1
--a
DESCRIBE EMPLOYEES;
--c
SELECT * FROM EMPLOYEES;
--e
SELECT EMPLOYEE_ID, FIRST_NAME || ' ' || LAST_NAME AS NAME, JOB_ID, HIRE_DATE
FROM EMPLOYEES;
--f
SELECT LAST_NAME || ', ' || JOB_ID AS "Angajat si titlu"
FROM EMPLOYEES;
--g
SELECT EMPLOYEE_ID || ',' || FIRST_NAME || ',' || LAST_NAME || ',' || EMAIL ... | 20.71831 | 247 | 0.670972 |
5b4b54def1a93b161d88ba6d6ba2a33176a89f7c | 3,100 | c | C | CryptoPkg/Library/BaseCryptLibNull/Pk/CryptRsaBasicNull.c | KaoTuz/edk2-stable202108 | 49d9306e7bf64b2f07d8473be1f2faea49d0a012 | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | 9 | 2021-07-26T17:02:51.000Z | 2021-12-30T10:49:46.000Z | CryptoPkg/Library/BaseCryptLibNull/Pk/CryptRsaBasicNull.c | ESdove/edk2_exploring | 34ff32b45f43d233d9696e7c8e3de68ea3000a7b | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | null | null | null | CryptoPkg/Library/BaseCryptLibNull/Pk/CryptRsaBasicNull.c | ESdove/edk2_exploring | 34ff32b45f43d233d9696e7c8e3de68ea3000a7b | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | null | null | null | /** @file
RSA Asymmetric Cipher Wrapper Null Implementation.
This file implements following APIs which provide basic capabilities for RSA:
1) RsaNew
2) RsaFree
3) RsaSetKey
4) RsaPkcs1Verify
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent... | 25.409836 | 90 | 0.676452 |
ea311e4bd0560e4ffa887219be017d381094ad20 | 1,041 | swift | Swift | SwiftLog/Closure/main.swift | BigRhino/MyRhino | 661043d07226f7ede716c7983ad99daec1dd246c | [
"MIT"
] | null | null | null | SwiftLog/Closure/main.swift | BigRhino/MyRhino | 661043d07226f7ede716c7983ad99daec1dd246c | [
"MIT"
] | null | null | null | SwiftLog/Closure/main.swift | BigRhino/MyRhino | 661043d07226f7ede716c7983ad99daec1dd246c | [
"MIT"
] | 1 | 2018-12-18T06:46:31.000Z | 2018-12-18T06:46:31.000Z | //
// main.swift
// Closure
//
// Created by iMac on 2017/11/8.
// Copyright © 2017年 iMac. All rights reserved.
//
import Foundation
let volunteerCounts = [1,340,32,2,53,77,14]
func sortAsending(_ i:Int,_ j:Int) -> Bool{
return i < j
}
//print(volunteerCounts.sorted(by: sortAsending))
print(volunteerCount... | 16.265625 | 66 | 0.669549 |
7bce60de8c54315ce98038f299b0bf9219515292 | 1,043 | rb | Ruby | Chapter 09/circuit-oneops-1-master/components/cookbooks/compute/recipes/start.rb | PacktPublishing/Practical-OneOps | 74f7e3b60051101a5560a69523b25b9868cc5bec | [
"MIT"
] | 1 | 2018-04-11T20:26:13.000Z | 2018-04-11T20:26:13.000Z | Chapter 09/circuit-oneops-1-master/components/cookbooks/compute/recipes/start.rb | PacktPublishing/Practical-OneOps | 74f7e3b60051101a5560a69523b25b9868cc5bec | [
"MIT"
] | null | null | null | Chapter 09/circuit-oneops-1-master/components/cookbooks/compute/recipes/start.rb | PacktPublishing/Practical-OneOps | 74f7e3b60051101a5560a69523b25b9868cc5bec | [
"MIT"
] | 1 | 2019-12-25T15:54:18.000Z | 2019-12-25T15:54:18.000Z | # Copyright 2016, Walmart Stores, 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... | 29.8 | 74 | 0.738255 |
a194a3caee8d9b36967887da3041d164898f935d | 2,227 | c | C | NCGB/Compile/src/OBSOLETE2009/SFSGLoop.c | mcdeoliveira/NC | 54b2a81ebda9e5260328f88f83f56fe8cf472ac3 | [
"BSD-3-Clause"
] | 103 | 2016-09-21T06:01:23.000Z | 2022-03-27T06:52:10.000Z | NCGB/Compile/src/OBSOLETE2009/SFSGLoop.c | albinjames/NC | 157a55458931a18dd1f42478872c9df0de5cc450 | [
"BSD-3-Clause"
] | 11 | 2017-03-27T13:11:42.000Z | 2022-03-08T13:46:14.000Z | NCGB/Compile/src/OBSOLETE2009/SFSGLoop.c | albinjames/NC | 157a55458931a18dd1f42478872c9df0de5cc450 | [
"BSD-3-Clause"
] | 21 | 2017-06-23T09:01:21.000Z | 2022-02-18T06:24:00.000Z | // Mark Stankus 1999 (c)
// SFSGLoop.cpp
#include "GBInput.hpp"
#include "stringGB.hpp"
#include "Source.hpp"
#include "Sink.hpp"
#include "Command.hpp"
#include "SFSGRules.hpp"
#include "MyOstream.hpp"
#include "Names.hpp"
#include "Choice.hpp"
#ifdef HAS_INCLUDE_NO_DOTS
#include <list>
#else
#include <list.h>
#end... | 22.27 | 72 | 0.62775 |
5ac79f80d5342d525c7dd1fc1395c918597437e6 | 2,364 | rs | Rust | src/protocol/recieve.rs | 4t145/mirai-ws | 49b5200d7b7a597e8fd420c630a3386a4ff701a7 | [
"MIT"
] | 1 | 2021-09-12T03:21:16.000Z | 2021-09-12T03:21:16.000Z | src/protocol/recieve.rs | 4t145/mirai-ws | 49b5200d7b7a597e8fd420c630a3386a4ff701a7 | [
"MIT"
] | null | null | null | src/protocol/recieve.rs | 4t145/mirai-ws | 49b5200d7b7a597e8fd420c630a3386a4ff701a7 | [
"MIT"
] | null | null | null | use serde::Deserialize;
use crate::protocol::common::*;
#[derive(Deserialize, Debug)]
#[serde(rename_all = "PascalCase", tag="type")]
pub enum Msg {
#[serde(rename_all = "camelCase")]
FriendMessage {
sender: PersonalSender,
message_chain: Vec<MsgUnit>
},
#[serde(rename_all = "camelCase")... | 23.64 | 77 | 0.604061 |
716a3822f6c767d36c73a98235d88ae97605c8de | 3,637 | ts | TypeScript | packages/data-model/src/readable/access-consent.ts | samurex/sai-js | 182384b233514388de25954bb5628262fa792da9 | [
"MIT"
] | null | null | null | packages/data-model/src/readable/access-consent.ts | samurex/sai-js | 182384b233514388de25954bb5628262fa792da9 | [
"MIT"
] | null | null | null | packages/data-model/src/readable/access-consent.ts | samurex/sai-js | 182384b233514388de25954bb5628262fa792da9 | [
"MIT"
] | null | null | null | import { DataFactory } from 'n3';
import { Memoize } from 'typescript-memoize';
import { getAllMatchingQuads } from '@janeirodigital/interop-utils';
import { INTEROP } from '@janeirodigital/interop-namespaces';
import {
ReadableResource,
ReadableDataConsent,
ReadableAgentRegistry,
ReadableDataRegistry,
Readab... | 33.990654 | 117 | 0.712125 |
ddf676716d5cd3a547b0c4f7625613e0124c6e8b | 368 | c | C | examples/example.c | nailujx86/ESP8266_multipart | dd4c8d7fb7f3d28b78fffe843376209cb835af05 | [
"MIT"
] | 3 | 2020-08-16T09:12:12.000Z | 2021-06-02T17:01:40.000Z | examples/example.c | nailujx86/ESP8266_multipart | dd4c8d7fb7f3d28b78fffe843376209cb835af05 | [
"MIT"
] | null | null | null | examples/example.c | nailujx86/ESP8266_multipart | dd4c8d7fb7f3d28b78fffe843376209cb835af05 | [
"MIT"
] | null | null | null | #include<ESP8266_multipart.h>
ESP8266_multipart multipart("myexampleserver.com"); // Sets the host to myexampleserver.com and the port to 80
multipart.setPort(8772); // Sets the port to 8772
int status = multipart.sendFile("/path/to/send/data/to", fileObject);
/**
* status == 0 -> couldn't connect to server
* status... | 40.888889 | 110 | 0.730978 |
a17168dc028ac0442c6c08895f329b104cc5eb86 | 647 | c | C | lib/h2/xen/sysctl.c | sysml/chaos | 81e90ef9507e5ef9713dc15b49f9b3bc6461d74c | [
"BSD-3-Clause"
] | 8 | 2017-10-22T21:33:34.000Z | 2020-09-09T03:03:44.000Z | lib/h2/xen/sysctl.c | sysml/chaos | 81e90ef9507e5ef9713dc15b49f9b3bc6461d74c | [
"BSD-3-Clause"
] | 3 | 2017-10-27T16:39:03.000Z | 2021-02-01T03:24:40.000Z | lib/h2/xen/sysctl.c | sysml/chaos | 81e90ef9507e5ef9713dc15b49f9b3bc6461d74c | [
"BSD-3-Clause"
] | 4 | 2017-09-14T14:46:32.000Z | 2018-02-03T15:54:05.000Z | #include <h2/xen/sysctl.h>
#include <h2/xen/noxs.h>
int h2_xen_sysctl_create(h2_xen_ctx* ctx, h2_guest* guest, h2_xen_dev_sysctl* sysctl)
{
int ret = EINVAL;
#ifdef CONFIG_H2_XEN_NOXS
if (ctx->noxs.active && guest->hyp.guest.xen->noxs.active) {
ret = h2_xen_noxs_sysctl_create(ctx, guest, sysctl);
... | 21.566667 | 86 | 0.689335 |
0a27ff29e9b9936042dac65ae22685e109785dbc | 196 | ts | TypeScript | src/entities/Friendship.ts | danielpalmares/foodie-backend | b122ff452dbcb0759e1bc699a1fc5d80a23688e1 | [
"MIT"
] | null | null | null | src/entities/Friendship.ts | danielpalmares/foodie-backend | b122ff452dbcb0759e1bc699a1fc5d80a23688e1 | [
"MIT"
] | null | null | null | src/entities/Friendship.ts | danielpalmares/foodie-backend | b122ff452dbcb0759e1bc699a1fc5d80a23688e1 | [
"MIT"
] | null | null | null | export class Friendship {
public readonly friendship_id: string;
public user_id: string;
public friend_id: string;
constructor(props: Friendship) {
Object.assign(this, props);
}
}
| 17.818182 | 40 | 0.719388 |
9c143371e5916f505edae7f9cb3e57c3905e4d36 | 1,201 | tsx | TypeScript | src/components/LayerStack.tsx | yszk0123/layer | 39c3d52e821f7e9de58175ce098e079fdc96b549 | [
"MIT"
] | null | null | null | src/components/LayerStack.tsx | yszk0123/layer | 39c3d52e821f7e9de58175ce098e079fdc96b549 | [
"MIT"
] | null | null | null | src/components/LayerStack.tsx | yszk0123/layer | 39c3d52e821f7e9de58175ce098e079fdc96b549 | [
"MIT"
] | null | null | null | import React from 'react';
import { Box } from 'rebass';
import { Item, ItemPosition, EMPTY_STACK } from '../Stack';
import { Layer } from './Layer';
export function LayerStack({
stack,
onDropItem,
onDropLayer,
onAddLayer,
onRemoveLayer,
onAddItem,
onRemoveItem,
onUpdateText,
}: {
stack: Item[][];
... | 26.108696 | 69 | 0.588676 |
7423d521e2d2e8b66d7c3008d28851b19586f543 | 1,222 | rs | Rust | examples/traverse_comment_tree.rs | Hyde46/reddit_api_rs | 036010d95123a804a6f8100ced2d37b29c3260ec | [
"MIT"
] | 4 | 2020-07-24T10:59:17.000Z | 2021-08-31T15:27:42.000Z | src/bin.rs | Hyde46/reddit_api_rs | 036010d95123a804a6f8100ced2d37b29c3260ec | [
"MIT"
] | null | null | null | src/bin.rs | Hyde46/reddit_api_rs | 036010d95123a804a6f8100ced2d37b29c3260ec | [
"MIT"
] | null | null | null | extern crate rsreddit;
use rsreddit::client::Reddit;
use rsreddit::model::listing::Listing;
use rsreddit::model::listing::ListingCollection;
fn main() {
// Get Comment Tree for a thread by its permalink
let reddit = Reddit::default().build();
let tree = reddit
.thread_by_permalink("/r/rust/comment... | 29.095238 | 88 | 0.61293 |
c6c679ce5b85432a2f909cfb94f2037bad9f06cd | 395 | rb | Ruby | app.rb | smichaelrogers/play-alpha | 0e4affbb433279ea2d7b3c68420c6f22ea97184a | [
"MIT"
] | 1 | 2018-04-24T00:40:20.000Z | 2018-04-24T00:40:20.000Z | app.rb | smichaelrogers/play-alpha | 0e4affbb433279ea2d7b3c68420c6f22ea97184a | [
"MIT"
] | null | null | null | app.rb | smichaelrogers/play-alpha | 0e4affbb433279ea2d7b3c68420c6f22ea97184a | [
"MIT"
] | null | null | null | require 'rubygems'
require 'bundler'
Bundler.require(:default, (ENV['RACK_ENV'] || 'development').to_sym)
require './lib/alpha'
get '/' do
erb :index, layout: false
end
post '/search' do
content_type :json
@alpha = Alpha::Search.new
unless params[:fen] && @alpha.load_position(params[:fen])
@alpha.load_p... | 17.954545 | 68 | 0.691139 |
b8fce7bd545cb15a0aacbee18a9be1dc5f8f942b | 1,002 | sql | SQL | db/db(sql)/BACKGROUNDIMAGE.sql | whatsgirl/backend-platform | fd24cf661b11412a589e565fe364ad60b123b544 | [
"Apache-2.0"
] | 3 | 2018-05-11T08:41:07.000Z | 2018-05-11T09:09:21.000Z | db/db(sql)/BACKGROUNDIMAGE.sql | whatsgirl/backend-platform | fd24cf661b11412a589e565fe364ad60b123b544 | [
"Apache-2.0"
] | null | null | null | db/db(sql)/BACKGROUNDIMAGE.sql | whatsgirl/backend-platform | fd24cf661b11412a589e565fe364ad60b123b544 | [
"Apache-2.0"
] | null | null | null | INSERT INTO `BACKGROUNDIMAGE` (`BACKGROUNDIMAGE_ID`, `WIDTH`, `HEIGHT`, `IMAGEURL`, `IMAGEDESC`, `STATUS`) VALUES (1, 271, 134, 'background/gxzdhdd.jpg', NULL, '1');
INSERT INTO `BACKGROUNDIMAGE` (`BACKGROUNDIMAGE_ID`, `WIDTH`, `HEIGHT`, `IMAGEURL`, `IMAGEDESC`, `STATUS`) VALUES (2, 271, 134, 'background/gxzdhdd.jpg',... | 143.142857 | 166 | 0.688623 |
18bbf3347a85c5e48b9759d0b3b36a9b060a4bac | 430 | rb | Ruby | app/helpers/safe_params_helper.rb | Peerapat132/gitlabhq | 751217987b0782115140e4c2858d91a4b596463a | [
"MIT"
] | 2 | 2019-01-30T21:24:21.000Z | 2019-04-16T19:51:09.000Z | app/helpers/safe_params_helper.rb | Peerapat132/gitlabhq | 751217987b0782115140e4c2858d91a4b596463a | [
"MIT"
] | 42 | 2019-08-12T15:43:34.000Z | 2022-02-26T05:02:17.000Z | app/helpers/safe_params_helper.rb | Peerapat132/gitlabhq | 751217987b0782115140e4c2858d91a4b596463a | [
"MIT"
] | 1 | 2020-11-04T05:26:10.000Z | 2020-11-04T05:26:10.000Z | # frozen_string_literal: true
module SafeParamsHelper
# Rails 5.0 requires to permit `params` if they're used in url helpers.
# Use this helper when generating links with `params.merge(...)`
# rubocop: disable CodeReuse/ActiveRecord
def safe_params
if params.respond_to?(:permit!)
params.except(:host,... | 26.875 | 73 | 0.713953 |
ac9d002eb188da84367dad5a649a58583ef9db26 | 1,711 | kt | Kotlin | app/src/main/java/com/example/glidetest/api/Service.kt | dangkhai98nd/MovieApp | 7ebbeab3ca4637f8178f979750861d2d7972f49f | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/glidetest/api/Service.kt | dangkhai98nd/MovieApp | 7ebbeab3ca4637f8178f979750861d2d7972f49f | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/glidetest/api/Service.kt | dangkhai98nd/MovieApp | 7ebbeab3ca4637f8178f979750861d2d7972f49f | [
"Apache-2.0"
] | null | null | null | package com.example.glidetest.api
import com.example.glidetest.BuildConfig
import com.example.glidetest.Models.ApiImages
import com.example.glidetest.Models.ApiVideos
import com.example.retrofittest.Models.ApiMovies
import com.example.retrofittest.Models.Movie
import io.reactivex.Observable
import retrofit2.Call
impor... | 31.109091 | 75 | 0.656341 |
e512e7fa32f09455c84d01d97cac03bfafb49fd8 | 10,326 | kt | Kotlin | app/src/main/java/com/fisma/trinity/util/AppSettings.kt | linuxaddict89/trinitylauncher | 75941780de6bd356ba9321021abb9e44a4bdb38c | [
"Apache-2.0"
] | 1 | 2019-12-16T18:02:39.000Z | 2019-12-16T18:02:39.000Z | app/src/main/java/com/fisma/trinity/util/AppSettings.kt | linuxaddict89/trinitylauncher | 75941780de6bd356ba9321021abb9e44a4bdb38c | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/fisma/trinity/util/AppSettings.kt | linuxaddict89/trinitylauncher | 75941780de6bd356ba9321021abb9e44a4bdb38c | [
"Apache-2.0"
] | null | null | null | package com.fisma.trinity.util
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Color
import androidx.core.content.ContextCompat
import com.fisma.trinity.TrinityApplication
import com.fisma.trinity.R
import com.fisma.trinity.api.WeatherServiceProvider
import com.fisma.trin... | 34.535117 | 137 | 0.748596 |
fe0a25d8e63ab8935e62a6665f12857b6494817e | 4,139 | c | C | MAIN.c | incredible-India/stone-paper-game-in-c | d898d8b110fe3762d64efc2214a99f41a43c71d6 | [
"Apache-2.0"
] | 1 | 2020-11-24T07:20:07.000Z | 2020-11-24T07:20:07.000Z | MAIN.c | incredible-India/stone-paper-game-in-c | d898d8b110fe3762d64efc2214a99f41a43c71d6 | [
"Apache-2.0"
] | null | null | null | MAIN.c | incredible-India/stone-paper-game-in-c | d898d8b110fe3762d64efc2214a99f41a43c71d6 | [
"Apache-2.0"
] | null | null | null | #include<stdio.h>
#include<windows.h>
#include<conio.h>
#define ENTER 13
#define TAB 9
#define BKSP 8
#define ESC 27
void goback(void);
void instruct(void);
void gotoxy(int ,int);
void game(void);
int main()
{
char ch;
gotoxy(40,12);
system("color 0a");
printf("Welcome TO THIS GAME");
gotoxy(40,16);
p... | 18.986239 | 65 | 0.366755 |
c3293f1decd95f777d1b37dc6dd453265efab535 | 2,025 | rs | Rust | src/lib.rs | Kerndog73/The-Fat-Controller | b088f611c44bea76b0b92c40f094a7e9cc0004e5 | [
"Apache-2.0",
"MIT"
] | 28 | 2021-02-11T00:26:56.000Z | 2022-03-25T10:40:47.000Z | src/lib.rs | Kerndog73/The-Fat-Controller | b088f611c44bea76b0b92c40f094a7e9cc0004e5 | [
"Apache-2.0",
"MIT"
] | 4 | 2021-02-26T11:02:03.000Z | 2022-02-05T01:33:16.000Z | src/lib.rs | Kerndog73/The-Fat-Controller | b088f611c44bea76b0b92c40f094a7e9cc0004e5 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-02-27T04:39:01.000Z | 2021-02-27T04:39:01.000Z | //! The core of TFC is the [`Context`]. To start generating fake input events,
//! you'll need to create a context. The context by itself is basically useless
//! unless you import the [`traits`]. The trait methods return an [`Error`] if
//! something goes wrong. Bringing these three things together, we end up with
//!... | 28.928571 | 80 | 0.678025 |
2da1c0ec779633142c70b9d9c5abc3faaa7a078a | 4,868 | lua | Lua | authentication/players.lua | violencedev/cegui-authentication | c14f3db9aee44a8dd8dcb23070ae61055779637f | [
"MIT"
] | 5 | 2021-12-19T19:36:43.000Z | 2022-02-14T18:24:32.000Z | authentication/players.lua | violencedev/cegui-authentication | c14f3db9aee44a8dd8dcb23070ae61055779637f | [
"MIT"
] | null | null | null | authentication/players.lua | violencedev/cegui-authentication | c14f3db9aee44a8dd8dcb23070ae61055779637f | [
"MIT"
] | 1 | 2021-12-29T23:36:00.000Z | 2021-12-29T23:36:00.000Z |
local db = exports["database"]:getConnection()
addEventHandler('onPlayerJoin', root, function()
outputChatBox('#0000FF[!] #FFFFFFSunucuya hoş geldiniz!', source, 0, 255, 0, true)
spawnPlayer(source, 0, 5, 0)
fadeCamera(source, true, 12)
triggerClientEvent(source, 'logIn:interface', source)
... | 38.330709 | 189 | 0.63106 |
9bad7b6079436b1561d1aab348d9fbd5964d8686 | 8,011 | js | JavaScript | scan-service.js | Reshift-Security/npm_plugin | 64790ac0cf1056a8f0ce00a5c0ab61716c78144d | [
"MIT"
] | null | null | null | scan-service.js | Reshift-Security/npm_plugin | 64790ac0cf1056a8f0ce00a5c0ab61716c78144d | [
"MIT"
] | 2 | 2021-06-17T11:43:03.000Z | 2021-06-17T15:51:25.000Z | scan-service.js | Reshift-Security/npm_plugin | 64790ac0cf1056a8f0ce00a5c0ab61716c78144d | [
"MIT"
] | 1 | 2021-06-17T03:21:25.000Z | 2021-06-17T03:21:25.000Z | 'use strict';
const fs = require('fs');
const request = require('request').defaults({
followRedirect: true,
followAllRedirects: true,
jar:true
});
const urljoin = require('url-join');
const assert = require('assert');
const util = require('util');
const validUrl = require('valid-url');
const prettyMillis... | 41.293814 | 128 | 0.541006 |
cb5f84b19fd3c7aca86264e618fb3f2fe4751836 | 1,470 | h | C | src/io/MagicData/FileReader.h | mrchipset/Xuan-Wu | 0d01b9350a86e0f08f2213bc4edd134e3af2174d | [
"Apache-2.0"
] | null | null | null | src/io/MagicData/FileReader.h | mrchipset/Xuan-Wu | 0d01b9350a86e0f08f2213bc4edd134e3af2174d | [
"Apache-2.0"
] | null | null | null | src/io/MagicData/FileReader.h | mrchipset/Xuan-Wu | 0d01b9350a86e0f08f2213bc4edd134e3af2174d | [
"Apache-2.0"
] | null | null | null | #ifndef IO_MAGIC_FILE_READER_H
#define IO_MAGIC_FILE_READER_H
#include "api.h"
#include <iostream>
#include <filesystem>
#include <fstream>
#include <exception>
#include <string>
#include <vector>
#include "FileShared.h"
namespace XuanWu
{
class XUANWU_API FileReader
{
public:
FileReader();
virtual ~File... | 25.344828 | 86 | 0.74966 |
3ba67922b016157239ba5a32f517dd53cc875634 | 181 | h | C | qdata/include/util/Stream_Encoder.h | jeanleflambeur/silkopter | cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8 | [
"BSD-3-Clause"
] | 36 | 2015-03-09T16:47:14.000Z | 2021-02-04T08:32:04.000Z | qdata/include/util/Stream_Encoder.h | jeanlemotan/silkopter | cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8 | [
"BSD-3-Clause"
] | 42 | 2017-02-11T11:15:51.000Z | 2019-12-28T16:00:44.000Z | qdata/include/util/Stream_Encoder.h | jeanleflambeur/silkopter | cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8 | [
"BSD-3-Clause"
] | 5 | 2015-10-15T05:46:48.000Z | 2020-05-11T17:40:36.000Z | #pragma once
namespace q
{
namespace util
{
void encode_base_64(data::Sink& sink, data::Source& source);
void decode_base_64(data::Sink& sink, data::Source& source);
}
} | 18.1 | 62 | 0.690608 |
0c7aac81098c986f5d8ddb73b8e89765a14cd635 | 6,487 | py | Python | tests/test_mxnet.py | haoxintong/byteps | 495f1372af5f6fd4832393d5e52d4b02b42a7a03 | [
"Apache-2.0"
] | 1 | 2019-07-01T10:08:00.000Z | 2019-07-01T10:08:00.000Z | tests/test_mxnet.py | haoxintong/byteps | 495f1372af5f6fd4832393d5e52d4b02b42a7a03 | [
"Apache-2.0"
] | null | null | null | tests/test_mxnet.py | haoxintong/byteps | 495f1372af5f6fd4832393d5e52d4b02b42a7a03 | [
"Apache-2.0"
] | 1 | 2021-02-02T02:58:37.000Z | 2021-02-02T02:58:37.000Z | # Copyright 2018 Uber Technologies, Inc. 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 applica... | 39.554878 | 80 | 0.564668 |
b16709294d5b936c6499e294b5859012f53945b1 | 245 | h | C | Source/VisualDebugger.h | Huskitch/PhysX-Mini-Golf | 519a5ceeb149106f073d5e5c840f4830305d789e | [
"MIT"
] | 1 | 2021-01-28T09:06:07.000Z | 2021-01-28T09:06:07.000Z | Source/VisualDebugger.h | Huskitch/PhysX-Mini-Golf | 519a5ceeb149106f073d5e5c840f4830305d789e | [
"MIT"
] | null | null | null | Source/VisualDebugger.h | Huskitch/PhysX-Mini-Golf | 519a5ceeb149106f073d5e5c840f4830305d789e | [
"MIT"
] | null | null | null | #pragma once
#include "MyPhysicsEngine.h"
namespace VisualDebugger
{
using namespace physx;
///Init visualisation
void Init(const char *window_name, int width=512, int height=512);
///Start visualisation
void Start();
}
| 15.3125 | 68 | 0.693878 |
7fd606110f210ac73b79729939de2ecf15ee32b1 | 2,553 | go | Go | torrent/storage.go | danalex97/nfsTorrent | 1364d920aca0c1b656cd52ab1107e35801fae83f | [
"MIT"
] | 1 | 2019-03-12T12:34:13.000Z | 2019-03-12T12:34:13.000Z | torrent/storage.go | wade-welles/CacheTorrent | 1364d920aca0c1b656cd52ab1107e35801fae83f | [
"MIT"
] | 38 | 2018-04-11T08:47:07.000Z | 2018-06-20T17:51:11.000Z | torrent/storage.go | wade-welles/CacheTorrent | 1364d920aca0c1b656cd52ab1107e35801fae83f | [
"MIT"
] | 1 | 2019-03-12T12:34:10.000Z | 2019-03-12T12:34:10.000Z | package torrent
import (
"github.com/danalex97/nfsTorrent/config"
"github.com/danalex97/nfsTorrent/log"
"sync"
)
var pieceNumber config.Const = config.NewConst(config.StoragePieces)
// Storage is a concurrent-safe piece storage module. The synchronization is
// done via a read-write lock and the pieces are sto... | 21.275 | 77 | 0.648257 |
719c8a9c1dbdf6841f65747e0fe7ee95b48d8752 | 210 | ts | TypeScript | apps/demos/src/app/rx-angular-pocs/cdk/render-strategies/scheduling/scheduler/rxa-chunked-scheduler/RxaAction.ts | andreElrico/rx-angular | cea3b3612b09e332c8cd4a1ca9635602e9686cca | [
"MIT"
] | null | null | null | apps/demos/src/app/rx-angular-pocs/cdk/render-strategies/scheduling/scheduler/rxa-chunked-scheduler/RxaAction.ts | andreElrico/rx-angular | cea3b3612b09e332c8cd4a1ca9635602e9686cca | [
"MIT"
] | 229 | 2021-02-01T08:52:16.000Z | 2022-03-23T22:05:58.000Z | apps/demos/src/app/rx-angular-pocs/cdk/render-strategies/scheduling/scheduler/rxa-chunked-scheduler/RxaAction.ts | andreElrico/rx-angular | cea3b3612b09e332c8cd4a1ca9635602e9686cca | [
"MIT"
] | null | null | null |
import { priorityLevel } from '../../../../render-strategies/model';
import { PriorityAction } from '../priority-scheduler';
export class RxaAction<S> extends PriorityAction<S, priorityLevel, undefined> {
}
| 26.25 | 79 | 0.714286 |
3d551225a1a45568ec3b5b594df54d6678140cd8 | 744 | swift | Swift | dates.swift | ggaamm/swift_samples | ef9b78b5337e13d016fb2a09312c6d95afb01813 | [
"MIT"
] | null | null | null | dates.swift | ggaamm/swift_samples | ef9b78b5337e13d016fb2a09312c6d95afb01813 | [
"MIT"
] | null | null | null | dates.swift | ggaamm/swift_samples | ef9b78b5337e13d016fb2a09312c6d95afb01813 | [
"MIT"
] | null | null | null |
// date time calender
var date = Date()
var calendar = Calendar.current
let year = calendar.component(.year, from: date)
let month = calendar.component(.month, from: date)
let day = calendar.component(.day, from: date)
let hour = calendar.component(.hour, from:date)
let minute = calendar.component(.minute, from: date)... | 32.347826 | 57 | 0.723118 |
a1a549a327eaf4284685ab6eb4023825fa0afa74 | 7,339 | h | C | benchmarking/benchmark_mf.h | abreslow/morton_filter | cb7b78846c7d779c357cdbd6be22bfdf9f0b9a70 | [
"MIT"
] | 74 | 2019-04-20T22:57:41.000Z | 2022-03-31T15:29:26.000Z | benchmarking/benchmark_mf.h | abreslow/morton_filter | cb7b78846c7d779c357cdbd6be22bfdf9f0b9a70 | [
"MIT"
] | 4 | 2019-04-28T12:47:52.000Z | 2021-06-24T09:57:57.000Z | benchmarking/benchmark_mf.h | abreslow/morton_filter | cb7b78846c7d779c357cdbd6be22bfdf9f0b9a70 | [
"MIT"
] | 13 | 2019-04-24T00:51:25.000Z | 2020-07-11T11:43:06.000Z | /*
Copyright (c) 2019 Advanced Micro Devices, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publis... | 40.546961 | 112 | 0.765363 |
8ab16131d374bf0e24e4ddd99a70e1e8b4341671 | 34,647 | rs | Rust | src/qspix/qspix_ssctl.rs | gsuyemoto/M031AE-rs | 38437dfae24b01f5cc919713ddfbf7bc306616c7 | [
"MIT"
] | null | null | null | src/qspix/qspix_ssctl.rs | gsuyemoto/M031AE-rs | 38437dfae24b01f5cc919713ddfbf7bc306616c7 | [
"MIT"
] | null | null | null | src/qspix/qspix_ssctl.rs | gsuyemoto/M031AE-rs | 38437dfae24b01f5cc919713ddfbf7bc306616c7 | [
"MIT"
] | null | null | null | #[doc = "Register `QSPIx_SSCTL` reader"]
pub struct R(crate::R<QSPIX_SSCTL_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<QSPIX_SSCTL_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<QSPIX_SSCTL_SPEC>> for R {
#[inline(always)]
fn f... | 33.540174 | 426 | 0.593587 |
a17bd33e6c9d7cc735919412fc7036bdb659d23b | 3,462 | h | C | stm32f746g-discovery/chirp/chirp_sdk_events.h | chirp/chirp-embedded-examples | 78515e80bddbdac0d35d53aa32f82d8925ac99db | [
"MIT"
] | 8 | 2019-04-01T17:34:41.000Z | 2021-04-29T07:46:45.000Z | bela/chirp/chirp_sdk_events.h | chirp/chirp-embedded-examples | 78515e80bddbdac0d35d53aa32f82d8925ac99db | [
"MIT"
] | 3 | 2019-02-21T10:39:16.000Z | 2019-12-05T16:45:47.000Z | stm32f746g-discovery/chirp/chirp_sdk_events.h | chirp/chirp-embedded-examples | 78515e80bddbdac0d35d53aa32f82d8925ac99db | [
"MIT"
] | 6 | 2019-08-08T01:50:59.000Z | 2020-12-06T02:57:47.000Z | /**-----------------------------------------------------------------------------
*
* ASIO CONFIDENTIAL
*
* @file chirp_sdk_events.h
*
* @brief Events implementations of the C SDK (callbacks and states).
*
* All contents are strictly proprietary, and not for copying, resale,
* or use outside of the agreed ... | 38.898876 | 112 | 0.675621 |
c2b04aae7d92cb3f9d20de7ece645d49b1f99018 | 1,345 | lua | Lua | [core]/dpGarage/client/MusicPlayer.lua | dcr30/drive-crew-mta | 1bc6b1bf6520b1818c54b7fb9b75f97f9b290e69 | [
"Apache-2.0"
] | 16 | 2017-09-02T20:31:49.000Z | 2020-06-07T20:59:55.000Z | [core]/dpGarage/client/MusicPlayer.lua | dcr30/drive-crew-mta | 1bc6b1bf6520b1818c54b7fb9b75f97f9b290e69 | [
"Apache-2.0"
] | 1 | 2019-05-21T18:35:44.000Z | 2019-05-21T18:35:44.000Z | [core]/dpGarage/client/MusicPlayer.lua | JluHeuKa/driftparadise-legacy | 570ff6350a1960d531448c62ec10a0708f429c31 | [
"Apache-2.0"
] | 16 | 2018-02-18T16:39:35.000Z | 2020-05-18T16:15:01.000Z | MusicPlayer = {}
local MUSIC_VOLUME = 0.45
local TRACKS_COUNT = 10
local currentTrack = 1
local sound
local soundVolume = 0
local soundVolumeSpeed = 5
local function playNextTrack()
if not exports.dpConfig:getProperty("game.background_music") then
return
end
currentTrack = currentTrack + 1
if currentTrack > TRAC... | 22.79661 | 83 | 0.765799 |
ba2158456b72c1e6ffe0ebb7c0a7e891a9e71553 | 1,276 | lua | Lua | internal/lua/graph.lua | prologic/LadyLua | d63e0310cadf21ad0157680d2d1ae8753a52bfc7 | [
"MIT"
] | 77 | 2021-04-08T13:17:05.000Z | 2022-03-31T13:06:36.000Z | internal/lua/graph.lua | prologic/LadyLua | d63e0310cadf21ad0157680d2d1ae8753a52bfc7 | [
"MIT"
] | 2 | 2021-07-22T10:39:53.000Z | 2021-11-01T14:02:13.000Z | internal/lua/graph.lua | prologic/LadyLua | d63e0310cadf21ad0157680d2d1ae8753a52bfc7 | [
"MIT"
] | 5 | 2016-04-06T01:30:51.000Z | 2017-11-13T20:57:27.000Z | local setmetatable = setmetatable
local pairs = pairs
local type = type
local function visit(k, n, m, s)
if m[k] == 0 then return 1 end
if m[k] == 1 then return end
m[k] = 0
local f = n[k]
for i=1, #f do
if visit(f[i], n, m, s) then return 1 end
end
m[k] = 1
s[#s+1] = k
end
local... | 22 | 123 | 0.492947 |
1c738953c744f50062552e4347a467b74e69d549 | 1,001 | css | CSS | src/Layout/Layout.css | dotenorio/react-gravatar-demo | d9afed5c83d451e647cc93dd1afdc8db43e1617b | [
"MIT"
] | null | null | null | src/Layout/Layout.css | dotenorio/react-gravatar-demo | d9afed5c83d451e647cc93dd1afdc8db43e1617b | [
"MIT"
] | 23 | 2019-07-11T16:23:02.000Z | 2022-02-26T11:14:21.000Z | src/Layout/Layout.css | dotenorio/react-gravatar-demo | d9afed5c83d451e647cc93dd1afdc8db43e1617b | [
"MIT"
] | null | null | null | * { box-sizing: border-box; margin: 0; padding: 0 }
html,
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.header {
background-color: #eee;
padding: 25px;
box-shadow: 0 1px 10px #999;
display: flex;
}
.header h1 {
margin-right: 25px;
}
.header ul {
padding: 0px;
margin: 0px;
... | 14.3 | 63 | 0.608392 |
9c4f3aabb2d42e4de2a4d5bd205743baf8be454f | 1,522 | js | JavaScript | Conta.js | LukasSilva05/my-bank-js | 4ca202c5053eb8af09e09e26295953f5f8c21fa4 | [
"Apache-2.0"
] | null | null | null | Conta.js | LukasSilva05/my-bank-js | 4ca202c5053eb8af09e09e26295953f5f8c21fa4 | [
"Apache-2.0"
] | null | null | null | Conta.js | LukasSilva05/my-bank-js | 4ca202c5053eb8af09e09e26295953f5f8c21fa4 | [
"Apache-2.0"
] | null | null | null | class Conta {
agencia;
numero;
cliente;
_saldo = 0.0;
get saldo() {
return this._saldo;
}
sacar(valor) {
if (this._saldo >= valor) {
if (valor > 0) {
this._saldo = this._saldo - valor;
console.log("\nSaque concluído!... | 28.185185 | 65 | 0.471748 |
51b7b819e9efded1a6147adc3c79867006f759e3 | 10,773 | lua | Lua | test/functional/autocmd/cmdline_spec.lua | blueyed/neovim | 65578693b28008ca953e446158e31c267e5df7a3 | [
"Vim"
] | 2 | 2019-02-21T11:18:42.000Z | 2019-02-25T09:31:48.000Z | test/functional/autocmd/cmdline_spec.lua | blueyed/neovim | 65578693b28008ca953e446158e31c267e5df7a3 | [
"Vim"
] | 1 | 2019-02-08T11:20:39.000Z | 2019-02-08T11:20:39.000Z | test/functional/autocmd/cmdline_spec.lua | blueyed/neovim | 65578693b28008ca953e446158e31c267e5df7a3 | [
"Vim"
] | null | null | null | local helpers = require('test.functional.helpers')(after_each)
local Screen = require('test.functional.ui.screen')
local clear = helpers.clear
local command = helpers.command
local eq = helpers.eq
local expect = helpers.expect
local eval = helpers.eval
local next_msg = helpers.next_msg
local feed = helpers.feed
local ... | 47.88 | 106 | 0.392277 |
12973b09cac55588159dc0aa09d00c8708d51e56 | 344 | c | C | abCalc/ops/abCOpHex.c | jeremysrand/abCalc | c5afd07c71b81b9fc01612eda5710d0fffd2d418 | [
"MIT"
] | null | null | null | abCalc/ops/abCOpHex.c | jeremysrand/abCalc | c5afd07c71b81b9fc01612eda5710d0fffd2d418 | [
"MIT"
] | null | null | null | abCalc/ops/abCOpHex.c | jeremysrand/abCalc | c5afd07c71b81b9fc01612eda5710d0fffd2d418 | [
"MIT"
] | null | null | null | /*
abCOpHex.c
By: Jeremy Rand
*/
#include <stdio.h>
#include "abCMode.h"
#include "ops/abCOp.h"
#include "ops/abCOpHex.h"
#define HEX_NAME "HEX"
static void hexExecute(void);
void abCalcOpHexInit(void)
{
abCalcOpRegister(HEX_NAME, hexExecute);
}
void hexExecute(void)
{
abCalcModeSetBas... | 11.096774 | 43 | 0.680233 |
703b225afe09409ecac7e18c2dc7041dd3cd1561 | 1,309 | go | Go | internal/pkg/encryption/api_test.go | admariner/keboola-as-code | 845b35c54bd50e141e7e96aa7aa2966723288569 | [
"MIT"
] | 10 | 2021-06-23T07:40:16.000Z | 2022-02-17T07:14:32.000Z | internal/pkg/encryption/api_test.go | keboola/keboola-as-code | 8b4a7b5e748697b6c8871c3aecb35ff2cae75e3b | [
"MIT"
] | 78 | 2021-06-04T08:38:05.000Z | 2022-03-31T06:56:00.000Z | internal/pkg/encryption/api_test.go | admariner/keboola-as-code | 845b35c54bd50e141e7e96aa7aa2966723288569 | [
"MIT"
] | 4 | 2021-09-03T06:32:23.000Z | 2022-03-22T12:06:02.000Z | package encryption
import (
"context"
"testing"
"github.com/stretchr/testify/assert"
"github.com/keboola/keboola-as-code/internal/pkg/log"
)
func TestNewEncryptionApi(t *testing.T) {
t.Parallel()
logger := log.NewDebugLogger()
a := NewEncryptionApi(context.Background(), logger, "https://encryption.keboola.co... | 33.564103 | 98 | 0.734148 |
e517797ce4fd79cc0044e257fb302061185f8065 | 1,235 | ts | TypeScript | src/services-bot/WxWorkMarkdown.ts | willerhe/coa-wx-work | 38e852e8cc31a31e2fac57ddd33608f67a2663c6 | [
"MIT"
] | null | null | null | src/services-bot/WxWorkMarkdown.ts | willerhe/coa-wx-work | 38e852e8cc31a31e2fac57ddd33608f67a2663c6 | [
"MIT"
] | null | null | null | src/services-bot/WxWorkMarkdown.ts | willerhe/coa-wx-work | 38e852e8cc31a31e2fac57ddd33608f67a2663c6 | [
"MIT"
] | null | null | null | export class WxWorkMarkdown {
private data = ''
text (text: string, color?: 'info' | 'comment' | 'warning') {
if (!color)
this.data += text
else
this.data += `<font color="${color}">${text}</font>`
return this
}
header3 (text: string) {
return this.text(`### ${text}`)
}
header... | 16.917808 | 63 | 0.536842 |
5ff4b225866fcad1bd3a75376cc7ec2330e6fdfc | 320 | lua | Lua | prototypes/vanilla-changes/item.lua | RedRafe/nuclear-overhaul | 3ea8ee853be580bd7abbeef0298c79b54a02f128 | [
"MIT"
] | null | null | null | prototypes/vanilla-changes/item.lua | RedRafe/nuclear-overhaul | 3ea8ee853be580bd7abbeef0298c79b54a02f128 | [
"MIT"
] | null | null | null | prototypes/vanilla-changes/item.lua | RedRafe/nuclear-overhaul | 3ea8ee853be580bd7abbeef0298c79b54a02f128 | [
"MIT"
] | null | null | null | nuclear.debug.log("--item")
-- U-235
local u235 = data.raw["item"]["uranium-235"]
u235.subgroup = "elements"
u235.order = "92[uranium-235]"
-- U-238
local u238 = data.raw["item"]["uranium-238"]
u238.subgroup = "elements"
u238.order = "92[uranium-238]"
-- Steam turbine
data.raw.item["steam-turbine"].stack_size = 50
| 20 | 46 | 0.675 |
3b6da0d8ad2f5ea847f6beb48403b380494cfd0f | 1,353 | h | C | include/cipher_wrapper.h | Tuya-Community/Raspberry_PI_Gateway_connects_to_iot_platform | ad3aa0a6baf39b6a0de62e434793fb079f574e6f | [
"MIT"
] | null | null | null | include/cipher_wrapper.h | Tuya-Community/Raspberry_PI_Gateway_connects_to_iot_platform | ad3aa0a6baf39b6a0de62e434793fb079f574e6f | [
"MIT"
] | null | null | null | include/cipher_wrapper.h | Tuya-Community/Raspberry_PI_Gateway_connects_to_iot_platform | ad3aa0a6baf39b6a0de62e434793fb079f574e6f | [
"MIT"
] | null | null | null | #ifndef __CRYPTO_WRAPPER_H_
#define __CRYPTO_WRAPPER_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include "mbedtls/platform.h"
#include "mbedtls/cipher.h"
#include "mbedtls/md.h"
typedef struct {
unsigned char *key;
unsigned char *nonce;
unsigned char *ad;
unsigned char *data;
s... | 29.413043 | 76 | 0.593496 |
5773d3fcf10c1ba9d82e37109dbc53e219d06ded | 97 | h | C | src/board/common/EmuEEPROMConfig.h | js-midi/OpenDeck | 72fc7199e3ba484b87086541f27a1ccb20fbc54f | [
"Apache-2.0"
] | 248 | 2015-03-03T03:10:40.000Z | 2021-07-04T07:32:58.000Z | src/board/common/EmuEEPROMConfig.h | js-midi/OpenDeck | 72fc7199e3ba484b87086541f27a1ccb20fbc54f | [
"Apache-2.0"
] | 33 | 2015-03-03T10:30:52.000Z | 2021-06-06T10:26:20.000Z | src/board/common/EmuEEPROMConfig.h | js-midi/OpenDeck | 72fc7199e3ba484b87086541f27a1ccb20fbc54f | [
"Apache-2.0"
] | 35 | 2015-04-03T21:09:40.000Z | 2021-07-01T09:26:04.000Z | #pragma once
#include <MCU.h>
#define EMU_EEPROM_PAGE_SIZE FLASH_PAGE_SIZE(FLASH_PAGE_EEPROM_1) | 19.4 | 65 | 0.835052 |
0a020f20f75f4cb1a234f6434192e9ab5f5c48e3 | 89 | h | C | netbsd/sys/arch/mac68k/include/endian.h | shisa/kame-shisa | 25dfcf220c0cd8192e475a602501206ccbd9263e | [
"BSD-3-Clause"
] | 1 | 2019-10-15T06:29:32.000Z | 2019-10-15T06:29:32.000Z | netbsd/sys/arch/mac68k/include/endian.h | shisa/kame-shisa | 25dfcf220c0cd8192e475a602501206ccbd9263e | [
"BSD-3-Clause"
] | null | null | null | netbsd/sys/arch/mac68k/include/endian.h | shisa/kame-shisa | 25dfcf220c0cd8192e475a602501206ccbd9263e | [
"BSD-3-Clause"
] | 3 | 2017-01-09T02:15:36.000Z | 2019-10-15T06:30:25.000Z | /* $NetBSD: endian.h,v 1.6 2000/03/17 00:09:21 mycroft Exp $ */
#include <sys/endian.h>
| 22.25 | 63 | 0.640449 |
1f9f50d821084609d4564563c1d95628ec6ac12c | 40,073 | css | CSS | public/css/responsive.css | olaysco/awaflights-v2.0 | 375489997568f356464bd735a8843745978e6845 | [
"MIT"
] | null | null | null | public/css/responsive.css | olaysco/awaflights-v2.0 | 375489997568f356464bd735a8843745978e6845 | [
"MIT"
] | null | null | null | public/css/responsive.css | olaysco/awaflights-v2.0 | 375489997568f356464bd735a8843745978e6845 | [
"MIT"
] | 1 | 2018-07-23T15:01:43.000Z | 2018-07-23T15:01:43.000Z |
@media only screen and (max-width: 1200px) {
.cover_gallery {width:960px; margin: 0 auto;}
.cover_boxes ul li .box p {font-size: 13px; line-height: 23px;}
.cover_boxes ul li,
.cover_boxes ul li .box .thumb {
width: 227px
}
.cover_boxes ul li.act,
.cover_boxes ul li .box {
w... | 31.703323 | 128 | 0.669154 |
b167707b733a3309f1866f7bc42061138dfd575d | 6,232 | css | CSS | client/controlpanel/css/main.css | idkjs/plantpro-cloud | da76f3c3a0fdcd86c6e7e802400fd0931acecadd | [
"MIT"
] | null | null | null | client/controlpanel/css/main.css | idkjs/plantpro-cloud | da76f3c3a0fdcd86c6e7e802400fd0931acecadd | [
"MIT"
] | null | null | null | client/controlpanel/css/main.css | idkjs/plantpro-cloud | da76f3c3a0fdcd86c6e7e802400fd0931acecadd | [
"MIT"
] | null | null | null |
body {
/*margin: 1% 1% 1% 1%;*/
margin: 0 0 0 0;
background-color: #e8e8e8; /*Full page background*/
color: black;
height: 100%;
}
html{
height: 100%;
font-family: 'Roboto', Helvetica;
}
div.flexContainer {
display: flex;
flex-direction: row;
align-items: stretch;
align-co... | 18.714715 | 189 | 0.573813 |
bcd9c39d88b53772c7b1d5bef5b7b14cd06db17b | 1,609 | js | JavaScript | src/components/categories.js | IvanVukorepa/HCI | 3d9035b1f10f2e8011091d8c3e8305c39abe8296 | [
"MIT"
] | null | null | null | src/components/categories.js | IvanVukorepa/HCI | 3d9035b1f10f2e8011091d8c3e8305c39abe8296 | [
"MIT"
] | 8 | 2021-03-08T23:47:28.000Z | 2022-02-26T08:38:59.000Z | src/components/categories.js | IvanVukorepa/HCI | 3d9035b1f10f2e8011091d8c3e8305c39abe8296 | [
"MIT"
] | null | null | null | import React from "react"
class Category extends React.Component {
constructor(props){
super(props);
this.state = {
genres: []
}
}
componentDidMount(){
this.setState({
genres: this.props.genres
});
}
componentDidUpdate = () => {
... | 23.318841 | 85 | 0.458048 |
472e55649883bcab421379cc72d2f2815b609b8b | 72,953 | sql | SQL | data-processing/fec/FECScraper.sql | MinnPost/minnpost-fec-data-analysis | b0bfd9c8874b16605ebb0c09cf02468481a765ab | [
"MIT"
] | null | null | null | data-processing/fec/FECScraper.sql | MinnPost/minnpost-fec-data-analysis | b0bfd9c8874b16605ebb0c09cf02468481a765ab | [
"MIT"
] | null | null | null | data-processing/fec/FECScraper.sql | MinnPost/minnpost-fec-data-analysis | b0bfd9c8874b16605ebb0c09cf02468481a765ab | [
"MIT"
] | null | null | null | /*
FEC database creation scripts:
------------------------------
By Christopher Schnaars, USA Today
In this file, you'll find all the necessary scripts to create an FEC database on SQL Server,
including tables and stored procedures used by the FEC Scraper and FEC Parser Python scripts
to interact with the database.
T... | 48.732799 | 133 | 0.777912 |
e7170928692cdd0bebe5c8cc643ca1131e5e0cfd | 2,099 | js | JavaScript | docs/examples/promise/01_simple_connect/node_modules/@chainx-v2/api-derive/contracts/fees.js | chainpool/chainx.js-v2 | 986d810e3e165283bb854d45e6f813c509407a75 | [
"Apache-2.0"
] | 1 | 2020-10-03T03:02:13.000Z | 2020-10-03T03:02:13.000Z | docs/examples/promise/06_make_transfer/node_modules/@chainx-v2/api-derive/contracts/fees.js | chainpool/chainx.js-v2 | 986d810e3e165283bb854d45e6f813c509407a75 | [
"Apache-2.0"
] | null | null | null | docs/examples/promise/06_make_transfer/node_modules/@chainx-v2/api-derive/contracts/fees.js | chainpool/chainx.js-v2 | 986d810e3e165283bb854d45e6f813c509407a75 | [
"Apache-2.0"
] | 1 | 2020-10-03T03:02:16.000Z | 2020-10-03T03:02:16.000Z | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.fees = fees;
var _rxjs = require("rxjs");
var _operators = require("rxjs/operators");
var _util = require("../util");
// Copyright 2017-2020 @chainx-v2/api-derive authors & contributors
// This software may be modified and distr... | 39.603774 | 458 | 0.727489 |
854be706f4247941c3232f2a309a05b6e1d96fe2 | 138 | lua | Lua | mods/myArcade/myhighscore/init.lua | Ganome/OPSkyBlock | 8381cbb8befb6e73e40c9f8ae9de2b6527d22a4f | [
"MIT"
] | 1 | 2019-03-28T06:25:48.000Z | 2019-03-28T06:25:48.000Z | mods/myArcade/myhighscore/init.lua | Ganome/OPSkyBlock | 8381cbb8befb6e73e40c9f8ae9de2b6527d22a4f | [
"MIT"
] | null | null | null | mods/myArcade/myhighscore/init.lua | Ganome/OPSkyBlock | 8381cbb8befb6e73e40c9f8ae9de2b6527d22a4f | [
"MIT"
] | null | null | null |
myhighscore = {}
dofile(minetest.get_modpath("myhighscore").."/api.lua")
dofile(minetest.get_modpath("myhighscore").."/scoreboard.lua")
| 23 | 62 | 0.73913 |
7307bd09464ddc0ace7b2dab5dd1c581ab3fbc1f | 3,667 | rs | Rust | src/systems/plate.rs | wbprice/the-ten-top | 0bcd0c2f2cf5076c6577e2de3108ccb8649c6542 | [
"MIT-0",
"MIT"
] | 1 | 2019-11-21T21:57:06.000Z | 2019-11-21T21:57:06.000Z | src/systems/plate.rs | wbprice/the-ten-top | 0bcd0c2f2cf5076c6577e2de3108ccb8649c6542 | [
"MIT-0",
"MIT"
] | 2 | 2019-09-03T17:02:55.000Z | 2019-09-10T20:54:50.000Z | src/systems/plate.rs | wbprice/the-ten-top | 0bcd0c2f2cf5076c6577e2de3108ccb8649c6542 | [
"MIT-0",
"MIT"
] | null | null | null | use amethyst::{
core::transform::{Parent, Transform},
ecs::prelude::{Entities, Entity, Join, Read, ReadStorage, System, WriteStorage},
};
use crate::{
components::{Dish, Ingredient, Plate},
resources::{Cookbook, Dishes, Food, Ingredients},
};
pub struct PlateSystem;
fn get_dish_from_ingredients(
... | 34.271028 | 105 | 0.502045 |
eb8e47557a2ecf863c8a8f39a97fd1bd8afc94ac | 768 | rs | Rust | tokio/src/loom/std/atomic_ptr.rs | dbcfd/tokio | 8f3a26597270871a2adbf4f8da80a82961e9e296 | [
"MIT"
] | 2 | 2020-03-02T03:40:39.000Z | 2020-10-27T07:04:12.000Z | tokio/src/loom/std/atomic_ptr.rs | PirateDragon/tokio | 282b00cbe888a96669877ce70662fba87e8c0e3c | [
"MIT"
] | null | null | null | tokio/src/loom/std/atomic_ptr.rs | PirateDragon/tokio | 282b00cbe888a96669877ce70662fba87e8c0e3c | [
"MIT"
] | null | null | null | use std::fmt;
use std::ops::Deref;
/// `AtomicPtr` providing an additional `load_unsync` function.
pub(crate) struct AtomicPtr<T> {
inner: std::sync::atomic::AtomicPtr<T>,
}
impl<T> AtomicPtr<T> {
pub(crate) fn new(ptr: *mut T) -> AtomicPtr<T> {
let inner = std::sync::atomic::AtomicPtr::new(ptr);
... | 23.272727 | 81 | 0.580729 |
9b9fc145bc70e814a53c9602ff7c48a2170e6050 | 5,707 | js | JavaScript | bartop-api/test/integration/catalogsEndpointTest.js | bartop-io/bartop | 4e6115a1f0a49d292952e5b04e26f6c7f04eb082 | [
"MIT"
] | 4 | 2018-11-26T14:41:19.000Z | 2019-12-12T05:48:43.000Z | bartop-api/test/integration/catalogsEndpointTest.js | dpopp07/bartop | 4e6115a1f0a49d292952e5b04e26f6c7f04eb082 | [
"MIT"
] | 157 | 2017-10-25T03:49:46.000Z | 2018-07-27T18:44:28.000Z | bartop-api/test/integration/catalogsEndpointTest.js | dpopp07/bartop | 4e6115a1f0a49d292952e5b04e26f6c7f04eb082 | [
"MIT"
] | 1 | 2017-10-25T04:03:29.000Z | 2017-10-25T04:03:29.000Z | const request = require('supertest');
const expect = require('chai').expect;
const app = require('../../src/server');
const r = require('../../src/db');
const { users, drinks } = require('../utils/testObjects');
describe('Resource - Catalog', function() {
const TOKEN = global.testToken;
let userId;
let oldFashio... | 29.266667 | 86 | 0.54109 |
1e324fa8bf0c3f9a21c248f0fae98e623b77ae66 | 3,104 | css | CSS | style.css | romchesko-pazzi/Burning-Man | 6760ddcdd191701a0cecbdc5584603e652f7855a | [
"MIT"
] | null | null | null | style.css | romchesko-pazzi/Burning-Man | 6760ddcdd191701a0cecbdc5584603e652f7855a | [
"MIT"
] | null | null | null | style.css | romchesko-pazzi/Burning-Man | 6760ddcdd191701a0cecbdc5584603e652f7855a | [
"MIT"
] | null | null | null | *{padding:0;margin:0;border:0;}
*,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
:focus,:active{outline:none;}
a:focus,a:active{outline:none;}
nav,footer,header,aside{display:block;}
html,body{height:100%;width:100%;font-size:100%;line-height:1;font-size:14px;-ms-text-... | 17.942197 | 161 | 0.648196 |
132d0b86690362dece66f857b9ba4e1d8a0d57bf | 500 | h | C | FAITHMainUIDemo/FAITHMainUIDemo/Classes/Other/Catagroy/UIImage+Extension.h | faith939339094/FAITHMainUIDemo | f2dcfa8f56168ab9d291ee4f8b189025475cb836 | [
"MIT"
] | null | null | null | FAITHMainUIDemo/FAITHMainUIDemo/Classes/Other/Catagroy/UIImage+Extension.h | faith939339094/FAITHMainUIDemo | f2dcfa8f56168ab9d291ee4f8b189025475cb836 | [
"MIT"
] | null | null | null | FAITHMainUIDemo/FAITHMainUIDemo/Classes/Other/Catagroy/UIImage+Extension.h | faith939339094/FAITHMainUIDemo | f2dcfa8f56168ab9d291ee4f8b189025475cb836 | [
"MIT"
] | null | null | null | //
// UIImage+Extension.h
// FAITH微博-02
//
// Created by faith939339094 on 16/1/13.
// Copyright © 2016年 faith939339094. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (Extension)
// 根据图片名字拉伸图片
+(UIImage *)resizedImage:(NSString *)name;
// 根据颜色生成一张尺寸为1*1的相同颜色图片
+ (UIImage *)imageWithColor:(UIC... | 23.809524 | 100 | 0.73 |
201d0ac450061bdba4a602454dc675bd80aa704d | 3,050 | css | CSS | src/main/assets/css/footer.css | Yayayay218/capstone2 | a7a3e15f0aa73499df7787a04f2e2dc7cf00642d | [
"MIT"
] | null | null | null | src/main/assets/css/footer.css | Yayayay218/capstone2 | a7a3e15f0aa73499df7787a04f2e2dc7cf00642d | [
"MIT"
] | null | null | null | src/main/assets/css/footer.css | Yayayay218/capstone2 | a7a3e15f0aa73499df7787a04f2e2dc7cf00642d | [
"MIT"
] | null | null | null | .full {
width: 100%;
}
.gap {
height: 30px;
width: 100%;
clear: both;
display: block;
}
.footer {
background-color: #434343;
height: auto;
padding-bottom: 30px;
position: relative;
width: 100%;
}
.footer p {
margin: 0;
}
.footer img {
max-width: 100%;
}
.footer h3 {
f... | 20.748299 | 53 | 0.596393 |
697c96734a266e26cbc4e01b254aa319a2d3de80 | 3,121 | lua | Lua | lib/src/Dom/tryToAttributes.lua | LouieK22/anatta | f8762f5dee5bb5b82f0a8646701f35fd66f62da4 | [
"MIT"
] | 9 | 2018-10-23T00:32:43.000Z | 2020-07-23T17:23:18.000Z | lib/src/Dom/tryToAttributes.lua | LouieK22/anatta | f8762f5dee5bb5b82f0a8646701f35fd66f62da4 | [
"MIT"
] | 16 | 2018-10-23T19:30:53.000Z | 2019-11-27T09:33:41.000Z | lib/src/Dom/tryToAttributes.lua | LouieK22/anatta | f8762f5dee5bb5b82f0a8646701f35fd66f62da4 | [
"MIT"
] | 2 | 2019-04-04T09:43:15.000Z | 2019-07-21T11:07:06.000Z | local Constants = require(script.Parent.Parent.Core.Constants)
local ENTITY_ATTRIBUTE_NAME = Constants.EntityAttributeName
local INSTANCE_REF_FOLDER = Constants.InstanceRefFolder
local ErrConversionFailed = "%s (%s) cannot be turned into an attribute"
local function instanceConversion(attributeMap, attributeName, va... | 30.009615 | 108 | 0.777956 |
2227b41dc4450128d80715456ab2ab1b86d510cf | 596 | kt | Kotlin | app/src/main/java/com/pij/zworkout/workout/feature/CreateWorkoutFeature.kt | pijpijpij/Zworkout | cc62fb7cb2fd97aad2642355b012f3237fd51bc8 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/pij/zworkout/workout/feature/CreateWorkoutFeature.kt | pijpijpij/Zworkout | cc62fb7cb2fd97aad2642355b012f3237fd51bc8 | [
"Apache-2.0"
] | 1 | 2018-03-26T18:01:32.000Z | 2018-03-26T18:01:32.000Z | app/src/main/java/com/pij/zworkout/workout/feature/CreateWorkoutFeature.kt | pijpijpij/Zworkout | cc62fb7cb2fd97aad2642355b012f3237fd51bc8 | [
"Apache-2.0"
] | null | null | null | package com.pij.zworkout.workout.feature
import com.pij.horrocks.Interaction
import com.pij.horrocks.Reducer
import com.pij.zworkout.workout.State
import javax.inject.Provider
/**
*
* Created on 01/03/2018.
*
* @author Pierrejean
*/
class CreateWorkoutFeature(private val name: Provider<String>) : Interaction<An... | 22.923077 | 90 | 0.649329 |
2532f968aed07a7497951e0a1a4b74bd32dad69f | 1,611 | swift | Swift | SnSRestKit/Classes/Internal/Core/SnSRestModule.swift | greinaldor/SnSRestKit | 663372b03a4e744a18873d6ac3fe32245aa45131 | [
"MIT"
] | null | null | null | SnSRestKit/Classes/Internal/Core/SnSRestModule.swift | greinaldor/SnSRestKit | 663372b03a4e744a18873d6ac3fe32245aa45131 | [
"MIT"
] | null | null | null | SnSRestKit/Classes/Internal/Core/SnSRestModule.swift | greinaldor/SnSRestKit | 663372b03a4e744a18873d6ac3fe32245aa45131 | [
"MIT"
] | null | null | null | //
// SnSRestModule.swift
// Pods
//
// Created by Adrien Greiner on 22/04/17.
//
//
import Foundation
import BoltsSwift
typealias SnSRestModule = SnSRestModulepInterface<AnyObject>
protocol SnSRestModuleProtocol {
var moduleName: String { get }
var moduleAccessQueue: DispatchQueue { get }
func ... | 27.305085 | 101 | 0.699565 |
ccacff056d1541f2bb1828f019f45c3e84644f80 | 2,184 | lua | Lua | src/wesenGemaMod/Commands/ResetCommand.lua | wesen1/wesenGemaMod | 15a4b44cce7f1e5c18ce6fea9242562f15ecce93 | [
"MIT"
] | 1 | 2020-11-05T05:45:36.000Z | 2020-11-05T05:45:36.000Z | src/wesenGemaMod/Commands/ResetCommand.lua | wesen1/wesenGemaMod | 15a4b44cce7f1e5c18ce6fea9242562f15ecce93 | [
"MIT"
] | 64 | 2018-03-24T16:31:56.000Z | 2021-12-31T19:18:40.000Z | src/wesenGemaMod/Commands/ResetCommand.lua | wesen1/wesenGemaMod | 15a4b44cce7f1e5c18ce6fea9242562f15ecce93 | [
"MIT"
] | 2 | 2021-01-05T00:05:46.000Z | 2021-06-25T04:39:08.000Z | ---
-- @author wesen
-- @copyright 2021 wesen <wesen-ac@web.de>
-- @release 0.1
-- @license MIT
--
local BaseCommand = require "CommandManager.BaseCommand"
local LuaServerApi = require "AC-LuaServer.Core.LuaServerApi"
local StaticString = require "Output.StaticString"
local TemplateException = require "AC-LuaServer.Co... | 26 | 99 | 0.735348 |
f40874cc4117d0967e0453928268829f15bab16d | 432 | swift | Swift | DesignCodeCourse/DesignCodeCourse/Domain/Model/UpdateItem.swift | fabirt/SwiftUI-Playground | afb25f4d330dc2fb5c8be6c22791ff84e627c82a | [
"MIT"
] | null | null | null | DesignCodeCourse/DesignCodeCourse/Domain/Model/UpdateItem.swift | fabirt/SwiftUI-Playground | afb25f4d330dc2fb5c8be6c22791ff84e627c82a | [
"MIT"
] | null | null | null | DesignCodeCourse/DesignCodeCourse/Domain/Model/UpdateItem.swift | fabirt/SwiftUI-Playground | afb25f4d330dc2fb5c8be6c22791ff84e627c82a | [
"MIT"
] | null | null | null | //
// UpdateItem.swift
// DesignCodeCourse
//
// Created by Fabi Diartt on 9/04/21.
//
import Foundation
struct UpdateItem: Identifiable {
let id = UUID()
let title: String
let imageName: String
let body: String
let date: Date
var displayDate: String {
let formatter = DateForma... | 18.782609 | 56 | 0.634259 |
0c47cca3a357e56bd5de2e0cada85e94b14eaed0 | 3,796 | swift | Swift | Paystack/PSTCKAddressViewController.swift | mhlangagc/paystack-ios | 1cf350448f3ab279a6b31435aa3fce3a2b89b18f | [
"MIT"
] | 28 | 2016-03-04T10:03:13.000Z | 2021-05-25T14:18:29.000Z | Paystack/PSTCKAddressViewController.swift | mhlangagc/paystack-ios | 1cf350448f3ab279a6b31435aa3fce3a2b89b18f | [
"MIT"
] | 52 | 2016-08-15T13:21:39.000Z | 2022-02-26T11:11:41.000Z | Paystack/PSTCKAddressViewController.swift | mhlangagc/paystack-ios | 1cf350448f3ab279a6b31435aa3fce3a2b89b18f | [
"MIT"
] | 25 | 2016-02-25T08:56:55.000Z | 2021-12-26T05:15:00.000Z | //
// AddressViewController.swift
// Paystack iOS Example
//
// Created by Jubril Olambiwonnu on 6/21/20.
// Copyright © 2020 Paystack. All rights reserved.
//
import UIKit
@objc public class PSTCKAddressViewController: PSTCKKeyboardHandlingBaseVC, UIPickerViewDelegate, UIPickerViewDataSource, UITextFieldDelegate... | 34.825688 | 143 | 0.672287 |
98de27b5a0b9bb08684a3ba7c9bd9381794de3eb | 3,802 | html | HTML | erl8.3/lib/ic-4.4.2/doc/html/java/com/ericsson/otp/ic/package-frame.html | PUSKAS6/hacking | 7b896761770ceac87f7ede444f5036b18b485ea4 | [
"MIT"
] | 1 | 2018-02-17T03:06:14.000Z | 2018-02-17T03:06:14.000Z | erl8.3/lib/ic-4.4.2/doc/html/java/com/ericsson/otp/ic/package-frame.html | PUSKAS6/hacking | 7b896761770ceac87f7ede444f5036b18b485ea4 | [
"MIT"
] | null | null | null | erl8.3/lib/ic-4.4.2/doc/html/java/com/ericsson/otp/ic/package-frame.html | PUSKAS6/hacking | 7b896761770ceac87f7ede444f5036b18b485ea4 | [
"MIT"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0) on Tue Mar 14 21:49:18 CET 2017 -->
<TITLE>
com.ericsson.otp.ic (Package com.ericsson.otp.ic version 4.4.2)
</TITLE>
<META NAME="date" CONTENT="201... | 39.604167 | 113 | 0.70989 |
0fbb20a27ab2c8db0d8c5c21d1ba495dab8e82f9 | 2,090 | kt | Kotlin | sdk/src/main/java/com/microsoft/did/sdk/crypto/keys/PublicKey.kt | sbolotovms/VerifiableCredential-SDK-Android | b91adc0494fe3a7c8881f09e9fa90dd635aa3c05 | [
"MIT"
] | null | null | null | sdk/src/main/java/com/microsoft/did/sdk/crypto/keys/PublicKey.kt | sbolotovms/VerifiableCredential-SDK-Android | b91adc0494fe3a7c8881f09e9fa90dd635aa3c05 | [
"MIT"
] | null | null | null | sdk/src/main/java/com/microsoft/did/sdk/crypto/keys/PublicKey.kt | sbolotovms/VerifiableCredential-SDK-Android | b91adc0494fe3a7c8881f09e9fa90dd635aa3c05 | [
"MIT"
] | null | null | null | package com.microsoft.did.sdk.crypto.keys
import com.microsoft.did.sdk.crypto.CryptoOperations
import com.microsoft.did.sdk.crypto.models.KeyUse
import com.microsoft.did.sdk.crypto.models.Sha
import com.microsoft.did.sdk.crypto.models.toKeyUse
import com.microsoft.did.sdk.crypto.models.webCryptoApi.*
import com.micros... | 31.666667 | 100 | 0.688038 |
0f27c7ae07916e1e734f2d49ce3f159d550842d6 | 273 | sql | SQL | src/main/resources/test/sqls/preset_add_1_group.sql | balazskrizsan/stack-judge-java | 8dcc5a93195cc8af7b74e5e22f38bf36755dd083 | [
"MIT"
] | 1 | 2021-10-13T08:06:26.000Z | 2021-10-13T08:06:26.000Z | src/main/resources/test/sqls/preset_add_1_group.sql | balazskrizsan/stack-judge-java | 8dcc5a93195cc8af7b74e5e22f38bf36755dd083 | [
"MIT"
] | 2 | 2021-04-24T15:17:26.000Z | 2021-07-25T15:57:44.000Z | src/main/resources/test/sqls/preset_add_1_group.sql | balazskrizsan/stack-judge-java | 8dcc5a93195cc8af7b74e5e22f38bf36755dd083 | [
"MIT"
] | null | null | null | -- requires: preset_add_1_company
-- requires: preset_add_1_address
INSERT INTO "group" (id, company_id, parent_id, address_id, type_id, name, members_on_group_id, created_at, created_by)
VALUES (101001, 100001, null, 102001, 2, 'group name', 1, '2020-01-01 01:01:01', 1);
| 54.6 | 119 | 0.754579 |
70ae05a515d444048f4c028d4a1833f5ceac2a99 | 3,941 | h | C | Source/C_Mesh.h | MissclickStudios/The-Mandalorian-Sands-of-Arvala | 346081b26409a33f129189dbcd5a830d6d58f7da | [
"MIT"
] | 1 | 2021-05-14T13:08:40.000Z | 2021-05-14T13:08:40.000Z | Source/C_Mesh.h | MissclickStudios/The-Mandalorian-Sands-of-Arvala | 346081b26409a33f129189dbcd5a830d6d58f7da | [
"MIT"
] | null | null | null | Source/C_Mesh.h | MissclickStudios/The-Mandalorian-Sands-of-Arvala | 346081b26409a33f129189dbcd5a830d6d58f7da | [
"MIT"
] | 1 | 2021-07-05T08:18:36.000Z | 2021-07-05T08:18:36.000Z | #ifndef __C_MESH_H__
#define __C_MESH_H__
#include <string>
#include <vector>
#include <map>
#include "MathGeoLib/include/Math/float4x4.h"
#include "Component.h"
#include "Color.h"
namespace math
{
class float3;
}
class ParsonNode;
class GameObject;
class R_Mesh;
typedef unsigned int uint;
class MISSCLICK_API C... | 36.831776 | 142 | 0.513575 |