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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4bcbb632f6324fbe7ce6c2ef672b0177ef75303e | 2,745 | h | C | NeoGPS Library/src/Garmin/GrmNMEA.h | arobinson-oce/LoRa_Drifter | e578d7616dfae894cce6f3fc11bbb0f9fada5dd3 | [
"MIT"
] | 1 | 2021-12-05T07:46:23.000Z | 2021-12-05T07:46:23.000Z | NeoGPS Library/src/Garmin/GrmNMEA.h | arobinson-oce/LoRa_Drifter | e578d7616dfae894cce6f3fc11bbb0f9fada5dd3 | [
"MIT"
] | 1 | 2019-05-19T11:26:14.000Z | 2019-05-19T11:26:14.000Z | NeoGPS Library/src/Garmin/GrmNMEA.h | arobinson-oce/LoRa_Drifter | e578d7616dfae894cce6f3fc11bbb0f9fada5dd3 | [
"MIT"
] | 1 | 2021-08-29T23:28:35.000Z | 2021-08-29T23:28:35.000Z | #ifndef _GRMNMEA_H_
#define _GRMNMEA_H_
// Copyright (C) 2014-2017, SlashDevin
//
// This file is part of NeoGPS
//
// NeoGPS is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the Lic... | 27.178218 | 102 | 0.67031 |
036c7766d9da481b6f75c9910d1ba3d54131d3a6 | 2,923 | swift | Swift | AEPServices/Tests/utility/PrettyDictionaryTests.swift | atishay/aepsdk-core-ios | 3dc2d88787db4829f1a15244b7fa2692a0e62fba | [
"Apache-2.0"
] | 6 | 2021-06-17T21:23:39.000Z | 2022-02-05T01:06:15.000Z | AEPServices/Tests/utility/PrettyDictionaryTests.swift | atishay/aepsdk-core-ios | 3dc2d88787db4829f1a15244b7fa2692a0e62fba | [
"Apache-2.0"
] | 407 | 2020-09-25T18:03:22.000Z | 2022-03-31T22:21:42.000Z | AEPServices/Tests/utility/PrettyDictionaryTests.swift | atishay/aepsdk-core-ios | 3dc2d88787db4829f1a15244b7fa2692a0e62fba | [
"Apache-2.0"
] | 29 | 2020-09-25T18:02:45.000Z | 2022-03-14T12:07:10.000Z | /*
Copyright 2021 Adobe. All rights reserved.
This file is licensed to you 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... | 28.940594 | 87 | 0.535067 |
e3bc455eedafde8d792fd9864e2818517c6f8073 | 629 | dart | Dart | lib/screens/splash.dart | muhjamie/tailor_measurement_app | 8c9d62fa812ffb9480aec055016751905722200d | [
"MIT"
] | null | null | null | lib/screens/splash.dart | muhjamie/tailor_measurement_app | 8c9d62fa812ffb9480aec055016751905722200d | [
"MIT"
] | null | null | null | lib/screens/splash.dart | muhjamie/tailor_measurement_app | 8c9d62fa812ffb9480aec055016751905722200d | [
"MIT"
] | null | null | null | import 'package:daas/helpers/style.dart';
import 'package:daas/widgets/custom_text.dart';
import 'package:daas/widgets/loading.dart';
import 'package:flutter/material.dart';
class Splash extends StatefulWidget {
@override
_SplashState createState() => _SplashState();
}
class _SplashState extends State<Splash> {
... | 24.192308 | 54 | 0.656598 |
dccefc32a10cf56bd57bba13a101a2232540701d | 2,702 | sql | SQL | services/service-core-db/migrations/2017-11-24-000237_add_sopes_to_scoped_user_token/up.sql | jermiy/services-core | d1dace6a978d901da9566763d568623242ca6d8a | [
"MIT"
] | 56 | 2018-09-27T01:40:09.000Z | 2022-03-24T13:08:15.000Z | services/service-core-db/migrations/2017-11-24-000237_add_sopes_to_scoped_user_token/up.sql | jermiy/services-core | d1dace6a978d901da9566763d568623242ca6d8a | [
"MIT"
] | 344 | 2018-08-29T10:15:13.000Z | 2022-03-30T14:24:21.000Z | services/service-core-db/migrations/2017-11-24-000237_add_sopes_to_scoped_user_token/up.sql | jermiy/services-core | d1dace6a978d901da9566763d568623242ca6d8a | [
"MIT"
] | 41 | 2018-08-24T15:30:58.000Z | 2022-03-11T19:14:43.000Z | -- Your SQL goes here
create type community_service.user_roles_enum as enum (
'admin',
'financial'
);
create table community_service.user_roles (
id uuid not null primary key default public.uuid_generate_v4(),
platform_id uuid not null references platform_service.platforms(id),
user_id uuid not null... | 31.418605 | 87 | 0.629904 |
77f52971ccd0e94398961a87dc7abac3862bf693 | 101 | sql | SQL | framework/resources/Functional/filter/pushdown/item_star_operator/drill_6118_filter_push_down_with_subqueries.sql | aravi5/drill-test-framework | 7bf960cbe1697c8086a880661a361e8991a73107 | [
"Apache-2.0"
] | null | null | null | framework/resources/Functional/filter/pushdown/item_star_operator/drill_6118_filter_push_down_with_subqueries.sql | aravi5/drill-test-framework | 7bf960cbe1697c8086a880661a361e8991a73107 | [
"Apache-2.0"
] | null | null | null | framework/resources/Functional/filter/pushdown/item_star_operator/drill_6118_filter_push_down_with_subqueries.sql | aravi5/drill-test-framework | 7bf960cbe1697c8086a880661a361e8991a73107 | [
"Apache-2.0"
] | null | null | null | select * from (select * from `filter/pushdown/DRILL_6118_parquet_partitioned_by_folders`) where c1>2; | 101 | 101 | 0.821782 |
2368f81619ce8771900dba473f7ca604adc1e5a0 | 200,312 | css | CSS | update/temp/0.0.8/www/res/css/ormwidget.css | JaneJingtian/JSweetWeb | 0029db009d48c633c2167459871c36e9106fca3f | [
"MIT"
] | 1 | 2019-09-19T19:31:19.000Z | 2019-09-19T19:31:19.000Z | WebContent/www/res/css/ormwidget.css | JaneJingtian/JSweetWeb | 0029db009d48c633c2167459871c36e9106fca3f | [
"MIT"
] | 5 | 2020-03-04T23:33:56.000Z | 2021-12-09T21:34:15.000Z | update/temp/0.0.8/www/res/css/ormwidget.css | JaneJingtian/JSweetWeb | 0029db009d48c633c2167459871c36e9106fca3f | [
"MIT"
] | null | null | null | @import url(../../rxm/Font-Awesome/css/font-awesome.min.css);
@import url(../../rxm/bootstrap/plugins/datetimepicker/css/datetimepicker.min.css);
.rxm-font-tabActive {
color: #4d8dff;
font-size: 0.88rem;
font-weight: 400;
}
.rxm-font-tabInactive {
color: #666666;
font-size: 0.88rem;
font-weight: 400;
}
.rxm... | 27.365027 | 211 | 0.68279 |
586a63035358ef26f4611d0f05258980df4830a0 | 10,922 | css | CSS | files/formalize/0.1/css/demo.css | isaackwan/jsdelivr | 8fd58a1cad97aacc58f9723b81f06ff231ceed60 | [
"MIT"
] | 144 | 2015-01-05T22:24:16.000Z | 2022-03-19T06:23:16.000Z | files/formalize/0.1/css/demo.css | isaackwan/jsdelivr | 8fd58a1cad97aacc58f9723b81f06ff231ceed60 | [
"MIT"
] | 4 | 2015-02-05T23:09:24.000Z | 2018-06-06T15:47:34.000Z | files/formalize/0.1/css/demo.css | isaackwan/jsdelivr | 8fd58a1cad97aacc58f9723b81f06ff231ceed60 | [
"MIT"
] | 35 | 2015-02-06T00:18:47.000Z | 2022-02-17T07:09:59.000Z | a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
dialog,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
font,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
hr,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,... | 16.674809 | 141 | 0.671947 |
6b326e689ba4b994e89e491ad24560cd2ed37252 | 4,494 | js | JavaScript | src/operator/binary-opr/radical.js | Inzaghi2012/formula | 7c5930df0223f149ce6a374bd6dd1522900f37b9 | [
"MIT"
] | 1 | 2020-09-22T17:09:03.000Z | 2020-09-22T17:09:03.000Z | src/operator/binary-opr/radical.js | Inzaghi2012/formula | 7c5930df0223f149ce6a374bd6dd1522900f37b9 | [
"MIT"
] | null | null | null | src/operator/binary-opr/radical.js | Inzaghi2012/formula | 7c5930df0223f149ce6a374bd6dd1522900f37b9 | [
"MIT"
] | null | null | null | /**
* 开方操作符
*/
define( function ( require, exports, modules ) {
var kity = require( "kity" ),
// 符号图形属性
// 线条宽度
SHAPE_DATA_WIDTH = 2,
// 计算公式
radians = 2 * Math.PI / 360,
sin10 = Math.sin( 10 * radians ),
cos10 = Math.cos( 10 * radians ),
sin20 =... | 24.966667 | 119 | 0.542501 |
8d6a0cff665a07c0d36644ed562c3e0cd10e47d0 | 1,433 | c | C | 03_Data Structure/Algorithms/List/mergeList.c | Robert-Stackflow/HUST-Courses | 300752552e7af035b0e5c7663953850c81871242 | [
"MIT"
] | 4 | 2021-11-01T09:27:32.000Z | 2022-03-07T14:24:10.000Z | 03_Data Structure/Algorithms/List/mergeList.c | Robert-Stackflow/HUST-Courses | 300752552e7af035b0e5c7663953850c81871242 | [
"MIT"
] | null | null | null | 03_Data Structure/Algorithms/List/mergeList.c | Robert-Stackflow/HUST-Courses | 300752552e7af035b0e5c7663953850c81871242 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include "list.h"
llink merge_list(llink list1,llink list2){
llink cur1=list1,cur2=list2;
llink selected,newlist=NULL,newlist_cur=NULL;
while(list1 && list2){
if(list1->vertex<list2->vertex){
selected=list1;
list1=list1->next;
}else{
selected=list2;
list2=list2->next;
}
if(!ne... | 19.630137 | 55 | 0.682484 |
143f557a91cd09343ef43c2496d8cfe1c61e93c4 | 376 | ts | TypeScript | src/lib/classes/integration-node/interfaces/integration-node-execution-result.interfaces.ts | ebot7/javascript-sdk | 0394c1855cc06176253fdaba8d3eb533a813fc33 | [
"MIT"
] | null | null | null | src/lib/classes/integration-node/interfaces/integration-node-execution-result.interfaces.ts | ebot7/javascript-sdk | 0394c1855cc06176253fdaba8d3eb533a813fc33 | [
"MIT"
] | 54 | 2021-06-22T15:28:37.000Z | 2022-03-28T08:01:25.000Z | src/lib/classes/integration-node/interfaces/integration-node-execution-result.interfaces.ts | ebot7/javascript-sdk | 0394c1855cc06176253fdaba8d3eb533a813fc33 | [
"MIT"
] | null | null | null | interface IntegrationNodeExecutionResultError {
status: string;
message: string;
}
interface IntegrationNodeExecutionResultResult {
resultType: string;
data: { [parameterId: string]: unknown };
}
export interface IntegrationNodeExecutionResult {
isSuccess: boolean;
result?: IntegrationNodeExecutionResultR... | 23.5 | 49 | 0.800532 |
247c84888bddce76ed1cf2b99a16759da5a40196 | 6,504 | lua | Lua | apisix/plugins/rocketmq-logger.lua | arabot777/apisix | 9a1831d656b527fcb07ce5e556da0ccc502300bc | [
"Apache-2.0"
] | 1 | 2021-12-16T10:59:19.000Z | 2021-12-16T10:59:19.000Z | apisix/plugins/rocketmq-logger.lua | arabot777/apisix | 9a1831d656b527fcb07ce5e556da0ccc502300bc | [
"Apache-2.0"
] | 24 | 2021-05-12T06:10:45.000Z | 2022-03-30T12:11:18.000Z | apisix/plugins/rocketmq-logger.lua | arabot777/apisix | 9a1831d656b527fcb07ce5e556da0ccc502300bc | [
"Apache-2.0"
] | null | null | null | --
-- Licensed to the Apache Software Foundation (ASF) under one or more
-- contributor license agreements. See the NOTICE file distributed with
-- this work for additional information regarding copyright ownership.
-- The ASF licenses this file to You under the Apache License, Version 2.0
-- (the "License"); you may ... | 31.726829 | 95 | 0.623462 |
3ad5db40eaf72d3c164c7cda1cb6bb44ecb8da4c | 634 | go | Go | day3/recover/main.go | linnenn/go_deepstudy | c60d61519ce37d596edc150a3bcaabd78969d008 | [
"MIT"
] | null | null | null | day3/recover/main.go | linnenn/go_deepstudy | c60d61519ce37d596edc150a3bcaabd78969d008 | [
"MIT"
] | null | null | null | day3/recover/main.go | linnenn/go_deepstudy | c60d61519ce37d596edc150a3bcaabd78969d008 | [
"MIT"
] | null | null | null | package main
import (
"fmt"
"math/rand"
)
type divider struct {
first int
second int
}
func main() {
var divd = make([]*divider,10,30)
for i := 0;i<10;i++ {
divd[i] = ÷r{
first: rand.Intn(10)+20,
second: 0,
}
}
for _,record := range divd{
if result,err := record.f1(); err != nil {
fmt.Pr... | 16.25641 | 55 | 0.570978 |
0d87fbdb6994b4b769d39135499e693165594022 | 972 | rb | Ruby | lib/util.rb | ahmedtorgoman/vultest | eafdecaf04fb78859e90d508eb009e3fb3ab8ac8 | [
"Apache-2.0"
] | 6 | 2019-11-01T16:12:31.000Z | 2021-03-09T06:19:15.000Z | lib/util.rb | ahmedtorgoman/vultest | eafdecaf04fb78859e90d508eb009e3fb3ab8ac8 | [
"Apache-2.0"
] | 37 | 2019-06-18T15:54:21.000Z | 2020-10-21T08:03:07.000Z | lib/util.rb | uoanlab/vultest | ccc97cf5035fa5f4e27615fd446b72c39ab732b4 | [
"Apache-2.0"
] | 1 | 2020-10-16T11:16:03.000Z | 2020-10-16T11:16:03.000Z | # Copyright [2020] [University of Aizu]
#
# 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 i... | 29.454545 | 74 | 0.661523 |
f774fdf4d60e9a15f4bb6022fb7931f8780d6816 | 150 | rb | Ruby | spec/factories/transactions.rb | deepaksalve/split-wisely | ea2cee91c4074cc14ea851f20c1ebfa010a6cf34 | [
"MIT"
] | null | null | null | spec/factories/transactions.rb | deepaksalve/split-wisely | ea2cee91c4074cc14ea851f20c1ebfa010a6cf34 | [
"MIT"
] | null | null | null | spec/factories/transactions.rb | deepaksalve/split-wisely | ea2cee91c4074cc14ea851f20c1ebfa010a6cf34 | [
"MIT"
] | null | null | null | FactoryGirl.define do
factory :transaction do
group_id 1
user_id 1
date "2017-06-20"
amount "9.99"
amount_paid "9.99"
end
end
| 15 | 25 | 0.646667 |
daacf3a1d07c396b7071b73eed46cd285422f428 | 7,440 | php | PHP | resources/views/Admin/payment.blade.php | HarsH-OhM/React-Laravel-E-ticket-Booking-Admin-portal-1.1-part-2- | 75d8c44817753923ce2c69676797f78fc363784f | [
"MIT"
] | null | null | null | resources/views/Admin/payment.blade.php | HarsH-OhM/React-Laravel-E-ticket-Booking-Admin-portal-1.1-part-2- | 75d8c44817753923ce2c69676797f78fc363784f | [
"MIT"
] | null | null | null | resources/views/Admin/payment.blade.php | HarsH-OhM/React-Laravel-E-ticket-Booking-Admin-portal-1.1-part-2- | 75d8c44817753923ce2c69676797f78fc363784f | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
<link rel="shortcut icon" type="image/x-icon" href="assets/img/favicon.ico">
<title>E-Pass Admin Portal</title>
<link href="https://fonts.googleapis... | 49.271523 | 140 | 0.380645 |
4ec76020918b18c57b42787ae0853c0828afe415 | 906 | sh | Shell | recipes/ffmpeg/recipe.sh | snokaru/cookbook | 73774f6ec68464a544a481012a4b3bcc31e2e47e | [
"MIT"
] | 38 | 2016-10-31T17:20:02.000Z | 2021-08-10T10:49:02.000Z | recipes/ffmpeg/recipe.sh | snokaru/cookbook | 73774f6ec68464a544a481012a4b3bcc31e2e47e | [
"MIT"
] | 89 | 2017-01-15T13:12:15.000Z | 2021-09-05T19:54:22.000Z | recipes/ffmpeg/recipe.sh | snokaru/cookbook | 73774f6ec68464a544a481012a4b3bcc31e2e47e | [
"MIT"
] | 35 | 2017-01-13T16:57:08.000Z | 2022-03-16T18:12:53.000Z | VERSION=4.0
GIT=https://github.com/FFmpeg/FFmpeg
BRANCH=release/$VERSION
BUILD_DEPENDS=(zlib)
function recipe_version {
echo "$VERSION"
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$PWD/../sysroot"
export CPPFLAGS="-I$sysroot/include"
... | 18.489796 | 43 | 0.602649 |
532febe3f2d5ff9a35c662a0251f2dcb6ad34f48 | 3,935 | sql | SQL | restoran.sql | joejostill/simodel | b4ae1e38f941214c527983e2189e9a74502d9fe4 | [
"MIT"
] | null | null | null | restoran.sql | joejostill/simodel | b4ae1e38f941214c527983e2189e9a74502d9fe4 | [
"MIT"
] | null | null | null | restoran.sql | joejostill/simodel | b4ae1e38f941214c527983e2189e9a74502d9fe4 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Nov 04, 2021 at 06:42 AM
-- Server version: 10.4.18-MariaDB
-- PHP Version: 8.0.5
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIEN... | 22.485714 | 112 | 0.647522 |
ee75a95db8ed33a95cba78d520b07d0b60f33ff3 | 685 | go | Go | conoha/account_order_items.go | is2ei/conoha-api-go-client | 40c4b26bcecb5b65c97dd6987e545611a05b1db5 | [
"MIT"
] | 2 | 2020-01-24T01:54:08.000Z | 2020-04-25T09:49:59.000Z | conoha/account_order_items.go | is2ei/conoha-api-go-client | 40c4b26bcecb5b65c97dd6987e545611a05b1db5 | [
"MIT"
] | null | null | null | conoha/account_order_items.go | is2ei/conoha-api-go-client | 40c4b26bcecb5b65c97dd6987e545611a05b1db5 | [
"MIT"
] | 1 | 2021-02-03T20:38:03.000Z | 2021-02-03T20:38:03.000Z | package conoha
import (
"context"
"encoding/json"
"fmt"
"net/http"
)
type getAccountOrderItemsResponseParam struct {
OrderItems []*OrderItem `json:"order_items"`
}
// OrderItems fetches the orders list.
//
// ConoHa API docs: https://www.conoha.jp/docs/account-order-item-list.html
func (c *Conoha) OrderItems(ct... | 22.833333 | 87 | 0.721168 |
e2c35b0a3991320ac38aa36ffc55888c0482a0e0 | 10,670 | rs | Rust | jni-bindgen/src/java/constants.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | jni-bindgen/src/java/constants.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | jni-bindgen/src/java/constants.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | //! [Java SE 7 § 4.4](https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.4): Parsing APIs and structures for the constants pool.
use crate::java::io::*;
use bugsalot::*;
use std::convert::*;
use std::io::{self, Read};
/// [Java SE 7 § 4.4](https://docs.oracle.com/javase/specs/jvms/se... | 54.162437 | 200 | 0.608622 |
394fe3e7349a3458b35832967c10c32e34a864c4 | 1,750 | py | Python | entry/refresh_person.py | chulchultrain/FriendLeague | bf754f2c5e5a1e559a38f8b4617c87d6fb5f26ac | [
"MIT"
] | 1 | 2020-01-02T05:46:42.000Z | 2020-01-02T05:46:42.000Z | entry/refresh_person.py | chulchultrain/FriendLeague | bf754f2c5e5a1e559a38f8b4617c87d6fb5f26ac | [
"MIT"
] | 5 | 2017-06-11T22:09:26.000Z | 2020-01-04T02:59:49.000Z | entry/refresh_person.py | chulchultrain/FriendLeague | bf754f2c5e5a1e559a38f8b4617c87d6fb5f26ac | [
"MIT"
] | null | null | null | # Module to serve as a runnable script to refresh a persons matchlist and data in the db.
# python3 -m entry.refresh_person.py
# Command line arguments:
# --name
# --acc_id encrypted account id using the api key
# Will retrieve the updated match list from the api,
# and for matches that are not in the db, it will popul... | 33.018868 | 117 | 0.727429 |
5448bb0443790f4336fa938dae65a9b0f7bd97c2 | 7,890 | css | CSS | css/desktop.css | cdahal100/Chandra_Weather_App | b30ae236376c1090a3c2780c1f7db94378f33fd2 | [
"MIT"
] | null | null | null | css/desktop.css | cdahal100/Chandra_Weather_App | b30ae236376c1090a3c2780c1f7db94378f33fd2 | [
"MIT"
] | null | null | null | css/desktop.css | cdahal100/Chandra_Weather_App | b30ae236376c1090a3c2780c1f7db94378f33fd2 | [
"MIT"
] | null | null | null | /
* {
box-sizing: border-box;
}
/* ------body styling-------- */
#weather {
background-image: url("../imgs/background-images/Desktop.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
color: yellow;
font-family: "Times New Roman", Times, serif;
}
but... | 18.221709 | 181 | 0.610139 |
dbbd3295fbd617168cd1882f608afc3d7de0a327 | 985 | php | PHP | src/Repository/Route/RouteRepository.php | PierreRebeilleau/ApiComponentBundle | dfd564ed8cce1cf2108572a79dcea52db79b6588 | [
"MIT"
] | null | null | null | src/Repository/Route/RouteRepository.php | PierreRebeilleau/ApiComponentBundle | dfd564ed8cce1cf2108572a79dcea52db79b6588 | [
"MIT"
] | null | null | null | src/Repository/Route/RouteRepository.php | PierreRebeilleau/ApiComponentBundle | dfd564ed8cce1cf2108572a79dcea52db79b6588 | [
"MIT"
] | null | null | null | <?php
declare(strict_types=1);
namespace Silverback\ApiComponentBundle\Repository\Route;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Silverback\ApiComponentBundle\Entity\Route\Route;
use Symfony\Bridge\Doctrine\RegistryInterface;
/**
* @method Route|null find($id, $lockMode = null, $... | 28.142857 | 99 | 0.676142 |
e157f00e1693f1b8f74343cd800ea0e19bf24aef | 1,151 | rb | Ruby | files/app/helpers/application_helper.rb | lewislinlin/rails-template | 2ab82e9d7f31d5861faefdeb719fabc46394b1c5 | [
"MIT"
] | null | null | null | files/app/helpers/application_helper.rb | lewislinlin/rails-template | 2ab82e9d7f31d5861faefdeb719fabc46394b1c5 | [
"MIT"
] | null | null | null | files/app/helpers/application_helper.rb | lewislinlin/rails-template | 2ab82e9d7f31d5861faefdeb719fabc46394b1c5 | [
"MIT"
] | null | null | null | module ApplicationHelper
# Generate `{controller}-{action}-page` class for body element
def body_class
path = controller_path.tr('/_', '-')
body_class_page =
if controller.is_a?(HighVoltage::StaticPage) && params.key?(:id) && params[:id] !~ /\A[-+]?[0-9]*\.?[0-9]+\Z/
id_name = params[:id].tr('... | 31.108108 | 115 | 0.655951 |
f4c24c0d8a2c4a8b17a5c74498b060da94db93dd | 1,313 | tsx | TypeScript | src/components/SocialLinks.tsx | octavioamu/website | 89c40d5078492b287ccdd8539fcc717ea059fb06 | [
"Apache-2.0"
] | 1 | 2021-04-23T21:50:20.000Z | 2021-04-23T21:50:20.000Z | src/components/SocialLinks.tsx | octavioamu/website | 89c40d5078492b287ccdd8539fcc717ea059fb06 | [
"Apache-2.0"
] | null | null | null | src/components/SocialLinks.tsx | octavioamu/website | 89c40d5078492b287ccdd8539fcc717ea059fb06 | [
"Apache-2.0"
] | null | null | null | import React from 'react';
import { Button } from 'antd';
import { Link } from 'react-static';
import telegram from '@images/telegram.svg';
import twitter from '@images/twitter.svg';
import medium from '@images/medium.svg';
import github from '@images/github.svg';
const SocialLinks = () => {
return (
<div>
... | 34.552632 | 74 | 0.591013 |
dd94d6f92557d78140a3bba4d05830ba09a02f1d | 431 | java | Java | RestTemplateDemo/src/main/java/com/rest/template/demo/RestTemplateDemoApplication.java | pranithmacha/Spring-Boot-Apps | d4f02436e392cd3595ef35ee47cfee407ad897e1 | [
"MIT"
] | null | null | null | RestTemplateDemo/src/main/java/com/rest/template/demo/RestTemplateDemoApplication.java | pranithmacha/Spring-Boot-Apps | d4f02436e392cd3595ef35ee47cfee407ad897e1 | [
"MIT"
] | null | null | null | RestTemplateDemo/src/main/java/com/rest/template/demo/RestTemplateDemoApplication.java | pranithmacha/Spring-Boot-Apps | d4f02436e392cd3595ef35ee47cfee407ad897e1 | [
"MIT"
] | null | null | null | package com.rest.template.demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
@ComponentScan("com.rest.template")
public class RestTemplateDemoApplication {
p... | 28.733333 | 68 | 0.835267 |
db91b89a25bec9b6b37fe251baf8e7a8470d1780 | 724 | php | PHP | src/Oro/Bundle/UserBundle/DependencyInjection/Compiler/EscapeWsseConfigurationPass.php | mbccp/platform | 9a9e5e51b3d3d40827ffbe697699bcb637e274c2 | [
"MIT"
] | null | null | null | src/Oro/Bundle/UserBundle/DependencyInjection/Compiler/EscapeWsseConfigurationPass.php | mbccp/platform | 9a9e5e51b3d3d40827ffbe697699bcb637e274c2 | [
"MIT"
] | 1 | 2019-09-13T15:25:15.000Z | 2019-09-13T15:25:15.000Z | src/Oro/Bundle/UserBundle/DependencyInjection/Compiler/EscapeWsseConfigurationPass.php | mbccp/platform | 9a9e5e51b3d3d40827ffbe697699bcb637e274c2 | [
"MIT"
] | 1 | 2019-06-19T09:34:45.000Z | 2019-06-19T09:34:45.000Z | <?php
namespace Oro\Bundle\UserBundle\DependencyInjection\Compiler;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Reference;
class EscapeWsseConfigurationPass implements CompilerPassInter... | 32.909091 | 106 | 0.75 |
b2aef9a152513bb976768a3ec74013e0fda95e43 | 64 | css | CSS | wp-app/wp-content/themes/Avada/assets/css/dynamic/contact.min.css | rwenni/wordpress-docker-compose | 9ac3dcd9a0e6a983b4848323350366957ba46054 | [
"MIT"
] | null | null | null | wp-app/wp-content/themes/Avada/assets/css/dynamic/contact.min.css | rwenni/wordpress-docker-compose | 9ac3dcd9a0e6a983b4848323350366957ba46054 | [
"MIT"
] | null | null | null | wp-app/wp-content/themes/Avada/assets/css/dynamic/contact.min.css | rwenni/wordpress-docker-compose | 9ac3dcd9a0e6a983b4848323350366957ba46054 | [
"MIT"
] | null | null | null | .fusion-body .avada-google-map{margin-top:var(--gmap_topmargin)} | 64 | 64 | 0.78125 |
14cbcc9654acca8127cf6989544e2b2c984c563d | 1,092 | tsx | TypeScript | src/components/Flows/While/WhileFlowModelGenerator.tsx | nberktumer/Change-me-plz-zahit | 341099744664b49ab16926b96afdb587b0e922e4 | [
"Apache-2.0"
] | 6 | 2019-05-16T18:15:17.000Z | 2022-02-16T06:35:08.000Z | src/components/Flows/While/WhileFlowModelGenerator.tsx | nberktumer/Change-me-plz-zahit | 341099744664b49ab16926b96afdb587b0e922e4 | [
"Apache-2.0"
] | null | null | null | src/components/Flows/While/WhileFlowModelGenerator.tsx | nberktumer/Change-me-plz-zahit | 341099744664b49ab16926b96afdb587b0e922e4 | [
"Apache-2.0"
] | 1 | 2019-10-12T13:03:25.000Z | 2019-10-12T13:03:25.000Z | import {BaseFlowModelGenerator} from "../Base/BaseFlowModelGenerator"
import {FlowModel, FlowModelBuilder} from "../../../generator/FlowModelJSON"
import {BaseFlowNode} from "../../CanvasItems/Nodes/BaseFlow/BaseFlowNode"
import {FlowType} from "../../../models"
import {WhileFlowNode} from "./WhileFlowNode"
import {Whi... | 40.444444 | 100 | 0.705128 |
89238145cee8ab8dacfdff4ee4457bd32c7c416e | 1,061 | kt | Kotlin | app/src/main/java/ir/rainday/localeexample/LocalePrefrences.kt | MostafaTaghipour/LocaleManager | 6aef81adc66fb6585f0d4873cfa54f4c700a873c | [
"MIT"
] | 2 | 2020-01-15T06:23:10.000Z | 2020-08-14T07:51:44.000Z | app/src/main/java/ir/rainday/localeexample/LocalePrefrences.kt | MostafaTaghipour/LocaleManager | 6aef81adc66fb6585f0d4873cfa54f4c700a873c | [
"MIT"
] | null | null | null | app/src/main/java/ir/rainday/localeexample/LocalePrefrences.kt | MostafaTaghipour/LocaleManager | 6aef81adc66fb6585f0d4873cfa54f4c700a873c | [
"MIT"
] | null | null | null | package ir.rainday.localeexample
import android.content.Context
import android.content.SharedPreferences
class LocalePrefrences(context: Context) {
companion object {
@Volatile
private var INSTANCE: LocalePrefrences? = null
fun getInstance(context: Context): LocalePrefrences {
... | 24.674419 | 115 | 0.533459 |
a3b5d7aa5ea18f89e32184147020da8635c7e0b3 | 1,392 | java | Java | src/Offer_54/is.java | dancheren/ToOffer | 9cc4fcfe30844ae9df695a896422a6a4665e0a33 | [
"Apache-2.0"
] | 1 | 2017-07-21T07:38:42.000Z | 2017-07-21T07:38:42.000Z | src/Offer_54/is.java | dancheren/ToOffer | 9cc4fcfe30844ae9df695a896422a6a4665e0a33 | [
"Apache-2.0"
] | null | null | null | src/Offer_54/is.java | dancheren/ToOffer | 9cc4fcfe30844ae9df695a896422a6a4665e0a33 | [
"Apache-2.0"
] | null | null | null | package Offer_54;
public class is {
static int i = 0;
public static void main(String[] args) {
String str1 = "+500";
char[] str = str1.toCharArray();
System.out.println(isNumeric(str));
}
public static boolean isNumeric(char[] str) {
if(str == null || str.length ==0)
return false;
... | 25.309091 | 72 | 0.395115 |
146ee7ceeca17c313baf291626fbf5278f3e0f7d | 607 | ts | TypeScript | src/riot/OpGG.ts | Nick-Abbott/LeagueStatsBot | dd2ad9206601b12cc732764fadcb4b1704bedf1b | [
"MIT"
] | null | null | null | src/riot/OpGG.ts | Nick-Abbott/LeagueStatsBot | dd2ad9206601b12cc732764fadcb4b1704bedf1b | [
"MIT"
] | null | null | null | src/riot/OpGG.ts | Nick-Abbott/LeagueStatsBot | dd2ad9206601b12cc732764fadcb4b1704bedf1b | [
"MIT"
] | null | null | null | import { OPGG_URL } from '../Constants';
export class OpGG {
public static getPlayerLink(player: string | string[]): string {
if (typeof player === 'object') {
if (player.length <= 0) throw new Error();
if (player.length > 1) return this.getMultiGG(player);
// eslint-disable-next-line no-param-... | 33.722222 | 113 | 0.654036 |
c6a3a4e0a71ec033cf270a3b59144e8d10f5eae1 | 6,599 | py | Python | kernels/M1_3D_BC.py | daanreijnders/isoneutral-dispersion | 88259ba658d15611609f52e1615aff37a54e7289 | [
"MIT"
] | 1 | 2022-03-18T08:47:41.000Z | 2022-03-18T08:47:41.000Z | kernels/M1_3D_BC.py | daanreijnders/isoneutral-dispersion | 88259ba658d15611609f52e1615aff37a54e7289 | [
"MIT"
] | null | null | null | kernels/M1_3D_BC.py | daanreijnders/isoneutral-dispersion | 88259ba658d15611609f52e1615aff37a54e7289 | [
"MIT"
] | 1 | 2022-03-18T08:47:42.000Z | 2022-03-18T08:47:42.000Z | import math
import parcels.rng as ParcelsRandom
def M1_3D_BC(particle, fieldset, time):
if k11 > 0:
# Independent Wiener increments with zero mean and std of sqrt(dt)
dWx = ParcelsRandom.normalvariate(0, math.sqrt(math.fabs(particle.dt)))
dWy = ParcelsRandom.normalvariate(0, math.sqrt(math.... | 48.522059 | 112 | 0.509774 |
a3c9f02b75ddaf09d07b46651ade855783f8053c | 957 | java | Java | src/test/java/com/fasterxml/jackson/dataformat/ron/parser/InfParserTest.java | chriskilding/jackson-dataformat-ron | 6ee40fa470ba4059be19dcd1b22720e23f0a8772 | [
"MIT"
] | 1 | 2021-12-27T08:45:49.000Z | 2021-12-27T08:45:49.000Z | src/test/java/com/fasterxml/jackson/dataformat/ron/parser/InfParserTest.java | chriskilding/jackson-dataformat-ron | 6ee40fa470ba4059be19dcd1b22720e23f0a8772 | [
"MIT"
] | 15 | 2021-06-23T15:57:16.000Z | 2022-03-11T20:16:50.000Z | src/test/java/com/fasterxml/jackson/dataformat/ron/parser/InfParserTest.java | chriskilding/jackson-dataformat-ron | 6ee40fa470ba4059be19dcd1b22720e23f0a8772 | [
"MIT"
] | null | null | null | package com.fasterxml.jackson.dataformat.ron.parser;
import com.fasterxml.jackson.dataformat.ron.InfTest;
import com.fasterxml.jackson.dataformat.ron.RONFactory;
import java.io.IOException;
import java.io.Reader;
import java.io.StringReader;
import static org.junit.Assert.assertEquals;
public class InfParserTest ex... | 29 | 87 | 0.704284 |
8ebb3c3bae28f4ca87a6e6c5f5c229cfbf42b9c7 | 10,019 | sh | Shell | BARVendor/ACS_scripts/dm-1310acs_lvm.sh | adrianmahjour/db2-samples | ff984aec81c5c08ce28443d896c0818cfae4f789 | [
"Apache-2.0"
] | 54 | 2019-08-02T13:15:07.000Z | 2022-03-21T17:36:48.000Z | BARVendor/ACS_scripts/dm-1310acs_lvm.sh | junsulee75/db2-samples | d9ee03101cad1f9167eebc1609b4151559124017 | [
"Apache-2.0"
] | 13 | 2019-07-26T13:51:16.000Z | 2022-03-25T21:43:52.000Z | BARVendor/ACS_scripts/dm-1310acs_lvm.sh | junsulee75/db2-samples | d9ee03101cad1f9167eebc1609b4151559124017 | [
"Apache-2.0"
] | 75 | 2019-07-20T04:53:24.000Z | 2022-03-23T20:56:55.000Z | #!/bin/sh
#---------------------------------------------------------------------------
# (c) Copyright IBM Corp. 2013 All rights reserved.
#
# Script Name: dm-1310acs_lvm.sh
#
# Purpose: implement the scripted interface for DB2 ACS using Linux LVM.
#
# Please see developerwork article for details: https://www.ibm.co... | 26.932796 | 159 | 0.524503 |
b367a02900dd463c69a7fb0a5e637daeba1ce60e | 5,626 | py | Python | bucket/models.py | passuf/blackhole | 00166b2a294c120890202e7d0fb1f4f36d2e4fd2 | [
"MIT"
] | null | null | null | bucket/models.py | passuf/blackhole | 00166b2a294c120890202e7d0fb1f4f36d2e4fd2 | [
"MIT"
] | 6 | 2021-04-08T19:58:55.000Z | 2022-02-10T08:31:37.000Z | bucket/models.py | passuf/blackhole | 00166b2a294c120890202e7d0fb1f4f36d2e4fd2 | [
"MIT"
] | null | null | null | import json
import uuid
import traceback
from picklefield.fields import PickledObjectField
from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.conf import settings
class Bucket(models.Model):
id = models.UUIDField(primary_key=True, default=uuid.uuid4)
title = mode... | 35.607595 | 97 | 0.60096 |
9fa8b56bf9f88e4aabe999c084672204b11f6d72 | 4,279 | sql | SQL | Apollo/db/INSERT_APOLLO_DB_RESERVEDSEAT.sql | untypedjay/apollo | dc495325e5d2fd9bab79236cc04b19bc38bcce00 | [
"MIT"
] | null | null | null | Apollo/db/INSERT_APOLLO_DB_RESERVEDSEAT.sql | untypedjay/apollo | dc495325e5d2fd9bab79236cc04b19bc38bcce00 | [
"MIT"
] | null | null | null | Apollo/db/INSERT_APOLLO_DB_RESERVEDSEAT.sql | untypedjay/apollo | dc495325e5d2fd9bab79236cc04b19bc38bcce00 | [
"MIT"
] | null | null | null | insert into reservedSeat (seatNumber, seatRow, seatLocation, reservationId) values (9, 4, 'IMAX SAAL 1', 1);
insert into reservedSeat (seatNumber, seatRow, seatLocation, reservationId) values (17, 11, 'SAAL 6', 2);
insert into reservedSeat (seatNumber, seatRow, seatLocation, reservationId) values (1, 1, 'SAAL 3', 3);
i... | 106.975 | 110 | 0.755083 |
4c21ea50532704f8d1a6a12bc29af60f7e584c06 | 3,730 | lua | Lua | InGameAvatarEditor/src/ServerScriptService/AvatarEditorInGameSetup/AvatarEditorInGame/Modules/Common/Text.lua | MirayXS/avatar | 7c78513fbe9587915700a0a5fd3c15d5f23596d2 | [
"RSA-MD"
] | 41 | 2021-04-30T18:27:45.000Z | 2022-03-23T21:12:57.000Z | InGameAvatarEditor/src/ServerScriptService/AvatarEditorInGameSetup/AvatarEditorInGame/Modules/Common/Text.lua | MirayXS/avatar | 7c78513fbe9587915700a0a5fd3c15d5f23596d2 | [
"RSA-MD"
] | 3 | 2021-08-24T20:07:47.000Z | 2022-02-15T19:40:13.000Z | InGameAvatarEditor/src/ServerScriptService/AvatarEditorInGameSetup/AvatarEditorInGame/Modules/Common/Text.lua | MirayXS/avatar | 7c78513fbe9587915700a0a5fd3c15d5f23596d2 | [
"RSA-MD"
] | 25 | 2021-05-02T14:33:04.000Z | 2022-03-17T20:28:07.000Z | local TextMeasureTemporaryPatch = true
local TextService = game:GetService("TextService")
local Text = {}
-- FYI: Any number greater than 2^30 will make TextService:GetTextSize give invalid results
local MAX_BOUND = 10000
-- TODO(CLIPLAYEREX-1633): We can remove this padding patch after fixing TextService:GetTextSi... | 33.00885 | 107 | 0.741019 |
79ac3e742b9b8246d755ac025ac3be6328df0ad1 | 2,018 | php | PHP | fuel/modules/fuel/views/_docs/installation/installing.php | vihoangson/codeigniter_3_4 | 0bc968141071450fd68fd2c9cdbd4c9bef7a7bf2 | [
"MIT"
] | null | null | null | fuel/modules/fuel/views/_docs/installation/installing.php | vihoangson/codeigniter_3_4 | 0bc968141071450fd68fd2c9cdbd4c9bef7a7bf2 | [
"MIT"
] | null | null | null | fuel/modules/fuel/views/_docs/installation/installing.php | vihoangson/codeigniter_3_4 | 0bc968141071450fd68fd2c9cdbd4c9bef7a7bf2 | [
"MIT"
] | 1 | 2021-04-28T04:40:02.000Z | 2021-04-28T04:40:02.000Z | <h1>Installing FUEL CMS</h1>
<p>FUEL CMS uses CodeIgniter. If you are familiar with installing CodeIgniter, then many of the following steps will seem familiar to you.</p>
<p>The following are steps to installing FUEL:</p>
<ol>
<li>Download the latest version from <a href="http://www.getfuelcms.com" target="_blank">ge... | 61.151515 | 307 | 0.737364 |
0ab1673123e8a2c4d027e40e14469faa294e5640 | 1,419 | cs | C# | Module 1/[01] CSharp/C# Fundamentals/[03] Operators-And-Expressions[lecture-06]/05.ThirdDigitSeven/ThirdDigitSeven.cs | VProfirov/Telerik-Academy-BetaRun | dfa72a2e5d339f63c6479b28de9fb025dca42b20 | [
"MIT"
] | null | null | null | Module 1/[01] CSharp/C# Fundamentals/[03] Operators-And-Expressions[lecture-06]/05.ThirdDigitSeven/ThirdDigitSeven.cs | VProfirov/Telerik-Academy-BetaRun | dfa72a2e5d339f63c6479b28de9fb025dca42b20 | [
"MIT"
] | 1 | 2016-10-19T20:37:51.000Z | 2016-10-19T20:37:51.000Z | Module 1/[01] CSharp/C# Fundamentals/[03] Operators-And-Expressions[lecture-06]/05.ThirdDigitSeven/ThirdDigitSeven.cs | VProfirov/Telerik-Academy-BetaRun | dfa72a2e5d339f63c6479b28de9fb025dca42b20 | [
"MIT"
] | null | null | null | /*Problem 5. Third Digit is 7?
Write an expression that checks for given integer if its third digit from right-to-left is 7.
* Examples:
n Third digit 7?
5 false
701 true
9703 true
877 false
777877 false
9999799 true
*/
namespace ThirdDigitSeven
{
using System;
... | 29.5625 | 123 | 0.55673 |
2970640a8fc38f6a64b24501a5dd8f1ca8ed0926 | 2,942 | dart | Dart | example/book_store/lib/models.dart | theBenForce/routemaster | 368431cd51a38c820e84273fe26a5a9780aa4ad2 | [
"MIT"
] | 246 | 2021-03-13T21:27:55.000Z | 2022-03-31T11:44:19.000Z | example/book_store/lib/models.dart | theBenForce/routemaster | 368431cd51a38c820e84273fe26a5a9780aa4ad2 | [
"MIT"
] | 196 | 2021-03-06T16:02:28.000Z | 2022-03-31T06:05:20.000Z | example/book_store/lib/models.dart | theBenForce/routemaster | 368431cd51a38c820e84273fe26a5a9780aa4ad2 | [
"MIT"
] | 35 | 2021-03-16T12:12:29.000Z | 2022-03-31T21:49:53.000Z | import 'package:flutter/foundation.dart';
class AppState extends ChangeNotifier {
AppState({String? username}) : _username = username;
bool get isLoggedIn => _username != null;
String? _username = null;
String? get username => _username;
set username(String? value) {
_username = value;
notifyListen... | 23.165354 | 111 | 0.64344 |
144a935e0114f92a87c9c71a3054c1923fdfb592 | 1,564 | ts | TypeScript | src/app/student-issue-status/student-issue-status.component.ts | rachna02/Assignment | 47115217fcbe69f2f6590711557308eae52cbaec | [
"MIT"
] | null | null | null | src/app/student-issue-status/student-issue-status.component.ts | rachna02/Assignment | 47115217fcbe69f2f6590711557308eae52cbaec | [
"MIT"
] | null | null | null | src/app/student-issue-status/student-issue-status.component.ts | rachna02/Assignment | 47115217fcbe69f2f6590711557308eae52cbaec | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import {ApiCommunicationService} from '../api-communication.service';
import { Book } from 'src/models/book';
import { Transaction } from 'src/models/transacion';
import {Router} from '@angular/router';
@Component({
selector: 'app-student-issue-status',
templateUrl... | 27.438596 | 77 | 0.668159 |
54d83c35196f0ad0e46cceab7b4bc228284e055e | 142 | kt | Kotlin | src/commonMain/kotlin/com.dove/extensions/Lists.kt | y9neon/dove | b7ff64f5f324c871255046f8dcde48f986e87b2c | [
"MIT"
] | 5 | 2021-08-31T07:44:04.000Z | 2021-09-07T21:42:55.000Z | src/commonMain/kotlin/com.dove/extensions/Lists.kt | y9vad9/dove | b7ff64f5f324c871255046f8dcde48f986e87b2c | [
"MIT"
] | 14 | 2021-09-20T19:37:18.000Z | 2021-09-28T20:11:23.000Z | src/commonMain/kotlin/com.dove/extensions/Lists.kt | y9vad9/dove | b7ff64f5f324c871255046f8dcde48f986e87b2c | [
"MIT"
] | null | null | null | package com.dove.extensions
fun <E> List<E>.limit(range: IntRange): List<E> {
return drop(range.first).take(range.last - range.first)
}
| 20.285714 | 59 | 0.697183 |
20c366c0230ce658e743c1b10159d4652b571311 | 970 | py | Python | LTN111/cycle.py | benjaveri/rpi | ab0b7f378917f14776d8dee334b748cad65de601 | [
"BSD-3-Clause"
] | null | null | null | LTN111/cycle.py | benjaveri/rpi | ab0b7f378917f14776d8dee334b748cad65de601 | [
"BSD-3-Clause"
] | null | null | null | LTN111/cycle.py | benjaveri/rpi | ab0b7f378917f14776d8dee334b748cad65de601 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
import RPi.GPIO as GPIO
import time
# pinoutBCM scheme - http://pinout.xyz/
D = [4,17,18,27,22,23,24,25]
E = 11
RW = 8
RS = 7
def wr(rs,rw,data):
GPIO.output(RS,True if rs else False)
GPIO.output(RW,True if rw else False)
time.sleep(0.001)
GPIO.output(E,True)
for i in range(8):
GP... | 17.017544 | 56 | 0.628866 |
24831419bb77773328e092be98967f34445a182e | 1,432 | php | PHP | src/Developers/Crud/PartialDevelopers/Tests/Assertions/AssertViewIsDeveloper.php | shomisha/crudly | 56a8113a0336d0aa2d1a85824b486e68cac35565 | [
"MIT"
] | 1 | 2021-08-04T20:48:12.000Z | 2021-08-04T20:48:12.000Z | src/Developers/Crud/PartialDevelopers/Tests/Assertions/AssertViewIsDeveloper.php | shomisha/crudly | 56a8113a0336d0aa2d1a85824b486e68cac35565 | [
"MIT"
] | null | null | null | src/Developers/Crud/PartialDevelopers/Tests/Assertions/AssertViewIsDeveloper.php | shomisha/crudly | 56a8113a0336d0aa2d1a85824b486e68cac35565 | [
"MIT"
] | null | null | null | <?php
namespace Shomisha\Crudly\Developers\Crud\PartialDevelopers\Tests\Assertions;
use Shomisha\Crudly\Abstracts\Developer;
use Shomisha\Crudly\Contracts\ModelSupervisor;
use Shomisha\Crudly\Contracts\Specification;
use Shomisha\Crudly\Data\CrudlySet;
use Shomisha\Crudly\Managers\BaseDeveloperManager as DeveloperMan... | 31.130435 | 114 | 0.714385 |
dbd5fcb7e0c09c2fb19bfa98d47da230742a559d | 1,591 | php | PHP | src/Form/Type/Module/Form/FrontCalendarType.php | Sebastien74/sim-promotion-2021 | 76d3069d870413fb46ccb552ddda5fbcd80f720a | [
"MIT"
] | null | null | null | src/Form/Type/Module/Form/FrontCalendarType.php | Sebastien74/sim-promotion-2021 | 76d3069d870413fb46ccb552ddda5fbcd80f720a | [
"MIT"
] | null | null | null | src/Form/Type/Module/Form/FrontCalendarType.php | Sebastien74/sim-promotion-2021 | 76d3069d870413fb46ccb552ddda5fbcd80f720a | [
"MIT"
] | 1 | 2021-12-13T20:23:45.000Z | 2021-12-13T20:23:45.000Z | <?php
namespace App\Form\Type\Module\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
/**
* FrontCalendarType
*
* @author Sébastien FOURNIER <contact@seb... | 27.431034 | 84 | 0.52357 |
2b47e4433cf9b3a0ab70b0150b2bc292ff2f22a6 | 2,441 | rb | Ruby | app/controllers/orchids_names_controller.rb | bio-org-au/nsl-editor | 20d4417065504a205f2311a3f2664d5e625b1914 | [
"Apache-2.0"
] | 3 | 2018-03-31T10:11:43.000Z | 2020-03-06T05:18:35.000Z | app/controllers/orchids_names_controller.rb | bio-org-au/nsl-editor | 20d4417065504a205f2311a3f2664d5e625b1914 | [
"Apache-2.0"
] | 9 | 2019-10-22T23:05:28.000Z | 2020-03-13T02:33:47.000Z | app/controllers/orchids_names_controller.rb | bio-org-au/nsl-editor | 20d4417065504a205f2311a3f2664d5e625b1914 | [
"Apache-2.0"
] | 5 | 2017-11-17T02:40:33.000Z | 2018-09-12T02:19:37.000Z | # frozen_string_literal: true
# Copyright 2015 Australian National Botanic Gardens
#
# This file is part of the NSL Editor.
#
# 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
#
# ht... | 34.380282 | 129 | 0.724293 |
43e5586b458cd6f4056f9c1c83802bd87786bc1c | 841 | ts | TypeScript | src/data-labelling-task/data-labelling-tasks.module.ts | tomasrinta/dms-backend | 59af0ff462978dbb37662e38b5a23150eebab433 | [
"MIT"
] | null | null | null | src/data-labelling-task/data-labelling-tasks.module.ts | tomasrinta/dms-backend | 59af0ff462978dbb37662e38b5a23150eebab433 | [
"MIT"
] | null | null | null | src/data-labelling-task/data-labelling-tasks.module.ts | tomasrinta/dms-backend | 59af0ff462978dbb37662e38b5a23150eebab433 | [
"MIT"
] | null | null | null | import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { DataLabellingTasksService } from './data-labelling-tasks.service';
import { DataLabellingTasksController } from './data-labelling-tasks.controller';
import { DataLabellingTask } from './data-labelling-task.entity';
i... | 52.5625 | 122 | 0.785969 |
20caaa07e9ac8569876ec11c0a8a7ae9bb05b379 | 289 | cs | C# | MaterialCMS/Batching/Events/IOnBatchRunStart.cs | DucThanhNguyen/MaterialCMS | c4c5530a1e55fe3b87928bcac921ddc9c78a7ab2 | [
"MIT"
] | 12 | 2016-12-17T09:13:46.000Z | 2021-04-10T00:17:25.000Z | MaterialCMS/Batching/Events/IOnBatchRunStart.cs | DucThanhNguyen/MaterialCMS | c4c5530a1e55fe3b87928bcac921ddc9c78a7ab2 | [
"MIT"
] | null | null | null | MaterialCMS/Batching/Events/IOnBatchRunStart.cs | DucThanhNguyen/MaterialCMS | c4c5530a1e55fe3b87928bcac921ddc9c78a7ab2 | [
"MIT"
] | 15 | 2017-02-02T20:44:16.000Z | 2020-05-10T06:33:49.000Z | using MaterialCMS.Batching.Entities;
using MaterialCMS.Events;
namespace MaterialCMS.Batching.Events
{
public interface IOnBatchRunStart : IEvent<BatchRunStartArgs>
{
}
public class BatchRunStartArgs
{
public BatchRun BatchRun { get; set; }
}
} | 19.266667 | 65 | 0.685121 |
981307c3b25605fc38dec69aedddeb7b552d5c26 | 375 | py | Python | collections_tutorials/namedtuple_tut.py | leonhmi75/learning-materials | 7342bf14e41ee2d1bf1b0b9b52f626318597a75e | [
"MIT"
] | 1 | 2019-05-01T05:25:22.000Z | 2019-05-01T05:25:22.000Z | collections_tutorials/namedtuple_tut.py | leon-lei/learning-materials | 7342bf14e41ee2d1bf1b0b9b52f626318597a75e | [
"MIT"
] | null | null | null | collections_tutorials/namedtuple_tut.py | leon-lei/learning-materials | 7342bf14e41ee2d1bf1b0b9b52f626318597a75e | [
"MIT"
] | null | null | null | from collections import namedtuple
# Similar to dict but tuples are immutable
# Good for preserving data and not modifying it
Color = namedtuple('Color', ['red', 'green', 'blue'])
# Kwargs work but not necessary
# foo = Color(red=35, green=32, blue=122)
foo = Color(35,32,122)
# Indexing possible but .attribute is m... | 26.785714 | 53 | 0.714667 |
b8941b6e7963e17aa03064fa282a6537eb8f86cb | 7,987 | swift | Swift | BPKit/Classes/ViewControllers/BPTableViewController.swift | BPModels/BPKit | 5b40c3f82364364d1d77b1dcc76ca1a384d4dd98 | [
"MIT"
] | null | null | null | BPKit/Classes/ViewControllers/BPTableViewController.swift | BPModels/BPKit | 5b40c3f82364364d1d77b1dcc76ca1a384d4dd98 | [
"MIT"
] | null | null | null | BPKit/Classes/ViewControllers/BPTableViewController.swift | BPModels/BPKit | 5b40c3f82364364d1d77b1dcc76ca1a384d4dd98 | [
"MIT"
] | null | null | null | //
// BPTableViewController.swift
// BPKit
//
// Created by samsha on 2021/6/28.
//
import Foundation
import ObjectMapper
import BPDeviceInfo
import BPNetwork
public protocol BPTableViewControllerDelegate: NSObjectProtocol {
/// 显示的Header(可选)
func headerView() -> BPView
/// 显示的Footer(可选)
func foote... | 33.41841 | 132 | 0.597471 |
e2485f32e159ae41442b40c8000e1e1714b895cc | 1,882 | rb | Ruby | examples/remuxing.rb | eagletmt/ffmpeg-ffi | 8a89cbaeaabfcb9f10faeb0a1758fc63b3f12d47 | [
"MIT"
] | 1 | 2022-01-20T09:33:31.000Z | 2022-01-20T09:33:31.000Z | examples/remuxing.rb | eagletmt/ffmpeg-ffi | 8a89cbaeaabfcb9f10faeb0a1758fc63b3f12d47 | [
"MIT"
] | null | null | null | examples/remuxing.rb | eagletmt/ffmpeg-ffi | 8a89cbaeaabfcb9f10faeb0a1758fc63b3f12d47 | [
"MIT"
] | 1 | 2022-01-20T09:33:34.000Z | 2022-01-20T09:33:34.000Z | #!/usr/bin/env ruby
require 'ffmpeg-ffi'
# This example is a port of doc/examples/remuxing.c in FFmpeg.
infile = ARGV[0]
outfile = ARGV[1]
unless outfile
puts "Usage: #{$0} input output"
exit 1
end
def log_packet(format_ctx, packet, tag)
time_base = format_ctx.streams[packet.stream_index].time_base
printf(
... | 26.885714 | 111 | 0.758767 |
c6a73263a8486e6e9b3bd7cb7d5c31d48eb81ffc | 603 | css | CSS | app/3.2/css/durationMapping.css | thienvumonitor09/musicalAlgorithm | 6c3b05d6f937c5ed9680e9f1cc953687856df874 | [
"MIT"
] | null | null | null | app/3.2/css/durationMapping.css | thienvumonitor09/musicalAlgorithm | 6c3b05d6f937c5ed9680e9f1cc953687856df874 | [
"MIT"
] | null | null | null | app/3.2/css/durationMapping.css | thienvumonitor09/musicalAlgorithm | 6c3b05d6f937c5ed9680e9f1cc953687856df874 | [
"MIT"
] | null | null | null | .clearfix:after {
content: ".";
display: block;
visibility: hidden;
line-height: 0;
height: 0;
}
.clearfix {
}
html[xmlns] .clearfix {
display: block;
}
* html .clearfix {
height: 1%;
}
.welcome
{
background:#bfc284;
font-weight:bold;
}
#welcomelab
{
padding: 1%;
font-size: 250%;
}
#dminput
{
... | 9.136364 | 23 | 0.613599 |
2f1859c8c24d4899927786f30dfc4455e46c6051 | 790 | dart | Dart | lib/resultado.dart | fabricio-silva-89/projeto_perguntas | a49eb5651810ae9cd274bea4084f677d5229fd48 | [
"MIT"
] | null | null | null | lib/resultado.dart | fabricio-silva-89/projeto_perguntas | a49eb5651810ae9cd274bea4084f677d5229fd48 | [
"MIT"
] | null | null | null | lib/resultado.dart | fabricio-silva-89/projeto_perguntas | a49eb5651810ae9cd274bea4084f677d5229fd48 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
class Resultado extends StatelessWidget {
final int pontuacao;
final void Function() reiniciar;
const Resultado({
Key? key,
required this.pontuacao,
required this.reiniciar,
}) : super(key: key);
String get fraseResultado {
if (pontuacao < 8) {
... | 19.75 | 50 | 0.572152 |
0aded374d066fc15cab47138568fc814e5f55acb | 8,734 | cs | C# | src/Files.Tests/StoragePathTests.cs | manuelroemer/Files | 00f824ed7133c6d0afe956a499b0c2f6795e0e7e | [
"MIT"
] | 25 | 2020-07-01T17:15:39.000Z | 2022-01-02T11:06:56.000Z | src/Files.Tests/StoragePathTests.cs | manuelroemer/Files | 00f824ed7133c6d0afe956a499b0c2f6795e0e7e | [
"MIT"
] | 41 | 2020-05-30T15:05:57.000Z | 2022-03-07T20:13:05.000Z | src/Files.Tests/StoragePathTests.cs | manuelroemer/Files | 00f824ed7133c6d0afe956a499b0c2f6795e0e7e | [
"MIT"
] | 1 | 2021-05-27T01:17:12.000Z | 2021-05-27T01:17:12.000Z | namespace Files.Tests
{
using System;
using Files.Tests.Mocks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Shouldly;
using static Files.Tests.Mocks.FileSystemMocks;
using static Files.Tests.Mocks.StoragePathMocks;
[TestClass]
public class StoragePathTests
... | 37.484979 | 127 | 0.666476 |
df8ecf47310b6590d85c41379e724878083a61c6 | 455 | cs | C# | Src/EzApiCore.Services/ICustomerService.cs | rvegajr/ez-api-urf-core | 1ecb7a334fb7f94e9955a4a9da95eac4ae517815 | [
"MIT"
] | null | null | null | Src/EzApiCore.Services/ICustomerService.cs | rvegajr/ez-api-urf-core | 1ecb7a334fb7f94e9955a4a9da95eac4ae517815 | [
"MIT"
] | null | null | null | Src/EzApiCore.Services/ICustomerService.cs | rvegajr/ez-api-urf-core | 1ecb7a334fb7f94e9955a4a9da95eac4ae517815 | [
"MIT"
] | null | null | null | using System;
using System.Linq.Expressions;
using EzApiCore.Data.Models;
using URF.Core.Abstractions.Services;
namespace EzApiCore.Service
{
// Example: extending IService<TEntity> and/or ITrackableRepository<TEntity>, scope: ICustomerService
public interface ICustomerService : IService<Customers>
{
// Exam... | 32.5 | 103 | 0.786813 |
7ac69253b66c5059808c13638a18c5408eb06e72 | 318 | cs | C# | src/CarDiaryX.Api/CarDiaryX.Application/Common/ErrorResult.cs | stefanMinch3v/CarDiaryX | e17ace814989a6f904cec293716e6865aa98571c | [
"MIT"
] | null | null | null | src/CarDiaryX.Api/CarDiaryX.Application/Common/ErrorResult.cs | stefanMinch3v/CarDiaryX | e17ace814989a6f904cec293716e6865aa98571c | [
"MIT"
] | 98 | 2021-03-27T15:16:45.000Z | 2022-03-30T17:59:25.000Z | src/CarDiaryX.Api/CarDiaryX.Application/Common/ErrorResult.cs | stefanMinch3v/CarDiaryX | e17ace814989a6f904cec293716e6865aa98571c | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using System.Linq;
namespace CarDiaryX.Application.Common
{
public class ErrorResult
{
public ErrorResult(IEnumerable<string> errors)
{
this.Errors = errors.ToArray();
}
public IReadOnlyCollection<string> Errors { get; }
}
}
| 19.875 | 58 | 0.641509 |
2561df618fb2b69f65f260be64b6f89f6a64bad6 | 446 | js | JavaScript | tests/index.js | RSOI/1 | 754f2a0c0df00d6f6319577d88352c6099b8bb58 | [
"MIT"
] | null | null | null | tests/index.js | RSOI/1 | 754f2a0c0df00d6f6319577d88352c6099b8bb58 | [
"MIT"
] | null | null | null | tests/index.js | RSOI/1 | 754f2a0c0df00d6f6319577d88352c6099b8bb58 | [
"MIT"
] | null | null | null | const assert = require('assert');
const reduce = require('../modules/reduce')
describe('Testing reducer module', function () {
it('Should return empty string', function () {
assert.equal(reduce(''), '');
});
it('Sholud return reduced string', function () {
assert.equal(reduce('aaa'), '3a');
assert.eq... | 31.857143 | 50 | 0.621076 |
a31f885ff63ed565b9f7276ddf052ac8390de8c3 | 638 | java | Java | wallpaper/src/main/java/com/pickni/wallpaper/ResourceType.java | cj5785/wallpaper | 6880f030547ad8e8656030735c842b4d00b1dacb | [
"MIT"
] | null | null | null | wallpaper/src/main/java/com/pickni/wallpaper/ResourceType.java | cj5785/wallpaper | 6880f030547ad8e8656030735c842b4d00b1dacb | [
"MIT"
] | null | null | null | wallpaper/src/main/java/com/pickni/wallpaper/ResourceType.java | cj5785/wallpaper | 6880f030547ad8e8656030735c842b4d00b1dacb | [
"MIT"
] | null | null | null | package com.pickni.wallpaper;
import androidx.annotation.DrawableRes;
import androidx.annotation.StringRes;
public enum ResourceType {
STATIC(R.string.wallpaper_static, R.drawable.ic_vector_static_img),
DYNAMIC(R.string.wallpaper_dynamic, R.drawable.ic_vector_dynamic_img);
@StringRes
private final i... | 22 | 74 | 0.695925 |
bdb6ddd548e1a42844988b9902e7dac971ae40a4 | 5,361 | asm | Assembly | Transynther/x86/_processed/P/_zr_/i7-7700_9_0x48_notsx.log_18046_1436.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/P/_zr_/i7-7700_9_0x48_notsx.log_18046_1436.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/P/_zr_/i7-7700_9_0x48_notsx.log_18046_1436.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x10abd, %r15
nop
nop
nop
add $26014, %r9
mov (%r15), %r10w
nop
nop
xor $25018, %r13
lea addresses_A_ht+0x17cbd, %rsi
lea addresses_WC_ht+0x17fbd, %rdi
nop
add %r10, %r10
mov $106, %rcx
... | 40.923664 | 2,999 | 0.6579 |
127c2692ceb62ef5879c33104f87479aeb7a2ad6 | 1,504 | cs | C# | EducacionAvanzada/EducacionAvanzada.BL/materiaBL.cs | jaimegh2012/educacionavanzadafinal | 4a73647e6194a6c2198b5e86f897c2185c79a2ef | [
"MIT"
] | null | null | null | EducacionAvanzada/EducacionAvanzada.BL/materiaBL.cs | jaimegh2012/educacionavanzadafinal | 4a73647e6194a6c2198b5e86f897c2185c79a2ef | [
"MIT"
] | null | null | null | EducacionAvanzada/EducacionAvanzada.BL/materiaBL.cs | jaimegh2012/educacionavanzadafinal | 4a73647e6194a6c2198b5e86f897c2185c79a2ef | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EducacionAvanzada.BL
{
public class materiaBL
{
Contexto _contexto;
public List<Materia> Listadematerias { get; set; }
public materiaBL()
{
... | 21.183099 | 74 | 0.539229 |
2c514824f395ef81ebdd34afb08c9e4572c4b59e | 556 | py | Python | programs/graduation-project/RandomForest.py | Dilmuratjan/MyProject | 26f4ee708eb4a7ceef780842ad737fef64a39d7e | [
"WTFPL"
] | 2 | 2017-02-19T15:11:06.000Z | 2017-02-22T18:34:10.000Z | programs/graduation-project/RandomForest.py | Dilmuratjan/MyProject | 26f4ee708eb4a7ceef780842ad737fef64a39d7e | [
"WTFPL"
] | null | null | null | programs/graduation-project/RandomForest.py | Dilmuratjan/MyProject | 26f4ee708eb4a7ceef780842ad737fef64a39d7e | [
"WTFPL"
] | 4 | 2017-02-26T08:10:30.000Z | 2017-05-02T10:02:03.000Z | import numpy as np
from sklearn.model_selection import validation_curve
from sklearn.linear_model import Ridge
import pandas as pd
train = pd.read_excel('stats.xls', sheet_name='train')
test = pd.read_excel('stats.xls', sheet_name='test')
array_train = train.values
array_test = test.values
X = array_train[0:, 1:11]... | 22.24 | 69 | 0.732014 |
4ce1139bf3eaf47b2f4ffe85a1a792c88e97ccd4 | 2,765 | py | Python | core.py | NeelShah18/sentencelabel | 57150f410899dc8c9c5262bf32215b61f7685c40 | [
"MIT"
] | 1 | 2018-09-01T21:04:46.000Z | 2018-09-01T21:04:46.000Z | core.py | NeelShah18/sentencelabel | 57150f410899dc8c9c5262bf32215b61f7685c40 | [
"MIT"
] | null | null | null | core.py | NeelShah18/sentencelabel | 57150f410899dc8c9c5262bf32215b61f7685c40 | [
"MIT"
] | null | null | null | from getsenti import base_emoji, base_text
from clean import clean_it
from nltk import word_tokenize
from textblob import TextBlob
def get_sentiment(text="Sample text data! And I am positive :-)", on_base = "t", flag_prob=False):
'''get_sentiment return setiment of the text, emoji and emoticons in text.
Args:
text ... | 27.376238 | 114 | 0.709222 |
d035a85216f35451abf857aec3f1e70f4c974c4e | 2,663 | cpp | C++ | CodechefCodes/MSTICK.cpp | debashish05/competitive_programming | e2c0a7a741ac988e4393eda3b5006d6b8c88a5a9 | [
"MIT"
] | null | null | null | CodechefCodes/MSTICK.cpp | debashish05/competitive_programming | e2c0a7a741ac988e4393eda3b5006d6b8c88a5a9 | [
"MIT"
] | null | null | null | CodechefCodes/MSTICK.cpp | debashish05/competitive_programming | e2c0a7a741ac988e4393eda3b5006d6b8c88a5a9 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#define ll long long int
#define loop(k) for(i=0;i<k;++i)
#define loop2(k,l) for(j=k;j<l;++j)
#define mod 100000000
using namespace std;
int main()
{
std::ios_base::sync_with_stdio(false);//cin.tie(NULL);
ll t=1,i=0,j=0;
//cin>>t;
while(t--){
int n;cin>>n;
ll a[n];
... | 25.605769 | 68 | 0.38528 |
c515bc229b1b0aecc77649aa403767b7f2d325ae | 1,622 | css | CSS | src/Containers/EditarHilo/EditarHilo.css | luigiMinardi/redsocial_frontend | 548555c7ea78998a38f1010cce4ff7b583247abe | [
"MIT"
] | null | null | null | src/Containers/EditarHilo/EditarHilo.css | luigiMinardi/redsocial_frontend | 548555c7ea78998a38f1010cce4ff7b583247abe | [
"MIT"
] | null | null | null | src/Containers/EditarHilo/EditarHilo.css | luigiMinardi/redsocial_frontend | 548555c7ea78998a38f1010cce4ff7b583247abe | [
"MIT"
] | null | null | null | .paginaEditarHilo {
display: flex;
flex-direction: column;
background-color: red;
height: 76.9em;
width: 100%;
}
.contenidoEditarHilo {
background-color: aqua;
display: flex;
height: 100%;
width: 100%;
}
.cuerpoEditarHilo {
background-color: #2B2B31;
height: 100%;
width... | 18.643678 | 45 | 0.630086 |
0c97fba9c3615e8eada968959afd7ad55fa85699 | 398 | sql | SQL | SQL/Fixing_DISTINCT_ON_not_supported/redshift.sql | PeriscopeData/analytics-toolbox | 83effdee380c33e5eecea29528acf5375fd496fb | [
"MIT"
] | 2 | 2019-09-27T22:19:09.000Z | 2019-12-02T23:12:18.000Z | SQL/Fixing_DISTINCT_ON_not_supported/redshift.sql | PeriscopeData/analytics-toolbox | 83effdee380c33e5eecea29528acf5375fd496fb | [
"MIT"
] | 1 | 2019-10-03T17:46:23.000Z | 2019-10-03T17:46:23.000Z | SQL/Fixing_DISTINCT_ON_not_supported/redshift.sql | PeriscopeData/analytics-toolbox | 83effdee380c33e5eecea29528acf5375fd496fb | [
"MIT"
] | 2 | 2021-07-17T18:23:50.000Z | 2022-03-03T04:53:03.000Z | with dataset as (
select 'bart' as name, 'first bart' as text_value, 1 as ordering
union all select 'homer', 'second homer', 2
union all select 'bart', 'second bart', 2
union all select 'homer', 'first homer', 1
)
select distinct
name
, first_value(text_value) over(partition by name order by ordering rows bet... | 36.181818 | 140 | 0.746231 |
afe21ae7697b32b8ae8cdea00548132b4f71a069 | 5,938 | py | Python | reddit_place/models.py | dkasper/reddit-plugin-place-opensource | 453892c6f0a419f49c86759c60c2bdf64e13354a | [
"BSD-3-Clause"
] | 780 | 2017-04-13T17:52:13.000Z | 2018-06-26T23:16:11.000Z | reddit_place/models.py | dkasper/reddit-plugin-place-opensource | 453892c6f0a419f49c86759c60c2bdf64e13354a | [
"BSD-3-Clause"
] | 3 | 2017-04-18T20:23:53.000Z | 2018-05-11T09:57:40.000Z | reddit_place/models.py | dkasper/reddit-plugin-place-opensource | 453892c6f0a419f49c86759c60c2bdf64e13354a | [
"BSD-3-Clause"
] | 74 | 2017-04-13T18:18:17.000Z | 2018-06-27T08:33:38.000Z | from datetime import datetime
import json
import struct
import time
from pycassa.system_manager import TIME_UUID_TYPE, INT_TYPE
from pycassa.types import CompositeType, IntegerType
from pycassa.util import convert_uuid_to_time
from pylons import app_globals as g
from pylons import tmpl_context as c
from r2.lib.db imp... | 29.542289 | 79 | 0.613675 |
989b7de7810a32905523028f697ea04594697de4 | 20,535 | sql | SQL | migrations/8e970a3-initial-db.sql | redcross/smoke-alarm-portal | 80c4df42633e6d57e6d0909562bc198c5b5f52b2 | [
"MIT"
] | 9 | 2015-11-03T20:54:04.000Z | 2018-09-18T21:59:33.000Z | migrations/8e970a3-initial-db.sql | redcross/smoke-alarm-portal | 80c4df42633e6d57e6d0909562bc198c5b5f52b2 | [
"MIT"
] | 200 | 2015-08-05T19:02:25.000Z | 2020-09-04T02:45:36.000Z | migrations/8e970a3-initial-db.sql | redcross/smoke-alarm-portal | 80c4df42633e6d57e6d0909562bc198c5b5f52b2 | [
"MIT"
] | 27 | 2015-11-04T15:58:27.000Z | 2020-02-20T04:31:42.000Z | --
-- PostgreSQL database dump
--
-- Dumped from sequelize generated tables on 20190118 from commit 8e970a3
-- All migrations are based on this base
-- Dumped from database version 10.6 (Ubuntu 10.6-0ubuntu0.18.04.1)
-- Dumped by pg_dump version 10.6 (Ubuntu 10.6-0ubuntu0.18.04.1)
SET statement_timeout = 0;
SET lock... | 22.224026 | 159 | 0.702703 |
b88a5f03b8a408b8ad6c940c031269865ecfa941 | 4,127 | c | C | samples/common/file_input_stream.c | ambiot/amazon-kinesis-video-streams-producer-embedded-c | 67a12eac451ca48473455519d64f745aa092bb2a | [
"Apache-2.0"
] | null | null | null | samples/common/file_input_stream.c | ambiot/amazon-kinesis-video-streams-producer-embedded-c | 67a12eac451ca48473455519d64f745aa092bb2a | [
"Apache-2.0"
] | null | null | null | samples/common/file_input_stream.c | ambiot/amazon-kinesis-video-streams-producer-embedded-c | 67a12eac451ca48473455519d64f745aa092bb2a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2021 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... | 24.861446 | 106 | 0.521929 |
6b259170c2948402329b9e51512623ddef4caac1 | 382 | js | JavaScript | config/database.js | minhtuanchannhan/db-action | 46d5d3c49bf7d2b55c3f2952bd373ff9e5111c20 | [
"MIT"
] | null | null | null | config/database.js | minhtuanchannhan/db-action | 46d5d3c49bf7d2b55c3f2952bd373ff9e5111c20 | [
"MIT"
] | null | null | null | config/database.js | minhtuanchannhan/db-action | 46d5d3c49bf7d2b55c3f2952bd373ff9e5111c20 | [
"MIT"
] | null | null | null | require('dotenv').config();
module.exports = {
username: process.env.DB_USER || '',
password: process.env.DB_PASSWORD || '',
database: process.env.DB_NAME || '',
port: process.env.DB_PORT || '3306',
host: process.env.DB_HOST || 'localhost',
dialect: process.env.DB_DIALECT || 'mysql',
define: {
charset: 'utf8'... | 22.470588 | 44 | 0.657068 |
9e1716be78b41a77f050240aa7ec306657cbc3de | 6,047 | cs | C# | EGet/EH-Get.Designer.cs | Erica-W/EGet | 01ac9c48f559a54514237261aae3c6ab3aad4f9e | [
"Apache-2.0"
] | null | null | null | EGet/EH-Get.Designer.cs | Erica-W/EGet | 01ac9c48f559a54514237261aae3c6ab3aad4f9e | [
"Apache-2.0"
] | null | null | null | EGet/EH-Get.Designer.cs | Erica-W/EGet | 01ac9c48f559a54514237261aae3c6ab3aad4f9e | [
"Apache-2.0"
] | null | null | null | namespace EGet
{
partial class EH_Get
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="... | 41.417808 | 138 | 0.564081 |
7b0bc1ecbc9829d1394303f87759528115ee8c8d | 200 | rb | Ruby | process.rb | shivabhusal/LogProcessor | f82e73c87a0faf8cf835e49d857fc451c320903b | [
"MIT"
] | 1 | 2017-05-17T06:01:07.000Z | 2017-05-17T06:01:07.000Z | process.rb | shivabhusal/LogProcessor | f82e73c87a0faf8cf835e49d857fc451c320903b | [
"MIT"
] | null | null | null | process.rb | shivabhusal/LogProcessor | f82e73c87a0faf8cf835e49d857fc451c320903b | [
"MIT"
] | null | null | null | require './lib/processor'
file_names_via_arg = ARGV;
file_names_via_arg.each do |filename|
puts "In file: '#{filename}'"
puts '*'*80
lp = LogProcessor.new(filename)
lp.process
puts '-'*80
end
| 16.666667 | 37 | 0.7 |
20efb42ccbbb8110c184c38cc854c0e1a7a7c998 | 1,519 | py | Python | setup.py | masalomon01/heroku-kafka-eze | 0d25c0ccff272b842a8bafebdb1b56852e928105 | [
"MIT"
] | null | null | null | setup.py | masalomon01/heroku-kafka-eze | 0d25c0ccff272b842a8bafebdb1b56852e928105 | [
"MIT"
] | null | null | null | setup.py | masalomon01/heroku-kafka-eze | 0d25c0ccff272b842a8bafebdb1b56852e928105 | [
"MIT"
] | null | null | null | # Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
... | 37.04878 | 120 | 0.63792 |
0c5df9c5766f1a5c2c5c7a585ac611713fdab6ba | 6,306 | rb | Ruby | plugin.rb | chrispanag/rebetiko-sealabs-onebox | 3cbb2118dee8ae28a1da08e9f956c67060d5a2f8 | [
"MIT"
] | 2 | 2020-12-04T06:00:21.000Z | 2020-12-05T22:41:58.000Z | plugin.rb | chrispanag/rebetiko-sealabs-onebox | 3cbb2118dee8ae28a1da08e9f956c67060d5a2f8 | [
"MIT"
] | null | null | null | plugin.rb | chrispanag/rebetiko-sealabs-onebox | 3cbb2118dee8ae28a1da08e9f956c67060d5a2f8 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
# name: SealabsOnebox
# about: Load onebox previews for rebetiko.sealabs.net
# version: 0.1
# authors: chrispanag
# url: https://github.com/chrispanag
register_asset "stylesheets/common/sealabs-onebox.scss"
# register_asset 'stylesheets/desktop/sealabs-onebox.scss', :desktop
# register_a... | 35.033333 | 163 | 0.484776 |
af440c91b45d181c4863ffcdde774fe2626812bc | 563 | py | Python | api/action_plans/migrations/0016_populate_action_plans.py | uktrade/market-access-api | 850a59880f8f62263784bcd9c6b3362e447dbc7a | [
"MIT"
] | null | null | null | api/action_plans/migrations/0016_populate_action_plans.py | uktrade/market-access-api | 850a59880f8f62263784bcd9c6b3362e447dbc7a | [
"MIT"
] | 51 | 2018-05-31T12:16:31.000Z | 2022-03-08T09:36:48.000Z | api/action_plans/migrations/0016_populate_action_plans.py | uktrade/market-access-api | 850a59880f8f62263784bcd9c6b3362e447dbc7a | [
"MIT"
] | 2 | 2019-12-24T09:47:42.000Z | 2021-02-09T09:36:51.000Z | # Generated by Django 3.2.5 on 2021-08-26 16:53
from django.db import migrations
def populate_action_plan_models(apps, schema_editor):
Barrier = apps.get_model("barriers", "Barrier")
ActionPlan = apps.get_model("action_plans", "ActionPlan")
for barrier in Barrier.objects.filter(action_plan__isnull=True)... | 26.809524 | 68 | 0.735346 |
44843e2d4064ac5f438dd898e802636ccdcfef97 | 3,913 | py | Python | 4P80_seminar.py | JoelGritter/LSTM-predict-note | 4e50fa7e87010c7731a0bc7a286e29a58ef99f78 | [
"MIT"
] | null | null | null | 4P80_seminar.py | JoelGritter/LSTM-predict-note | 4e50fa7e87010c7731a0bc7a286e29a58ef99f78 | [
"MIT"
] | null | null | null | 4P80_seminar.py | JoelGritter/LSTM-predict-note | 4e50fa7e87010c7731a0bc7a286e29a58ef99f78 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""4P80_Seminar
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1_LxG1cSVyaKEmU93ZLvF8SVfwt7X--Tj
Joel Gritter & Kindeep Singh Kargil
COSC 4P80 - Seminar Demo
March 29, 2021
"""
# Music output
!sudo apt-get install fluidsynth... | 28.355072 | 87 | 0.73013 |
da170612789e99b5cd76c4b5399ca41c6e2971af | 1,148 | c | C | I godina/Zimski semestar/OP/I KOLOKVIJUM/2019-2020/I ZADATAK/Zad1-II-Regularni.c | TodorovicSrdjan/PMF | d3deee21697dad300177fca6090c56d3b8d0cb76 | [
"MIT"
] | null | null | null | I godina/Zimski semestar/OP/I KOLOKVIJUM/2019-2020/I ZADATAK/Zad1-II-Regularni.c | TodorovicSrdjan/PMF | d3deee21697dad300177fca6090c56d3b8d0cb76 | [
"MIT"
] | null | null | null | I godina/Zimski semestar/OP/I KOLOKVIJUM/2019-2020/I ZADATAK/Zad1-II-Regularni.c | TodorovicSrdjan/PMF | d3deee21697dad300177fca6090c56d3b8d0cb76 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main(){
int n,i,j;
float suma = 0;
float clan;
int sumaBrojilac = 0;
float faktBrojilac = 1;
float faktI = 1;
float faktRazlika = 1;
printf("Unesite n: ");
scanf("%d", &n);
if(n>0){
for(i=1; i<=2*n; i++)
faktBrojilac*=i;
printf("Brojilac: %.2f\n", faktBrojilac);
for(... | 20.5 | 57 | 0.529617 |
ef0a10d575b1e26533d5a0af3468670e83ea4be8 | 5,932 | rs | Rust | tock/kernel/src/platform/chip.rs | crlupu/upload | c9a6c99b9c1faf66d19663dd3f3e338f0e50e2b7 | [
"MIT"
] | 2,796 | 2018-04-26T17:26:33.000Z | 2022-03-31T16:29:40.000Z | tock/kernel/src/platform/chip.rs | crlupu/upload | c9a6c99b9c1faf66d19663dd3f3e338f0e50e2b7 | [
"MIT"
] | 1,831 | 2018-04-25T18:33:32.000Z | 2022-03-31T16:59:47.000Z | tock/kernel/src/platform/chip.rs | crlupu/upload | c9a6c99b9c1faf66d19663dd3f3e338f0e50e2b7 | [
"MIT"
] | 417 | 2018-05-04T04:33:51.000Z | 2022-03-26T16:17:34.000Z | //! Interfaces for implementing microcontrollers in Tock.
use crate::platform::mpu;
use crate::syscall;
use core::fmt::Write;
/// Interface for individual MCUs.
///
/// The trait defines chip-specific properties of Tock's operation. These
/// include whether and which memory protection mechanism and scheduler_timer t... | 44.268657 | 80 | 0.712239 |
a4503f6c09859dad6130f9972f2eb674cb07d591 | 410 | php | PHP | aula04/aula04.php | ThiagoPereira232/php-curso-em-video | c056c1bd6f5f7db3b4a97ebcb5c715c8c449a56c | [
"MIT"
] | null | null | null | aula04/aula04.php | ThiagoPereira232/php-curso-em-video | c056c1bd6f5f7db3b4a97ebcb5c715c8c449a56c | [
"MIT"
] | null | null | null | aula04/aula04.php | ThiagoPereira232/php-curso-em-video | c056c1bd6f5f7db3b4a97ebcb5c715c8c449a56c | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="../modelo/css/estilo.css"/>
<meta charset="UTF-8"/>
<title>Curso de PHP - CursoemVideo.com</title>
</head>
<body>
<div>
<?php
$n = 4;
// $no = (string)"Thiago";
$nome = "Thiago";
$idade = 15;
// echo $nome." tem... | 19.52381 | 58 | 0.502439 |
854c2c464990a4198c99847d39dcba3a31edb30f | 8,303 | cs | C# | NUnitTestProject/SmsTests.cs | fficusbenjamin/SoftEngCoursework | e58815885069cf9335dfa9a6da96324d7582381b | [
"Apache-2.0"
] | null | null | null | NUnitTestProject/SmsTests.cs | fficusbenjamin/SoftEngCoursework | e58815885069cf9335dfa9a6da96324d7582381b | [
"Apache-2.0"
] | null | null | null | NUnitTestProject/SmsTests.cs | fficusbenjamin/SoftEngCoursework | e58815885069cf9335dfa9a6da96324d7582381b | [
"Apache-2.0"
] | null | null | null | using NUnit.Framework;
using BusinessLayer;
using System;
namespace NUnitTestProject
{
public class SmsTests
{
string tst =
"Lorem ipsum dolor sit amet, id amet nec curabitur, quis sit pellentesque malesuada, risus quisque platea eros metus amet pellentesque. Lorem vel phasellus at, sed expli... | 188.704545 | 1,050 | 0.774419 |
1be716096d53d4e90bed4431f3bbaa58240acf64 | 56 | rb | Ruby | bin/main.rb | Psiale/100-years-of-quotes | cb998ea1fc7bd536c7c6e044aba40eed46cf1f9d | [
"MIT",
"Ruby",
"Unlicense"
] | 2 | 2020-07-09T14:39:39.000Z | 2020-07-09T17:51:50.000Z | bin/main.rb | Psiale/100-years-of-quotes | cb998ea1fc7bd536c7c6e044aba40eed46cf1f9d | [
"MIT",
"Ruby",
"Unlicense"
] | 3 | 2020-03-10T15:03:49.000Z | 2022-02-26T06:49:44.000Z | bin/main.rb | Psiale/100-years-of-quotes | cb998ea1fc7bd536c7c6e044aba40eed46cf1f9d | [
"MIT",
"Ruby",
"Unlicense"
] | null | null | null | require_relative '../lib/classes/quotes.rb'
Quotes.new
| 14 | 43 | 0.767857 |
580926cf152eac2909d708b6b42b719579bb0b03 | 319 | css | CSS | kintone-portal/src/components/button/printButton.module.css | Lorenzras/kintone-customize | b875b3d7a27eba11243b9308ee052d65d4ba011d | [
"MIT"
] | null | null | null | kintone-portal/src/components/button/printButton.module.css | Lorenzras/kintone-customize | b875b3d7a27eba11243b9308ee052d65d4ba011d | [
"MIT"
] | null | null | null | kintone-portal/src/components/button/printButton.module.css | Lorenzras/kintone-customize | b875b3d7a27eba11243b9308ee052d65d4ba011d | [
"MIT"
] | null | null | null | .toolBarButton {
display: inline-block;
box-sizing: border-box;
margin-right: 8px;
width: 48px;
height: 48px;
border: 1px solid #e3e7e8;
background-color: #f7f9fa;
background-repeat: no-repeat;
vertical-align: middle;
padding-top: 8px;
color: gray;
}
.toolBarButton:hover {
color: #3498db;
}
| 15.95 | 31 | 0.680251 |
cd666dcd958aeef0d6bc8de71ba61909b1baed74 | 552 | cs | C# | src/Coevery/Tasks/Scheduling/IScheduledTaskManager.cs | Coevery/Coevery-Framework | 50bdb636c79c479cc529443bd79f506f9a102cc4 | [
"BSD-3-Clause"
] | 5 | 2015-07-01T01:20:39.000Z | 2019-03-28T10:49:06.000Z | src/Coevery/Tasks/Scheduling/IScheduledTaskManager.cs | Coevery/Coevery-Framework | 50bdb636c79c479cc529443bd79f506f9a102cc4 | [
"BSD-3-Clause"
] | null | null | null | src/Coevery/Tasks/Scheduling/IScheduledTaskManager.cs | Coevery/Coevery-Framework | 50bdb636c79c479cc529443bd79f506f9a102cc4 | [
"BSD-3-Clause"
] | 10 | 2015-04-26T02:58:33.000Z | 2021-08-02T05:43:00.000Z | using System;
using System.Collections.Generic;
using Coevery.ContentManagement;
namespace Coevery.Tasks.Scheduling {
public interface IScheduledTaskManager : IDependency {
void CreateTask(string taskType, DateTime scheduledUtc, ContentItem contentItem);
IEnumerable<IScheduledTask> GetTask... | 39.428571 | 99 | 0.762681 |
dd9d32762a7cc4caaaf17aaa7f6fb23c856bb639 | 16,978 | py | Python | server/serversite/views.py | Ameobea/project-hoster | 457b048b565841d92fd61686f91a4ff71ea1b216 | [
"MIT"
] | 18 | 2019-12-03T21:46:50.000Z | 2022-02-23T22:54:30.000Z | server/serversite/views.py | Ameobea/project-hoster | 457b048b565841d92fd61686f91a4ff71ea1b216 | [
"MIT"
] | 3 | 2019-02-25T08:24:57.000Z | 2020-12-15T03:58:07.000Z | server/serversite/views.py | Ameobea/project-hoster | 457b048b565841d92fd61686f91a4ff71ea1b216 | [
"MIT"
] | 1 | 2020-07-01T15:53:09.000Z | 2020-07-01T15:53:09.000Z | import mimetypes
import os
import re
import traceback
from django.http import (
HttpResponse,
JsonResponse,
HttpResponseBadRequest,
HttpResponseServerError,
HttpResponseNotFound,
HttpResponseForbidden,
)
from django.conf import settings
from django.contrib.auth import authenticate, login
from d... | 36.200426 | 112 | 0.670279 |
cc01e2206785997accbf435b9bddf73f9c36df41 | 9,404 | rb | Ruby | omf_common/lib/omf_common/message/json/json_message.rb | mytestbed/omf | 61dfaac571a41b879f3a9347ea8f304f45e1c63e | [
"MIT"
] | 6 | 2015-06-20T14:38:47.000Z | 2021-11-26T23:48:21.000Z | omf_common/lib/omf_common/message/json/json_message.rb | mytestbed/omf | 61dfaac571a41b879f3a9347ea8f304f45e1c63e | [
"MIT"
] | 1 | 2016-04-26T13:16:47.000Z | 2016-05-13T02:58:31.000Z | omf_common/lib/omf_common/message/json/json_message.rb | mytestbed/omf | 61dfaac571a41b879f3a9347ea8f304f45e1c63e | [
"MIT"
] | 7 | 2015-05-15T13:13:19.000Z | 2019-05-05T03:05:17.000Z | # Copyright (c) 2012 National ICT Australia Limited (NICTA).
# This software may be used and distributed solely under the terms of the MIT license (License).
# You should find a copy of the License in LICENSE.TXT or at http://opensource.org/licenses/MIT.
# By downloading or using this software you accept the terms and ... | 35.089552 | 128 | 0.547533 |
ddcf444788c3c7ef1e534dace81c1cb0c809295c | 4,639 | java | Java | src/test/java/org/mapdb/LongHashMapTest.java | gkorland/MapDB | 291b70d9247008e4a174697193511c0d46171b19 | [
"Apache-1.1"
] | 1 | 2021-02-20T09:42:27.000Z | 2021-02-20T09:42:27.000Z | src/test/java/org/mapdb/LongHashMapTest.java | gkorland/MapDB | 291b70d9247008e4a174697193511c0d46171b19 | [
"Apache-1.1"
] | null | null | null | src/test/java/org/mapdb/LongHashMapTest.java | gkorland/MapDB | 291b70d9247008e4a174697193511c0d46171b19 | [
"Apache-1.1"
] | null | null | null | /*******************************************************************************
* Copyright 2010 Cees De Groot, Alex Boisvert, Jan Kotek
*
* 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
... | 31.344595 | 83 | 0.533305 |
8e9be9e040d82b3545e573adc93a70b0fbf8dc14 | 54 | js | JavaScript | models/group.js | reactDev037/component-user-manager-backend | d073f72009d54870db9d361596f286a28eab3701 | [
"MIT"
] | null | null | null | models/group.js | reactDev037/component-user-manager-backend | d073f72009d54870db9d361596f286a28eab3701 | [
"MIT"
] | null | null | null | models/group.js | reactDev037/component-user-manager-backend | d073f72009d54870db9d361596f286a28eab3701 | [
"MIT"
] | null | null | null | 'use strict';
module.exports = function(group) {
};
| 9 | 34 | 0.648148 |
85334cc233b721e69dfb01862c50f2699c79df9e | 23,566 | cs | C# | GeneticAlgorithm/GeneticAlgorithm/Form1.Designer.cs | wang-mingzhi/CSharp-18120900 | 024abd6dbdfe602d0b8caba6c01d3b01a0ffb767 | [
"MIT"
] | null | null | null | GeneticAlgorithm/GeneticAlgorithm/Form1.Designer.cs | wang-mingzhi/CSharp-18120900 | 024abd6dbdfe602d0b8caba6c01d3b01a0ffb767 | [
"MIT"
] | null | null | null | GeneticAlgorithm/GeneticAlgorithm/Form1.Designer.cs | wang-mingzhi/CSharp-18120900 | 024abd6dbdfe602d0b8caba6c01d3b01a0ffb767 | [
"MIT"
] | null | null | null | namespace GeneticAlgorithm
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托... | 51.679825 | 165 | 0.581431 |
4d421f15b5da111f3d1bea99d64bb36e4d4f0bc8 | 1,265 | cs | C# | Src/Graphics/Implementation/Manual/GL.15.Overloads.cs | Mirsario/DissonanceFramework | c300c272e4a596df63ae01ee2a38548288eb1eb9 | [
"Unlicense"
] | 7 | 2020-10-26T04:16:00.000Z | 2021-11-30T05:54:10.000Z | Src/Graphics/Implementation/Manual/GL.15.Overloads.cs | Mirsario/DissonanceFramework | c300c272e4a596df63ae01ee2a38548288eb1eb9 | [
"Unlicense"
] | 1 | 2021-11-04T12:14:44.000Z | 2021-11-04T12:14:44.000Z | Src/Graphics/Implementation/Manual/GL.15.Overloads.cs | Mirsario/DissonanceFramework | c300c272e4a596df63ae01ee2a38548288eb1eb9 | [
"Unlicense"
] | null | null | null | using System;
using MI = System.Runtime.CompilerServices.MethodImplAttribute;
#pragma warning disable IDE0060 //Unused parameter.
namespace Dissonance.Framework.Graphics
{
partial class GL
{
//GenBuffer(s)
[MI(ImplOptions)]
public unsafe static uint GenBuffer()
{
uint result;
GenBuffers(1, &result)... | 24.326923 | 125 | 0.664822 |
128009bd41e744af01dbcbd5a483e2e3fc46dfde | 852 | cs | C# | 2012/Tempo2012/TempoTest/LoadConfigManagerTest.cs | TataDvd/Git | 440fc2c94be9f1859eb1c7719ea46e5f123de03c | [
"MIT"
] | null | null | null | 2012/Tempo2012/TempoTest/LoadConfigManagerTest.cs | TataDvd/Git | 440fc2c94be9f1859eb1c7719ea46e5f123de03c | [
"MIT"
] | null | null | null | 2012/Tempo2012/TempoTest/LoadConfigManagerTest.cs | TataDvd/Git | 440fc2c94be9f1859eb1c7719ea46e5f123de03c | [
"MIT"
] | null | null | null | using ReportBuilder;
using Tempo2012.EntityFramework;
using Tempo2012.UI.WPF.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
namespace TempoTest
{
/// <summary>
///This is a test class for WhereClauseItemsTest and is intended
///to cont... | 29.37931 | 112 | 0.674883 |
a93bc6f4f94607979dd6dba48bf092aa2d81c437 | 325 | css | CSS | src/main/webapp/resources/css/back/login.css | mejhwu/blog | d2b9730908d8ae3010ac7f195c475648889cc502 | [
"Apache-2.0"
] | null | null | null | src/main/webapp/resources/css/back/login.css | mejhwu/blog | d2b9730908d8ae3010ac7f195c475648889cc502 | [
"Apache-2.0"
] | null | null | null | src/main/webapp/resources/css/back/login.css | mejhwu/blog | d2b9730908d8ae3010ac7f195c475648889cc502 | [
"Apache-2.0"
] | null | null | null | *{margin:0;padding:0;margin:0; padding:0;font-family:"Microsoft YaHei",Arial,Helvetica,sans-serif;"宋体";}
/*整个页面背景*/
.wrap{width:100%;height:800px;background:url(/resources/images/login-background.jpg) no-repeat;background-size:cover;}
/*登录panel*/
.wrap .container .login-panel{width:300px;margin:100px auto;z-index: 1... | 32.5 | 118 | 0.750769 |
7f330f8c62c16f94b3395e091073b5dba844e02e | 1,091 | php | PHP | Setup/UpgradeSchema.php | justd88/product-attachments-magento2 | 10a26a4dea00dac0cd3cff22148491f7d31bac9e | [
"MIT"
] | null | null | null | Setup/UpgradeSchema.php | justd88/product-attachments-magento2 | 10a26a4dea00dac0cd3cff22148491f7d31bac9e | [
"MIT"
] | null | null | null | Setup/UpgradeSchema.php | justd88/product-attachments-magento2 | 10a26a4dea00dac0cd3cff22148491f7d31bac9e | [
"MIT"
] | null | null | null | <?php
namespace LizardMedia\ProductAttachment\Setup;
use LizardMedia\ProductAttachment\Model\Attachment;
use Magento\Framework\DB\Ddl\Table;
use Magento\Framework\Setup\ModuleContextInterface;
use Magento\Framework\Setup\SchemaSetupInterface;
use Magento\Framework\Setup\UpgradeSchemaInterface;
class UpgradeSchema im... | 33.060606 | 89 | 0.608616 |
f9af0e328c48c0c27fa552d1345874aa3659c74d | 3,124 | dart | Dart | flutter_sheet_localization_generator/lib/flutter_sheet_localization_generator.dart | dexterliu1214/flutter_sheet_localization | 505aee54fd070c3a347b77bf7775c7e069b7d671 | [
"MIT"
] | null | null | null | flutter_sheet_localization_generator/lib/flutter_sheet_localization_generator.dart | dexterliu1214/flutter_sheet_localization | 505aee54fd070c3a347b77bf7775c7e069b7d671 | [
"MIT"
] | null | null | null | flutter_sheet_localization_generator/lib/flutter_sheet_localization_generator.dart | dexterliu1214/flutter_sheet_localization | 505aee54fd070c3a347b77bf7775c7e069b7d671 | [
"MIT"
] | 1 | 2022-02-01T13:30:05.000Z | 2022-02-01T13:30:05.000Z | import 'dart:async';
import 'dart:convert';
import 'package:analyzer/dart/element/element.dart';
import 'package:csv/csv.dart';
import 'package:flutter_sheet_localization/flutter_sheet_localization.dart';
import 'package:localization_builder/localization_builder.dart';
import 'package:source_gen/source_gen.dart';
impo... | 36.752941 | 130 | 0.677977 |
854cfb6ef46641c9a8c98e84fb1cb2115563f65f | 893 | cs | C# | sdk/PowerBI.Api/Extensions/V2/Models/Credentials/OAuth2Credentials.cs | KPI-Consulting/PowerBI-CSharp | 09ebf0d8b810e35daba9bddf8d94bc3b9d917c45 | [
"MIT"
] | 1 | 2019-11-06T19:09:06.000Z | 2019-11-06T19:09:06.000Z | sdk/PowerBI.Api/Extensions/V2/Models/Credentials/OAuth2Credentials.cs | KPI-Consulting/PowerBI-CSharp | 09ebf0d8b810e35daba9bddf8d94bc3b9d917c45 | [
"MIT"
] | null | null | null | sdk/PowerBI.Api/Extensions/V2/Models/Credentials/OAuth2Credentials.cs | KPI-Consulting/PowerBI-CSharp | 09ebf0d8b810e35daba9bddf8d94bc3b9d917c45 | [
"MIT"
] | null | null | null | namespace Microsoft.PowerBI.Api.V2.Models.Credentials
{
using Microsoft.Rest;
/// <summary>
/// OAuth2 based datasource credentials using OAuth2 access token
/// </summary>
public class OAuth2Credentials : CredentialsBase
{
private const string ACCESS_TOKEN = "accessToken";
in... | 30.793103 | 90 | 0.633819 |
dd8aa36ad1d3155da22880af2129f3553ccbd5b5 | 2,481 | java | Java | src/java/com/arslorem/hamzah/util/NumberToWordsConverter.java | alkuhlani/cs | 0b66e090eae450a5e166184cf94ae636bf6bd2aa | [
"Apache-2.0"
] | 1 | 2019-02-10T08:42:52.000Z | 2019-02-10T08:42:52.000Z | src/java/com/arslorem/hamzah/util/NumberToWordsConverter.java | alkuhlani/cs | 0b66e090eae450a5e166184cf94ae636bf6bd2aa | [
"Apache-2.0"
] | null | null | null | src/java/com/arslorem/hamzah/util/NumberToWordsConverter.java | alkuhlani/cs | 0b66e090eae450a5e166184cf94ae636bf6bd2aa | [
"Apache-2.0"
] | null | null | null | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.arslorem.hamzah.util;
import java.text.NumberFormat;
/**
*
* @author said
*/
public class NumberToWordsConverter {
... | 26.967391 | 101 | 0.53688 |
4597f01490d3e396914f5593954bb0b8e628c50c | 1,574 | py | Python | devproject/core/management/commands/sync_developers.py | francisbrito/take-home-assignment | 0eafede75666aa74f9e4bcf31565569d227278cd | [
"MIT"
] | null | null | null | devproject/core/management/commands/sync_developers.py | francisbrito/take-home-assignment | 0eafede75666aa74f9e4bcf31565569d227278cd | [
"MIT"
] | null | null | null | devproject/core/management/commands/sync_developers.py | francisbrito/take-home-assignment | 0eafede75666aa74f9e4bcf31565569d227278cd | [
"MIT"
] | null | null | null | import sys
import traceback
from django.core.management.base import BaseCommand, CommandParser
from devproject.core.selectors import get_registered_developers
from devproject.core.services import sync_developer
ERROR_CODE_MISSING_INPUT = 1
class Command(BaseCommand):
help = "creates or updates local developer ... | 31.48 | 96 | 0.602287 |
b2d388fc82822361b5c420fb9b56420d0d25cd6c | 969 | css | CSS | src/core/components/global.css | qiansc/cosmic | 7965c1ff1d7360a9d3dd55ab7b8f092374b4d5a7 | [
"MIT"
] | 2 | 2021-09-12T10:39:27.000Z | 2021-09-25T12:41:28.000Z | src/core/components/global.css | ChelesteWang/cosmic | d4c3624f4859d05a3bde84e4cbf7003f9f1a9a0a | [
"MIT"
] | 1 | 2021-08-10T09:17:23.000Z | 2021-08-10T09:17:23.000Z | src/core/components/global.css | xuelongm/cosmic | 8da8c999756d0290c09130f7ff1a990d1bd938d7 | [
"MIT"
] | null | null | null | :root {
font-size: 10px;
line-height: 100%;
}
body {
margin: 0;
background: var(--color-cgray-100);
}
body.mode-dark {
background: var(--color-cgray-900);
}
button {
text-shadow: 1px 1px 1px var(--color-primary-500);
}
.mode-dark button {
text-shadow: 1px 1px 1px var(--color-primary-800);
}
.break-keep... | 16.15 | 52 | 0.657379 |
232b14bb7452f6d6aadcb940083910a44ec4d5a5 | 3,670 | swift | Swift | Sources/Container.swift | floriankrueger/Capsule | d40745381a74457fd546127d0041360978e65a83 | [
"MIT"
] | 1 | 2018-10-28T18:17:41.000Z | 2018-10-28T18:17:41.000Z | Sources/Container.swift | floriankrueger/Capsule | d40745381a74457fd546127d0041360978e65a83 | [
"MIT"
] | null | null | null | Sources/Container.swift | floriankrueger/Capsule | d40745381a74457fd546127d0041360978e65a83 | [
"MIT"
] | null | null | null | //
// Container.swift
// Capsule
//
// Created by Florian Krüger on {TODAY}.
// Copyright © 2017 Capsule. All rights reserved.
//
import UIKit
public protocol Container {}
public extension Container where Self: UIViewController {
// MARK: UIViewController Containment Methods
public func display... | 38.631579 | 109 | 0.546049 |
14354d4268db87126203fc3797742c65e76c6608 | 1,207 | ts | TypeScript | indra-park-ui/src/app/core/entities/operation.ts | gleandroj/indra-park-exam | 0b9f31fcead801c5442a71ed23081a705dcf6066 | [
"MIT"
] | null | null | null | indra-park-ui/src/app/core/entities/operation.ts | gleandroj/indra-park-exam | 0b9f31fcead801c5442a71ed23081a705dcf6066 | [
"MIT"
] | null | null | null | indra-park-ui/src/app/core/entities/operation.ts | gleandroj/indra-park-exam | 0b9f31fcead801c5442a71ed23081a705dcf6066 | [
"MIT"
] | null | null | null | export enum VehicleType {
Car,
Motorcycle,
Truck,
Pickup
};
export const vehicleTypeDescription = {
0: "Carro",
1: "Moto",
2: "Caminhão",
3: "Caminhonete"
};
export const vehicleTypesLabels = [
{
type: VehicleType.Car,
text: vehicleTypeDescription[VehicleType.Car],
... | 18.859375 | 61 | 0.622204 |
0165ea0e2070d6a6492092b2a481b01dd9d9e9bc | 27,998 | dart | Dart | lib/intro_slider.dart | Kyya/flutter-intro-slider | afd4882a4cd6a676d1884d9069cd786abbfe91b9 | [
"MIT"
] | null | null | null | lib/intro_slider.dart | Kyya/flutter-intro-slider | afd4882a4cd6a676d1884d9069cd786abbfe91b9 | [
"MIT"
] | null | null | null | lib/intro_slider.dart | Kyya/flutter-intro-slider | afd4882a4cd6a676d1884d9069cd786abbfe91b9 | [
"MIT"
] | null | null | null | import 'dart:io';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'dot_animation_enum.dart';
import 'list_rtl_language.dart';
import 'scrollbar_behavior_enum.dart';
import 'slide_object.dart';
typedef BottomLayoutBuilder = Widget Functio... | 28.482197 | 80 | 0.595435 |
4bc003424303951b3a0e03b315176292b93ef312 | 890 | h | C | src/Classes/user-network/FollowingDisplayMgr.h | highorderbit/code-watch | 15e73db9ed86ac4a121be41d6e283ead3c0f81c9 | [
"MIT"
] | 1 | 2016-05-09T06:21:09.000Z | 2016-05-09T06:21:09.000Z | src/Classes/user-network/FollowingDisplayMgr.h | highorderbit/code-watch | 15e73db9ed86ac4a121be41d6e283ead3c0f81c9 | [
"MIT"
] | null | null | null | src/Classes/user-network/FollowingDisplayMgr.h | highorderbit/code-watch | 15e73db9ed86ac4a121be41d6e283ead3c0f81c9 | [
"MIT"
] | null | null | null | //
// Copyright High Order Bit, Inc. 2009. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GitHubServiceDelegate.h"
#import "UserDisplayMgr.h"
#import "UserNetworkDisplayMgrDelegate.h"
@class UserNetworkDisplayMgr;
@class GitHubService;
@interface FollowingDisplayMgr :
NSObject <GitHubService... | 24.054054 | 79 | 0.75618 |