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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8330b464e582767016af8d4734e10a6cae427420 | 2,007 | ps1 | PowerShell | Functions/New-OpsGenieConnction.ps1 | skjaerhus/PS-OpsGenie | 08070abcd25e66b8f7e85d322bcc0e4f2a8a3b81 | [
"MIT"
] | null | null | null | Functions/New-OpsGenieConnction.ps1 | skjaerhus/PS-OpsGenie | 08070abcd25e66b8f7e85d322bcc0e4f2a8a3b81 | [
"MIT"
] | null | null | null | Functions/New-OpsGenieConnction.ps1 | skjaerhus/PS-OpsGenie | 08070abcd25e66b8f7e85d322bcc0e4f2a8a3b81 | [
"MIT"
] | null | null | null | <#
.SYNOPSIS
Connects to an OpsGenie HTTP Integration.
.DESCRIPTION
Connects to OpsGenie using the API Key from an HTTP integration.
.INPUTS
None.
.OUTPUTS
None, saves script variables with needed information for the module.
.EXAMPLE
PS> New-OpsGenieConnection -APIKey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Conne... | 27.493151 | 128 | 0.684106 |
93952dc9134c8ff014e2210e684ec9f40b8c146f | 1,924 | cs | C# | backend/src/Squidex.Domain.Apps.Entities/Assets/AssetExtensions.cs | MartijnDijkgraaf/squidex | fefd23a63bb7b6b868b33555037a6edd3ce20251 | [
"MIT"
] | null | null | null | backend/src/Squidex.Domain.Apps.Entities/Assets/AssetExtensions.cs | MartijnDijkgraaf/squidex | fefd23a63bb7b6b868b33555037a6edd3ce20251 | [
"MIT"
] | null | null | null | backend/src/Squidex.Domain.Apps.Entities/Assets/AssetExtensions.cs | MartijnDijkgraaf/squidex | fefd23a63bb7b6b868b33555037a6edd3ce20251 | [
"MIT"
] | null | null | null | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | 36.301887 | 155 | 0.523389 |
07267d9b2fb5d9be7a4f7784fc1e2f67b0ab8ff5 | 1,296 | css | CSS | css/style.css | MURADALSHORMAN/CSSWireframe- | c41841e15f0e7d35e19f24431ea19790c7383914 | [
"MIT"
] | null | null | null | css/style.css | MURADALSHORMAN/CSSWireframe- | c41841e15f0e7d35e19f24431ea19790c7383914 | [
"MIT"
] | null | null | null | css/style.css | MURADALSHORMAN/CSSWireframe- | c41841e15f0e7d35e19f24431ea19790c7383914 | [
"MIT"
] | null | null | null | body {
font-family: Arial, Helvetica, sans-serif;
padding: 25px;
background-color: rgb(226, 225, 213);
}
header {
padding: 20px;
background-color: black;
color: #ffffff;
}
header nav ul {
float: left;
position: absolute;
left: 600px;
}
header nav ul li {
background-color: b... | 13.935484 | 46 | 0.590278 |
da76224e9acfc42e75fe059fc0ad0af12faf4764 | 16,516 | php | PHP | Core/FileSystem/File.php | faelv/re3 | d8bf5b16db2706d3aa521faacafb6375ec32cb6e | [
"0BSD"
] | 2 | 2019-03-04T14:07:27.000Z | 2022-02-12T09:13:03.000Z | Core/FileSystem/File.php | faelv/re3 | d8bf5b16db2706d3aa521faacafb6375ec32cb6e | [
"0BSD"
] | null | null | null | Core/FileSystem/File.php | faelv/re3 | d8bf5b16db2706d3aa521faacafb6375ec32cb6e | [
"0BSD"
] | null | null | null | <?php
/**
* File class
*
* @author faelv <rafael_alt_dev@outlook.com>
* @license ISC License
* @see https://github.com/faelv/re3
*/
namespace Core\FileSystem;
use Core\FileSystem\FileSystemObject;
use Core\Exceptions\CoreException;
/**
* Class for operations with files in a OO way.
*
* @package Core
*/
cl... | 25.80625 | 138 | 0.629692 |
80325d2c7aebf755131a0a658bea04cb698bf9c9 | 1,095 | sh | Shell | run_tests.sh | Cacodaimon/CacoCloud | e662cfe85a2e2d596091266cf87c318f6be7a411 | [
"MIT"
] | 91 | 2015-01-02T21:23:49.000Z | 2021-12-23T02:50:23.000Z | run_tests.sh | bobwol/CacoCloud | e662cfe85a2e2d596091266cf87c318f6be7a411 | [
"MIT"
] | 11 | 2015-01-01T15:07:18.000Z | 2016-11-05T07:17:15.000Z | run_tests.sh | bobwol/CacoCloud | e662cfe85a2e2d596091266cf87c318f6be7a411 | [
"MIT"
] | 15 | 2015-02-04T20:06:34.000Z | 2017-11-10T12:09:53.000Z | #!/bin/bash
. ./tools.sh
#
# Easy run frisby.js tests script.
#
function install_node_modules () {
echo_blue "Installing modules for running frisby.js"
npm_module_install jasmine-node
npm_module_install frisby
npm_module_install sleep
}
function create_test_user () {
echo_blue "Creating test user"
php cl... | 23.804348 | 100 | 0.768037 |
8a3a376cbaa85608f3b9bc3d3d5c541a576c1bdf | 666 | sql | SQL | panel/protected/data/daemon/update.mysql.3.sql | connor4312/multicraft | 8cd4848435456a1fe176b5931293a64ecd103ba8 | [
"Unlicense"
] | 12 | 2015-01-05T05:01:11.000Z | 2021-05-02T07:39:42.000Z | panel/protected/data/daemon/update.mysql.3.sql | connor4312/multicraft | 8cd4848435456a1fe176b5931293a64ecd103ba8 | [
"Unlicense"
] | 5 | 2015-01-27T12:30:31.000Z | 2015-04-06T17:37:54.000Z | panel/protected/data/daemon/update.mysql.3.sql | connor4312/multicraft | 8cd4848435456a1fe176b5931293a64ecd103ba8 | [
"Unlicense"
] | 14 | 2015-01-02T22:25:20.000Z | 2020-10-01T09:15:56.000Z | create table if not exists `ftp_user` (
`id` integer not null primary key auto_increment,
`name` varchar(128) not null,
`password` varchar(128) not null
) default charset=utf8;
create table if not exists `ftp_user_server` (
`user_id` integer not null,
`... | 47.571429 | 91 | 0.636637 |
c6c781c61ef5b75b863013433ca2a45faf367c4b | 878 | css | CSS | public/css/style.css | zhangxiaos/node-blog | 524cea7ea9c73470f8007f2f22f9900b5e76a31b | [
"MIT"
] | null | null | null | public/css/style.css | zhangxiaos/node-blog | 524cea7ea9c73470f8007f2f22f9900b5e76a31b | [
"MIT"
] | null | null | null | public/css/style.css | zhangxiaos/node-blog | 524cea7ea9c73470f8007f2f22f9900b5e76a31b | [
"MIT"
] | null | null | null | /* ---------- 全局样式 ----------*/
body {
margin: 0 auto;
padding-top: 40px;
width: 1100px;
height: 100%;
}
a:hover {
border-bottom: 3px solid #4fc08d;
}
.button {
color: #fff !important;
background-color: #4fc08d !important;
}
.avatar {
float: right;
width: 48px;
height: 48px;
border-radius: 3px;
}
/* ----... | 14.16129 | 40 | 0.591116 |
215eb3b49944cf6c058d9383dcdaa6347907f34e | 664 | js | JavaScript | migrations/1_initial_migration.js | getsafle/safleID-Contracts | f0106655587bfb0c28c668bb13b2930442833dba | [
"MIT"
] | null | null | null | migrations/1_initial_migration.js | getsafle/safleID-Contracts | f0106655587bfb0c28c668bb13b2930442833dba | [
"MIT"
] | 4 | 2021-03-17T09:30:28.000Z | 2021-12-13T11:39:27.000Z | migrations/1_initial_migration.js | getsafle/safleID-contracts | f0106655587bfb0c28c668bb13b2930442833dba | [
"MIT"
] | 2 | 2021-06-26T16:54:30.000Z | 2021-07-31T15:04:29.000Z | const Migrations = artifacts.require("Migrations");
const MainContract = artifacts.require("RegistrarMain");
const RegistrarStorage = artifacts.require("RegistrarStorage");
const Auction = artifacts.require("Auction");
const Checking = artifacts.require("checkingContract");
module.exports = function(deployer) {
depl... | 36.888889 | 77 | 0.740964 |
05a30d0dbff653653fc618df07ed749747a331ce | 1,610 | py | Python | plugin/settings.py | andykingking/sublime-format | d1d9e2192729ffdecf9f09e54bdfc2c13890542f | [
"MIT"
] | null | null | null | plugin/settings.py | andykingking/sublime-format | d1d9e2192729ffdecf9f09e54bdfc2c13890542f | [
"MIT"
] | null | null | null | plugin/settings.py | andykingking/sublime-format | d1d9e2192729ffdecf9f09e54bdfc2c13890542f | [
"MIT"
] | null | null | null | import sublime
PLUGIN_NAME = 'Format'
PLUGIN_SETTINGS = '{}.sublime-settings'.format(PLUGIN_NAME)
class Settings:
@staticmethod
def load():
return sublime.load_settings(PLUGIN_SETTINGS)
@staticmethod
def save():
sublime.save_settings(PLUGIN_SETTINGS)
@staticmethod
def on_cha... | 24.769231 | 75 | 0.660248 |
93f5b5af82fac3028f59f2895ef1febd03c0cbc9 | 3,884 | cs | C# | Black_Rabbit_Pro/Assets/BlackRabbitPro/Scripts/Editor/BuildTools/BuildTools.cs | Fungus-Light/Black-Rabbit-Pro | 27e1e5e4d439033be9e494eba99460afa3bf254a | [
"Apache-2.0"
] | 3 | 2021-03-22T13:45:29.000Z | 2021-11-05T10:01:03.000Z | Black_Rabbit_Pro/Assets/BlackRabbitPro/Scripts/Editor/BuildTools/BuildTools.cs | Fungus-Light/Black-Rabbit-Pro | 27e1e5e4d439033be9e494eba99460afa3bf254a | [
"Apache-2.0"
] | null | null | null | Black_Rabbit_Pro/Assets/BlackRabbitPro/Scripts/Editor/BuildTools/BuildTools.cs | Fungus-Light/Black-Rabbit-Pro | 27e1e5e4d439033be9e494eba99460afa3bf254a | [
"Apache-2.0"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEditor;
using Puerts;
public class BuildTools
{
[MenuItem("Build/Clear Persist")]
public static void ClearPersist()
{
DirectoryInfo info = new DirectoryInfo(Application.persistentDataPath);
... | 32.099174 | 139 | 0.501545 |
54f27e43d274da065ab4af4cfbc81a8b3226e02c | 171 | css | CSS | css/LinkField.css | iqnection-programming/iqnection-silverstripe-modules-linkfield | 7a57d6e27a3fc1f05fe7d12f8d017f9b10e7a6f4 | [
"BSD-3-Clause"
] | null | null | null | css/LinkField.css | iqnection-programming/iqnection-silverstripe-modules-linkfield | 7a57d6e27a3fc1f05fe7d12f8d017f9b10e7a6f4 | [
"BSD-3-Clause"
] | null | null | null | css/LinkField.css | iqnection-programming/iqnection-silverstripe-modules-linkfield | 7a57d6e27a3fc1f05fe7d12f8d017f9b10e7a6f4 | [
"BSD-3-Clause"
] | null | null | null | .field.link { padding:10px 0; border-bottom:1px solid #e5e8eb; }
.field.link > .field { padding-bottom:0; }
.field.link > .field:after { display:none; }
| 34.2 | 72 | 0.614035 |
581391788cba7481368414823bd865e06d86d988 | 88 | go | Go | handlers/doc.go | crissto/golang-start | 3d194185c38c2261cca6eba3dd9ead9fec15431d | [
"MIT"
] | 15 | 2021-04-26T16:16:36.000Z | 2022-03-25T14:00:31.000Z | handlers/doc.go | crissto/golang-start | 3d194185c38c2261cca6eba3dd9ead9fec15431d | [
"MIT"
] | null | null | null | handlers/doc.go | crissto/golang-start | 3d194185c38c2261cca6eba3dd9ead9fec15431d | [
"MIT"
] | 4 | 2021-05-12T15:45:28.000Z | 2022-01-19T17:37:56.000Z | // Package handlers contains HTTP handlers used by the server package.
package handlers
| 29.333333 | 70 | 0.818182 |
409db38d70cf2f6f67287e97775cc8a75d2ea49a | 1,412 | ts | TypeScript | packages/mvc/src/services/RouteChecker.ts | zhouhoujun/type-mvc | 202fb9b1968f13500a9a7c5503d99b3df828e55e | [
"MIT"
] | 6 | 2017-12-13T00:57:11.000Z | 2019-12-27T01:24:39.000Z | packages/mvc/src/services/RouteChecker.ts | zhouhoujun/type-mvc | 202fb9b1968f13500a9a7c5503d99b3df828e55e | [
"MIT"
] | null | null | null | packages/mvc/src/services/RouteChecker.ts | zhouhoujun/type-mvc | 202fb9b1968f13500a9a7c5503d99b3df828e55e | [
"MIT"
] | 2 | 2018-10-21T02:14:28.000Z | 2019-08-20T11:44:14.000Z | import { IocCoreService, Singleton } from '@tsdi/ioc';
import { IContext } from '../IContext';
const urlReg = /\/((\w|%|\.))+\.\w+$/;
const noParms = /\/\s*$/;
const hasParms = /\?\S*$/;
const subStart = /^\s*\/|\?/;
@Singleton()
export class RouteChecker extends IocCoreService {
private assertUrlRegExp = urlReg... | 28.816327 | 93 | 0.577195 |
b758578b94442795754abc3bccdd5a85647c9325 | 677 | cpp | C++ | sources codes/tute30b.cpp | darkrabel/c-personal-reference-code- | 0ea62666a6f8b7ea876e96498e3c0b6b4e773a7f | [
"MIT"
] | 2 | 2021-06-17T11:05:01.000Z | 2021-11-15T11:39:46.000Z | sources codes/tute30b.cpp | darkrabel/c-personal-reference-code- | 0ea62666a6f8b7ea876e96498e3c0b6b4e773a7f | [
"MIT"
] | null | null | null | sources codes/tute30b.cpp | darkrabel/c-personal-reference-code- | 0ea62666a6f8b7ea876e96498e3c0b6b4e773a7f | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
class Point{
int x, y;
public:
Point(int a, int b){
x = a;
y = b;
}
void displayPoint(){
cout<<"The point is ("<<x<<", "<<y<<")"<<endl;
}
};
// Create a function (Hint: Make it a friend function) which... | 21.83871 | 131 | 0.552437 |
4bcbceef617aca642d9de99d9532ffb483d8f642 | 758 | dart | Dart | mod-account/client/lib/modules/home_screen.dart | joe-getcouragenow/core-runtime | 244e87ed7337ff005f2e6f8e0e63c64d70d5ed81 | [
"Apache-2.0"
] | null | null | null | mod-account/client/lib/modules/home_screen.dart | joe-getcouragenow/core-runtime | 244e87ed7337ff005f2e6f8e0e63c64d70d5ed81 | [
"Apache-2.0"
] | null | null | null | mod-account/client/lib/modules/home_screen.dart | joe-getcouragenow/core-runtime | 244e87ed7337ff005f2e6f8e0e63c64d70d5ed81 | [
"Apache-2.0"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:flutter_modular/flutter_modular.dart';
class HomeScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
c... | 26.137931 | 76 | 0.529024 |
ff85f8e9bd36662cd169f6b5277701cadb3098b6 | 1,264 | py | Python | examples/beammap.py | abeelen/kidsdata | 76c798b102a407e29d162aafceb01c518d848536 | [
"BSD-3-Clause"
] | null | null | null | examples/beammap.py | abeelen/kidsdata | 76c798b102a407e29d162aafceb01c518d848536 | [
"BSD-3-Clause"
] | null | null | null | examples/beammap.py | abeelen/kidsdata | 76c798b102a407e29d162aafceb01c518d848536 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
from astropy.wcs import WCS
from kidsdata import KissData
from kidsdata.db import list_scan, get_scan
plt.ion()
# Open the scan 431
kd = KissData(get_scan(431))
# Read All the valid data from array B
list_data = kd.names.DataSc + kd.names.DataUc + ["I", "Q"]
kd.re... | 30.829268 | 106 | 0.703323 |
c07a58c275b0c944268146536adedf6f2971c965 | 1,072 | rs | Rust | take-while-in-action-baby/src/main.rs | elsuizo/Rust_work | 18ba8a616528a3d42d64e7ce00be9bdc4748a6db | [
"MIT"
] | null | null | null | take-while-in-action-baby/src/main.rs | elsuizo/Rust_work | 18ba8a616528a3d42d64e7ce00be9bdc4748a6db | [
"MIT"
] | null | null | null | take-while-in-action-baby/src/main.rs | elsuizo/Rust_work | 18ba8a616528a3d42d64e7ce00be9bdc4748a6db | [
"MIT"
] | null | null | null | // NOTE(elsuizo:2020-05-12):
// El iterador `take_while`
// aplica el predicado a cada item y retorna `None` en lugar donde los items producen un `false` al
// predicado del clousure y para cada subsecuente llama a el proximo. Por ejemplo, dado un mail con
// una linea blanca separando el header del body del mensaje, p... | 44.666667 | 99 | 0.612873 |
1a695381e35065e3c64911837384be7a40ac5d53 | 502 | py | Python | Microsoft-weightedRandom.py | pflun/learningAlgorithms | 3101e989488dfc8a56f1bf256a1c03a837fe7d97 | [
"MIT"
] | null | null | null | Microsoft-weightedRandom.py | pflun/learningAlgorithms | 3101e989488dfc8a56f1bf256a1c03a837fe7d97 | [
"MIT"
] | null | null | null | Microsoft-weightedRandom.py | pflun/learningAlgorithms | 3101e989488dfc8a56f1bf256a1c03a837fe7d97 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
import random
class Solution(object):
def weightedRandom(self, objects, probabilities):
if len(objects) != len(probabilities):
return
revisedP = []
for i in range(len(probabilities)):
for _ in range(probabilities[i]):
revised... | 25.1 | 55 | 0.579681 |
a079d37f4da8d2e6316a61fe4191e3933d9a987f | 624 | rs | Rust | mailin-embedded/src/ssl.rs | trevyn/mailin | 368bfe2b97b94ca19b9234d05ba0030cfacc6b3f | [
"Apache-2.0",
"MIT"
] | null | null | null | mailin-embedded/src/ssl.rs | trevyn/mailin | 368bfe2b97b94ca19b9234d05ba0030cfacc6b3f | [
"Apache-2.0",
"MIT"
] | null | null | null | mailin-embedded/src/ssl.rs | trevyn/mailin | 368bfe2b97b94ca19b9234d05ba0030cfacc6b3f | [
"Apache-2.0",
"MIT"
] | null | null | null | use std::io::{Read, Write};
/// `SslConfig` is used to configure the STARTTLS configuration of the server
pub enum SslConfig {
/// Do not support STARTTLS
None,
/// Use a self-signed certificate for STARTTLS
SelfSigned {
/// Certificate path
cert_path: String,
/// Path to key fi... | 24 | 77 | 0.586538 |
14307ed28ad08a97a6031c4ba3fd7c490d7eeb67 | 545 | tsx | TypeScript | src/components/button-arrow/button-arrow.tsx | Matte478/bachelor-thesis-components | eae4c5a03c700e61b41c18e44bda3b3d5c5f8b7e | [
"MIT"
] | null | null | null | src/components/button-arrow/button-arrow.tsx | Matte478/bachelor-thesis-components | eae4c5a03c700e61b41c18e44bda3b3d5c5f8b7e | [
"MIT"
] | null | null | null | src/components/button-arrow/button-arrow.tsx | Matte478/bachelor-thesis-components | eae4c5a03c700e61b41c18e44bda3b3d5c5f8b7e | [
"MIT"
] | null | null | null | import { Component, h, Prop } from '@stencil/core'
@Component({
tag: 'obd-button-arrow',
styleUrl: 'button-arrow.scss',
shadow: true
})
export class ButtonArrow {
@Prop({
mutable: true,
reflect: true
}) right: boolean = false
render() {
return (
<button
... | 21.8 | 62 | 0.473394 |
da43aa05ded53073a678a9dda480615e4281e119 | 364 | php | PHP | app/Models/Api/Comment.php | 7codeRO/hackathon-challange-accepted | 542f2a066d6e01e75487fea74e726c9eb4c0dd22 | [
"MIT"
] | null | null | null | app/Models/Api/Comment.php | 7codeRO/hackathon-challange-accepted | 542f2a066d6e01e75487fea74e726c9eb4c0dd22 | [
"MIT"
] | 1 | 2021-05-10T21:07:28.000Z | 2021-05-10T21:07:28.000Z | app/Models/Api/Comment.php | 7codeRO/hackathon-challange-accepted | 542f2a066d6e01e75487fea74e726c9eb4c0dd22 | [
"MIT"
] | null | null | null | <?php
namespace App\Models\Api;
use App\Models\Auth\User;
use Illuminate\Database\Eloquent\Model;
class Comment extends Model
{
protected $table = "comments";
protected $fillable = ['user_id', 'question_id', 'content', 'likes', 'dislikes', 'isAnswer'];
public function user(){
return $this->belon... | 21.411765 | 97 | 0.664835 |
f6d09ae9c81365f7bcfebefbe398f899ef6bae6d | 872 | sql | SQL | data/test/sql/f6d09ae9c81365f7bcfebefbe398f899ef6bae6dl_google_visits.sql | aliostad/deep-learning-lang-detection | d6b031f3ebc690cf2ffd0ae1b08ffa8fb3b38a62 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/test/sql/f6d09ae9c81365f7bcfebefbe398f899ef6bae6dl_google_visits.sql | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/test/sql/f6d09ae9c81365f7bcfebefbe398f899ef6bae6dl_google_visits.sql | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | SET DEFINE OFF;
CREATE TABLE L_GOOGLE_VISITS
(
FISCALYEAR CHAR(20 BYTE),
MONTHS CHAR(10 BYTE),
WEBVISITS CHAR(20 BYTE),
UNIQUE_VISITORS CHAR(20 BYTE),
PAGEVIWES CHAR(20 BYTE),
PAGES_VISIT CHAR(20 BYTE),
AVGVISIT_DURATION CHAR(20 BYTE),
BOUNCERATE ... | 24.222222 | 38 | 0.565367 |
238a56661ebcd8e0bc279f0d101ae7e9e7e15548 | 2,873 | js | JavaScript | src/metrize/emailLuminosity.js | danielkov/react-icons-kit | 160bc967ed1ba9cad75a86fb40a449e1f79d1fe0 | [
"MIT"
] | 372 | 2017-01-07T01:54:27.000Z | 2022-03-02T10:16:01.000Z | src/metrize/emailLuminosity.js | danielkov/react-icons-kit | 160bc967ed1ba9cad75a86fb40a449e1f79d1fe0 | [
"MIT"
] | 72 | 2016-12-17T04:04:02.000Z | 2022-02-26T03:35:19.000Z | src/metrize/emailLuminosity.js | qza7849467chensh5/react-icons-kit | 09aeaf39d13e33c45bd032cc1b42a64c5a334dd9 | [
"MIT"
] | 66 | 2017-05-14T21:52:41.000Z | 2021-12-08T12:15:09.000Z | export const emailLuminosity = {"viewBox":"0 0 512 512","children":[{"name":"path","attribs":{"d":"M256,0C114.609,0,0,114.609,0,256s114.609,256,256,256s256-114.609,256-256S397.391,0,256,0z M256,472\r\n\tc-119.297,0-216-96.703-216-216S136.703,40,256,40s216,96.703,216,216S375.297,472,256,472z"},"children":[]},{"name":"g"... | 2,873 | 2,873 | 0.607727 |
50aac9cf9152348178a58bef29613e9cf9aa4538 | 287 | sql | SQL | src/test/resources/sql/beans-create.sql | mfursov/mini-jdbc | 512746c2faf866863859d95a55f631d361b396c7 | [
"Apache-2.0"
] | 16 | 2017-03-11T00:53:25.000Z | 2021-03-19T04:47:16.000Z | src/test/resources/sql/beans-create.sql | mfursov/mini-jdbc | 512746c2faf866863859d95a55f631d361b396c7 | [
"Apache-2.0"
] | 5 | 2015-11-01T15:45:16.000Z | 2020-09-24T19:35:31.000Z | src/test/resources/sql/beans-create.sql | mfursov/mini-jdbc | 512746c2faf866863859d95a55f631d361b396c7 | [
"Apache-2.0"
] | 4 | 2016-01-14T11:56:56.000Z | 2021-04-26T18:53:35.000Z | CREATE TABLE bean (
id INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY ( START WITH 1, INCREMENT BY 1),
boolean_field BOOLEAN NOT NULL,
int_field INTEGER NOT NULL,
string_field VARCHAR(100) DEFAULT NULL,
int_value_field INTEGER DEFAULT NULL
);
| 28.7 | 96 | 0.675958 |
54bc32b08b943db8e921f1eca44a7c3662372170 | 9,032 | rb | Ruby | spec/schema_tools/hash_spec.rb | salesking/json_schema_tools | acaaecd2f104f2dc4cc6dfeb52770e60ab291553 | [
"MIT"
] | 24 | 2015-01-06T07:08:38.000Z | 2021-11-08T12:01:26.000Z | spec/schema_tools/hash_spec.rb | salesking/json_schema_tools | acaaecd2f104f2dc4cc6dfeb52770e60ab291553 | [
"MIT"
] | 16 | 2015-03-19T16:47:54.000Z | 2017-06-01T08:58:53.000Z | spec/schema_tools/hash_spec.rb | salesking/json_schema_tools | acaaecd2f104f2dc4cc6dfeb52770e60ab291553 | [
"MIT"
] | 8 | 2015-03-19T10:48:08.000Z | 2021-01-10T17:50:30.000Z | require 'spec_helper'
################################################################################
# classes used in tests their naming is important because the respecting
# json schema is derived from it
################################################################################
class Client
attr_accessor ... | 30.616949 | 99 | 0.600864 |
e28ded5b9c0f7fe3f7a4b3fcd95af0ae22d4edd4 | 3,094 | bzl | Python | dev/bazel/repos.bzl | SmirnovEgorRu/oneDAL | 00095d72d858c17fdb895de18e23c86dadbbd7cf | [
"Apache-2.0"
] | null | null | null | dev/bazel/repos.bzl | SmirnovEgorRu/oneDAL | 00095d72d858c17fdb895de18e23c86dadbbd7cf | [
"Apache-2.0"
] | null | null | null | dev/bazel/repos.bzl | SmirnovEgorRu/oneDAL | 00095d72d858c17fdb895de18e23c86dadbbd7cf | [
"Apache-2.0"
] | null | null | null | #===============================================================================
# Copyright 2020 Intel Corporation
#
# 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.o... | 37.277108 | 80 | 0.612799 |
6d87fbee073eea5e32aca06bb61b1e98b5f14682 | 952 | ts | TypeScript | src/theme/material/text-input.m.css.d.ts | redaktor/widgets | e41d0c43d949695bb241e29a839e696ccbc07913 | [
"MIT"
] | 1 | 2021-03-04T19:48:26.000Z | 2021-03-04T19:48:26.000Z | src/theme/material/text-input.m.css.d.ts | redaktor/widgets | e41d0c43d949695bb241e29a839e696ccbc07913 | [
"MIT"
] | null | null | null | src/theme/material/text-input.m.css.d.ts | redaktor/widgets | e41d0c43d949695bb241e29a839e696ccbc07913 | [
"MIT"
] | null | null | null | export const root: string;
export const raised: string;
export const shaped: string;
export const filled: string;
export const input: string;
export const wrapper: string;
export const responsive: string;
export const inputWrapper: string;
export const animated: string;
export const addonFilled: string;
export const bo... | 29.75 | 36 | 0.804622 |
f63b5454495be1e86fc57d5738dd59c2995f20ef | 643 | swift | Swift | Sources/Presenter/View - General/ViewBuilder.swift | Apodini/Presenter | ea7630c2c115c72a61f607c574e453470167b925 | [
"MIT"
] | null | null | null | Sources/Presenter/View - General/ViewBuilder.swift | Apodini/Presenter | ea7630c2c115c72a61f607c574e453470167b925 | [
"MIT"
] | 2 | 2021-06-17T16:36:33.000Z | 2021-09-09T07:47:55.000Z | Sources/Presenter/View - General/ViewBuilder.swift | Apodini/Presenter | ea7630c2c115c72a61f607c574e453470167b925 | [
"MIT"
] | null | null | null |
@resultBuilder
public struct ViewBuilder {
// MARK: Static Functions
public static func buildBlock<V: View>(_ item: V) -> some View {
item
}
public static func buildBlock(_ items: _CodableView...) -> some View {
ArrayView(content: items)
}
public static func buildBlock(_ ite... | 20.09375 | 74 | 0.589425 |
c3cf70993aed074deb21c8f614d1ffea4ebfe1b1 | 432 | cs | C# | src/Service.Authorization/Utils/MonitoringLocator.cs | MyJetWallet/Service.Authorization | 66801c3ee704c909c813cf660cbde705ec287c5a | [
"MIT"
] | null | null | null | src/Service.Authorization/Utils/MonitoringLocator.cs | MyJetWallet/Service.Authorization | 66801c3ee704c909c813cf660cbde705ec287c5a | [
"MIT"
] | null | null | null | src/Service.Authorization/Utils/MonitoringLocator.cs | MyJetWallet/Service.Authorization | 66801c3ee704c909c813cf660cbde705ec287c5a | [
"MIT"
] | null | null | null | using Prometheus;
namespace Service.Authorization.Utils
{
public static class MonitoringLocator
{
public static readonly Gauge ItemsInAuthLogQueue =
Metrics.CreateGauge("auth_grpc_authlog_queue", "Count items in authlog queue");
public static readonly Counter TotalItemsInAuthLogQue... | 33.230769 | 99 | 0.731481 |
030d37e96aed834f55f2032e97030ec7fd503fcd | 359 | sql | SQL | tests/SchemaGenerator/examples/lm-indexes/dump-mysql.sql | inlm/schema-generator | d52a2c3714f06e560cb5cbc2e176558bb687d6c1 | [
"BSD-3-Clause"
] | 6 | 2019-09-13T20:34:35.000Z | 2021-02-22T07:01:58.000Z | tests/SchemaGenerator/examples/lm-indexes/dump-mysql.sql | inlm/schema-generator | d52a2c3714f06e560cb5cbc2e176558bb687d6c1 | [
"BSD-3-Clause"
] | 6 | 2018-06-12T08:47:42.000Z | 2022-01-01T18:32:34.000Z | tests/SchemaGenerator/examples/lm-indexes/dump-mysql.sql | inlm/schema-generator | d52a2c3714f06e560cb5cbc2e176558bb687d6c1 | [
"BSD-3-Clause"
] | 1 | 2018-04-24T18:00:07.000Z | 2018-04-24T18:00:07.000Z | SET foreign_key_checks = 1;
SET time_zone = "SYSTEM";
SET sql_mode = "TRADITIONAL";
CREATE TABLE `book` (
`id` TEXT NOT NULL,
`name` TEXT NOT NULL,
`description` TEXT NULL,
`website` TEXT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `website` (`website`),
KEY `name_website` (`name`, `website`)
)
ENGINE=InnoDB
CHARACTER... | 21.117647 | 39 | 0.707521 |
97a9fb34e69cb03afe2aa8ac1a212d426ea3742e | 238 | sql | SQL | sql/grid-banner/site/data.0.1-0.sql | webriq/banner | 6d3615927461dd916ee7100d5c72b93b1361e877 | [
"BSD-3-Clause"
] | null | null | null | sql/grid-banner/site/data.0.1-0.sql | webriq/banner | 6d3615927461dd916ee7100d5c72b93b1361e877 | [
"BSD-3-Clause"
] | null | null | null | sql/grid-banner/site/data.0.1-0.sql | webriq/banner | 6d3615927461dd916ee7100d5c72b93b1361e877 | [
"BSD-3-Clause"
] | null | null | null | -- remove data
DELETE FROM "module"
WHERE "module" = 'Grid\Banner';
DELETE FROM "user_right"
WHERE "group" = 'banner'
AND "resource" = 'banner'
AND "privilege" IN ( 'view', 'edit', 'create', 'delete' );
| 23.8 | 66 | 0.563025 |
f26a33db4e3161a6983016723f1d632c03f36a61 | 7,090 | dart | Dart | lib/models/api_user.dart | prasso/prasso_app | 03b3c2a7d40289502995da9327fd6d279c95cbf0 | [
"MIT"
] | 1 | 2021-12-02T12:16:45.000Z | 2021-12-02T12:16:45.000Z | lib/models/api_user.dart | prasso/prasso_app | 03b3c2a7d40289502995da9327fd6d279c95cbf0 | [
"MIT"
] | 4 | 2021-12-02T12:36:33.000Z | 2022-03-15T12:48:42.000Z | lib/models/api_user.dart | prasso/prasso_app | 03b3c2a7d40289502995da9327fd6d279c95cbf0 | [
"MIT"
] | 1 | 2021-03-03T02:32:08.000Z | 2021-03-03T02:32:08.000Z | // import 'dart:developer';
// Dart imports:
import 'dart:convert';
// Flutter imports:
import 'package:flutter/foundation.dart';
// Package imports:
import 'package:firebase_auth/firebase_auth.dart';
import 'package:meta/meta.dart';
import 'package:prasso_app/app_widgets/account/edit_user_profile_viewmodel.dart';
i... | 33.761905 | 81 | 0.597461 |
cdf153271f5133ac569b230c48aca25dbb5dca65 | 840 | cs | C# | src/Algorithms/Multithreading/ReadersWritersProblem/Reader.cs | Miltt/Console | df47ded80d9d2c7e48013b310ec5866f8a2b0f6b | [
"MIT"
] | 1 | 2022-02-08T20:09:26.000Z | 2022-02-08T20:09:26.000Z | src/Algorithms/Multithreading/ReadersWritersProblem/Reader.cs | Miltt/Console | df47ded80d9d2c7e48013b310ec5866f8a2b0f6b | [
"MIT"
] | null | null | null | src/Algorithms/Multithreading/ReadersWritersProblem/Reader.cs | Miltt/Console | df47ded80d9d2c7e48013b310ec5866f8a2b0f6b | [
"MIT"
] | 2 | 2019-10-07T16:48:22.000Z | 2020-02-22T09:57:20.000Z | using System;
using System.Threading;
namespace Cnsl.Algorithms.Multithreading
{
public class Reader
{
public enum EventType
{
Unknown = 0,
Read = 1,
Sleep = 2
}
public int ActionTimeoutMs => 1500;
public int SleepTimeoutMs => 500;
... | 24 | 104 | 0.566667 |
a8b32276cdd89809d7cc9b8c5d0b7ce324262245 | 847 | dart | Dart | graphql_schema/example/example.dart | triskell/graphql_dart | 2d4ebc4957d5670433a415764758ec93d64a8f1e | [
"MIT"
] | 8 | 2021-06-17T14:05:58.000Z | 2022-03-08T02:26:10.000Z | graphql_schema/example/example.dart | triskell/graphql_dart | 2d4ebc4957d5670433a415764758ec93d64a8f1e | [
"MIT"
] | 1 | 2022-03-06T12:26:41.000Z | 2022-03-10T09:23:31.000Z | graphql_schema/example/example.dart | triskell/graphql_dart | 2d4ebc4957d5670433a415764758ec93d64a8f1e | [
"MIT"
] | 2 | 2021-06-29T13:13:58.000Z | 2021-11-09T17:30:29.000Z | import 'package:graphql_schema2/graphql_schema2.dart';
final GraphQLSchema todoSchema = GraphQLSchema(
queryType: objectType('Todo', fields: [
field(
'text',
graphQLString.nonNullable(),
resolve: resolveToNull,
),
field(
'created_at',
graphQLDate,
resolve: resolveToNul... | 20.166667 | 61 | 0.59268 |
3033ae792ef8366be1fd116932fda8b1bbaedc5e | 1,885 | swift | Swift | ElCanari/document-project-transient-CommentInSchematic/transient-CommentInSchematic-objectDisplay.swift | pierremolinaro/ElCanari-dev | e5368983cf1558f6f4d567e7171beda56b5218b8 | [
"MIT"
] | 3 | 2019-12-18T12:47:51.000Z | 2020-12-21T14:07:43.000Z | ElCanari/document-project-transient-CommentInSchematic/transient-CommentInSchematic-objectDisplay.swift | pierremolinaro/ElCanari-dev | e5368983cf1558f6f4d567e7171beda56b5218b8 | [
"MIT"
] | 1 | 2018-09-11T09:11:45.000Z | 2018-09-12T12:13:10.000Z | ElCanari/document-project-transient-CommentInSchematic/transient-CommentInSchematic-objectDisplay.swift | pierremolinaro/ElCanari-dev | e5368983cf1558f6f4d567e7171beda56b5218b8 | [
"MIT"
] | null | null | null | //——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
// THIS FILE IS REGENERATED BY EASY BINDINGS, ONLY MODIFY IT WITHIN USER ZONES
//—————————————————————————————————————————————————————————————————————————————————————————————————————————————————————... | 41.888889 | 120 | 0.407958 |
d5b9a750ff3e57012d0bd279af478938d2daf774 | 2,121 | lua | Lua | main.lua | OpenGestureControl/Browser-module | c7152fd02b36f6cbddafc135e6ba6a6ecb149ef3 | [
"MIT"
] | null | null | null | main.lua | OpenGestureControl/Browser-module | c7152fd02b36f6cbddafc135e6ba6a6ecb149ef3 | [
"MIT"
] | null | null | null | main.lua | OpenGestureControl/Browser-module | c7152fd02b36f6cbddafc135e6ba6a6ecb149ef3 | [
"MIT"
] | null | null | null | -- Copyright (c) 2017 ICT Group
-- 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, publish, distr... | 44.1875 | 81 | 0.724658 |
c68dc3037164a58e8972fb3c805e51e5b0b5198b | 3,066 | py | Python | test/test_derivatives.py | gelijergensen/Constrained-Neural-Nets-Workbook | d71049939ace04b8baa672c7a8f632f5e01da24b | [
"MIT"
] | 3 | 2019-09-25T10:04:46.000Z | 2020-03-03T10:04:15.000Z | test/test_derivatives.py | gelijergensen/Constrained-Neural-Nets-Workbook | d71049939ace04b8baa672c7a8f632f5e01da24b | [
"MIT"
] | null | null | null | test/test_derivatives.py | gelijergensen/Constrained-Neural-Nets-Workbook | d71049939ace04b8baa672c7a8f632f5e01da24b | [
"MIT"
] | 2 | 2019-09-21T21:27:04.000Z | 2021-02-12T19:42:47.000Z | import numpy as np
import torch
from src.derivatives import jacobian, trace
def test_jacobian():
batchsize = int(np.random.randint(1, 10))
# vector * matrix --
# Unbatched
rand_lengths = np.random.randint(1, 10, 2)
ins = torch.rand(tuple(list(rand_lengths[-1:])), requires_grad=True)
facto... | 29.2 | 78 | 0.634703 |
a35933064fe5a8c5c9154b8bd204f941c1415aa8 | 11,446 | java | Java | core/src/main/java/org/web3j/protocol/rx/JsonRpc2_0Rx.java | xwc1125/web3j | a167aa595e7b995204d0c76a359d215463e3ac17 | [
"Apache-2.0"
] | 3 | 2021-05-30T01:43:03.000Z | 2022-02-09T07:25:16.000Z | core/src/main/java/org/web3j/protocol/rx/JsonRpc2_0Rx.java | xwc1125/web3j | a167aa595e7b995204d0c76a359d215463e3ac17 | [
"Apache-2.0"
] | 1 | 2020-01-21T06:58:58.000Z | 2020-01-21T06:58:58.000Z | core/src/main/java/org/web3j/protocol/rx/JsonRpc2_0Rx.java | xwc1125/web3j | a167aa595e7b995204d0c76a359d215463e3ac17 | [
"Apache-2.0"
] | 2 | 2021-05-30T01:43:05.000Z | 2021-09-30T15:40:41.000Z | /*
* Copyright 2019 Web3 Labs LTD.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 42.392593 | 118 | 0.641796 |
b586d20de69fc71735ba1babca8ce7022ed5ca1f | 2,141 | sql | SQL | database/src/main/resources/db/migration/V1_0__init.sql | peterfigure/explorer-service | c9b14b38d22a76450b0644d693ade4fc18fc69b7 | [
"Apache-2.0"
] | 1 | 2021-04-01T16:36:14.000Z | 2021-04-01T16:36:14.000Z | database/src/main/resources/db/migration/V1_0__init.sql | peterfigure/explorer-service | c9b14b38d22a76450b0644d693ade4fc18fc69b7 | [
"Apache-2.0"
] | 159 | 2021-03-08T18:05:44.000Z | 2022-03-29T18:39:55.000Z | database/src/main/resources/db/migration/V1_0__init.sql | peterfigure/explorer-service | c9b14b38d22a76450b0644d693ade4fc18fc69b7 | [
"Apache-2.0"
] | 1 | 2022-01-12T18:54:50.000Z | 2022-01-12T18:54:50.000Z |
CREATE TABLE block_cache
(
height INT PRIMARY KEY,
tx_count INT NOT NULL DEFAULT(0),
block_timestamp TIMESTAMP NOT NULL,
block JSONB NOT NULL,
last_hit TIMESTAMP NOT NULL,
hit_count INT NOT NULL
);
CREATE TABLE block_index
(
id INT PRIMARY KEY,
max_height_read INT NULL,
min_heig... | 23.021505 | 57 | 0.722092 |
fd76ee15348b160fc492994627e72c35229fc195 | 221 | dart | Dart | lib/data/remote/endpoints/county_endpoints.dart | Gandharvdalal/mobile-app | 4749a085a6b86a3c58564496fca027e6ec93a992 | [
"MIT"
] | 1 | 2019-12-09T04:31:29.000Z | 2019-12-09T04:31:29.000Z | lib/data/remote/endpoints/county_endpoints.dart | Emanuz/mobile-app | f631aea74d5e9766400eeea12dfd3af43b83cd45 | [
"MIT"
] | null | null | null | lib/data/remote/endpoints/county_endpoints.dart | Emanuz/mobile-app | f631aea74d5e9766400eeea12dfd3af43b83cd45 | [
"MIT"
] | null | null | null | import 'package:dio/dio.dart';
import 'package:vost/constants.dart';
class CountyEndpoints {
final Dio _dio;
CountyEndpoints(this._dio);
Future<Response> getCounties() {
return _dio.get(pathCounties);
}
} | 15.785714 | 37 | 0.714932 |
8865c79a8dfcd8d324b605c12e0cde8181fc3629 | 1,101 | psm1 | PowerShell | lib/webserver/New-IcingaTCPSocket.psm1 | moreamazingnick/icinga-powershell-framework | 211d9d3a1d7e1672dbeafc00da2ea0860080d173 | [
"MIT"
] | 45 | 2019-10-31T16:51:08.000Z | 2022-01-28T13:17:14.000Z | lib/webserver/New-IcingaTCPSocket.psm1 | moreamazingnick/icinga-powershell-framework | 211d9d3a1d7e1672dbeafc00da2ea0860080d173 | [
"MIT"
] | 210 | 2019-11-05T10:42:10.000Z | 2022-03-31T15:51:23.000Z | lib/webserver/New-IcingaTCPSocket.psm1 | moreamazingnick/icinga-powershell-framework | 211d9d3a1d7e1672dbeafc00da2ea0860080d173 | [
"MIT"
] | 31 | 2019-11-26T13:50:30.000Z | 2022-03-25T14:53:18.000Z | function New-IcingaTCPSocket()
{
param (
[string]$Address = '',
[int]$Port = 0,
[switch]$Start = $FALSE
);
if ($Port -eq 0) {
throw 'Please specify a valid port to open a TCP socket for';
}
# Listen on localhost by default
$ListenAddress = New-Object Sys... | 26.214286 | 95 | 0.5604 |
cc4f6c09bfaae493a9692ddf2d80fed3afc48ae1 | 226 | rb | Ruby | lib/poke_api/move_battle_style.rb | archbloom/poke-api-v2 | 65ac612d28e26242e49541429f94be4823d7758c | [
"MIT"
] | 28 | 2019-05-07T18:30:29.000Z | 2022-02-28T10:30:56.000Z | lib/poke_api/move_battle_style.rb | archbloom/poke-api-v2 | 65ac612d28e26242e49541429f94be4823d7758c | [
"MIT"
] | 73 | 2019-03-03T17:45:45.000Z | 2022-02-27T19:34:41.000Z | lib/poke_api/move_battle_style.rb | archbloom/poke-api-v2 | 65ac612d28e26242e49541429f94be4823d7758c | [
"MIT"
] | 3 | 2020-10-13T07:56:34.000Z | 2022-02-24T14:39:20.000Z | module PokeApi
# MoveBattleStyle object handling all data fetched from /move-battle-style
class MoveBattleStyle < NamedApiResource
attr_reader :names
def initialize(data)
assign_data(data)
end
end
end
| 20.545455 | 76 | 0.743363 |
6d281dae0e7847fcdadbbec644722435f0f37d8f | 559 | kt | Kotlin | app/src/main/java/org/traccar/client/utils/networkutils/Resources.kt | ilhamhadisyah/ceria-nugraha-indotama-fms | 429efeaf55dd468c9b9434ce7a6dec789027d5a9 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/org/traccar/client/utils/networkutils/Resources.kt | ilhamhadisyah/ceria-nugraha-indotama-fms | 429efeaf55dd468c9b9434ce7a6dec789027d5a9 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/org/traccar/client/utils/networkutils/Resources.kt | ilhamhadisyah/ceria-nugraha-indotama-fms | 429efeaf55dd468c9b9434ce7a6dec789027d5a9 | [
"Apache-2.0"
] | null | null | null | package org.traccar.client.utils.networkutils
data class Resources<out T>(val status: Status, val data: T?, val message: String?) {
companion object {
fun <T> success(data: T): Resources<T> =
Resources(status = Status.SUCCESS, data = data, message = null)
fun <T> error(data: T?, messag... | 39.928571 | 85 | 0.620751 |
0dc079c53443f6952f757ea2a4a9e2cdaa92a248 | 1,626 | rb | Ruby | test/ractor/tvar_test.rb | ko1/ractor-tvar | e57244747ef75df0c71b223bb28585a67a643720 | [
"MIT"
] | 54 | 2020-11-18T22:38:18.000Z | 2022-03-18T18:31:12.000Z | test/ractor/tvar_test.rb | ko1/ractor_tvar | e57244747ef75df0c71b223bb28585a67a643720 | [
"MIT"
] | 3 | 2020-11-20T09:24:48.000Z | 2021-02-04T12:50:21.000Z | test/ractor/tvar_test.rb | ko1/ractor_tvar | e57244747ef75df0c71b223bb28585a67a643720 | [
"MIT"
] | 1 | 2020-12-14T23:24:49.000Z | 2020-12-14T23:24:49.000Z | # frozen_string_literal: true
require "test_helper"
class Ractor::TVarTest < Test::Unit::TestCase
test "VERSION" do
assert do
::Ractor::TVar.const_defined?(:VERSION)
end
end
test 'Ractor::TVar can has a value' do
tv = Ractor::TVar.new(1)
assert_equal 1, tv.value
end
test 'Ractor::TVa... | 21.116883 | 74 | 0.644526 |
7f8ac65a94b2f720a75b9dc72e3e48db0284f6db | 3,752 | php | PHP | src/Controller/Stations/RemotesController.php | CodeSteele/AzuraCast | 862bafbebe14f4166429c3ef721c8dd1d0989a78 | [
"Apache-2.0"
] | 1 | 2019-03-30T18:31:41.000Z | 2019-03-30T18:31:41.000Z | src/Controller/Stations/RemotesController.php | CodeSteele/AzuraCast | 862bafbebe14f4166429c3ef721c8dd1d0989a78 | [
"Apache-2.0"
] | 2 | 2021-03-11T01:59:58.000Z | 2021-05-06T16:21:26.000Z | src/Controller/Stations/RemotesController.php | CodeSteele/AzuraCast | 862bafbebe14f4166429c3ef721c8dd1d0989a78 | [
"Apache-2.0"
] | null | null | null | <?php
namespace App\Controller\Stations;
use Doctrine\ORM\EntityManager;
use App\Entity;
use App\Http\Request;
use App\Http\Response;
use Psr\Http\Message\ResponseInterface;
class RemotesController
{
/** @var EntityManager */
protected $em;
/** @var string */
protected $csrf_namespace = 'stations_rem... | 31.266667 | 142 | 0.560501 |
26798b9a1958b2473bc3e8ec01dd45567e2321d0 | 575 | swift | Swift | HellowViper/Sources/Modules/List/ListRouter.swift | Ericliu001/HelloViper | b7462e506aabd22c3890f0c8fb76bff789185541 | [
"Apache-2.0"
] | null | null | null | HellowViper/Sources/Modules/List/ListRouter.swift | Ericliu001/HelloViper | b7462e506aabd22c3890f0c8fb76bff789185541 | [
"Apache-2.0"
] | null | null | null | HellowViper/Sources/Modules/List/ListRouter.swift | Ericliu001/HelloViper | b7462e506aabd22c3890f0c8fb76bff789185541 | [
"Apache-2.0"
] | null | null | null | //
// Created by Eric Liu on 7/28/18.
// Copyright (c) 2018 eric.liu. All rights reserved.
//
import Foundation
import UIKit
protocol ListRouter: AnyObject {
var presenter: ListPresenter? { get set }
var viewController: UIViewController? { get set }
func route(for: Int)
}
class ListRouterImpl: ListRo... | 21.296296 | 68 | 0.697391 |
bdc581328a02741a08f64628a1b24e7ac101869b | 1,065 | rb | Ruby | lib/rails_admin/config/actions/job.rb | qinjunquan/rails_admin | a45e935ca7b8f285a2c4a1475d137a70fd800677 | [
"MIT"
] | null | null | null | lib/rails_admin/config/actions/job.rb | qinjunquan/rails_admin | a45e935ca7b8f285a2c4a1475d137a70fd800677 | [
"MIT"
] | null | null | null | lib/rails_admin/config/actions/job.rb | qinjunquan/rails_admin | a45e935ca7b8f285a2c4a1475d137a70fd800677 | [
"MIT"
] | null | null | null | module RailsAdmin
module Config
module Actions
class Job < RailsAdmin::Config::Actions::Base
RailsAdmin::Config::Actions.register(self)
register_instance_option :collection do
true
end
register_instance_option :breadcrumb_parent do
[:dashboard]
e... | 30.428571 | 86 | 0.58216 |
a8777e64b89ffe903285bc31dc2b68c8eadf93cb | 91 | sql | SQL | src/test/resources/speed1p.test_3.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 131 | 2015-03-31T18:59:14.000Z | 2022-03-09T09:51:06.000Z | src/test/resources/speed1p.test_3.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 20 | 2015-03-31T21:35:38.000Z | 2018-07-02T16:15:51.000Z | src/test/resources/speed1p.test_3.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 43 | 2015-04-28T02:01:55.000Z | 2021-06-06T09:33:38.000Z | -- speed1p.test
--
-- db eval {INSERT INTO t1 VALUES(i,r,x)}
INSERT INTO t1 VALUES(i,r,x)
| 18.2 | 41 | 0.648352 |
eb34b49c208ccf3348b27cae9b9538f8d41a631a | 8,644 | css | CSS | data/usercss/115043.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 118 | 2020-08-28T19:59:28.000Z | 2022-03-26T16:28:40.000Z | data/usercss/115043.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 38 | 2020-09-02T01:08:45.000Z | 2022-01-23T02:47:24.000Z | data/usercss/115043.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 21 | 2020-08-19T01:12:43.000Z | 2022-03-15T21:55:17.000Z | /* ==UserStyle==
@name Black n' Orange
@namespace USO Archive
@author Jo2uke
@description `A dark theme for Tinyboard/Vichan based imageboards. Based on https://userstyles.org/styles/106386/tinyboard-dark-patterns`
@version 20150702.7.53
@license CC0-1.0
@preprocessor uso
==/Us... | 20.778846 | 140 | 0.599375 |
146bb45bdb3bc0a635376906332da0d712a2778f | 370 | ts | TypeScript | lib/types/button/script.d.ts | oeway/vue-window | d7317810341256249b0c8a3ec9cfe4969442a0da | [
"MIT"
] | 1 | 2021-02-09T21:42:11.000Z | 2021-02-09T21:42:11.000Z | lib/types/button/script.d.ts | oeway/vue-window | d7317810341256249b0c8a3ec9cfe4969442a0da | [
"MIT"
] | null | null | null | lib/types/button/script.d.ts | oeway/vue-window | d7317810341256249b0c8a3ec9cfe4969442a0da | [
"MIT"
] | null | null | null | import { WindowStyle } from "../style";
import { Vue } from "vue-property-decorator";
export declare class Button extends Vue {
windowStyle: WindowStyle;
disabled: boolean;
hover: boolean;
active: boolean;
readonly style: Partial<CSSStyleDeclaration>;
mousedown(e: MouseEvent & TouchEvent): void;... | 30.833333 | 49 | 0.702703 |
dfa8a3c4e49142c77b92d3f2ff6c95f13c97a1f8 | 473 | cs | C# | Exam-SharedTrip/SharedTrip/ViewModels/Trips/TripAddInputModel.cs | nvgeorgiev/Csharp-Web | 05983b398717bbb388d845edcd7a65f0d4583be5 | [
"MIT"
] | null | null | null | Exam-SharedTrip/SharedTrip/ViewModels/Trips/TripAddInputModel.cs | nvgeorgiev/Csharp-Web | 05983b398717bbb388d845edcd7a65f0d4583be5 | [
"MIT"
] | null | null | null | Exam-SharedTrip/SharedTrip/ViewModels/Trips/TripAddInputModel.cs | nvgeorgiev/Csharp-Web | 05983b398717bbb388d845edcd7a65f0d4583be5 | [
"MIT"
] | null | null | null | namespace SharedTrip.ViewModels.Trips
{
using System;
public class TripAddInputModel
{
public string StartPoint { get; set; }
public string EndPoint { get; set; }
public DateTime DepartureTime { get; set; } // Server might not be able to map DateTime. If error occurs change it to... | 23.65 | 133 | 0.630021 |
cdadd154526bfdbd53a211a80c1ca1fa2c77df3a | 254 | cs | C# | src/Lib/CommonLibrary.NET/_Core/Lang/_Core/IFunction.cs | joelverhagen/Knapcode.CommonLibrary.NET | ad562c9111136dc273a7fe192f9a670ab8207201 | [
"MIT"
] | 1 | 2021-06-15T09:20:31.000Z | 2021-06-15T09:20:31.000Z | src/Lib/CommonLibrary.NET/_Core/Lang/_Core/IFunction.cs | joelverhagen/Knapcode.CommonLibrary.NET | ad562c9111136dc273a7fe192f9a670ab8207201 | [
"MIT"
] | null | null | null | src/Lib/CommonLibrary.NET/_Core/Lang/_Core/IFunction.cs | joelverhagen/Knapcode.CommonLibrary.NET | ad562c9111136dc273a7fe192f9a670ab8207201 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ComLib.Core.Core
{
/// <summary>
/// Interface for a plugin that acts as a function.
/// </summary>
interface IPluginFunction
{
}
}
| 16.933333 | 55 | 0.665354 |
ec18840231bd32d722372c3689876a6cc7535229 | 552 | lua | Lua | example/counter/lua/simulation.lua | weberja/sydevs-yaml | ee80f25473513befa4f64d3f181604c5f33dd449 | [
"Apache-2.0"
] | 1 | 2021-02-18T17:06:34.000Z | 2021-02-18T17:06:34.000Z | example/counter/lua/simulation.lua | weberja/sydevs-yaml | ee80f25473513befa4f64d3f181604c5f33dd449 | [
"Apache-2.0"
] | null | null | null | example/counter/lua/simulation.lua | weberja/sydevs-yaml | ee80f25473513befa4f64d3f181604c5f33dd449 | [
"Apache-2.0"
] | null | null | null | counter = 0
micro_counter = 0
function macro_initialization_event()
-- ports:set_port("init",any.new(2.0))
return duration.new(1, scales["unit"])
end
function micro_planned_event(agentID, elapsed_dt)
micro_counter = micro_counter + elapsed_dt:to_int()
print(agentID .. " was updated at" .. micro_counte... | 24 | 56 | 0.731884 |
6df0ead2716c951beabc537457e46c619fd37ff4 | 2,946 | h | C | modules/audio_processing/agc2/vad_wrapper.h | wyshen2020/webrtc | b93e2240f1653b82e24553e092bbab84337774af | [
"BSD-3-Clause"
] | 27 | 2020-04-06T09:52:44.000Z | 2022-03-17T19:07:12.000Z | modules/audio_processing/agc2/vad_wrapper.h | wyshen2020/webrtc | b93e2240f1653b82e24553e092bbab84337774af | [
"BSD-3-Clause"
] | 1 | 2021-02-18T00:57:11.000Z | 2021-02-18T00:57:11.000Z | modules/audio_processing/agc2/vad_wrapper.h | wyshen2020/webrtc | b93e2240f1653b82e24553e092bbab84337774af | [
"BSD-3-Clause"
] | 13 | 2020-05-06T01:47:27.000Z | 2022-02-02T21:47:28.000Z | /*
* Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 37.291139 | 80 | 0.729124 |
7f92e3fd40a027526ac29f1bb0be28a9744b54f0 | 812 | php | PHP | src/Persister/PersisterRegistry.php | dgstudio-cz/imagist | 60cd98ee7dac08b459fddf5e79cda97d83072d89 | [
"MIT"
] | null | null | null | src/Persister/PersisterRegistry.php | dgstudio-cz/imagist | 60cd98ee7dac08b459fddf5e79cda97d83072d89 | [
"MIT"
] | null | null | null | src/Persister/PersisterRegistry.php | dgstudio-cz/imagist | 60cd98ee7dac08b459fddf5e79cda97d83072d89 | [
"MIT"
] | null | null | null | <?php declare(strict_types = 1);
namespace Contributte\Imagist\Persister;
use Contributte\Imagist\Context\Context;
use Contributte\Imagist\Entity\ImageInterface;
use Contributte\Imagist\Exceptions\InvalidArgumentException;
final class PersisterRegistry implements PersisterRegistryInterface
{
/** @var PersisterInte... | 25.375 | 99 | 0.75 |
f0143bd3ed561d0dfb0348516e68bf8dbb769f62 | 5,723 | lua | Lua | lib/shapes/pentagon.lua | cjmartin20/Learning-Modules | 589588d3cbc8270f0412fccc3cc9a422a0eab8fa | [
"MIT"
] | 1 | 2020-09-13T21:37:19.000Z | 2020-09-13T21:37:19.000Z | lib/shapes/pentagon.lua | cjmartin20/Learning-Modules | 589588d3cbc8270f0412fccc3cc9a422a0eab8fa | [
"MIT"
] | 1 | 2020-07-09T11:06:24.000Z | 2020-07-09T11:06:24.000Z | lib/shapes/pentagon.lua | cjmartin20/Learning-Modules | 589588d3cbc8270f0412fccc3cc9a422a0eab8fa | [
"MIT"
] | null | null | null | <<<<<<< HEAD
----------------------------------------------------------------------------------------
--pentagon.lua Creates Pentagon Object
----------------------------------------------------------------------------------------
local pentagon = {
object = nil,
originalColor = { Red = 0, Green = 0, Blue = 0},... | 38.153333 | 130 | 0.664162 |
f165239f025cd841424860a1f67fe50a9309843c | 7,049 | swift | Swift | TradeItIosTicketSDK2/TradeItSDK.swift | VladimirLafazan/TradeItIosTicketSDK2 | 687c6337d454596414a489a1227129fa32dd7c28 | [
"Apache-2.0"
] | 38 | 2016-10-21T02:16:06.000Z | 2022-01-03T02:46:24.000Z | TradeItIosTicketSDK2/TradeItSDK.swift | VladimirLafazan/TradeItIosTicketSDK2 | 687c6337d454596414a489a1227129fa32dd7c28 | [
"Apache-2.0"
] | 131 | 2016-10-12T16:02:57.000Z | 2020-05-24T20:38:18.000Z | TradeItIosTicketSDK2/TradeItSDK.swift | VladimirLafazan/TradeItIosTicketSDK2 | 687c6337d454596414a489a1227129fa32dd7c28 | [
"Apache-2.0"
] | 29 | 2016-11-04T19:42:45.000Z | 2021-09-21T20:27:47.000Z | import UIKit
@objc public class TradeItSDK: NSObject {
// MARK: Settable properties
@objc public static var theme: TradeItTheme = TradeItTheme.light()
@objc public static var isPortfolioEnabled = true
@objc public static var isAdServiceEnabled = false
@objc public static var userCountryCode: Strin... | 41.222222 | 177 | 0.700383 |
d2c2d0fdf790d1d03c4c369c8edfbbe0de83d41f | 1,033 | lua | Lua | lua/go/codelens.lua | markhuge/go.nvim | 9036f3bf889b504a9d16971360157673d73ae7a9 | [
"MIT"
] | null | null | null | lua/go/codelens.lua | markhuge/go.nvim | 9036f3bf889b504a9d16971360157673d73ae7a9 | [
"MIT"
] | null | null | null | lua/go/codelens.lua | markhuge/go.nvim | 9036f3bf889b504a9d16971360157673d73ae7a9 | [
"MIT"
] | null | null | null | local utils = require("go.utils")
local codelens = require("vim.lsp.codelens")
local M = {}
function M.setup()
vim.cmd("highlight default link LspCodeLens WarningMsg")
vim.cmd("highlight default link LspCodeLensText WarningMsg")
vim.cmd("highlight default link LspCodeLensTextSign LspCodeLensText")
vim.cmd("hi... | 25.825 | 98 | 0.733785 |
0d4469ff3e482586996850d9ea256386b3c61f23 | 4,596 | c | C | src/gcp_jwt.c | oalpay/petit_gcp | 3f74d3a717aef7aa51753fb327e8ccedd82fd8c1 | [
"Unlicense"
] | 23 | 2020-12-13T18:01:59.000Z | 2022-02-22T03:10:35.000Z | src/gcp_jwt.c | oalpay/petit_gcp | 3f74d3a717aef7aa51753fb327e8ccedd82fd8c1 | [
"Unlicense"
] | null | null | null | src/gcp_jwt.c | oalpay/petit_gcp | 3f74d3a717aef7aa51753fb327e8ccedd82fd8c1 | [
"Unlicense"
] | 5 | 2020-12-13T18:58:00.000Z | 2021-04-06T10:38:33.000Z | #include "gcp_jwt.h"
#include <mbedtls/pk.h>
#include <mbedtls/error.h>
#include <mbedtls/entropy.h>
#include <mbedtls/ctr_drbg.h>
#include "esp_log.h"
#include "esp_system.h"
#include "mbedtls/base64.h"
#include <string.h>
#include <time.h>
static const char *TAG = "GCP_JWT";
/**
* Return a string representation of ... | 42.555556 | 147 | 0.707137 |
45d6d357615816edafd09edbc52118b4708f30f4 | 6,496 | py | Python | tests/unit/TestDuane.py | rakhimov/rtk | adc35e218ccfdcf3a6e3082f6a1a1d308ed4ff63 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/TestDuane.py | rakhimov/rtk | adc35e218ccfdcf3a6e3082f6a1a1d308ed4ff63 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/TestDuane.py | rakhimov/rtk | adc35e218ccfdcf3a6e3082f6a1a1d308ed4ff63 | [
"BSD-3-Clause"
] | 2 | 2020-04-03T04:14:42.000Z | 2021-02-22T05:30:35.000Z | #!/usr/bin/env python -O
"""
This is the test class for testing Duane model algorithms.
"""
# -*- coding: utf-8 -*-
#
# tests.statistics.TestDuane.py is part of The RTK Project
#
# All rights reserved.
# Copyright 2007 - 2017 Andrew Rowland andrew.rowland <AT> reliaqual <DOT> com
#
# Redistribution and use in so... | 42.736842 | 175 | 0.636084 |
2350375084ffd852dd9589aaf089e95c8774a338 | 44,137 | lua | Lua | Interface/AddOns/GDKP/core.lua | liruqi/bigfoot | 813a437268b6c55d9b0dc71ed4578753af6166f2 | [
"MIT"
] | null | null | null | Interface/AddOns/GDKP/core.lua | liruqi/bigfoot | 813a437268b6c55d9b0dc71ed4578753af6166f2 | [
"MIT"
] | null | null | null | Interface/AddOns/GDKP/core.lua | liruqi/bigfoot | 813a437268b6c55d9b0dc71ed4578753af6166f2 | [
"MIT"
] | 1 | 2021-06-22T17:25:11.000Z | 2021-06-22T17:25:11.000Z | local T = LibStub("AceAddon-3.0"):NewAddon("GDKP","AceEvent-3.0","AceHook-3.0") if not T then return end _G.GDKP = T local defaults = { profile = { account = {}, records = {}, } } local _debug = 0 local _debugColor = { "ee2211", "ee2288", "00ee55", } T.debug = function(...) local lvl = ... if type(lvl)=='number' and lv... | 22,068.5 | 44,136 | 0.782654 |
d4c649eb8b2d3785a7dd53d4d5eea4a5d47a939e | 2,285 | dart | Dart | lib/modules/system/page_system_index.dart | JasonXuJie/FlutterWanAndroid | 1978c8477e32d755b236de7300d7db62d283c01b | [
"Apache-2.0"
] | 1 | 2021-06-29T02:39:21.000Z | 2021-06-29T02:39:21.000Z | lib/modules/system/page_system_index.dart | JasonXuJie/FlutterWanAndroid | 1978c8477e32d755b236de7300d7db62d283c01b | [
"Apache-2.0"
] | null | null | null | lib/modules/system/page_system_index.dart | JasonXuJie/FlutterWanAndroid | 1978c8477e32d755b236de7300d7db62d283c01b | [
"Apache-2.0"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:Inke/widgets/gaps.dart';
import 'package:Inke/widgets/text.dart';
import 'package:Inke/modules/system/system/page_system.dart';
import 'package:Inke/modules/system/navigation/page_nav.dart';
import 'package:get/get.dart';
import 'package:Inke/router/navigator_util... | 29.294872 | 115 | 0.569365 |
af0b79d44a1325389de6e3a681b3cb432b2b8a95 | 1,752 | py | Python | src/models/categories_products/categories_products.py | nnecklace/webi-shoppi | 140d1e6ea8d019aa10ee2104e1bbd2baf0b9aa0f | [
"MIT"
] | null | null | null | src/models/categories_products/categories_products.py | nnecklace/webi-shoppi | 140d1e6ea8d019aa10ee2104e1bbd2baf0b9aa0f | [
"MIT"
] | 2 | 2020-06-02T13:55:02.000Z | 2020-06-16T17:58:55.000Z | src/models/categories_products/categories_products.py | nnecklace/webi-shoppi | 140d1e6ea8d019aa10ee2104e1bbd2baf0b9aa0f | [
"MIT"
] | null | null | null | from src.db import db
from sqlalchemy import exc
from src.models import Product, Category
import sys
class CategoryProduct(db.Model):
__tablename__ = "categories_products"
__table_args__ = (
db.PrimaryKeyConstraint("category_id", "product_id"),
)
category_id = db.Column(db.Integer, db.ForeignKe... | 36.5 | 104 | 0.621575 |
98bd1da696805162a8d8eb6e4e3f90f73d644b0d | 4,662 | swift | Swift | TidepoolOnboarding/Views/OnboardingSectionNavigationButton.swift | tidepool-org/TidepoolOnboarding | 521bcf7cdb492bede32823a4c2a1da33c939cce6 | [
"BSD-2-Clause"
] | null | null | null | TidepoolOnboarding/Views/OnboardingSectionNavigationButton.swift | tidepool-org/TidepoolOnboarding | 521bcf7cdb492bede32823a4c2a1da33c939cce6 | [
"BSD-2-Clause"
] | 23 | 2021-02-09T03:57:02.000Z | 2022-03-11T03:58:35.000Z | TidepoolOnboarding/Views/OnboardingSectionNavigationButton.swift | tidepool-org/TidepoolOnboarding | 521bcf7cdb492bede32823a4c2a1da33c939cce6 | [
"BSD-2-Clause"
] | null | null | null | //
// OnboardingSectionNavigationButton.swift
// TidepoolOnboarding
//
// Created by Darin Krauss on 3/4/21.
// Copyright © 2021 Tidepool Project. All rights reserved.
//
import SwiftUI
import LoopKitUI
struct OnboardingSectionNavigationButton<Destination: View>: View {
@EnvironmentObject var onboardingViewMo... | 36.708661 | 165 | 0.629987 |
afde0784cf1ff6bc8bb012426eaa000c29ffff65 | 2,517 | py | Python | python/bootmenu.py | 3mdeb/bits | 19da7046a7303f1de8b53165eea1a6f486757c03 | [
"BSD-3-Clause"
] | 215 | 2015-08-05T07:31:35.000Z | 2022-03-25T17:34:54.000Z | python/bootmenu.py | marcol3786/bits | 19da7046a7303f1de8b53165eea1a6f486757c03 | [
"BSD-3-Clause"
] | 12 | 2015-09-07T14:09:53.000Z | 2021-04-07T05:03:26.000Z | python/bootmenu.py | marcol3786/bits | 19da7046a7303f1de8b53165eea1a6f486757c03 | [
"BSD-3-Clause"
] | 71 | 2015-08-05T02:35:13.000Z | 2022-02-11T21:16:39.000Z | # Copyright (c) 2015, Intel Corporation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of condit... | 37.567164 | 81 | 0.715137 |
969fce68dbaae362f57029e5bccd0c5c5e32b7bf | 3,242 | dart | Dart | app14/lib/Home.dart | BryanSOliveira/flutter | d18d331868e4ebcf0d5e07f1047bd4f1d0e31f79 | [
"MIT"
] | null | null | null | app14/lib/Home.dart | BryanSOliveira/flutter | d18d331868e4ebcf0d5e07f1047bd4f1d0e31f79 | [
"MIT"
] | null | null | null | app14/lib/Home.dart | BryanSOliveira/flutter | d18d331868e4ebcf0d5e07f1047bd4f1d0e31f79 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
class Home extends StatefulWidget {
@override
_HomeState createState() => _HomeState();
}
class _HomeState extends State<Home> {
@override
void initState() {
// TODO: implement initState
super.initStat... | 24.748092 | 75 | 0.553671 |
7dcc641952600c7bc8b964bfc5639cd47345c428 | 373 | rb | Ruby | lib/acts_as_list/active_record/acts/top_of_list_method_definer.rb | co-op-plug/acts_as_list | 983be695a20885f9ff18acacafaf4efda27a6829 | [
"MIT"
] | null | null | null | lib/acts_as_list/active_record/acts/top_of_list_method_definer.rb | co-op-plug/acts_as_list | 983be695a20885f9ff18acacafaf4efda27a6829 | [
"MIT"
] | null | null | null | lib/acts_as_list/active_record/acts/top_of_list_method_definer.rb | co-op-plug/acts_as_list | 983be695a20885f9ff18acacafaf4efda27a6829 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
module ActiveRecord::Acts::List::TopOfListMethodDefiner #:nodoc:
def self.call(caller_class, top_of_list)
caller_class.class_eval do
define_method :acts_as_list_top do
if top_of_list.respond_to? :call
top_of_list.call(self)
else
top_of_list... | 20.722222 | 64 | 0.662198 |
877c3b031f709df110aaba46cf41b42b891ceb40 | 799 | rb | Ruby | lib/simple_apns/error.rb | julesjans/simple_apns | 572a32870d86201cdcdab4998969d649ae45acf0 | [
"MIT"
] | null | null | null | lib/simple_apns/error.rb | julesjans/simple_apns | 572a32870d86201cdcdab4998969d649ae45acf0 | [
"MIT"
] | null | null | null | lib/simple_apns/error.rb | julesjans/simple_apns | 572a32870d86201cdcdab4998969d649ae45acf0 | [
"MIT"
] | null | null | null | module SimpleAPNS
class Error
def self.process_error_response(error)
puts "hello there has been an error: #{error.inspect}"
end
end
class ServerFailure < StandardError
def message
"Could not communicate with the server"
end
end
class SocketFailure < StandardError... | 19.487805 | 62 | 0.678348 |
3c660acec9b2ba9ab1c448a58d06c1fb002c7d15 | 1,430 | ps1 | PowerShell | Modules/TechnologyToolbox.Core/Private/RemoveRegistryKeyIfEmpty.Tests.ps1 | technology-toolbox/PowerShell | 403531b298403befa0a7c41ab26bbfacebc95a9e | [
"MIT"
] | null | null | null | Modules/TechnologyToolbox.Core/Private/RemoveRegistryKeyIfEmpty.Tests.ps1 | technology-toolbox/PowerShell | 403531b298403befa0a7c41ab26bbfacebc95a9e | [
"MIT"
] | 13 | 2019-02-26T16:19:40.000Z | 2019-03-06T15:24:14.000Z | Modules/TechnologyToolbox.Core/Private/RemoveRegistryKeyIfEmpty.Tests.ps1 | technology-toolbox/PowerShell | 403531b298403befa0a7c41ab26bbfacebc95a9e | [
"MIT"
] | 1 | 2022-01-05T07:56:09.000Z | 2022-01-05T07:56:09.000Z | . $PSScriptRoot\RemoveRegistryKeyIfEmpty.ps1
Describe 'RemoveRegistryKeyIfEmpty Tests' {
New-Item 'TestRegistry:\Empty'
New-Item 'TestRegistry:\KeyWithChild'
New-Item 'TestRegistry:\KeyWithChild\Child'
New-Item 'TestRegistry:\KeyWithProperty'
Set-ItemProperty 'TestRegistry:\KeyWithProperty' -Name '... | 30.425532 | 82 | 0.637063 |
7e3cec14dc82856a84b2ab060a0473b6526f1fd0 | 578 | swift | Swift | MEADepthCamera/File IO/OutputType.swift | pnhwill/mea-depth-camera | 81df92dcaeda4cb466eeb85a5c7ce36cfff88ce2 | [
"MIT"
] | 2 | 2021-12-11T03:36:55.000Z | 2022-02-01T08:41:31.000Z | MEADepthCamera/File IO/OutputType.swift | pnhwill/mea-depth-camera | 81df92dcaeda4cb466eeb85a5c7ce36cfff88ce2 | [
"MIT"
] | null | null | null | MEADepthCamera/File IO/OutputType.swift | pnhwill/mea-depth-camera | 81df92dcaeda4cb466eeb85a5c7ce36cfff88ce2 | [
"MIT"
] | 1 | 2021-12-09T08:46:21.000Z | 2021-12-09T08:46:21.000Z | //
// OutputType.swift
// MEADepthCamera
//
// Created by Will on 7/29/21.
//
import Foundation
/// Enumeration of the different output files saved to the device.
enum OutputType: String {
case video
case audio
case depth
case landmarks2D
case landmarks3D
case info
case frameIndex
... | 18.645161 | 66 | 0.584775 |
4d3b8d680d54b35918316e666cb5575652e0eb37 | 1,103 | cs | C# | Performance/WcfService/Global.asax.cs | neuecc/LightNode | 61fa59623904515e37df5c59ca56a806c1506a27 | [
"MIT"
] | 160 | 2015-01-02T13:02:37.000Z | 2022-03-31T03:19:31.000Z | Performance/WcfService/Global.asax.cs | neuecc/LightNode | 61fa59623904515e37df5c59ca56a806c1506a27 | [
"MIT"
] | 25 | 2015-01-26T15:06:50.000Z | 2016-09-27T10:30:18.000Z | Performance/WcfService/Global.asax.cs | neuecc/LightNode | 61fa59623904515e37df5c59ca56a806c1506a27 | [
"MIT"
] | 38 | 2015-02-24T07:27:55.000Z | 2022-02-23T17:20:58.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Activation;
using System.Web;
using System.Web.Routing;
using System.Web.Security;
using System.Web.SessionState;
namespace WcfService
{
public class Global : System.Web.HttpApplication
{
protected void Applic... | 21.211538 | 82 | 0.612874 |
0d4a1bb96450d5988c17b6db2876b0a5952b413b | 2,717 | cs | C# | Showcases/GroupDocs.ReportGenerator/GroupDocs.ReportGenerator.DataAccessLayer/DBHandler.cs | aliahmedgroupdocs/GroupDocs.Assembly-for-.NET | d1ecdc944f957e90cb649e150d500560cf131d86 | [
"MIT"
] | 4 | 2017-12-15T19:35:33.000Z | 2020-07-13T10:28:09.000Z | Showcases/GroupDocs.ReportGenerator/GroupDocs.ReportGenerator.DataAccessLayer/DBHandler.cs | aliahmedgroupdocs/GroupDocs.Assembly-for-.NET | d1ecdc944f957e90cb649e150d500560cf131d86 | [
"MIT"
] | 3 | 2015-11-25T04:01:52.000Z | 2016-03-10T06:16:35.000Z | Showcases/GroupDocs.ReportGenerator/GroupDocs.ReportGenerator.DataAccessLayer/DBHandler.cs | aliahmedgroupdocs/GroupDocs.Assembly-for-.NET | d1ecdc944f957e90cb649e150d500560cf131d86 | [
"MIT"
] | 10 | 2016-05-18T08:37:22.000Z | 2021-09-01T02:21:37.000Z | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
namespace GroupDocs.ReportGenerator.DataAccessLayer
{
/// <summary>
/// General Database Handler
/// </summary>
public class DBHandler
{
SqlConne... | 26.90099 | 71 | 0.487302 |
c549b4b332850f787682c10103aac570fc1a456d | 1,922 | css | CSS | data/usercss/13019.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 118 | 2020-08-28T19:59:28.000Z | 2022-03-26T16:28:40.000Z | data/usercss/13019.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 38 | 2020-09-02T01:08:45.000Z | 2022-01-23T02:47:24.000Z | data/usercss/13019.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 21 | 2020-08-19T01:12:43.000Z | 2022-03-15T21:55:17.000Z | /* ==UserStyle==
@name Download Manager - Sydney yendys
@namespace USO Archive
@author yendys
@description `"i gosto da gaby" by "sydney"`
@version 20081216.19.52
@license NO-REDISTRIBUTION
@preprocessor uso
==/UserStyle== */
body{
background-image: url(data:image/gif;base64,R... | 106.777778 | 1,462 | 0.908949 |
d31c46f2c527ecec03cfd6940bd9c021b2e235b7 | 444 | cs | C# | VehiclePassRegister/Profiles/VehicleProfile.cs | Sagor31h2/Vehicle-Pass-registration | f73e17c69dbfb418f7cd7643202bdacf25c228b7 | [
"MIT"
] | null | null | null | VehiclePassRegister/Profiles/VehicleProfile.cs | Sagor31h2/Vehicle-Pass-registration | f73e17c69dbfb418f7cd7643202bdacf25c228b7 | [
"MIT"
] | null | null | null | VehiclePassRegister/Profiles/VehicleProfile.cs | Sagor31h2/Vehicle-Pass-registration | f73e17c69dbfb418f7cd7643202bdacf25c228b7 | [
"MIT"
] | null | null | null | using AutoMapper;
using VehiclePassRegister.Models;
using VehiclePassRegister.Models.Request;
using VehiclePassRegister.Models.Response;
namespace VehiclePassRegister.Profiles
{
public class VehicleProfile : Profile
{
public VehicleProfile()
{
CreateMap<Vehicle, VehicleReplyDto>();... | 23.368421 | 51 | 0.682432 |
9816b104e42c67f2047a4e143731c03f7cc92184 | 250 | py | Python | metagraph/tests/test_types.py | eriknw/metagraph-1 | b6a4e92903e7779c31137a765cdb4852245918d2 | [
"Apache-2.0"
] | null | null | null | metagraph/tests/test_types.py | eriknw/metagraph-1 | b6a4e92903e7779c31137a765cdb4852245918d2 | [
"Apache-2.0"
] | null | null | null | metagraph/tests/test_types.py | eriknw/metagraph-1 | b6a4e92903e7779c31137a765cdb4852245918d2 | [
"Apache-2.0"
] | null | null | null | import pytest
from metagraph import types
def test_nodemap_not_implemented():
nodemap = types.NodeMap()
with pytest.raises(NotImplementedError):
nodemap[0]
with pytest.raises(NotImplementedError):
nodemap.num_nodes()
| 17.857143 | 44 | 0.72 |
845f73004a2423d4947c4dc04e6bae8373732f1f | 2,982 | sql | SQL | sql/_23_apricot_qa/_01_sql_extension3/_04_mutitable_update_delete/_02_multi_table_delete/_01_delete_from_syntax/cases/multi_delete_clob.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 9 | 2016-03-24T09:51:52.000Z | 2022-03-23T10:49:47.000Z | sql/_23_apricot_qa/_01_sql_extension3/_04_mutitable_update_delete/_02_multi_table_delete/_01_delete_from_syntax/cases/multi_delete_clob.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 173 | 2016-04-13T01:16:54.000Z | 2022-03-16T07:50:58.000Z | sql/_23_apricot_qa/_01_sql_extension3/_04_mutitable_update_delete/_02_multi_table_delete/_01_delete_from_syntax/cases/multi_delete_clob.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 38 | 2016-03-24T17:10:31.000Z | 2021-10-30T22:55:45.000Z | --delete from 2 tables with clob type column for join condition, with composed index
create table md_clob1(id1 numeric(10, 5), col1 timestamp not null default CURRENT_TIMESTAMP, col2 clob);
insert into md_clob1 values(11111.11111, '2011-09-01 12:12:12', char_to_clob('cubrid')), (22222.22222, '2011-09-01 12:12:13', c... | 48.096774 | 404 | 0.713615 |
2e5210f67476ca4233bcb2d9b67b3cc4491c75ec | 93 | swift | Swift | Tests/LinuxMain.swift | KritR/MarkovAndMe | 62dbfc99e7565a73d41d4dc502ee1ac6ef4f1d7f | [
"Apache-2.0"
] | null | null | null | Tests/LinuxMain.swift | KritR/MarkovAndMe | 62dbfc99e7565a73d41d4dc502ee1ac6ef4f1d7f | [
"Apache-2.0"
] | null | null | null | Tests/LinuxMain.swift | KritR/MarkovAndMe | 62dbfc99e7565a73d41d4dc502ee1ac6ef4f1d7f | [
"Apache-2.0"
] | null | null | null | import XCTest
@testable import GetStartedTests
XCTMain([
testCase(Tests1.allTests),
])
| 13.285714 | 32 | 0.752688 |
7982cd8f5ffe6225202ddfc624f46a8fb8e5d64c | 222 | php | PHP | resources/views/teams/index.blade.php | Dalibor989/nba-take-two | 45975879ae842b7b6e2d7eadb4e39e651429d9d1 | [
"MIT"
] | null | null | null | resources/views/teams/index.blade.php | Dalibor989/nba-take-two | 45975879ae842b7b6e2d7eadb4e39e651429d9d1 | [
"MIT"
] | null | null | null | resources/views/teams/index.blade.php | Dalibor989/nba-take-two | 45975879ae842b7b6e2d7eadb4e39e651429d9d1 | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('title', 'Teams')
@section('content')
<h3>Teams:</h3>
@foreach($teams as $team)
<p><a href="{{ route('show.teams', ['team' => $team]) }}">{{ $team->name }}</a></p>
@endforeach
@endsection | 22.2 | 83 | 0.599099 |
ddbebbc2e2fbab2a81eca813a1852e1aedd0ddb1 | 2,027 | java | Java | pcgen/code/src/java/pcgen/cdom/identifier/SpellSchool.java | odraccir/pcgen-deprecated | ab07cb4250e5d0419fd805197fb040a2ea425cc8 | [
"OML"
] | 1 | 2020-01-12T22:28:29.000Z | 2020-01-12T22:28:29.000Z | pcgen/code/src/java/pcgen/cdom/identifier/SpellSchool.java | allardhoeve/pcgen-multiline-objects | 2643b8cde1b866121290b16c26d5c8bd7ad21cbc | [
"OML"
] | null | null | null | pcgen/code/src/java/pcgen/cdom/identifier/SpellSchool.java | allardhoeve/pcgen-multiline-objects | 2643b8cde1b866121290b16c26d5c8bd7ad21cbc | [
"OML"
] | null | null | null | /*
* Copyright (c) 2010 Tom Parker <thpr@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any... | 19.490385 | 81 | 0.684756 |
674ca13dd53940fcd17ce3e33f535dba2d176c24 | 4,485 | ps1 | PowerShell | noiseTools/prependTimestamps.ps1 | johnaho/Cloakify-Powershell | 700ec8030c57ff6dc8e6d3be6627b3a65861047c | [
"MIT"
] | 33 | 2017-07-21T13:47:05.000Z | 2020-05-10T07:11:25.000Z | noiseTools/prependTimestamps.ps1 | dumpsterfirevip/Cloakify-Powershell | 700ec8030c57ff6dc8e6d3be6627b3a65861047c | [
"MIT"
] | null | null | null | noiseTools/prependTimestamps.ps1 | dumpsterfirevip/Cloakify-Powershell | 700ec8030c57ff6dc8e6d3be6627b3a65861047c | [
"MIT"
] | 8 | 2018-05-12T16:31:10.000Z | 2020-10-18T04:28:21.000Z | #
# Filename: prependTimestamps.py
#
# Version: 1.0.1
#
# Author: Joe Gervais (TryCatchHCF)
#
# Ported to Powershell by: John Aho
#
# Summary: Inserts datetimestamps in front of each line of a file. Used to
# add noise to a cloaked file (see cloakify.py) in order to degrade frequency
# analysis attacks against the... | 36.762295 | 182 | 0.6466 |
2f7bb43149dd3722448b4bf9188e5d4805294868 | 185 | js | JavaScript | public/js/vue.min.js | qq349694377/PingGer | c1ec056aac24b6f87cb12616c51df82bdbd47214 | [
"Apache-2.0"
] | null | null | null | public/js/vue.min.js | qq349694377/PingGer | c1ec056aac24b6f87cb12616c51df82bdbd47214 | [
"Apache-2.0"
] | 1 | 2020-12-05T06:32:03.000Z | 2020-12-05T06:32:03.000Z | public/js/vue.min.js | qq349694377/PingGer | c1ec056aac24b6f87cb12616c51df82bdbd47214 | [
"Apache-2.0"
] | null | null | null | /*-防止各大cdn公共库加载地址失效问题,此地址我们会时时监控,及调整以保障正常访问-www.jq22.com为您服务*/
/*当前为bootcss cdn公共库提供的vue-2.2.2*/
document.write("<script src='http://cdn.bootcss.com/vue/2.2.2/vue.min.js'><\/script>"); | 61.666667 | 87 | 0.735135 |
145096642b141a5aecb20957e0c80a52fefcf10d | 20,039 | tsx | TypeScript | src/images/reactNativImg.tsx | Codivox/codivox.com | fd733c35410e5e7137b18cdde6a9cb9488250d83 | [
"RSA-MD"
] | 2 | 2020-10-22T06:51:34.000Z | 2021-03-11T10:47:47.000Z | src/images/reactNativImg.tsx | Codivox/codivox.com | fd733c35410e5e7137b18cdde6a9cb9488250d83 | [
"RSA-MD"
] | 35 | 2020-07-17T02:15:50.000Z | 2021-04-29T15:09:49.000Z | src/images/reactNativImg.tsx | Codivox/codivox.com | fd733c35410e5e7137b18cdde6a9cb9488250d83 | [
"RSA-MD"
] | 1 | 2020-11-20T07:01:32.000Z | 2020-11-20T07:01:32.000Z | import * as React from 'react';
import ReactNativ from '../components/AppDevelopment/ReactNativ';
function ReactNativImg(props: React.SVGProps<SVGSVGElement>) {
return (
<svg width={345} height={253} viewBox="0 0 345 253" fill="none" {...props}>
<g clipPath="url(#prefix__clip0)" fill="#61DAFB">
<pa... | 108.318919 | 2,841 | 0.631918 |
73c11456130fad828a8da1277d9aba6da42a1a13 | 3,458 | swift | Swift | Tests/ProjectAssetsSpec.swift | elitree/Prism | 5883ed29ce490fbcf0d613dc159800031a5f3610 | [
"MIT"
] | null | null | null | Tests/ProjectAssetsSpec.swift | elitree/Prism | 5883ed29ce490fbcf0d613dc159800031a5f3610 | [
"MIT"
] | null | null | null | Tests/ProjectAssetsSpec.swift | elitree/Prism | 5883ed29ce490fbcf0d613dc159800031a5f3610 | [
"MIT"
] | null | null | null | //
// ProjectSpec.swift
// Prism
//
// Created by Shai Mishali on 22/05/2019.
// Copyright © 2019 Gett. All rights reserved.
//
import Foundation
import Quick
import Nimble
import SnapshotTesting
@testable import PrismCore
@testable import ZeplinAPI
class ProjectAssetsSpec: QuickSpec {
override func spec() {
... | 35.649485 | 179 | 0.516194 |
a474df9351fb5041f57d5a5d1dcdc499f421579e | 2,662 | php | PHP | application/views/user/vote-bem.php | amien020596/evot | e80af25447d59e800b0d8ceff8d19a07419cf328 | [
"MIT"
] | null | null | null | application/views/user/vote-bem.php | amien020596/evot | e80af25447d59e800b0d8ceff8d19a07419cf328 | [
"MIT"
] | null | null | null | application/views/user/vote-bem.php | amien020596/evot | e80af25447d59e800b0d8ceff8d19a07419cf328 | [
"MIT"
] | null | null | null | <div class="container-fluid">
<div class="vote-title text-center">
<h2>Pasangan Calon Ketua dan Wakil Ketua <br>BEM FKM Undip 2018</h2>
<!-- <hr> -->
<p><?php echo "$waktu, $nama ($nim)"; ?> |<a href="" class="btn btn-link" data-toggle="modal" data-target="#myModal">Petunjuk</a> <!-- |<a href="" class="btn btn-l... | 39.147059 | 233 | 0.603306 |
65a3e5ef786bff02bcc771e0bae40fada80ebc31 | 14,973 | lua | Lua | www/.lua/ZoneDB.lua | RealTimeLogic/SharkTrustEx | e68e228fd3d29b146498e141a0fdda0060277cbb | [
"MIT"
] | 2 | 2021-03-25T07:15:29.000Z | 2021-03-26T18:29:30.000Z | www/.lua/ZoneDB.lua | RealTimeLogic/SharkTrustX | e68e228fd3d29b146498e141a0fdda0060277cbb | [
"MIT"
] | null | null | null | www/.lua/ZoneDB.lua | RealTimeLogic/SharkTrustX | e68e228fd3d29b146498e141a0fdda0060277cbb | [
"MIT"
] | 1 | 2020-11-25T05:01:39.000Z | 2020-11-25T05:01:39.000Z | local fmt, sbyte, tinsert, tunpack = string.format, string.byte, table.insert, table.unpack
local su = require "sqlutil"
local rcBridge = require "RevConnBridge"
-- 64 byte hex key
local function createHexKey(bytes)
return ba.rndbs(bytes):gsub(".", function(x) return fmt("%02x", sbyte(x)) end)
end
-- Encapsulation... | 30.494908 | 121 | 0.641288 |
cbd6b6233ffa36e9a0d47aff1eef0a375c872114 | 266 | c | C | 2nd/core/windows/write0.c | keitaroskmt/cpuex2020_1 | 33cdc033a6184286232f4ce7729030708213b6f8 | [
"BSD-3-Clause-Attribution",
"FSFAP"
] | null | null | null | 2nd/core/windows/write0.c | keitaroskmt/cpuex2020_1 | 33cdc033a6184286232f4ce7729030708213b6f8 | [
"BSD-3-Clause-Attribution",
"FSFAP"
] | null | null | null | 2nd/core/windows/write0.c | keitaroskmt/cpuex2020_1 | 33cdc033a6184286232f4ce7729030708213b6f8 | [
"BSD-3-Clause-Attribution",
"FSFAP"
] | 3 | 2020-10-08T04:16:58.000Z | 2021-10-11T13:19:30.000Z | #include <stdio.h>
int main(){
FILE *fp;
fp = fopen("main_with0.mem","w");
int n = 624288;
char buf[33] = "00000000000000000000000000000000\n";
for(int i=0;i<n;i++){
fwrite(&buf,sizeof(buf),1,fp);
}
fclose(fp);
return 0;
} | 16.625 | 56 | 0.548872 |
3b3674ed2c84600d3db700ccbf42bbd4e0e3e772 | 817 | rs | Rust | kernel/src/gdt.rs | itto-ki/SawayakanaOS | 1057427c51c0dea6c8ccfba30d307dbb84e6bd13 | [
"MIT"
] | 4 | 2018-08-06T14:07:13.000Z | 2021-03-19T12:46:49.000Z | kernel/src/gdt.rs | itto-ki/SawayakanaOS | 1057427c51c0dea6c8ccfba30d307dbb84e6bd13 | [
"MIT"
] | 1 | 2018-08-09T06:24:49.000Z | 2018-08-09T06:24:49.000Z | kernel/src/gdt.rs | itto-ki/SawayakanaOS | 1057427c51c0dea6c8ccfba30d307dbb84e6bd13 | [
"MIT"
] | 1 | 2020-03-04T09:39:47.000Z | 2020-03-04T09:39:47.000Z | // Reference: https://wiki.osdev.org/Global_Descriptor_Table
// http://softwaretechnique.jp/OS_Development/kernel_development02.html
#[repr(packed)]
pub struct GdtEntry {
pub segment_limit_low: u16,
pub base_address_low: u16,
pub base_address_mid: u8,
pub access: u8,
pub flag... | 32.68 | 82 | 0.586291 |
40e930dbe06c60ea2fd77af71a229154096699d1 | 310 | sql | SQL | cube/setup/db/upgrade/5.2.13.sql | aoxiaoqiang/tempUpload | 89d01c21b712386f6e2300c4abbd217158a58349 | [
"MIT"
] | null | null | null | cube/setup/db/upgrade/5.2.13.sql | aoxiaoqiang/tempUpload | 89d01c21b712386f6e2300c4abbd217158a58349 | [
"MIT"
] | null | null | null | cube/setup/db/upgrade/5.2.13.sql | aoxiaoqiang/tempUpload | 89d01c21b712386f6e2300c4abbd217158a58349 | [
"MIT"
] | null | null | null | ALTER TABLE `CubeCart_geo_country` ADD `eu` TINYINT UNSIGNED NOT NULL DEFAULT '0', ADD INDEX ( `eu` ); #EOQ
UPDATE `CubeCart_geo_country` SET `eu` = 1 WHERE `iso` IN('BG','CZ','DK','DE','EE','IE','EL','ES','FR','HR','IT','CY','LV','LT','LU','HU','MT','NL','AT','PL','PT','RO','SI','SK','FI','SE','UK'); #EOQ | 155 | 199 | 0.570968 |
12e9c09c85c83b9cfd52e1a2bbdf1bd24c771293 | 1,641 | cs | C# | Reaqtive/Core/Reaqtive.Linq/Reaqtive/Operators/Throw.cs | ScriptBox99/reaqtor | 0680ffc1557912db349877fc422481479b4acf76 | [
"MIT"
] | 485 | 2021-05-18T14:32:32.000Z | 2022-03-29T21:23:46.000Z | Reaqtive/Core/Reaqtive.Linq/Reaqtive/Operators/Throw.cs | ScriptBox99/reaqtor | 0680ffc1557912db349877fc422481479b4acf76 | [
"MIT"
] | 54 | 2021-05-18T19:08:03.000Z | 2022-03-21T20:21:26.000Z | Reaqtive/Core/Reaqtive.Linq/Reaqtive/Operators/Throw.cs | ScriptBox99/reaqtor | 0680ffc1557912db349877fc422481479b4acf76 | [
"MIT"
] | 35 | 2021-05-18T14:35:48.000Z | 2022-01-21T23:35:35.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT License.
// See the LICENSE file in the project root for more information.
using System;
using Reaqtive.Tasks;
namespace Reaqtive.Operators
{
internal sealed class Throw<TResult> : Sub... | 27.35 | 83 | 0.572212 |
549a5c3bb029b00789d026e4c9514fe942fd1cfa | 1,583 | h | C | PrivateFrameworks/MediaMiningKit/CLSContactHistoryCollector.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/MediaMiningKit/CLSContactHistoryCollector.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/MediaMiningKit/CLSContactHistoryCollector.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "CNChangeHistoryEventVisitor.h"
@class NSData, NSMutableArray, NSString;
@interface CLSContactHistoryCollector : NSObject <CNChangeHistoryEventVisito... | 37.690476 | 143 | 0.804169 |
a1305f0a92337107c191f04401c4915c639f9e55 | 804 | ts | TypeScript | node_modules/@metaplex-foundation/mpl-token-vault/dist/src/transactions/InitVault.d.ts | vamise/fyfy-candy-machine | 5f41f42b9609d29c42419984265b48e90b0a5f85 | [
"MIT"
] | null | null | null | node_modules/@metaplex-foundation/mpl-token-vault/dist/src/transactions/InitVault.d.ts | vamise/fyfy-candy-machine | 5f41f42b9609d29c42419984265b48e90b0a5f85 | [
"MIT"
] | null | null | null | node_modules/@metaplex-foundation/mpl-token-vault/dist/src/transactions/InitVault.d.ts | vamise/fyfy-candy-machine | 5f41f42b9609d29c42419984265b48e90b0a5f85 | [
"MIT"
] | null | null | null | import { Borsh, Transaction } from '@metaplex-foundation/mpl-core';
import { PublicKey, TransactionCtorFields } from '@solana/web3.js';
import { VaultInstructions } from '../VaultProgram';
export declare class InitVaultArgs extends Borsh.Data<{
allowFurtherShareCreation: boolean;
}> {
static readonly SCHEMA: an... | 33.5 | 73 | 0.761194 |
f42322980e0f887b845cd6d67532e2b8bb2bc297 | 497 | cs | C# | TheLogRun.UnitTestProject/Projection/SnapshotTaken_UnitTest.cs | MerrionComputing/AzureFunctions-TheLongRun-Leagues | df163024710001cf0a7f01f9e3193162d519c935 | [
"Unlicense"
] | 13 | 2018-04-20T15:04:27.000Z | 2020-05-30T07:17:38.000Z | TheLogRun.UnitTestProject/Projection/SnapshotTaken_UnitTest.cs | MerrionComputing/AzureFunctions-TheLongRun-Leagues | df163024710001cf0a7f01f9e3193162d519c935 | [
"Unlicense"
] | 9 | 2018-12-31T14:55:29.000Z | 2019-03-16T09:23:18.000Z | TheLogRun.UnitTestProject/Projection/SnapshotTaken_UnitTest.cs | MerrionComputing/AzureFunctions-TheLongRun-Leagues | df163024710001cf0a7f01f9e3193162d519c935 | [
"Unlicense"
] | 3 | 2019-02-17T08:07:04.000Z | 2020-08-28T14:22:05.000Z | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TheLongRun.Common.Events.Projection;
namespace TheLogRun.UnitTestProject.Projection
{
[TestClass]
public class SnapshotTaken_UnitTest
{
[TestMethod]
public void Constructor_TestMethod()
{
SnapshotT... | 22.590909 | 92 | 0.641851 |
25d8a2b4a45face67bab7864768d2de8868ca324 | 563 | cs | C# | src/Assimp/Silk.NET.Assimp/Enums/BlendMode.gen.cs | Libertus-Lab/Silk.NET | 20598c5db4f6faea1e3b51d2bf6a6e99639cbef4 | [
"MIT"
] | null | null | null | src/Assimp/Silk.NET.Assimp/Enums/BlendMode.gen.cs | Libertus-Lab/Silk.NET | 20598c5db4f6faea1e3b51d2bf6a6e99639cbef4 | [
"MIT"
] | null | null | null | src/Assimp/Silk.NET.Assimp/Enums/BlendMode.gen.cs | Libertus-Lab/Silk.NET | 20598c5db4f6faea1e3b51d2bf6a6e99639cbef4 | [
"MIT"
] | null | null | null | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Silk.NET.Core.Attributes;
#pragma warning disable 1591
namespace Silk.NET.Assimp
{
[Flags]
[NativeName("Name", "aiBlendMode")]
public enum BlendMod... | 23.458333 | 71 | 0.648313 |
e2c25f2c379ec1138a07d3b91ae609f9c753e97f | 411 | py | Python | scripts/wallpaper.py | thirteen-incense/dwm | 9aa7c00d0f93a86433428d1448f1676545d615db | [
"MIT"
] | null | null | null | scripts/wallpaper.py | thirteen-incense/dwm | 9aa7c00d0f93a86433428d1448f1676545d615db | [
"MIT"
] | null | null | null | scripts/wallpaper.py | thirteen-incense/dwm | 9aa7c00d0f93a86433428d1448f1676545d615db | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import os
import time
import random
path = "/home/Octo/.wallpapers/"
files = os.listdir(path)
while 1 == 1 :
paper_list = list(map(lambda x: (random.random(), x), files))
paper_list.sort()
for i in range(len(paper_list)):
(x,y) = paper_list[i]
z = path + y
os... | 21.631579 | 65 | 0.559611 |
393785a56f8b29ca25b2fd89e8a4cc863b01fd22 | 392 | py | Python | 0238 Product of Array Except Self.py | MdAbedin/leetcode | e835f2e716ea5fe87f30b84801ede9bc023749e7 | [
"MIT"
] | 4 | 2020-09-11T02:36:11.000Z | 2021-09-29T20:47:11.000Z | 0238 Product of Array Except Self.py | MdAbedin/leetcode | e835f2e716ea5fe87f30b84801ede9bc023749e7 | [
"MIT"
] | 3 | 2020-09-10T03:51:42.000Z | 2021-09-25T01:41:57.000Z | 0238 Product of Array Except Self.py | MdAbedin/leetcode | e835f2e716ea5fe87f30b84801ede9bc023749e7 | [
"MIT"
] | 6 | 2020-09-10T03:46:15.000Z | 2021-09-25T01:24:48.000Z | class Solution:
def productExceptSelf(self, nums: List[int]) -> List[int]:
prod = 1
prods = [1]*len(nums)
for i in range(len(nums)):
prods[i] = prod
prod *= nums[i]
prod = 1
for i in range(len(nums)-1, -1, -1):
prods[i... | 24.5 | 62 | 0.423469 |
ce485d3945ec01938ce1cc2b0d888ebd8daff438 | 958 | lua | Lua | config/neovim/lua/config/api/vimacs.lua | sei40kr/npm-aliases | c1dd180a277b6ddc27f751e60b5dbbacc697847a | [
"MIT"
] | null | null | null | config/neovim/lua/config/api/vimacs.lua | sei40kr/npm-aliases | c1dd180a277b6ddc27f751e60b5dbbacc697847a | [
"MIT"
] | null | null | null | config/neovim/lua/config/api/vimacs.lua | sei40kr/npm-aliases | c1dd180a277b6ddc27f751e60b5dbbacc697847a | [
"MIT"
] | null | null | null | local M = {}
function M.kill_word()
local col = vim.api.nvim_win_get_cursor(0)[2]
local line = vim.api.nvim_get_current_line()
if #line <= col then
vim.api.nvim_feedkeys(
vim.api.nvim_replace_termcodes("<Del><C-o>dw", true, true, true),
"i",
true
)
e... | 22.809524 | 77 | 0.532359 |
a38be9776a8b1b1e9d8a6dac26756922eb66902d | 387 | ts | TypeScript | api-schemas/src/routes/user-info.ts | szczurzy-torpedowiec/greatest | 015aa685004baa13f8a1bad47aa6b5c221cb5c70 | [
"MIT"
] | 2 | 2021-09-18T21:30:56.000Z | 2021-10-09T14:52:03.000Z | api-schemas/src/routes/user-info.ts | dominik-korsa/board-camera | 6b2182f145551f20194e98b4a0675e31e46c10ca | [
"MIT"
] | null | null | null | api-schemas/src/routes/user-info.ts | dominik-korsa/board-camera | 6b2182f145551f20194e98b4a0675e31e46c10ca | [
"MIT"
] | 1 | 2021-10-16T20:42:50.000Z | 2021-10-16T20:42:50.000Z | import { Static, Type } from '@sinclair/typebox';
import { nullable } from '../utility';
export const viewerSchema = Type.Object({
name: Type.String(),
email: Type.String(),
avatarUrl: Type.String(),
});
export type Viewer = Static<typeof viewerSchema>;
export const getViewerReplySchema = nullable(viewerSchema);... | 32.25 | 65 | 0.744186 |
af544261ca4ea8f6fc4e6be9524df1d9def19bc6 | 3,998 | py | Python | ENIAC/api/mongo_operate.py | Ahrli/fast_tools | 144d764e4f169d3ab3753dcc6a79db9f9449de59 | [
"Apache-2.0"
] | 1 | 2021-12-11T16:33:47.000Z | 2021-12-11T16:33:47.000Z | ENIAC/api/mongo_operate.py | webclinic017/fast_tools | 144d764e4f169d3ab3753dcc6a79db9f9449de59 | [
"Apache-2.0"
] | null | null | null | ENIAC/api/mongo_operate.py | webclinic017/fast_tools | 144d764e4f169d3ab3753dcc6a79db9f9449de59 | [
"Apache-2.0"
] | 3 | 2021-11-22T09:46:43.000Z | 2022-01-28T22:33:07.000Z | import pandas as pd
from pymongo import MongoClient
from pymongo.errors import BulkWriteError, DuplicateKeyError
from pymongo import InsertOne
import arrow
import pendulum
import numpy as np
# mongo 2 df
def read_mongo( # ='BTC_statistics_v3',
db='kline_factors',
collection='bt_day_GEMINI',
q... | 35.696429 | 183 | 0.492246 |
7dacb03c66819dd90c40556cb3deb1ecbca46a57 | 365 | rs | Rust | rust/build.rs | jayzz55/grpc-errors | 3494f846416668dd5b813bbae1ff73fbaa2b08e7 | [
"MIT"
] | 479 | 2017-03-30T10:33:04.000Z | 2022-03-30T17:01:48.000Z | rust/build.rs | jayzz55/grpc-errors | 3494f846416668dd5b813bbae1ff73fbaa2b08e7 | [
"MIT"
] | 17 | 2017-10-19T08:46:52.000Z | 2022-02-18T07:35:13.000Z | rust/build.rs | jayzz55/grpc-errors | 3494f846416668dd5b813bbae1ff73fbaa2b08e7 | [
"MIT"
] | 76 | 2017-09-28T18:04:22.000Z | 2022-03-23T13:13:37.000Z | use std::path::Path;
fn main() {
let proto_out = "src/proto";
let proto_root = Path::new("../").canonicalize().unwrap();
let proto_file = Path::new("../hello.proto").canonicalize().unwrap();
protoc_grpcio::compile_grpc_protos(
&[proto_file],
&[proto_root],
&proto_out
).expe... | 26.071429 | 73 | 0.610959 |
749fc2cc1300a57cf51318da97b126499d8a70c3 | 640 | css | CSS | demo/styles/app.css | scatcher/angular-point-offline-generator | a08c556387a5716680be5d3f7c17ce4bf8af07ae | [
"MIT"
] | null | null | null | demo/styles/app.css | scatcher/angular-point-offline-generator | a08c556387a5716680be5d3f7c17ce4bf8af07ae | [
"MIT"
] | null | null | null | demo/styles/app.css | scatcher/angular-point-offline-generator | a08c556387a5716680be5d3f7c17ce4bf8af07ae | [
"MIT"
] | null | null | null | .application-content {
margin-top: 60px;
}
.splash {
text-align: center;
margin: 10% 0 0 0;
}
.splash .message {
font-size: 5em;
line-height: 1.5em;
-webkit-text-shadow: rgba(0, 0, 0, 0.5) 0px 0px 15px;
text-shadow: rgba(0, 0, 0, 0.5) 0px 0px 15px;
text-transform: uppercase;
}
.splash .i... | 17.777778 | 57 | 0.604688 |