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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ddd4bf679e1605b13b5f42799af6446722472659 | 470 | php | PHP | resources/views/layouts/auth/partials/footer.blade.php | mishajib/FYP | 21e86d30b2dddada85e29e2a1a34bda1ad5311d0 | [
"MIT"
] | null | null | null | resources/views/layouts/auth/partials/footer.blade.php | mishajib/FYP | 21e86d30b2dddada85e29e2a1a34bda1ad5311d0 | [
"MIT"
] | 6 | 2021-02-03T02:15:57.000Z | 2022-02-27T09:58:12.000Z | resources/views/layouts/auth/partials/footer.blade.php | mishajib/FYP | 21e86d30b2dddada85e29e2a1a34bda1ad5311d0 | [
"MIT"
] | null | null | null | <!-- jQuery -->
<script src="{{ asset('assets/backend/js/jquery.min.js') }}"></script>
<!-- Bootstrap 4 -->
<script src="{{ asset('assets/backend/js/bootstrap.bundle.min.js') }}"></script>
<!-- AdminLTE App -->
<script src="{{ asset('assets/backend/js/adminlte.min.js') }}"></script>
<script src="{{ asset('assets/backen... | 33.571429 | 80 | 0.646809 |
84b61eb65f0cb2a0e222ec01551b9669f331651d | 1,782 | h | C | YmsCoreBluetooth/YMSCBDescriptor.h | TileCorporation/YmsCoreBluetooth | 0017f25fe6f107ceccb4affb1e545c49768ba59f | [
"Apache-2.0"
] | 1 | 2019-12-13T06:04:32.000Z | 2019-12-13T06:04:32.000Z | YmsCoreBluetooth/YMSCBDescriptor.h | TileCorporation/YmsCoreBluetooth | 0017f25fe6f107ceccb4affb1e545c49768ba59f | [
"Apache-2.0"
] | null | null | null | YmsCoreBluetooth/YMSCBDescriptor.h | TileCorporation/YmsCoreBluetooth | 0017f25fe6f107ceccb4affb1e545c49768ba59f | [
"Apache-2.0"
] | 1 | 2019-12-13T06:04:56.000Z | 2019-12-13T06:04:56.000Z | //
// Copyright 2013-2015 Yummy Melon Software LLC
//
// 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... | 27 | 126 | 0.769921 |
183c443c7190ec12e6b17253918cc62d2b225471 | 593 | asm | Assembly | programs/oeis/173/A173740.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/173/A173740.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/173/A173740.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A173740: Triangle T(n,k) = binomial(n,k) + 2 for 1 <= k <= n - 1, n >= 2, and T(n,0) = T(n,n) = 1 for n >= 0, read by rows.
; 1,1,1,1,4,1,1,5,5,1,1,6,8,6,1,1,7,12,12,7,1,1,8,17,22,17,8,1,1,9,23,37,37,23,9,1,1,10,30,58,72,58,30,10,1,1,11,38,86,128,128,86,38,11,1,1,12,47,122,212,254,212,122,47,12,1,1,13,57,167,332,464,... | 53.909091 | 213 | 0.561551 |
020b62915b325b568edd76dcbc8c2284a7c0d65b | 3,533 | swift | Swift | ChessEngine/Source/Checkboard/CheckboardViewModel.swift | DarthRumata/ChessEngine | 381677b6094829b9ff6f4387da4bb0a8a62d0d39 | [
"MIT"
] | 1 | 2021-02-09T06:19:42.000Z | 2021-02-09T06:19:42.000Z | ChessEngine/Source/Checkboard/CheckboardViewModel.swift | DarthRumata/ChessEngine | 381677b6094829b9ff6f4387da4bb0a8a62d0d39 | [
"MIT"
] | null | null | null | ChessEngine/Source/Checkboard/CheckboardViewModel.swift | DarthRumata/ChessEngine | 381677b6094829b9ff6f4387da4bb0a8a62d0d39 | [
"MIT"
] | null | null | null | //
// CheckboardViewModel.swift
// ChessEngine
//
// Created by Stas Kirichok on 27.01.2021.
//
import Combine
class CheckboardViewModel {
private let checkboard: Checkboard
private var moveInProgress: AvailableMove?
var checkboardInfoPublisher: AnyPublisher<CheckboardValue, Never> {
retur... | 33.971154 | 119 | 0.64591 |
a1b44643da2f927985d016d7ee97ebea51ca88a3 | 1,437 | h | C | ash/display/root_window_transformers.h | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | ash/display/root_window_transformers.h | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | ash/display/root_window_transformers.h | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright (c) 2013 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 ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_
#define ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_
#include "ash/ash_export.h"
namespace aura {
class W... | 29.9375 | 80 | 0.802366 |
fb03299e51093fc213cd2ac7b630a9c658f1501c | 3,306 | php | PHP | views/cadastro/_form.php | raulmss/yiiCRUD | 01c1d8326d5fc9a1f6ac4fb68c4fc64e28516103 | [
"BSD-3-Clause"
] | null | null | null | views/cadastro/_form.php | raulmss/yiiCRUD | 01c1d8326d5fc9a1f6ac4fb68c4fc64e28516103 | [
"BSD-3-Clause"
] | null | null | null | views/cadastro/_form.php | raulmss/yiiCRUD | 01c1d8326d5fc9a1f6ac4fb68c4fc64e28516103 | [
"BSD-3-Clause"
] | null | null | null | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use kartik\datecontrol\DateControl;
/* @var $this yii\web\View */
/* @var $model app\models\CadastroModel */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="cadastro-model-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'n... | 38.894118 | 131 | 0.565941 |
83e83c05d217113795fb5089a34aa4bebb5fb233 | 625 | asm | Assembly | oeis/104/A104721.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/104/A104721.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/104/A104721.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A104721: Expansion of (1+x)^2/(1-4*x^2).
; 1,2,5,8,20,32,80,128,320,512,1280,2048,5120,8192,20480,32768,81920,131072,327680,524288,1310720,2097152,5242880,8388608,20971520,33554432,83886080,134217728,335544320,536870912,1342177280,2147483648,5368709120,8589934592,21474836480,34359738368,85899345920,137438953472,34359... | 48.076923 | 497 | 0.8208 |
34b44fe02f6363f60374110b75b1d97386a15472 | 2,161 | sql | SQL | reservecar.sql | PhuwanartAnugool/aof-file | 3f45bf8069d88daa28ca5709552c3e74c68da949 | [
"BSD-3-Clause"
] | null | null | null | reservecar.sql | PhuwanartAnugool/aof-file | 3f45bf8069d88daa28ca5709552c3e74c68da949 | [
"BSD-3-Clause"
] | null | null | null | reservecar.sql | PhuwanartAnugool/aof-file | 3f45bf8069d88daa28ca5709552c3e74c68da949 | [
"BSD-3-Clause"
] | null | null | null | /*
Navicat MySQL Data Transfer
Source Server : xampp
Source Server Version : 50505
Source Host : localhost:3306
Source Database : reservecar
Target Server Type : MYSQL
Target Server Version : 50505
File Encoding : 65001
Date: 2019-08-08 12:20:46
*/
SET FOREIGN_KEY_CHECKS=0;
-- --... | 36.627119 | 124 | 0.605275 |
ddfbe78d1f4240dcf742925e5e604aabff850162 | 5,526 | go | Go | restapi/embedded_spec.go | freesky-edward/directory | 70117f04c69aaba3bf73db1c337bffb9a141977c | [
"Apache-2.0"
] | null | null | null | restapi/embedded_spec.go | freesky-edward/directory | 70117f04c69aaba3bf73db1c337bffb9a141977c | [
"Apache-2.0"
] | null | null | null | restapi/embedded_spec.go | freesky-edward/directory | 70117f04c69aaba3bf73db1c337bffb9a141977c | [
"Apache-2.0"
] | null | null | null | // Code generated by go-swagger; DO NOT EDIT.
package restapi
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"encoding/json"
)
var (
// SwaggerJSON embedded version of the swagger document used at generation time
Swagg... | 22.740741 | 151 | 0.435939 |
16af4628219100a1a9442fe663ae8bc821b184e6 | 6,738 | ts | TypeScript | examples/bri-1/base-example/src/mods/avail/avail.ts | Meuko/baseline-commit-mgr | 158713d7e57a88ba40c7d8621b47e04951d3172f | [
"CC0-1.0"
] | null | null | null | examples/bri-1/base-example/src/mods/avail/avail.ts | Meuko/baseline-commit-mgr | 158713d7e57a88ba40c7d8621b47e04951d3172f | [
"CC0-1.0"
] | 4 | 2021-03-26T10:03:58.000Z | 2021-09-02T20:23:57.000Z | examples/bri-1/base-example/src/mods/avail/avail.ts | Meuko/baseline-ganache | 158713d7e57a88ba40c7d8621b47e04951d3172f | [
"CC0-1.0"
] | 1 | 2021-03-08T14:47:52.000Z | 2021-03-08T14:47:52.000Z | import { fileReader } from "../../utils/utils";
import {
FileStructure,
FileContentStructure,
SupplierType,
Contents,
} from "../types";
// Current test values, these are supposed to be sourced from
// a single source of truth.
const fileImporter = async (folders: string[]) => {
const fs = require("fs");
... | 32.085714 | 97 | 0.540813 |
38dbc0f54b2a803b2d4ee7fb7d191dd378519736 | 1,893 | h | C | Source/Foundation/bsfUtility/Math/BsConvexVolume.h | myrgy/bsf | 2c31da99f5763a47c0dee7e2cdb3d4ac3b3c37a6 | [
"MIT"
] | 1 | 2018-04-16T12:14:52.000Z | 2018-04-16T12:14:52.000Z | Source/Foundation/bsfUtility/Math/BsConvexVolume.h | myrgy/bsf | 2c31da99f5763a47c0dee7e2cdb3d4ac3b3c37a6 | [
"MIT"
] | null | null | null | Source/Foundation/bsfUtility/Math/BsConvexVolume.h | myrgy/bsf | 2c31da99f5763a47c0dee7e2cdb3d4ac3b3c37a6 | [
"MIT"
] | null | null | null | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
#pragma once
#include "Prerequisites/BsPrerequisitesUtil.h"
#include ... | 29.123077 | 124 | 0.667195 |
d2b420035aacfe17f5a3b38e180969d37cea7177 | 978 | php | PHP | app/Models/Account.php | takf-jp/laravel-graphql | 7790ff2dbb5cf383b32d3acac24284eeef54a72d | [
"MIT"
] | null | null | null | app/Models/Account.php | takf-jp/laravel-graphql | 7790ff2dbb5cf383b32d3acac24284eeef54a72d | [
"MIT"
] | null | null | null | app/Models/Account.php | takf-jp/laravel-graphql | 7790ff2dbb5cf383b32d3acac24284eeef54a72d | [
"MIT"
] | 1 | 2021-03-19T01:14:25.000Z | 2021-03-19T01:14:25.000Z | <?php
namespace App\Models;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Tymon\JWTAuth\Contracts\JWTSubject;
class Account extends Authenticatable implements JWTSubject
{
use Notifiable;
protected $fillable = [
'name',
'twitter_id',
... | 18.807692 | 71 | 0.584867 |
202001f3abd766d2dcb198ba868395effc951f2e | 61,027 | css | CSS | public/old/css/styles.css | DkpProject/we-project | 112c0a7d91161f9f06b464302f7a7919d0494942 | [
"BSD-2-Clause"
] | null | null | null | public/old/css/styles.css | DkpProject/we-project | 112c0a7d91161f9f06b464302f7a7919d0494942 | [
"BSD-2-Clause"
] | null | null | null | public/old/css/styles.css | DkpProject/we-project | 112c0a7d91161f9f06b464302f7a7919d0494942 | [
"BSD-2-Clause"
] | null | null | null |
.a-profile {
color: inherit;
}
.a-profile:hover, .a-profile:focus, .a-profile:active, .a-profile:visited {
text-decoration: none;
}
.action {
height: 150px;
overflow-y: scroll;
padding: 0px;
}
.action .message {
background: #fafafa;
padding: 10px 15px;
}
.action .message:nth-child(2n) {... | 46.907763 | 2,462 | 0.847199 |
2a04b5e61133f1109d87cb57307dd2d7839de70c | 1,844 | sql | SQL | tool-box/audit-log-detection-samples/queries/modify_policy.sql | pradeepsavadi/treasure-boxes | d169605492b68a96ca1bac7d162ed6907a946fb5 | [
"MIT"
] | 52 | 2019-07-27T07:59:29.000Z | 2022-02-20T16:32:35.000Z | tool-box/audit-log-detection-samples/queries/modify_policy.sql | pradeepsavadi/treasure-boxes | d169605492b68a96ca1bac7d162ed6907a946fb5 | [
"MIT"
] | 62 | 2019-07-23T08:18:32.000Z | 2022-02-10T01:48:24.000Z | tool-box/audit-log-detection-samples/queries/modify_policy.sql | isabella232/treasure-boxes | a7eb9a6416a71d4e0af8e6a9a2f5ed2a49d7961f | [
"MIT"
] | 54 | 2019-07-23T14:22:09.000Z | 2022-01-19T21:28:21.000Z | with source as (
select
td_time_format(time, 'yyyy-MM-dd HH:mm:ss', 'JST') as time
,id
,resource_id as policy_id
,resource_name as policy_name
,new_value
,old_value
from
access
where
td_interval(time, '-1d', 'JST')
and
event_name = 'permission_policy_modify'
and
res... | 18.626263 | 81 | 0.610629 |
fe1c51a8687fe3ad107744d9d516ae90c071eafe | 8,747 | c | C | indigo_drivers/ccd_iidc/externals/libdc1394/dc1394/vendor/basler_sff_registry.c | RusDavies/indigo | f46003ffd0d9f5fd5d3cf1daf8292ca216ad982f | [
"RSA-MD"
] | 83 | 2016-11-02T19:37:05.000Z | 2022-03-25T00:46:48.000Z | indigo_drivers/ccd_iidc/externals/libdc1394/dc1394/vendor/basler_sff_registry.c | RusDavies/indigo | f46003ffd0d9f5fd5d3cf1daf8292ca216ad982f | [
"RSA-MD"
] | 202 | 2016-11-05T10:58:09.000Z | 2022-03-30T23:51:45.000Z | indigo_drivers/ccd_iidc/externals/libdc1394/dc1394/vendor/basler_sff_registry.c | RusDavies/indigo | f46003ffd0d9f5fd5d3cf1daf8292ca216ad982f | [
"RSA-MD"
] | 57 | 2016-12-15T06:43:29.000Z | 2022-03-10T17:53:16.000Z | /*
* 1394-Based Digital Camera Control Library
*
* Basler Smart Feature Framework specific extensions
*
* Written by Mikael Olenfalk <mikael _DOT_ olenfalk _AT_ tobii _DOT_ com>
*
* Copyright (C) 2006 Tobii Technology AB, Stockholm Sweden
*
* This library is free software; you can redistribute it and/or
* mo... | 39.759091 | 105 | 0.601921 |
a7b7d844a1ca8ba287a4d74bd1b17c583082a633 | 360 | kt | Kotlin | app/src/main/java/com/avito/composetestingkit/common/C.kt | RuslanMingaliev/compose-testing-kit | 3cbdcc2cbb236012ca3343e2ba5272039858f099 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/avito/composetestingkit/common/C.kt | RuslanMingaliev/compose-testing-kit | 3cbdcc2cbb236012ca3343e2ba5272039858f099 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/avito/composetestingkit/common/C.kt | RuslanMingaliev/compose-testing-kit | 3cbdcc2cbb236012ca3343e2ba5272039858f099 | [
"Apache-2.0"
] | null | null | null | @file:Suppress("ClassName")
package com.avito.composetestingkit.common
// Like R, but C
object C {
object tag {
const val root = "root"
const val display = "display"
const val control_panel = "control_panel"
const val increase = "increase"
const val decrease = "decrease"
... | 22.5 | 49 | 0.616667 |
64a14d0794f3d794e537cc02a1721c71f1e5117f | 194 | asm | Assembly | sw/552tests/inst_tests/jalr_18.asm | JPShen-UWM/ThreadKraken | 849c510531f28e36d3469535737b2120bd774935 | [
"MIT"
] | 1 | 2022-02-15T16:03:25.000Z | 2022-02-15T16:03:25.000Z | sw/552tests/inst_tests/jalr_18.asm | JPShen-UWM/ThreadKraken | 849c510531f28e36d3469535737b2120bd774935 | [
"MIT"
] | null | null | null | sw/552tests/inst_tests/jalr_18.asm | JPShen-UWM/ThreadKraken | 849c510531f28e36d3469535737b2120bd774935 | [
"MIT"
] | null | null | null | // Original test: ./neel/hw4/problem6/jalr_0.asm
// Author: neel
// Test source code follows
//Tests jalr
//branches to inst lbi r3,30
lbi r1,255
lbi r2,6
jalr r2,2
lbi r3,20
lbi r3,30
halt
| 12.933333 | 48 | 0.701031 |
3b5509ab9bc44379de347b303260e36f24fb16eb | 854 | h | C | src/Pods/SPLCore/SPLCore/Additions/UIView+SPLAdditions.h | splinesoft/MUDRammer | 944666d46ae4f3a90165953608706286c9f32df5 | [
"MIT"
] | 76 | 2015-06-28T17:10:09.000Z | 2022-02-26T16:05:00.000Z | SPLCore/Additions/UIView+SPLAdditions.h | splinesoft/SPLCore | cf636a6f8947b9665e77d98f71c1b4a867912da0 | [
"MIT"
] | 465 | 2015-01-02T16:31:21.000Z | 2020-01-21T21:49:26.000Z | SPLCore/Additions/UIView+SPLAdditions.h | splinesoft/SPLCore | cf636a6f8947b9665e77d98f71c1b4a867912da0 | [
"MIT"
] | 34 | 2015-06-28T18:56:01.000Z | 2022-02-09T18:37:57.000Z | //
// UIView+SPLAdditions.h
// SPLCore
//
// Created by Jonathan Hersh on 3/12/14.
// Copyright (c) 2014 Jonathan Hersh. All rights reserved.
//
@import UIKit;
@interface UIView (SPLAdditions)
// wrap this view in a barbuttonitem.
- (UIBarButtonItem *) wrappedBarButtonItem;
/**
* UIInterpolatingMotionEffect fo... | 25.117647 | 103 | 0.673302 |
2a10de3b98a44f94bc0febcf025d64e19c01e22e | 2,079 | java | Java | src/main/java/dsr/amm/homebudget/data/entity/tx/Transaction.java | skycat36/home-budget-amm2018 | ab9716a9c33d1d7226854ac793202634a51e84de | [
"MIT"
] | 9 | 2018-11-23T12:02:46.000Z | 2018-12-08T14:37:01.000Z | src/main/java/dsr/amm/homebudget/data/entity/tx/Transaction.java | skycat36/home-budget-amm2018 | ab9716a9c33d1d7226854ac793202634a51e84de | [
"MIT"
] | 3 | 2018-11-28T12:51:20.000Z | 2018-12-06T16:33:10.000Z | src/main/java/dsr/amm/homebudget/data/entity/tx/Transaction.java | skycat36/home-budget-amm2018 | ab9716a9c33d1d7226854ac793202634a51e84de | [
"MIT"
] | 19 | 2018-11-23T13:39:30.000Z | 2020-02-12T19:20:07.000Z | package dsr.amm.homebudget.data.entity.tx;
import dsr.amm.homebudget.data.entity.Account;
import dsr.amm.homebudget.data.entity.Category;
import dsr.amm.homebudget.data.entity.Tag;
import org.hibernate.validator.constraints.Length;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
impo... | 21 | 59 | 0.625782 |
578dd2c4805ade4815b298686f06fa6457ac9c2c | 686 | h | C | src/attributes.h | drobilla/pugl | 452ac347e549c74bf9cd41c89f5b2bf6510b50a1 | [
"ISC"
] | 29 | 2016-05-30T12:14:35.000Z | 2020-02-02T22:25:00.000Z | src/attributes.h | drobilla/pugl | 452ac347e549c74bf9cd41c89f5b2bf6510b50a1 | [
"ISC"
] | 26 | 2019-02-15T12:22:10.000Z | 2020-02-11T18:31:58.000Z | src/attributes.h | drobilla/pugl | 452ac347e549c74bf9cd41c89f5b2bf6510b50a1 | [
"ISC"
] | 15 | 2017-05-05T22:13:50.000Z | 2020-02-09T22:37:52.000Z | // Copyright 2012-2022 David Robillard <d@drobilla.net>
// SPDX-License-Identifier: ISC
#ifndef PUGL_SRC_ATTRIBUTES_H
#define PUGL_SRC_ATTRIBUTES_H
// Unused parameter macro to suppresses warnings and make it impossible to use
#if defined(__cplusplus)
# define PUGL_UNUSED(name)
#elif defined(__GNUC__) || defined(__c... | 28.583333 | 78 | 0.797376 |
75516ec711bb65be08735a936b9a89b03ab7ddd4 | 1,145 | rs | Rust | efi-dxe/src/serial.rs | reggies/efi-pcm-rs | 45a5b86cbb35ddbb4d257a393ff7dbf6c14fe5ca | [
"MIT"
] | null | null | null | efi-dxe/src/serial.rs | reggies/efi-pcm-rs | 45a5b86cbb35ddbb4d257a393ff7dbf6c14fe5ca | [
"MIT"
] | null | null | null | efi-dxe/src/serial.rs | reggies/efi-pcm-rs | 45a5b86cbb35ddbb4d257a393ff7dbf6c14fe5ca | [
"MIT"
] | null | null | null | use uefi::proto::console::serial::Serial;
use uefi::prelude::*;
use core::fmt::{self, Write};
use core::ptr::NonNull;
struct MySerial<'boot>(Serial<'boot>);
pub struct Logger {
writer: Option<NonNull<MySerial<'static>>>,
}
impl Logger {
pub unsafe fn new(proto: &mut Serial) -> Self {
Logger {
... | 23.367347 | 78 | 0.564192 |
740ea95e143113ad703bf8f482a630d0ea6dfbeb | 3,346 | lua | Lua | addons/_ws_vehicles_3/lua/autorun/tdmcars_ferrari.lua | JacubRSTNC/PoliceRP-OpenSource | adcf19f765331521b6934ecb1c180a978ba7f44d | [
"MIT"
] | 17 | 2021-08-17T16:05:20.000Z | 2022-03-17T09:55:24.000Z | addons/_ws_vehicles_3/lua/autorun/tdmcars_ferrari.lua | JacubRSTNC/PoliceRP-OpenSource | adcf19f765331521b6934ecb1c180a978ba7f44d | [
"MIT"
] | null | null | null | addons/_ws_vehicles_3/lua/autorun/tdmcars_ferrari.lua | JacubRSTNC/PoliceRP-OpenSource | adcf19f765331521b6934ecb1c180a978ba7f44d | [
"MIT"
] | 4 | 2021-08-19T11:41:36.000Z | 2022-03-20T08:56:28.000Z | local PrVeh = "prop_vehicle_jeep"
local Cat = "TDM Cars"
local V = {
Name = "Ferrari 250 GTO",
Class = PrVeh,
Category = Cat,
Author = "TheDanishMaster, Turn 10",
Information = "A drivable Ferrari 250 GTO by TheDanishMaster",
Model = "models/tdmcars/fer_250gto.mdl",
KeyValues = {
vehi... | 28.117647 | 72 | 0.642857 |
96558291963828da85f6cacb3ce5a144daef4255 | 1,242 | php | PHP | src/Traits/Arrayable.php | denpamusic/php-levin | 87a025228a4f747d1f5287cb2a1f029b8cab52b6 | [
"MIT"
] | 7 | 2019-02-12T03:34:31.000Z | 2022-01-07T16:32:08.000Z | src/Traits/Arrayable.php | denpamusic/php-levin | 87a025228a4f747d1f5287cb2a1f029b8cab52b6 | [
"MIT"
] | null | null | null | src/Traits/Arrayable.php | denpamusic/php-levin | 87a025228a4f747d1f5287cb2a1f029b8cab52b6 | [
"MIT"
] | null | null | null | <?php
declare(strict_types=1);
namespace Denpa\Levin\Traits;
use ArrayIterator;
trait Arrayable
{
/**
* @param mixed $offset
* @param mixed $value
*
* @return void
*/
public function offsetSet($offset, $value): void
{
$this->entries[$offset] = $value;
}
/**
... | 16.342105 | 52 | 0.518519 |
f01f18aee33b562489b0d767d928372db30a59d2 | 4,501 | js | JavaScript | js/jquery.engage.js | jatin-dwebguys/jquery-engage | 3258eae4ea8f61cb52424abd6fc0bcb6d65528b5 | [
"Unlicense",
"MIT"
] | 5 | 2015-05-03T13:46:11.000Z | 2019-06-13T16:02:19.000Z | js/jquery.engage.js | jatin-dwebguys/jquery-engage | 3258eae4ea8f61cb52424abd6fc0bcb6d65528b5 | [
"Unlicense",
"MIT"
] | null | null | null | js/jquery.engage.js | jatin-dwebguys/jquery-engage | 3258eae4ea8f61cb52424abd6fc0bcb6d65528b5 | [
"Unlicense",
"MIT"
] | 2 | 2015-05-17T00:57:39.000Z | 2015-08-27T09:06:32.000Z | /*
* Project: Engage - Engage you readers better with a dynamic social footer
* Author: Cedric Dugas, http://www.position-relative.net
* License: MIT
*/
;(function ( $, window, document, undefined ) {
var pluginName = "engage",
defaults = {
scrollhide : false,
offset : 0,
... | 34.623077 | 122 | 0.457232 |
a4e5f97b914a1fb4486158cfb8975f8c73d33ece | 263 | sql | SQL | 19_RestWithAspNet5_Docker/RestWithAspNet5/RestWithAspNet5/database/dataset/V2__Populate_Table_Person.sql | Laoviah/restWithAspNet5 | 0c0dd6706e67436d6bf6ed7159da0c42eb8381a3 | [
"Apache-2.0"
] | null | null | null | 19_RestWithAspNet5_Docker/RestWithAspNet5/RestWithAspNet5/database/dataset/V2__Populate_Table_Person.sql | Laoviah/restWithAspNet5 | 0c0dd6706e67436d6bf6ed7159da0c42eb8381a3 | [
"Apache-2.0"
] | null | null | null | 19_RestWithAspNet5_Docker/RestWithAspNet5/RestWithAspNet5/database/dataset/V2__Populate_Table_Person.sql | Laoviah/restWithAspNet5 | 0c0dd6706e67436d6bf6ed7159da0c42eb8381a3 | [
"Apache-2.0"
] | null | null | null | INSERT IGNORE INTO `person` (`id`, `address`, `first_name`, `last_name`, `Gender`) VALUES
(1, 'São Paulo, Brazil', 'Ayrton', 'Senna', 'Male'),
(110, 'Rua 1234 ttt', 'Vially t', 'Israel t', 'Male'),
(1111, '3 Rua 1234 ttt', '2 Vially t', '2 Israel t', 'Male'); | 65.75 | 90 | 0.60076 |
4fb681a8192a64f8b455def46ce02959cef85dc9 | 2,446 | sql | SQL | db/payment_methods.sql | JayTechX/project001 | 6da5a0b3008bd72a26f950213c49ccb91dcb597a | [
"MIT"
] | 1 | 2019-02-19T20:10:53.000Z | 2019-02-19T20:10:53.000Z | db/payment_methods.sql | JayTechX/project001 | 6da5a0b3008bd72a26f950213c49ccb91dcb597a | [
"MIT"
] | null | null | null | db/payment_methods.sql | JayTechX/project001 | 6da5a0b3008bd72a26f950213c49ccb91dcb597a | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.5.4.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jan 23, 2019 at 11:29 AM
-- Server version: 5.7.11
-- PHP Version: 7.0.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_S... | 36.507463 | 487 | 0.694603 |
f0381dfca10c4368751c2559cc6c34453070e410 | 1,548 | js | JavaScript | js/couchfriends.js | Couchfriends/soccer | 3d156b6275c8f17643211955427f77af6cfab60c | [
"MIT"
] | null | null | null | js/couchfriends.js | Couchfriends/soccer | 3d156b6275c8f17643211955427f77af6cfab60c | [
"MIT"
] | null | null | null | js/couchfriends.js | Couchfriends/soccer | 3d156b6275c8f17643211955427f77af6cfab60c | [
"MIT"
] | null | null | null | /**
* The MIT License (MIT)
*
* Copyright (c) 2015 Couchfriends
*/
COUCHFRIENDS.settings.apiKey = 'soccer-1234';
/**
* Host a new game
*/
function hostGame() {
}
function init() {
//COUCHFRIENDS.connect();
}
function identifyPlayer(playerId, color) {
if (color == null || color == '') {
return;
... | 21.802817 | 81 | 0.632429 |
16bb116354ec9ab61118dbf96ec02ede534983db | 557 | h | C | 3DPhysics/Plane3D.h | ElectroBean/IntroToPhysics | 0609174025cda25fa78d86e6eb4650ff130b59ef | [
"MIT"
] | null | null | null | 3DPhysics/Plane3D.h | ElectroBean/IntroToPhysics | 0609174025cda25fa78d86e6eb4650ff130b59ef | [
"MIT"
] | null | null | null | 3DPhysics/Plane3D.h | ElectroBean/IntroToPhysics | 0609174025cda25fa78d86e6eb4650ff130b59ef | [
"MIT"
] | null | null | null | #pragma once
#include "PhysicsObject3D.h"
#include "RigidBody3D.h"
class Plane3D :
public PhysicsObject3D
{
public:
Plane3D();
Plane3D(glm::vec3 normal, float distance);
~Plane3D();
virtual void fixedUpdate(glm::vec3 gravity, float timeStep);
virtual void debug() {}
virtual void makeGizmo();
virtual void reset... | 22.28 | 64 | 0.745063 |
161e980192d8f1d43737fbf0b416973b3c6ced67 | 1,248 | h | C | Alignment/MuonAlignmentAlgorithms/interface/MuonTrackCSCChamberResidual.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Alignment/MuonAlignmentAlgorithms/interface/MuonTrackCSCChamberResidual.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Alignment/MuonAlignmentAlgorithms/interface/MuonTrackCSCChamberResidual.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #ifndef Alignment_MuonAlignmentAlgorithms_MuonTrackCSCChamberResidual_H
#define Alignment_MuonAlignmentAlgorithms_MuonTrackCSCChamberResidual_H
/** \class MuonTrackCSCChamberResidual
*
* Implementation of tracker muon chamber residuals for CSC
*
* $Id: $
*/
#include "Alignment/MuonAlignmentAlgorithms/interface... | 37.818182 | 99 | 0.709936 |
bd6b55304dedb6d35b28cc8ea4986cdd2dab2b5e | 1,124 | rs | Rust | src/bin/dev_server.rs | fstephany/yogurt | 64f20ec1aaa403f782666576bbdc64a2a0d1685a | [
"MIT"
] | null | null | null | src/bin/dev_server.rs | fstephany/yogurt | 64f20ec1aaa403f782666576bbdc64a2a0d1685a | [
"MIT"
] | null | null | null | src/bin/dev_server.rs | fstephany/yogurt | 64f20ec1aaa403f782666576bbdc64a2a0d1685a | [
"MIT"
] | null | null | null |
//! This program starts a webserver on port 8080. It exposes a static file server
//! that can be used to develop Yogurt without hitting a real server.
extern crate iron;
extern crate staticfile;
extern crate mount;
use std::path::Path;
use std::process::exit;
use iron::Iron;
use staticfile::Static;
use mount::Mount... | 24.977778 | 81 | 0.545374 |
e4bb106d05e78f492be77d11c3defdcbca8e1a9c | 1,212 | kt | Kotlin | app/src/main/java/com/king/easychat/bean/User.kt | yetel/EasyChatAndroidClient | 00ccc9bfb23477be59c7fb9e33c1288013aeb02a | [
"Apache-2.0"
] | 121 | 2019-10-31T10:18:45.000Z | 2022-03-04T15:48:22.000Z | app/src/main/java/com/king/easychat/bean/User.kt | luoxiao123/zhlinghang | 879c38a9da8565b4d3d3949e55fef471d27d9076 | [
"Apache-2.0"
] | 3 | 2019-11-08T07:27:31.000Z | 2021-05-26T09:34:16.000Z | app/src/main/java/com/king/easychat/bean/User.kt | luoxiao123/zhlinghang | 879c38a9da8565b4d3d3949e55fef471d27d9076 | [
"Apache-2.0"
] | 37 | 2019-11-23T10:10:57.000Z | 2022-01-24T02:02:58.000Z | package com.king.easychat.bean
import android.os.Parcelable
import androidx.room.Entity
import androidx.room.Index
import kotlinx.android.parcel.Parcelize
import androidx.room.PrimaryKey
/**
* @author Zed
* date: 2019/10/09.
* description:
*/
@Entity(indices = [Index(value = ["userId"], unique = true)])
@Parce... | 21.642857 | 116 | 0.624587 |
f051c00ce2a7516b086ddc1bb3cb411c9ca575b6 | 1,019 | js | JavaScript | deps/mozjs/src/tests/js1_5/Function/regress-338121-02.js | ktrzeciaknubisa/jxcore-binary-packaging | 5759df084be10a259a4a4f1b38c214c6084a7c0f | [
"Apache-2.0"
] | 2,494 | 2015-02-11T04:34:13.000Z | 2022-03-31T14:21:47.000Z | deps/mozjs/src/tests/js1_5/Function/regress-338121-02.js | ktrzeciaknubisa/jxcore-binary-packaging | 5759df084be10a259a4a4f1b38c214c6084a7c0f | [
"Apache-2.0"
] | 685 | 2015-02-11T17:14:26.000Z | 2021-04-13T09:58:39.000Z | deps/mozjs/src/tests/js1_5/Function/regress-338121-02.js | ktrzeciaknubisa/jxcore-binary-packaging | 5759df084be10a259a4a4f1b38c214c6084a7c0f | [
"Apache-2.0"
] | 442 | 2015-02-12T13:45:46.000Z | 2022-03-21T05:28:05.000Z | // |reftest| skip-if(Android) silentfail skip -- disabled pending bug 657444
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obta... | 27.540541 | 79 | 0.585868 |
8e9fd543ce3cedee46bb52b565496c130184137b | 288 | rb | Ruby | lib/visualize_ruby/optionalable.rb | zeisler/visualize-ruby | fddbc864731f13108b54b41566190e60dc505467 | [
"MIT"
] | 237 | 2018-06-19T04:31:00.000Z | 2022-03-19T10:05:53.000Z | lib/visualize_ruby/optionalable.rb | picatz/visualize_ruby | 38c9428afd4ca7b30fdc469f97c6c7994772d9f6 | [
"MIT"
] | 10 | 2018-06-19T06:32:37.000Z | 2020-12-11T07:10:09.000Z | lib/visualize_ruby/optionalable.rb | picatz/visualize_ruby | 38c9428afd4ca7b30fdc469f97c6c7994772d9f6 | [
"MIT"
] | 9 | 2018-06-21T18:40:41.000Z | 2019-08-21T16:14:45.000Z | module VisualizeRuby
module Optionalable
def post_initialize(**opts)
@graph_viz_options = opts
super if defined? super
end
def options(args={})
@graph_viz_options.merge!(args)
@graph_viz_options
end
attr_reader :graph_viz_options
end
end
| 18 | 37 | 0.680556 |
81c9aebd7f4b45593161165a6b691372e4c5b878 | 4,699 | rs | Rust | src/commands/installer.rs | VarunPotti/joule.rs | cb8f0804b46b0b47132900027424136b67d4b493 | [
"Apache-2.0"
] | 2 | 2021-05-25T04:39:33.000Z | 2021-06-04T16:15:19.000Z | src/commands/installer.rs | VarunPotti/joule.rs | cb8f0804b46b0b47132900027424136b67d4b493 | [
"Apache-2.0"
] | null | null | null | src/commands/installer.rs | VarunPotti/joule.rs | cb8f0804b46b0b47132900027424136b67d4b493 | [
"Apache-2.0"
] | null | null | null | //? This file is responsible for the installation of a particular app
#[path = "../structs/Package.rs"]
mod package;
#[path = "../utils/requests.rs"]
mod requests;
#[path = "../utils/threadeddownloader.rs"]
mod threadeddownloader;
#[path = "../utils/ansi.rs"]
mod ansi;
use serde::{Deserialize, Serialize};
use std::e... | 38.516393 | 116 | 0.518834 |
0a3172cb81e549424954390d673e3431260bf332 | 292 | ts | TypeScript | src/app/util/max-length.pipe.ts | gajop/spring-launcher-frontend | e1baf47bd5c76cf392b529c34a5247ba86dead2b | [
"0BSD"
] | null | null | null | src/app/util/max-length.pipe.ts | gajop/spring-launcher-frontend | e1baf47bd5c76cf392b529c34a5247ba86dead2b | [
"0BSD"
] | 8 | 2020-03-15T15:05:35.000Z | 2022-03-02T07:45:45.000Z | src/app/util/max-length.pipe.ts | gajop/spring-launcher-frontend | e1baf47bd5c76cf392b529c34a5247ba86dead2b | [
"0BSD"
] | null | null | null | import { Pipe, PipeTransform } from '@angular/core';
@Pipe({ name: 'maxLength' })
export class MaxLengthPipe implements PipeTransform {
transform(str: string, maxLength: number): string {
if (str.length < maxLength) {
return str;
}
return str.substr(0, maxLength);
}
}
| 24.333333 | 53 | 0.667808 |
b507d3f62a0745b036fa2616965b379cb42c477f | 4,678 | rs | Rust | examples/app/model.rs | tramhao/tui-realm | 74d9b2214acc90d0f4c7af9a3a4582199c2aa80e | [
"MIT"
] | null | null | null | examples/app/model.rs | tramhao/tui-realm | 74d9b2214acc90d0f4c7af9a3a4582199c2aa80e | [
"MIT"
] | null | null | null | examples/app/model.rs | tramhao/tui-realm | 74d9b2214acc90d0f4c7af9a3a4582199c2aa80e | [
"MIT"
] | null | null | null | //! ## Model
//!
//! app model
/**
* MIT License
*
* tui-realm - Copyright (C) 2021 Christian Visintin
*
* 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... | 35.172932 | 98 | 0.497435 |
21cfd784d18f4b2209572abbeb2bcfd0de1a1989 | 639 | html | HTML | _posts/2006-07-31-433.html | lingwhatics/lingwhatics.github.io | 7fa3fbf42bc0d9fc9a28a8acca7c89636794874b | [
"MIT"
] | null | null | null | _posts/2006-07-31-433.html | lingwhatics/lingwhatics.github.io | 7fa3fbf42bc0d9fc9a28a8acca7c89636794874b | [
"MIT"
] | null | null | null | _posts/2006-07-31-433.html | lingwhatics/lingwhatics.github.io | 7fa3fbf42bc0d9fc9a28a8acca7c89636794874b | [
"MIT"
] | null | null | null | ---
layout: post
title: 'Twain quotation'
date: 2006-07-31 15:21:00.000000000 -04:00
type: post
published: true
status: publish
categories:
- quotation
tags: []
meta:
blogger_blog: lingwhatics.blogspot.com
blogger_author: Daley
blogger_75f3a61779c514bc6a77ba36fb86a154_permalink: '115437735608448977'
---
<p><br /... | 30.428571 | 147 | 0.621283 |
4aa49d36783014f6a54ae506d2e11ec75fe68cfb | 2,413 | kt | Kotlin | app/src/main/java/space/pal/sig/network/SpaceXApiService.kt | icatalin201/SpaceNow | 9f8485e7ef1580be8c84dd34babd99571bed277a | [
"Apache-2.0"
] | null | null | null | app/src/main/java/space/pal/sig/network/SpaceXApiService.kt | icatalin201/SpaceNow | 9f8485e7ef1580be8c84dd34babd99571bed277a | [
"Apache-2.0"
] | null | null | null | app/src/main/java/space/pal/sig/network/SpaceXApiService.kt | icatalin201/SpaceNow | 9f8485e7ef1580be8c84dd34babd99571bed277a | [
"Apache-2.0"
] | null | null | null | package space.pal.sig.network
import io.reactivex.Single
import retrofit2.http.GET
import retrofit2.http.Path
import space.pal.sig.model.dto.*
/**
SpaceNow
Created by Catalin on 12/6/2020
**/
interface SpaceXApiService {
@GET("capsules")
fun getAllCapsules(): Single<MutableList<Capsule>>
@GET("capsules... | 25.670213 | 70 | 0.658931 |
9531c91ae34b0ee7e91d72e87a052dcdd58b2688 | 1,159 | css | CSS | src/App.css | murphycj/agfusionweb-react | 9305aa3caa653fa74608d1ae3dd59c03a3df6294 | [
"MIT"
] | 1 | 2019-12-11T22:22:02.000Z | 2019-12-11T22:22:02.000Z | src/App.css | murphycj/agfusionweb-react | 9305aa3caa653fa74608d1ae3dd59c03a3df6294 | [
"MIT"
] | 15 | 2020-03-25T02:21:18.000Z | 2022-03-27T20:05:01.000Z | src/App.css | murphycj/agfusionweb-react | 9305aa3caa653fa74608d1ae3dd59c03a3df6294 | [
"MIT"
] | null | null | null |
.App {
text-align: center;
}
.App-header {
color: white;
font-size: 1.1rem;
}
.ant-header {
padding: 0 1.1rem;
}
.App-header-left {
display: flex;
flex-direction: row;
justify-content: flex-start;
}
.App-header-right {
display: flex;
flex-direction: row;
justify-content: flex-end;
}
.App-heade... | 13.963855 | 43 | 0.633305 |
76cda6e3bdc88fb253eb7abb5302f0a7be954da8 | 329 | h | C | common/permutation/fixed_point.h | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | 4 | 2018-06-05T14:15:52.000Z | 2022-02-08T05:14:23.000Z | common/permutation/fixed_point.h | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | null | null | null | common/permutation/fixed_point.h | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | 1 | 2018-10-21T11:01:35.000Z | 2018-10-21T11:01:35.000Z | #pragma once
#include "common/permutation/base.h"
#include <vector>
namespace permutation {
inline std::vector<unsigned> FixedPoints(const TLine& line) {
std::vector<unsigned> output;
for (unsigned i = 0; i < line.size(); ++i) {
if (line[i] == i) output.push_back(i);
}
return output;
}
} // namespace per... | 21.933333 | 61 | 0.674772 |
b5d959bc4e98e48fe7d4328de285c93e5462f939 | 6,517 | swift | Swift | LoveCat/Class/MinePage/Models/MinePageModel.swift | xingtianwuganqi/iOS_petrescue | 618aa0b00540a323f4d0debbdf7743abff3e6ed0 | [
"MIT"
] | null | null | null | LoveCat/Class/MinePage/Models/MinePageModel.swift | xingtianwuganqi/iOS_petrescue | 618aa0b00540a323f4d0debbdf7743abff3e6ed0 | [
"MIT"
] | null | null | null | LoveCat/Class/MinePage/Models/MinePageModel.swift | xingtianwuganqi/iOS_petrescue | 618aa0b00540a323f4d0debbdf7743abff3e6ed0 | [
"MIT"
] | null | null | null | //
// MinePageModel.swift
// LoveCat
//
// Created by jingjun on 2021/1/6.
//
import Foundation
import HandyJSON
struct MinePageCellModel {
var iconImg: String?
var title: String?
var num: Int = 0
}
struct HistoryModel: HandyJSON {
var history_id: Int?
var topicInfo: HomePageModel?
var top... | 36.819209 | 271 | 0.652141 |
25280bac2da3926d23dc3b26a7ca7b9ca29edb35 | 318 | swift | Swift | card/Classes/Tools/Common.swift | yh8577/conact | a987d1f402a295d5705101425ef833b6885effe6 | [
"MIT"
] | null | null | null | card/Classes/Tools/Common.swift | yh8577/conact | a987d1f402a295d5705101425ef833b6885effe6 | [
"MIT"
] | null | null | null | card/Classes/Tools/Common.swift | yh8577/conact | a987d1f402a295d5705101425ef833b6885effe6 | [
"MIT"
] | null | null | null | //
// Common.swift
// card
//
// Created by yihui on 2017/11/6.
// Copyright © 2017年 yihui. All rights reserved.
//
import UIKit
import Foundation
// 屏幕wh
let WIDTH = UIScreen.main.bounds.width
let HEIGHT = UIScreen.main.bounds.height
let BOUNDS = UIScreen.main.bounds
// 刷新通知
let refreshData = "refreshData"
| 15.142857 | 49 | 0.707547 |
ec28531c9f99d3bf48822a7d862a2cc8b8b8a0ee | 105 | sql | SQL | Data Scientist Career Path/14. SQL for Interview Prep/2. Multiple/2. Challenge/8.sql | myarist/Codecademy | 2ba0f104bc67ab6ef0f8fb869aa12aa02f5f1efb | [
"MIT"
] | 23 | 2021-06-06T15:35:55.000Z | 2022-03-21T06:53:42.000Z | Data Scientist Career Path/14. SQL for Interview Prep/2. Multiple/2. Challenge/8.sql | shivaniverma1/Data-Scientist | f82939a411484311171465591455880c8e354750 | [
"MIT"
] | null | null | null | Data Scientist Career Path/14. SQL for Interview Prep/2. Multiple/2. Challenge/8.sql | shivaniverma1/Data-Scientist | f82939a411484311171465591455880c8e354750 | [
"MIT"
] | 9 | 2021-06-08T01:32:04.000Z | 2022-03-18T15:38:09.000Z | SELECT '2017-01-01' AS 'month'
UNION
SELECT '2017-02-01' AS 'month'
UNION
SELECT '2017-03-01' AS 'month'; | 21 | 31 | 0.695238 |
73f2a7645a76ce1e315b39514221bb7b4d6dacdf | 481 | kt | Kotlin | user-management/keycloak-gateway/src/main/kotlin/co/nilin/opex/auth/gateway/config/KeycloakServerProperties.kt | opexdev/OPEX-core | a9744f9de772b76ae86335a387922c87a45f54a9 | [
"MIT"
] | 20 | 2021-09-21T10:08:58.000Z | 2022-03-05T08:54:43.000Z | user-management/keycloak-gateway/src/main/kotlin/co/nilin/opex/auth/gateway/config/KeycloakServerProperties.kt | opexdev/OPEX-Core | a9744f9de772b76ae86335a387922c87a45f54a9 | [
"MIT"
] | 126 | 2021-09-11T09:59:50.000Z | 2022-03-13T09:35:34.000Z | user-management/keycloak-gateway/src/main/kotlin/co/nilin/opex/auth/gateway/config/KeycloakServerProperties.kt | opexdev/OPEX-core | a9744f9de772b76ae86335a387922c87a45f54a9 | [
"MIT"
] | 6 | 2021-12-29T05:06:04.000Z | 2022-02-07T10:08:32.000Z | package co.nilin.opex.auth.gateway.config
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.context.annotation.Configuration
@Configuration
@ConfigurationProperties(prefix = "keycloak.server")
class KeycloakServerProperties {
var contextPath = "/auth"
var re... | 25.315789 | 74 | 0.744283 |
7ac48393eef8c61d7a861d64816cc9bea136a18e | 1,252 | rb | Ruby | rename_generic_project.rb | michaeltansg/scripts | e25a4bab8ac8d921248c917e0eea875ea63692cb | [
"MIT"
] | null | null | null | rename_generic_project.rb | michaeltansg/scripts | e25a4bab8ac8d921248c917e0eea875ea63692cb | [
"MIT"
] | null | null | null | rename_generic_project.rb | michaeltansg/scripts | e25a4bab8ac8d921248c917e0eea875ea63692cb | [
"MIT"
] | null | null | null | #!/usr/bin/env ruby
require 'find'
require 'FileUtils'
$generic_project_name = 'FirebaseAppBoilerplate'
project_name = 'MyApp'
file_paths = []
def return_first_matching_directory
Dir.glob("**/*/").each { |path|
return path.delete_suffix('/') if path =~ /#{Regexp.escape($generic_project_name)}/
}
return nil
... | 25.55102 | 87 | 0.717252 |
a75b4f9f9c09552620811543298c49ccd3686d3d | 2,844 | swift | Swift | IMProcessing/Classes/Extensions/NSimage(IMProcessing).swift | dehancer/improcessing | 1c0d0a294562d69bd69b9311c98df85bdde8662f | [
"MIT"
] | 9 | 2019-03-10T10:07:41.000Z | 2022-02-01T20:53:55.000Z | IMProcessing/Classes/Extensions/NSimage(IMProcessing).swift | dehancer/improcessing | 1c0d0a294562d69bd69b9311c98df85bdde8662f | [
"MIT"
] | null | null | null | IMProcessing/Classes/Extensions/NSimage(IMProcessing).swift | dehancer/improcessing | 1c0d0a294562d69bd69b9311c98df85bdde8662f | [
"MIT"
] | null | null | null | //
// NSimage(IMProcessing).swift
// CryptoSwift
//
// Created by denn on 13.08.2018.
//
#if os(OSX)
import AppKit
//public extension NSImage {
//
// public func resize(factor level: CGFloat) -> NSImage {
// let _image = self
// let newRect: NSRect = NSMakeRect(0, 0, _image.size.width, _image.s... | 36 | 133 | 0.638889 |
164d448496adbf152d765a34f31cc0bd5d331f51 | 12,822 | h | C | lib/nxp_driver/lpcopen/lpc15xx/lpc_chip_15xx/inc/swm_15xx.h | thiamchi/micropython_custom | b2d3ac286268502029a2215adb710c15f21ccae0 | [
"MIT"
] | null | null | null | lib/nxp_driver/lpcopen/lpc15xx/lpc_chip_15xx/inc/swm_15xx.h | thiamchi/micropython_custom | b2d3ac286268502029a2215adb710c15f21ccae0 | [
"MIT"
] | null | null | null | lib/nxp_driver/lpcopen/lpc15xx/lpc_chip_15xx/inc/swm_15xx.h | thiamchi/micropython_custom | b2d3ac286268502029a2215adb710c15f21ccae0 | [
"MIT"
] | null | null | null | /*
* @brief LPC15xx Switch Matrix driver
*
* @note
* Copyright(C) NXP Semiconductors, 2014
* All rights reserved.
*
* @par
* Software that is described herein is for illustrative purposes only
* which provides customers with programming information regarding the
* LPC products. This software is sup... | 46.625455 | 108 | 0.690142 |
2a51a5684c9d37f1ba8d4364b4caa95120890d67 | 3,208 | java | Java | src/org/myrobotlab/vision/OpenCVFilterResize.java | AutonomicPerfectionist/myrobotlab | 744f5a4f94343eb069e2d91e61e1bc490684b555 | [
"Apache-2.0"
] | null | null | null | src/org/myrobotlab/vision/OpenCVFilterResize.java | AutonomicPerfectionist/myrobotlab | 744f5a4f94343eb069e2d91e61e1bc490684b555 | [
"Apache-2.0"
] | null | null | null | src/org/myrobotlab/vision/OpenCVFilterResize.java | AutonomicPerfectionist/myrobotlab | 744f5a4f94343eb069e2d91e61e1bc490684b555 | [
"Apache-2.0"
] | null | null | null | /**
*
* @author greg (at) myrobotlab.org
*
* This file is part of MyRobotLab (http://myrobotlab.org).
*
* MyRobotLab is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either... | 32.08 | 120 | 0.714464 |
77b93703d539c78c531a90d5f6bb52493d040ee0 | 1,312 | rs | Rust | bbs_plus/src/error.rs | docknetwork/crypto | 99a2f4bc9c92e3bd8d7780677d55dbb35fce787e | [
"Apache-2.0"
] | 6 | 2021-09-12T08:15:17.000Z | 2022-01-19T14:12:16.000Z | bbs_plus/src/error.rs | docknetwork/crypto | 99a2f4bc9c92e3bd8d7780677d55dbb35fce787e | [
"Apache-2.0"
] | 1 | 2022-02-08T16:55:33.000Z | 2022-02-08T16:55:33.000Z | bbs_plus/src/error.rs | docknetwork/crypto | 99a2f4bc9c92e3bd8d7780677d55dbb35fce787e | [
"Apache-2.0"
] | null | null | null | // TODO: At some point this should be replaced with crates anyhow and thiserror but thiserror is no_std compatible at the moment.
use ark_serialize::SerializationError;
use ark_std::fmt::Debug;
use dock_crypto_utils::serde_utils::ArkSerializationError;
use schnorr_pok::error::SchnorrError;
use serde::Serialize;
#[der... | 32.8 | 129 | 0.746189 |
9c097ac4bf003dcdeb7d23372ddf0026c9172bf3 | 1,381 | kt | Kotlin | src/test/kotlin/testutils/TestSource.kt | md-5/proguard-core | 6cd532a03c82eb27b14920e38b44130500acdf5d | [
"Apache-2.0"
] | 169 | 2020-06-02T10:20:06.000Z | 2022-03-22T11:33:08.000Z | src/test/kotlin/testutils/TestSource.kt | md-5/proguard-core | 6cd532a03c82eb27b14920e38b44130500acdf5d | [
"Apache-2.0"
] | 23 | 2020-06-02T20:21:00.000Z | 2022-01-14T16:47:48.000Z | src/test/kotlin/testutils/TestSource.kt | md-5/proguard-core | 6cd532a03c82eb27b14920e38b44130500acdf5d | [
"Apache-2.0"
] | 25 | 2020-06-16T12:53:56.000Z | 2022-01-16T08:34:26.000Z | /*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2021 Guardsquare NV
*/
package testutils
import com.tschuchort.compiletesting.SourceFile
import org.intellij.lang.annotations.Language
import java.io.File
import java.lang.IllegalStat... | 31.386364 | 99 | 0.692252 |
e730b5224ddf8a659dcebe0130c1ea30bd31d9db | 92,397 | js | JavaScript | deadcode/editor.js | koreex/app | 4d498cb8c43dd5c1e0927052ed71ca89f3c99713 | [
"MIT"
] | 148 | 2020-09-04T12:33:15.000Z | 2022-03-31T05:39:25.000Z | deadcode/editor.js | koreex/app | 4d498cb8c43dd5c1e0927052ed71ca89f3c99713 | [
"MIT"
] | 2,160 | 2020-09-05T19:34:53.000Z | 2022-03-31T19:50:41.000Z | deadcode/editor.js | koreex/app | 4d498cb8c43dd5c1e0927052ed71ca89f3c99713 | [
"MIT"
] | 84 | 2020-11-25T12:42:31.000Z | 2022-03-29T04:34:40.000Z | import * as THREE from 'three';
import {BufferGeometryUtils} from 'three/examples/jsm/utils/BufferGeometryUtils';
import React from 'react';
const {Fragment, useState, useEffect, useRef} = React;
import ReactDOM from 'react-dom';
import ReactThreeFiber from '@react-three/fiber';
import Babel from 'babel-standalone';
im... | 30.686483 | 148 | 0.569618 |
0a04e7d8c8cee7be95b7e01b77df86d76c345d71 | 380 | c | C | yasm_x86-64_linux/play.c | oceanwavechina/assembly | 803e4a4c03645fbbc026092b3329ea472e070cab | [
"Apache-2.0"
] | null | null | null | yasm_x86-64_linux/play.c | oceanwavechina/assembly | 803e4a4c03645fbbc026092b3329ea472e070cab | [
"Apache-2.0"
] | null | null | null | yasm_x86-64_linux/play.c | oceanwavechina/assembly | 803e4a4c03645fbbc026092b3329ea472e070cab | [
"Apache-2.0"
] | null | null | null | #define MAY_IN_MEM
int main ()
{
#ifdef NOT_IN_MEM
register int a = 1;
register int b = 2;
register int c = a + b;
#endif
#ifdef IN_MEM
int a = 1;
int b = 2;
int c = a+b;
#endif
#ifdef MAY_IN_MEM
// ??
register int a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13 =1;
register int b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b1... | 15.833333 | 61 | 0.636842 |
cf5d659ad05f7e3b36c603a9c74cf8f64dd70960 | 4,976 | css | CSS | wp-content/plugins/regenerate-thumbnails-advanced/css/rta-admin-progress.css | CodeDone4U/niche-one | c6930cd91aca6846b5b0c07e2c6ab889558c8641 | [
"MIT"
] | 1 | 2020-12-23T00:17:42.000Z | 2020-12-23T00:17:42.000Z | wp-content/plugins/regenerate-thumbnails-advanced/css/rta-admin-progress.css | CodeDone4U/niche-one | c6930cd91aca6846b5b0c07e2c6ab889558c8641 | [
"MIT"
] | null | null | null | wp-content/plugins/regenerate-thumbnails-advanced/css/rta-admin-progress.css | CodeDone4U/niche-one | c6930cd91aca6846b5b0c07e2c6ab889558c8641 | [
"MIT"
] | null | null | null | section.regenerate{background-color:#fff;margin-bottom:200px}section.regenerate .rta_panel_off{opacity:0;transition:all 0ms linear}section.regenerate .rta_progress{position:relative;min-height:310px;width:65%;justify-content:flex-start}section.regenerate .rta_progress .rta_progress_view{margin:0 auto;align-self:center}... | 2,488 | 4,975 | 0.849678 |
755ae9058858ab34dac02c6e7015c1ddeebfb212 | 5,251 | c | C | main/wifi.c | LambisElef/esp32-weather-station | b50a65052f8b9018260b679dde1e976d3afb47ab | [
"MIT"
] | null | null | null | main/wifi.c | LambisElef/esp32-weather-station | b50a65052f8b9018260b679dde1e976d3afb47ab | [
"MIT"
] | null | null | null | main/wifi.c | LambisElef/esp32-weather-station | b50a65052f8b9018260b679dde1e976d3afb47ab | [
"MIT"
] | null | null | null | /**
* @file wifi.c
*
* @brief WIFI Source File
*
* @author Charalampos Eleftheriadis
* @version 0.1
* @date 2021-08-05
*/
#include "wifi.h"
#include "esp_log.h"
#include "esp_wifi.h"
#include "freertos/event_groups.h"
static volatile uint8_t wifi_reconnect_counter;
static EventGroupHandle_t wifi_e... | 33.234177 | 128 | 0.708627 |
004c9e935ba82668cc0de14f1ac868795f09a1fe | 1,568 | asm | Assembly | programs/oeis/168/A168569.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/168/A168569.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/168/A168569.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A168569: a(n) = 9*(3^n - 1)/2.
; 0,9,36,117,360,1089,3276,9837,29520,88569,265716,797157,2391480,7174449,21523356,64570077,193710240,581130729,1743392196,5230176597,15690529800,47071589409,141214768236,423644304717,1270932914160,3812798742489,11438396227476,34315188682437,102945566047320,308836698141969,9265100944259... | 174.222222 | 1,486 | 0.924107 |
73dd3450e3b8b7d5a1e1990bb78fb5f8242a522f | 909 | rs | Rust | os/src/process/condvar.rs | ChiangYintso/redos | 3bf05ee21b504829f9da50ecd84fb048f92cb048 | [
"Apache-2.0",
"MIT"
] | null | null | null | os/src/process/condvar.rs | ChiangYintso/redos | 3bf05ee21b504829f9da50ecd84fb048f92cb048 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-05-18T12:55:32.000Z | 2021-05-18T12:55:32.000Z | os/src/process/condvar.rs | ChiangYintso/redos | 3bf05ee21b504829f9da50ecd84fb048f92cb048 | [
"Apache-2.0",
"MIT"
] | null | null | null | //! 条件变量
extern crate alloc;
use crate::kernel::*;
use crate::process::thread::Thread;
use alloc::collections::VecDeque;
use alloc::sync::Arc;
use core::option::Option::Some;
use spin::Mutex;
#[derive(Default)]
pub struct Condvar {
/// 所有等待此条件变量的线程
watchers: Mutex<VecDeque<Arc<Thread>>>,
}
impl Condvar {
... | 22.725 | 64 | 0.612761 |
dd0827d373f0d233d93fcc8ae90d1d1b6877ec8e | 5,188 | go | Go | internal/dnsmasq/dnsmasq_test.go | alankristen2004/blacklist | 7cddd567a92bcea119f0b1ba5f300a031caeb108 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2021-05-16T13:30:32.000Z | 2021-05-16T13:30:32.000Z | internal/dnsmasq/dnsmasq_test.go | alankristen2004/blacklist | 7cddd567a92bcea119f0b1ba5f300a031caeb108 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | internal/dnsmasq/dnsmasq_test.go | alankristen2004/blacklist | 7cddd567a92bcea119f0b1ba5f300a031caeb108 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | package dnsmasq
import (
"encoding/json"
"errors"
"fmt"
"io"
"io/ioutil"
"path/filepath"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func TestConfigFile(t *testing.T) {
Convey("Testing ConfigFile()", t, func() {
var (
b []byte
dir = "../testdata/etc/dnsmasq.d/"
err error
f... | 22.955752 | 120 | 0.553778 |
22fc0a396a20501d43bf3ea2677f2ca2078ab797 | 2,338 | kt | Kotlin | src/main/kotlin/io/github/jasvilladarez/kotelegram/model/ChatMember.kt | jasvilladarez/kotelegram | be2af206fd398476c640360ff9274bd13c7e836d | [
"MIT"
] | 1 | 2017-11-16T15:36:43.000Z | 2017-11-16T15:36:43.000Z | src/main/kotlin/io/github/jasvilladarez/kotelegram/model/ChatMember.kt | jasvilladarez/kotelegram | be2af206fd398476c640360ff9274bd13c7e836d | [
"MIT"
] | 2 | 2017-11-07T15:52:47.000Z | 2017-11-16T15:37:06.000Z | src/main/kotlin/io/github/jasvilladarez/kotelegram/model/ChatMember.kt | jasvilladarez/kotelegram | be2af206fd398476c640360ff9274bd13c7e836d | [
"MIT"
] | null | null | null | /*
* Copyright 2017 Jasmine Villadarez
*
* 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 agr... | 34.895522 | 75 | 0.673225 |
d0194b0aacbf10fe332191278f5c1090b0b8c12b | 2,134 | swift | Swift | Models/FlightAware.swift | wkejunk/HSpotters | bb75e237fabb7dbcb66728077eef01f661447720 | [
"MIT"
] | null | null | null | Models/FlightAware.swift | wkejunk/HSpotters | bb75e237fabb7dbcb66728077eef01f661447720 | [
"MIT"
] | null | null | null | Models/FlightAware.swift | wkejunk/HSpotters | bb75e237fabb7dbcb66728077eef01f661447720 | [
"MIT"
] | null | null | null | //
// FlightAware.swift
// Airport
//
// Created by Walter Edgar on 12/24/17.
// Copyright © 2017 Walter Edgar. All rights reserved.
//
import Foundation
struct Flights: Decodable {
let AirportBoardsResult: Result
}
struct Result: Decodable {
let airport: String
let airport_info: AirportInfo
let ... | 22.463158 | 85 | 0.695876 |
d25c7d442a5067cc3bdb178b0be1aa4e0cd41ff3 | 24,161 | php | PHP | app/Http/Controllers/HomePageController.php | thm1d/Review-Corner | 55302d26496878002f1e004cb8db53db4be20fc6 | [
"MIT"
] | null | null | null | app/Http/Controllers/HomePageController.php | thm1d/Review-Corner | 55302d26496878002f1e004cb8db53db4be20fc6 | [
"MIT"
] | null | null | null | app/Http/Controllers/HomePageController.php | thm1d/Review-Corner | 55302d26496878002f1e004cb8db53db4be20fc6 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Http;
use App\ViewModels\HomepageViewModel;
use Carbon\Carbon;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Str;
class HomePageController extends Controller
{
/**
* Display a listing of the reso... | 56.849412 | 3,809 | 0.617276 |
87105fdcde03cd29d71118624785a64b7bbda220 | 191 | sql | SQL | Ren.CMS.Net/Source/Ren.CMS.Net-Modules/Ren.CMS.Net.Installer/InstallModule/Areas/Installer/Schema/nfcms_Content_Attachment_Roles.Table.sql | nfMalde/Ren.CMS.NET | 47173a06dee294dd4b17966b8b561f0b962f55e3 | [
"MIT"
] | null | null | null | Ren.CMS.Net/Source/Ren.CMS.Net-Modules/Ren.CMS.Net.Installer/InstallModule/Areas/Installer/Schema/nfcms_Content_Attachment_Roles.Table.sql | nfMalde/Ren.CMS.NET | 47173a06dee294dd4b17966b8b561f0b962f55e3 | [
"MIT"
] | null | null | null | Ren.CMS.Net/Source/Ren.CMS.Net-Modules/Ren.CMS.Net.Installer/InstallModule/Areas/Installer/Schema/nfcms_Content_Attachment_Roles.Table.sql | nfMalde/Ren.CMS.NET | 47173a06dee294dd4b17966b8b561f0b962f55e3 | [
"MIT"
] | null | null | null | CREATE TABLE ren_cms_Content_Attachment_Roles (
aType VARCHAR (250) NOT NULL
, id INT IDENTITY(1,1) NOT NULL
, RoleLangLine VARCHAR (250) NULL
, RoleName VARCHAR (250) NOT NULL
)
| 27.285714 | 47 | 0.722513 |
b2b0256c939c52a13bd5a7af9879c33ddb297de5 | 3,847 | rs | Rust | ic-cron-rs/src/types.rs | seniorjoinu/ic-cron | 33c9cdc794ade5d49381e904005bef3813336f69 | [
"MIT"
] | 29 | 2021-08-16T22:25:32.000Z | 2022-03-27T15:57:00.000Z | ic-cron-rs/src/types.rs | seniorjoinu/ic-cron | 33c9cdc794ade5d49381e904005bef3813336f69 | [
"MIT"
] | 2 | 2021-10-03T01:31:44.000Z | 2021-12-08T11:33:56.000Z | ic-cron-rs/src/types.rs | seniorjoinu/ic-cron | 33c9cdc794ade5d49381e904005bef3813336f69 | [
"MIT"
] | 3 | 2021-10-12T09:24:23.000Z | 2021-12-05T18:47:04.000Z | use std::cmp::{max, min, Ordering};
use std::collections::BinaryHeap;
use ic_cdk::export::candid::{
decode_one, encode_one, CandidType, Deserialize, Result as CandidResult,
};
pub type TaskId = u64;
#[derive(Clone, CandidType, Deserialize)]
pub struct Task {
pub kind: u8,
pub data: Vec<u8>,
}
#[derive(C... | 21.254144 | 78 | 0.561996 |
e94949caa031429648d1c5eded55bba0f788c05f | 140 | rs | Rust | src/util.rs | h33p/minidump-writer | 196c948ba57447cbd3ba9143ca8ba8e142b20422 | [
"MIT"
] | null | null | null | src/util.rs | h33p/minidump-writer | 196c948ba57447cbd3ba9143ca8ba8e142b20422 | [
"MIT"
] | null | null | null | src/util.rs | h33p/minidump-writer | 196c948ba57447cbd3ba9143ca8ba8e142b20422 | [
"MIT"
] | null | null | null | pub unsafe fn as_slice<T: Sized>(p: &T) -> &[u8] {
std::slice::from_raw_parts((p as *const T) as *const u8, std::mem::size_of::<T>())
}
| 35 | 86 | 0.592857 |
9c631360ce98a0ede1253017820ec444748b16ce | 7,232 | js | JavaScript | dist/assets/js/95.25acf1ab.js | P-Sansei/documents | 7cff57ca05605c328ceca789d64abbcad61cde89 | [
"MIT"
] | null | null | null | dist/assets/js/95.25acf1ab.js | P-Sansei/documents | 7cff57ca05605c328ceca789d64abbcad61cde89 | [
"MIT"
] | 8 | 2021-03-01T20:53:50.000Z | 2022-02-26T01:44:57.000Z | dist/assets/js/95.25acf1ab.js | P-Sansei/documents | 7cff57ca05605c328ceca789d64abbcad61cde89 | [
"MIT"
] | 1 | 2019-05-14T16:44:56.000Z | 2019-05-14T16:44:56.000Z | (window.webpackJsonp=window.webpackJsonp||[]).push([[95],{310:function(a,s,t){"use strict";t.r(s);var e=t(2),r=Object(e.a)({},(function(){var a=this,s=a.$createElement,t=a._self._c||s;return t("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[t("h1",{attrs:{id:"防范常见的-web-攻击"}},[t("a",{staticClass:"heade... | 7,232 | 7,232 | 0.619607 |
7190ea1e6551f84086787f1bc840936d16455fe5 | 132 | ts | TypeScript | videos/2e07c274-b451-4bc7-a177-a6c2201e8b70/1080p_200.ts | Krystian19/cactus-fake-video-cdn-service | 263942b309ecc4bfb07308f20b6352f5b7dfe505 | [
"MIT"
] | null | null | null | videos/2e07c274-b451-4bc7-a177-a6c2201e8b70/1080p_200.ts | Krystian19/cactus-fake-video-cdn-service | 263942b309ecc4bfb07308f20b6352f5b7dfe505 | [
"MIT"
] | 1 | 2018-11-12T14:41:37.000Z | 2018-11-12T14:41:37.000Z | videos/2e07c274-b451-4bc7-a177-a6c2201e8b70/1080p_200.ts | Krystian19/cactus-fake-video-cdn-service | 263942b309ecc4bfb07308f20b6352f5b7dfe505 | [
"MIT"
] | 1 | 2018-11-12T14:29:29.000Z | 2018-11-12T14:29:29.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:764c792a6638e9409db66c5366edc8a40a6c830ef78ac45389ef14792f6b153b
size 1796528
| 33 | 75 | 0.886364 |
36381c475196667a23667334f77474e6cef5d926 | 1,552 | rs | Rust | src/day5.rs | MitMaro/advent-of-code-2015 | 0f5b6e48b7215ae7e3f03eebf1ebc70560586c8a | [
"0BSD"
] | 1 | 2020-12-04T01:26:24.000Z | 2020-12-04T01:26:24.000Z | src/day5.rs | MitMaro/advent-of-code-2015 | 0f5b6e48b7215ae7e3f03eebf1ebc70560586c8a | [
"0BSD"
] | null | null | null | src/day5.rs | MitMaro/advent-of-code-2015 | 0f5b6e48b7215ae7e3f03eebf1ebc70560586c8a | [
"0BSD"
] | null | null | null | use aoc_runner_derive::{aoc, aoc_generator};
#[aoc_generator(day5)]
pub fn input_generator(input: &str) -> Vec<String> {
input.lines().map(String::from).collect::<Vec<String>>()
}
#[aoc(day5, part1)]
pub fn part1(lines: &Vec<String>) -> i32 {
let mut total = 0;
'l: for line in lines {
let mut double_found = fals... | 20.155844 | 105 | 0.55799 |
fb366f02774a72fb2b64feaf6a0e188389602a94 | 2,594 | h | C | System/Library/Frameworks/MediaSetup.framework/MSOAuthTokenHandler.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | 1 | 2020-11-04T15:43:01.000Z | 2020-11-04T15:43:01.000Z | System/Library/Frameworks/MediaSetup.framework/MSOAuthTokenHandler.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | System/Library/Frameworks/MediaSetup.framework/MSOAuthTokenHandler.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | /*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:53:11 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/Frameworks/MediaSetup.framework/MediaSetup
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Li... | 63.268293 | 193 | 0.806091 |
1f8b357cdf33bfc3b601d6dd3818c9923aa6f675 | 1,083 | html | HTML | site/_includes/contact-modal.html | lmnts-dev/m2 | a9b8f1db7ca5fbfadcb29345d013f39e6b6113c6 | [
"MIT"
] | 1 | 2020-04-11T07:08:00.000Z | 2020-04-11T07:08:00.000Z | site/_includes/contact-modal.html | lmnts-dev/m2 | a9b8f1db7ca5fbfadcb29345d013f39e6b6113c6 | [
"MIT"
] | null | null | null | site/_includes/contact-modal.html | lmnts-dev/m2 | a9b8f1db7ca5fbfadcb29345d013f39e6b6113c6 | [
"MIT"
] | 1 | 2020-04-11T07:08:12.000Z | 2020-04-11T07:08:12.000Z | <section class="contact-modal" id="contact-modal">
<div class="inner txt-center">
<div class="exit" data-contact="exit">
{% include exit.html %}
</div>
<h2>Get In Touch</h2>
<p>We are actively seeking partnership and alliances with health systems. To learn more or inquire... | 51.571429 | 127 | 0.589104 |
3de7616221369b187d8d8a16c714c532953e7b0c | 17,220 | rs | Rust | src/client/mod.rs | teotwaki/twitch-irc-rs | 601e0d262bd34c831a4f0003283a7db3dcced2fe | [
"MIT"
] | null | null | null | src/client/mod.rs | teotwaki/twitch-irc-rs | 601e0d262bd34c831a4f0003283a7db3dcced2fe | [
"MIT"
] | null | null | null | src/client/mod.rs | teotwaki/twitch-irc-rs | 601e0d262bd34c831a4f0003283a7db3dcced2fe | [
"MIT"
] | null | null | null | mod event_loop;
mod pool_connection;
use crate::client::event_loop::{ClientLoopCommand, ClientLoopWorker};
use crate::config::ClientConfig;
use crate::error::Error;
use crate::irc;
use crate::login::LoginCredentials;
use crate::message::commands::ServerMessage;
use crate::message::IRCMessage;
use crate::message::{IRCT... | 45.676393 | 157 | 0.649071 |
39ee800d16dc1173f0efb78d0667e6b4845398fa | 831 | java | Java | src/main/java/com/github/chen0040/leetcode/day06/easy/RemoveDuplicatesFromSortedList.java | chen0040/java-leetcode | 83cc0ab474cb171cb3d6be869209b4a8c96857ea | [
"MIT"
] | 4 | 2019-09-01T18:48:43.000Z | 2021-09-05T19:05:51.000Z | src/main/java/com/github/chen0040/leetcode/day06/easy/RemoveDuplicatesFromSortedList.java | chen0040/java-leetcode | 83cc0ab474cb171cb3d6be869209b4a8c96857ea | [
"MIT"
] | null | null | null | src/main/java/com/github/chen0040/leetcode/day06/easy/RemoveDuplicatesFromSortedList.java | chen0040/java-leetcode | 83cc0ab474cb171cb3d6be869209b4a8c96857ea | [
"MIT"
] | 4 | 2017-11-22T15:23:09.000Z | 2021-12-17T23:59:37.000Z | package com.github.chen0040.leetcode.day06.easy;
/**
* Created by xschen on 1/8/2017.
*
* summary:
* Given a sorted linked list, delete all duplicates such that each element appear only once.
*
* link: https://leetcode.com/problems/remove-duplicates-from-sorted-list/description/
*/
public class RemoveDuplicate... | 24.441176 | 93 | 0.581227 |
f05e57abf8788d483966f72cb158032481ce2596 | 4,121 | py | Python | 8_plot_data_perstation.py | sdat2/Yellowstone2 | 4008145b7372f5f5901de584656ceea44e73934a | [
"MIT"
] | null | null | null | 8_plot_data_perstation.py | sdat2/Yellowstone2 | 4008145b7372f5f5901de584656ceea44e73934a | [
"MIT"
] | null | null | null | 8_plot_data_perstation.py | sdat2/Yellowstone2 | 4008145b7372f5f5901de584656ceea44e73934a | [
"MIT"
] | null | null | null | # Program 8_plot_data_perstation.py written by Sanne Cottaar (sc845@cam.ac.uk)
file_name= '8_plot_data_perstation.py'
# Uses receiver functions computed to produce a nice graph for every directory in DATARF
import obspy
from obspy import read
from obspy.core import Stream
from obspy.core import trace
import matplotlib... | 40.009709 | 162 | 0.542344 |
5086193372bee5a71cb0d339696803863e2a82ea | 896 | go | Go | pkg/stack/stack.go | go-zen-chu/datastructs | 987f902a962ae13097eefaf097bcefde6110abfe | [
"MIT"
] | 1 | 2021-11-06T09:06:06.000Z | 2021-11-06T09:06:06.000Z | pkg/stack/stack.go | go-zen-chu/datastructs | 987f902a962ae13097eefaf097bcefde6110abfe | [
"MIT"
] | null | null | null | pkg/stack/stack.go | go-zen-chu/datastructs | 987f902a962ae13097eefaf097bcefde6110abfe | [
"MIT"
] | null | null | null | package stack
import "fmt"
type stack struct {
data []int
size int
}
type Stack interface {
Push(int)
Pop() (bool, int)
Top() int
IsEmpty() bool
}
// NewStack instantiates a new stack
func NewStack(cap int) Stack {
return &stack{data: make([]int, 0, cap), size: 0}
}
// Push adds a new element at the end of ... | 16.90566 | 50 | 0.652902 |
4134d877cd7699d9adb9cfa4474f52803f3d4e00 | 860 | h | C | shoveler/opengl/include/shoveler/material/depth_texture_gaussian_filter.h | improbablejan/shoveler-spatialos | f0bed77332478ba2dfd2d282a57fd6fd5f3ad712 | [
"MIT"
] | 30 | 2016-06-13T09:52:25.000Z | 2022-03-18T15:26:49.000Z | shoveler/opengl/include/shoveler/material/depth_texture_gaussian_filter.h | improbablejan/shoveler-spatialos | f0bed77332478ba2dfd2d282a57fd6fd5f3ad712 | [
"MIT"
] | 1 | 2022-01-17T18:31:01.000Z | 2022-01-17T18:31:01.000Z | shoveler/opengl/include/shoveler/material/depth_texture_gaussian_filter.h | improbablejan/shoveler-spatialos | f0bed77332478ba2dfd2d282a57fd6fd5f3ad712 | [
"MIT"
] | 3 | 2022-01-04T15:03:05.000Z | 2022-01-31T20:57:56.000Z | #ifndef SHOVELER_MATERIAL_DEPTH_TEXTURE_GAUSSIAN_FILTER_H
#define SHOVELER_MATERIAL_DEPTH_TEXTURE_GAUSSIAN_FILTER_H
#include <shoveler/material.h>
#include <shoveler/sampler.h>
#include <shoveler/texture.h>
struct ShovelerShaderCacheStruct; // forward declaration: shader_cache.h
ShovelerMaterial *shovelerMaterialDep... | 53.75 | 219 | 0.884884 |
8b26c568ebebe6e792ee5c208b3513d3fc18fef0 | 190 | kt | Kotlin | src/main/kotlin/com/autonomousapps/internal/advice/EmptyFilter.kt | pavlospt/dependency-analysis-android-gradle-plugin | da9fdb86476f948604963054f5faa7fda9ba30a5 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/autonomousapps/internal/advice/EmptyFilter.kt | pavlospt/dependency-analysis-android-gradle-plugin | da9fdb86476f948604963054f5faa7fda9ba30a5 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/autonomousapps/internal/advice/EmptyFilter.kt | pavlospt/dependency-analysis-android-gradle-plugin | da9fdb86476f948604963054f5faa7fda9ba30a5 | [
"Apache-2.0"
] | null | null | null | package com.autonomousapps.internal.advice
import com.autonomousapps.advice.Dependency
class EmptyFilter : DependencyFilter {
override val predicate: (Dependency) -> Boolean = { true }
} | 27.142857 | 60 | 0.789474 |
ccbc1563b2f10d5c1abd23e025d94dc13978e374 | 2,180 | lua | Lua | assets/scripts/extensions/movements.lua | DiegoG1014/PAC-MATH | 6edc60c4d038f3086311ee031cfa2e3ca3234def | [
"MIT"
] | null | null | null | assets/scripts/extensions/movements.lua | DiegoG1014/PAC-MATH | 6edc60c4d038f3086311ee031cfa2e3ca3234def | [
"MIT"
] | null | null | null | assets/scripts/extensions/movements.lua | DiegoG1014/PAC-MATH | 6edc60c4d038f3086311ee031cfa2e3ca3234def | [
"MIT"
] | null | null | null | mega = mega or {}
mega.movements={}
--Defines a new move, you can then store it in a variable
function mega.movements.newMove(acceleration,deacceleration,maximumspeed,x1,y1,x2,y2)
local t = {
acc = acceleration,
deacc = deacceleration,
topspeed = maximumspeed,
x=x1,
y=y1,
finished=false
}
if x2 ~=ni... | 23.695652 | 108 | 0.649541 |
3881330110e89418d2dccd2ed5889bb1b047b7e7 | 9,504 | swift | Swift | Shelf/Controller/LoginViewController.swift | vikingdr/ShelfCosmetics | 54dde67360d4fc461b12eafe72b7a1719b67749e | [
"Apache-2.0"
] | null | null | null | Shelf/Controller/LoginViewController.swift | vikingdr/ShelfCosmetics | 54dde67360d4fc461b12eafe72b7a1719b67749e | [
"Apache-2.0"
] | null | null | null | Shelf/Controller/LoginViewController.swift | vikingdr/ShelfCosmetics | 54dde67360d4fc461b12eafe72b7a1719b67749e | [
"Apache-2.0"
] | null | null | null | //
// LoginViewController.swift
// Shelf
//
// Created by Matthew James on 30/04/15.
// Copyright (c) 2015 Shelf. All rights reserved.
//
import UIKit
import MBProgressHUD
import Firebase
// FIXME: comparison operators with optionals were removed from the Swift Standard Libary.
// Consider refactoring the code to ... | 39.76569 | 156 | 0.589752 |
bb616691efeff85417820a57cedc5c437ee640f0 | 10,272 | html | HTML | log in/Login.html | The-Arshad-Khan/BigB-E-learn-Websit-e-1 | daebfb43a4902ed5b2af93d86cefdc02e36888aa | [
"MIT"
] | 1 | 2022-03-16T22:10:08.000Z | 2022-03-16T22:10:08.000Z | log in/Login.html | The-Arshad-Khan/BigB-E-learn-Websit-e-1 | daebfb43a4902ed5b2af93d86cefdc02e36888aa | [
"MIT"
] | null | null | null | log in/Login.html | The-Arshad-Khan/BigB-E-learn-Websit-e-1 | daebfb43a4902ed5b2af93d86cefdc02e36888aa | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<link rel="shortcut icon" type="png" href="image/v.png" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script
src="https://kit.fontawesome.com/64d58efce2.js"
crossorigin="anonymous"
></script... | 35.298969 | 192 | 0.475662 |
4a397fcf624a0c9d7c789023f69bfc68ac85c965 | 7,580 | js | JavaScript | small/pages/about/detail/index.js | wjq768843095/chengduZoo | 2570b02b5287ece879ac24a0595a25d823cd2229 | [
"Apache-2.0"
] | null | null | null | small/pages/about/detail/index.js | wjq768843095/chengduZoo | 2570b02b5287ece879ac24a0595a25d823cd2229 | [
"Apache-2.0"
] | null | null | null | small/pages/about/detail/index.js | wjq768843095/chengduZoo | 2570b02b5287ece879ac24a0595a25d823cd2229 | [
"Apache-2.0"
] | null | null | null | var t = getApp(), a = require("../../../utils/util");
Page({
data: {
outTradeNo: null,
orderDetail: [],
imgUrl: "",
spotName: "",
englishName: "MINJIANG ZIPINGPU",
languageType: "",
healthState: "",
isCheckHealthCode: "",
updateTime: "",
... | 36.97561 | 193 | 0.404749 |
5756674ce8cb79e4b1857030aeb582be167496a3 | 1,282 | h | C | benchmarks/deputytests/ptrdist/yacr2/channel.h | ucsd-progsys/csolve-bak | 89cfeb5403e617f45ece4bae9f88f8e6cd7ca934 | [
"BSD-3-Clause"
] | null | null | null | benchmarks/deputytests/ptrdist/yacr2/channel.h | ucsd-progsys/csolve-bak | 89cfeb5403e617f45ece4bae9f88f8e6cd7ca934 | [
"BSD-3-Clause"
] | 1 | 2018-04-24T10:43:07.000Z | 2018-04-24T10:43:07.000Z | benchmarks/deputytests/ptrdist/yacr2/channel.h | ucsd-progsys/csolve-bak | 89cfeb5403e617f45ece4bae9f88f8e6cd7ca934 | [
"BSD-3-Clause"
] | null | null | null |
/*
*
* channel.h
*
*/
/*
*
* Includes.
*
*/
#include "types.h"
#ifndef CHANNEL_H
#define CHANNEL_H
/*
*
* Defines.
*
*/
/*
*
* Types.
*
*/
/*
*
* Globals.
*
*/
#ifdef CHANNEL_CODE
#define CHANNEL_DEF
#else
#define CHANNEL_DEF extern
#endif
#define YACR_ARRAY NONNULL COUNT(channelNets... | 12.209524 | 52 | 0.725429 |
1a67e70f358140442ef1577ef9de9232454c2b25 | 647 | kt | Kotlin | app/src/main/kotlin/ca/warp7/rt/ext/formulas/function/FormulaUtils.kt | yuliu2016/New-Restructured-Tables | c90bb67c9c79ca7f817f1a352e382b94eed31f6a | [
"MIT"
] | null | null | null | app/src/main/kotlin/ca/warp7/rt/ext/formulas/function/FormulaUtils.kt | yuliu2016/New-Restructured-Tables | c90bb67c9c79ca7f817f1a352e382b94eed31f6a | [
"MIT"
] | null | null | null | app/src/main/kotlin/ca/warp7/rt/ext/formulas/function/FormulaUtils.kt | yuliu2016/New-Restructured-Tables | c90bb67c9c79ca7f817f1a352e382b94eed31f6a | [
"MIT"
] | null | null | null | package ca.warp7.rt.ext.formulas.function
import ca.warp7.rt.ext.formulas.token.Ch
import ca.warp7.rt.ext.formulas.token.Name
import ca.warp7.rt.ext.formulas.token.tokenize
import ca.warp7.rt.ext.formulas.split
fun def(rawExpr: String): Pair<String, Formula> {
val expr = rawExpr.tokenize()
val funcName = (ex... | 26.958333 | 89 | 0.650696 |
596b02dfab7222c4e72a5f2c89996222b7766dd6 | 620 | h | C | inetsrv/iis/admin/iisuiobj/global.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetsrv/iis/admin/iisuiobj/global.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetsrv/iis/admin/iisuiobj/global.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | #include "stdafx.h"
#ifndef _ALL_GLOBAL_H
#define _ALL_GLOBAL_H
// Connection info
typedef struct tagCONNECTION_INFO
{
BOOL IsLocal;
LPCTSTR pszMachineName;
LPCTSTR pszUserName;
LPCTSTR pszUserPasswordEncrypted;
DWORD cbUserPasswordEncrypted;
} CONNECTION_INFO, *PCONNECTION_INFO;
... | 22.142857 | 41 | 0.722581 |
5f2d5740b231a821d525d223516ad839ce4ddc4a | 818 | tsx | TypeScript | src/bootstrap-icons/bootstrap-reboot.tsx | alexzimakov/react-draft-ui | 0acf0ca908c10c1988b8ad088bdced3159ecc33c | [
"MIT"
] | null | null | null | src/bootstrap-icons/bootstrap-reboot.tsx | alexzimakov/react-draft-ui | 0acf0ca908c10c1988b8ad088bdced3159ecc33c | [
"MIT"
] | null | null | null | src/bootstrap-icons/bootstrap-reboot.tsx | alexzimakov/react-draft-ui | 0acf0ca908c10c1988b8ad088bdced3159ecc33c | [
"MIT"
] | null | null | null | /**
* This file auto-generated with the `scripts/bootstrap-icons.js` script.
*/
import { Icon } from '../components/svg-icon';
// https://github.com/twbs/icons/blob/main/icons/bootstrap-reboot.svg
export const bootstrapReboot: Icon = {
name: 'bootstrap-reboot',
width: 16,
height: 16,
viewBox: '0 0 16 16',
... | 43.052632 | 231 | 0.634474 |
7bb5ff5371991c7b238e01c7df28f62433923e41 | 989 | rb | Ruby | lib/logic.rb | Wusinho/Tic-Tac-Toe | 02e73f3dd1be0e56b18d8963b313846d563d7b93 | [
"MIT"
] | null | null | null | lib/logic.rb | Wusinho/Tic-Tac-Toe | 02e73f3dd1be0e56b18d8963b313846d563d7b93 | [
"MIT"
] | 6 | 2020-12-07T16:53:18.000Z | 2020-12-15T14:25:14.000Z | lib/logic.rb | Wusinho/Tic-Tac-Toe | 02e73f3dd1be0e56b18d8963b313846d563d7b93 | [
"MIT"
] | null | null | null | # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity, Layout/LineLength
class Analize
def conditions(arr, player, sim, checkout)
if (arr[0] == sim and arr[1] == sim and arr[2] == sim) || (arr[3] == sim and arr[4] == sim and arr[5] == sim) || (arr[6] == sim and arr[7] == sim... | 49.45 | 171 | 0.588473 |
9be3a2e20817e1a448069c2304cbf6424e442f9b | 3,795 | js | JavaScript | api-server.js | ajay1133/twitter-latest-user-tweets | fe59ef3a5e063fa7265cdb2ea202aa70c7b87ece | [
"MIT"
] | null | null | null | api-server.js | ajay1133/twitter-latest-user-tweets | fe59ef3a5e063fa7265cdb2ea202aa70c7b87ece | [
"MIT"
] | null | null | null | api-server.js | ajay1133/twitter-latest-user-tweets | fe59ef3a5e063fa7265cdb2ea202aa70c7b87ece | [
"MIT"
] | null | null | null | const express = require("express");
const cors = require("cors");
const morgan = require("morgan");
const helmet = require("helmet");
const jwt = require("express-jwt");
const jwksRsa = require("jwks-rsa");
const axios = require("axios");
const authConfig = require("./src/auth_config.json");
const config = require("./c... | 29.648438 | 117 | 0.646377 |
74de02f250d951f89b9c475eb70762b8bfbecbd5 | 1,448 | js | JavaScript | client/src/components/Tickets/NewTicket/NewTicketForm/NewTicketForm.js | toniyanchev/CastleBet | 1d6628b69aede1fc2aa15a8fd5d45629e53fe695 | [
"MIT"
] | null | null | null | client/src/components/Tickets/NewTicket/NewTicketForm/NewTicketForm.js | toniyanchev/CastleBet | 1d6628b69aede1fc2aa15a8fd5d45629e53fe695 | [
"MIT"
] | null | null | null | client/src/components/Tickets/NewTicket/NewTicketForm/NewTicketForm.js | toniyanchev/CastleBet | 1d6628b69aede1fc2aa15a8fd5d45629e53fe695 | [
"MIT"
] | null | null | null | import React, { useState, useContext } from "react";
import postFetch from "../../../../fetches/postFetch";
import { UserContext } from "../../../../contexts/User/UserContext";
import Button from "../../../UI/Button/Button";
import "./NewTicketForm.css";
const CREATE_TICKET = `${process.env.REACT_APP_API}/ticket/creat... | 26.814815 | 77 | 0.599448 |
b3ff1f76bdb7fa2ec9e6afb478da595d1fc64787 | 711 | rb | Ruby | spec/spec_helper.rb | LoopLabsInc/finale | ab351bac07187c34e30731a6944af893c507f29f | [
"MIT"
] | null | null | null | spec/spec_helper.rb | LoopLabsInc/finale | ab351bac07187c34e30731a6944af893c507f29f | [
"MIT"
] | null | null | null | spec/spec_helper.rb | LoopLabsInc/finale | ab351bac07187c34e30731a6944af893c507f29f | [
"MIT"
] | null | null | null | require 'simplecov'
SimpleCov.start do
add_filter do |source_file|
if (source_file.filename.match? 'client_mock.rb')
false
else
source_file.filename.match? '/spec/'
end
end
enable_coverage :branch
end
require 'bundler/setup'
require 'factory_bot'
require 'webmock/rspec'
require 'pry'
re... | 22.21875 | 112 | 0.728551 |
41be4b620bb167072b436479b3e21b752e31125f | 300,729 | sql | SQL | app/Database/SQL/mail_populate.sql | rocknatt/safe-drone-delivery.com | 6dfb8f585ab460aab907769a244625310d784317 | [
"MIT"
] | null | null | null | app/Database/SQL/mail_populate.sql | rocknatt/safe-drone-delivery.com | 6dfb8f585ab460aab907769a244625310d784317 | [
"MIT"
] | null | null | null | app/Database/SQL/mail_populate.sql | rocknatt/safe-drone-delivery.com | 6dfb8f585ab460aab907769a244625310d784317 | [
"MIT"
] | null | null | null |
INSERT INTO `mail` (`id`, `mail_classement_id`, `old_mail_classement_id`, `created_at`, `date_sent`, `sender_email`, `dest_email`, `email_owner`, `object`, `cc`, `cci`, `text_html`, `text_plain`, `remote_id`, `remote_mail_box_name`, `uniq_id`, `type`, `is_read`, `is_answerd`, `is_deleted`, `is_draft`, `is_favorite`, `... | 2,195.10219 | 14,141 | 0.954231 |
e72d0de56bba3e46dd8695fe828d4952e359ddb7 | 168 | js | JavaScript | docs/html/dir_eef1b65bf13081fcc6bae54d485435a8.js | richardrobinson0924/QwiicKeypad | dcb83cc76555cdc709391031a0375ca433c97f53 | [
"Unlicense"
] | null | null | null | docs/html/dir_eef1b65bf13081fcc6bae54d485435a8.js | richardrobinson0924/QwiicKeypad | dcb83cc76555cdc709391031a0375ca433c97f53 | [
"Unlicense"
] | null | null | null | docs/html/dir_eef1b65bf13081fcc6bae54d485435a8.js | richardrobinson0924/QwiicKeypad | dcb83cc76555cdc709391031a0375ca433c97f53 | [
"Unlicense"
] | null | null | null | var dir_eef1b65bf13081fcc6bae54d485435a8 =
[
[ "Keypad.cpp", "_keypad_8cpp.html", "_keypad_8cpp" ],
[ "QwiicKeypad.h", "_qwiic_keypad_8h_source.html", null ]
]; | 33.6 | 61 | 0.708333 |
38a79194ae740ad779ba97cec0938832b794731e | 1,955 | h | C | packages/@lse/core/addon/lse-lib-util/lse/EnumSequence.h | lightsourceengine/LightSourceEngine | bc2d0cc08907f65a900d924d1a0ab19164171cb5 | [
"Apache-2.0"
] | null | null | null | packages/@lse/core/addon/lse-lib-util/lse/EnumSequence.h | lightsourceengine/LightSourceEngine | bc2d0cc08907f65a900d924d1a0ab19164171cb5 | [
"Apache-2.0"
] | 5 | 2020-07-23T01:09:07.000Z | 2020-09-09T05:32:29.000Z | packages/@lse/core/addon/lse-lib-util/lse/EnumSequence.h | lightsourceengine/LightSourceEngine | bc2d0cc08907f65a900d924d1a0ab19164171cb5 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021 Light Source Software, LLC. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | 30.076923 | 118 | 0.702813 |
5f853e5f86335256b43c5e989dfbeb4ba0f5964d | 165 | css | CSS | 99-cleanJS-presentation/slides/images/polinet-angular/src/app/styles/07-webcomponents/_news.css | Caballerog/cleancodeJS | 0d3822b9a5cb99aafe1ff7cf88efab94437c7b6a | [
"MIT"
] | 14 | 2018-02-19T13:37:26.000Z | 2021-12-06T23:17:46.000Z | 99-cleanJS-presentation/slides/images/polinet-angular/src/app/styles/07-webcomponents/_news.css | Caballerog/cleancodeJS | 0d3822b9a5cb99aafe1ff7cf88efab94437c7b6a | [
"MIT"
] | null | null | null | 99-cleanJS-presentation/slides/images/polinet-angular/src/app/styles/07-webcomponents/_news.css | Caballerog/cleancodeJS | 0d3822b9a5cb99aafe1ff7cf88efab94437c7b6a | [
"MIT"
] | 3 | 2018-02-24T18:44:44.000Z | 2020-01-09T09:05:33.000Z | .c-news .new .message {
white-space: normal !important;
}
.c-news .new {
padding: 15px 0px;
height: auto;
}
.c-news{
height: 400px;
overflow-y: scroll;
}
| 12.692308 | 33 | 0.624242 |
d9e4d4180e4fa6cea55db39b54742d5bc58d511a | 1,083 | lua | Lua | rtklua/Accepted/Items/Consumables/meats/ginseng.lua | The-Kingdom-of-The-Winds/RTK-Server | b306c3411af42ea54c6ecaa785cea9ab4e97ff28 | [
"Xnet",
"X11"
] | 1 | 2021-03-08T06:33:34.000Z | 2021-03-08T06:33:34.000Z | rtklua/Accepted/Items/Consumables/meats/ginseng.lua | The-Kingdom-of-The-Winds/RTK-Server | b306c3411af42ea54c6ecaa785cea9ab4e97ff28 | [
"Xnet",
"X11"
] | null | null | null | rtklua/Accepted/Items/Consumables/meats/ginseng.lua | The-Kingdom-of-The-Winds/RTK-Server | b306c3411af42ea54c6ecaa785cea9ab4e97ff28 | [
"Xnet",
"X11"
] | 3 | 2020-11-19T22:01:46.000Z | 2021-03-16T21:05:37.000Z | ginseng = {
use = function(player)
local health = 2000
player:sendAction(8, 25)
player.attacker = player.ID
player:addHealthExtend(health, 0, 0, 0, 0, 0)
if player.health == player.maxHealth then
player:sendMinitext("You feel satiated.")
end
end
}
young_ginseng = {
use = function(player)
local he... | 19.339286 | 47 | 0.690674 |
5aad502dff65d07afbd8fb7cb2cb055866b801da | 479 | asm | Assembly | oeis/133/A133348.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/133/A133348.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/133/A133348.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A133348: Dimensions of certain Lie algebra (see reference for precise definition).
; Submitted by Jon Maiga
; 1,32,462,4224,28314,151008,674817,2617472,9038458,28316288,81662152,219288576,553361016,1322057088,3009057018,6558440064,13748813155,27825992480,54545269350,103848201600,192502703250,348178802400,615628210275... | 36.846154 | 238 | 0.772443 |
74acb09c9522eb6a9248fd56350e48190cc3592d | 88 | js | JavaScript | tests/js/deep2.js | Mark-Simulacrum/amd-bits | 4f0ed86d4e05c175aab06968db20d88d0c8182b4 | [
"MIT"
] | null | null | null | tests/js/deep2.js | Mark-Simulacrum/amd-bits | 4f0ed86d4e05c175aab06968db20d88d0c8182b4 | [
"MIT"
] | null | null | null | tests/js/deep2.js | Mark-Simulacrum/amd-bits | 4f0ed86d4e05c175aab06968db20d88d0c8182b4 | [
"MIT"
] | null | null | null | Bitloader.define(["js/deep1"], function(deep1) {
return {
"deep1": deep1
};
});
| 14.666667 | 48 | 0.579545 |
36bab590318df442a99d9d0b5ee1e37a6b774318 | 36 | kt | Kotlin | jps-plugin/testData/incremental/classHierarchyAffected/typeParameterListChanged/AChild.kt | qussarah/declare | c83b764c7394efa3364915d973ae79c4ebed2437 | [
"Apache-2.0"
] | 45,293 | 2015-01-01T06:23:46.000Z | 2022-03-31T21:55:51.000Z | jps-plugin/testData/incremental/classHierarchyAffected/typeParameterListChanged/AChild.kt | qussarah/declare | c83b764c7394efa3364915d973ae79c4ebed2437 | [
"Apache-2.0"
] | 3,386 | 2015-01-12T13:28:50.000Z | 2022-03-31T17:48:15.000Z | jps-plugin/testData/incremental/classHierarchyAffected/typeParameterListChanged/AChild.kt | qussarah/declare | c83b764c7394efa3364915d973ae79c4ebed2437 | [
"Apache-2.0"
] | 6,351 | 2015-01-03T12:30:09.000Z | 2022-03-31T20:46:54.000Z | package foo
open class AChild : A() | 12 | 23 | 0.722222 |
a1eb3f97b857501f6cb990435f3a2398558cf99c | 1,435 | h | C | server/mainwindow.h | yang-starry-sky/Reversi | 832b897b01bbfc986b7c7c851032e4f710a7f4ff | [
"Apache-2.0"
] | null | null | null | server/mainwindow.h | yang-starry-sky/Reversi | 832b897b01bbfc986b7c7c851032e4f710a7f4ff | [
"Apache-2.0"
] | null | null | null | server/mainwindow.h | yang-starry-sky/Reversi | 832b897b01bbfc986b7c7c851032e4f710a7f4ff | [
"Apache-2.0"
] | null | null | null | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "mysql.h"
#include "position.h"
#include <QWidget>
#include "gamethread.h"
#include <QCloseEvent>
#include <QPushButton>
#include <QVBoxLayout>
#include <QMutex>
#include <QTcpServer>
#include <QTcpSocket>
#include <QNetworkInterface>
class MainWindow : public QWidge... | 27.596154 | 87 | 0.736585 |
65004332cb733aa8aa9fc8e64faf35799f2ce289 | 2,158 | py | Python | shepherd/blueprints/editor/__init__.py | Systemetric/shepherd | 28473503130cddd2c40702240f3deaad3a21e52b | [
"BSD-2-Clause"
] | null | null | null | shepherd/blueprints/editor/__init__.py | Systemetric/shepherd | 28473503130cddd2c40702240f3deaad3a21e52b | [
"BSD-2-Clause"
] | 8 | 2017-12-13T15:27:52.000Z | 2019-01-27T21:35:14.000Z | shepherd/blueprints/editor/__init__.py | Systemetric/shepherd | 28473503130cddd2c40702240f3deaad3a21e52b | [
"BSD-2-Clause"
] | null | null | null | import json
import os
import os.path as path
import re
from flask import Blueprint, request
blueprint = Blueprint("editor", __name__)
robotsrc_path = path.join(os.getcwd(), "robotsrc")
if not path.exists(robotsrc_path):
os.mkdir(robotsrc_path)
main_path = path.join(robotsrc_path, 'main.py')
main_file = open(main... | 28.394737 | 88 | 0.596386 |
fc875c067551b8d1a269e64390b1063a6b61155d | 272 | kt | Kotlin | zerofx-view-helpers/src/main/kotlin/io/polymorphicpanda/zerofx/template/helpers/ComponentBuilder.kt | raniejade/zerofx | de039a72c7b9408566bcb09c73046eb0273d74eb | [
"MIT"
] | null | null | null | zerofx-view-helpers/src/main/kotlin/io/polymorphicpanda/zerofx/template/helpers/ComponentBuilder.kt | raniejade/zerofx | de039a72c7b9408566bcb09c73046eb0273d74eb | [
"MIT"
] | null | null | null | zerofx-view-helpers/src/main/kotlin/io/polymorphicpanda/zerofx/template/helpers/ComponentBuilder.kt | raniejade/zerofx | de039a72c7b9408566bcb09c73046eb0273d74eb | [
"MIT"
] | null | null | null | package io.polymorphicpanda.zerofx.template.helpers
import io.polymorphicpanda.zerofx.component.Component
import javafx.scene.Node
/**
* @author Ranie Jade Ramiso
*/
class ComponentBuilder<T: Component<*>>(val component: T): Builder<Node>(component.template.root) {
}
| 24.727273 | 99 | 0.779412 |
f3fafeec23cf3ba9b9db5589818b46cd9b715dfc | 252 | sql | SQL | db/migrations/20161009122232_etag.sql | csstaub/gas-web | 15657841c84f079aa7572e18f2b8578ccf41c241 | [
"Apache-2.0"
] | 1 | 2017-12-19T06:24:50.000Z | 2017-12-19T06:24:50.000Z | db/migrations/20161009122232_etag.sql | csstaub/gas-web | 15657841c84f079aa7572e18f2b8578ccf41c241 | [
"Apache-2.0"
] | null | null | null | db/migrations/20161009122232_etag.sql | csstaub/gas-web | 15657841c84f079aa7572e18f2b8578ccf41c241 | [
"Apache-2.0"
] | null | null | null | -- +goose Up
-- SQL in section 'Up' is executed when this migration is applied
ALTER TABLE results ADD COLUMN etag VARCHAR(255);
-- +goose Down
-- SQL section 'Down' is executed when this migration is rolled back
ALTER TABLE RESULTS DROP COLUMN etag;
| 31.5 | 68 | 0.753968 |
b1767520cc698eaa41636570e1a045678e6e0512 | 5,953 | c | C | SOFTWARE/A64-TERES/u-boot_new/arch/arm/cpu/armv8/wine/usb/usbc_dma.c | xloem/DIY-LAPTOP | f2a410706f7a919ac644de073c570629d5601203 | [
"Apache-2.0"
] | null | null | null | SOFTWARE/A64-TERES/u-boot_new/arch/arm/cpu/armv8/wine/usb/usbc_dma.c | xloem/DIY-LAPTOP | f2a410706f7a919ac644de073c570629d5601203 | [
"Apache-2.0"
] | null | null | null | SOFTWARE/A64-TERES/u-boot_new/arch/arm/cpu/armv8/wine/usb/usbc_dma.c | xloem/DIY-LAPTOP | f2a410706f7a919ac644de073c570629d5601203 | [
"Apache-2.0"
] | 1 | 2021-10-31T18:37:47.000Z | 2021-10-31T18:37:47.000Z | /*
* (C) Copyright 2007-2013
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
* Jerry Wang <wangflord@allwinnertech.com>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Ge... | 24.004032 | 89 | 0.541408 |
bb226161901af664c28ccb3c5993de06b714beb6 | 290 | rb | Ruby | spec/ruby/eof_exception_bytes_spec.rb | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 11 | 2018-04-01T03:58:15.000Z | 2021-08-14T09:04:55.000Z | spec/ruby/eof_exception_bytes_spec.rb | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 73 | 2016-07-20T10:27:15.000Z | 2020-12-17T18:56:46.000Z | spec/ruby/eof_exception_bytes_spec.rb | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 37 | 2016-08-15T08:25:56.000Z | 2021-08-28T14:48:46.000Z | # Autogenerated from KST: please remove this line if doing any edits by hand!
require 'eof_exception_bytes'
RSpec.describe EofExceptionBytes do
it 'parses test properly' do
expect {
r = EofExceptionBytes.from_file('src/term_strz.bin')
}.to raise_error(EOFError)
end
end
| 24.166667 | 77 | 0.744828 |