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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0daab0856a85579fc632d5165a616f21616ac38b | 2,081 | asm | Assembly | programs/oeis/159/A159328.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/159/A159328.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/159/A159328.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A159328: Transform of 1 by the T_{1,1} transformation (see link)
; 2,4,10,24,56,130,302,702,1632,3794,8820,20504,47666,110810,257602,598852,1392162,3236384,7523680,17490434,40660326,94523790,219741152,510836202,1187550092,2760719024,6417893090,14919791314,34684306786,80631230820,187444870202,435756455752,101301085767... | 148.642857 | 1,917 | 0.91975 |
6d8684cd6e37d452cdc5e43fd0962b19a45ea09f | 2,359 | kt | Kotlin | src/main/kotlin/zone/nora/slothpixel/skyblock/players/stats/deaths/SkyblockPlayerDeaths.kt | NertCoding/Slothpixel-JVM | 7cd87f7a81d4876af6a49e5aaf616bc306e71f40 | [
"BSD-3-Clause"
] | 6 | 2020-02-17T12:06:13.000Z | 2020-12-18T08:41:28.000Z | src/main/kotlin/zone/nora/slothpixel/skyblock/players/stats/deaths/SkyblockPlayerDeaths.kt | NertCoding/Slothpixel-JVM | 7cd87f7a81d4876af6a49e5aaf616bc306e71f40 | [
"BSD-3-Clause"
] | 3 | 2020-05-04T19:39:14.000Z | 2021-03-11T16:29:23.000Z | src/main/kotlin/zone/nora/slothpixel/skyblock/players/stats/deaths/SkyblockPlayerDeaths.kt | NertCoding/Slothpixel-JVM | 7cd87f7a81d4876af6a49e5aaf616bc306e71f40 | [
"BSD-3-Clause"
] | 4 | 2020-05-04T20:13:00.000Z | 2021-12-14T13:38:22.000Z | package zone.nora.slothpixel.skyblock.players.stats.deaths
import com.google.gson.annotations.SerializedName
class SkyblockPlayerDeaths {
@SerializedName("void")
val void = 0
@SerializedName("ruin_wolf")
val ruinWolf = 0
@SerializedName("dasher_spider")
val dasherSpider = 0
@SerializedN... | 20.336207 | 58 | 0.67783 |
3b82041d683ec0b56655bee383bf14a8eba97535 | 3,443 | h | C | Engine/Source/Runtime/Online/OnlineSubsystemFacebook/Private/IOS/OnlineIdentityFacebook.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | Engine/Source/Runtime/Online/OnlineSubsystemFacebook/Private/IOS/OnlineIdentityFacebook.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | Engine/Source/Runtime/Online/OnlineSubsystemFacebook/Private/IOS/OnlineIdentityFacebook.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
// Module includes
#include "OnlineIdentityInterface.h"
#include "OnlineSubsystemFacebookPackage.h"
/**
* Facebook implementation of the online account information we may want
*/
class FUserOnlineAccountFacebook : public FUserOnlineAccount... | 30.201754 | 154 | 0.791461 |
1bec93e93758ee45b7f7fafe69a3f00abf7caa7e | 54,999 | asm | Assembly | libsrc/math/z88math/z80/bbcmath.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/math/z88math/z80/bbcmath.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/math/z88math/z80/bbcmath.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; This is a slightly modified version of the original source code from
; from: https://github.com/davidgiven/cpmish/tree/master/third_party/bbcbasic
;
; For compatibility with z80asm the following changes were made:
; * TITLE and PAGE directives were commented out
;
; For compatbility with the z88math library the follo... | 24.048535 | 77 | 0.383389 |
c02e690fbcb1219e8cce7d55e1e21a874845b079 | 1,219 | sql | SQL | tests/sql/original_db_setup.sql | ikethecoder/sae-postgres | 8b84fbce45ff1caf7b70a96b4a87857b54fc2e32 | [
"Apache-2.0"
] | 1 | 2019-09-18T20:04:20.000Z | 2019-09-18T20:04:20.000Z | tests/sql/original_db_setup.sql | ikethecoder/sae-postgres | 8b84fbce45ff1caf7b70a96b4a87857b54fc2e32 | [
"Apache-2.0"
] | 7 | 2020-04-16T23:35:59.000Z | 2022-01-10T21:51:24.000Z | tests/sql/original_db_setup.sql | ikethecoder/sae-postgres | 8b84fbce45ff1caf7b70a96b4a87857b54fc2e32 | [
"Apache-2.0"
] | null | null | null | CREATE SCHEMA protected_data;
CREATE SCHEMA working_data;
CREATE ROLE ${WORKSPACE}_contribute;
GRANT USAGE ON SCHEMA protected_data TO ${WORKSPACE}_contribute;
GRANT SELECT ON ALL TABLES IN SCHEMA protected_data TO ${WORKSPACE}_contribute;
GRANT ALL ON ALL TABLES IN SCHEMA working_data TO ${WORKSPACE}_contribute;
GRAN... | 55.409091 | 106 | 0.815422 |
3aac2ea905199d7ef9a0c7c85dadee00a50ebf06 | 407 | lua | Lua | vendor/RainbowRepacker/tool/engine_android(5)/assets/scripts/view/kScreen_1280_800/games/common2/microphoneLayout.lua | huangtao/cloud-test | 8087b1337d47daab9eb39335ca6e286df0e4b4dc | [
"Apache-2.0"
] | 1 | 2018-09-12T15:43:32.000Z | 2018-09-12T15:43:32.000Z | vendor/RainbowRepacker/tool/engine_android(5)/assets/scripts/view/kScreen_1280_800/games/common2/microphoneLayout.lua | huangtao/cloud-test | 8087b1337d47daab9eb39335ca6e286df0e4b4dc | [
"Apache-2.0"
] | null | null | null | vendor/RainbowRepacker/tool/engine_android(5)/assets/scripts/view/kScreen_1280_800/games/common2/microphoneLayout.lua | huangtao/cloud-test | 8087b1337d47daab9eb39335ca6e286df0e4b4dc | [
"Apache-2.0"
] | 3 | 2018-09-12T15:43:33.000Z | 2019-07-10T09:50:15.000Z | microphoneLayout=
{
name="microphoneLayout",type=0,typeName="View",time=0,x=0,y=0,width=68,height=68,visible=1,nodeAlign=kAlignCenter,fillParentWidth=0,fillParentHeight=0,
{
name="microphone",type=1,typeName="Image",time=0,x=0,y=0,width=68,height=68,visible=1,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignCen... | 50.875 | 201 | 0.798526 |
ac7a37161e4324b2aeabb533b43ee4427c92ccb9 | 1,002 | swift | Swift | VastParserSwift/ElemenHandlerImpl/Common/Creatives/Creative/InLine/UniversalAdidElementHandler.swift | DJ110/VastParserSwift | 3d15869708da6d0de3d6a1a5acff50e46542b0ba | [
"MIT"
] | 1 | 2021-07-22T07:13:41.000Z | 2021-07-22T07:13:41.000Z | VastParserSwift/ElemenHandlerImpl/Common/Creatives/Creative/InLine/UniversalAdidElementHandler.swift | DJ110/VastParserSwift | 3d15869708da6d0de3d6a1a5acff50e46542b0ba | [
"MIT"
] | null | null | null | VastParserSwift/ElemenHandlerImpl/Common/Creatives/Creative/InLine/UniversalAdidElementHandler.swift | DJ110/VastParserSwift | 3d15869708da6d0de3d6a1a5acff50e46542b0ba | [
"MIT"
] | null | null | null | //
// UniversalAdidElementHandler.swift
// VastParserSwift
//
// Created by 伊藤大司 on 7/10/20.
// Copyright © 2020 DJ110. All rights reserved.
//
import Foundation
class UniversalAdidElementHandler: ElementHandler {
let rank: Int = 5
func execute(state: ParseState, elementName: String, attributes ... | 30.363636 | 104 | 0.640719 |
763227085f33f67dea6162b54e664890dd685a21 | 3,351 | go | Go | 20211024_graduateProject/iam_study/api/swagger/docs/user_swagger.go | todaynowy/Go_work | 8efba6dd745ffc4485d8fd63f6c89b331aa970ce | [
"MIT"
] | 1 | 2021-07-31T13:38:25.000Z | 2021-07-31T13:38:25.000Z | 20211024_graduateProject/iam_study/api/swagger/docs/user_swagger.go | todaynowy/Go_work | 8efba6dd745ffc4485d8fd63f6c89b331aa970ce | [
"MIT"
] | null | null | null | 20211024_graduateProject/iam_study/api/swagger/docs/user_swagger.go | todaynowy/Go_work | 8efba6dd745ffc4485d8fd63f6c89b331aa970ce | [
"MIT"
] | null | null | null | // Copyright 2020 Lingfei Kong <colin404@foxmail.com>. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package docs
import (
v1 "github.com/marmotedu/api/apiserver/v1"
metav1 "github.com/marmotedu/component-base/pkg/meta/v1"
"github.com/... | 20.685185 | 79 | 0.705163 |
5b5fb5278f333bf2cc263ecdf2e71617ae8efdf1 | 993 | plsql | SQL | database/min_date_from_each_table_in_schema.plsql | bheckel/code | 98309e8aa145901e49460546643c911eaaff54e6 | [
"Apache-2.0"
] | 1 | 2019-08-11T00:39:34.000Z | 2019-08-11T00:39:34.000Z | database/min_date_from_each_table_in_schema.plsql | bheckel/code | 98309e8aa145901e49460546643c911eaaff54e6 | [
"Apache-2.0"
] | null | null | null | database/min_date_from_each_table_in_schema.plsql | bheckel/code | 98309e8aa145901e49460546643c911eaaff54e6 | [
"Apache-2.0"
] | 1 | 2020-07-28T05:58:47.000Z | 2020-07-28T05:58:47.000Z | -- Created: 08-Aug-19 (Bob Heckel)
create or replace PACKAGE BODY RION39366 IS
PROCEDURE do IS
mindt DATE;
CURSOR c1 IS
SELECT table_name, low_value
FROM user_tab_columns
WHERE table_name IN(
SELECT table_name
FROM user_tables
WHERE table_name... | 26.837838 | 91 | 0.553877 |
2f088fcf2481d1ce7610d42370d922174723fb5b | 114 | php | PHP | src/MailerInterface.php | UrosPurtic/mailer | c180192c0da4ec5827b74e146a396a7bb8f0c9ae | [
"MIT"
] | null | null | null | src/MailerInterface.php | UrosPurtic/mailer | c180192c0da4ec5827b74e146a396a7bb8f0c9ae | [
"MIT"
] | 1 | 2020-12-30T09:26:24.000Z | 2020-12-30T09:26:24.000Z | src/MailerInterface.php | UrosPurtic/mailer | c180192c0da4ec5827b74e146a396a7bb8f0c9ae | [
"MIT"
] | 4 | 2020-01-14T13:05:30.000Z | 2020-12-29T06:56:27.000Z | <?php
namespace G4\Mailer;
interface MailerInterface
{
public function send(\G4\Mailer\Message $message);
} | 12.666667 | 54 | 0.736842 |
b1503c87dec70ae3a5fe803e845856310d4c481f | 12,258 | h | C | lib/tableau.h | Alan-Robertson/qecode | fc01e6f66a7fbe4f6b2bda6b3874fd6e5b10c628 | [
"MIT"
] | 4 | 2018-03-07T06:15:32.000Z | 2021-11-17T10:50:15.000Z | lib/tableau.h | Alan-Robertson/qecode | fc01e6f66a7fbe4f6b2bda6b3874fd6e5b10c628 | [
"MIT"
] | null | null | null | lib/tableau.h | Alan-Robertson/qecode | fc01e6f66a7fbe4f6b2bda6b3874fd6e5b10c628 | [
"MIT"
] | null | null | null | #ifndef TABLEAU
#define TABLEAU
// This is a "hidden" column containing the phase information
#define TABLEAU_PHASE_COL (tableau->length)
#include "sym.h"
#include "sym_iter.h"
#include "destabilisers.h"
/*
* tableau_create
* Creates a tableau representation of the stabilisers and destabilisers as per 10.1103/Phy... | 29.537349 | 159 | 0.716185 |
b66648740a90981eb09899ccef0b29a7ff0b1553 | 651 | rb | Ruby | app/models/phone_number_range.rb | amooma/GS5 | acef44a7f28df0274b52a77f3a1d4c9f418d3c63 | [
"MIT"
] | 14 | 2015-01-07T10:20:22.000Z | 2020-02-19T13:35:26.000Z | app/models/phone_number_range.rb | tpizzle/GS5 | acef44a7f28df0274b52a77f3a1d4c9f418d3c63 | [
"MIT"
] | 3 | 2015-07-22T04:35:10.000Z | 2021-02-20T14:07:27.000Z | app/models/phone_number_range.rb | tpizzle/GS5 | acef44a7f28df0274b52a77f3a1d4c9f418d3c63 | [
"MIT"
] | 20 | 2015-04-08T07:23:21.000Z | 2021-09-11T09:05:38.000Z | class PhoneNumberRange < ActiveRecord::Base
attr_accessible :name, :description
has_many :phone_numbers, :as => :phone_numberable, :dependent => :destroy
belongs_to :phone_number_rangeable, :polymorphic => true
validates_presence_of :name
validates_uniqueness_of :name, :scope => [:phone_number_rangeable_i... | 38.294118 | 165 | 0.794163 |
7b4c8bf3520e859c9e031401f33dfc7d64c452bd | 1,138 | css | CSS | dist/css/home.css | hecto932/vw-react | 1230e136cbe8b2737c0e06639ff043c560c021a8 | [
"Unlicense"
] | 1 | 2019-02-11T04:02:34.000Z | 2019-02-11T04:02:34.000Z | dist/css/home.css | hecto932/vw-react | 1230e136cbe8b2737c0e06639ff043c560c021a8 | [
"Unlicense"
] | null | null | null | dist/css/home.css | hecto932/vw-react | 1230e136cbe8b2737c0e06639ff043c560c021a8 | [
"Unlicense"
] | null | null | null | .Job{margin-top:1em}
.notifications-mobile{display:none}.display-inline{display:inline}.nav-icons{font-size:1.5em;margin:0px 0.2em;color:#a1a3a6;text-align:center}.search-form{margin-right:1em}.search-input{display:inline;border-radius:7px 0px 0px 7px;margin-right:0 !important;-webkit-transition:all 1s ease;-moz-transi... | 379.333333 | 1,116 | 0.800527 |
ed2e5936c047c79d0ffb89e44f71f327f62c7147 | 281 | lua | Lua | gamestates/died.lua | usysrc/MagicRealms | e1febee9c6ab238e8575f4ba135e8210d6b13902 | [
"0BSD"
] | null | null | null | gamestates/died.lua | usysrc/MagicRealms | e1febee9c6ab238e8575f4ba135e8210d6b13902 | [
"0BSD"
] | null | null | null | gamestates/died.lua | usysrc/MagicRealms | e1febee9c6ab238e8575f4ba135e8210d6b13902 | [
"0BSD"
] | null | null | null | local Gamestate = require "lib.hump.gamestate"
local died = {}
died.draw = function()
love.graphics.clear()
love.graphics.print("YOU DIED", 250, 150)
end
died.keypressed = function(self, key)
if key == "escape" then
love.event.quit()
end
end
return died | 17.5625 | 46 | 0.658363 |
37d103f1f4f83658b1c037c4bc23cf0c2f00d080 | 2,952 | swift | Swift | Extra/Classes/Foundation/String+Extra.swift | rpedepoy/Extra | e15880aa421161a3723fee2a12cef6f2f2c445b6 | [
"MIT"
] | 24 | 2017-02-22T14:38:54.000Z | 2020-03-20T15:07:21.000Z | Extra/Classes/Foundation/String+Extra.swift | rpedepoy/Extra | e15880aa421161a3723fee2a12cef6f2f2c445b6 | [
"MIT"
] | 4 | 2017-07-13T09:34:16.000Z | 2020-03-30T14:34:51.000Z | Extra/Classes/Foundation/String+Extra.swift | rpedepoy/Extra | e15880aa421161a3723fee2a12cef6f2f2c445b6 | [
"MIT"
] | 5 | 2018-03-22T08:30:33.000Z | 2020-12-14T12:39:04.000Z | // The MIT License (MIT)
//
// Copyright (c) 2017 Smart&Soft
//
// 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... | 39.36 | 113 | 0.676829 |
3306b230b7b452f85e6bb142239de2540a26cb53 | 72 | py | Python | marrow/interface/__init__.py | marrow/interface | 4d60f9fc16e949c5da3b3756c77d60fe84f0ed2d | [
"MIT"
] | 2 | 2016-03-22T15:21:48.000Z | 2017-02-21T23:52:46.000Z | marrow/interface/__init__.py | marrow/interface | 4d60f9fc16e949c5da3b3756c77d60fe84f0ed2d | [
"MIT"
] | 1 | 2019-01-21T22:09:00.000Z | 2019-01-21T22:09:00.000Z | marrow/interface/__init__.py | marrow/interface | 4d60f9fc16e949c5da3b3756c77d60fe84f0ed2d | [
"MIT"
] | 2 | 2015-12-21T03:24:06.000Z | 2016-11-10T15:19:27.000Z | from .meta import Interface
from .release import version as __version__
| 24 | 43 | 0.833333 |
2a85605e53204539e77ee83f1493a2d43da7cc0d | 703 | java | Java | src/net/jmui/builds/BuildSelector.java | jmui/JumiBot | 566eff0ce620be0176f1129ee37560f80a5f6174 | [
"MIT"
] | null | null | null | src/net/jmui/builds/BuildSelector.java | jmui/JumiBot | 566eff0ce620be0176f1129ee37560f80a5f6174 | [
"MIT"
] | null | null | null | src/net/jmui/builds/BuildSelector.java | jmui/JumiBot | 566eff0ce620be0176f1129ee37560f80a5f6174 | [
"MIT"
] | null | null | null | package net.jmui.builds;
import bwapi.*;
import bwta.BWTA;
import bwta.BaseLocation;
import net.jmui.JumiBot;
public class BuildSelector {
private DefaultBuild currentBuild;
private Player self;
private JumiBot bot;
private Game game;
//constructor
public BuildSelector(Player self, JumiBot bot, Game game) {
... | 17.575 | 60 | 0.72404 |
4f548e6a472a6a744d316f3cf7645ada6211f14a | 149 | sql | SQL | src/test/resources/sql/select/f5704318.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/select/f5704318.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/select/f5704318.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:jsonb.sql ln:620 expect:true
SELECT jsa FROM jsonb_populate_record(NULL::jsbrec, '{"jsa": ["aaa", null, [1, 2, "3", {}], { "k" : "v" }]}') q
| 49.666667 | 111 | 0.583893 |
584cf75a6db9476de3200ab4f0b1698b00a727a3 | 2,209 | h | C | bs_bos_core_base/include/omp_tools.h | bs-eagle/bs-eagle | b1017a4f6ac2dcafba2deafec84052ddde792671 | [
"BSD-3-Clause"
] | 7 | 2015-07-16T22:30:36.000Z | 2020-02-06T10:16:42.000Z | bs_bos_core_base/include/omp_tools.h | bs-eagle/bs-eagle | b1017a4f6ac2dcafba2deafec84052ddde792671 | [
"BSD-3-Clause"
] | null | null | null | bs_bos_core_base/include/omp_tools.h | bs-eagle/bs-eagle | b1017a4f6ac2dcafba2deafec84052ddde792671 | [
"BSD-3-Clause"
] | 3 | 2017-01-05T20:06:28.000Z | 2021-12-20T16:19:10.000Z | #ifndef __OMP_TOOLS_H_
#define __OMP_TOOLS_H_
/*!
* \file omp_tools.h
* \brief omp tools and definitions
* \author Khait Mark
* \date 2006-07-21
*/
//#define OMP_DEBUG
#ifdef UNIX
#ifndef _OPENMP
#undef OMP_DEBUG
#endif
#endif
#ifdef OMP_DEBUG
#include <omp.h>
//! start OMP time measure
#define OMP_TIME_MEASU... | 25.988235 | 72 | 0.775917 |
e364fa0ab16d76cd9b3cd2cb70735cdeea7b59e5 | 1,650 | sql | SQL | backend/dal/Migrations/Initial/Up/PostUp/02-ProjectStatusNotifications.sql | agalbrai/PIMS | 79a25f66e873143de96e926f122e08ab844b5b43 | [
"Apache-2.0"
] | 20 | 2020-02-03T23:46:56.000Z | 2022-03-30T22:01:36.000Z | backend/dal/Migrations/Initial/Up/PostUp/02-ProjectStatusNotifications.sql | agalbrai/PIMS | 79a25f66e873143de96e926f122e08ab844b5b43 | [
"Apache-2.0"
] | 818 | 2019-12-04T21:39:55.000Z | 2022-03-31T22:34:53.000Z | backend/dal/Migrations/Initial/Up/PostUp/02-ProjectStatusNotifications.sql | agalbrai/PIMS | 79a25f66e873143de96e926f122e08ab844b5b43 | [
"Apache-2.0"
] | 26 | 2020-01-08T00:02:24.000Z | 2022-01-18T22:53:44.000Z | PRINT 'Adding ProjectStatusNotifications'
INSERT INTO dbo.[ProjectStatusNotifications]
(
[TemplateId]
, [FromStatusId]
, [ToStatusId]
, [Priority]
, [Delay]
, [DelayDays]
)
VALUES
(
1 -- New Disposal Project Submitted
, 6
, 7
, 2
, 0
, 0
), (
1 -- New Disposa... | 13.865546 | 54 | 0.458788 |
c7f050ffe5c25222da278df2964596faafed430d | 1,560 | py | Python | custom_components/eldes_alarm/binary_sensor.py | samuolis/eldes | ae81fa1c165ba36c4294328dd8657812c3767f7d | [
"MIT"
] | 7 | 2022-01-31T19:00:05.000Z | 2022-02-20T14:48:34.000Z | custom_components/eldes_alarm/binary_sensor.py | samuolis/eldes | ae81fa1c165ba36c4294328dd8657812c3767f7d | [
"MIT"
] | 9 | 2022-01-29T12:12:03.000Z | 2022-03-30T15:46:44.000Z | custom_components/eldes_alarm/binary_sensor.py | samuolis/eldes | ae81fa1c165ba36c4294328dd8657812c3767f7d | [
"MIT"
] | 3 | 2022-02-01T16:26:40.000Z | 2022-02-20T15:27:12.000Z | """Support for Eldes sensors."""
import logging
from homeassistant.components.binary_sensor import (
DEVICE_CLASS_CONNECTIVITY,
BinarySensorEntity
)
from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant, callback
from .const import (
DATA_CLIENT,
DATA_COORDI... | 28.363636 | 89 | 0.712179 |
131935b41e66d4990f7841756632768ad75e6103 | 4,386 | h | C | _midynet/include/FastMIDyNet/prior/sbm/vertex_count.h | charlesmurphy1/fast-midynet | 22071d49077fce9d5f99a4664f36767b27edea64 | [
"MIT"
] | null | null | null | _midynet/include/FastMIDyNet/prior/sbm/vertex_count.h | charlesmurphy1/fast-midynet | 22071d49077fce9d5f99a4664f36767b27edea64 | [
"MIT"
] | null | null | null | _midynet/include/FastMIDyNet/prior/sbm/vertex_count.h | charlesmurphy1/fast-midynet | 22071d49077fce9d5f99a4664f36767b27edea64 | [
"MIT"
] | null | null | null | #ifndef FAST_MIDYNET_VERTEX_COUNT_H
#define FAST_MIDYNET_VERTEX_COUNT_H
#include <vector>
#include "BaseGraph/types.h"
#include "FastMIDyNet/prior/prior.hpp"
#include "FastMIDyNet/exceptions.h"
#include "FastMIDyNet/prior/sbm/block_count.h"
#include "FastMIDyNet/utility/functions.h"
namespace FastMIDyNet{
class Ver... | 38.814159 | 156 | 0.720246 |
cb6e1aecba51ece733052bad1e780e2e214a2935 | 638 | swift | Swift | ChefCraft/Flow/Recipe Detail View/RecipeDetailViewModel.swift | ivfomenko/ChefCraft | 4942dd8170ee6821c8fa86a592b883c862b14f06 | [
"MIT"
] | null | null | null | ChefCraft/Flow/Recipe Detail View/RecipeDetailViewModel.swift | ivfomenko/ChefCraft | 4942dd8170ee6821c8fa86a592b883c862b14f06 | [
"MIT"
] | null | null | null | ChefCraft/Flow/Recipe Detail View/RecipeDetailViewModel.swift | ivfomenko/ChefCraft | 4942dd8170ee6821c8fa86a592b883c862b14f06 | [
"MIT"
] | null | null | null | //
// RecipeDetailViewModel.swift
// ChefCraft
//
// Created by Ivan Fomenko on 19.11.2019.
// Copyright © 2019 Ivan Fomenko. All rights reserved.
//
import RxSwift
import RxCocoa
class RecipeDetailViewModel {
// MARK: - Router
var router: RecipeDetailRouter
var repository: RecipeDetailRepository... | 21.266667 | 101 | 0.684953 |
1666f58123c8d925d77e1da822fecaa1fffd98cf | 1,293 | swift | Swift | akane/ViewController/NewArticleListViewController.swift | slightair/akane | 4575a2057c89c80229872812b2c744758523e7ca | [
"MIT"
] | 4 | 2017-04-18T07:50:53.000Z | 2017-08-22T03:34:44.000Z | akane/ViewController/NewArticleListViewController.swift | slightair/akane | 4575a2057c89c80229872812b2c744758523e7ca | [
"MIT"
] | null | null | null | akane/ViewController/NewArticleListViewController.swift | slightair/akane | 4575a2057c89c80229872812b2c744758523e7ca | [
"MIT"
] | null | null | null | import UIKit
import RxSwift
import RxCocoa
class NewArticleListViewController: UIViewController {
@IBOutlet weak var tableView: UITableView!
let disposeBag = DisposeBag()
override func viewDidLoad() {
super.viewDidLoad()
let refreshControl = UIRefreshControl()
tableView.refreshCo... | 31.536585 | 98 | 0.636504 |
014d88b3c159fa01914d49a07f2664d711f17372 | 455 | rs | Rust | pi_nilakantha.rs | vizs/rs-math | fb093abe1dc0934f7e801e62471ee7196d449296 | [
"BSD-2-Clause"
] | null | null | null | pi_nilakantha.rs | vizs/rs-math | fb093abe1dc0934f7e801e62471ee7196d449296 | [
"BSD-2-Clause"
] | null | null | null | pi_nilakantha.rs | vizs/rs-math | fb093abe1dc0934f7e801e62471ee7196d449296 | [
"BSD-2-Clause"
] | null | null | null | fn main() {
let argv: Vec<String> = std::env::args().collect();
let uplimit: u64 = argv[1].trim()
.parse()
.unwrap();
let mut den: f64 = 0.0;
for n in 1..=uplimit {
let d = (2*n) * (2*n + 1) * (2*n + 2);
if n % 2 == 0 {
... | 22.75 | 55 | 0.340659 |
38d6857e76dbe3c5d105d0f34ceaab998c4467ba | 2,038 | h | C | JUtilities/Foundation/NSObject+Utilities.h | wishWinds/JUtilities | adb1fb1b09fbad7c55ef8336f3a42209e17e1f8d | [
"MIT"
] | null | null | null | JUtilities/Foundation/NSObject+Utilities.h | wishWinds/JUtilities | adb1fb1b09fbad7c55ef8336f3a42209e17e1f8d | [
"MIT"
] | null | null | null | JUtilities/Foundation/NSObject+Utilities.h | wishWinds/JUtilities | adb1fb1b09fbad7c55ef8336f3a42209e17e1f8d | [
"MIT"
] | null | null | null | //
// NSObject+Utilities.h
// JUtilities
//
// Created by shupeng on 2019/4/29.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSObject (Utilities)
#pragma mark - Associate value
///=============================================================================
/// @name Associate value
///... | 21.680851 | 88 | 0.656035 |
0e8759cd5cad3321ece39bf51e82ac0c57ad335c | 1,299 | swift | Swift | TabbedPageView/TabIconCollectionViewCell.swift | michaelonjack/TabbedPageView | a42dfcda9209e21c57182e58fbaed01d186371bf | [
"MIT"
] | 3 | 2018-11-20T15:44:13.000Z | 2019-05-13T12:25:39.000Z | TabbedPageView/TabIconCollectionViewCell.swift | michaelonjack/TabbedPageView | a42dfcda9209e21c57182e58fbaed01d186371bf | [
"MIT"
] | 4 | 2018-12-21T01:44:00.000Z | 2019-09-11T23:14:25.000Z | TabbedPageView/TabIconCollectionViewCell.swift | michaelonjack/TabbedPageView | a42dfcda9209e21c57182e58fbaed01d186371bf | [
"MIT"
] | null | null | null | //
// TabCollectionViewCell.swift
// TabbedPageView
//
// Created by Michael Onjack on 11/3/18.
// Copyright © 2018 Michael Onjack. All rights reserved.
//
import UIKit
class TabIconCollectionViewCell: UICollectionViewCell {
lazy var imageView: UIImageView = {
var iv = UIImageView(frame: .zero)
... | 25.98 | 92 | 0.636644 |
c0c41c3940570626685faa58a962f42ce6a02669 | 765 | sql | SQL | api/app/sql/control/tracking/user/get/lecturer/lectures.sql | mohamed-waleed-rady/elearning-php | 3fcb31e2ee55f067954f1468969487d8c982a703 | [
"MIT"
] | 1 | 2021-06-14T21:03:56.000Z | 2021-06-14T21:03:56.000Z | api/app/sql/control/tracking/user/get/lecturer/lectures.sql | mohamedwr/elearning-php | 3fcb31e2ee55f067954f1468969487d8c982a703 | [
"MIT"
] | null | null | null | api/app/sql/control/tracking/user/get/lecturer/lectures.sql | mohamedwr/elearning-php | 3fcb31e2ee55f067954f1468969487d8c982a703 | [
"MIT"
] | null | null | null |
SELECT
lectures.id, lectures.name,
courses.name as course,
lectures.type, lectures.nu,
COUNT(tracking.id) as views,
lectures.stamp
FROM
lectures
JOIN users ON users.id = %d AND users.type = 'lecturer' AND users.blocked = 0 AND users.deleted = 0
JOIN courses ON courses.id = lectures.course AND cour... | 28.333333 | 140 | 0.720261 |
9965f5b9d5ea3d3ac310f486acbab0fa41443e96 | 305 | c | C | level4/source.c | olesgedz/RainFall | 306519fc45a50d0f487d6b68f00244612edeb79f | [
"Unlicense"
] | null | null | null | level4/source.c | olesgedz/RainFall | 306519fc45a50d0f487d6b68f00244612edeb79f | [
"Unlicense"
] | null | null | null | level4/source.c | olesgedz/RainFall | 306519fc45a50d0f487d6b68f00244612edeb79f | [
"Unlicense"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
int m = 0;
int p(char *buffer)
{
printf(buffer);
return (0);
}
int n(void)
{
char buffer[512];
fgets(buffer, 512, stdin);
p(buffer);
if (m == 0x1025544)
system("/bin/cat /home/user/level5/.pass");
return (0);
}
int main(void)
{
n();
return (0);
} | 11.296296 | 45 | 0.590164 |
9d31ae5fbfff9ea3d173fc06669d35df9f6d703f | 1,358 | html | HTML | ksr_customisations/ksrnr_customisations/report/government_salary_pdf/government_salary_pdf.html | dawoodjee/ksr_customisations | 78fcb60a021557063ccbceabab7279082e10be95 | [
"MIT"
] | null | null | null | ksr_customisations/ksrnr_customisations/report/government_salary_pdf/government_salary_pdf.html | dawoodjee/ksr_customisations | 78fcb60a021557063ccbceabab7279082e10be95 | [
"MIT"
] | null | null | null | ksr_customisations/ksrnr_customisations/report/government_salary_pdf/government_salary_pdf.html | dawoodjee/ksr_customisations | 78fcb60a021557063ccbceabab7279082e10be95 | [
"MIT"
] | null | null | null | <style>
@media print {
.print-format table {
font-size: xx-small;
width: 100%;
}
.print-format {
padding:1em;
}
}
</style>
{%
var report_columns = report.get_columns_for_print();
%}
{%= frappe.boot.letter_heads[filters.letter_head || frappe.... | 25.148148 | 130 | 0.53461 |
7e989fdeb320eec7affcced56a9a0b8e4a8c59e8 | 5,010 | dart | Dart | lib/store/settings/blocklist_settings_store.dart | loshine/flutter-nga | e1a44e70a8a4160fd728660fd286c0184bc22a19 | [
"Apache-2.0"
] | 20 | 2018-12-10T06:18:18.000Z | 2022-03-02T02:23:47.000Z | lib/store/settings/blocklist_settings_store.dart | loshine/flutter-nga | e1a44e70a8a4160fd728660fd286c0184bc22a19 | [
"Apache-2.0"
] | 4 | 2018-12-17T03:50:55.000Z | 2021-12-24T07:12:27.000Z | lib/store/settings/blocklist_settings_store.dart | loshine/flutter-nga | e1a44e70a8a4160fd728660fd286c0184bc22a19 | [
"Apache-2.0"
] | 7 | 2018-12-10T02:16:19.000Z | 2022-03-01T06:43:38.000Z | import 'package:flutter_nga/data/data.dart';
import 'package:flutter_nga/data/entity/block.dart';
import 'package:mmkv/mmkv.dart';
import 'package:mobx/mobx.dart';
part 'blocklist_settings_store.g.dart';
class BlocklistSettingsStore = _BlocklistSettingsStore
with _$BlocklistSettingsStore;
enum BlockMode { COLLAP... | 23.744076 | 80 | 0.631337 |
16e0270b14e446c6e8b22869c8f138a8a9d98fbe | 463 | tsx | TypeScript | frontend/models/Sellers.tsx | JDaniloC/Individual-Licenciador | 31f710773a9f3e0acfe11410578e63cd1ac8a557 | [
"0BSD"
] | null | null | null | frontend/models/Sellers.tsx | JDaniloC/Individual-Licenciador | 31f710773a9f3e0acfe11410578e63cd1ac8a557 | [
"0BSD"
] | 17 | 2021-03-17T00:55:07.000Z | 2022-01-17T13:21:36.000Z | frontend/models/Sellers.tsx | JDaniloC/Individual-Licenciador | 31f710773a9f3e0acfe11410578e63cd1ac8a557 | [
"0BSD"
] | 2 | 2021-03-17T01:03:37.000Z | 2021-03-18T22:22:24.000Z | import mongoose from 'mongoose';
export interface SellerSchema {
email: String,
password: String,
type: String,
licenses: Number,
showBots: Boolean,
botList: Array<string>,
}
const SellerModel = new mongoose.Schema({
email: String,
type: String,
password: String,
licenses: N... | 21.045455 | 42 | 0.663067 |
6eeb3bf3ff799bce2dc863387bc027dc6111e8f1 | 34,663 | html | HTML | app/index.html | jobayerarman/electron-crud | 2380937453c0ad605622005a992b617c1cdb5e49 | [
"MIT"
] | null | null | null | app/index.html | jobayerarman/electron-crud | 2380937453c0ad605622005a992b617c1cdb5e49 | [
"MIT"
] | null | null | null | app/index.html | jobayerarman/electron-crud | 2380937453c0ad605622005a992b617c1cdb5e49 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<!--<base href="#" />-->
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awe... | 39.03491 | 165 | 0.405274 |
31660a1182a4a8d1b34a942fc3acf3f43dcba54c | 286 | sql | SQL | data_loading/load_patient.sql | renuka-fernando/diabetes_data_warehouse | 3f6c058ab19d764986ba334ce2bd0ccd56f223c6 | [
"MIT"
] | 8 | 2018-11-12T00:47:37.000Z | 2022-03-17T09:58:43.000Z | data_loading/load_patient.sql | renuka-fernando/diabetes_data_warehouse | 3f6c058ab19d764986ba334ce2bd0ccd56f223c6 | [
"MIT"
] | 8 | 2018-06-23T17:00:38.000Z | 2021-03-19T08:09:45.000Z | data_loading/load_patient.sql | renuka-fernando/diabetes_data_warehouse | 3f6c058ab19d764986ba334ce2bd0ccd56f223c6 | [
"MIT"
] | 3 | 2018-06-23T13:08:29.000Z | 2018-08-29T15:37:02.000Z | INSERT INTO `diabetes_dwh`.`dim_patient` (`patient_number`, `race`, `gender`, `age`)
SELECT DISTINCT `patient_nbr`, `race`, `gender`, `age`
FROM `diabetes_dwh_staging`.`dataset_modified`
ORDER BY `patient_nbr`, `age`;
SELECT *
FROM `diabetes_dwh`.`dim_patient`
WHERE `patient_sk` = 62; | 35.75 | 84 | 0.730769 |
c2c197b9d1aed50c2c0c56d481bcc2ad13d5e6fd | 253 | go | Go | config/status.go | djbender/muss | dcbc093f91c8abfe1aedcd0486900c2323e0c377 | [
"MIT"
] | 3 | 2019-12-18T15:40:37.000Z | 2020-04-18T02:21:50.000Z | config/status.go | djbender/muss | dcbc093f91c8abfe1aedcd0486900c2323e0c377 | [
"MIT"
] | 12 | 2020-11-19T23:47:05.000Z | 2021-03-19T23:26:30.000Z | config/status.go | djbender/muss | dcbc093f91c8abfe1aedcd0486900c2323e0c377 | [
"MIT"
] | 2 | 2020-03-02T23:09:41.000Z | 2020-04-06T17:04:11.000Z | package config
import (
"time"
)
// StatusConfig defines how to determine project status.
type StatusConfig struct {
Exec []string `yaml:"exec"`
LineFormat string `yaml:"line_format"`
Interval time.Duration `yaml:"interval"`
}
| 19.461538 | 56 | 0.679842 |
75dbeebea454f6fdaf3c49ea3fe285b67bbae33f | 1,746 | php | PHP | resources/views/admin/categories/index.blade.php | iamfrego/laravel-boolpress | 9cbe3f83bb94dcfe43d17818c10a826f5cccf80f | [
"MIT"
] | null | null | null | resources/views/admin/categories/index.blade.php | iamfrego/laravel-boolpress | 9cbe3f83bb94dcfe43d17818c10a826f5cccf80f | [
"MIT"
] | null | null | null | resources/views/admin/categories/index.blade.php | iamfrego/laravel-boolpress | 9cbe3f83bb94dcfe43d17818c10a826f5cccf80f | [
"MIT"
] | null | null | null | @extends('layouts.admin')
@section('content')
<div class="container mt-5">
<h1>Categories</h1>
<div class="row">
<div class="col-md-8">
<!-- Form per creare una categoria -->
<form action="{{ route('admin.categories.store') }}" method="post">
... | 42.585366 | 118 | 0.415808 |
8fcbd1416f033c2590018f98b398e57aa2fd7c01 | 3,148 | kt | Kotlin | quality/src/main/kotlin/net/twisterrob/gradle/quality/report/html/model/LintMessageDetailsSplitter.kt | TWiStErRob/net.twisterrob.gradle.quality | b1363d4c90d3db43e5c77efe9738b538d312d263 | [
"MIT"
] | 7 | 2018-01-24T18:44:08.000Z | 2021-12-20T22:06:14.000Z | quality/src/main/kotlin/net/twisterrob/gradle/quality/report/html/model/LintMessageDetailsSplitter.kt | TWiStErRob/net.twisterrob.gradle.quality | b1363d4c90d3db43e5c77efe9738b538d312d263 | [
"MIT"
] | 161 | 2018-01-29T00:05:46.000Z | 2022-03-29T11:21:18.000Z | quality/src/main/kotlin/net/twisterrob/gradle/quality/report/html/model/LintMessageDetailsSplitter.kt | TWiStErRob/net.twisterrob.gradle.quality | b1363d4c90d3db43e5c77efe9738b538d312d263 | [
"MIT"
] | null | null | null | package net.twisterrob.gradle.quality.report.html.model
import net.twisterrob.gradle.quality.Violation
class LintMessageDetailsSplitter {
data class MessageDetails(
val title: String,
val message: String,
val description: String
)
fun split(v: Violation): MessageDetails {
val handler = specialCases[v.rul... | 30.563107 | 131 | 0.59784 |
291bfbb6b5b2b9e12bc73b5eb65200e4deaf9fa0 | 42 | py | Python | All_Source_Code/VisionDeepLearning/VisionDeepLearning_2.py | APMonitor/pds | fa9a7ec920802de346dcdf7f5dd92d752142c16f | [
"MIT"
] | 11 | 2021-01-21T09:46:29.000Z | 2022-03-16T19:33:10.000Z | All_Source_Code/VisionDeepLearning/VisionDeepLearning_2.py | the-mahapurush/pds | 7cb4087dd8e75cb1e9b2a4283966c798175f61f7 | [
"MIT"
] | 1 | 2022-03-16T19:47:09.000Z | 2022-03-16T20:11:50.000Z | All_Source_Code/VisionDeepLearning/VisionDeepLearning_2.py | the-mahapurush/pds | 7cb4087dd8e75cb1e9b2a4283966c798175f61f7 | [
"MIT"
] | 12 | 2021-02-08T21:11:11.000Z | 2022-03-20T12:42:49.000Z | for x in faces:
print(x['confidence']) | 21 | 26 | 0.642857 |
1122a90ec220d4b91ae8ae8d8551ce6012235e92 | 5,456 | sql | SQL | cruise.sql | PelnaE/cruise-organizing | ce3c661d8c96344d0ded757db84732c98408db10 | [
"MIT"
] | null | null | null | cruise.sql | PelnaE/cruise-organizing | ce3c661d8c96344d0ded757db84732c98408db10 | [
"MIT"
] | null | null | null | cruise.sql | PelnaE/cruise-organizing | ce3c661d8c96344d0ded757db84732c98408db10 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 17, 2018 at 06:20 PM
-- Server version: 10.1.29-MariaDB
-- PHP Version: 7.1.12
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OL... | 21.480315 | 121 | 0.628299 |
7d934476aeb43e1671ee385e19c0cb39c657c811 | 4,837 | dart | Dart | lib/src/date_checker_base.dart | CalvinGonsalves/date_checker | b7cc987b2c51cb376d69781ce1ba354dc9ef82e6 | [
"BSD-3-Clause"
] | null | null | null | lib/src/date_checker_base.dart | CalvinGonsalves/date_checker | b7cc987b2c51cb376d69781ce1ba354dc9ef82e6 | [
"BSD-3-Clause"
] | null | null | null | lib/src/date_checker_base.dart | CalvinGonsalves/date_checker | b7cc987b2c51cb376d69781ce1ba354dc9ef82e6 | [
"BSD-3-Clause"
] | null | null | null | ///Returns the first day of the week in which [date] is present. If [date] is
///not provided,
///the current day `DateTime.now()` is considered.
///
///```
///var moonLanding = DateTime.parse("1969-07-20 20:18:04Z");
///assert(weekStart(date: moonLanding) == DateTime(1969, 7, 14));
///assert(weekStart(date: moonLandin... | 30.23125 | 80 | 0.652264 |
a00e7a5700b4b6c515568aea5fbb738b80dd7d2b | 750 | swift | Swift | RWCoreDataViewer/RWCoreDataEntity.swift | richmondwatkins/RWCoreDataViewer | eb3f36abb0b19565ee0b23a40b4d5e9c72b02e7d | [
"MIT"
] | 15 | 2016-04-15T23:34:35.000Z | 2021-06-11T07:36:50.000Z | RWCoreDataViewer/RWCoreDataEntity.swift | richmondwatkins/RWCoreDataViewer | eb3f36abb0b19565ee0b23a40b4d5e9c72b02e7d | [
"MIT"
] | null | null | null | RWCoreDataViewer/RWCoreDataEntity.swift | richmondwatkins/RWCoreDataViewer | eb3f36abb0b19565ee0b23a40b4d5e9c72b02e7d | [
"MIT"
] | 2 | 2016-06-30T09:55:52.000Z | 2016-06-30T21:32:00.000Z | //
// AMACoreDataEntiry.swift
// AMAUtils
//
// Created by Watkins, Richmond on 4/13/16.
// Copyright © 2016 Asurion. All rights reserved.
//
import UIKit
import CoreData
class RWCoreDataEntity {
let entityName: String
let properties: [RWProperty]
let fetchResults: NSArray
init(entityName: S... | 25.862069 | 98 | 0.674667 |
0c854c215d158012c99078b8d02a0bf8423f9708 | 20,048 | py | Python | bookworm/ocr/ocr_dialogs.py | xingkong0113/bookworm | 7214067f48e7a951198806a1f9170e3fd8fc0cce | [
"MIT"
] | 36 | 2020-11-15T03:21:39.000Z | 2022-03-05T01:11:26.000Z | bookworm/ocr/ocr_dialogs.py | xingkong0113/bookworm | 7214067f48e7a951198806a1f9170e3fd8fc0cce | [
"MIT"
] | 90 | 2020-10-06T14:46:07.000Z | 2022-03-31T03:03:34.000Z | bookworm/ocr/ocr_dialogs.py | xingkong0113/bookworm | 7214067f48e7a951198806a1f9170e3fd8fc0cce | [
"MIT"
] | 20 | 2020-09-30T17:40:44.000Z | 2022-03-17T19:59:53.000Z | # coding: utf-8
import wx
import wx.lib.sized_controls as sc
from dataclasses import dataclass
from functools import partial
from wx.adv import CommandLinkButton
from bookworm import app
from bookworm import config
from bookworm import typehints as t
from bookworm.i18n import LocaleInfo
from bookworm.concurrency impor... | 39.232877 | 105 | 0.610934 |
6cd28075b9f313e10b6e039f8dede9657eeba7a7 | 1,943 | go | Go | contrib/cmd/cli/param_parser.go | TsuyoshiUshio/azure-service-broker | 9b3b8900e08767e411efb49f9d5045bcb60fb9b5 | [
"MIT"
] | null | null | null | contrib/cmd/cli/param_parser.go | TsuyoshiUshio/azure-service-broker | 9b3b8900e08767e411efb49f9d5045bcb60fb9b5 | [
"MIT"
] | null | null | null | contrib/cmd/cli/param_parser.go | TsuyoshiUshio/azure-service-broker | 9b3b8900e08767e411efb49f9d5045bcb60fb9b5 | [
"MIT"
] | null | null | null | package main
import (
"fmt"
"strconv"
"strings"
"github.com/Azure/azure-service-broker/contrib/pkg/client"
"github.com/urfave/cli"
)
func parseParams(c *cli.Context) (map[string]interface{}, error) {
params := client.ProvisioningParameters{}
rawParamStrs := c.StringSlice(flagParameter)
for _, rawParamStr := ... | 23.987654 | 71 | 0.671642 |
b2b4b4908763c3a4a83c42ca39a61f42cc6d7104 | 800 | py | Python | galaxy_kickstart/binary_datatypes_to_be_added_in_galaxy.py | pajanne/galaxy-kickstart | a2e8a9d5f4e610f00548deab691d71290aa3a3b7 | [
"MIT"
] | 2 | 2016-08-04T19:16:17.000Z | 2016-08-04T19:45:58.000Z | galaxy_kickstart/binary_datatypes_to_be_added_in_galaxy.py | pajanne/galaxy-kickstart | a2e8a9d5f4e610f00548deab691d71290aa3a3b7 | [
"MIT"
] | null | null | null | galaxy_kickstart/binary_datatypes_to_be_added_in_galaxy.py | pajanne/galaxy-kickstart | a2e8a9d5f4e610f00548deab691d71290aa3a3b7 | [
"MIT"
] | null | null | null | class CompressedFastq( CompressedArchive ):
"""
Class describing an compressed fastq file
This class can be sublass'ed to implement archive filetypes that will not be unpacked by upload.py.
"""
file_ext = "fq.gz"
def set_peek( self, dataset, is_multi_byte=False ):
if not dataset... | 33.333333 | 107 | 0.62625 |
9ee5a752ffdf7bddf6387e4450aa7143011e44ff | 2,287 | rs | Rust | agent/resource-agent/examples/duplicator_resource_agent/main.rs | webern/bottlerocket-test-system | 6b523be719c79449784ae75b7bc18056d857aa89 | [
"Apache-2.0",
"MIT"
] | 10 | 2022-02-04T22:24:01.000Z | 2022-03-03T21:25:35.000Z | agent/resource-agent/examples/duplicator_resource_agent/main.rs | webern/bottlerocket-test-system | 6b523be719c79449784ae75b7bc18056d857aa89 | [
"Apache-2.0",
"MIT"
] | 78 | 2022-02-04T23:01:29.000Z | 2022-03-31T17:12:00.000Z | agent/resource-agent/examples/duplicator_resource_agent/main.rs | webern/bottlerocket-test-system | 6b523be719c79449784ae75b7bc18056d857aa89 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-09T18:53:32.000Z | 2022-03-09T18:53:32.000Z | /*!
This program takes its input (the "spec") and writes it to its output (the "created resource"). The
purpose of this program is to test the resources that depend on other resources for their inputs,
and tests that depend on resources for their inputs.
!*/
mod provider;
use crate::provider::{DuplicationCreator, D... | 33.632353 | 99 | 0.637516 |
83d37363edb2fb1444fd153868f064f5f9c42a16 | 389 | go | Go | types/client/rio/v1beta1/zz_generated_tmpfs.go | innerpeacez/rio | 40b5101e464b8c8449cd47975ef1d820b5cc538c | [
"Apache-2.0"
] | null | null | null | types/client/rio/v1beta1/zz_generated_tmpfs.go | innerpeacez/rio | 40b5101e464b8c8449cd47975ef1d820b5cc538c | [
"Apache-2.0"
] | null | null | null | types/client/rio/v1beta1/zz_generated_tmpfs.go | innerpeacez/rio | 40b5101e464b8c8449cd47975ef1d820b5cc538c | [
"Apache-2.0"
] | null | null | null | package client
const (
TmpfsType = "tmpfs"
TmpfsFieldPath = "path"
TmpfsFieldReadOnly = "readOnly"
TmpfsFieldSizeBytes = "sizeBytes"
)
type Tmpfs struct {
Path string `json:"path,omitempty" yaml:"path,omitempty"`
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
SizeBy... | 25.933333 | 73 | 0.706941 |
e4fff5c037a3c14e21d1056109ace2f5fcad5156 | 6,413 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1150.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1150.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1150.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x581c, %rsi
nop
nop
nop
nop
add %r14, %r14
vmovups (%rsi), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $0, %xmm7, %r10
nop
nop
xor $54778, %rbx
lea addresses_normal_... | 39.343558 | 2,999 | 0.656011 |
2a4f91fb8934422b150b6af245ed654d5775118c | 8,185 | java | Java | core/src/main/java/org/jahia/modules/external/events/rest/SimpleValidationFeature.java | Jahia/external-provider | 3c4cc022394512ff50801746ec2a0b6d900c68fc | [
"Apache-2.0"
] | 3 | 2015-05-18T07:34:58.000Z | 2017-03-09T11:01:18.000Z | core/src/main/java/org/jahia/modules/external/events/rest/SimpleValidationFeature.java | Jahia/external-provider | 3c4cc022394512ff50801746ec2a0b6d900c68fc | [
"Apache-2.0"
] | 16 | 2016-09-01T12:02:54.000Z | 2021-09-10T07:05:34.000Z | core/src/main/java/org/jahia/modules/external/events/rest/SimpleValidationFeature.java | Jahia/external-provider | 3c4cc022394512ff50801746ec2a0b6d900c68fc | [
"Apache-2.0"
] | 10 | 2015-03-18T10:25:31.000Z | 2020-03-28T10:46:00.000Z | /*
* ==========================================================================================
* = JAHIA'S DUAL LICENSING - IMPORTANT INFORMATION =
* ==========================================================================================
*
* ... | 40.519802 | 146 | 0.604887 |
fbc693f0f2d8fbdefe0da40b9a23e7fce9d261ba | 267 | h | C | Source/NMundo.h | caiocampos/Descobrindo-Ogre | 28523e177af17cee0480df5fdecfbc8b23fdf6ac | [
"MIT"
] | 2 | 2019-10-30T12:21:28.000Z | 2019-10-30T12:27:54.000Z | Source/NMundo.h | cao-ancap/Descobrindo-Ogre | 28523e177af17cee0480df5fdecfbc8b23fdf6ac | [
"MIT"
] | null | null | null | Source/NMundo.h | cao-ancap/Descobrindo-Ogre | 28523e177af17cee0480df5fdecfbc8b23fdf6ac | [
"MIT"
] | null | null | null | #ifndef __NMundo_H__
# define __NMundo_H__
# include <Ogre.h>
namespace Mundo {
const String camera = "PlayerCam";
const String e_jogador = "PlayerEntity";
const String sn_jogador = "PlayerSuperNode";
const String n_jogador = "PlayerNode";
}
#endif
| 20.538462 | 46 | 0.715356 |
810b3b194b731e3da5727d4bbe8d15d7f95cf9d2 | 1,312 | go | Go | core/GetPointToPointDistance.go | bencalnan/geo-core | 86f97f4a3251a60d5d6e0397a5cdfe78142dd5f5 | [
"MIT"
] | 1 | 2019-09-06T13:38:27.000Z | 2019-09-06T13:38:27.000Z | core/GetPointToPointDistance.go | bencalnan/geo-fabric | 86f97f4a3251a60d5d6e0397a5cdfe78142dd5f5 | [
"MIT"
] | 10 | 2019-09-27T12:56:57.000Z | 2019-09-30T13:27:24.000Z | core/GetPointToPointDistance.go | bencalnan/geo-tools | 86f97f4a3251a60d5d6e0397a5cdfe78142dd5f5 | [
"MIT"
] | null | null | null | package core
import (
"math"
)
//PointToPointDistanceCosine Get distance (in meters) bewteen two Lat/Lons using cosine formula. Has some benefits over using Haversine formula.
//Input and Output in Radians
func PointToPointDistanceCosine(startPoint, endPoint Point) float64 {
var d = math.Acos(math.Sin(startPoint.Y)... | 39.757576 | 155 | 0.765244 |
659b3a7d63f5d79ac6eb426e3b23cabae1493e0b | 1,566 | kt | Kotlin | githubuserfavoriteapps/src/main/java/com/ferdyhaspin/githubuserfavoriteapps/MainActivity.kt | ferdyhaspin/github-user | d129fbec737258e0582bb5abe01e54b54916fad0 | [
"Apache-2.0"
] | null | null | null | githubuserfavoriteapps/src/main/java/com/ferdyhaspin/githubuserfavoriteapps/MainActivity.kt | ferdyhaspin/github-user | d129fbec737258e0582bb5abe01e54b54916fad0 | [
"Apache-2.0"
] | null | null | null | githubuserfavoriteapps/src/main/java/com/ferdyhaspin/githubuserfavoriteapps/MainActivity.kt | ferdyhaspin/github-user | d129fbec737258e0582bb5abe01e54b54916fad0 | [
"Apache-2.0"
] | null | null | null | package com.ferdyhaspin.githubuserfavoriteapps
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProvider
import androidx.recyclerview.widget.GridLayoutManager
import com.google.android.material.snackbar.Snackbar
import com.xw... | 28.472727 | 99 | 0.66986 |
e72e70f13bdfae2c111fd0ef184f95dd424498d0 | 104 | js | JavaScript | doc/html/search/pages_7.js | HITSZ-LeggedRobotics/rbdl | ac102e4b8eb44c62d0c122cf8835ea1c2c115fa0 | [
"Zlib"
] | 1 | 2019-12-23T02:34:50.000Z | 2019-12-23T02:34:50.000Z | doc/html/search/pages_7.js | HITSZ-LeggedRobotics/rbdl | ac102e4b8eb44c62d0c122cf8835ea1c2c115fa0 | [
"Zlib"
] | null | null | null | doc/html/search/pages_7.js | HITSZ-LeggedRobotics/rbdl | ac102e4b8eb44c62d0c122cf8835ea1c2c115fa0 | [
"Zlib"
] | 2 | 2019-10-14T02:09:51.000Z | 2022-02-22T03:53:06.000Z | var searchData=
[
['python_20api_20example',['Python API example',['../PythonExample.html',1,'']]]
];
| 20.8 | 82 | 0.663462 |
65411c7e37dbad40d3c7e12fad07bac5bfdb8e20 | 5,932 | kt | Kotlin | app/src/main/java/com/takusemba/cropme/internal/HorizontalAnimatorImpl.kt | EtsTest-AndroidApps/GameFace-Android | c4a80e6debca91ee73096783c264ce3ad78ee92a | [
"MIT"
] | 2 | 2021-09-06T22:30:45.000Z | 2021-10-02T01:35:26.000Z | app/src/main/java/com/takusemba/cropme/internal/HorizontalAnimatorImpl.kt | EtsTest-AndroidApps/GameFace-Android | c4a80e6debca91ee73096783c264ce3ad78ee92a | [
"MIT"
] | 7 | 2020-05-03T19:09:57.000Z | 2020-06-12T08:36:07.000Z | app/src/main/java/com/takusemba/cropme/internal/HorizontalAnimatorImpl.kt | EtsTest-AndroidApps/GameFace-Android | c4a80e6debca91ee73096783c264ce3ad78ee92a | [
"MIT"
] | 3 | 2020-11-28T22:32:51.000Z | 2022-02-11T01:15:09.000Z | /*
* Copyright (c) 2021 -Srihari Vishnu - All Rights Reserved
*
* 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, modif... | 34.091954 | 435 | 0.708361 |
1429ee00e16afb664585cd6565be534598b5f7b1 | 1,115 | css | CSS | assets/typography.css | caitwolf/interactive-md | c57ce59397c9f331795a42533637208e559bea40 | [
"MIT"
] | null | null | null | assets/typography.css | caitwolf/interactive-md | c57ce59397c9f331795a42533637208e559bea40 | [
"MIT"
] | 1 | 2021-08-23T20:44:22.000Z | 2021-08-23T20:44:22.000Z | assets/typography.css | caitwolf/interactive-md | c57ce59397c9f331795a42533637208e559bea40 | [
"MIT"
] | null | null | null | body {
font-family: sans-serif;
/* opacity: 0.87; */
/* background-color: #121212; */
background-color: #000000;
/* color: #F4F4F4; */
/* color: #dbdbdb; */
color: #c3c3c3;
font-weight: 100;
}
h1, h2 {
font-weight:500;
color: #B09ADB;
/* font-family: serif; */
}
h1 {
font-size... | 15.067568 | 36 | 0.594619 |
a53af826ec40aea6265bdbadb4450615faeac0ae | 3,493 | asm | Assembly | lib/unpkb.asm | cppchriscpp/waddles-the-duck | 05127094ffea6dbb3bc822fb8c0be2a7800e5060 | [
"MIT"
] | null | null | null | lib/unpkb.asm | cppchriscpp/waddles-the-duck | 05127094ffea6dbb3bc822fb8c0be2a7800e5060 | [
"MIT"
] | null | null | null | lib/unpkb.asm | cppchriscpp/waddles-the-duck | 05127094ffea6dbb3bc822fb8c0be2a7800e5060 | [
"MIT"
] | null | null | null | ;
; unpkb.asm
; PackBits RLE unpacking
;
;
; Copyright 2000 Damian Yerrick
;
; 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... | 27.722222 | 71 | 0.554251 |
36c5f3e6617cb80418afb82da7b04878ac7ea719 | 58,053 | sql | SQL | SQL/Dump20171119.sql | jeansantos7/Proyecto_JLM | 61a3d480e330da0c009cc13a013ae40514373690 | [
"MIT"
] | null | null | null | SQL/Dump20171119.sql | jeansantos7/Proyecto_JLM | 61a3d480e330da0c009cc13a013ae40514373690 | [
"MIT"
] | null | null | null | SQL/Dump20171119.sql | jeansantos7/Proyecto_JLM | 61a3d480e330da0c009cc13a013ae40514373690 | [
"MIT"
] | null | null | null | CREATE DATABASE IF NOT EXISTS `bd_sae` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `bd_sae`;
-- MySQL dump 10.13 Distrib 5.7.17, for Win64 (x86_64)
--
-- Host: 127.0.0.1 Database: bd_sae
-- ------------------------------------------------------
-- Server version 5.5.5-10.1.21-MariaDB
/*!40101 SET @OLD_CHARACTER_S... | 77.198138 | 18,066 | 0.711815 |
c45565fc2d7fe2ead9dbf646f4090e7bd3b8a2e2 | 4,474 | h | C | DIR819_v1.06/src/apps/tr064fe/data/standard/layer2bridgeparams.h | Sirherobrine23/Dir819gpl_code | 8af92d65416198755974e3247b7bbe7f1151d525 | [
"BSD-2-Clause"
] | 1 | 2022-03-19T06:38:01.000Z | 2022-03-19T06:38:01.000Z | DIR819_v1.06/src/apps/tr064fe/data/standard/layer2bridgeparams.h | Sirherobrine23/Dir819gpl_code | 8af92d65416198755974e3247b7bbe7f1151d525 | [
"BSD-2-Clause"
] | null | null | null | DIR819_v1.06/src/apps/tr064fe/data/standard/layer2bridgeparams.h | Sirherobrine23/Dir819gpl_code | 8af92d65416198755974e3247b7bbe7f1151d525 | [
"BSD-2-Clause"
] | 1 | 2022-03-19T06:38:03.000Z | 2022-03-19T06:38:03.000Z | /*****************************************************************************
//
// Copyright (c) 2005 Broadcom Corporation
// All Rights Reserved
// No portions of this material may be reproduced in any form without the
// written permission of:
// Broadcom Corporation
// 16215 Alton Parkway
//... | 54.560976 | 119 | 0.597452 |
1c5832bba1f7886d6ef59385bddcb6013fed49a7 | 6,942 | css | CSS | css/main.css | hojiakbar4211/Eduaction | 50eb384bbe88b3893cf6a6736a00fdb16c89941d | [
"CC-BY-4.0",
"MIT"
] | null | null | null | css/main.css | hojiakbar4211/Eduaction | 50eb384bbe88b3893cf6a6736a00fdb16c89941d | [
"CC-BY-4.0",
"MIT"
] | null | null | null | css/main.css | hojiakbar4211/Eduaction | 50eb384bbe88b3893cf6a6736a00fdb16c89941d | [
"CC-BY-4.0",
"MIT"
] | null | null | null |
/*hover*/
.hover:hover{
color: black!important;
}
.hovera:hover{
color: white!important;
}
.hoverbg:hover{
background-color: black!important;
}
.hoversv:hover{
background-color:#6a6a6a!important;
}
/*color-bcolor*/
.text-silver{
color: #6a6a6a;
}
.bg-blue{
background-co... | 24.443662 | 89 | 0.606165 |
3bd48d701213e8150a5e221863233c8330649357 | 450 | h | C | AYRuntime/Classes/AYDeallocNotifier.h | alan-yeh/AYRuntime | 06c5a0a7eaddc9f3331ef7162fdc3de1988067f4 | [
"MIT"
] | 1 | 2016-10-19T07:04:50.000Z | 2016-10-19T07:04:50.000Z | AYRuntime/Classes/AYDeallocNotifier.h | alan-yeh/AYRuntime | 06c5a0a7eaddc9f3331ef7162fdc3de1988067f4 | [
"MIT"
] | null | null | null | AYRuntime/Classes/AYDeallocNotifier.h | alan-yeh/AYRuntime | 06c5a0a7eaddc9f3331ef7162fdc3de1988067f4 | [
"MIT"
] | null | null | null | //
// AYDeallocNotifier.h
// AYRuntime
//
// Created by Alan Yeh on 16/8/3.
//
//
#import <Foundation/Foundation.h>
@interface AYDeallocNotifier : NSObject
@property (nonatomic, strong) NSMutableArray *callbacks;
+ (void)notifyWhenInstanceDelloc:(id)anInstance withCallback:(void (^)(void))callback;
@end
@interfac... | 25 | 94 | 0.735556 |
f919bbc7de7b31266e963d11bc719ab8258bf76c | 283 | sql | SQL | packages/api/prisma/migrations/20220219064214_/migration.sql | ProjectHyde/snaily-cadv4 | 3a68a4ae0907d077ca4abee6c59dc0081a5ba2e4 | [
"MIT"
] | 28 | 2021-10-06T18:11:15.000Z | 2022-03-22T11:57:26.000Z | packages/api/prisma/migrations/20220219064214_/migration.sql | ProjectHyde/snaily-cadv4 | 3a68a4ae0907d077ca4abee6c59dc0081a5ba2e4 | [
"MIT"
] | 380 | 2021-10-05T05:19:12.000Z | 2022-03-31T17:09:45.000Z | packages/api/prisma/migrations/20220219064214_/migration.sql | ProjectHyde/snaily-cadv4 | 3a68a4ae0907d077ca4abee6c59dc0081a5ba2e4 | [
"MIT"
] | 23 | 2021-10-06T18:11:17.000Z | 2022-03-18T17:28:20.000Z | -- AlterTable
ALTER TABLE "DiscordRoles" ADD COLUMN "whitelistedRoleId" TEXT;
-- AddForeignKey
ALTER TABLE "DiscordRoles" ADD CONSTRAINT "DiscordRoles_whitelistedRoleId_fkey" FOREIGN KEY ("whitelistedRoleId") REFERENCES "DiscordRole"("id") ON DELETE SET NULL ON UPDATE CASCADE;
| 47.166667 | 182 | 0.795053 |
79bbf36b52724dce69927d90857110a0d2dd415f | 294 | swift | Swift | it/versions/structures/codable/swift/Foo/V4.swift | nezdolik/reproto | 2d69d8efca518a6ea23a4182b29872fcc62a1a71 | [
"Apache-2.0",
"MIT"
] | 108 | 2017-07-19T02:07:52.000Z | 2022-02-27T04:46:43.000Z | it/versions/structures/codable/swift/Foo/V4.swift | nezdolik/reproto | 2d69d8efca518a6ea23a4182b29872fcc62a1a71 | [
"Apache-2.0",
"MIT"
] | 42 | 2017-11-21T14:21:40.000Z | 2022-02-26T02:40:38.000Z | it/versions/structures/codable/swift/Foo/V4.swift | nezdolik/reproto | 2d69d8efca518a6ea23a4182b29872fcc62a1a71 | [
"Apache-2.0",
"MIT"
] | 9 | 2017-05-26T00:36:23.000Z | 2020-07-26T10:58:20.000Z | public struct Foo_V4_Thing: Codable {
let name: String?
let other: Bar_V1_Other?
let other2: Bar_V20_Other?
let other21: Bar_V21_Other?
enum CodingKeys: String, CodingKey {
case name = "name"
case other = "other"
case other2 = "other2"
case other21 = "other21"
}
}
| 21 | 38 | 0.673469 |
2401cd89e09ad50957cdd406f180b4edb45fbb6d | 370 | asm | Assembly | programs/oeis/183/A183865.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/183/A183865.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/183/A183865.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A183865: n-1+ceiling(3(n+2)/5); complement of A183864.
; 1,4,8,13,19,27,36,46,57,69,83,98,114,131,149,169,190,212,235,259,285,312,340,369,399,431,464,498,533,569,607,646,686,727,769,813,858,904,951,999,1049,1100,1152,1205,1259,1315,1372,1430,1489,1549,1611,1674,1738,1803,1869,1937,2006,2076,2147,2219
mov $1,$0
add $... | 33.636364 | 246 | 0.7 |
e9dfa0bda9f2017ad7c49ad9599587ad3718d305 | 530 | go | Go | orders_test.go | leonelquinteros/woocommerce | 1361d9cd613d1da67bf3f9171d64e9c480bbbb5f | [
"MIT"
] | null | null | null | orders_test.go | leonelquinteros/woocommerce | 1361d9cd613d1da67bf3f9171d64e9c480bbbb5f | [
"MIT"
] | null | null | null | orders_test.go | leonelquinteros/woocommerce | 1361d9cd613d1da67bf3f9171d64e9c480bbbb5f | [
"MIT"
] | 1 | 2021-07-12T14:44:55.000Z | 2021-07-12T14:44:55.000Z | package woocommerce
import (
"net/url"
"testing"
)
func TestGetOrders(t *testing.T) {
c := getTestClient()
params := url.Values{}
params.Set("orderby", "id")
params.Set("order", "desc")
r, err := c.Orders().List(params)
if err != nil {
t.Fatal(err)
}
if len(r) > 0 {
_, err = c.Orders().Get(r[0].ID)
... | 15.142857 | 55 | 0.562264 |
1826f14cc59b5ed5062ae56f8a97ed5a2dbbf53c | 40 | lua | Lua | rust/tests/thing.lua | dpp/mu | 12100fa926a620e085b11fd772d518de2de34656 | [
"MIT"
] | 1 | 2021-01-17T17:03:03.000Z | 2021-01-17T17:03:03.000Z | rust/tests/thing.lua | dpp/mu | 12100fa926a620e085b11fd772d518de2de34656 | [
"MIT"
] | 6 | 2021-01-17T17:51:18.000Z | 2021-02-14T21:58:59.000Z | rust/tests/thing.lua | dpp/mutt | 12100fa926a620e085b11fd772d518de2de34656 | [
"MIT"
] | null | null | null | function thing(a)
return a + 42
end
| 10 | 17 | 0.65 |
3946761558bdec9a603f29eb37f81a8a665d9c29 | 957 | html | HTML | manuscript/page-300/body.html | marvindanig/peter-pan | 3ff00116ccaae88990fd4cfb7793aabaef757bd1 | [
"CECILL-B"
] | null | null | null | manuscript/page-300/body.html | marvindanig/peter-pan | 3ff00116ccaae88990fd4cfb7793aabaef757bd1 | [
"CECILL-B"
] | null | null | null | manuscript/page-300/body.html | marvindanig/peter-pan | 3ff00116ccaae88990fd4cfb7793aabaef757bd1 | [
"CECILL-B"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><p>“You will remember about changing your flannels, Peter?” she said, lingering over him. She was always so particular about their flannels.</p><p>“Yes.”</p><p>“And you will take your medicine?”</p><p>“Yes.”</p><p>That see... | 957 | 957 | 0.746082 |
01e147a20983b5e5e767663206d1ca22e454a5bd | 924 | rs | Rust | src/models/transactions/routing_v1.rs | ci-work/helium-api-rs | dc0393692b02ab5d013ead45aa4e1fdd5ccbe5be | [
"Apache-2.0"
] | 13 | 2020-03-23T01:43:04.000Z | 2022-03-26T23:32:12.000Z | src/models/transactions/routing_v1.rs | ci-work/helium-api-rs | dc0393692b02ab5d013ead45aa4e1fdd5ccbe5be | [
"Apache-2.0"
] | 20 | 2020-09-15T19:13:19.000Z | 2022-02-26T12:53:16.000Z | src/models/transactions/routing_v1.rs | ci-work/helium-api-rs | dc0393692b02ab5d013ead45aa4e1fdd5ccbe5be | [
"Apache-2.0"
] | 18 | 2020-03-23T01:44:06.000Z | 2022-03-23T23:15:07.000Z | use serde::{Deserialize, Serialize};
#[derive(Clone, Serialize, Deserialize, Debug)]
pub struct RoutingV1 {
pub fee: u64,
pub oui: u64,
pub hash: String,
pub nonce: u64,
pub owner: String,
pub action: RoutingAction,
}
#[derive(Clone, Serialize, Deserialize, Debug)]
#[serde(tag = "action", rena... | 22 | 51 | 0.69697 |
d05d8f04afe57861db35ff9161bc2c84886c93d9 | 1,512 | css | CSS | third_party/jquery/chat/style.css | jeremyosborne/javascript | ca19ab036f76fc35018a4dfc9ac23157c7cc17ab | [
"MIT"
] | null | null | null | third_party/jquery/chat/style.css | jeremyosborne/javascript | ca19ab036f76fc35018a4dfc9ac23157c7cc17ab | [
"MIT"
] | null | null | null | third_party/jquery/chat/style.css | jeremyosborne/javascript | ca19ab036f76fc35018a4dfc9ac23157c7cc17ab | [
"MIT"
] | null | null | null | /* Assumes top of page. */
#page-header h1 {
margin: 0;
text-align: center;
padding: 1em;
font-family: Helvetica, Verdana, Arial, sans-serif;
font-size: 4em;
letter-spacing: 0.1em;
text-align: right;
}
/* Assume the content body of the page. */
#page-body {
width: 70%;
max-width: ... | 18.666667 | 59 | 0.599868 |
9a98da27d7ec69997e729c26fec3c34c1eeb989b | 2,122 | lua | Lua | src/AdiBags_ByExpansion_Shadowlands/dungeons/plaguefall.lua | Geurtje/Adibags_ByExpansion | 561dcec43db5978229329633c3330409b9470128 | [
"Unlicense"
] | null | null | null | src/AdiBags_ByExpansion_Shadowlands/dungeons/plaguefall.lua | Geurtje/Adibags_ByExpansion | 561dcec43db5978229329633c3330409b9470128 | [
"Unlicense"
] | null | null | null | src/AdiBags_ByExpansion_Shadowlands/dungeons/plaguefall.lua | Geurtje/Adibags_ByExpansion | 561dcec43db5978229329633c3330409b9470128 | [
"Unlicense"
] | null | null | null | local AddonName, AddonTable = ...
-- Plaguefall
AddonTable.plaguefall = {
-- Globgrog
181786, -- Eternal Hunger [Potency Conduit]
183506, -- Lethal Poisons [Potency Conduit]
182465, -- Truth's Wake [Potency Conduit]
183486, -- Well-Honed Instincts [Endurance Conduit]
178753, -- Surgical Pustule... | 39.296296 | 55 | 0.689444 |
460e89e4b10092165ab4498477bbb3cbbce04e10 | 146 | swift | Swift | Octomate Prototype/Data/Model/Login.swift | comprimasantosa/ios-swift-octomateprototype | 2dec1de080a438344196ae2ba362c31e606c3543 | [
"MIT"
] | null | null | null | Octomate Prototype/Data/Model/Login.swift | comprimasantosa/ios-swift-octomateprototype | 2dec1de080a438344196ae2ba362c31e606c3543 | [
"MIT"
] | null | null | null | Octomate Prototype/Data/Model/Login.swift | comprimasantosa/ios-swift-octomateprototype | 2dec1de080a438344196ae2ba362c31e606c3543 | [
"MIT"
] | null | null | null | //
// Login.swift
// Octomate Prototype
//
// Created by Prima Santosa on 21/05/21.
//
import Foundation
struct Login {
let name: String
}
| 11.230769 | 41 | 0.657534 |
0a1041da43842181a16b1df3f23d3be433eb500e | 15,883 | c | C | lib/linux-5.18-rc3-smdk/drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c | OpenMPDK/SMDK | 8f19d32d999731242cb1ab116a4cb445d9993b15 | [
"BSD-3-Clause"
] | 44 | 2022-03-16T08:32:31.000Z | 2022-03-31T16:02:35.000Z | releases/hanggai/src/linux-5.18/drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c | marmolak/gray486linux | 6403fc9d12cf6e8c6f42213ae287bc1e19b83e60 | [
"BSD-2-Clause"
] | 1 | 2022-03-29T02:30:28.000Z | 2022-03-30T03:40:46.000Z | releases/hanggai/src/linux-5.18/drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c | marmolak/gray486linux | 6403fc9d12cf6e8c6f42213ae287bc1e19b83e60 | [
"BSD-2-Clause"
] | 18 | 2022-03-19T04:41:04.000Z | 2022-03-31T03:32:12.000Z | // SPDX-License-Identifier: GPL-2.0+
#include <linux/ptp_classify.h>
#include "lan966x_main.h"
#define LAN966X_MAX_PTP_ID 512
/* Represents 1ppm adjustment in 2^59 format with 6.037735849ns as reference
* The value is calculated as following: (1/1000000)/((2^-59)/6.037735849)
*/
#define LAN966X_1PPM_FORMAT 34805... | 25.659128 | 79 | 0.739533 |
fb69779b88dfaca4ff3ebbd111c837a682480ad2 | 834 | h | C | Src/global.h | pbuteau/jtag-boundary-scan | f7f5f4d17e4bad36b838a141b9199cb7245a0e8b | [
"MIT"
] | null | null | null | Src/global.h | pbuteau/jtag-boundary-scan | f7f5f4d17e4bad36b838a141b9199cb7245a0e8b | [
"MIT"
] | null | null | null | Src/global.h | pbuteau/jtag-boundary-scan | f7f5f4d17e4bad36b838a141b9199cb7245a0e8b | [
"MIT"
] | null | null | null | #ifndef _GLOBAL_H
#define _GLOBAL_H
#include "TAP.h"
extern JtagState jtagState;
typedef enum{
BYPASS,
IDCODE,
SAMPLE_PRELOAD,
EXTEST,
DONT_CARE,
}JTAGInstruction;
// Instruction MACROs
#define CORTEX_M3_JTAG_INSTRUCTION_LENGTH 9
#define BYPASS_BOTH_TAP 0b111111111
#define READ_BOTH_IDCODE 0b000011110
#defi... | 19.395349 | 56 | 0.830935 |
2a3eb9e20e700e5a4caa9e5aa5f34d23b82b5a06 | 2,715 | java | Java | cloudgraph-rdb/src/main/java/org/cloudgraph/rdb/connect/JNDIDataSourceProvider.java | cloudgraph/cloudgraph | d81d0192c354c7ea755363b8ce8b9605e924792f | [
"ECL-2.0",
"Apache-2.0"
] | 14 | 2017-07-21T03:01:10.000Z | 2022-01-16T20:40:02.000Z | cloudgraph-rdb/src/main/java/org/cloudgraph/rdb/connect/JNDIDataSourceProvider.java | cloudgraph/cloudgraph | d81d0192c354c7ea755363b8ce8b9605e924792f | [
"ECL-2.0",
"Apache-2.0"
] | 46 | 2017-07-31T02:16:22.000Z | 2022-03-13T19:05:13.000Z | cloudgraph-rdb/src/main/java/org/cloudgraph/rdb/connect/JNDIDataSourceProvider.java | cloudgraph/cloudgraph | d81d0192c354c7ea755363b8ce8b9605e924792f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /**
* Copyright 2017 TerraMeta Software, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 37.191781 | 93 | 0.74291 |
32feb3b5e9696ba351c7164c11428d5acc59366d | 2,657 | kt | Kotlin | rpgJavaInterpreter-core/src/main/kotlin/com/smeup/rpgparser/interpreter/ISymbolTable.kt | benetti-smeup/jariko | c11a45fa2b540df092abf94b0ab1014ca1ef3410 | [
"Apache-2.0"
] | 40 | 2019-11-26T16:35:55.000Z | 2022-02-15T08:35:20.000Z | rpgJavaInterpreter-core/src/main/kotlin/com/smeup/rpgparser/interpreter/ISymbolTable.kt | benetti-smeup/jariko | c11a45fa2b540df092abf94b0ab1014ca1ef3410 | [
"Apache-2.0"
] | 28 | 2019-12-02T13:32:20.000Z | 2021-12-17T09:34:56.000Z | rpgJavaInterpreter-core/src/main/kotlin/com/smeup/rpgparser/interpreter/ISymbolTable.kt | benetti-smeup/jariko | c11a45fa2b540df092abf94b0ab1014ca1ef3410 | [
"Apache-2.0"
] | 9 | 2019-12-10T06:40:59.000Z | 2021-10-18T08:55:29.000Z | /*
* Copyright 2019 Sme.UP S.p.A.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 27.391753 | 79 | 0.61385 |
6209caefebf7e4ba3144c0eb43f321e08d6f5453 | 264 | swift | Swift | NimbleMedium/Sources/Domain/Parameters/CreateArticleParameters.swift | nimblehq/nimble-medium-ios | d0014f8fd9641ac919122c8b747b55dd0b0f6998 | [
"MIT"
] | 1 | 2022-03-09T04:36:41.000Z | 2022-03-09T04:36:41.000Z | NimbleMedium/Sources/Domain/Parameters/CreateArticleParameters.swift | nimblehq/nimble-medium-ios | d0014f8fd9641ac919122c8b747b55dd0b0f6998 | [
"MIT"
] | 221 | 2021-08-05T09:07:20.000Z | 2021-12-03T04:48:28.000Z | NimbleMedium/Sources/Domain/Parameters/CreateArticleParameters.swift | nimblehq/nimble-medium-ios | d0014f8fd9641ac919122c8b747b55dd0b0f6998 | [
"MIT"
] | null | null | null | //
// CreateArticleParameters.swift
// NimbleMedium
//
// Created by Minh Pham on 18/10/2021.
//
import Foundation
struct CreateArticleParameters: Encodable {
let title: String
let description: String
let body: String
let tagList: [String]
}
| 15.529412 | 43 | 0.69697 |
1f9137841192347e5ab7a640c86ddb351db5de06 | 2,136 | htm | HTML | Help/Source/documentationview.htm | sajithanangolath/pyscripter | 00a9ba8a1c8357df6e055dd79fa8065702f3b211 | [
"MIT"
] | 769 | 2015-08-26T03:24:37.000Z | 2022-03-31T15:58:00.000Z | Help/Source/documentationview.htm | sajithanangolath/pyscripter | 00a9ba8a1c8357df6e055dd79fa8065702f3b211 | [
"MIT"
] | 392 | 2015-08-31T05:36:28.000Z | 2022-03-24T10:05:21.000Z | Help/Source/documentationview.htm | sajithanangolath/pyscripter | 00a9ba8a1c8357df6e055dd79fa8065702f3b211 | [
"MIT"
] | 311 | 2015-08-26T17:42:06.000Z | 2022-03-22T16:32:17.000Z | <html><head>
<title>Documentation View</title>
<meta name="generator" content="HelpMaker.net">
<meta name="keywords" content="Source Code Views,Documentation View,pydocProgrammer Utilities"></head>
<body bgcolor="#FFFCEA">
<table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#C0C0... | 85.44 | 525 | 0.677903 |
8f011ae0b46690c5475b6b8364778fcc14197550 | 1,137 | java | Java | bkc-model/src/main/java/cn/bitflash/entity/UserComplaintBean.java | mrchen210282/springcloud | b882d2b1938cacc2bc56b8602e40c2ea2b3c62e4 | [
"Apache-2.0"
] | null | null | null | bkc-model/src/main/java/cn/bitflash/entity/UserComplaintBean.java | mrchen210282/springcloud | b882d2b1938cacc2bc56b8602e40c2ea2b3c62e4 | [
"Apache-2.0"
] | null | null | null | bkc-model/src/main/java/cn/bitflash/entity/UserComplaintBean.java | mrchen210282/springcloud | b882d2b1938cacc2bc56b8602e40c2ea2b3c62e4 | [
"Apache-2.0"
] | 1 | 2020-12-29T08:42:17.000Z | 2020-12-29T08:42:17.000Z | package cn.bitflash.entity;
import cn.bitflash.entities.UserComplaintEntity;
import java.io.Serializable;
/**
* 申诉
*
* @author gaoyuguo
*/
public class UserComplaintBean extends UserComplaintEntity implements Serializable {
private String contactsUname;
private String contactsMobile;
private Strin... | 21.055556 | 84 | 0.705365 |
78b973ffa17fe0bf5b22bac7a7d06c7c4517f629 | 124 | sql | SQL | src/3_3.sql | ytyaru/Sqlite3.Syntax.Check.Constraint.20190831114817 | 0c74707dfe7658ec7f34d0b12802c835e19dfafb | [
"CC0-1.0"
] | null | null | null | src/3_3.sql | ytyaru/Sqlite3.Syntax.Check.Constraint.20190831114817 | 0c74707dfe7658ec7f34d0b12802c835e19dfafb | [
"CC0-1.0"
] | null | null | null | src/3_3.sql | ytyaru/Sqlite3.Syntax.Check.Constraint.20190831114817 | 0c74707dfe7658ec7f34d0b12802c835e19dfafb | [
"CC0-1.0"
] | null | null | null | create table T(A integer check(A not between 0 and 3));
insert into T values(4);
insert into T values(3);
select * from T;
| 20.666667 | 55 | 0.709677 |
992b7a6d694cde00a5bca27d0fcbefedcc5c5a1c | 17,341 | c | C | Verse/v_connection.c | valiet/quel_solaar | 70dc81fc77858c2b96a2a9ceb7d1672e52758977 | [
"BSD-3-Clause"
] | 2 | 2022-01-20T16:24:55.000Z | 2022-01-29T04:11:47.000Z | Verse/v_connection.c | valiet/quel_solaar | 70dc81fc77858c2b96a2a9ceb7d1672e52758977 | [
"BSD-3-Clause"
] | null | null | null | Verse/v_connection.c | valiet/quel_solaar | 70dc81fc77858c2b96a2a9ceb7d1672e52758977 | [
"BSD-3-Clause"
] | null | null | null | /*
**
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "v_cmd_buf.h"
#include "v_network_in_que.h"
#include "v_network_out_que.h"
#include "v_cmd_gen.h"
#include "v_connection.h"
#include "v_encryption.h"
#include "v_util.h"
#if !defined(V_GENERATE_FUNC_MODE)
#include "verse.h"
#define CONNECT... | 35.317719 | 214 | 0.756358 |
f9fe34ea3c2bd55f45bc7dbf6947694c2257ebc2 | 3,123 | go | Go | src/wal/global_state.go | peekeri/influxdb | c7c79bc441720d91117aae4766131a437be92ad3 | [
"MIT"
] | null | null | null | src/wal/global_state.go | peekeri/influxdb | c7c79bc441720d91117aae4766131a437be92ad3 | [
"MIT"
] | null | null | null | src/wal/global_state.go | peekeri/influxdb | c7c79bc441720d91117aae4766131a437be92ad3 | [
"MIT"
] | 2 | 2016-10-18T02:35:38.000Z | 2019-06-13T18:22:25.000Z | package wal
import (
"bufio"
"encoding/gob"
"fmt"
"io"
"math"
"os"
)
type GlobalState struct {
// used for creating index entries
CurrentFileSuffix int
CurrentFileOffset int64
// keep track of the next request number
LargestRequestNumber uint32
// used for rollover
FirstSuffix int
// last seq number ... | 23.133333 | 109 | 0.723343 |
baf570db876867e50f000576bdb0259f9f1f3c18 | 691 | sql | SQL | init.sql | POABOB/Dcard-intern-project | 5a717cdf30568ed1450281590f804f6f2d274fb4 | [
"ISC"
] | 5 | 2022-03-23T12:03:16.000Z | 2022-03-24T13:25:02.000Z | init.sql | POABOB/Dcard-intern-project | 5a717cdf30568ed1450281590f804f6f2d274fb4 | [
"ISC"
] | null | null | null | init.sql | POABOB/Dcard-intern-project | 5a717cdf30568ed1450281590f804f6f2d274fb4 | [
"ISC"
] | null | null | null | CREATE DATABASE IF NOT EXISTS shortURL;
USE shortURL;
CREATE TABLE IF NOT EXISTS `shortURL`.`url` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT , `url` TEXT NOT NULL , `expireAt` INT NOT NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;
-- CREATE TABLE `shortURL`.`url_random` (`id` int(11) NOT NULL AUTO_INCREMENT,`url` text N... | 98.714286 | 230 | 0.722142 |
141d7267becb7e2d41e3f869adf6262b8df8c2c3 | 241 | css | CSS | _/chapter-4/nuxt-universal/transition/page-transition-property/global-default/assets/css/transitions.css | paullewallencom/nuxt-978-1-7899-5269-8 | 860331d92f9ca72af4f958428d9b74ac8af693cd | [
"Apache-2.0"
] | 30 | 2020-07-06T18:46:09.000Z | 2022-03-13T10:33:13.000Z | _/chapter-4/nuxt-universal/transition/page-transition-property/global-default/assets/css/transitions.css | paullewallencom/nuxt-978-1-7899-5269-8 | 860331d92f9ca72af4f958428d9b74ac8af693cd | [
"Apache-2.0"
] | 24 | 2020-06-23T13:59:30.000Z | 2022-03-08T23:26:34.000Z | _/chapter-4/nuxt-universal/transition/page-transition-property/global-default/assets/css/transitions.css | paullewallencom/nuxt-978-1-7899-5269-8 | 860331d92f9ca72af4f958428d9b74ac8af693cd | [
"Apache-2.0"
] | 26 | 2020-07-04T06:20:09.000Z | 2022-03-22T10:26:54.000Z | /**
* Global Settings
* https://nuxtjs.org/guide/routing#transitions
*/
.page-enter,
.page-leave-to {
opacity: 0;
}
.page-leave,
.page-enter-to {
opacity: 1;
}
.page-enter-active,
.page-leave-active {
transition: opacity 300ms;
}
| 12.684211 | 47 | 0.659751 |
963ef6d1be9930e859b2314d81543fd3e1be3e5a | 953 | php | PHP | app/Http/Middleware/Tenant/Tenant.php | kingRayhan/laravel-multitenancy-boilerplate | f899cb82bcf78de18f28345581b0434b74671230 | [
"MIT"
] | null | null | null | app/Http/Middleware/Tenant/Tenant.php | kingRayhan/laravel-multitenancy-boilerplate | f899cb82bcf78de18f28345581b0434b74671230 | [
"MIT"
] | null | null | null | app/Http/Middleware/Tenant/Tenant.php | kingRayhan/laravel-multitenancy-boilerplate | f899cb82bcf78de18f28345581b0434b74671230 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Middleware\Tenant;
use App\Models\Store;
use App\Tenant\TenantManager;
use Closure;
use Illuminate\Http\Request;
class Tenant
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
publ... | 23.243902 | 84 | 0.60021 |
04d9915521016f105e7f2d2a6dd6c537e0843118 | 1,030 | kt | Kotlin | backend/common-web/src/main/kotlin/io/featurehub/jersey/OffsetDateTimeQueryProvider.kt | nashjain/featurehub | d0dd173a814bf1184a7aa671f49b669701e91314 | [
"Apache-2.0"
] | 142 | 2020-07-22T09:46:20.000Z | 2022-03-31T13:28:06.000Z | backend/common-web/src/main/kotlin/io/featurehub/jersey/OffsetDateTimeQueryProvider.kt | featurehub-io/featurehub | 0ab7892a5c0ec9d63d4cf1c954156e5fc4543dee | [
"Apache-2.0"
] | 290 | 2020-07-22T01:18:22.000Z | 2022-03-24T06:44:46.000Z | backend/common-web/src/main/kotlin/io/featurehub/jersey/OffsetDateTimeQueryProvider.kt | nashjain/featurehub | d0dd173a814bf1184a7aa671f49b669701e91314 | [
"Apache-2.0"
] | 19 | 2020-08-27T17:02:31.000Z | 2022-03-18T15:29:23.000Z | package io.featurehub.jersey
import jakarta.ws.rs.ext.ParamConverter
import jakarta.ws.rs.ext.ParamConverterProvider
import jakarta.ws.rs.ext.Provider
import java.lang.reflect.Type
import java.time.OffsetDateTime
import java.time.format.DateTimeFormatter
@Provider
class OffsetDateTimeQueryProvider : ParamConverterPro... | 25.121951 | 89 | 0.652427 |
862ce6e3598f14f79f920fda0de55fe887fd949c | 28,695 | rs | Rust | glutin/src/api/glx/mod.rs | inferrna/glutin | fef5c513f46e3bd1e8e63615b31d0638d9d5b0fa | [
"Apache-2.0"
] | 2 | 2020-11-06T19:07:37.000Z | 2021-04-01T04:18:04.000Z | glutin/src/api/glx/mod.rs | inferrna/glutin | fef5c513f46e3bd1e8e63615b31d0638d9d5b0fa | [
"Apache-2.0"
] | null | null | null | glutin/src/api/glx/mod.rs | inferrna/glutin | fef5c513f46e3bd1e8e63615b31d0638d9d5b0fa | [
"Apache-2.0"
] | 1 | 2021-04-01T04:18:06.000Z | 2021-04-01T04:18:06.000Z | #![cfg(any(
target_os = "linux",
target_os = "dragonfly",
target_os = "freebsd",
target_os = "netbsd",
target_os = "openbsd",
))]
#![cfg(feature = "x11")]
mod make_current_guard;
mod glx {
use crate::api::dlloader::{SymTrait, SymWrapper};
use glutin_glx_sys as ffi;
use std::ops::{Deref,... | 32.831808 | 102 | 0.49486 |
0c38d770a63892f8c75052704b88789860766dce | 1,209 | sql | SQL | database/archive/create_panel.sql | G-Simeone/Learning_Accident_Occurence_on_Dutch_Highways | 1f3992a529fed70fd488811d68128a1e255fac5f | [
"MIT"
] | 4 | 2018-11-09T16:18:28.000Z | 2019-04-09T11:19:23.000Z | database/archive/create_panel.sql | G-Simeone/Learning_Accident_Occurence_on_Dutch_Highways | 1f3992a529fed70fd488811d68128a1e255fac5f | [
"MIT"
] | null | null | null | database/archive/create_panel.sql | G-Simeone/Learning_Accident_Occurence_on_Dutch_Highways | 1f3992a529fed70fd488811d68128a1e255fac5f | [
"MIT"
] | 1 | 2020-05-28T18:48:17.000Z | 2020-05-28T18:48:17.000Z | -- this joins ongeval to hectopunten through the ongeval_hectopunten link
with panel_staging_0 as (
select o.datetime,date_trunc('hour', o.datetime) as datetime_rounded,h.weather_station,
o.ongekey, h.hectoyearkey, 1 as acccident, h.num_lanes_max
from rws_clean.ongevallen as o
left join rws_clean.ong_hect_link as l
on ... | 37.78125 | 106 | 0.811414 |
e94570f0d181c3d80c6672f8b8ad6db231ece558 | 2,956 | go | Go | utils/astarte_interfaces.go | bettio/astartectl | feb0880e0b53bf8bba59320aba9e66ff253a156f | [
"Apache-2.0"
] | null | null | null | utils/astarte_interfaces.go | bettio/astartectl | feb0880e0b53bf8bba59320aba9e66ff253a156f | [
"Apache-2.0"
] | null | null | null | utils/astarte_interfaces.go | bettio/astartectl | feb0880e0b53bf8bba59320aba9e66ff253a156f | [
"Apache-2.0"
] | null | null | null | package utils
import (
"fmt"
"strings"
"github.com/astarte-platform/astartectl/common"
)
// ValidateInterfacePath validates path against the structure of astarteInterface, and returns a meaningful error
// the path cannot be resolved.
func ValidateInterfacePath(astarteInterface common.AstarteInterface, interfaceP... | 34.372093 | 125 | 0.714479 |
c185abcf79635fa418817f770c5276a05152a61d | 8,606 | dart | Dart | APP(Android)/lib/components/customized_bar_chart.dart | jonginj0130/SW21_OSAM_HACKATHON_FINAL | da803bf76c02a727e3600b9a3bc784cf6719d5d1 | [
"MIT"
] | null | null | null | APP(Android)/lib/components/customized_bar_chart.dart | jonginj0130/SW21_OSAM_HACKATHON_FINAL | da803bf76c02a727e3600b9a3bc784cf6719d5d1 | [
"MIT"
] | null | null | null | APP(Android)/lib/components/customized_bar_chart.dart | jonginj0130/SW21_OSAM_HACKATHON_FINAL | da803bf76c02a727e3600b9a3bc784cf6719d5d1 | [
"MIT"
] | 2 | 2021-12-17T14:52:07.000Z | 2022-03-24T10:07:13.000Z | import 'dart:async';
import 'dart:math';
import 'package:fl_chart/fl_chart.dart';
import 'package:flutter/material.dart';
import 'package:mypt/theme.dart';
import 'package:mypt/models/workout_result.dart';
class CustomizedBarChart extends StatefulWidget {
CustomizedBarChart({Key? key, required this.workoutResult}) :... | 30.956835 | 118 | 0.50918 |
65db0946ed7d1d63cef22a76a60479a3b5c7c527 | 3,825 | rs | Rust | portfolio/src/cli.rs | rcjmurillo/crypto-portfolio | 3032bb100159875b5730da440b008d1e46df7539 | [
"MIT"
] | null | null | null | portfolio/src/cli.rs | rcjmurillo/crypto-portfolio | 3032bb100159875b5730da440b008d1e46df7539 | [
"MIT"
] | null | null | null | portfolio/src/cli.rs | rcjmurillo/crypto-portfolio | 3032bb100159875b5730da440b008d1e46df7539 | [
"MIT"
] | null | null | null | use std::{
ffi::{OsStr, OsString},
fs::{read_to_string, File},
path::PathBuf,
};
use anyhow::{anyhow, Context, Error as AnyhowError, Result};
use chrono::NaiveDate;
use serde::Deserialize;
use structopt::{self, StructOpt};
use toml;
use crate::errors::Error;
use binance::Config as BinanceConfig;
use coinb... | 28.977273 | 90 | 0.590065 |
5f0615625cfffdcdaf36cb042af0ba8e40d2bd7d | 1,586 | ts | TypeScript | src/templates/universal/changelog.template.ts | raymonschouwenaar/cgx | d2e86ff8626d57b744e326e0271076548d935334 | [
"MIT"
] | null | null | null | src/templates/universal/changelog.template.ts | raymonschouwenaar/cgx | d2e86ff8626d57b744e326e0271076548d935334 | [
"MIT"
] | null | null | null | src/templates/universal/changelog.template.ts | raymonschouwenaar/cgx | d2e86ff8626d57b744e326e0271076548d935334 | [
"MIT"
] | 1 | 2019-08-13T05:26:59.000Z | 2019-08-13T05:26:59.000Z | import { injectable, inject } from 'inversify';
import { DefaultTemplate } from '../default/default.template';
import { FileName } from '../../models/file';
import { CommitData } from '../../models/commit-data';
import * as childProcess from 'child_process';
@injectable()
export class Changelog {
private fileName ... | 36.045455 | 113 | 0.635561 |
22959193a56feebf28ac73c48bad3269b5813562 | 5,533 | asm | Assembly | research/02/TestControl.asm | NNNIC/psgg-nasm-sample | dfe5454f73ae3b9d86756548f5dffbedc1a03808 | [
"MIT"
] | null | null | null | research/02/TestControl.asm | NNNIC/psgg-nasm-sample | dfe5454f73ae3b9d86756548f5dffbedc1a03808 | [
"MIT"
] | null | null | null | research/02/TestControl.asm | NNNIC/psgg-nasm-sample | dfe5454f73ae3b9d86756548f5dffbedc1a03808 | [
"MIT"
] | null | null | null | global _main
extern _GetStdHandle@4
extern _WriteFile@20
extern _ExitProcess@4
section .text
_main:
; DWORD bytes;
; <- prepare local variable
mov ebp, esp
sub esp, 4
; hStdOut = GetStdHandle(STD_OUTPUT_HANDLE)
; (STD_OUTPUT_HANDLE = -11)
push -11
call _GetStdHandl... | 19.07931 | 81 | 0.528104 |
80432a57c66eba31902429b7eff7c0c483b8c94a | 69 | sql | SQL | Instructor-Resources/Session 1/Demos/2_ModifyService_Objective.sql | pdmih/AzureSQLDatawarehouse | 6deb28ae3eb08319f382939583c585cc2ab6550d | [
"MIT"
] | null | null | null | Instructor-Resources/Session 1/Demos/2_ModifyService_Objective.sql | pdmih/AzureSQLDatawarehouse | 6deb28ae3eb08319f382939583c585cc2ab6550d | [
"MIT"
] | null | null | null | Instructor-Resources/Session 1/Demos/2_ModifyService_Objective.sql | pdmih/AzureSQLDatawarehouse | 6deb28ae3eb08319f382939583c585cc2ab6550d | [
"MIT"
] | null | null | null | ALTER DATABASE AdventureWorksDW
MODIFY(service_objective = 'DW100')
; | 23 | 35 | 0.826087 |
928cfe1c9d347afed637b2cdd9c901391168619b | 966 | h | C | include/il2cpp/Dpr/Battle/Logic/Net/Client/SendToClientReq.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | 1 | 2022-01-15T20:20:27.000Z | 2022-01-15T20:20:27.000Z | include/il2cpp/Dpr/Battle/Logic/Net/Client/SendToClientReq.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | include/il2cpp/Dpr/Battle/Logic/Net/Client/SendToClientReq.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | #pragma once
#include "il2cpp.h"
int32_t Dpr_Battle_Logic_Net_Client_SendToClientReq__GetDivNum (Dpr_Battle_Logic_Net_Client_SendToClientReq_o __this, const MethodInfo* method_info);
bool Dpr_Battle_Logic_Net_Client_SendToClientReq__GetOfs (Dpr_Battle_Logic_Net_Client_SendToClientReq_o __this, int32_t* outOfs, int32_... | 87.818182 | 194 | 0.885093 |
afaa62f59b6b4f934debb817b0c13d1b0a4e4f61 | 466 | rb | Ruby | lib/yomou/commands/clean/novel.rb | kenhys/yomou | fcd5796397a622349560bb16e019304146fe448c | [
"MIT"
] | null | null | null | lib/yomou/commands/clean/novel.rb | kenhys/yomou | fcd5796397a622349560bb16e019304146fe448c | [
"MIT"
] | null | null | null | lib/yomou/commands/clean/novel.rb | kenhys/yomou | fcd5796397a622349560bb16e019304146fe448c | [
"MIT"
] | null | null | null | # frozen_string_literal: true
require_relative '../../command'
require_relative '../../cleaner'
module Yomou
module Commands
class Clean
class Novel < Yomou::Command
def initialize(type_or_path, options)
@type = type_or_path
@options = options
end
def execute(i... | 20.26087 | 51 | 0.607296 |
6d8aaf64a441c441aed5d27d20e0b24f6ded0abf | 1,099 | kt | Kotlin | buildSrc/src/main/kotlin/karakum/popper/Enums.kt | JervNorsk/types-kotlin | ea7261ca0fac6ef75a3d5139e4765a286e638a4e | [
"Apache-2.0"
] | 9 | 2021-08-16T07:42:18.000Z | 2021-09-24T08:04:03.000Z | buildSrc/src/main/kotlin/karakum/popper/Enums.kt | karakum-team/react-types-kotlin | 940a93bb5b3093184916c9c39fbd530eb444be15 | [
"Apache-2.0"
] | null | null | null | buildSrc/src/main/kotlin/karakum/popper/Enums.kt | karakum-team/react-types-kotlin | 940a93bb5b3093184916c9c39fbd530eb444be15 | [
"Apache-2.0"
] | 2 | 2022-01-25T23:46:40.000Z | 2022-03-25T09:11:51.000Z | package karakum.popper
import karakum.common.unionBody
internal fun enums(): Sequence<ConversionResult> =
sequenceOf(
enum(
"ModifierPhases",
"beforeRead",
"read",
"afterRead",
"beforeMain",
"main",
"afterMain",
... | 19.981818 | 50 | 0.413103 |
477e3be42744785a88345cf3a857cb4724c19b4f | 940 | html | HTML | src/app/admin-pages/public-users/view-user-info/view-user-info.component.html | CruSea/karokore_mkc_frontend | c73777d2efc6f3598eb69fd63f20fd842952f05f | [
"MIT"
] | null | null | null | src/app/admin-pages/public-users/view-user-info/view-user-info.component.html | CruSea/karokore_mkc_frontend | c73777d2efc6f3598eb69fd63f20fd842952f05f | [
"MIT"
] | 14 | 2020-05-06T19:49:08.000Z | 2022-02-26T22:59:05.000Z | src/app/admin-pages/public-users/view-user-info/view-user-info.component.html | CruSea/weletemwc_frontend | b1ea7c33f2bad73ca909afc5ee631412ffcc8d20 | [
"MIT"
] | null | null | null | <form>
<div class="modal-body">
<h5 class="text-center">Detail</h5>
<div class="form-label-group">
<mat-form-field class="example-full-width">
<input matInput [readonly]="!editable" placeholder="Full Name" [(ngModel)]="selected_user_data.full_name" name="full_name">
</mat-form-field>
... | 42.727273 | 132 | 0.644681 |
2f7ce4cc937b18b1e9826385334081362a87a655 | 512 | sql | SQL | dist/circ/checkouts-and-renewals-in-date-range.sql | cityplymlibrary/koha-reports | dcadb25f3619f647affd0999e7b5a43af813d79e | [
"Apache-2.0"
] | null | null | null | dist/circ/checkouts-and-renewals-in-date-range.sql | cityplymlibrary/koha-reports | dcadb25f3619f647affd0999e7b5a43af813d79e | [
"Apache-2.0"
] | null | null | null | dist/circ/checkouts-and-renewals-in-date-range.sql | cityplymlibrary/koha-reports | dcadb25f3619f647affd0999e7b5a43af813d79e | [
"Apache-2.0"
] | null | null | null | SELECT borrowers.cardnumber,borrowers.surname,borrowers.firstname,statistics.datetime,statistics.type,items.barcode,items.itype
FROM borrowers
LEFT JOIN statistics on (statistics.borrowernumber=borrowers.borrowernumber)
LEFT JOIN items on (items.itemnumber = statistics.itemnumber)
LEFT JOIN biblioitems on (biblioitems... | 64 | 128 | 0.816406 |
4a36b76a687d042ff0c78759b9ab61082a6d3355 | 761 | swift | Swift | ios/Tests/StringExtensionTests.swift | vsilux/CBCore | 616cc7df0746bef53d212a6cfbaef87806cf4dcc | [
"Apache-2.0"
] | 33 | 2019-10-21T23:44:41.000Z | 2022-03-17T07:44:59.000Z | ios/Tests/StringExtensionTests.swift | ZachT1711/CBCore | 34b9b51a41d2a442bf86c330720e817fa9e90cc1 | [
"Apache-2.0"
] | 4 | 2020-07-27T17:06:49.000Z | 2021-09-16T22:23:52.000Z | ios/Tests/StringExtensionTests.swift | ZachT1711/CBCore | 34b9b51a41d2a442bf86c330720e817fa9e90cc1 | [
"Apache-2.0"
] | 22 | 2019-10-28T10:06:59.000Z | 2022-02-25T17:51:10.000Z | // Copyright (c) 2017-2019 Coinbase Inc. See LICENSE
import XCTest
class StringExtensionTests: XCTestCase {
func testMatches() {
let string = "this is a string"
var matches = string.matches(regex: "(\\w)+")
XCTAssertEqual(matches.count, 4)
matches = string.matches(regex: "(is)+")... | 27.178571 | 71 | 0.626807 |
0a2a1594bab472b12f515e80f05469f13c97dde6 | 159 | lua | Lua | sorce/shmat/shtar_macro.lua | montoyamoraga/shbobo | 3469747603dfead376111f38b455af1250365848 | [
"MIT"
] | 16 | 2020-12-21T04:52:20.000Z | 2022-02-28T10:15:34.000Z | sorce/shmat/shtar_macro.lua | montoyamoraga/shbobo | 3469747603dfead376111f38b455af1250365848 | [
"MIT"
] | 8 | 2021-01-02T01:01:26.000Z | 2021-12-19T01:40:34.000Z | sorce/shmat/shtar_macro.lua | montoyamoraga/shbobo | 3469747603dfead376111f38b455af1250365848 | [
"MIT"
] | 4 | 2021-01-01T15:27:43.000Z | 2021-08-10T21:14:29.000Z |
for i=-32,-1 do
print (".hword",math.floor(math.pow(2,i/17)*256*64))
end
print("\n")
for i=0,31 do
print (".hword",math.floor(math.pow(2,i/17)*256*64))
end
| 17.666667 | 53 | 0.628931 |
340ab015c30c5c7447fca44ac9bdba60d436bf81 | 19,457 | rs | Rust | src/design/implementation/composer/parser.rs | matthijsr/tydi | 9bc4ae74d5a1f70cde6d52807c010ee7396ca465 | [
"Apache-2.0"
] | null | null | null | src/design/implementation/composer/parser.rs | matthijsr/tydi | 9bc4ae74d5a1f70cde6d52807c010ee7396ca465 | [
"Apache-2.0"
] | 26 | 2021-09-06T04:29:55.000Z | 2022-02-16T04:23:42.000Z | src/design/implementation/composer/parser.rs | matthijsr/tydi | 9bc4ae74d5a1f70cde6d52807c010ee7396ca465 | [
"Apache-2.0"
] | 1 | 2021-09-21T14:26:19.000Z | 2021-09-21T14:26:19.000Z | use std::collections::HashMap;
use std::convert::{TryFrom, TryInto};
use std::ops::Deref;
use std::rc::Rc;
use pest::{Parser, RuleType};
use pest::iterators::Pair;
use crate::{Error, Name, Result, Reversed, UniqueKeyBuilder};
use crate::design::{
GEN_LIB, IFKey, LibKey, Library, Mode, NodeIFHandle, NodeKey, Proje... | 34.806798 | 123 | 0.484967 |
96a3716100cb4fe1cdced01155f2ace8cb661d4b | 2,244 | html | HTML | src/app/navbar/navbar.component.html | yuriimartynenko/angular-todo-employees | 1cb703e75e0d355f06824e6e277c36eb28a42a83 | [
"MIT"
] | null | null | null | src/app/navbar/navbar.component.html | yuriimartynenko/angular-todo-employees | 1cb703e75e0d355f06824e6e277c36eb28a42a83 | [
"MIT"
] | 5 | 2021-05-11T02:17:31.000Z | 2022-03-02T07:14:09.000Z | src/app/navbar/navbar.component.html | yuriimartynenko/angular-todo-employees | 1cb703e75e0d355f06824e6e277c36eb28a42a83 | [
"MIT"
] | null | null | null | <nav class="navbar navbar-dark bg-dark">
<div class="container">
<a class="navbar-brand" href="#">{{active ? $ctrl.titleEmployee : $ctrl.title}}</a>
<form ng-class="{'d-none': active, 'form inline': !active}">
<button type="button" class="btn btn-danger cursor-default" ng-click="$ctrl.em... | 56.1 | 182 | 0.49287 |