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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
04c25f9817491e997c125d29b14df58d2944b132 | 140 | java | Java | src/IO/data/Population.java | Uncrowned/Migration | de4f9eb22958ab23d1490296d5efa474b8fed2ef | [
"MIT"
] | null | null | null | src/IO/data/Population.java | Uncrowned/Migration | de4f9eb22958ab23d1490296d5efa474b8fed2ef | [
"MIT"
] | null | null | null | src/IO/data/Population.java | Uncrowned/Migration | de4f9eb22958ab23d1490296d5efa474b8fed2ef | [
"MIT"
] | null | null | null | package IO.data;
/**
* Created by sevenbits on 01.02.16.
*/
public class Population {
public String type;
public Integer size;
}
| 14 | 36 | 0.664286 |
fb43b6a73300ddd58621ee8421cb9036e0f76f9a | 79 | java | Java | Ejercicios/03 - Objetos y Clases en Java/08/src/dominio/Bono.java | Floating-Island/Java-Exercises-_2018__ES_ | d000e1f638377bede81c5fe11b44d298bbcc700a | [
"Unlicense"
] | null | null | null | Ejercicios/03 - Objetos y Clases en Java/08/src/dominio/Bono.java | Floating-Island/Java-Exercises-_2018__ES_ | d000e1f638377bede81c5fe11b44d298bbcc700a | [
"Unlicense"
] | null | null | null | Ejercicios/03 - Objetos y Clases en Java/08/src/dominio/Bono.java | Floating-Island/Java-Exercises-_2018__ES_ | d000e1f638377bede81c5fe11b44d298bbcc700a | [
"Unlicense"
] | null | null | null | package dominio;
public interface Bono {
public abstract double importe();
}
| 13.166667 | 34 | 0.759494 |
660422b991d10a1fe92f9cb6ba16d5abf445bba7 | 1,518 | swift | Swift | Sources/CFRDT/Timestamp/DisambiguousTimeInterval.swift | rkreutz/CFRDT | 83506466ffa58f6c1e536ea69cd4574b7d5c8e0c | [
"MIT"
] | null | null | null | Sources/CFRDT/Timestamp/DisambiguousTimeInterval.swift | rkreutz/CFRDT | 83506466ffa58f6c1e536ea69cd4574b7d5c8e0c | [
"MIT"
] | null | null | null | Sources/CFRDT/Timestamp/DisambiguousTimeInterval.swift | rkreutz/CFRDT | 83506466ffa58f6c1e536ea69cd4574b7d5c8e0c | [
"MIT"
] | null | null | null | import Foundation
public struct DisambiguousTimeInterval: Timestampable, Identifiable {
public static func tick() -> DisambiguousTimeInterval { DisambiguousTimeInterval() }
public var id = UUID()
public var timeInterval: TimeInterval = Date().timeIntervalSince1970
public mutating func tick() {
... | 29.764706 | 138 | 0.695652 |
eb77f786e73ace81603e1d51b6b7f7fd3abc5a52 | 591 | asm | Assembly | programs/oeis/186/A186352.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/186/A186352.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/186/A186352.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A186352: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) after g(j) when f(i)=g(j), where f and g are the odd numbers and the triangular numbers. Complement of A186353.
; 2,4,5,7,8,10,11,13,14,15,17,18,19,20,22,23,24,25,27,28,29,30,32,33,34,35,36,38,39,40,41,42,43,45,46,47,48,49,50,52,53,54,55,56,57,59,6... | 42.214286 | 314 | 0.659898 |
9f6035efd255bc48bec330ffbe2db1a5d3e3940a | 319 | swift | Swift | Tisym/Ressources/Data.swift | hadrienbbt/Tisym | f91d9554600bee213eecee8d83d616f31f514eb5 | [
"MIT"
] | 1 | 2020-09-10T08:59:16.000Z | 2020-09-10T08:59:16.000Z | Tisym/Ressources/Data.swift | hadrienbbt/Tisym | f91d9554600bee213eecee8d83d616f31f514eb5 | [
"MIT"
] | null | null | null | Tisym/Ressources/Data.swift | hadrienbbt/Tisym | f91d9554600bee213eecee8d83d616f31f514eb5 | [
"MIT"
] | null | null | null | /*
See LICENSE folder for this sample’s licensing information.
Abstract:
Helpers for loading images and data.
*/
import UIKit
import SwiftUI
import CoreLocation
let lightData: [Light] = load("mockLights.json")
let colorRGBData: [ColorRGB] = load("mockColors.json")
let colorHexData: [ColorHex] = load("indigo.json")
| 21.266667 | 59 | 0.761755 |
2a1473471fdc1a05ab6a75802cb3969ae3953c38 | 2,142 | java | Java | JavaMyPublisher/src/javaclient/JavaClient.java | hasanalpzengin/MQTT-Implementation | 9d4efdfe5db27c931c4b32842a670843f5e796af | [
"Apache-2.0"
] | null | null | null | JavaMyPublisher/src/javaclient/JavaClient.java | hasanalpzengin/MQTT-Implementation | 9d4efdfe5db27c931c4b32842a670843f5e796af | [
"Apache-2.0"
] | null | null | null | JavaMyPublisher/src/javaclient/JavaClient.java | hasanalpzengin/MQTT-Implementation | 9d4efdfe5db27c931c4b32842a670843f5e796af | [
"Apache-2.0"
] | null | null | null | package javaclient;
import mqtt.MQTTClient;
import connection.Publish;
import connection.Connection;
import connection.Subscribe;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.logging.Level;
import java.util.logging.Logger;
import message.Message;
public class JavaClient {
publi... | 37.578947 | 123 | 0.618114 |
758cf15477ab2cf167b562c01c3732d81b42e866 | 36 | sql | SQL | core-services/egov-idgen/src/main/resources/db/migration/main/V20171109001824__create_swm_vehicle_schedule_transaction_num_seq_ddl.sql | pradeepkumarcm-egov/DIGIT-Dev | d8fb601fae6d919d2386f36b36dfc7fde77ebd4f | [
"MIT"
] | 11 | 2021-04-22T13:18:00.000Z | 2021-07-13T06:24:48.000Z | core-services/egov-idgen/src/main/resources/db/migration/main/V20171109001824__create_swm_vehicle_schedule_transaction_num_seq_ddl.sql | pradeepkumarcm-egov/DIGIT-Dev | d8fb601fae6d919d2386f36b36dfc7fde77ebd4f | [
"MIT"
] | 869 | 2020-01-17T04:57:48.000Z | 2022-02-16T01:18:22.000Z | core-services/egov-idgen/src/main/resources/db/migration/main/V20171109001824__create_swm_vehicle_schedule_transaction_num_seq_ddl.sql | pradeepkumarcm-egov/DIGIT-Dev | d8fb601fae6d919d2386f36b36dfc7fde77ebd4f | [
"MIT"
] | 36 | 2020-02-11T09:39:38.000Z | 2022-02-08T04:37:54.000Z | CREATE SEQUENCE SEQ_SWM_VS_TRN_NUM;
| 18 | 35 | 0.888889 |
261a385647e55e55fb9fb3ae54221dbb2d060bd6 | 1,421 | java | Java | Server/src/Message.java | FlavioLandes/Chat | 909a071e7eac8ecf52134b2f979fa938a83ffa6e | [
"MIT"
] | null | null | null | Server/src/Message.java | FlavioLandes/Chat | 909a071e7eac8ecf52134b2f979fa938a83ffa6e | [
"MIT"
] | null | null | null | Server/src/Message.java | FlavioLandes/Chat | 909a071e7eac8ecf52134b2f979fa938a83ffa6e | [
"MIT"
] | null | null | null | import java.io.Serializable;
import java.util.ArrayList;
/**
*
* @author Flávio Barreiro Landes
* E-mail: landesflavio@gmail.com
*/
public class Message implements Serializable {
private String clientName;
private String receiverName;
private String text;
private ArrayList<String> names... | 22.555556 | 91 | 0.628431 |
9944b7621e406fe10afebf7bb8af8b8aac419d9e | 9,124 | h | C | apps/linear_algebra/src/halide_blas.h | jwitz54/Halide-2016-HLS | dd95daab3a7c871dd2f15c514912e21fb3c2bb7c | [
"MIT"
] | 7 | 2017-04-05T20:52:57.000Z | 2018-11-26T10:07:10.000Z | apps/linear_algebra/src/halide_blas.h | jwitz54/Halide-2016-HLS | dd95daab3a7c871dd2f15c514912e21fb3c2bb7c | [
"MIT"
] | 10 | 2017-04-11T02:55:38.000Z | 2019-06-27T18:13:36.000Z | apps/linear_algebra/src/halide_blas.h | jwitz54/Halide-2016-HLS | dd95daab3a7c871dd2f15c514912e21fb3c2bb7c | [
"MIT"
] | 1 | 2020-07-10T16:00:39.000Z | 2020-07-10T16:00:39.000Z | #ifndef HALIDE_BLAS_H
#define HALIDE_BLAS_H
#include <cmath>
#include "HalideRuntime.h"
#include "halide_scopy_impl.h"
#include "halide_dcopy_impl.h"
#include "halide_sscal_impl.h"
#include "halide_dscal_impl.h"
#include "halide_saxpy_impl.h"
#include "halide_daxpy_impl.h"
#include "halide_sdot.h"
#include "halide_dd... | 36.206349 | 110 | 0.608505 |
9c9e90be8eedf138cd850023c8ad278b19c1f44c | 325 | lua | Lua | hammerspoon/.hammerspoon/init.lua | ben-z/dotfiles | 6107e2b61acabf77026d5a930ec773790e3b7e75 | [
"MIT"
] | 7 | 2016-08-29T02:22:58.000Z | 2021-05-13T18:42:56.000Z | hammerspoon/.hammerspoon/init.lua | ben-z/dotfiles | 6107e2b61acabf77026d5a930ec773790e3b7e75 | [
"MIT"
] | 3 | 2017-04-05T06:15:58.000Z | 2017-04-05T06:17:19.000Z | hammerspoon/.hammerspoon/init.lua | ben-z/dotfiles | 6107e2b61acabf77026d5a930ec773790e3b7e75 | [
"MIT"
] | 1 | 2020-04-25T17:38:36.000Z | 2020-04-25T17:38:36.000Z | -- Use Cmd+\ to show 1Password everywhere except Atom
function activate_1password()
local client = hs.application.frontmostApplication()
if client:title() == 'Atom' then
hs.eventtap.keyStroke({"cmd"}, "f12")
else
hs.eventtap.keyStroke({"cmd"}, "f11")
end
end
hs.hotkey.bind({"cmd"}, "\\", activate_1passw... | 29.545455 | 54 | 0.692308 |
0c92ac74a41c6d27584a5d7d7e530d1077058597 | 2,385 | py | Python | datasets/few_shot_test_pickle.py | PengWan-Yang/few-shot-transformer | c055239061744124c72960420cd4037495952b6d | [
"Apache-2.0"
] | 4 | 2022-02-06T19:51:19.000Z | 2022-03-15T21:19:23.000Z | datasets/few_shot_test_pickle.py | PengWan-Yang/few-shot-transformer | c055239061744124c72960420cd4037495952b6d | [
"Apache-2.0"
] | 1 | 2022-02-06T20:00:15.000Z | 2022-02-06T20:00:15.000Z | datasets/few_shot_test_pickle.py | PengWan-Yang/few-shot-transformer | c055239061744124c72960420cd4037495952b6d | [
"Apache-2.0"
] | null | null | null |
import pickle
# modify validation data
_few_shot_pickle_file = 'few_shot_test_data.pkl'
_few_shot_file = open(_few_shot_pickle_file, 'rb')
data_few_shot = pickle.load(_few_shot_file)
_few_shot_pickle_file = 'few_shot_val_data.pkl'
_few_shot_file = open(_few_shot_pickle_file, 'rb')
data_val = pickle.load(_few_shot_... | 37.857143 | 98 | 0.65283 |
6b57d95a85a1a21c887195bb3b336da68c9f9b1a | 763 | lua | Lua | lua/discord/locale/pirate.lua | manix84/discord_gmod_addon | e84b37296f2fa4372fdca7473b41d0cce505ef37 | [
"MIT"
] | 3 | 2020-06-29T01:43:30.000Z | 2021-07-09T02:18:08.000Z | lua/discord/locale/pirate.lua | manix84/discord_gmod_addon | e84b37296f2fa4372fdca7473b41d0cce505ef37 | [
"MIT"
] | 3 | 2021-07-09T02:19:41.000Z | 2021-07-09T02:46:31.000Z | lua/discord/locale/pirate.lua | manix84/discord_gmod_addon | e84b37296f2fa4372fdca7473b41d0cce505ef37 | [
"MIT"
] | 45 | 2020-07-09T10:14:48.000Z | 2022-02-03T19:28:02.000Z | -- Talk like a pirate.
local pirate = {
MUTED_FOR_DURATION = "Ye be muted fer %s seconds.",
MUTED_FOR_ROUND = "Ye be muted 'til th' round ends.",
UNMUTED = "Ye be no longer muted.",
ERROR_MESSAGE = "Error: %s",
JOIN_DISCORD_PROMPT = "Join th' Discord server - %s",
CONNECTION_INSTRUCTIONS = "Then link to the... | 44.882353 | 122 | 0.685452 |
977170ad700ca0d7052644e423fc1cf64cdef5f8 | 753 | swift | Swift | Hummingbird/Environment.swift | glowinthedark/Hummingbird | fdc79a14c94099c3cebd68e26a9da37685ed1e3a | [
"MIT"
] | 122 | 2019-03-03T14:26:12.000Z | 2022-03-28T07:05:24.000Z | Hummingbird/Environment.swift | glowinthedark/Hummingbird | fdc79a14c94099c3cebd68e26a9da37685ed1e3a | [
"MIT"
] | 30 | 2019-02-17T09:48:09.000Z | 2022-03-02T15:41:40.000Z | Hummingbird/Environment.swift | glowinthedark/Hummingbird | fdc79a14c94099c3cebd68e26a9da37685ed1e3a | [
"MIT"
] | 17 | 2019-06-13T19:02:52.000Z | 2022-02-19T17:49:37.000Z | //
// World.swift
// Hummingbird
//
// Created by Sven A. Schmidt on 15/05/2019.
// Copyright © 2019 finestructure. All rights reserved.
//
// Motivation: https://www.pointfree.co/blog/posts/21-how-to-control-the-world
//
import Foundation
public struct Environment {
public var environment = ProcessInfo.pro... | 25.1 | 82 | 0.686587 |
b82ab7f5e33056d9b5edd4db417bf03d46d5ffe9 | 2,430 | ps1 | PowerShell | distros/windows/2016/build/scripts/fix.ps1 | arangodb-helper/build-docker-containers | 51fe68e5165cbca59cac07e6ad51af1bef85faf3 | [
"Apache-2.0"
] | 4 | 2018-01-22T17:58:21.000Z | 2020-11-23T06:28:59.000Z | distros/windows/2016/build/scripts/fix.ps1 | arangodb-helper/build-docker-containers | 51fe68e5165cbca59cac07e6ad51af1bef85faf3 | [
"Apache-2.0"
] | 1 | 2020-01-05T19:23:43.000Z | 2020-01-08T09:05:57.000Z | distros/windows/2016/build/scripts/fix.ps1 | arangodb-helper/build-docker-containers | 51fe68e5165cbca59cac07e6ad51af1bef85faf3 | [
"Apache-2.0"
] | 3 | 2016-12-06T02:25:54.000Z | 2018-02-11T17:16:02.000Z | [Environment]::SetEnvironmentVariable("Path", $env:Path + ';C:\Program Files\CMake\bin\;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64;C:\Program Files (x86)\MSBuild\14.0\Bin\',[EnvironmentVariableTarget]::Machine)
[Environment]::SetEnvironmentVariable("INCLUDE", 'C:\Program Files (x86)\Microsoft Visu... | 151.875 | 277 | 0.801646 |
05fc8a172f4276be6f95e92d03bd8197c8bde6c1 | 11,523 | html | HTML | app/content/texts/eng_web/PS59.html | youfriend20012001/VNGKBible | 63f7b88f3d0d257a8730929c57e65221a6ce8824 | [
"MIT"
] | null | null | null | app/content/texts/eng_web/PS59.html | youfriend20012001/VNGKBible | 63f7b88f3d0d257a8730929c57e65221a6ce8824 | [
"MIT"
] | 4 | 2020-04-04T04:16:48.000Z | 2022-03-26T19:19:12.000Z | app/content/texts/eng_web/PS59.html | youfriend20012001/VNGKBible | 63f7b88f3d0d257a8730929c57e65221a6ce8824 | [
"MIT"
] | 1 | 2020-11-25T17:39:39.000Z | 2020-11-25T17:39:39.000Z | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<title>Psalms 59 (WEB)</title>
<link href="../../../build/mobile.css" rel="stylesheet" />
<script src="../../../build/mobile.js"></script>
</head>
<body dir="ltr" class="sect... | 72.93038 | 4,922 | 0.672568 |
fb432271cc68b0be6bcfc32a3209a999c90dec85 | 14,436 | java | Java | src/windows/classes/sun/nio/fs/WindowsSecurityDescriptor.java | dbac/jdk8 | abfce42ff6d4b8b77d622157519ecd211ba0aa8f | [
"MIT"
] | 12 | 2018-04-04T12:47:40.000Z | 2022-01-02T04:36:38.000Z | src/windows/classes/sun/nio/fs/WindowsSecurityDescriptor.java | dbac/jdk8 | abfce42ff6d4b8b77d622157519ecd211ba0aa8f | [
"MIT"
] | null | null | null | src/windows/classes/sun/nio/fs/WindowsSecurityDescriptor.java | dbac/jdk8 | abfce42ff6d4b8b77d622157519ecd211ba0aa8f | [
"MIT"
] | 1 | 2021-12-10T07:51:50.000Z | 2021-12-10T07:51:50.000Z | /*
* Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 36.732824 | 86 | 0.603838 |
38b2e3cac5349d0b657a1edf74f06e527357763d | 10,777 | c | C | src/ch8.c | ITotalJustice/chip8 | 51ba3762715542ed58cde2add23d4eed9e649eb7 | [
"MIT"
] | 3 | 2020-07-04T15:42:44.000Z | 2020-07-07T19:16:56.000Z | src/ch8.c | ITotalJustice/TotalCH8 | 51ba3762715542ed58cde2add23d4eed9e649eb7 | [
"MIT"
] | 1 | 2020-07-08T14:31:00.000Z | 2020-07-08T14:31:00.000Z | src/ch8.c | ITotalJustice/TotalCH8 | 51ba3762715542ed58cde2add23d4eed9e649eb7 | [
"MIT"
] | 1 | 2020-07-08T10:45:55.000Z | 2020-07-08T10:45:55.000Z | #include "ch8.h"
// TODO: remove these
/// Defaults.
#define CH8_VSYNC true
#define CH8_CLOCK 10
/// Helper macros.
#define CH8_opcode ch8->var.opcode
#define CH8_ram ch8->mem.ram
#define CH8_stack ch8->mem.stack
#define CH8_PC ch8->reg.pc
#define CH8_SP ch8->reg.sp
#define CH8_I ch8->reg.i
#d... | 33.996845 | 87 | 0.574093 |
0cd7b71bf7de36ad8722f58dc56d94db5fb81535 | 827 | py | Python | python/mapper.py | qoofyk/zipper | c1d77448f8d479f9ef4bf785d49cf2b41da09130 | [
"BSD-3-Clause"
] | null | null | null | python/mapper.py | qoofyk/zipper | c1d77448f8d479f9ef4bf785d49cf2b41da09130 | [
"BSD-3-Clause"
] | null | null | null | python/mapper.py | qoofyk/zipper | c1d77448f8d479f9ef4bf785d49cf2b41da09130 | [
"BSD-3-Clause"
] | null | null | null | import sys
import math
def contiguous_mapper(mpi_rank, mpi_size, num_endpoints):
group_size = math.ceil(mpi_size/num_endpoints) # round up
local_id = mpi_rank % group_size
group_id = mpi_rank // group_size
return (group_id, local_id)
def generate_endpoint_file(endpoint_list, mpi_size, mapper_func):
... | 35.956522 | 79 | 0.71705 |
8ba7794dfc2b0a89d069b6d5e6493f68617e4ff4 | 1,048 | ps1 | PowerShell | imageglass/tools/chocolateyInstall.ps1 | Starz0r/nugetpkgs | 8c1485186ee90f16181b7090ab6ffa7248426bf7 | [
"CC0-1.0"
] | null | null | null | imageglass/tools/chocolateyInstall.ps1 | Starz0r/nugetpkgs | 8c1485186ee90f16181b7090ab6ffa7248426bf7 | [
"CC0-1.0"
] | null | null | null | imageglass/tools/chocolateyInstall.ps1 | Starz0r/nugetpkgs | 8c1485186ee90f16181b7090ab6ffa7248426bf7 | [
"CC0-1.0"
] | null | null | null | $ErrorActionPreference = 'Stop'
$packageArgs = @{
packageName = 'imageglass'
fileType = 'msi'
url = 'https://github.com/d2phap/ImageGlass/releases/download/6.0.12.29/ImageGlass_6.0.12.29_x86.msi'
checksum = '0780099b0765d3852778a72bcc787b51c7ca325963ad5490f142ca1f2fb3aec00688f0a6120f0... | 52.4 | 149 | 0.773855 |
05bc7b7e36da5579b25cb7c2f658a6b27ed85546 | 187 | html | HTML | src/main/webapp/partials/home.html | tinchodias/eg-casi-hackers-xtrest-angular | f70d100a61df37bf93309e9ae9015e7fffb5aa66 | [
"MIT"
] | null | null | null | src/main/webapp/partials/home.html | tinchodias/eg-casi-hackers-xtrest-angular | f70d100a61df37bf93309e9ae9015e7fffb5aa66 | [
"MIT"
] | null | null | null | src/main/webapp/partials/home.html | tinchodias/eg-casi-hackers-xtrest-angular | f70d100a61df37bf93309e9ae9015e7fffb5aa66 | [
"MIT"
] | null | null | null |
<h1>Hello {{ authCtrl.user().username }}</h1>
<span class="label-success" data-ng-repeat="role in authCtrl.user().roles">{{ role }}</span>
<p>This view is visible to logged in users.</p> | 46.75 | 92 | 0.679144 |
3b740b5093190616770adaa289933a5c1fe0fff9 | 972 | asm | Assembly | libsrc/games/mtx/joystick.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/games/mtx/joystick.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/games/mtx/joystick.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | ;
; Game device library for the Memotech MTX
; Stefano Bodrato - 2011
;
; $Id: joystick.asm,v 1.2 2015/01/19 01:32:44 pauloscustodio Exp $
;
PUBLIC joystick
KEYS:
defb 0
.joystick
;__FASTCALL__ : joystick no. in HL
ld a,l
ld hl,0
dec a
jr nz,no_cursor
; RIGHT stick
;xor a
FIRE:
l... | 10.681319 | 66 | 0.600823 |
906716492ce592a7a9a7a0caa589552c48a352d3 | 6,138 | py | Python | TargetDataLoaderProcess/data_loader.py | JeromeMutgeert/da-faster-rcnn | 73c8a0f765dc202fc284f659ce23c681fc3b6a64 | [
"BSD-2-Clause"
] | null | null | null | TargetDataLoaderProcess/data_loader.py | JeromeMutgeert/da-faster-rcnn | 73c8a0f765dc202fc284f659ce23c681fc3b6a64 | [
"BSD-2-Clause"
] | null | null | null | TargetDataLoaderProcess/data_loader.py | JeromeMutgeert/da-faster-rcnn | 73c8a0f765dc202fc284f659ce23c681fc3b6a64 | [
"BSD-2-Clause"
] | null | null | null | # Python 3 required. This is a seperate process.
import aiohttp
import asyncio
import async_timeout
import os
import numpy as np
import time
import cv2
# Settings:
Buffer = 100
BackBuffer = 20
Max_Query = 12
Timeout = 40
url_base = "https://test.yisual.com/images/media/download/picturethis/"
headers = {"api-key": ... | 28.285714 | 101 | 0.531281 |
03e14528fbc619ef1aa68c92012bded32e0f940d | 1,042 | swift | Swift | Shopping List/Controller/View Controller/ItemTableViewCell.swift | MityaKimchanskii/Shopping-List | 4ee11c6b72f9a084e9f61d1fbeeab1acd70b039d | [
"Apache-2.0"
] | null | null | null | Shopping List/Controller/View Controller/ItemTableViewCell.swift | MityaKimchanskii/Shopping-List | 4ee11c6b72f9a084e9f61d1fbeeab1acd70b039d | [
"Apache-2.0"
] | null | null | null | Shopping List/Controller/View Controller/ItemTableViewCell.swift | MityaKimchanskii/Shopping-List | 4ee11c6b72f9a084e9f61d1fbeeab1acd70b039d | [
"Apache-2.0"
] | null | null | null | //
// ItemTableViewCell.swift
// Shopping List
//
// Created by Mitya Kim on 1/19/22.
//
import UIKit
protocol isDoneDelegate: AnyObject {
func itemButtonTap(_ sender: ItemTableViewCell)
}
class ItemTableViewCell: UITableViewCell {
// MARK: - IBOutlets
@IBOutlet weak var isDoneButton: UIButton!
@... | 22.652174 | 87 | 0.602687 |
85bc442709656c0e67ec887ce06105664d2fd8f3 | 442 | h | C | picio.h | folkertvanheusden/termcamng | b43fdbb5d4a5114bc524109f0c0cf7b72690e4d6 | [
"Apache-2.0"
] | null | null | null | picio.h | folkertvanheusden/termcamng | b43fdbb5d4a5114bc524109f0c0cf7b72690e4d6 | [
"Apache-2.0"
] | 2 | 2022-02-24T09:14:29.000Z | 2022-02-28T08:09:18.000Z | picio.h | folkertvanheusden/termcamng | b43fdbb5d4a5114bc524109f0c0cf7b72690e4d6 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <turbojpeg.h>
void write_PNG_file(FILE *const fh, const int ncols, const int nrows, const int compression_level, uint8_t *pixels);
class myjpeg
{
private:
tjhandle jpegCompressor;
public:
myjpeg();
virtual ~myjpeg();
bool write_JPEG_memory(const int ncols, const int nrows, const int... | 22.1 | 148 | 0.762443 |
0766db8051b782a50868b866dfcfe68a52adc105 | 1,290 | lua | Lua | src/MainModule/Packages/Builtin/Moderation/Banning/CheckBan.lua | regginator/commander | 79cb091498d0a2198e51f7ed59787d62da5d9164 | [
"MIT"
] | 29 | 2021-02-23T05:38:49.000Z | 2021-05-15T18:59:11.000Z | src/MainModule/Packages/Builtin/Moderation/Banning/CheckBan.lua | regginator/commander | 79cb091498d0a2198e51f7ed59787d62da5d9164 | [
"MIT"
] | 46 | 2021-03-06T03:42:19.000Z | 2021-05-08T18:45:50.000Z | src/MainModule/Packages/Builtin/Moderation/Banning/CheckBan.lua | regginator/commander | 79cb091498d0a2198e51f7ed59787d62da5d9164 | [
"MIT"
] | 30 | 2021-03-06T00:54:39.000Z | 2021-05-14T01:33:16.000Z | local module = {
Name = "Check ban",
Description = "Check a player's ban status",
Location = "Player",
}
local DataStoreService
local dataStore
module.Execute = function(Client, Type, Attachment)
if Type == "command" then
local player = module.API.getUserIdWithName(Attachment)
local success, result = pcall... | 30.714286 | 157 | 0.700775 |
f172f3db2bdc9a15126e8e952f2752f841389cdd | 246 | rb | Ruby | app/models/user_buddy.rb | kjleitz/turtello | 923dae48a6444681390f53d61568ef1c110427a6 | [
"MIT"
] | null | null | null | app/models/user_buddy.rb | kjleitz/turtello | 923dae48a6444681390f53d61568ef1c110427a6 | [
"MIT"
] | null | null | null | app/models/user_buddy.rb | kjleitz/turtello | 923dae48a6444681390f53d61568ef1c110427a6 | [
"MIT"
] | null | null | null | class UserBuddy < ApplicationRecord
belongs_to :user, inverse_of: :user_buddies
belongs_to :buddy, class_name: "User", inverse_of: :user_stalkers
def user_username
user.username
end
def buddy_username
buddy.username
end
end
| 18.923077 | 67 | 0.756098 |
d970011370751b85115925aa7ed056ee9fe5aa04 | 661 | swift | Swift | swift/Problem 297/Problem 297Tests/Problem_297Tests.swift | SebastienFCT/daily-coding-problem | 209eeb24c24ad5450ce2f7dbf9678281f9c6895e | [
"MIT"
] | 10 | 2020-04-04T14:57:43.000Z | 2022-02-02T13:48:15.000Z | swift/Problem 297/Problem 297Tests/Problem_297Tests.swift | SebastienFCT/daily-coding-problem | 209eeb24c24ad5450ce2f7dbf9678281f9c6895e | [
"MIT"
] | null | null | null | swift/Problem 297/Problem 297Tests/Problem_297Tests.swift | SebastienFCT/daily-coding-problem | 209eeb24c24ad5450ce2f7dbf9678281f9c6895e | [
"MIT"
] | 3 | 2019-12-06T03:54:25.000Z | 2020-01-10T16:19:15.000Z | //
// Problem_297Tests.swift
// Problem 297Tests
//
// Created by sebastien FOCK CHOW THO on 2020-03-17.
// Copyright © 2020 sebastien FOCK CHOW THO. All rights reserved.
//
import XCTest
@testable import Problem_297
class Problem_297Tests: XCTestCase {
func test_example() {
let input = Bar(... | 20.65625 | 66 | 0.526475 |
e054bf4825e0f0a82556088e1ef187a268d028c0 | 47,406 | swift | Swift | CodeGenerator/CGSwiftCodeGenerator.swift | ProHolz/ElementsDelphiTools | dca0c4d6171428ea2671ace6d3bc5f68e6f147af | [
"MIT"
] | 5 | 2019-02-21T14:07:28.000Z | 2021-04-21T18:59:59.000Z | CodeGenerator/CGSwiftCodeGenerator.swift | ProHolz/ElementsDelphiTools | dca0c4d6171428ea2671ace6d3bc5f68e6f147af | [
"MIT"
] | 1 | 2019-03-04T12:27:59.000Z | 2019-03-04T12:27:59.000Z | CodeGenerator/CGSwiftCodeGenerator.swift | ProHolz/ElementsDelphiTools | dca0c4d6171428ea2671ace6d3bc5f68e6f147af | [
"MIT"
] | 4 | 2019-09-07T12:48:54.000Z | 2021-04-23T13:34:34.000Z | public enum CGSwiftCodeGeneratorDialect {
case Standard
case Silver
}
public class CGSwiftCodeGenerator : CGCStyleCodeGenerator {
public init() {
super.init()
// current as of Elements 8.1 and Swift 1.2
hardKeywords = ["__abstract", "__await", "__catch", "__event", "__finally", "__mapped", "__out", "__part... | 28.678766 | 207 | 0.719824 |
134d13b10e3d7c35ccc2b02626fe27434381e631 | 57,617 | c | C | FreeBSD/sys/contrib/ncsw/Peripherals/FM/HC/hc.c | TigerBSD/FreeBSD-Custom-ThinkPad | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | 91 | 2018-11-24T05:33:58.000Z | 2022-03-16T05:58:05.000Z | FreeBSD/sys/contrib/ncsw/Peripherals/FM/HC/hc.c | TigerBSD/FreeBSD-Custom-ThinkPad | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | 21 | 2016-08-11T09:43:43.000Z | 2017-01-29T12:52:56.000Z | FreeBSD/sys/contrib/ncsw/Peripherals/FM/HC/hc.c | TigerBSD/TigerBSD | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | 18 | 2018-11-24T10:35:29.000Z | 2021-04-22T07:22:10.000Z | /* Copyright (c) 2008-2011 Freescale Semiconductor, 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:
* * Redistributions of source code must retain the above copyright
* notice... | 36.35142 | 174 | 0.660083 |
2274b243b72b0ef841d436da79ef1de04551fab7 | 1,195 | dart | Dart | test/features/home/domain/usecases/get_user_uid_test.dart | tenhobi/game-without-name | 777c4be70d6e9f1392be0645fc92066825b530f1 | [
"MIT"
] | 8 | 2019-10-22T13:02:17.000Z | 2020-01-01T12:39:40.000Z | test/features/home/domain/usecases/get_user_uid_test.dart | tenhobi/game-without-name | 777c4be70d6e9f1392be0645fc92066825b530f1 | [
"MIT"
] | 9 | 2019-10-21T13:23:22.000Z | 2020-01-05T13:31:07.000Z | test/features/home/domain/usecases/get_user_uid_test.dart | tenhobi/totally_not_chernobyl | 777c4be70d6e9f1392be0645fc92066825b530f1 | [
"MIT"
] | null | null | null | import 'package:dartz/dartz.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mockito/mockito.dart';
import 'package:totally_not_chernobyl/core/usecases/usecase.dart';
import 'package:totally_not_chernobyl/feature/home/domain/repositories/auth_repository.dart';
import 'package:totally_not_chernoby... | 31.447368 | 93 | 0.721339 |
56098fa5a566b5ae358d10c79845076818efde90 | 2,595 | go | Go | pkg/cache/redis.go | tilezen/tapalcatl | e0ed0567cddb2104f2bb1e15684fc2c257046cdd | [
"BSD-3-Clause"
] | 13 | 2018-01-03T09:37:06.000Z | 2021-06-28T10:57:56.000Z | pkg/cache/redis.go | tilezen/tapalcatl | e0ed0567cddb2104f2bb1e15684fc2c257046cdd | [
"BSD-3-Clause"
] | 31 | 2016-12-21T21:39:03.000Z | 2021-06-09T19:23:24.000Z | pkg/cache/redis.go | tilezen/tapalcatl | e0ed0567cddb2104f2bb1e15684fc2c257046cdd | [
"BSD-3-Clause"
] | 3 | 2018-01-31T15:49:14.000Z | 2020-02-18T10:34:31.000Z | package cache
import (
"context"
"fmt"
"time"
"github.com/go-redis/redis/v8"
"github.com/tilezen/tapalcatl/pkg/state"
"github.com/tilezen/tapalcatl/pkg/tile"
)
type redisCache struct {
client *redis.Client
}
func (m *redisCache) Get(ctx context.Context, key string) ([]byte, error) {
bytes, err := m.client.G... | 22.179487 | 164 | 0.686705 |
389602788daca0be414f0f18338b4fba6c1d0b1c | 140 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/___fssub_callee.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/___fssub_callee.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/___fssub_callee.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
SECTION code_fp_math32
PUBLIC ___fssub_callee
EXTERN cm32_sdcc_fssub_callee
defc ___fssub_callee = cm32_sdcc_fssub_callee
| 20 | 49 | 0.792857 |
90d20b4f8add3703f5cb3ecfdf27458a36925d7a | 3,027 | py | Python | external_system/models.py | Wellheor1/l2 | d980210921c545c68fe9d5522bb693d567995024 | [
"MIT"
] | null | null | null | external_system/models.py | Wellheor1/l2 | d980210921c545c68fe9d5522bb693d567995024 | [
"MIT"
] | null | null | null | external_system/models.py | Wellheor1/l2 | d980210921c545c68fe9d5522bb693d567995024 | [
"MIT"
] | null | null | null | from django.db import models
class FsliRefbookTest(models.Model):
"""
Таблица справочников ФСЛИ: https://nsi.rosminzdrav.ru/#!/refbook/1.2.643.5.1.13.13.11.1080
"""
code_fsli = models.CharField(max_length=20, db_index=True, help_text='Уникальный код ФСЛИ')
code_loinc = models.CharField(max_length... | 51.305085 | 111 | 0.73406 |
7d6b5c39dac37f967e6952d9e9de295efe07198c | 1,578 | html | HTML | index.html | ralexstokes/eth2-fork-mon | 192d37e9a3e3c380f511a79ef3ab8aac6fcda27f | [
"MIT"
] | 9 | 2020-10-16T21:38:56.000Z | 2022-01-20T08:55:38.000Z | index.html | ralexstokes/eth2-fork-mon | 192d37e9a3e3c380f511a79ef3ab8aac6fcda27f | [
"MIT"
] | 2 | 2021-05-12T22:15:40.000Z | 2021-05-12T22:27:32.000Z | index.html | ralexstokes/eth2-fork-mon | 192d37e9a3e3c380f511a79ef3ab8aac6fcda27f | [
"MIT"
] | 3 | 2021-01-06T00:17:12.000Z | 2021-05-03T20:25:26.000Z | <!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content=
"width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href=
"https://cdn.jsdelivr.net/npm/bootstrap@4.5.... | 33.574468 | 103 | 0.574144 |
fb511da915a41399e1f89e4fea45b4baffa6d40b | 989 | java | Java | src/test/java/DatabaseRule.java | AdamCraig/recipe-box | 7bec6d2639f071e0cdf01b61c1b612b74e29ce8a | [
"MIT",
"Unlicense"
] | null | null | null | src/test/java/DatabaseRule.java | AdamCraig/recipe-box | 7bec6d2639f071e0cdf01b61c1b612b74e29ce8a | [
"MIT",
"Unlicense"
] | null | null | null | src/test/java/DatabaseRule.java | AdamCraig/recipe-box | 7bec6d2639f071e0cdf01b61c1b612b74e29ce8a | [
"MIT",
"Unlicense"
] | null | null | null | import org.junit.rules.ExternalResource;
import org.sql2o.*;
public class DatabaseRule extends ExternalResource {
@Override
protected void before() {
DB.sql2o = new Sql2o("jdbc:postgresql://localhost:5432/cooking_test", null, null);
}
@Override
protected void after() {
try(Connection con = DB.sql2o... | 35.321429 | 86 | 0.724975 |
f422140e868bfe55810fd19f63d4e9f0a47866a9 | 8,543 | sql | SQL | public/sql/hotelspa3.sql | orobles95/Hotel-Spa | 2ebe191a885c674ff95a0b4f071427fa530df413 | [
"MIT"
] | null | null | null | public/sql/hotelspa3.sql | orobles95/Hotel-Spa | 2ebe191a885c674ff95a0b4f071427fa530df413 | [
"MIT"
] | 1 | 2021-01-06T02:42:54.000Z | 2021-01-06T02:42:54.000Z | public/sql/hotelspa3.sql | orobles95/Hotel-Spa | 2ebe191a885c674ff95a0b4f071427fa530df413 | [
"MIT"
] | 1 | 2021-05-22T17:31:22.000Z | 2021-05-22T17:31:22.000Z | -- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 28-05-2018 a las 21:35:51
-- Versión del servidor: 10.1.30-MariaDB
-- Versión de PHP: 7.2.1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
... | 27.120635 | 127 | 0.618986 |
1e67f13e459b7fce75be9062087fdf4c689c03b6 | 7,245 | sql | SQL | resources/sql/app_db.sql | Marcelo-Kawamura/VestibulApp_API | 82fddee448c4a88bcd2e35045592fd5df691cb2b | [
"MIT"
] | null | null | null | resources/sql/app_db.sql | Marcelo-Kawamura/VestibulApp_API | 82fddee448c4a88bcd2e35045592fd5df691cb2b | [
"MIT"
] | null | null | null | resources/sql/app_db.sql | Marcelo-Kawamura/VestibulApp_API | 82fddee448c4a88bcd2e35045592fd5df691cb2b | [
"MIT"
] | null | null | null | -- MySQL Script generated by MySQL Workbench
-- Tue Dec 26 19:56:30 2017
-- Model: New Model Version: 1.0
-- MySQL Workbench Forward Engineering
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TR... | 34.336493 | 76 | 0.598482 |
4761fbe46c7518abd2391c032272fc70d00f377b | 8,082 | ps1 | PowerShell | Module/Public/Common/Start-SilentProcess.ps1 | Brownserve-UK/Brownserve.PSTools | 3ee430aa2029fb1d2d8f656a20c3b98c983b3e52 | [
"MIT"
] | null | null | null | Module/Public/Common/Start-SilentProcess.ps1 | Brownserve-UK/Brownserve.PSTools | 3ee430aa2029fb1d2d8f656a20c3b98c983b3e52 | [
"MIT"
] | 11 | 2021-10-04T22:32:07.000Z | 2021-12-07T10:22:36.000Z | Module/Public/Common/Start-SilentProcess.ps1 | Brownserve-UK/Brownserve.PSTools | 3ee430aa2029fb1d2d8f656a20c3b98c983b3e52 | [
"MIT"
] | null | null | null | function Start-SilentProcess
{
[CmdletBinding()]
param
(
# The path to the command to be run
[Parameter(
Mandatory = $true,
Position = 0,
ValueFromPipeline = $true,
ValueFromPipelineByPropertyName = $true
)]
[Alias("PSPath")]
... | 34.686695 | 156 | 0.603316 |
17425c1f75bb0a919ed669cb05ab0d889fd86e0a | 279 | html | HTML | hay-core/src/main/resources/pages/v1/root.html | asalimonov/Hay | ecde761cb6feefae06610111d55a5f81be327340 | [
"MIT"
] | 1 | 2017-10-02T18:01:23.000Z | 2017-10-02T18:01:23.000Z | hay-core/src/main/resources/pages/v1/root.html | asalimonov/Hay | ecde761cb6feefae06610111d55a5f81be327340 | [
"MIT"
] | null | null | null | hay-core/src/main/resources/pages/v1/root.html | asalimonov/Hay | ecde761cb6feefae06610111d55a5f81be327340 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>The Hay library endpoint</title>
</head>
<body>
Hello! You are on the Hay library endpoint page.</br>
<a href="~/v1/about">About</a></br>
<a href="~/v1/health">Health-check endpoint</a>
</body>
</html> | 23.25 | 53 | 0.645161 |
624168718fa927a37963adc3ed2ffb5f665b6f7d | 1,499 | ps1 | PowerShell | src/Blockchain/test/Update-AzBlockchainTransactionNode.Tests.ps1 | mbentancour/azure-powershell | 142042fb26c23663340dbecd460bcd60866f6aca | [
"MIT"
] | 3 | 2021-02-08T06:47:47.000Z | 2021-02-08T09:53:19.000Z | src/Blockchain/test/Update-AzBlockchainTransactionNode.Tests.ps1 | mbentancour/azure-powershell | 142042fb26c23663340dbecd460bcd60866f6aca | [
"MIT"
] | 12 | 2015-02-05T09:42:44.000Z | 2021-04-16T13:19:58.000Z | src/Blockchain/test/Update-AzBlockchainTransactionNode.Tests.ps1 | mbentancour/azure-powershell | 142042fb26c23663340dbecd460bcd60866f6aca | [
"MIT"
] | 4 | 2015-08-09T10:30:06.000Z | 2019-12-12T10:33:41.000Z | $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1'
if (-Not (Test-Path -Path $loadEnvPath)) {
$loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1'
}
. ($loadEnvPath)
$TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzBlockchainTransactionNode.Recording.json'
$currentPath = $PSScriptRoot
while(-not $... | 48.354839 | 206 | 0.724483 |
e927b59f7569c44bd99a86b9bd1124f4b2a01bfb | 76 | rb | Ruby | book-code/15-using-test-doubles-effectively/12/api_request_tracker/lib/metrics_reporter.rb | buithehoa/rspec-3-book | 3f07d77683689e25d946d3d634e459fab4269c02 | [
"MIT"
] | 1 | 2018-07-29T06:38:49.000Z | 2018-07-29T06:38:49.000Z | book-code/15-using-test-doubles-effectively/12/api_request_tracker/lib/metrics_reporter.rb | buithehoa/rspec-3-book | 3f07d77683689e25d946d3d634e459fab4269c02 | [
"MIT"
] | null | null | null | book-code/15-using-test-doubles-effectively/12/api_request_tracker/lib/metrics_reporter.rb | buithehoa/rspec-3-book | 3f07d77683689e25d946d3d634e459fab4269c02 | [
"MIT"
] | null | null | null | class MetricsReporter
def self.increment(metric_name)
# ...
end
end
| 12.666667 | 33 | 0.697368 |
86525b6b419de3faee6ef5e9a8dca62daa6e8680 | 4,115 | rs | Rust | rafx-plugins/src/pipelines/basic/graph_generator/bloom_blur_pass.rs | StratusFearMe21/rafx-sdl2 | c824afd933ad31dad9d1023095661790de3653c8 | [
"Apache-2.0",
"MIT"
] | 346 | 2020-11-30T20:52:26.000Z | 2022-03-29T03:24:53.000Z | rafx-plugins/src/pipelines/basic/graph_generator/bloom_blur_pass.rs | StratusFearMe21/rafx-sdl2 | c824afd933ad31dad9d1023095661790de3653c8 | [
"Apache-2.0",
"MIT"
] | 86 | 2020-12-05T03:34:50.000Z | 2022-02-12T05:02:41.000Z | rafx-plugins/src/pipelines/basic/graph_generator/bloom_blur_pass.rs | StratusFearMe21/rafx-sdl2 | c824afd933ad31dad9d1023095661790de3653c8 | [
"Apache-2.0",
"MIT"
] | 20 | 2020-12-08T10:02:43.000Z | 2022-03-12T02:25:12.000Z | use crate::phases::PostProcessRenderPhase;
use rafx::framework::{MaterialPassResource, ResourceArc};
use rafx::graph::*;
use rafx::render_features::RenderPhase;
use super::RenderGraphContext;
use super::EMPTY_VERTEX_LAYOUT;
use crate::shaders;
use rafx::api::RafxSampleCount;
#[derive(PartialEq)]
pub(super) enum BlurD... | 31.653846 | 89 | 0.641555 |
6fe9b8e0e6d09532b5e8ba4adc4743045fc5ec41 | 1,199 | psm1 | PowerShell | lib/core/perfcounter/Test-IcingaPerformanceCounterCategory.psm1 | hamangku/sans | d95cea5b18a13504cb17b12f7aa78c9b3bb847da | [
"MIT"
] | 45 | 2019-10-31T16:51:08.000Z | 2022-01-28T13:17:14.000Z | lib/core/perfcounter/Test-IcingaPerformanceCounterCategory.psm1 | hamangku/sans | d95cea5b18a13504cb17b12f7aa78c9b3bb847da | [
"MIT"
] | 210 | 2019-11-05T10:42:10.000Z | 2022-03-31T15:51:23.000Z | lib/core/perfcounter/Test-IcingaPerformanceCounterCategory.psm1 | hamangku/sans | d95cea5b18a13504cb17b12f7aa78c9b3bb847da | [
"MIT"
] | 31 | 2019-11-26T13:50:30.000Z | 2022-03-25T14:53:18.000Z | <#
.SYNOPSIS
Test if a certain Performance Counter category exist on the systems and returns
either true or false depending on the state
.DESCRIPTION
Test if a certain Performance Counter category exist on the systems and returns
either true or false depending on the state
.FUNCTIONALITY
Test if ... | 25.510638 | 88 | 0.671393 |
bfe559509b88f095c547d816321df370583d83f0 | 3,297 | swift | Swift | com.stakwork.sphinx.desktop/Scenes/Dashboard/Chat/Collection View Items/Groups/GroupRequestCollectionViewItem.swift | stakwork/sphinx-mac | e1f7f643a3195fda8f5b2298b63b5ec434b0ea03 | [
"MIT"
] | null | null | null | com.stakwork.sphinx.desktop/Scenes/Dashboard/Chat/Collection View Items/Groups/GroupRequestCollectionViewItem.swift | stakwork/sphinx-mac | e1f7f643a3195fda8f5b2298b63b5ec434b0ea03 | [
"MIT"
] | 2 | 2022-01-06T18:17:58.000Z | 2022-02-10T01:37:14.000Z | com.stakwork.sphinx.desktop/Scenes/Dashboard/Chat/Collection View Items/Groups/GroupRequestCollectionViewItem.swift | stakwork/sphinx-mac | e1f7f643a3195fda8f5b2298b63b5ec434b0ea03 | [
"MIT"
] | null | null | null | //
// GroupRequestCollectionViewItem.swift
// Sphinx
//
// Created by Tomas Timinskas on 04/08/2020.
// Copyright © 2020 Sphinx. All rights reserved.
//
import Cocoa
class GroupRequestCollectionViewItem: CommonGroupActionCollectionViewItem {
@IBOutlet weak var groupApprovalLabel: NSTextField!
@IBOutl... | 30.813084 | 111 | 0.631483 |
1422b023b361ea4dc405a4fc54351b88bc289e20 | 6,645 | swift | Swift | PrebidMobileTests/RenderingTests/Tests/3dPartyWrappers/OpenMeasurement/PBMOpenMeasurementWrapperTest.swift | aclrys/prebid-mobile-ios | 918633be1817a17e46c012fecd7ed7d59446a672 | [
"Apache-2.0"
] | null | null | null | PrebidMobileTests/RenderingTests/Tests/3dPartyWrappers/OpenMeasurement/PBMOpenMeasurementWrapperTest.swift | aclrys/prebid-mobile-ios | 918633be1817a17e46c012fecd7ed7d59446a672 | [
"Apache-2.0"
] | 1 | 2022-01-20T12:41:56.000Z | 2022-01-20T12:41:56.000Z | PrebidMobileTests/RenderingTests/Tests/3dPartyWrappers/OpenMeasurement/PBMOpenMeasurementWrapperTest.swift | aclrys/prebid-mobile-ios | 918633be1817a17e46c012fecd7ed7d59446a672 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2018-2021 Prebid.org, 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 law or agreed to in ... | 35.918919 | 129 | 0.681114 |
047673ad87837335ef125197c4c041f122d4092d | 3,340 | java | Java | yoti-sdk/src/main/java/com/yoti/mobile/android/sdk/model/Scenario.java | RobertLK/android-sdk-button | b6cd864b1d8ba561695584d7eb6b37e677d8b981 | [
"MIT"
] | 7 | 2018-02-16T12:25:17.000Z | 2021-09-29T09:40:27.000Z | yoti-sdk/src/main/java/com/yoti/mobile/android/sdk/model/Scenario.java | RobertLK/android-sdk-button | b6cd864b1d8ba561695584d7eb6b37e677d8b981 | [
"MIT"
] | 12 | 2018-07-03T14:49:32.000Z | 2022-03-30T15:56:19.000Z | yoti-sdk/src/main/java/com/yoti/mobile/android/sdk/model/Scenario.java | RobertLK/android-sdk-button | b6cd864b1d8ba561695584d7eb6b37e677d8b981 | [
"MIT"
] | 9 | 2018-02-23T15:41:31.000Z | 2021-09-21T10:38:28.000Z | package com.yoti.mobile.android.sdk.model;
import androidx.annotation.NonNull;
import android.text.TextUtils;
import com.yoti.mobile.android.sdk.exceptions.YotiSDKNotValidScenarioException;
/**
* This Object will hold all the necessary attributes to successfully perform a sharing of attributes
* according to what... | 25.692308 | 107 | 0.65 |
d41c9e815dbf975710bb171b58414a59af40208b | 173 | sql | SQL | src/main/resources/db/migration/V47__remove_up_down_support.sql | RIPE-NCC/rpki-core | cf6293bd0481e7f926c11a1237ee92e3dc3c1ea5 | [
"BSD-3-Clause"
] | 6 | 2022-02-09T09:59:08.000Z | 2022-02-16T19:17:39.000Z | src/main/resources/db/migration/V47__remove_up_down_support.sql | RIPE-NCC/rpki-core | cf6293bd0481e7f926c11a1237ee92e3dc3c1ea5 | [
"BSD-3-Clause"
] | null | null | null | src/main/resources/db/migration/V47__remove_up_down_support.sql | RIPE-NCC/rpki-core | cf6293bd0481e7f926c11a1237ee92e3dc3c1ea5 | [
"BSD-3-Clause"
] | 1 | 2022-02-09T16:03:28.000Z | 2022-02-09T16:03:28.000Z | DROP TABLE down_stream_provisioning_communicator;
DROP TABLE provisioning_audit_log;
ALTER TABLE certificateauthority DROP COLUMN down_stream_provisioning_communicator_id;
| 43.25 | 87 | 0.907514 |
a8035e113623e96e15bb12597fb1d703ed642dc5 | 1,280 | swift | Swift | FreeAPS/Sources/APS/GlucoseManager.swift | masha146/freeaps | b0bceaf7598f2351774aecf14402a695c809a144 | [
"MIT"
] | null | null | null | FreeAPS/Sources/APS/GlucoseManager.swift | masha146/freeaps | b0bceaf7598f2351774aecf14402a695c809a144 | [
"MIT"
] | null | null | null | FreeAPS/Sources/APS/GlucoseManager.swift | masha146/freeaps | b0bceaf7598f2351774aecf14402a695c809a144 | [
"MIT"
] | 1 | 2021-11-06T09:37:30.000Z | 2021-11-06T09:37:30.000Z | import Combine
import Foundation
import SwiftDate
import Swinject
protocol GlucoseManager {}
final class BaseGlucoseManager: GlucoseManager, Injectable {
private let processQueue = DispatchQueue(label: "BaseGlucoseManager.processQueue")
@Injected() var glucoseStogare: GlucoseStorage!
@Injected() var night... | 31.219512 | 129 | 0.61875 |
bc01c562a40486b40fbf5c6f8f9fc71f46aea49b | 4,310 | rs | Rust | src/cloud_flight.rs | FlowerAce/hyperx-cloud-flight | 6ae59ea3446a6dba7be9d2f19b8147fd00ec024d | [
"MIT"
] | 8 | 2021-10-29T21:27:08.000Z | 2022-01-31T08:20:33.000Z | src/cloud_flight.rs | FlowerAce/hyperx-cloud-flight | 6ae59ea3446a6dba7be9d2f19b8147fd00ec024d | [
"MIT"
] | 5 | 2021-11-13T19:27:22.000Z | 2022-02-21T16:52:37.000Z | src/cloud_flight.rs | FlowerAce/hyperx-cloud-flight | 6ae59ea3446a6dba7be9d2f19b8147fd00ec024d | [
"MIT"
] | 2 | 2021-12-16T00:16:15.000Z | 2021-12-28T06:46:46.000Z | use hidapi::{HidApi, HidDevice};
use log::{debug, info};
use std::cell::Cell;
const VENDOR_ID: u16 = 0x0951;
const PRODUCT_IDS: [u16; 2] = [0x1723, 0x16c4];
const BATTERY_TRIGGER_PACKET: [u8; 20] = {
let mut buf = [0; 20];
buf[0] = 0x21;
buf[1] = 0xff;
buf[2] = 0x05;
buf
};
fn battery_percent(cha... | 28.543046 | 69 | 0.403016 |
04f1c3248a6fdf47633fe80ceeff659e5d013b4d | 6,186 | java | Java | packages/SystemUI/src/com/android/systemui/statusbar/ScrimView.java | protodevnan0/midnight_frameworks_base | e9fdb38c69ba964ec83bffa5796c6945ae6859ec | [
"Apache-2.0"
] | null | null | null | packages/SystemUI/src/com/android/systemui/statusbar/ScrimView.java | protodevnan0/midnight_frameworks_base | e9fdb38c69ba964ec83bffa5796c6945ae6859ec | [
"Apache-2.0"
] | null | null | null | packages/SystemUI/src/com/android/systemui/statusbar/ScrimView.java | protodevnan0/midnight_frameworks_base | e9fdb38c69ba964ec83bffa5796c6945ae6859ec | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2014 The Android Open Source Project
*
* 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 app... | 30.17561 | 94 | 0.641448 |
5851a7bb3ce6133e681c43d3927e84ef485c975f | 486 | h | C | app/window/PageCategory.h | Rexagon/kanji-tutor | fc33654be500053612741eedd6bf8e22f5ee2a60 | [
"Apache-2.0"
] | null | null | null | app/window/PageCategory.h | Rexagon/kanji-tutor | fc33654be500053612741eedd6bf8e22f5ee2a60 | [
"Apache-2.0"
] | 1 | 2017-05-19T09:16:25.000Z | 2017-05-20T21:05:53.000Z | app/window/PageCategory.h | Rexagon/kanji-tutor | fc33654be500053612741eedd6bf8e22f5ee2a60 | [
"Apache-2.0"
] | null | null | null | #ifndef PAGECATEGORY_H
#define PAGECATEGORY_H
#include "../widgets/LessonListItem.h"
#include "../models/Category.h"
#include "Page.h"
class PageCategory : public Page
{
Q_OBJECT
public:
PageCategory(Ui::MainWindow* ui);
void setCategory(Category* category);
signals:
void backButtonPressed();
void kanjiButtonPr... | 21.130435 | 63 | 0.773663 |
f6cea845c31c4a5e54744adb2045f1fd82b05614 | 655 | asm | Assembly | programs/oeis/211/A211422.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/211/A211422.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/211/A211422.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A211422: Number of ordered triples (w,x,y) with all terms in {-n,...,0,...,n} and w^2 + x*y = 0.
; 1,9,17,25,41,49,57,65,81,105,113,121,137,145,153,161,193,201,225,233,249,257,265,273,289,329,337,361,377,385,393,401,433,441,449,457,505,513,521,529,545,553,561,569,585,609,617,625,657,713,753,761,777,785,809,817,833,84... | 46.785714 | 423 | 0.694656 |
7f0dc7c5570afb87f0bb8b7b8b383de2b0e831e1 | 849 | rs | Rust | src/ast/main.rs | oxur/oxur | db8e9d67076e665987e9aa48fc1af6bd2f67d04b | [
"Apache-2.0"
] | null | null | null | src/ast/main.rs | oxur/oxur | db8e9d67076e665987e9aa48fc1af6bd2f67d04b | [
"Apache-2.0"
] | 14 | 2020-01-11T17:20:54.000Z | 2020-02-12T05:55:22.000Z | src/ast/main.rs | oxur/oxur | db8e9d67076e665987e9aa48fc1af6bd2f67d04b | [
"Apache-2.0"
] | null | null | null | use oxur::ast::dump;
use std::env;
use std::fs;
use std::io::{self, Write};
use std::path::PathBuf;
use std::process;
fn main() {
if let Err(error) = try_main() {
let _ = writeln!(io::stderr(), "{}", error);
process::exit(1);
}
}
fn try_main() -> Result<(), dump::Error> {
let mut args = en... | 23.583333 | 77 | 0.537102 |
4b2eaa5e7e0771c0426c585fcf28cc7337860782 | 3,409 | html | HTML | src/app/shared/components/cn-tree/cn-tree.component.html | sz5t/SmartAutoBusiness-2.0 | 902d85228b3c656bd87d525a706717d807ee31d1 | [
"MIT"
] | null | null | null | src/app/shared/components/cn-tree/cn-tree.component.html | sz5t/SmartAutoBusiness-2.0 | 902d85228b3c656bd87d525a706717d807ee31d1 | [
"MIT"
] | 10 | 2020-02-16T12:00:01.000Z | 2022-02-26T15:47:41.000Z | src/app/shared/components/cn-tree/cn-tree.component.html | sz5t/SmartAutoBusiness-2.0 | 902d85228b3c656bd87d525a706717d807ee31d1 | [
"MIT"
] | 1 | 2020-04-21T11:06:49.000Z | 2020-04-21T11:06:49.000Z | <nz-spin nzTip="loading..." [nzSpinning]="isLoading">
<form *ngIf="config.checkStrictlyShow" checkStrictly nz-form nzLayout="inline">
<nz-form-item>
<nz-form-label><label>无关联勾选</label></nz-form-label>
<nz-form-control><nz-switch [(ngModel)]="this.config['checkStrictly']" name="checkStrictly"></nz-s... | 52.446154 | 181 | 0.63479 |
b3a445db7d6d0dcb2c32040eaaaa49f604f5a9a2 | 395 | rb | Ruby | lib/csv_db/matches.rb | moniya/ligbot | b53c686e059ab85f86ea62a75a1969033f01eec1 | [
"MIT"
] | 1 | 2015-01-09T20:45:36.000Z | 2015-01-09T20:45:36.000Z | lib/csv_db/matches.rb | moniya/ligbot | b53c686e059ab85f86ea62a75a1969033f01eec1 | [
"MIT"
] | null | null | null | lib/csv_db/matches.rb | moniya/ligbot | b53c686e059ab85f86ea62a75a1969033f01eec1 | [
"MIT"
] | null | null | null | class Matches
def initialize(matches_file_path)
@matches_file_path = matches_file_path
end
def setup
FileUtils.touch @matches_file_path
end
def add match
str = "#{match.team1_id},#{match.team2_id},#{match.team1_goals},#{match.team2_goals}"
File.open(@matches_file_path, "a") { |f| f.puts str... | 19.75 | 89 | 0.698734 |
751303fedb54e00a5695f8e34ee1ce8bd1ad28aa | 193 | asm | Assembly | chapter04/00-Add/Add.asm | TheVainBoy/nand2tetris | fff82a86c39e68698775d238efbd3817cf6e6261 | [
"MIT"
] | 1 | 2016-03-04T18:08:41.000Z | 2016-03-04T18:08:41.000Z | chapter04/00-Add/Add.asm | TheVainBoy/nand2tetris | fff82a86c39e68698775d238efbd3817cf6e6261 | [
"MIT"
] | null | null | null | chapter04/00-Add/Add.asm | TheVainBoy/nand2tetris | fff82a86c39e68698775d238efbd3817cf6e6261 | [
"MIT"
] | null | null | null | @i
M=1
@sum
M=0
(LOOP)
@i
D=M
@100
D=D-A
@END
D;JGT
@i
D=M
@sum
M=D+M
@i
M=M+1
@LOOP
0;JMP
(END)
@END
0;JMP
| 8.041667 | 9 | 0.305699 |
aeb4dd2ee7a5543c7c4e2cb3231e8b02eec99f15 | 494 | dart | Dart | lib/controllers/gamedetailsController.dart | BikashKalita/IgniteFlutter | 527a08cc2a82e7cf7fc1b64f3d40903a0de13e83 | [
"MIT"
] | null | null | null | lib/controllers/gamedetailsController.dart | BikashKalita/IgniteFlutter | 527a08cc2a82e7cf7fc1b64f3d40903a0de13e83 | [
"MIT"
] | null | null | null | lib/controllers/gamedetailsController.dart | BikashKalita/IgniteFlutter | 527a08cc2a82e7cf7fc1b64f3d40903a0de13e83 | [
"MIT"
] | null | null | null | import 'package:get/get.dart';
import 'package:ignitev2/services/api.dart';
import '../models/gameinfo.dart';
class GameDetailsController extends GetxController {
var isLoading = true.obs;
var gameInfo = GameDetailsModel().obs;
Future<void> fetchGameDetails(String slug) async {
try {
isLoading(true);... | 22.454545 | 55 | 0.65587 |
fba776fbf9d26578ba33ab9d2a3121361188df47 | 1,337 | c | C | Game/Source/flesh.c | Acknex/LotterShock | 36863095cc4afaf4f3b96fa6476e272409a7a458 | [
"CC0-1.0"
] | 4 | 2018-07-01T22:04:51.000Z | 2018-07-04T21:20:58.000Z | Game/Source/flesh.c | Acknex/LotterShock | 36863095cc4afaf4f3b96fa6476e272409a7a458 | [
"CC0-1.0"
] | 115 | 2018-06-29T20:54:42.000Z | 2018-08-20T14:35:55.000Z | Game/Source/flesh.c | Acknex/LotterShock | 36863095cc4afaf4f3b96fa6476e272409a7a458 | [
"CC0-1.0"
] | null | null | null | #include "flesh.h"
#include "enemy_hit.h"
#include "splatter.h"
#define FL_SPLATTERCNT skill21
#define FL_ORIGINALROT skill22
#define FL_ORIGINALROT skill23
#define FL_ORIGINALROT skill24
BMAP* FLESH_bmapSplatter[5];
SOUND* FLESH_sndSplatter[3];
action Flesh()
{
framework_setup(my, SUBSYSTEM_FLESH);
ENEMY_HIT_in... | 24.309091 | 65 | 0.724009 |
52a0e7679b5f4e8d25a851a64e074e9581d37374 | 6,769 | psm1 | PowerShell | Module/Public/InstallHelpers/Install.Artifacts.Functions.psm1 | derek-baker/AzureDevOpsHelpers | 5369fbb3bd1451ffecda3bbf21c828e96def156a | [
"MIT"
] | null | null | null | Module/Public/InstallHelpers/Install.Artifacts.Functions.psm1 | derek-baker/AzureDevOpsHelpers | 5369fbb3bd1451ffecda3bbf21c828e96def156a | [
"MIT"
] | null | null | null | Module/Public/InstallHelpers/Install.Artifacts.Functions.psm1 | derek-baker/AzureDevOpsHelpers | 5369fbb3bd1451ffecda3bbf21c828e96def156a | [
"MIT"
] | null | null | null | Set-StrictMode -Version Latest
$ErrorActionPreference = "Stop";
#Requires -Version 5.0
# INTENT: Should create a timestamped copy of a dir
function BackUpDir(
[Parameter(mandatory=$true)]
[string] $srcDir,
[Parameter(mandatory=$false)]
[string] $newDirPostfix = "$(Get-Date -f yyyy-MM-dd_hh... | 32.233333 | 114 | 0.631112 |
3c320fb72e3f7d726d5cbb35d21bffc83c991e5b | 2,886 | ps1 | PowerShell | docker/windows-dev/scripts/test.ps1 | mabrarov/build-scripts | 038dffe71e3dc31144917ded4f035137f77df917 | [
"MIT"
] | 28 | 2017-12-26T21:34:10.000Z | 2022-03-31T17:08:45.000Z | docker/windows-dev/scripts/test.ps1 | mabrarov/build-scripts | 038dffe71e3dc31144917ded4f035137f77df917 | [
"MIT"
] | 2 | 2019-08-16T18:09:27.000Z | 2021-01-14T04:47:37.000Z | docker/windows-dev/scripts/test.ps1 | mabrarov/build-scripts | 038dffe71e3dc31144917ded4f035137f77df917 | [
"MIT"
] | 7 | 2020-03-10T19:24:14.000Z | 2022-01-18T09:53:16.000Z | #
# Copyright (c) 2017 Marat Abrarov (abrarov@gmail.com)
#
# Distributed under the MIT License (see accompanying LICENSE)
#
# Stop immediately if any error happens
$ErrorActionPreference = "Stop"
$project_dir = (Get-Item "${PSScriptRoot}").Parent.FullName
$image_repository = "${env:DOCKER_USER}/$(Split-Path... | 40.083333 | 107 | 0.716216 |
f6675ba6d3c565871b5ce480b2374c1374ecf2b2 | 1,546 | sql | SQL | db_ngaji.sql | langpp/kitangaji.com | 0754be94e96ed1f786e06d4075878240628f0d01 | [
"MIT"
] | null | null | null | db_ngaji.sql | langpp/kitangaji.com | 0754be94e96ed1f786e06d4075878240628f0d01 | [
"MIT"
] | null | null | null | db_ngaji.sql | langpp/kitangaji.com | 0754be94e96ed1f786e06d4075878240628f0d01 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.1.12
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Jul 11, 2019 at 04:21 PM
-- Server version: 5.6.16
-- PHP Version: 5.5.11
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;... | 30.313725 | 89 | 0.688875 |
2f125aa273fe1d9e6d8d078ea739f77012ccde29 | 649 | asm | Assembly | src/hook_parserDeclarePrototype.asm | szapp/Ninja | 7b018a5aa82bdb9f1eadea910ed1ff4711d4485a | [
"MIT"
] | 17 | 2018-07-11T20:53:46.000Z | 2022-03-01T18:20:42.000Z | src/hook_parserDeclarePrototype.asm | szapp/Ninja | 7b018a5aa82bdb9f1eadea910ed1ff4711d4485a | [
"MIT"
] | 24 | 2018-10-23T07:47:33.000Z | 2021-02-09T09:06:25.000Z | src/hook_parserDeclarePrototype.asm | szapp/Ninja | 7b018a5aa82bdb9f1eadea910ed1ff4711d4485a | [
"MIT"
] | null | null | null | ; Hook prototype parsing in zCParser::DeclarePrototype
%include "inc/macros.inc"
%if GOTHIC_BASE_VERSION == 1
%include "inc/symbols_g1.inc"
%elif GOTHIC_BASE_VERSION == 2
%include "inc/symbols_g2.inc"
%endif
%ifidn __OUTPUT_FORMAT__, bin
org g1g2(0x6F36B2,0x79CF72)
%endif
bits 32
section .text ... | 22.37931 | 99 | 0.580894 |
3ef53114f9b37fecf69b37364065d30398f17397 | 7,384 | h | C | RecoParticleFlow/PFProducer/interface/PFMuonAlgo.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | RecoParticleFlow/PFProducer/interface/PFMuonAlgo.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | RecoParticleFlow/PFProducer/interface/PFMuonAlgo.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | #ifndef RecoParticleFlow_PFProducer_PFMuonAlgo_h
#define RecoParticleFlow_PFProducer_PFMuonAlgo_h
#include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
#include "DataFormats/ParticleFlowReco/interface/PFBlockElement.h"
#include "DataFormats/VertexReco/interface/Vertex.h"
#include "DataFormats/VertexReco... | 30.512397 | 131 | 0.752438 |
2d8f8db03d3d96b1d00e5ca8d42b0704b4880b30 | 8,779 | rs | Rust | codegen/src/lib.rs | HFQR/xitca-web | ee2d4fa9e88b2be149c9ca3454bc14d90f8f9ca2 | [
"Apache-2.0"
] | 9 | 2021-11-09T04:16:32.000Z | 2022-03-24T01:14:14.000Z | codegen/src/lib.rs | HFQR/xitca-web | ee2d4fa9e88b2be149c9ca3454bc14d90f8f9ca2 | [
"Apache-2.0"
] | 10 | 2021-11-07T13:31:18.000Z | 2022-03-17T23:00:20.000Z | codegen/src/lib.rs | HFQR/xitca-web | ee2d4fa9e88b2be149c9ca3454bc14d90f8f9ca2 | [
"Apache-2.0"
] | 3 | 2021-10-30T06:38:06.000Z | 2021-11-28T23:22:50.000Z | use proc_macro::TokenStream;
use quote::{__private::Span, quote};
use syn::{
Data, FnArg, GenericArgument, Ident, ImplItem, ImplItemMethod, Pat, PatIdent, PathArguments, ReturnType, Stmt, Type,
};
#[proc_macro_derive(State, attributes(borrow))]
pub fn state_impl(item: TokenStream) -> TokenStream {
let input = ... | 32.514815 | 120 | 0.537647 |
c25d8951b0f36417efa492efc2fe70d8123fc706 | 1,388 | go | Go | wipe/wipe_test.go | 0x9ef/go-wiper | 9c4041500a2a08844d08ea61337ad939de4af46e | [
"MIT"
] | 8 | 2021-11-14T12:00:08.000Z | 2021-12-12T17:09:44.000Z | wipe/wipe_test.go | 0x9ef/go-wiper | 9c4041500a2a08844d08ea61337ad939de4af46e | [
"MIT"
] | null | null | null | wipe/wipe_test.go | 0x9ef/go-wiper | 9c4041500a2a08844d08ea61337ad939de4af46e | [
"MIT"
] | null | null | null | // Copyright (c) 2021 0x9ef. All rights reserved.
// Use of this source code is governed by an MIT license
// that can be found in the LICENSE file.
package wipe_test
import (
"math/rand"
"os"
"testing"
"time"
"github.com/0x9ef/go-wiper/wipe"
)
const _100KB = 100 * 1024
const _1MB = 1 * 1024 * 1024
const _500MB... | 19.828571 | 56 | 0.663545 |
fb4a3e03bd954d2ede27aa6078dd9d2b5eaaa957 | 1,612 | java | Java | src/main/java/de/unibremen/gradelog/model/package-info.java | 1cy1c3/gradelog | 9a3b6e92f46761e0db60428d77db62bc496e22c2 | [
"MIT"
] | null | null | null | src/main/java/de/unibremen/gradelog/model/package-info.java | 1cy1c3/gradelog | 9a3b6e92f46761e0db60428d77db62bc496e22c2 | [
"MIT"
] | null | null | null | src/main/java/de/unibremen/gradelog/model/package-info.java | 1cy1c3/gradelog | 9a3b6e92f46761e0db60428d77db62bc496e22c2 | [
"MIT"
] | null | null | null | /**
* Die Klassen dieses Pakets repräsentieren die Datensicht (siehe Kapitel 6 auf Seite 62),
* d. h. sie halten die jeweiligen Attribute und Objekte dieser Klassen können modifiziert,
* erstellt oder gelöscht werden. Dabei werden die Models in Bezug auf deren Konstrukte
* wie z. B. Attribute mit sog. Annotationen ... | 67.166667 | 91 | 0.793424 |
97bb068b953c7a42999ec3b7575b0637254f6201 | 667 | swift | Swift | TableBuilder/TableBuilder/Source/Core/Protocols/ConfigurableCell.swift | makskovalko/MagicTableBuilder | 332033443fdb69c63924ffe942e113c246546680 | [
"MIT"
] | 8 | 2018-04-02T07:17:31.000Z | 2019-09-27T13:50:48.000Z | TableBuilder/TableBuilder/Source/Core/Protocols/ConfigurableCell.swift | makskovalko/MagicTableBuilder | 332033443fdb69c63924ffe942e113c246546680 | [
"MIT"
] | null | null | null | TableBuilder/TableBuilder/Source/Core/Protocols/ConfigurableCell.swift | makskovalko/MagicTableBuilder | 332033443fdb69c63924ffe942e113c246546680 | [
"MIT"
] | 1 | 2019-03-01T17:30:05.000Z | 2019-03-01T17:30:05.000Z | //
// ConfigurableCell.swift
// TableBuilder
//
// Created by Maksim on 3/30/18.
// Copyright © 2018 Maksim. All rights reserved.
//
import UIKit
public protocol ConfigurableCell {
associatedtype Value
static var reuseId: String { get }
static var nib: UINib? { get }
static var height: CGFloa... | 19.617647 | 63 | 0.644678 |
413d822ed78e3a9d3d042c9819116e26372accba | 1,141 | c | C | projects/stm32l452-st-nucleo/board/devices.c | shangliyun/lu_xing_xiang_one_os | 02b3900bbc2303291ad6b16d59f50df786af4e27 | [
"Apache-2.0"
] | 1 | 2022-03-26T09:59:37.000Z | 2022-03-26T09:59:37.000Z | projects/stm32l452-st-nucleo/board/devices.c | shangliyun/lu_xing_xiang_one_os | 02b3900bbc2303291ad6b16d59f50df786af4e27 | [
"Apache-2.0"
] | 1 | 2021-06-24T04:27:40.000Z | 2021-06-24T04:27:40.000Z | projects/stm32l452-st-nucleo/board/devices.c | shangliyun/lu_xing_xiang_one_os | 02b3900bbc2303291ad6b16d59f50df786af4e27 | [
"Apache-2.0"
] | 2 | 2021-06-24T04:08:28.000Z | 2022-03-07T06:37:24.000Z | extern ADC_HandleTypeDef hadc1;
OS_HAL_DEVICE_DEFINE("ADC_HandleTypeDef", "adc1", hadc1);
extern CAN_HandleTypeDef hcan1;
OS_HAL_DEVICE_DEFINE("CAN_HandleTypeDef", "can1", hcan1);
extern CRC_HandleTypeDef hcrc;
OS_HAL_DEVICE_DEFINE("CRC_HandleTypeDef", "crc", hcrc);
extern DAC_HandleTypeDef hdac1;
OS_HAL_D... | 30.837838 | 64 | 0.789658 |
a5545cd618810f7b129d34003ea2d0d86518fb4f | 686 | asm | Assembly | screen_left.asm | peckhamdata/cgl-6502 | 65bfe3449b3d684da95a2cd4b2ec5ce7e4d18864 | [
"MIT"
] | 4 | 2020-01-24T06:46:10.000Z | 2022-02-28T15:44:08.000Z | screen_left.asm | peckhamdata/cgl-6502 | 65bfe3449b3d684da95a2cd4b2ec5ce7e4d18864 | [
"MIT"
] | null | null | null | screen_left.asm | peckhamdata/cgl-6502 | 65bfe3449b3d684da95a2cd4b2ec5ce7e4d18864 | [
"MIT"
] | 1 | 2020-12-07T19:36:31.000Z | 2020-12-07T19:36:31.000Z | screen_left: txa
pha
ldx #$00
lda #<screen
sta $02
lda #>screen
sta $03
row_loop: ldy #$00
col_loop: inc $02
lda ($02),y
dec $02
sta ($02),y
iny
... | 24.5 | 28 | 0.276968 |
c42cde675372de9de3a1d78ac7505ef7a011c710 | 6,405 | h | C | PhysX_3.4/Source/SimulationController/include/ScArticulationCore.h | RyanTorant/simple-physx | a065a9c734c134074c63c80a9109a398b22d040c | [
"Unlicense"
] | 1 | 2019-12-09T16:03:55.000Z | 2019-12-09T16:03:55.000Z | PhysX_3.4/Source/SimulationController/include/ScArticulationCore.h | RyanTorant/simple-physx | a065a9c734c134074c63c80a9109a398b22d040c | [
"Unlicense"
] | null | null | null | PhysX_3.4/Source/SimulationController/include/ScArticulationCore.h | RyanTorant/simple-physx | a065a9c734c134074c63c80a9109a398b22d040c | [
"Unlicense"
] | null | null | null | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... | 37.45614 | 101 | 0.603591 |
c16372ed910214e0b49c5e2c9a350b6734bf85f3 | 447 | rs | Rust | crates/futures-rs_01/tests/inspect.rs | Zha0Chan/crates-sgx | 73dc6d9e130757d9e585ee757b3d94d5078512a9 | [
"Apache-2.0"
] | 3 | 2020-08-02T04:46:18.000Z | 2020-08-07T10:10:53.000Z | crates/futures-rs_01/tests/inspect.rs | Zha0Chan/crates-sgx | 73dc6d9e130757d9e585ee757b3d94d5078512a9 | [
"Apache-2.0"
] | 16 | 2020-09-04T19:01:11.000Z | 2021-05-28T03:23:09.000Z | third_party/rust_crates/vendor/futures/tests/inspect.rs | ZVNexus/fuchsia | c5610ad15208208c98693618a79c705af935270c | [
"BSD-3-Clause"
] | 1 | 2021-07-11T09:06:13.000Z | 2021-07-11T09:06:13.000Z | extern crate futures;
use futures::prelude::*;
use futures::future::{ok, err};
#[test]
fn smoke() {
let mut counter = 0;
{
let work = ok::<u32, u32>(40).inspect(|val| { counter += *val; });
assert_eq!(work.wait(), Ok(40));
}
assert_eq!(counter, 40);
{
let work = err::<u3... | 18.625 | 74 | 0.521253 |
afaf2af6e9aa0d110902b3ff5a0fc7404cc5de16 | 1,747 | html | HTML | index.html | MirumSG/mirumsg.github.io | 0e120bbe2129b2382c7aeaf55af1246478a1aef9 | [
"MIT"
] | null | null | null | index.html | MirumSG/mirumsg.github.io | 0e120bbe2129b2382c7aeaf55af1246478a1aef9 | [
"MIT"
] | null | null | null | index.html | MirumSG/mirumsg.github.io | 0e120bbe2129b2382c7aeaf55af1246478a1aef9 | [
"MIT"
] | null | null | null | ---
layout: default
title: Home
---
<h1>Mirum SG Front-End Development Guidelines and Documentation</h1>
<hr/>
<div class="posts">
Guidelines:
<ol>
<div class="post">
{% for post in paginator.posts %}
<li>
<h4>
<a href="{{ post.url }}">
{{ post.title }}
</a>
... | 32.962264 | 157 | 0.597023 |
40bb9b4b97c244fe18d0f36e87b61d1c37c6edc9 | 8,238 | py | Python | code/analysis.py | ellagale/constructionist_binary_NN_tester | d4fbe9e0e33d94468edc2f3247097f4e3399e1b9 | [
"MIT"
] | null | null | null | code/analysis.py | ellagale/constructionist_binary_NN_tester | d4fbe9e0e33d94468edc2f3247097f4e3399e1b9 | [
"MIT"
] | null | null | null | code/analysis.py | ellagale/constructionist_binary_NN_tester | d4fbe9e0e33d94468edc2f3247097f4e3399e1b9 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
import itertools
import threading
import imp
"""This module is for developing the machinery required to make neural nets and analyse local and global codes
This module does stuff.
"""
__version__ = '0.1'
__author__ = 'Ella Gale'
__date__ = 'Jan 2017'
class Thread... | 33.62449 | 125 | 0.594319 |
2f00f39bd8fac0790d3234582ffef94b81ee5be1 | 11,334 | php | PHP | resources/views/admin/dashboard.blade.php | JesusAdrianQP/Totos-SistemaWeb-G4 | 456b22c57b648959251bb618f1af864740ca51ec | [
"MIT"
] | null | null | null | resources/views/admin/dashboard.blade.php | JesusAdrianQP/Totos-SistemaWeb-G4 | 456b22c57b648959251bb618f1af864740ca51ec | [
"MIT"
] | null | null | null | resources/views/admin/dashboard.blade.php | JesusAdrianQP/Totos-SistemaWeb-G4 | 456b22c57b648959251bb618f1af864740ca51ec | [
"MIT"
] | null | null | null | @extends('layouts.admin')
@section('title', 'DashBoard Principal - Menú')
@section('content-admin')
<!-- Loading screen -->
<div
x-ref="loading"
class="fixed inset-0 z-50 flex items-center justify-center text-white bg-black bg-opacity-50"
style="backdrop-filter: blur(14px); -webkit-ba... | 61.597826 | 265 | 0.359979 |
5730ed81f1a0f67b4e7ec6b787d2f5c98990f367 | 360 | h | C | deps/src/gropt/incl/slasd3.h | pnavaro/ElasticFDA.jl | 0ed8c3f483c3a62f4215a6b65894da34e77eefc1 | [
"MIT"
] | 7 | 2017-02-05T23:39:14.000Z | 2021-06-03T06:41:47.000Z | deps/src/gropt/incl/slasd3.h | pnavaro/ElasticFDA.jl | 0ed8c3f483c3a62f4215a6b65894da34e77eefc1 | [
"MIT"
] | 3 | 2016-08-31T20:48:32.000Z | 2021-12-15T02:18:36.000Z | deps/src/gropt/incl/slasd3.h | pnavaro/ElasticFDA.jl | 0ed8c3f483c3a62f4215a6b65894da34e77eefc1 | [
"MIT"
] | 6 | 2016-07-12T02:13:16.000Z | 2020-09-22T17:42:16.000Z | #ifdef __cplusplus
extern "C" {
#endif
#include "f2c.h"
int slasd3_(integer *nl, integer *nr, integer *sqre, integer *k, real *d__, real *q, integer *ldq, real *dsigma, real *u, integer *ldu, real *u2, integer *ldu2, real *vt, integer *ldvt, real *vt2, integer *ldvt2, integer *idxc, integer *ctot, real *z__, inte... | 32.727273 | 269 | 0.686111 |
ec1d4450c03e41ed57ee5d749a01a100687f8281 | 402 | lua | Lua | mods/creox_game/src/item/items.lua | TehnoTheDragon/Creox | 1ac46aba3b7f2b62209df06fe85a3a0ab88c8e2c | [
"MIT"
] | null | null | null | mods/creox_game/src/item/items.lua | TehnoTheDragon/Creox | 1ac46aba3b7f2b62209df06fe85a3a0ab88c8e2c | [
"MIT"
] | null | null | null | mods/creox_game/src/item/items.lua | TehnoTheDragon/Creox | 1ac46aba3b7f2b62209df06fe85a3a0ab88c8e2c | [
"MIT"
] | null | null | null | local Builder = creox.game.Builder.Item
--> Items
Builder.create_item("wood_plank").texture("wood_plank.png").max_stack(16).build()
Builder.create_item("wood_stick").texture("wood_stick.png").max_stack(64).build()
Builder.create_item("processed_wood_stick").texture("processed_wood_stick.png").max_stack(64).build()
Bui... | 57.428571 | 101 | 0.788557 |
332dfca284f4f89521f1d0f9ccafaec0f3569819 | 1,225 | dart | Dart | lib/model/friend.dart | TingzhouJia/flutter-chat | c0b1810cca9e3348948bb154ca039d148b07dbe4 | [
"MIT"
] | 8 | 2020-10-07T16:44:55.000Z | 2022-03-29T01:11:44.000Z | lib/model/friend.dart | TingzhouJia/flutter-chat | c0b1810cca9e3348948bb154ca039d148b07dbe4 | [
"MIT"
] | 1 | 2020-07-18T12:05:48.000Z | 2020-07-18T12:05:48.000Z | lib/model/friend.dart | TingzhouJia/flutter-chat | c0b1810cca9e3348948bb154ca039d148b07dbe4 | [
"MIT"
] | 5 | 2021-04-13T13:56:24.000Z | 2021-12-22T12:19:12.000Z |
import "package:built_collection/built_collection.dart";
import "package:built_value/built_value.dart";
import 'package:learnflutter/model/user.dart';
// ignore: prefer_double_quotes
part 'friend.g.dart';
abstract class Friend implements Built<Friend, FriendBuilder> {
@nullable
User get user;
String get back... | 20.416667 | 68 | 0.705306 |
046109a702b50ad308e4233a3e5ac78dca5c2aa7 | 1,209 | java | Java | core/src/main/java/io/smallrye/openapi/runtime/io/extension/ExtensionConstant.java | renegrob/smallrye-open-api | 1a5dfaa35775ff0f93786cf89a48eb0a07a5ada4 | [
"Apache-2.0"
] | 68 | 2018-05-27T23:12:12.000Z | 2022-03-03T08:43:59.000Z | core/src/main/java/io/smallrye/openapi/runtime/io/extension/ExtensionConstant.java | renegrob/smallrye-open-api | 1a5dfaa35775ff0f93786cf89a48eb0a07a5ada4 | [
"Apache-2.0"
] | 599 | 2018-06-13T06:11:35.000Z | 2022-03-31T14:03:18.000Z | core/src/main/java/io/smallrye/openapi/runtime/io/extension/ExtensionConstant.java | phillip-kruger/smallrye-open-api | c64e47ef65f61290b46664ebe2649fa1fcc1dc8c | [
"Apache-2.0"
] | 72 | 2018-05-29T07:34:24.000Z | 2022-03-18T04:00:54.000Z | package io.smallrye.openapi.runtime.io.extension;
import org.eclipse.microprofile.openapi.annotations.extensions.Extension;
import org.eclipse.microprofile.openapi.annotations.extensions.Extensions;
import org.jboss.jandex.DotName;
/**
* Constants related to Extension.
*
* @see <a href=
* "https://github.co... | 36.636364 | 134 | 0.763441 |
5b66d4bb92150c275eaa868837164ee497fd43ab | 320 | lua | Lua | workspace/source/first/run/init.client.lua | Vyon/Stacking-Bricks | 45344c2de29dd34a9418b1678eeca7e7989fae67 | [
"Apache-2.0"
] | null | null | null | workspace/source/first/run/init.client.lua | Vyon/Stacking-Bricks | 45344c2de29dd34a9418b1678eeca7e7989fae67 | [
"Apache-2.0"
] | null | null | null | workspace/source/first/run/init.client.lua | Vyon/Stacking-Bricks | 45344c2de29dd34a9418b1678eeca7e7989fae67 | [
"Apache-2.0"
] | null | null | null | local tween_service = game:GetService('TweenService')
local lighting = game:GetService('Lighting')
task.spawn(function()
while true do
local tween = tween_service:Create(lighting, TweenInfo.new(1, Enum.EasingStyle.Linear), { ClockTime = (lighting.ClockTime + .1) })
tween:Play()
tween.Completed:Wait()
end
end) | 29.090909 | 132 | 0.74375 |
313caf4b6294f9962973d8eaa53441e53c0774e2 | 487 | asm | Assembly | oeis/156/A156649.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/156/A156649.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/156/A156649.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A156649: Decimal expansion of (9+4*sqrt(2))/7.
; Submitted by Jon Maiga
; 2,0,9,3,8,3,6,3,2,1,3,5,6,0,5,4,3,1,3,6,0,0,9,6,4,9,8,5,2,6,2,6,8,4,6,1,6,3,2,5,5,2,6,7,8,5,9,2,9,6,8,4,6,1,3,2,4,3,8,1,6,9,9,3,1,3,7,5,6,1,4,1,6,2,6,4,0,6,1,1,6,5,0,5,7,3,6,4,3,0,5,3,3,0,0,8,0,8,9,8
bin $1,$0
mov $2,1
mov $3,$0
mul $3,3
lpb $... | 18.730769 | 201 | 0.525667 |
aa3e8f91c49c0e06a96af7a76c7eb5ecd8d99a33 | 156 | sql | SQL | src/main/resources/dbmigrate/mysql/data_dict/V1_6_0_1__data.sql | kll5h/ShinetechOA | 3d1d776b798327fbcb4584c21cd1d40cc298ec4e | [
"Apache-2.0"
] | 2 | 2018-10-19T08:54:56.000Z | 2018-10-19T08:55:07.000Z | src/main/resources/dbmigrate/mysql/data_dict/V1_6_0_1__data.sql | tuguangquan/lemon | 1218ab7d65ce69cb6b2162b1fce28fdc5577d13e | [
"Apache-2.0"
] | 2 | 2022-01-21T23:50:21.000Z | 2022-03-31T21:05:21.000Z | src/main/resources/dbmigrate/mysql/data_dict/V1_6_0_1__data.sql | tuguangquan/lemon | 1218ab7d65ce69cb6b2162b1fce28fdc5577d13e | [
"Apache-2.0"
] | 2 | 2020-11-13T02:55:28.000Z | 2021-01-22T03:50:15.000Z |
UPDATE DICT_TYPE SET TENANT_ID='1';
UPDATE DICT_SCHEMA SET TENANT_ID='1';
UPDATE DICT_INFO SET TENANT_ID='1';
UPDATE DICT_DATA SET TENANT_ID='1';
| 19.5 | 38 | 0.730769 |
f8c0ef9c08855e0461959181375fa533129d4532 | 114 | sql | SQL | templates/init/pg_long.sql | erthalion/ansible-ycsb | 86916fbc4128629df77090b49819a9a4c4d15ea4 | [
"MIT"
] | 9 | 2017-12-23T15:26:12.000Z | 2020-05-21T15:48:43.000Z | templates/init/pg_long.sql | erthalion/ansible-ycsb | 86916fbc4128629df77090b49819a9a4c4d15ea4 | [
"MIT"
] | 1 | 2018-04-04T08:02:59.000Z | 2018-04-24T13:11:01.000Z | templates/init/pg_long.sql | erthalion/ansible-ycsb | 86916fbc4128629df77090b49819a9a4c4d15ea4 | [
"MIT"
] | 1 | 2017-11-18T11:47:05.000Z | 2017-11-18T11:47:05.000Z | \set id random(1, {{ recordcount }})
select * from (select * from test_short_long limit 100000) q
order by time;
| 22.8 | 60 | 0.710526 |
63c16c3847ffb0dfea4b44dacbe59ddcbf6d25eb | 899 | sql | SQL | sp_GetSectionFromTable.sql | ImClarky/sqlsrv-pagination | c370475bfcb07eb7ab2fd59ca4b6fb512ad57af2 | [
"MIT"
] | 2 | 2016-02-26T16:50:19.000Z | 2018-06-13T13:11:56.000Z | sp_GetSectionFromTable.sql | ImClarky/sqlsrv-pagination | c370475bfcb07eb7ab2fd59ca4b6fb512ad57af2 | [
"MIT"
] | null | null | null | sp_GetSectionFromTable.sql | ImClarky/sqlsrv-pagination | c370475bfcb07eb7ab2fd59ca4b6fb512ad57af2 | [
"MIT"
] | null | null | null | -- Execute this script in your SQL Server to create the Stored Procedure
-- Change the parameter type values to your needs i.e. @schema nvarchar(15) -> nvarchar(30)
-- The values currently are just placeholders deemed large enough
CREATE PROCEDURE [dbo].[GetSectionFromTable]
@schema nvarchar(15),
@table nvarchar(10... | 29 | 185 | 0.642937 |
b0d1b5d63fa2f690c92c3c3af0b7842446eee9e5 | 172 | rs | Rust | src/lib.rs | snf/z3-sys | 8387e939c602e545b8c3877d44596264dfb758e3 | [
"MIT"
] | 3 | 2015-12-23T07:16:34.000Z | 2016-05-14T10:36:49.000Z | src/lib.rs | snf/z3-sys | 8387e939c602e545b8c3877d44596264dfb758e3 | [
"MIT"
] | null | null | null | src/lib.rs | snf/z3-sys | 8387e939c602e545b8c3877d44596264dfb758e3 | [
"MIT"
] | 1 | 2019-03-05T02:54:24.000Z | 2019-03-05T02:54:24.000Z | #![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(non_upper_case_globals)]
extern crate libc;
type __builtin_va_list = libc::c_void;
include!("ffi.rs");
| 19.111111 | 38 | 0.75 |
0fe0d7c0b8fedf3fc61d0fa53184fa229f320317 | 8,611 | swift | Swift | Shared/Schrodinger RK4.swift | MMalaker57/Homework-4 | 10f5e7c7248fc49022de7a65ea55f060a17a5594 | [
"MIT"
] | null | null | null | Shared/Schrodinger RK4.swift | MMalaker57/Homework-4 | 10f5e7c7248fc49022de7a65ea55f060a17a5594 | [
"MIT"
] | null | null | null | Shared/Schrodinger RK4.swift | MMalaker57/Homework-4 | 10f5e7c7248fc49022de7a65ea55f060a17a5594 | [
"MIT"
] | null | null | null | //
// Schrodinger RK4.swift
// Test Plot Threaded
//
// Created by Matthew Malaker on 2/25/22.
//
import Foundation
import SwiftUI
import CorePlot
class Schrodinger: NSObject, ObservableObject {
var potential = Potential()
// var potentialV: (onedArray: [Double], xArray: [Double], yArray: [Double]) = ([]... | 32.011152 | 158 | 0.503194 |
cbd9471e837598434faa18da15de96aac0585948 | 9,813 | go | Go | recordwants.go | brotherlogic/recordwants | 8a8f9e0a9e6db01b093b68edf6bbb87d8611ffff | [
"Apache-2.0"
] | null | null | null | recordwants.go | brotherlogic/recordwants | 8a8f9e0a9e6db01b093b68edf6bbb87d8611ffff | [
"Apache-2.0"
] | 2,481 | 2018-01-27T02:47:29.000Z | 2022-02-23T20:34:23.000Z | recordwants.go | brotherlogic/recordwants | 8a8f9e0a9e6db01b093b68edf6bbb87d8611ffff | [
"Apache-2.0"
] | 2 | 2018-10-21T02:49:31.000Z | 2018-10-21T04:09:16.000Z | package main
import (
"flag"
"fmt"
"io/ioutil"
"log"
"time"
"github.com/brotherlogic/goserver"
"github.com/brotherlogic/goserver/utils"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
"golang.org/x/net/context"
"google.golang.org/grpc"
"google.gol... | 24.780303 | 177 | 0.695914 |
3a28b6ca70dbc7bdff5d55ac91c023f394d0de33 | 274 | dart | Dart | lib/screens/widgets/action_button/action_button.dart | bhavinpatolia3/Flutter-Finance-App | d22477dfb267f8fbc47c2f4192f6126d7d9a9f33 | [
"MIT"
] | 1 | 2019-08-05T20:36:20.000Z | 2019-08-05T20:36:20.000Z | lib/screens/widgets/action_button/action_button.dart | bhavinpatolia3/Flutter-Finance-App | d22477dfb267f8fbc47c2f4192f6126d7d9a9f33 | [
"MIT"
] | null | null | null | lib/screens/widgets/action_button/action_button.dart | bhavinpatolia3/Flutter-Finance-App | d22477dfb267f8fbc47c2f4192f6126d7d9a9f33 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
class ActionButton extends StatelessWidget {
Widget build(BuildContext context) {
return IconButton(
icon: Icon(
Icons.sort,
textDirection: TextDirection.rtl,
),
onPressed: () {},
);
}
}
| 19.571429 | 44 | 0.627737 |
2f2abdf9ba99134d7c277a4590b2aee1981c4b20 | 3,255 | php | PHP | app/Http/Controllers/GoogleController.php | namdhgc/crawl-data-amazon | 0090a45531a791358347497ff73722ed320c0752 | [
"MIT"
] | null | null | null | app/Http/Controllers/GoogleController.php | namdhgc/crawl-data-amazon | 0090a45531a791358347497ff73722ed320c0752 | [
"MIT"
] | null | null | null | app/Http/Controllers/GoogleController.php | namdhgc/crawl-data-amazon | 0090a45531a791358347497ff73722ed320c0752 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use \Illuminate\Session\Middleware\StartSession;
use App\Http\Models\Customer as ModelCustomer;
use Spr\Base\Response\Response;
use Illuminate\Http\Request;
use Auth;
use Lang;
use Url;
use Hash;
class GoogleController extends Controller
{
public function loginWithGoogle(Re... | 30.420561 | 112 | 0.482335 |
2f25c6c1d09de30c5780c738519190bdad4d528a | 6,008 | php | PHP | application/components/classes/database.php | olijen/massmail | f58bb9e944aa795c418844aa124568c889df806e | [
"Apache-2.0"
] | null | null | null | application/components/classes/database.php | olijen/massmail | f58bb9e944aa795c418844aa124568c889df806e | [
"Apache-2.0"
] | null | null | null | application/components/classes/database.php | olijen/massmail | f58bb9e944aa795c418844aa124568c889df806e | [
"Apache-2.0"
] | null | null | null | <?php
class DataBase {
private static $db = null; // Единственный экземпляр класса, чтобы не создавать множество подключений
private $mysqli; // Идентификатор соединения
private $sym_query = "{?}"; // "Символ значения в запросе"
public static $queryLog = false;
/* Получение эк... | 33.564246 | 147 | 0.544607 |
684aee3fb89a18a1f0ba6387a7a7a673ed390c7a | 7,917 | htm | HTML | docs/mpi-3.1/mpi31-report/node472.htm | wgropp/mpi-forum.github.io | 2675689c0401df7db37f7872a158781072cf2379 | [
"MIT"
] | null | null | null | docs/mpi-3.1/mpi31-report/node472.htm | wgropp/mpi-forum.github.io | 2675689c0401df7db37f7872a158781072cf2379 | [
"MIT"
] | null | null | null | docs/mpi-3.1/mpi31-report/node472.htm | wgropp/mpi-forum.github.io | 2675689c0401df7db37f7872a158781072cf2379 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang=en>
<head>
<!-- This file was generated by tohtml from appLang-CNames.tex -->
<!-- with the command
tohtml -default -basedef mpi3defs.txt -numbers -indexname myindex -dosnl -htables -quietlatex -allgif -endpage mpi3-forum-tail.htm -Wnoredef -o mpi31-report.tex mpi-report.tex
-->
<title... | 82.46875 | 261 | 0.724517 |
3b145f6afb4c7f2a80e30b1f7328ab74b479f2ac | 3,959 | h | C | Source/Lib/C_DEFAULT/EbPictureOperators_C.h | bhavnahariMCW/SVT-HEVC | a81089ff6f5ea1dade035aff9de04d281b7e6867 | [
"BSD-2-Clause-Patent"
] | 1 | 2018-11-03T10:13:09.000Z | 2018-11-03T10:13:09.000Z | Source/Lib/C_DEFAULT/EbPictureOperators_C.h | bhavnahariMCW/SVT-HEVC | a81089ff6f5ea1dade035aff9de04d281b7e6867 | [
"BSD-2-Clause-Patent"
] | null | null | null | Source/Lib/C_DEFAULT/EbPictureOperators_C.h | bhavnahariMCW/SVT-HEVC | a81089ff6f5ea1dade035aff9de04d281b7e6867 | [
"BSD-2-Clause-Patent"
] | null | null | null | /*
* Copyright(c) 2018 Intel Corporation
* SPDX - License - Identifier: BSD - 2 - Clause - Patent
*/
#ifndef EbPictureOperators_C_h
#define EbPictureOperators_C_h
#include "EbTypes.h"
#ifdef __cplusplus
extern "C" {
#endif
void PictureAverageKernel(
EB_BYTE src0,
EB_U32 ... | 24.899371 | 56 | 0.569336 |
3d616faf9077f322a597bc52ea320a4b4d6376b2 | 2,503 | swift | Swift | GoodWall/GoodWall/Model/Experience/ExperienceComment.swift | KeithGapusan/MVVMSearchController | 68ec6841387ab7a71d1cd69610e5d13ab86d75e2 | [
"MIT"
] | null | null | null | GoodWall/GoodWall/Model/Experience/ExperienceComment.swift | KeithGapusan/MVVMSearchController | 68ec6841387ab7a71d1cd69610e5d13ab86d75e2 | [
"MIT"
] | null | null | null | GoodWall/GoodWall/Model/Experience/ExperienceComment.swift | KeithGapusan/MVVMSearchController | 68ec6841387ab7a71d1cd69610e5d13ab86d75e2 | [
"MIT"
] | null | null | null | //
// ExperienceComment.swift
// Model Generated using keith model generator/
// Created on August 10, 2018
import Foundation
class ExperienceComment : NSObject, NSCoding{
var authorId : Int!
var body : String!
var created : String!
var id : Int!
var modified : String!
/**
* Insta... | 28.123596 | 183 | 0.574511 |
3bf51abf15d4324b080f6f2694fe9be0b6ca2b24 | 3,059 | h | C | third_party/parallel-inet/src/applications/httptools/HttpBrowserDirect.h | eniac/MimicNet | c0790679f8c220c75c33ace67e2735816aac6815 | [
"MIT"
] | 15 | 2021-08-20T08:10:01.000Z | 2022-03-24T21:24:50.000Z | third_party/parallel-inet/src/applications/httptools/HttpBrowserDirect.h | eniac/MimicNet | c0790679f8c220c75c33ace67e2735816aac6815 | [
"MIT"
] | 1 | 2022-03-30T09:03:39.000Z | 2022-03-30T09:03:39.000Z | third_party/parallel-inet/src/applications/httptools/HttpBrowserDirect.h | eniac/MimicNet | c0790679f8c220c75c33ace67e2735816aac6815 | [
"MIT"
] | 3 | 2021-08-20T08:10:34.000Z | 2021-12-02T06:15:02.000Z | // ***************************************************************************
//
// HttpTools Project
//
// This file is a part of the HttpTools project. The project was created at
// Reykjavik University, the Laboratory for Dependable Secure Systems (LDSS).
// Its purpose is to create a set of OMNeT++ components to s... | 35.569767 | 110 | 0.647597 |
6944b654bb4e8a3de2f01730914869d478cb4b39 | 77 | sql | SQL | fixtures/doctests/psql-ref/008/input.sql | SKalt/pg_sql_parser_tests | 1e22b4bf2ccecfe0544692e93a6e63113c9db054 | [
"BSD-3-Clause"
] | null | null | null | fixtures/doctests/psql-ref/008/input.sql | SKalt/pg_sql_parser_tests | 1e22b4bf2ccecfe0544692e93a6e63113c9db054 | [
"BSD-3-Clause"
] | null | null | null | fixtures/doctests/psql-ref/008/input.sql | SKalt/pg_sql_parser_tests | 1e22b4bf2ccecfe0544692e93a6e63113c9db054 | [
"BSD-3-Clause"
] | null | null | null | => SELECT 'hello' AS var1, 10 AS var2
-> \gset
=> \echo :var1 :var2
hello 10
| 15.4 | 37 | 0.623377 |
20533806312b0fb8552ee162e5fdcd821f4861f6 | 807 | kt | Kotlin | app/src/main/java/androidx/navigation/fragment/KeepAliveHostFragment.kt | lymons/NavigationUIDemo | 1fdfed0ceb9606aed40f7e5d93807bc1d209bfce | [
"Apache-2.0"
] | null | null | null | app/src/main/java/androidx/navigation/fragment/KeepAliveHostFragment.kt | lymons/NavigationUIDemo | 1fdfed0ceb9606aed40f7e5d93807bc1d209bfce | [
"Apache-2.0"
] | null | null | null | app/src/main/java/androidx/navigation/fragment/KeepAliveHostFragment.kt | lymons/NavigationUIDemo | 1fdfed0ceb9606aed40f7e5d93807bc1d209bfce | [
"Apache-2.0"
] | null | null | null | package androidx.navigation.fragment
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.navigation.Navigator
class KeepAliveHostFragment: NavHostFragment() {
@Navigator.Name("fragment")
private class InternalKeepAliveNavigator constructor(host: Fragment,
... | 38.428571 | 98 | 0.675341 |
1bee028fb728d905e25dd2462652e8eab448de2e | 5,699 | py | Python | Bio/KEGG/Compound/__init__.py | rwst/biopython | d8280b25e3fefdf7aebb7700a7080879a4146200 | [
"BSD-3-Clause"
] | 1 | 2019-08-05T02:52:42.000Z | 2019-08-05T02:52:42.000Z | Bio/KEGG/Compound/__init__.py | rwst/biopython | d8280b25e3fefdf7aebb7700a7080879a4146200 | [
"BSD-3-Clause"
] | null | null | null | Bio/KEGG/Compound/__init__.py | rwst/biopython | d8280b25e3fefdf7aebb7700a7080879a4146200 | [
"BSD-3-Clause"
] | 1 | 2019-04-12T20:52:12.000Z | 2019-04-12T20:52:12.000Z | # Copyright 2001 by Tarjei Mikkelsen. All rights reserved.
# Copyright 2007 by Michiel de Hoon. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.
"""Code to work with the KEGG Li... | 31.142077 | 70 | 0.511844 |
10c63fdf3b90c65c7a06fb0ceeea5d0e5d91be72 | 2,119 | sql | SQL | deployments/db/migrations/000001_create_schema.down.sql | gamaops/mono-sso | e4f806a850c08063c1f89784fb6cad5ece3d0daf | [
"Apache-2.0"
] | null | null | null | deployments/db/migrations/000001_create_schema.down.sql | gamaops/mono-sso | e4f806a850c08063c1f89784fb6cad5ece3d0daf | [
"Apache-2.0"
] | null | null | null | deployments/db/migrations/000001_create_schema.down.sql | gamaops/mono-sso | e4f806a850c08063c1f89784fb6cad5ece3d0daf | [
"Apache-2.0"
] | null | null | null | DROP SEQUENCE IF EXISTS sso.setup_admin;
ALTER TABLE sso.token DROP CONSTRAINT pk_sso_token;
ALTER TABLE sso.token DROP CONSTRAINT pk_sso_token_id;
ALTER TABLE sso.token DROP CONSTRAINT fk_sso_token_account_id;
ALTER TABLE sso.token DROP CONSTRAINT fk_sso_token_client_id;
ALTER TABLE sso.grant DROP CONSTRAINT pk_sso_... | 43.244898 | 89 | 0.858424 |
6b688e5ec552a6762a5bc483fca6f941db0f7539 | 515 | asm | Assembly | oeis/081/A081606.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/081/A081606.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/081/A081606.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A081606: Numbers having at least one 1 in their ternary representation.
; Submitted by Jamie Morken(s1)
; 1,3,4,5,7,9,10,11,12,13,14,15,16,17,19,21,22,23,25,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,55,57,58,59,61,63,64,65,66,67,68,69,70,71,73,75,76,77,79,81,82,83,84,85,86
mov ... | 30.294118 | 208 | 0.660194 |
c453cdde959da9211425fd87b2e7d351928551b9 | 3,395 | h | C | ugene/src/corelibs/U2Core/src/globals/AppResources.h | iganna/lspec | c75cba3e4fa9a46abeecbf31b5d467827cf4fec0 | [
"MIT"
] | null | null | null | ugene/src/corelibs/U2Core/src/globals/AppResources.h | iganna/lspec | c75cba3e4fa9a46abeecbf31b5d467827cf4fec0 | [
"MIT"
] | null | null | null | ugene/src/corelibs/U2Core/src/globals/AppResources.h | iganna/lspec | c75cba3e4fa9a46abeecbf31b5d467827cf4fec0 | [
"MIT"
] | null | null | null | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2012 UniPro <ugene@unipro.ru>
* http://ugene.unipro.ru
*
* 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 Free Software Foundation; either version... | 29.521739 | 99 | 0.713991 |
86c5a6dbface8ed4c519a096c5af66bc808c364e | 2,284 | go | Go | client/payment_type/bank_reconciliation_payment_type_get_responses.go | bjerkio/go-tripletex | a4114481e1ddc5203ce42e260a72f71ec19025c8 | [
"Apache-2.0"
] | 1 | 2020-08-01T13:52:41.000Z | 2020-08-01T13:52:41.000Z | client/payment_type/bank_reconciliation_payment_type_get_responses.go | bjerkio/go-tripletex | a4114481e1ddc5203ce42e260a72f71ec19025c8 | [
"Apache-2.0"
] | 19 | 2020-06-22T11:40:00.000Z | 2021-11-11T16:41:23.000Z | client/payment_type/bank_reconciliation_payment_type_get_responses.go | bjerkio/go-tripletex | a4114481e1ddc5203ce42e260a72f71ec19025c8 | [
"Apache-2.0"
] | null | null | null | // Code generated by go-swagger; DO NOT EDIT.
package payment_type
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"fmt"
"io"
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/bjerkio/triplet... | 32.628571 | 167 | 0.79641 |