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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
08d1b39122b0cb341e488970965dec566275079d | 208 | kt | Kotlin | helper/stuntman/src/main/java/com/lukevanoort/stuntman/SMView.kt | lvanoort/Cellarmanapp | 138cd4d7f3f42fbdd36b7535c5f6c39930ae8988 | [
"Apache-2.0"
] | null | null | null | helper/stuntman/src/main/java/com/lukevanoort/stuntman/SMView.kt | lvanoort/Cellarmanapp | 138cd4d7f3f42fbdd36b7535c5f6c39930ae8988 | [
"Apache-2.0"
] | null | null | null | helper/stuntman/src/main/java/com/lukevanoort/stuntman/SMView.kt | lvanoort/Cellarmanapp | 138cd4d7f3f42fbdd36b7535c5f6c39930ae8988 | [
"Apache-2.0"
] | null | null | null | package com.lukevanoort.stuntman
interface SMView<S: Any, T : SMViewModel<S, Any>> {
abstract fun bindViewModel(vm : T)
abstract fun setState(state: S)
abstract fun unbindViewModel()
}
| 23.111111 | 52 | 0.682692 |
90e841729f848d63186b5e3ef88cd615c203ffdb | 2,467 | py | Python | crawler/grabber/__init__.py | bmwant/chemister | fbefcc9f548acc69966b6fbe19c4486f471fb390 | [
"MIT"
] | null | null | null | crawler/grabber/__init__.py | bmwant/chemister | fbefcc9f548acc69966b6fbe19c4486f471fb390 | [
"MIT"
] | 1 | 2020-04-29T23:35:21.000Z | 2020-04-29T23:35:21.000Z | crawler/grabber/__init__.py | bmwant/chemister | fbefcc9f548acc69966b6fbe19c4486f471fb390 | [
"MIT"
] | null | null | null | """
Grab information needed from a resource and store it.
"""
import asyncio
from abc import ABC, abstractmethod
from datetime import datetime
from utils import get_logger, get_date_cache_key
from crawler.models.bid import (
insert_new_bid,
get_bid_by_signature,
)
from crawler.models.resource import Resource
... | 28.686047 | 70 | 0.62951 |
53b54cda80aad866c08b1b811059a724ba807b47 | 2,302 | java | Java | src/com/systemtap/android/Config.java | yuchen112358/SystemTap | b5c9617facdb1fdec0f3ef0f22d89ee3f89a0da9 | [
"Apache-2.0"
] | null | null | null | src/com/systemtap/android/Config.java | yuchen112358/SystemTap | b5c9617facdb1fdec0f3ef0f22d89ee3f89a0da9 | [
"Apache-2.0"
] | null | null | null | src/com/systemtap/android/Config.java | yuchen112358/SystemTap | b5c9617facdb1fdec0f3ef0f22d89ee3f89a0da9 | [
"Apache-2.0"
] | null | null | null | package com.systemtap.android;
import java.io.File;
public class Config
{
private static final String MAIN_DIR = "systemtap";
private static final String MODULES_DIR = "modules";
private static final String STAP_OUTPUT_DIR = "stap_output";
private static final String STAP_LOG_DIR = "stap_log";
private stat... | 39.689655 | 130 | 0.775847 |
907e3f79500f211b55db18030885d0ff4d701cf6 | 1,671 | kt | Kotlin | app/src/main/java/com/gatow/salman/talashehuroof/presenter/storage/StorageUtils.kt | salmanmalik-pk/talash-e-huroof | 50133c3c0ebc8186543454ffe54640e85bd91176 | [
"MIT"
] | null | null | null | app/src/main/java/com/gatow/salman/talashehuroof/presenter/storage/StorageUtils.kt | salmanmalik-pk/talash-e-huroof | 50133c3c0ebc8186543454ffe54640e85bd91176 | [
"MIT"
] | null | null | null | app/src/main/java/com/gatow/salman/talashehuroof/presenter/storage/StorageUtils.kt | salmanmalik-pk/talash-e-huroof | 50133c3c0ebc8186543454ffe54640e85bd91176 | [
"MIT"
] | null | null | null |
package com.gatow.salman.talashehuroof.presenter.storage
import android.annotation.SuppressLint
import android.content.Context
import com.gatow.salman.talashehuroof.BuildConfig.APPLICATION_ID
import com.gatow.salman.talashehuroof.models.Player
import com.gatow.salman.talashehuroof.presenter.level.LevelBuilder
/**
... | 31.528302 | 95 | 0.700778 |
12e18736ad905c8d79f0927b1c91321b3db9f347 | 2,941 | html | HTML | HTML-TEST- SALAO/index.html | Nicholasmendespereira/HTML-CSS-E-JS-EXERCICIOS | 6523582f9cceadc4a80fb407269aece1ac8dbbf4 | [
"MIT"
] | null | null | null | HTML-TEST- SALAO/index.html | Nicholasmendespereira/HTML-CSS-E-JS-EXERCICIOS | 6523582f9cceadc4a80fb407269aece1ac8dbbf4 | [
"MIT"
] | null | null | null | HTML-TEST- SALAO/index.html | Nicholasmendespereira/HTML-CSS-E-JS-EXERCICIOS | 6523582f9cceadc4a80fb407269aece1ac8dbbf4 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Salão Stylo Feminino</title>
<link rel="shortcut icon" href="favicon/favicon.ico" type="image/x-icon">... | 61.270833 | 708 | 0.682421 |
53c518c1fdc1b48817613c2909ae8090a6c9fdad | 6,416 | java | Java | src/main/java/party/lemons/trapexpansion/block/SpikeTrapFloorBlock.java | Juuxel/trap-expansion-fabric | 7e813c6de19e52475a6d74ec8f7ac546c8195e7d | [
"MIT"
] | null | null | null | src/main/java/party/lemons/trapexpansion/block/SpikeTrapFloorBlock.java | Juuxel/trap-expansion-fabric | 7e813c6de19e52475a6d74ec8f7ac546c8195e7d | [
"MIT"
] | null | null | null | src/main/java/party/lemons/trapexpansion/block/SpikeTrapFloorBlock.java | Juuxel/trap-expansion-fabric | 7e813c6de19e52475a6d74ec8f7ac546c8195e7d | [
"MIT"
] | null | null | null | package party.lemons.trapexpansion.block;
import net.minecraft.entity.EntityContext;
import net.minecraft.sound.SoundEvent;
import net.minecraft.state.property.DirectionProperty;
import net.minecraft.util.math.Direction;
import net.minecraft.util.shape.VoxelShape;
import party.lemons.trapexpansion.init.TrapExpansionBl... | 28.017467 | 149 | 0.744077 |
d262439db97e3ac7f41b17248bcf882e497b34ce | 1,230 | kt | Kotlin | app/src/main/java/net/maiatoday/mkay/db/dao/EntryDao.kt | maiatoday/MKay | 46f9ead2c9ccbbd50252811b8b82772da154773d | [
"MIT"
] | null | null | null | app/src/main/java/net/maiatoday/mkay/db/dao/EntryDao.kt | maiatoday/MKay | 46f9ead2c9ccbbd50252811b8b82772da154773d | [
"MIT"
] | null | null | null | app/src/main/java/net/maiatoday/mkay/db/dao/EntryDao.kt | maiatoday/MKay | 46f9ead2c9ccbbd50252811b8b82772da154773d | [
"MIT"
] | null | null | null | package net.maiatoday.mkay.db.dao
import android.arch.lifecycle.LiveData
import android.arch.persistence.room.*
import net.maiatoday.mkay.db.entity.*
import java.util.*
/**
* Created by maia on 2017/05/25.
*/
@Dao
abstract class EntryDao {
@Query("SELECT COUNT(*) FROM entries")
abstract fun count(): Int
... | 28.604651 | 121 | 0.7 |
654ad9f66cc00d76dc7800cff09e9d14c95e20e3 | 2,259 | py | Python | tpdatasrc/tpgamefiles/rules/char_class/class020_archmage.py | edoipi/TemplePlus | f0e552289822fea908f16daa379fa568b1bd286d | [
"MIT"
] | null | null | null | tpdatasrc/tpgamefiles/rules/char_class/class020_archmage.py | edoipi/TemplePlus | f0e552289822fea908f16daa379fa568b1bd286d | [
"MIT"
] | null | null | null | tpdatasrc/tpgamefiles/rules/char_class/class020_archmage.py | edoipi/TemplePlus | f0e552289822fea908f16daa379fa568b1bd286d | [
"MIT"
] | null | null | null | from toee import *
import char_class_utils
###################################################
def GetConditionName():
return "Archmage"
def GetSpellCasterConditionName():
return "Archmage Spellcasting"
def GetCategory():
return "Core 3.5 Ed Prestige Classes"
def GetClassDefinitionFlags():
return CDF_CoreClass... | 20.916667 | 135 | 0.736609 |
fd5a37efd94262c6c71c857af4e9552e761f38ca | 3,439 | h | C | third_party/blink/renderer/modules/direct_sockets/udp_socket.h | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | third_party/blink/renderer/modules/direct_sockets/udp_socket.h | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | third_party/blink/renderer/modules/direct_sockets/udp_socket.h | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2020 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 THIRD_PARTY_BLINK_RENDERER_MODULES_DIRECT_SOCKETS_UDP_SOCKET_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_DIRECT_SOCKETS_UDP_SOCKET_H_
#include ... | 37.791209 | 99 | 0.78075 |
a1369022e86ca831f72f39c66e5783693ab8b9ac | 1,016 | swift | Swift | Sources/Data/Entity/Transformers/Generic/BidirectionalValueTransformer.swift | Pointwelve/Bitpal-iOS | ac1eff918db0b28ab8990b0f7de4dee49bfe0d17 | [
"Apache-2.0"
] | 1 | 2020-03-18T19:15:28.000Z | 2020-03-18T19:15:28.000Z | Data/Data/Entity/Transformers/Generic/BidirectionalValueTransformer.swift | Pointwelve/Bitpal-iOS | ac1eff918db0b28ab8990b0f7de4dee49bfe0d17 | [
"Apache-2.0"
] | null | null | null | Data/Data/Entity/Transformers/Generic/BidirectionalValueTransformer.swift | Pointwelve/Bitpal-iOS | ac1eff918db0b28ab8990b0f7de4dee49bfe0d17 | [
"Apache-2.0"
] | 1 | 2020-05-19T05:24:34.000Z | 2020-05-19T05:24:34.000Z | //
// BidirectionalValueTransformer.swift
// Data
//
// Created by Ryne Cheow on 17/4/17.
// Copyright © 2017 Pointwelve. All rights reserved.
//
import Foundation
import RxSwift
protocol BirectionalValueTransformer: ValueTransformer {
func transform(_ input: Output) -> Observable<Input>
}
class Bidirectional... | 25.4 | 75 | 0.724409 |
164d66a0c338514be5061551f2ab986df51fddd3 | 221 | ts | TypeScript | src/main.ts | Ibrahim-Islam/ng2-outlook-imgur | c68ecc1585768503bef97e01b56abe4caad832f8 | [
"MIT"
] | null | null | null | src/main.ts | Ibrahim-Islam/ng2-outlook-imgur | c68ecc1585768503bef97e01b56abe4caad832f8 | [
"MIT"
] | null | null | null | src/main.ts | Ibrahim-Islam/ng2-outlook-imgur | c68ecc1585768503bef97e01b56abe4caad832f8 | [
"MIT"
] | null | null | null | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
Office.initialize = (reason: any) => {
platformBrowserDynamic().bootstrapModule(AppModule);
}; | 36.833333 | 75 | 0.737557 |
40a3b4a834ef0bbd9a067a992d2fd9790bfbf330 | 5,193 | py | Python | kuryr_libnetwork/utils.py | bbc/kuryr-libnetwork | 8f7866809240acd52667f9e47a5df4a700d9290b | [
"Apache-2.0"
] | 26 | 2016-05-23T01:18:10.000Z | 2020-04-20T14:01:07.000Z | kuryr_libnetwork/utils.py | bbc/kuryr-libnetwork | 8f7866809240acd52667f9e47a5df4a700d9290b | [
"Apache-2.0"
] | 1 | 2019-11-01T13:03:25.000Z | 2019-11-01T13:03:26.000Z | kuryr_libnetwork/utils.py | bbc/kuryr-libnetwork | 8f7866809240acd52667f9e47a5df4a700d9290b | [
"Apache-2.0"
] | 16 | 2016-07-02T23:46:51.000Z | 2021-05-21T09:55:02.000Z | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | 31.095808 | 120 | 0.706335 |
4590435b4930b7990d00602636c1039a4a009baa | 32 | rs | Rust | src/lib.rs | AbooMinister25/Lite | 06aede2912d6f8f9134746dcd02033fad0454790 | [
"MIT"
] | 19 | 2020-11-20T22:30:06.000Z | 2022-03-16T00:56:56.000Z | src/lib.rs | AbooMinister25/Lite | 06aede2912d6f8f9134746dcd02033fad0454790 | [
"MIT"
] | null | null | null | src/lib.rs | AbooMinister25/Lite | 06aede2912d6f8f9134746dcd02033fad0454790 | [
"MIT"
] | 2 | 2021-08-02T17:15:37.000Z | 2021-08-19T12:41:52.000Z | pub mod errors;
pub mod parser;
| 10.666667 | 15 | 0.75 |
b8e3738033859dfe543d95cfdca9224a18a87a19 | 6,293 | rs | Rust | src/thumb_formats/load_store_sign_extended.rs | gba-rs/gba-emu | 7197a7873aff2b8b3e363d4271822f0a7cf41078 | [
"Apache-2.0",
"MIT"
] | 2 | 2020-07-11T02:45:04.000Z | 2020-10-22T21:24:03.000Z | src/thumb_formats/load_store_sign_extended.rs | gba-rs/gba-emu | 7197a7873aff2b8b3e363d4271822f0a7cf41078 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/thumb_formats/load_store_sign_extended.rs | gba-rs/gba-emu | 7197a7873aff2b8b3e363d4271822f0a7cf41078 | [
"Apache-2.0",
"MIT"
] | null | null | null | use crate::operations::instruction::Instruction;
use crate::cpu::cpu::{CPU, THUMB_PC};
use crate::operations::load_store::{DataTransfer, DataType, data_transfer_execute};
use crate::memory::memory_bus::MemoryBus;
use core::fmt;
pub struct LoadStoreSignExtended {
h_flag: bool,
sign_extended: bool,
offset_r... | 34.387978 | 128 | 0.620054 |
966546eb0f9d54ae9b760d5aa0ddd72552df6ca7 | 502 | php | PHP | app/Models/Cliente.php | AcunaRibon/AlanaPetshoft | 1f26766e1e9df461891244668464383bba24715b | [
"MIT"
] | 3 | 2022-03-03T20:13:08.000Z | 2022-03-07T21:24:06.000Z | app/Models/Cliente.php | AcunaRibon/AlanaPetshoft | 1f26766e1e9df461891244668464383bba24715b | [
"MIT"
] | null | null | null | app/Models/Cliente.php | AcunaRibon/AlanaPetshoft | 1f26766e1e9df461891244668464383bba24715b | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
class Cliente extends Model
{
use HasFactory;
protected $table='cliente';
protected $primaryKey ='id_cliente'... | 25.1 | 147 | 0.790837 |
fa0b107425969bb15e260419c1c25637b70a456a | 3,435 | swift | Swift | JustPeek/Classes/PeekViewController.swift | FroeMic/JustPeek | de96e8572661de199fdd1ec248e0a31bf106d4fb | [
"Apache-2.0"
] | null | null | null | JustPeek/Classes/PeekViewController.swift | FroeMic/JustPeek | de96e8572661de199fdd1ec248e0a31bf106d4fb | [
"Apache-2.0"
] | null | null | null | JustPeek/Classes/PeekViewController.swift | FroeMic/JustPeek | de96e8572661de199fdd1ec248e0a31bf106d4fb | [
"Apache-2.0"
] | null | null | null | //
// PeekViewController.swift
// JustPeek
//
// Copyright 2016 Just Eat Holdings Ltd.
//
import UIKit
internal class PeekViewController: UIViewController {
fileprivate let peekContext: PeekContext
fileprivate let contentView: UIView
fileprivate let peekView: PeekView
internal init?(peekC... | 34.009901 | 124 | 0.64163 |
13430f34889e1946100a12897d11e8707f875c8c | 64 | h | C | defs.h | dranzerashi/recipie-manager-cpp-training | 2a36b912209bc36441f0e7562fa726b242eb9268 | [
"MIT"
] | null | null | null | defs.h | dranzerashi/recipie-manager-cpp-training | 2a36b912209bc36441f0e7562fa726b242eb9268 | [
"MIT"
] | null | null | null | defs.h | dranzerashi/recipie-manager-cpp-training | 2a36b912209bc36441f0e7562fa726b242eb9268 | [
"MIT"
] | null | null | null | #ifndef DEFS_H
#define DEFS_H
#define MAX_RECIPES 32
#endif
| 8 | 23 | 0.75 |
4446c5b13dbbe194218c416b2d6d78220921af00 | 40,059 | asm | Assembly | software/application/ifirm.asm | JCLemme/eprisc | 05a792c1845982bf5571e2eed5e3f3cef845d2e2 | [
"MIT"
] | null | null | null | software/application/ifirm.asm | JCLemme/eprisc | 05a792c1845982bf5571e2eed5e3f3cef845d2e2 | [
"MIT"
] | null | null | null | software/application/ifirm.asm | JCLemme/eprisc | 05a792c1845982bf5571e2eed5e3f3cef845d2e2 | [
"MIT"
] | null | null | null | ; epRISC Interactive Firmware
; copyright 2018 by John C Lemme, jclemme (at) proportionallabs (dot) com
; Layout of the dictionary
; Word 0 Defined[0Empty,1Code,2Variable,3Constant],Precedence[0Norm,1Immd],Pad[2bit],NameSize[1byte]
; Word 1..n Packed name, zero padded
; Word n+1 Next definition
; Word n+2 Code po... | 46.310983 | 144 | 0.392271 |
d290856e6b70aad429fb2dec37409e85d6e67a63 | 839 | php | PHP | application/views/server/error/403.php | sekilas13/kir-13 | 95d9b1137a300adcd713212b8b5a01ba09067218 | [
"MIT"
] | null | null | null | application/views/server/error/403.php | sekilas13/kir-13 | 95d9b1137a300adcd713212b8b5a01ba09067218 | [
"MIT"
] | null | null | null | application/views/server/error/403.php | sekilas13/kir-13 | 95d9b1137a300adcd713212b8b5a01ba09067218 | [
"MIT"
] | null | null | null | <section class="mt-4">
<div class="row justify-content-center">
<div class="col-10">
<div class="card shadow-lg bg-dark text-center">
<div class="card-body">
<div class="row text-light">
<div class="col">
<h1... | 41.95 | 137 | 0.412396 |
bcd91cadb5420ef4694e3158eca1adc95363544c | 629 | js | JavaScript | spec/services/rules/SumValues.Spec.js | jasonLiu001/game-play-simulator-request | 42c00d0b9e3bbcf0d0fd53f72b406916385fb8ae | [
"MIT"
] | null | null | null | spec/services/rules/SumValues.Spec.js | jasonLiu001/game-play-simulator-request | 42c00d0b9e3bbcf0d0fd53f72b406916385fb8ae | [
"MIT"
] | null | null | null | spec/services/rules/SumValues.Spec.js | jasonLiu001/game-play-simulator-request | 42c00d0b9e3bbcf0d0fd53f72b406916385fb8ae | [
"MIT"
] | null | null | null | let SumValues = require('../../../dist/services/rules/SumValues').SumValues;
let Config = require('../../../dist/config/Config').Config;
describe("SumValues Test", () => {
let sumValues;
Config.globalVariable.last_PrizeNumber = "37274";
beforeEach((done) => {
sumValues = new SumValues();
do... | 31.45 | 76 | 0.551669 |
9f59069d4f323bbee221d7d89c4a99f46d7f95d6 | 3,625 | pkb | SQL | taxonomy/biosql/biosql-schema/sql/biosqldb-ora/PkgAPI/Term_Synonym.pkb | sauloal/projects | 79068b20251fd29cadbc80a5de550fc77332788d | [
"MIT"
] | null | null | null | taxonomy/biosql/biosql-schema/sql/biosqldb-ora/PkgAPI/Term_Synonym.pkb | sauloal/projects | 79068b20251fd29cadbc80a5de550fc77332788d | [
"MIT"
] | null | null | null | taxonomy/biosql/biosql-schema/sql/biosqldb-ora/PkgAPI/Term_Synonym.pkb | sauloal/projects | 79068b20251fd29cadbc80a5de550fc77332788d | [
"MIT"
] | 1 | 2018-10-26T05:13:42.000Z | 2018-10-26T05:13:42.000Z | -- -*-Sql-*- mode (to keep my emacs happy)
--
-- API Package Body for Term_Synonym.
--
-- Scaffold auto-generated by gen-api.pl. gen-api.pl is
-- Copyright 2002-2003 Genomics Institute of the Novartis Research Foundation
-- Copyright 2002-2008 Hilmar Lapp
--
-- This file is part of BioSQL.
--
-- BioSQL is free softw... | 30.462185 | 140 | 0.679448 |
e664b126e93cb39d6e46dbeebe4091b776cd4837 | 1,398 | go | Go | everydate/15/15.go | unbule/leetcode | 870c0e334e7944473d5331e3b4c7fdd8ef17f410 | [
"Apache-2.0"
] | 2 | 2021-10-04T08:33:08.000Z | 2021-10-04T10:51:35.000Z | everydate/15/15.go | unbule/leetcode | 870c0e334e7944473d5331e3b4c7fdd8ef17f410 | [
"Apache-2.0"
] | null | null | null | everydate/15/15.go | unbule/leetcode | 870c0e334e7944473d5331e3b4c7fdd8ef17f410 | [
"Apache-2.0"
] | null | null | null | package main
import (
"fmt"
"sort"
"strconv"
)
func main() {
nums := []int{-1, 0, 1, 2, -1, -4}
fmt.Println(threeSum(nums))
}
func threeSum(nums []int) [][]int {
res := [][]int{}
mapp := make(map[string]int)
n := len(nums)
sort.Ints(nums)
//fmt.Println(nums)
for i := 0; i < n-2; i++ {
for j := i + 1; j ... | 16.447059 | 55 | 0.473534 |
39fb52e123bb6f3e3b8d3eeaf29eb035a308afa4 | 4,479 | java | Java | src/main/java/org/logo/viewer/logo/graphic/frontend/menu/LogoMenu_About.java | marcosperanza/logo | c893fdf54b3a59c000052858ba16ada4c77709c5 | [
"Apache-2.0"
] | null | null | null | src/main/java/org/logo/viewer/logo/graphic/frontend/menu/LogoMenu_About.java | marcosperanza/logo | c893fdf54b3a59c000052858ba16ada4c77709c5 | [
"Apache-2.0"
] | null | null | null | src/main/java/org/logo/viewer/logo/graphic/frontend/menu/LogoMenu_About.java | marcosperanza/logo | c893fdf54b3a59c000052858ba16ada4c77709c5 | [
"Apache-2.0"
] | null | null | null | /**
*
* Copyright 2003-2011 Simple Logo Viewer
*
* 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 ... | 24.342391 | 75 | 0.691896 |
9e347357c3806ff0a0232de972219366b467c0b8 | 22,194 | rs | Rust | rustednes-sdl/src/emulator.rs | jasonrhansen/RustedNES | 9317c381ad00cfa3a16bd5924c36dd135522afcb | [
"Apache-2.0",
"MIT"
] | 5 | 2020-04-27T18:03:48.000Z | 2022-01-20T17:42:11.000Z | rustednes-sdl/src/emulator.rs | jasonrhansen/RustedNES | 9317c381ad00cfa3a16bd5924c36dd135522afcb | [
"Apache-2.0",
"MIT"
] | null | null | null | rustednes-sdl/src/emulator.rs | jasonrhansen/RustedNES | 9317c381ad00cfa3a16bd5924c36dd135522afcb | [
"Apache-2.0",
"MIT"
] | null | null | null | use rustednes_common::debugger::{DebugEmulator, Debugger};
use rustednes_common::emulation_mode::EmulationMode;
use rustednes_common::state::StateManager;
use rustednes_common::time::TimeSource;
use rustednes_core::cartridge::Cartridge;
use rustednes_core::cpu::CPU_FREQUENCY;
use rustednes_core::input::Button;
use rus... | 35.228571 | 101 | 0.489457 |
09e9a1035947e29f0d7e8e40699e2a0bad7d116c | 380 | asm | Assembly | programs/oeis/094/A094259.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/094/A094259.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/094/A094259.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A094259: G.f.: (1-5*x)/((1-6*x)*(1-x)^2).
; 1,3,11,55,315,1871,11203,67191,403115,2418655,14511891,87071303,522427771,3134566575,18807399395,112844396311,677066377803,4062398266751,24374389600435,146246337602535,877478025615131,5264868153690703,31589208922144131,189535253532864695
mov $2,$0
lpb $0
sub $0,1
mul $... | 27.142857 | 239 | 0.734211 |
f04fe627efe0144e2458f0c9cbc3a0a35eb65c7d | 1,974 | js | JavaScript | src/blocks/main.js | peilingjiang/b5.js | ce5a1f89970273f0925d143aa250b0e9bd01c0df | [
"MIT"
] | 3 | 2021-08-30T01:50:12.000Z | 2022-01-20T03:10:35.000Z | src/blocks/main.js | peilingjiang/b5.js | ce5a1f89970273f0925d143aa250b0e9bd01c0df | [
"MIT"
] | 12 | 2021-02-28T05:17:10.000Z | 2021-12-24T03:26:46.000Z | src/blocks/main.js | peilingjiang/b5.js | ce5a1f89970273f0925d143aa250b0e9bd01c0df | [
"MIT"
] | null | null | null | class _b5Blocks {
constructor() {
this.custom = {}
this.library = this.__proto__.library
this.original = this.__proto__ // ? Is it dangerous?
}
}
_b5Blocks.prototype.library = {}
/* --------------------------------- Custom --------------------------------- */
_b5Blocks.prototype.createCustom = functi... | 22.431818 | 80 | 0.582067 |
bb0aee7db31b93a664858d88f23f372d100ec8a5 | 2,870 | rb | Ruby | lib/magpie-gem/property.rb | Redstapler/magpie-gem | 276dac488e6685c63e28d5f7dae8a354bdaaf1d4 | [
"MIT"
] | null | null | null | lib/magpie-gem/property.rb | Redstapler/magpie-gem | 276dac488e6685c63e28d5f7dae8a354bdaaf1d4 | [
"MIT"
] | null | null | null | lib/magpie-gem/property.rb | Redstapler/magpie-gem | 276dac488e6685c63e28d5f7dae8a354bdaaf1d4 | [
"MIT"
] | null | null | null | require 'magpie-gem/property_land.rb'
require 'magpie-gem/property_built.rb'
require 'magpie-gem/property_space.rb'
require 'magpie-gem/property_sale.rb'
require 'magpie-gem/property_floor_load_ratio.rb'
require 'magpie-gem/media.rb'
require 'magpie-gem/contact.rb'
require 'magpie-gem/property_amenities.rb'
module Mag... | 35.875 | 153 | 0.705575 |
d86224c913a897b7e3bdb7345eae73851b372e1f | 135 | sql | SQL | services/service-core-db/migrations/2018-05-23-175302_add_index_to_subscription_id_and_status_on_catalog_payments/up.sql | jermiy/services-core | d1dace6a978d901da9566763d568623242ca6d8a | [
"MIT"
] | 56 | 2018-09-27T01:40:09.000Z | 2022-03-24T13:08:15.000Z | services/service-core-db/migrations/2018-05-23-175302_add_index_to_subscription_id_and_status_on_catalog_payments/up.sql | jermiy/services-core | d1dace6a978d901da9566763d568623242ca6d8a | [
"MIT"
] | 344 | 2018-08-29T10:15:13.000Z | 2022-03-30T14:24:21.000Z | services/service-core-db/migrations/2018-05-23-175302_add_index_to_subscription_id_and_status_on_catalog_payments/up.sql | jermiy/services-core | d1dace6a978d901da9566763d568623242ca6d8a | [
"MIT"
] | 41 | 2018-08-24T15:30:58.000Z | 2022-03-11T19:14:43.000Z | -- Your SQL goes here
create index idx_payment_subscription_id_and_status on payment_service.catalog_payments(subscription_id, status); | 67.5 | 113 | 0.874074 |
d006bc09caa28699fba6c19839c5a2450ed3f2db | 400 | rb | Ruby | login.rb | sakhtar1/automation_wm | d5bcf236dc9b167f223ec4a636ef7d5a70f89b8b | [
"MIT"
] | null | null | null | login.rb | sakhtar1/automation_wm | d5bcf236dc9b167f223ec4a636ef7d5a70f89b8b | [
"MIT"
] | null | null | null | login.rb | sakhtar1/automation_wm | d5bcf236dc9b167f223ec4a636ef7d5a70f89b8b | [
"MIT"
] | null | null | null | require 'page-object'
class LoginPage
include PageObject
text_field(:email, :id => 'login-email')
text_field(:password, :id => 'login-password')
button(:send, :id => 'login_page_button')
page_url 'https://dev.workmarket.com/login'
def login_method( email, password)
self.email = email... | 20 | 51 | 0.6475 |
20adcf7259a099b84e9fc8540fa21c49692fe28c | 622 | kt | Kotlin | detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/complexity/LabeledExpressionSpec.kt | Mygod/detekt | 691f1d5cde9d6afed6987024eaf473388a31ce7f | [
"Apache-2.0"
] | null | null | null | detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/complexity/LabeledExpressionSpec.kt | Mygod/detekt | 691f1d5cde9d6afed6987024eaf473388a31ce7f | [
"Apache-2.0"
] | null | null | null | detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/complexity/LabeledExpressionSpec.kt | Mygod/detekt | 691f1d5cde9d6afed6987024eaf473388a31ce7f | [
"Apache-2.0"
] | null | null | null | package io.gitlab.arturbosch.detekt.rules.complexity
import io.gitlab.arturbosch.detekt.rules.Case
import io.gitlab.arturbosch.detekt.test.lint
import org.assertj.core.api.Assertions.assertThat
import org.jetbrains.spek.api.dsl.given
import org.jetbrains.spek.api.dsl.it
import org.jetbrains.spek.subject.SubjectSpek
/... | 24.88 | 62 | 0.778135 |
cf90ee9e144322267a067aab1220cd58b1777740 | 5,120 | css | CSS | frontend/web/css/custom.css | jccarrizo/deyaju | 40c017cfb1e373c9015b2ca03498a19e260bb2e7 | [
"BSD-3-Clause"
] | null | null | null | frontend/web/css/custom.css | jccarrizo/deyaju | 40c017cfb1e373c9015b2ca03498a19e260bb2e7 | [
"BSD-3-Clause"
] | null | null | null | frontend/web/css/custom.css | jccarrizo/deyaju | 40c017cfb1e373c9015b2ca03498a19e260bb2e7 | [
"BSD-3-Clause"
] | null | null | null | /* Estilos del home */
.glyphicon {
font-family: "Font Awesome 5 Free";
font-weight: 900;
}
.glyphicon-pencil::before {
content: "\f044";
}
.glyphicon-trash::before {
content: "\f2ed";
}
.glyphicon-eye-open::before {
content: "\f06e";
}
.box-img img {
width: 100%;
height: 150px;
object-fit: cover;
... | 16.100629 | 65 | 0.633789 |
53b354af5aa0cf9ed47c629a528c9b9a9a5459ed | 858 | java | Java | src/com/nazkolcu/examples/chapter04/example02/Characters.java | nazkolcu/OOPJ | 26f086f70c04eae64fc4dd6096d93fbacde09a5f | [
"MIT"
] | null | null | null | src/com/nazkolcu/examples/chapter04/example02/Characters.java | nazkolcu/OOPJ | 26f086f70c04eae64fc4dd6096d93fbacde09a5f | [
"MIT"
] | null | null | null | src/com/nazkolcu/examples/chapter04/example02/Characters.java | nazkolcu/OOPJ | 26f086f70c04eae64fc4dd6096d93fbacde09a5f | [
"MIT"
] | null | null | null | package com.nazkolcu.examples.chapter04.example02;
public class Characters {
public static void main(String[] args) {
char ch = 'a';
System.out.println("Character: " + ch + " its numeric value: " + (int) ch);
ch='A';
System.out.println("Character: " + ch + " its numeric value: " + (... | 35.75 | 83 | 0.534965 |
208ab53f9574b05d5add70cdac95c670b91c79a0 | 2,558 | lua | Lua | weapon.lua | Zariel/bollo2 | df7f0973d0f6436512cc3d5c486b3eb5ac60a662 | [
"BSD-3-Clause"
] | 1 | 2016-05-08T11:32:50.000Z | 2016-05-08T11:32:50.000Z | weapon.lua | Zariel/bollo2 | df7f0973d0f6436512cc3d5c486b3eb5ac60a662 | [
"BSD-3-Clause"
] | null | null | null | weapon.lua | Zariel/bollo2 | df7f0973d0f6436512cc3d5c486b3eb5ac60a662 | [
"BSD-3-Clause"
] | null | null | null | local Bollo = LibStub("AceAddon-3.0"):GetAddon("Bollo2")
local w = Bollo:NewModule("Weapons", "AceConsole-3.0", "AceEvent-3.0")
local GetWeaponEnchantInfo = GetWeaponEnchantInfo
local GetInventoryItemTexture = GetInventoryItemTexture
function w:OnEnable()
local defaults = {
profile = {
max = 2,
perRow = 2,
... | 25.078431 | 139 | 0.699375 |
c7d6efaa05098d250adf1ecd1e85f82f14933551 | 16,325 | py | Python | tests/test_cursor.py | QuiNovas/lambda-pyathena | d91347604df6026d3cc0631a8fd0b149189c1a49 | [
"MIT"
] | null | null | null | tests/test_cursor.py | QuiNovas/lambda-pyathena | d91347604df6026d3cc0631a8fd0b149189c1a49 | [
"MIT"
] | null | null | null | tests/test_cursor.py | QuiNovas/lambda-pyathena | d91347604df6026d3cc0631a8fd0b149189c1a49 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import unicode_literals
import contextlib
import re
import time
import unittest
from concurrent import futures
from concurrent.futures.thread import ThreadPoolExecutor
from datetime import date, datetime
from decimal import Decimal
from ran... | 38.142523 | 89 | 0.597672 |
6e198b3b78b2db7756f398ebe179bab94d0314ef | 272 | html | HTML | query/landscapes/index-tags.html | postman-open-technologies/explore | 57406d83ed1a03a99de259b105d69ae987aeff4a | [
"Apache-2.0"
] | null | null | null | query/landscapes/index-tags.html | postman-open-technologies/explore | 57406d83ed1a03a99de259b105d69ae987aeff4a | [
"Apache-2.0"
] | null | null | null | query/landscapes/index-tags.html | postman-open-technologies/explore | 57406d83ed1a03a99de259b105d69ae987aeff4a | [
"Apache-2.0"
] | null | null | null | ---
layout: none
---
{% assign landscapes = site.data.landscape %}
{% for landscape in landscapes %}
{% for tag in landscape.tags %}
INSERT INTO landscapes_tags(tag,landscape_name) VALUES('{{ tag }}','{{ landscape.name }}');<br>
{% endfor %}
{% endfor %} | 24.727273 | 98 | 0.610294 |
18df98e7270a6eb75de76f25256b9d1509a71c5a | 176 | rb | Ruby | config/routes.rb | Assist-DevQ/back-end-api | 516e65d4d9a48cdf931d9bcf01518d5a081008d9 | [
"MIT"
] | 1 | 2019-10-31T07:59:48.000Z | 2019-10-31T07:59:48.000Z | config/routes.rb | Assist-DevQ/back-end-api | 516e65d4d9a48cdf931d9bcf01518d5a081008d9 | [
"MIT"
] | 2 | 2022-02-12T23:38:53.000Z | 2022-02-26T19:31:21.000Z | config/routes.rb | Assist-DevQ/back-end-api | 516e65d4d9a48cdf931d9bcf01518d5a081008d9 | [
"MIT"
] | null | null | null | Rails.application.routes.draw do
mount Admin::RootApi => '/admin/api/v1'
mount Extension::RootApi => '/extension/api/v1'
mount Common::WebHooksApi => '/api/v1/hooks'
end
| 29.333333 | 49 | 0.710227 |
263d16f93d3f134805914aef5777b1781d7d7b73 | 185 | java | Java | src/main/java/dev/cheun/exceptions/InvalidCreateException.java | dcheun/bankAPI | 795166d3bcd1ba4ebd51bea1822edf24a9c0c029 | [
"MIT"
] | null | null | null | src/main/java/dev/cheun/exceptions/InvalidCreateException.java | dcheun/bankAPI | 795166d3bcd1ba4ebd51bea1822edf24a9c0c029 | [
"MIT"
] | null | null | null | src/main/java/dev/cheun/exceptions/InvalidCreateException.java | dcheun/bankAPI | 795166d3bcd1ba4ebd51bea1822edf24a9c0c029 | [
"MIT"
] | null | null | null | package dev.cheun.exceptions;
public class InvalidCreateException extends RuntimeException {
public InvalidCreateException(String message) {
super(message);
}
}
| 23.125 | 63 | 0.724324 |
f1126f9df8ec1ab312b3f72b4662a7c633c2e28d | 53 | sql | SQL | schema/create_schema.sql | octonion/boxing | 37180f311bd96c317a76549e63be0d80a7e6d2ab | [
"MIT"
] | 9 | 2015-05-04T19:48:35.000Z | 2021-05-03T00:34:08.000Z | schema/create_schema.sql | octonion/boxing | 37180f311bd96c317a76549e63be0d80a7e6d2ab | [
"MIT"
] | 1 | 2017-06-14T19:30:17.000Z | 2017-06-14T19:30:17.000Z | schema/create_schema.sql | octonion/boxing | 37180f311bd96c317a76549e63be0d80a7e6d2ab | [
"MIT"
] | 2 | 2018-05-25T22:09:08.000Z | 2019-09-09T19:25:55.000Z | begin;
create schema if not exists boxrec;
commit;
| 8.833333 | 35 | 0.754717 |
0a27437b62a83852e71b08baa16c8b6457492e62 | 688 | h | C | Engine/src/Renderer/Techniques/Transparent.h | venCjin/GameEngineProject | d8bdc8fc7236d74f6ecb5e8a8a5211699cc84d22 | [
"Apache-2.0"
] | 1 | 2020-03-04T20:46:40.000Z | 2020-03-04T20:46:40.000Z | Engine/src/Renderer/Techniques/Transparent.h | venCjin/GameEngineProject | d8bdc8fc7236d74f6ecb5e8a8a5211699cc84d22 | [
"Apache-2.0"
] | null | null | null | Engine/src/Renderer/Techniques/Transparent.h | venCjin/GameEngineProject | d8bdc8fc7236d74f6ecb5e8a8a5211699cc84d22 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "Technique.h"
#include "Renderer/Techniques/AnimationPBR.h"
namespace sixengine{
class TransparentTechnique : public Technique
{
private:
UniformBuffer m_Models;
UniformBuffer m_Layers;
StorageBuffer m_Bones;
std::vector<std::vector<glm::mat4>> m_Transforms;
public:
TransparentTech... | 25.481481 | 108 | 0.763081 |
3d09ea408a72e4744f471c00f976db4472db4346 | 265 | go | Go | cmd_example.go | etcdhosts/dnsctl | 8de5ae41edc4ccd28194ec0a7d9897bbc44b2751 | [
"Apache-2.0"
] | null | null | null | cmd_example.go | etcdhosts/dnsctl | 8de5ae41edc4ccd28194ec0a7d9897bbc44b2751 | [
"Apache-2.0"
] | null | null | null | cmd_example.go | etcdhosts/dnsctl | 8de5ae41edc4ccd28194ec0a7d9897bbc44b2751 | [
"Apache-2.0"
] | null | null | null | package main
import (
"fmt"
"github.com/urfave/cli/v2"
)
func exampleCmd() *cli.Command {
return &cli.Command{
Name: "example",
Usage: "Print example config",
Action: func(c *cli.Context) error {
fmt.Println(ExampleConfig())
return nil
},
}
}
| 13.947368 | 38 | 0.649057 |
e659633b81ce56d12ea48eec2c19bddf5de43f30 | 1,332 | go | Go | old/run.go | client9/gsh | 20c0a63f5f73eeb1fad3445bd25a0bf2a69d7001 | [
"MIT"
] | 2 | 2016-05-03T14:22:52.000Z | 2017-02-08T15:11:37.000Z | old/run.go | client9/gsh | 20c0a63f5f73eeb1fad3445bd25a0bf2a69d7001 | [
"MIT"
] | null | null | null | old/run.go | client9/gsh | 20c0a63f5f73eeb1fad3445bd25a0bf2a69d7001 | [
"MIT"
] | null | null | null | package gsh
import (
"github.com/google/shlex"
"gopkg.in/pipe.v2"
)
var CmdMap = map[string]func(argv ...string) pipe.Pipe{
"wget": Wget,
"which": Which,
"base64": Base64,
"cat": Cat,
"head": Head,
"gitLastModified": GitLastModified,
"fileLastModifie... | 19.304348 | 56 | 0.573574 |
48f11a96f1a6eac048f9159a9af81a7eaff3c99b | 2,080 | sql | SQL | backend/manager/dbscripts/upgrade/03_02_0240_add_gluster_action_version_map.sql | SunOfShine/ovirt-engine | 7684597e2d38ff854e629e5cbcbb9f21888cb498 | [
"Apache-2.0"
] | 1 | 2021-02-02T05:38:35.000Z | 2021-02-02T05:38:35.000Z | backend/manager/dbscripts/upgrade/03_02_0240_add_gluster_action_version_map.sql | SunOfShine/ovirt-engine | 7684597e2d38ff854e629e5cbcbb9f21888cb498 | [
"Apache-2.0"
] | null | null | null | backend/manager/dbscripts/upgrade/03_02_0240_add_gluster_action_version_map.sql | SunOfShine/ovirt-engine | 7684597e2d38ff854e629e5cbcbb9f21888cb498 | [
"Apache-2.0"
] | null | null | null | -- Create gluster volume
insert into action_version_map (action_type, cluster_minimal_version, storage_pool_minimal_version)
values(1400, '3.1', '*');
-- Set gluster volume option
insert into action_version_map (action_type, cluster_minimal_version, storage_pool_minimal_version)
values(1401, '3.1', '*');
-- S... | 39.245283 | 99 | 0.776923 |
5db3a8dd5c724bf65fcf9c8cb3b2da6c6f8dd338 | 12,503 | go | Go | apis/certificates/v1alpha1/management_certificate_types.go | kubeform/provider-oci-api | 37ea984e430635260b660a9aaa04df13e6eade6c | [
"Apache-2.0"
] | 1 | 2021-08-02T20:15:06.000Z | 2021-08-02T20:15:06.000Z | apis/certificates/v1alpha1/management_certificate_types.go | kubeform/provider-oci-api | 37ea984e430635260b660a9aaa04df13e6eade6c | [
"Apache-2.0"
] | 2 | 2021-08-01T11:05:08.000Z | 2021-08-02T15:47:10.000Z | apis/certificates/v1alpha1/management_certificate_types.go | kubeform/provider-oci-api | 37ea984e430635260b660a9aaa04df13e6eade6c | [
"Apache-2.0"
] | null | null | null | /*
Copyright AppsCode Inc. and Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing... | 42.527211 | 185 | 0.785731 |
bb1ff350b1b794862272317d84cdc2830817581a | 455 | rb | Ruby | facts/linux/service_running_fact.rb | sergueik/puppetmaster_vagrant | 4ce82f9618a040206a695038bfe8f8fc21cdfcb6 | [
"MIT"
] | 3 | 2016-02-04T22:24:59.000Z | 2020-04-13T17:09:30.000Z | facts/linux/service_running_fact.rb | sergueik/puppetmaster_vagrant | 4ce82f9618a040206a695038bfe8f8fc21cdfcb6 | [
"MIT"
] | 6 | 2021-12-11T14:40:53.000Z | 2022-01-04T16:54:19.000Z | facts/linux/service_running_fact.rb | sergueik/puppetmaster_vagrant | 4ce82f9618a040206a695038bfe8f8fc21cdfcb6 | [
"MIT"
] | 1 | 2016-07-19T13:36:24.000Z | 2016-07-19T13:36:24.000Z | #!/usr/bin/env ruby
require 'facter'
fact_name = 'mongod_service_is_running'
if Facter.value(:kernel) == 'Linux'
service_name = 'mongod.service'
command = "/bin/systemctl status ${service_name}"
command_output = Facter::Util::Resolution.exec(command)
if ! command_output.nil?
result = command_output.split(... | 23.947368 | 82 | 0.696703 |
65440894451005519cdcf997118253f4d0596091 | 4,329 | rs | Rust | day_17/src/main.rs | jackmott/advent2019 | 530fad8b2f93aec1249f7d52b790aad7c988cc44 | [
"MIT"
] | 2 | 2019-12-25T21:06:22.000Z | 2019-12-26T01:11:07.000Z | day_17/src/main.rs | jackmott/advent2019 | 530fad8b2f93aec1249f7d52b790aad7c988cc44 | [
"MIT"
] | null | null | null | day_17/src/main.rs | jackmott/advent2019 | 530fad8b2f93aec1249f7d52b790aad7c988cc44 | [
"MIT"
] | null | null | null | use intcomputer::*;
use std::fs;
use std::sync::mpsc::channel;
use std::sync::mpsc::{Receiver, SendError, Sender};
use std::thread;
use Robot::*;
#[derive(Copy, Debug, Clone, PartialEq)]
enum Robot {
Up,
Down,
Left,
Right,
}
use Tile::*;
#[derive(Copy, Debug, Clone, PartialEq)]
enum Tile {
Space,
... | 23.785714 | 93 | 0.458073 |
f1140cd2f7cf3dd4270fb236ebbdbc74e4b906a5 | 397 | rb | Ruby | lib/flutie/page_title_helper.rb | kholodov-aleksandr/Test | 2e34bd33846ec4be87bdc56c5319b6fcc6a84a99 | [
"MIT"
] | null | null | null | lib/flutie/page_title_helper.rb | kholodov-aleksandr/Test | 2e34bd33846ec4be87bdc56c5319b6fcc6a84a99 | [
"MIT"
] | null | null | null | lib/flutie/page_title_helper.rb | kholodov-aleksandr/Test | 2e34bd33846ec4be87bdc56c5319b6fcc6a84a99 | [
"MIT"
] | null | null | null | module PageTitleHelper
def page_title(options = {})
app_name = options[:app_name] || Rails.application.class.to_s.split('::').first
page_title_symbol = options[:page_title_symbol] || :page_title
separator = options[:separator] || ' : '
if content_for?(page_title_symbol)
[app_name, content_for(p... | 28.357143 | 83 | 0.692695 |
3950097598c1170e02724260f6d266005a227b0c | 8,197 | html | HTML | docs/index.html | Fibula-MMO/fibula-mmo.github.io | d9f9677dcf85bd6748e0d390df58bbddd2144788 | [
"MIT"
] | 26 | 2020-01-16T12:59:20.000Z | 2021-09-09T07:33:25.000Z | docs/index.html | Fibula-MMO/fibula-mmo.github.io | d9f9677dcf85bd6748e0d390df58bbddd2144788 | [
"MIT"
] | 30 | 2020-01-12T05:32:03.000Z | 2020-08-16T22:55:32.000Z | docs/index.html | Fibula-MMO/fibula-mmo.github.io | d9f9677dcf85bd6748e0d390df58bbddd2144788 | [
"MIT"
] | 17 | 2020-01-12T07:24:59.000Z | 2021-03-29T02:36:13.000Z | <!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Let's go through that README again... What the heck is this? | Fibula MMO </title>
<meta name="viewport" content="width=device-width">
<meta name=... | 53.227273 | 252 | 0.627791 |
28b6d1912554e0b0be1bc33c417576682194a19f | 14,771 | rb | Ruby | lib/xml_builder.rb | open-contracting/european-union-support | 2e140835d0e0de5d8c07562c9f451ce6b38db2cc | [
"MIT"
] | 3 | 2018-08-09T07:38:57.000Z | 2022-02-02T10:41:22.000Z | lib/xml_builder.rb | open-contracting/european-union-support | 2e140835d0e0de5d8c07562c9f451ce6b38db2cc | [
"MIT"
] | 65 | 2018-08-07T20:25:37.000Z | 2022-01-31T15:42:21.000Z | lib/xml_builder.rb | open-contracting/european-union-support | 2e140835d0e0de5d8c07562c9f451ce6b38db2cc | [
"MIT"
] | 2 | 2018-10-16T14:38:56.000Z | 2019-07-12T15:21:37.000Z | class XMLBuilder < XmlBase
@xml = {}
# @return [String] the file's basename without extension
attr_reader :basename
# @param [String] path the path to the XSD file
def initialize(path, release: nil)
@basename = File.basename(path, '.xsd')
@schemas = import(path).values
@schema = @schemas[0]
... | 33.87844 | 330 | 0.602397 |
414874cd0e92e0315d7f5be2e10037d79e9a9838 | 6,912 | c | C | sdk/project/bootloader/upgrade.c | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | 1 | 2021-10-09T08:05:50.000Z | 2021-10-09T08:05:50.000Z | sdk/project/bootloader/upgrade.c | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | null | null | null | sdk/project/bootloader/upgrade.c | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | null | null | null | #include <sys/ioctl.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <assert.h>
#include "bootloader.h"
#include "config.h"
static char pkgFilePath[PATH_MAX];
static ITCFileStream fileStream;
#define MAX_ADDRESSBOOK 24
static uint32_t DcpsGetSize( uint8_t *Src, uint32_t SrcLen )
{
uint32_t Dc... | 22.811881 | 86 | 0.552951 |
fe425b07ff351ca535804bf147ae206d3976b24d | 1,115 | asm | Assembly | programs/oeis/100/A100152.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/100/A100152.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/100/A100152.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A100152: Structured truncated cubic numbers.
; 1,24,100,260,535,956,1554,2360,3405,4720,6336,8284,10595,13300,16430,20016,24089,28680,33820,39540,45871,52844,60490,68840,77925,87776,98424,109900,122235,135460,149606,164704,180785,197880,216020,235236,255559,277020,299650,323480,348541,374864,402480,431420,461715,4933... | 25.340909 | 695 | 0.730045 |
7fe2ee2aa8f870180b5a20b34bff16a14bda5d1b | 62,632 | rs | Rust | boards/feather_m4/examples/pukcc_test.rs | blueacro/atsamd | 1844437dc2727daecd200132d49b72798a0fcac7 | [
"Apache-2.0",
"MIT"
] | null | null | null | boards/feather_m4/examples/pukcc_test.rs | blueacro/atsamd | 1844437dc2727daecd200132d49b72798a0fcac7 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-06-30T21:50:35.000Z | 2021-06-30T21:50:35.000Z | boards/feather_m4/examples/pukcc_test.rs | blueacro/atsamd | 1844437dc2727daecd200132d49b72798a0fcac7 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-01-10T15:08:09.000Z | 2022-01-10T15:08:09.000Z | #![no_std]
#![no_main]
use bsp::ehal;
use bsp::hal;
use feather_m4 as bsp;
#[cfg(not(feature = "use_semihosting"))]
use panic_halt as _;
#[cfg(feature = "use_semihosting")]
use panic_semihosting as _;
use bsp::entry;
use ehal::digital::v2::ToggleableOutputPin;
use hal::clock::GenericClockController;
use hal::pac::{i... | 62.632 | 99 | 0.535988 |
9650da726ac0f12b8cc0bd1e6b033133b52bfc85 | 335 | php | PHP | Phost/Views/System/install_finished.php | evan1024/Phost | 442a36b10eb4585c7fae9b9879584401227b9638 | [
"MIT"
] | null | null | null | Phost/Views/System/install_finished.php | evan1024/Phost | 442a36b10eb4585c7fae9b9879584401227b9638 | [
"MIT"
] | null | null | null | Phost/Views/System/install_finished.php | evan1024/Phost | 442a36b10eb4585c7fae9b9879584401227b9638 | [
"MIT"
] | null | null | null | <h1 class="h4">Phost is installed!</h1>
<p>You did it! Phost has now been installed successfully and is ready for you to start writing. Once you've logged in, you may want to configure things further but you don't need to. Everything is ready and waiting for you.</p>
<a href="/auth/login/" class="button button--prima... | 47.857143 | 227 | 0.737313 |
475227fd97c454d8f1edd570f0700c66a65bd0a3 | 187 | html | HTML | dev/modules/Breadcrumbs/index.html | anandharshan/Web-components-DD | c6e22217c9f52cd67ce0a1e6ec791368d7dff8cd | [
"MIT"
] | null | null | null | dev/modules/Breadcrumbs/index.html | anandharshan/Web-components-DD | c6e22217c9f52cd67ce0a1e6ec791368d7dff8cd | [
"MIT"
] | 1 | 2020-07-15T19:45:07.000Z | 2020-07-15T19:45:07.000Z | dev/modules/Breadcrumbs/index.html | anandharshan/Web-components-DD | c6e22217c9f52cd67ce0a1e6ec791368d7dff8cd | [
"MIT"
] | null | null | null | <!--div> Breadcrumbs </div-->
<div ng-controller="breadCrumbCtrl">
<div class="vmf-breadcrumb-container">
<div vmf-bread-crumb options="breadcrumbPath">
</div>
</div>
</div> | 23.375 | 51 | 0.652406 |
e94ce372795f1d680b615d6801051756d031c93f | 343 | rs | Rust | src/periph/hsi16.rs | centosa/stm32-NUCLEO-L496ZG | 5a4c7fb97790b55c089cdd560424ce370fc62c20 | [
"Apache-2.0",
"MIT"
] | 2 | 2021-01-05T02:49:49.000Z | 2021-02-27T11:02:01.000Z | src/periph/hsi16.rs | centosa/stm32-NUCLEO-L496ZG | 5a4c7fb97790b55c089cdd560424ce370fc62c20 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/periph/hsi16.rs | centosa/stm32-NUCLEO-L496ZG | 5a4c7fb97790b55c089cdd560424ce370fc62c20 | [
"Apache-2.0",
"MIT"
] | null | null | null | //! 16MHz Internal RC oscillator clock.
use drone_core::periph;
periph::singular! {
/// Extracts HSI16 register tokens.
pub macro periph_hsi16;
/// HSI16 peripheral.
pub struct Hsi16Periph;
drone_stm32_map::reg;
crate::periph::hsi16;
RCC {
CR {
HSION;
HSI... | 15.590909 | 39 | 0.568513 |
ddb95cde403d9a8c6c6556ef6a39b401b8eda380 | 1,533 | php | PHP | resources/views/Portfolio/editPortfolio.blade.php | zakariaLj/ProjetBinomeZak | 838222e7a9c59fdab96bb70cf0fff4eae2a5a5ff | [
"MIT"
] | null | null | null | resources/views/Portfolio/editPortfolio.blade.php | zakariaLj/ProjetBinomeZak | 838222e7a9c59fdab96bb70cf0fff4eae2a5a5ff | [
"MIT"
] | 5 | 2021-02-02T17:52:51.000Z | 2022-02-27T03:07:57.000Z | resources/views/Portfolio/editPortfolio.blade.php | zakariaLj/ProjetBinomeZak | 838222e7a9c59fdab96bb70cf0fff4eae2a5a5ff | [
"MIT"
] | null | null | null | @extends('adminlte::page')
@section('content')
<div class="container mt-5 pt-5">
<h1 class='text-center mt-3 pt-3'>Modifier le portfolio</h1>
<form action="{{route('Portfolio.update',$portfolio->id)}}" method='post' enctype="multipart/form-data" >
@csrf
@method('put')
... | 45.088235 | 123 | 0.499674 |
fe41fcdc6a6396b276cd069aae4a4c7251987dff | 2,890 | h | C | src/arch/arm32/mach-h3/include/h3-gpio.h | HareGun/xboot | 4cc7db09c622d45c42774d5cbedcfef683c9b735 | [
"MIT"
] | 590 | 2015-08-05T03:00:17.000Z | 2022-03-27T14:37:10.000Z | src/arch/arm32/mach-h3/include/h3-gpio.h | xiaoxiaohuixxh/xboot | 19197a4e68e656b4aeb4be49f254b491d4027cdf | [
"MIT"
] | 22 | 2017-07-22T08:33:18.000Z | 2022-03-30T06:38:42.000Z | src/arch/arm32/mach-h3/include/h3-gpio.h | xiaoxiaohuixxh/xboot | 19197a4e68e656b4aeb4be49f254b491d4027cdf | [
"MIT"
] | 247 | 2015-07-06T10:13:48.000Z | 2022-03-20T13:08:21.000Z | #ifndef __H3_GPIO_H__
#define __H3_GPIO_H__
#ifdef __cplusplus
extern "C" {
#endif
#define H3_GPIOA0 (0)
#define H3_GPIOA1 (1)
#define H3_GPIOA2 (2)
#define H3_GPIOA3 (3)
#define H3_GPIOA4 (4)
#define H3_GPIOA5 (5)
#define H3_GPIOA6 (6)
#define H3_GPIOA7 (7)
#define H3_GPIOA8 (8)
#define H3_GPIOA9 ... | 22.936508 | 26 | 0.691696 |
403576f96a191d1c0cb3ea9e538ebb2e4564e392 | 1,300 | py | Python | diplomova_praca_lib/test.py | MDobransky/thesis-grizzly | b038b477596879465636eae34444d70742a86e8f | [
"MIT"
] | null | null | null | diplomova_praca_lib/test.py | MDobransky/thesis-grizzly | b038b477596879465636eae34444d70742a86e8f | [
"MIT"
] | 1 | 2020-09-21T21:38:46.000Z | 2020-09-21T21:38:46.000Z | diplomova_praca_lib/test.py | MDobransky/thesis-grizzly | b038b477596879465636eae34444d70742a86e8f | [
"MIT"
] | null | null | null | import numpy as np
import mxnet as mx
from collections import namedtuple
def get_network_fc(network_path, network_epoch, normalize_inputs):
batch_def = namedtuple('Batch', ['data'])
sym, arg_params, aux_params = mx.model.load_checkpoint(network_path, network_epoch)
network = mx.mod.Module(symbol=sym.get_i... | 38.235294 | 88 | 0.659231 |
409bd9a9728c6da1e893ca01592b08caaca9ebeb | 1,095 | py | Python | migrations/sqlite_versions/2021-12-03_fddfa70f811b_extend_length_of_contact_track_number_.py | debrief/pepys-import | 12d29c0e0f69e1119400334983947893e7679b6b | [
"Apache-2.0"
] | 4 | 2021-05-14T08:22:47.000Z | 2022-02-04T19:48:25.000Z | migrations/sqlite_versions/2021-12-03_fddfa70f811b_extend_length_of_contact_track_number_.py | debrief/pepys-import | 12d29c0e0f69e1119400334983947893e7679b6b | [
"Apache-2.0"
] | 1,083 | 2019-11-06T17:01:07.000Z | 2022-03-25T10:26:51.000Z | migrations/sqlite_versions/2021-12-03_fddfa70f811b_extend_length_of_contact_track_number_.py | debrief/pepys-import | 12d29c0e0f69e1119400334983947893e7679b6b | [
"Apache-2.0"
] | 4 | 2019-11-06T12:00:45.000Z | 2021-06-09T04:18:28.000Z | """Extend length of Contact.track_number field
Revision ID: fddfa70f811b
Revises: eb8a93498c02
Create Date: 2021-12-03 16:49:33.809704+00:00
"""
import sqlalchemy as sa
from alembic import op
# revision identifiers, used by Alembic.
revision = "fddfa70f811b"
down_revision = "eb8a93498c02"
branch_labels = None
depend... | 26.707317 | 67 | 0.650228 |
3255592e6cb278fe8f45a18c2571ea0c9206fb82 | 77 | sql | SQL | src/test/resources/sql/select/0da404ca.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/0da404ca.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/0da404ca.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:regproc.sql ln:76 expect:true
SELECT regrole('regress_regrole_test')
| 25.666667 | 38 | 0.792208 |
e0363ba37d8f2f60c6d90d3e3d3e35750d6dba25 | 1,678 | lua | Lua | source/entity/states/swordman/attack.lua | SerDing/Gear-of-Fate | e908fe74d9e8f2c062ba0d06277f0730445ce01c | [
"MIT"
] | null | null | null | source/entity/states/swordman/attack.lua | SerDing/Gear-of-Fate | e908fe74d9e8f2c062ba0d06277f0730445ce01c | [
"MIT"
] | null | null | null | source/entity/states/swordman/attack.lua | SerDing/Gear-of-Fate | e908fe74d9e8f2c062ba0d06277f0730445ce01c | [
"MIT"
] | null | null | null | --[[
Desc: Normal attack state
Author: SerDing
Since: 2017-07-28
Alter: 2020-03-29
]]
local _Base = require("entity.states.base")
---@class Entity.State.Swordman.Attack : Entity.State.Base
local _Attack = require("core.class")(_Base)
function _Attack:Ctor(data, ...)
_Base.Ctor(self, data, ...)
self._phas... | 26.634921 | 112 | 0.711561 |
9ced5f374229548d34cb3ec76984e8c9f66bf3a4 | 238 | kt | Kotlin | Chapter07/src/main/kotlin/com/packt/chapter2/this.kt | victormwenda/Programming-Kotlin | 753c5b6aa0bf5cc6a1cc5537c21e49c63fed0f56 | [
"MIT"
] | 79 | 2017-01-21T03:44:57.000Z | 2021-11-12T16:35:40.000Z | Chapter07/src/main/kotlin/com/packt/chapter2/this.kt | victormwenda/Programming-Kotlin | 753c5b6aa0bf5cc6a1cc5537c21e49c63fed0f56 | [
"MIT"
] | 1 | 2018-07-05T08:21:55.000Z | 2018-07-05T08:21:55.000Z | Chapter07/src/main/kotlin/com/packt/chapter2/this.kt | victormwenda/Programming-Kotlin | 753c5b6aa0bf5cc6a1cc5537c21e49c63fed0f56 | [
"MIT"
] | 43 | 2017-01-21T03:45:01.000Z | 2022-03-22T21:09:42.000Z | package com.packt.chapter2
class Person(name: String) {
fun printMe() = println(this)
}
class Building(val address: String) {
inner class Reception(telephone: String) {
fun printMyAddress() = println(this@Building.address)
}
} | 21.636364 | 57 | 0.718487 |
507d5bb9bd28d422a5a7831bd028788c3ca607d2 | 123 | sql | SQL | SQL/q1.sql | moelsh-thoughtworks/twu-biblioteca-moelsherif | 3170629573d5ce66b476626e860a040343b0bd34 | [
"Apache-2.0"
] | null | null | null | SQL/q1.sql | moelsh-thoughtworks/twu-biblioteca-moelsherif | 3170629573d5ce66b476626e860a040343b0bd34 | [
"Apache-2.0"
] | null | null | null | SQL/q1.sql | moelsh-thoughtworks/twu-biblioteca-moelsherif | 3170629573d5ce66b476626e860a040343b0bd34 | [
"Apache-2.0"
] | null | null | null | SELECT m.name FROM member m, checkout_item c,book b
WHERE b.title="The Hobbit" AND b.id=c.book_id
AND c.member_id = m.id
| 30.75 | 52 | 0.739837 |
04a901b8ebdc5da83cf0cf1f492e0f413d24467f | 804 | html | HTML | src/views/contact/index.html | master-the-toefl/client | d3a61a9662fa0e3f26ef8f9c8c8c378b3f769f74 | [
"MIT"
] | null | null | null | src/views/contact/index.html | master-the-toefl/client | d3a61a9662fa0e3f26ef8f9c8c8c378b3f769f74 | [
"MIT"
] | null | null | null | src/views/contact/index.html | master-the-toefl/client | d3a61a9662fa0e3f26ef8f9c8c8c378b3f769f74 | [
"MIT"
] | null | null | null | <template>
<div class="container">
<div class="row">
<h4 class="center-align">Contact</h4>
<h5 class="center-align">Found any bug? Have any suggestions?</h5>
<div class="row col s12">
<div class="input-field col s12">
<i class="material-icons prefix">mode_edit</i>
<... | 38.285714 | 151 | 0.620647 |
dde8b74b06ea35e634ba8b78c16724dd9560348b | 825 | php | PHP | resources/views/laporan/req.blade.php | TitamSeptian/GooooooLiterasi | 544bc76df33ed899323973f8c5e05d3f3acd438f | [
"MIT"
] | null | null | null | resources/views/laporan/req.blade.php | TitamSeptian/GooooooLiterasi | 544bc76df33ed899323973f8c5e05d3f3acd438f | [
"MIT"
] | null | null | null | resources/views/laporan/req.blade.php | TitamSeptian/GooooooLiterasi | 544bc76df33ed899323973f8c5e05d3f3acd438f | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="{{ asset('vendor/bootstrap/css/bootstrap.min.css') }}">
</head>
<body>
<table class="table table-sm">
<caption>Semua Request</caption>
<thead>
<tr>
<th scope="col">No</th>
<th>Jen... | 23.571429 | 101 | 0.486061 |
76df117e4a3fe41e604ce27105376cae605a3f8e | 729 | h | C | src/state.h | romz-pl/kohn-sham-atom | f8d87850469097ed39ba855b50df46787b1c3114 | [
"MIT"
] | 1 | 2022-02-24T03:48:19.000Z | 2022-02-24T03:48:19.000Z | src/state.h | romz-pl/kohn-sham-atom | f8d87850469097ed39ba855b50df46787b1c3114 | [
"MIT"
] | null | null | null | src/state.h | romz-pl/kohn-sham-atom | f8d87850469097ed39ba855b50df46787b1c3114 | [
"MIT"
] | null | null | null | #ifndef RATOM_STATE_H
#define RATOM_STATE_H
//
// Electron state of the atom.
//
// Zbigniew Romanowski [ROMZ@wp.pl]
//
#include <cstddef>
#include <string>
class State
{
public:
explicit State( const std::string& name );
~State( ) = default;
std::string Name() const { return m_name; }
size_t Occ() ... | 16.568182 | 59 | 0.646091 |
74e796b4b5b7c2b2c317d706d3b0c6bfc45a5fe0 | 529 | sql | SQL | migrations/20211015105820_base_tables.down.sql | JoshiDhima/Bathbot | 7a8dd8a768caede285df4f8ea5aead27bdbbf660 | [
"ISC"
] | null | null | null | migrations/20211015105820_base_tables.down.sql | JoshiDhima/Bathbot | 7a8dd8a768caede285df4f8ea5aead27bdbbf660 | [
"ISC"
] | null | null | null | migrations/20211015105820_base_tables.down.sql | JoshiDhima/Bathbot | 7a8dd8a768caede285df4f8ea5aead27bdbbf660 | [
"ISC"
] | null | null | null | DROP TABLE maps;
DROP TABLE mapsets;
DROP TABLE role_assigns;
DROP TABLE stream_tracks;
DROP TABLE bggame_scores;
DROP TABLE map_tags;
DROP TABLE guild_configs;
DROP TABLE osu_trackings;
DROP TABLE snipe_countries;
DROP TABLE user_configs;
DROP TABLE osekai_medals;
DROP TRIGGER update_osu_user_stats_last_update ON osu... | 26.45 | 75 | 0.856333 |
eba12e913976ed7b40c0017fdccf9805db44e4c3 | 1,207 | pkb | SQL | 5.2.3/Database/Packages/AFW_01_ELEMN_CONFG_EN_PKG.pkb | lgcarrier/AFW | a58ef2a26cb78bb0ff9b4db725df5bd4118e4945 | [
"MIT"
] | 1 | 2017-07-06T14:53:28.000Z | 2017-07-06T14:53:28.000Z | 5.2.3/Database/Packages/AFW_01_ELEMN_CONFG_EN_PKG.pkb | lgcarrier/AFW | a58ef2a26cb78bb0ff9b4db725df5bd4118e4945 | [
"MIT"
] | null | null | null | 5.2.3/Database/Packages/AFW_01_ELEMN_CONFG_EN_PKG.pkb | lgcarrier/AFW | a58ef2a26cb78bb0ff9b4db725df5bd4118e4945 | [
"MIT"
] | null | null | null | SET DEFINE OFF;
create or replace package body afw_01_elemn_confg_en_pkg
is
procedure inser_elemn_confg_en (pnu_confg_evenm_notfb in vd_i_afw_01_elemn_confg_en.ref_confg_evenm_notfb%type
,pva_code in vd_i_afw_01_elemn_confg_en.code%type
... | 40.233333 | 114 | 0.615576 |
2d7ddda66641a28b162ff11832f53544c11761ba | 85 | html | HTML | ms/gui/ice-admin-portal-ui/webapp/src/app/about/about-page.html | OElabed/ice-microservices | 75eef1ca4d25ca2c7cd121ac8e61a76b1b9cd9db | [
"MIT"
] | null | null | null | ms/gui/ice-admin-portal-ui/webapp/src/app/about/about-page.html | OElabed/ice-microservices | 75eef1ca4d25ca2c7cd121ac8e61a76b1b9cd9db | [
"MIT"
] | null | null | null | ms/gui/ice-admin-portal-ui/webapp/src/app/about/about-page.html | OElabed/ice-microservices | 75eef1ca4d25ca2c7cd121ac8e61a76b1b9cd9db | [
"MIT"
] | null | null | null | <section class="row-fluid clearfix">
<h2>Hello world! (About)....</h2>
</section> | 28.333333 | 37 | 0.635294 |
dcd6b3ad088ed2141204d3a3dc8bbe29a23aa81a | 126,153 | sql | SQL | thinkcmf.sql | jetdky/cms-based-on-thinkcmf | 164f3acfbaa9f40b19d8db68a37eef6a671f02f8 | [
"MIT"
] | null | null | null | thinkcmf.sql | jetdky/cms-based-on-thinkcmf | 164f3acfbaa9f40b19d8db68a37eef6a671f02f8 | [
"MIT"
] | null | null | null | thinkcmf.sql | jetdky/cms-based-on-thinkcmf | 164f3acfbaa9f40b19d8db68a37eef6a671f02f8 | [
"MIT"
] | null | null | null | /*
Navicat Premium Data Transfer
Source Server : localWin
Source Server Type : MySQL
Source Server Version : 50726
Source Host : localhost:3306
Source Schema : thinkcmf
Target Server Type : MySQL
Target Server Version : 50726
File Encoding : 65001
Date: 05/11/2020 11... | 79.341509 | 2,754 | 0.673301 |
74583b3ad2c9a38e365bc6f6a64de102f2f24939 | 646 | c | C | src/commands.c | ikb4l/dix | f56ad5573e181bb1897f6e70302827c1330240b4 | [
"MIT"
] | 1 | 2021-07-12T07:12:40.000Z | 2021-07-12T07:12:40.000Z | src/commands.c | ikb4l/dix | f56ad5573e181bb1897f6e70302827c1330240b4 | [
"MIT"
] | null | null | null | src/commands.c | ikb4l/dix | f56ad5573e181bb1897f6e70302827c1330240b4 | [
"MIT"
] | null | null | null | #include <dirent.h>
#include <stdio.h>
#include <string.h>
#include <commands.h>
int dir_cont(char* d) {
return strcmp(d, ".") == 0 || strcmp(d, "..") == 0;
}
void list_dir(struct args_t p) {
DIR* d = opendir(p.dir);
struct dirent* dir;
if(d) {
while ((dir = readdir(d)) != NULL) {
if(!dir_cont(dir-... | 17.459459 | 53 | 0.53096 |
f035d65dd23cce88533c77e43cfdaf49e3f5a500 | 1,665 | py | Python | reobject/models/model.py | agusmakmun/reobject | a7689bbb37f021c6c8ea72d6984513adec0d8a17 | [
"Apache-2.0"
] | 92 | 2017-02-08T21:51:03.000Z | 2021-05-27T22:58:07.000Z | reobject/models/model.py | agusmakmun/reobject | a7689bbb37f021c6c8ea72d6984513adec0d8a17 | [
"Apache-2.0"
] | 15 | 2017-01-27T22:54:42.000Z | 2021-05-27T01:31:58.000Z | reobject/models/model.py | agusmakmun/reobject | a7689bbb37f021c6c8ea72d6984513adec0d8a17 | [
"Apache-2.0"
] | 7 | 2017-02-08T22:00:41.000Z | 2021-05-26T00:26:44.000Z | import attr
from reobject.models.manager import ManagerDescriptor, RelatedManagerDescriptor
from reobject.models.store import Store, ModelStoreMapping
class ModelBase(type):
"""
Metaclass for all models, used to attach the objects class attribute
to the model instance at runtime.
"""
def __new__... | 24.850746 | 79 | 0.581381 |
c49aed80b098042203e0b8439f8ff0b132cc1ae0 | 1,418 | h | C | vp/src/platform/hifive/prci.h | agra-uni-bremen/fdl21-stackuse-vp | 9c8be7a3534cdd8ed8b8fbce7be740fc16807876 | [
"MIT"
] | 72 | 2018-06-19T14:22:30.000Z | 2022-03-23T06:38:52.000Z | vp/src/platform/hifive/prci.h | agra-uni-bremen/fdl21-stackuse-vp | 9c8be7a3534cdd8ed8b8fbce7be740fc16807876 | [
"MIT"
] | 16 | 2020-06-19T12:00:13.000Z | 2022-03-24T16:27:15.000Z | vp/src/platform/hifive/prci.h | agra-uni-bremen/fdl21-stackuse-vp | 9c8be7a3534cdd8ed8b8fbce7be740fc16807876 | [
"MIT"
] | 36 | 2018-08-14T12:18:36.000Z | 2022-03-26T17:27:00.000Z | #ifndef RISCV_VP_PRCI_H
#define RISCV_VP_PRCI_H
#include <systemc>
#include <tlm_utils/simple_target_socket.h>
#include "core/common/irq_if.h"
#include "util/tlm_map.h"
struct PRCI : public sc_core::sc_module {
tlm_utils::simple_target_socket<PRCI> tsock;
// memory mapped configuration registers
uint32_t hfrosc... | 22.870968 | 75 | 0.67842 |
eb793176c1fa00b24ea91f9b670e9bb2664f80cc | 921 | sql | SQL | db/seeds.sql | LiliCecilia23/inBloom | 958984e1fdeaaaf310332e43ccec481b945245ec | [
"MIT"
] | 1 | 2020-12-09T01:53:43.000Z | 2020-12-09T01:53:43.000Z | db/seeds.sql | LiliCecilia23/inBloom | 958984e1fdeaaaf310332e43ccec481b945245ec | [
"MIT"
] | 4 | 2020-12-15T22:34:53.000Z | 2021-01-13T02:31:26.000Z | db/seeds.sql | LiliCecilia23/inBloom | 958984e1fdeaaaf310332e43ccec481b945245ec | [
"MIT"
] | 2 | 2021-01-15T01:33:39.000Z | 2021-01-19T19:13:38.000Z |
INSERT INTO Users (id, googleid, email, firstName, lastName)
VALUES ('1', 'seed1', 'joshua.wilson6289@gmail.com', 'Josh', 'Wilson');
INSERT INTO Users (id, googleid, email, firstName, lastName)
VALUES ('2', 'seed2', 'ashlinhanson@gmail.com', 'Ashli', 'Hanson');
INSERT INTO Users (id, googleid, email, firstName, lastNa... | 46.05 | 71 | 0.690554 |
f04907145e0f5329d91ce6e7245421c294f51891 | 16,781 | py | Python | src/genie/libs/parser/linux/route.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/linux/route.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/linux/route.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | """route.py
Linux parsers for the following commands:
* route
"""
# python
import re
# metaparser
from genie.metaparser import MetaParser
from genie.metaparser.util.schemaengine import Schema, Any, Optional
from netaddr import IPAddress, IPNetwork
# =======================================================
# Sch... | 38.052154 | 100 | 0.362255 |
11ff31b0dc79ca8f599ed1c6b75ff99acff96aae | 5,237 | rs | Rust | backend/services/historical/src/service.rs | hiroaki-yamamoto/midas | 7fa9c1d6605bead7e283b339639a89bb09ed6b1c | [
"MIT"
] | 1 | 2022-01-04T00:32:37.000Z | 2022-01-04T00:32:37.000Z | backend/services/historical/src/service.rs | hiroaki-yamamoto/midas | 7fa9c1d6605bead7e283b339639a89bb09ed6b1c | [
"MIT"
] | 17 | 2020-05-30T01:40:15.000Z | 2021-12-24T06:46:04.000Z | backend/services/historical/src/service.rs | hiroaki-yamamoto/midas | 7fa9c1d6605bead7e283b339639a89bb09ed6b1c | [
"MIT"
] | null | null | null | use ::std::fmt::Debug;
use ::futures::{SinkExt, StreamExt};
use ::http::StatusCode;
use ::nats::Connection as NatsCon;
use ::serde_json::{from_slice as parse_json, to_string as jsonify};
use ::subscribe::PubSub;
use ::tokio::select;
use ::warp::filters::BoxedFilter;
use ::warp::reject::custom as reject_custom;
use ::w... | 34.006494 | 86 | 0.497995 |
400606bf572e88a51c157c98f383f8babe884708 | 491 | py | Python | add/add.py | lcrilly/unit-calculator | a24e503a94a9329be8637948389df24b2d18f45f | [
"Apache-2.0"
] | 1 | 2022-02-10T14:00:17.000Z | 2022-02-10T14:00:17.000Z | add/add.py | lcrilly/unit-calculator | a24e503a94a9329be8637948389df24b2d18f45f | [
"Apache-2.0"
] | null | null | null | add/add.py | lcrilly/unit-calculator | a24e503a94a9329be8637948389df24b2d18f45f | [
"Apache-2.0"
] | null | null | null | import json
def application(environ, start_response):
try:
request_body_size = int(environ.get('CONTENT_LENGTH', 0))
except (ValueError):
request_body_size = 0
request_body = environ['wsgi.input'].read(request_body_size)
reqj = json.loads(request_body)
res = { "result": 0 }
fo... | 28.882353 | 68 | 0.647658 |
17b822fb4883b0682f58002130f1b311472f740c | 68 | sql | SQL | src/test/resources/sql/select/203c0f1b.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/203c0f1b.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/203c0f1b.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:money.sql ln:118 expect:true
SELECT 1234567890::int4::money
| 22.666667 | 36 | 0.764706 |
1e18cb0cd51f7d78198c627e124922a0197f2dd2 | 404 | css | CSS | css/funnels.css | PostHog/posthog.github.io | 1903bad9da478263e6ce56b3278ce5c7d0a859a6 | [
"MIT"
] | null | null | null | css/funnels.css | PostHog/posthog.github.io | 1903bad9da478263e6ce56b3278ce5c7d0a859a6 | [
"MIT"
] | 1 | 2021-04-17T18:52:26.000Z | 2021-04-17T18:52:27.000Z | css/funnels.css | AlexRogalskiy/posthog-wiki | b4fc6e8d8e92bf1b33ff535b35e9929c5060308b | [
"MIT"
] | 1 | 2022-03-19T18:43:09.000Z | 2022-03-19T18:43:09.000Z | .input-box {
max-width: 300px !important;
display: inline-block;
}
#begin-btn {
margin-left: 10px !important;
}
.price-header {
color: rgb(60, 228, 19);
}
.dashboard-iframe {
border: none;
width:100%;
height: 500px;
clip: rect(110px,110px,100px,250px);
}
.iframe-container {
back... | 13.931034 | 40 | 0.613861 |
589b3904046fba7afa114b115b4ebecc52a20727 | 6,013 | swift | Swift | Source/JsonWebToken/JWT.swift | VirgilSecurity/VirgilKeysiOS | fccbe8de3af24e01ef03fc8616049a1995277f59 | [
"BSD-3-Clause"
] | 21 | 2016-08-07T18:49:57.000Z | 2021-03-10T19:25:30.000Z | Source/JsonWebToken/JWT.swift | VirgilSecurity/VirgilKeysiOS | fccbe8de3af24e01ef03fc8616049a1995277f59 | [
"BSD-3-Clause"
] | 11 | 2016-12-05T11:16:28.000Z | 2022-03-31T07:03:15.000Z | Source/JsonWebToken/JWT.swift | VirgilSecurity/VirgilKeysiOS | fccbe8de3af24e01ef03fc8616049a1995277f59 | [
"BSD-3-Clause"
] | 7 | 2017-06-08T00:11:17.000Z | 2022-01-24T15:55:25.000Z | //
// Copyright (C) 2015-2021 Virgil Security Inc.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// (1) Redistributions of source code must retain the above copyright
// not... | 38.793548 | 118 | 0.683685 |
f58e560905750088c5b3b4f1d7a5486d59565b73 | 4,113 | rs | Rust | src/error.rs | PythonCreator27/use-github-api-rs | a9b97d3879675ad7be683b76b03ff5bc908e30ad | [
"MIT"
] | 1 | 2021-06-03T17:28:58.000Z | 2021-06-03T17:28:58.000Z | src/error.rs | PythonCreator27/use-github-api-rs | a9b97d3879675ad7be683b76b03ff5bc908e30ad | [
"MIT"
] | 1 | 2021-05-17T21:27:08.000Z | 2021-05-17T21:27:08.000Z | src/error.rs | PythonCreator27/use-github-api-rs | a9b97d3879675ad7be683b76b03ff5bc908e30ad | [
"MIT"
] | 1 | 2021-05-17T15:52:30.000Z | 2021-05-17T15:52:30.000Z | #[cfg(any(feature = "auth"))]
pub mod creation {
use std::{error::Error as StdError, fmt};
#[derive(Debug)]
pub(crate) enum CreationErrorKind {
#[cfg(feature = "enterprise")]
BaseUrlWithoutProtocol,
#[cfg(feature = "enterprise")]
BaseUrlWithoutApiPath,
#[cfg(feature ... | 27.979592 | 87 | 0.515439 |
2a8415c34350d61938b3749a7323afa9110e48a5 | 3,430 | java | Java | portal-BE/src/main/java/org/onap/portal/service/EcompUserAppRolesService.java | sundayayandele/portal | 547810b7da6bb938f1e666357d88f7d03f455229 | [
"Apache-2.0",
"CC-BY-4.0"
] | 2 | 2018-11-19T11:02:46.000Z | 2021-02-07T21:10:35.000Z | portal-BE/src/main/java/org/onap/portal/service/EcompUserAppRolesService.java | sundayayandele/portal | 547810b7da6bb938f1e666357d88f7d03f455229 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | portal-BE/src/main/java/org/onap/portal/service/EcompUserAppRolesService.java | sundayayandele/portal | 547810b7da6bb938f1e666357d88f7d03f455229 | [
"Apache-2.0",
"CC-BY-4.0"
] | 4 | 2018-09-22T09:51:18.000Z | 2021-07-13T20:33:04.000Z | /*
* ============LICENSE_START==========================================
* ONAP Portal
* ===================================================================
* Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
* ===================================================================
* Modifications C... | 39.425287 | 182 | 0.653644 |
e5307ac89d2c54f0175be7c31f43b9e7239f7fa0 | 667 | tsx | TypeScript | apps/dolly-frontend/src/main/js/src/components/fagsystem/tpsf/form/adresser/partials/midlertidigAdresse/Stedsadresse.tsx | navikt/testnorge | 8400ad28d37ec5dee87a4fe76e233632d2cfdbd1 | [
"MIT"
] | 3 | 2020-06-30T18:14:44.000Z | 2022-03-07T10:10:48.000Z | apps/dolly-frontend/src/main/js/src/components/fagsystem/tpsf/form/adresser/partials/midlertidigAdresse/Stedsadresse.tsx | navikt/testnorge | 8400ad28d37ec5dee87a4fe76e233632d2cfdbd1 | [
"MIT"
] | 1,546 | 2020-05-25T14:39:45.000Z | 2022-03-31T13:41:00.000Z | apps/dolly-frontend/src/main/js/src/components/fagsystem/tpsf/form/adresser/partials/midlertidigAdresse/Stedsadresse.tsx | navikt/testnorge | 8400ad28d37ec5dee87a4fe76e233632d2cfdbd1 | [
"MIT"
] | 1 | 2021-11-03T16:02:17.000Z | 2021-11-03T16:02:17.000Z | import React from 'react'
import { FormikSelect } from '~/components/ui/form/inputs/select/Select'
import { AdresseKodeverk } from '~/config/kodeverk'
import { FormikTextInput } from '~/components/ui/form/inputs/textInput/TextInput'
export const Stedsadresse = () => {
const norskAdresse = 'tpsf.midlertidigAdresse.nor... | 30.318182 | 94 | 0.716642 |
a6870054173415b95e39bbbf6627cea81c49fb03 | 1,157 | sql | SQL | jeecg-p3-biz-qywx/src/main/java/com/jeecg/qywx/base/sql/QywxGzentityDao_insert.sql | zishuimuyu/jeewx | 031208a50fd8840ea9b5cdda26973e0df747df99 | [
"Apache-2.0"
] | 405 | 2016-08-24T03:54:32.000Z | 2022-03-23T17:36:20.000Z | jeecg-p3-biz-qywx/src/main/java/com/jeecg/qywx/base/sql/QywxGzentityDao_insert.sql | zishuimuyu/jeewx | 031208a50fd8840ea9b5cdda26973e0df747df99 | [
"Apache-2.0"
] | 27 | 2018-05-25T05:14:19.000Z | 2022-02-15T03:31:38.000Z | jeecg-p3-biz-qywx/src/main/java/com/jeecg/qywx/base/sql/QywxGzentityDao_insert.sql | zishuimuyu/jeewx | 031208a50fd8840ea9b5cdda26973e0df747df99 | [
"Apache-2.0"
] | 219 | 2016-04-12T07:04:13.000Z | 2022-03-23T17:36:21.000Z | INSERT INTO
qywx_gzentity
(
id
,template_name
,template_id
,template_type
,is_work
,accountid
,create_name
,creat... | 37.322581 | 51 | 0.343129 |
b08fc5b648f3692c3c30e19bead93441bca5f480 | 1,322 | swift | Swift | fmh/Common/PListParser.swift | fmh-charity/fmh-ios | 21c472c19554dda310c10b56edb5c523fa73a9d9 | [
"Apache-2.0"
] | null | null | null | fmh/Common/PListParser.swift | fmh-charity/fmh-ios | 21c472c19554dda310c10b56edb5c523fa73a9d9 | [
"Apache-2.0"
] | null | null | null | fmh/Common/PListParser.swift | fmh-charity/fmh-ios | 21c472c19554dda310c10b56edb5c523fa73a9d9 | [
"Apache-2.0"
] | null | null | null | //
// PListParser.swift
// fmh
//
// Created: 30.04.2022
//
import Foundation
struct PListParser {
typealias DictionaryType = [String: Any]
typealias ArrayType = [Any]
static func getValueDictionary(forResource: String, forKey key: String) -> Any? {
if let infoPlistPath = Bundle.main.... | 29.377778 | 140 | 0.558245 |
692e56c8601c07f46024a99cb9f43a552172fa94 | 1,335 | sql | SQL | api/migrations/20171012164510_military.sql | bpdesigns/e-QIP-prototype | ca614c478e856c523c389d88a919d1357508dddd | [
"CC0-1.0"
] | 19 | 2016-11-14T13:43:10.000Z | 2019-07-29T17:09:53.000Z | api/migrations/20171012164510_military.sql | bpdesigns/e-QIP-prototype | ca614c478e856c523c389d88a919d1357508dddd | [
"CC0-1.0"
] | 1,469 | 2016-11-15T19:45:47.000Z | 2019-08-16T22:57:00.000Z | api/migrations/20171012164510_military.sql | bpdesigns/e-QIP-prototype | ca614c478e856c523c389d88a919d1357508dddd | [
"CC0-1.0"
] | 10 | 2019-09-05T18:02:03.000Z | 2022-02-19T18:30:14.000Z |
-- +goose Up
-- SQL in section 'Up' is executed when this migration is applied
-- +goose StatementBegin
CREATE TABLE military_disciplinaries (
id bigint REFERENCES accounts(id) NOT NULL PRIMARY KEY,
has_disciplinary_id bigint REFERENCES branches(id),
list_id bigint REFERENCES ... | 33.375 | 79 | 0.725843 |
7440ea8b86393b6e35ebb73a72ddb91036b89723 | 690 | c | C | assignment6/alarm.c | jinsub1999/LinuxSystemProgramming | 95f5cbe1d6357de1f9ad1bf91f1dc70a23c3206b | [
"MIT"
] | null | null | null | assignment6/alarm.c | jinsub1999/LinuxSystemProgramming | 95f5cbe1d6357de1f9ad1bf91f1dc70a23c3206b | [
"MIT"
] | null | null | null | assignment6/alarm.c | jinsub1999/LinuxSystemProgramming | 95f5cbe1d6357de1f9ad1bf91f1dc70a23c3206b | [
"MIT"
] | null | null | null | #include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
static unsigned int AlarmSecs; // 주기.
void SigAlarmHandler(int signo) {
if (signal(SIGALRM, SigAlarmHandler) == SIG_ERR) {
perror("signal");
exit(1);
} // nsecs마다 핸들러 설정.
alarm(AlarmSecs);
printf(".");
fflush(stdout); ... | 17.692308 | 52 | 0.630435 |
4bad08104c2e2108a2d2d5d4190a513267d811d0 | 130 | swift | Swift | Demo/Shared/AppDependencies/Material.swift | turlodales/Accio | 77ad0dfb28d248da90779eadaa40af43fde2f9c6 | [
"MIT"
] | 691 | 2019-03-04T13:02:20.000Z | 2022-03-30T09:44:33.000Z | Demo/Shared/AppDependencies/Material.swift | devxoul/Accio | ed2aa91928531ea4dc5d80919f71daef7dad0d09 | [
"MIT"
] | 85 | 2019-03-26T13:51:54.000Z | 2020-12-20T18:56:53.000Z | Demo/Shared/AppDependencies/Material.swift | devxoul/Accio | ed2aa91928531ea4dc5d80919f71daef7dad0d09 | [
"MIT"
] | 37 | 2019-04-08T14:01:41.000Z | 2021-11-21T19:22:51.000Z | import Material
// Ensure that framework was correctly integrated by using public API:
let materialViewType = Material.View.self
| 26 | 70 | 0.815385 |
16afd2a51c410d2003f7a3542cfacf8ee76d0f24 | 649 | tsx | TypeScript | src/wallet/ConnectWalletModal.tsx | ourzora/simple-wallet-provider | 34c34630160a3ad8101f6442c52d8b314e7e28c9 | [
"MIT"
] | 12 | 2021-11-05T21:27:36.000Z | 2022-03-15T05:09:00.000Z | src/wallet/ConnectWalletModal.tsx | ourzora/simple-wallet-provider | 34c34630160a3ad8101f6442c52d8b314e7e28c9 | [
"MIT"
] | 3 | 2021-12-15T19:59:26.000Z | 2022-02-12T20:50:24.000Z | src/wallet/ConnectWalletModal.tsx | ourzora/simple-wallet-provider | 34c34630160a3ad8101f6442c52d8b314e7e28c9 | [
"MIT"
] | 4 | 2021-11-05T04:37:57.000Z | 2022-02-10T00:44:57.000Z | import { useThemeConfig } from "../hooks/useThemeConfig";
import { WalletOptions } from "./WalletOptions";
import { ModalActionLayout } from "../modal/ModalActionLayout";
import { WALLET_MODAL_NAME } from "../context/WalletModalOpenContext";
export const ConnectWalletModal = () => {
const { getString, getStyles } = ... | 30.904762 | 70 | 0.688752 |
6660f30e62bec685b0165aaaee29f50bd68a32e2 | 36 | sql | SQL | src/test/tinc/tincrepo/mpp/models/regress/sql_related/regress_sql_tc_substitutions/sql_template/template/teardown.sql | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 9 | 2018-04-20T03:31:01.000Z | 2020-05-13T14:10:53.000Z | src/test/tinc/tincrepo/mpp/models/regress/sql_related/regress_sql_tc_substitutions/sql_template/template/teardown.sql | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 36 | 2017-09-21T09:12:27.000Z | 2020-06-17T16:40:48.000Z | src/test/tinc/tincrepo/mpp/models/regress/sql_related/regress_sql_tc_substitutions/sql_template/template/teardown.sql | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 32 | 2017-08-31T12:50:52.000Z | 2022-03-01T07:34:53.000Z | select '%dbname%';
select '%tags%';
| 12 | 18 | 0.611111 |
5285101d64d7f4b592feeb7eeb984d80efdbb6c7 | 103 | kt | Kotlin | app/src/test/java/com/arturdziombek/coffeecounter/ui/signup/SignupViewModelTest.kt | Artur512/CoffeeCounter | a424f6ba39765367001bfcf791f7ca1fd43b9f3a | [
"Apache-2.0"
] | null | null | null | app/src/test/java/com/arturdziombek/coffeecounter/ui/signup/SignupViewModelTest.kt | Artur512/CoffeeCounter | a424f6ba39765367001bfcf791f7ca1fd43b9f3a | [
"Apache-2.0"
] | null | null | null | app/src/test/java/com/arturdziombek/coffeecounter/ui/signup/SignupViewModelTest.kt | Artur512/CoffeeCounter | a424f6ba39765367001bfcf791f7ca1fd43b9f3a | [
"Apache-2.0"
] | null | null | null | package com.arturdziombek.coffeecounter.ui.signup
import org.junit.Assert.*
class SignupViewModelTest | 20.6 | 49 | 0.854369 |
c94e2293a481bc46bf66c6d832ea9534143c871f | 58,026 | sql | SQL | db/sales.sql | ghifarel/dealer | 35da8ee20c7804bbd9324e326c521e28b0ba401a | [
"MIT"
] | null | null | null | db/sales.sql | ghifarel/dealer | 35da8ee20c7804bbd9324e326c521e28b0ba401a | [
"MIT"
] | null | null | null | db/sales.sql | ghifarel/dealer | 35da8ee20c7804bbd9324e326c521e28b0ba401a | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 17 Jan 2021 pada 12.34
-- Versi server: 10.4.11-MariaDB
-- Versi PHP: 7.4.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARA... | 208.726619 | 23,747 | 0.712388 |
9349699eb35e53bb11248ea28282bdce589086d6 | 6,618 | rs | Rust | src/parse.rs | str4d/minimal-lexical | f6399813f02b7a55a875672c284ef3f69c2a34d6 | [
"Apache-2.0",
"MIT"
] | 10 | 2020-02-07T07:30:53.000Z | 2022-03-31T20:39:21.000Z | src/parse.rs | str4d/minimal-lexical | f6399813f02b7a55a875672c284ef3f69c2a34d6 | [
"Apache-2.0",
"MIT"
] | 12 | 2020-03-29T23:23:38.000Z | 2022-02-07T00:29:30.000Z | src/parse.rs | str4d/minimal-lexical | f6399813f02b7a55a875672c284ef3f69c2a34d6 | [
"Apache-2.0",
"MIT"
] | 3 | 2021-09-03T22:08:55.000Z | 2021-12-12T11:06:25.000Z | //! Parse byte iterators to float.
#![doc(hidden)]
#[cfg(feature = "compact")]
use crate::bellerophon::bellerophon;
use crate::extended_float::{extended_to_float, ExtendedFloat};
#[cfg(not(feature = "compact"))]
use crate::lemire::lemire;
use crate::num::Float;
use crate::number::Number;
use crate::slow::slow;
/// T... | 32.762376 | 99 | 0.614838 |
27e4504b0e932b4a2631f1ade6a230646ae408be | 3,392 | css | CSS | public/css/app.css | kennethaa/Vanvik-IL-Live-and-Stats | 8f8309f1bac7487087e99abb83205d87067df3f3 | [
"MIT"
] | null | null | null | public/css/app.css | kennethaa/Vanvik-IL-Live-and-Stats | 8f8309f1bac7487087e99abb83205d87067df3f3 | [
"MIT"
] | null | null | null | public/css/app.css | kennethaa/Vanvik-IL-Live-and-Stats | 8f8309f1bac7487087e99abb83205d87067df3f3 | [
"MIT"
] | null | null | null | .navbar-static-top {
margin-bottom: 20px;
}
.navbar-inverse {
background-color: transparent;
}
.navbar-static-top {
border-width: 0 0 0;
}
.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:hover,
.navbar-inverse .navbar-nav>.active>a:focus {
background-color: transparent;
}
.conta... | 17.045226 | 87 | 0.642689 |
783a4e545c022491781527bf3aefeb1b8f8a59e0 | 2,089 | swift | Swift | Clouds/Constants/WeatherColorScheme.swift | lfroms/clouds | 98bdfb466d9ee74475527b7d9216fc49de1efc6c | [
"MIT"
] | 23 | 2020-06-30T03:46:10.000Z | 2022-03-15T12:49:09.000Z | Clouds/Constants/WeatherColorScheme.swift | lfroms/clouds | 98bdfb466d9ee74475527b7d9216fc49de1efc6c | [
"MIT"
] | 10 | 2020-06-19T18:09:24.000Z | 2022-02-13T21:34:36.000Z | Clouds/Constants/WeatherColorScheme.swift | lfroms/clouds | 98bdfb466d9ee74475527b7d9216fc49de1efc6c | [
"MIT"
] | 1 | 2021-04-27T05:42:45.000Z | 2021-04-27T05:42:45.000Z | //
// WeatherColorScheme.swift
// Clouds
//
// Created by Lukas Romsicki on 2020-04-25.
// Copyright © 2020 Lukas Romsicki. All rights reserved.
//
import CloudsAPI
import struct SwiftUI.Color
enum WeatherColorScheme: String {
typealias Source = CloudsAPI.ColorScheme
case clearSkyBlue = "blue_sky"
ca... | 30.720588 | 90 | 0.705122 |
5c76444e2f7606cc1388637be315717fbba21740 | 499 | h | C | Proyecto1/Alumno.h | judaaaron/Proyecto1_Juda_EEDD1 | 971aae90bbd35316ac40e509547a0914649cdf54 | [
"MIT"
] | 1 | 2020-08-11T04:34:26.000Z | 2020-08-11T04:34:26.000Z | Proyecto1/Alumno.h | judaaaron/Proyecto1_Juda_EEDD1 | 971aae90bbd35316ac40e509547a0914649cdf54 | [
"MIT"
] | null | null | null | Proyecto1/Alumno.h | judaaaron/Proyecto1_Juda_EEDD1 | 971aae90bbd35316ac40e509547a0914649cdf54 | [
"MIT"
] | null | null | null |
#ifndef ALUMNO_H
#define ALUMNO_H
#include "Object.h"
#include <iostream>
#include<string>
#include <sstream>
using namespace std;
class Alumno: public Object
{
public:
Alumno();
Alumno(string,string);
Alumno(string);
string getNombre();
string getCuenta();
void setNombre(string);
... | 14.257143 | 33 | 0.663327 |
c11e4204997d187ede2c38b5f5b6a740b2aa6db7 | 3,645 | rs | Rust | substrate/client/db/src/children.rs | ndkazu/guessNumber-vs-Bot | 6e756977ce849137c62edb0716df6926583da9b2 | [
"Apache-2.0"
] | null | null | null | substrate/client/db/src/children.rs | ndkazu/guessNumber-vs-Bot | 6e756977ce849137c62edb0716df6926583da9b2 | [
"Apache-2.0"
] | null | null | null | substrate/client/db/src/children.rs | ndkazu/guessNumber-vs-Bot | 6e756977ce849137c62edb0716df6926583da9b2 | [
"Apache-2.0"
] | null | null | null | // This file is part of Substrate.
// Copyright (C) 2019-2021 Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the F... | 29.395161 | 89 | 0.681207 |
13e6838fb87bf7ebd8fa8bbbc23d298c9d080a15 | 1,437 | swift | Swift | Tests/quelboTests/Processing/Factories/ZilProperty/GlobalsTests.swift | samadhiBot/Quelbo | 5cc95ccc86a82c9141451b25255758dacb003e8d | [
"MIT"
] | null | null | null | Tests/quelboTests/Processing/Factories/ZilProperty/GlobalsTests.swift | samadhiBot/Quelbo | 5cc95ccc86a82c9141451b25255758dacb003e8d | [
"MIT"
] | null | null | null | Tests/quelboTests/Processing/Factories/ZilProperty/GlobalsTests.swift | samadhiBot/Quelbo | 5cc95ccc86a82c9141451b25255758dacb003e8d | [
"MIT"
] | null | null | null | //
// GlobalsTests.swift
// Quelbo
//
// Created by Chris Sessions on 4/16/22.
//
import CustomDump
import XCTest
@testable import quelbo
final class GlobalsTests: QuelboTests {
let factory = Factories.Globals.self
func testFindFactory() throws {
AssertSameFactory(factory, try Game.zilPropertyFact... | 23.177419 | 80 | 0.47112 |
1410385944be37a6f95a08f35a52c92fbfc6716d | 459 | css | CSS | www/assets/styles/reset.css | FridayIcecream/Shaffliette | 73aafd709d5eda898fea73444b123070c9e07a44 | [
"BSD-2-Clause"
] | 1 | 2018-02-28T09:46:50.000Z | 2018-02-28T09:46:50.000Z | www/assets/styles/reset.css | FridayIcecream/Shaffliette | 73aafd709d5eda898fea73444b123070c9e07a44 | [
"BSD-2-Clause"
] | 6 | 2018-05-25T16:26:12.000Z | 2018-05-29T14:04:04.000Z | www/assets/styles/reset.css | moemoesoft/Shaffliette | 73aafd709d5eda898fea73444b123070c9e07a44 | [
"BSD-2-Clause"
] | 1 | 2018-05-13T18:03:03.000Z | 2018-05-13T18:03:03.000Z | #shaffl-image-view * {
transform: translate3d(0, 0, 0); /* stupid css hack because hardware acceleration is shit */
}
body {
-webkit-tap-highlight-color: transparent;
user-select: none;
margin: 0;
font-family: Segoe UI Light;
background: #efefef;
height: 100vh;
width: 100vw;
display: flex;
flex-direction: col... | 19.125 | 93 | 0.697168 |
c299bbbf7ad2133777602f74ffc69089e458f1fd | 1,891 | sql | SQL | api/db/migrations/00005_create_settings_table.up.sql | elkrammer/kegger | 13f1c15565463890219dc1f6722e506cba57d951 | [
"MIT"
] | 1 | 2022-03-01T06:32:13.000Z | 2022-03-01T06:32:13.000Z | api/db/migrations/00005_create_settings_table.up.sql | elkrammer/kegger | 13f1c15565463890219dc1f6722e506cba57d951 | [
"MIT"
] | 3 | 2020-07-19T17:22:00.000Z | 2021-09-04T12:42:13.000Z | api/db/migrations/00005_create_settings_table.up.sql | elkrammer/kegger | 13f1c15565463890219dc1f6722e506cba57d951 | [
"MIT"
] | null | null | null | CREATE TABLE IF NOT EXISTS settings (
name VARCHAR (255) NULL,
value VARCHAR (255) NULL,
description VARCHAR (255) NULL,
CONSTRAINT settings_pkey PRIMARY KEY (name)
);
INSERT INTO public.settings
("name", value, description)
VALUES('event_name', 'Kegger''s Bash', 'Event Name');
INSERT INTO public.sett... | 30.5 | 94 | 0.728715 |
127e265841c7879bb891017e309a7e39e7272415 | 767 | h | C | common.h | homma/krc | 0fdefc15bb97ed4692544a03e7d7b22c9122f662 | [
"BSD-2-Clause"
] | 1 | 2019-12-27T13:29:02.000Z | 2019-12-27T13:29:02.000Z | common.h | homma/krc | 0fdefc15bb97ed4692544a03e7d7b22c9122f662 | [
"BSD-2-Clause"
] | null | null | null | common.h | homma/krc | 0fdefc15bb97ed4692544a03e7d7b22c9122f662 | [
"BSD-2-Clause"
] | 1 | 2019-12-27T13:29:04.000Z | 2019-12-27T13:29:04.000Z | // common.h: common definitions
#ifndef COMMON_H
#include <stdint.h> // for int64_t
#include <inttypes.h> // for PRId64
#include <limits.h> // for __WORDSIZE
#include <stdbool.h> // for bool, true, false
#if __WORDSIZE == 64
// type for machine words, used for all integer variables.
// 64-bit value.
typedef in... | 21.305556 | 88 | 0.704042 |