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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d6a6bc371d154e6eb6d52242bdb47540ae4c37c4 | 539 | swift | Swift | CashMashine/Internal/Input protocols/Accountable.swift | AnchorSmash/Cash-Machine-on-classes | 925f5f35343597c6d6890615a9ef77802e3e2e7c | [
"MIT"
] | null | null | null | CashMashine/Internal/Input protocols/Accountable.swift | AnchorSmash/Cash-Machine-on-classes | 925f5f35343597c6d6890615a9ef77802e3e2e7c | [
"MIT"
] | null | null | null | CashMashine/Internal/Input protocols/Accountable.swift | AnchorSmash/Cash-Machine-on-classes | 925f5f35343597c6d6890615a9ef77802e3e2e7c | [
"MIT"
] | null | null | null | //
// Taxable.swift
// CashMashine
//
// Created by Виктор Кулаков on 03/11/2018.
// Copyright © 2018 Виктор Кулаков. All rights reserved.
//
import Foundation
enum TaxType {
case fix
case share
}
enum FixType: Int {
case noType = 0
case cigaretts = 1
case alcohol = 2
}
protocol Taxable {
... | 17.966667 | 57 | 0.651206 |
bdfe019c1c016d45641d0b34839ed1fbdc34a30f | 77 | sql | SQL | src/test/resources/sql/select/f573bde9.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/f573bde9.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/f573bde9.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:regex.sql ln:46 expect:true
select regexp_matches('abb', '(?<=a)b*')
| 25.666667 | 40 | 0.662338 |
eb82aefca9050ff25fe853e410ad6b32bfe94cd0 | 740 | asm | Assembly | oeis/339/A339916.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/339/A339916.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/339/A339916.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A339916: The sum of 2^((d-1)/2) over all divisors of 2n+1.
; Submitted by Christian Krause
; 1,3,5,9,19,33,65,135,257,513,1035,2049,4101,8211,16385,32769,65571,131085,262145,524355,1048577,2097153,4194455,8388609,16777225,33554691,67108865,134217765,268435971,536870913,1073741825,2147484699,4294967365,8589934593,1717... | 37 | 497 | 0.783784 |
99259f5a64cde14c8fa1eceb9f0f5509d5b0ca1c | 3,569 | h | C | visualizer/src/TimeLineConfig.h | vnikolai/perf-o-meter | f60f8c87ba04f2dd5da431e2e0632781a33b44c7 | [
"MIT"
] | 2 | 2020-05-21T07:03:15.000Z | 2020-09-15T18:43:04.000Z | visualizer/src/TimeLineConfig.h | vnikolai/perf-o-meter | f60f8c87ba04f2dd5da431e2e0632781a33b44c7 | [
"MIT"
] | null | null | null | visualizer/src/TimeLineConfig.h | vnikolai/perf-o-meter | f60f8c87ba04f2dd5da431e2e0632781a33b44c7 | [
"MIT"
] | 1 | 2021-10-04T19:11:20.000Z | 2021-10-04T19:11:20.000Z | /* Copyright 2020-2021 Volodymyr Nikolaichuk
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | 49.569444 | 87 | 0.600448 |
76cc38e06854d9997606599f387ba1b4ca9a1349 | 441 | swift | Swift | Example/Services/Floor/FloorsService.swift | MarioIannotta/Nomosi | a66a370eb5309dc5fd629f03fe5f72c675898829 | [
"MIT"
] | 7 | 2018-10-28T21:18:07.000Z | 2022-01-17T06:36:41.000Z | Example/Services/Floor/FloorsService.swift | MarioIannotta/Nomosi | a66a370eb5309dc5fd629f03fe5f72c675898829 | [
"MIT"
] | null | null | null | Example/Services/Floor/FloorsService.swift | MarioIannotta/Nomosi | a66a370eb5309dc5fd629f03fe5f72c675898829 | [
"MIT"
] | 2 | 2021-05-12T23:38:33.000Z | 2022-01-13T11:31:02.000Z | //
// FloorsService.swift
// Nomosi_Example
//
// Created by Mario on 12/10/2018.
// Copyright © 2018 Mario Iannotta. All rights reserved.
//
import Foundation
import Nomosi
// This service has not deployed yet, we'll use a mock for now
class FloorsService: HarvardArtMuseumService<[Floor]> {
init() {
... | 19.173913 | 62 | 0.680272 |
ea3cf147c5e0c3a8fa76818e3d90810215b44445 | 905 | swift | Swift | Interview/Interview/String/reverseString.swift | jackfrow/algorithm | fe57530f8c093c71ee4e132d6d8b843b6d9cc70f | [
"MIT"
] | null | null | null | Interview/Interview/String/reverseString.swift | jackfrow/algorithm | fe57530f8c093c71ee4e132d6d8b843b6d9cc70f | [
"MIT"
] | null | null | null | Interview/Interview/String/reverseString.swift | jackfrow/algorithm | fe57530f8c093c71ee4e132d6d8b843b6d9cc70f | [
"MIT"
] | null | null | null | //
// reverseString.swift
// Interview
//
// Created by jackfrow on 2019/5/30.
// Copyright © 2019 jackfrow. All rights reserved.
//
import Foundation
//给出一个字符串,要求将其按照单词顺序进行反转
fileprivate func reverse<T>(_ chars: inout [T] ,_ start : Int, _ end : Int) {
var start = start, end = end
while start < end... | 20.568182 | 78 | 0.528177 |
70e210cef7a329e966f3da84d95d60abd07d79c1 | 962 | go | Go | types/index/Index.go | drdreyworld/ddb | 2665337ea02e5751b07178e07bd626e43e7a292f | [
"MIT"
] | null | null | null | types/index/Index.go | drdreyworld/ddb | 2665337ea02e5751b07178e07bd626e43e7a292f | [
"MIT"
] | null | null | null | types/index/Index.go | drdreyworld/ddb | 2665337ea02e5751b07178e07bd626e43e7a292f | [
"MIT"
] | null | null | null | package index
import (
"ddb/types"
"ddb/types/storage"
"ddb/types/query"
"ddb/types/key"
"ddb/types/config"
)
type Index interface {
Init()
SetTableName(table string)
GetTableName() string
GetName() string
SetName(name string)
GenerateName(prefix string)
IsTemporary() bool
SetTemporaryFlag(flag bool)... | 18.5 | 143 | 0.725572 |
d8f29bb1ea809a49e904938022e46c48bb5c0908 | 505 | sql | SQL | openGaussBase/testcase/KEYWORDS/release/Opengauss_Function_Keyword_Release_Case0023.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/release/Opengauss_Function_Keyword_Release_Case0023.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/release/Opengauss_Function_Keyword_Release_Case0023.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint: opengauss关键字release非保留),作为索引名,部分测试点合理报错
--前置条件,创建一个表
drop table if exists release_test;
create table release_test(id int,name varchar(10));
--关键字不带引号-成功
drop index if exists release;
create index release on release_test(id);
drop index release;
--关键字带双引号-成功
drop index if exists "release";
create index... | 21.956522 | 54 | 0.770297 |
f512f1d180b31f6f916ac4819dacde0974f0030a | 1,525 | swift | Swift | Tests/Mapping/DocumentSnapshot_Spec.swift | iDonJose/FireStore | 65799bf9185366e9437ab8dd7c5e13a251c193be | [
"Apache-2.0"
] | 5 | 2019-02-03T16:15:46.000Z | 2021-06-03T18:40:51.000Z | Tests/Mapping/DocumentSnapshot_Spec.swift | iDonJose/FireStore | 65799bf9185366e9437ab8dd7c5e13a251c193be | [
"Apache-2.0"
] | null | null | null | Tests/Mapping/DocumentSnapshot_Spec.swift | iDonJose/FireStore | 65799bf9185366e9437ab8dd7c5e13a251c193be | [
"Apache-2.0"
] | 4 | 2019-02-04T04:47:29.000Z | 2020-08-03T07:53:45.000Z | //
// DocumentSnapshot_Spec.swift
// FireStore-Tests-iOS
//
// Created by José Donor on 02/02/2019.
//
// swiftlint:disable force_try
import FirebaseFirestore
@testable import FireStore
import Nimble
import Quick
class DocumentSnapshot_Spec: QuickSpec {
override func spec() {
AsyncDefaults.Timeout = 3
va... | 17.528736 | 63 | 0.58623 |
8bf0929ab98195ce66e12a2087d75df2337f1e7b | 5,860 | sql | SQL | hestabook_sameer/hestabook_sameer.sql | Sameer8409/hestabook_sameer | ee595af834f1769a38bb90d7f612b223995c38d2 | [
"Apache-2.0"
] | null | null | null | hestabook_sameer/hestabook_sameer.sql | Sameer8409/hestabook_sameer | ee595af834f1769a38bb90d7f612b223995c38d2 | [
"Apache-2.0"
] | null | null | null | hestabook_sameer/hestabook_sameer.sql | Sameer8409/hestabook_sameer | ee595af834f1769a38bb90d7f612b223995c38d2 | [
"Apache-2.0"
] | null | null | null | -- Adminer 4.6.1 MySQL dump
SET NAMES utf8;
SET time_zone = '+00:00';
SET foreign_key_checks = 0;
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
USE `hestabook_sameer`;
DROP TABLE IF EXISTS `feed`;
CREATE TABLE `feed` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`post_id` int(10) NOT NULL,
`email` varchar(30) NOT NULL,
... | 47.642276 | 154 | 0.637031 |
d1cf33783b53db53530c3c576d3161436f7d8292 | 771 | asm | Assembly | oeis/177/A177728.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/177/A177728.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/177/A177728.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A177728: Expansion of (1 + 14*x) / ((1 - x)*(1 - 2*x)*(1 - 4*x)*(1 - 8*x)*(1 - 16*x)).
; Submitted by Christian Krause
; 1,45,1085,20925,366141,6120765,100080445,1618667325,26038501181,417737748285,6692790374205,107156587499325,1715081133346621,27445904805580605,439171333486530365,7027036201446788925,1124349381999856... | 48.1875 | 486 | 0.780804 |
2d79248f58298c46fe0de10d3dc8befdde62e06c | 27 | sql | SQL | migrations/post/000001_create_posts_table.down.sql | Andylixunan/blog-microservices | 2743dfd84b809a399848c43f51c33ff18e37825f | [
"MIT"
] | 83 | 2021-12-24T11:02:37.000Z | 2022-03-26T15:00:40.000Z | migrations/post/000001_create_posts_table.down.sql | Andylixunan/blog-microservices | 2743dfd84b809a399848c43f51c33ff18e37825f | [
"MIT"
] | 5 | 2021-12-29T06:09:42.000Z | 2022-03-24T06:26:08.000Z | migrations/post/000001_create_posts_table.down.sql | Andylixunan/blog-microservices | 2743dfd84b809a399848c43f51c33ff18e37825f | [
"MIT"
] | 19 | 2021-12-27T05:25:45.000Z | 2022-03-04T17:00:08.000Z | drop table if exists posts; | 27 | 27 | 0.814815 |
41187f2d8369b03c2702d0e38aa1fc895e21b589 | 2,322 | h | C | monty.h | ralexrivero/monty | f1b2dfef4e8ff4b0ef9a74f4cf9c05281a19623e | [
"Apache-2.0"
] | 1 | 2021-09-19T04:09:42.000Z | 2021-09-19T04:09:42.000Z | monty.h | ralexrivero/monty | f1b2dfef4e8ff4b0ef9a74f4cf9c05281a19623e | [
"Apache-2.0"
] | null | null | null | monty.h | ralexrivero/monty | f1b2dfef4e8ff4b0ef9a74f4cf9c05281a19623e | [
"Apache-2.0"
] | 2 | 2022-01-04T03:49:13.000Z | 2022-01-13T18:25:01.000Z | #ifndef MONTY_H
#define MONTY_H
#define _POSIX_C_SOURCE 200809L
/* libraries */
#include <stdio.h>
#include <stdlib.h> /* exit status */
#include <unistd.h>
#include <string.h>
#include <stdbool.h>
#define DELIM "\t\n "
/**
* struct stack_s - doubly linked list representation of a stack (or queue)
* @n: integer
*... | 28.317073 | 78 | 0.735142 |
bb88717815a62f589b2e21254780a0557b8c0ad6 | 1,309 | kt | Kotlin | app/src/main/java/com/maproductions/mohamedalaa/shoestore/view_model/WelcomeViewModel.kt | MohamedAlaaEldin636/shoe-shop | 2acf61e44be6be68c54b739f5b7bdff1e02250b2 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/maproductions/mohamedalaa/shoestore/view_model/WelcomeViewModel.kt | MohamedAlaaEldin636/shoe-shop | 2acf61e44be6be68c54b739f5b7bdff1e02250b2 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/maproductions/mohamedalaa/shoestore/view_model/WelcomeViewModel.kt | MohamedAlaaEldin636/shoe-shop | 2acf61e44be6be68c54b739f5b7bdff1e02250b2 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019 Mohamed Alaa
*
* 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 agree... | 37.4 | 105 | 0.797555 |
dd259c9561243a7c6959b6c7204b99636a079928 | 720 | go | Go | user-service/server/router.go | kaatinga/blazewall | 5d0a3c6e46aa802346d02ecd36bbd0a5676a7b88 | [
"Apache-2.0"
] | 12 | 2019-10-16T16:22:25.000Z | 2022-01-15T17:54:02.000Z | user-service/server/router.go | kaatinga/blazewall | 5d0a3c6e46aa802346d02ecd36bbd0a5676a7b88 | [
"Apache-2.0"
] | 1 | 2019-10-17T10:14:10.000Z | 2019-10-17T10:14:10.000Z | user-service/server/router.go | kaatinga/blazewall | 5d0a3c6e46aa802346d02ecd36bbd0a5676a7b88 | [
"Apache-2.0"
] | 3 | 2020-01-25T22:57:04.000Z | 2021-11-09T00:37:12.000Z | package server
import (
"github.com/gin-gonic/gin"
"github.com/maximthomas/blazewall/user-service/controllers"
)
func SetupRouter() *gin.Engine {
uc := controllers.GetUserController()
return SetupRouterWithController(uc)
}
func SetupRouterWithController(uc controllers.UserController) *gin.Engine {
router := g... | 23.225806 | 75 | 0.701389 |
b99f7fe8bcb5fc3e602294ab72225b03dc730a17 | 813 | c | C | change_char.c | alinegrance/c_projects | 98be5d8c41fb6e7a8622403f9496ee0d9ef98079 | [
"MIT"
] | null | null | null | change_char.c | alinegrance/c_projects | 98be5d8c41fb6e7a8622403f9496ee0d9ef98079 | [
"MIT"
] | null | null | null | change_char.c | alinegrance/c_projects | 98be5d8c41fb6e7a8622403f9496ee0d9ef98079 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <string.h>
int main() {
FILE* file;
char old, new, cursor;
int replaced_char = 0;
file = fopen("texto_original.txt", "r+");
if(file == NULL) {
printf("error.\n");
return -1;
} else {
//printf("Success.\n");
printf("char to be rep... | 23.228571 | 67 | 0.460025 |
2469e4b7ef9fe573084f6470c67a3bf66178a548 | 7,026 | swift | Swift | Sources/CombineBonjour/NWBrowserPublisher.swift | luizmb/CombineBonjour | aea5bb76036549620a0d91a4a066ab2fcf8bd03d | [
"MIT"
] | null | null | null | Sources/CombineBonjour/NWBrowserPublisher.swift | luizmb/CombineBonjour | aea5bb76036549620a0d91a4a066ab2fcf8bd03d | [
"MIT"
] | null | null | null | Sources/CombineBonjour/NWBrowserPublisher.swift | luizmb/CombineBonjour | aea5bb76036549620a0d91a4a066ab2fcf8bd03d | [
"MIT"
] | null | null | null | //
// NetworkServiceBrowser.swift
// CombineBonjour
//
// Created by Thomas Mellenthin on 08.04.21.
// Copyright © 2020 Lautsprecher Teufel GmbH. All rights reserved.
//
import Network
import Combine
import Foundation
import NetworkExtensions
extension NWBrowser {
public var publisher: NWBrowserPublisher {
... | 34.782178 | 142 | 0.583974 |
500886cc2503a6fb73c2116de9c0a072e2dc67b6 | 422 | asm | Assembly | oeis/299/A299920.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/299/A299920.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/299/A299920.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A299920: Motzkin numbers (A001006) mod 6.
; Submitted by Christian Krause
; 1,1,2,4,3,3,3,1,5,1,4,2,1,3,0,0,3,3,0,0,3,3,3,3,3,1,2,4,1,5,1,3,3,3,4,2,1,1,5,1,3,3,0,0,3,3,0,0,3,3,0,0,3,3,3,3,3,3,0,0,3,3,0,0,3,3,0,0,3,3,3,3,3,3,0,0,3,3,0,4,5,1,4,2,1,3,3,3,1,5,4,4,5,1,3,3,3,3,0,0
seq $0,1006 ; Motzkin numbers: number of ... | 60.285714 | 201 | 0.635071 |
9d3b15372238d6ce5692e060b756cb5239163fb9 | 201 | html | HTML | client/src/app/app.component.html | ErwanLT/eweatherApp | 5a89160e8d290cc781f86c90cf7635afaa5f5cbd | [
"MIT"
] | null | null | null | client/src/app/app.component.html | ErwanLT/eweatherApp | 5a89160e8d290cc781f86c90cf7635afaa5f5cbd | [
"MIT"
] | 3 | 2019-12-19T12:23:23.000Z | 2021-04-26T19:12:17.000Z | client/src/app/app.component.html | ErwanLT/eweatherApp | 5a89160e8d290cc781f86c90cf7635afaa5f5cbd | [
"MIT"
] | 1 | 2019-05-23T06:27:06.000Z | 2019-05-23T06:27:06.000Z | <app-form (forecast)="setForecast($event)"></app-form>
<div *ngIf="display" class="container">
<app-forecast *ngIf="forecast" [forecast]="forecast"></app-forecast>
</div>
<app-footer></app-footer>
| 25.125 | 70 | 0.681592 |
36126ddbd3eb3e0f31aab104012b4cb58d323124 | 568 | swift | Swift | FutureProofing/CoreData/NSPersistentStoreCoordinator.swift | Thomvis/FutureProofing | 2d5c240dac1c71a6e4bca71834cf8448a6ea2e73 | [
"MIT"
] | 38 | 2015-01-23T01:12:42.000Z | 2021-06-03T18:54:41.000Z | FutureProofing/CoreData/NSPersistentStoreCoordinator.swift | Thomvis/FutureProofing | 2d5c240dac1c71a6e4bca71834cf8448a6ea2e73 | [
"MIT"
] | 8 | 2015-08-30T13:56:04.000Z | 2021-07-12T22:19:34.000Z | FutureProofing/CoreData/NSPersistentStoreCoordinator.swift | Thomvis/FutureProofing | 2d5c240dac1c71a6e4bca71834cf8448a6ea2e73 | [
"MIT"
] | 9 | 2015-08-30T10:16:28.000Z | 2019-06-06T20:00:46.000Z | //
// NSPersistentStoreCoordinator.swift
// FutureProofing
//
// Created by phimage on 29/09/16.
// Copyright © 2016 Thomas Visser. All rights reserved.
//
import CoreData
import BrightFutures
@available(iOS 10.0, *)
@available(OSX 10.12, *)
@available(tvOS 10.0, *)
extension NSPersistentStoreCoordinator {
... | 25.818182 | 137 | 0.744718 |
ae8ee8d9dd3669bc303c4c0be47f927971cfb2f4 | 3,896 | swift | Swift | PyrobaseTests/PlistReaderTest.swift | CenoX/pyrobase | 6778e5dd88bc6dbe7389a36ec820966d8d3a8319 | [
"MIT"
] | null | null | null | PyrobaseTests/PlistReaderTest.swift | CenoX/pyrobase | 6778e5dd88bc6dbe7389a36ec820966d8d3a8319 | [
"MIT"
] | null | null | null | PyrobaseTests/PlistReaderTest.swift | CenoX/pyrobase | 6778e5dd88bc6dbe7389a36ec820966d8d3a8319 | [
"MIT"
] | null | null | null | //
// PlistReaderTest.swift
// Pyrobase
//
// Created by Mounir Ybanez on 09/06/2017.
// Copyright © 2017 Ner. All rights reserved.
//
import XCTest
@testable import Pyrobase
class PlistReaderTest: XCTestCase {
func testInitWithErrorNotFound() {
let resource = PlistReaderResourceMock()
le... | 31.934426 | 134 | 0.600873 |
3906249b3cadfc79e14766af06e4ca2c99eb7206 | 751 | kt | Kotlin | kotlin/src/main/java/com/samelody/samples/kotlin/algorithms/quicksortInts.kt | belinwu/android-samples | dce2b98cb031df6bbf04cfc576541a2d96134b5d | [
"Apache-2.0"
] | 1 | 2020-04-18T15:28:55.000Z | 2020-04-18T15:28:55.000Z | kotlin/src/main/java/com/samelody/samples/kotlin/algorithms/quicksortInts.kt | belinwu/android-samples | dce2b98cb031df6bbf04cfc576541a2d96134b5d | [
"Apache-2.0"
] | null | null | null | kotlin/src/main/java/com/samelody/samples/kotlin/algorithms/quicksortInts.kt | belinwu/android-samples | dce2b98cb031df6bbf04cfc576541a2d96134b5d | [
"Apache-2.0"
] | null | null | null | package com.samelody.samples.kotlin.algorithms
import com.samelody.samples.kotlin.swapAt
fun IntArray.partition(low: Int, high: Int): Int {
val pivot = this[low]
var i = low - 1
var j = high + 1
while (true) {
do { j -= 1 } while (this[j] > pivot)
do { i += 1 } while (this[i] < pivot)
... | 25.896552 | 69 | 0.57257 |
70ffb5613dde6b37f502285264d93e40cdb16fe6 | 3,949 | go | Go | api/dispatch_api.go | zpsean/go4api | 4a878a609d184d335a7879b1603a99f4d0dbfbd0 | [
"MIT"
] | 54 | 2018-08-06T08:45:28.000Z | 2021-11-16T03:36:42.000Z | api/dispatch_api.go | zpsean/go4api | 4a878a609d184d335a7879b1603a99f4d0dbfbd0 | [
"MIT"
] | 1 | 2018-09-11T16:39:46.000Z | 2020-08-31T06:47:59.000Z | api/dispatch_api.go | zpsean/go4api | 4a878a609d184d335a7879b1603a99f4d0dbfbd0 | [
"MIT"
] | 8 | 2019-01-10T02:59:38.000Z | 2021-07-07T18:55:14.000Z | /*
* go4api - an api testing tool written in Go
* Created by: Ping Zhu 2018
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*/
package api
import (
// "fmt"
"ti... | 30.851563 | 141 | 0.666751 |
a1de32b7a2aa5d618c7a778d6c81ec501f7f8aa9 | 1,210 | h | C | wfouttoexcelApp.h | mikewolfli/wfouttoexcel | 6818774639b464f16c3e402af9c9f06634402957 | [
"Unlicense"
] | null | null | null | wfouttoexcelApp.h | mikewolfli/wfouttoexcel | 6818774639b464f16c3e402af9c9f06634402957 | [
"Unlicense"
] | null | null | null | wfouttoexcelApp.h | mikewolfli/wfouttoexcel | 6818774639b464f16c3e402af9c9f06634402957 | [
"Unlicense"
] | null | null | null | /***************************************************************
* Name: wfouttoexcelApp.h
* Purpose: Defines Application Class
* Author: ()
* Created: 2014-03-27
* Copyright: ()
* License:
**************************************************************/
#ifndef WFOUTTOEXCELAPP_H
#define WFOUTTOEXC... | 22.407407 | 74 | 0.618182 |
f042f18d33f05c333a291d256763c607089f137e | 214 | py | Python | answers/easy/single-number.py | kigawas/lintcode-python | c07177a9969abb3860c6c599fe1e4d8be9dd762e | [
"Apache-2.0"
] | 1 | 2017-11-01T15:00:02.000Z | 2017-11-01T15:00:02.000Z | answers/easy/single-number.py | kigawas/lintcode-python | c07177a9969abb3860c6c599fe1e4d8be9dd762e | [
"Apache-2.0"
] | null | null | null | answers/easy/single-number.py | kigawas/lintcode-python | c07177a9969abb3860c6c599fe1e4d8be9dd762e | [
"Apache-2.0"
] | null | null | null | class Solution:
"""
@param A : an integer array
@return : a integer
"""
def singleNumber(self, A):
# write your code here
return reduce(lambda x, y: x ^ y, A) if A != [] else 0
| 21.4 | 62 | 0.537383 |
1691beeba82299c2dc559f4deb2c813b7d24bbc1 | 558 | ts | TypeScript | packages/cs-core/src/utils/guid.ts | damylen/csnext | e9d7b720d2e2da1f0f4e697974aad08aaca9ceee | [
"MIT"
] | 1 | 2018-04-19T08:42:38.000Z | 2018-04-19T08:42:38.000Z | packages/cs-core/src/utils/guid.ts | damylen/csnext | e9d7b720d2e2da1f0f4e697974aad08aaca9ceee | [
"MIT"
] | 38 | 2017-11-01T07:28:43.000Z | 2020-04-16T19:00:21.000Z | packages/cs-core/src/utils/guid.ts | damylen/csnext | e9d7b720d2e2da1f0f4e697974aad08aaca9ceee | [
"MIT"
] | 5 | 2017-06-08T10:49:47.000Z | 2019-10-11T09:49:45.000Z | export function guidGenerator() {
const S4 = () => {
// tslint:disable-next-line:no-bitwise
return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
};
return (S4() + S4() + '-' + S4() + '-' + S4() + '-' + S4() + '-' + S4() + S4() + S4());
}
export function idGenerator() {
const S4 = () ... | 27.9 | 89 | 0.550179 |
fbaf996458bb33226e6cb72a6f375ca0ceb2fc54 | 801 | h | C | JuanFi-nodemcu/lan_definition.h | cargie/JuanFi | fbcf40bb14b144d80a68ba263726dc4f98537045 | [
"Apache-2.0"
] | 41 | 2021-08-09T13:22:29.000Z | 2022-03-21T19:18:10.000Z | JuanFi-nodemcu/lan_definition.h | cargie/JuanFi | fbcf40bb14b144d80a68ba263726dc4f98537045 | [
"Apache-2.0"
] | 99 | 2021-08-10T22:54:13.000Z | 2022-03-25T06:53:04.000Z | JuanFi-nodemcu/lan_definition.h | cargie/JuanFi | fbcf40bb14b144d80a68ba263726dc4f98537045 | [
"Apache-2.0"
] | 35 | 2021-08-22T14:09:27.000Z | 2022-03-31T13:45:51.000Z |
#ifndef defines_h
#define defines_h
#if !(ESP32)
#error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
#endif
#define DEBUG_ETHERNET_WEBSERVER_PORT Serial
// Debug Level from 0 to 4
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 3
#warning Use ESP32 architecture
#d... | 21.078947 | 100 | 0.751561 |
00d66a92291bb1fde556306a62af0a6f213ac953 | 14,410 | sql | SQL | data/db/scripts/create-db.sql | rvep/dev_backend | 384f689e9330dbedf3898b2fd0db6f0404ce3bfd | [
"MIT"
] | 6 | 2016-08-31T07:29:29.000Z | 2020-05-03T18:37:15.000Z | data/db/scripts/create-db.sql | jianngli/dev_backend | 384f689e9330dbedf3898b2fd0db6f0404ce3bfd | [
"MIT"
] | 2 | 2016-09-13T14:46:20.000Z | 2016-09-14T17:48:01.000Z | data/db/scripts/create-db.sql | jianngli/dev_backend | 384f689e9330dbedf3898b2fd0db6f0404ce3bfd | [
"MIT"
] | 4 | 2017-05-29T14:37:25.000Z | 2021-03-18T15:13:37.000Z | /*
*
* This is the mysql db create script.
* Warning this script will drop the entire database.
* Run using...
*
* $ mysql -u username -p < create-db.sql
*
* Warning: this will drop the existing database
*
*/
-- -----------------------------------------------------
-- Schema rvep
-- --------------------... | 50.209059 | 152 | 0.795975 |
7213a73d55725028a70327d987ec8d95529be38c | 14,426 | asm | Assembly | Library/Mailbox/Admin/adminCode.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Library/Mailbox/Admin/adminCode.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Library/Mailbox/Admin/adminCode.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1994 -- All Rights Reserved
PROJECT:
MODULE:
FILE: adminCode.asm
AUTHOR: Adam de Boor, May 9, 1994
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Descripti... | 23.418831 | 79 | 0.498198 |
6d54042fd72cf9e3dd6f3f4437b577753009fe10 | 3,128 | swift | Swift | Sources/LithoOperators/Classes/KeyPaths.swift | LithoByte/LithoOperators | 518f40dd4c8e347b416bbe8faa96114f9eb09a3b | [
"MIT"
] | null | null | null | Sources/LithoOperators/Classes/KeyPaths.swift | LithoByte/LithoOperators | 518f40dd4c8e347b416bbe8faa96114f9eb09a3b | [
"MIT"
] | 1 | 2021-12-30T18:50:57.000Z | 2021-12-30T18:51:13.000Z | Sources/LithoOperators/Classes/KeyPaths.swift | LithoByte/LithoOperators | 518f40dd4c8e347b416bbe8faa96114f9eb09a3b | [
"MIT"
] | 1 | 2021-06-23T15:45:29.000Z | 2021-06-23T15:45:29.000Z | //
// KeyPaths.swift
// LithoOperators
//
// Created by Elliot Schrock on 6/23/21.
//
import Foundation
/**
An operator to create a function that, given a keypath for a type, will a function that will accept
an object of that type and return the object's property's value. So for instance,
`^\UIViewController.vi... | 22.028169 | 100 | 0.586317 |
489fee341d57ca675f00724226ea8a7de8c2cdcb | 2,267 | swift | Swift | iosApp/iosApp/Views/PlaybackProgressView.swift | lazy-engineer/Castaway | 5679f5b70566b430a99af70a88a1e1b66736ef4a | [
"MIT"
] | 4 | 2020-12-28T18:51:58.000Z | 2022-01-26T11:58:44.000Z | iosApp/iosApp/Views/PlaybackProgressView.swift | lazy-engineer/Castaway | 5679f5b70566b430a99af70a88a1e1b66736ef4a | [
"MIT"
] | null | null | null | iosApp/iosApp/Views/PlaybackProgressView.swift | lazy-engineer/Castaway | 5679f5b70566b430a99af70a88a1e1b66736ef4a | [
"MIT"
] | null | null | null | import SwiftUI
struct PlaybackProgressView: View {
@EnvironmentObject var theme: ThemeNeumorphism
let playbackProgress: CGFloat
let offsetPadding: CGFloat
public init(
playbackProgress: CGFloat,
offsetPadding: CGFloat = 0
) {
self.playbackProgress = playbackPr... | 39.086207 | 177 | 0.541685 |
40221c730b773017947d608f12781d45293947a9 | 8,324 | py | Python | tag2hierarchy/inference/training.py | cesarali/Tag2Hierarchy | 182bc948a1b4c497a991b12a29ff56023f98c05a | [
"MIT"
] | null | null | null | tag2hierarchy/inference/training.py | cesarali/Tag2Hierarchy | 182bc948a1b4c497a991b12a29ff56023f98c05a | [
"MIT"
] | 1 | 2017-06-13T13:08:12.000Z | 2017-06-13T13:08:12.000Z | tag2hierarchy/inference/training.py | cesarali/Tag2Hierarchy | 182bc948a1b4c497a991b12a29ff56023f98c05a | [
"MIT"
] | null | null | null | '''
Created on Mar 11, 2016
@author: cesar
'''
from tag2hierarchy.datatypes.hierarchies import Node
from tag2hierarchy.inference.tuplesStatistics import cooccuranceBlock,nodesInTuples
from tag2hierarchy.inference.tupleGenerator import generateNTuples
from tag2hierarchy.hierarchy.treeHandlers import nodeNames, setBran... | 39.827751 | 124 | 0.627102 |
f0294e1732618a69f9d971426940492f81d9c285 | 8,227 | js | JavaScript | db/seeds/08_strings.js | danylomaster/node-knex-swagger-northwind | 29033df8111746604aaf8faaf59a704f2a2a6e09 | [
"MIT"
] | null | null | null | db/seeds/08_strings.js | danylomaster/node-knex-swagger-northwind | 29033df8111746604aaf8faaf59a704f2a2a6e09 | [
"MIT"
] | null | null | null | db/seeds/08_strings.js | danylomaster/node-knex-swagger-northwind | 29033df8111746604aaf8faaf59a704f2a2a6e09 | [
"MIT"
] | null | null | null | exports.seed = function(knex, Promise) {
// Deletes ALL existing entries
return knex("strings")
.del()
.then(function() {
// Inserts seed entries
return knex("strings").insert([
{
string_id: 2,
string_data: "Northwind Traders"
},
{
string_id:... | 29.070671 | 129 | 0.511973 |
54213cd9cd4ad61273ad648a4fa6628b51f0ae89 | 1,953 | go | Go | http_server/http_server.go | DeAccountSystems/das-account-indexer | fe1450c4acd22278ab5bc78bce03b9720539abc6 | [
"MIT"
] | 10 | 2021-12-16T10:51:14.000Z | 2022-01-20T14:31:53.000Z | http_server/http_server.go | dotbitHQ/das-account-indexer | 8c25d90b88ec6287a15f9bb8942a4712fc9fa389 | [
"MIT"
] | 2 | 2022-01-21T05:16:55.000Z | 2022-02-14T07:11:13.000Z | http_server/http_server.go | dotbitHQ/das-account-indexer | 8c25d90b88ec6287a15f9bb8942a4712fc9fa389 | [
"MIT"
] | 1 | 2022-03-15T03:19:29.000Z | 2022-03-15T03:19:29.000Z | package http_server
import (
"context"
"das-account-indexer/http_server/handle"
"github.com/gin-gonic/gin"
"github.com/scorpiotzh/mylog"
"net/http"
)
var (
log = mylog.NewLogger("http_server", mylog.LevelDebug)
)
type HttpServer struct {
Ctx context.Context
Address string
AddressIndexer st... | 20.134021 | 56 | 0.616999 |
85c205b281ec2d62a8476118ffc01160b5e76156 | 445 | c | C | lchen79_HW1/log2.c | lichen545/School-Projects | 41db9817d1395372ccb0e45e50364c4367caf4a2 | [
"MIT"
] | 1 | 2017-07-19T19:56:54.000Z | 2017-07-19T19:56:54.000Z | lchen79_HW1/log2.c | lichen545/School-Projects | 41db9817d1395372ccb0e45e50364c4367caf4a2 | [
"MIT"
] | null | null | null | lchen79_HW1/log2.c | lichen545/School-Projects | 41db9817d1395372ccb0e45e50364c4367caf4a2 | [
"MIT"
] | null | null | null | /*
CS 141
Liyuan Chen
lchen79
HW1:log2
v1.0
Returns the largest value of log(2) < n for any given n.
*/
#include <stdio.h>
#include <stdlib.h>
int log_2(int n) {
if (n<2)
return 0;
else
return log_2(n/2) + 1;
}
int main() {
int *input;
input = (int *) malloc(sizeof(int));
printf("Please input a non-negati... | 15.344828 | 84 | 0.631461 |
d0235ca06e1230dfd55c2f82ac4e70e9d0edd0a4 | 364 | rb | Ruby | app/interactors/beach_api_core/reward_create.rb | beachio/beach-api-core | 17555159991074f2fc2c06d1c196138e16888114 | [
"MIT"
] | 3 | 2018-06-15T07:57:56.000Z | 2020-01-20T12:11:29.000Z | app/interactors/beach_api_core/reward_create.rb | beachio/beach-api-core | 17555159991074f2fc2c06d1c196138e16888114 | [
"MIT"
] | 5 | 2020-02-24T20:23:45.000Z | 2020-08-18T14:24:07.000Z | app/interactors/beach_api_core/reward_create.rb | beachio/beach-api-core | 17555159991074f2fc2c06d1c196138e16888114 | [
"MIT"
] | null | null | null | class BeachApiCore::RewardCreate
include Interactor
def call
context.reward = BeachApiCore::Reward.new context.params
context.reward.reward_to = context.reward_to
if context.reward.save
context.status = :created
else
context.status = :bad_request
context.fail! message: context.rew... | 22.75 | 64 | 0.725275 |
557b986b4e64125f41ea5594e88750eff41cfc2d | 3,230 | sql | SQL | DQUEEN/extra/extras/archive_sqlcode/meta/dev_observation_final_script.sql | AEW0330/DataQualityCollaboration | a8b203ca13fcfb96ad478d0e1aec483091030bdc | [
"Apache-2.0"
] | null | null | null | DQUEEN/extra/extras/archive_sqlcode/meta/dev_observation_final_script.sql | AEW0330/DataQualityCollaboration | a8b203ca13fcfb96ad478d0e1aec483091030bdc | [
"Apache-2.0"
] | null | null | null | DQUEEN/extra/extras/archive_sqlcode/meta/dev_observation_final_script.sql | AEW0330/DataQualityCollaboration | a8b203ca13fcfb96ad478d0e1aec483091030bdc | [
"Apache-2.0"
] | 1 | 2020-01-07T04:03:43.000Z | 2020-01-07T04:03:43.000Z | --> step 1
select
'observation_emr' as tbnm
,o1.*
, case
when d1.death_dt is not null and (o1.meddate > d1.death_dt
or o1.MEDTIME > d1.death_dt or o1.FRMDT > d1.death_dt ) then 'Y'
else 'N'
end as Death_error
, case
when o1.meddate is not null and o1.meddate < p1.Btdt then 'Y'
when o1.MEDTIME is n... | 36.704545 | 160 | 0.681734 |
aed359ae8670be89fa3b485194a91b90284711cb | 96 | rs | Rust | books/intro2p/src/chapters/mod.rs | yspace/rust_climb | a9b5524713e363169fd2c3c7f9acff109f8cb903 | [
"MIT"
] | null | null | null | books/intro2p/src/chapters/mod.rs | yspace/rust_climb | a9b5524713e363169fd2c3c7f9acff109f8cb903 | [
"MIT"
] | null | null | null | books/intro2p/src/chapters/mod.rs | yspace/rust_climb | a9b5524713e363169fd2c3c7f9acff109f8cb903 | [
"MIT"
] | null | null | null | pub mod types_and_values;
pub mod variables_and_boxes;
pub mod functions;
pub mod control_flow;
| 19.2 | 28 | 0.833333 |
f75ee160b2189fbcc92914b72e725800eb454f45 | 9,215 | c | C | src/test/utility/compress.c | PSP-Archive/System-Interface-Library | 42bfd5b1f0e767215010365894cfa9598915ea55 | [
"X11"
] | null | null | null | src/test/utility/compress.c | PSP-Archive/System-Interface-Library | 42bfd5b1f0e767215010365894cfa9598915ea55 | [
"X11"
] | null | null | null | src/test/utility/compress.c | PSP-Archive/System-Interface-Library | 42bfd5b1f0e767215010365894cfa9598915ea55 | [
"X11"
] | null | null | null | /*
* System Interface Library for games
* Copyright (c) 2007-2020 Andrew Church <achurch@achurch.org>
* Released under the GNU GPL version 3 or later; NO WARRANTY is provided.
* See the file COPYING.txt for details.
*
* src/test/utility/compress.c: Tests for compression/decompression utility
* functions.
*/
/*... | 31.996528 | 85 | 0.538687 |
7146e2d8dacc75c67d1131b585028d9114b1d895 | 1,870 | ts | TypeScript | apps/todos/todos-web/src/app/+state/app.effects.spec.ts | jonathonadams/zero-to-production | c386f67fd6e6d44a1d22b6fbb44110634fd22494 | [
"MIT"
] | 1 | 2019-08-21T05:40:16.000Z | 2019-08-21T05:40:16.000Z | apps/todos/todos-web/src/app/+state/app.effects.spec.ts | jonathonadams/zero-to-production | c386f67fd6e6d44a1d22b6fbb44110634fd22494 | [
"MIT"
] | 54 | 2020-05-20T00:54:05.000Z | 2020-09-15T00:19:29.000Z | apps/todos/todos-web/src/app/+state/app.effects.spec.ts | jonathonadams/zero-to-production | c386f67fd6e6d44a1d22b6fbb44110634fd22494 | [
"MIT"
] | 2 | 2020-02-05T22:26:58.000Z | 2020-02-06T08:06:53.000Z | import { TestBed } from '@angular/core/testing';
import { Observable } from 'rxjs';
import { Actions } from '@ngrx/effects';
import { hot, Scheduler } from 'jest-marbles';
import { provideMockActions } from '@ngrx/effects/testing';
import { createSpyObj } from '@ztp/tests/client';
import { AppEffects } from './app.effe... | 29.21875 | 77 | 0.628877 |
ecf1121279c6de7d354d658282248eeea9af0bbb | 2,455 | swift | Swift | Wordist/Wordist/Views/WDNavigationHeader.swift | AamirAnwar/Wordist | d6b527dc0488d0be514e028fd8525eb4b7fa3975 | [
"MIT"
] | null | null | null | Wordist/Wordist/Views/WDNavigationHeader.swift | AamirAnwar/Wordist | d6b527dc0488d0be514e028fd8525eb4b7fa3975 | [
"MIT"
] | 2 | 2019-03-13T19:47:59.000Z | 2019-03-14T10:23:10.000Z | Wordist/Wordist/Views/WDNavigationHeader.swift | AamirAnwar/Wordist | d6b527dc0488d0be514e028fd8525eb4b7fa3975 | [
"MIT"
] | 1 | 2019-03-13T08:58:22.000Z | 2019-03-13T08:58:22.000Z | //
// WDNavigationHeader.swift
// Wordist
//
// Created by Aamir on 10/09/17.
// Copyright © 2017 AamirAnwar. All rights reserved.
//
import UIKit
protocol WDNavigationHeaderDelegate {
func didTapBackButton()
}
class WDNavigationHeader: UIView {
fileprivate let backButton = UIButton(type: .system)
v... | 33.175676 | 152 | 0.572709 |
d36182531059c2924322ece27b71f4b32525e389 | 2,766 | swift | Swift | DIT-Timetable-V2/Extensions/Utils.swift | collegboi/DIT-Timetable-iOS | cfe1a06d37f18299ccabf506481e439936668840 | [
"MIT"
] | 1 | 2016-10-03T10:00:59.000Z | 2016-10-03T10:00:59.000Z | DIT-Timetable-V2/Extensions/Utils.swift | collegboi/DIT-Timetable-iOS | cfe1a06d37f18299ccabf506481e439936668840 | [
"MIT"
] | null | null | null | DIT-Timetable-V2/Extensions/Utils.swift | collegboi/DIT-Timetable-iOS | cfe1a06d37f18299ccabf506481e439936668840 | [
"MIT"
] | null | null | null | //
// Utils.swift
// DIT-Timetable-V2
//
// Created by Timothy Barnard on 16/09/2017.
// Copyright © 2017 Timothy Barnard. All rights reserved.
//
import Foundation
class Utils {
class func using12hClockFormat() -> Bool {
let formatter = DateFormatter()
formatter.locale = Locale... | 26.342857 | 83 | 0.42914 |
25da81f2ce72dcae92e31e7762a4deaeac9f3728 | 16,419 | sql | SQL | file sql/tarian_db.sql | WisnuDwiP/Laravel | 675984d5bd8bb12f2767c5a30c86fd2660a80b5a | [
"MIT"
] | null | null | null | file sql/tarian_db.sql | WisnuDwiP/Laravel | 675984d5bd8bb12f2767c5a30c86fd2660a80b5a | [
"MIT"
] | null | null | null | file sql/tarian_db.sql | WisnuDwiP/Laravel | 675984d5bd8bb12f2767c5a30c86fd2660a80b5a | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Sep 29, 2019 at 09:54 PM
-- Server version: 10.3.16-MariaDB
-- PHP Version: 7.3.2
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET... | 92.241573 | 1,646 | 0.75437 |
e8035f8a40a71bf656641240506d28ce268b96d3 | 463 | css | CSS | client/src/admin/pages/main/components/navigation/Navigation.css | Cerberrus/aic-test | d8064d5a47ceb295d871d8de1025576e93b66bbc | [
"MIT"
] | 3 | 2020-12-24T11:32:07.000Z | 2021-06-06T09:33:41.000Z | client/src/admin/pages/main/components/navigation/Navigation.css | Cerberrus/aic-test | d8064d5a47ceb295d871d8de1025576e93b66bbc | [
"MIT"
] | null | null | null | client/src/admin/pages/main/components/navigation/Navigation.css | Cerberrus/aic-test | d8064d5a47ceb295d871d8de1025576e93b66bbc | [
"MIT"
] | 1 | 2021-06-06T09:33:48.000Z | 2021-06-06T09:33:48.000Z | .navigation {
margin-right: 48px;
}
.navigation__link {
display: block;
margin-bottom: 16px;
padding: 12px 0 12px 16px;
width: 250px;
border-bottom: 1px solid var(--color-darkGray);
color: var(--color-darkGray);
transition: .2s;
}
.navigation__link:hover {
color: var(--color-black)... | 19.291667 | 51 | 0.641469 |
ddb42d1d990e4baf877941f8d0da19bfe36f06fb | 3,505 | php | PHP | frontend/views/profile/index.php | MissAnnah95/tours | 03e01625953be0fd68f5570aae17af118517d82d | [
"BSD-3-Clause"
] | null | null | null | frontend/views/profile/index.php | MissAnnah95/tours | 03e01625953be0fd68f5570aae17af118517d82d | [
"BSD-3-Clause"
] | 1 | 2020-11-16T21:16:58.000Z | 2020-11-16T21:16:58.000Z | frontend/views/profile/index.php | MissAnnah95/tours | 03e01625953be0fd68f5570aae17af118517d82d | [
"BSD-3-Clause"
] | 1 | 2020-11-17T06:36:48.000Z | 2020-11-17T06:36:48.000Z | <?php
use yii\helpers\Html;
use common\models\User;
use frontend\models\Profile;
use yii\helpers\Url;
/* @var $this yii\web\View */
/* @var $searchModel frontend\models\ProfileSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Profiles';
$this->params['breadcrumbs'][] = $this->title;
?>
<... | 27.382813 | 253 | 0.48816 |
45e46885f66a834a8dfea384ab0e0e4179e07177 | 496 | kt | Kotlin | users/src/main/java/com/upreality/expensesspringbackend/users/domain/models/Credentials.kt | denisrebrof/expenses-spring-backend | 77aeaf800255f2031d1c1cb38e3d11191f030d33 | [
"Apache-2.0"
] | null | null | null | users/src/main/java/com/upreality/expensesspringbackend/users/domain/models/Credentials.kt | denisrebrof/expenses-spring-backend | 77aeaf800255f2031d1c1cb38e3d11191f030d33 | [
"Apache-2.0"
] | null | null | null | users/src/main/java/com/upreality/expensesspringbackend/users/domain/models/Credentials.kt | denisrebrof/expenses-spring-backend | 77aeaf800255f2031d1c1cb38e3d11191f030d33 | [
"Apache-2.0"
] | null | null | null | package com.upreality.expensesspringbackend.users.domain.models
sealed class Credentials {
sealed class Base : Credentials() {
data class Email(
val email: String,
val verified: Boolean = false
) : Base()
data class Phone(
val phone: String,
... | 26.105263 | 63 | 0.590726 |
f0973dfadfcfd50dee9ba058cd9ea0591aaad66c | 693 | js | JavaScript | public/js/login.js | arncrn/brando_app | 1f752868a79c34d4e9a9a5c05028f13afb917800 | [
"0BSD"
] | null | null | null | public/js/login.js | arncrn/brando_app | 1f752868a79c34d4e9a9a5c05028f13afb917800 | [
"0BSD"
] | null | null | null | public/js/login.js | arncrn/brando_app | 1f752868a79c34d4e9a9a5c05028f13afb917800 | [
"0BSD"
] | null | null | null | document.addEventListener('DOMContentLoaded', () => {
let form = document.querySelector('form')
form.addEventListener('submit', (event) => {
event.preventDefault()
let XHR = new XMLHttpRequest();
XHR.open('POST', '/login')
XHR.setRequestHeader('content-type', 'application/json')
XHR.addEve... | 27.72 | 60 | 0.613276 |
974c4c180e4b78036f39137c063f1313f3e067d5 | 545 | kt | Kotlin | custom-vu/src/main/kotlin/jces1209/vu/action/BrowseIssueTypes.kt | ssagnes/jces-1209 | a2bcc10cca4b1fb04327dc189033dafe9b41d003 | [
"Apache-2.0"
] | null | null | null | custom-vu/src/main/kotlin/jces1209/vu/action/BrowseIssueTypes.kt | ssagnes/jces-1209 | a2bcc10cca4b1fb04327dc189033dafe9b41d003 | [
"Apache-2.0"
] | 25 | 2020-03-03T15:32:59.000Z | 2021-02-02T03:25:25.000Z | custom-vu/src/main/kotlin/jces1209/vu/action/BrowseIssueTypes.kt | ssagnes/jces-1209 | a2bcc10cca4b1fb04327dc189033dafe9b41d003 | [
"Apache-2.0"
] | 9 | 2020-02-14T10:17:12.000Z | 2021-09-06T22:49:39.000Z | package jces1209.vu.action
import com.atlassian.performance.tools.jiraactions.api.action.Action
import jces1209.vu.Measure
import jces1209.vu.MeasureType
import jces1209.vu.page.admin.issuetypes.BrowseIssueTypesPage
class BrowseIssueTypes(
private val measure: Measure,
private val browseIssueTypesPage: Browse... | 25.952381 | 68 | 0.711927 |
a9c91d0776bbb09a5ce7d8f05e3ba27a026b86dc | 946 | html | HTML | manuscript/page-54/body.html | marvindanig/latin-for-beginners | 1f7e98094c187c4d8dbc559ded8641f90b95d568 | [
"BlueOak-1.0.0",
"MIT"
] | null | null | null | manuscript/page-54/body.html | marvindanig/latin-for-beginners | 1f7e98094c187c4d8dbc559ded8641f90b95d568 | [
"BlueOak-1.0.0",
"MIT"
] | null | null | null | manuscript/page-54/body.html | marvindanig/latin-for-beginners | 1f7e98094c187c4d8dbc559ded8641f90b95d568 | [
"BlueOak-1.0.0",
"MIT"
] | null | null | null | <div class="leaf "><div class="inner justify"><ol style="--start:7" start="7"><li>Iūlia est puella pulchra
Julia is (a) girl pretty</li><li>Domina fīliam pulchram habet
(The) lady (a) daughter beautiful has</li></ol><p><em>a.</em> The sentences above show that Latin does not express some words which are necessary in ... | 315.333333 | 775 | 0.704017 |
f794c6beadf9611162d77d3809400e688b004272 | 41 | kts | Kotlin | AdventOfCodeDay03/settings.gradle.kts | bdlepla/AdventOfCode2020 | 043d0cfe3971c83921a489ded3bd45048f02ce83 | [
"Unlicense"
] | null | null | null | AdventOfCodeDay03/settings.gradle.kts | bdlepla/AdventOfCode2020 | 043d0cfe3971c83921a489ded3bd45048f02ce83 | [
"Unlicense"
] | null | null | null | AdventOfCodeDay03/settings.gradle.kts | bdlepla/AdventOfCode2020 | 043d0cfe3971c83921a489ded3bd45048f02ce83 | [
"Unlicense"
] | null | null | null |
rootProject.name = "AdventOfCodeDay03"
| 10.25 | 38 | 0.780488 |
877568811b78138b6680134846b6e95d0c4c81d6 | 4,220 | html | HTML | home/home.html | KisanThapa/CS-615-UI-UX | 8520f08483c07a0b2b89203f0ad20d2f256a4687 | [
"MIT"
] | null | null | null | home/home.html | KisanThapa/CS-615-UI-UX | 8520f08483c07a0b2b89203f0ad20d2f256a4687 | [
"MIT"
] | null | null | null | home/home.html | KisanThapa/CS-615-UI-UX | 8520f08483c07a0b2b89203f0ad20d2f256a4687 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="../style/main.css">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
... | 41.782178 | 119 | 0.52109 |
a5923e43eeafa546d23cd2fe2199553115b33eaa | 1,953 | kt | Kotlin | src/main/kotlin/org/rust/lang/core/psi/CustomAttributes.kt | normalchaos/intellij-rust | d307813d869cc84f89bbebeacfc2ec9f6cc4ce25 | [
"MIT"
] | 4,168 | 2015-11-28T19:55:12.000Z | 2022-03-31T18:47:12.000Z | src/main/kotlin/org/rust/lang/core/psi/CustomAttributes.kt | normalchaos/intellij-rust | d307813d869cc84f89bbebeacfc2ec9f6cc4ce25 | [
"MIT"
] | 8,336 | 2015-11-28T11:40:22.000Z | 2022-03-31T15:56:54.000Z | src/main/kotlin/org/rust/lang/core/psi/CustomAttributes.kt | normalchaos/intellij-rust | d307813d869cc84f89bbebeacfc2ec9f6cc4ce25 | [
"MIT"
] | 522 | 2015-11-28T17:17:39.000Z | 2022-03-07T07:09:06.000Z | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.lang.core.psi
import com.intellij.psi.util.CachedValueProvider
import com.intellij.psi.util.CachedValuesManager
import org.rust.lang.core.crate.Crate
import org.rust.lang.core.psi.ext.getQueryAt... | 34.875 | 114 | 0.639017 |
71a0cd7e460069b59743d3200b1976f7ad06c64d | 1,485 | ts | TypeScript | src/app/feature/cliente/components/listar-cliente/listar-cliente.component.ts | krlosjn/adnceibafront | 8bbabfd796d745ca4cad923072da1c3153580307 | [
"Apache-2.0"
] | null | null | null | src/app/feature/cliente/components/listar-cliente/listar-cliente.component.ts | krlosjn/adnceibafront | 8bbabfd796d745ca4cad923072da1c3153580307 | [
"Apache-2.0"
] | null | null | null | src/app/feature/cliente/components/listar-cliente/listar-cliente.component.ts | krlosjn/adnceibafront | 8bbabfd796d745ca4cad923072da1c3153580307 | [
"Apache-2.0"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import { MatTableDataSource } from '@angular/material/table';
import { Router } from '@angular/router';
import { Observable } from 'rxjs';
import { Cliente } from '../../shared/model/cliente';
import { ClienteService } from '../../shared/services/cliente.service';
@Co... | 27.5 | 129 | 0.687542 |
e55450fdfbd4872d6e5a3a46059136d5a568da32 | 121 | ts | TypeScript | cli/packages/prisma-generate-schema/src/databaseType.ts | ajesse11x/prisma | aa183a02777db9d0077eee05c501f9d42d2a2e05 | [
"Apache-2.0"
] | 2 | 2018-09-24T06:27:26.000Z | 2018-09-27T20:58:10.000Z | cli/packages/prisma-generate-schema/src/databaseType.ts | ajesse11x/prisma | aa183a02777db9d0077eee05c501f9d42d2a2e05 | [
"Apache-2.0"
] | 2 | 2021-09-02T20:55:24.000Z | 2022-03-24T09:43:52.000Z | cli/packages/prisma-generate-schema/src/databaseType.ts | ajesse11x/prisma | aa183a02777db9d0077eee05c501f9d42d2a2e05 | [
"Apache-2.0"
] | 1 | 2018-09-04T03:28:13.000Z | 2018-09-04T03:28:13.000Z |
// Please replace this type as needed.
export enum DatabaseType {
document = 'document',
relational = 'relational'
} | 20.166667 | 38 | 0.719008 |
5619391173c23cfdbaa09e570f8a11368c55c5b2 | 1,998 | go | Go | mocks/FakeRequestFailure.go | bertux/driftctl | 938a336f550899dc0654d97719e939fc2f2be16d | [
"Apache-2.0"
] | null | null | null | mocks/FakeRequestFailure.go | bertux/driftctl | 938a336f550899dc0654d97719e939fc2f2be16d | [
"Apache-2.0"
] | 1 | 2021-04-12T23:43:44.000Z | 2021-04-12T23:43:44.000Z | mocks/FakeRequestFailure.go | luismayta/driftctl | 7994c6fd8efd5dd6714712bd4d3b317c891d075c | [
"Apache-2.0"
] | null | null | null | // Code generated by mockery v2.3.0. DO NOT EDIT.
package mocks
import mock "github.com/stretchr/testify/mock"
// FakeRequestFailure is an autogenerated mock type for the FakeRequestFailure type
type FakeRequestFailure struct {
mock.Mock
}
// Code provides a mock function with given fields:
func (_m *FakeRequestFa... | 18.330275 | 83 | 0.639139 |
0b72374ff1f0c05184c363dcfc881dd0ee234e7e | 13,807 | py | Python | unn/models/heads/utils/loss.py | zongdaoming/TinyTransformer | 8e64f8816117048c388b4b20e3a56760ce149fe3 | [
"Apache-2.0"
] | 2 | 2021-08-08T11:23:14.000Z | 2021-09-16T04:05:23.000Z | unn/models/heads/utils/loss.py | zongdaoming/TinyTransformer | 8e64f8816117048c388b4b20e3a56760ce149fe3 | [
"Apache-2.0"
] | 1 | 2021-08-08T11:25:47.000Z | 2021-08-08T11:26:15.000Z | unn/models/heads/utils/loss.py | zongdaoming/TinyTransformer | 8e64f8816117048c388b4b20e3a56760ce149fe3 | [
"Apache-2.0"
] | null | null | null | import logging
import torch
import torch.nn as nn
import torch.nn.functional as F
from .... import extensions as E
from . import accuracy as A
logger = logging.getLogger('global')
def _reduce(loss, reduction, **kwargs):
if reduction == 'none':
ret = loss
elif reduction == 'mean':
normalizer... | 35.043147 | 127 | 0.599768 |
5b514661943c4b7981360e74e5ce9552a0fb448d | 390 | h | C | ios/include/FatosDevelopBridge.h | devfatoscorp/react-native-fatos-sdk | e660087b84b6f81fbc1733afe6413ade04ca3304 | [
"MIT"
] | 2 | 2019-08-01T09:05:39.000Z | 2021-08-22T14:16:29.000Z | ios/include/FatosDevelopBridge.h | devfatoscorp/react-native-fatos-sdk | e660087b84b6f81fbc1733afe6413ade04ca3304 | [
"MIT"
] | 1 | 2019-07-19T06:52:08.000Z | 2019-07-19T06:52:08.000Z | ios/include/FatosDevelopBridge.h | devfatoscorp/react-native-fatos-sdk | e660087b84b6f81fbc1733afe6413ade04ca3304 | [
"MIT"
] | null | null | null | //
// FatosDevelopBridge.h
// Fatos
//
// Created by 심규빈 on 2020/02/24.
// Copyright © 2020 유춘성. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface FatosDevelopBridge : NSObject
+ (void) SetSimulGps:(BOOL)value;
+ (void) SetDrawGpsPoint:(BOOL)value;
+ (NSString *) GetS... | 16.25 | 46 | 0.723077 |
710539d016ae820d7a1e840012932cc0fae14585 | 66 | ts | TypeScript | lib/src/util/escapePath.d.ts | cavylabs/ra-core | 323d72ae579e0f277f7e869a0a9c6ce7189f6b16 | [
"MIT"
] | null | null | null | lib/src/util/escapePath.d.ts | cavylabs/ra-core | 323d72ae579e0f277f7e869a0a9c6ce7189f6b16 | [
"MIT"
] | null | null | null | lib/src/util/escapePath.d.ts | cavylabs/ra-core | 323d72ae579e0f277f7e869a0a9c6ce7189f6b16 | [
"MIT"
] | null | null | null | declare var _default: (url: any) => any;
export default _default;
| 22 | 40 | 0.727273 |
162b5d9647ea446891c66de34087d181cc05234d | 92 | ts | TypeScript | src/services/giftingEvents/index.ts | Angulaaaaaargh2018M2/backend | 4a5e6b7cb43a5a0dfd5864de009aab12188aa677 | [
"MIT"
] | null | null | null | src/services/giftingEvents/index.ts | Angulaaaaaargh2018M2/backend | 4a5e6b7cb43a5a0dfd5864de009aab12188aa677 | [
"MIT"
] | null | null | null | src/services/giftingEvents/index.ts | Angulaaaaaargh2018M2/backend | 4a5e6b7cb43a5a0dfd5864de009aab12188aa677 | [
"MIT"
] | null | null | null | export * from './gifting-events.service';
export * from './giftingEvents-document.service';
| 30.666667 | 49 | 0.73913 |
b2464a8327f5b5c04a600ac71e724a5f2a1a42aa | 1,174 | sql | SQL | db/seeds.sql | Amit-Ranjan22/Employee-Tracker | 8689f2f3d93ba8341f4d536d11d808533c4bb123 | [
"MIT"
] | null | null | null | db/seeds.sql | Amit-Ranjan22/Employee-Tracker | 8689f2f3d93ba8341f4d536d11d808533c4bb123 | [
"MIT"
] | null | null | null | db/seeds.sql | Amit-Ranjan22/Employee-Tracker | 8689f2f3d93ba8341f4d536d11d808533c4bb123 | [
"MIT"
] | null | null | null | INSERT INTO department (name)
VALUES ('Legal-Dep'),
('Sales-Dep'),
('Eng-Dep'),
('Manuf-Dep');
INSERT INTO roles (title,salary,department_id)
VALUES ('Legal_Team_Head', 185000, 1),
('Attorney', 150000, 1),
('Sales_Lead', 140000, 2),
('Sales_Person', 110000, 2),
('Chief_... | 33.542857 | 78 | 0.57155 |
dd9244a3ac58db17bd795a1afdfd50ea9cafc228 | 1,295 | php | PHP | Houdini/src/app.php | Natkeeran/Crayfish | d41371bc1e702c4686746bdabb139f9178584c16 | [
"MIT"
] | null | null | null | Houdini/src/app.php | Natkeeran/Crayfish | d41371bc1e702c4686746bdabb139f9178584c16 | [
"MIT"
] | 1 | 2017-04-03T21:05:00.000Z | 2017-04-04T01:52:13.000Z | Houdini/src/app.php | dannylamb/Crayfish | 38c6211039c16843450a2bba833e0e9454705c66 | [
"MIT"
] | null | null | null | <?php
require_once __DIR__.'/../vendor/autoload.php';
use Islandora\Crayfish\Commons\Provider\IslandoraServiceProvider;
use Islandora\Crayfish\Commons\Provider\YamlConfigServiceProvider;
use Islandora\Houdini\Controller\HoudiniController;
use Silex\Application;
use Symfony\Component\HttpFoundation\Request;
$app = ne... | 33.205128 | 79 | 0.711197 |
200d4d0ca9fbbd0099810764e031b07c705c352a | 434 | asm | Assembly | oeis/129/A129824.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/129/A129824.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/129/A129824.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A129824: a(n) = Product_{k=0..n} (1 + binomial(n,k)).
; Submitted by Jamie Morken(s2)
; 2,4,12,64,700,17424,1053696,160579584,62856336636,63812936890000,168895157342195152,1169048914836855865344,21209591746609937928524800,1010490883477487017627972550656,126641164340871500483202065902080000,418173385896984577597231047... | 28.933333 | 246 | 0.762673 |
1aedbd471e7bebba8e6905566ce46b13edbeb4f6 | 277 | lua | Lua | src/Libs/Cryo/List/foldRight.lua | Sonar-Studios/sonar-brushtool | 9a06dc1ebf59438f328fb0219e89c186cc0bcba0 | [
"MIT"
] | null | null | null | src/Libs/Cryo/List/foldRight.lua | Sonar-Studios/sonar-brushtool | 9a06dc1ebf59438f328fb0219e89c186cc0bcba0 | [
"MIT"
] | null | null | null | src/Libs/Cryo/List/foldRight.lua | Sonar-Studios/sonar-brushtool | 9a06dc1ebf59438f328fb0219e89c186cc0bcba0 | [
"MIT"
] | null | null | null | --[[
Performs a right-fold of the list with the given initial value and callback.
]]
local function foldRight(list, initial, callback)
local accum = initial
for i = #list, 1, -1 do
accum = callback(accum, list[i], i)
end
return accum
end
return foldRight | 19.785714 | 78 | 0.6787 |
e77ff524919fcd90b8b7693dbd1651c92c38730f | 603 | js | JavaScript | lib/icon/TrashOutlineIcon.js | sambacha/ui | 46617fb4d2e35502bc373fb034a4ad41d95be108 | [
"MIT"
] | null | null | null | lib/icon/TrashOutlineIcon.js | sambacha/ui | 46617fb4d2e35502bc373fb034a4ad41d95be108 | [
"MIT"
] | null | null | null | lib/icon/TrashOutlineIcon.js | sambacha/ui | 46617fb4d2e35502bc373fb034a4ad41d95be108 | [
"MIT"
] | null | null | null | import * as React from "react";
import { SvgIcon } from "../util/react/SvgIcon";
export class TrashOutlineIcon extends React.Component {
render() {
return React.createElement(SvgIcon, Object.assign({}, this.props, { viewBoxSize: 512 }),
React.createElement("g", { transform: "translate(64, 64) sc... | 60.3 | 216 | 0.661692 |
9ddff0f878dd984e501a464335ff320f58d4bef7 | 187 | sql | SQL | Membership Provider DB/Schema Objects/Schemas/membership/Tables/Keys/FK_Actions_Modules.fkey.sql | carlos-takeapps/bafactoryfx | aa962b0addce09af7539192ac90e41a965270ee0 | [
"Apache-2.0"
] | null | null | null | Membership Provider DB/Schema Objects/Schemas/membership/Tables/Keys/FK_Actions_Modules.fkey.sql | carlos-takeapps/bafactoryfx | aa962b0addce09af7539192ac90e41a965270ee0 | [
"Apache-2.0"
] | null | null | null | Membership Provider DB/Schema Objects/Schemas/membership/Tables/Keys/FK_Actions_Modules.fkey.sql | carlos-takeapps/bafactoryfx | aa962b0addce09af7539192ac90e41a965270ee0 | [
"Apache-2.0"
] | null | null | null | ALTER TABLE [membership].[Actions]
ADD CONSTRAINT [FK_Actions_Modules] FOREIGN KEY ([IdModule]) REFERENCES [membership].[Modules] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION;
| 46.75 | 147 | 0.73262 |
e588fceca56c4f412686e780ce926191d9d08560 | 1,616 | ts | TypeScript | packages/employee-triple-a/producer/dist/modules/employee-auth/employee-auth.controller.d.ts | faizulkhan-sys/triplea-monorepo | 8a46a214efd4cc4c9ff9bb1a04ff0d47b6177e2b | [
"MIT"
] | 1 | 2022-03-11T05:57:57.000Z | 2022-03-11T05:57:57.000Z | packages/employee-triple-a/producer/dist/modules/employee-auth/employee-auth.controller.d.ts | faizulkhan-sys/triplea-monorepo | 8a46a214efd4cc4c9ff9bb1a04ff0d47b6177e2b | [
"MIT"
] | null | null | null | packages/employee-triple-a/producer/dist/modules/employee-auth/employee-auth.controller.d.ts | faizulkhan-sys/triplea-monorepo | 8a46a214efd4cc4c9ff9bb1a04ff0d47b6177e2b | [
"MIT"
] | null | null | null | import { IResponse } from '@common/interfaces/response.interface';
import { EmployeeLoginDto } from '@dtos/employeeLogin.dto';
import { TokensService } from '@modules/token/tokens.service';
import { EmployeeAuthService } from './employee-auth.service';
import { Customer } from '@entities/Customer.entity';
import { Chan... | 62.153846 | 165 | 0.774134 |
2f28950d73462b73102ba1d7aee83a761c844631 | 2,620 | php | PHP | src/AppBundle/Controller/Rest/PersonaRestController.php | sergiosanabria/resto | 38e2d440fade8e200b5b44313c6afb376d0fee28 | [
"MIT"
] | null | null | null | src/AppBundle/Controller/Rest/PersonaRestController.php | sergiosanabria/resto | 38e2d440fade8e200b5b44313c6afb376d0fee28 | [
"MIT"
] | null | null | null | src/AppBundle/Controller/Rest/PersonaRestController.php | sergiosanabria/resto | 38e2d440fade8e200b5b44313c6afb376d0fee28 | [
"MIT"
] | null | null | null | <?php
namespace AppBundle\Controller\Rest;
use AppBundle\Entity\Image;
use AppBundle\Entity\Persona;
use AppBundle\Form\PersonaType;
use FOS\RestBundle\Controller\FOSRestController;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\BrowserKit\Response;
use Symfony\Component\DependencyInj... | 24.485981 | 108 | 0.575954 |
291227388fc90b51ab04fdf1a57a5ee909590e8c | 3,436 | py | Python | tests/test_logging.py | friarswood/python-client | 0f0e993501c5ed4006a8710dcc8bd3e0d249086d | [
"MIT"
] | 8 | 2021-06-26T10:47:09.000Z | 2022-03-24T02:34:33.000Z | tests/test_logging.py | disruptive-technologies/disruptive-python | 5b04c62278950abc415e3f6c62d27a1eed74d0f4 | [
"MIT"
] | 4 | 2021-06-26T08:16:29.000Z | 2021-11-03T15:10:50.000Z | tests/test_logging.py | disruptive-technologies/disruptive-python | 5b04c62278950abc415e3f6c62d27a1eed74d0f4 | [
"MIT"
] | 1 | 2021-08-22T11:43:57.000Z | 2021-08-22T11:43:57.000Z | import pytest
from unittest.mock import patch
import disruptive
import disruptive.logging as dtlog
import disruptive.errors as dterrors
class TestLogging():
def _check_level_called(self, msg, debug=True, info=True,
warning=True, error=True, critical=True):
with patch('disrup... | 29.62069 | 69 | 0.561991 |
e9f2b77e9764f48f34bb01a71f040c053ffcc13f | 12,508 | go | Go | server/app/controllers/admin/task.go | luffy-boy/devops-tools | a9e77401bfb297f9bd83870c72a2eed2d81783e7 | [
"Artistic-2.0"
] | 10 | 2020-07-09T14:19:36.000Z | 2021-08-09T04:27:11.000Z | server/app/controllers/admin/task.go | luffy-boy/devops-tools | a9e77401bfb297f9bd83870c72a2eed2d81783e7 | [
"Artistic-2.0"
] | null | null | null | server/app/controllers/admin/task.go | luffy-boy/devops-tools | a9e77401bfb297f9bd83870c72a2eed2d81783e7 | [
"Artistic-2.0"
] | null | null | null | package admin
import (
"encoding/json"
"github.com/astaxie/beego/validation"
"strconv"
"strings"
"tools/server/app/common"
"tools/server/app/response"
"tools/server/app/service"
)
//任务管理
type TaskController struct {
BaseController
}
// @Title 任务列表
// @Description 获取任务列表
// @Success 200 {object} Res {"code":... | 26.004158 | 99 | 0.646146 |
c4a9bef27411328e1e66c5669cee2123b4bcacf8 | 4,677 | h | C | libwebserv/protocol_handler.h | MIPS/system-webservd | 205bca472f0b8434fdeefa0d02852f48610448a5 | [
"Apache-2.0"
] | 5 | 2019-01-19T15:38:48.000Z | 2021-10-06T03:59:46.000Z | libwebserv/protocol_handler.h | MIPS/system-webservd | 205bca472f0b8434fdeefa0d02852f48610448a5 | [
"Apache-2.0"
] | null | null | null | libwebserv/protocol_handler.h | MIPS/system-webservd | 205bca472f0b8434fdeefa0d02852f48610448a5 | [
"Apache-2.0"
] | 1 | 2019-02-15T23:05:30.000Z | 2019-02-15T23:05:30.000Z | // Copyright 2015 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 applicable... | 40.669565 | 80 | 0.705367 |
e27c5b047e454b564069e348c7ad9a1304ec9ae0 | 523 | asm | Assembly | programs/oeis/104/A104765.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/104/A104765.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/104/A104765.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A104765: Triangle T(n,k) read by rows: row n contains the first n Lucas numbers A000204.
; 1,1,3,1,3,4,1,3,4,7,1,3,4,7,11,1,3,4,7,11,18,1,3,4,7,11,18,29,1,3,4,7,11,18,29,47,1,3,4,7,11,18,29,47,76,1,3,4,7,11,18,29,47,76,123,1,3,4,7,11,18,29,47,76,123,199,1,3,4,7,11,18,29,47,76,123,199,322,1,3,4,7,11,18,29,47,76,123,19... | 87.166667 | 261 | 0.627151 |
1668de3922ee195d0ddea57d23001c5d298adb66 | 1,111 | c | C | crypt_register_hash.c | zhaobingss/go-sqlcipher | d15a8f4023dff1d1e3fd4719100fcb04b1e49943 | [
"Unlicense"
] | 1,180 | 2015-01-11T20:55:07.000Z | 2022-03-30T14:09:35.000Z | crypt_register_hash.c | zhaobingss/go-sqlcipher | d15a8f4023dff1d1e3fd4719100fcb04b1e49943 | [
"Unlicense"
] | 431 | 2015-01-29T10:42:58.000Z | 2022-03-16T19:52:36.000Z | crypt_register_hash.c | zhaobingss/go-sqlcipher | d15a8f4023dff1d1e3fd4719100fcb04b1e49943 | [
"Unlicense"
] | 397 | 2015-01-07T14:05:17.000Z | 2022-03-27T03:15:46.000Z | /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
#include "tomcrypt_private.h"
/**
@file crypt_register_hash.c
Register a HASH, Tom St Denis
*/
/**
Register a hash with the descriptor table
@param hash The hash you wish to register
@return value ... | 25.837209 | 89 | 0.635464 |
1643261775c4345c2fd6676a47554f6eebe4edac | 207 | ts | TypeScript | src/plugin.ts | metonym/posthtml-plugin-template | a7d1254a6dea3682451f27becaaaf3c4f54c7b8a | [
"MIT"
] | null | null | null | src/plugin.ts | metonym/posthtml-plugin-template | a7d1254a6dea3682451f27becaaaf3c4f54c7b8a | [
"MIT"
] | null | null | null | src/plugin.ts | metonym/posthtml-plugin-template | a7d1254a6dea3682451f27becaaaf3c4f54c7b8a | [
"MIT"
] | null | null | null | import { PostHTML } from "posthtml";
function plugin() {
return function posthtmlPlugin(tree: PostHTML.Node) {
return tree;
};
}
export default plugin;
export { plugin, plugin as posthtmlPlugin };
| 18.818182 | 55 | 0.710145 |
6628562b3d6243e888ad2a45d1c9a3384533a369 | 301 | css | CSS | css/style.css | drawan06/drawan06.github.io | bab12249ceb87ad4250b334ef740316e36da5bea | [
"MIT"
] | null | null | null | css/style.css | drawan06/drawan06.github.io | bab12249ceb87ad4250b334ef740316e36da5bea | [
"MIT"
] | null | null | null | css/style.css | drawan06/drawan06.github.io | bab12249ceb87ad4250b334ef740316e36da5bea | [
"MIT"
] | null | null | null | body {
background-color: lightblue;
}
h1 {
color: black;
margin-left: 20px;
}
h2 {
padding: 5px;
}
#titel {
background: red;
width: 600px;
}
h1 {
font-size: 40px;
}
p {
padding-top: 50px;
}
#douglas {
background: red;
}
#hi {
background: red;
}
| 7.341463 | 32 | 0.524917 |
e5018ed4bd1f087351e10262313e7620e65552b0 | 1,848 | tsx | TypeScript | src/components/collection-center/list.tsx | fossabot/cropcert-ui | 8c3f090567c23fff247f63b3e8a9719f04d07c90 | [
"Apache-2.0"
] | null | null | null | src/components/collection-center/list.tsx | fossabot/cropcert-ui | 8c3f090567c23fff247f63b3e8a9719f04d07c90 | [
"Apache-2.0"
] | null | null | null | src/components/collection-center/list.tsx | fossabot/cropcert-ui | 8c3f090567c23fff247f63b3e8a9719f04d07c90 | [
"Apache-2.0"
] | null | null | null | import { axListCC } from "@services/cc.service";
import { isBrowser, MAP } from "@utils/constants";
import L from "leaflet";
import React, { useEffect, useState } from "react";
import DataTable from "react-data-table-component";
import { Map, Marker, Popup, TileLayer } from "react-leaflet";
import ListColumns from "./... | 29.806452 | 64 | 0.484307 |
fb703dc22e9b94a1a0d4486bc68a480a68ac2359 | 645 | h | C | kern/include/synch_queue.h | computist/os161 | ade7922890379032c6040277d39a8991a07da92c | [
"MIT"
] | null | null | null | kern/include/synch_queue.h | computist/os161 | ade7922890379032c6040277d39a8991a07da92c | [
"MIT"
] | null | null | null | kern/include/synch_queue.h | computist/os161 | ade7922890379032c6040277d39a8991a07da92c | [
"MIT"
] | null | null | null | #ifndef _SYNCH_QUEUE_H_
#define _SYNCH_QUEUE_H_
#include <queue.h>
struct synch_queue;
struct synch_queue* synch_queue_create(void);
int synch_queue_push(struct synch_queue* sq, void* newval);
void* synch_queue_pop(struct synch_queue* sq);
void* synch_queue_pop_wait(struct synch_queue* sq);
/*void* synch_queue_front... | 32.25 | 59 | 0.810853 |
3d086fd2929c7b553e93469e1a36fe78c94e1214 | 308 | go | Go | pkg/lyricsMaker/mainWindow/body/body.go | EternallyAscend/WebsiteDeveloper | 20703b3ec4c57439e82752bc453f065f7f72f482 | [
"Apache-2.0"
] | null | null | null | pkg/lyricsMaker/mainWindow/body/body.go | EternallyAscend/WebsiteDeveloper | 20703b3ec4c57439e82752bc453f065f7f72f482 | [
"Apache-2.0"
] | null | null | null | pkg/lyricsMaker/mainWindow/body/body.go | EternallyAscend/WebsiteDeveloper | 20703b3ec4c57439e82752bc453f065f7f72f482 | [
"Apache-2.0"
] | null | null | null | package body
import (
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/container"
"fyne.io/fyne/v2/widget"
)
type Body struct {
Object fyne.CanvasObject
}
func GenerateBody() *Body {
return &Body{}
}
func (that *Body) Combine() {
that.Object = container.NewBorder(nil, nil, nil, nil, widget.NewLabel("Body!"))
}
| 15.4 | 80 | 0.685065 |
aace8c7b4dec3755223496c41036edee8fa4371c | 532 | kt | Kotlin | app/src/main/java/chat/rocket/android/authentication/di/AuthenticationModule.kt | luckcoolla/Rocket.Chat.Android | aaf1beddd6ebc4f0e85541566f8b5182fe34d317 | [
"MIT"
] | 2 | 2018-09-14T13:33:13.000Z | 2019-10-23T21:53:51.000Z | app/src/main/java/chat/rocket/android/authentication/di/AuthenticationModule.kt | luckcoolla/Rocket.Chat.Android | aaf1beddd6ebc4f0e85541566f8b5182fe34d317 | [
"MIT"
] | null | null | null | app/src/main/java/chat/rocket/android/authentication/di/AuthenticationModule.kt | luckcoolla/Rocket.Chat.Android | aaf1beddd6ebc4f0e85541566f8b5182fe34d317 | [
"MIT"
] | 1 | 2018-09-23T23:00:38.000Z | 2018-09-23T23:00:38.000Z | package chat.rocket.android.authentication.di
import chat.rocket.android.authentication.presentation.AuthenticationNavigator
import chat.rocket.android.authentication.ui.AuthenticationActivity
import chat.rocket.android.dagger.qualifier.ForAuthentication
import chat.rocket.android.dagger.scope.PerActivity
import dagge... | 33.25 | 108 | 0.855263 |
e78758167e5e61e4462971ac9561a97633f9c524 | 81 | js | JavaScript | app/src/browser/js/deewave.js | Evaneos/welean3-deewave | 0df6a8da7721f15804fb71a9e5f1afbd16724a37 | [
"MIT"
] | null | null | null | app/src/browser/js/deewave.js | Evaneos/welean3-deewave | 0df6a8da7721f15804fb71a9e5f1afbd16724a37 | [
"MIT"
] | null | null | null | app/src/browser/js/deewave.js | Evaneos/welean3-deewave | 0df6a8da7721f15804fb71a9e5f1afbd16724a37 | [
"MIT"
] | null | null | null | document.addEventListener('DOMContentLoaded', main, false);
function main() {
}
| 16.2 | 59 | 0.753086 |
d1f60c538ae6f0ab052c14cfa15378b5d57e48cc | 401 | kt | Kotlin | NomadFinal/app/src/main/java/com/example/nomadfinal/data/Request.kt | alexandersuglio/AndroidFinalProject | a96b94edffbebdd4a6da9772d5ab2cfe1d49ba64 | [
"MIT"
] | null | null | null | NomadFinal/app/src/main/java/com/example/nomadfinal/data/Request.kt | alexandersuglio/AndroidFinalProject | a96b94edffbebdd4a6da9772d5ab2cfe1d49ba64 | [
"MIT"
] | null | null | null | NomadFinal/app/src/main/java/com/example/nomadfinal/data/Request.kt | alexandersuglio/AndroidFinalProject | a96b94edffbebdd4a6da9772d5ab2cfe1d49ba64 | [
"MIT"
] | null | null | null | package com.example.nomadfinal.data
import android.util.Log
import java.net.URL
// Request handles the network request based on the url and
// reads the text response and returns in a string format.
class Request (private val url: String) {
fun run():String {
val forecastJson = URL(url).readText()
... | 23.588235 | 59 | 0.708229 |
56c2da028184defb0028acd44739a08f3290347d | 203 | go | Go | pkg/database/errors.go | alobatonavantica/golang-seed | 655f30d5c9510e8cf79ef63e2d4395565cb9020d | [
"MIT"
] | 3 | 2019-02-18T22:03:46.000Z | 2021-05-04T19:53:36.000Z | pkg/database/errors.go | alobatonavantica/golang-seed | 655f30d5c9510e8cf79ef63e2d4395565cb9020d | [
"MIT"
] | 2 | 2019-02-21T18:30:00.000Z | 2021-04-17T17:00:56.000Z | pkg/database/errors.go | alobatonavantica/golang-seed | 655f30d5c9510e8cf79ef63e2d4395565cb9020d | [
"MIT"
] | null | null | null | package database
import "gorm.io/gorm"
var (
// ErrRecordNotFound record not found error
ErrRecordNotFound = gorm.ErrRecordNotFound
// ErrRegistered registered
ErrRegistered = gorm.ErrRegistered
)
| 18.454545 | 44 | 0.793103 |
e38b1a1d571b8ef31abd5def2928e3d5ae3277a1 | 296 | asm | Assembly | WEEK-3/8.asm | ShruKin/Microprocessor-and-Microcontroller-Lab | 279c1432f0dee01fae37dc8fcb1dcb798e5725d8 | [
"MIT"
] | null | null | null | WEEK-3/8.asm | ShruKin/Microprocessor-and-Microcontroller-Lab | 279c1432f0dee01fae37dc8fcb1dcb798e5725d8 | [
"MIT"
] | null | null | null | WEEK-3/8.asm | ShruKin/Microprocessor-and-Microcontroller-Lab | 279c1432f0dee01fae37dc8fcb1dcb798e5725d8 | [
"MIT"
] | null | null | null | // Let us assume, 9060H and 9061H be two consecutive memory locations where 0AH and 07H data is stored Now, write an 8085 assembly language program to XOR operation between them and transfer the result in 9071H memory location
LDA 9060
MOV B,A
LDA 9061
XRA B
STA 9071
HLT
| 37 | 226 | 0.733108 |
3fd1631a1c7f878820aff02dd99f2a269e541084 | 1,248 | c | C | A1-2.c | memesmerized/ECE220 | f0c93b7f84c8cb6bc6ca1289920e061e710965bf | [
"Apache-2.0"
] | null | null | null | A1-2.c | memesmerized/ECE220 | f0c93b7f84c8cb6bc6ca1289920e061e710965bf | [
"Apache-2.0"
] | null | null | null | A1-2.c | memesmerized/ECE220 | f0c93b7f84c8cb6bc6ca1289920e061e710965bf | [
"Apache-2.0"
] | null | null | null | //Name: Prasad Uchil
//Student ID: 1616764
#include<stdio.h>
int main()
{
float balance=1000000;
float withdrawal=100000;
float int_rate=0.08/12;
float interest;
int year=0, month=1;// initializing variables
while(balance>0)//while loop begins as long as bank balance is greater than ... | 36.705882 | 104 | 0.623397 |
b2f4e0a17b1d50d9e628464d9c96026fcbff615c | 20,063 | py | Python | datetimeparser/enums.py | aridevelopment-de/datetimeparser | df63d6f7ed0c362f6d6b4e55d61b973b7fcf3f56 | [
"MIT"
] | 12 | 2021-11-05T21:17:21.000Z | 2022-03-30T17:53:50.000Z | datetimeparser/enums.py | aridevelopment-de/datetimeparser | df63d6f7ed0c362f6d6b4e55d61b973b7fcf3f56 | [
"MIT"
] | 45 | 2021-11-14T16:05:04.000Z | 2022-03-29T18:51:31.000Z | datetimeparser/enums.py | aridevelopment-de/datetimeparser | df63d6f7ed0c362f6d6b4e55d61b973b7fcf3f56 | [
"MIT"
] | 1 | 2021-11-14T13:44:37.000Z | 2021-11-14T13:44:37.000Z | from datetime import datetime, timedelta
from enum import Enum, auto
from dateutil.relativedelta import relativedelta
from .baseclasses import Constant, MethodEnum
from .formulars import days_feb, eastern_calc, thanksgiving_calc, year_start
class ConstantOption(Enum):
TIME_VARIABLE = auto()
DATE_VARIABLE = ... | 64.719355 | 140 | 0.648358 |
6b8ccadc4d38611973c75b3b2e63149d69d15939 | 8,097 | h | C | deps/kb_meme/meme-5.0.1/src/meme-sax.h | arwyer/MotifFinderGibbs | a428a71716b3c0040bd7825dcbea3fc7fbb6823b | [
"MIT"
] | 1 | 2019-07-19T04:33:43.000Z | 2019-07-19T04:33:43.000Z | deps/kb_meme/meme-5.0.1/src/meme-sax.h | man4ish/MotifFinderMdscan | 2cf60b028963be22389717329a7ed28e0a489274 | [
"MIT"
] | 1 | 2019-07-08T17:54:26.000Z | 2019-07-08T17:54:26.000Z | deps/kb_meme/meme-5.0.1/src/meme-sax.h | man4ish/MotifFinderMdscan | 2cf60b028963be22389717329a7ed28e0a489274 | [
"MIT"
] | 1 | 2019-06-13T17:45:17.000Z | 2019-06-13T17:45:17.000Z |
#ifndef MEME_SAX_H
#define MEME_SAX_H
#include <libxml/parser.h>
#include <stdarg.h>
typedef struct meme_io_xml_callbacks MEME_IO_XML_CALLBACKS_T;
typedef enum {
MEME_IO_XML_ALPH_DNA,
MEME_IO_XML_ALPH_PROTEIN,
MEME_IO_XML_ALPH_CUSTOM
} MEME_IO_XML_ALPH_T;
struct meme_io_xml_callbacks {
void (*error)(void ... | 44.983333 | 145 | 0.65234 |
6c3d58771b5de19d988af961b125f8db9d5ee2a1 | 713 | go | Go | main.go | JimPatterson/404-placerholder | 05bb1493a0624917ee7299dc531701c942832631 | [
"MIT"
] | null | null | null | main.go | JimPatterson/404-placerholder | 05bb1493a0624917ee7299dc531701c942832631 | [
"MIT"
] | null | null | null | main.go | JimPatterson/404-placerholder | 05bb1493a0624917ee7299dc531701c942832631 | [
"MIT"
] | null | null | null | package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
if (len(os.Args) != 3) {
os.Stderr.WriteString("Usage: " + os.Args[0] +
"<listen-addr> <health endpoint>\n")
os.Exit(1)
}
listenAddr := os.Args[1] // e.g. :8080
healthPath := os.Args[2] // e.g. /health_check
healthy := func(w http.Re... | 18.282051 | 60 | 0.633941 |
9b6b33ea49cb64c344303c9a951ce74fe6bba465 | 90,377 | swift | Swift | GithubStargazers/Application/environments/Environment+mock.swift | jrBordet/GithubStargazers | d7a82117a0896f97e5f982687f6c45cee4e2d7e7 | [
"MIT"
] | null | null | null | GithubStargazers/Application/environments/Environment+mock.swift | jrBordet/GithubStargazers | d7a82117a0896f97e5f982687f6c45cee4e2d7e7 | [
"MIT"
] | null | null | null | GithubStargazers/Application/environments/Environment+mock.swift | jrBordet/GithubStargazers | d7a82117a0896f97e5f982687f6c45cee4e2d7e7 | [
"MIT"
] | null | null | null | //
// Environment+mock.swift
// GithubStargazers
//
// Created by Jean Raphael Bordet on 25/05/21.
//
import Foundation
// MAK - App
extension AppEnvironment {
static var mock = Self(
stargazersEnv: StargazerViewEnvironment.mock
)
}
// MARK: - View (features composition)
extension StargazerViewEnvironment {... | 47.667194 | 90 | 0.702546 |
053edf8bd3977a49d0a9be532f8b0138118d4924 | 341 | sql | SQL | luciddb/test/sql/VI/tbs/q7000_10K.sql | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 14 | 2015-07-21T06:31:22.000Z | 2020-05-13T14:18:33.000Z | luciddb/test/sql/VI/tbs/q7000_10K.sql | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 1 | 2020-05-04T23:08:51.000Z | 2020-05-04T23:08:51.000Z | luciddb/test/sql/VI/tbs/q7000_10K.sql | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 22 | 2015-01-03T14:27:36.000Z | 2021-09-14T02:09:13.000Z | set schema 's';
select KSEQ, K2, K4 from BENCH10K
where K2 = 2 and K4 = 2 and K5 = 2 and K10 = 2
order by 1;
SELECT KSEQ FROM BENCH10K
WHERE (k2 = 2 or k4 = 2 or k5 = 2) and k100 = 2
order by 1;
SELECT KSEQ, K2, K4 FROM BENCH10K WHERE K2 = 2 AND K4 = 2
order by 1;
SELECT KSEQ, K2, K5 FROM BENCH10K WHERE K2 = 2 AN... | 21.3125 | 57 | 0.653959 |
7b7886b318e0e3a14e6aeec3846292f2aef2d481 | 360 | css | CSS | 3party/gtk+-3.12.1/testsuite/reftests/entry-progress-coloring.css | kongaraju/antkorp | 3453d543d659e3420d5bc4b536016bb1d097d7ec | [
"CC-BY-3.0",
"Apache-2.0"
] | 1 | 2016-01-02T14:39:07.000Z | 2016-01-02T14:39:07.000Z | 3party/gtk+-3.12.1/testsuite/reftests/entry-progress-coloring.css | kongaraju/antkorp | 3453d543d659e3420d5bc4b536016bb1d097d7ec | [
"CC-BY-3.0",
"Apache-2.0"
] | 4 | 2019-12-20T06:13:24.000Z | 2021-07-03T16:28:18.000Z | 3party/gtk+-3.12.1/testsuite/reftests/entry-progress-coloring.css | kongaraju/antkorp | 3453d543d659e3420d5bc4b536016bb1d097d7ec | [
"CC-BY-3.0",
"Apache-2.0"
] | 2 | 2015-09-17T16:40:10.000Z | 2016-11-17T15:56:42.000Z | @import "reset-to-defaults.css";
* {
-GtkWidget-interior-focus: false;
-GtkWidget-focus-line-width: 10;
font: Monospace;
}
GtkEntry #padded {
-GtkWidget-interior-focus: true;
padding: 10px;
}
.progressbar {
background-color: rgba(0,0,0,0);
background-image: none;
border-color: rgba(0,0,0,0);
colo... | 15 | 35 | 0.658333 |
abc7a209b6703a20ce66b6d7d72d106fb3fe407c | 566 | sql | SQL | sql/_13_issues/_11_1h/cases/bug_bts_5385.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 9 | 2016-03-24T09:51:52.000Z | 2022-03-23T10:49:47.000Z | sql/_13_issues/_11_1h/cases/bug_bts_5385.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 173 | 2016-04-13T01:16:54.000Z | 2022-03-16T07:50:58.000Z | sql/_13_issues/_11_1h/cases/bug_bts_5385.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 38 | 2016-03-24T17:10:31.000Z | 2021-10-30T22:55:45.000Z | create table foo(id varchar(15), parent_id varchar(10), rdate datetime);
insert into foo values('UMN_000223', 'UMN_000222',null);
insert into foo values('UMN_000224', 'UMN_000222',null);
insert into foo values('UMN_000225', 'UMN_000222',null);
insert into foo values('UMN_000221', 'UMN_000221',null);
UPDATE foo
SET ... | 33.294118 | 72 | 0.657244 |
90530ac7399661d663eb0780c3041143253710c2 | 6,713 | py | Python | src/pycropml/render_fortran.py | sielenk-yara/PyCrop2ML | dfcab79061fa71d4343120573b50b6232812999e | [
"MIT"
] | null | null | null | src/pycropml/render_fortran.py | sielenk-yara/PyCrop2ML | dfcab79061fa71d4343120573b50b6232812999e | [
"MIT"
] | null | null | null | src/pycropml/render_fortran.py | sielenk-yara/PyCrop2ML | dfcab79061fa71d4343120573b50b6232812999e | [
"MIT"
] | null | null | null | """Add License, Header.
Use pkglts
Problems:
- name of a model unit?
"""
from __future__ import print_function
from __future__ import absolute_import
from path import Path
from pycropml.formater_f90 import formater
import six
import os
from pycropml.composition import model_parser
class Model2Package(object):
... | 39.721893 | 129 | 0.496648 |
0be94a5b2bb9944ff66cc2eed932f97c6fb77ef5 | 1,136 | js | JavaScript | App/Admin/ClaimPriceRules/Module.js | Hem/Bootstrap3x | f9e35bee9563cbb0a8d065ad1965319e33e0f50d | [
"MIT"
] | null | null | null | App/Admin/ClaimPriceRules/Module.js | Hem/Bootstrap3x | f9e35bee9563cbb0a8d065ad1965319e33e0f50d | [
"MIT"
] | null | null | null | App/Admin/ClaimPriceRules/Module.js | Hem/Bootstrap3x | f9e35bee9563cbb0a8d065ad1965319e33e0f50d | [
"MIT"
] | null | null | null | (function() {
"use strict";
angular.module('app')
.config(function ($urlMatcherFactoryProvider, $stateProvider /*, $urlRouterProvider, $locationProvider*/) {
$urlMatcherFactoryProvider.caseInsensitive(true);
$urlMatcherFactoryProvider.strictMode(false);
// when ... | 37.866667 | 115 | 0.583627 |
072466f3574310bc6971fddefb23cfbf2a8c3faa | 401 | swift | Swift | Raise/Utility/Extensions/UIScrollViewExtensions.swift | RaiseSoftware/Raise-iOS | d8fbe36f9fb4d8c5b401f6ddc1f515051d80203b | [
"MIT"
] | 3 | 2018-02-01T02:22:54.000Z | 2018-02-03T22:21:38.000Z | Raise/Utility/Extensions/UIScrollViewExtensions.swift | RaiseSoftware/Raise-iOS | d8fbe36f9fb4d8c5b401f6ddc1f515051d80203b | [
"MIT"
] | 1 | 2019-03-12T00:56:28.000Z | 2019-03-12T00:56:28.000Z | Raise/Utility/Extensions/UIScrollViewExtensions.swift | RaiseSoftware/Raise-iOS | d8fbe36f9fb4d8c5b401f6ddc1f515051d80203b | [
"MIT"
] | null | null | null | //
// UIScrollViewExtensions.swift
// Raise
//
// Created by Stephen Hayes on 3/3/19.
// Copyright © 2019 Raise Software. All rights reserved.
//
import UIKit
extension UIScrollView {
func scrollToPage(page: Int, animated: Bool = true) {
var frame = self.frame
frame.origin.x = frame.size.widt... | 21.105263 | 57 | 0.665835 |
967e69adcc1633f59f3f1bbacbaaff113cd82b95 | 1,191 | php | PHP | common/modules/app/models/Options.php | MComScience/santipabprint | e64855a201a311ec73b6bba84bde12be4186247d | [
"BSD-3-Clause"
] | null | null | null | common/modules/app/models/Options.php | MComScience/santipabprint | e64855a201a311ec73b6bba84bde12be4186247d | [
"BSD-3-Clause"
] | null | null | null | common/modules/app/models/Options.php | MComScience/santipabprint | e64855a201a311ec73b6bba84bde12be4186247d | [
"BSD-3-Clause"
] | null | null | null | <?php
/**
* Created by PhpStorm.
* User: Tanakorn
* Date: 20/1/2562
* Time: 21:35
*/
namespace common\modules\app\models;
use yii\base\Model;
class Options extends Model
{
public $paper_size;
public $diecut;
public $before_print;
public $after_print;
public $coating;
public $fold;
pub... | 23.82 | 49 | 0.518052 |
2038332fd5885a2e218add629c0fd213fedec642 | 1,819 | swift | Swift | GeofencingRegion/Classes/GeofencingModel.swift | sreenathtv18/GeofencingRegion | f02e2c70a4b489db50224dc21e123efbb9a548e9 | [
"MIT"
] | null | null | null | GeofencingRegion/Classes/GeofencingModel.swift | sreenathtv18/GeofencingRegion | f02e2c70a4b489db50224dc21e123efbb9a548e9 | [
"MIT"
] | null | null | null | GeofencingRegion/Classes/GeofencingModel.swift | sreenathtv18/GeofencingRegion | f02e2c70a4b489db50224dc21e123efbb9a548e9 | [
"MIT"
] | null | null | null | //
// GeofencingModel.swift
// Geofencing Demo
//
// Created by Sreenath on 17/12/19.
// Copyright © 2019 Sreenath. All rights reserved.
//
import CoreLocation
public struct Coordinate {
public let latitude: CLLocationDegrees
public let longitude: CLLocationDegrees
let radius: CLLocationDistance... | 35.666667 | 132 | 0.662452 |
5b50a9bfa0736d023c884be3b2be351dcd968cf5 | 1,167 | h | C | OutPutHeaders/WCPayCreditPayFillAllIdentifierInfoViewController.h | cocos543/WeChatTimeLineRobot | 1e93480e502e36ca9a21a506f481aa1fcb70ac4b | [
"MIT"
] | 106 | 2016-04-09T01:16:14.000Z | 2021-06-04T00:20:24.000Z | OutPutHeaders/WCPayCreditPayFillAllIdentifierInfoViewController.h | cocos543/WeChatTimeLineRobot | 1e93480e502e36ca9a21a506f481aa1fcb70ac4b | [
"MIT"
] | 2 | 2017-06-13T09:41:29.000Z | 2018-03-26T03:32:07.000Z | OutPutHeaders/WCPayCreditPayFillAllIdentifierInfoViewController.h | cocos543/WeChatTimeLineRobot | 1e93480e502e36ca9a21a506f481aa1fcb70ac4b | [
"MIT"
] | 58 | 2016-04-28T09:52:08.000Z | 2021-12-25T06:42:14.000Z | /**
* This header is generated by class-dump-z 0.2a.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
#import "WeChat-Structs.h"
#import "WCPayBaseViewController.h"
@class WCBaseKeyboardToolBar, WCPayTenpaySecureCtrlItem, WCBaseTextFieldItem, UIButton, WCBizInfoGroup;... | 29.923077 | 103 | 0.810626 |
87908361e0cf128964a5127b532c1737e45382d0 | 901 | html | HTML | manuscript/page-967/body.html | marvindanig/uncle-tom-s-cabin | 70d4a8750aa95eb721156179b4aebf20dba0ed98 | [
"CECILL-B"
] | null | null | null | manuscript/page-967/body.html | marvindanig/uncle-tom-s-cabin | 70d4a8750aa95eb721156179b4aebf20dba0ed98 | [
"CECILL-B"
] | null | null | null | manuscript/page-967/body.html | marvindanig/uncle-tom-s-cabin | 70d4a8750aa95eb721156179b4aebf20dba0ed98 | [
"CECILL-B"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><p> The “Emperor” Dessalines, come to power in 1804, massacred all the whites on the island. Haitian bloodshed became an argument to show the barbarous nature of the Negro, a doctrine Wendell Phillips sought to combat in his celebrated lecture on Toussaint L... | 901 | 901 | 0.782464 |
1cc1c1b47afd6f49c1a697b87cb3313f7d74ca3a | 646 | sql | SQL | backend/scripts/4 - SP_AddEdit_Specialist.sql | dnnxl/Project-snakes | d2c162d72a230f67634985c810de6751dc7bc7eb | [
"FTL"
] | null | null | null | backend/scripts/4 - SP_AddEdit_Specialist.sql | dnnxl/Project-snakes | d2c162d72a230f67634985c810de6751dc7bc7eb | [
"FTL"
] | null | null | null | backend/scripts/4 - SP_AddEdit_Specialist.sql | dnnxl/Project-snakes | d2c162d72a230f67634985c810de6751dc7bc7eb | [
"FTL"
] | null | null | null | CREATE DEFINER=`root`@`localhost` PROCEDURE `specialistAddOrEdit`(
IN _nbSpecialist INT,
IN _nameSpecialist varchar(45),
IN _passwordSpecialist varchar(45),
IN _authorAnswer varchar(45)
)
BEGIN
IF _nbSpecialist = 0 THEN
INSERT INTO specialist(NameSpecialist, PaswordSpecialist, AuthorAnswer)
VALUES(_name... | 30.761905 | 73 | 0.78483 |
95b79caee2ec43bfbc2fd81ac3f01ca47be9685f | 1,920 | css | CSS | assest/css/home.css | dilipsuthar1999/music_mood | cf5bcd299bfb6ffa2a235aab59c7382bfc273c4f | [
"MIT"
] | null | null | null | assest/css/home.css | dilipsuthar1999/music_mood | cf5bcd299bfb6ffa2a235aab59c7382bfc273c4f | [
"MIT"
] | null | null | null | assest/css/home.css | dilipsuthar1999/music_mood | cf5bcd299bfb6ffa2a235aab59c7382bfc273c4f | [
"MIT"
] | null | null | null | body{
font-family: 'Sansita Swashed', cursive;
}
.navbar{
background-color: #FFFFFF;
padding-right: 100px;
padding-left: 100px;
}
.navbar-brand{
color: #4d4d4d;
font-weight: bold;
text-shadow: 2px 2px 2px #cccccc;
font-size: 30px;
}
.navbar-brand:hover{
color: #4d4d4d;
}
.navbar-toggler{
border: 1px sol... | 12.8 | 54 | 0.642188 |
39b7748fa544c560d1f4c10eff8d20b9678cca19 | 3,459 | js | JavaScript | js/app/quad.js | felixpalmer/photo.gl | 5c94015a80054192d6a11b5bf814f94a5e5d0b76 | [
"MIT"
] | 25 | 2015-02-04T10:42:43.000Z | 2022-01-04T10:15:11.000Z | js/app/quad.js | mcanthony/photo.gl | 5c94015a80054192d6a11b5bf814f94a5e5d0b76 | [
"MIT"
] | null | null | null | js/app/quad.js | mcanthony/photo.gl | 5c94015a80054192d6a11b5bf814f94a5e5d0b76 | [
"MIT"
] | 5 | 2015-10-04T06:22:46.000Z | 2019-10-23T16:51:13.000Z | define( [ 'gl', 'params', 'utils', 'shader!examples.vert', 'shader!examples.frag', 'shader!image.frag', 'shader!simple.vert', 'shader!simple.frag'],
function ( gl, params, utils, examplesVert, examplesFrag, imageFrag, simpleVert, simpleFrag ) {
var quad = {
init: function () {
console.log( 'Initialized quad... | 40.694118 | 148 | 0.618098 |