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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a7ce08c69dda6524fd182901b8ff3f4da18f9741 | 36 | sql | SQL | src/test/feature/Ranger/sql/admin/29.sql | YangHao666666/hawq | 10cff8350f1ba806c6fec64eb67e0e6f6f24786c | [
"Artistic-1.0-Perl",
"ISC",
"bzip2-1.0.5",
"TCL",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"PostgreSQL",
"BSD-3-Clause"
] | 450 | 2015-09-05T09:12:51.000Z | 2018-08-30T01:45:36.000Z | src/test/feature/Ranger/sql/admin/29.sql | YangHao666666/hawq | 10cff8350f1ba806c6fec64eb67e0e6f6f24786c | [
"Artistic-1.0-Perl",
"ISC",
"bzip2-1.0.5",
"TCL",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"PostgreSQL",
"BSD-3-Clause"
] | 1,274 | 2015-09-22T20:06:16.000Z | 2018-08-31T22:14:00.000Z | src/test/feature/Ranger/sql/admin/29.sql | YangHao666666/hawq | 10cff8350f1ba806c6fec64eb67e0e6f6f24786c | [
"Artistic-1.0-Perl",
"ISC",
"bzip2-1.0.5",
"TCL",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"PostgreSQL",
"BSD-3-Clause"
] | 278 | 2015-09-21T19:15:06.000Z | 2018-08-31T00:36:51.000Z | insert into ext_t2(i) values(234);
| 12 | 34 | 0.722222 |
905ba268c297bf6901acb0c9efc030e3f20bc1f0 | 111 | sql | SQL | keycloak/exploring-data/00-get-all-tables.sql | robk-dev/gardenio-demo | ff5ceb96d97472c7ed188aa1e374a27ce689a4b1 | [
"MIT"
] | null | null | null | keycloak/exploring-data/00-get-all-tables.sql | robk-dev/gardenio-demo | ff5ceb96d97472c7ed188aa1e374a27ce689a4b1 | [
"MIT"
] | null | null | null | keycloak/exploring-data/00-get-all-tables.sql | robk-dev/gardenio-demo | ff5ceb96d97472c7ed188aa1e374a27ce689a4b1 | [
"MIT"
] | null | null | null | SELECT table_name
FROM information_schema.tables
WHERE table_schema='public'
AND table_type='BASE TABLE'; | 27.75 | 32 | 0.801802 |
de34f77bce6576a74a0fd3808708aafd5a515776 | 1,420 | swift | Swift | SwiftUI-WebViewScreenshotOnBackground/tmp/WebView.swift | luannguyen252/my-swift-journey | 788d66f256358dc5aefa2f3093ef74fd572e83b3 | [
"MIT"
] | 14 | 2020-12-09T08:53:39.000Z | 2021-12-07T09:15:44.000Z | SwiftUI-WebViewScreenshotOnBackground/tmp/WebView.swift | luannguyen252/my-swift-journey | 788d66f256358dc5aefa2f3093ef74fd572e83b3 | [
"MIT"
] | null | null | null | SwiftUI-WebViewScreenshotOnBackground/tmp/WebView.swift | luannguyen252/my-swift-journey | 788d66f256358dc5aefa2f3093ef74fd572e83b3 | [
"MIT"
] | 8 | 2020-12-10T05:59:26.000Z | 2022-01-03T07:49:21.000Z | //
// WebView.swift
// tmp
//
// Created by Elias Lankinen on 10/5/20.
//
import Foundation
import SwiftUI
import WebKit
struct WebView: UIViewRepresentable {
var url: String
@Binding var uiimage: UIImage?
@Binding var snap: Bool
func makeUIView(context: Context) -> WKWebView {
guard l... | 26.296296 | 80 | 0.540845 |
4a5a1b9afc694c2975706427e1818958e383d712 | 1,346 | js | JavaScript | bin/constants.js | hokugawa/griffon-plugin-tools | 2dffb27c42e7196b4d73fbca8f7e6e285ad043d7 | [
"Apache-2.0"
] | 1 | 2020-08-29T14:11:44.000Z | 2020-08-29T14:11:44.000Z | bin/constants.js | hokugawa/griffon-plugin-tools | 2dffb27c42e7196b4d73fbca8f7e6e285ad043d7 | [
"Apache-2.0"
] | 1 | 2020-12-10T21:52:46.000Z | 2020-12-10T21:52:46.000Z | bin/constants.js | hokugawa/griffon-plugin-tools | 2dffb27c42e7196b4d73fbca8f7e6e285ad043d7 | [
"Apache-2.0"
] | 2 | 2020-09-27T10:40:21.000Z | 2021-04-14T20:05:43.000Z | /*
Copyright 2020 Adobe. All rights reserved.
This file is licensed to you 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 agree... | 37.388889 | 86 | 0.707281 |
722497870937183f78eece296d80fed8906f3542 | 279 | rs | Rust | src/test/ui/threads-sendsync/task-comm-17.rs | Eric-Arellano/rust | 0f6f2d681b39c5f95459cd09cb936b6ceb27cd82 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 66,762 | 2015-01-01T08:32:03.000Z | 2022-03-31T23:26:40.000Z | src/test/ui/threads-sendsync/task-comm-17.rs | Eric-Arellano/rust | 0f6f2d681b39c5f95459cd09cb936b6ceb27cd82 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 76,993 | 2015-01-01T00:06:33.000Z | 2022-03-31T23:59:15.000Z | src/test/ui/threads-sendsync/task-comm-17.rs | Eric-Arellano/rust | 0f6f2d681b39c5f95459cd09cb936b6ceb27cd82 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 11,787 | 2015-01-01T00:01:19.000Z | 2022-03-31T19:03:42.000Z | // run-pass
#![allow(unused_must_use)]
// ignore-emscripten no threads support
// pretty-expanded FIXME #23616
// Issue #922
// This test is specifically about spawning temporary closures.
use std::thread;
fn f() {
}
pub fn main() {
thread::spawn(move|| f() ).join();
}
| 15.5 | 63 | 0.670251 |
b4c3a321f49e7afb14d0ecc5403663ba7e200385 | 719 | swift | Swift | CorePersistence/Classes/Comparison/ComparisonClause.swift | SynchronicSolutions/CorePersistence | fefd4e7b2a8951636b2c78773c24d4aaf77a70f1 | [
"MIT"
] | 3 | 2019-06-19T14:29:53.000Z | 2020-04-01T13:47:55.000Z | CorePersistence/Classes/Comparison/ComparisonClause.swift | SynchronicSolutions/CorePersistence | fefd4e7b2a8951636b2c78773c24d4aaf77a70f1 | [
"MIT"
] | null | null | null | CorePersistence/Classes/Comparison/ComparisonClause.swift | SynchronicSolutions/CorePersistence | fefd4e7b2a8951636b2c78773c24d4aaf77a70f1 | [
"MIT"
] | null | null | null | //
// ComparisonClause.swift
// CorePersistence
//
// Created by Milos Babic on 12/18/19.
//
import Foundation
public struct ComparisonClause {
let sortDescriptor: NSSortDescriptor
public static func ascending<EntityType: PersistableManagedObject, PropertyType>(_ keyPath: KeyPath<EntityType, PropertyType>)... | 35.95 | 153 | 0.76217 |
9aa89fbec497403cc07fac38bc22ccf6d1a1576c | 200 | css | CSS | haburi/src/component/LoginPage/index.css | gitdog01/relay_09 | 7d1798da85c7a5f89334d3e3896338e340e76644 | [
"MIT"
] | null | null | null | haburi/src/component/LoginPage/index.css | gitdog01/relay_09 | 7d1798da85c7a5f89334d3e3896338e340e76644 | [
"MIT"
] | 2 | 2020-08-07T08:29:03.000Z | 2020-08-07T14:45:41.000Z | haburi/src/component/LoginPage/index.css | gitdog01/relay_09 | 7d1798da85c7a5f89334d3e3896338e340e76644 | [
"MIT"
] | 14 | 2020-07-31T04:06:59.000Z | 2020-11-20T08:54:16.000Z | .App {
height: 100vh;
}
.myForm {
max-width: 300px;
margin: 50px auto 0;
padding: 20px;
}
#formContent {
margin-left: 20px;
margin-right: 20px;
float: left;
} | 13.333333 | 24 | 0.54 |
ff920c2078f8e1a704dfc2c6459a3aec2f9b5092 | 1,394 | swift | Swift | TextDemo/TextDemo/Classes/Mine/HomeLive/MineView.swift | codeAndylau/App_Demo | 82208da73bd7b98c89bb77011057f36698ff366c | [
"MIT"
] | null | null | null | TextDemo/TextDemo/Classes/Mine/HomeLive/MineView.swift | codeAndylau/App_Demo | 82208da73bd7b98c89bb77011057f36698ff366c | [
"MIT"
] | null | null | null | TextDemo/TextDemo/Classes/Mine/HomeLive/MineView.swift | codeAndylau/App_Demo | 82208da73bd7b98c89bb77011057f36698ff366c | [
"MIT"
] | null | null | null | //
// MineView.swift
// TextDemo
//
// Created by lau Andy on 2018/10/6.
// Copyright © 2018年 Andylau. All rights reserved.
//
import UIKit
class MineView: UIView, LCLoadXib {
override init(frame: CGRect) {
super.init(frame: frame)
setupUI()
}
required init?(coder aDecoder: NSCod... | 22.483871 | 70 | 0.525825 |
d97e6eca2965ca1436d1da0203620d376311f9f8 | 369 | kt | Kotlin | common/data/models/src/commonMain/kotlin/com/gmvalentino/models/TodoModel.kt | gmvalentino8/mvi-multiplatform | 088077dc5db7245e1e116e32b8c65b74c510326f | [
"Apache-2.0"
] | 1 | 2021-07-09T04:48:56.000Z | 2021-07-09T04:48:56.000Z | common/data/models/src/commonMain/kotlin/com/gmvalentino/models/TodoModel.kt | gmvalentino8/mvi-multiplatform | 088077dc5db7245e1e116e32b8c65b74c510326f | [
"Apache-2.0"
] | null | null | null | common/data/models/src/commonMain/kotlin/com/gmvalentino/models/TodoModel.kt | gmvalentino8/mvi-multiplatform | 088077dc5db7245e1e116e32b8c65b74c510326f | [
"Apache-2.0"
] | null | null | null | package com.gmvalentino.models
import kotlinx.datetime.LocalDateTime
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class TodoModel(
val id: String,
val title: String,
@SerialName("description") val details: String,
val date: LocalDateTime,
@Se... | 26.357143 | 54 | 0.780488 |
a759ac011697c8188d3fb724cea3a921dd84e0f4 | 254 | sql | SQL | sql/updates/0.8/4496_spell_script_target.sql | Ambal/mangos | 9833ce4e393ca36668751dbcc9dfcf7cae8ff4ff | [
"OpenSSL"
] | 1 | 2019-01-19T06:35:40.000Z | 2019-01-19T06:35:40.000Z | sql/updates/0.8/4496_spell_script_target.sql | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | null | null | null | sql/updates/0.8/4496_spell_script_target.sql | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | null | null | null | DROP TABLE IF EXISTS `spell_script_target`;
CREATE TABLE `spell_script_target` (
`entry` int(6) unsigned NOT NULL,
`type` int(8) unsigned default '0',
`targetEntry` int(11) default '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Spell System';
| 36.285714 | 62 | 0.740157 |
48dbb1746daec6f047a0fa6c51f4ece151e3bf81 | 163 | h | C | components/uart0/include/Utf8ToGbk.h | hello-qiuhe/lv_port_esp32 | e0a7e1e70fba3d3fe1d76e3a75869e0748ec28d8 | [
"MIT"
] | null | null | null | components/uart0/include/Utf8ToGbk.h | hello-qiuhe/lv_port_esp32 | e0a7e1e70fba3d3fe1d76e3a75869e0748ec28d8 | [
"MIT"
] | null | null | null | components/uart0/include/Utf8ToGbk.h | hello-qiuhe/lv_port_esp32 | e0a7e1e70fba3d3fe1d76e3a75869e0748ec28d8 | [
"MIT"
] | null | null | null | #ifndef _UTF8TOGBK_H_
#define _UTF8TOGBK_H_
int SwitchToGbk(const unsigned char* pszBufIn, int nBufInLen, unsigned char* pszBufOut, int* pnBufOutLen);
#endif
| 18.111111 | 107 | 0.791411 |
1fc3579a4b194a2ff74d9f303158dbc52fb26f5a | 3,291 | html | HTML | _posts/2014-07-15-mozmit-makes-its-debut.html | Algogator/Algogator.github.io | fe202777c73689d6d2df7b281f1a4c4ef8746015 | [
"MIT"
] | 1 | 2020-07-31T15:29:46.000Z | 2020-07-31T15:29:46.000Z | _posts/2014-07-15-mozmit-makes-its-debut.html | Algogator/Algogator.github.io | fe202777c73689d6d2df7b281f1a4c4ef8746015 | [
"MIT"
] | null | null | null | _posts/2014-07-15-mozmit-makes-its-debut.html | Algogator/Algogator.github.io | fe202777c73689d6d2df7b281f1a4c4ef8746015 | [
"MIT"
] | null | null | null | ---
layout: post
title: MozMIT makes its debut!
date: 2014-07-15 07:15:12.000000000 -05:00
type: post
parent_id: '0'
published: true
password: ''
status: publish
categories:
- FIrefox
tags:
- firefox
- mozmit
- student ambassador
meta:
_edit_last: '1'
_aioseop_opengraph_settings: a:8:{s:32:"aioseop_opengraph_settin... | 88.945946 | 633 | 0.773017 |
ef322696656d019ac08bb2031221a827b7ec34f3 | 1,108 | kt | Kotlin | app/src/main/java/com/vs/takenotes/room/AppDatabase.kt | vineelsai26/Take-Notes | d00139ea1331ebe2c3f58153758187da60ecc3fc | [
"MIT"
] | null | null | null | app/src/main/java/com/vs/takenotes/room/AppDatabase.kt | vineelsai26/Take-Notes | d00139ea1331ebe2c3f58153758187da60ecc3fc | [
"MIT"
] | null | null | null | app/src/main/java/com/vs/takenotes/room/AppDatabase.kt | vineelsai26/Take-Notes | d00139ea1331ebe2c3f58153758187da60ecc3fc | [
"MIT"
] | null | null | null | package com.vs.takenotes.room
import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.sqlite.db.SupportSQLiteDatabase
import com.vs.takenotes.dependencies.ApplicationScope
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch
import javax.inject.Inject
import javax.inject.Pr... | 31.657143 | 78 | 0.694043 |
3d8fb6eb27c56ffa0c44636431bd0c6d0063943b | 3,162 | rs | Rust | rust/sdk/src/contract/builder.rs | m10io/sdk | 62f773304da0567986d5fc33c282649238c9f5c2 | [
"MIT"
] | 1 | 2022-01-13T17:55:08.000Z | 2022-01-13T17:55:08.000Z | rust/sdk/src/contract/builder.rs | m10io/sdk | 62f773304da0567986d5fc33c282649238c9f5c2 | [
"MIT"
] | null | null | null | rust/sdk/src/contract/builder.rs | m10io/sdk | 62f773304da0567986d5fc33c282649238c9f5c2 | [
"MIT"
] | null | null | null | use m10_protos::prost::Message;
use m10_protos::sdk::{
Contract, CreateLedgerTransfer, CreateLedgerTransfers, CreateTransfer, TransferStep,
};
use std::time::{Duration, SystemTime};
pub const DEFAULT_CONTRACT_DURATION: Duration = Duration::from_secs(300);
/// A builder for [`Contract`]
///
/// A [`Contract`] in M... | 32.597938 | 112 | 0.602467 |
553bba2aab2ec051c477e9ea478141b716cfb797 | 3,404 | kt | Kotlin | common/src/test/kotlin/com/scurab/kuproxy/matcher/DefaultRequestMatcherTest.kt | jbruchanov/kuproxy | 2e10d85e7e318850679be3a21fe4406645f88811 | [
"Apache-2.0"
] | 3 | 2021-11-29T11:44:32.000Z | 2022-01-25T11:36:16.000Z | common/src/test/kotlin/com/scurab/kuproxy/matcher/DefaultRequestMatcherTest.kt | jbruchanov/kuproxy | 2e10d85e7e318850679be3a21fe4406645f88811 | [
"Apache-2.0"
] | null | null | null | common/src/test/kotlin/com/scurab/kuproxy/matcher/DefaultRequestMatcherTest.kt | jbruchanov/kuproxy | 2e10d85e7e318850679be3a21fe4406645f88811 | [
"Apache-2.0"
] | null | null | null | package com.scurab.kuproxy.matcher
import com.scurab.kuproxy.comm.IRequest
import com.scurab.kuproxy.comm.Url
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.extension.ExtensionContext
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.provider.Arguments
import org.j... | 35.831579 | 110 | 0.493537 |
2110de19357b690d6c160820fce6c4f9ff5eefc3 | 193,586 | sql | SQL | nwu_laravel.sql | bdcms/academic | 9bba734f422bb050203b62760683bd6d57b64293 | [
"MIT"
] | null | null | null | nwu_laravel.sql | bdcms/academic | 9bba734f422bb050203b62760683bd6d57b64293 | [
"MIT"
] | null | null | null | nwu_laravel.sql | bdcms/academic | 9bba734f422bb050203b62760683bd6d57b64293 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jul 24, 2018 at 08:00 PM
-- Server version: 10.1.28-MariaDB
-- PHP Version: 7.1.10
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OL... | 105.3816 | 4,695 | 0.700185 |
5c56fd4b80f0ddf376eb1eaae2cb3fcf4d020199 | 872 | swift | Swift | Carthage/Checkouts/russell-iOS/Russell/RussellUIForDemo/VerifySMSCodeViewController.swift | yuxiaoxi/DebugPanel-swift | 717edcc857616d5fdda5a3724bf75e21bc52a828 | [
"MIT"
] | null | null | null | Carthage/Checkouts/russell-iOS/Russell/RussellUIForDemo/VerifySMSCodeViewController.swift | yuxiaoxi/DebugPanel-swift | 717edcc857616d5fdda5a3724bf75e21bc52a828 | [
"MIT"
] | null | null | null | Carthage/Checkouts/russell-iOS/Russell/RussellUIForDemo/VerifySMSCodeViewController.swift | yuxiaoxi/DebugPanel-swift | 717edcc857616d5fdda5a3724bf75e21bc52a828 | [
"MIT"
] | null | null | null | //
// VerifySMSCodeViewController.swift
// RussellDemo
//
// Created by Yunfan Cui on 2018/12/18.
// Copyright © 2018 LLS. All rights reserved.
//
import UIKit
final class VerifySMSCodeViewController: UIViewController {
@IBOutlet private weak var smsField: UITextField!
@IBOutlet weak var resultLabel: UILab... | 21.8 | 123 | 0.696101 |
3d0b4ca67679416555bcb408ec40acbd3d303046 | 9,366 | go | Go | internal/states/scaling_states_test.go | serdarkalayci/pre-scaling-operator | 4becf1f7d7e7e8ce3b3ddab8b9b742a5da6506b3 | [
"Apache-2.0"
] | null | null | null | internal/states/scaling_states_test.go | serdarkalayci/pre-scaling-operator | 4becf1f7d7e7e8ce3b3ddab8b9b742a5da6506b3 | [
"Apache-2.0"
] | null | null | null | internal/states/scaling_states_test.go | serdarkalayci/pre-scaling-operator | 4becf1f7d7e7e8ce3b3ddab8b9b742a5da6506b3 | [
"Apache-2.0"
] | null | null | null | package states
import (
"context"
"reflect"
"testing"
"github.com/containersol/prescale-operator/api/v1alpha1"
scalingv1alpha1 "github.com/containersol/prescale-operator/api/v1alpha1"
g "github.com/containersol/prescale-operator/pkg/utils/global"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
v1 "k8s.io/apimac... | 24.390625 | 130 | 0.631326 |
a1c2d145290c136fb1d59d070f88426694752ce5 | 2,380 | go | Go | server.go | UKHomeOffice/dockerfile-validator | 056b995261861667aaab083c2c1f65d661112883 | [
"MIT"
] | 1 | 2017-09-03T12:08:04.000Z | 2017-09-03T12:08:04.000Z | server.go | UKHomeOffice/dockerfile-validator | 056b995261861667aaab083c2c1f65d661112883 | [
"MIT"
] | 2 | 2016-02-04T15:06:24.000Z | 2016-02-25T14:19:23.000Z | server.go | UKHomeOffice/dockerfile-validator | 056b995261861667aaab083c2c1f65d661112883 | [
"MIT"
] | 1 | 2021-04-11T09:41:02.000Z | 2021-04-11T09:41:02.000Z | package main
import (
"fmt"
"io/ioutil"
"net/http"
)
func uploadRulesHandler(w http.ResponseWriter, r *http.Request) {
switch r.Method {
//GET displays the upload form.
case "GET":
message := "Rules currently defined: \n\n" + rules.String()
w.Write([]byte(message))
//POST takes the uploaded file(s) and s... | 23.106796 | 100 | 0.692857 |
7244081bae4a13a2235923b10100dc424d141fc8 | 5,691 | rs | Rust | control-plane/rest/service/src/authentication.rs | Abhinandan-Purkait-Bolt/mayastor-control-plane | ae4b39b42cc54bf8520f0256568e5d8635eb4f39 | [
"Apache-2.0"
] | 13 | 2021-03-29T15:10:15.000Z | 2022-03-23T04:01:59.000Z | control-plane/rest/service/src/authentication.rs | Abhinandan-Purkait-Bolt/mayastor-control-plane | ae4b39b42cc54bf8520f0256568e5d8635eb4f39 | [
"Apache-2.0"
] | 146 | 2021-03-30T13:14:56.000Z | 2022-03-31T15:54:38.000Z | control-plane/rest/service/src/authentication.rs | Abhinandan-Purkait-Bolt/mayastor-control-plane | ae4b39b42cc54bf8520f0256568e5d8635eb4f39 | [
"Apache-2.0"
] | 12 | 2021-06-22T13:53:01.000Z | 2022-03-31T12:07:36.000Z | use actix_web::HttpRequest;
use jsonwebtoken::{crypto, Algorithm, DecodingKey};
use http::HeaderValue;
use std::fs::File;
use snafu::{ResultExt, Snafu};
/// Authorization Errors
#[derive(Debug, Snafu)]
pub enum AuthError {
#[snafu(display("Internal error: {}", details))]
InternalError { details: String },
... | 31.793296 | 94 | 0.593217 |
13887922362e9321f104c60f8397e7151d9c8876 | 618 | asm | Assembly | pwnlib/shellcraft/templates/arm/linux/thumb_read_stack.asm | alexpark07/pwntools | c86022e844c8264ba4c35ed1dd5d55f1c76be90b | [
"MIT"
] | 1 | 2015-04-21T11:30:28.000Z | 2015-04-21T11:30:28.000Z | pwnlib/shellcraft/templates/arm/linux/thumb_read_stack.asm | alexpark07/pwntools | c86022e844c8264ba4c35ed1dd5d55f1c76be90b | [
"MIT"
] | null | null | null | pwnlib/shellcraft/templates/arm/linux/thumb_read_stack.asm | alexpark07/pwntools | c86022e844c8264ba4c35ed1dd5d55f1c76be90b | [
"MIT"
] | null | null | null | <% from pwnlib.shellcraft import arm, common %>
<% from pwnlib.util.misc import align %>
<% from pwnlib.asm import cpp %>
<%page args="in_fd=None, size=128, allocate_stack=True" />
<%docstring>
Reads to the stack in thumb mode.
You can optioanlly shave a few bytes not allocating the stack space.
Args:
in_fd (imm/re... | 22.888889 | 68 | 0.656958 |
ebe55c9244ad0380e13c6efbd5500a6e2cfdffa7 | 1,402 | sql | SQL | atd-vzd/schema/atd_txdot__cas_transp_locat_lkp.sql | cityofaustin/transportation-vz-data | efe3cd95a532720e0f3f83b7cbd8e048a44de5a4 | [
"CC0-1.0"
] | 7 | 2019-11-22T19:04:50.000Z | 2022-03-10T20:07:40.000Z | atd-vzd/schema/atd_txdot__cas_transp_locat_lkp.sql | cityofaustin/atd-vz-data | cb00f0eba6cbb330d4325d2d1f18d862f5573205 | [
"CC0-1.0"
] | 645 | 2019-04-18T19:20:51.000Z | 2022-03-22T19:53:03.000Z | atd-vzd/schema/atd_txdot__cas_transp_locat_lkp.sql | cityofaustin/transportation-vz-data | efe3cd95a532720e0f3f83b7cbd8e048a44de5a4 | [
"CC0-1.0"
] | 1 | 2019-10-31T17:04:54.000Z | 2019-10-31T17:04:54.000Z | --
-- PostgreSQL database dump
--
-- Dumped from database version 10.6
-- Dumped by pg_dump version 10.10
-- Started on 2019-10-15 13:50:00 CDT
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_c... | 25.490909 | 129 | 0.777461 |
f1161f3b6942036e132eba6c66a691257131f95f | 579 | rb | Ruby | spec/support/sidekiq.rb | zorbash/sidekiq-dry | 01ac4aff8394462b2b41ae04ef1cdefbb66e4b2e | [
"MIT"
] | 7 | 2021-01-11T15:27:59.000Z | 2021-12-19T09:17:30.000Z | spec/support/sidekiq.rb | zorbash/sidekiq-dry | 01ac4aff8394462b2b41ae04ef1cdefbb66e4b2e | [
"MIT"
] | null | null | null | spec/support/sidekiq.rb | zorbash/sidekiq-dry | 01ac4aff8394462b2b41ae04ef1cdefbb66e4b2e | [
"MIT"
] | null | null | null | require 'sidekiq/testing'
# Load all middlewares to be tested
Sidekiq.configure_client do |config|
config.client_middleware do |chain|
chain.prepend Sidekiq::Dry::Client::SerializationMiddleware
end
end
# Class to test how the deserialization middleware interacts with
# other middlewares
class DummyMiddleware... | 20.678571 | 65 | 0.768566 |
f84f565fc56e41115ecceb39ea59ee5313d9b718 | 166 | asm | Assembly | libsrc/_DEVELOPMENT/arch/zx/nirvanam/z80/asm_NIRVANAM_drawTW_di.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/arch/zx/nirvanam/z80/asm_NIRVANAM_drawTW_di.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/arch/zx/nirvanam/z80/asm_NIRVANAM_drawTW_di.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | SECTION code_clib
SECTION code_nirvanam
PUBLIC asm_NIRVANAM_drawTW_di
EXTERN asm_NIRVANAM_drawTW
asm_NIRVANAM_drawTW_di:
di
call asm_NIRVANAM_drawTW
ei
ret
| 11.857143 | 29 | 0.849398 |
b5c6f96a3f456639e20518344225349b5861c8de | 3,836 | kt | Kotlin | app/src/main/java/com/panda/pda/app/operation/qms/quality_task/QualityTaskCommitFragment.kt | Givennn/pda | 24f6284eed22b1fe91b5462a0cdd5a466d6531ad | [
"MIT"
] | null | null | null | app/src/main/java/com/panda/pda/app/operation/qms/quality_task/QualityTaskCommitFragment.kt | Givennn/pda | 24f6284eed22b1fe91b5462a0cdd5a466d6531ad | [
"MIT"
] | null | null | null | app/src/main/java/com/panda/pda/app/operation/qms/quality_task/QualityTaskCommitFragment.kt | Givennn/pda | 24f6284eed22b1fe91b5462a0cdd5a466d6531ad | [
"MIT"
] | null | null | null | package com.panda.pda.app.operation.qms.quality_task
import android.os.Bundle
import android.view.View
import androidx.fragment.app.activityViewModels
import androidx.fragment.app.setFragmentResultListener
import by.kirich1409.viewbindingdelegate.viewBinding
import com.jakewharton.rxbinding4.view.clicks
import com.pan... | 39.142857 | 102 | 0.672576 |
03fd5f37bd08215e1f647da282cfa0d866e114b6 | 1,072 | swift | Swift | Sources/AWSSDKSwift/Services/DirectoryService/DirectoryService_Paginator.swift | eveenendaal/aws-sdk-swift | 1651fb83c9b9d1951418ab5df953f2262f5e72ab | [
"Apache-2.0"
] | 1 | 2020-11-12T20:58:09.000Z | 2020-11-12T20:58:09.000Z | Sources/AWSSDKSwift/Services/DirectoryService/DirectoryService_Paginator.swift | 0xTim/aws-sdk-swift | bdb0c83b61a2eb7874a6ae25bdf7059e6b55d747 | [
"Apache-2.0"
] | null | null | null | Sources/AWSSDKSwift/Services/DirectoryService/DirectoryService_Paginator.swift | 0xTim/aws-sdk-swift | bdb0c83b61a2eb7874a6ae25bdf7059e6b55d747 | [
"Apache-2.0"
] | null | null | null | // THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/swift-aws/aws-sdk-swift/blob/master/CodeGenerator/Sources/CodeGenerator/main.swift. DO NOT EDIT.
import NIO
//MARK: Paginators
extension DirectoryService {
/// Provides information about any domain controllers in your directory.
public func desc... | 36.965517 | 207 | 0.751866 |
890d6bef9bd176b12e06fd39777d122d9efe29bb | 2,829 | kt | Kotlin | kotlinextensions/src/main/kotlin/com/extensions/general/Jsons.kt | Krunal-Kevadiya/kotlin-extension | 6b556c47887cd2ded327783b63a92f76aee5cffc | [
"Apache-2.0"
] | 3 | 2019-01-31T08:12:17.000Z | 2019-09-23T04:43:01.000Z | kotlinextensions/src/main/kotlin/com/extensions/general/Jsons.kt | Krunal-Kevadiya/Kotlin-Extension | 6b556c47887cd2ded327783b63a92f76aee5cffc | [
"Apache-2.0"
] | null | null | null | kotlinextensions/src/main/kotlin/com/extensions/general/Jsons.kt | Krunal-Kevadiya/Kotlin-Extension | 6b556c47887cd2ded327783b63a92f76aee5cffc | [
"Apache-2.0"
] | null | null | null | package com.extensions.general
import org.json.JSONArray
import org.json.JSONObject
fun String.createJSONObject(): JSONObject? = this.convertAcceptNull({ JSONObject(this) }, null)
fun Map<*, *>.createJSONObject(): JSONObject? = this.convertAcceptNull({ JSONObject(this) }, null)
fun String.createJSONArray(): JSON... | 34.084337 | 135 | 0.730647 |
74ae18e4cc810649185cde7d55e19f176d1098ea | 22,086 | js | JavaScript | packages/publisher-dapp/src/Services/Redux/actionCreators/organizationActions.js | raamb/snet-dapp-monorepo | 44db14c6b761977ab80acaf3f31d8a5ff833427a | [
"MIT"
] | null | null | null | packages/publisher-dapp/src/Services/Redux/actionCreators/organizationActions.js | raamb/snet-dapp-monorepo | 44db14c6b761977ab80acaf3f31d8a5ff833427a | [
"MIT"
] | null | null | null | packages/publisher-dapp/src/Services/Redux/actionCreators/organizationActions.js | raamb/snet-dapp-monorepo | 44db14c6b761977ab80acaf3f31d8a5ff833427a | [
"MIT"
] | 1 | 2021-01-15T11:10:10.000Z | 2021-01-15T11:10:10.000Z | import { API } from "aws-amplify";
import isEmpty from "lodash/isEmpty";
import * as Sentry from "@sentry/browser";
import { APIEndpoints, APIPaths } from "../../AWS/APIEndpoints";
import { initializeAPIOptions } from "../../../Utils/API";
import { fetchAuthenticatedUser } from "./userActions/loginActions";
import { er... | 39.651706 | 120 | 0.719596 |
9c3df8830867b8aab4e426754654f3ab5a21b31f | 611 | swift | Swift | SinaWeibo_swift/SinaWeibo_swift/Classess/Tools/Common.swift | ios-archy/Sinaweibo_swift | 4b5a946e1a2d54977a0081f41421fab42061c8a2 | [
"MIT"
] | null | null | null | SinaWeibo_swift/SinaWeibo_swift/Classess/Tools/Common.swift | ios-archy/Sinaweibo_swift | 4b5a946e1a2d54977a0081f41421fab42061c8a2 | [
"MIT"
] | null | null | null | SinaWeibo_swift/SinaWeibo_swift/Classess/Tools/Common.swift | ios-archy/Sinaweibo_swift | 4b5a946e1a2d54977a0081f41421fab42061c8a2 | [
"MIT"
] | null | null | null | //
// Common.swift
// SinaWeibo_swift
//
// Created by archy on 16/10/25.
// Copyright © 2016年 archy. All rights reserved.
//
import Foundation
//MARK: --授权常量
let app_key = "3216380832"
let app_secret = "415a1932f3a79577ff1979606e55ebed"
let redirect_uri = "http://ios.itcast.cn"
// MARK:- 选择照片的通知常量
let Pic... | 19.709677 | 57 | 0.767594 |
327d27c6743b26b15e8e28f7f7e90cdb9a5bf69b | 814 | sql | SQL | sql/user_role.sql | tiaodan/bugcount_flask | 7cb8aaf486e7d845acb3d5f42e73919ee939d979 | [
"MulanPSL-1.0"
] | null | null | null | sql/user_role.sql | tiaodan/bugcount_flask | 7cb8aaf486e7d845acb3d5f42e73919ee939d979 | [
"MulanPSL-1.0"
] | null | null | null | sql/user_role.sql | tiaodan/bugcount_flask | 7cb8aaf486e7d845acb3d5f42e73919ee939d979 | [
"MulanPSL-1.0"
] | null | null | null | /*
Navicat MySQL Data Transfer
Source Server : 192.168.1.156
Source Server Version : 50173
Source Host : 192.168.1.156:3306
Source Database : myomc
Target Server Type : MYSQL
Target Server Version : 50173
File Encoding : 65001
Date: 2020-07-15 16:45:46
*/
SET FOREIGN_KEY_CHECKS=0;... | 23.941176 | 42 | 0.567568 |
123c271fd26ed7c816de06ae701b07d5a15c7efe | 588 | c | C | Store_Bill/Storebill.c | Puppalakoushik/C-Language-Projets | 245f670066e34dd5a443cd2eb488b6886c9a276d | [
"MIT"
] | 1 | 2020-12-11T03:54:54.000Z | 2020-12-11T03:54:54.000Z | Store_Bill/Storebill.c | puppala-koushik/C-Language-Projets | 245f670066e34dd5a443cd2eb488b6886c9a276d | [
"MIT"
] | null | null | null | Store_Bill/Storebill.c | puppala-koushik/C-Language-Projets | 245f670066e34dd5a443cd2eb488b6886c9a276d | [
"MIT"
] | null | null | null | /*This is an Generated Bill of two products
Maker:koushikpuppala
Date:23-Oct-20
Time:8:10 pm*/
#include <stdio.h>
main()
{
printf(" Hello!...Welcome to our store\n");
int x,y,z;
x=0;
y=0;
z=0;
printf("\n");
printf("Price of AXE body perfume....: ",x);
scanf("%d",&x)... | 22.615385 | 53 | 0.494898 |
dde814d0d2b72f46e9d81bf40cce48c80aaf6c3a | 723 | go | Go | settings/comm_test.go | eaglexiang/go | 5de3d9cf50d3a9b19b865236e00ed590ad5e66d8 | [
"MIT"
] | null | null | null | settings/comm_test.go | eaglexiang/go | 5de3d9cf50d3a9b19b865236e00ed590ad5e66d8 | [
"MIT"
] | null | null | null | settings/comm_test.go | eaglexiang/go | 5de3d9cf50d3a9b19b865236e00ed590ad5e66d8 | [
"MIT"
] | null | null | null | /*
* @Author: EagleXiang
* @LastEditors: EagleXiang
* @Email: eagle.xiang@outlook.com
* @Github: https://github.com/eaglexiang
* @Date: 2019-08-26 22:29:35
* @LastEditTime: 2019-08-28 20:22:43
*/
package settings
import (
"testing"
)
func Test_getChild(t *testing.T) {
_, _, ok := getChild("testKey")
if ok ... | 21.909091 | 79 | 0.687414 |
7be12228ea880d4e19ba3758840c366eedb3d195 | 2,180 | rb | Ruby | recipes/efa_install.rb | rexcsn/cfncluster-cookbook | 16aa17998c6dcdf264c3abe05d52f0ad64d75ef4 | [
"Apache-2.0"
] | null | null | null | recipes/efa_install.rb | rexcsn/cfncluster-cookbook | 16aa17998c6dcdf264c3abe05d52f0ad64d75ef4 | [
"Apache-2.0"
] | 27 | 2021-05-05T07:58:18.000Z | 2022-03-23T07:17:01.000Z | recipes/efa_install.rb | rexcsn/aws-parallelcluster-cookbook | 16aa17998c6dcdf264c3abe05d52f0ad64d75ef4 | [
"Apache-2.0"
] | null | null | null | # frozen_string_literal: true
#
# Cookbook Name:: aws-parallelcluster
# Recipe:: efa_install
#
# Copyright 2013-2019 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 ... | 30.277778 | 121 | 0.723394 |
ad101aac1cbd61b36a455d160b94a05920cbf073 | 21,584 | rs | Rust | src/pnm/encoder.rs | Robzz/image-1 | 74ea4c83a367f05bb8680dedc23f46381316fb37 | [
"MIT"
] | null | null | null | src/pnm/encoder.rs | Robzz/image-1 | 74ea4c83a367f05bb8680dedc23f46381316fb37 | [
"MIT"
] | null | null | null | src/pnm/encoder.rs | Robzz/image-1 | 74ea4c83a367f05bb8680dedc23f46381316fb37 | [
"MIT"
] | null | null | null | //! Encoding of PNM Images
use std::fmt;
use std::io;
use std::io::Write;
use super::AutoBreak;
use super::{ArbitraryHeader, ArbitraryTuplType, BitmapHeader, GraymapHeader, PixmapHeader};
use super::{HeaderRecord, PNMHeader, PNMSubtype, SampleEncoding};
use color::{num_components, ColorType};
use byteorder::{BigEndi... | 33.206154 | 100 | 0.519413 |
85d4b8da5d544c4dfd4ec02cf533813138b7bc3a | 266 | js | JavaScript | data/js/3c/1a/0f/00/00/00.24.js | hdm/mac-tracker | 69f0c4efaa3d60111001d40f7a33886cc507e742 | [
"CC-BY-4.0",
"MIT"
] | 20 | 2018-12-26T17:06:05.000Z | 2021-08-05T07:47:31.000Z | data/js/3c/1a/0f/00/00/00.24.js | hdm/mac-tracker | 69f0c4efaa3d60111001d40f7a33886cc507e742 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2021-06-03T12:20:55.000Z | 2021-06-03T16:36:26.000Z | data/js/3c/1a/0f/00/00/00.24.js | hdm/mac-tracker | 69f0c4efaa3d60111001d40f7a33886cc507e742 | [
"CC-BY-4.0",
"MIT"
] | 8 | 2018-12-27T05:07:48.000Z | 2021-01-26T00:41:17.000Z | macDetailCallback("3c1a0f000000/24",[{"d":"2014-09-17","t":"add","a":"99 Summer Street\nSuite 1130\nBoston MA 02110\n","c":"UNITED STATES","o":"ClearSky Data"},{"d":"2015-08-27","t":"change","a":"99 Summer Street Boston MA US 02110","c":"US","o":"ClearSky Data"}]);
| 133 | 265 | 0.646617 |
f0954e38182c20d45ab612a3da269fe9a1333976 | 23,018 | js | JavaScript | argus/docs/doxygen/html/search/all_67.js | gwli/JetPack_tegra_multimedia_api_sample | 554e27757a707515f8505006bac2ef7f37c42e44 | [
"Unlicense"
] | 2 | 2020-01-09T21:20:13.000Z | 2020-05-26T11:22:02.000Z | argus/docs/doxygen/html/search/all_67.js | gwli/JetPack_tegra_multimedia_api_sample | 554e27757a707515f8505006bac2ef7f37c42e44 | [
"Unlicense"
] | null | null | null | argus/docs/doxygen/html/search/all_67.js | gwli/JetPack_tegra_multimedia_api_sample | 554e27757a707515f8505006bac2ef7f37c42e44 | [
"Unlicense"
] | 1 | 2020-05-20T02:33:52.000Z | 2020-05-20T02:33:52.000Z | var searchData=
[
['g',['g',['../classArgus_1_1RGBTuple.html#a9516fdcf52eb502e914e51ef51d6dfc1',1,'Argus::RGBTuple::g()'],['../classArgus_1_1RGBTuple.html#a8aaba7c05b9ba66e75cff7cc4662caec',1,'Argus::RGBTuple::g() const ']]],
['get',['get',['../classArgus_1_1UniqueObj.html#ac232da34a550fc649e83f324fcddcba2',1,'Argu... | 188.672131 | 534 | 0.811235 |
a9345eea6a3719b34c4e5a940f956c60bbc9d49d | 1,094 | kt | Kotlin | state/src/main/java/com/hzy/state/controller/ViewStateNetworkStateProvider.kt | huangziye/ViewState | a701b75230efc6537b5d777fe4bbff6852225134 | [
"Apache-2.0"
] | 1 | 2019-11-25T02:10:03.000Z | 2019-11-25T02:10:03.000Z | state/src/main/java/com/hzy/state/controller/ViewStateNetworkStateProvider.kt | huangziye/ViewState | a701b75230efc6537b5d777fe4bbff6852225134 | [
"Apache-2.0"
] | null | null | null | state/src/main/java/com/hzy/state/controller/ViewStateNetworkStateProvider.kt | huangziye/ViewState | a701b75230efc6537b5d777fe4bbff6852225134 | [
"Apache-2.0"
] | null | null | null | package com.hzy.state.controller
import android.content.Context
import com.hzy.state.listener.OnRequestNetworkStateEvent
/**
* ViewState 控制器网络状态提供者
* @author: ziye_huang
* @date: 2019/3/22
*/
class ViewStateNetworkStateProvider private constructor() {
private var mNetworkStateEvent: OnRequestNetworkStateEven... | 26.682927 | 96 | 0.646252 |
87c4ced20a2902f2934c95c32d97d4be95e07f24 | 634 | sql | SQL | share/DB/20180123UpdateTables.sql | ryhanai/teachingplugin | a495885899eaa36ea00ba8ab89057cd4d3f36350 | [
"MIT"
] | 2 | 2020-07-21T06:08:42.000Z | 2020-07-21T06:08:44.000Z | share/DB/20180123UpdateTables.sql | ryhanai/teachingplugin | a495885899eaa36ea00ba8ab89057cd4d3f36350 | [
"MIT"
] | null | null | null | share/DB/20180123UpdateTables.sql | ryhanai/teachingplugin | a495885899eaa36ea00ba8ab89057cd4d3f36350 | [
"MIT"
] | null | null | null | DELETE from T_TASK_INST_PARAMETER Where type = 1;
ALTER TABLE T_TASK_INST_PARAMETER RENAME TO tmp_T_TASK_INST_PARAMETER;
CREATE TABLE T_TASK_INST_PARAMETER (
task_inst_id integer not null,
task_param_id integer not null,
elem_num integer not null,
name text,
rname text,
unit text,
value text,
hide i... | 30.190476 | 104 | 0.801262 |
de10e1509f6dfa140de63e5a9db392063e95dd58 | 17,775 | rs | Rust | 0xx_core_mix/src/crypto/backend/ristretto_b.rs | sololouve/MaaraaDAO | d53c244599182472789a2c71e6ea56bcc9f78569 | [
"CC0-1.0"
] | 2 | 2021-06-13T21:55:16.000Z | 2021-07-30T08:52:58.000Z | 0xx_core_mix/src/crypto/backend/ristretto_b.rs | sololouve/MaaraaDAO | d53c244599182472789a2c71e6ea56bcc9f78569 | [
"CC0-1.0"
] | null | null | null | 0xx_core_mix/src/crypto/backend/ristretto_b.rs | sololouve/MaaraaDAO | d53c244599182472789a2c71e6ea56bcc9f78569 | [
"CC0-1.0"
] | 2 | 2021-06-13T07:39:16.000Z | 2021-09-04T20:02:29.000Z | use rand::rngs::OsRng;
use rand::rngs::StdRng;
use rand::RngCore;
use rand::SeedableRng;
use serde::{Deserialize, Serialize};
use curve25519_dalek::constants::RISTRETTO_BASEPOINT_POINT;
use curve25519_dalek::ristretto::{CompressedRistretto, RistrettoPoint};
use curve25519_dalek::scalar::Scalar;
use curve25519_dalek::t... | 31.571936 | 99 | 0.547961 |
9c6352e49eadcd186d703f4a96b3724ba7bd6e0b | 1,404 | js | JavaScript | lib/couchbase.js | zengamingx/couchbase-promises | 77e6d4bf57cc5e7992e3b0132d5a608e0c03dab7 | [
"MIT"
] | 19 | 2015-11-17T18:28:43.000Z | 2019-07-06T02:47:04.000Z | lib/couchbase.js | zengamingx/couchbase-promises | 77e6d4bf57cc5e7992e3b0132d5a608e0c03dab7 | [
"MIT"
] | 12 | 2015-12-03T19:51:23.000Z | 2019-03-07T17:53:36.000Z | lib/couchbase.js | zengamingx/couchbase-promises | 77e6d4bf57cc5e7992e3b0132d5a608e0c03dab7 | [
"MIT"
] | 12 | 2016-04-05T22:00:13.000Z | 2020-02-18T04:07:22.000Z | 'use strict';
const couchbase = require('couchbase');
const elv = require('elv');
const Bucket = require('./bucket');
const Cluster = require('./cluster');
const promises = require('./promises');
const Mock = {
Cluster: require('./mock-cluster'),
SpatialQuery: couchbase.Mock.SpatialQuery,
ViewQuery... | 31.909091 | 79 | 0.700142 |
e7127e7beba22b3e99aa152efa08615be6b2e5ba | 75,289 | js | JavaScript | akan_files/1307051291-idpiframe.js | ClarisseU/MyPortfolio | d0df25d67ca2e2efca449d9a904f792f5e6ecc39 | [
"MIT"
] | null | null | null | akan_files/1307051291-idpiframe.js | ClarisseU/MyPortfolio | d0df25d67ca2e2efca449d9a904f792f5e6ecc39 | [
"MIT"
] | 2 | 2021-09-02T20:33:10.000Z | 2022-03-29T10:04:07.000Z | akan_files/1307051291-idpiframe.js | ClarisseU/MyPortfolio | d0df25d67ca2e2efca449d9a904f792f5e6ecc39 | [
"MIT"
] | null | null | null | var m,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},p=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},ba="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return n... | 515.678082 | 2,005 | 0.656271 |
5cf25095229f76ea5b1c842457d2ef0950c966a6 | 1,877 | css | CSS | public/style4.css | supersamuj533/progettoEsame | 161c74cec8190c8aec1abea41ae8394a1e0c6b29 | [
"MIT"
] | null | null | null | public/style4.css | supersamuj533/progettoEsame | 161c74cec8190c8aec1abea41ae8394a1e0c6b29 | [
"MIT"
] | null | null | null | public/style4.css | supersamuj533/progettoEsame | 161c74cec8190c8aec1abea41ae8394a1e0c6b29 | [
"MIT"
] | null | null | null | * {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #06b0da;
}
.sfondo {
position: absolute;
top: 50px;
left: 550px ;
height: 65%;
width: 30%;
background-color: rgb(255, 255, 255);
border-radius: 15px;
}... | 17.063636 | 74 | 0.602557 |
c13c5ad0ef6a6d5545104f66f38faca6cbbfda17 | 1,892 | rs | Rust | src/game/mod.rs | chutslar/rust-avec-sdl | 199bd38c916afe32235114d0e9463b656ae00f28 | [
"MIT"
] | null | null | null | src/game/mod.rs | chutslar/rust-avec-sdl | 199bd38c916afe32235114d0e9463b656ae00f28 | [
"MIT"
] | null | null | null | src/game/mod.rs | chutslar/rust-avec-sdl | 199bd38c916afe32235114d0e9463b656ae00f28 | [
"MIT"
] | null | null | null | extern crate sdl2;
use events::{Event, EventType, EventPool};
use controller::{Controllers, ControllerState};
use controller::sdl2::controller::{Axis, Button};
pub struct Game<'a> {
// Required to use events
event_pool: &'a mut EventPool,
controllers: &'a Controllers,
controller_state: ControllerState... | 28.238806 | 82 | 0.525899 |
856387b15db7d1b07802e548c3275c31439d5680 | 1,024 | kt | Kotlin | src/main/kotlin/marcombo/lcriadof/capitulo7/fichero/properties/c7p3.kt | Marcombo/El-gran-libro-de-Kotlin | fa02ae2555d8cc693638a65806c3f6ea07e4a7ff | [
"MIT"
] | null | null | null | src/main/kotlin/marcombo/lcriadof/capitulo7/fichero/properties/c7p3.kt | Marcombo/El-gran-libro-de-Kotlin | fa02ae2555d8cc693638a65806c3f6ea07e4a7ff | [
"MIT"
] | null | null | null | src/main/kotlin/marcombo/lcriadof/capitulo7/fichero/properties/c7p3.kt | Marcombo/El-gran-libro-de-Kotlin | fa02ae2555d8cc693638a65806c3f6ea07e4a7ff | [
"MIT"
] | null | null | null | /*
El gran libro de Kotlin
(para programadores de back end)
Editorial: Marcombo (https://www.marcombo.com/)
Autor: Luis Criado Fernández (http://luis.criado.online/)
CAPÍTULO 7: FICHEROS
*/
package marcombo.lcriadof.capitulo7.fichero.properties
import java.io.FileInputStream
import java.util.*
fun main(){
tr... | 26.947368 | 72 | 0.671875 |
b58102903d6f0b79507aae9a89fc7d596eabc4fd | 5,169 | asm | Assembly | Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0_notsx.log_21829_945.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0_notsx.log_21829_945.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0_notsx.log_21829_945.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x7a95, %rsi
lea addresses_D_ht+0x4375, %rdi
xor $62850, %r11
mov $86, %rcx
rep movsb
nop
nop
nop
nop
nop
add %r11, %r11
lea addresses_WC_ht+0x17e31, %rsi
lea addresses_A_ht+0x15475, %rdi
clfl... | 44.560345 | 2,999 | 0.658348 |
1628c41ae24bf509922c21c504fbd72a7ec3d731 | 1,609 | h | C | src/bf_lpm_trie/bf_lpm_trie/bf_lpm_trie.h | jafingerhut/behavioral-model | e1fcd5d54cecf7679f46ac462fdf92e049711e6c | [
"Apache-2.0"
] | 390 | 2015-10-13T05:22:51.000Z | 2022-03-30T19:18:14.000Z | src/bf_lpm_trie/bf_lpm_trie/bf_lpm_trie.h | jafingerhut/behavioral-model | e1fcd5d54cecf7679f46ac462fdf92e049711e6c | [
"Apache-2.0"
] | 919 | 2015-08-10T17:50:50.000Z | 2022-03-31T17:46:07.000Z | src/bf_lpm_trie/bf_lpm_trie/bf_lpm_trie.h | jafingerhut/behavioral-model | e1fcd5d54cecf7679f46ac462fdf92e049711e6c | [
"Apache-2.0"
] | 351 | 2015-09-18T03:32:32.000Z | 2022-03-31T03:56:38.000Z | /* Copyright 2013-present Barefoot Networks, Inc.
* Copyright 2021 VMware, 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
*
* U... | 25.951613 | 76 | 0.73151 |
f05ff75311109e9783190938edb768d0c1aeae71 | 2,772 | js | JavaScript | src/pages/authority/resource-mgnt/index.js | watertao/teemo | 13b0ebafb853d0f110c6ed7817667229efaa22e0 | [
"DOC",
"MIT"
] | 11 | 2019-07-11T04:16:32.000Z | 2021-05-16T09:26:51.000Z | src/pages/authority/resource-mgnt/index.js | watertao/teemo | 13b0ebafb853d0f110c6ed7817667229efaa22e0 | [
"DOC",
"MIT"
] | 5 | 2019-04-27T01:27:46.000Z | 2019-11-15T00:56:28.000Z | src/pages/authority/resource-mgnt/index.js | watertao/teemo | 13b0ebafb853d0f110c6ed7817667229efaa22e0 | [
"DOC",
"MIT"
] | 2 | 2019-02-20T00:58:33.000Z | 2019-08-08T03:03:50.000Z | import React, { Component } from 'react';
import PageHeaderWrapper from '@/components/PageHeaderWrapper';
import { formatMessage as fm, FormattedMessage } from 'umi/locale';
import mm from '@/utils/message-util';
import {Button, Icon, Table, Tag} from 'antd';
import TMDataList from '@/components/TMDataList';
import { c... | 25.2 | 72 | 0.535714 |
4748bd63b73ae404133a6cd40b42b7b481a67901 | 1,673 | html | HTML | krish-pabani/animation2.html | swapnil-tiwari/Awesome-Web-Art | 75e8ff32b69cda59955e85800e5f715cca5e714f | [
"MIT"
] | 14 | 2020-10-01T07:51:34.000Z | 2022-03-09T03:39:34.000Z | krish-pabani/animation2.html | swapnil-tiwari/Awesome-Web-Art | 75e8ff32b69cda59955e85800e5f715cca5e714f | [
"MIT"
] | 60 | 2020-10-01T08:06:33.000Z | 2020-11-05T08:50:58.000Z | krish-pabani/animation2.html | swapnil-tiwari/Awesome-Web-Art | 75e8ff32b69cda59955e85800e5f715cca5e714f | [
"MIT"
] | 59 | 2020-09-30T17:11:34.000Z | 2021-10-18T09:57:19.000Z | <!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
/* reset */
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
min-height: 100vh;
padding: 20px;
font-... | 14.675439 | 139 | 0.598924 |
def5ef4aeb1944c3edce5ef336d24bdb8ff9473a | 9,116 | rs | Rust | pallets/dex-api/benchmarking/src/lib.rs | metrocoindev/sora2-parachain | b6e0f16fe8c90e483ddccaf320b00fafa08d2db8 | [
"BSD-4-Clause"
] | null | null | null | pallets/dex-api/benchmarking/src/lib.rs | metrocoindev/sora2-parachain | b6e0f16fe8c90e483ddccaf320b00fafa08d2db8 | [
"BSD-4-Clause"
] | null | null | null | pallets/dex-api/benchmarking/src/lib.rs | metrocoindev/sora2-parachain | b6e0f16fe8c90e483ddccaf320b00fafa08d2db8 | [
"BSD-4-Clause"
] | null | null | null | // This file is part of the SORA network and Polkaswap app.
// Copyright (c) 2020, 2021, Polka Biome Ltd. All rights reserved.
// SPDX-License-Identifier: BSD-4-Clause
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
... | 31.32646 | 103 | 0.609149 |
3510707c7419ab1db94318384b88d2624d8e0e4d | 228 | kt | Kotlin | ok-remindercalendar-common-be/src/main/kotlin/ru/otus/otuskotlin/remindercalendar/common/backend/model/StubCase.kt | otuskotlin/otuskotlin-202012-remindercalendar-km | 772f6ee3282683875ea3f49cc91a6db7c22a35f7 | [
"MIT"
] | null | null | null | ok-remindercalendar-common-be/src/main/kotlin/ru/otus/otuskotlin/remindercalendar/common/backend/model/StubCase.kt | otuskotlin/otuskotlin-202012-remindercalendar-km | 772f6ee3282683875ea3f49cc91a6db7c22a35f7 | [
"MIT"
] | null | null | null | ok-remindercalendar-common-be/src/main/kotlin/ru/otus/otuskotlin/remindercalendar/common/backend/model/StubCase.kt | otuskotlin/otuskotlin-202012-remindercalendar-km | 772f6ee3282683875ea3f49cc91a6db7c22a35f7 | [
"MIT"
] | null | null | null | package ru.otus.otuskotlin.remindercalendar.common.backend.model
enum class StubCase {
NONE,
EVENT_FILTER_SUCCESS,
EVENT_CREATE_SUCCESS,
EVENT_READ_SUCCESS,
EVENT_UPDATE_SUCCESS,
EVENT_DELETE_SUCCESS,
} | 20.727273 | 64 | 0.77193 |
558db00c78fcec37d296e75587484d099bd5623f | 5,949 | html | HTML | index.html | calba5141114/sable-web | 66f24f8a8b27d7e5feac08719b334e610fdee029 | [
"MIT"
] | null | null | null | index.html | calba5141114/sable-web | 66f24f8a8b27d7e5feac08719b334e610fdee029 | [
"MIT"
] | null | null | null | index.html | calba5141114/sable-web | 66f24f8a8b27d7e5feac08719b334e610fdee029 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="description" content="Sable is a web development firm that specializes in SEO, content creation and sat... | 38.62987 | 152 | 0.623634 |
f558069f16d3d5699b6f6fffaeab4c98a0cabffd | 7,850 | rs | Rust | tests/unit_test.rs | gnxlxnxx/dubins_path | 92d21aeb9a059ba57850374c38e5e5b826227cc8 | [
"Apache-2.0",
"MIT"
] | 2 | 2020-05-20T23:18:48.000Z | 2020-05-20T23:19:26.000Z | tests/unit_test.rs | gnxlxnxx/dubins_path | 92d21aeb9a059ba57850374c38e5e5b826227cc8 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-05-21T08:52:24.000Z | 2020-05-21T08:52:24.000Z | tests/unit_test.rs | gnxlxnxx/dubins_path | 92d21aeb9a059ba57850374c38e5e5b826227cc8 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-05-20T15:02:35.000Z | 2020-05-20T15:02:35.000Z | #[cfg(test)]
mod tests {
use dubins_path::*;
#[test]
#[should_panic]
fn test_overlapping_circles_rsl() {
let radius = 0.5;
let end_point = Point::new(radius, 0.0);
let end_angle = Angle::zero();
RouteCSC::rsl(radius, end_point, end_angle).unwrap();
}
#[test]
... | 33.262712 | 84 | 0.474395 |
9967cf6d67e3c42c80cd6804cd55156b6dfcd432 | 1,131 | h | C | kitten/include/arch-x86_64/current.h | tsinghua-os-spring-2013/palacios | 7ee817d2495b48dc882df66ded9e8ebf2c4803d9 | [
"BSD-3-Clause"
] | 1 | 2015-03-09T04:25:00.000Z | 2015-03-09T04:25:00.000Z | kitten/include/arch-x86_64/current.h | tsinghua-os-spring-2013/palacios | 7ee817d2495b48dc882df66ded9e8ebf2c4803d9 | [
"BSD-3-Clause"
] | null | null | null | kitten/include/arch-x86_64/current.h | tsinghua-os-spring-2013/palacios | 7ee817d2495b48dc882df66ded9e8ebf2c4803d9 | [
"BSD-3-Clause"
] | null | null | null | #ifndef _X86_64_CURRENT_H
#define _X86_64_CURRENT_H
#if !defined(__ASSEMBLY__)
struct task_struct;
#include <arch/pda.h>
/**
* In normal operation, the current task pointer is read directly from
* the PDA.
*
* If the PDA has not been setup or is not available for some reason,
* the slower get_current_via_RSP()... | 22.176471 | 70 | 0.712644 |
c3b0a8a2e995a2396bd816e1e98bc83cb2f40a2f | 2,684 | go | Go | engine/worker/cmd_update.go | mvdan/cds | fcf66ba206a2cbf45540b8b3f578436ec3da5678 | [
"BSD-3-Clause"
] | 1 | 2019-04-29T12:34:50.000Z | 2019-04-29T12:34:50.000Z | engine/worker/cmd_update.go | mvdan/cds | fcf66ba206a2cbf45540b8b3f578436ec3da5678 | [
"BSD-3-Clause"
] | null | null | null | engine/worker/cmd_update.go | mvdan/cds | fcf66ba206a2cbf45540b8b3f578436ec3da5678 | [
"BSD-3-Clause"
] | null | null | null | package main
import (
"fmt"
"net/http"
"time"
"github.com/inconshreveable/go-update"
"github.com/spf13/cobra"
"github.com/ovh/cds/sdk"
"github.com/ovh/cds/sdk/cdsclient"
)
func cmdUpdate(w *currentWorker) *cobra.Command {
c := &cobra.Command{
Use: "update",
Short: "worker update [flags]",
Long: `Upd... | 29.822222 | 136 | 0.684426 |
17ebe374d409c0dc5b747caf9d0e1c4c93a76da6 | 2,940 | sql | SQL | junior/pack2_junior/p3_sql_jdbc/ch1_crud/create_v1.sql | multiscripter/job4j | 2aaaf59c2b4e1d9866395f1247897d5f09f9ef84 | [
"Apache-2.0"
] | 1 | 2018-01-16T11:27:23.000Z | 2018-01-16T11:27:23.000Z | junior/pack2_junior/p3_sql_jdbc/ch1_crud/create_v1.sql | multiscripter/job4j | 2aaaf59c2b4e1d9866395f1247897d5f09f9ef84 | [
"Apache-2.0"
] | 11 | 2020-07-01T18:39:12.000Z | 2022-02-16T01:11:31.000Z | junior/pack2_junior/p3_sql_jdbc/ch1_crud/create_v1.sql | multiscripter/job4j | 2aaaf59c2b4e1d9866395f1247897d5f09f9ef84 | [
"Apache-2.0"
] | null | null | null | -- Database: job4j
create database job4j
WITH
OWNER = postgres
ENCODING = 'UTF8'
LC_COLLATE = 'Russian_Russia.1251'
LC_CTYPE = 'Russian_Russia.1251'
TABLESPACE = pg_default
CONNECTION LIMIT = -1;
create table if not exists statuses (
id serial not null primary key,
status varchar ... | 35.853659 | 110 | 0.709524 |
417e26373a870cd1abf93d713bdb582729bf0aa5 | 2,285 | asm | Assembly | programs/oeis/157/A157448.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/157/A157448.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/157/A157448.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A157448: a(n) = 2048*n^2 - 128*n + 1.
; 1921,7937,18049,32257,50561,72961,99457,130049,164737,203521,246401,293377,344449,399617,458881,522241,589697,661249,736897,816641,900481,988417,1080449,1176577,1276801,1381121,1489537,1602049,1718657,1839361,1964161,2093057,2226049,2363137,2504321,2649601,2798977,2952449,31100... | 228.5 | 2,180 | 0.869147 |
ad2780804d0eff912bad0f46c51ba7524053e683 | 17,960 | sql | SQL | postgresql_old/01_citydb_util_DML_FUNCTIONS.sql | gioagu/3dcitydb_utilities | 5d365ba48d27b99b9781227a3b7ed8a0359a29a7 | [
"Apache-2.0"
] | 1 | 2019-04-03T14:42:20.000Z | 2019-04-03T14:42:20.000Z | postgresql_old/01_citydb_util_DML_FUNCTIONS.sql | gioagu/3dcitydb_utilities | 5d365ba48d27b99b9781227a3b7ed8a0359a29a7 | [
"Apache-2.0"
] | null | null | null | postgresql_old/01_citydb_util_DML_FUNCTIONS.sql | gioagu/3dcitydb_utilities | 5d365ba48d27b99b9781227a3b7ed8a0359a29a7 | [
"Apache-2.0"
] | null | null | null | -- 3D City Database Utilities Package
--
-- August 2017
--
-- 3D City Database: http://www.3dcitydb.org
--
--
-- Copyright 2017
-- Austrian Institute of Technology G.m.b.H., Austria
-- Center for Energy - Smart Cities and Regions Research Field
-- http://www.ait.ac.at/en/rese... | 38.958785 | 555 | 0.624889 |
60b02ffb4ae157d9b3b042bb137bd378dcd32b2e | 52 | sql | SQL | tests/queries/134-var-bytearray-gt-3.sql | pydemo/spv_14.4 | ad3b62d6bdbbfc29e56391f512ba0ee17dad4eb7 | [
"Apache-2.0"
] | null | null | null | tests/queries/134-var-bytearray-gt-3.sql | pydemo/spv_14.4 | ad3b62d6bdbbfc29e56391f512ba0ee17dad4eb7 | [
"Apache-2.0"
] | null | null | null | tests/queries/134-var-bytearray-gt-3.sql | pydemo/spv_14.4 | ad3b62d6bdbbfc29e56391f512ba0ee17dad4eb7 | [
"Apache-2.0"
] | null | null | null | SELECT COUNT(*) FROM nulls3 WHERE binary_9 > X''
50
| 17.333333 | 48 | 0.711538 |
583f96106a16757226093a1606d6d449a7d11b22 | 5,001 | h | C | chrome/browser/password_edit_dialog/android/password_edit_dialog_bridge.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/password_edit_dialog/android/password_edit_dialog_bridge.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/password_edit_dialog/android/password_edit_dialog_bridge.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_PASSWORD_EDIT_DIALOG_ANDROID_PASSWORD_EDIT_DIALOG_BRIDGE_H_
#define CHROME_BROWSER_PASSWORD_EDIT_DIALOG_ANDROID_PASSWORD_EDIT_DIALO... | 42.74359 | 85 | 0.766647 |
39d7027b00af6f69984e54c088d2259050baa863 | 2,435 | js | JavaScript | .core/.cli/commands/electron/builder/index.js | Atomic-Reactor/Reactium-SSR | ce5906db22fa726cdd25d9670343b45b9ed33e61 | [
"MIT"
] | 18 | 2019-01-01T20:40:21.000Z | 2021-05-24T02:00:08.000Z | .core/.cli/commands/electron/builder/index.js | Atomic-Reactor/Reactium-SSR | ce5906db22fa726cdd25d9670343b45b9ed33e61 | [
"MIT"
] | 21 | 2018-07-12T12:11:19.000Z | 2022-02-20T23:26:18.000Z | .core/.cli/commands/electron/builder/index.js | Atomic-Reactor/Reactium-SSR | ce5906db22fa726cdd25d9670343b45b9ed33e61 | [
"MIT"
] | 6 | 2018-12-14T19:22:21.000Z | 2022-03-07T16:22:23.000Z | /**
* -----------------------------------------------------------------------------
* Imports
* -----------------------------------------------------------------------------
*/
const generator = require('./generator');
const path = require('path');
const op = require('object-path');
const mod = path.dirname(requir... | 28.647059 | 103 | 0.627926 |
89e111c50828992611f3715b9ae88f7d3b37d526 | 6,591 | swift | Swift | LazySwifter/StringExtension.swift | quocnb/LazySwifter | fa22f21b25803d8bf763a28dc27712ee573eb482 | [
"MIT"
] | null | null | null | LazySwifter/StringExtension.swift | quocnb/LazySwifter | fa22f21b25803d8bf763a28dc27712ee573eb482 | [
"MIT"
] | null | null | null | LazySwifter/StringExtension.swift | quocnb/LazySwifter | fa22f21b25803d8bf763a28dc27712ee573eb482 | [
"MIT"
] | null | null | null | //
// StringExtension.swift
// LazySwifter
//
// Created by Quoc Nguyen on 2/14/18.
//
import UIKit
public extension String {
public func index(by distance: Int) -> String.Index? {
if distance >= 0 {
return index(startIndex, offsetBy: distance, limitedBy: endIndex)
} else {
... | 31.84058 | 101 | 0.553634 |
895ce6825f768f011555499e87987795614dee3d | 5,226 | sql | SQL | everyday_record.sql | zza00000/EverydayRecord | 04c07c7c204a9bd100186874de9af6b58ead9bd6 | [
"MIT"
] | null | null | null | everyday_record.sql | zza00000/EverydayRecord | 04c07c7c204a9bd100186874de9af6b58ead9bd6 | [
"MIT"
] | null | null | null | everyday_record.sql | zza00000/EverydayRecord | 04c07c7c204a9bd100186874de9af6b58ead9bd6 | [
"MIT"
] | null | null | null |
-- Create syntax for TABLE 'core_account'
CREATE TABLE `core_account`(
`id` INT(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '账户ID',
`username` varchar(32) NOT NULL COMMENT '用户名',
`phone` varchar(11) COMMENT '电话',
`password` varchar(32) NOT NULL COMMENT '密码',
`salt` varchar(5) NOT NULL COMMENT '盐',
`gender` ti... | 53.876289 | 118 | 0.755645 |
85b15accf37b1f3dd159492eee4d427d79728fad | 1,090 | js | JavaScript | framework/PVRCore/docs/html/search/enumvalues_a.js | senthuran-ukr/Native_SDK | 2c7f0713cd1af5cb47e2351f83418fa8c7ff49bf | [
"MIT"
] | 2 | 2020-11-04T03:57:28.000Z | 2020-11-04T03:57:33.000Z | framework/PVRCore/docs/html/search/enumvalues_a.js | senthuran-ukr/Native_SDK | 2c7f0713cd1af5cb47e2351f83418fa8c7ff49bf | [
"MIT"
] | 1 | 2021-02-09T19:06:05.000Z | 2021-02-09T19:06:05.000Z | framework/PVRCore/docs/html/search/enumvalues_a.js | senthuran-ukr/Native_SDK | 2c7f0713cd1af5cb47e2351f83418fa8c7ff49bf | [
"MIT"
] | 1 | 2021-12-09T09:49:35.000Z | 2021-12-09T09:49:35.000Z | var searchData=
[
['less',['Less',['../namespacepvr.html#a24a87498f839b45b6e1bc3c8b2ca20fca1cfdf0e8d0c87a228c1f40d9bee7888b',1,'pvr']]],
['lessequal',['LessEqual',['../namespacepvr.html#a24a87498f839b45b6e1bc3c8b2ca20fcad3e6fdac55bb7b0edd7834c968ba1f38',1,'pvr']]],
['linear',['Linear',['../namespacepvr.html#ac7a5... | 90.833333 | 156 | 0.795413 |
b6a87ac8cfef55a30951a35eccb93f0c33f8d424 | 6,784 | rb | Ruby | test/unit/user_test.rb | doomydoom/tweet_tracker | b02583b1b4a55452a1d96f3464f7b6cca1025ce2 | [
"MIT"
] | 1 | 2016-05-08T20:11:21.000Z | 2016-05-08T20:11:21.000Z | test/unit/user_test.rb | doomydoom/tweet_tracker | b02583b1b4a55452a1d96f3464f7b6cca1025ce2 | [
"MIT"
] | null | null | null | test/unit/user_test.rb | doomydoom/tweet_tracker | b02583b1b4a55452a1d96f3464f7b6cca1025ce2 | [
"MIT"
] | null | null | null | require 'test_helper'
require File.expand_path(File.dirname(__FILE__) + "/../factories/user_factories")
require 'digest/sha2'
class UserTest < ActiveSupport::TestCase
test "Should be invalid without a login" do
@user = Factory.build(:new_user, :login => nil)
assert ! @user.valid?
assert @user.errors.on(:... | 34.436548 | 105 | 0.690448 |
b65d37d8b81dcfccaee6c49dba4da0767a9cdfc9 | 151 | rb | Ruby | eight_queens.rb | johnobrien8642/queen-puzzle | 7c840c8cf72e779293d6a97cf5a267a2f9970531 | [
"MIT"
] | null | null | null | eight_queens.rb | johnobrien8642/queen-puzzle | 7c840c8cf72e779293d6a97cf5a267a2f9970531 | [
"MIT"
] | 5 | 2020-07-20T14:20:30.000Z | 2020-11-07T00:03:33.000Z | eight_queens.rb | johnobrien8642/queen-puzzle | 7c840c8cf72e779293d6a97cf5a267a2f9970531 | [
"MIT"
] | 2 | 2020-07-21T18:04:58.000Z | 2020-07-21T18:17:06.000Z | require_relative "lib/console_printer"
require_relative "lib/brute_force_solver"
grid = BruteForceSolver.new(5).solve
ConsolePrinter.new(grid).print
| 21.571429 | 41 | 0.834437 |
0bdf516531d721be675a93f579029d65351cd4e6 | 349 | lua | Lua | examples/tcp_client.lua | ljatsh/luv | bc5ca5b0f325fb5449cc42ae9928f92442509fed | [
"Apache-2.0"
] | null | null | null | examples/tcp_client.lua | ljatsh/luv | bc5ca5b0f325fb5449cc42ae9928f92442509fed | [
"Apache-2.0"
] | null | null | null | examples/tcp_client.lua | ljatsh/luv | bc5ca5b0f325fb5449cc42ae9928f92442509fed | [
"Apache-2.0"
] | null | null | null | local luv = require("luv")
local host = luv.net.getaddrinfo("www.baidu.com")
local sock = luv.net.tcp()
print("conn:", sock:connect(host, 80))
print("write:", sock:write("GET / HTTP/1.0\r\nHost: www.baidu.com\r\n\r\n"))
repeat
local count, data = sock:read()
if not count then
print(data)
break
end
pr... | 21.8125 | 76 | 0.661891 |
b4230a2f99e49d412acc8e9b45e8c6f1111a14b8 | 390 | kt | Kotlin | app/src/main/java/com/srg/codetestrickmorty/domain/features/characters/CharactersRepository.kt | sebrodgar/code-test-rick-morty | dfb2f16f8d12809bc97f17cbe4a267df46bf3ffa | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/srg/codetestrickmorty/domain/features/characters/CharactersRepository.kt | sebrodgar/code-test-rick-morty | dfb2f16f8d12809bc97f17cbe4a267df46bf3ffa | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/srg/codetestrickmorty/domain/features/characters/CharactersRepository.kt | sebrodgar/code-test-rick-morty | dfb2f16f8d12809bc97f17cbe4a267df46bf3ffa | [
"Apache-2.0"
] | null | null | null | package com.srg.codetestrickmorty.domain.features.characters
import androidx.paging.PagingData
import com.srg.codetestrickmorty.domain.features.characters.models.CharacterDomainModel
import kotlinx.coroutines.flow.Flow
interface CharactersRepository {
fun getAllCharacters(): Flow<PagingData<CharacterDomainModel>>... | 35.454545 | 87 | 0.841026 |
501cf2c50053933c3fdfd2a4a921ec31a10d1a9c | 10,870 | go | Go | lobby-sdk/pkg/lobbyclient/operations/admin_update_party_attributes_v1_responses.go | AccelByte/accelbyte-services-api | 6e7246d1d3e5bc92bf283fca8692b4196a950f9b | [
"MIT"
] | 3 | 2021-09-23T13:34:34.000Z | 2022-02-10T06:35:48.000Z | lobby-sdk/pkg/lobbyclient/operations/admin_update_party_attributes_v1_responses.go | AccelByte/accelbyte-services-api | 6e7246d1d3e5bc92bf283fca8692b4196a950f9b | [
"MIT"
] | null | null | null | lobby-sdk/pkg/lobbyclient/operations/admin_update_party_attributes_v1_responses.go | AccelByte/accelbyte-services-api | 6e7246d1d3e5bc92bf283fca8692b4196a950f9b | [
"MIT"
] | 3 | 2021-07-19T04:52:57.000Z | 2021-09-23T05:26:09.000Z | // Code generated by go-swagger; DO NOT EDIT.
package operations
// 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"
"io/ioutil"
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/Acce... | 35.064516 | 175 | 0.80092 |
c61eeeb0449492479692c6bc93823072da7a0535 | 217 | rb | Ruby | test/vcr_setup.rb | dvci/iis-shc-issuer | 7958f6806c4e5157bb6082b2ea3308f72536ce54 | [
"Apache-2.0"
] | 2 | 2021-07-27T13:22:29.000Z | 2021-09-03T07:41:53.000Z | test/vcr_setup.rb | cronkllr/iis-shc-issuer | 03b4ba6eb6bca304e483e4308f063dff18da10b8 | [
"Apache-2.0"
] | 4 | 2021-08-04T20:51:42.000Z | 2021-11-10T15:19:55.000Z | test/vcr_setup.rb | cronkllr/iis-shc-issuer | 03b4ba6eb6bca304e483e4308f063dff18da10b8 | [
"Apache-2.0"
] | 1 | 2021-09-03T07:39:32.000Z | 2021-09-03T07:39:32.000Z | require 'vcr'
VCR.configure do |config|
config.cassette_library_dir = 'test/vcr_cassettes/iis_shc_issuer'
config.hook_into :webmock
config.default_cassette_options = { match_requests_on: [:method, :path] }
end
| 27.125 | 75 | 0.778802 |
f03dcba898ec552a2f7c60986bdb27f4d98d95f4 | 986 | js | JavaScript | kasa/Server/routes/api/Image.js | starlenj/sirket_siparis | 5e45821a3f1b14801b621c2a91d67729eeb3e9f7 | [
"MIT"
] | null | null | null | kasa/Server/routes/api/Image.js | starlenj/sirket_siparis | 5e45821a3f1b14801b621c2a91d67729eeb3e9f7 | [
"MIT"
] | null | null | null | kasa/Server/routes/api/Image.js | starlenj/sirket_siparis | 5e45821a3f1b14801b621c2a91d67729eeb3e9f7 | [
"MIT"
] | null | null | null | const expres = require('express')
const route = expres.Router()
const multer = require('multer')
const path = require('path')
const fileFilter = (req, file, cb) => {
const allwedTypes = ["image/jpeg", "image/png"]
if (!allwedTypes.includes(file.mimetype)) {
const error = new Error("Desteklenmeyen Dosya... | 24.65 | 84 | 0.634888 |
f1cf83410b8a5d4a579eebaf312a5d015ed272e8 | 15,621 | rb | Ruby | server/WAPI.rb | tl-its-umich-edu/StudentDashboard | eaaef3a834dd0fce164feea7ebe7bb7706c129ea | [
"Apache-2.0"
] | 1 | 2018-11-02T19:53:42.000Z | 2018-11-02T19:53:42.000Z | server/WAPI.rb | tl-its-umich-edu/StudentDashboard | eaaef3a834dd0fce164feea7ebe7bb7706c129ea | [
"Apache-2.0"
] | 99 | 2015-01-29T15:22:52.000Z | 2018-04-09T17:36:04.000Z | server/WAPI.rb | tl-its-umich-edu/StudentDashboard | eaaef3a834dd0fce164feea7ebe7bb7706c129ea | [
"Apache-2.0"
] | 4 | 2015-04-30T18:13:03.000Z | 2016-06-15T20:37:35.000Z | # Utility class to run requests against a WSO2 API.
# This has two entry points of interest:
# Constructor: new(hash)
# The hash should contain the following values:
# 'token_server','api_prefix','key','secret'
# It may contain the current token value but does not need to
# since WAPI will renew tokens as necessary.
... | 42.44837 | 184 | 0.690417 |
307d40bbdcac4f0670d5510a7d893f3b75e84511 | 90,197 | html | HTML | recodoc2/testdata/hib35doc/querysql.html | bartdag/recodoc2 | 592c90fdd8e5bd8f9cbb3229771731294f4a1fba | [
"BSD-3-Clause"
] | 9 | 2015-06-16T01:20:02.000Z | 2022-01-16T02:36:59.000Z | recodoc2/testdata/hib35doc/querysql.html | xwyangjshb/recodoc2 | 592c90fdd8e5bd8f9cbb3229771731294f4a1fba | [
"BSD-3-Clause"
] | null | null | null | recodoc2/testdata/hib35doc/querysql.html | xwyangjshb/recodoc2 | 592c90fdd8e5bd8f9cbb3229771731294f4a1fba | [
"BSD-3-Clause"
] | 4 | 2019-10-20T10:10:34.000Z | 2022-01-16T02:36:51.000Z | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title xmlns:rf="java:org.jboss.highlight.XhtmlRendererFactory">Chapter 17. Native SQL</title><link rel=... | 228.926396 | 2,471 | 0.712197 |
753c60cd4996ec8ac665f93219527d7c7e96d3c2 | 21,876 | c | C | agent/plugin/file/attribute.c | mexicowilly/Yella | 63888d9abe143219ed923625f8066eaf17a8d553 | [
"Apache-2.0"
] | null | null | null | agent/plugin/file/attribute.c | mexicowilly/Yella | 63888d9abe143219ed923625f8066eaf17a8d553 | [
"Apache-2.0"
] | 36 | 2016-08-10T02:46:17.000Z | 2021-05-31T14:07:48.000Z | agent/plugin/file/attribute.c | mexicowilly/Yella | 63888d9abe143219ed923625f8066eaf17a8d553 | [
"Apache-2.0"
] | null | null | null | #include "attribute.h"
#include "common/file.h"
#include "common/text_util.h"
#include <string.h>
static yella_file_type fb_to_file_type(yella_fb_file_file_type_enum_t fbt)
{
yella_file_type result;
switch (fbt)
{
case yella_fb_file_file_type_BLOCK_SPECIAL:
result = YELLA_FILE_TYPE_BLOCK_SPECI... | 43.839679 | 179 | 0.632337 |
ec05efa7f754104cb44b17c5135491643708dff3 | 22,383 | kt | Kotlin | src/main/kotlin/germanskript/Interpretierer.kt | lulugo19/GermanScript | bafd9d81ce1ad130d3cf9036138dcdb74777db69 | [
"MIT"
] | 5 | 2020-07-23T10:45:12.000Z | 2021-06-03T22:28:21.000Z | src/main/kotlin/germanskript/Interpretierer.kt | lulugo19/GermanSkript | bafd9d81ce1ad130d3cf9036138dcdb74777db69 | [
"MIT"
] | 4 | 2020-06-22T13:52:57.000Z | 2020-07-21T14:25:14.000Z | src/main/kotlin/germanskript/Interpretierer.kt | lulugo19/GermanScript | bafd9d81ce1ad130d3cf9036138dcdb74777db69 | [
"MIT"
] | null | null | null | package germanskript
import germanskript.intern.*
import java.io.File
import java.util.*
import kotlin.collections.HashMap
import kotlin.math.*
import kotlin.random.Random
typealias WerfeFehler = (String, String, Token) -> Objekt
typealias InterpretiereInjectionMethodenAufruf = (String, Token, Objekt, List<Objekt>) ->... | 36.935644 | 137 | 0.704865 |
67df42d567965bced321f4a905df7ec611a80168 | 785 | sql | SQL | local_migrations/20181024005814_add_trial_tsp_users.sql | mr337/mymove | 42b08f2c6dcc95d58f0a3d32d63013c9a6a8426d | [
"MIT"
] | 46 | 2018-02-08T19:15:16.000Z | 2022-03-18T17:52:04.000Z | local_migrations/20181024005814_add_trial_tsp_users.sql | mr337/mymove | 42b08f2c6dcc95d58f0a3d32d63013c9a6a8426d | [
"MIT"
] | 5,729 | 2018-01-19T01:11:09.000Z | 2022-03-31T21:46:17.000Z | local_migrations/20181024005814_add_trial_tsp_users.sql | mr337/mymove | 42b08f2c6dcc95d58f0a3d32d63013c9a6a8426d | [
"MIT"
] | 39 | 2018-02-01T22:31:08.000Z | 2022-03-25T17:43:10.000Z | -- Local test migration.
-- This will be run on development environments. It should mirror what you
-- intend to apply on production, but do not include any sensitive data.
INSERT INTO public.tsp_users
VALUES (
uuid_generate_v4(), NULL,
'Donkey', 'Kong', NULL,
'd.kong@example.com', '(555) 342-4654',
'd7c0e4e0... | 25.322581 | 74 | 0.681529 |
90f8b820017fdf120c9b12eef43db55e08a459fc | 4,211 | swift | Swift | JudoKit_iOSTests/Sevices/iDeal/JPIDEALServiceTest.swift | Judopay/JudoKit-iOS | 0866f67e149082596b024c55e45c2e628d373026 | [
"MIT"
] | 1 | 2020-07-29T07:46:24.000Z | 2020-07-29T07:46:24.000Z | JudoKit_iOSTests/Sevices/iDeal/JPIDEALServiceTest.swift | Judopay/JudoKit-iOS | 0866f67e149082596b024c55e45c2e628d373026 | [
"MIT"
] | 111 | 2020-05-06T01:08:57.000Z | 2021-11-14T22:24:36.000Z | JudoKit_iOSTests/Sevices/iDeal/JPIDEALServiceTest.swift | Judopay/JudoKit-iOS | 0866f67e149082596b024c55e45c2e628d373026 | [
"MIT"
] | 4 | 2020-06-17T12:46:21.000Z | 2021-06-29T10:10:10.000Z | //
// JPIDEALServiceTest.swift
// JudoKit_iOSTests
//
// Copyright (c) 2020 Alternative Payments Ltd
//
// 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... | 38.990741 | 108 | 0.665638 |
bee4b73e57759fbe6a0d76b9905eed848e04ba16 | 953 | html | HTML | manuscript/page-1115/body.html | marvindanig/the-iliad | 3982f687b6808a6db81d484cd85930ba4f0c4b97 | [
"BlueOak-1.0.0",
"MIT"
] | null | null | null | manuscript/page-1115/body.html | marvindanig/the-iliad | 3982f687b6808a6db81d484cd85930ba4f0c4b97 | [
"BlueOak-1.0.0",
"MIT"
] | null | null | null | manuscript/page-1115/body.html | marvindanig/the-iliad | 3982f687b6808a6db81d484cd85930ba4f0c4b97 | [
"BlueOak-1.0.0",
"MIT"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><p class="no-indent ">bleed,</p><p>Nor must thy corse lie honour'd on the bier,</p><p>Nor spouse, nor mother, grace thee with a tear!</p><p>Far from our pious rites those dear remains</p><p>Must feast the vultures on the naked plains."</p><p>So they, while down their c... | 953 | 953 | 0.719832 |
8e851f54c36f67d2c1da7349d63d10d1507fd4b5 | 1,620 | kt | Kotlin | src/test/kotlin/xyz/poeschl/kixelflut/DrawUtilsTest.kt | Poeschl/Kixelflut | a4a423c1ab6157db9fdf30e5400f0b192e73c955 | [
"Apache-2.0"
] | null | null | null | src/test/kotlin/xyz/poeschl/kixelflut/DrawUtilsTest.kt | Poeschl/Kixelflut | a4a423c1ab6157db9fdf30e5400f0b192e73c955 | [
"Apache-2.0"
] | null | null | null | src/test/kotlin/xyz/poeschl/kixelflut/DrawUtilsTest.kt | Poeschl/Kixelflut | a4a423c1ab6157db9fdf30e5400f0b192e73c955 | [
"Apache-2.0"
] | null | null | null | package xyz.poeschl.kixelflut
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import java.awt.Color
internal class DrawUtilsTest {
@Test
fun createHorizontalPixels() {
//WHEN
val startingPoint = Point(1, 1)
//THEN
val pixels = createHorizo... | 25.714286 | 77 | 0.562963 |
06d5b3cf7b64a8433f3b0045a16e085706b75dd8 | 256 | kt | Kotlin | navigation/src/main/java/org/auspiciousrhino/navigation/ErrorParams.kt | rainqer/quick_setup_9th_age | 9a4988d4135aa47436497c4873fe6e0465552ab3 | [
"Apache-2.0"
] | null | null | null | navigation/src/main/java/org/auspiciousrhino/navigation/ErrorParams.kt | rainqer/quick_setup_9th_age | 9a4988d4135aa47436497c4873fe6e0465552ab3 | [
"Apache-2.0"
] | null | null | null | navigation/src/main/java/org/auspiciousrhino/navigation/ErrorParams.kt | rainqer/quick_setup_9th_age | 9a4988d4135aa47436497c4873fe6e0465552ab3 | [
"Apache-2.0"
] | null | null | null | package org.auspiciousrhino.navigation
import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.parcelize.Parcelize
@Parcelize
data class ErrorParams(
@SerializedName("error") val errorMessage: String
) : Parcelable | 25.6 | 51 | 0.835938 |
c349fb0c9feb761b5641f905ba4ff6c343f00986 | 31,963 | rs | Rust | utils/ts-bookkeeping/src/data.rs | 0xpr03/tsclientlib | 3aa03661a2b9c62a6faf05e0f16a94e606c4fdb6 | [
"Apache-2.0",
"MIT"
] | 85 | 2017-10-28T23:37:26.000Z | 2022-03-19T21:07:04.000Z | utils/ts-bookkeeping/src/data.rs | 0xpr03/tsclientlib | 3aa03661a2b9c62a6faf05e0f16a94e606c4fdb6 | [
"Apache-2.0",
"MIT"
] | 25 | 2018-02-15T11:14:15.000Z | 2022-02-18T22:57:14.000Z | utils/ts-bookkeeping/src/data.rs | 0xpr03/tsclientlib | 3aa03661a2b9c62a6faf05e0f16a94e606c4fdb6 | [
"Apache-2.0",
"MIT"
] | 21 | 2017-10-28T23:41:45.000Z | 2021-05-09T22:21:18.000Z | use std::borrow::Cow;
use std::collections::{HashMap, HashSet};
use std::net::{IpAddr, SocketAddr};
use std::{iter, mem, u16};
use serde::{Deserialize, Serialize};
use time::{Duration, OffsetDateTime};
use tsproto_packets::packets::OutCommand;
use tsproto_types::crypto::EccKeyPubP256;
use tsproto_types::*;
use crate:... | 30.325427 | 94 | 0.673216 |
580d553bc4c69ce27e44c82bee7db2c5d7a99f8d | 1,052 | c | C | holo-client-c/src/future.c | Invoker-liu/alibabacloud-hologres-connectors | 48c095795f4e5aa78ec926ba1f6f896e2c7d16db | [
"Apache-2.0"
] | 25 | 2021-02-02T09:30:26.000Z | 2022-03-28T06:21:50.000Z | holo-client-c/src/future.c | Invoker-liu/alibabacloud-hologres-connectors | 48c095795f4e5aa78ec926ba1f6f896e2c7d16db | [
"Apache-2.0"
] | 5 | 2021-08-13T07:52:19.000Z | 2022-02-22T03:00:47.000Z | holo-client-c/src/future.c | Invoker-liu/alibabacloud-hologres-connectors | 48c095795f4e5aa78ec926ba1f6f896e2c7d16db | [
"Apache-2.0"
] | 14 | 2021-07-09T09:27:04.000Z | 2022-03-03T01:39:23.000Z | #include "future.h"
#include "utils.h"
Future* create_future() {
Future* future = MALLOC(1, Future);
future->completed = false;
future->retVal = NULL;
future->mutex = MALLOC(1, pthread_mutex_t);
future->cond = MALLOC(1, pthread_cond_t);
pthread_mutex_init(future->mutex, NULL);
pthread_cond_... | 29.222222 | 55 | 0.686312 |
217883fe1b98d0650a223e8945b97d5babf3f7aa | 383 | rs | Rust | build.rs | niladic/csv-exec | 55ac3959f67ef481c5e11b86d2fc8c7f308234e8 | [
"MIT"
] | 2 | 2021-01-21T17:40:09.000Z | 2021-01-21T17:40:10.000Z | build.rs | niladic/csv-exec | 55ac3959f67ef481c5e11b86d2fc8c7f308234e8 | [
"MIT"
] | null | null | null | build.rs | niladic/csv-exec | 55ac3959f67ef481c5e11b86d2fc8c7f308234e8 | [
"MIT"
] | null | null | null | use std::env;
use std::path::Path;
fn main() {
let out_dir = env::var("OUT_DIR").unwrap();
let dest_path = Path::new(&out_dir).join("buildinfo.rs");
let build_consts = format!(
r#"
const BUILDINFO_VERSION: &str = "{}";
"#,
env::var("CARGO_PKG_VERSION").unwrap(),
);
s... | 25.533333 | 65 | 0.574413 |
f182d809b6473858bb0782ca8d5a8831f9129089 | 3,820 | kt | Kotlin | src/test/kotlin/io/github/wulkanowy/api/repository/StudentStartRepositoryTest.kt | dominik-korsa/api | 3a9d1e8a62727a4631ad42ef4af25e3df57d8d1b | [
"Apache-2.0"
] | 11 | 2018-08-21T07:34:56.000Z | 2021-01-09T20:20:49.000Z | src/test/kotlin/io/github/wulkanowy/api/repository/StudentStartRepositoryTest.kt | dominik-korsa/api | 3a9d1e8a62727a4631ad42ef4af25e3df57d8d1b | [
"Apache-2.0"
] | 43 | 2018-11-19T05:36:09.000Z | 2019-12-06T13:49:19.000Z | src/test/kotlin/io/github/wulkanowy/api/repository/StudentStartRepositoryTest.kt | dominik-korsa/api | 3a9d1e8a62727a4631ad42ef4af25e3df57d8d1b | [
"Apache-2.0"
] | 4 | 2019-02-19T23:30:47.000Z | 2019-12-06T09:09:44.000Z | package io.github.wulkanowy.api.repository
import io.github.wulkanowy.api.Api
import io.github.wulkanowy.api.BaseLocalTest
import io.github.wulkanowy.api.register.RegisterTest
import io.github.wulkanowy.api.register.Semester
import io.reactivex.observers.TestObserver
import okhttp3.mockwebserver.MockResponse
import or... | 31.570248 | 123 | 0.659424 |
0c806a0eaf687b2d10c9f68f4752a320058970ab | 737 | py | Python | .eggs/py2app-0.14-py3.6.egg/py2app/recipes/matplotlib.py | stfbnc/mtsa_py | 0dd14f0e51e3251f10b3da781867fbc7173608eb | [
"MIT"
] | 17 | 2018-08-28T04:40:07.000Z | 2021-12-15T06:19:31.000Z | .eggs/py2app-0.14-py3.6.egg/py2app/recipes/matplotlib.py | stfbnc/mtsa_py | 0dd14f0e51e3251f10b3da781867fbc7173608eb | [
"MIT"
] | 4 | 2019-05-17T09:35:30.000Z | 2022-03-13T03:50:20.000Z | .eggs/py2app-0.14-py3.6.egg/py2app/recipes/matplotlib.py | stfbnc/mtsa_py | 0dd14f0e51e3251f10b3da781867fbc7173608eb | [
"MIT"
] | 3 | 2019-01-15T07:13:53.000Z | 2020-03-29T00:48:39.000Z | import os
def check(cmd, mf):
m = mf.findNode('matplotlib')
if m is None or m.filename is None:
return None
if cmd.matplotlib_backends:
backends = {}
for backend in cmd.matplotlib_backends:
if backend == '-':
pass
elif backend == '*':
... | 24.566667 | 74 | 0.530529 |
5fce6a497f7d47553f6120616369ac3c78ff3ff9 | 1,506 | h | C | EP Mobile/EP Mobile/EPSAVAnnulusViewController.h | mannd/epmobile-ios | 7974764c7c5233668f02876598af985e0f79692d | [
"Apache-2.0"
] | 2 | 2015-02-13T17:16:50.000Z | 2015-08-19T01:51:56.000Z | EP Mobile/EP Mobile/EPSAVAnnulusViewController.h | mannd/epmobile-ios | 7974764c7c5233668f02876598af985e0f79692d | [
"Apache-2.0"
] | 6 | 2015-10-26T06:16:56.000Z | 2020-12-08T17:21:50.000Z | EP Mobile/EP Mobile/EPSAVAnnulusViewController.h | mannd/epmobile-ios | 7974764c7c5233668f02876598af985e0f79692d | [
"Apache-2.0"
] | 1 | 2022-03-13T21:59:39.000Z | 2022-03-13T21:59:39.000Z | //
// EPSAVAnnulusViewController.h
// EP Mobile
//
// Created by David Mann on 8/7/12.
// Copyright (c) 2012 EP Studios. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface EPSAVAnnulusViewController : UIViewController
@property (strong, nonatomic) IBOutlet UIImageView *mapImageView;
@property (strong, non... | 40.702703 | 74 | 0.800133 |
b2d18501d17a461813526ffc739b3386958593ec | 2,829 | py | Python | backend/fief/schemas/workspace.py | fief-dev/fief | cbfeec11da7a03aa345cb7ceb088b5d8ec9d6ab1 | [
"MIT"
] | 1 | 2022-02-13T17:39:42.000Z | 2022-02-13T17:39:42.000Z | backend/fief/schemas/workspace.py | fief-dev/fief | cbfeec11da7a03aa345cb7ceb088b5d8ec9d6ab1 | [
"MIT"
] | 1 | 2022-02-13T14:46:24.000Z | 2022-02-13T14:46:24.000Z | backend/fief/schemas/workspace.py | fief-dev/fief | cbfeec11da7a03aa345cb7ceb088b5d8ec9d6ab1 | [
"MIT"
] | null | null | null | from typing import Optional
from pydantic import BaseModel, root_validator, validator
from fief.crypto.encryption import decrypt
from fief.db.types import DatabaseType
from fief.errors import APIErrorCode
from fief.schemas.generics import UUIDSchema
from fief.settings import settings
def validate_all_database_setti... | 28.29 | 85 | 0.721456 |
f1712a989077760f2b977fa2248efa1ecb1216c4 | 348 | rb | Ruby | test/test_helper.rb | warwickshire/indulgence | a679747244a73f5a4dc780027b05a86c550488c5 | [
"MIT"
] | null | null | null | test/test_helper.rb | warwickshire/indulgence | a679747244a73f5a4dc780027b05a86c550488c5 | [
"MIT"
] | null | null | null | test/test_helper.rb | warwickshire/indulgence | a679747244a73f5a4dc780027b05a86c550488c5 | [
"MIT"
] | null | null | null | ENV["RAILS_ENV"] = "test"
$:.unshift File.join(File.dirname(__FILE__),'units')
$:.unshift File.join(File.dirname(__FILE__),'lib')
$:.unshift File.join(File.dirname(__FILE__),'..','lib','indulgence')
require 'test/unit'
require 'active_record'
ActiveRecord::Base.establish_connection :adapter => 'sqlite3', :database =>... | 34.8 | 102 | 0.721264 |
9c81d7357950bdee8236c451c9facd808791d4a5 | 627 | js | JavaScript | backend/src/database/knex/index.js | IagooCesaar/cursos-rocketseat-omnistack-11 | 177221c9a9044786b8456b5e0f57b9ea0270a516 | [
"MIT"
] | 10 | 2020-04-20T21:53:48.000Z | 2020-06-06T20:52:10.000Z | backend/src/database/knex/index.js | IagooCesaar/cursos-rocketseat-omnistack-11 | 177221c9a9044786b8456b5e0f57b9ea0270a516 | [
"MIT"
] | 9 | 2021-03-10T12:40:18.000Z | 2022-02-27T02:02:51.000Z | backend/src/database/knex/index.js | IagooCesaar/cursos-rocketseat-omnistack-11 | 177221c9a9044786b8456b5e0f57b9ea0270a516 | [
"MIT"
] | null | null | null | const knex = require("knex");
const knexConfig = require("../../../knexfile");
const canLog = process.env.CAN_LOG || false === true;
let config = null;
const getConfig = () => {
switch (process.env.NODE_ENV) {
case "test":
config = knexConfig.test;
return;
case "prod":
config = knexConfig... | 20.9 | 68 | 0.62201 |
9c7bc5120420a0cb25ef620b57ad969b440a8f11 | 1,829 | js | JavaScript | js/iconType.js | baajur/twint-desktop-native | 3801fed6c6e4d31a6354ef1faa37a959c29de57c | [
"MIT"
] | 14 | 2019-09-02T14:18:13.000Z | 2022-03-15T01:07:46.000Z | js/iconType.js | baajur/twint-desktop-native | 3801fed6c6e4d31a6354ef1faa37a959c29de57c | [
"MIT"
] | 2 | 2021-10-12T22:18:57.000Z | 2022-03-25T18:44:19.000Z | js/iconType.js | baajur/twint-desktop-native | 3801fed6c6e4d31a6354ef1faa37a959c29de57c | [
"MIT"
] | 6 | 2020-05-10T23:52:01.000Z | 2021-07-23T16:03:57.000Z | const solid = "../icons/solid/"
const brands = "../icons/brands/"
const icons = {
"email" : solid + "envelope.svg",
"domain" : solid + "building.svg",
"criminal" : solid + "angry.svg",
"malware" : solid + "bug.svg",
"vector" : solid + "bus.svg",
"lightDrug" : solid + "cannabis.svg",
"heavyD... | 36.58 | 52 | 0.56479 |
0e39ad6d35627e7cc119369d04d0ef7bf5d89883 | 9,090 | html | HTML | doc/dist/users/tour.html | embedthis/pak | 3ef3e5fdb7b74814db5d63c949b8c8bb5c1bd844 | [
"Zlib",
"Apache-2.0",
"BSD-2-Clause"
] | 7 | 2015-07-28T11:37:10.000Z | 2020-11-09T07:19:44.000Z | doc/dist/users/tour.html | embedthis/pak | 3ef3e5fdb7b74814db5d63c949b8c8bb5c1bd844 | [
"Zlib",
"Apache-2.0",
"BSD-2-Clause"
] | 39 | 2015-04-10T01:06:18.000Z | 2019-09-28T11:46:54.000Z | doc/dist/users/tour.html | embedthis/pak | 3ef3e5fdb7b74814db5d63c949b8c8bb5c1bd844 | [
"Zlib",
"Apache-2.0",
"BSD-2-Clause"
] | 9 | 2016-03-01T10:53:48.000Z | 2021-11-09T12:57:25.000Z | <!DOCTYPE html>
<html lang="en">
<head>
<title>Quick Tour</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-s... | 44.558824 | 146 | 0.538944 |
67f5394ce79bb56fe20797602fec4beb6eb9acc7 | 269 | swift | Swift | Sources/AnyLint/Extensions/URLExt.swift | andrej8888/AnyLint | 8914705c3cffeb0411f0238265a6070abcfd7b53 | [
"MIT"
] | 117 | 2020-03-22T23:09:10.000Z | 2022-03-21T06:44:24.000Z | Sources/AnyLint/Extensions/URLExt.swift | andrej8888/AnyLint | 8914705c3cffeb0411f0238265a6070abcfd7b53 | [
"MIT"
] | 31 | 2020-03-18T07:57:25.000Z | 2022-03-31T09:56:46.000Z | Sources/AnyLint/Extensions/URLExt.swift | andrej8888/AnyLint | 8914705c3cffeb0411f0238265a6070abcfd7b53 | [
"MIT"
] | 4 | 2020-03-27T15:36:04.000Z | 2022-01-19T14:19:21.000Z | import Foundation
import Utility
extension URL {
/// Returns the relative path of from the current path.
public var relativePathFromCurrent: String {
String(path.replacingOccurrences(of: fileManager.currentDirectoryPath, with: "").dropFirst())
}
}
| 26.9 | 101 | 0.732342 |
e3ce814683a93366437d595026deb0931785d9a4 | 6,830 | go | Go | service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go | kichik/aws-sdk-go-v2 | e6432821e1e212895376c492e01cffaa7f39262e | [
"Apache-2.0"
] | null | null | null | service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go | kichik/aws-sdk-go-v2 | e6432821e1e212895376c492e01cffaa7f39262e | [
"Apache-2.0"
] | null | null | null | service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go | kichik/aws-sdk-go-v2 | e6432821e1e212895376c492e01cffaa7f39262e | [
"Apache-2.0"
] | null | null | null | // Code generated by smithy-go-codegen DO NOT EDIT.
package cognitoidentityprovider
import (
"context"
awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware"
"github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider/types"
"github.com/aws/smithy-go/middleware"
smithyhttp "github.com/aws/smithy-go/transp... | 40.176471 | 194 | 0.77306 |
272ac8348e4e641e4b81f55ba49dd3a70f7c5918 | 223 | css | CSS | admin/admin-app/src/views/BuildToolView.css | 16patsle/abtf-reborn | eb70d7b8ba977aa29573f32ce48713984e73cc3d | [
"MIT"
] | 2 | 2019-04-26T21:30:23.000Z | 2019-10-01T13:51:13.000Z | admin/admin-app/src/views/BuildToolView.css | 16patsle/abtf-reborn | eb70d7b8ba977aa29573f32ce48713984e73cc3d | [
"MIT"
] | null | null | null | admin/admin-app/src/views/BuildToolView.css | 16patsle/abtf-reborn | eb70d7b8ba977aa29573f32ce48713984e73cc3d | [
"MIT"
] | null | null | null | .abtfr-wrapper .submit-buttons input:first-of-type {
margin-right: 5px;
}
.abtfr-wrapper ul.small-list {
list-style: disc;
padding-left: 2em;
margin: 0;
}
.abtfr-wrapper ul.small-list li {
margin-bottom: 2px;
}
| 15.928571 | 52 | 0.681614 |
5feefee1ba73ea8d1e7461cad9206f5c799308bf | 2,095 | h | C | board/trembyle/board.h | SiliconMitus39/Emb_Contr | 0aa1ab988d902380f449b274ca9a05f2aa3d5539 | [
"BSD-3-Clause"
] | null | null | null | board/trembyle/board.h | SiliconMitus39/Emb_Contr | 0aa1ab988d902380f449b274ca9a05f2aa3d5539 | [
"BSD-3-Clause"
] | null | null | null | board/trembyle/board.h | SiliconMitus39/Emb_Contr | 0aa1ab988d902380f449b274ca9a05f2aa3d5539 | [
"BSD-3-Clause"
] | 1 | 2021-05-27T03:14:47.000Z | 2021-05-27T03:14:47.000Z | /* Copyright 2019 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* Trembyle board configuration */
#ifndef __CROS_EC_BOARD_H
#define __CROS_EC_BOARD_H
#include "baseboard.h"
/*
* Allow dangerous commands.
*... | 29.097222 | 73 | 0.836754 |
0c9b6c9c5f4b186068f0fcfe5f2c329ce7772e4d | 740 | py | Python | Module 2/Chapter08/template_simple.py | real-slim-chadi/Python_Master-the-Art-of-Design-Patterns | 95ec92272374e330b04d931208abbb184c7c7908 | [
"MIT"
] | 73 | 2016-09-15T23:07:04.000Z | 2022-03-05T15:09:48.000Z | Module 2/Chapter08/template_simple.py | real-slim-chadi/Python_Master-the-Art-of-Design-Patterns | 95ec92272374e330b04d931208abbb184c7c7908 | [
"MIT"
] | null | null | null | Module 2/Chapter08/template_simple.py | real-slim-chadi/Python_Master-the-Art-of-Design-Patterns | 95ec92272374e330b04d931208abbb184c7c7908 | [
"MIT"
] | 51 | 2016-10-07T20:47:51.000Z | 2021-12-22T21:00:24.000Z | __author__ = 'Chetan'
from abc import ABCMeta, abstractmethod
class AbstractClass(metaclass=ABCMeta):
def __init__(self):
pass
@abstractmethod
def operation1(self):
pass
@abstractmethod
def operation2(self):
pass
def template_method(self):
print("Defining the... | 19.473684 | 70 | 0.660811 |
b1f0da1864c6d0cb454639bbc614a6072fc389f1 | 1,463 | kt | Kotlin | server/src/main/kotlin/org/cueglow/server/gdtf/RenderGdtfStateToDmx.kt | cueglow/glowdtf | b670ca9768cdd49551fa32af126498fe2ff261ba | [
"MIT"
] | null | null | null | server/src/main/kotlin/org/cueglow/server/gdtf/RenderGdtfStateToDmx.kt | cueglow/glowdtf | b670ca9768cdd49551fa32af126498fe2ff261ba | [
"MIT"
] | null | null | null | server/src/main/kotlin/org/cueglow/server/gdtf/RenderGdtfStateToDmx.kt | cueglow/glowdtf | b670ca9768cdd49551fa32af126498fe2ff261ba | [
"MIT"
] | null | null | null | package org.cueglow.server.gdtf
fun renderGdtfStateToDmx(chValues: List<Long>, dmxMode: GlowDmxMode): ByteArray {
val output = mutableListOf<Byte>()
dmxMode.multiByteChannels
.groupBy { it.dmxBreak }
.toSortedMap()
.forEach { dmxBreak ->
val startInd = output.size
... | 43.029412 | 91 | 0.505126 |
3972b168bd9b7c6da1d7a29c1c272697d639d74d | 18,867 | sql | SQL | src/main/resources/archetype-resources/docs/sql/init.sql | flian/carp-project-archetype | 9ea237aa697f8ad41348cf04805a81d2ec6d63da | [
"MIT"
] | 1 | 2019-05-06T11:50:14.000Z | 2019-05-06T11:50:14.000Z | src/main/resources/archetype-resources/docs/sql/init.sql | flian/carp-project-archetype | 9ea237aa697f8ad41348cf04805a81d2ec6d63da | [
"MIT"
] | null | null | null | src/main/resources/archetype-resources/docs/sql/init.sql | flian/carp-project-archetype | 9ea237aa697f8ad41348cf04805a81d2ec6d63da | [
"MIT"
] | null | null | null |
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for carp_action
-- ----------------------------
CREATE TABLE `carp_action` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`action_method` varchar(5) DEFAULT NULL,
`action_url` varchar(100) NOT NULL,
`leaf` bit(1) NOT NULL,
`name` varcha... | 57.346505 | 411 | 0.623523 |
2f988e203f65ad301f8dddcad2fa5ab167229b4f | 465 | sql | SQL | Minkeu_Question3.sql | imeldakamdem/timetable | 99f5dedefe43b54dcf9ffacf248bcafa726523ef | [
"MIT"
] | null | null | null | Minkeu_Question3.sql | imeldakamdem/timetable | 99f5dedefe43b54dcf9ffacf248bcafa726523ef | [
"MIT"
] | null | null | null | Minkeu_Question3.sql | imeldakamdem/timetable | 99f5dedefe43b54dcf9ffacf248bcafa726523ef | [
"MIT"
] | null | null | null | CREATE VIEW emploiTemps
AS SELECT DISTINCT C.codeCours,
T.jourCoursDate,T. TRANCHE,C.VOLUMEH FROM Cours C
JOIN Typehoraire T ON C.codeCours= T.crsCodeCours
JOIN Jourcours J ON J.dateJourCours=T.jourCoursDate
JOIN Coursdeclasse cls ON T.crsCodeCours=cls.crsCodeCours
JOIN Classe Cl ON cl.specialiteNomSpec=cls.... | 46.5 | 83 | 0.787097 |
f2c765ddf28eb546bf88b303147d919ac9d138d7 | 1,161 | swift | Swift | Sources/Network/Network+ErrorDecoding.swift | Mindera/Alicerce | 21f56cbed3c392daf96dfce0f7f634513e5111f8 | [
"MIT"
] | 449 | 2016-12-16T02:27:38.000Z | 2021-12-16T18:49:30.000Z | Sources/Network/Network+ErrorDecoding.swift | Mindera/Alicerce | 21f56cbed3c392daf96dfce0f7f634513e5111f8 | [
"MIT"
] | 220 | 2017-03-08T14:46:34.000Z | 2022-02-09T17:30:21.000Z | Sources/Network/Network+ErrorDecoding.swift | Mindera/Alicerce | 21f56cbed3c392daf96dfce0f7f634513e5111f8 | [
"MIT"
] | 37 | 2017-06-01T11:09:10.000Z | 2021-09-15T03:14:01.000Z | import Foundation
extension Network {
/// A custom error decoding witness.
public struct ErrorDecoding<Payload, Metadata> {
/// The error decode closure, invoked when some operation fails in an attempt to extract a custom error
/// (e.g. extract API specific error after a HTTP protocol error)... | 30.552632 | 111 | 0.637382 |
95b10b6c7418dcd5328895354ef51759ab32e2a0 | 3,467 | css | CSS | assets/css/style.css | SheylaPopovich/project-1 | 02029c742c90220a747fe833a9f799a90d674c1f | [
"MIT"
] | 2 | 2021-07-30T04:21:09.000Z | 2021-08-03T00:51:33.000Z | assets/css/style.css | SheylaPopovich/project-1 | 02029c742c90220a747fe833a9f799a90d674c1f | [
"MIT"
] | 18 | 2021-07-31T19:37:10.000Z | 2021-08-05T15:41:19.000Z | assets/css/style.css | SheylaPopovich/project-1 | 02029c742c90220a747fe833a9f799a90d674c1f | [
"MIT"
] | null | null | null | body,
html {
background-color: #0a0a0a;
height: 100%;
margin: 0;
overflow-y: auto;
overflow-x: hidden;
color: white;
width: 100vw;
}
.hide {
display: none;
}
a {
font-family: "Bitter", serif;
margin-left: 88%;
color: white;
font-size: 1rem;
text-shadow: 0 0 5px #c2ccec, 0 0 10px #c2ccec, 0 0... | 19.261111 | 76 | 0.637727 |