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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f56a5382085c59996a13a27ce304677aefeef908 | 3,282 | sql | SQL | utils/Teme/Tema6-PSGBD/Ex1/Ghergheluca_Eduard_B3_6_1.sql | procateodor/IngineriaProgramarii-B3-Proiect | a25fd065d30c1d2c8797707950fc89728110910c | [
"MIT"
] | 2 | 2020-07-22T16:37:25.000Z | 2020-08-15T00:22:23.000Z | utils/Teme/Tema6-PSGBD/Ex1/Ghergheluca_Eduard_B3_6_1.sql | procateodor/IngineriaProgramarii-B3-Proiect | a25fd065d30c1d2c8797707950fc89728110910c | [
"MIT"
] | 1 | 2018-04-10T07:25:26.000Z | 2018-04-10T07:25:26.000Z | utils/Teme/Tema6-PSGBD/Ex1/Ghergheluca_Eduard_B3_6_1.sql | procateodor/IngineriaProgramarii-B3-Proiect | a25fd065d30c1d2c8797707950fc89728110910c | [
"MIT"
] | 2 | 2019-03-03T12:19:39.000Z | 2022-01-10T15:01:48.000Z | set serveroutput on;
drop table masini;
create table masini(serie integer, cars masina);
/
--drop type masina;
CREATE OR REPLACE TYPE masina AS OBJECT
(
nume varchar2(15),
tara varchar2(15),
an_fabricatie integer,
culoare varchar2(15),
member procedure afiseaza_nume,
member procedure afiseaza_culoare,
not final memb... | 26.682927 | 104 | 0.704753 |
9c9b61e56e8b4e5fd32c142e69c333462bf6a8e8 | 34,652 | lua | Lua | resources/Wireshark/WiresharkDissectorFoo/test/lua/tvb.lua | joshis1/C_Programming | 4a8003321251448a167bfca0b595c5eeab88608d | [
"MIT"
] | 2 | 2020-09-11T05:51:42.000Z | 2020-12-31T11:42:02.000Z | resources/Wireshark/WiresharkDissectorFoo/test/lua/tvb.lua | joshis1/C_Programming | 4a8003321251448a167bfca0b595c5eeab88608d | [
"MIT"
] | null | null | null | resources/Wireshark/WiresharkDissectorFoo/test/lua/tvb.lua | joshis1/C_Programming | 4a8003321251448a167bfca0b595c5eeab88608d | [
"MIT"
] | null | null | null | ----------------------------------------
-- script-name: tvb.lua
-- This tests the Tvb/TvbRange and proto_add_XXX_item API.
----------------------------------------
------------- general test helper funcs ------------
local FRAME = "frame"
local OTHER = "other"
local total_tests = 0
local function getTotal()
retu... | 38.891134 | 143 | 0.621061 |
84485368c3f01141408d4dcba053237af0511e66 | 444 | html | HTML | resources/posts/my-fourth-post.html | Polivaresc/code-blog | 51160180b74600c230f580ad29bae8d3d92b9a03 | [
"MIT"
] | null | null | null | resources/posts/my-fourth-post.html | Polivaresc/code-blog | 51160180b74600c230f580ad29bae8d3d92b9a03 | [
"MIT"
] | null | null | null | resources/posts/my-fourth-post.html | Polivaresc/code-blog | 51160180b74600c230f580ad29bae8d3d92b9a03 | [
"MIT"
] | null | null | null | ---
title: My Fourth Post
slug: my-fourth-post
excerpt: Lorem ipsum dolor sit amet, consectetur adipisicing elit.
date: 2021-05-26
---
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus aliquam beatae consequuntur debitis dicta, earum enim error exercitationem fuga fugiat impedit in ipsam iste magn... | 49.333333 | 307 | 0.808559 |
1be51b12d7c0bde385d35f26caec16057dff0343 | 250 | asm | Assembly | programs/oeis/110/A110139.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/110/A110139.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/110/A110139.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A110139: Floor(n/2)^floor(n/2).
; 1,1,1,1,4,4,27,27,256,256,3125,3125,46656,46656,823543,823543,16777216,16777216,387420489,387420489,10000000000,10000000000,285311670611,285311670611,8916100448256,8916100448256,302875106592253
div $0,2
pow $0,$0
| 41.666667 | 195 | 0.792 |
83e6f586b9deac77a43d7952b60f4c75ff7bcfb9 | 1,715 | go | Go | router.go | oujia/gobase-demo | b767739008a8e2398504699b6fd51061c5eb6a22 | [
"MIT"
] | null | null | null | router.go | oujia/gobase-demo | b767739008a8e2398504699b6fd51061c5eb6a22 | [
"MIT"
] | null | null | null | router.go | oujia/gobase-demo | b767739008a8e2398504699b6fd51061c5eb6a22 | [
"MIT"
] | null | null | null | package main
import (
"net/http"
"github.com/gin-gonic/gin"
"github.com/oujia/gobase-demo/controller"
"github.com/oujia/gobase"
"github.com/oujia/gobase-demo/config"
)
var routers = gobase.Routers{
gobase.Router{
http.MethodGet,
"/gobase/get",
func(c *gin.Context) {
gobase.NewResponse(gobase.CODE_NORMA... | 19.055556 | 86 | 0.676385 |
05cf414a48a769eb3ab79909ce9970923807594e | 8,487 | swift | Swift | LD_DYProject/LD_DYProject/Classes/Live/Controller/RoomViewController.swift | Buliceli/LD_DYProject | a54d21a054546f2c095d885a36114e2a519465a0 | [
"Apache-2.0"
] | null | null | null | LD_DYProject/LD_DYProject/Classes/Live/Controller/RoomViewController.swift | Buliceli/LD_DYProject | a54d21a054546f2c095d885a36114e2a519465a0 | [
"Apache-2.0"
] | null | null | null | LD_DYProject/LD_DYProject/Classes/Live/Controller/RoomViewController.swift | Buliceli/LD_DYProject | a54d21a054546f2c095d885a36114e2a519465a0 | [
"Apache-2.0"
] | null | null | null | //
// RoomViewController.swift
// LD_DYProject
//
// Created by 李洞洞 on 2020/5/3.
// Copyright © 2020 李洞洞. All rights reserved.
//
import UIKit
private let kChatToolsViewHeight : CGFloat = 44
private let kGiftlistViewHeight : CGFloat = kScreenH * 0.5
private let kChatContentViewHeight : CGFloat = 200
class RoomView... | 41.4 | 170 | 0.677035 |
6cd58b122c8557db5638fb666733c1de95f330ee | 6,524 | go | Go | generated/go/uisp/client/server/get_nms_update_log_responses.go | byxorna/nycmesh-tool | 6de789c6eb76052169de0a10851f17c1ff2edbd5 | [
"Apache-2.0"
] | 1 | 2022-01-26T00:46:38.000Z | 2022-01-26T00:46:38.000Z | generated/go/uisp/client/server/get_nms_update_log_responses.go | byxorna/nycmesh-tool | 6de789c6eb76052169de0a10851f17c1ff2edbd5 | [
"Apache-2.0"
] | 3 | 2022-02-10T17:48:55.000Z | 2022-03-04T20:37:45.000Z | generated/go/uisp/client/server/get_nms_update_log_responses.go | byxorna/nycmesh-tool | 6de789c6eb76052169de0a10851f17c1ff2edbd5 | [
"Apache-2.0"
] | null | null | null | // Code generated by go-swagger; DO NOT EDIT.
package server
// 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/byxorna/nycmesh-tool/... | 29.926606 | 167 | 0.767474 |
bf41b6224cefa2df9ee21648233d372b685d8c53 | 1,226 | asm | Assembly | 5-BookVersion.asm | TheRealCatherine/MakingGamesForAtari2600-MADS | a8f4863b0ca9796eea9cb20a3bed65b948733643 | [
"BSD-3-Clause"
] | null | null | null | 5-BookVersion.asm | TheRealCatherine/MakingGamesForAtari2600-MADS | a8f4863b0ca9796eea9cb20a3bed65b948733643 | [
"BSD-3-Clause"
] | null | null | null | 5-BookVersion.asm | TheRealCatherine/MakingGamesForAtari2600-MADS | a8f4863b0ca9796eea9cb20a3bed65b948733643 | [
"BSD-3-Clause"
] | null | null | null | ;@com.wudsn.ide.asm.hardware=ATARI2600
icl "vcs.asm"
icl "macro.asm"
opt h-f+l+ ;Create plain 4k ROM file
org $f000 ;start code at $f000
.proc Cart
BGColor = $81; ;declare local (to Cart procedure) variable BGColor at memory address $81
Start
Clean_Start ;macro to safely clear memory and TIA
NextFr... | 20.779661 | 90 | 0.700653 |
0cdf83ec2ee6735ac3ecbd989380ce0f87917a5d | 102 | py | Python | api/queries/models.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 3 | 2019-05-15T09:30:39.000Z | 2020-04-22T16:14:23.000Z | api/queries/models.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 85 | 2019-04-24T10:39:35.000Z | 2022-03-21T14:52:12.000Z | api/queries/models.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 1 | 2021-01-17T11:12:19.000Z | 2021-01-17T11:12:19.000Z | from api.cases.models import Case
class Query(Case):
"""
Base query class
"""
pass
| 10.2 | 33 | 0.588235 |
413bcdeddfec44d02c4f26767e66d0c3f3d3f062 | 1,024 | c | C | ft_stradd.c | jdhaisne/libft | a098c24fdac3b64a9db3638c0420a24e12f7b41c | [
"MIT"
] | null | null | null | ft_stradd.c | jdhaisne/libft | a098c24fdac3b64a9db3638c0420a24e12f7b41c | [
"MIT"
] | null | null | null | ft_stradd.c | jdhaisne/libft | a098c24fdac3b64a9db3638c0420a24e12f7b41c | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_stradd.c :+: :+: :+: ... | 44.521739 | 80 | 0.171875 |
4c11e4b2a767ae6aca7c85e5087f2101494e8be4 | 1,258 | php | PHP | themes/default/views/blog/post/_view.php | BioSin/yupe | 5b5857d6b6726c81cd356d2bc2845976e0775992 | [
"BSD-3-Clause"
] | 1 | 2021-08-23T05:58:37.000Z | 2021-08-23T05:58:37.000Z | themes/default/views/blog/post/_view.php | BioSin/yupe | 5b5857d6b6726c81cd356d2bc2845976e0775992 | [
"BSD-3-Clause"
] | null | null | null | themes/default/views/blog/post/_view.php | BioSin/yupe | 5b5857d6b6726c81cd356d2bc2845976e0775992 | [
"BSD-3-Clause"
] | null | null | null | <div class="post">
<div class="title">
<?php echo CHtml::link(CHtml::encode($data->title), array('/blog/post/show/', 'slug' => $data->slug)); ?>
</div>
<div class="author">
<?php echo Yii::t('blog', 'Опубликовал'); ?>:
<b><?php echo CHtml::link($data->createUser->nick_name, array('/u... | 37 | 147 | 0.472973 |
53d616cf5fde5ae6b2ccf9df80ae10194d7ee16d | 571 | dart | Dart | examples/flutter_punk_api/lib/app.dart | nartawak/rx_state | 24705ef83525d3e04efd9ab12e44ea7817b9365c | [
"MIT"
] | null | null | null | examples/flutter_punk_api/lib/app.dart | nartawak/rx_state | 24705ef83525d3e04efd9ab12e44ea7817b9365c | [
"MIT"
] | null | null | null | examples/flutter_punk_api/lib/app.dart | nartawak/rx_state | 24705ef83525d3e04efd9ab12e44ea7817b9365c | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'punkapi_theme.dart';
import 'routes/detail/detail_route.dart';
import 'routes/master/master_route.dart';
class PunkApiApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: light... | 25.954545 | 58 | 0.683012 |
2a7bdd0620e7fabaa9491d09216494208fce6884 | 6,299 | java | Java | src/main/java/com/qualixium/playnb/filetype/routes/lexer/RoutesLanguageHierarchy.java | Knitter/nb-playframework | 84b92f14a1abfc94fd0dffdeeb61874cae47f8d2 | [
"Apache-2.0"
] | 8 | 2016-10-15T19:58:04.000Z | 2017-12-04T17:29:46.000Z | src/main/java/com/qualixium/playnb/filetype/routes/lexer/RoutesLanguageHierarchy.java | Knitter/nb-playframework | 84b92f14a1abfc94fd0dffdeeb61874cae47f8d2 | [
"Apache-2.0"
] | 7 | 2016-10-15T17:25:10.000Z | 2017-09-25T22:07:26.000Z | src/main/java/com/qualixium/playnb/filetype/routes/lexer/RoutesLanguageHierarchy.java | Knitter/nb-playframework | 84b92f14a1abfc94fd0dffdeeb61874cae47f8d2 | [
"Apache-2.0"
] | 4 | 2017-03-31T21:45:28.000Z | 2018-10-02T07:36:47.000Z | package com.qualixium.playnb.filetype.routes.lexer;
import com.qualixium.playnb.filetype.routes.RoutesLanguage;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.netbeans.spi.lexer.LanguageHierarchy;
import org.netbeans.spi.lexer.Lex... | 45.316547 | 99 | 0.596285 |
fbd41e156cbfa76c6471c7e30e692340d9202452 | 503 | java | Java | src/test/java/org/sedgewick/algorithms/part_one/week_two/question_two/StackWithMaxTest.java | GorchakovIgor/sedgewick-algorithms-coursera | 0f32aa25fed9016b984431799a2a5b89f1f269b8 | [
"MIT"
] | 1 | 2020-11-30T15:07:49.000Z | 2020-11-30T15:07:49.000Z | src/test/java/org/sedgewick/algorithms/part_one/week_two/question_two/StackWithMaxTest.java | vot-developer/sedgewick-algorithms-coursera | 8fbe27837cdb22feb89c3a1fa9175e4b31000e9c | [
"MIT"
] | null | null | null | src/test/java/org/sedgewick/algorithms/part_one/week_two/question_two/StackWithMaxTest.java | vot-developer/sedgewick-algorithms-coursera | 8fbe27837cdb22feb89c3a1fa9175e4b31000e9c | [
"MIT"
] | null | null | null | package org.sedgewick.algorithms.part_one.week_two.question_two;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
class StackWithMaxTest {
@Test
void getMax() {
StackWithMax stack = new StackWithMax();
stack.push(1);
stack.push(0);
... | 25.15 | 64 | 0.644135 |
89dc0693f4a7754279c5c6a20713865221180242 | 685 | sql | SQL | wycms/modules/message/install/message.sql | lanling1213/lanlin | 62f404def5d226ba97922c5f0814fdc69ad5c8e7 | [
"BSD-2-Clause"
] | null | null | null | wycms/modules/message/install/message.sql | lanling1213/lanlin | 62f404def5d226ba97922c5f0814fdc69ad5c8e7 | [
"BSD-2-Clause"
] | null | null | null | wycms/modules/message/install/message.sql | lanling1213/lanlin | 62f404def5d226ba97922c5f0814fdc69ad5c8e7 | [
"BSD-2-Clause"
] | null | null | null | DROP TABLE IF EXISTS `wy_message`;
CREATE TABLE `wy_message` (
`messageid` int(10) unsigned NOT NULL AUTO_INCREMENT,
`send_from_id` char(30) NOT NULL DEFAULT '0',
`send_to_id` char(30) NOT NULL DEFAULT '0',
`folder` enum('all','inbox','outbox') NOT NULL,
`status` tinyint(1) unsigned NOT NULL DEFAULT '0',
`m... | 40.294118 | 55 | 0.687591 |
dddca264acf020d6fe18b652d9694ad3264a65e5 | 1,592 | php | PHP | plugins/opCommunityTopicPlugin/apps/mobile_frontend/modules/communityTopic/templates/showSuccess.php | sunglen/op3c | b3c512148089b839e19a4a379e3b142374899706 | [
"Apache-2.0"
] | null | null | null | plugins/opCommunityTopicPlugin/apps/mobile_frontend/modules/communityTopic/templates/showSuccess.php | sunglen/op3c | b3c512148089b839e19a4a379e3b142374899706 | [
"Apache-2.0"
] | null | null | null | plugins/opCommunityTopicPlugin/apps/mobile_frontend/modules/communityTopic/templates/showSuccess.php | sunglen/op3c | b3c512148089b839e19a4a379e3b142374899706 | [
"Apache-2.0"
] | null | null | null | <?php $acl = opCommunityTopicAclBuilder::buildResource($communityTopic, array($sf_user->getMember())) ?>
<?php op_mobile_page_title($community->getName(), $communityTopic->getName()) ?>
<?php echo op_within_page_link() ?>
<?php echo op_format_date($communityTopic->getCreatedAt(), 'MM/dd HH:mm') ?>
<?php if ($community... | 48.242424 | 122 | 0.687186 |
3662c0738445f7f88b6f6e32c480695c322a8657 | 3,349 | swift | Swift | Day 20/main.swift | juliand665/AoC-2018 | e39f58ca4c30a14097ea207cac9b43b21de2009a | [
"MIT"
] | null | null | null | Day 20/main.swift | juliand665/AoC-2018 | e39f58ca4c30a14097ea207cac9b43b21de2009a | [
"MIT"
] | null | null | null | Day 20/main.swift | juliand665/AoC-2018 | e39f58ca4c30a14097ea207cac9b43b21de2009a | [
"MIT"
] | null | null | null | import AoC_Helpers
import SimpleParser
import Collections
import HandyOperators
import Darwin
extension Direction {
init?(rawCardinal: Character) {
switch rawCardinal {
case "N": self = .up
case "E": self = .right
case "S": self = .down
case "W": self = .left
default: return nil
}
}
var cardinal: St... | 22.032895 | 91 | 0.662287 |
891c68ae22c0176542879bfe86f0c533daedec80 | 1,299 | swift | Swift | deeper/Sources/Services/Daum Search/DaumSearchService.swift | statios/deeper | 8720943b008c1ec975838e43652cdd0983ddd1b1 | [
"MIT"
] | null | null | null | deeper/Sources/Services/Daum Search/DaumSearchService.swift | statios/deeper | 8720943b008c1ec975838e43652cdd0983ddd1b1 | [
"MIT"
] | null | null | null | deeper/Sources/Services/Daum Search/DaumSearchService.swift | statios/deeper | 8720943b008c1ec975838e43652cdd0983ddd1b1 | [
"MIT"
] | null | null | null | //
// DaumSearchService.swift
// deeper
//
// Created by KIHYUN SO on 2021/02/28.
//
import Foundation
import RxSwift
import RxMoya
import Moya
import UIKit
protocol DaumSearchServiceType {
var provider: NetworkProvider<DaumSearchAPI> { get }
func request<T: Codable>(
to router: DaumSearchAPI,
type: T.... | 23.196429 | 91 | 0.65204 |
94d5844d75b3a014a40e0e8d2e247cc1bb1741cf | 296 | dart | Dart | lib/utils/price.util.dart | srvaz/aog | 04003688ed5201a4bb27280a317df92bc2c097aa | [
"MIT"
] | null | null | null | lib/utils/price.util.dart | srvaz/aog | 04003688ed5201a4bb27280a317df92bc2c097aa | [
"MIT"
] | null | null | null | lib/utils/price.util.dart | srvaz/aog | 04003688ed5201a4bb27280a317df92bc2c097aa | [
"MIT"
] | null | null | null | enum Fuel {
alc,
gas,
}
class PriceUtils {
final double alcPrice;
final double gasPrice;
PriceUtils({
this.alcPrice,
this.gasPrice,
});
double calculateFuelRatio() => alcPrice / gasPrice;
Fuel winningFuel() => this.calculateFuelRatio() >= 0.7 ? Fuel.gas : Fuel.alc;
}
| 15.578947 | 79 | 0.655405 |
3d748c8180f893edd3583c47bdd13ea152f5fc1e | 11,456 | rs | Rust | components/sup/src/manager/service/supervisor.rs | Themodestduckling/habitat | 9d936ea6692ca7eb3d6bae78fb6b4ca0ab893194 | [
"Apache-2.0"
] | null | null | null | components/sup/src/manager/service/supervisor.rs | Themodestduckling/habitat | 9d936ea6692ca7eb3d6bae78fb6b4ca0ab893194 | [
"Apache-2.0"
] | null | null | null | components/sup/src/manager/service/supervisor.rs | Themodestduckling/habitat | 9d936ea6692ca7eb3d6bae78fb6b4ca0ab893194 | [
"Apache-2.0"
] | null | null | null | /// Supervise a service.
///
/// The Supervisor is responsible for running any services we are asked to start. It handles
/// spawning the new process, watching for failure, and ensuring the service is either up or
/// down. If the process dies, the Supervisor will restart it.
use super::{terminator,
Proces... | 37.194805 | 99 | 0.501746 |
ccfd7a538365e0a01d57436b56b5ebc811066be1 | 14,611 | swift | Swift | Shared/SCNText2D.swift | shipyard-games/SCNText2D | 88f0b4da36072e6a9537b88eab54df9b5f3893cb | [
"MIT"
] | 6 | 2020-03-17T15:52:35.000Z | 2020-06-25T14:59:41.000Z | Shared/SCNText2D.swift | tsharju/SCNText2D | 88f0b4da36072e6a9537b88eab54df9b5f3893cb | [
"MIT"
] | 3 | 2019-04-17T08:23:52.000Z | 2020-06-03T09:53:36.000Z | Shared/SCNText2D.swift | shipyard-games/SCNText2D | 88f0b4da36072e6a9537b88eab54df9b5f3893cb | [
"MIT"
] | 1 | 2021-06-21T07:53:25.000Z | 2021-06-21T07:53:25.000Z | //
// SCNText2D.swift
// SCNText2D
//
// Created by Teemu Harju on 10/02/2019.
//
import Foundation
import SceneKit
import Metal
import MetalKit
public class SCNText2D {
public struct SDFParams {
let smoothing: Float
let fontWidth: Float
let outlineWidth: Float
let shadowWi... | 40.812849 | 190 | 0.568065 |
fb266325e78087e3416e93723e9e6a6c6b659304 | 2,325 | h | C | sources/fs/fuse/mt_fuse.h | fuldaros/paperplane_kernel_wileyfox-spark | bea244880d2de50f4ad14bb6fa5777652232c033 | [
"Apache-2.0"
] | 2 | 2018-03-09T23:59:27.000Z | 2018-04-01T07:58:39.000Z | sources/fs/fuse/mt_fuse.h | fuldaros/paperplane_kernel_wileyfox-spark | bea244880d2de50f4ad14bb6fa5777652232c033 | [
"Apache-2.0"
] | null | null | null | sources/fs/fuse/mt_fuse.h | fuldaros/paperplane_kernel_wileyfox-spark | bea244880d2de50f4ad14bb6fa5777652232c033 | [
"Apache-2.0"
] | 3 | 2017-06-24T20:23:09.000Z | 2018-03-25T04:30:11.000Z | /*
FUSE: file io log
Copyright (C) 2015 Perry Hsu <perry.hsu@mediatek.com>
This program can be distributed under the terms of the GNU GPL.
See the file COPYING.
*/
#ifndef _FS_MT_FUSE_H
#define _FS_MT_FUSE_H
#include <linux/fuse.h>
#include <linux/fs.h>
void fuse_request_send_background_ex(struct fuse_conn *... | 24.21875 | 105 | 0.752688 |
5a13d0881ab6df703699429e21122d8ed8c1270a | 2,415 | swift | Swift | Tests/AceLayoutTests/Helpers/Assertions.swift | jrsaruo/AceLayout | 6f8ef9fe2a3d97fe64b34f2eeefe6147828793ba | [
"MIT"
] | null | null | null | Tests/AceLayoutTests/Helpers/Assertions.swift | jrsaruo/AceLayout | 6f8ef9fe2a3d97fe64b34f2eeefe6147828793ba | [
"MIT"
] | 8 | 2021-12-31T16:23:07.000Z | 2022-03-19T10:50:30.000Z | Tests/AceLayoutTests/Helpers/Assertions.swift | jrsaruo/AceLayout | 6f8ef9fe2a3d97fe64b34f2eeefe6147828793ba | [
"MIT"
] | null | null | null | //
// Assertions.swift
//
//
// Created by Yusaku Nishi on 2021/12/13.
//
import XCTest
import AceLayout
func assertEqual(_ constraints1: [NSLayoutConstraint],
_ constraints2: [NSLayoutConstraint],
file: StaticString = #file,
line: UInt = #line) {
XCTAssertEq... | 47.352941 | 123 | 0.633954 |
e44c98e843abd3207c4b51405a7a0f149598662a | 1,076 | asm | Assembly | programs/oeis/047/A047325.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/047/A047325.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/047/A047325.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A047325: Numbers that are congruent to {1, 2, 5, 6} mod 7.
; 1,2,5,6,8,9,12,13,15,16,19,20,22,23,26,27,29,30,33,34,36,37,40,41,43,44,47,48,50,51,54,55,57,58,61,62,64,65,68,69,71,72,75,76,78,79,82,83,85,86,89,90,92,93,96,97,99,100,103,104,106,107,110,111,113,114,117,118,120,121,124,125,127,128,131,132,134,135,138,139,... | 89.666667 | 938 | 0.712825 |
e02aabfa5c379bfcf5395a9e613a435156ea5fb3 | 447 | swift | Swift | CarBooking/Classes/Extensions/Date.swift | omiz/CarBooking | bf733d2a0ce115c6da4ac8c57f5d1edfedd5f5c5 | [
"MIT"
] | null | null | null | CarBooking/Classes/Extensions/Date.swift | omiz/CarBooking | bf733d2a0ce115c6da4ac8c57f5d1edfedd5f5c5 | [
"MIT"
] | null | null | null | CarBooking/Classes/Extensions/Date.swift | omiz/CarBooking | bf733d2a0ce115c6da4ac8c57f5d1edfedd5f5c5 | [
"MIT"
] | null | null | null | //
// Date.swift
// CarBooking
//
// Created by Omar Allaham on 10/20/17.
// Copyright © 2017 Omar Allaham. All rights reserved.
//
import Foundation
extension Date {
var formatted: String {
let formatter = DateFormatter()
formatter.dateStyle = .medium
formatter.timeStyle = .s... | 19.434783 | 55 | 0.615213 |
c7cf69968090cbcfcb99fe62256936d46d3fef76 | 20,203 | py | Python | gmso/tests/test_forcefield.py | justinGilmer/gmso | 8f58b22e49bc55623e200bddfb779917ec5d9d6e | [
"MIT"
] | 1 | 2020-02-28T21:14:35.000Z | 2020-02-28T21:14:35.000Z | gmso/tests/test_forcefield.py | justinGilmer/gmso | 8f58b22e49bc55623e200bddfb779917ec5d9d6e | [
"MIT"
] | 2 | 2020-05-23T03:46:54.000Z | 2020-05-23T03:50:05.000Z | gmso/tests/test_forcefield.py | justinGilmer/gmso | 8f58b22e49bc55623e200bddfb779917ec5d9d6e | [
"MIT"
] | 1 | 2021-05-17T14:50:26.000Z | 2021-05-17T14:50:26.000Z | import lxml
import pytest
import unyt as u
from lxml.etree import DocumentInvalid
from sympy import sympify
from gmso.core.forcefield import ForceField
from gmso.exceptions import (
ForceFieldParseError,
MissingAtomTypesError,
MissingPotentialError,
)
from gmso.tests.base_test import BaseTest
from gmso.tes... | 36.271095 | 105 | 0.593575 |
5776f7b0e4732c6ac4a7c0dd5d2701ff00cf506c | 539 | swift | Swift | DeclarativeUI/Classes/UI/FontIcon.swift | Holistic-Apps-LTDA/DeclarativeUI | 70dc37430b1c00e7888ffc09d095317296d69969 | [
"MIT"
] | 1 | 2022-03-21T15:42:23.000Z | 2022-03-21T15:42:23.000Z | DeclarativeUI/Classes/UI/FontIcon.swift | Holistic-Apps-LTDA/DeclarativeUI | 70dc37430b1c00e7888ffc09d095317296d69969 | [
"MIT"
] | null | null | null | DeclarativeUI/Classes/UI/FontIcon.swift | Holistic-Apps-LTDA/DeclarativeUI | 70dc37430b1c00e7888ffc09d095317296d69969 | [
"MIT"
] | null | null | null | public struct FontIcon: Hashable {
public let name: String
public let unicode: String
public let font: Font
public init(name: String, unicode: String, font: Font) {
self.name = name
self.unicode = unicode
self.font = font
}
public static let empty = FontIcon... | 29.944444 | 97 | 0.625232 |
56b2d67d4158f06f7dfb211dd72158a67f104a09 | 2,813 | ts | TypeScript | modules/json/src/lib/parser/streaming-json-parser.ts | nreese/loaders.gl | 88bec59eb3f3b06bce3dd873af47f945868c81a6 | [
"Apache-2.0"
] | 291 | 2020-04-16T15:06:04.000Z | 2022-03-25T03:04:39.000Z | modules/json/src/lib/parser/streaming-json-parser.ts | nreese/loaders.gl | 88bec59eb3f3b06bce3dd873af47f945868c81a6 | [
"Apache-2.0"
] | 592 | 2018-12-08T01:09:15.000Z | 2020-04-13T21:14:18.000Z | modules/json/src/lib/parser/streaming-json-parser.ts | nreese/loaders.gl | 88bec59eb3f3b06bce3dd873af47f945868c81a6 | [
"Apache-2.0"
] | 99 | 2020-04-15T14:19:21.000Z | 2022-03-30T14:48:11.000Z | import {default as JSONParser} from './json-parser';
import JSONPath from '../jsonpath/jsonpath';
/**
* The `StreamingJSONParser` looks for the first array in the JSON structure.
* and emits an array of chunks
*/
export default class StreamingJSONParser extends JSONParser {
private jsonPaths: JSONPath[];
privat... | 25.807339 | 77 | 0.611802 |
045b25e1fa4c83311934e27b85be412b68a55668 | 1,286 | java | Java | test/itertools/iterator/PeekableIteratorTest.java | jelsas/JavaItertools | 4bf9caec7e79348b1e84444fcbcc074ab644b58f | [
"Apache-2.0"
] | 1 | 2016-03-18T11:31:45.000Z | 2016-03-18T11:31:45.000Z | test/itertools/iterator/PeekableIteratorTest.java | jelsas/JavaItertools | 4bf9caec7e79348b1e84444fcbcc074ab644b58f | [
"Apache-2.0"
] | null | null | null | test/itertools/iterator/PeekableIteratorTest.java | jelsas/JavaItertools | 4bf9caec7e79348b1e84444fcbcc074ab644b58f | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2010 Jonathan L. Elsas
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 ... | 27.956522 | 75 | 0.694401 |
1004069e91647c7ea791044181a8f847b04465be | 526 | asm | Assembly | programs/oeis/081/A081304.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/081/A081304.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/081/A081304.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A081304: Number of numbers m <= n with prime factors less than 2*spf(m), where spf(m) is the smallest prime factor of m (A020639).
; 1,2,3,4,5,6,7,8,9,9,10,11,12,12,13,14,15,16,17,17,17,17,18,19,20,20,21,21,22,22,23,24,24,24,25,26,27,27,27,27,28,28,29,29,30,30,31,32,33,33,33,33,34,35,35,35,35,35,36,36,37,37,37,38,38,... | 65.75 | 210 | 0.678707 |
8eff52e9407138a63521243e0fadd726c2469d14 | 4,772 | dart | Dart | lib/src/auth/auth.dart | rockerhieu/grpc-dart | 706c07ef378a5a4ebd2bfb35b465bf11d3845f91 | [
"Apache-2.0"
] | null | null | null | lib/src/auth/auth.dart | rockerhieu/grpc-dart | 706c07ef378a5a4ebd2bfb35b465bf11d3845f91 | [
"Apache-2.0"
] | 1 | 2022-02-02T20:16:00.000Z | 2022-02-02T20:16:00.000Z | lib/src/auth/auth.dart | CDNA-Technologies/grpc-dart | e42a6589e59cde6732ca895ec57aa79475bdad48 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2018, the gRPC project authors. Please see the AUTHORS file
// for details. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apac... | 31.602649 | 80 | 0.705993 |
590447bdeddf2cad19e9ea8f1ec7ad6a5247f4c5 | 614 | sql | SQL | SQL Examples/02 advanced/023802 Stored Procedures.sql | MassStreetUniversity/tutorial-transact-sql | 89b6ffb7ae7242e7fbe6329247890c561e47ee79 | [
"MIT"
] | 1 | 2021-02-04T08:25:23.000Z | 2021-02-04T08:25:23.000Z | SQL Examples/02 advanced/023802 Stored Procedures.sql | MassStreetUniversity/tutorial-transact-sql | 89b6ffb7ae7242e7fbe6329247890c561e47ee79 | [
"MIT"
] | null | null | null | SQL Examples/02 advanced/023802 Stored Procedures.sql | MassStreetUniversity/tutorial-transact-sql | 89b6ffb7ae7242e7fbe6329247890c561e47ee79 | [
"MIT"
] | null | null | null | USE demo
GO
DROP PROCEDURE IF EXISTS usp_LoadPersonTable
GO
CREATE PROCEDURE usp_LoadPersonTable AS
BEGIN
MERGE Person AS target
USING (
SELECT
PersonID,
FirstName,
LastName,
SourceSystemKey
FROM PersonStageTable
) AS source
ON (target.SourceSystemKey = source.SourceSystemKey)
WHEN NOT MATCHED THEN
INSERT (
Pers... | 13.06383 | 52 | 0.812704 |
e9ef017ed500721fa26b7573dd10fddba524e0bc | 12,762 | go | Go | flowtest/routers/commentsRouter_controllers.go | 3xxx/flow-vue.js | deda145265c2e9254267700e5195a57d53d72073 | [
"Apache-2.0"
] | 11 | 2019-03-11T05:46:21.000Z | 2020-12-07T00:52:56.000Z | flowtest/routers/commentsRouter_controllers.go | 3xxx/flow-vue.js | deda145265c2e9254267700e5195a57d53d72073 | [
"Apache-2.0"
] | 6 | 2019-03-18T14:02:53.000Z | 2020-01-11T13:02:11.000Z | flowtest/routers/commentsRouter_controllers.go | 3xxx/flow-vue.js | deda145265c2e9254267700e5195a57d53d72073 | [
"Apache-2.0"
] | 4 | 2019-06-12T01:28:27.000Z | 2020-05-21T10:39:20.000Z | package routers
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/context/param"
)
func init() {
beego.GlobalControllerRouter["github.com/3xxx/flowtest/controllers:MainController"] = append(beego.GlobalControllerRouter["github.com/3xxx/flowtest/controllers:MainController"],
beego.ControllerComments{... | 42.682274 | 178 | 0.763203 |
68596146ac85e9ff80edf716fff863c80ba4bb95 | 66 | html | HTML | index.html | Okrajs/videosforyou.in | 5df6d5c37c3cf5c9f0d065e506045893b0df385b | [
"MIT"
] | 1 | 2015-05-26T19:34:13.000Z | 2015-05-26T19:34:13.000Z | index.html | Okrajs/videosforyou.in | 5df6d5c37c3cf5c9f0d065e506045893b0df385b | [
"MIT"
] | null | null | null | index.html | Okrajs/videosforyou.in | 5df6d5c37c3cf5c9f0d065e506045893b0df385b | [
"MIT"
] | null | null | null | <h1>Hello World</h1>
<p>
I'm <code>videosforyou.in</code>.
</p>
| 13.2 | 35 | 0.606061 |
4091478a1c6d446e76c8919f674a62ba486c2463 | 769 | py | Python | tests/kmedoids/test_kmedoids.py | rayandrews/clustering-algorithm | 14336545b11e25d7259b9f3e9314ea4a36674cc2 | [
"MIT"
] | 1 | 2021-11-03T21:14:08.000Z | 2021-11-03T21:14:08.000Z | tests/kmedoids/test_kmedoids.py | rayandrews/cleverly | 14336545b11e25d7259b9f3e9314ea4a36674cc2 | [
"MIT"
] | null | null | null | tests/kmedoids/test_kmedoids.py | rayandrews/cleverly | 14336545b11e25d7259b9f3e9314ea4a36674cc2 | [
"MIT"
] | null | null | null | import unittest
from numpy import ndarray, testing
from ..context import iris_data, iris_target, check_model_exist, purity_score, print_in_test
from cleverly.kmedoids.KMedoids import KMedoids
class KMedoidsTestSuite(unittest.TestCase):
"""KMedoids test cases."""
@classmethod
def setUpClass(self):
... | 28.481481 | 92 | 0.710013 |
23c8c56f1acc722a4497879efc5d7ecccf51bfd9 | 1,678 | ps1 | PowerShell | src/MsrcSecurityUpdates/Public/Set-MSRCApiKey.ps1 | C0FFEEC0FFEE/MSRC-Microsoft-Security-Updates-API | e8f4d59f0b0876b7fd5ffd62c7a58a873c9cce14 | [
"MIT"
] | null | null | null | src/MsrcSecurityUpdates/Public/Set-MSRCApiKey.ps1 | C0FFEEC0FFEE/MSRC-Microsoft-Security-Updates-API | e8f4d59f0b0876b7fd5ffd62c7a58a873c9cce14 | [
"MIT"
] | null | null | null | src/MsrcSecurityUpdates/Public/Set-MSRCApiKey.ps1 | C0FFEEC0FFEE/MSRC-Microsoft-Security-Updates-API | e8f4d59f0b0876b7fd5ffd62c7a58a873c9cce14 | [
"MIT"
] | 1 | 2020-07-30T11:47:13.000Z | 2020-07-30T11:47:13.000Z | #Requires -Version 3.0
Function Set-MSRCApiKey {
[CmdletBinding(SupportsShouldProcess)]
Param(
[Parameter(Mandatory)]
$ApiKey,
[Parameter()]
[System.Uri]$Proxy,
[Parameter()]
[ValidateNotNull()]
[System.Management.Automation.PSCredential]
[System.Management.Automation.Credential()]
$Pro... | 33.56 | 149 | 0.676996 |
c382a5e5b55f866a177329310fa5bba8b0b1bd6c | 1,606 | rs | Rust | tests/test_utils.rs | jblondin/piske | a989113f9fd62c733f6f1b5ce192248e69d28cd4 | [
"MIT"
] | 5 | 2017-11-26T03:53:01.000Z | 2021-03-20T20:02:38.000Z | tests/test_utils.rs | jblondin/piske | a989113f9fd62c733f6f1b5ce192248e69d28cd4 | [
"MIT"
] | null | null | null | tests/test_utils.rs | jblondin/piske | a989113f9fd62c733f6f1b5ce192248e69d28cd4 | [
"MIT"
] | null | null | null | #![allow(dead_code)]
extern crate tempfile;
extern crate piske;
use std::fs::File;
use piske::value::Value;
use piske::parse::program;
use piske::visitor::{State, SymbolDefineVisitor, TypeComputationVisitor, EvaluateVisitor,
TranspileVisitor};
pub fn expect_prog_with_state(prog: &str, val: Value, mut state: &mu... | 31.490196 | 89 | 0.681818 |
dfc5385bf30bbff13193a337a1a04891ec963a80 | 221 | ts | TypeScript | projects/i18n/languages/vietnamese/addon-commerce.ts | limitofzero/taiga-ui | 25f14d7447c213cbde35b846bb7633b51a332fe8 | [
"Apache-2.0"
] | 2,103 | 2020-09-25T17:41:57.000Z | 2021-12-27T14:22:00.000Z | projects/i18n/languages/vietnamese/addon-commerce.ts | limitofzero/taiga-ui | 25f14d7447c213cbde35b846bb7633b51a332fe8 | [
"Apache-2.0"
] | 747 | 2020-09-25T20:31:55.000Z | 2021-12-27T15:06:57.000Z | projects/i18n/languages/vietnamese/addon-commerce.ts | limitofzero/taiga-ui | 25f14d7447c213cbde35b846bb7633b51a332fe8 | [
"Apache-2.0"
] | 201 | 2020-09-26T17:47:59.000Z | 2021-12-26T19:22:02.000Z | import {LanguageCommerce} from '@taiga-ui/i18n/interfaces';
export const TUI_VIETNAMESE_LANGUAGE_ADDON_COMMERCE: LanguageCommerce = {
cardNumber: ['Số thẻ', 'Số thẻ'],
cardExpiry: ['Hết hạn', 'Ngày hết hạn'],
};
| 31.571429 | 73 | 0.714932 |
0b67517486e91d69f9ba0a1be6a90a8c7366f494 | 507 | py | Python | src/stations/datastructures.py | cwerner/st-folium-demo | 31bfc3184e7e90d1901ab48fd0d4ee6026f97fe6 | [
"Apache-2.0"
] | 1 | 2021-03-19T11:10:04.000Z | 2021-03-19T11:10:04.000Z | src/stations/datastructures.py | cwerner/st-folium-demo | 31bfc3184e7e90d1901ab48fd0d4ee6026f97fe6 | [
"Apache-2.0"
] | null | null | null | src/stations/datastructures.py | cwerner/st-folium-demo | 31bfc3184e7e90d1901ab48fd0d4ee6026f97fe6 | [
"Apache-2.0"
] | null | null | null | from enum import Enum
# ifu
ifu = {"name": "IFU", "geo_lat": 47.476180, "geo_lon": 11.063350}
# tereno stations
tereno_stations = [
{"name": "Fendth", "geo_lat": 47.83243, "geo_lon": 11.06111},
{"name": "Grasswang", "geo_lat": 47.57026, "geo_lon": 11.03189},
{"name": "Rottenbuch", "geo_lat": 47.73032, "ge... | 23.045455 | 69 | 0.601578 |
8172856b27e90b8acd9580b1a5bf2a93c52e70a2 | 1,340 | go | Go | service/group/logic/create_group.go | txchat/dtalk | cbacbfb48fda990f3160cb861e8b43669780cc6d | [
"MIT"
] | 1 | 2022-03-24T08:13:10.000Z | 2022-03-24T08:13:10.000Z | service/group/logic/create_group.go | txchat/dtalk | cbacbfb48fda990f3160cb861e8b43669780cc6d | [
"MIT"
] | null | null | null | service/group/logic/create_group.go | txchat/dtalk | cbacbfb48fda990f3160cb861e8b43669780cc6d | [
"MIT"
] | null | null | null | package logic
import (
"context"
pb "github.com/txchat/dtalk/service/group/api"
"github.com/txchat/dtalk/service/group/model/biz"
"github.com/txchat/dtalk/service/group/service"
)
type CreateGroupLogic struct {
ctx context.Context
svc *service.Service
}
func NewCreateGroupLogic(ctx context.Context, svc *servic... | 20.30303 | 93 | 0.697761 |
8b6a69629d595a9b86b184365a44db0ee9d46db0 | 985,001 | dart | Dart | third_party/googleapis/test/dialogflow/v3_test.dart | DisDis/dslideshow | 58e9b2afbcd43c7c7f99a2382dd109bcef5c4185 | [
"MIT"
] | 1 | 2021-04-29T14:49:00.000Z | 2021-04-29T14:49:00.000Z | third_party/googleapis/test/dialogflow/v3_test.dart | DisDis/dslideshow | 58e9b2afbcd43c7c7f99a2382dd109bcef5c4185 | [
"MIT"
] | null | null | null | third_party/googleapis/test/dialogflow/v3_test.dart | DisDis/dslideshow | 58e9b2afbcd43c7c7f99a2382dd109bcef5c4185 | [
"MIT"
] | 1 | 2021-07-15T18:34:22.000Z | 2021-07-15T18:34:22.000Z | // ignore_for_file: avoid_returning_null
// ignore_for_file: camel_case_types
// ignore_for_file: cascade_invocations
// ignore_for_file: comment_references
// ignore_for_file: file_names
// ignore_for_file: library_names
// ignore_for_file: lines_longer_than_80_chars
// ignore_for_file: non_constant_identifier_names
/... | 36.978676 | 114 | 0.727097 |
05d3b53badcd2e81af63cdcc9647944675b2bdf0 | 1,377 | html | HTML | layouts/partials/head.html | leuzera/now-ui-gohugo-theme | a8c02fe10d87355f2e7fcdce604e5599f44ac25b | [
"MIT"
] | null | null | null | layouts/partials/head.html | leuzera/now-ui-gohugo-theme | a8c02fe10d87355f2e7fcdce604e5599f44ac25b | [
"MIT"
] | null | null | null | layouts/partials/head.html | leuzera/now-ui-gohugo-theme | a8c02fe10d87355f2e7fcdce604e5599f44ac25b | [
"MIT"
] | null | null | null | <head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="viewport" content="width=device-width,minimum-scale=1">
<title>{{- .Site.Title -}}</title>
<!-- Fonts and icons -->
<link href="https://fonts.goo... | 44.419355 | 198 | 0.633987 |
2a23430b207b95cb71432205d009aa9c8ec4e75c | 13,541 | java | Java | gradoop-flink/src/main/java/org/gradoop/flink/model/api/epgm/LogicalGraphOperators.java | lz56wobe/gradoop | e489782e59d7cac3c63d180ed1a19791175e9617 | [
"Apache-2.0"
] | null | null | null | gradoop-flink/src/main/java/org/gradoop/flink/model/api/epgm/LogicalGraphOperators.java | lz56wobe/gradoop | e489782e59d7cac3c63d180ed1a19791175e9617 | [
"Apache-2.0"
] | null | null | null | gradoop-flink/src/main/java/org/gradoop/flink/model/api/epgm/LogicalGraphOperators.java | lz56wobe/gradoop | e489782e59d7cac3c63d180ed1a19791175e9617 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright © 2014 - 2019 Leipzig University (Database Research Group)
*
* 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
*
* Unles... | 44.396721 | 106 | 0.718928 |
ffe8272be1b4733c12c781faeb41d2a60dbd85e3 | 350 | html | HTML | application/view/view/index/test.html | shikong-sk/ThinkPHP_Study | d6fcb59d27f59b3ff07fe9d3e1963394276f43ee | [
"Apache-2.0"
] | 1 | 2020-05-05T11:03:56.000Z | 2020-05-05T11:03:56.000Z | application/view/view/index/test.html | shikong-sk/ThinkPHP_Study | d6fcb59d27f59b3ff07fe9d3e1963394276f43ee | [
"Apache-2.0"
] | null | null | null | application/view/view/index/test.html | shikong-sk/ThinkPHP_Study | d6fcb59d27f59b3ff07fe9d3e1963394276f43ee | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
Test.html
{$name}
<br>
{literal}
模板原样输出 {$name}
<br>
模板注释方法 {// $name} {/*$name*/}
{/literal}
<br>
<!--加载外置解析库-->
{taglib name="app\taglib\Html"}
{html:font color="red" size="15"}
外置解析库 - 测试... | 11.290323 | 33 | 0.554286 |
2f778c3e5116392d92170abbccc8830c23dc8f2d | 4,279 | php | PHP | module/Core/src/Core/Model/Model.php | romut/ledger | 7d5734a3a07c4791e8b7c27fb186f73e815d6718 | [
"BSD-3-Clause"
] | null | null | null | module/Core/src/Core/Model/Model.php | romut/ledger | 7d5734a3a07c4791e8b7c27fb186f73e815d6718 | [
"BSD-3-Clause"
] | null | null | null | module/Core/src/Core/Model/Model.php | romut/ledger | 7d5734a3a07c4791e8b7c27fb186f73e815d6718 | [
"BSD-3-Clause"
] | null | null | null | <?php
/**
* Created by PhpStorm.
* User: rom
* Date: 30.01.2017
* Time: 10:27
*/
namespace Core\Model;
use Core\Data\DataInterface;
use Core\Exception\DataArrayNotDefinedException;
use Core\Exception\StorageIsNullException;
use Core\Storage\ModelStorageInterface;
abstract class Model implements ModelInterface ... | 22.170984 | 99 | 0.600608 |
3bdc2bf41f3cdb3d2d32209ccd64bf77447e3bf0 | 383 | h | C | Twitter-Dumped/7.51.5/t1/TFNDirectMessageTombstonedCardAttachment.h | ichitaso/TwitterListEnabler | d4d9ba973e59ff7f0d97ae74fc473bdd0aea54df | [
"MIT"
] | 1 | 2019-10-15T09:26:49.000Z | 2019-10-15T09:26:49.000Z | Twitter-Dumped/7.52/TFNDirectMessageTombstonedCardAttachment.h | ichitaso/TwitterListEnabler | d4d9ba973e59ff7f0d97ae74fc473bdd0aea54df | [
"MIT"
] | null | null | null | Twitter-Dumped/7.52/TFNDirectMessageTombstonedCardAttachment.h | ichitaso/TwitterListEnabler | d4d9ba973e59ff7f0d97ae74fc473bdd0aea54df | [
"MIT"
] | 1 | 2019-11-17T06:06:49.000Z | 2019-11-17T06:06:49.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <T1Twitter/TFNDirectMessageAttachment.h>
@interface TFNDirectMessageTombstonedCardAttachment : TFNDirectMessageAttachment
{
}
... | 22.529412 | 90 | 0.746736 |
45ee170103a2d83863cf807c6ce2f28cdb0e361b | 13,554 | rs | Rust | src/lib.rs | paladinsoftware/rust-raytracing | e5731baebc944f1188cd3707a539bde2a0a20f3c | [
"Apache-2.0",
"MIT"
] | null | null | null | src/lib.rs | paladinsoftware/rust-raytracing | e5731baebc944f1188cd3707a539bde2a0a20f3c | [
"Apache-2.0",
"MIT"
] | null | null | null | src/lib.rs | paladinsoftware/rust-raytracing | e5731baebc944f1188cd3707a539bde2a0a20f3c | [
"Apache-2.0",
"MIT"
] | null | null | null | mod utils;
use wasm_bindgen::prelude::*;
use std::fmt;
use web_sys::console;
// When the `wee_alloc` feature is enabled, use `wee_alloc` as the global
// allocator.
#[cfg(feature = "wee_alloc")]
#[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;
#[wasm_bindgen]
pub fn init_panic_hook()... | 28.899787 | 121 | 0.491515 |
19f04e13422338ad674d33db118068ae39844781 | 168 | go | Go | server/api/benchmark/bench_test.go | alex730468/prox1_client_assembly | 1d2b78a8b62ff8c264e370d6527f69ebf185d28c | [
"MIT"
] | null | null | null | server/api/benchmark/bench_test.go | alex730468/prox1_client_assembly | 1d2b78a8b62ff8c264e370d6527f69ebf185d28c | [
"MIT"
] | null | null | null | server/api/benchmark/bench_test.go | alex730468/prox1_client_assembly | 1d2b78a8b62ff8c264e370d6527f69ebf185d28c | [
"MIT"
] | null | null | null | package benchmark1
import (
"fmt"
"testing"
)
func BenchmarkSample(b *testing.B) {
for i := 0; i < 10; i++ {
test := make([]*string, 500)
fmt.Print(test)
}
}
| 12 | 36 | 0.589286 |
b90e41674f3eaca4b28a821b94a8255fbab22d88 | 214 | go | Go | owasp-top10-2016-mobile/m4/note-box/server/app/routes/healthcheck.go | secampos/secDevLabs | 195234205b977cb03d94b75aa61919ea66fb1d5a | [
"BSD-3-Clause"
] | 684 | 2018-12-21T20:08:24.000Z | 2022-03-28T17:39:55.000Z | owasp-top10-2016-mobile/m4/note-box/server/app/routes/healthcheck.go | secampos/secDevLabs | 195234205b977cb03d94b75aa61919ea66fb1d5a | [
"BSD-3-Clause"
] | 306 | 2018-12-18T15:03:54.000Z | 2022-03-31T14:26:52.000Z | owasp-top10-2016-mobile/m4/note-box/server/app/routes/healthcheck.go | secampos/secDevLabs | 195234205b977cb03d94b75aa61919ea66fb1d5a | [
"BSD-3-Clause"
] | 305 | 2018-12-27T18:36:52.000Z | 2022-03-27T22:15:40.000Z | package routes
import (
"net/http"
"github.com/labstack/echo"
)
// Healthcheck returns WORKING! if the API is up and running
func Healthcheck(c echo.Context) error {
return c.JSON(http.StatusOK, "WORKING")
}
| 16.461538 | 60 | 0.728972 |
40a38f818645b5a8277fe2eff740e4fe684eff9e | 456 | py | Python | to_be_a_musician/musician/urls.py | romulojales/to-be-musician | 6654051d275ee53cecc53f34874d959e5e6e4728 | [
"Apache-2.0"
] | 1 | 2020-05-26T23:15:51.000Z | 2020-05-26T23:15:51.000Z | to_be_a_musician/musician/urls.py | romulojales/to-be-musician | 6654051d275ee53cecc53f34874d959e5e6e4728 | [
"Apache-2.0"
] | null | null | null | to_be_a_musician/musician/urls.py | romulojales/to-be-musician | 6654051d275ee53cecc53f34874d959e5e6e4728 | [
"Apache-2.0"
] | null | null | null | from django.conf.urls import patterns, url
from django.contrib.auth.decorators import login_required
from musician.views import SongStateView, MusicianView
song_state_view = login_required(SongStateView.as_view())
urlpatterns = patterns('',
url(r'(?P<state>(learn|learning|learned))/(?P<id>\d+)/$',
song_s... | 32.571429 | 62 | 0.719298 |
e966c5f5883c6e66ef08329425033cf46d0a46fd | 1,791 | ps1 | PowerShell | Set-RegistryPermissions.ps1 | Skatterbrainz/Utilities | fa2b036f098d366eb47bce8409c4ad236c071fa7 | [
"MIT"
] | 1 | 2018-11-13T18:37:20.000Z | 2018-11-13T18:37:20.000Z | Set-RegistryPermissions.ps1 | Skatterbrainz/Utilities | fa2b036f098d366eb47bce8409c4ad236c071fa7 | [
"MIT"
] | null | null | null | Set-RegistryPermissions.ps1 | Skatterbrainz/Utilities | fa2b036f098d366eb47bce8409c4ad236c071fa7 | [
"MIT"
] | null | null | null | <#
refer to: https://msdn.microsoft.com/en-us/library/cs50ebzk(v=vs.110).aspx
#>
function Set-RegistryPermissions {
param (
[parameter(Mandatory=$True)] [string] $KeyPath,
[parameter(Mandatory=$True)] [string] $AccountName,
[parameter(Mandatory=$False)] [string] $OwnerName = "Administ... | 41.651163 | 199 | 0.698492 |
d961a8fa4133ccf331595e4ce769d8622be68b10 | 16 | lua | Lua | nvim/init.lua | pmaresca/.dotfiles | 006d4a06a3dd5186713420dd229d9f0070307a56 | [
"MIT"
] | null | null | null | nvim/init.lua | pmaresca/.dotfiles | 006d4a06a3dd5186713420dd229d9f0070307a56 | [
"MIT"
] | null | null | null | nvim/init.lua | pmaresca/.dotfiles | 006d4a06a3dd5186713420dd229d9f0070307a56 | [
"MIT"
] | null | null | null | require("pman")
| 8 | 15 | 0.6875 |
05d71d760ee55ecbd71093d5d438b4e7c34712c1 | 3,054 | html | HTML | demo.html | kluizeberg/Leaflet.Proj4js | edb3d437d7b80d3d3f7430410ad8e5869799ad1d | [
"MIT"
] | null | null | null | demo.html | kluizeberg/Leaflet.Proj4js | edb3d437d7b80d3d3f7430410ad8e5869799ad1d | [
"MIT"
] | 1 | 2019-04-08T19:33:20.000Z | 2019-04-08T19:33:20.000Z | demo.html | kluizeberg/Leaflet.Proj4js | edb3d437d7b80d3d3f7430410ad8e5869799ad1d | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Demo Leaflet.Proj4js</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.4.0/leaflet.css">
<style>
body {
... | 32.147368 | 230 | 0.692207 |
d1b0b4e0e481cad39eaaf5cba1e3d7e003adb9b8 | 1,803 | ps1 | PowerShell | cleanWindows.ps1 | dragondaud/cleanWindows | b7b99ca95cad4aa8749a22e3f49196c828cf2908 | [
"MIT"
] | 3 | 2018-07-16T16:40:06.000Z | 2018-12-12T18:33:56.000Z | cleanWindows.ps1 | dragondaud/cleanWindows | b7b99ca95cad4aa8749a22e3f49196c828cf2908 | [
"MIT"
] | null | null | null | cleanWindows.ps1 | dragondaud/cleanWindows | b7b99ca95cad4aa8749a22e3f49196c828cf2908 | [
"MIT"
] | null | null | null | <# cleanWindows.ps1 [-verify]
remove bloatware from Windows 10 Build 17134
ps2exe.ps1 cleanWindows.ps1 cleanWindows.exe -requireAdmin -noConfigfile
Copyright (c) 2018 David M Denney
#>
#Requires -Version 4
param (
[switch]$verify = $false
)
function remove-appx {
Param([string]$package)
$a... | 32.196429 | 74 | 0.740433 |
b87e5874f12334688f61a345aa85b62f147f7463 | 203 | sql | SQL | 3. Database & JPA exercise 2/JDBC Studentlist (Optional)/src/main/resources/schema.sql | JoonasKulmala/Palvelinohjelmointi | 077ce903b6fd9a28de23bec4961f87bf8f6ea62d | [
"MIT"
] | null | null | null | 3. Database & JPA exercise 2/JDBC Studentlist (Optional)/src/main/resources/schema.sql | JoonasKulmala/Palvelinohjelmointi | 077ce903b6fd9a28de23bec4961f87bf8f6ea62d | [
"MIT"
] | null | null | null | 3. Database & JPA exercise 2/JDBC Studentlist (Optional)/src/main/resources/schema.sql | JoonasKulmala/Palvelinohjelmointi | 077ce903b6fd9a28de23bec4961f87bf8f6ea62d | [
"MIT"
] | null | null | null | CREATE TABLE IF NOT EXISTS customer (
customer_id int(5) NOT NULL AUTO_INCREMENT,
first_name varchar(50) DEFAULT NULL,
last_name varchar(50) DEFAULT NULL,
PRIMARY KEY(customer_id)
);
| 29 | 47 | 0.719212 |
4321dc967b2c113d30ad61211dad80ec4ea49cbe | 5,023 | dart | Dart | lib/websocket_manager.dart | cjcv123/flutter_websocket_plugin | 77db6eecdd1d166402845369f445f8a8f0ae4cd8 | [
"MIT"
] | 44 | 2019-11-15T19:55:10.000Z | 2021-12-20T16:54:04.000Z | lib/websocket_manager.dart | cjcv123/flutter_websocket_plugin | 77db6eecdd1d166402845369f445f8a8f0ae4cd8 | [
"MIT"
] | 21 | 2019-11-27T04:09:28.000Z | 2022-01-20T14:55:23.000Z | lib/websocket_manager.dart | cjcv123/flutter_websocket_plugin | 77db6eecdd1d166402845369f445f8a8f0ae4cd8 | [
"MIT"
] | 17 | 2020-01-01T09:40:49.000Z | 2022-03-22T04:51:08.000Z | import 'dart:async';
import 'package:flutter/services.dart';
const String _PLUGIN_NAME = 'websocket_manager';
const String _EVENT_CHANNEL_MESSAGE = 'websocket_manager/message';
const String _EVENT_CHANNEL_DONE = '$_PLUGIN_NAME/done';
const String _METHOD_CHANNEL_CREATE = 'create';
const String _METHOD_CHANNEL_CONNECT... | 30.815951 | 82 | 0.699184 |
b1d28b266bf05f167f632b9655d703bc51984647 | 280 | h | C | hal/dir.h | antisvin/er-301 | 54d1e553651b5b653afa318189d813f0b7e12a96 | [
"MIT"
] | 102 | 2021-03-01T10:39:56.000Z | 2022-03-31T00:28:15.000Z | hal/dir.h | antisvin/er-301 | 54d1e553651b5b653afa318189d813f0b7e12a96 | [
"MIT"
] | 62 | 2021-03-01T19:38:54.000Z | 2022-03-21T00:51:24.000Z | hal/dir.h | antisvin/er-301 | 54d1e553651b5b653afa318189d813f0b7e12a96 | [
"MIT"
] | 19 | 2021-03-01T19:52:10.000Z | 2021-07-29T03:25:19.000Z | #pragma once
#include <stdbool.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C"
{
#endif
typedef void *dir_t;
dir_t Dir_open(const char *path);
void Dir_close(dir_t dir);
bool Dir_read(dir_t dir, char **filename, uint32_t *attributes);
#ifdef __cplusplus
}
#endif | 14.736842 | 66 | 0.717857 |
df67505e248215d6e662d4086d1edc616677354f | 10,005 | ps1 | PowerShell | src/BotService/custom/Export-AzBotServiceApp.ps1 | nimaller/azure-powershell | a31eaed8e1d4f52752222d138436ce975b05dd5f | [
"MIT"
] | 3 | 2021-02-08T06:47:47.000Z | 2021-02-08T09:53:19.000Z | src/BotService/custom/Export-AzBotServiceApp.ps1 | nimaller/azure-powershell | a31eaed8e1d4f52752222d138436ce975b05dd5f | [
"MIT"
] | null | null | null | src/BotService/custom/Export-AzBotServiceApp.ps1 | nimaller/azure-powershell | a31eaed8e1d4f52752222d138436ce975b05dd5f | [
"MIT"
] | null | null | null |
# ----------------------------------------------------------------------------------
#
# Copyright Microsoft Corporation
# 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.apa... | 44.865471 | 146 | 0.551524 |
69dbaccb860678bf0deb7b0d721a8fa961c423b8 | 581 | ps1 | PowerShell | src/PSRule.Rules.Kubernetes/rules/Kubernetes.AKS.Rule.ps1 | BernieWhite/PSRule.Kubernetes | 3fe918b4e2b9553828ea37c9b92dd784b7e17b08 | [
"MIT"
] | 7 | 2020-05-09T14:01:14.000Z | 2022-03-03T12:35:17.000Z | src/PSRule.Rules.Kubernetes/rules/Kubernetes.AKS.Rule.ps1 | BernieWhite/PSRule.Kubernetes | 3fe918b4e2b9553828ea37c9b92dd784b7e17b08 | [
"MIT"
] | 21 | 2019-05-07T13:38:01.000Z | 2022-03-25T06:04:59.000Z | src/PSRule.Rules.Kubernetes/rules/Kubernetes.AKS.Rule.ps1 | BernieWhite/PSRule.Rules.Kubernetes | 5a907c0feaddd6db311e60440c71c92ea3206278 | [
"MIT"
] | 5 | 2020-06-30T15:39:18.000Z | 2021-08-08T15:20:11.000Z | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
#
# Validation rules for Azure Kubernetes Service (AKS)
#
# Synopsis: Services should not include a public load balancer
Rule 'Kubernetes.AKS.PublicLB' -Type Service -If { $PSRule.TargetName -ne 'addon-http-application-routing-nginx-ingress' } -... | 34.176471 | 148 | 0.698795 |
895c93885dfbe6f059462263a3ec5c4415227b0e | 4,393 | dart | Dart | social_media_app/lib/pages/news_feed_page.dart | zawhtetnaing10/PADC-Social-Media-App | b50fbadab4cccf1f36c7b881a14f03b24b3938cb | [
"MIT"
] | null | null | null | social_media_app/lib/pages/news_feed_page.dart | zawhtetnaing10/PADC-Social-Media-App | b50fbadab4cccf1f36c7b881a14f03b24b3938cb | [
"MIT"
] | null | null | null | social_media_app/lib/pages/news_feed_page.dart | zawhtetnaing10/PADC-Social-Media-App | b50fbadab4cccf1f36c7b881a14f03b24b3938cb | [
"MIT"
] | null | null | null | import 'package:firebase_crashlytics/firebase_crashlytics.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:social_media_app/blocs/news_feed_bloc.dart';
import 'package:social_media_app/pages/add_new_post_page.dart';
import 'package:social_media_app/pages/login_page... | 31.833333 | 75 | 0.503301 |
d947a2d2086f086991cff50fe35aed9a7cc477b6 | 2,140 | rs | Rust | crates/nu-cli/src/commands/config/get.rs | Amanita-muscaria/nushell | 416ba1407b8553f5da4a6f8ad59c64b85fda3fb4 | [
"MIT"
] | null | null | null | crates/nu-cli/src/commands/config/get.rs | Amanita-muscaria/nushell | 416ba1407b8553f5da4a6f8ad59c64b85fda3fb4 | [
"MIT"
] | null | null | null | crates/nu-cli/src/commands/config/get.rs | Amanita-muscaria/nushell | 416ba1407b8553f5da4a6f8ad59c64b85fda3fb4 | [
"MIT"
] | 1 | 2020-08-10T10:44:28.000Z | 2020-08-10T10:44:28.000Z | use crate::commands::WholeStreamCommand;
use crate::context::CommandRegistry;
use crate::prelude::*;
use nu_errors::ShellError;
use nu_protocol::{ReturnSuccess, Signature, SyntaxShape, UntaggedValue, Value};
use nu_source::Tagged;
pub struct SubCommand;
#[derive(Deserialize)]
pub struct GetArgs {
get: Tagged<Stri... | 25.47619 | 94 | 0.566355 |
bcc55ac860e313bd23a49cf6348a7b47bb50f8f7 | 1,349 | js | JavaScript | src/database/MongoRepository.js | cassioadrianodev/TobiasBot | 1cae6227496d623e5db0dc68eac33207b0fefd8c | [
"0BSD"
] | 5 | 2020-01-28T02:11:12.000Z | 2020-05-05T15:21:47.000Z | src/database/MongoRepository.js | cassiomartimdev/TobiasBot | 1cae6227496d623e5db0dc68eac33207b0fefd8c | [
"0BSD"
] | 96 | 2020-05-14T07:23:19.000Z | 2021-04-07T07:01:09.000Z | src/database/MongoRepository.js | cassiomartimdev/TobiasBot | 1cae6227496d623e5db0dc68eac33207b0fefd8c | [
"0BSD"
] | 7 | 2020-01-30T14:32:20.000Z | 2020-03-31T19:12:11.000Z | const Repository = require('./Repository.js')
const transformProps = require('transform-props')
const castToString = arg => String(arg)
module.exports = class MongoRepository extends Repository {
constructor (mongoose, model) {
super()
if (!mongoose || !model) throw new Error('Mongoose model cannot be null... | 23.258621 | 78 | 0.618977 |
1238ff5055e016858759ce6498dfb7a06dbcce52 | 13,222 | h | C | devel/include/vision_msgs/Detection3D.h | wpirm/catkin_wpirm | 0e474a6ead4e1218f4cb3b87d27cc34e8f665d31 | [
"MIT"
] | null | null | null | devel/include/vision_msgs/Detection3D.h | wpirm/catkin_wpirm | 0e474a6ead4e1218f4cb3b87d27cc34e8f665d31 | [
"MIT"
] | null | null | null | devel/include/vision_msgs/Detection3D.h | wpirm/catkin_wpirm | 0e474a6ead4e1218f4cb3b87d27cc34e8f665d31 | [
"MIT"
] | null | null | null | // Generated by gencpp from file vision_msgs/Detection3D.msg
// DO NOT EDIT!
#ifndef VISION_MSGS_MESSAGE_DETECTION3D_H
#define VISION_MSGS_MESSAGE_DETECTION3D_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include ... | 33.902564 | 441 | 0.682574 |
27040ee2dbeda845ce0bef02e68f7eb57cc780c7 | 218 | h | C | Lib/QPULib.h | kernhanda/QPULib | 3a12ea984488725783922d70d984383535d07ea4 | [
"MIT"
] | 1 | 2019-07-04T06:32:25.000Z | 2019-07-04T06:32:25.000Z | Lib/QPULib.h | kernhanda/QPULib | 3a12ea984488725783922d70d984383535d07ea4 | [
"MIT"
] | null | null | null | Lib/QPULib.h | kernhanda/QPULib | 3a12ea984488725783922d70d984383535d07ea4 | [
"MIT"
] | 1 | 2020-12-10T17:47:44.000Z | 2020-12-10T17:47:44.000Z | #ifndef _QPULIB_H_
#define _QPULIB_H_
#include "qpulib_config.h"
#include "Source/Int.h"
#include "Source/Float.h"
#include "Source/Ptr.h"
#include "Source/Cond.h"
#include "Source/Stmt.h"
#include "Kernel.h"
#endif
| 16.769231 | 26 | 0.738532 |
41ffa285492d72c062032f19d76b98ea40eef0ad | 1,500 | sql | SQL | src/test/resources/randexpr1.test_1807.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 131 | 2015-03-31T18:59:14.000Z | 2022-03-09T09:51:06.000Z | src/test/resources/randexpr1.test_1807.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 20 | 2015-03-31T21:35:38.000Z | 2018-07-02T16:15:51.000Z | src/test/resources/randexpr1.test_1807.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 43 | 2015-04-28T02:01:55.000Z | 2021-06-06T09:33:38.000Z | -- randexpr1.test
--
-- db eval {SELECT coalesce((select c from t1 where - -19-coalesce((select t1.e from t1 where not f<=b-17 or not -13>=f or (select -count(*) from t1) in (select t1.c from t1 union select 17 from t1)),b)*e not between case coalesce((select max(~case when 17>t1.e then d else 13 end) from t1 where... | 375 | 745 | 0.680667 |
9673f18423999f5206eb75eab0bc017cf25243d1 | 1,108 | php | PHP | app/Models/Admin/Category.php | yanchuk-s/Real-Estate | 21707e87fe1ca7fc6f4ff704affd2a98657cbff2 | [
"MIT"
] | null | null | null | app/Models/Admin/Category.php | yanchuk-s/Real-Estate | 21707e87fe1ca7fc6f4ff704affd2a98657cbff2 | [
"MIT"
] | null | null | null | app/Models/Admin/Category.php | yanchuk-s/Real-Estate | 21707e87fe1ca7fc6f4ff704affd2a98657cbff2 | [
"MIT"
] | null | null | null | <?php
namespace App\Models\Admin;
use Illuminate\Database\Eloquent\Model;
class Category extends Model
{
// Disable timestamps
public $timestamps = false;
// Enable columns to be filled with data
protected $fillable = [
'featured_image', 'map_icon', 'alias', 'order',
];
// Getting t... | 26.380952 | 110 | 0.630866 |
c101d4e8d8685d388673ebc289c76b44e402914e | 356 | lua | Lua | .config/nvim/ftplugin/netrw.lua | potamides/dotfiles | 6a61164f662071ff6eced60422f2347927f618f9 | [
"MIT"
] | 63 | 2020-08-06T12:30:50.000Z | 2022-03-26T15:09:51.000Z | .config/nvim/ftplugin/netrw.lua | potamides/dotfiles | 6a61164f662071ff6eced60422f2347927f618f9 | [
"MIT"
] | 2 | 2022-01-27T16:59:10.000Z | 2022-03-31T17:12:15.000Z | .config/nvim/ftplugin/netrw.lua | potamides/dotfiles | 6a61164f662071ff6eced60422f2347927f618f9 | [
"MIT"
] | 7 | 2020-08-08T16:34:06.000Z | 2021-11-23T21:58:55.000Z | --[[
Map bookmark handler to 'b and `b in netrw windows.
--]]
if not vim.b.did_user_ftplugin then
vim.api.nvim_buf_set_keymap(0, "n", "'b", "<Plug>NetrwBookHistHandler_gb", {silent = true, nowait = true})
vim.api.nvim_buf_set_keymap(0, "n", '`b', "<Plug>NetrwBookHistHandler_gb", {silent = true, nowait = true})
... | 35.6 | 108 | 0.69382 |
785a5232384129f2a24174d62d42649ea17fa01a | 4,721 | swift | Swift | ScriptWidget/View/CodeEditor/ScriptCodeEditorView.swift | 0x1306a94/ScriptWidget | 8aed2e999f9336305493f4b43a91d722578921d8 | [
"MIT"
] | 113 | 2021-09-12T01:09:36.000Z | 2022-03-30T17:25:22.000Z | ScriptWidget/View/CodeEditor/ScriptCodeEditorView.swift | 0x1306a94/ScriptWidget | 8aed2e999f9336305493f4b43a91d722578921d8 | [
"MIT"
] | null | null | null | ScriptWidget/View/CodeEditor/ScriptCodeEditorView.swift | 0x1306a94/ScriptWidget | 8aed2e999f9336305493f4b43a91d722578921d8 | [
"MIT"
] | 16 | 2021-09-12T03:06:46.000Z | 2022-03-24T12:08:23.000Z | //
// ScriptCodeEditorView.swift
// ScriptWidget
//
// Created by everettjf on 2020/10/24.
//
import SwiftUI
import SwiftUIX
enum ScriptCodeEditorViewMode {
case creator
case editor
}
struct ScriptCodeEditorNavButtonView: View {
let image: String
let text: String
let action: () -> Void
va... | 35.765152 | 165 | 0.531879 |
7487c03a37832a2f96e83097ac7cd4f2fe1b9740 | 1,805 | swift | Swift | WavesWallet-iOS/CustomViews/AddressBookButton.swift | bianxiang/WavesWallet-iOS-FirebaseRemoved | 4e59840cf4b351db92081455156f00dd9a9fda60 | [
"MIT"
] | null | null | null | WavesWallet-iOS/CustomViews/AddressBookButton.swift | bianxiang/WavesWallet-iOS-FirebaseRemoved | 4e59840cf4b351db92081455156f00dd9a9fda60 | [
"MIT"
] | null | null | null | WavesWallet-iOS/CustomViews/AddressBookButton.swift | bianxiang/WavesWallet-iOS-FirebaseRemoved | 4e59840cf4b351db92081455156f00dd9a9fda60 | [
"MIT"
] | 1 | 2020-10-22T03:01:07.000Z | 2020-10-22T03:01:07.000Z | //
// AddressBookButton.swift
// WavesWallet-iOS
//
// Created by rprokofev on 11/03/2019.
// Copyright © 2019 Waves Platform. All rights reserved.
//
import Foundation
import UIKit
final class AddressBookButton: UIButton {
enum Kind {
case edit
case add
}
override func awakeFromNib(... | 29.112903 | 89 | 0.570083 |
543d993d985ae4b7e5b665faaf0191243095aa4d | 232 | swift | Swift | Xcodes/Frontend/View+Conditional.swift | mohsinalimat/XcodesApp | c52f742556c15e2b73cd483770bda5aefde6318b | [
"MIT"
] | 2,560 | 2021-01-20T13:29:34.000Z | 2022-03-31T21:07:23.000Z | Xcodes/Frontend/View+Conditional.swift | mohsinalimat/XcodesApp | c52f742556c15e2b73cd483770bda5aefde6318b | [
"MIT"
] | 94 | 2021-01-20T05:57:58.000Z | 2022-03-31T10:05:51.000Z | Xcodes/Frontend/View+Conditional.swift | mohsinalimat/XcodesApp | c52f742556c15e2b73cd483770bda5aefde6318b | [
"MIT"
] | 75 | 2021-02-02T12:03:48.000Z | 2022-03-29T03:41:58.000Z | import SwiftUI
extension View {
@ViewBuilder
func `if`<Other: View>(_ predicate: Bool, then: (Self) -> Other) -> some View {
if predicate {
then(self)
} else {
self
}
}
}
| 17.846154 | 83 | 0.491379 |
fb47b147aa0f6608beb12f29e3dd45d2f0b57fd6 | 4,902 | java | Java | src/main/java/com/example/fourthhomeworkrsmciftci/service/LoanService.java | n11-TalentHub-Java-Bootcamp/fourth-homework-rsmciftci | f0c395ca8c1f576af0ed66eeb9284abdd912a7c9 | [
"MIT"
] | null | null | null | src/main/java/com/example/fourthhomeworkrsmciftci/service/LoanService.java | n11-TalentHub-Java-Bootcamp/fourth-homework-rsmciftci | f0c395ca8c1f576af0ed66eeb9284abdd912a7c9 | [
"MIT"
] | null | null | null | src/main/java/com/example/fourthhomeworkrsmciftci/service/LoanService.java | n11-TalentHub-Java-Bootcamp/fourth-homework-rsmciftci | f0c395ca8c1f576af0ed66eeb9284abdd912a7c9 | [
"MIT"
] | null | null | null | package com.example.fourthhomeworkrsmciftci.service;
import com.example.fourthhomeworkrsmciftci.converter.LoanConverter;
import com.example.fourthhomeworkrsmciftci.converter.LoanMapper;
import com.example.fourthhomeworkrsmciftci.dto.LoanDto;
import com.example.fourthhomeworkrsmciftci.dto.LoanSavingDto;
import com.exam... | 39.532258 | 212 | 0.774786 |
756de8bb04545b4b9bd948c698f692d24171edd4 | 613 | c | C | src/gbpAstro/gbpTrees/analysis/find_treesnap_z.c | gbpoole/gbpCode | 5157d2e377edbd4806258d1c16b329373186d43a | [
"MIT"
] | 1 | 2015-10-20T11:39:53.000Z | 2015-10-20T11:39:53.000Z | src/gbpAstro/gbpTrees/analysis/find_treesnap_z.c | gbpoole/gbpCode | 5157d2e377edbd4806258d1c16b329373186d43a | [
"MIT"
] | 2 | 2017-07-30T11:10:49.000Z | 2019-06-18T00:40:46.000Z | src/gbpAstro/gbpTrees/analysis/find_treesnap_z.c | gbpoole/gbpCode | 5157d2e377edbd4806258d1c16b329373186d43a | [
"MIT"
] | 4 | 2015-01-23T00:50:40.000Z | 2016-08-01T08:14:24.000Z | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <gbpLib.h>
#include <gbpMath.h>
#include <gbpHalos.h>
#include <gbpTrees_build.h>
#include <gbpTrees_analysis.h>
int find_treesnap_z(tree_info *trees, double z_obs_exact) {
int i_z_obs = 0;
doubl... | 24.52 | 59 | 0.623165 |
200e7c04c6a98ee8d1d0f96a2c5d690df3fafeb0 | 678 | css | CSS | public/src/components/Info/Info.css | yadleo/Nick-05-05 | 7a19287b4688a5497f41763193918e498ea50980 | [
"MIT"
] | 1 | 2018-11-20T05:29:25.000Z | 2018-11-20T05:29:25.000Z | public/src/components/Info/Info.css | yadleo/Nick-05-05 | 7a19287b4688a5497f41763193918e498ea50980 | [
"MIT"
] | null | null | null | public/src/components/Info/Info.css | yadleo/Nick-05-05 | 7a19287b4688a5497f41763193918e498ea50980 | [
"MIT"
] | null | null | null | .mainWrapper {
visibility: visible;
}
.mainContainer {
max-width: 140rem;
margin-right: auto;
margin-left: auto;
}
.info {
font-size: 1.6rem;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
min-width: 0;
max-width: 100%;
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
-ms-fl... | 12.792453 | 35 | 0.654867 |
f1a750388eef4667ac27b412121353fdbe684ccd | 450 | rb | Ruby | app/models/user_session.rb | blogmitnik/rails2_code | 2392486677fc9828f41f41eac8ba85f81f13fd94 | [
"MIT"
] | null | null | null | app/models/user_session.rb | blogmitnik/rails2_code | 2392486677fc9828f41f41eac8ba85f81f13fd94 | [
"MIT"
] | null | null | null | app/models/user_session.rb | blogmitnik/rails2_code | 2392486677fc9828f41f41eac8ba85f81f13fd94 | [
"MIT"
] | null | null | null | class UserSession < Authlogic::Session::Base
def self.oauth_consumer
OAuth::Consumer.new(APP_CONFIG['api_key'], APP_CONFIG['secret_key'],
{ :site=>"https://api.linkedin.com",
:scheme => :header,
:request_token_url => 'https://api.linkedin.com/uas/oauth/requestToken',
:access_token_url => 'ht... | 45 | 78 | 0.688889 |
4544a3f73d543f57eeb4ec4c6b9a977279255b77 | 482 | kt | Kotlin | kotlin/src/test/kotlinIntegration/com/artemkaxboy/telerest/controller/Extensions.kt | artemkaxboy/LockStockBot | f5f1c80ab020453bb6450d7dfbf537be8885b1e1 | [
"Apache-2.0"
] | null | null | null | kotlin/src/test/kotlinIntegration/com/artemkaxboy/telerest/controller/Extensions.kt | artemkaxboy/LockStockBot | f5f1c80ab020453bb6450d7dfbf537be8885b1e1 | [
"Apache-2.0"
] | 7 | 2020-07-07T07:58:36.000Z | 2020-08-18T13:47:44.000Z | kotlin/src/test/kotlinIntegration/com/artemkaxboy/telerest/controller/Extensions.kt | artemkaxboy/LockStockBot | f5f1c80ab020453bb6450d7dfbf537be8885b1e1 | [
"Apache-2.0"
] | 3 | 2020-07-19T16:26:44.000Z | 2022-03-15T14:02:53.000Z | package com.artemkaxboy.telerest.controller
import org.springframework.http.HttpStatus
import org.springframework.http.MediaType
import org.springframework.test.web.reactive.server.WebTestClient
fun WebTestClient.ResponseSpec.expectJson200() =
expectStatus().isOk.expectHeader().contentType(MediaType.APPLICATION_J... | 40.166667 | 91 | 0.842324 |
81e2f192eecb799eef7d51d8d6a4a0ff8ad19512 | 1,194 | go | Go | daemon/stats.go | lizf-os/docker | 9ad87523c03fb0d313a4170a7f595a95b3d8497b | [
"Apache-2.0"
] | null | null | null | daemon/stats.go | lizf-os/docker | 9ad87523c03fb0d313a4170a7f595a95b3d8497b | [
"Apache-2.0"
] | null | null | null | daemon/stats.go | lizf-os/docker | 9ad87523c03fb0d313a4170a7f595a95b3d8497b | [
"Apache-2.0"
] | 1 | 2019-12-10T14:00:58.000Z | 2019-12-10T14:00:58.000Z | package daemon
import (
"encoding/json"
"io"
"github.com/docker/docker/api/types"
"github.com/docker/docker/daemon/execdriver"
)
func (daemon *Daemon) ContainerStats(name string, stream bool, out io.Writer) error {
updates, err := daemon.SubscribeToContainerStats(name)
if err != nil {
return err
}
var pre... | 22.961538 | 85 | 0.70603 |
c76e29be4b866c0fac39da19f01a2144a435e756 | 553 | asm | Assembly | oeis/013/A013928.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/013/A013928.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/013/A013928.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A013928: Number of (positive) squarefree numbers < n.
; Submitted by Jamie Morken(s2.)
; 0,1,2,3,3,4,5,6,6,6,7,8,8,9,10,11,11,12,12,13,13,14,15,16,16,16,17,17,17,18,19,20,20,21,22,23,23,24,25,26,26,27,28,29,29,29,30,31,31,31,31,32,32,33,33,34,34,35,36,37,37,38,39,39,39,40,41,42,42,43,44,45,45,46,47,47,47,48,49,50,50,... | 30.722222 | 287 | 0.622061 |
a693932216d79f1bd463f7b29a5d0cabd2af8795 | 258 | sql | SQL | docker-db-init-mssql.sql | cresta/schema | 097c015706e7357ddafe85b238e39aa09a76f1d6 | [
"BSD-3-Clause"
] | 40 | 2018-02-27T03:40:19.000Z | 2022-03-29T11:19:00.000Z | docker-db-init-mssql.sql | cresta/schema | 097c015706e7357ddafe85b238e39aa09a76f1d6 | [
"BSD-3-Clause"
] | 17 | 2018-11-13T20:20:05.000Z | 2021-08-13T19:49:01.000Z | docker-db-init-mssql.sql | cresta/schema | 097c015706e7357ddafe85b238e39aa09a76f1d6 | [
"BSD-3-Clause"
] | 13 | 2019-01-31T10:31:13.000Z | 2022-01-05T23:55:46.000Z | CREATE LOGIN test_user WITH PASSWORD = 'Password-123';
GO
CREATE USER test_user FOR LOGIN test_user;
GO
CREATE SCHEMA test_db AUTHORIZATION test_user;
GO
ALTER USER test_user WITH default_schema = test_db;
GO
EXEC sp_addrolemember db_ddladmin, test_user;
GO
| 23.454545 | 54 | 0.825581 |
a1df675cc7902f89636644b0f4aa2e41914429ab | 741 | sql | SQL | importer/src/main/resources/scripts/file-centric/file-centric-snapshot-mrcm-attribute-domain-valid-refsetid.sql | aehrc/release-validation-framework | 8d003f95128f36b48890ab75df817a9b6318d20e | [
"Apache-2.0"
] | 1 | 2021-04-22T00:04:25.000Z | 2021-04-22T00:04:25.000Z | importer/src/main/resources/scripts/file-centric/file-centric-snapshot-mrcm-attribute-domain-valid-refsetid.sql | aehrc/release-validation-framework | 8d003f95128f36b48890ab75df817a9b6318d20e | [
"Apache-2.0"
] | null | null | null | importer/src/main/resources/scripts/file-centric/file-centric-snapshot-mrcm-attribute-domain-valid-refsetid.sql | aehrc/release-validation-framework | 8d003f95128f36b48890ab75df817a9b6318d20e | [
"Apache-2.0"
] | null | null | null | /********************************************************************************
file-centric-snapshot-mrcm-refset-attribute-domain-valid-refsetid.sql
Assertion:
Refset ID is valid in MRCM Attribute Domain Refset snapshot.
********************************************************************************/
insert int... | 46.3125 | 166 | 0.593792 |
83f9494f9b837deb8d300c5594f63c8952c0b4c4 | 5,000 | go | Go | opsmngr/clusters.go | sunny-b/go-client-mongodb-ops-manager | bf37c3aa89f0073592fa9a03c25b94aaccdfe6a7 | [
"Apache-2.0"
] | null | null | null | opsmngr/clusters.go | sunny-b/go-client-mongodb-ops-manager | bf37c3aa89f0073592fa9a03c25b94aaccdfe6a7 | [
"Apache-2.0"
] | 12 | 2021-05-17T08:56:53.000Z | 2022-02-08T13:21:14.000Z | opsmngr/clusters.go | sunny-b/go-client-mongodb-ops-manager | bf37c3aa89f0073592fa9a03c25b94aaccdfe6a7 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 MongoDB 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... | 33.333333 | 139 | 0.6842 |
3396e14b5d6c4a9ae856d639b940759e0b376f56 | 3,937 | swift | Swift | test/IRGen/type_layout_reference_storage.swift | AbdouSarr/swift | 65d8f03448c2c167198148ff0874bd0c57f09bec | [
"Apache-2.0"
] | 17 | 2017-03-07T08:51:45.000Z | 2022-03-24T00:39:22.000Z | test/IRGen/type_layout_reference_storage.swift | AbdouSarr/swift | 65d8f03448c2c167198148ff0874bd0c57f09bec | [
"Apache-2.0"
] | 2 | 2017-07-11T22:20:24.000Z | 2020-07-08T16:48:50.000Z | test/IRGen/type_layout_reference_storage.swift | AbdouSarr/swift | 65d8f03448c2c167198148ff0874bd0c57f09bec | [
"Apache-2.0"
] | 8 | 2016-11-13T18:28:25.000Z | 2021-07-21T19:46:20.000Z | // RUN: %target-swift-frontend -emit-ir %s | %FileCheck %s --check-prefix=CHECK-%target-ptrsize --check-prefix=CHECK
class C {}
protocol P: class {}
protocol Q: class {}
// CHECK: @_TMPV29type_layout_reference_storage26ReferenceStorageTypeLayout = hidden global {{.*}} @create_generic_metadata_ReferenceStorageTypeLayo... | 64.540984 | 150 | 0.643891 |
291f9cee5afa53d09a165503968f3335aabd2b49 | 2,867 | py | Python | python/topology/generator.py | marcfrei/scion | 73d2bf883525c94a6761b015a7af6055154af028 | [
"Apache-2.0"
] | 211 | 2017-12-12T21:40:49.000Z | 2022-03-20T13:45:17.000Z | python/topology/generator.py | marcfrei/scion | 73d2bf883525c94a6761b015a7af6055154af028 | [
"Apache-2.0"
] | 1,360 | 2017-11-30T18:29:31.000Z | 2022-03-28T09:31:58.000Z | python/topology/generator.py | marcfrei/scion | 73d2bf883525c94a6761b015a7af6055154af028 | [
"Apache-2.0"
] | 85 | 2017-11-30T16:30:21.000Z | 2022-03-08T17:22:48.000Z | #!/usr/bin/env python3
# Copyright 2014 ETH Zurich
# Copyright 2018 ETH Zurich, Anapaya Systems
#
# 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.... | 34.542169 | 97 | 0.639693 |
9b9284a22817adf1f6328d794c6704b750eb8fb8 | 1,488 | js | JavaScript | node_modules/mdi-material-ui/CellphoneSettingsVariant.js | Ashvith07/gwl-adventum-user | 4603a15afd6562b6e1cf77512a201114b8f8a5ff | [
"MIT"
] | null | null | null | node_modules/mdi-material-ui/CellphoneSettingsVariant.js | Ashvith07/gwl-adventum-user | 4603a15afd6562b6e1cf77512a201114b8f8a5ff | [
"MIT"
] | 2 | 2021-05-11T05:44:20.000Z | 2022-01-27T16:09:36.000Z | node_modules/mdi-material-ui/CellphoneSettingsVariant.js | Ashvith07/gwl-adventum-user | 4603a15afd6562b6e1cf77512a201114b8f8a5ff | [
"MIT"
] | 1 | 2020-07-20T20:50:01.000Z | 2020-07-20T20:50:01.000Z | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _createIcon = require('./util/createIcon');
var _createIcon2 = _interopRequireDefault(_createIcon);
function _interopRequireDefault(obj) { return obj && o... | 70.857143 | 1,031 | 0.688172 |
7f9b6beae713d5a26c50ed017a2bf99dccc6f080 | 961 | rs | Rust | src/libs/my_mod.rs | byteshiva/rust-kickstart | 7594b048cb393d55e5ff3383358723992e8d3770 | [
"Apache-2.0"
] | 1 | 2020-02-17T06:19:29.000Z | 2020-02-17T06:19:29.000Z | src/libs/my_mod.rs | byteshiva/rust-kickstart | 7594b048cb393d55e5ff3383358723992e8d3770 | [
"Apache-2.0"
] | 9 | 2020-02-13T16:28:00.000Z | 2020-02-22T11:23:07.000Z | src/libs/my_mod.rs | byteshiva/rust-kickstart | 7594b048cb393d55e5ff3383358723992e8d3770 | [
"Apache-2.0"
] | null | null | null | // A module named `libs`
mod libs {
// Items in modules default to private visibility.
fn private_function() {
println!("called `libs::private_function()`");
}
// Use the `pub` modifier to override default visibility.
pub fn function() {
println!("called `libs::function()`");
}
... | 29.121212 | 74 | 0.623309 |
c35923cc64a3344815231d74b240442b20fe613d | 2,048 | dart | Dart | packages/smooth_app/lib/temp/product_preferences_selection.dart | PatcharaMoolmai/smooth-app | ece4d5b49b3d8046e444d53d16bb1ed0e5827614 | [
"Apache-2.0"
] | null | null | null | packages/smooth_app/lib/temp/product_preferences_selection.dart | PatcharaMoolmai/smooth-app | ece4d5b49b3d8046e444d53d16bb1ed0e5827614 | [
"Apache-2.0"
] | null | null | null | packages/smooth_app/lib/temp/product_preferences_selection.dart | PatcharaMoolmai/smooth-app | ece4d5b49b3d8046e444d53d16bb1ed0e5827614 | [
"Apache-2.0"
] | null | null | null | /// Where the preferences regarding the importance of attributes are accessed
///
/// You are free to use whatever solution to set and get
/// the importance of an attribute, and to notify listeners after refresh.
/// E.g. `SharedPreferences` and provider.
/// Some simple app may even use simple fix solution.
class Pro... | 29.681159 | 77 | 0.66748 |
e51f431931a19c48c55474416f25c5bd88cc035a | 8,302 | html | HTML | index.html | james-iorgovan/IT202-project3 | 167945d1c8c4e8741d76e4040e6a7afabb559973 | [
"MIT"
] | null | null | null | index.html | james-iorgovan/IT202-project3 | 167945d1c8c4e8741d76e4040e6a7afabb559973 | [
"MIT"
] | null | null | null | index.html | james-iorgovan/IT202-project3 | 167945d1c8c4e8741d76e4040e6a7afabb559973 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Don't Burn Out!</title>
</head>
<body style="margin:10px;">
<canvas id="canvas" style="background:#000;"></canvas>
<script type="text/javascript">
var canvas = document.getElementById('c... | 24.063768 | 104 | 0.537702 |
8a8d37c34c73bb54cbbad24d65f2f7567c9ae8fe | 1,066 | sql | SQL | Data definition and datatypes/15.Create SoftUni Database.sql | yani-valeva/Databases-Basics-MySQL | 7eb694a64361aef1355771d82d93798412c11c4d | [
"MIT"
] | null | null | null | Data definition and datatypes/15.Create SoftUni Database.sql | yani-valeva/Databases-Basics-MySQL | 7eb694a64361aef1355771d82d93798412c11c4d | [
"MIT"
] | null | null | null | Data definition and datatypes/15.Create SoftUni Database.sql | yani-valeva/Databases-Basics-MySQL | 7eb694a64361aef1355771d82d93798412c11c4d | [
"MIT"
] | null | null | null | CREATE DATABASE softuni;
USE softuni;
CREATE TABLE towns (
id INT NOT NULL AUTO_INCREMENT,
name VARCHAR(20),
CONSTRAINT pk_towns PRIMARY KEY (id)
);
CREATE TABLE addresses (
id INT NOT NULL AUTO_INCREMENT,
address_text TEXT,
town_id INT,
CONSTRAINT pk_addresses PRIMARY KEY (id),
CONST... | 26 | 67 | 0.713884 |
d6f3ccea64280ace61d806aab4bd0480243c0dbc | 1,131 | kt | Kotlin | poc-multiple-nav-hosts/src/main/java/com/adamkobus/compose/navigation/poc/multinavhost/PocApplication.kt | AdamKobus/compose-navigation | 161406ba5c0d5b9f7428d387dd3e08f4fccdea79 | [
"MIT"
] | 4 | 2022-02-03T21:49:14.000Z | 2022-03-02T23:23:31.000Z | poc-multiple-nav-hosts/src/main/java/com/adamkobus/compose/navigation/poc/multinavhost/PocApplication.kt | AdamKobus/compose-navigation | 161406ba5c0d5b9f7428d387dd3e08f4fccdea79 | [
"MIT"
] | 100 | 2022-02-01T23:52:53.000Z | 2022-03-12T13:27:39.000Z | poc-multiple-nav-hosts/src/main/java/com/adamkobus/compose/navigation/poc/multinavhost/PocApplication.kt | AdamKobus/compose-navigation | 161406ba5c0d5b9f7428d387dd3e08f4fccdea79 | [
"MIT"
] | null | null | null | package com.adamkobus.compose.navigation.poc.multinavhost
import android.app.Application
import android.util.Log
import com.adamkobus.compose.navigation.ComposeNavigation
import com.adamkobus.compose.navigation.NavActionVerifier
import com.adamkobus.compose.navigation.VerifyResult
import com.adamkobus.compose.navigati... | 35.34375 | 90 | 0.770999 |
865843bfc455100e0ab0718a683a1b40872de0c7 | 360 | go | Go | core/DatabaseManagement/DTOTable/Sys_Process_State.go | sRafieidev/zframe | cc5c4c1729fd1e97cae4de0c8b8a820faedba8e0 | [
"Apache-2.0"
] | 1 | 2022-02-22T11:05:43.000Z | 2022-02-22T11:05:43.000Z | core/DatabaseManagement/DTOTable/Sys_Process_State.go | sRafieidev/zframe | cc5c4c1729fd1e97cae4de0c8b8a820faedba8e0 | [
"Apache-2.0"
] | null | null | null | core/DatabaseManagement/DTOTable/Sys_Process_State.go | sRafieidev/zframe | cc5c4c1729fd1e97cae4de0c8b8a820faedba8e0 | [
"Apache-2.0"
] | null | null | null | package DTOTable
type Sys_Process_State struct {
SYS_PROCESS_STATE_ID int32
SYS_PROCESS_ID int32
SYS_OBJECT_ID int32
STATENAME string
STATEINDEX int32
DESCRIPTION string
LIMITDAY int32
ACTIVE bo... | 25.714286 | 34 | 0.572222 |
7b8dc178e70311b93b0f0ad45151790fab4c3943 | 223 | rb | Ruby | db/migrate/20200210092306_add_unique_index_to_email_submissions.rb | uk-gov-mirror/ministryofjustice.c100-application | d23bfa8ffb73e4db098956cded850d03100e4e75 | [
"MIT"
] | 1 | 2020-03-04T14:24:04.000Z | 2020-03-04T14:24:04.000Z | db/migrate/20200210092306_add_unique_index_to_email_submissions.rb | uk-gov-mirror/ministryofjustice.c100-application | d23bfa8ffb73e4db098956cded850d03100e4e75 | [
"MIT"
] | 101 | 2017-10-12T16:09:20.000Z | 2022-03-22T10:15:10.000Z | db/migrate/20200210092306_add_unique_index_to_email_submissions.rb | uk-gov-mirror/ministryofjustice.c100-application | d23bfa8ffb73e4db098956cded850d03100e4e75 | [
"MIT"
] | 6 | 2017-11-08T10:47:49.000Z | 2021-12-08T12:02:23.000Z | class AddUniqueIndexToEmailSubmissions < ActiveRecord::Migration[5.2]
def change
remove_index :email_submissions, :c100_application_id
add_index :email_submissions, :c100_application_id, unique: true
end
end
| 31.857143 | 71 | 0.798206 |
e149710bafb966372c763a3564231c0098d9ed17 | 232 | swift | Swift | GTProgressBar/Classes/GTProgressBarLabelPosition.swift | udayabhishek/GTProgrssBar | 47cea855ac3222a348303ed3fafbf52e3de3b49c | [
"MIT"
] | 248 | 2016-10-02T12:09:23.000Z | 2022-03-21T06:23:12.000Z | GTProgressBar/Classes/GTProgressBarLabelPosition.swift | udayabhishek/GTProgrssBar | 47cea855ac3222a348303ed3fafbf52e3de3b49c | [
"MIT"
] | 33 | 2016-10-27T08:10:30.000Z | 2021-06-04T18:11:06.000Z | GTProgressBar/Classes/GTProgressBarLabelPosition.swift | udayabhishek/GTProgrssBar | 47cea855ac3222a348303ed3fafbf52e3de3b49c | [
"MIT"
] | 44 | 2016-10-26T08:46:30.000Z | 2021-06-14T11:19:31.000Z | //
// GTProgressBarLabelPosition.swift
// Pods
//
// Created by Grzegorz Tatarzyn on 15/04/2017.
//
//
import Foundation
public enum GTProgressBarLabelPosition: Int {
case left
case right
case top
case bottom
}
| 13.647059 | 47 | 0.685345 |
2f041ceecb6fa78f858adb0cb43308cfa41c5d39 | 62 | html | HTML | src/org/lockss/servlet/package.html | rondinelisaad/lockss-daemon | 563a3bcd106908b0967f510ee4cf88525a48651a | [
"BSD-3-Clause"
] | 51 | 2015-09-02T22:50:09.000Z | 2022-03-14T23:53:58.000Z | src/org/lockss/servlet/package.html | rondinelisaad/lockss-daemon | 563a3bcd106908b0967f510ee4cf88525a48651a | [
"BSD-3-Clause"
] | 5 | 2016-03-22T06:10:02.000Z | 2020-09-24T17:18:47.000Z | src/main/java/org/lockss/servlet/package.html | lockss/lockss-core | defe3cb2319eb3dd00f89f2d85e7b9a322dc5632 | [
"BSD-3-Clause"
] | 13 | 2016-01-28T16:40:22.000Z | 2022-03-03T20:04:22.000Z | <html>
<body>
LOCKSS user interface servlets.
</body>
</html>
| 10.333333 | 31 | 0.693548 |
fc7e11c4c3c262ff46e5b61c1c70eb4ad305ffb6 | 334 | css | CSS | client/src/style/global.css | sp3c73r2038/elasticsearch-comrade | ed0c94e071d2fe701a14429981390b9a89df79a7 | [
"MIT"
] | 256 | 2019-09-09T10:09:34.000Z | 2022-03-28T04:15:21.000Z | client/src/style/global.css | sp3c73r2038/elasticsearch-comrade | ed0c94e071d2fe701a14429981390b9a89df79a7 | [
"MIT"
] | 503 | 2019-07-31T17:01:12.000Z | 2022-03-28T13:19:26.000Z | client/src/style/global.css | nmeisels/elasticsearch-comrade | 57dc600e5ffd7f9d4c055b584124bef9365e538c | [
"MIT"
] | 25 | 2019-08-30T13:04:31.000Z | 2022-03-09T09:50:32.000Z | .v-input--selection-controls {
margin: 0;
padding: 0;
}
body {
font-size: 14px;
}
.theme--light.v-application {
background-color: var(--v-bg-color-base);
}
.theme--dark.v-application {
background-color: var(--v-bg-color-base);
}
.v-list--dense .v-list-item {
min-height: 20px;
}
.v-menu--inline {
dis... | 14.521739 | 43 | 0.634731 |
6b50bd75ca63a50064799a7b08a490449d112148 | 387 | h | C | BallLabelDemo/BallLabelDemo/BallLabelDemo/DemoView/BallPoint.h | jlideasoft/WheelButton | fd2b9105d1955ea627b8c675047f8bc221d3a970 | [
"MIT"
] | 12 | 2016-03-23T08:45:40.000Z | 2018-05-08T04:52:42.000Z | BallLabelDemo/BallLabelDemo/BallLabelDemo/DemoView/BallPoint.h | jlideasoft/WheelButton | fd2b9105d1955ea627b8c675047f8bc221d3a970 | [
"MIT"
] | null | null | null | BallLabelDemo/BallLabelDemo/BallLabelDemo/DemoView/BallPoint.h | jlideasoft/WheelButton | fd2b9105d1955ea627b8c675047f8bc221d3a970 | [
"MIT"
] | null | null | null | //
// BallPoint.h
// BallLabelDemo
//
// Created by Win10 on 2018/5/7.
// Copyright © 2018年 Win10. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BallPoint : NSObject
@property (nonatomic,assign) CGFloat theta;
@property (nonatomic,assign) CGFloat phi;
@property (nonatomic,assign) CGFloat r;
- (insta... | 21.5 | 69 | 0.72093 |
3c10a7ad1ffb9e6764cc0ddde57d38f4b4d62716 | 11,090 | lua | Lua | elepower_tome/i_functions.lua | sirrobzeroone/elepower | 5d14083f2c20d939be2e5ff3219fb677178e1768 | [
"MIT"
] | 4 | 2021-06-12T23:47:42.000Z | 2022-01-05T20:14:37.000Z | elepower_tome/i_functions.lua | sirrobzeroone/elepower | 5d14083f2c20d939be2e5ff3219fb677178e1768 | [
"MIT"
] | 5 | 2021-06-28T06:33:53.000Z | 2022-01-29T03:54:12.000Z | elepower_tome/i_functions.lua | sirrobzeroone/elepower | 5d14083f2c20d939be2e5ff3219fb677178e1768 | [
"MIT"
] | null | null | null | ---------------------------------------------------
-- ___ _ --
-- | __| |___ _ __ _____ __ _____ _ _ --
-- | _|| / -_) '_ \/ _ \ V V / -_) '_| --
-- |___|_\___| .__/\___/\_/\_/\___|_| --
-- |_| --
-- ... | 37.466216 | 240 | 0.560054 |
859f86ba4deb22283ae8b141a7495975910521c2 | 2,117 | js | JavaScript | src/commands/fun/trump.js | VyrekXD/gidget | 1681d3bf65dd27b6d6e3b47199b4a8e070a927f1 | [
"Apache-2.0"
] | 1 | 2021-03-17T19:58:38.000Z | 2021-03-17T19:58:38.000Z | src/commands/fun/trump.js | VyrekXD/gidget | 1681d3bf65dd27b6d6e3b47199b4a8e070a927f1 | [
"Apache-2.0"
] | null | null | null | src/commands/fun/trump.js | VyrekXD/gidget | 1681d3bf65dd27b6d6e3b47199b4a8e070a927f1 | [
"Apache-2.0"
] | null | null | null | import path from 'path';
import commons from '../../utils/commons.js';
const { __dirname } = commons(import.meta.url);
import { MessageAttachment } from 'discord.js';
import Jimp from 'jimp';
let font;
let meme;
export default class extends Command {
constructor(options) {
super(options);
this.descr... | 35.283333 | 113 | 0.631554 |
39d8a3817344a6664b5af312d22a6ac403fd89a0 | 254,520 | js | JavaScript | server/public/static/js/chunk-361b1b6d.3df8d46b.js | Gxuebin/quark-h5-201910chuban | 548288c6c4a50a7998fe3501b696afabc3bfb9af | [
"Apache-2.0"
] | 2 | 2021-06-01T07:17:12.000Z | 2021-06-07T04:42:18.000Z | server/public/static/js/chunk-361b1b6d.3df8d46b.js | lgb020/quark-h5 | 277f551cd9cdfc9ab54b3d4e080f649b0d01a7d8 | [
"Apache-2.0"
] | null | null | null | server/public/static/js/chunk-361b1b6d.3df8d46b.js | lgb020/quark-h5 | 277f551cd9cdfc9ab54b3d4e080f649b0d01a7d8 | [
"Apache-2.0"
] | 2 | 2021-07-20T10:15:23.000Z | 2021-07-20T15:25:42.000Z | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-361b1b6d"],{"018b":function(A,e,t){},"0580":function(A,e,t){},"0596":function(A,e,t){},"05a6":function(A,e,t){},1173:function(A,e){A.exports=function(A,e,t,n){if(!(A instanceof e)||void 0!==n&&n in A)throw TypeError(t+": incorrect invocation!");return A}... | 11,066.086957 | 235,736 | 0.767614 |
15b04f8a3a8db4252fbea0a4bd0feddb70359359 | 5,479 | psm1 | PowerShell | SailPointIdentityNow.psm1 | 410sean/powershell_module_identitynow | 8af438af4efa5f5f009ef976d682cea3bc1a8d80 | [
"MIT"
] | 25 | 2019-09-17T17:32:56.000Z | 2022-03-04T00:32:38.000Z | SailPointIdentityNow.psm1 | 410sean/powershell_module_identitynow | 8af438af4efa5f5f009ef976d682cea3bc1a8d80 | [
"MIT"
] | 40 | 2019-09-17T17:27:09.000Z | 2021-12-23T14:51:40.000Z | SailPointIdentityNow.psm1 | 410sean/powershell_module_identitynow | 8af438af4efa5f5f009ef976d682cea3bc1a8d80 | [
"MIT"
] | 8 | 2019-10-23T00:23:07.000Z | 2022-01-30T19:32:18.000Z | $IdentityNowConfiguration = @{
orgName = $null
v2 = $null
v3 = $null
AdminCredential = $null
PAT = $null
JWT = $null
DefaultOrg = $null
}
$IdentityNowConfigurationFile = Join-Path $env:LOCALAPPDATA IdentityNowConfiguration.clixml
if (Test-Path $IdentityNowConfigurationFile) {
$Identi... | 57.072917 | 91 | 0.9144 |
7aaed30790119b952066bfc44a29f8170fec921d | 284 | kt | Kotlin | core/src/main/kotlin/me/bramhaag/spleef/features/KitFeature.kt | bramhaag/minigame-framework-spleef | 68eb258fa9a1d885c086de7f4f3d5ea6900a9cbb | [
"MIT"
] | null | null | null | core/src/main/kotlin/me/bramhaag/spleef/features/KitFeature.kt | bramhaag/minigame-framework-spleef | 68eb258fa9a1d885c086de7f4f3d5ea6900a9cbb | [
"MIT"
] | null | null | null | core/src/main/kotlin/me/bramhaag/spleef/features/KitFeature.kt | bramhaag/minigame-framework-spleef | 68eb258fa9a1d885c086de7f4f3d5ea6900a9cbb | [
"MIT"
] | null | null | null | package me.bramhaag.spleef.features
import me.bramhaag.minigameframework.feature.AbstractFeature
class KitFeature : AbstractFeature() {
override fun enable() {
phase.game.players.forEach { for(i in 0..8) {
it.setItem(i, "diamond_shovel")
}}
}
} | 21.846154 | 60 | 0.661972 |
5cc138b1f5b01fcb87c0f8dc07b7e9ca5879f73d | 1,188 | kt | Kotlin | src/main/kotlin/io/github/deadshot465/owoify/utility/presets.kt | deadshot465/owoifyKt | ae7b0a6f2f7a2c9418d267b4666d840bdec3d95d | [
"MIT"
] | null | null | null | src/main/kotlin/io/github/deadshot465/owoify/utility/presets.kt | deadshot465/owoifyKt | ae7b0a6f2f7a2c9418d267b4666d840bdec3d95d | [
"MIT"
] | null | null | null | src/main/kotlin/io/github/deadshot465/owoify/utility/presets.kt | deadshot465/owoifyKt | ae7b0a6f2f7a2c9418d267b4666d840bdec3d95d | [
"MIT"
] | null | null | null | package io.github.deadshot465.owoify.utility
import io.github.deadshot465.owoify.structures.Word
val SPECIFIC_WORD_MAPPING_LIST = listOf<(Word) -> Word>(
::mapFucToFwuc,
::mapMomToMwom,
::mapTimeToTim,
::mapMeToMwe,
::mapNVowelToNy,
::mapOverToOwor,
::mapOveToUv,
::mapHahaToHeheXd,
... | 21.6 | 56 | 0.665825 |